.three-tax-shell { --three-tax-pillar: #5553bb; max-width: 1120px; margin-inline: auto; }
body.quick-ui-v2 .three-tax-shell { --quick-shell-width: 1120px; }
.three-tax-shell [hidden], [data-calculator-interactive][hidden], [data-calculator-readiness-status][hidden] { display: none !important; }
.calculator-readiness-status { margin: 1rem; padding: 1rem; border-left: 4px solid #08766c; background: #f7fbfa; font: 600 1rem/1.5 system-ui,sans-serif; }
.three-tax-shell .quick-card { margin-block-end: 0; }
.three-tax-shell .quick-calculator-grid { gap: 18px; }
.three-tax-shell .quick-card--input { background: #f8fbfa; }
.three-tax-shell .quick-card--input [data-quick-title] { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
.three-tax-shell .quick-field .quick-label { font-weight: 700; }
.three-tax-shell .quick-control, .three-tax-shell .quick-control input, .three-tax-shell .quick-control select { min-height: 44px; }
.three-tax-shell .quick-field input { font-family: inherit; font-size: 1.02rem; font-weight: 700; line-height: 1.4; }
.three-tax-shell .quick-field select { font-family: inherit; font-size: 1.02rem; font-weight: 400; line-height: 1.4; }
.three-tax-shell .quick-prefix, .three-tax-shell .quick-suffix { font-size: 1rem; font-weight: 700; }
body[data-three-tax-app] .three-tax-shell .quick-control select { font-size: 1.02rem; font-weight: 400; }
body[data-three-tax-app] .three-tax-shell :is(.quick-prefix, .quick-suffix) { font-size: 1rem; font-weight: 700; }
.three-tax-shell .quick-actions .button { min-height: 44px; font-family: inherit; font-size: 1rem; font-weight: 700; line-height: 1.4; }
.three-tax-shell .quick-actions .button--primary { min-height: 48px; }
body[data-three-tax-app] .three-tax-shell .quick-control:focus-within { outline: none; border-bottom-color: #004f47; box-shadow: none; background: #edf7f3; }
.three-tax-shell :is(.quick-actions .button, a):focus-visible { outline: 3px solid #0b756b; outline-offset: 2px; }
.three-tax-shell .quick-field.is-invalid .quick-control { border-color: #926000; }
body[data-three-tax-app] .three-tax-shell .quick-field.is-invalid .quick-control:focus-within { border-bottom-color: #775000; box-shadow: none; background: #fff8e8; }
.three-tax-shell .quick-result-grid[data-quick-result-presentation="primary-prose"] { display:block; }
.three-tax-shell .quick-card--result [data-three-result-heading] { margin-bottom: 8px; }
.three-tax-shell .quick-primary-result { margin: 0; }
body[data-three-tax-app] .three-tax-shell .quick-primary-result { border-left-color: var(--three-tax-pillar); }
body[data-three-tax-app="income-type-tax"] .three-tax-shell .quick-primary-result { max-width: none; border: 0; border-left: 3px solid var(--three-tax-pillar); border-radius: 0; box-shadow: none; background: transparent; padding: 2px 0 2px 12px; }
body[data-three-tax-app] .three-tax-shell .three-tax-emphasized-number { font-weight: 700; font-variant-numeric: tabular-nums; color: inherit; }
body[data-three-tax-app] .three-tax-shell .quick-primary-result :is(h3, span) { font-weight: 700; }
body[data-three-tax-app] .three-tax-shell .quick-primary-result > strong { font-weight: 800; }
body[data-three-tax-app] .three-tax-shell .quick-result-grid[data-quick-result-presentation="primary-prose"] > .quick-note { margin-top: 16px; }
.three-tax-shell .quick-result-prose--primary { border-left:4px solid var(--three-tax-pillar); padding: .8rem 1rem; }
.three-tax-shell .quick-result-prose--primary + .quick-note { margin-block-start: 1rem; }
.three-tax-shell .quick-card--result [data-quick-results] + .quick-note { margin-block-start: 1rem; }
.three-tax-shell .quick-table { width:100%; }
body[data-three-tax-app]:not([data-three-tax-app="income-type-tax"]) .three-tax-shell .quick-table { width: min(100%, 720px); max-width: none; margin-inline: 0; table-layout: fixed; }
body[data-three-tax-app]:not([data-three-tax-app="income-type-tax"]) .three-tax-shell .quick-table :is(th, td):last-child { width: 25%; }
body[data-three-tax-app]:not([data-three-tax-app="income-type-tax"]) .three-tax-shell .quick-table thead th { background: #f1f4f2; color: #17201b; border-bottom-color: #e4eae6; }
body[data-three-tax-app]:not([data-three-tax-app="income-type-tax"]) .three-tax-shell .quick-table tbody tr:nth-child(odd) td { background: #fff; }
body[data-three-tax-app]:not([data-three-tax-app="income-type-tax"]) .three-tax-shell .quick-table tbody tr:nth-child(even) td { background: #f8faf9; }
body[data-three-tax-app]:not([data-three-tax-app="income-type-tax"]) .three-tax-shell .quick-table tbody td { color: #17201b; border-bottom-color: #e9eeeb; }
.three-tax-shell .quick-table caption { text-align:left; font-weight:700; padding-block-end:.6rem; }
.three-tax-shell .quick-table th, .three-tax-shell .quick-table td { padding: 9px 8px; vertical-align:top; }
body[data-three-tax-app] .three-tax-shell .quick-table th { font-weight: 700; }
.three-tax-shell .quick-table td[data-kind="currency"], .three-tax-shell .quick-table th[data-kind="currency"] { text-align:right; font-variant-numeric:tabular-nums; }
.three-tax-shell .quick-table :is(th, td)[data-column-kind="currency"], .three-tax-shell .quick-table :is(th, td)[data-column-kind="percent"] { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.three-tax-shell .quick-table :is(th, td)[data-column-kind="text"] { text-align: left; }
body[data-three-tax-app="income-type-tax"] .three-tax-shell .quick-table { table-layout: fixed; }
body[data-three-tax-app="income-type-tax"] .three-tax-shell .quick-card--details { container: three-tax-details / inline-size; }
body[data-three-tax-app="income-type-tax"] .three-tax-shell .quick-table :is(th, td):first-child { width: 25%; text-align: left; }
body[data-three-tax-app="income-type-tax"] .three-tax-shell .quick-table :is(th, td)[data-column-kind="currency"] { min-width: 0; }
body[data-three-tax-app="income-type-tax"] .three-tax-shell .quick-table th { white-space: normal; overflow-wrap: normal; hyphens: auto; }
body[data-three-tax-app="income-type-tax"] .three-tax-shell .quick-table td[data-column-kind="currency"] { white-space: nowrap; }
.three-tax-shell .quick-field-error { display:block; margin-block-start:.35rem; color:#775000; font-size:.95rem; }
.three-tax-shell .quick-disclosure-section + .quick-disclosure-section { margin-block-start:1.25rem; }
@media (max-width: 640px) {
  body[data-three-tax-app] .three-tax-shell .quick-calculator-grid { gap: 14px; }
  .three-tax-shell .quick-field-group--two-up { grid-template-columns:1fr; }
  body.quick-ui-v2 .three-tax-shell .quick-control, body.quick-ui-v2 .three-tax-shell .quick-control input, body.quick-ui-v2 .three-tax-shell .quick-control select { min-height: 44px; }
  body.quick-ui-v2 .three-tax-shell .quick-primary-result > strong { font-size: 1.9rem; font-weight: 800; }
}
@media (max-width: 480px) {
  body[data-three-tax-app]:not([data-three-tax-app="income-type-tax"]) .three-tax-shell .quick-table :is(th, td):last-child { width: 42%; }
}
@container three-tax-details (max-width: 820px) {
  body[data-three-tax-app="income-type-tax"] .three-tax-shell .quick-table :is(th, td)[data-column-priority="4"] { display: none; }
}
@container three-tax-details (max-width: 710px) {
  body[data-three-tax-app="income-type-tax"] .three-tax-shell .quick-table :is(th, td)[data-column-priority="3"] { display: none; }
}
@container three-tax-details (max-width: 670px) {
  body[data-three-tax-app="income-type-tax"] .three-tax-shell .quick-table :is(th, td)[data-column-priority="2"] { display: none; }
  body[data-three-tax-app="income-type-tax"] .three-tax-shell .quick-table :is(th, td):first-child { width: 58%; }
  body[data-three-tax-app="income-type-tax"] .three-tax-shell .quick-table th { text-align: left; }
  body[data-three-tax-app="income-type-tax"] .three-tax-shell .quick-table :is(th, td)[data-column-kind="percent"] { width: 42%; text-align: right; }
}
@media print {
  body[data-three-tax-app]:not([data-three-tax-app="income-type-tax"]) .quick-print-table :is(th, td) { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body[data-three-tax-app]:not([data-three-tax-app="income-type-tax"]) .quick-print-table thead th { background: #f1f4f2; color: #17201b; border-bottom-color: #e4eae6; }
  body[data-three-tax-app]:not([data-three-tax-app="income-type-tax"]) .quick-print-table tbody tr:nth-child(odd) td { background: #fff; }
  body[data-three-tax-app]:not([data-three-tax-app="income-type-tax"]) .quick-print-table tbody tr:nth-child(even) td { background: #f8faf9; }
  body[data-three-tax-app]:not([data-three-tax-app="income-type-tax"]) .quick-print-table tbody td { color: #17201b; border-bottom-color: #e9eeeb; }
  body[data-three-tax-app] .quick-print-table td[data-column-kind="text"] { text-align: left; }
  body[data-three-tax-app] .quick-print-table td[data-column-kind="currency"], body[data-three-tax-app] .quick-print-table td[data-column-kind="percent"] { text-align: right; white-space: nowrap; overflow-wrap: normal; font-variant-numeric: tabular-nums; }
  body[data-three-tax-app] .quick-print-text-value { text-align: left; font-weight: 400; }
  body[data-three-tax-app] .quick-print-numeric-value { text-align: right; font-variant-numeric: tabular-nums; }
}
