:root {
    --page-width: 1100px;
    --bg: #f1f1f1;
    --bg-soft: #ebebeb;
    --panel: rgba(255, 255, 255, 0.92);
    --panel-strong: rgba(255, 255, 255, 0.98);
    --panel-soft: rgba(245, 180, 64, 0.08);
    --line: rgba(72, 76, 84, 0.14);
    --line-strong: rgba(72, 76, 84, 0.24);
    --text: #2f3640;
    --text-soft: #5b616c;
    --text-muted: #7b808a;
    --brand: #f0ad26;
    --brand-2: #f7c53d;
    --brand-3: #dd8b1f;
    --accent: #f0ad26;
    --warning: #f4b84b;
    --danger: #e25572;
    --success: #24d38b;
    --shadow: 0 20px 44px rgba(39, 43, 49, 0.1);
    --shadow-soft: 0 12px 28px rgba(39, 43, 49, 0.08);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    padding: 26px 0;
    background:
        radial-gradient(circle at 15% 18%, rgba(240, 173, 38, 0.08), transparent 24%),
        radial-gradient(circle at 85% 8%, rgba(255, 196, 54, 0.07), transparent 20%),
        linear-gradient(180deg, #f7f7f7 0%, #f0f0f0 40%, #ececec 100%);
    color: var(--text);
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    overflow-x: clip;
    overflow-y: auto;
}

body::-webkit-scrollbar {
    width: 10px;
    height: 0;
}
body::-webkit-scrollbar-track {
    background: transparent;
}
body::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.14);
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
}
html, body {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.14) transparent;
}

button,
input,
a {
    font: inherit;
}

a {
    color: inherit;
}

.page-backdrop {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.backdrop-orb {
    position: absolute;
    display: block;
    border-radius: 999px;
    filter: blur(18px);
    opacity: 0.8;
}

.orb-a {
    width: 340px;
    height: 340px;
    top: 90px;
    left: -100px;
    background: radial-gradient(circle, rgba(240, 173, 38, 0.22), transparent 68%);
}

.orb-b {
    width: 420px;
    height: 420px;
    right: -140px;
    top: 60px;
    background: radial-gradient(circle, rgba(247, 197, 61, 0.14), transparent 72%);
}

.backdrop-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(240, 173, 38, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(240, 173, 38, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 80%);
}

.app-shell {
    position: relative;
    z-index: 1;
    width: min(var(--page-width), calc(100% - 28px));
    margin: 0 auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.site-header {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    padding: 26px;
    background:
        radial-gradient(circle at 85% 20%, rgba(240, 173, 38, 0.1), transparent 24%),
        radial-gradient(circle at 0% 0%, rgba(255, 215, 115, 0.1), transparent 28%),
        linear-gradient(145deg, #343a43 0%, #2e333b 56%, #292d34 100%);
    border: 1px solid rgba(18, 21, 27, 0.18);
    border-bottom: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.site-header::before,
.site-header::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.site-header::before {
    width: 280px;
    height: 280px;
    top: -160px;
    right: -70px;
    background: radial-gradient(circle, rgba(240, 173, 38, 0.14), transparent 68%);
}

.site-header::after {
    width: 220px;
    height: 220px;
    left: -100px;
    bottom: -130px;
    background: radial-gradient(circle, rgba(247, 197, 61, 0.1), transparent 74%);
}

.header-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    min-width: 0;
}

.brand-home-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    outline: none;
}
.brand-home-link:focus-visible,
.brand-home-link:hover {
    opacity: 0.96;
    filter: brightness(1.02);
}

.brand-logo {
    display: block;
    width: auto;
    max-width: min(320px, 42vw);
    height: 64px;
    object-fit: contain;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 18px;
    padding: 10px 14px;
    border-radius: 0;
    color: #f5c44a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    text-transform: none;
    text-decoration: none;
}

.brand-badge i {
    font-size: 12px;
}

.page-shell {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 0;
    padding: 0 2px 6px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 248, 250, 0.94));
    border: 1px solid rgba(72, 76, 84, 0.14);
    border-top: 0;
    border-radius: 0;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.page-shell::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, rgba(240, 173, 38, 0), rgba(240, 173, 38, 0.34), rgba(247, 197, 61, 0));
}

.toolbar-card,
.listing-card {
    position: relative;
    overflow: hidden;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.toolbar-card::before,
.listing-card::before {
    display: none;
}

.toolbar-card {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
    gap: 22px;
    align-items: end;
    padding: 24px;
    border-bottom: 1px solid rgba(72, 76, 84, 0.1);
}

.toolbar-copy {
    min-width: 0;
}

.section-kicker {
    margin: 0 0 10px;
    color: var(--brand-3);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-title {
    margin: 0 0 8px;
    font-size: clamp(1.1rem, 1.7vw, 1.55rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.section-text {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.65;
}

.toolbar-controls {
    grid-column: 1 / -1;
    display: flex;
    align-items: stretch;
    gap: 12px;
}

.search-field {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border-radius: 5px;
    border: 1px solid rgba(72, 76, 84, 0.14);
    background: linear-gradient(180deg, #ffffff, #fbfbfb);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.search-field-large {
    flex: 1;
    height: 46px;
}

.search-field:focus-within {
    border-color: rgba(240, 173, 38, 0.5);
    box-shadow: 0 0 0 4px rgba(240, 173, 38, 0.12);
    background: #ffffff;
}

.search-field svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    fill: none;
    stroke: var(--text-muted);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.search-field input {
    width: 100%;
    height: 100%;
    border: 0;
    outline: 0;
    color: var(--text);
    background: transparent;
    font-size: 14px;
}

.search-field input::placeholder {
    color: var(--text-muted);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 20px;
    border-radius: 5px;
    border: 0;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

#refreshButton {
    min-height: 46px;
    height: 46px;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 600;
    gap: 8px;
    color: var(--text);
    background: #f4f5f7;
    border: 1px solid rgba(72, 76, 84, 0.14);
    box-shadow: none;
    flex: 0 0 auto;
    white-space: nowrap;
}

#refreshButton svg {
    width: 14px;
    height: 14px;
}

#refreshButton:hover {
    background: #eceef2;
    border-color: rgba(72, 76, 84, 0.22);
    color: var(--text);
    box-shadow: 0 4px 10px rgba(72, 76, 84, 0.08);
}

#refreshButton:active {
    background: #e4e7ec;
    box-shadow: inset 0 1px 2px rgba(72, 76, 84, 0.08);
}

.btn-primary {
    color: #2f3640;
    background: linear-gradient(135deg, var(--brand-2), var(--brand));
    box-shadow: 0 14px 26px rgba(240, 173, 38, 0.22);
}

.btn-primary:hover {
    filter: brightness(1.04);
}

.listing-card {
    background: transparent;
}

.listing-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 24px 0;
}

.listing-heading h2 {
    margin: 0;
    font-size: 1.35rem;
    letter-spacing: -0.03em;
}

.listing-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 0;
    color: var(--text-soft);
    background: rgba(240, 173, 38, 0.08);
    border: 1px solid rgba(240, 173, 38, 0.16);
    font-size: 13px;
}

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

.path-label {
    margin: 0 0 10px;
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.breadcrumb-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex: 1 1 auto;
}

.back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 12px;
    min-height: 32px;
    border-radius: 5px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 120ms ease, background-color 120ms ease,
        border-color 120ms ease, color 120ms ease;
    cursor: pointer;
    user-select: none;
    flex: 0 0 auto;
}

.back-button i {
    font-size: 12px;
}

.back-button:hover,
.back-button:focus-visible {
    color: var(--brand-4);
    background: var(--brand-1-soft);
    border-color: var(--brand-2);
    outline: none;
}

.back-button:active {
    transform: translateY(1px);
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.breadcrumb-link,
.breadcrumb-current {
    font-size: 14px;
    line-height: 1.5;
}

.breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-3);
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb-link svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.breadcrumb-link i {
    font-size: 14px;
    line-height: 1;
}

.breadcrumb-link:hover {
    color: var(--brand-3);
}

.breadcrumb-separator {
    color: rgba(114, 131, 155, 0.7);
}

.breadcrumb-current {
    color: var(--text);
    font-weight: 700;
}

.meta-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.meta-count,
.meta-note {
    margin: 0;
    white-space: nowrap;
}

.meta-count {
    color: var(--text);
    font-size: 15px;
    font-weight: 700;
}

.meta-note {
    color: var(--text-muted);
    font-size: 13px;
}

.table-wrap {
    overflow-x: auto;
    scrollbar-width: none;
}
.table-wrap::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.file-table {
    width: 100%;
    border-collapse: collapse;
}

.file-table thead th {
    padding: 16px 24px;
    border-bottom: 1px solid var(--line);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-align: left;
    white-space: nowrap;
}

.file-table thead th.actions-col {
    text-align: center;
    min-width: 140px;
}

.file-table tbody td {
    padding: 18px 24px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    vertical-align: middle;
    font-size: 14px;
}

.file-table tbody tr:last-child td {
    border-bottom: 0;
}

.file-table tbody tr {
    transition: background 0.18s ease;
}

.file-table tbody tr:hover {
    background: rgba(240, 173, 38, 0.05);
}

.name-cell {
    min-width: 360px;
}

.entry {
    display: flex;
    align-items: center;
    gap: 14px;
}

.entry-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 3px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.entry-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.entry-icon.folder {
    color: #c58912;
    background: linear-gradient(180deg, rgba(255, 203, 103, 0.28), rgba(255, 203, 103, 0.14));
}

.entry-icon.folder svg {
    stroke: currentColor;
}

.entry-icon.file {
    color: #6f7782;
    background: linear-gradient(180deg, rgba(111, 119, 130, 0.16), rgba(111, 119, 130, 0.08));
}

.entry-icon.file svg {
    stroke: currentColor;
}

.entry-main {
    min-width: 0;
}

.entry-name {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.16s ease;
}

.entry-name span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.entry-name .entry-number {
    flex: 0 0 auto;
    display: inline-block;
    padding-right: 6px;
    color: var(--text);
    font-family: inherit;
    font-weight: 600;
    font-size: inherit;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
}

.entry-name .entry-title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.entry-name:hover {
    color: var(--brand-3);
}

.entry-sub {
    margin-top: 5px;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.55;
}

.cell-muted {
    color: var(--text-soft);
    white-space: nowrap;
}

.actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.action-link,
.action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 3px;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.16s ease, filter 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.action-link svg,
.action-button svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.action-link {
    color: #2f3640;
    background: linear-gradient(135deg, var(--brand-2), var(--brand));
    box-shadow: 0 12px 26px rgba(240, 173, 38, 0.2);
}

.action-link:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.action-button {
    color: var(--text-soft);
    background: #ffffff;
    border: 1px solid rgba(72, 76, 84, 0.14);
    cursor: pointer;
}

.action-button:hover {
    transform: translateY(-1px);
    color: var(--brand-3);
    border-color: rgba(240, 173, 38, 0.34);
    box-shadow: 0 10px 18px rgba(240, 173, 38, 0.12);
}

.status-panel {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 30px 24px;
    text-align: left;
    color: var(--text);
}

.status-panel strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
}

.status-panel p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.65;
    max-width: 560px;
}

.status-panel.error strong {
    color: var(--danger);
}

.spinner {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border-radius: 0;
    border: 3px solid rgba(123, 141, 255, 0.14);
    border-top-color: var(--brand-3);
    animation: spin 0.82s linear infinite;
}

.status-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 0;
}

.status-icon.error {
    color: var(--danger);
    background: rgba(226, 85, 114, 0.12);
}

.status-icon.empty {
    color: var(--brand-3);
    background: rgba(79, 111, 255, 0.1);
}

.status-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.page-footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px 18px;
    margin: 0 24px;
    padding: 18px 0 20px;
    border-top: 1px solid rgba(72, 76, 84, 0.1);
}

.footer-copy {
    margin: 0;
    color: var(--text-muted);
    font-size: 13px;
    min-width: 0;
    justify-self: start;
}

.footer-credit {
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #16a34a;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    padding: 2px 6px;
    white-space: nowrap;
    justify-self: center;
}

.footer-credit i {
    font-size: 10px;
    opacity: 0.9;
}

.footer-back-button {
    justify-self: end;
}

.page-footer p {
    margin: 0;
}

.page-footer a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 0;
    color: var(--text);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(72, 76, 84, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.page-footer a svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.page-footer a:hover {
    color: var(--brand-3);
    border-color: rgba(240, 173, 38, 0.24);
}

.toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 40;
    min-width: 260px;
    max-width: min(420px, calc(100vw - 32px));
    padding: 14px 16px;
    border-radius: 0;
    background: rgba(18, 32, 51, 0.96);
    color: #fff;
    border: 1px solid rgba(79, 111, 255, 0.14);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 960px) {
    .header-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .brand {
        justify-content: center;
    }

    .brand-badge {
        margin-left: 0;
        align-self: center;
        justify-content: center;
    }

    .toolbar-card {
        grid-template-columns: 1fr;
    }

    .toolbar-controls,
    .card-head,
    .page-footer,
    .listing-topbar {
        flex-direction: column;
        align-items: stretch;
    }

    .meta-group {
        align-items: flex-start;
    }

    .btn-primary,
    #refreshButton {
        width: 100%;
    }
}

@media (max-width: 720px) {
    .app-shell {
        width: min(100% - 12px, var(--page-width));
        margin: 6px auto;
        padding: 0;
        border-radius: 0;
    }

    .site-header,
    .page-shell {
        border-radius: 0;
    }

    .site-header {
        padding: 16px;
        border-radius: 0;
    }

    .page-shell {
        padding-bottom: 4px;
        border-radius: 0;
    }

    .header-inner {
        gap: 12px;
    }

    .brand-logo {
        max-width: min(240px, 68vw);
        height: 52px;
    }

    .toolbar-card,
    .listing-topbar,
    .card-head {
        padding-left: 14px;
        padding-right: 14px;
    }

    .toolbar-card {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .toolbar-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .search-field-large,
    .btn-primary,
    #refreshButton {
        width: 100%;
    }

    .search-field {
        padding: 0 18px;
        gap: 12px;
        border-radius: 8px;
        border: 1px solid rgba(72, 76, 84, 0.18);
        background: linear-gradient(180deg, #ffffff, #fcfcfd);
        box-shadow: 0 1px 3px rgba(72, 76, 84, 0.06), 0 4px 12px rgba(72, 76, 84, 0.05);
        transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.2s ease;
    }

    .search-field svg {
        width: 21px;
        height: 21px;
        stroke: #6b7280;
    }

    .search-field input {
        font-size: 15.5px;
        font-weight: 500;
    }

    .search-field input::placeholder {
        color: #9ca3af;
        font-weight: 450;
    }

    .search-field-large {
        height: 60px;
    }

    .search-field:focus-within {
        border-color: rgba(240, 173, 38, 0.55);
        box-shadow: 0 0 0 4px rgba(240, 173, 38, 0.14), 0 4px 14px rgba(240, 173, 38, 0.08), 0 2px 6px rgba(72, 76, 84, 0.06);
        background: #ffffff;
        transform: translateY(-0.5px);
    }

    #refreshButton {
        min-height: 52px;
        height: 52px;
        padding: 0 16px;
        font-size: 14px;
        gap: 8px;
        border-radius: 8px;
        border: 1px solid rgba(72, 76, 84, 0.16);
        background: linear-gradient(180deg, #f8f9fb, #f3f4f6);
        box-shadow: 0 1px 2px rgba(72, 76, 84, 0.04), 0 3px 10px rgba(72, 76, 84, 0.06);
        color: #1f2937;
        font-weight: 650;
        letter-spacing: 0.01em;
        transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
    }

    #refreshButton svg {
        width: 15px;
        height: 15px;
        stroke: #1f2937;
    }

    #refreshButton:hover {
        background: linear-gradient(180deg, #ffffff, #f8fafc);
        border-color: rgba(72, 76, 84, 0.24);
        box-shadow: 0 4px 14px rgba(72, 76, 84, 0.1);
        color: #111827;
    }

    .brand-badge {
        width: 100%;
        max-width: 280px;
        min-height: 42px;
        padding: 10px 12px;
        font-size: 11px;
        letter-spacing: 0.04em;
        background: transparent;
        border: 0;
        box-shadow: none;
        backdrop-filter: none;
        border-radius: 0;
    }

    .page-footer {
        margin-left: 14px;
        margin-right: 14px;
        padding-top: 14px;
        padding-bottom: 16px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        justify-items: stretch;
    }

    .page-footer .footer-copy {
        justify-self: start;
    }

    .page-footer .footer-credit {
        justify-self: center;
        font-size: 11px;
        padding: 2px 0;
    }

    .page-footer .footer-back-button {
        justify-self: stretch;
        justify-content: center;
        min-height: 38px;
        padding: 6px 14px;
        font-size: 12px;
        border-radius: 5px;
    }

    .card-head {
        align-items: stretch;
        gap: 12px;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .breadcrumb-wrap {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .back-button {
        min-height: 38px;
        padding: 6px 14px;
        font-size: 12px;
        border-radius: 5px;
    }

    .back-button span {
        display: inline;
    }

    .breadcrumb {
        gap: 6px;
    }

    .breadcrumb-link,
    .breadcrumb-current,
    .meta-count,
    .meta-note {
        font-size: 12px;
        white-space: normal;
    }

    .meta-group {
        gap: 4px;
    }

    .table-wrap {
        padding: 10px 12px 0;
    }

    .file-table,
    .file-table tbody,
    .file-table tr,
    .file-table td {
        display: block;
        width: 100%;
    }

    .file-table thead {
        display: none;
    }

    .file-table tbody {
        display: grid;
        gap: 12px;
    }

    .file-table tbody tr {
        overflow: hidden;
        border: 1px solid rgba(72, 76, 84, 0.12);
        border-radius: 0;
        background: linear-gradient(180deg, #ffffff, #fbfbfb);
        box-shadow: 0 8px 20px rgba(39, 43, 49, 0.06);
    }

    .file-table tbody tr:hover {
        background: linear-gradient(180deg, #ffffff, #faf7f1);
    }

    .file-table tbody td {
        padding: 12px 14px;
        border-bottom: 1px solid rgba(72, 76, 84, 0.08);
    }

    .file-table tbody td:last-child {
        border-bottom: 0;
    }

    .file-table tbody td:not(.name-cell) {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        text-align: right;
    }

    .file-table tbody td:not(.name-cell)::before {
        content: attr(data-label);
        color: var(--text-muted);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        text-align: left;
    }

    .file-table tbody td[colspan] {
        display: block;
        padding: 0;
        border-bottom: 0;
    }

    .file-table tbody td[colspan]::before {
        content: none;
    }

    .file-table tbody td.no-actions {
        display: none;
    }

    .name-cell {
        min-width: 0;
    }

    .entry {
        gap: 12px;
        align-items: flex-start;
    }

    .entry-icon {
        width: 38px;
        height: 38px;
    }

    .entry-main {
        width: 100%;
    }

    .entry-name {
        display: block;
        font-size: 15px;
        line-height: 1.4;
    }

    .entry-name span,
    .entry-sub {
        white-space: normal;
        word-break: break-word;
    }

    .entry-sub {
        margin-top: 6px;
        font-size: 11px;
    }

    .action-link,
    .action-button {
        width: 100%;
        min-height: 42px;
        padding: 0 14px;
        justify-content: center;
    }

    .actions {
        width: 100%;
    }

    .status-panel {
        min-height: 160px;
        flex-direction: column;
        text-align: center;
        padding: 24px 16px;
    }

    .status-panel p {
        max-width: none;
    }

    .footer-copy {
        font-size: 12px;
    }
}
