.files-page{--danger:#9b352d}.file-nav{display:flex;gap:24px;font-size:13px}.files-intro{padding:46px 0 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.files-intro .eyebrow{margin-bottom:18px}.files-intro h1{font-size:36px;line-height:1.4;letter-spacing:-.035em;margin:0}.files-intro h1 span{color:#74884e}.files-intro p{font-size:14px;color:var(--muted);line-height:1.9}.folder-mark{font-size:112px;color:#a9bc88;transform:rotate(-12deg);font-family:serif}.service-status{font-size:13px;line-height:1.7;border:1px solid #d8dfcc;padding:13px 17px;border-radius:12px;background:#e9efdd;margin:0 0 25px}.service-status[data-state=unavailable],.service-status[data-state=error]{background:#fff0d8;border-color:#ead2a5;color:#765c2c}.files-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(290px,1fr);gap:24px;align-items:start}.files-panel{padding:26px;border:1px solid var(--line);border-radius:20px;background:#fffef9;min-width:0}.files-panel .eyebrow{font-size:9px;letter-spacing:.16em;margin:0 0 10px;color:#71805f}.files-panel h2{font-size:21px;margin:0 0 16px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.panel-heading h2{margin-bottom:20px}.quota{margin-bottom:24px}.quota>div{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:var(--muted);margin-bottom:8px}.quota meter{width:100%;height:9px;display:block;accent-color:#78924e}.quota meter::-webkit-meter-bar{background:#e5eadc;border:0}.quota meter::-webkit-meter-optimum-value{background:#8ca666}.drop-area{display:flex;flex-direction:column;align-items:center;text-align:center;padding:29px 24px;border:1px dashed #bac9aa;border-radius:14px;background:#f3f6eb;transition:background .15s}.drop-area[data-drag=true]{background:#e1eebf;border-color:#617d34}.drop-symbol{font-size:37px;color:#79905a;line-height:1;margin-bottom:15px}.drop-area strong{font-size:15px}.drop-area p{font-size:12px;line-height:1.8;color:var(--muted);margin:10px 0 18px;max-width:400px}.primary-button,.secondary-button,.quiet-button,.danger-button{font:inherit;cursor:pointer;border-radius:9px;padding:11px 16px;border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-align:center;line-height:1.4;font-size:13px;font-weight:650}.primary-button{background:#18332d;color:#f4ffd9}.secondary-button{background:#eef3e2;color:#264538;border-color:#d3dec1}.quiet-button{background:transparent;color:var(--muted);padding:6px 9px;border-color:var(--line);font-size:11px}.danger-button{background:#9b352d;color:white}.files-page button:disabled{opacity:.45;cursor:not-allowed}.upload-label{position:relative;cursor:pointer}.upload-label input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.upload-label[data-disabled=true]{opacity:.45;cursor:not-allowed}.files-page input,.files-page select{font:inherit;font-size:14px;border:1px solid #cdd8c5;border-radius:8px;padding:10px 12px;background:white;color:var(--ink);width:100%;min-width:0}.files-page input:focus-visible,.files-page select:focus-visible{outline:2px solid #648447;outline-offset:2px}.files-page input[type=checkbox]{width:16px;height:16px;padding:0;margin:0;accent-color:#3d6149;flex:0 0 16px}.files-page label{display:block;font-size:12px;line-height:1.6}.files-page label>input:not([type=checkbox]),.files-page label>select{margin-top:6px}.files-page form>label,.files-page fieldset>label{margin-bottom:16px}.files-page fieldset{margin:0;padding:0;border:0;min-width:0}.files-page .check-label{display:flex;align-items:center;gap:9px;margin-top:18px}.files-page fieldset>.primary-button{width:100%}.files-page .muted{font-size:12px;line-height:1.8;color:var(--muted)}.small-note{font-size:11px;color:var(--muted);line-height:1.8;margin:15px 0}.share-sidebar{display:grid;gap:22px}.receive-panel{background:#f0eadf;border-color:#e1d8c7}.receive-panel .secondary-button{width:100%;background:#fffaf1;border-color:#d5cbb9}.code-input{text-transform:uppercase;letter-spacing:.16em;font-family:ui-monospace,monospace!important;font-size:19px!important}.file-toolbar{display:flex;align-items:center;gap:14px;border-bottom:1px solid var(--line);padding:24px 0 15px;margin-top:4px}.file-toolbar>label:first-child{display:flex;gap:7px;align-items:center;white-space:nowrap}.file-toolbar .search-label{flex:1}.file-toolbar .search-label input{margin:0;font-size:12px;padding:9px 10px}.file-toolbar>span{font-size:11px;color:var(--muted);white-space:nowrap}.file-row{display:grid;grid-template-columns:16px 35px minmax(0,1fr) auto;gap:12px;align-items:center;padding:18px 0;border-bottom:1px solid #e7eadf}.file-row:last-child{border-bottom:0}.file-type{display:grid;place-items:center;width:35px;height:40px;border-radius:8px;background:#e9eedf;color:#6b8050;font-size:9px;letter-spacing:.02em;font-weight:700}.file-detail{min-width:0}.file-name{display:block;overflow-wrap:anywhere;font-size:13px;font-weight:650;line-height:1.6}.file-meta{font-size:10px;color:var(--muted);line-height:1.8;display:block;margin-top:3px}.file-actions{display:flex;gap:7px;align-items:center}.file-actions a{font-size:11px;text-decoration:underline;text-underline-offset:3px}.file-actions button{font-size:11px;padding:5px 7px}.empty{color:var(--muted);font-size:13px;line-height:1.9;text-align:center;padding:38px 16px}.my-shares{margin:26px 0 20px}.share-item{padding:20px 0;border-top:1px solid var(--line);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px}.share-item h3{font-size:15px;margin:0 0 7px;overflow-wrap:anywhere}.share-item p{font-size:11px;line-height:1.8;color:var(--muted);margin:4px 0}.share-item .file-actions{flex-wrap:wrap;justify-content:flex-end}.status-pill{display:inline-block;font-size:10px;padding:3px 8px;border-radius:20px;background:#e7efd8;color:#617b40;margin-left:9px}.status-pill[data-inactive=true]{background:#eee8df;color:#8c745d}.files-footnote{font-size:11px;line-height:1.8;color:var(--muted);margin:0 0 32px}.upload-jobs:empty{display:none}.upload-job{padding:16px 0;border-bottom:1px solid var(--line)}.upload-job header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.upload-job strong{font-size:12px;overflow-wrap:anywhere}.upload-job p{font-size:11px;color:var(--muted);line-height:1.7}.upload-job progress{width:100%;height:7px;accent-color:#809c56}.upload-job .file-actions{flex-wrap:wrap;justify-content:flex-end;flex-shrink:0}.files-page details{margin:16px 0;font-size:12px}.unfinished-row{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.received-file{padding:14px 0;border-bottom:1px solid #d8cebf}.received-file strong{font-size:13px;display:block;overflow-wrap:anywhere}.received-file small{font-size:11px;color:var(--muted);display:block;margin:5px 0}.received-file a{font-size:12px;text-decoration:underline}.received-file code{display:block;overflow-wrap:anywhere;font-size:9px;margin-top:7px}.files-page dialog{width:min(490px,calc(100% - 32px));max-height:calc(100dvh - 40px);overflow-y:auto;border:1px solid #d5dfcc;border-radius:20px;padding:30px;color:var(--ink);background:#fffef9;box-shadow:0 28px 100px #12271945}.files-page dialog::backdrop{background:#10261e80}.files-page dialog h2{font-size:22px;margin:8px 0 14px}.files-page dialog p{font-size:12px;line-height:1.9;color:var(--muted)}.files-page dialog label{margin-top:15px}.files-page dialog>.primary-button{width:100%;margin-top:20px}.dialog-close{position:absolute;right:17px;top:12px;background:transparent;border:0;font-size:25px;color:var(--muted);cursor:pointer}.result-code{display:block;border:1px dashed #bdcca8;border-radius:9px;background:#f0f5e5;padding:16px;font-family:ui-monospace,monospace;font-size:29px;text-align:center;letter-spacing:.17em;margin-top:7px;user-select:all}.confirm-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:24px}.notice{position:fixed;z-index:20;bottom:24px;left:50%;transform:translateX(-50%);padding:13px 20px;border-radius:12px;max-width:min(620px,calc(100vw - 32px));width:max-content;background:#203d31;color:#f8ffe7;box-shadow:0 7px 30px #17342335;font-size:13px;line-height:1.8}.notice[data-error=true]{background:#793f31}.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}[hidden]{display:none!important}
@media(max-width:960px){.files-layout{grid-template-columns:minmax(0,1.5fr) minmax(270px,1fr);gap:18px}.files-panel{padding:21px}.file-row{grid-template-columns:16px 29px minmax(0,1fr);gap:9px}.file-actions{grid-column:3;justify-content:flex-start}.files-intro h1{font-size:29px}.folder-mark{font-size:83px}}
@media(max-width:760px){.files-layout{grid-template-columns:1fr}.share-sidebar{grid-template-columns:1fr 1fr;gap:16px}.folder-mark{display:none}.files-intro{padding-top:30px}.files-intro h1 span{display:block}.files-panel{padding:23px}.file-row{grid-template-columns:16px 35px minmax(0,1fr) auto}.file-row .file-actions{grid-column:auto}}
@media(max-width:560px){.share-sidebar{grid-template-columns:1fr}.file-nav{font-size:12px;gap:15px}.files-intro h1{font-size:29px}.files-intro p{font-size:12px}.file-toolbar{flex-wrap:wrap;gap:10px}.file-toolbar>span{flex-basis:100%}.file-row{grid-template-columns:16px 30px minmax(0,1fr)}.file-row .file-actions{grid-column:3}.share-item{grid-template-columns:1fr}.share-item .file-actions{justify-content:flex-start}.files-page input,.files-page select{font-size:16px}.files-page dialog{padding:25px}.my-shares .panel-heading{align-items:flex-start}.my-shares .panel-heading>.muted{max-width:100px;text-align:right}.files-panel h2{font-size:20px}}
.budget-label{margin:10px 0 0;font-size:11px;line-height:1.65;color:var(--muted)}
.retention-consent{width:100%;max-width:560px;text-align:left;background:#fffaf0;border:1px solid #dfc79e;border-radius:12px;padding:15px 16px;margin:0 0 18px;color:#604c28}
.retention-consent>strong{display:block;font-size:13px}
.retention-consent p{max-width:none;margin:7px 0 12px;color:#604c28;font-size:11px;line-height:1.75}
.files-page .retention-consent .check-label{margin:0;align-items:flex-start;font-size:12px;font-weight:650;color:#47391e}
.retention-consent .check-label input{margin-top:2px}
.retention-reminders{margin:16px 0 0;padding:16px 18px;border:1px solid #e5bf83;border-radius:12px;background:#fff4dd;color:#674a1f;font-size:12px;line-height:1.7}
.retention-reminders>strong{display:block;font-size:13px}
.retention-reminders p{margin:6px 0 0}
.retention-reminders p strong{overflow-wrap:anywhere}
.file-meta.retention-warning{color:#9b352d;font-weight:650}
.drop-area .encryption-note{max-width:560px;margin:0 0 18px;padding:10px 13px;border-radius:10px;background:#e8f0e3;color:#405a44;text-align:left;font-size:11px}
.file-row .file-actions{flex-wrap:wrap;justify-content:flex-end;max-width:270px}
.received-file button{margin-top:7px}
@media(max-width:760px){.file-row .file-actions{justify-content:flex-start;max-width:none}}

/* Keep the feature-page navigation consistent with the game entrance. */
.files-page .files-header{background:#102320;color:#f1f5ed}
.files-page .files-header .brand-mark{background:var(--green);color:var(--ink)}
.files-page .files-header .viewer-tools a{white-space:nowrap}
.files-page #account-link{display:block;max-width:180px;overflow:hidden;text-overflow:ellipsis}
.files-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0 0 26px}
.files-shortcuts a{display:flex;flex-direction:column;min-height:135px;padding:20px 22px;border:1px solid var(--line);border-radius:18px;background:#fffef9;transition:transform .2s,box-shadow .2s,border-color .2s}
.files-shortcuts a:hover{transform:translateY(-3px);border-color:#b8caa8;box-shadow:0 12px 25px #142b2012}
.files-shortcuts a:focus-visible{outline:3px solid #476ec4;outline-offset:3px}
.files-shortcuts .shortcut-number{font-size:10px;letter-spacing:.13em;color:#71865f;font-weight:700}
.files-shortcuts strong{display:flex;justify-content:space-between;gap:10px;margin:15px 0 9px;font-size:16px;line-height:1.4}
.files-shortcuts strong span{font-weight:400;color:#789069}
.files-shortcuts small{font-size:11px;line-height:1.5;color:var(--muted)}
.files-page #drop-area,.files-page #receive-title,.files-page #shares-title{scroll-margin-top:24px}
@media(max-width:760px){.files-shortcuts{gap:12px}.files-shortcuts a{padding:17px;min-height:130px}.files-shortcuts strong{font-size:14px}}
@media(max-width:600px){.files-page .files-header .viewer-nav{overflow-x:auto;justify-content:flex-start;scrollbar-width:thin}.files-page .files-header .viewer-nav a{padding:8px 13px}.files-page #account-link{max-width:33vw}.files-shortcuts{grid-template-columns:1fr;gap:10px}.files-shortcuts a{min-height:0;padding:15px 18px}.files-shortcuts strong{margin:7px 0 4px;font-size:15px}}
.share-details-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:12px 0}.share-detail-file{display:grid;gap:5px;padding:15px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.share-detail-file .quiet-button{justify-self:start}.share-item .file-actions{flex-wrap:wrap}.file-row{scroll-margin-top:24px}.file-row:target{outline:2px solid #829b63;outline-offset:3px}#share-details-dialog{width:min(640px,calc(100vw - 32px));max-height:85vh;overflow:auto}#share-details-dialog input{width:100%;min-width:0}#share-details-dialog h3{font-size:14px;margin-top:22px}
