/* PartsHTS：AI 站。海关文件的感觉：靛蓝 + 印章黄，等宽税号，干净的表格 */
:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #eceef6;
  --text: #1a2035;
  --muted: #5e6680;
  --line: #dde1ee;
  --accent: #2b3a67;
  --accent-ink: #ffffff;
  --accent-soft: #e2e7f6;
  --accent-3: #b7791f;
  --accent-3-soft: #fdf1d8;
  --radius: 10px;
  --radius-sm: 6px;
  --font-display: "Segoe UI", system-ui, -apple-system, sans-serif;
}
/* 上面改了哪些浅色变量，深色模式就必须同样全部改一遍 */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11141f;
    --surface: #171b29;
    --surface-2: #1e2334;
    --text: #e6e9f3;
    --muted: #9aa2bc;
    --line: #2b3247;
    --accent: #9fb1ea;
    --accent-ink: #11141f;
    --accent-soft: #232b48;
    --accent-3: #ffd166;
    --accent-3-soft: #3a3020;
    --radius: 10px;
    --radius-sm: 6px;
    --font-display: "Segoe UI", system-ui, -apple-system, sans-serif;
  }
}
.hs-form { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.hs-form label { flex: 1 1 320px; }
.hs-form input { font-size: 18px; }
.examples { font-size: 14px; color: var(--muted); }
.chip { font: inherit; font-size: 13px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); border-radius: 99px; padding: 4px 10px; margin: 3px 2px; cursor: pointer; }
.chip:hover { border-color: var(--accent); }
.hs-list { list-style: none; padding: 0; margin: 8px 0 16px; }
.hs-list li { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 8px; background: var(--surface); }
.hs-list.best li { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.hs-list p { margin: 4px 0 0; }
.hs-list small { color: var(--muted); }
.code { font-family: var(--font-mono); font-weight: 700; color: var(--accent); white-space: nowrap; }
.rate { font-size: 13px; font-weight: 700; background: var(--accent-3-soft); padding: 1px 8px; border-radius: 99px; margin-left: 6px; }
.why { font-size: 15px; border-left: 3px solid var(--accent-3); padding-left: 10px; }
.ai { font-size: 11px; font-weight: 800; background: var(--accent); color: var(--accent-ink); padding: 2px 6px; border-radius: 4px; vertical-align: middle; }
.cols { columns: 2 280px; }
.heading-list { list-style: none; padding: 0; }
.heading-list li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); padding: 9px 2px; }
.heading-list b { font-family: var(--font-mono); margin-right: 8px; }
.heading-list span { color: var(--muted); font-size: 14px; white-space: nowrap; }
.content { max-width: none; }
.table-scroll { overflow-x: auto; }
.hs-table td { vertical-align: top; }
.hs-table small { color: var(--muted); }
.hs-table .fn { display: block; }
.hs-table tr:target { background: var(--accent-3-soft); }
