.upload-header-actions{display:flex;align-items:center;gap:12px;margin-left:auto}.upload-main{min-height:calc(100svh - 150px);padding-block:32px 65px}.upload-main>#page-status{margin-bottom:18px}.upload-login{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,420px);gap:65px;align-items:center;min-height:65svh}.upload-login h1,.upload-heading h1{font-size:clamp(40px,5vw,65px);line-height:1.12;margin:0 0 22px}.upload-lead{color:var(--muted);font-size:17px;line-height:1.7;max-width:490px}.upload-muted{color:var(--muted);font-size:13px;line-height:1.7;overflow-wrap:anywhere}.upload-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.upload-stats{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:14px;margin-bottom:25px}.upload-stats article{padding:22px;border:1px solid var(--line);border-radius:16px;background:var(--surface);min-width:0}.upload-stats span{display:block;color:var(--faint);font-size:11px;font-weight:700}.upload-stats strong{display:block;margin:12px 0;font-size:23px;letter-spacing:-.035em;overflow-wrap:anywhere}.upload-stats small{display:block;color:var(--muted);font-size:11px;line-height:1.7}.upload-card{background:var(--surface);border:1px solid var(--line);border-top:2px solid var(--accent);border-radius:16px;padding:28px}.upload-card-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:22px}.upload-card-head h2,.upload-file-head h2{font-size:28px;margin:0}.upload-card-head .eyebrow{margin-bottom:9px}.upload-mark{display:grid;place-items:center;flex:none;width:48px;height:48px;border:1px solid var(--line);border-radius:12px;color:var(--accent);font-size:30px;background:var(--bg)}.drop-zone{position:relative;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:12px;min-height:170px;padding:25px;text-align:center;border:1px dashed var(--faint);border-radius:12px;color:var(--accent);background:var(--bg);cursor:pointer}.drop-zone strong{color:var(--ink);font-size:15px}.drop-zone span{color:var(--muted);font-size:12px}.drop-zone input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.drop-zone:focus-within,.drop-zone.drag-over{outline:2px solid var(--accent);outline-offset:3px;background:var(--surface-raised)}.drop-zone.is-busy{opacity:.6}.selection-list{display:grid;gap:5px;padding:0;list-style:none;font-size:12px;color:var(--muted)}.selection-list li{display:flex;justify-content:space-between;gap:20px;overflow-wrap:anywhere}.selection-list li span:first-child{min-width:0}.selection-list li span:last-child{white-space:nowrap}.upload-options{border-top:1px solid var(--line);margin-top:21px;padding-top:17px}.upload-options summary{color:var(--ink);font-size:13px;font-weight:700;cursor:pointer;min-height:35px}.upload-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;padding-top:15px}.upload-form-grid small{font-weight:400;font-size:11px;line-height:1.6}.upload-check{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.6}.upload-check input{flex:none;width:18px;height:18px;min-height:0;margin:1px 0 0;accent-color:var(--accent)}.upload-form-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:24px}.upload-form-actions .form-result{flex-basis:100%}progress{display:block;width:100%;height:8px;accent-color:var(--accent);border:0;border-radius:8px;background:var(--surface-raised);overflow:hidden}progress::-webkit-progress-bar{background:var(--surface-raised)}progress::-webkit-progress-value{background:var(--accent)}progress::-moz-progress-bar{background:var(--accent)}.progress-heading{display:flex;justify-content:space-between;gap:15px;margin:22px 0 12px;font-size:12px;color:var(--muted)}.progress-heading strong{overflow-wrap:anywhere}.upload-file-section{margin-top:45px}.upload-file-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.upload-file-head .eyebrow{margin-bottom:10px}.upload-filters{display:flex;gap:15px;margin-bottom:18px}.upload-filters>label{flex:1}.upload-filters>label:last-child:not(:first-child){flex:0 1 220px}.upload-file-list{display:grid;gap:12px}.upload-file{min-width:0;padding:22px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}.file-heading{display:flex;justify-content:space-between;align-items:start;gap:20px}.file-heading h3{font-size:18px;line-height:1.5;letter-spacing:-.025em;margin:0;overflow-wrap:anywhere}.file-heading small{display:block;color:var(--muted);margin-top:5px;font-size:11px}.file-badges{display:flex;gap:6px;flex-wrap:wrap;flex:none;justify-content:end}.file-badge{color:var(--accent);border:1px solid var(--line);border-radius:20px;padding:4px 9px;font-size:10px;background:var(--bg)}.file-info{display:flex;flex-wrap:wrap;gap:7px 22px;margin:16px 0;color:var(--muted);font-size:11px;line-height:1.6}.file-link-row{display:flex;gap:9px;align-items:center}.file-link-row input{font-size:12px;color:var(--muted);min-width:0;flex:1}.file-link-row button{flex:none}.file-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:13px}.file-actions .button{font-size:12px;min-height:44px;padding:9px 13px}.file-actions .danger{color:#ffa9ac}:root[data-theme=light] .file-actions .danger{color:#ab2635}.file-notice,.file-empty{font-size:13px;line-height:1.7;color:var(--muted)}.file-empty{padding:30px;border:1px dashed var(--line);border-radius:14px;text-align:center}.upload-dialog{width:min(570px,calc(100vw - 28px));max-height:calc(100dvh - 28px);padding:0;border:1px solid var(--line);border-radius:16px;overflow-y:auto;background:var(--surface);color:var(--ink)}.upload-dialog::backdrop{background:rgba(4,13,27,.8)}.upload-dialog form{display:grid;gap:16px;padding:27px}.upload-dialog h2{font-size:26px;margin:0}.upload-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.upload-dialog-heading button{width:44px;height:44px;font-size:26px;color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:10px}.share-view{display:flex;flex-direction:column;align-items:center;gap:22px;min-height:65svh;justify-content:center}.share-card{width:min(550px,100%);text-align:center;padding:37px}.share-card .upload-mark{margin:0 auto 25px}.share-card h1{font-size:clamp(25px,4vw,34px);letter-spacing:-.04em;line-height:1.3;overflow-wrap:anywhere}.share-card form{display:grid;gap:15px;margin:25px 0;text-align:left}.share-card>.button{margin-top:20px}.share-note{font-size:11px;margin:27px 0 0}.upload-footer{display:flex;align-items:center;flex-wrap:wrap;gap:20px;color:var(--muted);font-size:12px}.upload-footer>span{margin-right:auto}.upload-footer a{min-height:44px;display:inline-flex;align-items:center}.upload-header-actions .theme-switch button{min-width:38px}
@media(max-width:900px){.upload-login{gap:30px;grid-template-columns:minmax(0,1fr);max-width:550px;margin-inline:auto;min-height:0}.upload-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.upload-stats article:first-child{grid-column:1/-1}.upload-heading{flex-wrap:wrap}}
@media(max-width:600px){.upload-main{padding-top:22px}.upload-header-actions{gap:7px}.upload-header-actions .theme-switch{height:44px;padding:2px}.upload-header-actions .theme-switch button{padding:0 5px;min-width:32px;height:38px}.upload-header-actions #logout{padding:9px;font-size:11px;min-height:44px}.upload-card{padding:21px 17px}.upload-form-grid{grid-template-columns:minmax(0,1fr);gap:17px}.upload-card-head h2,.upload-file-head h2{font-size:25px}.drop-zone{min-height:160px;padding:20px 14px}.upload-stats{gap:10px}.upload-stats article{padding:17px}.upload-stats strong{font-size:21px}.upload-heading h1{font-size:clamp(38px,10vw,52px)}.upload-file-head{align-items:start;flex-wrap:wrap}.upload-filters{flex-direction:column}.upload-filters>label:last-child:not(:first-child){flex:auto}.upload-file{padding:18px}.file-heading{flex-wrap:wrap;gap:10px}.file-badges{justify-content:start}.file-link-row{flex-wrap:wrap}.file-link-row input{flex-basis:100%}.file-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.file-actions .button{justify-content:center}.upload-dialog form{padding:23px 19px}.share-card{padding:28px 21px}.upload-form-actions>.button{flex:1;justify-content:center}.upload-login h1{font-size:46px}.upload-lead{font-size:15px}}
@media(max-width:360px){.upload-header-actions #logout{font-size:0;width:38px;min-width:38px}.upload-header-actions #logout::after{content:"↪";font-size:20px}.upload-login h1{font-size:40px}}

.upload-file>h3{font-size:18px;line-height:1.5;letter-spacing:-.025em;margin:0;overflow-wrap:anywhere}.file-badges{justify-content:start;margin:12px 0}.file-link-row{margin-top:18px}.upload-main [hidden]{display:none!important}.upload-dialog label{display:grid;gap:8px}.upload-main label:not(.drop-zone):not(.upload-check){display:grid;gap:8px}.upload-main input:not([type=checkbox]):not([type=file]),.upload-main select,.upload-dialog input:not([type=checkbox]){width:100%;min-height:48px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--surface-raised);color:var(--ink);font:inherit;font-size:16px}.upload-check{display:flex!important}.upload-dialog .upload-check{display:flex}.upload-header-actions [hidden]{display:none!important}

.upload-area-link{margin-top:20px}
