/* Foyer — budget partagé. Palette et composants repris du design system Nocturne. */

@font-face {
  font-family: 'Inter';
  src: url('/static/fonts/inter-latin.woff2') format('woff2');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #161826;
  --surface: #232532;
  --surface-2: #1c1f30;
  --hairline: #2f3240;
  --edge: #3f424d;

  --text: #e9e9ed;
  --text-bright: #cfd3e5;
  --muted: #9397ab;
  --dim: #75798c;
  --ghost: #4a4d5e;

  --accent: #9184d9;
  --accent-200: #e7e5fe;
  --accent-300: #d2cefd;
  --accent-400: #b5abfc;
  --accent-700: #5d5294;
  --accent-900: #2b2741;

  --neutral-400: #b2b6ca;

  --top: max(env(safe-area-inset-top), 14px);
  --bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { background: var(--bg); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  overscroll-behavior-y: none;
}

.hidden { display: none !important; }
.ic { width: 1em; height: 1em; fill: currentColor; display: block; flex: none; }

/* ══════════ Structure ══════════ */

#screen {
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--top) + 10px) 0 calc(128px + var(--bottom));
  max-width: 560px;
  margin: 0 auto;
}
.pad { padding: 0 20px; }

/* ══════════ En-têtes de page ══════════ */

.kicker {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.page-title {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.page-sub { font-size: 12px; color: var(--dim); margin-top: 6px; text-wrap: pretty; }
.page-head { margin-bottom: 18px; }

.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.round-btn {
  width: 38px; height: 38px; flex: none;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--edge);
  display: grid; place-items: center;
  cursor: pointer;
  font-size: 17px;
  color: var(--neutral-400);
  border: 0;
}
.round-btn.sm {
  width: 32px; height: 32px; font-size: 15px;
  box-shadow: none;
}

/* Navigation entre les mois, greffée sur le titre de l'écran d'accueil */
.month-row { display: flex; align-items: center; gap: 2px; margin-left: -6px; }
.month-step {
  width: 26px; height: 26px; flex: none;
  display: grid; place-items: center;
  background: none; border: 0; padding: 0;
  color: var(--dim); font-size: 13px; cursor: pointer;
}
.month-step:disabled { opacity: 0.3; cursor: default; }
.month-row .page-title { cursor: pointer; white-space: nowrap; }
/* Avec la pastille « Ce mois-ci », un mois long (« Novembre 2026 ») déborde :
   on resserre le titre juste dans ce cas. */
.month-row.compact .page-title { font-size: 21px; }
.month-row.compact .month-step { width: 22px; }
.today-pill {
  font-size: 10px; color: var(--accent); background: var(--accent-900);
  border: 0; border-radius: 99px; padding: 3px 9px; margin-left: 6px; cursor: pointer;
  white-space: nowrap; flex: none;
}

/* ══════════ Carte d'en-tête du mois ══════════ */

.hero {
  background: linear-gradient(155deg, #252840, #1e2030);
  border-radius: 14px;
  box-shadow: 0 0 0 1px var(--edge);
  padding: 18px;
  margin-bottom: 14px;
}
.hero-top {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 16px; gap: 12px;
}
.hero-label { font-size: 11px; color: var(--muted); margin-bottom: 5px; }
.hero-total { font-size: 34px; font-weight: 500; line-height: 1; letter-spacing: -0.03em; }
.hero-rule { font-size: 12px; color: var(--accent-400); }

.stack {
  display: flex; height: 8px; border-radius: 99px;
  overflow: hidden; background: var(--bg); margin-bottom: 10px;
}
.stack > span { height: 8px; }
.legend { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.legend-item { display: flex; align-items: center; gap: 7px; }
.legend-item .dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.legend-name { font-size: 12px; color: var(--text-bright); white-space: nowrap; }
.legend-pct { font-size: 12px; color: var(--dim); }

/* ══════════ Cartes ══════════ */

.card {
  background: var(--surface);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 14px;
  box-shadow: 0 0 0 1px var(--hairline);
}
.card.tap { cursor: pointer; }
.card.tap:active { box-shadow: 0 0 0 1px var(--accent-700); }
.card-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 12px;
}
.eyebrow {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.settle { font-size: 19px; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; margin-bottom: 14px; }

.avatar {
  border-radius: 50%; flex: none; display: grid; place-items: center;
  font-weight: 600; color: var(--bg);
  width: 30px; height: 30px; font-size: 12px;
}
.avatar.lg { width: 40px; height: 40px; font-size: 15px; }

.person { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.person-main { flex: 1; min-width: 0; }
.person-name { display: block; font-size: 13px; color: var(--text); }
.person-meta { display: block; font-size: 11px; color: var(--dim); }
.person-balance { font-size: 14px; font-weight: 500; text-align: right; white-space: nowrap; }

/* ══════════ Tuiles ══════════ */

.tiles { display: flex; gap: 10px; margin-bottom: 20px; }
.tile {
  flex: 1; background: var(--surface); border-radius: 12px; padding: 14px;
  box-shadow: 0 0 0 1px var(--hairline); border: 0; color: inherit;
  text-align: left; font: inherit;
}
.tile.tap { cursor: pointer; }
.tile.tap:active { box-shadow: 0 0 0 1px var(--accent-700); }
.tile .ic { font-size: 17px; }
.tile-value { font-size: 19px; font-weight: 500; margin-top: 8px; letter-spacing: -0.01em; }
.tile-label { font-size: 11px; color: var(--dim); margin-top: 2px; }

/* ══════════ Objectif ══════════ */

.goal-name { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.goal-name .ic { font-size: 16px; color: var(--accent); }
.goal-eta { font-size: 11px; color: var(--dim); }
.goal-track { height: 6px; border-radius: 99px; background: var(--bg); overflow: hidden; margin-bottom: 9px; }
.goal-fill { height: 6px; background: linear-gradient(90deg, var(--accent-700), var(--accent-400)); }
.goal-foot { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; color: var(--muted); }

/* ══════════ Listes de dépenses ══════════ */

.list-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px; gap: 10px;
}
.link { font-size: 12px; color: var(--accent); cursor: pointer; background: none; border: 0; padding: 0; font-family: inherit; }

.item {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 11px 0; border: 0; border-bottom: 1px solid var(--surface);
  background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.item-icon {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  display: grid; place-items: center;
  background: var(--surface); color: var(--accent-400); font-size: 16px;
}
.item-main { flex: 1; min-width: 0; }
.item-label { display: block; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item-meta { display: block; font-size: 11px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item-right { text-align: right; flex: none; }
.item-amount { display: block; font-size: 13.5px; font-weight: 500; }
.item-share { display: block; font-size: 10.5px; color: var(--dim); }

/* ══════════ Répartition ══════════ */

.mode-row { display: flex; gap: 8px; margin-bottom: 16px; }
.mode {
  flex: 1; padding: 12px; border-radius: 11px; cursor: pointer; border: 0;
  background: transparent; box-shadow: inset 0 0 0 1px var(--hairline);
  text-align: left; font: inherit; color: var(--text-bright);
}
.mode.on { background: var(--accent-900); box-shadow: inset 0 0 0 1px var(--accent-700); color: var(--accent-300); }
.mode-title { font-size: 13px; font-weight: 500; }
.mode-sub { font-size: 11px; color: var(--dim); margin-top: 3px; }

.rav {
  background: var(--surface); border-radius: 12px; padding: 14px 16px;
  margin-bottom: 16px; box-shadow: 0 0 0 1px var(--hairline);
}
.rav-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; gap: 10px; }
.rav-label { font-size: 12px; color: var(--text-bright); }
.rav-value { font-size: 15px; font-weight: 500; color: var(--accent-400); }
.rav-note { font-size: 11px; color: var(--dim); margin-top: 6px; text-wrap: pretty; }

input[type=range] {
  width: 100%; accent-color: var(--accent); background: transparent;
  height: 28px; margin: 0;
}

.donut-wrap { display: flex; justify-content: center; margin: 6px 0 18px; }
.donut {
  position: relative; width: 168px; height: 168px; border-radius: 50%;
  display: grid; place-items: center;
}
.donut-hole {
  width: 112px; height: 112px; border-radius: 50%; background: var(--bg);
  display: grid; place-items: center; text-align: center;
}
.donut-cap { font-size: 10px; color: var(--dim); letter-spacing: 0.08em; text-transform: uppercase; }
.donut-total { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; margin-top: 3px; }

.split-card {
  background: var(--surface); border-radius: 12px; padding: 14px 16px;
  margin-bottom: 10px; box-shadow: 0 0 0 1px var(--hairline);
}
.split-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.split-name { font-size: 14px; font-weight: 500; }
.split-income { font-size: 11px; color: var(--dim); }
.split-pct { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.split-cols { display: flex; gap: 12px; font-size: 11px; }
.split-cols > div { min-width: 0; }
.split-val { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.split-cols > div { flex: 1; }
.split-cap { color: var(--dim); margin-bottom: 2px; }
.split-val { font-size: 14px; color: var(--text); font-weight: 500; }

.note {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 14px 16px; border-radius: 12px; background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--hairline); margin-top: 6px;
}
.note .ic { font-size: 15px; color: var(--accent); margin-top: 1px; }
.note-text { font-size: 11.5px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }

/* ══════════ Charges fixes ══════════ */

.rec {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 13px 14px; border-radius: 12px; background: var(--surface);
  margin-bottom: 8px; box-shadow: 0 0 0 1px var(--hairline);
  border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.rec-icon {
  width: 36px; height: 36px; border-radius: 10px; flex: none;
  display: grid; place-items: center; background: var(--bg); font-size: 17px;
  color: var(--neutral-400);
}
.rec-name { display: block; font-size: 13.5px; font-weight: 500; }
.rec-meta { display: block; font-size: 11px; color: var(--dim); }
.rec-amount { font-size: 14px; font-weight: 500; }
.rec-split { display: block; font-size: 10.5px; color: var(--dim); }

.next {
  margin-top: 14px; padding: 14px 16px; border-radius: 12px;
  background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--hairline);
}
.next-icon {
  width: 42px; height: 42px; border-radius: 10px; background: var(--accent-900);
  display: grid; place-items: center; color: var(--accent-400); font-size: 19px; flex: none;
}

.btn-block {
  width: 100%; height: 42px; border-radius: 11px; cursor: pointer;
  background: transparent; color: var(--text);
  border: 1px solid var(--hairline);
  font-family: inherit; font-size: 14px; font-weight: 500;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.btn-block:active { background: rgba(233, 233, 237, 0.07); }
.btn-block.primary { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.btn-block.danger { color: #f2a8a8; border-color: transparent; }

/* ══════════ Historique ══════════ */

.chips { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 14px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; padding: 6px 12px; border-radius: 99px; font-size: 12px; cursor: pointer;
  color: var(--muted); background: transparent; box-shadow: inset 0 0 0 1px var(--hairline);
  border: 0; font-family: inherit; display: flex; align-items: center; gap: 6px;
}
.chip.on { color: var(--accent-300); background: var(--accent-900); box-shadow: inset 0 0 0 1px var(--accent-700); }

.cat-row { display: flex; align-items: center; gap: 12px; margin-bottom: 11px; }
.cat-icon { width: 26px; color: var(--accent-400); font-size: 15px; }
.cat-main { flex: 1; }
.cat-top { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 5px; gap: 10px; }
.cat-name { color: var(--text-bright); }
.cat-amount { color: var(--muted); }
.cat-track { height: 5px; border-radius: 99px; background: var(--surface); overflow: hidden; }
.cat-fill { height: 5px; background: var(--accent-700); }

.rule-fade {
  height: 1px; border: 0; margin: 18px 0 6px;
  background: linear-gradient(to right, transparent, var(--hairline) 20px,
              var(--hairline) calc(100% - 20px), transparent);
}

/* ══════════ Foyer ══════════ */

.profile {
  background: var(--surface); border-radius: 14px; padding: 16px;
  margin-bottom: 10px; box-shadow: 0 0 0 1px var(--hairline);
}
.profile-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.profile-name { font-size: 15px; font-weight: 500; }
.profile-role { font-size: 11px; color: var(--dim); }
.badge {
  font-size: 11px; padding: 3px 9px; border-radius: 6px;
  background: var(--accent-900); color: var(--accent-300); flex: none;
}

/* Les textes longs se coupent plutôt que de bousculer les badges voisins. */
.profile-name, .profile-role, .setting-value {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.setting-value { max-width: 45%; }
.profile-top > span[data-act] { min-width: 0; }

.stepper { display: flex; align-items: center; gap: 10px; }
.step-btn {
  width: 36px; height: 36px; border-radius: 9px; background: var(--bg);
  display: grid; place-items: center; cursor: pointer; color: var(--neutral-400);
  font-size: 15px; border: 0; flex: none;
}
.step-btn:active { color: var(--accent-400); }
.step-mid { flex: 1; text-align: center; cursor: pointer; }
.step-cap { font-size: 10px; color: var(--dim); letter-spacing: 0.06em; text-transform: uppercase; }
.step-value { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; margin-top: 2px; }

.setting-row {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 13px 0; border: 0; border-bottom: 1px solid var(--surface);
  background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.setting-row .ic { font-size: 16px; color: var(--neutral-400); width: 20px; }
.setting-label { flex: 1; font-size: 13px; }
.setting-value { font-size: 12px; color: var(--accent); }

/* ══════════ Barre d'onglets et bouton d'ajout ══════════ */

nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  height: calc(88px + var(--bottom));
  padding: 10px 12px var(--bottom);
  background: linear-gradient(to top, var(--bg) 62%, rgba(22, 24, 38, 0));
  box-shadow: 0 -1px 0 var(--surface);
  display: flex; align-items: flex-start; justify-content: space-around;
  max-width: 560px; margin: 0 auto;
}
nav button {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
  cursor: pointer; padding-top: 6px; color: var(--dim);
  background: none; border: 0; font-family: inherit;
}
nav button .ic { font-size: 21px; }
nav button span { font-size: 9.5px; letter-spacing: 0.02em; }
nav button.on { color: var(--accent); }
nav .spacer { visibility: hidden; pointer-events: none; }

.fab {
  position: fixed; left: 50%; bottom: calc(52px + var(--bottom));
  transform: translateX(-50%);
  width: 56px; height: 56px; border-radius: 50%; z-index: 31;
  background: var(--accent); color: var(--bg); border: 0;
  display: grid; place-items: center; font-size: 26px; cursor: pointer;
  box-shadow: 0 8px 24px rgba(145, 132, 217, 0.35);
}
.fab:active { background: var(--accent-400); }

/* ══════════ Feuille du bas ══════════ */

.sheet-backdrop {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(15, 17, 28, 0.66);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.sheet {
  background: var(--surface-2);
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -1px 0 var(--edge);
  padding: 12px 20px calc(20px + var(--bottom));
  max-height: 92vh; overflow-y: auto;
  max-width: 560px; width: 100%; margin: 0 auto;
  animation: rise 0.2s ease-out;
}
@keyframes rise { from { transform: translateY(24px); } }
.grabber { width: 38px; height: 4px; border-radius: 99px; background: var(--edge); margin: 0 auto 12px; }
.sheet-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px; gap: 10px;
}
.sheet-bar button { background: none; border: 0; font-family: inherit; cursor: pointer; padding: 4px 0; }
.sheet-cancel { font-size: 13px; color: var(--muted); }
.sheet-title { font-size: 14px; font-weight: 500; color: var(--text); }
.sheet-ok { font-size: 13px; color: var(--accent); font-weight: 500; }
.sheet-ok:disabled { color: var(--ghost); }

.amount-display { text-align: center; margin-bottom: 4px; }
.amount-value { font-size: 38px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.amount-note { font-size: 11px; color: var(--dim); margin-top: 4px; }

.field-cap {
  font-size: 10px; color: var(--dim); letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 6px;
}
.picker-row { display: flex; gap: 8px; margin-bottom: 10px; }
.picker-row > div { flex: 1; min-width: 0; }
.opt-row { display: flex; gap: 6px; }
.opt {
  flex: 1; text-align: center; padding: 8px 4px; border-radius: 9px;
  font-size: 12px; cursor: pointer; border: 0; font-family: inherit;
  color: var(--muted); background: transparent; box-shadow: inset 0 0 0 1px var(--hairline);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.opt.on { color: var(--accent-300); background: var(--accent-900); box-shadow: inset 0 0 0 1px var(--accent-700); }

.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.key {
  height: 42px; border-radius: 11px; background: var(--surface);
  display: grid; place-items: center; font-size: 19px; font-weight: 500;
  cursor: pointer; color: var(--text); border: 0; font-family: inherit;
}
.key:active { background: #2c2f3f; }

/* Champs de saisie des feuilles secondaires */
.field { margin-bottom: 12px; }
.field > label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 5px; }
.input {
  width: 100%; min-height: 42px; padding: 9px 12px;
  font-family: inherit; font-size: 15px; color: var(--text);
  caret-color: var(--accent);
  background: var(--surface); border: 1px solid var(--hairline); border-radius: 10px;
}
.input:focus-visible { outline: none; border-color: var(--accent); }
select.input { -webkit-appearance: none; appearance: none; }

/* ══════════ Divers ══════════ */

.toast {
  position: fixed; left: 20px; right: 20px; bottom: calc(104px + var(--bottom));
  z-index: 80; max-width: 520px; margin: 0 auto;
  background: var(--accent-900); box-shadow: 0 0 0 1px var(--accent-700);
  border-radius: 11px; padding: 12px 14px;
  display: flex; align-items: center; gap: 10px;
  animation: rise 0.18s ease-out;
}
.toast .ic { color: var(--accent-400); font-size: 17px; }
.toast span { font-size: 12.5px; color: var(--accent-200); }

.empty {
  text-align: center; padding: 26px 10px; color: var(--dim);
  font-size: 13px; text-wrap: pretty;
}
.empty .ic { font-size: 30px; color: var(--edge); margin: 0 auto 10px; }

/* ══════════ Connexion ══════════ */

#login {
  position: fixed; inset: 0; z-index: 90; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 24px;
}
#login .box { width: 100%; max-width: 320px; text-align: center; }
#login .ic { font-size: 44px; color: var(--accent); margin: 0 auto 14px; }
#login h1 { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; margin: 0 0 6px; }
#login p { font-size: 13px; color: var(--dim); margin: 0 0 22px; }
.error { color: #f2a8a8; font-size: 12.5px; min-height: 18px; margin: 10px 0 0; }

/* ══════════ Engagements personnels ══════════ */

.eng { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--bg); }
.eng-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 6px;
}
.eng-cap {
  font-size: 10px; color: var(--dim);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.eng-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; padding: 8px 0; border: 0; background: none;
  color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.eng-row + .eng-row { border-top: 1px solid var(--bg); }
.eng-label {
  font-size: 13px; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.eng-amount { font-size: 13px; color: var(--neutral-400); white-space: nowrap; }
.eng-net {
  display: flex; justify-content: space-between; gap: 10px;
  margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--bg);
  font-size: 12px; color: var(--accent-400);
}
.eng-empty { font-size: 11.5px; color: var(--dim); line-height: 1.5; text-wrap: pretty; }

/* Trois tuiles tiennent encore sur la largeur d'un téléphone */
.tiles .tile { min-width: 0; }
.tiles .tile-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Sous-titre de section dans l'écran Charges */
.sec-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 10px; margin: 22px 0 8px;
}
.sec-total { font-size: 11px; color: var(--dim); white-space: nowrap; }

/* Échéance d'un engagement ou d'une charge à terme */
.eng-term { display: block; font-size: 10.5px; color: var(--dim); margin-top: 1px; }
.eng-term.last { color: var(--accent-400); }
input[type=month] { min-height: 42px; }
