/* Klola design tokens, from the Stitch "Klola Household Budget" design system (dark). */
:root {
  --surface: #0c1518;
  --surface-low: #141d21;
  --surface-container: #182125;
  --surface-high: #222b2f;
  --surface-highest: #2d363a;
  --on-surface: #dae4e9;
  --on-surface-variant: #c1c9c0;
  --muted: #8b938b;
  --outline: #414942;
  --primary: #a8d6b2;
  --primary-container: #8dba98;
  --on-primary-container: #0c1518;
  --secondary-container: #334f3f;
  --on-secondary-container: #a0c0ab;
  --warn: #f5c377;
  --warn-bg: rgb(245 195 119 / 0.12);
  --danger: #ffb4ab;
  --danger-strong: #e08a74;
  --danger-bg: rgb(147 0 10 / 0.28);
  --scrim: rgb(7 15 19 / 0.72);

  --radius-card: 14px;
  --radius-sheet: 18px;
  --radius-control: 10px;
  /* Body and numbers: Plus Jakarta Sans (designed in Jakarta by Tokotype; tabular digits verified).
     Headings and the brand: Nunito, the rounded face of the koala wordmark (digits are fixed-width). */
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Nunito", "Plus Jakarta Sans", system-ui, sans-serif;
  color-scheme: dark;
}

h1, h2, h3,
.brand-text strong,
.ready .big,
.sheet-head h2,
.section-head h2,
.auth-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.45;
  background: var(--surface);
  color: var(--on-surface);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--primary); }
.muted { color: var(--on-surface-variant); margin: 0; }
.small { font-size: 0.85rem; }
.hint { color: var(--muted); }
.error { color: var(--danger); margin: 0; font-weight: 600; font-size: 0.9rem; }
.spacer { flex: 1; }
.num { font-variant-numeric: tabular-nums; }

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ---------- Header ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  padding-top: max(10px, env(safe-area-inset-top));
  background: rgb(12 21 24 / 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--surface-high);
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-text strong { font-size: 1.05rem; line-height: 1.2; }
.brand-month { color: var(--on-surface-variant); font-size: 0.78rem; text-transform: capitalize; }

.lang { display: inline-flex; background: var(--surface-container); border-radius: 999px; padding: 3px; }
.lang button {
  min-width: 44px;
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--on-surface-variant);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--secondary-container); color: var(--on-surface); }

main { flex: 1; padding-top: 16px; padding-bottom: 32px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 16px;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-control);
  border: 1px solid var(--surface-highest);
  background: var(--surface-high);
  color: var(--on-surface);
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { background: var(--surface-highest); }
.btn.primary { background: var(--primary-container); border-color: var(--primary-container); color: var(--on-primary-container); }
.btn.primary:hover { background: #7ea888; }
.btn.ghost { background: transparent; }
.btn.danger { background: transparent; border-color: var(--danger-strong); color: var(--danger); }
.btn.small { min-height: 36px; padding: 0 12px; font-size: 0.85rem; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.icon-btn {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--on-surface-variant);
  font-size: 1.1rem;
  cursor: pointer;
}
.icon-btn:hover { background: var(--surface-high); color: var(--on-surface); }
.link {
  border: 0;
  background: none;
  color: var(--primary);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 0;
}

:where(button, a, input, select, summary):focus-visible {
  outline: 2px solid var(--primary-container);
  outline-offset: 2px;
}

/* ---------- Ready to assign ---------- */

.card {
  background: var(--surface-container);
  border-radius: var(--radius-card);
  padding: 20px;
  margin-bottom: 16px;
}
.ready .label { margin: 0; font-weight: 600; color: var(--on-surface-variant); font-size: 0.9rem; }
.ready .big {
  margin: 4px 0 2px;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}
.ready .big.neg { color: var(--danger); }
.ready .hint { margin: 0 0 14px; font-size: 0.88rem; }
.ready-actions { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
@media (max-width: 380px) { .ready-actions { grid-template-columns: 1fr 1fr; } .ready-actions .btn:last-child { grid-column: 1 / -1; } }

/* ---------- Month banner ---------- */

.banner {
  background: var(--warn-bg);
  border: 1px solid rgb(245 195 119 / 0.45);
  border-radius: var(--radius-card);
  padding: 16px;
  margin-bottom: 16px;
}
.banner p { margin: 0 0 6px; }
.banner .muted { margin-bottom: 12px; }

/* ---------- Onboarding ---------- */

.onboard h2 { margin: 0 0 10px; font-size: 1.05rem; }
.onboard ol { margin: 0; padding-left: 20px; color: var(--on-surface-variant); }
.onboard li { margin-bottom: 4px; }

/* ---------- Section heads, chips ---------- */

.section-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 24px 0 12px; flex-wrap: wrap; }
.section-head h2 { margin: 0; font-size: 1.15rem; display: flex; align-items: center; gap: 8px; }
.count-pill { font-size: 0.75rem; font-weight: 500; padding: 2px 8px; border-radius: 999px; background: var(--surface-high); color: var(--on-surface-variant); }
.head-actions { display: flex; gap: 8px; align-items: center; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 12px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--surface-highest);
  background: var(--surface-container);
  color: var(--on-surface-variant);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.chip[aria-pressed="true"] { background: var(--secondary-container); border-color: var(--primary-container); color: var(--on-surface); }
.chip.over[aria-pressed="false"] { color: var(--danger); border-color: rgb(255 180 171 / 0.35); }

.view-toggle { display: inline-flex; background: var(--surface-container); border-radius: var(--radius-control); padding: 3px; }
.view-toggle button {
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--on-surface-variant);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}
.view-toggle button[aria-pressed="true"] { background: var(--surface-highest); color: var(--on-surface); }

/* ---------- Groups and envelopes ---------- */

.group { margin-bottom: 18px; }
.group-head {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  color: var(--on-surface-variant);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}
.group-head .caret { transition: transform 0.15s ease; }
.group-head[aria-expanded="false"] .caret { transform: rotate(-90deg); }
.group-head .group-total { margin-left: auto; text-transform: none; letter-spacing: 0; font-variant-numeric: tabular-nums; }

.grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .grid { grid-template-columns: 1fr 1fr 1fr; } }

.env {
  background: var(--surface-container);
  border: 1px solid transparent;
  border-radius: var(--radius-card);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.env.over { background: #1b1717; border-color: rgb(255 180 171 / 0.25); }
.env-top { display: flex; align-items: center; gap: 8px; }
.env-emoji { font-size: 1.35rem; width: 36px; height: 36px; display: grid; place-items: center; background: var(--surface-low); border-radius: 10px; flex: none; }
.env-name { margin: 0; font-size: 1rem; font-weight: 600; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.env-amount { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.env-amount .avail { font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.env-amount .avail.neg { color: var(--danger); }
.env-amount .avail-label { color: var(--muted); font-size: 0.78rem; }

.pill { font-size: 0.72rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.pill.ok { background: var(--secondary-container); color: var(--primary); }
.pill.low, .pill.underfunded { background: var(--warn-bg); color: var(--warn); }
.pill.over { background: var(--danger-bg); color: var(--danger); }
.pill.empty { background: var(--surface-high); color: var(--on-surface-variant); }
.pill.imported { background: var(--surface-high); color: var(--on-surface-variant); }

.bar { height: 6px; background: var(--surface-highest); border-radius: 999px; overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: 999px; background: var(--primary-container); }
.bar.low span, .bar.underfunded span { background: var(--warn); }
.bar.over span { background: var(--danger-strong); }

.stats { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin: 0; font-size: 0.82rem; color: var(--on-surface-variant); }
.stats strong { color: var(--on-surface); font-weight: 600; font-variant-numeric: tabular-nums; }
.target-line { margin: 0; font-size: 0.8rem; color: var(--warn); }
.target-line.met { color: var(--primary); }
.over-note { margin: 0; padding: 10px; border-radius: 10px; background: var(--danger-bg); color: #ffdad6; font-size: 0.84rem; }

/* Compact rows */
.compact { background: var(--surface-container); border-radius: var(--radius-card); overflow: hidden; }
.crow {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 8px 14px;
  border: 0;
  border-bottom: 1px solid var(--surface-low);
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.crow:last-child { border-bottom: 0; }
.crow:hover { background: var(--surface-high); }
.crow .name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crow .avail { font-weight: 700; font-variant-numeric: tabular-nums; }
.crow .avail.neg { color: var(--danger); }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--primary-container); }
.dot.low, .dot.underfunded { background: var(--warn); }
.dot.over { background: var(--danger-strong); }
.dot.empty { background: var(--surface-highest); }

/* ---------- Transactions ---------- */

.txlist { list-style: none; margin: 0; padding: 0; background: var(--surface-container); border-radius: var(--radius-card); overflow: hidden; }
.txrow {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 64px;
  padding: 12px 16px;
  border: 0;
  border-bottom: 1px solid var(--surface-low);
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.txlist li:last-child .txrow { border-bottom: 0; }
.txrow:hover { background: var(--surface-high); }
.txrow .env-emoji { font-size: 1.2rem; }
.txrow .info { flex: 1; min-width: 0; }
.txrow .info strong { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.txrow .meta { color: var(--muted); font-size: 0.8rem; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.txrow .amt { font-weight: 600; color: var(--danger); font-variant-numeric: tabular-nums; white-space: nowrap; }
.empty-note { color: var(--on-surface-variant); background: var(--surface-container); border-radius: var(--radius-card); padding: 18px; margin: 0; }

/* ---------- Sheets (dialogs) ---------- */

.sheet {
  border: 1px solid var(--surface-highest);
  padding: 0;
  width: min(100vw, 480px);
  max-width: 100vw;
  max-height: 92vh;
  background: var(--surface-container);
  color: var(--on-surface);
  border-radius: var(--radius-sheet);
  overflow: auto;
}
.sheet-wide { width: min(100vw, 760px); }
.sheet::backdrop { background: var(--scrim); backdrop-filter: blur(4px); }
@media (max-width: 640px) {
  .sheet {
    margin: auto 0 0;
    width: 100vw;
    border-radius: var(--radius-sheet) var(--radius-sheet) 0 0;
    border-bottom: 0;
    padding-bottom: env(safe-area-inset-bottom);
  }
}
.sheet-grip { width: 36px; height: 4px; border-radius: 999px; background: var(--surface-highest); margin: 8px auto 0; }
@media (min-width: 641px) { .sheet-grip { display: none; } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px 0 20px; }
.sheet-head h2 { margin: 0; font-size: 1.15rem; }
.sheet-body { padding: 12px 20px 20px; display: flex; flex-direction: column; gap: 14px; }
.sheet-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.sheet-actions.pad { padding: 0 20px 20px; }

.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 12px 20px 0; padding: 4px; background: var(--surface-low); border-radius: 12px; }
.segmented button {
  min-height: 40px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--on-surface-variant);
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}
.segmented button[aria-selected="true"] { background: var(--surface-highest); color: var(--on-surface); }

.field { display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem; color: var(--on-surface-variant); font-weight: 500; }
.field input, .field select, .mapping-grid select, .imp-rows select {
  font: inherit;
  font-size: 1rem;
  color: var(--on-surface);
  background: var(--surface-low);
  border: 1px solid var(--surface-highest);
  border-radius: var(--radius-control);
  min-height: 48px;
  padding: 0 14px;
  width: 100%;
}
.field input:focus, .field select:focus { border-color: var(--primary-container); outline: none; }
.money-field { display: flex; align-items: center; background: var(--surface-low); border: 1px solid var(--surface-highest); border-radius: var(--radius-control); }
.money-field:focus-within { border-color: var(--primary-container); }
.money-field .prefix { padding-left: 14px; color: var(--muted); font-weight: 600; }
.money-field input { border: 0; background: transparent; font-size: 1.35rem; font-weight: 700; font-variant-numeric: tabular-nums; padding-left: 8px; }
.money-field input:focus { outline: none; }
.row { display: flex; gap: 10px; }
.grow { flex: 1; }
.emoji-field { width: 84px; }
.emoji-field input { text-align: center; font-size: 1.3rem; padding: 0; }
.emoji-picks { display: flex; flex-wrap: wrap; gap: 6px; }
.emoji-picks button {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--surface-highest);
  background: var(--surface-low);
  font-size: 1.2rem;
  cursor: pointer;
}
.emoji-picks button[aria-pressed="true"] { border-color: var(--primary-container); background: var(--secondary-container); }

.option-list { display: flex; flex-direction: column; gap: 10px; }
.option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 60px;
  padding: 12px 16px;
  border-radius: var(--radius-card);
  border: 1px solid var(--surface-highest);
  background: var(--surface-low);
  color: var(--on-surface);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.option:hover:not(:disabled) { border-color: var(--primary-container); }
.option:disabled { opacity: 0.5; cursor: not-allowed; }
.option .need { color: var(--on-surface-variant); font-size: 0.85rem; font-variant-numeric: tabular-nums; }

.detail-list { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; }
.detail-list dt { color: var(--muted); font-size: 0.85rem; }
.detail-list dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

/* ---------- Import ---------- */

.privacy-note { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--surface-low); color: var(--on-surface-variant); }
.file-btn { position: relative; overflow: hidden; align-self: flex-start; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.mapping summary { cursor: pointer; color: var(--primary); font-weight: 600; min-height: 36px; display: flex; align-items: center; }
.mapping-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 10px; }
.mapping-grid label { display: flex; flex-direction: column; gap: 4px; font-size: 0.8rem; color: var(--on-surface-variant); }
.mapping-grid select { min-height: 40px; font-size: 0.9rem; }
.imp-summary { margin: 0; color: var(--on-surface-variant); }
.imp-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.imp-row { background: var(--surface-low); border: 1px solid transparent; border-radius: 12px; padding: 10px 12px; display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; }
.imp-row.needs { border-color: rgb(245 195 119 / 0.5); }
.imp-row.skip { opacity: 0.6; }
.imp-row .desc { font-weight: 600; overflow-wrap: anywhere; min-width: 0; }
.imp-row .amt { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.imp-row .amt.out { color: var(--danger); }
.imp-row .amt.in { color: var(--primary); }
.imp-row .meta { grid-column: 1 / -1; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: 0.78rem; }
.imp-row select { grid-column: 1 / -1; min-height: 42px; font-size: 0.9rem; }

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(20px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100vw - 32px);
  padding: 10px 10px 10px 16px;
  border-radius: 12px;
  background: var(--on-surface);
  color: var(--surface);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px -4px rgb(10 14 16 / 0.6);
}
.toast-action {
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #254f34;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.toast-action:hover { background: rgb(37 79 52 / 0.12); }

/* ---------- Sign-in ---------- */

.auth { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 48px; padding-bottom: 32px; gap: 18px; }
.auth-hero img { display: block; margin: 0 auto 8px; }
.auth-hero h1 { margin: 0 0 8px; font-size: 1.6rem; letter-spacing: -0.01em; }
.auth-hero p { max-width: 340px; }
.g-signin { min-height: 44px; display: flex; justify-content: center; }
.auth-tabs { width: 100%; max-width: 340px; margin: 0; grid-template-columns: 1fr 1fr; }
.auth-form { width: 100%; max-width: 340px; display: flex; flex-direction: column; gap: 12px; text-align: left; }
.auth-form .btn { width: 100%; }
.auth-or { margin: 0; }
.auth-form h2 { margin: 0; font-size: 1.15rem; }
.auth-note { max-width: 340px; margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--secondary-container); color: var(--on-surface); }

/* Header budget switcher */
.top-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; min-width: 0; }
.budget-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  max-width: 220px;
  padding: 0 12px;
  border: 1px solid var(--surface-highest);
  border-radius: 999px;
  background: var(--surface-container);
  color: var(--on-surface);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.budget-switch #budget-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 520px) { .brand-text { display: none; } .budget-switch { max-width: 140px; } }

/* Verify banner */
.verify-banner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Share dialog */
.sub-head { margin: 8px 0 0; font-size: 0.95rem; color: var(--on-surface-variant); }
.member-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.member {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface-low);
}
.member .avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--secondary-container); color: var(--primary); font-weight: 700; flex: none; }
.member .who { flex: 1; min-width: 0; }
.member .who strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.member .who span { display: block; color: var(--muted); font-size: 0.8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.invite-form { display: flex; flex-direction: column; gap: 12px; }
.invite-result { padding: 12px; border-radius: 12px; background: var(--secondary-container); display: flex; flex-direction: column; gap: 8px; }
.invite-result p { margin: 0; }
.link-box { min-height: 44px; padding: 0 12px; border-radius: var(--radius-control); border: 1px solid var(--surface-highest); background: var(--surface-low); color: var(--on-surface); font: inherit; font-size: 0.85rem; min-width: 0; }
#share-transfer { min-height: 44px; padding: 0 12px; border-radius: var(--radius-control); border: 1px solid var(--surface-highest); background: var(--surface-low); color: var(--on-surface); font: inherit; }
.align-end { align-self: flex-end; }
.option.current { border-color: var(--primary-container); background: var(--secondary-container); }
.consent { max-width: 340px; }

/* ---------- Footer ---------- */

.footer { padding-bottom: 32px; text-align: center; }
.footer p { margin: 6px 0; }
.sync-status { min-height: 1.2em; color: var(--primary); }
.account-actions { display: flex; gap: 8px; justify-content: center; margin: 10px 0; flex-wrap: wrap; }
