/* Shagun Dreams
   Look: an Indian wedding card. Sindoor-to-plum festive bands with a rangoli rosette, cream paper,
   marigold accents. Marcellus for display, Mukta for text and numbers. Mobile first: on phones the
   navigation becomes a bottom tab bar, like an app. */
:root {
  --bg: #FBF7F4; --surface: #FFFFFF; --ink: #2A1630; --muted: #6E5A70; --line: #EDE2E7;
  --marigold: #D98E04; --marigold-soft: #FCEFD3; --sindoor: #B3123A; --sindoor-soft: #FBE6EC;
  --plum: #4A1036; --leaf: #2E7D5B; --leaf-soft: #E3F3EA; --cream: #FFF8EE;
  --shadow: 0 1px 2px rgba(42, 22, 48, .05), 0 8px 24px rgba(42, 22, 48, .07);
  --shadow-lift: 0 2px 4px rgba(42, 22, 48, .06), 0 14px 34px rgba(42, 22, 48, .12);
  --festive: linear-gradient(150deg, #4A1036 0%, #8E0F3A 45%, #B3123A 75%, #C8501F 100%);
  --display: "Marcellus", Georgia, serif; --body: "Mukta", system-ui, sans-serif; --num: "Mukta", system-ui, sans-serif;
  --code: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --radius: 18px; --tabbar: 0px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #160D1B; --surface: #221628; --ink: #F5ECF2; --muted: #BBA7BC; --line: #36263F;
    --marigold: #F2B137; --marigold-soft: #3A2A12; --sindoor: #F0587E; --sindoor-soft: #3A1624;
    --leaf: #5CC795; --leaf-soft: #17352A; --cream: #2A1B30;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35);
    --shadow-lift: 0 2px 4px rgba(0, 0, 0, .35), 0 14px 34px rgba(0, 0, 0, .45);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font: 16px/1.55 var(--body); -webkit-tap-highlight-color: transparent;
  padding-bottom: calc(var(--tabbar) + env(safe-area-inset-bottom, 0px)); }
a { color: var(--sindoor); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; text-wrap: balance; line-height: 1.15; }
.num { font-family: var(--num); font-weight: 600; font-variant-numeric: tabular-nums lining-nums; }
.code { font-family: var(--code); }
.muted { color: var(--muted); }
.eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--marigold); font-weight: 700; }
.icon { width: 22px; height: 22px; flex: none; }

.wrap { max-width: 860px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.main { padding-block: 20px 56px; display: grid; gap: 28px; }
.section { display: grid; gap: 14px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.section-head h2 { font-size: 26px; }

/* ---------- Top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding-block: 10px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 21px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand img { width: 34px; height: 34px; border-radius: 10px; box-shadow: var(--shadow); }
.brand-text { display: grid; line-height: 1.05; }
.brand-name span { color: var(--sindoor); }
.brand-by { font: 600 10.5px var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--marigold); margin-top: 2px; }
.footer a { color: var(--sindoor); font-weight: 600; text-decoration: none; }
.footer { display: grid; gap: 4px; }
.topnav { display: flex; align-items: center; gap: 18px; }
.topnav form { margin: 0; }
.topbar-link { font-weight: 500; text-decoration: none; color: var(--ink); }
.topbar-link:hover { color: var(--sindoor); }
.linkbtn { font: 500 16px var(--body); color: var(--sindoor); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }

/* Bottom tab bar (phones and the mobile app) */
.tabbar { display: none; }
@media (max-width: 720px) {
  :root { --tabbar: 64px; }
  .topnav .desk { display: none; }
  .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    height: calc(var(--tabbar) + env(safe-area-inset-bottom, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px);
    background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); }
  .tabbar a { display: grid; justify-items: center; align-content: center; gap: 2px; font-size: 11.5px; font-weight: 600;
    color: var(--muted); text-decoration: none; }
  .tabbar a.on { color: var(--sindoor); }
  .tabbar a.create .icon { width: 28px; height: 28px; color: var(--sindoor); }
}

.demo-banner { background: var(--plum); color: #F6C66B; text-align: center; font-size: 12.5px; font-weight: 600; letter-spacing: .02em;
  padding: 6px max(16px, env(safe-area-inset-left, 0px)); }
.footer { color: var(--muted); font-size: 13px; padding-block: 24px 40px; border-top: 1px solid var(--line); text-align: center; }

/* ---------- Festive band (rangoli rosette) ---------- */
.festive { position: relative; overflow: hidden; isolation: isolate; color: #FFF6EC; background: var(--festive);
  border-radius: 26px; padding: 26px 22px; box-shadow: var(--shadow-lift); }
.festive::before, .festive::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.festive::before { width: 420px; height: 420px; right: -150px; top: -170px; opacity: .55;
  background: repeating-conic-gradient(from 0deg, rgba(255, 214, 150, .22) 0 5deg, transparent 5deg 15deg);
  -webkit-mask: radial-gradient(circle, transparent 0 22%, #000 23% 46%, transparent 47% 52%, #000 53% 70%, transparent 71%);
          mask: radial-gradient(circle, transparent 0 22%, #000 23% 46%, transparent 47% 52%, #000 53% 70%, transparent 71%); }
.festive::after { width: 220px; height: 220px; left: -90px; bottom: -110px; opacity: .45;
  background: repeating-conic-gradient(from 7deg, rgba(255, 214, 150, .25) 0 8deg, transparent 8deg 22.5deg);
  -webkit-mask: radial-gradient(circle, transparent 0 30%, #000 31% 68%, transparent 69%);
          mask: radial-gradient(circle, transparent 0 30%, #000 31% 68%, transparent 69%); }
.festive .eyebrow { color: #F6C66B; }
.festive h1 { font-size: clamp(36px, 9vw, 58px); line-height: 1.02; color: #FFF6EC; }
.festive h1 .amp { color: #F6C66B; }
.festive p { margin: 0; color: rgba(255, 246, 236, .86); max-width: 56ch; }
.festive .btn { background: #FFF6EC; color: var(--plum); }
.festive .btn.ghost { background: transparent; color: #FFF6EC; border-color: rgba(255, 246, 236, .45); }

/* Wedding page hero */
.wed-hero { display: grid; gap: 14px; padding-bottom: 92px; }
.monogram { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display);
  font-size: 22px; letter-spacing: .02em; color: #FFF6EC; border: 2px solid #F6C66B; background: rgba(255, 255, 255, .08);
  box-shadow: 0 0 0 5px rgba(246, 198, 107, .16); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; padding: 5px 12px;
  border-radius: 99px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); }
.hero-chip .icon { width: 16px; height: 16px; }
.hero-chip.countdown { background: #F6C66B; color: var(--plum); border-color: transparent; font-weight: 700; }

/* Stats card that overlaps the bottom of the hero */
.stat-card { position: relative; z-index: 2; margin: -76px 12px 0; background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow-lift); padding: 16px 18px; display: grid; gap: 12px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat { display: grid; gap: 0; }
.stat small { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.stat b { font-size: 21px; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat-card .bar { height: 8px; }
.stat-foot { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }

/* Generic page hero (plain pages) */
.hero { display: grid; gap: 10px; }
.hero h1 { font-size: clamp(32px, 7vw, 48px); }
.hero h1 .amp { color: var(--sindoor); }
.hero p { margin: 0; color: var(--muted); max-width: 60ch; }
.totals { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--muted); font-size: 14px; }
.totals b { color: var(--ink); font-size: 18px; font-weight: 700; }

/* ---------- Dream cards ---------- */
.dreams { display: grid; gap: 12px; border: 0; padding: 0; margin: 0; min-width: 0; }
.dreams legend { margin-bottom: 4px; padding: 0; }
.dream { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: start;
  background: var(--surface); border: 1.5px solid transparent; border-radius: var(--radius); padding: 16px; cursor: pointer;
  box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.dream input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.dream:hover { transform: translateY(-1px); box-shadow: var(--shadow-lift); }
.dream:has(input:checked) { border-color: var(--marigold); box-shadow: 0 0 0 4px var(--marigold-soft), var(--shadow-lift); }
.dream:has(input:focus-visible) { outline: 2px solid var(--marigold); outline-offset: 3px; }
.dream.booked { cursor: default; opacity: .9; }
.dream.booked:hover { transform: none; }
.dream-icon { grid-row: span 2; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  color: var(--sindoor); background: linear-gradient(145deg, var(--sindoor-soft), var(--marigold-soft)); }
.dream-icon .icon { width: 26px; height: 26px; }
.dream-body { display: grid; gap: 6px; min-width: 0; grid-column: 2; }
.dream-top { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; align-items: baseline; }
.dream h3 { font-size: 20px; }
.dream .why { margin: 0; color: var(--muted); font-size: 15px; }
.dream-check { position: absolute; top: 12px; right: 12px; width: 26px; height: 26px; border-radius: 50%; display: none;
  place-items: center; background: var(--marigold); color: #fff; }
.dream-check .icon { width: 16px; height: 16px; stroke-width: 2.6; }
.dream:has(input:checked) .dream-check { display: grid; }
.dream:has(input:checked) .dream-top { padding-right: 30px; }
.pill { font-size: 12px; border: 1px solid var(--line); border-radius: 99px; padding: 2px 10px; color: var(--muted); white-space: nowrap; background: var(--bg); }
.pill.ok { background: var(--leaf-soft); color: var(--leaf); border-color: transparent; font-weight: 700; }
.bar { height: 10px; border-radius: 99px; background: var(--marigold-soft); overflow: hidden; }
.bar i { display: block; height: 100%; min-width: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--marigold), var(--sindoor)); }
.bar.done i { background: linear-gradient(90deg, #3FA374, var(--leaf)); }
.dream-meta { display: flex; justify-content: space-between; gap: 6px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.dream-meta .num { color: var(--ink); }

/* ---------- Panels, forms, buttons ---------- */
.panel { background: var(--surface); border: 0; border-radius: var(--radius); padding: 22px 20px; display: grid; gap: 16px; box-shadow: var(--shadow); }
.panel h2 { font-size: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 600 15px var(--num); font-variant-numeric: tabular-nums; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--bg); color: var(--ink); cursor: pointer; transition: all .12s ease; }
.chip:hover { border-color: var(--marigold); }
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.amount-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.field { display: grid; gap: 5px; min-width: 0; }
.field label { font-size: 13px; color: var(--muted); font-weight: 600; }
input, textarea, select { font: inherit; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 11px 13px; width: 100%; transition: border-color .12s ease, box-shadow .12s ease; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--marigold); box-shadow: 0 0 0 4px var(--marigold-soft); }
textarea { resize: vertical; min-height: 70px; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--marigold); outline-offset: 2px; }
.rupee { position: relative; }
.rupee::before { content: "₹"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; }
.rupee input { padding-left: 30px; font-weight: 600; font-size: 18px; font-variant-numeric: tabular-nums; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row3 { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
@media (max-width: 560px) { .row, .row3 { grid-template-columns: 1fr; } }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 16px var(--body); color: #fff;
  background: linear-gradient(135deg, #C8163F, var(--sindoor) 55%, #8E0F3A); border: 1.5px solid transparent; border-radius: 14px;
  padding: 13px 20px; cursor: pointer; text-decoration: none; text-align: center; box-shadow: 0 6px 16px rgba(179, 18, 58, .25);
  transition: transform .12s ease, box-shadow .12s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(179, 18, 58, .3); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: var(--marigold); }
.btn.small { font-size: 14px; padding: 8px 13px; border-radius: 11px; }
.btn.block { width: 100%; }
.give-cta { position: sticky; bottom: calc(var(--tabbar) + 10px + env(safe-area-inset-bottom, 0px)); z-index: 5; }
.note { font-size: 13px; color: var(--muted); margin: 0; }
.err, .field-validation-error, .validation-summary-errors { color: var(--sindoor); font-size: 14px; }
.validation-summary-errors ul { margin: 0; padding-left: 18px; }
.validation-summary-valid { display: none; }
.toast { background: var(--leaf-soft); color: var(--ink); border-radius: 14px; padding: 13px 16px; border-left: 4px solid var(--leaf); }
.warn { background: var(--marigold-soft); border-left: 4px solid var(--sindoor); border-radius: 14px; padding: 13px 16px; }
.callout { background: linear-gradient(135deg, var(--marigold-soft), var(--sindoor-soft)); border-radius: var(--radius); padding: 20px; display: grid; gap: 6px; }
.callout .big { font-family: var(--display); font-size: clamp(24px, 6vw, 34px); }

/* ---------- Blessings ---------- */
.blessings { display: grid; gap: 12px; }
.blessing-list { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.blessing { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; background: var(--surface);
  border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.blessing p { margin: 0; font-family: var(--display); font-size: 17px; line-height: 1.35; }
.blessing small { color: var(--muted); display: block; margin-top: 4px; font-size: 13px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 15px; flex: none; }

/* ---------- Steps (how it works) ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; gap: 6px; font-size: 15px; color: var(--muted); background: var(--surface); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.steps li .step-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--sindoor); background: var(--sindoor-soft); }
.steps b { color: var(--ink); font-weight: 600; font-size: 16px; }

/* ---------- Tables (dashboard) ---------- */
.table-wrap { overflow-x: auto; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
td.amt, th.amt { text-align: right; }
.status-Paid { color: var(--leaf); font-weight: 700; }
.status-Pending { color: var(--marigold); font-weight: 700; }
.status-Failed { color: var(--sindoor); font-weight: 700; }
.copy { display: flex; gap: 8px; }
.copy input { font-family: var(--code); font-size: 13px; }

/* ---------- Home ---------- */
.home-hero { display: grid; gap: 16px; padding: 34px 22px 30px; }
.home-hero h1 { font-size: clamp(38px, 10vw, 62px); }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.couple-list { display: grid; gap: 10px; }
.couple-link { display: flex; align-items: center; gap: 14px; background: var(--surface); border-radius: var(--radius); padding: 14px 16px;
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; }
.couple-link:hover { transform: translateY(-1px); box-shadow: var(--shadow-lift); }
.couple-link .monogram-sm { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display);
  color: #FFF6EC; background: var(--festive); flex: none; }
.couple-link .grow { display: grid; min-width: 0; flex: 1; }
.couple-link strong { font-family: var(--display); font-size: 20px; font-weight: 400; }
.couple-link .icon { color: var(--muted); }

/* ---------- Login ---------- */
.auth { max-width: 440px; width: 100%; margin: 0 auto; }
.auth-mark { width: 64px; height: 64px; border-radius: 18px; box-shadow: var(--shadow-lift); }
.phone { display: flex; align-items: stretch; }
.phone .cc { display: flex; align-items: center; padding: 0 14px; border: 1.5px solid var(--line); border-right: 0; border-radius: 12px 0 0 12px;
  background: var(--marigold-soft); font-weight: 700; }
.phone input { border-radius: 0 12px 12px 0; font-size: 18px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.otp { font-size: 28px; letter-spacing: .45em; text-align: center; font-weight: 700; }
.localcode { background: var(--marigold-soft); border: 1.5px dashed var(--marigold); border-radius: 14px; padding: 12px 14px; display: grid; gap: 2px; }
.localcode b { font-size: 24px; letter-spacing: .18em; }
.auth-links { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 15px; }
.auth-links form { margin: 0; }
.auth-links .linkbtn { font-size: 15px; }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.plan { position: relative; display: grid; gap: 12px; align-content: start; background: var(--surface); border: 1.5px solid transparent;
  border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow); }
.plan.featured { border-color: var(--marigold); box-shadow: 0 0 0 4px var(--marigold-soft), var(--shadow-lift); }
.plan h3 { font-size: 24px; }
.plan .price { font: 700 36px var(--num); font-variant-numeric: tabular-nums; }
.plan .price small { font: 400 15px var(--body); color: var(--muted); }
.plan ul { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 7px; color: var(--muted); font-size: 15px; }
.plan ul li { padding-left: 24px; position: relative; }
.plan ul li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--leaf);
  border-bottom: 2px solid var(--leaf); transform: rotate(-45deg); }
.plan ul b { color: var(--ink); font-weight: 600; }
label.plan { cursor: pointer; }
label.plan input[type="radio"] { position: absolute; opacity: 0; }
label.plan:has(input:checked) { border-color: var(--marigold); box-shadow: 0 0 0 4px var(--marigold-soft), var(--shadow-lift); }
label.plan:has(input:focus-visible) { outline: 2px solid var(--marigold); outline-offset: 2px; }
.badge { justify-self: start; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff;
  background: linear-gradient(135deg, var(--marigold), #E5650F); border-radius: 99px; padding: 3px 11px; }
.sub-status { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.actions form { margin: 0; }

/* ---------- Gift registry ---------- */
.gift-list { display: grid; gap: 10px; }
.gift { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-radius: 14px;
  padding: 12px 14px; background: var(--bg); border: 1px solid var(--line); }
.gift-main { display: grid; gap: 3px; min-width: 0; flex: 1 1 220px; }
.gift-main b { font-weight: 600; }
.gift.gifted { opacity: .75; }
.gift.gifted .gift-main b { text-decoration: line-through; color: var(--muted); }
.gift .actions { align-items: center; }
.store { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.store i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

/* ---------- Tip and payment method chips ---------- */
.tip { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; min-width: 0; }
.tip legend { font-size: 14px; font-weight: 600; padding: 0; margin-bottom: 8px; }
.tip legend .note { font-weight: 400; display: block; }
.tip-chip { position: relative; cursor: pointer; }
.tip-chip input[type="radio"] { position: absolute; opacity: 0; }
.tip-chip span { display: inline-block; font: 600 15px var(--num); padding: 9px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); }
.tip-chip input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tip-chip input:focus-visible + span { outline: 2px solid var(--marigold); outline-offset: 2px; }
.breakdown { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; margin: 0; text-align: left; font-size: 15px;
  background: var(--bg); border-radius: 12px; padding: 12px 14px; }
.breakdown dt { color: var(--muted); }
.breakdown dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- Mock payment ---------- */
.upi { max-width: 420px; margin: 0 auto; width: 100%; text-align: center; }
.upi .amount { font: 700 44px var(--num); font-variant-numeric: tabular-nums; }
.upi-actions { display: grid; gap: 10px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
