:root {
  --bg: #f6f3ed;
  --panel: #fffdf9;
  --ink: #3b3029;
  --muted: #83786b;
  --line: #e7e0d6;
  --sidebar: #eee9df;
  --accent: #73553f;
  --accent-bg: #e7ddcd;
  --green: #657f62;
  --red: #a34332;
  --shadow: 0 5px 24px #3b302904;
  --chart-grid: #e8e0d5;
  color-scheme: light;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 14px;
}
.auth-locked .sidebar,
.auth-locked .workspace {
  display: none;
}
#auth-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
#auth-screen[hidden] {
  display: none;
}
.auth-card {
  width: min(100%, 480px);
}
.auth-card h1 {
  font-size: 30px;
  margin: 24px 0 12px;
}
.auth-card form {
  margin-top: 26px;
}
.auth-card .toolbar {
  margin-top: 20px;
}
:root[data-theme="dark"] {
  --bg: #251d18;
  --panel: #30251f;
  --ink: #f1e8db;
  --muted: #b9a998;
  --line: #4d3d31;
  --sidebar: #211914;
  --accent: #dfbd98;
  --accent-bg: #503c2c;
  --green: #a4bd94;
  --red: #f5aa93;
  --chart-grid: #554438;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: var(--accent);
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #b08d57;
  outline-offset: 3px;
}
button {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 36px;
  letter-spacing: -1.2px;
}
h2 {
  font-size: 17px;
  letter-spacing: -0.35px;
  font-weight: 600;
}
h3 {
  font-size: 15px;
  font-weight: 600;
}
small {
  font-size: 12px;
  color: var(--muted);
}
.muted {
  color: var(--muted);
}
.positive {
  color: var(--green);
}
.negative {
  color: var(--red);
}
.skip {
  position: fixed;
  left: 10px;
  top: -50px;
  z-index: 100;
  background: var(--panel);
  padding: 10px;
}
.skip:focus {
  top: 10px;
}
.sidebar {
  width: 230px;
  background: var(--sidebar);
  position: fixed;
  inset: 0 auto 0 0;
  border-right: 1px solid var(--line);
  padding: 32px 18px;
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.brand {
  text-decoration: none;
  font-size: 30px;
  letter-spacing: -1.5px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 0 12px;
}
.brand-mark {
  font-size: 30px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--bg);
  width: 37px;
  height: 37px;
  border-radius: 11px;
  font-family: Georgia, serif;
  line-height: 1;
}
.brand-dot {
  font-size: 18px;
  color: #b99b73;
  margin-left: -7px;
}
.household {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 30px 12px;
  font-size: 13px;
  font-weight: 600;
}
.household small {
  display: block;
  font-weight: 400;
  margin-top: 5px;
}
.avatar {
  height: 34px;
  width: 34px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: var(--accent-bg);
  color: var(--accent);
  font-size: 12px;
  position: relative;
}
.avatar span {
  position: absolute;
  right: -4px;
  bottom: -3px;
  background: var(--panel);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  text-align: center;
}
.nav-label {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--muted);
  padding: 0 13px 13px;
}
nav {
  display: grid;
  gap: 3px;
}
nav a {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--muted);
  text-decoration: none;
  padding: 11px 14px;
  border-radius: 7px;
  font-size: 13px;
}
nav a:hover {
  background: var(--accent-bg);
  color: var(--ink);
}
nav a.active {
  color: var(--ink);
  background: var(--accent-bg);
  font-weight: 600;
}
nav svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 24px 12px 0;
}
.local-dot {
  font-size: 10px;
  color: var(--muted);
}
.local-dot:before {
  content: "";
  display: inline-block;
  background: #899978;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 7px;
}
.sidebar-bottom p {
  font-family: Georgia, serif;
  font-size: 18px;
  line-height: 1.5;
  margin: 18px 0;
  color: var(--muted);
}
.theme-button {
  border: 1px solid var(--line);
  padding: 8px 10px;
  background: transparent;
  border-radius: 6px;
  font-size: 12px;
  width: 100%;
  text-align: left;
}
.theme-button span {
  margin-left: 8px;
}
.workspace {
  margin-left: 230px;
}
.topbar {
  height: 77px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  background: var(--bg);
}
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
}
.breadcrumb span {
  margin: 0 13px;
  opacity: 0.5;
}
.breadcrumb strong {
  font-weight: 500;
  color: var(--ink);
}
.top-actions {
  display: flex;
  gap: 17px;
  align-items: center;
}
.private-label {
  font-size: 11px;
  color: var(--muted);
}
main {
  max-width: 1500px;
  margin: auto;
  padding: 35px 38px 20px;
  min-height: calc(100vh - 140px);
}
.page-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 25px;
}
.eyebrow {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 9px;
}
.subtitle {
  color: var(--muted);
  margin-top: 9px;
  line-height: 1.65;
  font-size: 13px;
}
.heading-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.button {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 10px 15px;
  border-radius: 7px;
  font-weight: 500;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-decoration: none;
  white-space: nowrap;
}
.button:hover {
  border-color: var(--accent);
}
.button.primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.button.small {
  padding: 7px 10px;
  font-size: 11px;
}
.button.text {
  border: 0;
  background: none;
  color: var(--accent);
  padding: 6px 0;
}
.button.danger {
  color: var(--red);
}
.period {
  display: flex;
  gap: 3px;
  background: var(--sidebar);
  border: 1px solid var(--line);
  padding: 4px;
  border-radius: 8px;
}
.period button {
  border: none;
  background: none;
  padding: 6px 11px;
  border-radius: 5px;
  font-size: 11px;
  color: var(--muted);
}
.period button.selected {
  background: var(--panel);
  color: var(--ink);
  box-shadow: 0 1px 4px #0000000a;
}
.notice {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--accent-bg);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 22px;
}
.notice.warn {
  background: color-mix(in srgb, #c7a45d 12%, var(--panel));
}
.notice a {
  font-weight: 600;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 500;
  background: var(--sidebar);
  color: var(--muted);
}
.badge.green {
  background: color-mix(in srgb, var(--green) 12%, var(--panel));
  color: var(--green);
}
.badge.warn {
  background: color-mix(in srgb, var(--red) 10%, var(--panel));
  color: var(--red);
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 23px;
}
.metric {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 21px;
  box-shadow: var(--shadow);
}
.metric-label {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.metric-value {
  font-size: 30px;
  font-family: Georgia, serif;
  letter-spacing: -0.7px;
  margin: 12px 0 8px;
  font-variant-numeric: tabular-nums;
}
.metric small {
  font-size: 10px;
  line-height: 1.4;
  display: block;
}
.grid {
  display: grid;
  gap: 22px;
  margin-bottom: 22px;
}
.grid.two {
  grid-template-columns: 1.65fr 1fr;
}
.grid.equal {
  grid-template-columns: 1fr 1fr;
}
.grid.three {
  grid-template-columns: repeat(3, 1fr);
}
.panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 23px;
  min-width: 0;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 22px;
}
.panel-head p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 7px;
  line-height: 1.6;
}
.panel-head h2 {
  line-height: 1.4;
}
.panel + .panel.full {
  margin-top: 22px;
}
.legend {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 10px;
  color: var(--muted);
}
.legend span:before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color);
  margin-right: 5px;
}
.sankey {
  width: 100%;
  height: auto;
  display: block;
  min-height: 215px;
}
.sankey text {
  font-family: Inter, "Segoe UI", sans-serif;
  fill: var(--ink);
  font-size: 12px;
}
.sankey .value {
  font-size: 11px;
  fill: var(--muted);
}
.sankey path {
  transition: opacity 0.2s;
}
.sankey path:hover {
  opacity: 0.85;
}
.flow-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 17px;
  margin-top: 15px;
  font-size: 11px;
  color: var(--muted);
}
.insight {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 12px;
}
.insight:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.insight:first-child {
  padding-top: 0;
}
.insight-icon {
  height: 29px;
  width: 29px;
  flex: 0 0 29px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--accent-bg);
  font-size: 14px;
  color: var(--accent);
}
.insight h3 {
  font-size: 12px;
  margin-bottom: 7px;
}
.insight p {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}
.budget-row {
  margin-bottom: 17px;
}
.row-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  margin-bottom: 9px;
}
.row-title strong {
  font-weight: 500;
}
.row-title small {
  font-size: 10px;
}
.track {
  height: 6px;
  border-radius: 8px;
  background: var(--sidebar);
  overflow: hidden;
}
.track i {
  display: block;
  height: 100%;
  width: var(--width);
  background: var(--color, var(--green));
  border-radius: 8px;
}
.chart {
  width: 100%;
  height: auto;
  min-height: 160px;
  display: block;
}
.chart text {
  fill: var(--muted);
  font-size: 11px;
  font-family: inherit;
}
.goal-card .goal-symbol {
  font-size: 23px;
  color: var(--accent);
  margin-bottom: 22px;
}
.goal-card .goal-number {
  font-family: Georgia, serif;
  font-size: 28px;
  margin: 17px 0 12px;
}
.goal-meta {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  margin-top: 12px;
  gap: 10px;
}
.card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
th {
  text-align: left;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
td {
  padding: 14px 10px;
  border-bottom: 1px solid var(--line);
  line-height: 1.5;
}
tr:last-child td {
  border-bottom: 0;
}
td.amount,
th.amount {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
td .sub {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
}
.toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.toolbar input[type="search"] {
  flex: 1;
  min-width: 180px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 17px;
}
.field input,
.field select,
.field textarea,
input.control,
select.control,
.toolbar input,
.toolbar select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 11px;
  background: var(--bg);
  color: var(--ink);
  min-height: 39px;
}
.field input[type="checkbox"] {
  min-height: 0;
  width: auto;
  align-self: flex-start;
}
.field textarea {
  min-height: 80px;
  resize: vertical;
}
.field small {
  font-size: 10px;
  line-height: 1.6;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 17px;
}
.fields .wide {
  grid-column: 1/-1;
}
.form-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
  margin: 8px 0 20px;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}
.inline-form {
  display: flex;
  gap: 10px;
  align-items: center;
}
.empty {
  text-align: center;
  padding: 35px 20px;
}
.empty-symbol {
  font-family: Georgia, serif;
  font-size: 40px;
  color: var(--muted);
  margin-bottom: 14px;
}
.empty h3 {
  margin-bottom: 10px;
}
.empty p {
  color: var(--muted);
  font-size: 12px;
  max-width: 400px;
  line-height: 1.8;
  margin: 0 auto 18px;
}
.hero-note {
  background: var(--ink);
  color: var(--bg);
  border-radius: 10px;
  padding: 26px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.hero-note h2 {
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 400;
}
.hero-note p {
  opacity: 0.7;
  font-size: 12px;
  margin-top: 9px;
  line-height: 1.7;
}
.hero-note .button {
  background: var(--bg);
  color: var(--ink);
}
.stat-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  font-size: 12px;
  border-bottom: 1px solid var(--line);
}
.stat-line.total {
  font-weight: 600;
  font-size: 14px;
}
.stat-line:last-child {
  border: 0;
}
.dropzone {
  border: 1px dashed var(--accent);
  border-radius: 10px;
  text-align: center;
  padding: 35px 20px;
  background: var(--bg);
}
.dropzone input {
  max-width: 100%;
  margin-top: 20px;
}
.step {
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.source-list {
  font-size: 12px;
  line-height: 2;
  list-style: none;
  padding: 0;
}
.fine-print {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 15px;
}
.text-block p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  margin: 10px 0 18px;
}
.pill-list {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.trend-bars {
  display: flex;
  align-items: flex-end;
  height: 160px;
  gap: 12px;
  padding-top: 20px;
}
.trend-col {
  flex: 1;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  font-size: 9px;
  color: var(--muted);
}
.trend-col i {
  display: block;
  background: #b77d60;
  border-radius: 4px 4px 0 0;
  min-height: 2px;
  margin: 5px 0 8px;
}
.trend-col span {
  white-space: nowrap;
}
footer {
  display: flex;
  justify-content: space-between;
  padding: 25px 38px;
  font-size: 10px;
  color: var(--muted);
  gap: 15px;
}
dialog {
  width: min(600px, calc(100% - 30px));
  max-height: 90vh;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--panel);
  color: var(--ink);
  padding: 28px;
  box-shadow: 0 20px 100px #0003;
}
dialog::backdrop {
  background: #21181175;
  backdrop-filter: blur(3px);
}
dialog h2 {
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 7px;
}
dialog .subtitle {
  margin-bottom: 23px;
}
.modal-header {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.close {
  border: 0;
  background: var(--sidebar);
  border-radius: 50%;
  width: 29px;
  height: 29px;
  font-size: 20px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: calc(50% + 115px);
  transform: translateX(-50%);
  max-width: 80%;
  background: var(--ink);
  color: var(--bg);
  padding: 13px 21px;
  border-radius: 8px;
  box-shadow: 0 4px 20px #0002;
  font-size: 12px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
#toast.visible {
  opacity: 1;
}
.error-box {
  color: var(--red);
  font-size: 12px;
  line-height: 1.8;
  padding: 12px;
  background: color-mix(in srgb, var(--red) 6%, var(--panel));
  border-radius: 6px;
  margin: 15px 0;
}
.preview-table {
  max-height: 280px;
  overflow: auto;
}
.amount-input {
  max-width: 120px;
}
.checkline {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  margin: 10px 0;
}
.no-margin {
  margin: 0;
}
.report-values {
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
}
.report-values strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 400;
  margin-top: 7px;
}
.selected-file {
  font-size: 12px;
  color: var(--green);
  margin-top: 10px;
}
.trip-quote {
  margin-top: 8px;
  font-size: 10px;
  color: var(--muted);
}
.scroll-note {
  display: none;
}
@media (min-width: 1600px) {
  main {
    padding-top: 45px;
  }
  .metrics {
    gap: 22px;
  }
  .metric {
    padding: 24px;
  }
  .metric-value {
    font-size: 35px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 195px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .workspace {
    margin-left: 195px;
  }
  main {
    padding: 27px 23px;
  }
  .topbar {
    padding: 0 23px;
  }
  .grid.two {
    grid-template-columns: 1.35fr 1fr;
  }
  .metric {
    padding: 17px 14px;
  }
  .metric-value {
    font-size: 26px;
  }
  .grid.three {
    grid-template-columns: 1fr 1fr;
  }
  .panel {
    padding: 19px;
  }
  #toast {
    left: calc(50% + 97px);
  }
}
@media (max-width: 900px) {
  .sidebar {
    width: 75px;
    padding: 25px 9px;
  }
  .brand {
    padding: 0;
    justify-content: center;
  }
  .brand-mark {
    flex-shrink: 0;
  }
  .brand {
    font-size: 0;
    gap: 0;
  }
  .brand-dot,
  .household,
  .nav-label,
  .sidebar-bottom p,
  .local-dot,
  nav a span,
  .theme-button span {
    display: none;
  }
  nav {
    margin-top: 30px;
  }
  nav a {
    padding: 13px;
    justify-content: center;
  }
  .sidebar-bottom {
    padding: 0;
    margin-top: auto;
  }
  .theme-button {
    text-align: center;
  }
  .workspace {
    margin-left: 75px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .grid.two {
    grid-template-columns: 1fr;
  }
  .page-heading {
    align-items: flex-start;
  }
  .heading-actions {
    justify-content: flex-end;
  }
  .grid.three {
    grid-template-columns: 1fr 1fr;
  }
  #toast {
    left: calc(50% + 37px);
  }
}
@media (max-width: 600px) {
  .sidebar {
    position: sticky;
    top: 0;
    width: 100%;
    height: 61px;
    flex-direction: row;
    padding: 9px;
    gap: 10px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .brand-mark {
    height: 33px;
    width: 33px;
  }
  .sidebar nav {
    display: flex;
    overflow: auto;
    margin: 0;
    gap: 0;
    flex: 1;
  }
  nav a {
    padding: 10px;
    flex-shrink: 0;
  }
  nav svg {
    width: 17px;
    height: 17px;
  }
  .sidebar-bottom {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
  }
  .theme-button {
    width: 30px;
    padding: 5px;
  }
  .workspace {
    margin: 0;
  }
  .topbar {
    height: 53px;
    padding: 0 17px;
  }
  .top-actions {
    gap: 8px;
  }
  .private-label,
  .small-avatar {
    display: none;
  }
  main {
    padding: 25px 16px;
  }
  .page-heading {
    flex-direction: column;
    gap: 17px;
  }
  h1 {
    font-size: 32px;
  }
  .heading-actions {
    justify-content: flex-start;
    width: 100%;
  }
  .metrics {
    gap: 10px;
  }
  .metric {
    padding: 16px 13px;
  }
  .metric-value {
    font-size: 27px;
  }
  .metric small {
    font-size: 9px;
  }
  .grid.equal,
  .grid.three {
    grid-template-columns: 1fr;
  }
  .grid {
    gap: 15px;
    margin-bottom: 15px;
  }
  .panel {
    padding: 18px;
  }
  .notice {
    align-items: flex-start;
    font-size: 11px;
  }
  .notice .button {
    white-space: normal;
  }
  .hero-note {
    flex-direction: column;
    align-items: flex-start;
  }
  .fields {
    grid-template-columns: 1fr;
  }
  .fields .wide {
    grid-column: auto;
  }
  footer {
    padding: 20px 16px;
    flex-direction: column;
    font-size: 9px;
  }
  .breadcrumb {
    font-size: 10px;
  }
  #toast {
    left: 50%;
  }
  .sankey {
    min-width: 470px;
    min-height: 0;
  }
  .flow-scroll {
    overflow: auto;
  }
  .scroll-note {
    display: block;
    font-size: 9px;
    color: var(--muted);
    margin-top: 8px;
  }
  .flow-foot {
    align-items: flex-start;
  }
  .legend {
    gap: 8px;
    font-size: 9px;
  }
  .panel-head {
    margin-bottom: 18px;
  }
  .report-values {
    gap: 13px;
  }
  .report-values strong {
    font-size: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
