@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap");
:root {
  --bg: #f7f9f8;
  --surface: #fff;
  --ink: #223c35;
  --muted: #82908a;
  --green: #267b5b;
  --light: #eaf3ec;
  --line: #e8eeea;
  --orange: #df9a60;
  --purple: #9387bb;
  --shadow: 0 4px 18px #223c3503;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  transition:
    background 0.15s,
    transform 0.15s;
}
button:active {
  transform: translateY(1px);
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 244px;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 37px 23px;
  display: flex;
  flex-direction: column;
  z-index: 5;
}
.brand {
  font-family: Manrope, sans-serif;
  font-weight: 800;
  font-size: 23px;
  letter-spacing: -1.1px;
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}
.brand-dot {
  color: #4f9971;
  margin-left: -9px;
}
.brand-icon {
  display: inline-flex;
  background: var(--green);
  border-radius: 11px;
  width: 32px;
  height: 35px;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 27px;
  letter-spacing: -3px;
  padding-right: 4px;
}
.brand-icon span {
  opacity: 0.6;
  transform: translateY(-3px);
}
.workspace-label {
  font-size: 9px;
  letter-spacing: 1.8px;
  color: #99a69f;
  margin: 57px 14px 17px;
  font-weight: 700;
}
nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  color: #7c8982;
  font-size: 13px;
  border-radius: 8px;
  font-weight: 500;
}
.nav-link.active {
  color: #277753;
  background: #ecf5ee;
  font-weight: 700;
}
.nav-link:hover {
  background: #f4f7f4;
}
.nav-link svg,
.icon svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav-link .nav-dot {
  margin-left: auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #398862;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 40px 13px 0;
}
.small-art {
  font-size: 33px;
  color: #5a9165;
  margin-bottom: 12px;
}
.sidebar-bottom > strong {
  font-size: 12px;
}
.sidebar-bottom p {
  font-size: 11px;
  line-height: 1.9;
  color: #99a49d;
}
.profile {
  border-top: 1px solid var(--line);
  margin-top: 27px;
  padding-top: 24px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.profile strong {
  font-size: 10px;
}
.profile small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #edf0e4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #7b8760;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}
.avatar.small {
  width: 30px;
  height: 30px;
}
.app-shell {
  margin-left: 244px;
}
.topbar {
  height: 84px;
  background: #ffffffb0;
  border-bottom: 1px solid var(--line);
  padding: 0 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.breadcrumb {
  font-size: 11px;
  color: #94a098;
}
.breadcrumb span {
  margin: 0 14px;
  color: #c5cdc7;
}
.breadcrumb strong {
  font-weight: 500;
  color: #587065;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.private-label {
  font-size: 10px;
  color: #8b988f;
}
.private-label:before {
  content: "●";
  font-size: 7px;
  margin-right: 7px;
  color: #83a286;
}
.icon-button {
  border: 0;
  background: transparent;
  color: #7a8d81;
  font-size: 20px;
  padding: 6px;
  line-height: 1;
}
.icon-button:hover {
  background: var(--light);
  border-radius: 6px;
}
main {
  max-width: 1440px;
  margin: auto;
  padding: 39px 42px 20px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  gap: 20px;
}
.eyebrow {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: #91a095;
}
.page-heading h1 {
  font-family: Manrope, sans-serif;
  font-size: 29px;
  letter-spacing: -1.1px;
  margin: 8px 0 9px;
  font-weight: 750;
}
.page-heading p {
  font-size: 12px;
  color: #8a988f;
  margin: 0;
}
.heading-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.button {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 11px 16px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  white-space: nowrap;
}
.primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  box-shadow: 0 3px 6px #267b5b12;
}
.primary:hover {
  background: #1e654a;
}
.secondary {
  background: #fff;
  color: #6b7e71;
}
.secondary:hover {
  background: #f1f5f1;
}
.button .plus {
  font-size: 18px;
  line-height: 12px;
  font-weight: 400;
}
.month-select {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #667d6e;
  padding: 10px 12px;
  font-size: 11px;
  max-width: 175px;
}
.demo-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #e0e9dc;
  background: #f1f5e9;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 23px;
  color: #748262;
  font-size: 11px;
}
.demo-banner button {
  margin-left: auto;
  border: none;
  background: none;
  color: #4e7548;
  font-size: 11px;
  font-weight: 700;
  text-decoration: underline;
  white-space: nowrap;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
  margin-bottom: 26px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 20px 20px 17px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.stat-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #7f8e84;
  font-size: 11px;
}
.stat-icon {
  width: 29px;
  height: 29px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef6ed;
  color: #76a178;
}
.stat-icon.orange {
  background: #fdf2e8;
  color: #d69b66;
}
.stat-icon.purple {
  background: #f1eef7;
  color: #9b8eba;
}
.stat-icon.blue {
  background: #edf3f8;
  color: #83a6bd;
}
.stat-value {
  font-family: Manrope, sans-serif;
  font-size: 27px;
  font-weight: 750;
  letter-spacing: -1px;
  margin: 12px 0 10px;
}
.stat-foot {
  font-size: 10px;
  color: #9ca79f;
}
.stat-foot .positive {
  color: #63946c;
}
.main-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 22px;
  margin-bottom: 23px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 24px 0;
  gap: 12px;
}
.panel-header h2 {
  font-size: 13px;
  font-weight: 700;
  margin: 0;
}
.panel-header p {
  font-size: 10px;
  color: #96a298;
  margin: 7px 0 0;
}
.panel-link {
  font-size: 10px;
  color: #708776;
  border: 0;
  background: none;
  white-space: nowrap;
}
.badge {
  font-size: 9px;
  color: #8c9b8e;
  background: #f5f7f2;
  padding: 6px 9px;
  border-radius: 5px;
}
.flow-body {
  padding: 25px 25px 22px;
}
.available {
  font-size: 30px;
  font-weight: 700;
  font-family: Manrope;
  letter-spacing: -1px;
}
.available small {
  font-family: "DM Sans";
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: #8d9c90;
  letter-spacing: 0;
  margin-top: 5px;
}
.allocation-bar {
  height: 17px;
  display: flex;
  gap: 4px;
  margin-top: 25px;
  overflow: hidden;
  border-radius: 5px;
  background: #f3f5ef;
}
.allocation-bar span {
  height: 100%;
  min-width: 0;
  transition: width 0.3s;
}
.allocation-bar span:first-child {
  border-radius: 5px 0 0 5px;
}
.allocation-bar span:last-child {
  border-radius: 0 5px 5px 0;
}
.flow-legend {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 21px;
}
.legend-label {
  color: #8b998e;
  font-size: 9px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.legend-value {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
}
.insight {
  display: flex;
  gap: 8px;
  align-items: center;
  background: #f6f8f3;
  padding: 11px 12px;
  border-radius: 6px;
  margin-top: 22px;
  color: #889879;
  font-size: 10px;
  line-height: 1.6;
}
.spending-content {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 29px 25px 32px;
  min-height: 243px;
}
.donut {
  width: 145px;
  height: 145px;
  flex-shrink: 0;
  border-radius: 50%;
  position: relative;
  display: grid;
  place-items: center;
}
.donut:before {
  content: "";
  position: absolute;
  inset: 21px;
  background: #fff;
  border-radius: 50%;
}
.donut-center {
  position: relative;
  text-align: center;
}
.donut-center strong {
  font-family: Manrope;
  display: block;
  font-size: 20px;
  letter-spacing: -0.7px;
}
.donut-center small {
  font-size: 9px;
  color: #98a397;
  display: block;
  margin-top: 5px;
}
.category-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.category-row {
  display: flex;
  align-items: center;
  font-size: 10px;
  gap: 7px;
  color: #879489;
}
.category-row strong {
  margin-left: auto;
  color: #6d7f70;
  font-size: 10px;
  font-weight: 500;
}
.bottom-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 22px;
}
.transaction-list {
  padding: 9px 24px 10px;
}
.transaction {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid #f0f3ef;
}
.transaction:last-child {
  border-bottom: 0;
}
.transaction-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f2e9;
  color: #b09b73;
  flex-shrink: 0;
}
.transaction-icon.income {
  background: #edf5ed;
  color: #6c9d75;
}
.transaction-icon.investment {
  background: #f2eef7;
  color: #9685af;
}
.transaction-icon.emergency {
  background: #ecf3f7;
  color: #7b9cae;
}
.transaction-info {
  flex: 1;
  min-width: 0;
}
.transaction-info strong {
  display: block;
  font-size: 11px;
  font-weight: 550;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.transaction-info small {
  display: block;
  font-size: 9px;
  color: #9ba69d;
  margin-top: 5px;
}
.transaction-amount {
  text-align: right;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.transaction-amount small {
  display: block;
  font-size: 9px;
  font-weight: 400;
  color: #a3aca5;
  margin-top: 5px;
}
.green-text {
  color: #579369;
}
.right-stack {
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.emergency-panel {
  background: #f0f5ed;
  border: 1px solid #e5eddf;
  padding: 21px 23px;
  border-radius: 11px;
}
.emergency-top {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
}
.emergency-top .icon {
  color: #80a277;
}
.emergency-top .badge {
  margin-left: auto;
  background: #e5eddf;
  color: #7c9471;
}
.emergency-amount {
  font-family: Manrope;
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -0.7px;
  margin-top: 15px;
}
.emergency-amount small {
  font-family: "DM Sans";
  font-size: 10px;
  font-weight: 400;
  color: #8d9c80;
  letter-spacing: 0;
}
.progress-track {
  background: #dde7d6;
  height: 6px;
  border-radius: 6px;
  margin: 14px 0 10px;
  overflow: hidden;
}
.progress-track span {
  display: block;
  height: 100%;
  background: #88ab70;
  border-radius: 6px;
}
.emergency-footer {
  display: flex;
  justify-content: space-between;
  color: #8c9e7d;
  font-size: 9px;
}
.bills-body {
  padding: 8px 23px 15px;
}
.bill-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.bill-row:last-child {
  border: 0;
}
.bill-date {
  background: #f5f6f0;
  border-radius: 6px;
  padding: 7px 9px;
  text-align: center;
  color: #859277;
  font-size: 8px;
}
.bill-date strong {
  display: block;
  font-size: 15px;
  margin-top: 2px;
}
.bill-info {
  flex: 1;
}
.bill-info strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
}
.bill-info small {
  font-size: 9px;
  color: #9aa597;
  display: block;
  margin-top: 4px;
}
.bill-amount {
  font-size: 11px;
}
.empty {
  padding: 42px 24px;
  text-align: center;
  color: #92a092;
  line-height: 1.8;
  font-size: 12px;
}
.empty strong {
  display: block;
  color: #526e5c;
  font-size: 15px;
  margin-bottom: 6px;
}
.toolbar {
  display: flex;
  gap: 12px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.toolbar input,
.toolbar select {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
}
.toolbar input {
  flex: 1;
  min-width: 140px;
}
.delete-button {
  border: 0;
  background: none;
  color: #b8beb7;
  font-size: 15px;
  padding: 8px;
}
.delete-button:hover {
  color: #bc665d;
}
.wide-content {
  padding: 24px;
}
.account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.account-card {
  padding: 28px;
}
.account-card h2 {
  font-size: 14px;
  margin: 0 0 10px;
}
.account-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.account-balance {
  font-family: Manrope;
  font-weight: 750;
  font-size: 32px;
  margin: 22px 0;
}
.section-gap {
  margin-top: 24px;
}
.report-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.report-table th,
.report-table td {
  text-align: right;
  padding: 16px 12px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.report-table th:first-child,
.report-table td:first-child {
  text-align: left;
}
.report-table th {
  font-weight: 500;
  color: #92a091;
  font-size: 10px;
}
.report-table tfoot {
  font-weight: 700;
  background: #f7f9f5;
}
.table-wrap {
  overflow: auto;
}
.setting-row {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.setting-row h3 {
  font-size: 13px;
  margin: 0 0 7px;
}
.setting-row p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  max-width: 540px;
}
.settings-note {
  background: #f8f3e7;
  color: #9a865c;
  font-size: 12px;
  line-height: 1.8;
  padding: 17px;
  border-radius: 7px;
  margin-bottom: 5px;
}
footer {
  max-width: 1440px;
  margin: 15px auto 0;
  padding: 24px 42px;
  display: flex;
  justify-content: space-between;
  color: #a5afa5;
  font-size: 9px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 28px;
  width: min(480px, calc(100% - 28px));
  color: var(--ink);
  box-shadow: 0 24px 100px #1d3c3430;
}
dialog::backdrop {
  background: #233d3545;
  backdrop-filter: blur(4px);
}
.dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 23px;
}
.dialog-heading h2 {
  font-family: Manrope;
  font-size: 22px;
  margin: 8px 0 0;
  letter-spacing: -0.6px;
}
.field {
  display: block;
  margin-bottom: 17px;
}
.field > span {
  display: block;
  font-size: 11px;
  color: #718577;
  margin-bottom: 7px;
}
.field input,
.field select {
  width: 100%;
  border: 1px solid #dde6dc;
  border-radius: 7px;
  padding: 12px;
  background: #fff;
  color: var(--ink);
}
.field input:focus,
.field select:focus {
  outline: 2px solid #a3c4a6;
  outline-offset: 1px;
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}
.form-error {
  color: #ac6258;
  font-size: 12px;
}
.field-note {
  font-size: 11px;
  color: #8d9c90;
  line-height: 1.8;
}
.hidden {
  display: none !important;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: calc(50% + 100px);
  transform: translateX(-50%) translateY(100px);
  opacity: 0;
  background: #284f3c;
  color: white;
  padding: 13px 23px;
  border-radius: 8px;
  font-size: 12px;
  z-index: 20;
  transition: 0.2s;
  box-shadow: 0 5px 20px #203a3320;
}
#toast.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.summary-note {
  font-size: 11px;
  line-height: 1.8;
  color: #8b998f;
  margin: 0 0 20px;
}
.danger {
  color: #ad6b60;
}
.amount-input {
  font-size: 25px !important;
  font-family: Manrope;
  font-weight: 700;
}
.mobile-only {
  display: none;
}
@media (min-width: 1600px) {
  main {
    padding-top: 48px;
  }
  .stats-grid {
    gap: 23px;
  }
  .main-grid,
  .bottom-grid {
    gap: 27px;
  }
  .spending-content {
    justify-content: space-around;
  }
  .donut {
    width: 164px;
    height: 164px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 207px;
    padding: 30px 16px;
  }
  .brand {
    font-size: 20px;
  }
  .app-shell {
    margin-left: 207px;
  }
  main {
    padding: 30px 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .spending-content {
    gap: 16px;
    padding: 30px 18px;
  }
  .donut {
    width: 115px;
    height: 115px;
  }
  .donut:before {
    inset: 16px;
  }
  .donut-center strong {
    font-size: 17px;
  }
  .stat-card {
    padding: 17px 14px;
  }
  .stat-value {
    font-size: 23px;
  }
  .flow-legend {
    gap: 5px;
  }
  .legend-label {
    font-size: 8px;
  }
  .main-grid,
  .bottom-grid {
    grid-template-columns: 1.4fr 1fr;
    gap: 17px;
  }
  .page-heading h1 {
    font-size: 26px;
  }
}
@media (max-width: 980px) {
  .sidebar {
    width: 180px;
    padding: 30px 12px;
  }
  .brand {
    font-size: 17px;
    gap: 6px;
  }
  .brand-icon {
    width: 28px;
    height: 31px;
  }
  .app-shell {
    margin-left: 180px;
  }
  .sidebar-bottom {
    padding-left: 8px;
    padding-right: 8px;
  }
  .profile strong {
    font-size: 9px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .main-grid,
  .bottom-grid {
    grid-template-columns: 1fr;
  }
  .spending-content {
    justify-content: center;
    gap: 40px;
  }
  .category-list {
    max-width: 220px;
  }
  .donut {
    width: 145px;
    height: 145px;
  }
  .right-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .page-heading {
    align-items: flex-start;
  }
  .heading-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .private-label {
    display: none;
  }
  .flow-legend .legend-label {
    font-size: 10px;
  }
  .account-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .sidebar {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 65px;
    padding: 5px 7px;
    border-right: 0;
    border-top: 1px solid var(--line);
    background: #fff;
  }
  .brand,
  .workspace-label,
  .sidebar-bottom {
    display: none;
  }
  nav {
    flex-direction: row;
    justify-content: space-around;
    gap: 0;
  }
  .nav-link {
    flex-direction: column;
    gap: 5px;
    font-size: 8px;
    padding: 8px 7px;
    border-radius: 6px;
  }
  .nav-link svg {
    width: 18px;
    height: 18px;
  }
  .nav-link .nav-dot {
    display: none;
  }
  .nav-link[data-page="accounts"] {
    display: none;
  }
  .app-shell {
    margin-left: 0;
    padding-bottom: 66px;
  }
  .topbar {
    height: 59px;
    padding: 0 18px;
  }
  .top-actions {
    gap: 12px;
  }
  .breadcrumb {
    font-size: 10px;
  }
  main {
    padding: 24px 17px 10px;
  }
  .page-heading {
    margin-bottom: 20px;
    gap: 8px;
  }
  .page-heading h1 {
    font-size: 24px;
  }
  .page-heading p {
    max-width: 210px;
    font-size: 11px;
    line-height: 1.6;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.2px;
  }
  .heading-actions {
    gap: 7px;
  }
  .button {
    padding: 10px 12px;
    font-size: 10px;
    gap: 6px;
  }
  .month-select {
    font-size: 10px;
    max-width: 140px;
    padding: 9px;
  }
  .stats-grid {
    gap: 10px;
    margin-bottom: 17px;
  }
  .stat-value {
    font-size: 25px;
  }
  .stat-label {
    font-size: 10px;
  }
  .stat-foot {
    font-size: 9px;
    line-height: 1.5;
  }
  .stat-card {
    padding: 15px;
  }
  .stat-icon {
    width: 25px;
    height: 25px;
  }
  .main-grid,
  .bottom-grid {
    gap: 17px;
    margin-bottom: 17px;
  }
  .panel-header {
    padding: 20px 18px 0;
  }
  .flow-body {
    padding: 22px 18px 19px;
  }
  .available {
    font-size: 27px;
  }
  .flow-legend {
    gap: 6px;
  }
  .flow-legend .legend-label {
    font-size: 8px;
  }
  .legend-value {
    font-size: 10px;
  }
  .right-stack {
    display: flex;
  }
  .transaction-list {
    padding: 7px 18px;
  }
  .transaction-info strong {
    font-size: 11px;
  }
  .transaction {
    gap: 10px;
  }
  .transaction-amount {
    font-size: 11px;
  }
  .transaction-icon {
    width: 31px;
    height: 31px;
  }
  .spending-content {
    gap: 25px;
  }
  .demo-banner {
    font-size: 10px;
    align-items: flex-start;
    line-height: 1.6;
  }
  .demo-banner button {
    font-size: 10px;
  }
  .demo-banner span:first-child {
    display: none;
  }
  footer {
    padding: 17px;
    font-size: 8px;
  }
  footer span {
    display: none;
  }
  .setting-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .wide-content {
    padding: 18px;
  }
  .toolbar {
    padding: 15px 18px;
  }
  .toolbar select {
    max-width: 145px;
  }
  #toast {
    left: 50%;
    bottom: 80px;
    max-width: 90%;
    width: max-content;
  }
  .account-card {
    padding: 22px;
  }
  .field-grid {
    gap: 10px;
  }
}
