/* ZZS editorial edition. CGP colours; Arial is the approved substitute. */
:root {
  --blue: #004b88;
  --gold: #bb8a0b;
  --ink: #000;
  --gray: #4d4d4f;
  --line: #d8d9da;
  --pale: #d9deec;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; font-size: 1rem; line-height: 1.65; }
a { color: var(--blue); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 112px, 1280px); margin-inline: auto; }
.masthead { display: flex; justify-content: space-between; align-items: center; gap: 32px; min-height: 192px; border-bottom: 6px solid var(--blue); }
.identity { display: flex; align-items: center; gap: 16px; }
.logo-space { padding: 26px; line-height: 0; background: #fff; }
.logo-space img { display: block; width: 104px; height: auto; }
.identity-text { font-size: 1.05rem; font-weight: 700; line-height: 1.35; letter-spacing: .055em; color: var(--blue); }
.identity-text span { display: block; color: var(--gray); font-size: .875rem; letter-spacing: 0; font-weight: 400; margin-top: 11px; }
nav { display: flex; flex-direction: column; gap: 8px; align-self: stretch; justify-content: center; min-width: 176px; border-left: 1px solid var(--line); padding-left: 27px; }
nav a { font-size: .875rem; text-decoration: none; }
nav a:last-child { font-weight: 700; }
.hero { padding: 20px 0 36px; }
.eyebrow { display: flex; justify-content: space-between; gap: 24px; font-size: .75rem; font-weight: 700; letter-spacing: .11em; color: var(--gray); }
.eyebrow span { font-weight: 400; letter-spacing: 0; white-space: nowrap; }
.chamber-intro { display: grid; grid-template-columns: .9fr 1.15fr 1.15fr; gap: 30px; margin: 35px 0 44px; padding-bottom: 35px; border-bottom: 1px solid var(--line); }
.chamber-intro p { font-size: 1rem; line-height: 1.65; color: var(--gray); margin: 0; }
.chamber-intro p:first-child { color: var(--blue); font-size: 1.125rem; line-height: 1.5; padding-right: 24px; border-right: 1px solid var(--gold); }
.chamber-intro p:first-child strong { font-weight: 400; }
.chamber-intro p:not(:first-child) strong { color: var(--ink); }
.cover-heading { display: grid; grid-template-columns: 1.7fr 1fr; align-items: end; gap: 48px; margin: 0 0 35px; }
h1 { font-size: clamp(3rem, 5.3vw, 4.8rem); font-weight: 700; line-height: 1.03; letter-spacing: -.05em; color: var(--blue); margin: 0; }
h1 span { display: inline-block; font-size: .55em; line-height: 1.17; letter-spacing: -.035em; font-weight: 400; margin-top: 19px; max-width: 650px; }
.lead { font-size: 1.125rem; line-height: 1.65; color: var(--gray); margin: 0; padding: 6px 0 4px 25px; border-left: 4px solid var(--gold); }
.lead strong { color: var(--blue); font-weight: 700; }
.status { padding: 19px 0 0; border-top: 1px solid var(--line); font-size: .875rem; color: var(--gray); }
.status p { margin: 0; }
.status strong { color: var(--ink); }
.status a { margin-left: 4px; }
.status-dot { display: none; }
h2 { font-size: 2rem; line-height: 1.15; letter-spacing: -.035em; margin: 0; }
h3 { font-size: 1.2rem; line-height: 1.35; letter-spacing: -.015em; margin: 0 0 17px; color: var(--blue); }
h4 { font-size: 1rem; line-height: 1.4; margin: 25px 0 12px; }
p { margin-top: 0; }
.section-heading { display: flex; gap: 22px; align-items: baseline; margin-bottom: 23px; }
.section-number { font-size: .875rem; font-weight: 700; color: var(--blue); border-top: 3px solid var(--gold); padding-top: 8px; min-width: 25px; }
.ref { font-size: .75rem; white-space: nowrap; vertical-align: super; text-decoration: none; }
.calculator { background: var(--blue); color: #fff; padding: 36px 40px 30px; margin: 0 0 68px; }
.calculator .section-number { color: #fff; }
.calculator h2 { font-weight: 400; font-size: 2.15rem; }
.calculator-intro { font-size: 1rem; max-width: 920px; line-height: 1.6; margin: 0 0 30px 47px; }
.calculator-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.input-panel { background: #fff; padding: 27px 28px; color: var(--ink); min-width: 0; }
.input-title { display: block; font-size: 1rem; font-weight: 700; color: var(--blue); margin-bottom: 12px; }
.money-input { display: flex; gap: 12px; align-items: center; border-bottom: 3px solid var(--blue); padding: 0 0 7px; }
.money-input input { width: 100%; min-width: 0; border: 0; padding: 0; background: transparent; color: var(--blue); font-weight: 700; font-size: clamp(2rem, 3.5vw, 3.25rem); letter-spacing: -.035em; line-height: 1.25; font-variant-numeric: tabular-nums; }
.money-input:focus-within { border-color: var(--gold); }
.money-input input:focus { outline: none; }
.money-input > span { white-space: nowrap; font-size: .875rem; color: var(--gray); }
.help { margin: 15px 0 21px; font-size: .875rem; line-height: 1.6; color: var(--gray); }
.slider-wrap { margin: 32px 0 0; }
input[type=range] { appearance: none; display: block; width: 100%; height: 5px; margin: 0; cursor: pointer; background: linear-gradient(to right, var(--blue) 0%, var(--blue) var(--fill,50%), var(--line) var(--fill,50%), var(--line) 100%); }
input[type=range]::-webkit-slider-thumb { appearance: none; width: 20px; height: 30px; border: 3px solid #fff; border-radius: 0; background: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
input[type=range]::-moz-range-thumb { width: 14px; height: 24px; border: 3px solid #fff; border-radius: 0; background: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.range-labels { display: flex; justify-content: space-between; gap: 9px; font-size: .75rem; color: var(--gray); margin-top: 17px; }
.presets { display: flex; flex-wrap: wrap; margin-top: 24px; gap: 8px; }
.presets button { background: #fff; color: var(--blue); border: 1px solid var(--line); border-radius: 0; font-size: .875rem; padding: 8px 10px; }
.presets button:hover, .presets button[aria-pressed=true] { color: #fff; background: var(--blue); border-color: var(--blue); }
.threshold { display: flex; justify-content: space-between; gap: 16px; margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--line); }
.threshold span { display: block; font-size: .75rem; color: var(--gray); }
.threshold strong { display: block; font-size: 1.25rem; font-weight: 400; font-variant-numeric: tabular-nums; }
.threshold > div:last-child { text-align: right; }
details > summary { list-style: none; position: relative; padding-right: 38px; }
details > summary::-webkit-details-marker { display: none; }
details > summary::after { content: '+'; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); color: var(--blue); font-size: 1.5rem; font-weight: 400; line-height: 1; }
details[open] > summary::after { content: '−'; }
.allowance-details { margin-top: 22px; border-top: 1px solid var(--line); font-size: .875rem; }
.allowance-details > summary { padding-block: 16px 0; }
.allowance-details > summary::after { top: calc(50% + 8px); }
.detail-content { padding: 19px 0 3px; }
.detail-content p:first-child { margin-top: 0; }
.small-input { display: flex; align-items: center; gap: 12px; border-bottom: 2px solid var(--blue); padding: 8px 0; max-width: 280px; margin-top: 5px; }
.small-input input { font-size: 1.125rem; width: 100%; min-width: 0; border: 0; padding: 0; background: #fff; }
.small-input input:focus { outline: none; }
.small-input:focus-within { border-color: var(--gold); }
.small-input > span { font-size: .875rem; color: var(--gray); white-space: nowrap; }
.results { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 0; min-width: 0; }
.result-card { padding: 0; min-width: 0; }
.monthly { padding: 9px 0 30px; }
.result-label { display: block; font-size: .875rem; font-weight: 400; letter-spacing: .045em; line-height: 1.5; }
.result-number { font-size: clamp(1.8rem, 4.2vw, 3.7rem); font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.2; letter-spacing: -.04em; margin: 15px 0 8px; overflow-wrap: anywhere; }
.result-number span { font-size: .65em; font-weight: 400; }
.result-card p { font-size: .875rem; line-height: 1.6; margin: 0; }
.annual { border-left: 6px solid var(--gold); background: #fff; padding: 24px 27px; color: var(--blue); }
.annual .result-number { font-size: clamp(1.55rem, 3.1vw, 2.8rem); margin-top: 13px; }
.annual p { color: var(--gray); }
.result-note { margin: 18px 0 0; font-size: .875rem; line-height: 1.6; color: #fff; }
.calculation-status { border-top: 1px solid var(--pale); padding: 23px 0 0; margin-top: 28px; font-size: 1rem; font-weight: 700; }
.assumptions { color: #fff; font-size: .875rem; line-height: 1.6; margin: 12px 0 0; max-width: 1080px; }
.assumptions a { color: inherit; }
.is-invalid .result-number { opacity: .6; }
.error { color: var(--ink); background: var(--pale); border-left: 3px solid var(--gold); padding: 12px; font-size: .875rem; }
.explanation, .methodology { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 0 48px; margin-bottom: 52px; }
.explanation > .section-heading, .methodology > .section-heading { grid-column: 1; grid-row: 1 / span 5; flex-direction: column; align-items: flex-start; gap: 24px; padding-top: 2px; }
.explanation > .section-heading h2, .methodology > .section-heading h2 { color: var(--blue); font-size: 1.75rem; font-weight: 400; line-height: 1.2; }
.explanation .section-number, .methodology .section-number { font-size: 2.6rem; letter-spacing: -.05em; font-weight: 400; padding-top: 12px; min-width: 72px; }
.editorial-grid { grid-column: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.editorial-grid p { font-size: 1rem; line-height: 1.75; color: var(--gray); margin-bottom: 16px; }
.editorial-grid p:last-child { margin-bottom: 0; }
.editorial-grid strong { color: var(--ink); }
.experience-context { grid-column: 1 / -1; padding: 27px 0 0; border-top: 1px solid var(--line); }
.experience-context h3 { max-width: 550px; }
.evidence { grid-column: 2; margin-top: 31px; padding: 26px 0 0; border-block: 1px solid var(--line); }
.evidence-heading h3 { font-size: 1rem; margin-bottom: 18px; }
table { width: 100%; border-collapse: collapse; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 12px 12px; border-bottom: 1px solid var(--line); }
.facts th:first-child { padding-left: 0; width: 52%; }
.facts th:last-child, .facts td:last-child { padding-right: 0; }
.facts thead th { font-size: .75rem; font-weight: 400; color: var(--gray); }
.facts tbody th { font-size: .875rem; font-weight: 400; line-height: 1.5; }
.facts tbody th span { display: block; font-size: .75rem; color: var(--gray); margin-top: 5px; }
.facts td { font-size: 1rem; font-weight: 400; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.evidence-details > summary { padding-block: 20px; font-size: .875rem; font-weight: 700; }
.evidence-details .detail-content { padding: 5px 0 24px; }
.tax-facts { margin: 20px 0; }
.law-more { grid-column: 2; display: flex; justify-content: space-between; align-items: center; gap: 26px; padding-top: 24px; }
.law-more strong { font-size: 1rem; color: var(--blue); }
.law-more p { font-size: .875rem; color: var(--gray); margin: 5px 0 0; }
.law-more .button { flex: none; }
.methodology { border-top: 3px solid var(--blue); padding-top: 32px; margin-bottom: 24px; }
.methodology > details { grid-column: 2; border-bottom: 1px solid var(--line); }
.methodology > details > summary { font-size: 1rem; font-weight: 400; color: var(--blue); padding-block: 23px; }
.methodology > details:first-of-type > summary { padding-top: 5px; }
.methodology > details:first-of-type > summary::after { margin-top: -9px; }
.methodology .detail-content { padding: 0 0 25px; }
.prose p { font-size: 1rem; line-height: 1.75; color: var(--gray); margin: 0 0 17px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); }
.equation { border-block: 2px solid var(--blue); padding: 2px 0; margin: 24px 0; }
.equation > div { display: flex; justify-content: space-between; gap: 22px; padding: 13px 0; font-size: .875rem; }
.equation strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.equation-total { border-top: 1px solid var(--line); }
.alternative { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 20px 24px; background: var(--pale); border-left: 4px solid var(--gold); margin: 24px 0; }
.alternative span { display: block; font-size: .875rem; color: var(--gray); }
.alternative strong { font-size: 1.5rem; font-variant-numeric: tabular-nums; color: var(--blue); }
.sources ol { margin: 0; padding-left: 25px; }
.sources li { font-size: .875rem; line-height: 1.75; padding-left: 5px; margin-bottom: 18px; color: var(--gray); overflow-wrap: anywhere; scroll-margin-top: 24px; }
.sources li:target { background: var(--pale); }
.page-actions { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 25px 0 35px; }
.page-actions p { max-width: 330px; font-size: .875rem; color: var(--gray); margin: 0; }
.page-actions > div { display: flex; gap: 10px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 15px; border: 1px solid var(--blue); border-radius: 0; background: var(--blue); color: #fff; font-size: .875rem; line-height: 1.5; padding: 13px 18px; text-decoration: none; font-weight: 700; }
.button:hover { background: var(--ink); border-color: var(--ink); }
.button.secondary { background: #fff; color: var(--blue); }
.button.secondary:hover { background: var(--pale); }
footer { border-top: 6px solid var(--blue); display: flex; justify-content: space-between; gap: 24px; padding: 20px 0 30px; font-size: .75rem; color: var(--gray); }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; top: 12px; left: 12px; background: #fff; z-index: 10; padding: 15px; border: 1px solid var(--blue); }
body.dialog-active { overflow: hidden; }
.law-dialog { width: min(900px, 100vw); max-width: none; height: 100vh; height: 100dvh; max-height: none; padding: 0; margin: 0 0 0 auto; border: 0; border-left: 6px solid var(--gold); border-radius: 0; color: var(--ink); background: #fff; }
.law-dialog[open] { display: grid; grid-template-rows: auto minmax(0,1fr) auto; }
.law-dialog::backdrop { background: rgba(0, 0, 0, .55); }
.law-dialog-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; background: var(--blue); color: #fff; padding: 28px 38px 30px; }
.dialog-eyebrow { display: block; font-size: .75rem; letter-spacing: .08em; margin-bottom: 14px; }
.law-dialog-header h2 { font-size: 1.75rem; font-weight: 400; line-height: 1.2; }
.dialog-close { display: inline-flex; align-items: center; gap: 10px; flex: none; border: 1px solid #fff; border-radius: 0; color: #fff; background: transparent; padding: 12px; font-size: .875rem; line-height: 1; }
.dialog-close span { font-size: 1.5rem; line-height: 14px; }
.dialog-close:hover { color: var(--blue); background: #fff; }
.law-dialog-body { padding: 30px 38px 35px; overflow: auto; overscroll-behavior: contain; min-height: 0; }
.law-dialog-body p { font-size: 1rem; line-height: 1.75; color: var(--gray); margin: 0 0 18px; }
.law-dialog-body strong { color: var(--ink); }
.law-dialog-body .dialog-lead { font-size: 1.125rem; color: var(--blue); }
.law-dialog-body .dialog-status { padding: 20px 0; border-block: 1px solid var(--line); margin: 24px 0; font-size: .875rem; }
.law-dialog-body section + section { padding-top: 27px; margin-top: 27px; border-top: 1px solid var(--line); }
.law-dialog-body h3 { font-size: 1.25rem; }
.law-dialog-body h4 { margin-top: 0; }
.law-quote { padding: 4px 0 4px 24px; border-left: 4px solid var(--gold); margin: 24px 0 15px; }
.law-quote p { font-size: 1.125rem; color: var(--blue); margin-bottom: 0; }
.law-dialog-body .source-note { font-size: .75rem; }
.dialog-example { padding: 22px 25px; margin: 25px 0; background: var(--pale); }
.dialog-example > p { font-size: .875rem; }
.dialog-example dl { margin: 16px 0; }
.dialog-example dl > div { display: flex; justify-content: space-between; gap: 22px; padding: 10px 0; font-size: .875rem; }
.dialog-example dt { color: var(--gray); }
.dialog-example dd { margin: 0; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dialog-example .example-total { border-top: 1px solid var(--gray); }
.dialog-example .example-total dt { color: var(--ink); }
.law-dialog-footer { display: flex; justify-content: flex-end; padding: 18px 38px; border-top: 1px solid var(--line); }
.print-only { display: none; }
.header-navigation { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.header-context { display: flex; align-items: center; gap: 14px; color: var(--blue); font-size: .75rem; font-weight: 700; letter-spacing: .035em; }
.header-context > span { color: var(--gray); font-weight: 400; border-left: 1px solid var(--line); padding-left: 14px; letter-spacing: 0; }
.header-navigation nav { flex-direction: row; gap: 26px; border: 0; border-top: 2px solid var(--blue); padding: 13px 0 0; align-self: auto; min-width: 0; }
.masthead { min-height: 174px; border-bottom-width: 3px; }
.person-scope { font-size: .875rem; line-height: 1.6; margin: -14px 0 28px 47px; max-width: 950px; }
.tax-impact { margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--pale); }
.tax-impact h3 { color: #fff; font-size: 1.4rem; margin-bottom: 16px; }
.tax-impact > p, .tax-assumptions p { font-size: 1rem; line-height: 1.7; margin: 0 0 18px; }
.tax-breakdown { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin: 25px 0; }
.tax-breakdown > div { padding: 17px 18px; border: 1px solid var(--pale); min-width: 0; }
.tax-breakdown dt { font-size: .875rem; line-height: 1.5; }
.tax-breakdown dd { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 700; line-height: 1.3; font-variant-numeric: tabular-nums; letter-spacing: -.02em; margin: 12px 0 0; overflow-wrap: anywhere; }
.tax-breakdown .tax-net { background: #fff; color: var(--blue); border-color: #fff; border-top: 3px solid var(--gold); padding-top: 15px; }
.tax-impact .tax-rate-note { font-size: .875rem; border-left: 3px solid var(--gold); padding-left: 17px; margin-bottom: 25px; }
.tax-assumptions { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.tax-assumptions p { margin-bottom: 0; }
.tax-assumptions a { color: #fff; }
@media (max-width: 1120px) {
  .wrap { width: calc(100% - 64px); }
  .chamber-intro { grid-template-columns: 1fr 1fr; gap: 24px 32px; }
  .chamber-intro p:first-child { grid-column: 1 / -1; border: 0; padding: 0; max-width: 880px; }
  .calculator { padding-inline: 28px; }
  .calculator-grid { gap: 28px; }
  .input-panel { padding: 24px; }
  .explanation, .methodology { grid-template-columns: 180px minmax(0, 1fr); gap: 0 32px; }
  .editorial-grid { grid-template-columns: 1fr; gap: 26px; }
  .editorial-grid > section + section { border-top: 1px solid var(--line); padding-top: 26px; }
  .law-more { align-items: flex-start; flex-direction: column; gap: 18px; }
}
@media (max-width: 850px) {
  .header-context { display: none; }
  .header-navigation nav { flex-direction: column; gap: 8px; padding: 0 0 0 18px; border: 0; border-left: 1px solid var(--line); }
  .tax-breakdown { gap: 12px; }
  .tax-breakdown > div { padding: 15px 12px; }
  .tax-breakdown .tax-net { padding-top: 13px; }
  .masthead { min-height: 168px; }
  nav { min-width: auto; padding-left: 18px; }
  .identity { gap: 4px; }
  .identity-text { font-size: .875rem; }
  .identity-text span { font-size: .75rem; }
  .cover-heading { grid-template-columns: 1fr; gap: 26px; }
  h1 { font-size: clamp(2.75rem, 8vw, 4.8rem); }
  h1 span { max-width: 600px; }
  .lead { max-width: 650px; }
  .calculator-grid { grid-template-columns: 1fr; gap: 28px; }
  .input-panel { padding: 28px; }
  .money-input input { font-size: 3rem; }
  .monthly { padding-top: 0; }
  .result-number { font-size: 3.5rem; }
  .annual .result-number { font-size: 2.8rem; }
  .explanation, .methodology { display: block; }
  .explanation > .section-heading, .methodology > .section-heading { flex-direction: row; align-items: baseline; gap: 22px; margin-bottom: 28px; }
  .explanation .section-number, .methodology .section-number { font-size: 2rem; min-width: 45px; }
  .editorial-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .editorial-grid > section:nth-child(2) { border: 0; padding: 0; }
  .law-more { flex-direction: row; align-items: center; gap: 24px; }
  .methodology > details:first-of-type > summary { padding-top: 23px; }
  .methodology > details:first-of-type > summary::after { margin-top: 0; }
}
@media (max-width: 600px) {
  .header-navigation { display: none; }
  .person-scope { margin: -8px 0 24px; }
  .tax-impact h3 { font-size: 1.25rem; }
  .tax-breakdown { grid-template-columns: 1fr; gap: 0; margin: 20px 0; }
  .tax-breakdown > div { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; border: 0; border-bottom: 1px solid var(--pale); padding: 15px 0; }
  .tax-breakdown dt { max-width: 54%; }
  .tax-breakdown dd { font-size: 1.35rem; margin: 0; flex: none; }
  .tax-breakdown .tax-net { padding: 16px; margin-top: 12px; border-top: 3px solid var(--gold); }
  .tax-assumptions { grid-template-columns: 1fr; gap: 20px; }
  .wrap { width: calc(100% - 40px); }
  .masthead { min-height: 158px; gap: 0; border-bottom-width: 4px; }
  .identity { gap: 0; }
  .logo-space { padding: 20px; }
  .logo-space img { width: 80px; }
  .identity-text { font-size: .8125rem; letter-spacing: .025em; }
  .identity-text span { font-size: .75rem; margin-top: 8px; max-width: 155px; }
  nav { display: none; }
  .hero { padding-top: 16px; padding-bottom: 25px; }
  .eyebrow { display: block; font-size: .75rem; letter-spacing: .05em; }
  .eyebrow span { display: block; margin-top: 4px; }
  .chamber-intro { display: block; margin: 26px 0 29px; padding-bottom: 25px; }
  .chamber-intro p { margin-bottom: 20px; }
  .chamber-intro p:last-child { margin-bottom: 0; }
  .chamber-intro p:first-child { font-size: 1.125rem; }
  .cover-heading { gap: 23px; margin-bottom: 25px; }
  h1 { font-size: clamp(2.4rem, 10.6vw, 3.8rem); }
  h1 span { font-size: .62em; margin-top: 16px; }
  .lead { font-size: 1rem; padding-left: 18px; }
  .status { font-size: .875rem; }
  .calculator { padding: 25px 20px; margin: 0 -20px 40px; }
  .calculator .section-heading { align-items: flex-start; gap: 15px; }
  .calculator h2 { font-size: 1.8rem; line-height: 1.2; }
  .calculator-intro { margin: 0 0 24px; }
  .input-panel { padding: 22px 20px; }
  .money-input input { font-size: clamp(2rem, 9vw, 3rem); }
  .presets { gap: 6px; }
  .presets button { font-size: .875rem; padding: 8px; }
  .threshold { gap: 12px; }
  .threshold strong { font-size: 1.125rem; }
  .results { padding-inline: 4px; }
  .result-label { font-size: .875rem; letter-spacing: .015em; }
  .result-number { font-size: clamp(1.8rem, 7.5vw, 3rem); }
  .annual { padding: 22px 18px; }
  .annual .result-number { font-size: clamp(1.55rem, 6.4vw, 2.65rem); }
  .explanation, .methodology { margin-bottom: 35px; }
  .explanation > .section-heading, .methodology > .section-heading { gap: 18px; }
  .explanation > .section-heading h2, .methodology > .section-heading h2 { font-size: 1.6rem; }
  .explanation .section-number, .methodology .section-number { font-size: 1.7rem; min-width: 38px; }
  .editorial-grid { display: block; }
  .editorial-grid > section + section { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 24px; }
  .facts th, .facts td { padding: 10px 6px; }
  .facts th:first-child { width: 42%; }
  .facts tbody th { font-size: .875rem; }
  .facts td { font-size: .875rem; }
  .law-more { flex-direction: column; align-items: flex-start; gap: 17px; }
  .alternative { grid-template-columns: 1fr; gap: 18px; padding: 18px; }
  .page-actions { display: block; padding-top: 0; }
  .page-actions p { margin-bottom: 20px; max-width: none; }
  .page-actions > div { align-items: flex-start; flex-direction: column; }
  footer { display: block; border-top-width: 4px; }
  footer span { display: block; margin-bottom: 6px; }
  .law-dialog { border-left-width: 3px; }
  .law-dialog-header { gap: 16px; padding: 22px 20px; }
  .law-dialog-header h2 { font-size: 1.4rem; }
  .dialog-eyebrow { font-size: .75rem; letter-spacing: .025em; }
  .dialog-close { padding: 10px; gap: 7px; }
  .law-dialog-body { padding: 24px 20px; }
  .law-dialog-body h3 { font-size: 1.125rem; }
  .law-quote { padding-left: 18px; }
  .dialog-example { padding: 19px 15px; }
  .dialog-example dl > div { gap: 12px; }
  .law-dialog-footer { padding: 16px 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@page { size: A4; margin: 13mm; }
@media print {
  .header-navigation { display: none; }
  .person-scope { font-size: 7pt; line-height: 1.4; margin: 1mm 0 3mm; }
  .calculator { break-inside: auto !important; }
  .calculator-grid { break-inside: avoid; }
  .tax-impact { margin-top: 4mm; padding-top: 3mm; break-inside: avoid; }
  .tax-impact h3 { font-size: 10pt; margin-bottom: 2mm; }
  .tax-impact > p, .tax-assumptions p { font-size: 8pt; line-height: 1.4; margin-bottom: 2mm; }
  .tax-breakdown { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 3mm; margin: 3mm 0; }
  .tax-breakdown > div { display: block; padding: 2mm; border: 1px solid var(--pale); }
  .tax-breakdown dt { font-size: 7pt; max-width: none; }
  .tax-breakdown dd { font-size: 12pt; margin-top: 1mm; }
  .tax-breakdown .tax-net { padding: 2mm; margin: 0; border-top: 2px solid var(--gold); }
  .tax-impact .tax-rate-note { font-size: 7pt; line-height: 1.4; padding-left: 2mm; margin-bottom: 3mm; }
  .tax-assumptions { grid-template-columns: 1fr 1fr; gap: 4mm; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  html { scroll-behavior: auto; }
  body { font-size: 9pt; line-height: 1.45; }
  .wrap { width: 100%; max-width: none; }
  .masthead { min-height: 35mm; border-bottom-width: 3pt; }
  .identity { gap: 2mm; }
  .logo-space { padding: 6.25mm; }
  .logo-space img { width: 25mm; }
  .identity-text { font-size: 10pt; }
  .identity-text span { font-size: 8pt; margin-top: 2mm; }
  nav, .skip-link, .page-actions, .methodology, .presets, .allowance-details, .slider-wrap, noscript, .law-more, .law-dialog, .evidence-details { display: none !important; }
  .hero { padding: 4mm 0 5mm; }
  .eyebrow { font-size: 7pt; display: flex; }
  .chamber-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 3mm 6mm; margin: 4mm 0 5mm; padding-bottom: 4mm; }
  .chamber-intro p, .chamber-intro p:first-child { font-size: 8.5pt; line-height: 1.45; margin: 0; padding: 0; border: 0; }
  .chamber-intro p:first-child { grid-column: 1 / -1; font-size: 10pt; }
  .cover-heading { grid-template-columns: 1.5fr 1fr; gap: 7mm; margin-bottom: 4mm; }
  h1 { font-size: 29pt; }
  h1 span { font-size: 16pt; margin-top: 3mm; }
  .lead { font-size: 9pt; line-height: 1.5; padding-left: 4mm; border-left-width: 2pt; }
  .status { font-size: 7.5pt; padding-top: 3mm; }
  .status a { display: none; }
  .calculator { padding: 5mm; margin: 0 0 7mm; break-inside: avoid; }
  .calculator .section-heading { gap: 3mm; margin-bottom: 3mm; }
  .section-number { font-size: 8pt; padding-top: 1.5mm; min-width: 6mm; border-top-width: 2pt; }
  .calculator h2 { font-size: 16pt; }
  .calculator-intro { font-size: 8pt; line-height: 1.4; margin: 0 0 4mm; }
  .calculator-grid { grid-template-columns: 1fr 1fr; gap: 5mm; }
  .input-panel { padding: 4mm; }
  .input-title { font-size: 9pt; margin-bottom: 2mm; }
  .money-input { padding-bottom: 1mm; border-bottom-width: 1.5pt; }
  .money-input input { font-size: 23pt; }
  .money-input > span { font-size: 8pt; }
  .help { font-size: 7pt; line-height: 1.4; margin: 2mm 0; }
  .threshold { margin-top: 3mm; padding-top: 3mm; }
  .threshold span { font-size: 6.5pt; }
  .threshold strong { font-size: 11pt; }
  .results { padding: 0; }
  .monthly { padding: 1mm 0 4mm; }
  .result-label { font-size: 6.5pt; line-height: 1.4; }
  .result-number { font-size: 25pt; margin: 2mm 0 1mm; }
  .annual { padding: 3mm; border-left-width: 3pt; }
  .annual .result-number { font-size: 21pt; margin-top: 2mm; }
  .result-card p, .result-note { font-size: 7pt; line-height: 1.4; }
  .result-note { margin-top: 2mm; }
  .calculation-status { font-size: 8pt; padding-top: 3mm; margin-top: 4mm; }
  .assumptions { font-size: 7pt; line-height: 1.4; margin-top: 2mm; }
  .print-only { display: block; font-size: 7pt; line-height: 1.4; margin: 2mm 0 0; }
  .explanation { display: grid; grid-template-columns: 33mm minmax(0,1fr); gap: 0 7mm; margin-bottom: 5mm; }
  .explanation > .section-heading { grid-row: 1 / span 5; flex-direction: column; gap: 3mm; align-items: flex-start; }
  .explanation .section-number { font-size: 21pt; min-width: 13mm; padding-top: 2mm; }
  .explanation > .section-heading h2 { font-size: 13pt; }
  .editorial-grid { display: block; }
  .editorial-grid h3 { font-size: 10pt; margin-bottom: 2mm; }
  .editorial-grid p { font-size: 8.5pt; line-height: 1.45; margin-bottom: 2mm; }
  .editorial-grid > section + section { padding-top: 3mm; margin-top: 3mm; border-top: 1px solid var(--line); }
  .editorial-grid section { break-inside: avoid; }
  .ref { font-size: 6pt; }
  .evidence { padding-top: 3mm; margin-top: 4mm; break-inside: avoid; }
  .evidence-heading h3 { font-size: 9pt; margin-bottom: 2mm; }
  .facts th, .facts td { padding: 2mm; }
  .facts th:first-child { width: 50%; }
  .facts thead th, .facts tbody th span { font-size: 6.5pt; }
  .facts tbody th { font-size: 7.5pt; }
  .facts td { font-size: 8pt; }
  .print-sources { margin: 3mm 0; }
  footer { display: flex; font-size: 6.5pt; padding: 3mm 0; border-top-width: 2pt; }
  a { color: inherit; text-decoration: none; }
  body.dialog-active { overflow: visible; }
}

/* Leave a readable fallback if scripts do not execute in an attachment viewer. */
.calculator-unavailable { margin: 0 0 24px; padding: 20px 22px; background: #fff; color: #004b88; border: 1px solid #bb8a0b; border-left-width: 5px; font-size: 1rem; line-height: 1.6; }
.calculator-unavailable > strong { display: block; font-size: 1.125rem; color: #004b88; }
.calculator-unavailable p { margin: 9px 0 0; color: #4d4d4f; }
html[data-calculator-state="unavailable"] .calculator-grid,
html[data-calculator-state="unavailable"] .tax-impact,
html[data-calculator-state="unavailable"] .calculation-status,
html[data-calculator-state="unavailable"] .equation,
html[data-calculator-state="unavailable"] .alternative { display: none; }

/* Optional 50% explanation stays within the additional-tax card. */
.tax-breakdown { align-items: start; }
.tax-breakdown > .tax-cost { display: grid; grid-template-columns: minmax(0, 1fr); }
.tax-breakdown .tax-equality-help { grid-column: 1 / -1; margin: 15px 0 0; padding-top: 12px; border-top: 1px solid currentColor; min-width: 0; font-size: .875rem; font-weight: 400; line-height: 1.55; letter-spacing: normal; }
.tax-equality-note > summary { font-size: .875rem; font-weight: 700; line-height: 1.5; color: inherit; padding-right: 24px; white-space: normal; }
.tax-equality-note > summary::after { color: inherit; }
.tax-equality-body { padding-top: 10px; color: #4d4d4f; }
.tax-equality-body p { font-size: .875rem; line-height: 1.6; margin: 0 0 12px; }
.tax-equality-body p:last-child { margin-bottom: 0; }
.tax-equality-body strong { color: inherit; }
.threshold-context { grid-column: 1 / -1; }
@media (max-width: 760px) {
  .tax-breakdown > .tax-cost { grid-template-columns: minmax(0, 1fr) auto; gap: 0 16px; }
  .tax-breakdown > .tax-cost > dt { max-width: none; }
  .tax-breakdown > .tax-cost > dd:not(.tax-equality-help) { margin: 0; }
  .tax-breakdown .tax-equality-help { margin-top: 14px; }
}

.editorial-edition .tax-breakdown > .tax-cost { background: #fff; color: var(--blue); border-color: #fff; }

/* Allowance explanation, individual contacts and report actions. */
.contact-strip{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid #d8d9da;padding:16px 0;margin-top:20px}
.contact-strip p{font-size:.9375rem;line-height:1.55;margin:0;max-width:740px;color:#4d4d4f}
.contact-strip a{font-size:.875rem;font-weight:700;flex-shrink:0}
.allowance-summary{margin-top:20px;padding-top:18px;border-top:1px solid #d8d9da;font-size:.875rem;color:#4d4d4f}
.allowance-summary p{font-size:.875rem;line-height:1.6;margin:0 0 12px}
.allowance-summary summary{font-size:.875rem;font-weight:700;line-height:1.5;color:#004b88;padding:8px 28px 8px 0}
.allowance-summary .detail-content ul{padding-left:19px;margin:0 0 12px}
.allowance-summary .detail-content li{margin-bottom:12px;line-height:1.6}
.calculator-actions,.individual-contact{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:22px 24px;margin-top:24px;background:#fff;color:#004b88;border:1px solid #d8d9da}
.calculator-actions p,.individual-contact p{font-size:.875rem;line-height:1.6;color:#4d4d4f;margin:5px 0 0;max-width:650px}
.calculator-actions .button,.individual-contact a{flex-shrink:0;font-size:.875rem;font-weight:700}
.individual-contact{border:0;border-left:4px solid #bb8a0b;margin-top:16px}
.calculator-actions button:disabled{opacity:.55;cursor:not-allowed}
html[data-calculator-state="unavailable"] .calculator-actions{display:none}
.report-dialog{width:min(920px,calc(100vw - 32px))}
.report-dialog .law-dialog-body{background:#edf1f4}
.report-instructions{color:#4d4d4f;font-size:.875rem;line-height:1.6}
.report-dialog .report-toolbar{display:flex;gap:12px;justify-content:flex-end;flex-wrap:wrap}
#print-report{display:none}
@media(max-width:760px){.contact-strip,.calculator-actions,.individual-contact{align-items:flex-start;flex-direction:column;gap:12px}.calculator-actions,.individual-contact{padding:20px}.calculator-actions .button{width:100%}.report-dialog .law-dialog-body{padding:16px}.report-dialog .report-toolbar{justify-content:stretch}.report-toolbar>*{flex:1 1 220px}}
@media print{.contact-strip,.calculator-actions,.individual-contact,.report-dialog{display:none!important}body.report-print{margin:0!important;padding:0!important;background:#fff!important;overflow:visible!important}body.report-print>:not(#print-report){display:none!important}body.report-print #print-report{display:block!important}body.report-print #print-report:empty{display:none!important}}

/* Standalone report styles, kept identical to REPORT_STYLES in app.mjs. */
.report-page{font:15px/1.5 Arial,Helvetica,sans-serif;color:#202c37;background:#fff;max-width:780px;margin:0 auto;padding:30px;overflow-wrap:anywhere}
.report-page *{box-sizing:border-box}
.report-page .report-kicker{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:#536371;margin:0 0 6px}
.report-page h1{font:700 30px/1.12 Arial,Helvetica,sans-serif;letter-spacing:-.02em;color:#004b88;margin:0 0 8px}
.report-page h1:before{display:none}
.report-page .report-law-name{font-size:15px;line-height:1.4;margin:0 0 14px;color:#202c37}
.report-page h2{font-size:17px;line-height:1.3;color:#004b88;margin:22px 0 9px}
.report-page p{font-size:14px;line-height:1.5;margin:0 0 10px;color:#202c37}
.report-page .report-gross{padding:13px 0;border-top:2px solid #004b88;border-bottom:1px solid #bfc8d0;display:flex;justify-content:space-between;gap:18px;align-items:center;margin:18px 0}
.report-page .report-gross strong{font-size:24px;line-height:1.2;font-variant-numeric:tabular-nums;white-space:nowrap;color:#004b88}
.report-page .report-results{width:100%;border-collapse:collapse;margin:0 0 18px;font-size:14px;table-layout:fixed}
.report-page .report-results th,.report-page .report-results td{padding:9px 0;border-bottom:1px solid #d8dfe4;vertical-align:top}
.report-page .report-results th{text-align:left;width:68%;font-weight:400;padding-right:14px}
.report-page .report-results td{text-align:right;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.report-page .report-results .report-tax{color:#a62c38}
.report-page .report-results .report-gain{color:#246547;font-size:17px}
.report-page .report-results .report-gain th{font-weight:700}
.report-page .report-status{padding:10px 13px;background:#f2f5f7;border-left:3px solid #7c8f9e;font-size:13px;line-height:1.45}
.report-page .report-sources{font-size:12px;line-height:1.5;margin:0;padding-left:18px}
.report-page .report-sources li{padding:0 0 4px}
.report-page a{color:#004b88;text-decoration:underline;text-underline-offset:2px}
.report-page .report-footnote{font-size:11px;line-height:1.45;color:#536371;border-top:1px solid #bfc8d0;margin-top:16px;padding-top:10px}
@media(max-width:520px){.report-page{padding:16px}.report-page h1{font-size:25px}.report-page .report-gross{align-items:start;flex-direction:column;gap:6px}.report-page .report-results th{width:62%}.report-page .report-results .report-gain{font-size:15px}}
@media print{@page{size:A4;margin:13mm}.report-page{max-width:none;margin:0;padding:0;font-size:10pt;line-height:1.4}.report-page h1{font-size:23pt}.report-page h2{font-size:11pt;margin:4mm 0 2mm;break-after:avoid}.report-page p,.report-page .report-law-name{font-size:9pt;line-height:1.4;margin-bottom:2mm}.report-page .report-kicker{font-size:7pt}.report-page .report-gross{margin:3mm 0;padding:3mm 0;flex-direction:row}.report-page .report-gross strong{font-size:18pt}.report-page .report-results{font-size:9pt;margin-bottom:3mm}.report-page .report-results th,.report-page .report-results td{padding:2mm 0}.report-page .report-results .report-gain{font-size:11pt}.report-page .report-status,.report-page .report-sources{font-size:8pt}.report-page .report-footnote{font-size:7pt;margin-top:3mm;padding-top:2mm}.report-page table,.report-page tr,.report-page .report-gross,.report-page .report-status{break-inside:avoid}.report-page a{color:inherit}.report-screen-only{display:none!important}}

.legal-edition-footer > div { max-width: 76ch; }
.legal-edition-footer .publication-credit { margin: 0 0 8px; }
.legal-edition-footer .ai-assistance-note { margin: 0; color: var(--gray); font-size: .8125rem; line-height: 1.6; }
.legal-edition-footer > span { max-width: 28ch; }
@media (max-width: 700px) {
  .legal-edition-footer > span { display: block; max-width: none; margin-top: 14px; }
}
@media print {
  .legal-edition-footer .ai-assistance-note { font-size: 8pt; line-height: 1.4; }
}

/* Title-led edition, using the existing ZZS colour and type system. */
.headline-edition .masthead { min-height: 128px; border-bottom-width: 2px; }
.headline-edition .logo-space { padding: 19px; }
.headline-edition .logo-space img { width: 74px; }
.headline-edition .identity-text { font-size: .95rem; }
.headline-edition .identity-text span { margin-top: 6px; }
.headline-edition .hero { padding: 32px 0 28px; }
.headline-edition .cover-heading { display: block; margin: 0 0 25px; }
.headline-edition #page-title { font-size: clamp(3.25rem, 7.2vw, 6.4rem); line-height: 1.04; letter-spacing: -.05em; }
.headline-edition #page-title span { display: block; max-width: none; margin-top: 9px; font-size: clamp(1.75rem, 3.45vw, 3.05rem); line-height: 1.16; letter-spacing: -.025em; font-weight: 400; text-wrap: balance; }
.headline-edition .author-credit { margin: 0 0 17px; padding: 0 0 0 17px; border-left: 4px solid var(--gold); color: var(--gray); font-size: 1rem; line-height: 1.55; }
.headline-edition .author-credit strong { color: var(--blue); }
.headline-edition .opening-copy { max-width: 1060px; }
.headline-edition .opening-copy p { margin: 0 0 11px; font-size: 1rem; line-height: 1.6; color: var(--gray); }
.headline-edition .opening-copy strong { color: var(--ink); }
.headline-edition .opening-copy .reading-guide { margin-bottom: 0; font-size: .9375rem; }
.headline-edition .status { margin-top: 19px; padding-top: 13px; font-size: .875rem; }
.headline-edition .privacy-notice { margin: 0 0 25px; padding: 17px 21px; border-left: 5px solid var(--gold); background: #fff; color: var(--blue); }
.headline-edition .privacy-notice .privacy-title { margin: 0 0 5px; color: var(--blue); font-size: 1.0625rem; font-weight: 700; line-height: 1.4; }
.headline-edition .privacy-notice p:last-child { margin: 0; color: var(--gray); font-size: .9375rem; line-height: 1.55; }
.headline-edition .institutional-context { grid-column: 2; margin-top: 28px; border-block: 1px solid var(--line); }
.headline-edition .institutional-context > summary { padding-block: 19px; font-size: 1rem; color: var(--blue); }
.headline-edition .institutional-context .detail-content { padding: 0 0 22px; }
/* Semantic colours distinguish the added tax from the net benefit. */
.headline-edition { --tax-cost: #ab2735; --net-benefit: #17643b; --net-on-blue: #abefc5; }
.headline-edition .monthly .result-label,
.headline-edition .monthly .result-number { color: var(--net-on-blue); }
.headline-edition .annual .result-label,
.headline-edition .annual .result-number { color: var(--net-benefit); }
.headline-edition .tax-breakdown > div:nth-child(2) { background: #fff; color: var(--tax-cost); border: 1px solid #fff; border-top: 3px solid var(--tax-cost); padding: 15px 18px 17px; }
.headline-edition .tax-breakdown > .tax-net { background: #fff; color: var(--net-benefit); border-top-color: var(--net-benefit); }
.headline-edition .tax-breakdown > div:nth-child(2) dt,
.headline-edition .tax-breakdown > div:nth-child(2) dd,
.headline-edition .tax-breakdown > .tax-net dt,
.headline-edition .tax-breakdown > .tax-net dd { color: inherit; }
.headline-edition .equation > div:nth-child(2),
.headline-edition .dialog-example dl > div:nth-child(2) dt,
.headline-edition .dialog-example dl > div:nth-child(2) dd { color: var(--tax-cost); }
.headline-edition .equation-total,
.headline-edition .alternative strong,
.headline-edition .dialog-example dl > div:nth-child(n+3) dt,
.headline-edition .dialog-example dl > div:nth-child(n+3) dd { color: var(--net-benefit); }
@media (max-width: 850px) {
  .headline-edition .masthead { min-height: 118px; }
  .headline-edition #page-title { font-size: clamp(3rem, 8.8vw, 5rem); }
  .headline-edition #page-title span { font-size: clamp(1.7rem, 4.4vw, 2.6rem); max-width: 680px; }
}
@media (max-width: 600px) {
  .headline-edition .masthead { min-height: 106px; }
  .headline-edition .logo-space { padding: 14px; }
  .headline-edition .logo-space img { width: 62px; }
  .headline-edition .identity-text { font-size: .875rem; }
  .headline-edition .hero { padding: 24px 0; }
  .headline-edition #page-title { font-size: clamp(2.55rem, 10.1vw, 3.75rem); letter-spacing: -.045em; }
  .headline-edition #page-title span { font-size: clamp(1.625rem, 6.1vw, 2.25rem); margin-top: 12px; }
  .headline-edition .cover-heading { margin-bottom: 22px; }
  .headline-edition .author-credit { padding-left: 13px; }
  .headline-edition .status { font-size: .875rem; }
  .headline-edition .privacy-notice { padding: 15px 16px; }
  .headline-edition .tax-breakdown > div:nth-child(2) { padding: 15px 16px; margin-top: 12px; }
}
@media print {
  .headline-edition .masthead { min-height: 25mm; }
  .headline-edition .hero { padding: 7mm 0; }
  .headline-edition #page-title { font-size: 38pt; }
  .headline-edition #page-title span { font-size: 22pt; }
}

/* Server edition: touch targets and narrow-screen flow. */
#izracun { scroll-margin-top: 16px; }
.presets button, .dialog-close, .button { min-height: 44px; }
.contact-strip a, .individual-contact a { overflow-wrap: anywhere; }
.law-dialog { padding-bottom: env(safe-area-inset-bottom, 0px); }
.law-dialog-header { flex-wrap: wrap; }
.law-dialog-header h2 { overflow-wrap: anywhere; }
.law-dialog-header > div { flex: 1 1 190px; min-width: 0; }
.law-dialog-body { -webkit-overflow-scrolling: touch; }
.slider-wrap { padding-block: 10px; }
input[type=range] { height: 44px; background-size: 100% 5px; background-repeat: no-repeat; background-position: center; }
input[type=range]::-webkit-slider-thumb { width: 28px; height: 36px; }
input[type=range]::-moz-range-thumb { width: 22px; height: 30px; }
@media (max-width: 600px) {
  .headline-edition .logo-space { padding-left: 0; }
  .headline-edition .identity-text { overflow-wrap: anywhere; }
  .presets { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .presets button { width: 100%; font-size: 1rem; }
  .threshold { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .threshold > div { min-width: 0; }
  .threshold span { font-size: .875rem; }
  .threshold strong { overflow-wrap: anywhere; }
  .tax-breakdown > div, .tax-breakdown > .tax-cost { display: grid; grid-template-columns: minmax(0,1fr); gap: 8px; }
  .tax-breakdown dt { max-width: none; }
  .tax-breakdown dd { min-width: 0; overflow-wrap: anywhere; }
  .tax-breakdown .tax-equality-help { grid-column: 1; }
  .report-dialog { width: 100vw; }
  .report-dialog .law-dialog-body { padding: 8px; }
}
@media (max-width: 380px) {
  .input-panel { padding: 18px 14px; }
  .report-page .report-results th { width: 57%; }
  .report-page .report-results td { white-space: normal; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
