:root {
    --bg: #f6f7fb;
    --card: #ffffff;
    --ink: #1f2937;
    --muted: #6b7280;
    --accent: #2563eb;
    --accent-dark: #1d4ed8;
    --border: #e5e7eb;
    --good: #16a34a;
    --warn: #ca8a04;
    --bad: #dc2626;
    --code-bg: #f3f4f6;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, "Noto Sans", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.55;
}

.topbar {
    background: var(--ink);
    color: white;
    padding: 0.9rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.brand {
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.02em;
}

.topbar-nav {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}
.topbar-link {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
    font-size: 0.92rem;
}
.topbar-link:hover { color: white; background: rgba(255, 255, 255, 0.08); }
.topbar-link.active {
    color: white;
    background: rgba(255, 255, 255, 0.14);
}

.tagline {
    color: #94a3b8;
    font-size: 0.82rem;
    margin-left: auto;
}
@media (max-width: 640px) {
    .tagline { display: none; }
}

.container {
    max-width: 820px;
    margin: 2rem auto;
    padding: 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.breadcrumb {
    margin: -0.5rem 0 0;
}
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}
.back-link:hover {
    color: var(--accent-dark);
    background: rgba(37, 99, 235, 0.08);
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.card.muted { background: #fbfbfd; }
.card.alert {
    border-left: 4px solid var(--warn);
    background: #fefce8;
}
.card.alert h2 { color: #92400e; }
.card.alert .secondary-link {
    margin-left: 0.8rem;
    color: var(--accent-dark);
    text-decoration: underline;
    font-weight: 600;
}

.workers-header {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}
.workers-header h2 { margin: 0; }

.workers-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
}
@media (max-width: 640px) {
    .workers-grid { grid-template-columns: repeat(2, 1fr); }
}

.worker-slot {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.55rem 0.7rem;
    background: white;
    line-height: 1.35;
    transition: background 0.18s, border-color 0.18s;
    display: flex;
    flex-direction: column;
    min-height: 88px;
}
.worker-slot-id {
    font-size: 0.7rem;
    color: var(--muted);
    font-weight: 700;
    letter-spacing: 0.05em;
}
.worker-slot-paper {
    font-weight: 700;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    color: var(--ink);
    font-size: 0.95rem;
    line-height: 1.2;
    margin-top: 0.1rem;
}
.worker-slot-phase {
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: lowercase;
    letter-spacing: 0.02em;
}
.worker-slot-elapsed {
    color: var(--muted);
    font-size: 0.72rem;
    font-feature-settings: 'tnum';
    margin-top: auto;
    align-self: flex-end;
}

.worker-slot.phase-idle {
    background: #f9fafb;
    color: var(--muted);
    opacity: 0.55;
}
.worker-slot.phase-idle .worker-slot-paper { color: var(--muted); }

.worker-slot.phase-starting {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.worker-slot.phase-acquiring {
    background: #dbeafe;
    border-color: #93c5fd;
}
.worker-slot.phase-acquiring .worker-slot-phase { color: #1e40af; }

.worker-slot.phase-screening {
    background: #cffafe;
    border-color: #67e8f9;
}
.worker-slot.phase-screening .worker-slot-phase { color: #155e75; }

.worker-slot.phase-done {
    background: #dcfce7;
    border-color: #86efac;
}
.worker-slot.phase-done .worker-slot-phase { color: #166534; }

@keyframes worker-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
    50%      { box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12); }
}
.worker-slot.phase-acquiring,
.worker-slot.phase-screening {
    animation: worker-pulse 1.6s ease-in-out infinite;
}

/* ---------- Output files (collapsed dirs + primary highlight) ---------- */

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

.file-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.5rem;
    border-bottom: 1px solid var(--border);
    min-width: 0;
}
.file-row:last-child { border-bottom: none; }

.file-row-link {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex: 1 1 auto;
    min-width: 0;
    color: var(--accent-dark);
    text-decoration: none;
    font-weight: 600;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.file-row-link:hover { text-decoration: underline; }
.file-row-link .file-icon { flex: 0 0 auto; }
.file-row-link .file-name-text { min-width: 0; }

.file-row .size {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 0.82rem;
    white-space: nowrap;
    min-width: 4.5rem;
    text-align: right;
}

.file-primary {
    background: #f0f9ff;
    border-left: 3px solid var(--accent);
    border-bottom-color: #bae6fd;
}

/* --- Directory (collapsed/expandable) --- */
.file-row.file-dir {
    display: block;
    padding: 0;
}
.file-row.file-dir > details { width: 100%; }
.file-row.file-dir > details > summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.5rem;
    user-select: none;
}
.file-row.file-dir > details > summary::-webkit-details-marker { display: none; }

.dir-toggle {
    flex: 0 0 auto;
    width: 0.9em;
    display: inline-flex;
    justify-content: center;
}
.dir-toggle::before {
    content: "▶";
    color: var(--muted);
    font-size: 0.65rem;
    line-height: 1;
}
.file-row.file-dir > details[open] > summary .dir-toggle::before { content: "▼"; }

.file-row.file-dir .file-name {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    color: var(--ink);
    flex: 1 1 auto;
    min-width: 0;
}
.file-row.file-dir .file-meta {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}

.file-children {
    list-style: none;
    padding: 0.25rem 0 0.4rem 2rem;
    margin: 0;
    background: rgba(0, 0, 0, 0.02);
    border-top: 1px solid var(--border);
}
.file-child {
    display: flex;
    align-items: baseline;
    gap: 0.9rem;
    padding: 0.32rem 0.6rem 0.32rem 0;
    font-size: 0.86rem;
    min-width: 0;
}
.file-child + .file-child {
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}
.file-child-link {
    flex: 1 1 auto;
    min-width: 0;
    color: var(--accent-dark);
    text-decoration: none;
    font-weight: 500;
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.file-child-link:hover { text-decoration: underline; }
.file-child .size {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 0.76rem;
    white-space: nowrap;
    min-width: 4.5rem;
    text-align: right;
    font-feature-settings: 'tnum';
}

.secondary-files {
    margin-top: 0.8rem;
    padding: 0.4rem 0;
    border-top: 1px dashed var(--border);
}
.secondary-files > summary {
    cursor: pointer;
    color: var(--muted);
    font-size: 0.85rem;
    padding: 0.3rem 0;
    user-select: none;
}
.secondary-files .file-list { margin: 0.5rem 0 0 0; }

/* ---------- Results viewer ---------- */

.results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}
.results-header h2 { margin: 0; }

.result-counts {
    display: flex;
    gap: 0.5rem;
}
.stat-pill {
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    background: #f3f4f6;
    color: var(--ink);
}
.stat-pill strong { margin-left: 0.25rem; font-weight: 700; }
.stat-include { background: #dcfce7; color: #166534; }
.stat-maybe   { background: #fef3c7; color: #92400e; }
.stat-exclude { background: #f3f4f6; color: #374151; }

.result-tabs {
    display: flex;
    gap: 0.3rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0.8rem;
}
.result-tabs button {
    background: none;
    border: none;
    padding: 0.5rem 0.9rem;
    cursor: pointer;
    font: inherit;
    color: var(--muted);
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    font-weight: 600;
}
.result-tabs button:hover { color: var(--ink); }
.result-tabs button.active {
    color: var(--accent-dark);
    border-bottom-color: var(--accent);
}
.result-tabs .tab-count {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.05rem 0.45rem;
    border-radius: 999px;
    background: #f3f4f6;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 1.4em;
    text-align: center;
}
.result-tabs button.active .tab-count {
    background: var(--accent);
    color: white;
}

.results-list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.result-row {
    border: 1px solid var(--border);
    border-left: 4px solid var(--border);
    border-radius: 8px;
    padding: 0.7rem 0.9rem;
    background: white;
}
.result-row header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 0.3rem;
}
.result-row .result-title {
    margin: 0;
    font-size: 0.95rem;
    flex: 1 1 60%;
    line-height: 1.35;
}
.result-row .result-meta {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    margin-left: auto;
    color: var(--muted);
    font-size: 0.8rem;
}
.result-row .confidence { font-feature-settings: 'tnum'; }
.result-row .result-reason {
    margin: 0.3rem 0 0;
    color: #374151;
    font-size: 0.9rem;
}
.result-row .result-evidence summary {
    cursor: pointer;
    color: var(--muted);
    font-size: 0.82rem;
    margin-top: 0.4rem;
}
.result-row .result-evidence ul {
    margin: 0.3rem 0 0 1.2rem;
    padding: 0;
    color: #374151;
    font-size: 0.85rem;
    line-height: 1.45;
}
.result-row .result-evidence li {
    margin-bottom: 0.2rem;
    font-style: italic;
}
.result-row .result-links {
    margin: 0.2rem 0;
    font-size: 0.8rem;
    color: var(--muted);
}
.result-row .result-links a { color: var(--accent-dark); }
.result-row .pdf-link { font-weight: 600; }

.decision-badge {
    padding: 0.15rem 0.55rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    background: var(--border);
    color: var(--ink);
}
.decision-badge.include { background: #dcfce7; color: #166534; }
.decision-badge.maybe   { background: #fef3c7; color: #92400e; }
.decision-badge.exclude { background: #e5e7eb; color: #374151; }

.result-row.decision-include { border-left-color: #16a34a; }
.result-row.decision-maybe   { border-left-color: #ca8a04; }
.result-row.decision-exclude { border-left-color: #9ca3af; }

.result-row.needs-review {
    background: #fffbeb;
    border-color: #fcd34d;
}
.result-badge.needs-review {
    background: #fed7aa;
    color: #9a3412;
    padding: 0.1rem 0.45rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
}

/* ---------- Recent jobs (home page) ---------- */

.recent-jobs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}
.recent-jobs-header h2 { margin: 0; }
.recent-jobs-controls {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.scope-toggle {
    display: inline-flex;
    background: #f3f4f6;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 2px;
}
.scope-toggle button {
    background: none;
    border: none;
    padding: 0.3rem 0.8rem;
    font: inherit;
    cursor: pointer;
    color: var(--muted);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
}
.scope-toggle button.active {
    background: white;
    color: var(--accent-dark);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}
.scope-toggle.small button { padding: 0.2rem 0.65rem; font-size: 0.8rem; }

.recent-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.recent-card {
    display: block;
    text-decoration: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.55rem 0.75rem;
    background: white;
    color: var(--ink);
    transition: background 0.15s, border-color 0.15s;
}
.recent-card:hover {
    background: #f9fafb;
    border-color: #cbd5e1;
}
.recent-card.pinned {
    border-color: #fcd34d;
    background: #fffbeb;
}

.recent-row1 {
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
    flex-wrap: wrap;
}
.recent-row1 .recent-id {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-weight: 700;
    color: var(--ink);
}
.recent-row1 .recent-mode {
    margin-left: auto;
    font-size: 0.82rem;
}
.recent-row1 .recent-time { font-size: 0.82rem; }

.recent-row2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.35rem;
}
.recent-row2 .recent-body {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex: 1 1 auto;
    min-width: 0;
}
.recent-row2 .recent-status {
    font-size: 0.78rem;
    color: var(--muted);
    text-transform: capitalize;
}

.progress-bar {
    flex: 1 1 auto;
    height: 6px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
    max-width: 200px;
}
.progress-fill {
    height: 100%;
    background: var(--accent);
    transition: width 0.3s;
}
.recent-progress-text {
    font-size: 0.78rem;
    color: var(--muted);
    font-feature-settings: 'tnum';
}

/* shared pills for decision counts */
.pill {
    display: inline-flex;
    align-items: center;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    background: #f3f4f6;
    color: var(--ink);
    font-feature-settings: 'tnum';
}
.pill + .pill { margin-left: 0.25rem; }
.pill.p-include { background: #dcfce7; color: #166534; }
.pill.p-maybe   { background: #fef3c7; color: #92400e; }
.pill.p-exclude { background: #e5e7eb; color: #374151; }

/* ---------- History page ---------- */

.history-card { padding: 1.5rem; }

.history-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 0.8rem;
}
.history-header h1 { margin: 0; font-size: 1.4rem; }

.history-controls {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.status-tabs {
    display: flex;
    gap: 0.4rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0.8rem;
}
.status-tabs button {
    background: none;
    border: none;
    padding: 0.45rem 0.85rem;
    font: inherit;
    cursor: pointer;
    color: var(--muted);
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    font-weight: 600;
}
.status-tabs button:hover { color: var(--ink); }
.status-tabs button.active {
    color: var(--accent-dark);
    border-bottom-color: var(--accent);
}

.history-summary {
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}
.history-table thead th {
    text-align: left;
    padding: 0.5rem 0.5rem;
    border-bottom: 2px solid var(--border);
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
}
.history-table tbody td {
    padding: 0.55rem 0.5rem;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.history-table tbody tr:hover { background: #f9fafb; }
.history-table tbody tr.pinned { background: #fffbeb; }
.history-table tbody tr.pinned:hover { background: #fef3c7; }

.history-table .col-id a {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-weight: 700;
    color: var(--accent-dark);
    text-decoration: none;
}
.history-table .col-id a:hover { text-decoration: underline; }
.history-table .col-input {
    max-width: 12rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.history-table .col-time,
.history-table .col-mode,
.history-table .col-progress {
    color: var(--muted);
    font-size: 0.82rem;
    white-space: nowrap;
}
.history-table .col-status { font-size: 0.82rem; }
.history-table .col-counts { white-space: nowrap; }
.history-table .col-actions { white-space: nowrap; text-align: right; }

.history-table .pinned-mark { margin-left: 0.3rem; }

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid transparent;
    border-radius: 6px;
    width: 1.9em;
    height: 1.9em;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
    color: var(--ink);
    transition: background 0.15s, border-color 0.15s;
}
.icon-btn:hover {
    background: #f3f4f6;
    border-color: var(--border);
}
.icon-btn.pin-btn { opacity: 0.6; }
.icon-btn.pin-btn:hover { opacity: 1; }
tr.pinned .icon-btn.pin-btn { opacity: 1; color: #d97706; }
.icon-btn.delete-btn:hover {
    background: #fee2e2;
    color: var(--bad);
    border-color: #fecaca;
}

.history-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    gap: 0.6rem;
}
.history-pagination button {
    background: white;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    font: inherit;
    cursor: pointer;
    color: var(--ink);
}
.history-pagination button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.history-pagination button:not(:disabled):hover {
    background: #f3f4f6;
}
.empty-row { text-align: center; padding: 1.5rem !important; }

h1 { margin-top: 0; font-size: 1.4rem; }
h2 { margin-top: 0; font-size: 1.15rem; }
.lead { color: var(--muted); margin-top: 0; }

.upload-form { display: flex; flex-direction: column; gap: 1.1rem; }

.mode-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    background: #f3f4f6;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.35rem;
}

.mode-tab {
    flex: 1 1 0;
    min-width: 110px;
    text-align: center;
    padding: 0.55rem 0.9rem;
    border-radius: 6px;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.mode-tab input { display: none; }
.mode-tab:has(input:checked) {
    background: white;
    color: var(--accent-dark);
    box-shadow: 0 1px 2px rgba(15,23,42,0.06);
}

.mode-panel textarea {
    width: 100%;
    font: inherit;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    resize: vertical;
    min-height: 140px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.9rem;
}

.mode-help { padding-left: 1.2rem; margin: 0; }
.mode-help li { margin-bottom: 0.4rem; }

.field { display: flex; flex-direction: column; gap: 0.3rem; }
.field-label { font-weight: 600; }
.field-label em { color: var(--warn); font-style: normal; font-weight: 500; font-size: 0.85rem; margin-left: 0.4rem; }
.field-hint { color: var(--muted); font-size: 0.85rem; }

.field input[type="email"],
.field input[type="text"],
.field input[type="password"],
.field input[type="file"] {
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font: inherit;
    background: white;
}

.options { border: 1px solid var(--border); border-radius: 6px; padding: 0.75rem 1rem; }
.options legend { padding: 0 0.4rem; font-weight: 600; }
.options label { display: block; padding: 0.2rem 0; }

button.primary,
.primary-link {
    display: inline-block;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.65rem 1.2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

button.primary:hover,
.primary-link:hover { background: var(--accent-dark); }

.job-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.status {
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--border);
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.status-queued { background: #e0e7ff; color: #3730a3; }
.status-parsing { background: #fef3c7; color: #92400e; }
.status-acquiring { background: #dbeafe; color: #1e3a8a; }
.status-screening { background: #cffafe; color: #155e75; }
.status-done { background: #dcfce7; color: #166534; }
.status-error { background: #fee2e2; color: #991b1b; }

.job-meta {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.45rem 1rem;
    margin: 1.25rem 0 0;
}
.job-meta dt { font-weight: 600; color: var(--muted); }
.job-meta dd { margin: 0; }
.job-meta .error { color: var(--bad); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

progress { width: 240px; height: 14px; }

.file-list { list-style: none; padding: 0; margin: 0; }
.file-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--border);
}
.file-list li:last-child { border-bottom: none; }
.file-list .size { color: var(--muted); font-size: 0.85rem; }

.hint { color: var(--muted); font-size: 0.9rem; }

code { background: var(--code-bg); padding: 0.05rem 0.35rem; border-radius: 4px; font-size: 0.9em; }

.footer {
    text-align: center;
    color: var(--muted);
    padding: 2rem 1rem 3rem;
}
