:root {
  --bg: #f4f8fc;
  --bg-2: #e8f1fa;
  --surface: #ffffff;
  --elev: #ffffff;
  --line: #c9d7e6;
  --line-soft: #dce6f0;
  --text: #0f1b2d;
  --muted: #5a6b7d;
  --silver: #334155;
  --champagne: #1a73e8;
  --green: #0d9f6e;
  --danger: #e11d48;
  --warn: #d97706;
  --white-soft: rgba(26,115,232,.06);
  --white-mid: rgba(26,115,232,.1);
  --radius: 14px;
  --shadow: 0 14px 36px rgba(15,40,80,.08);
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --display: "Outfit", "Plus Jakarta Sans", sans-serif;
  --ease: cubic-bezier(.22,1,.36,1);
}
* { box-sizing: border-box; }
html {
  overflow-x: clip;
  max-width: 100%;
}
html, body {
  margin: 0;
  min-height: 100%;
  max-width: 100%;
  overflow-x: clip;
  background:
    radial-gradient(1000px 480px at 8% -8%, rgba(26,115,232,.12), transparent 55%),
    radial-gradient(820px 400px at 96% 0%, rgba(91,163,245,.1), transparent 52%),
    radial-gradient(640px 340px at 50% 108%, rgba(13,159,110,.05), transparent 56%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 42%, #eaf2fa 100%);
  background-attachment: fixed;
  color: var(--text);
  font: 13.75px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}
a { color: var(--champagne); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: #0b57d0; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; }
pre {
  background: #f0f5fb; border: 1px solid var(--line); border-radius: 10px; padding: 10px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  max-width: 100%; white-space: pre; word-break: normal;
}
code {
  background: #eef5fc; border: 1px solid rgba(26,115,232,.18);
  border-radius: 6px; padding: 1px 6px; color: var(--champagne);
  word-break: break-all; overflow-wrap: anywhere;
}

.shell {
  --side-w: 236px;
  display: grid; grid-template-columns: 0 1fr; min-height: 100vh;
  transition: grid-template-columns .28s var(--ease);
}
.shell.is-side-open { grid-template-columns: var(--side-w) 1fr; }
.shell-main { min-width: 0; display: flex; flex-direction: column; min-height: 100vh; }
.side-backdrop {
  display: none; position: fixed; inset: 0; z-index: 28;
  background: rgba(15,40,80,.28); backdrop-filter: blur(3px);
}
.side {
  position: sticky; top: 0; height: 100vh; width: var(--side-w);
  padding: 12px 10px 14px; margin-left: calc(var(--side-w) * -1);
  border-right: 1px solid var(--line-soft);
  background: linear-gradient(180deg, #ffffff, #f4f8fc);
  backdrop-filter: blur(16px);
  display: flex; flex-direction: column; gap: 4px;
  overflow: hidden; opacity: 0; pointer-events: none;
  transition: margin-left .28s var(--ease), opacity .22s var(--ease);
  z-index: 30;
}
.shell.is-side-open .side {
  margin-left: 0; opacity: 1; pointer-events: auto;
}
.side-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-bottom: 8px; padding: 2px 2px 10px; border-bottom: 1px solid var(--line-soft);
}
.side-head .brand { margin: 0; min-width: 0; }
.side-nav { display: flex; flex-direction: column; gap: 2px; overflow: auto; flex: 1; }
.side a, .side button.linkish {
  display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 10px;
  color: #5a6b7d; background: transparent; border: 0; width: 100%; text-align: left; cursor: pointer;
  transition: background .15s var(--ease), color .15s var(--ease), transform .15s var(--ease);
  font-size: 13px; font-weight: 500;
}
.side a.active, .side a:hover, .side button.linkish:hover { background: var(--white-mid); color: #0b57d0; }
.side a.active { box-shadow: inset 2px 0 0 var(--champagne); color: #0b57d0; background: rgba(26,115,232,.08); }

.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 10px;
  min-height: 54px; padding: 8px 14px;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(244,248,252,.94));
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 24px rgba(15,40,80,.06);
}
.topbar .brand { margin: 0; min-width: 0; flex: 0 1 auto; }
.topbar .brand-word { min-width: 0; }
.topbar .brand-word-sub { display: block; }
.topbar-spacer { flex: 1; }
.topbar-actions {
  display: flex; align-items: stretch; gap: 6px; flex: 0 0 auto;
}
.topbar-chip {
  box-sizing: border-box;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 64px; height: 34px; padding: 0 12px;
  border-radius: 10px; font-size: 12px; font-weight: 700;
  letter-spacing: .01em; line-height: 1; text-decoration: none;
  border: 1px solid var(--line); background: #ffffff; color: var(--silver);
  white-space: nowrap; user-select: none;
}
.topbar-chip--plan {
  color: #5b6b7c; background: #f3f7fb;
}
.topbar-chip--plan.is-pro {
  color: #0b57d0; border-color: rgba(26,115,232,.35);
  background: rgba(26,115,232,.08);
}
.topbar-chip--btn:hover {
  border-color: var(--champagne); color: #0b57d0; background: rgba(26,115,232,.06);
}
.topbar-chip--pay {
  color: #ffffff; border-color: #0b57d0;
  background: linear-gradient(180deg, #4d8fe0, #1a73e8);
}
.topbar-chip--pay:hover { filter: brightness(1.04); color: #ffffff; }
.host-switch {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  padding: 8px 12px; border-bottom: 1px solid var(--line-soft);
  background: #eef5fc;
}
.host-switch a {
  font-size: 12.5px; font-weight: 600; color: var(--silver);
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: #ffffff;
}
.host-switch a:hover { color: #0b57d0; border-color: var(--champagne); }
.host-switch a.is-current {
  color: #ffffff; border-color: transparent;
  background: linear-gradient(180deg, #4d8fe0, #1a73e8);
}
.auth-panel .host-switch { margin: 0 0 14px; border-radius: 12px; }
.topbar-tag {
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
  color: #ffffff; background: linear-gradient(180deg, #4d8fe0, #1a73e8);
  border-radius: 999px; padding: 4px 9px;
}
.icon-btn {
  width: 36px; height: 36px; border-radius: 10px; flex: 0 0 auto;
  display: inline-grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line); background: #ffffff; color: var(--text);
  transition: border-color .15s var(--ease), background .15s var(--ease), transform .15s var(--ease);
}
.icon-btn:hover { border-color: var(--champagne); background: rgba(26,115,232,.08); transform: translateY(-1px); }
.nav-toggle-bars {
  display: grid; gap: 4px; width: 14px;
}
.nav-toggle-bars i {
  display: block; height: 1.5px; border-radius: 2px; background: var(--silver);
  transition: transform .22s var(--ease), opacity .22s var(--ease);
}
.shell.is-side-open .nav-toggle-bars i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.shell.is-side-open .nav-toggle-bars i:nth-child(2) { opacity: 0; }
.shell.is-side-open .nav-toggle-bars i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.main { padding: 14px 16px 56px; max-width: 1040px; width: 100%; min-width: 0; animation: rise .35s var(--ease); }
.public-shell { max-width: 1080px; margin: 0 auto; padding: 12px 16px 48px; width: 100%; min-width: 0; animation: rise .4s var(--ease); }
.public-shell--home { padding-top: 4px; }
.shell--public .side { background: linear-gradient(180deg, #ffffff, #f4f8fc); }
.top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
h1, .display { font-family: var(--display); font-size: 20px; font-weight: 700; margin: 0; letter-spacing: -.03em; }
h2 { font-family: var(--display); font-size: 15px; margin: 0 0 6px; font-weight: 600; letter-spacing: -.02em; }
p { margin: 0 0 8px; }
.muted { color: var(--muted); }
.grid { display: grid; gap: 12px; }
.grid.cards { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.card {
  background: linear-gradient(180deg, #ffffff, #f8fbfe);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  box-shadow: var(--shadow);
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.card:hover { border-color: rgba(26,115,232,.55); box-shadow: 0 16px 36px rgba(15,40,80,.1); }
.stat { font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -.03em; }
label { display: block; margin: 8px 0 4px; color: var(--silver); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; font-weight: 600; }
input, select, textarea {
  width: 100%; min-width: 0; background: #ffffff; border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; outline: none; color: var(--text);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease), background .15s var(--ease);
}
input::placeholder, textarea::placeholder { color: #7a8a9c; font-size: 12.5px; opacity: 1; text-transform: none; letter-spacing: 0; }
textarea { min-height: 72px; resize: vertical; }
form.card, .card.compact, form.compact { padding: 16px 18px; }
.compact h1, form.card h1 { font-size: 20px; margin-bottom: 6px; color: #0f1b2d; }
.hint { font-size: 12px; margin: 4px 0 0; line-height: 1.45; color: var(--muted); }
.otp-row {
  display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 8px; align-items: stretch;
  width: 100%;
}
.otp-row input { min-width: 0; width: 100%; }
.otp-send, .otp-row .btn {
  width: 100%; min-width: 0; min-height: 42px; padding: 8px 10px;
  display: inline-flex; align-items: center; justify-content: center;
  white-space: nowrap; font-weight: 650;
}
.otp-status { min-height: 2.6em; }
input:focus, select:focus, textarea:focus {
  border-color: #1a73e8; box-shadow: 0 0 0 3px rgba(26,115,232,.16); background: #ffffff;
}
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.btn {
  border: 1px solid var(--line); background: #ffffff; color: var(--text); border-radius: 10px;
  padding: 9px 15px; cursor: pointer; position: relative; overflow: hidden;
  transition: border-color .15s var(--ease), transform .15s var(--ease), background .15s var(--ease), filter .15s var(--ease);
}
.btn:hover { border-color: var(--champagne); background: rgba(26,115,232,.08); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn.primary {
  background: linear-gradient(180deg, #4d8fe0, #1a73e8);
  color: #ffffff; border-color: #0b57d0; font-weight: 700;
}
.btn.primary::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.38) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: btnSheen 4.8s var(--ease) infinite;
}
.btn.primary:hover { filter: brightness(1.04); }
.btn.ghost {
  background: transparent; border-color: rgba(26,115,232,.45); color: var(--silver);
}
.btn.ghost:hover { border-color: var(--champagne); color: #0b57d0; background: rgba(26,115,232,.08); }
.btn.danger { border-color: rgba(225,29,72,.35); color: #be123c; background: rgba(225,29,72,.06); }
.btn.tiny { padding: 5px 10px; font-size: 12px; }
.btn-block { width: 100%; display: inline-flex; align-items: center; justify-content: center; margin-top: 14px; min-height: 44px; }
.ico { width: 16px; height: 16px; flex: 0 0 auto; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 4px 14px; text-decoration: none; color: inherit;
}
.brand--compact { gap: 8px; margin: 0; }
.brand--compact .brand-mark {
  width: 28px; height: 28px; border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(26,115,232,.3), 0 4px 12px rgba(0,0,0,.35);
}
.brand--compact .brand-word-main { font-size: 13px; }
.brand--compact .brand-word-sub { font-size: 9px; letter-spacing: .1em; }
.brand-mark {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 11px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(26,115,232,.28), 0 8px 20px rgba(15,40,80,.1);
}
.brand-mark svg,
.brand-mark img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; border-radius: inherit;
}
.brand-word { display: grid; gap: 1px; line-height: 1.05; }
.brand-word-main {
  font-family: var(--display); font-weight: 700; font-size: 15px;
  letter-spacing: -.04em; color: #0f1b2d;
}
.brand-word-sub {
  font-family: var(--display); font-size: 11px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--champagne); opacity: .9;
}
.brand-scan { animation: brandScan 2.2s ease-in-out infinite; }
.brand-lock { animation: softPulse 3.2s ease-in-out infinite; }
@keyframes brandScan {
  0%, 100% { transform: translateY(-5px); opacity: .35; }
  50% { transform: translateY(6px); opacity: 1; }
}
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes softPulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes ringSpin { to { transform: rotate(360deg); } }
@keyframes shineSweep {
  0% { transform: translateX(-40%) rotate(12deg); opacity: 0; }
  30% { opacity: .45; }
  100% { transform: translateX(120%) rotate(12deg); opacity: 0; }
}
@keyframes btnSheen {
  0%, 70% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}
@keyframes authGlow {
  0%, 100% { opacity: .55; }
  50% { opacity: .9; }
}

.flash {
  border-radius: 10px; padding: 9px 12px; margin-bottom: 12px;
  border: 1px solid var(--line); background: #ffffff;
}
.flash.success { border-color: rgba(13,159,110,.35); color: #0b7a54; background: rgba(13,159,110,.08); }
.flash.error { border-color: rgba(225,29,72,.35); color: #be123c; background: rgba(225,29,72,.08); }
.table-wrap { overflow: auto; border-radius: 10px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 8px 8px; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
th { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.pill {
  display: inline-flex; align-items: center; border-radius: 999px;
  padding: 2px 9px; border: 1px solid var(--line); color: var(--muted); font-size: 11px;
}
.pill.captured, .pill.active { color: var(--green); border-color: rgba(45,212,168,.4); background: rgba(45,212,168,.08); }
.pill.failed, .pill.suspended { color: var(--danger); border-color: #6d3034; background: rgba(240,113,120,.08); }
.pill.pending { color: var(--warn); border-color: #6d5a2a; background: rgba(224,180,92,.08); }

.date-filters { display: grid; gap: 8px; margin-top: 8px; }
.date-chips {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
}
.date-chip {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
  text-decoration: none; color: var(--muted);
  border: 1px solid var(--line); background: #ffffff;
  transition: border-color .15s var(--ease), color .15s var(--ease), background .15s var(--ease);
}
.date-chip:hover { border-color: rgba(26,115,232,.45); color: var(--silver); }
.date-chip.is-active {
  color: #ffffff; border-color: #0b57d0;
  background: linear-gradient(180deg, #4d8fe0, #1a73e8);
}
.date-custom {
  display: none; flex-wrap: wrap; gap: 8px; align-items: end;
  padding: 8px; border-radius: 10px; border: 1px solid var(--line-soft);
  background: #f0f5fb;
}
.date-custom.is-open { display: flex; }
.date-custom-field { display: grid; gap: 4px; min-width: 132px; flex: 1 1 132px; }
.date-custom-field span { font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.date-custom-field input[type="date"] { padding: 7px 10px; font-size: 13px; }

.link-bar {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line-soft);
  background: #f0f5fb;
}
.link-bar-url {
  flex: 1 1 160px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 12px; color: var(--champagne); background: transparent; border: 0; padding: 0;
}
.link-card {
  padding: 10px 12px !important; margin-top: 0;
  display: grid; gap: 6px;
}
.link-card-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.link-card-head h2 { margin: 0; font-size: 14px; }
.link-card-url {
  display: block; min-width: 0; max-width: 100%;
  padding: 0; border: 0; background: transparent;
  color: var(--champagne); font-size: 12px; line-height: 1.35;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.site-brand-bar {
  display: grid; gap: 2px; justify-items: center; text-align: center;
  margin: 0 0 12px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid rgba(26,115,232,.2);
  background: linear-gradient(180deg, #ffffff, rgba(26,115,232,.08));
}
.site-brand-kicker {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.site-brand-name {
  font-family: var(--display); font-size: clamp(15px, 4.5vw, 18px);
  letter-spacing: -.03em; color: #0f1b2d;
  max-width: 100%; overflow-wrap: anywhere; word-break: break-word;
}
.site-brand-note { font-size: 12px; }

.auth {
  min-height: 100vh; display: grid; place-items: center; padding: 24px 16px;
  background:
    radial-gradient(720px 380px at 50% -18%, rgba(26,115,232,.14), transparent 58%),
    radial-gradient(520px 300px at 85% 100%, rgba(91,163,245,.12), transparent 54%),
    radial-gradient(420px 240px at 10% 80%, rgba(13,159,110,.05), transparent 60%),
    var(--bg);
  position: relative;
}
.auth::before {
  content: ""; position: absolute; width: min(420px, 70vw); aspect-ratio: 1;
  border-radius: 50%; border: 1px dashed rgba(26,115,232,.22);
  top: 12%; right: 8%; pointer-events: none; animation: ringSpin 36s linear infinite, authGlow 5s ease-in-out infinite;
}
.auth-panel {
  width: min(400px, 100%);
  max-width: 100%;
  display: grid;
  gap: 0;
  position: relative;
  z-index: 1;
}
.auth .card,
.auth .auth-card {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  animation: rise .42s var(--ease);
  border-color: var(--line);
  box-shadow: var(--shadow), 0 0 0 1px rgba(26,115,232,.08);
}
.auth .brand { margin: 0 auto 16px; justify-content: center; }
.auth-meta {
  margin-top: 14px;
  display: grid;
  gap: 8px;
  text-align: center;
}
.auth-meta a { font-weight: 600; }
.auth-meta .muted { margin: 0; }
.auth-extra { margin-top: 10px; display: flex; justify-content: center; }
.auth .flash { width: 100%; box-sizing: border-box; }

.pay-body .install-fab,
.pay-body .install-pop,
.pay-body .whatsapp-fab { display: none !important; }
.pay-body {
  --pay-accent: var(--champagne);
  --pay-accent-soft: #c5daf5;
  --pay-bg: var(--bg);
  --pay-bg-mid: #e8f1fa;
  --pay-card: #ffffff;
  --pay-card-text: #0f1b2d;
  --pay-card-muted: #5a6b7d;
  --pay-btn-text: #ffffff;
  background:
    radial-gradient(920px 460px at 50% -14%, rgba(26,115,232,.14), transparent 58%),
    radial-gradient(640px 320px at 100% 80%, color-mix(in srgb, var(--pay-accent) 16%, transparent), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, var(--pay-bg) 48%, #eaf2fa 100%);
  min-height: 100vh;
}
.pay-body.pay-themed {
  background:
    radial-gradient(920px 460px at 50% -14%, color-mix(in srgb, var(--pay-accent) 22%, transparent), transparent 58%),
    radial-gradient(640px 320px at 100% 80%, color-mix(in srgb, var(--pay-accent) 16%, transparent), transparent 55%),
    linear-gradient(180deg, var(--pay-bg-mid) 0%, var(--pay-bg) 48%, color-mix(in srgb, var(--pay-bg) 85%, #000) 100%);
}
.pay {
  max-width: 420px; width: 100%; margin: 0 auto;
  padding: 16px 14px 48px; animation: rise .35s var(--ease);
  min-width: 0; overflow-x: clip;
}
.pay-shell { display: grid; gap: 14px; min-width: 0; }
.pay .brand { margin: 0 auto 14px; max-width: 100%; }
.qr-card {
  position: relative; overflow: hidden; min-width: 0;
  background:
    linear-gradient(165deg, #ffffff 0%, var(--pay-card) 42%, color-mix(in srgb, var(--pay-card) 78%, var(--pay-accent)) 100%);
  color: var(--pay-card-text); border-radius: 22px; padding: 22px 18px 20px; text-align: center;
  border: 2px solid color-mix(in srgb, var(--pay-accent) 55%, transparent);
  box-shadow:
    0 24px 52px rgba(0,0,0,.36),
    0 0 0 1px rgba(255,255,255,.65) inset,
    0 1px 0 rgba(255,255,255,.9) inset;
  animation: rise .4s var(--ease);
}
.qr-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--pay-accent) 70%, #000), var(--pay-accent), var(--green), var(--pay-accent), color-mix(in srgb, var(--pay-accent) 70%, #000));
  background-size: 200% 100%;
  animation: payBar 4.5s ease-in-out infinite;
}
.qr-card::after {
  content: ""; position: absolute; inset: 8px; border-radius: 16px; pointer-events: none;
  border: 1px solid rgba(143,130,104,.22);
}
.qr-card--paid {
  background: linear-gradient(165deg, #f7fffb 0%, #e8f7ef 100%);
  border-color: rgba(45,212,168,.45);
}
.qr-logo {
  width: 48px; height: 48px; object-fit: cover; border-radius: 12px;
  margin: 0 auto 10px; display: block; position: relative; z-index: 1;
  box-shadow: 0 4px 14px rgba(0,0,0,.12); border: 2px solid #fff;
}
.qr-frame {
  position: relative; z-index: 1;
  margin: 16px auto 0; padding: 14px;
  width: fit-content; max-width: 100%;
  border-radius: 18px;
  background: #fff;
  border: 2px solid color-mix(in srgb, var(--pay-card-text) 88%, transparent);
  box-shadow:
    0 0 0 4px rgba(255,255,255,.95),
    0 0 0 6px color-mix(in srgb, var(--pay-accent) 55%, transparent),
    0 12px 28px rgba(20,18,14,.1);
}
.qr-img {
  display: block; width: min(228px, 68vw); height: auto;
  border-radius: 4px; image-rendering: pixelated;
}
.qr-scan-hint {
  position: relative; z-index: 1;
  margin: 14px 0 0; font-size: 12px; font-weight: 600;
  letter-spacing: .02em; color: var(--pay-card-muted);
}
.qr-title-row {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 6px; margin-top: 4px; min-width: 0;
}
.qr-merchant {
  font-family: var(--display); font-size: clamp(16px, 4.6vw, 19px);
  letter-spacing: -.02em; max-width: 100%; font-weight: 700;
  overflow-wrap: anywhere; word-break: break-word;
}
.qr-amount {
  position: relative; z-index: 1;
  font-family: var(--display); font-size: clamp(28px, 8.2vw, 36px);
  font-weight: 800; letter-spacing: -.045em; margin: 10px 0 4px; line-height: 1.05;
  color: var(--pay-card-text);
}
.qr-ref {
  position: relative; z-index: 1;
  color: var(--pay-card-muted) !important; margin: 0; font-size: 11px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  overflow-wrap: anywhere; word-break: break-all;
}
.qr-hint { position: relative; z-index: 1; margin-top: 10px; color: var(--pay-card-muted) !important; }
.qr-manual {
  position: relative; z-index: 1;
  margin-top: 10px; white-space: pre-wrap; text-align: left;
  overflow-wrap: anywhere; word-break: break-word; font-size: 13px;
  padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.7);
  border: 1px solid rgba(20,18,14,.06);
}
.qr-paid-banner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 16px auto 4px; max-width: 280px; text-align: left;
  padding: 12px 14px; border-radius: 14px;
  background: rgba(45,212,168,.12); border: 1px solid rgba(45,212,168,.35);
}
.qr-paid-icon {
  width: 36px; height: 36px; border-radius: 999px; flex: 0 0 auto;
  display: grid; place-items: center; font-weight: 800; font-size: 16px;
  background: #2dd4a8; color: #06281c;
}
.collect-card { padding-bottom: 24px; }
.collect-kicker {
  position: relative; z-index: 1;
  display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--pay-card-muted); margin-bottom: 8px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,.65); border: 1px solid color-mix(in srgb, var(--pay-accent) 25%, transparent);
}
.collect-lead {
  position: relative; z-index: 1;
  margin: 10px auto 0; max-width: 30ch; font-size: 13px; color: var(--pay-card-muted) !important; line-height: 1.45;
}
.pay-cta {
  position: relative; z-index: 1;
  margin: 16px auto 0; width: 100%; max-width: 280px; display: inline-flex;
  justify-content: center; align-items: center; min-height: 46px; font-weight: 700;
}
.pay-body.pay-themed .btn.primary,
.pay-body.pay-themed .pay-cta.btn.primary {
  background: linear-gradient(180deg, color-mix(in srgb, var(--pay-accent) 88%, #fff), var(--pay-accent));
  color: var(--pay-btn-text);
  border-color: color-mix(in srgb, var(--pay-accent) 70%, #000);
}
.pay-body.pay-themed .site-brand-bar {
  border-color: color-mix(in srgb, var(--pay-accent) 35%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--pay-accent) 18%, transparent), color-mix(in srgb, var(--pay-accent) 8%, transparent));
}
.pay-body.pay-themed .site-brand-name { color: color-mix(in srgb, var(--pay-accent) 40%, #fff); }
.pay-panel {
  margin: 0; min-width: 0; padding: 16px !important; gap: 12px;
  border-color: var(--line);
  animation: rise .45s var(--ease);
}
.pay-status-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.pay-msg {
  margin: 0; font-size: 12px; line-height: 1.45;
  overflow-wrap: anywhere; word-break: break-word;
}
.pay-live-hint {
  margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .04em;
  color: var(--warn); display: flex; align-items: center; gap: 8px;
}
.pay-live-hint::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--warn); box-shadow: 0 0 0 0 rgba(224,180,92,.55);
  animation: livePulse 1.6s ease-out infinite;
}
.pay-actions {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch;
}
.pay-actions .btn.tiny {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 12px; font-size: 12px; min-height: 38px; font-weight: 650;
  flex: 1 1 calc(50% - 4px); text-align: center;
  border-color: var(--line);
  background: #ffffff;
}
.pay-apps-head {
  margin: 6px 0 0; font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.apps {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin: 0; min-width: 0;
}
.app-btn {
  display: flex; align-items: center; gap: 8px;
  min-width: 0; padding: 10px 11px; border-radius: 12px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, #f4f8fc);
  color: var(--text);
  text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
  touch-action: manipulation; user-select: none;
  transition: border-color .15s var(--ease), transform .15s var(--ease), background .15s var(--ease);
}
.app-btn:hover, .app-btn:focus-visible {
  border-color: var(--champagne); transform: translateY(-1px);
  background: linear-gradient(180deg, #ffffff, #e8f1fa);
  color: var(--text); outline: none;
}
.app-btn:active { transform: translateY(0); background: #eef5fc; }
.app-btn .mark, .app-btn .app-btn-label { pointer-events: none; }
.app-btn-label {
  min-width: 0; flex: 1;
  font-size: 12px; font-weight: 600; line-height: 1.2;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mark {
  width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center;
  flex: 0 0 auto;
  background: rgba(26,115,232,.08); color: var(--champagne); font-size: 11px; font-weight: 700;
  border: 1px solid rgba(26,115,232,.32);
}
.tx-list { display: grid; gap: 10px; }
.tx-card { padding: 14px 16px; }
.tx-card-top {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: flex-start;
}
.tx-card-main { min-width: 0; flex: 1 1 220px; }
.tx-ref {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px; font-weight: 700; word-break: break-all;
}
.tx-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 6px; }
.tx-note { margin: 6px 0 0; font-size: 12.5px; overflow-wrap: anywhere; }
.tx-card-amount { display: grid; gap: 8px; justify-items: end; text-align: right; }
.tx-review {
  margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-soft);
}
.tx-review-form {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.tx-review-form input[name="note"] {
  flex: 1 1 160px; min-width: 0; margin: 0; min-height: 40px;
}
.tx-review-form .btn { margin: 0; }
@media (max-width: 900px) {
  .tx-card-amount { justify-items: stretch; text-align: left; width: 100%; }
  .tx-card-amount .btn { width: 100%; justify-content: center; }
  .tx-review-form .btn { flex: 1 1 calc(50% - 4px); min-height: 42px; }
}
.pay-utr { margin-top: 4px; display: grid; gap: 6px; }
.pay-utr .btn { width: 100%; min-height: 44px; }
.utr-field {
  position: relative; display: grid; align-items: center;
  width: 100%; min-width: 0;
}
.utr-field input[name="utr"] {
  width: 100%; padding-right: 72px; min-height: 44px;
  font-variant-numeric: tabular-nums; letter-spacing: .02em;
}
.utr-paste {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  z-index: 2; margin: 0; padding: 5px 10px; min-height: 30px;
  border-radius: 8px; border: 1px solid rgba(26,115,232,.35);
  background: linear-gradient(180deg, #4d8fe0, #1a73e8);
  color: #ffffff; font-size: 11px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; cursor: pointer; line-height: 1;
  -webkit-tap-highlight-color: transparent;
  transition: filter .15s var(--ease), transform .15s var(--ease);
}
.utr-paste:hover { filter: brightness(1.06); }
.utr-paste:active { transform: translateY(-50%) scale(.97); }
.utr-paste:disabled { opacity: .6; cursor: wait; }
.pay-body.pay-themed .utr-paste {
  background: linear-gradient(180deg, color-mix(in srgb, var(--pay-accent) 88%, #fff), var(--pay-accent));
  color: var(--pay-btn-text);
  border-color: color-mix(in srgb, var(--pay-accent) 70%, #000);
}
@keyframes payBar {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(224,180,92,.5); }
  70% { box-shadow: 0 0 0 8px rgba(224,180,92,0); }
  100% { box-shadow: 0 0 0 0 rgba(224,180,92,0); }
}
.checkout-card {
  max-width: 360px; width: 100%; margin: 0 auto; min-width: 0;
}
.checkout-plan, .checkout-amount { overflow-wrap: anywhere; }
.checkout-pay { width: 100%; margin-top: 8px; }
.admin-checkout-form { display: grid; gap: 4px; }
.admin-checkout-section {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.admin-checkout-section h2 {
  font-size: 15px; margin: 0 0 4px; color: #0f1b2d;
}
.upi-admin-list { display: grid; gap: 8px; margin-top: 10px; }
.upi-admin-row {
  padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(13,14,18,.55));
  transition: border-color .15s var(--ease);
}
.upi-admin-row:hover { border-color: rgba(26,115,232,.35); }
.upi-admin-toggle {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 0 0 8px; text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--text);
}
.upi-admin-toggle input { width: auto; accent-color: var(--champagne); }
.upi-admin-name { font-weight: 700; }
.pay-btn-admin-grid {
  display: grid; gap: 8px; margin-top: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.pay-btn-admin-toggle {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 0; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(13,14,18,.55));
  text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--text);
  cursor: pointer; transition: border-color .15s var(--ease), transform .15s var(--ease);
}
.pay-btn-admin-toggle:hover { border-color: rgba(26,115,232,.4); transform: translateY(-1px); }
.pay-btn-admin-toggle input { width: auto; margin-top: 3px; accent-color: var(--champagne); flex: 0 0 auto; }
.pay-btn-admin-toggle strong { display: block; font-size: 13px; color: #0f1b2d; }
.pay-btn-admin-toggle .hint { display: block; margin: 2px 0 0; }
.premium-frame {
  border: 1px solid rgba(26,115,232,.45); border-radius: 14px; padding: 8px;
  background: linear-gradient(180deg, #ffffff, #eef5fc);
  box-shadow: inset 0 0 0 1px rgba(26,115,232,.12), 0 10px 28px rgba(0,0,0,.35);
}
.premium-shot { position: relative; border-radius: 10px; overflow: hidden; background: #e8f1fa; min-height: 120px; }
.premium-shot img { display: block; width: 100%; height: 160px; object-fit: cover; }
.premium-ribbon {
  position: absolute; top: 0; left: 0; right: 0; padding: 7px 8px; text-align: center;
  letter-spacing: .18em; font-size: 11px; font-weight: 800; color: #ffffff;
  background: linear-gradient(180deg, #4d8fe0, #1a73e8);
  border-bottom: 1px solid rgba(11,87,208,.45);
}
.premium-copy { padding: 10px 6px 4px; min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
.premium-copy strong, .premium-copy p { max-width: 100%; }
.badge-verified {
  display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto;
  background: #e8f0ff; color: #1e6bff; border: 1px solid #b7d0ff;
  font-weight: 700; font-size: 12px; padding: 2px 8px 2px 4px; border-radius: 999px;
  vertical-align: middle;
}
.api-lead { overflow-wrap: anywhere; word-break: break-word; max-width: 100%; }
.badge-verified svg { display: block; flex-shrink: 0; }
/* Instagram / WhatsApp-style mark beside username */
.verified-mark {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto; line-height: 0; vertical-align: middle;
  margin-left: 4px; transform: translateY(-1px);
}
.verified-mark svg { display: block; width: 18px; height: 18px; }
.qr-title-row .verified-mark { margin-left: 2px; }
.qr-title-row .verified-mark svg { width: 17px; height: 17px; }
.plan-title .verified-mark svg { width: 16px; height: 16px; }
.badge {
  color: var(--green); border: 1px solid rgba(45,212,168,.4); border-radius: 999px;
  padding: 2px 8px; font-size: 11px; background: rgba(45,212,168,.1);
}
.chart { display: flex; align-items: flex-end; gap: 4px; height: 90px; }
.chart span {
  flex: 1; background: linear-gradient(180deg, #5ba3f5, #1a73e8);
  border-radius: 4px 4px 0 0; min-height: 2px;
}
.toast {
  position: fixed; bottom: 16px; right: 16px; z-index: 50;
  background: linear-gradient(180deg, #ffffff, #f4f8fc);
  border: 1px solid var(--line); padding: 9px 13px; border-radius: 10px;
  animation: rise .25s var(--ease); box-shadow: var(--shadow); color: var(--text);
}
.warn-banner {
  border: 1px solid #6d5a2a; color: var(--warn); padding: 10px 12px; border-radius: 10px;
  margin-bottom: 12px; background: rgba(224,180,92,.07);
}

/* Landing */
.hero {
  position: relative; min-height: min(88vh, 740px); display: grid; align-content: end;
  padding: 32px 0 44px; overflow: hidden;
}
.hero-visual {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 72% 32%, rgba(26,115,232,.12), transparent 60%),
    radial-gradient(ellipse 45% 40% at 18% 72%, rgba(45,212,168,.07), transparent 65%);
}
.hero-shine {
  position: absolute; top: -20%; left: -10%; width: 40%; height: 140%;
  background: linear-gradient(90deg, transparent, rgba(232,241,251,.09), transparent);
  animation: shineSweep 7s var(--ease) infinite;
}
.hero-orb {
  position: absolute; width: min(440px, 72vw); aspect-ratio: 1; right: -6%; top: 6%;
  border-radius: 42% 58% 48% 52% / 48% 42% 58% 52%;
  border: 1px solid rgba(26,115,232,.28);
  background:
    linear-gradient(145deg, rgba(232,241,251,.08), transparent 45%),
    radial-gradient(circle at 40% 40%, rgba(45,212,168,.14), transparent 55%);
  animation: softPulse 5.5s ease-in-out infinite;
}
.hero-ring {
  position: absolute; width: min(280px, 48vw); aspect-ratio: 1; right: 8%; top: 18%;
  border-radius: 50%; border: 1px dashed rgba(26,115,232,.28);
  animation: ringSpin 28s linear infinite;
}
.hero-grid {
  position: absolute; inset: 12% 8% 18% 42%;
  background-image:
    linear-gradient(rgba(26,115,232,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,115,232,.07) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  opacity: .75;
}
.hero-copy { position: relative; z-index: 1; max-width: 560px; }
.hero-logo-row { margin-bottom: 16px; animation: rise .45s var(--ease); }
.hero-mark {
  display: inline-grid; place-items: center; padding: 3px;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 14px 34px rgba(0,0,0,.4), 0 0 0 1px rgba(26,115,232,.2);
}
.hero-mark img { display: block; border-radius: 13px; }
.hero-brand {
  font-family: var(--display); font-size: clamp(42px, 8.8vw, 72px); font-weight: 800;
  letter-spacing: -.055em; line-height: .9; margin: 0 0 16px;
  background: linear-gradient(180deg, #0b57d0 10%, #1a73e8 55%, #5ba3f5 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: rise .55s var(--ease);
}
.hero-line {
  font-family: var(--display); font-size: clamp(18px, 3vw, 24px); font-weight: 600;
  letter-spacing: -.03em; margin: 0 0 10px; max-width: 16ch; color: #334155;
}
.hero-sub { color: var(--silver); max-width: 40ch; margin-bottom: 22px; font-size: 14.5px; line-height: 1.55; opacity: .92; }
.hero-cta { gap: 10px; animation: rise .7s var(--ease); }
.hero-cta .btn { min-height: 44px; padding: 10px 18px; }

.hero-banner-rail {
  position: relative; margin: 18px 0 8px; border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(26,115,232,.22); background: #eef5fc;
  box-shadow: 0 12px 32px rgba(0,0,0,.28);
}
.hero-banner-rail--home { margin-top: 10px; }
.hero-banner-rail--pay { margin: 0 0 14px; border-radius: 14px; }
.hero-banner-rail--dash { margin: 6px 0 10px; }
.hero-banner-track { position: relative; aspect-ratio: 16 / 7; background: #e8f1fa; }
.hero-banner-slide {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  transition: opacity .45s var(--ease);
}
.hero-banner-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-banner-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-banner-slide a { display: block; height: 100%; }
.hero-banner-slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  font-size: 12px; color: #eee;
}
.hero-banner-dots {
  position: absolute; left: 0; right: 0; bottom: 10px; z-index: 2;
  display: flex; justify-content: center; gap: 6px; pointer-events: none;
}
.hero-banner-dots button {
  pointer-events: auto; width: 8px; height: 8px; border-radius: 999px; padding: 0;
  border: 0; background: rgba(255,255,255,.3); cursor: pointer;
}
.hero-banner-dots button.is-active { background: var(--champagne); width: 18px; }

.banner-admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.banner-admin-card {
  border: 1px solid var(--line); border-radius: 12px; padding: 8px; background: #eef5fc;
}
.banner-admin-card img {
  width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 8px; display: block; margin-bottom: 6px;
}

.section { margin-top: 36px; padding-top: 8px; animation: rise .5s var(--ease); }
.section-head { margin-bottom: 14px; }
.section-head h2 { font-size: 22px; font-weight: 700; color: #0f1b2d; }
.section-head .muted { color: var(--muted); max-width: 54ch; }
.plans-lead { margin-top: -4px; margin-bottom: 14px; max-width: 58ch; }
.plans-compare {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch;
}
.plan-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px;
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.plan-card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(0,0,0,.22); }
.plan-card--basic {
  background: linear-gradient(180deg, #ffffff, #f7fafc);
  border-color: rgba(15, 27, 45, .12);
}
.plan-card.featured,
.plan-card--pro {
  border-color: rgba(26,115,232,.55);
  background: linear-gradient(165deg, #ffffff 0%, #eef5fc 55%, #e3effc 100%);
  box-shadow: 0 16px 36px rgba(26,115,232,.14), inset 0 1px 0 rgba(26,115,232,.12);
}
.plan-card.featured::before,
.plan-card--pro::before {
  content: "PRO"; position: absolute; top: 12px; right: 12px;
  font-size: 10px; letter-spacing: .16em; font-weight: 800; color: #ffffff;
  background: linear-gradient(180deg, #4d8fe0, #1a73e8); border-radius: 999px; padding: 4px 9px;
}
.plan-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; padding-right: 52px; }
.plan-kicker {
  margin: 0 0 2px; font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: #5b6b7c;
}
.plan-card--pro .plan-kicker { color: #1a73e8; }
.plan-title {
  margin: 0; font-family: var(--display); font-size: 26px; font-weight: 800;
  letter-spacing: -.03em; display: inline-flex; align-items: center; gap: 2px; color: #0f1b2d;
}
.plan-desc { margin: 0; min-height: 2.6em; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; }
.plan-price .stat { font-size: 28px; letter-spacing: -.03em; }
.plan-yearly { margin: 0; font-size: 12px; }
.plan-perks {
  list-style: none; margin: 10px 0 12px; padding: 0; display: grid; gap: 7px; flex: 1;
}
.plan-perk {
  display: flex; align-items: flex-start; gap: 8px; margin: 0;
  font-size: 13px; line-height: 1.35; color: #243447;
}
.plan-perk.off { color: #8a97a6; }
.plan-tick {
  flex: 0 0 auto; width: 18px; height: 18px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; line-height: 1;
  background: rgba(26,115,232,.12); color: #1a73e8;
}
.plan-perk.off .plan-tick { background: rgba(15,27,45,.06); color: #8a97a6; }
.plan-cta { margin-top: auto; }
@media (max-width: 720px) {
  .plans-compare { grid-template-columns: 1fr; }
}

.feature-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px;
}
.feature-strip article {
  padding: 16px 0; border-top: 1px solid rgba(26,115,232,.28);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.feature-strip article:hover { border-color: rgba(26,115,232,.55); transform: translateY(-2px); }
.feature-strip h3 { font-family: var(--display); font-size: 15px; margin: 0 0 6px; font-weight: 650; color: #0f1b2d; }
.feature-strip .muted { color: var(--muted); font-size: 13px; line-height: 1.5; }

.dash-stat {
  position: relative; overflow: hidden;
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.dash-stat::after {
  content: ""; position: absolute; inset: auto -20% -40% auto; width: 120px; height: 120px;
  border-radius: 50%; background: radial-gradient(circle, rgba(26,115,232,.12), transparent 70%);
  pointer-events: none;
}
.dash-stat:hover { transform: translateY(-2px); border-color: rgba(26,115,232,.4); }
.dash-stat h2 { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.stack { display: grid; gap: 10px; margin-top: 12px; }

.pm-tabs {
  display: flex; flex-wrap: nowrap; gap: 8px;
  padding: 4px 2px 10px; border-bottom: 1px solid var(--line-soft);
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.docs-top { flex-wrap: wrap; gap: 10px; min-width: 0; }
.docs-top h1 { min-width: 0; overflow-wrap: anywhere; }
.docs-top .btn { flex: 0 0 auto; white-space: nowrap; }
.docs-lead { margin-bottom: 14px; max-width: 62ch; overflow-wrap: anywhere; }
.docs-download-hint { margin-bottom: 12px; min-width: 0; }
.docs-download-hint p, .docs-section p { overflow-wrap: anywhere; word-break: break-word; }
.docs-section { margin-top: 12px; min-width: 0; overflow: hidden; }
.docs-section h3 {
  font-family: var(--display); font-size: 14px; font-weight: 650;
  margin: 12px 0 6px; color: #0f1b2d; letter-spacing: -.02em;
}
.docs-steps { padding-left: 18px; margin: 0; color: var(--muted); display: grid; gap: 8px; }
.docs-steps li { overflow-wrap: anywhere; word-break: break-word; }
.docs-steps a { font-weight: 600; }
.docs-table { table-layout: fixed; width: 100%; }
.docs-table td, .docs-table th { white-space: normal; overflow-wrap: anywhere; word-break: break-word; }
.docs-table td.muted { white-space: normal; max-width: none; }
.docs-pre { max-height: 420px; }
.site-card { min-width: 0; overflow: hidden; }
.site-card h2 { overflow-wrap: anywhere; word-break: break-word; }
.site-card code { max-width: 100%; display: inline-block; }
.site-card-head { justify-content: space-between; align-items: flex-start; gap: 8px; }
.site-slug { font-size: 11px; overflow-wrap: anywhere; word-break: break-all; }
.checkout-theme {
  margin-top: 10px; padding: 12px; border-radius: 12px;
  border: 1px solid var(--line); background: #f7fafc;
  display: grid; gap: 10px; min-width: 0;
}
.checkout-theme-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap;
}
.checkout-theme-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
}
.checkout-swatch {
  display: grid; gap: 6px; margin: 0; text-transform: none; letter-spacing: 0; font-size: 11px; color: var(--muted);
  min-width: 0;
}
.checkout-swatch input[type="color"] {
  width: 100%; height: 44px; padding: 2px; border: 1px solid var(--line);
  border-radius: 10px; background: #ffffff; cursor: pointer;
}
.checkout-hex {
  width: 100%; min-height: 40px; padding: 8px 10px; border-radius: 8px;
  border: 1px solid var(--line); background: #ffffff; color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 16px; letter-spacing: .02em; text-transform: lowercase;
}
.checkout-theme-preview { display: grid; gap: 6px; min-width: 0; }
.ctp-shell {
  border-radius: 14px; padding: 14px 12px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--preview-bg, #f4f8fc) 92%, #fff), var(--preview-bg, #f4f8fc));
  border: 1px solid var(--line-soft);
}
.ctp-card {
  display: grid; gap: 6px; justify-items: center; text-align: center;
  padding: 14px 12px; border-radius: 12px;
  background: var(--preview-card, #ffffff); color: #0f1b2d;
  border: 2px solid color-mix(in srgb, var(--preview-accent, #1a73e8) 55%, transparent);
}
.ctp-name { font-weight: 700; font-size: 13px; max-width: 100%; overflow-wrap: anywhere; }
.ctp-amt { font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: -.04em; }
.ctp-btn {
  margin-top: 4px; min-width: 88px; padding: 7px 14px; border-radius: 9px;
  background: var(--preview-accent, #1a73e8); color: #ffffff; font-weight: 700; font-size: 12px;
}
.api-key-actions {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 4px;
}
.api-key-actions .btn { flex: 1 1 auto; min-width: 120px; justify-content: center; }
.api-reveal {
  display: grid; gap: 10px; align-items: start;
}
.api-reveal code {
  display: block; width: 100%; max-width: 100%;
  padding: 10px 12px; border-radius: 10px;
  background: #0f1b2d; color: #e8f1fa;
  font-size: 12px; line-height: 1.45;
  overflow-x: auto; white-space: pre-wrap; word-break: break-all;
}
.api-page { min-width: 0; width: 100%; }
.api-page .page-hero { flex-wrap: wrap; align-items: flex-start; gap: 12px; }
.api-page .stack > .btn.primary { width: 100%; min-height: 46px; justify-content: center; }
.api-page .site-card,
.api-page .card { min-width: 0; }
.api-page input[type="color"] { min-width: 44px; min-height: 36px; }
.api-reveal code {
  display: block; margin-top: 8px; padding: 10px 12px; border-radius: 10px;
  background: #0f1b2d; color: #e8f0fe; overflow-x: auto; word-break: break-all;
}
.api-key-actions { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.pm-tab {
  display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: 6px; min-width: 132px; min-height: 64px; padding: 10px 12px;
  border-radius: 12px; font-size: 13px; font-weight: 650;
  color: var(--silver); background: #ffffff;
  border: 1.5px solid var(--line);
  box-shadow: 0 6px 16px rgba(15,40,80,.04);
  transition: border-color .15s var(--ease), background .15s var(--ease), transform .15s var(--ease);
}
.pm-tab-name {
  font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: -.02em;
  color: #0f1b2d; line-height: 1.2; max-width: 100%; overflow-wrap: anywhere;
}
.pm-tab-meta { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.pm-tab:hover { color: #0b57d0; background: #f7fbff; transform: translateY(-1px); }
.pm-tab.active {
  background: linear-gradient(180deg, #ffffff, #eef5fc);
  box-shadow: 0 10px 22px rgba(26,115,232,.12);
}
/* Idle methods = blue border; activated/LIVE = green only */
.pm-tab--idle {
  border-color: #93c5fd;
  background: #ffffff;
}
.pm-tab--idle.active {
  color: #0b57d0;
  border-color: #1a73e8;
  box-shadow: 0 10px 22px rgba(26,115,232,.14);
}
.pm-tab--live {
  border-color: #34d399;
  background: linear-gradient(180deg, #ffffff, #f0fdf7);
}
.pm-tab--live.active {
  color: #0d9f6e;
  border-color: #0d9f6e;
  background: linear-gradient(180deg, #ffffff, #e8faf2);
  box-shadow: 0 10px 22px rgba(13,159,110,.14);
}
.pm-tab-count, .pm-tab-default, .pm-tab-badge {
  font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 2px 6px; border-radius: 999px; border: 1px solid rgba(26,115,232,.35);
  color: var(--champagne);
}
.pm-tab--idle .pm-tab-badge { color: #0b57d0; border-color: rgba(26,115,232,.35); background: rgba(26,115,232,.06); }
.pm-tab-badge { color: #0b57d0; border-color: rgba(26,115,232,.35); background: rgba(26,115,232,.06); }
.pm-tab-default { color: #0d9f6e; border-color: rgba(13,159,110,.4); background: rgba(13,159,110,.08); }
.pm-method-banner {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
  margin-top: 14px; padding: 16px 18px; border-radius: 12px;
  border: 1.5px solid rgba(26,115,232,.35);
  background: linear-gradient(135deg, rgba(26,115,232,.1), rgba(26,115,232,.04));
  color: #0f1b2d;
}
.pm-method-banner--idle {
  border-color: rgba(26,115,232,.4);
  background: linear-gradient(135deg, rgba(26,115,232,.1), rgba(26,115,232,.03));
}
.pm-method-banner--live {
  border-color: rgba(13,159,110,.45);
  background: linear-gradient(135deg, rgba(13,159,110,.12), rgba(13,159,110,.04));
}
.pm-method-banner h2 { margin: 0 0 4px; font-size: 18px; color: inherit; }
.pm-method-banner p { margin: 0; font-size: 13px; opacity: .9; }
.pm-method-status {
  flex: 0 0 auto; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  padding: 6px 10px; border-radius: 999px;
  border: 1px solid rgba(26,115,232,.28); background: #ffffff; color: #0b57d0;
}
.pm-method-status.status-on {
  color: #0d9f6e; border-color: rgba(13,159,110,.35); background: rgba(13,159,110,.08);
}
.pm-method-status.status-off { color: #5b6b7c; border-color: rgba(26,115,232,.28); background: #ffffff; opacity: 1; }
.pm-tab-live { color: #0d9f6e !important; border-color: rgba(13,159,110,.45) !important; background: rgba(13,159,110,.1) !important; }
.pm-webhook-box {
  padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-soft);
  background: #f0f5fb;
}
.pm-method-panel { margin-top: 10px; border: 1.5px solid rgba(26,115,232,.28); }
.pm-method-panel--idle { border-color: rgba(26,115,232,.35); }
.pm-method-panel--live { border-color: rgba(13,159,110,.4); }
.callback-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.pm-method-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px;
}
.pm-method-head h2 { margin: 0 0 4px; font-size: 18px; }
.pm-account-block {
  margin-bottom: 14px; padding-bottom: 14px;
  border-bottom: 1px dashed rgba(26,115,232,.28);
  display: grid; gap: 6px;
}
.pm-account-title {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;
}
.pm-default-check { font-size: 13px; color: var(--muted); }

.site-foot {
  margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line-soft);
  display: grid; gap: 8px;
}
.site-foot-brand {
  font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: -.02em;
  color: var(--champagne);
}
.site-foot-nav { display: flex; flex-wrap: wrap; gap: 14px; }
.site-foot-nav a { color: var(--muted); font-size: 12px; }
.site-foot-nav a:hover { color: var(--silver); }

.side-foot { margin-top: auto; display: grid; gap: 6px; padding-top: 12px; }
.side .install-open, .side-foot .btn { width: 100%; }
.whatsapp-link {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px;
  color: #b7f0cf; background: rgba(37, 211, 102, .1); border: 1px solid rgba(37, 211, 102, .35);
  transition: background .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease);
}
.whatsapp-link:hover { color: #e8fff1; background: rgba(37, 211, 102, .16); border-color: rgba(37, 211, 102, .55); transform: translateY(-1px); }
.whatsapp-fab {
  display: none; position: fixed; left: 12px; bottom: 16px; z-index: 6;
  width: 44px; height: 44px; border-radius: 999px; place-items: center;
  background: #25d366; color: #062813; border: 0; box-shadow: 0 8px 20px rgba(0,0,0,.35);
}
.whatsapp-fab .ico { width: 20px; height: 20px; }
.install-fab { display: none; }
.install-pop { position: fixed; inset: 0; z-index: 40; background: rgba(15,40,80,.45); display: grid; place-items: center; padding: 16px; backdrop-filter: blur(6px); }
.install-pop[hidden] { display: none; }
.install-card { width: min(360px, 100%); animation: rise .28s var(--ease); border-color: rgba(26,115,232,.3); }
.install-options { margin: 8px 0; padding-left: 18px; color: var(--muted); }
.install-options li { margin: 4px 0; }
html.is-installed .install-open,
html.is-installed .install-fab,
html.is-installed .install-pop { display: none !important; }
@media (display-mode: standalone) {
  .install-open, .install-fab, .install-pop { display: none !important; }
}
@media (max-width: 900px) {
  .shell, .shell.is-side-open { grid-template-columns: 1fr; }
  .side {
    position: fixed; left: 0; top: 0; bottom: 0; margin-left: 0;
    width: min(86vw, 280px);
    transform: translateX(-105%); opacity: 1; pointer-events: auto;
    box-shadow: 16px 0 40px rgba(15,40,80,.14);
  }
  .shell.is-side-open .side { transform: translateX(0); }
  .shell.is-side-open .side-backdrop { display: block; }
  .topbar { padding: 8px 10px; gap: 8px; }
  .topbar .brand { min-width: 0; }
  .topbar .brand-word-main { font-size: 13px; }
  .topbar .brand-word-sub { display: block; font-size: 9px; letter-spacing: .1em; }
  .topbar-actions { gap: 5px; }
  .topbar-chip {
    min-width: 56px; height: 32px; padding: 0 10px; font-size: 11px; border-radius: 9px;
  }
  .topbar .btn.tiny { padding: 5px 8px; font-size: 11px; }
  .topbar-hide-sm { display: none; }
  .pm-tab { min-width: 118px; min-height: 58px; padding: 9px 10px; }
  .link-card-url { white-space: normal; word-break: break-all; }
  .main { padding: 12px 12px 88px; max-width: 100%; }
  .public-shell { padding: 10px 12px 64px; }
  input, select, textarea { font-size: 16px; padding: 10px 12px; } /* prevent iOS zoom */
  .otp-row { grid-template-columns: minmax(0, 1fr) 108px; }
  .otp-send, .otp-row .btn { width: 100%; min-height: 44px; font-size: 12px; }
  form.card, .card.compact, form.compact { padding: 14px; }
  .pm-tab { flex: 0 0 auto; white-space: nowrap; font-size: 12px; padding: 8px 10px; }
  .pm-method-head { flex-direction: column; align-items: flex-start; }
  .pm-account-block { gap: 8px; }
  .checkout-theme-grid { grid-template-columns: 1fr; }
  .api-page .page-hero { flex-direction: column; align-items: stretch; gap: 10px; }
  .api-page .page-hero .row { width: 100%; }
  .api-page .otp-row { grid-template-columns: 1fr; }
  .api-page .otp-row .btn { min-height: 44px; }
  .api-page .site-card-head { flex-direction: column; align-items: stretch; }
  .api-page .checkout-hex { font-size: 16px; }
  .docs-pre, pre {
    font-size: 11px; max-width: 100%;
    padding: 8px; border-radius: 8px;
  }
  .docs-table td, .docs-table th { white-space: normal; font-size: 12px; padding: 6px; }
  .table-wrap { margin: 0; max-width: 100%; }
  .top { flex-wrap: wrap; align-items: flex-start; }
  .row { gap: 8px; }
  .btn { min-height: 40px; }
  .btn.tiny { min-height: 34px; }
  .grid.cards { grid-template-columns: 1fr; }
  .pay { padding: 12px 12px 40px; max-width: 100%; }
  .pay-panel { padding: 12px !important; }
  .pay-actions .btn.tiny { flex: 1 1 calc(50% - 6px); }
  .apps { grid-template-columns: 1fr 1fr; gap: 8px; }
  .app-btn { padding: 9px 10px; }
  .qr-card { padding: 18px 14px 16px; border-radius: 18px; border-width: 2px; }
  .qr-card::after { inset: 6px; border-radius: 14px; }
  .qr-frame { padding: 10px; border-width: 2px; }
  .pay-cta { max-width: 100%; }
  .site-brand-bar { padding: 10px 12px; margin-bottom: 10px; }
  .flash { overflow-wrap: anywhere; word-break: break-word; }
  .flash code { display: inline-block; max-width: 100%; }
  h1, h2, .stat { overflow-wrap: anywhere; }
  .callback-row { grid-template-columns: 1fr; }
  .otp-row input { min-width: 0; }
  .whatsapp-fab { display: grid; bottom: 16px; }
  .hero { min-height: 68vh; align-content: center; padding: 20px 2px 24px; }
  .hero-brand { font-size: clamp(36px, 11vw, 56px); }
  .hero-line { font-size: clamp(22px, 7vw, 32px); max-width: 14ch; }
  .hero-sub { font-size: 14px; max-width: 34ch; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1 1 140px; justify-content: center; text-align: center; }
  .hero-orb { opacity: .45; top: 0; width: min(320px, 78vw); }
  .hero-ring { opacity: .4; }
  .hero-grid { inset: 8% 0 30% 0; }
  .feature-strip { grid-template-columns: 1fr; gap: 4px; }
  .site-foot { margin-top: 28px; padding-top: 16px; }
  .auth {
    padding: 16px 14px 28px;
    align-content: start;
    place-items: start center;
    padding-top: max(6vh, 24px);
  }
  .auth::before { opacity: .35; top: 4%; right: -18%; }
  .auth-panel { width: min(100%, 400px); }
  .auth .card, .auth .auth-card { width: 100%; }
  .btn-block { min-height: 46px; }
  .muted { color: var(--muted); }
}

@media (max-width: 420px) {
  .otp-row { grid-template-columns: 1fr; }
  .otp-send, .otp-row .btn { min-height: 42px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; flex: none; }
}
@media (min-width: 901px) {
  .side-close { display: none; }
}
html.side-lock, html.side-lock body { overflow: hidden; }

/* Bilingual (i) help tips */
.help-i {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; margin-left: 4px; padding: 0;
  border-radius: 50%; border: 1px solid rgba(26,115,232,.35); background: #eef5fc; color: #0b57d0;
  font: 700 11px/1 Georgia, "Times New Roman", serif; cursor: help; vertical-align: middle;
}
.help-i:hover, .help-i:focus-visible { background: #1a73e8; color: #fff; border-color: #1a73e8; outline: none; }
.help-pop {
  position: fixed; z-index: 80; max-width: min(440px, calc(100vw - 24px));
  max-height: min(72vh, 520px); overflow: hidden;
  display: flex; flex-direction: column;
  border-radius: 14px; border: 1px solid var(--line);
  background: #ffffff; color: var(--text);
  box-shadow: 0 18px 48px rgba(15,40,80,.18);
  font-size: 13px; line-height: 1.5;
}
.help-pop[hidden] { display: none !important; }
.help-pop-head {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 10px 12px; border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, #ffffff, #f4f8fc);
}
.help-pop-title {
  font-family: var(--display); font-size: 13px; font-weight: 700; color: #0f1b2d;
}
.help-lang {
  display: inline-flex; gap: 4px; margin-left: auto;
  padding: 2px; border-radius: 999px; background: #eef5fc; border: 1px solid var(--line-soft);
}
.help-lang-btn {
  border: 0; background: transparent; color: var(--muted);
  font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 999px; cursor: pointer;
}
.help-lang-btn.is-active {
  background: linear-gradient(180deg, #4d8fe0, #1a73e8); color: #ffffff;
}
.help-pop-close {
  width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line);
  background: #fff; color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer;
}
.help-pop-body {
  padding: 12px 14px 14px; overflow-y: auto; -webkit-overflow-scrolling: touch;
  max-height: min(58vh, 420px);
}
.help-pop .help-en,
.help-pop .help-hi {
  margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word;
  color: #1f2a37;
}
.help-pop .help-en a,
.help-pop .help-hi a { color: #0b57d0; font-weight: 600; }
#create-pay.is-pay-focus {
  border-color: rgba(26,115,232,.55);
  box-shadow: 0 0 0 3px rgba(26,115,232,.16), 0 16px 36px rgba(15,40,80,.1);
}
.pm-method-banner h2 .help-i { vertical-align: middle; margin-left: 6px; }
.pm-method-panel label .help-i { margin-left: 4px; }
.pay-hi { margin-top: 8px; opacity: .9; font-size: .95em; }
.site-card h2 .pill { font-size: 11px; margin-left: 6px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .pay-live-hint::before { box-shadow: none !important; }
}

/* —— Basic vs Pro app shell —— */
.side-plan {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  margin: 0 2px 10px; padding: 8px 10px; border-radius: 10px;
  background: rgba(15,27,45,.04); border: 1px solid var(--line-soft);
}
.side-plan-label {
  font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: #5b6b7c;
}
.tier-pro .side-plan {
  background: linear-gradient(135deg, rgba(26,115,232,.1), rgba(26,115,232,.04));
  border-color: rgba(26,115,232,.28);
}
.tier-pro .side-plan-label { color: #1a73e8; }
.side-plan-name { font-size: 12px; }
.side-upgrade { width: 100%; justify-content: center; margin-bottom: 8px; }
.tier-pro .topbar {
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(238,245,252,.94));
  box-shadow: 0 8px 24px rgba(26,115,232,.08);
}
.tier-pro .side a.active {
  background: rgba(26,115,232,.12);
  box-shadow: inset 2px 0 0 #1a73e8;
}
.tier-basic .main { max-width: 920px; }
.tier-pro .main { max-width: 1080px; }

.dash-hero {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 14px;
  margin-bottom: 14px; padding: 16px 16px 14px; border-radius: var(--radius);
  border: 1px solid var(--line-soft); background: #fff;
  animation: rise .4s var(--ease);
}
.dash-hero--basic {
  background: linear-gradient(180deg, #ffffff, #f7fafc);
}
.dash-hero--pro {
  border-color: rgba(26,115,232,.35);
  background: linear-gradient(135deg, #ffffff 0%, #eef5fc 55%, #e4effc 100%);
  box-shadow: 0 12px 28px rgba(26,115,232,.1);
}
.dash-kicker {
  margin: 0 0 2px; font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #5b6b7c;
}
.dash-hero--pro .dash-kicker { color: #1a73e8; }
.dash-title {
  margin: 0; font-family: var(--display); font-size: 26px; font-weight: 800;
  letter-spacing: -.03em; display: inline-flex; align-items: center; gap: 4px;
}
.dash-sub { margin: 6px 0 0; max-width: 46ch; }
.dash-hero-side { display: flex; flex-direction: column; align-items: stretch; gap: 8px; min-width: 148px; }
.dash-plan-pill { font-weight: 700; }
.action-stack {
  display: flex; flex-direction: column; align-items: stretch; gap: 8px;
  min-width: 148px;
}
.action-chip {
  box-sizing: border-box;
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; min-width: 148px; height: 36px; padding: 0 14px;
  border-radius: 10px; font-size: 12px; font-weight: 700;
  letter-spacing: .01em; line-height: 1; text-decoration: none;
  border: 1px solid var(--line); background: #ffffff; color: var(--silver);
  white-space: nowrap; text-align: center;
}
.action-chip--plan {
  color: #5b6b7c; background: #f3f7fb; cursor: default;
}
.action-chip--plan.is-on {
  color: #0d9f6e; border-color: rgba(13,159,110,.35);
  background: rgba(13,159,110,.08);
}
.action-chip--primary {
  color: #ffffff; border-color: #0b57d0;
  background: linear-gradient(180deg, #4d8fe0, #1a73e8);
}
.action-chip--primary:hover { filter: brightness(1.04); color: #ffffff; }
.action-chip--ghost {
  color: #0b57d0; border-color: rgba(26,115,232,.4);
  background: rgba(26,115,232,.06);
}
.action-chip--ghost:hover {
  border-color: var(--champagne); background: rgba(26,115,232,.1); color: #0b57d0;
}
.page-hero .action-stack { margin-left: auto; }
.action-stack--row {
  flex-direction: row; flex-wrap: wrap; align-items: stretch;
  min-width: 0; gap: 8px;
}
.action-stack--row .action-chip {
  width: auto; flex: 1 1 120px; min-width: 120px;
}
.dash-stat {
  display: flex; flex-direction: column; gap: 6px;
}
.dash-stat-action {
  margin-top: auto; min-width: 0; width: 100%;
}

.cap-meter { margin-bottom: 12px; padding: 12px 14px; }
.cap-meter-head {
  display: flex; justify-content: space-between; gap: 10px; align-items: baseline; margin-bottom: 8px;
}
.cap-track {
  height: 8px; border-radius: 999px; background: rgba(15,27,45,.08); overflow: hidden;
}
.cap-fill {
  display: block; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, #4d8fe0, #1a73e8);
  transition: width .35s var(--ease);
}
.cap-fill--hot { background: linear-gradient(90deg, #f59e0b, #e11d48); }

.dash-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px;
}
.dash-stats--pro { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dash-stat--locked { opacity: .92; background: linear-gradient(180deg, #fff, #f6f8fb); }
.dash-badge-preview {
  display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 13px;
}
.dash-panel { margin-bottom: 12px; }
.dash-panel--accent {
  border-color: rgba(26,115,232,.35);
  box-shadow: 0 10px 28px rgba(26,115,232,.08);
}
.dash-panel-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 10px;
}
.dash-panel-head h2 { margin: 0; }
.dash-create-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px;
}
.dash-history { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dash-history li {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 8px 0; border-bottom: 1px solid var(--line-soft);
}
.dash-history li:last-child { border-bottom: 0; }
.profile-card--pro {
  border-color: rgba(26,115,232,.3);
  background: linear-gradient(180deg, #ffffff, #f3f8fd);
}
.page-hero {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
  margin-bottom: 12px;
}
.page-hero h1 { margin: 0; }
.tx-page-lead { margin: -4px 0 12px; max-width: 58ch; }

@media (max-width: 900px) {
  .dash-stats, .dash-stats--pro { grid-template-columns: 1fr; }
  .dash-hero { flex-direction: column; }
  .dash-hero-side, .action-stack {
    align-items: stretch; flex-direction: column; min-width: min(100%, 160px); width: min(100%, 200px);
  }
  .tier-basic .main, .tier-pro .main { max-width: none; }
}


/* FastKwik mobile polish */
@media (max-width: 900px) {
  .topbar {
    background: rgba(255,255,255,.94);
    border-bottom-color: var(--line-soft);
  }
  .side {
    background: #ffffff;
    border-right: 1px solid var(--line-soft);
  }
  .card, .pay-panel {
    box-shadow: 0 10px 28px rgba(15,40,80,.08);
  }
  .install-fab {
    display: grid;
    position: fixed; right: 12px; bottom: 16px; z-index: 6;
    width: 44px; height: 44px; border-radius: 999px; place-items: center;
    background: linear-gradient(180deg, #4d8fe0, #1a73e8); color: #fff; border: 0;
    box-shadow: 0 8px 20px rgba(26,115,232,.35);
  }
  .whatsapp-fab { bottom: 68px; }
  .main, .public-shell { padding-bottom: 96px; }
  .hero-brand { letter-spacing: -.04em; }
  .pm-tabs { padding-bottom: 8px; gap: 6px; }
  .compact h1, form.card h1 { color: #0f1b2d; }
  .admin-checkout-section h2,
  .pay-btn-admin-toggle strong,
  .docs-section h3,
  .pm-method-banner { color: #0f1b2d; }
}
@media (max-width: 420px) {
  .pay { padding-left: 10px; padding-right: 10px; }
  .qr-img { width: min(210px, 72vw); }
  .app-btn { min-height: 44px; }
  .brand-word-sub { letter-spacing: .08em; }
}