:root {
  --bg: #f6f7f9;
  --panel: #fff;
  --text: #202a29;
  --muted: #808887;
  --line: #e9eceb;
  --green: #23664c;
  --green-dark: #174e3c;
  --green-light: #eaf3ec;
  --lime: #cde7a9;
  --orange: #c88f4b;
  --red: #be645e;
  --shadow: 0 3px 12px #263b2e03;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button,
select {
  transition:
    background 0.16s,
    border-color 0.16s;
}
[hidden] {
  display: none !important;
}
svg {
  display: block;
}
input,
select {
  max-width: 100%;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 248px;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 32px 20px 20px;
  display: flex;
  flex-direction: column;
  z-index: 30;
}
.brand {
  display: flex;
  align-items: center;
  font-size: 29px;
  font-weight: 650;
  letter-spacing: -1.7px;
  gap: 9px;
  color: #204736;
}
.brand-icon {
  width: 34px;
  height: 36px;
  border-radius: 11px;
  background: #24533e;
  color: #fff;
  font: italic 32px Georgia;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -3px;
  padding-right: 4px;
}
.brand-dot {
  font-size: 22px;
  color: #80a28b;
  margin-left: -8px;
}
.workspace {
  margin: 36px 0 32px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 12px 10px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f2e9dd;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8e795d;
  font-size: 11px;
  flex-shrink: 0;
  font-weight: 650;
}
.workspace strong {
  font-size: 11px;
  font-weight: 600;
}
.workspace small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.flag {
  font-size: 8px;
  color: #7c877e;
  margin-left: 4px;
}
.workspace-chevron {
  margin-left: auto;
  color: var(--muted);
}
.nav-label {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #969d99;
  padding: 0 14px;
  margin-bottom: 12px;
  font-weight: 600;
}
nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 7px;
  padding: 13px 13px;
  font-size: 12px;
  color: #737c78;
}
.nav-link svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.6;
}
.nav-link:hover {
  background: #f7f9f7;
}
.nav-link.active {
  background: #eaf2ec;
  color: #295d44;
  font-weight: 600;
}
.nav-link.active:after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #428363;
  margin-left: auto;
}
.nav-divider {
  height: 1px;
  background: var(--line);
  margin: 18px 12px 10px;
}
.sidebar-note {
  padding: 18px;
  background: #f6f8f4;
  border: 1px solid #eaf0e6;
  border-radius: 10px;
  margin: 30px 3px 24px;
}
.note-icon {
  width: 30px;
  height: 30px;
  border: 1px solid #dce6d2;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #62864d;
  font-size: 20px;
  margin-bottom: 14px;
}
.sidebar-note strong {
  font-size: 12px;
  font-weight: 600;
}
.sidebar-note p {
  font-size: 11px;
  color: #889080;
  line-height: 1.8;
  margin: 8px 0 13px;
}
.sidebar-note > span:last-child {
  font-size: 9px;
  color: #718365;
}
.sidebar-bottom {
  border-top: 1px solid var(--line);
  padding: 21px 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #68736d;
  margin-top: auto;
}
.sidebar-bottom small {
  display: block;
  color: #a5aba7;
  margin-top: 5px;
  font-size: 9px;
}
.sidebar-bottom svg {
  width: 13px;
  height: 13px;
  color: #89958b;
}
.sidebar-bottom > span:last-child {
  margin-left: auto;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #76a285;
  flex-shrink: 0;
}
.main-wrap {
  margin-left: 248px;
}
.topbar {
  height: 73px;
  border-bottom: 1px solid var(--line);
  background: #ffffffa6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 36px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  color: #969d99;
}
.breadcrumb strong {
  font-weight: 500;
  color: #53635a;
}
.breadcrumb svg {
  width: 15px;
  height: 15px;
  color: #8f9993;
}
.crumb-separator {
  color: #ccd1cd;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.private-label {
  font-size: 10px;
  color: #858f88;
}
.private-label .status-dot {
  margin-right: 4px;
  width: 5px;
  height: 5px;
}
.small {
  width: 29px;
  height: 29px;
  font-size: 9px;
}
.icon-button {
  border: 0;
  background: transparent;
  padding: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  font-size: 20px;
  color: #7b857e;
}
.icon-button svg {
  width: 17px;
  height: 17px;
}
.icon-button:hover {
  background: #eaf0eb;
}
.bordered {
  border: 1px solid #dfe5df;
  background: white;
  width: 36px;
  height: 36px;
}
.mobile-only {
  display: none;
}
main {
  padding: 36px 36px 0;
  max-width: 1680px;
  margin: auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.eyebrow {
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 1.8px;
  color: #8a958c;
  margin-bottom: 10px;
}
h1 {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -1.2px;
  margin: 0 0 9px;
}
.title-dot {
  color: #6f997a;
}
.page-heading p {
  color: #929995;
  font-size: 11px;
  margin: 0;
  line-height: 1.7;
}
.global-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.select-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dfe5df;
  border-radius: 7px;
  background: #fff;
  padding: 0 10px;
}
.select-wrap svg {
  width: 14px;
  height: 14px;
  color: #849087;
}
.select-wrap select {
  padding: 9px 0;
  font-size: 11px;
  border: 0;
  background: transparent;
  color: #526057;
  min-width: 118px;
}
.currency-control {
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid #dfe5df;
  background: #fff;
  border-radius: 7px;
}
.currency-control button {
  border: 0;
  background: transparent;
  padding: 7px 10px;
  border-radius: 4px;
  font-size: 10px;
  color: #8b948e;
}
.currency-control button.active {
  background: #e9f1eb;
  color: #305a41;
  font-weight: 650;
}
.period-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 17px;
  gap: 15px;
}
.segmented {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  background: #e9edeb;
  border-radius: 7px;
}
.segmented button {
  background: transparent;
  border: 0;
  border-radius: 5px;
  padding: 7px 12px;
  font-size: 10px;
  color: #88918b;
}
.segmented button.active {
  background: white;
  color: #345242;
  box-shadow: 0 1px 3px #0000000b;
}
.period-note {
  font-size: 9px;
  color: #909a93;
  display: flex;
  align-items: center;
  gap: 6px;
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 23px;
}
.kpi {
  border: 1px solid var(--line);
  background: white;
  border-radius: 10px;
  padding: 18px 17px;
  box-shadow: var(--shadow);
}
.kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #7a867e;
  font-size: 10px;
  margin-bottom: 19px;
}
.kpi-icon {
  width: 27px;
  height: 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #f3f6f3;
  color: #7a9580;
}
.kpi-icon svg {
  width: 15px;
  height: 15px;
}
.kpi-value {
  font-size: 25px;
  letter-spacing: -1px;
  font-weight: 600;
  white-space: nowrap;
}
.kpi-value .unit {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  color: #8b948e;
  margin-left: 4px;
}
.kpi-bottom {
  font-size: 8px;
  color: #9aa39c;
  margin-top: 12px;
  line-height: 1.8;
}
.delta {
  color: #4b8762;
  font-weight: 500;
  margin-right: 5px;
}
.delta.bad {
  color: #b47767;
}
.kpi.highlight {
  background: #24573f;
  border-color: #24573f;
  color: white;
  position: relative;
  overflow: hidden;
}
.kpi.highlight:after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -46px;
  width: 135px;
  height: 135px;
  border: 1px solid #ffffff0e;
  border-radius: 50%;
  box-shadow:
    0 0 0 15px #ffffff04,
    0 0 0 30px #ffffff04;
  pointer-events: none;
}
.highlight .kpi-top {
  color: #c3d6c7;
}
.highlight .kpi-icon {
  background: #ffffff10;
  color: #b6d7bc;
}
.highlight .unit {
  color: #a9c4b1;
}
.highlight .kpi-bottom {
  color: #adc5b3;
}
.highlight .delta {
  color: #c2e4a4;
}
.grid-main {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(260px, 1fr);
  gap: 20px;
  margin-bottom: 22px;
}
.panel {
  border: 1px solid var(--line);
  background: white;
  border-radius: 11px;
  box-shadow: var(--shadow);
  min-width: 0;
  overflow: hidden;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 22px 0;
}
.panel h2 {
  font-size: 13px;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.2px;
}
.panel-subtitle {
  font-size: 9px;
  color: #9ca49e;
  margin: 7px 0 0;
}
.panel-action {
  font-size: 10px;
  color: #78877b;
  background: transparent;
  border: 0;
  display: flex;
  gap: 7px;
  align-items: center;
  white-space: nowrap;
}
.panel-action:hover {
  color: #295e43;
}
.panel-body {
  padding: 20px 22px;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 17px;
  font-size: 8px;
  color: #8f998f;
}
.legend i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  margin-right: 5px;
}
.legend i.line {
  height: 2px;
  width: 11px;
  vertical-align: middle;
}
.chart-wrap {
  padding: 16px 17px 0;
}
.chart-wrap svg {
  width: 100%;
  height: auto;
  max-height: 310px;
}
.chart-label {
  font-size: 10px;
  fill: #9ba59e;
}
.chart-callout {
  border-top: 1px solid #f0f2ef;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  color: #8c978e;
  background: #fcfdfb;
}
.chart-callout svg {
  width: 13px;
  height: 13px;
  color: #7f9b69;
}
.chart-callout strong {
  color: #5c765c;
  font-weight: 500;
}
.donut-layout {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 10px 0 14px;
}
.donut {
  position: relative;
  width: 156px;
  height: 156px;
  flex-shrink: 0;
}
.donut svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.donut-center small {
  color: #929e93;
  font-size: 8px;
  margin-bottom: 7px;
}
.donut-center strong {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.6px;
}
.donut-center span {
  font-size: 8px;
  color: #a4ada5;
  margin-top: 5px;
}
.donut-key {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.donut-key > div {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  color: #8b958d;
}
.donut-key i {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  flex-shrink: 0;
}
.donut-key span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.donut-key b {
  margin-left: auto;
  color: #627564;
  font-size: 8px;
  font-weight: 500;
}
.category-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.category-progress {
  display: flex;
  align-items: center;
  font-size: 9px;
  gap: 10px;
}
.category-progress .cat-icon {
  height: 27px;
  width: 27px;
  border-radius: 7px;
  background: #f2f5ed;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6e885e;
  font-size: 12px;
}
.category-progress .cat-name {
  width: 120px;
  color: #748271;
}
.category-progress .progress {
  flex: 1;
  background: #f1f4ee;
  height: 4px;
  border-radius: 4px;
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  border-radius: 4px;
}
.category-progress strong {
  font-size: 9px;
  min-width: 63px;
  text-align: right;
  font-weight: 500;
  color: #677862;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 28px 0 13px;
}
.section-title h2 {
  font-size: 13px;
  font-weight: 600;
  margin: 0;
}
.section-title small {
  font-size: 9px;
  color: #949e96;
}
.account-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 22px;
}
.account-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 17px 19px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
}
.bank-logo {
  width: 37px;
  height: 37px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #edf4ef;
  font-weight: 650;
  font-size: 13px;
  color: #537455;
  flex-shrink: 0;
}
.account-info {
  flex: 1;
  min-width: 0;
}
.account-info strong {
  font-size: 10px;
  font-weight: 550;
  display: block;
}
.account-info small {
  display: block;
  font-size: 8px;
  color: #9da69f;
  margin-top: 5px;
}
.account-amount {
  text-align: right;
}
.account-amount strong {
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -0.4px;
}
.account-amount small {
  display: block;
  font-size: 8px;
  color: #99a39b;
  margin-top: 5px;
}
.table-wrap {
  overflow: auto;
}
.data-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 10px;
  text-align: left;
}
.data-table th {
  padding: 14px 22px;
  background: #fbfcfa;
  color: #98a197;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.4px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.data-table td {
  padding: 15px 22px;
  border-bottom: 1px solid #f0f2ef;
  color: #72806f;
  vertical-align: middle;
  max-width: 330px;
}
.data-table tbody tr:last-child td {
  border-bottom: 0;
}
.data-table td strong {
  font-weight: 500;
  color: #4c5c4d;
}
.data-table td small {
  display: block;
  color: #a2aaa1;
  font-size: 8px;
  margin-top: 5px;
}
.data-table .right {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.data-table .amount {
  color: #455b48;
  font-size: 11px;
  font-weight: 500;
}
.data-table .positive {
  color: #4c8a61;
}
.category-tag {
  font-size: 8px;
  border-radius: 5px;
  padding: 5px 8px;
  background: #f0f4eb;
  color: #7c8c66;
  white-space: nowrap;
}
.category-tag.other {
  background: #fdf2dc;
  color: #aa8545;
}
.unclassified {
  background: #fffdf6;
}
.split-badge {
  color: #8e9e8d;
  font-size: 8px;
  display: inline-block;
  margin-left: 4px;
}
.table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 22px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  color: #929d90;
}
.pager {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pager button {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: white;
  padding: 5px 9px;
}
.page-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 29px 0 25px;
  gap: 12px;
  font-size: 8px;
  color: #a0a89f;
}
.page-footer > span:first-child {
  display: flex;
  align-items: center;
  gap: 6px;
}
.page-footer .status-dot {
  width: 4px;
  height: 4px;
}
.page-footer strong {
  font-size: 11px;
  color: #81917d;
  font-weight: 550;
  margin-left: 9px;
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
  padding: 20px 22px;
  background: #fff;
}
.filter-bar label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #879382;
  font-size: 9px;
  flex: 1;
  min-width: 115px;
}
.filter-bar label.wide {
  flex: 2;
  min-width: 175px;
}
.filter-bar input,
.filter-bar select {
  background: #fff;
  border: 1px solid #e1e7dd;
  border-radius: 6px;
  padding: 9px 10px;
  font-size: 10px;
  color: #67765f;
  width: 100%;
  height: 35px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid #dce4d7;
  background: white;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 10px;
  color: #667e59;
  white-space: nowrap;
  min-height: 35px;
}
.button.primary {
  background: #285e42;
  color: #fff;
  border-color: #285e42;
}
.button:hover {
  filter: brightness(0.97);
}
.button svg {
  width: 13px;
  height: 13px;
}
.empty-state {
  padding: 65px 25px;
  text-align: center;
}
.empty-icon {
  background: #f1f5ee;
  color: #779269;
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.empty-icon svg {
  width: 23px;
  height: 23px;
}
.empty-state h3 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.4px;
  margin: 10px 0;
}
.empty-state p {
  color: #919e8a;
  font-size: 11px;
  line-height: 1.9;
  max-width: 410px;
  margin: 12px auto;
}
.empty-state small {
  font-size: 9px;
  color: #a4ae9f;
}
.notice {
  padding: 15px 18px;
  border: 1px solid #e1e9d9;
  border-radius: 8px;
  background: #f0f5e9;
  color: #80906f;
  font-size: 10px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.notice strong {
  color: #627b50;
  font-weight: 550;
}
.error-banner {
  background: #fff0ed;
  color: #a35643;
  border: 1px solid #eec5b9;
  padding: 16px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.loading {
  padding: 90px;
  text-align: center;
  color: #8a9980;
  font-size: 12px;
}
.subsection {
  margin-top: 22px;
}
.stat-inline {
  display: flex;
  gap: 35px;
  margin-top: 18px;
}
.stat-inline div {
  font-size: 10px;
  color: #9aa391;
}
.stat-inline strong {
  display: block;
  font-size: 20px;
  color: #5b7150;
  margin-top: 7px;
  font-weight: 500;
}
.check-label {
  font-size: 10px;
  color: #89947f;
  display: flex;
  align-items: center;
  gap: 5px;
}
.month-cell {
  font-variant-numeric: tabular-nums;
}
.balance-panel {
  margin-bottom: 20px;
}
.balance-panel .chart-wrap svg {
  max-height: 240px;
}
.login-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-story {
  background: #1f4d39;
  color: #fff;
  padding: 50px 65px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.login-story .brand {
  color: white;
}
.login-story .brand-icon {
  background: #ffffff15;
}
.login-story .eyebrow {
  color: #a4c09a;
  font-size: 9px;
}
.login-story h1 {
  font-size: 60px;
  line-height: 1.15;
  letter-spacing: -2.8px;
  font-weight: 500;
  margin: 25px 0;
}
.login-story p {
  font-size: 13px;
  color: #a2bba6;
  line-height: 1.9;
}
.login-foot {
  font-size: 10px;
  color: #8eac91;
}
.login-graphic {
  display: flex;
  align-items: flex-end;
  height: 130px;
  gap: 13px;
  margin: 20px 0;
}
.login-graphic span {
  flex: 1;
  max-width: 37px;
  background: #ffffff0c;
  border-radius: 5px 5px 0 0;
  height: 25%;
}
.login-graphic span:nth-child(2) {
  height: 45%;
}
.login-graphic span:nth-child(3) {
  height: 35%;
}
.login-graphic span:nth-child(4) {
  height: 60%;
}
.login-graphic span:nth-child(5) {
  height: 50%;
}
.login-graphic span:nth-child(6) {
  height: 75%;
}
.login-graphic span:nth-child(7) {
  height: 65%;
}
.login-graphic span:nth-child(8) {
  height: 90%;
  background: #bcd999;
}
.login-graphic span:nth-child(9) {
  height: 100%;
  background: #d4e7b6;
}
.login-form-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: #fafbf8;
}
.login-form {
  max-width: 340px;
  width: 100%;
}
.pill {
  font-size: 9px;
  color: #66855d;
  border: 1px solid #dde7d7;
  border-radius: 20px;
  padding: 7px 12px;
  display: inline-block;
}
.login-form h2 {
  font-size: 30px;
  letter-spacing: -1px;
  font-weight: 550;
  margin: 27px 0 12px;
}
.login-form form > p {
  color: #929b8c;
  font-size: 12px;
}
.login-form label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 23px;
  color: #6a7b61;
  font-size: 11px;
}
.login-form input {
  padding: 12px;
  background: white;
  border: 1px solid #dce3d7;
  border-radius: 6px;
}
.login-form .button {
  margin-top: 10px;
  width: 100%;
  padding: 14px;
  justify-content: space-between;
  font-size: 11px;
}
.login-form small {
  display: block;
  color: #9ba693;
  font-size: 9px;
  line-height: 1.8;
  margin-top: 23px;
}
.login-form .form-error {
  color: #b1604d;
  font-size: 11px;
  line-height: 1.7;
  min-height: 16px;
}
.login-progress {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 30px;
  color: #929b8c;
  font-size: 11px;
}
.login-progress > span:not(.step-line) { display: flex; align-items: center; gap: 8px; }
.login-progress b {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid #dce3d7;
  border-radius: 50%;
  font-weight: 500;
}
.login-progress .active { color: #315b46; font-weight: 600; }
.login-progress .active b, .login-progress .complete b { background: #315b46; border-color: #315b46; color: white; }
.step-line { flex: 1; height: 1px; background: #dce3d7; }
.password-confirmed { display: flex; gap: 9px; align-items: center; margin-top: 24px; font-size: 11px; color: #315b46; }
.password-confirmed > span:first-child { display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; background: #e8efe6; }
.login-form .otp-input { font-size: 27px; letter-spacing: .45em; text-align: center; font-variant-numeric: tabular-nums; padding: 16px 10px 16px 20px; }
.login-form .recovery-input { font-family: monospace; font-size: 13px; letter-spacing: .02em; padding: 15px 10px; }
.login-form .login-link { justify-content: center; padding: 8px; margin-top: 13px; border: 0; background: transparent; color: #456a53; }
.login-form .back-link { margin-top: 4px; color: #798673; gap: 8px; }
.login-form .login-link:hover { background: #edf2e9; }
.login-form input:focus-visible { outline: 2px solid #66855d; outline-offset: 3px; }
.generic-table {
  max-height: 400px;
  overflow: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
@media (min-width: 1500px) {
  main {
    padding: 40px 50px 0;
  }
  .topbar {
    padding: 0 50px;
  }
  .kpi-value {
    font-size: 30px;
  }
  .donut {
    width: 175px;
    height: 175px;
  }
  .panel-head {
    padding-top: 25px;
  }
  .kpi {
    padding: 23px;
  }
}
@media (max-width: 1250px) {
  .sidebar {
    width: 218px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .main-wrap {
    margin-left: 218px;
  }
  main {
    padding: 28px 24px 0;
  }
  .topbar {
    padding: 0 24px;
  }
  .kpi-grid {
    gap: 10px;
  }
  .kpi {
    padding: 15px 12px;
  }
  .kpi-value {
    font-size: 21px;
  }
  .grid-main {
    grid-template-columns: minmax(0, 1.65fr) minmax(250px, 1fr);
    gap: 15px;
  }
  .donut {
    width: 130px;
    height: 130px;
  }
  .donut-layout {
    gap: 10px;
  }
  .donut-key {
    gap: 10px;
  }
  .panel-body {
    padding: 18px;
  }
  .account-card {
    padding: 14px;
    gap: 9px;
  }
  .account-amount strong {
    font-size: 13px;
  }
  .account-info strong {
    font-size: 9px;
  }
  .data-table th,
  .data-table td {
    padding-left: 17px;
    padding-right: 17px;
  }
}
@media (max-width: 1050px) {
  .page-heading {
    align-items: flex-start;
  }
  .global-controls {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .kpi-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-main {
    grid-template-columns: 1fr;
  }
  .donut-layout {
    justify-content: center;
    gap: 30px;
  }
  .donut {
    width: 170px;
    height: 170px;
  }
  .donut-key {
    max-width: 220px;
  }
  .category-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .account-grid {
    grid-template-columns: 1fr 1fr;
  }
  .account-card:last-child {
    grid-column: 1/-1;
  }
  .sidebar-note {
    margin-top: 24px;
  }
  .period-note {
    max-width: 210px;
    text-align: right;
    line-height: 1.6;
  }
}
@media (max-width: 760px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 240px;
    box-shadow: 10px 0 30px #24391f15;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .main-wrap {
    margin-left: 0;
  }
  .mobile-only {
    display: flex;
  }
  .topbar {
    height: 60px;
    padding: 0 18px;
  }
  .breadcrumb {
    gap: 10px;
  }
  .breadcrumb > span:first-of-type {
    display: none;
  }
  .topbar-right {
    gap: 11px;
  }
  .private-label {
    display: none;
  }
  main {
    padding: 25px 18px 0;
  }
  .page-heading {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 23px;
  }
  .page-heading h1 {
    font-size: 29px;
  }
  .global-controls {
    justify-content: flex-start;
    width: 100%;
  }
  .select-wrap {
    flex: 1;
  }
  .select-wrap select {
    width: 100%;
  }
  .period-note {
    font-size: 8px;
    max-width: 155px;
  }
  .segmented button {
    font-size: 9px;
    padding: 8px 10px;
  }
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
  }
  .kpi {
    padding: 16px;
  }
  .kpi.highlight {
    grid-column: 1/-1;
    order: -1;
  }
  .kpi.highlight .kpi-top {
    margin-bottom: 10px;
  }
  .kpi.highlight .kpi-value {
    font-size: 33px;
  }
  .kpi-top {
    font-size: 10px;
    margin-bottom: 15px;
  }
  .kpi-value {
    font-size: 25px;
  }
  .kpi-bottom {
    font-size: 8px;
  }
  .grid-main {
    gap: 16px;
  }
  .panel-head {
    padding: 19px 16px 0;
  }
  .panel-body {
    padding: 19px 16px;
  }
  .legend {
    gap: 12px;
    font-size: 7px;
  }
  .chart-wrap {
    padding: 17px 8px 0;
  }
  .chart-callout {
    padding: 12px 16px;
    font-size: 8px;
    line-height: 1.7;
    align-items: flex-start;
  }
  .chart-callout svg {
    flex-shrink: 0;
    margin-top: 2px;
  }
  .category-list {
    display: flex;
  }
  .account-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }
  .account-card:last-child {
    grid-column: auto;
  }
  .account-card {
    padding: 16px;
  }
  .account-info strong {
    font-size: 11px;
  }
  .account-amount strong {
    font-size: 16px;
  }
  .data-table {
    font-size: 10px;
  }
  .data-table th,
  .data-table td {
    padding: 14px 16px;
  }
  .data-table .hide-mobile {
    display: none;
  }
  .table-footer {
    padding: 13px 16px;
    font-size: 8px;
    line-height: 1.7;
  }
  .page-footer {
    align-items: flex-start;
    font-size: 7px;
    line-height: 1.7;
  }
  .page-footer > span {
    max-width: 50%;
  }
  .page-footer > span:last-child {
    text-align: right;
  }
  .section-title small {
    font-size: 8px;
    max-width: 150px;
    text-align: right;
  }
  .filter-bar {
    padding: 17px 16px;
  }
  .filter-bar label {
    min-width: 120px;
  }
  .filter-bar label.wide {
    min-width: 100%;
  }
  .empty-state {
    padding: 45px 20px;
  }
  .login-layout {
    grid-template-columns: 1fr;
  }
  .login-story {
    padding: 25px;
    min-height: 210px;
  }
  .login-story > div:nth-child(2) {
    margin-top: 25px;
  }
  .login-story .eyebrow,
  .login-story p,
  .login-foot,
  .login-graphic {
    display: none;
  }
  .login-story h1 {
    font-size: 28px;
    letter-spacing: -1px;
    margin: 5px 0 0;
  }
  .login-story h1 br {
    display: none;
  }
  .login-story h1 br:after {
    content: " ";
  }
  .login-form-wrap {
    padding: 35px 25px 50px;
  }
  .login-form h2 {
    font-size: 26px;
  }
  .stat-inline {
    gap: 20px;
  }
  .stat-inline strong {
    font-size: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
.period-note svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}
.login-story h1 br {
  display: block;
}
@media (max-width: 760px) {
  .login-story h1 {
    font-size: 27px;
    line-height: 1.35;
  }
  .login-story h1 br {
    display: none;
  }
  .login-story h1 br:after {
    content: " ";
  }
}
/* Locale controls are available both before and after sign-in. */
.language-control {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.language-control select {
  border: 1px solid #dfe5df;
  border-radius: 6px;
  background: #fff;
  color: #526057;
  padding: 7px 8px;
  font-size: 10px;
  max-width: 110px;
}
.login-language {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
}
.breadcrumb {
  min-width: 0;
}
#crumb {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.topbar-right {
  flex-shrink: 0;
}
.data-table th {
  text-transform: uppercase;
}
@media (max-width: 760px) {
  .topbar-right {
    gap: 7px;
  }
  .topbar-right .avatar {
    display: none;
  }
  .language-control select {
    max-width: 90px;
    padding: 6px;
    font-size: 10px;
  }
  .breadcrumb {
    gap: 7px;
  }
  .breadcrumb [data-i18n="app.mySpace"],
  .breadcrumb .crumb-separator {
    display: none;
  }
  .login-language {
    top: 25px;
    right: 20px;
  }
  .login-story .brand {
    max-width: 60%;
  }
  .page-heading h1 {
    overflow-wrap: anywhere;
  }
}
