body.tch-tax-page .entry-hero,
body.tch-tax-page .entry-header,
body.tch-tax-page .page-title,
body.tch-tax-page .entry-title,
body.tch-tax-page #main > article > .entry-content-wrap {
  display: none;
}

body.tch-tax-page .content-container,
body.tch-tax-page .site-main,
body.tch-tax-page .content-wrap,
body.tch-tax-page .entry-content-wrap,
body.tch-tax-page #primary,
body.tch-tax-page .content-area {
  padding-top: 0;
  max-width: none !important;
  width: 100%;
}

body.tch-tax-page #secondary,
body.tch-tax-page aside.sidebar {
  display: none;
}

body.tch-tax-page .content-container,
body.tch-tax-page .site-main {
  display: block;
  grid-template-columns: 1fr;
}

.tch-tax {
  color: var(--tch-ink, #0f172a);
  background: var(--tch-bg, #f8fafc);
  padding: 88px 0 48px;
  min-height: 60vh;
}

.tch-tax-wrap {
  width: min(1120px, calc(100% - 24px));
  margin: 0 auto;
}

.tch-tax .tch-hp-card,
.tch-tax a.tch-hp-stat {
  color: inherit;
  text-decoration: none;
}

.tch-tax .tch-hp-card-name {
  color: var(--tch-ink, #0f172a);
}

.tch-tax-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--tch-muted, #64748b);
  margin-bottom: 16px;
}

.tch-tax-crumbs a {
  color: var(--tch-accent, #e11d48);
  text-decoration: none;
  font-weight: 650;
}

.tch-tax-head h1 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.tch-tax-head p {
  margin: 0 0 8px;
  color: var(--tch-muted, #64748b);
  max-width: 42rem;
}

.tch-tax-note {
  font-size: 0.88rem;
  color: #9a3412 !important;
}

.tch-tax-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 16px 0 18px;
}

.tch-tax-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.tch-tax-switch a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--tch-line, #e2e8f0);
  background: #fff;
  color: var(--tch-ink, #0f172a);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 650;
}

.tch-tax-switch a.is-on,
.tch-tax-switch a.tch-tax-hub-link {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}

.tch-tax-switch a.tch-tax-hub-link {
  background: var(--tch-accent, #e11d48);
  border-color: var(--tch-accent, #e11d48);
}

.tch-tax-search {
  background: #fff;
  border: 1px solid var(--tch-line, #e2e8f0);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
}

.tch-tax-search,
.tch-tax-search * {
  box-sizing: border-box;
}

.tch-tax-search .asl_w_container,
.tch-tax-search .asl_w,
.tch-tax-search .probox,
.tch-tax-search .proinput,
.tch-tax-search input {
  max-width: 100%;
  min-width: 0;
}

.tch-tax-list-title {
  margin: 0 0 12px;
  font-size: 0.95rem;
  color: var(--tch-muted, #64748b);
  font-weight: 650;
}

.tch-tax-empty {
  margin: 12px 0 0;
}

.tch-tax-empty a {
  color: var(--tch-accent, #e11d48);
  font-weight: 650;
}

.tch-tax-pages {
  margin-top: 20px;
}

.tch-tax-pages .nav-links,
.tch-tax-pages .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.tch-tax-pages a,
.tch-tax-pages span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--tch-line, #e2e8f0);
  background: #fff;
  color: var(--tch-ink, #0f172a);
  text-decoration: none;
  font-weight: 650;
}

.tch-tax-pages .current {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}

@media (max-width: 960px) {
  .tch-tax {
    padding-top: 76px;
  }

  .tch-tax-stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .tch-tax-wrap {
    width: min(1120px, calc(100% - 20px));
  }

  .tch-tax .tch-hp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tch-tax-switch {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-right: -10px;
    padding-bottom: 10px;
    padding-right: 16px;
  }

  .tch-tax-switch::-webkit-scrollbar {
    display: none;
  }

  .tch-tax-switch a {
    flex: 0 0 auto;
  }
}
