@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;450;500;550;600;650;700;750;800&display=swap');
:root{--bg:#f5f7f8;--ink:#20343c;--muted:#8a979e;--line:#e8edef;--teal:#147d71;--mint:#edf8f3;--sidebar:#142e33;--white:#fff;--blue:#4e86bd;--orange:#d99443;font-family:'Be Vietnam Pro',Arial,sans-serif;color:var(--ink);font-synthesis:none;font-size:13px}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}svg{width:19px;height:19px;flex-shrink:0;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}button:focus-visible,a:focus-visible{outline:3px solid #63b7ab;outline-offset:3px}.sidebar{width:245px;background:var(--sidebar);color:#a6b9bc;position:fixed;inset:0 auto 0 0;z-index:40;display:flex;flex-direction:column;padding:32px 20px 0}.brand{display:flex;align-items:center;gap:10px;color:white;padding:0 8px;font-size:25px;font-weight:700;letter-spacing:-1px}.brand-mark{background:#6ec5ae;color:#133d3b;width:36px;height:38px;border-radius:10px;display:grid;place-items:center;transform:rotate(-5deg)}.brand-mark svg{width:25px;height:25px}.brand-dot{color:#77cbb5}.brand small{display:block;font-size:6.8px;font-weight:400;letter-spacing:1px;margin-top:3px;color:#b2c4c5}.workspace{display:flex;gap:10px;align-items:center;padding:15px 10px;margin:35px 0 29px;border:1px solid #345055;border-radius:9px;font-size:11px;color:#e2e9e8}.workspace>svg{margin-left:auto;width:13px}.workspace small{display:block;color:#78989c;font-size:9px;margin-top:5px}.workspace-icon{display:grid;place-items:center;background:#2b464a;width:31px;height:32px;border-radius:6px;color:#aac4bf}.nav-label{font-size:8px;letter-spacing:1.4px;color:#759195;margin:0 13px 15px}nav{display:flex;flex-direction:column;gap:7px}nav a{display:flex;align-items:center;gap:13px;padding:13px 14px;border-radius:7px;font-size:11px;transition:.2s}nav a:hover{background:#213e43;color:#fff}nav a.active{background:#2c514e;color:#a8e4d2}nav a svg{width:17px;height:17px}.nav-count{margin-left:auto;padding:2px 6px;border-radius:4px;background:#25464a;font-size:9px}.nav-pip{width:5px;height:5px;background:#9cdeca;border-radius:50%;margin-left:auto}nav a:not(.active) .nav-pip{display:none}.sidebar-bottom{margin-top:auto;padding-top:50px}.device-mini{position:relative;border:1px solid #355055;background:linear-gradient(125deg,#203c41,#193438);border-radius:9px;padding:16px 14px 12px}.device-mini strong{display:block;font-size:10px;color:#d6e5e4;font-weight:500;padding-left:25px}.device-mini small{display:block;font-size:9px;margin-top:9px;color:#92aaa9}.mini-device-icon{position:absolute;top:14px;color:#a5c5ba}.mini-device-icon svg{width:15px;height:15px}.mini-bar{display:flex;gap:4px;margin-top:13px}.mini-bar i{height:6px;flex:1;border-radius:2px;background:#3b5a5b}.mini-bar i:nth-child(-n+3){background:#82b5a6}.help-button{display:flex;align-items:center;width:100%;gap:8px;font-size:10px;color:#98b0b3;border:0;background:transparent;padding:23px 5px}.help-button svg{width:15px;height:15px}.help-button>svg:last-child{margin-left:auto}.profile{border-top:1px solid #30494e;display:flex;align-items:center;gap:10px;margin:0 -20px;padding:20px;font-size:10px;color:#e1e8e6}.profile small{display:block;font-size:8px;color:#90a6a8;margin-top:4px}.avatar{width:33px;height:33px;border-radius:50%;background:#e8e4d8;color:#7d796b;display:grid;place-items:center;font-size:10px;font-weight:600;border:3px solid #ffffff30;flex-shrink:0}.profile button{margin-left:auto;color:#a8bdbe}.icon-button{display:inline-flex;align-items:center;justify-content:center;padding:5px;background:transparent;border:0;border-radius:6px;position:relative}.icon-button:hover{background:#819e9915}.app-shell{margin-left:245px}.topbar{height:75px;background:var(--white);border-bottom:1px solid var(--line);padding:0 38px;display:flex;align-items:center;justify-content:space-between}.breadcrumbs{display:flex;align-items:center;gap:17px;font-size:10px;color:#89969c}.breadcrumbs strong{color:#4d6169;font-weight:500}.slash{color:#c3cbd0}.topbar-right{display:flex;align-items:center;gap:20px;color:#8b969d;font-size:10px}.top-divider{width:1px;height:22px;background:var(--line)}.avatar.small{width:30px;height:30px;font-size:9px;background:#eeeae1;border-color:white}.notification-dot{position:absolute;right:8px;top:6px;background:#d29868;width:4px;height:4px;border-radius:50%;border:1px solid white}main{max-width:1530px;padding:35px 38px 0;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.eyebrow{font-size:8px;letter-spacing:1.7px;color:#889a9e;font-weight:500}.page-heading h1{font-size:27px;letter-spacing:-1.1px;font-weight:650;margin:10px 0 9px;line-height:1.35}.heading-dot{color:var(--teal)}.page-heading p{color:#8b999f;font-size:10.5px;margin:0}.heading-actions{display:flex;gap:9px;padding-top:16px}.button{border:1px solid transparent;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 14px;font-size:10px;line-height:1.4;font-weight:500;white-space:nowrap;transition:background .15s}.button svg{width:15px;height:15px}.primary{background:#187a6b;color:white;border-color:#187a6b;box-shadow:0 2px 3px #1440390c}.primary:hover{background:#0f6559}.secondary{background:white;border-color:#e1e7e8;color:#53656e}.secondary:hover{background:#f1f5f4}.mode-banner{display:flex;align-items:center;justify-content:space-between;background:#edf3f5;border:1px solid #e1eaed;border-radius:7px;padding:11px 14px;margin-bottom:24px;color:#758b96;font-size:9px;gap:12px}.mode-banner>div{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.mode-banner strong{font-size:9px;font-weight:600;color:#577986}.mode-banner button{background:transparent;border:0;color:#527987;display:flex;gap:8px;align-items:center;font-size:9px;white-space:nowrap}.mode-banner svg{width:13px;height:13px}.demo-dot,.footer-dot{display:inline-block;width:6px;height:6px;background:#6d99aa;border-radius:50%}.class-picker{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:25px}.class-card{position:relative;text-align:left;background:white;border:1px solid #e6ebed;border-radius:9px;padding:17px 15px;display:flex;gap:12px;align-items:center;transition:.2s}.class-card:hover{border-color:#92c3b6;transform:translateY(-2px)}.class-card.selected{border:1.5px solid #72b0a1;background:#f0f8f4;box-shadow:0 3px 10px #3d776309}.class-icon{display:grid;place-items:center;width:38px;height:39px;background:#f4f6f7;color:#9aa6ad;border-radius:9px}.selected .class-icon{background:#d9ece1;color:#438d76}.class-card strong{font-size:13px;font-weight:600;display:block}.class-card small{font-size:8px;color:#9ca6ad;display:block;margin-top:7px}.class-card .badge{position:absolute;top:12px;right:10px;font-size:6.5px;padding:4px 5px;background:#e1f1e8;color:#568f74}.class-card:not(.selected) .badge{background:#f4f6f7;color:#95a1a6}.class-detail{font-size:10px;color:#87989e;display:flex;align-items:center;gap:10px;margin-bottom:18px}.class-detail strong{font-size:13px;color:#364e56;font-weight:600}.class-detail .badge{margin-left:1px}.class-detail .right{margin-left:auto;display:flex;gap:6px;align-items:center;font-size:8px}.pulse{width:5px;height:5px;display:inline-block;border-radius:50%;background:#70a68d}.badge{display:inline-block;border-radius:4px;padding:4px 7px;font-size:8px;font-weight:450;white-space:nowrap}.badge.green{background:#edf7f0;color:#5b9576}.badge.blue{background:#edf3f9;color:#6a91b5}.badge.gray{background:#f0f3f5;color:#8a99a4}.badge.orange{background:#fff5e7;color:#bb8b4e}.stat-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;gap:14px;margin-bottom:22px}.stat-card{padding:18px;background:white;border:1px solid var(--line);border-radius:9px;position:relative;min-height:125px}.stat-title{display:flex;align-items:center;gap:8px;font-size:9px;color:#8a9a9f}.stat-title svg{width:15px;height:15px;color:#9dadae}.stat-value{font-size:29px;letter-spacing:-1.2px;font-weight:550;margin-top:13px;line-height:1.1}.stat-value small{font-size:12px;letter-spacing:0;color:#9ca9ae;font-weight:400;margin-left:4px}.stat-note{font-size:8px;color:#9ba7ad;margin-top:10px}.stat-card.emphasis{background:#ecf5ef;border-color:#dcece0}.stat-card.emphasis .stat-value{color:#33785c}.stat-card.emphasis .stat-title{color:#658f7c}.stat-card.emphasis .stat-note{color:#80a28f}.stat-icon{position:absolute;right:16px;bottom:25px;opacity:.15;color:#448f76}.stat-icon svg{width:36px;height:36px}.stat-note.good{color:#74a18a}.stat-note.warn{color:#c38a40}.sparkline{position:absolute;right:15px;bottom:18px;width:70px;height:28px;opacity:.65}.sparkline svg{width:100%;height:100%}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,1fr);gap:20px;margin-bottom:22px}.panel{background:white;border:1px solid var(--line);border-radius:9px;overflow:hidden}.panel-head{padding:19px 21px 0;display:flex;align-items:center;justify-content:space-between;gap:10px}.panel-head h2{font-size:12px;font-weight:550;margin:0}.panel-head p{font-size:8px;color:#9ba8ad;margin:7px 0 0}.panel-head .icon-button svg{width:16px;height:16px}.attendance-body{display:flex;align-items:center;padding:23px 25px 23px 21px;gap:25px}.occupancy-ring{position:relative;width:164px;height:164px;flex-shrink:0}.occupancy-ring svg{width:100%;height:100%;stroke:none;transform:rotate(-90deg)}.occupancy-ring .track{fill:none;stroke:#f0f3f4;stroke-width:11}.occupancy-ring .progress{fill:none;stroke:#6b9f80;stroke-width:11;stroke-linecap:round;stroke-dasharray:427;transition:stroke-dashoffset .5s}.ring-text{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.ring-text strong{font-size:33px;font-weight:550;letter-spacing:-1.5px}.ring-text span{font-size:8px;color:#9aaaac;margin-top:6px}.ring-text small{font-size:7px;color:#87a592;margin-top:9px;background:#eff6f0;padding:4px 8px;border-radius:10px}.legend{flex:1}.legend-row{display:flex;align-items:center;gap:8px;padding:12px 0;border-bottom:1px solid #f0f3f3;font-size:9px;color:#8a9b9f}.legend-row:last-child{border-bottom:0}.legend-row strong{color:#485e66;margin-left:auto;font-size:13px;font-weight:550}.legend-dot{width:7px;height:7px;border-radius:2px;background:#70a184}.legend-dot.blue{background:#a5bfd7}.legend-dot.gray{background:#e4e9ec}.panel-bottom{border-top:1px solid #edf1f1;padding:12px 20px;background:#fcfdfd;font-size:8px;color:#92a39f;display:flex;gap:7px;align-items:center}.panel-bottom svg{width:12px;height:12px;color:#87aa97}.camera-frame{height:194px;margin:16px 18px 13px;border-radius:7px;background:#eef1f0;position:relative;overflow:hidden;display:grid;place-items:center}.camera-empty{text-align:center;color:#99a8a8;position:relative;z-index:1}.camera-empty>svg{width:28px;height:28px;margin-bottom:9px;opacity:.7}.camera-empty strong{display:block;font-size:10px;font-weight:500}.camera-empty p{font-size:8px;margin:7px 0 12px;color:#9facaf}.camera-empty button{font-size:8px;padding:7px 10px;background:#ffffffa8}.camera-grid{position:absolute;inset:0;background-image:linear-gradient(#dce3e34d 1px,transparent 1px),linear-gradient(90deg,#dce3e34d 1px,transparent 1px);background-size:23px 23px;mask-image:radial-gradient(ellipse,black,transparent)}.camera-corner{position:absolute;width:18px;height:18px;border-color:#b8c8c6;border-style:solid;z-index:2}.camera-corner.tl{top:12px;left:12px;border-width:1px 0 0 1px}.camera-corner.tr{top:12px;right:12px;border-width:1px 1px 0 0}.camera-corner.bl{bottom:12px;left:12px;border-width:0 0 1px 1px}.camera-corner.br{bottom:12px;right:12px;border-width:0 1px 1px 0}.camera-frame video,.camera-frame img{width:100%;height:100%;object-fit:contain;background:#16272a;position:absolute;inset:0}.camera-meta{display:flex;align-items:center;justify-content:space-between;padding:0 20px 14px;font-size:8px;color:#9aa8ad}.camera-meta span{display:flex;gap:5px;align-items:center}.camera-meta svg{width:11px;height:11px}.camera-status{font-size:7px;padding:4px 6px;border-radius:4px;color:#9ba7ab;background:#f2f5f5}.table-panel{margin-bottom:22px}.table-heading{padding:20px;display:flex;align-items:center;justify-content:space-between;gap:15px}.table-heading h2{font-size:12px;margin:0;font-weight:550;display:flex;align-items:center;gap:8px}.count-label{font-size:8px;color:#859b90;padding:3px 6px;background:#edf5ee;border-radius:4px;font-weight:400}.table-heading p{font-size:8px;color:#9aa7ad;margin:7px 0 0}.table-tools{display:flex;gap:8px;align-items:center}.search-field{display:flex;align-items:center;gap:7px;border:1px solid #e6ebed;border-radius:6px;padding:7px 9px;color:#a1aeb4;background:white}.search-field svg{width:13px;height:13px}.search-field input{outline:none;border:0;background:transparent;width:145px;font-size:8px;color:#5d747c}.search-field input::placeholder{color:#a4afb4}.filter-select{background:#fff;border:1px solid #e6ebed;border-radius:6px;padding:8px;font-size:8px;color:#7c909b;max-width:130px}table{width:100%;border-collapse:collapse;text-align:left;font-size:9px;white-space:nowrap}th{padding:12px 20px;background:#f9fafb;border-top:1px solid #f0f2f4;border-bottom:1px solid #edf0f2;color:#93a1a8;font-size:7.5px;letter-spacing:.35px;font-weight:450}td{padding:12px 20px;border-bottom:1px solid #f1f4f5;color:#7c8e96}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfdfc}.student-cell{display:flex;align-items:center;gap:10px;color:#4d626b;font-size:9px;font-weight:500}.student-avatar{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#e9f0eb;color:#8ba08d;font-size:8px;font-weight:500}.student-avatar.c1{background:#edeaf3;color:#a398b3}.student-avatar.c2{background:#e7eff5;color:#90a7bb}.student-avatar.c3{background:#f4ece6;color:#b3a08f}.uid-text{font-family:Consolas,monospace;font-size:9px;color:#9aa9b2}.row-action{background:transparent;border:0;color:#8ca2a8;padding:3px 5px}.row-action svg{width:13px;height:13px}.table-scroll{overflow-x:auto}.table-footer{padding:13px 20px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;color:#99a7ad;font-size:8px}.pagination{display:flex;gap:6px}.pagination button{border:1px solid #e6ecec;background:white;color:#8ca29f;display:grid;place-items:center;border-radius:4px;width:24px;height:23px;font-size:8px}.pagination button.active{border-color:#bdd9c8;color:#5b8b72;background:#eff7f0}.pagination button:disabled{opacity:.4;cursor:default}.pagination svg{width:12px;height:12px}.bottom-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:20px;margin-bottom:25px}.scan-demo{display:flex;gap:15px;align-items:center;padding:20px}.scan-visual{width:47px;height:47px;flex-shrink:0;display:grid;place-items:center;background:#edf4ef;color:#7d9e85;border:1px solid #dce9df;border-radius:10px}.scan-visual svg{width:24px;height:24px}.scan-content{flex:1;min-width:0}.scan-content h3{font-size:10px;font-weight:550;margin:0 0 7px}.scan-content p{font-size:8px;line-height:1.8;color:#9aa8ad;margin:0}.scan-controls{display:flex;gap:8px;margin-top:12px}.scan-controls select{min-width:0;flex:1;border:1px solid #e3e9e8;border-radius:5px;font-size:8px;padding:8px;color:#798e94;background:white}.scan-controls .button{font-size:8px;padding:8px 10px}.sensor-chart{padding:18px 20px 15px}.sensor-chart svg{display:block;width:100%;height:76px;stroke:none}.chart-axis{display:flex;justify-content:space-between;font-size:7px;color:#a3afb3;padding-top:8px}.chart-caption{display:flex;gap:13px;align-items:center;font-size:8px;color:#93a5a8}.chart-caption i{width:5px;height:5px;display:inline-block;border-radius:50%;background:#82a98e;margin-right:4px}.chart-caption i.blue{background:#99b1d0}.empty-state{text-align:center;padding:45px 25px;color:#93a3a9}.empty-state svg{width:35px;height:35px;color:#adc2bb}.empty-state h2{font-size:16px;color:#536e72;font-weight:500}.empty-state p{font-size:11px;line-height:1.9;max-width:400px;margin:12px auto 20px}.empty-state.small{padding:28px;font-size:9px}.empty-state.small p{font-size:9px}.device-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:20px}.device-content{padding:22px}.device-row{display:flex;justify-content:space-between;gap:14px;padding:13px 0;border-bottom:1px solid #eff3f3;font-size:10px;color:#8b9ca1}.device-row strong{font-weight:500;color:#537078;text-align:right}.device-note{font-size:9px;color:#90a1a5;line-height:1.9;margin-top:18px}.wiring-table{font-size:10px}.wiring-table td,.wiring-table th{padding:11px 20px}.device-content code,.instruction-box code{background:#edf3f1;padding:2px 4px;border-radius:3px;font-size:10px;color:#548275}.notice{background:#fff9ee;border:1px solid #f1e7d0;border-radius:7px;padding:14px 17px;color:#9b865e;font-size:10px;line-height:1.8;margin-bottom:20px}.classes-list{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:24px}.class-large{padding:24px;display:flex;flex-direction:column;align-items:flex-start;gap:14px}.class-large-top{display:flex;align-items:center;justify-content:space-between;width:100%}.class-large h2{margin:0;font-size:24px;font-weight:550}.class-large p{font-size:10px;color:#96a4aa;line-height:1.8;margin:0}.class-large .button{margin-top:7px}footer{padding:20px 0 25px;border-top:1px solid #e4e9eb;color:#9eabb1;font-size:8px;display:flex;justify-content:space-between;gap:15px}.footer-dot{width:4px;height:4px;background:#8fae99;margin-right:5px}.footer-separator{margin:0 9px;color:#cad2d5}dialog{border:1px solid #e0e9e6;border-radius:14px;max-width:490px;width:calc(100% - 32px);padding:26px;color:var(--ink);box-shadow:0 20px 90px #102f3840}dialog::backdrop{background:#132c365c;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:23px}.dialog-heading h2{font-size:20px;font-weight:600;margin:8px 0 0}.dialog-heading button{color:#9caaac}label{display:block;color:#617b7f;font-size:11px;margin:17px 0 10px}label input,label select{display:block;width:100%;margin-top:8px;border:1px solid #dce6e3;border-radius:7px;padding:12px;outline-color:#83bba8;color:#4d676d;background:white;font-size:12px}.form-hint{font-size:10px;color:#94a3a7;line-height:1.9}.form-error{font-size:10px;color:#c16d5e;line-height:1.8}.dialog-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:23px}.instruction-box{background:#f3f7f5;border-radius:8px;padding:16px;color:#718a86;font-size:10px;line-height:1.9}.instruction-box strong{color:#5b7b71;font-weight:500}.instruction-box ol{padding-left:20px;margin-bottom:0}.instruction-box li{margin-top:7px}.help-sections>div{display:flex;gap:15px;margin:25px 0}.step{font-size:14px;font-weight:600;color:#7ca38e}.help-sections h3{margin:0 0 8px;font-size:12px;font-weight:500}.help-sections p{font-size:10px;color:#8b9fa3;line-height:1.9;margin:0}.full-width{width:100%}.toast{position:fixed;bottom:25px;left:calc(50% + 120px);transform:translate(-50%,20px);background:#244b46;color:#e6f5ed;padding:14px 20px;border-radius:9px;box-shadow:0 8px 25px #19352e25;z-index:100;font-size:11px;max-width:calc(100vw - 35px);opacity:0;pointer-events:none;transition:.25s;line-height:1.7}.toast.show{opacity:1;transform:translate(-50%,0)}.mobile-only{display:none}[hidden]{display:none!important}.muted{color:#9caab0}.inline-link{background:transparent;border:0;padding:0;color:#5d967f;font-size:9px}.warning-text{color:#bd9259}.feed-summary{padding:0 20px 18px;font-size:9px;color:#92a3a8;line-height:1.9}
@media(min-width:1550px){:root{font-size:14px}.stat-card{min-height:140px}.attendance-body{padding:30px}.occupancy-ring{width:190px;height:190px}.camera-frame{height:224px}.class-card{padding:20px}.stat-value{font-size:34px}}
@media(max-width:1200px){.sidebar{width:213px;padding-left:14px;padding-right:14px}.profile{margin-left:-14px;margin-right:-14px;padding:18px 14px}.app-shell{margin-left:213px}main{padding:28px 24px 0}.topbar{padding:0 24px}.class-card{padding:15px 11px;gap:8px}.class-icon{width:30px;height:34px}.class-card .badge{font-size:6px;top:9px;right:7px}.class-card strong{font-size:12px}.class-card small{font-size:7px}.class-card .class-icon svg{width:17px}.dashboard-grid{gap:14px;grid-template-columns:minmax(0,1.3fr) minmax(250px,1fr)}.attendance-body{gap:14px;padding:25px 16px}.occupancy-ring{width:145px;height:145px}.table-heading{flex-wrap:wrap}.stat-card{padding:16px 13px}.stat-title{font-size:8px}.stat-grid{gap:10px}.heading-actions .button{font-size:9px;padding:10px}.page-heading h1{font-size:24px}.toast{left:calc(50% + 100px)}}
@media(max-width:1020px){.sidebar{width:190px;padding-top:27px}.brand{font-size:22px;gap:8px;padding:0 3px}.brand small{font-size:5.5px}.brand-mark{width:31px;height:33px}.workspace{padding:12px 7px;font-size:9px;margin-top:29px}.workspace small{font-size:8px}.nav-label{font-size:7px;margin-left:8px}nav a{font-size:10px;padding:12px 8px;gap:9px}.profile{font-size:9px}.profile small{font-size:7px}.device-mini{padding:14px 10px}.device-mini strong{font-size:9px}.app-shell{margin-left:190px}main{padding:24px 20px 0}.heading-actions{gap:6px}.heading-actions .button{padding:9px;font-size:8px;gap:5px}.page-heading{gap:10px}.page-heading h1{font-size:22px}.page-heading p{font-size:9px}.eyebrow{font-size:7px}.dashboard-grid{grid-template-columns:1fr 1fr;gap:12px}.attendance-body{gap:9px;padding:29px 12px}.occupancy-ring{width:120px;height:120px}.ring-text strong{font-size:27px}.ring-text span{font-size:7px}.ring-text small{font-size:6px}.legend-row{font-size:8px;gap:5px}.camera-frame{height:173px}.stat-value{font-size:25px}.stat-value small{font-size:9px}.stat-title{gap:5px}.stat-title svg{width:12px}.stat-note{font-size:7px}.sparkline{width:45px;bottom:20px;right:10px}.bottom-grid{grid-template-columns:1fr}.panel-head{padding:17px 15px 0}.panel-head h2{font-size:10px}.panel-head p{font-size:7px}.panel-bottom{padding:11px 14px;font-size:7px}.class-card .badge{display:none}.class-detail .right{font-size:7px}.class-detail{font-size:8px}.mode-banner{font-size:8px}.mode-banner strong,.mode-banner button{font-size:8px}.topbar-right{font-size:8px;gap:12px}.topbar{padding:0 20px}.device-grid{grid-template-columns:1fr}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);width:245px;transition:transform .2s;box-shadow:10px 0 35px #142e3322}.sidebar.open{transform:translateX(0)}.app-shell{margin-left:0}.mobile-only{display:inline-flex}.topbar{height:59px;padding:0 16px}.breadcrumbs{gap:10px;font-size:9px}.topbar-right{gap:10px}.topbar-right #current-date{display:none}.top-divider{display:none}main{padding:24px 18px 0}.page-heading{align-items:flex-start;flex-wrap:wrap;margin-bottom:19px}.page-heading h1{font-size:25px}.page-heading p{font-size:10px;line-height:1.8}.heading-actions{padding-top:6px}.heading-actions .button{font-size:9px;padding:10px 12px}.eyebrow{font-size:7px}.mode-banner{padding:11px;font-size:8px;margin-bottom:17px;align-items:flex-start}.mode-banner>div{gap:6px}.mode-banner #mode-description{width:100%;padding-left:12px;font-size:7px}.mode-banner button{font-size:7px;gap:3px;padding-top:0}.class-picker{gap:8px;grid-template-columns:repeat(2,1fr);margin-bottom:21px}.class-card{padding:13px;gap:10px}.class-card strong{font-size:13px}.class-card small{font-size:8px}.class-card .badge{display:block;top:10px;right:10px;font-size:6px}.class-icon{width:35px;height:36px}.class-detail{flex-wrap:wrap;font-size:8px;gap:7px}.class-detail .right{width:100%;margin:2px 0 0}.stat-grid{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px}.stat-card{min-height:120px;padding:16px}.stat-title{font-size:9px;gap:7px}.stat-title svg{width:15px}.stat-value{font-size:29px}.stat-value small{font-size:11px}.stat-note{font-size:8px}.sparkline{width:60px;bottom:17px}.dashboard-grid{grid-template-columns:1fr;gap:16px;margin-bottom:16px}.panel-head{padding:18px 18px 0}.panel-head h2{font-size:12px}.panel-head p{font-size:8px}.attendance-body{gap:25px;padding:24px}.occupancy-ring{width:155px;height:155px}.ring-text strong{font-size:33px}.ring-text span{font-size:8px}.ring-text small{font-size:7px}.legend-row{font-size:9px;padding:12px 0}.panel-bottom{padding:13px 18px;font-size:8px}.camera-frame{height:205px}.camera-empty strong{font-size:11px}.camera-empty p{font-size:9px}.table-heading{padding:18px;gap:14px}.table-tools{width:100%}.search-field{flex:1}.search-field input{width:100%;font-size:9px;min-width:0}.filter-select{font-size:9px;max-width:110px;padding:9px}.search-field{padding:9px}th,td{padding-left:15px;padding-right:15px}.table-footer{padding:13px 15px}.bottom-grid{gap:16px}.scan-demo{padding:18px;gap:12px}.scan-visual{width:38px;height:42px}.scan-content p{font-size:8px}.scan-controls{flex-wrap:wrap}.classes-list{grid-template-columns:1fr}.toast{left:50%;font-size:10px;min-width:230px;text-align:center}footer{font-size:7px;line-height:1.8;flex-direction:column;gap:5px}.device-grid{gap:16px}.brand{font-size:25px}.brand small{font-size:6.8px}.workspace{font-size:11px}.workspace small{font-size:9px}nav a{font-size:11px;padding:13px}.nav-label{font-size:8px}.profile{font-size:10px}.profile small{font-size:8px}.device-mini strong{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
/* Readable dashboard typography at desktop and mobile sizes. */
nav a{font-size:12px}.topbar-right,.breadcrumbs{font-size:11px}.eyebrow{font-size:9px}.page-heading p{font-size:12px;line-height:1.8}.button{font-size:11px}.mode-banner,.mode-banner strong,.mode-banner button{font-size:10px}.class-card strong{font-size:14px}.class-card small{font-size:10px}.class-card .badge{font-size:8px}.class-detail{font-size:11px}.class-detail .right{font-size:9px}.stat-title{font-size:11px}.stat-note{font-size:10px}.panel-head h2,.table-heading h2{font-size:14px}.panel-head p,.table-heading p{font-size:10px}.legend-row{font-size:11px}.legend-row strong{font-size:15px}.ring-text span{font-size:10px}.ring-text small{font-size:9px}.panel-bottom{font-size:10px}.camera-empty strong{font-size:12px}.camera-empty p,.camera-empty button{font-size:10px}.camera-meta{font-size:9px}.camera-status{font-size:8px}table,.student-cell,.uid-text{font-size:11px}th{font-size:9px}.badge,.count-label{font-size:9px}.search-field input,.filter-select{font-size:10px}.search-field input{width:160px}.table-footer{font-size:10px}.pagination button{font-size:10px}.scan-content h3{font-size:12px}.scan-content p,.scan-controls select,.scan-controls .button{font-size:10px}.chart-axis,.chart-caption{font-size:9px}.scan-controls select{max-width:100%}footer{font-size:9px}.form-hint,.instruction-box,.form-error{font-size:11px}.device-note,.device-row{font-size:11px}.class-large p{font-size:12px}.help-sections p{font-size:11px}.help-sections h3{font-size:13px}.button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:1200px){nav a{font-size:11px}.class-card small{font-size:8px}.class-card .badge{font-size:7px}.stat-title{font-size:10px}.stat-note{font-size:9px}.heading-actions .button{font-size:10px}.attendance-body{gap:16px}.legend-row{font-size:10px}.panel-bottom{font-size:9px}}
@media(max-width:1020px){.class-card .badge{display:none}.class-card small{font-size:8px}.stat-title{font-size:9px}.stat-note{font-size:8px}.panel-head h2{font-size:12px}.panel-head p{font-size:9px}.occupancy-ring{width:125px;height:125px}.ring-text span{font-size:8px}.ring-text small{font-size:7px}.legend-row{font-size:9px}.attendance-body{gap:10px}.heading-actions .button{font-size:9px}.topbar-right,.breadcrumbs{font-size:10px}.mode-banner,.mode-banner strong,.mode-banner button{font-size:9px}}
@media(max-width:760px){nav a{font-size:12px}.eyebrow{font-size:8px}.page-heading p{font-size:11px}.class-card .badge{display:block;font-size:7px}.class-card small{font-size:9px}.class-detail .right{font-size:9px}.stat-title{font-size:11px}.stat-note{font-size:10px}.panel-head h2{font-size:14px}.panel-head p{font-size:10px}.occupancy-ring{width:155px;height:155px}.attendance-body{gap:20px;padding:22px}.ring-text span{font-size:10px}.ring-text small{font-size:8px}.legend-row{font-size:10px}.panel-bottom{font-size:9px}.mode-banner,.mode-banner strong,.mode-banner button{font-size:9px}.mode-banner #mode-description{font-size:8px}.scan-controls select{font-size:9px}.scan-controls .button{font-size:9px}.search-field input{width:100%}.table-heading h2{font-size:13px}.table-tools{flex-wrap:wrap}.search-field{min-width:140px}.filter-select{max-width:135px}.heading-actions .button{font-size:10px}.toast{font-size:11px}footer{font-size:8px}}
