:root {
  --paper:#f5f2eb; --panel:#fffdf8; --ink:#25312b; --muted:#596157;
  --accent:#8f482d; --line:#d6d9d0; --pale:#eceee6; --green:#315a48;
  --serif:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;
  --nav-height:80px;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:calc(var(--nav-height) + 18px); }
body { margin:0; background:var(--paper); color:var(--ink); font:16px/1.6 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; overflow-wrap:anywhere; }
a { color:inherit; text-underline-offset:4px; text-decoration-thickness:1px; }
a:hover { color:var(--accent); }
a:focus-visible,button:focus-visible,summary:focus-visible,[tabindex]:focus-visible { outline:3px solid var(--accent); outline-offset:4px; }
.skip { position:fixed; top:-80px; left:16px; padding:12px 18px; background:var(--panel); z-index:40; }
.skip:focus { top:10px; }
.topbar { position:sticky; top:0; z-index:20; display:flex; align-items:center; justify-content:space-between; gap:24px; padding:13px max(28px,calc((100vw - 1120px)/2)); border-bottom:1px solid var(--line); background:var(--paper); }
.brand { flex-shrink:0; font:700 15px/1.3 system-ui,sans-serif; text-decoration:none; letter-spacing:-.02em; padding:9px 0; }
.topbar nav { display:flex; align-items:center; gap:4px; min-width:0; overflow-x:auto; }
.topbar nav a { flex-shrink:0; text-decoration:none; font-size:12px; padding:12px 10px; border-radius:5px; }
.topbar nav a:hover,.topbar nav a[aria-current="location"] { background:var(--pale); color:var(--green); }
main { max-width:1184px; margin:auto; padding:0 32px; }
.hero { padding:46px 0 38px; }
.eyebrow { margin:0 0 12px; color:var(--accent); font-size:11px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; }
.hero>.eyebrow { display:flex; justify-content:space-between; gap:20px; padding-bottom:17px; border-bottom:1px solid var(--line); }
.hero .eyebrow span { color:var(--muted); letter-spacing:.03em; }
.hero-grid { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); align-items:center; gap:60px; padding-top:22px; }
h1 { font:400 clamp(40px,4.5vw,60px)/1.08 var(--serif); letter-spacing:-.035em; margin:0 0 22px; max-width:580px; }
.lede { color:var(--muted); font-size:17px; line-height:1.65; max-width:660px; margin:0 0 20px; }
.scope-line { display:flex; flex-wrap:wrap; gap:8px 12px; font-size:12px; color:var(--muted); }
.snapshot { display:grid; gap:0; border:1px solid var(--line); border-radius:12px; overflow:hidden; background:var(--panel); }
.snapshot>div { display:grid; grid-template-columns:108px minmax(0,1fr); gap:3px 20px; padding:20px 23px; border-bottom:1px solid var(--line); }
.snapshot>div:last-child { border:0; background:#edf1e9; }
.snapshot strong { grid-row:span 2; align-self:center; font-size:34px; font-weight:650; line-height:1.15; letter-spacing:-.035em; }
.snapshot strong a { text-decoration:none; border-bottom:1px solid var(--line); }
.snapshot .text-stat { font-size:23px; }
.snapshot span { font-size:13px; font-weight:650; }
.snapshot small { font-size:12px; line-height:1.55; color:var(--muted); }
.current-action { border:1px solid #cbd7c9; border-left:4px solid var(--green); border-radius:6px; background:#eaf0e6; padding:17px 21px; margin:24px 0 18px; font-size:15px; }
.current-action p { margin:6px 0 0; color:var(--muted); font-size:14px; }
.current-action small { display:block; color:var(--muted); margin-top:9px; font-size:12px; }
.project-scope { margin:0 0 20px; }
.hero > h1 { margin-top:26px; max-width:850px; }
.hero > .lede { max-width:780px; }
.question-index { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-top:24px; }
.question-index a { display:flex; align-items:center; gap:10px; padding:12px 14px; background:var(--panel); border:1px solid var(--line); border-radius:6px; text-decoration:none; font-size:13px; min-height:48px; }
.question-index span { color:var(--accent); font-size:12px; font-weight:650; }
.market-question { padding:32px 0; }
.market-question .section-head { margin-bottom:15px; }
.market-question h2 { max-width:980px; font-size:clamp(25px,2.7vw,33px); }
.question-answer { max-width:860px; }
.question-answer p { margin:10px 0; }
.question-answer .answer { font-size:16px; }
.question-answer .evidence-note { font-size:13px; color:var(--muted); }
.question-links { display:block; margin-top:5px; }
.question-answer .next-check { font-size:14px; padding-left:13px; border-left:2px solid #bccbb6; }
.question-evidence > summary { color:var(--green); }
@media (max-width:750px) { .question-index { grid-template-columns:repeat(2,minmax(0,1fr)); } .market-question { padding:28px 0; } .question-answer .answer { font-size:15px; } }
.brief { display:grid; grid-template-columns:1fr 1fr; gap:30px; font-size:13px; color:var(--muted); }
.brief p { margin:0; }
.brief b { color:var(--ink); }
.section { padding:46px 0; border-top:1px solid var(--line); }
.section-head { display:flex; justify-content:space-between; align-items:flex-end; gap:24px; margin-bottom:25px; }
.section-head .eyebrow { margin-bottom:8px; }
h2 { font:400 clamp(29px,3vw,36px)/1.18 var(--serif); letter-spacing:-.025em; max-width:760px; margin:0; }
h3 { font-size:17px; line-height:1.4; margin:0 0 10px; }
h4 { font-size:14px; line-height:1.4; }
.tag { font-size:12px; line-height:1.35; padding:8px 12px; border-radius:5px; background:var(--pale); color:var(--muted); flex-shrink:0; max-width:240px; }
.boundary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin:0 0 23px; font-size:14px; }
.boundary>div { border:1px solid var(--line); border-radius:7px; padding:16px 18px; background:#eeeee7; }
.boundary b { font-size:12px; text-transform:uppercase; letter-spacing:.045em; }
.boundary p { margin:7px 0 0; color:var(--muted); line-height:1.5; }
.boundary.two { grid-template-columns:1fr 1fr; margin-top:20px; }
.table-wrap { overflow-x:auto; border:1px solid var(--line); border-radius:8px; background:var(--panel); scrollbar-color:#8c9a89 var(--pale); }
.table-wrap[data-scrollable="true"]::after { content:'Scroll sideways for the full comparison'; display:block; position:sticky; left:0; width:100%; font-size:12px; line-height:1.4; padding:9px 14px; border-top:1px solid var(--line); color:var(--muted); background:var(--panel); }
table { width:100%; border-collapse:collapse; text-align:left; font-size:14px; line-height:1.5; }
caption { text-align:left; color:var(--muted); font-size:12px; font-weight:650; padding:13px 16px; border-bottom:1px solid var(--line); }
th,td { padding:15px 16px; vertical-align:top; border-bottom:1px solid var(--line); }
th { font-size:12px; color:#435043; font-weight:650; background:var(--pale); }
tbody tr:last-child td,tbody tr:last-child th { border-bottom:0; }
td small { display:block; font-size:12px; color:var(--muted); line-height:1.5; margin-top:5px; }
.area-table { min-width:930px; }
.area-table th:first-child { width:22%; }
.area-table td:nth-child(n+2),.price { font-variant-numeric:tabular-nums; }
.seller-table { min-width:1080px; }
.seller-table th:first-child { width:18%; }
.seller-table td { padding:17px 15px; }
.seller-table a { font-weight:650; }
.price { font-weight:650; white-space:nowrap; }
.unknown { color:#62685f; font-size:13px; }
.caption { font-size:13px; line-height:1.65; color:var(--muted); margin:13px 0 20px; }
.filter { display:flex; flex-wrap:wrap; gap:8px; margin:5px 0 0; }
.filter button { font-family:inherit; font-size:13px; font-weight:600; line-height:1.4; min-height:44px; padding:10px 16px; border:1px solid var(--line); background:var(--panel); border-radius:6px; color:var(--ink); cursor:pointer; }
.filter button[aria-pressed="true"] { background:var(--green); border-color:var(--green); color:var(--panel); }
.filter button:hover { border-color:var(--green); }
[hidden] { display:none!important; }
.two-note { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin:24px 0; font-size:14px; }
.two-note>div { padding:18px 20px; border-left:2px solid #bac6b5; background:#eeeeE6; }
.two-note p { margin:7px 0 0; color:var(--muted); }
details { margin-top:16px; border:1px solid var(--line); border-radius:8px; background:var(--panel); }
summary { min-height:52px; cursor:pointer; padding:16px 20px; font-size:14px; font-weight:600; line-height:1.5; }
summary::marker { color:var(--green); }
summary:hover { background:#f0f2eb; border-radius:8px; }
details[open]>summary { border-bottom:1px solid var(--line); background:#f0f2eb; border-radius:8px 8px 0 0; }
.details-body { padding:20px; }
.details-body .caption:first-child { margin-top:0; }
.download { display:inline-block; border:1px solid var(--line); border-radius:5px; padding:10px 13px; font-size:13px; line-height:1.4; margin:0 10px 12px 0; background:var(--panel); }
.details-body>a { font-size:13px; }
.seller-directory>.details-body { padding:20px; }
.seller-directory .table-wrap { margin-top:16px; }
.next-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.next-grid article { padding:22px; background:#f4f5ee; border:1px solid var(--line); border-radius:7px; }
.next-grid article>span { display:block; font-size:12px; color:var(--accent); margin-bottom:14px; }
.next-grid p { color:var(--muted); font-size:14px; margin:0 0 13px; }
.next-grid small { font-size:12px; font-weight:600; }
.price-match,.test-readiness { border-left:3px solid var(--accent); padding:18px 22px; background:#fffaf1; margin:24px 0; font-size:14px; }
.price-match p,.test-readiness p { color:var(--muted); margin:8px 0; }
.price-match small { font-size:12px; line-height:1.6; color:var(--muted); }
.test-readiness .download { margin-top:8px; margin-bottom:0; }
.test-spec { display:grid; grid-template-columns:120px minmax(0,1fr); gap:12px 22px; font-size:14px; margin:16px 0 30px; }
.test-spec dt { font-weight:650; color:var(--muted); }
.test-spec dd { margin:0; }
.decision-table { min-width:760px; font-size:13px; }
.decision-table td:first-child { width:20%; font-weight:650; }
.compact { font-size:14px; padding-left:21px; line-height:1.65; }
.compact li { margin:11px 0; }
.source-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px 28px; font-size:14px; margin:0 0 26px; }
.source-grid small { display:block; font-size:12px; color:var(--muted); margin-top:5px; }
.evidence-section { padding:0 0 40px; }
footer { max-width:1184px; display:flex; justify-content:space-between; gap:24px; margin:auto; padding:24px 32px; border-top:1px solid var(--line); color:var(--muted); font-size:12px; }
/* Keep statistical charts and their absolute scales intact. */
.traffic-summary { border-left:3px solid var(--green); background:#eaf0e6; padding:18px 22px; font-size:15px; margin:22px 0; }
.traffic-summary p { margin:8px 0 0; color:var(--muted); font-size:14px; }
.traffic-panel { background:var(--panel); border:1px solid var(--line); border-radius:10px; padding:26px; margin:24px 0; }
.traffic-bars-grid { display:grid; grid-template-columns:1fr 1fr; gap:25px 38px; margin:24px 0; }
.traffic-station { min-width:0; }
.traffic-station h4 { margin:0; }
.traffic-station .caption { margin:6px 0 14px; font-size:12px; }
.traffic-bar { display:grid; grid-template-columns:68px minmax(20px,1fr) 54px; gap:6px 9px; align-items:center; font-size:12px; margin:11px 0; }
.traffic-bar b { text-align:right; font-size:13px; font-variant-numeric:tabular-nums; }
.traffic-bar small { grid-column:2/4; color:var(--muted); font-size:12px; line-height:1.4; }
.traffic-track { height:8px; border-radius:3px; overflow:hidden; background:#e9eef0; }
.traffic-track>div { height:100%; border-radius:3px; }
.traffic-track .weekday { background:#234958; }
.traffic-track .saturday { background:#a7612d; }
.traffic-track .sunday { background:#687276; }
.dot-bar { grid-template-columns:120px minmax(20px,1fr) 43px; }
.traffic-legend { display:flex; gap:18px; flex-wrap:wrap; font-size:12px; margin-top:15px; }
.traffic-legend span::before { content:''; display:inline-block; width:18px; height:3px; vertical-align:middle; margin-right:7px; background:#234958; }
.traffic-legend .saturday::before { background:#a7612d; }
.traffic-legend .sunday::before { background:#687276; }
.traffic-line { display:block; width:100%; height:auto; max-height:370px; }
.traffic-line text { font-family:inherit; font-size:12px; fill:#52616a; }
.line-weekday { stroke:#234958; }
.line-saturday { stroke:#a7612d; stroke-dasharray:9 4; }
.line-sunday { stroke:#687276; stroke-dasharray:3 3; }
.traffic-chart-scroll { overflow-x:auto; }
.traffic-chart-scroll .traffic-line { min-width:680px; }
.traffic-detail { min-width:850px; }
.traffic-detail th[scope="row"] { background:transparent; color:var(--ink); font-size:13px; width:27%; font-weight:600; }
.traffic-detail th small { display:block; font-size:12px; color:var(--muted); font-weight:400; margin-top:6px; }
.traffic-detail td { font-size:13px; font-variant-numeric:tabular-nums; }
.traffic-heat { min-width:850px; }
.traffic-heat th[scope="row"] { font-size:12px; width:28%; }
.traffic-heat td { font-size:12px; text-align:center; font-variant-numeric:tabular-nums; border:3px solid var(--panel); font-weight:650; padding:14px 10px; }
.franklin-prices { margin-bottom:26px; }
.purchase-reference,.proposal-note { border-left:3px solid var(--accent); background:#eee9df; padding:18px 22px; margin:17px 0; font-size:15px; }
.purchase-reference p,.proposal-note p { color:var(--muted); font-size:13px; margin:7px 0 0; }
.franklin-table { min-width:540px; }
.franklin-table th:first-child { width:31%; }
.franklin-menus { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.franklin-menus details { margin-top:0; }
.franklin-menus summary { font-size:13px; }
.picnic-reference { border:1px solid var(--line); background:var(--panel); border-radius:10px; padding:25px; margin:24px 0; }
.picnic-reference .section-head { align-items:flex-start; margin-bottom:12px; }
.picnic-reference .section-head a { font-size:13px; flex-shrink:0; }
.picnic-reference .boundary { margin:22px 0 0; }
.picnic-table { min-width:570px; }
.picnic-table td:nth-child(2) { white-space:nowrap; font-variant-numeric:tabular-nums; font-weight:650; }
.offer-cost-table td:nth-child(n+2),.offer-target-table td:nth-child(n+2),.offer-fixed-table td:last-child { white-space:nowrap; font-variant-numeric:tabular-nums; }
#review .caption { max-width:840px; }
.map-panel .section-head { align-items:flex-start; margin-bottom:18px; }
.map-panel .section-head .caption { margin:8px 0 0; max-width:700px; }
.map-panel .section-head>a { flex-shrink:0; font-size:13px; }
.map-controls { display:flex; align-items:flex-end; gap:16px; }
.map-panel label { display:block; font-size:13px; font-weight:600; }
.map-panel select { display:block; margin-top:7px; padding:11px 12px; border:1px solid var(--line); border-radius:5px; background:var(--panel); color:var(--ink); font:14px/1.4 system-ui,sans-serif; max-width:100%; width:100%; }
.map-controls label { flex:1; max-width:440px; }
.map-panel button { border:1px solid var(--line); border-radius:5px; background:var(--panel); color:var(--ink); padding:11px 14px; min-height:44px; font:600 13px/1.5 system-ui,sans-serif; cursor:pointer; }
.map-panel select:focus-visible { outline:3px solid var(--accent); outline-offset:3px; }
.map-unit { font-size:14px; font-weight:600; margin:20px 0 11px; }
.map-legend { display:flex; flex-wrap:wrap; gap:8px 14px; font-size:12px; }
.map-legend span { display:flex; align-items:center; gap:6px; }
.map-legend i { display:inline-block; height:15px; width:20px; border:1px solid #82927d; border-radius:3px; }
.map-legend .map-unknown { width:100%; color:var(--muted); margin-top:3px; }
.map-layout { display:grid; grid-template-columns:minmax(0,1fr) 280px; gap:18px; }
.map-layout>div { min-width:0; }
#traffic-map { height:510px; width:100%; background:#f8f6ee; border:1px solid var(--line); border-radius:7px; position:relative; z-index:0; font-family:system-ui,sans-serif; }
#traffic-map .leaflet-control-attribution { font-size:11px; color:#40503e; background:#fffdf8; }
#traffic-map .leaflet-control-scale-line { font-size:11px; background:#fffdf8; color:#344230; }
.map-area-label { font-size:12px; font-weight:600; color:#65705c; line-height:1.35; text-align:center; text-shadow:0 0 4px #fff,0 0 4px #fff; pointer-events:none; }
.map-road-label { color:#525f4d; font-size:10px; text-align:center; letter-spacing:.02em; text-shadow:0 0 3px #fff,0 0 3px #fff; pointer-events:none; }
.traffic-map-point:focus { outline:none; stroke:#111d15; stroke-width:5px; }
.map-inspector { background:#f0f2e9; padding:17px; border:1px solid var(--line); border-radius:7px; min-width:0; align-self:start; }
#traffic-map-detail h4 { margin:20px 0 10px; font-size:16px; }
#traffic-map-detail p { font-size:13px; color:var(--muted); margin:11px 0; line-height:1.55; }
#traffic-map-detail .map-value { font-size:15px; font-weight:650; color:var(--ink); }
#traffic-map-detail a { font-size:13px; }
#traffic-map-detail .map-coordinate { font-size:12px; }
.map-priorities { border-top:1px solid var(--line); padding-top:18px; margin-top:5px; font-size:14px; }
.map-priorities ol { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); padding:0; gap:12px; list-style-position:inside; }
.map-priorities li { padding:13px; background:#eef1e6; border-radius:6px; font-size:12px; }
.map-priorities li button { padding:0; border:0; background:transparent; text-align:left; min-height:44px; font-size:13px; }
.map-priorities small { display:block; margin-top:6px; font-size:12px; color:var(--muted); }
.map-priorities p { font-size:13px; color:var(--muted); }
@media (max-width:900px) { .map-layout { grid-template-columns:1fr; } .map-priorities ol { grid-template-columns:1fr; } .map-inspector { align-self:stretch; } }
@media (max-width:750px) { #traffic-map { height:430px; } .map-controls { display:block; } .map-controls button { margin-top:12px; } .map-panel .section-head>a { display:inline-block; margin-top:12px; } .map-legend { gap:8px 10px; } }
@media (max-width:1000px) {
  .topbar { display:block; padding:9px 24px; }
  .brand { display:block; padding:3px 0; }
  .topbar nav { overflow-x:auto; overscroll-behavior-inline:contain; scrollbar-width:thin; gap:2px; margin-top:3px; }
  .topbar nav a { padding:10px 10px; min-height:40px; }
  .hero-grid { gap:28px; grid-template-columns:1fr 1fr; }
  .snapshot>div { grid-template-columns:94px minmax(0,1fr); padding:18px; gap:4px 14px; }
  .snapshot .text-stat { font-size:21px; }
  .section-head { align-items:flex-start; }
}
@media (max-width:750px) {
  main { padding:0 20px; }
  .topbar { padding:9px 20px; }
  .hero { padding:25px 0 30px; }
  .hero>.eyebrow { font-size:10px; gap:12px; margin-bottom:0; }
  .hero .eyebrow span { letter-spacing:0; }
  .hero-grid { grid-template-columns:1fr; gap:22px; padding-top:23px; }
  h1 { font-size:42px; max-width:520px; margin-bottom:17px; }
  .lede { font-size:16px; line-height:1.6; margin-bottom:15px; }
  .snapshot>div { grid-template-columns:98px minmax(0,1fr); gap:4px 14px; padding:16px 18px; }
  .snapshot strong { font-size:30px; }
  .snapshot .text-stat { font-size:21px; }
  .snapshot span { font-size:13px; }
  .snapshot small { font-size:12px; }
  .current-action { margin-top:20px; padding:15px 17px; }
  .brief { grid-template-columns:1fr; gap:12px; }
  .section { padding:32px 0; }
  .section-head { display:block; margin-bottom:22px; }
  .tag { display:inline-block; margin-top:13px; }
  h2 { font-size:29px; }
  .boundary,.boundary.two,.two-note,.next-grid,.source-grid,.franklin-menus { grid-template-columns:1fr; }
  .boundary { gap:10px; }
  .boundary>div { padding:14px 16px; }
  .boundary p { font-size:13px; }
  .table-wrap { border-radius:6px; }
  th,td { padding:13px 14px; }
  .caption { font-size:13px; }
  .details-body,.seller-directory>.details-body { padding:16px; }
  summary { padding:15px 16px; font-size:14px; }
  .seller-table { min-width:0; }
  .seller-table thead,.franklin-table thead,.picnic-table thead { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
  .seller-table tbody { display:block; }
  .seller-table tbody tr { display:grid; grid-template-columns:1fr 1fr; padding:6px 0 12px; border-bottom:1px solid var(--line); }
  .seller-table tbody tr:last-child { border:0; }
  .seller-table td { display:block; border:0; padding:9px 14px; font-size:14px; }
  .seller-table td:first-child,.seller-table td:nth-child(2),.seller-table td:nth-child(5),.seller-table td:last-child { grid-column:1/-1; }
  .seller-table td:first-child { padding-bottom:0; }
  .seller-table td:nth-child(2) { padding-top:5px; }
  .seller-table td[data-label]::before { content:attr(data-label); display:block; font-size:12px; color:var(--muted); margin-bottom:5px; }
  .seller-table td:nth-child(5)::before { display:inline; margin-right:9px; }
  .seller-table td:nth-child(5) small { display:inline; margin-left:8px; }
  .seller-table details { margin-top:0; }
  .franklin-table,.picnic-table { display:block; min-width:0; }
  .franklin-table tbody,.picnic-table tbody { display:block; }
  .franklin-table tbody tr { display:block; padding:4px 0; border-bottom:1px solid var(--line); }
  .franklin-table td { display:block; border:0; padding:12px 15px; }
  .franklin-table td:first-child { padding-bottom:1px; font-weight:650; }
  .picnic-table tbody tr { display:grid; grid-template-columns:minmax(0,1fr) auto; border-bottom:1px solid var(--line); padding:12px 14px; gap:6px 18px; }
  .picnic-table td { display:block; padding:0; border:0; }
  .picnic-table td:first-child { font-weight:600; }
  .picnic-table td:last-child { grid-column:1/-1; font-size:13px; color:var(--muted); }
  .franklin-table tr:last-child,.picnic-table tr:last-child { border-bottom:0; }
  .purchase-reference,.proposal-note,.price-match,.test-readiness { padding:16px 18px; }
  .picnic-reference { padding:17px; }
  .picnic-reference .section-head { display:block; }
  .picnic-reference .section-head a { display:inline-block; padding:8px 0; }
  .next-grid { gap:12px; }
  .next-grid article { padding:18px; }
  .test-spec { grid-template-columns:1fr; gap:5px; }
  .test-spec dd { margin-bottom:14px; }
  .traffic-panel { padding:18px; }
  .traffic-bars-grid { grid-template-columns:1fr; gap:24px; }
  .traffic-profile { overflow:hidden; }
  .traffic-panel h3 { font-size:16px; }
  .traffic-bar { grid-template-columns:63px minmax(20px,1fr) 48px; gap:5px 8px; }
  .traffic-bar b { font-size:12px; }
  .dot-bar { grid-template-columns:101px minmax(20px,1fr) 38px; }
  .traffic-legend { gap:10px; }
  .traffic-detail { min-width:850px; }
  .download { max-width:100%; }
  footer { display:block; padding:22px 20px; }
  footer span { display:block; margin-bottom:8px; }
}
@media (max-width:360px) {
  main { padding:0 16px; }
  .topbar { padding-inline:16px; }
  h1 { font-size:37px; }
  .snapshot>div { grid-template-columns:87px minmax(0,1fr); padding:14px; gap:4px 10px; }
  .snapshot .text-stat { font-size:19px; }
  .hero>.eyebrow { flex-wrap:wrap; }
  .traffic-panel { padding:14px; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
@media print {
  .topbar { position:static; }.topbar nav,.filter,.skip { display:none; }
  body { background:white; }main { max-width:none; padding:0; }
  .table-wrap { overflow:visible; }summary { break-after:avoid; }
  .section,.traffic-panel { break-inside:avoid; }
}
/* Review controls are opt-in; research remains the default reading view. */
#feedback-tools{margin:20px 0 10px}
#feedback-tools button,.feedback-section-tools button,.feedback-panel button,.feedback-note button,.feedback-element{font:inherit;background:var(--paper,#fffaf3);color:#294a3d;border:1px solid #b8c4b8;border-radius:6px;padding:8px 12px;cursor:pointer;min-height:36px}
#feedback-tools button:hover,.feedback-section-tools button:hover,.feedback-panel button:hover,.feedback-note button:hover,.feedback-element:hover{background:#e8eee7}
#feedback-tools button:focus-visible,.feedback-section-tools button:focus-visible,.feedback-panel button:focus-visible,.feedback-note button:focus-visible,.feedback-element:focus-visible{outline:3px solid #b96939;outline-offset:3px}
#feedback-toolbar{margin-top:14px;padding:16px;border:1px solid #bdc9bc;border-radius:8px;background:#f0f4ed}
#feedback-toolbar p{font-size:14px;margin:0 0 10px}
.feedback-actions,.feedback-section-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.feedback-section-tools{margin:12px 0}
.feedback-section-tools,.feedback-panel,.feedback-notes,.feedback-element{display:none}
.feedback-mode .feedback-section-tools{display:flex}
.feedback-mode .feedback-panel:not([hidden]),.feedback-mode .feedback-notes{display:block}
.feedback-mode .feedback-element{display:inline-block;font-size:12px;margin:5px 0 5px 10px;padding:3px 9px;vertical-align:middle}
.feedback-panel{padding:18px;margin:12px 0;background:#f0f4ed;border:1px solid #bdc9bc;border-radius:8px}
.feedback-context{font-size:13px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;max-height:160px;overflow:auto}
.feedback-panel label,#feedback-manual label{display:block;font-weight:600;margin-bottom:8px}
.feedback-panel textarea,#feedback-json{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:110px;border:1px solid #839989;border-radius:5px;padding:12px;background:white;color:#213b31;font:inherit;line-height:1.5}
.feedback-save-status{font-size:12px;min-height:18px;margin:8px 0}
.feedback-note{margin:12px 0;padding:12px 16px;border-left:3px solid #829a83;background:#f4f5ee;overflow-wrap:anywhere}
.feedback-note b{font-size:12px}.feedback-note p{white-space:pre-wrap;font-size:14px;margin:8px 0}
.feedback-note button{font-size:12px;margin-right:8px}
#feedback-count{font-size:13px}#feedback-status:empty{display:none}
[hidden]{display:none!important}
/* Shared project shell, owner feedback revision v14. */
.project-sidebar {position:fixed;inset:0 auto 0 0;width:210px;padding:28px 18px;background:#e8ebe1;border-right:1px solid var(--line);z-index:25;overflow-y:auto;}
.project-brand {display:block;font:700 20px/1.25 var(--serif);text-decoration:none;margin-bottom:30px;}
.project-brand small {font:12px system-ui;color:var(--muted);}
.project-sidebar nav {display:grid;gap:5px;}
.project-sidebar nav a {padding:10px 12px;text-decoration:none;border-radius:5px;font-size:14px;}
.project-sidebar a[aria-current="page"] {background:var(--green);color:white;}
.project-sidebar .sidebar-sections {margin-top:25px;border-top:1px solid var(--line);padding-top:16px;}
.sidebar-sections a {font-size:12px!important;}
body {padding-left:210px;}
.topbar {padding:12px 26px;}
.topbar nav {display:none;}
.evidence-block {margin:20px 0;}
.evidence-block > .details-body {padding:0;border:0;}
#customers .evidence-block h3 {margin-top:28px;}
.minor-details > summary {font-size:12px;color:var(--muted);padding:7px 0;}
.next-check {font-size:12px!important;color:var(--muted);border:0!important;padding:0!important;}
.research-plan {border-left:3px solid #b2c5ab;padding:16px 20px;background:#eef1e8;margin:25px 0;}
.profile-control {display:block;font-size:13px;max-width:600px;margin:16px 0;}
.profile-control select,.premises-controls select {display:block;width:100%;padding:11px;border:1px solid var(--line);border-radius:5px;background:var(--panel);color:var(--ink);font:inherit;}
.map-context-control {font-size:12px!important;align-self:center;display:flex!important;gap:9px;align-items:center;max-width:230px;}
.map-context-control input {width:20px;height:20px;}
.premises-controls {display:flex;gap:16px;flex-wrap:wrap;margin:18px 0;}
.premises-controls label {font-size:12px;min-width:170px;}
.premises-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.premises-card {padding:19px;border:1px solid var(--line);border-radius:9px;background:var(--panel);min-width:0;}
.premises-card[hidden] {display:none;}
.premises-card .eyebrow {font-size:10px;}
.premises-facts {display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:14px;}
.listing-status {font-size:12px;color:var(--green);}
.watch-lead,.financial-link {background:#e9eee3;border:1px solid #cbd7c4;padding:20px;margin-top:24px;border-radius:8px;}
.watch-lead p,.financial-link p {font-size:14px;}
.finance-inputs {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0;}
.finance-inputs label,#finance-form>label {display:block;font-size:13px;line-height:1.35;}
.finance-inputs small {display:block;font-size:11px;color:var(--muted);min-height:32px;margin:5px 0;}
.finance-inputs input,#finance-form>label input {width:100%;font:16px system-ui;border:1px solid var(--line);border-radius:5px;padding:10px;background:white;}
.finance-actions {display:flex;gap:10px;flex-wrap:wrap;margin-top:15px;}
.finance-actions button {font:13px system-ui;padding:12px;border:1px solid var(--line);background:var(--panel);color:var(--green);border-radius:5px;cursor:pointer;}
.finance-metrics {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0;}
.finance-metrics >div {padding:19px;background:#e9eee3;border-radius:7px;}
.finance-metrics small {font-size:12px;display:block;}
.finance-metrics strong {font-size:26px;display:block;}
.scenario-warnings {font-size:13px;color:#803d24;}
@media(max-width:1000px){.project-sidebar{width:175px;}body{padding-left:175px;}.finance-inputs{grid-template-columns:repeat(2,minmax(0,1fr));}.topbar{padding:10px 24px;}}
@media(max-width:700px){body{padding-left:0;}.project-sidebar{position:static;width:100%;padding:14px 20px;border-right:0;border-bottom:1px solid var(--line);}.project-brand{font-size:17px;margin-bottom:12px;}.project-sidebar nav{display:flex;gap:6px;flex-wrap:wrap;}.project-sidebar nav a{font-size:12px;padding:9px 11px;}.project-sidebar .sidebar-sections{display:none;}.premises-grid{grid-template-columns:1fr;}.finance-inputs{grid-template-columns:1fr;}.finance-metrics{grid-template-columns:1fr;}.topbar{position:sticky;padding:8px 20px;}.map-controls{flex-wrap:wrap;}.map-context-control{max-width:100%;}.finance-inputs small{min-height:0;}}
.map-context-dot,.map-context-camera {background:white;border:2px solid #915b2e;text-align:center;font:bold 12px/19px system-ui;color:#754326;border-radius:2px;}
.map-context-camera {border-color:#445d79;color:#445d79;border-radius:50%;}
.premises-photo {display:block;width:100%;height:160px;object-fit:cover;border-radius:5px;}
.premises-card>a>small {display:block;font-size:10px;color:var(--muted);margin:5px 0 12px;}
.finance-group {margin:14px 0;}
.finance-group>summary {font-size:14px;font-weight:650;color:var(--green);}
body:has(#finance-form) .section>.table-wrap>table {min-width:700px;}
body:has(#finance-form) .section>.table-wrap>table th:first-child {width:160px;}
.price-table {min-width:850px;}
.traffic-bars-grid {grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));}
/* v15: explicit navigation offsets and reachable numeric tables. */
html {scroll-behavior:auto;}
.section-jump{display:flex;gap:6px;overflow-x:auto;position:sticky;top:var(--bar-height,50px);z-index:24;background:var(--paper,#f7f5ec);padding:8px 0;border-bottom:1px solid var(--line);white-space:nowrap;}
.section-jump a{padding:8px 11px;background:#e8ebe1;border-radius:5px;font-size:12px;text-decoration:none;flex:none;}
.lot-record{font-size:12px;display:grid;grid-template-columns:110px 1fr;gap:6px;}.lot-record dt{font-weight:650}.lot-record dd{margin:0}.record-note{font-size:12px;line-height:1.45;color:#5c493d}
#finance-results .table-wrap{max-width:100%;overflow-x:auto;}
#finance-results .finance-result-table{min-width:650px;}
#finance-results .cash-table{min-width:780px;}
#finance-results td,#finance-results th{white-space:nowrap;word-break:normal;overflow-wrap:normal;}
.setup-table{min-width:740px}.month-input-table{min-width:760px}.setup-table input,.setup-table select,.month-input-table input{max-width:210px;width:100%;padding:9px;border:1px solid var(--line);font:14px system-ui;}
.setup-table td:nth-child(2){width:130px}.month-input-table td:nth-child(2),.month-input-table td:nth-child(3),.month-input-table td:nth-child(4){width:110px;}
.group-error,.field-error{color:#9c351f!important}.group-error{font-size:12px;margin-left:8px;}input[aria-invalid="true"]{border:2px solid #9c351f!important;}
.validation-errors{font-size:12px;max-height:260px;overflow:auto;padding-right:10px}.validation-errors button{border:0;background:none;text-align:left;color:#8c341e;cursor:pointer;text-decoration:underline;padding:5px;}
.finance-inputs .field-error:empty{display:none}.partial-result{padding:14px;background:#e5eee2;font-weight:650;}
.weekday-table{min-width:650px}.price-table{min-width:1080px}.scenario-warnings{max-height:340px;overflow:auto;padding:4px 12px;border-left:3px solid #a65b32;}.scenario-warnings p{font-size:13px;}

/* Keep the detailed premises comparison readable on narrow screens. */
#premises-cost-screen table { min-width: 680px; }
#premises-cost-screen td { vertical-align: top; }

/* Section 01: matched geographic context and readable evidence. */
#customers .customer-maps { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin:20px 0; }
#customers .customer-map-panel { margin:0; padding:16px; background:#f5f0e7; border:1px solid #d6cbbd; border-radius:10px; }
#customers .customer-map-panel h4 { margin:0 0 8px; }
#customers .customer-map { display:block; width:100%; height:auto; }
#customers .customer-map-key { list-style:none; padding:0; margin:8px 0 0; font-size:.9rem; }
#customers .customer-map-key li { margin:4px 0; }
#customers .area-table { min-width:900px; }
#customers th small { display:block; text-transform:none; font-weight:400; font-size:.82rem; line-height:1.4; margin-top:8px; color:#51483e; }
#customers .customer-matrix-label { margin:28px 0 10px; }
#customer-jobs table, #customer-commute table { min-width:600px; }
#customers .customer-roadmap-item { border-top:1px solid #d6cbbd; padding:18px 0; }
#customers .customer-roadmap-item h4 { margin:0 0 8px; }
#customers .roadmap-status { font-size:.88rem; font-weight:600; color:#65442e; }
@media(max-width:650px) { #customers .customer-maps { grid-template-columns:1fr; } }

/* Section 01: reading order and accessible comparison context. */
#customers .customer-contents{display:flex;flex-wrap:wrap;gap:8px 18px;margin:20px 0;font-size:14px;}
#customers .customer-takeaway{border-left:4px solid #8b5034;background:#f5f0e7;padding:16px 20px;margin:22px 0;max-width:850px;}
#customers .customer-takeaway p{margin:5px 0 0;}
#customers .customer-block{margin-top:36px;padding-top:28px;border-top:1px solid var(--line);}
#customers .customer-block>p,#customers .customer-block>details>p{max-width:850px;}
#customers .customer-kicker,#customers .customer-status{font-size:12px;letter-spacing:.07em;font-weight:700;color:#68442f;margin:0 0 8px;}
#customers .customer-reading-key{background:#f4f3ee;border:1px solid var(--line);border-radius:8px;padding:14px 18px;margin:18px 0;font-size:14px;}
#customers .customer-reading-key p{margin:6px 0;}
#customers table th small{font-size:12px;line-height:1.5;font-weight:400;display:block;margin-top:6px;}
#customers .area-table{min-width:850px;}
#customers .area-table th:first-child{width:150px;}
#customers .area-table td:first-child{position:sticky;left:0;background:var(--panel);z-index:1;min-width:140px;max-width:160px;}
#customers .customer-annual{min-width:560px;}
#customers .customer-annual th:first-child{width:52%;}
#customers .customer-annual td{font-variant-numeric:tabular-nums;white-space:nowrap;}
#customers .customer-coverage{min-width:480px;}
#customers .customer-task-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px;}
#customers .customer-roadmap-item{border:1px solid var(--line);border-radius:8px;padding:18px;}
#customers .customer-roadmap-item>p{font-size:14px;}
#customers .customer-block h3{margin-top:0;}
@media(max-width:700px){#customers .customer-task-grid{grid-template-columns:1fr;}#customers .customer-block{margin-top:28px;padding-top:22px;}#customers .customer-annual th:first-child{width:220px;}#customers .area-table td:first-child{min-width:130px;max-width:145px;}}
#customers .customer-block h3{font-size:24px;line-height:1.3;margin-bottom:14px;}
#customers .customer-task-grid{align-items:start;}
#customers .customer-annual tbody th{position:sticky;left:0;z-index:1;background:#edf0e5;}
@media(max-width:700px){#customers .customer-block h3{font-size:21px;}#customers .customer-annual{min-width:480px;}#customers .customer-annual th:first-child{width:180px;min-width:160px;max-width:180px;}}

#customers #customer-jobs tbody td:first-child,#customers #customer-commute table:not(.customer-annual) tbody th:first-child,#customers .customer-coverage tbody td:first-child{position:sticky;left:0;z-index:1;background:var(--panel);min-width:130px;max-width:160px;}
/* Fixed label widths keep scrolled figures visible beside their row context. */
#customers table{table-layout:fixed;}
#customers table thead th:first-child{position:sticky;left:0;z-index:2;background:var(--pale);}
#customers #customer-jobs table{min-width:480px;}
#customers #customer-jobs th:first-child,#customers .customer-coverage th:first-child,#customers #customer-commute table:not(.customer-annual) th:first-child{width:140px;}
@media(max-width:700px){#customers .area-table th:first-child{width:130px;}#customers .customer-annual th:first-child{width:160px;min-width:160px;max-width:160px;}#customers #customer-jobs th:first-child,#customers .customer-coverage th:first-child,#customers #customer-commute table:not(.customer-annual) th:first-child{width:130px;}}
@media(max-width:700px){#customers #customer-jobs table,#customers #customer-commute table:not(.customer-annual){min-width:440px;}#customers .customer-annual{min-width:450px;}#customers .customer-annual th:first-child{width:120px;min-width:120px;max-width:120px;}}
#customers .customer-coverage tbody th:first-child{position:sticky;left:0;z-index:1;background:var(--pale);}
/* Section 01 v22: one introduction and only the next two research steps visible. */
#customers #customer-jobs tbody th:first-child{position:sticky;left:0;z-index:1;background:var(--pale);}
#customers .customer-step-link{margin-top:18px;font-size:13px;}
#customers .customer-roadmap-item{border-top:3px solid #8b5034;}
/* v23 Section 01 audit: open evidence renders once, in the section that owns it. */
.open-item-status{font-size:12px;letter-spacing:.07em;font-weight:700;color:#68442f;margin:0 0 8px;}
.research-plan.open-item>p{max-width:850px;}
.research-plan.open-item>details{margin:14px 0;}
.anchor-alias{display:block;height:0;}
#customers .customer-contents a,#customers .customer-handoff a{display:inline-block;padding:7px 0;}
#customers .customer-handoff-open{display:block;color:var(--ink);margin-top:4px;}
#customers .customer-handoff{list-style:none;padding:0;margin:18px 0;border:1px solid var(--line);border-radius:8px;background:var(--panel);}
#customers .customer-handoff li{display:grid;grid-template-columns:minmax(150px,1fr) minmax(0,2fr) minmax(190px,1fr);gap:6px 20px;align-items:baseline;padding:14px 18px;border-top:1px solid var(--line);font-size:14px;}
#customers .customer-handoff li:first-child{border-top:0;}
#customers .customer-handoff-status{color:var(--muted);}
.record-count-table{max-width:520px;}
.record-count-table td{font-variant-numeric:tabular-nums;}
.record-count-table th small{display:block;font-weight:400;color:var(--muted);margin-top:4px;}
.audit-list{list-style:none;padding:0;margin:0;font-size:14px;}
.audit-list li{padding:12px 0;border-top:1px solid var(--line);}
.audit-list li:first-child{border-top:0;padding-top:0;}
.audit-list b,.audit-list span{display:block;}
.audit-list .audit-status{color:var(--muted);margin-top:4px;}
/* Three-column tables never need sideways scrolling, at any width; figures and codes stay on one line. */
#customers #customer-jobs table,#customers #customer-commute table,#customers #customer-commute table:not(.customer-annual){min-width:0;}
#customers #customer-jobs td,#customers .customer-coverage td,#customers .customer-history td{white-space:nowrap;font-variant-numeric:tabular-nums;}
/* Expanded notes keep their text off the box edge; completed checks carry no leftover emphasis. */
#customers details>:not(summary){margin-left:20px;margin-right:20px;}
#customers details>:not(summary):last-child{margin-bottom:20px;}
#customers details>summary+*{margin-top:18px;}
/* Three-column tables fit a phone screen, so the second measure is never off-screen. */
@media(max-width:700px){
 #customers .customer-handoff li{grid-template-columns:1fr;gap:4px;}
 #customers details>:not(summary){margin-left:16px;margin-right:16px;}
 #customers #customer-jobs th,#customers #customer-jobs td,#customers #customer-commute th,#customers #customer-commute td{padding:12px 9px;}
 #customers .customer-annual th:first-child,#customers #customer-jobs th:first-child,#customers .customer-coverage th:first-child,#customers #customer-commute table:not(.customer-annual) th:first-child{width:40%;min-width:0;max-width:none;}
 #customers #customer-jobs tbody td:first-child,#customers #customer-commute table:not(.customer-annual) tbody th:first-child,#customers .customer-coverage tbody td:first-child{min-width:0;max-width:none;}
 #customers #customer-commute table.customer-coverage th:first-child{width:42%;}
 #customers #customer-commute table.customer-coverage th:nth-child(2){width:32%;}
 #customers #customer-commute table.customer-coverage th,#customers #customer-commute table.customer-coverage td{padding:12px 8px;}
 .record-count-table th,.record-count-table td{padding:12px 10px;}
 /* Five resident columns: each data column is narrower than the space beside the sticky label. */
 #customers .area-table{min-width:620px;}
 #customers .area-table th,#customers .area-table td{padding:12px 10px;}
 #customers .area-table th:first-child{width:120px;}
 #customers .area-table td:first-child{min-width:0;max-width:none;}
}
/* v24 Section 01 change charts. Static HTML/CSS marks: real text sizes at every width, no script.
   One hue, two validated shades (earlier lighter, later darker); bands and bars show the 90% margin of error. */
#customer-change{--prev:#b98263;--now:#7a4229;--rule:#e4e0d6;--link:#9c8a79;--ref-prev:#8b9087;--ref-now:#5d645c;}
#customer-change .change-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:18px 0;}
.change-chart,.trend-chart{--name-w:142px;--delta-w:130px;position:relative;margin:0;padding:16px 18px 112px;background:var(--panel);border:1px solid var(--line);border-radius:10px;}
.trend-chart{margin:20px 0 8px;}
.change-chart figcaption b,.trend-chart figcaption b{display:block;font-size:15px;line-height:1.35;}
.change-chart figcaption span,.trend-chart figcaption span{display:block;font-size:12px;color:var(--muted);max-width:760px;}
.change-axis{position:relative;height:20px;margin:10px var(--delta-w) 0 var(--name-w);font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums;}
.change-axis span{position:absolute;bottom:2px;transform:translateX(-50%);white-space:nowrap;}
.change-axis span.edge-start{transform:none;}.change-axis span.edge-end{transform:translateX(-100%);}
.change-group{margin:8px 0 2px;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);}
.change-rows{list-style:none;margin:0;padding:0;}
.change-rows li{display:grid;grid-template-columns:var(--name-w) minmax(0,1fr) var(--delta-w);grid-template-areas:"name track delta";align-items:center;min-height:30px;font-size:13px;line-height:1.3;border-radius:4px;}
.change-rows li:hover,.change-rows li:focus{background:#f4f1e8;}
.change-name{grid-area:name;padding-right:10px;}
.change-delta{grid-area:delta;padding-left:12px;font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap;}
.change-rows li[data-state="unclear"] .change-delta,.change-rows li.change-reference .change-delta{font-weight:400;color:var(--muted);}
.change-rows li[data-state="imprecise"] .change-delta{font-weight:400;}
.change-track{grid-area:track;position:relative;height:30px;}
.change-tick{position:absolute;top:0;bottom:0;width:1px;background:var(--rule);}
.change-band{position:absolute;top:calc(50% - 7px);height:14px;border-radius:7px;opacity:.62;}
.change-band.prev{background:var(--prev);}.change-band.now{background:var(--now);}
.change-link{position:absolute;top:calc(50% - 1px);height:2px;background:var(--link);}
.change-dot{position:absolute;top:50%;border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 2px var(--panel);box-sizing:border-box;}
.change-dot.prev{width:8px;height:8px;background:var(--prev);}.change-dot.now{width:10px;height:10px;background:var(--now);}
/* No clear change: hollow dots and no connector, so the picture does not show a move the figures cannot support. */
li[data-state="unclear"] .change-dot.prev{background:var(--panel);border:2px solid var(--prev);}
li[data-state="unclear"] .change-dot.now{background:var(--panel);border:2px solid var(--now);}
.change-reference .change-band.prev,.change-reference .change-dot.prev{background:var(--ref-prev);}
.change-reference .change-band.now,.change-reference .change-dot.now{background:var(--ref-now);}
.change-reference[data-state="unclear"] .change-dot.prev{background:var(--panel);border-color:var(--ref-prev);}
.change-reference[data-state="unclear"] .change-dot.now{background:var(--panel);border-color:var(--ref-now);}
.change-reference .change-name{color:var(--muted);}
.change-summary{margin:10px 0 0;font-size:13px;color:var(--ink);max-width:760px;}
/* Exact figures appear in a fixed readout at the foot of the chart, never over another row. Hidden until a row or panel
   is pointed at or focused; always available to screen readers and in the table view. */
.change-hint,.change-tip{position:absolute;left:18px;right:18px;bottom:14px;min-height:84px;margin:0;font-size:12px;line-height:1.45;}
.change-hint{padding:9px 11px;color:var(--muted);border:1px dashed #cfcabd;border-radius:6px;}
.change-tip{z-index:2;padding:9px 11px;font-weight:400;color:var(--ink);background:#f4f1e8;border:1px solid #bdb7aa;border-radius:6px;pointer-events:none;overflow-wrap:normal;clip-path:inset(50%);opacity:0;}
li:hover>.change-tip,li:focus>.change-tip,.trend-panel:hover>.change-tip,.trend-panel:focus>.change-tip{clip-path:none;opacity:1;}
.change-tip .nw,.trend-verdict .nw{white-space:nowrap;}
.change-chart:has(li:hover) li:focus:not(:hover)>.change-tip,.trend-chart:has(.trend-panel:hover) .trend-panel:focus:not(:hover)>.change-tip{clip-path:inset(50%);opacity:0;}
.change-legend{display:flex;flex-wrap:wrap;gap:6px 18px;margin:14px 0 0;font-size:12px;color:var(--muted);}
.change-legend span{display:inline-flex;align-items:center;gap:7px;}
.change-legend .change-dot{position:static;transform:none;box-shadow:none;display:inline-block;}
.change-legend .change-dot.hollow{width:10px;height:10px;background:var(--panel);border:2px solid var(--now);}
.change-legend .change-band{position:static;display:inline-block;width:22px;}
.trend-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));column-gap:14px;margin-top:12px;}
/* Each panel adopts the grid's rows, so names, verdicts and plots line up across a row of panels. */
.trend-panel{display:grid;grid-template-rows:subgrid;grid-row:span 4;min-width:0;border-radius:4px;padding-bottom:4px;}
.trend-panel:hover,.trend-panel:focus{background:#f4f1e8;}
.trend-name{margin:0;font-size:12px;font-weight:650;line-height:1.3;}
.trend-verdict{margin:2px 0 8px;font-size:12px;line-height:1.35;color:var(--muted);}
.trend-verdict b,.trend-verdict span{display:block;}
.trend-verdict b{color:var(--ink);font-size:13px;}
.trend-plot{position:relative;height:130px;margin-left:44px;}
.trend-tick{position:absolute;left:0;right:0;height:1px;background:var(--rule);}
.trend-tick em{position:absolute;right:calc(100% + 5px);top:-8px;font-style:normal;font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;}
.trend-range{position:absolute;width:10px;margin-left:-5px;min-height:3px;border-radius:3px;background:var(--prev);}
.trend-est{position:absolute;width:14px;height:3px;margin:0 0 -1.5px -7px;border-radius:1.5px;background:var(--now);box-shadow:0 0 0 1px var(--panel);}
.trend-range.context{opacity:.45;}.trend-est.context{opacity:.55;}
.trend-years{position:relative;height:20px;margin-left:44px;font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums;}
.trend-years span{position:absolute;top:4px;transform:translateX(-50%);white-space:nowrap;}
.trend-years span::before{content:'’';}
.change-table{min-width:680px;}
.change-table td{font-variant-numeric:tabular-nums;white-space:nowrap;}
.change-table td small{white-space:normal;}
.change-table tbody th{position:sticky;left:0;z-index:1;background:var(--pale);}
.change-table thead th:first-child{position:sticky;left:0;z-index:2;background:var(--pale);width:150px;}
.change-table th small{display:block;font-weight:400;color:var(--muted);margin-top:4px;}
.change-table tr.change-reference td,.change-table tr.change-reference th{border-top:2px solid var(--line);}
.trend-table{min-width:780px;}
/* One column until each chart has room for its axis labels. */
@media(max-width:1340px){#customer-change .change-grid{grid-template-columns:1fr;}}
@media(max-width:1100px){.trend-grid{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:0;}.trend-panel{margin-bottom:18px;}}
@media(max-width:700px){
 .change-chart,.trend-chart{--name-w:0px;--delta-w:0px;padding:14px 14px 12px;}
 .change-rows li{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name delta" "track track" "tip tip";min-height:0;padding:5px 0 0;}
 .change-delta{padding-left:10px;}
 .change-track{height:22px;}
 /* On a phone the figures open inside the tapped row and push the rows below down, so nothing is covered. */
 .change-hint{position:static;min-height:0;margin-top:10px;}
 .change-tip{position:static;grid-area:tip;display:none;min-height:0;margin:2px 0 6px;clip-path:none;opacity:1;}
 li:hover>.change-tip,li:focus>.change-tip,.trend-panel:hover>.change-tip,.trend-panel:focus>.change-tip{display:block;}
 .trend-panel>.change-tip{grid-area:auto;min-width:0;}
 .change-chart:has(li:hover) li:focus:not(:hover)>.change-tip,.trend-chart:has(.trend-panel:hover) .trend-panel:focus:not(:hover)>.change-tip{display:none;}
 .trend-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
 .trend-panel{grid-row:span 5;margin-bottom:14px;}
 .trend-plot,.trend-years{margin-left:42px;}
 .trend-tick em{right:calc(100% + 3px);}
 .change-table{min-width:600px;}
 .change-table thead th:first-child{width:126px;}
 .trend-table{min-width:740px;}
}
@media(max-width:360px){.trend-panel>.change-tip{padding:7px 6px;font-size:11px;}}
/* High-contrast mode keeps the marks, which are backgrounds the mode would otherwise blank. */
@media(forced-colors:active){#customer-change .change-chart *,#customer-change .trend-chart *,.change-legend *{forced-color-adjust:none;}}
/* Print keeps the marks: they are CSS backgrounds, which browsers drop by default. */
#customer-change .change-chart *,#customer-change .trend-chart *,.change-legend *{-webkit-print-color-adjust:exact;print-color-adjust:exact;}
@media print{.change-hint,.change-tip{display:none!important;}.change-chart,.trend-chart{padding-bottom:14px;break-inside:avoid;}#customer-change details::details-content{content-visibility:visible;display:block;}}
/* v25: the owner's logo in the page header; beside the title on wide screens, above it up to 900 px so the title and lede never wrap around it. */
.hero{display:flow-root;}
.hero-logo{float:right;width:160px;height:160px;margin:22px 0 12px 36px;}
.hero>.scope-line{clear:right;}
@media(max-width:900px){.hero-logo{float:none;display:block;width:104px;height:104px;margin:18px 0 0;}.hero>h1{margin-top:12px;}}
/* v25: yearly income and commuting share one block; the moved chart and table keep their v24 look. */
#customer-commute{--prev:#b98263;--now:#7a4229;--rule:#e4e0d6;--link:#9c8a79;--ref-prev:#8b9087;--ref-now:#5d645c;}
#customers #customer-commute table.trend-table{min-width:780px;}
#customers #customer-commute table.trend-table th:first-child{width:150px;}
#customers #customer-commute table.trend-table tbody th:first-child{background:var(--pale);min-width:0;max-width:none;}
@media(max-width:700px){#customers #customer-commute table.trend-table{min-width:740px;}#customers #customer-commute table.trend-table th:first-child{width:126px;}#customers #customer-commute table.trend-table th,#customers #customer-commute table.trend-table td{padding:13px 14px;}}
@media(forced-colors:active){#customer-commute .trend-chart *{forced-color-adjust:none;}}
#customer-commute .trend-chart *{-webkit-print-color-adjust:exact;print-color-adjust:exact;}
@media print{#customer-commute details::details-content{content-visibility:visible;display:block;}}
/* v25: each Section 01 question opens with its summary. */
#customers .customer-takeaway .takeaway-label{display:block;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--accent);}
#customers .customer-takeaway ul{margin:8px 0 0;padding-left:18px;}
#customers .customer-takeaway li{margin:7px 0;line-height:1.55;}
#customers .customer-takeaway li::marker{color:#8b5034;}
@media print{#customers .customer-takeaway{break-inside:avoid;}}

/* Finance planning outline. Scoped to this page; research layouts stay unchanged. */
.finance-page .finance-plan-budget{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0;}
.finance-page .finance-plan-budget>div{padding:18px;background:var(--panel);border:1px solid var(--line);border-radius:8px;}
.finance-page .finance-plan-budget small{display:block;font-size:12px;color:var(--muted);}
.finance-page .finance-plan-budget strong{display:block;font-size:29px;font-weight:650;}
.finance-page .finance-plan-summary{max-width:850px;font-size:16px;line-height:1.65;color:var(--muted);}
.finance-page .finance-plan-next{border-left:3px solid var(--accent);background:#f0eae0;padding:16px 20px;margin:22px 0;}
.finance-page .finance-plan-next h3{font-size:17px;margin:0 0 6px;}
.finance-page .finance-plan-next p{margin:0;max-width:800px;}
.finance-page .finance-plan-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:24px;}
.finance-page .finance-plan-nav a{display:flex;gap:10px;align-items:center;min-height:44px;padding:10px 14px;background:var(--panel);border:1px solid var(--line);border-radius:6px;text-decoration:none;font-size:14px;}
.finance-page .finance-plan-nav span{color:var(--accent);font-size:12px;}
.finance-page .finance-plan-list{margin:18px 0;}
.finance-page .finance-plan-list>div{display:grid;grid-template-columns:minmax(155px,1fr) minmax(0,3fr);gap:12px 24px;padding:16px 0;border-top:1px solid var(--line);}
.finance-page .finance-plan-list dt{font-size:14px;font-weight:650;}
.finance-page .finance-plan-list dd{margin:0;font-size:14px;line-height:1.6;}
.finance-page .finance-plan-list dd small{display:block;margin-top:7px;font-size:12px;color:var(--muted);}
.finance-page .finance-plan-status{display:block;font-size:12px;font-weight:400;color:var(--accent);margin-top:4px;}
.finance-page .finance-plan-section details{margin:18px 0;}
.finance-page .finance-plan-section summary,.finance-page .finance-calculator-limits>summary{min-height:44px;padding:10px 0;font-size:14px;}
.finance-page .finance-calculator-limits{background:#f0eae0;border-left:3px solid var(--accent);padding:6px 18px;margin:20px 0;}
.finance-page .finance-calculator-limits li{font-size:14px;line-height:1.6;margin:10px 0;}
@media(max-width:750px){.finance-page .finance-plan-budget{grid-template-columns:1fr;}.finance-page .finance-plan-list>div{grid-template-columns:1fr;gap:7px;}.finance-page .finance-plan-nav{grid-template-columns:1fr;}}
@media print{.finance-page .section{break-inside:auto;}.finance-page .finance-plan-list>div,.finance-page .finance-plan-next{break-inside:avoid;}.finance-page details:not([open])> :not(summary){display:block!important;}.finance-page .finance-plan-nav{display:none;}}
