@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');@import url('https://api.fontshare.com/v2/css?f[]=clash-display@400,500,600,700&f[]=satoshi@400,500,700,900&display=swap');/* ============================================================
   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; } }
.film-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #151515;
}

.film-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  filter: saturate(1.08) contrast(1.03) brightness(0.92);
}

.film-grade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 248, 237, 0.12), transparent 34%),
    radial-gradient(circle at 78% 54%, rgba(0, 212, 148, 0.14), transparent 30%),
    linear-gradient(90deg, rgba(8, 8, 8, 0.72), rgba(8, 8, 8, 0.28) 32%, rgba(8, 8, 8, 0.1) 58%, rgba(8, 8, 8, 0.58)),
    linear-gradient(180deg, rgba(8, 8, 8, 0.32), rgba(8, 8, 8, 0.08) 42%, rgba(8, 8, 8, 0.8));
  pointer-events: none;
}

.is-android-device .film-canvas {
  filter: none;
}

.is-android-device .film-grade {
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.7), rgba(8, 8, 8, 0.18) 46%, rgba(8, 8, 8, 0.58)),
    linear-gradient(180deg, rgba(8, 8, 8, 0.28), rgba(8, 8, 8, 0.76));
}

.is-android-device .story-card {
  transition: opacity 880ms cubic-bezier(0.23, 1, 0.32, 1),
              transform 880ms cubic-bezier(0.23, 1, 0.32, 1),
              filter 880ms cubic-bezier(0.23, 1, 0.32, 1);
}

.is-android-device .loader,
.is-android-device .nav-right button,
.is-android-device .nav-right a,
.is-android-device .hero-actions a,
.is-android-device .hero-actions button,
.is-android-device .beat-meta span,
.is-android-device .industry-strip span,
.is-android-device .pricing-backdrop,
.is-android-device .close-button {
  backdrop-filter: none;
}

.loader {
  position: absolute;
  right: clamp(22px, 5vw, 72px);
  bottom: clamp(22px, 5vw, 72px);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 248, 237, 0.22);
  border-radius: 999px;
  padding: 12px 15px;
  background: rgba(8, 8, 8, 0.34);
  color: #fff8ed;
  backdrop-filter: blur(18px);
  transition: opacity 400ms ease, transform 400ms ease;
}

.loader.hidden {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.loader span,
.loader strong {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(18px, 4vw, 58px);
  pointer-events: none;
}

.site-nav::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 120px;
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.72), transparent);
  pointer-events: none;
}

.brand,
.nav-right {
  position: relative;
  z-index: 1;
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff8ed;
  font-family: var(--heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-decoration: none;
  text-shadow: 0 1px 22px rgba(0, 0, 0, 0.5);
}

.brand img {
  width: 42px;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.32));
}

.brand span {
  display: inline-block;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.is-arabic {
  direction: rtl;
  font-family: var(--body);
}

.is-arabic .brand {
  direction: ltr;
}

.is-arabic .nav-right,
.is-arabic .hero-actions,
.is-arabic .beat-meta,
.is-arabic .plan-head,
.is-arabic .plan-title-row,
.is-arabic .addon-row {
  flex-direction: row-reverse;
}

.is-arabic .plan-price {
  align-items: flex-start;
}

.is-arabic .plan-price strong,
.is-arabic .plan-price small {
  text-align: left;
}

.is-arabic .intro-panel,
.is-arabic .story-card,
.is-arabic .closing-panel,
.is-arabic .pricing-window {
  text-align: right;
}

.is-arabic .closing-panel {
  text-align: center;
}

.is-arabic .intro-panel h1,
.is-arabic .closing-panel h2 {
  max-width: 1060px;
  font-size: clamp(48px, 7.2vw, 112px);
  line-height: 1.02;
}

.is-arabic .story-card h2 {
  font-size: clamp(36px, 4.4vw, 68px);
  line-height: 1.08;
}

.is-arabic .story-card:nth-child(odd) {
  justify-self: start;
}

.is-arabic .story-card:nth-child(even) {
  justify-self: end;
}

.is-arabic .plan-card li {
  padding-right: 17px;
  padding-left: 0;
}

.is-arabic .plan-card li::before {
  right: 0;
  left: auto;
}

.is-arabic .close-button {
  right: auto;
  left: 22px;
}

.film-label {
  position: absolute;
  top: 50%;
  z-index: 1;
  pointer-events: none;
  color: #00d494;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.film-label--right {
  right: clamp(200px, 22vw, 300px);
  transform: translateY(-50%);
}
.film-label--left {
  left: clamp(130px, 15vw, 210px);
  transform: translateY(-50%);
}
.film-label--center {
  left: 50%;
  transform: translate(-50%, -50%);
}

.nav-right button,
.nav-right a,
.hero-actions a,
.hero-actions button,
.closing-panel button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid rgba(255, 248, 237, 0.3);
  border-radius: 999px;
  background: rgba(255, 248, 237, 0.12);
  color: #fff8ed;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(18px);
}

.nav-right button {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  color: rgba(255, 248, 237, 0.78);
  transition: all 300ms ease;
}

.nav-right button:hover {
  background: rgba(255, 248, 237, 0.08);
  color: #fff8ed;
}

.language-toggle {
  border: 1px solid rgba(255, 248, 237, 0.15) !important;
  background: rgba(255, 248, 237, 0.05) !important;
  color: #fff8ed !important;
  font-weight: 600;
}

.language-toggle:hover {
  background: rgba(255, 248, 237, 0.12) !important;
  border-color: rgba(255, 248, 237, 0.3) !important;
}

.scroll-stage {
  position: relative;
  z-index: 1;
}

.intro-panel,
.closing-panel {
  height: 100svh;
  padding: clamp(60px, 10vh, 120px) clamp(22px, 7vw, 112px) clamp(40px, 6vh, 80px);
  overflow: hidden;
}

.intro-panel {
  display: grid;
  align-content: center;
  justify-items: start;
  text-align: left;
}

.closing-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.closing-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.closing-bottom {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.closing-rights {
  color: rgba(255, 255, 255, 0.22);
  font-size: 12px;
  letter-spacing: 0.03em;
  white-space: nowrap;
  flex-shrink: 0;
}

.closing-contacts {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.contact-icon {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.01em;
  padding: 8px 14px;
  border-radius: 100px;
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  white-space: nowrap;
}

.contact-icon span {
  display: none;
}

.contact-icon:hover {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.contact-icon:hover span {
  display: inline;
}

.contact-icon--whatsapp {
  color: #00d494;
}

.contact-icon--whatsapp:hover {
  border-color: rgba(0, 212, 148, 0.2);
  background: rgba(0, 212, 148, 0.07);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #00d494;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.intro-panel .eyebrow::before {
  content: '';
  width: 14px;
  height: 2px;
  background: #ff6b35;
  border-radius: 1px;
}

.intro-panel h1,
.closing-panel h2 {
  width: min(860px, 100%);
  margin: 16px 0 18px;
  color: #fff8ed;
  font-family: var(--heading);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  text-shadow: 0 20px 80px rgba(0, 0, 0, 0.48);
}

.intro-panel h1 {
  font-size: clamp(44px, 6vw, 80px);
}

.closing-panel h2 {
  font-size: clamp(36px, 4.5vw, 64px);
  margin-bottom: 20px;
}

.closing-panel .btn--primary {
  margin-top: 32px;
}

.intro-panel p {
  width: min(640px, 100%);
  margin: 0;
  color: rgba(255, 248, 237, 0.82);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.6;
  text-shadow: 0 10px 36px rgba(0, 0, 0, 0.38);
}

.closing-panel p {
  margin: 0;
  color: rgba(255, 248, 237, 0.82);
  font-size: clamp(16px, 1.4vw, 20px);
  max-width: 560px;
  line-height: 1.6;
  text-shadow: 0 10px 36px rgba(0, 0, 0, 0.38);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 22px;
}

.hero-actions a {
  border-color: rgba(0, 212, 148, 0.4);
  background: #00a878;
}

.industry-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 7px;
  width: min(760px, 100%);
  margin-top: 14px;
}

.industry-strip span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 248, 237, 0.2);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(255, 248, 237, 0.08);
  color: rgba(255, 248, 237, 0.86);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.story-rail {
  min-height: 650vh;
  position: relative;
  padding: 0 clamp(20px, 6vw, 96px);
}

.story-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  align-items: center;
}

.story-card {
  grid-area: 1 / 1;
  position: relative;
  width: min(540px, 100%);
  padding: 10vh 0;
  display: grid;
  align-content: center;
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  filter: blur(20px);
  letter-spacing: 0.2em;
  transition: opacity 880ms cubic-bezier(0.23, 1, 0.32, 1),
              transform 880ms cubic-bezier(0.23, 1, 0.32, 1),
              filter 880ms cubic-bezier(0.23, 1, 0.32, 1),
              letter-spacing 880ms cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
}


.story-card.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0px);
  letter-spacing: -0.015em;
  pointer-events: auto;
}

.story-card.is-before {
  opacity: 0;
  transform: translateY(-30px) scale(1.05);
  filter: blur(20px);
  letter-spacing: 0.3em;
}

.story-card.is-after {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  filter: blur(20px);
}
.story-card::before {
  content: '';
  position: absolute;
  inset: -10vh -10vw;
  background: radial-gradient(circle at center, rgba(8, 8, 8, 0.35) 0%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.story-card:nth-child(odd) {
  justify-self: end;
}

.beat-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.beat-meta span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(0, 212, 148, 0.5);
  border-radius: 50%;
  color: #fff8ed;
  font-family: var(--heading);
  font-weight: 700;
  background: rgba(8, 8, 8, 0.22);
  backdrop-filter: blur(14px);
}

.beat-meta strong {
  color: #00d494;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.story-card h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  color: #fff8ed;
  font-family: var(--heading);
  font-size: clamp(38px, 5vw, 78px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.story-card p {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  margin: 0;
  color: rgba(255, 248, 237, 0.84);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.5;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.progress-hud {
  position: fixed;
  right: clamp(18px, 3vw, 42px);
  top: 50%;
  z-index: 25;
  display: grid;
  gap: 12px;
  justify-items: center;
  transform: translateY(-50%);
  color: #fff8ed;
  pointer-events: none;
}

.progress-hud span {
  font-family: var(--heading);
  font-size: 13px;
  font-weight: 700;
}

.progress-hud div {
  width: 3px;
  height: 180px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 248, 237, 0.24);
}

.progress-hud i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: #00d494;
  transform-origin: top;
}

.pricing-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  overflow: auto;
  background: rgba(8, 8, 8, 0.72);
  backdrop-filter: blur(18px);
  animation: fadeBackdrop 300ms ease forwards;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

.is-arabic .pricing-backdrop {
  justify-content: center;
}

@keyframes fadeBackdrop {
  from { opacity: 0; }
  to { opacity: 1; }
}

.pricing-window {
  position: relative;
  width: min(1160px, 100%);
  height: auto;
  max-height: calc(100dvh - 48px);
  display: flex;
  flex-direction: column;
  overflow: auto;
  border: 1px solid rgba(123, 185, 216, 0.4);
  border-radius: 28px;
  padding: clamp(20px, 2.2vw, 28px);
  background:
    radial-gradient(circle at 88% 2%, rgba(123, 185, 216, 0.28), transparent 31%),
    radial-gradient(circle at 5% 39%, rgba(211, 235, 247, 0.72), transparent 35%),
    #f8fbfd;
  color: #1d1b19;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
  animation: slideWindow 400ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

.is-arabic .pricing-window {
  border: 1px solid rgba(123, 185, 216, 0.4);
  border-radius: 28px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}

.is-arabic .close-button {
  right: auto;
  left: 22px;
}

@keyframes slideWindow {
  from { opacity: 0; transform: translateX(34px); }
  to { opacity: 1; transform: translateX(0); }
}

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

.pricing-head {
  width: min(760px, calc(100% - 64px));
  flex-shrink: 0;
  margin-bottom: 10px;
}

.close-button {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  margin: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(29, 27, 25, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  color: #1d1b19;
  cursor: pointer;
  backdrop-filter: blur(14px);
  transition: background 220ms ease, transform 220ms ease;
}

.close-button:hover {
  background: #ffffff;
  transform: scale(1.04);
}

.pricing-window h2 {
  margin: 8px 0 10px;
  font-family: var(--heading);
  max-width: 760px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.pricing-head p {
  margin: 0;
  color: #59636a;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.5;
}

.plan-grid {
  display: grid;
  /* The launch card spans the full row; the three current monthly plans then
     share the available width evenly. This intentionally avoids a leftover
     empty grid column after retiring the former five-plan range. */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  flex: 0 0 auto;
  min-height: auto;
  overflow: visible;
}

.plan-card {
  position: relative;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(123, 185, 216, 0.52);
  border-radius: 16px;
  background: #ffffff;
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(45, 91, 116, 0.14);
  border-color: rgba(79, 150, 188, 0.72);
}

.plan-card.featured {
  grid-column: 1 / -1;
  border-color: #7bb9d8;
  background:
    radial-gradient(circle at 93% 8%, rgba(123, 185, 216, 0.25), transparent 31%),
    linear-gradient(145deg, #ffffff 0%, #f1f9fd 100%);
  transform: none;
  box-shadow: 0 14px 34px rgba(43, 91, 115, 0.12);
}

.plan-card:not(.featured) .plan-head {
  display: block;
  margin-bottom: 0;
}

.plan-card:not(.featured) .plan-price {
  align-items: flex-start;
  margin-top: 8px;
}

.plan-card:not(.featured) .plan-price strong,
.plan-card:not(.featured) .plan-price small {
  text-align: left;
}

.plan-card:not(.featured) p {
  min-height: 34px;
  margin-bottom: 0;
  font-size: 12px;
  line-height: 1.35;
}

.plan-card:not(.featured) ul {
  grid-template-columns: 1fr;
  gap: 4px;
  padding-top: 9px;
}

.plan-card:not(.featured) li {
  font-size: 11px;
  line-height: 1.25;
}

.plan-card.featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(43, 91, 115, 0.18);
  border-color: #4f96bc;
}

.plan-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 6px;
}

.plan-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}

.plan-chip {
  border: 1px solid rgba(79, 150, 188, 0.28);
  border-radius: 999px;
  padding: 6px 9px 5px;
  color: #2e799e;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge {
  display: inline-flex;
  align-self: flex-start;
  grid-column: 1 / -1;
  width: fit-content;
  margin-bottom: 2px;
  border-radius: 999px;
  padding: 8px 12px;
  background: #1d1b19;
  color: #e5f4fb;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-card h3 {
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(18px, 1.65vw, 23px);
}

.plan-price strong {
  display: block;
  font-family: var(--heading);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-align: right;
}

.plan-price del {
  color: #8d847b;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-decoration-thickness: 1.5px;
}

.plan-price small {
  display: block;
  color: #2e799e;
  font-size: 11px;
  font-weight: 900;
  text-align: right;
}

.plan-card p,
.addon-row span {
  color: #59636a;
  line-height: 1.45;
}

.plan-card p {
  margin: 0 0 4px;
  font-size: 14px;
}

.plan-card ul {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 14px 0 0;
  list-style: none;
  border-top: 1px solid rgba(30, 33, 29, 0.08);
}

.plan-card li {
  position: relative;
  padding-left: 17px;
  color: rgba(29, 27, 25, 0.78);
  font-size: 13px;
  font-weight: 800;
}

.plan-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4f96bc;
}

.addon-row {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  border: 1px solid rgba(123, 185, 216, 0.46);
  border-radius: 16px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.82);
}

.addon-row div {
  display: grid;
  gap: 8px;
}

.addon-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  background: #1e211d;
  color: #fff8ed;
  font: inherit;
  font-weight: 900;
  white-space: nowrap;
  text-decoration: none;
}

@media (max-width: 760px) {
  .film-grade {
    background:
      linear-gradient(180deg, rgba(8, 8, 8, 0.54), rgba(8, 8, 8, 0.12) 34%, rgba(8, 8, 8, 0.82)),
      linear-gradient(90deg, rgba(8, 8, 8, 0.54), rgba(8, 8, 8, 0.14));
  }

  .loader {
    left: 20px;
    right: 20px;
    bottom: 22px;
    justify-content: space-between;
  }

  .site-nav {
    padding: 18px 16px;
  }

  /* Center film label collides with the brand on narrow screens */
  .film-label--center {
    display: none;
  }

  .brand {
    font-size: 13px;
    letter-spacing: 0.18em;
    gap: 8px;
  }

  .brand img {
    width: 34px;
  }

  .nav-right span,
  .nav-right button:not(.language-toggle) {
    display: none;
  }

  .nav-right {
    gap: 8px;
  }

  .language-toggle {
    min-height: 40px;
    border-color: rgba(255, 248, 237, 0.22) !important;
    background: rgba(255, 248, 237, 0.1) !important;
    padding: 0 11px !important;
    color: #fff8ed !important;
  }

  .nav-right a {
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .intro-panel,
  .closing-panel {
    height: 100svh;
    padding: clamp(50px, 8vh, 90px) 20px clamp(30px, 5vh, 60px);
  }

  .intro-panel h1,
  .closing-panel h2 {
    width: min(100%, 520px);
    font-size: clamp(36px, 10.4vw, 52px);
    line-height: 1.05;
    margin: 14px 0 18px;
  }

  .is-arabic .intro-panel h1,
  .is-arabic .closing-panel h2 {
    font-size: clamp(38px, 10.4vw, 54px);
    line-height: 1.08;
  }

  .intro-panel p {
    font-size: 17px;
    line-height: 1.55;
  }

  .closing-panel p {
    font-size: 16px;
    line-height: 1.55;
  }

  .industry-strip {
    gap: 7px;
    margin-top: 18px;
  }

  .industry-strip span {
    min-height: 30px;
    padding: 0 10px;
    font-size: 10px;
  }

  .story-rail {
    min-height: 700vh;
    padding: 0 20px;
  }

  .story-card,
  .story-card:nth-child(even) {
    justify-self: stretch;
    width: 100%;
    padding: 10vh 0 8vh;
  }

  .is-arabic .story-card,
  .is-arabic .story-card:nth-child(even),
  .is-arabic .story-card:nth-child(odd) {
    justify-self: stretch;
  }

  .story-card h2 {
    font-size: clamp(36px, 10.6vw, 52px);
    line-height: 0.96;
  }

  .is-arabic .story-card h2 {
    font-size: clamp(34px, 9vw, 48px);
    line-height: 1.1;
  }

  .story-card p {
    font-size: 17px;
    line-height: 1.55;
  }

  .story-card.is-before {
    filter: blur(16px);
    letter-spacing: 0.08em;
    transform: translateY(-40px) scale(1.1);
  }

  .story-card.is-after {
    filter: blur(16px);
    letter-spacing: 0.08em;
    transform: translateY(40px) scale(0.9);
  }

  .beat-meta {
    gap: 10px;
    margin-bottom: 14px;
  }

  .beat-meta span {
    width: 44px;
    height: 44px;
  }

  .progress-hud {
    right: 12px;
  }

  .progress-hud div {
    height: 120px;
  }

  /* — pricing: full bottom sheet, vertical scroll — */
  .pricing-backdrop {
    align-items: flex-end;
    padding: 0;
    background: rgba(8, 8, 8, 0.72);
  }

  .pricing-window {
    width: 100%;
    height: 94dvh;
    min-height: unset;
    max-height: 94dvh;
    display: block;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    border: 0;
    border-radius: 20px 20px 0 0;
    padding: 0 0 max(16px, env(safe-area-inset-bottom));
    box-shadow: 0 -16px 50px rgba(0, 0, 0, 0.28);
    animation: slideUp 360ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
    scrollbar-width: thin;
    scrollbar-color: rgba(30, 33, 29, 0.16) transparent;
  }

  /* drag handle */
  .pricing-window::before {
    content: '';
    display: block;
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: rgba(29, 27, 25, 0.16);
    margin: 10px auto 0;
  }

  .pricing-head {
    width: 100%;
    margin: 0;
    padding: 12px 52px 12px 20px;
    border-bottom: 1px solid rgba(123, 185, 216, 0.3);
  }

  .is-arabic .pricing-head {
    padding: 8px 20px 9px 52px;
  }

  .pricing-window h2 {
    display: block;
    max-width: 310px;
    margin: 7px 0 5px;
    font-size: clamp(26px, 8.2vw, 34px);
    line-height: .97;
  }

  .pricing-head p {
    display: block;
    margin: 5px 0 0;
    font-size: 12px;
    color: #59636a;
    line-height: 1.3;
  }

  .pricing-head .eyebrow {
    font-size: 11px;
    line-height: 1;
  }

  .close-button {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 34px;
    height: 34px;
    background: rgba(255, 253, 246, 0.94);
    box-shadow: 0 2px 10px rgba(30, 33, 29, 0.1);
  }

  .is-arabic .close-button {
    right: auto;
    left: 16px;
  }

  .plan-grid {
    display: flex;
    flex-direction: column;
    overflow: visible;
    gap: 8px;
    padding: 14px 14px 10px;
    grid-template-columns: unset;
    grid-auto-rows: unset;
    align-content: unset;
  }

  /* each plan: full width, all features visible */
  .plan-card {
    flex: none;
    width: 100%;
    gap: 8px;
    padding: 15px;
    border-radius: 14px;
    cursor: default;
    transition: none;
  }

  .plan-card:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(30, 33, 29, 0.12);
  }

  .plan-card.featured {
    transform: none;
    box-shadow: 0 8px 22px rgba(43, 91, 115, 0.12);
  }

  .plan-card.featured:hover {
    transform: none;
    box-shadow: 0 8px 22px rgba(43, 91, 115, 0.12);
    border-color: #7bb9d8;
  }

  /* plan-head: name left, price right */
  .plan-head {
    margin-bottom: 4px;
    align-items: center;
  }

  .plan-card h3 {
    font-size: 17px;
  }

  .plan-price strong {
    font-size: clamp(20px, 5.5vw, 24px);
  }

  .plan-price small {
    font-size: 10px;
  }

  .plan-card p {
    font-size: 12px;
    margin: 0 0 6px;
    color: #70675d;
    line-height: 1.4;
  }

  .badge {
    margin-bottom: 6px;
    padding: 4px 9px;
    font-size: 9px;
  }

  /* features always fully visible */
  .plan-card ul {
    max-height: none;
    overflow: visible;
    opacity: 1;
    margin: 0;
    padding: 10px 0 0;
    border-top: 1px solid rgba(123, 185, 216, 0.28);
    transition: none;
    gap: 6px;
    grid-template-columns: 1fr;
  }

  .plan-card li {
    font-size: 12px;
    padding-left: 14px;
  }

  .addon-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin: 0 14px;
    padding: 12px;
    border: 1px solid rgba(123, 185, 216, 0.46);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: none;
  }

  .addon-row div {
    gap: 2px;
  }

  .addon-row strong {
    font-size: 14px;
  }

  .addon-row span {
    display: block;
    font-size: 12px;
    line-height: 1.35;
  }

  .addon-row button {
    width: 100%;
    min-height: 40px;
  }
}

@media (min-width: 761px) and (max-width: 1040px) {
  .pricing-window {
    width: min(920px, 100%);
    padding: clamp(16px, 2vw, 22px);
  }

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

  .plan-card {
    min-height: 0;
    padding: 14px;
  }
}

/* Closing panel mobile */
@media (max-width: 760px) {
  .closing-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .closing-contacts {
    flex-wrap: wrap;
    gap: 4px;
  }

  .contact-icon span {
    display: inline;
  }

  .closing-rights {
    font-size: 11px;
  }
}

/* Notification Toast */
.notification {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
}

.notification.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 24px;
  background: rgba(13, 18, 22, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 212, 148, 0.3);
  border-radius: 100px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.notification-icon {
  color: #00d494;
}

.notification span {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ============================================================
   Cinematic art-direction pass
   Grain, hero choreography, tactile buttons, glowing progress
   ============================================================ */

/* — Film grain: analog texture over the scroll film — */
.film-grade::after {
  content: '';
  position: absolute;
  inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.07;
  mix-blend-mode: overlay;
  pointer-events: none;
  animation: grainShift 9s steps(6) infinite;
}

@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-4%, 3%); }
  40%  { transform: translate(3%, -5%); }
  60%  { transform: translate(-5%, -2%); }
  80%  { transform: translate(4%, 4%); }
  100% { transform: translate(0, 0); }
}

.is-android-device .film-grade::after {
  animation: none;
}

/* — Hero entrance choreography: rise + settle, staggered — */
@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.intro-panel .eyebrow,
.intro-panel h1,
.intro-panel p,
.intro-panel .hero-actions,
.intro-panel .industry-strip {
  animation: heroRise 1100ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.intro-panel .eyebrow        { animation-delay: 250ms; }
.intro-panel h1              { animation-delay: 380ms; }
.intro-panel p               { animation-delay: 540ms; }
.intro-panel .hero-actions   { animation-delay: 680ms; }
.intro-panel .industry-strip { animation-delay: 820ms; }

/* — Eyebrow dash draws itself in — */
.intro-panel .eyebrow::before {
  transform-origin: left center;
  animation: dashDraw 700ms cubic-bezier(0.16, 1, 0.3, 1) 900ms both;
}

.is-arabic .intro-panel .eyebrow::before {
  transform-origin: right center;
}

@keyframes dashDraw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* — "Begin scroll" arrow gently nudges downward — */
.hero-actions a svg {
  animation: nudgeDown 2.2s ease-in-out 2s infinite;
}

@keyframes nudgeDown {
  0%, 100% { transform: translateY(0); }
  45% { transform: translateY(4px); }
  70% { transform: translateY(0); }
}

/* — Tactile buttons: lift, glow, and a light sweep on primary — */
.nav-right .btn--primary,
.hero-actions a,
.hero-actions button,
.closing-panel .btn--primary {
  position: relative;
  overflow: hidden;
  transition: transform 300ms var(--sb-ease-glide, cubic-bezier(0.16, 1, 0.3, 1)),
              box-shadow 300ms ease,
              border-color 300ms ease,
              background 300ms ease;
}

.nav-right .btn--primary:hover,
.hero-actions a:hover,
.hero-actions button:hover,
.closing-panel .btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
}

.nav-right .btn--primary:active,
.hero-actions a:active,
.hero-actions button:active,
.closing-panel .btn--primary:active {
  transform: translateY(0) scale(0.98);
}

.hero-actions a:hover {
  background: #00b884;
  border-color: rgba(0, 212, 148, 0.7);
  box-shadow: 0 18px 48px rgba(0, 168, 120, 0.38);
}

.hero-actions a::after,
.closing-panel .btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-130%);
  pointer-events: none;
  transition: transform 700ms ease;
}

.hero-actions a:hover::after,
.closing-panel .btn--primary:hover::after {
  transform: translateX(130%);
}

/* — Industry chips wake up on hover — */
.industry-strip span {
  transition: transform 260ms var(--sb-ease-out, ease),
              border-color 260ms ease,
              background 260ms ease,
              color 260ms ease;
}

.industry-strip span:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 212, 148, 0.55);
  background: rgba(0, 212, 148, 0.12);
  color: #fff8ed;
}

/* — Active story beat: number ring breathes with mint light — */
.story-card.is-active .beat-meta span {
  animation: beatGlow 3s ease-in-out infinite;
}

@keyframes beatGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 212, 148, 0.0); border-color: rgba(0, 212, 148, 0.5); }
  50% { box-shadow: 0 0 26px 2px rgba(0, 212, 148, 0.34); border-color: rgba(0, 212, 148, 0.9); }
}

/* — Progress rail: gradient light instead of flat fill — */
.progress-hud i {
  background: linear-gradient(180deg, #00d494, #7bb8d4);
  box-shadow: 0 0 14px rgba(0, 212, 148, 0.55);
}

/* — Closing eyebrow rendered as a glowing keycap — */
.closing-panel .eyebrow {
  border: 1px solid rgba(0, 212, 148, 0.36);
  border-radius: 10px;
  padding: 9px 16px 8px;
  background: rgba(8, 8, 8, 0.3);
  box-shadow: 0 4px 0 rgba(0, 212, 148, 0.24), 0 12px 34px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
}

/* — Language + pricing nav buttons ease in on load — */
.site-nav .brand,
.site-nav .nav-right {
  animation: heroRise 900ms cubic-bezier(0.16, 1, 0.3, 1) 150ms both;
}

@media (max-width: 760px) {
  .notification {
    bottom: 20px;
    width: calc(100% - 40px);
  }
  
  .notification-content {
    justify-content: center;
    padding: 10px 20px;
  }

  .notification span {
    font-size: 13px;
  }
  
  .close-button {
    top: 14px;
    right: 14px;
  }
}
.workspace-loader{display:grid;min-height:100vh;place-content:center;gap:7px;padding:24px;background:#f4f6f2;color:#5f6c65;text-align:center;font:700 13px/1.4 var(--sb-body)}.workspace-loader span{color:#5b5499;font-size:10px;font-weight:900;letter-spacing:.16em}.workspace-loader strong{color:#18172c;font-size:16px}.workspace-loader small{font-size:11px;font-weight:500}
.customer-sso-bridge {
  min-height: 100dvh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.65rem;
  padding: 2rem;
  color: #f8fafc;
  background: #172235;
  text-align: center;
  font-family: Inter, system-ui, sans-serif;
}

.customer-sso-bridge__mark {
  color: #7db8d7;
  font-size: 2.4rem;
  line-height: 1;
}

.customer-sso-bridge strong { font-size: clamp(1.1rem, 3vw, 1.5rem); }
.customer-sso-bridge span { color: #b9c4d3; }
/* ============================================================
   Spacebar Design System — Foundations
   Light Glassmorphism • Warm Ivory • Iridescent Glow
   ============================================================ */

@font-face {
  font-family: "Satoshi";
  src: url("/fonts/Satoshi-Variable.ttf") format("truetype-variations"),
       url("/fonts/Satoshi-Variable.ttf") format("truetype");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("/fonts/Satoshi-VariableItalic.ttf") format("truetype-variations"),
       url("/fonts/Satoshi-VariableItalic.ttf") format("truetype");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Clash Display";
  src: url("/fonts/ClashDisplay-Variable.woff2") format("woff2-variations"),
       url("/fonts/ClashDisplay-Variable.woff2") format("woff2"),
       url("/fonts/ClashDisplay-Variable.woff")  format("woff"),
       url("/fonts/ClashDisplay-Variable.ttf")   format("truetype-variations"),
       url("/fonts/ClashDisplay-Variable.ttf")   format("truetype");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

@font-face { font-family: "Clash Display Static"; src: url("/fonts/ClashDisplay-Extralight.woff2") format("woff2"), url("/fonts/ClashDisplay-Extralight.ttf") format("truetype"); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: "Clash Display Static"; src: url("/fonts/ClashDisplay-Light.woff2") format("woff2"), url("/fonts/ClashDisplay-Light.ttf") format("truetype"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Clash Display Static"; src: url("/fonts/ClashDisplay-Regular.woff2") format("woff2"), url("/fonts/ClashDisplay-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Clash Display Static"; src: url("/fonts/ClashDisplay-Medium.woff2") format("woff2"), url("/fonts/ClashDisplay-Medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Clash Display Static"; src: url("/fonts/ClashDisplay-Semibold.woff2") format("woff2"), url("/fonts/ClashDisplay-Semibold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Clash Display Static"; src: url("/fonts/ClashDisplay-Bold.woff2") format("woff2"), url("/fonts/ClashDisplay-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* ---------- 1. Core palette ---------- */
  --sb-black:   #2E2E35;
  --sb-cream:   #FFF8ED;
  --sb-paper:   #FBF3E6;
  --sb-stone:   #E7DDCE;
  --sb-muted:   #6A9CB8;
  --sb-muted-warm: #72695E;
  --sb-mint:    #00A878;
  --sb-mint-2:  #00D494;
  --sb-orange:  #FF6B35;
  --sb-gold:    #D5861A;

  /* ---------- 2. Brand accent palette ---------- */
  --sb-lavender:    #C4A0C8;
  --sb-sky:         #7BB8D4;
  --sb-teal:        #A8D4DC;
  --sb-tan:         #8B5E3C;
  --sb-bluegrey:    #6A9CB8;
  --sb-pinkish:     #E8D8E0;
  --sb-charcoal:    #2E2E35;

  /* ---------- 3. Iridescent glow tokens ---------- */
  --sb-glow-lavender: rgba(196, 160, 200, 0.55);
  --sb-glow-sky:      rgba(123, 184, 212, 0.45);
  --sb-glow-teal:     rgba(168, 212, 220, 0.42);
  --sb-glow-pinkish:  rgba(232, 216, 224, 0.65);
  --sb-glow-amber:    rgba(255, 228, 176, 0.48);
  --sb-glow-purple: var(--sb-glow-lavender);
  --sb-glow-blush:  var(--sb-glow-pinkish);
  --sb-glow-mint:   var(--sb-glow-teal);

  /* ---------- 4. Semantic surfaces ---------- */
  --sb-bg:           var(--sb-paper);
  --sb-surface:      rgba(255, 248, 237, 0.62);
  --sb-surface-2:    rgba(255, 253, 246, 0.86);
  --sb-surface-deep: rgba(30, 33, 29, 0.04);
  --sb-border:       rgba(30, 33, 29, 0.10);
  --sb-border-2:     rgba(30, 33, 29, 0.18);
  --sb-border-glass: rgba(255, 255, 255, 0.65);

  /* ---------- 5. Text ---------- */
  --sb-fg:    var(--sb-black);
  --sb-fg-2:  rgba(30, 33, 29, 0.78);
  --sb-fg-3:  var(--sb-muted);
  --sb-fg-4:  rgba(30, 33, 29, 0.40);
  --sb-fg-inv: var(--sb-cream);

  /* ---------- 6. Semantic status ---------- */
  --sb-success: var(--sb-mint);
  --sb-warning: #E89B1A;
  --sb-danger:  #D64545;
  --sb-info:    #5B7CFA;

  /* ---------- 7. Type ---------- */
  --sb-heading: "Clash Display", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --sb-body:    "Satoshi", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --sb-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* ---------- 8. Type scale ---------- */
  --sb-fs-display: clamp(48px, 6vw, 88px);
  --sb-fs-h1:      clamp(36px, 4vw, 56px);
  --sb-fs-h2:      clamp(28px, 3vw, 40px);
  --sb-fs-h3:      22px;
  --sb-fs-h4:      18px;
  --sb-fs-body:    16px;
  --sb-fs-small:   14px;
  --sb-fs-micro:   12px;
  --sb-fs-eyebrow: 11px;
  --sb-lh-tight:  0.96;
  --sb-lh-snug:   1.15;
  --sb-lh-body:   1.55;
  --sb-lh-loose:  1.7;
  --sb-tracking-tight:  -0.015em;
  --sb-tracking-normal:  0;
  --sb-tracking-wide:    0.04em;
  --sb-tracking-eyebrow: 0.22em;

  /* ---------- 9. Spacing (4px base) ---------- */
  --sb-s-1: 4px;  --sb-s-2: 8px;  --sb-s-3: 12px; --sb-s-4: 16px;
  --sb-s-5: 20px; --sb-s-6: 24px; --sb-s-7: 32px; --sb-s-8: 40px;
  --sb-s-9: 56px; --sb-s-10: 72px; --sb-s-11: 96px;

  /* ---------- 10. Radii ---------- */
  --sb-r-xs:   6px;
  --sb-r-sm:   10px;
  --sb-r-md:   14px;
  --sb-r-lg:   20px;
  --sb-r-xl:   28px;
  --sb-r-2xl:  36px;
  --sb-r-pill: 999px;

  /* ---------- 11. Shadows ---------- */
  --sb-shadow-1:    0 1px 2px rgba(30,33,29,.04), 0 2px 8px rgba(30,33,29,.04);
  --sb-shadow-2:    0 2px 4px rgba(30,33,29,.04), 0 8px 24px rgba(30,33,29,.06);
  --sb-shadow-3:    0 4px 8px rgba(30,33,29,.04), 0 20px 48px rgba(30,33,29,.08);
  --sb-shadow-4:    0 8px 16px rgba(30,33,29,.04), 0 32px 80px rgba(30,33,29,.12);
  --sb-shadow-glow: 0 12px 60px -8px rgba(199,182,255,.45), 0 8px 32px -12px rgba(255,200,216,.4);
  --sb-shadow-inset-hi: inset 0 1px 0 rgba(255,255,255,.8);

  /* ---------- 12. Glass ---------- */
  --sb-blur-glass:   blur(20px) saturate(1.4);
  --sb-blur-modal:   blur(28px) saturate(1.2);
  --sb-blur-overlay: blur(8px) saturate(1.1);

  /* ---------- 13. Motion ---------- */
  --sb-ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --sb-ease-glide: cubic-bezier(0.16, 1, 0.3, 1);
  --sb-ease-quart: cubic-bezier(0.23, 1, 0.32, 1);
  --sb-dur-fast:   160ms;
  --sb-dur-base:   220ms;
  --sb-dur-slow:   400ms;
  --sb-dur-glide:  600ms;

  /* ---------- 14. Iridescent backdrop ---------- */
  --sb-iridescent-bg:
    radial-gradient(60vmax 50vmax at 12% -8%,  rgba(196,160,200,.55), transparent 62%),
    radial-gradient(55vmax 50vmax at 92% 6%,   rgba(123,184,212,.45), transparent 62%),
    radial-gradient(50vmax 45vmax at 88% 104%, rgba(168,212,220,.45), transparent 62%),
    radial-gradient(45vmax 40vmax at 4%  102%, rgba(139,94,60,.20),   transparent 62%),
    radial-gradient(45vmax 40vmax at 50% 60%,  rgba(232,216,224,.45), transparent 62%),
    var(--sb-cream);
}


:root {
  --black: #1E211D;
  --cream: #FFF8ED;
  --paper: #FBF3E6;
  --stone: #E7DDCE;
  --muted: #72695E;
  --mint: #00A878;
  --orange: #FF6B35;
  --heading: 'Clash Display', ui-sans-serif, system-ui, sans-serif;
  --body: 'Satoshi', ui-sans-serif, system-ui, sans-serif;
  color: var(--black);
  background: var(--paper);
  font-family: var(--body);
  font-synthesis: none;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  background: var(--paper);
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
}

button,
a {
  font: inherit;
}

::selection {
  background: var(--mint);
  color: var(--cream);
}

/* ── Global aesthetic polish ─────────────────────────────── */

/* Branded scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: rgba(30, 33, 29, 0.28);
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 168, 120, 0.55);
  background-clip: padding-box;
}

/* Visible, branded keyboard focus without polluting mouse clicks */
:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
