:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#06162d;background:#f7faff;--primary:#0864c9;--primary-2:#438ef0;--primary-soft:#eaf3ff;--nav:#0d1d36;--nav-muted:#9eabc0;--border:#d9e1ea;--muted:#52627a;--card:#fff;--danger:#ef2b2f;--success:#00ad72;--warning:#f49a00;--shadow:0 1px 2px #0a223814,0 2px 5px #0a22380a;--radius:15px}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#f7faff}html,body{overflow-x:hidden}body{font-size:14px;-webkit-text-size-adjust:100%;text-rendering:optimizeLegibility}a{color:inherit;text-decoration:none}a:hover{text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}.icon{width:18px;height:18px;display:inline-block;vertical-align:-4px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}img,svg{max-width:100%}svg{height:auto}hr{border:0;border-top:1px solid var(--border);margin:14px 0}
.layout{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--nav);color:#fff;padding:24px 0 18px;position:sticky;top:0;height:100vh;overflow:auto;z-index:10;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;margin:0 16px 27px}.brand-mark{width:42px;height:42px;border-radius:13px;background:#3f8cf2;display:grid;place-items:center}.brand-mark .icon{width:23px;height:23px}.brand-copy{display:grid;line-height:1.08}.brand-copy small{font-size:9px;letter-spacing:.12em;color:#a9c7ee;margin-bottom:4px}.brand-copy strong{font-size:15px}.brand-copy span{font-size:10px;color:#c8d3e5;margin-top:4px}.nav{display:grid;gap:2px}.nav a{color:var(--nav-muted);padding:11px 13px;margin-right:0;border-radius:0 13px 13px 0;font-size:13px;font-weight:700;display:flex;align-items:center;gap:12px;min-height:40px}.nav a:hover{color:#fff;background:#142947}.nav a.active{color:#fff;background:#438ef0}.nav a.subnav{padding-left:47px;font-weight:600;font-size:12px}.nav a.subnav.active{background:transparent;color:#8bbcff}.sidefoot{border-top:1px solid #243650;padding:17px 16px;margin-top:auto;font-size:11px;color:#c5cfde;line-height:1.5}.main{min-width:0;min-height:100vh}.topbar{display:none;position:sticky;top:0;z-index:30;background:#fff;border-bottom:1px solid var(--border);padding:10px 14px;min-height:54px;align-items:center;gap:10px;box-shadow:0 1px 3px #0a223814}.topbar-burger{display:none;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid var(--border);background:#fff;border-radius:9px;color:#09182c;flex:0 0 auto;box-shadow:none}.topbar-burger .icon{width:20px;height:20px}.topbar-title{font-size:15px;font-weight:700;color:#020f22;letter-spacing:-.02em;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}.topbar-actions .icon-btn{color:#09182c}.topbar-avatar{display:none;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:#0864c9;color:#fff;font-size:13px;font-weight:700;letter-spacing:0;text-transform:uppercase;flex:0 0 auto}.sidebar-overlay{display:none;position:fixed;inset:0;background:rgba(13,29,54,.55);z-index:39;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}.sidebar-overlay.is-open{display:block}.content{padding:28px 38px 40px;min-width:0;max-width:1600px;margin:0 auto}.heading{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin:0 0 21px}.heading h1{margin:0;font-size:24px;line-height:1.16;letter-spacing:-.035em;color:#020f22}.heading p{margin:4px 0 0;color:var(--muted);font-size:13px}.eyebrow{font-size:11px;color:#0562c6;text-transform:uppercase;letter-spacing:.09em;margin-bottom:8px}.muted{color:var(--muted)}
.card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:24px;margin-bottom:16px}.card h2,.card h3{margin:0 0 16px;font-size:15px}.grid{display:grid;gap:14px}.metrics{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:22px}.metric{min-height:120px;position:relative;padding:22px 20px}.metric .label{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#445571}.metric .value{font-size:28px;font-weight:800;color:#020f22;margin-top:10px;letter-spacing:-.025em}.metric-icon{position:absolute;right:18px;top:19px;width:45px;height:45px;border-radius:14px;display:grid;place-items:center;background:#e4f0ff;color:#0964ca}.metric-icon.green{background:#dcf6ed;color:#00a96f}.metric-icon.orange{background:#fff0d2;color:#ef9300}.metric-icon.red{background:#ffe3e5;color:#ea3035}.metric-icon.cyan{background:#dff5ff;color:#00a3d9}.metric-note{font-size:11px;color:var(--muted);margin-top:7px}.two{grid-template-columns:repeat(2,minmax(0,1fr))}.three{grid-template-columns:repeat(3,minmax(0,1fr))}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.field{display:grid;gap:6px;min-width:0}.field.full{grid-column:1/-1}label{font-size:12px;font-weight:600;color:#09182c}input,select,textarea{width:100%;border:1px solid #d5dee8;border-radius:10px;background:#fbfdff;color:#102037;padding:10px 12px;min-height:38px;box-shadow:0 1px 2px #0a223814}textarea{resize:vertical;min-height:76px;line-height:1.5}input:focus,select:focus,textarea:focus{outline:1px solid #0068e0;border-color:#0068e0;background:#fff}input[type=checkbox]{width:auto;min-height:0;box-shadow:none}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #0864c9;background:#0864c9;color:#fff;border-radius:9px;padding:9px 14px;font-size:12px;font-weight:700;min-height:36px;white-space:nowrap;box-shadow:var(--shadow)}.btn:hover{background:#0757ad}.btn.outline{background:#fff;color:#06162d;border-color:#d5dee8}.btn.outline:hover{background:#f0f5fb}.btn.ghost{background:transparent;color:#06162d;border-color:transparent;box-shadow:none}.btn.danger,.btn.ghost-danger{background:transparent;border-color:transparent;color:#ef2b2f;box-shadow:none}.btn.small{padding:6px 9px;min-height:30px;font-size:11px}.icon-btn{width:30px;height:30px;padding:0;background:transparent;border:0;color:#071528;box-shadow:none}.icon-btn .icon{width:17px;height:17px}.actions,.filters,.tabs,.toolbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.filters{justify-content:flex-end;margin:0}.filters input{width:290px}.filters select{width:auto;min-width:170px}.toolbar{justify-content:space-between;margin-bottom:18px}.toolbar .heading{margin:0}.tabs{background:#f2f6fa;border-radius:12px;padding:4px;margin-bottom:24px;gap:2px}.tabs a{padding:9px 13px;border-radius:9px;font-size:11px;display:inline-flex;align-items:center;gap:7px;font-weight:600}.tabs a.active{background:#e6edf5;box-shadow:var(--shadow)}
.actions form.stack,td form.stack{display:inline-flex;align-items:center;gap:6px}.actions form.stack .field,td form.stack .field{display:inline-block}.actions form.stack label,td form.stack label{display:none}.actions form.stack select,td form.stack select{min-height:32px;padding:5px 9px;min-width:135px}
.school-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.school-top-three{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.dashboard-demand-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(320px,1fr);gap:16px;align-items:stretch;margin-top:22px}
.demand-overview-card{margin:0;min-width:0;display:flex;flex-direction:column;gap:18px}
.demand-overview-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.demand-overview-head h2{margin:0 0 5px}.demand-overview-head p{margin:0;color:var(--muted);font-size:11px;line-height:1.45}
.demand-overview-head .badge{flex:0 0 auto}
.dashboard-sector-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dashboard-sector-row{border:1px solid #e2eaf3;border-radius:11px;background:#fbfdff;padding:12px;min-width:0}
.dashboard-row-top{display:flex;align-items:baseline;justify-content:space-between;gap:10px;font-size:12px;line-height:1.35}
.dashboard-row-top strong{min-width:0;overflow-wrap:anywhere}.dashboard-row-top>span{font-weight:750;white-space:nowrap}
.dashboard-row-top small{font-size:10px;font-weight:500;color:var(--muted)}
.dashboard-progress{display:block;width:100%;height:8px;border:0;border-radius:99px;overflow:hidden;background:#eaf0f7;margin:10px 0 7px;appearance:none;-webkit-appearance:none;color:#1765c8}
.dashboard-progress::-webkit-progress-bar{background:#eaf0f7;border-radius:99px}.dashboard-progress::-webkit-progress-value{background:#1765c8;border-radius:99px}.dashboard-progress::-moz-progress-bar{background:#1765c8;border-radius:99px}
.dashboard-progress.status-open{color:#f39800}.dashboard-progress.status-progress{color:#0698d0}.dashboard-progress.status-done{color:#00a76d}
.dashboard-progress.status-open::-webkit-progress-value{background:#f39800}.dashboard-progress.status-progress::-webkit-progress-value{background:#0698d0}.dashboard-progress.status-done::-webkit-progress-value{background:#00a76d}
.dashboard-progress.status-open::-moz-progress-bar{background:#f39800}.dashboard-progress.status-progress::-moz-progress-bar{background:#0698d0}.dashboard-progress.status-done::-moz-progress-bar{background:#00a76d}
.dashboard-sector-row>small{color:var(--muted);font-size:10px}
.dashboard-zero-sectors{border-top:1px solid var(--border);padding-top:13px;margin-top:auto}
.dashboard-zero-sectors summary{cursor:pointer;color:#33506f;font-size:11px;font-weight:700;display:flex;justify-content:space-between;gap:10px;list-style:none}
.dashboard-zero-sectors summary::-webkit-details-marker{display:none}.dashboard-zero-sectors summary:before{content:'▸';margin-right:3px}.dashboard-zero-sectors[open] summary:before{content:'▾'}
.dashboard-zero-sectors summary span{color:var(--muted)}.dashboard-zero-sectors ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 16px;list-style:none;margin:14px 0 0;padding:0}
.dashboard-zero-sectors li{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:#465a73;border-bottom:1px solid #edf2f7;padding:5px 0}
.dashboard-zero-sectors li span:first-child{overflow-wrap:anywhere}.dashboard-zero-sectors li span:last-child{font-weight:700}
.demand-overview-empty{border:1px dashed var(--border);background:#fbfdff;border-radius:10px;color:var(--muted);padding:26px 18px;margin:0;text-align:center;font-size:12px}
.dashboard-status-list{display:grid;gap:14px}.dashboard-status-row{padding:13px 14px;border:1px solid #e2eaf3;border-radius:11px;background:#fbfdff}
.dashboard-status-row .dashboard-progress{margin-bottom:0}
.dashboard-status-footer{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:auto;padding-top:16px;border-top:1px solid var(--border)}
.dashboard-status-footer div{border-radius:10px;background:#f5f8fc;padding:13px;min-width:0}.dashboard-status-footer span{display:block;color:var(--muted);font-size:10px;line-height:1.35}.dashboard-status-footer strong{display:block;font-size:20px;margin-top:5px}
.dashboard-history-side{align-content:start;gap:8px}.dashboard-history-side .summary-tile{min-height:68px;padding:9px 11px;gap:11px}.dashboard-history-side .metric-icon{width:36px;height:36px;border-radius:11px;flex:0 0 auto}.dashboard-history-side .metric-icon .icon{width:17px;height:17px}.dashboard-history-side .summary-tile strong{font-size:16px}.dashboard-history-side .summary-tile .muted{font-size:10px}
.dashboard-history-growth{display:inline-flex;align-items:center;gap:4px;border:1px solid #b7d4ff;border-radius:99px;background:#eaf3ff;color:#0757ad;padding:4px 9px;font-size:10px;font-weight:700}.dashboard-history-growth .icon{width:13px;height:13px}
.dashboard-history-svg{min-height:230px}.dashboard-history-svg .history-axis-label,.dashboard-history-svg .history-year-label{font-size:10px;fill:#18283b}.dashboard-history-svg .history-hit{fill:transparent;pointer-events:all;cursor:crosshair}.dashboard-history-svg .history-hit:focus{outline:none}.dashboard-history-svg .history-active-point{fill:#111;pointer-events:none}.dashboard-history-svg .history-tooltip{fill:#071528;font-size:12px;pointer-events:none}.dashboard-history-svg .history-tooltip text{paint-order:stroke fill;stroke:#fff;stroke-width:3px;stroke-linejoin:round}.dashboard-history-svg [hidden]{display:none!important}
.flush-title{margin:0}.pending-text{color:#ed7900}.filters-start{justify-content:flex-start;margin-bottom:12px}.warning-action{color:#f49a00}.danger-action{color:#ef2b2f}.role-heading{margin-top:28px}.full-save{width:100%;margin-top:16px}.sidefoot .logout-button{display:inline-flex;margin-top:8px;padding:6px 10px;color:#f4f8ff;background:#1b365a;border:1px solid #3a5578;box-shadow:none}.sidefoot .logout-button:hover{color:#fff;background:#294970}.static-icon{position:static}.spaced-table{margin-top:16px}.actions-end{justify-content:flex-end}.sidefoot{overflow-wrap:anywhere}.period-group strong{white-space:nowrap}.period-group input[type=date]{width:150px;flex:0 0 150px}
.table-wrap{overflow:auto;max-height:calc(100vh - 205px);padding:0;-webkit-overflow-scrolling:touch;scrollbar-width:thin}.table-card{padding:0;overflow:auto;-webkit-overflow-scrolling:touch}.table-card table{min-width:850px}table{border-collapse:collapse;width:100%;font-size:12px}th,td{padding:15px 13px;text-align:left;vertical-align:middle;border-bottom:1px solid var(--border)}th{background:#edf3f9;position:sticky;top:0;z-index:1;white-space:nowrap;font-size:11px;font-weight:750;color:#071528}tbody tr:last-child td{border-bottom:0}tr:hover td{background:#fbfdff}.cell-title{font-size:12px;font-weight:650;color:#031125}.cell-sub{font-size:9px;color:#2865a6;margin-top:4px;font-family:ui-monospace,Consolas,monospace}.nowrap{white-space:nowrap}.badge{display:inline-flex;align-items:center;padding:4px 10px;border-radius:99px;background:#0b64c9;color:#fff;font-size:10px;font-weight:700;line-height:1.1;white-space:nowrap}.badge.ok{background:#00ad72;color:#fff}.badge.warn{background:#f49a00;color:#101010}.badge.bad{background:#ef3035;color:#fff}.badge.soft{background:#fff2dc;color:#e86c00;border:1px solid #ffc57d}.badge.neutral{background:#edf2f8;color:#203148}.badge-count{background:#edf2f8;color:#233551;margin-left:5px}.alert{border:1px solid #ffba57;background:#fff;border-radius:15px;padding:22px 24px;margin-bottom:16px;box-shadow:var(--shadow)}.alert.error{border-color:#f29ca4;background:#fff1f2;color:#8d2032}.alert.success{border-color:#83cba8;background:#eaf9f1;color:#13583b}.alert-head{font-weight:700;display:flex;align-items:center;gap:8px;margin-bottom:12px}.pending-row{border:1px solid var(--border);border-radius:10px;padding:15px 14px;margin-top:11px;display:flex;align-items:center;justify-content:space-between;gap:15px}.pending-row strong{display:block;font-size:13px}.pending-row small{display:block;color:#445b79;margin-top:5px}.holiday-card{padding:24px}.holiday-pill{display:inline-flex;align-items:center;gap:6px;border:1px solid #d7e1ec;border-radius:99px;padding:4px 10px;font-size:10px;font-weight:600}.empty{text-align:center;color:var(--muted);padding:44px}.stack{display:grid;gap:14px}.inline{display:inline}.print-only{display:none}.narrow{max-width:640px;margin:30px auto}.section-title{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 17px}.section-title h2{margin:0}.soft-panel{border:1px solid var(--border);border-radius:12px;padding:17px;background:#fff}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px 28px}.detail-item label{display:block;text-transform:uppercase;font-size:9px;letter-spacing:.04em;color:#63728a;margin-bottom:5px}.detail-item p{margin:0;white-space:pre-wrap;line-height:1.5}.detail-item.full{grid-column:1/-1}.chart-card{min-height:330px}.chart-empty{display:grid;place-items:center;min-height:180px;color:var(--muted)}.chart-svg{width:100%;height:auto;min-height:230px}.summary-side{display:grid;gap:10px}.summary-tile{border:1px solid var(--border);border-radius:12px;padding:14px;display:flex;gap:13px;align-items:center}.summary-tile strong{font-size:18px;display:block}.summary-tile small{font-size:10px;text-transform:uppercase;color:#5f6e84}.report-chart{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:18px}.period-tabs{padding:10px 13px;display:flex;align-items:center;justify-content:space-between;gap:14px}.period-group{display:flex;gap:3px;align-items:center}.period-link{padding:8px 12px;border-radius:8px;font-size:11px}.period-link.active{background:#edf3f9;box-shadow:var(--shadow)}.delta{display:inline-flex;border-radius:99px;background:#e8f8f2;color:#00a36a;padding:4px 8px;font-size:9px;font-weight:700}.delta.neutral{background:#eff3f8;color:#58708d}
.detail-box{border:1px solid var(--border);border-radius:12px;padding:17px;margin-bottom:18px}.detail-section-title{margin:4px 0 9px;text-transform:uppercase;font-size:10px;letter-spacing:.04em;color:#63728a}
.modal-backdrop{position:fixed;inset:0;background:#000c;z-index:100;display:grid;place-items:center;padding:20px}.modal{background:#f8fbff;border:1px solid #d8e0e9;border-radius:13px;box-shadow:0 18px 70px #0005;width:min(680px,calc(100vw - 32px));max-height:calc(100vh - 40px);overflow:auto}.modal.wide{width:min(890px,calc(100vw - 32px))}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:21px 24px 8px}.modal-head h2{font-size:17px;margin:0}.modal-head p{margin:5px 0 0;color:var(--muted);font-size:12px}.modal-body{padding:14px 24px 20px}.modal-foot{position:sticky;bottom:0;background:#f8fbff;border-top:1px solid #e0e6ee;padding:13px 24px;display:flex;justify-content:flex-end;gap:9px}.modal-close{font-size:20px;color:#5e6b7a}.coord-section{grid-column:1/-1}.coord-title{font-weight:600;border-bottom:1px solid var(--border);padding:4px 0 10px;margin-bottom:12px}.coord-row{display:grid;grid-template-columns:2fr 1fr;gap:10px;margin-bottom:10px}.coord-row label{font-size:9px;text-transform:uppercase;color:#52627a}.report-text{white-space:pre-wrap;line-height:1.62;font-size:12px}.report-form textarea{min-height:255px}.report-list{display:grid;gap:13px}.report-row{border:1px solid var(--border);border-radius:11px;padding:16px;display:flex;justify-content:space-between;gap:15px;align-items:center}.switch{position:relative;display:inline-block;width:36px;height:20px}.switch input{opacity:0;width:0;height:0}.switch span{position:absolute;inset:0;background:#fb9297;border-radius:20px}.switch span:before{content:"";position:absolute;width:16px;height:16px;left:2px;top:2px;background:#fff;border-radius:50%;transition:.15s}.switch input:checked+span{background:#00bb83}.switch input:checked+span:before{transform:translateX(16px)}.switch input:disabled+span{opacity:.55}.enrollment-row{grid-template-columns:96px 1fr 32px;align-items:end;margin-bottom:11px}.enrollment-row .field label{display:none}.admin-card{padding:24px}.auth-wrap{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-aside{background:linear-gradient(145deg,#0d1d36,#0864c9);color:#fff;padding:8vw;display:flex;flex-direction:column;justify-content:center}.auth-aside h1{font-size:2.6rem;line-height:1.1}.auth-form{display:flex;align-items:center;justify-content:center;padding:24px}.auth-form .card{width:min(100%,440px)}
@media(max-width:1100px){.metrics{grid-template-columns:repeat(2,1fr)}.content{padding:25px}.layout{grid-template-columns:205px minmax(0,1fr)}.report-chart{grid-template-columns:1fr}.summary-side{grid-template-columns:repeat(2,1fr)}}
@media(max-width:1050px){.dashboard-demand-grid{grid-template-columns:1fr}}
@media(max-width:760px){.layout{display:block}.topbar{display:flex}.topbar-burger{display:inline-flex}.topbar-avatar{display:inline-flex}.layout>.sidebar{position:fixed;left:0;top:0;bottom:0;width:280px;max-width:82vw;height:100vh;z-index:50;transform:translateX(-100%);transition:transform .22s ease;box-shadow:none;padding-top:18px}.layout>.sidebar.is-open{transform:translateX(0);box-shadow:6px 0 26px #0a223814}.layout>.sidebar .sidebar-brand{display:none}.layout>.sidebar .sidefoot{border-top:1px solid #243650;padding:18px 18px 14px;margin-top:auto;display:block}.layout>.sidebar .sidefoot .logout-button{margin-top:10px;width:100%;justify-content:center;padding:10px;font-size:12px}.brand{margin:0 4px 10px}.nav{display:flex;flex-direction:column;gap:2px;overflow:auto;padding:0 12px 12px}.nav a{white-space:nowrap;padding:12px 14px;border-radius:9px;min-height:44px;font-size:14px}.nav a.subnav{padding-left:14px}.sidefoot{font-size:12px}.content{padding:14px 14px 24px;padding-top:18px}.heading{gap:12px;margin-bottom:16px}.heading h1{font-size:21px;line-height:1.18}.heading>div{flex:1;min-width:0}.heading>div p{font-size:12px;line-height:1.45}.heading>.actions,.heading div+.actions{width:100%;justify-content:flex-start}.heading>.actions .btn,.heading div+.actions .btn{flex:1;min-width:0;justify-content:center}.eyebrow{font-size:10px;margin-bottom:6px}.metrics,.two,.three,.form-grid,.detail-grid,.school-grid,.school-top-three{grid-template-columns:1fr}.school-top-three{grid-column:auto}.field.full,.detail-item.full{grid-column:auto}.filters{justify-content:stretch}.filters input,.filters select{width:100%;max-width:none}.filters .btn{flex:1;justify-content:center}.toolbar{flex-direction:column;align-items:stretch;gap:12px}.toolbar>div,.toolbar>a{width:100%;justify-content:center}.toolbar .actions{justify-content:center;flex-wrap:wrap}.toolbar .heading{margin:0;text-align:center}.toolbar .heading h1{font-size:21px}.pending-row,.report-row{align-items:flex-start;flex-direction:column}.pending-row .actions,.report-row .actions{width:100%;justify-content:stretch}.pending-row .actions .btn,.report-row .actions .btn{flex:1;justify-content:center}.coord-row{grid-template-columns:1fr}.modal-backdrop{padding:8px}.modal{max-height:calc(100vh - 16px);border-radius:11px}.modal.wide{width:min(890px,calc(100vw - 16px))}.modal-body,.modal-head,.modal-foot{padding-left:16px;padding-right:16px}.modal-head{flex-direction:column;align-items:stretch;padding:18px 16px 6px}.modal-head h2{font-size:16px}.modal-close{align-self:flex-end}.modal-foot{flex-wrap:wrap}.modal-foot .btn{flex:1;justify-content:center}.period-tabs{align-items:flex-start;overflow:auto}.summary-side{grid-template-columns:1fr}.auth-wrap{grid-template-columns:1fr}.auth-aside{padding:28px}.auth-aside h1{font-size:1.6rem}.alert{padding:18px 18px}.alert.error,.alert.success{padding-left:18px;padding-right:18px}.tabs{padding:3px;margin-bottom:18px;overflow:auto;flex-wrap:nowrap}.tabs a{flex-shrink:0;font-size:11px;padding:8px 11px}.form-grid{gap:11px}.actions{flex-wrap:wrap}.actions form.stack{display:flex;width:100%}.actions form.stack select{width:100%;min-width:0}.narrow{margin:0;padding:0 14px}.card{padding:18px}.card h2,.card h3{font-size:14px;margin-bottom:14px}.input-stack .field,.actions .field{width:100%}.field input,.field select,.field textarea{font-size:16px;min-height:42px}.btn{min-height:40px;padding:10px 13px;font-size:13px}.btn.small{min-height:34px;padding:7px 10px;font-size:11px}.modal-foot .btn{min-height:42px}.enrollment-row{grid-template-columns:1fr auto;gap:8px}.enrollment-row .field{grid-column:1}.enrollment-row button{grid-column:2;align-self:end;min-height:42px}}
@media(max-width:560px){.dashboard-sector-list,.dashboard-zero-sectors ul{grid-template-columns:1fr}.demand-overview-head{flex-wrap:wrap}.dashboard-status-footer{gap:8px;grid-template-columns:1fr}.dashboard-status-footer div{padding:10px}.content{padding:12px 12px 22px}.heading h1{font-size:19px}.metric .value{font-size:23px}.heading>.actions .btn,.heading div+.actions .btn,.filters .btn,.pending-row .actions .btn,.report-row .actions .btn,.toolbar>div,.toolbar>a,.modal-foot .btn{font-size:12px}}
@media(max-width:420px){.heading h1{font-size:17px}.content{padding:10px 10px 18px}.card{padding:14px;border-radius:12px}.metric .value{font-size:21px}.topbar-title{font-size:14px}.topbar{padding:8px 10px;min-height:50px}.modal-body,.modal-head,.modal-foot{padding-left:12px;padding-right:12px}.auth-card{padding:22px 18px!important}.auth-aside h1{font-size:1.4rem!important}.period-link{padding:7px 10px;font-size:10px}}
@media(min-width:1280px){.content{padding:34px 44px 48px}.heading h1{font-size:26px}.metric .value{font-size:30px}}
@media(min-width:1600px){.content{padding:38px 56px 56px;max-width:1680px}}
body:has(.auth-wrap){background:linear-gradient(90deg,transparent 50%,#f7faff 50%),linear-gradient(145deg,#0d1d36,#0864c9)}
.auth-wrap{width:min(100%,1326px);min-height:100vh;margin:auto;padding:72px clamp(32px,7.85vw,104px);padding-right:clamp(32px,10.1vw,134px);display:grid;grid-template-columns:minmax(0,1fr) minmax(380px,448px);align-items:center;gap:clamp(44px,8vw,120px)}
.auth-aside{background:none;color:#fff;padding:0;display:block}
.auth-brand{display:grid;justify-items:center;width:190px;gap:4px;margin:0 auto 30px;text-align:center}
.auth-logo{display:block;width:150px;max-width:100%;height:auto}
.auth-brand-caption{font-size:11px;line-height:1.35;color:#dce8f7}
.auth-brand-caption strong,.auth-brand-caption span{display:block}
.auth-brand-caption strong{font-size:13px;color:#fff}
.auth-aside h1{font-size:36px;line-height:1.08;letter-spacing:-.035em;margin:0 0 20px;max-width:570px}
.auth-aside h1 span{color:#fff}
.auth-intro{max-width:500px;margin:0 0 31px;color:#dbe7f7;font-size:15px;line-height:1.6}
.auth-features{display:grid;gap:15px}
.auth-feature{display:flex;align-items:center;gap:12px}
.auth-feature-icon{width:36px;height:36px;display:grid;place-items:center;flex:none;border-radius:11px;background:#ffffff29;color:#fff}
.auth-feature-icon .icon{width:17px;height:17px}
.auth-feature strong,.auth-feature small{display:block}
.auth-feature strong{font-size:13px;color:#fff;margin-bottom:3px}
.auth-feature small{font-size:12px;color:#d6e4f4;line-height:1.35}
.auth-form{padding:0;min-width:0}
.auth-form .auth-card{width:100%;margin:0;padding:28px 32px;border-radius:17px;box-shadow:0 9px 13px #07182c12,0 2px 3px #07182c0c}
.auth-card h2{font-size:24px;line-height:1.2;letter-spacing:-.025em;margin:2px 0 5px;color:#071629}
.auth-card-intro{font-size:13px;color:#52627a;margin:0 0 25px}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:3px;border-radius:13px;background:#eef4fa;padding:4px;margin-bottom:25px}
.auth-tabs a{text-align:center;border-radius:10px;padding:8px 10px;font-size:12px;font-weight:700;color:#52627a}
.auth-tabs a.active{background:#fff;color:#081629;box-shadow:0 1px 3px #0a223824}
.auth-fields{gap:18px}
.auth-fields label{font-size:12px;font-weight:650}
.auth-fields input{min-height:37px;background:#fff}
.auth-fields input::placeholder{color:#586981}
.auth-password{position:relative}
.auth-password input{padding-right:46px}
.auth-password-toggle{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:34px;height:32px;border:0;background:transparent;color:#52627a;display:grid;place-items:center;border-radius:7px}
.auth-password-toggle:hover,.auth-password-toggle:focus-visible{background:#edf4fb;color:#1458b7}
.auth-password-toggle .icon{width:16px;height:16px}
.auth-form-meta{text-align:right;margin-top:-5px}
.auth-form-meta a{font-size:12px;font-weight:600;color:#1254ab}
.auth-form-meta a:hover{text-decoration:underline}
.auth-submit{width:100%;min-height:41px;background:#1458b7;border-color:#1458b7;font-size:13px;margin-top:2px}
.auth-submit:hover{background:#0d4a9f}
@media(max-width:880px){body:has(.auth-wrap){background:linear-gradient(180deg,#0d1d36 0,#0864c9 52%,#f7faff 52%)}.auth-wrap{grid-template-columns:1fr;gap:34px;max-width:620px;padding:40px 25px}.auth-aside h1{font-size:30px}.auth-brand{margin-bottom:26px}.auth-intro{margin-bottom:22px}.auth-form .auth-card{max-width:none}}
@media(max-width:480px){.auth-wrap{padding:26px 17px;gap:27px}.auth-aside h1{font-size:28px}.auth-aside h1 br{display:none}.auth-form .auth-card{padding:24px 20px}.auth-feature small{font-size:11px}}
@media(max-width:880px){.auth-brand{width:165px;margin-bottom:20px}.auth-logo{width:110px}}
.sidebar-brand{display:grid;justify-items:center;gap:4px;margin:0 14px 22px;text-align:center}.sidebar-logo{display:block;width:min(100%,190px);height:auto}.sidebar-brand-caption{color:#dce8f7;font-size:11px;font-weight:650;line-height:1.35}
@media(max-width:760px){.sidebar-brand{margin:0 4px 12px}.sidebar-logo{width:115px}}
@media print{.sidebar,.actions,.filters,.tabs,.no-print,.modal-close{display:none!important}.layout,.main{display:block}.content{padding:0;max-width:none}.card,.modal{box-shadow:none}.modal-backdrop{position:static;background:#fff;display:block;padding:0}.modal{width:100%;max-height:none;border:0}.print-only{display:block}}
