:root {
  --bg: #f5f6f2;
  --paper: #fff;
  --ink: #203a34;
  --muted: #7b8982;
  --green: #194e40;
  --lime: #ddedb0;
  --line: #e6ebe3;
  --red: #ba5a52;
  --gold: #d8ae62;
  --radius: 22px;
  --shadow: 0 5px 28px #173b3207;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  font-size: 14px;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
a {
  color: var(--green);
}
button {
  border: 0;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 30px;
  letter-spacing: -1px;
  font-weight: 650;
}
h2 {
  font-size: 17px;
  letter-spacing: -0.3px;
}
h3 {
  font-size: 15px;
}
p {
  line-height: 1.65;
}
.muted,
small {
  color: var(--muted);
}
small {
  font-size: 12px;
  line-height: 1.6;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 10px;
  font-weight: 750;
}
.layout {
  display: grid;
  grid-template-columns: 246px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: #fff;
  border-right: 1px solid var(--line);
  position: fixed;
  inset: 0 auto 0 0;
  width: 246px;
  display: flex;
  flex-direction: column;
  padding: 34px 22px;
  z-index: 30;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -1px;
  color: var(--ink);
  text-decoration: none;
}
.brand img {
  width: 35px;
  height: 35px;
}
.brand i {
  font-size: 9px;
  letter-spacing: 1px;
  font-style: normal;
  margin-left: auto;
  background: var(--bg);
  padding: 5px 7px;
  border-radius: 6px;
}
.workspace {
  margin: 34px 0 27px;
  border: 1px solid var(--line);
  padding: 14px;
  border-radius: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.workspace strong {
  display: block;
  font-size: 12px;
}
.workspace small {
  font-size: 10px;
}
.avatar {
  background: #efeee6;
  border-radius: 10px;
  width: 31px;
  height: 34px;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.sidebar nav {
  display: grid;
  gap: 7px;
}
.nav {
  color: #78867e;
  display: flex;
  align-items: center;
  gap: 13px;
  background: transparent;
  padding: 13px 15px;
  border-radius: 11px;
  text-align: left;
  font-size: 12px;
}
.nav.active {
  background: #eaf1e2;
  color: var(--green);
  font-weight: 700;
}
.nav:hover {
  background: var(--bg);
}
.nav svg {
  width: 18px;
  height: 18px;
}
.navlabel {
  font-size: 9px;
  letter-spacing: 1.6px;
  color: #9aaba1;
  margin: 20px 15px 12px;
}
.sidebottom {
  margin-top: auto;
  padding-top: 30px;
}
.secure {
  background: #f5f7ef;
  border-radius: 13px;
  padding: 17px;
  font-size: 11px;
  line-height: 1.6;
}
.secure strong {
  display: block;
  margin-bottom: 6px;
}
.profile {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding: 22px 2px 0;
  display: flex;
  gap: 10px;
  align-items: center;
}
.profile .avatar {
  background: var(--green);
  color: #fff;
}
.profile button {
  background: none;
  color: var(--muted);
  margin-left: auto;
  padding: 8px;
}
.main {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 80px;
  background: #ffffffa3;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 44px;
  font-size: 11px;
  color: var(--muted);
}
.topright {
  display: flex;
  gap: 20px;
  align-items: center;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #89a867;
  border-radius: 50%;
  margin-right: 7px;
}
.content {
  max-width: 1510px;
  margin: auto;
  padding: 35px 44px 45px;
}
.pagehead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 28px;
}
.pagehead p {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}
.actions {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 17px;
  border-radius: 10px;
  background: var(--green);
  color: white;
  font-size: 11px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn svg {
  width: 15px;
  height: 15px;
}
.btn.secondary {
  background: white;
  color: var(--ink);
  border-color: var(--line);
}
.btn.ghost {
  background: none;
  color: var(--green);
  padding: 8px;
}
.btn.danger {
  background: #f9eae8;
  color: var(--red);
}
.btn:hover {
  filter: brightness(0.96);
}
.hero {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  gap: 18px;
  margin-bottom: 24px;
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 23px;
  box-shadow: var(--shadow);
  min-width: 0;
}
.wealth {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  position: relative;
  overflow: hidden;
  padding: 27px 29px;
}
.wealth:after {
  content: "";
  position: absolute;
  right: -38px;
  top: -64px;
  width: 220px;
  height: 220px;
  border: 1px solid #ffffff0d;
  border-radius: 50%;
  box-shadow:
    0 0 0 35px #ffffff04,
    0 0 0 70px #ffffff04;
  pointer-events: none;
}
.wealth .eyebrow {
  color: #c1d5bc;
}
.amount {
  font-size: 39px;
  font-weight: 550;
  letter-spacing: -1.7px;
  margin: 17px 0;
}
.wealth small {
  color: #c3d5ca;
}
.wealth .pill {
  background: #ffffff17;
  color: #e5f1d5;
}
.metriclabel {
  color: var(--muted);
  font-size: 11px;
}
.metricvalue {
  font-size: 27px;
  margin: 20px 0 14px;
  font-weight: 600;
  letter-spacing: -0.8px;
}
.metricfoot {
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #eef4e6;
  color: #577543;
  padding: 5px 9px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
}
.pill.warn {
  background: #f9f1df;
  color: #9c7a3c;
}
.pill.bad {
  background: #faece9;
  color: var(--red);
}
.positive {
  color: #47845a;
}
.negative {
  color: var(--red);
}
.two {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
  gap: 22px;
  margin-bottom: 23px;
}
.equal {
  grid-template-columns: 1fr 1fr;
}
.sectionhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.sectionhead p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 6px;
}
.chart {
  height: 205px;
  position: relative;
}
.chart svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.chartlabels {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 9px;
  margin-top: 12px;
}
.chartnote {
  font-size: 10px;
  color: var(--muted);
  margin-top: 18px;
}
.legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 10px;
  color: var(--muted);
}
.swatch {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 3px;
  margin-right: 7px;
}
.donutarea {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: center;
  padding: 9px 0;
}
.donut {
  width: 150px;
  height: 150px;
  flex-shrink: 0;
  border-radius: 50%;
  position: relative;
  display: grid;
  place-items: center;
}
.donut:before {
  content: "";
  position: absolute;
  inset: 20px;
  background: white;
  border-radius: 50%;
}
.donut div {
  position: relative;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
}
.donut strong {
  display: block;
  color: var(--ink);
  font-size: 24px;
  margin-bottom: 3px;
}
.breakdown {
  display: grid;
  gap: 14px;
  flex: 1;
}
.breakdown div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
}
.breakdown span {
  color: var(--muted);
}
.tablewrap {
  overflow: auto;
  margin: 0 -4px;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  white-space: nowrap;
  font-size: 11px;
}
th {
  color: #95a097;
  font-weight: 550;
  font-size: 9px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 15px 10px;
  border-bottom: 1px solid #eff1eb;
}
tr:last-child td {
  border-bottom: 0;
}
td strong {
  font-weight: 650;
}
td small {
  display: block;
  font-size: 9px;
  margin-top: 4px;
}
.right {
  text-align: right;
}
.accountname {
  display: flex;
  align-items: center;
  gap: 12px;
}
.accounticon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #edf2e7;
  color: #53784c;
  flex-shrink: 0;
}
.accounticon svg {
  width: 16px;
  height: 16px;
}
.accounticon.gold {
  background: #f8f1e1;
  color: #b29150;
}
.accounticon.blue {
  background: #eaf1f4;
  color: #698b9d;
}
.rowbutton {
  background: none;
  color: var(--green);
  font-size: 11px;
  padding: 7px;
  border-radius: 6px;
  text-align: left;
}
.rowbutton:hover {
  background: #eef4e6;
}
.progress {
  background: #edf0e7;
  height: 6px;
  border-radius: 10px;
  overflow: hidden;
  margin: 14px 0 9px;
}
.progress span {
  display: block;
  background: #9ebb7b;
  height: 100%;
  border-radius: 10px;
}
.callout {
  border: 1px solid #e6ead9;
  background: #f3f6e9;
  border-radius: 14px;
  padding: 17px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  line-height: 1.65;
  margin-bottom: 24px;
}
.callout > svg {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
}
.callout .btn {
  margin-left: auto;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 19px;
  margin-bottom: 24px;
}
.accountcard {
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.18s,
    border-color 0.18s;
}
.accountcard:hover {
  transform: translateY(-3px);
  border-color: #a8bd91;
}
.accountcard h3 {
  margin: 17px 0 5px;
}
.accountcard .big {
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -1px;
  margin: 22px 0 13px;
}
.accountcard .footer {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
}
.tabs {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.tab {
  border-radius: 9px;
  font-size: 11px;
  padding: 9px 14px;
  background: #e9eee3;
  color: var(--green);
}
.tab.active {
  background: var(--green);
  color: white;
}
.empty {
  padding: 35px 15px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
.empty svg {
  width: 35px;
  height: 35px;
  display: block;
  margin: 0 auto 13px;
  color: #a3b38f;
}
.barplot {
  height: 190px;
  display: flex;
  align-items: end;
  gap: 12px;
  margin: 20px 0 32px;
  border-bottom: 1px solid var(--line);
}
.barpair {
  position: relative;
  height: 100%;
  flex: 1;
  display: flex;
  align-items: end;
  gap: 3px;
  justify-content: center;
}
.barpair i {
  width: 13px;
  min-height: 2px;
  background: #a5c58d;
  border-radius: 4px 4px 0 0;
}
.barpair i.out {
  background: #e7be9f;
}
.barpair span {
  position: absolute;
  top: calc(100% + 10px);
  font-size: 9px;
  color: var(--muted);
}
.notice {
  background: #faf6eb;
  padding: 16px 18px;
  font-size: 11px;
  line-height: 1.65;
  border-radius: 12px;
  color: #8d774f;
  margin-bottom: 18px;
}
.detailmetrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 23px;
}
.detailmetrics .metricvalue {
  font-size: 23px;
}
.filters {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.filters input,
.filters select {
  width: auto;
}
.list {
  display: grid;
  gap: 17px;
}
.rule {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.7;
}
.rule:last-child {
  border: 0;
}
.rule strong {
  display: block;
  margin-bottom: 6px;
}
.rule a {
  font-size: 10px;
}
.infofoot {
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 20px;
}
.mobilemenu {
  display: none;
}
dialog {
  border: 1px solid var(--line);
  padding: 0;
  border-radius: 22px;
  width: min(690px, calc(100% - 28px));
  max-height: 90dvh;
  color: var(--ink);
  background: white;
  box-shadow: 0 35px 100px #16362a33;
}
dialog::backdrop {
  background: #152d285f;
  backdrop-filter: blur(4px);
}
.modalhead {
  padding: 25px 27px 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.modalhead h2 {
  font-size: 20px;
}
.close {
  background: var(--bg);
  border-radius: 8px;
  width: 30px;
  height: 30px;
  font-size: 19px;
  color: var(--muted);
}
.modalbody {
  padding: 24px 27px;
}
.formgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
label {
  font-size: 11px;
  font-weight: 600;
  display: grid;
  gap: 8px;
  align-content: start;
}
input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border-radius: 9px;
  background: #fbfcf8;
  border: 1px solid #dfe6d9;
  color: var(--ink);
  font-size: 12px;
  min-width: 0;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #c7dbad;
  border-color: #a8bd91;
}
textarea {
  min-height: 85px;
  resize: vertical;
}
.full {
  grid-column: 1/-1;
}
.formactions {
  margin-top: 24px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.formerror {
  font-size: 12px;
  color: var(--red);
  line-height: 1.6;
  margin-top: 15px;
}
.check {
  display: flex;
  gap: 10px;
  align-items: center;
}
.check input {
  width: auto;
}
.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.authvisual {
  background: var(--green);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 60px;
  position: relative;
  overflow: hidden;
}
.authvisual:after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border: 1px solid #ffffff16;
  border-radius: 50%;
  right: -200px;
  bottom: -100px;
  box-shadow:
    0 0 0 55px #ffffff05,
    0 0 0 110px #ffffff04;
}
.authvisual .brand {
  color: white;
}
.authvisual h1 {
  font-size: 52px;
  line-height: 1.15;
  max-width: 490px;
  letter-spacing: -2px;
  position: relative;
  z-index: 1;
}
.authvisual h1 em {
  color: var(--lime);
  font-style: normal;
}
.authvisual p {
  color: #bdd3c3;
  margin-top: 25px;
  max-width: 330px;
  font-size: 14px;
}
.authform {
  display: grid;
  place-items: center;
  padding: 40px;
}
.authinner {
  width: 100%;
  max-width: 350px;
}
.authinner h2 {
  font-size: 28px;
  margin: 15px 0;
}
.authinner p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 28px;
}
.authinner label {
  margin-top: 17px;
}
.authinner .btn {
  width: 100%;
  margin-top: 25px;
  padding: 14px;
}
.authinner .eyebrow {
  color: #799354;
}
.authinner small {
  display: block;
  margin-top: 24px;
  font-size: 10px;
}
.loading {
  height: 100vh;
  display: grid;
  place-content: center;
  text-align: center;
  font-size: 30px;
  gap: 15px;
}
.loading span {
  font-size: 12px;
  color: var(--muted);
}
#toast {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 100;
  background: var(--green);
  color: white;
  padding: 15px 22px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-size: 12px;
  opacity: 0;
  transition: 0.2s;
  pointer-events: none;
  max-width: 90vw;
}
#toast.show {
  opacity: 1;
}
.inlineamount {
  font-variant-numeric: tabular-nums;
}
.bottomnote {
  display: flex;
  justify-content: space-between;
  color: #98a495;
  font-size: 9px;
  margin-top: 27px;
}
.link {
  background: none;
  color: var(--green);
  text-decoration: underline;
  font-size: 11px;
  padding: 0;
}
.snapshotrow {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.snapshotrow small {
  display: block;
}
.snapshotrow .actions {
  justify-content: flex-end;
}
.accountcard.archived {
  opacity: 0.6;
}
.mini {
  font-size: 10px !important;
  padding: 7px 10px !important;
}
.warntext {
  color: #9c7a3c;
}
.taxamount {
  font-size: 25px;
  margin: 15px 0;
}
.simresult {
  padding: 22px;
  background: #eff5e7;
  border-radius: 15px;
  margin-top: 20px;
}
.simresult strong {
  font-size: 24px;
  display: block;
  margin-top: 10px;
}
@media (min-width: 1600px) {
  .content {
    padding-top: 45px;
  }
  .hero {
    margin-bottom: 30px;
  }
  .card {
    padding: 28px;
  }
  .chart {
    height: 235px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 205px;
    padding: 28px 15px;
  }
  .layout {
    grid-template-columns: 205px minmax(0, 1fr);
  }
  .content {
    padding: 28px;
  }
  .topbar {
    padding: 0 28px;
  }
  .hero {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 12px;
  }
  .amount {
    font-size: 31px;
  }
  .metricvalue {
    font-size: 23px;
  }
  .card {
    padding: 20px;
  }
  .donutarea {
    flex-direction: column;
  }
  .breakdown {
    width: 100%;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .detailmetrics {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 850px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    box-shadow: 20px 0 70px #173b3220;
    width: 246px;
  }
  .sidebar.open {
    transform: none;
  }
  .layout {
    display: block;
  }
  .main {
    width: 100%;
  }
  .mobilemenu {
    display: inline-flex;
    border: 0;
    background: none;
    color: var(--green);
    padding: 6px;
    margin-right: 10px;
  }
  .mobilemenu svg {
    width: 22px;
    height: 22px;
  }
  .topbar {
    height: 63px;
    padding: 0 20px;
  }
  .topbar > div:first-child {
    display: flex;
    align-items: center;
  }
  .topright {
    gap: 10px;
  }
  .topright .optional {
    display: none;
  }
  .content {
    padding: 25px 20px;
  }
  .pagehead {
    align-items: flex-start;
  }
  .pagehead h1 {
    font-size: 26px;
  }
  .pagehead .actions {
    justify-content: flex-end;
  }
  .hero {
    grid-template-columns: 1fr 1fr;
  }
  .wealth {
    grid-column: 1/-1;
  }
  .amount {
    font-size: 40px;
  }
  .two {
    grid-template-columns: 1fr;
  }
  .donutarea {
    flex-direction: row;
    gap: 30px;
    padding: 10px 15px;
  }
  .authvisual {
    padding: 35px;
  }
  .authvisual h1 {
    font-size: 40px;
  }
  .authvisual p {
    font-size: 12px;
  }
  .authform {
    padding: 25px;
  }
  .callout {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .callout .btn {
    margin-left: 35px;
  }
  .bottomnote {
    line-height: 1.6;
    gap: 20px;
  }
}
@media (max-width: 520px) {
  .content {
    padding: 23px 16px;
  }
  .pagehead {
    flex-direction: column;
    gap: 18px;
  }
  .pagehead .actions {
    width: 100%;
    justify-content: flex-start;
  }
  .hero {
    gap: 10px;
  }
  .card {
    padding: 18px;
    border-radius: 17px;
  }
  .wealth {
    padding: 24px;
  }
  .metricvalue {
    font-size: 23px;
    margin: 15px 0;
  }
  .metricfoot {
    font-size: 9px;
  }
  .metriclabel {
    font-size: 10px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .donut {
    width: 130px;
    height: 130px;
  }
  .donutarea {
    padding: 0;
    gap: 19px;
  }
  .breakdown div {
    font-size: 10px;
  }
  .two {
    gap: 16px;
  }
  .sectionhead h2 {
    font-size: 15px;
  }
  .tablewrap {
    margin: 0 -7px;
  }
  .detailmetrics {
    gap: 10px;
  }
  .detailmetrics .metricvalue {
    font-size: 21px;
  }
  .formgrid {
    grid-template-columns: 1fr;
  }
  .full {
    grid-column: auto;
  }
  .modalbody {
    padding: 21px;
  }
  .auth {
    display: block;
  }
  .authvisual {
    min-height: 240px;
    padding: 28px;
  }
  .authvisual h1 {
    font-size: 30px;
    margin-top: 35px;
    max-width: 300px;
  }
  .authvisual p,
  .authvisual > small {
    display: none;
  }
  .authform {
    padding: 35px 25px;
  }
  .topright {
    font-size: 9px;
  }
  .topbar {
    padding: 0 12px;
  }
  .tabs {
    gap: 5px;
  }
  .tab {
    padding: 8px 10px;
    font-size: 10px;
  }
  .accountcard .big {
    font-size: 29px;
  }
  .barplot {
    gap: 6px;
  }
  .barpair i {
    width: 8px;
  }
  .bottomnote {
    display: block;
  }
  .snapshotrow {
    flex-wrap: wrap;
  }
  .sectionhead {
    flex-wrap: wrap;
  }
  .callout {
    font-size: 10px;
  }
  .filters input,
  .filters select {
    width: 100%;
  }
}
.secure > svg {
  width: 18px;
  height: 18px;
  margin-bottom: 9px;
}
.sectionhead > svg {
  width: 21px;
  height: 21px;
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
.periodcard {
  margin-bottom: 24px;
}
.periodinputs {
  display: flex;
  gap: 10px;
}
.periodinputs label {
  font-size: 9px;
  color: var(--muted);
}
.periodinputs input {
  padding: 8px 10px;
  font-size: 11px;
}
.periodgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 8px 0 21px;
}
.periodgrid small {
  font-size: 10px;
}
.periodgrid strong {
  display: block;
  font-size: 20px;
  letter-spacing: -0.5px;
  margin-top: 9px;
}
.periodgrid em {
  display: block;
  font-size: 11px;
  font-weight: 500;
  font-style: normal;
  margin-top: 8px;
}
.periodfoot {
  padding-top: 15px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--muted);
}
.allocationvisual {
  max-width: 600px;
  margin: 10px auto 27px;
}
.allocationvisual .donutarea {
  flex-direction: row;
}
.content > *,
dialog[open] {
  animation: arrive 0.4s ease both;
}
.content > :nth-child(2) {
  animation-delay: 0.04s;
}
.content > :nth-child(3) {
  animation-delay: 0.08s;
}
.content > :nth-child(4) {
  animation-delay: 0.12s;
}
.btn,
.nav,
.tab,
.accountcard {
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.btn:active {
  transform: translateY(1px) scale(0.98);
}
.card:hover {
  box-shadow: 0 8px 35px #173b320a;
}
.chart svg path[fill="none"] {
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  animation: draw 1.4s ease forwards;
}
.barpair i {
  animation: grow 0.65s ease both;
  transform-origin: bottom;
}
.donut {
  animation: arrive 0.6s ease both;
}
.metricvalue,
.amount {
  font-variant-numeric: tabular-nums;
}
.filters select {
  max-width: 280px;
}
.cashsummary {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  background: #f4f7ee;
  padding: 17px;
  border-radius: 13px;
  margin-bottom: 20px;
  font-size: 11px;
}
.cashsummary strong {
  display: block;
  font-size: 18px;
  margin-top: 8px;
}
.cashsummary small {
  font-size: 9px;
}
.cashsummary > div {
  flex: 1;
  min-width: 130px;
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes grow {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}
@media (max-width: 850px) {
  .periodgrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .periodinputs {
    width: 100%;
  }
  .periodinputs label {
    flex: 1;
  }
}
@media (max-width: 520px) {
  .periodgrid {
    gap: 23px 12px;
  }
  .periodgrid strong {
    font-size: 19px;
  }
  .allocationvisual .donutarea {
    flex-direction: column;
  }
  .allocationvisual .breakdown {
    max-width: 260px;
  }
  .allocationvisual .donut {
    width: 150px;
    height: 150px;
  }
  .periodinputs input {
    width: 100%;
  }
  .pagehead select {
    max-width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .chart svg path[fill="none"] {
    stroke-dashoffset: 0;
  }
}
.advanced {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.advanced summary {
  font-size: 12px;
  color: var(--green);
  font-weight: 650;
  cursor: pointer;
  padding: 7px 0;
}
.advanced[open] summary {
  margin-bottom: 18px;
}
.feebar {
  display: flex;
  height: 10px;
  border-radius: 8px;
  overflow: hidden;
  margin: 18px 0 6px;
}
.feebar span {
  height: 100%;
  transition: width 0.6s;
}
