/* Provider portal v3 layer (4 Nov 2026). Loaded after provider.css. Tokens only, rem sizes, mobile first.
   Contents: no-blink re-render · status pills · tooltips · blocked actions · toasts with undo · top bar (search
   dropdown, cart label, account) · patient picker · catalog/product/store/checkout/orders/care/chat/money refinements. */

/* ---------- no blink on update ---------- */
html.is-soft #main *, html.is-soft #main *::before, html.is-soft #main *::after { animation: none !important; }
html.is-busy .top::after { opacity: 0; animation: busy 900ms linear infinite, busyIn 1ms linear 320ms forwards; }
@keyframes busyIn { to { opacity: 1; } }

/* ---------- status pill: tint + glyph, no dot ---------- */
.bdg { gap: var(--sp-5); height: 26px; padding: 0 var(--sp-10) 0 var(--sp-9); border-radius: 8px; font-weight: var(--w-med); box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 18%, transparent); }
.bdg::before { display: none; }
.bdg .i { width: var(--ic-13); height: var(--ic-13); flex: none; }
.bdg .i .s, .bdg .i path.s { stroke-width: 2.6; }
.bdg:not([class*="bdg--"]) { padding-left: var(--sp-10); }

/* ---------- tooltips ---------- */
.tip { position: fixed; z-index: calc(var(--z-toast) + 1); max-width: min(320px, 86vw); 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.35; white-space: normal; pointer-events: none; opacity: 0; transform: translateY(-3px); transition: opacity 140ms, transform 140ms var(--ease-out); box-shadow: none; }
.tip.on { opacity: 1; transform: none; }
.tip--t { transform: translateY(3px); }
.tip--right { transform: translateX(-3px); }
@media (pointer: coarse) { .tip { display: none; } }

/* ---------- blocked actions: look disabled, still explain themselves ---------- */
[aria-disabled="true"] { cursor: not-allowed !important; }
.btn[aria-disabled="true"], .b[aria-disabled="true"], .ib[aria-disabled="true"] { pointer-events: auto; opacity: .5; }
.btn[aria-disabled="true"]::before { display: none; }
.navc__b[aria-disabled="true"] { opacity: .35; }
.is-attn { position: relative; animation: attn 2.3s var(--ease-out) both; }
@keyframes attn { 0%, 100% { box-shadow: var(--sh-1); } 12%, 70% { box-shadow: 0 0 0 3px var(--c-brand), 0 0 0 8px color-mix(in srgb, var(--c-brand) 18%, transparent); } }
.opts.is-attn, .f.is-attn, .pk.is-attn { border-radius: 16px; }

/* ---------- toasts ---------- */
.toast { position: relative; overflow: hidden; padding: var(--sp-10) var(--sp-6) var(--sp-10) var(--sp-16); gap: var(--sp-8); min-height: 52px; }
.toast__m { flex: 1; min-width: 0; }
.toast__m b { font-weight: var(--w-semi); }
.toast .toast__a { flex: none; min-height: 36px; padding: 0 var(--sp-12); border-radius: 10px; color: var(--c-white); font-weight: var(--w-semi); background: color-mix(in srgb, var(--c-white) 14%, transparent); white-space: nowrap; }
.toast .toast__a:hover { background: color-mix(in srgb, var(--c-white) 22%, transparent); }
.toast .toast__x { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: color-mix(in srgb, var(--c-white) 80%, transparent); padding: 0; }
.toast .toast__x .i { width: var(--ic-16); height: var(--ic-16); color: inherit; }
.toast__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--c-brand); transform-origin: left; animation: toastBar var(--ms) linear forwards; }
@keyframes toastBar { to { transform: scaleX(0); } }
.toast.out { opacity: 0; transform: translateY(6px); transition: opacity 200ms, transform 200ms; }

/* ---------- top bar ---------- */
.top__q { position: relative; padding: 0 var(--sp-10) 0 var(--sp-4); cursor: text; }
.top__q:focus-within { box-shadow: inset 0 0 0 1.5px var(--c-brand); }
.top__qi { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--c-ink-2); flex: none; }
.top__qin { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font: inherit; font-size: var(--fs-15); color: var(--c-ink); outline: none; }
.top__qin::placeholder { color: var(--c-ink-3); }
.top__qin::-webkit-search-cancel-button { display: none; }
.qd { position: absolute; left: 0; right: 0; top: calc(100% + var(--sp-8)); z-index: var(--z-pop); max-height: min(70vh, 520px); overflow: auto; overscroll-behavior: contain; padding: var(--sp-6); border-radius: 18px; background: var(--c-white); box-shadow: var(--sh-3), 0 0 0 1px var(--c-line); animation: popIn 160ms var(--ease-out); }
.qd__g { padding: var(--sp-10) var(--sp-12) var(--sp-4); font-size: var(--fs-12); font-weight: var(--w-semi); letter-spacing: .02em; color: var(--c-ink-3); }
.qd__i { display: flex; align-items: center; gap: var(--sp-12); min-height: 52px; padding: var(--sp-6) var(--sp-10); border-radius: 12px; color: var(--c-ink); }
.qd__i.on { background: var(--c-sel); }
.qd__ic { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--c-bg-2); color: var(--c-ink); flex: none; }
.qd__ic .i { width: var(--ic-17); height: var(--ic-17); }
.qd__t { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
.qd__t b { font-weight: var(--w-med); font-size: var(--fs-14); }
.qd__t small { font-size: var(--fs-12); color: var(--c-ink-3); }
.qd__k { flex: none; font-size: var(--fs-12); color: var(--c-ink-3); }
.qd__e { display: grid; gap: var(--sp-4); padding: var(--sp-18) var(--sp-14); font-size: var(--fs-14); color: var(--c-ink-2); }
.qd__e span { font-size: var(--fs-13); color: var(--c-ink-3); }
@media (max-width: 767.98px) {
  .top__q { padding: 0; cursor: pointer; }
  .top__qin, .top__q .kbd { display: none; }
  .top__q.is-open { position: absolute; left: var(--sp-10); right: var(--sp-10); top: var(--sp-10); z-index: calc(var(--z-top) + 2); width: auto; height: 46px; border-radius: 99px; padding: 0 var(--sp-10) 0 var(--sp-4); background: var(--c-white); box-shadow: var(--sh-3), inset 0 0 0 1.5px var(--c-brand); }
  .top__q.is-open .top__qin { display: block; }
  .qd { position: fixed; left: var(--sp-10); right: var(--sp-10); top: var(--sp-64); max-height: calc(100dvh - 140px); }
}
.top__cart { position: relative; display: inline-flex; align-items: center; gap: var(--sp-8); height: 46px; padding: 0 var(--sp-16) 0 var(--sp-13); border-radius: 99px; background: var(--c-white); box-shadow: inset 0 0 0 1px var(--c-line); color: var(--c-ink); font-size: var(--fs-14); font-weight: var(--w-med); transition: background 160ms; }
.top__cart:hover { background: var(--c-hover); }
.top__cart .i { width: var(--ic-20); height: var(--ic-20); }
.top__cart .cnt { position: static; margin-left: var(--sp-2); }
@media (max-width: 767.98px) { .top__cart { width: 44px; height: 44px; padding: 0; justify-content: center; } .top__cart-l { display: none; } .top__cart .cnt { position: absolute; top: var(--sp-2); right: 0; margin: 0; } }
.top__me { max-width: 210px; }
.top__me-t b { font-size: var(--fs-14); }
.top__me-t small { font-size: var(--fs-11); max-width: 120px; }
.cnt { min-width: 20px; height: 20px; font-size: 0.6875rem; box-shadow: 0 0 0 2px var(--c-white); }

/* ---------- patient picker (dropdown with search) ---------- */
.pk { position: relative; display: grid; gap: var(--sp-8); }
.pk__l { font-size: var(--fs-14); font-weight: var(--w-med); color: var(--c-ink); }
.pk__f { position: relative; display: flex; align-items: center; gap: var(--sp-10); min-height: 56px; padding: 0 var(--sp-8) 0 var(--sp-14); border-radius: 16px; background: var(--c-white); box-shadow: inset 0 0 0 1px var(--c-line-2); cursor: text; transition: box-shadow 160ms; }
.pk__f:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c-ink) 30%, transparent); }
.pk.is-open .pk__f, .pk__f:focus-within { box-shadow: inset 0 0 0 2px var(--c-ink); }
.pk__f > .i { width: var(--ic-18); height: var(--ic-18); color: var(--c-ink-2); flex: none; }
.pk__in { flex: 1; min-width: 0; height: 52px; border: 0; background: none; font: inherit; font-size: var(--fs-15); color: var(--c-ink); outline: none; }
.pk__in::placeholder { color: var(--c-ink-3); }
.pk__chev { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: var(--c-ink-2); flex: none; transition: transform 200ms var(--ease-out); }
.pk.is-open .pk__chev { transform: rotate(180deg); }
.pk__sel { display: flex; align-items: center; gap: var(--sp-12); min-height: 64px; padding: var(--sp-8) var(--sp-8) var(--sp-8) var(--sp-12); border-radius: 16px; background: var(--c-sel); box-shadow: inset 0 0 0 1.5px var(--c-ink); }
.pk__sel .cell__t b { font-weight: var(--w-semi); }
.pk__dd { position: absolute; left: 0; right: 0; top: calc(100% + var(--sp-6)); z-index: 12; max-height: 320px; overflow: auto; overscroll-behavior: contain; padding: var(--sp-6); border-radius: 16px; background: var(--c-white); box-shadow: var(--sh-3), 0 0 0 1px var(--c-line); animation: popIn 150ms var(--ease-out); }
.pk__h { padding: var(--sp-8) var(--sp-10) var(--sp-4); font-size: var(--fs-12); font-weight: var(--w-semi); color: var(--c-ink-3); }
.pk__o { width: 100%; display: flex; align-items: center; gap: var(--sp-12); min-height: 56px; padding: var(--sp-6) var(--sp-10); border-radius: 12px; text-align: left; color: var(--c-ink); }
.pk__o.hi { background: var(--c-sel); }
.pk__o.on { box-shadow: inset 0 0 0 1.5px var(--c-ink); }
.pk__o .cell__t { flex: 1; min-width: 0; }
.pk__o .cell__t b { font-weight: var(--w-med); }
.pk__o > .i { width: var(--ic-18); height: var(--ic-18); color: var(--c-ok); flex: none; }
.pk__o mark { background: color-mix(in srgb, var(--c-brand) 22%, transparent); color: inherit; border-radius: 3px; padding: 0 var(--sp-1); }
.pk__none { display: grid; gap: var(--sp-4); padding: var(--sp-16) var(--sp-12); font-size: var(--fs-14); color: var(--c-ink-2); }
.pk__none small { color: var(--c-ink-3); }
.mdl .pk__dd { position: absolute; max-height: 260px; }

/* =================== Overview =================== */
.today--hot { box-shadow: var(--sh-1), inset 0 0 0 1.5px var(--c-ink); }
.today--hot .today__n { font-weight: var(--w-reg); }
.money .figs { margin-bottom: var(--sp-14); }
.fig__d { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-6); font-size: var(--fs-12); color: var(--c-ink-2); }
.chart-note { margin-top: var(--sp-10); font-size: var(--fs-13); color: var(--c-ink-3); }
.cc--vals .cc__b { overflow: visible; }
.cc__v { position: absolute; left: 50%; bottom: calc(100% + var(--sp-4)); translate: -50% 0; font-size: var(--fs-11); font-weight: var(--w-semi); color: var(--c-ink); white-space: nowrap; font-variant-numeric: tabular-nums; pointer-events: none; }
.cc__b--2 .cc__v { color: var(--c-brand-ink); }
.cc__v--neg { bottom: auto; top: calc(100% + var(--sp-4)); color: var(--c-err) !important; }
.cc__c { outline: none; }
.cc__c:focus-visible { box-shadow: 0 0 0 2px var(--c-brand); }
.cc__c.cur { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--c-brand) 9%, transparent) 0 6px, transparent 6px 12px); }
.cc__c.cur .cc__b--1 { background: color-mix(in srgb, var(--c-ink) 72%, var(--c-white)); }
.cc__x .cur { font-weight: var(--w-semi); color: var(--c-ink); }
.cc__x { font-size: var(--fs-12); }
.legend__cur i { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--c-brand) 45%, transparent) 0 3px, transparent 3px 6px) !important; box-shadow: inset 0 0 0 1px var(--c-line-2); }
@container (max-width: 520px) { .cc__b--2 .cc__v { display: none; } }
.money { container-type: inline-size; }
@media (max-width: 560px) { .cc__b--2 .cc__v { display: none; } .cc__v { font-size: 0.625rem; } }
.chart__tip b { font-weight: var(--w-semi); }

.vlist { display: grid; }
.vrow { display: flex; align-items: center; gap: var(--sp-14); min-height: 76px; padding: var(--sp-10) var(--tile-p); border-top: 1px solid var(--c-line); color: var(--c-ink); transition: background 160ms; }
.vrow:hover { background: var(--c-hover); }
.vt { display: grid; justify-items: center; align-content: center; width: 64px; height: 60px; flex: none; border-radius: 14px; background: var(--c-bg); box-shadow: inset 0 0 0 1px var(--c-line); line-height: 1.05; }
.vt small { font-size: 0.6875rem; font-weight: var(--w-semi); letter-spacing: .03em; text-transform: uppercase; color: var(--c-ink-2); }
.vt b { font-size: var(--fs-18); font-weight: var(--w-semi); letter-spacing: -.02em; }
.vrow--today .vt { background: var(--c-ink); color: var(--c-white); box-shadow: none; }
.vrow--today .vt small { color: color-mix(in srgb, var(--c-white) 78%, transparent); }
.vrow__t { display: grid; flex: 1; min-width: 0; gap: var(--sp-2); }
.vrow__t b { font-weight: var(--w-med); font-size: var(--fs-15); }
.vrow__t small { font-size: var(--fs-13); color: var(--c-ink-2); }
.vrow__in { flex: none; min-height: 30px; display: inline-flex; align-items: center; padding: 0 var(--sp-10); border-radius: 99px; background: var(--c-bg-2); font-size: var(--fs-13); color: var(--c-ink-2); }
.vrow__join { flex: none; display: inline-flex; align-items: center; gap: var(--sp-6); min-height: 40px; padding: 0 var(--sp-14); border-radius: 99px; background: var(--c-ok); color: var(--c-pri-on); font-weight: var(--w-semi); font-size: var(--fs-14); }
.vrow__join .i { width: var(--ic-16); height: var(--ic-16); color: var(--c-pri-on); }

.arow { color: var(--c-ink); transition: background 160ms; }
a.arow:hover { background: var(--c-hover); }
.arow--crit .arow__t b::after { display: none; }
.arow__go { width: 16px; height: 16px; color: var(--c-ink-3); flex: none; }
.arow__flag { flex: none; color: var(--c-err); }
.arow__flag .i { color: var(--c-err); }
.tag--review { display: inline-flex; align-items: center; min-height: 22px; padding: 0 var(--sp-8); margin-left: var(--sp-6); border-radius: 6px; background: var(--st-wait-bg); color: var(--st-wait); font-size: var(--fs-11); font-weight: var(--w-semi); vertical-align: 1px; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--st-wait) 22%, transparent); }
@media (max-width: 599.98px) { .arow__flag span { display: none; } .arow__flag { min-width: 40px; padding: 0; justify-content: center; } .arow time { display: none; } }

.setup__l li.next { background: var(--c-sel); margin: 0 calc(var(--tile-p) * -1); padding-left: var(--tile-p); padding-right: var(--tile-p); border-radius: 14px; border-top-color: transparent; }
.setup__l li.next .setup__n { box-shadow: inset 0 0 0 2px var(--c-ink); font-weight: var(--w-semi); }
.setup__l li.locked .setup__t b { color: var(--c-ink-2); }
.setup__ok { display: inline-flex; align-items: center; gap: var(--sp-6); font-size: var(--fs-13); font-weight: var(--w-med); color: var(--c-ok); }
.setup__ok .i { width: var(--ic-15); height: var(--ic-15); }
.setup__l li.done .setup__n { background: var(--c-ok); }

/* =================== Catalog =================== */
/* sale banner carousel (round 2): 2 photo slides (5:1), copy on the calm left side, products on the right */
.salebn { position: relative; display: grid; min-height: clamp(188px, 15vw, 252px); margin-bottom: var(--gap); border-radius: var(--tile-r); overflow: hidden; background: var(--c-x-eef1f4); isolation: isolate; box-shadow: var(--sh-1); }
.salebn__s { grid-area: 1 / 1; position: relative; display: flex; align-items: center; padding: clamp(var(--sp-18), 2.6vw, var(--sp-34)); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease-out), visibility 0s .5s; }
.salebn__s.on { opacity: 1; visibility: visible; transition: opacity .5s var(--ease-out), visibility 0s; }
.salebn__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; z-index: -1; }
.salebn__s::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, color-mix(in srgb, var(--c-x-f6f8fa) 94%, transparent) 0%, color-mix(in srgb, var(--c-x-f6f8fa) 78%, transparent) 34%, color-mix(in srgb, var(--c-x-f6f8fa) 0%, transparent) 58%); }
.salebn__c { display: grid; gap: var(--sp-6); max-width: min(520px, 54%); color: var(--c-x-0b1a33); }
.salebn__k { justify-self: start; display: inline-flex; align-items: center; min-height: 26px; padding: 0 var(--sp-10); border-radius: 8px; background: var(--c-x-0b1a33); color: var(--c-pri-on); font-size: var(--fs-12); font-weight: var(--w-semi); letter-spacing: .02em; }
.salebn__t { font-size: clamp(1.35rem, 1rem + 1.2vw, 2rem); font-weight: var(--w-reg); letter-spacing: -.02em; line-height: 1.15; }
.salebn__pct { display: inline-block; padding: 0 var(--sp-10); border-radius: 10px; background: var(--c-x-b3261e); color: var(--c-pri-on); font-weight: var(--w-semi); }
.salebn__s2 { font-size: var(--fs-14); color: var(--c-x-23304d); max-width: 46ch; }
.salebn__a { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-10); margin-top: var(--sp-6); }
.salebn__v { background: color-mix(in srgb, var(--c-pri-on) 90%, transparent); }
.salebn__time { display: inline-flex; align-items: center; gap: var(--sp-6); min-height: 36px; padding: 0 var(--sp-12); border-radius: 99px; background: color-mix(in srgb, var(--c-pri-on) 90%, transparent); color: var(--c-x-0b1a33); font-size: var(--fs-13); font-weight: var(--w-med); }
.salebn__time .i { width: var(--ic-15); height: var(--ic-15); }
.salebn__nav { position: absolute; right: var(--sp-14); bottom: var(--sp-14); z-index: 3; display: inline-flex; align-items: center; gap: var(--sp-2); padding: var(--sp-3); border-radius: 99px; background: color-mix(in srgb, var(--c-pri-on) 92%, transparent); color: var(--c-x-0b1a33); font-size: var(--fs-13); font-weight: var(--w-med); box-shadow: none; }
.salebn__nav .num { min-width: 42px; text-align: center; }
.salebn__b { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 99px; color: var(--c-x-0b1a33); }
.salebn__b:hover { background: var(--c-x-e9edf2); }
.salebn__b .i { width: var(--ic-18); height: var(--ic-18); }
@media (max-width: 767.98px) {
  /* phone: photo strip on top (products visible), copy below on a calm surface, never text over the vials */
  .salebn { min-height: 0; background: var(--c-x-f4f6f8); }
  .salebn__s { flex-direction: column; align-items: stretch; padding: 0; }
  .salebn__s::before { display: none; }
  .salebn__bg { position: relative; inset: auto; z-index: 0; height: 128px; object-position: 82% center; }
  .salebn__c { max-width: 100%; padding: var(--sp-14) var(--sp-16) var(--sp-16); }
  .salebn__a .salebn__v { display: none; }
  .salebn__nav { top: var(--sp-10); left: var(--sp-10); right: auto; bottom: auto; }
}
@media (prefers-reduced-motion: reduce) { .salebn__s, .salebn__s.on { transition: none; } }
.fchip { display: inline-flex; align-items: center; gap: var(--sp-10); min-height: 40px; padding: 0 var(--sp-14); margin: 0 0 var(--gap); border-radius: 99px; background: var(--c-sel); font-size: var(--fs-14); }
.fchip .i { width: var(--ic-16); height: var(--ic-16); color: var(--c-brand); }

.pcard__rib { min-height: 42px; }
.pcard__rib b { font-weight: var(--w-semi); }
.pcard__rib--out { background: var(--c-bg-2); color: var(--c-ink-2); }
.pcard__rib--out > .i { color: var(--c-ink-2); }
.pcard__x { width: 36px; height: 36px; }
.pcard__x:hover { background: color-mix(in srgb, var(--c-err) 70%, transparent); }
.pcard__chk { top: var(--sp-58) !important; }
.pcard__m img, .pcard__m img.is-photo { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pcard__m { aspect-ratio: 16 / 11; background: var(--c-x-dcdcdc); }
.pcard__b { gap: var(--sp-8); padding: var(--sp-12) var(--sp-14) var(--sp-14); }
.pcard__n { min-height: 0; }
.pcard__n b { font-size: var(--fs-16); }
.pcard__sub { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-8); font-size: var(--fs-13); color: var(--c-ink-2); min-width: 0; }
.stk { flex: none; font-size: var(--fs-12); font-weight: var(--w-semi); white-space: nowrap; }
.stk--ok { color: var(--c-ok); } .stk--wait { color: var(--c-warn); } .stk--err { color: var(--c-err); }
.var--one span { display: inline-flex; align-items: center; min-height: 30px; padding: 0 var(--sp-10); border-radius: 10px; background: var(--c-bg); font-size: var(--fs-12); color: var(--c-ink-2); }
.var button { min-height: 32px; }
.pcard__p { padding-top: var(--sp-8); }
.pcard__p b { font-size: var(--fs-16); }
.pcard__p em { font-weight: var(--w-med); }
.pcard__f { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
.pcard__f .b { min-height: 40px; font-size: var(--fs-13); gap: var(--sp-6); padding: 0 var(--sp-6); }
.pcard__f .b .i { width: var(--ic-16); height: var(--ic-16); }
.pcard__f .b:only-child { grid-column: 1 / -1; }
.pcard { container-type: inline-size; }
@container (max-width: 230px) { .pcard__f { grid-template-columns: 1fr; } }
.disc { position: absolute; z-index: 2; left: var(--sp-10); top: var(--sp-10); display: grid; justify-items: center; min-width: 58px; padding: var(--sp-6) var(--sp-8) var(--sp-5); border-radius: 12px; background: var(--c-x-b3261e); color: var(--c-pri-on); font-size: var(--fs-18); font-weight: var(--w-semi); line-height: 1; letter-spacing: -.02em; box-shadow: none; }
.disc small { font-size: 0.625rem; font-weight: var(--w-semi); letter-spacing: .06em; text-transform: uppercase; margin-top: var(--sp-3); opacity: .92; }
.disc--pill { left: var(--sp-12); top: var(--sp-12); display: inline-flex; min-width: 0; padding: var(--sp-5) var(--sp-9); border-radius: 8px; font-size: var(--fs-13); letter-spacing: 0; box-shadow: none; }
.disc--sm { left: var(--sp-2); top: var(--sp-2); min-width: 0; padding: var(--sp-2) var(--sp-5); font-size: var(--fs-11); border-radius: 6px; }
.thumb { position: relative; }
.sto { display: inline-flex; align-items: center; gap: var(--sp-6); min-height: 26px; padding: 0 var(--sp-10); border-radius: 8px; background: var(--c-bg-2); color: var(--c-ink-2); font-size: var(--fs-12); font-weight: var(--w-med); white-space: nowrap; }
.sto .i { width: var(--ic-14); height: var(--ic-14); }
.sto--in { background: var(--c-ink); color: var(--c-white); }
.row--nw { flex-wrap: nowrap; }
.b--cart:not([aria-disabled="true"]):hover { background: var(--c-ink); color: var(--c-white); box-shadow: none; }
.b--cart:not([aria-disabled="true"]):hover .i { color: var(--c-brand); }

.bulk { gap: var(--sp-8); padding: var(--sp-8) var(--sp-8) var(--sp-8) var(--sp-18); min-height: 60px; }
.bulk__n { font-weight: var(--w-semi); margin-right: var(--sp-4); }
.bulk__l { display: inline-flex; align-items: center; gap: var(--sp-6); min-height: 40px; padding: 0 var(--sp-12); border-radius: 10px; color: var(--c-white); font-size: var(--fs-14); font-weight: var(--w-med); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--c-white) 45%, transparent); }
.bulk__l:hover { background: color-mix(in srgb, var(--c-white) 12%, transparent); text-decoration-color: currentColor; }
.bulk__l .i { width: var(--ic-14); height: var(--ic-14); }
.bulk__b { display: inline-flex; align-items: center; gap: var(--sp-8); min-height: 44px; padding: 0 var(--sp-16); border-radius: 12px; color: var(--c-white); font-weight: var(--w-semi); font-size: var(--fs-14); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c-white) 45%, transparent); transition: background 160ms, color 160ms, box-shadow 160ms; }
.bulk__b .i { width: var(--ic-18); height: var(--ic-18); }
.bulk__b:hover { background: var(--c-white); color: var(--c-ink); box-shadow: none; }
.bulk__b--go { background: var(--c-brand); box-shadow: none; color: var(--c-pri-on); }
.bulk__b--go:hover { background: var(--c-pri-on); color: var(--c-ink); }

/* =================== Product page =================== */
.gal__wrap { display: grid; gap: var(--sp-10); }
@media (min-width: 1024px) { .gal__wrap { grid-template-columns: 76px minmax(0, 1fr); align-items: start; } .gal__th { grid-template-columns: 1fr; grid-auto-rows: auto; order: 0; } .gal__th button { aspect-ratio: 1; } }
.gal__stage { max-height: calc(100dvh - 300px); min-height: 280px; aspect-ratio: 4 / 3; background: var(--c-x-dcdcdc); }
@media (min-width: 1024px) { .gal__stage { margin-inline: auto; width: 100%; } }
.gal__s--p > img, .gal__s--p > img.is-photo { inset: 0; width: 100%; height: 100%; object-fit: cover; padding: 0; }
.gal__th img, .gal__th button:first-child img { object-fit: cover; padding: 0 !important; }
.gal__cap { margin-top: var(--sp-10); font-size: var(--fs-14); color: var(--c-ink-2); min-height: 1.4em; }
.gal__th button.on::after { box-shadow: inset 0 0 0 2.5px var(--c-ink); }
.stick--scroll { max-height: calc(100dvh - var(--top-h) - 32px); overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: var(--sp-2); margin: calc(-1 * var(--sp-2)); }
@media (max-width: 1023.98px) { .stick--scroll { max-height: none; overflow: visible; } }
.sp-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-8); }
.sp-sum > div { display: grid; gap: var(--sp-2); padding: var(--sp-10) var(--sp-12); border-radius: 12px; background: var(--c-bg); }
.sp-sum span { font-size: var(--fs-12); color: var(--c-ink-2); }
.sp-sum b { font-size: var(--fs-18); font-weight: var(--w-med); }
.sp-sum .is-pos { color: var(--c-ok); }
.tiers .tier { position: relative; text-align: left; cursor: pointer; min-height: 64px; transition: box-shadow 160ms, background 160ms; }
.tiers .tier:hover { box-shadow: inset 0 0 0 1.5px var(--c-ink-3); }
.tiers .tier.on { background: var(--c-ink); color: color-mix(in srgb, var(--c-white) 80%, transparent); box-shadow: none; }
.tiers .tier.on b, .tiers .tier.on b small { color: var(--c-white); }
.tier__ok { position: absolute; top: var(--sp-8); right: var(--sp-8); width: 14px; height: 14px; color: var(--c-brand); }
.mono { font-size: 1em; letter-spacing: 0; }
.dl .mono, .flag .mono { font-size: 1em; }

/* =================== Store, offers, patient view =================== */
.obn { position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-16); min-height: 120px; margin: 0 0 var(--sp-16); padding: var(--sp-18) var(--sp-22); border-radius: 20px; overflow: hidden; isolation: isolate; color: var(--c-x-0b1a33); background: var(--c-x-dff2fa); }
.obn__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.obn--deep { background: linear-gradient(120deg, var(--c-ink), var(--c-x-1e3a8a) 60%, var(--c-electric)); color: var(--c-pri-on); }
.obn--lav { background: linear-gradient(120deg, var(--c-lav-hi), var(--c-x-ddd3fd) 55%, var(--c-tint-2)); }
.obn--img { color: var(--c-pri-on); }
.obn--img::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, color-mix(in srgb, var(--c-deep) 62%, transparent), color-mix(in srgb, var(--c-deep) 10%, transparent)); }
.obn__c { display: grid; gap: var(--sp-4); min-width: 0; }
.obn__k { justify-self: start; padding: var(--sp-2) var(--sp-9); border-radius: 7px; background: color-mix(in srgb, var(--c-pri-on) 90%, transparent); color: var(--c-x-0b1a33); font-size: var(--fs-11); font-weight: var(--w-semi); letter-spacing: .04em; text-transform: uppercase; }
.obn--calm .obn__k, .obn--lav .obn__k { background: var(--c-x-0b1a33); color: var(--c-pri-on); }
.obn__c b { font-size: clamp(1.15rem, .9rem + .8vw, 1.6rem); font-weight: var(--w-med); letter-spacing: -.02em; }
.obn__c span:last-child { font-size: var(--fs-14); opacity: .92; }
.obn__pct { flex: none; font-size: clamp(1.8rem, 1.2rem + 2vw, 3rem); font-weight: var(--w-semi); letter-spacing: -.04em; }
.obn--sm { min-height: 92px; margin: 0; flex: 1 1 320px; }
.obn--prev { margin: 0; }
.offer-live { align-items: stretch !important; }
.offer-live__r { display: grid; align-content: center; gap: var(--sp-8); flex: 0 1 220px; }
.tpls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-8); margin-top: var(--sp-10); }
.tpl { display: grid; gap: var(--sp-6); cursor: pointer; font-size: var(--fs-13); }
.tpl__s { position: relative; display: block; aspect-ratio: 16 / 6; border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--c-line-2); background: var(--c-x-dff2fa); }
.tpl__s img { width: 100%; height: 100%; object-fit: cover; }
.tpl__s--deep { background: linear-gradient(120deg, var(--c-ink), var(--c-x-1e3a8a) 60%, var(--c-electric)); }
.tpl__s--lav { background: linear-gradient(120deg, var(--c-lav-hi), var(--c-x-ddd3fd) 55%, var(--c-tint-2)); }
.tpl input:checked + .tpl__s { box-shadow: 0 0 0 2.5px var(--c-ink); }
.tpl input:focus-visible + .tpl__s { box-shadow: 0 0 0 2.5px var(--c-brand); }
.tpl b { font-weight: var(--w-med); }
.drop { cursor: pointer; transition: background 160ms, box-shadow 160ms; }
.drop.is-over, .drop:hover { background: var(--c-sel); box-shadow: inset 0 0 0 2px var(--c-brand); }
.f__h.err { color: var(--c-err); } .f__h.ok { color: var(--c-ok); }
.preview-frame { position: relative; }
.preview-frame__tag { position: absolute; top: var(--sp-12); right: var(--sp-14); display: inline-flex; align-items: center; gap: var(--sp-6); min-height: 28px; padding: 0 var(--sp-10); border-radius: 8px; background: var(--c-ink); color: var(--c-white); font-size: var(--fs-12); font-weight: var(--w-semi); }
.preview-frame__tag .i { width: var(--ic-14); height: var(--ic-14); }
.shop-h { padding-top: var(--sp-22); }
.shop-h__cart { position: relative; display: inline-flex; align-items: center; gap: var(--sp-8); min-height: 42px; padding: 0 var(--sp-14); border-radius: 99px; background: var(--c-white); box-shadow: inset 0 0 0 1px var(--c-line); font-size: var(--fs-14); font-weight: var(--w-med); }
.shop-h__cart .cnt { position: static; }
.pcard--shop .pcard__b { gap: var(--sp-10); }
.pcard--shop .b--block { width: 100%; justify-content: center; min-height: 44px; }
.pcard--shop .b.is-added { background: var(--c-ok); }
.pcard__p s { font-size: var(--fs-13); }

/* =================== Cart + checkout =================== */
.mode__o { display: flex; align-items: center; gap: var(--sp-12); position: relative; }
.mode__o > span:nth-child(2) { display: grid; gap: var(--sp-2); flex: 1; min-width: 0; }
.mode__ic { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--c-bg-2); flex: none; }
.mode__ic .i { width: var(--ic-20); height: var(--ic-20); }
.mode__ck { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--c-line-2); flex: none; color: transparent; }
.mode__ck .i { width: var(--ic-14); height: var(--ic-14); }
.mode__o.on { background: var(--c-sel); }
.mode__o.on .mode__ic { background: var(--c-ink); color: var(--c-white); }
.mode__o.on .mode__ck { background: var(--c-ink); color: var(--c-white); box-shadow: none; }
#ck-who .pk { margin-top: var(--sp-14); }
.why-line { display: flex; align-items: flex-start; gap: var(--sp-8); padding: var(--sp-10) var(--sp-12); border-radius: 12px; background: var(--st-wait-bg); color: var(--st-wait); font-size: var(--fs-13); font-weight: var(--w-med); }
.why-line .i { margin-top: var(--sp-2); flex: none; }
.why-line[hidden] { display: none; }
.opts--sel .opt { position: relative; padding-right: var(--sp-52); }
.opts--sel .opt .chk { display: none; }
.opt__ck { position: absolute; right: var(--sp-16); top: 50%; translate: 0 -50%; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--c-line-2); color: transparent; }
.opt__ck .i { width: var(--ic-14); height: var(--ic-14); }
.opts--sel .opt:has(input:checked), .opts--sel .opt.on { background: var(--c-sel); box-shadow: inset 0 0 0 2px var(--c-ink); }
.opts--sel .opt:has(input:checked) .opt__ck { background: var(--c-ink); color: var(--c-white); box-shadow: none; }
.opts--sel .opt:has(input:focus-visible) { outline: 2px solid var(--c-brand); outline-offset: 2px; }
.opts--sel .opt > b.num { margin-right: var(--sp-4); font-size: var(--fs-16); }
.form__row--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr)); }

.pays { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: var(--sp-12); }
.pay { position: relative; display: grid; gap: var(--sp-10); padding: var(--sp-12); border-radius: 18px; background: var(--c-white); box-shadow: inset 0 0 0 1px var(--c-line-2); cursor: pointer; text-align: left; transition: box-shadow 160ms, background 160ms; }
.pay:hover { box-shadow: inset 0 0 0 1.5px var(--c-ink-3); }
.pay.on { background: var(--c-sel); box-shadow: inset 0 0 0 2.5px var(--c-ink); }
.pay:has(input:focus-visible) { outline: 2px solid var(--c-brand); outline-offset: 2px; }
.pay.is-off { cursor: not-allowed; opacity: .6; }
.pay.is-bad { box-shadow: inset 0 0 0 2px var(--c-err); }
.pay__card { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto; aspect-ratio: 1.586; padding: var(--sp-12) var(--sp-14); border-radius: 12px; color: var(--c-pri-on); background: linear-gradient(135deg, var(--c-x-1b2440), var(--c-ink)); overflow: hidden; }
.pay__card::after { content: ''; position: absolute; right: -30%; top: -40%; width: 80%; aspect-ratio: 1; border-radius: 50%; background: color-mix(in srgb, var(--c-pri-on) 7%, transparent); }
.pay__card--mastercard { background: linear-gradient(135deg, var(--c-x-3b2a5c), var(--c-ink)); }
.pay__brand { grid-column: 1 / -1; font-size: var(--fs-15); font-weight: var(--w-semi); letter-spacing: .02em; }
.pay__num { grid-column: 1 / -1; align-self: center; font-size: var(--fs-18); letter-spacing: .08em; }
.pay__card small { font-size: var(--fs-11); opacity: .85; }
.pay__exp { justify-self: end; }
.pay__t { display: grid; gap: var(--sp-2); padding-right: var(--sp-30); }
.pay__t b { font-weight: var(--w-med); }
.pay__t small { font-size: var(--fs-13); color: var(--c-ink-2); }
.pay__t .warn { color: var(--c-warn); } .pay__t .err, small.err, .err { color: var(--c-err); }
.pay__ck { position: absolute; right: var(--sp-14); bottom: var(--sp-16); width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--c-line-2); color: transparent; }
.pay__ck .i { width: var(--ic-14); height: var(--ic-14); }
.pay.on .pay__ck { background: var(--c-ink); color: var(--c-white); box-shadow: none; }
.pay--add { align-content: center; justify-items: center; text-align: center; min-height: 200px; background: var(--c-bg); box-shadow: inset 0 0 0 1.5px var(--c-line-2); border: 1.5px dashed transparent; }
.pay--add:hover { background: var(--c-sel); box-shadow: inset 0 0 0 1.5px var(--c-ink); }
.pay__plus { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--c-ink); color: var(--c-white); }
.pay--add .pay__t { padding: 0; justify-items: center; }
.billing { margin: var(--sp-14) 0 var(--sp-6); padding-top: var(--sp-14); border-top: 1px solid var(--c-line); }
.sfield { display: grid; gap: var(--sp-14); padding: var(--sp-16); border-radius: 16px; background: var(--c-bg); box-shadow: inset 0 0 0 1px var(--c-line); }
.sfield__brand { font-size: var(--fs-12); font-weight: var(--w-semi); color: var(--c-ink-2); }
.sfield__by { display: inline-flex; align-items: center; gap: var(--sp-6); justify-self: end; font-size: var(--fs-12); color: var(--c-ink-3); }
.cert .chk { align-items: flex-start; }
.cert .chk > span { font-size: var(--fs-15); }

.trk2 { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; text-align: center; }
.trk2::before, .trk2::after { content: ''; position: absolute; top: var(--sp-22); left: 12.5%; height: 4px; border-radius: 4px; }
.trk2::before { right: 12.5%; background: var(--c-line-2); }
.trk2::after { width: calc(75% * var(--p) / 100); background: var(--c-ink); transition: width .8s var(--ease-out); }
.trk2 li { position: relative; z-index: 1; display: grid; justify-items: center; gap: var(--sp-4); padding: 0 var(--sp-4); }
.trk2__ic { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--c-white); box-shadow: inset 0 0 0 2px var(--c-line-2); color: var(--c-ink-3); }
.trk2__ic .i { width: var(--ic-20); height: var(--ic-20); }
.trk2 b { font-size: var(--fs-14); font-weight: var(--w-med); color: var(--c-ink-2); }
.trk2 small { font-size: var(--fs-12); color: var(--c-ink-3); }
.trk2 li.done .trk2__ic { background: var(--c-ink); color: var(--c-white); box-shadow: none; }
.trk2 li.done b { color: var(--c-ink); }
.trk2 li.cur .trk2__ic { background: var(--c-brand); color: var(--c-pri-on); box-shadow: 0 0 0 6px color-mix(in srgb, var(--c-brand) 18%, transparent); }
.trk2 li.cur b { color: var(--c-ink); font-weight: var(--w-semi); }
.trk2 li.cur small { color: var(--c-brand-ink); font-weight: var(--w-med); }
.trk2.is-off { opacity: .55; }
@media (max-width: 479.98px) { .trk2 small { font-size: 0.6875rem; } .trk2__ic { width: 40px; height: 40px; } .trk2::before, .trk2::after { top: var(--sp-18); } }
.done-track { width: min(100%, 760px); display: grid; gap: var(--sp-14); margin: var(--sp-10) 0 var(--sp-6); padding: var(--sp-18) var(--sp-16); border-radius: 20px; background: var(--c-bg); }

/* =================== Health (weekly bars) =================== */
.wb { display: grid; gap: var(--sp-8); }
.wb__p { position: relative; height: var(--h); }
.wb__band { position: absolute; left: 0; right: 0; border-radius: 8px; background: color-mix(in srgb, var(--c-ok) 10%, transparent); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--c-ok) 35%, transparent), inset 0 -1px 0 color-mix(in srgb, var(--c-ok) 35%, transparent); }
.wb__band span { position: absolute; right: var(--sp-8); top: var(--sp-4); font-size: var(--fs-11); font-weight: var(--w-semi); color: var(--c-ok); }
.wb__cs { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: clamp(var(--sp-6), 1.4vw, var(--sp-16)); padding: 0 var(--sp-4); }
.wb__c { position: relative; }
.wb__b { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 10px 10px 4px 4px; background: color-mix(in srgb, var(--c-ink) 18%, var(--c-white)); transform-origin: bottom; animation: ccIn .5s var(--ease-out) both; }
.wb__b span { position: absolute; left: 50%; top: var(--sp-6); translate: -50% 0; font-size: var(--fs-12); font-weight: var(--w-semi); color: var(--c-ink); white-space: nowrap; }
.wb__c.cur .wb__b { background: var(--c-brand); }
.wb__c.cur .wb__b span { color: var(--c-pri-on); }
.wb__x { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: clamp(var(--sp-6), 1.4vw, var(--sp-16)); padding: 0 var(--sp-4); font-size: var(--fs-12); color: var(--c-ink-3); text-align: center; }
.wb__x .cur { color: var(--c-ink); font-weight: var(--w-semi); }
@media (max-width: 479.98px) { .wb__b span { font-size: 0.625rem; } }

/* =================== Requests: coloured decisions =================== */
.dec { display: inline-grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
.dec__b { display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-8); min-height: 46px; min-width: 132px; padding: 0 var(--sp-18); border-radius: 12px; font-weight: var(--w-semi); font-size: var(--fs-15); background: var(--c-white); transition: background 160ms, color 160ms, box-shadow 160ms; }
.dec__b .i { width: var(--ic-18); height: var(--ic-18); }
.dec__b--ok { color: var(--c-ok); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c-ok) 55%, transparent); }
.dec__b--ok:hover { background: var(--st-ok-bg); box-shadow: inset 0 0 0 2px var(--c-ok); }
.dec__b--ok.on { background: var(--c-ok); color: var(--c-pri-on); box-shadow: none; }
.dec__b--no { color: var(--c-err); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c-err) 50%, transparent); }
.dec__b--no:hover { background: var(--st-err-bg); box-shadow: inset 0 0 0 2px var(--c-err); }
.dec__b--no.on { background: var(--c-err); color: var(--c-pri-on); box-shadow: none; }
.dec__b .i, .dec__b.on .i { color: currentColor; }
.rl[data-dec="a"] { box-shadow: inset 4px 0 0 var(--c-ok); }
.rl[data-dec="r"] { box-shadow: inset 4px 0 0 var(--c-err); }
.rl { border-radius: 14px; transition: box-shadow 200ms; }
.b--yes { background: var(--c-ok); color: var(--c-pri-on); box-shadow: none; } .b--yes .i { color: var(--c-pri-on); } .b--yes:hover { background: color-mix(in srgb, var(--c-ok) 85%, var(--c-x-000000)); }
.b--no { color: var(--c-err); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c-err) 50%, transparent); } .b--no .i { color: var(--c-err); } .b--no:hover { background: var(--st-err-bg); }

/* =================== Health =================== */
.met__k { display: inline-flex; align-items: center; gap: var(--sp-8); font-weight: var(--w-med); }
.met__k .i { width: var(--ic-18); height: var(--ic-18); color: var(--c-brand); }
.met__pos { font-weight: var(--w-med); }
.met__pos--in { background: var(--st-ok-bg); color: var(--c-ok); }
.met__pos--up, .met__pos--down { background: var(--st-wait-bg); color: var(--c-warn); }
.met__row { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-12); margin: var(--sp-4) 0 var(--sp-6); }
.met__c { text-align: right; font-size: var(--fs-12); color: var(--c-ink-3); line-height: 1.4; }
.met__c b { font-size: var(--fs-13); color: var(--c-ink); font-weight: var(--w-med); }

/* =================== Chat =================== */
.chat__ttl { font-size: var(--fs-18); font-weight: var(--w-med); }
.chat__new { display: inline-flex; align-items: center; gap: var(--sp-6); min-height: 40px; padding: 0 var(--sp-14) 0 var(--sp-10); border-radius: 99px; background: var(--c-ink); color: var(--c-white); font-weight: var(--w-semi); font-size: var(--fs-14); }
.chat__new .i { width: var(--ic-18); height: var(--ic-18); color: var(--c-brand); }
.chat__new:hover { background: var(--c-brand-2); } .chat__new:hover .i { color: var(--c-pri-on); }
.ctabs { display: flex; gap: var(--sp-22); border-bottom: 1px solid var(--c-line); margin: var(--sp-2) calc(-1 * var(--sp-16)) calc(-1 * var(--sp-16)); padding: 0 var(--sp-16); }
.ctabs a { position: relative; display: inline-flex; align-items: center; gap: var(--sp-6); min-height: 44px; font-size: var(--fs-14); font-weight: var(--w-med); color: var(--c-ink-2); }
.ctabs a.on { color: var(--c-ink); }
.ctabs a.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: calc(-1 * var(--sp-1)); height: 3px; border-radius: 3px 3px 0 0; background: var(--c-ink); }
.ctabs a:hover { color: var(--c-ink); }
.ctabs__n { min-width: 20px; height: 20px; padding: 0 var(--sp-6); display: inline-grid; place-items: center; border-radius: 99px; background: var(--c-brand); color: var(--c-pri-on); font-size: var(--fs-11); font-weight: var(--w-semi); }
.chat__lh { gap: var(--sp-12); }
.cv[hidden] { display: none; }
.chat { position: relative; }
.chat__who { flex: 1; min-width: 0; display: grid; }
.chat__who b { font-weight: var(--w-med); }
a.chat__who { color: inherit; text-decoration: none; }
a.chat__who:hover b { text-decoration: underline; }
.chat__ov { flex: none; }
.chat__ov.on { background: var(--c-ink); color: var(--c-white); box-shadow: none; } .chat__ov.on .i { color: var(--c-brand); }
.chat__side[hidden] { display: none !important; }
.chat__sh b { font-weight: var(--w-semi); }
@media (max-width: 1279.98px) { .chat__side.on { display: grid !important; position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 92%); z-index: 6; background: var(--c-white); box-shadow: var(--sh-3); } }
@media (min-width: 768px) { .chat__back { display: none; } }
.msg__ok { width: 12px; height: 12px; vertical-align: -1px; margin-right: var(--sp-2); }
.msg__att img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; flex: none; }
.comp__send { display: inline-flex; align-items: center; gap: var(--sp-8); height: 44px; padding: 0 var(--sp-18) 0 var(--sp-14); border-radius: 22px; background: var(--c-ink); color: var(--c-white); font-weight: var(--w-semi); font-size: var(--fs-14); flex: none; }
.comp__send .i { width: var(--ic-18); height: var(--ic-18); color: var(--c-white); }
.comp__send:hover { background: var(--c-brand-2); }
.comp__send.has-files { background: var(--c-ok); }
@media (max-width: 479.98px) { .comp__send span { display: none; } .comp__send { padding: 0; width: 44px; justify-content: center; } }
.comp .ib .i { color: var(--c-ink); }
.chat__main { position: relative; display: flex; flex-direction: column; min-height: 0; }
.chat__main.is-drop::after, .form.is-drop::after { content: 'Drop files to attach'; position: absolute; inset: var(--sp-8); z-index: 5; display: grid; place-items: center; border-radius: 18px; background: color-mix(in srgb, var(--c-brand) 12%, var(--c-white)); box-shadow: inset 0 0 0 2px var(--c-brand); font-weight: var(--w-semi); color: var(--c-brand-ink); }
.form { position: relative; }
.stage { padding: var(--sp-10) var(--sp-12) 0; border-top: 1px solid var(--c-line); background: var(--c-bg); }
.stage[hidden] { display: none; }
.stage--form { border: 0; padding: var(--sp-12); margin-top: var(--sp-10); border-radius: 14px; }
.stage__h { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4) var(--sp-12); margin-bottom: var(--sp-8); font-size: var(--fs-13); }
.stage__h b { display: inline-flex; align-items: center; gap: var(--sp-6); color: var(--c-ok); font-weight: var(--w-semi); }
.stage__h b .i { width: var(--ic-15); height: var(--ic-15); }
.stage__h .tlink { margin-left: auto; }
.stage__l { display: flex; gap: var(--sp-8); overflow-x: auto; padding-bottom: var(--sp-10); }
.stage__i { position: relative; display: flex; align-items: center; gap: var(--sp-10); min-width: 210px; max-width: 260px; padding: var(--sp-8) var(--sp-40) var(--sp-8) var(--sp-8); border-radius: 12px; background: var(--c-white); box-shadow: inset 0 0 0 1px var(--c-line-2); flex: none; }
.stage__i img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; flex: none; }
.stage__doc { width: 52px; height: 52px; display: grid; place-items: center; align-content: center; gap: var(--sp-2); border-radius: 8px; background: var(--st-err-bg); color: var(--c-err); flex: none; }
.stage__doc .i { width: var(--ic-20); height: var(--ic-20); }
.stage__doc b { font-size: 0.625rem; font-weight: var(--w-semi); }
.stage__n { display: grid; min-width: 0; }
.stage__n b { font-weight: var(--w-med); font-size: var(--fs-13); }
.stage__n small { font-size: var(--fs-12); color: var(--c-ink-3); }
.stage__x { position: absolute; top: var(--sp-4); right: var(--sp-4); }

/* =================== Money =================== */
.amt { font-weight: var(--w-med); }
.amt--in { color: var(--c-ok); }
.amt--out { color: var(--c-ink); }
.legend--st { gap: var(--sp-8) var(--sp-18); padding: 0 var(--tile-p) var(--sp-12); font-size: var(--fs-12); color: var(--c-ink-2); }
.legend--st span { gap: var(--sp-8); }

/* =================== Settings + support =================== */
.inw--pw { position: relative; display: block; }
.inw--pw .in { padding-right: var(--sp-52); }
.pwt { position: absolute; right: var(--sp-6); top: 50%; translate: 0 -50%; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; color: var(--c-ink-2); }
.pwt:hover { background: var(--c-bg-2); color: var(--c-ink); }
.pwt .i { width: var(--ic-18); height: var(--ic-18); }
.f__l .tlink { font-size: var(--fs-13); }
.sess__l { display: grid; gap: var(--sp-8); margin-top: var(--sp-12); }
.sess__i { display: flex; align-items: center; gap: var(--sp-12); min-height: 68px; padding: var(--sp-10) var(--sp-12); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--c-line); }
.sess__i.is-cur { background: var(--c-bg); }
.sess__i.is-gone { opacity: .6; }
.sess__ic { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--c-bg-2); flex: none; }
.sess__ic .i { width: var(--ic-20); height: var(--ic-20); }
.sess .li__t b { font-weight: var(--w-med); }
.drop--row { display: flex; align-items: center; justify-items: start; gap: var(--sp-14); text-align: left; cursor: default; }
.drop--row > span { display: grid; gap: var(--sp-2); }
.drop--row span span { font-size: var(--fs-13); color: var(--c-ink-2); }
.drop--row .tlink { display: inline; font-size: inherit; }

/* =================== Lists: phones load more instead of pages =================== */
.pager--more { display: grid; gap: var(--sp-10); justify-items: stretch; text-align: center; }
.pager__more { min-height: 48px; justify-content: center; }
.wb__cs { z-index: 1; }
.wb__b { left: 50%; right: auto; width: clamp(22px, 52%, 52px); translate: -50% 0; }
.wb__band span { top: calc(-1 * var(--sp-22)); right: 0; padding: var(--sp-2) var(--sp-8); border-radius: 6px; background: var(--st-ok-bg); }
.wb__p { margin-top: var(--sp-22); }
h1 .mono { font-family: inherit; letter-spacing: -0.02em; }
.f__l { min-height: 22px; align-items: center; }
.f__l .tlink { padding: 0; min-height: 0; line-height: 1.2; }
.vt { width: 78px; }
.vt small { font-size: 0.625rem; letter-spacing: .04em; }
.tiers .tier > span { white-space: nowrap; }
.tiers .tier b { white-space: nowrap; }
@media (min-width: 480px) and (max-width: 1279.98px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pop { z-index: calc(var(--z-modal) + 2); }
.tile:has(.pk.is-open), .stack > :has(.pk.is-open) { position: relative; z-index: 30; }
.pk__dd { background: var(--c-white); z-index: 40; }
.pk__in:focus, .pk__in:focus-visible, .top__qin:focus, .top__qin:focus-visible { box-shadow: none !important; outline: none !important; }
.sess__i .li__t { flex: 1; min-width: 0; display: grid; }
.sess__i .li__t b, .sess__i .li__t small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 479.98px) { .sess__i { flex-wrap: wrap; } .sess__i > .b, .sess__i > .bdg { margin-left: var(--sp-52); } }
@media (max-width: 767.98px) { .gal__stage { min-height: 0; max-height: none; } }
@media (max-width: 459.98px) { .mode { grid-template-columns: 1fr; } }
/* product page on phones/tablets: photo → buy box (store price + add to cart) → details */
@media (max-width: 1023.98px) {
  .pdp > .stack:first-child { display: contents; }
  .pdp > .stack:first-child > * { grid-column: 1 / -1; order: 3; }
  .pdp > .stack:first-child > .gal { order: 1; }
  .pdp > aside { order: 2; }
}
@media (max-width: 767.98px) {
  .chart-h .ph__a { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); width: 100%; }
  .chart-h .ph__a > .btn { grid-column: 1 / -1; order: -1; }
  .chart-h .ph__a > * { width: 100%; justify-content: center; }
  .chart-h .ph__a > .ib { grid-column: 1 / -1; width: 100%; border-radius: 14px; }
}
@media (max-width: 599.98px) { .chat__ov span { display: none; } .chat__ov { width: 44px; padding: 0; justify-content: center; } }
@media (max-width: 767.98px) { .chart-h .ph__a > .ib { display: flex; gap: var(--sp-8); height: 44px; } .chart-h .ph__a > .ib::after { content: 'More actions'; font-size: var(--fs-14); font-weight: var(--w-med); } }
.toasts { z-index: calc(var(--z-lab) + 1); }
@media (max-width: 1099.98px) { .top__cart-l, .top__q .kbd { display: none; } .top__cart { width: 46px; padding: 0; justify-content: center; } .top__cart .cnt { position: absolute; top: var(--sp-2); right: 0; margin: 0; } }
.th { flex-wrap: wrap; row-gap: var(--sp-6); }
.th__s { white-space: normal; min-width: 0; }
.rl__h { flex-wrap: wrap; }
.rl__h .li__t { flex: 1 1 200px; min-width: 0; }
.rl__h .li__t b { overflow-wrap: anywhere; }
.rl__h .li__t, .rl__h .li__t b, .rl__h .li__t small { white-space: normal; overflow: visible; max-width: 100%; }
.rl__h .li__t .tag { white-space: normal; height: auto; }
.ph__meta .q-age { white-space: normal; }

/* =================== no decorative dots anywhere =================== */
.nfi__mk { display: none; }
.nfi.unread .nfi__t b::after { display: none; }
.nfi.unread { background: var(--c-sel); }
.nfi__u { width: auto; height: 22px; margin-top: var(--sp-2); padding: 0 var(--sp-8); border-radius: 6px; background: var(--c-ink); display: inline-grid; place-items: center; }
.nfi__u::after { content: 'New'; font-size: var(--fs-11); font-weight: var(--w-semi); color: var(--c-white); }
.mc__w { top: auto; bottom: 0; left: 0; right: 0; width: auto; height: 3px; border-radius: 0 0 10px 10px; }
.pips { gap: var(--sp-3); }
.pips i { width: 12px; height: 8px; border-radius: 3px; }
.pips i.on { background: var(--c-ink); }
.tl li.now .tl__d::after { width: 10px; height: 10px; border-radius: 3px; }
@media (max-width: 767.98px) { .cal__e { width: 10px; height: 4px; border-radius: 2px; } }

/* AAA: small white numbers sit on the deep brand blue (8.7:1), not on Electric Blue (3.7:1) */
.cnt, .ctabs__n, .cv__u, .nv__b { background: var(--c-brand-ink); color: var(--c-pri-on); }
.nv.on .nv__b { background: var(--c-white); color: var(--c-ink); }
.ptag--deal { background: var(--c-brand-ink); }
.mc__d.is-today .mc__n { background: var(--c-brand-ink); }
.gal__count { background: color-mix(in srgb, var(--c-deep) 82%, transparent) !important; color: var(--c-pri-on); }
.wb__c.cur .wb__b { background: var(--c-brand-ink); }
.trk2 li.cur .trk2__ic { background: var(--c-brand-ink); }
.msg--me .msg__m { color: color-mix(in srgb, var(--c-white) 82%, transparent); }

/* round 2: checkout "Add a new address" tile, confirmation note, product sale line, download tick window, archived tab */
.opt--add { width: 100%; text-align: left; align-items: center; border: 0; font: inherit; color: inherit; background: transparent; box-shadow: none; outline: 1.5px dashed var(--c-line-2); outline-offset: -1.5px; }
.opt--add:hover { background: var(--c-bg-2); outline-color: var(--c-ink-2); }
.opt--add:focus-visible { outline: 2px solid var(--c-brand); outline-offset: 2px; }
.opt__plus { flex: none; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 99px; background: var(--c-bg-2); color: var(--c-ink); }
.opt__plus .i { width: var(--ic-18); height: var(--ic-18); }
.done-note { display: flex; align-items: flex-start; justify-content: center; gap: var(--sp-8); max-width: 54ch; margin: var(--sp-18) auto 0; color: var(--c-ink-2); font-size: var(--fs-13); text-align: left; }
.done-note .i { flex: none; width: var(--ic-16); height: var(--ic-16); margin-top: var(--sp-2); }
.buy__sale { display: flex; align-items: center; gap: var(--sp-6); color: var(--c-x-b3261e); font-size: var(--fs-13); font-weight: var(--w-med); }
.buy__sale .i { width: var(--ic-14); height: var(--ic-14); }
.xdone { display: grid; justify-items: center; gap: var(--sp-12); padding: var(--sp-8) var(--sp-4) var(--sp-2); text-align: center; }
.xdone h2 { font-size: var(--fs-20); font-weight: var(--w-semi); }
.xdone .mute { max-width: 38ch; font-size: var(--fs-14); }
.xdone__f { display: inline-flex; align-items: center; gap: var(--sp-8); max-width: 100%; min-height: 40px; padding: 0 var(--sp-14); border-radius: 12px; background: var(--c-bg-2); font-size: var(--fs-14); }
.xdone__f .i { flex: none; width: var(--ic-18); height: var(--ic-18); color: var(--c-ink-2); }
.xdone .row { margin-top: var(--sp-6); gap: var(--sp-10); flex-wrap: wrap; justify-content: center; }
.ctabs__n--mute { background: var(--c-bg-2) !important; color: var(--c-ink) !important; }
.chat__notice--arc { background: var(--c-bg-2); }
.chat__notice--arc .i { color: var(--c-ink-2); }
.chat__notice--arc > span { flex: 1; min-width: 0; }
.chat__notice--arc .b { margin-left: auto; flex: none; }
