.tax-code-layout {
  align-items: start;
}

.tax-code-input {
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 700;
}

.example-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.example-chip {
  border: 1px solid var(--thp-border);
  background: #fff;
  color: #34435b;
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: all .18s ease;
}

.example-chip:hover,
.example-chip:focus-visible {
  border-color: #c6a15b;
  background: #fff8ea;
  color: #091938;
  transform: translateY(-1px);
}

.tax-code-breakdown-grid {
  grid-template-columns: 1.1fr .9fr;
}

.plain-english-card p:last-child {
  margin-bottom: 0;
}

.part-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.part-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--thp-border-soft);
  border-radius: 16px;
  background: #fff;
}

.part-token {
  min-width: 78px;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--thp-border);
  background: #fff;
  color: var(--thp-text);
  font-weight: 800;
  letter-spacing: .03em;
  padding: 8px 12px;
  text-align: center;
}

.part-content h4,
.dictionary-card strong {
  margin: 0 0 8px;
  color: #1b2940;
}

.part-content p,
.helper-callout,
.plain-english-card p,
.dictionary-card strong,
.bullet-list li,
.number-list li {
  color: var(--thp-muted);
  line-height: 1.7;
}

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

.top-space-sm {
  margin-top: 14px;
}

.warning-panel {
  background: #fffaf1;
  border-color: rgba(198,161,91,.35);
}

.inline-cta {
  margin-top: 18px;
}

.dictionary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.dictionary-card strong {
  font-size: .98rem;
  font-weight: 500;
}

.faq-section {
  padding: 18px 0 42px;
}

.faq-section .seo-article {
  background: transparent;
  border: none;
  padding: 0;
}

.breakdown-card ul,
.breakdown-card ol {
  margin: 0;
  padding-left: 18px;
}

@media (max-width: 980px) {
  .tax-code-breakdown-grid,
  .dictionary-grid,
  .tax-impact-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }
}
