:root{--bg:#121110;--surface:#1c1b19;--surface-2:#272522;--border:#3a3631;--text:#f6f3ef;--muted:#9a948b;--accent:#d85a30;--accent-text:#ec7a52;--accent-soft:#d85a302e;--on-accent:#fff;--call-glow:#2a1d17;--green:#22c55e;--green-press:#16a34a;--red:#ef4444;--red-press:#dc2626;--good:#34d399;--ok:#fbbf24;--bad:#f87171;--radius:14px;--tabbar-h:64px;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:root[data-theme=light]{--bg:#faf8f5;--surface:#fff;--surface-2:#efeae3;--border:#ddd6cd;--text:#1d1d1b;--muted:#6b655d;--accent:#d85a30;--accent-text:#b8461f;--accent-soft:#d85a301f;--call-glow:#f6e6dc;--good:#15803d;--ok:#b45309;--bad:#c62828;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{background:var(--bg);height:100%;color:var(--text);overscroll-behavior:none;margin:0;font:16px/1.45 -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}#app{height:100%}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:default}[hidden]{display:none!important}h1,h2{margin:0 0 12px}h2{font-size:22px}h3{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:14px 0 8px;font-size:13px}h3:first-child{margin-top:0}p{margin:0 0 8px}ul{margin:0 0 8px;padding-left:20px}li{margin-bottom:6px}.muted{color:var(--muted)}.small{font-size:13px}.mono{font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace}.error{color:var(--bad);margin:0}.center{place-items:center;height:100%;display:grid}.center-text{text-align:center}.center-col{text-align:center;flex-direction:column;align-items:center;gap:12px;padding:28px 16px;display:flex}.good{color:var(--good)}.ok{color:var(--ok)}.bad{color:var(--bad)}.btn{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-2);min-height:52px;padding:0 20px;font-weight:600}.btn:disabled{opacity:.45}.btn:active:not(:disabled){filter:brightness(1.15)}.btn.primary{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.btn.danger{color:var(--bad)}.btn.wide{width:100%}.back{color:var(--accent-text);background:0 0;border:0;margin-bottom:6px;padding:8px 0;font-size:17px;font-weight:600}.login{flex-direction:column;gap:14px;max-width:360px;margin:0 auto;padding:18vh 16px 0;display:flex}.login input{border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);min-height:52px;padding:0 14px;font-size:17px}.shell,.incall{flex-direction:column;height:100%;display:flex}.content{-webkit-overflow-scrolling:touch;padding:calc(16px + env(safe-area-inset-top)) 16px 20px;flex:1;overflow-y:auto}.content.no-pad{padding:0;display:flex}.tabbar{border-top:1px solid var(--border);background:var(--surface);padding-bottom:env(safe-area-inset-bottom);flex-shrink:0;display:flex}.tabbar button{height:var(--tabbar-h);color:var(--muted);background:0 0;border:0;flex:1;font-size:15px;font-weight:600}.tabbar button.active{color:var(--text);box-shadow:inset 0 2px 0 var(--accent)}.bottom-action{padding:12px 16px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--border);background:var(--surface)}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);margin-bottom:12px;padding:16px}.pill{background:var(--surface-2);border:1px solid var(--border);color:var(--text);white-space:nowrap;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:600;display:inline-block}.pill.good{color:var(--good)}.pill.ok{color:var(--ok)}.pill.bad{color:var(--bad)}.pill.vm{color:var(--ok);margin-left:8px;padding:1px 7px}.spinner{border:3px solid var(--border);border-top-color:var(--accent);border-radius:50%;width:28px;height:28px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.dialer{flex-direction:column;min-height:100%;display:flex}.lead.placeholder{flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:260px;display:flex}.lead-head{justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:14px;display:flex}.lead-biz{font-size:20px;font-weight:700;line-height:1.25}.lead-contact{border-top:1px solid var(--border);border-bottom:1px solid var(--border);margin-bottom:12px;padding:12px 0}.lead-name{font-size:18px;font-weight:600}.lead-phone{color:var(--accent-text);margin-top:4px;font-size:17px}.lead-grid,.kv{grid-template-columns:88px 1fr;gap:8px 12px;margin:0;font-size:15px;display:grid}.lead-grid dt,.kv dt{color:var(--muted);padding-top:2px;font-size:13px}.lead-grid dd,.kv dd{overflow-wrap:anywhere;margin:0}.kv{grid-template-columns:110px 1fr;margin-bottom:8px}.dialer-actions{justify-content:space-between;align-items:center;gap:16px;margin-top:auto;padding-top:16px;display:flex}.dialer-actions .btn{flex:1}.call-btn{background:var(--green);color:#fff;border:0;border-radius:50%;flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;gap:0;width:84px;height:84px;font-size:13px;font-weight:700;display:flex}.call-btn:active:not(:disabled){background:var(--green-press)}.call-btn:disabled{opacity:.4}.call-screen{padding:calc(40px + env(safe-area-inset-top)) 24px 32px;background:radial-gradient(ellipse at top, var(--call-glow) 0%, var(--bg) 70%);text-align:center;flex-direction:column;flex:1;justify-content:space-between;align-items:center;gap:16px;display:flex}.call-top{flex-direction:column;align-items:center;gap:6px;display:flex}.avatar{background:var(--surface-2);border:1px solid var(--border);border-radius:50%;place-items:center;width:96px;height:96px;margin-bottom:10px;font-size:34px;font-weight:600;transition:box-shadow .15s;display:grid}.avatar.talking{box-shadow:0 0 0 4px var(--accent), 0 0 0 10px var(--accent-soft)}.call-name{font-size:28px;font-weight:600}.call-status{color:var(--muted);font-variant-numeric:tabular-nums;min-height:26px;margin-top:8px;font-size:18px}.rec-dot{color:var(--bad);font-size:14px;font-weight:600}.rec-dot:before{content:"";background:var(--bad);border-radius:50%;width:8px;height:8px;margin-right:6px;animation:1s infinite blink;display:inline-block}@keyframes blink{50%{opacity:.2}}.speaking{gap:10px;margin-top:14px;display:flex}.speaking span{border:1px solid var(--border);color:var(--muted);border-radius:999px;padding:5px 12px;font-size:13px;font-weight:600}.speaking span.on{color:var(--text);border-color:var(--accent);background:var(--accent-soft)}.call-controls{justify-content:space-between;align-items:center;width:100%;max-width:320px;display:flex}.round{border:0;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;gap:2px;width:76px;height:76px;display:flex}.round.spacer{visibility:hidden}.round.mute{background:var(--surface-2);font-size:11px;font-weight:600}.round.mute.on{background:var(--text);color:var(--bg)}.round.hangup{background:var(--red);color:#fff;width:84px;height:84px}.round.hangup:active:not(:disabled){background:var(--red-press)}.round.hangup:disabled{opacity:.4}.notes{resize:none;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);outline:none;width:100%;height:100%;min-height:60vh;padding:14px;font-size:17px;line-height:1.5}.notes:focus{border-color:var(--accent)}.score-head{align-items:center;gap:18px;display:flex}.score-big{font-variant-numeric:tabular-nums;font-size:56px;font-weight:800;line-height:1}.score-big .letter{color:var(--text);margin-left:8px;font-size:22px;font-weight:700}.score-meta{flex-direction:column;align-items:flex-start;gap:6px;display:flex}.cat{margin-bottom:14px}.cat:last-child{margin-bottom:0}.cat-row{justify-content:space-between;margin-bottom:5px;font-size:15px;font-weight:600;display:flex}.bar{background:var(--surface-2);border-radius:3px;height:6px;margin-bottom:5px;overflow:hidden}.bar .fill{background:currentColor;border-radius:3px;height:100%}blockquote{background:var(--surface-2);border-radius:10px;margin:0 0 10px;padding:10px 12px}blockquote.said{color:var(--muted);border-left:3px solid var(--bad)}blockquote.better{border-left:3px solid var(--good)}details.section summary{cursor:pointer;font-weight:600;list-style:none}details.section summary::-webkit-details-marker{display:none}details.section summary:after{content:"+";float:right;color:var(--muted)}details.section[open] summary:after{content:"−"}details.section[open] summary{margin-bottom:12px}.notes-view{white-space:pre-wrap;font:inherit;margin:0}.transcript{flex-direction:column;gap:10px;display:flex}.line{grid-template-columns:40px 1fr;gap:0 8px;font-size:15px;display:grid}.line .t{color:var(--muted);grid-row:span 2;padding-top:2px;font-size:12px}.line .who{color:var(--muted);font-size:12px;font-weight:700}.line.rep .who{color:var(--accent-text)}.stats{grid-template-columns:repeat(6,1fr);gap:8px;margin-bottom:12px;display:grid}.stat{grid-column:span 2}.stat:nth-child(n+4){grid-column:span 3}.stat{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:10px}.stat-v{font-variant-numeric:tabular-nums;font-size:22px;font-weight:700}.stat-l{color:var(--muted);font-size:12px}.chart svg{touch-action:pan-y;width:100%;height:auto;display:block}.chart .grid{stroke:var(--border);stroke-width:1px}.chart .axis{fill:var(--muted);font-size:10px}.chart .line{fill:none;stroke:var(--accent);stroke-width:2px;stroke-linejoin:round;stroke-linecap:round}.chart .crosshair{stroke:var(--muted);stroke-width:1px;stroke-dasharray:3 3}.chart .dot{fill:var(--accent);stroke:var(--surface);stroke-width:2px}.chart-readout{min-height:20px;margin-top:6px}.chart-empty{margin:0}.call-list{margin:0 0 12px;padding:0;list-style:none}.call-list li{margin:0 0 8px}.call-list button{text-align:left;background:var(--surface);border:1px solid var(--border);border-radius:12px;align-items:center;gap:12px;width:100%;padding:12px 14px;display:flex}.cl-main{flex:1;min-width:0}.cl-biz{white-space:nowrap;text-overflow:ellipsis;font-weight:600;overflow:hidden}.cl-score{font-variant-numeric:tabular-nums;text-align:right;min-width:44px;font-size:24px;font-weight:700}.outcome{margin-top:2px;font-weight:600}.history-actions{gap:8px;display:flex}.history-actions .btn{flex:1;padding:0 8px}.slider{margin-bottom:14px;display:block}.slider-row{justify-content:space-between;margin-bottom:4px;font-size:15px;display:flex}.slider input[type=range]{width:100%;height:32px;accent-color:var(--accent);margin:0}.settings-actions{gap:8px;display:flex}.settings-actions .btn{flex:1}.setting-row{justify-content:space-between;align-items:center;gap:12px;font-size:15px;display:flex}.toggle{background:var(--surface-2);border:1px solid var(--border);border-radius:10px;padding:3px;display:flex}.toggle button{min-width:72px;min-height:40px;color:var(--muted);background:0 0;border:0;border-radius:8px;font-weight:600}.toggle button.on{background:var(--accent);color:var(--on-accent)}.ch-group+.ch-group{margin-top:10px}.ch-group-title{color:var(--muted);text-transform:uppercase;letter-spacing:.05em;margin:6px 0 2px;font-size:12px;font-weight:700}.ch-row{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:8px;min-height:48px;display:flex}.ch-group:last-child .ch-row:last-child{border-bottom:0}.ch-check{flex:1;align-items:center;gap:10px;min-width:0;min-height:44px;font-size:14.5px;display:flex}.ch-check input{width:22px;height:22px;accent-color:var(--accent);flex-shrink:0;margin:0}.ch-row.off .ch-check span{color:var(--muted);text-decoration:line-through}.stepper{flex-shrink:0;align-items:center;display:flex}.stepper button{border:1px solid var(--border);background:var(--surface-2);width:32px;height:36px;color:var(--accent-text);border-radius:9px;font-size:12px}.stepper button:disabled{color:var(--muted);opacity:.4}.stepper-val{text-align:center;white-space:nowrap;width:90px;font-size:11.5px;font-weight:600;line-height:1.2}.ch-row.off .stepper-val{color:var(--muted)}.ask-grade{justify-content:center}.ask-grade .card{width:100%;max-width:360px;margin:24px 0 0}.ask-grade .card p{margin:0}.ask-title{font-size:20px;font-weight:700}.usage h3{margin:0 0 10px}.usage-row{justify-content:space-between;align-items:baseline;gap:12px;font-size:15px;display:flex}.usage-row+.usage-row{margin-top:6px}.usage-val{font-variant-numeric:tabular-nums;font-weight:700}.usage-block+.usage-block{border-top:1px solid var(--border);margin-top:14px;padding-top:14px}.usage-label{color:var(--muted);text-transform:uppercase;letter-spacing:.05em;margin-bottom:6px;font-size:12px;font-weight:700}.meter{background:var(--surface-2);border:1px solid var(--border);border-radius:999px;height:8px;margin:8px 0 6px;overflow:hidden}.meter>div{background:var(--accent);height:100%}.usage p{margin:6px 0 0}.bottom-action.row{gap:8px;display:flex}.bottom-action.row .btn{flex:1}.bottom-action.row .btn.primary{flex:2}
