@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: #f8f9f6;
  --white: #fff;
  --ink: #23352f;
  --muted: #88928c;
  --line: #e9ede7;
  --green: #315c49;
  --mint: #d7e7ce;
  --orange: #c4805a;
  --radius: 17px;
}
@media (min-width: 1100px) {
  .app { zoom: 0.9878; }
  main .page:not(#overview) { font-size: 1.08em; }
  main .page:not(#overview) .card,
  main .page:not(#overview) .table-card,
  main .page:not(#overview) .notes-list-panel { padding: 26px; }
  main .page:not(#overview) h3 { font-size: 16px; }
  main .page:not(#overview) .card-head p,
  main .page:not(#overview) .section-bar p,
  main .page:not(#overview) .muted { font-size: 12px; }
  main .page:not(#overview) input,
  main .page:not(#overview) select,
  main .page:not(#overview) textarea { min-height: 42px; font-size: 14px; }
  main .page:not(#overview) button.primary,
  main .page:not(#overview) button.secondary { min-height: 40px; }
  main .page:not(#overview) table th,
  main .page:not(#overview) table td { padding-top: 15px; padding-bottom: 15px; }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 14px;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  border: 0;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #87ad87;
  outline-offset: 3px;
}
button {
  transition:
    background 0.16s,
    transform 0.16s;
}
button:hover {
  filter: brightness(0.96);
}
button:active {
  transform: translateY(1px);
}
a {
  color: inherit;
  text-decoration: none;
}
[hidden] {
  display: none !important;
}
.app {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid var(--line);
  background: #fff;
  padding: 34px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.brand {
  display: flex;
  align-items: center;
  font-size: 31px;
  font-weight: 750;
  letter-spacing: -1.8px;
  padding: 0 13px;
}
.brand-mark {
  width: 32px;
  height: 34px;
  font-family: Georgia, serif;
  background: #315c49;
  border-radius: 10px;
  color: #e7f1d5;
  display: grid;
  place-items: center;
  font-size: 33px;
  margin-right: 8px;
  padding-bottom: 5px;
}
.brand-dot {
  color: #83a56c;
}
.workspace {
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 10px;
  margin: 33px 0 29px;
}
.workspace-icon {
  background: #edece4;
  color: #666c59;
  border-radius: 7px;
  width: 29px;
  height: 31px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}
.workspace b,
.profile b {
  display: block;
  font-size: 11px;
  font-weight: 650;
}
.workspace small,
.profile small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
}
.status-dot {
  width: 6px;
  height: 6px;
  background: #7da67c;
  border-radius: 50%;
  margin-left: auto;
}
.nav-caption {
  font-size: 9px;
  letter-spacing: 1.25px;
  color: #9da69c;
  font-weight: 650;
  padding-left: 13px;
  margin-bottom: 15px;
}
nav {
  display: grid;
  gap: 6px;
}
nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  color: #7f8981;
  height: 44px;
  border-radius: 8px;
  padding: 0 13px;
  font-size: 12px;
  text-align: left;
  font-weight: 550;
}
nav button > span {
  font-size: 20px;
  width: 21px;
  text-align: center;
  font-weight: 400;
}
nav button.active {
  background: #eaf0e6;
  color: #31523e;
  font-weight: 700;
}
nav button:hover {
  background: #f3f5ef;
}
.side-bottom {
  margin-top: auto;
  padding-top: 30px;
}
.side-note {
  background: #f5f6ef;
  border: 1px solid #eef0e4;
  border-radius: 13px;
  padding: 17px;
  position: relative;
  overflow: hidden;
}
.spark {
  color: #9dae80;
  display: block;
  font-size: 25px;
  margin-bottom: 8px;
}
.side-note b {
  font-family: Manrope, sans-serif;
  line-height: 1.6;
  font-size: 13px;
  font-weight: 750;
}
.side-note p {
  font-size: 10px;
  color: #949d8b;
  line-height: 1.7;
  margin-bottom: 37px;
}
.side-graphic {
  display: flex;
  align-items: flex-end;
  height: 50px;
  gap: 6px;
  position: absolute;
  right: 0;
  bottom: 0;
  transform: rotate(-8deg);
  opacity: 0.5;
}
.side-graphic i {
  height: 18px;
  width: 23px;
  background: #c0d2ad;
  border-radius: 5px 5px 0 0;
}
.side-graphic i:nth-child(2) {
  height: 29px;
}
.side-graphic i:nth-child(3) {
  height: 39px;
}
.side-graphic i:nth-child(4) {
  height: 53px;
}
.side-graphic i:nth-child(5) {
  height: 67px;
}
.settings-btn {
  display: flex;
  gap: 12px;
  background: transparent;
  color: #818b83;
  font-size: 17px;
  padding: 24px 11px 22px;
  align-items: center;
}
.settings-btn span {
  font-size: 12px;
}
.profile {
  display: flex;
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 19px 5px 0;
}
.avatar {
  background: #ece8dc;
  border: 3px solid #f6f3ec;
  color: #7c846c;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
}
main {
  min-width: 0;
}
.topbar {
  height: 76px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  background: #fbfcf9;
}
.breadcrumb {
  font-size: 11px;
  color: #939b96;
}
.breadcrumb span {
  margin: 0 13px;
  color: #c4c9c2;
}
.breadcrumb b {
  font-weight: 500;
  color: #5b685f;
}
.topright {
  display: flex;
  align-items: center;
  gap: 20px;
}
.saved {
  font-size: 10px;
  color: #929c92;
  display: flex;
  align-items: center;
  gap: 6px;
}
.saved i {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: #80a073;
}
.icon-btn {
  width: 27px;
  height: 27px;
  border: 1px solid #d9e0d6;
  background: transparent;
  color: #82917f;
  border-radius: 50%;
  font-size: 12px;
}
.content {
  padding: 31px 38px 23px;
  max-width: 1540px;
  margin: auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.eyebrow {
  font-size: 10px;
  color: #85917f;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  margin-bottom: 9px;
}
h1 {
  font-family: Manrope, sans-serif;
  letter-spacing: -1.2px;
  font-size: 29px;
  font-weight: 750;
  margin: 0 0 7px;
}
.page-heading p {
  color: #98a096;
  font-size: 12px;
  margin: 0;
}
.heading-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.primary,
.secondary {
  height: 39px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.primary {
  background: #315c49;
  color: #fff;
  box-shadow: 0 3px 6px #315c4914;
}
.primary > span {
  font-size: 19px;
  line-height: 1;
}
.secondary {
  background: white;
  border: 1px solid #dfe5dc;
  color: #65775e;
}
.month-picker {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #e1e6dd;
  border-radius: 8px;
  height: 39px;
  padding: 0 4px;
}
.month-picker button {
  background: transparent;
  color: #9aa593;
  width: 21px;
  height: 28px;
  font-size: 21px;
}
.month-picker input {
  border: 0;
  color: #5e6c59;
  background: transparent;
  font-size: 11px;
  max-width: 146px;
  outline: none;
}
.month-notice {
  padding: 11px 16px;
  margin-bottom: 20px;
  background: #edf0e6;
  border: 1px solid #e1e7d8;
  border-radius: 10px;
  font-size: 12px;
  color: #667555;
}
.month-notice button {
  background: transparent;
  color: #315c49;
  font-weight: 700;
}
.overview-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 19px;
}
.balance-card {
  min-height: 200px;
  background: #233f34;
  color: #eaf0e3;
  border-radius: var(--radius);
  padding: 22px 25px;
  position: relative;
  overflow: hidden;
}
.balance-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  letter-spacing: 1.3px;
  color: #bdccba;
  position: relative;
  z-index: 1;
}
.balance-icon {
  display: grid;
  place-items: center;
  border: 1px solid #6a85715c;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  font-size: 16px;
}
.balance {
  font-family: Manrope, sans-serif;
  font-size: 33px;
  font-weight: 650;
  letter-spacing: -1.7px;
  margin: 13px 0 7px;
  position: relative;
  z-index: 1;
}
.balance-card p {
  font-size: 10px;
  color: #b1c1ac;
  margin: 0;
  position: relative;
  z-index: 1;
}
.balance-footer {
  border-top: 1px solid #a0b79a26;
  margin-top: 23px;
  padding-top: 13px;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #afc1a9;
  position: relative;
  z-index: 1;
}
.light-dot,
.green-dot,
.orange-dot,
.pale-dot {
  display: inline-block;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  background: #aec58b;
  margin-right: 5px;
}
.green-dot {
  background: #587d63;
}
.orange-dot {
  background: #ca926c;
}
.pale-dot {
  background: #d4dfc4;
}
.balance-art {
  width: 250px;
  height: 250px;
  border: 1px solid #ffffff12;
  border-radius: 50%;
  position: absolute;
  right: -160px;
  top: -25px;
  box-shadow:
    0 0 0 25px #ffffff04,
    0 0 0 50px #ffffff04,
    0 0 0 75px #ffffff04;
}
.metric {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.metric-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.metric-icon {
  height: 32px;
  width: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 21px;
}
.metric-icon.income {
  background: #edf3e7;
  color: #66825d;
}
.metric-icon.expense {
  background: #faf0e7;
  color: #bf8a61;
}
.mini-label {
  color: #a5aca0;
  font-size: 8px;
  letter-spacing: 1.2px;
}
.metric p {
  font-size: 11px;
  color: #8d988a;
  margin: 17px 0 6px;
}
.metric h2 {
  font-family: Manrope, sans-serif;
  font-size: 27px;
  font-weight: 650;
  letter-spacing: -1.3px;
  margin: 0 0 14px;
}
.metric-foot {
  display: flex;
  align-items: center;
  color: #9ea696;
  font-size: 9px;
  gap: 1px;
}
.middle-grid {
  display: grid;
  grid-template-columns: 1.62fr 1fr;
  gap: 20px;
  margin-top: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 23px;
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 23px;
}
h3 {
  font-family: Manrope, sans-serif;
  letter-spacing: -0.3px;
  font-size: 14px;
  font-weight: 750;
  margin: 0;
}
.card-head p {
  font-size: 10px;
  color: #99a292;
  margin: 6px 0 0;
}
.legend {
  display: flex;
  gap: 13px;
  font-size: 9px;
  color: #8b9880;
}
.legend > span {
  white-space: nowrap;
}
.legend i {
  width: 6px;
  height: 6px;
}
.chart {
  height: 196px;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
}
.axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 9px;
  color: #a6ad9f;
  padding-bottom: 25px;
}
.bars-area {
  display: flex;
  gap: 21px;
  align-items: end;
  height: 100%;
  padding: 0 12px 25px;
  position: relative;
  background: repeating-linear-gradient(
    to top,
    transparent 0px,
    transparent 42px,
    #f0f3ec 43px,
    #f0f3ec 44px
  );
}
.bar-pair {
  height: 100%;
  flex: 1;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 5px;
  position: relative;
  min-width: 0;
}
.bar {
  width: 20px;
  max-width: 40%;
  min-height: 2px;
  border-radius: 5px 5px 0 0;
  background: #dce5cd;
  transition: height 0.6s;
}
.bar.in {
  background: #597f65;
}
.bar-label {
  position: absolute;
  bottom: -22px;
  font-size: 9px;
  color: #97a18d;
  white-space: nowrap;
}
.chart-insight {
  border-top: 1px solid #f0f2eb;
  padding-top: 14px;
  margin-top: 16px;
  font-size: 10px;
  color: #8d9a80;
}
.small-icon {
  font-size: 20px;
  color: #9aaa88;
}
.donut-area {
  display: flex;
  justify-content: center;
  margin-top: -5px;
}
.donut {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: #eff2e9;
  padding: 17px;
  transform: rotate(-90deg);
}
.donut > div {
  background: white;
  border-radius: 50%;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(90deg);
}
.donut small {
  font-size: 7px;
  letter-spacing: 1px;
  color: #a3ad98;
  margin-bottom: 7px;
}
.donut b {
  font-family: Manrope, sans-serif;
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.8px;
}
.category-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin-top: 22px;
}
.category-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  color: #8b9780;
  min-width: 0;
}
.category-item i {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  flex-shrink: 0;
}
.category-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.category-item b {
  margin-left: auto;
  color: #66755a;
  font-size: 9px;
}
.lower-grid {
  display: grid;
  grid-template-columns: 1.62fr 1fr;
  gap: 20px;
  margin-top: 22px;
}
.text-btn {
  background: transparent;
  padding: 4px 0;
  color: #758b67;
  font-size: 10px;
  white-space: nowrap;
}
.transaction {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid #f1f3ed;
}
.transaction:last-child {
  border: 0;
  padding-bottom: 0;
}
.tx-icon {
  height: 34px;
  width: 34px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #f3f4ed;
  display: grid;
  place-items: center;
  font-size: 15px;
  color: #839574;
}
.tx-main {
  flex: 1;
  min-width: 0;
}
.tx-main b {
  display: block;
  font-size: 11px;
  font-weight: 550;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tx-main small {
  display: block;
  font-size: 9px;
  color: #a2ab98;
  margin-top: 5px;
}
.tx-date {
  font-size: 9px;
  color: #9ca791;
  margin: 0 15px;
}
.tx-amount {
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
  letter-spacing: -0.3px;
}
.positive {
  color: #6f9160;
}
.negative {
  color: #6e7666;
}
.right-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.salary-card {
  background: #eef1e5;
  border: 1px solid #e3e9d6;
  border-radius: var(--radius);
  padding: 19px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.salary-icon {
  width: 35px;
  height: 40px;
  display: grid;
  place-items: center;
  background: #e2e8d1;
  border-radius: 11px;
  color: #95a27b;
  font-size: 21px;
}
.salary-card small {
  display: block;
  font-size: 8px;
  letter-spacing: 1.2px;
  color: #929f79;
}
.salary-card b {
  font-family: Manrope, sans-serif;
  display: block;
  font-size: 20px;
  letter-spacing: -0.5px;
  margin: 4px 0 5px;
  font-weight: 650;
}
.salary-card span:not(.salary-icon) {
  font-size: 8px;
  color: #93a17b;
}
.salary-card button {
  margin-left: auto;
  align-self: start;
  background: transparent;
  color: #8c9a72;
  font-size: 17px;
}
.installments-preview {
  flex: 1;
  padding: 20px;
}
.installments-preview .card-head {
  margin-bottom: 10px;
}
.due-line {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 9px 0;
}
.due-date {
  background: #f4f5ef;
  border-radius: 8px;
  padding: 7px 9px;
  text-align: center;
  flex-shrink: 0;
  min-width: 38px;
  font-size: 12px;
  color: #80916f;
}
.due-date small {
  font-size: 7px;
  display: block;
  text-transform: uppercase;
  margin-top: 2px;
}
.due-name {
  flex: 1;
  min-width: 0;
}
.due-name b {
  display: block;
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.due-name small {
  display: block;
  font-size: 8px;
  color: #9ba88b;
  margin-top: 5px;
}
.due-price {
  font-size: 11px;
  font-weight: 600;
}
.footer-note {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #a8b09e;
  margin-top: 23px;
}
.empty {
  text-align: center;
  padding: 26px 15px;
  color: #98a38c;
  font-size: 11px;
  line-height: 1.8;
}
.empty-symbol {
  display: block;
  font-size: 27px;
  color: #b4c2a5;
  margin-bottom: 10px;
}
.empty .text-btn {
  display: block;
  margin: 10px auto 0;
}
.toolbar,
.section-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.section-bar p {
  color: #8c9980;
  font-size: 12px;
}
.filters {
  display: flex;
  gap: 6px;
  background: #eaf0e4;
  border-radius: 9px;
  padding: 4px;
}
.filters button {
  padding: 8px 14px;
  background: transparent;
  border-radius: 6px;
  font-size: 11px;
  color: #8c9b7c;
}
.filters .selected {
  background: #fff;
  color: #38583a;
  box-shadow: 0 2px 4px #374d2510;
}
input,
select {
  border: 1px solid #e0e6d9;
  border-radius: 8px;
  padding: 10px 11px;
  color: #4a5e42;
  background: #fcfdfb;
  font-size: 12px;
  outline: none;
}
input:focus,
select:focus {
  border-color: #98b38a;
  box-shadow: 0 0 0 3px #74946512;
}
.table-card {
  padding: 0;
  overflow: hidden;
}
.table-scroll {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  white-space: nowrap;
}
th {
  font-size: 9px;
  font-weight: 500;
  color: #9aa78a;
  background: #fcfdf9;
  padding: 15px 21px;
  border-bottom: 1px solid var(--line);
}
td {
  font-size: 11px;
  padding: 16px 21px;
  border-bottom: 1px solid #f1f4ec;
}
tr:last-child td {
  border: 0;
}
.right {
  text-align: right;
}
.muted {
  color: #9ba88c;
}
.pill {
  font-size: 9px;
  border-radius: 5px;
  background: #edf3e7;
  color: #70905f;
  padding: 5px 7px;
}
.pill.out {
  color: #b68d67;
  background: #faf2e9;
}
.pill.auto {
  color: #97976e;
  background: #f4f4e6;
}
.row-action {
  background: transparent;
  color: #9fac92;
  font-size: 12px;
  padding: 4px 6px;
}
.summary-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.summary-strip > div {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
}
.summary-strip small {
  color: #929f83;
  font-size: 10px;
}
.summary-strip b {
  display: block;
  font-family: Manrope, sans-serif;
  font-size: 25px;
  margin-top: 8px;
  font-weight: 650;
  letter-spacing: -1px;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.plan-top {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.plan-top h3 {
  font-size: 16px;
}
.plan-top p {
  font-size: 11px;
  color: #97a586;
  margin-top: 7px;
}
.plan-price {
  font-size: 19px;
  font-family: Manrope;
  font-weight: 650;
  white-space: nowrap;
}
.plan-price small {
  display: block;
  font-family: "DM Sans";
  font-size: 10px;
  font-weight: 400;
  color: #9ca78e;
  text-align: right;
  margin-top: 6px;
}
.plan-steps {
  display: flex;
  gap: 4px;
  margin: 22px 0 11px;
}
.plan-steps span {
  height: 7px;
  background: #ebf0e4;
  flex: 1;
  border-radius: 3px;
}
.plan-steps .done {
  background: #709563;
}
.plan-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #93a182;
  gap: 10px;
}
.payment-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid #edf1e5;
  padding: 15px 0;
}
.payment-row:last-child {
  border: 0;
}
.payment-row p {
  color: #9ba58d;
  font-size: 10px;
  margin: 5px 0 0;
}
.payment-row b {
  font-size: 12px;
}
.budget-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.budget-item label {
  font-size: 12px;
  display: block;
  margin-bottom: 10px;
}
.budget-item input {
  width: 100%;
}
.budget-info {
  display: flex;
  justify-content: space-between;
  color: #99a589;
  font-size: 10px;
  margin: 9px 0;
}
.progress {
  height: 5px;
  border-radius: 8px;
  background: #eff3e8;
  overflow: hidden;
}
.progress i {
  height: 100%;
  background: #8eaa7b;
  display: block;
  border-radius: 8px;
}
.progress i.over {
  background: #c89269;
}
.padded {
  padding: 23px 23px 0;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
}
.body-copy {
  font-size: 12px;
  color: #91a080;
  line-height: 1.85;
}
.button-row {
  display: flex;
  gap: 10px;
  margin: 24px 0 14px;
}
.local-note {
  font-size: 10px;
  color: #97a986;
  margin-top: 25px;
}
.demo-banner {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  background: #243f30;
  color: #eff5e7;
  border: 1px solid #6d8b55;
  padding: 11px 17px;
  border-radius: 11px;
  box-shadow: 0 6px 25px #263e2f30;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
}
.demo-banner button {
  color: #e5f0d6;
  background: #4d6741;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 10px;
}
.toast {
  position: fixed;
  bottom: 25px;
  right: 25px;
  max-width: 380px;
  padding: 14px 19px;
  border-radius: 10px;
  color: #fff;
  background: #30543a;
  box-shadow: 0 8px 25px #304c2d33;
  z-index: 20;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.2s;
  pointer-events: none;
  font-size: 12px;
}
.toast.visible {
  opacity: 1;
  transform: translateY(0);
}
dialog {
  border: 1px solid #e3e8db;
  border-radius: 20px;
  padding: 27px;
  width: min(510px, calc(100% - 28px));
  color: var(--ink);
  box-shadow: 0 25px 90px #1d392244;
  max-height: 90vh;
  overflow: auto;
}
dialog::backdrop {
  background: #16332160;
  backdrop-filter: blur(5px);
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-head h2 {
  font-family: Manrope;
  font-size: 22px;
  letter-spacing: -0.8px;
  margin: 0;
}
.modal-desc {
  font-size: 11px;
  line-height: 1.7;
  color: #91a07f;
  margin: 10px 0 24px;
}
.close {
  width: 29px;
  height: 29px;
  background: #f1f4e9;
  color: #94a580;
  border-radius: 50%;
  font-size: 18px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.field label {
  font-size: 11px;
  color: #7b9069;
}
.field.full {
  grid-column: 1/-1;
}
.field input,
.field select {
  width: 100%;
}
.check-field {
  display: flex;
  align-items: start;
  gap: 8px;
  font-size: 11px;
  color: #829672;
  line-height: 1.7;
}
.check-field input {
  margin-top: 3px;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 25px;
}
.form-error {
  font-size: 11px;
  color: #ba754c;
  line-height: 1.6;
}
.plan-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #edf1e6;
  font-size: 11px;
}
.plan-detail-row span:last-child {
  color: #869975;
}
.import-preview {
  line-height: 1.8;
  font-size: 12px;
  color: #72866a;
}
@media (min-width: 1650px) {
  .content {
    padding-top: 40px;
  }
  .overview-grid {
    gap: 24px;
  }
  .balance-card,
  .metric {
    min-height: 220px;
  }
  .balance {
    font-size: 39px;
  }
  .middle-grid,
  .lower-grid {
    gap: 24px;
  }
  .chart {
    height: 240px;
  }
  .donut {
    width: 174px;
    height: 174px;
  }
  .card {
    padding: 27px;
  }
  .category-legend {
    margin-top: 26px;
  }
  .lower-grid {
    margin-top: 25px;
  }
  .transaction {
    padding: 15px 0;
  }
}
@media (max-width: 1200px) {
  .app {
    grid-template-columns: 195px minmax(0, 1fr);
  }
  .sidebar {
    padding: 26px 13px 18px;
  }
  .content {
    padding: 27px 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .overview-grid {
    gap: 12px;
    grid-template-columns: 1.12fr 1fr 1fr;
  }
  .balance-card,
  .metric {
    padding: 20px;
  }
  .balance {
    font-size: 28px;
  }
  .metric h2 {
    font-size: 23px;
  }
  .card {
    padding: 20px;
  }
  .table-card {
    padding: 0;
  }
  .heading-actions {
    gap: 8px;
  }
  .month-picker input {
    max-width: 125px;
  }
  .middle-grid,
  .lower-grid {
    gap: 15px;
    grid-template-columns: 1.45fr 1fr;
  }
  .chart {
    height: 183px;
  }
  .bars-area {
    gap: 12px;
    padding-left: 4px;
    padding-right: 4px;
  }
  .legend {
    gap: 6px;
  }
  .tx-date {
    margin: 0 5px;
  }
  .category-legend {
    gap: 9px;
  }
  .salary-card b {
    font-size: 18px;
  }
  .side-note {
    padding: 14px;
  }
}
@media (max-width: 720px) {
  .app {
    grid-template-columns: 76px minmax(0, 1fr);
  }
  .sidebar {
    padding: 28px 10px;
  }
  .brand {
    font-size: 0;
    padding: 0 8px;
  }
  .brand-mark {
    font-size: 31px;
    margin: 0;
  }
  .workspace,
  .nav-caption,
  .side-note,
  .profile,
  .settings-btn span {
    display: none;
  }
  nav {
    margin-top: 45px;
  }
  nav button {
    font-size: 0;
    gap: 0;
    justify-content: center;
    padding: 0;
  }
  nav button > span {
    font-size: 23px;
  }
  .settings-btn {
    justify-content: center;
    width: 100%;
  }
  .page-heading {
    flex-wrap: wrap;
  }
  .heading-actions {
    margin-top: 2px;
  }
  .balance {
    font-size: 27px;
  }
  .topbar {
    height: 65px;
  }
  .middle-grid,
  .lower-grid {
    grid-template-columns: 1.35fr 1fr;
  }
  .card-head {
    align-items: start;
  }
  .legend {
    flex-direction: column;
  }
  .chart-insight {
    font-size: 9px;
  }
  .category-legend {
    grid-template-columns: 1fr;
  }
  .donut {
    width: 139px;
    height: 139px;
  }
  .tx-date {
    display: none;
  }
}
@media (max-width: 720px) {
  .app {
    display: block;
  }
  .sidebar {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 65px;
    z-index: 5;
    flex-direction: row;
    padding: 6px 8px;
    border: 1px solid #e4eadc;
    box-shadow: 0 -4px 20px #40573506;
    align-items: center;
  }
  .brand,
  .side-bottom {
    display: none;
  }
  nav {
    display: flex;
    margin: 0;
    justify-content: space-around;
    width: 100%;
  }
  nav button {
    display: flex;
    flex-direction: column;
    height: 51px;
    gap: 3px;
    font-size: 8px;
    width: 20%;
    padding: 5px 2px;
  }
  nav button > span {
    font-size: 18px;
    line-height: 20px;
  }
  .topbar {
    height: 53px;
    padding: 0 18px;
  }
  .saved {
    font-size: 8px;
  }
  .topright {
    gap: 10px;
  }
  .content {
    padding: 25px 17px 90px;
  }
  .page-heading {
    gap: 16px;
    margin-bottom: 23px;
  }
  h1 {
    font-size: 27px;
  }
  .heading-actions {
    width: 100%;
    justify-content: space-between;
  }
  .month-picker input {
    max-width: 155px;
  }
  .overview-grid {
    grid-template-columns: 1fr 1fr;
  }
  .balance-card {
    grid-column: 1/-1;
    min-height: 194px;
    padding: 23px;
  }
  .balance {
    font-size: 37px;
  }
  .metric {
    padding: 19px 16px;
  }
  .metric h2 {
    font-size: 22px;
  }
  .metric-foot {
    font-size: 8px;
  }
  .mini-label {
    font-size: 7px;
  }
  .middle-grid,
  .lower-grid {
    grid-template-columns: 1fr;
    margin-top: 16px;
    gap: 16px;
  }
  .card {
    padding: 21px;
  }
  .table-card {
    padding: 0;
  }
  .legend {
    flex-direction: row;
  }
  .chart {
    height: 195px;
  }
  .donut {
    width: 155px;
    height: 155px;
  }
  .category-legend {
    grid-template-columns: 1fr 1fr;
    margin-top: 25px;
  }
  .right-stack {
    gap: 16px;
  }
  .salary-card {
    padding: 20px;
  }
  .footer-note > span:last-child {
    display: none;
  }
  .toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .filters {
    justify-content: space-between;
  }
  .filters button {
    padding: 8px 11px;
  }
  .plan-grid,
  .budget-grid,
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .summary-strip {
    gap: 8px;
  }
  .summary-strip > div {
    padding: 13px 10px;
  }
  .summary-strip b {
    font-size: 18px;
  }
  .summary-strip small {
    font-size: 8px;
  }
  .section-bar {
    align-items: start;
  }
  .section-bar p {
    font-size: 10px;
    margin-top: 3px;
  }
  .payment-row {
    gap: 10px;
  }
  .payment-row .secondary {
    padding: 0 10px;
    font-size: 9px;
  }
  .demo-banner {
    bottom: 76px;
    font-size: 9px;
    gap: 8px;
    padding: 9px;
    width: calc(100% - 28px);
    justify-content: center;
  }
  .demo-banner button {
    font-size: 9px;
  }
  .toast {
    bottom: 79px;
    right: 14px;
    left: 14px;
    max-width: unset;
  }
  .form-grid {
    gap: 13px;
  }
  .form-actions {
    margin-top: 23px;
  }
  .body-copy {
    font-size: 12px;
  }
}

textarea {
  border: 1px solid #e0e6d9;
  border-radius: 8px;
  padding: 10px 11px;
  color: #4a5e42;
  background: #fcfdfb;
  font-size: 12px;
  outline: none;
  font-family: inherit;
  resize: vertical;
  line-height: 1.6;
}
.note-text-field .ql-toolbar.ql-snow {
  border: 1px solid #dfe8dc;
  border-radius: 12px 12px 0 0;
  background: #fbfdf9;
  padding: 8px 10px;
}
.note-text-field .ql-container.ql-snow {
  border: 1px solid #dfe8dc;
  border-top: 0;
  border-radius: 0 0 12px 12px;
  background: #fff;
  min-height: 220px;
  color: #30443a;
  font-family: inherit;
}
.note-text-field .ql-editor {
  min-height: 220px;
  padding: 17px 18px;
  font-size: 15px;
  line-height: 1.65;
}
.note-text-field .ql-editor.ql-blank::before {
  color: #9aa99d;
  font-style: normal;
}

.note-text-field .ql-snow .ql-stroke { stroke: #587360; }
.note-text-field .ql-snow .ql-fill { fill: #587360; }
.note-text-field .ql-snow .ql-picker { color: #587360; }
.notes-head { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:22px; }
.notes-title { margin:4px 0 8px; font-family:Manrope,sans-serif; font-size:30px; letter-spacing:-.9px; color:#18352b; }
.notes-head p { margin:0; color:#849287; font-size:13px; }
.notes-actions { display:flex; gap:10px; align-items:center; }
.notes-actions input { width:220px; }
.notes-actions input { font-size:13px; min-height:40px; }
.notes-workspace { display:grid; grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr); gap:24px; align-items:start; }
.note-editor { padding:28px; }
.note-editor .card-head { margin-bottom:20px; }
.note-editor-actions { display:flex; gap:8px; flex-wrap:wrap; margin-top:14px; }
.note-editor-actions .primary, .note-editor-actions .secondary { min-height:36px; }
.notes-list-panel { background:#f5f8f3; border:1px solid #e1e9df; border-radius:16px; padding:24px; min-height:470px; }
.notes-list-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; }
.notes-list-head h3 { margin:0; font-size:18px; }
.notes-list-head p { margin:5px 0 0; color:#8b998d; font-size:11px; }
#notesFull { display:grid; gap:12px; }
.note-card { background:#fff; border:1px solid #e2eae0; border-radius:14px; padding:18px; box-shadow:0 3px 10px rgba(41,72,50,.04); }
.note-card h4 { margin:4px 0 8px; color:#203c30; font-size:16px; }
.note-card p { margin:0; color:#65756a; font-size:13px; line-height:1.6; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.note-delete { border:0; background:#f3f6f1; color:#98a69b; border-radius:7px; width:24px; height:24px; cursor:pointer; }
.note-delete:hover { background:#fbece7; color:#a85c45; }
@media (max-width: 850px) { .notes-head, .notes-workspace { grid-template-columns:1fr; display:grid; } .notes-actions { width:100%; } .notes-actions input { flex:1; width:auto; } }
.note-card { cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.note-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(35, 67, 50, .1); }
.note-card-top { display:flex; align-items:center; justify-content:space-between; margin-bottom: 8px; }
.note-type { color:#6f927a; font-size:10px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.note-card-foot { display:flex; justify-content:space-between; gap:10px; align-items:center; }
.note-card-foot span:last-child { color:#789080; font-size:10px; }
.note-image, .note-drawing { display:block; width:100%; max-height:190px; object-fit:contain; border-radius:10px; margin-top:12px; background:#fbfdf9; }
.note-drawing { border:1px solid #e5ece1; }
canvas {
  display: block;
  width: 100%;
  height: 220px;
  border: 1px solid #dfe8dc;
  border-radius: 12px;
  background-color: #fcfdfb;
  background-image: linear-gradient(#e8efe5 1px, transparent 1px), linear-gradient(90deg, #e8efe5 1px, transparent 1px);
  background-size: 24px 24px;
  box-shadow: inset 0 1px 4px rgba(34, 66, 47, .03);
  touch-action: none;
}
@media (max-width: 680px) {
  .note-text-field .ql-editor, .note-text-field .ql-container.ql-snow { min-height: 160px; }
  canvas { height: 180px; }
}
body:has(#notes:not([hidden])) .page-heading { display:none; }
#settings #categoryList.category-legend {
  gap: 16px 28px;
  margin-top: 28px;
}
#settings #categoryList .category-item {
  min-height: 34px;
  gap: 10px;
  padding: 5px 2px;
  color: #53685b;
  font-size: 14px;
  border-bottom: 1px solid #edf1eb;
}
#settings #categoryList .category-item i {
  width: 9px;
  height: 9px;
  border-radius: 3px;
}
#settings #categoryList .category-item .row-action {
  margin-left: auto;
  padding: 4px 8px;
  font-size: 15px;
  color: #9aa99d;
}
#settings #categoryName { min-height: 46px; font-size: 15px; }
#settings #addCategory { min-height: 46px; padding-inline: 22px; font-size: 14px; }
.field-hint { color:#94a196; font-size:11px; font-weight:400; margin-left:6px; }
.day-pills { display:flex; flex-wrap:wrap; gap:9px; margin-top:9px; }
.day-pills label { display:flex; align-items:center; gap:7px; border:1px solid #dfe8dc; border-radius:999px; padding:9px 14px; color:#637568; cursor:pointer; background:#fff; transition:.16s; }
.day-pills label:has(input:checked) { border-color:#315c49; background:#eaf2e7; color:#315c49; font-weight:700; }
.day-pills input { position:absolute; opacity:0; pointer-events:none; width:1px; height:1px; }
.check-field { border:1px solid #dfe8dc; border-radius:999px; padding:8px 12px; background:#fff; align-items:center; cursor:pointer; }
.check-field:has(input:checked) { background:#eaf2e7; border-color:#315c49; color:#315c49; }
.check-field input { position:absolute; opacity:0; pointer-events:none; width:1px; height:1px; }
/* Genel okunabilirlik: uygulamadaki küçük yardımcı metinleri dengeli büyütür. */
main { font-size: 16px; }
main p, main .body-copy, main .muted { font-size: 13px; }
main label, main th { font-size: 12px; }
main td, main input, main select, main textarea { font-size: 14px; }
main button { font-size: 13px; }
main h2 { font-size: 22px; }
main h3 { font-size: 16px; }
main .card-head p, main .section-bar p { font-size: 12px; }
main .pill, main .small-label, main .mini-label { font-size: 11px; }
nav button { font-size: 14px; }
.sidebar small, .profile small, .workspace small { font-size: 11px; }
/* Son okunabilirlik ayarı: ekran genişken sabit küçük değerleri de büyütür. */
@media (min-width: 1100px) {
  .breadcrumb { font-size: 12px; }
  .saved { font-size: 11px; }
  .icon-btn { width: 30px; height: 30px; font-size: 12px; }
  .nav-caption { font-size: 10px; }
  .workspace b, .profile b { font-size: 12px; }
  .workspace small, .profile small { font-size: 10px; }
  nav button { font-size: 13px; }
  .side-note b { font-size: 13px; }
  .side-note p { font-size: 10px; }
  .eyebrow, .balance-top, th { font-size: 10px; }
  .page-heading p, .card-head p, .section-bar p { font-size: 12px; }
  .metric p, .balance-card p, .balance-footer { font-size: 11px; }
  .metric-foot, .legend, .category-item, .payment-row p, .plan-top p, .plan-bottom, .budget-info, .local-note { font-size: 11px; }
  .summary-strip small, .plan-price small, .pill { font-size: 10px; }
  table td, .row-action { font-size: 12px; }
}

