:root {
    --paper: #ffffff;
    --ground: #f2f4fa;
    --ink: #405277;
    --heading: #49578e;
    --accent: #6d4e9e;
    --link: #61428f;
    --border: #d7deed;
    --wash: #e8eaf7;
    --mint: #e8f4f1;
    --teal: #337c78;
    --edge: #b8c7de;
    --width: 1260px;
    --pad: clamp(16px, 3.2vw, 46px);
    --gutter: clamp(18px, 3vw, 40px);
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 16px; font-weight: 400; line-height: 1.65; }
h1, h2, h3, p { margin: 0; overflow-wrap: anywhere; }
h1 { font-size: 40px; font-weight: 400; line-height: 1.15; color: var(--heading); letter-spacing: -1.25px; }
h2 { font-size: 28px; font-weight: 400; line-height: 1.24; color: var(--heading); letter-spacing: -.5px; }
h3 { font-size: 20px; font-weight: 400; line-height: 1.35; color: var(--heading); }
p { font-size: 16px; line-height: 1.65; }
p + p { margin-top: 14px; }
a { color: var(--link); text-decoration: none; font-weight: 400; }
a:hover { color: var(--link); background-color: #e9e3f5; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
a[href=""] { color: var(--link); }
.wrap { width: min(var(--width), calc(100% - 2 * var(--pad))); margin-inline: auto; }
.masthead { background: var(--paper); border-top: 6px solid #8c79bc; border-bottom: 1px solid var(--border); }
.mastline { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 18px; }
.identity { display: flex; align-items: center; gap: 13px; color: var(--heading); line-height: 1.3; font-size: 20px; }
.identity:hover { color: var(--heading); background: transparent; }
.identity small { display: block; font-size: 12px; color: var(--ink); margin-top: 3px; letter-spacing: .055em; }
.brand-mark { display: grid; place-items: center; width: 43px; aspect-ratio: 1; flex: none; border: 2px solid #a795cb; border-radius: 10px; background: linear-gradient(140deg,#f4f1ff,#dde6f3); position: relative; }
.brand-mark::before { content: ""; width: 23px; aspect-ratio: 1; border: 4px double #7d6cad; border-radius: 50%; background: #dce6f2; }
.brand-mark::after { content: ""; width: 7px; height: 3px; border-radius: 2px; background: #7d6cad; position: absolute; top: 5px; right: 6px; }
.navline { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 24px; }
.navline a { padding: 6px 0; border-bottom: 2px solid transparent; }
.navline a:hover, .navline a[aria-current="page"] { border-color: #9a83c7; background: transparent; }
.region-title { padding: 26px 0 19px; }
.region-title .overline { font-size: 13px; letter-spacing: .10em; color: var(--teal); display: block; margin-bottom: 8px; }
.region-title h1 { margin-bottom: 0; }
.local-bar { border-block: 1px solid var(--border); background: #e9edf8; padding-block: 15px; }
.local-inner { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 24px; }
.local-inner h2 { flex: 0 0 auto; }
.local-inner ul { flex: 1 1 260px; display: flex; flex-wrap: wrap; list-style: none; gap: 7px 10px; margin: 0; padding: 0; }
.local-inner li a { display: block; border: 1px solid #c2cbe5; background: var(--paper); padding: 4px 13px; border-radius: 3px; }
.local-inner li a:hover { background: #f3ecff; }
.editorial { background: var(--paper); border: 1px solid var(--border); border-top: 4px solid #8797c9; margin: 22px auto 0; padding: clamp(18px, 3vw, 34px); }
.editorial .chapter { padding: 0 0 24px; margin-bottom: 24px; border-bottom: 1px solid var(--border); }
.editorial .chapter:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.chapter > h2 { margin-bottom: 17px; }
.chapter .subhead { margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.chapter .subhead::before { content: ""; width: 5px; height: 28px; flex: none; background: #9d8fc8; border-radius: 2px; }
.split { display: grid; gap: var(--gutter); align-items: start; }
.split > * { min-width: 0; }
.split.ratio-21 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.split.ratio-12 { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.split.ratio-11 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.split.ratio-32 { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.split.ratio-23 { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.plate { display: grid; place-items: center; padding: 18px 10px; background: radial-gradient(ellipse at 50% 24%,#fcfcff 0%,#e8ecf8 65%,#e1e7f2 100%); border: 1px solid #d4dcec; position: relative; overflow: hidden; align-self: center; }
.plate::after { content: ""; height: 1px; position: absolute; bottom: 20px; left: 12%; right: 12%; background: #bdc9df; }
.device { position: relative; width: 164px; height: 190px; border: 1px solid #a9b8d3; border-radius: 7px 7px 4px 4px; background: linear-gradient(100deg,#d4deec 0%,#f7f9fc 22%,#f9fbff 75%,#cad6e7 100%); box-shadow: 9px 9px 0 #b6c5db, 16px 19px 22px -15px #879bc1, inset 0 2px 3px #fff; z-index: 1; }
.device::after { content: ""; position: absolute; height: 5px; bottom: -5px; left: 8%; right: 8%; border-radius: 0 0 3px 3px; background: #90a3c4; }
.controls { position: absolute; height: 35px; left: 4px; right: 4px; top: 5px; border-bottom: 1px solid #b4c3da; background: linear-gradient(#f8faff,#dce4f2); }
.knob { position: absolute; width: 22px; height: 22px; border-radius: 50%; background: conic-gradient(#fff,#a8b9d3,#eef2f9,#fff); border: 1px solid #8ea3c3; top: 5px; left: calc(50% - 11px); box-shadow: 1px 2px 3px #aab9d3; }
.knob::before { content: ""; position: absolute; width: 2px; height: 5px; background: #687ea8; left: 9px; top: 2px; }
.drawer { position: absolute; top: 6px; left: 5px; width: 42px; height: 17px; border: 1px solid #b0bed6; background: linear-gradient(#f7faff,#dde6f3); border-radius: 2px; }
.drawer::after { content: ""; position: absolute; width: 25px; height: 3px; left: 7px; top: 3px; background: #a4b3cf; }
.readout { position: absolute; width: 39px; height: 18px; top: 5px; right: 5px; border-radius: 2px; background: #8498ba; box-shadow: inset 0 1px 2px #657ba4; }
.readout::after { content: ""; position: absolute; left: 7px; top: 6px; width: 25px; height: 6px; background: repeating-linear-gradient(90deg,#d8f4e9 0 3px,transparent 3px 7px); }
.porthole { position: absolute; width: 114px; height: 114px; left: 24px; top: 51px; background: linear-gradient(145deg,#f9fbff,#adbed8 60%,#f3f6fb); border-radius: 50%; border: 1px solid #9fb1ce; box-shadow: 1px 3px 6px #a6b8d3; padding: 12px; }
.drum { width: 100%; height: 100%; border-radius: 50%; border: 7px solid #a3b6d0; background: radial-gradient(circle at 30% 28%,#f4f8ff 0%,#d8e5f4 26%,#809bc1 60%,#6985b0 100%); position: relative; overflow: hidden; }
.drum::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: radial-gradient(circle,#9bb1d0 1px,transparent 2px) 0 0/8px 8px; opacity: .8; }
.drum::after { content: ""; position: absolute; width: 90%; height: 56%; top: 5%; left: -4%; transform: rotate(-24deg); background: linear-gradient(160deg,#f9fcffad,transparent); border-radius: 50%; }
.latch { position: absolute; width: 9px; height: 24px; right: 3px; top: 43px; border-radius: 6px; background: linear-gradient(90deg,#8498b8,#e1e9f6); }
.service-door { position: absolute; width: 29px; height: 14px; border: 1px solid #b5c1d6; right: 7px; bottom: 7px; border-radius: 3px; }
.dryer .drum { background: radial-gradient(circle at 38% 25%,#f2f6fe,#bfd0e1 32%,#8fa5c5 60%,#7790b1); }
.dryer .drawer { width: 49px; }
.dryer .service-door { width: 116px; right: 22px; background: repeating-linear-gradient(90deg,#b6c3d9 0 2px,#e2e8f3 2px 5px); }
.dish .controls { height: 28px; }
.dish .handle { position: absolute; top: 42px; left: 25px; right: 25px; height: 10px; background: linear-gradient(#849bbf,#c1cfe2 55%,#96a8c6); border-radius: 4px; box-shadow: 0 2px 3px #b3c0d3; }
.dish .door-panel { position: absolute; top: 62px; bottom: 20px; left: 8px; right: 8px; background: linear-gradient(95deg,#e2eaf6,#f8faff 36%,#ebf0f9); border: 1px solid #c4d0e2; border-radius: 3px; }
.dish .kick { position: absolute; bottom: 3px; height: 12px; left: 6px; right: 6px; background: repeating-linear-gradient(90deg,#9eafca 0 3px,#c3cee0 3px 6px); border-radius: 2px; }
.fridge,.freezer { width: 117px; height: 205px; border-radius: 7px; }
.fridge .upper,.fridge .lower,.freezer .upper,.freezer .lower { position: absolute; left: 3px; right: 3px; border: 1px solid #b3c1d8; background: linear-gradient(100deg,#d8e2ee,#f9fbff 23%,#f2f6fb 78%,#cdd9e9); border-radius: 5px; }
.fridge .upper { top: 3px; height: 61%; }
.fridge .lower { top: 64%; bottom: 4px; }
.freezer .upper { top: 3px; height: 25%; }
.freezer .lower { top: 28%; bottom: 4px; }
.fridge .upper::after,.fridge .lower::after,.freezer .upper::after,.freezer .lower::after { content: ""; position: absolute; left: 9px; top: 13px; height: 40%; width: 5px; background: linear-gradient(90deg,#91a5c6,#e9eff7,#a6b7d2); border-radius: 3px; box-shadow: 1px 2px 2px #b5c4da; }
.fridge .display-strip,.freezer .display-strip { position: absolute; right: 15px; top: 18px; width: 26px; height: 13px; border-radius: 2px; background: #8398b8; }
.fridge .display-strip::after,.freezer .display-strip::after { content: ""; position: absolute; inset: 4px 5px; background: repeating-linear-gradient(90deg,#c9f0e7 0 2px,transparent 2px 5px); }
.oven { height: 150px; width: 184px; }
.oven .controls { height: 29px; }
.oven .knob { width: 17px; height: 17px; left: 13px; top: 4px; }
.oven .knob::before { left: 7px; height: 4px; }
.oven .knob.second { left: auto; right: 12px; }
.oven .readout { right: calc(50% - 21px); top: 4px; height: 15px; width: 42px; }
.oven .handle { position: absolute; top: 39px; left: 16px; right: 16px; height: 8px; background: linear-gradient(#e6edf8,#92a8c9 65%,#d3deef); border-radius: 4px; z-index: 2; }
.oven .window { position: absolute; top: 47px; bottom: 9px; left: 9px; right: 9px; background: linear-gradient(150deg,#b9c8de,#6f88ae 70%); border: 8px solid #a5b6cf; border-radius: 4px; box-shadow: inset 0 1px 6px #647fa7; }
.oven .window::before { content: ""; position: absolute; left: 10px; right: 10px; top: 15px; bottom: 12px; background: repeating-linear-gradient(0deg,transparent 0 11px,#dce6f4 11px 13px); opacity: .7; }
.oven .window::after { content: ""; position: absolute; inset: 0; background: linear-gradient(140deg,#edf5ff99,transparent 45%); }
.hood { width: 205px; height: 153px; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.hood::after { display: none; }
.chimney { position: absolute; top: 0; left: 70px; width: 65px; height: 97px; border: 1px solid #a2b2cf; background: linear-gradient(90deg,#c7d4e6,#f8faff 35%,#d9e3f0 75%,#adbed6); }
.canopy { position: absolute; bottom: 17px; width: 100%; height: 55px; clip-path: polygon(24% 0,76% 0,100% 73%,100% 100%,0 100%,0 73%); background: linear-gradient(110deg,#a6b7d0,#f4f8fe 45%,#bdcbe0); border-bottom: 8px solid #9cacc9; }
.hood .vent { position: absolute; bottom: 4px; left: 14px; right: 14px; height: 13px; background: repeating-linear-gradient(90deg,#8fa4c6 0 2px,#d5deec 2px 5px); transform: perspective(100px) rotateX(-20deg); }
.hood .light { position: absolute; bottom: 21px; right: 14px; width: 28px; height: 3px; background: #f6faff; border-radius: 3px; }
.hob { width: 208px; height: 151px; border-radius: 5px; border: 5px solid #c5d3e6; background: linear-gradient(145deg,#8ea6c7,#c1d1e6 25%,#829bbd 55%,#a9bfdb); transform: perspective(380px) rotateX(20deg); box-shadow: 0 8px 0 #a5b9d3,0 15px 16px -12px #8599b8; }
.hob::after { display: none; }
.zone { position: absolute; border: 2px double #e2eafa; border-radius: 50%; width: 55px; height: 55px; }
.zone.a { left: 14px; top: 9px; }
.zone.b { right: 18px; top: 10px; width: 44px; height: 44px; }
.zone.c { left: 26px; bottom: 18px; width: 39px; height: 39px; }
.zone.d { right: 11px; bottom: 21px; width: 62px; height: 62px; }
.touch { position: absolute; bottom: 6px; left: 81px; width: 35px; height: 6px; background: repeating-linear-gradient(90deg,#edf1fa 0 3px,transparent 3px 7px); }
.data-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 15px; line-height: 1.5; margin-top: 17px; overflow-wrap: anywhere; }
.data-table th,.data-table td { text-align: left; vertical-align: top; border: 1px solid var(--border); padding: 12px 13px; font-weight: 400; }
.data-table th { background: #e7e9f7; color: var(--heading); }
.data-table tbody tr:nth-child(odd) { background: #f6f8fc; }
.data-table tbody tr:nth-child(even) { background: #fff; }
.table-side { align-self: center; }
.table-side .data-table { margin-top: 0; }
.aside-note { border-left: 3px solid #75aaa7; padding-left: 17px; background: #f0f8f6; padding-block: 12px; padding-right: 14px; align-self: start; }
.aside-note h3 { margin-bottom: 8px; color: var(--teal); }
.sources { background: transparent; padding: 22px 0 0; border-top: 1px solid var(--border); }
.sources h2 { margin-bottom: 10px; }
.sources p { color: #50648a; }
.region-foot { margin-top: 26px; border-top: 1px solid var(--border); background: #e7ecf6; }
.footline { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; padding-block: 19px; gap: 8px 22px; }
.footline nav { display: flex; flex-wrap: wrap; gap: 7px 20px; }
.front { margin-top: 25px; }
.front-hero { background: var(--paper); border: 1px solid var(--border); border-top: 5px solid #8f7fb9; padding: clamp(20px,3vw,34px); }
.front-hero h1 { margin-bottom: 17px; }
.front-hero h2 { margin-bottom: 10px; }
.front-hero .plate { padding: 25px 10px; }
.front-block { margin-top: 22px; padding: clamp(18px,3vw,31px); background: var(--paper); border: 1px solid var(--border); }
.front-block > h2 { margin-bottom: 16px; }
.county-index { column-count: 3; column-gap: 24px; list-style: none; padding: 0; margin: 0; }
.county-index li { break-inside: avoid; border-bottom: 1px solid var(--border); margin-bottom: 3px; }
.county-index a { display: flex; justify-content: space-between; gap: 7px; align-items: baseline; padding: 11px 7px; }
.county-index a span:last-child { font-size: 12px; color: var(--teal); flex: none; }
.county-index a span:first-child { min-width: 0; overflow-wrap: anywhere; }
.study-number { border-left: 4px solid #9c8bc7; background: #eeedf8; padding: 14px 18px; }
.study-number .big { display: block; font-size: 39px; color: var(--accent); font-weight: 400; line-height: 1.2; }
.study-number p { margin: 6px 0 12px; }
.study-number p:last-child { margin-bottom: 0; }
.front-block h3 { margin-bottom: 8px; }
.front-block .split + .data-table { margin-top: 18px; }
.read-more { display: flex; flex-wrap: wrap; gap: 6px 18px; padding-top: 14px; border-top: 1px solid var(--border); margin-top: 16px; }
.calc { border: 1px solid #c4d7db; padding: 18px; background: #edf7f6; }
.calc h3 { color: var(--teal); }
.calc-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.calc label { display: block; font-size: 14px; line-height: 1.45; }
.calc input { display: block; width: 100%; font: inherit; color: var(--ink); margin-top: 4px; min-width: 0; padding: 9px 10px; border: 1px solid #abc5cb; border-radius: 3px; background: #fff; }
.calc button { display: inline-block; font: inherit; color: #fff; background: #567e98; border: 1px solid #567e98; border-radius: 3px; padding: 8px 18px; margin-top: 13px; cursor: pointer; }
.calc button:hover { background: #426987; }
.calc output { display: block; margin-top: 13px; line-height: 1.5; background: #fff; border-left: 3px solid #68a6a0; padding: 11px; overflow-wrap: anywhere; }
.formula-list { list-style: none; margin: 12px 0 0; padding: 0; border-top: 1px solid var(--border); }
.formula-list li { padding: 9px 0; border-bottom: 1px solid var(--border); }
@media (max-width: 1000px) {
    .split { gap: 20px; }
    .split.ratio-21,.split.ratio-12 { grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); }
    .split.ratio-12 { grid-template-columns: minmax(0,1fr) minmax(0,1.6fr); }
    .county-index { column-count: 2; }
    .device { transform: scale(.93); }
    .hob { transform: perspective(380px) rotateX(20deg) scale(.93); }
}
@media (max-width: 760px) {
    .mastline { align-items: flex-start; flex-direction: column; gap: 11px; }
    .navline { gap: 3px 18px; }
    .region-title { padding-block: 19px 16px; }
    .split.ratio-21,.split.ratio-12,.split.ratio-11,.split.ratio-32,.split.ratio-23 { grid-template-columns: 1fr; }
    .plate { justify-self: stretch; }
    .editorial,.front-block,.front-hero { padding: 18px; }
    .local-inner { display: block; }
    .local-inner ul { margin-top: 10px; }
    .table-side .data-table { margin-top: 0; }
    .front-hero .plate { padding-block: 20px; }
    .data-table { font-size: 14px; }
    .data-table th,.data-table td { padding: 8px; }
}
@media (max-width: 480px) {
    .county-index { column-count: 1; }
    .data-table,.data-table tbody,.data-table tr { display: block; }
    .data-table thead { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
    .data-table tbody tr { border: 1px solid var(--border); margin-bottom: 9px; }
    .data-table td { display: grid; grid-template-columns: minmax(0, 40%) minmax(0,1fr); gap: 8px; border: 0; border-bottom: 1px solid var(--border); }
    .data-table td:last-child { border-bottom: 0; }
    .data-table td::before { content: attr(data-label); color: var(--heading); }
    .calc-grid { grid-template-columns: 1fr; }
    .identity { font-size: 18px; }
    .navline { font-size: 14px; }
}
.after-table { margin-top: 17px; }
.county-index a span:only-child { font-size: 16px; color: var(--link); flex: 1 1 auto; }
.editorial .chapter:has(+ .sources) { border-bottom: 0; margin-bottom: 0; }
@media (min-width: 1200px) {
    .editorial .plate { padding-block: 24px; }
    .editorial .device { zoom: 1.25; }
    .editorial .fridge, .editorial .freezer { zoom: 1.24; }
    .editorial .oven { zoom: 1.58; }
    .editorial .hood, .editorial .hob { zoom: 1.42; }
}
