:root {
  font-family: "Segoe UI", Arial, sans-serif;
  color: #2d3b3a;
  background: #f4efe5;
  font-synthesis: none;
  --paper: #f4efe5;
  --paper-bright: #fffdf8;
  --paper-warm: #faf5ea;
  --paper-deep: #e9dfcf;
  --ink: #2d3b3a;
  --ink-soft: #6c7770;
  --ink-muted: #9a9b8d;
  --forest: #2f5b52;
  --forest-deep: #21473f;
  --sage: #7b9f8a;
  --coral: #d88768;
  --butter: #e7b957;
  --sky: #79a7bb;
  --lavender: #9b83bd;
  --recurring: #57947d;
  --income: #5d9eb7;
  --credit: #cc8a3a;
  --saving: #9275b9;
  --danger: #b9655b;
  --line: #dfd6c6;
  --line-light: #eee7da;
  --shadow-soft: 0 12px 30px rgba(89, 72, 48, .08), 0 2px 5px rgba(89, 72, 48, .05);
  --shadow-lifted: 0 18px 36px rgba(89, 72, 48, .12), 0 3px 7px rgba(89, 72, 48, .07);
  --radius: 14px;
  --radius-small: 9px;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--paper); }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(216, 135, 104, .15), transparent 22rem),
    radial-gradient(circle at 93% 22%, rgba(123, 159, 138, .13), transparent 26rem),
    radial-gradient(circle at 54% 88%, rgba(231, 185, 87, .08), transparent 27rem),
    var(--paper);
}
button, input, select { font: inherit; }
button { cursor: pointer; }
button, input, select { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid rgba(93, 158, 183, .34);
  outline-offset: 3px;
}

.app-shell {
  position: relative;
  max-width: 1400px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 30px 42px 90px;
  overflow: hidden;
}
.app-shell::before,
.app-shell::after {
  position: absolute;
  z-index: 0;
  color: rgba(87, 148, 125, .33);
  font-family: Georgia, serif;
  pointer-events: none;
}
.app-shell::before {
  top: 16px;
  right: 2px;
  content: "❧";
  font-size: 76px;
  transform: rotate(12deg);
}
.app-shell::after {
  bottom: 55px;
  left: -8px;
  content: "✿";
  color: rgba(216, 135, 104, .3);
  font-size: 57px;
  transform: rotate(-13deg);
}
.topbar, main { position: relative; z-index: 1; }
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 4px 25px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid #e9b49b;
  border-radius: 44% 56% 50% 50%;
  background: #f9d9ca;
  color: #bd6b54;
  font-family: Georgia, serif;
  font-size: 0;
  line-height: 1;
  transform: rotate(-7deg);
}
.brand-mark::before { content: "✿"; font-size: 24px; transform: rotate(7deg); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--forest-deep); letter-spacing: -.035em; }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: 29px; line-height: 1; }
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 500;
  line-height: 1.04;
}
h3 { font-size: 18px; line-height: 1.2; }
.eyebrow {
  color: var(--coral);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .2em;
  line-height: 1.2;
  text-transform: uppercase;
}
.muted, .today-label { color: var(--ink-soft); font-size: 14px; }
.today-label { white-space: nowrap; }

.tabs {
  display: flex;
  gap: 8px;
  width: 100%;
  padding: 6px;
  margin-bottom: 34px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 248, .68);
  box-shadow: 0 4px 12px rgba(89, 72, 48, .04);
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab-button {
  position: relative;
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 17px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}
.tab-button:hover { color: var(--forest); background: #f3ecdf; transform: translateY(-1px); }
.tab-button.is-active { color: var(--forest-deep); background: #e6eee4; box-shadow: inset 0 0 0 1px #cbdcca; }
.tab-button.is-active::before { content: "✿"; margin-right: 6px; color: var(--coral); font-family: Georgia, serif; }
.tab-panel { position: relative; animation: appear .24s ease-out; }
.tab-panel::before {
  position: absolute;
  top: -15px;
  right: 3px;
  color: rgba(123, 159, 138, .38);
  content: "❋";
  font-family: Georgia, serif;
  font-size: 25px;
  pointer-events: none;
}
@keyframes appear { from { opacity: .5; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin: 0 0 25px;
}
.section-heading > div p:last-child { max-width: 58ch; margin-top: 10px; line-height: 1.5; }
.calendar-heading { align-items: flex-end; }
.month-controls { display: flex; align-items: center; gap: 9px; }
.month-picker input { min-width: 158px; }
.icon-button, .close-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper-bright);
  color: var(--forest-deep);
  font-size: 22px;
  line-height: 1;
  box-shadow: 0 3px 8px rgba(89, 72, 48, .06);
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.icon-button:hover, .close-button:hover { border-color: #b5c8b9; background: #e8f0e6; transform: translateY(-1px) rotate(-3deg); }

.primary-button, .secondary-button {
  min-height: 45px;
  border-radius: 12px;
  padding: 11px 17px;
  font-size: 13px;
  font-weight: 800;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.primary-button { border: 1px solid var(--forest-deep); background: var(--forest); color: #fffdf8; box-shadow: 0 5px 12px rgba(47, 91, 82, .15); }
.primary-button:hover { background: var(--forest-deep); box-shadow: 0 8px 17px rgba(47, 91, 82, .2); transform: translateY(-2px); }
.secondary-button { border: 1px solid var(--line); background: #fffaf1; color: var(--forest-deep); }
.secondary-button:hover { border-color: #b5c8b9; background: #eaf1e8; transform: translateY(-1px); }
.primary-button span { margin-right: 5px; font-size: 18px; vertical-align: -1px; }

.calendar-summary {
  display: grid;
  grid-template-columns: 1.18fr 1.18fr .92fr .92fr;
  gap: 10px;
  margin: 0 0 18px;
}
.summary-chip {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 80px;
  gap: 8px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: rgba(255, 253, 248, .8);
  color: var(--ink-soft);
  font-size: 12px;
  box-shadow: var(--shadow-soft);
}
.summary-chip strong { color: var(--ink); font-size: 14px; }
.summary-chip.metric { align-items: flex-start; flex-direction: column; justify-content: center; gap: 5px; overflow: hidden; }
.summary-chip.metric::before { position: absolute; top: 13px; bottom: 13px; left: 0; width: 4px; border-radius: 0 4px 4px 0; background: var(--sage); content: ""; }
.summary-chip.metric:nth-child(2)::before { background: var(--coral); }
.summary-chip.metric span { font-weight: 750; }
.summary-chip.metric strong { color: var(--forest); font-size: 24px; letter-spacing: -.045em; }
.summary-chip.metric:nth-child(2) strong { color: #bd6b25; }
.summary-chip.metric.is-negative strong { color: var(--danger); }
.summary-chip.compact { align-self: stretch; justify-content: flex-start; }
.summary-chip.compact::before { position: absolute; top: 18px; bottom: 18px; left: 0; width: 3px; border-radius: 0 4px 4px 0; background: var(--sky); content: ""; }
.summary-chip.compact:nth-child(4)::before { background: var(--butter); }
.summary-chip.compact strong { color: var(--forest-deep); font-size: 20px; letter-spacing: -.045em; }
.summary-chip.compact small { color: var(--ink-soft); font-size: 11px; font-weight: 700; }
.legend { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 15px 2px; color: var(--ink-soft); font-size: 12px; }
.legend span { display: flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid transparent; border-radius: 999px; background: #faf6ed; }
.legend span:has(.recurring-dot) { border-color: #c5dfca; background: #eaf4e9; }
.legend span:has(.income-dot) { border-color: #bfdbe2; background: #e9f4f5; }
.legend span:has(.credit-dot) { border-color: #eed1a0; background: #fbf0dc; }
.legend span:has(.saving-dot) { border-color: #d8c9ec; background: #f1ebfa; }
.legend-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255, 255, 255, .7); }
.recurring-dot { background: var(--recurring); }
.income-dot { background: var(--income); }
.credit-dot { background: var(--credit); }
.saving-dot { background: var(--saving); }

.calendar-wrap { position: relative; overflow: hidden; border: 1px solid #cfc9bb; border-radius: 18px; background: var(--paper-bright); box-shadow: var(--shadow-lifted); }
.calendar-wrap::after { position: absolute; top: 46px; right: 18px; z-index: 2; color: rgba(255, 239, 202, .72); content: "✿"; font-family: Georgia, serif; font-size: 23px; pointer-events: none; transform: rotate(12deg); }
.weekday-row, .calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.weekday-row { background: linear-gradient(90deg, #214f47 0%, #2f6659 48%, #7b6250 100%); color: #fff8e9; font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.weekday-row span { padding: 13px 10px; }
.day-cell { min-height: 135px; padding: 11px 10px; border-right: 1px solid rgba(174, 167, 150, .34); border-top: 1px solid rgba(174, 167, 150, .34); background: #fffdf9; transition: background .18s ease, box-shadow .18s ease; }
.day-cell:nth-child(7n + 1) { background: #fffaf4; }
.day-cell:nth-child(7n + 2) { background: #fffdf9; }
.day-cell:nth-child(7n + 3) { background: #fbfcf4; }
.day-cell:nth-child(7n + 4) { background: #f9fcfb; }
.day-cell:nth-child(7n + 5) { background: #fdfbf8; }
.day-cell:nth-child(7n + 6) { background: #fbf9fd; }
.day-cell:nth-child(7n) { background: #fdf9f4; }
.day-cell:nth-child(7n) { border-right: 0; }
.day-cell.is-other-month { background: #faf5eb; color: #b7b7a9; }
.day-cell:has(.event):hover { background: #fff6e8; box-shadow: inset 0 0 0 2px rgba(216, 135, 104, .2); }
.day-cell.is-today { background: #edf5eb; box-shadow: inset 0 4px 0 var(--coral), inset 0 0 0 1px rgba(216, 135, 104, .18); }
.day-number { display: flex; align-items: center; justify-content: space-between; min-height: 22px; margin-bottom: 9px; color: var(--ink-soft); font-size: 12px; font-weight: 850; }
.day-number span { display: grid; place-items: center; min-width: 23px; min-height: 23px; border-radius: 50%; }
.is-today .day-number { color: var(--coral); }
.is-today .day-number span { background: #f9d1bf; color: #a9523d; }
.is-today .day-number::after { color: var(--coral); content: "AUJOURD’HUI"; font-size: 8px; letter-spacing: .06em; }
.event { position: relative; overflow: hidden; margin-bottom: 6px; border: 1px solid; border-left-width: 4px; border-radius: 9px; padding: 8px 8px 8px 25px; font-size: 11px; line-height: 1.2; box-shadow: 0 3px 7px rgba(89, 72, 48, .08); }
.event::before { position: absolute; top: 11px; left: 9px; width: 8px; height: 8px; border: 2px solid rgba(255, 255, 255, .78); border-radius: 50%; background: currentColor; content: ""; box-shadow: 0 0 0 1px currentColor; }
.event strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.event small { display: block; margin-top: 3px; opacity: .8; }
.event.recurring { border-color: var(--recurring); background: linear-gradient(135deg, #e5f3e7, #d5eadb); color: #356b5b; }
.event.income { border-color: var(--income); background: linear-gradient(135deg, #e6f4f6, #d8ebed); color: #356f83; }
.event.credit { border-color: var(--credit); background: linear-gradient(135deg, #fff0d6, #f8e3bd); color: #8c5a20; }
.event.credit.pending { opacity: .73; }
.event.saving { border-color: var(--saving); background: linear-gradient(135deg, #f2eafb, #e7dcf5); color: #684f91; }

.content-grid { display: grid; grid-template-columns: minmax(240px, 285px) 1fr; gap: 38px; align-items: start; }
.form-stack { display: grid; gap: 18px; }
.create-movement-button, .create-saving-button { width: 100%; text-align: left; }
.income-action-button { border-color: #578fa2; background: var(--sky); }
.income-action-button:hover { background: #5d94aa; }
.savings-grid { grid-template-columns: minmax(240px, 285px) 1fr; }
.saving-selector-card { display: grid; gap: 15px; }
.savings-list { display: grid; gap: 6px; }
.saving-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; border: 0; border-bottom: 1px solid var(--line-light); background: transparent; color: var(--ink); padding: 13px 4px; text-align: left; transition: color .18s ease, padding .18s ease, background .18s ease; }
.saving-option:hover, .saving-option.is-active { color: var(--saving); padding-left: 10px; background: #fbf7ef; }
.saving-option span { display: grid; gap: 3px; min-width: 0; }
.saving-option strong { overflow: hidden; color: inherit; text-overflow: ellipsis; white-space: nowrap; }
.saving-option small { color: var(--ink-soft); font-size: 11px; }
.saving-option b { color: var(--saving); font-size: 13px; white-space: nowrap; }

.saving-card, .form-card, .list-card, .credit-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, .88);
  box-shadow: var(--shadow-soft);
}
.saving-card { overflow: hidden; }
.saving-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 23px 25px 20px; border-bottom: 1px solid var(--line); background: #faf5eb; }
.saving-card-head h3 { margin-top: 5px; }
.saving-total { color: var(--saving); text-align: right; }
.saving-total small { display: block; color: var(--ink-soft); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.saving-total strong { display: block; margin-top: 4px; font-size: 25px; letter-spacing: -.04em; }
.saving-table, .credit-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.saving-table th, .saving-table td { padding: 14px 25px; text-align: left; border-top: 1px solid var(--line-light); }
.saving-table th, .credit-table th { color: var(--ink-soft); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.saving-table th:last-child, .saving-table td:last-child { text-align: right; }
.saving-table td:last-child strong { color: var(--forest-deep); }
.empty-table-cell { padding: 28px !important; color: var(--ink-soft); text-align: center !important; }
.saving-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 25px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 12px; }
.saving-icon { color: var(--saving); background: #f3eafa; }
.table-scroll { overflow-x: auto; }

.form-card, .list-card, .credit-card { padding: 23px; }
.form-card { display: grid; gap: 15px; }
.card-heading, .modal-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 3px; }
.card-heading h3 { margin-top: 5px; }
.soft-icon { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid var(--line); border-radius: 50%; background: #eef4eb; color: var(--forest); font-size: 17px; }
label { display: grid; gap: 7px; color: var(--ink); font-size: 13px; font-weight: 800; }
input, select { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 9px; outline: none; color: var(--ink); background: #fffef9; padding: 10px 12px; }
input:focus, select:focus { border-color: var(--sky); box-shadow: 0 0 0 3px rgba(121, 167, 187, .14); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-help { color: var(--ink-soft); font-size: 12px; line-height: 1.5; }
.form-error { border-left: 3px solid var(--danger); border-radius: 7px; padding: 10px 11px; color: var(--danger); background: #fae9e3; font-size: 13px; }
.count-badge { display: grid; place-items: center; min-width: 28px; height: 28px; border: 1px solid #cadcc9; border-radius: 50%; background: #eff5ec; color: var(--forest); font-size: 11px; font-weight: 850; }
.credit-actions { display: flex; align-items: center; justify-content: flex-end; gap: 15px; flex-wrap: wrap; }
.toggle-control { display: flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.toggle-control input { width: 17px; min-height: 17px; height: 17px; margin: 0; accent-color: var(--forest); }
.list-divider { height: 1px; margin: 10px 0 19px; background: var(--line); }
.subheading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 7px 0 2px; color: var(--forest-deep); font-size: 14px; }
.income-count { color: var(--income); font-size: 12px; font-weight: 850; }
.income-item .item-amount { color: var(--income); }
.recurring-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line-light); }
.recurring-item:first-child { border-top: 0; }
.item-title { color: var(--ink); font-weight: 800; }
.item-meta { margin-top: 4px; color: var(--ink-soft); font-size: 12px; }
.item-amount { color: var(--forest-deep); font-weight: 850; white-space: nowrap; }
.delete-button { border: 0; background: transparent; color: #a1636d; padding: 4px; font-size: 12px; }
.delete-button:hover { text-decoration: underline; }
.empty-state { padding: 32px 16px; color: var(--ink-soft); font-size: 14px; text-align: center; }

.credit-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.credit-card { overflow: hidden; padding: 0; border-top: 4px solid var(--credit); }
.credit-card-head { position: relative; padding: 22px 21px 16px; border-bottom: 1px solid var(--line); background: #fcf4e5; }
.credit-card-head::before { position: absolute; top: 13px; right: 17px; color: rgba(204, 138, 58, .45); content: "✿"; font-family: Georgia, serif; font-size: 24px; }
.credit-card-head > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.credit-card-head h3 { color: var(--forest-deep); }
.credit-total { margin-top: 8px; color: var(--ink-soft); font-size: 12px; }
.remaining { color: var(--forest-deep); text-align: right; }
.remaining small { display: block; color: var(--ink-soft); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.remaining strong { display: block; margin-top: 4px; font-size: 19px; letter-spacing: -.03em; }
.progress-track { height: 7px; overflow: hidden; margin-top: 16px; border-radius: 99px; background: #ecdfc9; }
.progress-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--credit), var(--coral)); }
.credit-table th, .credit-table td { padding: 12px 21px; text-align: left; }
.credit-table tbody tr + tr { border-top: 1px solid var(--line-light); }
.credit-table td:last-child, .credit-table th:last-child { text-align: right; }
.credit-table tr.is-paid td { color: #9c9c8e; text-decoration: line-through; text-decoration-color: #b9b9aa; }
.credit-table tr.is-next td { color: var(--forest-deep); font-weight: 800; background: #eef4eb; }
.credit-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 21px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 12px; }
.credit-footer strong { color: var(--forest-deep); font-size: 16px; }
.credit-footer .delete-button { margin-left: auto; }
.notice { margin: -5px 0 17px; border-left: 3px solid var(--recurring); border-radius: 7px; padding: 11px 12px; color: #356b5b; background: #e3f0e5; font-size: 13px; }

.modal { width: 100%; max-width: min(460px, calc(100vw - 28px)); border: 0; padding: 0; background: transparent; }
.modal::backdrop { background: rgba(45, 59, 58, .42); backdrop-filter: blur(3px); }
.modal-card { width: 100%; }
.close-button { width: 35px; height: 35px; border-radius: 11px; font-size: 21px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 960px) {
  .app-shell { padding-inline: 25px; }
  .calendar-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summary-chip:nth-child(2) { border-right: 0; }
  .summary-chip:nth-child(n + 3) { border-top: 0; }
  .summary-chip.compact { min-height: 62px; }
}

@media (max-width: 760px) {
  .app-shell { padding: 22px 14px 46px; }
  .app-shell::before { top: 5px; right: -13px; font-size: 52px; }
  .topbar, .section-heading { align-items: flex-start; flex-direction: column; }
  .topbar { gap: 11px; }
  .today-label { align-self: flex-start; margin-left: 62px; }
  .tabs { gap: 4px; padding: 5px; margin-bottom: 28px; border-radius: 15px; }
  .tab-button { min-height: 42px; padding-inline: 12px; font-size: 12px; }
  .tab-button.is-active::before { display: none; }
  .tab-panel::before { top: -10px; right: 0; font-size: 21px; }
  .month-controls { width: 100%; justify-content: space-between; }
  .month-picker { flex: 1; }
  .month-picker input { width: 100%; min-width: 0; }
  .weekday-row span { padding: 10px 4px; text-align: center; font-size: 9px; }
  .day-cell { min-height: 103px; padding: 8px 5px; }
  .day-number { font-size: 11px; }
  .is-today .day-number::after { content: "•"; font-size: 17px; }
  .event { padding: 5px 4px; font-size: 10px; }
  .event small { display: none; }
  .calendar-summary { grid-template-columns: 1fr; gap: 8px; }
  .summary-chip, .summary-chip:nth-child(2), .summary-chip:nth-child(n + 3) { min-height: 61px; border-top: 0; }
  .summary-chip.metric { min-height: 74px; }
  .content-grid, .savings-grid { grid-template-columns: 1fr; gap: 25px; }
  .credit-actions { justify-content: flex-start; }
  .credit-list { grid-template-columns: 1fr; }
  .saving-card-head, .saving-footer { align-items: flex-start; flex-direction: column; }
  .saving-total { text-align: left; }
  .form-row { grid-template-columns: 1fr; }
}
