@font-face {
  font-family: Inter;
  src: url("assets/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fff;
  --ground: #f4f7f6;
  --ink: #172e32;
  --muted: #51666a;
  --line: #d9e2df;
  --deep: #103e41;
  --green: #087568;
  --mint: #dff3eb;
  --gross: #aec8ca;
  --error: #a03a29;
  --radius: 14px;
  accent-color: var(--green);
  font: 100%/1.5 Inter, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--ground);
  scrollbar-color: #8fa7a3 var(--ground);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
button, input, select { font: inherit; color: inherit; }
button, summary, label:has(input[type="radio"]) { cursor: pointer; }
a { color: var(--green); text-underline-offset: .2em; }
button { border: 0; }
button, summary, a, input, select { -webkit-tap-highlight-color: #cee8e2; touch-action: manipulation; }
button:focus-visible, summary:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid #087b79;
  outline-offset: 3px;
}
::selection { color: var(--deep); background: #bceadd; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.22; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
label, summary, legend { line-height: 1.4; }
.icon-library { display: none; }
.icon { display: inline-block; flex: 0 0 auto; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(1192px, calc(100% - 80px)); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; inset: 8px auto auto 12px; z-index: 10; padding: 10px; background: white; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
[id] { scroll-margin-top: 14px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 14px; }
.brand, .source-link { display: inline-flex; align-items: center; text-decoration: none; }
.brand { color: var(--ink); gap: 11px; font-size: 1.29rem; font-weight: 720; letter-spacing: -.04em; }
.brand strong { font-weight: 450; }
.brand-mark { width: 36px; height: 36px; flex: none; }
.source-link { min-height: 44px; gap: 8px; font-size: .85rem; font-weight: 560; color: var(--muted); }
.source-link .icon { width: 17px; height: 17px; }
.source-link:hover, .source-link:focus-visible { color: var(--green); }
main:focus { outline: 0; }
.intro { display: flex; align-items: center; justify-content: space-between; column-gap: 32px; margin-block: 40px 24px; }
.intro h1 { font-size: 2.65rem; font-weight: 650; letter-spacing: -.04em; }
.intro p { margin-top: 9px; color: var(--muted); font-size: .975rem; text-wrap: pretty; }
.reference-date { display: inline-flex; align-items: center; gap: 8px; flex: none; color: var(--muted); font-size: .76rem; }
.reference-date time { font-weight: 620; }
.reference-date .icon { width: 16px; height: 16px; }
.view-switch { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid #d5dedb; border-radius: 10px; background: #e8eeeb; }
.view-switch button { appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 128px; min-height: 37px; padding: 6px 15px; border-radius: 7px; background: transparent; font-size: .9rem; font-weight: 570; color: #49605f; }
.view-switch button[aria-selected="true"] { background: var(--deep); color: white; }
.view-switch button[aria-selected="false"]:hover { background: #dae5e0; }
.view-switch .icon { width: 17px; height: 17px; }
.workspace { display: grid; grid-template-columns: minmax(295px, .85fr) minmax(0, 2fr); gap: 24px; align-items: start; margin-top: 20px; }
.controls-column, .results, .control-body, .comparison-body { min-width: 0; }
.paper { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.controls { overflow: clip; }
.control-body { padding: 23px 24px 22px; }
.control-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 25px; }
h2, .control-title h2 { font-size: 1.18rem; font-weight: 660; letter-spacing: -.03em; }
.example-flag { background: #edf2ef; color: #4e635c; font-size: .75rem; font-weight: 610; padding: 3px 9px; border-radius: 5px; }
.field { margin-top: 17px; }
.control-title + .field, .config-fields > .field:first-child { margin-top: 0; }
.field label, .range-heading label, .pay-options legend { display: block; font-size: .845rem; font-weight: 620; }
.money-input, select { margin-top: 8px; width: 100%; min-height: 44px; background: white; border: 1px solid #a6b8b4; border-radius: 7px; }
.money-input { display: flex; align-items: center; padding: 0 12px; }
.money-input:focus-within { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.money-input input { flex: 1 1 0%; min-width: 0; padding: 10px 0; width: 100%; color: var(--ink); outline: none; border: 0; border-radius: 0; background: transparent; caret-color: var(--green); font-size: 1rem; line-height: 1.35; font-weight: 530; font-variant-numeric: tabular-nums; }
.money-input input:focus-visible { outline: 0; }
.money-input span { flex: none; font-size: .8rem; color: var(--muted); margin-left: 7px; }
.money-input.large { min-height: 61px; padding-inline: 16px; }
.money-input.large input { font-size: 1.75rem; font-weight: 600; letter-spacing: -.035em; }
.money-input.large span { font-size: .85rem; }
.money-input:has([aria-invalid="true"]) { border-color: var(--error); }
.hint, .field-error, .field-note { font-size: .8rem; color: var(--muted); line-height: 1.5; margin-top: 7px; text-wrap: pretty; }
.field-error, .field-note { color: var(--error); }
.range-field { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.range-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.range-heading output { color: #075c4e; background: var(--mint); border-radius: 5px; font-size: .84rem; font-weight: 680; padding: 3px 8px; white-space: nowrap; font-variant-numeric: tabular-nums; }
input[type="range"] { display: block; width: 100%; height: 25px; padding: 0; margin: 11px 0 0; background: transparent; appearance: none; cursor: pointer; --fill: 50%; }
input[type="range"]::-webkit-slider-runnable-track { height: 5px; border-radius: 5px; background: linear-gradient(to right, var(--green) 0 var(--fill), #dbe4df var(--fill) 100%); }
input[type="range"]::-moz-range-track { height: 5px; border-radius: 5px; background: #dbe4df; }
input[type="range"]::-moz-range-progress { height: 5px; border-radius: 5px; background: var(--green); }
input[type="range"]::-webkit-slider-thumb { appearance: none; width: 18px; height: 18px; margin-top: -6.5px; border: 3px solid white; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 1px var(--green); }
input[type="range"]::-moz-range-thumb { width: 13px; height: 13px; border: 3px solid white; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 1px var(--green); }
.range-ends { display: flex; justify-content: space-between; color: var(--muted); font-size: .75rem; font-variant-numeric: tabular-nums; }
.range-field .hint { margin-top: 11px; }
summary { display: flex; align-items: center; gap: 10px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary:hover { background: #f5f9f7; }
summary:focus-visible { outline-offset: -4px; border-radius: 6px; }
.chevron { margin-left: auto; width: 16px; height: 16px; transition: transform 160ms ease-out; }
details[open] > summary .chevron { transform: rotate(180deg); }
.config-fold { border-top: 1px solid var(--line); }
.config-fold > summary, .reset-button { min-height: 47px; padding: 11px 24px; font-size: .81rem; font-weight: 580; }
.config-fold > summary > .icon:first-child, .reset-button .icon { width: 16px; height: 16px; color: var(--muted); }
.config-fields { padding: 2px 24px 20px; }
.config-fields fieldset + fieldset, .config-fields div + fieldset { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.config-fields legend { font-size: .89rem; font-weight: 690; }
.config-fields .check-label, .eligibility .check-label { display: flex; align-items: flex-start; gap: 9px; font-size: .82rem; font-weight: 560; margin-block: 12px 5px; }
.check-label input { width: 17px; height: 17px; margin: 1px 0 0; flex: none; }
.eligibility { margin-top: 17px; padding-top: 10px; border-top: 1px solid var(--line); }
.eligibility .check-label { cursor: pointer; align-items: center; min-height: 32px; margin-block: 0; }
.eligibility .hint { margin-top: 2px; }
select { display: block; padding: 8px; font-size: .84rem; }
.reset-button { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; background: #f9fbfa; color: var(--muted); border-top: 1px solid var(--line); font-size: .775rem; }
.reset-button:hover { background: #edf4f1; color: var(--green); }
.reset-button:focus-visible { outline-offset: -4px; }
.projection-note { display: flex; align-items: flex-start; gap: 10px; margin: 19px 7px 0; color: var(--muted); }
.projection-note .icon { width: 16px; height: 16px; margin-top: 2px; color: #537a71; }
.projection-note p { max-width: 44ch; font-size: .8rem; }
.projection-note strong { display: block; font-weight: 630; color: #334f4e; margin-bottom: 2px; }
.pay-options { margin-top: 18px; }
.radio-segments { display: flex; gap: 7px; margin-top: 8px; }
.radio-segments label { position: relative; flex: 1; }
.radio-segments input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.radio-segments span { display: block; padding: 9px; text-align: center; border-radius: 6px; border: 1px solid #adbfba; font-size: .85rem; }
.radio-segments input:checked + span { border-color: var(--green); color: #075c4e; background: #eaf5ef; font-weight: 650; }
.radio-segments input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.results { display: grid; gap: 16px; }
.salary-comparison { container-type: inline-size; }
.salary-comparison > h2 { padding: 21px 25px 17px; font-size: 1.28rem; }
.salary-places { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.salary-place { min-width: 0; padding: 19px 25px 22px; }
.salary-place.melilla { background: #eaf5ef; border-left: 1px solid var(--line); }
.salary-place h3 { font-size: 1.28rem; font-weight: 660; letter-spacing: -.03em; }
.salary-scenario { font-size: .84rem; color: var(--muted); margin-top: 2px; }
.salary-place dl, .salary-place dd { margin: 0; }
.salary-place dl { margin-top: 20px; }
.salary-place dt { font-size: .86rem; font-weight: 550; line-height: 1.35; }
.salary-place dd { margin-top: 2px; font-size: 1.45rem; line-height: 1.22; font-weight: 560; letter-spacing: -.035em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.salary-net { margin-top: 15px; }
.salary-net dt { font-weight: 640; }
.salary-net dd { font-size: 2.16rem; font-weight: 680; }
.melilla .salary-net dd { color: #075e51; }
.salary-bottom { padding: 16px 25px 19px; }
.net-difference { font-size: 1.04rem; text-wrap: pretty; }
.net-difference strong { font-weight: 710; color: var(--deep); font-variant-numeric: tabular-nums; }
.net-caption { color: var(--muted); font-size: .81rem; margin-top: 5px; }
.detail-stat { display: flex; align-items: baseline; justify-content: space-between; gap: 4px 15px; margin-top: 11px; padding-top: 10px; border-top: 1px solid var(--line); font-size: .81rem; }
.detail-stat strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.employer-details .comparison-body { padding-top: 12px; }
.employer-details h3 { font-size: .95rem; }
@container (max-width: 580px) {
  .salary-place { padding: 16px; }
  .salary-net dd { font-size: 1.67rem; }
  .salary-place dd[data-size="long"] { font-size: 1.28rem; }
}
@container (max-width: 400px) {
  .salary-comparison > h2 { padding: 16px; }
  .salary-place { padding: 13px 12px 16px; }
  .salary-place h3 { font-size: 1.1rem; }
  .salary-scenario { font-size: .76rem; }
  .salary-place dl { margin-top: 13px; }
  .salary-place dt { font-size: .77rem; }
  .salary-place dd { font-size: 1.13rem; }
  .salary-net { margin-top: 12px; }
  .salary-net dd { font-size: 1.36rem; }
  .salary-bottom { padding: 13px 16px; }
  .net-difference { font-size: .93rem; }
  .salary-places:has(dd:is([data-size="long"],[data-size="wide"])) { grid-template-columns: 1fr; }
  .salary-places:has(dd:is([data-size="long"],[data-size="wide"])) .melilla { border-left: 0; border-top: 1px solid var(--line); }
}
.workforce-title { margin-top: 22px; padding-top: 19px; border-top: 1px solid var(--line); font-size: 1rem; }
.workforce-title + .field { margin-top: 13px; }
.profit-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 12px; padding: 15px 25px 0; }
.profit-heading h2 { font-size: 1.28rem; }
.profit-intro { max-width: 76ch; padding: 4px 25px 17px; font-size: .86rem; color: var(--muted); text-wrap: pretty; }
.profit-comparison .salary-place dl { margin-top: 17px; }
.profit-tax { margin-top: 14px; }
.profit-tax span { white-space: nowrap; }
.profit-tax dd { font-size: 1.12rem; }
.profit-comparison .salary-net { margin-top: 14px; padding-top: 13px; border-top: 1px solid #bed1cb; }
.profit-comparison dd[data-size="long"] { font-size: clamp(1rem, 3.4cqi, 1.7rem); }
.profit-comparison dd[data-size="wide"] { font-size: clamp(1rem, 2.6cqi, 1.38rem); }
.profit-bottom { padding: 16px 25px 18px; color: #fff; border-radius: 0 0 var(--radius) var(--radius); background: linear-gradient(100deg, var(--deep) 20%, rgb(16 62 65 / 94%) 52%, rgb(16 62 65 / 82%)), url("assets/melilla.webp") center 55% / cover; }
.profit-difference, .savings-total > p:first-child { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; font-size: .97rem; font-weight: 600; }
.profit-difference strong, .savings-total strong { font-size: 1.52rem; font-weight: 670; line-height: 1.2; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
#criterio-is { margin-top: 5px; color: #e2f1eb; font-size: .79rem; text-wrap: pretty; }
.text-button { min-height: 32px; padding: 2px 0; display: inline-flex; align-items: center; gap: 4px; color: var(--green); background: none; font-size: .8rem; font-weight: 560; }
.text-button .icon { width: 14px; height: 14px; }
.text-button:hover { text-decoration: underline; }
.savings-total { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); }
.savings-total strong { color: var(--green); }
#puente-beneficio { margin-top: 6px; color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; text-wrap: pretty; }
#seguridad-social-empresa .fold-body .chart { margin-block: 5px 16px; }
@container (min-width: 401px) and (max-width: 520px) {
  .profit-comparison .salary-places:has(dd[data-size="wide"]) { grid-template-columns: 1fr; }
  .profit-comparison .salary-places:has(dd[data-size="wide"]) .melilla { border-left: 0; border-top: 1px solid var(--line); }
}
@container (max-width: 400px) {
  .profit-heading { padding: 14px 16px 0; }
  .profit-heading h2 { font-size: 1.13rem; }
  .profit-intro { padding: 4px 16px 13px; font-size: .8rem; }
  .profit-comparison .salary-net dd[data-size="normal"] { font-size: clamp(1.1rem, 6.25cqi, 1.36rem); }
  .profit-bottom { padding: 13px 16px 15px; }
  .profit-difference strong { font-size: 1.28rem; }
}
.comparison-body { padding: 23px 25px 19px; }
.section-hint { margin-top: 4px; font-size: .82rem; color: var(--muted); }
.chart { margin-top: 18px; }
.bar-row + .bar-row { margin-top: 12px; }
.bar-label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; font-size: .82rem; align-items: baseline; }
.bar-location { display: flex; flex-wrap: wrap; align-items: baseline; gap: 1px 9px; }
.bar-fee { color: var(--muted); font-size: .755rem; font-variant-numeric: tabular-nums; }
.bar-label strong { margin-left: auto; font-size: .92rem; font-weight: 640; font-variant-numeric: tabular-nums; text-align: right; }
.bar-track { position: relative; display: flex; overflow: hidden; margin-top: 5px; width: 100%; height: 12px; border-radius: 3px; background: #edf3f1; }
.bar-track i { height: 100%; display: block; }
.bar-gross, .legend-gross { background: var(--gross); }
.bar-gross, .legend-gross { box-shadow: inset 0 0 0 1px #65878a; }
.bar-contrib, .legend-contrib { background: var(--green); }
.legend { display: flex; flex-wrap: wrap; gap: 5px 16px; margin-top: 13px; color: var(--muted); font-size: .765rem; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; }
.kept-saving { display: flex; align-items: center; gap: 9px; margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--line); font-size: .805rem; }
.kept-saving .icon { width: 17px; height: 17px; color: var(--green); }
.kept-saving strong { color: #075c4e; font-variant-numeric: tabular-nums; }
.result-fold:not(.stand-alone) { border-top: 1px solid var(--line); }
.result-fold summary, .sources summary { padding: 12px 24px; min-height: 45px; font-size: .825rem; font-weight: 590; }
.result-fold:not(.stand-alone):not([open]) summary { border-radius: 0 0 var(--radius) var(--radius); }
.stand-alone summary, .sources summary { border-radius: var(--radius); min-height: 49px; }
.stand-alone summary .icon:first-child, .sources summary .icon:first-child { color: var(--green); width: 17px; height: 17px; }
.fold-body { padding: 3px 24px 20px; }
.fold-body h3 { margin-block: 14px 5px; font-size: .9rem; font-weight: 660; }
.table-scroll { max-width: 100%; overflow-x: auto; }
.table-scroll:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.data-table { width: 100%; border-collapse: collapse; font-size: .775rem; font-variant-numeric: tabular-nums; }
.data-table th, .data-table td { padding: 8px 3px; border-bottom: 1px solid #e3eae7; vertical-align: top; }
.data-table thead th { color: var(--muted); font-size: .755rem; font-weight: 590; }
.data-table tr > :first-child { text-align: left; padding-left: 0; }
.data-table td, .data-table thead th:not(:first-child) { text-align: right; }
.data-table td { white-space: nowrap; }
.data-table tr > :last-child { padding-right: 0; }
.data-table tbody th { font-weight: 500; }
.data-table .total-row { color: var(--deep); background: #f0f7f3; }
.data-table .total-row :is(th,td) { font-weight: 650; }
.data-table + .hint, .fold-body > .hint { margin-top: 12px; }
.reta-place .salary-net { margin-top: 0; }
.reta-year { margin-top: 13px; }
.reta-year dd { font-size: 1.1rem; }
.reta-brackets { container-type: inline-size; }
.reta-brackets .table-scroll { margin-top: 16px; }
.bracket-table small { display: block; margin-top: 2px; color: var(--muted); font-size: .74rem; }
.bracket-table th, .bracket-table td { vertical-align: middle; padding: 8px 6px; }
.bracket-table tr > :first-child { padding-left: 8px; }
.bracket-table tr > :last-child { padding-right: 8px; }
.bracket-table .bracket-bases { white-space: normal; }
.bracket-bases span { display: none; }
.bracket-table [aria-current="true"] { background: var(--mint); color: var(--deep); }
.bracket-table [aria-current="true"] :is(th,td,small) { font-weight: 650; color: var(--deep); }
@container (max-width: 580px) {
  @supports (grid-template-columns: subgrid) {
    .bracket-table { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .bracket-table :is(thead,tbody,tr) { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; }
    .bracket-table thead th:nth-child(-n+2) { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; padding: 0; overflow: hidden; }
    .bracket-table thead th, .bracket-table tbody td { grid-column: span 2; }
    .bracket-table tbody th, .bracket-table .bracket-bases { grid-column: span 3; align-self: center; border-bottom: 0; padding: 9px 6px 5px; }
    .bracket-bases span { display: block; font-size: .74rem; color: var(--muted); }
    .bracket-table tbody td:not(.bracket-bases) { padding: 2px 6px 9px; }
  }
}
.sources { margin-block: 24px; }
.source-content { padding: 0 24px 22px; }
.source-content section { border-top: 1px solid var(--line); padding: 15px 0; }
.source-content section h3 { font-size: .94rem; }
.source-content p { max-width: 83ch; color: var(--muted); font-size: .865rem; margin-top: 8px; }
.source-content .links { display: flex; gap: 6px 16px; flex-wrap: wrap; }
.links a { text-decoration-thickness: 1px; }
.credit { border-top: 1px solid var(--line); padding-top: 13px; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 0 24px; font-size: .765rem; color: var(--muted); }
.footer span { display: inline-flex; align-items: center; gap: 5px; }
.footer .icon { width: 14px; height: 14px; }

@media (max-width: 960px) {
  .wrap { width: calc(100% - 48px); }
  .intro { align-items: flex-start; }
  .intro h1 { font-size: 2.3rem; }
  .reference-date { margin-top: 8px; }
  .workspace { grid-template-columns: minmax(260px,.83fr) minmax(0,1.4fr); gap: 17px; }
  .control-body, .config-fields, .config-fold > summary { padding-inline: 18px; }
  .comparison-body, .fold-body, .result-fold summary { padding-inline: 18px; }
}
@media (max-width: 740px) {
  .wrap { width: min(100% - 32px, 580px); }
  .header-inner { min-height: 58px; }
  .brand { font-size: 1.14rem; gap: 8px; }
  .brand-mark { width: 31px; height: 31px; }
  .source-link { font-size: .78rem; gap: 6px; }
  .intro { display: block; margin: 24px 0 16px; }
  .intro h1 { font-size: 2rem; }
  .intro p { font-size: .88rem; margin-top: 7px; }
  .reference-date { font-size: .75rem; margin-top: 10px; gap: 5px; }
  .reference-date .icon { width: 14px; height: 14px; }
  .view-switch { width: 100%; }
  .view-switch button { flex: 1; min-width: 0; min-height: 38px; }
  .workspace { display: flex; flex-direction: column; margin-top: 14px; gap: 13px; }
  .controls-column, .results { width: 100%; }
  .controls-column { display: contents; }
  .controls { width: 100%; order: 0; }
  .results { display: contents; }
  .results > * { width: 100%; }
  .salary-comparison { order: -2; }
  #seguridad-social-empresa { order: -1; }
  .comparison { order: 2; }
  .stand-alone { order: 3; }
  .projection-note { order: 4; margin-top: 0; }
  .projection-note p { max-width: none; }
  .control-body { padding: 16px 18px; }
  .control-title { margin-bottom: 16px; }
  .money-input.large { min-height: 48px; }
  .money-input.large input { font-size: 1.4rem; padding-block: 7px; }
  .range-field { margin-top: 15px; padding-top: 14px; }
  input[type="range"] { margin-top: 3px; }
  .range-field .hint { margin-top: 5px; }
  .reset-button { min-height: 40px; padding-block: 8px; }
  .comparison-body { padding-block: 19px 16px; }
  .data-table { font-size: .78rem; }
  .sources { margin-block: 17px; }
  .source-content, .sources summary { padding-inline: 18px; }
}
@media (max-width: 500px) {
  .view-switch button { padding-inline: 6px; gap: 5px; }
  @supports (grid-template-columns: subgrid) {
    .data-table.cols-4 { display: grid; grid-template-columns: repeat(3, minmax(max-content, 1fr)); }
    .data-table.cols-4 :is(thead,tbody,tr) { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; }
    .cols-4 thead th:first-child { display: none; }
    .cols-4 thead th span { display: inline-block; max-width: 9ch; }
    .cols-4 tbody th { grid-column: 1 / -1; padding-block: 8px 2px; border-bottom: 0; }
    .cols-4 tbody td { padding-block: 2px 8px; }
  }
}
@media (max-width: 370px) {
  .view-switch button { font-size: .85rem; }
  .view-switch .icon { display: none; }
  .wrap { width: calc(100% - 24px); }
  .intro h1 { font-size: 1.76rem; }
  .source-link { font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; }
}
