:root{color-scheme:light;--navy:#10243e;--blue:#1456d6;--light:#eef4fd;--line:#dce5f2;--muted:#4a617c;font-family:Inter,system-ui,sans-serif;color:#102139;background:#f7f9fc}*{box-sizing:border-box}body{margin:0;min-height:100dvh;display:flex;flex-direction:column}#screen{flex:1}a{color:#164aab;text-decoration:none}a:hover{text-decoration:underline}button,input,select{font:inherit}header{background:#fff;border-bottom:1px solid var(--line)}.bar,main,.hero>div,footer>div{width:min(1440px,94%);margin:auto}.bar{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:58px}.brand{display:flex;align-items:center;font-size:1.33rem;font-weight:850;color:var(--navy);white-space:nowrap}.brand span{color:var(--blue)}.brand img{width:43px;height:43px;object-fit:contain;margin-right:7px}.bar nav{display:flex;gap:clamp(12px,2.2vw,36px);font-size:.86rem;font-weight:700}.bar nav a{color:#13243c}#search{display:flex}input,select{border:1px solid #bdcce1;background:#fff;border-radius:6px;padding:.56rem;color:var(--navy);min-width:0}#search input{width:clamp(125px,16vw,240px)}button,.button{background:var(--blue);border:1px solid transparent;color:white;font-weight:700;padding:.62rem .95rem;border-radius:6px;display:inline-block;cursor:pointer}.button.light{background:white;color:var(--navy);border-color:var(--line)}.hero{background:linear-gradient(90deg,#0b2038 6%,#10243ee8 28%,#14284827 75%),url(harbour.jpg) center 54%/cover;color:white}.hero>div{padding:clamp(20px,3.5vh,45px) 2%}.hero.compact>div{padding:clamp(15px,2.5vh,30px) 1%}.hero h1{font-size:clamp(1.9rem,3.2vw,3.6rem);max-width:760px;line-height:1.03;margin:0 0 .45rem;letter-spacing:-.035em}.hero.compact h1{font-size:clamp(1.65rem,2.7vw,2.7rem)}.hero p{max-width:600px;margin:.4rem 0 .7rem;line-height:1.34}.actions{display:flex;gap:.65rem;flex-wrap:wrap}main{padding:.65rem 0 1rem}.strip{display:grid;grid-template-columns:repeat(4,1fr);padding:.65rem 0;text-align:center;background:#f0f5fa;color:#294970;font-size:.82rem;font-weight:700}.section{margin:0 0 clamp(.65rem,1.7vh,1.2rem)}.section h2{margin:0 0 .45rem;font-size:1.18rem}.grid{display:grid;gap:.75rem}.four{grid-template-columns:repeat(4,1fr)}.three{grid-template-columns:repeat(3,1fr)}.two{grid-template-columns:1fr 1.6fr}.card,.panel{background:white;border:1px solid var(--line);border-radius:9px;padding:clamp(.65rem,1.2vw,1.15rem);min-width:0}.card{display:flex;gap:.6rem;align-items:center;background:#eaf1fc;color:var(--navy)}.card strong{display:block;font-size:.97rem}.card small{display:block;color:#435979;line-height:1.28;margin-top:.22rem}.glyph{font-size:1.5rem;color:var(--blue);min-width:1.6rem}.feature{background:#101f34;color:white;border-radius:10px;overflow:hidden;display:grid;grid-template-columns:1.08fr 1fr .5fr}.feature>div{padding:clamp(.7rem,2vw,1.65rem);min-width:0}.feature .photo{background:linear-gradient(90deg,#0b1d34e5,#0d203675),url(housing.jpg) center/cover}.feature h2{font-size:clamp(1.35rem,2.5vw,2.4rem);margin:.25rem 0}.feature p{margin:.3rem 0 .7rem}.kpi{background:#1b304a;margin:.32rem 0;padding:.46rem;border-radius:5px}.kpi small{display:block;color:#c8d9f0}.kpi b{font-size:1.04rem}.results{background:#edf4ff}.results h2,.panel h2{margin:0 0 .6rem;font-size:1.15rem}.value{font-size:clamp(1.6rem,3vw,2.8rem);font-weight:850;margin:.35rem 0;color:#12469c;letter-spacing:-.035em}.fields{display:grid;gap:.65rem}.fields label{display:grid;gap:.3rem;font-weight:650;font-size:.9rem}.fine{font-size:.85rem;color:var(--muted);line-height:1.4}.chart{width:100%;height:clamp(125px,20vh,230px);display:block;overflow:visible}.chart text{fill:currentColor;font-size:11px}.data{border-collapse:collapse;width:100%;font-size:.88rem}.data td,.data th{padding:.43rem;text-align:left;border-bottom:1px solid var(--line)}details{margin-top:.7rem}details summary{cursor:pointer;color:#1a50a7;font-weight:700}footer{border-top:1px solid var(--line);font-size:.82rem;color:var(--muted)}footer>div{display:flex;gap:.9rem;align-items:center;justify-content:space-between;padding:.55rem 0}.topics{grid-template-columns:repeat(6,1fr)}.topics .card{padding:.45rem}.topics .glyph{display:none}@media(max-width:900px){#search{display:none}.feature{grid-template-columns:1fr 1fr}.feature>div:last-child{display:none}.topics{grid-template-columns:repeat(3,1fr)}}@media(max-width:620px){.bar{flex-wrap:wrap;justify-content:center;padding:.2rem 0 .6rem;gap:4px}.bar nav{gap:10px;font-size:.74rem;flex-wrap:wrap;justify-content:center}.four,.strip{grid-template-columns:repeat(2,1fr)}.two,.three,.feature{grid-template-columns:1fr}.hero h1{font-size:1.9rem}.hero{background-position:62% center}.topics{grid-template-columns:repeat(2,1fr)}footer span{display:none}}
@media(min-width:1050px){.hero:not(.compact)>div{padding-top:clamp(16px,2.8vh,34px);padding-bottom:clamp(16px,2.8vh,34px)}.hero:not(.compact) h1{font-size:clamp(2.05rem,3vw,3.05rem)}main:has(.feature){padding:.6rem 0}.section:has(.feature),main:has(.feature) .section{margin-bottom:.65rem}.feature>div{padding:.85rem 1rem}.feature .chart{height:clamp(108px,15vh,158px)}.feature .kpi{padding:.29rem .44rem}.section .card{padding:.52rem .65rem}.section .card small{font-size:.76rem;line-height:1.2}.topics .card strong{font-size:.83rem}.strip{padding:.48rem 0}}
@media(min-width:1050px) and (max-height:850px){.hero:not(.compact)>div{padding-block:16px}.feature .chart{height:108px}.feature>div{padding-block:.65rem}.section .card{padding-block:.42rem}}
.topic{display:block;overflow:hidden;border:1px solid var(--line);border-radius:7px;background:#eaf1fc;color:var(--navy);font-size:.84rem}.topic img{display:block;width:100%;height:clamp(29px,5.4vh,57px);object-fit:cover}.topic strong{display:block;padding:.35rem .5rem}.dash-grid{display:grid;grid-template-columns:minmax(180px,20%) 1fr;gap:.7rem}.dash-grid .panel{padding:.75rem .9rem}.dash-grid aside>.panel+.panel,#year-results>.panel+.dash-results,.dash-results+.takeaways,.dash-results>div>.panel+.panel{margin-top:.65rem}.dash-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:.5rem}.dash-heading span{background:#dceaff;border-radius:20px;padding:.26rem .55rem;font-size:.78rem;white-space:nowrap}.metrics,.power-grid{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;background:#eaf2fc;border-radius:7px}.metrics>div,.power-grid>div{padding:.55rem .65rem;min-width:0}.metrics>div+div,.power-grid>div+div{border-left:1px solid #c9d9ef}.metrics small,.power-grid small{display:block;color:#29435f;font-size:.8rem}.metrics strong,.power-grid strong{display:block;color:#1444a1;font-size:clamp(.97rem,1.45vw,1.5rem);margin-top:.22rem}.dash-results{display:grid;grid-template-columns:1.03fr 1fr;gap:.65rem}.comparison .data th{background:#eaf2fc}.comparison .data td,.comparison .data th{padding:.38rem .42rem}.comparison .fine{margin:.4rem 0 0}.chart-legend{display:flex;gap:1rem;justify-content:center;font-size:.78rem}.chart-legend i{display:inline-block;width:14px;height:3px;vertical-align:middle;margin-right:5px}.comparison .chart{height:clamp(105px,16vh,150px)}.quick a{display:block;padding:.45rem .2rem;border-bottom:1px solid var(--line);font-size:.86rem}.takeaways{display:flex;align-items:center;gap:.9rem;flex-wrap:wrap;background:#edf8f1}.takeaways h2,.takeaways p{margin:0}.takeaways p{font-size:.85rem}@media(max-width:900px){.dash-grid,.dash-results{grid-template-columns:1fr}.quick{display:none}}@media(max-width:620px){.metrics{grid-auto-flow:row;grid-template-columns:repeat(2,1fr)}.dash-heading{display:block}.comparison .data{font-size:.76rem}.comparison .data td,.comparison .data th{padding:.3rem .22rem}}
.calc-grid{display:grid;grid-template-columns:minmax(200px,23%) 1fr;gap:.75rem}.calc-grid .panel{padding:.72rem .9rem}.calc-grid h3{margin:.55rem 0 .28rem;font-size:1rem}.calc-grid .chart{height:clamp(95px,16vh,160px)}.calc-grid .data td,.calc-grid .data th{padding:.31rem}.donut{width:clamp(76px,13vh,120px);aspect-ratio:1;display:grid;place-items:center;border-radius:50%;background:radial-gradient(#edf4ff 55%,transparent 57%),conic-gradient(#1456d6 var(--share),#92bafa 0);color:#10243e;margin:.55rem auto}.calc-grid .fine{margin:.35rem 0}@media(max-width:900px){.calc-grid{grid-template-columns:1fr}}
.salary-grid,.offer-grid,.salary-bottom{display:grid;gap:.65rem}.salary-grid{grid-template-columns:1fr 1.28fr}.offer-grid{grid-template-columns:1fr 1fr}.salary-bottom{grid-template-columns:1.2fr 1fr 1fr;margin-top:.65rem}.salary .panel{padding:.7rem .85rem}.salary .data td,.salary .data th{padding:.36rem .42rem}.salary .data th{background:#eaf2fc}.offer{display:grid;align-content:start;gap:.5rem;min-width:0;margin:0;padding:.55rem;border:1px solid #cbddeb;border-radius:7px;background:#eaf4ff}.offer-b{background:#f2eeff;border-color:#dfd3f7}.offer legend{font-weight:800;color:#1444a1;padding:0 .25rem}.offer-b legend{color:#5b3eaa}.offer input,.offer select{width:100%;padding:.4rem}.offer-bar{margin:.38rem 0;font-size:.86rem}.offer-bar small{color:var(--muted)}.offer-bar div{display:flex;height:10px;background:#eaf0f7;border-radius:9px;overflow:hidden;margin:.25rem 0}.offer-bar i{background:#225ad5}.offer-bar i+i{background:#9dc1f4}.offer-insight{background:#edf8f1}.salary-bottom p,.salary .fine{margin:.45rem 0;font-size:.82rem}@media(max-width:900px){.salary-grid,.salary-bottom{grid-template-columns:1fr}}@media(max-width:480px){.offer-grid{grid-template-columns:1fr}}
.section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:1rem}.section-heading a{font-size:.81rem;font-weight:750;white-space:nowrap}.topic small{display:block;padding:0 .5rem .4rem;color:#344e70;font-size:.76rem;line-height:1.15}.topic strong{padding-bottom:.15rem}.topic img{height:clamp(29px,5.2vh,54px)}.button,button{background:#0758ef}.strip{border-bottom:1px solid #e1eaf5}.feature .photo small{display:inline-block;background:#5943ad;border-radius:4px;padding:.24rem .42rem;font-size:.64rem;font-weight:800}.feature .photo .button{background:white;color:#0d2547}.feature .kpi{border:1px solid #2d4057}
.plot-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.62rem;margin:.62rem 0}.plot-panel{border-radius:9px;border-color:#d9e7f8}.plot-panel h2{font-size:.98rem;line-height:1.2}.plot{display:block;width:100%;height:clamp(100px,15vh,156px);margin:.2rem auto;color:#243e62;overflow:visible}.plot text{font:11px system-ui,sans-serif;fill:currentColor}.research-main form label{font-size:.8rem}.research-main form input,.research-main form select{padding:.4rem;width:100%}.research-stats .metrics strong{overflow-wrap:anywhere}.plot-panel .chart-legend,.calc-grid .chart-legend{font-size:.69rem;gap:.38rem .8rem;flex-wrap:wrap}.plot-panel:has(.plot[viewBox="0 0 146 146"]) .plot{max-width:145px}.research-note{margin:.4rem 0}.research-main .fields{gap:.48rem}.research-main .panel{padding:.64rem .78rem}.research-main .snapshots{margin:.52rem 0}.comparison .metrics small{font-weight:650}.calc-grid .plot[viewBox="0 0 146 146"]{max-width:135px}.directory-grid .card{min-height:53px}.article{max-width:1040px}.article .plot{height:clamp(150px,25vh,250px)}@media(max-width:700px){.plot-grid{grid-template-columns:1fr}}@media(min-width:1050px) and (max-height:850px){.topic img{height:34px}.topic small{font-size:.7rem}.topic strong{font-size:.8rem}.feature .kpi{margin:.2rem 0}.research-main .plot{height:115px}}
footer nav{display:flex;gap:.85rem;flex-wrap:wrap;justify-content:flex-end}.policy{max-width:920px;padding-block:1rem 2rem}.policy .panel{padding:clamp(1rem,3vw,2rem);line-height:1.6}.policy h2{font-size:1.25rem;margin:1.25rem 0 .3rem}.policy h2:first-child{margin-top:0}.policy p{margin:.35rem 0 .9rem}.policy-date{font-size:.85rem;color:var(--muted)}
.offer-columns{display:flex;gap:1.8rem;justify-content:center}.offer-columns .offer-bar{width:95px;text-align:center;margin:.25rem 0}.offer-columns .offer-bar>div{height:102px;display:flex;flex-direction:column-reverse;justify-content:flex-start;background:transparent;border-radius:0;margin:0 auto .2rem;width:75px}.offer-columns .offer-bar i{display:grid;place-items:center;min-height:0;font-style:normal;font-size:.72rem;font-weight:750;color:#fff}.offer-columns .offer-bar i+i{color:#10243e}.comparison .metrics>div:nth-child(-n+3) strong{color:#127038}.comparison .power-grid>div+div{background:#fff0f2}.comparison .power-grid>div+div strong{color:#b42545}
@media(min-width:1050px){.hero:not(.compact)>div{padding-block:18px}.hero:not(.compact) h1{font-size:clamp(2rem,2.8vw,3rem)}.feature>div{padding:.7rem .85rem}.feature .kpi{margin:.18rem 0;padding:.28rem .44rem}.feature .kpi small{font-size:.75rem;line-height:1.13}.feature .kpi b{font-size:.97rem}.feature .chart{height:clamp(100px,15vh,150px)}.topic small{font-size:.71rem}.section .card{padding-block:.43rem}}
@media(max-width:620px){footer>div{align-items:flex-start}footer nav{gap:.4rem .75rem}}
@media(min-width:1050px) and (min-height:820px){.research-main .plot{height:clamp(104px,13.7vh,143px)}.calc-grid .data td,.calc-grid .data th{padding-block:.28rem}.calc-grid .plot{height:clamp(92px,14vh,143px)}}
.line-icon{display:block;width:24px;height:24px;flex:none}.hero>div:has(.hero-icon){display:flex;align-items:center;gap:1rem}.hero-icon{color:#fff;flex:none}.hero-icon .line-icon{width:clamp(36px,4vw,56px);height:clamp(36px,4vw,56px);stroke-width:1.5}.card-icon{display:grid;place-items:center;width:34px;flex:none;color:#1256c4}.card-icon .line-icon{width:27px;height:27px}.card-copy{min-width:0;flex:1}.card-arrow{align-self:center;flex:none;color:#285ba8}.card-arrow .line-icon{width:15px;height:15px}.icon-heading{display:flex;align-items:center;gap:.5rem}.icon-heading .line-icon{width:20px;height:20px;color:#0a58eb}.takeaways .icon-heading .line-icon,.offer-insight .icon-heading .line-icon{color:#157650}.strip>div{display:flex;align-items:center;justify-content:center;gap:.55rem;text-align:left}.strip>div+div{border-left:1px solid var(--line)}.strip .line-icon{width:20px;height:20px;color:#355c90}.strip strong,.strip small{display:block;line-height:1.2}.strip small{font-size:.7rem;font-weight:550}.feature .kpi:has(.line-icon){display:grid;grid-template-columns:20px 1fr;column-gap:.32rem;align-items:center}.kpi .line-icon{grid-row:span 2;width:17px;height:17px;color:#a9c6eb}@media(max-width:620px){.card-arrow{display:none}.card-icon{width:25px}.card-icon .line-icon{width:22px;height:22px}.hero>div:has(.hero-icon){gap:.55rem}.strip>div{padding:.18rem .3rem}.strip .line-icon{width:16px;height:16px}.strip small{display:none}}
.mortgage-summary{margin-top:.65rem;grid-template-columns:1.6fr 1fr;align-items:start}.mortgage-insights{display:block}.mortgage-insights p{margin:.5rem 0}.salary #offer-summary tbody tr:last-child{background:#e3f4e9;font-weight:750}.salary #offer-summary td small{color:#3f5673;white-space:nowrap}.salary #offer-summary .offer-winner{background:#e3f4e9;color:#16623b;font-weight:700}.salary #offer-summary .dash-heading{flex-wrap:wrap}.salary #offer-summary .dash-heading span:not(.offer-winner){background:none;padding:0;font-size:inherit;white-space:normal}.section .card{background:#e8f0fd}@media(min-width:1050px){.section:has(.topics){margin-bottom:.3rem}.feature .chart{height:clamp(122px,17vh,162px)}}
.plot-focus{display:grid;grid-template-columns:minmax(0,1.64fr) minmax(0,1fr);gap:.62rem;margin:.62rem 0}.plot-focus .plot{height:clamp(112px,16vh,165px)}.plot-focus .lead-plot .plot{height:clamp(118px,17vh,180px)}.research-note.takeaways{background:#eef6ff;color:#28415e;gap:.25rem .7rem}.research-note.takeaways .line-icon{color:#1256c4}.research-note.takeaways h2{font-size:.86rem;margin:0}.research-note.takeaways p{line-height:1.3}.research-navigation{margin-top:.62rem}.research-navigation .research-jump{display:block;width:100%;padding:.36rem .15rem;text-align:left;border-radius:0;background:transparent;color:#214c8d;font-size:.76rem;border-bottom:1px solid var(--line)}.research-navigation .research-jump:hover{text-decoration:underline}.research-navigation .research-jump:last-child{border-bottom:0}.article-body>*+*{margin-top:.85rem}.article-body .lead-plot .plot{height:clamp(170px,28vh,265px)}.article-body .article-metrics>div{padding:.85rem}.article-body .panel>p{line-height:1.5}@media(max-width:700px){.plot-focus{grid-template-columns:1fr}.research-navigation{display:none}}
.pay-summary{background:#e0edfe;border-radius:6px;margin:.5rem 0;padding:.4rem .6rem;font-size:.85rem;color:#244b79}
.housing-comparison{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}@media(max-width:900px){.housing-comparison{grid-template-columns:1fr}}
.postcode-map{margin-top:.65rem;padding:.65rem;border:1px solid #c9dcea;background:#fff;border-radius:.55rem}.postcode-map svg{display:block;width:100%;height:clamp(180px,25vh,280px);background:#f0f6fc;border-radius:.35rem}.postcode-map svg path{stroke:#f9fcff;stroke-width:.75}.postcode-map svg path:hover,.postcode-map svg .selected-area{stroke:#ed901a;stroke-width:2}.map-key{display:flex;flex-wrap:wrap;gap:.35rem .7rem;padding:.45rem 0;font-size:.72rem}.map-key i{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:.2rem}

.page-references { margin: 1rem 0 0; }
.page-references summary { cursor: pointer; font-weight: 700; }
.page-references summary:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.page-references h3 { margin: 1rem 0 .25rem; }
.page-references ul { padding-inline-start: 1.25rem; }
.page-references li + li { margin-top: .45rem; }
.page-references li small { display: block; }

.salary #offer-summary tbody tr:nth-child(2) { background: #e7f0fc; font-weight: 700; }
.salary .offer-monthly-difference { margin-top: .6rem; padding: .55rem .75rem; border-radius: .5rem; background: #e3f4e9; color: #145936; }
.salary .offer-monthly-difference b { font-size: 1.2em; }
.salary #offer-form .actions button:first-child { flex: 1 1 auto; }
[data-guide-budget] output { display: block; color: #11449a; font-weight: 750; }

.feature > .feature-chart {
 display: flex;
 flex-direction: column;
 gap: .4rem;
}
.feature-plot { position: relative; flex: 1; min-height: clamp(140px, 20vh, 200px); }
.feature-plot > .chart { position: absolute; inset: 0; height: 100%; }
.topic img { height: auto; aspect-ratio: 5.5 / 1; max-height: 64px; }
.topic .topic-image-tax { object-position: center bottom; }
.topic .topic-image-wages { object-position: center 43%; }
.topic .topic-image-housing { object-position: center 56%; }
.topic .topic-image-inflation { object-position: center 61%; }
.topic .topic-image-compare { object-position: center 38%; }
.topic .topic-image-economy { object-position: center 56%; }

/* "On this page" jump: briefly highlight the section it scrolled to (audit 28 Nov 2026) */
.is-highlighted{outline:3px solid #0758e9;outline-offset:4px;box-shadow:0 0 0 8px rgba(7,88,233,.14);transition:outline-color .4s,box-shadow .4s}
.plain-english{border-left:5px solid #00865d;background:#f2fbf7}
.plain-english h2{margin-top:0}
.plain-english p{font-size:1.05rem;line-height:1.6;margin:.6em 0}
/* "What this shows" — dynamic plain-English summary of the current results (owner rule 28 Nov 2026) */
.results-summary{border-left:5px solid #0758e9;background:#f3f7ff}
.results-summary h2,.results-summary h3{margin-top:0}
.results-summary p{font-size:1.05rem;line-height:1.6;margin:.55em 0}
/* Chart legibility (UX audit 28 Nov 2026): larger charts and text so labels are readable on desktop and phones */
.plot text,.chart text{font-size:13px}
.plot,.research-main .plot,.plot-focus .plot,.plot-focus .lead-plot .plot,.calc-grid .plot{height:clamp(170px,26vh,280px)}
@media(max-width:620px){.plot text,.chart text{font-size:15px}}
/* A single chart (or an odd last chart) spans the full row instead of leaving an empty half */
.plot-grid>:only-child,.plot-grid>:last-child:nth-child(odd){grid-column:1/-1}
/* "Understanding the data" panel (owner design 28 Nov 2026): dark angled header tab, points in columns with icon tiles */
.understanding{margin-top:.75rem;background:#fff;border:1px solid #d6e0ec;border-radius:12px;overflow:hidden;box-shadow:0 1px 2px rgba(16,36,62,.05)}
.understanding-top{background:#e7edf5}
.understanding-head{display:inline-flex;align-items:center;gap:.75rem;padding:.72rem 3.2rem .72rem 1.2rem;color:#fff;background:linear-gradient(100deg,#0a2a43 0%,#0d3150 62%,#0c6a47 86%,#0f8a55 100%);clip-path:polygon(0 0,100% 0,calc(100% - 34px) 100%,0 100%)}
.understanding-head .line-icon{width:30px;height:30px;color:#fff;stroke-width:1.7}
.understanding-head h2{margin:0;color:#fff;font-size:clamp(1.15rem,1.6vw,1.45rem);letter-spacing:-.01em}
.understanding-points{display:grid;grid-template-columns:repeat(var(--cols,3),minmax(0,1fr));padding:1.05rem .4rem 1.15rem}
.understanding-point{display:flex;gap:.95rem;align-items:flex-start;padding:.15rem 1.2rem}
.understanding-point+.understanding-point{border-left:1px solid #d4deea}
.understanding-icon{flex:none;width:46px;height:46px;border-radius:11px;background:#e9eff7;display:grid;place-items:center;color:#1b4f8e}
.understanding-icon .line-icon{width:26px;height:26px}
.understanding-point p{margin:0;font-size:1rem;line-height:1.5;color:#1b2d44}
.understanding-point b{color:#10243e}
@media(max-width:900px){.understanding-points{grid-template-columns:1fr;gap:.85rem}.understanding-point+.understanding-point{border-left:0;border-top:1px solid #d4deea;padding-top:.85rem}}
/* "What this shows" uses the same header-tab design as "Understanding the data" so the two read as one system */
.panel.results-summary{padding:0 0 .9rem;overflow:hidden;border:1px solid #d6e0ec;border-left:1px solid #d6e0ec;border-radius:12px;background:linear-gradient(#e7edf5,#e7edf5) top/100% 2.75rem no-repeat,#fff}
.panel.results-summary h2{display:inline-block;margin:0 0 .55rem;padding:.62rem 3rem .62rem 1.2rem;color:#fff;font-size:clamp(1.05rem,1.4vw,1.3rem);background:linear-gradient(100deg,#0a2a43 0%,#0d3150 65%,#1456d6 100%);clip-path:polygon(0 0,100% 0,calc(100% - 30px) 100%,0 100%)}
.panel.results-summary p{margin:.45rem 1.25rem;font-size:1rem;line-height:1.55;color:#1b2d44}
/* Consistent vertical rhythm between stacked result boxes (owner 28 Nov 2026: no boxes touching) */
#results>*+*,#research-results>*+*,#year-results>*+*,#year-results .dash-results+*,.salary-bottom>*+*{margin-top:.75rem}
.takeaways+.results-summary,.results-summary+*,.panel+.results-summary,.dash-results+.results-summary,.dash-results+section,.research-note+*{margin-top:.75rem}
.takeaways{padding:.7rem 1rem}
/* "Understanding the data" and References line up with the results column, not the inputs column */
main:has(>.dash-grid)>.understanding,main:has(>.dash-grid)>.page-references{margin-left:calc(max(180px,20%) + .7rem)}
main:has(>.calc-grid)>.understanding,main:has(>.calc-grid)>.page-references{margin-left:calc(max(200px,23%) + .75rem)}
main>.understanding+.page-references{margin-top:.75rem}
@media(max-width:900px){main>.understanding,main>.page-references{margin-left:0!important}}
/* Inputs column follows the reader down long result pages instead of leaving an empty column (owner 28 Nov 2026) */
@media(min-width:901px){
 .dash-grid>aside,.calc-grid>section.panel:first-child{position:sticky;top:.75rem;align-self:start;max-height:calc(100vh - 1.5rem);overflow-y:auto;scrollbar-width:thin}
}
/* The two lead charts share the row equally so neither is shrunk into unreadable text */
.plot-focus{grid-template-columns:repeat(2,minmax(0,1fr))}
.plot-focus .plot,.plot-focus .lead-plot .plot{height:clamp(170px,26vh,280px)}
/* One header-tab style for "What this shows" and "Understanding the data": same height, text size, padding and icon size */
.understanding-head,.panel.results-summary h2{height:3.1rem;box-sizing:border-box;display:inline-flex;align-items:center;gap:.7rem;padding:0 3.2rem 0 1.2rem;font-size:1.3rem;line-height:1.2;letter-spacing:-.01em}
.understanding-head h2{font-size:1.3rem;line-height:1.2;margin:0}
.understanding-head .line-icon{width:26px;height:26px}
.understanding-top{height:3.1rem}
.panel.results-summary{background:linear-gradient(#e7edf5,#e7edf5) top/100% 3.1rem no-repeat,#fff}
.panel.results-summary h2{margin:0 0 .6rem}
.panel.results-summary h2::before{content:"";flex:none;width:26px;height:26px;background:currentColor;
 -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h16'/%3E%3Cpath d='M7 16v-5'/%3E%3Cpath d='M12 16V6'/%3E%3Cpath d='M17 16v-8'/%3E%3C/svg%3E") center/contain no-repeat;
 mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h16'/%3E%3Cpath d='M7 16v-5'/%3E%3Cpath d='M12 16V6'/%3E%3Cpath d='M17 16v-8'/%3E%3C/svg%3E") center/contain no-repeat}
@media(max-width:620px){.understanding-head,.panel.results-summary h2{font-size:1.12rem;height:2.8rem}.understanding-top{height:2.8rem}.panel.results-summary{background-size:100% 2.8rem,auto}}
/* Side-by-side boxes in a row share one top edge: the stacking gap applies only when boxes are stacked */
.salary-bottom>*,.salary-bottom>*+*,.dash-results>*,.dash-results>*+*,.plot-grid>*,.plot-focus>*,.offer-grid>*,.salary-grid>*{margin-top:0}
.salary-bottom,.dash-results{align-items:stretch}
@media(max-width:900px){.salary-bottom>*+*{margin-top:0}}
/* Summary boxes always take the full width of whatever row/grid they sit in */
.salary-bottom>.results-summary,.dash-results>.results-summary,.plot-grid>.results-summary,.plot-focus>.results-summary,.dash-results>.takeaways,.salary-bottom>.takeaways{grid-column:1/-1}

/* ---- Cohesion standard (28 Nov 2026): one skeleton for site.js tool pages and research pages ---- */
.dash-grid{grid-template-columns:minmax(200px,22%) minmax(0,1fr);gap:.65rem}
.fields label,.research-main form label{font-size:.85rem}
.research-main form input,.research-main form select,.fields input,.fields select{padding:.48rem;width:100%}
.tool-results{min-width:0}
.tool-results>*+*,.tool-results>.plot-focus,.tool-results>.plot-grid{margin:.75rem 0 0}
.tool-results .snapshots{margin:.75rem 0 0}
.tool-results .plot-focus,.tool-results .plot-grid{gap:.75rem}
.tool-results .metrics{grid-auto-flow:row;grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}
.tool-results .metrics>div+div{border-left:0}
.tool-results .metrics>div{border-right:1px solid #c9d9ef}
.tool-results .metrics>div:last-child{border-right:0}
.dash-heading .icon-heading span{background:none;padding:0;border-radius:0;font-size:inherit;white-space:normal}
.research-stats .pay-summary,.research-stats .offer-winner{margin:.55rem 0 0}
.how-to{display:block}
.how-to p{margin:.35rem 0 0;font-size:.85rem;line-height:1.45}
.how-to .icon-heading{margin:0}
.map-panel .postcode-map{margin-top:.3rem}
.form-error{margin:0;padding:.45rem .6rem;border-radius:6px;background:#fdecef;color:#8a1630;font-size:.82rem;line-height:1.35}
.form-error[hidden]{display:none}
.fields [aria-invalid="true"]{border-color:#c62f4f;box-shadow:0 0 0 2px #f6c9d3}
.is-stale{opacity:.5;transition:opacity .2s}
.jump-results{display:none}
.salary-grid{grid-template-columns:minmax(300px,34%) minmax(0,1fr)}
.salary .snapshots tbody tr:last-child{background:#e3f4e9;font-weight:750}
.salary .snapshots tbody tr:nth-child(2){background:#e7f0fc;font-weight:700}
.salary .snapshots td small{color:#3f5673;white-space:nowrap}
.salary .offer-winner{display:inline-block;background:#e3f4e9;color:#16623b;font-weight:700;border-radius:20px;padding:.26rem .6rem;font-size:.82rem}
.salary .fields{gap:.55rem}
.comparison .power-grid{margin-top:.3rem}
/* Calculator pages without data sources must not show an empty References dropdown */
.page-references:not(:has(li)){display:none}
/* Notes and References line up with the results column (22% inputs column, .65rem gap) */
main:has(>.dash-grid)>.understanding,main:has(>.dash-grid)>.page-references{margin-left:calc(max(200px,22%) + .65rem)}
main:has(>.salary-grid)>.understanding,main:has(>.salary-grid)>.page-references{margin-left:calc(max(300px,34%) + .65rem)}
@media(max-width:900px){main:has(>.salary-grid)>.understanding,main:has(>.salary-grid)>.page-references{margin-left:0}}
@media(max-width:900px){
 .dash-grid,.salary-grid,.mortgage-summary,.dash-results,.plot-focus,.plot-grid{grid-template-columns:minmax(0,1fr)}
 .jump-results{display:block;text-align:center}
 /* On This Page becomes a horizontal chip row above Key Figures */
 .research-navigation:not([hidden]){display:flex;flex-wrap:wrap;gap:.35rem;align-items:center}
 .research-navigation .icon-heading{width:100%;margin:0 0 .1rem;font-size:.95rem}
 .research-navigation .research-jump{width:auto;display:inline-block;border:1px solid var(--line);border-radius:20px;padding:.3rem .65rem;background:#f3f7ff;font-size:.78rem}
 .research-navigation .research-jump:last-child{border-bottom:1px solid var(--line)}
}
@media(max-width:620px){
 .tool-results .metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
 .tool-results .metrics>div{border-right:0;border-bottom:1px solid #c9d9ef}
 .tool-results .data{font-size:.78rem}
 .tool-results .data td,.tool-results .data th{padding:.3rem .25rem}
 .tool-results .snapshots{overflow-x:auto}
}
/* "How to Read This" and "Key Takeaways" use the same header-tab design as "What this shows" / "Understanding the data" */
.panel.research-note,.panel.takeaways{display:block;padding:0 0 .9rem;overflow:hidden;border:1px solid #d6e0ec;border-radius:12px;color:#1b2d44;background:linear-gradient(#e7edf5,#e7edf5) top/100% 3.1rem no-repeat,#fff}
.panel.research-note>h2.icon-heading,.panel.takeaways>h2.icon-heading{height:3.1rem;box-sizing:border-box;display:inline-flex;align-items:center;gap:.7rem;margin:0 0 .6rem;padding:0 3.2rem 0 1.2rem;font-size:1.3rem;line-height:1.2;letter-spacing:-.01em;color:#fff;clip-path:polygon(0 0,100% 0,calc(100% - 30px) 100%,0 100%)}
.panel.research-note>h2.icon-heading{background:linear-gradient(100deg,#0a2a43 0%,#0d3150 62%,#9a5b00 88%,#c27a0e 100%)}
.panel.takeaways>h2.icon-heading{background:linear-gradient(100deg,#0a2a43 0%,#0d3150 62%,#0c6a47 86%,#0f8a55 100%)}
.panel.research-note>h2.icon-heading .line-icon,.panel.takeaways>h2.icon-heading .line-icon{width:26px;height:26px;color:#fff}
.panel.research-note>p,.panel.takeaways>p{margin:.45rem 1.25rem;font-size:1rem;line-height:1.55;color:#1b2d44}
.panel.takeaways>p b{color:#10243e}
.mortgage-insights.takeaways{background:linear-gradient(#e7edf5,#e7edf5) top/100% 3.1rem no-repeat,#fff}
@media(max-width:620px){.panel.research-note>h2.icon-heading,.panel.takeaways>h2.icon-heading{font-size:1.12rem;height:2.8rem}.panel.research-note,.panel.takeaways{background-size:100% 2.8rem,auto}}
/* Each section type has its own icon: What this shows = bar chart, Understanding the data = book,
   How to Read This = magnifying glass, Key Takeaways = lightbulb */
.panel.research-note>h2.icon-heading>svg.line-icon{display:none}
.panel.research-note>h2.icon-heading::before{content:"";flex:none;width:26px;height:26px;background:currentColor;
 -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6'/%3E%3Cpath d='m15 15 5 5'/%3E%3C/svg%3E") center/contain no-repeat;
 mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6'/%3E%3Cpath d='m15 15 5 5'/%3E%3C/svg%3E") center/contain no-repeat}
/* "How to Read This" boxes also carry .takeaways; keep their own amber accent */
.panel.research-note.takeaways>h2.icon-heading,.panel.research-note>h2.icon-heading{background:linear-gradient(100deg,#0a2a43 0%,#0d3150 62%,#9a5b00 88%,#c27a0e 100%)}
/* PAGE-STRUCTURE-RULES.md: every section header uses the site's navy-to-blue brand colour; sections are told apart by icon */
.understanding-head,.panel.results-summary h2,.panel.research-note>h2.icon-heading,.panel.research-note.takeaways>h2.icon-heading,.panel.takeaways>h2.icon-heading{background:linear-gradient(100deg,#0a2a43 0%,#0d3150 60%,#0758e9 100%)}
/* Section header tabs use exactly the same heading size as every other card heading (Key Figures, Your Inputs): 1.15rem text, 20px icons */
.understanding-head,.panel.results-summary h2,.panel.research-note>h2.icon-heading,.panel.takeaways>h2.icon-heading{height:2.6rem;font-size:1.15rem;gap:.5rem;padding:0 2.6rem 0 1rem;clip-path:polygon(0 0,100% 0,calc(100% - 24px) 100%,0 100%)}
.understanding-head h2{font-size:1.15rem}
.understanding-head .line-icon,.panel.research-note>h2.icon-heading .line-icon,.panel.takeaways>h2.icon-heading .line-icon{width:20px;height:20px}
.panel.results-summary h2::before,.panel.research-note>h2.icon-heading::before{width:20px;height:20px}
.understanding-top{height:2.6rem}
.panel.results-summary,.panel.research-note,.panel.takeaways{background-size:100% 2.6rem,auto}
@media(max-width:620px){.understanding-head,.panel.results-summary h2,.panel.research-note>h2.icon-heading,.panel.takeaways>h2.icon-heading{font-size:1.15rem;height:2.6rem}.understanding-top{height:2.6rem}}
/* Key Takeaway keeps its own original green highlight (owner, 28 Nov 2026) — it is NOT a header-tab section */
.panel.takeaways:not(.research-note){display:flex;align-items:center;gap:.9rem;flex-wrap:wrap;padding:.75rem 1rem;background:#edf8f1;border:1px solid #cfe8d9;border-radius:9px;overflow:visible}
.panel.takeaways:not(.research-note)>h2.icon-heading{height:auto;display:flex;align-items:center;gap:.5rem;margin:0;padding:0;font-size:1.15rem;color:#10243e;background:none;clip-path:none}
.panel.takeaways:not(.research-note)>h2.icon-heading .line-icon{width:20px;height:20px;color:#157650}
.panel.takeaways:not(.research-note)>p{margin:0;font-size:1rem;line-height:1.5;color:#1b2d44}
/* Owner 28 Nov 2026: no angled tab / grey band. These sections are plain white cards with the same heading style as "Key Figures" */
.panel.results-summary,.panel.research-note,.understanding{background:#fff!important;border:1px solid var(--line);border-radius:9px;padding:.75rem .9rem;overflow:visible;box-shadow:none}
.understanding-top{height:auto;background:none}
.understanding-head,.panel.results-summary h2,.panel.research-note>h2.icon-heading,.panel.research-note.takeaways>h2.icon-heading{height:auto;display:flex;align-items:center;gap:.5rem;margin:0 0 .6rem;padding:0;font-size:1.15rem;line-height:1.25;color:#10243e;background:none!important;clip-path:none}
.understanding-head h2{font-size:1.15rem;color:#10243e}
.understanding-head .line-icon,.panel.research-note>h2.icon-heading .line-icon{width:20px;height:20px;color:#0a58eb}
.panel.results-summary h2::before,.panel.research-note>h2.icon-heading::before{width:20px;height:20px;background:#0a58eb}
.panel.results-summary p,.panel.research-note>p{margin:.4rem 0}
.understanding-points{padding:.2rem 0 0}
.understanding-point{padding:.1rem 1rem}
.understanding-point:first-child{padding-left:0}
@media(max-width:900px){.understanding-point{padding-left:0}}
/* Owner 28 Nov 2026: keep a header bar on these three cards, but one flat colour — no gradient, no angled tab */
.panel.results-summary,.panel.research-note,.understanding{padding:0 0 .75rem!important;overflow:hidden}
.panel.results-summary h2,.panel.research-note>h2.icon-heading,.panel.research-note.takeaways>h2.icon-heading,.understanding-top{display:flex;align-items:center;gap:.5rem;margin:0 0 .6rem;padding:.6rem .9rem;background:#e7edf5!important;border-bottom:1px solid #d6e0ec;clip-path:none;height:auto}
.understanding-head{padding:0;margin:0}
.panel.results-summary p,.panel.research-note>p{margin:.4rem .9rem}
.understanding-points{padding:.2rem .9rem 0}
/* Key Takeaway: same card + flat header bar as the other three sections, in its own flat light green */
.panel.takeaways:not(.research-note){display:block;padding:0 0 .75rem;overflow:hidden;background:#fff;border:1px solid #cfe8d9;border-radius:9px}
.panel.takeaways:not(.research-note)>h2.icon-heading{display:flex;align-items:center;gap:.5rem;margin:0 0 .6rem;padding:.6rem .9rem;font-size:1.15rem;color:#10243e;background:#dff2e7!important;border-bottom:1px solid #cfe8d9;clip-path:none;height:auto}
.panel.takeaways:not(.research-note)>h2.icon-heading .line-icon{width:20px;height:20px;color:#157650}
.panel.takeaways:not(.research-note)>p{margin:.4rem .9rem;font-size:1rem;line-height:1.5}
/* Key Takeaway is green all over: light green body, slightly deeper green flat header bar */
.panel.takeaways:not(.research-note){background:#edf8f1!important;border-color:#bfe3cd}
.panel.takeaways:not(.research-note)>h2.icon-heading{background:#d3eedd!important;border-bottom-color:#bfe3cd}
.related-research{margin-top:.75rem}
/* Every card below the two-column area (Understanding the data, Related Research, References, anything added later)
   lines up exactly with the results column above it (owner, 28 Nov 2026) */
main:has(>.dash-grid)>:not(.dash-grid){margin-left:calc(max(200px,22%) + .65rem)}
main:has(>.calc-grid)>:not(.calc-grid){margin-left:calc(max(200px,22%) + .65rem)}
main:has(>.salary-grid)>:not(.salary-grid){margin-left:0}
main>.related-research,main>.page-references,main>.understanding{margin-top:.75rem;margin-right:0}
@media(max-width:900px){main>:not(.dash-grid):not(.calc-grid):not(.salary-grid){margin-left:0!important}}
/* "On This Page" jump: the highlight sits exactly on the card's own edge (no offset or glow) and the scroll stops just above the card */
.is-highlighted{outline:2px solid #0758e9!important;outline-offset:-1px!important;box-shadow:none!important;transition:outline-color .3s}
main .panel,main details,main .understanding{scroll-margin-top:.75rem}
/* Multi-column Data Tables (29 Nov 2026): wide tables scroll inside their own panel, never the page */
.research-main details.snapshots{overflow-x:auto;max-width:100%}
.research-main details.snapshots>summary{position:sticky;left:0}
.research-main .snapshots .data th{vertical-align:bottom;line-height:1.25}
/* "ACERFS" wordmark next to the logo, matching the logo artwork: bold serif, dark navy (owner, 29 Nov 2026) */
.brand img.brand-name{width:auto;height:21px;margin:0 0 0 2px;object-fit:contain}
@media(max-width:620px){.brand img.brand-name{height:18px}}

#search button{display:flex;align-items:center;justify-content:center;padding:0 .8rem}#search button svg{display:block}

footer .copyright{display:inline!important}

.plot.plot-natural{height:auto!important;max-height:none!important}
.plot text.bar-value{font-size:11px}
@media(max-width:620px){.plot text.bar-value{font-size:13px}}

/* Tables: the first column (period, region, group) never wraps (final check 29 Nov 2026) */
table.data td:first-child,table.data th:first-child{white-space:nowrap}
/* Explainer guides (29 Nov 2026): section headings keep their own icon (not the How to Read This magnifier); small tables scroll inside their panel */
.guide-explainer .panel.research-note>h2.icon-heading>svg.line-icon{display:block}
.guide-explainer .panel.research-note>h2.icon-heading::before{content:none}
.guide-explainer .guide-table-scroll{overflow-x:auto;max-width:100%}
.guide-explainer .guide-faq .guide-question{margin-top:.8rem}

.about-divider{border:0;border-top:1px solid var(--line);margin:1.1rem 0 .9rem}
table.data td.wrap{white-space:normal;min-width:12rem}

/* Header search: input and magnifier button form one joined control (owner, 29 Nov 2026) */
#search{align-items:stretch}
#search input{border-top-right-radius:0;border-bottom-right-radius:0;border-right:0;margin:0}
#search button{border-top-left-radius:0;border-bottom-left-radius:0;margin:0;border:1px solid var(--blue)}
#search input:focus{position:relative;z-index:1}
