/* HS code reference lookup — result table, badges, chapter tree. */
.hs-meta-line { font-size: 12px; color: var(--ink-soft, #6b7280); margin: 0 0 10px; }
.hs-meta-line a { color: inherit; }

.hs-warn {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-left: 4px solid var(--accent, #f27856);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.6;
  margin: 10px 0;
}
.hs-warn.hs-ruling { font-weight: 600; }

.hs-form { display: flex; gap: 10px; margin: 14px 0 4px; max-width: 640px; }
.hs-form input[type="search"] {
  flex: 1; min-width: 0;
  padding: 11px 14px;
  border: 1px solid var(--line, #d1d5db);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
}
.hs-form input[type="search"]:focus {
  outline: 2px solid var(--accent, #f27856);
  outline-offset: 1px;
}
.hs-form .st-btn { width: auto; white-space: nowrap; }

.hs-count { font-size: 14px; font-weight: 700; margin: 16px 0 4px; }
.hs-dim { font-weight: 400; font-size: 12px; color: var(--ink-soft, #9ca3af); }

.hs-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; white-space: nowrap; }

.hs-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  white-space: nowrap;
}
.hs-badge.us { background: #f5f3ff; color: #6d28d9; border-color: #ddd6fe; }

.hs-desc { min-width: 240px; }
.hs-rates { font-size: 12px; white-space: nowrap; color: var(--ink-soft, #4b5563); }

.hs-indent-1 { padding-left: 2.2em !important; }
.hs-indent-2 { padding-left: 4.4em !important; }
.hs-indent-3 { padding-left: 6.6em !important; }
.hs-indent-4 { padding-left: 8.8em !important; }
.hs-indent-5 { padding-left: 11em !important; }
.hs-indent-6 { padding-left: 13.2em !important; }
td.hs-desc[class*="hs-indent"] { position: relative; }

.hs-pager { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.hs-pager .st-btn { width: auto; padding: 8px 14px; }

.hs-sect { border: 1px solid var(--line, #e5e7eb); border-radius: 10px; margin: 8px 0; background: var(--card, #fff); }
.hs-sect > summary { cursor: pointer; padding: 10px 14px; font-size: 14px; font-weight: 600; }
.hs-chlist { list-style: none; margin: 0; padding: 4px 14px 12px; columns: 2; column-gap: 24px; }
.hs-chlist li { font-size: 13px; padding: 3px 0; break-inside: avoid; }
.hs-chlist a { color: inherit; text-decoration: none; }
.hs-chlist a:hover { text-decoration: underline; }
@media (max-width: 640px) { .hs-chlist { columns: 1; } }

.hs-coverage li, .hs-official li { font-size: 14px; margin: 6px 0; line-height: 1.6; }
.hs-ch-title { font-size: 18px; margin: 20px 0 4px; }
