/* The calculator uses the site's shared header and footer without restyling them. */
.ctr-page {
  --ctr-ink: #101653;
  --ctr-text: #172548;
  --ctr-muted: #455673;
  --ctr-blue: #0065e5;
  --ctr-blue-dark: #064da9;
  --ctr-edge: #d7e6f4;
  --ctr-tint: #edf7ff;
  --ctr-radius: 11px;
  color: var(--ctr-text);
  background: #f8fbfe;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: clamp(13px, 1.03vw, 15px);
  line-height: 1.42;
}

.ctr-page,
.ctr-page * {
  box-sizing: border-box;
}

.ctr-page [hidden] { display: none !important; }
.ctr-page :is(h1, h2, h3, p, dl) { margin: 0; }
.ctr-page :is(h1, h2, h3) {
  color: var(--ctr-ink);
  font-family: inherit;
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.025em;
}
.ctr-page h2 { font-size: clamp(17px, 1.7vw, 24px); }
.ctr-page h3 { font-size: 1.08em; }
.ctr-page :is(section, aside, div)[id] { scroll-margin-top: 92px; }
.ctr-page a { color: var(--ctr-blue-dark); }
.ctr-page a:hover { color: #003c84; }
.ctr-page :focus-visible { outline: 3px solid #0076d8; outline-offset: 3px; }

.ctr-hero {
  background-color: #e6f3ff;
  background-image: linear-gradient(90deg, #e8f5ff 0%, #eaf5ff 30%, #eaf5fff0 42%, #eaf5ff83 55%, transparent 76%), url("/assets/tax-dashboard/tax-skyline-hero-20261017.webp");
  background-repeat: no-repeat;
  background-position: center, right 53%;
  background-size: cover, auto max(100%, 22vw);
}

.ctr-hero-content,
.ctr-dashboard,
.ctr-shell > :is(.ctr-sources, .ctr-warning, .ctr-banner, .ctr-pair) {
  width: min(calc(100% - 28px), 1412px);
  margin-inline: auto;
}

.ctr-hero-content {
  min-height: clamp(205px, 21vw, 282px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  padding: 13px 12px 15px;
}

.ctr-hero .ctr-title {
  max-width: 67%;
  color: var(--ctr-ink);
  font-family: inherit;
  font-size: clamp(28px, 3.3vw, 49px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.052em;
}

.ctr-hero .ctr-hero-headline h1 {
  font-size: clamp(19px, 2vw, 28px);
  letter-spacing: -.032em;
}

.ctr-hero-headline em { margin-inline-start: .24em; font-style: normal; }
.ctr-hero-headline br { display: none; }
.ctr-hero-summary { width: min(52%, 640px); color: #142343; line-height: 1.24; }
.ctr-trust,
.ctr-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}
.ctr-trust { margin: 1px 0 2px; padding: 0; list-style: none; }
.ctr-trust > :is(span, a, li) {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  min-height: 26px;
  padding: 3px 8px;
  background: #fffffff2;
  border: 1px solid #cde2f5;
  border-radius: 8px;
  color: var(--ctr-ink);
  font-size: .84em;
  font-weight: 750;
  text-decoration: none;
}
.ctr-trust svg,
.ctr-card-title svg,
.ctr-steps h2 svg,
.ctr-sources h2 svg,
.ctr-info svg,
.ctr-warning svg {
  flex: 0 0 auto;
  width: 1.16em;
  height: 1.16em;
  color: var(--ctr-blue);
}

.ctr-page .ctr-button,
.ctr-actions > :is(a, button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .46em;
  min-height: 34px;
  padding: 6px 14px;
  color: var(--ctr-blue-dark);
  background: #f0f8ff;
  border: 1px solid #b8d5f1;
  border-radius: 9px;
  font: inherit;
  font-size: .94em;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.ctr-actions .ctr-button { border-radius: 999px; }
.ctr-page :is(.ctr-button:hover, .ctr-actions > a:hover) { background: #dceeff; text-decoration: none; }
.ctr-page .ctr-button--primary,
.ctr-hero .ctr-actions > a:first-child {
  color: white;
  background: var(--ctr-blue);
  border-color: var(--ctr-blue);
}
.ctr-page :is(.ctr-button--primary:hover, .ctr-hero .ctr-actions > a:first-child:hover) {
  color: #fff;
  background: var(--ctr-blue-dark);
  border-color: var(--ctr-blue-dark);
}
.ctr-page .ctr-button svg { width: 1.15em; height: 1.15em; flex: 0 0 auto; }
.ctr-icon { display: inline-block; width: 1.1em; height: 1.1em; flex: 0 0 auto; vertical-align: middle; }

.ctr-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 3.35fr) minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  margin-block: 9px 0;
}
.ctr-content,
.ctr-sidebar {
  display: grid;
  min-width: 0;
  gap: 9px;
}
.ctr-workspace,
.ctr-pair {
  display: grid;
  grid-template-columns: minmax(0, 1.19fr) minmax(0, 1fr);
  min-width: 0;
  gap: 9px;
}
.ctr-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ctr-chart { grid-column: 1 / -1; }

.ctr-card,
.ctr-sources {
  min-width: 0;
  padding: clamp(9px, 1.15vw, 17px);
  background: linear-gradient(146deg, #fff 28%, #f4faff 100%);
  border: 1px solid var(--ctr-edge);
  border-radius: var(--ctr-radius);
  box-shadow: 0 2px 5px #1c528d0a;
}
.ctr-page .ctr-card-title,
.ctr-sources > h2,
.ctr-sidebar .ctr-card > h2 {
  display: flex;
  align-items: center;
  gap: .42em;
  margin: 0 0 .45em;
}
.ctr-sidebar .ctr-card { padding: 9px 10px; font-size: clamp(11px, 1.06vw, 14px); line-height: 1.33; }
.ctr-sidebar .ctr-card > h2 { font-size: clamp(15px, 1.45vw, 20px); }
.ctr-sidebar p + p { margin-top: .45em; }
.ctr-sidebar .ctr-button { width: 100%; margin-top: .58em; background-color: #e2f0fe; }
.ctr-sidebar-list,
.ctr-card ul:not([class]) {
  margin: .35em 0 0;
  padding-left: 1.22em;
}
.ctr-sidebar :is(ul, dl) { line-height: 1.33; }
.ctr-sidebar li + li { margin-top: .34em; }
.ctr-sidebar dl > div + div { margin-top: .38em; }
.ctr-sidebar dt { font-weight: 800; }
.ctr-sidebar dd { display: inline; margin: 0; }
.ctr-sidebar dt:has(+ dd) { display: inline; }
.ctr-facts,
.ctr-checks { list-style: none; margin: 0; padding: 0; }
.ctr-facts li,
.ctr-checks li { display: flex; align-items: flex-start; gap: 6px; }
.ctr-facts .ctr-icon { color: var(--ctr-blue); margin-top: .15em; }
.ctr-checks .ctr-icon { color: #147c41; margin-top: .15em; }
.ctr-sidebar-list { list-style: none; padding: 0; }
.ctr-sidebar-list a { display: flex; justify-content: space-between; gap: .45em; text-decoration: none; }
.ctr-sidebar-list a:hover { text-decoration: underline; }
.ctr-sidebar-list a span { flex: 0 0 auto; }
.ctr-utility { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; align-self: start; }
.ctr-sidebar .ctr-utility .ctr-button { margin: 0; padding-inline: 4px; background: #fff; }
.ctr-utility-message { padding: 8px; background: #eaf5fe; color: var(--ctr-blue-dark); border-radius: 8px; }

.ctr-input-panel {
  background: linear-gradient(145deg, #fff 42%, #f1f9ff 100%);
  border-color: #c6def4;
  align-self: start;
}
.ctr-input-panel fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.ctr-input-panel .calc-head {
  display: grid;
  gap: 5px;
  padding: 0;
  margin: 0 0 5px;
  border: 0;
}
.ctr-input-panel .calc-year {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 24px;
  color: var(--ctr-ink);
  font-size: .91em;
  font-weight: 700;
  line-height: 1.26;
  letter-spacing: 0;
  text-transform: none;
}
.ctr-input-panel :is(.calc-year input:not([type="checkbox"], [type="radio"]), .calc-year select) {
  flex: 0 0 44%;
  min-width: 0;
  width: 44%;
  max-width: 100%;
  height: clamp(25px, 2.1vw, 30px);
  margin: 0;
  padding: 4px 7px;
  color: var(--ctr-text);
  background: #fff;
  border: 1px solid #bfcde0;
  border-radius: 5px;
  box-shadow: inset 0 1px 3px #1932510a;
  font: inherit;
  font-weight: 600;
}
.ctr-input-panel :is(input[type="checkbox"], input[type="radio"]) { accent-color: var(--ctr-blue); }
.ctr-input-panel .calc-year select { appearance: auto; padding-inline-end: 2px; }
.ctr-input-panel .calc-check {
  justify-content: flex-start;
  min-height: 28px !important;
}
.ctr-input-panel .calc-check input[type="checkbox"] {
  appearance: auto;
  width: 16px;
  height: 16px;
  min-width: 16px;
  flex: 0 0 16px;
  margin: 0;
  padding: 0;
}
.ctr-input-panel :is(.calc-note, .calc-verdict) {
  color: var(--ctr-muted);
  font-size: .84em;
  line-height: 1.4;
}
.ctr-input-panel #tquick { display: none; }
.ctr-input-panel .calc-hint { width: 100%; }
.ctr-choices {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 9px;
  min-width: 0;
}
.ctr-choice {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 22px;
  line-height: 1.2;
  cursor: pointer;
}
.ctr-choice > input { appearance: auto; width: 14px; height: 14px; margin: 0; padding: 0; flex: 0 0 14px; }
.ctr-choice-row {
  display: grid;
  grid-template-columns: minmax(63px, .7fr) minmax(0, 1.7fr);
  align-items: center;
  gap: 6px;
}
.ctr-choice-caption { font-weight: 750; color: var(--ctr-ink); }
.ctr-stepper {
  display: inline-grid;
  grid-template-columns: 27px minmax(0, 35px) 27px;
  align-items: center;
  margin-inline-start: auto;
  border: 1px solid #bfcde0;
  border-radius: 5px;
  background: #fff;
  overflow: hidden;
}
.ctr-input-panel .calc-year .ctr-stepper :is(input, button) {
  width: 100%;
  height: 25px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  font: inherit;
  text-align: center;
}
.ctr-input-panel .calc-year .ctr-stepper input { box-shadow: none; border-inline: 1px solid #d9e5f4; appearance: textfield; }
.ctr-stepper input::-webkit-inner-spin-button,
.ctr-stepper input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.ctr-stepper button { color: var(--ctr-blue-dark); cursor: pointer; }
.ctr-stepper button:hover { background: #eaf5fe; }
.ctr-stepper :focus-visible { outline-offset: -3px; }
.ctr-input-panel .ctr-actions { margin-top: 8px; justify-content: center; }
.ctr-input-panel .ctr-actions > .ctr-button--primary { flex: 0 1 50%; min-width: 120px; }
.ctr-input-panel .ctr-actions > [data-ctr-action="reset"] { min-width: 100px; }

.ctr-result { align-self: start; }
.ctr-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-bottom: 8px;
}
.ctr-page .ctr-result-header .ctr-card-title { margin: 0; }
.ctr-estimate {
  padding: 3px 7px;
  color: #23642d;
  background: #e4f6dc;
  border-radius: 999px;
  font-size: .75em;
  font-weight: 750;
  white-space: nowrap;
}
.ctr-net {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  justify-items: start;
  gap: 8px;
  margin-bottom: 8px;
  padding: 10px 8px;
  color: var(--ctr-ink);
  background: linear-gradient(145deg, #e7f4ff, #d7e9fa);
  border: 1px solid #d4e7f8;
  border-radius: 9px;
  text-align: left;
}
.ctr-net [data-ctr-value="net"] {
  display: block;
  margin-top: 2px;
  color: #0459d6;
  font-size: clamp(32px, 4.02vw, 57px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.055em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.ctr-net svg { width: 2.65em; height: 2.65em; margin-inline: .35em; color: var(--ctr-blue); }
.ctr-net small:not(:empty) { display: block; margin-top: .4em; color: var(--ctr-muted); }
.ctr-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 8px;
}
.ctr-metric {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  padding: 7px 4px;
  background: var(--ctr-tint);
  color: var(--ctr-ink);
  border: 1px solid #dfedf9;
  border-radius: 8px;
  font-size: .89em;
  line-height: 1.2;
  text-align: center;
}
.ctr-metric [data-ctr-value] {
  color: var(--ctr-ink);
  font-size: clamp(16px, 1.65vw, 23px);
  font-weight: 800;
  letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.ctr-metric svg { width: 1.54em; height: 1.54em; color: var(--ctr-blue); }
.ctr-breakdown {
  padding: 8px 10px;
  border-radius: 8px;
  background: #f3f9ff;
  border: 1px solid var(--ctr-edge);
  font-size: .92em;
}
.ctr-breakdown > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 8px;
}
.ctr-breakdown > div + div { margin-top: 4px; }
.ctr-breakdown > div:first-child dt { font-weight: 750; }
.ctr-breakdown dt { min-width: 0; }
.ctr-breakdown dd {
  max-width: min(14em, 46vw);
  margin: 0;
  color: var(--ctr-ink);
  font-weight: 750;
  text-align: right;
  overflow-wrap: anywhere;
}
.ctr-breakdown dd :is([data-ctr-value="route"], [data-ctr-value="status"]) {
  display: inline-block;
  padding: 2px 6px;
  background: #d9ebfb;
  border-radius: 8px;
}

.ctr-info,
.ctr-chart-notes {
  padding: 8px 10px;
  border: 1px solid #dcecf9;
  border-radius: 8px;
  background: #eaf5fe;
  color: #193959;
  font-size: .93em;
}
.ctr-page .ctr-info { display: flex; align-items: flex-start; gap: 7px; margin-top: 8px; }
.ctr-page details { min-width: 0; }
.ctr-page summary { color: var(--ctr-blue-dark); font-weight: 700; cursor: pointer; }
.ctr-details { margin-block-start: 8px; }
.ctr-details[open] > summary { margin-block-end: 7px; }
.ctr-page #tout .calc-out {
  margin: 0;
  padding: 8px;
  background: #f5faff;
  border: 1px solid var(--ctr-edge);
  border-radius: 8px;
  color: var(--ctr-text);
}
.ctr-page #tout .calc-big {
  color: var(--ctr-ink);
  font: inherit;
  font-size: 1.12em;
  font-weight: 800;
}
.ctr-page #tout :is(.calc-big span, .calc-verdict, .calc-note, .calc-table td, .calc-table th, .calc-bar em) { color: var(--ctr-text); }
.ctr-page #tout :is(.calc-note, .calc-verdict, .calc-warn) { margin: 6px 0; font-size: .91em; line-height: 1.4; }
.ctr-page #tout .calc-table { margin-top: 5px; font-size: .93em; }
.ctr-page #tout .calc-table :is(th, td) { padding: 5px 2px; border-color: var(--ctr-edge); }
.ctr-page #tout .calc-warn { color: #713803; background: #fff4de; border-color: #e98c25; padding: 6px 8px; }
.ctr-page #tout .calc-bar span { background: #2b72cc; }
.ctr-page #tout .calc-h3 { color: var(--ctr-ink); font-size: .91em; text-transform: none; letter-spacing: 0; }

.ctr-chart-layout {
  display: grid;
  grid-template-columns: minmax(0, 3.3fr) minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.ctr-chart-layout > * { min-width: 0; }
.ctr-chart-key { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin-bottom: 6px; font-size: .82em; }
.ctr-chart-key span { display: inline-flex; align-items: center; gap: 5px; }
.ctr-chart-key i { display: inline-block; width: 15px; height: 9px; border-radius: 2px; }
.ctr-chart-key {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  font-size: .85em;
}
.ctr-chart-graphic {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  font-family: Arial, "Helvetica Neue", sans-serif;
}
.ctr-chart-notes h3 { display: flex; align-items: center; gap: .4em; margin: 0 0 .35em; }
.ctr-chart-notes h3 .ctr-icon { color: var(--ctr-blue); }
.ctr-chart-notes { line-height: 1.31; }
.ctr-chart-notes li + li { margin-block-start: .34em; }
.ctr-chart-notes li::marker { color: #127840; }

.ctr-table-wrap { width: 100%; min-width: 0; overflow: auto; }
.ctr-page table:not(.calc-table) {
  width: 100%;
  border-collapse: collapse;
  font-size: .92em;
  line-height: 1.33;
}
.ctr-page table:not(.calc-table) :is(th, td) {
  padding: 6px;
  border: 1px solid var(--ctr-edge);
  text-align: left;
  vertical-align: top;
}
.ctr-page table:not(.calc-table) th { color: var(--ctr-ink); background: #eaf5fe; }
.ctr-page table:not(.calc-table) tbody tr:nth-child(even) td { background: #f4f9fe; }
.ctr-route-grid,
.ctr-source-grid,
.ctr-step-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-block-start: 7px;
}
.ctr-source-grid,
.ctr-step-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ctr-route-grid > *,
.ctr-source-grid > *,
.ctr-step-grid > * {
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--ctr-edge);
  border-radius: 8px;
  background: #f1f8ff;
}
.ctr-route-grid > :first-child { border-color: #d9edda; background: #edf9eb; }
.ctr-route-grid { font-size: .94em; line-height: 1.3; }
.ctr-route-warning {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid #f0ddb1;
  border-radius: 6px;
  background: #fff6db;
  color: #70420b;
  font-size: .92em;
}
.ctr-route :is(h3, small) { display: block; }
.ctr-route h3 svg,
.ctr-source-grid h3 svg { margin-inline-end: .32em; color: var(--ctr-blue); }
.ctr-route:first-child h3 svg { color: #147c41; }
.ctr-route li + li { margin-top: .24em; }
.ctr-route small { margin-top: .45em; }
.ctr-route-grid + .ctr-button { float: right; margin-top: 7px; }
.ctr-route-grid > * > h3,
.ctr-source-grid > * > h3,
.ctr-step-grid > * > h3 { margin-bottom: 4px; }
.ctr-source-grid > article { display: flex; align-items: flex-start; flex-direction: column; gap: 4px; }
.ctr-source-grid article p { flex: 1; }
.ctr-source-grid .ctr-button { margin-top: 2px; }
.ctr-step-grid {
  list-style: none;
  padding: 0;
  text-align: center;
}
.ctr-step-grid > li { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.ctr-step-grid li > span {
  width: 1.5em;
  height: 1.5em;
  line-height: 1.5em;
  color: #fff;
  background: var(--ctr-blue);
  border-radius: 50%;
  font-weight: 800;
}
.ctr-step-grid strong { color: var(--ctr-ink); line-height: 1.16; }
.ctr-step-grid small { color: var(--ctr-muted); line-height: 1.24; }
.ctr-steps { min-width: 0; }
.ctr-shell > .ctr-pair { margin-top: 9px; }
.ctr-shell > .ctr-sources { margin-top: 9px; }
.ctr-reference-notes > :not(summary) { margin-top: 8px; }

.ctr-warning {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #ffebeb;
  border: 1px solid #f2d1d0;
  color: #812625;
  text-align: center;
}
.ctr-warning svg { color: #ab2b2b; vertical-align: middle; }
.ctr-shell > .ctr-warning { margin-top: 9px; }
.ctr-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 16px;
  background: linear-gradient(116deg, #0073ed, #0752bf);
  color: #fff;
  border-radius: 9px;
}
.ctr-shell > .ctr-banner { margin-block: 9px 14px; }
.ctr-banner :is(h2, h3, strong) { color: #fff; }
.ctr-banner .ctr-button { background: #fff; border-color: #fff; }

@media (max-width: 900px) {
  .ctr-dashboard { grid-template-columns: minmax(0, 1fr); }
  .ctr-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ctr-sidebar .ctr-card { font-size: 13px; }
  .ctr-hero-content { min-height: 205px; }
  .ctr-hero-summary { width: min(65%, 580px); }
}

@media (max-width: 640px) {
  .ctr-hero {
    background-image: linear-gradient(90deg, #e8f5fff7 0%, #e8f5ffdf 58%, #e8f5ff9c 100%), url("/assets/tax-dashboard/tax-skyline-hero-20261017.webp");
    background-position: center, 70% 50%;
  }
  .ctr-hero-content,
  .ctr-dashboard,
  .ctr-shell > :is(.ctr-sources, .ctr-warning, .ctr-banner, .ctr-pair) {
    width: calc(100% - 18px);
  }
  .ctr-hero-content { padding: 16px 4px; min-height: 0; gap: 6px; }
  .ctr-hero .ctr-title, .ctr-hero-summary { width: 100%; max-width: none; }
  .ctr-hero .ctr-title { font-size: clamp(27px, 7.2vw, 38px); }
  .ctr-page .ctr-button, .ctr-actions > :is(a, button) { min-height: 40px; }
  .ctr-workspace,
  .ctr-pair,
  .ctr-chart-layout,
  .ctr-sidebar { grid-template-columns: minmax(0, 1fr); }
  .ctr-input-panel :is(.calc-year input:not([type="checkbox"], [type="radio"]), .calc-year select) { height: 39px; font-size: 16px; }
  .ctr-input-panel .calc-year { min-height: 35px; }
  .ctr-input-panel #nat { width: 55%; flex-basis: 55%; }
  .ctr-chart [data-ctr-chart] { overflow-x: auto; }
  .ctr-chart-graphic { min-width: 666px; }
  .ctr-choice { min-height: 32px; }
  .ctr-stepper { grid-template-columns: 34px minmax(0, 36px) 34px; }
  .ctr-input-panel .calc-year .ctr-stepper :is(input, button) { height: 34px; }
  .ctr-source-grid, .ctr-step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ctr-net [data-ctr-value="net"] { font-size: 40px; }
  .ctr-breakdown dd { max-width: 45vw; }
  .ctr-table-wrap table { min-width: 286px; }
}

@media (max-width: 360px) {
  .ctr-route-grid { grid-template-columns: minmax(0, 1fr); }
}

@media print {
  .ctr-page { color: #111; background: #fff; }
  .ctr-hero { background: #fff; }
  .ctr-hero-content { min-height: 0; }
  .ctr-page :is(.ctr-actions, .ctr-sidebar, .ctr-banner) { display: none; }
  .ctr-dashboard { display: block; }
  .ctr-card { break-inside: avoid; box-shadow: none; }
}
