:root {
    --slate: #708090;
    --fawn: #e5aa70;
    --navy: #101820;
    --ink: #17212b;
    --paper: #f5f5f3;
    --line: #d7d9d9;
    --white: #ffffff;
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
    margin: 0;
    min-height: 100vh;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.topbar {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6vw;
    background: var(--navy);
    color: white;
    border-bottom: 4px solid var(--fawn);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
}

.brand strong {
    display: block;
    font-size: 17px;
    letter-spacing: .14em;
    line-height: 1;
}

.brand small {
    display: block;
    margin-top: 5px;
    color: var(--fawn);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .25em;
}

.mark {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    border: 1px solid #8e9aa4;
    border-radius: 50%;
}

.mark svg {
    width: 34px;
    height: 26px;
    fill: none;
    stroke: var(--fawn);
    stroke-width: 2.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mark circle { fill: var(--fawn); stroke: none; }

.status {
    color: #b9c1c7;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2em;
}

.container {
    width: min(1000px, 88vw);
    margin: 0 auto;
    padding: 78px 0 90px;
}

.hero { margin-bottom: 42px; }

.eyebrow {
    margin: 0 0 12px;
    color: var(--slate);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
}

h1 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(38px, 6vw, 64px);
    line-height: .98;
    letter-spacing: -.045em;
}

.intro {
    max-width: 680px;
    margin: 22px 0 0;
    color: #5b646c;
    font-size: 16px;
    line-height: 1.7;
}

code {
    padding: 2px 6px;
    background: #e7e9e8;
    border-radius: 4px;
    color: var(--navy);
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: .9em;
}

.panel {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 14px 40px rgba(16, 24, 32, .06);
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 28px;
    border-bottom: 1px solid var(--line);
}

.panel-head h2 {
    margin: 0;
    font-size: 18px;
}

.panel-head p {
    margin: 5px 0 0;
    color: #7b848b;
    font-size: 13px;
}

.directory {
    padding: 7px 10px;
    border: 1px solid #dfe2e2;
    border-radius: 5px;
    color: var(--slate);
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 12px;
}

.file-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.file-list li {
    display: grid;
    grid-template-columns: 62px 1fr auto;
    align-items: center;
    gap: 16px;
    min-height: 62px;
    padding: 0 28px;
    border-bottom: 1px solid #eceeed;
}

.file-list li:last-child { border-bottom: 0; }

.file-type {
    width: max-content;
    padding: 5px 7px;
    border: 1px solid #d7dadd;
    border-radius: 4px;
    color: var(--slate);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
}

.file-list a {
    overflow: hidden;
    color: var(--navy);
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;
}

.file-list a:hover { color: #9a622c; text-decoration: underline; }

.open {
    color: var(--slate);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
}

.empty {
    padding: 65px 30px;
    text-align: center;
}

.empty-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin: 0 auto 15px;
    border: 1px solid var(--fawn);
    border-radius: 50%;
    color: #9a622c;
    font-size: 22px;
}

.empty h3 { margin: 0 0 8px; }
.empty p { margin: 0; color: #707980; }

footer {
    display: flex;
    justify-content: space-between;
    width: min(1000px, 88vw);
    margin: 0 auto;
    padding: 0 0 28px;
    color: #8b9297;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .18em;
}

@media (max-width: 600px) {
    .topbar { padding: 0 5vw; }
    .status { display: none; }
    .container { padding-top: 52px; }
    .panel-head { align-items: flex-start; flex-direction: column; }
    .file-list li {
        grid-template-columns: 48px 1fr;
        gap: 12px;
        padding: 14px 18px;
    }
    .open { grid-column: 2; }
    footer { width: 88vw; }
}
