/* Exact v1.1 work-area declarations, scoped for future existing-shell mounts. */
.school-workspace{--paper:#fbf4df;--surface:#fffdf5;--white:#fffefa;--ink:#20343e;--muted:#60716d;--line:#d9ddcf;--blue:#087bb3;--deep:#056293;--sky:#e3f3fa;--leaf:#dceba9;--green:#426b38;--green-soft:#eff5de;--yellow:#f7c94b;--yellow-soft:#fff2c2;--pink:#d9427d;--pink-soft:#ffe9ef;--shadow:3px 3px 0 var(--ink);--font:-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;--display:'Trebuchet MS',var(--font);--review:40px;--side:218px}
.school-workspace *{box-sizing:border-box}
.school-workspace{margin:0;background:var(--paper);color:var(--ink);font:14px/1.5 var(--font);-webkit-font-smoothing:antialiased}
.school-workspace[data-role="operator"]{--paper:#fbf5de;--surface:#fffdf6;--ink:#263743;--muted:#58645f;--line:#d9d4bf;--blue:#2d70a0;--sky:#e4f1f8;--yellow:#f4cf62;--green:#4d743d;--green-soft:#eef3de;--pink:#bf4675;--pink-soft:#f9e9ed}
.school-workspace button,.school-workspace input,.school-workspace select,.school-workspace textarea{font:inherit;color:inherit}
.school-workspace button,.school-workspace a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.school-workspace button{cursor:pointer}
.school-workspace a{color:var(--deep);text-decoration:none}
.school-workspace button{background:none;border:0}
.school-workspace h1,.school-workspace h2,.school-workspace h3,.school-workspace h4,.school-workspace p{margin:0}
.school-workspace h1,.school-workspace h2,.school-workspace h3,.school-workspace h4{font-family:var(--display);font-weight:800;line-height:1.17;letter-spacing:-.035em}
.school-workspace h1{font-size:34px}
.school-workspace h2{font-size:23px}
.school-workspace h3{font-size:18px}
.school-workspace p{color:var(--muted)}
.school-workspace small{font-size:12px}
.school-workspace button:disabled{opacity:.5;cursor:not-allowed}
.school-workspace button:focus-visible,.school-workspace a:focus-visible,.school-workspace input:focus-visible,.school-workspace select:focus-visible,.school-workspace textarea:focus-visible,.school-workspace [tabindex]:focus-visible{outline:3px solid var(--pink);outline-offset:3px}
.school-workspace [hidden]{display:none!important}
.school-workspace svg{display:block;max-width:100%}
.school-workspace .icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none;pointer-events:none}
.school-workspace .muted{color:var(--muted)}
.school-workspace .blue-text{color:var(--blue)}
.school-workspace .green-text{color:var(--green)}
.school-workspace .eyebrow{font-size:10px;letter-spacing:1.65px;font-weight:850;text-transform:uppercase;color:var(--deep);margin-bottom:10px}
.school-workspace .micro{font-size:12px;color:var(--muted);line-height:1.6}
.school-workspace .strong{font-weight:750}
.school-workspace .num{font-variant-numeric:tabular-nums}
.school-workspace .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.school-workspace .mt8{margin-top:8px}
.school-workspace .mt16{margin-top:16px}
.school-workspace .mt24{margin-top:24px}
.school-workspace .mb16{margin-bottom:16px}
.school-workspace .flex{display:flex;align-items:center;gap:12px}
.school-workspace .between{justify-content:space-between}
.school-workspace .wrap{flex-wrap:wrap}
.school-workspace .right{margin-left:auto}
.school-workspace .stack{display:grid;gap:16px}
.school-workspace .wide{width:100%}
.school-workspace .min0{min-width:0}
.school-workspace .rule{height:1px;background:var(--line);margin:22px 0}
.school-workspace .align-start{align-items:start}
.school-workspace .nowrap{white-space:nowrap}
.school-workspace .text-center{text-align:center}
.school-workspace .mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}
.school-workspace .brand-logo{width:42px;height:42px;border:2px solid var(--ink);border-radius:12px;overflow:hidden;box-shadow:2px 2px 0 var(--ink);transform:rotate(-4deg);flex:none}
.school-workspace .brand-logo svg{width:100%;height:100%}
.school-workspace .brand-word{font-family:var(--display);font-size:28px;letter-spacing:-1.3px;font-weight:900;line-height:1}
.school-workspace .brand-sub{display:block;font-size:9px;letter-spacing:1.15px;font-weight:750;color:var(--muted);margin-top:6px;text-transform:uppercase}
.school-workspace .avatar{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;flex:none;border:1.5px solid var(--ink);border-radius:11px;background:var(--sky);font-weight:800;font-size:13px}
.school-workspace .avatar.yellow{background:var(--yellow-soft)}
.school-workspace .avatar.green{background:var(--green-soft)}
.school-workspace .avatar.pink{background:var(--pink-soft)}
.school-workspace .person{display:flex;align-items:center;gap:11px;min-width:0}
.school-workspace .person strong{display:block;overflow-wrap:anywhere}
.school-workspace .person small{display:block;color:var(--muted);margin-top:3px}
.school-workspace .btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1.5px solid var(--ink);border-radius:10px;background:var(--surface);font-weight:750;font-size:13px;line-height:1.35;min-height:44px;padding:11px 16px;box-shadow:2px 2px 0 var(--ink);transition:transform .12s,box-shadow .12s;text-align:center}
.school-workspace .btn:hover:not(:disabled){transform:translate(-1px,-1px);box-shadow:3px 3px 0 var(--ink)}
.school-workspace .btn:active:not(:disabled){transform:translate(1px,1px);box-shadow:none}
.school-workspace .btn.blue{background:var(--blue);color:var(--surface)}
.school-workspace .btn.yellow{background:var(--yellow)}
.school-workspace .btn.green{background:var(--leaf)}
.school-workspace .btn.danger{background:var(--pink-soft);color:#9f2852}
.school-workspace .btn.flat{box-shadow:none;background:transparent}
.school-workspace .btn.small{min-height:38px;padding:8px 12px;font-size:12px}
.school-workspace .btn .icon{width:18px;height:18px}
.school-workspace .textbtn{display:inline-flex;align-items:center;gap:7px;color:var(--deep);font-size:13px;font-weight:750;padding:8px 0;min-height:38px;text-align:left}
.school-workspace .textbtn:hover{text-decoration:underline;text-underline-offset:4px}
.school-workspace .textbtn.danger{color:#a62b55}
.school-workspace .textbtn .icon{width:17px;height:17px}
.school-workspace .chip{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:700;line-height:1.4;border:1px solid #bfcbba;border-radius:6px;background:var(--surface);padding:4px 8px;max-width:100%}
.school-workspace .chip .icon{width:13px;height:13px}
.school-workspace .chip.green{background:var(--green-soft);color:var(--green);border-color:#b6c997}
.school-workspace .chip.blue{background:var(--sky);color:var(--deep);border-color:#b1d0df}
.school-workspace .chip.yellow{background:var(--yellow-soft);border-color:#daca91;color:#745b13}
.school-workspace .chip.pink{background:var(--pink-soft);border-color:#e4b4c5;color:#9f2852}
.school-workspace .chip.gray{background:#eeeee5;color:var(--muted)}
.school-workspace .page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:23px}
.school-workspace .page-head p{margin-top:8px;font-size:13px}
.school-workspace .page-head .eyebrow{margin-bottom:7px}
.school-workspace .two-even{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.school-workspace .three-col{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.school-workspace .card{background:var(--surface);border:1.5px solid var(--ink);border-radius:16px;box-shadow:var(--shadow);min-width:0;overflow:hidden}
.school-workspace .card.soft{box-shadow:none;border-color:var(--line)}
.school-workspace .card.blue{background:var(--sky)}
.school-workspace .card.green{background:var(--green-soft)}
.school-workspace .card.yellow{background:var(--yellow-soft)}
.school-workspace .card-body{padding:22px}
.school-workspace .card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 22px;border-bottom:1px solid var(--line)}
.school-workspace .card-head h2{font-size:19px}
.school-workspace .card-head small{color:var(--muted);display:block;margin-top:4px}
.school-workspace .card-foot{padding:12px 22px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:11px;color:var(--muted)}
.school-workspace .card-foot .textbtn{font-size:11px;min-height:28px;padding:3px}
.school-workspace .stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}
.school-workspace .stat{padding:17px 17px 15px;border:1.5px solid var(--ink);border-radius:13px;background:var(--surface);box-shadow:2px 2px 0 var(--ink);min-width:0}
.school-workspace .stat.blue{background:var(--sky)}
.school-workspace .stat.yellow{background:var(--yellow-soft)}
.school-workspace .stat.green{background:var(--green-soft)}
.school-workspace .stat-label{font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:space-between;gap:7px;min-height:18px}
.school-workspace .stat-value{font:800 36px/1.15 var(--display);letter-spacing:-1px;display:block;margin:10px 0 5px}
.school-workspace .stat-caption{font-size:11px;color:var(--muted)}
.school-workspace .segment{display:inline-flex;gap:3px;border:1.5px solid var(--ink);border-radius:9px;padding:3px;background:var(--surface);max-width:100%}
.school-workspace .segment button{padding:7px 12px;font-size:12px;font-weight:700;border-radius:5px;min-height:32px}
.school-workspace .segment button.active{background:var(--ink);color:var(--surface)}
.school-workspace .segment.light button.active{background:var(--sky);color:var(--ink)}
.school-workspace .filterbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.school-workspace .filterbar select{border:1.5px solid var(--ink);border-radius:9px;background:var(--surface);padding:10px 30px 10px 10px;min-height:42px;font-size:12px;max-width:100%}
.school-workspace .meta-row{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:11px;color:var(--muted);margin:11px 0 18px}
.school-workspace .meta-row span{display:inline-flex;gap:6px;align-items:center}
.school-workspace .meta-row .icon{width:14px;height:14px}
.school-workspace .notice{border:1px solid #d7c786;border-radius:11px;background:var(--yellow-soft);padding:13px 15px;display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.65;min-width:0}
.school-workspace .notice p{color:inherit}
.school-workspace .notice .icon{width:18px;height:18px;margin-top:2px}
.school-workspace .notice.blue{background:var(--sky);border-color:#bbd5df}
.school-workspace .notice.green{background:var(--green-soft);border-color:#c4d3a0}
.school-workspace .notice.pink{background:var(--pink-soft);border-color:#e5b2c4}
.school-workspace .notice.gray{background:#f0eddf;border-color:var(--line)}
.school-workspace .notice strong{display:block;margin-bottom:3px}
.school-workspace td .textbtn{font-size:12px}
.school-workspace .tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin-bottom:22px;flex-wrap:wrap}
.school-workspace .tabs button{padding:12px 16px;border-bottom:3px solid transparent;font-size:13px;font-weight:750;min-height:44px}
.school-workspace .tabs button.active{border-bottom-color:var(--blue);color:var(--blue)}
.school-workspace .definition{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:12px 25px;font-size:13px}
.school-workspace .definition dt{color:var(--muted)}
.school-workspace .definition dd{margin:0;font-weight:650;overflow-wrap:anywhere}
.school-workspace .empty{padding:42px 25px;text-align:center;max-width:610px;margin:auto}
.school-workspace .empty .round-icon{margin:0 auto 21px}
.school-workspace .empty h1{font-size:29px}
.school-workspace .empty h2{font-size:24px}
.school-workspace .empty p{max-width:445px;margin:13px auto 22px;line-height:1.7}
.school-workspace .round-icon{width:54px;height:54px;display:grid;place-items:center;border:1.5px solid var(--ink);background:var(--sky);border-radius:15px;box-shadow:2px 2px 0 var(--ink);flex:none}
.school-workspace .round-icon.green{background:var(--leaf)}
.school-workspace .round-icon.yellow{background:var(--yellow)}
.school-workspace .round-icon.pink{background:var(--pink-soft)}
.school-workspace .round-icon .icon{width:26px;height:26px}
.school-workspace .field{display:grid;gap:7px;margin-bottom:17px}
.school-workspace .field label{font-size:12px;font-weight:750}
.school-workspace .field input,.school-workspace .field select,.school-workspace .field textarea{width:100%;min-width:0;background:var(--white);border:1.5px solid #aab8a5;border-radius:9px;padding:12px;min-height:46px;font-size:15px;line-height:1.45}
.school-workspace .field textarea{resize:vertical;min-height:104px}
.school-workspace .field input:focus,.school-workspace .field select:focus,.school-workspace .field textarea:focus{border-color:var(--blue)}
.school-workspace .field input[readonly]{background:var(--paper)}
.school-workspace .field-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.school-workspace .checkfield{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.55;margin:16px 0}
.school-workspace .checkfield input{width:19px;height:19px;flex:none;margin:1px 0 0;accent-color:var(--blue)}
.school-workspace .brand-word{font-size:25px}
.school-workspace .page-head p{font-size:12px}
.school-workspace .stat-caption{font-size:10px}
.school-workspace .filterbar .searchbox{width:100%}
.school-workspace .meta-row>span:last-child{display:none}
.school-workspace .card-head h2{font-size:18px}
.school-workspace .textbtn{font-size:12px}
.school-workspace .empty h1{font-size:27px}
.school-workspace .empty p{font-size:13px}
.school-workspace .checkfield{font-size:12px}
.school-workspace .brand-word{font-size:24px}
.school-workspace .stat-label{font-size:10px}
.school-workspace .person>div{min-width:0}
.school-workspace{padding:24px;min-width:0;overflow-wrap:anywhere;position:relative}
.school-workspace .cards-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.school-workspace .school-rows{display:grid;gap:12px}
.school-workspace .school-row{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line);padding:14px 0;min-width:0}
.school-workspace .school-row-actions{display:flex;flex-wrap:wrap;gap:8px}
.school-workspace dialog{background:var(--surface);color:var(--ink);border:1.5px solid var(--ink);border-radius:16px;box-shadow:var(--shadow);width:min(640px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px}
.school-workspace dialog::backdrop{background:#20343e80}
.school-workspace dialog h2{margin-bottom:20px}
.school-workspace .school-message{margin-bottom:16px}
.school-workspace .school-options{display:grid;gap:12px;margin:16px 0}
.school-workspace .school-options label{display:flex;gap:10px;align-items:center;min-height:44px}
.school-workspace .school-options input{width:20px;height:20px;accent-color:var(--blue)}
@media(max-width:1050px){.school-workspace .cards-three{grid-template-columns:repeat(2,minmax(0,1fr))}.school-workspace .stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.school-workspace{padding:16px}.school-workspace h1{font-size:28px}.school-workspace .cards-three,.school-workspace .two-even,.school-workspace .field-row{grid-template-columns:1fr}.school-workspace .page-head,.school-workspace .school-row{align-items:stretch;flex-direction:column}.school-workspace .page-head-actions{width:100%}.school-workspace .card-body{padding:18px}.school-workspace .school-row-actions .btn{flex:1}.school-workspace .stat-value{font-size:28px}.school-workspace .segment{flex-wrap:wrap}.school-workspace dialog{padding:18px}}

/* Approved v1.1 chart declarations; data is server bounded, no fixed demo dates. */
.school-workspace .chart{height:220px;display:flex;align-items:end;gap:16px;padding:20px 8px 29px 30px;position:relative;border-bottom:1px solid var(--line);background:repeating-linear-gradient(to top,transparent 0,transparent 53px,var(--line) 54px,transparent 55px)}
.school-workspace .chart-bar{height:100%;flex:1;position:relative;display:flex;align-items:end;min-width:0;justify-content:center}
.school-workspace .chart-bar button{width:100%;max-width:46px;border:1px solid var(--ink);border-radius:6px 6px 0 0;background:var(--blue);min-height:3px;position:relative;padding:0}
.school-workspace .chart-bar button.zero{border:0;background:var(--line)}
.school-workspace .chart-bar:nth-child(even) button:not(.zero){background:var(--leaf)}
.school-workspace .chart-bar span{position:absolute;top:100%;padding-top:10px;font-size:11px;color:var(--muted);white-space:nowrap}
.school-workspace .chart-bar b{position:absolute;bottom:100%;width:100%;left:0;font-size:11px;text-align:center;padding-bottom:5px}
.school-workspace .chart-y{position:absolute;left:0;top:9px;color:var(--muted);font-size:10px}
