*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:#FFFFFF;color:#17171C;font-family:'Inter', system-ui, -apple-system, sans-serif;font-size:16px;line-height:1.6}
a{color:#1863DC;text-decoration:none}
a:hover{text-decoration:underline}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #1863DC;outline-offset:2px}
.wrap{max-width:960px;margin:0 auto;padding-left:22px;padding-right:22px}
.top{border-bottom:1px solid #E5E7EB}
.top-in{display:flex;align-items:center;justify-content:space-between;gap:12px 20px;flex-wrap:wrap;padding-block:18px}
.brand{font-family:'Space Grotesk', 'Inter', system-ui, sans-serif;font-weight:600;font-size:20px;letter-spacing:-0.03em;color:#17171C}
.brand span{color:#1863DC}
.brand i{font-style:normal;font-weight:300;color:#D9D9DD;margin:0 7px}
.brand b{font-family:'Space Mono', ui-monospace, monospace;font-weight:400;font-size:11px;letter-spacing:0.14em;color:#6B6B75}
.nav{display:flex;gap:6px 18px;flex-wrap:wrap;font-size:14px}
.nav a{color:#616161}
.crumbs{font-size:13px;color:#6B6B75;margin:22px 0 0}
.crumbs a{color:#616161;text-decoration:underline;text-underline-offset:2px;text-decoration-thickness:1px}
h1{font-family:'Space Grotesk', 'Inter', system-ui, sans-serif;font-weight:500;font-size:40px;line-height:1.1;letter-spacing:-0.025em;margin:14px 0 0;text-wrap:balance}
h2{font-family:'Space Grotesk', 'Inter', system-ui, sans-serif;font-weight:600;font-size:21px;letter-spacing:-0.01em;margin:40px 0 0}
h3{font-size:16px;font-weight:600;margin:24px 0 0}
p{margin:12px 0 0;max-width:68ch}
.sub{color:#616161;margin-top:10px}
.lead{font-size:17px}
.note{color:#6B6B75;font-size:13px}
.flag{background:#FAF9F7;border:1px solid #E5E7EB;border-radius:10px;padding:10px 14px;font-size:14px;color:#616161}
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1px;background:#E5E7EB;border:1px solid #E5E7EB;border-radius:12px;overflow:hidden;margin:24px 0 0}
.stat{background:#FFFFFF;padding:14px 16px;margin:0}
.stat dt{font-family:'Space Mono', ui-monospace, monospace;font-size:10.5px;letter-spacing:0.1em;text-transform:uppercase;color:#6B6B75}
.stat dd{margin:6px 0 0;font-size:20px;font-weight:600;font-variant-numeric:tabular-nums lining-nums}
.stat dd small{display:block;font-size:12.5px;font-weight:400;color:#616161}
.table-wrap{overflow-x:auto;margin-top:16px;border:1px solid #E5E7EB;border-radius:12px}
table{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums lining-nums;font-size:14.5px}
th,td{padding:10px 14px;text-align:right;border-bottom:1px solid #E5E7EB;white-space:nowrap}
thead th{font-family:'Space Mono', ui-monospace, monospace;font-weight:400;font-size:10.5px;letter-spacing:0.1em;text-transform:uppercase;color:#6B6B75;background:#FAF9F7}
th:first-child,td:first-child{text-align:left}
tbody tr:last-child th,tbody tr:last-child td{border-bottom:none}
tr:target{background:#DBE6FB}
tr[hidden]{display:none!important}
.up{color:#003C33}
.down{color:#B30000}
form{margin:0}
.search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;margin-top:24px}
label{display:flex;flex-direction:column;gap:4px;font-size:12.5px;color:#616161}
input,select{font:inherit;font-size:16px;padding:10px 12px;border:1px solid #D9D9DD;border-radius:10px;background:#FFFFFF;color:#17171C;width:100%}
button{font:inherit;font-size:15px;font-weight:500;padding:10px 18px;border-radius:10px;border:1px solid #17171C;background:#17171C;color:#FFFFFF;cursor:pointer}
.filter{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.filter button{background:#FFFFFF;color:#616161;border-color:#E5E7EB;padding:6px 14px;font-size:14px}
.filter button[aria-pressed="true"]{background:#17171C;color:#FFFFFF;border-color:#17171C}
.rent-lines{margin:12px 0 0;padding-left:20px;line-height:1.6}
.view-tabs{position:sticky;top:0;z-index:5;display:flex;background:#FFFFFF;padding:10px 0;margin-top:18px}
.view-tabs button{flex:1;background:#F3F3F5;color:#616161;border:1px solid #E5E7EB;border-radius:0;padding:12px 16px;font-size:17px;font-weight:600}
.view-tabs button:first-child{border-radius:12px 0 0 12px}
.view-tabs button:last-child{border-left:none;border-radius:0 12px 12px 0}
.view-tabs button small{font-size:12.5px;font-weight:400;margin-left:8px}
.view-tabs button[aria-selected="true"]{background:#17171C;color:#FFFFFF;border-color:#17171C}
.view-tabs button[data-view="rent"][aria-selected="true"]{background:#6e3d7c;border-color:#6e3d7c}
#rent-view .stat dd{color:#6e3d7c}
#rent-view .stat dd small{color:#616161}
.more-btn{display:block;width:100%;margin-top:12px;background:#FFFFFF;color:#17171C;border-color:#E5E7EB}
.more-btn[hidden]{display:none}
.map-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin-top:20px}
.map-bar .filter{margin-top:0}
.map-bar[hidden]{display:none}
.map-filters summary{cursor:pointer;list-style:none;font-size:14px;color:#17171C;padding:6px 14px;border:1px solid #E5E7EB;border-radius:10px}
.map-filters summary::-webkit-details-marker{display:none}
.map-filters[open] summary{background:#EEECE7}
.map-filter-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:10px}
.map-wrap{position:relative;margin-top:12px}
.map{height:560px;border:1px solid #E5E7EB;border-radius:12px;overflow:hidden;background:#F3F1EC;z-index:0}
.map-card{position:absolute;left:12px;bottom:12px;right:12px;max-width:420px;z-index:1000;background:#FFFFFF;border:1px solid #D9D9DD;border-radius:12px;padding:12px 40px 12px 14px;font-size:14px}
.map-card h3{margin:0;font-size:15px}
.map-card p{margin:4px 0 0}
.map-card .x{position:absolute;top:4px;right:4px;background:none;border:none;color:#616161;padding:4px 10px;font-size:20px;line-height:1}
.map-card .go{display:inline-block;margin-top:8px;font-weight:600}
.map-note{font-size:13px;color:#616161;margin-top:8px}
.map-note:empty{display:none}
.map-note span{display:block}
.legend{display:flex;flex-wrap:wrap;gap:4px 14px;margin-top:10px;font-size:12.5px;color:#616161;font-variant-numeric:tabular-nums}
.legend i{display:inline-block;width:14px;height:14px;border-radius:3px;vertical-align:-2px;margin-right:5px}
.leaflet-tooltip.lbl{background:none;border:none;box-shadow:none;padding:0;margin:0;font-family:'Inter', system-ui, -apple-system, sans-serif;text-align:center;line-height:1.15;white-space:nowrap}
.leaflet-tooltip.lbl::before{display:none}
.town-lbl small{display:block;font-size:10.5px;font-weight:500}
.town-lbl b{font-family:'Space Grotesk', 'Inter', system-ui, sans-serif;font-size:13px}
.blk-lbl .tag{display:inline-block;padding:2px 7px;border-radius:999px;font-size:12.5px;font-weight:700;border:1.5px solid #fff;box-shadow:0 1px 3px rgba(0,0,0,.35)}
.sch-pin{display:block;width:14px;height:14px;box-sizing:border-box;background:#17171C;border:2px solid #FFFFFF;box-shadow:0 0 0 1px #17171C;transform:rotate(45deg)}
.leaflet-tooltip.sch-lbl{background:#FFFFFF;border:1px solid #17171C;border-radius:4px;box-shadow:none;padding:1px 6px;font-family:'Inter', system-ui, -apple-system, sans-serif;font-size:11.5px;font-weight:600;color:#17171C;white-space:nowrap}
.leaflet-tooltip.sch-lbl::before{display:none}
.legend .sch-key{width:11px;height:11px;border-radius:0;background:#17171C;transform:rotate(45deg);margin-right:7px}
.map-card .swatch{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:6px}
#school-legend[hidden]{display:none}
.locate{font:inherit;font-size:13px;font-weight:500;padding:6px 10px;border-radius:8px;border:1px solid #D9D9DD;background:#FFFFFF;color:#17171C}
.rank{list-style:none;padding:0;margin:14px 0 0;columns:2 280px;column-gap:32px}
.rank li{break-inside:avoid;display:grid;grid-template-columns:1fr auto;gap:2px 8px;padding:6px 0;border-bottom:1px solid #E5E7EB;font-size:14px}
.rank a{color:#17171C}
.rank b{font-variant-numeric:tabular-nums}
.rank .bar{grid-column:1/-1;height:6px;border-radius:0 3px 3px 0;background:#3987e5}
.rank.rent .bar{background:#9b60aa}
.err{color:#B30000;font-size:14px;margin-top:8px;min-height:1.4em}
.ask-out{font-size:17px;font-weight:500;margin-top:10px}
.hits{list-style:none;padding:0;margin:10px 0 0}
.hits li{padding:4px 0}
/* Suggestions under a search box (src/suggest.js), used by every site. */
.combo{position:relative;min-width:0}
.suggest-pop{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:1100;list-style:none;margin:0;padding:4px 0;background:#FFFFFF;border:1px solid #D9D9DD;border-radius:10px;box-shadow:0 8px 24px rgba(23,23,28,0.12);max-height:min(360px,60vh);overflow-y:auto}
.suggest-pop[hidden]{display:none}
.suggest-pop a{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;padding:10px 12px;line-height:1.35;color:#17171C;text-decoration:none;font-size:15px}
.suggest-pop b{font-weight:700}
.suggest-pop .sub{color:#6B6B75;font-size:13px}
.suggest-pop li[aria-selected="true"] a,.suggest-pop a:hover{background:#EEECE7}
.chart{margin:16px 0 0;position:relative}
.chart svg{touch-action:pan-y}
.chart-narrow{display:none}
.chart-tip{position:absolute;pointer-events:none;transform:translate(-50%,calc(-100% - 10px));background:#FAF9F7;border:1px solid #D9D9DD;border-radius:8px;padding:4px 9px;font-size:13px;white-space:nowrap;color:#17171C}
.chart svg{display:block;width:100%;height:auto}
.links{display:flex;gap:6px 16px;flex-wrap:wrap;font-size:14px;margin-top:12px;max-width:none}
.towns{columns:3 220px;margin-top:16px}
.towns div{break-inside:avoid;margin-bottom:14px}
.network{margin:12px 0 0;max-width:none;font-size:13px;line-height:1.9}
.network span{margin-right:8px}
.network a{margin-right:12px;white-space:nowrap}
.updated{margin-top:6px}
.foot{border-top:1px solid #E5E7EB;margin-top:64px;padding-block:28px 48px;font-size:13px;color:#6B6B75}
.foot p a,p.note a,p.sub a{text-decoration:underline;text-underline-offset:2px;text-decoration-thickness:1px}
@media (max-width:640px){.wrap{padding-left:16px;padding-right:16px}h1{font-size:30px}.search{grid-template-columns:1fr}.chart-wide{display:none}.chart-narrow{display:block}.map{height:70vh}.map-filter-row{grid-template-columns:1fr}.town-lbl small{display:none}
table.sales thead{display:none}table.sales tr{display:grid;grid-template-columns:1fr 1fr;padding:8px 0;border-bottom:1px solid #E5E7EB}
table.sales td{border:none;padding:3px 12px;text-align:left;white-space:normal}
table.sales td::before{content:attr(data-label);display:block;font-family:'Space Mono', ui-monospace, monospace;font-size:10px;letter-spacing:0.1em;text-transform:uppercase;color:#6B6B75}}

.chip{display:inline-block;padding:1px 9px;border-radius:999px;font-size:12.5px;font-weight:600;white-space:nowrap;vertical-align:1px}
.v-A{background:#DDF2E4;color:#1D6B3A}
.v-L{background:#FCF1D2;color:#8A5A00}
.v-F{background:#EDEDF0;color:#55555F}
.v-na{background:#F6F6F8;color:#6B6B75}
.grp{background:#ECEAF6;color:#4B3F8F}
.oth{background:#EEF1F6;color:#3B4A63}
.centre-note{font-style:normal;color:#3A3A44}
.centre-note::before,.centre-note::after{content:none}
.fees th,.fees td{white-space:normal;text-align:left;vertical-align:top;font-size:14px}
.fees thead th[colspan]{text-align:center;border-left:1px solid #E5E7EB}
/* A line before each citizenship group (Full day is its first column) runs through every row. */
.fees thead tr+tr th:nth-child(odd),.fees tbody td:nth-child(even){border-left:1px solid #E5E7EB}
.fees td.fee{min-width:96px}
.fees td b{font-size:15px;font-weight:600}
.fees td small{display:block;color:#616161;font-size:12px;line-height:1.3;margin-top:2px}
.fees td.none{color:#6B6B75}
.vac th,.vac td{text-align:left;font-size:13.5px;white-space:nowrap}
.vac td{padding:8px 10px}
.rowlist{margin:12px 0 0;padding-left:20px;line-height:1.55;max-width:68ch}
.rowlist li{margin:6px 0}
.sec-details{margin-top:14px}
.sec-details summary{cursor:pointer;font-size:14.5px;font-weight:600}
.warn{background:#FFF6DD;border:1px solid #F0DB9B;border-radius:10px;padding:10px 14px;font-size:14px;color:#6A4A00}
.facts{display:grid;grid-template-columns:minmax(120px,200px) minmax(0,1fr);gap:8px 18px;margin:14px 0 0;font-size:14.5px}
.facts dt{color:#616161}
.facts dd{margin:0}
.map-small{height:260px;border:1px solid #E5E7EB;border-radius:12px;overflow:hidden;margin-top:14px;z-index:0}
.near-list{list-style:none;padding:0;margin:0}
.near-list li{padding:12px 0;border-bottom:1px solid #EEEEF0}
.near-list a{font-weight:600}
.near-list li.note{border-bottom:none}
.near-list p{margin:3px 0 0;font-size:14px;color:#3A3A44}
.sort-bar{margin-top:14px}
.sort-bar[hidden]{display:none}
.area-table td,.area-table th{white-space:normal;vertical-align:top;text-align:left}
.area-table td.num{text-align:left;font-variant-numeric:tabular-nums}
.area-table small.term{display:block;color:#616161;font-size:12px;line-height:1.3;margin-top:2px}
.bar-label{font-family:'Space Mono', ui-monospace, monospace;font-size:10.5px;letter-spacing:0.1em;text-transform:uppercase;color:#6B6B75}
.near-pin{background:#17171C;border:3px solid #FFFFFF;border-radius:50%;box-shadow:0 0 0 1px #17171C}
.official{margin:20px 0 0;padding:12px 14px;background:#F6F5F1;border-radius:10px;font-size:14px}
.lines{margin:12px 0 0;padding-left:20px;line-height:1.6}
.faq-item{margin-top:26px}
.faq-item h2{margin:0;font-size:19px}
.network{margin:10px 0 0;font-size:12.5px;line-height:1.8}
.network span{margin-right:4px}
.network a{margin-right:10px;white-space:nowrap}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (max-width:640px){.facts{grid-template-columns:1fr;gap:2px}.facts dd{margin-bottom:8px}}
