/* EDUHUNT R489.1. Isolated report styles: no changes to existing KPI/card layouts. */
:root{--eduhunt-r489-report:1}
.slr489-entry{display:flex;justify-content:flex-start;margin:0 0 12px}
.slr489-entry a,.slr489-entry button{font:800 15px/1.3 system-ui,sans-serif!important;min-height:44px!important;padding:10px 15px!important;border:1px solid #398abb!important;border-radius:11px!important;color:#fff!important;background:#146b99!important;text-decoration:none!important;display:inline-flex!important;align-items:center!important;gap:8px!important;cursor:pointer}
body[data-portal-role="PRINCIPAL"] .login-engagement-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#slr489{--slr-bg:#081f32;--slr-panel:#0d2b42;--slr-text:#edf6ff;--slr-muted:#abc3d7;--slr-border:#35556c;--slr-heading:#124b70;--slr-zero:#403617;color:var(--slr-text);font:400 15px/1.45 system-ui,sans-serif;min-width:0;max-width:100%;padding-bottom:18px}
body[data-desktop-theme="light"] #slr489,body[data-theme="light"] #slr489,html[data-theme="light"] #slr489{--slr-bg:#fff;--slr-panel:#eff5fb;--slr-text:#17334e;--slr-muted:#4f677d;--slr-border:#b9cada;--slr-heading:#124b70;--slr-zero:#fff2cc}
#slr489 *{box-sizing:border-box}
#slr489 .slr489-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;flex-wrap:wrap}
#slr489 .slr489-toolbar span{color:var(--slr-muted);font-size:13px}
#slr489 button{appearance:none;position:static!important;transform:none!important;inset:auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;font:750 14px/1.3 system-ui,sans-serif!important;min-height:44px!important;min-width:0!important;height:auto!important;width:auto;border:1px solid var(--slr-border)!important;border-radius:10px!important;padding:10px 15px!important;margin:0!important;background:var(--slr-panel)!important;color:var(--slr-text)!important;cursor:pointer;white-space:normal!important;text-decoration:none!important;box-shadow:none!important}
#slr489 button.slr489-pdf{background:#06764f!important;border-color:#17946c!important;color:#fff!important}
#slr489 button:disabled{opacity:.52;cursor:not-allowed}
#slr489 button:not(:disabled):hover{filter:brightness(1.12)}
#slr489 :is(button,input,select,.slr489-table-wrap):focus-visible{outline:3px solid #32cafa!important;outline-offset:3px}
#slr489 .slr489-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;padding:16px;border:1px solid var(--slr-border);background:var(--slr-bg);border-radius:14px;margin-bottom:14px}
#slr489 .slr489-filters label{display:flex;flex:1 1 180px;min-width:0;gap:6px;flex-direction:column;font-weight:800;font-size:13px;color:var(--slr-text)}
#slr489 .slr489-filters label.slr489-search{flex:2 1 220px}
#slr489 :is(select,input){position:static!important;display:block!important;width:100%!important;height:44px!important;min-height:44px!important;padding:9px 11px!important;margin:0!important;color:var(--slr-text)!important;background:var(--slr-panel)!important;border:1px solid var(--slr-border)!important;border-radius:9px!important;font:500 15px/1.3 system-ui,sans-serif!important;opacity:1!important;-webkit-text-fill-color:var(--slr-text)!important}
#slr489 option{color:var(--slr-text);background:var(--slr-panel)}
#slr489 input::placeholder{color:var(--slr-muted);opacity:1}
#slr489 .slr489-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
#slr489Message:empty{display:none}
#slr489 .slr489-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}
#slr489 .slr489-stats>div{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;padding:14px 8px;background:var(--slr-bg);border:1px solid var(--slr-border);border-radius:13px;gap:6px}
#slr489 .slr489-stats b{font-size:25px;line-height:1.1;position:static!important;display:block!important;color:var(--slr-text)}
#slr489 .slr489-stats span{font-size:12px;font-weight:750;text-align:center;color:var(--slr-muted);position:static!important;display:block!important;line-height:1.4}
#slr489 .slr489-legend{font-size:13px;margin:14px 0 10px;color:var(--slr-muted)}
#slr489 .slr489-table-wrap{overflow:auto;max-width:100%;max-height:65vh;position:relative;border:1px solid var(--slr-border);border-radius:12px;isolation:isolate;background:var(--slr-bg)}
#slr489 table.slr489-table{display:table!important;table-layout:auto!important;border-collapse:separate!important;border-spacing:0!important;width:max-content!important;min-width:100%!important;margin:0!important;font:600 14px/1.4 system-ui,sans-serif!important;background:var(--slr-bg)!important;color:var(--slr-text)!important}
#slr489 table.slr489-table :is(thead,tbody,tfoot){display:table-row-group!important}
#slr489 table.slr489-table tr{display:table-row!important;transform:none!important;position:static!important;background:transparent!important;box-shadow:none!important;padding:0!important;border:0!important}
#slr489 table.slr489-table :is(th,td){display:table-cell!important;float:none!important;min-width:66px;width:auto;height:auto!important;white-space:normal!important;word-break:normal!important;vertical-align:middle!important;text-align:center!important;padding:11px 9px!important;border:0!important;border-right:1px solid var(--slr-border)!important;border-bottom:1px solid var(--slr-border)!important;line-height:1.4!important;color:var(--slr-text)!important;background:var(--slr-bg)!important;font-size:14px!important;box-shadow:none!important;transform:none!important}
#slr489 table.slr489-table :is(th,td)::before,#slr489 table.slr489-table :is(th,td)::after{content:none!important;display:none!important}
#slr489 table.slr489-table thead{display:table-header-group!important;position:sticky!important;top:0;z-index:5}
#slr489 table.slr489-table thead th{background:var(--slr-heading)!important;color:#fff!important;font-weight:850;position:static;z-index:2}
#slr489 table.slr489-table .slr489-no{min-width:46px!important;width:46px!important;max-width:46px!important;position:sticky;left:0;z-index:3}
#slr489 table.slr489-table .slr489-school{min-width:230px!important;width:230px!important;max-width:230px!important;text-align:left!important;position:sticky;left:46px;z-index:3;overflow-wrap:anywhere!important}
#slr489 table.slr489-table .slr489-school strong,#slr489 table.slr489-table .slr489-school small{position:static!important;display:block!important;margin:0!important;max-width:100%!important;white-space:normal!important;line-height:1.4!important;text-align:left!important}
#slr489 table.slr489-table .slr489-school small{font-size:11px!important;color:var(--slr-muted)!important;margin-top:4px!important;font-weight:500}
#slr489 table.slr489-table thead .slr489-school,#slr489 table.slr489-table thead .slr489-no{z-index:4}
#slr489 table.slr489-table tbody .slr489-zero,#slr489 table.slr489-table tfoot .slr489-zero{background:var(--slr-zero)!important;font-weight:850}
#slr489 table.slr489-table .slr489-muted{color:var(--slr-muted)!important;font-weight:500}
#slr489 table.slr489-table tfoot :is(th,td){background:var(--slr-panel)!important;font-weight:900}
#slr489 .slr489-notes{font-size:12px;color:var(--slr-muted);line-height:1.55;padding-top:10px}
#slr489 .slr489-notes p{font-size:12px!important;line-height:1.55!important;margin:6px 0}
#slr489 .slr489-loading,#slr489 .slr489-empty,#slr489 .slr489-error{padding:24px 16px;border:1px solid var(--slr-border);border-radius:13px;background:var(--slr-bg)}
#slr489 .slr489-error{border-color:#d57c4f}
@media(max-width:650px){
 #slr489 .slr489-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 #slr489 .slr489-filters{padding:12px;gap:10px}
 #slr489 .slr489-filters label{flex:1 1 130px}
 #slr489 .slr489-actions{width:100%}
 #slr489 .slr489-actions button{flex:1}
 #slr489 table.slr489-table .slr489-no{min-width:36px!important;width:36px!important;max-width:36px!important}
 #slr489 table.slr489-table .slr489-school{min-width:148px!important;width:148px!important;max-width:148px!important;left:36px}
 #slr489 table.slr489-table :is(th,td){padding:9px 7px!important;font-size:13px!important;min-width:56px}
 #slr489 .slr489-toolbar span{width:100%}
}
