/* MrsMuraari affiliate programme: design system for the public site, sign-in pages and both panels. */

/* ---------- tokens ---------- */
:root {
  color-scheme: light;
  --bg: #f6f5fb;
  --surface: #ffffff;
  --surface-2: #f1effa;
  --surface-3: #e8e5f4;
  --ink: #16141f;
  --ink-2: #46425a;
  --muted: #6f6a85;
  --line: #e7e4f1;
  --line-strong: #d6d1e8;
  --brand: #6d28d9;
  --brand-soft: #f0e9ff;
  --grad-1: #7c3aed;
  --grad-2: #be185d;
  --ok: #047857;
  --warn: #b45309;
  --bad: #be123c;
  --info: #0369a1;
  --side-bg: #ffffff;
  --side-ink: #46425a;
  --side-muted: #8a85a0;
  --side-line: #e7e4f1;
  --side-hover: #f4f2fb;
  --side-active: #efe7ff;
  --side-active-ink: #5b21b6;
  --shadow-sm: 0 1px 2px rgba(22, 20, 31, .06);
  --shadow: 0 1px 2px rgba(22, 20, 31, .05), 0 12px 32px -16px rgba(22, 20, 31, .18);
  --shadow-lg: 0 28px 64px -28px rgba(76, 29, 149, .5);
  --ring: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent);
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 22px;
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d0b14;
  --surface: #16131f;
  --surface-2: #1e1a2b;
  --surface-3: #2a2539;
  --ink: #f4f2fa;
  --ink-2: #c9c5d9;
  --muted: #9893ad;
  --line: #28233a;
  --line-strong: #3a3450;
  --brand: #a78bfa;
  --brand-soft: #251d3d;
  --ok: #34d399;
  --warn: #fbbf24;
  --bad: #fb7185;
  --info: #38bdf8;
  --side-bg: #120f1b;
  --side-ink: #c9c5d9;
  --side-muted: #8a85a0;
  --side-line: #231f33;
  --side-hover: #1c1829;
  --side-active: rgba(167, 139, 250, .16);
  --side-active-ink: #c4b5fd;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 14px 34px -16px rgba(0, 0, 0, .7);
}

/* Follow the system theme until the visitor picks one with the toggle. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0d0b14;
    --surface: #16131f;
    --surface-2: #1e1a2b;
    --surface-3: #2a2539;
    --ink: #f4f2fa;
    --ink-2: #c9c5d9;
    --muted: #9893ad;
    --line: #28233a;
    --line-strong: #3a3450;
    --brand: #a78bfa;
    --brand-soft: #251d3d;
    --ok: #34d399;
    --warn: #fbbf24;
    --bad: #fb7185;
    --info: #38bdf8;
    --side-bg: #120f1b;
    --side-ink: #c9c5d9;
    --side-muted: #8a85a0;
    --side-line: #231f33;
    --side-hover: #1c1829;
    --side-active: rgba(167, 139, 250, .16);
    --side-active-ink: #c4b5fd;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 14px 34px -16px rgba(0, 0, 0, .7);
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul { margin: 0; }
h1, h2, h3 { letter-spacing: -.02em; line-height: 1.2; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
[hidden] { display: none !important; }
.icon { flex: none; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; background: var(--surface); padding: 8px 14px; border-radius: 10px; z-index: 100; box-shadow: var(--shadow); }
.skip:focus { top: 12px; }
code, .code { font: 600 13px var(--mono); background: var(--surface-2); padding: 2px 8px; border-radius: 7px; letter-spacing: .04em; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border: 1px solid transparent; border-radius: 12px;
  font-weight: 700; font-size: 14px; line-height: 1.25; white-space: nowrap; cursor: pointer;
  color: #fff; text-decoration: none;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2));
  box-shadow: 0 10px 22px -12px var(--grad-1);
  transition: transform .12s, filter .12s, background .12s, border-color .12s;
}
.btn:hover { filter: brightness(1.07); transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: none; }
.btn-soft { background: var(--brand-soft); color: var(--brand); box-shadow: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); box-shadow: none; }
.btn-ghost:hover { background: var(--surface-2); filter: none; }
.btn-danger { background: transparent; color: var(--bad); border-color: color-mix(in srgb, var(--bad) 40%, transparent); box-shadow: none; }
.btn-danger:hover { background: color-mix(in srgb, var(--bad) 10%, transparent); filter: none; }
.btn-white { background: #fff; color: #4c1d95; box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .5); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); box-shadow: none; }
.btn-outline-white:hover { background: rgba(255, 255, 255, .12); filter: none; }
.btn-sm { padding: 6px 12px; font-size: 13px; border-radius: 9px; }
.btn-lg { padding: 13px 24px; font-size: 15px; }
.btn-block { width: 100%; }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer;
  transition: background .12s, border-color .12s;
}
.icon-btn:hover { background: var(--surface-2); border-color: var(--line-strong); }
.theme-toggle .i-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: block; }
}

/* ---------- brand ---------- */
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.02em; font-size: 16px; line-height: 1.15; color: inherit; }
.brand:hover { text-decoration: none; }
.brand small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.brand-mark {
  width: 36px; height: 36px; border-radius: 11px; flex: none; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2)); color: #fff; font-weight: 800; font-size: 17px;
  box-shadow: 0 10px 20px -10px var(--grad-1);
}

/* ---------- panel shell (admin + affiliate) ---------- */
.app { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100vh; }
.sidebar {
  position: sticky; top: 0; align-self: start; height: 100vh; overflow-y: auto;
  display: flex; flex-direction: column; padding: 18px 14px;
  background: var(--side-bg); color: var(--side-ink); border-right: 1px solid var(--side-line);
}
.sidebar .brand { padding: 4px 8px 6px; color: var(--ink); }
.sidebar .brand small { color: var(--side-muted); }
.sidebar--admin {
  --side-bg: #14111d; --side-ink: #cdc8e0; --side-muted: #8a85a0; --side-line: #251f36;
  --side-hover: #1e1a2d; --side-active: rgba(167, 139, 250, .16); --side-active-ink: #d4c8ff;
}
.sidebar--admin .brand { color: #f4f2fa; }
.nav-label { padding: 20px 12px 8px; font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--side-muted); }
.nav-link {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin-bottom: 2px;
  border-radius: 11px; color: var(--side-ink); font-weight: 600; font-size: 14px; text-decoration: none;
}
.nav-link:hover { background: var(--side-hover); text-decoration: none; }
.nav-link.is-active { background: var(--side-active); color: var(--side-active-ink); }
.nav-link.is-active::before {
  content: ""; position: absolute; left: -14px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--grad-1), var(--grad-2));
}
.sidebar-foot { margin-top: auto; padding-top: 16px; }
.user-card { display: flex; align-items: center; gap: 11px; padding: 10px; border-radius: 13px; background: var(--side-hover); border: 1px solid var(--side-line); }
.user-card b { display: block; font-size: 13.5px; line-height: 1.3; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar--admin .user-card b { color: #f4f2fa; }
.user-card small { display: block; color: var(--side-muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-card > div { min-width: 0; }
.avatar {
  width: 38px; height: 38px; border-radius: 12px; flex: none; display: grid; place-items: center;
  font-weight: 800; font-size: 13px; color: #fff; background: linear-gradient(135deg, var(--grad-1), var(--grad-2));
}
.avatar-lg { width: 64px; height: 64px; border-radius: 20px; font-size: 22px; }
.avatar-sm { width: 32px; height: 32px; border-radius: 10px; font-size: 12px; }
.signout { margin-top: 8px; width: 100%; color: var(--side-ink); border-color: var(--side-line); }
.signout:hover { background: var(--side-hover); }

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 20; height: 64px; display: flex; align-items: center; gap: 12px;
  padding: 0 clamp(16px, 3vw, 36px);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar .crumb { font-weight: 700; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.topbar .crumb b { color: var(--ink); }
.topbar .spacer { flex: 1; }
.menu-btn { display: none; }
.page { width: 100%; max-width: 1240px; margin: 0 auto; padding: 28px clamp(16px, 3vw, 36px) 72px; }
.scrim { display: none; }

.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; margin-bottom: 22px; }
.page-head h1 { font-size: clamp(23px, 2.7vw, 30px); }
.page-head p { color: var(--muted); margin-top: 4px; }
.page-actions { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 960px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .sidebar {
    position: fixed; inset: 0 auto 0 0; width: 288px; z-index: 60; transform: translateX(-102%);
    transition: transform .22s ease; box-shadow: var(--shadow-lg);
  }
  body.nav-open .sidebar { transform: none; }
  body.nav-open .scrim { display: block; position: fixed; inset: 0; z-index: 55; background: rgba(10, 8, 18, .55); }
  .menu-btn { display: inline-grid; }
}

/* ---------- cards, stats ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.card-flush { overflow: hidden; }
.card-body { padding: 22px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.card-head h2 { font-size: 16px; }
.card-head p { color: var(--muted); font-size: 13px; margin-top: 2px; }
.stack { display: grid; gap: 20px; }
.section-title { font-size: 17px; margin: 32px 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.grid-2 { display: grid; gap: 20px; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
.grid-2e { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
@media (max-width: 960px) { .grid-2 { grid-template-columns: minmax(0, 1fr); } }

.stats { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.stat { display: flex; gap: 14px; align-items: flex-start; padding: 18px; color: inherit; }
a.stat:hover { text-decoration: none; border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); }
a.stat { transition: transform .15s, box-shadow .15s, border-color .15s; }
.stat-ico { --c: var(--brand); width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; flex: none; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }
.stat-ico.green { --c: var(--ok); }
.stat-ico.amber { --c: var(--warn); }
.stat-ico.rose { --c: var(--bad); }
.stat-ico.sky { --c: var(--info); }
.stat-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.stat-value { font-size: 26px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; margin-top: 3px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-note { font-size: 12.5px; color: var(--muted); margin-top: 3px; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
  text-align: left; white-space: nowrap; padding: 12px 16px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted); background: var(--surface-2); border-bottom: 1px solid var(--line);
}
.table td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: color-mix(in srgb, var(--surface-2) 55%, transparent); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table .actions { white-space: nowrap; text-align: right; }
.table .actions form { display: inline-block; margin: 2px 0 2px 6px; }
.person { display: flex; align-items: center; gap: 12px; }
.person > div { min-width: 0; }
.person b { display: block; line-height: 1.3; white-space: nowrap; }
.person small { color: var(--muted); display: block; font-size: 12.5px; white-space: nowrap; }
.sub-line { display: block; color: var(--muted); font-size: 12.5px; }
.count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--bad); color: #fff; font-size: 11.5px; font-weight: 800; }
.rank { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; font-size: 12.5px; background: var(--surface-2); color: var(--muted); flex: none; }
.rank.r1 { background: color-mix(in srgb, #f59e0b 22%, transparent); color: #b45309; }
:root[data-theme="dark"] .rank.r1 { color: #fbbf24; }
.meter { height: 6px; border-radius: 99px; background: var(--surface-3); overflow: hidden; min-width: 90px; }
.meter > i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--grad-1), var(--grad-2)); }

.pill {
  --c: var(--muted); display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px;
  font-size: 12px; font-weight: 700; white-space: nowrap; color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent);
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-pending { --c: var(--warn); }
.pill-verified, .pill-approved, .pill-paid { --c: var(--ok); }
.pill-returned, .pill-cancelled, .pill-rejected, .pill-suspended { --c: var(--bad); }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.toolbar form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0; }
.filter-f { display: grid; gap: 4px; margin: 0; }
.filter-f .label { margin: 0; font-size: 12px; color: var(--muted); }
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--surface-2); flex-wrap: wrap; }
.tab { border: 0; background: none; cursor: pointer; padding: 6px 12px; border-radius: 9px; font-weight: 700; font-size: 13px; color: var(--muted); display: inline-flex; gap: 7px; align-items: center; }
.tab:hover { color: var(--ink); }
.tab.is-active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.tab em { font-style: normal; font-size: 11.5px; padding: 1px 7px; border-radius: 99px; background: var(--surface-3); color: var(--muted); }

.empty { display: grid; justify-items: center; gap: 6px; padding: 44px 20px; text-align: center; color: var(--muted); }
.empty .ico { width: 54px; height: 54px; border-radius: 17px; display: grid; place-items: center; background: var(--surface-2); margin-bottom: 6px; }
.empty b { color: var(--ink); font-size: 15px; }
.pager { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; padding: 16px; border-top: 1px solid var(--line); }
.pager a, .pager span { min-width: 36px; height: 36px; padding: 0 10px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 700; font-size: 13px; }
.pager a:hover { text-decoration: none; border-color: var(--brand); }
.pager .cur { background: var(--brand); border-color: var(--brand); color: var(--surface); }

/* ---------- forms ---------- */
.field { display: block; margin-top: 16px; }
.field:first-child { margin-top: 0; }
.label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; }
.hint { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.input, .select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: 12px;
  background: var(--surface); color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.input:focus, .select:focus { outline: 0; border-color: var(--brand); box-shadow: var(--ring); }
.input::placeholder { color: var(--muted); opacity: .75; }
.input:disabled { background: var(--surface-2); color: var(--muted); cursor: not-allowed; }
.input-sm { padding: 7px 11px; border-radius: 10px; font-size: 13.5px; }
.select {
  appearance: none; -webkit-appearance: none; padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238a85a0' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.input-wrap { position: relative; }
.input-wrap > .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-wrap .input { padding-left: 42px; }
.input-wrap .reveal { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; background: none; border-radius: 9px; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.input-wrap .reveal:hover { background: var(--surface-2); color: var(--ink); }
.input-wrap .reveal .i-off { display: none; }
.input-wrap .reveal[aria-pressed="true"] .i-on { display: none; }
.input-wrap .reveal[aria-pressed="true"] .i-off { display: block; }
.input-wrap.has-reveal .input { padding-right: 46px; }
.input-affix { position: relative; }
.input-affix .input { padding-right: 46px; }
.input-affix .affix { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 700; pointer-events: none; }
.form-grid { display: grid; gap: 16px 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.form-grid .field { margin: 0; }
.form-grid .span-all { grid-column: 1 / -1; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 22px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--brand); flex: none; }
.inline-form { display: inline-flex; gap: 6px; align-items: center; margin: 0; }

.alert {
  --c: var(--info); display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px 13px 16px; margin-bottom: 20px;
  border-radius: 13px; border: 1px solid color-mix(in srgb, var(--c) 32%, transparent); background: color-mix(in srgb, var(--c) 9%, var(--surface));
}
.alert > .icon { color: var(--c); margin-top: 2px; }
.alert-body { flex: 1; font-weight: 500; font-size: 14px; }
.alert-ok { --c: var(--ok); }
.alert-err { --c: var(--bad); }
.alert-x { border: 0; background: none; color: var(--muted); cursor: pointer; padding: 2px; border-radius: 7px; display: grid; }
.alert-x:hover { color: var(--ink); background: color-mix(in srgb, var(--c) 14%, transparent); }

/* ---------- affiliate dashboard pieces ---------- */
.coupon-card {
  position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); color: #fff;
  background: radial-gradient(90% 140% at 100% 0%, rgba(255, 255, 255, .2), transparent 55%), linear-gradient(135deg, #4c1d95, #7c3aed 50%, #be185d);
  box-shadow: var(--shadow-lg);
}
.coupon-card::after { content: ""; position: absolute; left: -60px; bottom: -90px; width: 230px; height: 230px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.coupon-card > * { position: relative; z-index: 1; }
.coupon-card h2 { font-size: 15px; font-weight: 700; opacity: .9; letter-spacing: 0; }
.coupon-card p { opacity: .85; max-width: 440px; margin-top: 4px; font-size: 14px; }
.coupon-code { font: 800 clamp(19px, 2.4vw, 26px) var(--mono); letter-spacing: .06em; padding: 10px 20px; border: 2px dashed rgba(255, 255, 255, .6); border-radius: 14px; background: rgba(255, 255, 255, .12); max-width: 100%; overflow-wrap: anywhere; user-select: all; }
.coupon-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.notice { display: flex; gap: 16px; align-items: flex-start; padding: 22px; }
.notice .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; background: color-mix(in srgb, var(--c, var(--warn)) 15%, transparent); color: var(--c, var(--warn)); }
.notice h2 { font-size: 16px; }
.notice p { color: var(--muted); margin-top: 3px; }
.profile-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; }
.profile-head h1, .prose h1 { font-size: clamp(23px, 2.7vw, 30px); }
.meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 4px; }
.kv { display: grid; gap: 0; margin: 0; }
.kv div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.kv div:last-child { border: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 700; text-align: right; overflow-wrap: anywhere; }

/* ---------- admin dashboard pieces ---------- */
.chart { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 14px; align-items: end; padding-top: 26px; }
.bar-col { display: grid; gap: 8px; justify-items: center; }
.bar-track { height: 170px; width: 100%; display: flex; align-items: flex-end; justify-content: center; border-bottom: 1px solid var(--line-strong); }
.bar { position: relative; width: min(54px, 72%); min-height: 4px; border-radius: 10px 10px 3px 3px; background: linear-gradient(180deg, var(--grad-2), var(--grad-1)); transition: filter .15s; }
.bar-col:hover .bar { filter: brightness(1.12); }
.bar-zero { min-height: 0; background: none; }
.bar-val { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: 6px; font-size: 12px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bar-lab { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.stack-bar { display: flex; gap: 3px; height: 12px; border-radius: 99px; overflow: hidden; background: var(--surface-3); margin: 6px 0 18px; }
.stack-bar span { display: block; height: 100%; background: var(--c); }
.legend { display: grid; gap: 2px; }
.legend div { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.legend div:last-child { border: 0; }
.legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); flex: none; }
.legend b { margin-left: auto; font-variant-numeric: tabular-nums; }
.c-pending { --c: var(--warn); }
.c-verified { --c: var(--ok); }
.c-returned { --c: #f97316; }
.c-cancelled { --c: var(--bad); }
.c-rejected { --c: #a855f7; }
.preview { display: grid; gap: 0; padding: 4px 18px; border-radius: 14px; background: var(--surface-2); }
.preview div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line-strong); }
.preview div:last-child { border: 0; font-weight: 800; }

/* ---------- public site ---------- */
.site-head { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.site-head .in { max-width: 1180px; margin: 0 auto; padding: 12px clamp(16px, 4vw, 32px); display: flex; align-items: center; gap: 12px; }
.site-head nav { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.site-head nav a:not(.btn) { color: var(--ink-2); font-weight: 600; padding: 8px 10px; border-radius: 10px; }
.site-head nav a:not(.btn):hover { color: var(--ink); background: var(--surface-2); text-decoration: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.site-main { padding-top: clamp(20px, 4vw, 40px); padding-bottom: 72px; }
.site-foot { border-top: 1px solid var(--line); padding: 26px 0 36px; color: var(--muted); font-size: 13.5px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.site-foot a { color: var(--muted); font-weight: 600; }
@media (max-width: 640px) { .site-head .hide-sm { display: none !important; } }

.hero {
  position: relative; overflow: hidden; border-radius: 30px; padding: clamp(28px, 6vw, 72px);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 36px; align-items: center; color: #fff;
  background: radial-gradient(70% 90% at 90% 0%, rgba(236, 72, 153, .55), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(99, 102, 241, .5), transparent 60%), linear-gradient(135deg, #2e1065, #5b21b6 55%, #9d174d);
  box-shadow: var(--shadow-lg);
}
.hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px; font-size: 13px; font-weight: 700; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); }
.hero h1 { font-size: clamp(32px, 5.2vw, 56px); letter-spacing: -.04em; line-height: 1.06; margin: 18px 0 16px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #fde68a, #fbcfe8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 17px; opacity: .9; max-width: 520px; margin-bottom: 28px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.chip { padding: 7px 14px; border-radius: 99px; font-weight: 600; font-size: 13px; background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .2); }
.hero-card { padding: 24px; border-radius: 22px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .24); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.hero-card .code-tag { font: 800 22px var(--mono); letter-spacing: .14em; text-align: center; padding: 12px; border: 2px dashed rgba(255, 255, 255, .6); border-radius: 14px; margin: 12px 0 18px; }
.hero-card .rowline { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); font-size: 14px; }
.hero-card .rowline:last-child { border: 0; font-weight: 800; font-size: 16px; }
.hero-card small { opacity: .75; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 11px; }
@media (max-width: 900px) { .hero { grid-template-columns: minmax(0, 1fr); } }

.steps { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
.step { padding: 22px; }
.step .n { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 14px; color: #fff; background: linear-gradient(135deg, var(--grad-1), var(--grad-2)); box-shadow: 0 10px 20px -10px var(--grad-1); }
.step h3 { font-size: 16px; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 14px; }
.cta-band { margin-top: 40px; padding: clamp(24px, 4vw, 44px); border-radius: var(--r-lg); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); }
.cta-band h2 { font-size: clamp(20px, 2.6vw, 26px); }
.cta-band p { color: var(--ink-2); margin-top: 4px; }

.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { font-size: 18px; margin: 32px 0 10px; display: flex; align-items: center; gap: 10px; }
.prose h2 .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.prose ul { padding-left: 22px; display: grid; gap: 8px; color: var(--ink-2); }
.prose p { color: var(--ink-2); }
.prose li::marker { color: var(--brand); }

/* ---------- sign-in / apply (split screen) ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(320px, 5fr) minmax(0, 6fr); }
.auth-aside {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; color: #fff;
  padding: clamp(28px, 4vw, 56px);
  background: radial-gradient(100% 70% at 0% 0%, rgba(124, 58, 237, .8), transparent 60%), radial-gradient(80% 60% at 100% 100%, rgba(219, 39, 119, .55), transparent 60%), linear-gradient(160deg, #2e1065, #4c1d95 55%, #831843);
}
.auth-admin .auth-aside { background: radial-gradient(90% 60% at 0% 0%, rgba(124, 58, 237, .45), transparent 60%), linear-gradient(160deg, #0d0a17, #181229 55%, #26164a); }
.auth-aside .brand { color: #fff; }
.auth-aside .brand small { color: rgba(255, 255, 255, .7); }
.auth-aside h2 { font-size: clamp(26px, 3.2vw, 40px); letter-spacing: -.035em; line-height: 1.12; max-width: 430px; }
.auth-aside .lead { margin-top: 14px; opacity: .85; max-width: 400px; }
.auth-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.auth-points li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-size: 14.5px; }
.auth-points .dot { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; background: rgba(255, 255, 255, .15); }
.auth-aside small.foot { opacity: .7; }
.auth-main { display: flex; flex-direction: column; padding: clamp(20px, 3vw, 36px) clamp(18px, 4vw, 56px); }
.auth-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.auth-top a.back { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--muted); }
.auth-center { flex: 1; display: grid; place-items: center; padding: 28px 0; }
.auth-card { width: 100%; max-width: 440px; }
.auth-wide .auth-card { max-width: 640px; }
.auth-card h1 { font-size: clamp(26px, 3vw, 32px); }
.auth-card .sub { color: var(--muted); margin: 8px 0 26px; }
.auth-foot { margin-top: 22px; text-align: center; color: var(--muted); font-size: 14px; }
.badge-admin { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 99px; font-size: 12px; font-weight: 700; background: var(--brand-soft); color: var(--brand); margin-bottom: 14px; }
@media (max-width: 900px) {
  .auth { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .auth-aside { padding: 20px clamp(18px, 4vw, 36px); gap: 0; }
  .auth-aside .pitch { display: none; }
  .auth-aside small.foot { display: none; }
}

/* ---------- packages ---------- */
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.plan { --c: var(--muted); position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.plan.is-current { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent), var(--shadow); }
.plan.is-picked { border-color: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 22%, transparent); }
.plan-name { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; }
.plan-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; color: var(--c); background: color-mix(in srgb, var(--c) 15%, transparent); }
.plan-tag { color: var(--muted); font-size: 13px; margin-top: -8px; }
.plan-pct { font-size: 42px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.plan-pct small { font-size: 15px; color: var(--muted); font-weight: 700; letter-spacing: 0; margin-left: 4px; }
.plan-price { font-size: 20px; font-weight: 800; }
.plan-price small { color: var(--muted); font-weight: 600; font-size: 13px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.plan li { display: flex; gap: 8px; align-items: flex-start; }
.plan li .icon { color: var(--ok); margin-top: 3px; }
.plan .btn, .plan .plan-note { margin-top: auto; }
.plan-note { text-align: center; font-size: 13px; font-weight: 700; color: var(--muted); padding: 9px 0; }
.plan-badge { position: absolute; top: 14px; right: 14px; padding: 3px 10px; border-radius: 99px; font-size: 11.5px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--grad-1), var(--grad-2)); }
.tier-free { --c: #64748b; } .tier-bronze { --c: #d97706; } .tier-gold { --c: #ca8a04; }
.tier-platinum { --c: #0891b2; } .tier-diamond { --c: #2563eb; } .tier-crown { --c: #c026d3; }
.pkg-chip { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px 4px 8px; border-radius: 99px; font-size: 12.5px; font-weight: 800; color: #fff; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .3); }
.pkg-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px; }
.pkg-banner h2 { font-size: 20px; }
.steps-inline { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps-inline > div { display: flex; gap: 12px; align-items: flex-start; }
.steps-inline .n { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; flex: none; font-weight: 800; font-size: 13px; color: var(--brand); background: var(--brand-soft); }
.steps-inline b { display: block; }
.steps-inline span.d { color: var(--muted); font-size: 13.5px; }
.pay-box { padding: 14px 16px; border-radius: 12px; background: var(--surface-2); border: 1px dashed var(--line-strong); white-space: pre-line; font-weight: 600; }

/* ---------- earnings breakdown ---------- */
.c-awaiting { --c: var(--warn); }
.c-ready { --c: var(--info); }
.c-processing { --c: #a855f7; }
.c-paid { --c: var(--ok); }
.legend .txt { min-width: 0; }
.legend .txt small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.legend div { align-items: flex-start; }
.legend i { margin-top: 6px; }
.big-figure { font-size: clamp(30px, 4vw, 40px); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pill-window { --c: var(--info); }
.pill-ready { --c: var(--ok); }
.table tfoot td { font-weight: 800; background: var(--surface-2); border-top: 1px solid var(--line-strong); border-bottom: 0; }
.table tfoot td.num { font-variant-numeric: tabular-nums; }
a.tab { text-decoration: none; }
.callout { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 13px; background: var(--brand-soft); color: var(--ink-2); font-size: 14px; }
.callout .icon { color: var(--brand); margin-top: 2px; }

.row-lost td { color: var(--muted); }

.stats-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .stats-3 { grid-template-columns: minmax(0, 1fr); } }

.mono { font-family: var(--mono); letter-spacing: .02em; }

/* ---------- order list and order detail ---------- */
.table-tight th, .table-tight td { padding-left: 12px; padding-right: 12px; }
.order-link { font-weight: 800; color: var(--ink); }
.order-link:hover { color: var(--brand); }
.cust { display: block; max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rate { display: inline-block; min-width: 44px; text-align: center; padding: 2px 8px; border-radius: 8px; font-weight: 800; font-size: 13px; color: var(--brand); background: var(--brand-soft); }
.row-lost .rate { color: var(--muted); background: var(--surface-2); }
.icon-btn-sm { width: 32px; height: 32px; border-radius: 9px; }
.code-chip { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 8px 8px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 13px; font-weight: 600; }
.code-chip code { font-size: 15px; font-weight: 800; background: var(--surface-2); user-select: all; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--muted); }
.back-link:hover { color: var(--ink); text-decoration: none; }
.callout-bad { background: color-mix(in srgb, var(--bad) 10%, var(--surface)); }
.callout-bad .icon { color: var(--bad); }
.stages { list-style: none; margin: 0; padding: 0; }
.stage { position: relative; display: flex; gap: 14px; padding: 0 0 22px; }
.stage:last-child { padding-bottom: 0; }
.stage::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 2px; width: 2px; background: var(--line-strong); }
.stage:last-child::before { display: none; }
.stage.done::before { background: var(--ok); }
.stage .dot { width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--muted); background: var(--surface-2); border: 2px solid var(--line-strong); z-index: 1; }
.stage.done .dot { color: #fff; background: var(--ok); border-color: var(--ok); }
.stage.now .dot { color: var(--brand); background: var(--brand-soft); border-color: var(--brand); }
.stage > div > b { display: block; line-height: 1.4; }
.stage .d b { font-weight: 700; color: var(--ink); }
.stage .d { display: block; color: var(--muted); font-size: 13.5px; }
.stage:not(.done):not(.now) b { color: var(--muted); }
/* ---------- tables that become stacked cards on phones ---------- */
@media (max-width: 640px) {
  .table-cards thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-cards, .table-cards tbody, .table-cards tfoot, .table-cards tr { display: block; width: 100%; }
  .table-cards tbody tr, .table-cards tfoot tr { padding: 10px 16px; border-bottom: 1px solid var(--line); }
  .table-cards tfoot tr { background: var(--surface-2); border-bottom: 0; }
  .table-cards td { display: block; border: 0; padding: 0; background: none !important; text-align: left !important; white-space: normal; }
  .table-cards td[data-label] { position: relative; padding: 6px 0 6px 40%; min-height: 32px; }
  .table-cards td[data-label]::before { content: attr(data-label); position: absolute; left: 0; top: 6px; width: 36%; color: var(--muted); font-weight: 600; font-size: 13px; }
  .table-cards tfoot td[data-label]::before { color: var(--ink); }
  .table-cards td.actions, .table-cards td.hide-cards { display: none; }
  .table-cards .cust { max-width: none; white-space: normal; }
}
/* ---------- store link ---------- */
.pill-store { --c: var(--brand); }
.share-link { flex: 1 1 100%; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 2px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .22); }
.share-link .lab { font-size: 13px; font-weight: 700; opacity: .85; }
.share-link .url { flex: 1 1 260px; min-width: 0; font: 600 14px var(--mono); padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .12); border: 1px dashed rgba(255, 255, 255, .45); overflow-wrap: anywhere; user-select: all; }

/* ---------- wallet and withdrawals ---------- */
.wallet-card {
  position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); color: #fff;
  background: radial-gradient(90% 140% at 100% 0%, rgba(255, 255, 255, .2), transparent 55%), linear-gradient(135deg, #064e3b, #059669 55%, #0f766e);
  box-shadow: var(--shadow-lg);
}
.wallet-card::after { content: ""; position: absolute; left: -60px; bottom: -90px; width: 230px; height: 230px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.wallet-card > * { position: relative; z-index: 1; }
.wallet-card h2 { font-size: 15px; font-weight: 700; opacity: .9; letter-spacing: 0; }
.wallet-card p { opacity: .92; font-size: 14px; }
.wallet-balance { font-size: clamp(34px, 5vw, 48px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin: 4px 0 8px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.wallet-card .wlink { color: #fff; text-decoration: underline; }
.withdraw-form { flex: 1 1 320px; max-width: 440px; }
.withdraw-form label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.withdraw-row { display: flex; gap: 10px; flex-wrap: wrap; }
.withdraw-row .input-affix { flex: 1 1 150px; }
.withdraw-row .input { background: #fff; color: #0f172a; border-color: transparent; font-weight: 700; }
.withdraw-row .affix { color: #64748b; }
.withdraw-hint { margin-top: 8px; font-size: 12.5px; opacity: .92; }
.linklike { background: none; border: 0; padding: 0; color: #fff; text-decoration: underline; cursor: pointer; font: inherit; font-weight: 700; }
.withdraw-blocked { flex: 1 1 320px; max-width: 440px; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); font-size: 14px; }
.withdraw-blocked .icon { flex: none; margin-top: 1px; }
.amt-credit { color: var(--ok); font-weight: 800; }
.amt-debit { color: var(--bad); font-weight: 800; }
.act-stack { display: grid; gap: 8px; }
.payto { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.payto .mono { overflow-wrap: anywhere; }
.c-available { --c: #14b8a6; }

/* withdrawals sent through Razorpay: on its way, and could not be delivered */
.pill-processing { --c: var(--info); }
.pill-failed { --c: var(--bad); }
.act-stack details { border: 1px dashed var(--line); border-radius: 10px; padding: 8px 10px; }
.act-stack summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--muted); }
.act-stack details[open] summary { margin-bottom: 8px; }
.err-line { color: var(--bad); font-size: 12.5px; margin-top: 4px; overflow-wrap: anywhere; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* UPI or bank account choice in the sign-up form and profile */
.payout-fields { border: 0; padding: 0; margin: 0; min-width: 0; }
.payout-fields legend { padding: 0; margin-bottom: 8px; }
.payout-fields .tab { cursor: pointer; }
.payout-fields .tab:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }

/* admin withdrawals on a phone: the decision forms stay visible, full width, under their own heading */
@media (max-width: 640px) {
  .table-cards td.decide { padding: 10px 0 0 !important; }
  .table-cards td.decide::before { position: static; display: block; width: auto; margin-bottom: 8px; }
  .table-cards .act-stack .inline-form { display: flex; flex-wrap: wrap; width: 100%; }
  .table-cards .act-stack .input { width: 100% !important; flex: 1 1 100%; }
  .table-cards .act-stack .btn { flex: 1 1 100%; justify-content: center; }
  .table-cards .payto { justify-content: flex-start; }
}
