/*
 * The members' market report (website/templates/website/report/), after the
 * designs in new_stuff/1-5 · *-html. Every class is rp-*, so nothing here
 * touches the rest of the site. Its charts are drawn on the server
 * (website/report.py); report.js does the filters, the map's layers, the
 * table's sorting and the deal checker.
 */

.rp {
    --rp-ink: #14213a;
    --rp-muted: #5b6475;
    --rp-soft: #3d4657;
    --rp-line: #e3e6ec;
    --rp-line-2: #eef0f4;
    --rp-paper: #f6f8fb;
    --rp-blue: #1b4e9b;
    --rp-blue-dark: #123a75;
    --rp-blue-bg: #eef3fa;
    --rp-red: #e2231a;
    --rp-warn: #a3470e;
    --rp-warn-bg: #fdede3;
    --rp-green: #1e7a4c;
    background: var(--rp-paper);
    color: var(--rp-ink);
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.5;
}
.rp *, .rp *::before, .rp *::after { box-sizing: border-box; }
.rp a { color: var(--rp-blue); text-decoration: none; }
.rp a:hover { color: var(--rp-blue-dark); text-decoration: underline; }
.rp h1, .rp h2, .rp h3, .rp p { margin: 0; }
.rp-wrap { max-width: 1240px; margin: 0 auto; padding: 32px 16px 56px; display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 768px) { .rp-wrap { padding: 40px 24px 64px; } }
.rp-jak { font-family: "Plus Jakarta Sans", sans-serif; }

/* Header */
.rp-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.rp-head-main { display: flex; flex-direction: column; gap: 8px; flex: 1 1 520px; min-width: 0; }
.rp-kicker { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--rp-red); text-transform: uppercase; }
.rp-h1 { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: clamp(30px, 4vw, 40px); line-height: 1.1; letter-spacing: -.01em; color: var(--rp-ink); }
.rp-h1-sm { font-size: clamp(28px, 3.6vw, 36px); }
.rp-lede { font-size: 16px; line-height: 1.55; color: var(--rp-muted); max-width: 700px; }
.rp-head-side { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.rp-pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--rp-line); border-radius: 99px; padding: 8px 14px; font-size: 13px; }
.rp-pill::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: var(--rp-green); }
.rp-crumbs { font-size: 13px; color: var(--rp-muted); display: flex; gap: 6px; flex-wrap: wrap; }
.rp-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* The report's own tabs */
.rp-tabs { display: flex; gap: 4px; overflow-x: auto; background: #fff; border: 1px solid var(--rp-line); border-radius: 14px; padding: 4px; scrollbar-width: none; }
.rp-tabs::-webkit-scrollbar { display: none; }
.rp-tabs a { flex: none; padding: 10px 16px; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--rp-ink); white-space: nowrap; }
.rp-tabs a:hover { background: var(--rp-paper); text-decoration: none; color: var(--rp-ink); }
.rp-tabs a[aria-current="page"] { background: var(--rp-ink); color: #fff; }

/* Filters */
.rp-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--rp-line); border-radius: 16px; padding: 12px; }
.rp-seg { display: flex; flex-wrap: wrap; gap: 4px; background: var(--rp-paper); border-radius: 12px; padding: 4px; }
.rp-seg > a, .rp-seg > button { border: 0; background: transparent; color: var(--rp-ink); font: 500 14px Inter, sans-serif; padding: 10px 16px; border-radius: 9px; min-height: 40px; display: inline-flex; align-items: center; cursor: pointer; }
.rp-seg > a:hover, .rp-seg > button:hover { text-decoration: none; background: #fff; color: var(--rp-ink); }
.rp-seg > .on, .rp-seg > [aria-selected="true"], .rp-seg > [aria-pressed="true"] { background: var(--rp-ink); color: #fff; font-weight: 600; }
.rp-seg > .on:hover, .rp-seg > [aria-selected="true"]:hover, .rp-seg > [aria-pressed="true"]:hover { background: var(--rp-ink); color: #fff; }
.rp-seg-sm > a, .rp-seg-sm > button { font-size: 13px; padding: 10px 14px; }
.rp-seg-fill { flex-wrap: nowrap; }
.rp-seg-fill > button { flex: 1; justify-content: center; padding: 10px 8px; min-height: 44px; }
.rp-label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--rp-muted); }
.rp-select { font: 500 14px Inter, sans-serif; color: var(--rp-ink); border: 1px solid var(--rp-line); border-radius: 10px; padding: 10px 12px; background: #fff; min-height: 44px; }
.rp-currency { margin-left: auto; }
.rp-currency button[disabled] { color: var(--rp-muted); cursor: not-allowed; font-weight: 600; font-size: 13px; }
.rp-currency .on { background: #fff; color: var(--rp-ink); box-shadow: 0 1px 2px rgba(20, 33, 58, .12); font-weight: 700; font-size: 13px; }
.rp-currency .on:hover { background: #fff; color: var(--rp-ink); }
@media (max-width: 640px) { .rp-currency { margin-left: 0; } }

/* Cards and layout */
.rp-row { display: flex; flex-wrap: wrap; gap: 16px; }
.rp-row > * { min-width: 0; }
.rp-f1 { flex: 1 1 320px; }
.rp-f2 { flex: 2 1 340px; }
.rp-f3 { flex: 3 1 560px; }
.rp-f2w { flex: 2 1 600px; }
.rp-f3w { flex: 3 1 620px; }
.rp-f14 { flex: 1.4 1 480px; }
@media (max-width: 640px) { .rp-f1, .rp-f2, .rp-f3, .rp-f2w, .rp-f3w, .rp-f14 { flex-basis: 100%; } }
.rp-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.rp-grid-340 { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.rp-grid-240 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 12px; }
.rp-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 12px; }
@media (max-width: 420px) { .rp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rp-card { background: #fff; border: 1px solid var(--rp-line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 640px) { .rp-card { padding: 18px; } }
.rp-card-sm { padding: 16px; gap: 6px; }
.rp-card-paper { background: var(--rp-paper); padding: 20px; gap: 6px; }
.rp-card-blue { background: var(--rp-blue); border-color: var(--rp-blue); color: #fff; }
.rp-card-blue .rp-sub, .rp-card-blue p { color: #dce5f3; }
.rp-card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px; }
.rp-card-head > div:first-child { display: flex; flex-direction: column; gap: 4px; }
.rp-h2 { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700; font-size: 22px; line-height: 1.25; color: var(--rp-ink); }
.rp-h2-sm { font-size: 20px; }
.rp-h3 { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700; font-size: 18px; line-height: 1.3; }
.rp-card-blue .rp-h2, .rp-card-blue .rp-h3 { color: #fff; }
.rp-sub { font-size: 14px; color: var(--rp-muted); }
.rp-small { font-size: 13px; color: var(--rp-muted); }
.rp-note { font-size: 13px; line-height: 1.5; color: var(--rp-muted); }
.rp-fine { font-size: 12px; line-height: 1.5; color: var(--rp-muted); }
.rp-note strong, .rp-fine strong { color: var(--rp-ink); }
.rp-headline { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.rp-big { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 28px; line-height: 1.1; }
.rp-big-red { color: var(--rp-red); }
.rp-big-blue { color: var(--rp-blue); }
.rp-section-label { display: flex; align-items: center; gap: 12px; }
.rp-section-label span:first-child { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--rp-red); text-transform: uppercase; }
.rp-section-label span:last-child { flex: 1; height: 1px; background: var(--rp-line); }

/* Tiles */
.rp-tile-label { font-size: 13px; color: var(--rp-muted); }
.rp-tile-value { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 26px; line-height: 1.1; }
.rp-tile-value small { font-size: 14px; font-weight: 600; color: var(--rp-muted); }
.rp-chips { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; font-weight: 600; }
.rp-chip { padding: 2px 7px; border-radius: 99px; background: var(--rp-line-2); color: var(--rp-soft); }
.rp-chip.up { background: var(--rp-blue-bg); color: var(--rp-blue); }
.rp-chip.down, .rp-chip.warn { background: var(--rp-warn-bg); color: var(--rp-warn); }
.rp-tile.neutral .rp-chip { background: var(--rp-line-2); color: var(--rp-soft); }
.rp-spark { width: 100%; height: 32px; }
.rp-spark polyline { fill: none; stroke: var(--rp-blue); stroke-width: 2; vector-effect: non-scaling-stroke; }
.rp-tile.neutral .rp-spark polyline { stroke: var(--rp-muted); }
.rp-up { color: var(--rp-blue); }
.rp-down, .rp-warn { color: var(--rp-warn); }

/* Direction pills */
.rp-badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--rp-line-2); color: var(--rp-soft); white-space: nowrap; }
.rp-badge.up { background: var(--rp-blue-bg); color: var(--rp-blue); }
.rp-badge.down, .rp-badge.warn { background: var(--rp-warn-bg); color: var(--rp-warn); }
.rp-badge.muted { background: transparent; color: var(--rp-muted); }
.rp-badge-lg { font-size: 13px; padding: 5px 11px; }
.rp-direction { display: grid; grid-template-columns: 1fr repeat(3, 78px); gap: 8px; align-items: center; font-size: 14px; }
.rp-direction .rp-badge { text-align: center; padding: 4px 0; }
.rp-direction-head { font-size: 12px; color: var(--rp-muted); font-weight: 600; padding-bottom: 4px; border-bottom: 1px solid var(--rp-line); }
@media (max-width: 420px) { .rp-direction { grid-template-columns: 1fr repeat(3, 68px); gap: 6px; } .rp-direction .rp-badge { font-size: 11px; } }

/* Charts */
.rp-chart { width: 100%; height: auto; display: block; }
.rp-chart text { font-family: Inter, sans-serif; font-size: 13px; fill: var(--rp-muted); }
.rp-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; }
.rp-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.rp-sw { width: 18px; height: 3px; border-radius: 2px; display: inline-block; }
.rp-sw-dot { width: 14px; height: 14px; border-radius: 99px; }
.rp-sw-sq { width: 12px; height: 12px; border-radius: 3px; }

/* Horizontal bars */
.rp-bars { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.rp-hbar { display: grid; grid-template-columns: minmax(90px, 130px) 1fr 56px; align-items: center; gap: 10px; }
.rp-hbar > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rp-hbar > strong, .rp-hbar > .rp-r { text-align: right; }
.rp-track { height: 10px; border-radius: 99px; background: var(--rp-line-2); position: relative; overflow: hidden; }
.rp-fill { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: var(--rp-blue); }
.rp-hbar-rank { grid-template-columns: 24px minmax(0, 1fr) 90px 44px; gap: 8px; }
.rp-rank { width: 22px; height: 22px; border-radius: 99px; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; color: var(--rp-ink); }
.rp-rank.dark { color: #fff; }
.rp-hbar-4 { grid-template-columns: minmax(90px, 110px) 1fr 76px; }
.rp-hbar-wide { grid-template-columns: minmax(90px, 116px) 1fr 84px; }

/* Signals */
.rp-signal { display: flex; gap: 12px; align-items: flex-start; padding-bottom: 12px; border-bottom: 1px solid var(--rp-line-2); }
.rp-signal:last-child { border-bottom: 0; padding-bottom: 0; }
.rp-signal-icon { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--rp-line-2); display: flex; align-items: center; justify-content: center; color: var(--rp-soft); }
.rp-signal-icon.up { background: var(--rp-blue-bg); color: var(--rp-blue); }
.rp-signal-icon.warn { background: var(--rp-warn-bg); color: var(--rp-warn); }
.rp-signal-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.rp-signal div { display: flex; flex-direction: column; gap: 3px; }
.rp-signal strong { font-size: 14px; }
.rp-signal span { font-size: 13px; line-height: 1.5; color: var(--rp-muted); }

/* Mini stat boxes */
.rp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 12px; }
.rp-stat { border: 1px solid var(--rp-line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.rp-stat-paper { border: 0; background: var(--rp-paper); }
.rp-stat > span:first-child { font-size: 13px; color: var(--rp-muted); }
.rp-stat strong.rp-v { font-family: "Plus Jakarta Sans", sans-serif; font-size: 24px; font-weight: 800; }
.rp-stat small { font-size: 12px; color: var(--rp-muted); }

/* Tables */
.rp-scroll { overflow-x: auto; border: 1px solid var(--rp-line); border-radius: 12px; -webkit-overflow-scrolling: touch; }
.rp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.rp-table th { background: var(--rp-paper); color: var(--rp-muted); font-size: 12px; font-weight: 600; text-align: right; padding: 12px 10px; border-bottom: 1px solid var(--rp-line); white-space: nowrap; }
.rp-table td { text-align: right; padding: 11px 10px; border-bottom: 1px solid var(--rp-line-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.rp-table tbody tr:last-child td { border-bottom: 0; }
.rp-table th:first-child, .rp-table td:first-child { padding-left: 14px; }
.rp-table th:last-child, .rp-table td:last-child { padding-right: 14px; }
.rp-table .l { text-align: left; }
.rp-table td.name { font-weight: 600; }
.rp-table td.dim, .rp-table tr.dim td { color: var(--rp-muted); }
.rp-table td.key { font-weight: 700; color: var(--rp-blue); }
.rp-table th button { all: unset; cursor: pointer; }
.rp-table th button:focus-visible { outline: 2px solid var(--rp-blue); outline-offset: 2px; }
.rp-table th[aria-sort] { color: var(--rp-blue); font-weight: 700; }
.rp-table th[aria-sort="descending"] button::after { content: " ▼"; }
.rp-table th[aria-sort="ascending"] button::after { content: " ▲"; }
.rp-table-plain th { background: none; padding: 8px; }
.rp-table-plain td { padding: 10px 8px; }

/* Buttons */
.rp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #c9ced8; background: #fff; color: var(--rp-ink) !important; font: 600 14px Inter, sans-serif; padding: 10px 14px; border-radius: 10px; min-height: 44px; cursor: pointer; text-decoration: none !important; }
.rp-btn:hover { background: var(--rp-paper); }
.rp-btn-dark { border-color: var(--rp-ink); background: var(--rp-ink); color: #fff !important; }
.rp-btn-dark:hover { background: #22324f; }
.rp-btn-red { border-color: var(--rp-red); background: var(--rp-red); color: #fff !important; font-weight: 700; font-size: 15px; padding: 12px 18px; }
.rp-btn-red:hover { background: #c41d15; }
.rp-btn[disabled] { opacity: .6; cursor: not-allowed; }
.rp-cta-band { background: var(--rp-blue); color: #fff; border-radius: 16px; padding: 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.rp-cta-band > div { display: flex; flex-direction: column; gap: 4px; flex: 1 1 420px; }
.rp-cta-band h3 { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 22px; color: #fff; }
.rp-cta-band span { font-size: 15px; color: #dce5f3; }

/* Coming soon */
.rp-soon { border-style: dashed; border-color: #c9ced8; background: #fbfcfd; }
.rp-soon-tag { align-self: flex-start; font-size: 12px; font-weight: 800; padding: 4px 9px; border-radius: 99px; background: #fff1d1; color: #7a5200; }
.rp-soon-inline { display: inline-block; font-size: 12px; font-weight: 700; color: #7a5200; }

/* Month strips (seasonality) */
.rp-months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; }
.rp-months > div { height: 44px; border-radius: 6px; }
.rp-months > span { font-size: 12px; color: var(--rp-muted); text-align: center; }
.rp-season { display: grid; grid-template-columns: 80px repeat(12, minmax(0, 1fr)); gap: 4px; align-items: center; font-size: 13px; }
.rp-season > div { height: 38px; border-radius: 6px; }
.rp-season > span { text-align: center; color: var(--rp-muted); font-size: 12px; }
@media (max-width: 520px) { .rp-season { grid-template-columns: 56px repeat(12, minmax(0, 1fr)); gap: 2px; } .rp-season > div, .rp-months > div { height: 30px; } .rp-season > span { font-size: 10px; } }

/* Column charts */
.rp-cols { display: flex; align-items: flex-end; gap: 12px; height: 170px; border-bottom: 1px solid #c9ced8; }
.rp-cols > div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; }
.rp-cols > div > div { width: 100%; border-radius: 4px 4px 0 0; }
.rp-cols-x { display: flex; gap: 12px; font-size: 12px; color: var(--rp-muted); text-align: center; }
.rp-cols-x > span { flex: 1; }

/* Stacked bars (liquidity) */
.rp-stack { display: flex; height: 26px; border-radius: 6px; overflow: hidden; gap: 2px; font-size: 12px; font-weight: 700; }
.rp-stack > div { display: flex; align-items: center; padding-left: 8px; min-width: 0; overflow: hidden; white-space: nowrap; }
.rp-split { display: flex; height: 14px; border-radius: 99px; overflow: hidden; gap: 2px; }

/* At a glance */
.rp-glance { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.rp-glance > span:first-child { flex: none; width: 22px; height: 22px; border-radius: 99px; background: var(--rp-blue-bg); color: var(--rp-blue); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.rp-glance.bad > span:first-child { background: var(--rp-warn-bg); color: var(--rp-warn); }

/* The map */
.rp-map { width: 100%; height: auto; background: #f3f7fc; border-radius: 12px; display: block; }
.rp-map circle { stroke: #fff; stroke-width: 1.5; transition: fill .2s; cursor: pointer; }
.rp-map a:focus-visible circle { stroke: var(--rp-ink); stroke-width: 3; }
.rp-map text { font-family: Inter, sans-serif; font-size: 13px; font-weight: 600; fill: var(--rp-muted); pointer-events: none; }
.rp-map-legend [data-legend][hidden] { display: none !important; }
.rp-map-legend > div.rp-legend { flex-direction: row; align-items: center; }
.rp-map text { paint-order: stroke; stroke: #f3f7fc; stroke-width: 4px; stroke-linejoin: round; }
.rp-scroll-tall { max-height: 640px; overflow-y: auto; }
.rp-scroll-tall thead th { position: sticky; top: 0; z-index: 1; }

/* Nearby cards */
.rp-near { background: #fff; border: 1px solid var(--rp-line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 8px; color: var(--rp-ink) !important; text-decoration: none !important; }
.rp-near:hover { border-color: #c9ced8; box-shadow: 0 4px 14px rgba(20, 33, 58, .06); }
.rp-near-figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; font-size: 13px; color: var(--rp-muted); }
.rp-near-figs strong { display: block; color: var(--rp-ink); font-size: 15px; }
.rp-near-blue { background: var(--rp-blue); border-color: var(--rp-blue); color: #fff !important; justify-content: center; }
.rp-near-blue span { color: #dce5f3; font-size: 14px; }

/* Methodology */
.rp-method { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; padding-top: 8px; border-top: 1px solid var(--rp-line); }
.rp-method > div { display: flex; flex-direction: column; gap: 4px; }
.rp-method strong { font-size: 14px; }
.rp-method span { font-size: 13px; line-height: 1.55; color: var(--rp-muted); }

/* The deal checker */
.rp-form { display: flex; flex-direction: column; gap: 18px; }
.rp-step { display: flex; align-items: center; gap: 10px; }
.rp-step > span { width: 28px; height: 28px; border-radius: 99px; background: var(--rp-red); color: #fff; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex: none; }
.rp-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--rp-muted); }
.rp-field > span.rp-field-head { display: flex; justify-content: space-between; }
.rp-field > span.rp-field-head strong { color: var(--rp-ink); font-size: 15px; }
.rp-input { font: 600 16px Inter, sans-serif; color: var(--rp-ink); border: 1px solid #c9ced8; border-radius: 10px; padding: 12px; min-height: 48px; width: 100%; background: #fff; }
.rp-input-big { font: 700 20px "Plus Jakarta Sans", sans-serif; min-height: 52px; }
.rp-input:focus, .rp-select:focus { outline: none; border-color: var(--rp-blue); box-shadow: 0 0 0 3px rgba(27, 78, 155, .15); }
.rp input[type=range] { accent-color: var(--rp-blue); width: 100%; min-height: 32px; }
.rp-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.rp-calc { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 14px; align-content: start; flex: 1 1 380px; }
.rp-calc .rp-wide { grid-column: 1 / -1; }
.rp-verdict { border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 6px; background: var(--rp-blue-bg); color: var(--rp-blue); }
.rp-verdict.cheap { background: var(--rp-paper); color: var(--rp-soft); }
.rp-verdict.high { background: var(--rp-warn-bg); color: var(--rp-warn); }
.rp-verdict > span:first-child { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.rp-verdict strong { font-family: "Plus Jakarta Sans", sans-serif; font-size: 26px; line-height: 1.2; }
.rp-verdict > span:last-child { font-size: 14px; line-height: 1.5; color: var(--rp-ink); }
.rp-range { position: relative; height: 56px; }
.rp-range-track { position: absolute; left: 0; right: 0; top: 24px; height: 12px; background: var(--rp-line-2); border-radius: 99px; }
.rp-range-band { position: absolute; top: 24px; height: 12px; background: #b9cce8; border-radius: 99px; }
.rp-range-est { position: absolute; top: 18px; width: 3px; height: 24px; margin-left: -1px; background: var(--rp-blue); border-radius: 2px; }
.rp-range-ask { position: absolute; top: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; }
.rp-range-ask > span:first-child { background: var(--rp-red); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
.rp-range-ask > span:last-child { width: 14px; height: 14px; margin-top: 8px; border-radius: 99px; background: var(--rp-red); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--rp-red); }
.rp-range-labels { display: flex; justify-content: space-between; font-size: 13px; color: var(--rp-muted); gap: 8px; }
.rp-range-labels strong { color: var(--rp-ink); }
.rp-lines { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.rp-lines > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--rp-line-2); }
.rp-lines > div:last-child { border-bottom: 0; }
.rp-lines > div > span { color: var(--rp-soft); }
.rp-yields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rp-yield { border: 1px solid var(--rp-line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.rp-yield strong { font-family: "Plus Jakarta Sans", sans-serif; font-size: 36px; line-height: 1.1; }
.rp-yield > span { font-size: 13px; color: var(--rp-muted); }
.rp-yield.blue { background: var(--rp-blue); border-color: var(--rp-blue); color: #fff; }
.rp-yield.blue > span { color: #dce5f3; }
.rp-gauge { position: relative; height: 12px; background: var(--rp-line-2); border-radius: 99px; }
.rp-gauge-fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--rp-blue); border-radius: 99px; }
.rp-gauge-mark { position: absolute; top: -6px; width: 3px; height: 24px; background: var(--rp-red); border-radius: 2px; }

/* The landing page, for visitors without an account */
.rp-land-hero { background: #13315c; color: #fff; border-radius: 20px; padding: clamp(28px, 5vw, 56px); display: grid; gap: 28px; }
@media (min-width: 900px) { .rp-land-hero { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; } }
.rp-land-hero .rp-kicker { color: #ff9d9d; }
.rp-land-hero h1 { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: clamp(34px, 5vw, 54px); line-height: 1.05; letter-spacing: -.02em; color: #fff; margin-top: 10px; }
.rp-land-hero p { color: #c9d6ea; font-size: 17px; margin-top: 14px; max-width: 34em; }
.rp-land-card { background: #fff; color: var(--rp-ink); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.rp-land-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.rp-land-card li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.rp-land-card li::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 99px; background: var(--rp-red); color: #fff; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.rp-land-card .rp-btn-red { width: 100%; min-height: 50px; }
.rp-land-hero .rp-land-card p { color: var(--rp-muted); font-size: 13px; margin-top: 0; }
.rp-land-sections { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.rp-land-sections .rp-card { gap: 8px; }
.rp-land-sections .rp-lock { font-size: 12px; font-weight: 700; color: var(--rp-muted); display: inline-flex; gap: 6px; align-items: center; }

@media (prefers-reduced-motion: reduce) { .rp * { transition: none !important; } }
