/* Robot Index page (pages/robot_index.py, assets/p-index.js?v=31f831830b): the opening and the lookup. The sections under them are assets/p-index-show.css.
   2026-11-29 (Praj): the page's pixel and cell look is gone. White and fog grounds, cobalt first, Inter figures, the site's own dot robots in true cobalt (assets/dotbot.js,
   data-tone="cobalt"), and plain charts: small solid dots of one size, one thin leader to a label. Signal orange is no longer used on this page. */

/* ---------------------------------------------------------------- 0. the opening: the heading, then every price as one dot */
.ri-open{background:#fff;padding:clamp(32px,4vw,56px) 0 clamp(40px,5vw,64px)}
.ri-ohead h1{margin:0}
.ri-ohead .t-lead{color:var(--ink2);margin:12px 0 0}
.ri-sky{position:relative;margin-top:clamp(24px,3vw,40px)}
#ri-ocv{display:block;width:100%;height:clamp(260px,24vw,360px)}
@media (max-width:640px){#ri-ocv{height:230px}}
/* the chart's own labels: 16px Geist, set by the script once per width */
.ri-spot{position:absolute;left:0;top:0;margin:0;font:500 16px/1.25 var(--sans);color:var(--ink);white-space:nowrap}
.ri-spot.r{transform:translateX(-100%)}
.page .ri-sky p{text-wrap:nowrap}
.ri-ax{position:relative;height:30px;margin-top:8px;font:400 16px/1.25 var(--sans);color:var(--grey)}
.ri-tk{position:absolute;top:0;white-space:nowrap}
.ri-tk.c{transform:translateX(-50%)}.ri-tk.r{transform:translateX(-100%)}
.ri-lgd{display:flex;gap:24px;margin:8px 0 0;font:400 16px/1.25 var(--sans);color:var(--ink2)}
.ri-lgd span{display:inline-flex;align-items:center}
.ri-lgd i{display:block;width:10px;height:10px;border-radius:50%;margin-right:8px;background:#C2C6CC}
.ri-lgd .s i{background:var(--c)}

/* ---------------------------------------------------------------- 1. the lookup on fog: the answer on the left (4 columns), the robot, its age and the picker on the right */
.ri-look{background:var(--alt);padding-block:var(--sec)}
.ri-tin{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gut);align-items:stretch}
.ri-left{grid-column:1 / span 4;display:flex;flex-direction:column;min-width:0}
.ri-cap{margin:0;font:500 16px/1.3 var(--sans);color:var(--ink2)}
.page .ri-ans{margin:10px 0 0;font-size:var(--t-title);line-height:1;letter-spacing:-.03em;color:var(--c);font-variant-numeric:lining-nums tabular-nums}
.ri-rng{margin:14px 0 0;color:var(--ink2)}
.ri-kl{margin-top:36px}
.ri-bar{height:10px;border-radius:5px;background:#D5DAE2;overflow:hidden}
.ri-bar i{display:block;height:100%;background:var(--c);border-radius:5px 0 0 5px}
.ri-klr{display:flex;justify-content:space-between;gap:16px;margin:10px 0 0;font:400 16px/1.3 var(--sans)}
.ri-tag{color:var(--ink);font-weight:500}
.ri-tag.ri-lost{color:var(--grey);font-weight:400;text-align:right}
.ri-tb{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin:auto 0 0;padding-top:24px}
.page .ri-tb select{width:100%;background-color:#fff}
.ri-right{grid-column:6 / -1;display:flex;flex-direction:column;min-width:0}
.ri-stage{display:flex;align-items:flex-end;justify-content:center;height:clamp(260px,30vw,420px);padding:28px 24px 0;box-sizing:border-box;background:#fff;border-radius:16px}   /* the robot stands on a white panel, so the panel is the picture's edge */
.ri-stage .rs-bot{display:flex;align-items:flex-end;justify-content:center;width:100%;height:100%}
.ri-stage .rs-bot canvas{height:100%;width:auto;max-width:100%}
.ri-age{margin-top:24px}
.ri-agel{display:flex;justify-content:space-between;gap:16px;font:500 16px/1.3 var(--sans);color:var(--ink)}
#ri-age{-webkit-appearance:none;appearance:none;display:block;width:100%;height:46px;margin:0;background:none;cursor:pointer}
#ri-age::-webkit-slider-runnable-track{height:2px;background:rgba(11,22,48,.3)}
#ri-age::-moz-range-track{height:2px;background:rgba(11,22,48,.3)}
#ri-age::-webkit-slider-thumb{-webkit-appearance:none;width:28px;height:28px;margin-top:-13px;border:3px solid #fff;border-radius:50%;background:var(--c);box-shadow:0 0 0 1px rgba(11,22,48,.12)}
#ri-age::-moz-range-thumb{width:22px;height:22px;border:3px solid #fff;border-radius:50%;background:var(--c)}
#ri-age:focus-visible{outline-offset:4px}
.ri-ticks{position:relative;height:21px;margin-top:-6px;font:400 16px/1.3 var(--sans);color:var(--grey)}
.ri-ticks span{position:absolute;top:0;transform:translateX(-50%);white-space:nowrap}
@media (max-width:980px){
 .ri-tin{display:flex;flex-direction:column}
 .ri-kl{margin-top:24px}
 .ri-right{margin-top:32px}
 .ri-stage{height:clamp(200px,52vw,320px)}
}
@media (max-width:560px){.ri-tb{grid-template-columns:minmax(0,1fr)}}   /* maker and model each take the full width on a phone, so no name is cut */

/* ---------------------------------------------------------------- print: only the note prints (assets/p-index-show.css holds its sheet) */
@media print{.ri-open,.ri-look{display:none!important}}

/* wave 2 element 17 (2026-11-29): the two-tone hero headline, its second half in grey, in place of a sub line */
h1 .tt-g{color:var(--grey)}
/* wave 2 elements 2 and 15 (2026-11-29): the first reading as a giant outlined figure on a deep fuchsia card, beside the monthly readings rail (real readings solid cobalt,
   the months to come as empty dashed slots) */
.rs-rail .rr-g{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gut);align-items:center;margin-top:clamp(28px,3vw,40px)}
.rr-deep{grid-column:1 / 6;position:relative;overflow:hidden;height:clamp(300px,26vw,360px);border-radius:12px;padding:clamp(24px,2.6vw,32px);background-color:var(--fuchsia);background-image:none;color:#fff}
.rr-deep h3{margin:0;max-width:14em;color:#fff;position:relative;z-index:1}
.rr-dp{margin:8px 0 0;font:400 var(--t-small)/1.4 var(--sans);color:#fff;position:relative;z-index:1}
.rr-dg{position:absolute;left:12px;bottom:-60px;width:640px;height:330px}
.rr-dg text{font:600 270px/1 var(--serif);letter-spacing:-4px;fill:none;stroke:#F4F5F7;stroke-opacity:.8;stroke-width:1.4}
.rr-c{grid-column:6 / 13;margin:0;min-width:0}
.rr{width:100%;height:auto;max-width:690px;color:var(--cobalt)}.rr-p{display:none}
.rr-f{stroke:var(--cobalt);stroke-width:2.5;fill:none}
.rr-e{stroke:#B9C0CB;stroke-width:1.5;stroke-dasharray:4 6;fill:none}
.rr-o{fill:#fff;stroke:#B9C0CB;stroke-width:1.5}
.rr-ld{stroke:var(--grey);stroke-width:1;fill:none}
@media (max-width:900px){.rs-rail .rr-g{grid-template-columns:minmax(0,1fr);row-gap:32px}.rr-deep,.rr-c{grid-column:1}.rr-w{display:none}.rr-p{display:block;max-width:350px}.rr-deep{height:280px}.rr-dg{width:520px;height:270px;bottom:-50px}}
.rr-dg{display:block}
.rr-dg{left:0;width:100%}
@media (max-width:900px){.rr-dg{left:0;width:100%}}

/* ================================================================ round 2 (Praj, 2026-11-29 8:31pm, design-loop/site-redo-2026-11-29/ROUND-2-SPEC.md): the Robot Index is the fuchsia page.
   The hero is one deep fuchsia card (fuchsia into its own deep, no glow) holding the heading in white and every price as a dot: auction sales white, asking prices the fuchsia
   line shade. assets/p-index.js reads the chart's colours from the --ri-* properties below. */
.ri-open{padding:clamp(20px,2.4vw,32px) 0 clamp(40px,5vw,64px)}

/* the lookup: on white, the asking bar in violet (what sellers ask), the picker right under it, so no empty half. Figures on white stay cobalt (accents never as text on white) */
.ri-look{background:#fff;padding-top:clamp(24px,3vw,40px)}
.ri-bar{background:var(--violet-m)}.ri-bar i{background:var(--violet)}
.ri-left .ri-tb{margin-top:32px;padding-top:0}
.ri-left{justify-content:center}
/* the robot, white on a deep cobalt card (worth is cobalt): the full dots are the value it keeps, the small ones what it has lost */
.ri-stage{background-color:var(--cobalt);background-image:none;padding:28px 24px 0}
.ri-open{padding-bottom:clamp(24px,3vw,40px)}

/* ================================================================ round 2 follow-up: the hero as a centred data stage (HERO-REFS.md, after Linear Insights). The site's one centred hero:
   on the fuchsia card the headline and the live index level (a big figure that counts up once, assets/p-index.js?v=31f831830b) sit centred, and every price is drawn large and dimmed
   across the card's foot, edge to edge, so the figure stands on its own data */
.ri-lvl{display:flex;flex-direction:column;align-items:center;gap:6px;margin:clamp(24px,3vw,36px) 0 0}
.page .ri-big{font:600 var(--t-title)/1 var(--serif);letter-spacing:-.03em;color:#fff;font-variant-numeric:lining-nums tabular-nums}
.ri-lvl span{font:500 var(--t-small)/1.3 var(--sans);color:rgba(255,255,255,.9)}
.ri-cta{justify-content:center;margin-top:clamp(24px,3vw,32px)}
/* on the fuchsia card the button is white with cobalt words, as on every coloured ground */
#ri-ocv{height:clamp(200px,20vw,300px)}
@media (max-width:640px){#ri-ocv{height:200px}}
/* the lookup's way on: the model's own page, under the picker */
.ri-go{margin-top:16px}

/* ================================================================ the hero, fixed by Praj (2026-11-29 11:19pm, ROUND-2-BRIEF.md): a centred data stage on a light ground, after Linear Insights.
   A soft cobalt tint ground (never navy, never dark); the one-line heading and its two-line subheader centred in ink; the live index level as a big cobalt figure that counts
   up once (assets/p-index.js); then every price drawn large in fuchsia across the stage, auction sales solid, asking prices the fuchsia line shade, below the words */
.ri-open{background:#EEF2FD;padding:clamp(48px,6vw,88px) 0 clamp(32px,4vw,56px)}
.ri-stage0{display:flex;flex-direction:column;align-items:center;text-align:center}
.ri-stage0 .ri-ohead{display:flex;flex-direction:column;align-items:center;max-width:100%}
.ri-stage0 h1{margin:0}
.ri-stage0 .ri-sub{max-width:40em;margin:16px auto 0;color:var(--ink2)}
.ri-lvl{display:flex;flex-direction:column;align-items:center;gap:6px;margin:clamp(28px,3.4vw,40px) 0 0}
.page .ri-big{font:600 var(--t-title)/1 var(--serif);letter-spacing:-.03em;color:var(--cobalt);font-variant-numeric:lining-nums tabular-nums}
.ri-lvl span{font:500 var(--t-small)/1.3 var(--sans);color:var(--ink2)}
.ri-cta{justify-content:center;margin-top:clamp(24px,3vw,32px)}
.ri-stage0 .ri-sky{align-self:stretch;margin-top:clamp(32px,4vw,56px);--ri-sale:#2847CE;--ri-ask:#F4F5F7;--ri-floor:#F4F5F7;--ri-lead:#0B1630}
.ri-stage0 .ri-ax{text-align:left}
.ri-stage0 .ri-lgd{justify-content:center}
.ri-stage0 .ri-lgd i{background:#F4F5F7}.ri-stage0 .ri-lgd .s i{background:#2847CE}
#ri-ocv{height:clamp(240px,24vw,340px)}
@media (max-width:640px){#ri-ocv{height:220px}}
/* sweep 2026-11-30 (alignment): the legend under the centred index sits centred too */
.ri-lgd{justify-content:center}
/* sweep 2026-11-30 (subwidth): the hero line under the heading is never wider than the heading */
@media (min-width:1061px){.page .ri-ohead .t-lead{max-width:525px!important}}
