@import url('/fonts.css');
:root{color-scheme:dark;--bg:#121317;--panel:#191b20;--panel-2:#1f2127;--line:#2a2d35;--text:#eceef3;--muted:#a1a5b0;--dim:#8a909c;--accent:#9cdb83;--accent-hover:#b5ed9f;--accent-soft:#9cdb8312;--accent-line:#9cdb833a;--accent-ink:#10190c;--danger:#f0aaa4;--warn:#f2cf7d;--sans:'Segoe UI',-apple-system,BlinkMacSystemFont,Arial,sans-serif;--mono:'JetBrains Mono',Consolas,monospace;font-family:var(--sans)}
:root[data-theme=blue]{--accent:#91baff;--accent-hover:#b0cdff;--accent-soft:#91baff12;--accent-line:#91baff3a;--accent-ink:#0e1b32}
:root[data-theme=purple]{--accent:#bda4ff;--accent-hover:#d1bfff;--accent-soft:#bda4ff12;--accent-line:#bda4ff3a;--accent-ink:#211333}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;min-height:100dvh;background:radial-gradient(ellipse 900px 640px at 50% 260px,var(--accent-soft),transparent 70%) no-repeat,var(--bg);color:var(--text);display:flex;flex-direction:column}
button{font:inherit;cursor:pointer}
button:focus-visible,.drop:focus-within{outline:2px solid var(--accent);outline-offset:4px}
[hidden]{display:none!important}
svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

.up-header{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:28px 40px}
.brand{display:flex;align-items:center;gap:10px;font-family:'Space Grotesk',var(--sans);font-size:24px;letter-spacing:-.8px;font-weight:600}
.brand-mark{display:grid;place-items:center;width:33px;height:33px;background:var(--accent);color:var(--accent-ink);border-radius:8px;font-family:var(--mono);font-size:22px;letter-spacing:-4px;padding-right:5px}
.brand-dot{color:var(--accent);margin-left:-10px}
.up-label{display:flex;align-items:center;gap:9px;color:var(--dim);font-size:12px}
.up-label>span{font-size:7px;color:var(--accent)}

.up-main{flex:1;display:flex;justify-content:center;padding:30px 24px 70px}
.up-panel{width:100%;max-width:640px}
.eyebrow{font:10px var(--mono);letter-spacing:1.6px;color:var(--dim);margin:0 0 14px;text-transform:uppercase}
h1{font-family:'Space Grotesk',var(--sans);font-size:38px;font-weight:500;letter-spacing:-1.5px;margin:0 0 12px;line-height:1.2}
h1>span{color:var(--accent)}
.up-intro{font-size:15px;color:var(--muted);line-height:1.7;margin:0 0 26px}

.drop{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:42px 24px 34px;border:2px dashed #3b3f49;border-radius:14px;background:var(--panel);cursor:pointer;transition:border-color .15s,background-color .15s,transform .15s}
.drop:hover{border-color:var(--accent-line);background:var(--panel-2)}
.drop.over{border-color:var(--accent);background:var(--accent-soft);transform:scale(1.01)}
.drop.disabled{cursor:not-allowed;opacity:.55}
.drop-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:16px;border:1px solid var(--accent-line);background:var(--accent-soft);color:var(--accent);margin-bottom:8px}
.drop-icon svg{width:27px;height:27px}
.drop-title{margin:0;font-family:'Space Grotesk',var(--sans);font-size:21px;font-weight:500;letter-spacing:-.4px;line-height:1.35}
.drop-or{margin:2px 0;color:var(--dim);font-size:13px}
.pick{min-height:48px;padding:0 26px;border-radius:9px;border:1px solid var(--accent);background:var(--accent);color:var(--accent-ink);font-size:15px;font-weight:650}
.pick:hover{background:var(--accent-hover)}
.pick:disabled{opacity:.6;cursor:not-allowed}
.drop-limit{margin:10px 0 0;color:var(--dim);font-size:12.5px;line-height:1.6}
.for-touch{display:none}
@media (hover:none) and (pointer:coarse){.for-mouse{display:none}.for-touch{display:inline}}

.closed{margin:16px 0 0;padding:14px 16px;border:1px solid #f2cf7d55;background:#f2cf7d12;border-radius:10px;color:var(--warn);font-size:14px;line-height:1.6}
.check-uploads{margin:10px 0 0;min-height:44px;padding:0 16px;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--text);font-size:14px}
.check-uploads:hover{border-color:var(--accent-line);background:var(--panel-2)}
.check-uploads:disabled{cursor:wait;opacity:.6}
.summary{margin:22px 0 10px;font-size:14px;color:var(--muted);min-height:1.6em;line-height:1.6}
.summary.done{color:var(--accent);font-weight:600}

.files{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.file{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:14px;padding:14px 14px 14px 16px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}
.file-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:#ffffff08;color:var(--muted)}
.file-icon svg{width:21px;height:21px}
.file-main{min-width:0}
.file-name{margin:0;font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.file-status{margin:3px 0 0;font-size:12.5px;color:var(--muted);line-height:1.5}
.file progress{display:block;width:100%;height:6px;margin-top:9px;border:0;border-radius:6px;overflow:hidden;background:#ffffff10;appearance:none;-webkit-appearance:none}
.file progress::-webkit-progress-bar{background:#ffffff10;border-radius:6px}
.file progress::-webkit-progress-value{background:var(--accent);border-radius:6px;transition:width .2s}
.file progress::-moz-progress-bar{background:var(--accent);border-radius:6px}
.file-actions{display:flex;gap:6px}
.file-actions button{min-width:44px;min-height:44px;padding:0 12px;border-radius:8px;border:1px solid var(--line);background:transparent;color:var(--muted);font-size:13px}
.file-actions button:hover{color:var(--text);border-color:#3b3f49;background:#ffffff08}
.file.sent{border-color:var(--accent-line)}
.file.sent .file-icon{background:var(--accent-soft);color:var(--accent)}
.file.sent .file-status{color:var(--accent)}
.file.error .file-status,.file.blocked .file-status{color:var(--danger)}
.file.waiting .file-status{color:var(--warn)}
.file.blocked{opacity:.85}

.tips{margin:30px 0 0;padding:18px 20px 18px 38px;border:1px solid #ffffff0a;border-radius:12px;background:#ffffff04;color:var(--muted);font-size:13.5px;line-height:1.75}
.tips strong{color:var(--text)}
.up-footer{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:22px 40px;border-top:1px solid #ffffff06;color:var(--dim);font-size:11.5px}
.up-footer>span:last-child{font:10px var(--mono)}

@media (max-width:560px){
  .up-header{padding:20px 18px}.brand{font-size:21px}.up-label{font-size:11px}
  .up-main{padding:18px 16px 50px}
  h1{font-size:31px}.up-intro{font-size:14.5px;margin-bottom:20px}
  .drop{padding:30px 18px 26px}.drop-title{font-size:19px}
  .pick{width:100%}
  .file{grid-template-columns:34px minmax(0,1fr);gap:12px;padding:13px}
  .file-icon{width:34px;height:34px}
  .file-actions{grid-column:1/-1;justify-content:flex-end}
  .tips{padding:16px 16px 16px 32px}
  .up-footer{padding:18px;flex-direction:column;align-items:flex-start;gap:6px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}.drop.over{transform:none}}
