/* Taxplan Tax Calculator Suite — inherits theme.json fonts/colors where possible. WCAG 2.2 AA targets. */
.tcs-calculator,.tcs-directory{max-width:860px;margin:2rem auto;font-size:1rem;line-height:1.6}
.tcs-banner{background:#fff4e5;border:2px solid #b45309;border-left-width:8px;color:#3b2a14;padding:1rem 1.25rem;margin:0 0 1.5rem;border-radius:4px}
.tcs-banner p{margin:.25rem 0}
.tcs-banner__title{font-size:1.05rem;color:#7c2d12}
.tcs-banner__specific{font-weight:600}
.tcs-form{border:1px solid #c7c7c7;border-radius:6px;padding:1.25rem;background:#fff}
.tcs-title{margin-top:0}
.tcs-privacy-note{font-size:.9rem;color:#2f4f2f}
.tcs-field{margin:0 0 1rem}
.tcs-field label,.tcs-field legend{display:block;font-weight:600;margin-bottom:.25rem}
.tcs-input{display:flex;align-items:center;gap:.35rem;max-width:22rem}
.tcs-input input,.tcs-field select{width:100%;min-height:44px;padding:.5rem .65rem;font-size:1rem;border:1px solid #6b6b6b;border-radius:4px;background:#fff;color:#111}
.tcs-field select{max-width:32rem}
.tcs-check{display:flex;align-items:center;gap:.5rem;min-height:32px}
.tcs-check input{width:22px;height:22px}
.tcs-check label{font-weight:400;margin:0}
.tcs-group{border:1px solid #d6d6d6;border-radius:4px;padding:.75rem 1rem;margin:0 0 1rem}
.tcs-group legend{font-weight:700;padding:0 .35rem}
.tcs-help{font-size:.88rem;color:#444;margin:.25rem 0 0}
.tcs-req{color:#a00}
.tcs-actions{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1rem}
.tcs-button{min-height:44px;padding:.6rem 1.2rem;font-size:1rem;cursor:pointer;border-radius:4px}
.tcs-button--secondary{background:#fff;color:#111;border:1px solid #6b6b6b}
.tcs-calculator :focus-visible{outline:3px solid #1d4ed8;outline-offset:2px}
.tcs-errors{background:#fdecec;border:2px solid #b91c1c;color:#5b0b0b;padding:.75rem 1rem;margin:0 0 1rem;border-radius:4px}
.tcs-results{border:2px solid #1f5130;background:#f3faf5;padding:1rem 1.25rem;margin:1.5rem 0;border-radius:6px}
.tcs-headline{font-size:1.1rem}
.tcs-table{width:100%;border-collapse:collapse;margin:1rem 0;font-size:.95rem}
.tcs-table caption{text-align:left;font-weight:700;padding:.25rem 0}
.tcs-table th,.tcs-table td{border:1px solid #c7c7c7;padding:.45rem .6rem;text-align:left;vertical-align:top}
.tcs-table td{text-align:right;white-space:nowrap}
.tcs-sources{margin:1.5rem 0;font-size:.9rem}
.tcs-sources summary{cursor:pointer;font-weight:700;min-height:32px}
.tcs-verified,.tcs-meta{color:#555;font-size:.85rem}
.tcs-contact{border-top:3px solid #1f3a5f;margin-top:2rem;padding-top:1rem}
.tcs-contact__list{list-style:none;padding:0}
.tcs-contact__list a{font-weight:700}
.tcs-contact__note{font-size:.88rem;color:#444}
.tcs-directory__list{list-style:none;padding:0;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}
.tcs-directory__item{border:1px solid #c7c7c7;border-radius:6px;padding:1rem}
.tcs-directory__item h3{margin-top:0;font-size:1.1rem}
.tcs-unavailable{border:1px solid #999;padding:1rem;border-radius:4px}
.tcs-calculator--compact .tcs-sources{font-size:.85rem}
@media (max-width:600px){.tcs-table td{white-space:normal}.tcs-form{padding:1rem}}
@media (prefers-reduced-motion:reduce){.tcs-calculator *{transition:none!important;animation:none!important}}
