.tab-panel {
  display: none;
  min-height: auto;
}

.tab-panel.is-active {
  display: block;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(500px, 620px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.calculator-stage {
  display: grid;
  gap: 0;
}

body[data-page-view="home"] .calculator-stage {
  display: none;
}

body[data-page-view="calculator"] .overview-board {
  display: none;
}

.overview-board {
  --overview-columns: 4;
  margin: 0 -18px 22px;
  padding: 22px 18px 20px;
  border: 1px solid color-mix(in srgb, var(--accent-1) 16%, var(--line));
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent-2) 18%, transparent) 0, transparent 42%),
    linear-gradient(180deg, color-mix(in srgb, var(--surface-glass) 66%, white 34%), color-mix(in srgb, var(--surface-soft) 86%, white 14%));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 22px 48px rgba(20, 38, 34, 0.11);
}

.overview-board__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
}

.overview-board__header p:last-child {
  max-width: 760px;
  color: var(--muted);
}

.overview-filter {
  display: grid;
  gap: 8px;
  min-width: min(340px, 100%);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.overview-filter input {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-soft);
}

.overview-group[hidden] {
  display: none;
}

.overview-groups {
  display: grid;
  gap: 16px;
}

.overview-group {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--line) 72%, white 28%);
  border-radius: 20px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-soft) 60%, white 40%), color-mix(in srgb, var(--surface-soft) 86%, white 14%));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    0 10px 22px rgba(20, 38, 34, 0.07);
}

.overview-group__head {
  display: grid;
  gap: 2px;
  padding: 0 2px 4px;
}

.overview-group__head strong {
  color: var(--text);
  font-size: 1.07rem;
  line-height: 1.2;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(var(--overview-columns), minmax(0, 1fr));
  gap: 10px;
}

.overview-card {
  display: grid;
  gap: 4px;
  min-height: 92px;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--line) 58%, white 42%);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(252, 253, 252, 0.98));
  color: inherit;
  text-decoration: none;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.88) inset,
    0 12px 26px rgba(20, 38, 34, 0.12);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.overview-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent-1) 28%, var(--line));
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-accent-soft) 30%, white 70%), color-mix(in srgb, var(--surface-accent-soft) 18%, white 82%));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.84) inset,
    0 16px 30px rgba(20, 38, 34, 0.15);
}

.overview-card strong {
  color: var(--text);
  font-size: 0.91rem;
  line-height: 1.22;
}

.overview-card span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.overview-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

body[data-theme="dark"] .overview-board {
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent-2) 24%, transparent) 0, transparent 44%),
    linear-gradient(180deg, color-mix(in srgb, var(--surface-glass) 88%, #0f1719 12%), color-mix(in srgb, var(--surface-soft) 92%, #0b1113 8%));
  border-color: color-mix(in srgb, var(--accent-1) 18%, var(--line));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 24px 54px rgba(0, 0, 0, 0.28);
}

body[data-theme="dark"] .overview-board__header {
  border-bottom-color: color-mix(in srgb, var(--line) 76%, transparent);
}

body[data-theme="dark"] .overview-board .eyebrow {
  color: color-mix(in srgb, #8fd6cf 86%, white 14%);
}

body[data-theme="dark"] .overview-card {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-strong) 90%, white 10%), color-mix(in srgb, var(--surface-strong) 98%, #0d1416 2%));
  border-color: color-mix(in srgb, var(--line) 60%, rgba(255, 255, 255, 0.4) 40%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 14px 30px rgba(0, 0, 0, 0.28);
}

body[data-theme="dark"] .overview-card:hover {
  background: color-mix(in srgb, var(--surface-accent-soft) 68%, var(--surface-strong) 32%);
  border-color: color-mix(in srgb, var(--accent-1) 36%, var(--line));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 18px 36px rgba(0, 0, 0, 0.32);
}

body[data-theme="dark"] .overview-group {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-soft) 72%, #0b1113 28%), color-mix(in srgb, var(--surface-soft) 92%, #091012 8%));
  border-color: color-mix(in srgb, var(--line) 58%, #0b1113 42%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 12px 26px rgba(0, 0, 0, 0.18);
}

.calculator,
.card,
.hero-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.calculator,
.card {
  padding: 24px;
}

.hero-card {
  padding: 24px;
  position: relative;
}

.hero-card--gradient {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: white;
  border-color: transparent;
}

.hero-card span,
.hero-card small {
  display: block;
  color: rgba(255, 255, 255, 0.82);
}

.hero-card strong {
  display: block;
  margin: 6px 0 8px;
  font-size: clamp(2.2rem, 6vw, 4.3rem);
  line-height: 1;
}

.doc-button {
  position: absolute;
  top: 16px;
  right: 16px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--doc-button-border);
  border-radius: 999px;
  background: var(--doc-button-bg);
  color: var(--doc-button-text);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.doc-button:hover {
  background: var(--doc-button-bg-hover);
}

.tabs .doc-button {
  position: static;
  top: auto;
  right: auto;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  backdrop-filter: none;
}

.tabs .doc-button:hover {
  background: var(--surface-accent-soft);
  color: var(--text);
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading p,
.card-head span,
.notes,
.metric-card small,
.metric-card span,
.legend span,
.history-table th,
.legal-note {
  color: var(--muted);
}

.calculator-warning {
  margin: 8px 4px 0;
}

.field-stack {
  display: grid;
  gap: 14px;
}

.field-row {
  display: grid;
  gap: 14px;
}

.field-row--birth {
  grid-template-columns: minmax(0, 2fr) minmax(120px, 1fr);
  align-items: start;
}

.field-row--duration {
  grid-template-columns: minmax(0, 1fr) minmax(120px, 0.62fr);
  align-items: start;
}

.field {
  display: grid;
  gap: 8px;
  position: relative;
  z-index: 0;
}

.field-note {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

[data-entnahme-mode][hidden] {
  display: none !important;
}

[data-zeitwert-mode][hidden] {
  display: none !important;
}

.field:hover,
.field:focus-within {
  z-index: 3000;
}

.field > span {
  display: block;
  font-weight: 700;
}

.field-label {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.money-input,
.percent-input,
.field input,
.field select {
  width: 100%;
  min-width: 0;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--text);
}

.money-input,
.percent-input {
  display: flex;
  align-items: center;
  overflow: hidden;
}

.money-input.is-disabled,
.percent-input.is-disabled {
  opacity: 0.58;
}

.money-input input,
.percent-input input {
  flex: 1;
  min-width: 0;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: inherit;
  outline: 0;
  font-weight: 500;
}

.money-input input:disabled,
.percent-input input:disabled,
.field input:disabled {
  cursor: not-allowed;
}

.money-input span,
.percent-input span {
  padding: 0 16px;
  color: var(--muted);
  font-weight: 700;
}

.field input,
.field select {
  padding: 0 16px;
  outline: 0;
  font-weight: 500;
}

.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 2px),
    calc(100% - 16px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}

.field select:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.tooltip {
  position: relative;
  z-index: 2500;
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-1) 12%, white);
  color: var(--accent-1);
  cursor: help;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.tooltip:focus-visible {
  outline-offset: 2px;
}

.tooltip-bubble {
  display: none;
}

.toggles {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.toggles label {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
  font-weight: 700;
}

.toggles input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-1);
}

.scenario-picker {
  margin: 4px 0 20px;
}

.scenario-picker__label {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scenario-dropdown {
  position: relative;
  max-width: 420px;
}

.scenario-dropdown__trigger {
  appearance: none;
  width: 100%;
  min-height: 48px;
  padding: 0 44px 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--surface-control-strong), var(--surface-control-soft));
  color: var(--text);
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

body.has-hover-ui .scenario-dropdown__trigger:hover,
.scenario-dropdown.is-open .scenario-dropdown__trigger {
  border-color: color-mix(in srgb, var(--accent-1) 24%, var(--line));
  box-shadow: var(--shadow-soft);
}

.scenario-dropdown__trigger::after {
  content: "▾";
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 0.9rem;
  transition: transform 0.18s ease;
}

.scenario-dropdown.is-open .scenario-dropdown__trigger::after {
  transform: translateY(-50%) rotate(180deg);
}

.scenario-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 30;
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-menu);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(14px);
}

.scenario-dropdown__menu[hidden] {
  display: none;
}

.scenario-dropdown__option {
  min-height: 44px;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

body.has-hover-ui .scenario-dropdown__option:hover {
  background: var(--surface-accent-soft);
  color: var(--text);
}

.scenario-dropdown__option.is-active {
  background: var(--surface-accent-strong);
  color: var(--text);
}

.scenario-dropdown__trigger:focus-visible,
.scenario-dropdown__option:focus-visible,
.doc-button:focus-visible,
.theme-toggle:focus-visible {
  outline-offset: 4px;
}

.notes {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.notes--inline {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.notes--inline p + p {
  margin-top: 10px;
}

.notes h3 {
  color: var(--text);
  margin-bottom: 6px;
}

.formula-card {
  display: grid;
  gap: 14px;
  height: 100%;
  padding: 6px 2px 2px;
}

.formula-card__vars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.formula-card__vars > div {
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.formula-card__block {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-formula);
}

.formula-card__block small {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.formula-card__latex {
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.45;
}

.results {
  display: grid;
  gap: 18px;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.results > .hero-card,
.results > .card:not(.card--pie-half) {
  grid-column: 1 / -1;
}

.card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 16px;
}

.card-head__value-group {
  display: grid;
  justify-items: end;
  gap: 2px;
  text-align: right;
}

.card-head__value-group strong {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.15;
}

.card-head__value-group small {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.2;
}

.stacked-bar {
  width: 100%;
  min-height: 330px;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 14px;
}

.legend span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
}

.legend i {
  width: 10px;
  height: 10px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.metric-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-strong);
}

.metric-card > span,
.metric-card > small {
  display: block;
}

.metric-card > span {
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.metric-card strong {
  display: block;
  margin: 6px 0 4px;
  font-size: 1.24rem;
  color: var(--text);
  line-height: 1.2;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.metric-card > small {
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.comparison-grid {
  display: grid;
  gap: 10px;
  width: 100%;
}

#depotYearChart + #depotProjection {
  margin-top: 20px;
}

.comparison-grid__head,
.comparison-grid__row {
  display: grid;
  grid-template-columns: minmax(190px, 1.15fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  width: 100%;
}

.comparison-grid__head {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.comparison-grid__row {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-strong);
}

.comparison-grid__label {
  font-weight: 700;
}

.comparison-grid__cell strong {
  display: block;
  margin-bottom: 3px;
  color: var(--text);
}

.comparison-grid__mobile-head {
  display: none;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.comparison-grid__cell small {
  color: var(--muted);
}

.bar-chart {
  min-height: 280px;
}

.line-chart {
  min-height: 280px;
}

.line-chart__svg,
.bar-chart__svg,
.pie-chart__svg {
  width: 100%;
  height: auto;
  display: block;
}

.line-chart__axis,
.bar-chart__axis {
  stroke: var(--line);
  stroke-width: 1.5;
}

.line-chart__grid,
.bar-chart__grid {
  stroke: var(--grid-line);
  stroke-width: 1;
}

.line-chart__text,
.bar-chart__text {
  fill: var(--muted);
  font-size: 14px;
}

.pie-chart__value {
  fill: var(--text);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.pie-chart__label {
  fill: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pie-chart__segment-label {
  fill: rgba(255, 255, 255, 0.96);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.02em;
  paint-order: stroke;
  stroke: rgba(10, 16, 18, 0.2);
  stroke-width: 2px;
  stroke-linejoin: round;
}

.pie-chart {
  display: grid;
  place-items: center;
  width: min(100%, 330px);
  height: 330px;
  justify-self: center;
}

.pie-chart__svg {
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.08));
}

body[data-theme="dark"] .pie-chart__svg {
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.22));
}

.chart-readout {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.card--pie {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 330px minmax(0, 1fr);
  row-gap: 8px;
  align-items: start;
  align-self: stretch;
  min-height: 0;
  padding: 16px 14px;
}

.card--pie .card-head {
  grid-column: 1 / -1;
  width: 100%;
  justify-self: center;
  margin-bottom: 2px;
}

.card--pie.card--pie-half .card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  min-height: 84px;
  width: 100%;
  gap: 12px;
  margin-bottom: 2px;
}

.card--pie.card--pie-half .card-head h3 {
  margin: 0;
  line-height: 1.25;
}

.card--pie.card--pie-half .card-head .card-head__value-group {
  align-self: start;
  margin-top: 0;
  min-width: 146px;
}

.card--pie.card--pie-half .card-head .card-head__value-group strong,
.card--pie.card--pie-half .card-head .card-head__value-group small {
  white-space: nowrap;
}

.card--pie.card--pie-half .card-head .card-head__value-group small {
  line-height: 1.25;
}

.card--pie .stacked-bar {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin: 0 auto;
  width: 100%;
  height: 330px;
  align-self: start;
}

.card--pie .legend {
  display: grid;
  gap: 8px;
  margin: 0;
  align-content: start;
  justify-self: center;
  justify-items: start;
  width: fit-content;
  max-width: 100%;
}

.card--pie-half:not(.card--pie) {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card--pie-half:not(.card--pie) .notes--inline {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
}

.chart-readout strong {
  color: var(--text);
  font-weight: 700;
}

.chart-readout--table {
  gap: 6px;
}

.chart-readout__row {
  display: grid;
  grid-template-columns: minmax(136px, 156px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.chart-readout__row--quad {
  grid-template-columns: minmax(136px, 156px) minmax(0, 1fr) minmax(136px, 156px) minmax(0, 1fr);
}

.chart-readout__row span {
  color: var(--muted);
}

.chart-readout__row strong {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.chart-readout__highlight-card {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(136px, 156px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 8px 10px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 12px;
  background: var(--surface-readout-highlight);
  box-shadow: inset 0 1px 0 var(--surface-readout-sheen);
}

.chart-readout__highlight-label {
  color: var(--text) !important;
  font-weight: 800;
}

.chart-readout__highlight-value {
  justify-self: start;
}

#entnahmeCashflowReadout .chart-readout__row {
  grid-template-columns: minmax(148px, 168px) minmax(0, 1fr);
  gap: 18px;
}

@media (max-width: 720px) {
  .chart-readout__row,
  .chart-readout__row--quad,
  .chart-readout__highlight-card,
  #entnahmeCashflowReadout .chart-readout__row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.chart-tooltip {
  position: fixed;
  z-index: 5000;
  max-width: 360px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-tooltip);
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.45;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.12s ease, transform 0.12s ease;
}

.chart-tooltip.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.chart-tooltip__row {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.chart-tooltip__row + .chart-tooltip__row {
  margin-top: 4px;
}

.chart-tooltip__label {
  color: var(--muted);
  white-space: nowrap;
}

.chart-tooltip__value {
  justify-self: end;
  text-align: right;
  color: var(--text);
}
