.ks,.ks-login,.ks-sidebar{font-family:inherit;color:#183049;font-size:14px;line-height:1.55;box-sizing:border-box}
.ks *,.ks-login *,.ks-sidebar *{box-sizing:border-box}
.ks{max-width:1440px;margin:0 auto;padding:16px;min-width:0}
.ks h1{font-size:clamp(1.4rem,3vw,1.85rem);font-weight:700;margin:0 0 4px;line-height:1.25;letter-spacing:-.02em}
.ks h2{font-size:1.15rem;margin:0 0 12px;font-weight:700}.ks h3{font-size:1rem;margin:16px 0 8px}
.ks-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.ks-heading p{margin:0;color:#52657a}
.ks-section{background:#fff;padding:18px;margin-bottom:16px;border:1px solid #dce4ed;border-radius:12px;min-width:0}
.ks p{margin:8px 0 14px}.ks-muted,.ks small{color:#52657a}.ks small{display:block;font-size:12px;margin-top:3px}
.ks label,.ks-login label{display:block;font-weight:600;margin-bottom:5px}.ks input,.ks select,.ks-login input{font:inherit;color:inherit;border:1px solid #98aabe;border-radius:6px;padding:9px 10px;background:#fff;max-width:100%;min-width:0}
.ks input[type=number]{width:100%}.ks input[type=checkbox],.ks input[type=radio]{accent-color:#1761c5;width:17px;height:17px;vertical-align:middle;margin-right:6px}
.ks input:disabled{background:#f1f4f8;color:#52657a}.ks :focus-visible,.ks-login :focus-visible,.ks-sidebar :focus-visible{outline:3px solid #0875cf;outline-offset:3px}
.ks-button{font:inherit;font-weight:600;display:inline-flex;justify-content:center;align-items:center;text-decoration:none;border:1px solid #889bb0;background:#fff;border-radius:6px;padding:8px 13px;min-height:40px;color:#183049;cursor:pointer;gap:5px}
.ks-button:hover{background:#edf4fc;color:#123d70}.ks-primary{background:#155bbe;color:#fff;border-color:#155bbe}.ks-primary:hover{background:#104b9f;color:#fff}.ks-button:disabled{opacity:.55;cursor:not-allowed}
.ks-inline,.ks-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.ks-toolbar{justify-content:space-between;margin-bottom:12px}.ks-inline label{margin:0}.ks-inline input[type=number]{max-width:110px}.ks-inline input[type=text],.ks-inline input[type=search]{flex:1;min-width:180px}.ks-filter{margin-bottom:16px}
.ks-notice{background:#e9f5ee;color:#1d5633;padding:12px 14px;border-radius:6px}.ks-error{background:#fff0ef;color:#9b241a;padding:12px 14px;border-radius:6px}
.ks-table{overflow-x:auto;margin-top:12px}.ks table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}.ks caption{text-align:left;caption-side:top;color:#52657a;padding:0 0 8px}
.ks th,.ks td{padding:10px 12px;border-bottom:1px solid #dce4ed;vertical-align:top}.ks thead th{background:#edf2f8;color:#183049;font-size:12px;font-weight:700}.ks tbody th{font-weight:600}.ks tbody tr:last-child th,.ks tbody tr:last-child td{border-bottom:0}.ks td{font-variant-numeric:tabular-nums}.ks td form{margin:0}
.ks-status{white-space:nowrap;color:#52657a}.ks-done{color:#1d6840;font-weight:600}
.ks-totals{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;padding:12px 0;border-block:1px solid #dce4ed}.ks-totals span{display:block;font-size:12px;color:#52657a}.ks-totals strong{display:block;font-size:1.5rem;font-variant-numeric:tabular-nums;color:#123d70}
.ks-days{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:18px}.ks-days a{padding:10px;color:#183049;background:#f2f5f9;text-decoration:none;border:1px solid #c5d0df;border-radius:6px}.ks-days a[aria-current]{background:#155bbe;color:#fff;border-color:#155bbe}.ks-days strong,.ks-days span{display:block}.ks-days span{font-size:12px}
.ks-session-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:14px 0}.ks-session{border:1px solid #c5d0df;border-radius:8px;padding:12px;min-width:0}.ks-session legend{font-size:1rem;width:auto;float:none;padding:0 5px;margin:0}.ks-session input[type=number]{margin-bottom:10px}.ks-mode{border:0;padding:0;margin:8px 0;display:flex;gap:20px;flex-wrap:wrap}.ks-mode legend{font-size:13px;font-weight:600;margin-bottom:6px}
.ks-session-grid[hidden]{display:none}.ks-scroll-hint{display:none;color:#52657a;font-size:12px}
.ks-sup,.ks-public,.ks-login{background:#f2f5f9;margin:0;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}.ks-sup{padding-left:224px}.ks-sidebar{position:fixed;inset:0 auto 0 0;width:224px;padding:22px 16px;background:#102541;color:#fff;display:flex;flex-direction:column;gap:16px}.ks-sidebar a{display:block;color:#fff;background:#1c3d65;padding:10px 12px;border-radius:6px;text-decoration:none}.ks-sidebar button{font:inherit;background:none;color:#fff;border:1px solid #8ba5c1;border-radius:6px;padding:9px 12px;cursor:pointer}.ks-sidebar form{margin-top:auto}
.ks-public .ks{max-width:1180px}.ks-login-layout{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.ks-login-brand{background:#102b49;color:#fff;padding:clamp(24px,6vw,80px);display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:20px}.ks-login-brand h1{font-size:clamp(2rem,4vw,3.2rem);line-height:1.15;margin:0}.ks-login-brand p{margin:0;line-height:1.7;color:#e3edf8}.ks-login-brand a{color:#c6e8ff}.ks-login-form{width:100%;max-width:540px;margin:auto;padding:32px}.ks-login-form h2{font-size:1.6rem;margin:0 0 10px}.ks-login-form p{color:#52657a;margin:0 0 24px}.ks-login-form input{width:100%;margin-bottom:18px}.ks-login-form button{width:100%;margin-top:6px}.ks-login-form .ks-error{color:#9b241a}
.ks ::selection,.ks-login ::selection{background:#c7e2ff;color:#102541}.ks input,.ks-login input{caret-color:#155bbe}.ks-table{scrollbar-color:#8ca1b9 #edf2f8}
@media(max-width:900px){.ks-totals{grid-template-columns:repeat(2,1fr)}.ks-session-grid{grid-template-columns:1fr}.ks-sup{padding-left:0}.ks-sidebar{position:static;width:auto;display:flex;flex-direction:row;align-items:center;padding:12px;gap:12px;flex-wrap:wrap}.ks-sidebar img{width:36px;height:36px}.ks-sidebar form{margin:0 0 0 auto}.ks-sidebar strong{margin-right:auto}.ks-login-layout{grid-template-columns:1fr}.ks-login-brand{padding:26px;gap:14px}.ks-login-brand h1{font-size:2rem}.ks-login-brand img{width:56px;height:56px}.ks-login-form{padding:26px}}
@media(max-width:560px){.ks{padding:12px}.ks-section{padding:12px}.ks-heading{align-items:flex-start;flex-direction:column}.ks-days{grid-template-columns:repeat(2,1fr)}.ks-inline{align-items:stretch}.ks-inline input[type=text],.ks-inline input[type=search]{min-width:100%;width:100%}.ks-toolbar{align-items:stretch;flex-direction:column}.ks td,.ks th{padding:9px 8px}.ks-sidebar a{width:100%;order:3}.ks-sidebar form{margin-left:0}.ks-totals{gap:12px}.ks-totals strong{font-size:1.3rem}}
@media(prefers-reduced-motion:reduce){.ks *{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:560px){.ks-scroll-hint{display:block}}
.ks.ks-schools{max-width:none;padding:12px 0;font-size:13px}.ks-schools h1{font-size:1.5rem}.ks-schools h2{font-size:1rem;margin-bottom:10px}.ks-schools .ks-section{padding:16px;margin-bottom:12px}.ks-schools .ks-button{font-size:13px;min-height:36px;padding:6px 11px}.ks-schools .ks-heading{margin-bottom:14px}.ks-school-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0;gap:12px}.ks-school-summary div{min-width:0}.ks-school-summary dt{color:#52657a;font-size:12px;font-weight:400}.ks-school-summary dd{margin:2px 0 0;font-size:23px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1.3}.ks-schools .ks-school-note{font-size:12px;margin:10px 0}.ks-districts{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.ks-districts a{display:inline-flex;align-items:center;gap:8px;padding:6px 9px;border:1px solid #c5d0df;border-radius:6px;color:#183049;text-decoration:none;font-size:12px;min-height:34px}.ks-districts a:hover{background:#edf4fc}.ks-districts a[aria-current]{background:#123d70;border-color:#123d70;color:#fff}.ks-districts span{font-weight:600;font-variant-numeric:tabular-nums}.ks-school-tools{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}.ks-school-tools h2{margin:0}.ks-school-filters{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap;padding-bottom:12px;border-bottom:1px solid #dce4ed}.ks-school-filters label{font-size:12px}.ks-school-search{flex:1 1 260px;max-width:540px}.ks-school-search input{width:100%}.ks-school-filters input,.ks-school-filters select{min-height:36px;padding:7px 9px;font-size:13px}.ks-school-table table{table-layout:fixed}.ks-school-table th,.ks-school-table td{overflow-wrap:anywhere;padding:10px;vertical-align:middle}.ks-school-table .ks-bil{width:56px;white-space:nowrap;overflow-wrap:normal;text-align:center;font-variant-numeric:tabular-nums;color:#52657a}.ks-school-table .ks-school-name{width:34%;text-align:left}.ks-school-table .ks-school-action{width:132px}.ks-school-action .ks-button{width:100%;font-size:12px}.ks-deactivate{color:#9b241a;border-color:#c6a19d}.ks-deactivate:hover{background:#fff0ef;color:#9b241a}.ks-inactive{display:table;font-size:11px;font-weight:600;color:#7b3e0b;background:#fff1dc;padding:2px 6px;margin-top:4px;border-radius:4px}.ks-mobile-bil{display:none}.ks-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:760px){.ks-school-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.ks-school-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.ks-school-table table,.ks-school-table tbody{display:block}.ks-school-table tbody>tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;border-top:1px solid #dce4ed;padding:14px 0}.ks-school-table th,.ks-school-table td{display:block;padding:0;border:0;width:auto!important}.ks-school-table .ks-bil{display:none}.ks-school-table .ks-school-name,.ks-school-table .ks-school-action,.ks-school-empty td{grid-column:1/-1}.ks-mobile-bil{display:inline;margin-right:6px;color:#52657a}.ks-school-table td[data-label]:before{content:attr(data-label);display:block;font-size:11px;color:#52657a;margin-bottom:2px}.ks-school-action form{max-width:180px}.ks-schools .ks-button,.ks-districts a{min-height:44px}.ks-school-filters input,.ks-school-filters select{min-height:44px}.ks-school-tools .ks-inline{gap:6px}.ks-school-filters .ks-school-search{max-width:none}}
@media(max-width:400px){.ks-schools .ks-section{padding:12px}.ks-school-tools .ks-inline{width:100%;align-items:stretch}.ks-school-tools .ks-button{flex:1 1 auto}.ks-school-filters>div{width:100%}.ks-school-filters select{width:100%}}
@media(min-width:761px) and (max-width:992px){.ks-schools .ks-button,.ks-districts a{min-height:44px}.ks-school-filters input,.ks-school-filters select{min-height:44px}}

.ks-sup{background:#edf3f7}
.ks-sup .ks-sidebar{background:#15344e;color:#e5eef5;padding:24px 18px}
.ks-sup .ks-sidebar a{background:#234d69;border:1px solid #43667f;font-size:13px}
.ks-sup .ks-sidebar button{min-height:44px;font-size:13px;border-color:#7792a5}
.ks.ks-sup-dashboard{max-width:none;padding:24px;font-size:14px;color:#243f53}
.ks-sup-dashboard .ks-heading{background:#dfeaf3;border:1px solid #c7d9e7;border-radius:12px;padding:22px;margin-bottom:16px;align-items:flex-start}
.ks-sup-dashboard h1{font-size:clamp(1.25rem,2.1vw,1.75rem);line-height:1.35;color:#1e4563;overflow-wrap:anywhere}
.ks-sup-dashboard .ks-heading p{font-size:13px;color:#49657a;margin:6px 0 0}
.ks-sup-year{color:#205967;font-weight:700;font-size:13px;white-space:nowrap;text-align:right}
.ks-sup-year small{color:#3f6878;font-weight:500}
.ks-sup-dashboard .ks-section{padding:20px;border-color:#d0dfe9}
.ks-sup-dashboard h2{font-size:17px;color:#244f68;margin-bottom:14px}
.ks-sup-dashboard h3{font-size:16px;color:#285d68}
.ks-registration-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;background:#edf5f6;border:1px solid #cfdfdf;border-radius:9px;margin:0;overflow:hidden}
.ks-registration-counts>div{padding:14px 18px;border-right:1px solid #cfdfdf;min-width:0}.ks-registration-counts>div:last-child{border-right:0}
.ks-registration-counts dt{color:#456573;font-size:13px;font-weight:500}.ks-registration-counts dd{color:#195766;font-size:28px;font-weight:700;margin:4px 0 0;font-variant-numeric:tabular-nums}
.ks-sup-dashboard .ks-registration p{font-size:12px;margin:10px 0 0;color:#526b7a}
.ks-sup-dashboard .ks-days{gap:10px;margin-bottom:20px;grid-template-columns:repeat(4,minmax(0,1fr))}
.ks-sup-dashboard .ks-days a{background:#f0f5f8;border-color:#c7d9e5;padding:12px;min-width:0}
.ks-sup-dashboard .ks-days a:hover{background:#e0edf1;border-color:#7c9ead}
.ks-sup-dashboard .ks-days a[aria-current]{background:#196775;border-color:#196775;color:#fff}
.ks-sup-dashboard .ks-days strong{font-size:14px}.ks-sup-dashboard .ks-days span{font-size:12px;margin-top:3px}
.ks-sup-dashboard .ks-session-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}
.ks-sup-dashboard .ks-session{background:#f7fafc;border-color:#b9cfdc;padding:14px}
.ks-sup-dashboard .ks-session legend{color:#285d68;font-weight:600;font-size:15px}
.ks-sup-dashboard .ks-session label{font-size:13px}.ks-sup-dashboard input[type=number]{min-height:44px;border-color:#a4bdcd;background:#fff}
.ks-sup-dashboard input:disabled{background:#eaf0f4;color:#526b7a}
.ks-sup-dashboard input[type=checkbox],.ks-sup-dashboard input[type=radio]{accent-color:#196775}
.ks-sup-dashboard .ks-primary{background:#196775;border-color:#196775;min-height:44px;padding:10px 18px}.ks-sup-dashboard .ks-primary:hover{background:#115462}
.ks-sup-dashboard .ks-table{border:1px solid #d4e1ea;border-radius:8px}.ks-sup-dashboard .ks-table table{min-width:640px}
.ks-sup-dashboard caption{padding:10px 12px;background:#f2f7fa}.ks-sup-dashboard thead th{background:#e2edf4;color:#294e66}.ks-sup-dashboard tbody tr:nth-child(even){background:#f7fafc}
.ks-sup-dashboard .ks-totals strong{color:#195766}.ks-sup-dashboard :focus-visible{outline-color:#196775}
.ks-sort{display:flex;align-items:center;justify-content:space-between;gap:6px;color:inherit;text-decoration:none;min-height:30px}.ks-sort:hover{text-decoration:underline;text-underline-offset:3px}
.ks-sort-icon{width:0;height:0;border-inline:4px solid transparent;border-bottom:5px solid #758fa4;flex-shrink:0}.ks-sort-desc{border-bottom:0;border-top:5px solid #285d8b}.ks-sort-asc{border-bottom-color:#285d8b}
.ks-candidate-type{display:inline-block;padding:3px 7px;background:#e7f0f6;color:#2a5b78;border-radius:4px;font-size:12px;font-weight:600}
@media(max-width:1100px){.ks-sup-dashboard .ks-session-grid{grid-template-columns:1fr}}
@media(max-width:900px){.ks-sup .ks-sidebar{padding:12px 16px}.ks.ks-sup-dashboard{padding:16px}}
@media(max-width:560px){.ks.ks-sup-dashboard{padding:12px}.ks-sup-dashboard .ks-heading{padding:16px;gap:10px}.ks-sup-year{text-align:left}.ks-sup-dashboard .ks-section{padding:14px}.ks-registration-counts{grid-template-columns:1fr}.ks-registration-counts>div{display:flex;justify-content:space-between;align-items:center;gap:12px;border-right:0;border-bottom:1px solid #cfdfdf;padding:10px 14px}.ks-registration-counts>div:last-child{border-bottom:0}.ks-registration-counts dd{font-size:24px;margin:0}.ks-sup-dashboard .ks-days{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ks-sup-dashboard .ks-days a{padding:10px}.ks-sup-dashboard .ks-primary{width:100%}}
@media(pointer:coarse){.ks-sort{min-height:44px}}

.ks-totals-with-centres{grid-template-columns:repeat(5,minmax(0,1fr))}

/* Admin attendance pages share a muted blue surface. */
.ks.ks-admin{--ks-ink:#203c56;--ks-muted:#526b80;--ks-line:#d5e1ec;--ks-blue:#285d8b;max-width:none;padding:8px 0;font-size:13px;color:var(--ks-ink)}
.ks-admin .ks-heading{padding:20px 22px;margin-bottom:14px;border:1px solid #cbdce9;border-radius:12px;background:#e3edf6;align-items:center}
.ks-admin h1{font-size:clamp(1.35rem,2.2vw,1.75rem);color:#193e60;line-height:1.25;margin:0 0 6px}
.ks-admin .ks-heading p{font-size:13px;color:#48647d;margin:0;line-height:1.5}
.ks-admin h2{font-size:16px;line-height:1.4;margin:0 0 14px;color:#234c70}
.ks-admin .ks-section{border-color:var(--ks-line);border-radius:12px;padding:18px;margin-bottom:14px}
.ks-admin .ks-muted,.ks-admin small,.ks-admin caption{color:var(--ks-muted)}
.ks-admin .ks-button{font-size:13px;min-height:38px;padding:7px 12px;border-color:#a9bfd2;border-radius:7px;color:#285579;background:#f6f9fc;line-height:1.4}
.ks-admin .ks-button:hover{background:#e4eef7;border-color:#789bb8;color:#193e60}
.ks-admin .ks-primary{background:var(--ks-blue);border-color:var(--ks-blue);color:#fff}
.ks-admin .ks-primary:hover{background:#214e75;border-color:#214e75;color:#fff}
.ks-admin .ks-button:disabled{opacity:.55;cursor:not-allowed}
.ks-admin input,.ks-admin select{font-size:13px;min-height:38px;border-color:#adbfce;border-radius:7px;padding:7px 10px;background:#fff}
.ks-admin input::placeholder{color:#60778b;opacity:1}
.ks-admin label{font-size:12px;color:#3d5c76}
.ks-admin :focus-visible{outline:3px solid #326f9f;outline-offset:3px}
.ks-admin .ks-filter{padding:12px 16px;background:#edf3f8;border:1px solid var(--ks-line);border-radius:10px;gap:10px;margin-bottom:14px}
.ks-admin .ks-filter select{min-width:200px}
.ks-admin .ks-totals,.ks-admin .ks-school-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border:1px solid var(--ks-line);border-radius:10px;background:#edf3f8;padding:0;margin:0 0 12px;overflow:hidden}
.ks-admin .ks-totals>div,.ks-admin .ks-school-summary>div{padding:14px 16px;min-width:0;border-right:1px solid var(--ks-line)}
.ks-admin .ks-totals>div:last-child,.ks-admin .ks-school-summary>div:last-child{border-right:0}
.ks-admin .ks-totals span,.ks-admin .ks-school-summary dt{font-size:12px;line-height:1.5;font-weight:500;color:#48647d}
.ks-admin .ks-totals strong,.ks-admin .ks-school-summary dd{font-size:25px;line-height:1.3;font-weight:700;color:#234f76;margin:4px 0 0;font-variant-numeric:tabular-nums}
.ks-admin .ks-school-note{font-size:12px;line-height:1.6;margin:8px 0 12px}
.ks-admin .ks-districts{gap:7px;margin-top:12px}
.ks-admin .ks-districts a{background:#f4f7fb;border-color:#d0dfeb;border-radius:7px;padding:7px 10px;color:#355975;min-height:36px;font-size:12px;gap:9px}
.ks-admin .ks-districts a:hover{background:#e3edf6;border-color:#93b0c8}
.ks-admin .ks-districts a[aria-current]{background:#2d608d;color:#fff;border-color:#2d608d}
.ks-admin .ks-districts span{padding:1px 6px;background:#e1eaf3;border-radius:4px;color:#294e6b;line-height:1.5}
.ks-admin .ks-districts a[aria-current] span{background:#fff;color:#285579}
.ks-admin .ks-school-tools{margin-bottom:14px;gap:10px}.ks-admin .ks-school-tools h2{margin:0}
.ks-admin .ks-school-filters{padding:12px;background:#f1f5f9;border:1px solid var(--ks-line);border-radius:9px;gap:10px}
.ks-admin .ks-school-search{max-width:none}
.ks-admin .ks-table,.ks-admin .ks-school-table{border:1px solid var(--ks-line);border-radius:9px;overflow-x:auto;scrollbar-color:#8ea8bf #edf3f8}
.ks-admin .ks-table{margin-top:16px}.ks-admin .ks-table table{min-width:650px}
.ks-admin table{font-size:13px;line-height:1.55}
.ks-admin th,.ks-admin td{padding:11px 12px;border-color:#e0e8f0;vertical-align:middle}
.ks-admin thead th{background:#dfeaf4;color:#294e6d;font-size:12px;line-height:1.5}
.ks-admin caption{padding:10px 12px;background:#f5f8fb;border-bottom:1px solid var(--ks-line);font-size:12px}
.ks-admin tbody tr:nth-child(even){background:#f7f9fc}.ks-admin tbody tr:hover{background:#edf4fa}
.ks-admin tbody th{font-weight:600}.ks-admin .ks-school-name{color:#284c6b}
.ks-admin .ks-school-table .ks-sr-only{padding:0;border:0}
.ks-admin .ks-school-action .ks-button{font-size:12px;background:#fff}
.ks-admin .ks-deactivate{color:#8c3c35;border-color:#d5b6b2}.ks-admin .ks-deactivate:hover{background:#fbefed;color:#7a2c26;border-color:#b98c86}
.ks-admin .ks-status{display:inline-block;font-size:12px;padding:3px 7px;border-radius:4px;background:#ecf0f5;color:#52677b}
.ks-admin .ks-done{background:#e5f1eb;color:#2c654a;font-weight:600}
@media(max-width:1100px){.ks-admin .ks-school-table .ks-school-name{width:30%}.ks-admin .ks-school-table .ks-school-action{width:120px}}
@media(max-width:900px){.ks-admin .ks-totals,.ks-admin .ks-school-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.ks-admin .ks-totals>div:nth-child(2),.ks-admin .ks-school-summary>div:nth-child(2){border-right:0}.ks-admin .ks-totals>div:nth-child(-n+2),.ks-admin .ks-school-summary>div:nth-child(-n+2){border-bottom:1px solid var(--ks-line)}.ks-admin .ks-button,.ks-admin .ks-districts a,.ks-admin input,.ks-admin select{min-height:44px}}
@media(max-width:760px){.ks-admin .ks-school-table{border:0;border-radius:0;overflow:visible}.ks-admin .ks-school-table tbody>tr{background:#f6f9fc;padding:14px;border:1px solid var(--ks-line);border-radius:9px;margin-bottom:10px}.ks-admin .ks-school-table tbody>tr:last-child{margin-bottom:0}.ks-admin .ks-school-table th,.ks-admin .ks-school-table td{padding:0;border:0}.ks-admin .ks-school-table td[data-label]:before{color:#526b80}.ks-admin .ks-school-action form{max-width:none}.ks-admin .ks-school-action .ks-button{width:auto;min-width:120px}}
@media(max-width:560px){.ks.ks-admin{padding:4px 0}.ks-admin .ks-heading{padding:16px;align-items:stretch;gap:12px}.ks-admin .ks-heading .ks-button{align-self:flex-start}.ks-admin .ks-section{padding:14px;margin-bottom:12px}.ks-admin .ks-totals>div,.ks-admin .ks-school-summary>div{padding:12px}.ks-admin .ks-totals strong,.ks-admin .ks-school-summary dd{font-size:23px}.ks-admin .ks-school-tools{align-items:flex-start;gap:12px}.ks-admin .ks-school-tools .ks-inline{width:100%;gap:8px}.ks-admin .ks-school-tools .ks-button{flex:1 1 auto}.ks-admin .ks-school-filters{gap:8px}.ks-admin .ks-school-filters>div{width:100%}.ks-admin .ks-school-filters select{width:100%}.ks-admin .ks-filter{align-items:stretch;gap:8px}.ks-admin .ks-filter label{width:100%;margin:0}.ks-admin .ks-filter select{flex:1;min-width:0}.ks-admin .ks-districts a{font-size:11px;padding:7px 8px}.ks-admin .ks-table{margin-top:12px}}

.ks-admin .ks-totals-with-centres{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:900px){.ks-totals-with-centres,.ks-admin .ks-totals-with-centres{grid-template-columns:repeat(2,minmax(0,1fr))}.ks-totals-with-centres>div:last-child{grid-column:1/-1}.ks-admin .ks-totals-with-centres>div:nth-child(-n+4){border-bottom:1px solid var(--ks-line)}.ks-admin .ks-totals-with-centres>div:nth-child(even){border-right:0}}

/* Attendance report: restrained semantic colours and readable charts without JS. */
.ks-report .ks-heading{background:#e8f1ef;border-color:#c6dbd5}.ks-report h1{color:#214d4b}.ks-report h2{color:#294d56}
.ks-report .ks-report-filter{align-items:flex-end;gap:12px;background:#f4f7f6;border-color:#d1ded9;padding:14px 16px}
.ks-report-filter>div{min-width:180px}.ks-report-filter label{margin:0 0 5px}.ks-report-filter select{width:100%}
.ks-filter-scope span,.ks-filter-scope strong{display:block}.ks-filter-scope span{font-size:12px;color:#526b68;margin-bottom:5px}.ks-filter-scope strong{min-height:38px;display:flex;align-items:center;font-size:13px;color:#2c5551}
.ks-report .ks-filter-context{flex-basis:100%;margin:0;padding-top:8px;border-top:1px solid #dce6e1;color:#526b68;font-size:12px}
.ks-report .ks-primary{background:#246b63;border-color:#246b63}.ks-report .ks-primary:hover{background:#1b554e;border-color:#1b554e}
.ks-report .ks-totals>div:nth-child(1){background:#eaf4ed}.ks-report .ks-totals>div:nth-child(2){background:#faeeee}.ks-report .ks-totals>div:nth-child(3){background:#edf2f8}.ks-report .ks-totals>div:nth-child(4){background:#e8f3f1}.ks-report .ks-totals>div:nth-child(5){background:#f2eef8}
.ks-report .ks-totals>div:nth-child(1) strong{color:#286345}.ks-report .ks-totals>div:nth-child(2) strong{color:#994c55}.ks-report .ks-totals>div:nth-child(3) strong{color:#375d80}.ks-report .ks-totals>div:nth-child(4) strong{color:#21685f}.ks-report .ks-totals>div:nth-child(5) strong{color:#6b5285}
.ks-report .ks-totals span{color:#4e6270}
.ks-report-visuals{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:28px;margin:20px 0;padding:20px 0;border-block:1px solid #dbe5e3;align-items:start}
.ks-report-visuals figure{margin:0;min-width:0}.ks-report-visuals figcaption{font-size:16px;font-weight:700;line-height:1.4;color:#294e53}
.ks-report .ks-chart-description{font-size:12px;color:#526b70;margin:5px 0 12px}
.ks-chart-legend{display:flex;flex-wrap:wrap;gap:7px 14px;font-size:11px;color:#4f626c;margin-bottom:14px}
.ks-chart-legend>span{display:inline-flex;align-items:center;gap:5px}.ks-chart-legend>span:before{content:'';width:9px;height:9px;border-radius:2px;flex-shrink:0}
.ks-chart-present,.ks-legend-present:before{background:#2c866b}.ks-chart-absent,.ks-legend-absent:before{background:#ca6d7a}.ks-chart-na,.ks-legend-na:before{background:#507e9e}.ks-chart-pending,.ks-legend-pending:before{background:#b9872b}
.ks-chart-rows{list-style:none;margin:0;padding:0;display:grid;gap:15px}.ks-chart-rows>li{min-width:0}
.ks-chart-row-heading{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:6px;font-size:12px;color:#34545d}.ks-chart-row-heading strong{font-weight:600;overflow-wrap:anywhere}.ks-chart-row-heading>span{white-space:nowrap;font-size:11px;color:#526a70;font-variant-numeric:tabular-nums}
.ks-chart-track{display:flex;height:11px;border-radius:4px;background:#edf1f4;overflow:hidden}.ks-chart-track>span{display:block;height:100%;min-width:0}
.ks-report .ks-chart-values{font-size:11px;color:#536a70;margin:5px 0 0;font-variant-numeric:tabular-nums;line-height:1.5}
.ks-chart-empty{padding:14px;background:#f6f4ec;color:#6e5c36;border-radius:6px;font-size:13px}
.ks-report thead th{background:#edf3f2;color:#31555e}
@media(max-width:1000px){.ks-report-visuals{grid-template-columns:1fr;gap:22px}.ks-report-visuals figure+figure{padding-top:20px;border-top:1px solid #dbe5e3}}
@media(max-width:560px){.ks-report .ks-report-filter{padding:12px;gap:10px}.ks-report-filter>div{width:100%;min-width:0}.ks-report-filter>.ks-button{flex:1}.ks-report-visuals{margin:16px 0;padding:16px 0}.ks-chart-legend{font-size:11px;gap:7px 10px}.ks-chart-row-heading{gap:8px}.ks-chart-track{height:12px}}

.ks-status-tools{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0}
.ks-status-tools form{margin:0}.ks-report .ks-status-tools p{font-size:12px;color:#526b70;margin:0}.ks-status-tools label{margin:0}
.ks-pagination{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-top:14px}.ks-pagination a[aria-current]{background:#246b63;border-color:#246b63;color:#fff}
.ks-report .ks-session-aggregate{margin:0;padding-bottom:20px}.ks-session-aggregate figcaption,.ks-daily-session-grid figcaption{font-size:16px;font-weight:700;color:#294e53;margin-bottom:12px}
.ks-session-aggregate .ks-session-chart-rows{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.ks-daily-session-visuals{padding-top:18px;border-top:1px solid #dbe5e3}.ks-report .ks-daily-session-visuals h3{margin:0 0 16px;font-size:16px;color:#294e53}
.ks-daily-session-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.ks-daily-session-grid figure{margin:0;min-width:0}.ks-daily-session-grid figcaption{font-size:14px}
.ks-share-panel summary{cursor:pointer;font-weight:700;font-size:15px;color:#294e53;line-height:1.6}.ks-share-panel summary small{display:inline;margin-left:8px;font-weight:400;font-size:12px}
.ks-report .ks-share-panel>p{font-size:12px;margin:12px 0}.ks-share-panel>.ks-inline{margin:12px 0}.ks-share-panel .ks-notice{margin:12px 0}
.ks-admin .ks-share-panel .ks-table table{min-width:0}.ks-share-panel th,.ks-share-panel td{font-size:12px;padding:8px}
.ks-share-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.ks-share-actions .ks-button{font-size:12px;min-height:32px;padding:5px 8px}.ks-share-actions form{margin:0}.ks-share-actions input[type=text]{width:100%}
@media(max-width:900px){.ks-session-aggregate .ks-session-chart-rows{grid-template-columns:1fr}.ks-daily-session-grid{grid-template-columns:1fr}.ks-share-actions .ks-button{min-height:44px}}
@media(max-width:560px){.ks-status-tools{align-items:flex-start;gap:10px}.ks-status-tools .ks-inline{gap:7px}.ks-pagination{gap:5px}.ks-share-panel summary small{display:block;margin-left:0}.ks-share-panel>.ks-inline{align-items:flex-end}.ks-share-panel>.ks-inline>label{width:100%}.ks-share-panel .ks-table{overflow-x:auto}.ks-share-actions{gap:5px}}

/* Different chart types retain the same attendance colours and exact numeric labels. */
.ks-report .ks-totals>div{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}
.ks-report .ks-report-visuals{grid-template-columns:minmax(230px,.8fr) minmax(0,1.5fr)}
.ks-pie-figure{text-align:center}.ks-attendance-pie{display:block;width:100%;max-width:220px;height:auto;margin:0 auto}.ks-report .ks-pie-rate{font-size:25px;font-weight:700;color:#21685f;margin:0 0 12px;font-variant-numeric:tabular-nums}.ks-pie-rate>span{display:block;font-size:12px;font-weight:400;color:#526b70}.ks-pie-legend{justify-content:center}
.ks-trend-chart{display:block;width:100%;max-width:620px;height:auto;margin:12px 0 16px}.ks-trend-grid{stroke:#dce5e8;stroke-width:1}.ks-trend-axis{font-size:11px;font-family:inherit;fill:#526b70}.ks-trend-line{stroke:#3d7b86;stroke-width:2.5;fill:none;vector-effect:non-scaling-stroke}.ks-trend-dot{fill:#2c866b;stroke:#fff;stroke-width:2}
.ks-day-timeline{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}.ks-day-timeline>li{padding:0 0 10px;border-bottom:1px solid #e2e9e7}
.ks-district-ranking{grid-column:1/-1;border-top:1px solid #dbe5e3;padding-top:20px}.ks-ranking-rows{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 28px}.ks-ranking-single{grid-template-columns:1fr}.ks-district-rank{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;margin-right:8px;border-radius:5px;background:#edf2f7;color:#375d80;font-size:12px;font-variant-numeric:tabular-nums}
.ks-session-aggregate .ks-column-chart{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.ks-column-chart>li{min-width:0;text-align:center}.ks-column-pair{height:150px;display:flex;align-items:flex-end;justify-content:center;gap:16px;margin:28px 0 12px;border-bottom:1px solid #cbd9dd}.ks-column-pair>span{position:relative;width:40px;max-width:32%;border-radius:4px 4px 0 0}.ks-column-pair>span>span{position:absolute;bottom:calc(100% + 5px);left:50%;transform:translateX(-50%);font-size:11px;color:#34545d;white-space:nowrap;font-variant-numeric:tabular-nums}.ks-column-chart .ks-chart-row-heading{display:block;text-align:center}.ks-column-chart .ks-chart-row-heading strong,.ks-column-chart .ks-chart-row-heading>span{display:block}
.ks-session-heatmap{display:grid;gap:6px}.ks-heat-row{display:grid;grid-template-columns:minmax(100px,1.1fr) repeat(3,minmax(0,1fr));gap:6px;align-items:stretch}.ks-heat-row>[role=columnheader],.ks-heat-row>[role=rowheader]{display:flex;align-items:center;font-size:12px;font-weight:600;color:#34545d;padding:8px}.ks-heat-row>[role=columnheader]{justify-content:center;background:#f2f6f7;border-radius:5px}.ks-heat-cell{padding:13px 8px;text-align:center;border-radius:5px;color:#224f49;min-width:0}.ks-heat-cell>strong{display:block;font-size:16px;font-variant-numeric:tabular-nums}.ks-heat-cell>span{display:block;font-size:11px;margin-top:4px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.ks-heat-empty{background:#edf1f4;color:#526b70}
@media(max-width:1000px){.ks-report .ks-report-visuals{grid-template-columns:1fr}.ks-pie-figure{padding-bottom:0}.ks-ranking-rows{grid-template-columns:1fr}}
@media(max-width:560px){.ks-day-timeline{grid-template-columns:1fr}.ks-session-aggregate .ks-column-chart{gap:10px}.ks-column-pair{height:115px;gap:12px}.ks-column-pair>span{width:24px}.ks-column-pair>span>span{font-size:10px}.ks-heat-row{grid-template-columns:72px repeat(3,minmax(0,1fr));gap:4px}.ks-heat-cell{padding:10px 4px}.ks-heat-cell>strong{font-size:13px}.ks-heat-cell>span{font-size:10px}.ks-heat-row>[role=columnheader],.ks-heat-row>[role=rowheader]{font-size:11px;padding:5px}.ks-column-chart .ks-chart-values{font-size:10px}}

@media(max-width:560px){.ks-trend-axis{font-size:22px}}

/* Public UBBM report: official masthead, statistics and centre reporting status. */
.ks-public{background:#edf3f5;min-height:100vh;display:flex;flex-direction:column}.ks-public .ks-public-report{width:100%;max-width:1380px;padding:24px 20px;font-size:13px;color:#243f53;flex:1}
.ks-public-masthead{text-align:center;padding:12px 16px 22px;margin-bottom:18px;border-bottom:1px solid #cddfdc}.ks-public-masthead>img{display:block;width:108px;height:84px;object-fit:contain;margin:0 auto 14px}.ks-public-masthead h1{font-size:clamp(1.5rem,3vw,2rem);color:#214d4b;margin:0;line-height:1.3}.ks-public-masthead .ks-public-authority{font-size:14px;font-weight:600;color:#375765;line-height:1.6;margin:0 0 10px}.ks-public-masthead>p:last-child{font-size:13px;color:#526b70;margin:8px 0 0}
.ks-public-report .ks-report-filter>div{min-width:220px}.ks-public-report select,.ks-public-report .ks-button{min-height:42px;font-size:13px}.ks-public-report .ks-button{border-color:#a9c2c6;background:#f7faf9;color:#285956}
.ks-public-meta{display:flex;justify-content:space-between;gap:8px 20px;flex-wrap:wrap;margin-bottom:14px}.ks-public-report .ks-public-meta p{font-size:12px;color:#526b70;margin:0}.ks-public-meta strong{font-weight:600;color:#34565d}
.ks-public-report h2{font-size:17px}.ks-public-report .ks-section{padding:20px;border-color:#d4e1e5;margin-bottom:16px}.ks-public-report .ks-totals{grid-template-columns:repeat(5,minmax(0,1fr));gap:0;padding:0;border:1px solid #d4e1e5;border-radius:10px;overflow:hidden}.ks-public-report .ks-totals>div{padding:14px 12px;border-right:1px solid #d4e1e5}.ks-public-report .ks-totals>div:last-child{border-right:0}.ks-public-report .ks-totals strong{font-size:25px;line-height:1.3;margin-top:4px}.ks-public-report .ks-totals span{font-size:12px}
.ks-public-registration{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0;padding:14px 0;border-block:1px solid #dce6e6}.ks-public-registration>div{min-width:0;text-align:center}.ks-public-registration dt{font-size:12px;color:#526b70}.ks-public-registration dd{font-size:24px;font-weight:700;color:#345e77;margin:4px 0 0;font-variant-numeric:tabular-nums}.ks-public-registration>div:nth-child(2) dd{color:#826328}.ks-public-registration>div:nth-child(3) dd{color:#246b63}
.ks-public-report .ks-table{border:1px solid #d4e1e5;border-radius:8px}.ks-public-report .ks-table table{min-width:900px}.ks-public-report caption{padding:10px 12px;background:#f4f8f8;font-size:12px}.ks-public-report tbody tr:nth-child(even){background:#f7fafb}.ks-public-report tfoot th,.ks-public-report tfoot td{font-weight:700;background:#e8f1ef;border-top:1px solid #c9dcd6}
.ks-public-report [aria-labelledby=ks-public-regional] :is(th,td):not(:first-child){text-align:center}
.ks-public-report #ks-status-report table{min-width:580px}.ks-public-report #ks-status-report tbody th{width:45%;overflow-wrap:anywhere}.ks-public-report .ks-status{display:inline-block;padding:3px 7px;border-radius:4px;background:#edf1f5;color:#52677b;font-size:12px}.ks-public-report .ks-done{background:#e5f1eb;color:#246b53}
.ks-public .system-footer-public{background:#fff;border-top:1px solid #d4e1e5;color:#526b70;font-size:12px;line-height:1.6}.ks-public .system-footer-inner{max-width:1380px;box-sizing:border-box;margin:0 auto;padding:20px;display:flex;align-items:center;justify-content:space-between;gap:16px}.ks-public .system-footer-identity strong{color:#243f53;font-size:13px}.ks-public .system-footer-public p{margin:3px 0}.ks-public .footer-copyright{font-size:11px}.ks-public .system-footer-details{text-align:right}.ks-public .system-footer-meta,.ks-public .footer-browsers,.ks-public .system-version-badge{display:flex;align-items:center;justify-content:flex-end;gap:6px}.ks-public .system-footer-meta{gap:16px;flex-wrap:wrap}.ks-public .system-version-badge{padding:3px 7px;border:1px solid #d4e1e5;border-radius:4px;font-size:11px;color:#375765}.ks-public .footer-mottos{font-size:10px}
@media(max-width:900px){.ks-public-report .ks-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.ks-public-report .ks-totals>div:nth-child(even){border-right:0}.ks-public-report .ks-totals>div:nth-child(-n+4){border-bottom:1px solid #d4e1e5}}
@media(max-width:560px){.ks-public .ks-public-report{padding:14px 12px}.ks-public-masthead{padding:10px 0 18px}.ks-public-masthead>img{width:96px;height:75px}.ks-public-report .ks-section{padding:14px}.ks-public-report .ks-report-filter>div{min-width:0;width:100%}.ks-public-report select,.ks-public-report .ks-button{min-height:44px}.ks-public-meta{display:block}.ks-public-report .ks-public-meta p+p{margin-top:5px}.ks-public-registration{grid-template-columns:1fr;gap:10px}.ks-public-registration>div{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left}.ks-public-registration dd{font-size:22px;margin:0}.ks-public-report .ks-totals>div{padding:12px 10px}.ks-public-report .ks-totals strong{font-size:23px}}
@media(max-width:700px){.ks-public .system-footer-inner{flex-direction:column;text-align:center;padding:18px 12px}.ks-public .system-footer-details{text-align:center}.ks-public .system-footer-meta{justify-content:center}.ks-public-masthead .ks-public-authority{font-size:12px}}

/* Centre directory: restrained colour, readable rows and compact controls. */
.ks.ks-schools{--ks-line:#dce5e8;--ks-muted:#526575;--ks-blue:#286b65}
.ks-schools .ks-heading{background:#e8f1f0;border-color:#ccdedb;padding:18px 20px}.ks-schools h1{color:#234b49}.ks-schools .ks-heading p{color:#496762}.ks-schools .ks-heading .ks-button{background:#fff;border-color:#9dbcb6;color:#2c6159}
.ks-schools .ks-school-summary{background:transparent;border:0;gap:10px;border-radius:0;overflow:visible;margin-bottom:10px}.ks-schools .ks-school-summary>div{border:1px solid #d3e4dc;border-radius:9px;background:#eef6f1;padding:14px 16px}.ks-schools .ks-school-summary dt{color:#3d6552}.ks-schools .ks-school-summary dd{color:#246247;font-size:27px}
.ks-schools .ks-school-summary>div:nth-child(2){background:#f2eef8;border-color:#e0d9ec}.ks-schools .ks-school-summary>div:nth-child(2) dt{color:#655179}.ks-schools .ks-school-summary>div:nth-child(2) dd{color:#60437c}.ks-schools .ks-school-summary>div:nth-child(3){background:#edf3fa;border-color:#d4e1ef}.ks-schools .ks-school-summary>div:nth-child(3) dt{color:#4c657e}.ks-schools .ks-school-summary>div:nth-child(3) dd{color:#315f88}.ks-schools .ks-school-summary>div:nth-child(4){background:#fbf4e8;border-color:#ecdfc6}.ks-schools .ks-school-summary>div:nth-child(4) dt{color:#786139}.ks-schools .ks-school-summary>div:nth-child(4) dd{color:#805d22}
.ks-schools .ks-school-summary>div:last-child{border-right:1px solid #ecdfc6}
.ks-schools .ks-districts a{background:#fff;border-color:#d7e2e6;color:#42596a}.ks-schools .ks-districts a span{background:#eef2f6;color:#486078}.ks-schools .ks-districts a[aria-current]{background:#286b65;border-color:#286b65;color:#fff}.ks-schools .ks-districts a[aria-current] span{background:#fff;color:#286b65}.ks-schools .ks-districts a:hover{background:#eef6f3;border-color:#a5c8bb}.ks-schools .ks-districts a[aria-current]:hover{background:#205b56}
.ks-schools .ks-school-tools{margin-bottom:12px}.ks-schools .ks-school-tools h2{color:#293f54}.ks-schools .ks-export{color:#276646;background:#edf7f0;border-color:#afcdb9}.ks-schools .ks-export:hover{color:#1d5336;background:#dfefe4;border-color:#86b298}.ks-schools .ks-school-filters{background:#f7f8fa;border-color:#e0e5ec;padding:12px;gap:10px}.ks-schools .ks-school-search{flex-basis:280px}.ks-schools .ks-school-filters .ks-primary{background:#286b65;border-color:#286b65;color:#fff}.ks-schools .ks-school-filters .ks-primary:hover{background:#205b56}.ks-schools .ks-status-tools{padding:2px 0;margin:10px 0}.ks-schools .ks-status-tools p{font-size:12px;color:#526575;margin:0}.ks-schools .ks-status-tools select{min-width:70px}
.ks-schools .ks-school-table thead th{background:#edf0f5;color:#354b62}.ks-schools .ks-school-table tbody tr:nth-child(even){background:#f8fafb}.ks-schools .ks-school-table tbody tr:hover{background:#eff6f3}.ks-schools .ks-school-table .ks-school-name{font-size:12px;line-height:1.5;color:#29495b}.ks-schools .ks-school-table small{font-size:11px;font-weight:400;color:#5b6f7a}.ks-schools .ks-school-table td{font-size:12px}.ks-schools .ks-candidate-type{background:#f0eaf7;color:#684680;border-color:#dfd2eb}.ks-schools .ks-school-action .ks-button{padding:6px 9px;min-height:34px;font-size:11px}.ks-schools .ks-deactivate{color:#944d43;border-color:#ddc3bd;background:#fffaf8}.ks-schools .ks-inactive{background:#fbf0db;color:#795b24}.ks-schools ::selection{background:#cbe5db;color:#203f35}
@media(max-width:900px){.ks-schools .ks-school-summary>div{border:1px solid #d3e4dc}.ks-schools .ks-school-summary>div:nth-child(2){border-color:#e0d9ec}.ks-schools .ks-school-summary>div:nth-child(3){border-color:#d4e1ef}.ks-schools .ks-school-summary>div:nth-child(4){border-color:#ecdfc6}}
@media(max-width:760px){.ks-schools .ks-school-table tbody>tr{background:#fff;gap:10px 14px;padding:12px}.ks-schools .ks-school-table .ks-school-name{font-size:13px}.ks-schools .ks-school-action .ks-button{min-height:44px;font-size:12px}.ks-schools .ks-school-summary>div{padding:12px}.ks-schools .ks-school-summary dd{font-size:24px}}

.ks .ks-session-breakdown{display:flex;justify-content:center;gap:14px;min-width:130px;margin-top:7px}.ks .ks-session-breakdown small{display:block;margin:0;font-size:11px;line-height:1.4;text-align:center;white-space:nowrap}.ks .ks-session-breakdown small span,.ks .ks-session-breakdown strong{display:block}.ks .ks-session-breakdown strong{margin-top:2px;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}.ks .ks-session-presence{color:#286c54}.ks .ks-session-absence{color:#984855}.ks .ks-status-key{font-size:12px;color:#526b70;margin:0 0 10px}
.ks #ks-status-report :is(th,td):not(:first-child){text-align:center}.ks #ks-status-report thead th:not(:first-child) .ks-sort{justify-content:center;gap:8px}

/* Shared chart details support mouse, keyboard and touch without extra requests. */
[data-ks-chart-tip]{cursor:pointer;touch-action:manipulation}[data-ks-chart-tip]:focus-visible{outline:3px solid #326f9f;outline-offset:4px}.ks-column-pair>[data-ks-chart-tip]:after{content:'';position:absolute;inset:-24px -5px -4px;background:transparent}.ks-trend-dot[data-ks-chart-tip]{stroke:transparent;stroke-width:18;paint-order:stroke fill;pointer-events:all}
.ks-chart-tooltip{position:fixed;z-index:1100;width:380px;max-width:calc(100vw - 20px);max-height:min(440px,calc(100dvh - 20px));overflow:auto;box-sizing:border-box;background:#fff;border:1px solid #b7cec7;border-radius:10px;padding:16px;color:#284653;font:12px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif;scrollbar-color:#9bbab0 #eff5f2}.ks-chart-tooltip[hidden]{display:none}.ks-chart-tooltip:focus-visible{outline:3px solid #326f9f;outline-offset:2px}.ks-chart-tooltip .ks-tip-heading{margin:0 0 12px;font-size:14px;font-weight:700;color:#234f49}.ks-tip-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;margin:0 0 14px}.ks-tip-stats dt{font-size:11px;color:#526b70}.ks-tip-stats dd{font-size:17px;font-weight:600;font-variant-numeric:tabular-nums;margin:1px 0 0}.ks-chart-tooltip table{width:100%;border-collapse:collapse;font-size:11px;text-align:left}.ks-chart-tooltip caption{caption-side:top;text-align:left;font-size:12px;font-weight:600;padding:0 0 8px;color:#984855}.ks-chart-tooltip th,.ks-chart-tooltip td{padding:7px 8px;border-bottom:1px solid #e0e9e5;vertical-align:top}.ks-chart-tooltip thead th{background:#f2f6f4;font-weight:600}.ks-chart-tooltip tbody th{font-weight:400;overflow-wrap:anywhere}.ks-chart-tooltip th:last-child,.ks-chart-tooltip td:last-child{text-align:center;font-variant-numeric:tabular-nums}.ks-chart-tooltip .ks-tip-note{font-size:10px;color:#526b70;margin:10px 0 0}.ks-chart-tooltip::selection{background:#cbe5db;color:#203f35}
@media(pointer:coarse){.ks-chart-legend>[data-ks-chart-tip]{min-height:44px}.ks-column-pair>[data-ks-chart-tip]:after{inset:-24px -8px -8px}}

.ks-tip-close{float:right;font:inherit;font-size:11px;min-height:32px;padding:4px 8px;margin:-3px 0 8px 8px;color:#315f56;background:#f2f7f4;border:1px solid #b7cec7;border-radius:5px;cursor:pointer}.ks-tip-close:focus-visible{outline:3px solid #326f9f;outline-offset:2px}@media(pointer:coarse){.ks-tip-close{min-height:44px;padding:8px 12px}}

/* Shared report palette: graphite, ochre and brick with distinct status textures. */
.ks-report .ks-heading{background:#f2f2f1;border-color:#d9dde0}.ks-report h1,.ks-public-masthead h1{color:#303c46}.ks-report h2,.ks-report-visuals figcaption,.ks-session-aggregate figcaption,.ks-report .ks-daily-session-visuals h3{color:#3c4853}
.ks-report .ks-report-filter{background:#f7f7f5;border-color:#dcdfe2}.ks-report .ks-filter-context{border-color:#dfe1e3;color:#59636d}.ks-report .ks-filter-scope strong{color:#3c4853}.ks-report .ks-primary,.ks-report .ks-pagination a[aria-current]{background:#85445f;border-color:#85445f;color:#fff}.ks-report .ks-primary:hover{background:#69334a;border-color:#69334a}
.ks-report .ks-totals>div:nth-child(1){background:#f0f3f4}.ks-report .ks-totals>div:nth-child(2){background:#fbefed}.ks-report .ks-totals>div:nth-child(3){background:#f7f5ef}.ks-report .ks-totals>div:nth-child(4){background:#f3eff5}.ks-report .ks-totals>div:nth-child(5){background:#fbf6eb}.ks-report .ks-totals>div:nth-child(1) strong{color:#475761}.ks-report .ks-totals>div:nth-child(2) strong{color:#a75046}.ks-report .ks-totals>div:nth-child(3) strong{color:#46505c}.ks-report .ks-totals>div:nth-child(4) strong{color:#80516a}.ks-report .ks-totals>div:nth-child(5) strong{color:#866b38}
.ks-chart-present,.ks-legend-present:before{background:#4c5963}.ks-chart-absent,.ks-legend-absent:before{background:#b2574f}.ks-chart-na,.ks-legend-na:before{background-color:#b08a46;background-image:repeating-linear-gradient(135deg,transparent 0 4px,#ffffff66 4px 6px)}.ks-chart-pending,.ks-legend-pending:before{background-color:#a84e46;background-image:radial-gradient(#ffffff80 1px,transparent 1.5px);background-size:5px 5px}.ks-chart-track{background:#eceeef}.ks-trend-line{stroke:#4c5963}.ks-trend-dot{fill:#4c5963}.ks-report .ks-pie-rate{color:#475761}.ks-chart-legend>span{font-weight:500}.ks-chart-legend>span:before{width:12px;height:12px}.ks-chart-legend .ks-legend-na{color:#795b25}.ks-chart-legend .ks-legend-pending{color:#8a3f39}.ks-chart-track>span:not(:last-child){box-shadow:inset -2px 0 #fff}
.ks-report .ks-heat-cell{color:#35444d}.ks-report .ks-heat-empty{background:#edf0f1;color:#59636d}.ks-report .ks-heat-row>[role=columnheader]{background:#f1f2f3}.ks-report .ks-done{background:#edf1f2;color:#475761}.ks-report .ks-session-presence{color:#475761}.ks-report .ks-session-absence{color:#a75046}.ks-report thead th{background:#f0f2f3;color:#3c4853}
.ks-public{background:#f5f6f8}.ks-public-masthead{border-color:#d9dde0}.ks-public-masthead .ks-public-authority{color:#4c5963}.ks-public-report .ks-button{border-color:#c8c3c8;background:#fff;color:#654055}.ks-public-report .ks-button:hover{background:#f4edf1;border-color:#a98999}.ks-public-report .ks-pagination a[aria-current]{background:#85445f;color:#fff;border-color:#85445f}.ks-public-report .ks-public-meta strong{color:#4c5963}.ks-public-report .ks-public-registration>div:nth-child(3) dd{color:#80516a}.ks-public-report caption{background:#f5f5f4}.ks-public-report tfoot th,.ks-public-report tfoot td{background:#f0f2f3;border-color:#d7dce0}
.ks-chart-tooltip{border-color:#c8cdd1;color:#35434e;scrollbar-color:#aeb8bf #f1f3f4}.ks-chart-tooltip .ks-tip-heading{color:#303c46}.ks-chart-tooltip caption{color:#a75046}.ks-chart-tooltip thead th{background:#f1f3f4}.ks-chart-tooltip th,.ks-chart-tooltip td{border-color:#e2e5e7}.ks-tip-close{color:#654055;background:#f8f3f6;border-color:#cdbdc5}.ks-chart-tooltip::selection{background:#ead9e2;color:#492f3b}
.ks-report :focus-visible{outline-color:#85445f}.ks-report ::selection{background:#ead9e2;color:#492f3b}

/* UBBI: coordinated semantic colours; UBBM retains its established palette. */
.ks-ubbi{--ubbi-navy:#244d70;--ubbi-teal:#28796f;--ubbi-brick:#b95145;--ubbi-purple:#725488;--ubbi-amber:#b9852d}
.ks-ubbi .ks-heading{background:#eaf0f7;border-color:#ccd8e5}
.ks-ubbi .ks-heading h1,.ks-ubbi .ks-public-masthead h1{color:#203e59}
.ks-ubbi .ks-heading p,.ks-ubbi .ks-public-authority{color:#435e78}
.ks-ubbi .ks-report-filter{background:#fcfbf8;border-color:#dce0e4}
.ks-ubbi .ks-filter-context{border-color:#e4ded2;color:#5c6570}
.ks-ubbi .ks-primary,.ks-ubbi .ks-pagination a[aria-current]{background:var(--ubbi-navy);border-color:var(--ubbi-navy);color:#fff}
.ks-ubbi .ks-button{color:var(--ubbi-navy);border-color:#bacbda}
.ks-ubbi .ks-button:hover{background:#eef3f8;border-color:#91abc2}
.ks-ubbi .ks-primary,.ks-ubbi .ks-pagination a[aria-current]{color:#fff}
.ks-ubbi .ks-primary:hover{background:#193b59;border-color:#193b59;color:#fff}
.ks-ubbi .ks-totals>div:nth-child(1){background:#edf7f3}
.ks-ubbi .ks-totals>div:nth-child(2){background:#fcf0ee}
.ks-ubbi .ks-totals>div:nth-child(3){background:#eef3fa}
.ks-ubbi .ks-totals>div:nth-child(4){background:#f4eff9}
.ks-ubbi .ks-totals>div:nth-child(5){background:#fbf3e4}
.ks-ubbi .ks-totals>div:nth-child(1) strong{color:#24675e}
.ks-ubbi .ks-totals>div:nth-child(2) strong{color:#9b443b}
.ks-ubbi .ks-totals>div:nth-child(3) strong{color:#294f78}
.ks-ubbi .ks-totals>div:nth-child(4) strong{color:#6b4b82}
.ks-ubbi .ks-totals>div:nth-child(5) strong{color:#805a22}
.ks-ubbi .ks-chart-present,.ks-ubbi .ks-legend-present:before{background:var(--ubbi-teal)}
.ks-ubbi .ks-chart-absent,.ks-ubbi .ks-legend-absent:before{background:var(--ubbi-brick)}
.ks-ubbi .ks-chart-na,.ks-ubbi .ks-legend-na:before{background-color:var(--ubbi-purple)}
.ks-ubbi .ks-chart-pending,.ks-ubbi .ks-legend-pending:before{background-color:var(--ubbi-amber)}
.ks-ubbi .ks-legend-na{color:#664b7b}.ks-ubbi .ks-legend-pending{color:#825e22}
.ks-ubbi .ks-chart-track{background:#edf0f3}
.ks-ubbi .ks-attendance-pie [data-ks-chart-tip="ks-tip-present"]{fill:var(--ubbi-teal)}
.ks-ubbi .ks-attendance-pie [data-ks-chart-tip="ks-tip-absent"]{fill:var(--ubbi-brick)}
.ks-ubbi .ks-pie-rate{color:#24675e}
.ks-ubbi .ks-trend-line{stroke:var(--ubbi-purple)}.ks-ubbi .ks-trend-dot{fill:var(--ubbi-purple)}
.ks-ubbi .ks-pie-figure figcaption{color:#24675e}
.ks-ubbi .ks-trend-figure figcaption,.ks-ubbi .ks-session-aggregate figcaption{color:#6b4b82}
.ks-ubbi .ks-heat-row>[role=columnheader]{background:#f1edf7;color:#62477b}
.ks-ubbi .ks-done{background:#e7f3ee;color:#25665b}
.ks-ubbi .ks-session-presence{color:#24675e}.ks-ubbi .ks-session-absence{color:#9b443b}
.ks-ubbi thead th{background:#eef2f8;color:#2e506c}
.ks-ubbi caption{background:#f7f6fa;color:#5d4d70}
.ks-ubbi tfoot th,.ks-ubbi tfoot td{background:#edf5f3;border-color:#d0e3de;color:#285b53}
.ks-ubbi .ks-public-registration>div:nth-child(1){background:#eef3fa}
.ks-ubbi .ks-public-registration>div:nth-child(2){background:#f4eff9}
.ks-ubbi .ks-public-registration>div:nth-child(3){background:#fbf3e4}
.ks-ubbi .ks-public-registration>div:nth-child(1) dd{color:#294f78}
.ks-ubbi .ks-public-registration>div:nth-child(2) dd{color:#6b4b82}
.ks-ubbi .ks-public-registration>div:nth-child(3) dd{color:#805a22}
.ks-ubbi .ks-day-timeline article:nth-child(2n){border-color:#d9cde7}
.ks-ubbi .ks-day-timeline article:nth-child(2n+1){border-color:#c8dfd9}
body:has(.ks-ubbi) .ks-chart-tooltip{border-color:#c5d3e0;scrollbar-color:#9bafc1 #f0f4f8}
body:has(.ks-ubbi) .ks-chart-tooltip .ks-tip-heading{color:#244d70}
body:has(.ks-ubbi) .ks-chart-tooltip caption{color:#9b443b;background:transparent}
body:has(.ks-ubbi) .ks-tip-close{background:#f1edf7;color:#664b7b;border-color:#d2c3df}
.ks-ubbi :focus-visible{outline-color:var(--ubbi-navy)}
.ks-ubbi ::selection{background:#dce9f3;color:#173750}

/* Search covers the complete scoped status list, independently of report totals. */
.ks .ks-status-tools .ks-status-search{margin-left:auto;gap:8px}
.ks-status-search input[type=search]{width:300px;max-width:100%;min-height:38px}
.ks-status-search .ks-button{min-height:38px}
@media(max-width:760px){.ks .ks-status-tools .ks-status-search{width:100%;margin-left:0}.ks-status-search label{width:100%}.ks-status-search input[type=search]{flex:1 1 180px;min-width:0;width:auto;min-height:44px}.ks-status-search .ks-button{min-height:44px}}

/* Scoped absence list: one accessible modal, with searchable preloaded aggregates. */
.ks-status-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.ks-status-heading>h2{margin:0}.ks .ks-absence-open{color:#93463d;background:#fcf2ef;border-color:#d6b7af}
.ks .ks-absence-open:hover{background:#f6e5df;border-color:#b9877c;color:#7d392f}
.ks-absence-dialog{width:min(1080px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 40px);margin:auto;padding:0;border:1px solid #ced9e4;border-radius:14px;color:#243449;background:#fff;font:inherit;box-shadow:0 24px 72px #102b4933;overflow-y:auto;overscroll-behavior:contain}
.ks-absence-dialog::backdrop{background:#102b4980}body.ks-absence-opened{overflow:hidden}
.ks-absence-header{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;background:#f9efed;border-bottom:1px solid #e7d7d2}
.ks .ks-absence-header h2{margin:0;color:#7d4038;font-size:18px;line-height:1.4}
.ks .ks-absence-header p{margin:4px 0 0;font-size:12px;color:#765b58}
.ks-absence-header .ks-button{min-height:44px;flex-shrink:0}
.ks-absence-content{padding:18px 20px}.ks-absence-tools{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:16px}
.ks-absence-tools>div{flex:1 1 260px;max-width:520px}.ks-absence-tools label{font-size:12px}
.ks-absence-tools input[type=search]{width:100%;min-height:44px}.ks-absence-tools>p{margin:0;font-size:12px;color:#6b5260}
.ks-absence-dialog .ks-table{margin:0}.ks-absence-dialog table{min-width:640px}.ks-absence-dialog thead th{color:#4e5369;background:#f2eff6}
.ks-absence-dialog th,.ks-absence-dialog td{padding:11px 12px}.ks-absence-dialog th:first-child{min-width:240px;width:44%;text-align:left;overflow-wrap:anywhere}
.ks-absence-dialog td{font-variant-numeric:tabular-nums;white-space:nowrap;text-align:center}.ks-absence-dialog thead th:not(:first-child){text-align:center}
.ks-absence-dialog td:last-child strong{color:#984b42}.ks-absence-dialog [hidden]{display:none}
.ks .ks-absence-note{margin:12px 0 0;font-size:11px;line-height:1.6}
@media(max-width:560px){.ks-absence-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px)}.ks-absence-header{padding:14px;gap:10px}.ks .ks-absence-header h2{font-size:16px}.ks-absence-content{padding:14px}.ks-absence-tools>div{flex-basis:100%;max-width:none}.ks-status-heading .ks-absence-open{min-height:44px}}

@media(max-width:560px){
.ks-absence-dialog .ks-table{border:0;border-radius:0;overflow:visible}
.ks-absence-dialog table,.ks-absence-dialog tbody{display:block;min-width:0;width:100%}
.ks #ks-absence-dialog .ks-table table{min-width:0;width:100%}
.ks-absence-dialog thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.ks-absence-dialog tbody>tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px 0;border-bottom:1px solid #e2e6ed;background:#fff}
.ks-absence-dialog tbody th:first-child{grid-column:1/-1;min-width:0;width:auto;padding:0;border:0}
.ks-absence-dialog tbody td{display:block;min-width:0;padding:0;border:0;text-align:center;white-space:normal;overflow-wrap:anywhere}
.ks-absence-dialog td[data-label]:before{content:attr(data-label);display:block;margin-bottom:3px;font-size:11px;color:#596579}
.ks-absence-dialog td:last-child strong{font-size:17px}
.ks-absence-dialog [data-ks-absence-empty]{display:block}.ks-absence-dialog [hidden]{display:none}
}
