/* Price & plan · Summary (Phase 7b · Liquid Glass). Flat glass cards on the scene (css/ux/close2.css: the kit, the scene, buttons). Loaded last.
   Colour only means something: the cost parts (--cost-1..6), the payment state (done green, now blue, next grey), principal vs interest (blue, orange), status dots (css/tokens.css).
   Motion: transform and opacity only. */

/* =====================================================================
   Price & plan. One page; it scrolls as a whole, no card is clipped.
   ===================================================================== */
.px { position: absolute; inset: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; display: flex; flex-direction: column; gap: 16px;
  padding: calc(var(--pad) + var(--safe-t) + 4.3rem) calc(var(--pad) + var(--safe-r)) calc(var(--pad) + 9.5rem + var(--safe-b)) var(--cx-left);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 3.4rem); mask-image: linear-gradient(180deg, transparent 0, #000 3.4rem); }
.px::-webkit-scrollbar { display: none; }
.px > * { flex: none; min-width: 0; }
.px-head { display: grid; gap: .35rem; }
.px-top { display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem 1.5rem; flex-wrap: wrap; }
.px-title { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .9rem; min-width: 0; }
.px-title h2 { font: 300 clamp(2rem, 3vw, 2.9rem)/1.06 var(--sans); letter-spacing: var(--ls-title); color: var(--lg-fg); text-wrap: balance; }
.px-chip { padding: .3rem .75rem; border-radius: var(--r-pill); background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px rgba(20, 22, 40, 0.074); color: var(--lg-fg); }
.px-meta { display: flex; flex-wrap: wrap; font: 500 max(1rem, 14px)/1.4 var(--sans); color: var(--lg-fg2); font-variant-numeric: tabular-nums; }
.px-meta span + span::before { content: "·"; margin: 0 .7rem; color: var(--lg-fg3); }
/* presenter-only: two quiet 36px buttons with a tiny caption */
.px-pres { position: relative; display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; }
.px-pres::before { content: "Presenter"; position: absolute; right: 0; top: -1.1rem; font: 600 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--lg-fg3); }
.px-btn { position: relative; display: inline-flex; align-items: center; gap: .45rem; height: 36px; padding: 0 .85rem; border-radius: var(--r-pill); white-space: nowrap; background: rgba(255, 255, 255, .7); color: var(--lg-fg); box-shadow: inset 0 0 0 1px rgba(20, 22, 40, 0.099);
  font: 600 max(.82rem, 13px)/1 var(--sans); transition: background-color var(--dur-quick) var(--ease-out), transform var(--dur-press) var(--ease-out); }
.px-btn::after { content: ""; position: absolute; inset: -6px; }
.px-btn:active { transform: scale(.96); }
.px-btn svg { width: 1.05rem; height: 1.05rem; }
.px-btn.on { background: rgba(255, 255, 255, .95); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
.px-rec { display: flex; align-items: center; gap: .8rem; margin: .2rem 0 0; font: 500 max(.85rem, 13px)/1.2 var(--sans); color: var(--lg-fg3); }
.px-rec .cx-link { min-height: 44px; }
/* the home switcher: plain text tabs, the selected one underlined */
.px-tabs { display: flex; flex-wrap: nowrap; gap: 1.5rem; margin-top: .5rem; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--lg-line); }
.px-tabs::-webkit-scrollbar { display: none; }
.px-tabs button { position: relative; flex: none; min-height: 44px; font: 600 max(.9rem, 14px)/1 var(--sans); color: var(--lg-fg2); white-space: nowrap; transition: color var(--dur-quick); }
.px-tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: #fff; opacity: 0; transition: opacity var(--dur-quick); }
.px-tabs button.on { color: var(--lg-fg); } .px-tabs button.on::after { opacity: 1; }
/* a sold or held home, and hidden prices */
.px-banner { display: flex; align-items: center; gap: .9rem; padding: .8rem 1rem; }
.px-banner > i { width: .7rem; height: .7rem; }
.px-banner > div { flex: 1; min-width: 0; display: grid; gap: .1rem; }
.px-banner b { font: 600 max(1rem, 15px)/1.2 var(--sans); } .px-banner span { font: 500 max(.86rem, 13px)/1.35 var(--sans); color: var(--lg-fg2); }
.px-banner.st-hold { background-color: rgba(223, 176, 106, .14); }
.px-hidden { display: flex; align-items: center; gap: .6rem; padding: 0 .9rem; min-height: 44px; border-radius: var(--r-pill); background: var(--lg-field); box-shadow: inset 0 0 0 1px rgba(20, 22, 40, 0.056); font: 500 max(.9rem, 14px)/1.2 var(--sans); color: var(--lg-fg2); }
.px-hidden svg { width: 1.1rem; height: 1.1rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.px-hidden .cx-link { margin-left: auto; }

/* three equal flat cards on a 12-column grid */
.px-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.px-grid > .px-card { grid-column: span 4; }
.px-card { display: flex; flex-direction: column; gap: .75rem; min-width: 0; padding: 1.2rem 1.25rem 1.3rem; }
.px-card > .k { margin: 0; color: var(--lg-fg3); display: flex; align-items: center; gap: .5rem; }
.px-card .note, .px-card .note b { font: 500 max(.78rem, 12px)/1.45 var(--sans); color: var(--lg-fg3); }
.px-card .note b { color: var(--lg-fg2); font-weight: 600; }
.px-card .note { margin-top: auto; padding-top: .3rem; }
.px-total { display: grid; gap: .1rem; }
.px-total > span { font: 500 max(.85rem, 13px)/1.2 var(--sans); color: var(--lg-fg2); }
.px-tot { font: 300 clamp(2.2rem, 3vw, 3rem)/1.05 var(--num); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; color: var(--lg-fg); }
.px-tot .cl-was { display: inline-block; position: relative; margin-right: .6rem; font-size: 1rem; text-decoration: none; }
/* the strike is a line of its own (not text-decoration), so an offer can draw it: js/sales.js price.morph adds .draw when the struck total first appears */
.px-tot .cl-was::after { content: ""; position: absolute; left: -.08em; right: -.08em; top: 55%; height: 1.5px; border-radius: 1px; background: currentColor; transform-origin: 0 50%; }
.px-tot .cl-was.draw { animation: cl-was .256s var(--ease-out) both; } .px-tot .cl-was.draw::after { animation: cl-strike .256s var(--ease-out) .12s both; }
@keyframes cl-strike { from { transform: scaleX(0); } } @keyframes cl-was { from { opacity: 0; transform: translateY(.35em); } }
/* what the offers take off the total, under it (js/plus/close.js decoratePrice); its own clipped line, so it can slide up into it when an offer is applied (sparkle) */
.cl-save { height: 1.6rem; margin: .2rem 0 .1rem; overflow: hidden; }
.cl-save span { display: inline-flex; align-items: center; gap: .3rem; height: 1.6rem; padding: 0 .7rem; border-radius: var(--r-pill); background: rgba(124, 203, 140, .2); color: var(--ok-ink, #1f6b3a); font: 600 max(.78rem, 12px)/1 var(--sans); }
.cl-save b { font-weight: 600; font-variant-numeric: tabular-nums; }
.cl-sparks { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.cl-sparks i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle, #fff7e0 0 26%, #f1b545 58%, rgba(241, 181, 69, 0) 100%); opacity: 0; }
.px-bar { display: flex; gap: 2px; height: .55rem; border-radius: 3px; overflow: hidden; }
.px-bar i { display: block; min-width: 4px; transform-origin: 0 50%; }   /* it fills on the first reveal and slides to new shares on a re-render (js/sales.js price.intro / morph): a CSS grow replayed on every toggle */
.px-rows { list-style: none; display: grid; }
.px-rows li { display: grid; grid-template-columns: .55rem minmax(0, 1fr) auto; align-items: baseline; gap: .7rem; padding: .6rem 0; border-top: 1px solid var(--lg-line); }
.px-rows li:first-child { border-top: 0; }
.px-rows li > i { width: .55rem; height: .55rem; border-radius: 50%; align-self: center; background: var(--c); }
.px-rows span { font: 600 max(.92rem, 14px)/1.25 var(--sans); }
.px-rows small { display: block; margin-top: .1rem; font: 500 max(.76rem, 12px)/1.3 var(--sans); color: var(--lg-fg3); }
.px-rows b { font: 600 max(.95rem, 14px)/1.2 var(--sans); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.px-foot { display: flex; flex-wrap: wrap; gap: .5rem; }

/* payment plan: a vertical timeline with state colours */
.px-plan-h { display: grid; gap: .7rem; }
.px-plans { display: flex; width: 100%; }
.px-plans > button { flex: 1 1 auto; padding: 0 .5rem; font-size: max(.8rem, 12.5px); white-space: normal; text-align: center; line-height: 1.15; }
.px-tl { list-style: none; display: grid; margin-top: .2rem; }
.px-tl li { position: relative; display: grid; grid-template-columns: 1.4rem minmax(0, 1fr) auto; gap: .8rem; padding: .62rem 0; }
.px-tl li:not(:last-child)::after { content: ""; position: absolute; left: calc(.7rem - 1px); top: 1.6rem; bottom: -.6rem; width: 2px; border-radius: 1px; background: rgba(20, 22, 40, 0.099); }
.px-tl li.done:not(:last-child)::after { background: color-mix(in srgb, var(--done) 60%, transparent); }
.px-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 1.05rem; height: 1.05rem; margin: .2rem auto 0; border-radius: 50%; border: 2px solid rgba(20, 22, 40, 0.211); background: transparent; }
.px-dot svg { width: .7rem; height: .7rem; fill: none; stroke: #0f2a18; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.px-tl li.done .px-dot { background: var(--done); border-color: var(--done); }
.px-tl li.cur .px-dot { background: var(--now); border-color: var(--now); box-shadow: 0 0 0 4px rgba(110, 168, 242, .28), 0 0 14px rgba(110, 168, 242, .55); }
.px-ms b { display: flex; align-items: center; flex-wrap: wrap; gap: .2rem .5rem; font: 600 max(.95rem, 14.5px)/1.25 var(--sans); }
.px-tl li:not(.done):not(.cur) .px-ms b { color: var(--lg-fg2); }
.px-now { padding: .12rem .5rem; border-radius: var(--r-pill); background: rgba(110, 168, 242, .22); color: #1f5fb8; font: 600 max(.66rem, 11px)/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; }   /* (18 October, V-08) at least 11px (it was 8.6px) */
.px-ms small { display: block; font: 500 max(.78rem, 12px)/1.3 var(--sans); color: var(--lg-fg3); }
.px-ms em { display: block; margin-top: .15rem; font: 500 max(.78rem, 12px)/1.35 var(--sans); font-style: normal; color: var(--lg-fg2); }
.px-next { display: block; margin-top: .3rem; font: 600 max(.76rem, 12px)/1.3 var(--sans); color: #1f5fb8; }   /* the next stage and when, from the plan's own dates (js/sales.js planHtml) */
.px-pay { text-align: right; min-width: 4.6rem; }
.px-pay b { display: block; font: 400 1.3rem/1.1 var(--num); font-variant-numeric: tabular-nums lining-nums; }
.px-pay small { display: block; font: 500 max(.76rem, 12px)/1.3 var(--sans); color: var(--lg-fg3); font-variant-numeric: tabular-nums; }
.px-tl li.none .px-pay small { color: var(--lg-fg2); }
.px-plan .cx-link { align-self: flex-start; }

/* home loan EMI */
.px-emi-v { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .6rem; }
.emi-n { font: 300 clamp(2.4rem, 3.4vw, 3.3rem)/1.05 var(--num); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.px-emi-v small { font: 500 max(.85rem, 13px)/1 var(--sans); color: var(--lg-fg3); }
.rl-ch { display: inline-block; white-space: pre; }   /* pre: the space in "₹2.45 Cr" keeps its width while the digits roll (an inline-block of one space collapses to nothing) */
.rl-ch.rl-mv { overflow: hidden; height: 1.12em; vertical-align: top; }
.rl-ch u { display: block; text-decoration: none; }
.rl-ch s { display: block; height: 1.12em; line-height: 1.12; text-decoration: none; }
.px-don { display: flex; align-items: center; gap: 1.1rem; margin: .2rem 0 .1rem; }
.px-donut { flex: none; width: 5.4rem; height: 5.4rem; }
.px-donut circle { fill: none; stroke-width: 5.2; }
.dn-t { stroke: rgba(20, 22, 40, 0.074); }
.dn-p { stroke: var(--now); stroke-dashoffset: 25; } .dn-i { stroke: var(--interest); }
.dn-p, .dn-i { transition: stroke-dasharray .336s var(--ease-out), stroke-dashoffset .336s var(--ease-out); }   /* the donut follows the sliders (paint on a tiny SVG: the budget's named exception) */
.px-leg { list-style: none; display: grid; gap: .5rem; flex: 1; min-width: 0; }
.px-leg li { display: grid; grid-template-columns: .55rem 1fr auto; align-items: center; gap: .6rem; font: 500 max(.88rem, 13.5px)/1.2 var(--sans); color: var(--lg-fg2); }
.px-leg i { width: .55rem; height: .55rem; border-radius: 50%; } .px-leg .lp i { background: var(--now); } .px-leg .li i { background: var(--interest); }
.px-leg b { font-weight: 600; color: var(--lg-fg); font-variant-numeric: tabular-nums; }
.px-emi-sum { display: grid; gap: 0; margin-top: .4rem; }
.px-emi-sum div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .6rem 0; border-top: 1px solid var(--lg-line); }
.px-emi-sum dt { font: 500 max(.88rem, 13px)/1.2 var(--sans); color: var(--lg-fg2); }
.px-emi-sum dd { font: 600 max(.95rem, 14px)/1.2 var(--sans); font-variant-numeric: tabular-nums; white-space: nowrap; }
.px-sl { display: grid; gap: 0; }
/* (B2) the EMI card is always the right-hand card, and the orb (fixed, bottom right, 5.6rem + its ring) sat on the sliders' ends and their values: the three sliders stop short of it */
:root body #lv-price .px-emi .px-sl, :root body #lv-price .px-emi .px-don { margin-right: calc(var(--orb-zone, 6rem) * 1.12); }   /* (23 October) the donut's legend too: its 48% / 52% end where the sliders' 25% / 20 years do */
.px-sl label { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; font: 500 max(.84rem, 13px)/1.2 var(--sans); color: var(--lg-fg2); }
.px-sl label b { color: var(--lg-fg); font-weight: 600; font-variant-numeric: tabular-nums; transition: opacity var(--dur-press); }
.px-sl.px-held:not(.z-) label b { opacity: 0; }   /* R13 perf (1 November): was .px-sl:has(.px-rng.drag); a :has() ancestor made every style/class write anywhere restyle all spans/bs. js/sales.js sets .px-held with .drag */
/* a custom range: a blue track filled up to the thumb, a white thumb, a value bubble while it is held */
.px-rng { --thumb: 1.5rem; --track: .36rem; position: relative; }
.px-rng input[type="range"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer; touch-action: pan-y; }
.px-rng input[type="range"]::-webkit-slider-runnable-track { height: var(--track); border-radius: 99px;
  background: linear-gradient(90deg, var(--now) 0, var(--now) calc(var(--thumb) / 2 + var(--p, 0) * (100% - var(--thumb))), rgba(20, 22, 40, 0.112) calc(var(--thumb) / 2 + var(--p, 0) * (100% - var(--thumb)))); }
.px-rng input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: var(--thumb); height: var(--thumb); margin-top: calc((var(--track) - var(--thumb)) / 2); border-radius: 50%;
  background: #fff; border: 0; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12), 0 2px 6px rgba(0, 0, 0, .35); transition: transform var(--dur-quick) var(--ease-out); }
.px-rng.drag input[type="range"]::-webkit-slider-thumb { transform: scale(1.15); }
.px-rng input[type="range"]::-moz-range-track { height: var(--track); border-radius: 99px; background: rgba(20, 22, 40, 0.112); }
.px-rng input[type="range"]::-moz-range-progress { height: var(--track); border-radius: 99px; background: var(--now); }
.px-rng input[type="range"]::-moz-range-thumb { width: var(--thumb); height: var(--thumb); border-radius: 50%; background: #fff; border: 0; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); }
.px-rng input[type="range"]:focus-visible { outline: none; }
.px-rng input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(20, 22, 40, 0.248); }
.px-bub { position: absolute; bottom: calc(50% + var(--thumb) / 2 + .1rem); left: calc(var(--thumb) / 2 + var(--p, 0) * (100% - var(--thumb))); translate: -50% 6px; opacity: 0; pointer-events: none; white-space: nowrap;
  padding: .3rem .65rem; border-radius: var(--r-pill); background: rgba(16, 14, 26, .94); color: #fff; box-shadow: inset 0 0 0 1px rgba(20, 22, 40, 0.136); font: 600 max(.82rem, 12.5px)/1 var(--sans); font-variant-numeric: tabular-nums; transition: opacity var(--dur-press) var(--ease-out), translate var(--dur-quick) var(--ease-out); }
.px-rng.drag .px-bub { opacity: 1; translate: -50% 0; }

/* extras: offers, eligibility, investor, NRI. Same flat tiles; a small colour dot says which kind */
.px-extra { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: 16px; align-items: stretch; }
.px-extra:empty { display: none; }
.px-extra .px-card { gap: .5rem; }
.px-extra .px-card > .k::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--lg-fg3); }
.px-extra .cl-offers > .k::before { background: var(--cost-4); } .px-extra .cl-elig > .k::before { background: var(--cost-1); } .px-extra .inv > .k::before { background: var(--cost-3); } .px-extra .fx > .k::before { background: var(--cost-2); }
.px-extra .inv-r { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-top: 1px solid var(--lg-line); font: 500 max(.9rem, 14px)/1.3 var(--sans); color: var(--lg-fg2); }
.px-extra .inv-r b { font-weight: 600; color: var(--lg-fg); font-variant-numeric: tabular-nums; white-space: nowrap; }
.px-extra .chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.fx-v { font: 300 1.9rem/1.1 var(--num); font-variant-numeric: tabular-nums; } .fx-v small { display: block; margin-top: .3rem; font: 500 max(12px, .8rem)/1.3 var(--sans); color: var(--lg-fg3); }
.px-extra .px-sl { margin-top: .2rem; }

@media (max-width: 1100px), (orientation: portrait) { .px-grid > .px-card { grid-column: span 6; } .px-grid > .px-plan { grid-column: 1 / -1; grid-row: 2; } }
@media (max-width: 760px) { .px-grid > .px-card { grid-column: 1 / -1; } .px-grid > .px-plan { grid-row: auto; } }
@media (prefers-reduced-motion: reduce) { .px-bub, .px-btn, .px-tabs button::after, .dn-p, .dn-i { transition: none; } .px-tot .cl-was.draw, .px-tot .cl-was.draw::after { animation: none; } }

/* the cost-sheet extras (plus/close.js): a quiet inset for the true cost of ownership */
.cl-tco { display: grid; gap: .5rem; margin-top: .3rem; padding: .85rem 1rem; border-radius: 12px; background: rgba(20, 22, 40, 0.037); box-shadow: inset 0 0 0 1px rgba(20, 22, 40, 0.05); }
.cl-tco-h { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.cl-tco-h > span { font: 600 max(.9rem, 14px)/1.25 var(--sans); } .cl-tco-h > span small { display: block; margin-top: .15rem; font: 500 max(.74rem, 11.5px)/1.3 var(--sans); color: var(--lg-fg3); }
.cl-tco-h b { font: 300 1.7rem/1.1 var(--num); font-variant-numeric: tabular-nums; }
.cl-row { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.cl-list { list-style: none; } .cl-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-top: 1px solid var(--lg-line); }
.cl-list span { font: 600 max(.88rem, 13.5px)/1.3 var(--sans); } .cl-list small { display: block; color: var(--lg-fg3); font: 500 max(.74rem, 11.5px)/1.3 var(--sans); } .cl-list b { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; } .cl-neg b { color: var(--done); }
.cl-offers { display: grid; gap: .3rem; }
.cl-offer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .6rem 0; border-top: 1px solid var(--lg-line); } .cl-offer.off { opacity: .55; }
.cl-offer b { display: block; font: 600 1rem/1.25 var(--sans); } .cl-offer small { display: block; font: 500 max(12px, .8rem)/1.35 var(--sans); color: var(--lg-fg2); }
.cl-offer em { font: 600 max(12px, .9rem)/1.2 var(--sans); font-style: normal; white-space: nowrap; color: var(--lg-fg); text-align: right; font-variant-numeric: tabular-nums; }
.cl-ind { margin-left: .2rem; padding: .12rem .45rem; border-radius: var(--r-pill); background: var(--lg-field); font: 600 max(.6rem, 11px)/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--lg-fg3); }   /* (19 October, Phase 6) never under 11px: it was 7.8px on a Galaxy Tab A8 */
.cl-big { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; padding-top: .6rem; border-top: 1px solid var(--lg-line); } .cl-big span { font: 500 max(.86rem, 13px)/1.2 var(--sans); color: var(--lg-fg2); }
.cl-big b { font: 300 1.8rem/1.1 var(--num); font-variant-numeric: tabular-nums; } .cl-big.sm b { font-size: 1.4rem; }
.cl-cover { font: 600 max(.84rem, 13px)/1.35 var(--sans); } .cl-cover.ok { color: var(--done); } .cl-cover.no { color: #f3a08f; }
.cl-two { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: .4rem 0; } .cl-two > div { padding: .65rem .8rem; border-radius: 12px; background-color: var(--lg-field); background-image: none; box-shadow: none; }
.cl-two span { display: block; font: 600 max(.86rem, 13px)/1.3 var(--sans); } .cl-two small { display: block; color: var(--lg-fg3); font-weight: 500; font-size: max(.78rem, 12px); }   /* (23 October) 13 / 12px, the page's row sizes (were 11) */   /* (19 October, Phase 6) 11px floor: 10.1 and 8.45px before */ .cl-two b { font: 600 max(1.1rem, 15px)/1.3 var(--sans); }
.cl-more { margin-top: .5rem; } .cl-rows { margin-top: .4rem; } .cl-rows .k { margin: .7rem 0 .1rem; }
.cl-pt { padding: .5rem 0; border-top: 1px solid var(--lg-line); } .cl-pt b { display: block; font: 600 max(12px, .86rem)/1.3 var(--sans); } .cl-pt span { display: block; font: 500 max(12px, .82rem)/1.4 var(--sans); color: var(--lg-fg2); }
/* (23 October) the eligibility sliders take .px-sl's own label (label left, value right, 13px), as the EMI's do: here they were stacked at 11px */

/* =====================================================================
   Summary. TV first: a soft hero with the guest's name, their homes, numbered next steps; actions bottom-right.
   ===================================================================== */
.sm-root { position: absolute; inset: 0; }
.sm-root::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--pad) + 5.6rem + var(--safe-b)); pointer-events: none; z-index: 4; background: linear-gradient(180deg, rgba(247, 244, 238, 0), #f7f4ee 70%); }
.sm-scroll { position: absolute; inset: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; display: flex; flex-direction: column; gap: 20px;
  padding: calc(var(--pad) + var(--safe-t) + 3.8rem) calc(var(--pad) + var(--safe-r)) calc(var(--pad) + 7.8rem + var(--safe-b)) var(--cx-left); }   /* (18 October, V-04) 7.8rem (was 7): scrolled to the end, the last card clears the orb by 1.2rem, as the Tower's --orb-clear (it was .4rem) */
.sm-scroll::-webkit-scrollbar { display: none; }
.sm-scroll > * { flex: none; min-width: 0; }
.sm-hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(13rem, 25vh, 20rem); border-radius: var(--cx-r); overflow: hidden; color: #fff; isolation: isolate; background-color: #1c1c22; background-image: none; }
.sm-hero::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 2;
  background: linear-gradient(135deg, rgba(255, 255, 255, .6), rgba(255, 255, 255, .12) 32%, rgba(255, 255, 255, .08) 70%, rgba(255, 255, 255, .16));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.sm-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; z-index: -2; opacity: 0; visibility: hidden; }
.sm-veil { position: absolute; inset: 0; z-index: -1; background: none; }
.sm-hero-in { width: 100%; padding: 1.4rem 1.9rem 1.7rem; }
.sm-logo { position: absolute; top: 1.2rem; right: 1.5rem; width: clamp(6.5rem, 9vw, 9rem); aspect-ratio: 150 / 80; background: #fff; opacity: .94;
  -webkit-mask: url("../../assets/brand/Century_Mirai_logo.svg") center / contain no-repeat; mask: url("../../assets/brand/Century_Mirai_logo.svg") center / contain no-repeat; }
.sm-name .k { color: rgba(255, 255, 255, .94); margin: 0 0 .5rem; }
.sm-name h2 { font: 300 clamp(3rem, 5.2vw, 5rem)/1 var(--sans); letter-spacing: -.03em; color: #fff; text-shadow: var(--lg-halo); overflow-wrap: anywhere; }
.sm-prof { margin-top: .7rem; font: 500 max(1rem, 14px)/1.3 var(--sans); color: rgba(255, 255, 255, .88); }

.sm-body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px 24px; align-items: start; }
.sm-homes > .k { margin: 0 0 .7rem; color: var(--lg-fg3); }
.sm-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 16px; }
.sm-home { display: flex; flex-direction: column; min-width: 0; padding: .5rem .5rem 0; }
.sm-pl { height: 8.6rem; }
.sm-pl img { position: absolute; inset: .6rem; width: calc(100% - 1.2rem); height: calc(100% - 1.2rem); max-width: none; object-fit: contain; mix-blend-mode: multiply; }
.sm-tx { display: grid; gap: .2rem; padding: .85rem .65rem .2rem; min-width: 0; }
.sm-tx small { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .5rem; font: 600 max(.66rem, 11px)/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--lg-fg3); }
.sm-tx b { font: 600 max(1.1rem, 17px)/1.2 var(--sans); letter-spacing: -.01em; }
.sm-tx p { font: 500 max(.84rem, 13px)/1.4 var(--sans); color: var(--lg-fg2); }
.sm-price { margin-top: .2rem; font: 300 1.5rem/1.1 var(--num); font-variant-numeric: tabular-nums; }
.sm-price small { display: inline; font: 500 max(12px, .76rem)/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--lg-fg3); }
.sm-holdbox { display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; margin-top: auto; padding: .3rem .65rem .7rem; }
.sm-hold { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: 0; font: 600 max(.86rem, 13px)/1 var(--sans); color: var(--lg-fg); text-decoration: underline; text-decoration-color: rgba(20, 22, 40, 0.248); text-underline-offset: .25em; }
.sm-hold svg { width: 1.05rem; height: 1.05rem; stroke-width: 2.1; }
.sm-hold.on { min-height: 0; padding: .3rem .8rem .3rem .65rem; margin: .5rem 0; border-radius: var(--r-pill); background: rgba(124, 203, 140, .16); color: #b3e8bf; text-decoration: none; cursor: default; box-shadow: inset 0 0 0 1px rgba(124, 203, 140, .35); }
.sm-hold.cl-off, .sm-hold:disabled { opacity: .5; text-decoration: none; }
.sm-holdbox .cl-sync { display: inline-flex; align-items: center; gap: .4rem; font: 500 max(.74rem, 11.5px)/1.2 var(--sans); color: var(--lg-fg3); }
.sm-holdbox .cl-sync::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--hold); }
.sm-holdbox .cl-sync.sent::before { background: var(--ok); }
.sm-none { display: grid; justify-items: start; gap: 1rem; padding: 1.3rem 1.4rem; }
.sm-side { display: grid; gap: 16px; min-width: 0; }
.sm-commute { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; }
.sm-ic { display: grid; place-items: center; flex: none; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--lg-field-hi); color: var(--lg-fg); box-shadow: inset 0 0 0 1px rgba(20, 22, 40, 0.087); }
.sm-ic svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sm-commute .k { margin: 0 0 .2rem; color: var(--lg-fg3); }
.sm-commute b { display: block; font: 600 max(1.15rem, 17px)/1.2 var(--sans); }
.sm-commute small { display: block; margin-top: .2rem; font: 500 max(.88rem, 13.5px)/1.3 var(--sans); color: var(--lg-fg2); }
.sm-near { display: grid; gap: 0; padding: 0 .2rem; }
.sm-near .k { margin: 0 0 .2rem; color: var(--lg-fg3); }
.sm-near div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-top: 1px solid var(--lg-line); font: 600 max(.9rem, 13.5px)/1.3 var(--sans); }
.sm-near small { color: var(--lg-fg3); font-weight: 500; white-space: nowrap; }
.sm-steps { padding: 0 .2rem; }
.sm-steps .k { margin: 0 0 .7rem; color: var(--lg-fg3); }
.sm-steps ol { list-style: none; display: grid; gap: .8rem; }
.sm-steps li { position: relative; display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .85rem; align-items: start; }
.sm-steps li:not(:last-child)::before { content: ""; position: absolute; left: calc(1rem - 1px); top: 2.15rem; bottom: -.95rem; width: 2px; background: rgba(20, 22, 40, 0.099); }
.sm-steps li span { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--lg-field-hi); box-shadow: inset 0 0 0 1px rgba(20, 22, 40, 0.099); font: 600 max(12px, .9rem)/1 var(--sans); color: var(--lg-fg); }
.sm-steps li p { padding-top: .3rem; font: 500 max(.95rem, 14px)/1.4 var(--sans); color: var(--lg-fg2); }
.sm-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 16px; margin-top: 1rem; }
.sm-info > div { display: grid; gap: .15rem; align-content: start; padding: .9rem 1.1rem 1rem; }
.sm-info .k { margin: 0 0 .2rem; display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .5rem; color: var(--lg-fg3); }
.sm-info b { font: 600 max(1.1rem, 17px)/1.2 var(--sans); }
.sm-info small { font: 500 max(.86rem, 13px)/1.35 var(--sans); color: var(--lg-fg2); }
.sm-acts { position: absolute; z-index: 6; right: calc(var(--pad) + var(--safe-r) + 8.6rem); bottom: calc(var(--pad) + var(--safe-b)); display: flex; align-items: center; gap: .6rem; }
.sm-acts .cx-btn { min-height: 48px; }
/* the name on the hero: each word in its own mask, so it can rise word by word (js/ux/close.js enterSummary); the words still wrap between them */
.sm-name h2 .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .05em .12em; margin: 0 -.05em -.12em; }
.sm-name h2 .w > span { display: inline-block; }
/* the visit recap under the hero (js/sales.js recapHtml): the time on the left, the levels in showroom order on a line, a bar under each for the time spent there, skipped levels hollow */
.sm-recap { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 1rem 2.2rem; padding: 1rem 1.4rem .9rem; border-radius: var(--cx-r); background: #fff; box-shadow: inset 0 0 0 1px rgba(22, 22, 27, .12); }
.sm-rc-h .k { margin: 0 0 .35rem; color: var(--lg-fg3); }
.sm-rc-tot { display: flex; align-items: baseline; gap: .35rem; white-space: nowrap; }
.sm-rc-tot b { font: 300 clamp(2.2rem, 3.2vw, 2.9rem)/1 var(--num); font-variant-numeric: tabular-nums lining-nums; letter-spacing: -.02em; }
.sm-rc-tot small { font: 600 max(.86rem, 13px)/1 var(--sans); color: var(--lg-fg2); }
.sm-rc-path { position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
.sm-rc-line { position: absolute; left: calc(50% / var(--n)); right: calc(50% / var(--n)); top: 5px; height: 2px; border-radius: 1px; background: rgba(28, 28, 34, .62); transform-origin: 0 50%; }
.sm-rc-nd { position: relative; display: grid; justify-items: center; gap: .3rem; min-width: 0; }
.sm-rc-nd > i { width: 12px; height: 12px; border-radius: 50%; background: #1c1c22; box-shadow: 0 0 0 3px #fff; }
.sm-rc-nd.skip > i { background: #fff; box-shadow: inset 0 0 0 2px rgba(28, 28, 34, .32), 0 0 0 3px #fff; }
.sm-rc-nd span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 max(.7rem, 11px)/1.15 var(--sans); color: var(--lg-fg2); }
.sm-rc-col { display: flex; align-items: flex-end; justify-content: center; width: 100%; height: 3.2rem; }
.sm-rc-col b { width: min(16px, 42%); height: calc(var(--h) * 100%); min-height: 3px; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, #6ea8f2, #3c6fb8); transform-origin: 50% 100%; }
.sm-rc-nd.skip .sm-rc-col::after { content: ""; width: 10px; height: 2px; border-radius: 1px; background: rgba(28, 28, 34, .16); }
.sm-rc-nd em { font: 600 max(.72rem, 11px)/1 var(--sans); font-style: normal; font-variant-numeric: tabular-nums; color: var(--lg-fg); }
.sm-rc-nd.skip span, .sm-rc-nd.skip em { color: rgba(28, 28, 34, .45); }
@media (max-width: 760px) { .sm-recap { grid-template-columns: minmax(0, 1fr); } }
/* the QR code in the side column (js/sales.js summary.qr): scanned from the sofa, it opens WhatsApp with this summary */
.sm-qr { display: flex; align-items: center; gap: 1.1rem; max-width: 34rem; padding: .9rem 1.2rem .9rem .9rem; border-radius: var(--cx-r); background: #fff; box-shadow: inset 0 0 0 1px rgba(22, 22, 27, .12); }
.sm-qrc { flex: none; width: 10rem; height: 10rem; image-rendering: pixelated; }   /* js/sales.js qr() sets the exact size: whole device pixels per module */
.sm-qr .k { margin: 0 0 .3rem; color: var(--lg-fg3); }
.sm-qr b { display: block; font: 600 max(1.1rem, 16px)/1.2 var(--sans); }
.sm-qr small { display: block; margin-top: .3rem; font: 500 max(.84rem, 13px)/1.35 var(--sans); color: var(--lg-fg2); }

/* the brochure: a progress ring while it is designed, then the pages and the way to send them */
.sm-bro { position: absolute; inset: -2rem; z-index: 8; display: none; place-items: center; padding: calc(var(--pad) + 2rem); background: rgba(8, 7, 14, .62); }
.sm-bro.on { display: grid; }
.bro-card { display: grid; justify-items: center; gap: .6rem; width: min(52rem, 100%); max-height: 100%; overflow: auto; scrollbar-width: none; padding: 2rem 2rem 1.8rem; text-align: center; background-color: #fff; background-image: none; }
.bro-card::before { position: fixed; display: none; }
.bro-card .k { margin: 0; color: var(--lg-fg3); }
.bro-card h3 { font: 300 clamp(1.7rem, 2.4vw, 2.2rem)/1.1 var(--sans); }
.bro-ring { position: relative; width: 8rem; height: 8rem; margin-bottom: .4rem; }
.bro-ring svg { width: 100%; height: 100%; rotate: -90deg; }
.bro-ring circle { fill: none; stroke-width: 4; }
.bro-ring .rg-t { stroke: rgba(20, 22, 40, 0.087); }
.bro-ring .rg-f { stroke: #fff; stroke-linecap: round; transition: stroke-dashoffset .32s var(--ease-out); }
.bro-ring b { position: absolute; inset: 0; display: grid; place-items: center; font: 300 2rem/1 var(--num); font-variant-numeric: tabular-nums; }
.bro-x { position: absolute; top: .6rem; right: .6rem; width: 44px; justify-content: center; }
.bro-pages { display: flex; gap: .7rem; width: 100%; overflow-x: auto; overscroll-behavior-x: contain; padding: .4rem .2rem .6rem; scrollbar-width: thin; }
.bro-pages img { flex: 0 0 auto; width: 12rem; height: auto; aspect-ratio: 1754 / 1240; object-fit: cover; border-radius: 6px; box-shadow: 0 0 0 1px rgba(20, 22, 40, 0.124); }
.bro-acts { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .7rem; margin-top: .4rem; }
.bro-acts .sub { color: var(--lg-fg3); }
@media (max-width: 1100px), (orientation: portrait) { .sm-body { grid-template-columns: minmax(0, 1fr); } }
@media (orientation: portrait) { .sm-acts { right: calc(var(--pad) + var(--safe-r) + 7rem); } .sm-acts .cx-btn span { white-space: nowrap; } }
@media (prefers-reduced-motion: reduce) { .bro-ring .rg-f { transition: none; } }

/* ---------- (23 October) the shortlist (js/app.js openShortlist, the heart in the tally): the Summary's home cards in the sheet ---------- */
#sheet.sl .sh-panel { padding: 2rem 2.2rem 2.2rem; }
#sheet.sl .sl-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin: 0 0 1.2rem; padding-right: 3.6rem; }
#sheet.sl .sl-head .k { margin: 0; color: var(--lg-fg3); }
#sheet.sl .sl-head h2 { margin: .2rem 0 0; font: 400 max(1.9rem, 26px)/1.1 var(--sans); letter-spacing: -.02em; }
#sheet.sl .sl-home { padding-bottom: .65rem; }
#sheet.sl .sl-open { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
#sheet.sl .sl-acts { display: flex; gap: .5rem; padding: .75rem .65rem 0; }
#sheet.sl .sl-acts .cx-btn { flex: 1; justify-content: center; }
#sheet.sl .sl-acts [data-slrm] svg { fill: currentColor; }
#sheet.sl .sm-cards { grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }   /* one home stays one column wide (the Summary's auto-fit stretched a lone card across the sheet) */
