:root{color:#18202b;background:#eef3f5;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--surface: #ffffff;--surface-soft: #f7faf9;--ink: #18202b;--muted: #64707d;--line: #dbe3e7;--primary: #0f766e;--primary-strong: #115e59;--accent: #2563eb;--danger: #b42318;--danger-bg: #fff4f2;--success: #15803d;--shadow: 0 18px 48px rgba(24, 32, 43, .1)}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.shell{width:min(1120px,calc(100vw - 32px));min-height:100vh;margin:0 auto;padding:32px 0}.centered,.auth-shell{display:grid;place-items:center}.auth-panel,.panel{border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:var(--shadow)}.auth-panel{width:min(430px,100%);display:grid;gap:24px;padding:32px}.brand-mark{width:52px;height:52px;display:grid;place-items:center;border-radius:8px;color:#fff;background:var(--primary)}.brand-mark.compact{width:42px;height:42px}.eyebrow{margin:0 0 6px;color:var(--accent);font-size:.76rem;font-weight:750;letter-spacing:0;text-transform:uppercase}h1,h2,p{margin-top:0}h1{margin-bottom:8px;color:var(--ink);font-size:clamp(1.9rem,4vw,2.8rem);line-height:1.08;letter-spacing:0}h2{margin-bottom:0;font-size:1.2rem;line-height:1.2;letter-spacing:0}.auth-copy{margin-bottom:0;color:var(--muted);line-height:1.6}.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.title-cluster{display:flex;align-items:center;gap:14px}.title-cluster h1{margin:0;font-size:clamp(1.6rem,3vw,2.2rem)}.account{min-width:0;display:flex;align-items:center;gap:10px;color:var(--muted);font-weight:650}.account img{width:32px;height:32px;border-radius:50%}.account span{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace{display:grid;grid-template-columns:minmax(320px,.9fr) minmax(360px,1.1fr);gap:20px;align-items:start}.panel{min-width:0;padding:24px}.upload-panel{display:grid;gap:20px}.status-panel{display:grid;gap:18px}.history-panel{display:grid;gap:16px;margin-top:20px}.panel-header{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:16px}.panel-header>svg{flex:0 0 auto;color:var(--primary)}.dropzone{min-height:190px;display:grid;place-items:center;align-content:center;gap:10px;padding:22px;border:1.5px dashed #b9c7cd;border-radius:8px;background:var(--surface-soft);color:var(--muted);text-align:center}.dropzone input{position:absolute;width:1px;height:1px;opacity:0}.dropzone svg{color:var(--primary)}.dropzone span{max-width:100%;color:var(--ink);font-weight:750;overflow-wrap:anywhere}.dropzone small{color:var(--muted);overflow-wrap:anywhere}.field{display:grid;gap:10px;color:var(--ink);font-weight:700}.range-row{display:grid;grid-template-columns:1fr 64px;align-items:center;gap:12px}input[type=range]{width:100%;accent-color:var(--primary)}output{color:var(--muted);text-align:right;font-variant-numeric:tabular-nums}.primary-button,.secondary-button,.icon-button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:9px;border:0;border-radius:8px;font-weight:780}.primary-button{width:100%;color:#fff;background:var(--primary)}.primary-button:hover:not(:disabled){background:var(--primary-strong)}.secondary-button{color:var(--primary-strong);background:#e5f3f0}.secondary-button:hover:not(:disabled){background:#d5ebe7}.icon-button{width:42px;min-width:42px;color:var(--muted);background:#edf2f4}.progress-block{display:grid;gap:8px}.progress-row{display:flex;justify-content:space-between;color:var(--muted);font-size:.9rem;font-weight:700}.progress-track{height:10px;overflow:hidden;border-radius:999px;background:#e6edf0}.progress-track div{height:100%;border-radius:inherit;background:var(--accent);transition:width .18s ease}.status-line{display:grid;gap:8px;padding:16px;border-radius:8px;background:var(--surface-soft)}.status-line span,.detail-list span{color:var(--muted);font-size:.84rem;font-weight:750}.status-line strong,.detail-list strong{color:var(--ink);line-height:1.45;overflow-wrap:anywhere}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0}.metrics div{min-height:84px;display:grid;align-content:center;gap:8px;padding:14px;border:1px solid var(--line);border-radius:8px;background:#fff}.metrics dt{color:var(--muted);font-size:.78rem;font-weight:750}.metrics dd{margin:0;color:var(--ink);font-size:1.2rem;font-weight:820;overflow-wrap:anywhere}.detail-list{display:grid;gap:10px}.detail-list div{display:grid;gap:5px;padding-bottom:10px;border-bottom:1px solid var(--line)}.chord-strip{display:flex;flex-wrap:wrap;gap:8px}.chord-strip span{min-width:48px;padding:8px 10px;border-radius:8px;color:#1f2937;background:#eef4ff;font-size:.9rem;font-weight:760;text-align:center}.history-list{display:grid;gap:10px}.history-item{width:100%;min-height:78px;display:grid;grid-template-columns:74px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;border:1px solid var(--line);border-radius:8px;color:var(--ink);background:#fff;text-align:left}.history-item:hover,.history-item.selected{border-color:#9cc9c3;background:#f5fbfa}.history-title{min-width:0;display:grid;gap:4px}.history-title strong,.history-title small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-title small,.history-meta{color:var(--muted);font-size:.84rem;font-weight:700}.history-meta{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.status-pill{display:inline-flex;min-width:58px;justify-content:center;padding:7px 8px;border-radius:999px;font-size:.78rem;font-weight:820}.status-pill.queued,.status-pill.processing{color:#1d4ed8;background:#eef4ff}.status-pill.completed{color:var(--success);background:#effaf2}.status-pill.failed{color:var(--danger);background:var(--danger-bg)}.empty-state{min-height:96px;display:grid;place-items:center;border:1px dashed #b9c7cd;border-radius:8px;color:var(--muted);background:var(--surface-soft);font-weight:750}.notice{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border-radius:8px;font-weight:680;line-height:1.45}.notice.danger{color:var(--danger);background:var(--danger-bg)}.notice.success{color:var(--success);background:#effaf2}.status-icon{color:var(--primary)}.status-icon.success{color:var(--success)}.status-icon.danger{color:var(--danger)}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width: 780px){.shell{width:min(100% - 24px,1120px);padding:20px 0}.topbar,.workspace{grid-template-columns:1fr}.topbar{display:grid}.account{justify-content:space-between}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.history-item{grid-template-columns:66px minmax(0,1fr)}.history-meta{grid-column:2}}@media (max-width: 460px){.auth-panel,.panel{padding:20px}.title-cluster{align-items:flex-start}.range-row{grid-template-columns:1fr}output{text-align:left}}
