/* Only this article: tax basis, grant and illustrative calculations. */
.tax-hero h1 span { color: var(--accent); white-space: nowrap; }
.tax-cover { aspect-ratio: auto; }
.tax-cover img { display: block; width: 100%; height: auto; object-fit: contain; }
.tax-caption { width: min(900px, calc(100% - 3rem)); margin: .85rem auto 0; text-align: center; color: var(--ink-soft); font-size: .83rem; line-height: 1.7; }
.tax-status { display: flex; align-items: flex-start; gap: .9rem; margin: 2rem 0; padding: 1.3rem; background: color-mix(in srgb, var(--accent) 8%, var(--bg-2)); border: 1px solid var(--glass-stroke); border-radius: 18px; }
.tax-status__dot { flex: 0 0 9px; width: 9px; height: 9px; margin-top: .65rem; border-radius: 50%; background: var(--accent); }
.tax-status p { margin: .45rem 0 0; }
.tax-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin: 1.5rem 0; }
.tax-option { border: 1px solid var(--glass-stroke); border-radius: 22px; padding: clamp(1.2rem,3vw,1.8rem); background: linear-gradient(145deg,color-mix(in srgb,var(--accent) 9%,var(--bg-2)),var(--bg)); }
.tax-option--grant { background: linear-gradient(145deg,rgba(39,166,203,.12),var(--bg)); }
.article-body .tax-option__eyebrow { text-transform: uppercase; letter-spacing: .06em; margin: 0 0 .65rem; font-weight: 600; font-size: .84rem; color: var(--ink-soft); }
.article-body .tax-option__amount { font-family: var(--font-display); font-size: clamp(2.15rem,4.5vw,3rem); line-height: 1.25; font-weight: 600; color: var(--accent); margin: .25rem 0 1rem; }
.tax-option__amount span { font-size: .95rem; color: var(--ink-soft); }
.article-body .tax-option h3 { font-size: 1.1rem; margin: .5rem 0; }
.tax-option a { display: inline-block; margin-top: .7rem; }
.tax-table-wrap { max-width: 100%; overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--glass-stroke); border-radius: 18px; }
.tax-table { width: 100%; border-collapse: collapse; text-align: left; font-size: .94rem; line-height: 1.8; }
.tax-table th,.tax-table td { padding: 1rem; vertical-align: top; border-bottom: 1px solid var(--glass-stroke); min-width: 155px; }
.tax-table th { font-weight: 600; }
.tax-table thead { background: color-mix(in srgb,var(--accent) 9%,var(--bg-2)); }
.tax-table tr:last-child td,.tax-table tr:last-child th { border-bottom: 0; }
.tax-table caption { caption-side: bottom; padding: .8rem 1rem; text-align: left; color: var(--ink-soft); font-size: .82rem; }
.tax-table td strong { color: var(--accent); white-space: nowrap; }
.tax-checklist { padding-left: 1.5rem; }
.tax-checklist li { padding-left: .4rem; margin-bottom: 1.1rem; }
.tax-calculator { margin: 2rem 0; padding: clamp(1.2rem,3vw,2rem); border-radius: 24px; border: 1px solid color-mix(in srgb,var(--accent) 35%,var(--glass-stroke)); background: var(--bg-2); }
.tax-calculator[hidden] { display: none; }
.tax-calculator h3 { margin: 0 0 .75rem; }
.tax-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.tax-inputs label { display: grid; gap: .55rem; color: var(--ink-soft); font-size: .9rem; }
.tax-inputs input { width: 100%; min-width: 0; box-sizing: border-box; background: var(--bg); color: var(--ink); border: 1px solid var(--glass-stroke); border-radius: 10px; padding: .85rem; font: inherit; font-size: 1.1rem; }
.tax-calculator button { margin-top: 1.2rem; padding: .8rem 1.3rem; border: 0; border-radius: 999px; background: var(--accent); color: #05210c; font: inherit; font-weight: 600; cursor: pointer; }
.tax-result { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--glass-stroke); }
.tax-result > span { color: var(--ink-soft); }
.tax-result > strong { display: block; margin: .3rem 0; font: 600 clamp(1.8rem,5vw,2.8rem)/1.3 var(--font-display); color: var(--accent); }
.tax-result p { margin: .5rem 0; }
.article-body .tax-fine { font-size: .83rem; line-height: 1.85; color: var(--ink-soft); }
.tax-portals { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.3rem 0; }
.tax-portals a { padding: .7rem 1rem; border-radius: 999px; border: 1px solid var(--glass-stroke); }
.tax-care { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; margin: 1.5rem 0; }
.tax-care section { padding: 1.3rem; border: 1px solid var(--glass-stroke); border-radius: 18px; }
.tax-care section > span { color: var(--accent); font: 600 1.6rem/1 var(--font-display); }
.tax-care h3 { font-size: 1.1rem; margin: .9rem 0 .5rem; }
.tax-care p { margin-bottom: 0; }
.tax-calculator :focus-visible,.tax-table-wrap:focus-visible,.tax-portals a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
@media (max-width: 600px) {
  .tax-options,.tax-care,.tax-inputs { grid-template-columns: 1fr; }
  .tax-hero h1 { font-size: clamp(1.8rem,6.5vw,2.5rem); line-height: 1.45; }
  .tax-table th,.tax-table td { min-width: 135px; padding: .8rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
