:root {
    --bg: #f5f7fa;
    --card: #ffffff;
    --text: #111827;
    --muted: #6b7280;
    --link: #2563eb;
    --border: #e5e7eb;
    --hover: #f3f4f6;
    --radius: 8px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    padding: 2rem 1rem;
    max-width: 900px;
    margin: 0 auto;
}
header { margin-bottom: 1.5rem; }
h1 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.25rem; }
.breadcrumbs { color: var(--muted); font-size: 0.9rem; }
.breadcrumbs a { color: var(--link); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

.search {
    width: 100%;
    padding: 0.6rem 1rem;
    margin: 1rem 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    background: var(--card);
}
#file-list { min-height: 200px; }
.empty { text-align: center; color: var(--muted); padding: 3rem 0; }

.list-item {
    display: flex;
    align-items: center;
    padding: 0.6rem 0.75rem;
    border-radius: var(--radius);
    transition: background 0.2s;
    gap: 0.75rem;
}
.list-item:hover { background: var(--hover); }
.icon { width: 20px; text-align: center; font-size: 1.1rem; }
.name { flex: 1; color: var(--text); text-decoration: none; }
.name:hover { color: var(--link); }
.size { color: var(--muted); font-size: 0.85rem; min-width: 60px; text-align: right; }

footer {
    margin-top: 2.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--muted);
    font-size: 0.8rem;
}
@media (max-width: 600px) { .size { display: none; } }