*{box-sizing:border-box}html{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172033;background:#f5f7fb}body{margin:0;min-height:100vh}button,input,textarea{font:inherit}.hidden{display:none!important}.brand{font-weight:800;font-size:1.1rem;letter-spacing:-.02em}.brand span{color:#2563eb}.muted{color:#64748b}.error{color:#b91c1c;min-height:1.25rem}.share-shell{min-height:100vh;display:grid;place-items:center;padding:24px}.share-card{width:min(100%,520px);background:white;border:1px solid #e5e7eb;border-radius:24px;padding:32px;text-align:center;box-shadow:0 18px 55px rgba(15,23,42,.08)}.share-card h1{font-size:clamp(1.65rem,7vw,2.3rem);margin:18px 0 8px;overflow-wrap:anywhere}.file-icon{width:78px;height:78px;margin:26px auto 10px;border-radius:22px;background:#eff6ff;color:#1d4ed8;display:grid;place-items:center;font-weight:900;font-size:1.1rem}.meta{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:20px 0;color:#64748b;font-size:.9rem}.meta span{background:#f8fafc;padding:7px 10px;border-radius:999px;max-width:100%;overflow-wrap:anywhere}.button{appearance:none;border:0;border-radius:12px;background:#2563eb;color:white;padding:12px 16px;font-weight:700;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;min-height:46px}.button:hover{filter:brightness(.96)}.button:disabled{opacity:.55;cursor:not-allowed}.button.secondary{background:#eef2ff;color:#1e40af}.button.ghost{background:white;color:#334155;border:1px solid #dbe2ea}.button.danger{background:#fff1f2;color:#be123c}.share-card .button{width:100%;margin-top:10px}.share-card form{text-align:left}.share-card label,.field label{display:block;font-weight:700;margin:12px 0 7px}input,textarea{width:100%;border:1px solid #cbd5e1;border-radius:12px;padding:12px;background:white;color:#172033;outline:none}input:focus,textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.12)}small{color:#64748b}.foot{font-size:.8rem;color:#94a3b8;margin-top:22px}.admin-shell{width:min(1180px,calc(100% - 28px));margin:0 auto;padding:22px 0 60px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.topbar p{margin:4px 0 0;color:#64748b}.panel{background:white;border:1px solid #e5e7eb;border-radius:20px;padding:22px;margin-bottom:18px;box-shadow:0 8px 35px rgba(15,23,42,.05)}.panel.narrow{max-width:460px;margin:12vh auto 0}.panel h1,.panel h2{margin:0 0 8px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.upload-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 18px}.field.full{grid-column:1/-1}.actions-end{display:flex;align-items:end}.actions-end .button{width:100%}.result{margin-top:16px;padding:14px;border-radius:14px;background:#eff6ff;color:#1e3a8a}.share-result{display:flex;gap:10px;margin-top:10px}.share-result input{min-width:0}.file-list{display:grid;gap:10px}.file-row{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #e5e7eb;border-radius:16px;padding:15px}.file-main{display:flex;align-items:flex-start;gap:12px;min-width:0}.file-main h3{margin:0 0 5px;overflow-wrap:anywhere}.file-main p{margin:3px 0;color:#64748b;font-size:.88rem;overflow-wrap:anywhere}.status-dot{flex:0 0 10px;width:10px;height:10px;border-radius:50%;margin-top:7px;background:#16a34a}.status-dot.off{background:#94a3b8}.file-actions{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end}.file-actions .button{min-height:38px;padding:8px 11px;font-size:.86rem}.empty{text-align:center;padding:32px;color:#64748b;border:1px dashed #cbd5e1;border-radius:14px}@media(max-width:720px){.share-shell{padding:14px}.share-card{padding:24px 18px;border-radius:20px}.admin-shell{width:min(100% - 20px,1180px);padding-top:12px}.topbar{align-items:flex-start}.panel{padding:16px;border-radius:16px}.upload-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.file-row{align-items:stretch;flex-direction:column}.file-actions{display:grid;grid-template-columns:1fr 1fr}.file-actions .button{width:100%}.share-result{flex-direction:column}}