:root{--bg:#17181a;--bg-deep:#101113;--surface:#1f2023;--surface-raised:#25272b;--border:#34363b;--border-soft:#2a2c30;--text:#f0efec;--text-muted:#9a9a9d;--text-faint:#66676b;--accent:#ff7a45;--accent-soft:#ff7a4524;--accent-hover:#ff8c5e;--success:#4ade80;--success-soft:#4ade801f;--error:#f87171;--radius:8px;--radius-sm:6px;--mono:"JetBrains Mono", "SF Mono", Consolas, monospace;--sans:"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--ease:cubic-bezier(.2, .8, .2, 1)}*{box-sizing:border-box}html,body{margin:0;padding:0}body{background:var(--bg-deep);color:var(--text);font-family:var(--sans);-webkit-font-smoothing:antialiased;background-image:radial-gradient(circle at 50% 0,#ff7a450f,#0000 55%)}#root{max-width:720px;margin:0 auto;padding:56px 24px 80px}.app{animation:app-enter .5s var(--ease) both;flex-direction:column;gap:32px;display:flex}@keyframes app-enter{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.header{flex-direction:column;gap:8px;display:flex}.title{font-family:var(--mono);letter-spacing:-.02em;align-items:center;gap:10px;margin:0;font-size:22px;font-weight:600;display:flex}.title:before{content:"";background:var(--accent);width:9px;height:9px;box-shadow:0 0 0 4px var(--accent-soft);border-radius:50%}.subtitle{color:var(--text-muted);margin:0;font-size:14px;line-height:1.55}.dropzone{border:1.5px dashed var(--border);border-radius:var(--radius);background:var(--surface);text-align:center;cursor:pointer;transition:border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);padding:44px 24px}.dropzone:hover{border-color:var(--text-faint);background:var(--surface-raised)}.dropzone--active{border-color:var(--accent);background:var(--accent-soft);box-shadow:0 0 0 4px var(--accent-soft);transform:scale(1.01)}.dropzone:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.dropzone-text{margin:0 0 6px;font-size:15px}.dropzone-link{color:var(--accent);text-underline-offset:3px;font-weight:500;text-decoration:underline}.dropzone-hint{color:var(--text-faint);font-size:12px;font-family:var(--mono);letter-spacing:.02em;margin:0}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.controls{background:var(--surface);border:1px solid var(--border-soft);border-radius:var(--radius);flex-wrap:wrap;gap:28px;padding:22px;display:flex}.control-group{flex-direction:column;gap:9px;min-width:160px;display:flex}.control-label{font-size:11px;font-family:var(--mono);color:var(--text-faint);text-transform:uppercase;letter-spacing:.06em}.segmented{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg);width:fit-content;display:inline-flex;overflow:hidden}.segmented-option{font-family:var(--mono);color:var(--text-muted);cursor:pointer;transition:background .15s var(--ease), color .15s var(--ease);background:0 0;border:none;padding:8px 16px;font-size:13px;position:relative}.segmented-option:not(:last-child):after{content:"";background:var(--border);width:1px;position:absolute;top:20%;bottom:20%;right:0}.segmented-option:hover{color:var(--text)}.segmented-option--active{background:var(--accent);color:#1a1206;font-weight:600}.segmented-option--active:after{display:none}.segmented-option:focus-visible{outline:2px solid var(--accent);outline-offset:2px;z-index:1;position:relative}.slider{width:100%;accent-color:var(--accent)}.color-input{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);cursor:pointer;width:48px;height:32px;padding:2px}.queue{flex-direction:column;gap:14px;display:flex}.queue-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.queue-count{font-family:var(--mono);color:var(--text-muted);font-size:13px}.queue-actions{gap:8px;display:flex}.file-list{border:1px solid var(--border-soft);border-radius:var(--radius);background:var(--surface);margin:0;padding:0;list-style:none;overflow:hidden}.file-row{border-bottom:1px solid var(--border-soft);animation:row-enter .35s var(--ease) both;transition:background .2s var(--ease);justify-content:space-between;align-items:center;gap:16px;padding:14px 18px;display:flex}@keyframes row-enter{0%{opacity:0;transform:translate(-6px)}to{opacity:1;transform:translate(0)}}.file-row:last-child{border-bottom:none}.file-row[data-status=done]{background:var(--success-soft)}.file-row[data-status=error]{background:#f8717114}.file-info{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.file-name{white-space:nowrap;text-overflow:ellipsis;font-size:14px;overflow:hidden}.file-meta{font-family:var(--mono);color:var(--text-muted);font-size:12px}.file-arrow{color:var(--text-faint)}.file-progress{background:var(--border);border-radius:2px;width:100%;max-width:160px;height:3px;margin-top:2px;display:block;overflow:hidden}.file-progress-bar{background:var(--accent);border-radius:2px;width:40%;height:100%;animation:1.1s ease-in-out infinite progress-sweep;display:block}@keyframes progress-sweep{0%{transform:translate(-100%)}to{transform:translate(250%)}}.file-status{flex-shrink:0;align-items:center;gap:10px;display:flex}.status-text{font-family:var(--mono);color:var(--text-muted);font-size:12px}.status-text--error{color:var(--error)}.btn{font-family:var(--sans);border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface-raised);color:var(--text);cursor:pointer;transition:background .15s var(--ease), border-color .15s var(--ease), transform .1s var(--ease);padding:9px 16px;font-size:13px;font-weight:500}.btn:hover:not(:disabled){background:var(--border);transform:translateY(-1px)}.btn:active:not(:disabled){transform:translateY(0)}.btn:disabled{opacity:.4;cursor:not-allowed}.btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.btn--primary{background:var(--accent);border-color:var(--accent);color:#1a1206;font-weight:600}.btn--primary:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover)}.btn--secondary{border-color:var(--accent);color:var(--accent);background:0 0}.btn--secondary:hover:not(:disabled){background:var(--accent-soft)}.btn--ghost{color:var(--text-faint);background:0 0;border-color:#0000}.btn--ghost:hover{background:var(--surface-raised);color:var(--text-muted)}.btn--small{padding:6px 12px;font-size:12px}.icon-btn{width:26px;height:26px;color:var(--text-faint);cursor:pointer;border-radius:var(--radius-sm);transition:background .15s var(--ease), color .15s var(--ease);background:0 0;border:none;justify-content:center;align-items:center;font-size:18px;line-height:1;display:inline-flex}.icon-btn:hover{color:var(--error);background:#f871711f}.icon-btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.empty-state{font-family:var(--mono);color:var(--text-faint);text-align:center;padding:28px 0;font-size:13px}@media (width<=480px){#root{padding:36px 16px 60px}.queue-header{flex-direction:column;align-items:stretch}.queue-actions{flex-wrap:wrap}.file-row{flex-direction:column;align-items:flex-start}.file-status{justify-content:space-between;width:100%}}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
