/* Trunk Show: styles. Mobile-first, sidebar from 900px. */
:root {
  /* Navy worsted and brass. See DESIGN.md. Neutral ramp tinted to navy (hue 220). */
  --n50: #f4f5f7; --n100: #eceef2; --n200: #dfe2e8; --n300: #c5cad3; --n400: #8d94a3; --n500: #5f6676; --n700: #3e4556; --n800: #2a3140; --n900: #18202e;
  --ink: var(--n900); --ink2: var(--n700); --muted: var(--n500); --line: var(--n200); --bg: var(--n50); --card: #fff; --navy: var(--n900);
  --gold: var(--gold-d); --gold-d: #6f5320; --gold-l: #f2ece0; --gold-on-navy: #e6d3ad;
  --blue: #2b5aa6; --blue-l: #e8eef8; --green: #1f6f45; --green-l: #e4f1e9; --amber: #94570b; --amber-l: #f8eedd; --red: #a8332f; --red-l: #f8e6e5;
  --purple: #2c6a72; --purple-l: #e3eff0; /* "fitting" teal; the var name is kept so older selectors still resolve */
  --r: 8px; --r-ctl: 6px; --r-chip: 4px; --r-sheet: 10px;
  --sh: 0 1px 2px rgba(24, 32, 46, .06), 0 2px 8px rgba(24, 32, 46, .04);
  --sans: "Hanken Grotesk", ui-sans-serif, sans-serif; --serif: "Spectral", Georgia, serif;
  --ease: cubic-bezier(.2, .7, .3, 1); --t: 160ms;
}
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/hanken-grotesk-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Spectral"; src: url("fonts/spectral-600.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.5 var(--sans); color: var(--ink); background: var(--bg); }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
h1 { font-size: 22px; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; }
h2 { font-size: 19px; margin-bottom: 10px; }
h3 { font-size: 15px; margin-bottom: 10px; }
.mt { margin-top: 18px; }
code { font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--n100); padding: 1px 5px; border-radius: 4px; }
.muted { color: var(--muted); } .small { font-size: 12.5px; } .grow { flex: 1; min-width: 0; }
.num { text-align: right; font-variant-numeric: tabular-nums; }

/* layout */
.sidebar { display: none; }
.app { min-height: 100vh; padding-bottom: 84px; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: var(--navy); color: #fff; font-size: 13px; }
.brand-sm { font-weight: 700; color: var(--gold-on-navy); }
.trip-badge { flex: 1; text-align: right; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.more-link { color: #fff; font-size: 20px; line-height: 1; padding: 0 4px; }
main { padding: 16px; max-width: 1180px; margin: 0 auto; }
.tabbar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; display: flex; justify-content: space-around; align-items: center; background: #fff; border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.tabbar a { display: flex; flex-direction: column; align-items: center; font-size: 11px; color: var(--muted); padding: 4px 8px; min-width: 58px; }
.tabbar a span { font-size: 20px; filter: grayscale(1); opacity: .7; }
.tabbar a.on { color: var(--ink); font-weight: 600; } .tabbar a.on span { filter: none; opacity: 1; }
.tabbar .fab-new { width: 54px; height: 54px; min-width: 0; border-radius: 50%; background: var(--gold); color: #fff; justify-content: center; margin-top: -26px; box-shadow: 0 6px 18px rgba(176, 141, 79, .45); }
.tabbar .fab-new span { font-size: 30px; filter: none; opacity: 1; color: #fff; line-height: 1; }

@media (min-width: 900px) {
  .sidebar { display: flex; flex-direction: column; position: fixed; inset: 0 auto 0 0; width: 230px; background: var(--navy); color: #cfd3dd; padding: 20px 14px; }
  .brand { display: flex; gap: 10px; align-items: center; margin: 0 6px 26px; }
  .brand b { color: #fff; display: block; font-size: 17px; } .brand small { color: var(--gold-on-navy); }
  .logo-mark { width: 38px; height: 38px; border-radius: var(--r-ctl); background: var(--gold); color: #fff; display: grid; place-items: center; font-size: 20px; }
  .sidebar nav a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: var(--r-ctl); color: #cfd3dd; margin-bottom: 2px; }
  .sidebar nav a:hover { background: rgba(255, 255, 255, .06); }
  .sidebar nav a.on { background: rgba(255, 255, 255, .12); color: #fff; font-weight: 600; }
  .sidebar .new-btn { margin-top: 18px; background: var(--gold); justify-content: center; }
  body { background: linear-gradient(90deg, var(--navy) 230px, var(--bg) 230px); }
  .app { margin-left: 230px; padding-bottom: 30px; }
  .tabbar, .brand-sm, .more-link { display: none; }
  .topbar { background: #fff; color: var(--ink2); border-bottom: 1px solid var(--line); }
  main { padding: 24px 28px; }
  h1 { font-size: 26px; }
}

/* page header */
.ph { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: flex-end; margin-bottom: 16px; }
.ph .sub { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; }
.ph-act { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* buttons, chips */
.btn { display: inline-flex; align-items: center; gap: 6px; border: 0; background: var(--navy); color: #fff; font: 600 14px inherit; font-family: inherit; padding: 10px 16px; border-radius: var(--r-ctl); cursor: pointer; min-height: 42px; white-space: nowrap; }
.btn:hover { filter: brightness(1.12); }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn.ok { background: var(--green); }
.btn.sm { padding: 6px 11px; min-height: 34px; font-size: 13px; }
.btn.lg { padding: 14px 22px; font-size: 16px; min-height: 52px; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.chip { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: var(--r-ctl); font-size: 12px; font-weight: 600; background: #eef0f4; color: var(--ink2); white-space: nowrap; }
.chip.muted { background: var(--n100); color: var(--ink2); font-weight: 500; }
.chip.live { background: var(--green-l); color: var(--green); } .chip.ok { background: var(--green-l); color: var(--green); }
.chip.bad { background: var(--red-l); color: var(--red); } .chip.warn { background: var(--amber-l); color: var(--amber); } .chip.info { background: var(--blue-l); color: var(--blue); }
.p-measure { background: var(--blue-l); color: var(--blue); } .p-fitting { background: var(--purple-l); color: var(--purple); } .p-pickup { background: var(--gold-l); color: var(--gold-d); }
.st-measured { background: #eef0f4; } .st-workroom { background: var(--blue-l); color: var(--blue); } .st-cut { background: #e6f4f6; color: #1e6f7c; }
.st-baste { background: var(--purple-l); color: var(--purple); } .st-forward { background: #f7e8f3; color: #9a3b80; } .st-final { background: var(--amber-l); color: var(--amber); } .st-delivered { background: var(--green-l); color: var(--green); }
.tier-classic { background: #eef0f4; } .tier-select { background: var(--blue-l); color: var(--blue); } .tier-luxury { background: var(--gold-l); color: var(--gold-d); } .tier-couture { background: #2a2230; color: var(--gold-on-navy); }
.fchips { display: flex; gap: 6px; flex-wrap: wrap; }
.fchip { border: 1px solid var(--line); background: #fff; color: var(--ink2); padding: 6px 12px; border-radius: var(--r-ctl); font-size: 13px; cursor: pointer; font-family: inherit; }
.fchip span { color: var(--muted); margin-left: 3px; }
.fchip.on { background: var(--navy); color: #fff; border-color: var(--navy); } .fchip.on span { color: #c8ccd6; }
.seg { display: inline-flex; background: var(--n100); border-radius: var(--r-ctl); padding: 3px; gap: 3px; }
.seg.wrap { flex-wrap: wrap; }
.seg button { border: 0; background: transparent; padding: 8px 13px; border-radius: var(--r-ctl); font: 500 14px inherit; font-family: inherit; color: var(--ink2); cursor: pointer; min-height: 38px; }
.seg button.on { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.seg button small { color: var(--gold); font-weight: 600; }

/* avatars, swatches */
.av { --h: 210; display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: hsl(var(--h) 45% 90%); color: hsl(var(--h) 45% 28%); font-weight: 700; font-size: 14px; }
.av.sm { width: 32px; height: 32px; font-size: 12px; } .av.lg { width: 48px; height: 48px; font-size: 17px; }
.sw { display: inline-block; width: 18px; height: 18px; border-radius: 5px; background: var(--c); border: 1px solid rgba(0, 0, 0, .12); margin-right: 3px; vertical-align: middle; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .08); background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 5px); background-color: var(--c); }
.sw.big { width: 44px; height: 44px; border-radius: var(--r-ctl); flex: none; }
.sw.sw-none { background: repeating-linear-gradient(45deg, #ddd 0 3px, #f6f6f6 3px 6px); }

/* cards */
.card { background: var(--card); border-radius: var(--r); box-shadow: var(--sh); padding: 16px; margin-bottom: 14px; border: 1px solid rgba(0, 0, 0, .03); }
.card.flat { box-shadow: none; border: 1px solid var(--line); }
.card-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.card-h h3 { margin: 0; }
.grid2 { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.grid2 > * { min-width: 0; }
@media (min-width: 1000px) { .grid2 { grid-template-columns: 1.35fr 1fr; align-items: start; } }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 14px; }
@media (min-width: 760px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi { background: #fff; border-radius: var(--r); padding: 12px 14px; box-shadow: var(--sh); }
.kpi span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; display: block; }
.kpi b { font-size: 24px; display: block; margin: 2px 0; font-variant-numeric: tabular-nums; }
.kpi small { color: var(--muted); font-size: 12px; }
.kpi.hl { background: var(--navy); color: #fff; } .kpi.hl span, .kpi.hl small { color: var(--gold-on-navy); }
.kv { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.kv span { color: var(--muted); } .kv:last-child { border-bottom: 0; }
.note { background: var(--amber-l); color: #6e4a12; border-radius: var(--r-ctl); padding: 8px 12px; font-size: 13.5px; margin: 10px 0 0; }
.prefs { font-style: italic; color: var(--ink2); margin: 6px 0; }
.empty { text-align: center; padding: 40px 16px; color: var(--muted); }
.empty-ic { font-size: 36px; } .empty h3 { color: var(--ink); margin: 8px 0 4px; } .empty p { margin: 0; }
.banner { background: var(--gold-l); border: 1px solid #ead9b6; border-radius: var(--r); padding: 12px 14px; margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.toolbar { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.search { width: 100%; padding: 12px 14px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; font: 15px inherit; font-family: inherit; }
.search:focus, input:focus, textarea:focus, select:focus { outline: 2px solid var(--gold); outline-offset: 1px; }

/* tour */
.trips { display: grid; gap: 12px; margin-bottom: 14px; }
@media (min-width: 760px) { .trips { grid-template-columns: 1fr 1fr; } }
.trip { display: flex; gap: 14px; color: inherit; margin: 0; transition: transform .1s; }
.trip:hover { transform: translateY(-1px); }
.trip.now { border: 2px solid var(--gold); }
.trip-date { flex: none; width: 62px; border-radius: var(--r); background: var(--navy); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8px 0; }
.trip.now .trip-date { background: var(--gold); }
.trip-date .m { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.trip-date .d { font-size: 26px; font-weight: 700; line-height: 1.1; }
.trip-date .n { font-size: 11px; opacity: .8; }
.trip-body { flex: 1; min-width: 0; }
.trip-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.trip-top h3 { margin: 0; font-size: 17px; }
.hotel { margin: 3px 0 0; color: var(--ink2); font-size: 14px; } .dates { margin: 2px 0 8px; color: var(--muted); font-size: 12.5px; }
.bar { height: 7px; background: var(--n100); border-radius: var(--r-ctl); overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--gold); border-radius: var(--r-ctl); }
.trip-stats { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.trip-stats b { color: var(--ink); } .trip-stats .warn, .trip-stats .warn b { color: var(--amber); }
.past summary { cursor: pointer; font-weight: 600; }
.tbl-wrap { overflow-x: auto; margin-top: 8px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 10px; border-bottom: 1px solid var(--n100); vertical-align: top; }
.tbl tr[data-href] { cursor: pointer; } .tbl tr[data-href]:hover td { background: var(--n50); }

/* tabs & slots */
.tabs { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 14px; padding-bottom: 2px; }
.tab { white-space: nowrap; padding: 9px 14px; border-radius: var(--r-ctl); background: #fff; color: var(--ink2); border: 1px solid var(--line); font-size: 14px; }
.tab.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.tab .cnt { opacity: .65; font-size: 12px; margin-left: 4px; }
.slots, .day { display: flex; flex-direction: column; gap: 8px; }
.slot { display: flex; gap: 12px; align-items: flex-start; background: #fff; border-radius: var(--r); padding: 12px; border: 1px solid var(--line); position: relative; text-align: left; font: inherit; color: inherit; width: 100%; }
.slot .tm { flex: none; width: 58px; font-weight: 700; font-size: 13px; color: var(--ink2); padding-top: 6px; font-variant-numeric: tabular-nums; }
.slot.open { border-style: dashed; background: transparent; cursor: pointer; align-items: center; color: var(--muted); }
.slot.open:hover { background: #fff; border-color: var(--gold); color: var(--ink); }
.slot.open .tm { padding-top: 0; } .open-lbl { flex: 1; font-size: 14px; }
.slot .plus { font-size: 22px; color: var(--gold); }
.slot.appt { border-left: 4px solid var(--blue); box-shadow: var(--sh); }
.slot.appt.pur-fitting { border-left-color: var(--purple); } .slot.appt.pur-pickup { border-left-color: var(--gold); }
.slot.appt.done { opacity: .72; background: #f8f9fb; } .slot.appt.noshow { opacity: .6; }
.slot[data-href] { cursor: pointer; }
.appt-main { flex: 1; min-width: 0; }
.appt-top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.slot .note { margin-top: 8px; padding: 6px 10px; font-size: 13px; }
.slot .x { position: absolute; top: 6px; right: 8px; border: 0; background: transparent; color: var(--muted); font-size: 18px; cursor: pointer; display: none; }
.slot:hover .x { display: block; }
.appt-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; margin-top: 8px; }
@media (min-width: 760px) { .appt-detail { grid-template-columns: repeat(4, 1fr); } }
.appt-detail .kv { flex-direction: column; gap: 0; border: 0; padding: 4px 0; font-size: 13px; }
.linked { font-size: 13px; margin-top: 6px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.hist { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; }
.hist-i { font-size: 13px; color: var(--ink2); } .hist-i span { display: inline-block; width: 56px; color: var(--muted); }
.appt-act { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.side .mini-row { border-bottom: 1px solid var(--n100); }
.mini-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; }

/* lists */
.list { padding: 4px 0; }
.row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; color: inherit; border-bottom: 1px solid var(--n100); width: 100%; background: none; border-left: 0; border-right: 0; border-top: 0; font: inherit; text-align: left; cursor: pointer; }
.row:last-child { border-bottom: 0; } .row:hover { background: var(--n50); }
.row.danger b { color: var(--red); }
.row-meta { flex: none; }
@media (max-width: 640px) { .hide-sm { display: none; } }

/* measurements */
.meas-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 10px 0; }
@media (min-width: 560px) { .meas-grid { grid-template-columns: repeat(3, 1fr); } }
.meas { background: var(--n50); border: 1px solid var(--n100); border-radius: var(--r-ctl); padding: 8px 10px; display: flex; flex-direction: column; }
.meas .ml { font-size: 12px; color: var(--muted); }
.meas .mv { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; } .meas .mv small { font-size: 13px; color: var(--muted); font-weight: 500; margin-left: 1px; }
.meas .md { font-size: 12px; color: var(--muted); }
.meas.up { background: var(--amber-l); border-color: #ecd3a6; } .meas.up .md { color: var(--amber); font-weight: 700; }
.meas.down { background: var(--blue-l); border-color: #c7d6f2; } .meas.down .md { color: var(--blue); font-weight: 700; }
.meas-grid.tkt .meas { background: #fff; }
.posture { display: flex; flex-wrap: wrap; gap: 6px; }
.pchip { border: 1px solid var(--line); background: #fff; padding: 9px 13px; border-radius: var(--r-ctl); font: 14px inherit; font-family: inherit; cursor: pointer; color: var(--ink2); }
.pchip.on { background: var(--amber-l); border-color: #e0bf86; color: var(--amber); font-weight: 600; }
.mform { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 560px) { .mform { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .mform { grid-template-columns: 1fr 1fr 1fr; } }
.mform > * { min-width: 0; }
.mf { display: flex; flex-direction: column; gap: 4px; background: var(--n50); padding: 10px; border-radius: var(--r); border: 1px solid var(--n100); }
.mf.chg { background: var(--amber-l); border-color: #e7c88f; }
.mf .ml { font-weight: 600; font-size: 13.5px; }
.mf-in { display: flex; gap: 6px; }
.mf-in input { flex: 1; min-width: 0; width: 0; text-align: center; font: 700 22px inherit; font-family: inherit; padding: 8px; border-radius: var(--r-ctl); border: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.step { width: 52px; border-radius: var(--r-ctl); border: 1px solid var(--line); background: #fff; font-size: 24px; cursor: pointer; color: var(--ink); }
.step:active { background: var(--gold-l); }
.mf .md { font-size: 12px; color: var(--muted); } .mf.chg .md b { color: var(--amber); }
.voice { position: relative; } .soon { font-size: 10.5px; background: var(--gold-l); color: var(--gold-d); padding: 1px 6px; border-radius: var(--r-ctl); font-weight: 600; text-transform: uppercase; }
textarea, input, select { font: 15px inherit; font-family: inherit; }
textarea { width: 100%; padding: 10px 12px; border-radius: var(--r-ctl); border: 1px solid var(--line); resize: vertical; margin-top: 4px; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 16px; flex-wrap: wrap; }

/* wizard */
.wsteps { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 14px; }
.wstep { display: flex; align-items: center; gap: 6px; border: 0; background: #fff; padding: 8px 12px 8px 8px; border-radius: var(--r-ctl); font: 600 13px inherit; font-family: inherit; color: var(--muted); white-space: nowrap; cursor: pointer; border: 1px solid var(--line); }
.wstep span { width: 22px; height: 22px; border-radius: 50%; background: var(--n100); display: grid; place-items: center; font-size: 12px; }
.wstep.on { color: var(--ink); border-color: var(--navy); } .wstep.on span { background: var(--navy); color: #fff; }
.wstep.done { color: var(--green); } .wstep.done span { background: var(--green); color: #fff; }
.wstep[disabled] { opacity: .5; cursor: default; }
.wbody { background: #fff; border-radius: var(--r); box-shadow: var(--sh); padding: 16px; margin-bottom: 90px; }
.wfoot { position: fixed; left: 0; right: 0; bottom: 66px; z-index: 25; display: flex; justify-content: space-between; align-items: center; gap: 10px; background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); padding: 10px 16px; backdrop-filter: blur(6px); }
.wfoot > div:first-child { display: flex; flex-direction: column; } .wfoot b { font-size: 20px; font-variant-numeric: tabular-nums; }
.wfoot > div:last-child { display: flex; gap: 8px; }
@media (max-width: 520px) { .wfoot .btn.lg { padding: 10px 12px; font-size: 14px; white-space: normal; } }
@media (min-width: 900px) { .wfoot { left: 230px; bottom: 0; padding: 12px 28px; } }
.timer { font-variant-numeric: tabular-nums; color: var(--gold); font-weight: 600; }
.pick-grid { display: grid; gap: 8px; margin-top: 8px; }
@media (min-width: 640px) { .pick-grid { grid-template-columns: 1fr 1fr; } }
.pick { display: flex; gap: 10px; align-items: center; text-align: left; border: 1px solid var(--line); background: #fff; border-radius: var(--r); padding: 10px; cursor: pointer; font: inherit; color: inherit; }
.pick.on, .pick:hover { border-color: var(--gold); background: var(--gold-l); }
.garments { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .garments { grid-template-columns: repeat(3, 1fr); } }
.gcard { border: 1px solid var(--line); border-radius: var(--r); padding: 14px; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.gcard.on { border: 2px solid var(--gold); background: var(--gold-l); }

.qty { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.qty button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 22px; cursor: pointer; }
.qty span { font-size: 20px; font-weight: 700; min-width: 20px; }
.ltabs { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 12px; }
.ltab { display: flex; align-items: center; gap: 4px; border: 1px solid var(--line); background: #fff; padding: 6px 12px 6px 8px; border-radius: var(--r-ctl); font: 600 13px inherit; font-family: inherit; cursor: pointer; white-space: nowrap; }
.ltab.on { border-color: var(--navy); background: var(--navy); color: #fff; }
.fabrics { display: flex; flex-direction: column; gap: 6px; max-height: none; }
.fab { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); background: #fff; border-radius: var(--r); padding: 10px; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.fab:hover { border-color: #d8c49c; } .fab.on { border: 2px solid var(--gold); background: var(--gold-l); }
.fab-mill { font-size: 12px; color: var(--muted); }
.fab-p { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; text-align: right; }
.opt-head { display: flex; gap: 12px; align-items: center; padding: 10px; background: var(--n50); border-radius: var(--r); margin-bottom: 8px; }
.opts { display: flex; flex-direction: column; gap: 12px; margin: 12px 0; }
.og { display: flex; flex-direction: column; gap: 6px; margin: 10px 0; }
.og .seg { align-self: flex-start; }
@media (min-width: 1000px) { .opts { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; } }
.og .ol { font-size: 13px; font-weight: 600; color: var(--ink2); }
.mono { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.mono input { width: 170px; padding: 10px 12px; border-radius: var(--r-ctl); border: 1px solid var(--line); text-transform: uppercase; font-weight: 700; letter-spacing: .1em; }
.lines { display: flex; flex-direction: column; }
.line { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--n100); }
.line:last-child { border-bottom: 0; }
.specs { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; margin-top: 4px; } .specs i { color: var(--muted); font-style: normal; }
.sums { display: flex; flex-direction: column; gap: 2px; margin: 10px 0; }
.sums > div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 14px; } .sums span { color: var(--ink2); }
.sums b { font-variant-numeric: tabular-nums; }
.sums .big { font-size: 17px; border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; }
.sums .dep { background: var(--green-l); border-radius: var(--r-ctl); padding: 8px 10px; color: var(--green); } .sums .dep span { color: var(--green); }
.sums .due b { color: var(--red); } .sums .paid b { color: var(--green); }
.done-card { text-align: center; padding: 34px 20px; max-width: 640px; margin: 20px auto; }
.done-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: #fff; font-size: 34px; display: grid; place-items: center; margin: 0 auto 12px; }
.done-card h1 { justify-content: center; } .pill { display: inline-block; background: var(--gold-l); color: var(--gold-d); padding: 8px 14px; border-radius: var(--r-ctl); font-weight: 600; font-size: 14px; }
.done-act { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 16px 0; }

/* order stepper */
.stepper { display: flex; overflow-x: auto; gap: 0; }
.stp { flex: 1; min-width: 92px; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; font-size: 12px; color: var(--muted); }
.stp::before { content: ''; position: absolute; top: 8px; left: -50%; right: 50%; height: 3px; background: var(--n200); }
.stp:first-child::before { display: none; }
.stp .dot { width: 18px; height: 18px; border-radius: 50%; background: var(--n200); position: relative; z-index: 1; margin-bottom: 4px; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--n200); }
.stp.done .dot, .stp.done::before, .stp.on::before { background: var(--green); } .stp.done .dot { box-shadow: 0 0 0 1px var(--green); }
.stp.on .dot { background: var(--gold); box-shadow: 0 0 0 3px var(--gold-l); } .stp.on b { color: var(--ink); }
.stp b { font-weight: 600; }

/* board */
.board { align-items: flex-start; display: flex; gap: 12px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.col { flex: 0 0 82%; max-width: 280px; background: var(--n100); border-radius: var(--r); padding: 10px; scroll-snap-align: start; }
@media (max-width: 759px) { .col.is-empty { flex-basis: 46%; } }
@media (min-width: 760px) { .col { flex: 1 0 186px; max-width: 300px; } }
.col-h { display: flex; justify-content: space-between; padding: 2px 4px 8px; font-size: 13.5px; }
.col-h span { background: #fff; border-radius: var(--r-ctl); padding: 0 8px; font-size: 12px; font-weight: 700; }
.kcard { background: #fff; border-radius: var(--r-ctl); padding: 10px; margin-bottom: 8px; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); cursor: pointer; position: relative; display: flex; flex-direction: column; gap: 3px; }
.kcard:hover { box-shadow: 0 3px 10px rgba(0, 0, 0, .1); }
.k-top { display: flex; justify-content: space-between; align-items: center; }
.k-sw { display: flex; align-items: center; gap: 2px; margin: 3px 0; } .k-sw .muted { margin-left: auto; }
.kcard .chip { align-self: flex-start; }
.adv { position: absolute; right: 8px; bottom: 8px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 15px; }
.adv:hover { background: var(--navy); color: #fff; }
.col-empty { color: var(--muted); font-size: 13px; text-align: center; padding: 16px 0; }

/* summary */
.fu { padding: 9px 0; border-bottom: 1px solid var(--n100); font-size: 14px; }
.fu-trip { padding: 8px 0; border-bottom: 1px solid var(--n100); }

/* invoice & ticket */
.invoice { position: relative; background: #fff; max-width: 820px; margin: 0 auto 30px; padding: 36px; border-radius: 6px; box-shadow: var(--sh); overflow: hidden; }
.inv-h { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-bottom: 2px solid var(--ink); padding-bottom: 18px; margin-bottom: 18px; }
.inv-h h2 { font-family: var(--serif); font-size: 24px; margin: 6px 0 2px; }
.inv-h p { margin: 2px 0; color: var(--ink2); font-size: 13px; }
.logo { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--gold); color: var(--gold); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; }
.inv-meta { min-width: 240px; } .inv-meta h1 { font-family: var(--serif); font-weight: 400; letter-spacing: .12em; text-transform: uppercase; font-size: 26px; justify-content: flex-end; margin-bottom: 6px; }
.inv-meta .kv { font-size: 13px; padding: 3px 0; }
.inv-to { display: flex; flex-direction: column; font-size: 14px; margin-bottom: 18px; }
.inv-tbl td { font-size: 14px; }
.inv-sum { margin-left: auto; max-width: 380px; }
.terms { margin-top: 24px; font-size: 12.5px; color: var(--ink2); border-top: 1px solid var(--line); padding-top: 12px; }
.stamp { position: absolute; top: 120px; right: 40px; transform: rotate(-14deg); border: 4px solid var(--green); color: var(--green); font: 600 40px var(--serif); padding: 4px 18px; border-radius: var(--r-ctl); opacity: .7; letter-spacing: .1em; }
.ticket h3 { margin-top: 18px; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.barcode { font: 700 13px ui-monospace, monospace; letter-spacing: .3em; text-align: center; padding: 26px 8px 4px; margin-bottom: 8px; background: repeating-linear-gradient(90deg, #000 0 2px, #fff 2px 4px, #000 4px 5px, #fff 5px 8px, #000 8px 11px, #fff 11px 12px) top / 100% 22px no-repeat; }
.sign { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 28px; font-size: 13px; color: var(--ink2); }
@media (max-width: 600px) { .invoice { padding: 18px; } .stamp { top: 70px; right: 10px; font-size: 28px; } }

/* modal & toast */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(20, 24, 36, .45); display: flex; align-items: flex-end; justify-content: center; }
.sheet { background: #fff; width: 100%; max-width: 520px; border-radius: var(--r-sheet) 18px 0 0; padding: 20px; max-height: 92vh; overflow: auto; }
@media (min-width: 640px) { .modal { align-items: center; } .sheet { border-radius: var(--r-sheet); } }
.fl { display: flex; flex-direction: column; gap: 4px; margin: 12px 0; font-size: 13px; font-weight: 600; color: var(--ink2); }
.fl input, .fl select { padding: 11px 12px; border-radius: var(--r-ctl); border: 1px solid var(--line); background: #fff; font-weight: 400; color: var(--ink); }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px); background: var(--navy); color: #fff; padding: 10px 18px; border-radius: var(--r-ctl); font-size: 14px; opacity: 0; transition: opacity 200ms var(--ease), transform 200ms var(--ease); z-index: 200; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* print */
@media print {
  body { background: #fff; }
  .noprint, .sidebar, .tabbar, .topbar, .wfoot, .ph-act { display: none !important; }
  .app { margin: 0; padding: 0; } main { padding: 0; max-width: none; }
  .invoice { box-shadow: none; padding: 0; max-width: none; }
  .card, .kpi { box-shadow: none; border: 1px solid #ddd; }
  @page { margin: 16mm; }
}

/* phone: stack time above the appointment so names get the full width */
@media (max-width: 640px) {
  .slot.appt { flex-direction: column; gap: 6px; }
  .slot.appt .tm { width: auto; padding-top: 0; }
  .appt-top .grow { flex-basis: calc(100% - 50px); }
  .ph .btn { min-height: 38px; padding: 8px 12px; font-size: 13.5px; }
}

/* ---------- polish: hero / aha panel ---------- */
.btn.gold { background: var(--gold); color: #fff; }
.btn.lg { min-height: 48px; padding: 12px 20px; font-size: 15px; }
.btn.ghost-w { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
.hero { position: relative; display: grid; gap: 18px; background: var(--n900); color: #e8eaf0; border-radius: var(--r-sheet); padding: 22px; margin-bottom: 22px; box-shadow: 0 10px 30px rgba(28, 35, 51, .18); overflow: hidden; }
.hero::after { content: '✂'; position: absolute; right: -10px; bottom: -40px; font-size: 180px; opacity: .04; transform: rotate(-20deg); pointer-events: none; }
.hero .eyebrow { margin: 0 0 6px; text-transform: uppercase; letter-spacing: .12em; font-size: 11.5px; color: var(--gold-on-navy); font-weight: 700; }
.hero h2 { margin: 0; font-size: 25px; line-height: 1.18; color: #fff; letter-spacing: -.01em; }
.hero-q { margin: 10px 0 14px; font-style: italic; color: #c3c8d4; font-size: 14.5px; border-left: 3px solid var(--gold); padding-left: 10px; }
.hero-q b { color: #fff; font-weight: 600; }
.chain { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 16px; font-size: 13px; }
.chain span { padding: 5px 10px; border-radius: var(--r-ctl); white-space: nowrap; }
.chain .c1 { background: #fff; color: var(--ink); font-weight: 700; }
.chain .c2 { background: rgba(176, 141, 79, .2); color: #f1dfbd; border: 1px solid rgba(233, 215, 179, .35); }
.chain i { font-style: normal; color: var(--gold); font-weight: 800; }
.hero-act { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-r { display: flex; flex-direction: column; justify-content: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r); padding: 16px 18px; color: #e8eaf0; }
.hero-r:hover { background: rgba(255, 255, 255, .1); }
.hero-r span { text-transform: uppercase; letter-spacing: .08em; font-size: 11.5px; color: var(--gold-on-navy); font-weight: 700; }
.hero-r b { font-size: 44px; line-height: 1.05; color: #fff; letter-spacing: -.02em; margin: 4px 0; }
.hero-r small { color: #c3c8d4; font-size: 13px; }
.hero-r em { font-style: normal; color: var(--gold-on-navy); font-size: 12.5px; margin-top: 8px; font-weight: 600; }
.hero-x { position: absolute; top: 8px; right: 10px; background: none; border: 0; color: #8d93a5; font-size: 22px; cursor: pointer; z-index: 1; }
@media (min-width: 760px) { .hero { grid-template-columns: 1fr 260px; padding: 26px 28px; } .hero h2 { font-size: 30px; } }

/* order done: the chain of generated documents */
.chain-out { text-align: left; background: var(--bg); border-radius: var(--r); padding: 14px; margin: 18px 0 6px; display: grid; gap: 8px; }
.chain-h { margin: 0 0 2px; font-weight: 700; }
.co { display: grid; grid-template-columns: 30px 1fr; grid-template-rows: auto auto; column-gap: 8px; background: #fff; border-radius: var(--r-ctl); padding: 9px 12px; color: var(--ink); border: 1px solid var(--line); animation: pop .4s both; }
.co span { grid-row: span 2; font-size: 20px; align-self: center; } .co small { color: var(--muted); }
.co:nth-of-type(2) { animation-delay: .1s } .co:nth-of-type(3) { animation-delay: .2s } .co:nth-of-type(4) { animation-delay: .3s } .co:nth-of-type(5) { animation-delay: .4s }
.chain-f { margin: 4px 0 0; font-size: 13px; color: var(--ink2); }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (min-width: 640px) { .chain-out { grid-template-columns: 1fr 1fr; } .chain-h, .chain-f { grid-column: 1 / -1; } }

/* ---------- savings ---------- */
.sv-quote { font-size: 15px; font-style: italic; color: var(--ink2); background: #fff; }
.sv-quote .muted { display: block; font-style: normal; margin-top: 6px; }
.ba { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 16px; }
.ba-c { border-radius: var(--r); padding: 14px 16px; background: #fff; box-shadow: var(--sh); }
.ba-c span { display: block; text-transform: uppercase; letter-spacing: .06em; font-size: 11.5px; color: var(--muted); font-weight: 700; }
.ba-c b { display: block; font-size: 32px; letter-spacing: -.02em; line-height: 1.15; }
.ba-c small { color: var(--muted); }
.ba-c.before b { color: var(--red); } .ba-c.after b { color: var(--green); }
.ba-c.saved { background: var(--navy); color: #fff; } .ba-c.saved span, .ba-c.saved small { color: var(--gold-on-navy); } .ba-c.saved b { font-size: 38px; }
.ba-arrow { display: none; }
@media (min-width: 900px) { .ba { grid-template-columns: 1fr 28px 1fr 1.6fr; align-items: stretch; } .ba-arrow { display: grid; place-items: center; color: var(--muted); font-size: 22px; } }
.sv-tbl td { vertical-align: top; } .sv-tbl tfoot td { border-top: 2px solid var(--ink); padding-top: 10px; }
.sv-tbl input.cell { width: 62px; text-align: right; padding: 6px 8px; border: 1px solid var(--line); border-radius: var(--r-ctl); font: inherit; background: #fff; }
.sv-tbl .zero { display: inline-block; width: 62px; text-align: right; padding: 6px 9px; color: var(--green); font-weight: 700; }
.sv-ins, .biz-form { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sv-in { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--ink2); font-weight: 600; }
.sv-in small { display: block; font-weight: 400; color: var(--muted); }
.sv-in input { min-width: 0; width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-ctl); font: 16px inherit; font-family: inherit; background: #fff; }
.sv-derived { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 14px 0 6px; }
.sv-derived div { background: var(--bg); border-radius: var(--r-ctl); padding: 8px 10px; }
.sv-derived span { display: block; font-size: 11.5px; color: var(--muted); } .sv-derived b { font-size: 20px; } .sv-derived small { display: block; color: var(--muted); font-size: 11.5px; }
@media (min-width: 1000px) { .sv-grid { grid-template-columns: 1.6fr 1fr; } }
.biz-form .sv-in:first-child { grid-column: 1 / -1; }

/* ---------- demo buttons ---------- */
.demo-pill { background: var(--gold); color: #fff; border: 0; border-radius: var(--r-ctl); padding: 6px 12px; font: 700 12.5px inherit; font-family: inherit; cursor: pointer; white-space: nowrap; }
.sidebar .demo-btn { margin-top: 8px; background: transparent; border: 1px solid rgba(233, 215, 179, .45); color: var(--gold-on-navy); justify-content: center; }
.sidebar .demo-btn small { opacity: .7; font-weight: 500; }
@media (min-width: 900px) { .demo-pill { display: none; } }

/* ---------- guided demo overlay ---------- */
.tour { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.tour-block { position: fixed; inset: 0; pointer-events: auto; }
.tour-spot { position: fixed; border-radius: var(--r); box-shadow: 0 0 0 100vmax rgba(15, 19, 30, .58), 0 0 0 3px var(--gold); transition: left .45s cubic-bezier(.3, .8, .3, 1), top .45s cubic-bezier(.3, .8, .3, 1), width .45s cubic-bezier(.3, .8, .3, 1), height .45s cubic-bezier(.3, .8, .3, 1); pointer-events: none; }
.tour.busy .tour-spot { box-shadow: 0 0 0 100vmax rgba(15, 19, 30, .18), 0 0 0 3px rgba(176, 141, 79, .5); }
.tour.done .tour-block { background: rgba(15, 19, 30, .45); }
.tour-card { position: fixed; right: 24px; bottom: 24px; width: 380px; max-width: calc(100vw - 24px); background: #fff; border-radius: var(--r-sheet); padding: 16px 18px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); pointer-events: auto; transition: top .3s, bottom .3s; }
.tour-card.at-top { bottom: auto; top: 24px; }
.tour.done .tour-card { right: 50%; bottom: 50%; transform: translate(50%, 50%); }
.tour-top { display: flex; justify-content: space-between; align-items: center; }
.tour-n { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); font-weight: 800; }
.tour-x { background: none; border: 0; font-size: 22px; color: var(--muted); cursor: pointer; line-height: 1; }
.tour-t { margin: 4px 0 4px; font-size: 18px; }
.tour-p { margin: 0 0 12px; color: var(--ink2); font-size: 14.5px; line-height: 1.5; }
.tour-bar { height: 4px; background: var(--n100); border-radius: var(--r-ctl); overflow: hidden; margin-bottom: 12px; }
.tour-bar span { display: block; height: 100%; width: 0; background: var(--gold); }
.tour-btns { display: flex; gap: 8px; justify-content: flex-end; }
.tour-btns button { border: 1px solid var(--line); background: #fff; border-radius: var(--r-ctl); padding: 8px 12px; font: 600 13.5px inherit; font-family: inherit; cursor: pointer; min-height: 38px; }
.tour-btns button.pri { background: var(--navy); color: #fff; border-color: var(--navy); }
.tour.busy .tour-btns button { opacity: .5; }
@media (max-width: 699px) {
  .tour-card { left: 10px; right: 10px; bottom: 84px; width: auto; max-width: none; padding: 14px; }
  .tour-card.at-top-phone { bottom: auto; top: 58px; }
  .tour.done .tour-card { right: 10px; bottom: 50%; transform: translateY(50%); }
  .tour-t { font-size: 16.5px; } .tour-p { font-size: 13.5px; margin-bottom: 10px; }
}
.tap-dot { position: fixed; z-index: 101; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; background: rgba(176, 141, 79, .55); pointer-events: none; animation: tap .6s ease-out forwards; }
@keyframes tap { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
body.touring .tabbar, body.touring .wfoot { z-index: 15; }

/* ---------- polish: fixes ---------- */
.k-sw .muted { margin-right: 36px; white-space: nowrap; }
.slot.appt.done { opacity: 1; background: #f8f9fb; } .slot.appt.done .appt-main > .appt-top b { color: var(--ink2); }
@media (max-width: 420px) { .hide-xs { display: none; } }
@media print { .hero, .demo-pill, .tour { display: none !important; } }
.sv-ins { align-items: end; }
.sv-tbl td.num .muted { white-space: nowrap; }
@media (max-width: 759px) {
  .hero { padding: 18px 18px 16px; gap: 12px; }
  .hero h2 { font-size: 22px; }
  .hero-q { font-size: 13.5px; margin: 8px 0 10px; }
  .chain { font-size: 12px; gap: 4px; margin-bottom: 12px; } .chain span { padding: 4px 8px; }
  .hero-act .btn { flex: 1; justify-content: center; } .hero-act .ghost-w { display: none; }
  .hero-r { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 10px 14px; }
  .hero-r span { grid-column: 1 / -1; } .hero-r b { font-size: 34px; grid-row: span 2; } .hero-r em { margin-top: 0; }
}
@media (max-width: 899px) { .ba { grid-template-columns: 1fr 1fr; } .ba-c.saved { grid-column: 1 / -1; } .ba-c b { font-size: 28px; } }
body.touring .toast { display: none; }

/* Phone: the savings math table stacks each task as a card row instead of scrolling sideways */
@media (max-width: 640px) {
  .sv-tbl thead { display: none; }
  .sv-tbl, .sv-tbl tbody, .sv-tbl tfoot { display: block; width: 100%; }
  .sv-tbl tbody tr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .sv-tbl tbody td { padding: 0; border: 0; text-align: left; }
  .sv-tbl tbody td:first-child { grid-column: 1 / -1; }
  .sv-tbl tbody td[data-l]::before { content: attr(data-l); display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 3px; }
  .sv-tbl input.cell, .sv-tbl .zero { width: 100%; max-width: 64px; box-sizing: border-box; text-align: left; }
  .sv-tbl .zero { padding-left: 0; }
  .sv-tbl td.num .muted { white-space: normal; }
  .sv-tbl tfoot tr { display: flex; justify-content: space-between; gap: 8px; border-top: 2px solid var(--ink); }
  .sv-tbl tfoot td { border-top: 0; padding-left: 0; padding-right: 0; }
}

/* ===== Design pass (15 Oct 2026): navy worsted and brass. Tokens in :root, rationale in DESIGN.md ===== */
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: -4px; }
h1, .hero h2, .brand b, .inv-h h2, .done-card h1 { font-family: var(--serif); font-weight: 600; letter-spacing: -.005em; }
h1 { font-size: 23.5px; } @media (min-width: 900px) { h1 { font-size: 29px; } }
a, button, [data-act], [data-href], label { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.btn, .fchip, .seg button, .pchip, .wstep, .ltab, .tour-btns button, .demo-pill, .slot, .row, .kcard, .co, .gcard, .fab, .tab, .sidebar nav a, .hero-r { transition: background-color var(--t) var(--ease), border-color var(--t) var(--ease), color var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.btn { border-radius: var(--r-ctl); gap: 8px; }
.btn:hover { filter: none; background: var(--n800); }
.btn:active { transform: translateY(1px); }
.btn.ghost:hover { background: var(--n50); border-color: var(--n300); }
.btn.gold, .sidebar .new-btn, .tabbar .fab-new, .demo-pill { background: var(--gold); color: #fff; }
.btn.gold:hover, .sidebar .new-btn:hover, .demo-pill:hover { background: var(--gold-d); }
.btn.ok:hover { background: #185a38; }
.chip { border-radius: var(--r-chip); padding: 2px 7px; font-weight: 600; }
.fchip, .pchip, .wstep, .ltab, .demo-pill, .pill, .toast, .col-h span { border-radius: var(--r-ctl); }
.p-pickup, .tier-luxury { color: var(--gold-d); }
.st-forward { background: #f1e9f0; color: #7a3b67; }
.tier-couture { background: var(--n900); color: var(--gold-on-navy); }
.seg, .seg button { border-radius: var(--r-ctl); }
.card { border-radius: var(--r); border: 0; }
.card.flat { border: 1px solid var(--line); }
.kpi { border-radius: var(--r); }
.kpi span, .tbl th, .ba-c span, .hero-r span, .tour-n, .soon, .sv-tbl tbody td[data-l]::before { text-transform: none; letter-spacing: 0; }
.kpi span { font-size: 13px; font-weight: 500; color: var(--muted); }
.tbl th { font-size: 12.5px; font-weight: 600; }
.av, .av[style] { background: var(--n100) !important; color: var(--ink2) !important; }
.empty-ic .i { width: 32px; height: 32px; color: var(--n400); stroke-width: 1.5; }
.bar { border-radius: 2px; } .bar span { background: var(--gold); border-radius: 2px; }

/* sidebar + tab bar icons */
.logo-mark { border-radius: var(--r-ctl); } .logo-mark .i { width: 20px; height: 20px; color: #fff; }
.sidebar nav a { border-radius: var(--r-ctl); }
.sidebar nav a .i { color: #9aa1b0; } .sidebar nav a.on .i, .sidebar nav a:hover .i { color: var(--gold-on-navy); }
.sidebar .demo-btn .i, .demo-pill .i { width: 14px; height: 14px; vertical-align: -2px; }
.demo-pill { display: inline-flex; align-items: center; gap: 5px; }
.tabbar a .i { width: 22px; height: 22px; margin-bottom: 2px; color: var(--n400); }
.tabbar a.on .i { color: var(--ink); }
.tabbar .fab-new .i { width: 26px; height: 26px; color: #fff; stroke-width: 2.25; margin: 0; }
.tabbar .fab-new { box-shadow: 0 4px 12px rgba(24, 32, 46, .22); }
.more-link { display: inline-flex; } .more-link .i { width: 22px; height: 22px; }

/* appointments: no colored strip; purpose lives in the chip */
.slot { border-radius: var(--r); }
.slot.appt, .slot.appt.pur-fitting, .slot.appt.pur-pickup { border-left: 1px solid var(--line); }
.slot.appt { border-color: transparent; }
.slot .plus .i { color: var(--gold); width: 20px; height: 20px; }
.slot .x .i { width: 16px; height: 16px; }
.slot.open:hover { border-color: var(--gold); }
.note { border-radius: var(--r-ctl); }

/* hero: one flat navy panel, the page's focal point */
.hero { background: var(--n900); border-radius: var(--r-sheet); box-shadow: none; }
.hero::after { content: none; }
.hero h2 { font-size: 23.5px; line-height: 1.22; font-weight: 600; max-width: 30ch; }
@media (min-width: 760px) { .hero h2 { font-size: 29px; } }
.hero-q { border-left: 0; padding-left: 0; color: #c3c8d4; }
.chain { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px 4px; counter-reset: none; }
.chain li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 8px; border-radius: var(--r-chip); white-space: nowrap; }
.chain li .i { width: 15px; height: 15px; vertical-align: 0; }
.chain .c1 { background: #fff; color: var(--ink); font-weight: 600; }
.chain .c2 { background: transparent; color: var(--gold-on-navy); border: 1px solid rgba(230, 211, 173, .35); }
.chain .c1 + .c2 { margin-left: 10px; }
.hero-act .btn .i { width: 16px; height: 16px; }
.hero-r { background: transparent; border: 0; border-top: 1px solid rgba(255, 255, 255, .14); border-radius: 0; padding: 14px 0 0; gap: 2px; }
.hero-r:hover { background: transparent; } .hero-r:hover small { color: #fff; }
.hero-r b { font-family: var(--serif); font-weight: 600; font-size: 46px; order: 0; }
.hero-r span { font-size: 15px; color: var(--gold-on-navy); font-weight: 600; order: 1; }
.hero-r small { order: 2; margin-top: 6px; line-height: 1.45; }
.hero-x { color: #9aa1b0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r-ctl); }
.hero-x:hover { color: #fff; background: rgba(255, 255, 255, .08); }
@media (min-width: 760px) { .hero-r { border-top: 0; border-left: 1px solid rgba(255, 255, 255, .14); padding: 0 0 0 24px; } }
@media (max-width: 759px) { .hero-r { display: flex; flex-direction: column; padding: 12px 0 0; } .hero-r b { font-size: 36px; grid-row: auto; } .hero-r small { display: none; } }

/* order confirmation, follow-ups, more page */
.co { border-radius: var(--r); } .co span .i { width: 20px; height: 20px; color: var(--gold); }
.done-ic .i { width: 34px; height: 34px; stroke-width: 2.5; }
.pill { display: inline-flex; align-items: center; gap: 8px; } .pill .i { width: 16px; height: 16px; }
.fu { display: flex; gap: 10px; align-items: flex-start; } .fu > .i { color: var(--n400); margin-top: 2px; }
.banner .i { margin-right: 6px; color: var(--gold-d); }
.row > .i { color: var(--n400); } .row .chev { color: var(--n300); width: 16px; height: 16px; }
.adv { display: grid; place-items: center; border-radius: var(--r-ctl); } .adv .i { width: 15px; height: 15px; }
.adv:hover { background: var(--n900); color: #fff; border-color: var(--n900); }
.voice .i { width: 16px; height: 16px; } .soon { border-radius: var(--r-chip); color: var(--gold-d); }
.wstep span .i { width: 13px; height: 13px; stroke-width: 2.5; }
.wstep.done span { background: var(--green-l); color: var(--green); }

/* guided demo card */
.tour-card { border-radius: var(--r-sheet); }
.tour-n { font-size: 13px; font-weight: 700; color: var(--gold-d); }
.tour-t { font-family: var(--serif); font-weight: 600; }
.tour-bar { border-radius: 2px; } .tour-btns button { border-radius: var(--r-ctl); }
.tour-x { display: grid; place-items: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
}
@media (min-width: 900px) { .demo-pill { display: none; } }
.trip-badge .hide-xs { margin-left: 8px; color: var(--muted); }
.topbar .trip-badge .hide-xs { color: inherit; opacity: .8; }
.meas .md:empty { display: none; }
@media (max-width: 759px) { .hero .chain { display: none; } .hero-q { margin-bottom: 14px; } }
/* cloth codes are printed on the bunch label in the body face, not a mono chip */
code { font: 600 12.5px var(--sans); font-variant-numeric: tabular-nums; background: none; padding: 0; color: var(--ink2); letter-spacing: .02em; }
@media (max-width: 759px) { .fchips.scroll-x { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; } .fchips.scroll-x .fchip { flex: none; } }
