:root{color:#1c1d20;background:#f5f6f8;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}.appShell{min-height:100vh;padding:24px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:1460px;margin:0 auto 20px}.brand{display:flex;align-items:center;gap:14px}.brandMark{display:grid;width:48px;height:48px;place-items:center;color:#fff;background:#f58235;border-radius:8px;box-shadow:0 12px 28px #f5823547}h1,h2,h3,p{margin:0}h1{font-size:22px;font-weight:750;line-height:1.2;letter-spacing:0}.brand p,.panelHeader p{margin-top:3px;color:#707784;font-size:13px;line-height:1.4}.statusChip{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:0 14px;color:#404650;background:#fff;border:1px solid #e2e5ea;border-radius:8px;font-size:13px;font-weight:700;white-space:nowrap}.status-active,.status-registered{color:#087443;background:#eaf8f0;border-color:#bfe8cf}.status-incoming,.status-ringing,.status-dialing{color:#a54f09;background:#fff2e8;border-color:#ffd3b8}.status-error{color:#b4232a;background:#fff0f1;border-color:#ffd0d5}.layoutGrid{display:grid;grid-template-columns:minmax(280px,360px) minmax(420px,1fr) minmax(300px,390px);gap:18px;max-width:1460px;margin:0 auto;align-items:stretch}.panel,.callSurface,.timeline{background:#fff;border:1px solid #e5e8ee;border-radius:8px;box-shadow:0 18px 45px #24293412}.panel{padding:20px}.panelHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:20px}.panelHeader h2{font-size:16px;font-weight:750;letter-spacing:0}.detailPanel{display:flex;flex-direction:column;min-height:0}.detailPanel>.panelHeader{display:none}.field{display:grid;gap:7px;margin-bottom:14px}.field span{color:#555d6a;font-size:12px;font-weight:750}input,select,textarea{width:100%;min-height:42px;padding:0 12px;color:#1c1d20;background:#fbfcfd;border:1px solid #d8dde6;border-radius:7px;outline:none;resize:vertical;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}textarea{padding-top:10px;padding-bottom:10px;line-height:1.45}input:focus,select:focus,textarea:focus{background:#fff;border-color:#f58235;box-shadow:0 0 0 3px #f5823529}.buttonRow,.callControls,.dialer{display:flex;gap:10px;align-items:center}.buttonRow{margin-top:18px}.callbotBox{display:grid;gap:8px;margin-top:16px;padding:12px;background:#f8f9fb;border:1px solid #e1e5ec;border-radius:8px}.callbotBox.isOn{background:#eaf8f0;border-color:#bfe8cf}.callbotBox label{display:flex;align-items:center;justify-content:space-between;gap:12px}.callbotBox input{width:16px;min-height:16px;accent-color:#13a263}.callbotBox span{display:inline-flex;align-items:center;gap:8px;color:#2f3540;font-size:13px;font-weight:800}.callbotBox p{color:#59616d;font-size:12px;line-height:1.45}.rememberRow{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:4px;padding:10px 0 2px}.rememberRow label{display:inline-flex;align-items:center;gap:9px;color:#4c5460;font-size:13px;font-weight:750}.rememberRow input{width:16px;min-height:16px;accent-color:#f58235}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:0 14px;border-radius:7px;font-size:13px;font-weight:750;letter-spacing:0;cursor:pointer;transition:transform .12s ease,background .16s ease,color .16s ease,border-color .16s ease}button:hover:not(:disabled){transform:translateY(-1px)}button:disabled{cursor:not-allowed;opacity:.54}.primaryButton,.acceptButton{color:#fff;background:#f58235}.secondaryButton,.toggleButton,.iconButton{color:#2f3540;background:#f1f3f6;border:1px solid #dfe3ea}.dangerButton{color:#fff;background:#d92d3a}.toggleButton.isOn{color:#fff;background:#2f3540}.iconButton{width:38px;min-height:38px;padding:0}.textButton{min-height:34px;padding:0 10px;color:#5f6875;background:transparent;border:1px solid #dfe3ea}.softphone{display:grid;grid-template-rows:1fr auto;gap:18px;min-width:0}.callSurface{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:560px;padding:34px;text-align:center}.callIcon{display:grid;width:96px;height:96px;place-items:center;color:#f58235;background:#fff2e8;border:1px solid #ffd8c0;border-radius:50%}.callKicker{margin-top:22px;color:#747c89;font-size:12px;font-weight:800;text-transform:uppercase}.botBadge{margin-top:8px;color:#087443;font-size:12px;font-weight:800}.callSurface h2{margin-top:8px;font-size:clamp(30px,4vw,48px);font-weight:800;line-height:1.05;letter-spacing:0;overflow-wrap:anywhere}.callState{margin-top:12px;color:#59616d;font-size:15px;font-weight:700}.sessionMeta{display:grid;gap:6px;width:min(100%,520px);margin:26px 0 24px;padding:14px;text-align:left;background:#f8f9fb;border:1px solid #e5e8ee;border-radius:8px}.sessionMeta span{color:#777f8b;font-size:12px;font-weight:800}.sessionMeta strong{color:#252a33;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:13px;font-weight:650;overflow-wrap:anywhere}.dialer{width:min(100%,520px);align-items:flex-end}.dialField{flex:1;margin-bottom:0;text-align:left}.callControls{justify-content:center;flex-wrap:wrap;margin-top:18px}.quickActions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;width:min(100%,520px);margin-bottom:6px}.incomingControls{margin-top:0}.timeline{display:grid;grid-template-columns:repeat(5,1fr);padding:16px}.timelineItem{display:flex;align-items:center;justify-content:center;gap:8px;color:#6d7582;font-size:12px;font-weight:750}.stepDot{width:10px;height:10px;background:#c9ced8;border-radius:50%}.stepDot.active{background:#f58235;box-shadow:0 0 0 4px #f5823524}.checklist{display:grid;gap:12px;padding:0;margin:0;list-style:none}.checklist li{display:grid;grid-template-columns:18px 1fr;gap:10px;align-items:start;color:#4c5460;font-size:13px;line-height:1.45}.checklist svg{color:#13a263;margin-top:1px}.docLinks{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.docLinks a{display:inline-flex;align-items:center;min-height:32px;padding:0 10px;color:#2f3540;background:#f6f7f9;border:1px solid #e1e5ec;border-radius:7px;font-size:12px;font-weight:750;text-decoration:none}.crmSection{display:grid;gap:12px;padding:14px 0;border-top:1px solid #e7eaf0}.detailPanel .crmPopupOnly{display:none}.transcriptSection{flex:1;min-height:0;padding-top:0;border-top:0}.sectionTitle{display:flex;align-items:center;justify-content:space-between;gap:10px}.sectionTitle h3{color:#252a33;font-size:14px;font-weight:800}.sectionTitle span,.sectionTitle svg{color:#767f8d;font-size:12px;font-weight:800}.crmForm,.reviewBox{display:grid;gap:2px}.emptyText{color:#747c89;font-size:12px;line-height:1.45}.recentList{display:grid;gap:8px}.recentItem{display:grid;gap:3px;padding:9px 10px;background:#f8f9fb;border:1px solid #e6e9ef;border-radius:7px}.recentItem strong{color:#39404b;font-size:12px}.recentItem span{color:#66707d;font-size:12px;line-height:1.4}.transcriptPanel{display:grid;gap:5px;max-height:min(58vh,640px);overflow:auto;padding-right:4px}.transcriptTurn{display:grid;grid-template-columns:auto 1fr;column-gap:8px;row-gap:2px;padding:7px 9px;background:#f8f9fb;border-left:3px solid #aeb6c3;border-radius:7px}.transcriptTurn time{color:#7a838f;font-size:11px;font-weight:750}.transcriptTurn strong{color:#252a33;font-size:12px;text-transform:capitalize}.transcriptTurn p{grid-column:1 / -1;color:#343b46;font-size:12px;line-height:1.3}.speaker-customer{background:#fff7ed;border-left-color:#f58235}.speaker-customer strong{color:#9a3412}.speaker-customer p{color:#3f2a1b}.speaker-bot{background:#eefbf3;border-left-color:#13a263}.speaker-bot strong{color:#087443}.speaker-bot p{color:#1f3d2c}.speaker-human{background:#eff6ff;border-left-color:#2563eb}.speaker-human strong{color:#1d4ed8}.speaker-system{background:#f4f4f5;border-left-color:#71717a}.speaker-system strong{color:#52525b}.suggestionBox{display:grid;gap:8px;padding:10px;background:#f8f9fb;border:1px solid #e1e5ec;border-radius:7px}.suggestionBox strong,.suggestionBox label,.suggestionBox p{color:#404650;font-size:12px;line-height:1.4}.suggestionBox label{display:flex;align-items:flex-start;gap:8px}.suggestionBox input{width:15px;min-height:15px;margin-top:1px}.eventLog{padding-top:18px;border-top:1px solid #e7eaf0}.eventLogHeader{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.eventLogHeader h3{font-size:14px;font-weight:800}.eventLogHeader span{color:#767f8d;font-size:12px;font-weight:800}.eventList{display:grid;gap:10px;max-height:310px;overflow:auto;padding-right:4px}.eventItem{padding:10px 11px;text-align:left;background:#f8f9fb;border-left:3px solid #cbd1da;border-radius:7px}.eventItem time{display:block;margin-bottom:4px;color:#7a838f;font-size:11px;font-weight:750}.eventItem p{color:#343b46;font-size:12px;line-height:1.45}.event-success{border-left-color:#13a263}.event-warning{border-left-color:#f59e0b}.event-error{border-left-color:#d92d3a}.modalBackdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:center;padding:20px;background:#181c2375}.modalPanel{display:grid;grid-template-rows:auto minmax(0,1fr);width:min(100%,920px);max-height:min(88vh,820px);overflow:hidden;background:#fff;border:1px solid #dfe3ea;border-radius:8px;box-shadow:0 26px 70px #1118273d}.settingsModal{width:min(100%,780px)}.modalHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:18px 20px;border-bottom:1px solid #e7eaf0}.modalHeader h2{color:#252a33;font-size:18px;font-weight:800}.modalHeader p{margin-top:4px;color:#697280;font-size:13px;line-height:1.4}.modalBody{min-height:0;overflow:auto;padding:18px 20px 20px}.modalGrid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:start}.settingsGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.modalBlock{display:grid;gap:12px;min-width:0}.fullSpan{grid-column:1 / -1}@media(max-width:1180px){.layoutGrid{grid-template-columns:320px 1fr}.detailPanel{grid-column:1 / -1}}@media(max-width:760px){.appShell{padding:14px}.topbar,.layoutGrid,.buttonRow,.rememberRow,.dialer{display:grid;grid-template-columns:1fr}.statusChip{justify-self:start}.layoutGrid{gap:14px}.callSurface{min-height:460px;padding:24px 16px}.modalBackdrop{padding:10px}.modalPanel{max-height:92vh}.modalGrid,.settingsGrid{grid-template-columns:1fr}.timeline{grid-template-columns:1fr;gap:12px}.timelineItem{justify-content:flex-start}}
