
﻿/* =========================================================
   海关 HS · 2026 海关 HS 编码查询
   依据《非计算器短代码 · 中文优先开发规范 v3.5》
   说明：本文件为单页静态 HTML 版，组件样式均限定 .tm 下；
         原规范由 WordPress 主题提供基础字体，独立页在 .tm 根节点补充一次字体栈。
   ========================================================= */

html,body{ margin:0; padding:0; }

.tm{
  --tm-font:-apple-system,BlinkMacSystemFont,"Source Han Sans SC",sans-serif;
  font-family:var(--tm-font);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  --t-bg:#FBF8F5; --t-card:#fff; --t-ink:#1f2937; --t-ink2:#6b7280; --t-ink3:#9ca3af;
  --t-line:#f0e6e0; --t-orange:#ff5500; --t-orange-hover:#e64a00;
  --t-orange-soft:rgba(255,85,0,.08); --t-orange-line:#ffd9c2; --t-orange-ink:#c2410c;
  --t-ink-nav:#4b5563;
  --t-radius:12px; --t-radius-sm:10px; --t-radius-pill:100px; --t-radius-table:5px;
  --t-radius-bar:4px 4px 0 0;
  --t-maxw:1280px;
  --t-shadow:0 1px 3px rgba(0,0,0,.05);
  --t-shadow-hover:0 12px 30px rgba(255,85,0,.12);
  --t-overlay:rgba(31,41,55,.55);
  --t-shadow-drawer:-16px 0 40px rgba(31,41,55,.18);
  --t-shadow-float:0 20px 40px rgba(31,41,55,.35);
  --t-shadow-modal:0 30px 70px rgba(31,41,55,.35);

  background:var(--t-bg);
  color:var(--t-ink);
  font-size:16px;
  line-height:1.8;
  min-height:100vh;
  overflow-x:clip;
}
@media(min-width:1500px){ .tm{ --t-maxw:1450px; } }

.tm *,.tm *::before,.tm *::after{ box-sizing:border-box; }
.tm h1,.tm h2,.tm h3,.tm h4,.tm p,.tm dl,.tm dd,.tm ol,.tm ul{ margin:0; }
.tm ul,.tm ol{ padding:0; list-style:none; }
.tm table{ border-collapse:collapse; border-spacing:0; width:100%; }
.tm img,.tm svg{ display:block; max-width:100%; }
.tm a{ color:var(--t-orange-ink); text-decoration:none; }
.tm a:hover{ color:var(--t-orange); }
.tm button{ font-family:inherit; font-size:inherit; color:inherit; cursor:pointer; }
.tm input,.tm select{ font-family:inherit; }
.tm :focus-visible{ outline:2px solid var(--t-orange); outline-offset:2px; }

.tm .tm-wrap{
  width:100%; max-width:var(--t-maxw);
  margin-inline:auto; padding-inline:24px;
}

.tm .tm-sr{
  position:absolute!important; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}

.tm [hidden]{ display:none!important; }

/* ---------- 阅读进度 ---------- */
.tm .tm-progress{
  position:fixed; top:0; left:0; z-index:120;
  width:0; height:3px; background:var(--t-orange);
}

/* ---------- 顶部通告 ---------- */
.tm .tm-notice{
  background:var(--t-ink); color:var(--t-card);
  font-size:14px; line-height:1.6;
}
.tm .tm-notice-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; min-height:40px; flex-wrap:wrap;
}
.tm .tm-notice-left{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.tm .tm-dot{
  width:7px; height:7px; border-radius:50%; background:var(--t-orange);
  flex:none;
}
.tm .tm-notice a{ color:var(--t-orange-line); }
.tm .tm-notice a:hover{ color:var(--t-card); }

/* ---------- 头部 ---------- */
.tm .tm-header{
  position:sticky; top:0; z-index:100;
  background:var(--t-card);
  border-bottom:1px solid var(--t-line);
}
.tm .tm-header-inner{
  position:relative;
  display:flex; align-items:center; gap:20px;
  min-height:68px;
}
.tm .tm-brand{ display:flex; align-items:center; gap:10px; flex:none; padding:0; border:0; background:none; text-align:left; }
.tm .tm-brand:focus-visible{ outline:2px solid var(--t-orange); outline-offset:4px; border-radius:6px; }
.tm .tm-mark{
  width:38px; height:38px; border-radius:var(--t-radius-sm);
  background:var(--t-orange); color:var(--t-card);
  display:inline-flex; align-items:center; justify-content:center;
  font-weight:800; font-size:18px; letter-spacing:.02em;
}
.tm .tm-brand-text{ display:flex; flex-direction:column; line-height:1.25; }
.tm .tm-brand-text strong{ font-size:18px; font-weight:800; color:var(--t-ink); }
.tm .tm-brand-text small{ font-size:14px; color:var(--t-ink2); }

.tm .tm-nav{ display:flex; align-items:center; gap:2px; margin-left:auto; }
.tm .tm-nav a{
  display:block; padding:8px 12px; border-radius:var(--t-radius-sm);
  font-size:15px; font-weight:500; color:var(--t-ink-nav);
}
.tm .tm-nav a:hover{ background:var(--t-orange-soft); color:var(--t-orange-ink); text-decoration:none; }
.tm .tm-nav a.active{ color:var(--t-orange-ink); font-weight:800; background:var(--t-orange-soft); }

.tm .tm-header-actions{ margin-left:0; display:flex; align-items:center; gap:10px; flex:none; }

.tm .tm-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  min-height:44px; padding:0 18px;
  border:1px solid transparent; border-radius:var(--t-radius-sm);
  font-size:15px; font-weight:700; line-height:1.3;
  text-decoration:none!important; white-space:nowrap;
  transition:background-color .2s ease,border-color .2s ease,color .2s ease,transform .2s ease;
}
.tm .tm-btn:active{ transform:translateY(1px); }
.tm .tm-btn-primary{ background:var(--t-orange); color:var(--t-card); }
.tm .tm-btn-primary:hover{ background:var(--t-orange-hover); color:var(--t-card); }
.tm .tm-btn-ghost{
  background:var(--t-card); color:var(--t-ink);
  border-color:var(--t-orange-line);
}
.tm .tm-btn-ghost:hover{ background:var(--t-orange-soft); color:var(--t-orange-ink); }
.tm .tm-btn-plain{
  background:var(--t-card); color:var(--t-ink2);
  border-color:var(--t-line); min-height:38px; padding:0 12px; font-size:14px;
}
.tm .tm-btn-plain:hover{ border-color:var(--t-orange-line); color:var(--t-orange-ink); }
.tm .tm-btn-sm{ min-height:38px; padding:0 14px; font-size:14px; }

.tm .tm-menu{
  display:none; width:44px; height:44px; padding:0;
  align-items:center; justify-content:center;
  background:var(--t-card); border:1px solid var(--t-orange-line);
  border-radius:var(--t-radius-sm); color:var(--t-ink);
}

/* ---------- Hero ---------- */
.tm .tm-hero{
  position:relative;
  padding:48px 0 24px;
  background:
    radial-gradient(circle at 88% 0%, var(--t-orange-soft), transparent 52%),
    linear-gradient(180deg, var(--t-card), var(--t-bg) 78%);
  border-bottom:1px solid var(--t-line);
}
.tm .tm-title{
  max-width:16ch;
  font-size:clamp(2rem,3.2vw,3rem);
  line-height:1.2; font-weight:800; letter-spacing:-.01em;
  color:var(--t-ink);
}
.tm .tm-title em{ font-style:normal; color:var(--t-orange); }
.tm .tm-sub{
  max-width:68ch; margin-top:16px;
  font-size:17px; line-height:1.85; color:var(--t-ink2);
}
.tm .tm-sub strong{ color:var(--t-ink); }
.tm .tm-sub a{ border-bottom:1px solid var(--t-orange-line); }
.tm .tm-sub a:hover{ text-decoration:none; }

/* 搜索 */
.tm .tm-search{
  display:flex; align-items:center; gap:10px;
  max-width:760px; margin-top:26px; padding:8px 8px 8px 16px;
  background:var(--t-card); border:1px solid var(--t-orange-line);
  border-radius:var(--t-radius);
  box-shadow:var(--t-shadow);
}
.tm .tm-search:focus-within{
  border-color:var(--t-orange);
  box-shadow:0 0 0 3px var(--t-orange-soft);
}
.tm .tm-search .ic{ color:var(--t-orange); flex:none; }
.tm .tm-q{
  flex:1; min-width:0; height:48px;
  border:0; outline:none; background:transparent;
  font-size:16px; color:var(--t-ink);
}
.tm .tm-q::placeholder{ color:var(--t-ink3); }
.tm .tm-clear{
  display:none; flex:none; width:40px; height:40px; padding:0;
  align-items:center; justify-content:center; border:0; border-radius:50%;
  background:var(--t-bg); color:var(--t-ink2);
}
.tm .tm-clear.show{ display:inline-flex; }
.tm .tm-clear:hover{ background:var(--t-orange-soft); color:var(--t-orange-ink); }

.tm .tm-hero .tm-wrap{ text-align:center; }
.tm .tm-hero .tm-sub{
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2;
  overflow:hidden;
}
.tm .tm-hero .tm-title,
.tm .tm-hero .tm-sub,
.tm .tm-hero .tm-search{ margin-left:auto; margin-right:auto; }

.tm .tm-hot{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:8px;
  margin-top:14px; font-size:14px; color:var(--t-ink2);
}
.tm .tm-hot button{
  min-height:34px; padding:3px 12px;
  border:1px solid var(--t-line); border-radius:var(--t-radius-pill);
  background:var(--t-card); color:var(--t-ink2); font-size:14px;
}
.tm .tm-hot button:hover{ border-color:var(--t-orange-line); color:var(--t-orange-ink); background:var(--t-orange-soft); }

/* ---------- 通用 section ---------- */
.tm .tm-section{ padding:56px 0; }
.tm #query{ padding-top:28px; }
.tm #query,.tm #adjust,.tm #sections,.tm #faq,.tm #sources{ scroll-margin-top:84px; }
.tm .tm-section--tone{ background:var(--t-card); border-block:1px solid var(--t-line); }
.tm .tm-section-head{ margin-bottom:24px; }
.tm .tm-kicker{
  display:inline-flex; align-items:center; gap:10px;
  font-size:14px; font-weight:800; letter-spacing:.12em;
  color:var(--t-orange);
}
.tm .tm-kicker::before{ content:""; width:24px; height:2px; background:var(--t-orange); }
.tm .tm-section-title{
  margin-top:8px;
  font-size:22px; line-height:1.4; font-weight:800; color:var(--t-ink);
}
.tm .tm-section-sub{
  max-width:68ch; margin-top:8px;
  font-size:16px; line-height:1.8; color:var(--t-ink2);
  text-wrap:pretty;
}


/* ---------- 查询工作区 ---------- */
.tm .tm-layout{ display:block; }

/* 结果面板 */
.tm .tm-panel{
  background:var(--t-card); border:1px solid var(--t-line);
  border-radius:var(--t-radius); box-shadow:var(--t-shadow);
  overflow:hidden;
}
.tm .tm-toolbar{
  display:flex; align-items:center; justify-content:space-between;
  gap:14px; flex-wrap:wrap;
  padding:16px 18px; border-bottom:1px solid var(--t-line);
}
.tm .tm-toolbar--titled{ padding-bottom:40px; }
.tm .tm-result-head{ display:flex; flex-direction:column; gap:2px; flex:1 1 0; min-width:0; }
.tm .tm-result-title{ font-size:18px; line-height:1.45; font-weight:800; color:var(--t-ink); overflow-wrap:anywhere; text-wrap:balance; white-space:normal; overflow:visible; }
.tm .tm-result-meta{ font-style:normal; font-size:14px; color:var(--t-ink3); }
.tm .tm-controls{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; flex:none; }
.tm .tm-select{
  position:relative; display:inline-flex; align-items:center;
}
.tm .tm-select select{
  appearance:none; -webkit-appearance:none;
  height:40px; padding:0 34px 0 12px;
  border:1px solid var(--t-line); border-radius:var(--t-radius-sm);
  background:var(--t-card); font-size:14px; color:var(--t-ink); cursor:pointer;
}
.tm .tm-select select:focus{ border-color:var(--t-orange); outline:none; box-shadow:0 0 0 3px var(--t-orange-soft); }
.tm .tm-select svg{ position:absolute; right:10px; color:var(--t-ink3); pointer-events:none; }
.tm .tm-view{ display:inline-flex; border:1px solid var(--t-line); border-radius:var(--t-radius-sm); overflow:hidden; }
.tm .tm-view button{
  width:40px; height:40px; padding:0; border:0; background:var(--t-card);
  color:var(--t-ink3); display:inline-flex; align-items:center; justify-content:center;
}
.tm .tm-view button + button{ border-left:1px solid var(--t-line); }
.tm .tm-view button.active{ background:var(--t-orange-soft); color:var(--t-orange); }

.tm .tm-chips{
  display:flex; flex-wrap:wrap; gap:8px;
  padding:12px 18px; border-bottom:1px solid var(--t-line);
  background:var(--t-bg);
}
.tm .tm-chip{
  min-height:34px; padding:3px 13px;
  border:1px solid var(--t-line); border-radius:var(--t-radius-pill);
  background:var(--t-card); color:var(--t-ink2); font-size:14px;
}
.tm .tm-chip:hover{ border-color:var(--t-orange-line); color:var(--t-orange-ink); }
.tm .tm-chip.active{ background:var(--t-orange); border-color:var(--t-orange); color:var(--t-card); font-weight:700; }

/* 表格 */
.tm .tm-table-block{ background:var(--t-card); border-top:1px solid var(--t-orange-line); }
.tm .tm-table{
  width:100%; font-size:15px; line-height:1.6; text-align:left;
}
.tm .tm-table caption{ text-align:left; }
.tm .tm-table th,.tm .tm-table td{
  border-right:1px solid var(--t-orange-line);
  border-bottom:1px solid var(--t-orange-line);
  padding:12px 14px; vertical-align:top; text-align:left;
  white-space:normal; overflow-wrap:break-word;
}
.tm .tm-table th:last-child,.tm .tm-table td:last-child{ border-right:0; }
.tm .tm-table tbody tr:last-child td{ border-bottom:0; }
.tm .tm-table thead th{
  background:var(--t-card); font-weight:800; color:var(--t-ink);
  font-size:15px; white-space:nowrap;
}
.tm .tm-table tbody tr:hover{ background:var(--t-bg); }
.tm .tm-code{
  display:block; font-size:15px; font-weight:800; color:var(--t-orange-ink);
  font-variant-numeric:tabular-nums; white-space:nowrap;
}
.tm .tm-code small{ display:block; font-size:14px; font-weight:400; color:var(--t-ink3); }
.tm .tm-name{ display:inline; font-size:15px; font-weight:700; color:var(--t-ink); }
.tm .tm-name-en{ display:inline; font-size:14px; line-height:1.5; color:var(--t-ink2); margin-top:0; }
.tm .tm-rate{
  display:inline-block; min-width:52px; padding:2px 8px;
  border:1px solid var(--t-line); border-radius:4px;
  background:var(--t-card); color:var(--t-ink);
  font-size:14px; font-weight:700; font-variant-numeric:tabular-nums;
  text-align:center;
}
.tm .tm-rate.zero{ background:var(--t-orange-soft); border-color:var(--t-orange-line); color:var(--t-orange-ink); }
.tm .tm-actions{ display:flex; align-items:center; justify-content:flex-end; gap:6px; flex-wrap:nowrap; }
.tm .tm-row-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:4px;
  min-height:38px; padding:0 10px;
  border:1px solid var(--t-line); border-radius:6px;
  background:var(--t-card); color:var(--t-ink2); font-size:14px; font-weight:600;
  white-space:nowrap;
}
.tm .tm-row-btn:hover{ border-color:var(--t-orange-line); color:var(--t-orange-ink); background:var(--t-orange-soft); }
.tm .tm-row-btn.on{ background:var(--t-orange); border-color:var(--t-orange); color:var(--t-card); }
.tm .tm-row-btn.ico{ width:38px; padding:0; }

/* 表格底栏 */
.tm .tm-table-foot{
  display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap;
  padding:12px 16px; border-top:1px solid var(--t-orange-line);
  background:var(--t-card); font-size:14px; line-height:1.7; color:var(--t-ink2);
}
.tm .tm-table-foot svg{ color:var(--t-orange); flex:none; }
.tm .tm-note-inline{ display:flex; align-items:flex-start; gap:8px; }

/* 分页 */
.tm .tm-pager{
  display:flex; align-items:center; justify-content:center; gap:6px; flex-wrap:wrap;
  padding:18px 16px; border-top:1px solid var(--t-line);
}
.tm .tm-page-info{ width:100%; text-align:center; font-size:14px; color:var(--t-ink2); margin-bottom:2px; }
.tm .tm-page{
  min-width:44px; height:44px; padding:0 10px;
  border:1px solid var(--t-line); border-radius:6px;
  background:var(--t-card); color:var(--t-ink2); font-size:14px;
  display:inline-flex; align-items:center; justify-content:center;
}
.tm .tm-page:hover:not(:disabled){ border-color:var(--t-orange-line); color:var(--t-orange-ink); }
.tm .tm-page.active{ background:var(--t-orange); border-color:var(--t-orange); color:var(--t-card); font-weight:800; }
.tm .tm-page:disabled{ opacity:.45; cursor:not-allowed; }
.tm .tm-page-sep{ color:var(--t-ink3); font-size:14px; padding:0 2px; }

/* 空态 */
.tm .tm-empty{ padding:56px 24px; text-align:center; }
.tm .tm-empty-ic{
  width:64px; height:64px; margin:0 auto 14px;
  border-radius:50%; background:var(--t-orange-soft); color:var(--t-orange);
  display:flex; align-items:center; justify-content:center;
}
.tm .tm-empty h3{ font-size:17px; font-weight:800; }
.tm .tm-empty p{ margin-top:6px; font-size:16px; color:var(--t-ink2); }
.tm .tm-empty-actions{ display:flex; justify-content:center; gap:10px; flex-wrap:wrap; margin-top:18px; }

/* 卡片视图 */
.tm .tm-cards{ display:grid; grid-template-columns:1fr; gap:14px; padding:16px; }
.tm .tm-card{
  padding:18px 16px;
  background:var(--t-card); border:1px solid var(--t-line);
  border-radius:var(--t-radius); box-shadow:var(--t-shadow);
  display:flex; flex-direction:column; gap:10px;
}
.tm .tm-card--link{ transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease; }
.tm .tm-card--link:hover{ transform:translateY(-4px); border-color:var(--t-orange-line); box-shadow:var(--t-shadow-hover); }
.tm .tm-card-top{ display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.tm .tm-card-code{ font-size:17px; font-weight:800; color:var(--t-orange-ink); font-variant-numeric:tabular-nums; }
.tm .tm-card-ch{ font-size:14px; color:var(--t-ink3); }
.tm .tm-card-name{ font-size:17px; font-weight:800; line-height:1.4; }
.tm .tm-card-en{ font-size:14px; line-height:1.5; color:var(--t-ink2); }
.tm .tm-card-rates{
  display:grid; grid-template-columns:repeat(3,1fr); gap:8px;
  padding-top:10px; border-top:1px solid var(--t-line);
}
.tm .tm-card-rate span{ display:block; font-size:14px; color:var(--t-ink2); }
.tm .tm-card-rate b{ display:block; font-size:15px; font-weight:800; color:var(--t-ink); }
.tm .tm-card-actions{ display:flex; gap:8px; }
.tm .tm-card-actions .tm-btn{ flex:1; }

/* ---------- 章节总览 ---------- */
.tm .tm-grid{ display:grid; grid-template-columns:1fr; gap:14px; }
.tm .tm-sec-card{
  text-align:left; padding:20px 18px;
  background:var(--t-card); border:1px solid var(--t-line);
  border-radius:var(--t-radius); box-shadow:var(--t-shadow);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.tm .tm-sec-card:hover{ transform:translateY(-4px); border-color:var(--t-orange-line); box-shadow:var(--t-shadow-hover); }
.tm .tm-sec-top{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.tm .tm-sec-no{
  padding:2px 9px; border-radius:4px;
  background:var(--t-orange-soft); color:var(--t-orange-ink);
  font-size:14px; font-weight:800;
}
.tm .tm-sec-range{ font-size:14px; color:var(--t-ink3); }
.tm .tm-sec-card h3{ margin-top:8px; font-size:17px; line-height:1.4; font-weight:800; }
.tm .tm-sec-en{
  margin-top:2px; font-size:14px; line-height:1.5; color:var(--t-ink2);
}
.tm .tm-sec-foot{
  display:flex; align-items:center; justify-content:space-between; gap:8px;
  margin-top:12px; padding-top:10px; border-top:1px solid var(--t-line);
  font-size:14px; color:var(--t-ink2);
}
.tm .tm-sec-foot em{ font-style:normal; font-weight:800; color:var(--t-orange); }

/* ---------- 2026 调整 ---------- */
.tm .tm-adjust{ display:grid; grid-template-columns:1fr; gap:14px; }
.tm .tm-adjust-card{
  padding:22px 18px;
  background:var(--t-card); border:1px solid var(--t-line);
  border-radius:var(--t-radius); box-shadow:var(--t-shadow);
  display:flex; flex-direction:column; gap:8px;
}
.tm .tm-adjust-top{ display:flex; align-items:center; gap:10px; }
.tm .tm-adjust-no{
  width:32px; height:32px; flex:none; border-radius:50%;
  background:var(--t-orange); color:var(--t-card);
  display:inline-flex; align-items:center; justify-content:center;
  font-size:14px; font-weight:800;
}
.tm .tm-adjust-card h3{ font-size:17px; font-weight:800; line-height:1.4; }
.tm .tm-adjust-card p{ font-size:16px; line-height:1.8; color:var(--t-ink2); }
.tm .tm-adjust-card p b{ color:var(--t-ink); }
.tm .tm-adjust-check{
  margin-top:auto; padding-top:10px; border-top:1px solid var(--t-line);
  font-size:14px; line-height:1.7; color:var(--t-ink2);
}
.tm .tm-adjust-check strong{ color:var(--t-orange-ink); }
.tm .tm-adjust-card .tm-src{ font-size:14px; }

.tm .tm-src{ color:var(--t-orange-ink); border-bottom:1px solid var(--t-orange-line); }
.tm .tm-src:hover{ text-decoration:none; color:var(--t-orange); }

/* ---------- 知识卡 ---------- */
.tm .tm-know{ display:grid; grid-template-columns:1fr; gap:14px; }
.tm .tm-know-card{
  padding:24px 20px;
  background:var(--t-card); border:1px solid var(--t-line);
  border-radius:var(--t-radius); box-shadow:var(--t-shadow);
}
.tm .tm-know-card h3{ font-size:17px; font-weight:800; line-height:1.4; }
.tm .tm-know-card > p{ margin-top:6px; font-size:16px; line-height:1.8; color:var(--t-ink2); }
.tm .tm-hier{ margin-top:14px; }
.tm .tm-hier li{
  display:flex; gap:12px; padding:11px 0;
  border-bottom:1px solid var(--t-line);
}
.tm .tm-hier li:last-child{ border-bottom:0; }
.tm .tm-hier .lv{
  flex:none; width:64px; height:26px; border-radius:4px;
  background:var(--t-orange-soft); color:var(--t-orange-ink);
  font-size:14px; font-weight:800; line-height:26px; text-align:center;
}
.tm .tm-hier b{ display:block; font-size:15px; }
.tm .tm-hier span{ display:block; font-size:14px; line-height:1.6; color:var(--t-ink2); }
.tm .tm-rules li{
  position:relative; padding:9px 0 9px 0;
  border-bottom:1px solid var(--t-line);
  font-size:15px; line-height:1.8; color:var(--t-ink2);
}
.tm .tm-rules li:last-child{ border-bottom:0; }
.tm .tm-rules b{ color:var(--t-orange-ink); margin-right:6px; font-size:14px; }
.tm .tm-check li{
  display:flex; gap:8px; align-items:flex-start;
  padding:7px 0; font-size:15px; line-height:1.8; color:var(--t-ink2);
}
.tm .tm-check svg{ color:var(--t-orange); margin-top:6px; flex:none; }

/* ---------- 税率类型表 ---------- */
.tm .tm-table-block--plain{ border:1px solid var(--t-orange-line); border-radius:var(--t-radius-table); overflow:hidden; }
.tm .tm-table--rates th,.tm .tm-table--rates td{ font-size:15px; }
.tm .tm-table td.tm-nowrap{ white-space:nowrap; }
.tm .tm-table--rates tbody th{ width:150px; font-weight:800; color:var(--t-ink); }
.tm .tm-tag{
  display:inline-block; padding:1px 9px; border-radius:var(--t-radius-pill);
  background:var(--t-orange-soft); color:var(--t-orange-ink);
  font-size:14px; font-weight:700;
}

/* ---------- FAQ ---------- */
.tm .tm-faq{
  padding:32px 28px;
  background:var(--t-card); border:1px solid var(--t-line);
  border-radius:var(--t-radius); box-shadow:var(--t-shadow);
}
.tm .tm-faq-item{
  border-bottom:1px solid var(--t-line); border-radius:10px;
  transition:background-color .25s ease;
}
.tm .tm-faq-item:last-child{ border-bottom:0; }
.tm .tm-faq-item.open{ background:var(--t-orange-soft); }
.tm .tm-faq-q-wrap{ margin:0; padding:0; font:inherit; display:block; width:100%; }
.tm .tm-faq-q{
  display:flex; align-items:center; gap:12px; width:100%;
  min-height:44px; padding:18px 16px;
  border:0; border-radius:10px; background:none;
  color:var(--t-ink); font-size:17px; line-height:1.6; font-weight:800;
  text-align:left;
  transition:background-color .2s ease,color .2s ease;
}
.tm .tm-faq-q:hover{ background:var(--t-bg); color:var(--t-orange-ink); }
.tm .tm-faq-q .q-text{ flex:1; min-width:0; word-break:break-word; white-space:normal; }
.tm .tm-faq-q .q-arrow{
  margin-left:auto; flex:none; width:28px; height:28px; padding:4px;
  border-radius:50%;
  background:var(--t-orange-soft); color:var(--t-orange);
  transition:transform .25s ease,background-color .25s ease,color .25s ease;
}
.tm .tm-faq-item.open .tm-faq-q{ color:var(--t-orange-ink); }
.tm .tm-faq-item.open .tm-faq-q:hover{ background:transparent; }
.tm .tm-faq-item.open .q-arrow{ background:var(--t-orange); color:var(--t-card); transform:rotate(180deg); }
.tm .tm-faq-q:focus-visible{ outline:2px solid var(--t-orange); outline-offset:-2px; }
.tm .tm-faq-a{
  padding:0 18px 18px 50px;
  font-size:16px; line-height:1.85; color:var(--t-ink);
}
.tm .tm-faq-a a{ border-bottom:1px solid var(--t-orange-line); }
.tm .tm-faq-a strong{ color:var(--t-ink); }

/* ---------- 来源与复核 ---------- */
.tm .tm-source-card{
  padding:28px;
  background:var(--t-card); border:1px solid var(--t-line);
  border-left:4px solid var(--t-orange);
  border-radius:var(--t-radius); box-shadow:var(--t-shadow);
}
.tm .tm-source-card h2{ font-size:22px; line-height:1.4; }
.tm .tm-source-card p{ margin-top:8px; font-size:16px; line-height:1.85; color:var(--t-ink2); }
.tm .tm-source-list{ display:grid; grid-template-columns:1fr; gap:10px; margin-top:16px; }
.tm .tm-source-list a{
  display:flex; align-items:flex-start; gap:8px;
  padding:12px 14px; border:1px solid var(--t-line); border-radius:var(--t-radius-sm);
  background:var(--t-bg); font-size:15px; line-height:1.6; color:var(--t-ink);
}
.tm .tm-source-list a:hover{ border-color:var(--t-orange-line); background:var(--t-orange-soft); color:var(--t-orange-ink); }
.tm .tm-source-list svg{ color:var(--t-orange); margin-top:4px; flex:none; }
.tm .tm-source-list small{ display:block; font-size:14px; color:var(--t-ink2); }
.tm .tm-source-meta{
  display:flex; flex-wrap:wrap; gap:6px 20px;
  margin-top:14px; padding-top:14px; border-top:1px solid var(--t-line);
  font-size:14px; color:var(--t-ink2);
}

/* ---------- 页脚 ---------- */
.tm .tm-footer{
  margin-top:8px; padding:48px 0 24px;
  background:var(--t-ink); color:var(--t-ink3);
}
.tm .tm-footer a{ color:var(--t-card); }
.tm .tm-footer a:hover{ color:var(--t-orange-line); }
.tm .tm-footer-grid{ display:grid; grid-template-columns:1fr; gap:28px; }
.tm .tm-footer-brand{ display:flex; align-items:center; gap:10px; }
.tm .tm-footer-brand strong{ font-size:18px; color:var(--t-card); }
.tm .tm-footer-brand small{ display:block; font-size:14px; color:var(--t-ink3); }
.tm .tm-footer-desc{ margin-top:12px; max-width:42ch; font-size:14px; line-height:1.8; }
.tm .tm-footer h3{ margin-bottom:10px; font-size:15px; font-weight:800; color:var(--t-card); }
.tm .tm-footer li{ margin-bottom:8px; }
.tm .tm-footer li a{ font-size:14px; color:var(--t-ink3); }
.tm .tm-footer li a:hover{ color:var(--t-card); }
.tm .tm-footer-bottom{
  display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap;
  margin-top:32px; padding-top:18px; border-top:1px solid var(--t-ink-nav);
  font-size:14px; color:var(--t-ink3);
}

/* ---------- 详情抽屉 ---------- */
.tm .tm-backdrop{
  position:fixed; inset:0; z-index:130;
  background:var(--t-overlay);
  opacity:0; visibility:hidden; transition:opacity .25s ease,visibility .25s ease;
}
.tm .tm-backdrop.open{ opacity:1; visibility:visible; }
.tm .tm-drawer{
  position:fixed; top:0; right:0; bottom:0; z-index:140;
  width:min(560px,100%);
  display:flex; flex-direction:column;
  background:var(--t-card);
  box-shadow:var(--t-shadow-drawer);
  transform:translateX(102%); visibility:hidden;
  transition:transform .3s ease,visibility .3s ease;
}
.tm .tm-drawer.open{ transform:translateX(0); visibility:visible; }
.tm .tm-drawer-head{ padding:22px 24px 0; }
.tm .tm-drawer-top{ display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.tm .tm-drawer-main{ min-width:0; flex:1 1 auto; }
.tm .tm-drawer-eyebrow{
  display:block; max-width:100%;
  font-size:14px; font-weight:800; letter-spacing:.06em; color:var(--t-orange-ink);
  white-space:normal; overflow:visible; text-overflow:clip; line-height:1.5;
}
.tm .tm-drawer h2{ margin-top:2px; font-size:20px; line-height:1.4; font-weight:800; }
.tm .tm-drawer-open{
  display:inline-flex; align-items:center; gap:6px;
  min-height:36px; margin-top:6px; padding:0;
  border:0; background:none;
  color:var(--t-orange-ink); font-size:15px; font-weight:800;
}
.tm .tm-drawer-open:hover{ color:var(--t-orange); text-decoration:underline; }
.tm .tm-drawer-open svg{ flex:none; }
.tm .tm-icon-btn{
  width:44px; height:44px; padding:0; flex:none;
  display:inline-flex; align-items:center; justify-content:center;
  border:1px solid var(--t-line); border-radius:var(--t-radius-sm);
  background:var(--t-card); color:var(--t-ink2);
}
.tm .tm-icon-btn:hover{ border-color:var(--t-orange-line); color:var(--t-orange-ink); background:var(--t-orange-soft); }
.tm .tm-drawer-actions{ display:flex; align-items:center; gap:8px; flex:none; }
.tm .tm-drawer-names{ padding:14px 24px 16px; border-bottom:1px solid var(--t-line); }
.tm .tm-drawer-names strong{ display:block; font-size:16px; line-height:1.6; font-weight:800; }
.tm .tm-drawer-names span{ display:block; font-size:14px; color:var(--t-ink2); line-height:1.5; }
.tm .tm-drawer-tabs{
  display:flex; gap:2px; padding:0 24px; border-bottom:1px solid var(--t-line);
  overflow-x:auto; scrollbar-width:none;
}
.tm .tm-drawer-tabs::-webkit-scrollbar{ display:none; }
.tm .tm-dtab{
  position:relative; min-height:44px; padding:10px 12px;
  border:0; background:none; color:var(--t-ink2);
  font-size:15px; font-weight:700; white-space:nowrap;
}
.tm .tm-dtab:hover{ color:var(--t-orange-ink); }
.tm .tm-dtab.active{ color:var(--t-orange); }
.tm .tm-dtab.active::after{
  content:""; position:absolute; left:10px; right:10px; bottom:-1px;
  height:2px; background:var(--t-orange); border-radius:2px;
}
.tm .tm-drawer-body{ flex:1; overflow-y:auto; padding:20px 24px 28px; }
.tm .tm-drawer-foot{
  display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap;
  padding:12px 24px; border-top:1px solid var(--t-line);
  background:var(--t-bg); font-size:14px; color:var(--t-ink2);
}

.tm .tm-tax-grid{ display:grid; grid-template-columns:1fr; gap:10px; }
.tm .tm-tax{
  padding:12px 14px;
  background:var(--t-bg); border:1px solid var(--t-line);
  border-radius:var(--t-radius-sm);
}
.tm .tm-tax--hl{ background:var(--t-orange-soft); border-color:var(--t-orange-line); }
.tm .tm-tax-label{ font-size:14px; color:var(--t-ink2); }
.tm .tm-tax-val{ margin-top:2px; font-size:20px; line-height:1.3; font-weight:800; color:var(--t-ink); font-variant-numeric:tabular-nums; }
.tm .tm-tax--hl .tm-tax-val{ color:var(--t-orange); }
.tm .tm-tax-val small{ display:block; font-size:14px; font-weight:400; color:var(--t-ink2); margin-top:2px; }
.tm .tm-callout{
  display:flex; gap:8px; align-items:flex-start;
  margin-top:16px; padding:12px 14px;
  background:var(--t-orange-soft); border:1px solid var(--t-orange-line);
  border-radius:var(--t-radius-sm);
  font-size:14px; line-height:1.7; color:var(--t-ink2);
}
.tm .tm-callout svg{ color:var(--t-orange); flex:none; margin-top:3px; }
.tm .tm-dblock{ margin-top:20px; }
.tm .tm-dblock h3{
  display:flex; align-items:center; gap:8px;
  font-size:15px; font-weight:800; margin-bottom:8px;
}
.tm .tm-dblock h3::before{ content:""; width:3px; height:14px; background:var(--t-orange); border-radius:2px; }
.tm .tm-dblock p{ font-size:15px; line-height:1.85; color:var(--t-ink2); }
.tm .tm-decl li{
  display:flex; gap:10px; align-items:flex-start;
  padding:9px 0; border-bottom:1px solid var(--t-line);
  font-size:15px; line-height:1.7; color:var(--t-ink2);
}
.tm .tm-decl li:last-child{ border-bottom:0; }
.tm .tm-decl .no{
  flex:none; width:24px; height:24px; border-radius:5px;
  background:var(--t-orange-soft); color:var(--t-orange-ink);
  font-size:14px; font-weight:800; line-height:24px; text-align:center;
}
.tm .tm-decl b{ display:block; color:var(--t-ink); font-size:15px; }
.tm .tm-taglist{ display:flex; flex-wrap:wrap; gap:6px; margin-bottom:10px; }
.tm .tm-taglist .tm-tag{ font-size:14px; }
.tm .tm-legend{ display:flex; flex-direction:column; gap:8px; }
.tm .tm-legend-row{
  display:flex; gap:10px; align-items:flex-start;
  padding:10px 12px; border:1px solid var(--t-line); border-radius:var(--t-radius-sm);
  background:var(--t-bg);
}
.tm .tm-legend-code{
  flex:none; min-width:30px; height:24px; padding:0 6px;
  border-radius:4px; background:var(--t-ink); color:var(--t-card);
  font-size:14px; font-weight:800; line-height:24px; text-align:center;
}
.tm .tm-legend-row p{ font-size:14px; line-height:1.7; color:var(--t-ink2); }
.tm .tm-legend-row b{ color:var(--t-ink); }
.tm .tm-rel{ display:flex; flex-direction:column; gap:8px; }
.tm .tm-rel-item{
  display:flex; align-items:center; gap:10px; width:100%;
  min-height:44px; padding:9px 12px;
  border:1px solid var(--t-line); border-radius:var(--t-radius-sm);
  background:var(--t-card); text-align:left;
}
.tm .tm-rel-item:hover{ border-color:var(--t-orange-line); background:var(--t-orange-soft); }
.tm .tm-rel-item b{ flex:none; font-size:14px; color:var(--t-orange-ink); font-variant-numeric:tabular-nums; }
.tm .tm-rel-item span{
  flex:1; min-width:0; font-size:14px; color:var(--t-ink);
  white-space:normal; overflow-wrap:anywhere;
}
.tm .tm-rel-item svg{ color:var(--t-orange); flex:none; }

/* ---------- 对比 ---------- */
.tm .tm-compare-bar{
  position:fixed; left:50%; bottom:20px; z-index:110;
  width:min(920px,calc(100% - 32px));
  transform:translate(-50%,16px); opacity:0; visibility:hidden;
  transition:opacity .25s ease,transform .25s ease,visibility .25s ease;
}
.tm .tm-compare-bar.open{ opacity:1; visibility:visible; transform:translate(-50%,0); }
.tm .tm-compare-inner{
  display:flex; align-items:center; gap:12px; flex-wrap:wrap;
  padding:10px 12px 10px 16px;
  background:var(--t-ink); color:var(--t-card);
  border-radius:var(--t-radius); box-shadow:var(--t-shadow-float);
}
.tm .tm-compare-label{ display:flex; align-items:center; gap:8px; font-size:14px; color:var(--t-ink3); }
.tm .tm-compare-count{
  width:26px; height:26px; border-radius:50%;
  background:var(--t-orange); color:var(--t-card);
  font-size:14px; font-weight:800; line-height:26px; text-align:center;
}
.tm .tm-compare-chips{ display:flex; gap:6px; flex:1; overflow-x:auto; padding:2px; scrollbar-width:none; }
.tm .tm-compare-chips::-webkit-scrollbar{ display:none; }
.tm .tm-compare-chip{
  display:inline-flex; align-items:center; gap:6px; flex:none;
  min-height:32px; padding:2px 8px;
  border:1px solid var(--t-ink-nav); border-radius:6px;
  font-size:14px; color:var(--t-card);
}
.tm .tm-compare-chip button{ border:0; background:none; color:var(--t-ink3); padding:2px; font-size:16px; line-height:1; }
.tm .tm-compare-chip button:hover{ color:var(--t-card); }
.tm .tm-compare-actions{ display:flex; gap:8px; }
.tm .tm-compare-actions .tm-btn-ghost{ background:transparent; border-color:var(--t-ink-nav); color:var(--t-card); }
.tm .tm-compare-actions .tm-btn-ghost:hover{ background:var(--t-ink-nav); color:var(--t-card); }

.tm .tm-modal{
  position:fixed; inset:0; z-index:150;
  display:flex; align-items:center; justify-content:center; padding:20px;
  background:var(--t-overlay);
  opacity:0; visibility:hidden; transition:opacity .22s ease,visibility .22s ease;
}
.tm .tm-modal.open{ opacity:1; visibility:visible; }
.tm .tm-modal-panel{
  width:min(920px,100%); max-height:min(88vh,760px);
  display:flex; flex-direction:column; overflow:hidden;
  background:var(--t-card); border-radius:var(--t-radius);
  box-shadow:var(--t-shadow-modal);
  transform:translateY(10px); transition:transform .22s ease;
}
.tm .tm-modal.open .tm-modal-panel{ transform:none; }
.tm .tm-modal-head{
  display:flex; align-items:flex-start; justify-content:space-between; gap:12px;
  padding:20px 24px 14px; border-bottom:1px solid var(--t-line);
}
.tm .tm-modal-head h2{ font-size:20px; font-weight:800; }
.tm .tm-modal-body{ overflow:auto; padding:18px 24px 24px; }
.tm .tm-cmp-table th,.tm .tm-cmp-table td{
  border:1px solid var(--t-orange-line); padding:10px 12px;
  font-size:14px; text-align:left; vertical-align:top;
}
.tm .tm-cmp-table thead th{ background:var(--t-bg); font-weight:800; }
.tm .tm-cmp-table tbody th{ background:var(--t-bg); width:110px; color:var(--t-ink2); font-weight:700; }
.tm .tm-cmp-code{ font-weight:800; color:var(--t-orange-ink); font-variant-numeric:tabular-nums; }

/* ---------- Toast ---------- */
.tm .tm-toast{
  position:fixed; left:50%; bottom:92px; z-index:160;
  transform:translate(-50%,12px); opacity:0; visibility:hidden;
  max-width:calc(100% - 32px); padding:10px 18px;
  background:var(--t-ink); color:var(--t-card);
  border-radius:var(--t-radius-sm); font-size:14px; line-height:1.6;
  transition:opacity .22s ease,transform .22s ease,visibility .22s ease;
}
.tm .tm-toast.open{ opacity:1; visibility:visible; transform:translate(-50%,0); }

/* ---------- 响应式：仅 640 / 720 / 1024 / 1500 ---------- */
@media(min-width:640px){
  .tm .tm-grid,.tm .tm-adjust,.tm .tm-know,.tm .tm-source-list{ grid-template-columns:repeat(2,1fr); }
  .tm .tm-cards{ grid-template-columns:repeat(2,1fr); }
  .tm .tm-tax-grid{ grid-template-columns:repeat(2,1fr); }
  .tm .tm-footer-grid{ grid-template-columns:repeat(2,1fr); }
  .tm .tm-sub{ font-size:18px; }
}

@media(min-width:720px){
  /* 中等宽度优先保证可读性：结果表隐藏次要税率列 */
  .tm .tm-table--results th:nth-child(3),.tm .tm-table--results td:nth-child(3),
  .tm .tm-table--results th:nth-child(5),.tm .tm-table--results td:nth-child(5),
  .tm .tm-table--results th:nth-child(6),.tm .tm-table--results td:nth-child(6){ display:none; }
  .tm .tm-table--results th:last-child,.tm .tm-table--results td:last-child{ width:112px; }
}

@media(min-width:1024px){
  .tm .tm-table--results th:nth-child(3),.tm .tm-table--results td:nth-child(3),
  .tm .tm-table--results th:nth-child(5),.tm .tm-table--results td:nth-child(5),
  .tm .tm-table--results th:nth-child(6),.tm .tm-table--results td:nth-child(6){ display:table-cell; }
  .tm .tm-grid,.tm .tm-adjust,.tm .tm-know{ grid-template-columns:repeat(3,1fr); }
  .tm .tm-cards{ grid-template-columns:repeat(3,1fr); }
  .tm .tm-footer-grid{ grid-template-columns:1.2fr 1fr 1fr 1fr; }
  .tm .tm-section-title{ font-size:28px; }
  .tm .tm-section-sub{ font-size:17px; }
  .tm .tm-sub{ font-size:18px; }
  .tm .tm-table,.tm .tm-table th,.tm .tm-table td{ font-size:16px; }
  .tm .tm-table thead th{ font-size:16px; }
  .tm .tm-code{ font-size:16px; }
  .tm .tm-name{ font-size:16px; }
  .tm .tm-faq-q{ font-size:18px; }
  .tm .tm-faq-a{ font-size:17px; }
  .tm .tm-hero{ padding:56px 0 28px; }
  .tm .tm-section{ padding:64px 0; }
  .tm #query{ padding-top:36px; }
  .tm .tm-source-list{ grid-template-columns:repeat(2,1fr); }
}

@media(max-width:640px){
  .tm .tm-wrap{ padding-inline:16px; }
  .tm .tm-notice{ display:none; }
  .tm .tm-notice-inner{ justify-content:center; text-align:center; }
  .tm .tm-header-inner{ min-height:60px; gap:12px; flex-wrap:wrap; }
  .tm .tm-nav{ display:none; }
  .tm .tm-menu{ display:inline-flex; }
  .tm .tm-header-actions{ margin-left:auto; }
  .tm .tm-header-actions .tm-btn-primary{ display:none; }
  .tm .tm-nav.open{
    display:flex; flex-direction:column; align-items:stretch; gap:0;
    position:absolute; left:-16px; right:-16px; top:100%;
    margin:0; padding:8px 16px 14px;
    background:var(--t-card); border-bottom:1px solid var(--t-line);
    box-shadow:var(--t-shadow);
  }
  .tm .tm-nav.open a{ padding:12px 10px; font-size:16px; }
  .tm .tm-hero{ padding:32px 0 20px; }
  .tm .tm-title{ font-size:clamp(1.75rem,6.5vw,2.25rem); }
  .tm .tm-sub{ font-size:16px; }
  .tm .tm-search{ flex-wrap:wrap; padding:8px 10px; }
  .tm .tm-search .ic{ margin-left:4px; }
  .tm .tm-q{ height:44px; flex-basis:calc(100% - 120px); }
  .tm .tm-search .tm-btn{ width:100%; }
  .tm .tm-hot button{ min-height:44px; display:inline-flex; align-items:center; }
  .tm .tm-chip{ min-height:44px; }
  .tm .tm-select{ height:44px; }
  .tm .tm-view button{ width:44px; height:44px; }
  .tm .tm-clear{ width:44px; height:44px; }
  .tm .tm-hot{ overflow-x:auto; flex-wrap:nowrap; justify-content:flex-start; padding-bottom:4px; scrollbar-width:none; }
  .tm .tm-hot::-webkit-scrollbar{ display:none; }
  .tm .tm-hot span,.tm .tm-hot button{ flex:none; }
  .tm .tm-section{ padding:40px 0; }
  .tm #query{ padding-top:20px; }
  .tm .tm-section-title{ font-size:20px; }
  .tm .tm-section-sub{ font-size:15px; }
  .tm .tm-toolbar{ padding:14px; }
  .tm .tm-toolbar--titled{ padding-bottom:24px; }
  .tm .tm-controls{ width:100%; justify-content:space-between; }
  .tm .tm-chips{ padding:10px 14px; }
  .tm .tm-table thead{ display:none; }
  .tm .tm-table,.tm .tm-table tbody,.tm .tm-table tr,.tm .tm-table td{ display:block; width:100%; }
  .tm .tm-table tr{
    margin-bottom:12px; border:1px solid var(--t-orange-line);
    border-radius:var(--t-radius-table); overflow:hidden; background:var(--t-card);
  }
  .tm .tm-table td{
    border:0; border-bottom:1px solid var(--t-orange-line);
    padding:10px 14px; display:flex; align-items:flex-start; justify-content:space-between; gap:14px;
  }
  .tm .tm-table td:last-child{ border-bottom:0; }
  .tm .tm-table td::before{
    content:attr(data-label); flex:none; color:var(--t-ink2);
    font-size:14px; font-weight:700;
  }
  .tm .tm-table td[data-label=""]::before{ display:none; }
  .tm .tm-table td.tm-nowrap{ white-space:normal; }
  /* 税率类型表：移动端改为逐条卡片 */
  .tm .tm-table-block--plain{ border:0; border-radius:0; overflow:visible; background:transparent; }
  .tm .tm-table--rates tbody tr{
    display:block; width:100%; margin:0 0 10px; padding:14px;
    border:1px solid var(--t-orange-line); border-radius:var(--t-radius-table);
    background:var(--t-card);
  }
  .tm .tm-table--rates tbody tr:last-child{ margin-bottom:0; }
  .tm .tm-table--rates tbody th[scope="row"]{
    display:block; width:auto; padding:0 0 8px; border:0;
  }
  .tm .tm-table--rates tbody td{
    display:block; width:auto; padding:6px 0 0; border:0;
  }
  .tm .tm-table--rates tbody td::before{
    display:block; margin-bottom:2px;
    font-size:14px; font-weight:700; color:var(--t-ink3);
  }
  .tm .tm-table--rates tbody td:nth-of-type(1)::before{ content:"适用对象"; }
  .tm .tm-table--rates tbody td:nth-of-type(2)::before{ content:"说明"; }
  .tm .tm-table--rates tbody td:last-child{ padding-bottom:0; border:0; }
  .tm .tm-table--rates .tm-nowrap{ white-space:normal; }
  .tm .tm-actions{ justify-content:flex-end; }
  .tm .tm-row-btn{ min-height:44px; }
  .tm .tm-row-btn.ico{ width:44px; }
  .tm .tm-pager{ padding:14px 10px; }
  .tm .tm-page{ min-width:44px; height:44px; }
  .tm .tm-empty{ padding:40px 18px; }
  .tm .tm-cards{ grid-template-columns:1fr; padding:14px; }
  .tm .tm-faq{ padding:20px 16px; }
  .tm .tm-faq-q{ padding:14px 12px; font-size:16px; }
  .tm .tm-faq-a{ padding:0 12px 14px 42px; }
  .tm .tm-faq-q .q-arrow{ width:24px; height:24px; padding:3px; }
  .tm .tm-source-card{ padding:20px 16px; }
  .tm .tm-source-card h2{ font-size:20px; }
  .tm .tm-drawer-head,.tm .tm-drawer-names,.tm .tm-drawer-body{ padding-inline:16px; }
  .tm .tm-drawer-tabs{ padding-inline:12px; }
  .tm .tm-drawer-foot{ padding-inline:16px; }
  .tm .tm-tax-val{ font-size:18px; }
  .tm .tm-compare-label span:last-child{ display:none; }
  .tm .tm-compare-inner{ padding-left:12px; }
  .tm .tm-compare-chips{ order:3; flex-basis:100%; }
  .tm .tm-compare-actions{ margin-left:auto; }
  .tm .tm-modal{ padding:10px; }
  .tm .tm-footer{ padding-top:36px; }
  .tm .tm-footer-bottom{ justify-content:center; text-align:center; }
}

@media(min-width:1500px){
  .tm{ --t-maxw:1450px; }
}

@media(prefers-reduced-motion:reduce){
  .tm *,.tm *::before,.tm *::after{
    animation-duration:.001ms!important;
    animation-iteration-count:1!important;
    transition-duration:.001ms!important;
    scroll-behavior:auto!important;
  }
}

@media print{
  .tm .tm-header,.tm .tm-notice,.tm .tm-progress,.tm .tm-search,
  .tm .tm-compare-bar,.tm .tm-drawer,.tm .tm-backdrop,.tm .tm-modal,.tm .tm-footer{ display:none!important; }
  .tm{ background:#fff; }
  .tm .tm-table{ font-size:14px; }
}

/* =========================================================
   美国商标分类 · 页面专属组件
   ========================================================= */
.tm .tm-title{ max-width:none; text-wrap:balance; }
.tm .tm-breadcrumb{
  display:flex; align-items:center; justify-content:center; gap:8px;
  margin-bottom:18px; font-size:14px; color:var(--t-ink2);
}
.tm .tm-breadcrumb a{ color:var(--t-ink2); }
.tm .tm-breadcrumb a:hover{ color:var(--t-orange-ink); }
.tm .tm-breadcrumb svg{ color:var(--t-orange); flex:none; }
.tm .tm-breadcrumb span{ color:var(--t-ink2); }

/* 45 类总览 */
.tm .tm-class-group{ margin-bottom:32px; }
.tm .tm-class-group:last-child{ margin-bottom:0; }
.tm .tm-class-group-head{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  margin-bottom:14px; padding-bottom:10px; border-bottom:1px solid var(--t-orange-line);
}
.tm .tm-class-group-head h3{
  display:flex; align-items:center; gap:10px;
  font-size:18px; font-weight:800; line-height:1.4;
}
.tm .tm-class-group-head .tm-group-no{
  padding:2px 9px; border-radius:4px;
  background:var(--t-orange-soft); color:var(--t-orange-ink);
  font-size:14px; font-weight:800;
}
.tm .tm-class-group-head span.tm-group-count{ font-size:14px; color:var(--t-ink2); }
.tm .tm-class-grid{ display:grid; grid-template-columns:1fr; gap:14px; }
.tm .tm-class-card{ text-decoration:none; color:inherit; cursor:pointer;
  display:flex; flex-direction:column; gap:6px;
  padding:20px 18px; text-align:left;
  background:var(--t-card); border:1px solid var(--t-line);
  border-radius:var(--t-radius); box-shadow:var(--t-shadow);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.tm .tm-class-card:hover{
  transform:translateY(-4px);
  border-color:var(--t-orange-line);
  box-shadow:var(--t-shadow-hover);
}
.tm .tm-class-top{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.tm .tm-class-no{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:36px; padding:1px 8px; border-radius:4px;
  background:var(--t-orange-soft); color:var(--t-orange-ink);
  font-size:14px; font-weight:800; font-variant-numeric:tabular-nums;
}
.tm .tm-class-card h3{ font-size:17px; line-height:1.4; font-weight:800; }
.tm .tm-class-en{ font-size:14px; line-height:1.5; color:var(--t-ink2); }
.tm .tm-class-desc{
  font-size:14px; line-height:1.7; color:var(--t-ink2);
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.tm .tm-class-foot{
  display:flex; align-items:center; justify-content:space-between; gap:8px;
  margin-top:auto; padding-top:10px; border-top:1px solid var(--t-line);
  font-size:14px; line-height:1.5; color:var(--t-ink2);
}
.tm .tm-class-foot em{ font-style:normal; font-weight:800; color:var(--t-orange); white-space:nowrap; }
.tm .tm-class-links{ display:flex; flex-wrap:wrap; gap:8px; margin-top:28px; padding-top:22px; border-top:1px solid var(--t-line); }
.tm .tm-class-links a{
  display:inline-flex; align-items:center; gap:5px;
  padding:6px 10px; border:1px solid var(--t-line); border-radius:6px;
  background:var(--t-card); color:var(--t-ink2); font-size:14px; font-weight:600;
}
.tm .tm-class-links a:hover{ border-color:var(--t-orange-line); background:var(--t-orange-soft); color:var(--t-orange-ink); }
.tm .tm-class-links b{ color:var(--t-orange-ink); font-variant-numeric:tabular-nums; }

/* 类型标签 */
.tm .tm-type{
  display:inline-block; flex:none;
  padding:1px 9px; border-radius:var(--t-radius-pill);
  font-size:14px; font-weight:700; line-height:1.6; white-space:nowrap;
}
.tm .tm-type--goods{ background:var(--t-orange-soft); color:var(--t-orange-ink); }
.tm .tm-type--service{ background:var(--t-bg); color:var(--t-ink2); border:1px solid var(--t-line); }

/* 结果表补充 */
.tm .tm-table--classes th:last-child,
.tm .tm-table--classes td:last-child{ width:176px; }
.tm .tm-name-wrap{ display:block; min-width:0; max-width:100%; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.tm .tm-name{ display:inline; font-size:15px; font-weight:700; color:var(--t-ink); }
.tm .tm-name-en{ display:inline; font-size:14px; line-height:1.5; color:var(--t-ink2); margin-top:0; }
.tm .tm-name-sep{ margin-right:4px; color:var(--t-ink3); }
.tm .tm-example-inline{ font-size:14px; line-height:1.7; color:var(--t-ink2); }
.tm .tm-rel-inline{
  font-size:14px; font-weight:700; color:var(--t-ink2);
  font-variant-numeric:tabular-nums; white-space:nowrap;
}

/* 结果卡片补充 */
.tm .tm-card-desc{ font-size:14px; line-height:1.7; color:var(--t-ink2); }
.tm .tm-card-meta{ display:flex; align-items:flex-start; gap:8px; flex-wrap:wrap; }
.tm .tm-card-ex{ font-size:14px; line-height:1.6; color:var(--t-ink2); }

/* 详情抽屉补充 */
.tm .tm-example-list{ display:flex; flex-wrap:wrap; gap:8px; }
.tm .tm-example{
  padding:4px 10px; border:1px solid var(--t-line);
  border-radius:var(--t-radius-pill); background:var(--t-bg);
  font-size:14px; line-height:1.6; color:var(--t-ink);
}
.tm .tm-decl span{ display:block; font-size:14px; line-height:1.7; color:var(--t-ink2); }
.tm .tm-links{ display:flex; flex-direction:column; gap:8px; }
.tm .tm-links a{
  display:flex; flex-direction:column; gap:2px;
  padding:10px 12px; border:1px solid var(--t-line);
  border-radius:var(--t-radius-sm); background:var(--t-bg);
  font-size:15px; font-weight:700; line-height:1.6; color:var(--t-ink);
}
.tm .tm-links a:hover{ border-color:var(--t-orange-line); background:var(--t-orange-soft); color:var(--t-orange-ink); }
.tm .tm-links a span{ font-size:14px; font-weight:400; color:var(--t-ink2); }

/* 行业速查表 */
.tm .tm-section-head--sub{ margin-top:36px; margin-bottom:14px; }
.tm .tm-section-title--sm{ font-size:18px; }
.tm .tm-table--industry tbody th{ width:120px; font-weight:800; color:var(--t-ink); }
.tm .tm-table--industry td{ font-size:15px; }

@media(min-width:640px){
  .tm .tm-class-grid{ grid-template-columns:repeat(2,1fr); }
}
@media(min-width:720px){
  .tm .tm-table--classes th:nth-child(5),
  .tm .tm-table--classes td:nth-child(5){ display:none; }
}
@media(min-width:1024px){
  .tm .tm-class-grid{ grid-template-columns:repeat(3,1fr); }
  .tm .tm-table--classes th:nth-child(5),
  .tm .tm-table--classes td:nth-child(5){ display:table-cell; }
  .tm .tm-section-title--sm{ font-size:20px; }
  .tm .tm-class-card h3{ font-size:18px; }
}
@media(max-width:640px){
  .tm .tm-breadcrumb{ justify-content:flex-start; margin-bottom:12px; }
  .tm .tm-class-group{ margin-bottom:24px; }
  .tm .tm-class-group-head{ align-items:flex-start; flex-direction:column; gap:4px; }
  .tm .tm-table--industry tbody th[scope="row"]{
    display:block; width:auto; padding:0 0 6px; border:0;
    font-size:16px;
  }
  .tm .tm-table--industry tbody tr{
    display:block; width:100%; margin:0 0 10px; padding:14px;
    border:1px solid var(--t-orange-line); border-radius:var(--t-radius-table);
    background:var(--t-card);
  }
  .tm .tm-table--industry tbody td{
    display:block; width:auto; padding:4px 0 0; border:0;
  }
  .tm .tm-table--industry tbody td::before{
    display:block; margin-bottom:2px;
    font-size:14px; font-weight:700; color:var(--t-ink3);
  }
  .tm .tm-table--industry tbody tr:last-child{ margin-bottom:0; }
  .tm .tm-links a{ padding:11px 12px; }
}

/* =========================================================
   尼斯分类二级页
   ========================================================= */
.tm .tm-cat-page{ padding-top:34px; }
.tm .tm-cat-crumbs{ justify-content:flex-start; margin-bottom:16px; }
.tm .tm-cat-crumbs button{
  padding:0; border:0; background:none; font:inherit; color:var(--t-ink2); cursor:pointer;
}
.tm .tm-cat-crumbs button:hover{ color:var(--t-orange-ink); }
.tm .tm-cat-hero{
  position:relative; display:flex; align-items:flex-start; justify-content:space-between; gap:26px;
  padding:30px 32px; overflow:hidden;
  border:1px solid var(--t-orange-line); border-radius:16px;
  background:linear-gradient(135deg,var(--t-orange-soft) 0%,var(--t-card) 62%);
  box-shadow:var(--t-shadow);
}
.tm .tm-cat-hero::after{
  content:''; position:absolute; right:-80px; top:-90px;
  width:280px; height:280px; border-radius:50%;
  background:radial-gradient(circle,rgba(255,85,0,.16),rgba(255,85,0,0) 68%);
  pointer-events:none;
}
.tm .tm-cat-hero-main{ position:relative; z-index:1; min-width:0; max-width:840px; }
.tm .tm-cat-title{
  margin-top:6px; font-size:clamp(24px,3vw,38px); line-height:1.28;
  font-weight:900; letter-spacing:-.01em; text-wrap:balance;
}
.tm .tm-cat-intro{ margin-top:10px; font-size:16px; line-height:1.8; color:var(--t-ink2); }
.tm .tm-cat-meta{ display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.tm .tm-cat-meta span{
  padding:3px 10px; border:1px solid var(--t-line); border-radius:var(--t-radius-pill);
  background:var(--t-card); font-size:14px; line-height:1.6; color:var(--t-ink2);
}
.tm .tm-cat-meta b{ color:var(--t-orange-ink); font-variant-numeric:tabular-nums; }
.tm .tm-cat-actions{ display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.tm .tm-cat-badge{
  position:relative; z-index:1; flex:none;
  width:112px; height:112px; border-radius:20px;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  background:linear-gradient(135deg,#ff5500,#ff8a3d); color:#fff;
  box-shadow:0 14px 28px rgba(255,85,0,.26);
}
.tm .tm-cat-badge b{ font-size:42px; line-height:1; font-weight:900; font-variant-numeric:tabular-nums; }
.tm .tm-cat-badge span{ margin-top:6px; font-size:14px; letter-spacing:.14em; opacity:.82; }
.tm .tm-cat-layout{ display:grid; grid-template-columns:1fr; gap:22px; margin-top:22px; }
.tm .tm-cat-main{ min-width:0; display:flex; flex-direction:column; gap:22px; }
.tm .tm-cat-notes,.tm .tm-cat-items,.tm .tm-side-card{
  padding:22px; background:var(--t-card);
  border:1px solid var(--t-line); border-radius:var(--t-radius);
  box-shadow:var(--t-shadow);
}
.tm .tm-cat-block-head{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  margin-bottom:14px; padding-bottom:12px; border-bottom:1px solid var(--t-line);
}
.tm .tm-cat-block-head h2{ font-size:18px; line-height:1.4; font-weight:800; }
.tm .tm-cat-block-head span{ font-size:14px; color:var(--t-ink3); }
.tm .tm-cat-ann-intro{ font-size:15px; line-height:1.9; color:var(--t-ink); }
.tm .tm-cat-notes h3{ margin:18px 0 8px; font-size:15px; line-height:1.5; font-weight:800; }
.tm .tm-ann-list{ list-style:none; display:flex; flex-direction:column; gap:6px; }
.tm .tm-ann-list li{
  position:relative; padding-left:20px;
  font-size:14px; line-height:1.8; color:var(--t-ink2);
}
.tm .tm-ann-list li::before{
  content:'—'; position:absolute; left:0; top:0;
  color:var(--t-orange); font-weight:800;
}
.tm .tm-ann-list--exclude li::before{ content:'×'; color:var(--t-ink3); }
.tm .tm-cat-items-head{
  display:flex; align-items:flex-end; justify-content:space-between; gap:14px;
  margin-bottom:14px;
}
.tm .tm-cat-items-head h2{ font-size:18px; line-height:1.4; font-weight:800; }
.tm .tm-cat-items-head p{ margin-top:4px; font-size:14px; line-height:1.6; color:var(--t-ink2); }
.tm .tm-cat-items-head p b{ color:var(--t-orange-ink); font-variant-numeric:tabular-nums; }
.tm .tm-cat-search{ position:relative; flex:none; width:260px; }
.tm .tm-cat-search svg{
  position:absolute; left:11px; top:50%; transform:translateY(-50%);
  color:var(--t-ink3); pointer-events:none;
}
.tm .tm-cat-search input{
  width:100%; height:38px; padding:0 12px 0 34px;
  border:1px solid var(--t-line); border-radius:var(--t-radius-pill);
  background:var(--t-bg); font-size:14px; color:var(--t-ink); outline:none;
}
.tm .tm-cat-search input:focus{ border-color:var(--t-orange); box-shadow:0 0 0 3px var(--t-orange-soft); }
.tm .tm-table--cat{ font-size:14px; }
.tm .tm-table--cat th,.tm .tm-table--cat td{ padding:10px 12px; vertical-align:top; }
.tm .tm-table--cat td{ line-height:1.65; }
.tm .tm-table--cat td:nth-child(1){
  color:var(--t-ink3); font-variant-numeric:tabular-nums; white-space:nowrap;
}
.tm .tm-table--cat td:nth-child(2){ color:var(--t-ink2); white-space:nowrap; }
.tm .tm-item-code{
  font-variant-numeric:tabular-nums; font-weight:700; color:var(--t-orange-ink);
  white-space:nowrap;
}
.tm .tm-item-name{ font-weight:700; color:var(--t-ink); }
.tm .tm-item-en{ color:var(--t-ink2); }
.tm .tm-item-remark{
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
  color:var(--t-ink3);
}
.tm .tm-cat-empty-row td{ padding:34px 12px; text-align:center; }
.tm .tm-cat-empty-row b{ display:block; font-size:15px; color:var(--t-ink); }
.tm .tm-cat-empty-row span{ display:block; margin-top:4px; font-size:14px; color:var(--t-ink2); }
.tm .tm-cat-side{ display:flex; flex-direction:column; gap:16px; min-width:0; }
.tm .tm-side-card h3{ margin-bottom:10px; font-size:15px; line-height:1.5; font-weight:800; }
.tm .tm-side-card p{ font-size:14px; line-height:1.8; color:var(--t-ink2); }
.tm .tm-side-card--tone{ background:var(--t-orange-soft); border-color:var(--t-orange-line); }
.tm .tm-side-date{ display:block; margin-top:8px; font-size:14px; color:var(--t-ink2); }
.tm .tm-cat-rel{ display:flex; flex-direction:column; gap:8px; }
.tm .tm-cat-rel-item{
  display:flex; align-items:center; gap:8px; width:100%;
  padding:9px 10px; border:1px solid var(--t-line); border-radius:var(--t-radius-sm);
  background:var(--t-bg); text-align:left;
}
.tm .tm-cat-rel-item b{ flex:none; font-size:14px; color:var(--t-orange-ink); }
.tm .tm-cat-rel-item span{ flex:1; min-width:0; font-size:14px; color:var(--t-ink2); }
.tm .tm-cat-rel-item svg{ flex:none; color:var(--t-ink3); }
.tm .tm-cat-rel-item:hover{ border-color:var(--t-orange-line); background:var(--t-orange-soft); }

@media(min-width:720px){
  .tm .tm-table--cat th:nth-child(2),
  .tm .tm-table--cat td:nth-child(2),
  .tm .tm-table--cat th:nth-child(6),
  .tm .tm-table--cat td:nth-child(6){ display:none; }
}
@media(min-width:1024px){
  .tm .tm-cat-layout{ grid-template-columns:minmax(0,1fr) 300px; }
  .tm .tm-cat-side{ position:sticky; top:78px; align-self:start; }
  .tm .tm-table--cat th:nth-child(2),
  .tm .tm-table--cat td:nth-child(2),
  .tm .tm-table--cat th:nth-child(6),
  .tm .tm-table--cat td:nth-child(6){ display:table-cell; }
}
@media(max-width:640px){
  .tm .tm-cat-page{ padding-top:22px; }
  .tm .tm-cat-hero{ flex-direction:column; padding:22px 18px; }
  .tm .tm-cat-badge{ display:none; }
  .tm .tm-cat-actions .tm-btn{ flex:1 1 auto; justify-content:center; }
  .tm .tm-cat-notes,.tm .tm-cat-items,.tm .tm-side-card{ padding:18px 16px; }
  .tm .tm-cat-items-head{ flex-direction:column; align-items:stretch; }
  .tm .tm-cat-search{ width:100%; }
  .tm .tm-table--cat tbody tr{
    display:flex; flex-wrap:wrap; align-items:baseline;
    width:100%; margin:0 0 10px; padding:14px;
    border:1px solid var(--t-orange-line); border-radius:var(--t-radius-table);
    background:var(--t-card);
  }
  .tm .tm-table--cat tbody tr:last-child{ margin-bottom:0; }
  .tm .tm-table--cat td{
    display:block; width:auto; padding:5px 0; border:0; text-align:left;
  }
  .tm .tm-table--cat td::before{
    display:block; width:auto; margin-bottom:2px;
    font-size:14px; font-weight:700; color:var(--t-ink3);
  }
  .tm .tm-table--cat td:nth-child(4)::before,
  .tm .tm-table--cat td:nth-child(5)::before{
    display:inline; margin:0 4px 0 0;
    content:attr(data-label) "：";
  }
  .tm .tm-table--cat td:nth-child(1),
  .tm .tm-table--cat td:nth-child(2),
  .tm .tm-table--cat td:nth-child(3){
    flex:none; padding:0 0 10px; white-space:nowrap;
  }
  .tm .tm-table--cat td:nth-child(1)::before{
    display:inline; margin:0 3px 0 0;
    font-size:12px; font-weight:600; color:var(--t-ink3);
  }
  .tm .tm-table--cat td:nth-child(2)::before,
  .tm .tm-table--cat td:nth-child(3)::before{ display:none; }
  .tm .tm-table--cat td:nth-child(1)::after,
  .tm .tm-table--cat td:nth-child(2)::after{
    content:"·"; margin:0 5px; color:var(--t-ink3);
  }
  .tm .tm-table--cat td:nth-child(4),
  .tm .tm-table--cat td:nth-child(5),
  .tm .tm-table--cat td:nth-child(6){ flex:0 0 100%; }
  .tm .tm-table--cat td.tm-remark-empty{ display:none; }
  .tm .tm-table--cat .tm-cat-empty-row{ display:block; }
  .tm .tm-table--cat .tm-cat-empty-row td{ width:100%; flex:1 1 100%; }
  .tm .tm-cat-empty-row td{ padding:22px 10px; }
}


