@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Mono:wght@400;500&family=Inter:wght@400;500;600;700;800&display=swap');/* Spacebar portal access — blue, lavender and soft grey workspace entry. */
.auth-page { --auth-font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; --auth-ink: #213448; --auth-muted: #547792; --auth-blue: #547792; --auth-blue-deep: #213448; --auth-lilac: #b49fcc; min-height: 100vh; display: grid; place-items: center; padding: clamp(16px, 3vw, 40px); position: relative; overflow: hidden; color: var(--auth-ink); font-family: var(--auth-font); background: radial-gradient(circle at 92% 16%, rgba(180,159,204,.2), transparent 25rem), #f4f6f8; }
.auth-page::before,.auth-page::after { content: ''; position: absolute; pointer-events: none; border-radius: 50%; }.auth-page::before { width: 22rem; height: 22rem; top: -11rem; left: 35%; background: rgba(180,159,204,.13); filter: blur(18px); }.auth-page::after { width: 12rem; height: 12rem; right: -4rem; bottom: -5rem; border: 28px solid rgba(84,119,146,.1); }
.auth-shell { width: min(1040px,100%); min-height: min(660px,calc(100vh - 80px)); display: grid; grid-template-columns: 1.08fr .92fr; position: relative; z-index: 1; border: 1px solid rgba(33,52,72,.12); border-radius: 28px; overflow: hidden; background: #fff; box-shadow: 0 28px 80px rgba(33,52,72,.13); }
.auth-intro { min-height: 100%; position: relative; display: flex; flex-direction: column; padding: clamp(30px,5vw,62px); overflow: hidden; background: #213448; color: #fff; }.auth-intro::before { content: ''; position: absolute; width: 28rem; height: 28rem; top: -14rem; right: -13rem; border-radius: 50%; background: rgba(84,119,146,.92); }.auth-intro::after { content: ''; position: absolute; width: 17rem; height: 17rem; bottom: -9rem; left: -6rem; border-radius: 50%; background: var(--auth-lilac); }
.auth-brand,.auth-card-brand { display: inline-flex; align-items: center; gap: 9px; color: inherit; text-decoration: none; font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; position: relative; z-index: 1; }.auth-brand img,.auth-card-brand img { width: 26px; height: 26px; }.auth-brand img { filter: brightness(0) invert(1); }
.auth-intro-copy { position: relative; z-index: 1; margin: auto 0; max-width: 420px; }.auth-intro-kicker { display: inline-flex; margin-bottom: 20px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; background: rgba(255,255,255,.14); font: 800 10px/1 var(--sb-mono,monospace); letter-spacing: .12em; text-transform: uppercase; }.auth-intro h1 { margin: 0; font: 750 clamp(42px,5.1vw,66px)/1.02 var(--auth-font); letter-spacing: -.05em; }.auth-intro h1 em { color: var(--auth-lilac); font-style: normal; }.auth-intro p { max-width: 340px; margin: 22px 0 0; color: rgba(255,255,255,.9); font-size: 15px; line-height: 1.6; }.auth-intro-note { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; color: #dce8ef; font-size: 12px; font-weight: 750; }.auth-intro-note i { width: 8px; height: 8px; border-radius: 50%; background: var(--auth-lilac); box-shadow: 0 0 0 4px rgba(180,159,204,.2); }
.auth-card { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px,5vw,64px); background: #fff; }.auth-card-brand { display: none; margin-bottom: 34px; color: var(--auth-blue-deep); }.auth-eyebrow { align-self: flex-start; margin: 0 0 18px; padding: 7px 10px; border: 1px solid #d5e2ea; border-radius: 999px; background: #edf4f7; color: var(--auth-blue-deep); font: 850 10px/1 var(--sb-mono,monospace); letter-spacing: .13em; text-transform: uppercase; }.auth-card h2 { margin: 0; color: var(--auth-ink); font: 750 clamp(32px,4vw,44px)/1.05 var(--auth-font); letter-spacing: -.04em; }.auth-card-lede { margin: 13px 0 22px; color: var(--auth-muted); font-size: 14px; line-height: 1.55; }
.auth-fields { display: grid; gap: 14px; }.auth-card label { display: grid; gap: 8px; color: #587486; font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }.auth-card input { width: 100%; height: 52px; padding: 0 15px; border: 1px solid #d4e4ea; border-radius: 13px; background: #fbfdfe; color: var(--auth-ink); font: 500 15px/1.2 var(--auth-font); outline: none; }.auth-card input::placeholder { color: #a0b5c0; }.auth-card input:focus { border-color: var(--auth-blue); background: #fff; box-shadow: 0 0 0 4px rgba(180,159,204,.25); }
.auth-password-field { position: relative; display: block; }.auth-password-field input { padding-right: 54px; }.auth-card .auth-password-toggle { position: absolute; top: 50%; right: 5px; width: 42px; height: 42px; margin: 0; padding: 0; transform: translateY(-50%); border: 0; border-radius: 10px; background: transparent; box-shadow: none; color: #547792; }.auth-card .auth-password-toggle:hover:not(:disabled) { transform: translateY(-50%); background: #edf4f7; box-shadow: none; color: #213448; }.auth-card .auth-password-toggle:focus-visible { outline: 3px solid rgba(84,119,146,.38); outline-offset: 1px; }.auth-password-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.auth-card button { width: 100%; height: 52px; display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 20px; border: 0; border-radius: 13px; background: var(--auth-blue-deep); color: #fff; box-shadow: 0 10px 22px rgba(33,52,72,.22); cursor: pointer; font: 800 14px/1 inherit; transition: transform 180ms ease,background 180ms ease,box-shadow 180ms ease; }.auth-card button b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.18); font-size: 17px; line-height: 1; }.auth-card button:hover:not(:disabled) { transform: translateY(-2px); background: #547792; box-shadow: 0 15px 28px rgba(84,119,146,.28); }.auth-card button:disabled { opacity: .68; cursor: wait; }.auth-card .auth-google { margin: 0 0 14px; border: 1px solid #cbd9e1; background: #fff; color: #213448; box-shadow: none; }.auth-card .auth-google:hover:not(:disabled) { background: #f4f8fa; box-shadow: none; }.auth-divider { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: #8098a7; font-size: 10px; font-weight: 800; text-transform: uppercase; }.auth-divider::before,.auth-divider::after { content: ''; flex: 1; height: 1px; background: #dce6eb; }
.auth-help { margin: 18px 0 0; color: #89a1ae; font-size: 11px; line-height: 1.5; text-align: center; }.auth-muted { margin: 0 0 14px; padding: 10px 12px; border: 1px solid #d5e7ed; border-radius: 11px; background: #f5fafb; color: #628094; font: 600 11px/1.45 var(--sb-mono,monospace); }.auth-error { margin: 14px 0 -4px; padding: 11px 12px; border: 1px solid #f1cfcb; border-radius: 11px; background: #fff5f4; color: #aa4f49; font-size: 12px; font-weight: 700; line-height: 1.45; }.auth-card--compact { width: min(420px,100%); min-height: auto; padding: 32px; border: 1px solid rgba(149,189,215,.38); border-radius: 20px; background: #fff; box-shadow: 0 18px 50px rgba(77,121,157,.15); color: var(--auth-ink); font-weight: 800; text-align: center; }
.portal-restore { --restore-ink:#17172d; --restore-line:#e7e5f0; min-height:100vh; display:grid; grid-template-columns:266px 1fr; grid-template-rows:78px 1fr; background:#fff; color:var(--restore-ink); font-family:Inter,ui-sans-serif,system-ui,sans-serif; }.portal-restore__topbar { grid-column:1 / -1; display:flex; align-items:center; gap:10px; padding:0 28px; border-bottom:1px solid var(--restore-line); font-weight:850; letter-spacing:.06em; text-transform:uppercase; }.portal-restore__topbar img { width:27px; height:27px; }.portal-restore__rail { display:grid; align-content:start; gap:12px; padding:28px 22px; border-right:1px solid var(--restore-line); }.portal-restore__rail i,.portal-restore__panel i,.portal-restore__eyebrow,.portal-restore__title { display:block; border-radius:999px; background:linear-gradient(90deg,#f1f0f7,#faf9fc,#f1f0f7); background-size:220% 100%; animation:portal-restore-shimmer 1.3s ease-in-out infinite; }.portal-restore__rail i { height:44px; border-radius:10px; }.portal-restore__main { padding:clamp(28px,4vw,56px); max-width:1240px; }.portal-restore__eyebrow { width:116px; height:12px; }.portal-restore__title { width:min(370px,70%); height:42px; margin-top:16px; border-radius:8px; }.portal-restore__panel { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-top:36px; }.portal-restore__panel i { height:155px; border-radius:16px; } @keyframes portal-restore-shimmer { from { background-position:100% 0; } to { background-position:-100% 0; } }
.auth-card .auth-link-button { height: auto; margin: 15px auto -4px; padding: 0; width: auto; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: #547792; font-size: 12px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }.auth-card .auth-link-button:hover:not(:disabled) { transform: none; background: transparent; box-shadow: none; color: #213448; }.auth-success { margin: 14px 0 -4px; padding: 11px 12px; border: 1px solid #c8e8d9; border-radius: 11px; background: #f2fbf6; color: #16734d; font-size: 12px; font-weight: 700; line-height: 1.45; }.auth-help a { color: inherit; font-weight: 800; }.auth-shell--single { width: min(840px, 100%); grid-template-columns: .9fr 1.1fr; min-height: 570px; }
@media (max-width:760px) { .auth-page { padding: 0; align-items: stretch; background: #fff; }.auth-page::before,.auth-page::after { display: none; }.auth-shell { min-height: 100svh; grid-template-columns: 1fr; border: 0; border-radius: 0; box-shadow: none; }.auth-intro { min-height: 220px; padding: 24px 24px 28px; }.auth-intro-copy { margin: auto 0 0; }.auth-intro-kicker,.auth-intro p,.auth-intro-note { display: none; }.auth-intro h1 { font-size: 38px; }.auth-intro::before { width: 16rem; height: 16rem; top: -9rem; right: -6rem; }.auth-intro::after { width: 10rem; height: 10rem; bottom: -6rem; left: -4rem; }.auth-card { justify-content: flex-start; padding: 30px 24px 42px; }.auth-card-brand { display: inline-flex; }.auth-card h2 { font-size: 34px; } }
@media (max-width:760px) { .portal-restore { grid-template-columns:1fr; grid-template-rows:64px 1fr; }.portal-restore__topbar { padding:0 18px; }.portal-restore__rail { display:none; }.portal-restore__main { padding:28px 18px; }.portal-restore__panel { grid-template-columns:1fr 1fr; gap:12px; margin-top:28px; }.portal-restore__panel i { height:124px; }.portal-restore__panel i:last-child { display:none; } }
.adm-support-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 16px 24px; background: #eeeaf8; color: #29233f; font-size: 14px; }
.adm-support-banner a { margin-inline-start: auto; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.date-filter,.order-filter-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}
.order-filter-bar{margin:0}
.date-filter label,.order-filter-bar>label{display:flex;align-items:center;gap:8px;min-width:0;font-size:12px;font-weight:500;color:var(--mw-muted,#58566b)}
.date-filter select,.date-filter input,.order-filter-bar>label>select,.order-filter-bar input{box-sizing:border-box;min-height:40px;min-width:0;padding:8px 12px;border:1px solid var(--mw-border,#dcdde5);border-radius:8px;background:var(--mw-card,#fff);color:var(--mw-text,#252438);font:inherit;max-width:100%}
.order-filter-bar .filter-search{flex:1 1 200px;max-width:320px;font-size:13px}
.filter-count{margin-inline-start:auto;color:var(--mw-muted,#706c85);font-size:12px;font-variant-numeric:tabular-nums}
.filter-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.date-filter :is(input,select):focus-visible,.order-filter-bar :is(input,select):focus-visible{outline:2px solid #087f62;outline-offset:2px}
.filter-carryover{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0;font-size:13px}
.vp-data-panel>.order-filter-bar{padding:0 16px 12px}
.adm-toolbar.order-filter-bar{gap:8px;margin-block:0 16px}
@media(pointer:coarse){.date-filter :is(input,select),.order-filter-bar :is(input,select){min-height:44px}}
@media(max-width:480px){.order-filter-bar .filter-search{max-width:none;flex-basis:100%}.date-filter{max-width:100%}.date-filter label{flex-wrap:wrap}.date-filter input{max-width:160px}}
.date-filter{gap:10px}.date-filter label{gap:6px;font-size:11px;flex-wrap:nowrap}.date-filter input{width:132px;min-height:40px;padding:7px 6px;font-size:12px;font-variant-numeric:tabular-nums}
@media(max-width:480px){.date-filter{gap:8px}.date-filter label{display:grid;gap:3px}.date-filter input{width:130px;min-height:44px}.filter-count{align-self:end;padding-bottom:12px}}
.date-range{position:relative;max-width:100%;color:var(--mw-ink,#18172c);font-size:13px;z-index:20}
.date-range summary{list-style:none;display:flex;align-items:center;gap:10px;min-height:44px;padding:0 14px;background:#fff;border:1px solid #e2e4eb;border-radius:14px;cursor:pointer;font-weight:500;font-variant-numeric:tabular-nums}
.date-range summary::-webkit-details-marker{display:none}.date-range summary:hover{background:#f5f6fa}.date-range summary:focus-visible,.date-range button:focus-visible{outline:2px solid #5b5499;outline-offset:3px}
.date-range-panel{position:absolute;inset-inline-start:0;top:calc(100% + 8px);box-sizing:border-box;width:292px;max-width:calc(100vw - 28px);padding:16px;background:white;border-radius:18px;box-shadow:0 6px 16px #18172c12,0 18px 48px #18172c16}
.date-range-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.date-range-heading span{font-size:11px;color:#6b6884}
.date-range-panel .date-filter{display:grid;grid-template-columns:1fr 1fr;gap:10px}.date-range-panel .date-filter label{display:grid;gap:6px}.date-range-panel .date-filter input{width:100%;max-width:100%;border-radius:10px;min-height:44px}
.date-range-footer{display:flex;justify-content:space-between;margin-top:16px;gap:12px}.date-range-footer button{min-height:40px;padding:0 16px;border:0;border-radius:10px;background:#f1effa;color:#474077;font:600 12px inherit;cursor:pointer}.date-range-footer button:last-child{background:#242337;color:#fff}
/* ============================================================
   Spacebar Vendor Panel — Operator-facing utility CSS
   Data-rich; no iridescent backdrop; clean, dense, productive.
   ============================================================ */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  font-family: var(--sb-body);
  color: var(--sb-fg);
  background: #FDFCF8;
  font-size: 13px;
}

/* ============================================================
   1. App shell — fixed sidebar, flexible main
   ============================================================ */
.vp-app {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

/* ---------- Sidebar ---------- */
.vp-sidebar {
  background: #FFFFFF;
  border-right: 1px solid rgba(46, 46, 53, 0.08);
  display: flex;
  flex-direction: column;
  padding: 20px 14px;
  gap: 18px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.vp-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px 12px;
  border-bottom: 1px solid rgba(46, 46, 53, 0.08);
  text-decoration: none;
  color: var(--sb-fg);
}
.vp-sidebar-brand img { width: 28px; height: auto; }
.vp-sidebar-brand strong {
  font-family: var(--sb-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.vp-vendor-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  margin: 0 0 4px;
  border-radius: 12px;
  background: #FAF7EE;
  border: 1px solid rgba(46, 46, 53, 0.06);
}
.vp-vendor-pill .avatar {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--sb-lavender), var(--sb-sky));
  color: var(--sb-cream);
  display: grid; place-items: center;
  font-family: var(--sb-heading);
  font-weight: 600;
  font-size: 12px;
  flex-shrink: 0;
}
.vp-vendor-pill .info { display: flex; flex-direction: column; min-width: 0; }
.vp-vendor-pill .info strong { font-size: 12px; font-weight: 700; color: var(--sb-fg); }
.vp-vendor-pill .info span { font-family: var(--sb-mono); font-size: 10px; color: var(--sb-fg-3); }

.vp-nav { display: flex; flex-direction: column; gap: 1px; }
.vp-nav-section {
  font-family: var(--sb-body);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sb-fg-3);
  padding: 12px 10px 6px;
}
.vp-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--sb-fg-2);
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  transition: background 120ms var(--sb-ease-out);
  position: relative;
}
.vp-nav-item:hover { background: rgba(46, 46, 53, 0.04); color: var(--sb-fg); }
.vp-nav-item.is-active {
  background: #2E2E35;
  color: #FFFDF7;
  font-weight: 600;
}
.vp-nav-item .badge {
  margin-left: auto;
  min-width: 20px;
  height: 18px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--sb-mint);
  color: var(--sb-cream);
  font-family: var(--sb-mono);
  font-size: 10px;
  font-weight: 700;
}
.vp-nav-item.is-active .badge {
  background: rgba(255, 253, 247, 0.18);
  color: var(--sb-cream);
}
.vp-sidebar-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(46, 46, 53, 0.06); }

/* ============================================================
   2. Main content area
   ============================================================ */
.vp-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.vp-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  border-bottom: 1px solid rgba(46, 46, 53, 0.08);
  background: rgba(253, 252, 248, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 10;
}
.vp-topbar-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.vp-topbar-title h1 {
  font-family: var(--sb-heading);
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--sb-fg);
}
.vp-topbar-title span {
  font-family: var(--sb-mono);
  font-size: 11px;
  color: var(--sb-fg-3);
}

.vp-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.vp-btn {
  font-family: var(--sb-body);
  font-size: 12px;
  font-weight: 700;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(46, 46, 53, 0.10);
  background: #FFFFFF;
  color: var(--sb-fg);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 1px 2px rgba(46, 46, 53, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: all 160ms var(--sb-ease-out);
}
.vp-btn:hover { background: #FAF7EE; transform: translateY(-1px); box-shadow: 0 4px 10px rgba(46, 46, 53, 0.06); }
.vp-btn-primary {
  background: var(--sb-mint);
  color: var(--sb-cream);
  border-color: var(--sb-mint);
  box-shadow: 0 4px 10px rgba(0, 168, 120, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.vp-btn-primary:hover { background: #009965; }
.vp-btn-icon {
  width: 34px;
  padding: 0;
  justify-content: center;
}

/* ---- Search input ---- */
.vp-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  height: 34px;
  width: 280px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid rgba(46, 46, 53, 0.10);
  color: var(--sb-fg-3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.vp-search input {
  font: inherit;
  font-size: 12px;
  border: 0;
  background: transparent;
  outline: none;
  flex: 1;
  color: var(--sb-fg);
}
.vp-search input::placeholder { color: var(--sb-fg-4); }

/* ---- Page body ---- */
.vp-body {
  padding: 24px 28px 60px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
}

/* ============================================================
   3. KPI tiles
   ============================================================ */
.vp-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.vp-kpi {
  background: #FFFFFF;
  border: 1px solid rgba(46, 46, 53, 0.08);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 1px 2px rgba(46, 46, 53, 0.04);
  position: relative;
  overflow: hidden;
}
.vp-kpi-label {
  font-family: var(--sb-body);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sb-fg-3);
}
.vp-kpi-value {
  font-family: var(--sb-heading);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--sb-fg);
  line-height: 1;
  font-feature-settings: "tnum";
}
.vp-kpi-delta {
  font-family: var(--sb-mono);
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.vp-kpi-delta.up { color: #009965; }
.vp-kpi-delta.down { color: #D64545; }
.vp-kpi-sparkline {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 110px;
  height: 38px;
  opacity: 0.85;
}

/* ============================================================
   4. Data table — orders / products / customers
   ============================================================ */
.vp-table-card {
  background: #FFFFFF;
  border: 1px solid rgba(46, 46, 53, 0.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(46, 46, 53, 0.04);
}
.vp-table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(46, 46, 53, 0.08);
}
.vp-table-head h2 {
  font-family: var(--sb-heading);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0;
  font-weight: 600;
}
.vp-table-tabs {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: #FAF7EE;
}
.vp-table-tabs button {
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--sb-fg-3);
  cursor: pointer;
}
.vp-table-tabs button.is-active {
  background: #FFFFFF;
  color: var(--sb-fg);
  box-shadow: 0 1px 2px rgba(46, 46, 53, 0.08);
}

.vp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.vp-table th {
  text-align: left;
  font-family: var(--sb-body);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sb-fg-3);
  padding: 12px 18px;
  background: #FAF7EE;
  border-bottom: 1px solid rgba(46, 46, 53, 0.08);
  font-feature-settings: "tnum";
}
.vp-table td {
  padding: 12px 18px;
  border-bottom: 1px solid rgba(46, 46, 53, 0.06);
  vertical-align: middle;
  font-feature-settings: "tnum";
}
.vp-table tr { transition: background 120ms var(--sb-ease-out); cursor: pointer; }
.vp-table tbody tr:hover { background: #FAF7EE; }
.vp-table tr.is-selected { background: rgba(123, 184, 212, 0.10); }
.vp-table tr:last-child td { border-bottom: 0; }
.vp-table .id { font-family: var(--sb-mono); color: var(--sb-fg-3); }
.vp-table .name { font-weight: 700; color: var(--sb-fg); }
.vp-table .meta { font-family: var(--sb-mono); font-size: 11px; color: var(--sb-fg-3); }
.vp-table .amount { font-family: var(--sb-mono); font-weight: 700; color: var(--sb-fg); text-align: right; }
.vp-table .time { font-family: var(--sb-mono); font-size: 11px; color: var(--sb-fg-3); }

/* ============================================================
   5. Status pills (order states)
   ============================================================ */
.vp-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  font-family: var(--sb-body);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.vp-status .dot { width: 5px; height: 5px; border-radius: 999px; background: currentColor; }
.vp-status.new        { color: #5B7CFA; background: rgba(91, 124, 250, 0.10); }
.vp-status.confirmed  { color: #C4A0C8; background: rgba(196, 160, 200, 0.18); }
.vp-status.preparing  { color: #FF6B35; background: rgba(255, 107, 53, 0.10); }
.vp-status.dispatched { color: #7BB8D4; background: rgba(123, 184, 212, 0.16); }
.vp-status.delivered  { color: #009965; background: rgba(0, 168, 120, 0.10); }

.vp-settings-stack { display: grid; gap: 18px; }
.vp-template-settings > header { align-items: flex-start; }
.vp-template-settings > header div { display: grid; gap: 4px; }
.vp-template-settings > header small { color: #64748b; font-size: 12px; }
.vp-template-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.vp-template-option { position: relative; display: grid; grid-template-columns: 20px 1fr; gap: 10px; min-height: 190px; padding: 18px; border: 1px solid #dfe3ed; border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.vp-template-option:hover { border-color: #9a86dc; transform: translateY(-1px); }
.vp-template-option.selected { border-color: #7457c8; box-shadow: 0 0 0 3px rgba(116, 87, 200, .11); }
.vp-template-option.unavailable { background: #f8fafc; cursor: not-allowed; opacity: .7; }
.vp-template-option input { position: absolute; opacity: 0; pointer-events: none; }
.vp-template-radio { width: 18px; height: 18px; border: 1.5px solid #a7afc0; border-radius: 50%; margin-top: 2px; }
.vp-template-option.selected .vp-template-radio { border: 5px solid #7457c8; }
.vp-template-option > div { display: grid; align-content: start; gap: 7px; }
.vp-template-option strong { color: #172033; font-size: 15px; }
.vp-template-option p { margin: 0; color: #667085; font-size: 12px; line-height: 1.45; }
.vp-template-option ul { display: flex; flex-wrap: wrap; gap: 5px; margin: 4px 0 0; padding: 0; list-style: none; }
.vp-template-option li { padding: 5px 7px; border-radius: 7px; background: #f2effb; color: #5d47a5; font-size: 10px; font-weight: 700; }
.vp-template-option > small { grid-column: 2; align-self: end; color: #7457c8; font-size: 11px; font-weight: 700; text-transform: capitalize; }
.vp-template-option.unavailable > small { color: #7c879b; }
.vp-template-preview { display:grid; grid-template-columns:minmax(0,1fr) minmax(260px,.7fr); gap:18px; align-items:center; margin-top:16px; padding:16px 18px; border:1px solid #dfe3ed; border-radius:14px; background:#f8f7fc; }
.vp-template-preview>header { display:grid; gap:4px; align-content:start; }
.vp-template-preview>header strong { color:#172033; font-size:14px; }
.vp-template-preview>header span,.vp-template-preview>header small { color:#667085; font-size:11px; line-height:1.45; }
.vp-template-preview>header small { color:#7457c8; font-weight:800; }
.vp-template-phone { justify-self:end; width:min(100%,330px); overflow:hidden; border:1px solid #d9d5ea; border-radius:12px; background:#f1eff8; box-shadow:0 10px 22px rgba(24,23,44,.08); }
.vp-template-chat-head { display:flex; align-items:center; gap:7px; padding:9px 11px; background:#1b1930; color:#fff; font-size:10px; font-weight:800; }
.vp-template-chat-head i,.vp-template-delivered>i { display:block; width:8px; height:8px; border-radius:50%; background:#00c997; box-shadow:0 0 0 3px rgba(0,201,151,.16); }
.vp-template-chat-head small { margin-left:auto; color:#c7c3e8; font-size:9px; font-weight:700; }
.vp-template-phone article { display:grid; gap:5px; margin:10px; padding:10px; border-radius:9px; background:#fff; box-shadow:0 1px 2px rgba(24,23,44,.06); }
.vp-template-phone article>span { color:#7457c8; font-size:8px; font-weight:900; letter-spacing:.08em; }
.vp-template-phone article strong { color:#172033; font-size:12px; }
.vp-template-phone article p { margin:0; color:#667085; font-size:10px; line-height:1.55; }
.vp-template-phone article small { color:#8b93a7; font-size:9px; }
.vp-template-actions { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:5px; padding:0 10px 10px; }
.vp-template-actions span { display:grid; min-height:30px; place-items:center; padding:4px; border:1px solid #c9c4e4; border-radius:7px; background:#fff; color:#5d47a5; font-size:8px; font-weight:800; line-height:1.15; text-align:center; }
.vp-template-actions span.is-delivered { border-color:#9bdcc9; color:#00875f; }
.vp-template-actions span.is-cancel { border-color:#efbec8; color:#c8384a; }
.vp-template-delivered { display:flex; grid-column:1; align-items:flex-start; gap:10px; padding:10px 11px; border-radius:9px; background:#e2f8f0; }
.vp-template-delivered>i { flex:0 0 auto; margin-top:5px; }
.vp-template-delivered>div { display:grid; gap:2px; }
.vp-template-delivered strong { color:#00875f; font-size:11px; }
.vp-template-delivered span,.vp-template-preview-note { margin:0; color:#326c5b; font-size:10px; line-height:1.45; }
.vp-template-preview-note { grid-column:1; padding:10px 11px; border-radius:9px; background:#fff4de; color:#926c18; }
.vp-template-note { margin: 13px 0 0; color: #7c879b; font-size: 12px; }
@media (max-width: 860px) { .vp-template-options { grid-template-columns: 1fr; } .vp-template-option { min-height: 0; } .vp-template-preview { grid-template-columns:1fr; } .vp-template-phone { justify-self:stretch; width:100%; } .vp-template-delivered,.vp-template-preview-note { grid-column:auto; } }
.vp-status.cancelled  { color: #D64545; background: rgba(214, 69, 69, 0.10); }

/* ============================================================
   6. Order detail right rail
   ============================================================ */
.vp-orders-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 16px;
  align-items: start;
}
.vp-detail {
  background: #FFFFFF;
  border: 1px solid rgba(46, 46, 53, 0.08);
  border-radius: 14px;
  padding: 0;
  position: sticky;
  top: 80px;
  box-shadow: 0 1px 2px rgba(46, 46, 53, 0.04);
  overflow: hidden;
}
.vp-detail-head {
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(46, 46, 53, 0.08);
}
.vp-detail-head .who {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.vp-detail-head .who strong {
  font-family: var(--sb-heading);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.vp-detail-head .who span {
  font-family: var(--sb-mono);
  font-size: 11px;
  color: var(--sb-fg-3);
}
.vp-detail-section {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(46, 46, 53, 0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vp-detail-section .lab {
  font-family: var(--sb-body);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sb-fg-3);
}
.vp-detail-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
}
.vp-detail-line .item { color: var(--sb-fg); font-weight: 500; }
.vp-detail-line .qty {
  font-family: var(--sb-mono);
  color: var(--sb-fg-3);
  font-size: 11px;
}
.vp-detail-line .price { font-family: var(--sb-mono); font-weight: 700; }
.vp-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--sb-fg-2);
}
.vp-detail-row.total {
  border-top: 1px solid rgba(46, 46, 53, 0.08);
  padding-top: 10px;
  margin-top: 4px;
  font-family: var(--sb-heading);
  font-size: 16px;
  color: var(--sb-fg);
  text-transform: uppercase;
}

.vp-detail-actions {
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.vp-detail-actions button { width: 100%; justify-content: center; }
.vp-detail-actions .vp-btn-primary { grid-column: 1 / -1; height: 40px; }

/* ============================================================
   7. Timeline (order events)
   ============================================================ */
.vp-timeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vp-timeline-step {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  position: relative;
}
.vp-timeline-step::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 18px;
  bottom: -10px;
  width: 1px;
  background: rgba(46, 46, 53, 0.10);
}
.vp-timeline-step:last-child::before { display: none; }
.vp-timeline-step .marker {
  width: 14px; height: 14px;
  border-radius: 999px;
  border: 2px solid rgba(46, 46, 53, 0.16);
  background: #FFFFFF;
  flex-shrink: 0;
  margin-top: 2px;
}
.vp-timeline-step.is-done .marker { border-color: var(--sb-mint); background: var(--sb-mint); }
.vp-timeline-step.is-active .marker { border-color: var(--sb-mint); background: var(--sb-mint); box-shadow: 0 0 0 4px rgba(0, 168, 120, 0.15); }
.vp-timeline-step .info { display: flex; flex-direction: column; gap: 1px; flex: 1; }
.vp-timeline-step .info strong { font-size: 12px; font-weight: 700; color: var(--sb-fg); }
.vp-timeline-step .info span { font-family: var(--sb-mono); font-size: 10px; color: var(--sb-fg-3); }
.vp-timeline-step.is-pending .info strong { color: var(--sb-fg-3); }

/* ============================================================
   8. Analytics — chart card
   ============================================================ */
.vp-chart-card {
  background: #FFFFFF;
  border: 1px solid rgba(46, 46, 53, 0.08);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 1px 2px rgba(46, 46, 53, 0.04);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.vp-chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.vp-chart-head h3 {
  font-family: var(--sb-heading);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0;
  font-weight: 600;
}
.vp-chart-head .legend {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: var(--sb-fg-3);
}
.vp-chart-head .legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.vp-chart-head .legend i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--sb-fg);
}

.vp-channels {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vp-channel-row {
  display: grid;
  grid-template-columns: 140px 1fr 80px;
  align-items: center;
  gap: 12px;
}
.vp-channel-row .name { font-size: 12px; font-weight: 700; color: var(--sb-fg); }
.vp-channel-row .bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(46, 46, 53, 0.06);
  overflow: hidden;
  position: relative;
}
.vp-channel-row .bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
}
.vp-channel-row .value {
  font-family: var(--sb-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--sb-fg);
  text-align: right;
}

/* ============================================================
   9. Product list (small grid)
   ============================================================ */
.vp-product-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.vp-product-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid rgba(46, 46, 53, 0.08);
}
.vp-product-row .thumb {
  width: 40px; height: 40px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  background-color: var(--sb-stone);
  flex-shrink: 0;
}
.vp-product-row .info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.vp-product-row .info strong { font-size: 12px; font-weight: 700; color: var(--sb-fg); }
.vp-product-row .info span { font-family: var(--sb-mono); font-size: 10px; color: var(--sb-fg-3); }
.vp-product-row .rev { font-family: var(--sb-mono); font-weight: 700; font-size: 12px; color: var(--sb-fg); }

/* ============================================================
   10. Empty + section title
   ============================================================ */
.vp-section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}
.vp-section-title h3 {
  font-family: var(--sb-heading);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0;
  margin: 0;
  font-weight: 600;
  color: var(--sb-fg);
}
.vp-section-title a {
  font-family: var(--sb-body);
  font-size: 11px;
  font-weight: 700;
  color: var(--sb-mint);
  text-decoration: none;
}

/* ============================================================
   11. Responsive (collapse sidebar on small screens)
   ============================================================ */
@media (max-width: 960px) {
  .vp-app { grid-template-columns: 64px 1fr; }
  .vp-sidebar { padding: 14px 8px; }
  .vp-sidebar-brand { justify-content: center; padding-inline: 0; }
  .vp-sidebar-brand strong, .vp-sidebar-brand .platform-tag, .vp-vendor-pill .info,
  .vp-selector-label, .vp-nav-section, .vp-nav-item span:not(.badge) { display: none; }
  .vp-vendor-selector-container { padding: 0; margin-bottom: 8px; }
  .vp-vendor-pill { justify-content: center; padding: 6px; }
  .vp-nav-item { justify-content: center; padding: 11px 0; }
  .vp-kpi-row { grid-template-columns: repeat(2, 1fr); }
  .vp-orders-layout { grid-template-columns: 1fr; }
  .vp-detail { position: static; }
  .vp-product-list { grid-template-columns: 1fr; }
  .vp-topbar {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 16px 20px;
  }
  .vp-topbar-title { flex: 1 1 240px; min-width: 0; }
  .vp-topbar-title span { max-width: 58ch; line-height: 1.4; }
  .vp-topbar-actions { flex: 1 1 100%; min-width: 0; }
  .vp-search { flex: 1 1 220px; width: auto; }
  .vp-table th:nth-child(3), .vp-table td:nth-child(3),
  .vp-table th:nth-child(8), .vp-table td:nth-child(8),
  .vp-table th:nth-child(9), .vp-table td:nth-child(9) { display: none; }
}

@media (max-width: 720px) {
  .vp-app { display: flex; flex-direction: column; height: 100vh; overflow: hidden; }
  .vp-main { flex: 1; overflow-y: auto; overflow-x: hidden; }
  .vp-sidebar { 
    flex-direction: row; 
    align-items: stretch;
    gap: 0;
    height: 68px;
    padding: 0;
    border-right: none; 
    border-top: 1px solid var(--sb-border); 
    order: 2;
    width: 100%;
    position: sticky;
    bottom: 0;
    background: #fff;
    z-index: 100;
  }
  .vp-sidebar-brand { display: none; }
  .vp-vendor-selector-container { display: none; /* Hide on mobile to save space */ }
  .vp-nav {
    flex: 1;
    min-width: 0;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .vp-nav::-webkit-scrollbar { display: none; }
  .vp-nav-section { display: none; }
  .vp-sidebar-foot {
    display: flex;
    flex: 0 0 58px;
    margin: 0;
    padding: 0;
    border-top: 0;
    border-left: 1px solid var(--sb-border);
  }
  .vp-nav-item {
    flex: 0 0 62px;
    min-width: 62px;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 7px 4px;
    border-radius: 0;
    text-align: center;
  }
  .vp-nav-item span:not(.badge) {
    display: block;
    max-width: 58px;
    overflow: hidden;
    color: currentColor;
    font-size: 8px;
    font-weight: 800;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .vp-nav-item .badge {
    position: absolute;
    top: 5px;
    right: 7px;
    min-width: 16px;
    height: 16px;
    padding: 0 3px;
    font-size: 8px;
  }
  .vp-nav-item svg { width: 19px; height: 19px; margin: 0; }
  .vp-topbar {
    position: static;
    padding: 12px 14px;
    flex-wrap: wrap;
    gap: 9px;
  }
  .vp-topbar-title { flex-basis: 100%; }
  .vp-topbar-title h1 { font-size: 18px; }
  .vp-topbar-title span { font-size: 9px; }
  .vp-topbar-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) repeat(3, auto);
    width: 100%;
  }
  .vp-search { width: 100%; order: 3; }
  .vp-topbar-actions .vp-search { grid-column: 1 / -1; grid-row: 2; }
  .vp-topbar-actions .vp-btn { min-width: 34px; padding-inline: 10px; }
  .vp-body { padding: 14px 14px 28px; }
  .vp-kpi-row { grid-template-columns: 1fr 1fr; }
  .vp-table-card { overflow-x: auto; width: 100%; -webkit-overflow-scrolling: touch; }
  .vp-table { white-space: nowrap; }
  .vp-table-head { align-items: flex-start; flex-direction: column; padding: 12px; }
  .vp-table-tabs { width: 100%; overflow-x: auto; }
  .vp-table-tabs button { flex: 0 0 auto; padding-inline: 10px; }
  .vp-table th, .vp-table td { padding: 10px 12px; }
  .vp-table th:nth-child(4), .vp-table td:nth-child(4) { display: none; }
  .vp-detail { border-radius: 8px; }
  .vp-detail-actions { grid-template-columns: 1fr; }
  .vp-detail-actions .vp-btn-primary { grid-column: 1; }
}

/* ============================================================
   Spacebar Vendor Dashboard Extensions & Dark Cyberpunk Mode
   ============================================================ */

.vp-vendor-selector-container {
  padding: 0 16px;
  margin-bottom: 20px;
}

.vp-selector-label {
  display: block;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sb-muted-warm);
  margin-bottom: 6px;
}

.vp-vendor-pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--sb-surface-2);
  border: 1px solid var(--sb-border);
  border-radius: var(--sb-r-md);
}

.vp-vendor-select-dropdown {
  background: transparent;
  border: 0;
  color: var(--sb-fg);
  font-family: var(--sb-heading);
  font-weight: 700;
  font-size: 14px;
  width: 100%;
  cursor: pointer;
  outline: none;
}

.vp-vendor-select-dropdown option {
  background: var(--sb-paper);
  color: var(--sb-fg);
  font-family: var(--sb-body);
}

.vp-product-edit-card {
  transition: all 200ms ease;
}

.vp-product-edit-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sb-shadow-2);
}

/* Modal styles for catalog editor */
.vp-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 13, 18, 0.4);
  backdrop-filter: blur(8px);
  z-index: 2000;
  animation: fadeIn 250ms ease;
}

.vp-product-form-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 440px;
  max-width: 95vw;
  background: var(--sb-surface);
  border: 1px solid var(--sb-border);
  border-radius: var(--sb-r-lg);
  backdrop-filter: blur(28px) saturate(1.4);
  box-shadow: var(--sb-shadow-4), var(--sb-shadow-inset-hi);
  z-index: 2001;
  animation: zoomIn 300ms var(--sb-ease-glide);
}

.vp-product-form-modal .modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--sb-border);
}

.vp-product-form-modal .modal-head h2 {
  font-family: var(--sb-heading);
  font-size: 16px;
  text-transform: uppercase;
  color: var(--sb-fg);
  margin: 0;
}

.vp-product-form-modal .modal-head .close-btn {
  background: var(--sb-surface-2);
  border: 1px solid var(--sb-border);
  border-radius: 999px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.vp-product-form-modal .modal-body {
  padding: 24px;
}

.vp-form-group label {
  font-size: 11px;
  font-weight: 700;
  color: var(--sb-fg-2);
}

.vp-product-form-modal input, .vp-product-form-modal select {
  width: 100%;
  height: 38px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid var(--sb-border);
  background: var(--sb-surface-2);
  color: var(--sb-fg);
  font-size: 13px;
  outline: none;
}

/* WhatsApp broadcast pulse */
.vp-broadcast-pulse {
  position: relative;
}

.vp-broadcast-pulse::after {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 999px;
  border: 2px solid var(--sb-mint);
  opacity: 0.8;
  animation: pulseBroadcast 1.6s infinite ease-out;
}

@keyframes pulseBroadcast {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.3); opacity: 0; }
}

.vp-app.dark-mode {
  --sb-bg: #1A1A1E;
  --sb-paper: #121215;
  --sb-cream: #1A1A1E;
  --sb-surface: rgba(26, 26, 30, 0.75);
  --sb-surface-2: rgba(36, 36, 42, 0.85);
  --sb-surface-deep: rgba(0, 0, 0, 0.2);
  --sb-border: rgba(255, 255, 255, 0.08);
  --sb-border-2: rgba(255, 255, 255, 0.14);
  --sb-border-glass: rgba(255, 255, 255, 0.04);
  --sb-fg: #FFF8ED;
  --sb-fg-2: rgba(255, 248, 237, 0.78);
  --sb-fg-3: rgba(255, 248, 237, 0.45);
  --sb-fg-4: rgba(255, 248, 237, 0.22);
  background: var(--sb-paper);
}

.vp-app.dark-mode .vp-sidebar {
  border-right-color: var(--sb-border);
}

.vp-app.dark-mode .vp-topbar {
  border-bottom-color: var(--sb-border);
}

.vp-app.dark-mode .vp-table tr:hover {
  background: rgba(255, 255, 255, 0.02) !important;
}

.vp-app.dark-mode .vp-table tr.is-selected {
  background: rgba(0, 168, 120, 0.12) !important;
}

.vp-app.dark-mode .vp-detail {
  border-left-color: var(--sb-border);
}

.vp-app.dark-mode .vp-vendor-select-dropdown option {
  background: #1A1A1E;
  color: #FFF8ED;
}

/* ============================================================
   Aesthetic pass — dashboard motion + micro-interactions
   ============================================================ */

/* Keyframes previously borrowed from storefront.css — now local */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes zoomIn {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.96); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes vpRiseIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* — Page content cascades in — */
.vp-kpi,
.vp-table-card,
.vp-chart-card,
.vp-detail {
  animation: vpRiseIn 460ms var(--sb-ease-glide) both;
}

.vp-kpi-row .vp-kpi:nth-child(1) { animation-delay: 40ms; }
.vp-kpi-row .vp-kpi:nth-child(2) { animation-delay: 100ms; }
.vp-kpi-row .vp-kpi:nth-child(3) { animation-delay: 160ms; }
.vp-kpi-row .vp-kpi:nth-child(4) { animation-delay: 220ms; }
.vp-table-card { animation-delay: 180ms; }
.vp-chart-card { animation-delay: 240ms; }

/* — KPI tiles: iridescent accent bar + hover lift — */
.vp-kpi::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--sb-mint), var(--sb-sky));
  opacity: 0;
  transition: opacity 220ms ease;
}

.vp-kpi {
  transition: transform 260ms var(--sb-ease-glide), box-shadow 260ms ease, border-color 260ms ease;
}

.vp-kpi:hover {
  transform: translateY(-3px);
  box-shadow: var(--sb-shadow-2);
  border-color: rgba(0, 168, 120, 0.22);
}

.vp-kpi:hover::before {
  opacity: 1;
}

/* — Sidebar: mint rail marks the active page, items glide — */
.vp-nav-item {
  transition: background 140ms var(--sb-ease-out), color 140ms var(--sb-ease-out),
              transform 200ms var(--sb-ease-glide);
}

.vp-nav-item:hover {
  transform: translateX(2px);
}

.vp-nav-item.is-active {
  transform: none;
}

.vp-nav-item.is-active::before {
  content: '';
  position: absolute;
  left: -14px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--sb-mint);
}

/* — Primary button: light sweep on hover — */
.vp-btn-primary {
  position: relative;
  overflow: hidden;
}

.vp-btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 600ms ease;
  pointer-events: none;
}

.vp-btn-primary:hover::after {
  transform: translateX(130%);
}

/* — New orders pulse for attention — */
.vp-status.new .dot {
  animation: vpNewPulse 1.6s ease-in-out infinite;
}

@keyframes vpNewPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(91, 124, 250, 0.4); }
  50%      { box-shadow: 0 0 0 4px rgba(91, 124, 250, 0.12); }
}

/* — Table rows glide on hover — */
.vp-table tbody tr {
  transition: background 160ms var(--sb-ease-out);
}

/* — Sparkline breathes slightly on tile hover — */
.vp-kpi:hover .vp-kpi-sparkline {
  opacity: 1;
}

/* — Bottom-bar layout (mobile): no rail, no slide — */
@media (max-width: 720px) {
  .vp-nav-item.is-active::before {
    display: none;
  }

  .vp-nav-item:hover {
    transform: none;
  }
}

/* — Respect reduced motion — */
@media (prefers-reduced-motion: reduce) {
  .vp-kpi,
  .vp-table-card,
  .vp-chart-card,
  .vp-detail,
  .vp-status.new .dot {
    animation: none;
  }
}

/* Production merchant workspace */
.vp-production .vp-topbar-title span { display: block; }
.vp-notice, .vp-loading {
  display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 8px 12px;
  margin-bottom: 14px; border: 1px solid var(--sb-border); border-radius: 6px;
  background: var(--sb-surface); color: var(--sb-fg-2); font-size: 11px;
}
.vp-notice.success { border-color: rgba(0,168,120,.24); background: rgba(0,168,120,.06); color: #087252; }
.vp-notice.error { border-color: rgba(214,69,69,.24); background: rgba(214,69,69,.06); color: #a23737; }
.vp-loading { color: var(--sb-fg-3); }
.vp-kpi-detail { display: block; margin-top: 5px; color: var(--sb-fg-3); font-size: 9px; }
.vp-production-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vp-data-panel {
  border: 1px solid var(--sb-border); border-radius: 8px; background: var(--sb-surface);
  box-shadow: var(--sb-shadow-1); overflow: hidden;
}
.vp-data-panel > header {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 15px 17px; border-bottom: 1px solid var(--sb-border);
}
.vp-data-panel > header h2 { margin: 0; color: var(--sb-fg); font: 600 15px/1.2 var(--sb-heading); }
.vp-data-panel > header span { color: var(--sb-fg-3); font-size: 9px; }
.vp-span-two { grid-column: 1 / -1; }
.vp-health-list { padding: 5px 17px; }
.vp-health-list > div {
  display: flex; align-items: center; justify-content: space-between; min-height: 42px;
  border-bottom: 1px solid var(--sb-border); font-size: 11px;
}
.vp-health-list > div:last-child { border-bottom: 0; }
.vp-health-list strong { font-family: var(--sb-mono); font-size: 12px; }
.vp-readiness-list { padding: 10px 17px; }
.vp-readiness-list > div {
  display: grid; grid-template-columns: 10px 1fr auto; gap: 9px; align-items: center;
  min-height: 44px; border-bottom: 1px solid var(--sb-border);
}
.vp-readiness-list > div:last-child { border-bottom: 0; }
.vp-readiness-list > div > span { width: 8px; height: 8px; border-radius: 50%; background: #c98a20; }
.vp-readiness-list > div > span.ready { background: var(--sb-mint); }
.vp-readiness-list strong { font-size: 11px; }
.vp-readiness-list small { color: var(--sb-fg-3); font-size: 9px; text-transform: capitalize; }
.vp-empty-state {
  display: flex !important; min-height: 180px !important; flex-direction: column;
  justify-content: center !important; gap: 7px; text-align: center; color: var(--sb-fg-3); border: 0 !important;
}
.vp-empty-state strong { color: var(--sb-fg); font-family: var(--sb-heading); }
.vp-empty-state p { max-width: 320px; margin: 0 auto; font-size: 10px; line-height: 1.5; }
.vp-live-products {
  display: grid; grid-template-columns: repeat(auto-fill,minmax(320px,1fr));
  gap: 10px; padding: 14px;
}
.vp-live-products article {
  display: grid; grid-template-columns: 58px 1fr auto; gap: 9px 12px; align-items: center;
  padding: 10px; border: 1px solid var(--sb-border); border-radius: 7px; background: var(--sb-surface-2);
}
.vp-live-products article.sold-out { opacity: .65; }
.vp-product-thumb {
  position: relative;
  grid-row: 1 / 3; width: 58px; height: 58px; display: grid; place-items: center;
  border-radius: 6px; background: var(--sb-surface-deep); background-size: cover;
  background-position: center; color: var(--sb-fg-3); font-family: var(--sb-heading);
}
.vp-stock-badge {
  position: absolute; inset: auto -4px -4px auto; padding: 2px 5px; border-radius: 5px;
  background: #b0293a; color: #fff; font-size: 7px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .02em; white-space: nowrap; box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.vp-live-products article > div:nth-child(2) strong,
.vp-live-products article > div:nth-child(2) span,
.vp-live-products article > div:nth-child(2) small { display: block; }
.vp-live-products article > div:nth-child(2) strong { font-size: 12px; }
.vp-live-products article > div:nth-child(2) span { margin-top: 2px; color: var(--sb-fg-3); font-size: 9px; }
.vp-live-products article > div:nth-child(2) small { margin-top: 3px; color: var(--sb-sky); font-size: 8px; text-transform: uppercase; }
.vp-live-products article > b { font: 700 11px var(--sb-mono); color: var(--sb-mint); }
.vp-live-products article > button {
  min-height: 28px; padding: 0 9px; border: 1px solid var(--sb-border); border-radius: 5px;
  background: var(--sb-surface); color: var(--sb-fg-2); font-size: 9px; font-weight: 800; cursor: pointer;
}
.vp-live-products article > button:nth-of-type(1) { grid-column: 2; }
.vp-live-products article > button:nth-of-type(2) { grid-column: 3; }
.vp-table-scroll { overflow-x: auto; }
.vp-real-table { width: 100%; border-collapse: collapse; }
.vp-real-table th { padding: 10px 14px; background: var(--sb-surface-deep); color: var(--sb-fg-3); font-size: 8px; text-transform: uppercase; text-align: left; }
.vp-real-table td { padding: 12px 14px; border-top: 1px solid var(--sb-border); color: var(--sb-fg-2); font-size: 10px; }
.vp-real-table td strong, .vp-real-table td small { display: block; }
.vp-real-table td strong { color: var(--sb-fg); }
.vp-real-table td small { margin-top: 2px; color: var(--sb-fg-3); font-size: 8px; text-transform: capitalize; }
.vp-big-stats, .vp-fee-model { display: grid; grid-template-columns: repeat(2,1fr); padding: 14px; gap: 10px; }
.vp-big-stats > div, .vp-fee-model > div { padding: 16px; border: 1px solid var(--sb-border); border-radius: 6px; }
.vp-big-stats strong, .vp-big-stats span, .vp-fee-model strong, .vp-fee-model span { display: block; }
.vp-big-stats strong, .vp-fee-model strong { font: 600 22px var(--sb-heading); }
.vp-big-stats span, .vp-fee-model span { margin-top: 3px; color: var(--sb-fg-3); font-size: 9px; }
.vp-fee-model { grid-template-columns: repeat(3,1fr); }
.vp-top-offerings { padding: 6px 17px; }
.vp-top-offerings > div {
  display: grid; grid-template-columns: 1fr 120px 120px; gap: 12px; min-height: 42px;
  align-items: center; border-bottom: 1px solid var(--sb-border); font-size: 10px;
}
.vp-top-offerings > div:last-child { border-bottom: 0; }
.vp-top-offerings span { color: var(--sb-fg-3); }
.vp-top-offerings b { text-align: right; font-family: var(--sb-mono); }
.vp-unbilled { color: var(--sb-mint); font: 700 11px var(--sb-mono); }
.vp-profile-form { padding-bottom: 16px; }
.vp-profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px; }
.vp-profile-grid label, .vp-product-form-modal.production label { color: var(--sb-muted-warm); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.vp-profile-grid input, .vp-profile-grid select, .vp-profile-grid textarea,
.vp-product-form-modal.production input, .vp-product-form-modal.production textarea {
  width: 100%; min-height: 36px; margin-top: 4px; padding: 8px 10px;
  border: 1px solid var(--sb-border); border-radius: 5px; background: var(--sb-surface-2);
  color: var(--sb-fg); font: 11px var(--sb-body);
}
.vp-profile-grid textarea, .vp-product-form-modal.production textarea { min-height: 74px; resize: vertical; }
.vp-profile-grid .vp-toggle { display: flex; align-items: center; gap: 8px; }
.vp-profile-grid .vp-toggle input { width: auto; min-height: auto; margin: 0; }
.vp-profile-form > .vp-btn { margin-left: 16px; }
.vp-modal-shell { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 16px; }
.vp-modal-shell .vp-modal-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(15,16,14,.48); }
.vp-product-form-modal.production {
  position: relative; inset: auto; transform: none; width: min(500px,100%);
  max-height: calc(100vh - 32px); overflow-y: auto; display: flex; flex-direction: column;
  gap: 12px; padding: 18px; border-radius: 8px;
}
.vp-product-form-modal.production > header { display: flex; justify-content: space-between; gap: 12px; }
.vp-product-form-modal.production h2 { margin: 0; font: 600 17px var(--sb-heading); }
.vp-product-form-modal.production p { margin: 3px 0 0; color: var(--sb-fg-3); font-size: 9px; }
.vp-product-form-modal.production > header button { border: 0; background: transparent; color: var(--sb-fg-3); font-size: 10px; cursor: pointer; }
.vp-form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

@media (max-width: 900px) {
  .vp-production-grid { grid-template-columns: 1fr; }
  .vp-span-two { grid-column: 1; }
}
@media (max-width: 720px) {
  .vp-live-products { grid-template-columns: 1fr; padding: 10px; }
  .vp-profile-grid { grid-template-columns: 1fr; }
  .vp-profile-grid .vp-span-two { grid-column: 1; }
  .vp-fee-model { grid-template-columns: 1fr; }
  .vp-top-offerings > div { grid-template-columns: 1fr auto; }
  .vp-top-offerings span { grid-row: 2; }
  .vp-top-offerings b { grid-row: 1 / 3; grid-column: 2; }
  /* bigger tap targets for the two per-product action buttons on a phone */
  .vp-live-products article > button { min-height: 44px; font-size: 10px; }
  .mw-ticket-controls button { min-height: 44px; }
}
.vp-statement-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 0;
}

.vp-statement-strip > div {
  min-width: 150px;
  padding: 10px;
  border: 1px solid var(--vp-border);
  border-radius: 6px;
  background: var(--vp-surface);
}

.vp-statement-strip span,
.vp-statement-strip strong,
.vp-statement-strip small {
  display: block;
}

/* Keep late extension rules from reopening the collapsed navigation rail. */
@media (min-width: 721px) and (max-width: 960px) {
  .vp-sidebar .vp-selector-label,
  .vp-sidebar .vp-vendor-pill .info {
    display: none;
  }

  .vp-sidebar .vp-vendor-selector-container {
    padding: 0;
    margin-bottom: 8px;
  }
}

/* Mobile merchant operations: full Spacebar palette and touch-first hierarchy. */
.vp-mobile-masthead { display: none; }

@media (max-width: 720px) {
  .vp-app { --mobile-navy: #213448; --mobile-blue: #547792; --mobile-lilac: #b49fcc; --mobile-yellow: #f9e8a2; background: #f4f6f8; }
  .vp-main { background: #f4f6f8; padding-bottom: 86px; }
  .vp-mobile-masthead { display: block; position: relative; min-height: 128px; padding: max(18px, env(safe-area-inset-top)) 18px 16px; overflow: hidden; color: #fff; background: var(--mobile-navy); }
  .vp-mobile-masthead::before, .vp-mobile-masthead::after { content: ''; position: absolute; border-radius: 999px; pointer-events: none; }
  .vp-mobile-masthead::before { width: 118px; height: 118px; right: -42px; top: -58px; background: var(--mobile-blue); }
  .vp-mobile-masthead::after { width: 86px; height: 86px; left: -34px; bottom: -54px; background: var(--mobile-lilac); }
  .vp-mobile-merchant, .vp-mobile-page-title { position: relative; z-index: 1; display: flex; align-items: center; }
  .vp-mobile-merchant { gap: 10px; }
  .vp-mobile-avatar { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 11px; background: #fff; color: var(--mobile-navy); font-size: 11px; font-weight: 850; letter-spacing: .04em; }
  .vp-mobile-store-copy { display: grid; min-width: 0; gap: 2px; }
  .vp-mobile-store-copy small { color: var(--mobile-lilac); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
  .vp-mobile-store-copy strong { max-width: 210px; overflow: hidden; color: #fff; font-size: 15px; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
  .vp-mobile-merchant button { margin-left: auto; padding: 7px 9px; border: 1px solid rgba(255,255,255,.45); border-radius: 8px; background: transparent; color: #fff; font: 750 10px/1 var(--sb-body); }
  .vp-mobile-page-title { justify-content: space-between; margin-top: 22px; }
  .vp-mobile-page-title > span { color: #fff; font-size: 22px; font-weight: 780; letter-spacing: -.045em; }
  .vp-mobile-page-title i { display: inline-flex; align-items: center; gap: 5px; color: #d9e5ed; font-size: 10px; font-style: normal; font-weight: 750; }
  .vp-mobile-page-title i b { width: 7px; height: 7px; border-radius: 50%; background: var(--mobile-yellow); box-shadow: 0 0 0 3px rgba(249,232,162,.17); }
  .vp-topbar { min-height: 0; padding: 12px 14px 2px; gap: 8px; background: #f4f6f8; }
  .vp-topbar-title { display: none; }
  .vp-search { height: 44px; border: 2px solid var(--mobile-blue); border-radius: 12px; background: #fff; }
  .vp-body { padding: 14px 14px 26px; background: #f4f6f8; }
  .vp-sidebar { height: calc(70px + env(safe-area-inset-bottom)); padding: 7px 8px calc(7px + env(safe-area-inset-bottom)); background: #fff; border-top: 2px solid var(--mobile-navy); box-shadow: 0 -6px 20px rgba(33,52,72,.14); }
  .vp-nav { justify-content: space-evenly; gap: 0; }
  .vp-nav-item, .vp-nav-item:hover { width: 54px; min-width: 54px; height: 54px; min-height: 54px; border-radius: 12px; color: var(--mobile-blue); font-size: 9px; }
  .vp-nav-item[data-nav="analytics"], .vp-nav-item[data-nav="billing"] { display: none; }
  .vp-nav-item.is-active { background: var(--mobile-lilac); color: var(--mobile-navy); box-shadow: none; }
  .vp-nav-item .badge, .vp-nav-item.is-active .badge { top: 2px; right: 3px; min-width: 17px; height: 17px; background: var(--mobile-yellow); color: var(--mobile-navy); }
  .vp-kpi { border: 0; border-radius: 15px; box-shadow: none; }
  .vp-kpi:nth-child(1) { background: var(--mobile-navy); } .vp-kpi:nth-child(2) { background: var(--mobile-blue); }
  .vp-kpi:nth-child(3) { background: #fff; border: 2px solid var(--mobile-navy); } .vp-kpi:nth-child(4) { background: var(--mobile-lilac); }
  .vp-kpi:nth-child(1) *, .vp-kpi:nth-child(2) * { color: #fff; }
  .vp-kpi:nth-child(1) .vp-kpi-detail, .vp-kpi:nth-child(2) .vp-kpi-detail { color: var(--mobile-yellow); }
}

/* Compact fulfillment workspace. The order list is the primary operator surface. */
.vp-production .vp-orders-layout { display: block; }
.vp-order-workspace { display: grid; gap: 12px; min-width: 0; }
.vp-stage-board { display: grid; grid-template-columns: 176px minmax(0, 1fr); border: 1px solid #c8d5df; border-radius: 14px; overflow: hidden; background: #fff; }
.vp-queue-total { display: grid; align-content: center; gap: 3px; min-height: 104px; padding: 16px 20px; border: 0; border-right: 1px solid #c8d5df; background: #e5f0f6; color: #213448; text-align: left; cursor: pointer; font-family: var(--sb-body); }
.vp-queue-total span, .vp-stage-card span, .vp-order-list-head > div > span { color: #547792; font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.vp-queue-total strong { font: 760 38px/.95 var(--sb-heading); letter-spacing: -.06em; }
.vp-queue-total small { color: #547792; font-size: 11px; }
.vp-stage-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.vp-stage-card { display: grid; align-content: center; gap: 6px; min-width: 0; min-height: 104px; padding: 15px 18px; border: 0; border-left: 1px solid #e1e8ed; background: #fff; color: #213448; text-align: left; cursor: pointer; font-family: var(--sb-body); transition: background .16s ease, box-shadow .16s ease; }
.vp-stage-card:first-child { border-left: 0; }
.vp-stage-card:hover { background: #f6fafc; }
.vp-stage-card.is-active { background: #547792; color: #fff; box-shadow: inset 0 -4px #213448; }
.vp-stage-card.is-active span, .vp-stage-card.is-active small { color: #fff; }
.vp-stage-card strong { font: 750 29px/.92 var(--sb-heading); letter-spacing: -.05em; }
.vp-stage-card small { overflow: hidden; color: #71869a; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.vp-order-list-card { overflow: hidden; border: 1px solid #c8d5df; border-radius: 14px; background: #fff; }
.vp-order-list-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; padding: 15px 18px; border-bottom: 1px solid #dce5eb; }
.vp-order-list-head h2 { margin: 4px 0 0; color: #213448; font: 700 21px/1 var(--sb-heading); letter-spacing: -.04em; }
.vp-order-secondary { display: flex; align-items: center; gap: 5px; }
.vp-order-secondary button { padding: 7px 9px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #547792; cursor: pointer; font: 750 10px/1 var(--sb-body); }
.vp-order-secondary button:hover, .vp-order-secondary button.is-active { border-color: #b8ccd9; background: #eef5f8; color: #213448; }
.vp-order-secondary b { display: inline-grid; min-width: 16px; height: 16px; place-items: center; margin-left: 3px; border-radius: 99px; background: #dceaf1; color: #213448; font-size: 9px; }
.vp-order-column-head, .vp-order-row { display: grid; grid-template-columns: minmax(150px,1.25fr) minmax(125px,1fr) minmax(115px,.95fr) 108px 130px; gap: 12px; align-items: center; }
.vp-order-column-head { padding: 10px 18px; border-bottom: 1px solid #dce5eb; background: #f5f8fa; color: #71869a; font-size: 8px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.vp-order-row { width: 100%; min-height: 74px; padding: 12px 18px; border: 0; border-bottom: 1px solid #e1e8ed; background: #fff; color: #213448; cursor: pointer; font-family: var(--sb-body); text-align: left; }
.vp-order-row:last-child { border-bottom: 0; }
.vp-order-row:hover { background: #f6fafc; }
.vp-order-row.is-selected { background: #e8f2f7; box-shadow: inset 4px 0 #547792; }
.vp-order-customer, .vp-order-id, .vp-order-meta { display: grid; min-width: 0; gap: 3px; }
.vp-order-customer strong, .vp-order-id strong, .vp-order-meta strong { overflow: hidden; color: #213448; font-size: 12px; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.vp-order-customer small, .vp-order-id small, .vp-order-meta small { overflow: hidden; color: #71869a; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.vp-order-total { justify-self: end; color: #213448; font: 750 13px var(--sb-mono); }
.vp-order-status { display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.vp-order-status i { color: #547792; font-size: 22px; font-style: normal; line-height: 1; }
.vp-order-empty { display: grid; place-items: center; gap: 7px; min-height: 246px; padding: 28px; color: #71869a; text-align: center; }
.vp-order-empty strong { color: #213448; font-size: 14px; }.vp-order-empty span { max-width: 280px; font-size: 11px; line-height: 1.5; }
.vp-orders-layout.is-detail-open { display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,.56fr); gap: 12px; align-items: start; }
.vp-order-drawer { position: sticky; top: 12px; max-height: calc(100vh - 108px); overflow-y: auto; border: 1px solid #b8ccd9; border-radius: 14px; background: #fff; box-shadow: 0 15px 38px rgba(33,52,72,.16); }
.vp-order-drawer-backdrop { display: none; }
.vp-production .vp-detail { position: static; max-height: none; border: 0; border-radius: 0; box-shadow: none; }
.vp-detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; background: #213448; }
.vp-detail-head .who { display: grid; gap: 5px; }.vp-detail-head .who > strong { font-size: 24px; }.vp-detail-head .who > span { color: #d7e6ed; }.vp-detail-head .vp-status { width: max-content; margin-top: 3px; }
.vp-detail-close { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(255,255,255,.34); border-radius: 9px; background: transparent; color: #fff; cursor: pointer; }
.vp-detail-line .item small { display: block; margin-top: 3px; color: #71869a; font-size: 10px; font-weight: 400; }.vp-detail-address { color: #213448; font-size: 13px; font-weight: 650; line-height: 1.4; }.vp-detail-note { margin-top: 10px; padding: 9px 10px; border-radius: 8px; background: #eef5f8; color: #547792; font-size: 11px; font-style: italic; line-height: 1.45; }
.vp-detail-actions { display: grid; gap: 8px; }.vp-detail-actions > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }.vp-detail-actions .vp-btn { justify-content: center; }.vp-detail-cancel { padding: 5px; border: 0; background: transparent; color: #b24d42; cursor: pointer; font: 700 10px var(--sb-body); }

@media (max-width: 960px) {
  .vp-orders-layout.is-detail-open { grid-template-columns: 1fr minmax(290px,.7fr); }
  .vp-order-column-head, .vp-order-row { grid-template-columns: minmax(130px,1.2fr) minmax(105px,.9fr) minmax(94px,.8fr) 98px; }.vp-order-column-head > :last-child, .vp-order-row > .vp-order-status { display: none; }
}

@media (max-width: 720px) {
  .vp-topbar-signout { display: none; }
  .vp-production .vp-topbar { padding: 10px 12px 2px; }.vp-production .vp-topbar-actions { grid-template-columns: minmax(0,1fr) auto auto; }.vp-production .vp-topbar-actions .vp-search { grid-column: 1 / -1; grid-row: 2; }
  .vp-production .vp-sidebar { height: calc(68px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); }.vp-production .vp-nav { overflow: hidden; }.vp-production .vp-nav-item { flex: 1 1 0; min-width: 0; }.vp-production .vp-nav-item[data-nav="analytics"], .vp-production .vp-nav-item[data-nav="billing"] { display: none; }.vp-production .vp-sidebar-foot { flex: 0 0 56px; }
  .vp-stage-board { grid-template-columns: 1fr; overflow: visible; border: 0; border-radius: 0; background: transparent; }.vp-queue-total { min-height: 86px; grid-template-columns: 1fr auto; grid-template-rows: auto auto; padding: 15px 16px; border: 0; border-radius: 14px 14px 0 0; background: #213448; color: #fff; }.vp-queue-total span { color: #b49fcc; }.vp-queue-total strong { grid-row: 1 / 3; grid-column: 2; align-self: center; color: #fff; font-size: 38px; }.vp-queue-total small { color: #d7e6ed; }
  .vp-stage-list { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; padding-top: 8px; }.vp-stage-card { min-height: 80px; padding: 12px; border: 2px solid #c8d5df; border-radius: 12px; }.vp-stage-card:first-child { border-left: 2px solid #c8d5df; }.vp-stage-card.is-active { border-color: #213448; box-shadow: inset 0 -3px #213448; }.vp-stage-card strong { font-size: 25px; }.vp-stage-card small { font-size: 9px; }
  .vp-order-list-card { border-radius: 13px; }.vp-order-list-head { min-height: 68px; padding: 13px 14px; }.vp-order-list-head h2 { font-size: 19px; }.vp-order-secondary { gap: 1px; }.vp-order-secondary button { padding: 6px 7px; font-size: 9px; }
  .vp-order-column-head { display: none; }.vp-order-row { grid-template-columns: minmax(0,1fr) auto; gap: 7px 12px; min-height: 0; padding: 14px; }.vp-order-customer { grid-column: 1; }.vp-order-id { grid-column: 1; grid-row: 2; display: block; }.vp-order-id small { display: none; }.vp-order-meta { grid-column: 2; grid-row: 1; align-items: end; text-align: right; }.vp-order-total { grid-column: 2; grid-row: 2; }.vp-order-status { display: flex !important; grid-column: 1 / -1; grid-row: 3; justify-content: flex-start; }.vp-order-status i { display: none; }
  .vp-orders-layout.is-detail-open { display: block; }.vp-order-drawer-backdrop { display: block; position: fixed; z-index: 120; inset: 0; border: 0; background: rgba(20,34,46,.4); }.vp-order-drawer { position: fixed; z-index: 121; right: 0; bottom: 0; left: 0; top: max(66px, env(safe-area-inset-top)); max-height: none; border: 0; border-radius: 18px 18px 0 0; box-shadow: 0 -12px 30px rgba(20,34,46,.24); }.vp-order-drawer::before { content: ''; display: block; width: 38px; height: 4px; margin: 10px auto -2px; border-radius: 99px; background: #c8d5df; }.vp-detail-head { position: sticky; top: 0; z-index: 1; }.vp-detail-actions { padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
  .vp-production .vp-kpi-row { gap: 9px; }.vp-production .vp-kpi { min-height: 78px; padding: 13px; }.vp-production .vp-kpi-value { font-size: 22px; }.vp-production .vp-kpi-detail { margin-top: 3px; font-size: 8px; }
}


/* Merchant workspace — The Rail design system. This is deliberately scoped
   to the merchant app so the admin and storefront retain their own systems. */
.vp-production { --mw-bg:#fff; --mw-surface:#faf9fd; --mw-card:#fff; --mw-line:#eae8f5; --mw-line-strong:#dbd8ec; --mw-ink:#18172c; --mw-muted:#6b6884; --mw-faint:#9b98b4; --mw-purple:#5b5499; --mw-purple-soft:#f1effa; --mw-purple-mid:#e4e1f5; --mw-teal:#00c896; --mw-teal-soft:#e3f9f1; --mw-teal-ink:#00875f; --mw-gold:#e8b84b; --mw-gold-soft:#fcf3de; --mw-gold-ink:#9c7314; --mw-red:#c8384a; --mw-red-soft:#fbe9ec; --mw-display:'Bebas Neue',Impact,sans-serif; --mw-ui:Inter,ui-sans-serif,system-ui,sans-serif; --mw-mono:'DM Mono','SFMono-Regular',Consolas,monospace; grid-template-columns:78px minmax(0,1fr); min-height:100vh; background:var(--mw-bg); color:var(--mw-ink); font-family:var(--mw-ui); }
.vp-production * { font-family:inherit; }
.vp-production button,.vp-production input,.vp-production select,.vp-production textarea { font-family:var(--mw-ui); }
.vp-production .vp-sidebar { position:sticky; top:0; display:flex; width:78px; height:100vh; align-items:center; padding:18px 0 12px; border-right:1px solid var(--mw-line); background:var(--mw-surface); gap:8px; }
.vp-production .vp-sidebar-brand { display:grid; width:38px; height:38px; min-height:38px; place-items:center; margin-bottom:10px; padding:0; border:0; border-radius:11px; background:var(--mw-ink); }.vp-production .mw-brand-mark { display:grid; width:22px; height:22px; place-items:center; }.vp-production .mw-brand-mark img { width:21px; filter:brightness(0) invert(1); }.vp-production .mw-brand-copy,.vp-production .vp-selector-label,.vp-production .vp-vendor-pill .info,.vp-production .vp-nav-section { display:none; }
.vp-production .vp-vendor-selector-container { margin:0 0 10px; }.vp-production .vp-vendor-pill { margin:0; padding:0; border:0; background:transparent; }.vp-production .vp-vendor-pill .avatar { display:grid; width:38px; height:38px; place-items:center; border-radius:11px; background:linear-gradient(150deg,var(--mw-purple),#3f3a70); color:#fff; font-size:11px; font-weight:800; }
.vp-production .vp-nav { width:100%; align-items:center; gap:6px; }.vp-production .vp-nav-item,.vp-production .vp-sidebar-foot .vp-nav-item { position:relative; display:grid; width:52px; min-height:52px; place-items:center; padding:0; border-radius:14px; color:var(--mw-faint); }.vp-production .vp-nav-item span:not(.badge) { display:none; }.vp-production .vp-nav-item svg { width:19px; height:19px; }.vp-production .vp-nav-item:hover { background:var(--mw-purple-soft); color:var(--mw-ink); }.vp-production .vp-nav-item.is-active { background:var(--mw-ink); color:#fff; box-shadow:none; }.vp-production .vp-nav-item .badge { position:absolute; top:5px; right:4px; display:grid; min-width:16px; height:16px; place-items:center; padding:0 4px; background:var(--mw-teal); color:#062c20; font:700 8px var(--mw-mono); }.vp-production .vp-sidebar-foot { display:grid; width:100%; margin-top:auto; place-items:center; padding-top:10px; border-top:1px solid var(--mw-line); }
.vp-production .vp-main { min-width:0; background:var(--mw-bg); }.vp-production .vp-topbar { position:sticky; top:0; z-index:10; min-height:70px; padding:15px 28px; border-bottom:1px solid var(--mw-line); background:rgba(255,255,255,.92); box-shadow:none; backdrop-filter:blur(14px); }.vp-production .vp-topbar-title h1 { margin:0; color:var(--mw-ink); font:400 27px/.9 var(--mw-display); letter-spacing:.02em; text-transform:uppercase; }.vp-production .vp-topbar-title span { color:var(--mw-faint); font:500 11px var(--mw-ui); }.vp-production .vp-topbar-actions { gap:8px; }
.vp-production .vp-body { gap:18px; padding:22px 28px 48px; background:var(--mw-bg); }.vp-production .vp-btn { height:36px; border:1px solid var(--mw-line-strong); border-radius:10px; background:var(--mw-card); box-shadow:none; color:var(--mw-ink); font-size:12px; }.vp-production .vp-btn:hover { border-color:var(--mw-purple); background:var(--mw-purple-soft); box-shadow:none; transform:none; }.vp-production .vp-btn-primary { border-color:var(--mw-teal); background:var(--mw-teal); color:#04231a; }.vp-production .vp-btn-primary:hover { border-color:#00b387; background:#00b387; }.vp-production .vp-search { width:min(350px,45vw); height:36px; border-color:var(--mw-line-strong); border-radius:10px; background:var(--mw-surface); box-shadow:none; }.vp-production .vp-search input { color:var(--mw-ink); }
.vp-production .vp-notice { border-radius:12px; font-size:12px; }.vp-production .vp-loading { border-color:var(--mw-line); border-radius:14px; background:var(--mw-surface); color:var(--mw-muted); }
.mw-dashboard-hero { display:flex; min-height:146px; align-items:center; justify-content:space-between; gap:22px; padding:22px 24px; border:1px solid var(--mw-line); border-radius:18px; background:linear-gradient(105deg,#faf9fd,#f1effa); }.mw-dashboard-hero .mw-eyebrow,.mw-orders-board-head>div>span { color:var(--mw-purple); font-size:10px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }.mw-dashboard-hero h2 { max-width:720px; margin:7px 0 5px; color:var(--mw-ink); font:400 clamp(29px,3vw,42px)/.9 var(--mw-display); letter-spacing:.02em; }.mw-dashboard-hero p { max-width:680px; margin:0; color:var(--mw-muted); font-size:12px; line-height:1.55; }.mw-overview-actions { display:flex; flex-wrap:wrap; gap:8px; }
.vp-production .vp-kpi-row { gap:10px; }.vp-production .vp-kpi { min-height:116px; padding:14px 16px; border:1px solid var(--mw-line); border-radius:14px; background:var(--mw-card); box-shadow:0 1px 2px rgba(24,23,44,.04); }.vp-production .vp-kpi-label { color:var(--mw-faint); font-size:9px; letter-spacing:.1em; }.vp-production .vp-kpi-value { color:var(--mw-ink); font:400 29px/.95 var(--mw-display); letter-spacing:.025em; }.vp-production .vp-kpi-detail { color:var(--mw-muted); font:500 10px var(--mw-ui); }.mw-operations-kpis .vp-kpi:nth-child(1) { border-color:var(--mw-ink); background:var(--mw-ink); }.mw-operations-kpis .vp-kpi:nth-child(1) * { color:#fff; }.mw-operations-kpis .vp-kpi:nth-child(1) .vp-kpi-detail { color:#c7c3e8; }.mw-operations-kpis .vp-kpi:nth-child(2) { border-color:#efdda8; background:var(--mw-gold-soft); }.mw-operations-kpis .vp-kpi:nth-child(3) { border-color:#dcd7f1; background:var(--mw-purple-soft); }.mw-operations-kpis .vp-kpi:nth-child(4) { border-color:#c8efe0; background:var(--mw-teal-soft); }
.mw-today-pulse { display:grid; grid-template-columns:242px minmax(0,1fr); overflow:hidden; border:1px solid var(--mw-line); border-radius:18px; background:var(--mw-surface); }.mw-today-pulse-copy { display:grid; align-content:center; gap:5px; padding:17px 20px; border-right:1px solid var(--mw-line); background:var(--mw-ink); }.mw-today-pulse-copy span { color:#c7c3e8; font-size:9px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }.mw-today-pulse-copy strong { color:#fff; font-size:17px; line-height:1.08; }.mw-today-pulse-copy small { color:#d9d6eb; font-size:10px; line-height:1.4; }.mw-timing-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); }.mw-timing-metrics .vp-kpi { min-height:108px; padding:16px; border:0; border-left:1px solid var(--mw-line); border-radius:0; background:transparent; box-shadow:none; }.mw-timing-metrics .vp-kpi:first-child { border-left:0; }
.mw-orders-board-head { display:flex; align-items:flex-end; justify-content:space-between; gap:14px; }.mw-orders-board-head h2 { margin:4px 0 0; color:var(--mw-ink); font:400 25px/.9 var(--mw-display); letter-spacing:.02em; }.mw-board-toggle { display:flex; gap:5px; padding:3px; border:1px solid var(--mw-line); border-radius:999px; background:var(--mw-surface); }.mw-board-toggle button { padding:7px 10px; border:0; border-radius:999px; background:transparent; color:var(--mw-muted); cursor:pointer; font-size:10px; font-weight:700; }.mw-board-toggle button.is-active { background:var(--mw-ink); color:#fff; }.mw-board-toggle b { margin-left:3px; color:inherit; font:500 9px var(--mw-mono); }
.mw-kanban-board { display:grid; grid-template-columns:repeat(4,minmax(230px,1fr)); gap:14px; align-items:start; overflow-x:auto; padding-bottom:4px; }.mw-kanban-column { min-height:370px; padding:12px; border:1px solid var(--mw-line); border-radius:18px; background:var(--mw-surface); }.mw-kanban-column>header { display:flex; align-items:center; gap:8px; padding:2px 3px 2px; }.mw-kanban-column>header i { width:9px; height:9px; border-radius:50%; }.mw-kanban-column>header i.blue { background:#5b7cfa; }.mw-kanban-column>header i.gold { background:var(--mw-gold); }.mw-kanban-column>header i.purple { background:var(--mw-purple); }.mw-kanban-column>header i.teal { background:var(--mw-teal); }.mw-kanban-column>header strong { flex:1; color:var(--mw-ink); font-size:13px; }.mw-kanban-column>header span { padding:2px 7px; border:1px solid var(--mw-line-strong); border-radius:999px; background:#fff; color:var(--mw-faint); font:500 10px var(--mw-mono); }.mw-kanban-column>small { display:block; padding:0 3px 10px; color:var(--mw-faint); font-size:10px; }.mw-kanban-cards { display:grid; gap:10px; }.mw-kanban-empty { padding:31px 9px; color:var(--mw-faint); font-size:11px; text-align:center; }.mw-order-ticket { overflow:hidden; border:1px solid var(--mw-line-strong); border-radius:14px; background:#fff; box-shadow:0 1px 2px rgba(24,23,44,.05); }.mw-order-ticket:hover { border-color:#c7c3e8; box-shadow:0 12px 28px rgba(91,84,153,.11); }.mw-order-ticket-main { display:grid; gap:9px; padding:12px; background:#fff; color:var(--mw-ink); text-align:left; }.mw-ticket-top { display:flex; justify-content:space-between; gap:8px; }.mw-ticket-top span { color:var(--mw-faint); font:500 10px var(--mw-mono); }.mw-ticket-top b { padding:2px 6px; border-radius:999px; font:500 9px var(--mw-mono); }.mw-ticket-top b.ok { background:var(--mw-teal-soft); color:var(--mw-teal-ink); }.mw-ticket-top b.warn { background:var(--mw-gold-soft); color:var(--mw-gold-ink); }.mw-ticket-top b.late { background:var(--mw-red-soft); color:#b0293a; }.mw-ticket-customer { display:flex; align-items:baseline; justify-content:space-between; gap:7px; }.mw-ticket-customer strong { overflow:hidden; font-size:13px; text-overflow:ellipsis; white-space:nowrap; }.mw-ticket-customer small { overflow:hidden; color:var(--mw-faint); font-size:9px; text-overflow:ellipsis; white-space:nowrap; }.mw-ticket-items { display:grid; gap:5px; padding:8px; border-radius:9px; background:var(--mw-surface); }.mw-ticket-item { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:6px; color:var(--mw-muted); font-size:10px; line-height:1.3; }.mw-ticket-item span { min-width:0; }.mw-ticket-item small { display:block; margin-top:1px; color:var(--mw-faint); font-size:8px; }.mw-ticket-item b { color:var(--mw-ink); font:500 9px var(--mw-mono); white-space:nowrap; }.mw-ticket-summary { display:flex; align-items:end; justify-content:space-between; gap:8px; }.mw-ticket-summary span { overflow:hidden; color:var(--mw-faint); font-size:9px; text-overflow:ellipsis; white-space:nowrap; }.mw-ticket-summary em { color:var(--mw-ink); font:500 13px var(--mw-mono); font-style:normal; white-space:nowrap; }.mw-ticket-controls { display:grid; grid-template-columns:1fr 1fr; gap:6px; padding:9px 10px 10px; border-top:1px solid var(--mw-line); background:var(--mw-surface); }.mw-ticket-controls button { display:inline-flex; min-width:0; min-height:34px; align-items:center; justify-content:center; gap:5px; padding:7px 6px; border:1px solid var(--mw-line-strong); border-radius:8px; background:#fff; color:var(--mw-ink); cursor:pointer; font-size:9px; font-weight:700; line-height:1.1; }.mw-ticket-controls button:hover { border-color:var(--mw-purple); background:var(--mw-purple-soft); }.mw-ticket-controls .mw-ticket-primary { grid-column:1/-1; border-color:var(--mw-teal); background:var(--mw-teal); color:#04231a; }.mw-ticket-controls .mw-ticket-primary:hover { border-color:#00b387; background:#00b387; }.mw-ticket-controls .mw-ticket-secondary { font-size:8.5px; }.mw-ticket-controls .mw-ticket-cancel { border-color:transparent; background:transparent; color:#b0293a; }.mw-ticket-controls .mw-ticket-cancel:hover { border-color:#f0c5cb; background:var(--mw-red-soft); }.mw-ticket-complete { grid-column:1/-1; display:flex; align-items:center; justify-content:center; gap:5px; min-height:30px; color:var(--mw-teal-ink); font-size:9px; font-weight:800; }.mw-order-list-cards { display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:12px; padding:14px; }
.vp-production .vp-order-list-card { overflow:hidden; border-color:var(--mw-line); border-radius:18px; box-shadow:0 1px 2px rgba(24,23,44,.04); }.vp-production .vp-order-list-head,.vp-production .vp-order-column-head { border-color:var(--mw-line); }.vp-production .vp-order-list-head h2 { color:var(--mw-ink); font:400 23px/.9 var(--mw-display); letter-spacing:.02em; }.vp-production .vp-order-column-head { background:var(--mw-surface); color:var(--mw-faint); }.vp-production .vp-order-row { border-color:var(--mw-line); color:var(--mw-ink); }.vp-production .vp-order-row:hover { background:var(--mw-purple-soft); }.vp-production .vp-order-row.is-selected { background:var(--mw-purple-soft); box-shadow:inset 4px 0 var(--mw-purple); }.vp-production .vp-order-customer strong,.vp-production .vp-order-id strong,.vp-production .vp-order-meta strong,.vp-production .vp-order-total { color:var(--mw-ink); }.vp-production .vp-order-customer small,.vp-production .vp-order-id small,.vp-production .vp-order-meta small { color:var(--mw-muted); }.vp-production .vp-order-status i { color:var(--mw-purple); }
.vp-production .vp-status.new { background:#ebedfb; color:#3f4fbf; }.vp-production .vp-status.confirmed,.vp-production .vp-status.preparing { background:var(--mw-gold-soft); color:var(--mw-gold-ink); }.vp-production .vp-status.dispatched { background:var(--mw-purple-soft); color:var(--mw-purple); }.vp-production .vp-status.delivered { background:var(--mw-teal-soft); color:var(--mw-teal-ink); }.vp-production .vp-status.cancelled { background:var(--mw-red-soft); color:#b0293a; }
.vp-production .vp-order-drawer { border-color:var(--mw-line-strong); border-radius:18px; box-shadow:0 16px 34px rgba(91,84,153,.16); }.vp-production .vp-detail { background:#fff; }.vp-production .vp-detail-head { background:var(--mw-ink); }.vp-production .vp-detail-head .who>strong { color:#fff; font-family:var(--mw-display); }.vp-production .vp-detail-section { border-color:var(--mw-line); }.vp-production .vp-detail-section .lab { color:var(--mw-faint); }.vp-production .vp-detail-line .item,.vp-production .vp-detail-row.total { color:var(--mw-ink); }.vp-production .vp-detail-address { color:var(--mw-ink); }.vp-production .vp-detail-note,.vp-production .vp-fulfilment-compact { border-color:var(--mw-line); background:var(--mw-surface); color:var(--mw-muted); }.vp-production .vp-fulfilment-current { background:var(--mw-purple-soft); }.vp-production .vp-fulfilment-current span,.vp-production .vp-fulfilment-current small { color:var(--mw-purple); }.vp-production .vp-fulfilment-current strong { color:var(--mw-ink); }
.vp-production .vp-data-panel { border-color:var(--mw-line); border-radius:18px; background:#fff; box-shadow:0 1px 2px rgba(24,23,44,.04); }.vp-production .vp-data-panel>header { border-color:var(--mw-line); }.vp-production .vp-data-panel>header h2 { color:var(--mw-ink); font:400 21px/.9 var(--mw-display); letter-spacing:.025em; }.vp-production .vp-data-panel>header span,.vp-production .vp-data-panel>header small { color:var(--mw-faint); font:500 10px var(--mw-ui); }.vp-production .vp-health-list>div,.vp-production .vp-readiness-list>div { border-color:var(--mw-line); }.mw-recent-orders-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; padding:13px; }.mw-recent-order-card { display:grid; gap:6px; min-width:0; padding:12px; border:1px solid var(--mw-line); border-radius:12px; background:var(--mw-surface); color:var(--mw-ink); cursor:pointer; text-align:left; }.mw-recent-order-card:hover { border-color:var(--mw-purple); background:var(--mw-purple-soft); }.mw-recent-order-top { display:flex; align-items:center; justify-content:space-between; gap:8px; }.mw-recent-order-top strong { color:var(--mw-faint); font:500 9px var(--mw-mono); }.mw-recent-order-top em { max-width:50%; overflow:hidden; padding:3px 6px; border-radius:999px; background:var(--mw-purple-mid); color:var(--mw-purple); font-size:8px; font-style:normal; font-weight:800; text-overflow:ellipsis; text-transform:capitalize; white-space:nowrap; }.mw-recent-order-card>b { overflow:hidden; color:var(--mw-ink); font-size:12px; text-overflow:ellipsis; white-space:nowrap; }.mw-recent-order-card small { overflow:hidden; color:var(--mw-muted); font-size:9px; text-overflow:ellipsis; white-space:nowrap; }.mw-recent-order-total { margin-top:2px; color:var(--mw-ink); font:500 12px var(--mw-mono); }
.vp-production .vp-live-products article { border-color:var(--mw-line); border-radius:14px; }.vp-production .vp-live-products article:hover { border-color:#c7c3e8; background:var(--mw-surface); }.vp-production .vp-product-thumb { border-radius:10px; }.vp-production .vp-live-products article>div strong,.vp-production .vp-live-products article>b { color:var(--mw-ink); }.vp-production .vp-live-products article>div span,.vp-production .vp-live-products article>div small { color:var(--mw-muted); }
.mw-customers-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-bottom:14px; }.mw-customers-summary>div { padding:13px 14px; border:1px solid var(--mw-line); border-radius:13px; background:var(--mw-surface); }.mw-customers-summary span { display:block; color:var(--mw-faint); font-size:9px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }.mw-customers-summary strong { display:block; margin-top:5px; color:var(--mw-ink); font:400 25px/.9 var(--mw-display); }.vp-production .vp-real-table th { background:var(--mw-surface); color:var(--mw-faint); }.vp-production .vp-real-table td { border-color:var(--mw-line); color:var(--mw-muted); }.vp-production .vp-real-table td strong { color:var(--mw-ink); }.vp-production .vp-real-table tr:hover td { background:var(--mw-purple-soft); }
.mw-insights-grid { display:grid; grid-template-columns:1.05fr .95fr; gap:14px; }.mw-signal-list { display:grid; gap:0; }.mw-signal-row { display:grid; grid-template-columns:minmax(100px,1fr) minmax(80px,2fr) auto; align-items:center; gap:10px; padding:11px 0; border-bottom:1px solid var(--mw-line); }.mw-signal-row:last-child { border-bottom:0; }.mw-signal-row strong { color:var(--mw-ink); font-size:12px; }.mw-signal-track { height:8px; overflow:hidden; border-radius:999px; background:var(--mw-surface); }.mw-signal-track i { display:block; height:100%; border-radius:inherit; background:var(--mw-purple); }.mw-signal-row b { color:var(--mw-muted); font:500 11px var(--mw-mono); }.mw-offering-list { display:grid; }.mw-offering-list>div { display:grid; grid-template-columns:1fr auto auto; gap:10px; align-items:center; padding:11px 0; border-bottom:1px solid var(--mw-line); }.mw-offering-list>div:last-child { border:0; }.mw-offering-list strong { color:var(--mw-ink); font-size:12px; }.mw-offering-list span { color:var(--mw-faint); font-size:10px; }.mw-offering-list b { color:var(--mw-teal-ink); font:500 11px var(--mw-mono); }
.mw-crm { gap:14px; }.mw-crm-intro { border-color:var(--mw-line); border-radius:18px; background:linear-gradient(105deg,var(--mw-purple-soft),#faf9fd); }.mw-crm-intro span { color:var(--mw-purple); }.mw-crm-intro h2 { color:var(--mw-ink); font:400 30px/.95 var(--mw-display); letter-spacing:.025em; }.mw-crm-intro p,.mw-crm-intro>strong small { color:var(--mw-muted); }.mw-crm-intro>strong { color:var(--mw-ink); font-family:var(--mw-display); }.mw-crm-kpis .vp-kpi:nth-child(2) { background:var(--mw-purple-soft); }.mw-crm-kpis .vp-kpi:nth-child(3) { background:var(--mw-gold-soft); }.mw-crm-kpis .vp-kpi:nth-child(4) { background:var(--mw-teal-soft); }.mw-crm-channels article,.mw-crm-journeys>article { border-color:var(--mw-line); }.mw-crm-channels article>span { background:var(--mw-purple-soft); color:var(--mw-purple); }.mw-crm-channels article>span.whatsapp,.mw-crm-channel.whatsapp { background:var(--mw-teal-soft); color:var(--mw-teal-ink); }.mw-crm-channel,.mw-crm-status.scheduled,.mw-crm-status.sending,.mw-crm-status.funded { background:var(--mw-purple-soft); color:var(--mw-purple); }.mw-crm-journeys>article>span.active,.mw-crm-status.completed { background:var(--mw-teal-soft); color:var(--mw-teal-ink); }
.vp-production .vp-settings-stack { gap:14px; }.vp-production .vp-profile-form label { color:var(--mw-faint); }.vp-production .vp-profile-form input,.vp-production .vp-profile-form select,.vp-production .vp-profile-form textarea { border-color:var(--mw-line-strong); border-radius:10px; background:var(--mw-surface); color:var(--mw-ink); }.vp-production .vp-profile-form input:focus,.vp-production .vp-profile-form select:focus,.vp-production .vp-profile-form textarea:focus { border-color:var(--mw-teal); box-shadow:0 0 0 3px var(--mw-teal-soft); }.vp-production .vp-template-options { gap:10px; }.vp-production .vp-template-option { min-height:180px; border-color:var(--mw-line-strong); border-radius:14px; }.vp-production .vp-template-option:hover { border-color:var(--mw-purple); }.vp-production .vp-template-option.selected { border-color:var(--mw-purple); box-shadow:0 0 0 3px rgba(91,84,153,.12); }.vp-production .vp-template-option strong { color:var(--mw-ink); }.vp-production .vp-template-option p,.vp-production .vp-template-note { color:var(--mw-muted); }.vp-production .vp-template-option li { background:var(--mw-purple-soft); color:var(--mw-purple); }.vp-production .vp-template-option>small { color:var(--mw-purple); }
.vp-production .mw-plan-hero { border-color:var(--mw-line); border-radius:14px; background:linear-gradient(105deg,#faf9fd,var(--mw-purple-soft)); }.vp-production .mw-plan-badge { background:var(--mw-teal); color:#04231a; }.vp-production .vp-fee-model>div,.vp-production .vp-statement-strip>div { border-color:var(--mw-line); background:var(--mw-surface); }.vp-production .vp-fee-model strong,.vp-production .vp-statement-strip strong,.vp-production .vp-unbilled { color:var(--mw-ink); font-family:var(--mw-mono); }
.vp-production .vp-product-form-modal.production { border-color:var(--mw-line-strong); border-radius:18px; }.vp-production .vp-product-editor-head { border-color:var(--mw-line); background:var(--mw-ink); }.vp-production .vp-product-form-modal.production .vp-product-editor-head h2 { color:#fff; font-family:var(--mw-display); }.vp-production .vp-product-editor-head>div>span,.vp-production .vp-product-form-modal.production .vp-product-editor-head p { color:#d9d6eb; }.vp-production .vp-product-editor-preview,.vp-production .vp-product-editor-actions { border-color:var(--mw-line); background:var(--mw-surface); }.vp-production .vp-product-editor-image { border-color:#c7c3e8; background:var(--mw-purple); }.vp-production .vp-product-form-modal.production .vp-product-editor-fields label,.vp-production .vp-product-image-field>span { color:var(--mw-faint); }.vp-production .vp-product-form-modal.production .vp-product-editor-fields input,.vp-production .vp-product-form-modal.production .vp-product-editor-fields textarea { border-color:var(--mw-line-strong); background:var(--mw-surface); color:var(--mw-ink); }
@media (max-width:1080px) { .mw-today-pulse { grid-template-columns:1fr; }.mw-today-pulse-copy { border-right:0; border-bottom:1px solid var(--mw-line); }.mw-kanban-board { grid-template-columns:repeat(4,270px); }.mw-insights-grid { grid-template-columns:1fr; } }
@media (max-width:720px) { .vp-production { display:block; min-height:100dvh; padding-bottom:78px; }.vp-production .vp-sidebar { position:fixed; z-index:100; right:0; bottom:0; left:0; display:flex; width:100%; height:calc(68px + env(safe-area-inset-bottom)); min-height:0; flex-direction:row; justify-content:space-between; padding:7px 8px calc(7px + env(safe-area-inset-bottom)); border-top:1px solid var(--mw-line); border-right:0; background:#fff; box-shadow:0 -8px 24px rgba(24,23,44,.1); }.vp-production .vp-sidebar-brand,.vp-production .vp-vendor-selector-container,.vp-production .vp-sidebar-foot { display:none; }.vp-production .vp-nav { display:flex; width:100%; flex-direction:row; justify-content:space-around; gap:2px; }.vp-production .vp-nav-item { display:flex; width:auto; min-width:46px; height:52px; min-height:52px; flex:1 1 0; flex-direction:column; gap:3px; border-radius:11px; }.vp-production .vp-nav-item span:not(.badge) { display:block; overflow:hidden; max-width:54px; color:currentColor; font-size:8px; font-weight:700; text-align:center; text-overflow:ellipsis; white-space:nowrap; }.vp-production .vp-nav-item[data-nav='analytics'],.vp-production .vp-nav-item[data-nav='billing'] { display:none; }.vp-production .vp-mobile-masthead { display:block; min-height:118px; padding:max(18px,env(safe-area-inset-top)) 18px 14px; background:var(--mw-ink); color:#fff; }.vp-production .vp-mobile-masthead::before { background:var(--mw-purple); }.vp-production .vp-mobile-masthead::after { background:var(--mw-teal); opacity:.65; }.vp-production .vp-mobile-avatar { border-radius:11px; color:var(--mw-ink); }.vp-production .vp-mobile-store-copy small { color:#c7c3e8; }.vp-production .vp-mobile-page-title>span { font:400 28px/.9 var(--mw-display); letter-spacing:.025em; }.vp-production .vp-topbar { position:static; min-height:0; padding:10px 14px; background:#fff; }.vp-production .vp-topbar-title { display:none; }.vp-production .vp-topbar-actions { display:grid; width:100%; grid-template-columns:minmax(0,1fr) auto auto; }.vp-production .vp-topbar-actions .vp-search { width:100%; grid-column:1/-1; }.vp-production .vp-topbar-actions .vp-btn { padding:0 10px; }.vp-production .vp-topbar-signout { display:none; }.vp-production .vp-body { gap:14px; padding:12px 14px 26px; }.mw-dashboard-hero { display:grid; min-height:0; padding:18px; }.mw-dashboard-hero h2 { font-size:31px; }.mw-operations-kpis,.vp-production .vp-kpi-row { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }.vp-production .vp-kpi { min-height:90px; padding:12px; }.vp-production .vp-kpi-value { font-size:24px; }.mw-timing-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }.mw-timing-metrics .vp-kpi { min-height:88px; padding:12px; }.mw-timing-metrics .vp-kpi:nth-child(3),.mw-timing-metrics .vp-kpi:nth-child(4) { border-top:1px solid var(--mw-line); }.mw-timing-metrics .vp-kpi:nth-child(3) { border-left:0; }.mw-orders-board-head { align-items:flex-start; flex-direction:column; }.mw-board-toggle { width:100%; }.mw-board-toggle button { flex:1; padding:8px 6px; }.mw-kanban-board { grid-template-columns:repeat(4,250px); margin-right:-14px; padding-right:14px; }.mw-kanban-column { min-height:320px; }.vp-production .vp-order-drawer { position:fixed; z-index:121; right:0; bottom:0; left:0; top:auto; max-height:78dvh; border:0; border-radius:18px 18px 0 0; }.vp-production .vp-order-drawer-backdrop { display:block; position:fixed; z-index:120; inset:0; border:0; background:rgba(24,23,44,.4); }.vp-production .vp-orders-layout.is-detail-open { display:block; }.vp-production .vp-order-list-head { padding:13px 14px; }.vp-production .vp-order-column-head { display:none; }.vp-production .vp-order-row { grid-template-columns:minmax(0,1fr) auto; padding:13px; }.vp-production .vp-order-status { grid-column:1/-1; }.vp-production .vp-detail-actions { padding-bottom:calc(16px + env(safe-area-inset-bottom)); }.mw-customers-summary { grid-template-columns:1fr; }.mw-crm-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); }.mw-crm-intro { align-items:flex-start; padding:18px; }.mw-crm-intro h2 { font-size:28px; }.vp-production .vp-template-options { grid-template-columns:1fr; }.vp-production .vp-template-option { min-height:0; }.vp-production .vp-production-grid { grid-template-columns:1fr; }.vp-production .vp-span-two { grid-column:auto; } }
@media (max-width:360px) { .vp-production .vp-nav-item { min-width:40px; }.vp-production .vp-nav-item span:not(.badge) { font-size:7px; }.vp-production .vp-body { padding-right:10px; padding-left:10px; }.mw-kanban-board { margin-right:-10px; padding-right:10px; }.mw-board-toggle button { font-size:9px; }.mw-dashboard-hero h2 { font-size:28px; } }

/* Inline tickets: one decisive action, with a compact destructive affordance. */
.mw-order-ticket.is-new .mw-ticket-controls { grid-template-columns:minmax(0,1fr) 38px; }
.mw-order-ticket.is-new .mw-ticket-primary { grid-column:auto; min-height:38px; border-radius:9px; }
.mw-order-ticket.is-new .mw-ticket-cancel { min-width:38px; min-height:38px; padding:0; border-color:#f1bbc4; border-radius:9px; background:#fff3f5; color:#c8384a; }
.mw-order-ticket.is-new .mw-ticket-cancel:hover { border-color:#de7788; background:var(--mw-red-soft); }
.mw-order-ticket.is-confirmed .mw-ticket-controls,.mw-order-ticket.is-preparing .mw-ticket-controls { grid-template-columns:minmax(0,1fr) 38px 38px; }.mw-order-ticket.is-confirmed .mw-ticket-primary,.mw-order-ticket.is-preparing .mw-ticket-primary,.mw-order-ticket.is-dispatched .mw-ticket-primary { grid-column:auto; min-height:38px; border-radius:9px; }.mw-order-ticket.is-dispatched .mw-ticket-controls { grid-template-columns:minmax(0,1fr) 38px; }.mw-ticket-controls .mw-ticket-icon { min-width:38px; min-height:38px; padding:0; border-radius:9px; color:var(--mw-purple); }.mw-ticket-controls .mw-ticket-icon:hover { color:var(--mw-purple); }
.mw-ticket-note { padding:7px 9px; border:0; border-radius:8px; background:#fff4d9; }.mw-ticket-delivery span { display:block; margin-bottom:3px; color:var(--mw-faint); font-size:8px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }.mw-ticket-note p,.mw-ticket-delivery p { margin:0; color:var(--mw-ink); font-size:10px; line-height:1.35; }.mw-ticket-note p { color:#a07113; }.mw-ticket-delivery { padding-top:8px; border-top:1px dashed var(--mw-line-strong); }.mw-ticket-delivery p { color:var(--mw-muted); }
.mw-performance-kpis { grid-template-columns:repeat(5,minmax(0,1fr)); }.mw-performance-kpis .vp-kpi { min-height:102px; }.mw-performance-grid { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(280px,.8fr); gap:14px; }.mw-hourly-chart,.mw-top-skus { min-width:0; }.mw-hour-bars { display:flex; height:132px; align-items:flex-end; gap:4px; padding:14px 16px 8px; }.mw-hour-bars>div { display:flex; height:100%; flex:1 1 0; min-width:3px; flex-direction:column; justify-content:flex-end; gap:5px; }.mw-hour-bars i { display:block; min-height:2px; border-radius:4px 4px 1px 1px; background:#dddbea; }.mw-hour-bars .is-peak i { background:var(--mw-teal); }.mw-hour-bars span { height:9px; color:var(--mw-faint); font:500 8px var(--mw-mono); text-align:center; }.mw-dashboard-statuses { display:flex; align-items:center; gap:8px; padding:10px 13px; border:1px solid var(--mw-line); border-radius:12px; background:var(--mw-surface); }.mw-dashboard-statuses>span { margin-right:3px; color:var(--mw-faint); font-size:9px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }.mw-dashboard-statuses b { padding:5px 7px; border-radius:6px; background:#fff; color:var(--mw-ink); font:500 10px var(--mw-mono); }.mw-dashboard-statuses .vp-btn { margin-left:auto; }
.mw-channel-health>div { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }.mw-channel-health article { display:grid; gap:4px; min-height:92px; padding:15px 17px; border-top:1px solid var(--mw-line); }.mw-channel-health article+article { border-left:1px solid var(--mw-line); }.mw-channel-health strong { color:var(--mw-ink); font-size:14px; }.mw-channel-health span { color:var(--mw-muted); font-size:11px; }.mw-channel-health b { color:var(--mw-ink); font:500 11px var(--mw-mono); font-variant-numeric:tabular-nums; }
@media (max-width:1080px) { .mw-performance-kpis { grid-template-columns:repeat(3,minmax(0,1fr)); }.mw-performance-grid { grid-template-columns:1fr; } }
@media (max-width:720px) { .mw-performance-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); }.mw-performance-kpis .vp-kpi:last-child { grid-column:1/-1; }.mw-hour-bars { gap:3px; padding-right:10px; padding-left:10px; }.mw-dashboard-statuses { flex-wrap:wrap; }.mw-dashboard-statuses .vp-btn { width:100%; margin-left:0; } }

/* A deliberate, compact preference: merchants can work from Spacebar without a WhatsApp duplicate. */
.vp-production .vp-whatsapp-delivery-toggle { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:16px; margin:0 0 12px; padding:13px 14px; border:1px solid var(--mw-line-strong); border-radius:14px; background:#fbfcff; }
.vp-production .vp-whatsapp-delivery-toggle strong { display:block; color:var(--mw-ink); font-weight:750; }
.vp-production .vp-whatsapp-delivery-toggle p { max-width:62ch; margin:3px 0 0; color:var(--mw-muted); font-size:.875rem; line-height:1.4; }
.vp-production .vp-whatsapp-switch { display:inline-grid; grid-template-columns:auto auto; align-items:center; gap:8px; min-height:44px; cursor:pointer; font-variant-numeric:tabular-nums; }
.vp-production .vp-whatsapp-switch input { position:absolute; inline-size:1px; block-size:1px; opacity:0; }
.vp-production .vp-whatsapp-switch-track { position:relative; inline-size:44px; block-size:26px; border-radius:999px; background:#a3a2b4; transition:background-color 150ms cubic-bezier(.2,0,0,1),box-shadow 150ms cubic-bezier(.2,0,0,1); }
.vp-production .vp-whatsapp-switch-track span { position:absolute; inset:3px auto 3px 3px; aspect-ratio:1; border-radius:50%; background:#fff; box-shadow:0 1px 2px rgb(0 0 0 / .22); transition:transform 150ms cubic-bezier(.2,0,0,1); }
.vp-production .vp-whatsapp-switch input:checked + .vp-whatsapp-switch-track { background:var(--mw-teal); }
.vp-production .vp-whatsapp-switch input:checked + .vp-whatsapp-switch-track span { transform:translateX(18px); }
.vp-production .vp-whatsapp-switch input:focus-visible + .vp-whatsapp-switch-track { outline:3px solid rgba(18,158,123,.35); outline-offset:3px; }
.vp-production .vp-whatsapp-switch input:disabled + .vp-whatsapp-switch-track { opacity:.55; }
.vp-production .vp-template-options.is-paused { opacity:.58; }
@media (max-width:720px) { .vp-production .vp-whatsapp-delivery-toggle { grid-template-columns:1fr; gap:10px; }.vp-production .vp-whatsapp-switch { justify-self:start; } }
.mw-performance-kpis { grid-template-columns:repeat(4,minmax(0,1fr)); }.mw-performance-grid { grid-template-columns:1fr; }.mw-performance-lower { grid-template-columns:repeat(2,minmax(0,1fr)); }.mw-stage-guidance { display:flex; align-items:center; gap:14px; padding:18px 22px; border:1px solid #aee9d5; border-radius:18px; background:var(--mw-teal-soft); }.mw-stage-guidance.needs-attention { border-color:#f0dfae; background:var(--mw-gold-soft); }.mw-stage-guidance>span { display:grid; width:42px; height:42px; place-items:center; border-radius:12px; background:#fff; color:var(--mw-teal-ink); font-size:20px; font-weight:800; }.mw-stage-guidance.needs-attention>span { color:var(--mw-gold-ink); }.mw-stage-guidance div { display:grid; gap:3px; }.mw-stage-guidance strong { color:var(--mw-teal-ink); font-size:16px; }.mw-stage-guidance.needs-attention strong { color:var(--mw-gold-ink); }.mw-stage-guidance small { color:var(--mw-muted); font-size:11px; }.mw-hourly-chart .mw-hour-bars { height:210px; padding:22px 32px 10px; }.mw-source-panel .mw-signal-list,.mw-top-skus .mw-offering-list { padding:4px 18px 14px; }
.mw-channel-health>div { grid-template-columns:1fr; }.mw-channel-health article+article { border-top:1px solid var(--mw-line); border-left:0; }
@media (max-width:720px) { .mw-performance-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); }.mw-performance-kpis .vp-kpi:last-child { grid-column:auto; }.mw-performance-lower { grid-template-columns:1fr; }.mw-stage-guidance { align-items:flex-start; padding:14px; }.mw-hourly-chart .mw-hour-bars { height:160px; padding-right:12px; padding-left:12px; } }
.mw-stage-rail { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }.mw-stage-rail>div { display:flex; min-height:78px; align-items:center; justify-content:space-between; gap:8px; padding:16px 18px; border:1px solid var(--mw-line-strong); border-top:5px solid var(--mw-purple); border-radius:18px 18px 12px 12px; background:#fff; }.mw-stage-rail>div.is-active { border-top-color:var(--mw-gold); }.mw-stage-rail>div.is-dispatched { border-top-color:#2588b0; }.mw-stage-rail>div.is-delivered { border-top-color:var(--mw-teal); }.mw-stage-rail strong { color:var(--mw-ink); font-size:15px; }.mw-stage-rail b { display:grid; min-width:28px; height:28px; place-items:center; padding:0 8px; border-radius:999px; background:var(--mw-purple); color:#fff; font:500 12px var(--mw-mono); }.mw-stage-rail .is-active b { background:var(--mw-gold-ink); }.mw-stage-rail .is-dispatched b { background:#2588b0; }.mw-stage-rail .is-delivered b { background:var(--mw-teal-ink); }.mw-visually-hidden { position:absolute!important; width:1px!important; height:1px!important; overflow:hidden!important; clip:rect(0 0 0 0)!important; white-space:nowrap!important; }.mw-kanban-column { min-height:240px; padding-top:12px; }.mw-kanban-column>small { display:none; }
@media (max-width:720px) { .mw-stage-rail { grid-template-columns:repeat(4,178px); overflow-x:auto; margin-right:-14px; padding-right:14px; }.mw-stage-rail>div { min-height:64px; padding:12px; border-top-width:4px; }.mw-stage-rail strong { font-size:12px; }.mw-stage-rail b { min-width:24px; height:24px; font-size:10px; } }
.mw-crm { display:grid; gap:14px; }.mw-crm-intro { display:flex; min-height:142px; align-items:center; justify-content:space-between; gap:24px; padding:24px 26px; border:1px solid var(--mw-line); border-radius:18px; background:linear-gradient(110deg,var(--mw-purple-soft),#fbfaff 58%,var(--mw-teal-soft)); }.mw-crm-intro>div { display:grid; gap:7px; }.mw-crm-intro span { color:var(--mw-purple); font-size:9px; font-weight:800; letter-spacing:.12em; }.mw-crm-intro h2 { margin:0; max-width:660px; color:var(--mw-ink); font:400 34px/.9 var(--mw-display); letter-spacing:.02em; }.mw-crm-intro p { max-width:590px; margin:0; color:var(--mw-muted); font-size:12px; }.mw-crm-intro>strong { display:grid; min-width:104px; min-height:86px; place-content:center; border-radius:14px; background:#fff; color:var(--mw-ink); font:400 38px/.82 var(--mw-display); text-align:center; }.mw-crm-intro>strong small { margin-top:6px; color:var(--mw-faint); font:700 9px var(--mw-ui); letter-spacing:.08em; text-transform:uppercase; }.mw-crm-kpis { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }.mw-crm-kpis .vp-kpi { min-height:104px; }.mw-crm-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }.mw-crm-channels,.mw-crm-journeys { overflow:hidden; }.mw-crm-channels article,.mw-crm-journeys article { display:grid; grid-template-columns:34px minmax(0,1fr) auto; align-items:center; gap:10px; padding:14px 18px; border-bottom:1px solid var(--mw-line); }.mw-crm-channels article:last-child,.mw-crm-journeys article:last-child { border-bottom:0; }.mw-crm-channels article>span { display:grid; width:32px; height:32px; place-items:center; border-radius:9px; background:var(--mw-teal-soft); color:var(--mw-teal-ink); font-size:10px; font-weight:800; }.mw-crm-channels article>div,.mw-crm-journeys article>div { display:grid; gap:2px; min-width:0; }.mw-crm-channels strong,.mw-crm-journeys strong { overflow:hidden; color:var(--mw-ink); font-size:12px; text-overflow:ellipsis; white-space:nowrap; text-transform:capitalize; }.mw-crm-channels small,.mw-crm-journeys small { color:var(--mw-faint); font-size:9px; }.mw-crm-channels b { display:grid; gap:1px; color:var(--mw-teal-ink); font:500 12px var(--mw-mono); text-align:right; }.mw-crm-channels b small { font:700 8px var(--mw-ui); }.mw-crm-journeys article { grid-template-columns:minmax(0,1fr) auto; }.mw-crm-journeys article>span { padding:5px 7px; border-radius:6px; background:var(--mw-purple-soft); color:var(--mw-purple); font-size:8px; font-weight:800; text-transform:capitalize; }.mw-crm-journeys article>span.active { background:var(--mw-teal-soft); color:var(--mw-teal-ink); }.mw-crm-empty { padding:28px 18px; color:var(--mw-faint); font-size:11px; }.mw-crm-campaigns { overflow:hidden; }.mw-crm-campaigns .vp-table-scroll { max-height:320px; }.mw-crm-campaigns .vp-real-table th { position:sticky; top:0; z-index:1; }.mw-crm-channel,.mw-crm-status { display:inline-flex; padding:4px 6px; border-radius:5px; background:var(--mw-purple-soft); color:var(--mw-purple); font-size:8px; font-weight:800; text-transform:capitalize; }.mw-crm-channel.whatsapp,.mw-crm-status.completed { background:var(--mw-teal-soft); color:var(--mw-teal-ink); }
.mw-crm-launch { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:15px 18px; border:1px solid var(--mw-line); border-radius:14px; background:#fff; }.mw-crm-launch>div:first-child { display:grid; gap:3px; }.mw-crm-launch span { color:var(--mw-purple); font-size:9px; font-weight:800; letter-spacing:.1em; }.mw-crm-launch strong { color:var(--mw-ink); font-size:15px; }.mw-crm-launch small { color:var(--mw-muted); font-size:10px; }.mw-crm-launch-actions { display:flex; flex-wrap:wrap; gap:8px; }.mw-crm-launch-modal { position:relative; z-index:1; width:min(650px,100%); max-height:min(760px,calc(100dvh - 32px)); overflow:auto; padding:22px; border:1px solid var(--mw-line); border-radius:18px; background:#fff; box-shadow:0 20px 70px rgba(24,23,44,.22); }.mw-crm-launch-modal>header { display:flex; justify-content:space-between; gap:16px; padding-bottom:17px; border-bottom:1px solid var(--mw-line); }.mw-crm-launch-modal header>div { display:grid; gap:6px; }.mw-crm-launch-modal header span { color:var(--mw-purple); font-size:9px; font-weight:800; letter-spacing:.11em; }.mw-crm-launch-modal h2 { margin:0; color:var(--mw-ink); font:400 30px/.95 var(--mw-display); }.mw-crm-launch-modal p { margin:0; color:var(--mw-muted); font-size:12px; }.mw-crm-launch-modal header>button { width:30px; height:30px; border:1px solid var(--mw-line); border-radius:9px; background:#fff; color:var(--mw-ink); cursor:pointer; font-size:22px; line-height:1; }.mw-crm-launch-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; padding:18px 0; }.mw-crm-launch-fields label { display:grid; gap:6px; color:var(--mw-ink); font-size:10px; font-weight:800; }.mw-crm-launch-fields label small { color:var(--mw-faint); font-weight:600; }.mw-crm-launch-fields input,.mw-crm-launch-fields select { width:100%; height:38px; padding:0 10px; border:1px solid var(--mw-line-strong); border-radius:9px; background:#fff; color:var(--mw-ink); font:500 12px var(--mw-ui); }.mw-crm-launch-fields .mw-crm-launch-check { grid-column:1/-1; display:flex; align-items:center; gap:8px; padding:10px 11px; border-radius:9px; background:var(--mw-teal-soft); color:var(--mw-teal-ink); }.mw-crm-launch-check input { width:15px; height:15px; }.mw-crm-launch-warning { padding:10px 12px; border-radius:9px; background:var(--mw-gold-soft); color:#876310!important; }.mw-crm-launch-modal footer { display:flex; justify-content:flex-end; gap:8px; padding-top:16px; border-top:1px solid var(--mw-line); }
@media (max-width:720px) { .mw-crm-intro { align-items:flex-start; flex-direction:column; min-height:0; padding:18px; }.mw-crm-intro h2 { font-size:29px; }.mw-crm-intro>strong { min-width:0; width:100%; min-height:62px; grid-template-columns:auto auto; gap:8px; align-items:baseline; }.mw-crm-intro>strong small { margin:0; }.mw-crm-kpis,.mw-crm-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.mw-crm-grid { grid-template-columns:1fr; }.mw-crm-launch { align-items:flex-start; flex-direction:column; }.mw-crm-launch-actions { width:100%; }.mw-crm-launch-actions .vp-btn { flex:1; }.mw-crm-launch-modal { align-self:end; max-height:88dvh; padding:18px; border-radius:18px 18px 0 0; }.mw-crm-launch-fields { grid-template-columns:1fr; }.mw-crm-launch-modal footer .vp-btn { flex:1; } }

/* Today: full four-stage board on desktop; focused, browser-like queue tabs on mobile. */
.mw-stage-rail { display:none; }
.mw-kanban-column>header { min-height:48px; padding:4px 3px 12px; border-bottom:0; }
.mw-kanban-column>header>div { display:grid; flex:1; gap:2px; }
.mw-kanban-column>header>div small { color:var(--mw-faint); font-size:9px; }
.mw-kanban-column>header span { display:grid; min-width:32px; height:32px; margin-left:auto; padding:0 8px; border:0; border-radius:10px; place-items:center; background:#5b7cfa; box-shadow:0 5px 12px rgba(91,124,250,.22); color:#fff; font:600 13px var(--mw-mono); }
.mw-kanban-column.is-active>header span { background:var(--mw-gold-ink); box-shadow:0 5px 12px rgba(169,114,17,.2); }
.mw-kanban-column.is-dispatched>header span { background:#2588b0; box-shadow:0 5px 12px rgba(37,136,176,.2); }
.mw-kanban-column.is-delivered>header span { background:var(--mw-teal-ink); box-shadow:0 5px 12px rgba(0,123,91,.2); }
.mw-kanban-column.is-queued { border-top:4px solid #5b7cfa; }
.mw-kanban-column.is-active { border-top:4px solid var(--mw-gold); }
.mw-kanban-column.is-dispatched { border-top:4px solid #2588b0; }
.mw-kanban-column.is-delivered { border-top:4px solid var(--mw-teal); }
@media (max-width:720px) {
  .mw-stage-rail { position:sticky; z-index:5; top:0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0; overflow:hidden; margin:0 -14px; padding:7px 14px 0; border-bottom:1px solid var(--mw-line); background:rgba(255,255,255,.96); backdrop-filter:blur(12px); }
  .mw-stage-rail button { position:relative; display:flex; min-width:0; min-height:44px; align-items:center; justify-content:center; gap:5px; padding:7px 4px 10px; border:0; background:transparent; color:var(--mw-faint); cursor:pointer; font:700 10px var(--mw-ui); white-space:nowrap; }
  .mw-stage-rail button::after { position:absolute; right:8px; bottom:0; left:8px; height:3px; border-radius:3px 3px 0 0; background:transparent; content:''; }
  .mw-stage-rail button.is-selected { color:var(--mw-ink); }
  .mw-stage-rail button.is-selected::after { background:var(--mw-purple); }
  .mw-stage-rail button.is-active.is-selected::after { background:var(--mw-gold); }
  .mw-stage-rail button.is-dispatched.is-selected::after { background:#2588b0; }
  .mw-stage-rail button.is-delivered.is-selected::after { background:var(--mw-teal); }
  .mw-stage-rail b { display:grid; min-width:18px; height:18px; place-items:center; padding:0 4px; border-radius:999px; background:var(--mw-purple-soft); color:var(--mw-purple); font:500 8px var(--mw-mono); }
  .mw-stage-rail .is-active b { background:var(--mw-gold-soft); color:var(--mw-gold-ink); }
  .mw-stage-rail .is-dispatched b { background:#e5f4fa; color:#2588b0; }
  .mw-stage-rail .is-delivered b { background:var(--mw-teal-soft); color:var(--mw-teal-ink); }
  .mw-kanban-board { display:block; overflow:visible; margin:0; padding:0; }
  .mw-kanban-column { display:none; min-height:0; padding:10px; border-top-width:4px; border-radius:0 0 16px 16px; }
  .mw-kanban-column.is-mobile-active { display:block; }
  .mw-kanban-column>header { min-height:42px; padding:2px 3px 10px; }
  .mw-kanban-column>header strong { font-size:14px; }
  .mw-kanban-cards { gap:10px; }
  .mw-order-ticket-main { padding:13px; }
}
@media (max-width:360px) { .mw-stage-rail { margin-right:-10px; margin-left:-10px; padding-right:10px; padding-left:10px; }.mw-stage-rail button { gap:3px; font-size:8px; }.mw-stage-rail b { min-width:16px; height:16px; font-size:7px; } }

/* Mobile order queues behave like a familiar browser tab strip: the selected
   queue sits forward, while the rest remain one swipe away. */
@media (max-width:720px) {
  .mw-stage-rail {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:6px;
    overflow:visible;
    margin:0 -14px;
    padding:10px 14px 8px;
    border:0;
    background:transparent;
  }
  .mw-stage-rail button {
    min-width:0;
    min-height:52px;
    gap:4px;
    padding:8px 6px;
    border:1px solid var(--mw-line);
    border-radius:13px 13px 9px 9px;
    background:#f7f6fb;
    color:#77748f;
    font-size:clamp(8px,2.6vw,10px);
    box-shadow:inset 0 2px 0 rgba(91,124,250,.14);
  }
  .mw-stage-rail button span { overflow:hidden; min-width:0; line-height:1.04; text-align:center; text-overflow:ellipsis; white-space:normal; }
  .mw-stage-rail button::after { display:none; }
  .mw-stage-rail button.is-selected {
    border-color:#c7c3e8;
    background:#fff;
    box-shadow:inset 0 3px 0 #5b7cfa, 0 7px 16px rgba(24,23,44,.1);
    color:var(--mw-ink);
  }
  .mw-stage-rail button.is-active { box-shadow:inset 0 2px 0 rgba(232,184,75,.34); }
  .mw-stage-rail button.is-dispatched { box-shadow:inset 0 2px 0 rgba(37,136,176,.28); }
  .mw-stage-rail button.is-delivered { box-shadow:inset 0 2px 0 rgba(0,201,151,.28); }
  .mw-stage-rail button.is-active.is-selected { box-shadow:inset 0 3px 0 var(--mw-gold), 0 7px 16px rgba(24,23,44,.1); }
  .mw-stage-rail button.is-dispatched.is-selected { box-shadow:inset 0 3px 0 #2588b0, 0 7px 16px rgba(24,23,44,.1); }
  .mw-stage-rail button.is-delivered.is-selected { box-shadow:inset 0 3px 0 var(--mw-teal), 0 7px 16px rgba(24,23,44,.1); }
  .mw-stage-rail b { min-width:21px; height:21px; padding:0 5px; font-size:9px; }
}

/* Order cards are the primary working surface: make each one read as a solid,
   elevated object against the quieter queue background. */
.mw-order-ticket {
  border:1px solid #1b1930;
  background:#fff;
  box-shadow:none;
}
.mw-order-ticket-main,
.mw-ticket-controls { background:#fff; }
.mw-ticket-controls { border-top-color:#e6e3f3; }
.mw-order-ticket:hover {
  border-color:#080711;
  box-shadow:none;
}
@media (max-width:720px) {
  .mw-order-ticket { box-shadow:none; }
}

/* Dashboard: give an SME a fast read on demand, operational throughput and
   where orders are getting stuck. */
.mw-performance-kpis { grid-template-columns:repeat(6,minmax(0,1fr)); }
.mw-performance-kpis .vp-kpi { min-height:108px; }
.mw-performance-kpis .vp-kpi:nth-child(5),
.mw-performance-kpis .vp-kpi:nth-child(6) { background:#fff; }
.mw-fulfillment-chart,.mw-order-health { min-width:0; }
.mw-timing-chart-body,.mw-order-health-body { display:grid; gap:14px; padding:17px 18px 19px; }
.mw-timing-row { display:grid; grid-template-columns:104px minmax(0,1fr) 42px; align-items:center; gap:12px; }
.mw-timing-row>div:first-child { display:grid; gap:2px; }
.mw-timing-row strong { color:var(--mw-ink); font-size:11px; }
.mw-timing-row span { color:var(--mw-faint); font-size:9px; }
.mw-timing-row>b { color:var(--mw-ink); font:500 12px var(--mw-mono); text-align:right; }
.mw-timing-track { display:block; height:10px; overflow:hidden; border-radius:999px; background:#f0eff6; }
.mw-timing-track i { display:block; height:100%; min-width:3px; border-radius:inherit; background:var(--mw-purple); }
.mw-timing-row.is-gold .mw-timing-track i { background:var(--mw-gold); }
.mw-timing-row.is-teal .mw-timing-track i { background:var(--mw-teal); }
.mw-order-health-body { gap:12px; }
.mw-order-health-row { display:grid; grid-template-columns:100px minmax(0,1fr) 28px; align-items:center; gap:10px; }
.mw-order-health-row>span { color:var(--mw-muted); font-size:10px; font-weight:700; }
.mw-order-health-row>i { display:block; height:8px; overflow:hidden; border-radius:999px; background:#f0eff6; }
.mw-order-health-row>i>b { display:block; height:100%; min-width:0; border-radius:inherit; background:var(--mw-purple); }
.mw-order-health-row>strong { color:var(--mw-ink); font:500 11px var(--mw-mono); text-align:right; }
.mw-order-health-row.is-gold>i>b { background:var(--mw-gold); }
.mw-order-health-row.is-blue>i>b { background:#2588b0; }
.mw-order-health-row.is-teal>i>b { background:var(--mw-teal); }
.mw-order-health-row.is-red>i>b { background:var(--mw-red); }
@media (max-width:1180px) { .mw-performance-kpis { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:720px) {
  .mw-performance-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .mw-performance-kpis .vp-kpi { min-height:94px; }
  .mw-timing-chart-body,.mw-order-health-body { padding:14px; }
  .mw-timing-row { grid-template-columns:90px minmax(0,1fr) 34px; gap:8px; }
  .mw-order-health-row { grid-template-columns:88px minmax(0,1fr) 24px; gap:8px; }
}

/* The previous mobile shell kept a fixed-height app after switching away from flex,
   trapping every page below the viewport. Let the document own vertical scrolling. */
@media (max-width:720px) {
  .vp-production.vp-app { display:block; height:auto; min-height:100dvh; overflow:visible; }
  .vp-production .vp-main { min-height:100dvh; overflow:visible; padding-bottom:calc(94px + env(safe-area-inset-bottom)); }
  .vp-production .vp-body { padding-bottom:calc(38px + env(safe-area-inset-bottom)); }
  .vp-production .mw-plan-panel { min-width:0; }
  .vp-production .mw-plan-panel .vp-fee-model { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .vp-production .mw-plan-panel .mw-plan-note { align-items:flex-start; flex-direction:column; }
  .vp-production .mw-plan-panel .mw-plan-note .vp-btn { width:100%; }
}

/* Settings & plan: make the combined screen read as three calm, distinct sections. */
.vp-production .mw-plan-panel { overflow:hidden; }
.vp-production .mw-plan-hero { display:flex; min-height:118px; align-items:center; justify-content:space-between; gap:18px; padding:20px 22px; border:1px solid var(--mw-line); border-radius:14px 14px 0 0; background:linear-gradient(115deg,var(--mw-purple-soft),#fff 65%,var(--mw-teal-soft)); }
.vp-production .mw-plan-hero>div:first-child { display:grid; gap:4px; min-width:0; }
.vp-production .mw-plan-hero small { color:var(--mw-purple); font-size:9px; font-weight:800; letter-spacing:.11em; text-transform:uppercase; }
.vp-production .mw-plan-hero strong { color:var(--mw-ink); font:400 30px/.9 var(--mw-display); letter-spacing:.02em; }
.vp-production .mw-plan-hero span { max-width:520px; color:var(--mw-muted); font-size:11px; line-height:1.45; }
.vp-production .mw-plan-badge { flex:0 0 auto; padding:8px 10px; border-radius:999px; font-size:9px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.vp-production .mw-plan-panel .vp-fee-model { padding:14px 18px; background:#fff; }
.vp-production .mw-plan-panel .vp-fee-model>div { padding:13px 14px; border-radius:10px; }
.vp-production .mw-plan-panel .vp-fee-model strong { font-size:21px; }
.vp-production .mw-plan-note { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 18px; border-top:1px solid var(--mw-line); border-bottom:1px solid var(--mw-line); background:var(--mw-surface); }
.vp-production .mw-plan-note>div { display:grid; gap:3px; }
.vp-production .mw-plan-note strong { color:var(--mw-ink); font-size:12px; }
.vp-production .mw-plan-note span { color:var(--mw-muted); font-size:10px; line-height:1.4; }
.vp-production .mw-plan-note .vp-btn { flex:0 0 auto; }
.vp-production .mw-plan-panel>header { padding:16px 18px 0; }
.vp-production .mw-plan-panel .vp-statement-strip { padding:10px 18px; }
.vp-production .mw-plan-panel .vp-statement-strip>div { min-width:132px; border-radius:10px; }
@media (max-width:720px) {
  .vp-production .mw-plan-hero { min-height:108px; align-items:flex-start; padding:17px; }
  .vp-production .mw-plan-hero strong { font-size:28px; }
  .vp-production .mw-plan-hero span { max-width:250px; font-size:10px; }
  .vp-production .mw-plan-badge { margin-top:2px; }
  .vp-production .mw-plan-panel .vp-fee-model { gap:8px; padding:12px; }
  .vp-production .mw-plan-panel .vp-fee-model>div { min-width:0; padding:12px 10px; }
  .vp-production .mw-plan-panel .vp-fee-model strong { font-size:19px; white-space:nowrap; }
  .vp-production .mw-plan-panel .vp-fee-model span { font-size:8px; line-height:1.25; }
  .vp-production .mw-plan-note { gap:10px; padding:13px 14px; }
  .vp-production .mw-plan-panel>header { padding:15px 14px 0; }
  .vp-production .mw-plan-panel .vp-statement-strip { padding:10px 14px; }
  .vp-production .mw-plan-panel .vp-real-table th,.vp-production .mw-plan-panel .vp-real-table td { white-space:nowrap; }
}

/* Dine-in is deliberately a compact operational control, not a second checkout
   surface. Every action remains comfortably touch-safe on a phone. */
.vp-production .mw-dinein-settings { display:grid; gap:16px; }
.vp-production .mw-dinein-settings>header { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; }
.vp-production .mw-dinein-settings>header>div { display:grid; gap:4px; }
.vp-production .mw-dinein-settings h2 { margin:0; }
.vp-production .mw-dinein-settings header span,
.vp-production .mw-dinein-disabled { color:var(--mw-muted); font-size:11px; line-height:1.45; }
.vp-production .mw-dinein-settings header>small { flex:0 0 auto; padding:6px 8px; border-radius:999px; background:var(--mw-teal-soft); color:var(--mw-teal); font-size:9px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
.vp-production .mw-dinein-disabled { margin:0; padding:13px 14px; border:1px dashed var(--mw-line); border-radius:12px; background:var(--mw-surface); }
.vp-production .mw-dinein-create { display:flex; align-items:end; gap:10px; padding:12px; border:1px solid var(--mw-line); border-radius:12px; background:var(--mw-surface); }
.vp-production .mw-dinein-create label { display:grid; flex:1 1 auto; gap:5px; color:var(--mw-muted); font-size:9px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.vp-production .mw-dinein-create input { min-height:44px; padding:0 12px; border:1px solid var(--mw-line); border-radius:9px; background:#fff; color:var(--mw-ink); font:500 13px var(--mw-ui); }
.vp-production .mw-dinein-create .vp-btn { min-height:44px; white-space:nowrap; }
.vp-production .mw-dinein-table-list { display:grid; gap:8px; }
.vp-production .mw-dinein-table-list article { display:flex; align-items:center; justify-content:space-between; gap:14px; min-height:66px; padding:11px 12px; border:1px solid var(--mw-line); border-radius:11px; background:#fff; }
.vp-production .mw-dinein-table-list article>div:first-child { display:grid; gap:3px; min-width:0; }
.vp-production .mw-dinein-table-list strong { color:var(--mw-ink); font-size:13px; }
.vp-production .mw-dinein-table-list span { color:var(--mw-muted); font-size:10px; }
.vp-production .mw-dinein-table-list article.is-inactive { opacity:.66; }
.vp-production .mw-dinein-table-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:6px; }
.vp-production .mw-dinein-table-actions button { min-height:44px; padding:0 10px; border:1px solid var(--mw-line); border-radius:8px; background:#fff; color:var(--mw-ink); font:700 10px var(--mw-ui); }
.vp-production .mw-dinein-table-actions button:hover { border-color:var(--mw-purple); color:var(--mw-purple); }
@media (max-width:720px) {
  .vp-production .mw-dinein-settings>header { display:grid; gap:8px; }
  .vp-production .mw-dinein-settings header>small { justify-self:start; }
  .vp-production .mw-dinein-create { display:grid; }
  .vp-production .mw-dinein-create .vp-btn { width:100%; }
  .vp-production .mw-dinein-table-list article { display:grid; gap:10px; }
  .vp-production .mw-dinein-table-actions { justify-content:stretch; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
  .vp-production .mw-dinein-table-actions button { padding:0 5px; }
}

/* ============================================================
   Labeled nav rail + depth pass.
   The rail was icon-only; this widens it into stacked
   icon-over-label pills (dark active fill, layered shadow)
   and adds real elevation across the surfaces that were flat.
   ============================================================ */
.vp-production {
  --mw-shadow-xs: 0 1px 2px rgba(24, 23, 44, 0.05), 0 1px 1px rgba(24, 23, 44, 0.03);
  --mw-shadow-sm: 0 2px 6px rgba(24, 23, 44, 0.05), 0 8px 18px rgba(24, 23, 44, 0.05);
  --mw-shadow-md: 0 6px 14px rgba(24, 23, 44, 0.07), 0 18px 36px rgba(24, 23, 44, 0.08);
  --mw-shadow-active: 0 10px 22px -8px rgba(24, 23, 44, 0.5), 0 3px 8px rgba(24, 23, 44, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  grid-template-columns: 108px minmax(0, 1fr);
}

.vp-production .vp-sidebar {
  align-items: stretch;
  width: 108px;
  padding: 20px 12px 14px;
  box-shadow: 1px 0 0 var(--mw-line), 10px 0 28px rgba(24, 23, 44, 0.03);
}

.vp-production .vp-sidebar-brand {
  align-self: center;
  box-shadow: var(--mw-shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.vp-production .vp-vendor-selector-container { display:none; }

.vp-production .vp-vendor-pill .avatar {
  box-shadow: var(--mw-shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.vp-production .vp-nav {
  align-items: stretch;
  gap: 8px;
}

.vp-production .vp-nav-item,
.vp-production .vp-sidebar-foot .vp-nav-item {
  width: 100%;
  min-height: 66px;
  flex-direction: column;
  gap: 6px;
  padding: 12px 4px;
  border-radius: 18px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.vp-production .vp-nav-item span:not(.badge) {
  display: block;
  overflow: hidden;
  max-width: 100%;
  color: currentColor;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vp-production .vp-nav-item.is-active {
  background: linear-gradient(165deg, #2b2950, var(--mw-ink));
  box-shadow: var(--mw-shadow-active);
}

.vp-production .vp-nav-item .badge {
  top: 6px;
  right: 8px;
}

@media (max-width: 960px) and (min-width: 721px) {
  .vp-production { grid-template-columns: 78px minmax(0, 1fr); }
  .vp-production .vp-sidebar { width: 78px; padding: 18px 0 12px; align-items: center; }
  .vp-production .vp-nav-item span:not(.badge) { display: none; }
  .vp-production .vp-nav-item { width: 52px; min-height: 52px; }
}

.vp-production .vp-topbar {
  box-shadow: 0 1px 0 var(--mw-line), 0 8px 24px rgba(24, 23, 44, 0.03);
}

.vp-production .vp-btn {
  box-shadow: var(--mw-shadow-xs);
  transition: transform 160ms var(--sb-ease-out), box-shadow 160ms var(--sb-ease-out), background 160ms var(--sb-ease-out), border-color 160ms var(--sb-ease-out);
}

.vp-production .vp-btn:hover {
  box-shadow: var(--mw-shadow-sm);
  transform: translateY(-1px);
}

.vp-production .vp-btn-primary {
  box-shadow: 0 6px 16px rgba(0, 200, 150, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.vp-production .vp-btn-primary:hover {
  box-shadow: 0 8px 20px rgba(0, 200, 150, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.vp-production .vp-kpi {
  transition: transform 200ms var(--sb-ease-glide), box-shadow 200ms var(--sb-ease-out);
}

.vp-production .vp-kpi:hover {
  transform: translateY(-3px);
  box-shadow: var(--mw-shadow-md);
}

.vp-production .mw-dashboard-hero,
.vp-production .mw-today-pulse,
.vp-production .mw-crm-intro {
  box-shadow: var(--mw-shadow-md);
}

.vp-production .vp-data-panel,
.vp-production .vp-order-list-card,
.mw-kanban-column {
  box-shadow: var(--mw-shadow-sm);
}

.vp-production .mw-order-ticket {
  transition: transform 180ms var(--sb-ease-out), box-shadow 180ms var(--sb-ease-out);
}

.vp-production .mw-order-ticket:hover {
  transform: translateY(-2px);
}

.mw-hero-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  background: var(--mw-teal-soft);
  color: var(--mw-teal-ink);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mw-hero-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mw-teal);
  box-shadow: 0 0 0 3px rgba(0, 200, 150, 0.18);
}

.mw-hero-status.is-pending {
  background: var(--mw-gold-soft);
  color: var(--mw-gold-ink);
}

.mw-hero-status.is-pending i {
  background: var(--mw-gold);
  box-shadow: 0 0 0 3px rgba(232, 184, 75, 0.22);
}

.vp-kpi-icon {
  display: grid;
  width: 30px;
  height: 30px;
  margin-bottom: 2px;
  border-radius: 9px;
  place-items: center;
}

.mw-operations-kpis .vp-kpi:nth-child(1) .vp-kpi-icon { background: rgba(255, 255, 255, 0.14); color: #fff; }
.mw-operations-kpis .vp-kpi:nth-child(2) .vp-kpi-icon { background: #fff; color: var(--mw-gold-ink); }
.mw-operations-kpis .vp-kpi:nth-child(3) .vp-kpi-icon { background: #fff; color: var(--mw-purple); }
.mw-operations-kpis .vp-kpi:nth-child(4) .vp-kpi-icon { background: #fff; color: var(--mw-teal-ink); }

@media (max-width: 720px) {
  .vp-production .vp-sidebar { box-shadow: 0 -8px 24px rgba(24, 23, 44, 0.1); }
}

/* Keep the compact rail desktop-only. On phones this is a true bottom bar,
   never a narrowed fixed element that can cover the masthead. */
@media (max-width:720px) {
  .vp-production .vp-sidebar {
    top:auto;
    right:0;
    bottom:0;
    left:0;
    width:100%;
    height:calc(68px + env(safe-area-inset-bottom));
    min-height:0;
    align-items:center;
    padding:7px 8px calc(7px + env(safe-area-inset-bottom));
    box-shadow:0 -5px 18px rgba(24,23,44,.1);
  }
  .vp-production .vp-nav { width:100%; align-items:center; gap:2px; }
  .vp-production .vp-nav-item,
  .vp-production .vp-sidebar-foot .vp-nav-item {
    width:auto;
    min-width:0;
    min-height:52px;
    flex:1 1 0;
    gap:3px;
    padding:6px 2px;
    border-radius:11px;
    font-size:8px;
    letter-spacing:0;
  }
  .vp-production .vp-nav-item svg { width:18px; height:18px; }
  .vp-production .vp-nav-item .badge { top:3px; right:calc(50% - 22px); }
}

/* A merchant workspace should feel stable while staff work through orders. */
.vp-production .vp-kpi:hover,
.vp-production .mw-order-ticket:hover { transform:none; }
.vp-production .vp-kpi:hover { box-shadow:var(--mw-shadow-xs); }
.vp-production .mw-dashboard-hero,
.vp-production .mw-today-pulse,
.vp-production .mw-crm-intro { box-shadow:var(--mw-shadow-sm); }

/* Queue context and view controls share one row whenever the screen allows it. */
@media (min-width:421px) and (max-width:720px) {
  .mw-orders-board-head { display:grid; grid-template-columns:minmax(0,1fr) 270px; align-items:end; gap:10px; }
  .mw-orders-board-head>div:first-child>span { display:none; }
  .mw-orders-board-head h2 { margin:0; font-size:22px; line-height:.94; }
  .mw-board-toggle { width:auto; }
  .mw-board-toggle button { min-width:0; padding:8px 6px; }
}

/* Today’s rail: compact operational timing cards, then the live order stages. */
.mw-rail-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.mw-rail-metric { display:grid; gap:6px; min-height:92px; padding:14px 16px 12px; border:1px solid var(--mw-line-strong); border-radius:14px; background:#fff; box-shadow:var(--mw-shadow-xs); }
.mw-rail-metric span { color:var(--mw-faint); font-size:9px; font-weight:800; letter-spacing:.1em; line-height:1.1; text-transform:uppercase; }
.mw-rail-metric strong { color:var(--mw-ink); font:400 25px/.92 var(--mw-display); letter-spacing:.025em; }
.mw-rail-metric i { display:block; width:72%; height:4px; margin-top:auto; border-radius:999px; background:var(--mw-purple); }
.mw-rail-metric.is-blue i { background:#2588b0; }.mw-rail-metric.is-gold i { background:var(--mw-gold); }.mw-rail-metric.is-teal i { background:var(--mw-teal); }
.mw-cancelled-toggle { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:34px; padding:7px 12px; border:1px solid var(--mw-line-strong); border-radius:999px; background:#fff; color:var(--mw-muted); cursor:pointer; font-size:10px; font-weight:750; }
.mw-cancelled-toggle:hover,.mw-cancelled-toggle.is-active { border-color:var(--mw-purple); background:var(--mw-purple-soft); color:var(--mw-ink); }
.mw-cancelled-toggle b { font:500 10px var(--mw-mono); }
.mw-order-channel-filters { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:6px; }
.mw-order-channel-filters>button { min-height:34px; padding:7px 10px; border:1px solid var(--mw-line-strong); border-radius:999px; background:#fff; color:var(--mw-muted); cursor:pointer; font:750 10px var(--mw-ui); }
.mw-order-channel-filters>button.is-active:not(.mw-cancelled-toggle) { border-color:var(--mw-purple); background:var(--mw-purple); color:#fff; }
.mw-ticket-delivery.is-dine-in>span { color:var(--mw-teal); }
.mw-ticket-delivery.is-dine-in { border-left:3px solid var(--mw-teal); padding-left:8px; }
@media (min-width:721px) {
  .mw-stage-rail { display:none; }
  .mw-kanban-column>header { display:flex; }
}
@media (min-width:421px) and (max-width:720px) {
  .mw-orders-board-head { grid-template-columns:minmax(0,1fr) auto; align-items:center; }
  .mw-cancelled-toggle { min-height:32px; padding:6px 10px; white-space:nowrap; }
}
@media (max-width:420px) {
  .mw-order-channel-filters { width:100%; justify-content:flex-start; }
  .mw-order-channel-filters>button { flex:1 1 auto; min-height:40px; }
}

/* Order-ticket action buttons sit at 38px on the desktop kanban board; on a
   phone the "Today" stage list is the primary way a merchant works an order
   mid-service, so bump every ticket control up to a full 44px tap target. */
@media (max-width:720px) {
  .mw-ticket-controls button { min-height:44px; }
  .mw-order-ticket.is-new .mw-ticket-primary { min-height:44px; }
  .mw-order-ticket.is-new .mw-ticket-cancel { min-width:44px; min-height:44px; }
  .mw-order-ticket.is-confirmed .mw-ticket-primary,
  .mw-order-ticket.is-preparing .mw-ticket-primary,
  .mw-order-ticket.is-dispatched .mw-ticket-primary { min-height:44px; }
  .mw-ticket-controls .mw-ticket-icon { min-width:44px; min-height:44px; }
}
@media (max-width:420px) { .mw-rail-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }.mw-rail-metric { min-height:82px; padding:12px; }.mw-rail-metric strong { font-size:22px; } }

/* Calm operational surfaces, with colour reserved for status and actions. */
.vp-production { --mw-faint: #706c85; --mw-bg: #f8f9fb; --mw-surface: #f3f3f8; -webkit-font-smoothing: antialiased; }
.vp-production .vp-topbar { background: #fff; backdrop-filter: none; box-shadow: none; padding-block: 20px; }
.vp-production .vp-topbar-title h1 { font-family: var(--mw-ui); font-size: 26px; font-weight: 700; line-height: 1.2; letter-spacing: -.025em; text-transform: none; }
.vp-production .vp-topbar-title span { display: block; margin-top: 6px; color: var(--mw-muted); font-size: 13px; line-height: 1.5; }
.vp-production .vp-body { gap: 24px; }
.vp-production .vp-btn { height: auto; min-height: 44px; padding: 10px 14px; border-radius: 8px; box-shadow: none; white-space: normal; transition: background-color 150ms, border-color 150ms; }
.vp-production .vp-btn:hover { transform: none; box-shadow: none; }
.vp-production .vp-btn-primary { background: #087f62; border-color: #087f62; color: white; box-shadow: none; }
.vp-production .vp-btn-primary:hover { background: #086b54; border-color: #086b54; box-shadow: none; }
.vp-production .vp-kpi-value { font-family: var(--mw-ui); font-size: 28px; line-height: 1.3; font-weight: 650; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.vp-production .vp-kpi-label { font-size: 11px; letter-spacing: .025em; }
.vp-production .vp-kpi-detail { font-size: 12px; line-height: 1.5; }
.vp-production .vp-kpi { padding: 20px; box-shadow: none; }
.vp-production .mw-dashboard-hero, .vp-production .mw-crm-intro { background: white; box-shadow: none; border-radius: 12px; }
.vp-production .mw-dashboard-hero h2 { font-family: var(--mw-ui); font-size: 28px; line-height: 1.25; font-weight: 650; letter-spacing: -.025em; }
.vp-production .vp-topbar-actions { flex-wrap: wrap; gap: 12px; }
.vp-production button:focus-visible, .vp-production a:focus-visible { outline: 2px solid var(--mw-purple); outline-offset: 3px; }
@media (min-width: 1200px) {
 .vp-production { grid-template-columns: 200px minmax(0,1fr); }
 .vp-production .vp-sidebar { width: 200px; padding-inline: 12px; }
 .vp-production .vp-nav-item, .vp-production .vp-sidebar-foot .vp-nav-item { display: flex; justify-content: flex-start; width: 100%; padding-inline: 14px; gap: 12px; border-radius: 8px; }
 .vp-production .vp-nav-item span:not(.badge) { display: inline; font-size: 13px; }
 .vp-production .vp-nav { align-items: stretch; }
}

/* Compact working header: business identity and utility actions share one row. */
.vp-production .vp-topbar{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;min-height:68px;padding:10px 20px}
.vp-production .vp-topbar-title{display:block;min-width:0}
.vp-production .vp-topbar-title h1{font-size:21px;line-height:1.2}
.vp-production .vp-topbar-title span{margin-top:2px;font-size:12px;line-height:1.3}
.vp-production .vp-topbar-actions{display:flex;width:auto;flex-wrap:nowrap;gap:8px}
.vp-production .vp-topbar-actions .vp-btn{min-height:40px;height:40px;padding:0 12px;white-space:nowrap}
.vp-production .vp-body{gap:12px;padding:12px 20px 32px}
.vp-production .filter-carryover{font-size:12px;line-height:1.4;gap:8px}
.mw-inline-action{border:0;background:transparent;color:var(--mw-purple);font:600 12px var(--mw-ui);padding:8px 4px;min-height:40px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.vp-production .mw-orders-board-head{margin:0;gap:8px;align-items:center;flex-direction:row;flex-wrap:wrap}
.vp-production .mw-orders-board-head h2{font:600 18px/1.3 var(--mw-ui);margin:0;letter-spacing:0}
.vp-production .mw-order-channel-filters{gap:6px;flex-wrap:wrap}
.vp-production .mw-order-channel-filters button{min-height:40px;padding:6px 10px;font-size:11px}
@media(min-width:721px){
 .vp-production .vp-sidebar{box-sizing:border-box;padding-inline:12px;align-items:center}
 .vp-production .vp-nav{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;width:100%;padding:0}
 .vp-production .vp-nav-item{box-sizing:border-box;max-width:100%;min-height:48px;border-radius:10px;box-shadow:none}
}
@media(max-width:720px){
 .vp-production .vp-topbar{position:static;min-height:64px;padding:10px 14px;gap:8px}
 .vp-production .vp-topbar-title h1{font-size:18px}
 .vp-production .vp-topbar-title span{font-size:11px;overflow-wrap:anywhere}
 .vp-production .vp-topbar-actions .vp-btn{display:inline-flex;width:36px;min-width:36px;min-height:44px;height:44px;padding:0;justify-content:center;border:0;background:transparent}
 .vp-production .vp-topbar-actions .vp-btn span{display:none}
 .vp-production .vp-topbar-actions{gap:4px}
 .vp-production .vp-body{padding:10px 14px 28px;gap:10px}
 .vp-production .order-filter-bar{gap:6px}
 .vp-production .filter-count{font-size:11px}
 .vp-production .mw-stage-rail{margin:0;padding:0;gap:4px;position:static}
 .vp-production .mw-stage-rail button{min-height:44px;padding:6px 4px;border-radius:8px;font-size:10px;box-shadow:none}
 .vp-production .vp-sidebar{padding-inline:max(12px,env(safe-area-inset-left));box-sizing:border-box}
}
@media(max-width:720px){
 .vp-production .vp-topbar{flex-wrap:nowrap}
 .vp-production .vp-topbar-title{width:auto;flex:1 1 0}
 .vp-production .vp-topbar-actions{width:auto;flex:0 0 auto}
}
@media(min-width:1200px){.vp-production .vp-nav-item{flex-direction:row;justify-content:flex-start;min-height:48px}}
/* Restrained workspace surfaces, consistent with the compact working layout. */
.vp-production{--mw-bg:#f7f8fa;--mw-surface:#fff;--mw-line:#e7e8ef;--mw-line-strong:#dfe1e9;--mw-faint:#706c85}
.vp-production .vp-sidebar{background:#fff;box-shadow:none}
.vp-production .vp-nav-item{background:transparent;color:#66657a;box-shadow:none!important;border-radius:12px}
.vp-production .vp-nav-item.is-active{background:#eeedf6;color:#40396d;box-shadow:none!important}
.vp-production .vp-nav-item.is-active::before{display:none}
.vp-production .vp-nav-item .badge{background:#ddd9ee;color:#40396d}
.vp-production .vp-topbar-actions .vp-btn{border-color:transparent;background:transparent;border-radius:12px;text-decoration:none}
.vp-production .vp-topbar-actions .vp-btn:hover{background:#f0eff6}
.vp-production .mw-kanban-column{background:#fff;border:1px solid #e4e6ed;border-top:1px solid #e4e6ed;border-radius:16px;box-shadow:none;min-height:240px;padding:16px}
.vp-production .mw-kanban-column>header{padding:0 0 16px;min-height:44px}
.vp-production .mw-kanban-column>header strong{font-weight:600;font-size:14px}
.vp-production .mw-kanban-column>header span{background:#f1f2f6;color:#4e4c66;box-shadow:none;border-radius:9px;min-width:28px;height:28px;font-family:var(--mw-ui);font-size:12px}
.vp-production .mw-order-channel-filters{background:#edecf3;border-radius:12px;padding:3px;gap:2px}
.vp-production .mw-order-channel-filters button{border:0;background:transparent;border-radius:9px;color:#625e79;box-shadow:none;font-weight:500}
.vp-production .mw-order-channel-filters button.is-active{background:#fff;color:#27253c;box-shadow:0 1px 3px #18172c12}
.vp-production .mw-stage-rail{background:transparent;border:0;box-shadow:none;gap:4px}
.vp-production .mw-stage-rail button{border:0;background:transparent;border-radius:10px;color:#68657d;box-shadow:none}
.vp-production .mw-stage-rail button.is-selected{background:#eeedf6;color:#40396d;box-shadow:none;border:0}
.vp-production .mw-stage-rail button::after{display:none}
.vp-production :is(button,a,summary):focus-visible{outline:2px solid #5b5499;outline-offset:3px}
@media(max-width:720px){.vp-production .mw-kanban-column{min-height:180px;padding:14px;border-radius:14px}.vp-production .mw-order-channel-filters{width:100%;justify-content:space-between}.vp-production .mw-order-channel-filters button{padding:6px 8px;min-height:40px}.vp-production .vp-topbar-actions .vp-btn{min-width:40px;width:40px}.vp-production .vp-nav-item{border-radius:10px}}
.industry-hero{position:relative;min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:125px 24px 16px;isolation:isolate;overflow:clip;background:var(--paper,#f7f5ef);gap:10px}
.industry-copy{text-align:center;max-width:900px;position:relative;z-index:2;min-height:225px}
.story-site .industry-copy h1{font-size:clamp(38px,3.6vw,56px);font-weight:500;line-height:1.03;letter-spacing:-.035em;max-width:none;margin:0;text-wrap:balance}.industry-copy h1>span{display:block}
.industry-copy>p{margin:14px auto;color:#4e5968;font-size:15px;line-height:1.6}.industry-actions{display:flex;justify-content:center}.industry-copy>small{display:block;margin-top:10px;font-size:11px;color:#4e5968}
.industry-selector{width:min(1250px,100%);position:relative;z-index:1;margin:0 auto;--ring-radius:min(35vw,470px)}
.industry-scenes{height:345px;position:relative;touch-action:pan-y;cursor:grab;user-select:none;-webkit-user-select:none;isolation:isolate}
.industry-scenes.is-dragging,.industry-scenes.is-dragging .industry-scene{cursor:grabbing}
.industry-scene{position:absolute;left:50%;top:90px;width:300px;display:flex;flex-direction:column;align-items:center;justify-content:end;background:transparent;border:0;padding:0;color:#29384f;font:inherit;cursor:grab;transform:translateX(-50%) translateX(calc(var(--orbit-x)*var(--ring-radius))) translateY(var(--orbit-y)) scale(var(--scene-scale));transform-origin:50% 70%;opacity:var(--scene-opacity);touch-action:pan-y}
.industry-art{display:block;width:100%;height:240px;pointer-events:none}.industry-art img{width:100%;height:100%;object-fit:contain;display:block;pointer-events:none}.industry-label{font-size:13px;line-height:1.5;min-height:30px;padding:4px 10px;background:var(--paper,#f7f5ef);border-radius:4px;white-space:nowrap}.industry-scene:not(.is-active) .industry-label{visibility:hidden}
.industry-orbit{position:absolute;left:50%;top:175px;width:calc(var(--ring-radius)*2 + 80px);height:115px;border:1px solid #d9dbd4;border-radius:50%;transform:translateX(-50%);z-index:-1;pointer-events:none}
.industry-drag-hint{text-align:center;font-size:11px;color:#4e5968;margin:24px 0 3px}
.industry-controls{display:flex;align-items:center;justify-content:center;gap:20px;min-height:52px}.industry-controls>button{width:44px;height:44px;display:grid;place-items:center;border:1px solid #b9c0b2;border-radius:50%;background:transparent;color:#29384f;cursor:pointer}.industry-controls>button:hover{background:#e1e7d8}.industry-controls>p{text-align:center;margin:0;min-width:140px;font-size:14px;font-weight:600}
.industry-reveal{display:inline-flex;align-items:center;gap:12px;min-height:44px;font-size:12px;text-decoration:none;margin-top:4px}.industry-scene:focus-visible,.industry-hero a:focus-visible,.industry-controls button:focus-visible{outline:2px solid #617452;outline-offset:5px;border-radius:6px}
@media(max-height:850px) and (min-width:761px){.industry-hero{padding-top:104px;gap:4px}.industry-copy{min-height:205px}.story-site .industry-copy h1{font-size:42px}.industry-scenes{height:260px}.industry-art{height:195px}.industry-scene{top:65px;width:240px}.industry-orbit{top:155px;height:85px}.industry-drag-hint{margin-top:10px}}
@media(max-width:760px){.industry-hero{padding:104px 18px 16px;justify-content:space-between;gap:8px}.industry-copy{min-height:220px}.story-site .industry-copy h1{font-size:clamp(32px,7.6vw,46px);line-height:1.07}.industry-copy>p{font-size:14px}.industry-copy>small{font-size:10px}.industry-selector{width:100%;--ring-radius:225px}.industry-scenes{height:260px;margin:0 -18px}.industry-scene{width:240px;top:30px}.industry-art{height:210px}.industry-label{font-size:12px}.industry-orbit{top:165px;height:100px;width:350px}.industry-drag-hint{margin-top:12px}.industry-reveal{font-size:11px}.industry-controls{gap:16px}}
@media(prefers-reduced-motion:reduce){.industry-scenes{scroll-behavior:auto}}

/* The selected business name lives in the controls, clear of the artwork. */
.industry-label{display:none}

/* Desktop keeps the whole ring. Phones reveal only its front arc. */
@media(min-width:761px){.industry-scenes{margin-top:35px}.industry-scene:not(.is-active){pointer-events:auto}.industry-drag-hint{margin-top:4px}}
@media(max-width:760px){.industry-selector{--ring-radius:clamp(180px,52vw,260px)}.industry-scenes{height:clamp(235px,32svh,280px)}.industry-scene{top:40px;width:clamp(195px,60vw,245px);opacity:var(--mobile-opacity);visibility:var(--mobile-visibility);transform:translateX(-50%) translateX(calc(var(--orbit-x)*var(--ring-radius))) scale(var(--scene-scale))}.industry-copy{min-height:0}.industry-art{height:clamp(200px,28svh,240px)}}
@media(max-height:650px) and (max-width:760px){.industry-hero{padding-top:90px;gap:18px}.industry-scenes{height:210px}.industry-art{height:185px}}
@media(min-width:761px) and (max-width:1100px) and (max-height:500px){.industry-hero{display:grid;grid-template-columns:1fr 1.2fr;gap:10px 24px;padding:94px 24px 12px}.industry-copy{min-height:0}.story-site .industry-copy h1{font-size:32px}.industry-copy>p{font-size:12px;margin:10px 0}.industry-copy .story-cta{min-height:44px;padding:12px 16px;font-size:12px}.industry-selector{--ring-radius:150px}.industry-scenes{height:165px;margin-top:0}.industry-scene{width:180px;top:55px}.industry-art{height:145px}.industry-controls{min-height:44px}.industry-drag-hint{margin-top:4px}.industry-reveal{grid-column:1/-1;justify-self:center;min-height:28px}}
@media(min-width:761px) and (max-width:1100px) and (max-height:500px){.industry-scenes{height:180px}.industry-art{height:120px}.industry-scene{top:30px;transform:translateX(-50%) translateX(calc(var(--orbit-x)*var(--ring-radius))) translateY(calc(var(--orbit-y)*.35)) scale(var(--scene-scale))}}
@font-face{font-family:Inter;src:url('/fonts/Inter-400.woff2') format('woff2');font-weight:400;font-display:swap}@font-face{font-family:Inter;src:url('/fonts/Inter-600.woff2') format('woff2');font-weight:600 750;font-display:swap}
.public-site{--ink:#172a25;--paper:#fffdf7;--green:#c7ed94;--line:#d9ded3;background:var(--paper);color:var(--ink);min-height:100vh;font-family:'Inter',sans-serif;line-height:1.6}.public-site *{box-sizing:border-box}.public-site a{color:inherit;text-underline-offset:5px}.public-site ::selection{background:var(--green);color:var(--ink)}.public-site :focus-visible{outline:3px solid #277755;outline-offset:4px}.public-wrap{width:min(1200px,calc(100% - 64px));margin-inline:auto}.public-brand{display:inline-flex;align-items:center;gap:9px;font-size:24px;font-weight:750;text-decoration:none;letter-spacing:-.035em}.public-brand img{width:32px;height:32px}.public-nav{display:flex;align-items:center;justify-content:space-between;padding-block:24px;border-bottom:1px solid var(--line);gap:24px}.public-nav nav{display:flex;align-items:center;gap:25px;font-size:14px}.public-nav nav>a{text-decoration:none}.public-button{display:inline-flex;align-items:center;justify-content:center;gap:18px;padding:16px 23px;background:var(--ink);color:var(--paper)!important;border:0;border-radius:6px;text-decoration:none;font:inherit;font-weight:650;cursor:pointer;min-height:48px}.public-button:hover{background:#305244}.public-button:disabled{opacity:.5;cursor:wait}.public-button-light{background:var(--green);color:var(--ink)!important}.public-button-light:hover{background:#dcf6ba}.public-hero{padding-block:80px 100px;display:grid;grid-template-columns:1.12fr 1fr;gap:70px;align-items:center}.public-site h1,.public-site h2,.public-site h3{line-height:1.08;letter-spacing:-.035em;text-wrap:balance;margin:0;font-weight:650}.public-site h1{font-size:clamp(42px,5.1vw,70px)}.public-site em{font-style:normal;color:#517543}.public-hero>div>p{max-width:45ch;font-size:18px;margin:26px 0}.public-hero .public-small,.public-small{font-size:13px;line-height:1.7;color:#526159}.public-menu-preview{margin:0;background:#edf0e6;border-radius:12px;overflow:hidden;transform:rotate(2deg);box-shadow:0 24px 50px #172a2512}.public-menu-preview>img{display:block;width:100%;height:220px;object-fit:cover}.public-menu-preview figcaption{padding:30px}.public-menu-preview figcaption>span{font-size:11px;letter-spacing:.09em}.public-menu-preview h2{font-size:32px;margin:10px 0 25px}.public-menu-preview figcaption>div{display:flex;justify-content:space-between;padding:12px 0;border-top:1px solid #ccd5c5}.public-menu-preview figcaption>p{font-size:11px;margin-bottom:0}.public-free{background:#e7efdc;padding-block:80px}.public-free-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px}.public-site h2{font-size:clamp(30px,3.4vw,46px)}.public-free p,.public-how>p{max-width:48ch}.public-free ul{list-style:none;padding:0;margin:0}.public-free li{display:flex;align-items:center;gap:13px;padding:16px 0;border-bottom:1px solid #c4d0ba;font-size:15px}.public-free li>svg{flex-shrink:0}.public-free li strong{margin-left:auto;font-size:12px}.public-how{padding-block:95px}.public-how ol{display:grid;grid-template-columns:repeat(3,1fr);gap:45px;padding:32px 0 28px;list-style-position:inside;counter-reset:step;list-style:none}.public-how li{border-top:1px solid var(--line);padding-top:20px;counter-increment:step}.public-how li:before{content:counter(step);display:block;font-size:13px;margin-bottom:24px;color:#517543}.public-how h3{font-size:23px}.public-how li p{font-size:15px;max-width:32ch}.public-text-link{display:inline-flex;align-items:center;gap:12px;font-weight:600}.public-owner{padding-block:80px;background:var(--ink);color:var(--paper)}.public-owner p{max-width:58ch;font-size:18px;margin-block:25px 30px}.public-faq{padding-block:95px;display:grid;grid-template-columns:1fr 1.2fr;gap:80px}.public-faq details{border-top:1px solid var(--line);padding:20px 0}.public-faq summary{cursor:pointer;font-weight:600}.public-faq details p{max-width:65ch;color:#46584c;font-size:15px}.public-last{border-top:1px solid var(--line);padding-block:65px 85px;text-align:center}.public-footer{border-top:1px solid var(--line);padding-block:30px;display:flex;flex-wrap:wrap;align-items:center;gap:25px}.public-footer p{font-size:12px}.public-footer nav{display:flex;flex-wrap:wrap;gap:18px;font-size:12px;margin-left:auto}.public-skip{position:fixed;top:-100px;left:10px;background:white;padding:15px;z-index:99}.public-skip:focus{top:5px}.public-menu{display:none}.setup-layout{padding-block:45px 80px;max-width:950px}.setup-heading{margin-bottom:32px}.setup-heading h1{font-size:42px}.setup-heading p{max-width:60ch}.setup-progress{display:flex;gap:12px;margin-bottom:35px;font-size:13px}.setup-progress span{flex:1;border-top:3px solid var(--line);padding-top:10px}.setup-progress [aria-current=step]{border-color:#52793a;font-weight:700}.setup-form{max-width:650px}.setup-form label{display:grid;gap:7px;font-size:14px;font-weight:600;margin-bottom:20px}.setup-form input,.setup-form select,.setup-form textarea{font:inherit;font-weight:400;color:var(--ink);border:1px solid #acb8a9;background:#fff;border-radius:5px;padding:13px;width:100%;min-height:48px}.setup-form textarea{min-height:100px;resize:vertical}.setup-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}.setup-actions{display:flex;gap:15px;align-items:center;flex-wrap:wrap;margin-block:25px}.setup-secondary{background:none;border:1px solid #acb8a9;padding:12px 18px;border-radius:5px;font:inherit;cursor:pointer;min-height:46px;color:var(--ink)}.setup-form .setup-check{display:flex;align-items:flex-start;gap:12px;font-weight:400}.setup-check input{width:20px;min-height:20px;flex-shrink:0}.setup-notice{padding:16px;background:#f3e5cc;color:#633e10;border-radius:5px;max-width:65ch}.setup-error{background:#fae7e0;color:#862c1d}.setup-item{border-top:1px solid var(--line);padding-top:22px;margin-top:20px}.setup-item h2{font-size:21px;margin-bottom:20px}.setup-preview{max-width:650px;padding:30px;background:#edf0e6;border-radius:10px}.setup-preview h2{font-size:32px;margin-bottom:15px}.setup-preview ul{list-style:none;padding:0}.setup-preview li{display:flex;justify-content:space-between;gap:25px;padding:16px 0;border-top:1px solid #ccd5c5}.setup-preview li small{display:block}.setup-qr{width:230px;height:230px;max-width:100%;display:block}.setup-address{overflow-wrap:anywhere}.setup-link{display:block;margin-block:20px}.public-site button:focus-visible{outline:3px solid #277755;outline-offset:4px}@media(max-width:900px){.public-nav nav{gap:15px}.public-nav nav>a:not(.public-button){display:none}.public-hero{gap:35px}.public-free-grid,.public-faq{gap:35px}.public-menu-preview>img{height:180px}}@media(max-width:620px){.public-wrap{width:calc(100% - 36px)}.public-nav{padding-block:18px}.public-menu{display:block;background:none;border:0;color:var(--ink);padding:12px}.public-nav nav{display:none}.public-nav nav.is-open{position:absolute;top:80px;left:0;right:0;background:var(--paper);padding:25px;display:flex;flex-direction:column;align-items:stretch;z-index:10;border-bottom:1px solid var(--line)}.public-nav nav.is-open>a{display:block;min-height:44px}.public-hero{grid-template-columns:1fr;padding-block:45px 65px;gap:40px}.public-hero h1{font-size:46px}.public-menu-preview{transform:none}.public-menu-preview>img{height:210px}.public-free{padding-block:55px}.public-free-grid,.public-faq{grid-template-columns:1fr;gap:28px}.public-how,.public-faq{padding-block:60px}.public-how ol{grid-template-columns:1fr;gap:20px;padding-bottom:15px}.public-how li:before{margin-bottom:12px}.public-how li p{max-width:100%}.public-owner{padding-block:55px}.public-footer nav{margin-left:0}.setup-row{grid-template-columns:1fr;gap:0}.setup-heading h1{font-size:34px}.setup-layout{padding-top:32px}.setup-preview{padding:22px}.public-button{max-width:100%;font-size:14px}}
@font-face{font-family:'Clash Display';src:url('/fonts/ClashDisplay-Variable.woff2') format('woff2');font-weight:200 700;font-display:swap}@font-face{font-family:Satoshi;src:url('/fonts/Satoshi-Variable.ttf') format('truetype');font-weight:300 900;font-display:swap}.public-site{--ink:#20251f;--green:#d9e3c7;font-family:Satoshi,Inter,sans-serif}.public-site h1,.public-site h2,.public-site h3{font-family:'Clash Display',Satoshi,sans-serif;font-weight:500}.public-site .public-nav{width:100%;padding-inline:max(32px,calc((100vw - 1280px)/2));border:0;background:#fffdf7;position:relative;z-index:5}.public-site .public-button{border-radius:3px}.cinema-hero{position:relative;min-height:min(850px,calc(100svh - 95px));background:#20251f;color:#fffdf7;overflow:hidden}.cinema-hero video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 55%}.cinema-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(11,18,13,.8),rgba(11,18,13,.12)),linear-gradient(0deg,rgba(11,18,13,.75),transparent 55%)}.cinema-copy{position:relative;z-index:1;padding-block:70px 55px;min-height:inherit;display:flex;flex-direction:column;justify-content:space-between}.cinema-copy h1{font-size:clamp(48px,6.5vw,94px);line-height:.99;letter-spacing:-.03em;max-width:1050px}.cinema-copy h1 em{color:#dce7c9}.cinema-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:35px;margin-top:35px}.cinema-bottom p{font-size:18px;line-height:1.55;max-width:44ch;margin:0 0 22px}.cinema-bottom .public-button{background:#e4edcf;color:#20251f!important}.cinema-bottom small{display:block;margin-top:16px;font-size:12px}.cinema-scroll{display:flex;gap:15px;align-items:center;font-size:13px;text-decoration:none;padding:12px 0}.cinema-play{position:absolute;right:24px;top:24px;z-index:2;display:grid;place-items:center;width:44px;height:44px;border:1px solid #fff8;background:#172a254d;color:white;border-radius:50%;cursor:pointer}.menu-journey{position:relative;background:#f1ede3}.journey-stage{height:100svh;min-height:650px;display:grid;grid-template-columns:.85fr 1.2fr;align-items:center;gap:30px;overflow:hidden}.journey-copy{position:relative;z-index:2}.journey-copy h2{font-size:clamp(42px,4.6vw,66px)}.journey-copy>p{font-size:18px;max-width:32ch;margin-block:26px}.journey-copy>small{display:block;margin-top:28px;font-size:11px;color:#5e6559}.journey-track{height:2px;background:#d8d2c5;width:170px;margin-top:25px}.journey-track i{display:block;width:100%;height:100%;background:#c44e31;transform:scaleX(0);transform-origin:left}.journey-objects{height:560px;position:relative;isolation:isolate}.journey-paper{position:absolute;width:255px;min-height:355px;left:4%;top:14%;padding:30px;background:#fffdf7;transform:rotate(-6deg);box-shadow:0 20px 50px #20251f18}.journey-paper>img{width:30px;height:30px;display:block;margin-bottom:20px}.journey-paper>span{font-size:11px}.journey-paper h3{font-size:30px;margin-block:15px 30px}.journey-paper p{font-size:12px}.journey-paper b,.journey-phone b{float:right}.journey-paper hr{border:0;border-top:1px solid #d8d2c5}.journey-paper small{display:block;margin-top:30px;font-size:10px}.journey-phone{position:absolute;z-index:2;left:29%;top:0;width:248px;height:510px;background:#fffdf7;border:7px solid #262923;border-radius:36px;overflow:hidden;box-shadow:0 35px 60px #20251f25}.phone-speaker{position:absolute;top:7px;width:70px;height:17px;left:50%;transform:translateX(-50%);background:#262923;border-radius:20px}.journey-phone>img{height:200px;width:100%;object-fit:cover}.journey-phone>div:not(.phone-speaker){padding:22px 15px}.journey-phone span{font-size:8px;letter-spacing:.05em}.journey-phone h3{font-size:29px;margin:10px 0 20px}.journey-phone p{font-size:11px;padding-bottom:12px;border-bottom:1px solid #ddd8cc}.journey-phone small{font-size:9px;display:flex;align-items:center;gap:4px;color:#3d6843}.journey-qr{position:absolute;z-index:3;width:190px;right:0;bottom:0;background:#dfe8cd;padding:22px;box-shadow:0 20px 40px #20251f20;transform:rotate(5deg)}.journey-qr>span{font-family:'Clash Display';font-size:21px;line-height:1.1;display:block}.journey-qr img{display:block;width:100%;margin-block:18px}.journey-qr strong{font-size:12px;display:block}.journey-qr small{font-size:9px}.public-manifesto{padding-block:120px;display:grid;grid-template-columns:1.3fr 1fr;gap:20px 70px}.public-manifesto>p{grid-column:1/-1;margin:0 0 10px;font-size:18px}.public-manifesto h2{font-size:clamp(38px,4.5vw,62px)}.public-manifesto h2 em{color:#9c432f}.public-manifesto>div p{font-size:18px;max-width:40ch;margin-top:0}.public-free{background:#dfe8cd}.public-owner{position:relative;overflow:hidden;padding-block:110px}.public-owner .public-wrap{position:relative;z-index:1}.public-owner h2{max-width:13ch;font-size:clamp(40px,5vw,68px)}.public-owner p{max-width:40ch}.owner-photo{position:absolute;inset:0 0 0 auto;width:52%;height:100%;object-fit:cover;opacity:.55;mask-image:linear-gradient(90deg,transparent,#000 45%)}.public-last h2{font-size:clamp(38px,5vw,68px)}.public-last{padding-block:100px}.public-faq h2{font-size:clamp(34px,4vw,54px)}.public-site em{color:#537144}.public-site .setup-heading h1{font-size:clamp(38px,4.5vw,58px)}.setup-form h2{font-size:30px}.setup-progress [aria-current=step]{border-color:#aa4a32}.setup-form input:focus,.setup-form textarea:focus{border-color:#aa4a32}.public-site .public-nav .public-brand img{width:38px}@media(max-width:900px){.journey-stage{grid-template-columns:.85fr 1fr;gap:15px}.journey-objects{transform:scale(.8);transform-origin:center}.journey-phone{left:14%}.journey-paper{left:-17%}.journey-qr{right:-15%}.cinema-copy h1{font-size:70px}.public-manifesto{gap:25px}.public-manifesto>div p{font-size:16px}}@media(max-width:620px){.public-site .public-nav{padding-inline:18px}.cinema-hero{min-height:760px;min-height:calc(100svh - 80px)}.cinema-copy{padding-block:62px 36px;min-height:inherit}.cinema-copy h1{font-size:clamp(45px,10vw,62px);max-width:100%}.cinema-shade{background:linear-gradient(90deg,#0b120dcc,#0b120d55),linear-gradient(0deg,#0b120de6,transparent)}.cinema-hero video{object-position:62% center}.cinema-bottom{display:block;margin-top:40px}.cinema-bottom p{font-size:16px;max-width:34ch}.cinema-scroll{margin-top:28px;font-size:12px}.cinema-play{width:40px;height:40px;top:15px;right:15px}.journey-stage{grid-template-columns:1fr;align-content:center;gap:12px;min-height:760px;padding-block:25px}.journey-copy h2{font-size:40px}.journey-copy>p{font-size:15px;margin:14px 0;max-width:35ch}.journey-copy>small{margin-top:12px;font-size:10px}.journey-track{margin-top:12px}.journey-objects{height:405px;transform:scale(.72);transform-origin:top center;width:390px;margin-left:calc((100% - 390px)/2);margin-top:15px}.journey-phone{left:23%;width:235px}.journey-paper{left:-4%;width:225px}.journey-qr{right:-5%;bottom:-105px;width:170px}.public-manifesto{padding-block:70px;grid-template-columns:1fr;gap:20px}.public-manifesto h2{font-size:40px}.public-manifesto>p{font-size:15px}.public-manifesto>div p{max-width:45ch}.public-owner{padding-block:70px}.owner-photo{width:100%;opacity:.22;mask-image:none}.public-owner p{font-size:16px}.public-last{padding-block:65px}}@media(prefers-reduced-motion:reduce){.menu-journey{min-height:auto}.journey-stage{height:auto;min-height:800px}.journey-line{transform:scaleX(1)!important}.cinema-hero video{display:none}.cinema-hero{background-image:linear-gradient(90deg,#0b120dcc,#0b120d55),url('/launch/cafe-cinematic.webp');background-position:center;background-size:cover}.cinema-play{display:none}.journey-phone,.journey-paper,.journey-qr{opacity:1!important}.public-site *{scroll-behavior:auto!important}}

@media(min-width:621px) and (max-width:760px){.cinema-copy h1{font-size:58px}}
.story-site {
  --paper: #f7f5ef; --ink: #29384f; --line: #d9dbd4; --sage: #dde5d4; --lavender: #d9d2e7; --muted: #5d6670;
  background: var(--paper); color: var(--ink); overflow: clip;
}
.story-site ::selection { background: var(--lavender); color: var(--ink); }
.story-site :focus-visible { outline-color: #596c46; }
.story-site h1, .story-site h2, .story-site h3 { letter-spacing: -.035em; font-weight: 500; }
.story-site em { color: #657858; }
.story-container { width: min(1320px, calc(100% - 104px)); margin-inline: auto; }
.story-nav { position: fixed; background: var(--paper); z-index: 20; top: 0; left: 0; width: 100%; min-height: 96px; padding: 22px 52px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.story-nav .public-brand { font-size: 25px; }
.story-nav nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.story-nav a { text-decoration: none; }
.story-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; min-height: 54px; padding: 16px 24px; background: var(--ink); color: var(--paper) !important; font-size: 14px; font-weight: 650; text-decoration: none; border-radius: 6px; transition: background 180ms, color 180ms; }
.story-cta svg { flex: 0 0 auto; transition: transform 200ms; }
.story-cta:hover { background: #455c3d; }
.story-cta:hover svg { transform: translate(2px, -2px); }
.story-nav .story-cta { min-height: 46px; padding: 12px 18px; }
.story-menu-toggle { display: none; }
.scroll-story, .scroll-story-stage { position: relative; }
.story-panel { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: center; width: min(1400px, calc(100% - 104px)); margin-inline: auto; min-height: 100svh; padding-block: 110px 90px; scroll-margin-top: 96px; background: var(--paper); }
.story-copy { position: relative; z-index: 2; padding-block: 24px; }
.story-copy h1 { font-size: clamp(54px, 5.8vw, 84px); line-height: 1.02; }
.story-copy h2 { font-size: clamp(44px, 4.7vw, 68px); line-height: 1.06; }
.story-copy > p { font-size: 18px; line-height: 1.65; max-width: 36ch; margin: 28px 0; color: #4e5968; text-wrap: pretty; }
.story-copy > small { display: block; max-width: 40ch; margin-top: 18px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.story-copy h1:focus, .story-copy h2:focus { outline: none; }
.story-copy h1:focus-visible, .story-copy h2:focus-visible { outline: 2px solid #596c46; outline-offset: 8px; }
.story-optional { display: table; padding: 7px 12px; margin: -10px 0 24px; background: var(--lavender); border-radius: 4px; font-size: 12px; }
.story-world { mix-blend-mode: multiply; position: relative; margin: 0 -40px; min-width: 0; align-self: center; }
.story-film { position: relative; aspect-ratio: 4 / 3; mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent); mask-composite: intersect; }
.story-film img, .story-film video { display: block; width: 100%; height: 100%; object-fit: contain; }
.story-film video { position: absolute; inset: 0; opacity: 0; }
.story-film video[data-ready="true"] { opacity: 1; }
.story-world figcaption { margin: -10px 35px 0; text-align: center; color: var(--muted); font-size: 12px; }
.scene-left .story-copy { grid-column: 2; grid-row: 1; padding-left: 25px; }
.scene-left .story-world { grid-column: 1; grid-row: 1; }
.scene-discover { padding-top: 132px; }
.scene-discover .story-world { margin-inline: -75px -48px; }
.story-guide { display: flex; align-items: center; justify-content: space-between; gap: 25px; font-size: 12px; padding-block: 20px; }
.story-skip { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.story-scroll-hint { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); }
.story-chapter-controls { display: flex; gap: 16px; align-items: center; font-variant-numeric: tabular-nums; }
.story-chapter-controls > span { min-width: 45px; }
.story-chapter-controls > span > span { color: var(--muted); }
.story-chapter-controls button { display: grid; place-items: center; border: 1px solid #c7ccc5; border-radius: 50%; width: 44px; height: 44px; background: transparent; color: var(--ink); cursor: pointer; }
.story-chapter-controls button:hover { background: var(--sage); }
.story-chapter-controls button:disabled { opacity: .35; cursor: default; }
.story-chapter-nav { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; padding-bottom: 24px; }
.story-chapter-nav button { border: 0; padding: 12px 0 5px; background: none; font: inherit; font-size: 12px; text-align: left; color: var(--muted); cursor: pointer; min-height: 44px; }
.story-chapter-nav i { display: block; height: 2px; background: #d8dbd4; margin-top: 12px; }
.story-chapter-nav [aria-current] { color: var(--ink); font-weight: 700; }
.story-chapter-nav [aria-current] i { background: #657858; }
.scroll-story.is-pinned { height: 690svh; }
.is-pinned .scroll-story-stage { position: sticky; top: 0; height: 100svh; min-height: 680px; }
.is-pinned .story-panels { position: absolute; inset: 0; }
.is-pinned .story-panel { position: absolute; inset: 0; opacity: 0; visibility: hidden; padding-block: 100px 150px; height: 100%; min-height: 0; }
.is-pinned .story-panel:first-child { opacity: 1; visibility: visible; }
.is-pinned .story-copy { transform: translateY(var(--chapter-drift, 0px)); }
.is-pinned .story-world { transform: translateX(var(--chapter-drift, 0px)); }
.is-pinned .scene-left .story-world { transform: translateX(calc(-1 * var(--chapter-drift, 0px))); }
.is-pinned .story-guide { position: absolute; bottom: 82px; left: 0; right: 0; }
.is-pinned .story-chapter-nav { position: absolute; left: 0; right: 0; bottom: 10px; }
.is-pinned .scroll-story-stage::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; transform-origin: left; transform: scaleX(var(--story-progress, 0)); background: #657858; }
.is-still .story-film video { display: none; }
.story-free { padding-block: 130px; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.story-free-opening { display: flex; justify-content: space-between; align-items: end; gap: 55px; margin-bottom: 80px; }
.story-free-opening h2 { font-size: clamp(38px, 4.4vw, 64px); line-height: 1.08; }
.story-free-opening p { max-width: 35ch; color: var(--muted); font-size: 16px; margin-bottom: 4px; }
.story-free-ledger { display: grid; grid-template-columns: .8fr 1.2fr; gap: 110px; }
.story-price { padding: 30px 0; }
.story-price > span { font-size: 16px; }
.story-price > strong { display: flex; align-items: baseline; font-family: 'Clash Display', sans-serif; font-size: 146px; font-weight: 500; line-height: 1; margin: 20px 0 26px; gap: 14px; letter-spacing: -.04em; }
.story-price > strong span { font: 16px Satoshi, sans-serif; letter-spacing: 0; }
.story-price p { font-size: 16px; line-height: 1.8; color: var(--muted); margin-bottom: 28px; }
.story-included ul { list-style: none; margin: 0; padding: 0; }
.story-included li { display: flex; align-items: center; gap: 16px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.story-included li svg { color: #596c46; flex-shrink: 0; }
.story-included li strong { font-size: 12px; margin-left: auto; background: var(--sage); padding: 4px 11px; border-radius: 3px; }
.story-included > p { font-size: 13px; color: var(--muted); line-height: 1.7; max-width: 62ch; margin-top: 25px; }
.story-setup { background: #e1e7d8; padding-block: 110px; }
.story-setup-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.story-setup-heading h2 { font-size: clamp(40px, 4.6vw, 66px); }
.story-setup-heading p { color: #505f4a; font-size: 16px; }
.story-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 55px; list-style: none; margin: 70px 0 50px; padding: 0; }
.story-steps li { border-top: 1px solid #bbc6b0; padding-top: 25px; }
.story-steps li > span { display: block; font-variant-numeric: tabular-nums; font-size: 13px; color: #505f4a; margin-bottom: 30px; }
.story-steps h3 { font-size: 25px; }
.story-steps p { font-size: 15px; color: #505f4a; max-width: 35ch; margin-top: 16px; }
.story-setup-bottom { display: flex; gap: 30px; align-items: center; }
.story-setup-bottom p { font-size: 13px; color: #505f4a; }
.story-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; padding-block: 130px; scroll-margin-top: 110px; }
.story-faq h2 { font-size: clamp(36px, 4vw, 58px); }
.story-faq > div > p { color: var(--muted); font-size: 16px; margin-top: 26px; }
.story-answers details { padding-block: 23px; border-top: 1px solid var(--line); }
.story-answers details:last-child { border-bottom: 1px solid var(--line); }
.story-answers summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; cursor: pointer; font-size: 16px; font-weight: 600; list-style: none; }
.story-answers summary::-webkit-details-marker { display: none; }
.story-answers summary svg { flex: 0 0 auto; transition: transform 200ms; }
.story-answers [open] summary svg { transform: rotate(45deg); }
.story-answers p { font-size: 15px; line-height: 1.75; color: var(--muted); margin: 18px 0 0; max-width: 59ch; }
.story-finale { display: flex; align-items: center; justify-content: space-between; gap: 90px; padding-block: 90px 130px; border-top: 1px solid var(--line); }
.story-finale h2 { font-size: clamp(50px, 6.5vw, 90px); line-height: 1.03; }
.story-finale p { margin-block: 26px; font-size: 18px; color: var(--muted); }
.story-finale-note { display: block; font-size: 12px; color: var(--muted); margin-top: 18px; }
.story-real-qr { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; color: var(--ink); text-decoration: none; padding: 38px; background: var(--lavender); width: 260px; min-height: 290px; transform: rotate(3deg); border-radius: 12px; }
.story-real-qr img { width: 144px; height: 144px; }
.story-real-qr span { font-size: 12px; text-align: center; }
.story-footer { padding-block: 36px; border-top: 1px solid var(--line); }
.story-footer-top, .story-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.story-footer-top > a:last-child { display: inline-flex; gap: 12px; align-items: center; font-size: 12px; text-decoration: none; min-height: 44px; }
.story-footer-top > a:last-child svg { transform: rotate(180deg); }
.story-footer-bottom { margin-top: 32px; font-size: 12px; color: var(--muted); }
.story-footer-bottom nav { display: flex; flex-wrap: wrap; gap: 22px; }
.story-footer-bottom nav a { padding-block: 8px; }
@media (min-width: 960px) and (max-height: 790px) {
  .is-pinned .story-copy h1 { font-size: clamp(52px, 5.3vw, 74px); }
  .is-pinned .story-copy h2 { font-size: clamp(44px, 4.4vw, 61px); }
  .is-pinned .story-copy > p { font-size: 16px; margin-block: 22px; }
  .is-pinned .story-world { max-height: 440px; }
  .is-pinned .story-film { max-height: 400px; }
}
@media (min-width: 960px) and (max-height: 679px) { .story-panel { min-height: 650px; } }
@media (max-width: 1100px) {
  .story-nav { padding-inline: 32px; }
  .story-nav nav { gap: 20px; }
  .story-container, .story-panel { width: calc(100% - 64px); }
  .story-copy h1 { font-size: 66px; }
  .story-copy h2 { font-size: 52px; }
  .story-copy > p { font-size: 16px; }
  .story-free-ledger { gap: 65px; }
  .story-faq { gap: 55px; }
}
@media (max-width: 959px) {
  .story-nav nav > a:not(.story-cta) { display: none; }
  .story-panel { min-height: 0; padding-block: 85px 65px; }
  .story-panel:first-child { min-height: 92svh; padding-top: 140px; }
  .story-copy h1 { font-size: clamp(45px, 6.6vw, 64px); }
  .story-copy h2 { font-size: clamp(36px, 5.2vw, 50px); }
  .story-world { margin-inline: -24px; }
  .story-world figcaption { margin: 0 15px; font-size: 11px; }
  .story-guide { border-top: 1px solid var(--line); }
  .story-chapter-nav, .story-scroll-hint { display: none; }
  .story-free, .story-faq { padding-block: 80px; }
  .story-free-opening, .story-setup-heading { display: block; margin-bottom: 45px; }
  .story-free-opening p, .story-setup-heading p { margin-top: 25px; }
  .story-steps { gap: 28px; }
  .story-steps h3 { font-size: 23px; }
  .story-setup { padding-block: 75px; }
  .story-faq { grid-template-columns: .8fr 1.2fr; gap: 40px; }
}
@media (max-width: 760px) {
  .story-container, .story-panel { width: calc(100% - 40px); }
  .story-nav { padding: 16px 20px; min-height: 80px; flex-wrap: wrap; gap: 0; }
  .story-nav .public-brand { font-size: 23px; }
  .story-nav .public-brand img { width: 31px; height: 31px; }
  .story-menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; background: transparent; border: 0; color: var(--ink); }
  .story-nav nav { display: none; }
  .story-nav nav.is-open { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 78px; left: 0; right: 0; background: var(--paper); padding: 20px; gap: 4px; border-bottom: 1px solid var(--line); }
  .story-nav nav.is-open > a { display: flex; align-items: center; min-height: 48px; }
  .story-nav nav.is-open .story-cta { margin-top: 8px; }
  .story-panel { grid-template-columns: 1fr; gap: 4px; padding-block: 42px 48px; }
  .story-panel:first-child { padding-top: 110px; min-height: calc(100svh - 10px); align-content: center; }
  .story-copy { padding-block: 0; }
  .story-copy h1 { font-size: clamp(45px, 12vw, 65px); }
  .story-copy h2 { font-size: clamp(38px, 10vw, 52px); max-width: 15ch; }
  .story-copy > p { margin: 20px 0 24px; font-size: 16px; max-width: 38ch; }
  .story-copy > small { max-width: 44ch; margin-top: 14px; font-size: 11px; }
  .story-cta { padding: 14px 20px; min-height: 50px; gap: 24px; }
  .story-world, .scene-discover .story-world { margin: 0 -20px; }
  .story-film { width: 100%; aspect-ratio: 4 / 3; max-height: 350px; }
  .scene-discover .story-film { max-height: 290px; }
  .scene-left .story-copy, .scene-left .story-world { grid-column: 1; grid-row: auto; padding-left: 0; }
  .story-world { margin-top: 8px; }
  .story-world figcaption { font-size: 11px; margin-top: -7px; }
  .story-panel + .story-panel { border-top: 1px solid var(--line); }
  .story-guide { padding-block: 16px; gap: 10px; }
  .story-chapter-controls { gap: 7px; }
  .story-free { padding-block: 65px; }
  .story-free-opening { margin-bottom: 25px; }
  .story-free-opening h2 { font-size: 39px; }
  .story-free-opening p { font-size: 15px; }
  .story-free-ledger { grid-template-columns: 1fr; gap: 28px; }
  .story-price { padding-top: 20px; }
  .story-price > strong { font-size: 125px; margin-block: 10px 18px; }
  .story-price p { font-size: 15px; }
  .story-included li { font-size: 14px; padding-block: 21px; gap: 12px; }
  .story-setup { padding-block: 65px; }
  .story-setup-heading h2 { font-size: 39px; }
  .story-steps { grid-template-columns: 1fr; gap: 30px; margin-block: 40px 35px; }
  .story-steps li { display: grid; grid-template-columns: 35px 1fr; gap: 0 12px; padding-top: 20px; }
  .story-steps li > span { margin-top: 6px; grid-row: 1 / 3; }
  .story-steps h3 { font-size: 25px; }
  .story-steps p { margin-bottom: 0; max-width: 100%; }
  .story-setup-bottom { align-items: start; flex-direction: column; gap: 12px; }
  .story-setup-bottom p { margin: 0; }
  .story-faq { padding-block: 65px; grid-template-columns: 1fr; gap: 28px; }
  .story-faq h2 { font-size: 39px; }
  .story-faq > div > p { font-size: 15px; margin-top: 20px; }
  .story-answers summary { font-size: 15px; }
  .story-finale { padding-block: 65px; gap: 45px; align-items: start; flex-direction: column; }
  .story-finale h2 { font-size: 52px; }
  .story-finale p { font-size: 16px; }
  .story-real-qr { align-self: center; width: 225px; min-height: 245px; padding: 30px; }
  .story-real-qr img { width: 128px; height: 128px; }
  .story-footer-top, .story-footer-bottom { align-items: start; flex-direction: column; gap: 15px; }
  .story-footer-bottom nav { gap: 12px 22px; }
  .story-footer-bottom p { margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .story-film video { display: none; }
  .story-site *, .story-site *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* The entire homepage shares one stationary viewport. Scroll position is its timeline. */
.stationary-story.is-pinned { height: calc(var(--chapter-count) * 135svh); }
.stationary-story.is-pinned .scroll-story-stage { position: fixed; inset: 0; height: 100svh; min-height: 0; }
.story-film canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; }
.story-film canvas[data-ready="true"] { opacity: 1; }
.is-still .story-film canvas { display: none; }
.story-motion-toggle { font: inherit; font-size: 12px; padding: 10px 0; min-height: 44px; color: var(--muted); background: none; border: none; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.stationary-story .story-chapter-nav { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.stationary-story.is-pinned .story-copy { transform: translateY(var(--chapter-drift, 0px)); }
.stationary-story.is-pinned .story-world { transform: none; }
.stationary-story.is-pinned .stationary-extra { display: flex; align-items: center; padding-block: 115px 155px; }
.stationary-extra > * { width: 100%; margin: 0; }
.stationary-story.is-pinned .stationary-extra > * { max-height: 100%; overflow-y: auto; overscroll-behavior: auto; scrollbar-width: thin; scrollbar-color: #aab5a1 transparent; padding: 8px; }
.stationary-extra h2 { outline-offset: 4px; }
.stationary-extra .story-free, .stationary-extra .story-setup, .stationary-extra .story-faq, .stationary-extra .story-finale { padding-block: 0; border: 0; }
.stationary-extra .story-free-opening { margin-bottom: 28px; gap: 40px; }
.stationary-extra .story-free-opening h2 { font-size: clamp(32px, 3.4vw, 48px); }
.stationary-extra .story-free-ledger { gap: 80px; }
.stationary-extra .story-price { padding: 8px 0; }
.stationary-extra .story-price > strong { font-size: 95px; margin-block: 12px; }
.stationary-extra .story-price p { font-size: 14px; margin-block: 12px 20px; }
.stationary-extra .story-included li { padding-block: 15px; font-size: 15px; }
.stationary-extra .story-included > p { margin-top: 16px; }
.stationary-extra .story-setup { background: transparent; }
.stationary-extra .story-setup > .story-container { width: 100%; }
.stationary-extra .story-setup-heading h2 { font-size: clamp(35px, 4vw, 56px); }
.stationary-extra .story-steps { margin-block: 35px 25px; }
.stationary-extra .story-steps li > span { margin-bottom: 18px; }
.stationary-extra .story-faq { gap: 60px; }
.stationary-extra .story-faq h2 { font-size: clamp(32px, 3.8vw, 52px); }
.stationary-extra .story-answers details { padding-block: 17px; }
.stationary-extra .story-finale h2 { font-size: clamp(42px, 5vw, 70px); }
.stationary-extra .story-finale p { margin-block: 20px; }
.stationary-extra .story-footer { margin-top: 35px; padding-block: 20px 0; }
.stationary-extra .story-footer-bottom { margin-top: 18px; }
.stationary-extra .story-footer-top { display: none; }
.stationary-story:not(.is-pinned) .stationary-extra { display: block; padding-block: 70px; }
@media (max-width: 959px) {
  .stationary-story.is-pinned .story-panel { padding-block: 105px 105px; }
  .stationary-story.is-pinned .story-guide { bottom: 20px; padding-block: 5px; }
  .stationary-story.is-pinned .story-chapter-nav { display: none; }
  .stationary-story.is-pinned .story-guide .story-scroll-hint { display: none; }
  .stationary-story.is-pinned .story-guide { border: 0; }
  .stationary-story.is-pinned .stationary-extra { padding-block: 105px 100px; }
  .stationary-extra .story-free-opening { margin-bottom: 20px; }
  .stationary-extra .story-free-opening p { margin-top: 16px; }
  .stationary-extra .story-free-ledger { gap: 32px; }
}
@media (max-width: 760px) {
  .stationary-story.is-pinned .story-panel { display: grid; grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); align-content: center; gap: 4px; padding-block: 100px 86px; min-height: 0; }
  .stationary-story.is-pinned .story-panel + .story-panel { border: 0; }
  .stationary-story.is-pinned .story-copy { padding-block: 0; }
  .stationary-story.is-pinned .story-copy h1 { font-size: clamp(35px, 10.8vw, 48px); }
  .stationary-story.is-pinned .story-copy h2 { font-size: clamp(32px, 9vw, 42px); max-width: 19ch; }
  .stationary-story.is-pinned .story-copy > p { font-size: 14px; line-height: 1.5; margin-block: 15px; }
  .stationary-story.is-pinned .story-copy > small { font-size: 10px; margin-top: 10px; }
  .stationary-story.is-pinned .story-cta { padding: 12px 17px; min-height: 44px; font-size: 13px; }
  .stationary-story.is-pinned .story-world, .stationary-story.is-pinned .scene-discover .story-world { margin: 0 -20px; align-self: stretch; min-height: 0; display: flex; flex-direction: column; }
  .stationary-story.is-pinned .story-film { min-height: 0; height: 100%; max-height: none; flex: 1; aspect-ratio: auto; }
  .stationary-story.is-pinned .story-world figcaption { margin: 0 20px; font-size: 10px; }
  .stationary-story.is-pinned .story-optional { margin-block: -4px 12px; font-size: 10px; }
  .stationary-story.is-pinned .story-guide { bottom: 12px; gap: 10px; flex-wrap: wrap; }
  .stationary-story.is-pinned .story-motion-toggle { position: absolute; bottom: 44px; left: 0; min-height: 24px; font-size: 10px; }
  .stationary-story.is-pinned .story-skip { font-size: 11px; }
  .stationary-story.is-pinned .stationary-extra { display: flex; padding-block: 100px 100px; }
  .stationary-extra .story-free-opening h2, .stationary-extra .story-setup-heading h2, .stationary-extra .story-faq h2 { font-size: 33px; }
  .stationary-extra .story-free-opening p { font-size: 14px; }
  .stationary-extra .story-free-ledger { gap: 25px; }
  .stationary-extra .story-included li { font-size: 13px; }
  .stationary-extra .story-steps { gap: 22px; }
  .stationary-extra .story-steps h3 { font-size: 23px; }
  .stationary-extra .story-setup-bottom { gap: 12px; }
  .stationary-extra .story-faq { gap: 20px; }
  .stationary-extra .story-finale { gap: 25px; }
  .stationary-extra .story-finale h2 { font-size: 43px; }
  .stationary-extra .story-real-qr { display: none; }
  .stationary-extra .story-footer { margin-top: 25px; }
}
@media (max-height: 700px) and (max-width: 760px) {
  .stationary-story.is-pinned .story-panel { padding-top: 85px; }
  .stationary-story.is-pinned .story-copy h1, .stationary-story.is-pinned .story-copy h2 { font-size: 31px; }
  .stationary-story.is-pinned .story-copy > p { font-size: 12px; margin-block: 10px; }
  .stationary-story.is-pinned .story-copy > small { font-size: 10px; max-width: 100%; }
  .stationary-story.is-pinned .story-world figcaption { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .stationary-story .story-film canvas { display: none; }
}

/* Alpha film is composited directly against the page paper. */
.story-world-alpha { mix-blend-mode: normal; }
.story-world-alpha .story-film { mask-image: none; }
/* The selector precedes the story; pin only when the story reaches the viewport. */
.stationary-story.is-pinned .scroll-story-stage { position: sticky; inset: auto; top: 0; }

/* A transparent moving frame must never expose a second, static pose beneath it. */
.is-pinned:not(.is-still) .story-film[data-frame-ready="true"] > img { visibility: hidden; }
/* Keep the miniature within its source detail budget on large desktop screens. */
@media(min-width:761px){.stationary-story .story-world,.stationary-story .scene-discover .story-world{width:min(100%,650px);margin-inline:0;justify-self:center}}
@media(min-width:761px) and (max-width:1100px) and (max-height:500px){.stationary-story.is-pinned .story-panel{padding:90px 28px 62px}.stationary-story.is-pinned .story-copy h2{font-size:28px}.stationary-story.is-pinned .story-copy>p{font-size:12px;line-height:1.4;margin:8px 0}.stationary-story.is-pinned .story-copy>small{font-size:9px;margin-top:8px}.stationary-story.is-pinned .story-cta{min-height:44px;padding:10px 16px;font-size:12px}.stationary-story.is-pinned .story-optional{font-size:9px;margin:0 0 8px}.stationary-story.is-pinned .story-world{max-height:220px;width:290px}.stationary-story.is-pinned .story-world figcaption{font-size:9px}.stationary-story.is-pinned .story-guide{bottom:4px;padding-block:2px}.stationary-story .story-chapter-nav,.stationary-story .story-scroll-hint{display:none}}
