:root{--brand:#407da8;--brand-2:#6aa6d2;--brand-ink:#2f6690;--brand-soft:#e8f1f8;--word:#4a8ab8;--bg:#f3f6fa;--surface:#fff;--surface-2:#f7f9fc;--ink:#0f1e2e;--muted:#5d6c7d;--line:#e3e9f0;--line-strong:#d6dae1;--green:#16a34a;--green-soft:#e3f6ea;--red:#e5484d;--red-soft:#fdecec;--amber:#c27a0e;--amber-soft:#fdf3e1;--radius:16px;--radius-sm:10px;--shadow:0 1px 2px #0f1e2e0a, 0 4px 16px #0f1e2e0f;--shadow-lg:0 20px 60px #0f1e2e40;--sidebar:248px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root{--brand:#5b9bc9;--brand-2:#7db5dd;--brand-ink:#a9cfeb;--brand-soft:#16304a;--word:#7db5dd;--bg:#0b1320;--surface:#111c2b;--surface-2:#15233a;--ink:#e8eef5;--muted:#93a3b5;--line:#1f2d40;--line-strong:#2a3b52;--green:#22c55e;--green-soft:#12301f;--red:#f2555a;--red-soft:#3a1a1c;--amber:#e5a33a;--amber-soft:#3a2a10;--shadow:0 1px 2px #0000004d, 0 4px 16px #00000040;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;font:15px/1.5 Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:default}input,select,textarea{background:var(--surface);border:1px solid var(--line-strong);border-radius:var(--radius-sm);outline:none;padding:9px 12px;transition:border-color .15s,box-shadow .15s}input:focus,select:focus,textarea:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}:focus-visible{outline:2px solid var(--brand);outline-offset:2px}h1,h2,h3{letter-spacing:-.01em}h2{margin:0;font-size:17px;font-weight:650}h3{margin:0;font-size:15px;font-weight:650}hr{border:0;border-top:1px solid var(--line);margin:16px 0}.icon{flex:none;display:block}.center{place-items:center;min-height:100vh;padding:16px;display:grid}.center-text{text-align:center}.muted{color:var(--muted)}.small{font-size:13px}.tiny{font-size:12px}.mono{word-break:break-all;font-family:ui-monospace,SFMono-Regular,monospace}.error{color:var(--red)}.warntext{color:var(--amber)}.brand{color:var(--word);white-space:nowrap;align-items:center;gap:10px;font-family:Georgia,Times New Roman,serif;font-size:21px;display:inline-flex}.brand img{border-radius:9px;flex:none;display:block}.signin{justify-items:center;gap:18px;display:grid}.signin-logo{width:180px;height:auto;box-shadow:var(--shadow);border-radius:18px;display:block}.shell{grid-template-columns:var(--sidebar) 1fr;min-height:100vh;display:grid}.sidebar{background:var(--surface);border-right:1px solid var(--line);flex-direction:column;gap:18px;height:100vh;padding:20px 14px;display:flex;position:sticky;top:0}.sidebar .brand{padding:2px 8px 6px}.sidenav{flex-direction:column;flex:auto;gap:2px;min-height:0;display:flex;overflow-y:auto}.navitem{width:100%;color:var(--muted);text-align:left;background:0 0;border:0;border-radius:12px;align-items:center;gap:12px;padding:10px 12px;font-weight:550;transition:background .15s,color .15s;display:flex}.navitem:hover{background:var(--surface-2);color:var(--ink)}.navitem.active{background:var(--brand-soft);color:var(--brand-ink)}.navitem .badge{margin-left:auto}.badge{background:var(--red);color:#fff;border-radius:99px;place-items:center;min-width:20px;height:20px;padding:0 6px;font-size:11px;font-weight:700;display:inline-grid}.sidefoot{flex:none;gap:12px;display:grid}.me{border-radius:12px;align-items:center;gap:10px;padding:8px;display:flex}.me-text{min-width:0}.me-name{white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-weight:600;overflow:hidden}.presence{border:1px solid var(--line);background:var(--surface-2);cursor:pointer;border-radius:12px;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;font-size:13px;font-weight:600;display:flex}.presence-text{white-space:nowrap;align-items:center;gap:8px;display:inline-flex}.presence .dot{background:var(--muted);border-radius:50%;width:9px;height:9px}.presence.ready .dot{background:var(--green);box-shadow:0 0 0 4px var(--green-soft)}.presence.connecting .dot{background:var(--amber)}.presence.error .dot{background:var(--red)}.switch{background:var(--line-strong);border-radius:99px;flex:none;width:40px;height:24px;transition:background .2s;position:relative}.switch input{opacity:0;cursor:pointer;margin:0;position:absolute;inset:0}.switch .knob{pointer-events:none;background:#fff;border-radius:50%;width:18px;height:18px;transition:transform .2s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #00000040}.switch.on{background:var(--green)}.switch.on .knob{transform:translate(16px)}.main{flex-direction:column;min-width:0;display:flex}.mobilebar{display:none}.pagehead{padding:26px 32px 0}.pagehead h1{margin:0;font-size:26px;font-weight:700}.content{width:100%;max-width:1180px;padding:20px 32px 40px}.stack{gap:16px;display:grid}.narrowcol{max-width:640px}.tabbar{display:none}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px;overflow-x:auto}.card.narrow{max-width:560px}.cardhead{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.subcard{border-top:1px solid var(--line);gap:12px;margin-top:18px;padding-top:18px;display:grid}.alert{background:var(--red-soft);color:var(--red);border-radius:12px;margin:14px 32px 0;padding:10px 14px;font-weight:500}.alert.info{background:var(--brand-soft);color:var(--brand-ink);margin:0}.btn{background:var(--brand);color:#fff;border:0;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:10px 18px;font-weight:600;transition:filter .15s,transform 50ms,background .15s;display:inline-flex}.btn:hover{filter:brightness(1.06)}.btn:active{transform:translateY(1px)}.btn:disabled{opacity:.5;filter:none}.btn.secondary{background:var(--surface-2);color:var(--ink);border:1px solid var(--line)}.btn.secondary:hover{background:var(--brand-soft)}.btn.secondary.on{outline:2px solid var(--brand)}.btn.call{background:var(--green)}.btn.danger{background:var(--red)}.btn.small{border-radius:10px;padding:6px 12px;font-size:13px}.linkbtn{color:var(--brand);background:0 0;border:0;padding:4px;font-size:13px;font-weight:600}.iconbtn{border:1px solid var(--line);background:var(--surface-2);width:38px;height:38px;color:var(--brand);border-radius:50%;place-items:center;transition:background .15s;display:inline-grid}.iconbtn:hover{background:var(--brand-soft)}.iconbtn.ghost{color:var(--muted);background:0 0;border:0;width:56px;height:56px}.iconbtn.ghost:hover{color:var(--ink);background:var(--surface-2)}.iconbtn:disabled{opacity:.35}.roundbtn{color:#fff;border:0;border-radius:50%;place-items:center;width:68px;height:68px;transition:transform .1s,filter .15s,box-shadow .2s;display:inline-grid}.roundbtn:hover{filter:brightness(1.07)}.roundbtn:active{transform:scale(.95)}.roundbtn.call{background:var(--green);box-shadow:0 8px 22px #16a34a59}.roundbtn.hangup{background:var(--red);box-shadow:0 8px 22px #e5484d59}.roundbtn:disabled{opacity:.45;box-shadow:none;filter:none}.phone-layout{grid-template-columns:minmax(320px,400px) minmax(0,1fr);align-items:start;gap:20px;display:grid}.dialer{gap:18px;padding:26px 24px;display:grid;overflow:visible}.display{text-align:center}.numinput{text-align:center;letter-spacing:.02em;width:100%;box-shadow:none;background:0 0;border:0;padding:6px 4px;font-size:32px;font-weight:600}.numinput:focus{box-shadow:none}.numinput::placeholder{color:var(--muted);opacity:.7;font-size:22px;font-weight:500}.callerid{color:var(--muted);background:var(--surface-2);border:1px solid var(--line);border-radius:99px;align-items:center;gap:6px;padding:4px 10px;font-size:12.5px;display:inline-flex}.keypad{grid-template-columns:repeat(3,76px);justify-content:center;gap:14px 22px;display:grid}.key{border:1px solid var(--line);background:var(--surface-2);border-radius:50%;place-content:center;justify-items:center;width:76px;height:76px;line-height:1;transition:background .12s,transform 60ms;display:grid}.key span{font-size:28px;font-weight:500}.key small{letter-spacing:.16em;color:var(--muted);min-height:10px;margin-top:4px;font-size:10px;font-weight:600}.key:hover{background:var(--brand-soft)}.key:active{background:var(--brand-soft);transform:scale(.94)}.keypad.compact{grid-template-columns:repeat(3,62px);gap:10px 18px}.keypad.compact .key{width:62px;height:62px}.keypad.compact .key span{font-size:22px}.callrow{justify-content:center;align-items:center;gap:10px;display:flex}.callrow.left{flex-wrap:wrap;justify-content:flex-start}.callrow.three{grid-template-columns:76px 76px 76px;justify-content:center;justify-items:center;gap:22px;display:grid}.ringsfor{color:var(--muted);text-align:center;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;font-size:12.5px;display:flex}.incall{text-align:center;justify-items:center;gap:8px;padding-top:6px;display:grid}.avatar{color:#fff;background:linear-gradient(145deg, var(--brand-2), var(--brand));border-radius:50%;place-items:center;width:84px;height:84px;display:grid;box-shadow:0 10px 30px #407da859}.avatar.live{background:linear-gradient(145deg, #34d399, var(--green));box-shadow:0 10px 30px #16a34a4d}.avatar.ringing{animation:1.6s ease-in-out infinite ring}.chip{background:var(--brand-soft);color:var(--brand-ink);border:0;border-radius:99px;align-items:center;gap:6px;padding:5px 12px;font-size:12.5px;font-weight:600;display:inline-flex}button.chip{cursor:pointer;background:var(--surface-2);color:var(--muted);border:1px solid var(--line)}.chip.on,button.chip.on{background:var(--brand);color:#fff;border-color:var(--brand)}.chip input{display:none}label.chip{cursor:pointer;background:var(--surface-2);color:var(--ink);border:1px solid var(--line)}.bignum{letter-spacing:.01em;font-size:28px;font-weight:650}.timer{font-variant-numeric:tabular-nums;color:var(--green);font-size:17px;font-weight:600}.timer.muted{color:var(--muted);font-weight:500}.dtmf{letter-spacing:.2em;color:var(--muted);min-height:22px;font-family:ui-monospace,monospace}.controls{justify-content:center;gap:22px;display:flex}.ctl{color:var(--muted);background:0 0;border:0;justify-items:center;gap:6px;font-size:12.5px;font-weight:600;display:grid}.ctlicon{background:var(--surface-2);border:1px solid var(--line);width:60px;height:60px;color:var(--ink);border-radius:50%;place-items:center;transition:background .15s,color .15s;display:grid}.ctl:hover .ctlicon{background:var(--brand-soft)}.ctl.on .ctlicon{background:var(--brand);color:#fff;border-color:var(--brand)}.ctl:disabled{opacity:.4}.today{align-content:start;display:grid}.minis{grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:14px;display:grid}.mini{background:var(--surface-2);border:1px solid var(--line);color:var(--brand);border-radius:14px;grid-template-rows:auto auto;grid-template-columns:auto 1fr;align-items:center;column-gap:10px;padding:12px 14px;display:grid}.mini .icon{grid-row:span 2}.mini b{color:var(--ink);font-size:22px;line-height:1.1}.mini span{color:var(--muted);font-size:12px}.mini.warn{color:var(--red);background:var(--red-soft);border-color:#0000}.calllist{margin:0;padding:0;list-style:none;display:grid}.calllist li{border-top:1px solid var(--line);align-items:center;gap:12px;padding:10px 4px;display:flex}.calllist li:first-child{border-top:0}.calllist .empty{color:var(--muted);justify-content:center;padding:26px 0;font-size:14px}.dir{border-radius:50%;flex:none;place-items:center;width:34px;height:34px;display:grid}.dir.in{background:var(--green-soft);color:var(--green)}.dir.out{background:var(--brand-soft);color:var(--brand)}.dir.missed{background:var(--red-soft);color:var(--red)}.who{flex:1;min-width:0}.who .num{font-weight:600}.incoming-overlay{z-index:50;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#0812208c;place-items:center;padding:16px;animation:.2s ease-out fade;display:grid;position:fixed;inset:0}.incoming-card{background:var(--surface);text-align:center;width:min(380px,100%);box-shadow:var(--shadow-lg);border-radius:28px;justify-items:center;gap:10px;padding:30px 24px 28px;animation:.25s ease-out pop;display:grid}.pulse{place-items:center;width:150px;height:150px;margin:6px 0;display:grid;position:relative}.pulse>span{border:2px solid var(--brand-2);border-radius:50%;animation:2s ease-out infinite ripple;position:absolute;inset:0}.pulse>span:nth-child(2){animation-delay:1s}.pulse .avatar{width:96px;height:96px}.answerrow{justify-content:center;gap:64px;margin-top:14px;display:flex}.answeropt{color:var(--muted);justify-items:center;gap:8px;font-size:13px;font-weight:600;display:grid}.wiggle{animation:1.2s ease-in-out infinite wiggle}@keyframes ripple{0%{opacity:.9;transform:scale(.62)}to{opacity:0;transform:scale(1.15)}}@keyframes ring{0%,to{transform:rotate(0)}10%,30%{transform:rotate(-8deg)}20%,40%{transform:rotate(8deg)}50%{transform:rotate(0)}}@keyframes wiggle{0%,60%,to{transform:rotate(0)}70%{transform:rotate(-12deg)}80%{transform:rotate(12deg)}90%{transform:rotate(-6deg)}}@keyframes fade{0%{opacity:0}}@keyframes slideup{0%{opacity:0;transform:translateY(30px)}}@keyframes pop{0%{opacity:0;transform:scale(.94)}}table.list{border-collapse:collapse;width:100%;font-size:14px}.list th,.list td{text-align:left;border-bottom:1px solid var(--line);vertical-align:middle;padding:11px 10px}.list tbody tr:hover td{background:var(--surface-2)}.list tbody tr:last-child td{border-bottom:0}.list th{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;background:var(--surface-2);font-size:11.5px;font-weight:600}.list th:first-child{border-top-left-radius:10px}.list th:last-child{border-top-right-radius:10px}.list tr.dim td{opacity:.5}.list.compact td,.list.compact th{padding:8px 10px}.list select{padding:6px 8px;font-size:13px}.arrow{color:var(--muted)}.pill{background:var(--surface-2);border:1px solid var(--line);white-space:nowrap;border-radius:99px;margin-right:4px;padding:3px 10px;font-size:12px;font-weight:600;display:inline-block}.pill.red{background:var(--red-soft);color:var(--red);border-color:#0000}.pill.green{background:var(--green-soft);color:var(--green);border-color:#0000}.pill.hs{color:#c2410c;background:#fff1ea;border-color:#0000}@media (prefers-color-scheme:dark){.pill.hs{color:#fb923c;background:#3a2216}}.vmlist{gap:12px;margin:0;padding:0;list-style:none;display:grid}.vmlist li{border:1px solid var(--line);background:var(--surface);border-radius:14px;gap:10px;padding:14px 16px;display:grid}.vmlist li.unheard{border-left:4px solid var(--brand);background:linear-gradient(90deg, var(--brand-soft), var(--surface) 40%)}.vmhead{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.vmhead strong{font-size:16px}.vmhead .btn{margin-left:auto}audio{width:100%;height:40px}.stats{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin:4px 0 18px;display:grid}.stat{border:1px solid var(--line);background:var(--surface-2);border-radius:14px;padding:14px 16px}.stat.warn{background:var(--red-soft);border-color:#0000}.stat.warn .statvalue{color:var(--red)}.statvalue{font-variant-numeric:tabular-nums;font-size:28px;font-weight:700;line-height:1.2}.field{gap:6px;margin:8px 0;display:grid}.field>span{color:var(--muted);font-size:13px;font-weight:500}.check{align-items:center;gap:8px;margin:8px 0;display:flex}.formrow{flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px;display:flex}.formrow input{flex:160px}.formrow.tight{margin-top:0}.grid2{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:0 14px;display:grid}.chips{flex-wrap:wrap;gap:6px;display:flex}.transfer{border:1px solid var(--line);background:var(--surface-2);border-radius:14px;gap:10px;padding:14px;display:grid}.transfer .callrow{flex-wrap:wrap}.transfer .callrow .btn{flex:100px;min-width:0}.appsection{gap:20px;display:grid}.hero{background:linear-gradient(120deg, var(--brand-soft), var(--surface) 60%);grid-template-columns:auto 1fr auto;align-items:center;gap:20px;display:grid}.hero img{box-shadow:var(--shadow);border-radius:18px}.hero h2{margin-bottom:4px;font-size:20px}.hero p{max-width:560px;margin:0}.appgrid{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));align-items:start;gap:20px;display:grid}.segmented{background:var(--surface-2);border:1px solid var(--line);border-radius:12px;flex-wrap:wrap;gap:4px;margin-bottom:16px;padding:4px;display:inline-flex}.segmented button{color:var(--muted);background:0 0;border:0;border-radius:9px;padding:7px 14px;font-size:13.5px;font-weight:600;position:relative}.segmented button.on{background:var(--surface);color:var(--ink);box-shadow:var(--shadow)}.dotmark{background:var(--green);border-radius:50%;width:6px;height:6px;position:absolute;top:5px;right:5px}.steplist{gap:12px;margin:0 0 16px;padding:0;list-style:none;display:grid}.steplist li{align-items:flex-start;gap:12px;display:flex}.stepnum{background:var(--brand-soft);width:26px;height:26px;color:var(--brand-ink);border-radius:50%;flex:none;place-items:center;font-size:13px;font-weight:700;display:grid}.subhead{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:20px 0 8px;font-size:12px;font-weight:700}.devlist{margin:0;padding:0;list-style:none;display:grid}.devlist li{border-top:1px solid var(--line);align-items:center;gap:12px;padding:8px 0;display:flex}.devlist li:first-child{border-top:0}.nudge{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:14px;align-items:center;gap:12px;margin-bottom:18px;padding:10px 12px 10px 14px;display:flex}.nudge-text{flex:1;font-size:14px}.iconbtn.ghost.small{width:32px;height:32px}@media (width<=900px){.shell{grid-template-columns:1fr}.sidebar{display:none}.mobilebar{z-index:20;padding:max(10px, env(safe-area-inset-top)) 16px 10px;background:color-mix(in srgb, var(--surface) 88%, transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);align-items:center;gap:10px;display:flex;position:sticky;top:0}.mobilebar .brand{margin-right:auto;font-size:18px}.mobilebar .presence{padding:6px 10px}.mobilebar .presence-text{font-size:12px}.pagehead{padding:16px 16px 0}.pagehead h1{font-size:22px}.content{padding:14px 16px calc(96px + env(safe-area-inset-bottom))}.alert{margin:12px 16px 0}.phone-layout{grid-template-columns:1fr}.hero{grid-template-columns:auto 1fr}.hero>:last-child{grid-column:1/-1;justify-self:start}.nudge .muted{display:none}.tabbar{z-index:30;padding:6px 6px calc(6px + env(safe-area-inset-bottom));background:color-mix(in srgb, var(--surface) 92%, transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid var(--line);grid-auto-columns:1fr;grid-auto-flow:column;display:grid;position:fixed;bottom:0;left:0;right:0}.tabitem{color:var(--muted);background:0 0;border:0;border-radius:12px;justify-items:center;gap:3px;padding:6px 2px;font-size:11px;font-weight:600;display:grid}.tabitem.active{color:var(--brand)}.tabicon{position:relative}.tabicon .badge{min-width:17px;height:17px;font-size:10px;position:absolute;top:-6px;right:-10px}.sheet-backdrop{z-index:40;background:#08122066;align-items:flex-end;animation:.15s ease-out fade;display:flex;position:fixed;inset:0}.sheet{background:var(--surface);width:100%;padding:12px 12px calc(84px + env(safe-area-inset-bottom));border-radius:22px 22px 0 0;gap:2px;animation:.2s ease-out slideup;display:grid}.card{padding:16px}.dialer{box-shadow:none;background:0 0;border:0;padding:20px 14px}.list th:nth-child(3),.list td:nth-child(3){display:none}}@media (width<=380px){.keypad{grid-template-columns:repeat(3,68px);gap:12px 18px}.key{width:68px;height:68px}.callrow.three{grid-template-columns:68px 68px 68px;gap:18px}}
