/* Stitchbook styles: base, shared sheets and forms, Soft Glass screens */
:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
body { margin: 0; font: 14px system-ui, sans-serif; }
img { max-width: 100%; }
[hidden] { display: none !important; }

/* ===== Stitchbook shared component CSS (sheets, forms, toasts). Visuals come from tokens each prototype sets. ===== */
:root {
  color-scheme: light;
  --sb-font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sb-ink: #14161a; --sb-ink-2: #5d636e; --sb-ink-3: #8a909a;
  --sb-line: #e6e8ec; --sb-surface: #fff; --sb-surface-2: #f4f5f7;
  --sb-field: #f4f5f7; --sb-field-line: #e2e4e8; --sb-focus: #14161a; --sb-focus-ring: rgba(20,22,26,.12);
  --sb-primary: #111; --sb-primary-ink: #fff;
  --sb-danger: #c7372f; --sb-danger-bg: #fdecea; --sb-ok: #12805c; --sb-ok-bg: #e5f5ee; --sb-warn: #a35a00; --sb-warn-bg: #fff3e0;
  --sb-backdrop: rgba(18,20,24,.32);
  --sb-radius-sheet: 24px; --sb-radius-field: 12px; --sb-radius-btn: 999px; --sb-radius-chip: 999px;
  --sb-chip-on: #111; --sb-chip-on-ink: #fff;
  --sb-wa: #1a9e55; --sb-wa-ink: #fff;
  --sb-toast-bg: #14161a; --sb-toast-ink: #fff;
  --sb-sheet-shadow: 0 -10px 40px rgba(0,0,0,.14);
  --sb-toast-bottom: 96px;
  --sb-label-size: 13px; --sb-label-weight: 600; --sb-label-case: none; --sb-label-track: 0;
  --sb-title-font: var(--sb-font); --sb-title-size: 19px; --sb-title-weight: 700;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a { -webkit-tap-highlight-color: transparent; }
.sb-i { width: 20px; height: 20px; flex: none; display: block; }
.sb-vh { position: absolute !important; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); pointer-events: none; }
html.sb-lock, html.sb-lock body { overflow: hidden; }
:focus-visible { outline: 2px solid var(--sb-focus); outline-offset: 2px; }

/* ---------- sheet ---------- */
.sb-sheet-wrap { position: fixed; inset: 0; z-index: 500; font-family: var(--sb-font); color: var(--sb-ink); }
.sb-backdrop { position: absolute; inset: 0; background: var(--sb-backdrop); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .18s ease; }
.sb-sheet {
  position: absolute; left: 0; right: 0; bottom: var(--sb-kb, 0px); margin-inline: auto; width: 100%; max-width: 560px;
  max-height: calc(var(--sb-vh, 100dvh) - 16px - env(safe-area-inset-top, 0px));
  display: flex; flex-direction: column; background: var(--sb-surface); color: var(--sb-ink);
  border-radius: var(--sb-radius-sheet) var(--sb-radius-sheet) 0 0; box-shadow: var(--sb-sheet-shadow);
  transform: translateY(104%); transition: transform .22s cubic-bezier(.2,.8,.2,1); outline: none; overflow: hidden;
}
.sb-sheet-wrap.open .sb-backdrop { opacity: 1; }
.sb-sheet-wrap.open .sb-sheet { transform: none; }
.sb-grab { width: 38px; height: 5px; border-radius: 3px; background: var(--sb-line); margin: 8px auto 0; flex: none; }
.sb-sheet-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 10px 20px 10px; flex: none; }
.sb-sheet-titles { min-width: 0; }
.sb-sheet-head h2 { margin: 2px 0 0; font-family: var(--sb-title-font); font-size: var(--sb-title-size); font-weight: var(--sb-title-weight); line-height: 1.25; letter-spacing: -.01em; text-wrap: balance; }
.sb-sheet-sub { margin: 3px 0 0; font-size: 14px; color: var(--sb-ink-2); overflow-wrap: anywhere; }
.sb-x { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--sb-field); color: var(--sb-ink); display: grid; place-items: center; cursor: pointer; flex: none; margin: -2px -6px 0 0; }
.sb-x .sb-i { width: 18px; height: 18px; }
.sb-sheet-body { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 6px 20px 24px; flex: 1 1 auto; min-height: 0; }
.sb-sheet-foot { flex: none; display: flex; gap: 10px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--sb-line); background: var(--sb-surface); }
.sb-sheet-foot > * { flex: 1 1 0; min-width: 0; }
@media (prefers-reduced-motion: reduce) { .sb-sheet, .sb-backdrop, .sb-toast { transition: none !important; } }

/* ---------- buttons ---------- */
.sb-btn { min-height: 50px; padding: 0 18px; border-radius: var(--sb-radius-btn); font-weight: 600; font-size: 16px; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; text-decoration: none; line-height: 1.1; text-align: center; white-space: nowrap; }
.sb-btn .sb-i { width: 19px; height: 19px; }
.sb-btn-primary { background: var(--sb-primary); color: var(--sb-primary-ink); }
.sb-btn-ghost { background: var(--sb-field); color: var(--sb-ink); border-color: var(--sb-field-line); }
.sb-btn-danger { background: var(--sb-danger); color: #fff; }
.sb-btn-wa { background: var(--sb-wa); color: var(--sb-wa-ink); }
.sb-btn:active { transform: scale(.98); }
.sb-btn-text { background: none; border: 0; padding: 10px 0; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; cursor: pointer; justify-self: start; }
.sb-danger-text { color: var(--sb-danger); }
.sb-link { background: none; border: 0; padding: 4px 0 4px 8px; color: var(--sb-ink); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 4px; cursor: pointer; text-transform: none; letter-spacing: 0; min-height: 32px; }
.sb-link .sb-i { width: 16px; height: 16px; }
.sb-btn-sm { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: var(--sb-radius-btn); border: 1px solid var(--sb-field-line); background: var(--sb-surface); color: var(--sb-ink); font-size: 14px; font-weight: 600; cursor: pointer; }
.sb-btn-sm .sb-i { width: 16px; height: 16px; }

/* ---------- forms ---------- */
.sb-form { display: grid; gap: 18px; min-width: 0; }
.sb-field { display: grid; gap: 6px; min-width: 0; margin: 0; align-content: start; }
.sb-label { font-size: var(--sb-label-size); font-weight: var(--sb-label-weight); text-transform: var(--sb-label-case); letter-spacing: var(--sb-label-track); color: var(--sb-ink-2); display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 20px; }
.sb-opt { font-weight: 400; color: var(--sb-ink-3); text-transform: none; letter-spacing: 0; font-size: 12.5px; }
.sb-input {
  display: block; width: 100%; min-width: 0; font-size: 16px; line-height: 1.35; padding: 12px 14px; min-height: 50px;
  border-radius: var(--sb-radius-field); border: 1px solid var(--sb-field-line); background: var(--sb-field); color: var(--sb-ink);
  -webkit-appearance: none; appearance: none; transition: border-color .12s, box-shadow .12s;
}
.sb-input::placeholder { color: var(--sb-ink-3); opacity: 1; }
textarea.sb-input { min-height: 92px; resize: vertical; }
select.sb-input { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23777' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
input[type="date"].sb-input { min-height: 50px; text-align: left; }
input[type="date"].sb-input::-webkit-date-and-time-value { text-align: left; min-height: 1.35em; }
input[type="date"].sb-input::-webkit-calendar-picker-indicator { opacity: .6; }
.sb-input:focus { outline: none; border-color: var(--sb-focus); box-shadow: 0 0 0 3px var(--sb-focus-ring); }
.sb-affix { position: relative; min-width: 0; }
.sb-affix .sb-pre, .sb-affix .sb-suf { position: absolute; top: 50%; transform: translateY(-50%); color: var(--sb-ink-2); pointer-events: none; font-size: 16px; }
.sb-affix .sb-pre { left: 14px; }
.sb-affix .sb-suf { right: 14px; font-size: 14px; }
.sb-affix.has-pre .sb-input { padding-left: 32px; }
.sb-affix.has-suf .sb-input { padding-right: 36px; }
.sb-field.invalid .sb-input { border-color: var(--sb-danger); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sb-danger) 14%, transparent); }
.sb-err { margin: 0; color: var(--sb-danger); font-size: 13.5px; font-weight: 500; }
.sb-err:empty { display: none; }
.sb-help { margin: 0; font-size: 13.5px; color: var(--sb-ink-2); line-height: 1.45; }
.sb-row2 { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; align-items: start; }
.sb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sb-field .sb-chips { margin-top: 4px; }
.sb-paid-chips { margin-top: -8px; }
.sb-chip { min-height: 38px; padding: 0 14px; border-radius: var(--sb-radius-chip); border: 1px solid var(--sb-field-line); background: var(--sb-surface); color: var(--sb-ink); font-size: 14px; font-weight: 500; cursor: pointer; }
.sb-chip.on, .sb-chip[aria-pressed="true"] { background: var(--sb-chip-on); color: var(--sb-chip-on-ink); border-color: var(--sb-chip-on); }
.sb-seg { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.sb-seg-btn { min-width: 0; min-height: 44px; padding: 0 2px; border-radius: var(--sb-radius-chip); border: 1px solid var(--sb-field-line); background: var(--sb-surface); font-size: 13px; font-weight: 600; letter-spacing: -.01em; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 359px) { .sb-seg { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sb-date-hint { font-weight: 600; color: var(--sb-ink); }
.sb-seg-btn[aria-checked="true"] { background: var(--sb-chip-on); color: var(--sb-chip-on-ink); border-color: var(--sb-chip-on); }
.sb-balance { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: var(--sb-radius-field); background: var(--sb-surface-2); font-size: 14px; color: var(--sb-ink-2); }
.sb-balance small { display: block; font-size: 12px; color: var(--sb-ink-3); }
.sb-balance strong { font-size: 20px; color: var(--sb-ink); font-variant-numeric: tabular-nums; text-align: right; letter-spacing: -.01em; }
.sb-balance.is-paid strong { color: var(--sb-ok); }
.sb-balance.is-bad strong { color: var(--sb-danger); font-size: 15px; }
fieldset.sb-meas-group { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.sb-meas-group legend { padding: 0; margin-bottom: 10px; font-weight: 700; font-size: 15px; color: var(--sb-ink); }
.sb-meas-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; }
.sb-meas .sb-label { font-size: 13px; }
.sb-meas-grid { align-items: start; }
.sb-meas-intro { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; background: var(--sb-surface-2); border-radius: var(--sb-radius-field); }
.sb-meas-intro .sb-i { margin-top: 1px; }

/* photo */
.sb-photo-empty { display: flex; align-items: center; gap: 14px; padding: 16px; min-height: 76px; border: 1.5px dashed var(--sb-field-line); border-radius: var(--sb-radius-field); background: var(--sb-field); cursor: pointer; color: var(--sb-ink); }
.sb-photo-empty .sb-i { width: 26px; height: 26px; color: var(--sb-ink-2); }
.sb-photo-empty b { display: block; font-size: 15px; }
.sb-photo-empty small { display: block; color: var(--sb-ink-2); font-size: 13px; margin-top: 2px; }
.sb-photo-has { position: relative; border-radius: var(--sb-radius-field); overflow: hidden; background: var(--sb-surface-2); }
.sb-photo-has img { display: block; width: 100%; max-height: 260px; object-fit: cover; }
.sb-photo-acts { position: absolute; left: 10px; bottom: 10px; display: flex; gap: 8px; }
.sb-photo-acts .sb-btn-sm { background: rgba(255,255,255,.94); border-color: transparent; color: #111; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.sb-spin { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid var(--sb-line); border-top-color: var(--sb-ink); animation: sbspin .8s linear infinite; flex: none; }
@keyframes sbspin { to { transform: rotate(360deg); } }
.sb-photo-full { display: block; width: 100%; border-radius: var(--sb-radius-field); }

/* progress sheet */
.sb-steps { display: grid; gap: 8px; }
.sb-step { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 14px; min-height: 62px; border-radius: var(--sb-radius-field); border: 1px solid var(--sb-line); background: var(--sb-surface); text-align: left; cursor: pointer; color: var(--sb-ink); }
.sb-step-n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: var(--sb-surface-2); color: var(--sb-ink-2); flex: none; }
.sb-step-n .sb-i { width: 16px; height: 16px; }
.sb-step.done .sb-step-n { background: var(--sb-ok-bg); color: var(--sb-ok); }
.sb-step.on { border-color: var(--sb-ink); box-shadow: inset 0 0 0 1px var(--sb-ink); }
.sb-step.on .sb-step-n { background: var(--sb-primary); color: var(--sb-primary-ink); }
.sb-step-t { flex: 1; min-width: 0; }
.sb-step-t b { display: block; font-size: 16px; }
.sb-step-t small { display: block; font-size: 13.5px; color: var(--sb-ink-2); margin-top: 1px; }
.sb-step em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--sb-ink-2); }

/* payment */
.sb-pay-sum { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.sb-pay-sum > div { padding: 12px; border-radius: var(--sb-radius-field); background: var(--sb-surface-2); min-width: 0; }
.sb-pay-sum span { display: block; font-size: 12px; color: var(--sb-ink-2); }
.sb-pay-sum b { display: block; font-size: 15px; margin-top: 3px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

/* whatsapp */
.sb-wa { display: grid; gap: 16px; }
.sb-wa-to { display: flex; align-items: center; gap: 12px; }
.sb-wa-av { width: 42px; height: 42px; border-radius: 50%; background: var(--sb-surface-2); display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }
.sb-wa-to b { display: block; font-size: 16px; }
.sb-wa-to small { display: block; color: var(--sb-ink-2); font-size: 14px; }
.sb-wa-msg { min-height: 220px; line-height: 1.5; }

/* confirm + demo */
.sb-confirm-text { margin: 0 0 4px; font-size: 16px; line-height: 1.5; color: var(--sb-ink-2); }
.sb-demo { display: grid; gap: 14px; }
.sb-demo-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.sb-demo-list li { padding: 12px 14px; background: var(--sb-surface-2); border-radius: var(--sb-radius-field); font-size: 15px; }
.sb-demo code { font-size: 13px; background: var(--sb-surface-2); padding: 2px 6px; border-radius: 6px; }

/* toast */
.sb-toast { position: fixed; left: 50%; bottom: calc(var(--sb-toast-bottom) + env(safe-area-inset-bottom, 0px)); z-index: 900; transform: translate(-50%, 16px); opacity: 0; transition: opacity .18s, transform .18s; display: flex; align-items: center; gap: 10px; max-width: min(92vw, 440px); width: max-content; padding: 12px 16px; border-radius: 16px; background: var(--sb-toast-bg); color: var(--sb-toast-ink); font-family: var(--sb-font); font-size: 15px; font-weight: 500; box-shadow: 0 10px 30px rgba(0,0,0,.2); pointer-events: none; }
.sb-toast.in { opacity: 1; transform: translate(-50%, 0); }
.sb-toast-ic { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--sb-ok); color: #fff; flex: none; }
.sb-toast.err .sb-toast-ic { background: var(--sb-danger); }
.sb-toast-ic .sb-i { width: 14px; height: 14px; stroke-width: 2.6; }
html.sb-lock .sb-toast { top: calc(14px + env(safe-area-inset-top, 0px)); bottom: auto; transform: translate(-50%, -16px); }
html.sb-lock .sb-toast.in { transform: translate(-50%, 0); }

/* customer picker */
.sb-pick-wrap { display: grid; gap: 10px; }
.sb-pick-wrap .sb-affix .sb-pre .sb-i { width: 18px; height: 18px; }
.sb-pick-wrap .sb-affix.has-pre .sb-input { padding-left: 42px; }
.sb-pick-list { display: grid; gap: 2px; }
.sb-pick { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 8px 4px; border: 0; background: none; text-align: left; cursor: pointer; border-radius: var(--sb-radius-field); color: var(--sb-ink); }
.sb-pick:active { background: var(--sb-surface-2); }
.sb-pick > .sb-i { color: var(--sb-ink-3); width: 18px; height: 18px; }
.sb-pick-t { flex: 1; min-width: 0; }
.sb-pick-t b { display: block; font-size: 16px; font-weight: 600; }
.sb-pick-t small { display: block; font-size: 13.5px; color: var(--sb-ink-2); }
.sb-pick-new .sb-wa-av { background: var(--sb-primary); color: var(--sb-primary-ink); }
.sb-pick-new .sb-wa-av .sb-i { width: 18px; height: 18px; }
.sb-pick-empty { padding: 16px 4px; }

/* ===== Soft Glass ===== */
/* Soft Glass — translucent layered panels over a fixed periwinkle / lilac / aqua mesh.
   Layout: greeting + layered wallet stack, scroll-snap pipeline and delivery carousel, rose "needs attention" panel,
   floating glass capsule nav with a separate black FAB. */
:root {
  --bg: #EEF1FF; --peri: #C9D8FF; --lilac: #E3D7FF; --aqua: #D5F1FF;
  --glass: rgba(255,255,255,.62); --glass-strong: rgba(255,255,255,.80); --glass-line: rgba(255,255,255,.75);
  --blur: blur(20px) saturate(160%);
  --hl: inset 0 1px 0 rgba(255,255,255,.95);
  --shadow: 0 8px 30px rgba(60,70,140,.10);
  --shadow-sm: 0 4px 16px rgba(60,70,140,.08);
  --ink: #121735; --ink-2: #464E73; --ink-3: #7A80A3;
  --accent: #5A55F0; --accent-ink: #4A44E0; --blue: #3D7BFF;
  --late: #D6345A; --late-ink: #B8264B; --late-tint: rgba(214,52,90,.12);
  --ready: #128A6B; --ready-ink: #0E7458; --ready-tint: rgba(18,138,107,.12);
  --wait: #955500; --wait-tint: rgba(214,140,0,.14);
  --black: #0E1022;
  --hair: rgba(90,85,240,.12);
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --head: "Sora", "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* shared sheets */
  --sb-font: var(--font); --sb-ink: var(--ink); --sb-ink-2: var(--ink-2); --sb-ink-3: var(--ink-3);
  --sb-line: rgba(90,85,240,.14); --sb-surface: rgba(255,255,255,.72); --sb-surface-2: rgba(234,236,255,.78);
  --sb-field: rgba(255,255,255,.72); --sb-field-line: rgba(90,85,240,.18); --sb-focus: var(--accent); --sb-focus-ring: rgba(90,85,240,.20);
  --sb-primary: var(--black); --sb-primary-ink: #fff; --sb-chip-on: var(--black); --sb-chip-on-ink: #fff;
  --sb-danger: #C42B50; --sb-danger-bg: rgba(214,52,90,.10); --sb-ok: var(--ready-ink); --sb-ok-bg: var(--ready-tint);
  --sb-wa: #138049; --sb-wa-ink: #fff;
  --sb-backdrop: rgba(40,45,90,.22);
  --sb-radius-sheet: 30px; --sb-radius-field: 14px; --sb-radius-btn: 999px; --sb-radius-chip: 999px;
  --sb-toast-bg: #121735; --sb-toast-ink: #fff; --sb-toast-bottom: 96px;
  --sb-sheet-shadow: 0 -12px 40px rgba(40,45,90,.16);
  --sb-title-font: var(--head); --sb-title-size: 19px; --sb-title-weight: 600;
}
html, body { background: var(--bg); color: var(--ink); color-scheme: light; }
body { font-family: var(--font); -webkit-font-smoothing: antialiased; }
/* fixed soft mesh */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(62vmax 52vmax at 4% 4%, var(--peri) 0%, rgba(201,216,255,0) 62%),
    radial-gradient(56vmax 48vmax at 100% 24%, var(--lilac) 0%, rgba(227,215,255,0) 62%),
    radial-gradient(60vmax 50vmax at 12% 74%, var(--aqua) 0%, rgba(213,241,255,0) 60%),
    radial-gradient(52vmax 46vmax at 92% 100%, var(--lilac) 0%, rgba(227,215,255,0) 62%),
    var(--bg);
}
.app { position: relative; z-index: 1; max-width: 480px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; background: transparent; color: var(--ink); font-size: 15px; line-height: 1.4; }
button { cursor: pointer; font: inherit; color: inherit; }
.col { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 24px; padding: 14px 16px calc(112px + env(safe-area-inset-bottom, 0px)); }
.col > * { min-width: 0; }
.col section { min-width: 0; }
.scr-orders, .scr-customers { gap: 12px; }
.detail { gap: 14px; padding-top: 0; padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px)); }
.has-dock .detail { padding-bottom: calc(108px + env(safe-area-inset-bottom, 0px)); }

/* glass surface */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-line);
  box-shadow: var(--hl), var(--shadow);
}

/* ---------- buttons ---------- */
.btn-black, .btn-glass { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 15.5px; white-space: nowrap; text-decoration: none; line-height: 1.1; }
.btn-black { border: 0; background: var(--black); color: #fff; box-shadow: 0 6px 16px rgba(14,16,34,.20), inset 0 1px 0 rgba(255,255,255,.10); }
.btn-glass { border: 1px solid rgba(255,255,255,.95); background: rgba(255,255,255,.72); color: var(--ink); box-shadow: var(--hl), 0 2px 10px rgba(60,70,140,.08); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn-black .sb-i, .btn-glass .sb-i { width: 18px; height: 18px; }
.btn-black:active, .btn-glass:active, .ib:active, .fab:active { transform: scale(.97); }
.btn-black.sm, .btn-glass.sm { min-height: 44px; font-size: 14.5px; padding: 0 16px; }
.btn-glass.full { width: 100%; }
.link { border: 0; background: none; color: var(--accent-ink); font-weight: 600; font-size: 14px; min-height: 44px; padding: 0 2px; display: inline-flex; align-items: center; gap: 4px; }
.link .sb-i { width: 16px; height: 16px; }
.link.late { color: var(--late-ink); }


/* ---------- headings ---------- */
.greet { display: flex; align-items: center; gap: 12px; min-height: 52px; }
.greet-t { flex: 1; min-width: 0; }
.greet h1 { margin: 0; font-family: var(--head); font-size: 20px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; text-wrap: balance; }
.greet p { margin: 2px 0 0; font-size: 14px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; }
.ph h1 { margin: 0; font-family: var(--head); font-size: 26px; font-weight: 600; letter-spacing: -.025em; }
.sh { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; margin: -6px 2px 6px; }
.sh h2 { margin: 0; font-family: var(--head); font-size: 17px; font-weight: 600; letter-spacing: -.01em; display: flex; align-items: center; }
.sh .n { margin-left: 8px; font-family: var(--font); font-size: 12.5px; font-weight: 700; color: var(--ink-2); background: rgba(255,255,255,.66); border: 1px solid rgba(255,255,255,.9); padding: 1px 8px; border-radius: 99px; }
.sh-note { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }

/* ---------- wallet stack ---------- */
.wallet { position: relative; padding-bottom: 12px; }
/* back card sits behind the translucent front; clip it to the strip that peeks out below so its edges don't ghost through the glass */
.wallet-back { position: absolute; left: 0; right: 0; top: 30px; bottom: 0; border-radius: 28px; transform: scale(.94); transform-origin: 50% 100%;
  clip-path: inset(calc(100% - 15px) -30px -40px -30px);
  background: linear-gradient(150deg, rgba(216,201,255,.95), rgba(196,210,255,.9)); border: 1px solid rgba(255,255,255,.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 10px 26px rgba(90,85,240,.16); }
.wallet-front { position: relative; border-radius: 28px; padding: 18px 18px 16px; background: rgba(255,255,255,.60); }
.w-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.w-lbl { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.w-cnt { font-size: 12.5px; font-weight: 600; color: var(--ink-2); padding: 4px 10px; border-radius: 99px; background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.95); white-space: nowrap; }
.w-amt { font-family: var(--head); font-size: 38px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; margin: 6px 0 14px; font-variant-numeric: tabular-nums; }
.split { display: flex; gap: 3px; height: 8px; }
.split i { display: block; border-radius: 99px; }
.split .s-col { background: linear-gradient(90deg, var(--accent), var(--blue)); min-width: 6px; }
.split .s-owe { flex: 1; background: rgba(90,85,240,.16); min-width: 6px; }
.split.sm { height: 6px; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.legend i { width: 8px; height: 8px; border-radius: 50%; }
.lg-col { background: linear-gradient(135deg, var(--accent), var(--blue)); }
.lg-owe { background: rgba(90,85,240,.30); }
.w-acts { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px; margin-top: 16px; }
.w-acts > * { min-width: 0; padding: 0 10px; gap: 7px; font-size: 15px; }

/* ---------- horizontal scrollers ---------- */
.hscroll { display: flex; gap: 10px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 16px;
  margin: -4px -16px -14px; padding: 4px 16px 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { flex: none; scroll-snap-align: start; }
.hscroll.chips { scroll-snap-type: x proximity; gap: 8px; margin-top: -2px; }

/* pipeline tiles */
.ptile { width: 108px; min-height: 124px; border-radius: 22px; padding: 12px; display: grid; align-content: start; justify-items: start; gap: 1px; text-align: left; color: var(--ink);
  box-shadow: var(--hl), var(--shadow-sm); }
.pt-ic { width: 32px; height: 32px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 8px; }
.pt-ic .sb-i { width: 17px; height: 17px; }
.pt-n { font-family: var(--head); font-size: 26px; font-weight: 700; line-height: 1.05; font-variant-numeric: tabular-nums; }
.pt-l { font-size: 14px; font-weight: 600; }
.ptile em { font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.ptile em.late { color: var(--late-ink); }
.ptile em.wait { color: var(--wait); }
.t-Received .pt-ic { background: rgba(122,128,163,.16); color: var(--ink-2); }
.t-Cutting .pt-ic { background: rgba(61,169,222,.16); color: #1C6C96; }
.t-Sewing .pt-ic { background: rgba(90,85,240,.14); color: var(--accent-ink); }
.t-Ready .pt-ic { background: var(--ready-tint); color: var(--ready-ink); }
.t-Collected .pt-ic { background: rgba(18,23,53,.07); color: var(--ink-2); }

/* coming-up carousel */
.ucard { width: 78%; max-width: 330px; border-radius: 24px; padding: 0; overflow: hidden; display: flex; flex-direction: column; text-align: left; color: var(--ink); box-shadow: var(--hl), var(--shadow-sm); }
.u-top { position: relative; height: 104px; margin: 6px 6px 0; border-radius: 19px; overflow: hidden; display: grid; place-items: center; }
.u-top img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.u-ini { font-family: var(--head); font-size: 28px; font-weight: 600; letter-spacing: -.02em; }
.u-date { position: absolute; left: 8px; top: 8px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px 5px 8px; border-radius: 99px;
  background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 12.5px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.u-date .sb-i { width: 14px; height: 14px; }
.u-date.soon { color: var(--accent-ink); }
.u-body { display: grid; gap: 1px; padding: 12px 14px 14px; min-width: 0; }
.u-t, .u-c { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.u-t { font-weight: 600; font-size: 15.5px; }
.u-c { font-size: 13.5px; color: var(--ink-2); }
.u-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin-top: 10px; }
.u-bal { display: grid; font-family: var(--head); font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.2; }
.u-bal small, .u-prog small { font-family: var(--font); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.u-bal em { font-style: normal; color: var(--ready-ink); font-size: 15px; }
.u-prog { display: grid; justify-items: end; gap: 6px; padding-bottom: 4px; }
.bar5 { display: flex; gap: 3px; }
.bar5 i { width: 14px; height: 5px; border-radius: 3px; background: rgba(90,85,240,.16); }
.bar5 i.on { background: var(--blue); }

/* needs attention */
.attn { border-radius: 24px; padding: 14px 14px 6px; background: rgba(255,238,244,.70); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid rgba(255,255,255,.78); box-shadow: var(--hl), 0 8px 30px rgba(214,52,90,.09); }
.attn-h { display: flex; align-items: center; gap: 10px; padding-bottom: 6px; }
.attn-h > span:nth-child(2) { flex: 1; min-width: 0; }
.attn-h b { display: block; font-family: var(--head); font-size: 16px; font-weight: 600; }
.attn-h small { display: block; font-size: 13px; color: var(--ink-2); }
.attn-ic, .calm-ic { width: 38px; height: 38px; border-radius: 13px; display: grid; place-items: center; flex: none; }
.attn-ic { background: var(--late-tint); color: var(--late); }
.attn-ic .sb-i, .calm-ic .sb-i { width: 19px; height: 19px; }
.att-row { display: flex; align-items: center; gap: 8px; border-top: 1px solid rgba(214,52,90,.13); padding: 6px 0; }
.att-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; border: 0; background: none; text-align: left; padding: 2px 0; min-height: 52px; color: var(--ink); }
.att-txt { min-width: 0; display: grid; gap: 1px; }
.att-txt b, .att-txt small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.att-txt b { font-size: 14.5px; font-weight: 600; }
.att-txt small { font-size: 13px; color: var(--ink-2); }
.late-t { color: var(--late-ink); font-weight: 700; }
.wait-t { color: var(--wait); font-weight: 700; }
.mv { position: relative; flex: none; min-height: 36px; padding: 0 12px; border-radius: 99px; border: 1px solid rgba(255,255,255,.95); background: rgba(255,255,255,.86);
  color: var(--ink); font-size: 13px; font-weight: 600; box-shadow: 0 2px 8px rgba(60,70,140,.10); white-space: nowrap; }
.mv::after { content: ""; position: absolute; inset: -5px -3px; }
.calm { display: flex; align-items: center; gap: 12px; border-radius: 22px; padding: 14px 16px; }
.calm b, .owe.ok b { display: block; font-weight: 600; font-size: 15px; }
.calm small, .owe.ok small { display: block; font-size: 13px; color: var(--ink-2); }
.calm-ic { background: var(--ready-tint); color: var(--ready-ink); }

/* ---------- order cards ---------- */
.res { margin: 2px 2px 0; font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
#olist .res { margin-bottom: 10px; }
.stack { display: grid; gap: 10px; }
.ocard { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; border-radius: 22px; text-align: left; color: var(--ink); box-shadow: var(--hl), var(--shadow-sm); }
.ocard.is-late { background: rgba(255,240,245,.70); }
.thumb { width: 56px; height: 56px; border-radius: 17px; flex: none; overflow: hidden; display: grid; place-items: center; font-family: var(--head); font-weight: 600; font-size: 16px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb.sm { width: 42px; height: 42px; border-radius: 13px; font-size: 13px; }
.oc-main { flex: 1; min-width: 0; display: grid; gap: 1px; }
.oc-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; min-width: 0; }
.oc-t { min-width: 0; font-weight: 600; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oc-amt { flex: none; font-family: var(--head); font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }
.oc-amt.paid { font-family: var(--font); font-size: 14px; color: var(--ready-ink); }
.oc-sub { font-size: 13.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oc-foot { display: flex; align-items: center; gap: 8px; margin-top: 6px; min-width: 0; }
.dots { display: inline-flex; gap: 4px; flex: none; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(90,85,240,.18); }
.dots i.d { background: var(--blue); }
.dots i.c { background: var(--accent); box-shadow: 0 0 0 3px rgba(90,85,240,.18); }
.oc-st { font-size: 12.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.oc-due { margin-left: auto; font-size: 12.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.late { color: var(--late-ink); }
.soon { color: var(--accent-ink); }
.wait { color: var(--wait); }

/* stage chip */
.stage { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.st-Received { background: rgba(122,128,163,.16); color: var(--ink-2); }
.st-Cutting { background: rgba(61,169,222,.16); color: #1C6C96; }
.st-Sewing { background: rgba(90,85,240,.13); color: var(--accent-ink); }
.st-Ready { background: var(--ready-tint); color: var(--ready-ink); }
.st-Collected { background: rgba(18,23,53,.07); color: var(--ink-2); }
.st-late { background: var(--late-tint); color: var(--late-ink); }

/* ---------- orders tab controls ---------- */
.search { position: relative; display: flex; align-items: center; border-radius: 18px; box-shadow: var(--hl), var(--shadow-sm); }
.search > .sb-i { position: absolute; left: 16px; width: 19px; height: 19px; color: var(--ink-2); pointer-events: none; }
.search input { width: 100%; min-height: 52px; border: 0; border-radius: 18px; background: transparent; padding: 0 48px 0 46px; font-size: 16px; color: var(--ink); -webkit-appearance: none; appearance: none; }
.search input::placeholder { color: #666D93; opacity: 1; }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.search input:focus { outline: none; }
.search:focus-within { border-color: rgba(90,85,240,.45); box-shadow: 0 0 0 3px rgba(90,85,240,.18), var(--shadow-sm); }
.search .clr { position: absolute; right: 4px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: var(--ink-2); display: grid; place-items: center; }
.search .clr .sb-i { width: 18px; height: 18px; }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 999px; box-shadow: var(--hl), var(--shadow-sm); }
.seg-b { min-width: 0; min-height: 44px; border: 0; border-radius: 999px; background: none; color: var(--ink-2); font-weight: 600; font-size: 14.5px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.seg-b .c { font-size: 12px; font-weight: 700; min-width: 22px; padding: 1px 6px; border-radius: 99px; background: rgba(90,85,240,.10); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.seg-b.is-late .c { background: var(--late-tint); color: var(--late-ink); }
.seg-b[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 10px rgba(60,70,140,.14); }
.fchip { min-height: 44px; padding: 0 14px; border-radius: 99px; display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--ink);
  background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.85); box-shadow: var(--hl), 0 2px 8px rgba(60,70,140,.06); }
.fchip i { width: 8px; height: 8px; border-radius: 50%; }
.fchip .c { font-size: 12.5px; font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.fchip[aria-pressed="true"] { background: var(--black); border-color: var(--black); color: #fff; box-shadow: 0 4px 12px rgba(14,16,34,.18); }
.fchip[aria-pressed="true"] .c { color: rgba(255,255,255,.75); }
.d-Received { background: #9AA0C4; }
.d-Cutting { background: #3DA9DE; }
.d-Sewing { background: var(--accent); }
.d-Ready { background: var(--ready); }
.d-Collected { background: var(--ink-2); }
.fchip[aria-pressed="true"] .d-Collected { background: #fff; }

/* ---------- customers ---------- */
.c-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.c-bar .res { margin: 0 2px; }
.cgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ccard { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; min-height: 176px; padding: 14px; border-radius: 22px; text-align: left; color: var(--ink); box-shadow: var(--hl), var(--shadow-sm); }
.cc-top { display: flex; width: 100%; align-items: flex-start; justify-content: space-between; gap: 6px; margin-bottom: 10px; }
.av { width: 48px; height: 48px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--head); font-weight: 600; font-size: 16px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), 0 4px 12px rgba(60,70,140,.10); }
.av.xs { width: 28px; height: 28px; font-size: 11px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.7); }
.av.lg { width: 64px; height: 64px; font-size: 22px; }
.cc-n { font-size: 12px; font-weight: 600; color: var(--ink-2); background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.9); border-radius: 99px; padding: 2px 8px; white-space: nowrap; }
.cc-name { width: 100%; font-weight: 600; font-size: 15.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.cc-ph { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.cc-foot { margin-top: auto; padding-top: 10px; width: 100%; }
.cc-owe { display: grid; font-family: var(--head); font-weight: 600; font-size: 16px; font-variant-numeric: tabular-nums; line-height: 1.25; }
.cc-owe small { font-family: var(--font); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.cc-paid { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; border-radius: 99px; background: var(--ready-tint); color: var(--ready-ink); font-weight: 600; font-size: 13.5px; }
.cc-paid .sb-i { width: 15px; height: 15px; stroke-width: 2.4; }
.cc-none { font-size: 13.5px; color: var(--ink-2); }

/* ---------- empty ---------- */
.empty { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 28px 20px; border-radius: 24px; }
.empty-ic { width: 52px; height: 52px; border-radius: 18px; background: rgba(90,85,240,.10); color: var(--accent-ink); display: grid; place-items: center; }
.empty-ic .sb-i { width: 24px; height: 24px; }
.empty b { font-family: var(--head); font-size: 16px; font-weight: 600; }
.empty p { margin: 0; font-size: 14px; color: var(--ink-2); max-width: 30ch; }
.empty .btn-black, .empty .btn-glass { margin-top: 6px; }

/* ---------- detail screens ---------- */
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; display: flex; align-items: center; gap: 8px; min-height: 64px; margin: 0 -16px; padding: 10px 16px;
  background: rgba(238,241,255,.55); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.topbar h1 { flex: 1; min-width: 0; margin: 0; text-align: center; font-family: var(--head); font-size: 16px; font-weight: 600; }
.ib { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; color: var(--ink);
  background: rgba(255,255,255,.66); border: 1px solid rgba(255,255,255,.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--hl), 0 4px 12px rgba(60,70,140,.08); }
.ib .sb-i { width: 20px; height: 20px; }
.ib-sp { width: 44px; flex: none; }

/* photo hero with overlapping glass panel */
.hero { position: relative; display: grid; margin-top: -4px; }
.hero-img { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; max-height: 320px; padding: 0; border: 0; border-radius: 28px; overflow: hidden; background: #DCE2FF; box-shadow: 0 10px 30px rgba(60,70,140,.14); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-tag { position: absolute; right: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 99px;
  background: rgba(14,16,34,.50); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font-size: 12.5px; font-weight: 600; }
.hero-tag .sb-i { width: 15px; height: 15px; }
.hero-ph { position: relative; height: 196px; border-radius: 28px; overflow: hidden; display: flex; justify-content: center; align-items: flex-start; padding-top: 42px; box-shadow: 0 10px 30px rgba(60,70,140,.12); }
.hero-ph::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 22% 10%, rgba(255,255,255,.55), rgba(255,255,255,0) 60%), radial-gradient(60% 80% at 100% 100%, rgba(90,85,240,.16), rgba(90,85,240,0) 60%); }
.add-ph { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 99px; border: 1px solid rgba(255,255,255,.95);
  background: rgba(255,255,255,.74); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--ink); font-weight: 600; font-size: 14.5px; box-shadow: var(--hl), 0 4px 14px rgba(60,70,140,.12); }
.add-ph .sb-i { width: 18px; height: 18px; color: var(--accent-ink); }
.hero-panel { position: relative; display: grid; justify-items: start; gap: 4px; margin: -78px 12px 0; padding: 14px 16px 10px; border-radius: 22px;
  background: rgba(255,255,255,.84); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid rgba(255,255,255,.85); box-shadow: var(--hl), 0 12px 30px rgba(60,70,140,.16); }
.hero-panel h2 { margin: 4px 0 0; font-family: var(--head); font-size: 21px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; text-wrap: balance; overflow-wrap: anywhere; }
.hp-cust { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0; border: 0; background: none; color: var(--ink-2); font-size: 14.5px; font-weight: 600; text-align: left; }
.hp-cust .sb-i { width: 16px; height: 16px; }

/* cards */
.card { border-radius: 24px; padding: 16px; min-width: 0; }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 30px; margin-bottom: 12px; }
.card-h h3 { margin: 0; font-family: var(--head); font-size: 16px; font-weight: 600; }
.card-h .link { margin: -8px 0; }
.unit { margin-left: 6px; font-family: var(--font); font-size: 13px; font-weight: 500; color: var(--ink-2); }
.due-pill { font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 99px; background: rgba(255,255,255,.75); color: var(--ink-2); white-space: nowrap; }
.due-pill.late { background: var(--late-tint); color: var(--late-ink); }
.due-pill.soon { background: rgba(90,85,240,.12); color: var(--accent-ink); }
.due-pill.wait { background: var(--wait-tint); color: var(--wait); }

/* stepper */
.stepper { position: relative; margin: 6px 0 4px; }
.stepper ol { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.sp-line { position: absolute; left: 10%; right: 10%; top: 13px; height: 3px; border-radius: 3px; background: rgba(90,85,240,.16); }
.sp-line i { display: block; height: 100%; border-radius: 3px; background: var(--accent); }
.stepper li { min-width: 0; display: grid; justify-items: center; gap: 7px; text-align: center; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.node { position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid rgba(90,85,240,.24); }
.node .sb-i { width: 14px; height: 14px; stroke-width: 2.6; }
.stepper li.done .node { background: var(--accent); border-color: var(--accent); color: #fff; }
.stepper li.on .node { border-color: var(--accent); box-shadow: 0 0 0 5px rgba(90,85,240,.16); }
.stepper li.on .node::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.stepper li.on { color: var(--ink); font-weight: 700; }
.lb { white-space: nowrap; }
.st-desc { margin: 12px 0 14px; padding: 9px 12px; border-radius: 14px; background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.85); font-size: 14px; color: var(--ink-2); text-align: center; }
.two { display: flex; gap: 10px; }
.two > * { min-width: 0; flex: 1 1 0; }
.two .btn-black { flex: 1.8 1 0; }
.two .btn-black .sb-i { width: 17px; height: 17px; }

/* money */
.m-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.m-top > div { min-width: 0; }
.m-lbl { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.m-amt { display: block; font-family: var(--head); font-size: 30px; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.m-amt.paid { color: var(--ready-ink); font-size: 24px; }
.m-of { display: block; margin-top: 2px; font-size: 13.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ring { position: relative; width: 76px; height: 76px; flex: none; }
.ring svg { width: 100%; height: 100%; display: block; }
.r-bg { fill: none; stroke: rgba(90,85,240,.14); stroke-width: 7; }
.r-fg { fill: none; stroke: url(#rg); stroke-width: 7; stroke-linecap: round; }
.ring.full .r-fg { stroke: var(--ready); }
.r-t { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.05; }
.r-t b { font-family: var(--head); font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.r-t small { font-size: 11.5px; font-weight: 600; color: var(--ink-2); }
.tiles { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px; margin: 14px 0; }
.tiles:last-child { margin-bottom: 0; }
.tiles > div { min-width: 0; padding: 10px 12px; border-radius: 16px; background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.88); }
.tiles span { display: block; font-size: 12.5px; font-weight: 500; color: var(--ink-2); }
.tiles b { display: block; font-size: 15.5px; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.btn-glass .sb-i { color: var(--accent-ink); }

/* delivery + layered inner panels */
.dl-date { display: flex; align-items: center; gap: 12px; }
.dl-date > span:last-child { min-width: 0; }
.dl-cal { width: 52px; height: 56px; flex: none; border-radius: 16px; background: #fff; display: grid; place-content: center; text-align: center; line-height: 1.05; box-shadow: 0 4px 12px rgba(60,70,140,.10); }
.dl-cal small { font-size: 11.5px; font-weight: 700; color: var(--accent-ink); text-transform: uppercase; letter-spacing: .06em; }
.dl-cal b { font-family: var(--head); font-size: 21px; font-weight: 700; font-variant-numeric: tabular-nums; }
.dl-date > span:last-child b { display: block; font-size: 15.5px; font-weight: 600; }
.dl-date > span:last-child small { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.dl-date small.late { color: var(--late-ink); }
.dl-date small.soon { color: var(--accent-ink); }
.dl-date small.wait { color: var(--wait); }
.layer .tiles { margin-bottom: 0; }
.inner { margin-top: 10px; padding: 12px 14px; border-radius: 18px; background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.88); box-shadow: var(--hl); }
.in-h { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.in-h .sb-i { width: 16px; height: 16px; color: var(--accent-ink); }
.notes { margin: 0; font-size: 15px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.notes.muted { color: var(--ink-2); }
.log { position: relative; list-style: none; margin: 0; padding: 0; display: grid; }
.log::before { content: ""; position: absolute; left: 4px; top: 14px; bottom: 14px; width: 1px; background: rgba(90,85,240,.25); }
.log li { display: flex; align-items: center; gap: 12px; padding: 5px 0; font-size: 14px; }
.log li i { position: relative; z-index: 1; width: 9px; height: 9px; border-radius: 50%; flex: none; background: #B9B6F7; }
.log li.now i { background: var(--accent); box-shadow: 0 0 0 4px rgba(90,85,240,.16); }
.log li.now span { font-weight: 600; }
.log li span { flex: 1; min-width: 0; }
.log li small { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* sticky bottom dock */
.dock { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; max-width: 480px; margin: 0 auto; padding: 0 12px calc(12px + env(safe-area-inset-bottom, 0px)); pointer-events: none; }
.dock-in { pointer-events: auto; display: flex; gap: 8px; padding: 8px; border-radius: 34px; background: rgba(255,255,255,.66); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-line); box-shadow: var(--hl), 0 10px 30px rgba(60,70,140,.18); }
.dock-in .btn-black { flex: 1; min-height: 52px; min-width: 0; }
.ib.dk { width: 52px; height: 52px; background: rgba(255,255,255,.88); }

/* customer profile */
.prof { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px; padding: 16px; border-radius: 26px; }
.prof-t h2 { margin: 0; font-family: var(--head); font-size: 20px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; overflow-wrap: anywhere; }
.prof-t p { margin: 3px 0 0; font-size: 15px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.prof-acts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pa { display: grid; justify-items: center; align-content: center; gap: 6px; min-height: 68px; padding: 8px 4px; border-radius: 18px; text-decoration: none; text-align: center;
  background: rgba(255,255,255,.68); border: 1px solid rgba(255,255,255,.95); color: var(--ink); font-size: 13.5px; font-weight: 600; box-shadow: var(--hl), 0 2px 8px rgba(60,70,140,.06); }
.pa .sb-i { color: var(--accent-ink); }
.owe { display: grid; gap: 10px; padding: 14px 16px; border-radius: 22px; }
.owe-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.owe-top > div { min-width: 0; }
.owe-top b { display: block; font-family: var(--head); font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.owe-n { flex: none; font-size: 12.5px; font-weight: 600; color: var(--ink-2); padding: 4px 10px; border-radius: 99px; background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.95); }
.owe-lg { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.owe-lg b { color: var(--ink); font-weight: 600; }
.owe.ok { display: flex; align-items: center; gap: 12px; }
.mgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mchip { display: flex; flex-direction: column; justify-content: space-between; gap: 3px; min-width: 0; padding: 9px 11px; border-radius: 16px;
  background: rgba(255,255,255,.64); border: 1px solid rgba(255,255,255,.9); box-shadow: var(--hl); }
.mchip span { font-size: 12px; font-weight: 500; line-height: 1.25; color: var(--ink-2); overflow-wrap: anywhere; }
.mchip b { font-family: var(--head); font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mchip b small { font-family: var(--font); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.m-note { display: flex; gap: 8px; margin: 12px 0 0; padding: 10px 12px; border-radius: 14px; background: rgba(90,85,240,.07); font-size: 14px; }
.m-note .sb-i { width: 16px; height: 16px; margin-top: 2px; color: var(--accent-ink); }
.m-upd { margin: 10px 0 0; font-size: 13px; color: var(--ink-2); }
.m-empty { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 4px 0 2px; }
.m-empty p { margin: 0; font-size: 14.5px; color: var(--ink-2); }

/* ---------- floating capsule nav + FAB ---------- */
.navbar { position: fixed; z-index: 40; left: 0; right: 0; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: calc(100% - 24px); max-width: 456px; margin: 0 auto;
  display: flex; align-items: center; gap: 10px; pointer-events: none; }
.navbar > * { pointer-events: auto; }
.cap { flex: 1; min-width: 0; display: flex; align-items: center; gap: 4px; height: 64px; padding: 6px; border-radius: 32px;
  background: rgba(255,255,255,.62); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-line); box-shadow: var(--hl), 0 10px 30px rgba(60,70,140,.16); }
.tab { flex: 1 1 0; min-width: 52px; height: 52px; padding: 0; border: 0; border-radius: 26px; background: none; color: var(--ink-2); display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 14.5px; }
.tab .sb-i { width: 22px; height: 22px; }
.tab .tl { display: none; }
.tab[aria-current="page"] { flex: 2.4 1 0; padding: 0 14px; background: #fff; color: var(--ink); box-shadow: 0 2px 12px rgba(60,70,140,.14); }
.tab[aria-current="page"] .tl { display: inline; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tab[aria-current="page"] .sb-i { color: var(--accent); }
.fab { flex: none; width: 64px; height: 64px; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--black); color: #fff;
  box-shadow: 0 10px 24px rgba(14,16,34,.28), inset 0 1px 0 rgba(255,255,255,.14); }
.fab .sb-i { width: 26px; height: 26px; stroke-width: 2.2; }

/* create menu sheet */
.menu { display: grid; gap: 8px; }
.mi { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 70px; padding: 10px 14px; border-radius: 20px; text-align: left; color: var(--ink);
  background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.95); box-shadow: var(--hl), 0 2px 10px rgba(60,70,140,.07); }
.mi-ic { width: 44px; height: 44px; flex: none; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(140deg, var(--lilac), var(--peri)); color: var(--accent-ink); }
.mi-t { flex: 1; min-width: 0; }
.mi-t b { display: block; font-size: 16px; font-weight: 600; }
.mi-t small { display: block; font-size: 13.5px; color: var(--ink-2); }
.mi > .sb-i { width: 18px; height: 18px; color: var(--ink-3); }

/* ---------- shared sheet restyle ---------- */
.sb-sheet { background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255,255,255,.85); border-bottom: 0; box-shadow: var(--sb-sheet-shadow), inset 0 1px 0 #fff; }
.sb-grab { background: rgba(90,85,240,.22); }
.sb-sheet-foot { background: rgba(255,255,255,.5); border-top-color: rgba(90,85,240,.10); }
.sb-x { background: rgba(255,255,255,.8); border: 1px solid rgba(90,85,240,.14); }
.sb-input { box-shadow: inset 0 1px 0 rgba(255,255,255,.9); }
.sb-input:focus { background-color: #fff; }
.sb-btn-primary { box-shadow: 0 6px 16px rgba(14,16,34,.18); }
.sb-btn-ghost { background: rgba(255,255,255,.75); border-color: rgba(90,85,240,.16); }
.sb-chip { background: rgba(255,255,255,.72); border-color: rgba(90,85,240,.16); box-shadow: inset 0 1px 0 rgba(255,255,255,.95); min-height: 40px; }
.sb-seg { gap: 2px; padding: 4px; border-radius: 22px; background: rgba(90,85,240,.07); border: 1px solid rgba(90,85,240,.10); }
.sb-seg-btn { border-color: transparent; background: transparent; color: var(--ink-2); }
.sb-seg-btn[aria-checked="true"] { color: #fff; }
.sb-balance { background: linear-gradient(135deg, rgba(227,215,255,.6), rgba(201,216,255,.55)); border: 1px solid rgba(255,255,255,.85); }
.sb-balance strong { font-family: var(--head); font-weight: 600; }
.sb-balance small { color: var(--ink-2); }
.sb-pay-sum > div, .sb-demo-list li { background: rgba(255,255,255,.7); border: 1px solid rgba(90,85,240,.10); }
.sb-meas-intro { background: rgba(90,85,240,.07); }
.sb-meas-intro .sb-i { color: var(--accent-ink); }
.sb-photo-empty { background: rgba(255,255,255,.6); border-color: rgba(90,85,240,.30); }
.sb-photo-empty .sb-i { color: var(--accent-ink); }
.sb-step { background: rgba(255,255,255,.72); border-color: rgba(90,85,240,.14); }
.sb-step.on { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent), 0 4px 14px rgba(90,85,240,.12); }
.sb-step.on .sb-step-n { background: var(--accent); }
.sb-step em { color: var(--accent-ink); }
.sb-wa-av { background: linear-gradient(140deg, var(--lilac), var(--peri)); color: var(--accent-ink); }
.sb-pick:active { background: rgba(90,85,240,.07); }
.sb-pick-wrap .sb-affix .sb-pre { color: var(--ink-2); }
.sb-link { color: var(--accent-ink); }
.sb-toast { box-shadow: 0 10px 30px rgba(18,23,53,.28); }

/* ---------- desktop ---------- */
@media (min-width: 700px) {
  .col { padding-top: 28px; }
  .hscroll { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 28px), transparent); }
  .detail { padding-top: 12px; }
  .topbar { border-radius: 0 0 22px 22px; }
}
@media (max-width: 374px) {
  .w-amt { font-size: 34px; }
  .greet h1 { font-size: 19px; }
  .mgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ===== live app additions: account button, sign in, onboarding, loading ===== */
.acct { flex: none; width: 44px; height: 44px; border-radius: 50%; padding: 0; display: grid; place-items: center;
  background: var(--glass); border: 1px solid var(--glass-line); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: var(--hl), var(--shadow-sm); }
.acct span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--head); font-weight: 600; font-size: 13px; color: #fff;
  background: linear-gradient(140deg, var(--accent), var(--blue)); }
.sb-acct { display: grid; gap: 14px; }
.sb-acct-av { background: linear-gradient(140deg, var(--accent), var(--blue)) !important; color: #fff; }
.sb-acct .sb-wa-to small { overflow-wrap: anywhere; }

.auth { min-height: 100vh; min-height: 100dvh; display: grid; align-content: center; gap: 14px; padding: 28px 16px calc(28px + env(safe-area-inset-bottom, 0px)); position: relative; z-index: 1; }
.auth-brand { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.auth-logo { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; color: #fff; flex: none;
  background: linear-gradient(140deg, var(--accent), var(--blue)); box-shadow: 0 8px 20px rgba(90,85,240,.28); }
.auth-logo .sb-i { width: 22px; height: 22px; }
.auth-h { margin: 18px 0 0; font-family: var(--head); font-size: 28px; font-weight: 600; letter-spacing: -.025em; line-height: 1.15; text-wrap: balance; }
.auth-p { margin: 0 0 6px; font-size: 15.5px; color: var(--ink-2); line-height: 1.5; max-width: 36ch; }
.auth-card { border-radius: 28px; padding: 14px 16px 18px; display: grid; gap: 18px; }
.auth-seg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.auth-go { width: 100%; min-height: 52px; font-size: 16px; margin-top: 2px; }
.auth-foot { margin: 4px 0 0; text-align: center; font-size: 14.5px; color: var(--ink-2); }
.auth-foot .link { min-height: 40px; font-size: 14.5px; }
.auth .sb-label { color: var(--ink-2); }

.boot { min-height: 100vh; min-height: 100dvh; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px 16px; text-align: center; position: relative; z-index: 1; }
.boot p { margin: 0; color: var(--ink-2); font-size: 15px; max-width: 32ch; }
.boot b { font-family: var(--head); font-size: 18px; }

.welcome { border-radius: 28px; padding: 20px 18px; display: grid; gap: 6px; }
.welcome h2 { margin: 0; font-family: var(--head); font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.welcome > p { margin: 0 0 8px; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.wsteps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.wsteps li { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; background: rgba(255,255,255,.66); border: 1px solid rgba(255,255,255,.9); }
.wsteps li.off { opacity: .55; }
.ws-n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; color: var(--accent-ink); background: rgba(90,85,240,.12); }
.ws-t { flex: 1; min-width: 0; }
.ws-t b { display: block; font-size: 15px; font-weight: 600; }
.ws-t small { display: block; font-size: 13px; color: var(--ink-2); }
.wsteps .btn-black.sm { min-height: 40px; padding: 0 14px; font-size: 14px; flex: none; }

.sb-spin-sm { width: 16px; height: 16px; border-width: 2px; border-color: rgba(255,255,255,.35); border-top-color: currentColor; }
.sb-btn-ghost .sb-spin-sm, .sb-btn-text .sb-spin-sm { border-color: rgba(18,23,53,.18); border-top-color: currentColor; }
.is-busy { opacity: .85; cursor: progress; }

/* ===== visitor home page ===== */
.app.is-landing { max-width: 1080px; }
.land { position: relative; z-index: 1; display: grid; gap: 40px; padding: 12px 16px calc(28px + env(safe-area-inset-bottom, 0px)); }
.land-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; }
.auth-logo.sm { width: 36px; height: 36px; border-radius: 12px; box-shadow: 0 6px 14px rgba(90,85,240,.24); }
.auth-logo.sm .sb-i { width: 19px; height: 19px; }
.land-hero { display: grid; gap: 28px; align-items: center; }
.land-copy { min-width: 0; }
.land-eyebrow { margin: 0; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.land-copy h1 { margin: 10px 0 0; font-family: var(--head); font-size: 34px; font-weight: 700; line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; }
.land-p { margin: 14px 0 0; font-size: 16.5px; line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.land-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.land-cta .btn-black, .land-cta .btn-glass { min-height: 52px; font-size: 16px; padding: 0 22px; }
.land-cta .btn-black .sb-i { width: 18px; height: 18px; }
.land-note { margin: 12px 0 0; font-size: 13.5px; color: var(--ink-3); }

.preview { position: relative; min-width: 0; display: grid; gap: 12px; padding: 16px; border-radius: 30px; }
.pv-owed { display: grid; gap: 2px; padding: 4px 4px 2px; }
.pv-owed span { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.pv-owed b { font-family: var(--head); font-size: 30px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pv-owed small { font-size: 12.5px; color: var(--ink-3); }
.pv-card { cursor: default; }
.wa-bubble { justify-self: end; max-width: 88%; padding: 10px 12px 11px; border-radius: 18px 18px 4px 18px; background: #DCF8C6; color: #17301E; font-size: 14px; line-height: 1.45; box-shadow: 0 4px 14px rgba(20,60,30,.10); }
.wa-bubble small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; color: #2E6B3D; margin-bottom: 3px; }

.land-feats { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.feat { border-radius: 22px; padding: 16px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.feat-ic { width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; background: rgba(90,85,240,.12); color: var(--accent-ink); margin-bottom: 4px; }
.feat-ic .sb-i { width: 20px; height: 20px; }
.feat b { font-family: var(--head); font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.feat p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.land-end { border-radius: 28px; padding: 26px 20px; display: grid; justify-items: center; gap: 8px; text-align: center; }
.land-end h2 { margin: 0; font-family: var(--head); font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.land-end p { margin: 0 0 8px; color: var(--ink-2); font-size: 15px; }
.land-end .btn-black { min-height: 52px; padding: 0 24px; font-size: 16px; }
.land-foot { text-align: center; font-size: 13px; color: var(--ink-3); }

.auth-top { display: flex; align-items: center; gap: 12px; }
.auth-back { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; padding: 0; color: var(--ink);
  background: var(--glass); border: 1px solid var(--glass-line); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--hl), var(--shadow-sm); }
.auth-back .sb-i { width: 20px; height: 20px; }

@media (min-width: 560px) { .land-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .land { gap: 64px; padding-top: 20px; }
  .land-hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; }
  .land-copy h1 { font-size: 50px; }
  .land-p { font-size: 18px; }
  .land-feats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 559px) { .land-cta .btn-black, .land-cta .btn-glass { flex: 1 1 100%; } }
