/* ==========================================================================
   KPT redesign (light, conversational style, Oct 2026): the shared visual system for Home, Research (search, project, comparison), the directory and the sample.
   Presentation only. Scoped to body.lg so the calculator pages keep their current look. Light theme only.
   Tokens follow the approved design (KPT-Redesign-HANDOFF.md §2).
   ========================================================================== */
:root{
  --kpt-ink:#16213E; --kpt-muted:#6B7280; --kpt-body:#3B4256;
  --kpt-blue:#0B63CE; --kpt-gold:#A9822F; --kpt-green:#1F7A3D; --kpt-orange:#B45309;
  --kpt-grey:#F5F5F7; --kpt-line:#E3E3E8; --kpt-bar:#E7E7EA; --kpt-white:#FFFFFF;
  --kpt-a:#5a55d6; --kpt-b:#2f7c97; --kpt-navy:#16213E; --kpt-navy-sub:#C9CFDD; --kpt-navy-k:#E3C77A;
  --kpt-radius:22px; --kpt-pill:980px; --kpt-wrap:1040px;
  --kpt-font:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}
body.lg{ margin:0; background:var(--kpt-white); color:var(--kpt-ink); font-family:var(--kpt-font); font-size:17px; line-height:1.47; letter-spacing:-.01em; -webkit-font-smoothing:antialiased; color-scheme:light; overflow-x:clip; }
body.lg a{ color:var(--kpt-blue); }
body.lg h1, body.lg h2, body.lg h3{ font-family:var(--kpt-font); font-weight:700; letter-spacing:-.025em; text-wrap:balance; color:var(--kpt-ink); margin:0; }
body.lg p{ margin:0; }
body.lg sup{ font-size:11px; color:var(--kpt-muted); margin-left:1px; line-height:0; }

/* ---- the app area: LG sections run full width; any older view keeps a centred column ---- */
body.lg main#app.kpt-shell, body.lg main.lg-main{ max-width:none !important; padding:0 !important; margin:0; }
body.lg #app > :not(.lg-page):not(script){ max-width:var(--kpt-wrap); margin-left:auto; margin-right:auto; padding-left:var(--gw-gutter,22px); padding-right:var(--gw-gutter,22px); box-sizing:border-box; }
body.lg #app > .kpr-back:first-child{ margin-top:28px; }
/* Research Performance V1 (15 Nov 2026): the loading and message states keep the same 28 px above them as padding, not a margin: a margin here
   collapsed through #app and moved the whole page by 28 px when the report replaced it (a layout shift of most of the screen). The loading
   skeleton also holds a screen's height, so the footer is not shown and then pushed away. Nothing else moves; the states look the same. */
body.lg #app > .kpr-state:first-child{ padding-top:52px; }
body.lg #app > .kpr-state:first-child:has(> .kpr-skel){ min-height:100vh; box-sizing:border-box; }
html.gw-dev-route body.lg #app{ min-height:100vh; }

/* ---- nav ---- */
.lg-nav{ position:sticky; top:env(safe-area-inset-top,0px); z-index:20; background:rgba(255,255,255,.86); -webkit-backdrop-filter:saturate(180%) blur(20px); backdrop-filter:saturate(180%) blur(20px); border-bottom:1px solid var(--kpt-line); }
.lg-nav .in{ max-width:var(--kpt-wrap); margin:0 auto; padding:0 var(--gw-gutter,22px); display:flex; justify-content:space-between; align-items:center; gap:12px; min-height:52px; box-sizing:border-box; }
.lg-nav .bb{ display:flex; align-items:baseline; gap:10px; min-width:0; }
.lg-nav .brand{ font-weight:600; font-size:17px; letter-spacing:-.02em; color:var(--kpt-ink) !important; text-decoration:none; white-space:nowrap; }
.lg-nav .tag{ font-size:12.5px; color:var(--kpt-muted); white-space:nowrap; }
.lg-nav nav{ display:flex; gap:18px; align-items:center; font-size:14px; }
.lg-nav nav a{ color:var(--kpt-muted) !important; text-decoration:none; }
.lg-nav nav a[aria-current="page"]{ color:var(--kpt-ink) !important; font-weight:600; }
.lg-nav nav a.ask{ background:var(--kpt-blue); color:#fff !important; padding:7px 14px; border-radius:var(--kpt-pill); font-weight:500; }
.lg-nav nav a:hover{ text-decoration:none; color:var(--kpt-ink) !important; }
.lg-nav nav a.ask:hover{ color:#fff !important; opacity:.92; }

/* ---- footer ---- */
.lg-foot{ border-top:1px solid var(--kpt-line); padding:24px 22px 40px; }
.lg-foot .in{ max-width:var(--kpt-wrap); margin:0 auto; font-size:12.5px; color:var(--kpt-muted); line-height:1.5; display:grid; gap:6px; }
.lg-foot a{ color:var(--kpt-muted) !important; }
body.lg .kpt-footer.kpt-shell{ max-width:var(--kpt-wrap); margin:0 auto; padding:24px 22px 40px; font-size:12.5px; }
body.lg .kpt-footer.kpt-shell::before{ margin-bottom:20px; }

/* ---- building blocks ---- */
.lg-page{ display:block; }
.lg-band{ padding:80px var(--gw-gutter,22px); }
.lg-band.grey{ background:var(--kpt-grey); }
.lg-band.tight{ padding-top:56px; padding-bottom:56px; }
.lg-wrap{ max-width:var(--kpt-wrap); margin:0 auto; display:grid; gap:30px; min-width:0; }
.lg-head{ text-align:center; display:grid; gap:10px; justify-items:center; }
.lg-head h2{ font-size:44px; line-height:1.08; }
.lg-kicker{ font-size:16px; font-weight:600; color:var(--kpt-gold); letter-spacing:-.005em; }
.lg-lead{ font-size:20px; line-height:1.5; max-width:62ch; color:var(--kpt-ink); }
.lg-sub{ color:var(--kpt-muted); font-size:17px; line-height:1.45; max-width:56ch; }
.lg-fine{ font-size:13px; color:var(--kpt-muted); line-height:1.5; }
.lg-center{ text-align:center; justify-self:center; }
.lg-hero{ padding:64px var(--gw-gutter,22px) 72px; text-align:center; }
.lg-hero .lg-wrap{ justify-items:center; gap:18px; }
.lg-hero h1{ font-size:76px; line-height:1; letter-spacing:-.045em; }
.lg-hero h1.lg-name{ font-size:84px; }
.lg-hero h1.xl{ font-size:78px; max-width:18ch; }
.lg-hero h1.md{ font-size:60px; }
.lg-samplecard{ text-decoration:none !important; color:var(--kpt-ink) !important; padding:34px 36px; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:28px; align-items:center; }
.lg-sct{ font-size:42px; font-weight:700; letter-spacing:-.035em; line-height:1.05; }
.lg-kenstrip.plain{ background:#fff; padding:6px 26px; }
.lg-kenstrip .who{ flex:1 1 420px; }
.lg-hero h1 .a{ color:var(--kpt-a); } .lg-hero h1 .b{ color:var(--kpt-b); }
body.lg h1:focus{ outline:none; }

.lg-btn{ display:inline-flex; align-items:center; justify-content:center; font-family:var(--kpt-font); font-size:16.5px; line-height:1.2; padding:12px 22px; border-radius:var(--kpt-pill); border:1px solid var(--kpt-blue); text-decoration:none !important; letter-spacing:-.01em; min-height:48px; box-sizing:border-box; color:var(--kpt-blue) !important; background:transparent; cursor:pointer; text-align:center; }
.lg-btn.primary{ background:var(--kpt-blue); color:#fff !important; }
.lg-btn.dark{ background:var(--kpt-ink); border-color:var(--kpt-ink); color:#fff !important; }
.lg-btn.wa{ background:var(--kpt-green); border-color:var(--kpt-green); color:#fff !important; }
.lg-btn.white{ background:#fff; border-color:#fff; color:var(--kpt-ink) !important; }
.lg-btn:hover{ opacity:.92; }
.lg-btn:focus-visible, .lg-chips button:focus-visible, .lg-chips a:focus-visible{ outline:3px solid var(--kpt-gold); outline-offset:2px; }
.lg-btns{ display:flex; gap:10px; flex-wrap:wrap; justify-content:center; }

.lg-pill{ display:inline-block; background:#E4F3E8; color:var(--kpt-green); border-radius:var(--kpt-pill); padding:8px 16px; font-size:15px; line-height:1.35; max-width:70ch; }
.lg-pill.warn{ background:#FDF0E0; color:#9A4A08; } /* V2-07: 4.5:1 or more on its tint (was 4.48) */
.lg-pill.grey{ background:#F0F0F3; color:var(--kpt-muted); }

.lg-tile{ background:var(--kpt-grey); border-radius:var(--kpt-radius); padding:24px 26px; display:grid; gap:8px; min-width:0; text-decoration:none !important; color:var(--kpt-ink) !important; align-content:start; }
.lg-card{ background:#fff; border-radius:var(--kpt-radius); padding:28px 30px; display:grid; gap:12px; min-width:0; align-content:start; }
.lg-band.grey .lg-tile.on-grey, .lg-tile.white{ background:#fff; }
.lg-q h3{ font-size:19px; } .lg-q p{ font-size:16px; line-height:1.55; color:var(--kpt-body); }
.lg-g2{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.lg-g3{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }

.lg-chips{ display:flex; gap:6px; flex-wrap:wrap; justify-content:center; }
.lg-chips button, .lg-chips a{ font-family:var(--kpt-font); font-size:14px; font-weight:500; padding:9px 15px; border-radius:var(--kpt-pill); background:#fff; color:var(--kpt-ink) !important; text-decoration:none !important; border:1px solid var(--kpt-line); cursor:pointer; line-height:1.2; min-height:38px; white-space:nowrap; }
.lg-chips button[aria-pressed="true"], .lg-chips a.on, .lg-chips button.on{ background:var(--kpt-ink); color:#fff !important; border-color:var(--kpt-ink); }
.lg-chips small{ display:none; }
body.lg .lg-chips button, body.lg .lg-chips a{ font-family:var(--kpt-font); font-size:14px; font-weight:500; padding:9px 15px; border-radius:var(--kpt-pill); background:#fff; color:var(--kpt-ink) !important; text-decoration:none !important; border:1px solid var(--kpt-line); line-height:1.2; min-height:38px; }
body.lg .lg-chips button[aria-pressed="true"], body.lg .lg-chips button.on{ background:var(--kpt-ink); color:#fff !important; border-color:var(--kpt-ink); }
.lg-sizeform[hidden]{ display:none !important; }
.lg-numgrid{ grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); align-items:start; }
body.lg .lg-sb .kpr-results button b{ font-family:var(--kpt-font); color:var(--kpt-ink); font-weight:700; }
body.lg .lg-sb .v2-sites-h{ text-transform:none; letter-spacing:0; text-align:left; }

.lg-bar{ position:relative; height:14px; border-radius:7px; background:var(--kpt-bar); }
.lg-bar i{ position:absolute; left:0; top:0; height:100%; border-radius:7px; }
.lg-bar .lg-bval{ position:absolute; left:100%; top:50%; transform:translateY(-50%); padding-left:10px; font-size:14px; font-weight:600; white-space:nowrap; font-variant-numeric:tabular-nums; color:var(--kpt-ink); }
.lg-key{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; font-size:13px; color:var(--kpt-muted); }
.lg-key i{ display:inline-block; width:10px; height:10px; border-radius:50%; margin-right:6px; vertical-align:-1px; }

details.lg-fold{ background:var(--kpt-grey); border-radius:18px; padding:0 22px; }
.lg-band.grey details.lg-fold{ background:#fff; }
details.lg-fold > summary{ list-style:none; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:12px; padding:16px 0; font-weight:600; font-size:16px; min-height:24px; }
details.lg-fold > summary::-webkit-details-marker{ display:none; }
details.lg-fold > summary::after{ content:"+"; font-size:22px; font-weight:400; color:var(--kpt-muted); }
details.lg-fold[open] > summary::after{ content:"–"; }
details.lg-fold > summary small{ font-weight:400; color:var(--kpt-muted); font-size:13.5px; margin-left:auto; text-align:right; }
details.lg-fold > .in{ padding:0 0 20px; font-size:15px; line-height:1.55; color:var(--kpt-body); display:grid; gap:12px; min-width:0; }
.lg-folds{ display:grid; gap:10px; }
.lg-scroll{ overflow-x:auto; -webkit-overflow-scrolling:touch; }
.lg-table{ width:100%; border-collapse:collapse; font-size:14.5px; font-variant-numeric:tabular-nums; }
.lg-table th, .lg-table td{ text-align:left; padding:10px 12px 10px 0; border-bottom:1px solid var(--kpt-line); vertical-align:top; }
.lg-table thead th{ font-size:12.5px; color:var(--kpt-muted); font-weight:600; }
.lg-table caption{ text-align:left; font-weight:600; padding:4px 0 8px; color:var(--kpt-ink); }
.lg-list{ margin:0; padding-left:18px; display:grid; gap:6px; }

/* ---- search (home, research landing) ---- */
.lg-search{ width:100%; max-width:680px; display:flex; gap:8px; background:#fff; border:1.5px solid var(--kpt-ink); border-radius:var(--kpt-pill); padding:6px 6px 6px 22px; box-sizing:border-box; align-items:center; }
.lg-search input{ flex:1 1 auto; min-width:0; height:48px; border:0; font-family:var(--kpt-font); font-size:19px; background:transparent; color:var(--kpt-ink); outline:none; }
.lg-search:focus-within{ box-shadow:0 0 0 4px rgba(11,99,206,.15); }
.lg-vh{ position:absolute !important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

/* Research search box (built by the page's own searchBox()), restyled */
body.lg .lg-sb .kpr-search{ max-width:680px; margin:0 auto; position:relative; }
body.lg .lg-sb .kpr-search > input{ width:100%; box-sizing:border-box; height:60px; border:1.5px solid var(--kpt-ink); border-radius:var(--kpt-pill); padding:0 24px; font-family:var(--kpt-font); font-size:19px; color:var(--kpt-ink); background:#fff; outline:none; }
body.lg .lg-sb .kpr-search > input:focus{ box-shadow:0 0 0 4px rgba(11,99,206,.15); }
body.lg .lg-sb .kpr-results{ list-style:none; margin:14px 0 0; padding:8px; background:var(--kpt-grey); border-radius:26px; display:grid; gap:6px; border:0; box-shadow:none; }
body.lg .lg-sb .kpr-results li{ margin:0; border:0; }
body.lg .lg-sb .kpr-results button{ width:100%; display:flex; justify-content:space-between; align-items:center; gap:14px; text-align:left; padding:16px 20px; border:0; border-radius:18px; background:#fff; color:var(--kpt-ink); font-family:var(--kpt-font); cursor:pointer; }
body.lg .lg-sb .kpr-results button:hover, body.lg .lg-sb .kpr-results button:focus-visible, body.lg .lg-sb .kpr-results button[aria-selected="true"]:focus{ background:#EEEEF2; outline:none; }
body.lg .lg-sb .kpr-results button b{ display:block; font-size:18px; letter-spacing:-.02em; }
body.lg .lg-sb .kpr-results button .m{ display:block; font-size:13.5px; color:var(--kpt-muted); margin-top:3px; font-weight:400; }
body.lg .lg-sb .kpr-results button .r{ display:grid; justify-items:end; gap:5px; font-size:12px; color:var(--kpt-muted); white-space:nowrap; min-width:110px; }
body.lg .lg-sb .kpr-results button .r i{ display:block; height:6px; border-radius:3px; background:var(--kpt-blue); }
/* R3 District search (30 Oct 2026): the district panel in the Research search results; the rows are the usual result rows */
body.lg .lg-sb .lg-dist{ margin-top:14px; }
body.lg .lg-sb .lg-dist-h{ padding:4px 6px 0; }
body.lg .lg-sb .lg-dist-k{ margin:0; font-size:12px; letter-spacing:.06em; text-transform:uppercase; font-weight:600; color:var(--kpt-muted); }
body.lg .lg-sb .lg-dist-t{ margin:4px 0 0; font-size:17px; line-height:1.35; color:var(--kpt-body); text-wrap:balance; }
body.lg .lg-sb .lg-dist-t b{ color:var(--kpt-ink); font-size:19px; letter-spacing:-.02em; }
body.lg .lg-sb .lg-dist-s{ margin:4px 0 0; font-size:14.5px; line-height:1.45; color:var(--kpt-muted); }
body.lg .lg-sb .lg-dist .kpr-results{ margin-top:12px; }
body.lg .lg-sb .lg-dist .kpr-results button[aria-current="true"]{ box-shadow:inset 3px 0 0 var(--kpt-blue); }
body.lg .lg-sb .lg-dist-more{ margin:10px 0 0; text-align:center; }
body.lg .lg-sb .lg-dist-map{ margin:8px 0 0; }
body.lg .lg-sb .lg-dist-map .kpr-link{ font-size:15px; font-weight:600; }
body.lg .lg-sb .lg-dist-more .kpr-link{ min-height:44px; font-size:15px; font-weight:600; }
body.lg .lg-sb .lg-dist-more .lg-n{ margin-left:8px; font-weight:400; color:var(--kpt-muted); }
body.lg .lg-sb .lg-dist-note{ margin:12px 6px 0; text-align:left; }
@media (max-width:420px){ body.lg .lg-sb .lg-dist-t{ font-size:16px; } body.lg .lg-sb .lg-dist-t b{ font-size:18px; } }
body.lg .lg-sb .kpr-empty{ padding:18px 20px; background:#fff; border-radius:18px; color:var(--kpt-body); font-size:15px; }
body.lg .lg-sb .v2-sites{ margin-top:8px; padding:8px; background:var(--kpt-grey); border-radius:22px; }
body.lg .lg-sb .v2-sites-h{ font-size:12.5px; color:var(--kpt-muted); font-weight:600; margin:6px 12px 8px; }
body.lg .lg-sb .v2-site{ display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; background:#fff; border:1px solid #E7E7EA; border-radius:18px; padding:14px 18px; }
body.lg .lg-sb .v2-site b{ font-size:17px; } body.lg .lg-sb .v2-site span{ font-size:13.5px; color:var(--kpt-muted); flex:1 1 220px; }
body.lg .lg-sb .v2-site .v2-btn{ background:var(--kpt-blue); color:#fff !important; border-radius:var(--kpt-pill); padding:8px 14px; font-size:14px; font-weight:600; text-decoration:none; }

/* ---- project page ---- */
.lg-sizes{ display:grid; gap:8px; justify-items:center; }
.lg-sizes .lbl{ font-size:14px; color:var(--kpt-muted); }
.lg-sizeform{ display:flex; gap:8px; align-items:center; justify-content:center; flex-wrap:wrap; }
.lg-sizeform input{ height:44px; border:1px solid var(--kpt-line); border-radius:var(--kpt-pill); padding:0 16px; font-size:16px; font-family:var(--kpt-font); width:150px; }
.lg-sizeform .err{ color:var(--kpt-orange); font-size:14px; width:100%; text-align:center; }
.lg-sizeform .err:empty{ display:none; }
.lg-chart{ width:100%; height:auto; display:block; }
.lg-chart text{ font-family:var(--kpt-font); }
.lg-sugg{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.lg-sugg .lg-tile{ background:#fff; cursor:pointer; border:0; text-align:left; font-family:var(--kpt-font); }
.lg-sugg .lg-tile b{ font-size:20px; letter-spacing:-.02em; }
.lg-sugg .lg-tile .m{ font-size:14px; color:var(--kpt-muted); }
.lg-sugg .lg-tile .go{ font-size:14px; color:var(--kpt-blue); font-weight:600; }
.lg-kenstrip{ display:flex; justify-content:space-between; align-items:center; gap:18px; flex-wrap:wrap; background:var(--kpt-grey); border-radius:var(--kpt-radius); padding:22px 26px; }
.lg-kenstrip .who{ display:flex; gap:16px; align-items:center; min-width:0; }
.lg-kenstrip img{ width:56px; height:56px; border-radius:50%; object-fit:cover; flex:none; }
.lg-kenstrip b{ font-size:17px; display:block; } .lg-kenstrip span{ font-size:15px; color:var(--kpt-muted); }

/* ---- comparison ---- */
.lg-side{ display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); gap:18px; align-items:stretch; }
.lg-side .vs{ align-self:center; font-size:14px; font-weight:700; color:var(--kpt-muted); }
.lg-pc{ border-top:6px solid var(--kpt-a); }
.lg-pc.b{ border-top-color:var(--kpt-b); }
.lg-pc .who{ font-size:14px; font-weight:600; color:var(--kpt-a); }
.lg-pc.b .who{ color:var(--kpt-b); }
.lg-pc h2{ font-size:34px; }
.lg-pc .big{ font-size:56px; font-weight:700; letter-spacing:-.04em; line-height:1; font-variant-numeric:tabular-nums; }
.lg-pc .big small{ font-size:18px; font-weight:400; color:var(--kpt-muted); letter-spacing:0; margin-left:6px; }
.lg-pc .none{ font-size:17px; color:var(--kpt-body); }
.lg-pc ul{ margin:6px 0 0; padding-left:18px; font-size:16px; line-height:1.55; display:grid; gap:4px; }
.lg-rb{ display:grid; gap:5px; }
.lg-rb .t{ position:relative; height:10px; border-radius:5px; background:var(--kpt-bar); }
.lg-rb .t i{ position:absolute; top:0; height:100%; border-radius:5px; opacity:.35; }
.lg-rb .t b{ position:absolute; top:-3px; width:16px; height:16px; margin-left:-8px; border-radius:50%; border:3px solid #fff; box-sizing:border-box; box-shadow:0 0 0 1px rgba(0,0,0,.06); }
.lg-rb .ax{ display:flex; justify-content:space-between; gap:8px; font-size:12px; color:var(--kpt-muted); font-variant-numeric:tabular-nums; }
.lg-rows{ display:grid; gap:22px; }
.lg-row{ display:grid; grid-template-columns:200px minmax(0,1fr); gap:16px; align-items:center; }
.lg-row .lab{ font-size:15px; font-weight:600; line-height:1.25; }
.lg-row .lab small{ display:block; color:var(--kpt-muted); font-weight:400; font-size:13px; margin-top:2px; }
.lg-row .bars{ display:grid; gap:6px; padding-right:170px; }
.lg-row .note{ grid-column:2; font-size:13px; color:var(--kpt-muted); }
.lg-panel[hidden]{ display:none !important; }
.lg-navy{ text-decoration:none !important; background:var(--kpt-navy); color:#fff !important; border-radius:26px; padding:40px 44px; display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); gap:28px; align-items:center; }
.lg-navy .k{ font-size:15px; font-weight:600; color:var(--kpt-navy-k); }
.lg-navy .t{ font-size:40px; font-weight:700; letter-spacing:-.035em; line-height:1.08; color:#fff; }
.lg-navy .s{ font-size:17px; color:var(--kpt-navy-sub); line-height:1.5; }
.lg-navy ul{ margin:0; padding:0; list-style:none; display:grid; gap:10px; font-size:15px; color:var(--kpt-navy-sub); }
.lg-navy ul li{ border-left:2px solid var(--kpt-navy-k); padding-left:12px; }
.lg-navy ul li.f{ border:0; font-size:13px; color:#9AA3B8; padding-left:14px; }
.lg-navy .lg-btn{ justify-self:start; margin-top:6px; }
.lg-ask{ text-align:center; }
.lg-ask .lg-wrap{ justify-items:center; gap:20px; }
.lg-ask h2{ font-size:44px; line-height:1.08; max-width:26ch; }
.lg-ken{ background:#fff; border-radius:var(--kpt-radius); padding:22px 26px; display:flex; gap:18px; align-items:center; text-align:left; max-width:560px; }
.lg-ken img{ width:72px; height:72px; border-radius:50%; object-fit:cover; flex:none; }
.lg-ken b{ font-size:18px; display:block; } .lg-ken span{ display:block; font-size:14px; color:var(--kpt-muted); line-height:1.4; margin-top:3px; }
.lg-quiet{ max-width:720px; }
.lg-why{ margin:0; padding-left:18px; font-size:15px; color:var(--kpt-body); display:grid; gap:4px; text-align:left; }
body.lg .v2-facts{ display:grid; gap:8px; }
body.lg .v2-facts .v2-h3{ display:none; }
body.lg .v2-facts .v2-p{ margin:0; font-size:15.5px; line-height:1.5; }
body.lg .v2-facts details.v2-d{ border:0; padding:0; background:transparent; }
body.lg .v2-facts details.v2-d summary{ font-size:14px; color:var(--kpt-blue); cursor:pointer; }
body.lg .v2-facts .v2-list{ margin:8px 0 0; padding-left:22px; font-size:13.5px; display:grid; gap:4px; }

/* ---- older views shown inside the new shell (pick, own-site, no-data, error) ---- */
body.lg .kpr-back{ font-family:var(--kpt-font); }
body.lg .v2-quiet, body.lg .v2-site{ border-radius:var(--kpt-radius); }
body.lg #app > .kpr-sugg-h, body.lg #app > .kpr-results{ max-width:680px; }

/* ---- directory ---- */
body.lg .kpe-hero{ text-align:center; padding:64px var(--gw-gutter,22px) 24px; }
body.lg .kpe-hero .kpt-eyebrow{ color:var(--kpt-gold); font-weight:600; font-size:16px; letter-spacing:-.005em; text-transform:none; }
body.lg .kpe-hero .kpt-h1{ font-family:var(--kpt-font); font-weight:700; font-size:60px; line-height:1.02; letter-spacing:-.04em; margin:12px 0 0; }
body.lg .kpe-hero .kpt-lede{ font-size:18px; color:var(--kpt-muted); max-width:var(--gw-measure,56ch); margin:16px auto 0; }
body.lg .kpe-sec{ max-width:760px; margin:0 auto; padding:16px 22px 48px; }
body.lg .kpe-input{ width:100%; max-width:none !important; height:60px; border:1.5px solid var(--kpt-ink); border-radius:var(--kpt-pill); padding:0 24px; font-size:19px; font-family:var(--kpt-font); box-sizing:border-box; }
body.lg .kpe-rows{ display:grid; gap:6px; background:var(--kpt-grey); border-radius:26px; padding:8px; margin-top:14px; }
body.lg .kpe-rows:empty{ display:none; }
body.lg .kpe-row{ background:#fff; border:0 !important; border-radius:16px; padding:14px 18px; text-decoration:none; color:var(--kpt-ink) !important; display:flex; justify-content:space-between; align-items:center; gap:12px; }
body.lg .kpe-row:hover{ background:#EEEEF2; }
body.lg .kpe-row .nm{ font-weight:700; font-size:17px; letter-spacing:-.02em; }
body.lg .kpe-row .sb{ display:block; font-weight:400; font-size:13.5px; color:var(--kpt-muted); letter-spacing:0; margin-top:2px; }
body.lg .kpe-tag{ background:var(--kpt-blue); color:#fff; border-radius:var(--kpt-pill); padding:5px 10px; font-size:12.5px; font-weight:600; border:0; }
body.lg .kpe-count{ text-align:center; color:var(--kpt-muted); font-size:14px; margin:12px 0 0; }

/* ---- phones ---- */
@media (max-width:719px){
  body.lg{ font-size:16px; }
  .lg-nav .in{ padding:0 16px; min-height:50px; }
  .lg-nav .tag, .lg-nav nav a.hide-m{ display:none; }
  .lg-nav nav{ gap:12px; }
  .lg-band{ padding:44px 16px; }
  .lg-band.tight{ padding-top:36px; padding-bottom:36px; }
  .lg-wrap{ gap:20px; }
  .lg-hero{ padding:36px 16px 40px; text-align:left; }
  .lg-hero .lg-wrap{ justify-items:start; gap:14px; }
  .lg-hero h1, .lg-hero h1.lg-name{ font-size:40px; line-height:1.02; letter-spacing:-.04em; }
  .lg-hero h1.lg-name{ font-size:46px; }
  .lg-hero h1.xl, .lg-hero h1.md{ font-size:40px; }
  .lg-samplecard{ grid-template-columns:1fr; padding:22px 20px; gap:16px; }
  .lg-sct{ font-size:30px; }
  .lg-kenstrip.plain{ padding:6px 0; }
  .lg-kenstrip .who{ flex-basis:auto; }
  .lg-head{ text-align:left; justify-items:start; }
  .lg-head h2, .lg-ask h2{ font-size:30px; }
  .lg-lead{ font-size:16.5px; }
  .lg-sub{ font-size:15px; }
  .lg-center{ text-align:left; justify-self:start; }
  .lg-pill{ font-size:13.5px; padding:7px 13px; border-radius:16px; }
  .lg-btns{ display:grid; width:100%; justify-content:stretch; }
  .lg-btns .lg-btn, .lg-hero .lg-btn, .lg-ask .lg-btn, .lg-navy .lg-btn{ width:100%; font-size:16px; }
  .lg-tile{ padding:18px; } .lg-card{ padding:20px 18px; gap:10px; }
  .lg-g2, .lg-g3, .lg-sugg, .lg-side, .lg-navy, .lg-numgrid{ grid-template-columns:1fr; }
  details.lg-fold > summary small{ display:none; }
  .lg-side .vs{ display:none; }
  .lg-chips{ justify-content:flex-start; flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; margin:0 -16px; padding:0 16px 4px; max-width:100vw; box-sizing:border-box; }
  .lg-chips::-webkit-scrollbar{ display:none; }
  .lg-chips > *{ flex:none; }
  .lg-sizes{ justify-items:start; width:100%; }
  .lg-sizeform{ justify-content:flex-start; }
  .lg-search{ display:grid; padding:0; border:0; gap:8px; }
  .lg-search input{ border:1.5px solid var(--kpt-ink); border-radius:var(--kpt-pill); padding:0 18px; height:52px; font-size:17px; }
  .lg-search .lg-btn{ width:100%; }
  body.lg .lg-sb .kpr-search > input{ height:52px; font-size:17px; padding:0 18px; }
  body.lg .lg-sb .kpr-results button{ padding:14px 16px; }
  body.lg .lg-sb .kpr-results button .r i{ display:none; }
  body.lg .lg-sb .kpr-results button .r{ min-width:0; white-space:normal; text-align:right; max-width:84px; line-height:1.3; }
  .lg-pc h2{ font-size:26px; } .lg-pc .big{ font-size:44px; } .lg-pc .big small{ font-size:15px; }
  .lg-row{ grid-template-columns:1fr; gap:6px; }
  .lg-row .bars{ padding-right:38%; }
  .lg-row .note{ grid-column:1; }
  .lg-navy{ padding:26px 22px; } .lg-navy .t{ font-size:28px; } .lg-navy .s{ font-size:15px; }
  .lg-ken{ padding:16px 18px; gap:14px; max-width:none; } .lg-ken img{ width:56px; height:56px; }
  .lg-kenstrip{ padding:18px; } .lg-kenstrip .lg-btn{ width:100%; }
  details.lg-fold{ padding:0 18px; }
  body.lg #app > :not(.lg-page):not(script){ padding-left:16px; padding-right:16px; }
  body.lg .kpe-hero{ text-align:left; padding:36px 16px 16px; }
  body.lg .kpe-hero .kpt-h1{ font-size:38px; }
  body.lg .kpe-hero .kpt-lede{ margin-left:0; font-size:16px; }
  body.lg .kpe-sec{ padding:12px 16px 40px; }
  body.lg .kpe-input{ height:52px; font-size:17px; }
  .lg-foot{ padding:20px 16px 36px; } .lg-foot .in{ font-size:12px; }
}
@media (prefers-reduced-motion:reduce){ body.lg *{ scroll-behavior:auto !important; } }
.lg-g2 > :only-child{ grid-column:1/-1; width:100%; max-width:720px; justify-self:center; }
body.lg .kpe-row{ flex-direction:row !important; align-items:center !important; text-align:left !important; }
body.lg .kpe-row .nm{ text-align:left !important; }
body.lg .kpe-sec h2, body.lg .kpe-sec h3, body.lg .kpe-sec .kpe-name{ font-family:var(--kpt-font) !important; font-weight:700; letter-spacing:-.025em; }
body.lg .kpe-sec h2{ font-size:30px; }

/* The "Compare with…" step (presentation only) */
.lg-pickhero{ padding-bottom:64px; }
.lg-pick{ width:100%; max-width:760px; display:grid; gap:12px; text-align:left; }
body.lg .lg-pick .kpr-sugg-h{ margin:14px 0 0; font-size:14px; font-weight:600; color:var(--kpt-muted); letter-spacing:0; text-transform:none; }
body.lg .lg-pick .kpr-note{ margin:0; font-size:13px; color:var(--kpt-muted); line-height:1.5; }
body.lg .lg-pick ul.kpr-results[role=list]{ background:var(--kpt-grey); border-radius:22px; padding:8px; border:0; box-shadow:none; }

/* ==========================================================================
   Phase 2 (Oct 2026): Research, answer first. Presentation only; scoped to the Research page (body.kpr).
   One heading scale for every Research view (landing, development, comparison): 44px on desktop, 32px on phones, the scale the newer pages use.
   The development page leads with its name, type and typical price; background and method sit lower or in disclosures.
   ========================================================================== */
body.kpr .lg-hero h1, body.kpr .lg-hero h1.lg-name, body.kpr .lg-hero h1.md, body.kpr .lg-hero h1.xl{ font-size:44px; line-height:1.08; letter-spacing:-.03em; }
body.kpr .lg-hero{ padding:40px var(--gw-gutter,22px) 44px; }
body.kpr .lg-band{ padding:56px var(--gw-gutter,22px); }
body.kpr .lg-band.tight{ padding-top:40px; padding-bottom:40px; }
body.kpr .lg-head h2{ font-size:32px; line-height:1.12; }
body.kpr .lg-pc h2{ font-size:28px; }
body.kpr .lg-pc .big{ font-size:48px; }

/* the development page header: left aligned, one column, the answer inside the first screen */
body.kpr .lg-hero--ans{ text-align:left; padding-top:24px; padding-bottom:36px; }
body.kpr .lg-hero--ans .lg-wrap{ justify-items:stretch; gap:16px; max-width:760px; }
/* Desktop (24 Oct 2026): the overview takes the same width as the sections below it (--kpt-wrap). From 980px the size question, price answer, actions and
   facts sit in the left column, and the Market pulse (or, before a size is chosen, the at-a-glance card; for a matched-sales-only bedroom type, its
   counts panel) beside them in the right column. Paragraphs keep 62ch.
   Without either block the single 760px column stays. */
@media (min-width:980px){
  body.kpr .lg-hero--ans .lg-wrap:has(> .mp, > .lg-ov, > .gwb-m, > .gwb-side){ max-width:var(--kpt-wrap); grid-template-columns:minmax(0,1fr) minmax(0,400px); column-gap:56px; row-gap:0; align-items:start; }
  body.kpr .lg-hero--ans .lg-wrap:has(> .mp, > .lg-ov, > .gwb-m, > .gwb-side) > *:not(.mp):not(.lg-ov):not(.gwb-m):not(.gwb-side){ margin-bottom:16px; }
  body.kpr .lg-hero--ans .lg-wrap:has(> .mp, > .lg-ov, > .gwb-m, > .gwb-side) > *{ grid-column:1; }
  body.kpr .lg-hero--ans .lg-wrap:has(> .mp, > .lg-ov, > .gwb-m, > .gwb-side) > .lg-back{ grid-column:1 / -1; }
  body.kpr .lg-hero--ans .lg-wrap:has(> .mp, > .lg-ov, > .gwb-m, > .gwb-side) > .mp, body.kpr .lg-hero--ans .lg-wrap:has(> .mp, > .lg-ov, > .gwb-m, > .gwb-side) > .lg-ov, body.kpr .lg-hero--ans .lg-wrap:has(> .mp, > .lg-ov, > .gwb-m, > .gwb-side) > .gwb-m, body.kpr .lg-hero--ans .lg-wrap:has(> .mp, > .lg-ov, > .gwb-m, > .gwb-side) > .gwb-side{ grid-column:2; grid-row:2 / span 20; margin-top:0; }
  body.kpr .lg-hero--ans .lg-wrap:has(> .mp, > .lg-ov, > .gwb-m, > .gwb-side) > .mp{ border-top:0; padding-top:8px; }
  /* a matched-only type's priced card (Bedroom pricing tiers) takes the wider column, so its size groups sit side by side, never a tall strip */
  body.kpr .lg-hero--ans .lg-wrap:has(> .gwb-t), body.kpr .lg-hero--ans .lg-wrap:has(> .gwb-side){ grid-template-columns:minmax(0,1fr) minmax(0,1.3fr); }
  body.kpr .lg-hero--ans .lg-wrap:has(> .mp, > .lg-ov, > .gwb-m, > .gwb-side) > .mp .mp-f{ grid-template-columns:1fr; gap:0; }
  body.kpr .lg-hero--ans .lg-wrap:has(> .mp, > .lg-ov, > .gwb-m, > .gwb-side) > .mp .mp-f div{ grid-template-columns:minmax(0,1fr) auto; column-gap:14px; align-items:baseline; padding:9px 0; border-bottom:1px solid var(--gw-line,#E3E6EC); }
  body.kpr .lg-hero--ans .lg-wrap:has(> .mp, > .lg-ov, > .gwb-m, > .gwb-side) > .mp .mp-f dt{ grid-column:1; grid-row:1; }
  body.kpr .lg-hero--ans .lg-wrap:has(> .mp, > .lg-ov, > .gwb-m, > .gwb-side) > .mp .mp-f .mp-n{ grid-column:1; grid-row:2; }
  body.kpr .lg-hero--ans .lg-wrap:has(> .mp, > .lg-ov, > .gwb-m, > .gwb-side) > .mp .mp-f .mp-v{ grid-column:2; grid-row:1 / span 2; font-size:22px; text-align:right; align-self:center; }
  body.kpr .lg-hero--ans .lg-wrap:has(> .mp, > .lg-ov, > .gwb-m, > .gwb-side) > .mp .mp-h{ font-size:21px; }
}
body.kpr .lg-hero--ans .lg-back{ justify-self:start; }
body.kpr .lg-hero--ans .lg-id{ display:grid; gap:6px; }
body.kpr .lg-hero--ans .lg-idline{ font-size:15px; font-weight:500; color:var(--kpt-muted); display:flex; flex-wrap:wrap; align-items:center; gap:4px 0; }
body.kpr .lg-hero--ans .lg-cls{ background:#F3EBD8; color:#6F5415; border-radius:var(--kpt-pill); padding:3px 10px; font-size:13px; font-weight:600; margin-right:8px; }
body.kpr .lg-hero--ans .lg-cls[data-lg-cls="condo"]{ background:var(--kpt-grey); color:var(--kpt-body); }
body.kpr .lg-hero--ans .lg-center, body.kpr .lg-hero--ans .lg-fine{ text-align:left; justify-self:start; }
body.kpr .lg-ans{ background:var(--kpt-grey); border-radius:var(--kpt-radius); padding:20px 22px; display:grid; gap:8px; justify-items:start; }
body.kpr .lg-ans-k{ font-size:14px; font-weight:600; color:var(--kpt-muted); line-height:1.35; margin:0; }
body.kpr .lg-ans-main{ margin:0; }
body.kpr .lg-ans-v{ font-size:44px; font-weight:700; letter-spacing:-.035em; line-height:1.05; color:var(--kpt-ink); font-variant-numeric:tabular-nums; }
body.kpr .lg-ans-v small{ font-size:17px; font-weight:500; letter-spacing:0; color:var(--kpt-muted); }
body.kpr .lg-ans-v.txt{ font-size:24px; letter-spacing:-.02em; line-height:1.2; }
body.kpr .lg-ans .lg-pill{ font-size:14px; }
body.kpr .lg-ans .lg-fine{ max-width:62ch; }
body.kpr .lg-hero--ans .lg-sizes{ justify-items:start; }
body.kpr .lg-hero--ans .lg-chips{ justify-content:flex-start; }
body.kpr .lg-hero--ans .lg-sizeform{ justify-content:flex-start; }
body.kpr .lg-hero--ans .lg-sizeform .err, body.kpr .lg-hero--ans #sizeNote{ text-align:left !important; }
body.kpr .lg-hero--ans .lg-acts{ margin:0; max-width:none; display:flex; flex-wrap:wrap; gap:8px; }
body.kpr .lg-hero--ans .lg-act{ display:inline-flex; flex-direction:row; align-items:center; justify-items:initial; padding:0 16px; min-height:44px; border-radius:var(--kpt-pill); gap:8px; font-size:14px; white-space:nowrap; }
body.kpr .lg-hero--ans .lg-run{ margin:0 !important; text-align:left; max-width:62ch; }
body.kpr .lg-hero--ans .lg-facts{ max-width:760px; }
body.kpr .lg-hero--ans .kpr-onmap{ margin:0; }
@media (max-width:719px){
  body.kpr .lg-hero h1, body.kpr .lg-hero h1.lg-name, body.kpr .lg-hero h1.md, body.kpr .lg-hero h1.xl{ font-size:32px; line-height:1.1; }
  body.kpr .lg-hero{ padding:28px 16px 32px; }
  body.kpr .lg-hero--ans{ padding-top:14px; padding-bottom:28px; }
  body.kpr .lg-band{ padding:36px 16px; }
  body.kpr .lg-band.tight{ padding-top:28px; padding-bottom:28px; }
  body.kpr .lg-head h2{ font-size:24px; }
  body.kpr .lg-pc h2{ font-size:22px; } body.kpr .lg-pc .big{ font-size:36px; }
  body.kpr .lg-ans{ padding:16px 16px; border-radius:18px; }
  body.kpr .lg-ans-v{ font-size:38px; } body.kpr .lg-ans-v.txt{ font-size:20px; }
  body.kpr .lg-hero--ans .lg-act{ padding:0 14px; min-height:42px; }
}

/* Size first (25 Oct 2026): "What size home are you looking at?" comes before any size-specific price or reading. */
body.kpr .lg-pick{ display:grid; gap:10px; justify-items:start; width:100%; min-width:0; }
body.kpr .lg-pick-h{ font-size:22px; line-height:1.25; letter-spacing:-.02em; margin:0; }
body.kpr .lg-pick .lbl{ font-size:14.5px; line-height:1.5; color:var(--kpt-muted); margin:0; max-width:760px; }
body.kpr .lg-pick-row{ display:flex; flex-wrap:wrap; align-items:center; gap:6px 18px; width:100%; }
body.kpr .lg-selwrap{ position:relative; display:inline-block; width:min(100%, 360px); }
body.kpr .lg-select{ appearance:none; -webkit-appearance:none; width:100%; min-height:52px; padding:0 48px 0 20px; border:1.5px solid var(--kpt-ink); border-radius:var(--kpt-pill); background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%2316213E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 20px center; color:var(--kpt-ink); font:600 16.5px/1.2 var(--kpt-font); letter-spacing:-.01em; cursor:pointer; }
body.kpr .lg-select[data-chosen="true"]{ background-color:var(--kpt-ink); color:#fff; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
body.kpr .lg-select:focus-visible{ outline:3px solid var(--kpt-gold); outline-offset:2px; }
body.kpr .lg-select option, body.kpr .lg-select optgroup{ color:#16213E; background:#fff; font-weight:500; }
body.kpr .lg-typeit{ font:inherit; font-size:14.5px; font-weight:600; color:var(--kpt-blue); background:none; border:0; padding:0; min-height:44px; cursor:pointer; text-decoration:none; }
body.kpr .lg-typeit:hover{ text-decoration:underline; }
body.kpr .lg-pick .lg-sizeform{ justify-content:flex-start; gap:8px; }
body.kpr .lg-pick .lg-sizeform input{ width:190px; }
body.kpr .lg-pick .lg-sizeform #sizeNote{ width:100%; margin:0; }
body.kpr .lg-pick .lg-clear{ font:inherit; font-weight:600; color:var(--kpt-blue); background:none; border:0; padding:0 0 0 6px; min-height:0; cursor:pointer; text-decoration:underline; }
body.kpr .lg-pick .lg-sizeform{ justify-content:flex-start; gap:8px; }
body.kpr .lg-pick .lg-sizeform input{ width:190px; }
body.kpr .lg-pick .lg-sizelbl{ width:100%; }
body.kpr .lg-pick .lg-sizeform #sizeNote{ width:100%; margin:0; }
body.kpr .lg-ov{ display:grid; gap:10px; align-content:start; min-width:0; background:var(--kpt-grey); border-radius:var(--kpt-radius); padding:22px 24px; text-align:left; }
body.kpr .lg-ov-k{ margin:0; font-size:12.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--kpt-muted); }
body.kpr .lg-ov-h{ font-size:24px; line-height:1.2; letter-spacing:-.02em; margin:0; }
body.kpr .lg-ov-s{ margin:0; font-size:15.5px; line-height:1.5; color:var(--kpt-body); max-width:62ch; }
body.kpr .lg-ov-n{ margin:0; font-size:14.5px; line-height:1.5; color:var(--kpt-muted); max-width:62ch; }
body.kpr .lg-ov-a{ margin:2px 0 0; font-size:14.5px; } body.kpr .lg-ov-a a{ font-weight:600; color:var(--kpt-blue); text-decoration:none; display:inline-flex; align-items:center; min-height:40px; }
body.kpr .lg-pickprompt{ display:grid; gap:10px; align-content:start; justify-items:start; }
body.kpr .lg-pickprompt p{ margin:0; color:var(--kpt-body); max-width:52ch; }
body.kpr .mp-near{ margin:0; display:flex; flex-wrap:wrap; gap:8px; }
body.kpr .mp-near button .lg-n{ margin-left:8px; padding-left:8px; border-left:1px solid var(--kpt-line); font-size:13px; font-weight:600; color:var(--kpt-muted); }
@media (max-width:640px){
  body.kpr .lg-pick-h{ font-size:20px; }
  body.kpr .lg-selwrap{ width:100%; }
  body.kpr .lg-ov{ padding:18px 16px; border-radius:18px; } body.kpr .lg-ov-h{ font-size:21px; }
  body.kpr .lg-pick .lg-sizeform input{ width:auto; max-width:none; flex:1 1 140px; min-width:0; }
  body.kpr .lg-pick .lg-sizeform .lg-btn{ width:auto; flex:0 0 auto; }
}
/* ---------- 25 Oct 2026: Location & amenities (assets/js/gw-locmap.js), a small map inside the report ---------- */
.gwl{ display:grid; gap:14px; min-width:0; }
.gwl-sw{ display:flex; flex-wrap:wrap; gap:8px; justify-content:center; }
.gwl-sw button{ font:inherit; font-size:14px; font-weight:500; color:var(--kpt-body); background:#fff; border:1px solid var(--kpt-line); border-radius:var(--kpt-pill); padding:7px 14px; min-height:40px; display:inline-flex; align-items:center; gap:8px; cursor:pointer; }
.gwl-sw button i{ width:10px; height:10px; border-radius:50%; opacity:.35; }
.gwl-sw button[aria-pressed="true"]{ border-color:var(--kpt-ink); color:var(--kpt-ink); box-shadow:inset 0 0 0 1px var(--kpt-ink); }
.gwl-sw button[aria-pressed="true"] i{ opacity:1; }
.gwl-map{ height:380px; border-radius:var(--kpt-radius); overflow:hidden; border:1px solid var(--kpt-line); background:var(--kpt-grey); z-index:0; }
.gwl-near{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 22px; margin:0; }   /* R1.1: two by two on a tablet, so no name wraps and none is left alone on a row */
@media (min-width:1280px){ .gwl-near{ grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); } }
.gwl-near div{ display:grid; gap:2px; align-content:start; padding:10px 0; border-top:1px solid var(--kpt-line); min-width:0; }
.gwl-near dt{ font-size:13px; color:var(--kpt-muted); }
.gwl-near dd{ margin:0; font-size:15.5px; color:var(--kpt-ink); font-weight:500; line-height:1.35; }
.gwl-fine{ font-size:12.5px; color:var(--kpt-muted); line-height:1.5; margin:0; }
.gwl-wait{ font-size:14px; color:var(--kpt-muted); text-align:center; margin:0; padding:40px 0; background:var(--kpt-grey); border-radius:var(--kpt-radius); }
.gwl-tip{ font:600 13px/1.2 var(--kpt-font); color:var(--kpt-ink); border-radius:8px; padding:4px 8px; }
.gwl .leaflet-control-attribution{ font-size:10px; }
.gwl .leaflet-control-attribution img{ height:10px; vertical-align:-1px; }
@media (max-width:640px){
  .gwl-map{ height:290px; border-radius:16px; }
  .gwl-sw{ justify-content:flex-start; flex-wrap:nowrap; overflow-x:auto; margin:0 -16px; padding:0 16px 2px; scrollbar-width:none; }
  .gwl-sw button{ flex:none; }
  .gwl-near{ grid-template-columns:1fr; gap:0; }
}
/* ---------- 25 Oct 2026: what homes here sold and rent for (assets/js/gw-records.js, gw-rent.js). Answer rows, then the evidence. ---------- */
body.kpr .gwr-band{ padding:44px var(--gw-gutter,22px); border-top:1px solid var(--kpt-line); }
.gwr-wrap{ gap:16px !important; }
.gwr-head{ display:grid; gap:6px; }
/* R3 (30 Oct 2026): on a report, the later sections ("Often compared with", "How the price has moved", "Location & amenities") use the same left-aligned
   heading as the sections above them; phones were already the same. The comparison page keeps its own centred headings. */
@media (min-width:720px){
  body.kpr [data-lg="project"] .lg-head{ text-align:left; justify-items:start; gap:6px; }
  body.kpr [data-lg="project"] .lg-head h2{ font-size:30px; line-height:1.15; letter-spacing:-.02em; }
  body.kpr [data-lg="project"] .lg-head .lg-sub{ font-size:16px; max-width:900px; margin:0; }
  body.kpr [data-lg="project"] #lgCompare .lg-center{ text-align:left; justify-self:start; }   /* "Or search for any other development" follows its heading */
}
.gwr-head h2{ font-size:30px; line-height:1.15; letter-spacing:-.02em; margin:0; }
.gwr-head .lg-sub{ font-size:16px; max-width:900px; margin:0; }
.gwr-rows{ display:grid; gap:8px; }
.gwr-row{ font:inherit; text-align:left; width:100%; display:grid; grid-template-columns:minmax(118px,1fr) minmax(112px,1fr) minmax(150px,1.25fr) minmax(0,2fr); align-items:center; gap:4px 18px;
  background:#fff; border:1px solid var(--kpt-line); border-radius:16px; padding:14px 18px; color:var(--kpt-ink); box-sizing:border-box; }
button.gwr-row{ cursor:pointer; }
button.gwr-row:hover{ border-color:#B9BDC9; }
.gwr-row[aria-pressed="true"], .gwr-row[aria-current="true"]{ border-color:var(--kpt-ink); box-shadow:inset 0 0 0 1px var(--kpt-ink); background:#FAFAFB; }
.gwr-t{ font-weight:650; font-size:16.5px; }
.gwr-p b{ font-size:24px; letter-spacing:-.02em; font-variant-numeric:tabular-nums; }
.gwr-p small, .gwr-r small{ display:block; font-size:12.5px; color:var(--kpt-muted); font-weight:400; }
.gwr-lim b{ font-size:19px; color:var(--kpt-body); }
.gwr-r{ font-size:15.5px; font-variant-numeric:tabular-nums; }
.gwr-m{ font-size:14px; color:var(--kpt-muted); line-height:1.45; }
.gwr-mv{ grid-column:1 / -1; font-size:13.5px; color:var(--kpt-body); border-top:1px dashed var(--kpt-line); padding-top:8px; margin-top:4px; }
.gwr-fs{ display:flex; flex-wrap:wrap; gap:10px 12px; align-items:end; }
.gwr-f{ display:grid; gap:4px; font-size:12.5px; color:var(--kpt-muted); font-weight:600; min-width:0; }
.gwr-f select{ font:inherit; font-size:15px; font-weight:400; color:var(--kpt-ink); min-height:42px; padding:8px 34px 8px 12px; border:1px solid #CFD2DA; border-radius:12px; background:#fff; -webkit-appearance:none; appearance:none;
  background-image:linear-gradient(45deg,transparent 50%,var(--kpt-muted) 50%),linear-gradient(135deg,var(--kpt-muted) 50%,transparent 50%); background-position:calc(100% - 18px) 18px,calc(100% - 13px) 18px; background-size:5px 5px; background-repeat:no-repeat; max-width:100%; }
.gwr-f select:focus{ outline:none; border-color:var(--kpt-ink); box-shadow:0 0 0 3px rgba(22,33,62,.1); }
.gwr-count{ margin:4px 0 0; font-size:14.5px; color:var(--kpt-body); }
.gwr-none{ font-size:15px; color:var(--kpt-body); }
.gwr-scroll{ overflow-x:auto; }
.gwr-table{ width:100%; border-collapse:collapse; font-size:15px; font-variant-numeric:tabular-nums; }
.gwr-table th{ text-align:left; font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:var(--kpt-muted); font-weight:600; padding:8px 10px; border-bottom:1px solid var(--kpt-line); }
.gwr-table th:last-child, .gwr-table .gwr-pr{ text-align:right; }
.gwr-table td{ padding:11px 10px; border-top:1px solid var(--kpt-line); vertical-align:top; color:var(--kpt-ink); }
.gwr-table td small{ display:block; font-size:12.5px; color:var(--kpt-muted); }
.gwr-table .gwr-pr b{ font-size:16.5px; }
.gwr-table .gwr-flag{ color:#8A5A00; }
.gwr-unk{ color:var(--kpt-muted); }
.gwr-mo, .gwr-fl, .gwr-sz{ white-space:nowrap; }
.gwr-more{ justify-self:start; min-height:44px; padding:9px 18px; font-size:15px; }
.gwr-notes{ max-width:80ch; }
.gwr-acts{ display:flex !important; flex-wrap:wrap; gap:8px; margin:0 !important; justify-content:flex-start; justify-self:start; max-width:none !important; width:auto !important; }
.gwr-acts .lg-act{ display:inline-flex; align-items:center; padding:0 16px; min-height:44px; border-radius:var(--kpt-pill); gap:8px; font-size:14px; }
.gwr-fold{ margin:0; }
.gwr-fold .in{ display:grid; gap:10px; }
.gwr-rent .gw-apc{ max-width:720px; justify-self:start; margin:0; width:100%; box-sizing:border-box; }
@media (max-width:719px){
  body.kpr .gwr-band{ padding:32px 16px; }
  .gwr-head h2{ font-size:24px; }
  .gwr-head .lg-sub{ font-size:15px; }
  .gwr-row{ grid-template-columns:minmax(0,1fr) auto; grid-template-areas:"t p" "r r" "m m"; gap:2px 12px; padding:12px 14px; }
  .gwr-row .gwr-t{ grid-area:t; } .gwr-row .gwr-p{ grid-area:p; text-align:right; } .gwr-row .gwr-r{ grid-area:r; } .gwr-row .gwr-m{ grid-area:m; }
  .gwr-row .gwr-r small{ display:inline; margin-left:6px; }
  .gwr-p b{ font-size:21px; }
  .gwr-fs{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .gwr-f select{ width:100%; }
  .gwr-table thead{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
  .gwr-table, .gwr-table tbody{ display:block; }
  .gwr-table tr{ display:block; position:relative; padding:11px 116px 11px 0; border-top:1px solid var(--kpt-line); min-height:44px; }
  .gwr-table td{ display:inline; padding:0; border:0; font-size:14px; color:var(--kpt-body); }
  .gwr-table td small{ display:none; }
  .gwr-table td.gwr-mo{ display:block; font-weight:600; color:var(--kpt-ink); font-size:14.5px; margin-bottom:2px; }
  /* Research Filters §3.6: month; type · basis; size · floors · sale. A separator goes before an item, never after, so no line ends in "·" */
  .gwr-tx .gwr-table td.gwr-ty{ display:block; }
  .gwr-tx .gwr-table td.gwr-ty small:not(.gwr-flag){ display:inline; font-size:14px; color:var(--kpt-muted); }
  .gwr-tx .gwr-table td.gwr-ty small:not(.gwr-flag)::before, .gwr-tx .gwr-table td.gwr-fl::before, .gwr-tx .gwr-table td.gwr-sa::before{ content:" ·\00a0"; color:var(--kpt-muted); }   /* the dot stays with the item after it */
  .gwr-table td.gwr-ty::after, .gwr-table td.gwr-sz::after, .gwr-table td.gwr-fl::after{ content:" · "; color:var(--kpt-muted); }
  .gwr-tx .gwr-table td.gwr-ty::after, .gwr-tx .gwr-table td.gwr-sz::after, .gwr-tx .gwr-table td.gwr-fl::after{ content:none; }
  .gwr-rt td.gwr-sz::after{ content:""; }
  .gwr-table td.gwr-pr{ position:absolute; right:0; top:11px; text-align:right; }
  .gwr-table td.gwr-pr small{ display:block; }
  .gwr-table td small.gwr-flag{ display:block; font-size:12px; }
  .gwr-more{ width:100%; justify-self:stretch; }
}
/* Rental Research V1: rents by size where a bedroom count has too few contracts; the chosen type's rent beside its price */
.gwr-sizes{ display:grid; gap:8px; }
.gwr-h3{ font-size:18px; margin:6px 0 0; letter-spacing:-.01em; }
body.kpr .gwb-ans .gwr-rentline, body.kpr .lg-ans .gwr-rentline{ margin:2px 0 0; font-size:15px; line-height:1.5; color:var(--kpt-ink); max-width:62ch; border-top:1px solid #E1E3EA; padding-top:10px; }
@media (max-width:640px){
  /* a chosen size keeps its price and the Market Pulse on a phone's first screen (approved layout); its band rent is in "Rents" below */
  body.kpr .lg-ans:not(.gwb-ans) .gwr-rentline{ display:none; }
}
/* ---------- CX V2 (26 Oct 2026): a shortcut row under the answer, quieter fine print, less scrolling ---------- */
.lg-jump{ position:sticky; top:var(--gw-navh,58px); z-index:30; background:rgba(255,255,255,.96); -webkit-backdrop-filter:saturate(180%) blur(16px); backdrop-filter:saturate(180%) blur(16px); border-top:1px solid var(--kpt-line); border-bottom:1px solid var(--kpt-line); padding:0 var(--gw-gutter,22px); }
.lg-jump-in{ display:flex !important; align-items:center; gap:18px; min-height:54px; grid-template-columns:none !important; }
.lg-jctx{ flex:0 0 auto; display:inline-flex; align-items:center; gap:8px; font:inherit; font-size:15px; color:var(--kpt-ink); background:none; border:0; padding:6px 0; cursor:pointer; min-height:44px; max-width:46%; }
.lg-jn{ font-weight:700; letter-spacing:-.01em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.lg-jctx b{ font-weight:600; background:var(--kpt-grey); border-radius:var(--kpt-pill); padding:4px 12px; white-space:nowrap; }
.lg-jctx svg{ color:var(--kpt-muted); flex:0 0 auto; }
.lg-jlinks{ display:flex; gap:4px; margin-left:auto; overflow-x:auto; scrollbar-width:none; min-width:0; }
.lg-jlinks::-webkit-scrollbar{ display:none; }
.lg-jl{ flex:0 0 auto; font:inherit; font-size:14.5px; font-weight:500; color:var(--kpt-body); background:none; border:0; border-radius:var(--kpt-pill); padding:8px 12px; min-height:40px; cursor:pointer; white-space:nowrap; }
.lg-jl:hover{ background:var(--kpt-grey); color:var(--kpt-ink); }
.lg-jctx:focus-visible, .lg-jl:focus-visible{ outline:3px solid rgba(11,99,206,.35); outline-offset:2px; }
/* what a shortcut lands on clears the header and the row */
.lg-page .lg-band, .lg-page #lgPick, .lg-page #lgPulse, .lg-page #lgAsk, .lg-page #next{ scroll-margin-top:calc(var(--gw-navh,58px) + 66px); }
/* fine print: the first sentence stays visible, the method opens on request */
.lg-finedet{ font-size:13px; color:var(--kpt-muted); line-height:1.5; max-width:min(80ch,100%); min-width:0; overflow-wrap:anywhere; }
.lg-finedet > summary{ cursor:pointer; list-style:none; }
.lg-finedet > summary::-webkit-details-marker{ display:none; }
.lg-finedet > summary span{ color:var(--kpt-blue, #0B63CE); white-space:nowrap; margin-left:2px; }
.lg-finedet > summary span::after{ content:" ›"; }
.lg-finedet[open] > summary span::after{ content:" ‹"; }
.lg-finedet > p{ margin:6px 0 0; }
details.gwr-sizes > summary{ cursor:pointer; list-style:none; display:flex; align-items:baseline; gap:10px; padding:10px 0; min-height:44px; box-sizing:border-box; }
details.gwr-sizes > summary::-webkit-details-marker{ display:none; }
details.gwr-sizes > summary span{ font-size:14px; font-weight:500; color:var(--kpt-muted); }
details.gwr-sizes > summary::after{ content:"+"; margin-left:auto; font-weight:400; color:var(--kpt-muted); font-size:20px; line-height:1; }
details.gwr-sizes[open] > summary::after{ content:"–"; }
details.gwr-sizes:not([open]){ border-top:1px solid var(--kpt-line); border-bottom:1px solid var(--kpt-line); }
/* a little less air between the evidence sections, and denser sale rows on a wide screen */
body.kpr .gwr-band{ padding-top:36px; padding-bottom:36px; }
@media (min-width:720px){ .gwr-table td{ padding:9px 10px; } }
@media (max-width:719px){
  .lg-jump{ padding:0 0 0 16px; }
  .lg-jump-in{ gap:6px; min-height:50px; }
  .lg-jctx{ max-width:none; font-size:14px; gap:4px; }
  .lg-jctx .lg-jn{ display:none; }
  .lg-jctx b{ padding:5px 10px; }
  .lg-jlinks{ margin-left:0; padding-right:16px; }
  .lg-jl{ font-size:14px; padding:8px 10px; }
  .lg-page .lg-band, .lg-page #lgPick, .lg-page #lgPulse, .lg-page #lgAsk, .lg-page #next{ scroll-margin-top:calc(var(--gw-navh,52px) + 58px); }
  body.kpr .gwr-band{ padding-top:28px; padding-bottom:28px; }
  .gwr-table tr{ padding-top:9px; padding-bottom:9px; }
}
.gwr-wrap{ grid-template-columns:minmax(0,1fr); }
.lg-hero .lg-run + .lg-facts, .lg-hero .lg-run[hidden] + .lg-facts{ margin-top:10px; }
.lg-ov-n [data-lg-ov-rows], .lg-ov-n button[data-lg-scroll]{ display:inline; font:inherit; font-weight:600; color:var(--kpt-blue); background:none; border:0; padding:0; cursor:pointer; text-align:left; }
/* V2.1: one quiet Ask Ken card on the report */
.lg-kacts{ display:flex; align-items:center; gap:6px 16px; flex-wrap:wrap; }
.lg-klink{ font-size:15px; color:var(--kpt-blue); text-decoration:none; font-weight:500; }
.lg-klink:hover{ text-decoration:underline; }
@media (max-width:719px){ .lg-kacts{ width:100%; } .lg-kacts .lg-btn{ width:100%; } }
@media (min-width:980px) and (max-width:1279px){   /* a laptop: the two median tiles keep each line whole */
  body.kpr .lg-hero--ans .lg-wrap:has(> .gwb-t), body.kpr .lg-hero--ans .lg-wrap:has(> .gwb-side){ grid-template-columns:minmax(0,1fr) minmax(0,1.4fr); }
  /* two medians side by side: each line kept whole; the sizes, then the period on its own line (still read as "sizes · period") */
  body.kpr .gwb-t .gwb-tiles:has(> .gwb-tile + .gwb-tile){ gap:8px; }
  body.kpr .gwb-t .gwb-tiles:has(> .gwb-tile + .gwb-tile) > .gwb-tile{ padding:12px 10px; }
  body.kpr .gwb-t .gwb-tiles:has(> .gwb-tile + .gwb-tile) .gwb-t-k{ font-size:12px; }
  body.kpr .gwb-t .gwb-tiles:has(> .gwb-tile + .gwb-tile) .gwb-t-sep{ font-size:0; }
  body.kpr .gwb-t .gwb-tiles:has(> .gwb-tile + .gwb-tile) .gwb-t-p{ display:block; }
}
/* "Recent resale prices by home type" (Ken, 29 Oct 2026): the type, then at most two cells, each saying what its price is (typical, middle half,
   a size group's median, historical matched transactions). Full-width rows on a laptop; on a phone the type sits above its two cells. */
.gwr-row.gwr-row2{ grid-template-columns:minmax(130px,200px) minmax(0,1fr); grid-template-areas:none; align-items:start; gap:6px 24px; padding:14px 18px; }
.gwr-row2 .gwr-t{ padding-top:2px; } .gwr-row2 .gwr-t small{ display:block; font-size:12.5px; font-weight:500; color:var(--kpt-muted); margin-top:2px; }
.gwr-cs{ display:grid; grid-template-columns:repeat(2,minmax(0,400px)); gap:8px 32px; min-width:0; }
.gwr-row2 .gwr-t, .gwr-row2 .gwr-cs{ grid-area:auto; text-align:left; }
.gwr-c{ display:grid; gap:1px; min-width:0; align-content:start; }
.gwr-c .gwr-ck{ font-size:12.5px; font-weight:600; color:var(--kpt-muted); }
.gwr-c b{ font-size:22px; letter-spacing:-.02em; font-variant-numeric:tabular-nums; line-height:1.25; }
.gwr-c-r b{ font-size:19px; }
.gwr-c .gwr-cd{ font-size:13px; color:var(--kpt-muted); font-variant-numeric:tabular-nums; }
@media (max-width:719px){
  .gwr-row.gwr-row2{ grid-template-columns:minmax(0,1fr); gap:8px; padding:12px 14px; }
  .gwr-cs{ grid-template-columns:minmax(0,1fr); gap:0; }   /* a phone: the cells one under the other, each line whole */
  .gwr-cs .gwr-c + .gwr-c{ border-top:1px solid var(--kpt-line); margin-top:8px; padding-top:8px; }
  .gwr-c b{ font-size:19px; } .gwr-c-r b{ font-size:16.5px; }
  .gwr-c .gwr-ck, .gwr-c .gwr-cd{ font-size:12px; }
}
@media (min-width:980px){   /* the answer beside the left column takes the page shell width, as the Market Pulse layout does (gw-standard.css) */
  body.kpr .lg-hero--ans .lg-wrap:has(> .gwb-side){ max-width:var(--gw-shell, var(--kpt-wrap)); }
}
/* Research Filters (Claude C FINAL, Ken 29 Oct 2026): the answer line over the sales, Clear filters, disabled options, a size group's link */
.gwr-ans{ display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 16px; }
.gwr-ans .gwr-count{ margin:4px 0 0; }
.gwr-ans .gwr-count [data-gwr-ans]{ font-variant-numeric:tabular-nums; }
.gwr-clear{ font-size:14.5px; }
.gwr-ansfine{ margin:-6px 0 0; }
.gwr-unote{ max-width:80ch; margin:0; }
.gwr-showing{ margin:0; }
.gwr-f select option:disabled{ color:#9AA0AC; }
.gwr-f select:focus-visible, .gwr-clear:focus-visible, .gwr-grp:focus-visible{ outline:2px solid var(--kpt-ink); outline-offset:2px; }
body.kpr .gwb-t .gwb-tile .gwr-grp{ justify-self:start; margin-top:4px; font-size:13.5px; font-weight:600; }
@media (max-width:719px){
  /* a phone: each filter on its own line, its name beside it, so no option (Since Sep 2021 (1,168), a group's ≈ 721–764 sq ft (8)) is cut off */
  .gwr-tx .gwr-fs{ grid-template-columns:minmax(0,1fr); gap:8px; }
  .gwr-tx .gwr-f{ grid-template-columns:84px minmax(0,1fr); align-items:center; gap:10px; }
  .gwr-tx .gwr-f select{ min-height:44px; }
  .gwr-tx .gwr-table td.gwr-sa{ white-space:nowrap; }
}
