:root {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #162921;
  background: #f7f9f6;
  font-synthesis: none;
  --green: #167452;
  --deep: #114e3a;
  --muted: #6c7b75;
  --line: #e5ebe5;
  --red: #b93848;
  --orange: #a45d12;
  --soft: #edf5eb;
  --shadow: 0 5px 22px #203e2810;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: var(--green);
  text-decoration: none;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #d8a238;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3,
.money,
.brand {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
h1 {
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -1.4px;
  font-weight: 800;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 16px;
}
p {
  line-height: 1.6;
}
small,
.small {
  font-size: 12px;
}
.muted {
  color: var(--muted);
}
.icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}
.logo-mark {
  display: inline-flex;
  width: 39px;
  height: 39px;
  border-radius: 12px;
  color: #fff;
  background: var(--green);
  align-items: center;
  justify-content: center;
}
.logo-mark .icon {
  width: 26px;
  height: 26px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -1px;
}
.brand span:last-child {
  color: #1b294b;
}
.brand-symbol {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 12px;
  flex-shrink: 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 12px 17px;
  min-height: 44px;
  font-weight: 600;
  font-size: 13px;
  background: var(--green);
  color: #fff;
  transition: background 0.15s;
}
.button:hover {
  background: var(--deep);
}
.button.secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--deep);
}
.button.secondary:hover {
  background: #f1f6ef;
}
.button.ghost {
  background: transparent;
  color: var(--green);
}
.button.danger {
  background: #b43b48;
}
.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: none;
  color: var(--muted);
  padding: 7px 0;
  font-size: 12px;
  min-height: 36px;
}
.text-button .icon {
  width: 15px;
  height: 15px;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.between {
  justify-content: space-between;
}
.wrap {
  flex-wrap: wrap;
}
.stack {
  display: grid;
  gap: 18px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 7px;
  background: #edf4eb;
  color: #3b7352;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 8px;
  white-space: nowrap;
}
.pill.red {
  background: #fce8e9;
  color: var(--red);
}
.pill.orange {
  background: #fff0dc;
  color: var(--orange);
}
.pill.neutral {
  background: #f0f2f0;
  color: #64716b;
}
.shell {
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  width: 228px;
  inset: 0 auto 0 0;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 35px 23px 23px;
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.sidebar .brand {
  padding: 0 5px;
}
.nav-label {
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 1.8px;
  color: #9aa69e;
  margin: 49px 15px 15px;
}
.nav {
  display: grid;
  gap: 8px;
}
.nav a {
  display: flex;
  gap: 13px;
  align-items: center;
  color: #758079;
  padding: 14px 16px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 500;
}
.nav a.active {
  background: #eaf3e8;
  color: var(--green);
  font-weight: 700;
}
.nav a:hover {
  background: #f1f6ef;
}
.sidebar-bottom {
  margin-top: auto;
  display: grid;
  gap: 16px;
}
.trial-note {
  padding: 17px 15px;
  background: #f8f8f0;
  border: 1px solid #eeeedd;
  border-radius: 12px;
}
.trial-note p {
  font-size: 11px;
  color: #7b836d;
  margin: 6px 0 10px;
}
.trial-note strong {
  font-size: 12px;
}
.sidebar-footer {
  font-size: 10px;
  color: #8b968e;
  text-align: center;
}
.workspace {
  grid-column: 2;
}
.topbar {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 0 40px;
  background: #fafcf9;
}
.breadcrumb {
  font-size: 12px;
  color: #839087;
}
.breadcrumb strong {
  font-weight: 500;
  color: #3d5145;
}
.top-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3f9966;
  margin-right: 6px;
}
.sync-label {
  font-size: 10px;
  color: #76857c;
}
.avatar {
  height: 36px;
  width: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e9f0e6;
  color: #3d7352;
  font-weight: 600;
  font-size: 12px;
  border: 1px solid #dfe8db;
}
.content {
  max-width: 1190px;
  margin: auto;
  padding: 33px 40px 40px;
}
.heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 25px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #82917f;
  font-weight: 600;
  margin-bottom: 8px;
}
.heading h1 {
  font-size: 30px;
}
.heading p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 7px;
}
.heading .button {
  padding: 11px 15px;
  font-size: 12px;
}
.demo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #dfe9db;
  border-radius: 9px;
  background: #f0f5ed;
  color: #52694d;
  padding: 8px 12px;
  font-size: 10px;
  margin-bottom: 22px;
}
.demo-banner button {
  padding: 0;
  min-height: 27px;
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  border: 0;
  background: none;
}
.alert {
  padding: 13px 16px;
  border-radius: 11px;
  background: #fff2dd;
  border: 1px solid #f0dbb6;
  color: #815315;
  font-size: 12px;
  line-height: 1.6;
}
.alert.danger {
  background: #fceced;
  border-color: #f4d3d6;
  color: #9b3442;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(280px, 1fr);
  gap: 23px;
}
.main-column,
.side-column {
  display: grid;
  gap: 21px;
  align-content: start;
}
.card {
  background: white;
  border: 1px solid #e9eee7;
  border-radius: 17px;
  box-shadow: var(--shadow);
  padding: 23px;
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 19px;
}
.card-header h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
}
.card-header h2 .icon {
  color: var(--green);
  width: 20px;
}
.hero-budget {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #e0ebdb;
  border-radius: 18px;
  background: linear-gradient(110deg, #edf5e9, #f2f8ef 70%);
  min-height: 214px;
  padding: 27px 28px;
}
.hero-top {
  display: flex;
  align-items: center;
  gap: 11px;
}
.round-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #dfeedd;
  color: var(--green);
}
.round-icon.blue {
  background: #e7f3fc;
  color: #328cbd;
}
.round-icon.purple {
  background: #eeebfa;
  color: #7b60c9;
}
.round-icon.orange {
  background: #fff0db;
  color: #b17a25;
}
.round-icon.red {
  background: #fce8e6;
  color: #ce6b68;
}
.round-icon.teal {
  background: #e2f5ef;
  color: #3f9d86;
}
.hero-top p {
  font-size: 13px;
  font-weight: 500;
  color: #355841;
}
.hero-budget .big-money {
  font-size: 49px;
  letter-spacing: -2px;
  font-weight: 800;
  color: var(--green);
  line-height: 1.3;
  margin: 4px 0 0 58px;
}
.hero-budget .sub {
  margin: 2px 0 0 59px;
  font-size: 10px;
  color: #758b74;
}
.hero-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #637d60;
  border-top: 1px solid #dce8d7;
  margin-top: 22px;
  padding-top: 12px;
  font-size: 10px;
  max-width: 80%;
}
.hero-foot .icon {
  width: 13px;
  height: 13px;
}
.plant {
  position: absolute;
  width: 145px;
  height: 175px;
  right: -4px;
  bottom: -2px;
  z-index: -1;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
  margin-top: 14px;
}
.metric {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px 13px;
}
.metric .round-icon {
  width: 31px;
  height: 31px;
  border-radius: 9px;
}
.metric .round-icon .icon {
  width: 17px;
  height: 17px;
}
.metric p {
  font-size: 10px;
  color: var(--muted);
  margin: 9px 0 2px;
}
.metric strong {
  font-size: 19px;
  letter-spacing: -0.7px;
  display: block;
}
.metric small {
  font-size: 9px;
  color: #8b978c;
}
.tasks {
  display: grid;
  gap: 9px;
}
.task {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 12px;
  border-radius: 10px;
  background: #f7f8f6;
  min-height: 67px;
}
.task.important {
  background: #fff1f0;
}
.task.medium {
  background: #fff7eb;
}
.task.done {
  background: #eff6ed;
}
.task-check {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.8px solid #8d9990;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  padding: 0;
}
.task.important .task-check {
  border-color: #cf757b;
  color: #bc4558;
}
.task.medium .task-check {
  border-color: #d1a35b;
}
.task.done .task-check {
  border: 0;
  background: #34835d;
  color: white;
}
.task-check .icon {
  width: 16px;
  height: 16px;
}
.task-body {
  flex: 1;
  min-width: 0;
}
.task strong {
  font-size: 12px;
  font-weight: 500;
  display: block;
  line-height: 1.6;
}
.task.done strong {
  color: var(--green);
}
.task p {
  font-size: 10px;
  color: var(--muted);
}
.task .pill {
  font-size: 9px;
  padding: 4px 7px;
}
.card-footer {
  border-top: 1px solid #f0f3ee;
  margin-top: 15px;
  padding-top: 11px;
}
.card-footer .text-button {
  font-size: 11px;
  color: var(--green);
}
.suggestion {
  background: linear-gradient(120deg, #fffbf0, #fffdf5);
  border-color: #f0e8ce;
  position: relative;
  overflow: hidden;
  box-shadow: none;
  padding: 20px 21px;
}
.suggestion h2 {
  font-size: 14px;
}
.suggestion .round-icon {
  width: 33px;
  height: 33px;
  background: #fff0c9;
  color: #b98a2e;
}
.suggestion p {
  font-size: 11px;
  margin: 12px 0 0;
  color: #707763;
  max-width: 85%;
}
.suggestion p strong {
  color: var(--green);
}
.upcoming {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid #f1f3ef;
}
.upcoming:last-child {
  border: 0;
  padding-bottom: 0;
}
.upcoming .round-icon {
  width: 37px;
  height: 37px;
  border-radius: 11px;
}
.upcoming .round-icon .icon {
  width: 18px;
  height: 18px;
}
.upcoming strong {
  font-size: 11px;
  font-weight: 500;
}
.upcoming p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
}
.upcoming .price {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  text-align: right;
}
.goal-mini {
  background: #f7faf5;
  border: 1px solid #eaf0e5;
  border-radius: 12px;
  padding: 16px;
}
.goal-mini .round-icon {
  width: 36px;
  height: 36px;
}
.goal-mini strong {
  font-size: 12px;
}
.goal-mini p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
}
.progress {
  height: 7px;
  border-radius: 20px;
  background: #e9eee7;
  overflow: hidden;
}
.progress > span {
  display: block;
  height: 100%;
  border-radius: 20px;
  background: #5aaa78;
  max-width: 100%;
}
.progress.orange > span {
  background: #e6b257;
}
.progress.red > span {
  background: #d27b80;
}
.progress.purple > span {
  background: #ac99d8;
}
.progress.blue > span {
  background: #86bad8;
}
.progress.teal > span {
  background: #8bcbbb;
}
.goal-mini .progress {
  margin: 17px 0 8px;
}
.goal-mini .between {
  font-size: 10px;
}
.daily-note {
  font-size: 10px;
  padding: 15px;
  color: #82907e;
  border: 1px dashed #dfe6d8;
  border-radius: 12px;
  text-align: center;
}
.bottom-nav {
  display: none;
}
.page-foot {
  font-size: 9px;
  color: #9aa596;
  display: flex;
  justify-content: space-between;
  margin-top: 28px;
}
.period {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 4px;
  background: #fff;
  gap: 4px;
}
.period button {
  border: 0;
  background: none;
  border-radius: 7px;
  padding: 8px 19px;
  font-size: 11px;
  color: var(--muted);
  min-height: 34px;
}
.period button.selected {
  background: #e8f2e4;
  color: #315a3b;
  font-weight: 700;
}
.budget-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 22px;
}
.income-hero {
  grid-column: 1/-1;
}
.income-hero .hero-budget {
  padding-bottom: 22px;
}
.income-types {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}
.income-type {
  border: 1px solid #e5ece0;
  background: #ffffffd9;
  border-radius: 11px;
  padding: 14px;
  text-align: center;
}
.income-type .round-icon {
  width: 32px;
  height: 32px;
  margin: 0 auto 7px;
}
.income-type .round-icon .icon {
  width: 17px;
  height: 17px;
}
.income-type p {
  font-size: 10px;
  color: #53694f;
}
.income-type strong {
  font-size: 16px;
}
.envelope {
  display: grid;
  grid-template-columns: 30px 95px 1fr 72px;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
}
.envelope .round-icon {
  width: 30px;
  height: 30px;
}
.envelope .round-icon .icon {
  width: 16px;
  height: 16px;
}
.envelope .name {
  font-size: 11px;
}
.envelope .value {
  text-align: right;
  font-size: 11px;
  font-weight: 600;
}
.envelope .value small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 3px;
}
.transactions {
  display: grid;
  gap: 0;
}
.transaction {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #f0f3ed;
  padding: 13px 0;
}
.transaction:last-child {
  border: 0;
}
.transaction button {
  border: 0;
  background: none;
  text-align: left;
  padding: 0;
  flex: 1;
  min-height: 34px;
}
.transaction strong {
  font-size: 11px;
}
.transaction p {
  font-size: 9px;
  color: var(--muted);
}
.transaction .price {
  font-size: 12px;
  font-weight: 600;
}
.transaction.income .price {
  color: var(--green);
}
.transaction .round-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}
.filters {
  display: flex;
  gap: 7px;
  margin-bottom: 14px;
}
.filters input,
.filters select {
  font-size: 10px;
  padding: 8px;
  min-height: 35px;
  width: 100%;
  min-width: 0;
}
.empty {
  text-align: center;
  padding: 25px 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.empty .icon {
  display: block;
  width: 31px;
  height: 31px;
  margin: 0 auto 12px;
  color: #92ad8b;
}
.empty .button {
  margin-top: 13px;
}
.goal-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 22px;
}
.featured-goal {
  padding: 28px;
  background: linear-gradient(115deg, #f0f6ed, #f7faf4);
  position: relative;
  overflow: hidden;
}
.featured-goal .target {
  font-size: 43px;
  color: var(--green);
  font-weight: 800;
  letter-spacing: -2px;
  margin: 10px 0 26px;
}
.featured-goal h2 {
  font-size: 22px;
  margin-top: 7px;
}
.featured-goal .plant {
  bottom: 75px;
  opacity: 0.6;
}
.featured-goal .progress {
  margin: 14px 0;
  height: 11px;
}
.featured-goal p {
  font-size: 11px;
  color: var(--muted);
}
.goal-list-card {
  display: grid;
  gap: 14px;
  align-content: start;
}
.goal-row {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}
.goal-row .progress {
  margin: 16px 0 8px;
}
.goal-row h3 {
  font-size: 13px;
}
.goal-row .money {
  font-size: 17px;
  font-weight: 750;
}
.projection {
  background: #edf5fa;
  border-color: #e0edf5;
  box-shadow: none;
}
.projection p {
  font-size: 12px;
  color: #657e88;
  margin-top: 12px;
}
.projection h2 {
  font-size: 22px;
  margin: 8px 0;
}
.shopping-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 22px;
}
.list-select {
  width: 100%;
  border: 0;
  background: none;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #213f2e;
  padding: 0;
}
.shop-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f3ed;
}
.shop-item.checked strong {
  text-decoration: line-through;
  color: #879182;
}
.shop-item .task-check {
  width: 21px;
  height: 21px;
  border-radius: 6px;
}
.shop-item.checked .task-check {
  background: var(--green);
  color: #fff;
  border: 0;
}
.shop-item strong {
  font-size: 12px;
  font-weight: 500;
}
.shop-item p {
  font-size: 10px;
  color: var(--muted);
}
.shop-item .price {
  font-size: 11px;
  margin-left: auto;
}
.tiny-delete {
  border: 0;
  background: none;
  padding: 6px;
  color: #879287;
  min-width: 28px;
  min-height: 32px;
}
.tiny-delete .icon {
  width: 14px;
  height: 14px;
}
.simulation label {
  font-size: 11px;
}
.simulation h2 {
  font-size: 16px;
  margin-bottom: 18px;
}
.simulation .result {
  margin-top: 18px;
}
.simulation .money {
  font-size: 30px;
  font-weight: 800;
  color: var(--green);
}
.simulation p {
  font-size: 11px;
  color: var(--muted);
}
.account-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.account-list {
  display: grid;
  gap: 0;
}
.account-list > button,
.account-list > a {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  background: none;
  text-align: left;
  font-size: 12px;
}
.account-list > button:last-child {
  border: 0;
}
.account-list .icon {
  color: var(--green);
  width: 19px;
}
.account-list span {
  flex: 1;
}
.account-list .chevron {
  width: 14px;
  color: var(--muted);
}
.settings-summary {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.settings-summary strong {
  color: #254532;
}
.stats-bars {
  height: 150px;
  display: flex;
  gap: 18px;
  align-items: flex-end;
  padding: 20px 0 25px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 23px;
}
.stats-bar {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  color: var(--muted);
}
.stats-bar > span {
  width: 70%;
  min-height: 2px;
  border-radius: 6px 6px 0 0;
  background: #a7c7a0;
}
.stats-bar small {
  font-size: 8px;
}
.skip {
  position: fixed;
  left: 10px;
  top: -80px;
  z-index: 200;
  background: var(--green);
  color: #fff;
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
.loading {
  display: grid;
  place-items: center;
  min-height: 90vh;
  color: var(--muted);
  font-size: 14px;
}
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  background: #254735;
  color: #fff;
  padding: 13px 22px;
  border-radius: 12px;
  max-width: 90vw;
  box-shadow: 0 8px 35px #0002;
  font-size: 12px;
  display: none;
}
#toast.visible {
  display: block;
}
dialog {
  width: min(485px, calc(100% - 28px));
  border: 1px solid var(--line);
  border-radius: 19px;
  padding: 0;
  box-shadow: 0 25px 100px #10251d33;
  color: #24392b;
  background: #fff;
  max-height: 90dvh;
}
dialog::backdrop {
  background: #17322355;
  backdrop-filter: blur(4px);
}
.modal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 23px 25px 15px;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.modal-top h2 {
  font-size: 21px;
}
.modal-top button {
  border: 0;
  background: #f2f5ee;
  border-radius: 50%;
  width: 31px;
  height: 31px;
}
.modal-top .icon {
  width: 16px;
  height: 16px;
}
.modal-body {
  padding: 0 25px 24px;
}
.modal-body p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}
.field {
  display: grid;
  gap: 6px;
  margin: 13px 0;
}
.field > label {
  font-size: 11px;
  font-weight: 600;
  color: #4a6050;
}
input,
select,
textarea {
  border: 1px solid #dce5d8;
  background: #fdfefd;
  border-radius: 9px;
  padding: 11px 12px;
  color: #274231;
  min-height: 43px;
  width: 100%;
}
input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: auto;
  accent-color: var(--green);
}
textarea {
  resize: vertical;
  min-height: 75px;
}
input::placeholder {
  color: #9ba898;
}
.field-hint {
  font-size: 10px;
  color: #83917e;
  line-height: 1.6;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 13px;
}
.form-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 23px;
}
.form-error {
  display: none;
  background: #fceeed;
  color: #a33c49;
  padding: 11px;
  border-radius: 9px;
  font-size: 12px;
  margin: 12px 0;
}
.check-label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 11px;
  line-height: 1.65;
  color: #5c715c;
  margin-top: 13px;
}
.check-label input {
  flex-shrink: 0;
  margin-top: 3px;
}
.public {
  background: #fbfcf9;
  min-height: 100vh;
}
.public-nav {
  max-width: 1150px;
  margin: auto;
  padding: 25px 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.public-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 12px;
}
.public-links a {
  color: #64795f;
}
.public-links .button {
  color: #fff;
}
.landing-hero {
  max-width: 1080px;
  margin: 40px auto 85px;
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: center;
  gap: 80px;
  padding: 20px 35px;
}
.landing-hero h1 {
  font-size: 53px;
  line-height: 1.15;
  letter-spacing: -2.7px;
  margin: 20px 0;
}
.landing-hero h1 em {
  font-style: normal;
  color: var(--green);
}
.landing-hero p {
  font-size: 14px;
  color: #71836c;
  max-width: 400px;
}
.landing-hero .row {
  margin-top: 25px;
}
.landing-hero small {
  font-size: 10px;
  color: #91a08b;
  display: block;
  margin-top: 15px;
}
.landing-preview {
  background: #fff;
  padding: 23px;
  border-radius: 25px;
  box-shadow: 0 25px 65px #55784818;
  border: 1px solid #e4ecde;
  transform: rotate(2deg);
}
.landing-preview .hero-budget {
  min-height: 185px;
  padding: 23px;
}
.landing-preview .hero-budget .big-money {
  font-size: 42px;
}
.landing-preview > p {
  font-size: 12px;
  font-weight: 600;
  margin: 0 0 15px;
  color: #354d34;
}
.landing-preview .task {
  margin-top: 10px;
}
.feature-strip {
  max-width: 1080px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto 65px;
  padding: 0 35px;
  gap: 40px;
}
.feature-strip .round-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  margin-bottom: 14px;
}
.feature-strip h3 {
  font-size: 14px;
  margin-bottom: 7px;
}
.feature-strip p {
  font-size: 12px;
  color: var(--muted);
}
.public-section {
  max-width: 1000px;
  margin: auto;
  padding: 45px 35px 65px;
}
.public-section > h1 {
  font-size: 35px;
  text-align: center;
  margin-bottom: 15px;
}
.public-section > p {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 30px;
}
.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 23px;
  max-width: 700px;
  margin: 30px auto;
}
.price-card {
  padding: 30px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 18px;
}
.price-card.featured {
  border-color: #87ad7f;
  background: #f5f9f0;
}
.price-card h2 {
  font-size: 15px;
  margin-bottom: 20px;
}
.price-card .amount {
  font-size: 36px;
  letter-spacing: -1.5px;
  font-weight: 800;
  color: var(--green);
}
.price-card .amount span {
  font-size: 12px;
  letter-spacing: 0;
  color: var(--muted);
  font-weight: 400;
}
.price-card p {
  font-size: 11px;
  color: var(--muted);
  margin: 15px 0 24px;
}
.price-card .button {
  width: 100%;
}
.public-foot {
  border-top: 1px solid var(--line);
  max-width: 1080px;
  margin: 30px auto 0;
  padding: 25px 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  color: #8a9883;
}
.public-foot .row {
  gap: 18px;
}
.prose {
  max-width: 740px;
  margin: auto;
  font-size: 13px;
  line-height: 1.8;
  color: #5e725b;
}
.prose h2 {
  font-size: 17px;
  color: #23462f;
  margin: 26px 0 10px;
}
.prose ul,
.prose ol {
  padding-left: 22px;
}
.prose .alert {
  margin-bottom: 20px;
}
.auth-card {
  max-width: 430px;
  margin: 20px auto 60px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 30px;
  border-radius: 18px;
}
.auth-card h1 {
  font-size: 27px;
  margin-bottom: 8px;
}
.auth-card p {
  font-size: 12px;
  color: var(--muted);
}
.auth-card .button {
  width: 100%;
}
.auth-card .switch {
  text-align: center;
  font-size: 11px;
  margin-top: 19px;
}
.subnav {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.subnav .button {
  font-size: 11px;
  padding: 8px 12px;
}
.notice {
  font-size: 11px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 15px;
  line-height: 1.7;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}
.data-table td,
.data-table th {
  padding: 12px 8px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.data-table th {
  color: var(--muted);
  font-weight: 500;
}
.review {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.review p {
  font-size: 13px;
}
.review small {
  font-size: 10px;
  color: var(--muted);
}
@media (min-width: 1450px) {
  .content {
    padding-top: 42px;
  }
  .dashboard-grid {
    gap: 27px;
  }
  .main-column,
  .side-column {
    gap: 24px;
  }
  .hero-budget {
    min-height: 236px;
    padding-top: 31px;
  }
  .hero-budget .big-money {
    font-size: 55px;
  }
  .task {
    min-height: 74px;
  }
  .card {
    padding: 25px;
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 190px;
    padding: 30px 14px;
  }
  .shell {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .content {
    padding: 28px 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .dashboard-grid {
    grid-template-columns: 1.3fr 1fr;
    gap: 16px;
  }
  .metric {
    padding: 13px 10px;
  }
  .metric strong {
    font-size: 16px;
  }
  .card {
    padding: 18px;
  }
  .envelope {
    grid-template-columns: 27px 77px 1fr 64px;
    gap: 7px;
  }
  .landing-hero {
    gap: 40px;
  }
  .landing-hero h1 {
    font-size: 44px;
  }
}
@media (max-width: 850px) {
  .sidebar {
    width: 84px;
    padding: 30px 12px;
  }
  .shell {
    grid-template-columns: 84px minmax(0, 1fr);
  }
  .sidebar .brand {
    justify-content: center;
    padding: 0;
  }
  .sidebar .brand > span:last-child,
  .nav-label,
  .nav a span,
  .sidebar-bottom {
    display: none;
  }
  .nav {
    margin-top: 46px;
    gap: 13px;
  }
  .nav a {
    justify-content: center;
    padding: 14px;
  }
  .dashboard-grid,
  .budget-layout,
  .goal-grid,
  .shopping-layout {
    grid-template-columns: 1fr 1fr;
  }
  .heading h1 {
    font-size: 27px;
  }
  .heading .eyebrow {
    font-size: 9px;
  }
  .topbar {
    height: 68px;
  }
  .hero-budget .big-money {
    font-size: 42px;
  }
  .hero-budget {
    padding: 22px 20px;
  }
  .hero-budget .sub {
    font-size: 9px;
  }
  .metric-grid {
    gap: 7px;
  }
  .metric strong {
    font-size: 14px;
  }
  .metric p {
    font-size: 9px;
  }
  .metric small {
    font-size: 8px;
  }
  .task {
    gap: 8px;
    padding: 11px 8px;
  }
  .task .pill {
    font-size: 8px;
  }
  .task strong {
    font-size: 11px;
  }
  .task p {
    font-size: 9px;
  }
  .hero-top p {
    font-size: 11px;
  }
  .hero-foot {
    font-size: 9px;
  }
  .card-header h2 {
    font-size: 14px;
  }
  .landing-hero {
    gap: 25px;
  }
  .landing-hero h1 {
    font-size: 39px;
  }
  .public-nav {
    padding: 20px 25px;
  }
  .public-links {
    gap: 16px;
  }
  .public-links a {
    font-size: 11px;
  }
}
@media (max-width: 700px) {
  body {
    background: #fcfdfa;
  }
  .shell {
    display: block;
  }
  .sidebar,
  .topbar {
    display: none;
  }
  .workspace {
    display: block;
  }
  .content {
    padding: 24px 20px 115px;
    max-width: 520px;
  }
  .heading {
    margin: 8px 0 23px;
    align-items: flex-start;
  }
  .heading h1 {
    font-size: 31px;
    letter-spacing: -1.3px;
  }
  .heading p {
    font-size: 12px;
    line-height: 1.65;
    max-width: 300px;
  }
  .heading .eyebrow {
    display: none;
  }
  .heading .desktop-action {
    display: none;
  }
  .mobile-avatar {
    display: inline-flex !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #edf4e9;
    border: 0;
    color: #52805e;
    align-items: center;
    justify-content: center;
  }
  .mobile-avatar .icon {
    width: 22px;
    height: 22px;
  }
  .demo-banner {
    margin-bottom: 20px;
    font-size: 9px;
  }
  .demo-banner button {
    font-size: 9px;
    min-width: 75px;
  }
  .dashboard-grid,
  .budget-layout,
  .goal-grid,
  .shopping-layout,
  .account-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hero-budget {
    padding: 22px 21px;
    min-height: 205px;
    border-radius: 19px;
  }
  .hero-top p {
    font-size: 13px;
  }
  .hero-budget .big-money {
    font-size: 48px;
    margin-left: 57px;
  }
  .hero-budget .sub {
    font-size: 10px;
    margin-left: 58px;
    max-width: 240px;
  }
  .hero-foot {
    font-size: 9px;
    margin-top: 18px;
    padding-top: 12px;
  }
  .hero-budget .plant {
    width: 112px;
    height: 145px;
    opacity: 0.8;
  }
  .round-icon {
    width: 45px;
    height: 45px;
  }
  .metric-grid {
    gap: 8px;
    margin-top: 13px;
  }
  .metric {
    padding: 14px 10px;
    border-radius: 13px;
    min-height: 120px;
  }
  .metric .round-icon {
    width: 29px;
    height: 29px;
  }
  .metric p {
    font-size: 9px;
    margin-top: 9px;
  }
  .metric strong {
    font-size: 17px;
    white-space: nowrap;
  }
  .metric small {
    font-size: 8px;
  }
  .card {
    padding: 19px;
    border-radius: 18px;
  }
  .card-header h2 {
    font-size: 17px;
  }
  .card-header {
    margin-bottom: 17px;
  }
  .text-button {
    font-size: 11px;
  }
  .task {
    gap: 12px;
    min-height: 73px;
    padding: 12px 11px;
  }
  .task strong {
    font-size: 12px;
  }
  .task p {
    font-size: 10px;
  }
  .task .pill {
    font-size: 8px;
  }
  .task-check {
    width: 25px;
    height: 25px;
  }
  .suggestion p {
    font-size: 12px;
    max-width: 95%;
  }
  .suggestion {
    padding: 20px;
  }
  .side-column {
    gap: 20px;
  }
  .daily-note {
    display: none;
  }
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 20;
    background: #fffffff5;
    backdrop-filter: blur(15px);
    border-top: 1px solid #edf0e8;
    padding: 10px 12px max(12px, env(safe-area-inset-bottom));
    justify-content: space-around;
    box-shadow: 0 -5px 25px #354f2110;
  }
  .bottom-nav a {
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #8a958a;
    min-width: 65px;
    padding: 3px 0 9px;
    font-size: 10px;
  }
  .bottom-nav a .icon {
    width: 24px;
    height: 24px;
  }
  .bottom-nav a.active {
    color: var(--green);
    font-weight: 700;
  }
  .bottom-nav a.active:after {
    content: "";
    width: 31px;
    height: 3px;
    border-radius: 5px;
    background: var(--green);
    position: absolute;
    bottom: 0;
  }
  .page-foot {
    font-size: 8px;
    gap: 15px;
    line-height: 1.6;
  }
  .period {
    width: 100%;
    margin-bottom: 16px;
  }
  .period button {
    flex: 1;
  }
  .income-types {
    gap: 6px;
  }
  .income-type {
    padding: 12px 6px;
  }
  .income-type strong {
    font-size: 14px;
  }
  .income-type p {
    font-size: 9px;
  }
  .envelope {
    grid-template-columns: 33px 88px 1fr 76px;
    gap: 8px;
  }
  .envelope .name {
    font-size: 11px;
  }
  .envelope .value {
    font-size: 11px;
  }
  .featured-goal h2 {
    font-size: 24px;
  }
  .featured-goal .target {
    font-size: 44px;
  }
  .landing-hero {
    display: block;
    margin: 30px auto 45px;
    padding: 0 25px;
  }
  .landing-hero h1 {
    font-size: 43px;
    max-width: 390px;
  }
  .landing-hero p {
    font-size: 13px;
  }
  .landing-preview {
    margin: 40px 0 0;
    transform: none;
  }
  .public-nav {
    padding: 20px;
  }
  .public-nav .brand {
    font-size: 20px;
  }
  .public-links {
    gap: 14px;
  }
  .public-links .extra {
    display: none;
  }
  .public-links .button {
    padding: 9px 12px;
    font-size: 11px;
  }
  .feature-strip {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0 25px;
    margin-bottom: 20px;
  }
  .feature-strip > div {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 0 14px;
  }
  .feature-strip .round-icon {
    grid-row: 1/3;
  }
  .feature-strip p {
    font-size: 11px;
  }
  .public-section {
    padding: 30px 22px;
  }
  .public-section > h1 {
    font-size: 29px;
  }
  .pricing {
    gap: 13px;
  }
  .price-card {
    padding: 23px 18px;
  }
  .price-card .amount {
    font-size: 28px;
  }
  .price-card .amount span {
    font-size: 10px;
  }
  .price-card .button {
    font-size: 11px;
    padding: 10px;
  }
  .public-foot {
    display: block;
    text-align: center;
    padding: 24px 20px;
  }
  .public-foot .row {
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 15px;
    font-size: 9px;
    gap: 15px;
  }
  .auth-card {
    padding: 25px;
    margin: 10px auto 30px;
  }
  #toast {
    bottom: 98px;
  }
  .filters {
    flex-wrap: wrap;
  }
  .filters input {
    flex: 1 1 100%;
  }
  .filters select {
    flex: 1;
  }
  .mobile-add {
    display: flex !important;
    width: 100%;
    margin-top: 14px;
  }
  .heading .button {
    font-size: 10px;
    padding: 10px;
  }
  .income-hero {
    grid-column: auto;
  }
  .public-section .card {
    padding: 20px;
  }
  .stats-bars {
    gap: 12px;
  }
}
.mobile-avatar,
.mobile-add {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.screen-gallery {
  max-width: 1080px;
  margin: 0 auto 65px;
  padding: 0 35px;
  text-align: center;
}
.screen-gallery > p {
  font-size: 11px;
  color: var(--muted);
  margin: 13px 0 24px;
}
.screen-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.screen-grid a {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--shadow);
}
.screen-grid img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
  aspect-ratio: 375/844;
  object-fit: cover;
  object-position: top;
}
.screen-grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 12px;
  padding: 17px;
}
.screen-grid .icon {
  width: 18px;
  height: 18px;
}
@media (max-width: 700px) {
  .screen-gallery {
    padding: 0 25px;
    margin-bottom: 45px;
  }
  .screen-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 13px;
  }
  .screen-grid span {
    padding: 11px;
    font-size: 10px;
  }
}

/* Short, one-shot feedback. Amounts and layout retain their real values. */
@keyframes yavilo-view-in {
  from { opacity:.65; transform:translateY(6px); }
  to { opacity:1; transform:translateY(0); }
}
@keyframes yavilo-card-in {
  from { opacity:.75; transform:translateY(4px); }
  to { opacity:1; transform:translateY(0); }
}
@keyframes yavilo-progress-in {
  from { transform:scaleX(0); }
  to { transform:scaleX(1); }
}
@keyframes yavilo-dialog-in {
  from { opacity:.6; transform:translateY(8px) scale(.99); }
  to { opacity:1; transform:translateY(0) scale(1); }
}
@keyframes yavilo-backdrop-in {
  from { opacity:0; }
  to { opacity:1; }
}
@keyframes yavilo-check-in {
  0%,100% { transform:scale(1); }
  45% { transform:scale(1.12); }
}
@keyframes yavilo-toast-in {
  from { opacity:0; transform:translate(-50%,6px); }
  to { opacity:1; transform:translate(-50%,0); }
}
#main[data-motion="enter"] { animation:yavilo-view-in 240ms ease-out both; }
#main[data-motion="enter"] :is(.card,.hero-budget,.goal-row,.metric-grid) {
  animation:yavilo-card-in 260ms ease-out both;
}
#main[data-motion="enter"] :is(.card,.goal-row):nth-child(2) { animation-delay:35ms; }
#main[data-motion="enter"] :is(.card,.goal-row):nth-child(n+3) { animation-delay:70ms; }
#main[data-motion="enter"] .progress > span {
  transform-origin:left center;
  animation:yavilo-progress-in 420ms ease-out 60ms both;
}
dialog[open] { animation:yavilo-dialog-in 180ms ease-out both; }
dialog[open]::backdrop { animation:yavilo-backdrop-in 160ms ease-out both; }
.task-completed .task-check { animation:yavilo-check-in 240ms ease-out; }
#toast.visible { animation:yavilo-toast-in 180ms ease-out both; }
button,.button { transition:background-color 140ms ease,color 140ms ease,box-shadow 140ms ease,transform 100ms ease; }
button:not(:disabled):active,.button:active { transform:scale(.98); }
@media (hover:hover) and (pointer:fine) {
  .button:not(:disabled):hover { transform:translateY(-1px); }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; }
  button:not(:disabled):active,.button:active,.button:not(:disabled):hover { transform:none; }
}
