/* CSAUTO v2. One blue ladder, a quiet open canvas and a composed device reading.
   1440 = 224 sidebar + 32*2 canvas gutters + 1152 content.
   Summary: 1.5fr + 1fr + 1fr; all modules share the list's outside edges.
   No real telemetry is added: the meter and both totals use filteredDevices(). */
:root{
 --ground:#f5f7fa;--surface:#fff;--raised:#f6f8fb;--active:#e8edf4;
 --border:#e2e7ee;--rule:#edf0f4;--control:#cbd3df;
 --text:#1a2b43;--muted:#5d6c80;--faint:#69798d;
 --accent:#2764d4;--accent-soft:#eef4ff;--accent-track:#d7e5fc;--accent-ink:#244c85;
 --positive:#276c4b;--positive-bg:#eef6f0;
}
body{background:var(--ground);color:var(--text)}
.app-shell{grid-template-columns:224px minmax(0,1fr);grid-template-rows:64px minmax(calc(100vh - 64px),auto)}
.sidebar{width:224px;padding:28px 18px 18px;background:var(--ground);border-right:1px solid #e1e7ee}
.brand{padding:0 8px;gap:10px;font-size:23px;letter-spacing:-.9px;color:#1b3354}
.brand-mark{width:33px;height:37px;stroke:var(--accent);stroke-width:2.5}
.brand-caption{font-size:11px;color:var(--muted);font-weight:450;letter-spacing:-.1px;margin-top:5px}
.workspace-switch{margin:30px 6px 28px;padding:0 2px 19px;border:0;border-bottom:1px solid #dfe6ee;border-radius:0;gap:14px;background:transparent}
.workspace-switch small{font-size:11px;color:var(--muted);margin:0 0 6px;display:block}
.workspace-switch strong{display:block;font-size:14px;letter-spacing:-.1px;color:#2b405e}
.workspace-lock{margin-left:auto;color:#71829a}
.workspace-lock .icon{width:17px;height:17px}
.nav-group-title{font-size:11px;padding:0 13px;margin-bottom:10px;color:#66778d;font-weight:500}
.nav-link{min-height:44px;padding:11px 12px;margin:5px 0;border-radius:8px;gap:12px;color:#52647b;font-size:13px;font-weight:500;transition:background .15s,color .15s}
.nav-link .icon{width:17px;height:17px;stroke-width:1.6;color:#6c7e94}
.nav-link:hover{background:#edf1f6;color:#1c3557}
.nav-link.active{background:#e5ecf5;color:#1c3a62;font-weight:650}
.nav-link.active .icon{color:var(--accent)}
.nav-link .nav-count{background:#fff;color:#344e71;border:0}
.sidebar-bottom{padding:0 6px}
.help-button{font-size:12px;color:#5d6e84;gap:9px}
.connection-note{font-size:11px;color:#617187;margin:19px 0 21px;gap:7px}
.account-row{padding:18px 0 0;border-color:#dfe6ee;gap:9px}
.account-row strong{font-size:12px;color:#31445f}
.account-row small{font-size:11px;margin-top:4px;color:#5f7086}
.account-row .avatar{width:30px;height:30px;font-size:12px}
.account-row .icon-button{color:#60728a}
.avatar{background:#e8eff7;color:#365c87}
.avatar.alt{background:#f0ebf4;color:#6b507e}
.topbar{padding:0 32px;gap:24px;background:var(--ground);border-bottom:1px solid #e4e9f0}
.breadcrumb{font-size:12px;color:#68788e}
.breadcrumb strong{font-weight:550;color:#2a3f5d}
.breadcrumb>span{color:#a8b3c3;margin:0 12px}
.global-search{background:#fff;border:1px solid #dfe6ee;border-radius:8px;color:#61728a;width:266px;min-height:34px;font-size:12px}
.global-search:hover{border-color:#aabedb;background:#fff}
.global-search kbd{font-size:11px;color:#61728a;border-color:#dce3ed;background:#f7f9fc}
.demo-badge{color:#53677f;font-size:11px}
.demo-badge .neutral-dot{background:#7a91ad}
.main-sheet{margin:0;background:transparent;border:0;border-radius:0;padding:30px 32px 22px}
.page-header{margin-bottom:25px;align-items:center;gap:20px}
.page-header h1{font-size:28px;letter-spacing:-1.05px;font-weight:700;color:#182d4a;line-height:1.25}
.page-sub{margin-top:9px;color:#62738a;font-size:13px;line-height:1.65}
.header-actions{gap:8px;flex-shrink:0}
.button{min-height:36px;padding:7px 12px;border-radius:7px;border-color:#d7dfe9;color:#344b6b;background:#fff;font-size:13px;font-weight:500;box-shadow:none;transition:border-color .15s,background .15s}
.button:hover{background:#f5f8fd;border-color:#b2c3db}
.button.primary{background:#233c60;border-color:#233c60;color:#fff}
.button.primary:hover{background:#182f51;border-color:#182f51}
.button.ghost{background:transparent;border-color:transparent}
.button.small{font-size:12px;min-height:32px;padding:6px 10px}
.button:focus-visible,.icon-button:focus-visible,.nav-link:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #3170db;outline-offset:3px}
.icon-button{color:#687c97;border-radius:6px}
.icon-button:hover{background:#eaf0f9;color:#234f94}
.overview-composition{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr);gap:16px;margin-bottom:24px}
.fleet-summary,.workspace-summary,.simulation-summary{min-width:0;border-radius:10px;padding:19px 21px 17px;border:1px solid #e2e8f1;background:#fff}
.fleet-summary{background:#eef4fe;border-color:#e0eafb}
.summary-caption{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;color:#3b5373;font-weight:550}
.summary-caption>span{font-size:11px;font-weight:400;color:#5b7293;white-space:nowrap}
.fleet-reading{display:flex;align-items:center;gap:17px;margin:8px 0 13px}
.fleet-number{font-size:38px;line-height:1.1;letter-spacing:-1.8px;color:#244d8a;font-weight:500;white-space:nowrap}
.fleet-number>span{font-size:14px;letter-spacing:0;margin-left:5px;color:#526d94}
.fleet-explanation{font-size:13px;line-height:1.65;font-weight:550;color:#294a78}
.fleet-explanation>span{display:block;font-size:11px;color:#5a7295;font-weight:400}
.fleet-evidence{display:grid;grid-template-columns:minmax(50px,1fr) auto;align-items:center;gap:16px}
.fleet-distribution{display:block;width:100%;height:5px;border:0;border-radius:3px;overflow:hidden;background:#d7e3f5;appearance:none}
.fleet-distribution::-webkit-meter-bar{height:5px;border:0;border-radius:3px;background:#d7e3f5}
.fleet-distribution::-webkit-meter-optimum-value{background:#3a73ce;border-radius:3px}
.fleet-distribution::-moz-meter-bar{background:#3a73ce}
.fleet-key{display:flex;gap:13px;color:#4f6585;font-size:11px;white-space:nowrap}
.fleet-key>span{display:flex;align-items:center;gap:5px}
.fleet-key b{font-weight:550;color:#294b7a}
.fleet-key i{height:5px;width:5px;border-radius:50%;display:inline-block;background:#3a73ce}
.fleet-key .offline-key{background:#c3d1e4}
.workspace-person{display:flex;align-items:center;gap:10px;margin:14px 0 13px}
.workspace-person .avatar{height:33px;width:33px}
.workspace-person strong{font-size:14px;display:block;font-weight:600}
.workspace-person .mono{font-size:11px;color:#63758e;display:block;margin-top:3px}
.summary-meta{font-size:11px;line-height:1.55;color:#63758c}
.simulation-reading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:15px 0 14px}
.simulation-number{font-size:29px;line-height:1.15;font-weight:450;letter-spacing:-.7px}
.simulation-number small{font-size:12px;font-weight:400;color:#697990;margin-left:5px}
.simulation-reading .button{min-height:30px;font-size:11px;padding:5px 8px;border-color:#dce4ef}
.simulation-reading .button .icon{width:13px;height:13px}
.list-workbench{background:#fff;border:1px solid #e2e7ef;border-radius:11px;padding:21px 23px 0;min-width:0}
.section-heading{margin-bottom:16px;gap:12px}
.section-heading h2{font-size:16px;letter-spacing:-.4px;font-weight:650;color:#273e5c}
.count{color:#64758d;font-size:12px}
.freshness{font-size:11px;color:#63768f;gap:5px}
.freshness .icon{height:14px;width:14px}
.list-tabs{margin-bottom:16px;gap:25px;border-color:#e5eaf1}
.list-tab{color:#697991;font-size:13px;padding:0 0 13px;font-weight:450}
.list-tab span{font-size:12px;color:#7787a0;margin-left:7px}
.list-tab.active{color:#234f8c;border-bottom-color:#3473d6;font-weight:600}
.list-tab.active span{color:#2a5b9f}
.filter-bar{margin-bottom:15px;gap:12px}
.filter-left{gap:10px}
.filter-right{gap:10px}
.search-field{border-radius:7px;border-color:#dde4ee;background:#fff;min-width:0}
.search-field:focus-within{border-color:#81a7e3;outline:2px solid #d6e5fc;outline-offset:1px}
.search-field .icon{color:#7b8da5;width:15px;height:15px}
.search-field input{height:35px;font-size:12px;color:#334c70}
.search-field input::placeholder{color:#687d98;opacity:1}
select{background-color:#fff;border-color:#dce3ed;border-radius:6px;min-height:34px;height:34px;font-size:12px;color:#3d536f}
.filter-count{font-size:11px;color:#62758e}
.data-table th{font-size:11px;color:#62768f;font-weight:500;padding-top:8px;padding-bottom:13px}
.data-table td{padding-top:16px;padding-bottom:16px;color:#344a66;border-color:#edf1f6;font-size:13px}
.data-table tbody tr:hover{background:#f8faff}
.device-id{color:#263e61;font-weight:600;font-size:12px;letter-spacing:-.4px}
.device-model{font-size:12px;color:#526a8b;margin-top:5px;line-height:1.55}
.device-phone{font-size:11px;color:#697c96;margin-top:3px}
.device-outline{border-color:#bbccdf;background:#fafcff;width:23px;height:41px;border-radius:5px}
.device-outline:before,.device-outline:after{background:#bccbdd}
.device-identity{gap:10px}
.owner-cell b{font-size:13px;color:#334d70;font-weight:550}
.cell-sub{font-size:11px;color:#708098;margin-top:4px}
.owner-cell .avatar{height:27px;width:27px;font-size:11px}
.status{font-size:11px;padding:3px 7px;line-height:1.5;border-radius:4px;font-weight:500}
.status.online{background:#edf6f0;color:#2b6f4c}
.status.offline,.status.expired,.status.ended{background:#f0f3f7;color:#60728b}
.memo-text{font-size:12px;color:#617590;line-height:1.65}
.memo-cell .icon-button{color:#768aa6}
.row-actions .button{color:#2c5c9a;border-color:#d8e3f2;background:#f8fbff;min-height:30px;font-size:11px;padding:5px 10px}
.row-actions .button:hover{background:#eaf2ff;border-color:#9ab9e5}
.row-actions{gap:5px}
.battery{color:#526b8c;font-size:12px}
.battery-shape{border-color:#a9bfd9}
.list-bottom{padding:15px 0 17px;border-color:#eaf0f7;color:#6b7c92;font-size:11px;gap:10px}
.bottom-grid{margin-top:20px;gap:20px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch}
.panel{background:#fff;border-color:#e2e7ef;border-radius:10px;padding:19px 22px;display:flex;flex-direction:column}
.panel .section-heading h2{font-size:14px;font-weight:600}
.panel .section-heading .text-button{font-size:11px;color:#637b9c}
.panel .section-heading{margin-bottom:12px}
.empty-live{padding:10px 0 18px;gap:12px;flex:1}
.empty-live>.icon{width:22px;height:22px;color:#8a9fba}
.empty-live strong{font-size:13px;color:#3b5273;font-weight:500}
.empty-live p{font-size:11px;color:#6d7f98;margin-top:5px}
.panel-foot{margin-top:auto;padding-top:13px;border-color:#e9eef5}
.quiet-note,.panel-foot .quiet-note{font-size:11px;color:#667c98}
.activity-mini{margin:0}
.activity-mini li{padding:11px 0;gap:10px;border-color:#edf1f7}
.activity-mini li:first-child{padding-top:4px}
.activity-mini li:last-child{padding-bottom:0}
.activity-mini strong{font-size:12px;color:#4a6283;font-weight:450}
.activity-mini small,.activity-mini time{font-size:11px;color:#6a7e99}
.activity-mark{background:#96abc9;border:0;width:4px;height:4px;margin-top:7px}
.page-footer{padding:21px 1px 0;font-size:11px;color:#647894;line-height:1.7}
.page-footer .footer-version{color:#647894}
.notice{border-radius:8px;font-size:12px;color:#796438;border-color:#ede5d2;background:#fffdf7}
.notice.neutral{background:#eef3fa;border-color:#e3eaf4;color:#50698c}
.main-sheet:not([data-screen=devices])>.table-wrap{background:#fff;border:1px solid #e2e7ef;border-radius:10px;padding:12px 20px 5px}
.main-sheet:not([data-screen=devices])>.table-wrap .data-table td{padding-top:17px;padding-bottom:17px}
.operator-summary{margin-bottom:23px;border-color:#dfe7f0;gap:30px;padding-bottom:20px}
.operator-summary b{font-size:25px;color:#2c4e7e;font-weight:450}
.operator-summary span{font-size:12px;color:#5b7291}
.operator-summary .summary-item{border-color:#dbe4f0;padding-right:30px}
.role,.audit-tag{font-size:11px;background:#eef2f8;color:#566f91}
.favorite-chip{background:#fff;border-color:#dbe6f5;color:#3c608e;font-size:12px}
.favorite-chip:hover{background:#eaf2ff}
.favorites-strip{margin-bottom:24px}
.star-button.selected{color:#986f24}
.download-grid{gap:20px}
.download-card{background:#fff;border-color:#e0e7f1;border-radius:10px;padding:23px}
.download-art{background:#f1f5fc;border-radius:7px;height:90px}
.download-art .icon{stroke:#6889b6;width:32px;height:32px}
.download-card h2{color:#284c7c;font-size:16px}
.download-card p{font-size:13px;color:#607592}
.download-meta{font-size:11px;color:#657b9a}
.empty-state{border:1px dashed #d5dfec;background:#fff;border-radius:10px;padding:36px 20px;color:#667c9a}
.empty-state strong{color:#3f5e87;font-size:14px}
.empty-state .icon{color:#849fbe}
.dialog,.drawer{color:#2b4263}
.dialog-head h2,.drawer .dialog-head h2{color:#1d385d}
.dialog-head,.dialog-foot{border-color:#e6edf6}
.settings-nav{background:#f5f7fb;border-color:#e3eaf4}
.settings-nav button{color:#5b7292;min-height:40px}
.settings-nav button.active{color:#285c9f;background:#e4edf9;font-weight:600}
.drawer-notice{background:#fffdf7;color:#7c683f;border-color:#eee8d9}
.field input,.field select,.field textarea{border-color:#d5dfed;color:#355172;border-radius:7px}
.field label{color:#435d7f;font-size:12px}
.drawer .dialog-foot,.dialog-foot{background:#fafbfe}
.sim-stage{background:#eef4fc;border-color:#e0eafa}
.login-brand-side{background:#edf3fc}
.login-story h2{color:#234b82}
.login-story p,.login-brand-foot{color:#526c92}
.login-card h1{color:#203d65}
.login-demo{background:#f5f8fe;border-color:#e0e8f5}
.login-demo code{color:#315a91}
@media(min-width:1600px){.main-sheet{padding:36px 44px 26px}.topbar{padding:0 44px}}
@media(max-width:1250px){.main-sheet{padding:27px 24px 22px}.topbar{padding:0 24px}.overview-composition{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) minmax(0,1.1fr);gap:12px}.fleet-summary,.workspace-summary,.simulation-summary{padding:17px 17px 15px}.summary-caption{font-size:12px}.summary-caption>span{font-size:11px}.fleet-evidence{grid-template-columns:1fr;gap:8px}.fleet-reading{margin-bottom:11px}.workspace-person{margin-top:17px;margin-bottom:15px}.fleet-key{gap:16px}.list-workbench{padding-left:18px;padding-right:18px}.device-id{font-size:11px}.memo-text{font-size:11px}.section-heading h2{font-size:16px}}
@media(max-width:1100px){.app-shell{grid-template-columns:minmax(0,1fr);grid-template-rows:58px minmax(calc(100vh - 58px),auto)}.sidebar{width:250px;background:var(--ground);padding-top:29px}.topbar{padding:0 24px}.main-sheet{margin:0;padding:26px 24px 22px}.overview-composition{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) minmax(0,1.1fr)}.nav-link{min-height:44px}}
@media(min-width:701px) and (max-width:950px){.overview-composition{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}.workspace-summary{display:none}.fleet-evidence{grid-template-columns:minmax(60px,1fr) auto;gap:12px}.simulation-summary{display:flex;flex-direction:column}.simulation-reading{flex:1;margin:13px 0}.list-workbench{padding:21px 22px 0}.device-table tr{padding:18px 0;row-gap:12px}.device-table td.memo-col{background:#f6f9fd;border-radius:6px}.memo-cell{background:transparent}.bottom-grid{gap:16px}.panel{padding:19px}}
@media(max-width:700px){
 .app-shell{grid-template-rows:54px minmax(calc(100vh - 54px),auto)}
 .topbar{height:54px;padding:0 16px;gap:8px}.breadcrumb{font-size:11px}.breadcrumb>span{margin:0 6px}.demo-badge{font-size:11px}.main-sheet{padding:23px 16px 21px}
 .page-header{margin-bottom:20px;gap:12px;align-items:flex-start}.page-header h1{font-size:24px;letter-spacing:-.8px}.page-sub{font-size:12px;max-width:260px;margin-top:8px}.header-actions .button{min-height:34px;font-size:12px}
 .overview-composition{display:block;margin-bottom:18px}.workspace-summary,.simulation-summary{display:none}.fleet-summary{padding:15px 17px 14px;border-radius:9px;display:grid;grid-template-columns:110px minmax(0,1fr);gap:7px 12px;align-items:center}
 .summary-caption{grid-column:1/3;font-size:12px}.summary-caption>span{font-size:11px}.fleet-reading{gap:0;margin:2px 0 0}.fleet-number{font-size:34px;letter-spacing:-1.2px}.fleet-number>span{font-size:12px}.fleet-explanation{display:none}.fleet-evidence{display:flex;flex-direction:column;gap:9px;align-items:stretch}.fleet-distribution{height:5px}.fleet-key{font-size:11px;justify-content:space-between;gap:7px}
 .list-workbench{padding:18px 15px 0;border-radius:10px}.section-heading{margin-bottom:17px;gap:7px}.section-heading h2{font-size:15px}.count{font-size:11px}.freshness{font-size:11px}.freshness .icon{display:none}
 .list-tabs{gap:23px;margin-bottom:14px}.list-tab{font-size:12px;padding-bottom:12px}.list-tab span{font-size:11px;margin-left:6px}
 .filter-bar{gap:8px;margin-bottom:13px}.search-field input{height:36px;font-size:12px}.filter-right{gap:6px}.filter-right select{font-size:11px;min-height:33px;height:33px;max-width:43%}.filter-count{font-size:11px}.filter-right .filter-count{margin-left:auto}
 .device-table tr{padding:17px 0 14px;row-gap:10px;column-gap:14px;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}.device-outline{width:19px;height:34px;border-radius:4px}.device-identity{gap:7px}.device-id{font-size:11px;letter-spacing:-.65px}.device-model{font-size:11px;line-height:1.65;margin-top:5px}.device-phone{font-size:11px}.owner-cell{gap:7px}.owner-cell b{font-size:12px}.owner-cell .avatar{height:25px;width:25px}.cell-sub{font-size:11px}.device-table td.os-col{font-size:11px;gap:5px}.device-table td.os-col .small{font-size:12px}.status{font-size:11px}.battery{font-size:12px}.battery:before{font-size:11px}.memo-cell{padding:8px 10px;background:#f4f7fc;border-radius:5px}.memo-text{font-size:12px}.row-actions .button{min-height:34px;padding:6px 14px;font-size:12px}.row-actions .icon-button{height:34px;width:34px}
 .list-bottom{font-size:11px;flex-wrap:wrap;gap:5px;padding:13px 0 16px}.list-bottom>span:last-child{font-size:11px}
 .bottom-grid{display:grid;grid-template-columns:1fr;margin-top:17px;gap:15px}.panel{padding:18px}.panel .section-heading h2{font-size:14px}.activity-mini strong{font-size:12px}.panel .section-heading .text-button{font-size:11px}.empty-live{padding-top:7px}.empty-live p,.quiet-note,.panel-foot .quiet-note{font-size:11px}.page-footer{font-size:11px;gap:3px;padding-top:18px}.page-footer>span:first-child{max-width:320px}
 .main-sheet:not([data-screen=devices])>.table-wrap{padding:9px 12px 3px}.main-sheet:not([data-screen=devices])>.table-wrap .data-table td{padding-top:17px;padding-bottom:17px}.notice{font-size:12px;line-height:1.8;padding:12px}.operator-summary{gap:19px}.operator-summary .summary-item{padding-right:19px}.operator-summary span{font-size:12px}.operator-summary b{font-size:24px}
 .download-grid{gap:14px}.download-card{padding:19px;grid-template-columns:52px minmax(0,1fr)}.download-art{height:65px}.download-art .icon{width:27px;height:27px}.download-card h2{font-size:15px}.download-meta{font-size:11px}
 .settings-nav{background:#f5f7fc}.settings-nav button.active{background:transparent;border-bottom-color:#3a72cb}.settings-nav button{font-size:11px;min-height:44px}.settings-pane{padding:21px 18px}.drawer-notice{font-size:11px}.drawer .dialog-head h2{font-size:16px}
 .login-brand-side{background:transparent}.login-card{background:#fff;border-color:#e0e7f1}.login-card h1{font-size:23px}
}
@media(prefers-reduced-motion:reduce){.nav-link,.button{transition:none}}
/* Reading scale: operational fields at 13px, metadata at 12px, not hairline text. */
.device-model,.memo-text,.search-field input,select,.filter-right select,.filter-count,.list-tab,.section-heading small,.button.small,.activity-mini strong,.empty-live p,.quiet-note,.panel-foot .quiet-note{font-size:13px}
.device-id{font-size:12px}.device-phone,.cell-sub,.data-table th,.status,.fleet-key,.summary-meta,.summary-caption>span,.fleet-explanation>span,.workspace-person .mono,.activity-mini small,.activity-mini time,.freshness,.count,.list-bottom,.page-footer{font-size:12px}
.cell-sub,.device-phone,.activity-mini small,.activity-mini time,.freshness,.list-bottom,.page-footer,.page-footer .footer-version,.summary-meta,.empty-live p,.quiet-note,.panel-foot .quiet-note{color:#5d718e}
.fleet-key,.summary-caption>span,.fleet-explanation>span{color:#536c8e}
.status.offline,.status.expired,.status.ended{color:#526781}
.row-actions .button{font-size:12px}
@media(min-width:951px){
 .main-sheet{padding-top:26px}.page-header{margin-bottom:18px}
 .overview-composition{margin-bottom:18px}.fleet-summary,.workspace-summary,.simulation-summary{padding-top:16px;padding-bottom:14px}
 .fleet-reading{margin-top:7px;margin-bottom:10px}.workspace-person{margin-top:12px;margin-bottom:11px}.simulation-reading{margin-top:12px;margin-bottom:11px}
 .list-workbench{padding-top:18px}.list-workbench .section-heading{margin-bottom:12px}.list-tabs{margin-bottom:12px}.list-tab{padding-bottom:11px}.filter-bar{margin-bottom:10px}.data-table th{padding-bottom:11px}.device-table td{padding-top:14px;padding-bottom:14px}.list-bottom{padding-top:12px;padding-bottom:14px}
}
@media(max-width:700px){.device-table td.os-col .small{font-size:12px}.freshness,.list-bottom,.list-bottom>span:last-child,.filter-count,.fleet-key,.summary-caption>span{font-size:11px}.device-model{font-size:12px}.device-id{font-size:11.5px}.page-footer{font-size:11px}}
.breadcrumb,.nav-group-title,.list-tab,.list-tab span{color:#5b708d}
.panel .section-heading .text-button{color:#4f6b90;font-size:12px}
.memo-text{color:#526c8e}
.device-id,.data-table th{font-size:13px}
@media(max-width:700px){.device-id{font-size:12px}.device-model{font-size:13px}.owner-cell b{font-size:13px}.device-table td.os-col .small{font-size:13px}}
.filter-count,.download-meta,.empty-state{color:#5d718e}
.role{font-size:13px}.cell-sub{font-size:13px}
.audit-table th:last-child,.audit-table td:last-child{text-align:right}
.download-card p{word-break:keep-all;overflow-wrap:anywhere}
/* ===== Login screen ===== */
.login-screen{background:#0e1a2c}
.login-brand-side{background:linear-gradient(155deg,#0c1929 0%,#12294a 52%,#173c6b 100%)}
.login-brand-side .brand{color:#fff}
.login-brand-side .brand-mark{stroke:#6ea8d8}
.login-brand-side .brand-caption{color:#7fa9cf}
.login-story h2{color:#fff;font-size:34px;font-weight:650;letter-spacing:-1.2px}
.login-story p{color:#9fb8d4;font-size:14.5px;line-height:1.85}
.login-brand-foot{color:#6889ac;font-size:12px}
.login-form-side{background:#f4f6f9}
.login-card{width:372px;background:#fff;border:1px solid #e6ebf1;border-radius:16px;padding:38px 34px;box-shadow:0 20px 50px rgba(12,25,41,.10)}
.login-card h1{color:#0e1a2c;font-size:26px;font-weight:680;letter-spacing:-.6px}
.login-card>p{color:#5f6f82;font-size:13.5px;margin-bottom:26px}
.login-card .field{margin:16px 0}
.login-card .field label{color:#40536b;font-weight:600}
.login-card .field input{height:46px;border-radius:9px;border-color:#d5dfec;font-size:14px}
.login-card .field input:focus{border-color:#2f6fb3;box-shadow:0 0 0 3px rgba(47,111,179,.13)}
.login-card .button.primary{height:46px;border-radius:9px;background:#173a63;border-color:#173a63;font-size:14.5px;font-weight:600}
.login-card .button.primary:hover{background:#102c4e;border-color:#102c4e}
.inline-error{color:#c0392b;font-size:12.5px;min-height:18px;margin:2px 0 12px}
.camera-live{width:100%;height:100%;object-fit:cover;background:#000;display:block}
.media-thumb-wrap{display:block;border:1px solid var(--border);border-radius:8px;overflow:hidden}
.media-thumb{width:100%;height:130px;object-fit:cover;display:block}
.device-call-item{border-left:3px solid #16a34a}
.call-live-badge{display:inline-flex;align-items:center;gap:5px;padding:3px 9px;border-radius:999px;background:#dcfce7;color:#166534;font-size:11px;font-weight:600;white-space:nowrap}
.call-live-badge::before{content:'';width:6px;height:6px;border-radius:50%;background:#16a34a;display:inline-block}



/* 최근 활동 제목줄 버튼 그룹 */
.heading-actions{display:flex;align-items:center;gap:12px;margin-left:auto}



'

/* ================= 색상 계층 최적화 (눈 피로 감소) ================= */
:root{
  --ground:#eaeef4;        /* 페이지 배경: 옅은 청회색 */
  --surface:#ffffff;       /* 콘텐츠 시트: 순백 */
  --raised:#f4f7fb;        /* 카드/입력 배경 */
  --border:#dfe6ef;        /* 경계선: 부드러운 회청색 */
  --rule:#eef2f7;          /* 구분선 */
  --text:#1b2430;
  --muted:#64707d;
}
body{background:var(--ground)}

/* 사이드바를 배경과 살짝 구분 */
.sidebar{background:linear-gradient(180deg,#f7f9fc 0%,#f1f5fa 100%);border-right:1px solid var(--border)}

/* 상단바: 반투명 화이트 + 하단 경계 */
.topbar{background:#ffffffcc;backdrop-filter:blur(8px);border-bottom:1px solid var(--border)}

/* 콘텐츠 시트: 순백 유지 + 옅은 그림자로 띄움 */
.main-sheet{box-shadow:0 1px 3px #1b24300a,0 8px 24px #1b243008}

/* 패널: 순백 대신 아주 옅은 회색 + 경계선 (전면 흰색 피로 감소) */
.panel{background:#fafcff;border:1px solid var(--border)}

/* 개요 카드 3종: 높이 1.5배 + 색상 계층 */
.overview-composition{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr);gap:16px;margin-bottom:26px}
.fleet-summary,.workspace-summary,.simulation-summary{
  min-width:0;border-radius:12px;
  padding:28px 31px 26px;          /* 기존 19/21/17 -> 약 1.5배 */
  border:1px solid var(--border);
  background:#f7fafe;
  transition:border-color .15s,box-shadow .15s,transform .15s;
}
.fleet-summary{background:linear-gradient(180deg,#eef5ff 0%,#e8f0fd 100%);border-color:#dde8fb}
.workspace-summary{background:linear-gradient(180deg,#fbfcfe 0%,#f5f8fd 100%)}
.simulation-summary{background:linear-gradient(180deg,#f7fbf8 0%,#eef7f1 100%);border-color:#dcebe2}

/* 실시간 통화 진입 카드 (클릭 가능) */
a.live-summary{display:block;text-decoration:none;color:inherit;cursor:pointer}
a.live-summary:hover{border-color:#9fd3b3;box-shadow:0 6px 20px #13803a14;transform:translateY(-1px)}
.live-summary .summary-caption{color:#1d6b41}
.live-summary .summary-number{color:#137a41}
.live-summary-arrow{margin-left:auto;display:inline-flex;align-items:center;color:#2f8f5b;opacity:.75}
.live-summary-arrow .icon{width:16px;height:16px}

/* 요약 캡션/숫자 대비 강화 */
.summary-caption{font-size:11.5px;letter-spacing:.2px;color:var(--muted)}
.summary-caption span{opacity:.7}
.simulation-reading{display:flex;align-items:center;gap:10px}

/* 표: 행 호버로 시선 추적 편하게 */
.data-table tbody tr{transition:background .12s}
.data-table tbody tr:hover{background:#f6f9fd}

/* 카드형 리스트 호버 */
.call-item{background:#fdfefe;transition:background .12s,border-color .12s}
.call-item:hover{background:#f5f9fd;border-color:#c9d8e6}

/* 탭/필터 경계 시인성 */
.list-tabs{border-bottom-color:var(--border)}
.list-tab:hover{color:var(--text)}

/* 빈 상태 박스 톤 다운 */
.empty-state{border-color:#d8e2ec;background:#fbfdff}

/* 모바일: 개요 카드 패딩도 비례 증가 */
@media(max-width:700px){
  .fleet-summary,.workspace-summary,.simulation-summary{padding-top:24px;padding-bottom:22px}
}
'
'

/* ===== 개요 2열 (실시간 통화 카드 삭제 후) ===== */
.overview-composition{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)!important;gap:18px}

/* ===== 전체 색상 계층 강화 (순백 피로 감소) ===== */
:root{--ground:#e8edf4}
body{background:var(--ground)!important}

/* 사이드바: 배경과 뚜렷이 구분 */
.sidebar{background:linear-gradient(180deg,#f4f7fb 0%,#edf2f9 100%)!important;border-right:1px solid #dbe4ef}
.brand{color:#14283d}
.nav-link{color:#4a5867}
.nav-link:hover{background:#e6edf6;color:#12212f}
.nav-link.active{background:#dfe9f5;color:#0f2740;font-weight:650}

/* 상단바 / 콘텐츠 시트 경계 */
.topbar{background:#ffffff!important;border-bottom:1px solid #e2e9f2}
.main-sheet{background:#ffffff!important;border:1px solid #dfe7f1!important}

/* 패널: 순백 대신 옅은 회청색 */
.panel{background:#f8fafd!important;border:1px solid #dfe7f1!important}

/* 표: 헤더 배경 + 행 구분선 + 호버 */
.data-table th{background:#f5f8fd;border-bottom:1px solid #e2e9f2;padding:10px 12px!important;font-weight:600;color:#54637a}
.data-table td{border-top:1px solid #eef2f8}
.data-table tbody tr:hover{background:#f1f6fd}

/* 탭: 활성 하단선 강조 */
.list-tab.active{border-bottom-color:#2563eb;color:#12365f}
.list-tab:hover{color:#12365f}

/* 버튼: 경계 시인성 */
.button{border-color:#d3dded;background:#fff}
.button:hover:not(:disabled){background:#f1f6fc;border-color:#b7c8dd}
.button.primary{background:#1e3a8a;border-color:#1e3a8a}
.button.primary:hover:not(:disabled){background:#152c6b;border-color:#152c6b}

/* 요약 카드: 색상 계층 */
.fleet-summary{background:linear-gradient(180deg,#eaf2ff 0%,#e2ecfe 100%)!important;border-color:#d6e4fb!important}
.workspace-summary{background:linear-gradient(180deg,#fbfcff 0%,#f3f7fd 100%)!important;border-color:#e0e8f4!important}

/* 상태 배지 색상 강화 */
.status.online{background:#e6f7ec;color:#137a41}
.status.offline{background:#f1f3f6;color:#66707c}
.status.ring{background:#fff5e0;color:#a86a12}

/* 카드형 리스트 */
.call-item{background:#fdfeff;border-color:#e2e9f2}
.call-item:hover{background:#f2f7fd;border-color:#c3d5e8}

/* 빈 상태 */
.empty-state{border-color:#d6e2ee!important;background:#fafcff!important}

/* 발신 설정 버튼(상단) 강조 */
.page-header .button:first-child{border-color:#c9d9ec}
'


/* 위치 지도 */
.loc-map{height:320px;margin:14px 0;border-radius:12px;overflow:hidden;border:1px solid #dfe7f1;background:#eef3fa}
.loc-map .leaflet-container{background:#eef3fa;font:inherit}
.loc-map .leaflet-popup-content{font-size:13px;line-height:1.5}
.map-error{padding:28px;text-align:center;color:#b45309;font-size:13px}
.map-coordinate{font-family:ui-monospace,Consolas,monospace;background:#f4f8fd;border:1px solid #e0e8f2;border-radius:8px;padding:10px 14px;color:#1d4ed8;font-size:14px;letter-spacing:.3px}


/* 홈 하단: 최근 활동 단독 패널 */
.bottom-grid.single{grid-template-columns:1fr!important}
.bottom-grid.single .activity-mini li{padding:12px 0}

/* 디바이스 관리 다이얼로그: 빠른 이동 */
.quick-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 2px}
.quick-tabs-label{width:100%;font-size:11.5px;color:#64707d;margin-bottom:2px}
.quick-tabs .button{flex:0 0 auto}


/* 최근 사용 태그 (발신 설정) */
.recent-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.chip{display:inline-flex;align-items:center;padding:4px 10px;border:1px solid #cfdcec;border-radius:999px;background:#f4f8fd;color:#1d4ed8;font-size:12px;cursor:pointer;transition:.12s;line-height:1.5}
.chip:hover{background:#e3eefc;border-color:#9dbde4}
.chip:active{transform:scale(.97)}


/* 프리셋 삭제 버튼 (빨간 X) */
.chip-wrap{position:relative;display:inline-flex}
.chip-x{position:absolute;top:-7px;right:-7px;width:17px;height:17px;border-radius:50%;background:#dc2626;color:#fff;border:2px solid #fff;font-size:11px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;font-weight:700;transition:.12s}
.chip-x:hover{background:#b91c1c;transform:scale(1.1)}


/* 통화 품질 테스트 */
.quality-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin-top:6px}
.quality-cell{background:#f7fafd;border:1px solid #e0e8f2;border-radius:12px;padding:14px 16px;display:flex;flex-direction:column;gap:4px}
.quality-cell span{font-size:12px;color:#64707d}
.quality-cell strong{font-size:22px;font-variant-numeric:tabular-nums;color:#12365f}
.quality-cell small{font-size:11px;color:#8896a4}


/* 품질 색상: 빠름=녹색 / 보통=노랑 / 느림=빨강 */
.quality-cell strong.q-good{color:#15803d}
.quality-cell strong.q-warn{color:#b45309}
.quality-cell strong.q-bad{color:#b91c1c}
.quality-cell small.q-good{color:#16a34a}
.quality-cell small.q-warn{color:#d97706}
.quality-cell small.q-bad{color:#dc2626}


/* 발신 설정의 전화 걸기 버튼 */
.form-button-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.dial-now{border-color:#9fd3b3!important;background:#f0fdf4!important;color:#166534!important}
.dial-now:hover:not(:disabled){background:#dcfce7!important;border-color:#86efac!important}


/* 웹 발신 통화 다이얼로그 */
.call-dialog{position:fixed;top:24px;right:24px;z-index:90;width:min(320px,calc(100vw - 32px))}
.call-dialog-box{background:#16181d;border:1px solid #2c313a;border-radius:16px;padding:18px;color:#f5f7fa;box-shadow:0 16px 48px rgba(0,0,0,.45)}
.cd-head{display:flex;flex-direction:column;gap:4px;margin-bottom:12px}
.cd-head strong{font-size:16px}
.cd-head small{color:#9aa5b1;font-size:12px}
.cd-pulse{width:10px;height:10px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.18);align-self:flex-start;animation:cdPulse 1.2s infinite}
@keyframes cdPulse{0%,100%{opacity:1}50%{opacity:.45}}
.cd-status{font-size:13px;color:#cbd5e1;margin-bottom:14px}
.cd-actions{display:flex;justify-content:flex-end}
.cd-end{background:#dc2626;color:#fff;border:0;border-radius:10px;padding:9px 22px;font-weight:700;cursor:pointer}
.cd-end:hover{background:#b91c1c}


/* ── 지도 위치 마커(빨간 펄스 + 좌표 라벨) ───────────────── */
.loc-map{position:relative}
.loc-marker{background:none!important;border:0!important}
.loc-pin{position:absolute;left:0;top:0;width:22px;height:22px;border-radius:50%;
  background:radial-gradient(circle at 35% 30%,#ff6b6b,#e53935 70%);
  border:3px solid #fff;box-shadow:0 2px 10px rgba(229,57,53,.6);z-index:2}
.loc-pin::after{content:'';position:absolute;inset:-9px;border-radius:50%;
  border:2px solid rgba(229,57,53,.55);animation:locPulse 1.9s ease-out infinite}
@keyframes locPulse{0%{transform:scale(.55);opacity:.95}100%{transform:scale(2.3);opacity:0}}
.loc-label{position:absolute;left:28px;top:-2px;white-space:nowrap;
  background:rgba(18,23,33,.92);color:#fff;font:600 11px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;
  padding:3px 9px;border-radius:7px;border:1px solid rgba(229,57,53,.45);
  box-shadow:0 3px 12px rgba(0,0,0,.35);z-index:3;letter-spacing:.2px}
.loc-label::before{content:'';position:absolute;left:-6px;top:9px;width:0;height:0;
  border-top:5px solid transparent;border-bottom:5px solid transparent;border-right:6px solid rgba(18,23,33,.92)}
.loc-badge-wrap{background:none!important;border:0!important}
.loc-badge{position:absolute;left:28px;top:22px;white-space:nowrap;
  background:rgba(229,57,53,.92);color:#fff;font:600 11px/1.5 system-ui,sans-serif;
  padding:2px 8px;border-radius:6px;box-shadow:0 2px 8px rgba(0,0,0,.3);z-index:2}

/* ── 지도 주소 라벨 ───────────────── */
.loc-badge{max-width:320px;white-space:normal}
.loc-addr{margin-top:3px;font:500 10.5px/1.45 system-ui,sans-serif;
  color:#fff;opacity:.92;padding-top:3px;border-top:1px solid rgba(255,255,255,.28)}

/* ── 위치 좌표/주소 블록 ───────────────── */
.map-coordinate{display:flex;flex-direction:column;gap:6px;font-size:13px}
.mc-coord{font:700 13px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace;color:#16202c}
.mc-addr{font-size:12.5px;line-height:1.5;color:#3a4a5c;background:#f4f8fd;border:1px solid #dbe7f5;
  border-radius:8px;padding:7px 10px}
.mc-addr-empty{color:#8b98a5;font-style:italic}
.mc-meta{display:flex;align-items:center;gap:8px;font-size:11.5px;color:#6b7a8c}
.mc-tag{display:inline-block;background:#e53935;color:#fff;font-weight:600;font-size:10.5px;
  padding:1px 7px;border-radius:10px;letter-spacing:.2px}
.loc-badge-title{font-weight:700;letter-spacing:.2px}

/* ── 지도 열기 버튼 그룹 ───────────────── */
.map-openers{display:flex;flex-wrap:wrap;gap:6px}
.map-openers .button{flex:0 0 auto}
