:root{--canvas:#f4f6fa;--paper:#fff;--ink:#172b4d;--blue:#2863e9;--soft:#edf3ff;--line:#e3e8ef;--muted:#6b778c;--orange:#db7a24;--red:#c84545;--font:"PingFang SC","Microsoft YaHei",system-ui,sans-serif}*{box-sizing:border-box}body{margin:0;font:14px/1.6 var(--font);color:var(--ink);background:var(--canvas);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;border:0;background:none}button:disabled{opacity:.45;cursor:default}a{color:inherit;text-decoration:none}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible{outline:3px solid #abc3ff;outline-offset:3px}input,select,textarea{width:100%;border:1px solid #d6deea;border-radius:6px;padding:10px 12px;min-height:42px;background:white;outline:none}input:focus,select:focus,textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px #2863e914}input:read-only{background:#f6f8fb}textarea{resize:vertical;min-height:100px}label{display:block;font-weight:500}label input,label select,label textarea{display:block;margin-top:7px}h1,h2,h3,p{margin-top:0}h1{font-size:26px;line-height:1.4;font-weight:650;letter-spacing:-.5px;margin-bottom:7px}h2{font-size:16px;font-weight:650;line-height:1.5;margin-bottom:7px}h3{font-size:15px;margin-bottom:10px}p{margin-bottom:14px}small,.muted{color:var(--muted)}small{font-size:12px}.primary,.secondary,.ghost,.danger{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 15px;border-radius:6px;font-weight:550;white-space:nowrap}.primary{background:var(--blue);color:white}.primary:hover{background:#1c52cf}.secondary{background:white;border:1px solid #d8e0ed}.secondary:hover,.ghost:hover{border-color:#adc3f4;background:#f7faff}.ghost{border:1px solid var(--line);background:white}.danger{background:#fff0f0;color:var(--red)}.text-button{font-size:13px;padding:7px 8px;border-radius:4px;color:var(--blue)}.text-button:hover{background:var(--soft)}.danger-text,.warning-text{color:var(--orange)}.wide{width:100%}.brand{display:flex;align-items:center;gap:11px;font-size:21px;font-weight:650;line-height:1.3}.brand small{display:block;font-size:11px;font-weight:400;letter-spacing:2px;color:var(--muted);margin-top:3px}.brand-mark{display:grid;place-items:center;width:38px;height:40px;border-radius:9px;background:var(--blue);color:white;font-size:23px;font-weight:600}.login-screen{display:grid;grid-template-columns:1.1fr 1fr;min-height:100vh;background:white}.login-story{position:relative;background:#f3f6fd;padding:42px 9%;display:flex;flex-direction:column;min-height:720px;overflow:hidden}.story-body{margin:auto 0;padding:60px 0}.story-body h1{font-size:42px;line-height:1.5;letter-spacing:-1px;max-width:480px}.story-body>p{font-size:16px;color:var(--muted);line-height:1.9;max-width:420px}.workflow-preview{margin-top:38px;border-top:1px solid #dce4f0;max-width:420px}.workflow-row{display:flex;align-items:center;gap:16px;padding:18px 0;border-bottom:1px solid #dce4f0}.workflow-icon{width:43px;height:43px;border:1px solid #d7e4ff;border-radius:9px;display:grid;place-items:center;background:white;color:var(--blue)}.workflow-icon svg{width:22px;height:22px}.workflow-row strong{font-size:15px;font-weight:550}.workflow-row small{display:block;line-height:1.8}.story-footer{font-size:12px;color:var(--muted);margin:20px 0 0}.login-panel{display:flex;align-items:center;justify-content:center;padding:65px 14%;position:relative}.login-form{width:100%;max-width:370px}.login-form h2{font-size:28px;margin-bottom:11px}.login-form>.muted{font-size:14px;margin-bottom:32px}.login-form label{margin:20px 0}.password-wrap{position:relative}.password-wrap input{padding-right:56px}.password-wrap button{position:absolute;right:8px;top:5px;font-size:12px;min-height:34px;color:var(--muted)}.login-form .primary{margin-top:7px;min-height:46px}.login-note{display:flex;gap:10px;border-top:1px solid var(--line);margin-top:30px;padding-top:21px;color:#8090a5;font-size:12px}.login-note p{margin:0}.login-bottom{position:absolute;bottom:30px;color:#95a0af;font-size:12px}.form-error{color:var(--red);font-size:13px;white-space:pre-wrap;line-height:1.7}.form-error:empty{display:none}.app{min-height:100vh}.sidebar{position:fixed;left:0;top:0;bottom:0;width:222px;background:#fff;border-right:1px solid var(--line);padding:25px 15px 18px;overflow-y:auto;z-index:30;scrollbar-width:thin}.sidebar .brand{padding:0 12px 22px}.school-switch{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:0 9px 15px;padding:15px 0}.school-switch small{display:block;font-size:11px;color:#8994a5}.school-switch strong{display:block;font-size:13px;font-weight:500;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nav-group-label{font-size:10px;color:#96a0af;padding:13px 13px 5px}.nav-link{display:flex;align-items:center;gap:11px;padding:9px 13px;border-radius:6px;margin:3px 0;color:#52617a;font-size:13px;min-height:38px}.nav-link:hover{background:#f5f7fb}.nav-link.active{background:var(--soft);color:var(--blue);font-weight:600}.nav-icon{width:17px;height:20px;display:grid;place-items:center}.nav-icon svg{width:17px;height:17px}.sidebar-bottom{display:none}.app-main{margin-left:222px}.topbar{height:67px;padding:0 30px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px}.breadcrumb{font-size:12px;color:#8190a5}.topbar-right{display:flex;align-items:center;gap:17px}.connection{font-size:11px;color:#7c8ba0;white-space:nowrap}.connection:before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#b0bac8;margin-right:6px}.connection.online:before{background:var(--blue)}.account-button{display:flex;align-items:center;gap:8px;font-size:12px}.avatar{width:29px;height:29px;border-radius:50%;background:#eaf0ff;color:var(--blue);display:grid;place-items:center}.icon-button{display:grid;place-items:center;background:#f0f3f9;border-radius:6px;width:36px;height:36px}.menu-button{display:none}#content{padding:28px 30px 34px;max-width:1660px;margin:0 auto;min-height:calc(100vh - 121px)}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px}.today-date{display:none}.page-note{color:var(--muted);font-size:13px;margin-bottom:0}.page-actions{display:flex;gap:10px;align-items:center;padding-top:4px}.page-actions button{font-size:13px}.filterbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 20px}.filterbar>select{flex:1;min-width:130px;max-width:200px;width:auto}.filterbar>.search{width:auto;flex:1.4;min-width:190px}.filterbar input,.filterbar select{min-height:38px;padding:8px 11px;font-size:12px}.filter-dates{display:flex;align-items:center;gap:6px;flex:0 1 296px;min-width:260px;color:#96a0af;font-size:12px}.filter-dates input{min-width:0;width:135px;flex:1}.filter-apply{font-size:12px;min-height:38px}.summary-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:white;border:1px solid var(--line);border-radius:8px;margin:0 0 20px;padding:7px 0}.summary-cell{padding:14px 23px;border-right:1px solid var(--line);min-width:0}.summary-cell:last-child{border-right:0}.summary-cell>span{display:block;font-size:12px;color:var(--muted)}.summary-cell>strong{display:block;font-size:29px;line-height:1.65;font-weight:650;font-variant-numeric:tabular-nums}.summary-cell>small{display:block;font-size:11px;color:#8d98a9;white-space:normal}.summary-cell.accent>strong{color:var(--orange)}.summary-cell:hover{background:#fbfcff}.board{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(285px,1fr);gap:20px;margin-bottom:20px}.panel{background:white;border:1px solid var(--line);border-radius:8px;min-width:0;overflow:hidden}.panel-pad{padding:22px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:15px}.panel-head h2,.panel-head h3{margin:0}.panel-head a{color:var(--blue);font-size:12px;white-space:nowrap}.panel-head.panel-pad{margin:0;border-bottom:1px solid #eef1f6;padding:18px 20px}.chart-panel,.device-board{padding:22px}.usage-top{display:flex;gap:25px;align-items:center;margin-bottom:10px}.usage-main{display:flex;align-items:baseline;gap:9px}.usage-main strong{font-size:31px;font-weight:650;letter-spacing:-.5px;font-variant-numeric:tabular-nums}.usage-main>span{font-size:12px;color:var(--muted)}.usage-secondary{font-size:11px;color:#8491a4;border-left:1px solid var(--line);padding-left:23px}.trend{height:150px;position:relative;margin-top:20px}.trend svg{height:124px;width:100%;overflow:visible}.trend-axis{display:flex;justify-content:space-between;font-size:10px;color:#95a0b1;margin-top:6px}.trend-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fafbfd;border:1px dashed #e0e6f0;border-radius:6px;text-align:center;font-size:12px;color:#8a98ad;line-height:1.9}.trend-empty small{font-size:11px}.device-preview{display:flex;gap:11px;align-items:center;padding:14px 0;border-bottom:1px solid #eef1f6}.device-preview>div:nth-child(2){min-width:0;flex:1}.device-preview strong{display:block;font-size:13px;font-weight:550}.device-preview small{display:block;font-size:10px;line-height:1.8;overflow-wrap:anywhere}.device-preview-icon{width:36px;height:40px;border-radius:6px;background:#f0f4fb;color:#8195b7;display:grid;place-items:center}.device-preview-icon svg{width:21px;height:21px}.device-foot{font-size:11px;color:#8e9bae;margin-top:18px;line-height:1.8}.lower-board{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(270px,1fr);gap:20px}.attention-item{display:flex;gap:13px;padding:17px 0;border-bottom:1px solid #eef1f6}.attention-item:last-child{border-bottom:0}.attention-symbol{width:31px;height:34px;flex-shrink:0;border-radius:6px;display:grid;place-items:center;background:#f1f5fc;color:#6d8bc2}.attention-symbol svg{width:18px;height:18px}.attention-symbol.warn{background:#fff5e9;color:var(--orange)}.attention-item strong{font-size:13px;font-weight:550}.attention-item p{font-size:12px;color:#8d99aa;margin:5px 0 0}.table-shell{width:100%;overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}th{padding:13px 19px;background:#fafbfd;color:#7d8ba0;font-size:12px;font-weight:500;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:17px 19px;border-bottom:1px solid #edf0f5;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfdff}td strong{font-weight:550;display:block}td small{display:block;font-size:11px;margin-top:5px;line-height:1.7;color:#929eaf;max-width:400px;overflow-wrap:anywhere}.cell-actions{display:flex;align-items:center;gap:5px;white-space:nowrap}.pill{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;border-radius:4px;background:#f1f4f8;color:#8995a7;padding:3px 8px;font-size:11px;line-height:1.5}.pill.success{color:#2c63cf;background:#edf3ff}.pill.amber{color:#b46c23;background:#fff5e8}.pill.red{color:#bd4a4a;background:#fff0f0}.pill.muted{color:#8995a7;background:#f2f4f7}.status-dot{display:inline-block;width:6px;height:6px;background:#a9b4c3;border-radius:50%;margin-right:5px}.status-dot.online{background:var(--blue)}.status-dot.unseen{background:#d4dbe6}.pager{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 19px;border-top:1px solid var(--line);color:#8c98a9;font-size:11px}.pager-buttons{display:flex;gap:8px}.pager-buttons button{min-height:32px;padding:5px 12px;font-size:11px}.empty{text-align:center;padding:35px 20px;color:#8c98ab}.empty-symbol{display:inline-grid;place-items:center;width:42px;height:42px;background:#f2f5fb;color:#9aabc5;border-radius:9px;font-size:24px;margin-bottom:12px}.empty h3{font-size:14px;font-weight:500;color:#74839b;margin-bottom:8px}.empty p{font-size:12px;max-width:450px;margin:0 auto 17px;line-height:1.9}.empty .primary{font-size:12px}.section-tabs{display:flex;gap:24px;border-bottom:1px solid #dfe5ee;margin-bottom:20px;overflow:auto}.section-tabs button{position:relative;white-space:nowrap;min-height:44px;padding:9px 1px 13px;color:#8490a4;font-size:13px}.section-tabs button.active{color:var(--blue);font-weight:550}.section-tabs button.active:after{position:absolute;bottom:0;left:0;right:0;height:2px;content:"";background:var(--blue)}.resource-name{display:flex;align-items:center;gap:12px;min-width:200px}.resource-type-icon{flex-shrink:0;width:37px;height:41px;border-radius:6px;background:#eef3ff;color:#6489d8;display:grid;place-items:center}.resource-type-icon svg{width:20px;height:20px}.resource-name strong{font-size:13px}.target-name{font-size:12px;max-width:190px;display:block;overflow-wrap:anywhere}.organization-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.org-item{display:flex;align-items:center;gap:13px}.org-item small{display:block}.org-icon{width:39px;height:42px;display:grid;place-items:center;font-size:22px;color:#7090c5;background:#f0f4fc;border-radius:6px}.service-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 0;border-bottom:1px solid #eef1f6}.service-row:last-child{border-bottom:0}.service-row strong{font-weight:550;font-size:13px}.service-row p{font-size:12px;color:#8d99ab;margin:4px 0 0}.setting-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.storage-usage{font-size:34px;margin:23px 0 14px;font-variant-numeric:tabular-nums}.storage-usage small{font-size:14px}.storage-track{height:6px;background:#edf1f7;border-radius:4px;overflow:hidden;margin-bottom:20px}.storage-track i{height:100%;display:block;background:var(--blue)}.summary-note,.help{font-size:12px;color:#92a0b3;line-height:1.9;margin:13px 0 0}.record-title{display:block;max-width:260px}.review-banner{background:#fff8ee;color:#a9712c;border:1px solid #f5e7d3;border-radius:6px;padding:8px 13px;font-size:12px;margin-bottom:19px}.badge-count{background:var(--soft);padding:3px 7px;border-radius:4px;color:var(--blue);font-size:11px}.loading{min-height:320px;display:flex;align-items:center;justify-content:center;color:#92a0b4;gap:11px}.spinner{width:16px;height:16px;border:2px solid #dfe7f7;border-top-color:var(--blue);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.error-panel{margin:40px auto;padding:35px;max-width:650px;border:1px solid #f0dede;background:white;border-radius:8px}.error-panel p{color:var(--muted)}.app-footer{display:flex;justify-content:space-between;gap:15px;padding:17px 30px;color:#a0aabc;font-size:10px;border-top:1px solid var(--line)}.drawer-shade{position:fixed;inset:0;z-index:60;background:#11203959}.drawer{position:fixed;top:0;right:0;bottom:0;z-index:61;width:min(620px,100%);height:100dvh;max-height:100vh;background:#fff;display:flex;flex-direction:column;box-shadow:-10px 0 45px #152d4a14;animation:slide .15s ease}.drawer-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 27px;border-bottom:1px solid var(--line);background:#fff}.drawer-head .muted{font-size:11px}.drawer-head h2{font-size:20px;margin:5px 0 0}.drawer-close{width:35px;height:35px;border-radius:50%;font-size:22px;background:#f3f5f9;color:#8392a7}.drawer-body{flex:1;min-height:0;overflow-y:auto;padding:26px 27px;overflow-wrap:anywhere;background:#fafbfd}.drawer-foot{border-top:1px solid var(--line);background:white;padding:16px 27px;display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap}.drawer-foot button{font-size:12px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px 15px}.form-grid .full{grid-column:1/-1;min-width:0}.form-grid label{font-size:13px}.form-grid .help{display:block;margin-top:7px;font-weight:400}.form-grid fieldset{border:0;border-top:1px solid var(--line);padding:16px 0 0;margin:0}.form-grid legend{font-weight:550;padding:0 9px 0 0}.checkbox-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-height:230px;overflow-y:auto;padding:3px}.check-label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:400;background:white;border:1px solid var(--line);border-radius:5px;padding:10px;overflow-wrap:anywhere}.check-label input{margin:0;min-height:16px;width:16px;height:16px;flex-shrink:0;accent-color:var(--blue)}.upload-box{display:block;background:white;border:1px dashed #b9c9e4;border-radius:6px;padding:16px;font-size:13px;color:#6082bc}.upload-box input{min-height:30px;font-size:11px;border:0;padding:0;background:none}.upload-note{font-size:11px;color:#8f9db1;line-height:1.8;margin:9px 0}.attachment{display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--line);padding:11px 0;font-size:12px}.attachment>span{flex:1;min-width:0}.attachment small{display:block;font-size:10px}.preview-text{white-space:pre-wrap;padding:20px;background:white;border:1px solid var(--line);border-radius:6px;line-height:1.95;margin:18px 0}.preview-page{border:1px solid var(--line);border-radius:6px;background:white;padding:22px;margin:16px 0}.preview-page small{font-size:11px;color:#96a3b7}.preview-page p{white-space:pre-wrap;margin:9px 0 0;line-height:1.9}.media-preview{margin:17px 0;padding:15px;border:1px solid var(--line);border-radius:6px;background:white;max-width:100%}.media-preview p{font-size:12px;color:#8191a8}.media-preview img{display:block;max-width:100%;max-height:400px;object-fit:contain}.media-preview audio{width:100%}.media-preview iframe{width:100%;height:410px;border:1px solid var(--line)}.media-preview a{display:inline-block;margin-top:10px}.detail-pairs{display:grid;grid-template-columns:85px minmax(0,1fr);gap:15px 12px;font-size:12px;border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:20px}.detail-pairs>span{color:#8e9cb0}.detail-pairs strong{font-weight:500;overflow-wrap:anywhere}.receipt{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:15px 0;border-bottom:1px solid var(--line);font-size:12px}.receipt strong{font-weight:550}.receipt small{display:block;font-size:11px;margin-top:5px}.receipt p{font-size:11px;margin:7px 0 0}.sync-section{margin-top:27px;border-top:1px solid var(--line);padding-top:22px}.provision-code{background:#edf2fc;border:1px solid #d9e4f7;white-space:pre-wrap;word-break:break-all;padding:18px;border-radius:6px;font-size:12px}.toast{position:fixed;bottom:25px;left:calc(50% + 111px);transform:translateX(-50%);z-index:100;background:#233b5e;color:white;border-radius:7px;padding:13px 20px;font-size:13px;max-width:min(580px,90vw);box-shadow:0 6px 30px #233b5e25}.nav-shade{position:fixed;inset:0;background:#142a4860;z-index:25}[hidden],.hide{display:none!important}@keyframes slide{from{transform:translateX(30px);opacity:.7}to{transform:translateX(0);opacity:1}}
@media(min-width:1550px){#content{padding:32px 42px}.topbar{padding:0 42px}.summary-cell{padding-left:29px}.board{grid-template-columns:minmax(0,2fr) minmax(320px,1fr)}}
@media(max-width:1150px){.sidebar{width:202px;padding-left:11px;padding-right:11px}.app-main{margin-left:202px}#content{padding:25px 23px}.topbar{padding:0 23px}.board{grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);gap:16px}.lower-board{grid-template-columns:minmax(0,1.35fr) minmax(250px,1fr);gap:16px}.summary-cell{padding:13px 17px}.chart-panel,.device-board,.panel-pad{padding:19px}.usage-top{gap:17px}.usage-secondary{padding-left:17px}.toast{left:calc(50% + 101px)}.filterbar>select{min-width:120px;max-width:none}}
@media(max-width:900px){.board,.lower-board,.organization-grid,.setting-grid{grid-template-columns:1fr}.summary-strip{grid-template-columns:1fr 1fr}.summary-cell:nth-child(2){border-right:0}.summary-cell:nth-child(-n+2){border-bottom:1px solid var(--line)}.page-head{flex-direction:column;gap:13px}.page-actions{padding-top:0}.connection{display:none}.topbar-right{gap:9px}.filterbar>.filter-dates{flex:1 1 280px;max-width:340px}.login-panel{padding:60px 10%}.story-body h1{font-size:32px}.login-story{padding:30px 9%;min-height:650px}}
@media(max-width:620px){.sidebar{transform:translateX(-100%);width:230px;transition:transform .15s;padding:22px 14px;z-index:30}.sidebar.open{transform:translateX(0)}.app-main{margin-left:0}.topbar{height:60px;padding:0 16px;position:sticky;top:0;z-index:20}.menu-button{display:grid;flex-shrink:0;width:34px;height:34px}.breadcrumb{margin-right:auto;font-size:11px;max-width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.topbar-right{gap:4px}.account-button{font-size:11px;gap:5px}.avatar{width:26px;height:26px}.account-button #account-name{max-width:75px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topbar .text-button{font-size:11px;padding:5px}.nav-link{min-height:43px;font-size:14px}.nav-group-label{font-size:11px}#content{padding:21px 16px 28px}h1{font-size:24px}.page-note{font-size:12px;line-height:1.9}.page-head{margin-bottom:20px}.page-actions{gap:8px}.page-actions button{font-size:12px;min-height:42px;padding:8px 12px}.filterbar{gap:8px;margin-bottom:17px}.filterbar>.search{min-width:100%}.filterbar>select{min-width:calc(50% - 6px);max-width:none}.filterbar input,.filterbar select{min-height:44px;font-size:12px}.filterbar>.filter-dates{flex:1 1 100%;min-width:100%;max-width:none}.filter-apply{min-height:42px;flex:1}.summary-strip{margin-bottom:17px;padding:0}.summary-cell{padding:16px}.summary-cell>span{font-size:11px}.summary-cell>strong{font-size:26px}.summary-cell>small{font-size:10px}.board,.lower-board{gap:17px;margin-bottom:17px}.chart-panel,.device-board,.panel-pad{padding:18px}.usage-main strong{font-size:29px}.usage-secondary{font-size:10px;padding-left:15px}.trend{height:140px}.trend svg{height:114px}.trend-axis{font-size:9px}.table-shell table{min-width:620px}.lower-board .table-shell table{min-width:480px}td{padding:15px 16px}th{padding:12px 16px}.panel-head.panel-pad{padding:17px}.pager{padding:13px 16px;font-size:10px}.pager-buttons button{padding:5px 9px;min-height:35px}.section-tabs{gap:20px;margin-bottom:17px}.section-tabs button{font-size:12px;min-height:44px}.page-actions{flex-wrap:wrap}.app-footer{padding:16px;font-size:9px}.drawer-head{padding:20px}.drawer-head h2{font-size:20px}.drawer-body{padding:23px 20px}.drawer-foot{padding:13px 15px;gap:7px}.drawer-foot button{flex:1;min-height:44px;padding:8px 10px;font-size:12px}.form-grid{grid-template-columns:1fr;gap:18px}.form-grid>*{grid-column:1}.checkbox-list{grid-template-columns:1fr}.drawer-close{width:36px;height:36px}.toast{left:50%;bottom:18px;font-size:12px}.login-screen{display:block}.login-story{min-height:0;padding:28px 27px;background:#f3f6fd}.login-story .brand small{display:inline;letter-spacing:0;margin-left:8px}.story-body{padding:25px 0 0;margin:0}.story-body h1{font-size:25px;margin:0;line-height:1.6}.story-body h1 br{display:none}.story-body>p,.workflow-preview,.story-footer{display:none}.login-panel{padding:35px 27px 80px;display:block}.login-form{max-width:none}.login-form h2{font-size:25px}.login-form>.muted{font-size:12px;margin-bottom:25px}.login-form label{margin:18px 0;font-size:13px}.login-bottom{bottom:20px}.brand-mark{width:35px;height:37px;font-size:22px}.login-note{font-size:11px}.empty{padding:30px 18px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:620px){.card-table .table-shell{overflow:visible}.card-table .table-shell table,.card-table tbody{display:block;min-width:0;width:100%}.card-table thead{display:none}.card-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:15px 16px;padding:19px 16px;border-bottom:1px solid var(--line)}.card-table tbody tr:last-child{border-bottom:0}.card-table td{display:block;padding:0;border:0;font-size:12px;min-width:0}.card-table td:first-child,.card-table td:last-child{grid-column:1/-1}.card-table td:not(:first-child):not(:last-child):before{content:attr(data-label);display:block;color:#99a5b7;font-size:10px;line-height:1.5;margin-bottom:7px}.resource-table td:nth-child(4){grid-column:1/-1}.card-table td small{font-size:10px}.card-table td:last-child .cell-actions{justify-content:flex-end;padding-top:3px}.card-table .cell-actions .text-button{min-height:40px;border:1px solid #dde6f7;background:#f6f9ff;padding:8px 12px;font-size:12px}.resource-name{min-width:0}.resource-name strong{font-size:13px}.target-name{font-size:12px}.resource-type-icon{width:35px;height:39px}}

.document-editor{border:1px solid #dce3ee;border-radius:16px;padding:16px}.document-slide{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.document-slide img{width:100%;max-height:440px;object-fit:contain;background:#f4f6fa}.document-controls{display:flex;justify-content:space-between;margin:12px 0}.media-preview video{width:100%;max-height:400px}@media(max-width:620px){.document-slide{grid-template-columns:1fr}}

.avatar-picker{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;max-height:320px;overflow:auto;padding:6px}.avatar-picker button{padding:4px;background:var(--avatar-color);border-radius:16px;border:3px solid transparent}.avatar-picker button[aria-pressed=true]{border-color:#174a38}.avatar-picker span{display:block;aspect-ratio:1;background-image:url(child-avatars.png);background-size:400% 300%;border-radius:10px}

:root{--primary:#245745;--blue:#245745}.brand-mark,.primary{background:#245745}.invite-dialog{width:min(560px,92vw);border:1px solid #d6e2d8;border-radius:14px;padding:26px}.invite-dialog::backdrop{background:#183f3266}.invite-dialog label{display:block;margin:16px 0}.invite-dialog select{display:block;width:100%;margin-top:6px;padding:10px}.invite-dialog p{font-size:13px;color:#617469}.invite-dialog #invite-error{color:#a13d36}
.enrollment-select{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:18px}.enrollment-select label{display:grid;gap:8px;color:#364954;font-weight:600}.enrollment-select select{width:100%;min-height:44px;border:1px solid #c9ddd5;border-radius:10px;padding:8px 12px;background:#fff}
.enrollment-list{background:#fff;border:1px solid #dbe9e3;border-radius:18px;padding:20px}
.enrollment-list header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.enrollment-list h2{margin:0 0 4px;font-size:19px}.enrollment-list p{margin:0;color:#537166}
.enrollment-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:12px}.enrollment-person{display:grid;justify-items:center;gap:8px;background:#f6fbf8;color:#21463a;border:1px solid #dcece4;border-radius:14px;min-height:100px;padding:10px 8px;cursor:pointer}.enrollment-person strong{overflow-wrap:anywhere}
.enrollment-avatar{display:grid;place-items:center;width:36px;height:36px;background:#dcefe4;color:#285747;border-radius:13px;font-size:16px}
.enrollment-person small{font-size:12px;color:#79572d}.enrollment-person small[data-registered=true]{color:#267647}
.principal-capture .drawer-body{display:flex;flex-direction:column;gap:12px}.principal-capture #face-web-fields{display:grid;gap:10px}.principal-capture #face-web-fields select{min-height:44px;max-width:100%}
.principal-camera{position:relative;isolation:isolate;background:#132d27;border-radius:18px;overflow:hidden;min-height:180px}
.principal-camera video{display:block;width:100%;height:clamp(180px,42vh,380px);object-fit:contain}
.principal-camera:after{content:"";position:absolute;inset:12% 27%;border:2px solid #cceadf;border-radius:47% 47% 42% 42%;box-shadow:0 0 0 100vw #10272345;pointer-events:none}
.enrollment-queue{padding:10px 0;color:#294d42}.enrollment-queue div{display:flex;gap:8px;overflow-x:auto;padding:8px 0}.enrollment-queue span{white-space:nowrap;background:#eaf3ee;padding:7px 11px;border-radius:20px}.enrollment-queue span[aria-current]{background:#286750;color:#fff}.principal-capture button{min-height:44px}
.director-qr{display:grid;justify-items:center;gap:12px;overflow-wrap:anywhere}.director-qr img{border:1px solid #dde9e3;border-radius:12px;background:#fff}
@media(max-width:620px){.enrollment-select{grid-template-columns:1fr;margin-bottom:12px}.enrollment-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.enrollment-list{padding:14px}.enrollment-list header{align-items:flex-start}
#drawer-root .principal-capture{position:fixed;inset:0;width:100%;max-width:none;height:100vh;height:100dvh;max-height:none;border-radius:0;padding-bottom:env(safe-area-inset-bottom)}}

.principal-capture .face-primary{background:#286750;color:#fff;border-color:#286750}.principal-capture .face-primary:hover{background:#1d5440}.principal-capture .cell-actions{gap:10px}
@media(max-width:620px){.principal-capture .face-primary{flex:1 1 170px}.principal-capture .drawer-footer{padding-bottom:max(12px,env(safe-area-inset-bottom))}}

.principal-uploads{margin-bottom:16px}
.principal-upload-actions{display:flex;flex-wrap:wrap;gap:10px}
.principal-upload-actions button{min-height:44px;white-space:nowrap}
@media(max-width:620px){
.topbar .breadcrumb{display:none}
.topbar-right .text-button{white-space:nowrap}
.topbar-right .account-button{min-width:0}
.principal-upload-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.principal-upload-actions button{width:100%}
}
@media(max-width:375px){.topbar .account-button #account-name{max-width:46px}.topbar .text-button{padding-inline:5px}}

.boss-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 24px}
.boss-title h1{margin:0;font-size:clamp(25px,4vw,37px)}
.boss-tools{position:relative}
.boss-tools summary{list-style:none;border:1px solid var(--line,#d8e2dc);background:#fff;border-radius:9px;padding:11px 14px;white-space:nowrap;cursor:pointer}
.boss-tools summary::-webkit-details-marker{display:none}
.boss-tools summary::after{content:" ▾"}
.boss-tools>div{z-index:5;min-width:145px;position:absolute;top:calc(100% + 6px);right:0;display:grid;gap:3px;padding:8px;background:#fff;border:1px solid #d5e1d9;border-radius:11px;box-shadow:0 8px 18px #15352819}
.boss-tools>div>*{display:block;text-align:left;text-decoration:none;padding:9px;color:#244c3d;background:#fff;border:0;border-radius:6px;font:inherit}
.boss-tools>div>*:hover,.boss-tools>div>*[aria-current="page"]{background:#edf4ef}
.boss-work-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:650px;margin:0 0 18px}
.boss-work-tabs button{min-height:52px;border-radius:11px;white-space:nowrap;background:#fff;border:1px solid #d2dfd6;font-weight:650;color:#294e41;justify-content:center}
.boss-work-tabs button[aria-current="page"]{background:#215542;color:#fff;border-color:#215542}
.boss-work-panel h2{margin-top:0}
.boss-director-actions,.boss-filters{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:0 0 20px}
.boss-filters label,.boss-director-actions .school-selector,.boss-filters .school-selector{min-width:160px;max-width:300px;flex:1 1 195px;margin:0}
.boss-filters input{width:100%}
.boss-director-actions button{flex-shrink:0}
.boss-work-panel .table-wrap+.panel-heading{margin-top:20px}
.boss-empty{padding:18px;background:#f4f8f5;border-radius:8px;color:#4b665a}
@media(max-width:620px){.boss-title{margin-bottom:16px}.boss-work-tabs{gap:8px}.boss-work-tabs button{padding-inline:8px}
.boss-filters label,.boss-filters .school-selector{max-width:none}
.boss-director-actions .school-selector{max-width:none;flex-basis:100%}}

:root{--workspace-border:#e4ebe7;--workspace-green:#255744;--workspace-paper:#f6f8f7}
.app-main{background:var(--workspace-paper)}
#content .page-head h1{letter-spacing:-.025em}
.service-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.service-shortcut{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:20px;background:#fff;border:1px solid var(--workspace-border);border-radius:14px;color:#19352a;text-decoration:none}
.service-shortcut:hover,.service-shortcut:focus-visible{border-color:#7ca790;background:#fafffc}
.service-shortcut strong,.service-shortcut small{display:block}.service-shortcut strong{font-size:17px;margin-bottom:4px}.service-shortcut small{color:#596e64}
.shortcut-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;background:#e9f4ee;color:var(--workspace-green)}
.shortcut-icon svg{width:21px;height:21px;stroke:currentColor;stroke-width:1.7;fill:none}
.roster-cards{background:transparent;border:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.roster-cards>.pager,.roster-cards>.empty{grid-column:1/-1}
.roster-card{background:#fff;border:1px solid var(--workspace-border);border-radius:14px;padding:16px}
.roster-card header,.selection-note{display:flex;align-items:center;gap:12px}
.roster-card h2{font-size:18px;margin:0 0 3px}.roster-card small{color:#526a5f}
.roster-card .cell-actions{margin-top:13px;white-space:normal;flex-wrap:wrap;justify-content:flex-start}
.roster-avatar{display:grid;place-items:center;flex:0 0 auto;width:46px;height:46px;border-radius:13px;background:var(--avatar-color)}
.roster-avatar span{display:block;width:32px;height:32px;background-image:url(/school-assets/child-avatars.png);background-size:400% 300%}
.selection-note{margin:0 0 12px;padding:8px 12px;border:1px solid var(--workspace-border);border-radius:10px;background:#fff;justify-content:space-between}
@media(max-width:660px){.service-shortcuts,.roster-cards{grid-template-columns:1fr}.service-shortcut{padding:14px}.roster-card .cell-actions button{min-height:40px}}
