/* MUNSHI MOBILE WAVE — m-components kit (P1-B, B02 2026-11-23).
 * The shared "lego" every mobile-wave screen assembles from. Pairs with tokens-mw.css (the LAW)
 * and m-components.js (the builders). Boards are the picture; tokens-mw.css is the colour/size law.
 *
 * SCOPE = inert by default: every rule lives under `.m-root`. No fleet screen carries `.m-root`
 * yet, so loading this file changes NOTHING live (same discipline as v2.css/pro.css). The styleguide
 * (/dev/kit.html) and, later, the design_mw shell wrap their content in `.m-root`. Prefix = `m-`
 * (grep-able; the delete-old-CSS step after a group's death-date = "remove everything NOT m-").
 *
 * Gates baked in: button{font-family:inherit} (tokens) · nothing interactive < 44px · primary CTA 58px ·
 * disable-on-first-tap + spinner · toast z-4000 above everything · prefers-reduced-motion honoured ·
 * fits 360px (gutter drops to 16px). Category colours per board 80 (icon chip + 3px tick; amount shows
 * direction only). */

/* ── SELF-HOSTED FONTS (§E3 + §F: Inter + Space Grotesk, woff2, Latin subset, total ~113KB < 120KB
 *    budget; NEVER a Google CDN at runtime — sticker print-hang lesson, 3G shops, offline). font-display:
 *    swap + the system fallback stack (tokens) so text paints instantly and never blocks. unicode-range
 *    = Latin only, so Inter never shadows Urdu-script (Nastaliq/system renders party-name data). Files
 *    from @fontsource (pre-subset Latin, incl. U+2212 minus used by mMoneyText). Lazy: the browser only
 *    downloads a weight when rendered text uses it — inert until a design_mw screen paints. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/Inter-400.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/Inter-600.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/Inter-700.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/Inter-800.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/SpaceGrotesk-500.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/SpaceGrotesk-700.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

.m-root {
  font-family: var(--m-font);
  color: var(--m-ink);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
.m-root *, .m-root *::before, .m-root *::after { box-sizing: border-box; }

/* money text — the ONE money style (digits = Space Grotesk tabular); direction colours only */
.m-root .m-money { font-family: var(--m-font-money); font-variant-numeric: tabular-nums; white-space: nowrap; }
.m-root .m-money--in  { color: var(--m-green); }
.m-root .m-money--out { color: var(--m-orange); }
.m-root .m-money--muted { color: var(--m-muted); }

/* ── BUTTONS (spec7: L 58/r18 green-grad · M 44/r13 solid · nothing <44 · black never a primary save) ── */
.m-root .m-btn {
  font: 600 var(--m-fs-body)/1 var(--m-font);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--m-btn-m); padding: 0 18px; border: 0; border-radius: var(--m-r-btn-m);
  background: var(--m-green); color: #fff; cursor: pointer; text-decoration: none;
  transition: transform .12s ease, filter .12s ease, opacity .12s ease;
  -webkit-user-select: none; user-select: none; touch-action: manipulation;
}
.m-root .m-btn:active { transform: var(--m-btn-press); filter: brightness(.93); }
.m-root .m-btn:focus-visible { outline: 3px solid var(--m-green-tint-line); outline-offset: 2px; }
.m-root .m-btn-l {
  width: 100%; min-height: var(--m-btn-l); font-size: 16px; font-weight: 700; border-radius: var(--m-r-btn-l);
  background: var(--m-green-grad); box-shadow: 0 8px 24px rgba(10,122,75,.3);
}
.m-root .m-btn-ghost { background: transparent; color: var(--m-green); border: 1px solid var(--m-green-tint-line); }
.m-root .m-btn-danger { background: var(--m-orange); }
.m-root .m-btn-dark { background: var(--m-ink); }
/* disabled + first-tap busy (double-tap = double money row — the whole point) */
.m-root .m-btn[disabled], .m-root .m-btn.is-disabled { opacity: .55; cursor: not-allowed; box-shadow: none; filter: none; transform: none; }
.m-root .m-btn.is-busy { color: transparent !important; pointer-events: none; position: relative; }
.m-root .m-btn.is-busy::after {
  content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; animation: m-spin .7s linear infinite;
}
.m-root .m-btn-ghost.is-busy::after, .m-root .m-btn-ghost.is-busy { } /* ghost spinner on green */
.m-root .m-btn-ghost.is-busy::after { border-color: rgba(10,122,75,.35); border-top-color: var(--m-green); }

/* ── FIELD (>=44px, r14, focus ring; error = orange + shake) ── */
.m-root .m-field { display: block; margin-bottom: var(--m-gap); }
.m-root .m-field > label {
  display: block; font-size: var(--m-fs-label); letter-spacing: .6px; font-weight: 700;
  text-transform: uppercase; color: var(--m-muted); margin-bottom: 5px;
}
.m-root .m-field-box { position: relative; display: flex; align-items: center; }
.m-root .m-field-rs { position: absolute; left: 12px; color: var(--m-muted); font-size: var(--m-fs-body); pointer-events: none; }
.m-root .m-field input, .m-root .m-field select, .m-root .m-field textarea {
  width: 100%; min-height: var(--m-btn-m); padding: 10px 12px; font: 400 var(--m-fs-body) var(--m-font);
  color: var(--m-ink); background: var(--m-surface); border: 1px solid var(--m-line);
  border-radius: var(--m-r-field); transition: border-color .12s, box-shadow .12s; -webkit-appearance: none; appearance: none;
}
.m-root .m-field.has-rs input { padding-left: 34px; }
.m-root .m-field input:focus, .m-root .m-field select:focus, .m-root .m-field textarea:focus {
  outline: 0; border-color: var(--m-green); box-shadow: 0 0 0 3px var(--m-green-tint);
}
.m-root .m-field.is-error input, .m-root .m-field.is-error select, .m-root .m-field.is-error textarea {
  border-color: var(--m-orange); box-shadow: 0 0 0 3px var(--m-orange-tint); animation: m-shake .3s ease;
}
.m-root .m-field-hint { font-size: var(--m-fs-meta); color: var(--m-muted); margin-top: 4px; }
.m-root .m-field-err  { font-size: var(--m-fs-meta); color: var(--m-orange); margin-top: 4px; }

/* ── CHIPS (segmented / filter; 44px tap) ── */
.m-root .m-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.m-root .m-chip {
  font: 600 var(--m-fs-meta)/1 var(--m-font); min-height: var(--m-btn-m); display: inline-flex; align-items: center;
  padding: 0 14px; border-radius: var(--m-r-chip); border: 1px solid var(--m-line); background: var(--m-surface);
  color: var(--m-ink); cursor: pointer; touch-action: manipulation;
}
.m-root .m-chip.is-on { background: var(--m-green-tint); border-color: var(--m-green-tint-line); color: var(--m-green-deep); font-weight: 700; }
.m-root .m-chip:focus-visible { outline: 3px solid var(--m-green-tint-line); outline-offset: 2px; }

/* ── TOGGLE (switch; 44px tap area, knob slides) ── */
.m-root .m-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: var(--m-btn-m); cursor: pointer; }
.m-root .m-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.m-root .m-toggle-track { width: 46px; height: 28px; border-radius: 999px; background: var(--m-line); position: relative; transition: background .15s; flex: none; }
.m-root .m-toggle-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .18s ease; }
.m-root .m-toggle input:checked + .m-toggle-track { background: var(--m-green); }
.m-root .m-toggle input:checked + .m-toggle-track::after { transform: translateX(18px); }
.m-root .m-toggle input:focus-visible + .m-toggle-track { outline: 3px solid var(--m-green-tint-line); outline-offset: 2px; }
.m-root .m-toggle.is-disabled { opacity: .5; cursor: not-allowed; }
.m-root .m-toggle-label { font-size: var(--m-fs-body); }

/* ── LIST ROW (board 80: category icon-chip + 3px left tick + ellipsis name + flex:none amount) ── */
.m-root .m-row {
  display: flex; align-items: center; gap: 11px; padding: 11px 13px; background: var(--m-surface);
  border: 1px solid var(--m-line); border-left: 3px solid var(--m-line); border-radius: var(--m-r-card);
  margin-bottom: 8px; text-decoration: none; color: inherit; min-height: 56px;
}
.m-root .m-row-ic {
  flex: none; width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
  background: var(--m-line-soft); color: var(--m-muted);
}
.m-root .m-row-ic svg { width: 20px; height: 20px; }
.m-root .m-row-body { min-width: 0; flex: 1; }
.m-root .m-row-title { font-size: var(--m-fs-body); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-root .m-row-sub { font-size: var(--m-fs-meta); color: var(--m-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-root .m-row-amt { flex: none; text-align: right; font-weight: 700; font-size: var(--m-fs-row-amount); }
/* category variants — tick colour + icon chip tint (icon+word still carry meaning; colour never alone) */
.m-root .m-row--bikri   { border-left-color: var(--m-cat-bikri); }   .m-root .m-row--bikri   .m-row-ic { background: var(--m-cat-bikri-tint); color: var(--m-cat-bikri); }
.m-root .m-row--wasooli { border-left-color: var(--m-cat-wasooli); } .m-root .m-row--wasooli .m-row-ic { background: var(--m-cat-wasooli-tint); color: var(--m-cat-wasooli); }
.m-root .m-row--advance { border-left-color: var(--m-cat-advance); } .m-root .m-row--advance .m-row-ic { background: var(--m-cat-advance-tint); color: var(--m-cat-advance); }
.m-root .m-row--kharcha { border-left-color: var(--m-cat-kharcha); } .m-root .m-row--kharcha .m-row-ic { background: var(--m-cat-kharcha-tint); color: var(--m-cat-kharcha); }
.m-root .m-row--udhaar  { border-left-color: var(--m-cat-udhaar); }  .m-root .m-row--udhaar  .m-row-ic { background: var(--m-cat-udhaar-tint); color: var(--m-cat-udhaar); }
.m-root .m-row--bank    { border-left-color: var(--m-cat-bank); }    .m-root .m-row--bank    .m-row-ic { background: var(--m-cat-bank-tint); color: var(--m-cat-bank); }
.m-root .m-row--munafa  { border-left-color: var(--m-cat-munafa); }  .m-root .m-row--munafa  .m-row-ic { background: var(--m-cat-munafa-tint); color: var(--m-cat-munafa); }
.m-root .m-row.is-cancelled { opacity: .6; } /* mistake-fix strike (one-statement law: cancel-mark, never delete) */
.m-root .m-row.is-cancelled .m-row-title { text-decoration: line-through; }

/* ── SKELETON (loading row) ── */
.m-root .m-skeleton { height: 56px; border-radius: var(--m-r-card); margin-bottom: 8px;
  background: linear-gradient(90deg, var(--m-line-soft) 25%, var(--m-line) 37%, var(--m-line-soft) 63%);
  background-size: 400% 100%; animation: m-shimmer 1.3s ease infinite; }

/* ── NAVBAR (bottom tab bar; canvas v38 spec — bar 78px incl 16px safe-pad, icon 21px, label 11px,
 *    active #0A7A4B/w800 + icon pill tint r14, inactive #77827A/w600; nothing <44px tap) ── */
.m-root .m-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--m-z-overlay);
  display: flex; background: var(--m-surface); border-top: 1px solid var(--m-line);
  padding-bottom: max(16px, env(safe-area-inset-bottom, 0px)); box-shadow: 0 -2px 14px rgba(12,26,20,.07);
}
.m-root .m-nav-item {
  flex: 1; min-height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  color: var(--m-muted); text-decoration: none; font-size: 11px; font-weight: 600; line-height: 1;
  background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.m-root .m-nav-item svg { width: 21px; height: 21px; padding: 3px 14px; border-radius: var(--m-r-field); box-sizing: content-box; transition: background .15s ease; }
.m-root .m-nav-item span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-root .m-nav-item.is-active { color: var(--m-green); font-weight: 700; }  /* 700 not 800: the 600→800 two-step jump read as a different type family (Mujaddad); 700 is a real Inter face (kit.css:23 + app/fonts/Inter-700.woff2), clearly "selected", same family */
.m-root .m-nav-item.is-active svg { background: var(--m-green-tint); }
.m-root .m-nav-item:focus-visible svg { outline: 3px solid var(--m-green-tint-line); outline-offset: 1px; }

/* shell bottom-nav wrapper (design_mw): mobile-only, MIRRORS the legacy .tabbar (shown ≤900px,
 * hidden above where the desktop sidebar takes over — unchanged in this wave). display:contents so the
 * fixed .m-nav inside positions normally; the body gets has-tabbar (its 92px .main pad > 78px nav). */
.mw-tabbar { display: contents; }
@media (min-width: 901px) { .mw-tabbar { display: none; } }

/* ── SHEET (bottom; 280ms spring; grip; safe-area) ── */
.m-root .m-sheet-backdrop, .m-sheet-backdrop {
  position: fixed; inset: 0; background: rgba(20,31,25,.42); z-index: var(--m-z-overlay);
  opacity: 0; transition: opacity .2s ease;
}
.m-sheet-backdrop.is-open { opacity: 1; }
.m-sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--m-z-sheet);
  background: var(--m-surface); border-radius: var(--m-r-sheet) var(--m-r-sheet) 0 0;
  padding: 8px var(--m-gutter) calc(16px + env(safe-area-inset-bottom, 0));
  max-height: 88vh; overflow: auto; transform: translateY(100%);
  transition: transform .28s cubic-bezier(.2,.9,.25,1); font-family: var(--m-font); color: var(--m-ink);
  box-shadow: 0 -10px 40px rgba(20,31,25,.18);
}
.m-sheet.is-open { transform: translateY(0); }
.m-sheet-grip { width: 38px; height: 4px; border-radius: 999px; background: var(--m-line); margin: 6px auto 12px; }
.m-sheet-head { font-size: var(--m-fs-title); font-weight: 800; margin-bottom: 4px; }
.m-sheet-sub { font-size: var(--m-fs-meta); color: var(--m-muted); margin-bottom: 14px; }
.m-sheet-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }

/* ── CONFIRM dialog (centered card) ── */
.m-confirm-backdrop { position: fixed; inset: 0; background: rgba(20,31,25,.42); z-index: var(--m-z-sheet);
  display: flex; align-items: center; justify-content: center; padding: var(--m-gutter); opacity: 0; transition: opacity .18s; }
.m-confirm-backdrop.is-open { opacity: 1; }
.m-confirm { width: 100%; max-width: 360px; background: var(--m-surface); border-radius: var(--m-r-card-lg);
  padding: 20px; font-family: var(--m-font); color: var(--m-ink); transform: scale(.96); transition: transform .18s ease; }
.m-confirm-backdrop.is-open .m-confirm { transform: scale(1); }
.m-confirm-title { font-size: var(--m-fs-title); font-weight: 800; margin-bottom: 6px; }
.m-confirm-body { font-size: var(--m-fs-body); color: var(--m-muted); line-height: 1.5; margin-bottom: 18px; }
.m-confirm-actions { display: flex; flex-direction: column; gap: 10px; }

/* ── TOAST (z-4000 above EVERYTHING; 3s; WAPIS LAO undo) ── */
.m-toast-wrap { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--m-z-toast);
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 var(--m-gutter) calc(16px + env(safe-area-inset-bottom,0)); pointer-events: none; }
.m-toast { pointer-events: auto; width: 100%; max-width: 440px; display: flex; align-items: center; gap: 12px;
  background: var(--m-ink); color: #fff; border-radius: 14px; padding: 13px 16px; font: 500 var(--m-fs-body) var(--m-font);
  box-shadow: 0 8px 28px rgba(20,31,25,.35); animation: m-toast-up .26s cubic-bezier(.2,.9,.25,1); }
.m-toast--success { background: var(--m-green-deep); }
.m-toast--warn { background: var(--m-amber); }
.m-toast--block { background: var(--m-orange); }
.m-toast-msg { flex: 1; min-width: 0; }
.m-toast-undo { flex: none; background: transparent; border: 0; color: #fff; font: 700 var(--m-fs-body) var(--m-font);
  text-decoration: underline; cursor: pointer; padding: 4px 2px; }
.m-toast.is-out { animation: m-toast-down .22s ease forwards; }

/* ── success check draw (400ms) ── */
.m-root .m-check { width: 56px; height: 56px; }
.m-root .m-check circle { fill: none; stroke: var(--m-green); stroke-width: 3; opacity: .25; }
.m-root .m-check path { fill: none; stroke: var(--m-green); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 36; stroke-dashoffset: 36; animation: m-check-draw .4s .1s ease forwards; }

/* ── keyframes ── */
@keyframes m-spin { to { transform: rotate(360deg); } }
@keyframes m-shake { 0%,100%{transform:translateX(0)} 20%,60%{transform:translateX(-5px)} 40%,80%{transform:translateX(5px)} }
@keyframes m-shimmer { 0%{background-position:100% 0} 100%{background-position:-100% 0} }
@keyframes m-toast-up { from { transform: translateY(16px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes m-toast-down { to { transform: translateY(16px); opacity: 0; } }
@keyframes m-check-draw { to { stroke-dashoffset: 0; } }

/* ── 360px: gutter tightens, hero shrinks (board 37 proof pattern) ── */
@media (max-width: 374px) {
  .m-root { --m-gutter: 16px; }
  .m-sheet, .m-toast-wrap { padding-left: 16px; padding-right: 16px; }
}

/* ── reduced motion: kill decorative animation, keep the spinner legible ── */
@media (prefers-reduced-motion: reduce) {
  .m-root .m-btn, .m-sheet, .m-confirm, .m-confirm-backdrop, .m-sheet-backdrop,
  .m-root .m-field.is-error input, .m-toast, .m-root .m-check path { transition: none !important; animation: none !important; }
  .m-root .m-check path { stroke-dashoffset: 0; }
  .m-root .m-btn.is-busy::after { animation-duration: 1.2s; } /* keep spinner but gentler */
  .m-root .m-skeleton { animation: none; background: var(--m-line-soft); }
}

/* ── DARK (board 25 DarkHome): opt-in via .m-root.m-dark (NOT auto prefers-color-scheme — Mujaddad) ── */
.m-root.m-dark { color: var(--m-dark-ink); }
.m-root.m-dark .m-row, .m-root.m-dark .m-field input, .m-root.m-dark .m-nav { background: var(--m-dark-surface); border-color: var(--m-dark-line); }
.m-root.m-dark .m-sheet, .m-root.m-dark .m-confirm { background: var(--m-dark-surface); color: var(--m-dark-ink); }
.m-root.m-dark .m-money--in { color: var(--m-dark-green); }
.m-root.m-dark .m-money--out { color: var(--m-dark-orange); }

/* ── HERO (board 1/15: money hero + "bahi-khata" ruled line + count-up) ── */
.m-root .m-hero { padding: 4px 0 2px; }
.m-root .m-hero-label { font-size: var(--m-fs-label); letter-spacing: .6px; font-weight: 700; text-transform: uppercase; color: var(--m-muted); margin-bottom: 4px; }
.m-root .m-hero-amt { font-size: var(--m-fs-hero); font-weight: 800; line-height: 1.1; display: inline-block; }
.m-root .m-hero-amt--ruled { border-bottom: var(--m-rule); padding-bottom: 4px; }
.m-root .m-hero-amt--ruled-green { border-bottom: var(--m-rule-green); padding-bottom: 4px; }
.m-root .m-hero-sub { font-size: var(--m-fs-meta); color: var(--m-muted); margin-top: 6px; }
@media (max-width: 374px) { .m-root .m-hero-amt { font-size: 21px; } }

/* ── PICKER (board 27: search → result rows → inline "naya banao" + duplicate-number warning) ── */
.m-root .m-pick-search { width: 100%; min-height: var(--m-btn-m); padding: 10px 12px; margin-bottom: 10px;
  font: 400 var(--m-fs-body) var(--m-font); border: 1px solid var(--m-line); border-radius: var(--m-r-field); background: var(--m-surface); -webkit-appearance: none; appearance: none; }
.m-root .m-pick-search:focus { outline: 0; border-color: var(--m-green); box-shadow: 0 0 0 3px var(--m-green-tint); }
.m-root .m-pick-results { min-height: 44px; }
.m-root .m-pick-results .m-row { cursor: pointer; }
.m-root .m-pick-empty { padding: 18px 4px; text-align: center; color: var(--m-muted); font-size: var(--m-fs-body); }
.m-root .m-pick-new-btn { width: 100%; margin-top: 4px; }
.m-root .m-pick-dup { background: var(--m-amber-tint); border: 1px solid var(--m-amber-tint-line); border-radius: var(--m-r-field); padding: 10px 12px; margin: 4px 0 8px; }
.m-root .m-pick-dup-msg { font-size: var(--m-fs-body); color: var(--m-amber); font-weight: 600; margin-bottom: 8px; }
.m-root .m-pick-dup-acts { display: flex; gap: 8px; }
.m-root .m-pick-dup-acts .m-btn { flex: 1; }

/* ── SUCCESS (board 15: centered check-draw + title + amount) ── */
.m-success { text-align: center; }
.m-success .m-check { display: block; margin: 4px auto 12px; }
.m-success-title { font-size: var(--m-fs-title); font-weight: 800; margin-bottom: 6px; }
.m-success-amt { font-size: var(--m-fs-hero); font-weight: 800; margin-bottom: 14px; }
