.country-bar{display:flex;align-items:center;gap:14px;padding:10px 22px;background:#fff;border-bottom:1px solid #dce4eb;flex-wrap:wrap;font-size:14px}.country-bar select{width:130px;padding:6px}.country-bar span{color:#536679}.country-bar a{margin-left:auto}.country-notice{padding:12px 16px;background:#e8f1f8;border-radius:9px;font-size:14px}.en-shell aside{top:0}.en-shell .filters{display:block}.en-shell nav{display:grid}.en-shell .cards{grid-template-columns:repeat(2,minmax(0,1fr))}.en-shell .card h3{min-height:0}.en-shell .card{gap:10px}.en-shell .metrics{margin:0;padding:10px 0}.en-shell .metrics small{display:block;color:#536679;font-size:12px}.en-shell .badge{margin:0}.en-shell .toolbar{flex-wrap:wrap}.en-shell .toolbar input{flex:1;min-width:200px}.en-shell .toolbar select{width:200px}.en-shell .source a{overflow-wrap:anywhere}.en-shell .coverage{align-items:flex-start}.en-shell .coverage strong{white-space:normal}.en-facts{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.en-facts div{padding:10px;background:#f2f5f8;border-radius:8px}.en-facts dt{font-size:12px;color:#536679}.en-facts dd{margin:0}.en-evidence{border-left:3px solid #007b72;padding:12px 18px;margin:14px 0;background:#edf7f2}.en-evidence p{font-size:14px}.en-actions{display:flex;gap:8px;flex-wrap:wrap}.en-map{height:60vh;min-height:350px;margin:15px 0;border-radius:12px;background:#e5edf2}.en-error{color:#8e2e24;background:#fff0eb;padding:14px;border-radius:8px}.en-shell .pagination{flex-wrap:wrap}.en-shell table td,.en-shell table th{min-width:120px}.en-shell table td:first-child{min-width:180px}.en-dialog{width:min(1100px,96vw)}.en-dialog .metricgrid{grid-template-columns:repeat(3,1fr)}.en-dialog .source{font-size:12px}.en-label{font-weight:600;font-size:14px}.en-shell button[aria-pressed=true]{background:#dff4e9;color:#175b46}.en-shell .count{float:none}.en-shell .warning{line-height:1.6}.en-shell .cardfooter{flex-wrap:wrap}.en-shell .maplist{max-height:350px}.en-shell .footer button{margin-right:10px}@media(max-width:760px){.country-bar{gap:8px;padding:10px}.country-bar span{display:none}.country-bar a{font-size:12px}.en-shell nav{display:flex;flex-wrap:wrap}.en-shell .cards{grid-template-columns:1fr}.en-shell aside{height:auto}.en-shell .filters{display:none}.en-shell .filters.open{display:block}.en-dialog .metricgrid{grid-template-columns:1fr 1fr}.en-facts{grid-template-columns:1fr}.en-shell .stats{grid-template-columns:1fr}.en-shell .toolbar select{width:100%}}

.en-dialog td small{display:block;color:#536679;margin-top:4px}.en-dialog td strong{display:block}.en-dialog table{margin:12px 0}
@media(max-width:760px){.en-shell aside nav{display:flex!important;flex-wrap:wrap;margin:12px 0}.en-shell aside nav button{flex:1 1 40%;min-height:44px}.en-shell header{align-items:flex-start}.en-shell header>button{padding:8px;max-width:110px}}

.en-table-guide{font-size:14px;line-height:1.6;color:#536679;max-width:1100px}.en-directory-scroll{border:1px solid #dce4eb;border-radius:12px;background:white;margin-top:15px}.en-shell table.en-directory{font-size:13px;min-width:1150px}.en-directory caption{text-align:left;padding:14px;font-weight:600;color:#536679}.en-shell .en-directory th,.en-shell .en-directory td{padding:14px;min-width:120px}.en-directory thead th{background:#eaf1f5}.en-directory tbody th{background:white;font-weight:400;min-width:220px;max-width:260px}.en-directory tbody th button{text-align:left;font-weight:650}.en-directory small{display:block;color:#536679;font-size:12px;margin:5px 0}.en-directory td>strong{display:block;font-size:20px}.en-directory .comparelabel{margin:12px 0}.en-directory td:nth-child(2){min-width:240px}.en-grade{display:inline-block;border-radius:5px;padding:4px 7px;font-size:13px;font-weight:650}.en-grade-strong{color:#14523e;background:#d8efe3}.en-grade-positive{color:#205a54;background:#e8f3f0}.en-grade-concern{color:#813c12;background:#fff0da}.en-grade-muted{color:#536679;background:#eef1f4}.en-directory .en-predecessor{color:#813c12;font-weight:650}.en-outcome{margin-bottom:8px}.en-directory a{font-size:12px}.en-directory tbody tr:hover td,.en-directory tbody tr:hover th{background:#f8fbfa}

/* Match the retained Wales compact directory, including sticky school column. */
.en-shell .en-wales-table table{min-width:1000px;font-size:13px}.en-shell .en-wales-table th,.en-shell .en-wales-table td{padding:7px 10px;min-width:82px;line-height:1.35}.en-shell .en-wales-table .schoolcell{min-width:210px;max-width:240px}.en-shell .en-wales-table .row-actions,.en-shell .en-wales-table .actions-heading{min-width:65px;width:65px}.en-wales-table .en-official-cell{max-width:180px;min-width:130px}.en-wales-table .en-evidence-button{border:0;background:transparent;padding:0;text-align:left;min-height:30px;font-weight:400}.en-wales-table .en-grade{font-size:12px;padding:3px 6px;white-space:normal}.en-wales-table .school-meta{font-size:10px}.en-wales-table .inspection-date small{display:block}.en-wales-table .compactactions{display:flex;align-items:center}.en-shell .table-controls select{width:auto}.en-shell .table-controls{margin:12px 0}.en-shell .column-options input{width:auto}.en-dialog .column-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.en-dialog .column-options label{display:flex;align-items:center;gap:8px}.en-dialog .column-options input{width:18px;height:18px}@media(max-width:760px){.en-shell .en-wales-table .schoolcell{min-width:145px;max-width:145px}.en-shell .en-wales-table th,.en-shell .en-wales-table td{padding:6px 8px}.en-shell .en-wales-table .row-actions{min-width:88px}.en-dialog .column-options{grid-template-columns:1fr}}

.en-sort-explanation{font-size:13px;color:#536679;line-height:1.6;margin:12px 0}.en-wales-table th[aria-sort="descending"],.en-wales-table th[aria-sort="ascending"]{background:#e2f2eb}
.en-wales-table th[aria-sort] button::after{content:none!important}

.en-freshness{margin:12px 0;padding:12px 16px;background:#f1f5f7;border:1px solid #ccd9df;border-radius:8px}.en-freshness summary{cursor:pointer;font-weight:600}.en-benchmark{font-size:11px;white-space:normal;min-width:140px}.en-trend-values{white-space:nowrap;font-variant-numeric:tabular-nums}.en-history small{display:block;color:#596a78}.en-history{margin:22px 0}.en-freshness p{max-width:100ch}
