  /* Design tokens (--primary, --accent, palette, light-mode) come from shared.css.
     Page-specific overrides for light mode only: */
  body.light-mode .seller-spotlight .name,
  body.light-mode .stat .value,
  body.light-mode .step-tile .ts-label,
  body.light-mode .flavor-name {
    color: var(--text);
  }

  html, body {
    margin: 0;
    padding: 0;
    background: var(--bg-0);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  body {
    /* Ambient gradient glow that follows the theme */
    background:
      radial-gradient(ellipse at 20% 0%, var(--primary-soft), transparent 55%),
      radial-gradient(ellipse at 85% 30%, var(--accent-soft), transparent 55%),
      radial-gradient(ellipse at 50% 100%, var(--primary-soft), transparent 60%),
      var(--bg-0);
    min-height: 100vh;
  }

  /* ---------- HERO HEADER ---------- */
  header.hero {
    position: relative;
    padding: 48px 24px 40px;
    text-align: center;
    overflow: hidden;
  }
  header.hero::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(180deg, transparent, var(--bg-0));
    pointer-events: none;
    z-index: 0;
  }
  header.hero .hero-inner { position: relative; z-index: 1; }
  header.hero .eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--muted);
    padding: 6px 14px;
    border: 1px solid var(--border-hi);
    border-radius: 100px;
    background: var(--surface);
    backdrop-filter: blur(10px);
    margin-bottom: 16px;
  }
  header.hero h1 {
    margin: 0 0 12px;
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.02;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
  }
  header.hero .tagline {
    margin: 0 auto 22px;
    font-size: clamp(14px, 2.2vw, 18px);
    color: var(--muted);
    max-width: 620px;
  }
  .price-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    border-radius: 100px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #0b0b12;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 8px 32px var(--primary-glow), 0 0 0 1px rgba(255,255,255,0.1) inset;
  }
  .price-pill .dot { width:8px; height:8px; background:#0b0b12; border-radius:50%; opacity:0.6; }

  .fund-promise {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 10px 18px;
    background: var(--surface);
    border: 1px solid var(--primary-soft);
    border-radius: 100px;
    color: var(--text);
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.3px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 4px 18px var(--primary-glow);
    max-width: 100%;
  }
  .fund-promise .fp-icon {
    font-size: 16px;
    line-height: 1;
  }
  .fund-promise .fp-text strong {
    color: var(--primary);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .fund-promise .fp-amount {
    font-weight: 900;
    letter-spacing: 0.5px;
  }

  /* ---------- LAYOUT ---------- */
  main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 20px 48px;
    position: relative;
    z-index: 1;
  }

  .card {
    background: var(--surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 22px 24px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
  }
  .card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-hi), transparent);
  }
  .card h2 {
    margin: 0 0 18px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .card h2::before {
    content: '';
    width: 4px; height: 16px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 2px;
  }

  /* ---------- FORM FIELDS ---------- */
  .grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
  label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  input[type="text"], input[type="tel"], input[type="email"], input[type="number"], input[type="date"], select, textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border-hi);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    background: var(--bg-1);
    color: var(--text);
    transition: all 0.2s ease;
  }
  input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
  }
  input::placeholder, textarea::placeholder { color: #4a4f68; }
  select option { background: var(--bg-2); color: var(--text); }

  /* ---------- THEME CUSTOMIZER ---------- */
  .theme-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }
  .theme-swatch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: var(--bg-1);
    border: 1px solid var(--border-hi);
    border-radius: 100px;
    cursor: pointer;
  }
  .theme-swatch input[type="color"] {
    width: 28px; height: 28px;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    border-radius: 50%;
  }
  .theme-swatch input[type="color"]::-webkit-color-swatch { border: 2px solid var(--border-hi); border-radius: 50%; }
  .theme-swatch input[type="color"]::-moz-color-swatch { border: 2px solid var(--border-hi); border-radius: 50%; }
  .theme-swatch .swatch-label { font-size: 12px; color: var(--muted); font-weight: 600; }

  .preset-row { display: flex; flex-wrap: wrap; gap: 8px; }
  .preset {
    padding: 8px 14px;
    border-radius: 100px;
    border: 1px solid var(--border-hi);
    background: var(--bg-1);
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.15s ease;
  }
  .preset:hover { border-color: var(--primary); transform: translateY(-1px); }
  .preset .chip {
    width: 14px; height: 14px;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.2);
  }

  /* ---------- CATALOG ---------- */
  .catalog-header {
    text-align: center;
    padding: 28px 20px 20px;
  }
  .catalog-header h2 {
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 900;
    letter-spacing: -0.5px;
    margin: 0 0 10px;
    text-transform: uppercase;
  }
  .catalog-header h2 .g1 {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .catalog-header p { color: var(--muted); font-size: 15px; margin: 0; }

  .catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .flavor-card {
    background: var(--surface);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px;
    display: flex;
    gap: 12px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  }
  .flavor-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, transparent, var(--flavor-glow, transparent), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
  }
  .flavor-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-hi);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  }
  .flavor-card:hover::after { opacity: 1; }

  .flavor-icon {
    flex: 0 0 72px;
    width: 72px;
    height: 92px;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.4));
  }
  .flavor-body { flex: 1; min-width: 0; }
  .flavor-name {
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 4px;
    line-height: 1.15;
    outline: none;
  }
  /* Flavor name/desc are static (locked) — no edit affordance */
  .flavor-desc {
    font-size: 12.5px;
    color: var(--muted);
    margin: 0 0 10px;
    line-height: 1.4;
    outline: none;
  }
  .flavor-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 11px;
    color: var(--muted);
  }
  .flavor-meta .price {
    margin-left: auto;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #0b0b12;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 13px;
    letter-spacing: 0.5px;
  }
  .badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
  }
  .badge.energy       { background: rgba(245, 158, 11, 0.12); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
  .badge.caffeine     { background: rgba(245, 158, 11, 0.12); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); font-weight: 700; }
  .badge.beauty       { background: rgba(236, 72, 153, 0.12); color: #f472b6; border: 1px solid rgba(236, 72, 153, 0.3); }
  .badge.low-cal      { background: rgba(34, 211, 238, 0.12); color: #67e8f9; border: 1px solid rgba(34, 211, 238, 0.3); }

  .catalog-note {
    margin-top: 16px;
    padding: 12px 16px;
    background: var(--surface);
    border: 1px dashed var(--border-hi);
    border-radius: 12px;
    font-size: 12.5px;
    color: var(--muted);
    text-align: center;
    backdrop-filter: blur(10px);
  }

  /* ---------- PICKUP LOCATIONS ---------- */
  .loc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
  }
  .loc-card {
    background: var(--bg-1);
    border: 1px solid var(--border-hi);
    border-radius: 12px;
    padding: 14px;
  }
  .loc-card .loc-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .loc-card input { margin-bottom: 8px; }
  .loc-card input:last-child { margin-bottom: 0; }

  /* Locked / verified display */
  .loc-card.locked { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary-soft); }
  .loc-card .verified-badge {
    margin-left: auto;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 9.5px;
    padding: 3px 9px;
    border-radius: 100px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border: 1px solid var(--primary);
  }
  .loc-card .loc-line {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    margin-bottom: 6px;
    background: var(--bg-2);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text);
  }
  .loc-card .loc-line:last-child { margin-bottom: 0; }
  .loc-card .loc-line-icon {
    flex: 0 0 auto;
    font-size: 12px;
    opacity: 0.6;
  }
  .lock-toggle {
    margin-left: auto;
    font-size: 10.5px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    background: var(--bg-1);
    border: 1px solid var(--border-hi);
    color: var(--muted);
    cursor: pointer;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: inherit;
    transition: all 0.15s ease;
  }
  .lock-toggle:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: var(--primary-soft);
  }
  .card h2 { justify-content: flex-start; }

  /* ---------- HOW IT WORKS ---------- */
  .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
  .step {
    background: var(--bg-1);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px;
    font-size: 13px;
    color: var(--text);
  }
  .step .num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #0b0b12;
    width: 26px; height: 26px;
    border-radius: 50%;
    font-weight: 900;
    margin-right: 8px;
    font-size: 13px;
  }
  .tile-steps { grid-template-columns: repeat(4, 1fr); }
  .step-tile {
    background: var(--bg-1);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px 12px;
    text-align: center;
    transition: all 0.2s;
  }
  .step-tile:hover { border-color: var(--primary); box-shadow: 0 6px 18px var(--primary-glow); }
  .step-tile .ts-icon { font-size: 30px; line-height: 1; margin-bottom: 6px; }
  .step-tile .ts-label {
    font-size: 12px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 1px;
    color: var(--text);
  }
  @media (max-width: 640px) {
    .tile-steps { grid-template-columns: repeat(2, 1fr); }
  }

  /* ---------- ORDER TABLE ---------- */
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 12px; }
  table.orders {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13.5px;
    min-width: 1000px;
  }
  table.orders thead th {
    background: var(--bg-2);
    color: var(--muted);
    padding: 12px 10px;
    text-align: left;
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    border-bottom: 1px solid var(--border-hi);
  }
  table.orders tbody td {
    padding: 8px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    background: var(--bg-1);
  }
  table.orders tbody tr:hover td { background: var(--bg-2); }
  table.orders input, table.orders select {
    border: 1px solid transparent;
    background: transparent;
    padding: 8px 8px;
    font-size: 13.5px;
    color: var(--text);
  }
  table.orders input:focus, table.orders select:focus {
    background: var(--bg-0);
    border-color: var(--primary);
  }
  table.orders td.num-col { width: 40px; text-align: center; color: var(--muted); font-weight: 700; font-size: 12px; }
  table.orders td.qty-col input { text-align: center; }
  table.orders td.total-col { font-weight: 800; color: var(--primary); white-space: nowrap; }

  /* Checkbox group in table cells */
  .ff-checks {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .ff-checks label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text);
    text-transform: none;
    letter-spacing: normal;
    font-weight: 500;
    cursor: pointer;
    margin: 0;
    padding: 3px 6px;
    border-radius: 6px;
    border: 1px solid transparent;
  }
  .ff-checks input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 14px; height: 14px;
    border: 1.5px solid var(--border-hi);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    background: var(--bg-0);
    transition: all 0.15s;
    flex-shrink: 0;
  }
  .ff-checks input[type="checkbox"]:checked {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-soft);
  }
  .ff-checks input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    left: 2px; top: -2px;
    color: #0b0b12;
    font-size: 12px;
    font-weight: 900;
  }
  .ff-checks label:has(input:checked) {
    background: var(--primary-soft);
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 600;
  }

  .del-row {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--danger);
    cursor: pointer;
    font-size: 14px;
    padding: 4px 10px;
    border-radius: 6px;
    transition: all 0.15s;
  }
  .del-row:hover { background: rgba(244, 63, 94, 0.15); border-color: var(--danger); }

  /* ---------- BUTTONS ---------- */
  .btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
  button.btn {
    padding: 11px 20px;
    border: 1px solid var(--border-hi);
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
    letter-spacing: 0.3px;
  }
  button.btn.primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-color: transparent;
    color: #0b0b12;
    box-shadow: 0 6px 20px var(--primary-glow);
  }
  button.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 10px 30px var(--primary-glow); }
  button.btn.ghost { background: var(--bg-1); color: var(--text); }
  button.btn.ghost:hover { border-color: var(--primary); color: var(--primary); }
  button.btn.accent {
    background: var(--bg-1);
    color: var(--accent);
    border-color: var(--accent);
  }
  button.btn.accent:hover { background: var(--accent-soft); }

  /* ---------- TOTALS ---------- */
  .totals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
  }
  .stat {
    background: var(--bg-1);
    border: 1px solid var(--border-hi);
    border-radius: 14px;
    padding: 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .stat::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 60%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
  }
  .stat.accent::before { background: linear-gradient(90deg, transparent, var(--accent), transparent); }
  .stat .label {
    font-size: 10.5px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1.3px;
    margin-bottom: 8px;
    font-weight: 700;
  }
  .stat .value {
    font-size: 28px;
    font-weight: 900;
    color: var(--text);
    letter-spacing: -0.5px;
  }
  .stat.accent .value {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .progress-wrap { margin-top: 20px; }
  .progress-bar {
    height: 30px;
    background: var(--bg-0);
    border-radius: 100px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-hi);
  }
  .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0b0b12;
    font-weight: 800;
    font-size: 13px;
    min-width: 40px;
    letter-spacing: 0.5px;
    box-shadow: 0 0 20px var(--primary-glow);
  }

  footer {
    text-align: center;
    padding: 32px 16px;
    color: var(--muted);
    font-size: 12.5px;
    letter-spacing: 0.3px;
  }
  footer .tag {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
  }

  /* ---------- ORG LOGO (upper-left of hero) ---------- */
  .org-logo {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 2;
    width: 84px; height: 84px;
    border-radius: 18px;
    background: var(--surface);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-hi);
    box-shadow: 0 8px 28px rgba(0,0,0,0.35), 0 0 0 1px var(--primary-soft);
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    padding: 6px;
  }
  .org-logo.empty { display: none; }
  .org-logo img {
    max-width: 100%; max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
  }
  @media (max-width: 760px) {
    .org-logo { top: 12px; left: 12px; width: 56px; height: 56px; padding: 4px; border-radius: 14px; }
  }

  /* ---------- SELLER SPOTLIGHT (hero) ---------- */
  .seller-spotlight {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px 10px 10px;
    background: var(--surface);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-hi);
    border-radius: 100px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.35), 0 0 0 1px var(--primary-soft);
    max-width: 300px;
    text-align: left;
  }
  .seller-spotlight .avatar {
    position: relative;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #0b0b12;
    font-weight: 900;
    font-size: 18px;
    letter-spacing: 0.5px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px var(--primary-glow);
    background-size: cover;
    background-position: center;
    overflow: visible;
  }
  .seller-spotlight .avatar.has-photo span { display: none; }
  .seller-spotlight .avatar-edit {
    position: absolute;
    right: -4px; bottom: -4px;
    width: 22px; height: 22px;
    border-radius: 50%;
    border: 2px solid var(--bg-0);
    background: var(--bg-2);
    color: var(--text);
    font-size: 11px;
    cursor: pointer;
    padding: 0;
    display: flex; align-items: center; justify-content: center;
    line-height: 1;
  }
  .seller-spotlight .avatar-edit:hover { background: var(--primary-soft); border-color: var(--primary); }
  .seller-spotlight .label {
    font-size: 9.5px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 800;
    margin-bottom: 2px;
  }
  .seller-spotlight .name {
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
  }
  .seller-spotlight .team {
    font-size: 10.5px;
    color: var(--muted);
    font-weight: 600;
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
  }
  .seller-spotlight.empty { display: none; }

  /* ---------- SAVED INDICATOR ---------- */
  .saved-chip {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    background: var(--surface);
    backdrop-filter: blur(14px);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 8px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    box-shadow: 0 8px 28px var(--primary-glow);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: all 0.3s ease;
  }
  .saved-chip.show { opacity: 1; transform: translateY(0); }
  .saved-chip::before {
    content: '✓';
    margin-right: 6px;
    font-weight: 900;
  }

  /* ---------- TAB NAVIGATION ---------- */
  .tab-nav {
    display: flex;
    gap: 8px;
    margin: 0 auto 16px;
    max-width: 540px;
    padding: 6px;
    background: var(--surface);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border-hi);
    border-radius: 14px;
  }
  .tab-btn {
    flex: 1;
    padding: 10px 14px;
    border: none;
    background: transparent;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.15s ease;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }
  .tab-btn:hover { color: var(--text); }
  .tab-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #0b0b12;
    box-shadow: 0 6px 18px var(--primary-glow);
  }
  .tab-btn .lock-emoji { font-size: 11px; }

  .tab-panel { display: none; }
  .tab-panel.active { display: block; }

  /* ---------- PIN GATE ---------- */
  .pin-gate {
    text-align: center;
    padding: 48px 24px;
    background: var(--surface);
    border: 1px solid var(--border-hi);
    border-radius: 18px;
    backdrop-filter: blur(14px);
  }
  .pin-gate h3 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .pin-gate p {
    margin: 0 auto 20px;
    max-width: 360px;
    color: var(--muted);
    font-size: 13px;
  }
  .pin-input {
    font-size: 22px;
    letter-spacing: 8px;
    text-align: center;
    padding: 14px !important;
    width: 200px !important;
    max-width: 90%;
    font-weight: 900;
  }
  .pin-hint {
    margin-top: 14px;
    font-size: 11px;
    color: var(--muted);
  }
  .pin-hint a { color: var(--primary); text-decoration: none; cursor: pointer; }
  .pin-hint a:hover { text-decoration: underline; }

  /* First-time setup CTA on the PIN gate */
  .first-time-cta {
    margin-top: 22px;
    padding: 18px 22px;
    background: linear-gradient(135deg, var(--primary-soft), var(--accent-soft));
    border: 1.5px solid var(--primary);
    border-radius: 14px;
    box-shadow: 0 8px 22px var(--primary-glow);
    text-align: center;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    font-family: inherit;
    color: var(--text);
    width: 100%;
    display: block;
  }
  .first-time-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px var(--primary-glow);
  }
  .first-time-cta .ftc-eyebrow {
    font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
    color: var(--muted); font-weight: 800; margin-bottom: 4px;
  }
  .first-time-cta .ftc-title {
    font-size: 17px; font-weight: 900; letter-spacing: -0.2px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  }
  .first-time-cta .ftc-sub {
    font-size: 12.5px; color: var(--muted);
    margin-top: 4px; line-height: 1.4;
  }
  .pin-error {
    color: var(--danger);
    font-size: 12px;
    font-weight: 700;
    margin-top: 10px;
    min-height: 16px;
  }

  /* ---------- DASHBOARD ---------- */
  .dash-hero {
    background:
      linear-gradient(135deg, var(--primary-soft), var(--accent-soft)),
      var(--surface);
    border: 1px solid var(--border-hi);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .dash-hero::before {
    content: '';
    position: absolute;
    top: -30%; left: -10%;
    width: 50%; height: 160%;
    background: radial-gradient(ellipse, var(--primary-glow), transparent 60%);
    pointer-events: none;
  }
  .dash-hero::after {
    content: '';
    position: absolute;
    top: -30%; right: -10%;
    width: 50%; height: 160%;
    background: radial-gradient(ellipse, var(--accent-glow), transparent 60%);
    pointer-events: none;
  }
  .dash-hero > * { position: relative; z-index: 1; }
  .dash-hero .label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
  }
  .dash-hero .big-number {
    font-size: clamp(44px, 9vw, 72px);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
  }
  .dash-hero .sub {
    margin-top: 8px;
    font-size: 13px;
    color: var(--muted);
  }

  /* ====================================================================
     FLOW WALKTHROUGH — animated CSS-only previews of the participant
     and customer flows. Two phone frames side-by-side on desktop,
     stacked on mobile. Each cycles through 4 steps via opacity keyframes
     so it loops silently like a GIF. Future-proof: a hidden .fw-video-slot
     lets us swap to real screen-recording MP4s later without re-doing
     the surrounding layout.
     ==================================================================== */
  .fw-card { padding: 24px 22px; }
  .fw-card h2 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin: 0 0 6px;
  }
  .fw-sub {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.55;
    margin: 0 0 22px;
    max-width: 580px;
  }
  .fw-foot {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
    margin: 22px 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    text-align: center;
  }

  .fw-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
  @media (max-width: 720px) {
    .fw-grid { grid-template-columns: 1fr; gap: 28px; }
  }

  .fw-mockup {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  .fw-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    width: 100%;
    max-width: 240px;
  }
  .fw-label-icon { font-size: 22px; }
  .fw-label strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.2px;
  }
  .fw-label span {
    font-size: 11.5px;
    color: var(--muted);
    letter-spacing: 0.3px;
  }

  /* Phone-shaped frame — rounded rectangle with subtle bezels */
  .fw-phone {
    position: relative;
    width: 220px;
    aspect-ratio: 9 / 17;
    background: #0e0e18;
    border-radius: 32px;
    padding: 10px;
    box-shadow:
      0 28px 60px rgba(45, 30, 8, 0.20),
      0 2px 4px rgba(45, 30, 8, 0.08),
      inset 0 0 0 1px rgba(255,255,255,0.08);
  }
  .fw-phone-notch {
    position: absolute;
    top: 8px; left: 50%;
    transform: translateX(-50%);
    width: 70px; height: 16px;
    background: #0a0a12;
    border-radius: 0 0 14px 14px;
    z-index: 3;
  }
  .fw-phone-screen {
    position: relative;
    width: 100%; height: 100%;
    background: var(--cream);
    border-radius: 24px;
    overflow: hidden;
    /* Soft dot pattern echoing the landing — keeps it visually consistent */
    background-image: radial-gradient(circle at 1px 1px, rgba(124, 83, 20, 0.10) 1px, transparent 0);
    background-size: 12px 12px;
  }

  /* Every step screen is absolutely positioned, full-bleed, hidden by default.
     Each cycles to opacity:1 for ~3s out of a 12s total loop. */
  .fw-step {
    position: absolute;
    inset: 0;
    padding: 28px 14px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    text-align: center;
    font-family: var(--font-body);
    color: #1a1a28;
  }
  .fw-step-eyebrow {
    font-size: 8.5px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #7c5314;
    font-weight: 800;
  }
  .fw-step-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.3px;
    line-height: 1.2;
    color: #1a1a28;
  }
  .fw-step-title--success {
    background: linear-gradient(135deg, #d4af37, #7c5314);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
    font-weight: 900;
    font-size: 18px;
  }
  .fw-step-caption {
    font-size: 11px;
    color: #6b7280;
    line-height: 1.4;
    max-width: 90%;
  }
  .fw-step-tile {
    width: 88%;
    padding: 14px 8px;
    background: #ffffff;
    border: 1.5px solid rgba(124, 83, 20, 0.2);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
  }
  .fw-step-tile--highlight {
    border-color: #d4af37;
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.30);
  }
  .fw-step-tile-icon { font-size: 24px; line-height: 1; margin-bottom: 2px; }
  .fw-step-tile strong { font-size: 12px; font-weight: 800; color: #1a1a28; }
  .fw-step-tile em { font-size: 9px; color: #7c5314; font-weight: 700; font-style: normal; letter-spacing: 0.4px; }

  .fw-step-input {
    width: 86%;
    padding: 8px 10px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 8px;
    font-size: 11px;
    color: #1a1a28;
    text-align: left;
    font-weight: 500;
  }
  .fw-step-input--photo { color: #9ca3af; font-style: italic; font-size: 10px; }

  .fw-step-btn {
    margin-top: 6px;
    padding: 9px 14px;
    background: linear-gradient(135deg, #d4af37, #7c5314);
    color: #0e0e18;
    border-radius: 100px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.4px;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.35);
  }

  /* Big code reveal — for participant step 3 + customer step 2 */
  .fw-step-code {
    font-family: ui-monospace, Menlo, monospace;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 4px;
    color: #1a1a28;
    background: linear-gradient(135deg, rgba(212,175,55,0.14), rgba(124,83,20,0.14));
    border: 2px solid #d4af37;
    border-radius: 10px;
    padding: 10px 14px;
    margin-top: 4px;
  }
  .fw-step-code--input {
    background: #ffffff;
    border-color: rgba(0,0,0,0.12);
  }
  .fw-step-bubble {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 8px 10px;
    font-size: 10.5px;
    color: #374151;
    line-height: 1.35;
    text-align: left;
    max-width: 88%;
    margin-top: 4px;
  }
  .fw-step-bubble strong { color: #7c5314; }

  /* Flavor row for the customer cart preview */
  .fw-step-flavor {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 88%;
    padding: 6px 8px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 8px;
    font-size: 10.5px;
    color: #1a1a28;
    font-weight: 600;
    text-align: left;
  }
  .fw-step-flavor-cup { font-size: 14px; line-height: 1; }
  .fw-step-flavor span:nth-child(2) { flex: 1; }
  .fw-step-flavor-qty {
    font-family: ui-monospace, Menlo, monospace;
    font-size: 10px;
    color: #7c5314;
    font-weight: 700;
  }
  .fw-step-cart {
    margin-top: 4px;
    font-size: 10px;
    color: #7c5314;
    font-weight: 700;
  }

  /* ── Keyframe cycles — 12s total loop, 4 steps × 3s each.
     Each step shows for ~2.5s (full opacity), 0.5s fade. ── */
  @keyframes fwCycleP1 {
    0%, 20%   { opacity: 1; }
    25%, 100% { opacity: 0; }
  }
  @keyframes fwCycleP2 {
    0%, 24%   { opacity: 0; }
    25%, 45%  { opacity: 1; }
    50%, 100% { opacity: 0; }
  }
  @keyframes fwCycleP3 {
    0%, 49%   { opacity: 0; }
    50%, 70%  { opacity: 1; }
    75%, 100% { opacity: 0; }
  }
  @keyframes fwCycleP4 {
    0%, 74%   { opacity: 0; }
    75%, 95%  { opacity: 1; }
    100%      { opacity: 0; }
  }
  .fw-step--p1, .fw-step--c1 { animation: fwCycleP1 12s ease-in-out infinite; }
  .fw-step--p2, .fw-step--c2 { animation: fwCycleP2 12s ease-in-out infinite; }
  .fw-step--p3, .fw-step--c3 { animation: fwCycleP3 12s ease-in-out infinite; }
  .fw-step--p4, .fw-step--c4 { animation: fwCycleP4 12s ease-in-out infinite; }

  /* Step indicator dots — animate the "active" highlight in sync with steps */
  .fw-dots {
    display: flex;
    gap: 6px;
    justify-content: center;
  }
  .fw-dots span {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(124, 83, 20, 0.20);
    transition: background 0.3s ease;
  }
  @keyframes fwDot1 { 0%, 20% { background: #d4af37; transform: scale(1.3); } 25%, 100% { background: rgba(124, 83, 20, 0.20); transform: scale(1); } }
  @keyframes fwDot2 { 0%, 24% { background: rgba(124, 83, 20, 0.20); transform: scale(1); } 25%, 45% { background: #d4af37; transform: scale(1.3); } 50%, 100% { background: rgba(124, 83, 20, 0.20); transform: scale(1); } }
  @keyframes fwDot3 { 0%, 49% { background: rgba(124, 83, 20, 0.20); transform: scale(1); } 50%, 70% { background: #d4af37; transform: scale(1.3); } 75%, 100% { background: rgba(124, 83, 20, 0.20); transform: scale(1); } }
  @keyframes fwDot4 { 0%, 74% { background: rgba(124, 83, 20, 0.20); transform: scale(1); } 75%, 95% { background: #d4af37; transform: scale(1.3); } 100% { background: rgba(124, 83, 20, 0.20); transform: scale(1); } }
  .fw-dots span:nth-child(1) { animation: fwDot1 12s ease-in-out infinite; }
  .fw-dots span:nth-child(2) { animation: fwDot2 12s ease-in-out infinite; }
  .fw-dots span:nth-child(3) { animation: fwDot3 12s ease-in-out infinite; }
  .fw-dots span:nth-child(4) { animation: fwDot4 12s ease-in-out infinite; }

  /* Respect reduced-motion preferences — disable the animations but still
     show the first step (so the user sees something static & readable). */
  @media (prefers-reduced-motion: reduce) {
    .fw-step, .fw-dots span { animation: none !important; }
    .fw-step--p1, .fw-step--c1 { opacity: 1; }
    .fw-step--p2, .fw-step--p3, .fw-step--p4,
    .fw-step--c2, .fw-step--c3, .fw-step--c4 { opacity: 0; }
    .fw-dots span:first-child { background: #d4af37; }
  }

  /* Future video swap slot — hidden by default. If a real recording lands
     at assets/{participant,customer}-walkthrough.mp4, JS reveals the slot
     and the CSS animation behind it pauses (display: none on the phone). */
  .fw-video-slot[hidden] { display: none; }
  .fw-video-slot:not([hidden]) {
    width: 220px;
    aspect-ratio: 9 / 17;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 28px 60px rgba(45, 30, 8, 0.20);
  }
  .fw-video-slot:not([hidden]) video {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
  }
  /* When the video slot is visible, hide the CSS-animated phone */
  .fw-mockup:has(.fw-video-slot:not([hidden])) .fw-phone,
  .fw-mockup:has(.fw-video-slot:not([hidden])) .fw-dots { display: none; }

  /* ====================================================================
     CONFETTI BURST — fires when a prize tier unlocks on the dashboard.
     Pure CSS animation, no library. 24 colored chips fly out from center
     and fade. A small toast slides up to name the milestone unlocked.
     ==================================================================== */
  .confetti-burst {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 99999;
    overflow: hidden;
  }
  .confetti-burst i {
    position: absolute;
    top: 50%; left: 50%;
    width: 10px; height: 14px;
    background: var(--c, #d4af37);
    border-radius: 2px;
    transform-origin: center;
    animation: confettiFly var(--t, 1100ms) cubic-bezier(0.2, 0.7, 0.4, 1) forwards;
    will-change: transform, opacity;
  }
  @keyframes confettiFly {
    0%   { transform: translate(-50%, -50%) rotate(0deg) scale(1); opacity: 1; }
    70%  { opacity: 1; }
    100% {
      transform: translate(
        calc(-50% + cos(var(--a, 0deg)) * var(--d, 120px)),
        calc(-50% + sin(var(--a, 0deg)) * var(--d, 120px) + 80px)
      ) rotate(540deg) scale(0.6);
      opacity: 0;
    }
  }
  .confetti-toast {
    position: absolute;
    top: 28%; left: 50%;
    transform: translate(-50%, -50%);
    padding: 12px 22px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #0b0b12;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 900;
    box-shadow: 0 12px 36px var(--primary-glow);
    white-space: nowrap;
    animation: confettiToastIn 1.8s ease-out forwards;
  }
  .confetti-toast .confetti-medal { font-size: 20px; margin-right: 8px; vertical-align: middle; }
  @keyframes confettiToastIn {
    0%   { transform: translate(-50%, -10px) scale(0.6); opacity: 0; }
    18%  { transform: translate(-50%, -50%) scale(1.05); opacity: 1; }
    25%  { transform: translate(-50%, -50%) scale(1); }
    80%  { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, calc(-50% - 30px)) scale(0.95); opacity: 0; }
  }
  @media (prefers-reduced-motion: reduce) {
    .confetti-burst i { animation: none; opacity: 0; }
    .confetti-toast { animation: confettiToastIn 0s linear forwards; }
  }

  /* ====================================================================
     SKELETON LOADER — replaces plain "Loading…" text with shimmering
     placeholder bars. Re-uses the lpShimmer keyframe defined for landing.
     ==================================================================== */
  .skeleton-loader {
    display: flex; flex-direction: column; gap: 10px;
    padding: 12px 0;
  }
  .skeleton-line {
    height: 14px;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--border) 25%, var(--border-hi) 50%, var(--border) 75%);
    background-size: 200% 100%;
    animation: lpShimmer 1.5s linear infinite;
  }
  .skeleton-line.short { width: 40%; }
  .skeleton-line.mid   { width: 70%; }
  .skeleton-line.long  { width: 95%; }

  /* Privacy note above the participant orders table. Hidden by default;
     surfaces only when body has the participant-view class (i.e. when an
     authenticated participant is viewing their own dashboard). Organizers
     viewing the same page see full PII and don't need this note. */
  .participant-privacy-note { display: none; }
  body.participant-view .participant-privacy-note {
    display: block;
    margin: -4px 0 14px;
    padding: 10px 14px;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--text);
    background: var(--primary-soft);
    border: 1px solid var(--primary);
    border-radius: 10px;
  }
  body.participant-view .participant-privacy-note strong {
    color: var(--primary);
  }

  /* ====================================================================
     PARTICIPANT SIGN-IN MODAL — re-hydrate STATE from cloud via access code.
     Closes the cross-device gap (signed up on phone, switching to laptop).
     ==================================================================== */
  .ps-modal {
    position: fixed; inset: 0;
    z-index: 100000;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
  }
  .ps-modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
  }
  .ps-modal-card {
    position: relative;
    width: 100%; max-width: 440px;
    background: var(--surface); backdrop-filter: blur(20px);
    border: 1px solid var(--border-hi);
    border-radius: 22px;
    padding: 32px 28px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    animation: psSlideIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  @keyframes psSlideIn {
    from { transform: translateY(16px) scale(0.96); opacity: 0; }
    to   { transform: translateY(0) scale(1);       opacity: 1; }
  }
  .ps-modal-close {
    position: absolute; top: 12px; right: 14px;
    background: transparent; border: none;
    color: var(--muted); font-size: 18px; cursor: pointer;
    font-family: inherit; padding: 6px 10px;
    line-height: 1;
  }
  .ps-modal-close:hover { color: var(--text); }
  .ps-eyebrow {
    font-size: 11px; letter-spacing: 2.2px; text-transform: uppercase;
    color: var(--muted); font-weight: 800; margin-bottom: 8px;
  }
  .ps-title {
    font-size: 24px; font-weight: 900; letter-spacing: -0.4px;
    margin: 0 0 8px; line-height: 1.2;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  }
  .ps-sub {
    color: var(--muted); font-size: 13.5px; line-height: 1.55;
    margin: 0 0 18px;
  }
  .ps-label {
    display: block; font-size: 11px; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--muted); font-weight: 800;
    margin-bottom: 6px;
  }
  .ps-input {
    width: 100%; padding: 14px 16px;
    background: var(--bg-1); border: 1.5px solid var(--border-hi);
    border-radius: 12px;
    color: var(--text);
    font-size: 22px; font-weight: 800;
    letter-spacing: 5px; text-align: center;
    font-family: ui-monospace, Menlo, monospace;
    text-transform: uppercase;
  }
  .ps-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
  /* Numeric token variant — tighter letter-spacing, no uppercase since it's digits */
  .ps-token-input {
    letter-spacing: 12px;
    text-transform: none;
  }
  .ps-error {
    color: var(--danger); font-size: 12.5px; font-weight: 700;
    margin: 10px 0 0; line-height: 1.4; min-height: 18px;
  }
  .ps-actions {
    display: flex; gap: 10px; margin-top: 18px;
    justify-content: space-between;
  }
  .ps-actions .btn { flex: 1; padding: 13px 16px; font-size: 14px; }
  .ps-hint {
    margin: 18px 0 0; padding-top: 14px;
    border-top: 1px solid var(--border);
    font-size: 11.5px; color: var(--muted); line-height: 1.5;
  }

  /* ───────── ORGANIZER-APPLICATION MODAL (wider variant of .ps-modal) ─────────
     Reuses the .ps-modal card/eyebrow/title/sub/actions/hint shell. Adds:
       • .ps-wide — wider card to fit the 2-column form
       • .oa-* — normal text inputs (the base .ps-input is monospaced for codes)
       • .oa-field-grid — 2-column responsive grid for fields
  */
  .ps-modal-card.ps-wide {
    max-width: 540px;
    padding: 30px 26px;
    /* Long forms — let the card scroll internally rather than push past the
       viewport. Keeps the close button always reachable at the top. */
    max-height: 92vh;
    overflow-y: auto;
  }
  .oa-field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .oa-field { display: block; }
  .oa-field.oa-full { grid-column: 1 / -1; }
  @media (max-width: 480px) {
    .oa-field-grid { grid-template-columns: 1fr; }
  }
  .oa-req { color: var(--danger); margin-left: 2px; }
  .oa-input {
    width: 100%;
    padding: 11px 13px;
    background: var(--bg-1);
    border: 1.5px solid var(--border-hi);
    border-radius: 10px;
    color: var(--text);
    /* Override the monospaced/big-letter-spacing base .ps-input style: */
    font-size: 14.5px;
    font-weight: 500;
    letter-spacing: normal;
    text-align: left;
    font-family: inherit;
    text-transform: none;
    transition: border-color 120ms ease, box-shadow 120ms ease;
  }
  .oa-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
  }
  .oa-textarea {
    resize: vertical;
    min-height: 88px;
    line-height: 1.5;
  }
  .oa-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
                      linear-gradient(135deg, var(--muted) 50%, transparent 50%);
    background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 32px;
  }

  /* Pin-gate multi-fundraiser picker (shown when one email manages >1 fundraiser) */
  .pg-multi-list {
    display: flex; flex-direction: column; gap: 8px;
  }
  .pg-multi-list button {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px;
    background: var(--bg-1);
    border: 1.5px solid var(--border-hi);
    border-radius: 12px;
    cursor: pointer;
    font-family: inherit; color: var(--text);
    text-align: left; width: 100%;
    -webkit-appearance: none; appearance: none;
  }
  .pg-multi-list button:hover { border-color: var(--primary); }
  .pg-multi-list .pg-multi-name { font-weight: 800; font-size: 14px; flex: 1; }
  .pg-multi-list .pg-multi-id { font-size: 11px; color: var(--muted); font-family: ui-monospace, Menlo, monospace; }
  .pg-multi-list .pg-multi-arrow { color: var(--primary); font-weight: 800; }

  /* Prize tier cloud-sync indicator (chip in the section heading) */
  .prize-sync-indicator {
    font-size: 10.5px; font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--muted);
    padding: 3px 9px;
    border-radius: 100px;
    border: 1px solid var(--border-hi);
    background: var(--bg-1);
    margin-left: 6px;
    white-space: nowrap;
  }
  .prize-sync-indicator.syncing {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-soft);
  }
  .prize-sync-indicator.synced {
    color: var(--primary);
    border-color: var(--primary);
    background: var(--primary-soft);
  }
  .prize-sync-indicator.error {
    color: var(--danger);
    border-color: var(--danger);
    background: rgba(244,63,94,0.08);
  }

  /* ====================================================================
     LAUNCH KIT CARD (organizer dashboard) — promotion + launch tools
     Templates, asset generators, and coaching CTA for new organizers.
     ==================================================================== */
  #launchKitCard h2 {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  }
  .lk-tag {
    font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #0b0b12; padding: 3px 10px; border-radius: 100px;
  }
  .lk-sub {
    color: var(--muted); font-size: 13px; line-height: 1.5; margin: -4px 0 16px;
  }
  .lk-section-h {
    font-size: 15px; font-weight: 800; margin: 18px 0 4px; color: var(--text);
    letter-spacing: -0.2px;
  }
  .lk-section-sub {
    color: var(--muted); font-size: 12.5px; line-height: 1.5; margin: 0 0 12px;
  }
  /* Audience selector */
  .lk-audience { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; flex-wrap: wrap; }
  .lk-audience-label {
    font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--muted); font-weight: 700;
  }
  .lk-audience-tabs {
    display: flex; gap: 6px; flex-wrap: wrap;
  }
  .lk-aud-tab {
    padding: 6px 12px;
    background: var(--bg-1); border: 1.5px solid var(--border-hi);
    border-radius: 100px;
    font-size: 12.5px; font-weight: 700; color: var(--muted);
    cursor: pointer; font-family: inherit;
    -webkit-appearance: none; appearance: none;
    -webkit-tap-highlight-color: transparent;
    transition: all 0.15s ease;
  }
  .lk-aud-tab:hover { color: var(--text); border-color: var(--primary); }
  .lk-aud-tab.active {
    background: var(--primary-soft); border-color: var(--primary); color: var(--primary);
  }
  /* Template grid */
  .lk-template-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px;
  }
  .lk-template {
    background: var(--bg-1); border: 1px solid var(--border-hi);
    border-radius: 14px; padding: 14px 16px;
    display: flex; flex-direction: column;
    transition: border-color 0.15s;
  }
  .lk-template:hover { border-color: var(--primary); }
  .lk-template-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px; margin-bottom: 6px;
  }
  .lk-template-title {
    font-size: 14px; font-weight: 800; color: var(--text); letter-spacing: -0.2px;
  }
  .lk-template-copy-btn {
    padding: 6px 12px;
    background: var(--bg-0); border: 1.5px solid var(--border-hi);
    border-radius: 8px;
    font-size: 11.5px; font-weight: 800; color: var(--text);
    cursor: pointer; font-family: inherit; letter-spacing: 0.3px;
    -webkit-appearance: none; appearance: none;
    transition: all 0.15s ease;
    flex-shrink: 0;
  }
  .lk-template-copy-btn:hover { border-color: var(--primary); color: var(--primary); }
  .lk-template-copy-btn.copied {
    background: var(--primary-soft); border-color: var(--primary); color: var(--primary);
  }
  .lk-template-body {
    font-size: 12.5px; line-height: 1.55; color: var(--muted);
    white-space: pre-wrap; word-wrap: break-word;
    max-height: 120px; overflow-y: auto;
    padding-top: 6px;
    border-top: 1px dashed var(--border);
  }
  .lk-template[open] .lk-template-body { max-height: 600px; }
  /* Asset grid */
  .lk-asset-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px;
  }
  .lk-asset-btn {
    background: var(--bg-1); border: 1.5px solid var(--border-hi);
    border-radius: 14px; padding: 16px 14px;
    text-align: left; cursor: pointer; font-family: inherit; color: var(--text);
    -webkit-appearance: none; appearance: none;
    -webkit-tap-highlight-color: rgba(16,185,129,0.18);
    transition: all 0.15s ease;
  }
  .lk-asset-btn:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--primary-glow);
  }
  .lk-asset-icon { font-size: 28px; line-height: 1; margin-bottom: 8px; }
  .lk-asset-name { font-size: 14px; font-weight: 800; margin-bottom: 4px; }
  .lk-asset-desc { font-size: 11.5px; color: var(--muted); line-height: 1.45; }
  /* Coach CTA */
  .lk-coach-cta {
    margin-top: 22px;
    padding: 18px 20px;
    background: linear-gradient(135deg, var(--primary-soft), var(--accent-soft));
    border: 1.5px solid var(--primary);
    border-radius: 14px;
    text-align: center;
  }
  .lk-coach-headline {
    font-size: 16px; font-weight: 900; margin-bottom: 4px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  }
  .lk-coach-sub {
    font-size: 12.5px; color: var(--text); line-height: 1.5; margin-bottom: 12px;
  }
  .lk-coach-btn {
    display: inline-block;
    padding: 11px 22px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #0b0b12;
    border-radius: 100px;
    font-size: 13.5px; font-weight: 800;
    text-decoration: none;
    box-shadow: 0 6px 18px var(--primary-glow);
  }
  .lk-coach-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px var(--primary-glow); }
  @media (max-width: 600px) {
    .lk-aud-tab { padding: 5px 10px; font-size: 11.5px; }
    .lk-template-body { max-height: 90px; }
  }

  /* ====================================================================
     LIVE ORDERS CARD (organizer dashboard) — cloud-backed orders feed.
     30s auto-refresh + "refreshed at" timestamp + 3-stat header row.
     ==================================================================== */
  /* ====================================================================
     MY TEAM CARD — organizer's roster of signed-up participants + codes.
     ==================================================================== */
  #myTeamCard h2 {
    display: flex; align-items: center; gap: 10px;
    flex-wrap: wrap;
  }
  .my-team-count {
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.4px;
    color: var(--muted);
    display: inline-flex; align-items: center; gap: 6px;
  }
  .my-team-body { min-height: 60px; }
  .my-team-empty {
    padding: 20px 16px;
    text-align: center;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.5;
    background: var(--bg-1);
    border: 1px dashed var(--border);
    border-radius: 10px;
  }
  .my-team-empty strong { color: var(--text); font-weight: 700; }
  .mt-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px 14px;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-1);
    margin-bottom: 10px;
  }
  .mt-row:last-child { margin-bottom: 0; }
  .mt-name {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
  }
  .mt-meta {
    font-size: 11.5px;
    color: var(--muted);
    margin-top: 3px;
    line-height: 1.35;
  }
  .mt-meta .mt-orders-paid { color: var(--primary); font-weight: 700; }
  .mt-code-btn {
    font-family: 'Space Grotesk', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 10px 14px;
    background: var(--primary-soft);
    color: var(--primary);
    border: 1.5px dashed var(--primary);
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.12s ease;
  }
  .mt-code-btn:hover { transform: translateY(-1px); }
  .mt-code-btn.copied {
    background: var(--primary);
    color: var(--ink, #fff);
    border-style: solid;
  }
  @media (max-width: 520px) {
    .mt-row { grid-template-columns: 1fr; }
    .mt-code-btn { justify-self: start; }
  }

  #liveOrdersCard h2 {
    display: flex; align-items: center; gap: 10px;
    flex-wrap: wrap;
  }
  .live-orders-sync {
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.4px;
    color: var(--muted);
    display: inline-flex; align-items: center; gap: 6px;
  }
  .live-orders-sync::before {
    content: '';
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--muted);
  }
  .live-orders-sync.live::before {
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
    animation: liveDot 2s ease-in-out infinite;
  }
  .live-orders-sync.error::before { background: var(--danger); }
  @keyframes liveDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.45; transform: scale(0.75); }
  }
  .live-stat-row {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
    margin: 0 0 18px;
  }
  .live-stat {
    background: var(--bg-1);
    border: 1px solid var(--border-hi);
    border-radius: 14px;
    padding: 14px 12px;
    text-align: center;
  }
  .live-stat-num {
    font-size: 24px; font-weight: 900; letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    line-height: 1.1;
  }
  .live-stat-lbl {
    font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase;
    color: var(--muted); font-weight: 700; margin-top: 4px;
  }
  .live-orders-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .live-orders-table-wrap table {
    width: 100%; border-collapse: collapse; font-size: 12.5px;
  }
  .live-orders-table-wrap th,
  .live-orders-table-wrap td {
    padding: 8px 10px; text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
  }
  .live-orders-table-wrap th {
    font-size: 10.5px; letter-spacing: 0.8px; text-transform: uppercase;
    color: var(--muted); font-weight: 800;
    border-bottom: 1px solid var(--border-hi);
    white-space: nowrap;
  }
  .live-orders-table-wrap .pill {
    display: inline-block; padding: 2px 8px; border-radius: 100px;
    font-size: 10.5px; font-weight: 800; letter-spacing: 0.3px;
    white-space: nowrap;
  }
  .live-orders-table-wrap .pill.paid    { background: var(--primary-soft); color: var(--primary); border: 1px solid var(--primary); }
  .live-orders-table-wrap .pill.unpaid  { background: rgba(244,63,94,0.08); color: var(--danger); border: 1px solid rgba(244,63,94,0.4); }
  .live-orders-table-wrap .pill.pending { background: rgba(245,158,11,0.10); color: var(--warning); border: 1px solid rgba(245,158,11,0.4); }
  .live-orders-table-wrap .pill.pickup  { background: var(--bg-2); color: var(--text); border: 1px solid var(--border-hi); }
  .live-orders-table-wrap .pill.ship    { background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent); }
  .live-orders-table-wrap .pill.deliver { background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent); }
  @media (max-width: 600px) {
    .live-stat-row { gap: 8px; }
    .live-stat { padding: 12px 8px; }
    .live-stat-num { font-size: 19px; }
    .live-stat-lbl { font-size: 9.5px; letter-spacing: 0.6px; }
  }

  /* ---------- ORGANIZER QUICK REFERENCE CARD ---------- */
  #orgRefCard .org-ref-sub {
    color: var(--muted);
    font-size: 13px;
    margin: -4px 0 16px;
    line-height: 1.5;
  }
  .org-ref-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
  }
  .org-ref-tile {
    background: var(--bg-1);
    border: 1px solid var(--border-hi);
    border-radius: 14px;
    padding: 18px 18px 16px;
    position: relative;
  }
  .org-ref-icon {
    font-size: 28px;
    line-height: 1;
    margin-bottom: 10px;
  }
  .org-ref-h {
    font-size: 14px;
    font-weight: 900;
    letter-spacing: -0.2px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .org-ref-body {
    font-size: 13px;
    line-height: 1.55;
    color: var(--text);
  }
  .org-ref-body strong { color: var(--text); font-weight: 700; }
  .org-ref-body ul {
    list-style: none;
    margin: 6px 0 6px;
    padding: 0;
  }
  .org-ref-body ul li {
    padding: 3px 0 3px 16px;
    position: relative;
    color: var(--muted);
  }
  .org-ref-body ul li::before {
    content: '·';
    position: absolute;
    left: 4px;
    color: var(--primary);
    font-weight: 900;
  }
  .org-ref-body ul li strong { color: var(--text); }

  .prize-tiers {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
  .tier {
    background: var(--bg-1);
    border: 1px solid var(--border-hi);
    border-radius: 14px;
    padding: 16px;
    position: relative;
    overflow: hidden;
  }
  .tier.qualified {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--primary-soft), transparent 80%), var(--bg-1);
    box-shadow: 0 0 0 1px var(--primary-soft), 0 10px 30px var(--primary-glow);
  }
  .tier .tier-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
  }
  .tier .tier-medal {
    font-size: 22px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
  }
  .tier .tier-name {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--text);
    flex: 1;
  }
  .tier .tier-amount {
    font-size: 12px;
    color: var(--muted);
    font-weight: 700;
  }
  .tier.qualified .tier-amount {
    color: var(--primary);
  }
  .tier .tier-prize {
    font-size: 12.5px;
    color: var(--muted);
    margin-bottom: 10px;
    line-height: 1.4;
    outline: none;
  }
  .tier .tier-prize[contenteditable="true"]:focus {
    background: var(--primary-soft);
    box-shadow: 0 0 0 2px var(--primary);
    border-radius: 4px;
  }
  .tier .tier-bar {
    height: 8px;
    background: var(--bg-0);
    border-radius: 100px;
    overflow: hidden;
    border: 1px solid var(--border);
  }
  .tier .tier-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 0;
    box-shadow: 0 0 12px var(--primary-glow);
  }
  .tier .tier-status {
    margin-top: 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 0.3px;
  }
  .tier.qualified .tier-status { color: var(--primary); }
  .tier .tier-edit {
    width: 80px;
    padding: 5px 8px !important;
    font-size: 12px !important;
    margin-left: 4px;
  }

  .flavor-bd {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
  .flavor-bd-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    background: var(--bg-1);
    border: 1px solid var(--border);
    border-radius: 10px;
  }
  .flavor-bd-row .dot-color {
    width: 10px; height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.15);
  }
  .flavor-bd-row .fb-name {
    font-size: 12.5px;
    color: var(--text);
    font-weight: 600;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .flavor-bd-row .fb-count {
    font-size: 13px;
    font-weight: 800;
    color: var(--primary);
  }

  /* ---------- DISTRIBUTOR PREP SHEET ---------- */
  .prep-import {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 14px;
    background: var(--bg-1);
    border: 1px dashed var(--border-hi);
    border-radius: 12px;
    margin-bottom: 14px;
  }
  .prep-import .file-btn {
    position: relative;
    overflow: hidden;
  }
  .prep-import input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
  }
  .prep-import .hint {
    font-size: 12px;
    color: var(--muted);
    flex: 1;
    min-width: 180px;
  }

  .imported-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
  }
  .imported-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px 6px 12px;
    background: var(--primary-soft);
    border: 1px solid var(--primary);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
  }
  .imported-chip .kits {
    color: var(--muted);
    font-weight: 600;
  }
  .imported-chip .x {
    background: transparent;
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-size: 14px;
    padding: 0 4px;
    border-radius: 50%;
    line-height: 1;
  }
  .imported-chip .x:hover { color: var(--danger); background: rgba(244,63,94,0.15); }

  .prep-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--bg-1);
    border: 1px solid var(--border-hi);
    border-radius: 100px;
    font-size: 12px;
    color: var(--text);
    cursor: pointer;
    font-weight: 600;
    user-select: none;
  }
  .prep-toggle input { margin: 0; }

  .prep-mega {
    background: linear-gradient(135deg, var(--primary-soft), var(--accent-soft));
    border: 1px solid var(--primary);
    border-radius: 18px;
    padding: 22px;
    text-align: center;
    margin-bottom: 18px;
    position: relative;
    overflow: hidden;
  }
  .prep-mega::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 100%, var(--primary-glow), transparent 60%);
    pointer-events: none;
  }
  .prep-mega > * { position: relative; z-index: 1; }
  .prep-mega .label {
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
    font-weight: 800;
  }
  .prep-mega .big {
    font-size: clamp(40px, 8vw, 60px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .prep-mega .sub { margin-top: 6px; font-size: 12.5px; color: var(--muted); }

  .prep-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
  .prep-block {
    background: var(--bg-1);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
  }
  .prep-block h4 {
    margin: 0 0 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .prep-block h4::before {
    content: '';
    width: 3px; height: 12px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 2px;
  }
  .prep-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 4px;
  }
  .prep-row:hover { background: var(--bg-2); }
  .prep-row .pr-name { color: var(--text); font-weight: 600; display:flex; align-items:center; gap:8px; min-width:0; }
  .prep-row .pr-name .dot-color { width:10px; height:10px; border-radius:50%; flex-shrink:0; }
  .prep-row .pr-count { color: var(--primary); font-weight: 800; font-size: 14px; }
  .prep-empty {
    font-size: 12.5px;
    color: var(--muted);
    text-align: center;
    padding: 14px;
  }

  /* Per-seller table */
  .seller-tbl-wrap { overflow-x: auto; margin-top: 6px; border-radius: 12px; }
  table.seller-tbl {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
    min-width: 560px;
  }
  table.seller-tbl thead th {
    background: var(--bg-2);
    color: var(--muted);
    padding: 10px;
    text-align: left;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-hi);
  }
  table.seller-tbl tbody td {
    padding: 10px;
    background: var(--bg-1);
    border-bottom: 1px solid var(--border);
    color: var(--text);
  }
  table.seller-tbl tbody tr.handed-off td {
    opacity: 0.55;
    text-decoration: line-through;
    text-decoration-color: var(--primary);
  }
  table.seller-tbl .handoff-cb {
    appearance: none;
    -webkit-appearance: none;
    width: 18px; height: 18px;
    border: 1.5px solid var(--border-hi);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    background: var(--bg-0);
    flex-shrink: 0;
    vertical-align: middle;
  }
  table.seller-tbl .handoff-cb:checked {
    background: var(--primary);
    border-color: var(--primary);
  }
  table.seller-tbl .handoff-cb:checked::after {
    content: '✓';
    position: absolute;
    left: 3px; top: -2px;
    color: #0b0b12;
    font-size: 14px;
    font-weight: 900;
  }

  /* Prep print mode — swap which content is visible when printing the prep sheet */
  body.print-prep .no-print,
  body.print-prep header.hero,
  body.print-prep .tab-nav,
  body.print-prep #tabOrderForm,
  body.print-prep #pinGate,
  body.print-prep .dash-hero,
  body.print-prep #dashContent > section:not(#prepSheetCard),
  body.print-prep footer,
  body.print-prep .saved-chip,
  body.print-prep #prepSheetCard .prep-import,
  body.print-prep #prepSheetCard .imported-list,
  body.print-prep #prepSheetCard .prep-toggle-row,
  body.print-prep #prepSheetCard button {
    display: none !important;
  }
  body.print-prep #tabDashboard { display: block !important; }
  body.print-prep #dashContent  { display: block !important; }
  body.print-prep #prepSheetCard {
    background: white !important;
    color: black !important;
    border: 1px solid black !important;
  }
  body.print-prep #prepSheetCard h2,
  body.print-prep #prepSheetCard .prep-block h4 { color: black !important; }
  body.print-prep #prepSheetCard .prep-block h4::before { background: black !important; }
  body.print-prep #prepSheetCard .prep-block { background: white !important; border-color: #333 !important; }
  body.print-prep #prepSheetCard .prep-mega { background: white !important; border-color: black !important; }
  body.print-prep #prepSheetCard .prep-mega .big {
    background: none !important;
    -webkit-text-fill-color: black !important;
    color: black !important;
  }
  body.print-prep #prepSheetCard .prep-row .pr-count { color: black !important; }
  body.print-prep #prepSheetCard .seller-tbl thead th { background: #e5e5e5 !important; color: black !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body.print-prep #prepSheetCard .seller-tbl td { background: white !important; color: black !important; }

  /* ---------- START OVER button (always-visible escape hatch) ---------- */
  #startOverBtn {
    position: fixed;
    top: 12px; right: 12px;
    z-index: 9999;
    background: var(--bg-1);
    border: 1px solid var(--border-hi);
    color: var(--muted);
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    font-family: inherit;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }
  #startOverBtn:hover { color: var(--text); border-color: var(--primary); }
  /* Hide when role picker is showing — they're already at home */
  body.role-picker-active #startOverBtn { display: none !important; }
  @media print { #startOverBtn { display: none !important; } }

  /* ---------- ROLE PICKER (first-visit landing) ---------- */
  .role-picker {
    position: fixed;
    inset: 0;
    z-index: 10000;
    overflow-y: auto;
    padding: 40px 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    /* Base wash: 4 corner glows + soft center + linear wash.
       Theme-aware via vars so an org's themePrimary/Accent flows through.
       Glows now use --primary-soft + a translucent --primary directly for more pop,
       still falling off to transparent so it stays calm at the center. */
    background:
      radial-gradient(1400px 800px at 10% -10%, var(--primary-soft), transparent 55%),
      radial-gradient(1100px 650px at 90% 4%, var(--accent-soft), transparent 55%),
      radial-gradient(900px 700px at 98% 105%, var(--primary-soft), transparent 60%),
      radial-gradient(800px 600px at 2% 100%, var(--accent-soft), transparent 60%),
      radial-gradient(700px 500px at 50% 50%, var(--primary-glow), transparent 70%),
      linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%);
    background-attachment: fixed;
  }
  .rp-stack {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 720px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: auto 0;
  }
  /* Slowly floating blob layer — adds gentle ambient movement without being distracting.
     28s loop. Stays behind content via z-index. */
  .role-picker::before {
    content: '';
    position: fixed;
    inset: -10%;
    z-index: 0;
    pointer-events: none;
    background:
      radial-gradient(560px 380px at 50% 45%, var(--primary-soft), transparent 60%),
      radial-gradient(480px 340px at 30% 75%, var(--accent-soft), transparent 55%),
      radial-gradient(420px 320px at 75% 30%, var(--accent-soft), transparent 55%);
    animation: rpFloatBlobs 28s ease-in-out infinite;
    opacity: 0.9;
  }
  /* Themed confetti dots — three layers at different tile sizes so the dots feel
     scattered, not gridded. Now bigger + bolder so they actually read at glance,
     while staying soft enough to not steal the headline's attention. */
  .role-picker::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image:
      radial-gradient(circle at 22% 28%, var(--primary) 3.2px, transparent 3.8px),
      radial-gradient(circle at 68% 62%, var(--accent)  3.8px, transparent 4.4px),
      radial-gradient(circle at 44% 78%, var(--primary) 2.4px, transparent 3.0px);
    background-size: 64px 64px, 96px 96px, 44px 44px;
    background-position: 0 0, 24px 14px, 18px 30px;
    opacity: 0.32;
    mix-blend-mode: multiply;
  }
  body.light-mode .role-picker::after {
    opacity: 0.28;
    mix-blend-mode: multiply;
  }
  /* On dark backgrounds, multiply hides the dots — switch to screen + bump alpha */
  body:not(.light-mode) .role-picker::after {
    opacity: 0.42;
    mix-blend-mode: screen;
  }
  @keyframes rpFloatBlobs {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25%      { transform: translate(60px, -40px) rotate(2deg); }
    50%      { transform: translate(-40px, 60px) rotate(-1.5deg); }
    75%      { transform: translate(40px, 35px) rotate(1deg); }
  }
  /* Honor users who prefer reduced motion — keep the visual depth, drop the drift */
  @media (prefers-reduced-motion: reduce) {
    .role-picker::before { animation: none; }
  }
  .rp-card {
    position: relative;
    width: 100%;
    max-width: 760px;
    padding: 44px 36px;
    background: var(--surface);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-hi);
    border-radius: 28px;
    box-shadow: 0 32px 80px rgba(0,0,0,0.42);
    text-align: center;
  }
  body.light-mode .rp-card {
    box-shadow: 0 32px 80px rgba(45, 30, 8, 0.14);
  }
  .rp-eyebrow {
    font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase;
    color: var(--accent); font-weight: 800; margin-bottom: 12px;
    font-family: var(--font-body);
  }
  .rp-h1 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4.4vw, 38px);
    font-weight: 700;
    font-variation-settings: 'opsz' 96;
    letter-spacing: -0.8px;
    margin: 0 0 12px;
    line-height: 1.1;
    color: var(--text);
  }
  /* Subtle italic-gold accent on the second word for visual rhythm */
  .rp-h1 em {
    font-style: italic;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .rp-sub {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.55;
    margin: 0 0 30px;
    font-weight: 400;
  }
  .rp-tiles {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
    margin: 0 0 24px;
  }
  .rp-tile {
    background: var(--bg-1);
    border: 1.5px solid var(--border-hi);
    border-radius: 20px;
    padding: 32px 22px 28px;
    cursor: pointer;
    text-align: center;
    transition: all 0.22s cubic-bezier(0.34, 1.2, 0.64, 1);
    font-family: var(--font-body);
    color: var(--text);
    /* Android tap optimizations: remove native button chrome, kill 300ms tap delay,
       and make sure the entire tile is the tap target (some Android Chromes were
       only registering taps on the inner text). */
    -webkit-appearance: none;
    appearance: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: var(--primary-soft);
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
  }
  /* Subtle paper-grain top accent — barely visible gold gradient strip at top */
  .rp-tile::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.22s ease;
  }
  .rp-tile:hover::before, .rp-tile.is-revealed::before { opacity: 1; }
  .rp-tile:active { transform: translateY(-1px) scale(0.98); }
  .rp-tile:hover, .rp-tile:focus {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 18px 40px var(--primary-glow);
    outline: none;
  }
  /* Icon halo — soft gold radial behind the emoji that makes it feel intentional */
  .rp-icon {
    font-size: 48px; line-height: 1; margin-bottom: 14px;
    display: inline-block;
    position: relative;
    filter: drop-shadow(0 4px 14px var(--primary-glow));
  }
  .rp-tile-h {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    line-height: 1.1;
  }
  .rp-tile-sub {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--muted);
    line-height: 1.55;
    font-weight: 400;
  }
  .rp-foot {
    color: var(--muted); font-size: 12px;
    margin: 12px 0 0;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    line-height: 1.5;
  }
  @media (max-width: 600px) {
    .rp-card { padding: 28px 20px; }
    .rp-h1 { font-size: 24px; }
    .rp-tiles { grid-template-columns: 1fr; }
    .rp-tile { padding: 22px 18px; }
  }

  /* ─── Reveal-bubble pattern on participant + organizer tiles ───────────────
     The tile starts in collapsed state (bubbles hidden via max-height). Click
     adds .is-revealed which animates the bubbles into view. Click outside or
     on a different tile collapses it again. */
  .rp-tile-revealing { position: relative; }
  .rp-tile-revealing .rp-tile-bubbles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    transition: max-height 0.3s ease, opacity 0.2s ease 0.05s, margin-top 0.3s ease;
  }
  .rp-tile-revealing.is-revealed .rp-tile-bubbles {
    max-height: 200px;
    opacity: 1;
    margin-top: 14px;
  }
  .rp-tile-revealing.is-revealed {
    /* Keep the tile pinned visually so the reveal feels intentional */
    border-color: var(--primary);
    box-shadow: 0 12px 32px var(--primary-glow);
    cursor: default; /* Bubbles are the click targets now */
  }
  .rp-tile-revealing.is-revealed:hover {
    /* Stop the lift-on-hover animation while revealed — the user is committed */
    transform: none;
  }
  .rp-bubble {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 12px 8px;
    background: var(--bg-2);
    border: 1.5px solid var(--border-hi);
    border-radius: 14px;
    cursor: pointer;
    font-family: inherit;
    color: var(--text);
    transition: all 0.18s ease;
    text-align: center;
    -webkit-appearance: none;
    appearance: none;
    touch-action: manipulation;
  }
  .rp-bubble:hover, .rp-bubble:focus {
    border-color: var(--primary);
    background: var(--primary-soft);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--primary-glow);
    outline: none;
  }
  .rp-bubble:active { transform: translateY(0) scale(0.97); }
  .rp-bubble-icon { font-size: 22px; line-height: 1; margin-bottom: 2px; }
  .rp-bubble-lbl {
    font-size: 13px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.1px;
  }
  .rp-bubble-sub {
    font-size: 10.5px;
    color: var(--muted);
    font-weight: 500;
    line-height: 1.3;
  }
  .rp-bubble--new .rp-bubble-icon { color: var(--primary); }
  .rp-bubble--return .rp-bubble-icon { color: var(--accent); }

  /* ====================================================================
     LANDING PAGE (lp-*) — hero, live stats, how-it-works, joining-collective
     Mirrors the v2-multi-page deployed landing. Pre-pended to the role-picker.
     ==================================================================== */

  /* ====================================================================
     HERO v2 — split layout with editorial typography + pulse chip + photo
     ==================================================================== */
  .lp-hero { text-align: center; padding: 8px 4px 0; }

  /* Split variant — desktop shows text + photo side-by-side; mobile stacks */
  .lp-hero--split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
    text-align: left;
    padding: 12px 4px 8px;
    max-width: 1080px;
    margin: 0 auto;
  }
  .lp-hero-text { display: flex; flex-direction: column; align-items: flex-start; }

  /* "This week" pulse chip — coral-tinted, draws attention before the headline */
  .lp-pulse-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 10px;
    background: var(--coral-soft);
    border: 1px solid var(--coral);
    border-radius: 100px;
    color: var(--coral);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: -0.1px;
  }
  .lp-pulse-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--coral);
    box-shadow: 0 0 0 0 var(--coral-glow);
    animation: lpPulseRing 1.8s ease-out infinite;
  }
  @keyframes lpPulseRing {
    0%   { box-shadow: 0 0 0 0 rgba(224, 122, 60, 0.55); }
    70%  { box-shadow: 0 0 0 10px rgba(224, 122, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(224, 122, 60, 0); }
  }

  .lp-eyebrow {
    display: inline-block;
    font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase;
    color: var(--accent); font-weight: 800; margin-bottom: 14px;
    font-family: var(--font-body);
  }
  /* Eyebrow with mark: small IC logo glyph + label, vertically centered */
  .lp-eyebrow--with-mark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .lp-eyebrow-mark {
    height: 28px;
    width: auto;
    /* Slightly desaturate the cream-bg logo so it doesn't fight the page bg */
    mix-blend-mode: multiply;
  }
  body:not(.light-mode) .lp-eyebrow-mark {
    /* On dark mode the cream-bg logo would form a visible cream rectangle.
       Soften with reduced opacity + screen blend until you provide a
       transparent-bg version. */
    mix-blend-mode: normal;
    filter: brightness(0) invert(1);
    opacity: 0.85;
  }

  /* EDITORIAL HEADLINE — Fraunces serif, two-line structure, accent on line 2 */
  .lp-headline {
    font-family: var(--font-display);
    font-size: clamp(34px, 5.4vw, 56px);
    font-weight: 700;
    font-variation-settings: 'opsz' 96;
    letter-spacing: -1.6px;
    margin: 0 0 18px;
    line-height: 1.04;
    color: var(--text);
  }
  .lp-headline--editorial .lp-headline-line { display: block; }
  .lp-headline--editorial .lp-headline-line--accent {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
    font-weight: 900;
  }

  .lp-sub {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.55;
    max-width: 520px;
    margin: 0 0 26px;
    font-weight: 400;
  }
  .lp-sub strong {
    color: var(--text);
    font-weight: 700;
    background: linear-gradient(transparent 62%, var(--primary-soft) 62%, var(--primary-soft) 92%, transparent 92%);
    padding: 0 2px;
  }

  /* HERO CTAS — primary + secondary side-by-side */
  .lp-hero-ctas {
    display: flex; gap: 12px; flex-wrap: wrap;
    margin-top: 4px;
  }
  .btn-hero {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 15px 26px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    border: 1.5px solid transparent;
    -webkit-appearance: none;
    appearance: none;
  }
  .btn-hero--primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #0e0e18;
    box-shadow: 0 12px 32px var(--primary-glow);
  }
  .btn-hero--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px var(--primary-glow);
  }
  .btn-hero--primary .btn-hero-arrow { transition: transform 0.2s ease; }
  .btn-hero--primary:hover .btn-hero-arrow { transform: translateX(3px); }
  .btn-hero--ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border-hi);
  }
  .btn-hero--ghost:hover {
    border-color: var(--sage);
    color: var(--sage);
    background: var(--sage-soft);
  }

  /* PHOTO SLOT — empty state uses the SVG cup, populated state hides it */
  .lp-hero-photo {
    position: relative;
    aspect-ratio: 1 / 1;
    max-width: 460px;
    width: 100%;
    margin: 0 auto;
  }
  .lp-hero-photo-frame {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--primary-soft), var(--accent-soft));
    border: 1.5px solid var(--border-hi);
    border-radius: 32px;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
    /* Subtle dot pattern overlay for texture */
    background-image:
      radial-gradient(var(--primary-soft) 0%, transparent 70%),
      radial-gradient(circle at 1px 1px, rgba(124, 83, 20, 0.10) 1px, transparent 0);
    background-size: 100% 100%, 18px 18px;
  }
  body.light-mode .lp-hero-photo-frame {
    background: #ffffff;
    background-image:
      radial-gradient(circle at 1px 1px, rgba(124, 83, 20, 0.13) 1px, transparent 0);
    background-size: 18px 18px;
    box-shadow: 0 30px 70px rgba(45, 30, 8, 0.15);
  }
  .lp-hero-cup {
    width: 64%; height: 64%;
    filter: drop-shadow(0 18px 28px rgba(124, 83, 20, 0.28));
    /* Gentle floating animation — the cup breathes; sells "alive" without
       being distracting */
    animation: lpCupFloat 6s ease-in-out infinite;
  }
  @keyframes lpCupFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
  }
  /* When a real photo is set on .lp-hero-photo-real (via background-image),
     it covers the frame and the SVG cup fades out. Pure CSS swap — no JS. */
  .lp-hero-photo-real {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 32px;
    opacity: 0;
    transition: opacity 0.4s ease;
  }
  .lp-hero-photo-real[style*="background-image"] {
    opacity: 1;
  }
  .lp-hero-photo-real[style*="background-image"] ~ .lp-hero-cup,
  .lp-hero-photo-frame:has(.lp-hero-photo-real[style*="background-image"]) .lp-hero-cup {
    opacity: 0;
  }

  /* LOOPING HERO VIDEO — sits on top of the static photo + SVG cup. The
     poster + still-image fallback below means we degrade gracefully on any
     browser that can't autoplay or doesn't support .mp4. object-fit: contain
     shows the FULL video without cropping; any remaining frame space inside
     the rounded square is filled by the cream-tinted .lp-hero-photo-frame
     surround. */
  .lp-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
    border-radius: 32px;
    z-index: 1;
    /* Subtle entrance — fade in over the poster photo */
    animation: lpVideoFadeIn 0.6s ease 0.2s both;
  }
  @keyframes lpVideoFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
  /* When the video is present in the photo frame, hide the static-photo
     backdrop so the contained video sits cleanly on the frame's cream/gold
     gradient (no photo edges bleeding around the letterboxed video). The
     <video poster=...> attribute still handles the load-time fallback
     natively, so we don't need .lp-hero-photo-real for poster duty. */
  .lp-hero-photo-frame:has(.lp-hero-video) .lp-hero-photo-real {
    display: none;
  }

  /* Decorative corner badge — gold-ringed, evokes a foil sticker */
  .lp-hero-badge {
    position: absolute;
    top: -14px; right: -14px;
    width: 92px; height: 92px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #1a1a28;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    box-shadow: 0 14px 30px var(--primary-glow);
    font-family: var(--font-display);
    line-height: 1.05;
    transform: rotate(8deg);
    z-index: 2;
    border: 3px solid var(--bg-0);
  }
  body.light-mode .lp-hero-badge { border-color: var(--cream); }
  .lp-hero-badge-line-1 { font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; font-family: var(--font-body); margin-bottom: 2px; }
  .lp-hero-badge-line-2 { font-size: 15px; font-weight: 900; font-style: italic; }
  .lp-hero-badge-line-3 { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; font-family: var(--font-body); margin-top: 1px; }

  /* Keep the legacy "Org · live" pill but warm its colors */
  .lp-hero-org {
    margin-top: 18px; padding: 10px 18px;
    background: var(--primary-soft);
    border: 1px solid var(--primary);
    border-radius: 100px;
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--accent); font-weight: 800; font-size: 13px;
    align-self: flex-start;
  }
  .lp-hero-org .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--primary);
    animation: lpLivePulse 2s ease-in-out infinite;
  }
  @keyframes lpLivePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(0.8); }
  }

  /* MOBILE — stack the split layout vertically */
  @media (max-width: 760px) {
    .lp-hero--split {
      grid-template-columns: 1fr;
      gap: 36px;
      text-align: center;
      padding: 4px 4px 0;
    }
    .lp-hero-text { align-items: center; }
    .lp-hero-text .lp-sub { margin-left: auto; margin-right: auto; }
    .lp-hero-text .lp-hero-ctas { justify-content: center; }
    .lp-hero-text .lp-hero-org { align-self: center; }
    .lp-hero-photo { max-width: 320px; }
    .lp-hero-badge { width: 76px; height: 76px; top: -10px; right: -10px; }
  }

  /* ====================================================================
     KIT SPOTLIGHT — "What's in a Mega Tea Kit?" 2-column product section
     Flat-lay photo on one side, editorial copy + 3 features + price line.
     Sits between the hero and the trusted-by strip.
     ==================================================================== */
  .kit-spotlight {
    margin: 36px auto 28px;
    max-width: 1080px;
    padding: 0 4px;
  }
  .kit-spotlight-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 48px;
    align-items: center;
  }
  /* Text-only variant — no photo column, centered single-column layout */
  .kit-spotlight--text-only .kit-spotlight-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
  }
  .kit-spotlight--text-only .kit-spotlight-sub { margin-left: auto; margin-right: auto; }
  .kit-spotlight--text-only .kit-features {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }
  .kit-spotlight--text-only .kit-spotlight-price { margin: 0 auto; }
  .kit-spotlight-photo {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(45, 30, 8, 0.18);
  }
  .kit-spotlight-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }
  /* Floating "12+ flavors" badge in the corner of the photo */
  .kit-spotlight-photo-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 8px 16px;
    background: var(--coral);
    color: #ffffff;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 8px 20px var(--coral-glow);
    z-index: 2;
  }
  .kit-spotlight-text { padding: 4px 0; }
  .kit-spotlight-eyebrow {
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 800;
    margin-bottom: 12px;
  }
  .kit-spotlight-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4.4vw, 40px);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.1;
    color: var(--text);
    margin: 0 0 14px;
  }
  .kit-spotlight-title em {
    font-style: italic;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .kit-spotlight-sub {
    font-size: 15.5px;
    color: var(--muted);
    line-height: 1.55;
    margin: 0 0 22px;
    max-width: 480px;
  }
  .kit-features {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .kit-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 0;
  }
  .kit-feat-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
  }
  .kit-features li div { display: flex; flex-direction: column; line-height: 1.4; }
  .kit-features li strong {
    font-family: var(--font-body);
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text);
  }
  .kit-features li span {
    font-size: 13px;
    color: var(--muted);
    font-weight: 400;
    margin-top: 1px;
  }
  /* Price callout — stat-card-like inline emphasis */
  .kit-spotlight-price {
    display: inline-flex;
    align-items: baseline;
    gap: 12px;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--primary-soft), var(--accent-soft));
    border: 1px solid var(--primary);
    border-radius: 14px;
  }
  .kit-price-amount {
    font-family: var(--font-stat);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
  }
  .kit-price-meta {
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.4;
  }
  .kit-price-meta strong {
    color: var(--sage);
    font-weight: 700;
  }
  /* Mobile — stack vertically, photo on top */
  @media (max-width: 760px) {
    .kit-spotlight-grid {
      grid-template-columns: 1fr;
      gap: 28px;
      text-align: center;
    }
    .kit-spotlight-photo { max-width: 360px; margin: 0 auto; }
    .kit-spotlight-sub { margin-left: auto; margin-right: auto; }
    .kit-features { max-width: 380px; margin-left: auto; margin-right: auto; text-align: left; }
    .kit-spotlight-price { margin: 0 auto; }
  }

  /* ====================================================================
     IC SIGNATURE — landing footer attribution
     Subtle "Run by [logo]" block with name + cities below.
     ==================================================================== */
  .ic-signature {
    text-align: center;
    padding: 40px 16px 32px;
    margin-top: 36px;
  }
  .ic-signature-divider {
    width: 56px;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    margin: 0 auto 24px;
    border-radius: 2px;
    opacity: 0.55;
  }
  .ic-signature-block {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 6px 4px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .ic-signature-block:hover {
    opacity: 0.75;
    transform: translateY(-1px);
  }
  .ic-signature-label {
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 800;
  }
  .ic-signature-logo {
    height: 36px;
    width: auto;
    mix-blend-mode: multiply;
  }
  body:not(.light-mode) .ic-signature-logo {
    mix-blend-mode: normal;
    filter: brightness(0) invert(1);
    opacity: 0.85;
  }
  .ic-signature-fallback {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    font-style: italic;
    color: var(--text);
    letter-spacing: -0.5px;
  }
  .ic-signature-meta {
    margin: 16px 0 0;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.55;
    font-family: var(--font-body);
  }

  /* ====================================================================
     TRUSTED BY STRIP — social proof; renders intentionally empty until
     real logos are dropped in via <img> swapped for the .tb-logo-text span
     ==================================================================== */
  .tb-strip {
    margin: 36px auto 28px;
    max-width: 920px;
    text-align: center;
    padding: 24px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    backdrop-filter: blur(20px);
  }
  body.light-mode .tb-strip {
    background: rgba(255, 255, 255, 0.55);
  }
  .tb-heading {
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 800;
    margin: 0 0 18px;
  }
  .tb-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
  }
  .tb-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1.5px solid var(--border-hi);
    border-radius: 100px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.2px;
    color: var(--text);
    background: var(--bg-1);
    transition: all 0.2s ease;
    cursor: default;
  }
  .tb-logo:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
  }
  /* The Impact Collective gets a special treatment — it's the parent brand.
     Three states (driven by data-ic-state set by img onload/onerror):
       • loading → gold gradient + IC mark (avoids FOUC while logo fetches)
       • loaded  → transparent, just the logo art (clean, prominent)
       • error   → falls back to the loading style permanently */
  .tb-logo--ic {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #1a1a28;
    border-color: transparent;
    box-shadow: 0 8px 20px var(--primary-glow);
  }
  .tb-logo--ic:hover {
    color: #1a1a28;
    transform: translateY(-2px);
  }
  /* While loading, hide the (invisible-broken) img and show the IC mark + text */
  .tb-logo--ic[data-ic-state="loading"] img,
  .tb-logo--ic[data-ic-state="error"]   img {
    display: none;
  }
  .tb-logo--ic[data-ic-state="loading"] .tb-logo-mark,
  .tb-logo--ic[data-ic-state="loading"] .tb-logo-text,
  .tb-logo--ic[data-ic-state="error"]   .tb-logo-mark,
  .tb-logo--ic[data-ic-state="error"]   .tb-logo-text {
    display: inline-flex;
  }
  /* Once the real logo loads, let it speak: transparent chip, generous padding,
     bigger image, no gradient ornament behind it. */
  .tb-logo--ic[data-ic-state="loaded"] {
    background: transparent;
    box-shadow: none;
    padding: 6px 4px;
  }
  .tb-logo--ic[data-ic-state="loaded"] .tb-logo-mark,
  .tb-logo--ic[data-ic-state="loaded"] .tb-logo-text {
    display: none;
  }
  .tb-logo--ic[data-ic-state="loaded"] img {
    /* Parent-brand hierarchy: render slightly larger than the satellite clubs
       (52px) so The Impact Collective reads as the anchor without needing a
       different chip background. */
    max-height: 58px;
    max-width: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none;
    opacity: 1;
    /* Knock out the IC logo's cream background so it sits cleanly on the
       gold-tinted trusted-by surface. */
    mix-blend-mode: multiply;
  }
  .tb-logo-mark {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: rgba(26, 26, 40, 0.25);
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 900;
    color: #1a1a28;
  }
  .tb-divider {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--border-hi);
    flex-shrink: 0;
  }
  /* Generic logo image (non-IC / non-club). Keeps the original grayscale-to-color
     treatment for any future logos that aren't strongly color-identified. */
  .tb-logo img {
    max-height: 28px;
    width: auto;
    transition: filter 0.2s ease, opacity 0.2s ease;
  }
  .tb-logo:has(img) { padding: 6px 14px; }
  .tb-logo:has(img) .tb-logo-text { display: none; }

  /* Nutrition Club logo treatment — these three logos have their green color
     as core identity, so we DON'T grayscale them. Instead, treat each as a
     white "brand card" with consistent height and a subtle lift on hover.
     max-height set generously because source PNGs often include whitespace
     padding around the artwork — small max-height squishes the actual mark. */
  .tb-logo--club {
    padding: 4px 12px;
    background: #ffffff;
    border-color: var(--border);
    min-width: 110px;
    justify-content: center;
  }
  .tb-logo--club img {
    max-height: 52px;
    max-width: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none;
    opacity: 1;
  }
  .tb-logo--club:hover {
    border-color: var(--sage);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px var(--sage-glow);
  }
  /* Dark mode: white card stays white (these are color logos, they need their
     intended background). Just soften the surrounding contrast slightly. */
  body:not(.light-mode) .tb-logo--club {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  }

  @media (max-width: 600px) {
    .tb-strip { padding: 18px 14px; margin: 24px auto; }
    .tb-row { gap: 12px; }
    .tb-divider { display: none; }
    .tb-logo { font-size: 12px; padding: 6px 12px; }
  }

  /* ====================================================================
     LIVE STAT CARD v2 — bigger, calmer, Space Grotesk numbers, coral pulse
     ==================================================================== */
  .lp-stat-card {
    background: var(--surface); backdrop-filter: blur(20px);
    border: 1.5px solid var(--border-hi);
    border-radius: 28px;
    box-shadow: 0 28px 70px rgba(0,0,0,0.22);
    padding: 40px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  body.light-mode .lp-stat-card {
    box-shadow: 0 28px 70px rgba(45, 30, 8, 0.12);
  }
  .lp-stat-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
  }
  .lp-stat-eyebrow {
    font-size: 11px; letter-spacing: 2.2px; text-transform: uppercase;
    color: var(--coral); font-weight: 800; margin-bottom: 10px;
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-body);
  }
  .lp-stat-eyebrow .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--coral);
    box-shadow: 0 0 0 0 var(--coral-glow);
    animation: lpPulseRing 1.8s ease-out infinite;
  }
  .lp-stat-big {
    font-family: var(--font-stat);
    font-size: clamp(58px, 11vw, 104px);
    font-weight: 700;
    letter-spacing: -3px; line-height: 0.95;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 8px 0 6px;
    min-height: 1em;
    /* Optical kerning fix — Space Grotesk's $ glyph sits a touch high */
    font-variant-numeric: tabular-nums;
  }
  .lp-stat-big.loading {
    background: linear-gradient(90deg, var(--border) 25%, var(--border-hi) 50%, var(--border) 75%);
    background-size: 200% 100%;
    -webkit-background-clip: initial; -webkit-text-fill-color: transparent;
    color: transparent;
    border-radius: 12px;
    animation: lpShimmer 1.5s linear infinite;
    width: 60%;
    margin: 6px auto 4px;
    height: clamp(54px, 10vw, 88px);
  }
  @keyframes lpShimmer { to { background-position: -200% 0; } }
  .lp-stat-caption {
    color: var(--text); font-size: 16px; font-weight: 600; margin-bottom: 18px;
  }
  .lp-goal-wrap { max-width: 460px; margin: 0 auto 18px; }
  .lp-goal-bar {
    position: relative; height: 14px;
    background: var(--bg-2);
    border-radius: 100px;
    overflow: hidden;
  }
  .lp-goal-fill {
    position: absolute; left: 0; top: 0; bottom: 0; width: 0%;
    /* Sage → gold gradient — sage anchors trust (wellness), gold pays off the reward.
       Coral tip cap added via after pseudo for visual energy. */
    background: linear-gradient(90deg, var(--sage), var(--primary));
    border-radius: 100px;
    transition: width 1.1s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 0 18px var(--primary-glow);
  }
  .lp-goal-meta {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 10px;
    font-size: 12.5px; color: var(--muted); letter-spacing: 0.2px;
    font-weight: 500;
  }
  .lp-goal-meta strong { color: var(--text); font-weight: 700; }
  .lp-goal-amt {
    font-family: var(--font-stat);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: -0.5px;
  }
  .lp-stat-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
    max-width: 460px; margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid var(--border);
  }
  .lp-stat-mini { text-align: center; }
  .lp-stat-mini-num {
    font-family: var(--font-stat);
    font-size: 34px; font-weight: 700; color: var(--text);
    letter-spacing: -1px; min-height: 1em;
    font-variant-numeric: tabular-nums;
  }
  .lp-stat-mini-num.loading {
    color: transparent;
    border-radius: 6px;
    display: inline-block; min-width: 60px; height: 28px;
    animation: lpShimmer 1.5s linear infinite;
    background: linear-gradient(90deg, var(--border) 25%, var(--border-hi) 50%, var(--border) 75%);
    background-size: 200% 100%;
  }
  .lp-stat-mini-lbl {
    font-size: 11.5px; color: var(--muted); letter-spacing: 0.5px;
    text-transform: uppercase; font-weight: 700; margin-top: 2px;
  }

  /* How it works */
  .lp-how { padding: 4px 0; }
  .lp-section-h {
    text-align: center; font-size: 22px; font-weight: 900;
    color: var(--text); margin: 0 0 22px; letter-spacing: -0.3px;
  }
  .lp-how-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  }
  .lp-how-step {
    background: var(--bg-1);
    border: 1px solid var(--border-hi);
    border-radius: 18px;
    padding: 22px 18px;
    position: relative;
  }
  .lp-how-num {
    position: absolute; top: 12px; right: 14px;
    font-size: 11px; font-weight: 800; color: var(--muted);
    background: var(--bg-0); border: 1px solid var(--border);
    width: 24px; height: 24px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
  }
  .lp-how-icon { font-size: 32px; line-height: 1; margin-bottom: 12px; }
  .lp-how-name {
    font-size: 15px; font-weight: 800; color: var(--text);
    margin-bottom: 4px; letter-spacing: -0.2px;
  }
  .lp-how-desc { font-size: 13px; color: var(--muted); line-height: 1.5; }

  /* Joining the collective */
  .lp-orgs {
    padding: 22px 16px;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border-hi);
    border-radius: 18px;
  }
  .lp-orgs-eyebrow {
    font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
    color: var(--muted); font-weight: 800; margin-bottom: 12px;
  }
  .lp-orgs-row {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 10px 14px;
    min-height: 32px;
  }
  .lp-org-chip {
    padding: 8px 16px;
    background: var(--bg-1);
    border: 1px solid var(--border-hi);
    border-radius: 100px;
    font-size: 13.5px; font-weight: 700;
    color: var(--text);
    white-space: nowrap;
  }
  .lp-org-chip.lp-org-skel {
    color: transparent;
    background: linear-gradient(90deg, var(--border) 25%, var(--border-hi) 50%, var(--border) 75%);
    background-size: 200% 100%;
    animation: lpShimmer 1.5s linear infinite;
    border: 1px solid var(--border-hi);
    min-width: 110px;
  }

  @media (max-width: 600px) {
    .lp-how-grid { grid-template-columns: 1fr; }
    .lp-stat-card { padding: 28px 18px; }
    .lp-headline { font-size: 28px; }
    .lp-section-h { font-size: 19px; }
  }

  /* ---------- LANDING-PAGE MISSION + FAQ CARDS ---------- */
  .rp-info-card {
    position: relative;
    background: var(--surface);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-hi);
    border-radius: 24px;
    padding: 32px 28px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    text-align: left;
  }
  .rp-info-eyebrow {
    font-size: 10.5px; letter-spacing: 2.2px; text-transform: uppercase;
    color: var(--muted); font-weight: 800; margin-bottom: 10px;
  }
  .rp-info-h {
    font-size: 22px; font-weight: 900; letter-spacing: -0.3px;
    margin: 0 0 14px; line-height: 1.2;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  }
  .rp-info-p {
    color: var(--text); font-size: 14.5px; line-height: 1.6;
    margin: 0 0 12px;
  }
  .rp-info-p.rp-info-sub {
    color: var(--muted); font-size: 13.5px; margin-top: -4px; margin-bottom: 16px;
  }
  .rp-info-p strong { color: var(--text); font-weight: 700; }

  /* Stats row (mission card) */
  .rp-stats {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
    margin-top: 18px;
  }
  .rp-stat {
    background: var(--bg-1);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 10px;
    text-align: center;
  }
  .rp-stat-n {
    font-size: 22px; font-weight: 900; letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    line-height: 1.1;
  }
  .rp-stat-l {
    font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase;
    color: var(--muted); font-weight: 700; margin-top: 4px;
  }

  /* FAQ accordion (native <details>) */
  .rp-faq-item {
    border-top: 1px solid var(--border);
    padding: 0;
  }
  .rp-faq-item:last-child { border-bottom: 1px solid var(--border); }
  .rp-faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 14px 32px 14px 4px;
    font-size: 14.5px; font-weight: 700; color: var(--text);
    line-height: 1.4;
    position: relative;
    -webkit-tap-highlight-color: rgba(16, 185, 129, 0.18);
    touch-action: manipulation;
  }
  .rp-faq-item summary::-webkit-details-marker { display: none; }
  .rp-faq-item summary::after {
    content: '+';
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 400;
    color: var(--primary);
    transition: transform 0.2s ease;
    line-height: 1;
  }
  .rp-faq-item[open] summary::after { content: '–'; }
  .rp-faq-item summary:hover { color: var(--primary); }
  .rp-faq-item summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 6px; }
  .rp-faq-body {
    padding: 0 4px 16px;
    font-size: 13.5px; line-height: 1.6;
    color: var(--muted);
  }
  .rp-faq-body strong { color: var(--text); font-weight: 700; }
  .rp-faq-body a { color: var(--primary); text-decoration: underline; }

  @media (max-width: 600px) {
    .rp-info-card { padding: 24px 18px; border-radius: 18px; }
    .rp-info-h { font-size: 19px; }
    .rp-stats { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .rp-stat { padding: 12px 6px; }
    .rp-stat-n { font-size: 18px; }
    .rp-stat-l { font-size: 9.5px; letter-spacing: 0.6px; }
    .rp-faq-item summary { font-size: 14px; padding-right: 28px; }
  }

  /* ---------- FUNDRAISER PICKER ROW ---------- */
  .fp-row {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 16px;
    background: var(--bg-1);
    border: 1.5px solid var(--border-hi);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.15s;
    text-align: left;
    font-family: inherit;
    color: var(--text);
    width: 100%;
  }
  .fp-row:hover { border-color: var(--primary); transform: translateY(-1px); }
  .fp-row.selected {
    border-color: var(--primary);
    background: var(--primary-soft);
    box-shadow: 0 6px 18px var(--primary-glow);
  }
  .fp-row .fp-dot {
    width: 14px; height: 14px; border-radius: 50%;
    border: 2px solid var(--border-hi);
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
  }
  .fp-row.selected .fp-dot {
    border-color: var(--primary);
    background: var(--primary);
  }
  .fp-row.selected .fp-dot::after {
    content: ''; width: 6px; height: 6px; border-radius: 50%; background: #0b0b12;
  }
  .fp-row .fp-name { font-size: 15px; font-weight: 800; color: var(--text); }
  .fp-row .fp-meta { font-size: 11px; color: var(--muted); margin-top: 2px; }
  .fp-row .fp-thumb {
    width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0;
  }

  /* ---------- SELLER SETUP INTRO ---------- */
  .seller-setup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg-0);
    overflow-y: auto;
    padding: 40px 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }
  .seller-setup::before {
    content: '';
    position: fixed; inset: 0;
    background: radial-gradient(800px 500px at 12% -10%, var(--primary-glow), transparent 60%),
                radial-gradient(700px 400px at 90% 0%, var(--accent-glow), transparent 65%);
    pointer-events: none;
  }
  .setup-card {
    position: relative;
    width: 100%;
    max-width: 580px;
    padding: 36px 32px;
    background: var(--surface);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-hi);
    border-radius: 22px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  }
  .setup-eyebrow {
    font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase;
    color: var(--muted); font-weight: 800; margin-bottom: 8px;
  }
  .setup-h1 {
    font-size: 30px; font-weight: 900; letter-spacing: -0.5px;
    margin: 0 0 10px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    line-height: 1.15;
  }
  .setup-sub {
    color: var(--muted); font-size: 14px; line-height: 1.5;
    margin: 0 0 24px;
  }
  .setup-photo {
    display: flex; flex-direction: column; align-items: center;
    gap: 12px; margin-bottom: 24px;
  }
  .setup-avatar {
    width: 110px; height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #0b0b12;
    display: flex; align-items: center; justify-content: center;
    font-size: 36px; font-weight: 900;
    box-shadow: 0 14px 36px var(--primary-glow);
    background-size: cover;
    background-position: center;
  }
  .setup-avatar.has-photo span { display: none; }
  .setup-photo-btn {
    background: var(--bg-1);
    border: 1px solid var(--border-hi);
    color: var(--text);
    padding: 8px 18px; border-radius: 100px;
    font-size: 12px; font-weight: 700;
    letter-spacing: 0.5px; cursor: pointer;
    font-family: inherit;
  }
  .setup-photo-btn:hover { border-color: var(--primary); color: var(--primary); }
  .setup-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 14px; margin-bottom: 16px;
  }
  .setup-grid .full { grid-column: 1 / -1; }
  .setup-grid input,
  .setup-grid select,
  .setup-grid textarea {
    /* 16px min so iOS Safari doesn't zoom-and-stay-zoomed on focus. (Audit.) */
    font-size: 16px; padding: 12px 14px;
  }
  .setup-grid > div > input:focus { outline: 2px solid var(--primary); }
  .setup-grid label {
    font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--muted); font-weight: 700; margin-bottom: 4px; display: block;
  }
  .setup-error {
    font-size: 13px; color: var(--danger);
    min-height: 18px; margin: 6px 0 14px;
  }
  .setup-actions {
    display: flex; justify-content: flex-end;
    margin-top: 18px;
  }
  .setup-hint {
    font-size: 12px; color: var(--muted);
    margin: 18px 0 0; line-height: 1.5;
  }
  @media (max-width: 600px) {
    .setup-card { padding: 28px 22px; }
    .setup-h1 { font-size: 24px; }
    .setup-grid { grid-template-columns: 1fr; }
  }

  /* ---------- FULFILLMENT OPTIONS (pickup / ship / deliver) ---------- */
  .ff-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 4px;
  }
  .ff-option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 10px;
    min-height: 44px;
    background: var(--bg-1);
    border: 1.5px solid var(--border-hi);
    border-radius: 10px;
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
    text-align: center;
    line-height: 1.2;
    transition: border-color 0.15s, background 0.15s;
    -webkit-tap-highlight-color: rgba(16, 185, 129, 0.18);
    touch-action: manipulation;
  }
  .ff-option:hover { border-color: var(--primary); }
  .ff-option:has(input:checked) {
    border-color: var(--primary);
    background: var(--primary-soft);
  }
  .ff-option input[type="radio"] { margin: 0; flex-shrink: 0; }
  @media (max-width: 480px) {
    .ff-options { grid-template-columns: 1fr; }
    .ff-option { justify-content: flex-start; padding: 14px 16px; }
  }

  /* ====================================================================
     CUSTOMER PRODUCT GALLERY — visible only after access-code entry.
     2-row grid: hero video tile spans both rows on desktop / top on mobile,
     3 still photos arrange beside it. Full product disclosure here (where
     the customer is actually buying), unlike the public landing.
     ==================================================================== */
  .cust-gallery {
    margin: 0 0 22px;
  }
  .cust-gallery-eyebrow {
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 800;
    margin-bottom: 12px;
  }
  .cust-gallery-grid {
    display: grid;
    /* Equal columns so the video tile doesn't visually dominate the photos */
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 1fr;
    gap: 10px;
  }
  .cust-gallery-tile {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    aspect-ratio: 1 / 1;
    box-shadow: 0 6px 18px rgba(45, 30, 8, 0.10);
  }
  .cust-gallery-tile img,
  .cust-gallery-tile video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  /* The video tile spans both rows on desktop — gets a portrait 1:1.6 aspect */
  .cust-gallery-tile--video {
    grid-row: 1 / span 2;
    aspect-ratio: auto;
  }
  .cust-gallery-tile--video video {
    object-fit: cover;
  }
  /* Mobile — stack vertically. The video tile takes the video's NATIVE 9:16
     portrait ratio so the clip fills the frame edge-to-edge (no letterbox
     bars). Two still-photo tiles row below it (cup + branded packets). */
  @media (max-width: 600px) {
    .cust-gallery-grid {
      grid-template-columns: 1fr 1fr;
      grid-auto-rows: auto;
    }
    .cust-gallery-tile--video {
      grid-column: 1 / -1;
      grid-row: 1;
      aspect-ratio: 9 / 16;
      /* Smaller cap so the video reads as a featured-but-not-overwhelming
         element above the photo pair. */
      max-height: 380px;
      margin: 0 auto;
      width: auto;
    }
    .cust-gallery-tile--video video {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  /* ====================================================================
     CUSTOMER ORDER MENU (catalog cards + qty steppers + cart summary)
     Lives inside #customerOrder. Ported from v2-multi-page/customer.html.
     ==================================================================== */
  .cust-menu {
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
  }
  .cust-menu-eyebrow {
    font-size: 10.5px; letter-spacing: 2.2px; text-transform: uppercase;
    color: var(--muted); font-weight: 800; margin-bottom: 4px;
  }
  .cust-menu-title {
    font-size: 22px; font-weight: 900; letter-spacing: -0.3px;
    margin: 0 0 6px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  }
  .cust-menu-sub {
    color: var(--muted); font-size: 13px; line-height: 1.5;
    margin: 0 0 14px;
  }
  .cust-catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  @media (min-width: 720px) {
    .cust-catalog-grid { grid-template-columns: repeat(3, 1fr); }
  }
  .flavor-card-cust {
    background: var(--bg-1);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 12px 10px 10px;
    display: flex; flex-direction: column; gap: 4px;
    transition: border-color 0.15s, background 0.15s;
    text-align: center;
    font-family: inherit;
    color: var(--text);
    position: relative;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(16,185,129,0.18);
    touch-action: manipulation;
  }
  .flavor-card-cust.in-cart {
    border-color: var(--primary);
    background: var(--primary-soft);
    box-shadow: 0 0 0 2px var(--primary-soft);
  }
  .flavor-card-cust .icon-wrap {
    width: 50px; height: 64px;
    align-self: center;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
  }
  .flavor-card-cust .icon-wrap svg { width: 100%; height: 100%; display: block; }
  .flavor-card-cust .flavor-name {
    font-size: 12.5px; font-weight: 900; line-height: 1.15;
    text-transform: uppercase; letter-spacing: 0.3px;
    margin-top: 2px;
  }
  .flavor-card-cust.in-cart .flavor-name { color: var(--primary); }
  .flavor-card-cust .flavor-desc {
    font-size: 11px; color: var(--muted); line-height: 1.35;
    margin: 0 0 8px;
  }
  /* Qty stepper at the bottom of each card */
  .qty-stepper {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin-top: auto;
  }
  .qty-stepper button {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1.5px solid var(--border-hi);
    background: var(--bg-0);
    font-size: 16px; font-weight: 900;
    cursor: pointer;
    color: var(--text);
    font-family: inherit;
    line-height: 1;
    -webkit-appearance: none; appearance: none;
    -webkit-tap-highlight-color: transparent;
    display: flex; align-items: center; justify-content: center;
  }
  .qty-stepper button:hover:not(:disabled) {
    border-color: var(--primary); color: var(--primary);
  }
  .qty-stepper button:disabled { opacity: 0.4; cursor: not-allowed; }
  .qty-stepper .qty-val {
    font-size: 16px; font-weight: 900;
    min-width: 24px; text-align: center;
    color: var(--text);
  }
  .flavor-card-cust.in-cart .qty-stepper .qty-val { color: var(--primary); }

  /* Cart summary card under the catalog */
  .cart-summary {
    background: linear-gradient(135deg, var(--primary-soft), var(--accent-soft));
    border: 1px solid var(--primary);
    border-radius: 14px;
    padding: 14px 16px;
    margin: 16px 0 0;
  }
  .cart-summary.empty { opacity: 0.55; }
  .cart-summary-label {
    font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--muted); font-weight: 800; margin-bottom: 6px;
  }
  .cart-summary-items {
    font-size: 13.5px; color: var(--text); margin-bottom: 4px;
    line-height: 1.5;
  }
  .cart-summary-totals {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-top: 6px; padding-top: 8px;
    border-top: 1px dashed var(--border);
  }
  .cart-summary-kits {
    font-size: 13px; color: var(--muted); font-weight: 700;
  }
  .cart-summary-price {
    font-size: 26px; font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  }
  .cust-pickup-hours {
    font-size: 11.5px; color: var(--muted);
    margin-top: 6px; line-height: 1.4;
  }

  /* ---------- CUSTOMER ORDER FAQ (inside the order screen only) ---------- */
  .cust-faq {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
  }
  .cust-faq-eyebrow {
    font-size: 10.5px; letter-spacing: 2.2px; text-transform: uppercase;
    color: var(--muted); font-weight: 800; margin-bottom: 6px;
  }
  .cust-faq-h {
    font-size: 18px; font-weight: 900; letter-spacing: -0.2px;
    margin: 0 0 14px; line-height: 1.25;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  }

  /* ---------- SETUP-ACTIONS BUTTON ROW (mobile stacking) ---------- */
  @media (max-width: 480px) {
    .setup-actions {
      flex-direction: column-reverse;
      gap: 10px;
    }
    .setup-actions .btn {
      width: 100%;
      padding: 14px 16px;
      font-size: 14.5px;
      min-height: 48px;
    }
  }

  /* ---------- ORGANIZER ONBOARDING WIZARD ---------- */
  .wizard-card { padding: 32px 28px; }
  .wiz-progress { display: flex; gap: 6px; margin-bottom: 24px; }
  .wiz-progress .pip {
    flex: 1; height: 4px; background: var(--bg-2); border-radius: 100px;
    transition: background 0.3s;
  }
  .wiz-progress .pip.done { background: var(--primary); }
  .wiz-progress .pip.active { background: linear-gradient(90deg, var(--primary), var(--accent)); }
  .wiz-eyebrow {
    font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase;
    color: var(--muted); font-weight: 700; margin-bottom: 6px;
  }
  .wiz-q {
    font-size: 28px; font-weight: 900; letter-spacing: -0.5px;
    margin: 0 0 20px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  }
  .wiz-step input { font-size: 16px; }
  .wiz-step > input[type="text"]:first-of-type {
    font-size: 22px; font-weight: 700; padding: 16px 18px;
  }
  .wiz-nav {
    display: flex; gap: 10px; justify-content: flex-end;
    margin-top: 28px; padding-top: 20px;
    border-top: 1px solid var(--border);
  }
  .wiz-nav .btn.ghost { margin-right: auto; }
  .theme-tiles {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 8px;
  }
  .theme-tile {
    aspect-ratio: 16 / 10;
    border: 3px solid transparent;
    border-radius: 14px;
    cursor: pointer;
    color: rgba(255,255,255,0.95);
    font-weight: 900; font-size: 16px; letter-spacing: 0.5px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
    transition: all 0.2s;
    font-family: inherit;
  }
  .theme-tile:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,0.4); }
  .theme-tile.selected {
    border-color: var(--text);
    box-shadow: 0 0 0 4px var(--primary-soft), 0 14px 32px var(--primary-glow);
    transform: translateY(-2px);
  }
  @media (max-width: 600px) {
    .theme-tiles { grid-template-columns: repeat(2, 1fr); }
    .wiz-q { font-size: 22px; }
  }

  /* ---------- HERO THERMOMETER ---------- */
  .thermo-card {
    position: relative;
    background: var(--surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 26px 28px;
    margin: 0 auto 22px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0,0,0,0.25), 0 0 0 1px var(--primary-soft);
  }
  .thermo-card::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(700px 250px at 18% 0%, var(--primary-glow), transparent 65%),
                radial-gradient(500px 240px at 90% 100%, var(--accent-glow), transparent 70%);
    pointer-events: none; opacity: 0.7;
  }
  .thermo-grid {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr 1fr; gap: 30px;
    align-items: center;
  }
  .thermo-left { display: flex; flex-direction: column; align-items: center; }
  .thermo-eyebrow {
    font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase;
    color: var(--muted); font-weight: 700;
  }
  .thermo-goal {
    font-size: 30px; font-weight: 900; letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    margin: 4px 0 18px; line-height: 1;
  }
  .thermo-tube {
    position: relative;
    width: 84px; height: 280px;
    background: var(--bg-1);
    border: 1.5px solid var(--border-hi);
    border-radius: 42px 42px 36px 36px;
  }
  .thermo-fill {
    position: absolute;
    left: 6px; right: 6px;
    bottom: 90px;
    height: 0;
    background: linear-gradient(180deg, var(--accent), var(--primary));
    border-radius: 36px;
    transition: height 0.9s cubic-bezier(.2,.85,.4,1.1);
    box-shadow: 0 -10px 24px var(--primary-glow);
  }
  .thermo-bulb {
    position: absolute;
    bottom: -32px; left: 50%; transform: translateX(-50%);
    width: 130px; height: 130px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: #0b0b12;
    box-shadow: 0 14px 36px var(--primary-glow), 0 0 0 6px var(--bg-0);
    z-index: 2;
  }
  .thermo-num {
    font-size: 44px; font-weight: 900; line-height: 1;
    font-feature-settings: 'tnum';
    letter-spacing: -1.5px;
  }
  .thermo-sub {
    font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
    margin-top: 4px; opacity: 0.8; font-weight: 800;
  }
  .thermo-ticks {
    position: absolute;
    left: -38px; top: 0; bottom: 90px; width: 32px;
    display: flex; flex-direction: column-reverse;
    justify-content: space-between;
    pointer-events: none;
  }
  .thermo-tick {
    font-size: 10px; color: var(--muted); font-weight: 700;
    text-align: right; line-height: 1;
    position: relative;
  }
  .thermo-tick::after {
    content: ''; position: absolute; right: -8px; top: 50%;
    width: 4px; height: 1px; background: var(--muted); opacity: 0.5;
  }
  .thermo-right {
    display: flex; flex-direction: column; gap: 8px;
  }
  .thermo-tier {
    display: grid; grid-template-columns: 32px 1fr auto;
    align-items: center; gap: 10px;
    padding: 10px 14px;
    background: var(--bg-1);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.4s ease;
  }
  .thermo-tier .tt-medal { font-size: 22px; line-height: 1; }
  .thermo-tier .tt-mid { display: flex; flex-direction: column; min-width: 0; }
  .thermo-tier .tt-name { font-size: 13.5px; font-weight: 800; color: var(--text); line-height: 1.1; }
  .thermo-tier .tt-status { font-size: 11px; color: var(--muted); margin-top: 2px; }
  .thermo-tier .tt-pill {
    font-size: 10.5px; font-weight: 800;
    padding: 3px 10px; border-radius: 100px;
    background: var(--bg-2); color: var(--muted);
    letter-spacing: 0.5px; text-transform: uppercase;
  }
  .thermo-tier.unlocked {
    background: var(--primary-soft);
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary-soft), 0 6px 18px var(--primary-glow);
  }
  .thermo-tier.unlocked .tt-pill {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #0b0b12;
  }
  .thermo-tier.unlocked .tt-status { color: var(--primary); }
  .thermo-tier.next {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent-soft);
  }
  .thermo-confetti {
    position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  }
  .thermo-confetti span {
    position: absolute; top: -12px;
    width: 8px; height: 12px; border-radius: 2px;
    animation: confetti-fall 1.6s cubic-bezier(.25,.46,.45,.94) forwards;
  }
  @keyframes confetti-fall {
    0%   { transform: translate3d(0, -20px, 0) rotate(0deg); opacity: 1; }
    100% { transform: translate3d(var(--cx, 0), 420px, 0) rotate(720deg); opacity: 0; }
  }
  @media (max-width: 760px) {
    .thermo-grid { grid-template-columns: 1fr; gap: 30px; }
    .thermo-tube { height: 220px; }
    .thermo-bulb { width: 110px; height: 110px; bottom: -26px; }
    .thermo-num { font-size: 36px; }
  }

  /* ---------- COUNTDOWN BANNER ---------- */
  .countdown-banner {
    display: none;
    margin: 0 auto 16px;
    max-width: 760px;
    padding: 10px 18px;
    background: linear-gradient(135deg, var(--primary-soft), var(--accent-soft));
    border: 1px solid var(--primary);
    border-radius: 100px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text);
    text-align: center;
    letter-spacing: 0.3px;
    backdrop-filter: blur(12px);
    box-shadow: 0 6px 20px var(--primary-glow);
  }
  .countdown-banner.show { display: block; }
  .countdown-banner .cd-num {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #0b0b12;
    padding: 1px 10px;
    border-radius: 100px;
    font-weight: 900;
    margin: 0 4px;
    font-size: 14px;
  }
  .countdown-banner.ended { border-color: var(--danger); color: var(--danger); background: rgba(244,63,94,0.08); }
  .countdown-banner.urgent { border-color: var(--accent); }

  /* Compact countdown chip — used in the organizer hero + customer order screen.
     Same data as the banner, less real estate. */
  .countdown-chip {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 14px;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.3px;
    backdrop-filter: blur(8px);
  }
  body:not(.light-mode) .countdown-chip { background: rgba(255, 255, 255, 0.06); }
  .countdown-chip .cd-num {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    font-weight: 900;
    font-size: 13.5px;
  }
  .countdown-chip.urgent {
    border-color: var(--accent);
    background: var(--accent-soft);
    animation: cdPulse 2.4s ease-in-out infinite;
  }
  .countdown-chip.ended { color: var(--danger); border-color: var(--danger); background: rgba(244,63,94,0.08); }
  @keyframes cdPulse {
    0%, 100% { box-shadow: 0 0 0 0 var(--accent-soft); }
    50%      { box-shadow: 0 0 0 8px transparent; }
  }
  /* Customer order screen variant — sits at the very top of the .setup-card */
  .countdown-chip.customer-cd {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 0 14px;
  }

  /* ---------- PERSONAL PROGRESS CHIP (next to spotlight) ---------- */
  .personal-progress {
    margin-top: 6px;
    padding: 4px 10px;
    background: var(--bg-0);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.3px;
  }
  .personal-progress.qualified {
    background: var(--primary-soft);
    border-color: var(--primary);
  }
  .personal-progress.empty { display: none; }

  /* ---------- QR CODE BUTTON ON SPOTLIGHT ---------- */
  .seller-spotlight .qr-btn {
    background: var(--bg-0);
    border: 1px solid var(--border-hi);
    color: var(--primary);
    padding: 6px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.4px;
  }
  .seller-spotlight .qr-btn:hover { border-color: var(--primary); background: var(--primary-soft); }

  /* ---------- DUPLICATE BUTTON ---------- */
  .dup-row {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--primary);
    cursor: pointer;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.15s;
    margin-right: 4px;
  }
  .dup-row:hover { background: var(--primary-soft); border-color: var(--primary); }

  /* Per-order "Prepped" checkbox */
  table.orders td.prep-col {
    width: 40px;
    text-align: center;
  }
  .prep-cb {
    appearance: none;
    -webkit-appearance: none;
    width: 20px; height: 20px;
    border: 1.5px solid var(--border-hi);
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    background: var(--bg-0);
    vertical-align: middle;
  }
  .prep-cb:checked {
    background: var(--primary);
    border-color: var(--primary);
  }
  .prep-cb:checked::after {
    content: '✓';
    position: absolute;
    left: 3px; top: -3px;
    color: #0b0b12;
    font-size: 16px;
    font-weight: 900;
  }
  table.orders tr.is-prepped td { opacity: 0.55; }

  /* Send-to-customer button */
  .send-cust {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--accent);
    cursor: pointer;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
  }
  .send-cust:hover { background: var(--accent-soft); border-color: var(--accent); }

  /* ---------- MODAL OVERLAY ---------- */
  .modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }
  .modal-overlay.show { display: flex; }
  .modal-card {
    background: var(--bg-1);
    border: 1px solid var(--border-hi);
    border-radius: 18px;
    padding: 24px;
    max-width: 520px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px var(--primary-soft);
    position: relative;
  }
  .modal-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .modal-card .modal-close {
    position: absolute;
    top: 12px; right: 12px;
    background: var(--bg-2);
    border: 1px solid var(--border-hi);
    color: var(--muted);
    width: 30px; height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    font-weight: 900;
  }
  .modal-card .modal-close:hover { color: var(--danger); border-color: var(--danger); }

  /* QR modal */
  .qr-wrap {
    text-align: center;
    padding: 16px;
    background: white;
    border-radius: 14px;
    margin: 14px 0;
  }
  .qr-wrap canvas { display: block; margin: 0 auto; }
  .qr-url {
    background: var(--bg-0);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px;
    font-size: 11px;
    color: var(--muted);
    word-break: break-all;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    margin-top: 10px;
  }

  /* Send-to-customer modal */
  .sc-toggle {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
  }
  .sc-toggle button {
    flex: 1;
    padding: 8px 12px;
    background: var(--bg-0);
    border: 1px solid var(--border-hi);
    color: var(--muted);
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    font-family: inherit;
  }
  .sc-toggle button.active {
    background: var(--primary-soft);
    border-color: var(--primary);
    color: var(--primary);
  }
  .sc-msg {
    width: 100%;
    min-height: 180px;
    font-family: inherit;
    font-size: 13px;
    padding: 12px;
    background: var(--bg-0);
    color: var(--text);
    border: 1px solid var(--border-hi);
    border-radius: 10px;
    resize: vertical;
  }

  /* ---------- LEADERBOARD ---------- */
  .leaderboard { display: flex; flex-direction: column; gap: 8px; }
  .leader {
    display: grid;
    grid-template-columns: 30px 30px 1fr auto auto;
    gap: 10px;
    align-items: center;
    padding: 10px 14px;
    background: var(--bg-1);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 13px;
    position: relative;
    overflow: hidden;
  }
  .leader .rank { font-weight: 800; color: var(--muted); font-size: 14px; text-align: center; }
  .leader .medal { font-size: 18px; text-align: center; }
  .leader .name-line { font-weight: 700; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .leader .name-line .org { font-weight: 500; font-size: 11px; color: var(--muted); margin-left: 6px; }
  .leader .kits-col {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #0b0b12;
    font-weight: 900;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 12px;
    letter-spacing: 0.3px;
  }
  .leader .rev-col {
    font-size: 12px;
    color: var(--primary);
    font-weight: 700;
    min-width: 70px;
    text-align: right;
  }
  .leader.top1 {
    background: linear-gradient(135deg, var(--primary-soft), transparent 80%), var(--bg-1);
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary-soft), 0 8px 24px var(--primary-glow);
  }

  /* ---------- PAYMENT BREAKDOWN ---------- */
  .payments { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
  .pay-card {
    background: var(--bg-1);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
  }
  .pay-card .pl { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; margin-bottom: 6px; }
  .pay-card .pv { font-size: 18px; font-weight: 900; color: var(--text); }
  .pay-card .pc { font-size: 10.5px; color: var(--muted); margin-top: 2px; }
  .pay-card.unpaid { border-color: var(--danger); }
  .pay-card.unpaid .pv { color: var(--danger); }
  .pay-card.cash { border-color: var(--primary); }
  .pay-card.cash .pv { color: var(--primary); }

  /* ---------- INGREDIENTS ---------- */
  .ing-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; }
  .ing-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: var(--bg-1);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 13px;
  }
  .ing-row .ing-name { color: var(--text); font-weight: 600; }
  .ing-row .ing-qty { color: var(--primary); font-weight: 900; font-size: 14px; }
  .recipe-editor {
    margin-top: 14px;
    padding: 14px;
    background: var(--bg-1);
    border: 1px dashed var(--border-hi);
    border-radius: 12px;
    display: none;
  }
  .recipe-editor.open { display: block; }
  .recipe-editor h4 { margin: 0 0 10px; font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); }
  .recipe-row {
    display: grid;
    grid-template-columns: 1.3fr 1fr auto;
    gap: 8px;
    margin-bottom: 6px;
  }
  .recipe-row input { padding: 7px 10px !important; font-size: 12.5px !important; }
  .recipe-row .rm { background: transparent; border: 1px solid var(--border); color: var(--danger); padding: 0 10px; border-radius: 6px; cursor: pointer; font-size: 14px; }
  .recipe-flavor-picker { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
  .recipe-flavor-picker button {
    padding: 5px 10px;
    font-size: 11px;
    background: var(--bg-0);
    border: 1px solid var(--border-hi);
    color: var(--muted);
    border-radius: 100px;
    cursor: pointer;
    font-weight: 600;
    font-family: inherit;
  }
  .recipe-flavor-picker button.active { background: var(--primary-soft); border-color: var(--primary); color: var(--primary); }

  /* ---------- LIVE SYNC UI ---------- */
  .sync-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; background: var(--bg-1); border: 1px solid var(--border); border-radius: 10px; margin-top: 8px; }
  .sync-status { font-size: 11.5px; color: var(--muted); font-weight: 600; }
  .sync-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex-shrink: 0; }
  .sync-status.ok .sync-dot { background: var(--primary); box-shadow: 0 0 8px var(--primary-glow); }
  .sync-status.err .sync-dot { background: var(--danger); }
  .sync-status.pending .sync-dot { background: var(--accent); animation: pulse 1s infinite; }
  @keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

  /* ---------- PICKUP TICKETS PRINT ---------- */
  #pickupTickets { display: none; }
  body.print-tickets .no-print,
  body.print-tickets header.hero,
  body.print-tickets .tab-nav,
  body.print-tickets #tabOrderForm,
  body.print-tickets #tabDashboard,
  body.print-tickets footer,
  body.print-tickets .saved-chip { display: none !important; }
  body.print-tickets #pickupTickets { display: block !important; }
  body.print-tickets { background: white !important; color: black !important; }
  #pickupTickets {
    padding: 0;
    background: white;
  }
  #pickupTickets .tix-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  #pickupTickets .tix {
    border: 2px dashed #000;
    padding: 12px;
    background: white;
    color: black;
    page-break-inside: avoid;
    break-inside: avoid;
    min-height: 160px;
    font-size: 11pt;
  }
  #pickupTickets .tix .tx-head {
    border-bottom: 1px solid #000;
    padding-bottom: 6px;
    margin-bottom: 8px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 10pt;
    display: flex;
    justify-content: space-between;
  }
  #pickupTickets .tix .tx-name {
    font-size: 14pt;
    font-weight: 900;
    margin-bottom: 4px;
  }
  #pickupTickets .tix .tx-flavor {
    font-size: 12pt;
    margin-bottom: 4px;
  }
  #pickupTickets .tix .tx-loc { font-size: 9pt; color: #333; line-height: 1.3; margin-top: 6px; }
  #pickupTickets .tix .tx-foot { font-size: 8.5pt; color: #444; margin-top: 8px; border-top: 1px dotted #666; padding-top: 6px; }
  @media print {
    body.print-tickets { padding: 0.3in; }
    #pickupTickets .tix-grid { gap: 8px; }
  }

  /* ---------- STREAMLINED VIEW BY DEFAULT (no JS needed) ----------
     Hide How It Works, the full catalog, and the editable org card by
     default — participants and visitors see the clean view immediately,
     even if cached HTML / failed JS / edge cases prevent the participant-view
     class from being applied. ---------- */
  #howItWorksSection,
  #catalogSection,
  #orgInfoCard,
  #lockToggleBtn { display: none !important; }
  #catalogCondensed { display: block !important; }
  #shippingPolicy { background: var(--bg-1); cursor: not-allowed; opacity: 0.85; }
  /* Organizers viewing their dashboard's setup tab can re-enable the
     full org card with body.organizer-edit-mode if ever needed. Default
     is hidden. */
  body.organizer-edit-mode #orgInfoCard { display: block !important; }
  /* Legacy participant-view class — kept for any code paths that still
     depend on it. Functionally same as the new defaults. */
  body.participant-view #howItWorksSection,
  body.participant-view #catalogSection,
  body.participant-view #orgInfoCard,
  body.participant-view #lockToggleBtn { display: none !important; }
  body.participant-view #catalogCondensed { display: block !important; }
  body.participant-view #shippingPolicy {
    background: var(--bg-1); cursor: not-allowed; opacity: 0.85;
  }
  /* Cloud-fetched customer orders: visually distinct + read-only */
  #ordersBody tr[data-source="cloud"] {
    background: rgba(16,185,129,0.04);
  }
  #ordersBody tr[data-source="cloud"] td:first-child::before {
    content: "🛒 ";
    font-size: 11px; opacity: 0.8;
  }
  #ordersBody tr[data-source="cloud"] input,
  #ordersBody tr[data-source="cloud"] select {
    pointer-events: none; background: transparent; border-color: transparent; color: var(--muted);
  }
  #ordersBody tr[data-source="cloud"] .prep-cb { pointer-events: auto; }
  #ordersBody tr[data-source="cloud"] .dup-row,
  #ordersBody tr[data-source="cloud"] .send-cust,
  #ordersBody tr[data-source="cloud"] .del-row { display: none; }
  /* condensed flavor chip */
  .flavor-chip {
    display: inline-block; padding: 4px 10px; font-size: 12px; font-weight: 600;
    background: var(--bg-1); border: 1px solid var(--border); border-radius: 100px; color: var(--text);
  }

  /* ---------- MOBILE ---------- */
  @media (max-width: 900px) {
    .catalog-grid { grid-template-columns: repeat(2, 1fr); }
    .seller-spotlight {
      position: static;
      margin: 0 auto 16px;
      max-width: 100%;
    }
  }
  @media (max-width: 640px) {
    main { padding: 4px 12px 24px; }
    .card { padding: 16px; border-radius: 14px; }
    .catalog-grid { grid-template-columns: 1fr; }
    .flavor-icon { flex: 0 0 60px; width: 60px; height: 76px; }
    header.hero { padding: 32px 16px 24px; }
    .stat .value { font-size: 24px; }
  }

  /* ---------- PRINT ---------- */
  @media print {
    @page { size: letter; margin: 0.4in; }
    html, body { background: white !important; color: black !important; }
    body::before { display: none; }
    header.hero { padding: 12px 0; background: white !important; }
    header.hero .eyebrow { border-color: black; background: white !important; color: black; }
    header.hero h1, header.hero h1 * {
      -webkit-text-fill-color: black !important;
      background: none !important;
      color: black !important;
      font-size: 22pt !important;
    }
    header.hero .tagline { color: #333; }
    .price-pill { background: black !important; color: white !important; box-shadow: none !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }

    .card, .stat, .loc-card, .flavor-card {
      background: white !important;
      border: 1px solid #222 !important;
      box-shadow: none !important;
      backdrop-filter: none !important;
      color: black !important;
    }
    .card::before, .card::after, .flavor-card::after, .stat::before { display: none !important; }
    .card h2 { color: black !important; }
    .card h2::before { background: black !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }

    label, .flavor-meta, .stat .label, .catalog-header p, .catalog-note { color: #222 !important; }
    input, select, textarea {
      border: none !important;
      border-bottom: 1px solid #666 !important;
      border-radius: 0 !important;
      background: transparent !important;
      color: black !important;
    }

    .no-print { display: none !important; }
    .print-only { display: block !important; }

    .catalog-header h2, .catalog-header h2 * {
      -webkit-text-fill-color: black !important;
      background: none !important;
      color: black !important;
      font-size: 16pt !important;
    }
    .catalog-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .flavor-card { padding: 6px; page-break-inside: avoid; }
    .flavor-icon { flex: 0 0 44px; width: 44px; height: 56px; }
    .flavor-name { font-size: 9.5pt; color: black; }
    .flavor-desc { font-size: 8pt; color: #222; }
    .flavor-meta { font-size: 7.5pt; }
    .flavor-meta .price { background: black !important; color: white !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .badge { background: white !important; color: black !important; border-color: #666 !important; }

    .print-table {
      display: table !important;
      width: 100%;
      border-collapse: collapse;
      font-size: 8.5pt;
      color: black;
    }
    .print-table th, .print-table td {
      border: 1px solid black;
      padding: 3px 4px;
      text-align: left;
      height: 22px;
      color: black;
    }
    .print-table th {
      background: #e5e5e5 !important;
      -webkit-print-color-adjust: exact;
      print-color-adjust: exact;
      font-size: 7.5pt;
      text-transform: uppercase;
    }
    .print-table .ck { text-align: center; font-size: 11pt; }

    .stat .value, .stat.accent .value {
      -webkit-text-fill-color: black !important;
      background: none !important;
      color: black !important;
      font-size: 14pt;
    }
    .progress-fill {
      background: #333 !important;
      color: white !important;
      box-shadow: none !important;
      -webkit-print-color-adjust: exact;
      print-color-adjust: exact;
    }
    footer, .steps, .theme-bar, .preset-row, .tab-nav, .saved-chip, .seller-spotlight { display: none !important; }
    #tabDashboard { display: none !important; }
    #tabOrderForm { display: block !important; }
    .page-break { page-break-before: always; }
    .ff-checks input[type="checkbox"] { border-color: black !important; }
    .ff-checks input[type="checkbox"]:checked { background: black !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  }
  .print-only { display: none; }

  /* ============================================================
     SELLER (PARTICIPANT) SIMPLE ORDERS — panel, list, add modal
     Shown only in body.seller-mode. Replaces the editable grid.
  ============================================================ */
  .my-orders-panel { display: none; }
  body.seller-mode .my-orders-panel { display: block; }
  body.seller-mode .orders-editable { display: none; }

  .mo-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
  .mo-add { font-size: 16px; font-weight: 700; padding: 12px 18px; }
  .mo-sub { font-size: 13px; color: var(--muted); margin: 8px 0 14px; line-height: 1.5; }
  .mo-privacy { font-size: 11px; color: var(--muted); opacity: 0.75; margin-top: 12px; }

  .mo-list { display: flex; flex-direction: column; gap: 10px; }
  .mo-empty {
    text-align: center; color: var(--muted); font-size: 14px; line-height: 1.6;
    padding: 28px 16px; border: 1px dashed var(--border-hi); border-radius: 12px;
  }
  .mo-item {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 12px; padding: 13px 14px;
  }
  .mo-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .mo-name { font-weight: 700; font-size: 15.5px; color: var(--text); }
  .mo-meta { font-size: 13px; color: var(--muted); margin-top: 3px; display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
  .mo-qty { color: var(--text); font-weight: 600; }
  .mo-dot { opacity: 0.5; }
  .mo-pill { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
  .mo-pill.paid { background: rgba(16,185,129,0.16); color: #10b981; }
  .mo-pill.unpaid { background: rgba(255,255,255,0.06); color: var(--muted); }
  .mo-pill.pending { background: var(--primary-soft); color: var(--primary); }

  .mo-paybtns { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-top: 11px; }
  .mo-paylabel { font-size: 12px; color: var(--muted); font-weight: 600; margin-right: 2px; }
  .mo-paybtn {
    font-size: 13px; font-weight: 700; padding: 7px 13px; border-radius: 999px;
    background: var(--primary-soft); color: var(--primary);
    border: 1px solid var(--primary); cursor: pointer; transition: all 0.12s ease;
  }
  .mo-paybtn:hover { background: var(--primary); color: #14140a; }

  /* Add-an-order modal */
  .ao-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.62);
    display: flex; align-items: center; justify-content: center;
    z-index: 1200; padding: 18px; backdrop-filter: blur(2px);
  }
  .ao-card {
    background: var(--bg-2, #161624); border: 1px solid var(--border-hi);
    border-radius: 18px; padding: 22px; width: 100%; max-width: 440px;
    max-height: 92vh; overflow-y: auto; box-shadow: 0 24px 70px rgba(0,0,0,0.55);
  }
  .ao-title { margin: 0 0 16px; font-size: 20px; color: var(--text); }
  .ao-field { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; color: var(--muted); font-weight: 600; margin-bottom: 13px; }
  .ao-field input, .ao-field select {
    font-size: 16px; /* 16px prevents iOS zoom-on-focus */
    padding: 11px 12px; border-radius: 10px;
    border: 1px solid var(--border-hi); background: var(--bg-1, #0e0e18);
    color: var(--text); font-weight: 500;
  }
  .ao-field input:focus, .ao-field select:focus {
    outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft);
  }
  .ao-row { display: grid; grid-template-columns: 1fr 110px; gap: 12px; }
  .ao-error { color: var(--danger); font-size: 13px; min-height: 16px; margin: 2px 0 4px; }
  .ao-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }

  /* Transient toast */
  .seller-toast {
    position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(20px);
    background: var(--text); color: var(--bg-1, #0e0e18);
    font-size: 14px; font-weight: 700; padding: 11px 20px; border-radius: 999px;
    box-shadow: 0 10px 34px rgba(0,0,0,0.4); z-index: 1400;
    opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .seller-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

  /* ============================================================
     END-DATE REMINDER / EXTEND BANNER (organizer dashboard)
  ============================================================ */
  .end-date-banner {
    background: var(--primary-soft);
    border: 1px solid var(--primary);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 16px;
  }
  .end-date-banner.ended {
    background: rgba(244,63,94,0.12);
    border-color: rgba(244,63,94,0.45);
  }
  .end-date-banner .edb-text {
    font-size: 14px; line-height: 1.5; color: var(--text); margin-bottom: 12px;
  }
  .end-date-banner .edb-actions {
    display: flex; flex-wrap: wrap; gap: 8px;
  }
  .end-date-banner .edb-btn {
    font-size: 13px; font-weight: 700; padding: 9px 15px; border-radius: 999px;
    cursor: pointer; border: 1px solid var(--primary); font-family: inherit;
  }
  .end-date-banner .edb-extend {
    background: var(--primary); color: #14140a;
  }
  .end-date-banner .edb-extend:hover { filter: brightness(1.06); }
  .end-date-banner .edb-keep {
    background: transparent; color: var(--muted); border-color: var(--border-hi);
  }
  .end-date-banner .edb-status {
    font-size: 12.5px; color: var(--muted); margin-top: 8px; min-height: 14px;
  }
