/* IndPay — original look: deep teal + marigold, warm paper surfaces. Light and dark are both designed (not a filter).
   Chart colours follow the data-viz method: one blue ramp for magnitude, status colours only with icon + words. */

:root {
  color-scheme: light;
  --bg: #f6f5f2; --surface: #ffffff; --surface-2: #efede8; --line: #e2dfd8;
  --ink: #161614; --ink-2: #4b4a46; --ink-3: #6f6d67;
  --brand: #0f5e55; --brand-ink: #ffffff; --brand-soft: #dcefeb; --accent: #e8a33d; --accent-ink: #4a2f00;
  --good: #0a7d0a; --good-bg: #e3f4e3; --warn: #8a5a00; --warn-bg: #fff2d6; --danger: #b42323; --danger-bg: #fde6e4; --info-bg: #e7eef7; --info: #23446b;
  --focus: #e8a33d;
  /* charts */
  --bar: #9ec5f4; --bar-strong: #2a78d6; --grid: #e6e4df; --track: #eceae6;
  --h1: #b7d3f6; --h2: #86b6ef; --h3: #5598e7; --h4: #2a78d6; --h5: #1c5cab; --dnum: #4b4a46; --dnum-inv: #ffffff;
  --st-good: #0ca30c; --st-warn: #fab219; --st-serious: #ec835a; --st-crit: #d03b3b;
  --radius: 14px; --shadow: 0 1px 2px rgba(0,0,0,.06), 0 4px 14px rgba(0,0,0,.05);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", "Kohinoor Devanagari", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #121413; --surface: #1b1f1e; --surface-2: #252a28; --line: #313735;
    --ink: #f0efec; --ink-2: #c6c4bd; --ink-3: #9a988f;
    --brand: #4fb3a6; --brand-ink: #06231f; --brand-soft: #1d3a36; --accent: #f0b65a; --accent-ink: #2c1b00;
    --good: #6fd36f; --good-bg: #173117; --warn: #f5c35a; --warn-bg: #3a2c0c; --danger: #ff8a85; --danger-bg: #3d1717; --info-bg: #1b2a3b; --info: #a9c8ee;
    --bar: #184f95; --bar-strong: #3987e5; --grid: #2c3230; --track: #2a2f2d;
    --h1: #184f95; --h2: #1c5cab; --h3: #2a78d6; --h4: #5598e7; --h5: #9ec5f4; --dnum: #c6c4bd; --dnum-inv: #0d1a2c;
    --shadow: 0 1px 2px rgba(0,0,0,.4);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #121413; --surface: #1b1f1e; --surface-2: #252a28; --line: #313735;
  --ink: #f0efec; --ink-2: #c6c4bd; --ink-3: #9a988f;
  --brand: #4fb3a6; --brand-ink: #06231f; --brand-soft: #1d3a36; --accent: #f0b65a; --accent-ink: #2c1b00;
  --good: #6fd36f; --good-bg: #173117; --warn: #f5c35a; --warn-bg: #3a2c0c; --danger: #ff8a85; --danger-bg: #3d1717; --info-bg: #1b2a3b; --info: #a9c8ee;
  --bar: #184f95; --bar-strong: #3987e5; --grid: #2c3230; --track: #2a2f2d;
  --h1: #184f95; --h2: #1c5cab; --h3: #2a78d6; --h4: #5598e7; --h5: #9ec5f4; --dnum: #c6c4bd; --dnum-inv: #0d1a2c;
  --shadow: 0 1px 2px rgba(0,0,0,.4);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.45 var(--font); min-height: 100vh; padding-bottom: calc(72px + env(safe-area-inset-bottom)); overflow-x: hidden; }
a { color: var(--brand); }
h1 { font-size: 1.4rem; margin: .2em 0 .6em; line-height: 1.25; }
h2 { font-size: 1.05rem; margin: .2em 0 .5em; }
h3 { font-size: .95rem; margin: 1em 0 .3em; }
p { margin: .4em 0; }
code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .92em; overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--surface); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.boot { padding: 40px 16px; text-align: center; color: var(--ink-3); }

/* chrome */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: calc(8px + env(safe-area-inset-top)) 16px 8px; background: var(--bg); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.topacts { display: flex; align-items: center; gap: 4px; }
.syncdot { display: inline-flex; color: var(--ink-3); } .syncdot.busy { color: var(--brand); animation: spin 1.2s linear infinite; } .syncdot.err { color: var(--warn); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .syncdot.busy { animation: none; } * { scroll-behavior: auto !important; } }
.tabs { position: fixed; bottom: 0; left: 0; right: 0; z-index: 10; display: flex; justify-content: center; background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.tab { flex: 1; max-width: 128px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px 7px; font-size: .72rem; color: var(--ink-3); text-decoration: none; min-height: 56px; }
.tab[aria-current="page"] { color: var(--brand); font-weight: 700; }
.tab[aria-current="page"] .ic { stroke-width: 2.3; }
main { display: block; max-width: 680px; margin: 0 auto; padding: 12px 16px 24px; outline: none; }
.ic { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.flip { display: inline-flex; transform: scaleX(-1); }

/* building blocks */
.card { display: block; width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin: 12px 0; box-shadow: var(--shadow); color: inherit; text-align: left; font: inherit; }
button.card { cursor: pointer; }
.row { display: flex; align-items: center; gap: 8px; } .row.wrap { flex-wrap: wrap; } .row.between { justify-content: space-between; } .row.end { justify-content: flex-end; margin-top: 12px; } .row.center, .center { justify-content: center; text-align: center; }
.col { display: flex; flex-direction: column; gap: 8px; }
.grow { flex: 1; min-width: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 420px) { .grid2 { grid-template-columns: 1fr; } }
.muted { color: var(--ink-3); } .small { font-size: .85rem; } .block { display: block; } .pre { white-space: pre-line; }
.err { color: var(--danger); font-weight: 600; min-height: 0; } .err:empty { display: none; }
.neg { color: var(--danger); } .pos { color: var(--good); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 12px; border: 1.5px solid var(--brand); background: var(--brand); color: var(--brand-ink); font: 600 .95rem var(--font); cursor: pointer; text-decoration: none; }
.btn.ghost { background: transparent; color: var(--brand); }
.btn.small { min-height: 36px; padding: 6px 12px; font-size: .86rem; border-radius: 10px; }
.btn.wide { width: 100%; margin-top: 10px; }
.btn.danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn.ghost.danger { background: transparent; color: var(--danger); border-color: var(--danger); }
.btn:disabled { opacity: .5; cursor: default; }
.iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink-2); border-radius: 12px; cursor: pointer; }
.iconbtn:hover { background: var(--surface-2); } .iconbtn:disabled { opacity: .35; }
.linkbtn { background: none; border: 0; color: var(--brand); font: inherit; cursor: pointer; padding: 6px 2px; display: inline-flex; gap: 4px; align-items: center; text-decoration: underline; text-underline-offset: 3px; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: .8rem; background: var(--surface-2); color: var(--ink-2); }
.badge.ok { background: var(--good-bg); color: var(--good); } .badge.warn { background: var(--warn-bg); color: var(--warn); }
.tag { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 6px; background: var(--brand-soft); color: var(--brand); font-size: .75rem; font-weight: 600; }

/* forms */
.field { display: flex; flex-direction: column; gap: 4px; margin: 10px 0; }
.lbl { font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.hint { font-size: .8rem; color: var(--ink-3); }
input[type=text], input[type=email], input[type=search], input[type=password], input[type=number], input[type=url], input[type=date], select, textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font: 1rem var(--font); }
input:focus, select:focus, textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px var(--brand-soft); }
input[readonly] { background: var(--surface-2); }
.rupee { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 1.1rem; }
.rupee input { font-weight: 700; }
.amount .rupee input { font-size: 1.6rem; min-height: 56px; }
.check-row { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; font-size: .93rem; }
.check-row input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.toggle { display: flex; align-items: center; gap: 12px; margin: 10px 0; }
.toggle input { width: 46px; height: 26px; accent-color: var(--brand); flex: none; }
.seg { display: inline-flex; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; }
.seg button { border: 0; background: transparent; color: var(--ink-2); padding: 8px 12px; font: 600 .85rem var(--font); cursor: pointer; min-height: 38px; }
.seg button[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); }
.card .row.between + .row.between { margin-top: 10px; }

/* home */
.legalline { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--ink-2); background: var(--brand-soft); padding: 8px 12px; border-radius: 10px; }
.actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 0; }
.action { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 2px; border: 0; background: transparent; color: var(--ink); font: 600 .8rem var(--font); cursor: pointer; text-align: center; border-radius: 12px; }
.aic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--brand); color: var(--brand-ink); }
.action:nth-child(2) .aic { background: var(--accent); color: var(--accent-ink); }
.summary { display: flex; flex-direction: column; gap: 2px; }
.tl { font-size: .82rem; color: var(--ink-3); font-weight: 600; } .tv { font-size: 1.5rem; font-weight: 800; letter-spacing: -.01em; overflow-wrap: anywhere; } .ts { font-size: .8rem; color: var(--ink-3); }
.summary .badge { margin-top: 6px; align-self: flex-start; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 6px; margin: 0; list-style: none; scrollbar-width: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 600 .85rem var(--font); cursor: pointer; white-space: nowrap; }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 800; flex: none; }
.avatar.sm { width: 28px; height: 28px; font-size: .8rem; }
.tip h2 { display: flex; align-items: center; gap: 6px; }
.empty { text-align: center; }

/* lists */
.list, .txns, .payees { list-style: none; margin: 0; padding: 0; }
.item { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.item:last-child { border-bottom: 0; }
.item.full { width: 100%; background: none; border-left: 0; border-right: 0; border-top: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.txns .day { font-size: .78rem; font-weight: 700; color: var(--ink-3); padding: 12px 0 4px; text-transform: uppercase; letter-spacing: .04em; }
.txn, .payee { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 2px; border: 0; border-bottom: 1px solid var(--line); background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.txn b, .payee b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.txn small, .payee small { display: block; }
.payee small.tag { display: inline-block; margin: 4px 6px 0 0; }
.amt { font-weight: 700; white-space: nowrap; } .amt.in { color: var(--good); } .amt.failed { text-decoration: line-through; color: var(--ink-3); }
.cdot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; background: var(--ink-3); flex: none; vertical-align: middle; }
.cdot.big { width: 14px; height: 14px; margin: 0; }
.cdot[data-cat=food]{background:#e2733c}.cdot[data-cat=groceries]{background:#2f9e6a}.cdot[data-cat=shopping]{background:#c2559a}.cdot[data-cat=transport]{background:#3d7bd1}.cdot[data-cat=fuel]{background:#8a5a2b}
.cdot[data-cat=bills]{background:#d1a12b}.cdot[data-cat=recharge]{background:#5a6fd6}.cdot[data-cat=rent]{background:#7a4ccf}.cdot[data-cat=emi]{background:#b8423f}.cdot[data-cat=insurance]{background:#2a8f9b}
.cdot[data-cat=health]{background:#d14b6f}.cdot[data-cat=education]{background:#3a8f3a}.cdot[data-cat=entertainment]{background:#e05aa0}.cdot[data-cat=subscriptions]{background:#6950b8}.cdot[data-cat=investment]{background:#167a63}
.cdot[data-cat=people]{background:#d88a1d}.cdot[data-cat=personal]{background:#b46ad0}.cdot[data-cat=home]{background:#7d7a5a}.cdot[data-cat=gifts]{background:#d4495b}.cdot[data-cat=income]{background:#0a7d0a}

/* scan & pay */
.viewfinder { position: relative; aspect-ratio: 1; max-width: 420px; margin: 0 auto 12px; background: #000; border-radius: 18px; overflow: hidden; }
.viewfinder video { width: 100%; height: 100%; object-fit: cover; display: block; }
.frame { position: absolute; inset: 14%; border: 3px solid rgba(255,255,255,.9); border-radius: 18px; box-shadow: 0 0 0 999px rgba(0,0,0,.25); }
.camerr { position: absolute; left: 12px; right: 12px; bottom: 12px; color: #fff; background: rgba(0,0,0,.7); padding: 10px; border-radius: 10px; font-size: .9rem; }
.payee.big { border: 0; cursor: default; padding: 8px 0 12px; }
.payee.big b { font-size: 1.15rem; white-space: normal; }
.checks { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.check { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; font-size: .9rem; background: var(--info-bg); color: var(--info); }
.check .ic { margin-top: 1px; }
.check.danger { background: var(--danger-bg); color: var(--danger); } .check.warn { background: var(--warn-bg); color: var(--warn); } .check.ok { background: var(--good-bg); color: var(--good); }
.check b { font-weight: 800; }
.paybtn { font-size: 1.05rem; min-height: 54px; }
.apps { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.legal { color: var(--ink-3); }
.qrwrap { width: min(280px, 80vw); margin: 8px auto; background: #fff; border-radius: 12px; padding: 6px; }
.qrsvg { display: block; width: 100%; height: auto; }
.qrcap { text-align: center; margin: 4px 0 10px; }
.deskpay { text-align: center; }
code.big { font-size: 1.2rem; }

/* sheets & toasts */
.backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.45); display: flex; align-items: flex-end; justify-content: center; }
.sheet { width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; background: var(--surface); border-radius: 18px 18px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 30px rgba(0,0,0,.25); outline: none; }
@media (min-width: 700px) { .backdrop { align-items: center; } .sheet { border-radius: 18px; } }
.toast { position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); z-index: 60; max-width: min(92vw, 520px); background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 12px; font-size: .92rem; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.warn { background: var(--warn-bg); color: var(--warn); border: 1px solid var(--warn); }

/* money */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; display: flex; flex-direction: column; min-width: 0; }
.tile .tv { font-size: 1.15rem; }
.tile.wide { margin: 12px 0; } .tile.wide .tv { font-size: 1.4rem; }
@media (max-width: 400px) { .tiles .tile .tv { font-size: 1rem; } }
.ask .row input { flex: 1; }
.answer:empty { display: none; }
.answer { margin-top: 8px; padding: 10px 12px; background: var(--brand-soft); border-radius: 12px; }
.bigamt { font-size: 2rem; font-weight: 800; margin: 8px 0 0; } .bigamt.in { color: var(--good); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 14px 0; font-size: .92rem; }
.facts dt { color: var(--ink-3); } .facts dd { margin: 0; overflow-wrap: anywhere; }
.goal { padding: 10px 0; border-bottom: 1px solid var(--line); } .goal:last-child { border-bottom: 0; }
.budgets .rupee input { width: 110px; text-align: right; }

/* charts */
.chartbox { margin: 0; }
.chartbox figcaption { font-weight: 700; margin-bottom: 8px; }
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart .grid { stroke: var(--grid); stroke-width: 1; }
.chart .axis { fill: var(--ink-3); font-size: 10px; font-family: var(--font); }
.chart .val { fill: var(--ink); font-size: 11px; font-weight: 700; font-family: var(--font); }
.chart .bar { fill: var(--bar); } .chart .bar.strong { fill: var(--bar-strong); }
.chart .mark { cursor: pointer; outline: none; } .chart .mark:focus-visible .bar, .chart .mark:hover .bar { filter: brightness(.92); }
.chart .mark:focus-visible rect.hc, .chart .mark:hover rect.hc { stroke: var(--ink); stroke-width: 2; }
.heat { max-width: 340px; }
.hc { fill: var(--track); } .hc.h1 { fill: var(--h1); } .hc.h2 { fill: var(--h2); } .hc.h3 { fill: var(--h3); } .hc.h4 { fill: var(--h4); } .hc.h5 { fill: var(--h5); }
.dnum { fill: var(--dnum); font-size: 10px; font-family: var(--font); } .dnum.inv { fill: var(--dnum-inv); }
.heatlegend { display: flex; align-items: center; gap: 4px; font-size: .75rem; color: var(--ink-3); margin-top: 6px; }
.heatlegend i { display: inline-block; width: 14px; height: 14px; border-radius: 3px; }
.heatlegend i.hc { background: var(--track); } .heatlegend i.h1 { background: var(--h1); } .heatlegend i.h2 { background: var(--h2); } .heatlegend i.h3 { background: var(--h3); } .heatlegend i.h4 { background: var(--h4); } .heatlegend i.h5 { background: var(--h5); }
.catbars { list-style: none; margin: 0; padding: 0; }
.catrow { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; width: 100%; padding: 8px 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.cname { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cval { font-weight: 700; white-space: nowrap; }
.ctrack { grid-column: 1 / -1; height: 8px; background: var(--track); border-radius: 4px; overflow: hidden; }
.cfill { display: block; height: 100%; background: var(--bar-strong); border-radius: 0 4px 4px 0; }
.tableview { margin-top: 8px; font-size: .85rem; } .tableview summary { cursor: pointer; color: var(--brand); }
.tableview table { width: 100%; border-collapse: collapse; margin-top: 6px; } .tableview th, .tableview td { text-align: left; padding: 4px 6px; border-bottom: 1px solid var(--line); } .tableview td { text-align: right; }
.tip { position: absolute; z-index: 70; display: none; background: var(--ink); color: var(--bg); padding: 6px 10px; border-radius: 8px; font-size: .8rem; pointer-events: none; max-width: 220px; box-shadow: var(--shadow); }
.meter { padding: 8px 0 10px; border-bottom: 1px solid var(--line); } .meter:last-child { border-bottom: 0; }
.mhead { display: flex; justify-content: space-between; gap: 8px; font-size: .9rem; } .mname { font-weight: 600; } .mval { color: var(--ink-2); white-space: nowrap; }
.mtrack { height: 10px; background: var(--track); border-radius: 5px; overflow: hidden; margin: 6px 0 4px; }
.mfill { height: 100%; background: var(--st-good); border-radius: 0 5px 5px 0; }
.meter.warning .mfill { background: var(--st-warn); } .meter.pace .mfill { background: var(--st-serious); } .meter.critical .mfill { background: var(--st-crit); }
.goal .mfill { background: var(--bar-strong); }
.mstate { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--ink-2); }
.meter.critical .mstate { color: var(--danger); font-weight: 700; } .meter.warning .mstate, .meter.pace .mstate { color: var(--warn); font-weight: 600; }

/* receive / poster */
.posterprev img { width: 100%; max-width: 420px; display: block; margin: 12px auto; border: 1px solid var(--line); border-radius: 8px; }
.receive .card.center .row { margin-top: 6px; }

/* split */
.splitrows { margin: 8px 0; }
.splitrow { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.splitrow input[type=checkbox] { width: 22px; height: 22px; accent-color: var(--brand); }
.splitrow input[type=text] { width: 110px; min-height: 40px; }

/* more */
.menu { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin: 12px 0; }
.menuitem { display: flex; align-items: center; gap: 12px; padding: 14px 16px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); min-height: 50px; }
.menuitem:last-child { border-bottom: 0; }
.cards { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; gap: 0 12px; } }
.lock { text-align: center; padding-top: 10vh; max-width: 360px; margin: 0 auto; }
.lockicon { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); }
.lock input { text-align: center; font-size: 1.4rem; letter-spacing: .3em; }
.legal li { margin: 8px 0; }
details summary { cursor: pointer; padding: 6px 0; }
