
:root {
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    color: #202b3c;
    background: #f4f6fa;
    font-synthesis: none;
}

* { box-sizing: border-box; }

body { margin: 0; min-height: 100vh; }

.topbar {
    min-height: 78px;
    padding: 16px max(4%, calc((100% - 1160px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: white;
    border-bottom: 1px solid #e4e8ef;
}

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

.brand-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #eaf0ff;
    color: #315bd6;
    font-size: 27px;
}

.brand strong, .brand small { display: block; }
.brand strong { font-size: 17px; }
.brand small { margin-top: 5px; color: #788397; font-size: 12px; }

.status {
    border: 1px solid #cde9d5;
    background: #effaf2;
    color: #237442;
    border-radius: 20px;
    padding: 7px 11px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .5px;
}

.container { width: min(1160px, 92%); margin: 40px auto; }

.welcome { margin-bottom: 25px; }
.eyebrow { color: #315bd6; font-size: 11px; font-weight: 800; letter-spacing: 1.5px; }
h1 { margin: 8px 0; font-size: clamp(25px, 4vw, 34px); }
.welcome p:last-child { color: #758195; line-height: 1.6; }

.panel {
    overflow: hidden;
    border: 1px solid #e0e6ef;
    border-radius: 14px;
    background: white;
    box-shadow: 0 8px 30px #17255408;
}

.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding: 20px;
}

#breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }

#breadcrumbs button {
    border: 0;
    background: transparent;
    padding: 5px 0;
    color: #315bd6;
    font: inherit;
    cursor: pointer;
}

#breadcrumbs button:hover { text-decoration: underline; }
#breadcrumbs span { color: #a2aaba; }

#search {
    width: min(290px, 100%);
    padding: 11px 13px;
    border: 1px solid #dce2eb;
    border-radius: 8px;
    font-size: 14px;
}

#search:focus { outline: 2px solid #cad7ff; border-color: #5379e7; }

.table-heading, .file-row {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) 100px 110px 115px;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
}

.table-heading {
    background: #f8f9fc;
    color: #788397;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.file-row { min-height: 66px; border-top: 1px solid #edf0f5; font-size: 14px; }
.file-row:hover { background: #f8faff; }

.file-name {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 11px;
    overflow-wrap: anywhere;
}

.file-icon { flex-shrink: 0; font-size: 21px; }

.folder-link {
    border: 0;
    padding: 0;
    background: transparent;
    color: #263650;
    font: inherit;
    font-weight: 650;
    text-align: left;
    cursor: pointer;
    overflow-wrap: anywhere;
}

.folder-link:hover { color: #315bd6; text-decoration: underline; }
.file-type, .file-size { color: #758195; font-size: 13px; }

.download {
    display: inline-block;
    padding: 9px 12px;
    border: 1px solid #d5e0ff;
    border-radius: 7px;
    background: #eef3ff;
    color: #315bd6;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.download:hover { background: #dfe8ff; }

.message { padding: 36px 20px; text-align: center; color: #758195; }
.panel-footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 20px;
    border-top: 1px solid #e9edf3;
    color: #758195;
    font-size: 12px;
}

.footer { padding: 20px; text-align: center; color: #8993a5; font-size: 12px; }

@media (max-width: 650px) {
    .container { width: 94%; margin: 25px auto; }
    .table-heading { display: none; }
    .toolbar { padding: 15px; }
    #search { width: 100%; }
    .file-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 9px;
        padding: 15px;
    }
    .file-name { grid-column: 1 / -1; }
    .file-type::before { content: "Type: "; color: #9aa3b2; }
    .file-size::before { content: "Size: "; color: #9aa3b2; }
    .download { grid-column: 2; grid-row: 2; }
}

