:root {
  --rt-bg: #f6f6f4;
  --rt-card: #ffffff;
  --rt-navy: #081636;
  --rt-blue: #1e2f8a;
  --rt-muted: #4b5870;
  --rt-hint: #68748b;
  --rt-line: rgba(22, 54, 90, 0.15);
  --rt-soft: #eef2fa;
  --rt-gold: #b28a34;
  --rt-attention: #735617;
  --rt-attention-bg: #fff8e9;
  --rt-critical: #8f332d;
  --rt-critical-bg: #fff2f0;
  --rt-positive: #17603a;
  --rt-serif: Georgia, "Times New Roman", serif;
  --rt-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--rt-bg); }
body {
  margin: 0;
  background: var(--rt-bg);
  color: var(--rt-navy);
  font-family: var(--rt-sans);
  -webkit-font-smoothing: antialiased;
}
.rt-preview-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 72px;
}
.rt-brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--rt-navy);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-decoration: none;
}
.rt-brand:focus-visible,
.rt-year-details summary:focus-visible,
.rt-refine summary:focus-visible,
.rt-calculation summary:focus-visible,
.rt-result-phase summary:focus-visible,
.rt-chart-point:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(30, 47, 138, 0.28);
  outline-offset: 3px;
}
.rt-input-flow {
  margin: 28px 0 72px;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--rt-line);
  background: var(--rt-card);
}
.rt-input-flow h1 {
  margin: 0;
  font-family: var(--rt-serif);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 500;
  letter-spacing: -.03em;
}
.rt-input-flow > p:not(.rt-eyebrow) { color: var(--rt-muted); font-size: 18px; }
.rt-basic-form,
.rt-inline-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.rt-basic-form label,
.rt-inline-fields label,
.rt-expense-card > label {
  display: grid;
  gap: 8px;
  color: var(--rt-navy);
  font-size: 16px;
  font-weight: 700;
}
.rt-wide { grid-column: 1 / -1; }
input, select, button {
  min-height: 48px;
  border: 1px solid rgba(8, 22, 54, .28);
  border-radius: 2px;
  background: #fff;
  color: var(--rt-navy);
  font: inherit;
  font-size: 16px;
}
input, select { width: 100%; padding: 11px 12px; }
input[type="radio"], input[type="checkbox"] { width: 20px; min-height: 20px; accent-color: var(--rt-blue); }
button {
  width: fit-content;
  padding: 0 20px;
  border-color: var(--rt-blue);
  background: var(--rt-blue);
  color: white;
  font-weight: 750;
  cursor: pointer;
}
label small { color: var(--rt-muted); font-size: 14px; font-weight: 400; line-height: 1.5; }
fieldset { min-width: 0; margin: 0; padding: 16px; border: 1px solid var(--rt-line); }
fieldset legend { padding: 0 7px; font-weight: 700; }
fieldset label { display: flex !important; grid-column: auto; gap: 9px !important; align-items: center; margin-top: 8px; font-weight: 500 !important; }
.rt-privacy { margin: 0; padding: 15px 17px; border-left: 3px solid var(--rt-blue); background: var(--rt-soft); color: var(--rt-muted); line-height: 1.5; }
.rt-preview-label {
  margin: 8px 0 24px;
  color: var(--rt-hint);
  font-size: 14px;
}
.retirement-table-view { margin-top: 24px; }
.rt-phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 30px 0 0;
  padding: 1px;
  background: var(--rt-line);
  list-style: none;
}
.rt-phases li { display: grid; gap: 4px; padding: 15px; background: var(--rt-card); }
.rt-phases li::before { content: ""; width: 28px; height: 3px; background: var(--rt-gold); }
.rt-phases span { color: var(--rt-muted); font-size: 13px; }
.rt-heading { max-width: 830px; }
.rt-eyebrow {
  margin: 0 0 12px;
  color: var(--rt-blue);
  font-size: 14px;
  font-weight: 750;
}
.rt-heading h2 {
  margin: 0;
  font-family: var(--rt-serif);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.rt-heading > p:last-child {
  margin: 18px 0 0;
  color: var(--rt-muted);
  font-size: 18px;
  line-height: 1.55;
}
.rt-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}
.rt-summary-item {
  min-width: 0;
  min-height: 142px;
  padding: 21px;
  border: 1px solid var(--rt-line);
  background: var(--rt-card);
}
.rt-summary-item p {
  margin: 0 0 11px;
  color: var(--rt-muted);
  font-size: 14px;
  line-height: 1.4;
}
.rt-summary-item strong {
  display: block;
  font-family: var(--rt-serif);
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 500;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.rt-summary-item small {
  display: block;
  margin-top: 9px;
  color: var(--rt-hint);
  font-size: 13px;
  line-height: 1.45;
}
.rt-refine,
.rt-calculation {
  margin-top: 24px;
  border: 1px solid var(--rt-line);
  background: var(--rt-card);
}
.rt-refine > summary,
.rt-calculation > summary {
  display: flex;
  min-height: 54px;
  align-items: center;
  padding: 0 20px;
  color: var(--rt-blue);
  font-size: 17px;
  font-weight: 780;
  cursor: pointer;
}
.rt-refine-body { display: grid; gap: 28px; padding: 0 20px 24px; }
.rt-refine-body section { border-top: 1px solid var(--rt-line); padding-top: 20px; }
.rt-refine-body h3 { margin: 0 0 16px; font-family: var(--rt-serif); font-size: 25px; font-weight: 500; }
.rt-expense-card { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin-bottom: 18px; padding: 18px; background: var(--rt-soft); }
.rt-expense-card fieldset { grid-column: 1 / -1; background: #fff; }
.rt-expense-card fieldset p { color: var(--rt-muted); font-size: 14px; }
.rt-selected-plan { padding: 13px 15px; border-left: 3px solid var(--rt-positive); background: #eef8f2; }
.rt-oneoffs { display: grid; gap: 8px; padding: 0; list-style: none; }
.rt-oneoffs li { display: flex; justify-content: space-between; gap: 12px; padding: 12px; background: var(--rt-soft); }
.rt-empty-state { color: var(--rt-muted); }
.rt-calculation > div { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px 24px; padding: 0 20px 20px; }
.rt-calculation p { margin: 0; color: var(--rt-muted); line-height: 1.5; }
.rt-chart {
  margin: 30px 0;
  padding: 24px;
  border: 1px solid var(--rt-line);
  background: var(--rt-card);
}
.rt-chart h3 { margin: 0; font-family: var(--rt-serif); font-size: 29px; font-weight: 500; }
.rt-chart > p { color: var(--rt-muted); }
.rt-chart-svg { display: block; width: 100%; height: auto; aspect-ratio: 720 / 264; overflow: visible; }
.rt-chart-reserve-line { stroke: rgba(178, 138, 52, .55); stroke-width: 1; stroke-dasharray: 5 7; }
.rt-chart-line { fill: none; stroke: var(--rt-navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rt-chart-age-tick line { stroke: var(--rt-line); stroke-width: 1; }
.rt-chart-age-tick text { fill: var(--rt-muted); font-size: 11px; font-weight: 650; }
.rt-chart-retirement-event line { stroke: var(--rt-gold); stroke-width: 1.25; stroke-dasharray: 3 4; }
.rt-chart-retirement-event circle,
.rt-chart-special-event circle { fill: var(--rt-gold); stroke: var(--rt-card); stroke-width: 2; }
.rt-chart-retirement-event text { fill: var(--rt-navy); font-size: 11px; font-weight: 750; }
.rt-chart-retirement-event .rt-chart-event-secondary { fill: var(--rt-muted); font-size: 9px; font-weight: 650; }
.rt-chart-reach-event circle { fill: var(--rt-card); stroke: var(--rt-gold); stroke-width: 2; }
.rt-chart-point { fill: transparent; stroke: transparent; stroke-width: 2; transition: fill .16s ease, stroke .16s ease; }
.rt-chart-point:hover,
.rt-chart-point:focus { fill: var(--rt-gold); stroke: #fff; }
.rt-chart-endpoints { display: flex; justify-content: space-between; gap: 24px; margin-top: 12px; }
.rt-chart-endpoints span { display: grid; gap: 2px; }
.rt-chart-endpoints span:last-child { text-align: right; }
.rt-chart-endpoints small { color: var(--rt-muted); font-size: 11px; }
.rt-chart-endpoints strong { color: var(--rt-navy); font-size: 13px; }
.rt-chart-endpoints b { color: var(--rt-muted); font-size: 12px; font-weight: 600; }
.rt-chart-empty { min-height: 120px; display: grid; place-items: center; background: var(--rt-soft); }
.rt-uncertainty,
.rt-price-basis {
  margin-top: 18px;
  padding: 16px 18px;
  border-left: 3px solid var(--rt-gold);
  background: var(--rt-attention-bg);
  color: var(--rt-attention);
  line-height: 1.55;
}
.rt-uncertainty p,
.rt-price-basis p { margin: 0; }
.rt-uncertainty p + p,
.rt-price-basis p + p { margin-top: 5px; }
.rt-price-basis {
  border-left-color: var(--rt-blue);
  background: var(--rt-soft);
  color: var(--rt-muted);
}
.rt-price-basis strong {
  display: block;
  margin-bottom: 4px;
  color: var(--rt-navy);
}
.rt-three-a-plan {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
  gap: 24px;
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--rt-line);
  border-top: 3px solid var(--rt-blue);
  background: var(--rt-card);
}
.rt-three-a-plan header h3 {
  margin: 0 0 13px;
  font-family: var(--rt-serif);
  font-size: 31px;
  font-weight: 500;
}
.rt-three-a-plan header > p:not(.rt-eyebrow) {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--rt-muted);
  line-height: 1.55;
}
.rt-three-a-option {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 8px 13px;
  border: 1px solid rgba(30, 47, 138, 0.28);
  background: var(--rt-soft);
  color: var(--rt-blue);
  font-size: 15px;
}
.rt-three-a-plan .rt-three-a-secondary { font-size: 14px; }
.rt-three-a-plan ul {
  align-self: start;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rt-line);
  list-style: none;
}
.rt-three-a-year {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rt-line);
}
.rt-three-a-year strong { font-variant-numeric: tabular-nums; }
.rt-three-a-year span { color: var(--rt-muted); text-align: right; }
.rt-three-a-year span.is-estimated { color: var(--rt-attention); }
.rt-three-a-calculation {
  grid-column: 1 / -1;
  padding: 16px 18px;
  border-left: 3px solid var(--rt-gold);
  background: var(--rt-attention-bg);
}
.rt-three-a-calculation strong { color: var(--rt-navy); }
.rt-three-a-calculation p {
  margin: 6px 0 0;
  color: var(--rt-muted);
  line-height: 1.55;
}
.rt-table-note {
  margin: 24px 0 8px;
  color: var(--rt-muted);
  font-size: 14px;
  line-height: 1.5;
}
.rt-table-note + .rt-desktop { margin-top: 0; }
.rt-desktop {
  margin-top: 24px;
  border-top: 2px solid var(--rt-navy);
  border-bottom: 1px solid var(--rt-line);
  background: var(--rt-card);
}
.rt-desktop table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}
.rt-desktop th,
.rt-desktop td {
  padding: 17px 11px;
  border-bottom: 1px solid var(--rt-line);
  vertical-align: top;
  font-size: 16px;
  line-height: 1.4;
  text-align: right;
}
.rt-desktop thead th {
  color: var(--rt-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}
.rt-desktop th:first-child,
.rt-desktop td:first-child { text-align: left; }
.rt-desktop th:first-child { width: 13%; }
.rt-year-cell > span { display: block; }
.rt-year { font-size: 19px; font-weight: 760; }
.rt-age { margin-top: 2px; color: var(--rt-muted); font-size: 14px; font-weight: 500; }
.rt-phase-label { display: block; margin-top: 5px; color: var(--rt-blue); font-size: 12px; font-weight: 750; }
.rt-row-quality { margin-top: 8px; color: var(--rt-hint); font-size: 12px; font-weight: 600; }
.rt-amount {
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  white-space: nowrap;
}
.rt-amount.is-noch-offen { white-space: normal; color: var(--rt-attention); }
.rt-amount.is-nicht-anwendbar { color: var(--rt-hint); font-weight: 500; }
.rt-amount.is-estimated::after {
  content: none;
}
.tone-positive { color: var(--rt-positive); }
.tone-attention { color: var(--rt-attention); }
.tone-critical { color: var(--rt-critical); }
.rt-inline-statuses { display: grid; gap: 5px; margin-top: 9px; }
.rt-capital-event {
  display: block;
  margin-top: 8px;
  color: var(--rt-muted);
  font-size: 12px;
  font-weight: 650;
}
.rt-capital-event .rt-amount { display: inline; font-size: inherit; }
.rt-allocation-line {
  display: block;
  color: var(--rt-muted);
  font-size: 12px;
  line-height: 1.45;
}
.rt-allocation-line .rt-amount {
  display: inline;
  color: var(--rt-navy);
  font-size: 14px;
}
.rt-quick { position: relative; }
.rt-quick summary { min-height: 44px; display: grid; align-items: center; cursor: pointer; list-style: none; }
.rt-quick summary::-webkit-details-marker { display: none; }
.rt-quick-panel {
  position: absolute;
  z-index: 5;
  top: calc(100% + 4px);
  right: 0;
  width: max-content;
  min-width: 240px;
  max-width: 340px;
  padding: 12px;
  border: 1px solid var(--rt-line);
  background: #fff;
  text-align: left;
}
.rt-quick:not([open]) .rt-quick-panel { display: none; }
.rt-quick[open] .rt-quick-panel { display: block; }
@media (hover: hover) and (pointer: fine) {
  .rt-quick:hover .rt-quick-panel,
  .rt-quick:focus-within .rt-quick-panel { display: block; }
}
.rt-quick-panel > div { display: flex; justify-content: space-between; gap: 18px; padding: 7px 0; border-bottom: 1px solid var(--rt-line); }
.rt-quick-panel span { color: var(--rt-muted); font-size: 13px; }
.rt-quick-panel > strong { display: block; margin-bottom: 5px; color: var(--rt-navy); font-size: 13px; }
.rt-quick-panel > .rt-quick-asset { display: grid; }
.rt-quick-asset .rt-story-component { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; }
.rt-quick-asset .rt-story-component small { color: var(--rt-hint); font-size: 11px; }
.rt-asset-group { grid-column: 1 / -1; }
.rt-asset-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.rt-asset-roll-forward { padding: 14px; background: var(--rt-soft); }
.rt-asset-roll-forward h5 { margin: 0 0 8px; font-size: 15px; }
.rt-asset-lines { margin: 0; }
.rt-asset-lines > div { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--rt-line); }
.rt-asset-lines dt { color: var(--rt-muted); font-size: 12px; }
.rt-asset-lines dd { display: grid; gap: 3px; margin: 0; text-align: right; font-size: 12px; }
.rt-build-up-phase .rt-desktop th:first-child { width: 16%; }
.rt-build-up-phase .rt-desktop tbody > tr:not(.rt-desktop-details) > td .rt-amount {
  color: var(--rt-navy);
  font-size: 17px;
}
.rt-total-composition { display: grid; gap: 7px; }
.rt-total-composition > strong { font-weight: 750; }
.rt-composition-lines { display: grid; gap: 3px; }
.rt-composition-lines > span {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--rt-hint);
  font-size: 11px;
  line-height: 1.35;
}
.rt-composition-lines small { color: inherit; font-size: inherit; }
.rt-build-up-phase .rt-composition-lines .rt-amount {
  color: var(--rt-hint);
  font-size: 11px;
  font-weight: 550;
}
.rt-capital-chip {
  display: block;
  width: fit-content;
  margin-top: 9px;
  padding: 4px 8px;
  border-left: 2px solid var(--rt-gold);
  background: var(--rt-attention-bg);
  color: var(--rt-attention);
  font-size: 11px;
  font-weight: 750;
}
.rt-capital-chip .rt-amount { display: inline; font-size: inherit; }
.rt-asset-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-top: 12px;
}
.rt-asset-story { padding: 20px; border: 1px solid var(--rt-line); background: var(--rt-card); }
.rt-asset-story h5 {
  margin: 0 0 12px;
  font-family: var(--rt-serif);
  font-size: 22px;
  font-weight: 500;
}
.rt-story-lines { margin: 0; }
.rt-story-lines > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 18px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--rt-line);
}
.rt-story-lines > div > span:first-child { color: var(--rt-muted); font-size: 13px; }
.rt-story-lines > div > span:first-child small { display: block; margin-top: 3px; color: var(--rt-muted); font-size: 11px; }
.rt-story-lines b { color: var(--rt-gold); font-weight: 750; }
.rt-story-lines strong { font-weight: 650; }
.rt-story-lines .rt-story-start { padding-top: 3px; }
.rt-story-lines .rt-story-end { border-bottom: 0; color: var(--rt-navy); }
.rt-story-component {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-left: 20px;
}
.rt-story-component small { color: var(--rt-hint); font-size: 11px; line-height: 1.35; }
.rt-retirement-wealth-story {
  max-width: 720px;
  margin: 6px 0 22px;
  padding: 20px;
  border: 1px solid var(--rt-line);
  border-left: 3px solid var(--rt-gold);
  background: var(--rt-card);
}
.rt-retirement-wealth-story h4 {
  margin: 0 0 12px;
  font-family: var(--rt-serif);
  font-size: 22px;
  font-weight: 500;
}
.rt-wealth-movement-title {
  margin: 20px 0 7px;
  color: var(--rt-navy);
  font-size: 13px;
  font-weight: 780;
  letter-spacing: .02em;
}
.rt-wealth-snapshot {
  width: min(100%, 720px);
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid var(--rt-line);
  border-left: 3px solid var(--rt-gold);
  background: var(--rt-card);
}
.rt-wealth-snapshot h4,
.rt-wealth-snapshot h5 {
  margin: 0 0 11px;
  color: var(--rt-navy);
  font-family: var(--rt-serif);
  font-size: 20px;
  font-weight: 500;
}
.rt-wealth-snapshot dl { margin: 0; }
.rt-wealth-snapshot dl > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid var(--rt-line);
}
.rt-wealth-snapshot dl > div:last-child { border-bottom: 0; }
.rt-wealth-snapshot dt { color: var(--rt-muted); font-size: 13px; }
.rt-wealth-snapshot dd { margin: 0; text-align: right; }
.rt-wealth-snapshot .rt-wealth-reserve { color: var(--rt-muted); }
.rt-wealth-snapshot .rt-wealth-available { color: var(--rt-navy); font-weight: 780; }
.rt-retirement-wealth-story > .rt-wealth-snapshot {
  width: 100%;
  margin-top: 12px;
  padding: 14px 16px;
  border-left-width: 2px;
  background: var(--rt-soft);
}
.rt-wealth-withdrawal {
  display: block;
  margin-top: 3px;
  padding-left: 16px;
  color: var(--rt-hint);
  font-size: 11px;
  line-height: 1.4;
}
.rt-status {
  display: inline-block;
  width: fit-content;
  padding: 4px 7px;
  border-left: 2px solid currentColor;
  font-size: 12px;
  font-weight: 720;
  line-height: 1.3;
}
.rt-desktop-details td { padding: 0 12px 17px; text-align: left; }
.rt-year-details { border-top: 1px solid var(--rt-line); }
.rt-year-details summary {
  display: flex;
  min-height: 44px;
  align-items: center;
  width: fit-content;
  color: var(--rt-blue);
  font-weight: 720;
  cursor: pointer;
}
.rt-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 4px 0 18px;
}
.rt-detail-group h4 { margin: 0 0 9px; font-size: 15px; }
.rt-detail-group dl { margin: 0; }
.rt-detail-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
  padding: 7px 0;
  border-bottom: 1px solid var(--rt-line);
}
.rt-detail-line dt { color: var(--rt-muted); font-size: 13px; }
.rt-detail-line dd { margin: 0; font-size: 14px; text-align: right; }
.rt-mobile { display: none; }
.rt-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Integrated Pensionierungs-Check result disclosure. */
.retirement-annual-table {
  margin-top: 18px;
  border: 1px solid var(--rt-line);
  border-radius: 15px;
  background: var(--rt-card);
}
.retirement-annual-table > summary {
  position: relative;
  min-height: 58px;
  padding: 17px 48px 17px 20px;
  color: var(--rt-navy);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.retirement-annual-table > summary::-webkit-details-marker { display: none; }
.retirement-annual-table > summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  color: var(--rt-blue);
  font-size: 22px;
  font-weight: 500;
}
.retirement-annual-table[open] > summary::after { content: "−"; }
.retirement-annual-table-body { padding: 0 20px 22px; }
.retirement-annual-intro,
.retirement-available-help {
  max-width: 780px;
  margin: 4px 0 0;
  color: var(--rt-muted);
  line-height: 1.55;
}
.retirement-available-help {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
}
.retirement-annual-table .rt-price-basis,
.retirement-annual-table .rt-uncertainty { margin-top: 16px; }
.retirement-annual-table .rt-desktop { margin-top: 20px; }
.retirement-annual-table .rt-calculation {
  margin-top: 18px;
  border-radius: 13px;
}
.retirement-annual-table .rt-calculation > summary { min-height: 52px; }
.retirement-annual-table .rt-desktop th:first-child { width: 17%; }
.retirement-annual-table .rt-desktop td,
.retirement-annual-table .rt-desktop th { padding-inline: 10px; }
.rt-annual-phase { padding: 22px 0 6px; }
.rt-annual-phase h3 {
  max-width: 800px;
  margin: 4px 0 0;
  font-family: var(--rt-serif);
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.12;
}
.rt-phase-kicker {
  margin: 0;
  color: var(--rt-blue);
  font-size: 13px;
  font-weight: 780;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.rt-scope-note {
  max-width: 780px;
  margin: 9px 0 0;
  color: var(--rt-hint);
  font-size: 13px;
  line-height: 1.5;
}
.rt-retirement-boundary {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 30px 0 12px;
  color: var(--rt-navy);
  font-size: 14px;
  font-weight: 800;
}
.rt-retirement-boundary::before,
.rt-retirement-boundary::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--rt-gold);
}
.rt-retirement-boundary span { white-space: nowrap; }
.rt-position-value { display: grid; gap: 2px; margin-bottom: 7px; }
.rt-position-value:last-child { margin-bottom: 0; }
.rt-position-value small { color: var(--rt-hint); font-size: 11px; line-height: 1.25; }
.rt-empty-value { color: var(--rt-hint); font-weight: 500; }
.rt-build-up-phase .rt-desktop th:first-child { width: 14%; }
.rt-build-up-phase .rt-desktop-details .rt-asset-grid { padding-top: 12px; }
.rt-build-up-mobile .rt-mobile-primary dd { display: grid; gap: 4px; }
.preview-brand {
  display: inline-flex;
  width: auto;
  min-height: 48px;
  align-items: center;
  color: var(--rt-navy);
  font-size: 18px;
  font-weight: 850;
  letter-spacing: .18em;
  text-decoration: none;
}
.preview-owner-label {
  margin: 14px 0 24px;
  color: var(--rt-hint);
  font-size: 13px;
}
.preview-consequence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0 20px 20px;
}
.preview-consequence-grid p {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 14px;
  border-radius: 12px;
  background: var(--rt-soft);
}
.preview-consequence-grid span,
.preview-chart-copy,
.preview-detail-copy { color: var(--rt-muted); line-height: 1.5; }
.preview-consequence-grid span { font-size: 13px; }
.preview-consequence-grid strong { font-size: 16px; }
.preview-detail-copy { padding: 0 20px 18px; }
.asset-chart-empty {
  display: grid;
  min-height: 220px;
  place-items: center;
  padding: 20px;
  border-radius: 12px;
  background: var(--rt-soft);
  color: var(--rt-muted);
  text-align: center;
}
.wealth-visual-grid.two-phase-wealth { grid-template-columns: minmax(0, 1fr); }
.two-phase-wealth .development-view { min-width: 0; }

/* Result-first Free-v1 hierarchy. */
.rt-result-first { margin-top: 10px; }
.rt-result-hero {
  max-width: 940px;
  padding: clamp(20px, 4vw, 36px) 0 12px;
}
.rt-result-hero h1.rt-finaura-navy {
  max-width: 900px;
  margin: 0;
  color: var(--rt-navy);
  font-family: var(--rt-serif);
  font-size: clamp(38px, 5.8vw, 66px);
  font-weight: 500;
  hyphens: auto;
  letter-spacing: -.04em;
  line-height: 1.05;
  overflow-wrap: anywhere;
}
.rt-result-hero > p:last-child {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--rt-muted);
  font-size: 17px;
  line-height: 1.55;
}
.rt-result-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  padding: 1px;
  background: var(--rt-line);
}
.rt-result-card {
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 170px;
  padding: 20px;
  background: var(--rt-card);
}
.rt-result-card::before { content: ""; width: 26px; height: 2px; background: var(--rt-gold); }
.rt-result-card p { margin: 4px 0 3px; color: var(--rt-muted); font-size: 13px; line-height: 1.4; }
.rt-result-card strong {
  color: var(--rt-navy);
  font-family: var(--rt-serif);
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 500;
  line-height: 1.18;
}
.rt-result-card span { color: var(--rt-blue); font-size: 14px; font-weight: 750; line-height: 1.35; }
.rt-result-card small { color: var(--rt-hint); font-size: 12px; line-height: 1.45; }
.rt-result-card.is-noch-offen strong { color: var(--rt-attention); }
.rt-result-flow { margin-top: 34px; }
.rt-result-step-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--rt-line);
}
.rt-result-step-button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 3px 10px;
  align-items: center;
  width: 100%;
  min-height: 76px;
  padding: 12px 14px;
  border: 0;
  background: var(--rt-card);
  color: var(--rt-navy);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.rt-result-step-button:hover,
.rt-result-step-button:focus-visible { background: var(--rt-soft); outline: 2px solid var(--rt-blue); outline-offset: -2px; }
.rt-result-step-button.is-active { background: var(--rt-navy); color: #fff; }
.rt-result-step-button.is-complete { background: var(--rt-soft); }
.rt-result-step-number {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-weight: 780;
}
.rt-result-step-label { font-size: 14px; font-weight: 760; line-height: 1.3; }
.rt-result-step-button small {
  grid-column: 2;
  color: var(--rt-muted);
  font-size: 11px;
}
.rt-result-step-button.is-active small { color: rgba(255,255,255,.78); }
.rt-result-step-intro {
  display: grid;
  justify-items: start;
  gap: 9px;
  padding: 24px 2px 22px;
  border-bottom: 1px solid var(--rt-line);
}
.rt-result-step-intro[hidden],
.rt-journey-overview[hidden] { display: none !important; }
.rt-result-step-intro h2 {
  margin: 0;
  color: var(--rt-navy);
  font-family: var(--rt-serif);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.1;
}
.rt-result-step-kicker { margin: 0; color: var(--rt-blue); font-size: 12px; font-weight: 780; }
.rt-result-step-intro > p:not(.rt-result-step-kicker) {
  max-width: 720px;
  margin: 0;
  color: var(--rt-muted);
  line-height: 1.5;
}
.rt-result-step-intro .rt-flow-primary { margin-top: 5px; }
.rt-result-step-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.rt-result-step-panels { margin-top: 0; }
.rt-result-step-panel { min-width: 0; background: var(--rt-card); }
.rt-result-step-panel[hidden] { display: none !important; }
.rt-result-phase-body { padding: 22px 22px 26px; }
.rt-result-phase-body:focus { outline: 2px solid var(--rt-gold); outline-offset: 2px; }
.rt-result-phase-body > .rt-scope-note { margin: 20px 0 0; }
.rt-result-phase .rt-chart { margin-top: 22px; border-inline: 0; }
.rt-result-step-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 22px;
  border-top: 1px solid var(--rt-line);
}
.rt-flow-primary,
.rt-flow-secondary {
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--rt-blue);
  border-radius: 7px;
  font: inherit;
  font-weight: 760;
  cursor: pointer;
}
.rt-flow-primary { background: var(--rt-blue); color: #fff; }
.rt-flow-secondary { background: transparent; color: var(--rt-blue); }
.rt-flow-next { font-weight: 780; }
.rt-flow-primary:hover,
.rt-flow-primary:focus-visible { background: var(--rt-navy); outline: 2px solid var(--rt-gold); outline-offset: 2px; }
.rt-flow-secondary:hover,
.rt-flow-secondary:focus-visible { background: var(--rt-soft); outline: 2px solid var(--rt-blue); outline-offset: 2px; }
.rt-transition-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  margin-top: 22px;
  padding: 1px;
  background: var(--rt-line);
}
.rt-transition-timeline article { display: grid; gap: 7px; padding: 16px; background: var(--rt-soft); }
.rt-transition-timeline span { color: var(--rt-muted); font-size: 12px; }
.rt-transition-timeline strong { font-size: 15px; line-height: 1.4; }
.rt-transition-timeline small { color: var(--rt-hint); font-size: 12px; line-height: 1.45; }
.rt-transition-capital { margin-top: 18px; }
.rt-transition-story {
  display: grid;
  justify-items: stretch;
  max-width: 760px;
  margin-inline: auto;
}
.rt-transition-bound {
  padding: 18px 20px;
  border-left: 3px solid var(--rt-gold);
  background: var(--rt-attention-bg);
}
.rt-transition-bound h4 { margin: 0 0 8px; font-family: var(--rt-serif); font-size: 22px; font-weight: 500; }
.rt-transition-bound dl,
.rt-transition-calculation { margin: 0; }
.rt-transition-arrow { padding: 7px 0; color: var(--rt-gold); font-size: 24px; text-align: center; }
.rt-transition-step { margin: 0 0 5px; color: var(--rt-blue); font-size: 13px; font-weight: 780; text-align: center; }
.rt-transition-calculation { padding: 5px 20px; border: 1px solid var(--rt-line); background: var(--rt-card); }
.rt-transition-calculation > div:last-child { color: var(--rt-navy); font-weight: 750; }
.rt-transition-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  padding: 14px 16px;
  border-left: 3px solid var(--rt-gold);
  background: var(--rt-attention-bg);
  color: var(--rt-navy);
  font-size: 14px;
  font-weight: 720;
}
.rt-transition-capital dl { margin: 12px 0 0; }
.rt-transition-capital dl > div { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--rt-line); }
.rt-transition-capital dt,
.rt-transition-wealth-before > span:first-child { color: var(--rt-muted); }
.rt-transition-capital dd { margin: 0; }
.rt-transition-wealth {
  display: grid;
  grid-template-columns: minmax(180px, .75fr) auto minmax(300px, 1.25fr);
  gap: 18px;
  align-items: center;
  max-width: 760px;
  margin: 18px auto 0;
}
.rt-transition-wealth-before {
  display: grid;
  gap: 7px;
  padding: 18px 20px;
  border: 1px solid var(--rt-line);
  color: var(--rt-navy);
}
.rt-transition-wealth-before span { font-size: 13px; }
.rt-transition-wealth-before strong { font-size: 17px; }
.rt-transition-wealth-arrow { color: var(--rt-gold); font-size: 24px; }
.rt-transition-wealth .rt-wealth-snapshot { margin-top: 0; }
.rt-transition-empty,
.rt-transition-note { color: var(--rt-muted); line-height: 1.55; }

.rt-journey-overview {
  margin: 0;
  padding: 20px 22px 18px;
  border-bottom: 1px solid var(--rt-line);
  background: var(--rt-card);
}
.rt-journey-caption { display: grid; gap: 3px; }
.rt-journey-caption strong { color: var(--rt-navy); font-family: var(--rt-serif); font-size: 20px; font-weight: 500; }
.rt-journey-caption span { color: var(--rt-muted); font-size: 12px; }
.rt-journey-phases { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 20px; margin-top: 16px; }
.rt-journey-phases section { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 9px; align-items: start; }
.rt-journey-phases section > b { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--rt-navy); border-radius: 50%; color: var(--rt-navy); font-size: 12px; }
.rt-journey-phases .is-transition > b { border-color: var(--rt-gold); background: var(--rt-gold); }
.rt-journey-phases strong { color: var(--rt-navy); font-size: 14px; }
.rt-journey-phases p { margin: 4px 0 0; color: var(--rt-muted); font-size: 12px; line-height: 1.45; }
.rt-journey-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.rt-journey-chips span { padding: 2px 6px; border: 1px solid var(--rt-line); border-radius: 999px; background: var(--rt-soft); color: var(--rt-navy); }
.rt-journey-overview > .rt-chart { margin: 20px -22px -18px; border: 0; border-top: 1px solid var(--rt-line); }
.rt-journey-overview > .rt-chart h3 { font-size: 23px; }

.rt-transition-sources { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rt-transition-story-title { margin: 0 0 10px; color: var(--rt-navy); font-family: var(--rt-serif); font-size: 20px; font-weight: 500; }
.rt-transition-source { padding: 17px 18px; border: 1px solid var(--rt-line); border-top: 2px solid var(--rt-gold); }
.rt-transition-source > p { margin: 0; color: var(--rt-navy); font-size: 12px; font-weight: 780; letter-spacing: .06em; text-transform: uppercase; }
.rt-transition-source dl { margin-top: 10px; }
.rt-transition-source dl > div:last-child { color: var(--rt-navy); font-weight: 760; }
.rt-transition-totals { margin: 16px 0 0; padding: 4px 18px; border-left: 3px solid var(--rt-gold); background: var(--rt-soft); }
.rt-transition-totals > div:last-child { color: var(--rt-navy); font-weight: 780; }
.rt-transition-transfer-note { margin: 13px 0 0; color: var(--rt-muted); font-size: 13px; line-height: 1.55; }

.rt-special-effect-cell { color: var(--rt-navy); font-weight: 720; white-space: nowrap; }
.rt-signed-prefix { margin-right: 3px; color: inherit; }
.rt-special-effect-detail { margin: 18px 0; padding: 18px; border: 1px solid var(--rt-line); border-left: 3px solid var(--rt-gold); }
.rt-special-effect-detail > h4 { margin: 0 0 14px; color: var(--rt-navy); font-family: var(--rt-serif); font-size: 21px; font-weight: 500; }
.rt-special-effect-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.rt-special-effect-grid section { min-width: 0; }
.rt-special-effect-grid h5 { margin: 0 0 7px; color: var(--rt-navy); font-size: 13px; }
.rt-special-effect-grid dl { margin: 0; }
.rt-special-effect-grid dl > div { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--rt-line); }
.rt-special-effect-grid dd { margin: 0; text-align: right; }
.rt-special-effect-total { display: flex; justify-content: space-between; gap: 16px; margin-top: 15px; padding-top: 13px; border-top: 1px solid var(--rt-gold); color: var(--rt-navy); }
.rt-special-effect-detail > p { margin: 12px 0 0; color: var(--rt-muted); font-size: 13px; line-height: 1.5; }
.rt-special-effect-button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1px 8px;
  align-items: center;
  min-width: 148px;
  min-height: 48px;
  padding: 7px 10px;
  border: 1px solid var(--rt-gold);
  border-radius: 8px;
  background: var(--rt-attention-bg);
  color: var(--rt-navy);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.rt-special-effect-button-value { font-weight: 780; white-space: nowrap; }
.rt-special-effect-button-action { color: var(--rt-muted); font-size: 11px; font-weight: 650; }
.rt-special-effect-button-icon { grid-column: 2; grid-row: 1 / span 2; font-size: 18px; line-height: 1; transition: transform .16s ease; }
.rt-special-effect-button.is-open .rt-special-effect-button-icon { transform: rotate(180deg); }
.rt-special-effect-button:hover { border-color: var(--rt-navy); background: var(--rt-soft); }
.rt-special-effect-button:focus-visible { outline: 2px solid var(--rt-blue); outline-offset: 2px; }

@media (max-width: 900px) {
  .rt-preview-shell { width: min(100% - 32px, 720px); padding-top: 22px; }
  .rt-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rt-basic-form, .rt-inline-fields, .rt-expense-card, .rt-calculation > div { grid-template-columns: 1fr; }
  .rt-phases { grid-template-columns: 1fr; }
  .rt-wide, .rt-expense-card fieldset { grid-column: 1; }
  .rt-heading h2 { font-size: clamp(35px, 10vw, 48px); }
  .rt-heading > p:last-child { font-size: 17px; }
  .rt-three-a-plan { grid-template-columns: 1fr; padding: 20px; }
  .rt-three-a-calculation { grid-column: 1; }
  .rt-desktop { display: none; }
  .rt-mobile { display: grid; gap: 14px; margin-top: 22px; }
  .rt-mobile-card {
    padding: 20px;
    border: 1px solid var(--rt-line);
    border-top: 3px solid var(--rt-navy);
    background: var(--rt-card);
  }
  .rt-mobile-card header { display: grid; gap: 3px; margin-bottom: 8px; }
  .rt-mobile-card h3 {
    margin: 0;
    font-family: var(--rt-serif);
    font-size: 26px;
    font-weight: 500;
  }
  .rt-mobile-card .rt-row-quality { margin-top: 1px; }
  .rt-mobile-primary,
  .rt-mobile-secondary { margin: 0; }
  .rt-mobile-primary > div,
  .rt-mobile-secondary > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: baseline;
    padding: 13px 0;
    border-bottom: 1px solid var(--rt-line);
  }
  .rt-mobile-primary dt,
  .rt-mobile-secondary dt { color: var(--rt-muted); font-size: 15px; line-height: 1.4; }
  .rt-mobile-primary dd,
  .rt-mobile-secondary dd { margin: 0; font-size: 17px; text-align: right; }
  .rt-mobile-secondary { margin-top: 7px; }
  .rt-mobile-secondary > div { padding: 10px 0; }
  .rt-mobile-secondary dt,
  .rt-mobile-secondary dd { font-size: 15px; }
  .is-zero-secondary { color: var(--rt-hint); font-weight: 500; }
  .rt-mobile-card .rt-year-details { margin-top: 7px; }
  .rt-detail-grid { grid-template-columns: 1fr 1fr; }
  .rt-asset-grid { grid-template-columns: 1fr; }
  .rt-asset-story-grid { grid-template-columns: 1fr; }
  .retirement-annual-table-body { padding: 0 14px 16px; }
  .retirement-annual-table .rt-mobile { margin-top: 18px; }
  .rt-retirement-boundary { margin-block: 26px 8px; }
  .preview-consequence-grid { grid-template-columns: 1fr; padding-inline: 14px; }
  .rt-result-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rt-result-step-nav { grid-template-columns: 1fr; gap: 1px; }
  .rt-result-step-button { min-height: 58px; }
  .rt-result-step-actions { align-items: stretch; }
  .rt-transition-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rt-transition-wealth { grid-template-columns: 1fr; }
  .rt-transition-wealth-arrow { transform: rotate(90deg); text-align: center; }
  .rt-journey-phases { gap: 12px; }
}

@media (max-width: 560px) {
  .rt-preview-shell { width: calc(100% - 24px); }
  .rt-input-flow { margin-bottom: 48px; padding: 20px 16px; }
  .rt-input-flow h1 { font-size: 36px; }
  .rt-chart { padding: 17px 12px; }
  .rt-chart-age-tick text { font-size: 20px; }
  .rt-chart-retirement-event text { font-size: 20px; }
  .rt-chart-retirement-event .rt-chart-event-secondary { font-size: 16px; }
  .rt-chart-endpoints { display: grid; gap: 10px; }
  .rt-chart-endpoints span:last-child { text-align: left; }
  .rt-summary { grid-template-columns: 1fr; }
  .rt-summary-item { min-height: 0; padding: 18px; }
  .rt-mobile-card { padding: 18px 16px; }
  .rt-mobile-primary > div,
  .rt-mobile-secondary > div { grid-template-columns: 1fr; gap: 4px; }
  .rt-mobile-primary dd,
  .rt-mobile-secondary dd { text-align: left; }
  .rt-detail-grid { grid-template-columns: 1fr; }
  .rt-detail-line dd { max-width: 52vw; }
  .retirement-annual-table { border-radius: 12px; }
  .retirement-annual-table > summary { padding-left: 14px; }
  .retirement-annual-table-body { padding-inline: 10px; }
  .retirement-annual-table .rt-mobile-card { padding: 17px 14px; }
  .rt-retirement-boundary { gap: 9px; font-size: 12px; }
  .rt-result-hero h1 { font-size: clamp(36px, 11vw, 48px); }
  .rt-result-cards { grid-template-columns: 1fr; }
  .rt-result-card { min-height: 0; padding: 18px; }
  .rt-result-step-intro { padding: 20px 2px; }
  .rt-result-phase-body { padding-inline: 12px; }
  .rt-result-step-actions { flex-direction: column-reverse; padding: 18px 12px; }
  .rt-flow-primary,
  .rt-flow-secondary { width: 100%; }
  .rt-transition-timeline { grid-template-columns: 1fr; }
  .rt-journey-overview { padding: 18px 12px; }
  .rt-journey-overview > .rt-chart { margin-inline: -12px; }
  .rt-journey-phases { grid-template-columns: 1fr; margin-top: 16px; }
  .rt-journey-phases section { padding-bottom: 13px; border-bottom: 1px solid var(--rt-line); }
  .rt-transition-sources,
  .rt-special-effect-grid { grid-template-columns: 1fr; }
  .rt-special-effect-grid dl > div,
  .rt-special-effect-total { display: grid; gap: 5px; }
  .rt-special-effect-grid dd { text-align: left; }
  .rt-transition-flow { align-items: flex-start; }
  .rt-transition-capital dl > div,
  .rt-transition-wealth-before { display: grid; gap: 5px; }
  .rt-wealth-snapshot { padding: 16px 14px; }
  .rt-wealth-snapshot dl > div { grid-template-columns: 1fr; gap: 4px; }
  .rt-wealth-snapshot dd { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
