:root{color:#e5eefc;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#0b1020;font-family:Inter,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:400;line-height:1.5}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}button,input,select,textarea{font:inherit}a{color:inherit}.auth-shell,.app-shell{color:#e5eefc;background:radial-gradient(circle at 0 0,#2463eb26,#0000 28%),radial-gradient(circle at 100% 0,#16a34a1a,#0000 26%),#09111f;min-height:100vh}.auth-shell{place-items:center;padding:32px;display:grid}.auth-panel,.panel,.metric-card{background:#080f1ceb;border:1px solid #94a3b824;border-radius:8px;box-shadow:0 18px 48px #00000047}.auth-panel{gap:16px;width:min(420px,100%);padding:32px;display:grid}.auth-brand,.brand-block,.panel-head,.panel-actions,.history-header,.history-item,.voice-main,.voice-meta,.license-row,.license-meta,.metric-card,.row-title,.import-summary,.toggle-row,.sidebar-footer,.history-meta,.history-title,.license-card-header,.history-toolbar{align-items:center;display:flex}.auth-brand,.brand-block,.panel-head,.history-header,.voice-main,.license-row,.metric-card,.row-title,.import-summary,.sidebar-footer,.license-card-header{justify-content:space-between}.app-shell{grid-template-columns:260px minmax(0,1fr);display:grid}.sidebar{background:#070c18d1;border-right:1px solid #94a3b824;flex-direction:column;gap:24px;padding:24px 18px;display:flex}.brand-block{align-items:flex-start;gap:12px}.brand-mark{color:#8cc8ff;background:#3b82f629;border-radius:8px;place-items:center;width:34px;height:34px;display:grid}.nav-stack{gap:8px;display:grid}.nav-button,.ghost-button,.primary-button,.icon-button,.inline-icon-button{font:inherit;cursor:pointer;border:1px solid #0000;border-radius:8px;transition:all .16s}.nav-button,.ghost-button,.primary-button,.icon-button,.status-pill,.history-toolbar,.inline-icon-button{align-items:center;gap:10px;display:inline-flex}.nav-button{color:#c9d8f4;background:0 0;justify-content:flex-start;padding:12px 14px}.nav-button:hover,.ghost-button:hover,.icon-button:hover,.inline-icon-button:hover{background:#3b82f61f}.nav-button.active{color:#fff;background:#3b82f633;border-color:#60a5fa52}.sidebar-footer{flex-direction:column;align-items:stretch;gap:10px;margin-top:auto}.main-panel{padding:28px}.page-header{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:24px;display:flex}.header-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.metric-card{min-width:160px;padding:16px}.metric-value{font-size:24px;font-weight:700}.content-grid{gap:16px;display:grid}.providers-grid{grid-template-columns:repeat(2,minmax(280px,1fr))}.panel{gap:14px;padding:20px;display:grid}.panel.wide{width:100%}.panel h2,.page-header h1,.auth-panel h1{margin:0}.panel p,.page-header p,.auth-panel p,.muted{color:#9ab0cf}label{gap:8px;display:grid}label span{color:#bbcae6;font-size:13px}input,select,textarea{color:#f7fbff;width:100%;font:inherit;resize:vertical;background:#0f172ae0;border:1px solid #94a3b82e;border-radius:8px;padding:10px 12px}textarea{min-height:120px}.primary-button,.ghost-button,.icon-button{padding:10px 14px}.primary-button{color:#fff;background:#2563eb}.primary-button:hover{background:#3b82f6}.ghost-button,.icon-button,.status-pill,.inline-icon-button{color:#dbeafe;background:#0f172ae6;border-color:#94a3b824}.status-pill{border:1px solid #94a3b824;justify-content:center;padding:10px 12px}.draft-table,.history-list,.voice-list,.license-list{gap:12px;display:grid}.draft-row,.history-card,.voice-card,.license-row,.license-card{background:#0f172ab3;border:1px solid #94a3b81f;border-radius:8px;padding:14px}.row-title{gap:14px}.row-grid,.license-form-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.history-items{gap:10px;margin-top:12px;display:grid}.history-item,.license-row{align-items:flex-start}.history-meta,.license-meta,.voice-meta,.history-toolbar{flex-wrap:wrap;gap:12px}.history-meta,.license-meta{justify-content:flex-end}.history-title{gap:8px}.voice-card,.license-card{gap:12px;display:grid}.status-tag{color:#dbeafe;background:#94a3b81f;border-radius:999px;justify-content:center;align-items:center;gap:6px;min-width:72px;padding:5px 10px;font-size:12px;display:inline-flex}.status-success{color:#bbf7d0;background:#16a34a2e}.status-partial{color:#fde68a;background:#f59e0b2e}.status-failed{color:#fecaca;background:#ef44442e}.status-running{color:#bfdbfe;background:#3b82f62e}.status-pending,.status-draft{color:#cbd5e1;background:#64748b2e}.empty-state{color:#9ab0cf;text-align:center;border:1px dashed #94a3b838;border-radius:8px;padding:24px}.error-text{color:#fca5a5;overflow-wrap:anywhere;max-width:560px}.file-input,.upload-box{position:relative;overflow:hidden}.file-input input,.upload-box input{opacity:0;cursor:pointer;position:absolute;inset:0}.upload-box{text-align:center;background:#1e293b80;border:1px dashed #60a5fa59;border-radius:8px;place-items:center;padding:24px}.toggle-row{grid-auto-flow:column;justify-content:flex-start}.toggle-row input{width:16px;height:16px}.panel-actions{justify-content:flex-end;gap:10px}.inline-icon-button{padding:6px}.danger-button{color:#fecaca}.hint-row,code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.hint-row{color:#9ab0cf}.spin{animation:1s linear infinite spin}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (width<=1180px){.app-shell{grid-template-columns:1fr}.sidebar{border-bottom:1px solid #94a3b824;border-right:0}.header-metrics,.providers-grid,.row-grid,.license-form-grid{grid-template-columns:1fr}.page-header{flex-direction:column}}
