:root{color-scheme:light;--nav:#002a51;--nav-border:#214868;--canvas:#f3f7fa;--ink:#062c4f;--muted:#476077;--line:#dde6ee;--blue:#0b4d79;--red:#ab0634;--red-dark:#870529;--focus:#127aa6;--white:#fff;--sidebar:228px;--radius:9px;font-family:"Avenir Next",Inter,"Segoe UI",system-ui,sans-serif;color:var(--ink);background:var(--canvas);font-synthesis:none}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;min-width:320px;font-size:16px;line-height:1.5}
button,input{font:inherit}
button{cursor:pointer}
button:disabled{cursor:default}
button:focus-visible,input:focus-visible,a:focus-visible{outline:2px solid var(--focus);outline-offset:3px}
[hidden]{display:none!important}
h1,h2,h3,p{margin:0}
svg{display:block}
.icon{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.sprite,.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip{position:fixed;z-index:5;left:16px;top:12px;background:white;padding:10px 14px;transform:translateY(-150%);color:var(--blue)}
.skip:focus{transform:none}
.sidebar{position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;width:var(--sidebar);background:var(--nav);color:#f5f8ff}
.brand{min-height:88px;display:flex;align-items:center;gap:12px;padding:18px 22px;border-bottom:1px solid var(--line);color:var(--nav);background:var(--white)}
.brand-mark{width:40px;height:40px;flex:none}
.brand strong{display:block;font-size:21px;line-height:1.15;letter-spacing:-.035em}
.brand span,.station div span{display:block;color:#bbcedf;font-size:13px;margin-top:2px}.brand span{color:var(--muted)}
.sidebar-inner{padding:25px 14px}
.nav-label{padding-left:10px;margin-bottom:10px;color:#9cafca;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.13em}
.nav{display:grid;gap:5px}
.nav-button{width:100%;display:flex;align-items:center;gap:11px;padding:9px 10px;border:1px solid transparent;border-radius:8px;min-height:44px;text-align:left;color:#c6d4e9;background:none;font-size:14px;font-weight:600;white-space:nowrap}
.nav-button:hover{background:#093c63;color:white}
.nav-button[aria-current]{background:#0b4d79;border-color:#2d678c;color:#fff}
.nav-button[aria-current] .icon{color:#c4e8f9}
.nav-count{margin-left:auto;display:grid;place-items:center;min-width:23px;height:23px;border-radius:6px;background:#285f86;color:#f0f5ff;font-size:12px;font-variant-numeric:tabular-nums}
.station{margin:auto 15px 18px;display:flex;align-items:center;gap:10px;border-top:1px solid var(--nav-border);padding:17px 4px 0;font-size:14px;line-height:1.3}
.station-icon{display:grid;place-items:center;flex:none;width:36px;height:36px;border:1px solid #354b67;background:#203753;border-radius:9px;color:#d4e2ff}
.main-shell{margin-left:var(--sidebar)}
.topbar{min-height:66px;background:var(--white);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:10px 32px;gap:12px;box-shadow:inset 0 3px var(--nav)}
.breadcrumb,.top-actions{display:flex;align-items:center;gap:10px;font-size:14px}
.breadcrumb{color:var(--muted)}
.breadcrumb .icon{width:15px;height:15px;color:#8290a4}
.breadcrumb strong{color:var(--ink);font-weight:650}
.mode{display:inline-flex;gap:6px;align-items:center;border:1px solid #dbe6fd;border-radius:6px;background:#edf3ff;color:#0b4d79;padding:4px 8px;white-space:nowrap;font-size:13px;font-weight:650}
.mode .icon{width:15px;height:15px}
.button{display:inline-flex;justify-content:center;align-items:center;gap:7px;padding:8px 12px;min-height:36px;border-radius:7px;border:1px solid #d4dfef;background:#fff;color:var(--ink);font-size:14px;font-weight:650;line-height:1.25;white-space:nowrap}
.button .icon{width:16px;height:16px}
.button:hover{background:#edf3fe;border-color:#b8caec}
.button-quiet{background:transparent;border-color:transparent;color:#405470}
.button-quiet:hover{background:#edf3fe;border-color:transparent;color:#204baf}
.button-primary{background:var(--red);border-color:var(--red);color:white}
.button-primary:hover{background:var(--red-dark);border-color:var(--red-dark)}
.button:disabled{opacity:.64}
main{max-width:1600px;margin:0 auto;padding:27px 32px 18px}
.page-heading h1{font-size:clamp(30px,3.2vw,40px);line-height:1.13;letter-spacing:-.04em;font-weight:750}.page-heading h1::after{content:"";display:block;width:44px;height:4px;margin-top:8px;background:#1179a4}
.page-heading p{color:var(--muted);margin-top:7px}
.stats{margin:22px 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.stat{display:flex;align-items:center;gap:13px;padding:13px 16px;min-height:80px;background:white;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 2px 4px #172b4d05}
.stat-icon{display:grid;place-items:center;width:43px;height:43px;flex:none;border-radius:10px}
.blue{color:#0b4d79;background:#e4f2f8}
.violet{color:#ab0634;background:#fbeaf0}
.amber{color:#835400;background:#fff2d9}
.stat-label{display:block;color:var(--muted);font-size:14px;font-weight:600}
.stat strong{font-size:25px;line-height:1.2;font-variant-numeric:tabular-nums;letter-spacing:-.035em}
.desk-grid{display:grid;grid-template-columns:minmax(0,1.58fr) minmax(320px,1fr);gap:17px;align-items:start}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 3px 8px #172b4d08;overflow:hidden;min-width:0}
.card-head{display:flex;justify-content:space-between;align-items:center;gap:9px;min-height:60px;padding:10px 16px;border-bottom:1px solid var(--line)}
h2{font-size:17px;font-weight:720;letter-spacing:-.015em}
table{width:100%;border-collapse:collapse;text-align:left}
thead{background:#f7f9fc}
th{font-size:12px;text-transform:uppercase;letter-spacing:.075em;color:#53657b;padding:10px 9px;font-weight:720;white-space:nowrap}
th:first-child,td:first-child{padding-left:16px}
th:last-child,td:last-child{padding-right:16px}
.action-heading{text-align:right}
.table-zone{font-size:11px;color:#63748b;margin-left:2px}
td{padding:4px 9px;border-top:1px solid #e8edf5}
td:last-child{text-align:right}
tr.selected td{background:#eef6fb}
tr.selected td:first-child{box-shadow:inset 3px 0 #0d749d}
tbody tr:not(.selected):hover td{background:#fafcff}
.caller{display:flex;align-items:center;gap:8px;min-height:49px;border:0;padding:0;background:none;color:var(--ink);text-align:left;white-space:nowrap;font-size:14px;font-weight:720;font-variant-numeric:tabular-nums}
.caller:hover{color:var(--blue);text-decoration:underline}
.caller-icon{display:grid;place-items:center;flex:none;width:29px;height:29px;border-radius:7px;background:#edf1f7;color:#536780}
.caller-icon .icon{width:15px;height:15px}
.selected .caller-icon{background:#dceef6;color:#0b4d79}
.timestamp{white-space:nowrap;color:#53657c;font-size:13px;font-variant-numeric:tabular-nums}
.row-action{min-height:32px;padding:5px 8px}
.status{display:inline-flex;align-items:center;gap:5px;max-width:100%;border-radius:6px;padding:4px 7px;color:#4b5e73;background:#edf1f6;font-size:13px;font-weight:700;line-height:1.25}
.status .icon{width:14px;height:14px}
.status.ended{background:#fbeaf0;color:#9a1a3c}
.status.warning{background:#fff1d7;color:#795000}
.status.active{background:#e4f2f8;color:#0b4d79}
.status.connected{background:#e6f5ec;color:#1a6947}
.table-foot{min-height:40px;padding:9px 16px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}
.empty-cell{padding:26px 16px!important;text-align:left!important;color:var(--muted)}
.detail-id{color:var(--muted);font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}
.detail-main{padding:14px 16px 15px}
.detail-person{display:flex;align-items:center;gap:10px;margin-bottom:13px}
.detail-person-icon{display:grid;place-items:center;flex:none;width:41px;height:41px;border-radius:9px;background:#e7f3f8;color:#0b4d79}
.detail-person strong{display:block;font-size:clamp(18px,1.7vw,23px);letter-spacing:-.028em;line-height:1.2;font-variant-numeric:tabular-nums}
.detail-person small{color:var(--muted);font-size:13px}
.detail-status{background:#f7f9fd;border:1px solid var(--line);border-radius:9px;padding:11px 11px 10px}
.detail-status-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.detail-status h3{font-size:14px;font-weight:720}
.detail-status p{color:#4d6079;margin-top:7px;font-size:14px;line-height:1.4}
.detail-status-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.detail-status-actions .button{flex:auto}
.timeline{border-top:1px solid var(--line);padding:11px 16px 12px}
.timeline h3{display:flex;align-items:center;gap:6px;color:#3e526c;font-size:14px;font-weight:730}
.timeline h3 .icon{width:16px;height:16px}
.timeline ul{margin:6px 0 0;padding:0;list-style:none;max-height:162px;overflow:auto}
.timeline li{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;column-gap:7px;padding:5px 2px 5px 15px;font-size:13px;line-height:1.35;color:#304663}
.timeline li::before{content:"";position:absolute;left:3px;top:0;bottom:0;width:1px;background:#d7e2f2}
.timeline li::after{content:"";position:absolute;left:0;top:10px;width:7px;height:7px;border:1px solid #a8bbd6;border-radius:50%;background:#f3f7fe}
.timeline li:first-child::before{top:12px}
.timeline li:last-child::before{bottom:calc(100% - 12px)}
.timeline li:first-child::after{background:#0d749d;border-color:#0d749d}
.timeline time{color:#596b82;font-variant-numeric:tabular-nums;white-space:nowrap}
.simulator{border-top:1px solid var(--line);padding:13px 16px 15px;background:#f1f5fc}
.simulator h3{font-size:14px;margin-bottom:6px}
.simulator p{font-size:14px;color:#4d6079;margin-bottom:9px}
.sim-actions{display:flex;flex-wrap:wrap;gap:6px}
.sim-actions .button{flex:1 1 auto}
.guide{margin-top:19px;padding:13px 16px 15px}
.guide-heading{display:flex;align-items:center;gap:9px}
.guide-icon{display:grid;place-items:center;width:31px;height:31px;background:#e4f2f8;border-radius:7px;color:#0b4d79}
.guide-icon .icon{width:17px;height:17px}
.prompt-button{margin-left:auto;padding:6px 8px;min-height:32px}
.prompt{margin:8px 0 12px;color:#435775;font-size:14px;line-height:1.45}
.guide-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 15px;border-top:1px solid var(--line);padding-top:12px}
.guide-actions>div{display:flex;align-items:flex-start;gap:8px}
.guide-actions strong,.guide-actions small{display:block}
.guide-actions strong{font-size:14px;font-weight:720}
.guide-actions small{color:var(--muted);font-size:13px;line-height:1.35}
.key{display:grid;place-items:center;width:30px;height:29px;flex:none;border:1px solid #d3e0f8;border-radius:6px;background:#e4f2f8;color:#0b4d79;font-size:14px;font-weight:750}
.key-neutral{background:#f1f4f9;border-color:#dfe6f0;color:#526881}
.key .icon{width:16px;height:16px}
.demo-note{display:flex;align-items:center;gap:6px;margin-top:13px;color:#5a6d86;font-size:13px}
.demo-note .icon{width:15px;height:15px}
.toast{position:fixed;z-index:3;right:20px;bottom:20px;display:flex;gap:8px;align-items:center;max-width:calc(100% - 40px);padding:11px 14px;border-radius:9px;background:#142a46;color:white;box-shadow:0 5px 18px #12243e36;font-size:14px}
.toast .icon{width:16px;height:16px}
@media(max-width:1190px){:root{--sidebar:195px}.topbar{padding-inline:23px}main{padding-inline:23px}.desk-grid{grid-template-columns:minmax(0,1.55fr) minmax(285px,1fr);gap:12px}.caller-icon{display:none}th,td{padding-inline:6px}th:first-child,td:first-child{padding-left:11px}th:last-child,td:last-child{padding-right:11px}.row-action{gap:4px}}
@media(max-width:980px){:root{--sidebar:174px}.brand{padding-inline:14px}.brand strong{font-size:19px}.sidebar-inner{padding-inline:9px}.topbar,main{padding-inline:17px}.desk-grid{grid-template-columns:minmax(0,1fr)}.caller-icon{display:grid}.stats{gap:9px}.stat{padding:10px 9px}.stat-icon{width:33px;height:33px}.detail-card{scroll-margin-top:12px}}
@media(max-width:700px){.sidebar{position:static;width:auto}.brand{min-height:58px;padding:9px 14px}.brand-mark{width:34px;height:34px}.brand span{display:inline;margin-left:7px}.brand strong{display:inline}.sidebar-inner{padding:7px 9px}.nav-label,.station{display:none}.nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}.nav-button{justify-content:center;gap:5px;padding:5px 2px;min-height:38px;font-size:13px}.nav-button .icon{width:15px;height:15px}.nav-count{margin:0;min-width:17px;height:19px}.main-shell{margin-left:0}.topbar{min-height:52px;padding-inline:12px}.breadcrumb{gap:4px}.top-actions{gap:1px}main{padding:15px 12px}.stats{margin:15px 0}.guide-actions{grid-template-columns:1fr}}
@media(max-width:460px){.topbar{justify-content:flex-end}.breadcrumb{display:none}.reset{padding-inline:7px}.stats{gap:5px}.stat{gap:4px;min-height:70px;align-items:flex-start;flex-direction:column;padding:7px}.stat-icon{width:23px;height:23px;border-radius:5px}.stat-icon .icon{width:15px;height:15px}.stat-label{font-size:12px;line-height:1.1}.stat strong{font-size:19px}.caller-icon,.status .icon,.row-action .icon,.table-zone{display:none}.status{padding:3px 4px;font-size:11px}.caller,.row-action{font-size:12px}.timestamp{font-size:11px}.row-action{padding:4px;min-height:29px}.card-head{padding-inline:11px}.guide{padding-inline:11px}.guide h2{font-size:15px}.prompt-button{font-size:12px;gap:4px}}

