:root {
  color-scheme: light;
  --page: #f6f7f9;
  --panel: #ffffff;
  --ink: #182334;
  --muted: #546275;
  --line: #dce2e9;
  --accent: #2b4c9a;
  --accent-soft: #edf2ff;
  --error: #9d263a;
  --error-soft: #fff1f3;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
}
[hidden] {
  display: none !important;
}
a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}
a:hover {
  text-decoration-thickness: 2px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
select {
  cursor: pointer;
}
button:disabled,
fieldset:disabled,
select:disabled {
  cursor: not-allowed;
}
button:disabled,
select:disabled {
  opacity: 0.55;
}
fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  margin-bottom: 12px;
  font-size: clamp(2.1rem, 4.5vw, 3.3rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.12;
}
h2 {
  font-size: 1.13rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
h3 {
  font-size: 1rem;
  letter-spacing: -0.01em;
}
p {
  margin-bottom: 16px;
}
:focus-visible {
  outline: 3px solid #2b4c9a;
  outline-offset: 4px;
}
.page-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.03em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: var(--ink);
  color: white;
  border-radius: 6px;
  font-family: ui-monospace, monospace;
  font-size: 22px;
}
.wordmark-year {
  color: var(--muted);
  font-weight: 400;
}
.page-intro {
  padding: 48px 0 30px;
  max-width: 760px;
}
.eyebrow {
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 15px;
}
.intro-copy {
  font-size: 1.08rem;
  max-width: 660px;
  color: #3e4c60;
  line-height: 1.65;
  margin-bottom: 12px;
}
.scope-note {
  font-size: 0.86rem;
  color: var(--muted);
  max-width: 680px;
  margin-bottom: 0;
}
.mode-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  margin-bottom: 24px;
  border-block: 1px solid var(--line);
}
.mode-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 650;
}
.mode-bar p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  max-width: 520px;
}
.mode-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  max-width: 56%;
}
.mode-actions select {
  min-width: 0;
  max-width: 280px;
}
.workspace {
  display: grid;
  grid-template-columns: minmax(270px, 330px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.workspace:has(#input-editor[open]) {
  grid-template-columns: minmax(0, 1fr);
}
.input-panel {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 10px;
}
.output-panel {
  min-width: 0;
  padding: 4px 0 0;
}
.panel-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}
.panel-heading h2 {
  margin-bottom: 0;
}
.unit-note,
.status-label {
  font-size: 0.73rem;
  color: var(--muted);
}
.status-label {
  max-width: 55%;
  text-align: right;
}
.field {
  margin-bottom: 20px;
}
.field > label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 7px;
}
input[type="text"],
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #7b8aa0;
  border-radius: 5px;
  color: var(--ink);
  background: white;
}
input[type="text"] {
  font-variant-numeric: tabular-nums;
}
input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--error);
  background: #fff9fa;
}
.money-input {
  position: relative;
}
.money-input input {
  padding-right: 42px;
}
.money-input > span {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 0.85rem;
  pointer-events: none;
}
.field-help {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
}
.field-error {
  margin: 7px 0 0;
  color: var(--error);
  font-size: 0.78rem;
  line-height: 1.6;
}
.checkbox-field {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.8rem;
  line-height: 1.6;
  margin: 16px 0;
}
.checkbox-field input {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  margin: 3px 0 0;
  accent-color: var(--accent);
}
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}
.button.primary {
  color: white;
  background: var(--accent);
}
.button.primary:hover {
  background: #213d7d;
}
.button.secondary {
  color: var(--ink);
  background: white;
  border-color: #7b8aa0;
}
.button.secondary:hover {
  background: #eef1f6;
}
.full-width {
  width: 100%;
}
.local-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.6;
}
.result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.result-card {
  min-width: 0;
  padding: 22px 18px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.result-card h3 {
  margin-bottom: 4px;
}
.result-period {
  font-size: 0.7rem;
  color: var(--muted);
  margin: 0 0 16px;
}
.amount {
  font-size: clamp(1.4rem, 2.45vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  margin: 0 0 20px;
}
.amount.negative {
  color: var(--error);
}
.amount-caption {
  color: var(--muted);
  font-size: 0.77rem;
  margin-bottom: 6px;
}
.amount-breakdown {
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 13px;
}
.amount-breakdown > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 9px 0;
  font-size: 0.85rem;
}
.amount-breakdown dt {
  color: var(--muted);
}
.amount-breakdown dd {
  margin: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.result-note {
  margin: 16px 0 0;
  font-size: 0.81rem;
  color: var(--muted);
  line-height: 1.7;
}
.provenance-note {
  padding: 12px 14px;
  border: 1px solid #c7d4f5;
  background: var(--accent-soft);
  color: #263f75;
  border-radius: 5px;
  font-size: 0.79rem;
  margin-bottom: 16px;
}
.empty-state {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 340px;
  padding: 38px;
  border: 1px dashed #b7c2d0;
  border-radius: 8px;
  background: #f9fafc;
}
.empty-state h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
}
.empty-state p {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 430px;
  margin-bottom: 0;
}
.empty-symbol {
  font-size: 32px;
  color: #77899f;
  font-family: ui-monospace, monospace;
  margin-bottom: 22px;
}
.error-summary,
.error-notice {
  padding: 18px 20px;
  border: 1px solid #dca9b2;
  border-left: 3px solid var(--error);
  background: var(--error-soft);
  border-radius: 5px;
  margin-bottom: 20px;
  font-size: 0.87rem;
}
.error-summary h3 {
  margin-bottom: 8px;
}
.error-summary ul {
  padding-left: 20px;
  margin: 0;
}
.error-summary li + li {
  margin-top: 8px;
}
.error-summary a {
  color: var(--error);
}
.error-summary p:last-child {
  margin-bottom: 0;
}
.load-notice {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 15px 18px;
  color: var(--muted);
  font-size: 0.86rem;
  margin-bottom: 22px;
}
.evidence-section {
  margin-top: 48px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 24px;
}
.section-heading .eyebrow {
  margin-bottom: 9px;
}
.section-heading h2 {
  margin-bottom: 0;
  font-size: 1.4rem;
  letter-spacing: -0.04em;
}
.section-heading > p {
  max-width: 400px;
  color: var(--muted);
  font-size: 0.82rem;
  margin: 0;
}
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
  margin-block: 20px;
}
details {
  min-width: 0;
  border: 1px solid var(--line);
  background: white;
  border-radius: 6px;
}
details + details {
  margin-top: 12px;
}
summary {
  cursor: pointer;
  min-height: 48px;
  padding: 14px 16px;
  font-size: 0.87rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.detail-body {
  padding: 0 16px 16px;
  font-size: 0.85rem;
}
.detail-body p:last-child {
  margin-bottom: 0;
}
.nested-panel {
  margin: 0 0 20px;
}
.notes-list {
  margin: 0;
  padding-left: 20px;
  color: #445165;
  font-size: 0.84rem;
  line-height: 1.75;
}
.notes-list li + li {
  margin-top: 10px;
}
.trace-step {
  padding-block: 16px;
  border-top: 1px solid var(--line);
}
.trace-step h3 {
  margin: 0 0 6px;
  font-size: 0.83rem;
}
.trace-step .step-amount {
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  margin-bottom: 8px;
}
.step-meta {
  color: var(--muted);
  font-size: 0.69rem;
  margin-bottom: 7px;
}
.trace-step p {
  font-size: 0.79rem;
  overflow-wrap: anywhere;
}
.trace-step details {
  margin-top: 10px;
}
.trace-step summary {
  font-size: 0.75rem;
  font-weight: 500;
}
.source-link {
  display: inline-block;
  overflow-wrap: anywhere;
}
.source-meta {
  color: var(--muted);
  font-size: 0.7rem;
  overflow-wrap: anywhere;
}
blockquote {
  border-left: 2px solid var(--line);
  margin: 12px 0;
  padding-left: 12px;
  font-size: 0.76rem;
  overflow-wrap: anywhere;
}
code {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.85em;
  overflow-wrap: anywhere;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 54px;
  padding: 25px 0 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
}
.muted {
  color: var(--muted);
  font-size: 0.85rem;
}
.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;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10;
  padding: 10px 15px;
  background: white;
  border: 2px solid var(--accent);
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: translateY(0);
}
.json-draft {
  min-height: 330px;
  resize: vertical;
  font:
    0.77rem/1.65 ui-monospace,
    "SFMono-Regular",
    Consolas,
    monospace;
  tab-size: 2;
}
.fixture-summary {
  margin: 20px 0;
  padding: 18px;
  background: #f6f8fc;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.fixture-summary dl {
  margin: 0;
}
.fixture-summary dl > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 9px;
  font-size: 0.82rem;
}
.fixture-summary dt {
  color: var(--muted);
}
.fixture-summary dd {
  margin: 0;
  text-align: right;
  overflow-wrap: anywhere;
}
.annual-result {
  padding: 27px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.annual-result .amount {
  font-size: clamp(2.25rem, 5vw, 3.8rem);
  margin-bottom: 8px;
}
.annual-result .amount-breakdown {
  margin-top: 24px;
}
.annual-result .amount-breakdown > div {
  font-size: 0.88rem;
  margin-block: 13px;
}
.annual-result .secondary-amount {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  margin: 20px 0 0;
  font-size: 0.85rem;
}
.operand-list {
  margin: 10px 0;
}
.operand-list > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.82rem;
  margin-bottom: 6px;
}
.operand-list dt {
  color: var(--muted);
  overflow-wrap: anywhere;
}
.operand-list dd {
  margin: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
  .page-shell {
    padding-inline: 26px;
  }
  .workspace {
    grid-template-columns: minmax(250px, 305px) minmax(0, 1fr);
    gap: 20px;
  }
  .result-grid {
    grid-template-columns: 1fr;
  }
  .result-card {
    padding: 20px;
  }
  .result-card .amount {
    font-size: 2rem;
    margin-bottom: 14px;
  }
  .amount-breakdown > div {
    font-size: 0.85rem;
  }
  .evidence-grid {
    grid-template-columns: 1fr;
  }
  .mode-actions {
    max-width: 60%;
  }
}
@media (max-width: 760px) {
  .page-shell {
    padding-inline: 18px;
  }
  .site-header {
    min-height: 72px;
  }
  .page-intro {
    padding: 32px 0 25px;
  }
  .intro-copy {
    font-size: 0.97rem;
  }
  .mode-bar,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .mode-actions {
    width: 100%;
    max-width: none;
    flex-wrap: wrap;
  }
  .mode-actions select {
    max-width: none;
    width: 100%;
  }
  .mode-actions .button {
    flex: 1;
  }
  .workspace {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .input-panel {
    padding: 22px 18px;
  }
  .output-panel {
    padding-top: 0;
  }
  .result-grid {
    gap: 12px;
  }
  .empty-state {
    min-height: 230px;
    padding: 25px;
  }
  .section-heading > p {
    max-width: none;
  }
  .site-footer {
    flex-direction: column;
    gap: 8px;
  }
  .status-label {
    font-size: 0.7rem;
  }
  .evidence-section {
    margin-top: 34px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}

/* Calculator-first layout (2026-10-13): one input, an immediate answer, evidence folded away. */
.page-intro h1 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  letter-spacing: -0.045em;
}
.money-input > span:first-child {
  left: 13px;
  right: auto;
}
.money-input > span:first-child + input {
  padding-left: 32px;
  padding-right: 12px;
}
.money-input-large input {
  min-height: 60px;
  font-size: 1.6rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.money-input-large > span:first-child {
  font-size: 1.3rem;
}
.money-input-large > span:first-child + input {
  padding-left: 38px;
}
.more-options {
  margin: 4px 0 18px;
}
.more-options > summary {
  color: var(--accent);
}
.more-options .field {
  padding: 0 16px;
}
.take-home {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  transition: opacity 0.15s;
}
.take-home.stale {
  opacity: 0.9;
}
.take-home-label {
  margin-bottom: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}
.take-home-amount {
  margin-bottom: 6px;
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.take-home-amount span {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}
.take-home-periods {
  margin-bottom: 4px;
  font-size: 1.02rem;
  font-variant-numeric: tabular-nums;
}
.take-home-share {
  color: var(--muted);
  font-size: 0.9rem;
}
.breakdown {
  margin: 22px 0 14px;
  border-top: 1px solid var(--line);
}
.breakdown > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.breakdown dt {
  color: #3e4c60;
}
.breakdown dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.breakdown .breakdown-total {
  font-weight: 700;
  border-bottom: 0;
}
.evidence-section > summary {
  font-size: 0.95rem;
}
.evidence-section > #evidence-content {
  padding: 0 16px 16px;
}
.evidence-section {
  padding-top: 0;
  border-top: 1px solid var(--line);
}

/* Launch content (2026-10-14): breadcrumb and the guide below the tool. Quiet, typographic, one accent. */
.breadcrumb {
  margin-bottom: 10px;
  font-size: 0.82rem;
  color: var(--muted);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumb li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--line);
}
.breadcrumb a {
  color: var(--muted);
}
.guide {
  max-width: 720px;
  margin: 56px 0 24px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  font-size: 1.02rem;
  line-height: 1.7;
}
.guide h2 {
  margin: 40px 0 12px;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  scroll-margin-top: 20px;
}
.guide h2.guide-title {
  margin-top: 0;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}
.guide h3 {
  margin: 24px 0 6px;
  font-size: 1.02rem;
}
.guide p {
  margin-bottom: 14px;
}
.guide ul,
.guide ol {
  padding-left: 1.2em;
}
.guide li {
  margin-bottom: 8px;
}
.guide-meta {
  color: var(--muted);
  font-size: 0.88rem;
}
.guide-toc {
  margin: 22px 0 8px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  font-size: 0.92rem;
}
.guide-toc p {
  margin-bottom: 6px;
  font-weight: 600;
}
.guide-toc ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.guide-toc li {
  margin: 0;
}
.guide-table {
  margin: 14px 0 18px;
  overflow-x: auto;
}
.guide-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}
.guide-table caption {
  padding-bottom: 6px;
  text-align: left;
  color: var(--muted);
  font-size: 0.82rem;
}
.guide-table th,
.guide-table td {
  padding: 9px 12px 9px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.guide-table thead th {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}
.guide-table tbody th {
  font-weight: 500;
}
.guide-steps {
  list-style: none;
  padding-left: 0 !important;
}
.guide-steps li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.guide-sources {
  font-size: 0.92rem;
}
@media (max-width: 760px) {
  .guide {
    margin-top: 40px;
    font-size: 1rem;
  }
}

/* Reserve the result card's height before the script runs so the evidence block doesn't jump. */
@media (max-width: 760px) {
  #result {
    min-height: 472px;
  }
}

/* Pay-period picker (2026-10-14): a native radio group drawn as one quiet segmented control. */
.period-picker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 10px;
  border: 1px solid #7b8aa0;
  border-radius: 5px;
  background: white;
  overflow: hidden;
}
.period-option {
  position: relative;
  display: block;
  margin: 0;
  font-weight: 500;
}
.period-option + .period-option {
  border-left: 1px solid var(--line);
}
.period-option input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.period-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 4px;
  font-size: 0.85rem;
  color: var(--muted);
  white-space: nowrap;
}
.period-option input:checked + span {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  box-shadow: inset 0 -2px 0 var(--accent);
}
.period-option input:focus-visible + span {
  outline: 3px solid #2b4c9a;
  outline-offset: -3px;
}
.breakdown-table {
  width: 100%;
  margin: 22px 0 14px;
  border-collapse: collapse;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}
.breakdown-table th,
.breakdown-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  text-align: right;
  font-weight: 400;
}
.breakdown-table th[scope="row"] {
  text-align: left;
  color: #3e4c60;
}
.breakdown-table thead th {
  padding: 8px 0;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}
.breakdown-table td + td,
.breakdown-table th + th {
  padding-left: 16px;
}
.breakdown-table .breakdown-total th,
.breakdown-table .breakdown-total td {
  border-bottom: 0;
  font-weight: 700;
  color: var(--ink);
}
.breakdown-table .yearly-col {
  color: var(--muted);
}
.breakdown-table .breakdown-total .yearly-col {
  color: var(--ink);
}
.take-home-amount span {
  white-space: nowrap;
}
@media (max-width: 520px) {
  .take-home-periods {
    min-height: 3.2em;
  }
  .take-home-amount span {
    display: block;
    margin-top: 2px;
  }
}
@media (min-width: 1101px) {
  /* Reserve the result card's height so it filling in after the script runs moves nothing. */
  #result {
    min-height: 584px;
  }
}
