:root{color:#1d2433;background:#eef2f6;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select,textarea{font:inherit}button{border:0}.app-shell{display:grid;grid-template-columns:minmax(280px,340px) minmax(0,1fr);min-height:100vh}.queue-pane{display:flex;flex-direction:column;gap:18px;min-height:100vh;padding:24px;color:#f8fafc;background:#202733}.queue-header,.panel-header,.call-strip,.control-bar,.metric-row,.turn-form{display:flex;align-items:center}.queue-header{justify-content:space-between;gap:12px}.eyebrow{margin:0 0 4px;color:#8fd5b5;font-size:.78rem;font-weight:800;letter-spacing:0;text-transform:uppercase}h1,h2,h3,p{margin:0}h1{font-size:1.55rem;line-height:1.15}h2{font-size:1.5rem;line-height:1.2}h3{font-size:1rem}.icon-button{display:inline-grid;place-items:center;width:42px;height:42px;flex:0 0 42px;color:#dbe5ef;background:#303a49;border:1px solid #465365;border-radius:8px;cursor:pointer}.icon-button svg,.ghost svg,.primary svg,.metric svg,.auth-panel svg{width:18px;height:18px}.icon-button:hover:not(:disabled),.ghost:hover:not(:disabled),.primary:hover:not(:disabled),.queue-item:hover{filter:brightness(1.04)}.icon-button:disabled,.ghost:disabled,.primary:disabled{cursor:not-allowed;opacity:.5}.icon-button.solid{color:#fff;background:#246bfe;border-color:#246bfe}.queue-list{display:grid;gap:10px;overflow-y:auto}.queue-item{display:grid;grid-template-columns:12px minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;min-height:76px;padding:14px;color:#f8fafc;text-align:left;background:#2b3543;border:1px solid #3e4a5b;border-radius:8px;cursor:pointer}.queue-item.selected{border-color:#8fd5b5;background:#344153}.queue-item strong,.queue-item small{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.queue-item small{margin-top:4px;color:#b9c6d8}.queue-time{color:#e8eef7;font-variant-numeric:tabular-nums}.status-dot{width:10px;height:10px;border-radius:50%;background:#a6b1c2}.status-dot.ringing,.state-pill.ringing{background:#f1b44c}.status-dot.answered,.status-dot.realtime_connected,.state-pill.answered,.state-pill.realtime_connected{background:#1a9b72}.status-dot.completed,.state-pill.completed{background:#246bfe}.status-dot.failed,.state-pill.failed{background:#d94b5c}.status-dot.timeout,.state-pill.timeout{background:#7c8799}.empty-state,.call-empty,.auth-screen{display:grid;place-items:center}.empty-state{min-height:180px;gap:12px;color:#b9c6d8;text-align:center;border:1px dashed #536174;border-radius:8px}.workspace{display:flex;flex-direction:column;gap:18px;min-width:0;padding:24px}.error-banner{padding:12px 14px;color:#7f1d1d;background:#ffe5e7;border:1px solid #f3b8be;border-radius:8px}.media-banner{padding:10px 12px;color:#244132;background:#e1f6eb;border:1px solid #a9dfc5;border-radius:8px}.call-empty{min-height:calc(100vh - 48px);gap:14px;color:#69778a;text-align:center}.call-empty svg{width:34px;height:34px}.call-strip{justify-content:space-between;gap:24px;padding:22px;background:#fff;border:1px solid #dce3ec;border-radius:8px}.call-identity{display:grid;gap:8px;min-width:0}.call-identity p{max-width:48rem;overflow-wrap:anywhere;color:#69778a}.state-pill{width:fit-content;min-width:96px;padding:5px 10px;color:#fff;font-size:.78rem;font-weight:800;text-align:center;border-radius:999px}.metric-row{flex-wrap:wrap;justify-content:flex-end;gap:10px}.metric{display:grid;grid-template-columns:18px auto;grid-template-rows:auto auto;column-gap:8px;min-width:120px;padding:10px 12px;color:#445268;background:#f5f7fa;border:1px solid #e1e8f0;border-radius:8px}.metric svg{grid-row:1 / span 2;align-self:center}.metric span{font-size:.72rem;font-weight:800;text-transform:uppercase}.metric strong{margin-top:2px;overflow:hidden;color:#1d2433;text-overflow:ellipsis;white-space:nowrap}.control-bar{flex-wrap:wrap;gap:10px}.ghost,.primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:0 14px;border-radius:8px;cursor:pointer}.ghost{color:#243047;background:#fff;border:1px solid #d7e0ea}.ghost.disabled{color:#69778a;background:#e8edf4}.live-audio.recording{color:#fff;background:#d94b5c;border-color:#d94b5c}.live-audio.connecting,.live-audio.waiting,.live-audio.connected{color:#fff;background:#1a9b72;border-color:#1a9b72}.primary{color:#fff;background:#246bfe}.content-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);gap:18px;align-items:start}.panel{min-width:0;padding:18px;background:#fff;border:1px solid #dce3ec;border-radius:8px}.panel-header{justify-content:space-between;gap:12px;margin-bottom:14px}.panel-header span,.muted{color:#69778a}.transcript-list{display:grid;gap:10px;min-height:252px;max-height:46vh;overflow-y:auto}.turn{display:grid;gap:6px;padding:12px;border-radius:8px}.turn span{font-size:.78rem;font-weight:800;text-transform:uppercase}.turn p{overflow-wrap:anywhere;line-height:1.5}.turn.user{background:#eaf3ff}.turn.assistant{background:#ecf8f2}.turn-form{gap:8px;margin-top:14px}.turn-form select,.turn-form input,.auth-panel input,.script-panel textarea{color:#1d2433;background:#fff;border:1px solid #cbd6e3;border-radius:8px;outline:none}.turn-form select{width:118px;height:42px;padding:0 10px}.turn-form input{min-width:0;height:42px;flex:1;padding:0 12px}.script-panel{display:grid}.script-panel textarea{width:100%;min-height:242px;resize:vertical;padding:12px;line-height:1.5}.script-panel .primary{width:100%;margin-top:14px}.event-rail{display:flex;flex-wrap:wrap;gap:8px;min-height:36px}.event-rail span{padding:6px 9px;color:#445268;background:#fff;border:1px solid #dce3ec;border-radius:999px;font-size:.78rem}.auth-screen{min-height:100vh;padding:24px;background:#202733}.auth-panel{display:grid;gap:18px;width:min(100%,420px);padding:26px;color:#f8fafc;background:#2b3543;border:1px solid #48576a;border-radius:8px}.auth-panel>svg{width:32px;height:32px;color:#8fd5b5}.auth-panel p{margin-top:6px;color:#b9c6d8}.auth-panel label{display:grid;gap:8px}.auth-panel span{font-weight:800}.auth-panel input{height:42px;padding:0 12px}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:900px){.app-shell,.content-grid{grid-template-columns:1fr}.queue-pane{min-height:auto}.call-strip{align-items:flex-start;flex-direction:column}.metric-row{justify-content:flex-start}}
