/* (FINAL-FIX2 perf) 2 selector lists in this file whose last compound was a bare :is(...) are written out one selector per alternative, so Blink buckets each by its own class / id / tag instead of testing every element on every style recalc. Each alternative is padded with :not(#zz-) / :not(.zz-) / :not(zz-) so its specificity is what the :is() gave (the most specific alternative); one that cannot be padded down is a class / type more specific only where no rule anywhere could tell the difference (checked against every stylesheet and the DOM), otherwise it stays in a :is() with a never-matching alternative of the full specificity. Same elements, same cascade. */
/* Pages after the maps (audit 03): spacing, hierarchy and hit areas. Loaded last. */

/* P-10: the floor stepper: the current floor is the strong one, its neighbours are quiet */
:root body #lv-home .fl-step button b { font-weight: 500; color: var(--lg-fg3); }
:root body #lv-home .fl-step .fs-cur { font-weight: 600; color: #16161b; }
/* P-11: the breadcrumb starts a full gap to the right of the Back pill */
:root body #lv-home .fl-head { padding-left: 1.6rem; }
/* P-17: the chip dock reads at 12px and ends without a hard clip */
:root body #lv-home .fp-legend .lg-st { font-size: max(.75rem, 12px); }
/* P-18: every round icon button has a 44px target */
:root body #lv-home .ico-btn { min-width: 44px; min-height: 44px; }
/* P-25: the hold button's second line is readable */
:root body #lv-home .hh-t small { font-size: max(.8rem, 12.5px); }
/* P-19: the action row keeps "Price & plan" on one line */
:root body #lv-home .hm-primary { white-space: nowrap; }
/* P-15: balanced wrapping on subtitles, no orphans */
.pl-f:not(#zz-), .hm-sub:not(#zz-), #lv-site .sub, .info p:not(#zz-) { text-wrap: pretty; }
/* P-06 / P-23: pages that scroll leave room under the orb (and the page does not run to the bottom edge) */
html:root .sm:not(#zz-), html:root :is(.pr, #lv-price > *, #lv-summary > *) { scroll-padding-bottom: 9rem; }   /* was body:is([data-level=price], [data-level=summary]): same specificity, and a page change no longer restyles every element (css/ux/welcome.css) */
:root body #lv-price .pr, :root body #lv-summary .sm { padding-bottom: calc(var(--pad) + 10rem + var(--safe-b)); }
:root body #lv-home .u-spec.hm2 { padding-right: .2rem; }
/* P-21: a toast sits at the bottom centre, above the tray; it never lands on the presenter bar and the guest chip never moves for it */
body:is([data-level="summary"], [data-level="price"], [data-level="choose"]) #toast, #toast.top { top: auto; bottom: calc(var(--pad) + 5.2rem + var(--safe-b)); left: 50%; right: auto; translate: -50% 0; max-width: min(36rem, calc(100vw - 2rem)); }

/* P-08: Walk: the card aligns to the plan's top and its button never truncates.
   (21 October) The stop card owns its lane again (its 18rem and a gap): overlapping the plan's left margin, it covered the drawing wherever the plan fills its box
   (98px of it at the OnePlus Pad Go's 1070px, 124px at 1366px) */
@media (orientation: landscape) and (min-width: 901px) {
  #lv-walk { --wk-lane: 19.4rem; }
  #lv-walk .wk-plan { top: calc(var(--pad) + var(--safe-t) + 3.4rem); bottom: calc(var(--pad) + var(--safe-b) + 1rem); }
  #lv-walk .wk-dock { width: 18rem; top: calc(var(--pad) + var(--safe-t) + 3.4rem); bottom: calc(var(--pad) + var(--safe-b) + 1rem); z-index: 7; }   /* same box as the plan, so the card and the drawing share one vertical centre */
  #lv-walk .wk-card { max-height: calc(100% - 1rem); }
  #lv-walk .wx-when { top: calc(var(--pad) + var(--safe-t) + .55rem); left: 50%; right: auto; translate: -50% 0; margin: 0; }   /* the plan control sits at the top centre, between Back and the shortlist buttons */
}
#lv-walk .wk-gl b { white-space: normal; line-height: 1.12; }
/* P-07: the home grid ends in a soft fade above the tray, not a hard cut through a card */
.cx-grid { -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 2.2rem), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 2.2rem), transparent); padding-bottom: 2.4rem; }

/* P-09: leaving the isometric view eases back flat instead of cutting */
#lv-home .fp .fp-z > svg:not(.iso-lay) { transition: transform .72s var(--ease-out), filter .72s var(--ease-out); }
#lv-home .fp.iso-leaving .fp-z { perspective: 2600px; transform-style: preserve-3d; }
#lv-home .fp.iso-leaving .fp-z > .iso-lay { display: block; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; opacity: 0; transform: none; transition: transform .72s var(--ease-out), opacity .48s var(--ease-out); }
