:root {
  --bg: #f4f6fa;
  --paper: #fff;
  --ink: #24334d;
  --muted: #8490a6;
  --green: #4263eb;
  --lime: #b9d9ff;
  --line: #e5eaf2;
  --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: #edf1ff;
  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: #edf1ff;
  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: #edf1ff;
}
.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: #eff3fe;
  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: #edf1fa;
  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 #b8c6ff;
  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;
}
/* Viewps control room */
:root {
  --bg: #f4f6fa;
  --ink: #24334d;
  --muted: #8490a6;
  --green: #4263eb;
  --lime: #b9d9ff;
  --line: #e5eaf2;
}
.sidebar {
  padding: 26px 20px;
  overflow-y: auto;
}
.sidebar .workspace {
  margin: 27px 0 17px;
}
.sidebar .navlabel {
  margin: 15px 15px 12px;
}
.sidebar .nav {
  padding: 11px 14px;
}
.sidebar .sidebottom {
  padding-top: 20px;
}
.sidebar .secure {
  background: #f2f5ff;
}
.sidebar .profile {
  margin-top: 17px;
  padding-top: 17px;
}
.brand i {
  color: #8290b2;
  background: #eff2fa;
}
.workspace .avatar {
  background: #edf1ff;
  color: #4263eb;
}
.avatar svg {
  width: 18px;
  height: 18px;
}
.topbar {
  height: 76px;
}
.topright .btn {
  padding: 8px 13px;
  font-size: 10px;
}
.live {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  white-space: nowrap;
  font-size: 10px;
  color: #7a8a9b;
}
.live > i,
.state > i,
.okdot,
.baddot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  background: #36b89c;
}
.state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  background: #eef9f5;
  border-radius: 6px;
  padding: 5px 8px;
  white-space: nowrap;
  color: #3d9e87;
}
.state.down {
  background: #fff5e8;
  color: #ba8b43;
}
.state.down i,
.baddot {
  background: #dfab53;
}
.resourcegrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 25px;
}
.resourcecard .metricvalue {
  font-size: 30px;
  margin: 10px 0 17px;
}
.resourceicon svg {
  width: 18px;
  height: 18px;
}
.resourcecard .sectionhead {
  margin-bottom: 20px;
}
.metricunit {
  font-size: 18px;
  color: #a7b0c1;
  font-weight: 400;
}
.resourcecard .metricfoot {
  min-height: 30px;
}
.resourcecard .progress {
  height: 5px;
  margin: 0 0 14px;
}
.rangetabs {
  margin: 0;
  gap: 3px;
}
.rangetabs .tab {
  padding: 7px 9px;
  font-size: 9px;
}
.alertdisk {
  background: #fff9ee;
  border-color: #f0e3ca;
  color: #8c7147;
}
.alertbackup {
  background: #fff2f0;
  border-color: #f2deda;
  color: #a16659;
}
.projectcards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.projectcard {
  border-top: 3px solid var(--project);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.projectcard:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 45px #324f8011;
}
.projecticon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--project, #4263eb) 12%, white);
  color: var(--project, #4263eb);
  border-radius: 12px;
}
.projecticon svg {
  width: 20px;
  height: 20px;
}
.projecttitle {
  padding: 0;
  background: none;
  font-weight: 650;
  font-size: 19px;
  letter-spacing: -0.4px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.projectcard > p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
  min-height: 34px;
}
.projectmini {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 23px;
}
.projectmini small {
  display: block;
  font-size: 9px;
}
.projectmini strong {
  display: block;
  font-size: 15px;
  margin-top: 9px;
  font-weight: 600;
}
.projectcard .footer {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-size: 9px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 17px;
  margin-top: 17px;
}
.projectcard .footer a {
  font-size: 10px;
}
.wrap {
  white-space: normal;
  overflow-wrap: anywhere;
  max-width: 580px;
}
.tag {
  display: inline-flex;
  padding: 5px 7px;
  border-radius: 6px;
  background: #f0f3f9;
  color: #7b88a0;
  font-size: 9px;
  margin: 2px 4px 2px 0;
  gap: 5px;
  align-items: center;
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
}
.techgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.techgrid > div {
  border: 1px solid var(--line);
  padding: 15px;
  border-radius: 12px;
  min-width: 0;
}
.techgrid small {
  font-size: 10px;
}
.techgrid strong {
  display: block;
  font-size: 12px;
  line-height: 1.65;
  margin-top: 6px;
  white-space: normal;
  overflow-wrap: anywhere;
}
.detailtitle {
  cursor: pointer;
  font-weight: 650;
  font-size: 14px;
  padding: 5px 0;
}
.meshcard {
  overflow: hidden;
  background: radial-gradient(ellipse at top, #f5f7ff, white 70%);
  padding: 30px;
}
.meshhost {
  width: min(100%, 380px);
  margin: auto;
  text-align: center;
  border: 1px solid #d9e1f6;
  background: white;
  padding: 22px;
  border-radius: 18px;
  box-shadow: 0 8px 30px #4263eb0a;
}
.meshhost .projecticon {
  margin: 0 auto 15px;
}
.meshhost > strong {
  display: block;
  font-size: 19px;
}
.meshhost > small {
  display: block;
  margin-top: 7px;
  font-size: 10px;
}
.meshhost .legend {
  justify-content: center;
  margin-top: 16px;
}
.meshline {
  height: 75px;
  display: flex;
  justify-content: center;
  position: relative;
  align-items: center;
}
.meshline i {
  position: absolute;
  height: 100%;
  width: 2px;
  background: repeating-linear-gradient(
    to bottom,
    #bccafa 0 8px,
    transparent 8px 14px
  );
  animation: flow 1.4s linear infinite;
}
.meshline > span {
  z-index: 1;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  font-size: 9px;
  color: var(--muted);
  max-width: 90%;
  text-align: center;
}
.meshproxy {
  display: grid;
  gap: 6px;
  justify-content: center;
  padding: 14px 25px;
  border-radius: 12px;
  margin: auto;
  border: 1px solid #dce5f9;
  background: white;
  cursor: pointer;
}
.meshproxy small {
  font-size: 9px;
}
.meshbranches {
  height: 55px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  margin: 0 16%;
}
.meshbranches:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 26px;
  height: 1px;
  background: #d5def8;
}
.meshbranches > i {
  position: relative;
}
.meshbranches > i:after {
  content: "";
  position: absolute;
  left: 50%;
  height: 29px;
  top: 26px;
  border-left: 2px dashed #bccaee;
}
.meshbranches > i:nth-child(2):before {
  content: "";
  position: absolute;
  left: 50%;
  height: 26px;
  border-left: 2px dashed #bccaee;
}
.meshprojects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}
.meshproject {
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-top: 3px solid var(--project);
  border-radius: 16px;
  min-width: 0;
}
.meshproject .projecttitle {
  display: block;
  font-size: 17px;
  margin-bottom: 13px;
}
.meshproject > p {
  font-size: 10px;
  color: var(--muted);
  margin: 12px 0;
}
.componentlist {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  min-height: 57px;
  margin-bottom: 16px;
}
.componentlist button {
  cursor: pointer;
  font-size: 8px;
  padding: 6px;
}
.meshproject > a {
  font-size: 10px;
}
.meshproject .state {
  font-size: 9px;
}
.diskring {
  width: 190px;
  height: 190px;
  margin: 27px auto;
  background: conic-gradient(#e5a34f var(--used), #eff2fa 0);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
}
.diskring:before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: white;
}
.diskring > div {
  position: relative;
  text-align: center;
}
.diskring strong {
  display: block;
  font-size: 31px;
  margin-bottom: 6px;
}
.storagerow {
  margin: 21px 0;
}
.storagerow > div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  gap: 15px;
}
.storagerow .progress {
  margin: 8px 0;
  height: 7px;
}
.filetoolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.filetoolbar select {
  max-width: 200px;
}
.filetoolbar input {
  flex: 1;
  min-width: 160px;
}
.filetoolbar .actions {
  margin-left: auto;
}
.breadcrumbs {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
  font-size: 11px;
}
.breadcrumbs > span {
  color: #bac3d2;
}
.tablewrap td > svg {
  width: 17px;
  height: 17px;
  vertical-align: middle;
  color: #9baac0;
}
.logviewer {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #18233e;
  color: #cad4eb;
  padding: 23px;
  border-radius: 14px;
  min-height: 300px;
  max-height: 60vh;
  overflow: auto;
  font:
    11px/1.9 Consolas,
    monospace;
  tab-size: 2;
}
.codeeditor {
  font:
    12px/1.8 Consolas,
    monospace;
  min-height: 350px;
  white-space: pre;
  tab-size: 2;
  resize: vertical;
  background: #f8faff;
}
.codeeditor.short {
  min-height: 125px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
dialog:has(.codeeditor) {
  width: min(980px, calc(100% - 28px));
}
.deleteinfo {
  padding: 23px;
  border: 1px solid #f0d9d4;
  background: #fff8f5;
  border-radius: 15px;
}
.deleteinfo > strong {
  font-size: 17px;
  overflow-wrap: anywhere;
}
.deleteinfo > p {
  font-size: 11px;
  overflow-wrap: anywhere;
  margin: 11px 0;
  color: #9b7c73;
}
.deleteinfo > span {
  font-size: 25px;
  font-weight: 650;
  color: #bd7e5b;
}
.relinktop {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  align-items: center;
}
.relinktop > strong {
  font-size: 26px;
}
.relinksteps {
  display: grid;
  gap: 13px;
  margin-top: 25px;
}
.relinksteps > div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.relinksteps > div > svg {
  width: 19px;
  height: 19px;
  color: #51a596;
  flex-shrink: 0;
}
.relinksteps > div > div {
  flex: 1;
  min-width: 0;
}
.relinksteps strong {
  font-size: 11px;
}
.relinksteps small {
  display: block;
  font-size: 10px;
  margin-top: 5px;
  overflow-wrap: anywhere;
}
.relinksteps .pill {
  font-size: 9px;
}
.btn.danger {
  border-color: #edd0ca;
}
.authvisual {
  background: #263b75;
}
.authvisual h1 em {
  color: #b7dcff;
}
.authvisual p {
  color: #becbea;
}
.authvisual:after {
  box-shadow:
    0 0 0 55px #ffffff04,
    0 0 0 110px #ffffff03;
}
.authinner .eyebrow {
  color: #697fd3;
}
.authinner label {
  margin-top: 16px;
}
.state.up > i {
  box-shadow: 0 0 0 3px #3cb39b12;
}
.topright .live i {
  animation: pulse 2s ease-in-out infinite;
}
@keyframes flow {
  to {
    background-position: 0 14px;
  }
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 0 4px #38b89c16;
  }
}
@media (max-width: 1200px) {
  .resourcegrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .projectcards {
    grid-template-columns: repeat(2, 1fr);
  }
  .projectmini {
    gap: 8px;
  }
  .projectmini strong {
    font-size: 14px;
  }
  .meshprojects {
    gap: 10px;
  }
  .meshproject {
    padding: 16px;
  }
}
@media (max-width: 850px) {
  .sidebar {
    z-index: 80;
  }
  .resourcegrid {
    gap: 12px;
  }
  .projectcards {
    grid-template-columns: 1fr;
  }
  .projectcard > p {
    min-height: 0;
  }
  .projectmini strong {
    font-size: 18px;
  }
  .meshprojects {
    grid-template-columns: 1fr;
  }
  .meshbranches {
    display: none;
  }
  .meshproxy {
    margin-bottom: 28px;
  }
  .meshproject {
    position: relative;
    padding: 20px;
  }
  .meshproject .componentlist {
    min-height: 0;
  }
  .meshcard {
    padding: 22px;
  }
  .resourcecard .metricvalue {
    font-size: 28px;
  }
  .topbar {
    height: 68px;
  }
  .topright .live {
    display: none;
  }
  .filetoolbar .actions {
    margin-left: 0;
    width: 100%;
  }
  .filetoolbar input {
    width: 100%;
    flex-basis: 100%;
  }
  .filetoolbar select {
    max-width: none;
  }
  .filetoolbar .actions > .btn {
    flex: 1;
  }
  .componentlist {
    gap: 7px;
  }
}
@media (max-width: 520px) {
  .resourcegrid {
    gap: 10px;
  }
  .resourcecard {
    padding: 17px;
  }
  .resourcecard .sectionhead {
    margin-bottom: 13px;
  }
  .resourcecard .metricvalue {
    font-size: 25px;
  }
  .resourcecard .metricfoot {
    font-size: 9px;
    min-height: 32px;
  }
  .resourceicon svg {
    width: 16px;
    height: 16px;
  }
  .rangetabs .tab {
    padding: 7px 10px;
  }
  .techgrid {
    grid-template-columns: 1fr;
  }
  .projectmini strong {
    font-size: 16px;
  }
  .meshhost > strong {
    font-size: 17px;
  }
  .meshhost > small {
    font-size: 9px;
  }
  .logviewer {
    padding: 16px;
    font-size: 10px;
  }
  .meshline > span {
    font-size: 8px;
  }
  .authvisual {
    min-height: 265px;
  }
  .authvisual h1 {
    font-size: 29px;
  }
  .authvisual .eyebrow {
    display: none;
  }
  .relinksteps > div {
    gap: 9px;
    padding: 10px;
  }
  .relinksteps .pill {
    padding: 4px 6px;
  }
  .sidebar .secure {
    display: none;
  }
}
