.tax-forms-hero p:last-child { max-width: 760px; }
.tax-forms-layout { display: flex; flex-direction: column; gap: 36px; }
.tax-forms-notice { padding: 22px; border-left: 5px solid var(--green, #4f7f27); background: #f2f5ef; color: #20251f; }
.tax-forms-notice p { margin: 8px 0 0; }
.tax-forms-toolbar { margin: 30px 0 12px; }
.tax-forms-toolbar label { display: block; margin-bottom: 8px; font-weight: 800; }
.tax-forms-filter-row { display: flex; gap: 12px; align-items: center; }
.tax-forms-filter-row select { width: min(100%, 430px); min-height: 48px; padding: 10px 42px 10px 14px; border: 1px solid #9aa198; border-radius: 4px; background: #fff; color: #111; font: inherit; }
.tax-forms-count { margin: 14px 0; color: #525a50; font-weight: 700; }
.tax-forms-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tax-state-card { display: flex; flex-direction: column; min-height: 250px; padding: 20px; border: 1px solid #d6dbd3; border-radius: 8px; background: #fff; box-shadow: 0 6px 18px rgb(0 0 0 / 6%); }
.tax-state-card h2 { margin: 0 0 8px; font-size: 1.35rem; }
.tax-state-code { color: #687065; font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.tax-state-card p { margin: 0 0 18px; color: #424940; }
.tax-state-actions { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.tax-state-actions .button { width: 100%; min-height: 42px; padding: 0 12px; text-align: center; font-size: .84rem; }
.tax-state-download { background: var(--green); color: #081006; }
.tax-state-download:hover { background: #84ce59; color: #081006; }
.tax-upload-card { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .8fr); gap: 24px 42px; align-items: center; padding: 28px; border-radius: 8px; background: #101210; color: #fff; }
.tax-upload-card h2 { margin: 8px 0 12px; color: #fff; }
.tax-upload-card a:not(.button) { color: #fff; }
.tax-upload-help { grid-column: 1 / -1; margin: 0; padding-top: 18px; border-top: 1px solid rgb(255 255 255 / 24%); font-size: .92rem; }
.tax-forms-error { padding: 20px; background: #fff3cd; color: #473a09; }
@media (max-width: 900px) {
  .tax-forms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tax-upload-card { grid-template-columns: 1fr; }
  .tax-upload-help { grid-column: auto; }
}
@media (max-width: 620px) {
  .tax-forms-grid { grid-template-columns: 1fr; }
  .tax-forms-filter-row { align-items: stretch; flex-direction: column; }
  .tax-forms-filter-row select, .tax-forms-filter-row .button { width: 100%; }
}
