/* =====================================================================================================
   v6 (11 Nov 2026, client round 3). Loaded after v5. Tokens only (colour literals live in tokens.css).
   - Primary = deeper brand violet with WHITE text (AAA), darker on hover. One smooth radius (pill) on every button.
   - Layout back to the v4 structure: floating rounded sidebar card, narrower; wider side gutters around content.
   - Selected nav = solid violet pill that slides between items. Filled icons ONLY in navigation.
   - Status meaning: green = delivered / approved / paid, red = cancelled / rejected / error.
   - No tick-in-a-box for selected tiles; every popup has a close button and one padding system.
   ===================================================================================================== */

/* ---------- 1. Layout ---------- */
:root {
  --side-w: 236px;
  --page-max: 1240px;
  --r-btn: 999px;
  --r-card: 20px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}
@media (min-width: 768px) { :root { --page-x: clamp(24px, 4.2vw, 72px); } }
@media (min-width: 1800px) { :root { --page-max: 1320px; } }
/* Sidebar is the same full-height panel at every width: flush to the left edge, square corners, hairline divider. */
.side { padding: 0; }
.side__in { border-radius: 0; background: var(--c-white); box-shadow: inset -1px 0 0 var(--c-line); }
.side__brand { min-height: 64px; padding: var(--sp-16) var(--sp-10) var(--sp-8) var(--sp-18); }
.side__brand .logo { width: 116px; }
.side__nav { position: relative; padding: var(--sp-4) var(--sp-10) var(--sp-14); gap: var(--sp-2); }
.side__g { padding: var(--sp-16) var(--sp-10) var(--sp-6); font-size: 0.6875rem; }
@media (min-width: 768px) { .page { padding-top: var(--sp-6); padding-bottom: var(--sp-80); } .top, .page, .banners { padding-inline: var(--page-x); } }

/* ---------- 2. Navigation: sliding violet pill, filled white icon ---------- */
.nv { position: relative; z-index: 1; min-height: 42px; padding: 0 var(--sp-12); gap: var(--sp-12); border-radius: 12px; background: transparent !important; box-shadow: none !important; color: var(--c-ink-2); font-size: var(--fs-14); transition: color 220ms var(--ease-out); }
.nv.is-lock { color: var(--c-ink-3); }
.nv.is-lock .i { color: var(--c-ink-3); }
.nv.is-lock .nv__b { display: none; }
.nv__lock { margin-left: auto; display: grid; place-items: center; }
.nv__lock .i { width: 16px; height: 16px; }
.bnav a.is-lock { opacity: 0.55; }
.bnav .nv__lock { display: none; }
.nv .i { width: var(--ic-20); height: var(--ic-20); color: var(--c-ink-2); transition: color 220ms var(--ease-out), transform 220ms var(--ease-out); }
.nv:hover { color: var(--c-brand-ink); }
.nv:hover .i { color: var(--c-brand-ink); transform: translateX(1px); }
.nv::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--c-tint-hi); opacity: 0; transform: scale(.96); transition: opacity 180ms, transform 220ms var(--ease-out); }
.nv:hover::before { opacity: 1; transform: none; }
.nv.on { color: var(--c-white); font-weight: var(--w-med); background-color: var(--c-pri) !important; transition: color 220ms var(--ease-out), background-color 0s linear 380ms; }
.nv.on::before { opacity: 0; }
.nv.on .i { color: var(--c-white); transform: none; }
.nv.on .nv__lk .i { color: var(--c-white); }
.nv.on .nv__b { background: var(--c-white); color: var(--c-pri); }
.nv__ind { position: absolute; left: var(--sp-10); right: var(--sp-10); top: 0; z-index: 0; height: 42px; border-radius: 12px; background: var(--c-pri); box-shadow: none; transform: translateY(var(--y, 0)); transition: transform 380ms var(--ease-out), height 380ms var(--ease-out), opacity 200ms; pointer-events: none; }

.nv__ind[hidden] { display: block; opacity: 0; }
.is-rail .nv__ind::after { display: none; }
.nv__t { display: inline-block; white-space: nowrap; }
.nv__t.scr { font-variant-numeric: tabular-nums; }
@media (max-width: 1023.98px) { .nv__ind { transition: none; } }

/* ---------- 3. Icons: outline everywhere; filled only for selected / hovered navigation ---------- */
.i .i__f { display: none !important; }
.i .i__o { display: inline !important; }
:is(.nv.on, .nv:hover, .bnav a.on, .bnav button.on, .bnav a:hover) .i .i__o { display: none !important; }
:is(.nv.on, .nv:hover, .bnav a.on, .bnav button.on, .bnav a:hover) .i .i__f { display: inline !important; }

/* ---------- 4. Buttons: violet + white, darker hover, one radius ---------- */
.btn, .b, .b--sm, .ib, .chat__new, .comp__send, .em__cta, .vrow__join, .dec__b, .toast__a, .seg, .seg button, .tab, .chip, .navc__bk, .top__cart, .tbar__clr, .pager button, .pager a, .sel, .mailv__cta, .xdone .b, .tkb__add { border-radius: var(--r-btn) !important; }
.btn { background: var(--c-pri); color: var(--c-pri-on); --fill: var(--c-pri-h); --ic-bg: var(--c-white); --ic-fg: var(--c-pri); --ic-bg-h: var(--c-white); --ic-fg-h: var(--c-pri-h); transition: background 200ms var(--ease-out), box-shadow 200ms, transform 120ms; }
.btn:hover { background: var(--c-pri-h); color: var(--c-pri-on); }
.btn:active { transform: translateY(1px); }
.btn--line, .btn--white { background: var(--c-white); color: var(--c-ink); --fill: var(--c-tint-hi); --ic-bg: var(--c-pri); --ic-fg: var(--c-white); --ic-bg-h: var(--c-pri-h); --ic-fg-h: var(--c-white); }
.btn--line:hover, .btn--white:hover { background: var(--c-tint-hi); color: var(--c-ink); box-shadow: inset 0 0 0 1px var(--c-pri); }
.btn--ink { background: var(--c-ink); color: var(--c-white); --fill: var(--c-brand-2); --ic-bg: var(--c-white); --ic-fg: var(--c-ink); --ic-bg-h: var(--c-white); --ic-fg-h: var(--c-ink); }
.btn--ink:hover { background: var(--c-brand-2); color: var(--c-white); }
.btn[aria-disabled="true"], .btn:disabled { background: var(--c-bg-2); color: var(--c-ink-3); --ic-bg: var(--c-line-2); --ic-fg: var(--c-ink-3); }
.b--pri, .b--yes { background: var(--c-pri); color: var(--c-white); }
.b--pri .i, .b--yes .i, .b--pri:hover .i, .b--yes:hover .i { color: var(--c-white); }
.b--pri:hover, .b--yes:hover { background: var(--c-pri-h); color: var(--c-white); }
.b:not(.b--pri):not(.b--yes):not(.b--ink):hover { background: var(--c-tint-hi); }
.b:not(.b--pri):not(.b--yes):not(.b--ink):hover .i { color: var(--c-brand-ink); }
.b--no:hover { background: var(--st-err-bg) !important; }
.comp__send, .chat__new, .vrow__join, .em__cta, .mailv__cta { background: var(--c-pri); color: var(--c-white); }
.comp__send .i, .chat__new .i, .chat__new:hover .i, .vrow__join .i { color: var(--c-white); }
.comp__send:hover, .chat__new:hover, .vrow__join:hover { background: var(--c-pri-h); }
.toast--ok .i { color: var(--c-tint-2); }
/* arrow chip: plain arrow, tilted at rest, straight on hover (never a filled icon) */
.btn__i .i { transition: transform 260ms var(--ease-out); }

/* ---------- 5. Status meaning: green done, red cancelled/rejected ---------- */
.bdg--ok { background: var(--c-good-bg); color: var(--c-good); box-shadow: none; }
.bdg--err { background: var(--c-bad-bg); color: var(--c-err); box-shadow: none; }
.note--ok { background: var(--c-good-bg); color: var(--c-good); }
.note--ok .i { color: var(--c-good); }
.delta { background: var(--c-good-bg); color: var(--c-good); }

/* ---------- 6. Selected tiles: ring + soft wash, no tick-in-a-box ---------- */
.opt__ck { display: none !important; }
/* The check circle above is hidden, so the selectable cards no longer keep its 52px slot on the right (price sat far from the edge). */
.opts--sel .opt { padding-right: var(--sp-16); }
.opts--sel .opt:has(input:checked), .opts--sel .opt.on { box-shadow: inset 0 0 0 2px var(--c-pri) !important; background: var(--c-tint-hi) !important; }
/* New conversation: the icon is the second span, so it must not grow. The wash covers the whole row. */
[data-nk].opts { gap: 8px; }
[data-nk] .opt--card { min-height: 0; gap: 10px; padding: 8px 12px; border-radius: 12px; }
[data-nk].opts--sel .opt { padding-right: 12px; }
[data-nk] .opt--card > .mode__ic { flex: none; width: 28px; height: 28px; border-radius: 8px; }
[data-nk] .opt--card > .mode__ic .i { width: 14px; height: 14px; }
[data-nk] .opt--card > span:nth-child(3) { flex: 1; min-width: 0; }
[data-nk] .opt b { font-size: 13px; }
[data-nk] .opt small { font-size: 12px; line-height: 1.3; }
.tier__ck, .tier .ck, .tier input[type="checkbox"] + .ck { display: none !important; }

/* ---------- 7. Popups: one padding system, close button always visible ---------- */
.mdl { border-radius: 24px; }
.mdl__h { padding: var(--sp-24) var(--sp-24) var(--sp-8); gap: var(--sp-14); align-items: flex-start; }
.mdl__h [data-close] { margin: calc(-1 * var(--sp-6)) calc(-1 * var(--sp-8)) 0 0; }
.mdl__b { padding: var(--sp-12) var(--sp-24) var(--sp-8); }
.mdl__f { padding: var(--sp-16) var(--sp-24) var(--sp-24); gap: var(--sp-10); }
.mdl__x { position: absolute; top: var(--sp-14); right: var(--sp-14); z-index: 2; }
.mdl--done { position: relative; }
.mdl--done .mdl__body { padding: var(--sp-32) var(--sp-28) var(--sp-26); }
.dlx { display: grid; justify-items: center; gap: var(--sp-12); text-align: center; }
.dlx__file { display: flex; align-items: center; gap: var(--sp-12); width: 100%; padding: var(--sp-14) var(--sp-16); border-radius: 16px; background: var(--c-bg); text-align: left; }
.dlx__file .ic { flex: none; }
.dlx__file b { display: block; font-weight: var(--w-med); overflow-wrap: anywhere; }
.dlx__file small { color: var(--c-ink-3); font-size: var(--fs-13); }
.dlx__ask, .dlx__done { display: grid; justify-items: center; gap: var(--sp-12); width: 100%; }
.dlx .ic--lg { width: 56px; height: 56px; border-radius: 50%; }
.dlx .note { text-align: left; width: 100%; }
.dlx h2 { font-size: var(--fs-20); font-weight: var(--w-semi); letter-spacing: -0.015em; }
.dlx p { color: var(--c-ink-2); font-size: var(--fs-14); max-width: 38ch; }
.dlx__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-10); width: 100%; margin-top: var(--sp-6); }
.dlx__acts > * { flex: 1 1 140px; justify-content: center; }
.dlx__again { font-size: var(--fs-14); color: var(--c-ink-2); }
.dlx__again button { color: var(--c-brand-ink); font-weight: var(--w-semi); text-decoration: underline; text-underline-offset: 3px; }
.dlx .okmark { width: 76px; height: 76px; background: var(--c-pri); box-shadow: none; }
.dlx .okmark::before { background: color-mix(in oklab, var(--c-pri) 18%, transparent); }
.dlx .okmark path { stroke: var(--c-white); }
.dlx .okmark circle { stroke: color-mix(in oklab, var(--c-white) 30%, transparent); }
.dlx[data-step="ask"] .dlx__done, .dlx[data-step="done"] .dlx__ask { display: none; }
.dlx[data-step="done"] .dlx__done { animation: dlIn 420ms var(--ease-out) both; }
@keyframes dlIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- 8. Cursor tooltip for truncated text ---------- */
.ctip { position: fixed; z-index: 9999; left: 0; top: 0; max-width: min(420px, calc(100vw - 24px)); padding: var(--sp-7) var(--sp-11); border-radius: 10px; background: var(--c-ink); color: var(--c-white); font-size: var(--fs-13); line-height: 1.4; pointer-events: none; opacity: 0; transform: translate3d(var(--x, 0), var(--y, 0), 0); transition: opacity 120ms; overflow-wrap: anywhere; box-shadow: var(--sh-3); }
.ctip.on { opacity: 1; }

@media (prefers-reduced-motion: reduce) { .nv__ind, .nv, .nv .i, .btn, .dlx__done { transition: none !important; animation: none !important; } }

/* ---------- 9. Product page buy card: decision first ---------- */
.buy { gap: var(--sp-16); }
.buy__hd { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-12); }
.buy__hd > div { display: grid; gap: var(--sp-2); min-width: 0; }
.buy__lbl { font-size: var(--fs-13); color: var(--c-ink-2); }
.buy__px { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); font-weight: var(--w-reg); letter-spacing: -0.02em; line-height: 1.1; }
.buy__px s { font-size: var(--fs-16); color: var(--c-ink-3); margin-left: var(--sp-4); }
.buy__px small { font-size: var(--fs-14); color: var(--c-ink-2); letter-spacing: 0; }
.buy__form { font-size: var(--fs-13); color: var(--c-ink-3); }
.buy__one { display: flex; align-items: baseline; gap: var(--sp-10); }
.buy__one .f__l { margin: 0; }
.buy__sale { margin-top: calc(-1 * var(--sp-6)); color: var(--c-brand-ink) !important; }
.buy__tiers { display: grid; gap: var(--sp-8); padding-top: var(--sp-14); border-top: 1px solid var(--c-line); }
.buy__tiers .f__l small { color: var(--c-ink-3); font-weight: var(--w-reg); }
.buy .tiers { display: grid; grid-template-columns: 1fr !important; gap: 0; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--c-line-2); overflow: hidden; }
.buy .tiers .tier { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-12); min-height: 44px; padding: 0 var(--sp-16); border-radius: 0; background: var(--c-white); box-shadow: none; font-size: var(--fs-14); color: var(--c-ink-2); }
.buy .tiers .tier + .tier { border-top: 1px solid var(--c-line); }
.buy .tiers .tier b { display: inline; font-size: var(--fs-15); font-weight: var(--w-med); color: var(--c-ink); }
.buy .tiers .tier b small { display: inline; margin: 0; font-size: var(--fs-13); color: var(--c-ink-2); font-weight: var(--w-reg); }
.buy .tiers .tier:hover { background: var(--c-tint-hi); box-shadow: none; }
.buy .tiers .tier.on { background: var(--c-tint); color: var(--c-ink); box-shadow: inset 3px 0 0 var(--c-pri); }
.buy .tiers .tier.on b, .buy .tiers .tier.on b small { color: var(--c-ink); }
.buy__trust { display: flex; flex-wrap: wrap; gap: var(--sp-8); }
.buy__trust .flag { display: inline-flex; align-items: center; gap: var(--sp-6); }
.buy__trust .flag .i { width: var(--ic-14); height: var(--ic-14); }

/* ---------- 10. Orders ---------- */
.b--go .i { order: 2; margin-right: calc(-1 * var(--sp-4)); }
.t-act .b--go { white-space: nowrap; }
/* status card */
.ost { display: grid; gap: var(--sp-22); padding: clamp(var(--sp-18), 2vw, var(--sp-26)); }
.ost__h { display: flex; align-items: flex-start; gap: var(--sp-16); }
.ost__ic { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; }
.ost__ic .i { width: var(--ic-24); height: var(--ic-24); }
.ost h2 { font-size: var(--fs-20); font-weight: var(--w-semi); letter-spacing: -0.015em; }
.ost p { margin-top: var(--sp-4); color: var(--c-ink-2); font-size: var(--fs-15); max-width: 70ch; }
.ost--pro .ost__ic { background: var(--c-tint); color: var(--c-brand-ink); }
.ost--good { background: linear-gradient(0deg, var(--c-white), var(--c-white)) padding-box; box-shadow: inset 0 0 0 1px var(--c-good-line); }
.ost--good .ost__ic { background: var(--c-good); color: var(--c-white); }
.ost--good h2 { color: var(--c-good); }
.ost--bad { box-shadow: inset 0 0 0 1px var(--c-bad-line); }
.ost--bad .ost__ic { background: var(--c-err); color: var(--c-white); }
.ost--bad h2 { color: var(--c-err); }
/* tracker: solid dots, no rings */
.otrk { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; text-align: center; }
.otrk::before, .otrk::after { content: ""; position: absolute; top: var(--sp-17); left: 12.5%; height: 3px; border-radius: 3px; }
.otrk::before { right: 12.5%; background: var(--c-bg-2); }
.otrk::after { width: calc(75% * var(--p) / 100); background: var(--c-pri); transform-origin: left; animation: otrkGrow 900ms var(--ease-out) both; }
@keyframes otrkGrow { from { transform: scaleX(0); } }
.otrk li { position: relative; z-index: 1; display: grid; justify-items: center; gap: var(--sp-4); padding: 0 var(--sp-4); }
.otrk__d { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--c-bg-2); color: var(--c-ink-3); margin-bottom: var(--sp-4); }
.otrk__d .i { width: var(--ic-17); height: var(--ic-17); }
.otrk b { font-size: var(--fs-14); font-weight: var(--w-med); color: var(--c-ink-2); }
.otrk small { font-size: var(--fs-12); color: var(--c-ink-3); }
.otrk li.done .otrk__d { background: var(--c-pri); color: var(--c-white); }
.otrk li.done b, .otrk li.cur b { color: var(--c-ink); }
.otrk li.cur .otrk__d { width: 40px; height: 40px; margin-top: calc(-1 * var(--sp-2)); margin-bottom: var(--sp-2); background: var(--c-pri); color: var(--c-white); }
.otrk li.cur small { color: var(--c-brand-ink); font-weight: var(--w-semi); }
@keyframes otrkPulse { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--c-pri) 35%, transparent); } 70%, 100% { box-shadow: 0 0 0 10px transparent; } }
.ost--good .otrk::after, .ost--good .otrk li.done .otrk__d { background: var(--c-good); }
@media (max-width: 479.98px) { .otrk b { font-size: var(--fs-13); } .otrk small { font-size: 0.6875rem; } }
/* two columns that never stretch */
.od { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--gap); align-items: start; margin-top: var(--gap); }
.od__main, .od__side { display: grid; gap: var(--gap); align-content: start; min-width: 0; }
.od__side { position: sticky; top: calc(var(--top-h) + var(--sp-12)); }
@media (max-width: 1023.98px) { .od { grid-template-columns: 1fr; } .od__side { position: static; } }
.oli { display: grid; margin: var(--sp-4) 0 var(--sp-14); padding: 0; list-style: none; }
.oli li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto auto; align-items: center; gap: var(--sp-14); padding: var(--sp-12) 0; border-bottom: 1px solid var(--c-line); }
.oli li:first-child { padding-top: var(--sp-4); }
.oli .thumb { width: 52px; height: 52px; border-radius: 12px; overflow: hidden; background: var(--c-bg); display: grid; place-items: center; }
.oli .thumb img { width: 100%; height: 100%; object-fit: cover; }
.oli__t { display: grid; gap: var(--sp-2); min-width: 0; }
.oli__t b { font-weight: var(--w-med); }
.oli__t small { color: var(--c-ink-3); font-size: var(--fs-13); display: inline-flex; align-items: center; gap: var(--sp-4); }
.oli__q { color: var(--c-ink-2); font-size: var(--fs-14); }
.oli__p { font-weight: var(--w-med); min-width: 72px; text-align: right; }
@media (max-width: 539.98px) { .oli li { grid-template-columns: 44px minmax(0, 1fr) auto; } .oli .thumb { width: 44px; height: 44px; } .oli__q { grid-column: 2; grid-row: 2; margin-top: calc(-1 * var(--sp-8)); } .oli__p { grid-row: 1 / span 2; grid-column: 3; } }
.od__kv .dl { margin: 0; }
.od__leg .ship-meta { margin-bottom: var(--sp-14); }
.dlx .okmark { margin: var(--sp-6) 0 var(--sp-12); }
.reo { display: flex; align-items: center; gap: var(--sp-14); flex-wrap: wrap; margin-bottom: var(--gap); padding: var(--sp-14) var(--sp-16); border-radius: 18px; background: var(--c-tint-hi); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--c-pri) 22%, transparent); animation: dlIn 380ms var(--ease-out) both; }
.reo > div:nth-child(2) { flex: 1 1 280px; display: grid; gap: var(--sp-2); min-width: 0; }
.reo b { font-weight: var(--w-semi); }
.reo span { color: var(--c-ink-2); font-size: var(--fs-14); }
.reo__a { display: flex; flex-wrap: wrap; gap: var(--sp-8); }

/* ---------- 11. Request review: one tap, row tints by meaning ---------- */
.rl { position: relative; margin: 0 calc(-1 * var(--tile-p)); padding: var(--sp-16) var(--tile-p); border-radius: 0; transition: background 260ms var(--ease-out), box-shadow 260ms var(--ease-out); }
.rl[data-dec="ok"] { background: var(--c-good-bg); box-shadow: inset 4px 0 0 var(--c-good); }
.rl[data-dec="no"] { background: var(--c-bad-bg); box-shadow: inset 4px 0 0 var(--c-err); }
.rl__st { margin-left: auto; display: inline-flex; align-items: center; gap: var(--sp-6); font-size: var(--fs-14); font-weight: var(--w-semi); }
.rl__st .i { width: var(--ic-18); height: var(--ic-18); }
.rl[data-dec="ok"] .rl__st { color: var(--c-good); animation: dlIn 260ms var(--ease-out) both; }
.rl[data-dec="no"] .rl__st { color: var(--c-err); animation: dlIn 260ms var(--ease-out) both; }
.dec__b { min-height: 46px; min-width: 136px; border-radius: var(--r-btn) !important; transition: background 160ms, color 160ms, box-shadow 160ms, transform 100ms; }
.dec__b:active { transform: scale(.98); }
.dec__b--ok { color: var(--c-good); background: var(--c-white); box-shadow: inset 0 0 0 1.5px var(--c-good-line); }
.dec__b--ok:hover { background: var(--c-good-bg); box-shadow: inset 0 0 0 1.5px var(--c-good); }
.dec__b--ok.on { background: var(--c-good); color: var(--c-white); box-shadow: none; }
.dec__b--no { color: var(--c-err); background: var(--c-white); box-shadow: inset 0 0 0 1.5px var(--c-bad-line); }
.dec__b--no:hover { background: var(--c-bad-bg); box-shadow: inset 0 0 0 1.5px var(--c-err); }
.dec__b--no.on { background: var(--c-err); color: var(--c-white); box-shadow: none; }
.rl__why2 { display: grid; gap: var(--sp-8); animation: dlIn 260ms var(--ease-out) both; }
.rl__why2 .chips { display: flex; flex-wrap: wrap; gap: var(--sp-6); }
.rl__why2 .chip { background: var(--c-white); }
.rl__why2 .chip.on { background: var(--c-white); color: var(--c-err); box-shadow: inset 0 0 0 1.5px var(--c-err); }
.rl.is-sent .rl__d, .rl.is-sent .rl__rx, .rl.is-sent .rl__why2 .chip:not(.on), .rl.is-sent .rl__why2 small { display: none; }
.rl.is-sent .rl__why2 .chip.on { pointer-events: none; }
.rl__rx { max-width: 560px; }
.rl__done { display: flex; align-items: center; flex-wrap: wrap; gap: var(--sp-14); margin-top: var(--sp-12); padding: var(--sp-16); border-radius: 16px; background: var(--c-good-bg); color: var(--c-good); animation: dlIn 320ms var(--ease-out) both; }
.rl__done > .i { width: var(--ic-28); height: var(--ic-28); flex: none; }
.rl__done > div { flex: 1 1 220px; display: grid; gap: var(--sp-2); }
.rl__done > div span { color: var(--c-ink-2); font-size: var(--fs-14); }
.rl__done[hidden] { display: none; }

/* ---------- 12. Long left column, sticky right card ---------- */
.grid--top { align-items: start; }
@media (min-width: 1024px) {
  .side-stick { position: sticky; top: calc(var(--top-h) + var(--sp-12)); align-self: start; max-height: calc(100dvh - var(--top-h) - 24px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
}

/* ---------- 13. Visit room (upcoming video visit) ---------- */
.vroom { display: grid; gap: var(--sp-22); }
.vroom__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--sp-16); }
.vroom__k { display: inline-flex; align-items: center; gap: var(--sp-6); font-size: var(--fs-13); font-weight: var(--w-med); color: var(--c-brand-ink); }
.vroom__k .i { width: var(--ic-16); height: var(--ic-16); }
.vroom h2 { margin-top: var(--sp-6); font-size: clamp(1.5rem, 1.2rem + 0.9vw, 2rem); font-weight: var(--w-reg); letter-spacing: -0.02em; }
.vroom__top p { color: var(--c-ink-2); margin-top: var(--sp-2); }
.vroom__cta { display: grid; justify-items: end; gap: var(--sp-6); }
.vroom__cta small { font-size: var(--fs-13); color: var(--c-ink-3); text-align: right; }
.vroom__body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--sp-20); align-items: start; }
@media (max-width: 899.98px) { .vroom__body { grid-template-columns: 1fr; } .vroom__cta { justify-items: start; } .vroom__cta small { text-align: left; } }
.vroom__cam { position: relative; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; background: radial-gradient(120% 90% at 20% 0%, var(--c-brand-2) 0%, var(--c-ink) 60%); color: var(--c-white); }
.vroom__self { position: absolute; inset: 0 32% var(--sp-56) 0; display: grid; place-items: center; align-content: center; gap: var(--sp-10); }
.vroom__av { width: 84px; height: 84px; display: grid; place-items: center; border-radius: 50%; background: var(--c-pri); font-size: var(--fs-24); font-weight: var(--w-med); }
.vroom__me { position: absolute; left: 0; right: 0; top: var(--sp-14); text-align: center; font-size: var(--fs-12); color: color-mix(in oklab, var(--c-white) 78%, transparent); }
.vroom__pt { position: absolute; top: var(--sp-12); right: var(--sp-12); display: grid; justify-items: center; gap: var(--sp-6); width: 28%; min-width: 104px; padding: var(--sp-12) var(--sp-10); border-radius: 14px; background: color-mix(in oklab, var(--c-white) 10%, transparent); backdrop-filter: blur(6px); text-align: center; }
.vroom__pt span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in oklab, var(--c-white) 18%, transparent); font-weight: var(--w-med); }
.vroom__pt small { font-size: 0.6875rem; color: color-mix(in oklab, var(--c-white) 80%, transparent); line-height: 1.3; }
.vroom__ctl { position: absolute; left: 0; right: 0; bottom: var(--sp-12); display: flex; justify-content: center; flex-wrap: wrap; gap: var(--sp-8); padding: 0 var(--sp-12); }
.vroom__ctl .ib { background: color-mix(in oklab, var(--c-white) 16%, transparent); color: var(--c-white); }
.vroom__ctl .ib .i { color: var(--c-white); }
.vroom__ctl .ib.is-off { background: var(--c-err); }
.vroom__ctl .b { background: var(--c-white); color: var(--c-ink); }
.vroom__cam.is-test .vroom__av { animation: camPulse 1.2s ease-out 2; }
@keyframes camPulse { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--c-tint-2) 70%, transparent); } 100% { box-shadow: 0 0 0 22px transparent; } }
.vroom__prep { display: grid; gap: var(--sp-4); margin: 0; padding: 0; list-style: none; }
.vroom__prep li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: var(--sp-12); padding: var(--sp-12) 0; border-bottom: 1px solid var(--c-line); }
.vroom__prep li:last-child { border-bottom: 0; }
.vroom__prep li > div { display: grid; gap: var(--sp-2); }
.vroom__prep b { font-weight: var(--w-semi); font-size: var(--fs-15); }
.vroom__prep span:not(.ic) { color: var(--c-ink-2); font-size: var(--fs-14); }
.vroom__prep .tlink { white-space: nowrap; font-size: var(--fs-14); }
.vroom { transition: box-shadow 260ms var(--ease-out), background 260ms; }
.vroom[data-dec="ok"] { box-shadow: inset 0 0 0 1.5px var(--c-good-line); background: linear-gradient(180deg, var(--c-good-bg), var(--c-white) 140px); }
.vroom[data-dec="no"] { box-shadow: inset 0 0 0 1.5px var(--c-bad-line); background: linear-gradient(180deg, var(--c-bad-bg), var(--c-white) 140px); }
.vroom__cta .dec__b { min-width: 0; }

/* ---------- 14. Wizard action bar: always in reach ---------- */
.stack--top { align-content: start; }
.wiz__bar { position: sticky; bottom: var(--sp-16); z-index: 5; margin-top: var(--sp-4); padding: var(--sp-10) var(--sp-10) var(--sp-10) var(--sp-14); border: 0; border-radius: 999px; background: var(--c-white); box-shadow: inset 0 0 0 1px var(--c-line-2); }
.wiz__s { flex: 1 1 auto; text-align: center; font-size: var(--fs-14); color: var(--c-ink-2); min-width: 0; }
@media (max-width: 767.98px) { .wiz__bar { bottom: calc(var(--bnav-h, var(--sp-64)) + var(--sp-12) + env(safe-area-inset-bottom)); border-radius: 22px; } .wiz__s { order: -1; flex-basis: 100%; text-align: left; } .wiz__bar .btn { flex: 1; } }

/* ---------- 15. Uploads: one look everywhere ---------- */
.drop { cursor: pointer; transition: background 160ms, box-shadow 160ms; }
.drop:hover, .drop:focus-visible, .drop.is-over, .drop.is-drop { background: var(--c-tint-hi); box-shadow: inset 0 0 0 1.5px var(--c-pri); }
.drop[data-dz] .tlink { pointer-events: auto; }
.dropf { display: flex; align-items: center; gap: var(--sp-12); padding: var(--sp-10) var(--sp-10) var(--sp-10) var(--sp-12); border-radius: 16px; background: var(--c-white); box-shadow: inset 0 0 0 1px var(--c-line-2); animation: dlIn 260ms var(--ease-out) both; }
.dropf img { width: 44px; height: 44px; flex: none; border-radius: 10px; object-fit: cover; background: var(--c-bg); }
.dropf .ic { flex: none; }
.dropf > div { flex: 1; min-width: 0; display: grid; gap: var(--sp-1); }
.dropf b { font-weight: var(--w-med); }
.dropf small { color: var(--c-ink-3); font-size: var(--fs-13); }
.dropf[hidden] { display: none; }
tr.is-yes > td, .is-yes:not(tr) { background: var(--c-good-bg) !important; transition: background 260ms; }
tr.is-no > td, .is-no:not(tr) { background: var(--c-bad-bg) !important; transition: background 260ms; }

/* ---------- 16. Profile picture ---------- */
.av--img { padding: 0; overflow: hidden; background: var(--c-bg) !important; }
.av--img img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.av--xl { width: 88px; height: 88px; font-size: var(--fs-24); }
.pfp { display: grid; gap: var(--sp-18); }
.pfp + .tile { margin-top: var(--gap); }
.pfp__row { display: flex; align-items: center; gap: var(--sp-18); flex-wrap: wrap; }
.pfp__cur .av { box-shadow: 0 0 0 4px var(--c-white), 0 0 0 5px var(--c-line-2); }
.pfp__t { flex: 1 1 260px; display: grid; gap: var(--sp-4); }
.pfp__t b { font-weight: var(--w-semi); }
.pfp__t > span { color: var(--c-ink-2); font-size: var(--fs-14); }
.pfp__t .row { margin-top: var(--sp-8); gap: var(--sp-8); }
.pfp__up { cursor: pointer; box-shadow: inset 0 0 0 1px var(--c-line-2); }
.pfp__g { display: grid; grid-template-columns: repeat(5, 64px); gap: var(--sp-12); }
@media (max-width: 479.98px) { .pfp__g { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--sp-8); } }
.pfp__o { aspect-ratio: 1; border-radius: 50%; padding: var(--sp-3); background: transparent; transition: transform 160ms var(--ease-out), box-shadow 160ms; }
.pfp__o img { width: 100%; height: 100%; border-radius: 50%; display: block; }
.pfp__o:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--c-tint-2); }
.pfp__o.on { box-shadow: 0 0 0 3px var(--c-pri); }

/* ---------- 17. Guided tour (coach marks) ---------- */
.top__guide { display: inline-flex; align-items: center; gap: var(--sp-6); min-height: 40px; padding: 0 var(--sp-14) 0 var(--sp-10); border-radius: 999px; background: var(--c-white); box-shadow: inset 0 0 0 1px var(--c-line-2); color: var(--c-ink); font-size: var(--fs-14); font-weight: var(--w-med); }
.top__guide .i { width: var(--ic-18); height: var(--ic-18); color: var(--c-brand-ink); }
.top__guide:hover { background: var(--c-tint-hi); box-shadow: inset 0 0 0 1px var(--c-pri); }
.top__guide[hidden] { display: none; }
@media (max-width: 1279.98px) { .top__guide span { display: none; } .top__guide { width: 40px; padding: 0; justify-content: center; } }
.tour { position: fixed; inset: 0; z-index: 9000; animation: fade 200ms; }
.tour.out { opacity: 0; transition: opacity 180ms; }
.tour__hole { position: fixed; left: 0; top: 0; border-radius: 16px; box-shadow: 0 0 0 9999px color-mix(in oklab, var(--c-deep) 55%, transparent), 0 0 0 3px var(--c-pri) inset; transition: transform 360ms var(--ease-out), width 360ms var(--ease-out), height 360ms var(--ease-out); pointer-events: none; }
.tour__pop { position: fixed; left: 0; top: 0; width: min(360px, calc(100vw - 24px)); padding: var(--sp-18) var(--sp-18) var(--sp-14); border-radius: 20px; background: var(--c-white); box-shadow: var(--sh-3), 0 0 0 1px var(--c-line); opacity: 0; transition: transform 360ms var(--ease-out), opacity 200ms; }
.tour__pop.in { opacity: 1; }
.tour__pop::before { content: ""; position: absolute; width: 14px; height: 14px; background: inherit; transform: rotate(45deg); border-radius: 3px; }
.tour__pop[data-pos="right"]::before { left: calc(-1 * var(--sp-6)); top: calc(var(--ay) - var(--sp-7)); }
.tour__pop[data-pos="left"]::before { right: calc(-1 * var(--sp-6)); top: calc(var(--ay) - var(--sp-7)); }
.tour__pop[data-pos="bottom"]::before { top: calc(-1 * var(--sp-6)); left: calc(var(--ax) - var(--sp-7)); }
.tour__pop[data-pos="top"]::before { bottom: calc(-1 * var(--sp-6)); left: calc(var(--ax) - var(--sp-7)); }
.tour__h { display: flex; align-items: center; justify-content: space-between; margin: calc(-1 * var(--sp-4)) calc(-1 * var(--sp-6)) var(--sp-6) 0; }
.tour__n { font-size: var(--fs-12); font-weight: var(--w-semi); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--c-brand-ink); }
.tour__pop h2 { font-size: var(--fs-18); font-weight: var(--w-semi); letter-spacing: -0.01em; }
.tour__pop p { margin-top: var(--sp-6); color: var(--c-ink-2); font-size: var(--fs-15); line-height: 1.5; }
.tour__dots { display: flex; gap: var(--sp-5); margin-top: var(--sp-14); }
.tour__dots i { width: 6px; height: 6px; border-radius: 6px; background: var(--c-bg-2); transition: width 220ms var(--ease-out), background 220ms; }
.tour__dots i.done { background: var(--c-tint-2); }
.tour__dots i.on { width: 20px; background: var(--c-pri); }
.tour__f { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-8); margin-top: var(--sp-12); }
.tour__f > span { display: flex; gap: var(--sp-8); }
.tour__skip { font-size: var(--fs-14); color: var(--c-ink-2); text-decoration: underline; text-underline-offset: 3px; padding: var(--sp-8) 0; }
.tour__pv { margin-top: var(--sp-12); padding: var(--sp-12); border-radius: 16px; background: var(--c-bg); }
.tour__pvk { display: inline-flex; align-items: center; gap: var(--sp-6); margin-bottom: var(--sp-8); font-size: var(--fs-12); font-weight: var(--w-semi); color: var(--c-ink-2); }
.tour__pvk .i { width: var(--ic-14); height: var(--ic-14); }
/* patient-side previews */
.tpv { display: grid; gap: var(--sp-8); max-width: 260px; margin: 0 auto; padding: var(--sp-10); border-radius: 18px; background: var(--c-white); box-shadow: 0 0 0 6px var(--c-ink), var(--sh-2); font-size: var(--fs-12); }
.tpv__bar { font-weight: var(--w-semi); font-size: var(--fs-12); padding-bottom: var(--sp-6); border-bottom: 1px solid var(--c-line); }
.tpv__card { display: flex; gap: var(--sp-10); align-items: center; }
.tpv__img { width: 44px; height: 44px; border-radius: 10px; flex: none; background: linear-gradient(160deg, var(--c-tint-hi), var(--c-cloud)); }
.tpv__card > div { display: grid; }
.tpv__card small, .tpv__mail small, .tpv__st small { color: var(--c-ink-3); }
.tpv__px { color: var(--c-ink); font-size: var(--fs-14); }
.tpv__btn { display: grid; place-items: center; min-height: 32px; border-radius: 999px; background: var(--c-pri); color: var(--c-white); font-weight: var(--w-semi); }
.tpv__row { display: flex; justify-content: space-between; }
.tpv__card--pay { padding: var(--sp-8); border-radius: 10px; background: var(--c-bg); }
.tpv__chip { width: 24px; height: 16px; border-radius: 4px; background: var(--c-ink); }
.tpv__st { display: flex; gap: var(--sp-8); align-items: center; padding: var(--sp-8); border-radius: 10px; background: var(--c-tint-hi); }
.tpv__st > div { display: grid; }
.tpv__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c-pri); box-shadow: 0 0 0 4px var(--c-tint); flex: none; }
.tpv__mail { display: grid; padding: var(--sp-8); border-radius: 10px; background: var(--c-bg); }
.tpv__cap { color: var(--c-ink-2); font-size: 0.6875rem; text-align: center; }
.tpv--dark .tpv__vid { display: grid; place-items: center; gap: var(--sp-6); aspect-ratio: 16 / 10; border-radius: 10px; background: var(--c-ink); color: var(--c-white); }
.tpv__vid span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--c-pri); font-weight: var(--w-semi); }
.tpv__vid small { color: color-mix(in oklab, var(--c-white) 80%, transparent); font-size: 0.6875rem; }
@media (max-width: 599.98px) { .tour__pop { width: calc(100vw - 24px); } .tour__pop::before { display: none; } .tpv { max-width: 220px; } }
@media (prefers-reduced-motion: reduce) { .tour__hole, .tour__pop { transition: none; } }
@media (max-width: 479.98px) { .top__guide { display: none !important; } }

/* ---------- 18. Selection marker = radio ring + dot (never a tick in a box or disc) ---------- */
.mode__ck { width: 22px; height: 22px; border-radius: 50%; background: var(--c-white); box-shadow: inset 0 0 0 1.5px var(--c-line-2); color: transparent !important; transition: box-shadow 180ms var(--ease-out); }
.mode__ck .i { display: none; }
.mode__o.on .mode__ck { background: var(--c-white); box-shadow: inset 0 0 0 6px var(--c-pri); }
.mode__o.on { background: var(--c-tint-hi); box-shadow: inset 0 0 0 2px var(--c-pri) !important; }
.mode__o.on .mode__ic { background: var(--c-pri); color: var(--c-white); }
.mode__o.on .mode__ic .i { color: var(--c-white); }
.mode__o:hover:not(.on) { box-shadow: inset 0 0 0 1px var(--c-pri) !important; }
.ckst li.done .ckst__n { background: var(--c-pri); color: var(--c-white); }
.grid > aside, .grid > .stick { align-self: start; }
.otrk li { align-content: start; }
.oli__t small { display: flex; flex-wrap: wrap; column-gap: var(--sp-6); row-gap: var(--sp-2); }
.oli__t small .mono { white-space: nowrap; }
.oli__t small > span:not(.mono) { white-space: nowrap; }
.oli__cold { display: inline-flex; align-items: center; gap: var(--sp-4); }
.wiz__s b { display: inline; padding: 0; margin: 0; font-weight: var(--w-semi); color: var(--c-ink); }
@media (max-width: 1023.98px) { .top__guide { display: none !important; } }
@media (max-width: 1199.98px) { .t-act .b--go > span { display: none; } .t-act .b--go { width: 40px; padding: 0; justify-content: center; } .t-act .b--go .i { margin: 0; } }
.t-main .mono, td .cell__t b.mono { white-space: nowrap; }
@container (max-width: 268px) { .prd__f { grid-template-columns: 1fr; } }
.prd__f .b { min-width: 0; }
.prd__f .b > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pager { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.pager > * { min-width: 0; }
.pager__per { flex-wrap: wrap; justify-content: flex-end; }
.ph__a { flex-wrap: wrap; min-width: 0; max-width: 100%; }
.drop span, .drop b { overflow-wrap: anywhere; min-width: 0; }
.drop .tlink { white-space: normal; }
.tag { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 479.98px) {
  .chart-h .ph__a { grid-template-columns: minmax(0, 1fr) !important; width: 100%; }
  .chart-h .ph__a > * { min-width: 0; max-width: 100%; }
  .chart-h .ph__a .b > span, .chart-h .ph__a .btn__l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (max-width: 374.98px) { .bnav a > span:not(.cnt), .bnav button > span { font-size: 10px; letter-spacing: -0.01em; } }
.f .seg { flex-wrap: wrap; max-width: 100%; }
@media (max-width: 374.98px) { .f .seg { border-radius: 20px !important; } }
.arow .tag, .alist .tag { flex-shrink: 1; min-width: 0; }
.arow__l { display: flex; align-items: center; gap: var(--sp-6); min-width: 0; } .arow__l b { min-width: 0; } .arow__l .tag--review { margin-left: 0; flex: none; }
@media (max-width: 374.98px) { .btn--block .btn__i, .ck-sum .btn .btn__i, .wiz__bar .btn .btn__i { display: none; } .btn--block, .ck-sum .btn, .wiz__bar .btn { justify-content: center; padding: var(--sp-5) var(--sp-16); } }

/* ---------- 19. Product page: buy card next to the photo from 900 px; right after the photo on phones ---------- */
@media (min-width: 900px) and (max-width: 1279.98px) { .pdp > .s-7 { grid-column: span 7; } .pdp > .s-5 { grid-column: span 5; } }
@media (max-width: 899.98px) {
  .pdp > .s-7 { display: contents; }
  .pdp > .s-7 > .gal { order: 1; }
  .pdp > aside { order: 2; position: static; }
  .pdp > .s-7 > :not(.gal) { order: 3; grid-column: 1 / -1; }
}

/* ---------- 20. v7: selected controls keep their colours on hover (no dark-on-dark) ---------- */
.seg button:not(.on):not([aria-pressed="true"]):hover, .seg a:not(.on):not([aria-pressed="true"]):hover { background: var(--c-white); color: var(--c-ink); }
.seg .on, .seg .on:hover, .seg [aria-pressed="true"], .seg [aria-pressed="true"]:hover { background: var(--c-ink); color: var(--c-white) !important; }
.seg .on .i, .seg [aria-pressed="true"] .i { color: var(--c-white) !important; }
.var button.on, .var button.on:hover { background: var(--c-ink); color: var(--c-white) !important; }
.var button:not(.on):hover { background: var(--c-tint-hi); color: var(--c-ink); box-shadow: inset 0 0 0 1px var(--c-pri); }
.chip.on:hover { background: var(--c-tint); color: var(--c-ink); }
.mini__d.on:hover, .mini__d.on:hover .mini__n { color: var(--c-white) !important; background: var(--c-pri); }
.b--cart:not([aria-disabled="true"]):hover { background: var(--c-tint-hi) !important; color: var(--c-ink) !important; box-shadow: inset 0 0 0 1px var(--c-pri) !important; } .b--cart:not([aria-disabled="true"]):hover .i { color: var(--c-brand-ink) !important; }

/* v7: sale banner halves: left = see the sale, right = next slide */
.salebn--photo .salebn__s::before { display: none; }
.salebn--photo .salebn__bg { object-position: center; }
.apkrow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.apk { display: flex; flex-direction: column; gap: 10px; min-height: 92px; padding: 16px 18px; border-radius: 16px; background: var(--c-white); border: 1px solid var(--c-line); color: inherit; text-decoration: none; }
.apk span { font-size: 11px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--c-ink-3); }
.apk b { font-size: 32px; font-weight: 560; letter-spacing: -.04em; line-height: 1; }
.apk.on { border-color: var(--c-ink); box-shadow: inset 0 0 0 1px var(--c-ink); }
.apkbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.apktabs { display: flex; flex-wrap: wrap; gap: 18px; }
.apktabs a { padding-bottom: 8px; color: var(--c-ink-3); text-decoration: none; border-bottom: 2px solid transparent; }
.apktabs a.on { color: var(--c-ink); border-bottom-color: var(--c-brand); }
.apktools { display: flex; align-items: center; gap: 14px; color: var(--c-ink-3); font-size: var(--fs-13); }
.apktools select { margin-left: 6px; border: 0; background: transparent; color: var(--c-ink); font: inherit; }
.apempty { display: grid; place-items: center; min-height: 340px; padding: 32px; border-radius: 18px; background: var(--c-white); border: 1px solid var(--c-line); }
@media (max-width: 1023.98px) { .apkrow { grid-template-columns: repeat(2, minmax(0, 1fr)); } .apkbar { align-items: flex-start; flex-direction: column; } }
.bnslides { display: grid; gap: var(--sp-10); margin-bottom: var(--sp-12); }
.bnslides__i { position: relative; height: 112px; margin: 0; border-radius: 16px; overflow: hidden; background: var(--c-x-eef1f4, var(--c-bg)); box-shadow: inset 0 0 0 1px var(--c-line); }
.bnslides__i img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.bnslides__i .ib { position: absolute; top: 10px; right: 10px; background: var(--c-white); box-shadow: var(--sh-1); }
.salebn[data-sbn] { cursor: pointer; }
.salebn[data-half="l"] .salebn__c .btn { box-shadow: 0 0 0 4px color-mix(in oklab, var(--c-white) 70%, transparent); }
.salebn[data-half="r"] .salebn__nav [data-sbs="1"] { background: var(--c-pri); color: var(--c-white); }
.salebn[data-half="r"] .salebn__nav [data-sbs="1"] .i { color: var(--c-white); }
.sbar__c { gap: var(--sp-6); }
.sbar__h { font-size: var(--fs-13); color: var(--c-ink-3); }
.sbar__b { justify-self: start; margin-top: var(--sp-6); background: var(--c-white); box-shadow: inset 0 0 0 1px var(--c-line-2); }
.sbar__b:hover { box-shadow: inset 0 0 0 1px var(--c-pri); }
.sbar__c { grid-template-rows: auto auto 1fr auto; }
.sbar__c > .sbar__b { align-self: end; }
.sbar__c b.ellip { display: block; }
.pfp__ask { display: grid; place-items: center; padding: var(--sp-8) 0 var(--sp-4); } .pfp__ask .av { width: 120px; height: 120px; box-shadow: 0 0 0 4px var(--c-white), 0 0 0 5px var(--c-line-2); }
/* v7: stacks never stretch their cards (first-login side cards, settings, review) */
.stack { align-content: start; }
.done-hero { gap: var(--sp-12); }
.done-hero h1 { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.4rem); font-weight: var(--w-reg); letter-spacing: -0.02em; }
.done-hero .okmark { width: 88px; height: 88px; margin-inline: auto; transform-origin: center; }
.done-hero .okmark::before,
.done-hero .okmark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: transparent;
  border: 2px solid color-mix(in oklab, var(--c-pri) 50%, transparent);
  transform-origin: center;
  pointer-events: none;
}
.done-hero .okmark::before { animation: okRadiate 880ms var(--ease-out) 60ms both; }
.done-hero .okmark::after { animation: okRadiate 880ms var(--ease-out) 200ms both; }
.done-hero .okmark circle { stroke: none; animation: none; }
.done-hero .okmark path { animation: okDraw 420ms var(--ease-out) 360ms forwards; }
@keyframes okRadiate {
  from { transform: scale(0.15); opacity: 0.9; }
  to { transform: scale(1.8); opacity: 0; }
}
.done-track { width: min(100%, 760px); padding: var(--sp-18) var(--sp-12) var(--sp-14); border-radius: 20px; background: var(--c-bg); }
.done-hero .row { gap: var(--sp-10); flex-wrap: wrap; justify-content: center; }

/* ---------- 21. v7 Email notifications: one page, three numbered sections, sticky summary ---------- */
.ems { display: grid; gap: var(--sp-16); scroll-margin-top: calc(var(--top-h) + var(--sp-16)); transition: box-shadow 300ms var(--ease-out); }
.ems.is-flash { box-shadow: inset 0 0 0 2px var(--c-pri); }
.ems__h { display: flex; align-items: center; gap: var(--sp-12); }
.ems__n { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--c-pri); color: var(--c-white); font-size: var(--fs-14); font-weight: var(--w-semi); }
.ems__h h2 { flex: 1; font-size: var(--fs-18); font-weight: var(--w-semi); letter-spacing: -0.01em; }
.ems__s { font-size: var(--fs-14); color: var(--c-ink-2); white-space: nowrap; }
.ems__s b { color: var(--c-ink); }
.ems__n2 { display: flex; align-items: center; gap: var(--sp-6); font-size: var(--fs-13); color: var(--c-ink-2); }
.audl { display: grid; gap: var(--sp-8); }
.audl--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 539.98px) { .audl--2 { grid-template-columns: 1fr; } }
.audl__o { display: flex; align-items: center; gap: var(--sp-12); min-height: 60px; padding: var(--sp-10) var(--sp-14); border-radius: 16px; background: var(--c-white); box-shadow: inset 0 0 0 1px var(--c-line-2); cursor: pointer; transition: box-shadow 160ms, background 160ms; }
.audl__o:hover { box-shadow: inset 0 0 0 1px var(--c-pri); }
.audl__o.on { background: var(--c-tint-hi); box-shadow: inset 0 0 0 2px var(--c-pri); }
.audl__o:focus-within { outline: 2px solid var(--c-brand); outline-offset: 2px; }
.audl__ic { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--c-bg); color: var(--c-ink-2); }
.audl__ic .i { width: var(--ic-18); height: var(--ic-18); }
.audl__o.on .audl__ic { background: var(--c-white); color: var(--c-brand-ink); }
.audl__t { flex: 1; display: grid; gap: var(--sp-1); min-width: 0; }
.audl__t b { font-weight: var(--w-med); }
.audl__t small { font-size: var(--fs-13); color: var(--c-ink-3); }
.audl__n { font-size: var(--fs-15); font-weight: var(--w-semi); color: var(--c-ink); }
.rdo { width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--c-white); box-shadow: inset 0 0 0 1.5px var(--c-line-2); transition: box-shadow 160ms var(--ease-out); }
.rdo.on { box-shadow: inset 0 0 0 6px var(--c-pri); }
.tplr { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-8); }
.tplr .f__l { margin: 0 var(--sp-4) 0 0; }
.emsum { display: grid; gap: var(--sp-12); }
.emsum__t { font-size: var(--fs-18); font-weight: var(--w-semi); }
.emsum__l { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--sp-8) var(--sp-14); margin: 0; padding: var(--sp-12) var(--sp-14); border-radius: 14px; background: var(--c-bg); font-size: var(--fs-14); }
.emsum__l dt { color: var(--c-ink-3); }
.emsum__l dd { margin: 0; display: flex; align-items: baseline; gap: var(--sp-8); min-width: 0; }
.emsum__l dd .ellip { flex: 1; min-width: 0; }
.emsum__l .tlink { margin-left: auto; font-size: var(--fs-13); white-space: nowrap; }
.emsum__why { display: flex; align-items: center; gap: var(--sp-6); margin-top: calc(-1 * var(--sp-4)); font-size: var(--fs-13); color: var(--c-ink-2); }
.emsum__why[hidden] { display: none; }
.emsum__n { font-size: var(--fs-13); color: var(--c-ink-3); }
.mailv__safe { display: flex; align-items: flex-start; gap: var(--sp-8); margin-top: var(--sp-12); font-size: var(--fs-13); color: var(--c-ink-2); }
.mailv__safe .i { flex: none; margin-top: var(--sp-2); color: var(--c-brand-ink); }

/* ---------- 22. v8 stock meaning: in stock brand, low stock soft orange, out of stock red + row disabled ---------- */
.stk--low { color: var(--c-low); text-decoration: none; }
.stk--err { color: var(--c-err); text-decoration: none; }
.bdg--low { background: var(--c-low-bg); color: var(--c-low); box-shadow: none; }
.bdg--low .i { color: var(--c-low); }
tr.is-oos > td { background: color-mix(in srgb, var(--c-bad-bg) 45%, var(--c-white)); }
tr.is-oos .thumb, tr.is-oos .cell__t b, tr.is-oos .num, tr.is-oos .mgn, tr.is-oos [data-visl] { opacity: .55; }
tr.is-oos .in:disabled { background: var(--c-bg); color: var(--c-ink-3); cursor: not-allowed; }
tr.is-oos .stepr button { pointer-events: none; opacity: .4; }
/* v8: phones have the system back gesture; no Back / Reload in the top bar */
@media (max-width: 767.98px) { .navc { display: none !important; } }

/* ---------- 23. v8 visit room: waiting room status + what already happened ---------- */
.vwait { display: grid; gap: var(--sp-16); align-content: start; padding: var(--sp-16); border-radius: var(--r-card); background: var(--c-bg); }
.vwait__st { display: flex; align-items: flex-start; gap: var(--sp-12); }
.vwait__st > div { display: grid; gap: var(--sp-2); }
.vwait__st b { font-weight: var(--w-semi); font-size: var(--fs-16); }
.vwait__st span:not(.vwait__dot) { color: var(--c-ink-2); font-size: var(--fs-14); }
.vwait__dot { width: var(--ic-12); height: var(--ic-12); flex: none; margin-top: var(--sp-6); border-radius: 50%; background: var(--c-ink-3); }
.vwait__st--open .vwait__dot { background: var(--c-good); animation: vwPulse 1.6s ease-out infinite; }
@keyframes vwPulse { 0% { outline: 0 solid color-mix(in srgb, var(--c-good) 40%, transparent); } 100% { outline: var(--sp-8) solid transparent; } }
.vtl { display: grid; margin: 0; padding: 0; list-style: none; }
.vtl li { position: relative; display: flex; gap: var(--sp-12); padding-bottom: var(--sp-14); }
.vtl li:last-child { padding-bottom: 0; }
.vtl li:not(:last-child)::before { content: ""; position: absolute; left: var(--sp-13); top: var(--sp-28); bottom: 0; width: 2px; background: var(--c-line-2); }
.vtl__d { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--c-white); color: var(--c-ink-3); box-shadow: inset 0 0 0 1px var(--c-line-2); }
.vtl__d .i { width: var(--ic-14); height: var(--ic-14); }
.vtl li.done .vtl__d { background: var(--c-pri); color: var(--c-white); box-shadow: none; }
.vtl__t { display: grid; gap: 0; }
.vtl__t b { font-weight: var(--w-med); font-size: var(--fs-14); }
.vtl__t small { font-size: var(--fs-13); color: var(--c-ink-3); }
.vwait__a { display: flex; flex-wrap: wrap; gap: var(--sp-8); }
.vwait__a .b { background: var(--c-white); }

/* ---------- 24. v8 support board drag and drop ---------- */
.tk { position: relative; cursor: grab; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.tk:hover { box-shadow: inset 0 0 0 1px var(--c-pri); transform: none; }
.tk__top { display: flex; align-items: center; gap: var(--sp-8); }
.tk__top .mono { flex: 1; }
.tk__mv { margin: calc(-1 * var(--sp-6)) calc(-1 * var(--sp-6)) calc(-1 * var(--sp-6)) 0; opacity: .7; }
.tk:hover .tk__mv, .tk__mv:focus-visible { opacity: 1; }
.tk__lnk { color: var(--c-ink); font-weight: var(--w-med); text-decoration: none; }
.tk__lnk:hover { text-decoration: underline; text-underline-offset: 3px; }
.tk.is-drag { opacity: .35; }
.tk.is-moved { animation: dlIn 420ms var(--ease-out) both; }
.tk--ghost { position: fixed; left: 0; top: 0; z-index: 9500; pointer-events: none; cursor: grabbing; box-shadow: inset 0 0 0 2px var(--c-pri) !important; background: var(--c-white); }
.tkb.is-dragging { cursor: grabbing; scroll-snap-type: none; } /* snap would pull edge auto-scroll back to the first column */
.tkb.is-dragging .tkc { transition: background 160ms, box-shadow 160ms; }
.tkc.is-ok { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--c-pri) 40%, transparent); }
.tkc.is-ok.is-over { background: var(--c-tint-hi); box-shadow: inset 0 0 0 2px var(--c-pri); }
.tkc.is-no { opacity: .6; }
.tkc.is-no.is-over { opacity: 1; box-shadow: inset 0 0 0 2px var(--c-bad-line); }
.tkc.is-no.is-over::after { content: attr(data-why); display: block; margin: var(--sp-8) var(--sp-10) 0; font-size: var(--fs-13); color: var(--c-err); }
@media (prefers-reduced-motion: reduce) { .tk--ghost { transform: none; } }
.tk__lnk, .tk img { -webkit-user-drag: none; }

/* ---------- 25. v8 multi-tenant: colours and web address ---------- */
.thm { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: var(--gap); align-items: start; }
@media (max-width: 1099.98px) { .thm { grid-template-columns: 1fr; } .thm__pv { position: static; max-height: none; } }
.thm__g { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: var(--sp-8); }
.thm__o { display: flex; align-items: center; gap: var(--sp-12); min-height: 64px; padding: var(--sp-10) var(--sp-14); border-radius: var(--sp-16); background: var(--c-white); box-shadow: inset 0 0 0 1px var(--c-line-2); cursor: pointer; transition: box-shadow 160ms, background 160ms; }
.thm__o:hover { box-shadow: inset 0 0 0 1px var(--c-pri); }
.thm__o.on { background: var(--c-tint-hi); box-shadow: inset 0 0 0 2px var(--c-pri); }
.thm__o:has(input:focus-visible) { outline: 2px solid var(--c-brand); outline-offset: 2px; }
.thm__sw { position: relative; width: 44px; height: 32px; flex: none; }
.thm__sw i { position: absolute; top: 0; width: 32px; height: 32px; border-radius: 50%; box-shadow: 0 0 0 2px var(--c-white); }
.thm__sw i:first-child { left: 0; background: var(--a); }
.thm__sw i:last-child { left: var(--sp-14); background: var(--b); }
.thm__n { flex: 1; display: grid; min-width: 0; }
.thm__n b { font-weight: var(--w-med); }
.thm__n small { font-size: var(--fs-12); color: var(--c-ink-3); }
.thm__note { display: flex; gap: var(--sp-8); align-items: flex-start; margin-top: var(--sp-12); font-size: var(--fs-13); color: var(--c-ink-2); }
.thm__note .i { flex: none; margin-top: var(--sp-2); color: var(--c-brand-ink); }
.thm__act { display: flex; justify-content: flex-end; align-items: center; gap: var(--sp-10); flex-wrap: wrap; }
.thm__dirty { flex: 1 1 200px; font-size: var(--fs-13); color: var(--c-low); }
.thm__dirty:empty { display: none; }
/* below the two-column width the preview sits right under the colours, so a pick and its result are on one screen */
@media (max-width: 1099.98px) { .thm > .stack { display: contents; } .thm > .stack > :first-child { order: 1; } .thm__pv { order: 2; } .thm > .stack > :nth-child(2) { order: 3; } .thm__act { order: 4; } }
@media (max-width: 559.98px) {
  .thm__g { grid-template-columns: 1fr 1fr; }
  .thm__o { flex-direction: column; align-items: flex-start; gap: var(--sp-8); padding: var(--sp-12); position: relative; }
  .thm__o .rdo { position: absolute; top: var(--sp-12); right: var(--sp-12); }
  .thm__act { justify-content: stretch; } .thm__act .btn { flex: 1 1 140px; justify-content: center; }
  .tpvw { max-width: 280px; }
  [data-sub] .form__act, [data-dom] .form__act { display: flex; flex-wrap: wrap; gap: var(--sp-8); }
  [data-sub] .form__act .btn, [data-dom] .form__act .btn { flex: 1 1 140px; justify-content: center; }
}
/* patient preview uses the chosen pair only inside the frame */
.tpvw { --tp: var(--c-pri); --ts: var(--c-ink); --tr: var(--sp-14); max-width: 320px; margin: var(--sp-12) auto 0; border-radius: 28px; overflow: hidden; background: var(--c-white); box-shadow: 0 0 0 8px var(--c-ink), 0 0 0 9px var(--c-line-2); font-size: var(--fs-13); }
.tpvw[data-r="soft"] { --tr: var(--sp-8); }
.tpvw[data-r="square"] { --tr: var(--sp-2); }
.tpvw__bar { display: flex; align-items: center; gap: var(--sp-8); padding: var(--sp-14) var(--sp-14) var(--sp-12); border-bottom: 1px solid var(--c-line); color: var(--ts); }
.tpvw[data-h="brand"] .tpvw__bar { background: var(--tp); color: var(--c-white); border-color: transparent; }
.tpvw__logo { width: 28px; height: 28px; display: grid; place-items: center; border-radius: var(--tr); background: var(--tp); color: var(--c-white); font-size: var(--fs-12); font-weight: var(--w-semi); }
.tpvw[data-h="brand"] .tpvw__logo { background: var(--c-white); color: var(--tp); }
.tpvw__bar b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tpvw__cart .i { width: var(--ic-18); height: var(--ic-18); }
.tpvw__b { display: grid; gap: var(--sp-12); padding: var(--sp-16) var(--sp-14) var(--sp-20); }
.tpvw__k { font-size: var(--fs-12); font-weight: var(--w-semi); color: var(--tp); letter-spacing: .04em; text-transform: uppercase; }
.tpvw h3 { font-size: var(--fs-18); color: var(--ts); font-weight: var(--w-semi); }
.tpvw__card { display: flex; gap: var(--sp-12); align-items: center; padding: var(--sp-10); border-radius: var(--tr); box-shadow: inset 0 0 0 1px var(--c-line); }
.tpvw__img { width: 56px; height: 56px; flex: none; border-radius: calc(var(--tr) - 4px); background: color-mix(in srgb, var(--tp) 14%, var(--c-white)); }
.tpvw__card > div { display: grid; }
.tpvw__card small { color: var(--c-ink-3); }
.tpvw__px { color: var(--ts); }
.tpvw__btn { display: grid; place-items: center; min-height: 44px; border-radius: var(--tr); background: var(--tp); color: var(--c-white); font-weight: var(--w-semi); }
.tpvw__link { text-align: center; color: var(--tp); font-weight: var(--w-semi); text-decoration: underline; text-underline-offset: 3px; }
.url { display: flex; align-items: stretch; border-radius: var(--sp-12); box-shadow: inset 0 0 0 1px var(--c-line-2); overflow: hidden; background: var(--c-white); }
.url:focus-within { box-shadow: inset 0 0 0 2px var(--c-brand); }
.url .in { flex: 1; min-width: 0; border: 0; box-shadow: none !important; border-radius: 0; background: transparent; }
.url__p, .url__s { display: grid; place-items: center; padding: 0 var(--sp-12); background: var(--c-bg); color: var(--c-ink-2); font-size: var(--fs-14); white-space: nowrap; }
@media (max-width: 479.98px) { .url__p { display: none; } .url__s { font-size: var(--fs-13); padding: 0 var(--sp-8); } }
.f.is-err .url { box-shadow: inset 0 0 0 2px var(--c-err); }
.dom { display: grid; gap: var(--sp-14); }
.dom__h { display: flex; align-items: center; gap: var(--sp-12); flex-wrap: wrap; }
.dom__h > div { flex: 1; min-width: 0; display: grid; }
.dom__h b { overflow-wrap: anywhere; }
.dom__h small, .dom__s { color: var(--c-ink-2); font-size: var(--fs-14); }
.dns { width: 100%; border-collapse: collapse; font-size: var(--fs-14); }
.dns th { text-align: left; font-size: var(--fs-12); font-weight: var(--w-med); color: var(--c-ink-3); padding: 0 var(--sp-8) var(--sp-8); }
.dns td { padding: var(--sp-10) var(--sp-8); border-top: 1px solid var(--c-line); vertical-align: middle; }
.dns__v { overflow-wrap: anywhere; }
@media (max-width: 599.98px) { .dns thead { display: none; } .dns tr { display: grid; grid-template-columns: auto 1fr auto; gap: var(--sp-4) var(--sp-8); padding: var(--sp-10) 0; border-top: 1px solid var(--c-line); } .dns td { border: 0; padding: 0; } .dns td.dns__v { grid-column: 1 / -1; grid-row: 2; } }
.thm__faq ul { display: grid; gap: var(--sp-10); margin: 0; padding: 0; list-style: none; }
.thm__faq li { display: flex; gap: var(--sp-10); align-items: flex-start; color: var(--c-ink-2); font-size: var(--fs-14); }
.thm__faq .i { flex: none; margin-top: var(--sp-2); color: var(--c-brand-ink); }

/* ---------- 26. v8 perf: no live blur on phones (scroll stays smooth on low-end Android); the bars become solid at the same tone ---------- */
@media (max-width: 767.98px) {
  .top.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--c-bg); }
  .bnav { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--c-white); }
}

/* ---------- 27. v8: order lines follow the width of their card, not the window (1024 px + large text pushed the SKU under the quantity) ---------- */
.oli { container-type: inline-size; }
.oli__t small .mono { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
@container (max-width: 459.98px) {
  .oli li { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .oli .thumb { width: 44px; height: 44px; }
  .oli__q { grid-column: 2; grid-row: 2; margin-top: calc(-1 * var(--sp-8)); }
  .oli__p { grid-row: 1 / span 2; grid-column: 3; }
}

/* NMI hosted fields. The checkout column is as tall as the summary, and each field was stretching to fill it. */
.cardf,
[data-nmi],
[data-nmi-fields] { align-self: start; height: auto; min-height: 0; }
#ck-pay .cardf { align-self: center; width: min(100%, 640px); margin-inline: auto; }
[data-nmi-fields] .flex.flexCol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
}
[data-nmi-fields] .flex.flexCol > :first-child { grid-column: 1 / -1; }
[data-nmi-fields] .inputWrapper {
  flex: none;
  height: auto;
  min-height: 46px;
  padding: 8px 12px;
  border-radius: 12px;
}
[data-nmi-fields] .inputPlaceholder { flex: none; min-height: 18px; }
@media (max-width: 559.98px) {
  [data-nmi-fields] .flex.flexCol { grid-template-columns: 1fr; }
  [data-nmi-fields] .flex.flexCol > :first-child { grid-column: auto; }
}
.ck-af { display: grid; gap: var(--sp-16); margin-top: var(--sp-16); padding: var(--sp-20); border-radius: var(--r-20, 20px); background: var(--c-bg); box-shadow: inset 0 0 0 1px var(--c-line); }
.opts + .ck-af, .th + .ck-af { margin-top: var(--sp-8); }
.ck-af__h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--sp-8); }
.ck-af__h b { font-size: var(--fs-16); font-weight: 500; }
.ck-af__h small { font-size: var(--fs-13); color: var(--c-ink-3); }
.ck-af__n { display: flex; align-items: center; gap: var(--sp-6); margin: 0; }
.ck-af .row { justify-content: flex-end; }
.opts--sel .opt:has(.opt__act) { align-items: center; padding-right: var(--sp-16); }
.opt__act { display: inline-flex; align-items: center; gap: var(--sp-4); margin-left: var(--sp-12); flex: none; }
.opt--card:has(.opt__act) > span:nth-child(2),
.opt--card:has(.opt__act) > .minw0 { flex: 1; min-width: 0; }

/* ---------- Payout account summary: values sit next to their labels, not halfway across the card ---------- */
.dl--bank { grid-template-columns: max-content minmax(0, 1fr); column-gap: var(--sp-24); }

/* ---------- Date picker: today's cell shares the class name "today" with the Overview "Today" card
   (provider.css: 168px tall, card padding and shadow), which stretched that one day. Keep it a normal day. ---------- */
.dp__d.today { position: static; display: block; height: 38px; min-height: 0; padding: 0; gap: 0; grid-template-rows: none; border-radius: 10px; background: transparent; box-shadow: inset 0 0 0 1px var(--c-line-2); transition: none; }
.dp__d.today:hover, .dp__d.today:focus-visible { background: var(--c-bg-2); box-shadow: inset 0 0 0 1px var(--c-line-2); }
.dp__d.today.on { background: var(--c-ink); color: var(--c-white); box-shadow: none; }

/* ---------- Patients: "Joined from [date]  To [date]  Clear dates" beside the search ---------- */
.jrng { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-10); flex: 0 1 auto; min-width: 0; }
.jrng__f { display: inline-flex; align-items: center; gap: var(--sp-8); min-width: 0; }
.jrng__k { font-size: var(--fs-14); font-weight: var(--w-med); color: var(--c-ink-2); white-space: nowrap; }
.tbar .jrng__in { width: 10.5em; min-height: 42px; padding: 0 var(--sp-10) 0 var(--sp-12); border-radius: 12px; font-size: var(--fs-14); color: var(--c-ink-3); cursor: pointer; }
.tbar .jrng__in:hover { box-shadow: inset 0 0 0 1px var(--c-ink-3); }
.tbar .jrng__in:focus { box-shadow: inset 0 0 0 1.5px var(--c-brand); outline: 0; }
.tbar .jrng__in.has { color: var(--c-ink); font-weight: var(--w-med); background: var(--c-tint-hi); box-shadow: inset 0 0 0 1.5px var(--c-brand); }
.jrng__in::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .75; }
.jrng__clr { min-height: 42px; }
.jrng__clr:disabled { opacity: .45; cursor: not-allowed; }
/* what is applied, in words, under the toolbar */
.jrng__sum { flex: 1 1 100%; display: flex; align-items: center; gap: var(--sp-6); margin: 0; font-size: var(--fs-13); color: var(--c-ink-2); }
.jrng__sum .i { width: var(--ic-14); height: var(--ic-14); flex: none; color: var(--c-brand); }
.jrng__sum b { color: var(--c-ink); font-weight: var(--w-med); }
@media (max-width: 760px) {
  .tbar--in .inw { flex: 1 1 100%; max-width: none; }
  .jrng { flex: 1 1 100%; }
  .jrng__f { flex: 1 1 calc(50% - var(--sp-10)); }
  .tbar .jrng__in { flex: 1 1 auto; width: auto; }
  .jrng__clr { flex: 1 1 100%; justify-content: center; }
}
@media (max-width: 420px) {
  .jrng__f { flex: 1 1 100%; }
  .jrng__k { min-width: 6.5em; }
}
.mk-meds { display: block; width: 1em; height: 1em; flex: none; fill: currentColor; }
.mk-bio { display: block; width: 1.75rem; height: auto; }
.stsw { display: inline-grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); margin: 0 0 var(--sp-16); padding: var(--sp-4); border-radius: var(--r-pill); background: var(--c-bg-2); box-shadow: inset 0 0 0 1px var(--c-line); }
.stsw__o { display: flex; align-items: center; gap: var(--sp-10); min-height: 3.25rem; padding: var(--sp-6) var(--sp-18) var(--sp-6) var(--sp-8); border: 0; border-radius: var(--r-pill); background: transparent; font: inherit; text-align: left; color: var(--c-ink-2); text-decoration: none; cursor: pointer; }
.stsw__o:hover:not(.on) { background: var(--c-white); color: var(--c-ink); }
.stsw__o.on { background: var(--c-white); color: var(--c-ink); box-shadow: inset 0 0 0 1.5px var(--c-pri); }
.stsw__o:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--c-pri), var(--focus-ring); }
.stsw__lg { display: block; width: 2.25rem; height: 2.25rem; flex: none; padding: var(--sp-6); box-sizing: border-box; border-radius: 50%; background: var(--c-white); box-shadow: inset 0 0 0 1px var(--c-line); object-fit: contain; }
.stsw__lg--m { color: var(--c-pri); fill: var(--c-pri); }
.stsw__o.on .stsw__lg { background: var(--c-tint-hi); box-shadow: none; }
.stsw__o:not(.on) .stsw__lg { opacity: 0.75; }
.stsw__t b { display: block; font-size: var(--fs-14); font-weight: 500; white-space: nowrap; }
.stsw__t small { display: block; font-size: var(--fs-12); color: var(--c-ink-3); white-space: nowrap; }
@media (max-width: 599.98px) { .stsw { display: grid; width: 100%; } .stsw__t small { display: none; } }
.prd--shop .prd__m { aspect-ratio: 4 / 3; background: var(--c-bg); }
.prd--shop .prd__m img { object-fit: contain; inset: 8%; width: 84%; height: 84%; }
.prd__flags { position: absolute; left: var(--sp-8); right: var(--sp-8); bottom: var(--sp-8); display: flex; justify-content: space-between; gap: var(--sp-6); align-items: center; }
.prd__flags .flag { background: var(--c-white); box-shadow: var(--sh-1); }
.prd__flags .flag-us { display: block; width: 16px; height: 9px; border-radius: 1px; flex: none; }
.prd--shop .prd__n { display: grid; gap: 2px; }
.prd--shop .prd__n small { font-size: var(--fs-13); color: var(--c-ink-3); font-weight: var(--w-reg); }
.prd__px { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--sp-12); }
.prd__px > span { display: grid; gap: 2px; min-width: 0; }
.prd__px small { font-size: var(--fs-12); color: var(--c-ink-3); }
.prd__px b { font-size: var(--fs-18); font-weight: var(--w-med); }
.prd__px s { font-size: var(--fs-13); color: var(--c-ink-3); font-weight: var(--w-reg); margin-right: var(--sp-4); }
.prd__mg { display: inline-flex; align-items: center; gap: var(--sp-6); align-self: flex-start; min-height: 30px; padding: 0 var(--sp-10); border-radius: var(--r-pill); background: var(--c-lav-hi); color: var(--c-violet); font-size: var(--fs-13); }
.prd__mg .i { width: var(--ic-14); height: var(--ic-14); flex: none; }
.prd__mg b { font-weight: var(--w-semi); }
.prd__wait { display: flex; align-items: center; gap: var(--sp-8); min-height: 36px; padding: 0 var(--sp-12); border-radius: 12px; background: var(--c-bg); color: var(--c-ink-2); font-size: var(--fs-13); }
.prd__wait .i { width: var(--ic-16); height: var(--ic-16); flex: none; color: var(--c-ink-3); }
.prd--shop .prd__f { grid-template-columns: 1fr; }
.prd--shop .prd__go { width: 100%; justify-content: center; min-height: 42px; border-radius: var(--r-pill); background: var(--c-white); color: var(--c-ink); box-shadow: inset 0 0 0 1px var(--c-line); }
.prd--shop .prd__go:hover { background: var(--c-bg); }
.prd--shop .prd__go.b--pri { background: var(--c-pri); color: var(--c-white); box-shadow: none; }
.prd--shop .prd__go.b--pri .i { color: var(--c-white); }
.prd--shop .prd__go.b--pri:hover { background: var(--c-pri-h); color: var(--c-white); }

/* ---------- Welcome hero: step cards orbiting the doctor (.hello--orb). Markup + motion: provider.js FW.orbit ---------- */
.hello--orb { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); grid-template-areas: "t v" "s v"; align-items: start; padding-bottom: 0; row-gap: var(--sp-20); isolation: isolate; }
.hello--orb .hello__t { grid-area: t; align-self: end; padding-top: var(--sp-8); }
.hello__steps { grid-area: s; list-style: none; margin: 0; padding: 0 0 clamp(var(--sp-22), 3vw, var(--sp-36)); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-12) var(--sp-8); align-self: start; }
.hello__steps li { display: flex; align-items: center; gap: var(--sp-10); font-size: var(--fs-14); color: var(--c-ink-2); transition: color 300ms; }
.hello__sn { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--c-white); box-shadow: inset 0 0 0 1px var(--c-line); color: var(--c-ink); font-size: var(--fs-13); font-weight: var(--w-med); transition: background 300ms, color 300ms; }
.hello__steps li.on { color: var(--c-ink); font-weight: var(--w-med); }
.hello__steps li.on .hello__sn { background: var(--c-pri); color: var(--c-pri-on); box-shadow: none; }

.ocy { grid-area: v; position: relative; align-self: stretch; min-height: clamp(384px, 34.4vw, 480px); margin-top: calc(-1 * var(--sp-12)); perspective: 1100px; overflow: visible; }
.ocy__glow { position: absolute; left: 50%; bottom: -12%; width: 92%; aspect-ratio: 1 / 1; border-radius: 50%; transform: translateX(-50%); background: radial-gradient(closest-side, color-mix(in oklab, var(--c-brand) 20%, transparent), transparent); z-index: 0; }
.ocy__dots { position: absolute; inset: 0; background-image: radial-gradient(color-mix(in oklab, var(--c-ink) 14%, transparent) 1px, transparent 1.2px); background-size: 20px 20px; -webkit-mask: radial-gradient(60% 60% at 50% 40%, #000, transparent); mask: radial-gradient(60% 60% at 50% 40%, #000, transparent); z-index: 0; }
.ocy__doc { position: absolute; left: 50%; bottom: 0; height: 100%; width: auto; max-width: none; transform: translateX(-46%); z-index: 4; pointer-events: none; user-select: none; }
.ocd { position: absolute; left: 0; top: 0; width: 210px; display: grid; gap: var(--sp-6); padding: var(--sp-12); border-radius: var(--r-16); background: var(--c-white); box-shadow: 0 0 0 1px var(--c-line), 0 18px 36px -18px color-mix(in oklab, var(--c-ink) 40%, transparent); color: var(--c-ink); transform-origin: 50% 50%; will-change: transform; backface-visibility: hidden; font-size: var(--fs-12); }
.ocd.on { box-shadow: 0 0 0 2px var(--c-pri), 0 18px 36px -18px color-mix(in oklab, var(--c-pri) 50%, transparent); }
.ocd > * { transition: opacity 350ms ease; }
.ocd.is-back > * { opacity: 0; }                                  /* a card behind the doctor is a plain white card */
.ocd__n { position: absolute; top: -10px; left: -10px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--c-tint); color: var(--c-pri); font-size: var(--fs-12); font-weight: var(--w-semi); box-shadow: 0 0 0 3px var(--c-white); }
.ocd.on .ocd__n { background: var(--c-pri); color: var(--c-pri-on); }
.ocd__k { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-6); font-size: var(--fs-11); color: var(--c-ink-2); }
.ocd__k em { font-style: normal; padding: 1px var(--sp-6); border-radius: var(--r-pill); font-size: 0.625rem; font-weight: var(--w-semi); }
.ocd__ok { background: var(--c-tint); color: var(--c-pri); }
.ocd__new { background: var(--c-pri); color: var(--c-pri-on); }
.ocd > b { font-size: var(--fs-14); font-weight: var(--w-med); line-height: 1.25; }
.ocd__r { display: grid; grid-template-columns: 32px minmax(0, 1fr); align-items: center; gap: var(--sp-8); padding: var(--sp-6); border-radius: var(--r-12); background: var(--c-bg); }
.ocd__r b { display: block; font-size: var(--fs-12); font-weight: var(--w-med); }
.ocd__r small { display: block; font-size: var(--fs-11); color: var(--c-ink-2); }
.ocd__th { width: 32px; height: 32px; border-radius: 8px; overflow: hidden; background: var(--c-tint-hi); }
.ocd__th img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ocd__av, .ocd__ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--c-tint); color: var(--c-pri); font-size: var(--fs-11); font-weight: var(--w-semi); }
.ocd__ic { background: var(--c-pri); color: var(--c-pri-on); font-size: var(--fs-14); }
.ocd__ic--t { background: var(--c-ink); color: var(--c-white); }
@media (max-width: 899.98px) {
  .hello--orb { grid-template-columns: minmax(0, 1fr); grid-template-areas: "t" "v" "s"; }
  .ocy { min-height: 340px; margin-top: 0; }
  .ocd { width: 176px; padding: var(--sp-10); }
}
@media (prefers-reduced-motion: reduce) { .ocd > * { transition: none; } }

/* ---------- Chat (from wellness-sachin v13.css §8, changes PDF p.9) ---------- */
/* my messages in a light brand tint with dark text (was white on Deep Blue) */
.msg--me { background: var(--c-tint); color: var(--c-ink); box-shadow: inset 0 0 0 1px var(--c-tint-2); }
.msg--me .msg__m, .msg--me .mute-3, .msg--me .msg__att small, .msg--me .msg__an small, .msg--me .msg__img small { color: var(--c-ink-2); }   /* AAA on the tint */
.msg--me a { color: var(--c-brand-ink); }
/* chat: the screen itself never scrolls, only the message list inside it */
.page:has(.chat) { padding-bottom: var(--sp-16); }
@media (min-width: 768px) { .page:has(.chat) .chat { height: calc(100dvh - var(--top-h) - var(--sp-6) - var(--sp-16) - var(--sp-8)); min-height: 30rem; } }
@media (max-width: 767.98px) { .page:has(.chat) { padding-bottom: calc(var(--bnav-h) + var(--sp-8) + env(safe-area-inset-bottom)); } }

/* wellness-sachin v13.css: new logo master has a larger WELLNESS line, so the sidebar logo is 132px */
.side__brand .logo { width: 132px; }

/* Ticket description editor (WYSIWYG) + formatted text (approved 2026-11-23; italic approved despite the brand no-italics rule) */
.fmt-box { border-radius: 14px; background: var(--c-white); box-shadow: inset 0 0 0 1px var(--c-line-2); transition: box-shadow 160ms; overflow: hidden; }
.fmt-box:hover { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--c-ink) 26%, transparent); }
.fmt-box:focus-within { box-shadow: inset 0 0 0 1.5px var(--c-brand), 0 0 0 4px var(--c-brand-14); }
.f.is-err .fmt-box { box-shadow: inset 0 0 0 1.5px var(--c-err); }
.fmt { display: flex; align-items: center; gap: var(--sp-2); padding: var(--sp-4) var(--sp-6); border-bottom: 1px solid var(--c-line); background: var(--c-bg); }
.fmt__b { display: inline-grid; place-items: center; min-width: 32px; height: 32px; padding: 0 var(--sp-6); border-radius: 8px; color: var(--c-ink-2); font-size: var(--fs-14); font-weight: var(--w-med); line-height: 1; transition: background 160ms, color 160ms; }
.fmt__b:hover { background: var(--c-hover); color: var(--c-ink); }
.fmt__b.on { background: var(--c-brand-14); color: var(--c-brand-ink); }
.fmt__b b { font-weight: var(--w-semi); }
.fmt__b em { font-style: italic; }
.fmt__b .i { width: 18px; height: 18px; }
.fmt-ed { min-height: 140px; max-height: 420px; overflow-y: auto; padding: var(--sp-10) var(--sp-14); font-size: var(--fs-15); line-height: 1.6; outline: none; overflow-wrap: anywhere; white-space: pre-wrap; }
.fmt-ed:empty::before { content: attr(data-ph); color: color-mix(in oklab, var(--c-ink) 42%, var(--c-white)); pointer-events: none; }
.fmt-ed b, .fmt-ed strong, .tdesc__t strong, .tcm__t strong { font-weight: var(--w-semi); }
.fmt-ed i, .fmt-ed em, .tdesc__t em, .tcm__t em { font-style: italic; }
.fmt-ed ul, .fmt-ed ol, .tdesc__t .fmt-l, .tcm__t .fmt-l { margin: var(--sp-4) 0; padding-left: var(--sp-22); white-space: normal; }
.fmt-ed ul, .tdesc__t ul.fmt-l, .tcm__t ul.fmt-l { list-style: disc; }
.fmt-ed ol, .tdesc__t ol.fmt-l, .tcm__t ol.fmt-l { list-style: decimal; }
.fmt-ed li, .tdesc__t .fmt-l li, .tcm__t .fmt-l li { white-space: pre-wrap; }
/* Chat photos sit large inside the message so the picture is readable without opening it. */
.msg:has(> .msg__img) { width: min(560px, 92%); max-width: min(560px, 92%); padding: var(--sp-6); }
.msg__img { display: block; width: 100%; max-width: none; margin: 0; }
.msg__img img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: contain; border-radius: var(--r-12); background: var(--c-bg-2); }
