/* Guide pages (they reuse the legal page layout, plus tables and buttons) */
.guide-page { max-width: 780px; }
.guide-page h3 { font-size: 1.1rem; margin: 26px 0 8px; }
.guide-page .table-wrap { margin: 18px 0; overflow-x: auto; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-raised); }
.guide-page table { width: 100%; border-collapse: collapse; font-size: 0.92rem; font-variant-numeric: tabular-nums; }
.guide-page caption { text-align: left; padding: 12px 16px 4px; font-size: 0.82rem; color: var(--ink-muted); }
.guide-page th, .guide-page td { padding: 10px 16px; text-align: left; border-top: 1px solid var(--grid); line-height: 1.4; color: var(--ink-2); }
.guide-page thead th { color: var(--ink); font-weight: 600; border-top: 0; }
.guide-page tbody th { color: var(--ink); font-weight: 500; }
.guide-page .cta { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.guide-page .cta .btn { text-decoration: none; }
.guide-page .guide-note { margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--grid); font-size: 0.86rem; color: var(--ink-muted); }
.guide-page ul + p, .guide-page .table-wrap + p { margin-top: 14px; }
.guide-page .btn { display: inline-block; font-weight: 600; font-size: 0.88rem; border-radius: 9px; padding: 10px 16px; border: 1px solid var(--border); background: var(--surface-raised); color: var(--ink); text-decoration: none; }
.guide-page .btn:hover { border-color: var(--accent-property); }
.guide-page .btn.primary { background: var(--accent-property); border-color: var(--accent-property); color: #fff; }
.guide-page .btn:focus-visible { outline: 2px solid var(--accent-property); outline-offset: 2px; }

/* the opening line, figures and cards */
.guide-page .hook { margin-top: 18px; font-size: 1.12rem; line-height: 1.65; color: var(--ink); }
.guide-page .figure { margin: 24px 0; padding: 18px 18px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-raised); }
.guide-page .fig-title { font-weight: 600; font-size: 0.95rem; color: var(--ink); margin-bottom: 6px; }
.guide-page .fig-note { margin: 8px 0 0; font-size: 0.86rem; line-height: 1.55; color: var(--ink-muted); }
.guide-page .legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 4px 0 6px; font-size: 0.85rem; color: var(--ink-2); }
.guide-page .legend .key { width: 12px; height: 12px; border-radius: 3px; display: inline-block; margin-left: 10px; }
.guide-page .legend .key:first-child { margin-left: 0; }
.key.property { background: var(--accent-property); } .key.market { background: var(--accent-market); } .key.cashflow { background: var(--accent-3); } .key.growth { background: var(--accent-4); }

.chart { display: block; width: 100%; height: auto; }
.chart .grid { stroke: var(--grid); stroke-width: 1; }
.chart .tick { fill: var(--ink-muted); font-size: 12px; }
.chart .note { fill: var(--ink-2); font-size: 12px; }
.chart .note.strong { fill: var(--ink); font-weight: 600; }
.chart .zone-label { fill: var(--ink); font-size: 12px; font-weight: 600; }
.chart .line { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.chart .line.property, .chart .dot.property { stroke: var(--accent-property); } .chart .dot.property { fill: var(--accent-property); stroke: var(--surface-raised); stroke-width: 2; }
.chart .line.market { stroke: var(--accent-market); }
.chart .line.cashflow { stroke: var(--accent-3); }
.chart .line.growth { stroke: var(--accent-4); }
.chart .mark { stroke: var(--ink-muted); stroke-width: 1.5; stroke-dasharray: 4 4; }
.chart .mark.strong { stroke: var(--ink); stroke-dasharray: none; }
.chart .mark.zero { stroke: var(--ink-muted); stroke-dasharray: none; }
.chart .zone.property { fill: var(--accent-property); opacity: .22; } .chart .zone.market { fill: var(--accent-market); opacity: .22; }
.chart .bar.leverage { fill: var(--accent-property); } .chart .bar.growth { fill: var(--accent-4); } .chart .bar.cashflow { fill: var(--accent-3); } .chart .bar.behind { opacity: .55; }

.guide-page .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }
.guide-page .card { padding: 16px 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-raised); }
.guide-page .card svg { width: 56px; height: 42px; margin-bottom: 6px; }
.guide-page .card.cashflow { border-top: 4px solid var(--accent-3); color: var(--accent-3); }
.guide-page .card.growth { border-top: 4px solid var(--accent-4); color: var(--accent-4); }
.guide-page .card h4 { margin: 0; font-size: 1.05rem; color: var(--ink); }
.guide-page .card .big { margin: 4px 0 6px; font-size: 1.6rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.guide-page .card .big small { font-size: 0.85rem; font-weight: 500; color: var(--ink-muted); }
.guide-page .card p:last-child { margin: 0; font-size: 0.9rem; line-height: 1.55; color: var(--ink-2); }
.guide-page .takeaways { margin: 36px 0 8px; padding: 18px 22px; border: 1px solid var(--border); border-left: 4px solid var(--accent-property); border-radius: 10px; background: var(--surface-raised); }
.guide-page .takeaways h2 { margin: 0 0 10px; font-size: 1.15rem; }
.guide-page .takeaways ol { margin: 0; padding-left: 1.3rem; display: grid; gap: 8px; }
@media (max-width: 560px) { .guide-page .duo { grid-template-columns: 1fr; } .guide-page .figure { padding: 14px 12px 10px; } }

/* the interactive box and the promo */
.guide-page .play { margin: 26px 0; padding: 18px 20px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-raised); }
.guide-page .play[hidden] { display: none; }
.guide-page .play h3 { margin-top: 0; }
.guide-page .controls { display: grid; gap: 4px; margin: 14px 0 6px; }
.guide-page .controls label { display: flex; justify-content: space-between; font-size: 0.9rem; font-weight: 600; color: var(--ink); margin-top: 8px; }
.guide-page .controls output { font-variant-numeric: tabular-nums; color: var(--accent-property); }
.guide-page .controls input[type="range"] { width: 100%; accent-color: var(--accent-property); }
.guide-page .play .verdict { margin: 10px 0 14px; padding: 10px 14px; border-radius: 8px; background: var(--surface); border: 1px solid var(--grid); font-weight: 600; color: var(--ink); }
.guide-page .promo { margin: 36px 0 8px; padding: 20px 22px; border: 1px solid var(--accent-property); border-radius: 12px; background: var(--surface-raised); }
.guide-page .promo h2 { margin: 0 0 8px; font-size: 1.2rem; }
.guide-page .promo .fine { margin-top: 12px; font-size: 0.8rem; color: var(--ink-muted); }
.guide-page .play .ratio { margin: 8px 0 4px; font-size: 0.88rem; color: var(--ink-2); }
.guide-page .play .table-wrap { margin: 12px 0; background: var(--surface); }
.chart .mark.hover { stroke: var(--ink-muted); stroke-width: 1; stroke-dasharray: none; }
.chart .hdot { stroke: var(--surface-raised); stroke-width: 2; } .chart .hdot.cashflow { fill: var(--accent-3); } .chart .hdot.growth { fill: var(--accent-4); }

/* page rhythm: chips, stats, myths, lanes, details */
.guide-page .chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 4px; }
.guide-page .chips a { font-size: 0.82rem; font-weight: 600; text-decoration: none; padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface-raised); color: var(--ink-2); }
.guide-page .chips a:hover { border-color: var(--accent-property); color: var(--ink); }
.guide-page h2[id] { scroll-margin-top: 120px; }
.guide-page .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 18px 0; }
.guide-page .stat { padding: 14px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-raised); text-align: center; }
.guide-page .stat b { display: block; font-size: 1.45rem; line-height: 1.15; color: var(--accent-property); font-variant-numeric: tabular-nums; }
.guide-page .stat span { display: block; margin-top: 4px; font-size: 0.8rem; line-height: 1.35; color: var(--ink-muted); }
.guide-page .myths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0; }
.guide-page .myth { padding: 14px 16px; border: 1px solid var(--border); border-top: 4px solid var(--brand); border-radius: 12px; background: var(--surface-raised); }
.guide-page .myth .said { margin: 0 0 6px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.guide-page .myth p:last-child { margin: 0; font-size: 0.9rem; line-height: 1.55; color: var(--ink-2); }
.guide-page .duo.markets .card { padding-top: 14px; }
.guide-page details { margin: 14px 0; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-raised); }
.guide-page details > summary { cursor: pointer; padding: 12px 16px; font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.guide-page details[open] > summary { border-bottom: 1px solid var(--grid); }
.guide-page details > p, .guide-page details > .table-wrap { margin: 12px 16px; }
.guide-page details > .table-wrap { border: 0; background: transparent; }
.guide-page details.guess { border-left: 4px solid var(--accent-market); }
.chart .pin { fill: var(--ink); }
@media (max-width: 640px) { .guide-page .stats { grid-template-columns: repeat(2, 1fr); } .guide-page .myths { grid-template-columns: 1fr; } }

/* the opening conversation */
.guide-page .chat { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }
.guide-page .say { margin: 0; padding: 14px 16px 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-raised); }
.guide-page .say.grandpa { border-top: 4px solid var(--accent-property); }
.guide-page .say.friend { border-top: 4px solid var(--accent-market); }
.guide-page .say figcaption { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.guide-page .say figcaption svg { width: 48px; height: 48px; flex: none; }
.guide-page .say figcaption b { font-size: 0.8rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.guide-page .say .bgc { fill: var(--grid); }
.guide-page .say blockquote { margin: 0; font-size: 1.02rem; line-height: 1.55; color: var(--ink); font-style: italic; }
@media (max-width: 640px) { .guide-page .chat { grid-template-columns: 1fr; } }

/* the two-lane picture */
.guide-page .lanes { padding: 16px 16px 12px; display: grid; gap: 12px; }
.guide-page .lane { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--border); }
.guide-page .lane.property { background: color-mix(in srgb, var(--accent-property) 9%, var(--surface-raised)); color: var(--accent-property); }
.guide-page .lane.market { background: color-mix(in srgb, var(--accent-market) 9%, var(--surface-raised)); color: var(--accent-market); }
.guide-page .lane .step { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.guide-page .lane .step small { font-size: 0.75rem; color: var(--ink-muted); line-height: 1.2; }
.guide-page .lane .arr { flex: 1; min-width: 28px; height: 2px; background: currentColor; opacity: .45; position: relative; border-radius: 2px; }
.guide-page .lane .arr::after { content: ""; position: absolute; right: -1px; top: -4px; border-left: 8px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.guide-page .lane .chip { display: inline-block; padding: 8px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 700; color: var(--ink); background: var(--surface-raised); border: 1px solid var(--border); white-space: nowrap; }
.guide-page .lane .chip.cash { background: var(--ink); color: var(--page); border-color: var(--ink); }
.guide-page .lane .tile { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--surface-raised); border: 2px solid currentColor; }
.guide-page .lane .tile svg { width: 30px; height: 30px; }
.guide-page .lanes .finish { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 0.84rem; color: var(--ink-2); }
.guide-page .lanes .finish svg { width: 16px; height: 16px; color: var(--ink); flex: none; }
@media (max-width: 560px) { .guide-page .lane { gap: 6px; padding: 10px; } .guide-page .lane .chip { padding: 7px 10px; font-size: 0.78rem; white-space: normal; } .guide-page .lane .arr { min-width: 14px; } }
.guide-page .lane .chip.result { min-width: 190px; text-align: center; }
@media (max-width: 560px) { .guide-page .lane .chip.result { min-width: 0; } }

/* the tipping-point scale */
.chart.meter { overflow: visible; }
.chart .m-left { fill: var(--accent-property); } .chart .m-right { fill: var(--accent-market); }
.chart .m-text { fill: #fff; font-size: 13.5px; font-weight: 700; }
.chart .stem { stroke: var(--ink); stroke-width: 2; }
.chart .pill { fill: var(--ink); } .chart .pill-t { fill: var(--page); font-size: 12.5px; font-weight: 700; }
.chart .knob { fill: var(--surface-raised); stroke: var(--ink); stroke-width: 3; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); }
.chart .knob-dot { fill: var(--ink); }

/* the calculator's own chart, a little larger and bolder inside the guide (its end labels crowd; the legend and the sentence below carry the numbers) */
#playChart svg.chart text { font-size: 19px; }
#playChart svg.chart .end-label { display: none; }
#playChart svg.chart path { stroke-width: 4.6px; }
#playChart svg.chart circle { r: 7.5px; }
#playChart svg.chart { overflow: visible; }

/* a clear label on the side of each line chart */
.guide-page .ychart { display: flex; align-items: center; gap: 2px; }
.guide-page .ychart > :not(.ylab) { flex: 1; min-width: 0; }
.guide-page .ylab { flex: none; writing-mode: vertical-rl; transform: rotate(180deg); text-align: center; white-space: nowrap; font-size: 0.8rem; font-weight: 600; color: var(--ink-2); }
.guide-page .ychart.spill { gap: 34px; }

/* the guides menu and the cards that lead to each guide */
.guide-page.guides-index { max-width: 960px; }
.guide-page .ggrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 18px 0; }
.guide-page .gfeature { margin: 26px 0 16px; }
.guide-page a.gcard { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border: 1px solid var(--border); border-top: 4px solid var(--card-accent, var(--accent-property)); border-radius: 16px; background: var(--surface-raised); color: var(--ink-2); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.guide-page a.gcard:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0, 0, 0, .10); border-color: var(--card-accent, var(--accent-property)); }
.guide-page a.gcard:focus-visible { outline: 3px solid var(--card-accent, var(--accent-property)); outline-offset: 3px; }
.guide-page a.gcard.property { --card-accent: var(--accent-property); } .guide-page a.gcard.cashflow { --card-accent: var(--accent-3); } .guide-page a.gcard.market { --card-accent: var(--accent-market); } .guide-page a.gcard.growth { --card-accent: var(--accent-4); }
.guide-page a.gcard .gicon { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; color: var(--card-accent); background: color-mix(in srgb, var(--card-accent) 12%, var(--surface-raised)); }
.guide-page a.gcard .gicon svg { width: 44px; height: 34px; }
.guide-page a.gcard .gbody { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.guide-page a.gcard .gmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--ink-muted); }
.guide-page a.gcard .gtag { padding: 2px 10px; border-radius: 999px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; font-size: 0.7rem; color: #fff; background: var(--card-accent); }
.guide-page a.gcard h2, .guide-page a.gcard h3 { margin: 0; font-size: 1.12rem; line-height: 1.3; color: var(--ink); }
.guide-page a.gcard.feature { padding: 26px 28px; gap: 22px; }
.guide-page a.gcard.feature .gicon { width: 84px; height: 84px; border-radius: 20px; } .guide-page a.gcard.feature .gicon svg { width: 58px; height: 44px; }
.guide-page a.gcard.feature h3 { font-size: 1.5rem; }
.guide-page a.gcard .gdesc { font-size: 0.92rem; line-height: 1.55; }
.guide-page a.gcard .gmore { margin-top: 4px; font-weight: 700; font-size: 0.9rem; color: var(--card-accent); }
.guide-page a.gcard:hover .gmore span { display: inline-block; transform: translateX(3px); }
.guide-page .ggrid a.gcard { flex-direction: column; gap: 12px; }
.guide-page .ginvite { margin: 34px 0 6px; padding: 22px 24px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface-raised); text-align: center; }
.guide-page .ginvite h2 { margin: 0 0 6px; font-size: 1.2rem; }
.guide-page .ginvite .cta { justify-content: center; }
.guide-page .keep { margin-top: 34px; }
.guide-page .keep h2 { margin-top: 0; }
.guide-page .keep + .promo { margin-top: 28px; }
.guide-page .stats.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .guide-page .ggrid { grid-template-columns: 1fr; } .guide-page a.gcard.feature { flex-direction: column; } }
@media (max-width: 560px) { .guide-page .stats.three { grid-template-columns: 1fr; } }
#playLevChart svg.chart text { font-size: 19px; }
#playLevChart svg.chart .end-label { display: none; }
#playLevChart svg.chart path { stroke-width: 4.6px; }
#playLevChart svg.chart circle { r: 7.5px; }
#playLevChart svg.chart { overflow: visible; }

/* the amplifier bars and the friction chart */
.guide-page .amp { display: grid; gap: 10px; margin: 14px 0 6px; }
.guide-page .amp-row { display: grid; grid-template-columns: 130px 1fr 110px; align-items: center; gap: 12px; }
.guide-page .amp-label { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.guide-page .amp-track { position: relative; height: 32px; border-radius: 9px; background: var(--grid); overflow: hidden; }
.guide-page .amp-zero { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--ink-muted); z-index: 1; }
.guide-page .amp-bar { position: absolute; top: 4px; bottom: 4px; border-radius: 6px; transition: width .12s ease; }
.guide-page .amp-bar.fund { background: var(--accent-market); } .guide-page .amp-bar.rental { background: var(--accent-property); }
.guide-page .amp-val { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); font-size: 0.95rem; }
.guide-page .amp-flag { grid-column: 1 / -1; margin: 0; padding: 8px 12px; border-radius: 8px; background: color-mix(in srgb, var(--critical) 14%, var(--surface-raised)); color: var(--ink); font-weight: 600; font-size: 0.88rem; }
@media (max-width: 560px) { .guide-page .amp-row { grid-template-columns: 1fr auto; } .guide-page .amp-label { grid-column: 1 / -1; } }
.chart .line.f0 { stroke: var(--accent-property); } .chart .line.f1 { stroke: var(--accent-4); } .chart .line.f2 { stroke: var(--accent-market); }
#playFricChart svg.chart { overflow: visible; }
.guide-page .fig-note + .btn { margin-top: 12px; }
.chart .line.f3 { stroke: var(--ink-muted); stroke-dasharray: 8 6; }
.key.muted { background: var(--ink-muted); }

/* the guides list: groups, three-up rows, and the three newer accents */
.guide-page .ggrid { grid-template-columns: repeat(2, 1fr); }
.guide-page .ggrid.three { grid-template-columns: repeat(3, 1fr); }
.guide-page .ggroup { margin: 34px 0 4px; font-size: 1.15rem; scroll-margin-top: 80px; }
.guide-page .ggroup.gsub { margin: 26px 0 4px; font-size: 1.02rem; font-weight: 700; }                                            /* a group inside "For investors" */
.guide-page .gjump { margin: 6px 0 0; font-size: 0.92rem; color: var(--ink-muted); }
.guide-page .gjump a { font-weight: 600; text-decoration: none; }
.guide-page .gjump a:hover { text-decoration: underline; }
.guide-page .keep-all { margin: 4px 0 0; font-size: 0.92rem; font-weight: 600; }
.guide-page .keep-all a { color: var(--accent-property); text-decoration: none; } .guide-page .keep-all a:hover { text-decoration: underline; }
.guide-page a.gcard.brown { --card-accent: var(--accent-8); } .guide-page a.gcard.cyan { --card-accent: var(--accent-7); --card-chip: color-mix(in srgb, var(--accent-7) 70%, #000); } .guide-page a.gcard.pink { --card-accent: var(--accent-5); }
.guide-page a.gcard .gtag { background: var(--card-chip, var(--card-accent)); }
.glink.brown { --glink: var(--accent-8); } .glink.cyan { --glink: color-mix(in srgb, var(--accent-7) 75%, #000); } .glink.pink { --glink: var(--accent-5); }
@media (max-width: 760px) { .guide-page .ggrid, .guide-page .ggrid.three { grid-template-columns: 1fr; } }

/* quick answers */
.guide-page .faq { margin: 34px 0 8px; }
.guide-page .faq h2 { margin-top: 0; }
.guide-page .qa { margin: 0 0 14px; padding: 14px 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-raised); }
.guide-page .qa h3 { margin: 0 0 6px; font-size: 1rem; }
.guide-page .qa p { margin: 0; font-size: 0.93rem; }

/* the chips stay in view while you read a long guide */
.guide-page .chips { position: sticky; top: 58px; z-index: 5; margin: 14px -4px 8px; padding: 8px 4px; background: var(--page); flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.guide-page .chips::-webkit-scrollbar { display: none; }
.guide-page .chips a { white-space: nowrap; }

/* where the rent goes */
.guide-page .rentbar { position: relative; display: flex; height: 38px; margin: 14px 0 8px; border-radius: 10px; overflow: hidden; background: var(--grid); }
.guide-page .rseg { display: block; height: 100%; transition: width .12s ease; }
.rseg.vac, .sw.vac { background: var(--ink-muted); } .rseg.tax, .sw.tax { background: var(--accent-6); } .rseg.ins, .sw.ins { background: var(--accent-7); } .rseg.maint, .sw.maint { background: var(--accent-8); }
.rseg.mgmt, .sw.mgmt { background: var(--accent-5); } .rseg.other, .sw.other { background: var(--accent-4); } .rseg.mort, .sw.mort { background: var(--accent-property); }
.rseg.left, .sw.left { background: var(--accent-3); } .rseg.pocket, .sw.pocket { background: var(--critical); } .sw.rent { background: var(--ink); }
.guide-page .rmark { position: absolute; top: -2px; bottom: -2px; width: 3px; margin-left: -1px; background: var(--ink); }
.guide-page .rentlist { width: 100%; }
.guide-page .rentlist td { text-align: right; font-variant-numeric: tabular-nums; } .guide-page .rentlist th[scope="col"]:not(:first-child) { text-align: right; }
.guide-page .rentlist tr.total th, .guide-page .rentlist tr.total td { font-weight: 700; color: var(--ink); }
.guide-page .rentlist .sw { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 9px; vertical-align: -1px; }

/* the three yardsticks */
.guide-page .ytiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 14px 0; }
.guide-page .ytile { padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.guide-page .ytile .yl { margin: 0 0 4px; font-size: 0.78rem; font-weight: 600; color: var(--ink-muted); }
.guide-page .ytile b { display: block; font-size: 1.5rem; line-height: 1.15; color: var(--ink); font-variant-numeric: tabular-nums; }
.guide-page .ytile .note { display: block; margin-top: 4px; font-size: 0.78rem; line-height: 1.35; }
.ytile .note.good { color: var(--good); } .ytile .note.warn { color: var(--warn); } .ytile .note.critical { color: var(--critical); } .ytile .note.neutral { color: var(--ink-muted); }
@media (max-width: 640px) { .guide-page .ytiles { grid-template-columns: repeat(2, 1fr); } }
.guide-page .stats.three.two { grid-template-columns: repeat(2, 1fr); }

/* focus and motion */
.guide-page input[type="range"]:focus-visible { outline: 3px solid var(--accent-property); outline-offset: 4px; border-radius: 4px; }
.guide-page .btn:focus-visible, .guide-page .chips a:focus-visible, .guide-page details > summary:focus-visible { outline: 3px solid var(--accent-property); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .guide-page *, .glink { transition: none !important; } .guide-page a.gcard:hover, .glink:hover { transform: none; } }

/* three small charts side by side */
.guide-page .minis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 8px 0 4px; }
.chart.mini { width: 100%; height: auto; }
.chart .mini-line { stroke: var(--accent-property); }
@media (max-width: 760px) { .guide-page .minis { grid-template-columns: 1fr; } }
.chart.mini .tick { font-size: 15px; } .chart.mini .note { font-size: 15px; } .chart.mini .note.strong { font-size: 17px; }
.chart.mini .mini-line { stroke-width: 3.5; }
.guide-page .mini-note { margin: -2px 0 0; text-align: center; font-size: 0.82rem; color: var(--ink-muted); }
/* the quick answers stay folded until asked for */
.guide-page .faq details { border: 0; border-radius: 0; background: none; margin: 0; }
.guide-page .faq details > summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 2px; font-size: 1rem; border-top: 1px solid var(--grid); border-bottom: 1px solid var(--grid); }
.guide-page .faq details > summary::-webkit-details-marker { display: none; }
.guide-page .faq details > summary h2 { margin: 0; font-size: 1.15rem; }
.guide-page .faq details > summary::after { content: ""; width: 9px; height: 9px; flex: none; border-right: 2px solid var(--ink-muted); border-bottom: 2px solid var(--ink-muted); transform: rotate(45deg); transition: transform .15s ease; }
.guide-page .faq details[open] > summary::after { transform: rotate(-135deg); }
.guide-page .faq details > summary:focus-visible { outline: 2px solid var(--accent-property); outline-offset: 2px; }
.guide-page .faq details > .qa:first-of-type { margin-top: 14px; }
/* the guides for home buyers */
.rseg.rentgone, .sw.rentgone { background: var(--accent-market); }
.guide-page .barlabel { margin: 12px 0 0; font-size: 0.82rem; font-weight: 600; color: var(--ink-muted); }
.guide-page .barlabel + .rentbar { margin-top: 4px; }
.guide-page .ytile b.buy { color: var(--accent-property); } .guide-page .ytile b.rent { color: var(--accent-market); }
.guide-page #playH3Tiles { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 560px) { .guide-page #playH3Tiles { grid-template-columns: repeat(2, 1fr); } }

