/* Site styles. Mobile first, RTL-aware (logical properties). */
@font-face { font-family: 'Readex Pro'; src: url('/fonts/readex-pro-var.woff2') format('woff2'); font-weight: 160 700; font-display: swap; }
@font-face { font-family: 'Baloo Bhaijaan 2'; src: url('/fonts/baloo-bhaijaan-2-var.woff2') format('woff2'); font-weight: 400 800; font-display: swap; }

:root {
  --ink: #2b1b3f;
  --ink-2: #5d4c72;
  --ink-3: #8b7c9c;
  --paper: #fff8f1;
  --paper-2: #fdeee4;
  --card: #ffffff;
  --line: #efe2d8;
  --coral: #ff4f7b;
  --coral-2: #ff7a59;
  --gold: #ffb547;
  --mint: #22b894;
  --lilac: #9b7bff;
  --sky: #3f9dff;
  --danger: #d93a4a;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(43, 27, 63, 0.08), 0 2px 6px rgba(43, 27, 63, 0.05);
  --shadow-lg: 0 24px 60px rgba(43, 27, 63, 0.16);
  --display: 'Baloo Bhaijaan 2', 'Readex Pro', system-ui, sans-serif;
  --body: 'Readex Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, canvas, video { max-width: 100%; display: block; }
a { color: var(--coral); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0 0 0.4em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 7vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 5vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--ink-2); }
.small { font-size: 0.875rem; }
.center { text-align: center; }
.hidden { display: none !important; }
[dir='rtl'] body, body[dir='rtl'] { font-family: var(--body); }

/* ---------- header / footer ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 248, 241, 0.88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(239, 226, 216, 0.7); }
.site-header .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.55rem; }
.logo-mark { width: 34px; height: 34px; border-radius: 11px; background: conic-gradient(from 200deg, var(--coral), var(--gold), var(--lilac), var(--coral)); display: grid; place-items: center; color: #fff; font-size: 1.05rem; box-shadow: 0 4px 12px rgba(255, 79, 123, 0.35); }
.nav { display: none; gap: 20px; margin-inline-start: 16px; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--ink); }
.header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.lang-toggle { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 7px 14px; font: 600 0.9rem var(--body); cursor: pointer; }
@media (min-width: 860px) { .nav { display: flex; } }

.site-footer { margin-top: 64px; background: #2b1b3f; color: #e9def5; padding: 40px 0 28px; font-size: 0.9rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 24px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1.4fr; } }
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.merchant { color: #cdbfe0; line-height: 1.6; }
.merchant strong { color: #fff; }
.test-banner { background: #fff3cd; color: #6b5200; text-align: center; font-size: 0.85rem; padding: 6px 12px; }

/* ---------- buttons ---------- */
.btn { --bg: linear-gradient(135deg, var(--coral), var(--coral-2)); display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 15px 26px; font: 700 1.02rem var(--body); color: #fff; background: var(--bg); cursor: pointer; text-decoration: none; box-shadow: 0 10px 24px rgba(255, 79, 123, 0.32); transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s; -webkit-tap-highlight-color: transparent; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(255, 79, 123, 0.38); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn.secondary { background: #fff; color: var(--ink); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02); border: 1.5px solid var(--line); }
.btn.secondary:hover { border-color: #e2cfc1; }
.btn.whatsapp { background: linear-gradient(135deg, #25d366, #1ebe5b); box-shadow: 0 10px 24px rgba(37, 211, 102, 0.3); }
.btn.dark { background: var(--ink); box-shadow: 0 10px 24px rgba(43, 27, 63, 0.25); }
.btn.small { padding: 9px 16px; font-size: 0.9rem; }
.btn.block { width: 100%; }
.btn .price { background: rgba(255, 255, 255, 0.22); border-radius: 999px; padding: 2px 10px; font-size: 0.92rem; }

/* ---------- landing ---------- */
.hero { position: relative; overflow: hidden; padding: 28px 0 40px; }
.hero::before { content: ''; position: absolute; inset: -40% -20% auto -20%; height: 120%; background: radial-gradient(closest-side, rgba(255, 181, 71, 0.35), transparent 70%), radial-gradient(closest-side at 80% 30%, rgba(155, 123, 255, 0.28), transparent 70%), radial-gradient(closest-side at 20% 70%, rgba(255, 79, 123, 0.22), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.1fr 0.9fr; padding-top: 24px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 0.85rem; font-weight: 600; color: var(--ink-2); margin-bottom: 14px; }
.hero h1 .accent { background: linear-gradient(90deg, var(--coral), var(--coral-2) 50%, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { font-size: 1.13rem; color: var(--ink-2); max-width: 36em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 16px; }
.trust { display: flex; flex-wrap: wrap; gap: 14px 20px; color: var(--ink-2); font-size: 0.9rem; padding: 0; margin: 0; list-style: none; }
.trust li::before { content: '✓'; color: var(--mint); font-weight: 800; margin-inline-end: 6px; }

.phone { position: relative; width: min(300px, 70vw); aspect-ratio: 9 / 16; margin: 0 auto; border-radius: 34px; padding: 10px; background: linear-gradient(145deg, #3b2b52, #1c1128); box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, 0.06); }
.phone canvas, .phone img { width: 100%; height: 100%; border-radius: 26px; background: #f4ece6; object-fit: cover; }
.phone .tag { position: absolute; bottom: -14px; inset-inline-start: 50%; transform: translateX(-50%); background: #fff; border-radius: 999px; padding: 6px 14px; font-size: 0.82rem; font-weight: 600; box-shadow: var(--shadow); white-space: nowrap; }
[dir='rtl'] .phone .tag { transform: translateX(50%); }

.section { padding: 48px 0 8px; }
.section-head { max-width: 640px; margin-bottom: 24px; }
.steps { display: grid; gap: 16px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.step .num { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font: 800 1.2rem var(--display); color: #fff; background: linear-gradient(135deg, var(--lilac), var(--sky)); margin-bottom: 12px; }
.step:nth-child(2) .num { background: linear-gradient(135deg, var(--coral), var(--gold)); }
.step:nth-child(3) .num { background: linear-gradient(135deg, #25d366, var(--mint)); }

.occasions { display: flex; flex-wrap: wrap; gap: 10px; }
.occasion-chip { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 16px; font-weight: 600; color: var(--ink); text-decoration: none; }
.occasion-chip:hover { border-color: var(--coral); }

.design-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 640px) { .design-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .design-grid { grid-template-columns: repeat(4, 1fr); } }
.design-card { position: relative; display: block; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform 0.15s ease; }
.design-card:hover { transform: translateY(-3px); }
.design-card img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #f3e9e1; }
.design-card .meta { padding: 10px 12px 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.design-card .name { font-weight: 700; font-size: 0.95rem; }
.pill { font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #f6efe9; color: var(--ink-2); }
.pill.premium { background: linear-gradient(135deg, #f7e4b0, #e9c46a); color: #5a4108; }

.features { display: grid; gap: 14px; }
@media (min-width: 760px) { .features { grid-template-columns: repeat(2, 1fr); } }
.feature { display: flex; gap: 14px; background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.feature .ico { flex: 0 0 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem; background: var(--paper-2); }
.feature h3 { margin-bottom: 4px; }
.feature p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }

.pricing { display: grid; gap: 16px; }
@media (min-width: 760px) { .pricing { grid-template-columns: 1fr 1fr; } }
.price-card { background: #fff; border-radius: 24px; padding: 26px; box-shadow: var(--shadow); border: 2px solid transparent; }
.price-card.main { border-color: var(--coral); }
.price-card .amount { font: 800 2.6rem var(--display); }
.price-card .amount small { font-size: 1rem; color: var(--ink-2); font-family: var(--body); font-weight: 500; }
.price-card ul { padding-inline-start: 1.1em; color: var(--ink-2); }

.faq details { background: #fff; border-radius: 16px; padding: 4px 18px; box-shadow: var(--shadow); margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; font-size: 1.3rem; color: var(--coral); line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { color: var(--ink-2); }

/* ---------- editor ---------- */
.editor { display: grid; gap: 22px; padding: 18px 0 110px; }
@media (min-width: 960px) { .editor { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; padding-bottom: 60px; } }
.preview-col { order: -1; }
@media (min-width: 960px) { .preview-col { order: 2; position: sticky; top: 84px; } }
.preview-card { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.preview-card .phone { width: min(290px, 62vw); }
.preview-note { font-size: 0.82rem; color: var(--ink-3); text-align: center; }
.panel { background: #fff; border-radius: 22px; padding: 20px 18px; box-shadow: var(--shadow); margin-bottom: 16px; }
.panel h2 { font-size: 1.3rem; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.panel h2 .n { width: 28px; height: 28px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 0.95rem; display: grid; place-items: center; flex: 0 0 auto; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; flex-wrap: wrap; }
.chip { flex: 0 0 auto; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 14px; font: 600 0.92rem var(--body); color: var(--ink); cursor: pointer; }
.chip[aria-pressed='true'] { background: var(--ink); color: #fff; border-color: var(--ink); }
.designs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (min-width: 560px) { .designs { grid-template-columns: repeat(4, 1fr); } }
.design-opt { position: relative; border: 2.5px solid transparent; border-radius: 14px; overflow: hidden; padding: 0; background: #f6efe9; cursor: pointer; text-align: start; font: inherit; color: inherit; }
.design-opt img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.design-opt span { display: block; font-size: 0.78rem; font-weight: 700; padding: 6px 7px; background: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.design-opt[aria-pressed='true'] { border-color: var(--coral); box-shadow: 0 6px 18px rgba(255, 79, 123, 0.3); }
.design-opt .pill { position: absolute; top: 6px; inset-inline-end: 6px; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.swatch { width: 44px; height: 44px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--line); cursor: pointer; padding: 0; }
.swatch[aria-pressed='true'] { box-shadow: 0 0 0 3px var(--coral); }
.seg { display: inline-flex; background: #f4ece6; border-radius: 999px; padding: 4px; gap: 4px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; border-radius: 999px; padding: 9px 16px; font: 600 0.95rem var(--body); color: var(--ink-2); cursor: pointer; }
.seg button[aria-pressed='true'] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(43, 27, 63, 0.12); }
.fields { display: grid; gap: 14px; }
@media (min-width: 560px) { .fields.two { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; font-size: 0.93rem; margin-bottom: 6px; }
.field .opt { color: var(--ink-3); font-weight: 400; font-size: 0.85rem; }
.field input, .field textarea, .field select { width: 100%; border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 14px; font: 500 1rem var(--body); color: var(--ink); background: #fffdfb; outline: none; transition: border-color 0.12s, box-shadow 0.12s; }
.field textarea { min-height: 76px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--coral); box-shadow: 0 0 0 4px rgba(255, 79, 123, 0.12); }
.field .hint { font-size: 0.82rem; color: var(--ink-3); margin-top: 5px; }
.field .error { font-size: 0.84rem; color: var(--danger); margin-top: 5px; font-weight: 600; }
.field.bad input, .field.bad textarea { border-color: var(--danger); }
.field input[dir='rtl'] { text-align: right; }
.phone-input { display: flex; gap: 8px; }
.phone-input select { flex: 0 0 104px; }
.toggle { display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 600; }
.toggle input { width: 22px; height: 22px; accent-color: var(--coral); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; color: var(--ink-2); }
.consent input { margin-top: 3px; width: 20px; height: 20px; flex: 0 0 auto; accent-color: var(--coral); }
.buybar { position: fixed; inset-inline: 0; bottom: 0; z-index: 25; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
.buybar .inner { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; gap: 10px; }
.buybar .btn.pay { flex: 1; }
.buybar .preview-mini { flex: 0 0 auto; width: 52px; height: 52px; padding: 0; font-size: 1.3rem; }
.buybar .what { max-width: 1120px; margin: 0 auto 8px; font-size: 0.82rem; color: var(--ink-2); line-height: 1.35; text-align: center; }
.buybar .what:empty { display: none; }
@media (min-width: 960px) { .buybar { position: static; background: transparent; border: 0; padding: 0; backdrop-filter: none; } .buybar .preview-mini { display: none; } .buybar .what { margin: 10px 0 0; order: 2; } }
.includes { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; color: var(--ink-2); font-size: 0.92rem; }
.includes li::before { content: '✓'; color: var(--mint); font-weight: 800; margin-inline-end: 8px; }

/* ---------- modal, toast, progress ---------- */
.modal-bg { position: fixed; inset: 0; background: rgba(20, 10, 30, 0.55); z-index: 60; display: flex; align-items: flex-end; justify-content: center; padding: 12px; }
@media (min-width: 640px) { .modal-bg { align-items: center; } }
.modal { background: #fff; border-radius: 26px; padding: 22px 20px calc(20px + env(safe-area-inset-bottom)); width: min(460px, 100%); max-height: 92svh; overflow: auto; box-shadow: var(--shadow-lg); }
.modal h3 { font-size: 1.35rem; }
.toast { position: fixed; bottom: calc(100px + env(safe-area-inset-bottom)); inset-inline-start: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 999px; z-index: 80; font-weight: 600; font-size: 0.92rem; box-shadow: var(--shadow-lg); max-width: calc(100vw - 32px); }
[dir='rtl'] .toast { transform: translateX(50%); }
.progress { height: 12px; border-radius: 999px; background: #f2e7df; overflow: hidden; }
.progress > i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--coral), var(--gold)); transition: width 0.15s; }
.stepper { display: inline-flex; align-items: center; gap: 10px; }
.stepper button { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; font-size: 1.3rem; cursor: pointer; color: var(--ink); }
.stepper output { min-width: 1.6em; text-align: center; font-weight: 700; font-size: 1.1rem; }

/* ---------- guest invite page ---------- */
body.invite-body { background: #150d1f; min-height: 100svh; }
.stage { position: fixed; inset: 0 0 calc(118px + env(safe-area-inset-bottom)) 0; display: flex; align-items: center; justify-content: center; overflow: visible; }
.stage-bg { position: fixed; inset: -40px; filter: blur(40px) saturate(1.2); opacity: 0.65; transform: scale(1.1); }
.stage-bg canvas { width: 100%; height: 100%; object-fit: cover; }
.stage-card { position: relative; height: min(100%, calc(100vw * 16 / 9)); aspect-ratio: 9 / 16; max-width: 100vw; border-radius: 0 0 22px 22px; overflow: hidden; }
.stage-card canvas { width: 100%; height: 100%; }
@media (min-width: 600px) { .stage { inset: 16px 0 calc(118px + env(safe-area-inset-bottom)) 0; } .stage-card { border-radius: 28px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); } }
.guest-bar { position: fixed; inset-inline: 0; bottom: 0; z-index: 20; padding: 12px 14px calc(14px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 10px; align-items: center; background: linear-gradient(to top, rgba(15, 8, 24, 0.92) 60%, rgba(15, 8, 24, 0.5)); }
.guest-actions { display: flex; gap: 10px; width: min(460px, 100%); }
.guest-actions .btn { flex: 1; padding: 13px 10px; }
.guest-actions .btn.secondary { background: rgba(255, 255, 255, 0.94); border: 0; }
.made-with { color: rgba(255, 255, 255, 0.82); font-size: 0.8rem; text-decoration: none; }
.made-with b { color: #fff; }
.top-chips { position: fixed; top: calc(12px + env(safe-area-inset-top)); inset-inline: 12px; z-index: 20; display: flex; justify-content: space-between; gap: 8px; pointer-events: none; }
.top-chips > * { pointer-events: auto; }
.glass { background: rgba(255, 255, 255, 0.9); color: var(--ink); border: 0; border-radius: 999px; padding: 8px 14px; font: 600 0.88rem var(--body); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); cursor: pointer; }
.tap-hint { position: fixed; inset: 0; z-index: 15; }

/* ---------- manage page ---------- */
.manage { display: grid; gap: 22px; padding: 22px 0 60px; }
@media (min-width: 960px) { .manage { grid-template-columns: 360px minmax(0, 1fr); align-items: start; } .manage .preview-col { position: sticky; top: 84px; order: 0; } }
.status-banner { border-radius: 20px; padding: 18px 20px; background: linear-gradient(135deg, #e9fbf4, #fff7e0); border: 1.5px solid #c9efdf; }
.status-banner.wait { background: #fff7e6; border-color: #ffe0a3; }
.status-banner.off { background: #fdecee; border-color: #f7c5cc; }
.actions { display: grid; gap: 12px; }
.action { background: #fff; border-radius: 20px; padding: 18px; box-shadow: var(--shadow); }
.action h3 { display: flex; gap: 10px; align-items: center; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.linkbox { display: flex; gap: 8px; }
.linkbox input { flex: 1; min-width: 0; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 12px; font: 500 0.9rem var(--body); background: #fffdfb; color: var(--ink); }
.stats { display: flex; gap: 12px; flex-wrap: wrap; }
.stat { background: var(--paper-2); border-radius: 14px; padding: 10px 14px; min-width: 110px; }
.stat b { display: block; font: 800 1.5rem var(--display); }
.receipt { font-size: 0.9rem; }
.receipt table { width: 100%; border-collapse: collapse; }
.receipt td { padding: 6px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.receipt td:last-child { text-align: end; }
.warn { background: #fff7e6; border-radius: 14px; padding: 12px 14px; font-size: 0.9rem; color: #6b4b00; }

/* ---------- legal pages ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 28px 16px 40px; }
.legal section { background: #fff; border-radius: 20px; padding: 22px; box-shadow: var(--shadow); margin-bottom: 18px; }
.legal section[lang='ar'] { direction: rtl; text-align: right; }
.legal h2 { font-size: 1.4rem; margin-top: 0.4em; }
.legal li { margin-bottom: 6px; }

/* ---------- admin ---------- */
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 800px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi { background: #fff; border-radius: 18px; padding: 16px; box-shadow: var(--shadow); }
.kpi b { display: block; font: 800 1.9rem var(--display); }
.goal { background: #fff; border-radius: 20px; padding: 18px; box-shadow: var(--shadow); margin: 16px 0; }
.goal .progress { height: 18px; margin-top: 10px; }
table.data { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); font-size: 0.86rem; }
table.data th, table.data td { padding: 9px 10px; text-align: start; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data th { background: #faf3ee; font-weight: 700; }
.table-wrap { overflow-x: auto; }
.funnel { display: flex; gap: 8px; flex-wrap: wrap; }
.funnel .stat { min-width: 96px; }
.checklist li { margin-bottom: 6px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
