/* R129 is scoped to the new report. No existing card, button or modal styles change. */
.r129{--r129-bg:#071d2f;--r129-panel:#0c2940;--r129-line:#31566e;--r129-text:#edf6ff;--r129-muted:#adc8db;--r129-accent:#57d4ee;color:var(--r129-text);min-width:0;max-width:100%;font-size:14px}
.r129 [hidden]{display:none!important}.r129 *{box-sizing:border-box}.r129 h1{margin:0 0 8px;font-size:26px;line-height:1.3}.r129 h2{font-size:22px}.r129 h3{font-size:17px;margin:0 0 12px}.r129 p{line-height:1.6;color:var(--r129-muted);margin:8px 0}.r129 header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.r129 .r129-header{margin-bottom:20px}.r129-build{background:var(--r129-panel);border:1px solid var(--r129-line);border-radius:7px;padding:6px 12px;color:var(--r129-accent);font-weight:700}
.r129 label{display:flex;flex-direction:column;gap:7px;min-width:0;font-weight:700;font-size:13px;color:var(--r129-muted)}.r129 input,.r129 select,.r129 textarea{font:inherit;color:var(--r129-text);background:var(--r129-bg);border:1px solid var(--r129-line);border-radius:8px;padding:11px 12px;width:100%;min-width:0;height:auto;min-height:43px}.r129 textarea{min-height:76px;resize:vertical}.r129 input:focus,.r129 select:focus,.r129 textarea:focus,.r129 button:focus-visible,.r129 summary:focus-visible{outline:2px solid var(--r129-accent);outline-offset:2px}.r129 input::placeholder{color:var(--r129-muted);font-weight:400}.r129 select option{background:var(--r129-bg)}
.r129-filters{padding:18px;border:1px solid var(--r129-line);border-radius:12px;background:var(--r129-panel);display:grid;grid-template-columns:minmax(180px,1.4fr) repeat(4,minmax(130px,1fr)) auto;gap:14px;align-items:end}.r129-period{grid-column:1/-1;font-size:13px}.r129-period summary{cursor:pointer;color:var(--r129-accent)}.r129-datefields{display:flex;gap:14px;margin:12px 0;max-width:520px}.r129-datefields>label{flex:1}
.r129 .button{white-space:nowrap;min-height:41px;cursor:pointer;line-height:1.3}.r129 .button:disabled{opacity:.45;cursor:not-allowed}.r129-tools{display:flex;align-items:end;justify-content:space-between;gap:14px;margin:18px 0}.r129-tools>label{min-width:250px}.r129-tools-buttons,.r129-detail-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.r129-stats{display:flex;gap:20px;flex-wrap:wrap;padding:12px 14px;background:var(--r129-panel);border:1px solid var(--r129-line);border-radius:10px 10px 0 0;color:var(--r129-muted)}.r129-stats strong{font-size:21px;color:var(--r129-text)}.r129-stats span:last-child{margin-left:auto;font-size:12px}
.r129-table-scroll{overflow:auto;max-height:65vh;border:1px solid var(--r129-line);border-radius:0 0 10px 10px;overscroll-behavior:contain;max-width:100%}.r129 table{width:100%;border-collapse:separate;border-spacing:0;font-size:13px;background:var(--r129-bg)}.r129 th,.r129 td{border-right:1px solid var(--r129-line);border-bottom:1px solid var(--r129-line);padding:12px;text-align:left;vertical-align:top;min-width:135px;max-width:320px;overflow-wrap:anywhere}.r129 th{background:#123c55;color:var(--r129-text);font-weight:800;position:sticky;top:0;z-index:3;vertical-align:middle}.r129 .r129-report thead tr:nth-child(2) th{top:35px}.r129 .r129-groups th{height:35px;padding:8px 12px;color:var(--r129-accent);font-size:12px;white-space:nowrap;letter-spacing:.3px}.r129 .r129-report td{padding-top:14px;padding-bottom:14px}.r129 tbody tr:nth-child(even) td{background:#0b2438}.r129 th button{background:none;border:0;color:inherit;font:inherit;padding:0;cursor:pointer;text-align:left;width:100%}.r129 th small,.r129 td small{display:block;font-size:11px;font-weight:400;color:var(--r129-muted);margin-top:5px}.r129 .r129-number{font-weight:750;font-variant-numeric:tabular-nums}.r129 .r129-unknown{color:var(--r129-muted);font-size:12px}.r129 .r129-sticky{position:sticky;z-index:2;background:var(--r129-bg)}.r129 .r129-col-0{left:0;min-width:86px;width:86px;max-width:86px}.r129 .r129-col-1{left:86px;min-width:245px;max-width:245px;width:245px;box-shadow:3px 0 4px #0002}.r129 thead .r129-sticky{z-index:5;background:#123c55}.r129-school-link{font:inherit;font-weight:800;color:var(--r129-text);text-align:left;cursor:pointer;border:0;background:none;white-space:normal;line-height:1.6;padding:0}.r129-school-link:hover{text-decoration:underline;color:var(--r129-accent)}
.r129-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;color:var(--r129-muted)}.r129-pager>div{display:flex;gap:6px}.r129-notice{padding:14px 16px;border:1px solid var(--r129-line);border-radius:10px;background:var(--r129-panel);margin:12px 0;line-height:1.6}.r129-notice.warning{border-color:#94712c;color:#ffe5a0;background:#342a15}.r129-notice.error{border-color:#a54353;color:#ffe3e7;background:#35171f}.r129-notice.success{border-color:#26946b;color:#a9f9d5;background:#0b362b}.r129-loading,.r129-empty{padding:30px;border:1px solid var(--r129-line);border-radius:10px;background:var(--r129-bg);color:var(--r129-muted);text-align:center}
.r129-source-box{margin:12px 0 20px;padding:14px;border:1px solid var(--r129-line);border-radius:10px;background:var(--r129-bg)}.r129-source-box summary{cursor:pointer;font-weight:700}.r129-source-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}.r129-source-list article{padding:12px;border:1px solid var(--r129-line);border-radius:8px}.r129-source-state{font-size:11px;display:inline-block;margin:4px 0 0 6px;border-radius:4px;padding:3px 6px}.r129-source-state.ok{color:#9af2c7;background:#153d33}.r129-source-state.warn{color:#ffdb9f;background:#493720}.r129-school-detail{border:1px solid var(--r129-line);border-top:3px solid var(--r129-accent);background:var(--r129-bg);padding:20px;border-radius:12px;margin-top:20px;scroll-margin-top:100px}.r129-school-detail h2{margin:0}.r129-detail-actions{margin:16px 0}.r129-detail-actions span{color:var(--r129-muted);font-size:12px}.r129-evidence{border:1px solid var(--r129-line);border-radius:8px;padding:14px;margin:12px 0;overflow:hidden}.r129-evidence>summary{display:flex;gap:8px;justify-content:space-between;cursor:pointer;font-weight:800}.r129-evidence summary span{font-size:12px;color:var(--r129-muted);font-weight:400}.r129-evidence .r129-table-scroll{max-height:400px}.r129-evidence pre{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--r129-panel);padding:12px;border-radius:8px;max-height:300px;overflow:auto}.r129-register{margin:18px 0}.r129-register-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.r129-wide{grid-column:1/-1}.r129-register-form{padding:18px;background:var(--r129-panel);border:1px solid var(--r129-line);border-radius:10px;margin:18px 0}.r129 .r129-confirm{display:flex;flex-direction:row;align-items:flex-start;gap:10px;margin:14px 0;line-height:1.5}.r129 .r129-confirm input{width:19px;height:19px;min-height:19px;flex-shrink:0}
[data-theme="light"] .r129,body.light .r129,body[data-desktop-theme="light"] .r129{--r129-bg:#fff;--r129-panel:#f1f7fc;--r129-line:#c6d7e4;--r129-text:#0c2940;--r129-muted:#486378;--r129-accent:#006d93}.r129-report .r129-groups th{position:sticky;top:0}[data-theme="light"] .r129 tbody tr:nth-child(even) td,body[data-desktop-theme="light"] .r129 tbody tr:nth-child(even) td{background:#f2f7fb}[data-theme="light"] .r129 th,[data-theme="light"] .r129 thead .r129-sticky,body[data-desktop-theme="light"] .r129 th,body[data-desktop-theme="light"] .r129 thead .r129-sticky{background:#dfedf6}
@media(max-width:1250px){.r129-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.r129 h1{font-size:23px}.r129-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;gap:12px}.r129 .r129-search{grid-column:1/-1}.r129-tools{align-items:stretch;flex-direction:column}.r129-tools>label{min-width:0}.r129-tools-buttons>.button{flex:1}.r129-stats{gap:12px}.r129-stats span:last-child{margin:0;width:100%}.r129 .r129-col-1{position:static;min-width:190px;max-width:190px;width:190px}.r129 .r129-col-0{min-width:70px;width:70px;max-width:70px}.r129 th,.r129 td{padding:10px;min-width:130px}.r129-source-list{grid-template-columns:1fr}.r129-register-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.r129-school-detail{padding:12px}.r129-school-detail header{flex-wrap:wrap}.r129-evidence>summary{display:block}.r129-evidence summary span{display:block;margin-top:6px}.r129-pager{font-size:12px}.r129-datefields{flex-wrap:wrap}}
@media print{body.r129-printing>*:not(#r129-print-report){display:none!important}body.r129-printing{background:white!important;color:black!important}#r129-print-report{display:block!important;color:black;background:white;font:9pt Arial,sans-serif}#r129-print-report h1{font-size:16pt}#r129-print-report table{width:100%;border-collapse:collapse;font-size:7pt;table-layout:fixed}#r129-print-report th,#r129-print-report td{border:1px solid #aaa;padding:4px;overflow-wrap:anywhere;color:black}#r129-print-report thead{display:table-header-group}#r129-print-report tr{break-inside:avoid}@page{size:A3 landscape;margin:12mm}}

/* EDUHUNT R258: compact report cells, keep all data and horizontal scrolling. */
.r129 .r129-filters{grid-template-columns:minmax(170px,1.35fr) repeat(3,minmax(126px,1fr));align-items:end;gap:12px}
.r129 .r129-bottom-actions{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 18px;padding-top:2px}
.r129 .r129-bottom-actions .button{min-height:37px}
.r129 .r129-report th,.r129 .r129-report td{min-width:108px;max-width:220px;padding:7px 8px;line-height:1.28;font-size:12px;vertical-align:middle;overflow-wrap:break-word}
.r129 .r129-report tbody td{padding-top:7px;padding-bottom:7px}
.r129 .r129-report .r129-col-0{width:68px;min-width:68px;max-width:68px;left:0}
.r129 .r129-report .r129-col-1{width:200px;min-width:200px;max-width:200px;left:68px}
.r129 .r129-report th small,.r129 .r129-report td small{font-size:10px;margin-top:2px}
.r129 .r129-report thead tr:nth-child(2) th{top:31px}
.r129 .r129-report .r129-groups th{height:31px;padding:6px 8px;white-space:nowrap;font-size:11px}
.r129 .r129-report .button--small{min-height:32px;padding:5px 8px;font-size:12px}
@media(max-width:1250px){.r129 .r129-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.r129 .r129-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.r129 .r129-search{grid-column:1/-1}.r129 .r129-report .r129-col-0{width:62px;min-width:62px;max-width:62px}.r129 .r129-report .r129-col-1{position:static;min-width:180px;max-width:180px;width:180px}.r129 .r129-bottom-actions .button{flex:1 1 145px}}
