/* ═══════════════════════════════════════════════════════════════════════════
   OcevoHub · AURORA — the white theme for every app dashboard, the POS terminal
   and the Control Center. Loaded after app.css / posm.css / hr.css / admin.css,
   scoped to the app shells (.app, body.terminal-body) so the public site and
   sign-in pages keep their own look.

   Signature: airy white canvas with a faint aurora wash and dot grid, icon
   "chips" in the navigation, a blue→violet ribbon on whatever is active, and
   soft, generously rounded cards.
   ═══════════════════════════════════════════════════════════════════════════ */

.app, body.terminal-body, .cc-shell {
  --au-blue: #2563eb; --au-indigo: #4f46e5; --au-violet: #7c3aed; --au-cyan: #06b6d4;
  --au-grad: linear-gradient(135deg, #2563eb 0%, #4f46e5 55%, #7c3aed 100%);
  --au-ribbon: linear-gradient(180deg, #2563eb, #7c3aed);
  --au-tint: linear-gradient(90deg, #eef4ff 0%, #f5f1ff 100%);
  --au-line: #e8ecf4;
  --bg: #f7f8fc; --surface: #fff; --surface-2: #fafbfe;
  --border: #e8ecf4; --border-2: #d9e0ee;
  --ink: #0b1324; --ink-2: #3b4760; --muted: #6b7690; --muted-2: #98a2b8;
  --radius: 14px; --radius-lg: 20px; --radius-xl: 26px;
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 4px 14px -6px rgba(15, 23, 42, .07);
  --shadow: 0 2px 4px rgba(15, 23, 42, .04), 0 18px 36px -18px rgba(37, 52, 110, .18);
  --shadow-lg: 0 30px 70px -28px rgba(37, 52, 110, .35);
  --glow: 0 12px 26px -10px rgba(79, 70, 229, .55);
  --grad-blue: var(--au-grad);
  /* Components that used the dark navy gradient now carry a vivid brand gradient instead. */
  --grad-navy: radial-gradient(520px 260px at 95% -25%, rgba(255, 255, 255, .26), transparent 60%), radial-gradient(420px 240px at -5% 120%, rgba(34, 211, 238, .35), transparent 65%), linear-gradient(135deg, #2563eb 0%, #4f46e5 58%, #7c3aed 125%);
}

/* ── Canvas ─────────────────────────────────────────────────────────────── */
.app { background:
  radial-gradient(900px 360px at 100% -8%, rgba(99, 102, 241, .08), transparent 70%),
  radial-gradient(760px 320px at 28% -10%, rgba(56, 189, 248, .09), transparent 70%),
  #f7f8fc; }
.app::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; background-image: radial-gradient(#cfd6e6 1px, transparent 1px); background-size: 26px 26px; opacity: .35;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 38%); mask-image: linear-gradient(180deg, #000, transparent 38%); }
.app .main, .app .sidebar { z-index: 1; }
.app .main { position: relative; }
.app .sidebar { z-index: 40; }
body:has(> .app) { background: #f7f8fc; }
.app a { --link: var(--au-blue); }

/* ── Sidebar ────────────────────────────────────────────────────────────── */
.app .sidebar { background: #fff; background-image: none; color: var(--ink-2); border-right: 1px solid var(--au-line); box-shadow: 1px 0 0 rgba(255, 255, 255, .8); }
.app .sidebar-brand { color: var(--ink); height: 68px; padding: 0 22px; }
.app .brand-mark { filter: drop-shadow(0 6px 12px rgba(79, 70, 229, .3)); }
.app .brand-text { color: var(--ink); font-size: 15.5px; letter-spacing: .01em; }
.app .brand-text small { color: var(--au-indigo); letter-spacing: .2em; }
.app .sidebar-nav { scrollbar-color: #d6dcea transparent; padding: 4px 12px 22px; }
.app .nav-section { color: #9aa5bd; font-size: 10.5px; letter-spacing: .16em; padding: 20px 12px 8px; }
.app .nav-link { color: #475268; font-weight: 600; font-size: 14px; padding: 6px 10px 6px 7px; margin: 2px 0; border-radius: 13px; position: relative; gap: 11px; }
.app .nav-link .icon { box-sizing: border-box; width: 32px; height: 32px; padding: 7px; border-radius: 10px; background: #f1f4fa; color: #6b7690; stroke-width: 2; transition: background .15s, color .15s, box-shadow .15s, transform .15s; }
.app .nav-link:hover { background: #f5f7fc; color: var(--ink); }
.app .nav-link:hover .icon { background: #e6edff; color: var(--au-blue); }
.app .nav-link.active { background: var(--au-tint); color: var(--ink); font-weight: 750; box-shadow: none; }
.app .nav-link.active::before { content: ""; position: absolute; left: -12px; top: 9px; bottom: 9px; width: 4px; border-radius: 0 4px 4px 0; background: var(--au-ribbon); }
.app .nav-link.active .icon { background: var(--au-grad); color: #fff; box-shadow: 0 8px 16px -8px rgba(79, 70, 229, .8); }
.app .nav-link .nav-badge { background: #eef2ff; color: var(--au-indigo); }
.app .sidebar-footer { border-top: 1px solid var(--au-line); padding: 14px; }
.app .plan-pill { background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #bfd4ff, #d9c9ff 60%, #b6f0fb) border-box; border: 1.5px solid transparent; color: var(--ink-2); border-radius: 16px; box-shadow: 0 10px 24px -18px rgba(79, 70, 229, .6); }
.app .plan-pill strong { color: var(--ink); }
.app .plan-pill > .icon { color: var(--au-indigo); }
.app .plan-pill .small { color: var(--muted) !important; }
.app .sidebar-backdrop { background: rgba(15, 23, 42, .35); }

/* ── Top bar ────────────────────────────────────────────────────────────── */
.app .topbar { background: rgba(255, 255, 255, .8); backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid var(--au-line); height: 68px; }
.app .topbar-search .input, .app .topbar-search input { background: #f3f5fb; border-color: transparent; border-radius: 14px; height: 42px; }
.app .topbar-search .input:focus, .app .topbar-search input:focus { background: #fff; border-color: #b9c9f7; box-shadow: 0 0 0 4px rgba(37, 99, 235, .1); }
.app .icon-btn { border-radius: 12px; color: var(--ink-2); }
.app .icon-btn:hover { background: #eef2fb; color: var(--au-blue); }
.app .avatar { background: var(--au-grad); border-radius: 12px; box-shadow: 0 8px 16px -8px rgba(79, 70, 229, .7); }
.app .dropdown-menu { border-radius: 18px; border: 1px solid var(--au-line); box-shadow: var(--shadow-lg); }
.app .platform-notice { background: linear-gradient(90deg, #fff7e0, #ffeccc); color: #7a4a00; border-bottom: 1px solid #f9dca0; }
.app .platform-notice.maint-live { background: linear-gradient(90deg, #fff1f1, #ffe4e6); color: #9f1239; border-bottom-color: #fecdd3; }
.app .platform-notice a { margin-left: 8px; font-weight: 800; color: inherit; text-decoration: underline; }
.app .content { position: relative; padding: 28px 32px 64px; }

/* ── Page header ────────────────────────────────────────────────────────── */
.app .page-header h1 { font-size: 1.75rem; font-weight: 800; letter-spacing: -.035em; }
.app .page-header .subtitle { color: var(--muted); }
.app h2, .app h3 { color: var(--ink); }

/* ── Buttons & inputs ───────────────────────────────────────────────────── */
.app .btn { border-radius: 12px; }
.app .btn-primary, .app .btn-gradient { background: var(--au-grad); box-shadow: var(--glow); border-color: transparent; }
.app .btn-primary:hover, .app .btn-gradient:hover { background: linear-gradient(135deg, #1d4ed8, #4338ca 55%, #6d28d9); filter: none; box-shadow: 0 14px 28px -10px rgba(79, 70, 229, .65); }
.app .btn-secondary { border-color: var(--border-2); background: #fff; }
.app .btn-secondary:hover { border-color: #a9bdf1; color: var(--au-blue); background: #fbfcff; }
.app .btn-ghost:hover { background: #eef2fb; color: var(--au-blue); }
.app .btn-light { background: rgba(255, 255, 255, .2); color: #fff; border-color: rgba(255, 255, 255, .35); }
.app .input, .app .select, .app .textarea { border-radius: 12px; border-color: var(--border-2); background: #fff; }
.app .input:focus, .app .select:focus, .app .textarea:focus { border-color: #8aa8f5; box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }
:focus-visible { outline-color: #8aa8f5; }

/* ── Cards & stats ──────────────────────────────────────────────────────── */
.app .card { border: 1px solid var(--au-line); border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); }
.app .card-header { border-bottom-color: var(--au-line); padding: 18px 24px; }
.app .card-body { padding: 22px 24px; }
.app .card-footer { background: #fafbfe; border-top-color: var(--au-line); border-radius: 0 0 20px 20px; }
.app .stat-card { padding: 20px 22px; transition: transform .18s, box-shadow .18s, border-color .18s; }
.app .stat-card::after { content: ""; position: absolute; right: -36px; top: -36px; width: 128px; height: 128px; border-radius: 50%; background: radial-gradient(circle, rgba(79, 70, 229, .10), transparent 68%); pointer-events: none; }
.app a.stat-card:hover, .app .stat-card:has(a.stretched):hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #cfd9f3; }
.app .stat-card .stat-label { font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.app .stat-card .stat-value { font-size: 1.75rem; letter-spacing: -.04em; }
.app .stat-icon { border-radius: 12px; width: 38px; height: 38px; background: #eef2ff; color: var(--au-indigo); }
.app .stat-icon.green { background: #e6f8ef; color: #0f9d63; }
.app .stat-icon.amber { background: #fff3da; color: #c97d00; }
.app .stat-icon.red { background: #fdeceb; color: #dc3545; }
.app .stat-icon.cyan { background: #e0f7fb; color: #0891b2; }
.app .stat-icon.navy { background: #ebeefb; color: #3b4b8f; }
/* the "hero" figure: vivid aurora card with white text */
.app .stat-card.hero { background: var(--grad-navy); border: 0; color: #fff; box-shadow: 0 22px 40px -22px rgba(79, 70, 229, .7); }
.app .stat-card.hero::after { background: radial-gradient(circle, rgba(255, 255, 255, .25), transparent 68%); }
.app .stat-card.hero .stat-label { color: rgba(255, 255, 255, .8); }
.app .stat-card.hero .stat-meta { color: rgba(255, 255, 255, .78); }
.app .stat-card.hero .stat-icon { background: rgba(255, 255, 255, .2); color: #fff; }

/* feature banners that used to be dark navy */
.app .alert-upgrade, .app .coming-soon, .app .container-balance, .app .ref-hero { color: #eaf0ff; }
.app .alert-upgrade strong, .app .coming-soon h1, .app .coming-soon h2, .app .ref-hero h1 { color: #fff; }
.app .coming-soon p { color: rgba(255, 255, 255, .85); }
.app .pp-pass { background: var(--grad-navy); box-shadow: 0 30px 60px -32px rgba(79, 70, 229, .7); color: #eaf0ff; }
.app .pp-pass::after { opacity: .5; }
.app .pp-ring > div { background: rgba(10, 18, 70, .55); box-shadow: inset 0 0 20px rgba(255, 255, 255, .12); }
.app .pp-chip { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .35); color: #fff; }
.app .pp-chip.ghost { background: rgba(255, 255, 255, .1); color: #e6edff; }
.app .pp-status.ok { color: #bbf7d0; } .app .pp-status.warn { color: #fde68a; } .app .pp-status.info { color: #cffafe; } .app .pp-status.bad { color: #fecdd3; }
.app .pp-btn { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .3); color: #fff; }
.app .pp-btn.primary { background: #fff; color: #3730a3; box-shadow: 0 12px 24px -12px rgba(15, 23, 42, .5); }
.app .pp-btn.primary:hover { color: #312e81; }
.app .pp-plan { background: none; -webkit-text-fill-color: #fff; color: #fff; }

/* ── Tables, badges, tabs ───────────────────────────────────────────────── */
.app .table th { background: #fafbfe; color: var(--muted); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid var(--au-line); }
.app .table td { border-bottom-color: #eff2f8; }
.app .table tbody tr:hover { background: #f8faff; }
.app .badge-primary { background: #e8eeff; color: #3b4fd1; }
.app .badge-pro { background: var(--au-grad); }
.app .badge-neutral { background: #eef1f7; }
.app .toast { background: #fff; color: var(--ink); border: 1px solid var(--au-line); border-left-width: 4px; box-shadow: var(--shadow-lg); border-radius: 16px; }
.app .toast button { color: var(--muted); }
.app .toast.success .icon { color: #16a34a; } .app .toast.error .icon { color: #e11d48; } .app .toast.warning .icon { color: #d97706; } .app .toast.info .icon { color: var(--au-blue); }
.app .period.on { background: var(--au-grad); border-color: transparent; color: #fff; box-shadow: 0 16px 28px -16px rgba(79, 70, 229, .8); }
.app .period.on .period-label, .app .period.on small { color: rgba(255, 255, 255, .85); }
.app .rtab.on, .app .chip.active, .app .seg button.on, .app .seg button.on span { background: #eef2ff; border-color: #c4d2fb; color: #3730a3; box-shadow: none; }
.app .seg button[data-mode="exchange"].on { background: #e6efff; color: #1d4ed8; } .app .seg button[data-mode="refill"].on { background: #e6f8ef; color: #0b7a4a; }
.app .empty-art { background: #eef2ff; color: var(--au-indigo); }

/* ── Workspace / HR bits ────────────────────────────────────────────────── */
.app .hr-ws-menu { background: #fff; border-color: var(--au-line); box-shadow: var(--shadow-lg); color: var(--ink-2); }
.app .hr-me-hero { background: var(--grad-navy); }

/* ════════════════════════════════════════════════════════════════════════════
   POS TERMINAL
   ════════════════════════════════════════════════════════════════════════════ */
body.terminal-body { background:
  radial-gradient(900px 420px at 100% -12%, rgba(99, 102, 241, .10), transparent 65%),
  radial-gradient(760px 380px at -6% 112%, rgba(34, 211, 238, .12), transparent 65%), #f8f9fd; color: var(--ink); }
.tbar { background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--au-line), 0 14px 30px -26px rgba(37, 52, 110, .55); }
.tbar::after { height: 3px; background: linear-gradient(90deg, #2563eb, #7c3aed 55%, #06b6d4); opacity: 1; }
.tbar-brand, .tbar-title { color: var(--ink); }
.tbar-title span, .tbar-brand .accent { color: var(--au-indigo); }
.tbar-brand .brand-mark { filter: drop-shadow(0 6px 10px rgba(79, 70, 229, .3)); }
.tbar-chip { background: #f3f5fb; border: 1px solid var(--au-line); color: var(--ink-2); backdrop-filter: none; font-weight: 650; }
.tbar-chip .icon { color: var(--muted); }
.tbar-chip.ok { background: #e8f8ef; border-color: #b8ebd0; color: #0b7a4a; }
.tbar-chip.warn { background: #fff3da; border-color: #f7dca0; color: #8a5600; }
.tbar-clock { border-right-color: var(--au-line); color: var(--ink); }
.tbar-clock small { color: var(--muted); }
.tbar-user, .tbar a, .tbar button { color: var(--ink-2); }
.tbar .icon-btn, .tbar .tbar-btn { color: var(--ink-2); }
.tbar .icon-btn:hover, .tbar .tbar-btn:hover { background: #eef2fb; color: var(--au-blue); }
.tbar-user .avatar { box-shadow: 0 0 0 3px #fff, 0 0 0 4px #d7def0; }

.till-search { background: #fff; border-color: var(--au-line); border-radius: 18px; }
.till-search:focus-within { border-color: #8aa8f5; box-shadow: 0 0 0 4px rgba(37, 99, 235, .12), 0 12px 28px -22px rgba(8, 19, 48, .5); }
.till-cust, .till-otype { background: #fff; border-color: var(--au-line); }
.till-cust .avatar { background: var(--au-grad); }
.till-cats { background: rgba(255, 255, 255, .9); border-color: var(--au-line); box-shadow: 0 14px 30px -26px rgba(37, 52, 110, .5); }
.tc { color: var(--ink-2); }
.tc:hover { background: #f3f6fd; }
.tc.on { background: var(--au-tint); color: var(--ink); font-weight: 750; box-shadow: inset 0 0 0 1.5px #c9d6fb, 0 10px 22px -16px rgba(79, 70, 229, .6); position: relative; }
.tc.on::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 4px; border-radius: 0 4px 4px 0; background: var(--au-ribbon); }
.tc.on .dot { box-shadow: 0 0 0 3px color-mix(in srgb, var(--c, #4f46e5) 22%, transparent); }

/* product tiles: pastel art + tinted price chip, instead of heavy colour blocks */
.pt { background: #fff; border: 1px solid var(--au-line); box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 14px 28px -24px rgba(37, 52, 110, .45); }
.pt:hover { border-color: color-mix(in srgb, var(--c) 45%, #fff); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 18%, transparent), 0 22px 36px -26px rgba(37, 52, 110, .55); }
.pt-ph { background: radial-gradient(110% 90% at 15% 0%, color-mix(in srgb, var(--c) 8%, #fff), color-mix(in srgb, var(--c) 20%, #fff)); color: color-mix(in srgb, var(--c) 78%, #0b1324); text-shadow: none; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 14%, transparent); letter-spacing: -.02em; }
.pt-name { color: var(--ink); }
.pt-meta b { color: color-mix(in srgb, var(--c) 78%, #0b1324); background: color-mix(in srgb, var(--c) 13%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 22%, transparent); }
.pt::after { color: var(--au-indigo); }
.pt.out { opacity: .55; }

.till-cart { background: #fff; border: 1px solid var(--au-line); box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 40px 70px -40px rgba(37, 52, 110, .5); }
.till-cart-head { border-bottom-color: #e3e9f6; }
.till-cart-head #t-count { background: #eef2ff; color: var(--au-indigo); }
.cart-empty .icon { background: #eef2ff; color: var(--au-indigo); }
.cl:hover { background: #f8faff; }
.cl-qty { background: #eef2ff; }
.cl-qty button { color: var(--au-indigo); }
.cl-qty button:hover { background: #dfe6ff; }
.till-totals, .till-actions { background: #f8f9fd; }
.till-totals::before { background: radial-gradient(circle at 7px 0, transparent 6px, #f8f9fd 6.5px) -7px 7px / 14px 14px repeat-x; }
.ta { background: #fff; border: 1px solid var(--au-line); box-shadow: 0 6px 14px -12px rgba(37, 52, 110, .5); }
.ta .icon { color: var(--au-indigo); }
.ta:hover { color: var(--au-indigo); border-color: #b9c6f7; box-shadow: 0 0 0 3px rgba(79, 70, 229, .12); }
.ta-pay { background: var(--au-grad); border: 0; box-shadow: 0 18px 32px -16px rgba(79, 70, 229, .85); }
.pay-due { background: var(--grad-navy); }
.terminal-body .modal { border: 1px solid var(--au-line); box-shadow: var(--shadow-lg); }
.terminal-body .btn-primary { background: var(--au-grad); box-shadow: var(--glow); }
.terminal-body .qc:first-child { background: #eef2ff; border-color: #c4d2fb; color: #3730a3; }
.terminal-body .pm.on, .terminal-body .pm.active { border-color: var(--au-indigo); background: #f1f0ff; color: #3730a3; }
.till-cartbar { background: var(--au-grad) !important; }

/* choose-a-terminal / kiosk-ish screens */
.terminal-body .card { border: 1px solid var(--au-line); border-radius: 26px; box-shadow: var(--shadow); }

/* ════════════════════════════════════════════════════════════════════════════
   CONTROL CENTER (admin) — same white language with the violet accent
   ════════════════════════════════════════════════════════════════════════════ */
.cc-shell { --cc-bg: #f7f8fc; --cc-line: #e8ecf4; --cc-violet: #6d4aff; background: #f7f8fc; background-image: radial-gradient(#d6dcec 1px, transparent 1px); background-size: 24px 24px; }
.cc-shell.app, .cc-shell .app { background: transparent; }
.cc-shell .app::before { display: none; }
.cc-side { background: #fff; background-image: none; border-right: 1px solid var(--au-line); }
.cc-brand { color: var(--ink); }
.cc-brand b { color: var(--ink); }
.cc-brand-mark { filter: drop-shadow(0 6px 12px rgba(109, 74, 255, .35)); }
.cc-search { background: #f3f5fb; border-color: transparent; color: var(--muted); }
.cc-search:hover { background: #fff; border-color: #c9d3f3; color: var(--ink); }
.cc-shell kbd { background: #fff; border-color: var(--border-2); color: var(--muted); }
.cc-nav .nav-section { color: #9aa5bd; }
.cc-nav .nav-link { color: #475268; padding: 6px 10px 6px 7px; font-weight: 600; }
.cc-nav .nav-link .icon { color: #6b7690; }
.cc-nav .nav-link:hover { background: #f5f7fc; color: var(--ink); }
.cc-nav .nav-link:hover .icon { background: #ece6ff; color: #6d4aff; }
.cc-nav .nav-link.active { background: linear-gradient(90deg, #f1ecff, #eaf6ff); color: var(--ink); box-shadow: none; font-weight: 750; }
.cc-nav .nav-link.active .icon { background: linear-gradient(135deg, #7c3aed, #4f46e5); color: #fff; }
.cc-nav .nav-link.active::before { background: linear-gradient(180deg, #7c3aed, #06b6d4); width: 4px; }
.cc-me { background: #f7f8fc; border-color: var(--au-line); }
.cc-me b { color: var(--ink); } .cc-me small { color: var(--muted); }
.cc-me .cc-icon-btn { color: var(--muted); border-color: var(--au-line); background: #fff; }
.cc-me .cc-icon-btn:hover { color: #6d4aff; background: #f3efff; }
.cc-top { background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(16px); }
.cc-shell .card { border-color: var(--au-line); box-shadow: var(--shadow-sm); }
.cc-shell .btn-primary { background: linear-gradient(135deg, #7c3aed, #4f46e5); }
.cc-shell .stat-card.hero, .cc-hero { background: radial-gradient(520px 260px at 100% 0%, rgba(255, 255, 255, .28), transparent 65%), radial-gradient(420px 240px at 0% 100%, rgba(34, 211, 238, .4), transparent 70%), linear-gradient(135deg, #5b3df5 0%, #7c3aed 60%, #a855f7 120%); color: #fff; }
.cc-shell .stat-card.hero .stat-label { color: rgba(255, 255, 255, .82); }
.cc-shell .chip.active { background: #1d1546; border-color: #1d1546; }
.cc-shell .platform-notice { margin: 0; }

/* ════════════════════════════════════════════════════════════════════════════
   HR hero · onboarding wizards · error pages · /apps launcher (the suite home)
   ════════════════════════════════════════════════════════════════════════════ */
.app .hr-hero { background: var(--grad-navy); box-shadow: 0 26px 50px -28px rgba(79, 70, 229, .7); }
.app .hr-hero p { color: rgba(255, 255, 255, .86); }
.app .hr-hero-k { color: #cffafe; }
.app .hr-hero-stat { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .26); }

.onboard-page { background: radial-gradient(800px 320px at 100% -10%, rgba(99, 102, 241, .09), transparent 70%), radial-gradient(700px 300px at 10% -12%, rgba(56, 189, 248, .1), transparent 70%), #f7f8fc; }
.onboard-top { background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px); color: var(--ink); border-bottom: 1px solid #e8ecf4; }
.onboard-top .brand-text { color: var(--ink); } .onboard-top .brand-text small { color: #4f46e5; }
.onboard-top .btn-light { background: #fff; color: #3b4760; border-color: #d9e0ee; }
.onboard-top .btn-light:hover { color: #2563eb; border-color: #a9bdf1; }
.onboard-page .btn-primary { background: linear-gradient(135deg, #2563eb, #4f46e5 55%, #7c3aed); box-shadow: 0 12px 26px -10px rgba(79, 70, 229, .55); border-color: transparent; }
.onboard-page .card { border: 1px solid #e8ecf4; border-radius: 22px; box-shadow: 0 2px 4px rgba(15, 23, 42, .04), 0 18px 36px -18px rgba(37, 52, 110, .18); }

.error-page { background: radial-gradient(700px 360px at 85% -10%, rgba(99, 102, 241, .13), transparent 70%), radial-gradient(640px 360px at 0% 110%, rgba(34, 211, 238, .15), transparent 70%), #fff; color: #6b7690; }
.error-page h1 { color: #0b1324 !important; }
.error-page .cs-icon { background: #eef2ff !important; color: #4f46e5 !important; }
.error-page .btn-light { background: #fff; color: #3b4760; border-color: #d9e0ee; }
.error-page .btn-gradient { background: linear-gradient(135deg, #2563eb, #4f46e5 55%, #7c3aed); }

body.suite { background: radial-gradient(900px 420px at 100% -12%, rgba(99, 102, 241, .1), transparent 70%), radial-gradient(760px 380px at 10% -12%, rgba(56, 189, 248, .12), transparent 70%), #f7f8fc; color: #3b4760; }
body.suite::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; background-image: radial-gradient(#cfd6e6 1px, transparent 1px); background-size: 26px 26px; opacity: .4; -webkit-mask-image: linear-gradient(180deg, #000, transparent 45%); mask-image: linear-gradient(180deg, #000, transparent 45%); }
body.suite > * { position: relative; z-index: 1; }
body.suite .suite-top { background: rgba(255, 255, 255, .82); backdrop-filter: blur(14px); border-bottom: 1px solid #e8ecf4; }
body.suite .brand-text { color: var(--ink); } body.suite .brand-text small { color: #4f46e5; }
body.suite .suite-top .btn-light { background: #fff; color: #3b4760; border-color: #d9e0ee; }
body.suite .avatar { background: linear-gradient(135deg, #2563eb, #7c3aed); }
body.suite .platform-notice { background: linear-gradient(90deg, #fff7e0, #ffeccc); color: #7a4a00; }
body.suite .dropdown-menu { border: 1px solid #e8ecf4; box-shadow: 0 30px 70px -28px rgba(37, 52, 110, .35); }

body.suite .lz-hero { background: #fff; border: 1px solid #e8ecf4; box-shadow: 0 2px 4px rgba(15, 23, 42, .04), 0 40px 80px -48px rgba(37, 52, 110, .4); }
body.suite .lz-aurora { opacity: .55; }
body.suite .lz-aurora i { mix-blend-mode: normal; }
body.suite .lz-aurora i:nth-child(1) { background: radial-gradient(circle, rgba(99, 102, 241, .45), transparent 65%); }
body.suite .lz-aurora i:nth-child(2) { background: radial-gradient(circle, rgba(34, 211, 238, .4), transparent 65%); }
body.suite .lz-aurora i:nth-child(3) { background: radial-gradient(circle, rgba(167, 139, 250, .4), transparent 65%); }
body.suite .lz-gridbg { background-image: linear-gradient(rgba(99, 102, 241, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(99, 102, 241, .08) 1px, transparent 1px); }
body.suite .lz-chip { background: #f3f5fb; border-color: #e8ecf4; color: #3b4760; }
body.suite .lz-hello h1 { background: linear-gradient(95deg, #0b1324 30%, #4f46e5 72%, #06b6d4); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
body.suite .lz-lead { color: #6b7690; }
body.suite .lz-search { background: #f3f5fb; border-color: transparent; color: #6b7690; }
body.suite .lz-search:focus-within { background: #fff; border-color: #8aa8f5; box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }
body.suite .lz-search input { color: #0b1324; } body.suite .lz-search input::placeholder { color: #98a2b8; }
body.suite .lz-search kbd { border-color: #d9e0ee; color: #6b7690; background: #fff; }
body.suite .lz-results { background: #fff; border-color: #e8ecf4; box-shadow: 0 30px 60px -24px rgba(37, 52, 110, .35); }
body.suite .lz-results a { color: #0b1324; } body.suite .lz-results a.on, body.suite .lz-results a:hover { background: #eef2ff; }
body.suite .lz-results .ri { background: #eef2ff; color: #4f46e5; } body.suite .lz-results small, body.suite .lz-results .none { color: #6b7690; }
body.suite .lz-btn { color: #fff; background: linear-gradient(135deg, #2563eb, #4f46e5 55%, #7c3aed); box-shadow: 0 14px 28px -12px rgba(79, 70, 229, .65); }
body.suite .lz-btn:hover { color: #fff; }
body.suite .lz-btn.ghost { color: #3b4760; background: #fff; border: 1px solid #d9e0ee; box-shadow: none; }
body.suite .lz-btn.ghost:hover { color: #2563eb; background: #fbfcff; border-color: #a9bdf1; }
body.suite .lz-sec-h h2 { color: #0b1324; } body.suite .lz-sec-h p { color: #6b7690; }
body.suite .lz-n { color: #4f46e5; background: #eef2ff; border-color: transparent; }
body.suite .lz-app { background: #fff; border: 1px solid #e8ecf4; box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 22px 40px -32px rgba(37, 52, 110, .4); }
body.suite .lz-app:hover { border-color: color-mix(in srgb, var(--ac) 45%, #fff); box-shadow: 0 30px 60px -34px color-mix(in srgb, var(--ac) 70%, transparent); }
body.suite .lz-app-mesh { opacity: .38; }
body.suite .lz-app:hover .lz-app-mesh { opacity: .6; }
body.suite .lz-app-water { opacity: .07; } body.suite .lz-app:hover .lz-app-water { opacity: .14; }
body.suite .lz-app-ic { background: linear-gradient(140deg, var(--ac), color-mix(in srgb, var(--ac) 62%, #4f46e5)); }
body.suite .lz-live { color: #0b7a4a; background: #e8f8ef; border-color: #b8ebd0; }
body.suite .lz-live i { box-shadow: 0 0 0 3px rgba(52, 211, 153, .3); }
body.suite .lz-app-name small { color: color-mix(in srgb, var(--ac) 80%, #0b1324); }
body.suite .lz-app-name h3 { color: #0b1324; } body.suite .lz-app-name p { color: #6b7690; }
body.suite .lz-stat { background: #f7f8fc; border-color: #eef1f7; }
body.suite .lz-stat small { color: #6b7690; } body.suite .lz-stat b { color: #0b1324; } body.suite .lz-stat span { color: #6b7690; }
body.suite .lz-quick a { color: #3b4760; background: #f3f5fb; border-color: transparent; }
body.suite .lz-quick a:hover { background: color-mix(in srgb, var(--ac) 14%, #fff); border-color: color-mix(in srgb, var(--ac) 40%, #fff); color: #0b1324; }
body.suite .lz-go { background: #0b1324; color: #fff; }
body.suite .lz-new { background: #fbfcff; border-color: #c7d2ee; }
body.suite .lz-new:hover { background: #f3f6ff; border-color: #6d8bf0; }
body.suite .lz-new h3 { color: #0b1324; } body.suite .lz-new p { color: #6b7690; }
body.suite .lz-new-ic { color: #4f46e5; border-color: #b5c3ee; }
body.suite .lz-store { background: #fff; border-color: #e8ecf4; box-shadow: 0 1px 2px rgba(15, 23, 42, .03); }
body.suite .lz-store:hover { background: #fbfcff; border-color: color-mix(in srgb, var(--ac) 45%, #fff); }
body.suite .lz-store-ic { color: var(--ac); background: color-mix(in srgb, var(--ac) 12%, #fff); border-color: color-mix(in srgb, var(--ac) 25%, #fff); }
body.suite .lz-store-b strong { color: #0b1324; } body.suite .lz-store-b small { color: #6b7690; }
body.suite .lz-get { background: #0b1324; color: #fff; } body.suite .lz-get:hover { background: var(--ac); color: #fff; }
body.suite .lz-note { color: #6b7690; }
body.suite .lz-bp { background-color: #fff; border-color: #cfd8ee; background-image: linear-gradient(rgba(99, 102, 241, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(99, 102, 241, .06) 1px, transparent 1px); }
body.suite .lz-bp.on { border-color: #86d9b3; }
body.suite .lz-bp-ic { color: color-mix(in srgb, var(--ac) 85%, #0b1324); border-color: color-mix(in srgb, var(--ac) 50%, #fff); }
body.suite .lz-bp strong { color: #0b1324; } body.suite .lz-bp small { color: #6b7690; }
body.suite .lz-bell { color: #3b4760; background: #f3f5fb; border-color: transparent; }
body.suite .lz-bell:hover { background: #e6edff; color: #2563eb; }
body.suite .lz-bell.on { color: #0b7a4a; background: #e8f8ef; border-color: #b8ebd0; }
/* /apps/add and other suite pages */
body.suite .app-card { background: #fff; border-color: #e8ecf4; box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 22px 40px -32px rgba(37, 52, 110, .4); }
body.suite .app-card h2 { color: #0b1324; } body.suite .app-card p { color: #6b7690; }
body.suite .app-short { color: color-mix(in srgb, var(--accent) 80%, #0b1324); }
body.suite .suite-title { color: #0b1324; } body.suite .suite-sub { color: #6b7690; }
body.suite .suite-kicker { color: #4f46e5; }
body.suite .app-actions .btn-secondary { background: #fff; color: #0b1324; border-color: #d9e0ee; }

/* Toasts live outside .app — always white */
.toasts .toast { background: #fff; color: #0b1324; border: 1px solid #e8ecf4; border-left-width: 4px; box-shadow: 0 30px 70px -28px rgba(37, 52, 110, .4); border-radius: 16px; }
.toasts .toast button { color: #6b7690; }
.toasts .toast.success .icon { color: #16a34a; } .toasts .toast.error .icon { color: #e11d48; } .toasts .toast.warning .icon { color: #d97706; } .toasts .toast.info .icon { color: #2563eb; }
.app .pos-apps-soon { color: #3b4760; background: radial-gradient(500px 200px at 100% 0%, rgba(99, 102, 241, .12), transparent 70%), linear-gradient(135deg, #fff, #f6f8ff); border: 1px solid #e0e7fb; }
.app .pos-apps-soon strong { color: #0b1324; }
.cc-shell .pl-tab[aria-selected="true"] { background: #f1ecff; border-color: #cdbdfb; color: #4c1d95; }

/* ════════════════════════════════════════════════════════════════════════════
   /apps — business switcher, app cards, "add another business", setup wizard (light)
   ════════════════════════════════════════════════════════════════════════════ */
.bz-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.bz { margin: 0; position: relative; display: block; border-radius: 22px; background: #fff; border: 1px solid #e8ecf4; box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 18px 34px -28px rgba(37, 52, 110, .45); transition: transform .18s, box-shadow .18s, border-color .18s; text-decoration: none; }
.bz:hover:not(.is-cur) { transform: translateY(-2px); border-color: #b9c9f7; box-shadow: 0 24px 40px -26px rgba(79, 70, 229, .5); }
.bz.is-cur { background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #60a5fa, #a78bfa 55%, #22d3ee) border-box; border: 2px solid transparent; box-shadow: 0 24px 44px -28px rgba(79, 70, 229, .6); }
.bz-btn { all: unset; box-sizing: border-box; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; width: 100%; padding: 18px; cursor: pointer; border-radius: inherit; }
.bz-btn:disabled { cursor: default; }
.bz-btn:focus-visible { outline: 3px solid #8aa8f5; outline-offset: 2px; }
.bz-av { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; overflow: hidden; font-weight: 800; font-size: 17px; color: #fff; background: linear-gradient(135deg, hsl(var(--h, 225) 80% 56%), hsl(calc(var(--h, 225) + 40) 78% 52%)); box-shadow: 0 12px 22px -12px hsl(var(--h, 225) 80% 50%); }
.bz-av img { width: 100%; height: 100%; object-fit: cover; }
.bz-body { min-width: 0; display: grid; }
.bz-body strong { color: #0b1324; font-size: 15.5px; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bz-body small { color: #6b7690; font-size: 12.5px; }
.bz-apps { grid-column: 1 / -1; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.bz-apps i { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--ac) 13%, #fff); color: var(--ac); border: 1px solid color-mix(in srgb, var(--ac) 25%, #fff); }
.bz-apps i .icon { width: 15px; height: 15px; }
.bz-apps em { font-style: normal; font-size: 12.5px; color: #98a2b8; }
.bz-state { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12.5px; font-weight: 750; color: #4f46e5; }
.bz.is-cur .bz-state { color: #0b7a4a; }
.bz-state .icon { width: 15px; height: 15px; }
.bz-new { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 18px; border: 1.5px dashed #c1cdee; background: #fbfcff; box-shadow: none; color: inherit; }
.bz-new:hover { border-color: #6d8bf0; background: #f3f6ff; }
.bz-new .bz-av { background: #eef2ff; color: #4f46e5; box-shadow: none; border: 1.5px dashed #b5c3ee; }
.bz-new .bz-av .icon { width: 22px; height: 22px; transition: transform .25s; }
.bz-new:hover .bz-av .icon { transform: rotate(90deg); }

.ap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px; }
.ap { --ac: #4f46e5; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: 26px; background: #fff; border: 1px solid #e8ecf4; box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 24px 44px -34px rgba(37, 52, 110, .45); transition: transform .2s, box-shadow .2s, border-color .2s; }
.ap::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--ac), color-mix(in srgb, var(--ac) 45%, #7c3aed)); opacity: .9; }
.ap::after { content: ""; position: absolute; right: -50px; top: -50px; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--ac) 16%, transparent), transparent 70%); pointer-events: none; }
.ap:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--ac) 40%, #fff); box-shadow: 0 34px 56px -36px color-mix(in srgb, var(--ac) 75%, transparent); }
.ap-head { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; text-decoration: none; color: inherit; }
.ap-ic { width: 54px; height: 54px; border-radius: 17px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--ac), color-mix(in srgb, var(--ac) 62%, #4f46e5)); box-shadow: 0 14px 26px -12px var(--ac); }
.ap-ic .icon { width: 26px; height: 26px; }
.ap-title { min-width: 0; display: grid; gap: 1px; }
.ap-title small { font: 800 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--ac) 80%, #0b1324); }
.ap-title strong { color: #0b1324; font-size: 1.12rem; letter-spacing: -.02em; line-height: 1.2; }
.ap-title em { font-style: normal; color: #6b7690; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap .lz-stat { position: relative; z-index: 1; }
.ap-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.ap-open { flex: 1 1 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 14px; font-weight: 750; font-size: 14.5px; color: #fff; text-decoration: none; background: linear-gradient(135deg, var(--ac), color-mix(in srgb, var(--ac) 60%, #4f46e5)); box-shadow: 0 16px 28px -16px var(--ac); transition: transform .15s, filter .15s; }
.ap-open:hover { transform: translateY(-1px); filter: brightness(1.06); color: #fff; }
.ap-open .icon { width: 17px; height: 17px; transition: transform .2s; }
.ap-open:hover .icon { transform: translateX(3px); }
.ap-chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 11px; font-size: 13px; font-weight: 650; color: #3b4760; background: #f3f5fb; text-decoration: none; transition: background .15s, color .15s; }
.ap-chip:hover { background: color-mix(in srgb, var(--ac) 14%, #fff); color: #0b1324; }
.ap-chip .icon { width: 15px; height: 15px; }
.ap-more { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-radius: 14px; border: 1.5px dashed color-mix(in srgb, var(--ac) 40%, #d6dcee); color: #3b4760; font-size: 13px; font-weight: 650; text-decoration: none; background: color-mix(in srgb, var(--ac) 4%, #fff); }
.ap-more:hover { border-style: solid; color: #0b1324; background: color-mix(in srgb, var(--ac) 9%, #fff); }
.ap-more .icon { width: 16px; height: 16px; color: var(--ac); }
.ap-add { align-items: flex-start; justify-content: center; gap: 8px; min-height: 230px; border: 1.5px dashed #c1cdee; background: #fbfcff; box-shadow: none; text-decoration: none; }
.ap-add::before, .ap-add::after { display: none; }
.ap-add:hover { border-color: #6d8bf0; background: #f3f6ff; box-shadow: none; }
.ap-add.is-static { cursor: default; transform: none; }
.ap-add-ic { width: 54px; height: 54px; border-radius: 17px; display: grid; place-items: center; color: #4f46e5; border: 1.5px dashed #b5c3ee; background: #fff; margin-bottom: 6px; transition: transform .3s; }
.ap-add:hover .ap-add-ic { transform: rotate(90deg); }
.ap-add strong { color: #0b1324; font-size: 1.15rem; }
.ap-add small { color: #6b7690; font-size: 13.5px; }

/* "Add another business" page */
.nb { max-width: 720px; margin: 0 auto; text-align: center; }
.nb .wiz-title { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.nb .wiz-back { display: inline-flex; margin: 0 auto 14px; }
.nb .suite-sub { max-width: 560px; margin: 12px auto 28px; }
.nb-card { text-align: left; background: #fff; border: 1px solid #e8ecf4; border-radius: 28px; padding: 30px; box-shadow: 0 2px 4px rgba(15, 23, 42, .04), 0 40px 80px -48px rgba(37, 52, 110, .45); color: #3b4760; }
.nb-card .field > label { font-size: 13.5px; font-weight: 700; color: #0b1324; }
.input-lg { height: 52px; font-size: 1.05rem; border-radius: 14px; }
.nb-apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.nb-app { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 12px 14px; border: 1.5px solid #e3e8f3; border-radius: 16px; cursor: pointer; background: #fff; transition: border-color .15s, box-shadow .15s, background .15s; }
.nb-app:hover { border-color: color-mix(in srgb, var(--ac) 45%, #fff); }
.nb-app input { position: absolute; opacity: 0; pointer-events: none; }
.nb-app:has(input:checked) { border-color: var(--ac); background: color-mix(in srgb, var(--ac) 6%, #fff); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ac) 14%, transparent); }
.nb-app:has(input:focus-visible) { outline: 3px solid #8aa8f5; outline-offset: 2px; }
.nb-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--ac), color-mix(in srgb, var(--ac) 62%, #4f46e5)); }
.nb-ic .icon { width: 20px; height: 20px; }
.nb-t { min-width: 0; display: grid; }
.nb-t strong { color: #0b1324; font-size: 14.5px; }
.nb-t small { color: #6b7690; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nb-ck { position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--ac); color: #fff; opacity: 0; transform: scale(.6); transition: opacity .15s, transform .15s; }
.nb-ck .icon { width: 12px; height: 12px; stroke-width: 3; }
.nb-app:has(input:checked) .nb-ck { opacity: 1; transform: scale(1); }
.nb-notes { list-style: none; margin: 4px 0 22px; padding: 16px 18px; border-radius: 18px; background: #f7f8fc; display: grid; gap: 10px; }
.nb-notes li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: #3b4760; }
.nb-notes .icon { width: 18px; height: 18px; color: #4f46e5; margin-top: 1px; }
.nb-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
@media (max-width: 560px) { .nb-card { padding: 20px; } .nb-foot { flex-direction: column-reverse; align-items: stretch; } .nb-foot .btn { width: 100%; } .ap-grid { grid-template-columns: 1fr; } }

/* Setup wizard (/apps/add) on the light suite */
body.suite .wiz-back { color: #6b7690; } body.suite .wiz-back:hover { color: #0b1324; }
body.suite .wiz-title { color: #0b1324; }
body.suite .wiz-steps { color: #98a2b8; }
body.suite .wiz-steps li + li::before { background: #d9e0ee; }
body.suite .wiz-steps span { background: #fff; border-color: #d9e0ee; }
body.suite .wiz-steps .is-on { color: #0b1324; }
body.suite .wiz-steps .is-on span { background: linear-gradient(135deg, #2563eb, #7c3aed); color: #fff; border-color: transparent; }
body.suite .wiz-steps .is-done { color: #6b7690; }
body.suite .wiz-steps .is-done span { background: #e8f8ef; border-color: #b8ebd0; color: #0b7a4a; }
body.suite .wiz-card { border: 1px solid #e8ecf4; box-shadow: 0 2px 4px rgba(15, 23, 42, .04), 0 40px 80px -48px rgba(37, 52, 110, .45); }
body.suite .wiz .btn-gradient, body.suite .nb .btn-gradient { background: linear-gradient(135deg, #2563eb, #4f46e5 55%, #7c3aed); }
body.suite .ws-card { background: #fff; border-color: #e8ecf4; }

/* Beta tag for live-but-new products (platform_apps.is_beta) */
.beta-pill { display: inline-flex; align-items: center; height: 18px; padding: 0 7px; margin-left: 6px; border-radius: 99px; vertical-align: middle; font: 800 9.5px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: #6d28d9; background: #f1ecff; border: 1px solid #ddd0fb; }
.beta-pill.beta-free { margin-left: auto; color: #0b7a4a; background: #e8f8ef; border-color: #b8ebd0; height: 22px; font-size: 10.5px; }
.wiz-app-tag { white-space: nowrap; }
body.suite .ap-title small .beta-pill { margin-left: 8px; letter-spacing: .08em; }

/* App version line (sidebar footer) + version pill on /apps cards */
.app-ver { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 0 4px; font-size: 11.5px; color: #98a2b8; font-weight: 600; letter-spacing: .02em; }
.app-ver span { text-transform: uppercase; letter-spacing: .12em; font-size: 10.5px; }
.app-ver b { font-family: var(--mono); font-weight: 700; color: #6b7690; background: #f1f4fa; padding: 2px 7px; border-radius: 7px; }
.app-ver em { font-style: normal; font-weight: 800; font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: #6d28d9; background: #f1ecff; border: 1px solid #ddd0fb; padding: 1px 6px; border-radius: 99px; }
.ver-pill { display: inline-flex; align-items: center; margin-left: 8px; padding: 1px 7px; border-radius: 7px; font: 700 10.5px var(--mono); letter-spacing: 0; text-transform: none; color: #6b7690; background: #f1f4fa; vertical-align: middle; }

/* HR workspace switcher in the white sidebar (the business name used to stay white-on-white) */
.app .hr-ws { background: #f7f8fc; border: 1px solid #e8ecf4; }
.app .hr-ws > summary { color: #0b1324; }
.app .hr-ws > summary .icon { color: #98a2b8; }
.app .hr-ws-t { color: #0b1324; }
.app .hr-ws-t small { color: #6b7690; }
.app .hr-ws-ic { background: linear-gradient(135deg, #2563eb, #7c3aed); box-shadow: 0 8px 16px -10px rgba(79, 70, 229, .8); }
.app .hr-ws-menu { background: #fff; border: 1px solid #e8ecf4; box-shadow: 0 30px 60px -24px rgba(37, 52, 110, .4); }
.app .hr-ws-menu button, .app .hr-ws-menu a { color: #0b1324; }
.app .hr-ws-menu small { color: #6b7690; }
.app .hr-ws-menu button:hover, .app .hr-ws-menu a:hover { background: #f3f5fb; }
.app .hr-ws-menu button.is-current { background: #eef2ff; }
.app .hr-ws-menu a { border-top: 1px solid #e8ecf4; color: #4f46e5; }

/* ── Contrast pass: text that was too faint on the white theme ───────────── */
.app .nav-section, .cc-nav .nav-section { color: #6b7690; }
.app .app-ver span { color: #6b7690; }
.app ::placeholder, .terminal-body ::placeholder, body.suite ::placeholder { color: #7a869e; opacity: 1; }
.app .badge-success, .badge-success { color: #0a7a4b; }
.app .badge-danger, .badge-danger { color: #c4262f; }
.app .badge-info, .badge-info { color: #0b6ea8; }
.app .badge-neutral { color: #55607a; }
.app .text-warning, .text-warning { color: #a86500 !important; }
.app .text-success, .text-success { color: #0a7a4b !important; }
.app .text-danger, .text-danger { color: #c4262f !important; }
.app .muted, .app .text-muted { color: #626d86; }
.app .stat-card .stat-label, .app .small.muted { color: #626d86; }
.app span.input, .app .topbar-search span { color: #6b7690; }
.app .period.on span, .app .period.on small, .app .period.on .lbl { color: rgba(255, 255, 255, .9) !important; }

/* ── Contrast pass 2: admin hero text, avatars, active chips ───────────── */
.cc-hero .cc-eyebrow { color: #fff; background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .3); }
.cc-hero .cc-sub, .cc-hero p, .cc-hero .small, .cc-hero span { color: rgba(255, 255, 255, .92); }
.cc-hero .muted { color: rgba(255, 255, 255, .8); }
.cc-hero h1 { background: none; -webkit-text-fill-color: #fff; color: #fff; }
.cc-me-av, .cc-avatar, .cc-shell .avatar { background: linear-gradient(135deg, #7c3aed, #4f46e5); color: #fff; }
.cc-av { background: linear-gradient(135deg, color-mix(in srgb, var(--c, #7c3aed) 72%, #1e1b4b), color-mix(in srgb, var(--c, #7c3aed) 40%, #1e1b4b)); color: #fff; }
.hr-emp-av { background: linear-gradient(135deg, #4338ca, #7c3aed); color: #fff; }
.cc-shell .chip.active, .cc-shell a.chip.active { background: #f1ecff; border-color: #cdbdfb; color: #4c1d95; }
.thumb, .pos-product .thumb { text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }

/* ── Contrast pass 3: Refer & earn, /apps avatars and buttons ──────────── */
body.suite .rf-hero, body.suite .ref-hero { background: radial-gradient(520px 260px at 95% -25%, rgba(255, 255, 255, .26), transparent 60%), radial-gradient(420px 240px at -5% 120%, rgba(34, 211, 238, .35), transparent 65%), linear-gradient(135deg, #2563eb 0%, #4f46e5 58%, #7c3aed 125%); color: #eef2ff; box-shadow: 0 30px 60px -36px rgba(79, 70, 229, .7); border: 0; }
body.suite .rf-earned span, body.suite .rf-mini span { color: rgba(255, 255, 255, .82); }
body.suite .rf-mini div { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .24); }
body.suite .rf-kicker { color: #fde68a; }
body.suite .rf-next { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .3); color: #fff; }
body.suite .rf-next .icon { color: #bbf7d0; }
.rf-day { background: #fff; border-color: #e8ecf4; color: #626d86; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.rf-day b { color: #0b1324; }
.rf-day.cut { border-color: #f5b73d; background: #fffaf0; }
.rf-day.cut em { color: #a86500; }
.rf-day.pay { background: linear-gradient(160deg, #16a34a, #0f766e); color: #ecfdf5; }
.rf-day.pay b, .rf-day.pay span { color: #fff; }
.rf-day.today { box-shadow: 0 0 0 2px #4f46e5 inset; }
.rf-day.today em { color: #4338ca; }
.rf-day.pay.today em { color: #ecfdf5; }
.bz-av { background: linear-gradient(135deg, hsl(var(--h, 225) 70% 42%), hsl(calc(var(--h, 225) + 40) 68% 36%)); }
.ap-open { background: linear-gradient(135deg, color-mix(in srgb, var(--ac) 78%, #1e1b4b), color-mix(in srgb, var(--ac) 50%, #4f46e5)); }
.rf-kicker { color: #a86500; }
.rf-hero .rf-kicker, .ref-hero .rf-kicker { color: #fde68a; }
body.suite .wiz-steps li { color: #626d86; }
body.suite .wiz-steps .is-on { color: #0b1324; }
.hr-ws-ic { background: linear-gradient(135deg, #4338ca, #7c3aed); color: #fff; }
.tbar-title b, .tbar-brand b, .tbar-title em { color: #4f46e5; }

/* /apps: the account menu must open above the hero and cards below the top bar */
body.suite .suite-top { position: relative; z-index: 80; }
body.suite .suite-top .dropdown-menu { z-index: 90; }
