/*
 * Power of sale tracker page, /power-of-sale-tracker/ (inc/pos-page.php; plan docs/research/POWER-OF-SALE-TRACKER-PLAN.md
 * section 8, Phase 3, 2026-11-17). Loaded only on that page. Colours go through the site tokens
 * (tools/theme/site-tokens.py turns every literal here into var(--token); dark values: hlr-site-dark.gen.css).
 * Mobile first: one column at 360 px, tables scroll inside their card, never the page.
 */
/* --pos-paper: the card colour, for the chart's hatching and hollow dot (white in light, the dark surface in dark) */
.hlr-pos { --pos-paper: var(--surface); width: 100%; min-width: 0; max-width: 1152px; margin: 0 auto; padding: 24px 16px 56px; color: var(--ink); font-family: var(--font-body, Inter, sans-serif); }
.hlr-pos *, .hlr-pos *::before, .hlr-pos *::after { box-sizing: border-box; }
.hlr-pos h1, .hlr-pos h2, .hlr-pos h3 { font-family: var(--font-head, Sora, sans-serif); color: var(--ink); }
.hlr-pos a { color: var(--fg-blue-48); }
.hlr-pos a:focus-visible, .hlr-pos button:focus-visible, .hlr-pos select:focus-visible, .hlr-pos summary:focus-visible,
.hlr-pos [tabindex]:focus-visible { outline: 3px solid var(--line-blue-53-2); outline-offset: 2px; }
.hlr-pos .sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Staff preview bar and the "being prepared" state */
.pos-preview { background: var(--bg-yellow-89); color: var(--fg-orange-26); border: 1px solid var(--line-orange-50); border-radius: 9px; padding: 10px 14px; margin: 0 0 18px; font-size: 14px; }
.pos-preview code { color: inherit; background: transparent; padding: 0; font-size: 13px; }
.pos-preview b { color: var(--fg-orange-26); }

/* Header */
.pos-eyebrow { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-red-42); }
.pos-h1 { margin: 0 0 12px; font-size: clamp(28px, 5vw, 42px); line-height: 1.15; font-weight: 800; overflow-wrap: anywhere; }
.pos-intro { margin: 0 0 12px; max-width: 760px; font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.pos-meta { margin: 0 0 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); }
.pos-meta a { font-weight: 600; }
.pos-crumbs { margin: 0 0 10px; font-size: 14px; color: var(--ink-soft); }

/* Stat cards: 2 per row on phones, 3 on tablets, 6 on desktop */
.pos-cards { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .pos-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 1100px) { .pos-cards { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.pos-card, .pos-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm, 9px); box-shadow: var(--shadow-sm); min-width: 0; }
.pos-card { padding: 14px; }
.pos-card-n { display: block; font-family: var(--font-head, Sora, sans-serif); font-size: clamp(18px, 4.6vw, 24px); font-weight: 800; line-height: 1.1; color: var(--ink); white-space: nowrap; }
.pos-card-l { display: block; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--ink); }
.pos-card-s { display: block; margin-top: 6px; font-size: 13px; line-height: 1.4; color: var(--ink-soft); }
.pos-bad { color: var(--fg-red-42); font-weight: 600; }
.pos-good { color: var(--fg-green-24); font-weight: 600; }   /* green like the reference page (owner 2026-11-17); 6.9:1 on white */
.pos-flat { color: var(--ink-soft); }

/* Chart and map side by side from 960 px */
.pos-duo { display: grid; gap: 14px; margin: 0 0 22px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .pos-duo { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } }
.pos-box { padding: 16px; }
.pos-box h2, .pos-box h3 { margin: 0 0 4px; font-size: 18px; font-weight: 700; }
.pos-sub { margin: 0 0 12px; font-size: 14px; color: var(--ink-soft); }
.pos-fine { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: var(--ink-soft); }

/* The chart (inline SVG drawn by PHP; inc/pos-page.php hlr_pos_chart_svg) */
.pos-chart-scroll { position: relative; overflow-x: auto; overflow-y: hidden; }
.pos-chart-scroll svg { display: block; width: 100%; min-width: 560px; height: auto; }
.pc-grid { stroke: var(--line); stroke-width: 1; }
.pc-t { fill: var(--fg-ink-soft); font-size: 13px; font-family: var(--font-body, Inter, sans-serif); }
.pc-t-now { fill: var(--fg-red-42); font-weight: 700; }
.pc-new { fill: var(--fg-blue-67-2); }
.pc-sold { fill: var(--fg-teal-30); }
.pc-unsold { fill: var(--fg-blue-47); }
.pc-s-new { stop-color: var(--fg-blue-67-2); }
.pc-s-sold { stop-color: var(--fg-teal-30); }
.pc-s-unsold { stop-color: var(--fg-blue-47); }
.pc-s-area { stop-color: var(--fg-orange-48-2); }
.pc-hatch { stroke: var(--pos-paper); stroke-width: 2; }
.pc-line { fill: none; stroke: var(--fg-orange-48-2); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.pc-area { stroke: none; }
/* Entrance (the script adds pc-anim to every chart, then pc-in when it comes into view): bars grow from the axis one
   month after the other, the line draws itself, the dots and the area fade in. Nothing moves with reduced motion. */
@media (prefers-reduced-motion: no-preference) {
    .pos-svg.pc-anim .pc-bar { transform-box: fill-box; transform-origin: 50% 100%; animation: pc-grow .55s cubic-bezier(.2, .8, .3, 1) both; animation-delay: calc(var(--i, 0) * 22ms); animation-play-state: paused; }
    .pos-svg.pc-anim .pc-line { stroke-dasharray: 1; animation: pc-draw 1.1s .2s ease-out both; animation-play-state: paused; }
    .pos-svg.pc-anim .pc-area, .pos-svg.pc-anim .pc-dot, .pos-svg.pc-anim .pc-dot-open { animation: pc-fade .5s .7s ease-out both; animation-play-state: paused; }
    .pos-svg.pc-anim.pc-in .pc-bar, .pos-svg.pc-anim.pc-in .pc-line, .pos-svg.pc-anim.pc-in .pc-area, .pos-svg.pc-anim.pc-in .pc-dot, .pos-svg.pc-anim.pc-in .pc-dot-open { animation-play-state: running; }
}
@keyframes pc-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes pc-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes pc-fade { from { opacity: 0; } to { opacity: 1; } }
.pc-dot { fill: var(--fg-orange-48-2); stroke: var(--pos-paper); stroke-width: 1.5; }
.pc-dot-open { fill: var(--pos-paper); stroke: var(--fg-orange-48-2); stroke-width: 2.5; }
.pc-hit { fill: transparent; }
.pc-m { color: var(--ink); }
.pc-m:hover .pc-hit, .pc-m:focus .pc-hit { fill: currentColor; fill-opacity: .07; }
.pc-m:focus { outline: none; }
.pc-m:focus .pc-hit { stroke: var(--fg-blue-53-2); stroke-width: 2; }
.pos-legend { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--ink-soft); }
.pos-legend li { display: inline-flex; align-items: center; gap: 6px; }
.pos-key { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.pos-key-new { background: var(--bg-blue-67); }
.pos-key-sold { background: var(--bg-teal-30); }
.pos-key-unsold { background: var(--bg-blue-47); }
.pos-key-line { width: 18px; height: 3px; border-radius: 2px; background: var(--bg-orange-48); }
.pos-key-part { background: repeating-linear-gradient(45deg, var(--bg-blue-67) 0 3px, var(--bg-white) 3px 5px); }
.pos-tip { position: absolute; z-index: 5; pointer-events: none; max-width: 240px; padding: 8px 10px; border-radius: 8px; background: var(--bg-ink); color: var(--fg-white);
    font-size: 13px; line-height: 1.45; box-shadow: 0 6px 18px var(--shade-blue-11-a25); }
.pos-tip b { color: var(--fg-white); }
.pos-data { margin-top: 10px; font-size: 14px; }
.pos-data summary { cursor: pointer; font-weight: 600; color: var(--fg-blue-48); }

/* The map (Leaflet, loaded when the card comes into view) */
.pos-map-wrap { position: relative; }
.pos-map { height: 360px; border-radius: 8px; overflow: hidden; background: var(--bg-blue-95-2); border: 1px solid var(--line); }
@media (min-width: 960px) { .pos-map { height: 420px; } }
.pos-map-pre { padding: 16px; height: 100%; overflow: auto; }
.pos-map-pre ul { list-style: none; margin: 8px 0 12px; padding: 0; }
.pos-map-pre li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink); }
.pos-pill { position: absolute; top: 10px; left: 54px; z-index: 500; padding: 5px 10px; border-radius: 999px; background: var(--bg-white); color: var(--fg-ink); border: 1px solid var(--line-line);
    font-size: 13px; font-weight: 600; box-shadow: 0 1px 3px var(--shade-blue-11-a12); }
.pos-maplegend { position: absolute; left: 10px; bottom: 22px; z-index: 500; padding: 6px 8px; border-radius: 8px; background: var(--bg-white); color: var(--fg-ink);
    border: 1px solid var(--line-line); font-size: 12px; display: flex; align-items: center; gap: 6px; }
.pm-dot { border-radius: 50%; border: 1.5px solid var(--line-white); box-shadow: 0 0 0 1px var(--shade-ink-a35); }
.pm-d1 { background: var(--bg-orange-83); }
.pm-d2 { background: var(--bg-orange-61); }
.pm-d3 { background: var(--bg-red-60); }
.pm-d4 { background: var(--bg-red-42); }
.pm-dot.is-on, .pm-dot:focus-visible { outline: 3px solid var(--line-ink); outline-offset: 1px; z-index: 1000 !important; }
.pos-maplegend .pm-dot { display: inline-block; width: 11px; height: 11px; }
/* The heat layer under the dots (drawn by the script on a canvas from these colours; light and dark) and its switch */
.hlr-pos { --pos-heat-1: var(--bg-orange-83); --pos-heat-2: var(--bg-orange-61); --pos-heat-3: var(--bg-red-42); --pos-heat-op: .65; }
html[data-hlr-theme="dark"] .hlr-pos { --pos-heat-1: var(--fg-orange-26); --pos-heat-2: var(--fg-orange-48-2); --pos-heat-3: var(--fg-red-42); --pos-heat-op: .75; }
.pos-heat { position: absolute; left: 0; top: 0; pointer-events: none; }
.pos-heat-btn { position: absolute; top: 10px; right: 10px; z-index: 500; min-height: 32px; padding: 4px 12px; border-radius: 999px; cursor: pointer;
    background: var(--bg-white); color: var(--fg-ink); border: 1px solid var(--line-line); font-size: 13px; font-weight: 600; box-shadow: 0 1px 3px var(--shade-blue-11-a12); }
.pos-heat-btn::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 50%; vertical-align: -1px; background: var(--bg-red-42); }
.pos-heat-btn[aria-pressed="false"]::before { background: transparent; border: 1.5px solid var(--line-ink-soft); }
.pos-heat-key { display: inline-block; width: 22px; height: 11px; margin-left: 8px; border-radius: 6px; background: linear-gradient(90deg, var(--bg-orange-83), var(--bg-orange-61), var(--bg-red-42)); }
.pos-heat-off .pos-heat-key { opacity: .3; }
.pos-pop { width: 230px; font-size: 13px; line-height: 1.4; color: var(--fg-ink); }
.pos-pop img { display: block; width: 100%; height: 120px; object-fit: cover; border-radius: 6px; margin-bottom: 6px; background: var(--bg-blue-95-2); }
.pos-pop b { font-size: 15px; }
.pos-pop p { margin: 2px 0; }
.pos-pop a { color: var(--fg-blue-48); font-weight: 600; }

/* Section headings: text-wide 2 px rule */
.pos-sec { margin: 34px 0 0; }
.pos-h2 { display: inline-block; margin: 0 0 14px; padding-bottom: 4px; border-bottom: 2px solid var(--line-ink); font-size: clamp(22px, 3vw, 28px); font-weight: 800; line-height: 1.2; }
.pos-sec > .pos-sub { margin-top: -4px; }

/* Listing browser */
.pos-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 12px; align-items: end; }
@media (min-width: 760px) { .pos-filters { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.pos-filters label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.pos-filters select { display: block; width: 100%; margin-top: 4px; padding: 8px; border: 1px solid var(--line-blue-80); border-radius: 8px; background: var(--surface); color: var(--ink); font-size: 15px; }
.pos-filters .pos-check { display: flex; align-items: center; gap: 8px; min-height: 40px; font-size: 14px; color: var(--ink); }
.pos-filters .pos-check input { width: 18px; height: 18px; }
.pos-count { margin: 0 0 12px; font-size: 14px; color: var(--ink-soft); }
.pos-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .pos-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .pos-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .pos-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pos-l { height: 100%; display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm, 9px); box-shadow: var(--shadow-sm); }
.pos-l.is-on { border-color: var(--line-orange-48); box-shadow: 0 0 0 2px var(--shade-orange-48); }
/* The photo: always a 4:3 frame, the photo cropped to fill it. The image is taken out of the flow, because a tall
   photo otherwise stretches an aspect-ratio box (its min-height is the content's height; owner 2026-11-17: cards of
   different heights). */
.pos-l-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; flex: 0 0 auto; background: var(--bg-blue-95-2); }
.pos-l-img img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.pos-l-body { padding: 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pos-l-price { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.pos-l-price b { font-family: var(--font-head, Sora, sans-serif); font-size: 19px; color: var(--ink); }
.pos-l-price s { font-size: 14px; color: var(--ink-soft); }
.pos-badge { display: inline-block; padding: 2px 7px; border-radius: 999px; background: var(--bg-red-42); color: var(--fg-white); font-size: 12px; font-weight: 700; }
.pos-l-addr { margin: 2px 0 0; font-size: 15px; font-weight: 700; line-height: 1.3; }
.pos-l-addr a { color: var(--ink); text-decoration: none; }
.pos-l-addr a:hover { text-decoration: underline; }
.pos-l p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--ink-soft); }
.pos-l .pos-l-price { color: var(--ink); }
.pos-l-act { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.pos-more { margin: 16px 0 0; text-align: center; }
.pos-empty { padding: 18px; text-align: center; color: var(--ink-soft); }

/* Buttons and links that are buttons */
.pos-btn, .pos-btn2 { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 8px 16px; border-radius: 999px;
    font-size: 15px; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; }
.pos-btn { border: 0; background: var(--bg-orange-40); color: var(--fg-white) !important; }
.pos-btn:hover { background: var(--bg-orange-34); text-decoration: none; }
.pos-btn2 { border: 1px solid var(--line-blue-80); background: var(--surface); color: var(--ink) !important; font-size: 14px; min-height: 36px; padding: 6px 12px; }
.pos-btn2:hover { border-color: var(--line-ink-soft); text-decoration: none; }

/* Tables: real tables, scrolling inside their card on phones */
.pos-tw { position: relative; overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm, 9px); box-shadow: var(--shadow-sm); }
.pos-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; color: var(--ink); }
.pos-table caption { text-align: left; padding: 0; }
.pos-table th, .pos-table td { padding: 10px 14px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.pos-table th:first-child, .pos-table td:first-child { text-align: left; }
.pos-table thead th { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-soft); background: var(--surface-2); }
.pos-table tbody th { font-weight: 700; }
.pos-table tbody tr:last-child th, .pos-table tbody tr:last-child td { border-bottom: 0; }
.pos-bar { display: inline-block; vertical-align: middle; height: 10px; border-radius: 5px; background: var(--bg-blue-67); min-width: 2px; }
.pos-table td.pos-bar-cell { text-align: left; width: 50%; }

/* City detail */
.pos-city-head { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: end; margin: 0 0 12px; }
.pos-city-head label { font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.pos-city-head select { display: block; margin-top: 4px; min-width: 240px; max-width: 100%; padding: 8px; border: 1px solid var(--line-blue-80); border-radius: 8px; background: var(--surface); color: var(--ink); font-size: 15px; }
.pos-mini { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .pos-mini { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pos-mini li { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; }
.pos-mini b { display: block; font-family: var(--font-head, Sora, sans-serif); font-size: 22px; color: var(--ink); }
.pos-mini span { font-size: 13px; color: var(--ink-soft); }

/* Hotspots */
.pos-spots { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .pos-spots { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pos-spot { display: block; height: 100%; padding: 14px; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm, 9px); box-shadow: var(--shadow-sm); }
.pos-spot:hover { border-color: var(--line-ink-soft); text-decoration: none; }
.pos-spot b { display: block; font-size: 16px; color: var(--ink); }
.pos-spot small { display: block; font-size: 13px; color: var(--ink-soft); }
.pos-spot strong { display: block; margin: 6px 0 2px; font-family: var(--font-head, Sora, sans-serif); font-size: 28px; line-height: 1; color: var(--fg-red-42); }

/* Bands (next steps) and the method */
.pos-band { margin: 34px 0 0; padding: 20px; border-radius: var(--radius-sm, 9px); background: var(--surface-2); border: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
.pos-band h2 { margin: 0; font-size: 20px; font-weight: 800; }
.pos-band p { margin: 4px 0 0; font-size: 15px; color: var(--ink-soft); max-width: 640px; }
.pos-method dl { margin: 0; }
.pos-method dt { margin: 14px 0 2px; font-weight: 700; color: var(--ink); }
.pos-method dt:first-child { margin-top: 0; }
.pos-method dd { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.pos-legal { margin: 26px 0 0; font-size: 12px; line-height: 1.5; color: var(--ink-soft); }
#pos-city-body .pos-chart-scroll svg { max-width: 860px; margin: 0 auto; }

/* Key facts and the questions (inc/pos-seo.php; plain text that search engines and assistants quote) */
.pos-facts .pos-box p, .pos-faq .pos-box p { margin: 0 0 10px; max-width: 820px; font-size: 16px; line-height: 1.6; color: var(--ink); }
.pos-faq .pos-box h3 { margin: 18px 0 6px; font-size: 18px; font-weight: 700; line-height: 1.35; }
.pos-faq .pos-box h3:first-child { margin-top: 0; }
.pos-box .pos-next { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 600; }
.pos-crumbs a { color: var(--fg-blue-48); }

/* The power of sale guide, /power-of-sale/ (inc/pos-guide.php): a long read in the tracker's look. Text at a reading width,
   one column on phones; every section ends with its next step (.pg-next). */
.pg-article { max-width: 820px; }
.pg-head .pos-intro { max-width: none; }
.pg .pos-h2 { margin-top: 4px; }
.pg-sec { margin: 40px 0 0; scroll-margin-top: 90px; }
.pg-sec p, .pg-sec li, .pg-sec dd { font-size: 17px; line-height: 1.7; color: var(--ink); }
.pg-sec p { margin: 0 0 14px; }
.pg-sec ul, .pg-sec ol { margin: 0 0 16px; padding-left: 22px; }
.pg-sec li { margin: 0 0 8px; }
.pg-sec a:not(.pos-btn2):not(.pos-btn):not(.pg-home) { text-decoration: underline; text-underline-offset: 2px; }
.pg-short { margin: 0 0 18px; padding: 18px 20px; border-left: 4px solid var(--line-orange-48); }
.pg-short-h, .pg-toc-h { margin: 0 0 8px; font-size: 18px; font-weight: 800; }
.pg-short ul { margin: 0; padding-left: 20px; }
.pg-short li { margin: 0 0 6px; font-size: 16px; line-height: 1.6; color: var(--ink); }
.pg-toc { margin: 0 0 8px; }
.pg-toc ol { margin: 0; padding-left: 22px; columns: 1; column-gap: 28px; }
@media (min-width: 640px) { .pg-toc ol { columns: 2; } }
.pg-toc li { margin: 0 0 6px; font-size: 15px; line-height: 1.45; break-inside: avoid; }
.pg-steps { counter-reset: pg; list-style: none; padding-left: 0 !important; }
.pg-steps > li { position: relative; padding: 0 0 0 44px; margin: 0 0 14px; counter-increment: pg; }
.pg-steps > li::before { content: counter(pg); position: absolute; left: 0; top: 2px; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: var(--bg-orange-40); color: var(--fg-white); font-family: var(--font-head, Sora, sans-serif); font-size: 14px; font-weight: 800; }
.pg-dl { margin: 0 0 16px; }
.pg-dl dt { margin: 16px 0 4px; font-family: var(--font-head, Sora, sans-serif); font-size: 17px; font-weight: 700; color: var(--ink); }
.pg-dl dt:first-child { margin-top: 0; }
.pg-dl dd { margin: 0; color: var(--ink-soft); }
.pg-check { list-style: none; padding-left: 0 !important; }
.pg-check li { position: relative; padding-left: 30px; }
.pg-check li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 16px; height: 16px; border-radius: 4px; border: 2px solid var(--line-orange-48); }
.pg-note { padding: 12px 14px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); font-size: 15px !important; color: var(--ink-soft) !important; }
.pg-table { min-width: 520px; }
.pg-table td, .pg-table th { white-space: normal; text-align: left !important; vertical-align: top; }
.pg-sec .pos-tw { margin: 0 0 16px; }
.pg-stats { margin: 4px 0 16px !important; padding-left: 0 !important; }
.pg-stats li { margin: 0; }
@media (min-width: 1100px) { .pg-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pg-next { margin: 18px 0 0 !important; padding: 14px 16px; border-radius: var(--radius-sm, 9px); background: var(--surface-2); border: 1px solid var(--line);
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-weight: 600; font-size: 16px !important; }
.pg-homes { list-style: none; margin: 0 0 14px; padding: 0 !important; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .pg-homes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pg-homes li { margin: 0; }
.pg-home { display: flex; flex-direction: column; gap: 2px; height: 100%; overflow: hidden; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm, 9px); box-shadow: var(--shadow-sm); }
.pg-home:hover { border-color: var(--line-ink-soft); }
.pg-home-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-blue-95-2); margin-bottom: 6px; }
.pg-home-img img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.pg-home b { padding: 0 10px; font-family: var(--font-head, Sora, sans-serif); font-size: 17px; color: var(--ink); }
.pg-home span:not(.pg-home-img) { padding: 0 10px; font-size: 14px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.pg-home small { padding: 0 10px 10px; font-size: 13px; color: var(--ink-soft); }
.pg-regions { list-style: none; margin: 0 0 6px; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; }
.pg-regions li { margin: 0; }
.pg-regions a { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-blue-80); background: var(--surface); color: var(--ink); text-decoration: none !important; font-size: 15px; }
.pg-regions a:hover { border-color: var(--line-ink-soft); }
.pg-regions b { color: var(--fg-red-42); }
.pg .pos-faq .pos-box p { font-size: 16px; }

/* The sign-in gate (inc/pos-page.php hlr_pos_gate_html): placeholder cards with no data, blurred shapes only, and one
   call to action over them. Colours through the site tokens (light and dark). */
.pos-gate { position: relative; margin-top: 8px; }
.pos-list-ph { filter: blur(3px); opacity: .75; pointer-events: none; user-select: none; }
.pos-l-ph .pos-ph-img { background: linear-gradient(135deg, var(--bg-blue-95-2), var(--surface-2)); }
.pos-ph { display: block; height: 12px; width: 80%; border-radius: 6px; background: var(--line); }
.pos-ph-price { height: 18px; width: 45%; }
.pos-ph-addr { width: 90%; }
.pos-ph-short { width: 55%; }
.pos-gate-cta { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(560px, calc(100% - 24px)); padding: 20px; text-align: center;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-sm, 9px); box-shadow: var(--shadow-sm); }
.pos-gate-cta h3 { margin: 0 0 8px; font-size: 19px; font-weight: 800; line-height: 1.3; color: var(--ink); }
.pos-gate-cta p { margin: 0 0 12px; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.pos-gate-btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
@media (max-width: 599px) { .pos-list-ph .pos-item:nth-child(n+3) { display: none; } }
