/* ==========================================================================
   SistaShop™ — All Users / Web (Deliverable B)
   Single stylesheet for every page in the onboarding + account flow.

   TABLE OF CONTENTS
   -----------------
   01. Design tokens (colours, type scale, radii, spacing)
   02. Base & resets
   03. Page shell (nav / main / footer)
   04. Typography utilities
   05. Buttons
   06. Form fields (text, mobile, OTP)
   07. Surfaces & cards
   08. Checkbox
   09. Trust list (green tick bullets)
   10. Profile picker
   11. Tier grid, tier cards & tier washes
   12. Benefits panel
   13. Onboarding (hero) page
   14. Progress bar (signup step indicator)
   15. Handle field, pills & tags
   16. Category grid
   17. Step rows & capture rows (identity verification)
   18. Liveness check
   19. Result screens (pending / approved / rejected)
   20. Product rows
   21. Bottom sheet
   22. Responsive — tablet & mobile
   ========================================================================== */


/* ==========================================================================
   01. DESIGN TOKENS
   Mirrors the Figma variable collection 1:1 so values stay traceable.
   ========================================================================== */
:root {
  --media-well: #0a101c;
  --phone-bg: #f2f2f7;
  /* -- Ink ---------------------------------------------------------------- */
  --ink-strong: #0c1633;
  --ink-base: #14181f;
  --ink-secondary: #5b616e;
  --ink-tertiary: #8a9099;
  --ink-body: #374151;
  /* long-form paragraph copy */
  --ink-muted: #4b5563;
  --ink-on-dark: #ffffff;

  /* -- Environment -------------------------------------------------------- */
  --surface: #ffffff;
  --chip: #E8EBF0;
  --platinum: #e9ecf1;
  --border: #e6e8ee;
  --border-strong: #d3d8e0;
  --border-quiet: #f1f3f7;
  --border-outline: #c9d2e4;
  --glass-nav: rgba(255, 255, 255, 0.85);

  /* -- Sapphire (brand) --------------------------------------------------- */
  --sapphire: #1444c4;
  --sapphire-tint: #eaf0fd;
  --sapphire-tint-ink: #0b2a8c;
  --sapphire-link: #1b5bd7;
  --grad-start: #1e4dff;
  --grad-mid: #164299;
  --grad-end: #0a1128;

  /* -- Status ------------------------------------------------------------- */
  --positive: #1b9e5a;
  --positive-ink: #1b7f45;
  --pending: #c9a227;
  --danger: #d42e3d;
  --skeleton: #edeff3;
  --divider: #f1f3f7;

  /* -- Category / accent --------------------------------------------------- */
  --teal: #0a8f8a;
  --teal-wash: #e7f4f3;
  --pink: #fa1574;
  --sapphire-mid: #e3edfb;

  /* -- Tier washes (selected tier card backgrounds) ----------------------- */
  --wash-pink-from: #fbd5e3;
  --wash-pink-mid: #fdeaf1;
  --wash-platinum-from: #d9dee6;
  --wash-platinum-mid: #edf0f4;
  --wash-gold-from: #f2dfac;
  --wash-gold-mid: #faf0d8;
  --wash-rosegold-from: #eedad1;
  --wash-rosegold-mid: #f8ebe5;
  --wash-bronze-from: #e8d3b4;
  --wash-bronze-mid: #f5e9d8;
  --wash-emerald-from: #bee7d3;
  --wash-emerald-mid: #e2f4eb;
  --wash-sapphire-from: #c3d6f5;
  --wash-sapphire-mid: #e3edfb;

  /* -- Type scale --------------------------------------------------------- */
  --fs-hero: 36px;
  /* onboarding headline  */
  --fs-display: 31px;
  /* page titles          */
  --fs-screen-title: 26px;
  /* denser page titles   */
  --fs-nav: 13px;
  --fs-card-title: 15px;
  --fs-row-title: 13.5px;
  --fs-body: 13px;
  --fs-btn-lg: 14px;
  --fs-btn-md: 12.5px;
  --fs-meta: 11.5px;
  --fs-microcaps: 11.5px;
  --fs-btn-sm: 11.5px;
  --fs-caption: 11px;
  --fs-microcaps-tight: 10px;

  --lh-hero: 1.08;
  --lh-display: 1.1;
  --lh-body: 1.45;
  --lh-meta: 1.4;
  --lh-row-title: 1.35;
  --lh-label: 1.3;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  /* -- Radii -------------------------------------------------------------- */
  --r-btn-lg: 12px;
  --r-btn-md: 10px;
  --r-btn-sm: 8px;
  --r-card: 16px;
  --r-panel: 15px;
  --r-media: 14px;
  --r-pill: 20px;
  --r-check: 7px;

  /* -- Spacing ------------------------------------------------------------ */
  --sp-stack: 9px;
  --sp-stack-loose: 11px;
  --sp-card-pad: 14px;
  --sp-btn-pad-md: 13px;
  --sp-gutter-tight: 18px;
  --sp-btn-pad-lg: 15px;

  /* -- Structure ---------------------------------------------------------- */
  --nav-h: 72px;
  --shell-w: 350px;
  /* the fixed content column from the design */
  --main-top: 64px;
  /* gap between nav bottom and content top   */

  /* -- Profile / Video Bio phone-frame screens (public/ui/css/style.css
     design-tokens section) — the only tokens those screens' copied CSS
     needs that weren't already defined above. -------------------------- */
  --sp-screen-gutter: 22px;
  --sp-screen-bottom: 34px;
  --sp-screen-top: 66px;
  --sp-card-pad-lg: 16px;
  --sp-stack-tight: 7px;
  --r-card-lg: 18px;
  --r-avatar-tile: 11px;
  --fs-section-heading: 17px;
  --fs-screen-title-compact: 24px;
  --glass-control: rgba(255, 255, 255, .2);
  --info-fill: #eaf0fd;
  --positive-fill: #eaf6ef;
  --pink-tick: #e0356b;
}


/* ==========================================================================
   02. BASE & RESETS
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Several components below set their own `display` (flex/grid/...), which
   otherwise wins over the browser's default `[hidden] { display: none }`
   rule — same-origin author CSS always beats a normal user-agent rule,
   regardless of the `hidden` attribute/property. This is what actually
   lets JS's `.prop('hidden', ...)` (or the plain `hidden` attribute) hide
   any such element site-wide. */
[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink-base);
  /* Page wash — matches the "LightBg" style applied to every frame */
  background: linear-gradient(180deg,
      #eff1f9 0%,
      #ffffff 11.538%,
      #f8f9fc 42%,
      #e9ecf6 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--sapphire);
  outline-offset: 2px;
}


/* ==========================================================================
   03. PAGE SHELL — nav, main column, footer
   ========================================================================== */

/* -- Top navigation ------------------------------------------------------- */
.site-nav {
  min-height: var(--nav-h);
  display: flex;
  flex-wrap: wrap;
  row-gap: 8px;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: var(--glass-nav);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  flex: 0 0 auto;
  /* Sticky (not just a normal flex child) so it stays visible while a page
     scrolls — the toast below anchors "just under the header" using
     --nav-h, which only stays true at every scroll position if the header
     itself never scrolls out of view. z-index keeps it above ordinary
     page content but below the bottom-sheet modal (40) and toast (60). */
  position: sticky;
  top: 0;
  z-index: 30;
}

.site-nav__logo img {
  width: 103px;
  max-height: 58px;
  height: auto;
  object-fit: contain;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: var(--fs-nav);
  color: var(--ink-secondary);
}

.site-nav__links a {
  transition: color .15s ease;
}

.site-nav__links a:hover {
  color: var(--sapphire);
}

.site-nav__sep {
  color: var(--ink-secondary);
  opacity: .7;
  user-select: none;
}

/* The logout form takes no box of its own — its `.pill` button sits in the
   nav's flex row exactly like the reusable pill buttons used elsewhere
   (e.g. username suggestions), just reused here rather than styled anew. */
.site-nav__links form {
  display: contents;
}

/* Same reasoning as the form above — Privacy/Terms are wrapped in one
   element so they can be hidden as a unit on phone screens (§29/§10
   Responsive), but `display: contents` keeps them acting as direct flex
   children of .site-nav__links the rest of the time, so they still get
   that flex row's own `gap` between "Privacy", the separator, and "Terms"
   at every breakpoint, with no duplicated gap value to keep in sync here.
   The phone-breakpoint `display: none` on this same selector overrides
   this and actually removes it, same as hiding any other element. */
.site-nav__legal {
  display: contents;
}

/* -- Main content column -------------------------------------------------- */
.page-main {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  padding: var(--main-top) 20px 40px;
}

/* The fixed 350px column every screen is built around */
.auth-shell {
  width: 100%;
  max-width: var(--shell-w);
  display: flex;
  flex-direction: column;
}

/* Vertical rhythm variants used by the different screens */
.auth-shell--gap-13>*+* {
  margin-top: 13px;
}

.auth-shell--gap-18>*+* {
  margin-top: 18px;
}

/* Signup's own primary CTA (resources/views/frontend/auth/signup.blade.php)
   — replaces this form's own 18px auth-shell--gap-18 rhythm (same
   specificity, later in the cascade) with more breathing room just for
   this one button, which sits directly under the Mobile field's own dense
   inline "Send OTP"/verified-check row and otherwise read as too tight.
   Not a Bootstrap mt-* utility: those ship with !important by default,
   which would win regardless of source order/specificity, not just
   override this one cleanly. */
[data-otp-verify-submit-cta] {
  margin-top: 34px;
}

.auth-shell--gap-22>*+* {
  margin-top: 22px;
}

/* Pushes a trailing block (secondary CTA) to the bottom on tall screens */
.auth-shell__spacer {
  flex: 1 1 auto;
  min-height: 24px;
}

/* -- Footer --------------------------------------------------------------- */
.site-footer {
  flex: 0 0 auto;
  padding: 0 20px 26px;
  text-align: center;
  font-size: var(--fs-caption);
  color: var(--ink-tertiary);
}

/* Privacy/Terms — same font-size/colour as the rest of the footer
   (inherited), just underlined on hover so they still read as links. */
.site-footer__links {
  margin-top: 4px;
}
.site-footer__links a {
  color: inherit;
  text-decoration: none;
}
.site-footer__links a:hover {
  text-decoration: underline;
}
.site-footer__links span {
  margin: 0 4px;
}


/* ==========================================================================
   04. TYPOGRAPHY UTILITIES
   ========================================================================== */
.t-hero {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--fs-hero);
  line-height: var(--lh-hero);
  color: var(--ink-strong);
  margin: 0;
}

.t-display {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  color: var(--ink-strong);
  margin: 0;
}

.t-display--ink {
  color: var(--ink-base);
}

/* Denser page title used where the screen carries a lot of content */
.t-screen-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--fs-screen-title);
  line-height: 1.15;
  color: var(--ink-strong);
  margin: 0;
}

.t-body {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink-secondary);
}

.t-body-dark {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink-body);
}

.t-meta {
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  color: var(--ink-secondary);
}

.t-caption {
  font-size: var(--fs-caption);
  line-height: var(--lh-meta);
  color: var(--ink-secondary);
}

.t-tertiary {
  color: var(--ink-tertiary);
}

.t-label {
  font-size: var(--fs-meta);
  line-height: var(--lh-label);
  font-weight: 600;
  color: var(--ink-base);
}

.t-row-title {
  font-size: var(--fs-row-title);
  line-height: var(--lh-row-title);
  font-weight: 500;
  color: var(--ink-base);
}

.t-microcaps {
  font-size: var(--fs-meta);
  line-height: var(--lh-label);
  font-weight: 600;
  letter-spacing: .69px;
  text-transform: uppercase;
  color: var(--sapphire);
}

.t-card-title {
  font-size: var(--fs-card-title);
  line-height: var(--lh-label);
  font-weight: 600;
  color: var(--ink-base);
}

.t-center {
  text-align: center;
}

.t-link {
  color: var(--sapphire-link);
}

/* Standalone brand mark (small "S" used as a page eyebrow) */
.brand-mark {
  width: 30px;
  height: auto;
}

/* Full logo lockup used on the account-type screens */
.brand-lockup {
  width: 148px;
  margin: 0 auto;
}

/* Extra breathing room under the account-type standfirst, on top of the
   13px the shell already puts between blocks. */
.t-standfirst {
  margin-bottom: 10px;
}


/* ==========================================================================
   05. BUTTONS
   ========================================================================== */
.btn-ss {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 16px 24px;
  border: 0;
  border-radius: var(--r-btn-lg);
  font-size: var(--fs-btn-lg);
  font-weight: 600;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .15s ease, background-color .15s ease;
}

.btn-ss:active {
  transform: translateY(1px);
}

/* Primary — the sapphire radial gradient from the design system */
.btn-ss--primary {
  color: var(--ink-on-dark);
  background: radial-gradient(ellipse 99% 99% at 30% 30%,
      var(--grad-start) 0%,
      #1a48cc 25%,
      var(--grad-mid) 50%,
      #102a61 75%,
      #0d1d44 87.5%,
      var(--grad-end) 100%);
  box-shadow: 0 6px 18px rgba(12, 22, 51, .18);
}

.btn-ss--primary:hover {
  box-shadow: 0 8px 22px rgba(12, 22, 51, .26);
}

/* Secondary — white with a sapphire hairline */
.btn-ss--outline {
  color: var(--sapphire);
  background: var(--surface);
  border: 1.5px solid var(--sapphire);
}

.btn-ss--outline:hover {
  background: var(--sapphire-tint);
}

/* Neutral — soft grey chip */
.btn-ss--neutral {
  color: var(--ink-base);
  background: var(--chip);
}

.btn-ss--neutral:hover {
  background: #e7eaf0;
}

/* Ghost — white with a neutral hairline (e.g. "Use a different number") */
.btn-ss--ghost {
  color: var(--ink-strong);
  background: var(--surface);
  border: 1px solid var(--border-strong);
}

.btn-ss--ghost:hover {
  border-color: var(--border-outline);
}

/* Ghost, brand-tinted label (e.g. "Create an account") */
.btn-ss--ghost-blue {
  color: var(--sapphire-tint-ink);
  background: var(--surface);
  border: 1px solid var(--border-outline);
}

.btn-ss--ghost-blue:hover {
  background: var(--sapphire-tint);
}

/* Quiet/blocked state used for the un-consented Privacy screen */
.btn-ss[disabled],
.btn-ss.is-disabled {
  cursor: not-allowed;
  color: var(--ink-secondary);
  background: var(--chip);
  box-shadow: none;
}


/* ==========================================================================
   06. FORM FIELDS
   ========================================================================== */
.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field__label {
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  color: var(--ink-secondary);
}

.field__input {
  width: 100%;
  height: 50px;
  padding: var(--sp-card-pad);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink-base);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-media);
  transition: border-color .15s ease, box-shadow .15s ease;
}

.field__input::placeholder {
  color: var(--ink-tertiary);
}

.field__input:focus {
  outline: none;
  border: 1.5px solid var(--sapphire);
  box-shadow: 0 0 0 3px rgba(20, 68, 196, .10);
}

/* Dropdown fields (e.g. VE's State select) — same custom-arrow technique as
   .field-mobile__prefix below, just with the field's own wider padding. */
.field__input.select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("../images/down-arrow.svg");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 10px 6px;
  padding-right: 36px;
}

/* Read-only/disabled fields (e.g. VE's Country/Email, prefilled from the
   account and never user-editable) — a deliberate app-level dimmed look
   rather than relying on the browser's own default disabled rendering. */
.field__input:disabled,
.field__input[readonly] {
  cursor: not-allowed;
  color: var(--ink-tertiary);
  background: var(--chip);
}

/* -- Mobile number field (country prefix + number) ------------------------ */
.field-mobile {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field-mobile__row {
  display: flex;
  align-items: center;
  gap: var(--sp-stack);
}

/* Country dialling code — an editable input. The design draws this box at
   51px, which fits a static "+61" but clips a four-digit code once it is
   typeable, so it is widened to 56px: enough for "+353" without looking
   different for the common case. */
.field-mobile__prefix {
  flex: 0 0 56px;
  width: 56px;
  height: 48px;
  padding: 0 10px;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink-base);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-media);
  transition: border-color .15s ease, box-shadow .15s ease;
}

.field-mobile__prefix:focus {
  outline: none;
  border: 1.5px solid var(--sapphire);
  box-shadow: 0 0 0 3px rgba(20, 68, 196, .10);
}

select.field-mobile__prefix {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  /* appearance: none above already removes the native browser arrow, so
     this is the only one ever shown — never doubled. */
  background-image: url("../images/down-arrow.svg");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 10px 6px;
  padding-right: 20px;
}

.field-error {
  display: block;
  margin-top: 4px;
  font-size: var(--fs-caption, 12px);
  color: var(--danger);
}

/* jQuery Validate's default highlight() adds this same errorClass straight
   onto the invalid form control itself, not just its <small> message — so
   without this, a mis-typed value's own text turned red too. Higher
   specificity than the plain .field-error rule above keeps the typed value
   in the normal input color regardless of source order; only the actual
   message element (a <small>, never an input/select/textarea) stays red. */
input.field-error,
select.field-error,
textarea.field-error {
  color: var(--ink-base);
}

/* Wraps a text input together with an inline "Send OTP"/verified-check
   action so that action can be absolutely positioned INSIDE the input's
   own box (right edge, vertically centered) rather than sitting beside it
   as a separate element. Generic — used by both the Mobile field
   (signup.blade.php) and the Email field (otp/email.blade.php). Nested
   inside .field-mobile__row specifically, it also needs to behave as that
   row's stretchy flex item (the rule just below); standing alone inside a
   plain .field it only needs the positioning context. */
.field-input-wrap {
  position: relative;
}

.field-mobile__row > .field-input-wrap {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
}

.field-inline-action {
  position: absolute;
  right: var(--sp-card-pad);
  top: 50%;
  transform: translateY(-50%);
}

/* Room for .field-inline-action inside a plain .field__input (the Email
   field) without the text running under it. */
.field__input--with-action {
  padding-right: 84px;
}

.field-mobile__number {
  width: 100%;
  height: 48px;
  padding: 0 84px 0 var(--sp-card-pad);
  font-size: var(--fs-body);
  color: var(--ink-base);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-media);
  transition: border-color .15s ease, box-shadow .15s ease;
}

.field-mobile__number:focus,
.field-mobile__number.is-focused {
  outline: none;
  border: 1.5px solid var(--sapphire);
  box-shadow: 0 0 0 3px rgba(20, 68, 196, .10);
}

/* -- OTP entry (6 single-character boxes) --------------------------------- */
.otp {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* Overrides the generic .auth-shell--gap-22 label->control rhythm (meant
   for spacing BETWEEN field groups) specifically between the OTP
   instruction line and the code boxes right below it — that gap otherwise
   reads as a much bigger label-to-control gap than Full Name/Phone Number
   get from their own .field/.field-mobile (4px/7px). Matches that same
   label-style spacing instead; the resend row right after .otp still gets
   the normal, larger .auth-shell--gap-22 rhythm. */
[data-otp-instruction] + .otp {
  margin-top: 8px;
}

.otp__box {
  flex: 1 1 0;
  min-width: 0;
  height: 56px;
  padding: 0;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-base);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-media);
  transition: border-color .15s ease, box-shadow .15s ease;
}

.otp__box:focus {
  outline: none;
}

/* Row under the OTP boxes: timer on the left, resend on the right */
.otp-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.otp-resend-processing {
  visibility: hidden;
  pointer-events: none;
}

/* Edit-address/number trigger, disabled while a Verify request is in
   flight (see setVerifyingState() in otp/mobile.blade.php and
   otp/email.blade.php) — .t-link's own custom color would otherwise mask
   the browser's default disabled treatment entirely. */
[data-otp-edit-trigger]:disabled {
  cursor: not-allowed;
  color: var(--ink-tertiary);
  opacity: .6;
}


/* ==========================================================================
   07. SURFACES & CARDS
   ========================================================================== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
}

.card--panel {
  border-radius: var(--r-panel);
}

/* Long-form reading card (Privacy notice) */
.card-prose {
  padding: 17px var(--sp-gutter-tight) var(--sp-gutter-tight);
  display: flex;
  flex-direction: column;
  gap: var(--sp-stack-loose);
  /* Fits the current (short) notice with no visible scrollbar; caps it so
     a longer notice scrolls internally instead of stretching the page. */
  max-height: 360px;
  overflow-y: auto;
}

.card-prose p {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink-body);
}


/* ==========================================================================
   08. CHECKBOX
   ========================================================================== */
.check {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
}

/* Locked until the Privacy notice has been scrolled to the bottom (or
   never needed scrolling, when it's already short enough to fit). */
.check:disabled {
  cursor: not-allowed;
  opacity: .5;
}

.check__box {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-check);
  transition: background-color .15s ease, border-color .15s ease;
}

.check__box img {
  width: 15px;
  height: 15px;
  opacity: 0;
}

.check.is-checked .check__box {
  background: var(--sapphire-link);
  border-color: var(--sapphire-link);
}

.check.is-checked .check__box img {
  opacity: 1;
}

.check__text {
  font-size: var(--fs-caption);
  line-height: var(--lh-meta);
  color: var(--ink-base);
}


/* ==========================================================================
   09. TRUST LIST — green tick reassurance bullets
   ========================================================================== */
.trust-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 2px;
}

.trust-list__item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-stack);
}

.trust-list__item img {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  margin-top: 1px;
}

.trust-list__item span {
  font-size: var(--fs-caption);
  line-height: var(--lh-meta);
  color: var(--ink-secondary);
}


/* ==========================================================================
   10. PROFILE PICKER
   ========================================================================== */
.profile-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  cursor: pointer;
  text-align: left;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.profile-card:hover {
  border-color: var(--border-outline);
}

.profile-card.is-selected {
  border: 1.5px solid var(--sapphire);
  box-shadow: 0 0 0 3px rgba(20, 68, 196, .08);
}

.profile-card__avatar {
  position: relative;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
}

/* The photo is cropped to the exact framing set on the avatar in Figma, so
   it is painted as a background rather than a plain <img>. */
.profile-card__photo {
  display: block;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--surface);
  background-color: var(--platinum);
  background-repeat: no-repeat;
  background-size: var(--avatar-size, cover);
  background-position: var(--avatar-pos, center);
}

.avatar--jessica {
  background-image: url("../images/avatar-jessica.jpg");
  --avatar-size: 167.5px 239.6px;
  --avatar-pos: -36.6px -27.2px;
}

.avatar--rachel {
  background-image: url("../images/avatar-rachel.jpg");
  --avatar-size: 89px 133.5px;
  --avatar-pos: -23.8px -25.3px;
}

.profile-card__badge {
  position: absolute;
  right: 0;
  bottom: -1px;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5px 4px;
  background: rgba(255, 255, 255, .72);
  border-radius: var(--r-btn-lg);
}

.profile-card__badge img {
  width: 100%;
  height: auto;
}

.profile-card__text {
  flex: 1 1 auto;
  min-width: 0;
}

.profile-card__name {
  font-size: var(--fs-btn-lg);
  font-weight: 600;
  color: var(--ink-base);
  margin-bottom: 3px;
}

.profile-card__role,
.profile-card__meta {
  font-size: var(--fs-caption);
  line-height: var(--lh-meta);
}

.profile-card__role {
  color: var(--ink-secondary);
  margin-bottom: 3px;
}

.profile-card__meta {
  color: var(--ink-tertiary);
}

.profile-card__chevron {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
}


/* ==========================================================================
   11. TIER GRID & TIER CARDS
   ========================================================================== */
/* The grid is a <fieldset>, so its default browser chrome is reset. */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
  /* fieldsets otherwise refuse to shrink below content */
}

/* Cards that span the whole row (Pink Tick™, Dual Diamond™) */
.tier-grid__wide {
  grid-column: 1 / -1;
}

/* The outline is an inset shadow, not a border, so it takes up no layout
   space — the card measures exactly 99.59px like the Figma component, and
   selecting one (1px -> 1.5px) does not nudge its contents. */
.tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  padding: 11px 11px 12px;
  background: var(--surface);
  border: 0;
  border-radius: var(--r-panel);
  box-shadow: inset 0 0 0 1px var(--border);
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  transition: box-shadow .15s ease;
}

.tier-card:hover {
  box-shadow: inset 0 0 0 1px var(--border-outline);
}

/* The real radio drives state and keyboard focus; it stays invisible but
   focusable, and lends the whole card its focus ring. */
.tier-card__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  pointer-events: none;
}

.tier-card:has(.tier-card__input:focus-visible) {
  outline: 2px solid var(--sapphire);
  outline-offset: 2px;
}

.tier-card__icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-btn-md);
}

/* Figma sizes the artwork to fill the 34px icon box (w-full). The Pink
   Tick™ mark is the one exception — it is drawn at 28px. */
.tier-card__icon img {
  width: 34px;
  height: auto;
}

.tier-card__icon--sm img {
  width: 28px;
}

.tier-card__name {
  font-size: var(--fs-row-title);
  line-height: var(--lh-row-title);
  font-weight: 500;
  color: var(--ink-base);
  margin-bottom: 3px;
}

.tier-card__desc {
  font-size: var(--fs-caption);
  line-height: var(--lh-meta);
  color: var(--ink-secondary);
}

.tier-card__price {
  font-size: var(--fs-caption);
  line-height: var(--lh-meta);
  font-weight: 600;
  color: var(--sapphire);
  margin-top: 2px;
}

/* Wide cards centre their content */
.tier-card--center {
  align-items: center;
  text-align: center;
}

.tier-card--center .tier-card__body {
  width: 100%;
}

/* Selected state — sapphire hairline plus the tier's own colour wash */
.tier-card.is-selected,
.tier-card.is-selected:hover {
  box-shadow: inset 0 0 0 1.5px var(--sapphire);
}

.tier-card.is-selected.tier--pink {
  background: linear-gradient(90deg, var(--wash-pink-from) 0%, var(--wash-pink-mid) 46%, #fff 100%);
}

.tier-card.is-selected.tier--platinum {
  background: linear-gradient(90deg, var(--wash-platinum-from) 0%, var(--wash-platinum-mid) 46%, #fff 100%);
}

.tier-card.is-selected.tier--gold {
  background: linear-gradient(90deg, var(--wash-gold-from) 0%, var(--wash-gold-mid) 46%, #fff 100%);
}

.tier-card.is-selected.tier--rosegold {
  background: linear-gradient(90deg, var(--wash-rosegold-from) 0%, var(--wash-rosegold-mid) 46%, #fff 100%);
}

.tier-card.is-selected.tier--bronze {
  background: linear-gradient(90deg, var(--wash-bronze-from) 0%, var(--wash-bronze-mid) 46%, #fff 100%);
}

.tier-card.is-selected.tier--emerald {
  background: linear-gradient(90deg, var(--wash-emerald-from) 0%, var(--wash-emerald-mid) 46%, #fff 100%);
}

.tier-card.is-selected.tier--sapphire {
  background: linear-gradient(90deg, var(--wash-sapphire-from) 0%, var(--wash-sapphire-mid) 46%, #fff 100%);
}


/* Stacked calls to action under the grid — 9px apart, as in the design */
.tier-actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-stack);
}


/* ==========================================================================
   12. BENEFITS PANEL — what the chosen tier unlocks
   ========================================================================== */
.benefits {
  display: flex;
  flex-direction: column;
  gap: var(--sp-stack);
  padding: var(--sp-btn-pad-md) var(--sp-card-pad);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-panel);
}

.benefits__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-stack);
}

.benefits__tier {
  font-size: var(--fs-row-title);
  line-height: var(--lh-row-title);
  font-weight: 500;
  color: var(--ink-base);
}

.benefits__tagline {
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  color: var(--ink-tertiary);
}

/* The items sit inside the [data-tier-items] wrapper that gets swapped on
   selection, so the panel's own gap does not reach them — they are spaced
   with a margin instead. The last one is reset so the panel keeps its
   bottom padding. */
.benefits__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.benefits__item:last-child {
  margin-bottom: 0;
}

.benefits__item img {
  flex: 0 0 13px;
  width: 13px;
  height: 13px;
  margin-top: 2px;
}

.benefits__title {
  font-size: var(--fs-meta);
  line-height: var(--lh-label);
  font-weight: 600;
  color: var(--ink-base);
  margin-bottom: 1px;
 word-break: break-word;
}

.benefits__copy {
  font-size: var(--fs-caption);
  line-height: var(--lh-meta);
  color: var(--ink-secondary);
}


/* ==========================================================================
   13. ONBOARDING (HERO) PAGE
   ========================================================================== */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__logo {
  width: 150px;
  margin-bottom: 27px;
  filter: drop-shadow(0 12px 26px rgba(12, 22, 51, .14));
}

.hero__eyebrow {
  font-size: 14px;
  line-height: var(--lh-meta);
  color: var(--ink-secondary);
  margin-bottom: 14px;
}

.hero__title {
  max-width: 330px;
  margin-bottom: 14px;
}

.hero__sub {
  max-width: 280px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-muted);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-stack-loose);
  width: 100%;
  margin-top: 117px;
}


/* ==========================================================================
   14. PROGRESS BAR — signup flow step indicator
   ========================================================================== */
.progress-step {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.progress-step__labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-microcaps);
  line-height: var(--lh-label);
  font-weight: 600;
  letter-spacing: .69px;
  text-transform: uppercase;
  color: var(--ink-tertiary);
}

.progress-step__pct {
  color: var(--sapphire);
}

.progress-step__track {
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  overflow: hidden;
}

.progress-step__fill {
  height: 4px;
  border-radius: 2px;
  background: var(--sapphire);
}


/* ==========================================================================
   15. HANDLE FIELD, PILLS & TAGS
   ========================================================================== */

/* -- @handle input -------------------------------------------------------- */
.handle-field {
  display: flex;
  align-items: center;
  gap: 2px;
  width: 100%;
  padding: var(--sp-btn-pad-lg);
  background: var(--surface);
  border-radius: var(--r-media);
  box-shadow: inset 0 0 0 1.5px var(--sapphire);
}

.handle-field__at {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink-tertiary);
}

.handle-field__input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 1px 2px;
  border: 0;
  background: none;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink-base);
}

.handle-field__input:focus {
  outline: none;
}

/* Availability indicator — green by default, .is-taken swaps it to the
   same red already used for form errors. */
.handle-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  color: var(--positive);
}

.handle-status.is-taken {
  color: var(--danger);
}

.handle-status img {
  width: 22px;
  height: 22px;
}

.handle-status__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 14px;
  line-height: 1;
}

/* -- Pills ---------------------------------------------------------------- */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px var(--sp-btn-pad-lg) 9.5px;
  background: var(--surface);
  border: 0;
  border-radius: var(--r-pill);
  box-shadow: inset 0 0 0 1px var(--border);
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  color: var(--ink-base);
  cursor: pointer;
  transition: box-shadow .15s ease, background-color .15s ease;
}

.pill:hover {
  box-shadow: inset 0 0 0 1px var(--border-outline);
}

/* Sapphire filled pill — the chosen document type */
.pill--on {
  background: var(--sapphire);
  color: var(--ink-on-dark);
  box-shadow: none;
  font-size: var(--fs-btn-md);
  font-weight: 600;
}

.pill--on:hover {
  box-shadow: none;
}

/* Filled pill — a chosen secondary, in its parent category's colour */
.pill--teal,
.pill--cat {
  background: var(--cat-color, var(--teal));
  color: var(--ink-on-dark);
  box-shadow: none;
  font-weight: 600;
}

.pill--teal:hover,
.pill--cat:hover {
  box-shadow: none;
}

/* Once two are chosen the rest are unavailable, not hidden */
.pill[disabled] {
  opacity: .42;
  cursor: not-allowed;
}

.pill[disabled]:hover {
  box-shadow: inset 0 0 0 1px var(--border);
}

/* -- Removable tag -------------------------------------------------------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  background: var(--surface);
  border: 0;
  border-radius: var(--r-media);
  font-size: var(--fs-caption);
  font-weight: 600;
  color: var(--cat-color, var(--teal));
  cursor: pointer;
}

.tag__x {
  font-size: 12px;
  font-weight: 400;
  opacity: .6;
}


/* ==========================================================================
   16. CATEGORY GRID
   ========================================================================== */
.cat-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.cat-head__label {
  font-size: var(--fs-microcaps);
  line-height: var(--lh-label);
  font-weight: 600;
  letter-spacing: .69px;
  text-transform: uppercase;
  color: var(--ink-secondary);
}

.cat-head__hint {
  font-size: 10.5px;
  font-style: italic;
  color: #8a909c;
  text-align: right;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
  padding: 15px 15px 15px 16px;
  background: rgba(255, 255, 255, .93);
  border: 0;
  border-radius: var(--r-card);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: box-shadow .15s ease, background-color .15s ease;
}

.cat-card:hover {
  box-shadow: inset 0 0 0 1px var(--border-outline);
}

.cat-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}

.cat-card__icon {
  width: 28px;
  height: 28px;
}

/* The source arrow points down-left; the design mirrors it to point out */
.cat-card__arrow {
  width: 18px;
  height: 18px;
  transform: scaleX(-1);
}

.cat-card__num {
  font-size: var(--fs-microcaps-tight);
  color: var(--ink-tertiary);
  line-height: 18px;
}

.cat-card__label {
  font-size: var(--fs-btn-sm);
  font-weight: 600;
  line-height: normal;
  color: var(--ink-base);
}

/* Selected — border comes from --cat-color; background switches to the
   category's own --cat-bg (admin "Background Color"), used as-is, never
   mixed/diluted with --cat-color. Unselected cards stay the plain default
   background above. */
.cat-card.is-selected {
  background: var(--cat-bg, var(--teal));
  box-shadow: inset 0 0 0 1px var(--cat-color, var(--teal));
}

.cat-card.is-selected .cat-card__label {
  color: var(--cat-color, var(--teal));
}

/* Row that opens the secondary-category sheet */
.cat-select {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 13px;
  background: rgba(255, 255, 255, .93);
  border: 0;
  border-radius: var(--r-media);
  box-shadow: inset 0 0 0 1px #e4e7ee, 0 1px 2px rgba(12, 22, 51, .05);
  cursor: pointer;
  text-align: left;
}

.cat-select__value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: var(--fs-meta);
  color: var(--ink-strong);
}

.cat-select__edit {
  font-size: var(--fs-caption);
  font-weight: 600;
  color: var(--sapphire);
}

/* -- 3-category picker: counter pill, selected-tile chrome, modal's own
   Primary toggle ------------------------------------------------------- */
.cat-counter {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  background: var(--sapphire-tint);
  border-radius: var(--r-btn-md);
  font-size: var(--fs-microcaps-tight);
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--sapphire-tint-ink);
}

.cat-counter.is-complete {
  background: var(--sapphire);
  color: #fff;
}

.cat-card__top-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cat-card__primary-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: var(--sapphire);
  border-radius: var(--r-pill);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}

.cat-card__primary-badge img {
  width: 9px;
  height: 9px;
}

/* Same round-chip language as .sheet__close, just smaller and scoped to a
   tile's corner. */
.cat-card__remove {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: rgb(255 255 255 / .8);
  border: 0;
  border-radius: 50%;
  font-size: 11px;
  line-height: 1;
  color: var(--ink-secondary);
  cursor: pointer;
}

.cat-card__remove:hover {
  background: #fff;
  color: var(--ink-base);
}

.cat-card__subcount {
  font-size: var(--fs-microcaps-tight);
  color: var(--ink-tertiary);
}

/* Promotes the category currently open in the modal to Primary — tinted
   while it isn't, filled solid once it is (clicking again while already
   Primary is a no-op, enforced in JS). A small chip, not a full-size
   button — it sits inline with the sheet's title/icon, not on its own row. */
.cat-primary-toggle {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  align-self: flex-start;
  padding: 5px 10px;
  background: var(--sapphire-tint);
  border: 0;
  border-radius: var(--r-pill);
  font-size: var(--fs-microcaps-tight);
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: var(--sapphire-tint-ink);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}

/* Text glyph, not an <img> — inherits the button's own font-size/weight
   directly, so it's always exactly the same size as the label next to it
   at any scale, rather than a separately-sized icon needing its own
   width/height tuned to match. */
.cat-primary-toggle__check {
  display: none;
}

.cat-primary-toggle.is-on {
  background: var(--sapphire);
  color: #fff;
}

.cat-primary-toggle.is-on .cat-primary-toggle__check {
  display: inline;
}

/* Stacks Confirm/Cancel instead of the default row — .sheet__foot already
   supplies the border-top/gap, this just flips its direction and gives
   each button its own full-width row. */
.sheet__foot--stack {
  flex-direction: column;
  align-items: stretch;
}

.sheet__foot--stack .btn-ss {
  flex: 0 0 auto;
}

.sheet__foot--stack .btn-ss + .btn-ss {
  margin-top: 0;
}


/* ==========================================================================
   17. STEP ROWS & CAPTURE ROWS — identity verification
   ========================================================================== */
.step-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: var(--sp-btn-pad-lg);
  background: var(--surface);
  border: 0;
  border-radius: var(--r-card);
  box-shadow: inset 0 0 0 1px var(--border);
  text-align: left;
}

.step-row.is-active {
  box-shadow: inset 0 0 0 1.5px var(--sapphire);
}

.step-row__num {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 17px;
  background: #eef1f6;
  font-size: var(--fs-meta);
  color: var(--ink-tertiary);
}

.step-row.is-active .step-row__num {
  background: var(--sapphire);
  color: var(--ink-on-dark);
}

/* Icon tile used in place of the number on the upload screen */
.step-row__thumb {
  flex: 0 0 74px;
  width: 74px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--divider);
  border-radius: var(--r-btn-sm);
}

.step-row__thumb img {
  width: 22px;
  height: 22px;
}

.step-row__text {
  flex: 1 1 auto;
  min-width: 0;
}

.step-row__title {
  font-size: var(--fs-row-title);
  line-height: var(--lh-row-title);
  font-weight: 500;
  color: var(--ink-base);
  margin-bottom: 3px;
}

.step-row__sub {
  font-size: var(--fs-caption);
  line-height: var(--lh-meta);
  color: var(--ink-secondary);
}

.step-row__action {
  flex: 0 0 auto;
  font-size: var(--fs-meta);
  color: var(--ink-tertiary);
}

.step-row__action--go {
  color: var(--sapphire);
}

/* -- "Before you capture" tips ------------------------------------------- */
.tips {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: var(--sp-btn-pad-md) var(--sp-card-pad) var(--sp-card-pad);
  background: var(--surface);
  border-radius: var(--r-media);
  box-shadow: inset 0 0 0 1px var(--border);
}

.tips__label {
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  color: var(--ink-secondary);
}

.tips__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.tips__item img {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  margin-top: 1px;
}

.tips__item span {
  font-size: var(--fs-caption);
  line-height: var(--lh-meta);
  color: var(--ink-body);
}


/* ==========================================================================
   18. LIVENESS CHECK
   ========================================================================== */
.liveness {
  position: relative;
  width: 250px;
  height: 250px;
  margin: 6px auto 0;
}

/* Cropped to the framing set on the capture in Figma */
.liveness__photo {
  display: block;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background-color: #dde2ea;
  background-image: url("../images/avatar-jessica.jpg");
  background-repeat: no-repeat;
  background-size: 766px 1096px;
  background-position: -160px -118px;
}

.liveness__ring {
  position: absolute;
  top: -7px;
  left: -7px;
  width: 264px;
  height: 264px;
  transform: rotate(-90deg);
}

.liveness__prompt {
  font-size: var(--fs-card-title);
  line-height: var(--lh-label);
  font-weight: 600;
  color: var(--ink-strong);
  text-align: center;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dots span {
  width: 7px;
  height: 7px;
  border-radius: 3.5px;
  background: var(--border-strong);
}

.dots span.is-on {
  background: var(--sapphire);
}


/* ==========================================================================
   19. RESULT SCREENS — pending, approved, rejected
   ========================================================================== */
.result {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Soft sphere behind the pending clock */
.result__orb {
  width: 92px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #eef0f5 55%, #dfe3ec 100%);
  box-shadow: 0 10px 24px rgba(12, 22, 51, .10);
}

.result__orb img {
  width: 38px;
  height: 38px;
}

/* Pink Tick™ mark, used large on the approved screens */
.result__tick {
  width: 79px;
  height: auto;
}

/* Pink glow behind the tick */
.result__tick-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 157px;
  height: 132px;
  /* Centers it when the parent only does text-align (e.g. ready.blade.php's
     .t-center) rather than its own flex centering — this became a block
     box once it got `display: flex`, so text-align alone no longer
     centers it like it did back when this was a plain <img>. Harmless
     where a flex parent (e.g. pink-tick/live.blade.php's .result) already
     centers it — auto margins on a centered flex item are a no-op. */
  margin: 0 auto;
}

.result__tick-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(250, 21, 116, .18) 0%, rgba(250, 21, 116, 0) 70%);
}

.result__tick-wrap img {
  position: relative;
}

/* -- Pink Tick™ entrance + ambient motion ---------------------------------
   Copied verbatim from public/ui/css/style.css's own §"Pink Tick™ entrance
   + ambient motion" — the tick's load-in (glow blooms, tick is "drawn"
   left-to-right then pops, sparks burst out) plus its looping glow-breathe
   and twinkling stars. Markup inside .result__tick-wrap: 6× span.result__star
   + 6× span.result__spark, each spark carrying its burst angle inline as
   style="--a:…deg" (all aria-hidden). Shared base class, so any existing
   .result__tick-wrap (e.g. pink-tick/live.blade.php) picks this up too —
   same as the reference, where it isn't ready-page-specific. */
.result__tick-wrap::before { animation: tick-glow-in .5s ease-out both, tick-glow-breathe 3s ease-in-out 1.2s infinite; }

.result__tick-wrap .result__tick {
  animation: tick-draw .55s cubic-bezier(.65, 0, .35, 1) .25s both,
             tick-pop .4s cubic-bezier(.34, 1.56, .64, 1) .8s both;
}

/* Four-point sparkle stars that twinkle around the tick on a loop.
   Each star sets its offset from centre, size and start delay inline:
   style="--x:-62px; --y:-44px; --s:14px; --d:1s" */
.result__star {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--s, 12px);
  height: var(--s, 12px);
  margin: calc(var(--s, 12px) / -2) 0 0 calc(var(--s, 12px) / -2);
  background: var(--pink);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  opacity: 0;
  pointer-events: none;
  transform: translate(var(--x), var(--y)) scale(0);
  animation: tick-star 2.4s ease-in-out var(--d, 1s) infinite;
}
.result__star:nth-child(even) { background: #ff7aae; }

.result__spark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: var(--pink);
  opacity: 0;
  pointer-events: none;
  animation: tick-spark 1s ease-out .95s both;
}
.result__spark:nth-child(odd) { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #ff7aae; }

@keyframes tick-glow-in {
  from { opacity: 0; transform: scale(.4); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes tick-glow-breathe {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%      { transform: scale(1.12); opacity: .7; }
}
@keyframes tick-draw {
  /* negative insets leave room for a drop-shadow on the tick */
  from { clip-path: inset(-30px 100% -30px -30px); }
  to   { clip-path: inset(-30px); }
}
@keyframes tick-pop {
  0%   { transform: scale(1); }
  45%  { transform: scale(1.14); }
  100% { transform: scale(1); }
}
@keyframes tick-star {
  0%, 100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(0) rotate(0deg); }
  50%      { opacity: 1; transform: translate(var(--x), var(--y)) scale(1) rotate(90deg); }
}
@keyframes tick-spark {
  0%   { opacity: 0; transform: rotate(var(--a)) translateY(0) scale(.4); }
  30%  { opacity: 1; }
  100% { opacity: 0; transform: rotate(var(--a)) translateY(-84px) scale(1); }
}

/* Reduced motion: show the finished tick, no stars or sparks */
@media (prefers-reduced-motion: reduce) {
  .result__tick-wrap::before,
  .result__tick-wrap .result__tick { animation: none !important; }
  .result__star,
  .result__spark { display: none; }
}

.result__x {
  font-size: 52px;
  line-height: 1;
  color: var(--danger);
}

/* Pending / status badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  background: var(--surface);
  border-radius: var(--r-pill);
  box-shadow: inset 0 0 0 1px var(--border);
  font-size: var(--fs-caption);
  color: var(--ink-secondary);
}

.status-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pending);
}

/* -- Checklist card (approved / what to fix) ------------------------------ */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding: var(--sp-card-pad) var(--sp-gutter-tight);
  background: var(--surface);
  border-radius: var(--r-card);
  box-shadow: inset 0 0 0 1px var(--border);
  text-align: left;
}

.checklist__label {
  font-size: var(--fs-microcaps-tight);
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--ink-tertiary);
}

.checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--fs-caption);
  line-height: var(--lh-meta);
  color: var(--ink-base);
}

.checklist__item img {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  margin-top: 1px;
}

/* Pink ticks on the approved screen */
.checklist__tick {
  flex: 0 0 14px;
  color: var(--pink);
  font-size: 12px;
  line-height: 1.3;
}

/* Red crosses on the rejected screen */
.checklist__cross {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fdeaec;
  color: var(--danger);
  font-size: 11px;
}


/* ==========================================================================
   20. PRODUCT ROWS — "start with these"
   ========================================================================== */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.section-head__label,
.section-head__cat {
  font-size: var(--fs-microcaps-tight);
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
}

.section-head__label {
  color: var(--ink-tertiary);
}

.section-head__cat {
  color: var(--sapphire);
}

.section-sub {
  font-size: var(--fs-caption);
  line-height: var(--lh-meta);
  color: var(--ink-secondary);
}

.product-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px;
  background: var(--surface);
  border-radius: var(--r-media);
  box-shadow: inset 0 0 0 1px var(--border);
}

.product-row__img {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: var(--r-btn-sm);
  object-fit: cover;
}

.product-row__text {
  flex: 1 1 auto;
  min-width: 0;
}

.product-row__brand {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: var(--fs-microcaps-tight);
  color: var(--ink-secondary);
  margin-bottom: 3px;
}

.product-row__brand img {
  width: 13px;
  height: auto;
}

.product-row__name {
  font-size: var(--fs-caption);
  font-weight: 600;
  color: var(--ink-base);
  margin-bottom: 3px;
}

.product-row__meta {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-size: var(--fs-caption);
}

.product-row__price {
  font-weight: 600;
  color: var(--ink-base);
}

.product-row__earn {
  font-weight: 600;
  color: var(--positive-ink);
}

/* Overrides .btn-ss's full-width default — this one hugs its label */
.product-row__cta {
  flex: 0 0 auto;
  width: auto;
  min-height: 36px;
  padding: 10px 16px;
  font-size: var(--fs-caption);
  border-radius: var(--r-btn-md);
  white-space: nowrap;
}

/* The design insets this whole block by 22px inside the 350px column */
.live-block {
  padding: 0 22px;
}

/* Boost note */
.boost {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  background: var(--sapphire-mid);
  border-radius: var(--r-media);
}

.boost img {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 1px;
}

.boost span {
  font-size: var(--fs-caption);
  line-height: var(--lh-meta);
  color: var(--sapphire-tint-ink);
}

.boost b {
  font-weight: 600;
}


/* Celebration video stage — the Figma frame is an empty placeholder, drawn
   as a tall rounded panel with a soft pink glow behind it. */
.video-stage {
  display: block;
  width: 100%;
  aspect-ratio: 390 / 640;
  border-radius: 26px;
  background:
    radial-gradient(ellipse 46% 34% at 50% 46%, rgba(250, 21, 116, .16) 0%, rgba(250, 21, 116, 0) 70%),
    linear-gradient(180deg, #fbfcfe 0%, #f4f6fb 100%);
  box-shadow: inset 0 0 0 1px var(--border);
}

/* As a <video> the stage keeps the same frame; the gradient above shows
   through while the first frame is still loading. */
video.video-stage {
  object-fit: cover;
}


/* ==========================================================================
   21. BOTTOM SHEET — secondary category picker
   ========================================================================== */
.sheet-scrim {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(12, 22, 51, .34);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.sheet {
  width: 100%;
  max-width: 390px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  padding: 10px 18px 18px;
  background: rgb(from var(--surface) r g b / 95%);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(12, 22, 51, .28);
}

/* The panel takes focus when the dialog opens so screen readers land
   inside it; it is a container, not a control, so it shows no ring —
   the buttons within still do. */
.sheet:focus,
.sheet:focus-visible {
  outline: none;
}

.sheet__grabber {
  width: 34px;
  height: 4px;
  margin: 0 auto 14px;
  border-radius: 2px;
  background: var(--border-strong);
}

.sheet__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.sheet__head img {
  width: 28px;
  height: 28px;
  margin-top: 2px;
}

.sheet__headtext {
  flex: 1 1 auto;
  min-width: 0;
}

.sheet__title {
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.15;
  color: var(--ink-strong);
}

/* Close cross — top-right of the sheet */
.sheet__close {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: var(--chip);
  border: 0;
  border-radius: 50%;
  font-size: 13px;
  line-height: 1;
  color: var(--ink-secondary);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}

.sheet__close:hover {
  background: #e4e7ee;
  color: var(--ink-base);
}

/* Running count of chosen secondaries */
.sheet__count {
  font-size: var(--fs-caption);
  font-weight: 600;
  color: var(--cat-color, var(--sapphire));
}

.sheet__sub {
  font-size: var(--fs-caption);
  line-height: var(--lh-meta);
  color: var(--ink-secondary);
}

.sheet__body {
  flex: 1 1 auto;
  overflow-y: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 16px;
  min-height: 140px;
}

/* Loading / empty / error states inside the sheet body — same 140px
   floor as the pill grid above so swapping between them never jumps. */
.cat-modal-loading,
.cat-modal-empty {
  width: 100%;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cat-modal-spinner {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid var(--border-quiet);
  border-top-color: var(--sapphire);
  animation: cat-modal-spin .7s linear infinite;
}

@keyframes cat-modal-spin {
  to {
    transform: rotate(360deg);
  }
}

.sheet__foot {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 4px;
  border-top: 1px solid var(--border-quiet);
}

.sheet__foot .btn-ss {
  flex: 1 1 auto;
  margin-top: 12px;
}

.sheet__foot .sheet__count {
  margin-top: 12px;
  white-space: nowrap;
}

/* Placeholder state for the row that opens the sheet */
.cat-select__value.is-empty {
  color: var(--ink-tertiary);
}

/* Screen-reader-only helper (Bootstrap ships one, this covers standalone use) */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ==========================================================================
   22. RESPONSIVE — tablet & mobile
   The design column is only 350px wide, so it already reads well on phones.
   These rules relax the fixed nav gutters and vertical offsets on small
   screens, and give the shell a little more room on very large ones.
   ========================================================================== */

/* -- Large desktops ------------------------------------------------------- */
@media (min-width: 1400px) {
  .site-nav {
    padding: 0 64px;
  }
}

/* -- Tablet (< 992px) ----------------------------------------------------- */
@media (max-width: 991.98px) {
  :root {
    --main-top: 48px;
  }

  .site-nav {
    padding: 0 32px;
  }

  .hero-actions {
    margin-top: 72px;
  }
}

/* -- Small tablet / large phone (< 768px) --------------------------------- */
@media (max-width: 767.98px) {
  :root {
    --main-top: 36px;
    --fs-hero: 32px;
    --fs-display: 28px;
  }

  .site-nav {
    padding: 0 20px;
  }

  .site-nav__logo img {
    width: 92px;
  }

  .site-nav__links {
    gap: 10px;
    font-size: 12px;
  }

  .page-main {
    padding-bottom: 32px;
  }

  .hero__logo {
    width: 160px;
    margin-bottom: 20px;
  }

  .hero-actions {
    margin-top: 56px;
  }

  .brand-lockup {
    width: 132px;
  }

  /* A fixed-width right-anchored toast reads as too narrow/cramped once
     the viewport itself is this narrow — spans the width instead, with
     safe margins on both sides. Same nav-relative top offset as desktop
     (--nav-h is unchanged at this breakpoint) so it still clears the
     sticky header rather than a flat viewport offset. */
  .toast-msg {
    left: 16px;
    right: 16px;
    top: calc(var(--nav-h) + 12px);
    max-width: none;
  }
}

/* -- Phone (< 576px) ------------------------------------------------------ */
@media (max-width: 575.98px) {
  :root {
    --main-top: 28px;
    --fs-hero: 29px;
    --fs-display: 26px;
  }

  /* Header dropped entirely at this width (logo included) — every page
     using this default .site-nav (not just Login/Signup), per explicit
     product decision. The rules just below (min-height/padding/logo size/
     links gap) are now moot since the element never renders, but are left
     in place rather than deleted in case this is ever toggled back. */
  .site-nav {
    display: none;
  }

  .site-nav {
    /* min-height (not height): if "Privacy · Terms · Logout" doesn't fit
       next to the logo on one line at this width, it wraps to its own row
       (see flex-wrap on .site-nav above) instead of being squeezed/clipped
       by a fixed box — a fixed height here previously left no room for
       that wrapped row, which could push the Logout button out of view. */
    min-height: 64px;
    padding: 10px 16px;
  }

  .site-nav__logo img {
    width: 84px;
  }

  .site-nav__links {
    gap: 8px;
    font-size: 11.5px;
  }

  /* Privacy/Terms dropped from the header at this width — the leading
     separator before Logout (site-nav__sep--legal) goes with it so an
     authenticated user doesn't see a stray "·" with nothing before it;
     a guest (no Logout either) just gets an empty .site-nav__links. The
     real Privacy/Terms links stay reachable from the page footer. */
  .site-nav__legal,
  .site-nav__sep--legal {
    display: none;
  }

  .page-main {
    padding: var(--main-top) 16px 28px;
  }

  .btn-ss {
    min-height: 50px;
    padding: 15px 18px;
  }

  .otp {
    gap: 6px;
  }

  .otp__box {
    height: 50px;
    font-size: 16px;
  }

  .field-mobile__prefix {
    flex-basis: 54px;
    width: 54px;
    padding: 0 9px;
    padding-right: 18px;
  }

  .card-prose {
    padding: 15px 15px 16px;
  }

  .hero-actions {
    margin-top: 44px;
  }

  .hero__logo {
    width: 140px;
  }

  .site-footer {
    padding-bottom: 20px;
    font-size: 10.5px;
  }
}

/* -- Very small phones (< 360px) ------------------------------------------
   The two-column tier grid is kept — it is core to the design — but the
   cards and gutters tighten so the labels still fit. */
@media (max-width: 359.98px) {
  .page-main {
    padding-left: 12px;
    padding-right: 12px;
  }

  .site-nav {
    padding: 0 12px;
  }

  .site-nav__links {
    gap: 6px;
    font-size: 11px;
  }

  .tier-grid {
    gap: 6px;
  }

  .tier-card {
    padding: 10px 9px 11px;
  }

  .tier-card__name {
    font-size: 12.5px;
  }

  .otp {
    gap: 4px;
  }

  .otp__box {
    height: 46px;
    font-size: 15px;
  }
}

/* -- Reduced motion ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

/* ==========================================================================
   23. TOAST — brief success/error confirmation (e.g. OTP resend). Combined
   with the existing `.card` class in markup for its surface (background /
   border / radius) — only position, motion and state colour live here.
   Anchored top-right, just below `.site-nav` — safe to compute from
   `--nav-h` at every scroll position now that the nav itself is sticky
   (see .site-nav above), so this never lands over the nav's own right-side
   links (Privacy/Terms/Logout) OR, once scrolled, over the page's own Back
   link/heading the way a viewport-top-relative offset would once the nav
   scrolled out of view. */
.toast-msg {
  position: fixed;
  top: calc(var(--nav-h) + 16px);
  right: 24px;
  /* Higher than .ss-modal (1050) and its stacked sheet (1060, see further
     down this file) — the Profile page's own popups now trigger toasts
     (e.g. Edit categories' save confirmation, the "only 3 categories"
     guard) while a modal is still open, so this has to paint above both,
     not just above ordinary page content. */
  z-index: 1070;
  max-width: min(90vw, 360px);
  padding: 13px var(--sp-card-pad);
  border-left: 3px solid var(--positive);
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  color: var(--ink-base);
  box-shadow: 0 8px 24px rgba(12, 22, 51, 0.14);
  transform: translateY(-12px);
  opacity: 0;
  transition: transform .2s ease, opacity .2s ease;
  pointer-events: none;
}

.toast-msg.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.toast-msg--error {
  border-left-color: var(--danger);
}

/* Account Verification's "✓ Verified" badge sits beside a heading in a
   space-between row (see otp/signup.blade.php) — on a narrow column the
   badge can get squeezed and wrap its own icon/text onto two lines. Kept
   to one line and its own natural width, same .t-meta font/colour. */
[data-otp-verified-badge] {
  flex-shrink: 0;
  white-space: nowrap;
}

span.t-meta[data-otp-verified-badge] {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================================================
   COMING SOON — full-bleed video commerce splash (guest "browse without an
   account" landing)
   ========================================================================== */
body.phone-page {
  background: var(--phone-bg);
  background-attachment: initial;
}

/* The shared layout's <main class="page-main"> normally carries side/top
   padding for the 350px auth column — the splash design is full-bleed, so
   drop that padding whenever it's the one rendered inside. */
.page-main:has(.splash) {
  padding: 0;
}

.splash {
  position: relative;
  flex: 1 1 auto;
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 40px clamp(20px, 15vw, 216px);
  background-color: var(--media-well);
  background-image: url("../images/comingsoon-bg.jpg");
  background-size: cover;
  background-position: center top;
  overflow: hidden;
}

.splash__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(10, 16, 28, .30) 0%,
      rgba(10, 16, 28, .39) 55%,
      rgba(10, 16, 28, .50) 100%);
}

.splash__panel {
  position: relative;
  width: 100%;
  max-width: 324px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 15.5px 1px;
  background: rgba(10, 16, 28, .06);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-radius: 24px;
  text-align: center;
  border: solid 1px rgba(255, 255, 255, .25);
}

.splash__mark {
  width: 31px;
  height: auto;
}

.splash__eyebrow,
.splash__tagline {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.155px;
  color: rgba(255, 255, 255, .75);
}

.splash__title {
  font-family: var(--font-serif);
  font-size: 31px;
  line-height: 1.1;
  color: rgba(255, 255, 255, .92);
  text-transform: uppercase;
}

.splash__body {
  width: 294px;
  max-width: 100%;
  font-size: var(--fs-btn-md);
  line-height: 1.45;
  color: rgba(255, 255, 255, .85);
}

.splash__rule {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, .25);
}

.splash__foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 100%;
  padding: 0 14px;
}

.splash__note {
  font-size: var(--fs-caption);
  color: rgba(255, 255, 255, .7);
}

.splash__foot .btn-ss {
  min-height: 42px;
  padding: 12px 24px;
}

/* ==========================================================================
   28. COMING SOON — video commerce splash
   The 390x844 phone frame from the design, centred on the flat #f2f2f7 page
   by the shared .phone-main shell. The glass panel sits low in the frame:
   the design centres it 124px below the midpoint, which on an 844px frame
   leaves ~98px of media below it, so it is anchored from the bottom and
   grows upward if the copy ever wraps further.
   ========================================================================== */
.splash {
  position: relative;
  width: 100%;
  max-width: 390px;
  min-height: 844px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 40px 0 98px;
  background-color: var(--media-well);
  background-image: url("../images/comingsoon-bg.jpg");
  background-size: cover;
  background-position: center top;
  border-radius: 30px;
  overflow: hidden;
}

/* Crown roles (Platinum/Gold/Rose Gold/Bronze) only — every other role
   keeps the default comingsoon-bg.jpg above. Two classes outrank the
   bare .splash selector regardless of source order. */
.splash.splash--crown {
  background-image: url("../images/comingsoon-bg-crown.png");
}

.splash__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(10, 16, 28, .30) 0%,
      rgba(10, 16, 28, .39) 55%,
      rgba(10, 16, 28, .50) 100%);
}

.splash__panel {
  position: relative;
  width: 100%;
  max-width: 324px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 15.5px 1px;
  background: rgba(10, 16, 28, .06);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-radius: 24px;
  text-align: center;
}

.splash__mark {
  width: 31px;
  height: auto;
}

.splash__eyebrow,
.splash__tagline {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.155px;
  color: rgba(255, 255, 255, .75);
}

/* Micro caps — the tagline keeps its sentence case */
.splash__eyebrow {
  text-transform: uppercase;
}

.splash__title {
  font-family: var(--font-serif);
  font-size: 31px;
  line-height: 1.1;
  color: rgba(255, 255, 255, .92);
  text-transform: uppercase;
}

.splash__body {
  width: 294px;
  max-width: 100%;
  font-size: var(--fs-btn-md);
  line-height: 1.25;
  color: rgba(255, 255, 255, .85);
}

.splash__rule {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, .25);
}

.splash__foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 100%;
  padding: 0 14px;
}

.splash__note {
  font-size: var(--fs-caption);
  color: rgba(255, 255, 255, .7);
}

.splash__foot .btn-ss {
  min-height: 42px;
  padding: 12px 24px;
}


/* ==========================================================================
   29. RESPONSIVE — tablet & mobile
   The design column is only 350px wide, so it already reads well on phones.
   These rules relax the fixed nav gutters and vertical offsets on small
   screens, and give the shell a little more room on very large ones.
   ========================================================================== */

/* -- Large desktops ------------------------------------------------------- */
@media (min-width: 1400px) {
  .site-nav {
    padding: 0 64px;
  }
}

/* -- Tablet (< 992px) ----------------------------------------------------- */
@media (max-width: 991.98px) {
  :root {
    --main-top: 48px;
  }

  .site-nav {
    padding: 0 32px;
  }

  .hero-actions {
    margin-top: 72px;
  }
}

/* -- Phone (< 576px) ------------------------------------------------------ */
@media (max-width: 575.98px) {
  :root {
    --main-top: 28px;
    --fs-hero: 29px;
    --fs-display: 26px;
  }

  /* Header dropped entirely at this width (logo included) — every page
     using this default .site-nav (not just Login/Signup), per explicit
     product decision. The rules just below (height/padding/logo size/links
     gap) are now moot since the element never renders, but are left in
     place rather than deleted in case this is ever toggled back. */
  .site-nav {
    display: none;
  }

  .site-nav {
    height: 64px;
    padding: 0 16px;
  }

  .site-nav__logo img {
    width: 84px;
  }

  .site-nav__links {
    gap: 8px;
    font-size: 11.5px;
  }

  /* Privacy/Terms dropped from the header at this width — the leading
     separator before Logout (site-nav__sep--legal) goes with it so an
     authenticated user doesn't see a stray "·" with nothing before it;
     a guest (no Logout either) just gets an empty .site-nav__links. The
     real Privacy/Terms links stay reachable from the page footer. */
  .site-nav__legal,
  .site-nav__sep--legal {
    display: none;
  }

  .page-main {
    padding: var(--main-top) 16px 28px;
  }

  .btn-ss {
    min-height: 50px;
    padding: 15px 18px;
  }

  .otp {
    gap: 6px;
  }

  .otp__box {
    height: 50px;
    font-size: 16px;
  }

  .field-mobile__prefix {
    flex-basis: 54px;
    width: 54px;
    padding: 0 9px;
  }

  .card-prose {
    padding: 15px 15px 16px;
  }

  .hero-actions {
    margin-top: 44px;
  }

  .hero__logo {
    width: 140px;
  }

  .site-footer {
    padding-bottom: 20px;
    font-size: 10.5px;
  }
}

/* -- Very small phones (< 360px) ------------------------------------------
   The two-column tier grid is kept — it is core to the design — but the
   cards and gutters tighten so the labels still fit. */
@media (max-width: 359.98px) {
  .page-main {
    padding-left: 12px;
    padding-right: 12px;
  }

  .site-nav {
    padding: 0 12px;
  }

  .site-nav__links {
    gap: 6px;
    font-size: 11px;
  }

  .tier-grid {
    gap: 6px;
  }

  .tier-card {
    padding: 10px 9px 11px;
  }

  .tier-card__name {
    font-size: 12.5px;
  }

  .otp {
    gap: 4px;
  }

  .otp__box {
    height: 46px;
    font-size: 15px;
  }
}

/* -- Reduced motion ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

.back-arrow-nav {
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}

/* ==========================================================================
   PROFILE / VIDEO BIO — phone-frame screens (your-profile-empty,
   your-profile, record-video, confirm-video, your-profile-share). Copied
   verbatim from public/ui/css/style.css sections 22-25 (Phone column shell;
   Profile header & Video Bio card; Video recorder; Video playback/confirm).
   body.phone-page itself is NOT repeated here — it already exists above
   (Coming Soon splash section) with the identical declaration; every other
   rule below is new. .phone-main deliberately keeps its own selector as-is
   (not renamed/merged into .page-main): the shared layout applies it
   alongside page-main via @yield('main-class'), and since this rule is
   declared later in the cascade its matching padding/flex properties simply
   win over page-main's own — no separate override rule needed.
   ========================================================================== */
.phone-main {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  padding: 28px 20px 40px;
}

.phone-col {
  width: 100%;
  max-width: 390px;
  min-height: 844px;
  display: flex;
  flex-direction: column;
  padding: 15px 0 var(--sp-screen-bottom);
}

/* Gutter used by most blocks inside the column */
.phone-gutter { padding-inline: var(--sp-screen-gutter); }

/* Dark, edge-to-edge variant (recorder) */
.phone-col--media {
  padding: 0;
  background: var(--media-well);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(13, 23, 51, .16);
}

.profile-head { display: flex; align-items: center; gap: 16px; }

.profile-head__avatar {
  position: relative;
  flex: 0 0 84px;
  width: 84px;
  height: 84px;
}

.profile-head__photo {
  display: block;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 1px solid var(--surface);
  background-color: var(--platinum);
  background-image: url("../images/avatar-jessica.jpg");
  background-repeat: no-repeat;
  /* Same framing as the Figma avatar crop */
  background-size: 270px 387px;
  background-position: -59px -44px;
}

/* The avatar is a file uploader: the whole circle is a <label> wrapping a
   hidden file input, so clicking anywhere on it opens the picker. */
.profile-head__photo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: box-shadow .15s ease;
}

.profile-head__photo:hover { box-shadow: 0 0 0 3px rgba(20, 68, 196, .12); }

/* The input is invisible but focusable — give the circle its focus ring */
.profile-head__photo:focus-within {
  outline: 2px solid var(--sapphire);
  outline-offset: 2px;
}

/* "Change" veil, shown over an avatar that already has a photo */
.profile-head__hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 16, 28, .55);
  font-size: var(--fs-caption);
  font-weight: 600;
  color: var(--ink-on-dark);
  opacity: 0;
  transition: opacity .15s ease;
}

.profile-head__photo:hover .profile-head__hint,
.profile-head__photo:focus-within .profile-head__hint { opacity: 1; }

/* Empty state — dashed sapphire ring with an add cross, no photo yet */
.profile-head__photo--empty {
  background-image: none;
  background-color: var(--platinum);
  border: 1px dashed var(--sapphire);
}

/* The plus belongs to the empty state only; the source icon is an X that
   the design rotates 45deg into a plus. */
.profile-head__plus {
  width: 26.13px;
  height: 26.13px;
  transform: rotate(45deg);
  display: none;
}

.profile-head__photo--empty .profile-head__plus { display: block; }

/* An empty circle has nothing to "change" — it prompts with the plus */
.profile-head__photo--empty .profile-head__hint { display: none; }

.profile-head__badge {
  position: absolute;
  right: 0;
  bottom: -1px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5px 5px;
  background: rgba(255, 255, 255, .72);
  /* Without these, the badge is a near-white circle on a near-white page
     background (worst on the empty/no-photo avatar state) and all but
     disappears — the border + shadow give it a visible edge regardless of
     what's behind it. */
  border: 1.5px solid var(--border);
  box-shadow: 0 2px 6px rgba(11, 42, 140, .16);
  border-radius: var(--r-pill);
}

.profile-head__badge img { width: 100%; height: auto; }

/* While VE is still Pending on the selected Crown/Diamond tier — faded so
   the badge visually reads as "not yet active" rather than a confirmed
   trust marker. See OnboardingFlowTrait::veIsPending(). */
.profile-head__badge--pending {
  opacity: .45;
  filter: grayscale(1);
}

.profile-head__name {
  font-size: var(--fs-section-heading);
  line-height: var(--lh-label);
  font-weight: 600;
  color: var(--ink-strong);
}

.profile-head__tick {
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  color: var(--pink-tick);
}

.profile-head__tick--sapphire {
  color: var(--sapphire);
}

.profile-head__meta {
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  color: var(--ink-secondary);
}

/* -- Video Bio card ------------------------------------------------------- */
.videobio-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: var(--sp-card-pad-lg);
  background: var(--surface);
  border-radius: var(--r-card-lg);
  box-shadow: inset 0 0 0 1px var(--border);
}

/* The media well, with the pink halo the design calls for */
.media-well {
  position: relative;
  height: 190px;
  border-radius: var(--r-media);
  background-color: var(--media-well);
  background-image: url("../images/avatar-jessica.jpg");
  background-repeat: no-repeat;
  background-size: 100% 236.43%;
  background-position: 0 22%;
  overflow: hidden;
}

.media-well::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 3px rgba(224, 53, 107, .55),
              inset 0 0 26px rgba(224, 53, 107, .35);
}

/* Empty state — no footage, just the mark centred on the well and no halo */
.media-well--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: none;
}

.media-well--empty::after { box-shadow: none; }

.media-well--empty img { width: 47px; height: auto; }

.media-well__chip {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 8px var(--sp-btn-pad-md);
  background: var(--glass-control);
  border-radius: var(--r-card-lg);
  font-size: var(--fs-meta);
  line-height: var(--lh-label);
  font-weight: 600;
  color: var(--ink-on-dark);
}

/* Paired secondary actions under the well */
.split-actions { display: flex; gap: var(--sp-stack); }

.split-actions .btn-ss {
  flex: 1 1 0;
  min-height: 0;
  padding: var(--sp-btn-pad-md);
  font-size: var(--fs-btn-md);
  border-radius: var(--r-btn-md);
}

.btn-ss--info {
  background: var(--info-fill);
  color: var(--sapphire);
}
.btn-ss--info:hover { background: #dfe8fb; }

.btn-ss--muted {
  background: var(--divider);
  color: var(--ink-body);
}
.btn-ss--muted:hover { background: #e8ebf1; }

/* -- Bio field ------------------------------------------------------------ */
.bio-field { display: flex; flex-direction: column; gap: var(--sp-stack-tight); }

.bio-field__input {
  width: 100%;
  min-height: 86px;
  padding: var(--sp-btn-pad-lg);
  background: var(--surface);
  border: 0;
  border-radius: var(--r-media);
  box-shadow: inset 0 0 0 1px var(--border);
  font-family: inherit;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink-base);
  resize: vertical;
}

.bio-field__input:focus {
  outline: none;
  box-shadow: inset 0 0 0 1.5px var(--sapphire);
}

.recorder {
  position: relative;
  height: 844px;
  background-color: var(--media-well);
  background-image: url("../images/avatar-jessica.jpg");
  background-repeat: no-repeat;
  background-size: 151.27% 100%;
  background-position: 50% 0;
  overflow: hidden;
}

/* Keeps the controls legible over the footage */
.recorder__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
              rgba(10, 16, 28, .34) 0%,
              rgba(10, 16, 28, .04) 34%,
              rgba(10, 16, 28, .44) 100%);
}

.recorder__top {
  position: absolute;
  top: 26px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.glass-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: var(--glass-control);
  border: 0;
  border-radius: 17px;
  cursor: pointer;
}

.glass-btn img { width: 16px; height: 16px; }

.glass-chip {
  padding: 7px 12px;
  background: var(--glass-control);
  border-radius: 15px;
  font-size: var(--fs-meta);
  line-height: var(--lh-label);
  font-weight: 600;
  color: var(--ink-on-dark);
}

.recorder__controls {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 97px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* Video / Upload mode switch */
.mode-switch { display: flex; gap: var(--sp-stack-tight); }

.mode-switch button {
  padding: 8px var(--sp-btn-pad-lg);
  background: var(--glass-control);
  border: 0;
  border-radius: var(--r-card-lg);
  font-size: var(--fs-btn-md);
  font-weight: 600;
  color: var(--ink-on-dark);
  cursor: pointer;
}

.mode-switch button.is-on {
  background: var(--surface);
  color: var(--ink-strong);
}

/* The main shutter stays pinned to the row's horizontal center at all
   times; finish is positioned off it rather than sharing flex space, so
   it appearing/disappearing never shifts the shutter left or right. */
.shutter-row {
  position: relative;
  width: 100%;
  height: 76px;
}

.shutter-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5.75px;
  padding: 1px 6px;
  background: none;
  border: 0;
  cursor: pointer;
}

.shutter-side__tile {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-avatar-tile);
  background: var(--glass-control);
  overflow: hidden;
}

.shutter-side__tile--photo {
  background: var(--surface);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .8);
}

.shutter-side__tile--photo img { width: 100%; height: 100%; object-fit: cover; }
.shutter-side__tile--round { border-radius: 23px; }
.shutter-side__tile--round img { width: 21px; height: 21px; }

.shutter-side__label {
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  color: var(--ink-on-dark);
  text-shadow: 0 1px 3px rgba(8, 14, 26, .55);
}

.shutter {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: var(--glass-control);
  border: 0;
  border-radius: 38px;
  cursor: pointer;
}

.shutter span {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--surface);
}

/* Real recorder states — idle/paused shows a plain record dot, actively
   recording shows a square (tap to pause). Both sit as a plain white glyph
   on the same frosted glass circle used across the recorder chrome
   (close/flip/finish), so the controls read as one consistent set. */
.shutter__dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--surface);
}

.shutter__square {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--surface);
}

.shutter--finish {
  top: 50%;
  left: calc(50% + 88px);
  width: 56px;
  height: 56px;
  border-radius: 28px;
}

.shutter--finish img { width: 18px; height: 18px; }

.recorder__hint {
  position: absolute;
  left: 92px;
  right: 92px;
  bottom: 34px;
  padding: 8px var(--sp-btn-pad-lg);
  background: var(--glass-control);
  border-radius: var(--r-card-lg);
  font-size: var(--fs-caption);
  line-height: var(--lh-meta);
  color: var(--ink-on-dark);
  text-align: center;
}

/* The live self-preview feed — fills the frame the same way the raw
   template's mockup background-image did, but the default image itself is
   suppressed here (see [data-recorder] below) so nothing flashes behind
   the <video> before the stream attaches. */
.recorder__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* contain, not cover — the aspectRatio hint in acquireStream()
     (record-video.blade.php) only ever asks the camera to match this
     stage's own narrow portrait shape; a camera that can't/won't honour
     it (most webcams only offer a handful of fixed 16:9/4:3 resolutions)
     still delivers whatever it actually has. cover would then scale that
     up until it fills every edge, cropping off however much doesn't fit
     — exactly the "too zoomed in" effect. contain guarantees the WHOLE
     frame is always visible on every device, at the cost of a solid-
     colour letterbox (var(--media-well) via .recorder's own background)
     filling any leftover space top/bottom or side/side.
     ------------------------------------------------------------------ */
  object-fit: contain;
}

/* Front camera preview only — matches how users expect to see themselves.
   CSS-only mirror of the live preview; the recorded output itself is
   unaffected. Toggled off when flipped to the rear camera. */
.recorder__video--mirrored {
  transform: scaleX(-1);
}

[data-recorder] {
  background-image: none;
}

.recorder__error {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  padding: 16px;
  background: var(--glass-control);
  border-radius: var(--r-card-lg);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink-on-dark);
  text-align: center;
}

.screen-head { display: flex; align-items: center; gap: 12px; }

.screen-head__back {
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}

.screen-head__title {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--fs-screen-title-compact);
  line-height: 1.15;
  color: var(--ink-strong);
  margin: 0;
}

.badge-positive {
  flex: 0 0 auto;
  padding: 5px 9px;
  background: var(--positive-fill);
  border-radius: var(--r-btn-md);
  font-size: var(--fs-microcaps-tight);
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--positive-ink);
}

/* Tall playback well */
.media-well--tall {
  height: 420px;
  border-radius: var(--r-card);
  background-size: 100% 110.83%;
  background-position: 0 49%;
}

.media-well--tall::after {
  box-shadow: inset 0 0 0 3px rgba(224, 53, 107, .5),
              inset 0 0 26px rgba(224, 53, 107, .3);
}

.media-well__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: var(--surface);
  border: 0;
  border-radius: 28px;
  box-shadow: 0 6px 9px rgba(8, 14, 26, .24);
  cursor: pointer;
}

.media-well__play img { width: 20px; height: 20px; }

/* Sapphire information note */
.note-info {
  padding: 12px;
  background: var(--sapphire-tint);
  border-radius: var(--r-media);
  font-size: var(--fs-caption);
  line-height: var(--lh-meta);
  color: var(--sapphire-tint-ink);
}

/* ==========================================================================
   CHOOSE A THUMBNAIL — frame-picker filmstrip. Copied verbatim from
   public/ui/css/style.css (everything else the page needs — screen-head,
   badge-positive, media-well--tall/__play, note-info, auth-shell__spacer,
   btn-ss--outline/--ghost — already exists from the profile/video-bio
   screens above).
   ========================================================================== */
/* This screen's preview well is a real <video>, not the static mockup
   photo .media-well normally defaults to — that default background-image
   would otherwise flash behind the transparent <video> element for a
   moment on load/refresh, before the real frame paints. Flat well color
   only. data-vb-thumb-preview is the same well in the Video Bio modal's
   own embedded thumbnail view (profile/index.blade.php) — a separate
   attribute name from this standalone page's, so it needs listing here
   too or it keeps the glitchy flash this rule exists to remove. */
[data-thumb-preview],
[data-vb-thumb-preview] {
  background-image: none;
}

/* Selected-frame hint under the slider — kept from the original filmstrip
   design (the 6-frame filmstrip itself is gone, replaced by .thumb-slider
   below, per the full-duration slider requirement). */
.filmstrip__hint {
  margin-bottom: 0;
  text-align: center;
  font-size: 11.5px;
  color: var(--ink-tertiary);
}

/* Thumbnail timeline — drag to any point across the video's real duration
   (set as the range's min/max once its metadata loads) rather than picking
   from a handful of fixed frames. New component — no equivalent exists in
   public/ui/css/style.css — styled with the same tokens (--sapphire,
   --border, --surface, --r-pill) the rest of the design already uses. */
.thumb-slider {
  position: relative;
  padding: 20px 0;
}

/* Explicit so the bubble/labels below can be positioned against a known
   box height instead of guessing at the browser's own default range
   sizing. */
.thumb-slider__input {
  height: 20px;
}

/* Live time readout that tracks the thumb horizontally (left set in JS,
   from the same value/max ratio the thumb itself uses) — sits directly
   under the track, clear of both the thumb above it and the start/end
   labels below (see .thumb-slider__labels' own margin-top). */
.thumb-slider__bubble {
  position: absolute;
  top: 44px; /* 20px padding-top + 20px input height + 4px gap */
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-strong);
  white-space: nowrap;
  pointer-events: none;
}

.thumb-slider__input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: var(--r-pill);
  background: var(--border);
  outline: none;
  cursor: pointer;
}

.thumb-slider__input:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.thumb-slider__input::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: var(--r-pill);
  background: var(--border);
}

.thumb-slider__input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  margin-top: -8px;
  border-radius: 50%;
  background: var(--sapphire);
  border: 3px solid var(--surface);
  box-shadow: 0 1px 4px rgba(8, 14, 26, .24);
  cursor: pointer;
}

.thumb-slider__input::-moz-range-track {
  height: 4px;
  border-radius: var(--r-pill);
  background: var(--border);
}

.thumb-slider__input::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--sapphire);
  border: 3px solid var(--surface);
  box-shadow: 0 1px 4px rgba(8, 14, 26, .24);
  cursor: pointer;
}

/* Start/end seconds flanking the track */
.thumb-slider__labels {
  display: flex;
  justify-content: space-between;
  margin-top: 24px; /* clears .thumb-slider__bubble sitting above it */
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-tertiary);
}

/* Fills the preview well the same way the old background-image did
   (object-fit: cover), clipped to the well's own rounded corners via its
   overflow: hidden — no separate border-radius needed here. */
.media-well__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ==========================================================================
   26. INVITE — SistaFam (verbatim from public/ui/css/style.css)
   ========================================================================== */
.invite-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--surface);
  border-radius: var(--r-card-lg);
  box-shadow: inset 0 0 0 1px var(--border);
}

.avatar-stack { display: flex; flex: 1 1 auto; min-width: 0; }

.avatar-stack span {
  flex: 0 0 24px;
  width: 34px;
  height: 34px;
  border-radius: 17px;
  box-shadow: 0 0 0 2px #fff;
  background-color: rgba(127, 127, 127, .08);
  background-size: cover;
  background-position: center;
}

.avatar-stack span.is-faded { opacity: .18; }

.invite-summary__count {
  flex: 0 0 auto;
  font-size: var(--fs-btn-md);
  font-weight: 600;
  color: var(--ink-strong);
}

/* Source rows — phone, email, share */
.source-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px;
  background: var(--surface);
  border: 0;
  border-radius: var(--r-card);
  box-shadow: inset 0 0 0 1px var(--border);
  text-align: left;
  cursor: pointer;
}

.source-row__icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--chip);
  border-radius: 12px;
}

.source-row__icon img { width: 19px; height: 19px; }

.source-row__text { flex: 1 1 auto; min-width: 0; }

.source-row__title {
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink-base);
  margin-bottom: 3px;
}

.source-row__sub {
  font-size: var(--fs-caption);
  line-height: 1.3;
  color: var(--ink-secondary);
}

.source-row__action { flex: 0 0 18px; width: 18px; height: 18px; }

/* People already on SistaShop */
.person-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 13px;
  background: var(--surface);
  border: 0;
  border-radius: var(--r-card-lg);
  box-shadow: inset 0 0 0 1px var(--border);
  text-align: left;
}

.person-row__photo {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--surface);
  background-size: cover;
  background-position: center;
}

.person-row__name {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: var(--fs-btn-md);
  font-weight: 600;
  color: var(--ink-base);
}

.person-row__name img { width: auto; height: 11px; }

.person-row__add {
  flex: 0 0 auto;
  padding: 0;
  background: none;
  border: 0;
  font-size: var(--fs-microcaps);
  font-weight: 600;
  letter-spacing: .69px;
  text-transform: uppercase;
  color: var(--sapphire);
  cursor: pointer;
}


/* ==========================================================================
   30. INVITE — WEB (split layout + contact picker modals)
   Figma: Web / Invite · Modal · Phone Contacts (Not on SistaShop yet /
   Already on SistaShop). invite.html also loads css/signup-onboard.css
   for the split shell and the aside carousel; everything below is the
   invite column and the two picker modals.
   ========================================================================== */

/* -- Invite column (right half) ------------------------------------------ */
.split__main .page-main.invite-web {
  align-items: flex-start;
  padding-top: 92px;
}

.invite-web__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 390px;
}

.invite-web__progress { width: 84%; }

.invite-web__head { display: flex; flex-direction: column; gap: 6px; }

.invite-web__stack { display: flex; flex-direction: column; gap: 8px; }

.invite-web__label {
  font-size: var(--fs-microcaps);
  line-height: var(--lh-label);
  font-weight: 600;
  letter-spacing: .69px;
  text-transform: uppercase;
  color: var(--ink-tertiary);
}

.invite-web__btn { min-height: 50px; }

/* Figma sits "3 invited" right after the avatars, not at the far edge */
.invite-web .avatar-stack { flex: 0 0 auto; }
.invite-web .invite-summary__count { flex: 1 1 auto; }

/* Invited avatar stack — images moved out of inline styles */
.avatar-stack__img--1 { background-image: url("../images/people/inv1.jpg"); }
.avatar-stack__img--2 { background-image: url("../images/people/inv2.png"); }
.avatar-stack__img--3 { background-image: url("../images/people/inv3.jpg"); }
.avatar-stack__img--4 { background-image: url("../images/people/inv4.png"); }
.avatar-stack__img--5 { background-image: url("../images/people/inv5.png"); }

.person-row__photo--amira { background-image: url("../images/people/amira.jpg"); }
.person-row__photo--sarah { background-image: url("../images/people/sarah.jpg"); }
.person-row__photo--diana { background-image: url("../images/people/diana.jpg"); }

/* Source rows are buttons here — give them the same hover cue as cards */
.invite-web .source-row { transition: box-shadow .15s ease; }
.invite-web .source-row:hover { box-shadow: inset 0 0 0 1px var(--border-outline); }

/* -- Modal shell ---------------------------------------------------------- */
body.has-modal { overflow: hidden; }

.ss-modal {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}
.ss-modal[hidden] { display: none; }

.ss-modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(12, 22, 51, .45);
  cursor: pointer;
}

.ss-modal__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 560px;
  max-height: 100%;
  padding: 24px 24px 20px;
  background: var(--surface);
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(12, 22, 51, .18);
}

.ss-modal__head { display: flex; align-items: flex-start; gap: 12px; }

.ss-modal__title {
  flex: 1 1 auto;
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--fs-screen-title-compact);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink-base);
}

.ss-modal__close {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.ss-modal__close img { width: 24px; height: 24px; }

/* Search field */
.ss-modal__search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 11px 14px;
  background: #f7f8fa;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: text;
}
.ss-modal__search img { flex: 0 0 18px; width: 18px; height: 18px; }
.ss-modal__search input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink-base);
  background: none;
  border: 0;
  outline: none;
}
.ss-modal__search input::placeholder { color: var(--ink-tertiary); }
.ss-modal__search:focus-within { border-color: var(--sapphire); }

/* Footer actions */
.ss-modal__foot { display: flex; justify-content: flex-end; gap: 10px; }

.ss-modal__btn { width: auto; min-height: 44px; padding: 0 24px; }
.ss-modal__btn--cancel {
  min-width: 110px;
  color: var(--sapphire);
  border-color: var(--border);
}
.ss-modal__btn--go { min-width: 190px; }

/* -- Contact picker list -------------------------------------------------- */
.pick-list {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-media);
}

/* Scrollable variant (Phone Contacts) — shows ~6 rows, the rest scroll.
   min-height: 0 lets it shrink further inside the card on short screens. */
.pick-list--scroll {
  flex: 0 1 auto;
  min-height: 0;
  max-height: 354px;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}
/* Phone Contacts modal — server search in flight / "Load more"
   (invite-phone-contacts.js initContactsPaging()). */
.pick-list.is-searching { opacity: .5; pointer-events: none; transition: opacity .15s ease; }
.pick-load-more {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 10px 16px;
  font-size: var(--fs-microcaps-tight);
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  text-align: center;
  color: var(--ink-secondary);
  background: #f7f8fa;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}
.pick-load-more:hover { color: var(--ink-base); }
.pick-load-more:disabled,
.pick-load-more.is-loading { color: var(--ink-tertiary); cursor: default; }
.pick-load-more[hidden] { display: none; }
.pick-list--scroll::-webkit-scrollbar { width: 6px; }
.pick-list--scroll::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }
.pick-list--scroll::-webkit-scrollbar-track { background: transparent; }
.pick-list--scroll:focus-visible { outline: 2px solid var(--sapphire); outline-offset: 2px; }

.pick-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
}
.pick-row + .pick-row { border-top: 1px solid var(--border); }
.pick-row[hidden] { display: none; }

.pick-row__avatar { flex: 0 0 36px; width: 36px; height: 36px; }

/* Wraps avatar + name/meta so they open the profile in a new tab — `contents`
   keeps those two as direct flex items of .pick-row, same layout as before. */
.pick-row__link { display: contents; color: inherit; text-decoration: none; }

.pick-row__text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pick-row__name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-row-title);
  font-weight: 500;
  line-height: var(--lh-row-title);
  color: var(--ink-base);
}

/* Tier glyph in a 14px slot, centred at full width */
.pick-row__badge {
  flex: 0 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
}
.pick-row__badge img { width: 14px; height: auto; }

.pick-row__meta {
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  color: var(--ink-secondary);
}

/* Search-empty row ([data-pick-empty], invite.js's initPickGroup()) — centred
   like My SistaFam™'s own .fam-empty, instead of .pick-row's usual
   left-aligned avatar-row layout. */
.pick-row[data-pick-empty] {
  justify-content: center;
  padding: 20px 16px 24px;
}
.pick-row[data-pick-empty] .pick-row__meta {
  color: var(--ink-tertiary);
  text-align: center;
}

/* Checkbox — the ticked state is the Figma checkbox export */
.pick-check {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--border-outline);
  border-radius: 6px;
  cursor: pointer;
}
.pick-check.is-checked {
  background: url("../images/invite/checkbox-on.svg") center / 20px 20px no-repeat;
  border: 0;
}

/* Status pills */
.pick-status {
  flex: 0 0 auto;
  padding: 3px 8px;
  font-size: var(--fs-caption);
  line-height: var(--lh-meta);
  white-space: nowrap;
  color: var(--sapphire);
  background: var(--sapphire-tint);
  border-radius: 10px;
}
.pick-status--in { color: var(--positive); background: #e6f5ec; }

/* -- Invite · responsive -------------------------------------------------- */
@media (max-width: 991.98px) {
  .split__main .page-main.invite-web { padding-top: var(--main-top); }
}

@media (max-width: 575.98px) {
  .ss-modal { padding: 16px 12px; }
  .ss-modal__card { padding: 20px 16px 16px; }
  .ss-modal__btn { flex: 1 1 0; min-width: 0; padding: 0 12px; }
  .pick-row { padding: 10px 12px; }
}


/* ==========================================================================
   31. APP HEADER — AFTER LOGIN (verbatim from public/ui/css/style.css)
   Used on every logged-in page (My SistaShop™ and onwards). Solid white
   bar: logo on the left, account trigger + dropdown menu on the right.
   Signup / onboarding pages keep .site-nav (§03); do not mix the two.
   Markup:  header.app-nav > a.app-nav__logo
                           > div.app-nav__account > button.app-nav__trigger
                                                  > div.account-menu
   ========================================================================== */
.app-nav {
  position: relative;
  z-index: 20;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding: 0 48px;
  background: var(--surface);
}

.app-nav__logo img { width: 103px; height: auto; }

/* Groups "Discover" + the account trigger together on the right, so
   .app-nav's own space-between still puts the logo on the far left
   without the two right-side pieces drifting apart from each other. */
.app-nav__right { display: flex; align-items: center; gap: 20px; }

.app-nav__account { position: relative; }

/* "Discover" pill — plain outline by default, filled sapphire while it's
   the current page (see app-nav.blade.php's own routeIs() check). */
.app-nav__discover {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--ink-secondary);
  background: var(--surface);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.app-nav__discover img { width: 18px; height: 18px; }
.app-nav__discover:hover { border-color: var(--sapphire); color: var(--sapphire); }

/* Same sapphire radial gradient as .btn-ss--primary (e.g. "View My
   SistaShop™" on the Coming Soon screen this button links to). */
.app-nav__discover.is-active {
  color: var(--ink-on-dark);
  border-color: transparent;
  background: radial-gradient(ellipse 99% 99% at 30% 30%,
      var(--grad-start) 0%,
      #1a48cc 25%,
      var(--grad-mid) 50%,
      #102a61 75%,
      #0d1d44 87.5%,
      var(--grad-end) 100%);
}

/* Avatar + name + chevron */
.app-nav__trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}

/* Avatar <img> — fixed size, any user photo fills it via object-fit.
   Portraits are anchored to the top so the face stays in frame. */
.app-nav__avatar {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  object-fit: cover;
  object-position: center top;
  border: 1.284px solid var(--sapphire);
  border-radius: 50%;
  background-color: #f2ece1;
}

/* Pink Tick's own ring color — same role-slug branch .pf-avatar--pink-tick
   already uses, just sized for this smaller header avatar. */
.app-nav__avatar--pink-tick { border-color: var(--pink-tick); }

/* Account-type badge on the avatar's lower-right — small version of
   .profile-head__badge. */
.app-nav__avatar-wrap {
  position: relative;
  flex: 0 0 38px;
  display: block;
  width: 38px;
  height: 38px;
}
.app-nav__badge {
  position: absolute;
  right: -4px;
  bottom: -3px;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px 3px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(11, 42, 140, .16);
  border-radius: var(--r-pill);
}
.app-nav__badge img { width: 100%; height: auto; display: block; }
.app-nav__badge--pending {
  opacity: .45;
  filter: grayscale(1);
}

.app-nav__name {
  font-size: var(--fs-nav);
  color: var(--ink-secondary);
  white-space: nowrap;
}

.app-nav__chev {
  width: 8.94583px;
  height: 5.18542px;
  transition: transform .15s ease;
}
.app-nav__trigger[aria-expanded="true"] .app-nav__chev { transform: rotate(180deg); }
.app-nav__trigger:hover .app-nav__name { color: var(--ink-base); }

/* -- Account dropdown ----------------------------------------------------- */
.account-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 288px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  box-shadow: 0 12px 32px -8px rgba(13, 23, 51, .12);
}
.account-menu[hidden] { display: none; }

.account-menu__head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 10px 12px;
}

.account-menu__name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-row-title);
  font-weight: 500;
  line-height: var(--lh-row-title);
  color: var(--ink-base);
}
.account-menu__name img { width: 14px; height: auto; }

.account-menu__meta {
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  color: var(--ink-secondary);
}

.account-menu__rule { height: 1px; background: var(--border); }

.account-menu__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  font-size: var(--fs-row-title);
  font-weight: 500;
  line-height: var(--lh-row-title);
  color: var(--ink-base);
  border-radius: var(--r-btn-md);
  transition: background-color .15s ease;
}
.account-menu__item img { flex: 0 0 20px; width: 20px; height: 20px; }
.account-menu__item:hover,
.account-menu__item:focus-visible { background: #f7f8fa; color: var(--ink-base); }
.account-menu__item--danger,
.account-menu__item--danger:hover { color: #b23a5a; }

/* -- Switch account modal (#modal-switch) — public/ui/profile.html,
   copied verbatim --------------------------------------------------------- */
.acct-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.acct-row:hover { border-color: var(--border-outline); }

/* The profile you're signed in to — soft sapphire ring, not selectable */
.acct-row.is-current {
  border-color: color-mix(in srgb, var(--sapphire) 55%, transparent);
  cursor: default;
}

/* The profile you're about to switch to */
.acct-row.is-selected { border: 1.5px solid var(--sapphire); padding: 12.5px; }

.acct-row__avatar-wrap { position: relative; flex: 0 0 52px; width: 52px; height: 52px; }

/* Avatar <img> — fixed size, any photo fills it via object-fit */
.acct-row__avatar {
  flex: 0 0 52px;
  display: block;
  width: 52px;
  height: 52px;
  object-fit: cover;
  object-position: center top;
  background: var(--platinum);
  border-radius: 50%;
}

/* Glass tier badge on the avatar's lower-right */
.acct-row__badge {
  position: absolute;
  right: 0;
  bottom: -1px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0 4px;
  background: rgba(255, 255, 255, .72);
  border-radius: var(--r-btn-lg);
  box-shadow: 0 1px 4px rgba(11, 42, 140, .16);
}
.acct-row__badge img { width: 100%; height: auto; }

.acct-row__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
/* Full names/usernames aren't length-capped server-side — truncate rather
   than letting one long value force the whole modal to scroll sideways. */
.acct-row__name,
.acct-row__tier,
.acct-row__meta { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.acct-row__name { font-size: var(--fs-btn-lg); font-weight: 600; line-height: normal; color: var(--ink-base); }
.acct-row__tier { font-size: var(--fs-caption); line-height: var(--lh-meta); color: var(--ink-secondary); }
.acct-row__meta { font-size: var(--fs-caption); line-height: var(--lh-meta); color: var(--ink-tertiary); }

.acct-row__current {
  flex: 0 0 auto;
  padding: 4px 10px;
  font-size: var(--fs-caption);
  font-weight: 600;
  line-height: normal;
  color: var(--sapphire);
  background: var(--sapphire-tint);
  border-radius: 999px;
}

.acct-row__chev { flex: 0 0 15px; width: 15px; height: 15px; }

/* Other linked accounts are appended here (switch-account-modal.js) as
   siblings INSIDE this one wrapper — not direct children of
   .ss-modal__body — so its own `gap: 12px` never reaches them without
   this same gap repeated here. */
[data-other-accounts] { display: flex; flex-direction: column; gap: 12px; }

.acct-add { min-height: 44px; padding: 0 24px; color: var(--sapphire); border-color: var(--border); }

/* Visible reason the Add button is disabled — real text rather than a
   hover-only title, so the 4-linked-account limit (or "switch back to your
   main account") reads without having to hover first; switch-account-modal.js
   toggles [hidden] on it. */
.acct-add-hint { margin: -4px 0 0; font-size: var(--fs-caption); line-height: var(--lh-meta); color: var(--ink-tertiary); text-align: center; }

/* Footer with two equal-width buttons. */
.ss-modal__foot--even .ss-modal__btn { flex: 1 1 0; min-width: 0; padding: 0 12px; }

/* A .btn-ss is `display: flex` (icon + label centered together), so
   text-overflow on the button itself never truncates — a bare text node
   is an anonymous flex item that won't shrink below its own content
   width. Giving the label its own child element (which CAN take
   min-width: 0 and text-overflow) is what actually works — used by the
   Switch Account list view's own confirm button, whose label includes
   the selected account's (unbounded-length) name: "Switch to {name}". */
.btn-ss__label { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* -- Add another account (mobile → code) — #modal-add/#modal-code,
   public/ui/profile.html, copied verbatim. Reuses .field-mobile and
   .otp/.otp-meta from the login flow, already in this stylesheet. */
.ss-modal__card--gap-18 { gap: 18px; }

.code-step { display: flex; flex-direction: column; gap: 14px; }

.code-step__resend {
  padding: 0;
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  color: var(--sapphire-link);
  background: none;
  border: 0;
  cursor: pointer;
}
.code-step__resend:disabled { cursor: default; }
.code-step__resend:not(:disabled):hover { text-decoration: underline; }

@media (max-width: 767.98px) {
  .app-nav { padding: 0 20px; }
  .app-nav__logo img { width: 92px; }
}

@media (max-width: 575.98px) {
  .app-nav { height: 64px; padding: 0 16px; }
  .app-nav__logo img { width: 84px; }
  .app-nav__name { display: none; }
  .account-menu { width: min(288px, calc(100vw - 32px)); }
}


/* ==========================================================================
   32. MY SISTASHOP™ PROFILE — OWNER VIEW (verbatim from public/ui/css/style.css)
   Figma: Web / My SistaShop™ – Platinum Crown (owner view) [+ Profile menu]
   Two equal columns: hero card (Video Bio + identity) | stacked cards.
   ========================================================================== */
.profile-page {
  --pf-ink-muted: #3b4250;
  background: var(--phone-bg);
}

.profile-main {
  flex: 1 0 auto;
  width: 100%;
  max-width: 1168px;
  margin: 0 auto;
  padding: 24px 24px 32px;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  /* Reference CSS has this as `stretch` (both columns forced to match the
     row's tallest cell) — changed to `start` here: the right column's 3
     cards are reliably taller than the hero's own content for most real
     profiles (varies with name length, category count, how many
     capabilities are unlocked), and `stretch` just turns that difference
     into visible dead space at the bottom of the (flex-column, top-
     aligned) hero card rather than ever filling it — .pf-hero's own
     min-height:664px (unchanged) still keeps it from looking too short
     on its own. */
  align-items: start;
}

/* -- Hero card ------------------------------------------------------------ */
.pf-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 664px;
  padding: 32px 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
}

.pf-media {
  position: relative;
  width: 300px;
  max-width: 100%;
  height: 420px;
  overflow: hidden;
  background: var(--media-well);
  border-radius: 20px;
}

/* Video Bio still — fills the 300 × 420 well, whatever the upload's ratio */
.pf-media__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* The actual player — same element/lazy-load pattern as your-profile.
   blade.php's own .media-well__video (data-src copied to src on first
   play, never fetched before then). Absolutely positioned over the still
   .pf-media__img underneath (that <img> is plain document flow, not
   itself positioned) — .pf-media's own position:relative is what this is
   relative to, same containing block .pf-media__play/.pf-media__label
   already use. */
.pf-media__video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Exactly public/ui/profile.html's own .pf-media__play — a plain white
   text glyph (▶/⏸, swapped by JS — see the pushed script block) on a
   52px glass circle, never an <img> icon (your-profile.blade.php's own
   icon-play.svg/icon-pause.svg are a dark-navy fill, which reads as a
   mismatched grey/dark blob against this specific white-on-glass design —
   this page keeps the reference's own look instead). */
.pf-media__play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0 0 0 4px;
  font-size: 20px;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, .22);
  border: 0;
  border-radius: 26px;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: background-color .15s ease;
}
/* The glyph is centred via the button's own flex layout above — the
   4px left padding is purely an optical correction for ▶'s own built-in
   whitespace, so it only applies while that glyph (not ⏸) is showing. */
.pf-media__play[data-playing] { padding: 0; }
.pf-media__play:hover { background: rgba(255, 255, 255, .34); }

.pf-media__label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
}

/* Identity block overlaps the bottom of the Video Bio by 60px */
.pf-person {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: -60px;
  text-align: center;
}

.pf-avatar-wrap { position: relative; width: 74px; height: 74px; }

/* Avatar <img> — fixed size, any user photo fills it via object-fit.
   Portraits are anchored to the top so the face stays in frame. */
.pf-avatar {
  display: block;
  width: 74px;
  height: 74px;
  object-fit: cover;
  object-position: center top;
  border: 2.5px solid var(--sapphire);
  border-radius: 50%;
  background-color: #f2ece1;
}

/* Pink Tick's own ring color — every other role keeps the default sapphire
   border above. Same role-slug branch .pf-person__tier--sapphire already
   uses, just inverted onto the avatar instead of the tier label. */
.pf-avatar--pink-tick { border-color: var(--pink-tick); }

/* Glass "edit photo" button on the avatar's lower-right */
.pf-avatar__edit {
  position: absolute;
  left: 50px;
  top: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  background: rgba(255, 255, 255, .72);
  border: 0;
  border-radius: var(--r-pill);
  cursor: pointer;
}
.pf-avatar__edit img { width: 28px; height: 28px; }

.pf-person__text { display: flex; flex-direction: column; align-items: center; gap: 3px; }

.pf-person__name { display: flex; align-items: center; gap: 6px; margin: 0; }
.pf-person__crown { width: 19px; height: auto; }
.pf-person__crown--pending { opacity: .45; filter: grayscale(1); }
.pf-person__title {
  font-family: var(--font-serif);
  font-size: var(--fs-screen-title-compact);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink-base);
}
.pf-person__edit { display: flex; padding: 0; background: none; border: 0; cursor: pointer; }
.pf-person__edit img { width: 28px; height: 28px; }

.pf-person__tier   { font-size: var(--fs-caption); line-height: var(--lh-meta); color: var(--pink-tick); }
.pf-person__tier--sapphire { color: var(--sapphire); }
.pf-person__handle { font-size: var(--fs-meta);    line-height: var(--lh-meta); color: var(--ink-secondary); }

/* Buyer accounts get a minimal profile card instead of the full
   hero/categories/share layout (see profile/index.blade.php's own
   $isBuyer branch) — a Buyer has no public profile, Video Bio or
   categories, so there's nothing there to show/edit/share anyway, just
   the photo and name they can still change, plus Log out. */
.buyer-card-wrap { display: flex; justify-content: center; padding: 40px 16px; }

.buyer-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 300px;
  padding: 28px 24px 24px;
  background: var(--surface);
  border-radius: var(--r-card);
  box-shadow: 0 10px 24px rgba(12, 22, 51, .10);
  text-align: center;
}

.buyer-card .pf-avatar-wrap { margin-bottom: 10px; }

.buyer-card__meta { font-size: var(--fs-caption); line-height: var(--lh-meta); color: var(--ink-secondary); margin: 0 0 18px; }

.buyer-logout-btn {
  width: 100%;
  padding: 12px;
  background: var(--wash-pink-mid);
  color: var(--danger);
  font-weight: 600;
  font-size: var(--fs-body);
  border: 0;
  border-radius: var(--r-pill);
  cursor: pointer;
}
.buyer-logout-btn:hover { background: #fbdce4; }

/* Category chips */
.pf-cats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding: 0 20px;
}

/* Public profile only — visitor's "Join SistaFam" CTA (see
   PublicProfileController::show()/profile/public.blade.php). Sized like
   the compact .pf-btn family (40px) rather than the large 52px .btn-ss
   used for full-page onboarding CTAs — this sits inside the hero card
   alongside much smaller text, not standing alone on its own screen. */
.pf-join-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 300px; /* matches .pf-media's own fixed width above it */
  height: 40px;
  margin-top: 16px;
  padding: 0 20px;
  color: var(--sapphire);
  background: var(--surface);
  border: 1.5px solid var(--sapphire);
  border-radius: var(--r-btn-md);
  font-size: var(--fs-btn-md);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease;
}
.pf-join-btn:hover { background: var(--sapphire-tint); }

/* "Waiting on the server" state — same language as .pill-btn's own
   is-loading (Phone Contacts, Search on SistaShop™). Join and Leave both
   stay this one pill style otherwise, by design — Leave never reads as a
   disabled/dead state. */
.pf-join-btn.is-loading { opacity: .55; cursor: progress; }

.pf-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  font-size: var(--fs-meta);
  font-weight: 600;
  line-height: var(--lh-label);
  white-space: nowrap;
  border-radius: 8px;
}
.pf-chip__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
}
.pf-chip--hormonal  { color: #6d28d9; background: rgba(109, 40, 217, .08); }
.pf-chip--menopause { color: #c26e2d; background: rgba(194, 110, 45, .08); }
.pf-chip--hormonal img  { width: 13.75px; height: 11.96px; }
.pf-chip--menopause img { width: 13.75px; height: 10.69px; }

.pf-link {
  padding: 0;
  font-size: var(--fs-meta);
  font-weight: 600;
  line-height: var(--lh-label);
  color: var(--sapphire);
  background: none;
  border: 0;
  cursor: pointer;
}
.pf-link:hover { text-decoration: underline; }

/* -- Right column cards --------------------------------------------------- */
.pf-side { display: flex; flex-direction: column; gap: 10px; }

/* Categories card — Primary/Secondary rows, each its own labeled line
   (unlike .pf-cats above, the hero's own flat single-row layout still used
   by the read-only public profile page). */
.pf-cat-rows { display: flex; flex-direction: column; gap: 10px; }
.pf-cat-row { display: flex; align-items: flex-start; gap: 10px; }
.pf-cat-row__label {
  flex: 0 0 72px;
  padding-top: 5px;
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--ink-tertiary);
}
.pf-cat-row__chips { display: flex; flex-wrap: wrap; gap: 8px; }

.pf-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-media);
}
.pf-card--caps { gap: 8px; margin-top: 5px; }

.pf-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.pf-card__label {
  margin: 0;
  font-size: var(--fs-microcaps-tight);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--ink-secondary);
}

.pf-card__text { font-size: var(--fs-caption); line-height: var(--lh-meta); color: var(--pf-ink-muted); }

.pf-card__rule { height: 1px; background: var(--border); }

/* Video Bio actions */
.pf-actions { display: flex; gap: 8px; }

.pf-btn {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 12px;
  font-size: var(--fs-btn-md);
  font-weight: 600;
  white-space: nowrap;
  border-radius: var(--r-btn-md);
  transition: background-color .15s ease, border-color .15s ease;
}
.pf-btn--tint { color: var(--sapphire-tint-ink); background: var(--sapphire-tint); }
.pf-btn--tint:hover { color: var(--sapphire-tint-ink); background: #dde7fc; }
.pf-btn--outline { color: var(--ink-strong); background: var(--surface); border: 1px solid var(--border); }
.pf-btn--outline:hover { color: var(--ink-strong); border-color: var(--border-outline); }

/* SistaFam share tiles */
.pf-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }

/* Public profile's own "Share this profile" card only — just Share
   link + QR code (see public.blade.php), never the owner dashboard's
   full 4-tile "Grow your SistaFam" row — 2 columns instead of 4 so
   those two tiles split the row 50/50 instead of leaving the other
   half empty. */
.pf-card--share .pf-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Owner dashboard's own "Grow your SistaFam" row — down to 3 tiles
   (Share link/QR code/Contacts, Email dropped) — 3 equal columns instead
   of 4 so they fill the row evenly instead of leaving a gap where Email
   used to sit. */
.pf-card--sistafam .pf-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.pf-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 4px;
  font-size: var(--fs-caption);
  line-height: var(--lh-meta);
  color: var(--sapphire-tint-ink);
  background: var(--sapphire-tint);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color .15s ease;
}
.pf-tile img { width: 22px; height: 22px; }
.pf-tile:hover { color: var(--sapphire-tint-ink); background: #dde7fc; }

/* Capabilities list */
.pf-cap { display: flex; align-items: flex-start; gap: 10px; }
.pf-cap > img { flex: 0 0 20px; width: 20px; height: 20px; }
.pf-cap__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pf-cap__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pf-cap__title {
  font-size: var(--fs-row-title);
  font-weight: 500;
  line-height: var(--lh-row-title);
  color: var(--ink-strong);
}
.pf-cap__desc { font-size: var(--fs-caption); line-height: var(--lh-meta); color: var(--pf-ink-muted); }

/* Neutral status pill ("Coming soon") */
.pill-status {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  font-size: var(--fs-microcaps-tight);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .4px;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink-secondary);
  background: var(--border-quiet);
  border-radius: 12px;
}
.pill-status img { width: 6px; height: 6px; }

.profile-page .site-footer { padding-bottom: 24px; }

/* -- Profile · responsive ------------------------------------------------- */
@media (max-width: 991.98px) {
  .profile-grid { grid-template-columns: 1fr; }
  .pf-hero { min-height: 0; }
}

@media (max-width: 575.98px) {
  .profile-main { padding: 16px 16px 24px; }
  .pf-hero { padding: 20px 16px; }
  .pf-card { padding: 16px; }
  .pf-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-cats { padding: 0; }
}

/* Neutralises frontend/layout/index.blade.php's own <main class="page-main">
   wrapper's flex-center (NOT its padding — see below) for every
   .profile-page screen (Profile, My SistaFam™, Notifications — anything
   using frontend.layout.app's own @section('body-class', 'profile-page')).
   .profile-main's own width/max-width/margin/padding (above) is what
   actually lays it out instead; .page-main's default display:flex;
   justify-content:center would otherwise shrink-and-center it as a flex
   item rather than letting it fill the page edge-to-edge like the
   reference. Other pages using frontend.layout.app (e.g. Coming Soon)
   keep .page-main's default flex-center, which is what their own content
   expects.
   display:block only — no padding:0 override here (an earlier pass here
   briefly added one, see git history): .profile-main's own
   `padding: 24px 24px 32px` (above) already wins the cascade on its own
   (same specificity as .page-main's padding, defined later in this file)
   and is exactly the gap the reference itself has between the header and
   the first card — forcing padding:0 here would double-override it to
   edge-to-edge-under-the-header, which isn't what the reference shows.
   A plain class selector, NOT body:has(.profile-page) (signup-onboard.
   css's own body:has(.split) precedent, referenced in an earlier version
   of this comment, doesn't actually apply here): .profile-page is the
   <body> tag's OWN class (@yield('body-class') lands directly on <body>,
   see frontend/layout/index.blade.php), and :has() only ever matches
   DESCENDANTS of the element it's written on, never the element's own
   classes — body:has(.profile-page) can therefore never match here and
   silently never fired. It stayed unnoticed on the Profile page itself
   only because .profile-grid's own `fr` grid columns happen to still
   stretch to fill a flex line even uncentered; My SistaFam™/Notifications
   have no such accidental escape hatch, which is what actually surfaced
   this. (signup-onboard.css's own body:has(.split) rule is unaffected by
   this same mistake — .split there is a class on an inner <div>, a real
   descendant of <body>, not on <body> itself.) */
body.profile-page > main.page-main {
  display: block;
}

/* ==========================================================================
   33. SISTASHOP READY — copied verbatim from public/ui/css/style.css's own
   §27 (same section number/name there) for frontend.ready (resources/views/
   frontend/ready.blade.php) — the screen shown right after Invite's own
   Continue, before Coming Soon. Every var() here (--font-serif, --ink-
   strong/base/secondary, --border, --r-card, --r-btn-md, --fs-*, --lh-*)
   already exists above as the same shared token this whole stylesheet uses
   everywhere else, so nothing extra was needed to reuse this section as-is.
   ========================================================================== */
.ready-glow {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 288px;
  height: 288px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at center,
              rgba(20, 68, 196, .14) 0%,
              rgba(20, 68, 196, 0) 70%);
}

.ready-tick {
  width: 79px;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 6px 16px rgba(224, 53, 107, .28));
}

.ready-title {
  font-family: var(--font-serif);
  font-size: 29px;
  line-height: 1.12;
  color: var(--ink-strong);
}

.ready-sub {
  font-size: var(--fs-btn-md);
  line-height: 1.45;
  color: var(--ink-secondary);
}

.ready-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  border-radius: var(--r-card);
  box-shadow: inset 0 0 0 1px var(--border);
}

.ready-row__icon {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-btn-md);
}

.ready-row__icon img { width: 15px; height: 15px; }

.ready-row__icon--pink     { background: #fcebf2; }
.ready-row__icon--sapphire { background: #e7f0ff; }
.ready-row__icon--green    { background: #e8f6ed; }
.ready-row__icon--gold     { background: #fbf4e8; }

.ready-row__title {
  font-size: var(--fs-meta);
  line-height: var(--lh-label);
  font-weight: 600;
  color: var(--ink-base);
  margin-bottom: 2px;
}

.ready-row__sub {
  font-size: var(--fs-caption);
  line-height: var(--lh-meta);
  color: var(--ink-secondary);
}

/* -- Ready tick entrance animation (Pink Tick™ / Crown™ / Diamond™) --------
   Copied verbatim from public/ui/css/style.css's own §27 update — the big
   tick above sits inside .result__tick-wrap.ready-tick-wrap (reusing the
   shared Pink Tick™ entrance/stars/sparks CSS above) instead of a bare
   <img>; .ready-glow gets its own breathing entrance (it replaces
   .result__tick-wrap's own pink glow — ready-tick-wrap::before below hides
   that one so they don't double up). ready.blade.php picks the --crown/
   --diamond variant per the user's actual role group. */
.ready-glow { animation: tick-glow-in .6s ease-out both, tick-glow-breathe 3.2s ease-in-out 1.2s infinite; }

.result__tick-wrap.ready-tick-wrap { width: 113px; height: 88px; }
.ready-tick-wrap::before { display: none; }

@media (prefers-reduced-motion: reduce) {
  .ready-glow { animation: none; }
}

/* Platinum Crown™ variant (also used for the other crown-tier roles —
   gold/rose-gold/bronze crown — same as the reference only ever showing
   Platinum Crown's own motion once, reused as-is for the whole group) —
   neutral silver shadow. On load the crown drops in and settles, silver
   sparks burst out, then a light sheen sweeps across the metal and
   starburst glints twinkle on the three tips and the band. Markup inside
   .ready-tick-wrap--crown: span.crown-sheen (after the img) +
   span.crown-glint ×N, each glint placing itself from centre inline:
   style="--x:…; --y:…; --s:…; --d:…" */
.ready-tick--crown { filter: drop-shadow(0 6px 16px rgba(120, 128, 150, .3)); }

.result__tick-wrap.ready-tick-wrap--crown { width: 140px; height: 104px; }

.result__tick-wrap .ready-tick--crown {
  width: 100px;
  animation: crown-drop .75s cubic-bezier(.34, 1.56, .64, 1) .2s both;
}

.crown-sheen {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100px;
  aspect-ratio: 928 / 664;
  transform: translate(-50%, -50%);
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, .95) 50%, rgba(255, 255, 255, 0) 62%) no-repeat;
  background-size: 300% 100%;
  background-position: 150% 0;
  -webkit-mask: url("../images/onboard/tier-platinum-crown.png") center / contain no-repeat;
          mask: url("../images/onboard/tier-platinum-crown.png") center / contain no-repeat;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: crown-sheen 3.6s ease-in-out 1s infinite;
}

/* Four-ray starburst: two crossed fading bars around a bright core */
.crown-glint {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--s, 22px);
  height: var(--s, 22px);
  margin: calc(var(--s, 22px) / -2) 0 0 calc(var(--s, 22px) / -2);
  background: radial-gradient(circle, #fff 0 10%, rgba(255, 255, 255, .55) 18%, rgba(214, 220, 255, 0) 42%);
  opacity: 0;
  pointer-events: none;
  transform: translate(var(--x), var(--y)) scale(0);
  animation: crown-glint 3s ease-in-out var(--d, 1.2s) infinite;
}
.crown-glint::before,
.crown-glint::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 3px;
  margin: -1.5px 0 0 -50%;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 50%, rgba(255, 255, 255, 0));
  box-shadow: 0 0 6px rgba(200, 210, 255, .9);
}
.crown-glint::after { transform: rotate(90deg); }

.ready-tick-wrap--crown .result__spark { background: #dfe3ee; box-shadow: 0 0 6px rgba(255, 255, 255, .9); }
.ready-tick-wrap--crown .result__spark:nth-child(odd) { background: #fff; }

@keyframes crown-drop {
  0%   { opacity: 0; transform: translateY(-22px) scale(.7) rotate(-8deg); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
@keyframes crown-sheen {
  0%       { background-position: 150% 0; }
  45%, 100% { background-position: -50% 0; }
}
@keyframes crown-glint {
  0%, 100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(0) rotate(0deg); }
  20%      { opacity: 1; transform: translate(var(--x), var(--y)) scale(1) rotate(45deg); }
  40%      { opacity: 0; transform: translate(var(--x), var(--y)) scale(.2) rotate(90deg); }
}

@media (prefers-reduced-motion: reduce) {
  .result__tick-wrap .ready-tick--crown { animation: none !important; }
  .crown-sheen,
  .crown-glint { display: none; }
}

/* Emerald Diamond™ variant (also reused for the other diamond-tier roles —
   sapphire/dual diamond — same group-wide reuse as crown above) — same
   motion as the crown (drop-in, sheen, glints, spark burst), retinted
   green and masked to the diamond shape. */
.result__tick-wrap.ready-tick-wrap--diamond { width: 140px; height: 104px; }

.result__tick-wrap .ready-tick--diamond {
  width: 100px;
  filter: drop-shadow(0 6px 16px rgba(20, 160, 80, .32));
  animation: crown-drop .75s cubic-bezier(.34, 1.56, .64, 1) .2s both;
}

.crown-sheen--diamond {
  width: 100px;
  aspect-ratio: 920 / 724;
  -webkit-mask-image: url("../images/onboard/tier-emerald-diamond.png");
          mask-image: url("../images/onboard/tier-emerald-diamond.png");
}

.ready-tick-wrap--diamond .result__spark { background: #3ddc84; box-shadow: 0 0 6px rgba(120, 255, 170, .9); }
.ready-tick-wrap--diamond .result__spark:nth-child(odd) { background: #fff; }

@media (prefers-reduced-motion: reduce) {
  .result__tick-wrap .ready-tick--diamond { animation: none !important; }
}

/* ==========================================================================
   Invite · Phone Contacts — Join / Invite tabs (ported from HTML/css/style.css)
   ========================================================================== */

/* -- Pill buttons (Join / Invite / Sync) -----------------------------------
   Outline sapphire by default; .is-done is the green "Joined / Invited"
   state; --tint is the soft Sync cue on the Phone Contacts source row. */
.pill-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: var(--fs-btn-sm);
  font-weight: 600;
  line-height: normal;
  white-space: nowrap;
  color: var(--sapphire);
  background: var(--surface);
  border: 1px solid var(--sapphire);
  border-radius: 9px;
  cursor: pointer;
  transition: background-color .15s ease, opacity .15s ease;
}
.pill-btn:hover { background: var(--sapphire-tint); }
.pill-btn img { width: 14px; height: 14px; }

.pill-btn.is-done {
  color: var(--positive);
  background: #e6f5ec;
  border-color: transparent;
  cursor: default;
}

/* "Leave" — an already-joined contact's own pill; same danger red as
   .fam-pill:hover/.btn-ss--danger elsewhere, not a new color. */
.pill-btn--leave { color: #b23a5a; border-color: #b23a5a; }
.pill-btn--leave:hover { background: #fbe9ee; }

/* Waiting for the server to confirm a Join / Invite / Leave */
.pill-btn.is-loading { opacity: .55; cursor: progress; }

.pill-btn--tint {
  padding-left: 10px;
  background: var(--sapphire-tint);
  border-color: transparent;
}
.source-row:hover .pill-btn--tint { background: #dde7fc; }

/* Real profile photos are <img>s, not the mock-up's background images */
img.person-row__photo { object-fit: cover; }

/* -- Tabbed modal ---------------------------------------------------------- */
.ss-modal__card--tabs { gap: 14px; }

.ss-modal__titles { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ss-modal__desc { margin: 0; font-size: var(--fs-body); line-height: var(--lh-body); color: var(--ink-secondary); }

.ss-tabs { display: flex; }

.ss-tab {
  flex: 1 1 0;
  padding: 10px 4px 12px;
  font-size: var(--fs-meta);
  font-weight: 600;
  line-height: var(--lh-label);
  white-space: nowrap;
  color: var(--ink-secondary);
  background: none;
  border: 0;
  box-shadow: inset 0 -1px 0 var(--border);
  cursor: pointer;
  transition: color .15s ease, box-shadow .15s ease;
}
.ss-tab:hover { color: var(--ink-base); }
.ss-tab.is-active { color: var(--sapphire); box-shadow: inset 0 -2px 0 var(--sapphire); }

.ss-tab-panel {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ss-tab-panel[hidden] { display: none; }

@media (max-width: 575.98px) {
  .ss-tab { white-space: normal; }
}

/* Category chips rendered on the Profile page's own hero take their colour
   from the category's own DB color/background_color (see profile/index.
   blade.php's inline style="--cat: ...") — this class only supplies the
   shared shape every .pf-chip already has plus this --cat var mapping. */
.pf-chip--cat {
  color: var(--cat);
  background: color-mix(in srgb, var(--cat) 8%, transparent);
}
.pf-chip--cat .pf-chip__icon img { width: auto; height: auto; max-width: 13.75px; max-height: 13.75px; }

/* ==========================================================================
   34. PROFILE MODALS — Edit name · Video Bio · Edit categories · Subcategories
   Copied verbatim from public/ui/css/style.css's own §33 (renumbered here —
   this stylesheet's own §33 is already SISTASHOP READY) for frontend.
   profile.index's own new Edit name/Edit categories/Video Bio popups. Built
   on the .ss-modal shell from §30/invite's own modal CSS (already identical
   between ui and here); public/frontend/assets/js/profile-modals.js drives
   the category picker.

   ONE deliberate change from the ui reference: .cat-grid below is scoped to
   `.ss-modal .cat-grid` (ui's own copy is unscoped) — this exact class name
   is already used, unscoped, by the onboarding Category page's own grid
   (`.cat-grid` with gap:8px, see this file's own category-picker section);
   copying ui's unscoped 10px-gap version verbatim would have silently
   changed that unrelated page's spacing too.
   ========================================================================== */

/* -- Shell additions ------------------------------------------------------ */
.ss-modal__card--sm { max-width: 390px; }

.ss-modal__titles { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ss-modal__desc { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--ink-secondary); }

/* Scrolls when the card is taller than the viewport — scrollbar hidden
   (still scrollable via touch/wheel/keyboard) since a visible bar inside
   the rounded card looked out of place against the design reference. */
.ss-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.ss-modal__body::-webkit-scrollbar { display: none; }

.ss-modal__btn--save { min-width: 150px; }

/* Edit categories', Video Bio's, Edit name's and the QR modal's own
   footers only (not the shared .ss-modal__foot base rule other modals
   like Invite's own still use) — Cancel/Save (or Close/Download) split
   the full row 50/50 instead of each sizing to its own text + right-
   aligning, which left a gap after a short "Cancel". Video Bio's own
   rule covers every one of its views (overview, thumbnail — record has
   no Cancel/Save foot of its own) since they all share the same
   .ss-modal__foot markup. */
#modal-categories .ss-modal__foot .ss-modal__btn,
#modal-videobio .ss-modal__foot .ss-modal__btn,
#modal-name .ss-modal__foot .ss-modal__btn,
#modal-qr .ss-modal__foot .ss-modal__btn {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
}

/* Stacked modals (sheet over a modal) paint above the one beneath */
.ss-modal--stacked { z-index: 1060; }

/* -- Edit name ------------------------------------------------------------ */
.locked-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--border-quiet);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.locked-field__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.locked-field__label { font-size: var(--fs-caption); line-height: var(--lh-meta); color: var(--ink-tertiary); }
.locked-field__value { font-size: var(--fs-row-title); font-weight: 500; line-height: var(--lh-row-title); color: var(--ink-secondary); }
.locked-field__tag {
  flex: 0 0 auto;
  padding: 4px 8px;
  font-size: var(--fs-caption);
  line-height: var(--lh-meta);
  color: var(--ink-tertiary);
  white-space: nowrap;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

/* -- Video Bio ------------------------------------------------------------ */
.vb-preview {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: var(--surface);
  border-radius: var(--r-card-lg);
  box-shadow: inset 0 0 0 1px var(--border);
}
.vb-preview__label { font-size: var(--fs-meta); font-weight: 600; line-height: var(--lh-label); color: var(--ink-secondary); }

.vb-preview__media {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: var(--media-well);
  border-radius: var(--r-media);
}
.vb-preview__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Pink Tick glow ring around the recorded clip */
.vb-preview__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 15px;
  box-shadow: inset 0 0 0 3px rgba(224, 53, 107, .55), inset 0 0 26px rgba(224, 53, 107, .35);
  pointer-events: none;
}

.vb-preview__status {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 8px 13px;
  font-size: var(--fs-meta);
  font-weight: 600;
  line-height: var(--lh-label);
  color: #fff;
  background: var(--glass-control);
  border-radius: var(--r-card-lg);
}

.vb-preview__actions { display: flex; gap: var(--sp-stack); }

/* -- QR code modal (partials/qr-modal.blade.php) --------------------------
   A QR code needs a light, high-contrast background with its own "quiet
   zone" margin around the matrix — the opposite treatment of the dark
   .media-well family used for photo/video previews elsewhere in these
   same modals. */
.qr-well {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card-lg);
}
.qr-well canvas { display: block; max-width: 100%; height: auto; }

.vb-btn {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 13px;
  font-size: var(--fs-btn-md);
  font-weight: 600;
  line-height: 1;
  border: 0;
  border-radius: var(--r-btn-md);
  cursor: pointer;
  transition: filter .15s ease;
}
.vb-btn:hover { filter: brightness(.97); }
.vb-btn--tint  { color: var(--sapphire); background: var(--sapphire-tint); }
.vb-btn--quiet { color: var(--ink-body); background: var(--border-quiet); }

/* Option list (Re-record / Upload / Thumbnail) */
.opt-list {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-media);
  overflow: hidden;
}
.opt-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 12px 14px;
  color: var(--ink-base);
  cursor: pointer;
  transition: background-color .15s ease;
}
.opt-row + .opt-row { border-top: 1px solid var(--border); }
.opt-row:hover { color: var(--ink-base); background: #f7f8fa; }
/* The reference only ever used .opt-row on an <a>/<label> (both borderless/
   transparent/left-aligned by default) — the Profile page's own in-modal
   Re-record/Change-thumbnail rows use a real <button> instead (so they can
   trigger a view-switch instead of a navigation), which brings its own
   native UA button chrome (border, background, centered text) unless
   explicitly reset here. */
button.opt-row {
  width: 100%;
  border: 0;
  background: none;
  text-align: left;
  font: inherit;
}
.opt-row__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.opt-row__title { font-size: var(--fs-row-title); font-weight: 500; line-height: var(--lh-row-title); }
.opt-row__desc { font-size: var(--fs-meta); line-height: var(--lh-meta); color: var(--ink-secondary); }
.opt-row__chev { font-size: var(--fs-row-title); font-weight: 500; color: var(--ink-tertiary); }

/* Visually hidden file input inside the "Upload" controls */
.sr-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* -- Edit categories ------------------------------------------------------ */
.cat-status { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

.cat-status__count {
  padding: 6px 10px;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .84px;
  text-transform: uppercase;
  color: var(--sapphire);
  background: var(--sapphire-tint);
  border-radius: 8px;
  transition: background-color .2s ease, color .2s ease;
}
/* Flashes when someone tries to pick a fourth category */
.cat-status__count.is-full { color: #fff; background: var(--sapphire); }

.cat-status__hint { font-size: var(--fs-meta); color: var(--ink-tertiary); text-align: right; }

.ss-modal .cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

.cat-tile {
  --cat: var(--ink-base);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 84px;
  padding: 10px 12px;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-media);
  cursor: pointer;
  transition: box-shadow .15s ease, background-color .15s ease;
}
.cat-tile:hover { box-shadow: inset 0 0 0 1px var(--cat); }

.cat-tile__top { display: flex; align-items: flex-start; justify-content: space-between; }
.cat-tile__icon { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; }
/* Figma mirrors the up-left arrow export so it points up-right */
.cat-tile__arrow { width: 18px; height: 18px; transform: scaleX(-1); }

.cat-tile__name { font-size: var(--fs-btn-sm); font-weight: 600; line-height: normal; color: var(--ink-base); }
.cat-tile__meta { font-size: 9.5px; font-weight: 500; line-height: normal; color: var(--cat); }

.cat-tile__badge {
  position: absolute;
  top: 11px;
  right: 32px;
  width: 58px;
  height: 16px;
  font-size: 8.5px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: .68px;
  text-align: center;
  color: #fff;
  background: var(--sapphire);
  border-radius: 25px;
}

.cat-tile__remove {
  position: absolute;
  top: 9px;
  right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0 0 1px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink-secondary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}
.cat-tile__remove:hover { color: var(--ink-base); border-color: var(--border-outline); }

/* Selected (secondary) and Primary states */
.cat-tile.is-selected {
  background: color-mix(in srgb, var(--cat) 8%, transparent);
  border: 1.25px solid var(--cat);
}
.cat-tile.is-primary { border-width: 2px; padding: 9px 11px; }
.cat-tile.is-selected .cat-tile__name { color: var(--cat); }
.cat-tile.is-selected .cat-tile__arrow,
.cat-tile:not(.is-selected) .cat-tile__meta,
.cat-tile:not(.is-selected) .cat-tile__remove,
.cat-tile:not(.is-primary) .cat-tile__badge { display: none; }

/* -- Subcategory sheet ---------------------------------------------------- */
.subcat-sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 390px;
  max-height: 100%;
  padding: 26px 20px 22px;
  background: var(--surface);
  border-radius: 22px;
  box-shadow: 0 24px 48px rgba(12, 22, 51, .18);
}

.subcat-sheet__grip {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 38px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  transform: translateX(-50%);
}

.subcat-sheet__head { display: flex; align-items: flex-start; gap: 10px; }
.subcat-sheet__icon { display: flex; align-items: center; justify-content: center; flex: 0 0 28px; height: 28px; margin-top: 4px; }
.subcat-sheet__titles { flex: 1 1 auto; min-width: 0; }
.subcat-sheet__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 400;
  line-height: normal;
  color: var(--ink-base);
}
.subcat-sheet__sub { margin-top: 1px; font-size: 12px; color: var(--ink-secondary); }

/* Primary pill — filled when this is the Primary, a button otherwise */
.subcat-sheet__pill {
  flex: 0 0 110px;
  height: 28px;
  margin-top: 4px;
  padding: 0;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .76px;
  text-transform: uppercase;
  color: var(--sapphire);
  background: var(--surface);
  border: 1px solid var(--sapphire);
  border-radius: 14px;
  cursor: pointer;
}
.subcat-sheet__pill.is-primary { color: #fff; background: var(--sapphire); cursor: default; }

.subcat-sheet__label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: 19px;
}
.subcat-sheet__label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.05px;
  text-transform: uppercase;
  color: var(--ink-secondary);
}
.subcat-sheet__all {
  padding: 0;
  font-size: var(--fs-btn-sm);
  font-weight: 600;
  color: var(--sapphire);
  white-space: nowrap;
  background: none;
  border: 0;
  cursor: pointer;
}

/* Chips scroll when a category has a long subcategory list */
.subcat-chips {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 8px;
  min-height: 0;
  max-height: 240px;
  margin-top: 11px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.subcat-chip {
  padding: 8px 12px;
  font-size: var(--fs-btn-md);
  font-weight: 500;
  line-height: normal;
  color: var(--ink-base);
  white-space: nowrap;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 48px;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.subcat-chip:hover { border-color: var(--border-outline); }
/* --cat is set on the sheet itself (see profile-modals.js's own
   openSheet()) to the SAME real DB color the category tile it was opened
   from already uses. Solid fill + white text — same look (not just an
   outline/tint) as the onboarding category picker's own .pill--cat
   (background: var(--cat-color); color: var(--ink-on-dark)), just read
   from --cat (inherited down from the sheet) instead of --cat-color. */
.subcat-chip[aria-pressed="true"] {
  font-weight: 600;
  color: var(--ink-on-dark);
  background: var(--cat, #2563eb);
  border-color: var(--cat, #2563eb);
}
.subcat-chip[aria-pressed="true"]::before { content: "\2713\00a0"; }

.subcat-sheet__actions { display: flex; flex-direction: column; gap: 12px; margin-top: 49px; }
.subcat-sheet__actions .btn-ss { min-height: 48px; }

/* -- Switch account modal: list/add/code view wrapper --------------------
   Same reasoning/fix as #modal-videobio's own [data-vb-view] below —
   .ss-modal__card's own `gap: 16px` only reaches direct children, lost
   once each view nests head/body/foot one level deeper. The list view
   nests them directly in the view div; the add/code views nest them one
   level deeper still, inside their own <form> (needed so Enter-to-submit
   works) — that form needs the exact same flex/gap treatment too, or its
   own head/body/foot lose the gap again despite the outer view having it. */
#modal-switch [data-switch-view],
#modal-switch [data-switch-view] > form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* A saved (non-current) account's own remove ("×") button — new, not in
   the original static reference (which only ever showed one hardcoded
   example row, with no remove action at all). Same small icon-button
   language as .ss-modal__close, just sized for sitting inline at the end
   of an .acct-row instead of a modal's own corner — red (icon-remove-
   circle.svg, its own --danger-colored copy of icon-close-circle.svg),
   not dimmed, since removing an account is a real destructive action
   worth reading as one at a glance, not a muted secondary control. */
.acct-row__remove {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  transition: opacity .15s ease;
}
.acct-row__remove:hover { opacity: .75; }
.acct-row__remove img { width: 20px; height: 20px; }

/* -- Video Bio modal: overview/record/thumbnail view wrapper -------------
   .ss-modal__card's own `gap: 16px` only reaches its DIRECT children —
   normally .ss-modal__head/__body/__foot themselves. Each of this one
   modal's 3 views wraps head/body/foot one level deeper (so only one is
   ever shown at a time), which otherwise loses that same gap entirely:
   head/body/foot inside a view would stack with NO space between them,
   crowding everything and leaving the foot's Cancel/Save row sitting
   flush against the card's own bottom edge instead of with its usual
   breathing room. Restores the exact same spacing by making each view
   wrapper its own matching flex column.

   `min-height: 0` is required here too: without it, this wrapper's
   automatic min-height defaults to its full content size (video preview +
   buttons + bio field + footer), so on short/mobile viewports it never
   shrinks to fit `.ss-modal__card`'s own `max-height: 100%` cap — the
   content just overflows past the card's rounded bottom edge (cutting off
   the footer's Cancel/Save row) instead of letting `.ss-modal__body`'s
   own `overflow-y: auto` actually scroll it into view. */
#modal-videobio [data-vb-view] {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  gap: 16px;
}

/* Record view keeps the SAME "Video Bio" head every other view uses
   (added back after this was briefly full-bleed/headerless) — the camera
   stage (.recorder, from record-video.blade.php — unchanged, still a real
   separate page too) sits in a normal, padded .ss-modal__body below it
   instead of taking over the whole card edge-to-edge, same contained-
   "well" treatment the thumbnail view's own .media-well--tall already
   gets. .recorder's own normal 844px (a full onboarding-viewport height)
   is capped to something that actually fits inside a modal card, and it
   gets its own rounded corners/clipping since it's no longer the card's
   own edge-to-edge shape. */
#modal-videobio .recorder {
  height: 520px;
  border-radius: var(--r-card);
  overflow: hidden;
  /* .recorder's own base rule (record-video.blade.php) paints a static
     placeholder photo as its background-image, behind the <video> itself
     — meant to be covered instantly once the camera stream starts, which
     it is not quite fast enough here. Plain black (its own already-set
     background-color, --media-well, normally hidden under this image)
     reads as a clean "camera loading" state instead of a random photo. */
  background-image: none;
}

/* .recorder__veil's own gradient (record-video.blade.php) was tuned for
   the standalone page's full 844px-tall stage, and even there it's a soft
   fade — a flat solid band reads much cleaner behind the close/timer
   controls (top) and the shutter row/hint (bottom) than any blend into
   the live feed. Two matching hard-stop bands (each a pair of stops at
   the same position, no blend zone) instead of a fade: solid black
   through 110px top and the same 110px bottom, symmetric, with the live
   feed showing through untouched in between. */
#modal-videobio .recorder__veil {
  background:
    linear-gradient(180deg,
      rgba(10, 16, 28, .95) 0px,
      rgba(10, 16, 28, .95) 110px,
      rgba(10, 16, 28, .04) 110px,
      rgba(10, 16, 28, .04) calc(100% - 110px),
      rgba(10, 16, 28, .95) calc(100% - 110px),
      rgba(10, 16, 28, .95) 100%);
}

/* Thumbnail view: .media-well--tall's own 420px (sized for the standalone
   full-page choose-thumbnail.blade.php screen) dominates a modal card —
   shrunk to something that actually fits alongside the slider/text/
   buttons without the card overflowing. Badge centered against the title
   rather than flex-start (this view's own head has no close (X) button,
   just the time badge, so flex-start left it looking slightly adrift
   next to the title). The mt-3 utility classes this view's own markup
   used to carry (ported straight from choose-thumbnail.blade.php, whose
   page layout has no competing gap of its own) were ALSO stacking on top
   of .ss-modal__body's own `gap: 12px` — removed there (not here) since
   that gap alone already matches every other modal's own spacing. */
#modal-videobio [data-vb-view="thumbnail"] .ss-modal__head { align-items: center; }
#modal-videobio [data-vb-view="thumbnail"] .media-well--tall { height: 240px; }

@media (max-width: 575.98px) {
  .ss-modal__foot .ss-modal__btn--save { min-width: 0; }
  .subcat-sheet { padding: 26px 16px 18px; }
  .subcat-sheet__actions { margin-top: 28px; }
  #modal-videobio .recorder { height: 520px; }
}

/* ==========================================================================
   35. MY SISTAFAM™ · NOTIFICATIONS (copied verbatim from public/ui/css/
   style.css's own §34 "MY SISTAFAM™ · NOTIFICATIONS · USER DETAILS" — the
   "User details" rules there are left out, nothing here is for that page
   yet. Both pages sit on the same .profile-page shell (§32) as My
   SistaShop™ itself.
   ========================================================================== */

/* -- Page header: back button + titles (+ optional actions) -------------- */
.page-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }

.page-head__back {
  flex: 0 0 auto;
  display: flex;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-btn-md);
  transition: border-color .15s ease;
}
.page-head__back img { width: 16px; height: 16px; }
.page-head__back:hover { border-color: var(--border-outline); }

.page-head__titles { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }

.page-head__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--fs-screen-title);
  font-weight: 400;
  line-height: normal;
  color: var(--ink-base);
}

.page-head__sub { font-size: var(--fs-body); line-height: normal; color: var(--ink-secondary); }

.page-head__actions { flex: 0 0 auto; display: flex; gap: 14px; }

.page-head__btn {
  padding: 9px 14px;
  font-size: var(--fs-btn-md);
  font-weight: 600;
  line-height: normal;
  color: var(--ink-base);
  white-space: nowrap;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-btn-md);
  cursor: pointer;
  transition: border-color .15s ease;
}
.page-head__btn:hover { border-color: var(--border-outline); }
.page-head__btn--blue { color: var(--sapphire); }
.page-head__btn:disabled { color: var(--ink-tertiary); cursor: default; }
.page-head__btn:disabled:hover { border-color: var(--border); }

/* -- Shared surfaces ------------------------------------------------------ */
.app-panel {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-media);
}
.app-panel--lg { border-radius: var(--r-card); }

/* Micro caps label used on stat cards, groups and panel heads */
.app-label {
  margin: 0;
  font-size: var(--fs-microcaps-tight);
  font-weight: 600;
  line-height: normal;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--ink-tertiary);
}

.stat-card { display: flex; flex-direction: column; gap: 4px; padding: 16px; }
.stat-card__value { font-size: 22px; font-weight: 700; line-height: normal; color: var(--ink-base); }
.stat-card__value--sm { font-size: 20px; }
.stat-card__delta { font-size: var(--fs-meta); font-weight: 500; line-height: normal; color: var(--positive); }

/* Tier mark next to a name — the artwork fills a 14px-wide box */
.tier-mark { flex: 0 0 14px; width: 14px; height: auto; }

/* Destructive confirm button (Remove / Leave) */
.btn-ss--danger { color: var(--ink-on-dark); background: #b23a5a; }
.btn-ss--danger:hover { background: #9d3150; }

/* -- My SistaFam™ --------------------------------------------------------- */
.fam-cols { display: flex; align-items: flex-start; gap: 24px; }

.fam-summary { flex: 0 0 320px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }

.link-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  line-height: normal;
}
.link-row + .link-row { border-top: 1px solid var(--border); }
.link-row__title { font-size: var(--fs-body); font-weight: 600; color: var(--ink-base); }
.link-row__aside { font-size: 12px; font-weight: 500; color: var(--sapphire); white-space: nowrap; }
a.link-row,
button.link-row { transition: background-color .15s ease; }
a.link-row:hover,
button.link-row:hover { background: #fafbfc; }
button.link-row {
  width: 100%;
  border: 0;
  background-color: transparent;
  text-align: left;
  cursor: pointer;
}

.fam-list { flex: 1 1 auto; min-width: 0; }

.fam-tabs { display: flex; gap: 8px; padding: 0 20px; border-bottom: 1px solid var(--border); }

.fam-tab {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px 4px 0;
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: normal;
  color: var(--ink-secondary);
  white-space: nowrap;
  background: none;
  border: 0;
  cursor: pointer;
}
.fam-tab::after {
  content: "";
  align-self: stretch;
  height: 3px;
  border-radius: 2px;
  background: transparent;
}
.fam-tab:hover { color: var(--ink-base); }
.fam-tab[aria-selected="true"] { color: var(--sapphire); }
.fam-tab[aria-selected="true"]::after { background: var(--sapphire); }

.fam-search { padding: 12px 16px; }
.fam-search input {
  width: 100%;
  padding: 9px 12px;
  font-size: var(--fs-btn-md);
  line-height: normal;
  color: var(--ink-base);
  background: #f7f8fa;
  border: 0;
  border-radius: var(--r-btn-md);
  outline: none;
}
.fam-search input::placeholder { color: var(--ink-tertiary); }
.fam-search input:focus { box-shadow: inset 0 0 0 1px var(--sapphire); }

.fam-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.fam-row ~ .fam-row { border-top: 1px solid var(--border); }

.fam-row__link {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.fam-row__avatar { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; }

.fam-row__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }

.fam-row__name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-btn-lg);
  font-weight: 600;
  line-height: normal;
  color: var(--ink-base);
}
.fam-row__meta,
.fam-row__date { font-size: 12px; line-height: normal; color: var(--ink-secondary); }
.fam-row__date { flex: 0 0 auto; color: var(--ink-tertiary); white-space: nowrap; }

.fam-pill {
  flex: 0 0 auto;
  padding: 5px 10px;
  font-size: var(--fs-caption);
  font-weight: 600;
  line-height: normal;
  color: var(--ink-secondary);
  background: var(--surface);
  border: 1px solid var(--border-outline);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
}
.fam-pill:hover { color: #b23a5a; border-color: #b23a5a; }

/* "Join back" (members/"In my SistaFam™" tab) — same pill, same action
   (still the Remove flow — see index.blade.php's own comment), just a
   blue-outline, rounded-rectangle look (not the stadium shape below) and
   a slightly tighter radius than the default pill. The .fam-row__remove
   icon next to it is the same icon-close-circle.svg .ss-modal__close
   already uses — neutral/black, not the red icon-remove-circle.svg
   variant, since the pill itself no longer reads as destructive. */
.fam-pill--rejoin,
.fam-pill--rejoin:hover {
  color: var(--sapphire);
  border-color: var(--sapphire);
  border-radius: var(--r-btn-md, 10px);
}
.fam-pill--rejoin:hover { background: var(--sapphire-tint); }

/* Same post-click states as .pill-btn's own is-loading/is-done (Search on
   SistaShop™'s Join pill) — different base class here, so repeated rather
   than shared. */
.fam-pill--rejoin.is-loading { opacity: .55; cursor: progress; }
.fam-pill--rejoin.is-done,
.fam-pill--rejoin.is-done:hover {
  color: var(--positive);
  background: #e6f5ec;
  border-color: transparent;
  cursor: default;
}

.fam-row__remove {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  transition: opacity .15s ease;
}
.fam-row__remove:hover { opacity: .75; }
.fam-row__remove img { width: 24px; height: 24px; }

.fam-empty { padding: 20px 16px 24px; font-size: var(--fs-body); text-align: center; color: var(--ink-tertiary); }

/* "Load more" — new, no reference markup/CSS to port (see
   SistaFamController::loadMore()); a plain full-width text button, not
   one of .btn-ss's own bordered/chip styles, matching a bare centered
   label rather than a visible button shape. */
.fam-load-more {
  display: block;
  width: 100%;
  padding: 14px 20px;
  font-size: var(--fs-microcaps-tight);
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  text-align: center;
  color: var(--ink-secondary);
  background: #f7f8fa;
  border: 0;
  border-top: 1px solid var(--border);
  cursor: pointer;
}
.fam-load-more:hover { color: var(--ink-base); }
.fam-load-more:disabled,
.fam-load-more.is-loading { color: var(--ink-tertiary); cursor: default; }
.fam-load-more[hidden],
.fam-load-more.is-filtering { display: none; }
/* Server search in flight (my-sistafam.js runSearch()) */
[data-fam-panel].is-searching { opacity: .5; pointer-events: none; transition: opacity .15s ease; }

/* -- Notifications -------------------------------------------------------- */
.notif-group { padding: 14px 20px 6px; background: #f7f8fa; }

/* .notif-row is the whole line (icon + text + delete); .notif-row__link is
   just the clickable icon/text part (an <a> when the row has a target,
   a <span> otherwise) — same "outer row, separately-clickable inner link"
   split as .fam-row/.fam-row__link, so Delete never fires the row's own
   link navigation. */
.notif-row { display: flex; align-items: flex-start; gap: 10px; padding: 14px 20px; }
.notif-row ~ .notif-row { border-top: 1px solid var(--border); }

.notif-row__link { flex: 1 1 auto; min-width: 0; display: flex; align-items: flex-start; gap: 14px; }

.notif__icon { flex: 0 0 auto; display: flex; padding: 10px; border-radius: 12px; }
.notif__icon img { width: 20px; height: 20px; }
.notif__icon--green { background: #e6f5ec; }
.notif__icon--blue  { background: var(--sapphire-tint); }
.notif__icon--amber { background: #fdf5e6; }
.notif__icon--pink  { background: #fcebf2; }
/* PNG icons (images/notifications/*.png) already include their own circle —
   shown at the full 40px, without the tinted box or padding. */
.notif__icon--image { padding: 0; background: none; border-radius: 50%; }
.notif__icon--image img { width: 40px; height: 40px; }

.notif__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.notif__title { font-size: var(--fs-btn-lg); font-weight: 400; line-height: normal; color: var(--ink-base); }
.notif-row.is-unread .notif__title { font-weight: 600; }
.notif__desc { font-size: var(--fs-btn-md); line-height: 18px; color: var(--ink-secondary); }

/* Time now sits under the description, inside the text column, instead of
   stacked on the far right. */
.notif__time { font-size: var(--fs-meta); line-height: normal; color: var(--ink-tertiary); white-space: nowrap; }

/* Delete — the far-right icon, outside .notif-row__link so it never
   triggers that link's own navigation. */
.notif__delete {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 8px;
  color: var(--danger);
  cursor: pointer;
  transition: background-color .15s ease, opacity .15s ease;
}
.notif__delete:hover { background: #fdecee; }
.notif__delete:disabled { opacity: .5; cursor: progress; }
.notif__delete-icon { width: 16px; height: 16px; object-fit: contain; }

/* -- Responsive ----------------------------------------------------------- */
@media (max-width: 991.98px) {
  .fam-cols { flex-direction: column; align-items: stretch; }
  .fam-summary { flex: 0 0 auto; }
}

@media (max-width: 575.98px) {
  .page-head { flex-wrap: wrap; }
  .page-head__titles { flex-basis: 0; }
  .page-head__actions { width: 100%; padding-left: 48px; }
  .fam-tabs { padding: 0 8px; }
  .fam-tab { white-space: normal; }
  .fam-row__date { display: none; }
  .notif { padding: 14px 16px; }
}

/* ==========================================================================
   APP BANNER — "Open in the app" on shared profile links (Android only;
   iOS uses Apple's Smart App Banner). See partials/app-banner.blade.php.
   ========================================================================== */
.app-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 auto 16px;
  max-width: 640px;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(12, 22, 51, 0.08);
}
.app-banner__icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: contain;
}
.app-banner__text {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.25;
}
.app-banner__title {
  color: var(--ink-strong);
  font-size: 14px;
  font-weight: 600;
}
.app-banner__sub {
  color: var(--ink-secondary);
  font-size: 12px;
}
.app-banner__open {
  flex: 0 0 auto;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--sapphire);
  color: var(--ink-on-dark);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.app-banner__open:hover,
.app-banner__open:focus { color: var(--ink-on-dark); background: var(--sapphire-tint-ink); }
.app-banner__close {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: var(--ink-tertiary);
  font-size: 20px;
  line-height: 1;
}

/* ==========================================================================
   SHARED PROFILE LINK — /profile/{username}: view on web / Google Play /
   App Store (frontend/profile/share.blade.php).
   ========================================================================== */
.share-profile__avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--surface);
  box-shadow: 0 4px 16px rgba(12, 22, 51, 0.12);
}
.share-profile__lead {
  max-width: 314px;
  margin: 12px auto 0;
}
.share-profile__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.share-profile__icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

/* ==========================================================================
   30. CROP IMAGE MODAL — your-profile.blade.php's avatar upload, the same
   crop tool (Cropper.js) Admin already uses on its own image uploads, styled
   to match this app's own design tokens instead of Admin's Bootstrap look.
   ========================================================================== */
.crop-modal .modal-content {
  border: 0;
  border-radius: var(--r-card, 16px);
  overflow: hidden;
}

.crop-modal .modal-title {
  font-weight: 600;
  color: var(--ink-strong);
}

.crop-modal .modal-body {
  background: #000;
  padding: 0;
  max-height: 60vh;
  overflow: hidden;
}

.crop-modal .modal-body img {
  display: block;
  max-width: 100%;
  /* Cropper.js replaces/hides the source <img> with its own canvas once
     initialised — this cap only matters for the brief moment before that,
     while the raw image is still visible on its own. */
  max-height: 60vh;
}

.crop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  background: var(--bg-muted, #f6f8fc);
  border-bottom: 1px solid var(--border-subtle, #e5e9f2);
}

.crop-toolbar-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.crop-toolbar-label {
  font-size: var(--fs-meta);
  color: var(--ink-secondary);
  margin-right: 2px;
}

.crop-tool {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong, #d7dce6);
  border-radius: 8px;
  background: var(--surface, #fff);
  color: var(--ink-base);
  font-size: var(--fs-btn-md);
  line-height: 1;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.crop-tool:hover {
  border-color: var(--sapphire);
  color: var(--sapphire);
}

.crop-tool.crop-aspect.is-active {
  background: var(--sapphire);
  border-color: var(--sapphire);
  color: var(--ink-on-dark);
}

.crop-modal .modal-footer {
  gap: 10px;
}

.crop-modal .modal-footer small {
  color: var(--ink-tertiary);
}

.crop-btn {
  flex: 1 1 50%;
  min-height: 40px;
  padding: 0 20px;
  border-radius: var(--r-btn-md, 10px);
  font-size: var(--fs-btn-md);
  font-weight: 600;
  cursor: pointer;
  transition: background-color .15s ease, box-shadow .15s ease;
}

.crop-btn--outline {
  color: var(--sapphire);
  background: var(--surface);
  border: 1.5px solid var(--sapphire);
}

.crop-btn--outline:hover {
  background: var(--sapphire-tint);
}

.crop-btn--primary {
  color: var(--ink-on-dark);
  background: var(--sapphire);
  border: 0;
  box-shadow: 0 6px 18px rgba(12, 22, 51, .18);
}

.crop-btn--primary:hover {
  box-shadow: 0 8px 22px rgba(12, 22, 51, .26);
}

@media (max-width: 575.98px) {
  .crop-toolbar { gap: 8px; padding: 10px 12px; }
  .crop-toolbar-group { gap: 4px; }
  .crop-tool { min-width: 30px; height: 30px; padding: 0 8px; }
}

/* -- Category info (i) button + view-only subcategory popup ---------------
   Shared by the onboarding picker (.cat-card) and the Profile page's Edit
   categories modal (.cat-tile). The popup only shows what's inside a
   category — nothing in it is selectable. See partials/category-info-sheet
   and main.js's initCategoryInfo(). */
.cat-info-btn {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  opacity: .85;
}
.cat-info-btn:hover { opacity: 1; }
.cat-info-btn img { width: 18px; height: 18px; }

/* Profile tiles: (i) sits beside the arrow; once selected the absolute
   remove (x) takes the corner, so (i) and the PRIMARY badge shift left. */
.cat-tile__actions { display: flex; align-items: center; gap: 6px; }
.cat-tile.is-selected .cat-tile__actions { margin-right: 24px; }
.cat-tile.is-selected .cat-tile__badge { right: 58px; }

/* Above .ss-modal (1050) so it also opens over the Edit categories modal */
.cat-info-scrim { z-index: 1100; }

.cat-info-label {
  margin: 0 0 10px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.05px;
  text-transform: uppercase;
  color: var(--ink-secondary);
}

.cat-info-chips {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 8px;
  min-height: 60px;
  max-height: 260px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.cat-info-chip {
  padding: 7px 12px;
  font-size: var(--fs-meta);
  line-height: normal;
  color: var(--ink-base);
  white-space: nowrap;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  cursor: default;
}

.cat-info-chips .cat-modal-loading,
.cat-info-chips .cat-modal-empty { min-height: 60px; }

.cat-info-note {
  margin: 16px 0 0;
  font-size: var(--fs-caption);
  line-height: var(--lh-meta);
  color: var(--ink-tertiary);
}

.cat-info-close { width: 100%; margin-top: 14px; }

/* Select-subcategory popup and view-only (i) popup share one fixed height
   on both pages (onboarding picker + Profile Edit categories), so opening
   either one, for any category, never changes the popup size. The chip
   list fills the space between header and buttons and scrolls when long. */
[data-cat-modal] .sheet,
#modal-subcats .subcat-sheet,
.cat-info-sheet {
  height: min(540px, 88vh);
}
#modal-subcats .subcat-chips,
.cat-info-sheet .cat-info-chips {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
}

/* ==========================================================================
   WHO BUYS FROM YOU — Activation page (Diamond only)
   Ported from public/ui/css/style.css §35 (Figma: Web / Activation - Who
   buys from you). Only the Activation-form rules are copied here — that
   same §35 also has "profile card / modal" rules (.pf-card--buyers,
   .ss-modal__card--md, etc.) for a future Profile-page feature that isn't
   wired up anywhere yet, so those are deliberately left out for now rather
   than shipped as dead/possibly-conflicting CSS.
   js/who-buys.js toggles .is-checked and the Continue state.
   ========================================================================== */
.page-main--buyers { padding-top: 42px; }

.buyer-label { display: flex; align-items: center; gap: 8px; }

.buyer-label__text {
  font-size: var(--fs-microcaps-tight);
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--ink-tertiary);
}

.pill-req {
  padding: 4px 10px;
  font-size: 10.5px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: #b23a5a;
  background: #f8f0f2;
  border-radius: 9px;
}

.buyer-hint { font-size: var(--fs-meta); color: var(--ink-tertiary); }
.buyer-hint[hidden] { display: none; }

/* Primary button that stays sapphire while disabled, just faded */
.btn-ss--primary.btn-ss--fade:disabled {
  color: var(--ink-on-dark);
  background: radial-gradient(ellipse 99% 99% at 30% 30%,
              var(--grad-start) 0%,
              #1a48cc 25%,
              var(--grad-mid) 50%,
              #102a61 75%,
              #0d1d44 87.5%,
              var(--grad-end) 100%);
  opacity: .4;
}

/* -- Option cards (checkbox + title + description) ------------------------ */
.buyer-opts { display: flex; flex-direction: column; gap: 10px; }

.buyer-opt {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.buyer-opts--compact .buyer-opt { padding: 12px 14px; }
.buyer-opt:hover { border-color: var(--border-outline); }

/* Selected — the 1.5px sapphire stroke is drawn with an inset ring so the
   card doesn't shift when it is ticked */
.buyer-opt.is-checked {
  background: #f5f8ff;
  border-color: var(--sapphire);
  box-shadow: inset 0 0 0 .5px var(--sapphire);
}

.buyer-opt__input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.buyer-opt__box {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  background: var(--surface);
  border: 1.5px solid var(--border-outline);
  border-radius: 6px;
  transition: background-color .15s ease, border-color .15s ease;
}
.buyer-opt.is-checked .buyer-opt__box {
  color: var(--ink-on-dark);
  background: var(--sapphire);
  border-color: var(--sapphire);
}
.buyer-opt__input:focus-visible + .buyer-opt__box { outline: 2px solid var(--sapphire); outline-offset: 2px; }

.buyer-opt__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.buyer-opt__title { font-size: 14px; font-weight: 600; line-height: normal; color: var(--ink-base); }
.buyer-opt__desc { font-size: 12px; line-height: 17px; color: var(--ink-secondary); }

/* -- Profile page · "Who buys from you" card + Edit modal (Diamond only) --
   Rest of ui/css/style.css §35, held back when the Activation page itself
   was ported — now wired up for real (WhoBuysController::update(),
   profile/index.blade.php, who-buys.js's own initProfileModal()). */
.pf-card--buyers { padding: 14px 16px; margin-bottom: 5px; }

.pf-buyer-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-chip--buyer { line-height: normal; color: var(--sapphire); background: var(--sapphire-tint); }

.pf-card__text--tight { line-height: 15px; }

.ss-modal__card--md { max-width: 420px; }

/* ==========================================================================
   INFO NOTICE — generic light-blue callout (icon + title + description).
   First use: "Pre-commercial profile" on frontend.ready (Diamond only, see
   resources/views/frontend/ready.blade.php) — kept generic (.pf-notice, not
   .pf-notice--pre-commercial) since the shape itself isn't specific to that
   one message.
   ========================================================================== */
.pf-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: var(--sapphire-tint);
  border-radius: 14px;
  text-align: left;
}
.pf-notice__icon { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 1px; }
.pf-notice__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pf-notice__title { font-size: 14px; font-weight: 600; line-height: normal; color: var(--ink-base); }
.pf-notice__desc { font-size: 13px; line-height: 18px; color: var(--ink-secondary); }

/* ==========================================================================
   ABOUT PAGE — resources/views/frontend/about.blade.php (frontend.about).
   Plain content page under frontend.layout.index — .page-main's own default
   flex-center (built around the 350px .auth-shell column) is switched to a
   block layout for this one body class so the wider card can center itself
   on its own max-width instead. Plain-document style (white background,
   bold dark headings, generous line-height) — same family as the Privacy
   notice prose (.card-prose), not a dark marketing panel.
   ========================================================================== */
body.about-page > main.page-main { display: block; }

.about-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 0 40px;
}

.about-block + .about-block { margin-top: 32px; }

.about-block__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-strong);
  margin: 0 0 14px;
}

.about-block__text {
  font-size: 15px;
  line-height: 26px;
  color: var(--ink-body);
  margin: 0 0 14px;
}

.about-block__text:last-child { margin-bottom: 0; }

.about-quote {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-strong);
  margin: 32px 0 0;
}

@media (max-width: 600px) {
  .about-card { padding: 16px 0 28px; }
  .about-block__title { font-size: 18px; }
}
