.tax-discovery { max-width: 74rem; min-width: 0; }
.tax-discovery h1 { color: var(--text); }
.tax-discovery p { margin-block: .45rem; }
.tax-search-form, .tax-filters { margin-block: 1.25rem; }
.tax-search-form label { display: block; margin-bottom: .35rem; font-weight: 700; }
.tax-search-form > div { display: flex; gap: .55rem; max-width: 42rem; }
.tax-search-form input {
  min-width: 0; flex: 1; min-height: 46px; padding: .5rem .8rem;
  border: 1px solid #798c9a; border-radius: .45rem; color: var(--text); background: #fff; font: inherit;
}
.tax-search-form button {
  padding-inline: 1.25rem; min-height: 46px; border: 1px solid #c5a664;
  border-radius: .45rem; font: inherit; font-weight: 750; color: #231d11; background: var(--gold); cursor: pointer;
}
.tax-count { font-weight: 750; color: var(--muted); }
.tax-records, .tax-month { margin-block: .65rem 1.4rem; overflow-wrap: anywhere; }
.tax-records > li, .tax-month {
  background: #fff; border: 1px solid var(--line); border-radius: .55rem; padding: 1rem 1.15rem;
}
.tax-records > li + li { margin-top: .48rem; }
.tax-records small, .tax-events p, .tax-source-note p { color: var(--muted); }
.tax-records h2 { margin: .28rem 0 0; font-size: 1.13rem; }
.tax-records a { display: inline-block; padding-block: .35rem; }
.tax-filters { display: flex; flex-wrap: wrap; gap: .45rem; }
.tax-filters a {
  display: inline-flex; align-items: center; min-height: 44px; text-decoration: none;
  border: 1px solid var(--line); border-radius: .45rem; padding: .45rem .8rem; background: #fff;
}
.tax-filters [aria-current] { color: #fff2ca; font-weight: 750; background: var(--navy); border-color: var(--navy); }
.tax-events li { display: grid; grid-template-columns: auto minmax(0,1fr); gap: .8rem; border-top: 1px solid var(--line); padding-block: .65rem; }
.tax-events time { color: var(--gold-deep); font-weight: 700; font-variant-numeric: tabular-nums; }
.tax-events p { margin: .2rem 0; }
.tax-month > a, .tax-source-note a { display: inline-flex; align-items: center; min-height: 44px; color: var(--gold-deep); }
.tax-discovery :is(input,button):focus-visible { outline: 3px solid #997026; outline-offset: 3px; }
