:root{color-scheme:light;font:16px/1.48 system-ui,sans-serif;color:#17233e;background:#f4f6fa;--ink:#17233e;--muted:#56647c;--line:#dce3ef;--brand:#2849c5;--soft:#e9efff}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}[hidden]{display:none!important}
.topbar{height:68px;display:flex;align-items:center;justify-content:space-between;padding:0 max(1rem,calc((100% - 1160px)/2));background:#fff;border-bottom:1px solid var(--line);gap:1rem}.brand,.account{display:flex;align-items:center;gap:.8rem}.brand{font-weight:750;letter-spacing:-.02em;white-space:nowrap}.account span{color:var(--muted);font-size:.84rem}.mark{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:var(--brand);color:#fff;font-size:1.16rem}
main{max-width:1200px;margin:0 auto;padding:2.5rem 1.25rem 5rem}.card,dialog{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 3px 12px #1b305009}.page-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.4rem}h1,h2,h3,p{margin:0}h1{font-size:clamp(1.65rem,4vw,2.5rem);letter-spacing:-.045em;line-height:1.15}h2{font-size:1.12rem;letter-spacing:-.02em}h3{font-size:.88rem}.page-head p,.last-call p,#invite p{color:var(--muted);margin-top:.55rem}
button,input,select{border-radius:9px;min-height:42px}button{padding:.55rem .85rem;border:1px solid transparent;font-weight:650;white-space:nowrap}.primary{background:var(--brand);color:#fff}.primary:hover:not(:disabled){background:#203ba3}.ghost{background:#fff;color:var(--ink);border-color:var(--line)}.ghost:hover{background:#f3f6fc}.danger{color:#a12635}.danger:hover{background:#fff0f2}input,select{background:#fff;color:var(--ink);border:1px solid #c5d0e2;padding:.56rem .72rem;min-width:0}input:focus,select:focus{outline:2px solid #7291ed;outline-offset:1px}label{font-size:.88rem;font-weight:650}
.signin{max-width:420px;margin:9vh auto 0;padding:2rem}.signin h1{margin:1rem 0 1.4rem}.signin form,#add{display:grid;gap:.7rem}.signin button{margin-top:.25rem}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin:0 0 1.35rem}.stats div{padding:1rem 1.2rem}.stats dt{font-size:.88rem;font-weight:600;color:var(--muted);display:flex;align-items:center;gap:.42rem}.stats dd{margin:.2rem 0 0;font-size:2rem;font-weight:730;letter-spacing:-.05em}.dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#8392aa}.dot.live{background:#138758}
.table-card{overflow:hidden}.table-tools{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.15rem}.filters{display:flex;gap:.6rem}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:560px;text-align:left}th,td{padding:.8rem 1.15rem;border-top:1px solid var(--line)}th{background:#f7f9fc;color:var(--muted);font-size:.8rem}td{font-size:.91rem}td:first-child{font-weight:650;overflow-wrap:anywhere}td:last-child,th:last-child{text-align:right}.empty{color:var(--muted);padding:2rem 1.15rem;text-align:center;border-top:1px solid var(--line)}
.badge{display:inline-flex;align-items:center;gap:.4rem;background:#e9eef6;color:#455773;border-radius:99px;padding:.29rem .63rem;font-size:.79rem;font-weight:650;white-space:nowrap}.badge:before{content:'';width:.44rem;height:.44rem;border-radius:50%;background:currentColor}.badge.online{background:#dcf5e9;color:#106544}.badge.revoked{background:#fce9ec;color:#a12635}
.operator-layout{display:grid;grid-template-columns:minmax(270px,430px) minmax(220px,340px);gap:1.1rem}.dialer,.device-card{padding:1.4rem}.dialer{display:grid;gap:.85rem}.number-field,.copy-field{display:flex;gap:.5rem}.number-field input,.copy-field input{width:100%}.number-field input{font-size:1.32rem;font-variant-numeric:tabular-nums}.keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:.45rem}.keypad button{background:#f4f7fc;color:var(--ink);font-size:1.24rem;min-height:52px}.keypad button:hover{background:var(--soft)}.call-button{min-height:49px}.device-card{align-self:start}.device-card strong{display:block;margin:.8rem 0 .55rem;overflow-wrap:anywhere}.last-call{border-top:1px solid var(--line);margin-top:1rem;padding-top:1rem}
dialog{width:min(460px,calc(100% - 1.5rem));padding:1.4rem;color:var(--ink)}dialog::backdrop{background:#14244082}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem}#invite{display:grid;gap:.7rem}.notice,#setup-note{margin-top:1rem;color:#8d2535}
@media(max-width:620px){main{padding-top:1.5rem}.page-head,.table-tools{align-items:stretch;flex-direction:column}.page-head button{align-self:flex-start}.filters>*{flex:1;min-width:0}.stats{gap:.5rem}.stats div{padding:.7rem}.stats dt{font-size:.74rem}.stats dd{font-size:1.55rem}.operator-layout{grid-template-columns:1fr}.account span{display:none}.signin{margin-top:3vh}}

[id="desk-list"]{width:100%;resize:vertical;padding:.7rem;font:inherit;border:1px solid var(--line);border-radius:.5rem}
#recordings-title{margin:0}
#recordings-status,#recordings-player{margin:.4rem 1.15rem 1rem}
#recordings-player{max-width:calc(100% - 2.3rem)}
#admin>section.table-card{margin-top:1rem}
