:root {
    --bg: #f4f4f1;
    --paper: #fff;
    --ink: #111;
    --muted: #6d6d68;
    --line: #d8d8d2;
    --soft: #ecece7;
    --shadow: 0 14px 34px rgba(0, 0, 0, .08);
    --r: 34px
}

/*!** {*!*/
/*!*    box-sizing: border-box*!*/
/*!*}*!*/

/*html {*/
/*    scroll-behavior: smooth*/
/*}*/

/*body {*/
/*    margin: 0;*/
/*    background: var(--bg);*/
/*    color: var(--ink);*/
/*    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif*/
/*}*/

/*button, input, select {*/
/*    font: inherit;*/
/*    color: inherit*/
/*}*/

.shell {
    min-height: 100vh
}

.topbar {
    height: 68px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    background: rgba(244, 244, 241, .92);
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px)
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase
}

.mark {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 13px
}

.top-actions {
    display: flex;
    gap: 8px
}

/*.btn {*/
/*    border: 1px solid var(--ink);*/
/*    background: transparent;*/
/*    min-height: 40px;*/
/*    padding: 0 17px;*/
/*    border-radius: 999px;*/
/*    cursor: pointer;*/
/*    font-weight: 700;*/
/*    font-size: 13px;*/
/*    transition: .2s*/
/*}*/

.btn:hover {
    background: #111;
    color: #fff;
    transform: translateY(-1px)
}

.btn.dark {
    background: #111;
    color: #fff
}

.btn.dark:hover {
    background: #333
}

.view-switch {
    display: flex;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff
}

.view-switch button {
    border: 0;
    background: transparent;
    border-radius: 999px;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800
}

.view-switch button.active {
    background: #111;
    color: #fff
}

.page {
    max-width: 1440px;
    margin: auto;
    padding: 46px 30px 72px
}

.hero {
    display: grid;
    grid-template-columns:1.45fr .55fr;
    gap: 30px;
    align-items: end;
    margin-bottom: 34px
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .17em;
    color: var(--muted)
}

.eyebrow:before {
    content: "";
    width: 32px;
    height: 1px;
    background: #111
}

.hero h1 {
    font-size: clamp(46px, 7vw, 92px);
    line-height: .88;
    letter-spacing: -.07em;
    margin: 18px 0 0;
    max-width: 850px
}

.hero-copy {
    font-size: 15px;
    line-height: 1.7;
    color: var(--muted);
    padding-bottom: 5px
}

.count {
    display: block;
    font-size: 46px;
    line-height: 1;
    color: #111;
    font-weight: 800;
    letter-spacing: -.05em;
    margin-bottom: 12px
}

.panel {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 38px;
    padding: 14px;
    box-shadow: var(--shadow);
    margin-bottom: 28px
}

.filters {
    display: grid;
    grid-template-columns:minmax(220px, 1.5fr) repeat(4, minmax(140px, .75fr)) auto;
    gap: 9px
}

.field {
    position: relative
}

.field label {
    display: block;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    position: absolute;
    left: 19px;
    top: 10px;
    z-index: 2
}

.field input, .field select {
    width: 100%;
    height: 62px;
    border: 1px solid var(--line);
    border-radius: 27px;
    background: #f8f8f6;
    padding: 24px 42px 7px 18px;
    outline: 0;
    appearance: none;
    font-weight: 650;
    font-size: 13px
}

.field input:focus, .field select:focus {
    border-color: #111;
    background: #fff
}

.search-icon {
    position: absolute;
    right: 19px;
    top: 25px;
    width: 15px;
    height: 15px;
    border: 1.8px solid #111;
    border-radius: 50%
}

.search-icon:after {
    content: "";
    position: absolute;
    width: 6px;
    height: 1.8px;
    background: #111;
    right: -4px;
    bottom: -2px;
    transform: rotate(45deg)
}

.chev {
    position: absolute;
    right: 18px;
    top: 28px;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid;
    border-bottom: 1.5px solid;
    transform: rotate(45deg);
    pointer-events: none
}

.reset {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: 1px solid #111;
    background: #111;
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: .25s
}

.reset:hover {
    transform: rotate(-25deg);
    background: #fff;
    color: #111
}

.reset svg {
    width: 20px
}

.meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 22px 6px 18px;
    font-size: 12px;
    font-weight: 750;
    color: var(--muted)
}

.active-filters {
    display: flex;
    gap: 7px;
    flex-wrap: wrap
}

.chip {
    border: 1px solid var(--line);
    padding: 7px 12px;
    border-radius: 999px;
    background: #fff;
    color: #111
}

.grid {
    display: grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap: 16px
}

.card {
    min-height: auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 58px;
    padding: 27px 29px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: .28s;
    animation: rise .35s both
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: #aaa
}

.card:before {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    border: 1px solid #e4e4df;
    border-radius: 50%;
    right: -43px;
    top: -46px
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative
}

.project-id {
    font: 700 11px ui-monospace, SFMono-Regular, Menlo, monospace;
    color: var(--muted)
}

.status {
    display: flex;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--line);
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .07em
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #111
}

.card h2 {
    font-size: 27px;
    line-height: 1.04;
    letter-spacing: -.04em;
    margin: 32px 0 9px;
    max-width: 85%
}

.desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
    margin: 0
}

.data {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 13px;
    margin-top: auto;
    padding-top: 26px
}

.datum {
    border-top: 1px solid var(--line);
    padding-top: 11px;
    min-width: 0
}

.datum span {
    display: block;
    font-size: 9px;
    color: var(--muted);
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 5px
}

.datum strong {
    font-size: 12px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 22px
}

.manager {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    font-weight: 750
}

.avatar {
    width: 32px;
    height: 32px;
    border: 1px solid #111;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 9px;
    background: #f3f3ef
}

.arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 18px
}

.empty {
    display: none;
    border: 1px dashed #aaa;
    border-radius: 48px;
    padding: 80px 20px;
    text-align: center;
    color: var(--muted);
    grid-column: 1/-1
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-top: 30px
}

.page-btn {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800
}

.page-btn.active, .page-btn:hover {
    background: #111;
    color: #fff;
    border-color: #111
}

.code-view {
    display: none;
    grid-template-columns:255px 1fr;
    min-height: 720px;
    border: 1px solid var(--line);
    border-radius: 34px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow)
}

.files {
    background: #111;
    color: #fff;
    padding: 26px 16px
}

.files-title {
    font-size: 10px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #929292;
    padding: 0 12px 15px
}

.file-btn {
    display: block;
    width: 100%;
    border: 0;
    background: transparent;
    color: #aaa;
    padding: 12px;
    border-radius: 15px;
    text-align: left;
    font: 600 12px ui-monospace, SFMono-Regular, Menlo, monospace;
    cursor: pointer
}

.file-btn:hover, .file-btn.active {
    background: #292929;
    color: #fff
}

.editor {
    min-width: 0
}

.editor-head {
    height: 58px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px
}

.filename {
    font: 700 12px ui-monospace, SFMono-Regular, Menlo, monospace
}

.copy {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: 8px 13px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer
}

.code {
    margin: 0;
    padding: 24px;
    overflow: auto;
    height: 660px;
    background: #fafaf8;
    font: 12px/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    white-space: pre;
    color: #222
}

.toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    background: #111;
    color: #fff;
    padding: 12px 18px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(15px);
    pointer-events: none;
    transition: .25s;
    z-index: 50
}

.toast.show {
    opacity: 1;
    transform: none
}

.skeleton .card {
    animation: pulse .8s infinite alternate
}

.skeleton .card > * {
    opacity: .18
}

@keyframes pulse {
    to {
        background: #e8e8e4
    }
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(12px)
    }
}

@media (max-width: 1050px) {
    .filters {
        grid-template-columns:repeat(3, 1fr)
    }

    .reset {
        width: 100%;
        border-radius: 27px
    }

    .grid {
        grid-template-columns:repeat(2, 1fr)
    }
}

@media (max-width: 720px) {
    .topbar {
        padding: 0 16px
    }

    .page {
        padding: 30px 15px 55px
    }

    .hero {
        grid-template-columns:1fr
    }

    .hero-copy {
        display: none
    }

    .hero h1 {
        font-size: 54px
    }

    .filters {
        grid-template-columns:1fr
    }

    .panel {
        border-radius: 30px
    }

    .grid {
        grid-template-columns:1fr
    }

    .card {
        border-radius: 46px
    }

    .code-view {
        grid-template-columns:1fr
    }

    .files {
        display: flex;
        overflow: auto;
        padding: 10px
    }

    .files-title {
        display: none
    }

    .file-btn {
        white-space: nowrap;
        width: auto
    }

    .code {
        height: 590px
    }

    .top-actions .btn {
        display: none
    }
}
