/* Dedicated tax page: clear hierarchy, real examples, and explicit service status. */
.tax-page { color: var(--navy); }
.tax-hero { padding: clamp(2.4rem, 5vw, 4.5rem) 0 2.5rem; background: var(--ivory); }
.tax-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(2rem, 4vw, 4.4rem); }
.tax-hero h1 { max-width: 15ch; margin: 0 0 1.5rem; font-size: clamp(2.35rem, 4.2vw, 3.6rem); line-height: 1.12; letter-spacing: -.045em; }
.tax-hero .lead { max-width: 48ch; color: #354552; font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.tax-service-status { margin-top: 1.3rem; padding: 1.1rem 1.25rem; border: 1px solid #b5c6d2; border-left: 4px solid var(--copper-action); border-radius: 14px; color: #203d55; background: #eaf0f4; }
.tax-service-status h2 { margin: 0 0 .55rem; color: var(--navy); font-size: 1.05rem; line-height: 1.5; letter-spacing: 0; }
.tax-service-status p { margin: 0; font-size: .96rem; line-height: 1.65; }
.tax-result .tax-result-availability { padding: 1rem; border: 1px solid #d0b59e; border-radius: 12px; color: #203d55; background: #fbf1e7; font-size: .95rem; line-height: 1.65; }
.tax-service-summary { max-width: 49ch; margin: 1.3rem 0 0; padding-left: 1rem; border-left: 3px solid var(--copper-action); color: #405464; font-size: .96rem; line-height: 1.65; }
.tax-service-summary strong { display: block; margin-bottom: .2rem; color: var(--navy); }
.tax-registration { display: flex; align-items: center; gap: 1rem; margin-top: 1.7rem; }
.tax-registration img { width: 88px; height: auto; flex: 0 0 auto; }
.tax-registration p { margin: 0; color: #405464; font-size: .9rem; line-height: 1.6; }
.tax-registration strong { color: var(--navy); }
.tax-enrolment { padding-top: 3rem; }
.tax-payment-breakdown { margin: 1.4rem 0; }
.tax-advance-status .tax-kicker { color: #526171; font-size: .72rem; line-height: 1.5; }
.tax-payment-breakdown > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid #ced8df; }
.tax-payment-breakdown dt { color: #203d55; font-size: 1rem; line-height: 1.5; }
.tax-payment-breakdown dd { margin: 0; color: var(--navy); font-family: "Montserrat", sans-serif; font-size: 1.35rem; font-weight: 700; white-space: nowrap; }
.tax-payment-breakdown > div:last-child { padding: 1rem; border: 0; border-radius: 12px; background: var(--mist); }
.tax-payment-breakdown > div:last-child dt { color: var(--navy); font-weight: 700; }
.tax-payment-breakdown > div:last-child dd { color: var(--copper-action); font-size: 1.65rem; }
.tax-declaration-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(2rem, 5vw, 5rem); }
.tax-declaration-grid > div > p { color: #203d55; }
.tax-declaration-grid > div > p:first-child { margin-top: 0; }
.tax-annual-example { padding: clamp(1.4rem, 3vw, 2rem); border: 1px solid #b8c8d3; border-top: 4px solid var(--copper); border-radius: 22px; color: #203d55; background: var(--white); }
.tax-annual-example h3 { margin: .6rem 0 1rem; color: var(--navy); font-size: 1.3rem; line-height: 1.4; }
.tax-annual-example p:last-child { margin-bottom: 0; }
.tax-small-note { color: #405464; font-size: .88rem; line-height: 1.6; }
@media (max-width: 950px) { .tax-declaration-grid { grid-template-columns: 1fr; gap: 1.5rem; } }
@media (max-width: 640px) {
  .tax-payment-breakdown dt { font-size: .95rem; }
  .tax-payment-breakdown > div:last-child { padding: .8rem; gap: .6rem; }
}
.tax-example { padding: clamp(1.25rem, 2.5vw, 2rem); border: 1px solid #c9d3da; border-top: 4px solid var(--copper); border-radius: 24px; background: var(--white); box-shadow: 0 14px 40px rgba(13, 44, 73, .07); }
.tax-kicker { margin: 0 0 .55rem; color: #526171; font-family: "Montserrat", sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .075em; line-height: 1.5; text-transform: uppercase; }
.tax-example h2 { margin: 0 0 1.3rem; font-size: 1.35rem; line-height: 1.35; letter-spacing: -.02em; }
.tax-example table { width: 100%; margin: 0; border-collapse: collapse; table-layout: fixed; font-size: 1rem; }
.tax-example caption.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.tax-example th, .tax-example td { padding: .95rem .35rem; border-bottom: 1px solid #ced8df; text-align: left; vertical-align: middle; }
.tax-example th:first-child { width: 41%; padding-left: 0; }
.tax-example th:last-child, .tax-example td:last-child { text-align: right; padding-right: 0; }
.tax-example thead th { color: #405464; font-size: .8rem; font-weight: 600; }
.tax-example tbody th { font-size: .95rem; font-weight: 600; }
.tax-example tbody strong { color: var(--copper-action); font-size: 1.7rem; white-space: nowrap; }
.tax-example-note { margin: 1rem 0; color: #405464; font-size: .86rem; line-height: 1.6; }
.tax-payment-note { margin: 0; padding: .95rem 1rem; border-radius: 12px; color: #203d55; background: var(--mist); font-size: .91rem; line-height: 1.6; }
.tax-payment-note strong { display: block; margin-bottom: .3rem; color: var(--navy); }
.tax-jump-nav { display: flex; flex-wrap: wrap; gap: .65rem; padding-top: .5rem; padding-bottom: 1rem; }
.tax-jump-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .65rem 1rem; border: 1px solid #a5b6c3; border-radius: 99px; color: var(--navy); background: var(--white); font-size: .93rem; font-weight: 700; line-height: 1.35; text-decoration: none; }
.tax-jump-nav a:hover { color: var(--white); background: var(--navy); border-color: var(--navy); }
.tax-jump-nav a:focus-visible { outline: 3px solid #a9542e; outline-offset: 3px; }
.tax-page section[id] { scroll-margin-top: 120px; }
.tax-page .section-heading { max-width: 850px; }
.tax-page .section-heading h2 { max-width: 23ch; }
.tax-overview { padding-top: 2.5rem; padding-bottom: 3rem; }
.tax-overview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem; }
.tax-overview-panel { min-width: 0; padding: clamp(1.3rem, 3vw, 2rem); border: 1px solid #acbecb; border-radius: 20px; background: #fff; }
.tax-overview-panel h3 { margin: 0; color: var(--navy); font-size: 1.25rem; line-height: 1.45; }
.tax-overview-panel > p { margin: 0; color: #405464; line-height: 1.65; }
.tax-overview-panel .tax-check-list { margin-bottom: 1rem; }
.tax-access-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem; margin-top: 1.3rem; }
.tax-access-note { min-width: 0; padding: 1.3rem 1.5rem; border: 1px solid #b5c6d2; border-radius: 16px; color: #203d55; background: #eaf0f4; font-size: .96rem; line-height: 1.7; }
.tax-access-note h3 { margin: 0 0 .7rem; color: var(--navy); font-size: 1.05rem; line-height: 1.5; }
.tax-access-note p { margin: 0; }
.tax-access-note p + p { margin-top: .8rem; }
.tax-choice { display: flex; align-items: center; gap: 2rem; justify-content: space-between; margin-top: 1.3rem; padding: clamp(1.3rem, 3vw, 2rem); border: 1px solid #d0b59e; border-radius: 20px; background: #fbf1e7; }
.tax-choice h3 { margin: 0 0 .65rem; color: var(--navy); font-size: 1.25rem; }
.tax-choice p { margin: 0; max-width: 72ch; color: #203d55; line-height: 1.7; }
.tax-choice .btn { flex: 0 0 auto; max-width: 100%; }
.tax-payment-journey { display: grid; gap: 1.2rem; padding: 0; margin: 1.5rem 0 0; list-style: none; }
.tax-payment-journey li { padding-left: 1.1rem; border-left: 2px solid #bf8256; }
.tax-payment-journey h3 { margin: 0 0 .4rem; color: #f1c29e; font-size: 1.05rem; line-height: 1.5; }
.tax-payment-journey p { margin: 0; color: #e3eaf0; font-size: 1rem; line-height: 1.7; }
.tax-payment-journey strong { color: #fff; }
.tax-payment-question { padding-top: 1.1rem; border-top: 1px solid #cad5dd; }
.tax-payment-question strong { display: block; margin-bottom: .35rem; }
.tax-fiscal-cta { width: 100%; margin-top: .25rem; }
.tax-sources .tax-source-link { display: inline-flex; align-items: center; min-height: 48px; padding: .7rem 1rem; border: 1px solid #8fa5b5; border-radius: 12px; color: var(--navy); background: #fff; font-weight: 700; line-height: 1.5; text-decoration: none; }
.tax-sources .tax-source-link:hover { border-color: var(--navy); color: #fff; background: var(--navy); }
.tax-sources .tax-source-link:focus-visible { outline: 3px solid var(--copper-action); outline-offset: 3px; }
.tax-support-contacts { display: flex; flex-wrap: wrap; gap: .6rem 1.3rem; }
.tax-support-contacts a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; font-size: .95rem; font-weight: 700; text-underline-offset: .2em; overflow-wrap: anywhere; }
.tax-conditions-section { padding-top: 3rem; }
.tax-conditions-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.tax-eligibility h3 { margin-top: 0; font-size: 1.25rem; }
.tax-check-list { display: grid; gap: .85rem; padding: 0; margin: 1.2rem 0 1.6rem; list-style: none; }
.tax-check-list li { position: relative; padding-left: 1.65rem; color: #203d55; line-height: 1.65; }
.tax-check-list li::before { position: absolute; left: 0; top: .2rem; width: 1.1rem; height: 1.1rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%23984923' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.2' d='m3.5 10 4 4 9-9'/%3E%3C/svg%3E") center / contain no-repeat; content: ""; }
.tax-eligibility p { color: #405464; }
.tax-eligibility .btn { margin-top: .5rem; }
.tax-ceilings { display: grid; gap: 1rem; }
.tax-ceilings article { padding: 1.5rem 1.75rem; border: 1px solid #b8c8d3; border-radius: 18px; background: var(--mist); }
.tax-ceilings h3 { margin: .3rem 0 .8rem; font-size: 2rem; line-height: 1.2; }
.tax-ceilings h3 span { display: block; margin-top: .4rem; font-size: .95rem; font-weight: 600; line-height: 1.5; }
.tax-ceilings p:last-child { margin-bottom: 0; color: #203d55; font-size: .95rem; }
.tax-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin: 0; }
.tax-steps > div { padding-top: 1.2rem; border-top: 3px solid var(--copper); }
.tax-steps dt, .tax-advance-process dt { font-family: "Montserrat", sans-serif; font-size: 1.05rem; font-weight: 700; line-height: 1.45; }
.tax-steps dd { margin: .7rem 0 0; color: #203d55; line-height: 1.7; }
.tax-year-example { margin: 2rem 0 0; padding: 1.1rem 1.4rem; border: 1px solid #b8c8d3; border-radius: 14px; color: #203d55; background: var(--white); }
.tax-advance { color: #fff; background: var(--navy-deep); }
.tax-advance-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.tax-advance .eyebrow { color: #f1c29e; }
.tax-advance .eyebrow::before { background: #f1c29e; }
.tax-advance h2 { margin: 0 0 1.5rem; color: #fff; max-width: 20ch; }
.tax-advance h2 span { color: #f1c29e; }
.tax-advance .lead, .tax-advance-grid > div > p:not(.eyebrow) { color: #e3eaf0; }
.tax-advance-status { padding: clamp(1.5rem, 3vw, 2rem); border: 1px solid #b8c8d3; border-radius: 22px; color: var(--navy); background: var(--white); }
.tax-status-label { display: inline-flex; padding: .4rem .8rem; border: 1px solid #b46b3d; border-radius: 99px; color: #783b1b; background: #fff3e8; font-size: .82rem; font-weight: 700; line-height: 1.5; }
.tax-advance-status h3 { margin: 1rem 0; color: var(--navy); font-size: 1.4rem; line-height: 1.35; }
.tax-advance-status p { color: #203d55; font-size: 1rem; line-height: 1.7; }
.tax-advance-status p:last-child { margin-bottom: 0; }
.tax-advance-process { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #496176; }
.tax-advance-process h3 { margin-top: 0; color: #fff; font-size: 1.15rem; }
.tax-advance-process dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin: 1.5rem 0 0; }
.tax-advance-process dt { color: #f1c29e; }
.tax-advance-process dd { margin: .6rem 0 0; color: #e3eaf0; line-height: 1.7; }
.tax-advance-footnote { max-width: 100ch; margin: 2rem 0 0; color: #d0dce5; font-size: .9rem; line-height: 1.7; }
.tax-faq-layout { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.tax-faq-layout > div > p:not(.eyebrow) { color: #405464; }
.tax-faq-layout .faq-list { min-width: 0; }
.tax-sources { padding: 1.5rem 0 2.5rem; }
.tax-sources > .container { padding-top: 1.5rem; border-top: 1px solid #c6cfd5; }
.tax-sources > .container > div { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; }
.tax-sources a { color: var(--navy); text-underline-offset: .22em; font-size: .95rem; }
.tax-sources p:last-child { max-width: 100ch; margin: 1rem 0 0; color: #405464; font-size: .86rem; }
@media (max-width: 950px) {
  .tax-overview-grid, .tax-access-notes { grid-template-columns: 1fr; }
  .tax-choice { flex-direction: column; align-items: stretch; gap: 1.2rem; }
  .tax-choice .btn { align-self: flex-start; }
  .tax-hero-grid, .tax-conditions-grid, .tax-advance-grid, .tax-faq-layout { grid-template-columns: 1fr; gap: 2rem; }
  .tax-hero h1 { max-width: 21ch; }
  .tax-example { max-width: 620px; width: 100%; }
  .tax-ceilings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tax-steps, .tax-advance-process dl { gap: 1.3rem; }
}
@media (max-width: 640px) {
  .tax-overview { padding-top: 1.5rem; padding-bottom: 2rem; }
  .tax-overview-grid { gap: 1rem; }
  .tax-access-note { padding: 1.1rem; }
  .tax-choice { padding: 1.2rem; }
  .tax-choice .btn, .tax-sources .tax-source-link { width: 100%; }
  .tax-service-summary { padding-left: .85rem; font-size: .92rem; }
  .tax-payment-journey { gap: 1.1rem; }
  .tax-sources > .container > div { flex-direction: column; gap: .6rem; }
  .tax-hero { padding-top: 2rem; padding-bottom: 1.5rem; }
  .tax-hero h1 { font-size: clamp(2.05rem, 8.5vw, 2.8rem); }
  .tax-registration { gap: .75rem; align-items: flex-start; }
  .tax-registration img { width: 68px; }
  .tax-registration p { font-size: .83rem; }
  .tax-example { padding: 1.25rem; border-radius: 20px; }
  .tax-example h2 { font-size: 1.2rem; }
  .tax-example thead th { font-size: .76rem; }
  .tax-example tbody th { font-size: .85rem; }
  .tax-example tbody strong { font-size: 1.45rem; }
  .tax-jump-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  .tax-jump-nav a { min-height: 52px; padding: .6rem .65rem; font-size: .82rem; text-align: center; }
  .tax-ceilings, .tax-steps, .tax-advance-process dl { grid-template-columns: 1fr; }
  .tax-ceilings article { padding: 1.35rem; }
  .tax-steps, .tax-advance-process dl { gap: 1.5rem; }
  .tax-advance-process { margin-top: 2rem; }
  .tax-advance-process dl > div + div { padding-top: 1rem; border-top: 1px solid #496176; }
  .tax-page section[id] { scroll-margin-top: 95px; }
}

/* Progressive tax guidance, with a single clear action after each result. */
.tax-page [hidden] { display: none !important; }
.tax-tools-section { padding-top: 3.5rem; padding-bottom: 4rem; }
.tax-tools-privacy { display: flex; align-items: flex-start; gap: .7rem; max-width: 900px; margin: 0 0 1.8rem; color: #405464; font-size: .95rem; line-height: 1.6; }
.tax-tools-privacy svg { flex: 0 0 20px; margin-top: .15rem; color: var(--copper-action); }
.tax-tools-grid { display: grid; gap: 1.5rem; }
.tax-checker { display: grid; grid-template-columns: minmax(230px, .75fr) minmax(0, 1.25fr); align-items: start; gap: clamp(1.5rem, 4vw, 3rem); min-width: 0; padding: clamp(1.3rem, 3vw, 2.4rem); border: 1px solid #aabcc9; border-radius: 24px; color: var(--navy); background: var(--white); box-shadow: 0 14px 40px rgba(13, 44, 73, .05); scroll-margin-top: 120px; }
.tax-checker--advance { background: #f1f5f7; }
.tax-checker[data-step-state="locked"] { border-style: dashed; }
.tax-checker-context { min-width: 0; }
.tax-checker-header { display: flex; align-items: flex-start; gap: 1rem; }
.tax-tool-icon { display: grid; place-items: center; width: 48px; height: 54px; flex: 0 0 48px; border: 1px solid #d3b8a6; border-radius: 15px; color: #88421f; background: #fbede3; }
.tax-checker--advance .tax-tool-icon { border-color: #aabcc9; color: var(--navy); background: #e0e9ee; }
.tax-checker .tax-kicker { margin-top: .15rem; font-size: .7rem; letter-spacing: .035em; }
.tax-checker h3 { margin: 0; font-size: clamp(1.2rem, 1.7vw, 1.5rem); line-height: 1.4; letter-spacing: -.025em; }
.tax-checker-intro { margin: 1.3rem 0 .8rem; color: #203d55; font-size: 1rem; line-height: 1.65; }
.tax-step-meta { margin: 0; color: #405464; font-size: .9rem; line-height: 1.6; }
.tax-wizard, .tax-tool-fallback { min-width: 0; }
.tax-wizard { scroll-margin-top: 120px; }
.tax-question-progress { display: flex; justify-content: space-between; gap: .6rem; color: #405464; font-size: .9rem; font-weight: 700; }
.tax-progress-track { display: flex; gap: 6px; margin: .65rem 0 1.5rem; }
.tax-progress-track span { flex: 1; height: 5px; border-radius: 8px; background: #d9e2e8; }
.tax-progress-track span.is-current { background: var(--copper-action); }
.tax-progress-track span.is-answered { background: var(--navy); }
.tax-question { min-width: 0; margin: 0; padding: 0; border: 0; }
.tax-question legend { float: none; width: 100%; margin: 0; padding: 0; color: var(--navy); font-family: "Montserrat", sans-serif; font-size: 1.2rem; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
.tax-question > p { margin: .7rem 0 1.2rem; color: #354e61; font-size: 1rem; line-height: 1.6; }
.tax-answer-options { display: grid; grid-template-columns: .7fr .7fr 1.6fr; gap: .6rem; }
.tax-answer-options--long { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tax-answer { display: flex; align-items: center; gap: .6rem; min-height: 60px; margin: 0; padding: .85rem; border: 1.5px solid #9aafbe; border-radius: 12px; color: var(--navy); background: var(--white); cursor: pointer; font-family: "Atkinson Hyperlegible", sans-serif; font-size: 1rem; font-weight: 700; line-height: 1.45; }
.tax-answer input { accent-color: var(--navy); width: 18px; height: 18px; min-height: 0; margin: 0; padding: 0; flex: 0 0 18px; box-shadow: none; transform: none; }
.tax-answer:hover { border-color: var(--navy); background: #edf2f5; }
.tax-answer:has(input:checked) { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); background: #e7eef3; }
.tax-answer:has(input:focus-visible) { outline: 3px solid var(--copper-action); outline-offset: 3px; }
.tax-answer-note { padding: .8rem 1rem; border-radius: 10px; background: #f8eee6; }
.tax-question-actions { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 1.5rem; }
.tax-question-actions .btn { min-width: 0; gap: .6rem; padding: .9rem 1.3rem; font-size: .95rem; }
.tax-question-actions .btn svg { flex: 0 0 18px; }
.tax-back, .tax-restart { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .6rem .8rem; border: 1px solid #9aafbe; border-radius: 10px; color: var(--navy); background: var(--white); font: inherit; font-size: .9rem; font-weight: 700; line-height: 1.4; cursor: pointer; }
.tax-back:hover, .tax-restart:hover { border-color: var(--navy); background: #e7eef3; }
.tax-back:focus-visible, .tax-restart:focus-visible { outline: 3px solid var(--copper-action); outline-offset: 3px; }
.tax-question-error { margin: .8rem 0 0; color: #9a2d1b; font-weight: 700; }
.tax-tools-disclaimer { max-width: 100ch; margin: 1.5rem 0 0; color: #405464; font-size: .9rem; line-height: 1.7; }
.tax-result-badge { display: inline-block; margin: 0 0 1rem; padding: .4rem .7rem; border: 1px solid #c99864; border-radius: 8px; color: #723b15; background: #fff4e5; font-size: .85rem; font-weight: 700; line-height: 1.5; }
.tax-result[data-result="possible"] .tax-result-badge { border-color: #84a697; color: #1d5140; background: #eaf4ee; }
.tax-result h4, .tax-step-intro h4 { margin: 0 0 1rem; font-family: "Montserrat", sans-serif; font-size: 1.25rem; line-height: 1.5; }
.tax-result > p:not(.tax-result-badge), .tax-result li, .tax-step-intro > p { color: #203d55; font-size: 1rem; line-height: 1.65; }
.tax-result ul { display: grid; gap: .65rem; margin: 1rem 0 1.3rem; padding-left: 1.2rem; }
.tax-budget-reminder { margin: 1.3rem 0; padding: 1rem; border-radius: 12px; background: #eaf0f4; }
.tax-budget-reminder strong { display: block; margin-bottom: .3rem; }
.tax-result-actions { margin-top: 1.5rem; }
.tax-result-actions .btn { max-width: 100%; padding: .9rem 1.3rem; font-size: .95rem; }
.tax-step-intro { padding: 1.3rem; border: 1px solid #b6c5cf; border-radius: 16px; background: #fff; }
.tax-step-intro .tax-lock-label { margin: 0 0 .75rem; color: #405464; font-size: .85rem; font-weight: 700; }
.tax-step-intro > p:last-of-type { margin-bottom: 1.3rem; }
.tax-question-help, .tax-answer-review { margin-top: 1rem; border: 1px solid #b6c5cf; border-radius: 12px; color: var(--navy); background: #fff; }
.tax-question-help summary, .tax-answer-review summary { min-height: 50px; padding: .85rem 3rem .85rem 1rem; font-family: "Atkinson Hyperlegible", sans-serif; font-size: .95rem; line-height: 1.5; }
.tax-question-help summary::after, .tax-answer-review summary::after { top: .65rem; right: .7rem; width: 30px; height: 30px; line-height: 30px; transform: none; }
.tax-question-help > p { margin: 0; padding: 0 1rem 1rem; color: #203d55; font-size: .95rem; line-height: 1.65; }
.tax-answer-review dl { margin: 0; padding: 0 1rem; }
.tax-answer-review dl > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .3rem 1rem; padding: 1rem 0; border-top: 1px solid #d2dce3; }
.tax-answer-review dt { font-size: .85rem; font-weight: 700; color: #405464; }
.tax-answer-review dd { grid-column: 1; margin: 0; color: var(--navy); line-height: 1.5; }
.tax-answer-review .tax-back { grid-column: 2; grid-row: 1 / 3; align-self: center; }
.tax-answer-review > .tax-restart { margin: 0 1rem 1rem; }
.tax-enrolment { background: #f3eee7; border-top: 1px solid #dfd5ca; }
.tax-account-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; gap: 2rem; }
.tax-account-guide, .tax-budget-guide { min-width: 0; scroll-margin-top: 120px; }
.tax-account-guide > h3 { margin: 0 0 1.3rem; font-size: 1.3rem; line-height: 1.5; }
.tax-guide-path { margin-bottom: .85rem; border: 1px solid #aab9c4; border-radius: 16px; color: var(--navy); background: var(--white); overflow: clip; scroll-margin-top: 120px; }
.tax-guide-path summary { position: relative; display: block; min-height: 66px; padding: 1.2rem 3.2rem 1.2rem 1.3rem; font-size: 1.05rem; font-weight: 700; line-height: 1.5; cursor: pointer; list-style: none; }
.tax-guide-path summary::-webkit-details-marker { display: none; }
.tax-guide-path summary::after { position: absolute; right: 1rem; top: 1rem; width: 34px; height: 34px; border-radius: 50%; content: '+'; color: var(--navy); background: #e8eef2; font-family: "Montserrat", sans-serif; font-size: 1.4rem; font-weight: 600; line-height: 34px; text-align: center; transform: none; }
.tax-guide-path[open] summary { border-bottom: 1px solid #d5dfe5; background: #f5f8fa; }
.tax-guide-path[open] summary::after { content: '−'; transform: none; }
.tax-guide-path summary:focus-visible { outline: 3px solid var(--copper-action); outline-offset: -4px; border-radius: 13px; }
.tax-guide-content { padding: .1rem 1.3rem 1.3rem; }
.tax-guide-content p { color: #203d55; font-size: 1rem; line-height: 1.7; }
.tax-guide-content .tax-small-note { margin: .8rem 0 0; font-size: .85rem; }
.tax-guide-list { display: grid; gap: 1rem; margin: 1.3rem 0 1.5rem; padding: 0 0 0 1.1rem; color: #203d55; font-size: 1rem; line-height: 1.65; }
.tax-guide-list li::marker { color: var(--copper-action); }
.tax-guide-list strong { display: block; color: var(--navy); }
.tax-official-link { max-width: 100%; gap: .85rem; padding: .95rem 1.25rem; text-align: center; font-size: .95rem; }
.tax-official-link svg { flex: 0 0 18px; }
.tax-account-help { padding: .5rem .15rem; color: #405464; font-size: .95rem; line-height: 1.65; }
.tax-budget-guide { padding: clamp(1.3rem, 2.5vw, 1.8rem); border: 1px solid #aab9c4; border-radius: 22px; background: var(--white); }
.tax-budget-guide > h3 { margin: .5rem 0 1.5rem; font-size: 1.4rem; line-height: 1.45; letter-spacing: -.02em; }
.tax-budget-item + .tax-budget-item { margin-top: 1.5rem; padding-top: 1.3rem; border-top: 1px solid #cad5dd; }
.tax-budget-item h4 { margin: 0 0 .8rem; color: var(--navy); font-family: "Montserrat", sans-serif; font-size: 1.05rem; line-height: 1.5; }
.tax-budget-item > p, .tax-budget-note { color: #203d55; font-size: .98rem; line-height: 1.7; }
.tax-budget-example { margin: 1rem 0 0; border: 1px solid #d5bba8; border-radius: 12px; background: #fbf2eb; }
.tax-budget-example summary { padding: .85rem 3rem .85rem .9rem; font-family: "Atkinson Hyperlegible", sans-serif; font-size: .95rem; line-height: 1.5; }
.tax-budget-example summary::after { top: .65rem; right: .6rem; width: 30px; height: 30px; line-height: 30px; transform: none; }
.tax-budget-example > p { margin: 0; padding: 0 .9rem 1rem; color: #203d55; font-size: .95rem; line-height: 1.7; }
.tax-budget-note { margin: 1.4rem 0; padding: 1rem; border-radius: 12px; background: #eaf0f4; }
.tax-official-caption { margin: .7rem 0 .9rem; }
.tax-budget-guide > .tax-small-note:last-child { margin-bottom: 0; }
@media (max-width: 950px) {
  .tax-checker, .tax-account-grid { grid-template-columns: 1fr; }
  .tax-checker { gap: 1.7rem; }
  .tax-checker-intro { margin-top: 1rem; }
}
@media (max-width: 640px) {
  .tax-tools-section { padding-top: 2rem; padding-bottom: 3rem; }
  .tax-tools-grid { gap: 1.2rem; }
  .tax-checker { padding: 1.2rem; border-radius: 20px; scroll-margin-top: 95px; }
  .tax-checker-header { gap: .75rem; }
  .tax-tool-icon { width: 42px; height: 48px; flex-basis: 42px; border-radius: 12px; }
  .tax-checker .tax-kicker { font-size: .68rem; letter-spacing: .01em; }
  .tax-checker h3 { font-size: 1.15rem; }
  .tax-question legend { font-size: 1.1rem; }
  .tax-answer-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tax-answer-options:not(.tax-answer-options--long) .tax-answer:last-child { grid-column: 1 / -1; }
  .tax-answer-options--long { grid-template-columns: 1fr; }
  .tax-answer { min-height: 58px; padding: .8rem; }
  .tax-wizard { scroll-margin-top: 105px; }
  .tax-checker { gap: 1.2rem; }
  .tax-checker-intro { margin: .8rem 0 .5rem; }
  .tax-question-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: .65rem; }
  .tax-question-actions > span:empty { display: none; }
  .tax-question-actions .btn { width: 100%; margin-left: 0; order: 0; }
  .tax-question-actions > .tax-back { width: 100%; min-height: 48px; order: 1; padding: .7rem; font-size: .9rem; }
  .tax-result-actions .btn, .tax-step-intro .btn { width: 100%; }
  .tax-answer-review dl > div { grid-template-columns: minmax(0, 1fr); gap: .3rem; }
  .tax-answer-review .tax-back { grid-column: 1; grid-row: auto; justify-self: start; margin-top: .4rem; }
  .tax-account-grid { gap: 1.3rem; }
  .tax-account-guide, .tax-budget-guide, .tax-guide-path { scroll-margin-top: 95px; }
  .tax-guide-path summary { padding-left: 1rem; font-size: 1rem; }
  .tax-guide-content { padding-right: 1rem; padding-left: 1rem; }
  .tax-official-link { width: 100%; }
  .tax-jump-nav a:last-child { grid-column: 1 / -1; }
}
