:root {
  --green: #008148;
  --green-dark: #006c3c;
  --green-soft: #edf7ef;
  --mint: #e1f2e6;
  --ink: #202522;
  --muted: #727a74;
  --line: #e5eae6;
  --white: #fff;
  --radius: 18px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #e5ede7;
  font-synthesis: none;
  font-size: 16px;
  line-height: 1.45;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button {
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  background: none;
}
button:disabled {
  cursor: default;
  opacity: 0.4;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #5baa7a;
  outline-offset: 4px;
}
input:focus,
textarea:focus {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
[hidden] {
  display: none !important;
}
.app-shell {
  position: relative;
  max-width: 480px;
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--green-soft);
  padding-bottom: calc(100px + env(safe-area-inset-bottom));
  box-shadow: 0 0 60px #224b2e0a;
}
.app-header {
  height: 82px;
  padding: 16px 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #edf0ed;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--green);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.4px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  background: var(--green);
  border-radius: 8px;
  color: white;
  font-style: italic;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -3px;
  padding-right: 5px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 13px;
}
.demo-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.4px;
  border: 1px solid #d9e5dc;
  border-radius: 5px;
  padding: 4px 5px;
  color: #6a796e;
}
.icon-button {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 50%;
  flex-shrink: 0;
}
.icon-button:hover {
  background: var(--green-soft);
}
.icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.notification-dot {
  position: absolute;
  right: 7px;
  top: 5px;
  width: 7px;
  height: 7px;
  background: var(--green);
  border: 2px solid white;
  box-sizing: content-box;
  border-radius: 50%;
}
.header-title {
  font-size: 19px;
  font-weight: 700;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
main:focus {
  outline: none;
}
main {
  animation: arrive 0.24s ease-out;
}
.page-padding {
  padding: 25px 23px 0;
}
.greeting {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 4px 0 25px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 8px;
}
.greeting h1 {
  font-weight: 400;
  font-size: 29px;
  line-height: 1.2;
  letter-spacing: -0.7px;
  margin: 0;
}
.greeting h1 strong {
  font-weight: 700;
}
.greeting-switch {
  padding: 0;
  text-align: left;
  font: inherit;
  letter-spacing: inherit;
}
.demo-user-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 0;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.demo-user-option > span {
  flex: 1;
}
.demo-user-option strong {
  display: block;
  font-size: 12px;
  color: var(--ink);
}
.demo-user-option small {
  display: block;
  font-size: 10px;
  margin-top: 4px;
  color: var(--muted);
}
.demo-user-option .icon {
  color: var(--green);
  width: 20px;
  height: 20px;
}
.demo-user-option[aria-pressed="true"] strong {
  color: var(--green);
}
.demo-user-status {
  font-size: 11px;
}
.account-date {
  margin-top: 12px;
  margin-bottom: 0;
}
.date {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 0;
}
.greeting-art {
  width: 67px;
  height: 67px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  background: #dceee0;
  color: var(--green);
  margin-right: 6px;
}
.greeting-art .icon {
  width: 34px;
  height: 34px;
  stroke-width: 1.3;
}
.greeting-art:after {
  content: "";
  position: absolute;
  bottom: 3px;
  right: -3px;
  width: 19px;
  height: 19px;
  background: #b9dfc4;
  border: 4px solid var(--green-soft);
  border-radius: 50%;
}
.notice-list {
  display: grid;
  gap: 9px;
  margin-bottom: 28px;
}
.notice {
  padding: 14px 16px;
  background: white;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border-radius: 13px;
  text-align: left;
  min-height: 55px;
  font-size: 13px;
}
.notice > .icon {
  color: #00a34e;
  width: 23px;
  height: 23px;
}
.notice .count {
  margin-left: auto;
  background: var(--green);
  color: white;
  font-size: 11px;
  font-weight: 700;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.notice .notice-check {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.section-heading h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.4px;
  color: var(--green-dark);
}
.section-heading .text-button {
  font-size: 13px;
  white-space: nowrap;
}
.text-button {
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
  padding: 5px 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.text-button .icon {
  width: 17px;
  height: 17px;
}
.text-button:hover {
  text-decoration: underline;
}
.card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
}
.accounts-card {
  margin-bottom: 25px;
}
.account-link {
  display: block;
  padding: 21px 19px 18px;
  transition: background 0.15s;
}
.account-link:hover {
  background: #fbfdfb;
}
.account-topline {
  display: flex;
  align-items: center;
  gap: 10px;
}
.account-topline > .icon {
  width: 22px;
  height: 26px;
  color: var(--green);
}
.account-name {
  font-size: 16px;
}
.chevron {
  color: #929a94;
  width: 18px;
  height: 18px;
  margin-left: auto;
}
.account-balance {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -1.1px;
  color: var(--green);
  margin: 10px 0 13px;
  font-variant-numeric: tabular-nums;
}
.account-balance .currency {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0;
}
.available-line {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 12px;
  color: #637068;
}
.available-line > .icon {
  width: 13px;
  height: 13px;
}
.available-line strong {
  margin-left: auto;
  color: var(--green-dark);
  font-size: 14px;
  white-space: nowrap;
}
.bank-card-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 19px;
  border-top: 1px solid var(--line);
  width: 100%;
  text-align: left;
}
.mini-bank-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, #08a750, #007b43);
  width: 27px;
  height: 39px;
  border-radius: 3px;
  color: white;
  padding: 3px 4px;
  flex-shrink: 0;
}
.mini-bank-card b {
  font-size: 20px;
  line-height: 1;
  font-style: italic;
}
.mini-bank-card small {
  font-size: 5px;
  font-weight: 700;
  text-align: right;
}
.bank-card-row p {
  margin: 0;
  font-size: 14px;
}
.bank-card-row small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}
.hide-accounts {
  width: 100%;
  border-top: 1px solid var(--line);
  color: var(--green);
  font-size: 12px;
  padding: 12px;
}
.finance-teaser {
  display: block;
  padding: 20px;
  background: #dfeee2;
  border: 1px solid #cfe4d4;
  border-radius: var(--radius);
  position: relative;
  margin-bottom: 29px;
}
.teaser-top {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--green-dark);
  font-weight: 700;
  margin-bottom: 9px;
}
.teaser-top .icon {
  width: 16px;
  height: 16px;
}
.new-badge {
  margin-left: auto;
  background: white;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.6px;
  padding: 3px 6px;
}
.finance-teaser h2 {
  font-size: 21px;
  line-height: 1.2;
  margin: 0 0 7px;
  letter-spacing: -0.4px;
}
.finance-teaser p {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  color: #516b59;
  max-width: 280px;
}
.teaser-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  margin-top: 16px;
}
.teaser-link .icon {
  width: 16px;
  height: 16px;
}
.benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}
.benefit-tile {
  min-height: 95px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 9px;
  background: white;
  border-radius: 16px;
  font-size: 14px;
}
.benefit-tile .icon {
  color: #00a34e;
  width: 27px;
  height: 27px;
}
.receipt {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 18px 16px;
  text-align: left;
  width: 100%;
}
.receipt > .icon {
  color: var(--green);
}
.receipt strong {
  font-size: 14px;
  font-weight: 500;
}
.receipt small {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}
.receipt-amount {
  margin-left: auto;
  font-size: 14px;
  white-space: nowrap;
}
.demo-note {
  text-align: center;
  font-size: 10px;
  color: #7a887e;
  margin: 24px 0 5px;
}
.bottom-nav {
  position: fixed;
  z-index: 25;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 480px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: calc(84px + env(safe-area-inset-bottom));
  padding: 10px 7px calc(9px + env(safe-area-inset-bottom));
  background: white;
  border-top: 1px solid #e5ebe6;
}
.bottom-nav > a,
.bottom-nav > button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  font-size: 10px;
  color: #737873;
  padding: 0;
  position: relative;
}
.bottom-nav .icon {
  width: 25px;
  height: 25px;
}
.bottom-nav [aria-current="page"] {
  color: var(--green);
  font-weight: 700;
}
.bottom-nav [aria-current="page"]:after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 4px;
  height: 4px;
  background: var(--green);
  border-radius: 50%;
}
.loyalty-symbol {
  font-size: 31px;
  font-weight: 700;
  line-height: 25px;
  font-style: italic;
  font-family: Georgia, serif;
  color: inherit;
}
.bottom-nav .payment-nav {
  gap: 2px;
  justify-content: flex-end;
  padding-bottom: 6px;
}
.payment-circle {
  display: grid;
  place-items: center;
  background: var(--green);
  border: 5px solid var(--green-soft);
  border-radius: 50%;
  color: white;
  width: 61px;
  height: 61px;
  position: absolute;
  bottom: 25px;
}
.payment-circle .icon {
  width: 29px;
  height: 29px;
  stroke-width: 1.5;
}
.account-summary {
  padding: 27px 23px 24px;
  background: white;
}
.account-summary h1 {
  font-size: 21px;
  margin: 0 0 8px;
  font-weight: 600;
}
.account-detail-balance {
  font-size: 49px;
  letter-spacing: -1.7px;
  font-weight: 700;
  color: var(--green);
  line-height: 1.25;
  margin-bottom: 19px;
}
.account-detail-balance span {
  font-size: 29px;
  font-weight: 500;
  letter-spacing: 0;
}
.iban-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 13px 14px;
  background: #f4f5f4;
  border-radius: 5px;
  font-size: 13px;
  color: #6c726d;
  letter-spacing: 0.3px;
}
.iban-button .icon {
  width: 20px;
  height: 20px;
  color: #929992;
}
.transaction-section {
  background: white;
  padding-bottom: 19px;
}
.section-bar {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  background: #f4f5f4;
  padding: 15px 23px;
  border-block: 1px solid #e9ece9;
}
.transaction-inner {
  padding: 19px 23px 0;
}
.segmented-control {
  display: flex;
  border: 1px solid #282c29;
  border-radius: 6px;
  overflow: hidden;
  margin: 0 0 10px;
}
.segmented-control button {
  width: 33.333%;
  font-size: 12px;
  min-height: 35px;
  border-right: 1px solid #282c29;
}
.segmented-control button:last-child {
  border: 0;
}
.segmented-control [aria-pressed="true"] {
  background: #202522;
  color: white;
}
.transaction-month {
  color: var(--muted);
  font-size: 11px;
  margin: 16px 0 5px;
}
.transaction-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.transaction-row:last-child {
  border-bottom: none;
}
.transaction-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f5f7f5;
  display: grid;
  place-items: center;
  color: #929c95;
  flex-shrink: 0;
}
.transaction-arrow .icon {
  width: 19px;
  height: 19px;
}
.transaction-row p {
  font-size: 13px;
  margin: 0;
}
.transaction-row small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
}
.transaction-amount {
  margin-left: auto;
  font-size: 14px;
  white-space: nowrap;
}
.transaction-amount.income {
  color: var(--green);
}
.transaction-row > .chevron {
  width: 15px;
  margin-left: 0;
}
.history-button {
  width: 100%;
  margin: 13px 0 0;
  font-size: 12px;
}
.ai-section {
  padding: 29px 23px 0;
  scroll-margin-top: 100px;
}
.section-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  margin: 0 0 8px;
}
.section-kicker .icon {
  width: 16px;
  height: 16px;
}
.section-title {
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -0.6px;
  margin: 0 0 8px;
  font-weight: 700;
}
.section-description {
  font-size: 13px;
  color: #67746b;
  line-height: 1.55;
  margin: 0 0 21px;
}
.period-tabs {
  display: grid;
  grid-template-columns: 1.24fr 1fr 1fr 0.95fr;
  gap: 5px;
  margin-bottom: 13px;
}
.period-tabs button {
  font-size: 10px;
  padding: 10px 3px;
  border: 1px solid #cfdfd3;
  border-radius: 7px;
  white-space: nowrap;
  background: #fff9;
  color: #52665a;
  min-height: 36px;
}
.period-tabs [aria-pressed="true"] {
  background: var(--green);
  color: white;
  border-color: var(--green);
  font-weight: 700;
}
.period-caption {
  font-size: 10px;
  color: #768278;
  margin: 0 0 13px;
}
.custom-range {
  padding: 12px;
  background: white;
  border-radius: 10px;
  margin-bottom: 13px;
  display: flex;
  gap: 10px;
}
.custom-range label {
  font-size: 10px;
  min-width: 0;
  flex: 1;
  color: var(--muted);
}
.custom-range input {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 5px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 7px;
  font-size: 11px;
  color: var(--ink);
  background: white;
}
.forecast-card {
  padding: 6px 18px 0;
}
.forecast-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.forecast-row > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.forecast-row .icon {
  width: 17px;
  height: 17px;
  color: #7e9384;
}
.forecast-row strong {
  font-size: 14px;
  white-space: nowrap;
  font-weight: 600;
}
.forecast-row.available {
  flex-wrap: wrap;
  row-gap: 8px;
  border: 0;
  align-items: flex-end;
  padding: 18px 0;
}
.forecast-row.available > span {
  color: var(--green-dark);
  font-weight: 600;
  display: block;
}
.forecast-row.available strong {
  margin-left: auto;
  font-size: 30px;
  letter-spacing: -0.8px;
  color: var(--green);
}
.forecast-row.available strong small {
  font-size: 17px;
  font-weight: 500;
}
.available-caption {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  margin-top: 4px;
}
.forecast-card .text-button {
  border-top: 1px solid var(--line);
  width: 100%;
  padding: 14px 0;
  font-size: 12px;
}
.estimate-note {
  font-size: 10px;
  line-height: 1.5;
  color: #7d887f;
  margin: 10px 2px 21px;
  display: flex;
  align-items: flex-start;
  gap: 5px;
}
.estimate-note .icon {
  width: 12px;
  height: 12px;
  margin-top: 1px;
}
.planner-card {
  padding: 19px;
  margin-bottom: 29px;
}
.planner-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
}
.planner-title .icon {
  color: var(--green);
  width: 21px;
  height: 21px;
}
.planner-title h3 {
  font-size: 17px;
  letter-spacing: -0.2px;
  margin: 0;
}
.planner-card > p {
  font-size: 12px;
  color: #748078;
  margin: 0 0 14px;
  line-height: 1.55;
}
.planner-form {
  display: flex;
  align-items: flex-end;
  border: 1px solid #dce5dd;
  border-radius: 10px;
  overflow: hidden;
  padding: 9px 8px 9px 12px;
  gap: 6px;
  background: #fcfdfb;
}
.planner-form:focus-within {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.planner-form textarea {
  resize: vertical;
  min-height: 57px;
  max-height: 150px;
  flex: 1;
  width: 100%;
  padding: 2px 0;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 11px;
  line-height: 1.65;
}
.planner-form textarea:focus {
  outline: none;
}
.planner-form textarea::placeholder {
  color: #919a92;
}
.send-button {
  display: grid;
  place-items: center;
  background: var(--green);
  width: 33px;
  height: 33px;
  border-radius: 50%;
  color: white;
  flex-shrink: 0;
}
.send-button .icon {
  width: 18px;
  height: 18px;
}
.savings-section {
  padding: 0 23px;
  scroll-margin-top: 100px;
}
.savings-section .section-title {
  font-size: 23px;
}
.savings-card {
  padding: 25px 17px 6px;
  border: 1px solid #dce9df;
  position: relative;
}
.savings-focus {
  text-align: center;
  position: relative;
  min-height: 190px;
  padding-top: 17px;
}
.savings-focus:before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 105px) auto;
  width: 210px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    #e3f4e6 10%,
    #eff8ef 55%,
    #fff 72%
  );
  z-index: 0;
}
.savings-focus > * {
  position: relative;
}
.saving-leaf {
  width: 38px;
  height: 38px;
  margin: 0 auto 8px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--green);
  background: #def0e2;
}
.saving-leaf .icon {
  width: 20px;
  height: 20px;
}
.savings-focus p {
  font-size: 11px;
  color: #617768;
  margin: 0 0 4px;
}
.savings-total {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1.8px;
  color: var(--green);
}
.savings-total span {
  font-size: 19px;
  font-weight: 400;
  letter-spacing: -0.5px;
}
.savings-focus small {
  font-size: 9px;
  color: #7d8d80;
}
.savings-bar {
  display: flex;
  height: 5px;
  gap: 3px;
  border-radius: 10px;
  overflow: hidden;
  margin: 13px 6px 20px;
}
.savings-bar span {
  border-radius: 10px;
  background: var(--green);
}
.savings-bar span:nth-child(2) {
  background: #48a36a;
}
.savings-bar span:nth-child(3) {
  background: #82bc86;
}
.savings-bar span:nth-child(4) {
  background: #b0d3aa;
}
.savings-bar span:nth-child(5) {
  background: #d4e8cd;
}
.savings-list {
  border-top: 1px solid var(--line);
}
.saving-category {
  border-bottom: 1px solid var(--line);
}
.saving-category:last-child {
  border: 0;
}
.saving-category summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  padding: 17px 0;
  min-height: 71px;
}
.saving-category summary::-webkit-details-marker {
  display: none;
}
.category-icon {
  color: var(--green);
  background: #f0f6ef;
  border-radius: 9px;
  width: 31px;
  height: 34px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.category-icon .icon {
  width: 18px;
  height: 18px;
}
.category-name {
  font-size: 11px;
  flex: 1;
  line-height: 1.45;
}
.category-amount {
  color: var(--green-dark);
  font-weight: 600;
  white-space: nowrap;
  font-size: 12px;
}
.category-amount small {
  font-size: 9px;
  font-weight: 400;
}
.saving-category summary > .icon {
  width: 13px;
  height: 13px;
  color: #829386;
  transition: transform 0.2s;
}
.saving-category[open] summary > .icon {
  transform: rotate(180deg);
}
.saving-items {
  padding: 0 0 12px 40px;
}
.saving-item {
  background: #f5f9f4;
  border-radius: 9px;
  padding: 12px;
  margin: 0 0 8px;
}
.saving-item-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
}
.saving-item-top strong {
  font-weight: 600;
}
.saving-item-top span {
  white-space: nowrap;
  color: var(--green);
  font-size: 10px;
}
.saving-item p {
  font-size: 10px;
  color: #758077;
  line-height: 1.55;
  margin: 7px 0 0;
}
.savings-footer {
  font-size: 10px;
  color: #7b887e;
  text-align: center;
  margin: 13px 0 0;
}
.chat-page {
  padding: 27px 23px 0;
}
.chat-page > .section-kicker {
  margin-bottom: 12px;
}
.chat-intro {
  background: white;
  border-radius: 16px;
  padding: 22px 20px;
  margin-bottom: 22px;
}
.chat-intro h1 {
  font-size: 24px;
  margin: 0 0 9px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.chat-intro p {
  font-size: 12px;
  color: #718076;
  line-height: 1.6;
  margin: 0;
}
.chat-intro .icon {
  width: 28px;
  height: 28px;
  color: var(--green);
  margin-bottom: 14px;
}
.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 19px;
}
.chat-message {
  max-width: 93%;
  background: white;
  padding: 17px;
  border-radius: 14px 14px 14px 3px;
  font-size: 13px;
  line-height: 1.65;
}
.chat-message p {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.chat-message .message-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.message-label .icon {
  width: 13px;
  height: 13px;
}
.chat-message.user {
  align-self: flex-end;
  background: #d7eddd;
  border-radius: 14px 14px 3px 14px;
}
.chat-message.user .message-label {
  color: #536a5a;
}
.chat-suggestions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 18px 0;
}
.chat-suggestions button {
  border: 1px solid #cedfd1;
  background: #fff8;
  border-radius: 20px;
  padding: 9px 12px;
  font-size: 11px;
  color: var(--green-dark);
}
.chat-composer {
  margin-top: 22px;
}
.chat-composer .planner-form {
  background: white;
}
.chat-composer .planner-form textarea {
  font-size: 12px;
  min-height: 45px;
}
.chat-privacy {
  font-size: 10px;
  color: #7b897f;
  text-align: center;
  margin: 11px 0 0;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 110px;
  transform: translate(-50%, 12px);
  width: max-content;
  max-width: calc(100% - 40px);
  background: #203e2b;
  color: white;
  border-radius: 12px;
  padding: 13px 19px;
  font-size: 12px;
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  box-shadow: 0 7px 25px #0002;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
dialog {
  width: calc(100% - 32px);
  max-width: 432px;
  border: 0;
  border-radius: 23px;
  padding: 27px 25px 24px;
  box-shadow: 0 24px 100px #102d2633;
  color: var(--ink);
}
dialog::backdrop {
  background: #12281b66;
  backdrop-filter: blur(3px);
}
.dialog-handle {
  position: absolute;
  top: 10px;
  left: calc(50% - 17px);
  width: 34px;
  height: 4px;
  border-radius: 3px;
  background: #dce4de;
}
.dialog-close {
  position: absolute;
  right: 10px;
  top: 18px;
}
.dialog-icon {
  width: 44px;
  height: 44px;
  background: var(--green-soft);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--green);
  margin: 8px 0 15px;
}
dialog h2 {
  font-size: 21px;
  margin: 0 0 12px;
  letter-spacing: -0.3px;
}
#dialog-content {
  font-size: 13px;
  color: #68776d;
  line-height: 1.65;
  margin-bottom: 22px;
}
#dialog-content p {
  margin: 0 0 12px;
}
.primary-button {
  min-height: 45px;
  padding: 12px 20px;
  background: var(--green);
  color: white;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  width: 100%;
}
.primary-button:hover,
.send-button:hover {
  background: var(--green-dark);
}
.dialog-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.dialog-stat strong {
  color: var(--green);
}
.empty-list {
  padding: 25px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
@keyframes arrive {
  from {
    opacity: 0.4;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.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;
}
.app-header:has(.header-title:not([hidden])) .demo-badge {
  display: none;
}
.header-title {
  max-width: calc(100% - 120px);
  font-size: 17px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 600px) {
  body {
    padding: 28px 0;
  }
  .app-shell {
    border: 1px solid #d4e0d7;
    border-radius: 25px;
    overflow: clip;
    min-height: calc(100dvh - 56px);
    box-shadow: 0 18px 75px #224b2e12;
  }
  .app-header {
    border-radius: 24px 24px 0 0;
  }
  .bottom-nav {
    border-radius: 0 0 24px 24px;
    bottom: 0;
  }
  .app-shell:has(main[data-view="chat"]) {
    min-height: calc(100dvh - 56px);
  }
}
@media (max-width: 360px) {
  .page-padding,
  .ai-section,
  .savings-section,
  .chat-page {
    padding-left: 17px;
    padding-right: 17px;
  }
  .app-header {
    padding-inline: 17px;
  }
  .available-line {
    font-size: 11px;
  }
  .available-line strong {
    font-size: 13px;
  }
  .category-name {
    font-size: 10px;
  }
  .category-amount {
    font-size: 11px;
  }
  .period-tabs {
    gap: 3px;
  }
  .period-tabs button {
    font-size: 9px;
  }
  .account-detail-balance {
    font-size: 44px;
  }
  .greeting h1 {
    font-size: 27px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Unified forecast card and accessible six-group overview. */
:root {
  --forecast-expense: #a23542;
}
.money-income,
.forecast-amount.money-income {
  color: var(--green);
}
.money-expense,
.forecast-amount.money-expense {
  color: var(--forecast-expense);
}
.money-neutral {
  color: var(--ink);
}
.money-unavailable {
  color: var(--muted);
}
.forecast-row .forecast-amount.money-expense {
  color: var(--forecast-expense);
}
.forecast-row .forecast-amount.money-unavailable {
  color: var(--muted);
}
.forecast-amount {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-weight: 700;
}
.forecast-status {
  font-size: 12px;
  line-height: 1.6;
  color: #637469;
  margin: 0 0 15px;
}
dialog.forecast-dialog {
  width: calc(100% - 16px);
  max-width: 480px;
  max-height: calc(100dvh - 24px);
  padding: 28px 19px 17px;
}
dialog.forecast-dialog[open] {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.forecast-dialog .dialog-icon {
  display: none;
}
.forecast-dialog h2 {
  flex-shrink: 0;
  padding-right: 35px;
  margin: 6px 0 17px;
  font-size: 24px;
}
.forecast-dialog #dialog-content {
  overflow-y: auto;
  min-height: 0;
  flex: 1;
  overscroll-behavior: contain;
  padding: 0 3px 4px 0;
  margin: 0 0 14px;
  scrollbar-width: thin;
}
.forecast-dialog > .primary-button {
  flex-shrink: 0;
}
body:has(dialog[open]) {
  overflow: hidden;
}
.forecast-kicker {
  font-size: 10px;
  letter-spacing: 1.1px;
  color: var(--green);
  font-weight: 700;
}
.forecast-intro {
  color: #68776c;
  font-size: 12px;
  line-height: 1.65;
  margin: 8px 0 18px !important;
}
.forecast-dialog .period-tabs button {
  min-height: 40px;
  font-size: 10px;
}
.forecast-period-caption {
  color: #68776c;
  font-size: 12px;
  margin-bottom: 15px !important;
}
.forecast-notice {
  padding: 14px;
  border: 1px solid #dfe8df;
  border-radius: 12px;
  background: #f1f7ef;
  font-size: 12px;
  line-height: 1.65;
  margin-bottom: 18px;
  color: #536b59;
}
.forecast-balance-basis {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px;
  padding: 12px 1px 16px;
  font-size: 11px;
  border-bottom: 1px solid var(--line);
}
.forecast-balance-basis .forecast-amount {
  font-size: 13px;
}
.forecast-section-label {
  font-size: 12px;
  color: var(--green-dark);
  font-weight: 700;
  margin: 23px 1px 10px;
}
.forecast-group {
  background: #fff;
  border: 1px solid #e1e9e2;
  border-radius: 13px;
  margin: 0 0 9px;
  overflow: hidden;
}
.forecast-group summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 15px;
  gap: 9px;
  align-items: center;
  min-height: 76px;
  padding: 15px 12px;
  cursor: pointer;
  list-style: none;
}
.forecast-group summary::-webkit-details-marker {
  display: none;
}
.forecast-group-title {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}
.forecast-group summary > .forecast-amount {
  font-size: 16px;
}
.forecast-chevron {
  width: 15px;
  height: 15px;
  color: #829386;
  transition: transform 0.18s;
}
.forecast-group[open] .forecast-chevron {
  transform: rotate(180deg);
}
.forecast-group[open] summary {
  background: #f5f9f3;
}
.forecast-group-body {
  padding: 1px 13px 5px;
}
.forecast-item {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.forecast-item:last-child {
  border: none;
}
.forecast-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 7px 10px;
}
.forecast-item-title {
  flex: 1;
  min-width: 105px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}
.forecast-item-top .forecast-amount {
  margin-left: auto;
  font-size: 15px;
}
.forecast-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  justify-content: space-between;
  margin: 9px 0 7px;
  font-size: 10px;
  color: #65776a;
}
.forecast-confidence {
  border-radius: 4px;
  padding: 1px 5px;
  background: #eff4ed;
  color: #607564;
}
.forecast-item-note,
.forecast-rationale {
  display: block;
  font-size: 11px;
  line-height: 1.65;
  color: #6f7b72;
  margin: 7px 0 0 !important;
}
.forecast-empty {
  font-size: 12px;
  padding: 14px 0;
  color: #738077;
  line-height: 1.65;
}
.forecast-item-uncertain {
  background: #f8faf6;
  padding: 13px 9px;
  border-radius: 8px;
  margin-bottom: 8px;
}
.forecast-uncertain-title {
  font-size: 11px;
  color: #5e7062;
  font-weight: 600;
  margin: 17px 0 6px !important;
}
.forecast-months {
  display: grid;
  gap: 6px;
  padding: 9px 0;
  font-size: 10px;
}
.forecast-months > span {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.forecast-changes {
  border-left: 2px solid #c9ddc7;
  padding-left: 10px;
  margin-top: 12px;
  font-size: 10px;
  line-height: 1.65;
  color: #637869;
}
.forecast-changes p {
  margin-bottom: 8px !important;
}
.forecast-summary {
  padding: 4px 16px 0;
  margin-top: 23px;
  background: #edf7ed;
  border: 1px solid #dce8dc;
  border-radius: 15px;
}
.forecast-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 9px;
  border-bottom: 1px solid #dae6d9;
  padding: 16px 0;
  font-size: 12px;
  color: var(--ink);
}
.forecast-total-row small,
.forecast-final small {
  display: block;
  font-size: 10px;
  color: #718073;
  font-weight: 400;
  margin-top: 4px;
}
.forecast-total-row .forecast-amount {
  margin-left: auto;
  font-size: 17px;
}
.forecast-final {
  padding: 20px 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}
.forecast-final .forecast-ending-balance {
  display: block;
  font-size: clamp(26px, 8vw, 35px);
  line-height: 1.25;
  letter-spacing: -0.8px;
  margin-top: 13px;
  white-space: normal;
  overflow-wrap: anywhere;
}
.forecast-footnote {
  font-size: 10px;
  line-height: 1.7;
  color: #7b877c;
  margin: 13px 2px 0 !important;
}
.forecast-excluded {
  font-size: 10px;
  line-height: 1.7;
  color: #6e7c70;
  background: #f5f8f2;
  border-radius: 9px;
  padding: 12px;
  margin: 12px 0;
}
.forecast-excluded p {
  margin-bottom: 9px !important;
}
.forecast-excluded p:last-child {
  margin-bottom: 0 !important;
}
@media (max-width: 360px) {
  .forecast-group summary {
    grid-template-columns: minmax(0, 1fr) 15px;
    gap: 7px;
  }
  .forecast-group-title {
    grid-column: 1;
  }
  .forecast-group summary > .forecast-amount {
    grid-row: 2;
    grid-column: 1;
  }
  .forecast-group .forecast-chevron {
    grid-row: 1 / 3;
    grid-column: 2;
  }
}
