:root{--ink:#17221d;--muted:#66736d;--paper:#f4f2ec;--surface:#fffdfa;--line:#dedfd8;--green:#176b4d;--green-dark:#0f513a;--mint:#dcece3;--red:#a83b36;--amber:#91600f;--shadow:0 18px 55px rgba(24,45,34,.1);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at 90% 0,#dce9df 0,transparent 28rem),var(--paper)}button,input,textarea{font:inherit}.site-header{height:72px;padding:0 clamp(20px,5vw,72px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(23,34,29,.08)}.brand{font-weight:900;letter-spacing:.06em;color:var(--ink);text-decoration:none}.brand span{color:var(--green);font-weight:650}.card{background:var(--surface);border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow)}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(2rem,4vw,3.4rem);line-height:1;letter-spacing:-.045em;margin-bottom:16px}h2{letter-spacing:-.025em}.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-weight:800;font-size:.75rem;color:var(--green);margin-bottom:12px}.muted{color:var(--muted)}.button{min-height:42px;border:0;border-radius:12px;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:800;font-size:.78rem;letter-spacing:.025em;cursor:pointer;transition:transform .15s,background .15s}.button:active{transform:translateY(1px)}.button-primary{background:var(--green);color:white}.button-primary:hover{background:var(--green-dark)}.button-secondary{background:#edf0ec;color:var(--ink)}.button-quiet{background:transparent;color:var(--muted)}.button-warning{background:#fff0cf;color:#774c06}.button-danger{background:#fae4e2;color:var(--red)}.button-large{width:100%;min-height:58px;font-size:.9rem}.login-page main{display:grid;place-items:center;min-height:calc(100vh - 72px);padding:24px}.login-card{width:min(440px,100%);padding:clamp(26px,5vw,44px)}.stack{display:grid;gap:18px;margin-top:28px}label{display:grid;gap:8px;font-weight:750;font-size:.85rem}input,textarea{width:100%;border:1px solid #cfd4cf;background:white;color:var(--ink);border-radius:11px;padding:12px 13px;outline:none}input:focus,textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(23,107,77,.12)}.alert{border-radius:12px;padding:14px 16px}.alert-error{background:#fbe9e7;color:#7e2a27}.admin-shell{width:min(1240px,calc(100% - 40px));margin:0 auto;padding:56px 0 80px}.admin-intro{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:32px}.admin-intro p:last-child{margin-bottom:0}.created-card{padding:24px 28px;display:grid;grid-template-columns:1fr auto;gap:28px;align-items:center;border-color:#acd1bb;margin-bottom:40px}.created-card h2{margin:14px 0 4px}.folder-path{color:var(--muted);font-family:ui-monospace,monospace;font-size:.85rem}.link-row{display:flex;gap:8px;max-width:700px}.link-row input{min-width:0}.qr-large{border-radius:12px}.status{display:inline-flex;padding:6px 9px;border-radius:999px;font-size:.72rem;font-weight:800}.status-open{background:var(--mint);color:var(--green-dark)}.status-closed{background:#ecebea;color:#666}.section-heading,.collection-top{display:flex;align-items:center;justify-content:space-between;gap:16px}.section-heading span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#e5e6df;font-weight:800}.collection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.collection-card{padding:24px;box-shadow:none}.collection-card h3{font-size:1.15rem;margin:18px 0 8px}.collection-date,.comment{color:var(--muted);font-size:.82rem}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);margin:22px 0;overflow:hidden;border:1px solid var(--line);border-radius:12px}.stats div{background:var(--surface);padding:13px}.stats dt{color:var(--muted);font-size:.72rem;margin-bottom:6px}.stats dd{margin:0;font-weight:800;font-size:.85rem}.actions{display:flex;flex-wrap:wrap;gap:8px}.actions form{display:inline-flex}.empty{padding:40px;text-align:center;box-shadow:none}dialog{border:0;border-radius:22px;padding:0;background:var(--surface);box-shadow:0 30px 90px rgba(10,30,20,.3);width:min(520px,calc(100% - 28px))}dialog::backdrop{background:rgba(12,25,19,.55);backdrop-filter:blur(3px)}.dialog-form,.qr-dialog-content{display:grid;gap:17px;padding:28px}.dialog-head{display:flex;justify-content:space-between;align-items:start}.dialog-head h2{margin:0}.icon-button{border:0;background:#edf0ec;border-radius:50%;width:38px;height:38px;font-size:1.6rem;cursor:pointer}.qr-dialog-content{text-align:center}.qr-close{justify-self:end}.qr-dialog-content img{max-width:100%;height:auto}.qr-dialog-content .muted{word-break:break-all;font-size:.78rem}.upload-shell{width:min(600px,calc(100% - 28px));margin:0 auto;padding:clamp(28px,6vh,72px) 0}.upload-card{padding:clamp(26px,6vw,48px);text-align:center}.upload-mark{width:58px;height:58px;border-radius:18px;background:var(--mint);color:var(--green);display:grid;place-items:center;font-size:2rem;font-weight:900;margin:0 auto 24px}.upload-card h1{font-size:clamp(2rem,8vw,3rem)}.destination{display:grid;gap:5px;margin:24px 0 28px;padding:18px;border-block:1px solid var(--line)}.destination strong{font-size:1.15rem}.destination span{color:var(--muted)}.upload-comment{background:#f0f1eb;padding:12px;border-radius:10px}.hint{color:var(--muted);font-size:.78rem;margin:13px 0 0}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.selection-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px}.selection-summary div{display:grid;gap:7px;padding:17px;background:#f0f2ed;border-radius:13px}.selection-summary span{font-size:.75rem;color:var(--muted)}.selection-summary strong{font-size:1.05rem}.progress-heading,.progress-counts{display:flex;justify-content:space-between;gap:16px}.progress-heading{margin-bottom:12px}.progress-track{height:12px;border-radius:999px;background:#e2e6e2;overflow:hidden}.progress-track div{height:100%;width:0;background:var(--green);transition:width .25s}.current-file{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:16px 0;color:var(--muted)}.progress-counts{font-size:.82rem}.success-icon,.closed-message span{display:grid;place-items:center;margin:0 auto 17px;width:64px;height:64px;border-radius:50%;background:var(--mint);color:var(--green);font-size:2rem;font-weight:900}.success-view p{color:var(--muted)}.success-view .button{margin-top:10px}.closed-message{padding-top:12px}.closed-message p{color:var(--muted)}.privacy-note{text-align:center;color:var(--muted);font-size:.78rem;margin:18px}.upload-page .site-header{justify-content:center}.upload-page .brand{font-size:.8rem}
@media(max-width:820px){.admin-shell{width:min(100% - 24px,1240px);padding-top:30px}.admin-intro{align-items:stretch;flex-direction:column}.collection-grid{grid-template-columns:1fr}.created-card{grid-template-columns:1fr;text-align:center}.created-card .qr-large{justify-self:center}.stats{grid-template-columns:1fr 1fr}.site-header{padding-inline:16px}.collection-card{padding:18px}.actions .button,.actions form{flex:1 1 145px}.actions form .button{width:100%}}
@media(max-width:480px){.upload-shell{width:calc(100% - 16px);padding:16px 0}.upload-card{border-radius:18px;padding:24px 18px}.site-header{height:58px}.upload-page main{min-height:calc(100vh - 58px)}.link-row{display:grid}.qr-large{width:150px;height:150px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

