:root{--green:#185b52;--ink:#193b37;--muted:#64776e;--gold:#bd854b;--paper:#f8f7f0;--line:#dce1d7}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:13px}header{height:74px;padding:0 30px;display:flex;justify-content:space-between;align-items:center;gap:24px;border-bottom:1px solid var(--line)}a{color:inherit}.brand{display:flex;align-items:center;gap:17px;font-family:Georgia,serif;font-size:32px;text-decoration:none}.brand span{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:11px;font-weight:400;border-left:1px solid var(--line);padding-left:17px}.title{font-size:10px;letter-spacing:.15em}.title span{color:var(--muted);margin-left:18px;letter-spacing:0}.detail-link{font-size:11px;text-decoration:none}main{display:grid;grid-template-columns:355px 1fr;min-height:calc(100vh - 114px)}.panel{padding:30px 29px 25px;border-right:1px solid var(--line);background:var(--paper);overflow-y:auto;max-height:calc(100vh - 114px)}.eyebrow{font-size:8px;letter-spacing:.14em;font-weight:600;color:var(--muted)}h1{font-family:Georgia,serif;font-weight:400;font-size:42px;line-height:1.05;letter-spacing:-.04em;margin:13px 0 15px}.intro{color:var(--muted);font-size:12px;line-height:1.6;margin:0 0 23px}.study-buttons{display:flex;gap:8px}.study-buttons button{display:flex;gap:8px;align-items:center;justify-content:space-between;width:50%;border:1px solid var(--line);background:none;color:var(--muted);padding:12px 9px;font-size:9px;border-radius:3px;cursor:pointer}.study-buttons button span{font-size:11px;color:var(--ink)}.study-buttons button.active{background:var(--green);color:#b7d2bb;border-color:var(--green)}.study-buttons button.active span{color:#fff}.selectors{display:grid;grid-template-columns:1fr;gap:12px;margin:20px 0 22px}.selectors label{display:flex;flex-direction:column;gap:6px;font-size:10px;color:var(--muted)}select{font:inherit;font-size:12px;padding:10px 8px;background:#fffdf7;border:1px solid var(--line);color:var(--ink);border-radius:3px;max-width:100%}.result{border-top:1px solid var(--line);padding-top:21px}.result>.eyebrow{font-size:7px}.effect{font-family:Georgia,serif;font-size:57px;letter-spacing:-.05em;line-height:1.2;margin:11px 0 3px}.ci{font-size:11px;color:var(--muted)}.signal{display:inline-block;font-size:9px;padding:5px 8px;border-radius:3px;background:#e7efdf;margin:13px 0}.signal.uncertain{background:#f1e6d3;color:#875e30}dl{margin:0}dl>div{display:flex;justify-content:space-between;font-size:10px;padding:8px 0;border-top:1px solid var(--line)}dt{color:var(--muted)}dd{margin:0;font-variant-numeric:tabular-nums}.selection{margin-top:20px;border-top:1px solid var(--line);padding-top:18px}.selection h2{font-family:Georgia,serif;font-size:23px;font-weight:400;margin:9px 0}.selection p{font-size:11px;line-height:1.65;color:var(--muted);margin-bottom:12px}.important{font-size:10px;line-height:1.65;padding:12px;background:#ecefe5;color:#52675b;border-radius:3px}.more{display:block;font-size:10px;text-underline-offset:4px;margin-top:18px}.map-stage{position:relative;overflow:hidden;background:#e9efe9;min-height:600px}.map-heading{position:absolute;top:24px;left:27px;right:27px;display:flex;justify-content:space-between;pointer-events:none;font-size:9px;letter-spacing:.12em;z-index:2}.draft{letter-spacing:0;font-size:10px;color:var(--muted)}.draft i{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--gold);margin-right:6px}#research-map{height:100%;width:100%;min-height:600px;display:block;touch-action:none;cursor:grab}#research-map.dragging{cursor:grabbing}.district{fill:#f9faf3;stroke:#d6ded1;stroke-width:.55;vector-effect:non-scaling-stroke;transition:fill .15s}.district.study-london{fill:#82b3a0;stroke:#f2f6ee;stroke-width:.8;cursor:pointer}.district.study-neighbour{fill:#e0c8a4;stroke:#f5f1e5;stroke-width:.8;cursor:pointer}.district.study-london:hover,.district.study-london.selected{fill:#276f5a;stroke:#153f35;stroke-width:1.5}.district.study-neighbour:hover,.district.study-neighbour.selected{fill:#c49a67;stroke:#8b663a;stroke-width:1.5}.band{stroke-width:0;cursor:pointer;fill-opacity:.6}.band.england{fill:#7cac96}.band.wales{fill:#ddbe8e}.band:hover{fill-opacity:.85}.border-line{fill:none;stroke:#304f47;stroke-width:1.6;stroke-dasharray:5 3;vector-effect:non-scaling-stroke;pointer-events:none}.sample{fill:#1d6652;fill-opacity:.4;stroke:#fff;stroke-width:.35;vector-effect:non-scaling-stroke;cursor:pointer}.sample.wales{fill:#a5753d}.sample:hover{fill-opacity:.95;stroke:#123f32;stroke-width:1}.place-label{fill:#4d6659;paint-order:stroke;stroke:#eef3e9;stroke-width:2.8;stroke-linejoin:round;pointer-events:none}.place-dot{fill:#658074;pointer-events:none}.map-controls{position:absolute;right:22px;top:65px;display:flex;flex-direction:column;background:#fffdf6;border:1px solid #d7ded2;border-radius:4px;box-shadow:0 5px 20px #193b3710}.map-controls button{width:39px;height:39px;border:0;border-bottom:1px solid var(--line);background:none;font-size:22px;color:var(--ink);cursor:pointer}.map-controls button:last-child{border:0;font-size:10px}.map-controls button:hover{background:#edf3e8}.layers{position:absolute;right:22px;bottom:112px;background:#fffdf8;padding:12px 14px;border:1px solid var(--line);border-radius:3px;display:flex;flex-direction:column;gap:8px;font-size:10px;box-shadow:0 4px 18px #193b3708}.layers input{accent-color:var(--green);vertical-align:middle}.map-legend{position:absolute;left:24px;bottom:65px;background:#fffdf7eF;padding:13px 16px;border:1px solid #d6ded0;border-radius:4px;display:flex;flex-direction:column;gap:8px;font-size:10px;max-width:310px}.legend-item{display:flex;align-items:center;gap:8px}.swatch{width:13px;height:9px;display:inline-block;background:#82b3a0;border-radius:1px}.swatch.gold{background:#e0c8a4}.swatch.line{height:0;border-top:2px dashed #304f47;background:none}.swatch.dot{width:7px;height:7px;border-radius:50%;background:#477b61}.map-note{position:absolute;bottom:15px;left:25px;right:25px;display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:8px;color:#6a7c71;pointer-events:none}#scale-label{border-top:2px solid #658071;min-width:55px;padding-top:5px}.map-toast{position:absolute;top:52px;left:25px;font-size:10px;line-height:1.5;padding:9px 12px;background:#fffdf6de;border-radius:3px;max-width:330px;pointer-events:none}footer{height:40px;padding:0 29px;display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid var(--line);font-size:8px;color:var(--muted)}button:focus-visible,a:focus-visible,select:focus-visible,#research-map:focus-visible,.district:focus-visible,.band:focus-visible,.sample:focus-visible{outline:3px solid #c28d4c;outline-offset:3px}@media(min-width:1600px){main{grid-template-columns:395px 1fr}.panel{padding:38px}.map-stage,#research-map{min-height:750px}}@media(max-width:900px){main{grid-template-columns:300px 1fr}.panel{padding:24px 20px}h1{font-size:36px}.map-heading{font-size:8px;left:18px;right:18px}.draft{display:none}.map-legend{left:17px;bottom:70px;max-width:230px;font-size:9px}.map-toast{left:17px;max-width:230px}.map-note{left:18px;right:18px}.map-note span:last-child{max-width:200px;text-align:right}.layers{right:15px;bottom:180px}.title{display:none}}@media(max-width:650px){header{height:62px;padding:0 18px}.brand{font-size:28px;gap:12px}.brand span{font-size:10px;padding-left:12px}.detail-link{font-size:10px}main{display:flex;flex-direction:column}.panel{max-height:none;border-right:0;padding:23px 20px;display:grid;grid-template-columns:1fr 1fr;gap:12px 20px}.panel>.eyebrow,h1,.intro,.study-buttons,.selectors{grid-column:1/-1}h1{font-size:35px;margin:0}h1 br{display:none}.intro{margin:0 0 4px}.selectors{grid-template-columns:1fr 1fr;gap:10px;margin:2px 0 6px}.result{grid-column:1;grid-row:6/9;padding-top:15px}.effect{font-size:42px}.result>.eyebrow{font-size:6px}.selection{grid-column:2;margin:0;padding-top:15px}.selection h2{font-size:19px}.selection p{font-size:10px}.important{grid-column:2;font-size:9px;margin:0;padding:9px}.more{grid-column:2;margin:0;font-size:9px}.map-stage{height:70vh;min-height:540px;max-height:800px;border-top:1px solid var(--line)}#research-map{min-height:540px}.map-heading{top:18px}.map-controls{top:55px;right:14px}.map-toast{top:42px;font-size:9px;max-width:230px}.layers{bottom:150px}.map-legend{bottom:55px}.map-note{font-size:7px}.map-note span:last-child{max-width:190px}footer{height:auto;min-height:48px;flex-wrap:wrap;padding:12px 20px;gap:8px}footer span:nth-child(2){display:none}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
