/* Fin de mois — direction B « Douceur » */
:root {
  --bg: #EEF1EC; --sf: #FFFFFF; --sf2: #F5F7F3; --ink: #1B2420; --ink2: #56625B; --ink3: #5F6B64;
  --line: #DCE3DA; --in: #0F7A5C; --insoft: #DDF0E6; --hero: #1E3A33; --heroink: #F2F7F4; --heroink2: #B7CCC2;
  --herochip: rgba(255,255,255,.12); --warn: #A65300; --warnbg: #FDEFD9; --btn: #1E3A33; --btnink: #FFFFFF;
  --scrim: rgba(27,36,32,.45); --shadow: 0 1px 2px rgba(0,0,0,.08);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F1412; --sf: #18201C; --sf2: #1F2924; --ink: #E8EEEA; --ink2: #A6B3AB; --ink3: #8E9B93;
    --line: #2A3530; --in: #5FD3A8; --insoft: #173A2D; --hero: #A8E6C9; --heroink: #0F1412; --heroink2: #2F5345;
    --herochip: rgba(15,20,18,.12); --warn: #FFB561; --warnbg: #3A2A14; --btn: #A8E6C9; --btnink: #0F1412;
    --scrim: rgba(0,0,0,.6); --shadow: 0 1px 2px rgba(0,0,0,.4);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0F1412; --sf: #18201C; --sf2: #1F2924; --ink: #E8EEEA; --ink2: #A6B3AB; --ink3: #8E9B93;
  --line: #2A3530; --in: #5FD3A8; --insoft: #173A2D; --hero: #A8E6C9; --heroink: #0F1412; --heroink2: #2F5345;
  --herochip: rgba(15,20,18,.12); --warn: #FFB561; --warnbg: #3A2A14; --btn: #A8E6C9; --btnink: #0F1412;
  --scrim: rgba(0,0,0,.6); --shadow: 0 1px 2px rgba(0,0,0,.4);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-variant-numeric: tabular-nums; font-size: 15px; line-height: 1.4;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--ink); }
input::placeholder { color: var(--ink3); }
:focus-visible { outline: 2px solid var(--in); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.amt-in { color: var(--in); }
.amt-out { color: var(--ink); }
.muted { color: var(--ink2); }
.warn-text { color: var(--warn); }

/* ---------- Coque ---------- */
.shell { min-height: 100dvh; }
.main {
  max-width: 520px; margin: 0 auto; padding: 16px 16px calc(110px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 14px;
}
.sidebar { display: none; }

.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  padding: 10px 24px calc(14px + env(safe-area-inset-bottom)); background: var(--bg);
  display: flex; justify-content: space-between; align-items: center;
}
.bottom-nav > * { flex: 1; display: flex; justify-content: center; }
.nav-tab {
  display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 64px;
  font-size: 11px; font-weight: 600; text-decoration: none; color: var(--ink2);
}
.nav-tab .pill { width: 52px; height: 32px; border-radius: 999px; display: flex; align-items: center; justify-content: center; }
.nav-tab[aria-current="page"] { color: var(--ink); font-weight: 700; }
.nav-tab[aria-current="page"] .pill { background: var(--sf); }
.fab {
  width: 60px; height: 60px; border-radius: 20px; border: 0; background: var(--btn); color: var(--btnink);
  display: flex; align-items: center; justify-content: center; flex: none;
}

/* ---------- Éléments communs ---------- */
.page-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 4px; gap: 12px; }
.page-head h1 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.eyebrow { font-size: 13px; color: var(--ink2); font-weight: 500; }
.pill-info { height: 36px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--sf); font-size: 13px; font-weight: 600; white-space: nowrap; }

.card { background: var(--sf); border-radius: 24px; padding: 18px; }
.card-title { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.card-title h2 { margin: 0; font-size: 16px; font-weight: 800; }
.card-title span { font-size: 12px; color: var(--ink2); }

.btn {
  height: 52px; padding: 0 24px; border-radius: 999px; border: 0; background: var(--btn); color: var(--btnink);
  font-size: 16px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none;
}
.btn.block { width: 100%; }
.btn.tall { height: 56px; font-weight: 800; }
.btn:disabled { opacity: .5; cursor: default; }
.btn-soft {
  height: 44px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--sf2); color: var(--ink);
  font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none;
}
.btn-danger { background: var(--warnbg); color: var(--warn); }
.btn-sm { height: 40px; padding: 0 14px; font-size: 13px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 14px; border: 0; background: var(--btn); color: var(--btnink);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.icon-btn.round { border-radius: 50%; background: var(--sf2); color: var(--ink); }

.chip {
  flex: none; height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--sf2); color: var(--ink);
  font-size: 13px; font-weight: 700; white-space: nowrap;
}
.chip.on { background: var(--btn); color: var(--btnink); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -18px; padding: 0 18px; }
.chips.scroll::-webkit-scrollbar { display: none; }

.seg { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 4px; padding: 4px; border-radius: 999px; background: var(--sf2); }
.seg button { height: 40px; border: 0; border-radius: 999px; background: transparent; color: var(--ink2); font-size: 14px; font-weight: 700; }
.seg button[aria-pressed="true"] { background: var(--sf); color: var(--ink); box-shadow: var(--shadow); }

.filters { display: flex; gap: 8px; }
.filters button { height: 40px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--sf); color: var(--ink2); font-size: 14px; font-weight: 700; }
.filters button[aria-pressed="true"] { background: var(--btn); color: var(--btnink); }

.switch { flex: none; width: 46px; height: 26px; border-radius: 999px; border: 0; padding: 3px; background: var(--line); display: flex; }
.switch span { width: 20px; height: 20px; border-radius: 50%; background: #FFFFFF; transition: transform .15s; }
.switch[aria-checked="true"] { background: var(--in); }
.switch[aria-checked="true"] span { transform: translateX(20px); }

.field-label { display: block; font-size: 13px; font-weight: 600; color: var(--ink2); }
.input {
  width: 100%; height: 50px; border: 2px solid transparent; border-radius: 16px; background: var(--sf2); color: var(--ink);
  font-size: 16px; font-weight: 600; padding: 0 14px; outline: none; margin-top: 6px;
}
.input:focus { border-color: var(--in); }
.input.error { border-color: var(--warn); background: var(--warnbg); }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink2) 50%), linear-gradient(135deg, var(--ink2) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field-error { font-size: 12px; color: var(--warn); margin-top: 6px; }

/* ---------- Tableau de bord ---------- */
.dash { display: flex; flex-direction: column; gap: 14px; }
.solde-card { display: flex; align-items: center; gap: 12px; background: var(--sf); border-radius: 20px; padding: 14px 14px 14px 18px; }
.solde-card .grow { flex: 1; min-width: 0; }
.solde-card .value { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.solde-card .stamp { font-size: 12px; color: var(--ink2); }

.hero { background: var(--hero); color: var(--heroink); border-radius: 28px; padding: 24px; }
.hero .label { font-size: 14px; font-weight: 600; color: var(--heroink2); }
.hero .big { font-size: 46px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-top: 6px; overflow-wrap: anywhere; }
.hero .tags { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.hero .tags span { height: 30px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--herochip); font-size: 13px; font-weight: 600; }

.alert { display: flex; gap: 12px; align-items: flex-start; background: var(--warnbg); border-radius: 20px; padding: 16px 18px; font-size: 14px; line-height: 1.45; }
.alert .dot { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--warn); color: var(--bg); display: flex; align-items: center; justify-content: center; }
.alert strong { font-weight: 800; color: var(--warn); display: block; }

.epargne { display: flex; align-items: center; gap: 18px; background: var(--sf); border-radius: 24px; padding: 18px 20px; }
.epargne svg { flex: none; }
.epargne .value { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.epargne .note { font-size: 12px; color: var(--ink2); line-height: 1.4; }

.chart-wrap { position: relative; height: 150px; margin-top: 12px; }
.chart-wrap svg { display: block; width: 100%; height: 100%; }
.chart-low { position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--warn); border: 3px solid var(--sf); }
.chart-ticks { display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; color: var(--ink2); margin-top: 6px; padding: 0 2px; }
.low-pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--sf2); font-size: 13px; }
.low-pill i { width: 10px; height: 10px; border-radius: 50%; background: var(--warn); }
.low-pill strong { font-weight: 800; }

.op-list { display: flex; flex-direction: column; }
.op {
  display: flex; align-items: center; gap: 12px; padding: 9px 0; width: 100%; border: 0; background: transparent; text-align: left;
}
.op .date { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--sf2); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.op .date small { font-size: 10px; font-weight: 600; color: var(--ink2); }
.op .date b { font-size: 17px; font-weight: 800; margin-top: 2px; }
.op.in .date { background: var(--insoft); color: var(--in); }
.op.in .date small { color: var(--in); }
.op .txt { flex: 1; min-width: 0; }
.op .txt b { display: block; font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.op .txt small { display: block; font-size: 12px; color: var(--ink2); }
.op .amt { font-size: 15px; font-weight: 800; text-align: right; white-space: nowrap; }
.op-actions { display: flex; gap: 8px; padding: 0 0 12px 58px; flex-wrap: wrap; }
.past-toggle {
  width: 100%; min-height: 48px; margin: 6px 0 8px; display: flex; justify-content: space-between; align-items: center; gap: 8px;
  border: 0; border-radius: 16px; background: var(--sf2); color: var(--ink2); font-size: 13px; font-weight: 600; padding: 0 14px;
}
.past-list .op { opacity: .7; }
.empty-line { font-size: 14px; color: var(--ink2); padding: 12px 0 14px; }

.empty-card { display: flex; flex-direction: column; gap: 14px; padding: 28px 24px; }
.empty-card .ico { width: 56px; height: 56px; border-radius: 18px; background: var(--insoft); color: var(--in); display: flex; align-items: center; justify-content: center; }
.empty-card h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.empty-card p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink2); }
.steps { display: flex; flex-direction: column; gap: 12px; padding: 20px 24px; font-size: 15px; }
.steps div { display: flex; align-items: center; gap: 12px; }
.steps .n { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex: none; }
.steps .done .n, .steps .now .n { background: var(--btn); color: var(--btnink); border-color: var(--btn); }
.steps .later { color: var(--ink2); }

/* ---------- Abonnements ---------- */
.totals { background: var(--hero); color: var(--heroink); border-radius: 28px; padding: 20px 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.totals .label { font-size: 13px; font-weight: 600; color: var(--heroink2); }
.totals .value { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin-top: 2px; }
.totals .foot { grid-column: 1 / -1; font-size: 12px; color: var(--heroink2); }
.rec-list { background: var(--sf); border-radius: 24px; padding: 6px 14px; }
.rec { border-bottom: 1px solid var(--line); }
.rec:last-child { border-bottom: 0; }
.rec.off .rec-main > button:first-child { opacity: .55; }
.rec-main { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.rec-main > button:first-child { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; border: 0; background: transparent; text-align: left; padding: 0; }
.avatar { flex: none; width: 42px; height: 42px; border-radius: 14px; background: var(--sf2); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; }
.avatar.in { background: var(--insoft); color: var(--in); }
.rec .txt { flex: 1; min-width: 0; }
.rec .txt b { display: block; font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rec .txt small { display: block; font-size: 12px; color: var(--ink2); }
.rec .amt { font-size: 15px; font-weight: 800; white-space: nowrap; }
.rec .op-actions { padding-left: 54px; }

/* ---------- Réglages ---------- */
.set-title { font-size: 15px; font-weight: 800; }
.set-sub { font-size: 13px; color: var(--ink2); margin-top: 2px; line-height: 1.45; }
.stepper { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.stepper button { width: 48px; height: 48px; border-radius: 16px; border: 0; background: var(--sf2); font-size: 22px; font-weight: 700; }
.stepper output { flex: 1; text-align: center; font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.money-input { display: flex; align-items: center; gap: 6px; margin-top: 6px; height: 52px; padding: 0 16px; border-radius: 16px; background: var(--sf2); border: 2px solid transparent; }
.money-input:focus-within { border-color: var(--in); }
.money-input input { flex: 1; min-width: 0; height: 48px; border: 0; background: transparent; font-size: 20px; font-weight: 800; padding: 0; outline: none; }
.money-input span { font-weight: 700; color: var(--ink2); }
.set-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 600; }
.set-row:last-child { border-bottom: 0; }
.set-link { width: 100%; border: 0; background: transparent; padding: 0; text-align: left; font-size: 15px; font-weight: 700; text-decoration: none; }
.set-link.danger { color: var(--warn); }

/* ---------- Écrans plein (connexion, bienvenue) ---------- */
.full { min-height: 100dvh; max-width: 440px; margin: 0 auto; padding: 20px 20px calc(20px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; }
.full .push { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding-top: 24px; }
.brand { width: 72px; height: 72px; border-radius: 24px; background: var(--hero); color: var(--heroink); display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 800; }
.login-head { margin-top: 72px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.login-head h1 { margin: 20px 0 0; font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.login-head p { margin: 8px 0 0; font-size: 15px; color: var(--ink2); }
.login-form { margin-top: 40px; background: var(--sf); border-radius: 24px; padding: 8px 18px; display: flex; flex-direction: column; }
.login-form label { font-size: 13px; font-weight: 600; color: var(--ink2); padding-top: 12px; }
.login-form input { height: 46px; border: 0; background: transparent; font-size: 17px; font-weight: 600; padding: 0; outline: none; min-width: 0; }
.login-form .u { border-bottom: 1px solid var(--line); }
.pw-row { display: flex; align-items: center; }
.pw-row input { flex: 1; }
.check { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 0 6px; font-size: 14px; font-weight: 600; min-height: 44px; }
.check input { width: 20px; height: 20px; accent-color: var(--in); margin: 0; }
.form-error { margin-top: 12px; padding: 12px 16px; border-radius: 16px; background: var(--warnbg); color: var(--warn); font-size: 14px; font-weight: 600; }
.foot-note { text-align: center; font-size: 12px; color: var(--ink2); }

.progress { display: flex; gap: 6px; }
.progress span { width: 8px; height: 8px; border-radius: 999px; background: var(--line); }
.progress span.on { width: 28px; background: var(--btn); }
.welcome-top { display: flex; justify-content: space-between; align-items: center; height: 44px; }
.link-quiet { font-size: 14px; font-weight: 600; color: var(--ink2); text-decoration: none; padding: 12px 4px; border: 0; background: transparent; }
.welcome-ico { margin-top: 32px; width: 64px; height: 64px; border-radius: 22px; background: var(--insoft); color: var(--in); display: flex; align-items: center; justify-content: center; }
.full h1.welcome { margin: 20px 0 0; font-size: 30px; line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
.full p.lead { margin: 12px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink2); }
.big-money { margin-top: 28px; background: var(--sf); border-radius: 24px; padding: 18px 20px; }
.big-money .row { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; }
.big-money input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 44px; font-weight: 800; letter-spacing: -0.02em; padding: 0; outline: none; font-variant-numeric: tabular-nums; }
.big-money .cur { font-size: 28px; font-weight: 800; color: var(--ink2); }
.hint { display: inline-flex; height: 32px; padding: 0 12px; align-items: center; border-radius: 999px; background: var(--sf2); font-size: 13px; color: var(--ink2); margin-top: 12px; align-self: flex-start; }
.next-step { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 20px; border: 1.5px dashed var(--line); font-size: 14px; color: var(--ink2); }
.next-step .n { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex: none; }

/* ---------- Feuilles (modales) ---------- */
.scrim { position: fixed; inset: 0; z-index: 30; background: var(--scrim); display: flex; align-items: flex-end; justify-content: center; animation: fade .15s ease-out; }
.sheet {
  width: 100%; max-width: 520px; max-height: calc(100dvh - 40px); overflow-y: auto; background: var(--sf); border-radius: 28px 28px 0 0;
  padding: 10px 18px calc(22px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; animation: up .2s ease-out;
}
.sheet.tall { height: min(790px, calc(100dvh - 40px)); }
.grabber { width: 40px; height: 5px; border-radius: 999px; background: var(--line); margin: 0 auto; flex: none; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; gap: 12px; }
.sheet-head h2 { margin: 0; font-size: 18px; font-weight: 800; }
.sheet-body { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; }
.amount-display { font-size: 54px; font-weight: 800; letter-spacing: -0.03em; text-align: center; padding: 20px 0 14px; overflow-wrap: anywhere; }
.keypad { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: auto; padding-top: 14px; }
.keypad button { height: 54px; border: 0; border-radius: 18px; background: var(--sf2); font-size: 22px; font-weight: 700; }
.keypad button:active { background: var(--line); }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@keyframes up { from { transform: translateY(24px); opacity: .6; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.toast {
  position: fixed; left: 50%; bottom: calc(100px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 50;
  background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 999px; font-size: 14px; font-weight: 700;
  max-width: calc(100% - 32px); box-shadow: 0 6px 20px rgba(0,0,0,.2); animation: up .2s ease-out;
}
.toast.err { background: var(--warn); color: var(--bg); }

.loading { min-height: 100dvh; display: flex; align-items: center; justify-content: center; color: var(--ink2); }

/* ---------- Ordinateur ---------- */
@media (min-width: 960px) {
  .shell { display: flex; gap: 24px; max-width: 1400px; margin: 0 auto; padding: 24px; align-items: flex-start; }
  .sidebar {
    display: flex; flex-direction: column; gap: 6px; position: sticky; top: 24px;
    width: 250px; flex: none; background: var(--sf); border-radius: 28px; padding: 20px 14px;
  }
  .sidebar .logo { display: flex; align-items: center; gap: 10px; padding: 0 8px 16px; font-size: 16px; font-weight: 800; }
  .sidebar .logo span { width: 40px; height: 40px; border-radius: 14px; background: var(--hero); color: var(--heroink); display: flex; align-items: center; justify-content: center; font-size: 18px; }
  .side-link { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border-radius: 16px; text-decoration: none; font-size: 15px; font-weight: 600; color: var(--ink2); }
  .side-link[aria-current="page"] { background: var(--sf2); color: var(--ink); font-weight: 800; }
  .sidebar .btn { margin-top: 16px; height: 50px; font-size: 15px; font-weight: 800; }
  .bottom-nav { display: none; }
  .main { flex: 1; min-width: 0; max-width: none; margin: 0; padding: 0; }
  .main.narrow { max-width: 720px; }

  .dash { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
  .dash > * { grid-column: 1 / -1; }
  .dash .hero, .dash .epargne { grid-column: auto; }
  .dash .hero { padding: 24px; }
  .dash .hero .big { font-size: 48px; }
  .dash .epargne { border-radius: 28px; padding: 24px; }
  .dash .epargne svg { width: 104px; height: 104px; }
  .dash .epargne .value { font-size: 32px; }
  .dash .chart-card { grid-column: 1 / 2; border-radius: 28px; padding: 22px; }
  .dash .upcoming { grid-column: 2 / 3; border-radius: 28px; }
  .dash { grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); }
  .dash .chart-wrap { height: 280px; }
  .dash .solde-card { display: none; }
  .desk-head { display: flex !important; }
  .dash .mobile-head { display: none; }
  .dash .chart-card h2, .dash .upcoming h2 { font-size: 18px; }
  .scrim { align-items: center; }
  .sheet { border-radius: 28px; padding-bottom: 22px; }
  .toast { bottom: 32px; }
}
.desk-head { display: none; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 4px 4px 0; }
.desk-head h1 { margin: 2px 0 0; font-size: 32px; font-weight: 800; letter-spacing: -0.02em; }
.desk-solde { display: flex; align-items: center; gap: 12px; background: var(--sf); border-radius: 999px; padding: 6px 6px 6px 18px; }
.desk-solde span { font-size: 13px; color: var(--ink2); }
.desk-solde strong { font-size: 17px; font-weight: 800; }
.desk-solde .btn-soft { height: 38px; font-size: 13px; }
