/* Yapson Couture — mobile d'abord, style Yapless : propre, aéré, gros boutons. */
:root {
  --bg: #f6f3fa;
  --surface: #ffffff;
  --surface-2: #eef1f8;
  --text: #0d1630;
  --muted: #61708f;
  --line: #e2e7f1;
  --primary: #7a2fd0;
  --primary-ink: #ffffff;
  --primary-soft: #f1e8fc;
  --hero-1: #2a0f4d;
  --hero-2: #8a35d6;
  --ok: #10995a;
  --ok-soft: #e3f6ec;
  --warn: #b86e00;
  --warn-soft: #fff2dc;
  --bad: #d12b3a;
  --bad-soft: #fde7e9;
  --shadow: 0 1px 2px rgba(13, 22, 48, .05), 0 6px 20px rgba(13, 22, 48, .06);
  --radius: 18px;
  --tab-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d0916; --surface: #18122a; --surface-2: #221a38; --text: #eaf0ff; --muted: #92a0c2;
    --line: #2c2346; --primary: #b07cff; --primary-soft: #2a1a48; --hero-1: #1c0b36; --hero-2: #5a1f9e;
    --ok: #3ccf8a; --ok-soft: #10301f; --warn: #f2b14c; --warn-soft: #33260c; --bad: #ff6b78; --bad-soft: #3a1419;
    --shadow: none; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d0916; --surface: #18122a; --surface-2: #221a38; --text: #eaf0ff; --muted: #92a0c2;
  --line: #2c2346; --primary: #b07cff; --primary-soft: #2a1a48; --hero-1: #1c0b36; --hero-2: #5a1f9e;
  --ok: #3ccf8a; --ok-soft: #10301f; --warn: #f2b14c; --warn-soft: #33260c; --bad: #ff6b78; --bad-soft: #3a1419;
  --shadow: none; color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body {
  font: 16px/1.4 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; min-height: 100dvh; overscroll-behavior-y: none;
}
button, input, select, textarea { font: inherit; color: inherit; }
input, select, textarea { font-size: 16px; } /* évite le zoom automatique d'iOS */
img { max-width: 100%; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Structure ---------- */
.shell { max-width: 560px; margin: 0 auto; min-height: 100dvh; padding-bottom: calc(var(--tab-h) + var(--safe-b) + 16px); }
.topbar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px;
  padding: calc(var(--safe-t) + 10px) 16px 10px; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
}
.topbar h1 { font-size: 22px; margin: 0; flex: 1; letter-spacing: -.02em; }
.topbar .sub { color: var(--muted); font-size: 13px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
  display: inline-grid; place-items: center; cursor: pointer; flex: none;
}
.icon-btn svg { width: 20px; height: 20px; }
.page { padding: 4px 16px 16px; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; margin: 22px 2px 10px; }
.section-title h2 { font-size: 17px; margin: 0; letter-spacing: -.01em; }
.section-title a, .link { color: var(--primary); font-size: 14px; font-weight: 600; text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; }

/* ---------- Barre d'onglets ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--surface);
  border-top: 1px solid var(--line); padding-bottom: var(--safe-b);
}
.tabbar nav { max-width: 560px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); height: var(--tab-h); }
.tabbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--muted); text-decoration: none; font-size: 11px; font-weight: 600;
}
.tabbar a svg { width: 24px; height: 24px; }
.tabbar a.on { color: var(--primary); }
.tabbar a.fab span.ring {
  width: 48px; height: 48px; border-radius: 16px; background: var(--primary); color: var(--primary-ink);
  display: grid; place-items: center; margin-top: -14px; box-shadow: 0 8px 20px color-mix(in srgb, var(--primary) 40%, transparent);
}

/* ---------- Cartes ---------- */
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.card.pad { padding: 16px; }
.hero {
  border-radius: 24px; padding: 20px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(120% 140% at 100% 0%, var(--hero-2) 0%, var(--hero-1) 60%);
}
.hero::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,.07); }
.hero .label { opacity: .78; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.hero .amount { font-size: 34px; font-weight: 800; letter-spacing: -.03em; margin: 6px 0 2px; word-break: break-word; }
.hero .amount small { font-size: 16px; font-weight: 700; opacity: .8; margin-left: 4px; }
.hero .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.14); }
.eye { background: none; border: 0; color: inherit; opacity: .8; padding: 0; cursor: pointer; display: inline-grid; }
.eye svg { width: 18px; height: 18px; }

.actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }
.action {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 4px; text-align: center;
  color: var(--text); text-decoration: none; font-size: 12px; font-weight: 600; box-shadow: var(--shadow); cursor: pointer;
}
.action .ic { width: 40px; height: 40px; border-radius: 12px; margin: 0 auto 6px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); }
.action .ic svg { width: 22px; height: 22px; }
.action.green .ic { background: var(--ok-soft); color: var(--ok); }
.action.orange .ic { background: var(--warn-soft); color: var(--warn); }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat { padding: 14px; }
.stat .k { color: var(--muted); font-size: 12px; font-weight: 600; }
.stat .v { font-size: 18px; font-weight: 800; margin-top: 4px; letter-spacing: -.02em; word-break: break-word; }
.stat .v small { font-size: 12px; color: var(--muted); font-weight: 700; }
.stat .d { font-size: 12px; margin-top: 2px; color: var(--muted); }

/* ---------- Listes ---------- */
.list { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-bottom: 1px solid var(--line); cursor: pointer; background: none; border-left: 0; border-right: 0; border-top: 0; width: 100%; text-align: left; }
.row:last-child { border-bottom: 0; }
.row .av { width: 42px; height: 42px; border-radius: 13px; flex: none; display: grid; place-items: center; background: var(--surface-2); overflow: hidden; font-weight: 800; font-size: 14px; color: var(--muted); }
.row .av img { width: 100%; height: 100%; object-fit: cover; }
.row .av.in { background: var(--ok-soft); color: var(--ok); }
.row .av.out { background: var(--warn-soft); color: var(--warn); }
.row .av svg { width: 20px; height: 20px; }
.row .mid { flex: 1; min-width: 0; }
.row .t { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .s { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.row .end { text-align: right; flex: none; }
.row .amt { font-weight: 800; font-size: 15px; }
.amt.plus { color: var(--ok); }
.day { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin: 18px 4px 8px; }

.badge { display: inline-block; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; margin-top: 4px; background: var(--surface-2); color: var(--muted); }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.bad { background: var(--bad-soft); color: var(--bad); }
.badge.info { background: var(--primary-soft); color: var(--primary); }

/* ---------- Filtres ---------- */
.search { position: relative; margin-bottom: 10px; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.search input { width: 100%; padding: 13px 14px 13px 42px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); outline: none; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
.fchip { flex: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; }
.fchip.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--surface-2); padding: 4px; border-radius: 14px; gap: 4px; margin-bottom: 14px; }
.seg button { border: 0; background: none; padding: 10px; border-radius: 10px; font-weight: 700; font-size: 14px; color: var(--muted); cursor: pointer; }
.seg button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }

/* ---------- Formulaires ---------- */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin: 0 2px 6px; }
.input, .field select, .field textarea {
  width: 100%; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); outline: none;
  appearance: none; -webkit-appearance: none;
}
.input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.input.big { font-size: 28px; font-weight: 800; text-align: center; letter-spacing: -.02em; padding: 16px; }
.hint { font-size: 12.5px; color: var(--muted); margin: 6px 2px 0; }
.hint.bad { color: var(--bad); }
.inline { display: flex; gap: 8px; }
.inline .input { flex: 1; min-width: 0; }
.quick { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.quick button { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 700; cursor: pointer; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 15px 18px; border-radius: 15px; border: 0;
  background: var(--primary); color: var(--primary-ink); font-weight: 800; font-size: 16px; cursor: pointer; text-decoration: none;
}
.btn:disabled { opacity: .5; cursor: default; }
.btn.ghost { background: var(--surface-2); color: var(--text); }
.btn.small { width: auto; padding: 12px 14px; font-size: 14px; border-radius: 13px; }
.btn.ok { background: var(--ok); }
.btn svg { width: 18px; height: 18px; }

.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.plat { border: 2px solid var(--line); background: var(--surface); border-radius: 16px; padding: 12px 6px; text-align: center; cursor: pointer; }
.plat.on { border-color: var(--primary); background: var(--primary-soft); }
.plat .logo { width: 44px; height: 44px; border-radius: 12px; margin: 0 auto 6px; display: grid; place-items: center; background: var(--surface-2); overflow: hidden; font-weight: 800; color: var(--muted); }
.plat .logo img { width: 100%; height: 100%; object-fit: cover; }
.plat .n { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.verified { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--ok-soft); color: var(--ok); font-weight: 700; margin-top: 8px; }
.verified svg { width: 20px; height: 20px; flex: none; }
.verified.bad { background: var(--bad-soft); color: var(--bad); }

/* ---------- Feuilles (bas d'écran) ---------- */
.backdrop { position: fixed; inset: 0; background: rgba(5, 10, 25, .45); z-index: 50; animation: fade .18s ease; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 51; background: var(--surface); border-radius: 24px 24px 0 0;
  max-height: 92dvh; overflow-y: auto; padding: 8px 18px calc(18px + var(--safe-b)); max-width: 560px; margin: 0 auto;
  animation: up .22s cubic-bezier(.2, .8, .2, 1);
}
.sheet .grab { width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 4px auto 12px; }
.sheet h3 { margin: 0 0 14px; font-size: 19px; }
.kv { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.kv:last-of-type { border-bottom: 0; }
.kv span:first-child { color: var(--muted); }
.kv span:last-child { font-weight: 700; text-align: right; word-break: break-all; }
.big-amt { text-align: center; margin: 4px 0 16px; }
.big-amt .v { font-size: 32px; font-weight: 800; letter-spacing: -.03em; }
.result-ic { width: 64px; height: 64px; border-radius: 50%; margin: 6px auto 12px; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); }
.result-ic.bad { background: var(--bad-soft); color: var(--bad); }
.result-ic svg { width: 32px; height: 32px; }

/* ---------- Divers ---------- */
.toast-wrap { position: fixed; top: calc(var(--safe-t) + 10px); left: 12px; right: 12px; z-index: 80; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.toast { max-width: 520px; width: 100%; background: var(--text); color: var(--bg); padding: 12px 16px; border-radius: 14px; font-weight: 600; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.2); animation: down .2s ease; }
.toast.bad { background: var(--bad); color: #fff; }
.toast.ok { background: var(--ok); color: #fff; }
.empty { text-align: center; color: var(--muted); padding: 36px 16px; font-size: 14px; }
.empty svg { width: 40px; height: 40px; opacity: .5; margin-bottom: 8px; }
.skel { background: linear-gradient(90deg, var(--surface-2), var(--line), var(--surface-2)); background-size: 200% 100%; animation: sh 1.2s infinite; border-radius: 12px; }
.more { margin: 12px 0 0; }
.menu .row .av { background: var(--primary-soft); color: var(--primary); }
.chev { width: 18px; height: 18px; color: var(--muted); }
.bar { height: 8px; background: var(--surface-2); border-radius: 99px; overflow: hidden; margin-top: 8px; }
.bar i { display: block; height: 100%; background: var(--primary); border-radius: 99px; }
.ptr { text-align: center; font-size: 12px; color: var(--muted); height: 0; overflow: hidden; transition: height .15s; }

/* ---------- Connexion ---------- */
.login { min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--safe-t) + 24px) 22px calc(var(--safe-b) + 24px); max-width: 440px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.brand .mark { width: 52px; height: 52px; border-radius: 16px; background: radial-gradient(120% 140% at 100% 0%, var(--hero-2), var(--hero-1)); display: grid; place-items: center; color: #fff; }
.brand .mark svg { width: 28px; height: 28px; }
.brand b { font-size: 22px; letter-spacing: -.02em; display: block; }
.brand span { color: var(--muted); font-size: 14px; }
.login h2 { font-size: 28px; margin: 0 0 6px; letter-spacing: -.03em; }
.login p.lead { color: var(--muted); margin: 0 0 24px; }
.pw { position: relative; }
.pw button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--muted); padding: 8px; cursor: pointer; }
.pw button svg { width: 20px; height: 20px; }

@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
@keyframes down { from { transform: translateY(-12px); opacity: 0; } }
@keyframes sh { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; } }
@media (min-width: 700px) { .shell { padding-top: 8px; } .sheet { bottom: 24px; border-radius: 24px; } }

/* ---------- Grands boutons Dépôt / Retrait ---------- */
.bigacts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.bigact { display: flex; align-items: center; gap: 12px; padding: 16px 14px; border-radius: 18px; text-decoration: none; color: #fff; box-shadow: var(--shadow); }
.bigact.dep { background: var(--ok); }
.bigact.wd { background: #e07a00; }
.bigact .ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: rgba(255,255,255,.2); flex: none; }
.bigact .ic svg { width: 22px; height: 22px; }
.bigact b { display: block; font-size: 17px; }
.bigact small { display: block; font-size: 12px; opacity: .85; }
a.plat:active, .bigact:active, .action:active { transform: scale(.98); }

.spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; flex: none; animation: rot .7s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }


/* ================= Yapson Couture ================= */
.shell.notabs { padding-bottom: 24px; }
.row .av.late { background: var(--bad-soft); color: var(--bad); }
.row .av.soon { background: var(--warn-soft); color: var(--warn); }
.row .av.ok { background: var(--ok-soft); color: var(--ok); }
.row .s b { color: var(--text); }
.due { font-size: 12px; font-weight: 800; white-space: nowrap; }
.due.late { color: var(--bad); } .due.soon { color: var(--warn); } .due.ok { color: var(--ok); } .due.far { color: var(--muted); }
.mini-bars { display: grid; gap: 4px; margin-top: 7px; }
.mini-bars .bar { height: 5px; margin: 0; }
.bar i.time { background: var(--muted); opacity: .45; }
.bar i.late { background: var(--bad); }
.bar i.ok { background: var(--ok); }
.bar i.warn { background: var(--warn); }
.progress-card .lbl { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; color: var(--muted); margin-top: 12px; }
.progress-card .lbl b { color: var(--text); }
.progress-card .bar { height: 10px; }
.pace { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; font-weight: 700; font-size: 14px; margin-top: 14px; }
.pace svg { width: 20px; height: 20px; flex: none; }
.pace.ok { background: var(--ok-soft); color: var(--ok); }
.pace.warn { background: var(--warn-soft); color: var(--warn); }
.pace.bad { background: var(--bad-soft); color: var(--bad); }
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-top: 4px; }
.step { border: 0; background: none; padding: 6px 0 0; cursor: pointer; text-align: center; color: var(--muted); font-size: 11px; font-weight: 700; }
.step .dot { width: 30px; height: 30px; border-radius: 50%; margin: 0 auto 5px; display: grid; place-items: center; background: var(--surface-2); border: 2px solid var(--line); }
.step .dot svg { width: 15px; height: 15px; }
.step.done .dot { background: var(--primary); border-color: var(--primary); color: #fff; }
.step.cur { color: var(--primary); }
.step.cur .dot { background: var(--primary-soft); border-color: var(--primary); color: var(--primary); }
.countdown { text-align: center; padding: 18px 16px; }
.countdown .n { font-size: 44px; font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.countdown .u { font-size: 14px; font-weight: 700; color: var(--muted); margin-top: 6px; }
.countdown.late .n { color: var(--bad); } .countdown.soon .n { color: var(--warn); } .countdown.ok .n { color: var(--ok); }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ph { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
.ph .del { position: absolute; top: 5px; right: 5px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; display: grid; place-items: center; cursor: pointer; }
.ph .del svg { width: 14px; height: 14px; }
.ph.add { display: grid; place-items: center; text-align: center; color: var(--primary); font-size: 12px; font-weight: 700; cursor: pointer; border: 2px dashed color-mix(in srgb, var(--primary) 45%, var(--line)); background: var(--primary-soft); }
.ph.add svg { width: 26px; height: 26px; display: block; margin: 0 auto 4px; }
.ph .spin { position: absolute; inset: 0; margin: auto; color: var(--primary); width: 26px; height: 26px; }
.viewer { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.92); display: grid; place-items: center; animation: fade .15s; }
.viewer img { max-width: 100vw; max-height: 100dvh; object-fit: contain; }
.viewer button { position: absolute; top: calc(var(--safe-t) + 12px); right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; display: grid; place-items: center; }
.viewer button svg { width: 22px; height: 22px; }
.measures { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.measure { background: var(--surface-2); border-radius: 13px; padding: 10px 12px; }
.measure .k { font-size: 12px; color: var(--muted); font-weight: 700; }
.measure .v { font-size: 18px; font-weight: 800; margin-top: 2px; }
.measure .v small { font-size: 12px; color: var(--muted); }
.mgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mgrid .field { margin: 0; }
.mgrid .field label { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.unit { position: relative; }
.unit .input { padding-right: 40px; }
.unit::after { content: 'cm'; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 13px; font-weight: 700; pointer-events: none; }
.unit.fcfa::after { content: 'F'; }
.picked { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 2px solid var(--primary); background: var(--primary-soft); border-radius: 14px; cursor: pointer; }
.picked .av { width: 38px; height: 38px; border-radius: 12px; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: none; }
.picked b { display: block; } .picked span { font-size: 12.5px; color: var(--muted); }
.picked .chg { margin-left: auto; color: var(--primary); font-size: 13px; font-weight: 800; }
.btnrow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btnrow.three { grid-template-columns: 1fr 1fr 1fr; }
.btn.wa { background: #1faa59; }
.btn.danger { background: var(--bad-soft); color: var(--bad); }
.banner { display: flex; gap: 12px; align-items: center; padding: 13px 14px; border-radius: 16px; margin-bottom: 14px; text-decoration: none; font-size: 14px; font-weight: 600; }
.banner svg { width: 22px; height: 22px; flex: none; }
.banner.warn { background: var(--warn-soft); color: var(--warn); }
.banner.bad { background: var(--bad-soft); color: var(--bad); }
.banner.info { background: var(--primary-soft); color: var(--primary); }
.banner b { display: block; }
.dotn { min-width: 18px; height: 18px; border-radius: 9px; background: var(--bad); color: #fff; font-size: 11px; font-weight: 800; display: inline-grid; place-items: center; padding: 0 5px; position: absolute; top: 3px; right: 3px; }
.icon-btn { position: relative; }
.notif.unread { background: color-mix(in srgb, var(--primary-soft) 60%, transparent); }
.paybox { background: var(--surface-2); border-radius: 14px; padding: 14px; margin-bottom: 14px; }
.paybox .kv { padding: 8px 0; }
.copy { border: 0; background: var(--primary-soft); color: var(--primary); font-weight: 800; font-size: 12px; padding: 5px 10px; border-radius: 999px; margin-left: 6px; cursor: pointer; }
.stat.click { cursor: pointer; }
.stat .v.bad { color: var(--bad); } .stat .v.warn { color: var(--warn); } .stat .v.ok { color: var(--ok); }
textarea.input { min-height: 84px; resize: vertical; }
.tabbar a { position: relative; }
a.row { text-decoration: none; color: inherit; }
