@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("./fonts/dm-sans.woff2") format("woff2");
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("./fonts/manrope.woff2") format("woff2");
}
:root {
  --bg: #f6f7f3;
  --ink: #223d35;
  --muted: #7d8881;
  --line: #e7eae3;
  --green: #244f43;
  --lime: #d9edb5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    14px "DM Sans",
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #adca7a;
  outline-offset: 3px;
}
aside {
  position: fixed;
  inset: 0 auto 0 0;
  width: 226px;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 35px 23px 20px;
  display: flex;
  flex-direction: column;
}
.brand {
  font:
    800 39px Manrope,
    sans-serif;
  color: var(--green);
  text-decoration: none;
  letter-spacing: -2px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.brand > span:first-child {
  font-size: 43px;
  font-weight: 400;
}
.brand-dot {
  margin-left: -8px;
  color: #9cb579;
}
.space-label {
  font-size: 9px;
  letter-spacing: 1.8px;
  color: #99a099;
  margin: 46px 12px 15px;
}
nav {
  display: grid;
  gap: 7px;
}
nav button {
  border: 0;
  background: none;
  text-align: left;
  padding: 13px 15px;
  border-radius: 9px;
  color: #78837c;
  display: flex;
  gap: 14px;
  align-items: center;
}
nav button.active {
  background: #eaf0e4;
  color: var(--green);
  font-weight: 700;
}
nav button span {
  font-size: 19px;
  width: 22px;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 20px 13px;
  background: #f6f7f1;
  border-radius: 12px;
}
.small-art {
  font-size: 50px;
  color: #9aaf7a;
  line-height: 1;
}
.sidebar-bottom h3 {
  font: 650 17px Manrope;
  line-height: 1.5;
  margin: 12px 0 6px;
}
.sidebar-bottom p {
  font-size: 11px;
  color: var(--muted);
}
.text-button {
  border: 0;
  background: none;
  color: var(--green);
  font-size: 11px;
  padding: 8px 0;
}
.profile {
  border: 0;
  border-top: 1px solid var(--line);
  background: #fff;
  margin-top: 23px;
  padding: 22px 0 0;
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  font-size: 11px;
  color: var(--ink);
}
small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 4px;
}
.avatar {
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  background: #ede8d9;
  color: #847b59;
  font-weight: 700;
  flex-shrink: 0;
}
main {
  margin-left: 226px;
  padding: 0 40px;
  max-width: 1800px;
}
header {
  height: 88px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
}
.breadcrumb span {
  margin: 0 15px;
  color: #c9cec6;
}
.breadcrumb b {
  font-weight: 500;
  color: var(--ink);
}
.header-right {
  display: flex;
  align-items: center;
  gap: 17px;
}
.demo {
  font-size: 10px;
  color: #7a8869;
  background: #eaf0e3;
  padding: 7px 10px;
  border-radius: 20px;
}
.icon-btn {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  border-radius: 8px;
  width: 34px;
  height: 34px;
  font-size: 20px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 31px 0 25px;
}
.eyebrow {
  text-transform: uppercase;
  color: #8b947d;
  letter-spacing: 1.7px;
  font-size: 9px;
  font-weight: 600;
}
h1 {
  font: 650 29px Manrope;
  margin: 8px 0;
  letter-spacing: -1px;
}
.subtitle {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}
.primary,
.secondary {
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: white;
  padding: 12px 17px;
  font-weight: 500;
  font-size: 12px;
}
.secondary {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}
.actions {
  display: flex;
  gap: 9px;
}
.summary-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 17px;
}
.summary {
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 22px 25px;
  position: relative;
  overflow: hidden;
}
.summary.main-summary {
  background: var(--green);
  color: #fff;
  border: 0;
}
.summary-label {
  font-size: 11px;
  color: #8a958c;
}
.main-summary .summary-label {
  color: #c2d3c4;
}
.amount {
  font: 600 32px Manrope;
  letter-spacing: -1px;
  margin: 12px 0;
}
.amount .cents {
  font-size: 22px;
  opacity: 0.6;
}
.summary-foot {
  color: #8c958d;
  font-size: 10px;
}
.positive {
  color: #729e68;
}
.main-summary .positive {
  color: #d8ebb6;
}
.main-summary:after {
  content: "◎";
  font-size: 200px;
  position: absolute;
  right: -30px;
  top: -28px;
  color: #ffffff08;
  pointer-events: none;
}
.summary-icon {
  position: absolute;
  right: 20px;
  top: 20px;
  color: #8da579;
  background: #f2f5ed;
  padding: 5px 9px;
  border-radius: 8px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 28px 0 14px;
}
h2 {
  font: 650 16px Manrope;
  margin: 0;
  letter-spacing: -0.3px;
}
.section-heading p {
  font-size: 10px;
  color: var(--muted);
  margin: 6px 0 0;
}
.link {
  border: 0;
  background: none;
  font-size: 11px;
  color: var(--green);
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}
.bank-card {
  min-height: 174px;
  border-radius: 13px;
  padding: 21px 23px;
  position: relative;
  overflow: hidden;
  color: #fff;
  border: 0;
  text-align: left;
  transition: transform 0.2s;
}
.bank-card:hover {
  transform: translateY(-4px);
}
.bank-card:before {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  border: 1px solid #ffffff18;
  border-radius: 50%;
  right: -65px;
  top: -65px;
  box-shadow:
    0 0 0 22px #ffffff07,
    0 0 0 44px #ffffff07,
    0 0 0 66px #ffffff07;
}
.bank-card.green {
  background: #2a5147;
}
.bank-card.sand {
  background: #e9dcc2;
  color: #4f493a;
}
.bank-card.dark {
  background: #333d3d;
}
.card-top,
.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.card-top b {
  font: 600 14px Manrope;
}
.card-top span {
  font-size: 9px;
  opacity: 0.75;
}
.card-chip {
  font-size: 23px;
  color: #d0c39d;
  margin-top: 16px;
  line-height: 1;
}
.card-number {
  font-size: 11px;
  letter-spacing: 2.5px;
  margin: 10px 0 15px;
  opacity: 0.7;
}
.card-bottom strong {
  font: 550 20px Manrope;
}
.card-bottom i {
  font-weight: 800;
  font-size: 18px;
}
.card-bottom small {
  font-size: 8px;
  color: inherit;
  opacity: 0.6;
}
.columns {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 22px;
  margin-top: 24px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 22px;
}
.panel .section-heading {
  margin: 0 0 20px;
}
.pill {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 6px 10px;
  font-size: 10px;
  color: #68796c;
}
.chart-wrap {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 9px 0 15px;
}
.donut {
  width: 135px;
  height: 135px;
  flex-shrink: 0;
  border-radius: 50%;
  background: conic-gradient(
    #315e4e 0 42%,
    #a4ba85 42% 70%,
    #ddcba5 70% 88%,
    #eef0e7 88%
  );
  position: relative;
  display: grid;
  place-items: center;
}
.donut:before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: white;
}
.donut-center {
  position: relative;
  text-align: center;
  font: 650 20px Manrope;
}
.donut-center small {
  font: 9px "DM Sans";
  margin-bottom: 4px;
}
.legend {
  flex: 1;
  display: grid;
  gap: 13px;
}
.legend-row {
  display: flex;
  align-items: center;
  font-size: 10px;
  gap: 7px;
}
.legend-row b {
  margin-left: auto;
  font-weight: 500;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}
.insight {
  background: #f6f8f1;
  border-radius: 7px;
  padding: 11px;
  font-size: 10px;
  color: #78876b;
  line-height: 1.6;
}
.transaction {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #f1f2ed;
  padding: 13px 0;
}
.transaction:last-child {
  border: 0;
}
.tx-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 9px;
  background: #f2f3eb;
  font-size: 17px;
}
.tx-text {
  flex: 1;
}
.tx-text b {
  font-size: 11px;
  font-weight: 550;
}
.tx-text small {
  font-size: 9px;
}
.tx-amount {
  text-align: right;
  font: 600 11px Manrope;
}
.tag {
  font-size: 8px;
  border-radius: 4px;
  padding: 3px 5px;
  background: #f3f5ef;
  color: #8b967d;
  margin-left: 7px;
}
.receipt-banner {
  background: #eceee2;
  border-radius: 12px;
  padding: 19px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}
.receipt-art {
  font-size: 29px;
  transform: rotate(-9deg);
  background: white;
  box-shadow: 0 4px 8px #2135260b;
  border-radius: 4px;
  padding: 7px;
}
.receipt-banner h3 {
  font: 600 12px Manrope;
  margin: 0 0 6px;
}
.receipt-banner p {
  font-size: 10px;
  color: #8a927d;
  margin: 0;
}
.receipt-banner button {
  margin-left: auto;
  background: #fff;
  border: 1px solid #dfe4d3;
  color: var(--green);
  border-radius: 7px;
  padding: 9px 12px;
  font-size: 10px;
  white-space: nowrap;
}
footer {
  font-size: 9px;
  color: #a2aaa0;
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
}
.full-list .transaction {
  padding: 17px 0;
}
.empty {
  padding: 45px;
  text-align: center;
  color: var(--muted);
}
.receipt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.receipt-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.receipt-tile img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  background: #eeeee6;
}
.receipt-tile div {
  padding: 17px;
}
.receipt-tile p {
  color: var(--muted);
  font-size: 12px;
}
.debt-row {
  margin: 15px 0;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.debt-row div {
  flex: 1;
}
.debt-row h3 {
  margin: 0;
  font-size: 14px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 17px;
  width: min(460px, calc(100% - 30px));
  padding: 26px;
  color: var(--ink);
  box-shadow: 0 20px 100px #172a382e;
}
dialog::backdrop {
  background: #162d2666;
  backdrop-filter: blur(4px);
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
label {
  display: block;
  font-size: 12px;
  margin: 14px 0 6px;
}
input,
select,
textarea {
  width: 100%;
  padding: 11px;
  border: 1px solid #dce2d8;
  background: #fafbf8;
  border-radius: 7px;
  color: var(--ink);
}
textarea {
  min-height: 75px;
  resize: vertical;
}
.submit {
  width: 100%;
  margin-top: 22px;
}
.notice {
  font-size: 11px;
  line-height: 1.7;
  color: #7e887b;
  background: #f1f4ec;
  padding: 12px;
  border-radius: 8px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: white;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 12px;
  display: none;
  z-index: 10;
}
.search {
  max-width: 300px;
  margin-bottom: 15px;
}
.settings-box {
  max-width: 650px;
}
.settings-box p {
  line-height: 1.8;
  color: var(--muted);
  font-size: 13px;
}
.hidden-balances .money {
  filter: blur(8px);
  user-select: none;
}
@media (min-width: 1450px) {
  main {
    padding: 0 60px;
  }
  .bank-card {
    min-height: 195px;
  }
  .columns {
    gap: 25px;
  }
  .panel {
    padding: 26px;
  }
}
@media (max-width: 1100px) {
  aside {
    width: 190px;
    padding: 30px 16px;
  }
  main {
    margin-left: 190px;
    padding: 0 25px;
  }
  .chart-wrap {
    gap: 12px;
  }
  .donut {
    width: 105px;
    height: 105px;
  }
  .card-bottom strong {
    font-size: 17px;
  }
  .bank-card {
    padding: 18px;
  }
  .summary {
    padding: 20px;
  }
  .amount {
    font-size: 27px;
  }
  .columns {
    grid-template-columns: 1.3fr 1fr;
  }
  .tag {
    display: none;
  }
}
@media (max-width: 800px) {
  aside {
    width: 74px;
    padding: 20px 10px;
  }
  .brand {
    font-size: 0;
    justify-content: center;
  }
  .brand > span:first-child {
    font-size: 36px;
  }
  .space-label,
  .sidebar-bottom,
  .profile,
  nav button .nav-label {
    display: none;
  }
  nav {
    margin-top: 35px;
  }
  nav button {
    justify-content: center;
    padding: 12px;
  }
  main {
    margin-left: 74px;
    padding: 0 20px;
  }
  .summary-grid {
    gap: 10px;
  }
  .summary {
    padding: 16px;
  }
  .summary-icon {
    display: none;
  }
  .amount {
    font-size: 23px;
  }
  .columns {
    grid-template-columns: 1fr;
  }
  .cards {
    gap: 10px;
  }
  .bank-card {
    min-height: 170px;
    padding: 16px;
  }
  .card-top b {
    font-size: 12px;
  }
  .card-top span {
    display: none;
  }
  .card-number {
    font-size: 9px;
  }
  .card-bottom strong {
    font-size: 15px;
  }
  footer span {
    display: none;
  }
  .page-heading .secondary {
    display: none;
  }
}
@media (max-width: 560px) {
  aside {
    inset: auto 0 0 0;
    width: 100%;
    height: 65px;
    z-index: 5;
    border-top: 1px solid var(--line);
    padding: 0;
    background: #fff;
  }
  .brand {
    display: none;
  }
  nav {
    display: flex;
    margin: 0;
    justify-content: space-around;
    height: 100%;
    gap: 0;
  }
  nav button {
    flex: 1;
    flex-direction: column;
    gap: 3px;
    padding: 6px 2px;
    border-radius: 0;
    font-size: 8px;
  }
  nav button .nav-label {
    display: block;
  }
  nav button span {
    font-size: 19px;
  }
  nav button[data-page="Settings"] {
    display: none;
  }
  main {
    margin: 0;
    padding: 0 18px 65px;
  }
  header {
    height: 68px;
  }
  .header-right {
    gap: 8px;
  }
  .header-right .avatar {
    display: none;
  }
  .demo {
    font-size: 8px;
  }
  .breadcrumb {
    font-size: 10px;
  }
  .breadcrumb span {
    margin: 0 7px;
  }
  .page-heading {
    margin: 24px 0 20px;
    align-items: center;
  }
  h1 {
    font-size: 25px;
  }
  .subtitle {
    font-size: 10px;
    max-width: 220px;
    line-height: 1.6;
  }
  .page-heading .primary {
    font-size: 10px;
    padding: 10px;
  }
  .summary-grid {
    grid-template-columns: 1fr 1fr;
  }
  .summary.main-summary {
    grid-column: 1/-1;
    padding: 23px;
  }
  .summary.main-summary .amount {
    font-size: 35px;
  }
  .summary-label {
    font-size: 10px;
  }
  .summary-foot {
    font-size: 8px;
  }
  .cards {
    display: flex;
    overflow: auto;
    scroll-snap-type: x mandatory;
    margin-right: -18px;
    padding-right: 18px;
    padding-bottom: 6px;
  }
  .bank-card {
    min-width: 260px;
    min-height: 175px;
    scroll-snap-align: start;
    padding: 20px;
  }
  .card-top b {
    font-size: 14px;
  }
  .card-top span {
    display: block;
  }
  .card-bottom strong {
    font-size: 21px;
  }
  .card-number {
    font-size: 11px;
  }
  .columns {
    margin-top: 17px;
    gap: 17px;
  }
  .panel {
    padding: 19px;
  }
  .donut {
    width: 135px;
    height: 135px;
  }
  .chart-wrap {
    gap: 25px;
  }
  .receipt-banner {
    padding: 15px 12px;
    gap: 10px;
  }
  .receipt-banner p {
    max-width: 150px;
    font-size: 9px;
  }
  .receipt-banner button {
    font-size: 9px;
    padding: 9px;
  }
  .receipt-art {
    font-size: 21px;
  }
  .receipt-grid {
    grid-template-columns: 1fr 1fr;
  }
  .receipt-tile img {
    height: 150px;
  }
  .debt-row {
    flex-wrap: wrap;
  }
  footer {
    font-size: 8px;
  }
}

.card-euro {
  font-size: 9px;
  opacity: 0.7;
  margin-top: 9px;
}
.rate-note {
  font-size: 10px;
  color: #86917e;
  margin: 10px 0 0;
}
.rate-note .link {
  font-size: 10px;
}
.login-wrap {
  max-width: 620px;
  margin: 65px auto;
  text-align: center;
}
.login-wrap h1 {
  font-size: 40px;
  line-height: 1.3;
}
.login-wrap > p {
  color: var(--muted);
  line-height: 1.8;
}
.login-panel {
  max-width: 370px;
  margin: 30px auto;
  text-align: left;
}
.login-panel > p {
  font-size: 12px;
  color: var(--muted);
}
.login-panel > .secondary {
  width: 100%;
  margin: 12px 0;
}
.login-panel small {
  line-height: 1.8;
  margin-top: 15px;
}
.login-divider {
  text-align: center;
  font-size: 10px;
  color: var(--muted);
  margin: 12px 0;
}
#form-error,
#login-error {
  color: #a33d31;
  font-size: 12px;
  line-height: 1.6;
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 25px 0;
}
.donut-center {
  font-size: 17px;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
@media (max-width: 560px) {
  .login-wrap {
    margin-top: 35px;
  }
  .login-wrap h1 {
    font-size: 29px;
  }
  .card-euro {
    font-size: 10px;
  }
  .page-heading {
    gap: 8px;
  }
}

.optional {
  margin-top: 19px;
}
.optional summary {
  font-size: 12px;
  color: #6e8268;
  cursor: pointer;
  padding: 8px 0;
}
.optional[open] summary {
  margin-bottom: 8px;
}
nav button .nav-label {
  width: auto;
}
