@import url('/admin/vendor/flatpickr.css');
:root{--bg:#f6f7f9;--panel:#fff;--ink:#1d292d;--muted:#849095;--line:#e9edf0;--teal:#168376;--teal-dark:#126a60;--teal-light:#eaf6f2;--amber:#d99440;--red:#c85b5b;--radius:15px;--font:Inter,-apple-system,BlinkMacSystemFont,'Thonburi','Noto Sans Thai',sans-serif}*{box-sizing:border-box}body{margin:0;font:14px/1.6 var(--font);background:var(--bg);color:var(--ink)}[hidden]{display:none!important}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;transition:background .15s,box-shadow .15s,transform .15s}button:disabled{opacity:.45;cursor:not-allowed}button:not(:disabled):active{transform:translateY(1px)}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #7cc7b9;outline-offset:3px}img{width:18px;height:18px;vertical-align:middle}h1,h2,h3,p{margin:0}h2{font-size:16px;font-weight:650;letter-spacing:-.35px}h3{font-size:15px}strong{font-weight:650}small{font-size:11px}.muted{color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:650}.brand{display:flex;align-items:center;gap:9px;font-size:25px;letter-spacing:-1px;font-weight:720;line-height:1}.brand-mark{width:32px;height:34px;background:var(--teal);color:white;display:grid;place-items:center;font-size:31px;line-height:1;border-radius:10px 10px 10px 2px;font-weight:700;padding-bottom:5px}.brand-dot{font-size:10px;margin-left:-5px;align-self:flex-start;margin-top:4px}.workspace{display:flex;min-height:100vh}.sidebar{width:236px;position:fixed;inset:0 auto 0 0;background:white;border-right:1px solid var(--line);padding:33px 22px 0;display:flex;flex-direction:column;z-index:20}.sidebar .brand{padding-left:8px}.workspace-label{display:flex;gap:10px;align-items:center;border:1px solid var(--line);border-radius:10px;padding:12px 10px;margin:33px 0 25px}.workspace-icon{background:#eef1f2;border-radius:8px;width:31px;height:32px;display:grid;place-items:center;font-weight:650;font-size:15px}.workspace-label strong{font-size:12px;display:block}.workspace-label small{display:block;color:var(--muted);font-size:10px}.workspace-label>img{margin-left:auto;width:13px;opacity:.35}.nav-caption{font-size:9px;letter-spacing:1.5px;color:#9ba3a7;padding:0 12px;margin:14px 0 10px;font-weight:650}.nav-item{border:0;background:transparent;color:#748087;width:100%;border-radius:8px;display:flex;align-items:center;gap:11px;text-align:left;padding:11px 12px;font-size:12px;margin-bottom:4px}.nav-item img{opacity:.43;width:17px;height:17px}.nav-item.active{background:var(--teal-light);color:var(--teal);font-weight:600}.nav-item.active img{opacity:1;filter:invert(38%) sepia(40%) saturate(700%) hue-rotate(120deg)}.nav-item:hover{background:#f3f6f5}.nav-shortcut{font-size:9px;margin-left:auto;opacity:.6;letter-spacing:1px}.nav-count{margin-left:auto;background:#eff1f2;border-radius:5px;font-size:10px;padding:0 6px}.sidebar-bottom{margin-top:auto;padding-top:40px}.connection-status{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--muted);padding:14px 10px}.connection-status i,.environment i,.live-tag i,.network-pill i{width:6px;height:6px;border-radius:50%;background:#2ba18b;display:inline-block;box-shadow:0 0 0 3px #eaf6f2}.connection-status i.disconnected{background:var(--amber);box-shadow:0 0 0 3px #fef2df}.sidebar-user{display:flex;align-items:center;gap:9px;padding:19px 1px;border-top:1px solid var(--line)}.avatar{background:#efe9df;color:#8b7960;font-size:12px;font-weight:650;border:3px solid white;box-shadow:0 0 0 1px #ece6dc;display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%}.sidebar-user strong{font-size:11px;display:block}.sidebar-user small{font-size:9px;color:var(--muted);display:block}.sidebar-user button{margin-left:auto}.icon-button{border:0;background:transparent;padding:6px;border-radius:6px;line-height:1}.icon-button img{width:16px;height:16px;opacity:.45}.icon-button:hover{background:#f0f3f4}.main-shell{margin-left:236px;width:calc(100% - 236px)}.topbar{height:76px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 39px}.breadcrumb{display:flex;align-items:center;gap:13px;font-size:11px}.breadcrumb>span{color:var(--muted)}.breadcrumb img{width:12px;opacity:.25}.breadcrumb strong{font-weight:500}.topbar-right{display:flex;align-items:center;gap:18px;font-size:10px;color:var(--muted)}.environment{font-size:9px;letter-spacing:1px;display:flex;align-items:center;gap:7px}.topbar-divider{height:15px;width:1px;background:var(--line)}.avatar.small{width:28px;height:28px;font-size:10px}.main-content{padding:34px 39px 18px;max-width:1660px;margin:auto}.page-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:27px}.page-heading h1{font-size:30px;letter-spacing:-1.1px;font-weight:650;line-height:1.5;margin-top:3px}.heading-dot{color:var(--teal);padding-left:3px}.page-heading p{font-size:12px;color:var(--muted);margin-top:4px}.heading-actions{display:flex;gap:10px}.primary,.secondary{display:inline-flex;justify-content:center;align-items:center;gap:8px;border:1px solid transparent;border-radius:8px;padding:10px 14px;font-size:12px;font-weight:550;white-space:nowrap;min-height:40px}.primary{background:var(--teal);color:#fff;box-shadow:0 2px 2px #0d4e4a0a}.primary:hover{background:var(--teal-dark)}.primary img{filter:invert(1);width:15px;height:15px}.secondary{background:white;border-color:#e4e9eb;color:#59666b}.secondary:hover{background:#f8faf9}.secondary img{opacity:.5;width:14px;height:14px}.text-button{display:inline-flex;align-items:center;gap:6px;border:0;background:none;padding:5px 0;font-size:11px;font-weight:550;color:var(--teal);white-space:nowrap}.text-button img{width:13px;height:13px;opacity:.55}.compact{font-size:10px;min-height:32px;padding:6px 10px}.filter-bar{display:flex;align-items:center;gap:10px;margin-bottom:25px;border:1px solid var(--line);background:white;border-radius:10px;padding:9px 13px}.filter-title{display:flex;align-items:center;gap:7px;font-size:11px;color:#667479;white-space:nowrap}.filter-title img{width:14px;height:14px;opacity:.45}.filter-bar input,.filter-bar select{border:0;box-shadow:none;background:#f7f8f9;font-size:10px;padding:6px 8px;height:30px;border-radius:5px}.filter-bar input{width:143px;cursor:pointer}.range-dash{color:#bdc4c7}.filter-bar select{max-width:150px}.filter-bar .text-button{margin-left:2px}.timezone{font-size:9px;color:#a1aaae;margin-left:auto;white-space:nowrap}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:23px}.stat-card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:19px 20px;position:relative;overflow:hidden}.stat-top{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#718084}.stat-icon{height:31px;width:31px;display:grid;place-items:center;background:#f4f6f6;border-radius:8px}.stat-icon img{width:15px;opacity:.5}.stat-value{display:flex;align-items:baseline;gap:6px;font-size:27px;letter-spacing:-1px;line-height:1.5;font-weight:650;margin:9px 0 7px}.stat-value small{font-size:11px;color:#9ba4a7;font-weight:400;letter-spacing:0}.stat-foot{font-size:9px;color:#99a3a6;display:flex;gap:6px;align-items:center}.stat-foot i{height:5px;width:5px;border-radius:50%;background:#9cbcb4}.stat-card.accent{background:var(--teal);border-color:var(--teal);color:white}.stat-card.accent .stat-top{color:#cae5e0}.stat-card.accent .stat-icon{background:#ffffff18}.stat-card.accent .stat-icon img{filter:invert(1);opacity:.85}.stat-card.accent .stat-foot,.stat-card.accent .stat-value small{color:#acd2ca}.stat-card.accent .stat-foot i{background:#a5d2c4}.charts-grid{display:grid;grid-template-columns:minmax(0,2.18fr) minmax(245px,1fr);gap:22px;margin-bottom:29px}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.panel-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:21px 23px 17px}.panel-heading h2{font-size:13px}.panel-heading p{font-size:10px;color:var(--muted);margin-top:3px}.badge{font-size:9px;font-weight:550;display:inline-flex;align-items:center;gap:5px;padding:3px 8px;border-radius:5px;white-space:nowrap}.badge i{display:block;height:4px;width:4px;border-radius:50%;background:currentColor}.badge.neutral{background:#f3f5f6;color:#8a969b}.badge.success{background:#eaf6f0;color:#238972}.badge.failed{background:#fceeee;color:#c76262}.badge.warning{background:#fff4e2;color:#b8892f}.badge.running{background:#eaf1ff;color:#5d80bc}.subtle-icon{opacity:.25;width:17px;height:17px}.chart-wrap{height:188px;position:relative;margin:0 23px}.chart-wrap.large{height:310px;margin:0 23px 23px}.chart-empty{position:absolute;inset:0;display:grid;place-items:center;background:#ffffff90;color:#9ca5a9;font-size:11px;pointer-events:none}.chart-legend{display:flex;gap:19px;justify-content:center;padding:14px 0 18px;font-size:9px;color:#859297}.chart-legend>span,.fleet-counts>span{display:flex;align-items:center;gap:6px}.legend-dot{width:6px;height:6px;display:inline-block;border-radius:50%}.teal{background:#248f7d}.amber{background:#dca357}.grey{background:#e4eaec}.donut-wrap{height:168px;position:relative;margin:5px auto 13px;max-width:168px}.donut-center{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;pointer-events:none}.donut-center strong{font-size:33px;line-height:1.25;font-weight:600;letter-spacing:-1px}.donut-center span{color:#92a0a3;font-size:10px}.fleet-counts{display:flex;justify-content:center;gap:20px;font-size:10px;color:#8a9699;margin:0 10px 19px}.fleet-counts strong{font-size:11px;color:#45555a;margin-left:3px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;gap:12px}.section-heading h2{font-size:15px;display:flex;align-items:center;gap:9px}.section-heading p{font-size:10px;color:var(--muted);margin-top:2px}.count-pill{font-size:10px;color:#82918f;background:#eaf0ee;border:1px solid #e1e9e6;border-radius:5px;min-width:20px;padding:0 5px;text-align:center;font-weight:500}.device-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-bottom:26px}.device-card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:19px 20px 15px;min-width:0}.device-card-top{display:flex;align-items:center;gap:10px}.phone-icon{background:#eff5f3;width:37px;height:39px;border:1px solid #e5eeea;border-radius:10px;display:grid;place-items:center}.phone-icon img{width:20px;height:20px;filter:invert(39%) sepia(30%) saturate(480%) hue-rotate(111deg)}.device-title{min-width:0;flex:1}.device-title h3{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.device-title p{font-size:9px;color:#a1aaae;letter-spacing:.3px}.device-card-top .icon-button{align-self:flex-start;margin-right:-6px}.device-status-row{display:flex;align-items:center;justify-content:space-between;margin-top:17px}.battery{display:flex;align-items:center;gap:5px;font-size:10px;color:#829390}.battery img{width:16px;height:16px;opacity:.5}.device-balance{padding:17px 0 14px;margin-top:15px;border-top:1px solid #f0f2f3;border-bottom:1px solid #f0f2f3}.device-balance-label{display:flex;justify-content:space-between;font-size:9px;color:#9ca6a9}.device-balance strong{font-size:24px;letter-spacing:-.8px;line-height:1.9;font-weight:600}.device-balance strong span{font-size:10px;letter-spacing:0;color:#9ca8a9;font-weight:400;margin-left:6px}.device-balance small{display:block;color:#b0b7bb;font-size:8px}.device-actions{display:flex;gap:7px;margin-top:13px}.device-actions button{flex:1;font-size:10px;padding:7px 7px;min-height:33px}.device-actions .primary{background:var(--teal-light);color:var(--teal);border:1px solid #deede7;box-shadow:none}.device-actions .primary img{filter:none;opacity:.65;width:13px}.device-actions .secondary img{width:12px}.device-add-card{border:1px dashed #d9e2df;border-radius:var(--radius);background:#f0f5f350;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:7px;color:#9aa7a3;min-height:260px}.device-add-card img{width:22px;height:22px;opacity:.25}.device-add-card strong{font-size:11px;font-weight:500}.device-add-card small{font-size:9px;color:#adb8b3}.table-panel{margin-bottom:24px}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}thead{background:#fafbfc;border-top:1px solid #f0f2f4;border-bottom:1px solid #f0f2f4}th{font-size:9px;font-weight:500;color:#919da3;padding:11px 23px}td{font-size:11px;padding:15px 23px;border-bottom:1px solid #f1f3f4;color:#65757a}tbody tr:last-child td{border-bottom:none}td strong{display:block;font-size:11px;font-weight:550;color:#43545a}td small{display:block;color:#a5aeb2;font-size:9px;margin-top:2px}.mono{font-variant-numeric:tabular-nums;font-family:ui-monospace,SFMono-Regular,monospace;font-size:10px}.amount-cell{font-variant-numeric:tabular-nums;font-weight:550;color:#374d52}td .icon-button{border:1px solid var(--line);border-radius:6px}td.empty-state{text-align:center;white-space:normal;padding:44px 20px;color:#a1aaaf;font-size:11px}.empty-state img{display:block;width:26px;height:26px;opacity:.2;margin:0 auto 10px}.live-tag{font-size:9px;letter-spacing:.3px;color:#8c9a97;display:flex;align-items:center;gap:7px}.section-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;font-size:11px}.section-toolbar select{background:white;max-width:200px;height:36px;font-size:11px}.tab-filter{display:flex;gap:3px;background:#edf0f2;padding:4px;border-radius:9px}.tab-filter button{padding:6px 15px;border:0;background:none;border-radius:6px;color:#879397;font-size:11px}.tab-filter button.active{background:white;box-shadow:0 1px 4px #243b3b0c;color:#3b5656}.pagination{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:var(--muted);padding:16px 23px;border-top:1px solid var(--line)}.pagination>div{display:flex;gap:6px}.page-footer{display:flex;justify-content:space-between;gap:15px;color:#a6afb2;font-size:9px;margin-top:28px;padding-top:18px;border-top:1px solid #e6ebed}.footer-dot{padding:0 8px;opacity:.5}.error-panel{margin-top:22px}.error-summary{padding:0 23px 23px}.error-summary>div{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding:12px 0;font-size:11px}.settings-panel{max-width:550px}.settings-panel form{padding:0 23px 25px}.banner{font-size:12px;padding:12px 15px;margin-bottom:18px;border:1px solid;border-radius:8px}.banner.error{background:#fff3f2;border-color:#f2d7d3;color:#ab5651}.banner.info{background:#ecf6f2;border-color:#d7ebe1;color:#4e8070}.form-error{font-size:12px;color:var(--red);margin:8px 0;min-height:10px}label{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:500;color:#647478;margin-bottom:18px}input,select,textarea{width:100%;border:1px solid #e0e6e8;border-radius:7px;background:white;color:#34464b;padding:10px 11px;outline:none;transition:border-color .15s,box-shadow .15s;min-width:0}input:focus,select:focus,textarea:focus{border-color:#85b7a9;box-shadow:0 0 0 3px #248c7920}input:disabled{background:#f5f7f7;color:#96a29e}textarea{resize:vertical;font-family:ui-monospace,monospace;font-size:11px}.checkbox-label{flex-direction:row;align-items:flex-start;font-size:11px;line-height:1.8;gap:9px}.checkbox-label input{width:15px;height:15px;flex-shrink:0;margin-top:3px;accent-color:var(--teal)}label small{font-size:10px;color:#9ba6a9;font-weight:400}.modal{border:1px solid #e4e9e7;border-radius:18px;padding:28px;width:min(480px,calc(100% - 30px));max-height:90vh;box-shadow:0 24px 100px #16383122;background:#fff;color:var(--ink)}.modal::backdrop{background:#183a3d60;backdrop-filter:blur(3px)}.modal-heading{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;margin-bottom:25px}.modal-heading h2{font-size:21px;margin-top:4px}.modal-heading>button{margin-right:-7px}.form-actions{display:flex;justify-content:flex-end;gap:15px;align-items:center}.danger-text{border:0;background:none;color:var(--red);font-size:11px;margin-right:auto;padding:8px 0}.full{width:100%}.idempotency-label{font-size:9px;color:#a3adb1;margin:-3px 0 18px;word-break:break-all}.idempotency-label code{font-size:9px}.operation-modal{width:min(800px,calc(100% - 30px))}.operation-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:18px}.operation-summary h3{font-size:24px;font-weight:600;letter-spacing:-.6px}.operation-summary p{font-size:11px;color:var(--muted)}.operation-meta{display:grid;grid-template-columns:1fr 1fr;gap:12px 20px;font-size:11px;padding-bottom:20px}.operation-meta dt{color:#99a4a8;font-size:10px;margin-bottom:2px}.operation-meta dd{margin:0;overflow-wrap:anywhere}.operation-columns{display:grid;grid-template-columns:1fr 1fr;gap:25px}.timeline{list-style:none;padding:0;margin:10px 0 0 7px}.timeline li{padding:0 0 20px 25px;border-left:1px solid #dfe9e4;position:relative}.timeline li:before{content:'';position:absolute;left:-4px;top:6px;height:7px;width:7px;border:2px solid white;border-radius:50%;background:#7cae9e;box-shadow:0 0 0 1px #8fbcab}.timeline li:last-child{border-color:transparent}.timeline li:last-child:before{background:var(--teal);box-shadow:0 0 0 3px #e2f3eb}.timeline strong{font-size:11px;font-weight:500;display:block}.timeline small{font-size:9px;color:#9ca7ab}.timeline-title{font-size:10px;letter-spacing:1px;color:#9da6aa}.slip-section img{width:100%;height:auto;border-radius:10px;border:1px solid var(--line);margin-bottom:10px;display:block}.slip-placeholder{min-height:180px;display:flex;flex-direction:column;justify-content:center;align-items:center;border:1px dashed #dfe5e4;border-radius:10px;background:#f9fbfa;color:#a3b0aa;gap:12px;font-size:11px}.slip-placeholder img{width:28px;height:28px;border:0;opacity:.25}.operation-error{overflow-wrap:anywhere;white-space:normal}.operation-id{font-size:9px;color:#9ba5a8;overflow-wrap:anywhere}.reconcile-box{margin-top:20px;padding:15px;background:#fff8ed;border:1px solid #f0dfbd;border-radius:9px;font-size:11px}.reconcile-box button{margin-top:10px}.job-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin-bottom:26px}.job-card{background:white;border:1px solid var(--line);border-radius:13px;padding:18px 20px}.job-card-top{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-bottom:14px}.job-card p{font-size:11px;color:#81938e}.pipeline-track{height:4px;display:flex;gap:3px;margin:15px 0}.pipeline-track i{background:#e9eeec;border-radius:4px;flex:1}.pipeline-track i.done{background:#66aa94}.pipeline-track i.current{background:var(--teal);animation:pulse 1.4s infinite}.job-card-footer{display:flex;justify-content:space-between;align-items:center;font-size:9px;color:#a2aaa7}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 30px);background:#25463d;color:white;border-radius:10px;padding:12px 22px;font-size:12px;box-shadow:0 8px 30px #113d3525;z-index:100}.login-screen{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-story{background:#153e36;color:#e1f1e8;padding:45px 55px;position:relative;overflow:hidden;min-height:700px;display:flex;flex-direction:column}.brand.light .brand-mark{background:#bce6ce;color:#153e36}.brand.light{color:#edf9f0}.story-content{margin:auto 0;padding:55px 0}.story-content .eyebrow{color:#88b3a0;font-size:9px}.story-content h1{font-size:clamp(45px,4.8vw,72px);font-weight:500;line-height:1.25;letter-spacing:-2px;margin:18px 0 23px}.story-content h1 span{color:#b4d9a8}.story-content p{font-size:13px;line-height:1.9;color:#8eb3a2}.story-footer{font-size:9px;letter-spacing:1.5px;color:#749b88;margin-top:auto}.network-art{height:165px;position:relative;max-width:370px;margin:45px 0 5px}.network-line{position:absolute;left:25px;right:25px;top:66px;border-top:1px dashed #64937b80}.network-phone,.network-hub{position:absolute;display:grid;place-items:center;border:1px solid #759e8950;background:#204d40;border-radius:15px;width:65px;height:73px;top:30px;z-index:1;transform:rotate(-7deg)}.network-phone img{height:29px;width:29px;filter:invert(.8);opacity:.7}.network-phone.p1{left:0}.network-phone.p2{right:0;transform:rotate(7deg)}.network-hub{left:calc(50% - 42px);top:20px;width:84px;height:88px;background:#bee3c5;transform:rotate(0deg);box-shadow:0 0 50px #badac211}.network-hub img{width:34px;height:34px;opacity:.7}.network-pill{position:absolute;bottom:0;left:50%;transform:translateX(-50%);border:1px solid #72947c44;border-radius:20px;padding:6px 13px;white-space:nowrap;font-size:9px;color:#a7c7b5;display:flex;gap:9px;align-items:center}.network-pill i{box-shadow:none;background:#bde2c1}.login-form-wrap{position:relative;background:#fcfdfc;display:flex;align-items:center;justify-content:center;padding:70px 30px}.login-form-inner{width:340px}.login-form-inner h2{font-size:29px;font-weight:550;letter-spacing:-.8px;margin-top:13px;margin-bottom:7px}.login-form-inner>p{font-size:12px}.login-form-inner form{margin-top:35px}.login-form-inner label{font-size:11px;margin-bottom:20px}.login-form-inner input{height:45px;font-size:12px}.login-button{width:100%;justify-content:space-between;padding:12px 16px;margin-top:5px;min-height:45px}.login-security{margin-top:26px;display:flex;justify-content:center;align-items:center;gap:8px;color:#a2ada8;font-size:10px}.login-security img{width:14px;opacity:.35}.login-footer{position:absolute;bottom:35px;left:30px;right:30px;display:flex;justify-content:space-between;font-size:9px;color:#adb7b1}.flatpickr-calendar{font-family:var(--font);border-radius:12px;box-shadow:0 10px 40px #24413820}.flatpickr-day.selected{background:var(--teal);border-color:var(--teal)}@keyframes pulse{50%{opacity:.5}}@media(min-width:1500px){.main-content{padding:40px 50px 25px}.topbar{padding:0 50px}.chart-wrap{height:220px}.donut-wrap{height:192px;max-width:192px}}@media(max-width:1200px){.sidebar{width:207px;padding-left:16px;padding-right:16px}.main-shell{margin-left:207px;width:calc(100% - 207px)}.main-content{padding:28px 25px 18px}.topbar{padding:0 25px}.device-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats-grid{gap:12px}.stat-card{padding:16px}.timezone{display:none}.filter-bar{gap:7px}.filter-title{font-size:10px}.filter-bar input{width:135px}.stat-value{font-size:24px}}@media(max-width:950px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.charts-grid{grid-template-columns:minmax(0,1.6fr) minmax(210px,1fr);gap:15px}.filter-bar{flex-wrap:wrap}.filter-title{width:100%}.topbar-right .environment{display:none}.page-heading h1{font-size:27px}.job-grid{grid-template-columns:1fr}}@media(max-width:720px){.sidebar{position:relative;width:auto;padding:20px 16px 12px;border-right:none;border-bottom:1px solid var(--line)}.sidebar .brand{font-size:22px;padding:0}.workspace-label,.nav-caption,.sidebar-bottom,.nav-shortcut,.nav-count{display:none}.workspace{display:block}.sidebar nav{display:flex;overflow-x:auto;gap:5px;margin-top:20px}.nav-item{font-size:10px;width:auto;white-space:nowrap;gap:6px;padding:8px 10px;margin:0}.nav-item img{width:14px;height:14px}.main-shell{margin:0;width:100%}.topbar{height:50px;padding:0 18px}.main-content{padding:23px 18px 15px}.page-heading{align-items:flex-start;gap:10px;margin-bottom:20px}.page-heading h1{font-size:25px}.page-heading p{font-size:10px;max-width:220px}.heading-actions{flex-direction:column;gap:5px}.heading-actions button{padding:7px 10px;min-height:32px;font-size:10px}.charts-grid{grid-template-columns:1fr}.fleet-panel{display:none}.device-grid{grid-template-columns:1fr}.device-add-card{min-height:100px}.stat-value{font-size:24px}.stat-card{padding:15px}.stat-top{font-size:10px}.stat-icon{width:26px;height:26px}.stat-foot{font-size:8px}.filter-bar input{width:calc(50% - 32px)}.filter-bar select{max-width:none;width:58%}.filter-bar .text-button{margin-left:auto}.topbar-right{font-size:9px;gap:10px}.topbar-divider{display:none}.panel-heading{padding:18px}.panel-heading h2{font-size:12px}.chart-wrap{margin:0 14px;height:190px}.page-footer{font-size:8px;flex-wrap:wrap}.operation-columns{grid-template-columns:1fr}.modal{padding:22px}.operation-meta{gap:12px}.login-screen{grid-template-columns:1fr}.login-story{min-height:auto;padding:25px 30px}.story-content{padding:30px 0}.story-content h1{font-size:37px;margin:8px 0 15px}.story-content h1 br{display:none}.story-content p{font-size:11px}.story-footer,.network-art{display:none}.login-form-wrap{min-height:530px;padding:45px 30px 75px}.login-form-inner{width:100%;max-width:360px}.login-form-inner h2{font-size:26px}.login-footer{bottom:20px}.login-story .eyebrow{font-size:8px}.login-story .brand{font-size:22px}}
.device-history{font-size:9px;margin-top:10px;color:#8ba198;gap:5px}.device-history img{width:11px;height:11px;opacity:.4}.device-progress{display:flex;align-items:center;justify-content:space-between;gap:5px;background:#f1f8f4;border-radius:6px;padding:7px 9px;margin-top:10px;color:#468b73;font-size:9px}.device-progress .text-button{font-size:8px}
.diagnostic-caption{font-size:10px;line-height:1.8;margin-top:4px}.diagnostic-modal{width:min(1120px,calc(100% - 32px))}.diagnostic-layout{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(245px,1fr);gap:25px}.diagnostic-layout>section{min-width:0}.triage-panel{padding:20px;background:#f7faf8;border:1px solid #e6eeea;border-radius:12px;align-self:start}.triage-panel>h3{font-size:13px}.triage-panel form{margin-top:19px}.triage-panel textarea{font-size:11px}.triage-panel label{margin-bottom:15px}.triage-panel .form-error{font-size:10px}.diagnostic-privacy{display:flex;align-items:flex-start;gap:8px;font-size:9px;line-height:1.9;color:#92a39a;border-top:1px solid #e5ece8;margin-top:18px;padding-top:15px}.diagnostic-privacy img{width:14px;height:14px;opacity:.35;margin-top:2px}.dump-heading{display:flex;align-items:center;justify-content:space-between;margin:17px 0 8px;font-size:9px;letter-spacing:1px;color:#91a19a}.dump-heading a{letter-spacing:0}.dump-preview{background:#182b27;border:1px solid #1b332c;border-radius:10px;color:#c7dfd3;padding:17px;margin:0;max-height:440px;min-height:180px;overflow:auto;font:10px/1.9 ui-monospace,SFMono-Regular,monospace;white-space:pre;tab-size:2}.occurrence-label{margin-top:15px;margin-bottom:14px}.occurrence-label select{font-size:10px}.diagnostic-observation{border:1px solid #e6ede9;background:#fbfcfb;border-radius:9px;padding:12px 14px;font-size:10px}.diagnostic-observation p{margin:4px 0;overflow-wrap:anywhere}.diagnostic-observation .text-button{font-size:10px;margin-top:4px}.diagnostic-message{font-size:12px;color:#60706a;white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:20px}.diagnostic-summary-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px}.diagnostic-code-cell{max-width:310px}.diagnostic-code-cell small{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:260px}.diagnostic-op-links{padding:13px 16px;border:1px solid #e4ede7;border-radius:8px;background:#f5faf7;margin-bottom:20px}.diagnostic-op-links p{font-size:11px;color:#748a7b;margin-bottom:5px}.diagnostic-op-links button{font-size:10px;display:flex}.diagnostic-no-dump{color:#a0ada8}.diagnostic-modal .modal-heading h2{font-size:20px}@media(max-width:800px){.diagnostic-layout{grid-template-columns:1fr}.diagnostic-modal{padding:21px}.diagnostic-modal .modal-heading h2{font-size:15px}.dump-preview{font-size:9px;max-height:330px}.diagnostic-layout .triage-panel{padding:16px}.diagnostic-code-cell{max-width:220px}}

.quota-banner{display:flex;align-items:center;gap:12px;padding:16px 20px;margin-bottom:20px;background:#eaf5f0;border:1px solid #d5e9df;border-radius:12px;color:#266e5e;font-size:13px;flex-wrap:wrap}.quota-banner img{width:20px;height:20px}.quota-banner span{color:#5e7b70;margin-left:auto}.agent-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:20px}.agent-card{background:white;border:1px solid var(--border,#e4eae7);border-radius:15px;padding:24px}.agent-card-top{display:flex;align-items:center;gap:12px;margin-bottom:28px}.agent-card-top h3{font-size:16px;margin:0 0 5px}.agent-card-top small{color:#89958e}.agent-card-top .badge{margin-left:auto}.agent-avatar{width:43px;height:43px;border-radius:13px;background:#eaf4ee;color:#27806b;display:grid;place-items:center;font-size:21px;font-weight:600}.agent-usage{display:flex;justify-content:space-between;align-items:center;color:#738078;font-size:13px}.agent-usage strong{font-size:19px;font-weight:600;color:#233b31}.quota-meter{display:block;width:100%;height:6px;margin:14px 0 22px;accent-color:#278d79;border:0;border-radius:10px;overflow:hidden}.quota-meter::-webkit-progress-bar{background:#edf3ef}.quota-meter::-webkit-progress-value{background:#278d79;border-radius:10px}.agent-card-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #edf2ee;padding-top:16px}.agent-card-footer small{color:#89958e}.agent-empty{grid-column:1/-1;padding:64px 30px;background:#fff;border:1px dashed #d5dfd9;border-radius:14px;text-align:center;color:#77877e;line-height:1.9}.agent-guidance{margin-top:24px;font-size:13px}#deviceForm .form-actions{flex-wrap:wrap;gap:10px}#agentForm{display:grid;gap:17px}#agentForm .checkbox-label{margin:4px 0} [hidden]{display:none!important}

#pinSetupForm{display:grid;gap:18px}#pinSetupForm .banner{font-size:13px;line-height:1.7}.login-help{font-size:12px;line-height:1.6;color:#6e7b76;margin:8px 0 0}.login-form-wrap{overflow-y:auto}.login-form-inner{padding-block:26px}#turnstileWidget{min-height:65px}#loginPin,#setupLoginPin,#confirmSetupLoginPin,#agentLoginPin{letter-spacing:5px}.pin-settings-panel{margin-top:24px}#loginPinForm{display:grid;gap:18px}#loginPinForm label{display:grid;gap:8px}#loginForm small{font-size:11px;letter-spacing:0;line-height:1.6;color:#809088}

.integration-guide{padding:25px;margin-top:24px}.integration-guide ol{padding-left:23px;line-height:2.2;color:#78867e}.enrollment-qr{display:block;width:min(100%,360px);height:auto;margin:16px auto}#clientForm{display:grid;gap:17px}.agent-card .mono{overflow-wrap:anywhere;font-size:12px}.agent-card .muted{font-size:12px;line-height:1.8}.agent-card-top>img{width:28px;height:28px}#clientForm textarea{font-family:monospace;font-size:12px}

/* Shared six-digit PIN entry, including narrow phones. */
.pin-input{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;width:100%;max-width:340px;margin:8px 0 4px}.pin-input input{width:100%;min-width:0;height:52px;padding:0;text-align:center;font-size:23px;font-weight:600;border-radius:10px;caret-color:var(--teal);font-variant-numeric:tabular-nums}.pin-input input:focus{border-color:var(--teal);box-shadow:0 0 0 3px #16837618;outline:none}@media(max-width:380px){.pin-input{gap:6px}.pin-input input{height:44px;font-size:21px}}
.enrollment-qr{max-width:100%;height:auto;image-rendering:pixelated}
