:root { --tax-success: #217b55; font-family: 'IBM Plex Sans Thai', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
:root[data-theme='dark'] { --tax-success: #8fd5b1; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) { --tax-success: #8fd5b1; } }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: default; opacity: .45; }
svg { display: block; width: 20px; height: 20px; flex: none; }
h1, h2, h3, p { margin: 0; }
::selection { background: #aacfff; color: #121a2b; }
.tax-shell { width: min(1200px, 100%); padding-inline: 32px; margin-inline: auto; }
.tax-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.tax-skip { position: fixed; z-index: 100; top: 8px; left: 12px; padding: 10px 20px; border-radius: 12px; background: var(--site-paper); transform: translateY(-150%); }
.tax-skip:focus { transform: none; }
.tax-icon-button { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: transparent; border: 1px solid var(--site-line); color: var(--site-ink); }
.tax-icon-button:hover { background: var(--site-soft); }
.tax-icon-button svg { width: 17px; height: 17px; }
.tax-nav { position: sticky; top: var(--site-header-height); z-index: 30; background: var(--site-nav); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); border-bottom: 1px solid color-mix(in srgb, var(--site-line) 65%, transparent); }
.tax-nav > div { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 56px; }
.tax-nav > div > span { font-size: 15px; font-weight: 500; white-space: nowrap; }
.tax-year { color: var(--site-muted); margin-left: 7px; font-size: 12px; font-weight: 400; }
.tax-nav > div > div { display: flex; gap: 26px; font-size: 12px; color: var(--site-muted); }
.tax-nav a:hover { color: var(--site-blue); }
.tax-hero { text-align: center; padding-block: 61px 50px; }
.tax-eyebrow { color: var(--site-muted); font-size: 11px; font-weight: 500; letter-spacing: .13em; }
.tax-hero h1 { font-size: clamp(38px, 4.7vw, 62px); letter-spacing: -.045em; margin-top: 15px; text-wrap: balance; }
.tax-hero h1 span, .tax-insurance-section h2 span { color: var(--site-blue); }
.tax-hero-intro { margin-top: 21px; font-size: 17px; color: var(--site-muted); }
.tax-hero-meta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 23px; margin-top: 25px; font-size: 11px; color: var(--site-muted); }
.tax-hero-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.tax-hero-meta svg { width: 15px; height: 15px; }
.tax-section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 12px; }
.tax-section-head h2 { font-size: clamp(25px, 2.65vw, 35px); margin-top: 8px; letter-spacing: -.035em; text-wrap: balance; }
.tax-section-head > p { color: var(--site-muted); font-size: 14px; line-height: 1.8; }
.tax-toolbar { display: flex; gap: 14px; align-items: center; flex: none; padding-bottom: 5px; }
.tax-toolbar button { border: 0; background: transparent; color: var(--site-blue); font-size: 13px; padding: 5px; }
.tax-toolbar button:last-child { color: var(--site-muted); }
.tax-toolbar button:hover { text-decoration: underline; }
.tax-scope { font-size: 12px; color: var(--site-muted); margin-bottom: 22px; }
.tax-form-message { color: var(--site-blue); font-size: 12px; }
.tax-form-message:not(:empty) { padding: 0 0 18px; }
.tax-form-message.is-error { color: #c43730; }
.tax-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 25px; align-items: start; }
.tax-form { display: grid; gap: 20px; }
.tax-card { min-width: 0; padding: 29px 31px; border-radius: 28px; background: var(--site-paper); }
.tax-card-head { display: flex; align-items: start; gap: 13px; margin-bottom: 26px; }
.tax-step { display: grid; place-items: center; height: 32px; width: 32px; flex: none; border-radius: 50%; font-size: 12px; font-weight: 500; color: var(--site-blue); background: color-mix(in srgb, var(--site-blue) 8%, var(--site-paper)); margin-top: 2px; }
.tax-card h3 { font-size: 21px; letter-spacing: -.025em; }
.tax-card-head p { font-size: 12px; color: var(--site-muted); margin-top: 3px; }
.tax-income-label { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 11px; }
.tax-field label, .tax-income-label > label { font-size: 12px; font-weight: 500; display: block; }
.tax-segment { display: inline-flex; align-items: center; background: var(--site-bg); padding: 3px; border-radius: 11px; flex: none; }
.tax-segment button { padding: 5px 12px; border: 0; border-radius: 8px; background: transparent; color: var(--site-muted); font-size: 11px; }
.tax-segment button[aria-pressed='true'] { color: var(--site-ink); background: var(--site-paper); box-shadow: 0 1px 5px #0000000c; }
.tax-money { display: flex; align-items: center; border: 1px solid var(--site-line); border-radius: 14px; background: var(--site-bg); transition: border-color .2s, box-shadow .2s; }
.tax-money:focus-within { border-color: var(--site-blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--site-blue) 13%, transparent); }
.tax-money:has([aria-invalid='true']) { border-color: #d14640; }
.tax-money input { border: 0; outline: none; color: var(--site-ink); background: transparent; min-width: 0; width: 100%; padding: 12px 14px; font-size: 17px; font-variant-numeric: tabular-nums; }
.tax-money input::placeholder { color: var(--site-muted); opacity: .7; }
.tax-money > span { padding-right: 14px; font-size: 12px; flex: none; color: var(--site-muted); }
.tax-money-large input { font-size: 33px; line-height: 1.5; padding: 15px 18px; font-weight: 500; letter-spacing: -.035em; }
.tax-money-large > span { font-size: 13px; padding-right: 20px; }
.tax-help { font-size: 11px; color: var(--site-muted); line-height: 1.85; margin-top: 7px; }
.tax-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 20px; }
.tax-field { min-width: 0; }
.tax-field > label { margin-bottom: 9px; }
.tax-field > select { min-height: 49px; border: 1px solid var(--site-line); border-radius: 14px; background: var(--site-bg); color: var(--site-ink); padding: 10px 32px 10px 12px; width: 100%; font-size: 12px; }
.tax-field > select:focus-visible { outline: 3px solid color-mix(in srgb, var(--site-blue) 25%, transparent); outline-offset: 1px; }
.tax-field > select:disabled { opacity: .5; }
.tax-inline-button { border: 0; background: none; color: var(--site-blue); padding: 0; font-size: inherit; text-decoration: underline; text-underline-offset: 3px; }
.tax-field-error { color: #c43730; font-size: 11px; line-height: 1.65; }
.tax-field-error:not(:empty) { margin-top: 5px; }
.tax-auto { display: flex; align-items: start; gap: 10px; padding: 17px; border-radius: 14px; background: var(--site-bg); margin-top: 22px; }
.tax-auto p { font-size: 11px; color: var(--site-muted); line-height: 1.9; }
.tax-auto strong { color: var(--site-ink); font-weight: 500; }
.tax-check { display: grid; place-items: center; width: 19px; height: 19px; flex: none; margin-top: 2px; border-radius: 50%; background: color-mix(in srgb, var(--site-blue) 10%, var(--site-paper)); font-size: 11px; color: var(--site-blue); }
.tax-auto-compact { padding: 13px 15px; margin-block: 17px 22px; }
.tax-deductions { padding-bottom: 10px; }
.tax-deductions .tax-card-head { margin-bottom: 11px; }
.tax-disclosure { border-top: 1px solid var(--site-line); }
.tax-disclosure > summary { display: flex; align-items: center; gap: 12px; padding: 20px 0; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.tax-category-icon { display: grid; place-items: center; width: 36px; height: 36px; flex: none; background: var(--site-bg); border-radius: 12px; color: var(--site-blue); }
.tax-category-icon svg { width: 19px; height: 19px; }
.tax-disclosure summary > span:nth-child(2) { font-size: 14px; font-weight: 500; }
.tax-disclosure summary small { display: block; font-size: 10px; color: var(--site-muted); font-weight: 400; margin-top: 3px; }
.tax-chevron { color: var(--site-muted); margin-left: auto; font: 20px/1 system-ui; transition: transform .2s; flex: none; }
.tax-disclosure[open] .tax-chevron { transform: rotate(180deg); }
.tax-disclosure-content { padding-block: 1px 23px; }
.tax-disclosure-content > .tax-fields:first-child { margin-top: 0; }
.tax-disclosure-content > .tax-field { margin-top: 20px; }
.tax-disclosure-content > .tax-field:first-child { margin-top: 0; }
.tax-allowance { border-radius: 14px; padding: 15px; background: var(--site-bg); margin-block: 19px 12px; }
.tax-allowance > div:first-child { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 7px; font-size: 10px; color: var(--site-muted); }
.tax-allowance strong { font-size: 12px; font-weight: 500; color: var(--site-ink); }
.tax-allowance strong > span:last-child { font-size: 10px; font-weight: 400; color: var(--site-muted); }
.tax-progress { height: 5px; border-radius: 10px; overflow: hidden; background: var(--site-line); margin-top: 10px; }
.tax-progress > span { display: block; width: 0; height: 100%; background: var(--site-blue); border-radius: inherit; transition: width .25s; }
.tax-result-sticky { position: sticky; top: calc(var(--site-header-height) + 74px); }
.tax-result-column { align-self: stretch; min-width: 0; }
.tax-result-card { border-radius: 28px; overflow: hidden; background: var(--site-paper); }
.tax-result-hero { padding: 28px 28px 24px; color: #fff; background: radial-gradient(ellipse at 100% 0%, #285c99 0%, transparent 73%), #102b50; }
.tax-result-top { display: flex; justify-content: space-between; align-items: center; gap: 9px; }
.tax-result-top > span:first-child { font-size: 13px; font-weight: 500; }
.tax-live { display: inline-flex; align-items: center; gap: 5px; font-size: 9px; color: #d2e6ff; white-space: nowrap; }
.tax-live i { height: 5px; width: 5px; border-radius: 50%; background: #a4e4cc; }
.tax-total { padding-top: 17px; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; }
.tax-total > span { font-size: clamp(38px, 4.2vw, 55px); font-weight: 600; line-height: 1.3; letter-spacing: -.045em; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.tax-total small { font-size: 12px; color: #c6d8ee; }
.tax-result-hero > p { color: #c6d8ee; font-size: 11px; margin-top: 8px; }
.tax-rate-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 21px; margin-top: 23px; border-top: 1px solid #ffffff24; }
.tax-rate-pair > div { display: grid; gap: 3px; }
.tax-rate-pair span { font-size: 10px; color: #c6d8ee; }
.tax-rate-pair strong { font-size: 22px; font-weight: 500; letter-spacing: -.025em; }
.tax-result-body { padding: 24px 28px 20px; }
.tax-receipt { margin: 0; font-size: 12px; }
.tax-receipt > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.tax-receipt dt { color: var(--site-muted); }
.tax-receipt dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; }
.tax-receipt .tax-receipt-net { border-top: 1px solid var(--site-line); padding-top: 15px; margin-top: 17px; }
.tax-receipt-net dt { color: var(--site-ink); }
.tax-receipt-net dd { color: var(--site-blue); }
.tax-balance { background: var(--site-bg); border-radius: 16px; padding: 15px 17px; margin-top: 19px; }
.tax-balance > div { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.tax-balance span { font-size: 11px; }
.tax-balance strong { font-size: 21px; font-weight: 500; letter-spacing: -.035em; text-align: right; }
.tax-balance p { font-size: 10px; color: var(--site-muted); margin-top: 4px; }
.tax-balance.is-refund strong { color: var(--tax-success); }
.tax-summary-saving { display: flex; gap: 11px; margin-block: 23px; align-items: center; }
.tax-summary-saving > span { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 50%; background: color-mix(in srgb, var(--site-blue) 8%, var(--site-paper)); color: var(--site-blue); font: 21px/1 system-ui; }
.tax-summary-saving > div > span { display: block; font-size: 10px; color: var(--site-muted); }
.tax-summary-saving strong { display: block; font-size: 20px; color: var(--site-blue); font-weight: 500; letter-spacing: -.025em; }
.tax-summary-saving small { font-size: 10px; font-weight: 400; color: var(--site-muted); }
.tax-print { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 40px; width: 100%; border: 1px solid var(--site-line); border-radius: 999px; font-size: 11px; background: transparent; color: var(--site-ink); }
.tax-print:hover { background: var(--site-bg); }
.tax-print svg { width: 15px; height: 15px; }
.tax-result-note { text-align: center; color: var(--site-muted); font-size: 10px; line-height: 1.9; padding: 14px 16px; }
.tax-cap-notes { border: 1px solid var(--site-line); border-radius: 18px; padding: 17px; font-size: 11px; }
.tax-cap-notes > strong { font-weight: 500; }
.tax-cap-notes ul { margin: 9px 0 0; padding-left: 17px; color: var(--site-muted); line-height: 1.9; }
.tax-insurance-section { padding-top: 87px; }
.tax-insurance-section .tax-section-head { margin-bottom: 25px; }
.tax-insurance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tax-insurance-grid > .tax-card { padding: 31px 34px; }
.tax-small-label { color: var(--site-muted); font-size: 12px; }
.tax-saving-total { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.tax-saving-total strong { font-size: clamp(35px, 4vw, 48px); font-weight: 600; line-height: 1.4; letter-spacing: -.045em; color: var(--site-blue); }
.tax-saving-total > span { font-size: 12px; color: var(--site-muted); }
.tax-comparison { margin-top: 27px; }
.tax-comparison > div:not(.tax-comparison-track) { display: flex; justify-content: space-between; gap: 15px; font-size: 11px; }
.tax-comparison strong { font-weight: 500; }
.tax-comparison-track { height: 8px; background: var(--site-bg); border-radius: 8px; margin-block: 9px 20px; overflow: hidden; }
.tax-comparison-track > span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--site-line); transition: width .3s; }
.tax-comparison-after > span { background: var(--site-blue); }
.tax-explanation { color: var(--site-muted); font-size: 10px; line-height: 1.9; margin-top: 14px; }
.tax-text-link { display: inline-flex; gap: 12px; color: var(--site-blue); font-size: 12px; margin-top: 22px; }
.tax-text-link:hover { text-decoration: underline; }
.tax-simulator-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tax-scenario-badge { color: var(--site-muted); background: var(--site-bg); padding: 4px 9px; border-radius: 999px; font-size: 10px; }
.tax-simulator h3 { font-size: 24px; margin-top: 13px; }
.tax-slider-label { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-block: 24px 12px; }
.tax-slider-label > label { font-size: 11px; color: var(--site-muted); }
.tax-slider-label strong { font-weight: 500; font-size: 22px; letter-spacing: -.025em; }
.tax-slider-label small { color: var(--site-muted); font-size: 10px; font-weight: 400; }
.tax-simulator input[type='range'] { width: 100%; margin: 5px 0; accent-color: var(--site-blue); cursor: pointer; min-height: 24px; }
.tax-simulator input[type='range']:disabled { cursor: default; opacity: .45; }
.tax-simulator input[type='range']:focus-visible { outline: 3px solid var(--site-blue); outline-offset: 5px; }
.tax-slider-ends { display: flex; justify-content: space-between; gap: 16px; font-size: 10px; color: var(--site-muted); }
.tax-presets { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 15px; }
.tax-presets button { border: 1px solid var(--site-line); background: transparent; padding: 5px 12px; border-radius: 999px; color: var(--site-ink); font-size: 10px; }
.tax-presets button:enabled:hover { background: var(--site-bg); border-color: var(--site-blue); }
.tax-scenario-result { background: var(--site-bg); border-radius: 16px; padding: 16px 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 23px; }
.tax-scenario-result > div > span { font-size: 10px; color: var(--site-muted); display: block; }
.tax-scenario-result strong { display: block; font-size: 24px; font-weight: 500; letter-spacing: -.035em; margin-top: 3px; }
.tax-scenario-result > div:first-child strong { color: var(--site-blue); }
.tax-scenario-result small { font-size: 10px; font-weight: 400; color: var(--site-muted); }
.tax-brackets-section { padding-top: 83px; }
.tax-brackets-section .tax-section-head { margin-bottom: 25px; }
.tax-brackets-card { border-radius: 28px; background: var(--site-paper); padding: 9px 28px 19px; }
.tax-table-scroll { overflow: auto; border-radius: 12px; }
.tax-table-scroll:focus-visible { outline: 3px solid var(--site-blue); outline-offset: 4px; }
.tax-table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 12px; font-variant-numeric: tabular-nums; text-align: left; }
.tax-table th, .tax-table td { padding: 15px 15px; border-bottom: 1px solid var(--site-line); }
.tax-table thead th { color: var(--site-muted); font-size: 11px; font-weight: 400; padding-block: 20px; }
.tax-table th:not(:first-child), .tax-table td { text-align: right; }
.tax-table tbody th { font-weight: 400; }
.tax-table tbody tr.is-used { background: color-mix(in srgb, var(--site-blue) 5%, var(--site-paper)); }
.tax-table tbody tr.is-used td:last-child { color: var(--site-blue); font-weight: 500; }
.tax-table tfoot th, .tax-table tfoot td { font-weight: 500; border: 0; padding-block: 21px 13px; }
.tax-table tfoot td { color: var(--site-blue); font-size: 17px; }
.tax-table-note { display: flex; align-items: start; gap: 7px; font-size: 10px; color: var(--site-muted); margin-top: 13px; padding-inline: 15px; }
.tax-table-note > span { width: 7px; height: 7px; background: var(--site-blue); border-radius: 50%; flex: none; margin-top: 5px; }
.tax-formula { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 9px 17px; text-align: center; font-size: 13px; margin-top: 29px; padding: 0 10px; }
.tax-formula > span { color: var(--site-muted); }
.tax-formula b { color: var(--site-muted); font-size: 17px; font-weight: 400; }
.tax-formula strong { color: var(--site-blue); font-weight: 500; }
.tax-formula p { flex: 0 0 100%; font-size: 11px; color: var(--site-muted); margin-top: 2px; }
.tax-info { padding-block: 81px 57px; max-width: 966px; }
.tax-info h2 { font-size: 27px; text-align: center; margin-bottom: 24px; }
.tax-info-disclosure { border-top: 1px solid var(--site-line); }
.tax-info-disclosure:last-child { border-bottom: 1px solid var(--site-line); }
.tax-info-disclosure > summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 0; cursor: pointer; list-style: none; font-size: 13px; }
.tax-info-disclosure > summary > span { color: var(--site-muted); font-size: 16px; }
.tax-info-disclosure[open] > summary > span { transform: rotate(45deg); }
.tax-info-disclosure > div { padding-bottom: 24px; color: var(--site-muted); font-size: 12px; line-height: 1.95; }
.tax-info-disclosure p + p { margin-top: 13px; }
.tax-source-links { display: grid; gap: 10px; margin-block: 16px; }
.tax-source-links a { display: flex; justify-content: space-between; align-items: start; gap: 15px; color: var(--site-blue); }
.tax-source-links a:hover { text-decoration: underline; }
.tax-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 23px 29px; border-top: 1px solid var(--site-line); color: var(--site-muted); font-size: 11px; }
.tax-footer a { color: var(--site-ink); }
.tax-error-banner { padding: 20px; border-radius: 14px; background: var(--site-paper); color: #c43730; }
@media (max-width: 1000px) {
  .tax-shell { padding-inline: 24px; }
  .tax-layout { gap: 20px; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  .tax-card { padding: 26px 24px; }
  .tax-result-hero, .tax-result-body { padding-inline: 23px; }
  .tax-live { display: none; }
  .tax-insurance-grid > .tax-card { padding: 28px; }
  .tax-result-top > span:first-child { font-size: 12px; }
}
@media (max-width: 800px) {
  .tax-layout { grid-template-columns: minmax(0, 1fr); }
  .tax-form { display: contents; }
  .tax-result-column { grid-row: 2; }
  .tax-result-sticky { position: static; }
  .tax-result-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .tax-result-hero { display: flex; flex-direction: column; padding: 25px; }
  .tax-result-body { padding: 22px 24px; }
  .tax-total > span { font-size: 39px; }
  .tax-rate-pair { margin-top: auto; padding-top: 17px; }
  .tax-receipt { font-size: 11px; }
  .tax-receipt > div { margin-bottom: 8px; }
  .tax-balance { margin-top: 12px; }
  .tax-summary-saving { margin-block: 14px; }
  .tax-result-note { padding-block: 10px 0; }
  .tax-cap-notes { margin-top: 15px; }
  .tax-hero { padding-block: 45px 40px; }
  .tax-hero h1 { font-size: 47px; }
  .tax-insurance-grid { gap: 18px; }
  .tax-insurance-grid > .tax-card { padding: 25px; }
  .tax-scenario-result { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 600px) {
  .tax-shell { padding-inline: 20px; }
  .tax-nav > div { height: 50px; gap: 12px; }
  .tax-nav > div > span { font-size: 12px; }
  .tax-year { font-size: 10px; margin-left: 3px; }
  .tax-nav > div > div { gap: 13px; font-size: 10px; }
  .tax-nav a:first-child { display: none; }
  .tax-hero { padding-block: 39px 36px; }
  .tax-hero h1 { font-size: clamp(30px, 8.2vw, 42px); margin-top: 13px; }
  .tax-hero .tax-eyebrow { font-size: 9px; }
  .tax-hero-intro { font-size: 14px; margin-top: 17px; }
  .tax-hero-meta { gap: 10px 14px; margin-top: 21px; font-size: 9px; }
  .tax-hero-meta svg { width: 13px; height: 13px; }
  .tax-section-head { display: block; }
  .tax-section-head h2 { font-size: 26px; }
  .tax-toolbar { margin-top: 15px; gap: 14px; padding: 0; }
  .tax-toolbar button { font-size: 12px; padding: 0; }
  .tax-scope { font-size: 10px; margin-bottom: 20px; line-height: 1.9; }
  .tax-result-card { display: block; border-radius: 24px; }
  .tax-result-hero { padding: 23px 24px 20px; }
  .tax-result-top > span:first-child { font-size: 13px; }
  .tax-total { padding-top: 12px; }
  .tax-total > span { font-size: 47px; }
  .tax-live { display: inline-flex; }
  .tax-rate-pair { margin-top: 18px; padding-top: 15px; }
  .tax-rate-pair strong { font-size: 21px; }
  .tax-result-body { padding: 21px 24px; }
  .tax-receipt { font-size: 12px; }
  .tax-receipt > div { margin-bottom: 10px; }
  .tax-print { min-height: 44px; }
  .tax-summary-saving { margin-block: 20px; }
  .tax-result-note { font-size: 9px; }
  .tax-card { padding: 24px 22px; border-radius: 24px; }
  .tax-card-head { margin-bottom: 21px; }
  .tax-card h3 { font-size: 20px; }
  .tax-card-head p { font-size: 11px; }
  .tax-fields { gap: 16px; grid-template-columns: minmax(0, 1fr); margin-top: 19px; }
  .tax-money-large input { font-size: 29px; }
  .tax-money input { font-size: 16px; }
  .tax-money-large input { font-size: 30px; }
  .tax-segment button { padding: 5px 10px; }
  .tax-income-label > label { font-size: 11px; }
  .tax-auto { padding: 14px; }
  .tax-deductions { padding-bottom: 7px; }
  .tax-disclosure > summary { gap: 10px; padding-block: 19px; }
  .tax-disclosure summary > span:nth-child(2) { font-size: 13px; }
  .tax-disclosure summary small { font-size: 9px; }
  .tax-insurance-section, .tax-brackets-section { padding-top: 53px; }
  .tax-insurance-section .tax-section-head > p, .tax-brackets-section .tax-section-head > p { margin-top: 13px; font-size: 12px; }
  .tax-insurance-grid { grid-template-columns: minmax(0, 1fr); }
  .tax-scenario-result { grid-template-columns: 1fr 1fr; }
  .tax-scenario-result strong { font-size: 23px; }
  .tax-insurance-grid > .tax-card { padding: 26px 24px; }
  .tax-brackets-card { padding: 5px 12px 17px; border-radius: 24px; }
  .tax-table th, .tax-table td { padding-inline: 12px; }
  .tax-table { min-width: 545px; font-size: 11px; }
  .tax-table thead th { font-size: 10px; }
  .tax-table-note { padding-inline: 9px; font-size: 9px; }
  .tax-formula { font-size: 11px; gap: 7px 11px; margin-top: 22px; }
  .tax-formula p { font-size: 10px; }
  .tax-info { padding-block: 52px 38px; }
  .tax-info h2 { font-size: 24px; text-align: left; }
  .tax-info-disclosure > summary { font-size: 12px; }
  .tax-info-disclosure > div { font-size: 11px; }
  .tax-footer { align-items: start; flex-direction: column; gap: 10px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
@media print {
  @page { size: A4; margin: 13mm; }
  html:root[data-page='tax'] { --site-bg: #fff; --site-paper: #fff; --site-ink: #1d1d1f; --site-muted: #646469; --site-line: #dedee3; --site-blue: #0066cc; --tax-success: #217b55; }
  body { color: #1d1d1f; font-size: 11px; }
  .tax-nav, .tax-skip, .tax-toolbar, .tax-hero-meta, .tax-info, .tax-print, .tax-form-message, .tax-result-note, .tax-cap-notes, .tax-inline-button, .tax-footer a, .tax-text-link, .tax-simulator { display: none !important; }
  .tax-shell { padding: 0; width: 100%; }
  .tax-hero { padding: 0 0 22px; }
  .tax-hero h1 { font-size: 28px; margin-top: 4px; }
  .tax-hero-intro { font-size: 11px; margin-top: 8px; }
  .tax-hero .tax-eyebrow { font-size: 9px; }
  .tax-section-head h2 { font-size: 20px; }
  .tax-section-head .tax-eyebrow, .tax-section-head > p { display: none; }
  .tax-layout { display: flex; flex-direction: column; }
  .tax-result-column { order: -1; width: 100%; }
  .tax-result-sticky { position: static; }
  .tax-result-card { display: grid; grid-template-columns: 1fr 1.2fr; border: 1px solid #dedee3; border-radius: 18px; break-inside: avoid; }
  .tax-result-hero { background: #fff; color: #1d1d1f; padding: 18px 22px; }
  .tax-result-hero > p, .tax-total small, .tax-rate-pair span { color: #646469; }
  .tax-live { display: none; }
  .tax-total > span { font-size: 38px; }
  .tax-rate-pair { border-color: #dedee3; margin-top: 12px; padding-top: 12px; }
  .tax-rate-pair strong { font-size: 20px; }
  .tax-result-body { padding: 18px 22px; }
  .tax-summary-saving { margin: 15px 0 0; }
  .tax-form { width: 100%; display: grid; }
  .tax-card { padding: 17px 20px; border: 1px solid #dedee3; border-radius: 18px; break-inside: avoid; }
  .tax-card-head { margin-bottom: 14px; }
  .tax-money input, .tax-field > select { padding-block: 6px; min-height: 30px; font-size: 12px; }
  .tax-money-large input { font-size: 20px; }
  .tax-fields { margin-top: 12px; }
  .tax-help, .tax-auto p { font-size: 9px; }
  .tax-disclosure > summary { padding-block: 12px; }
  .tax-disclosure { break-inside: avoid; }
  .tax-insurance-section, .tax-brackets-section { padding-top: 25px; }
  .tax-insurance-grid { grid-template-columns: 1fr; }
  .tax-saving-card { padding: 20px !important; }
  .tax-saving-total strong { font-size: 32px; }
  .tax-comparison { margin-top: 14px; }
  .tax-brackets-card { border: 1px solid #dedee3; padding: 0 12px 13px; break-inside: avoid; }
  .tax-table { min-width: 0; font-size: 10px; }
  .tax-table th, .tax-table td { padding-block: 9px; }
  .tax-table thead th { font-size: 9px; }
  .tax-table tfoot td { font-size: 13px; }
  .tax-formula { font-size: 11px; margin-top: 17px; }
  .tax-footer { margin-top: 25px; padding-block: 10px; font-size: 9px; }
  details:not([open]) { display: none; }
  .tax-scope::after { content: ' · ผลประมาณการจากรายการที่กรอก ตรวจสอบสิทธิและข้อมูลก่อนยื่นภาษี'; }
}
