/* ============================================================
   税务政策速查库 —— 样式（绿色政务风）
   ============================================================ */

:root {
  --green-900: #0b3d2e;
  --green-800: #0f5132;
  --green-700: #146c43;
  --green-600: #198754;
  --green-500: #2fa968;
  --green-100: #e8f5ee;
  --green-50:  #f3fbf6;
  --ink:       #1f2937;
  --muted:     #6b7280;
  --line:      #e5e7eb;
  --warn-bg:   #fff7ed;
  --warn-bd:   #fed7aa;
  --warn-tx:   #9a3412;
  --alt-bg:    #eff6ff;
  --alt-bd:    #bfdbfe;
  --alt-tx:    #1e40af;
  --shadow:    0 4px 16px rgba(15, 81, 50, .08);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: #f7f9fb;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }

/* ---------- 顶部品牌区 ---------- */
.hero {
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-600) 100%);
  color: #fff;
  padding: 40px 24px 56px;
}
.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand-icon {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
}
.brand h1 {
  margin: 0;
  font-size: 30px;
  letter-spacing: 1px;
}
.subtitle {
  margin: 6px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, .85);
  max-width: 640px;
}

/* 统计区 */
.stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 28px 0 24px;
}
.stat {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
}
.stat-num {
  font-size: 22px;
  font-weight: 700;
}
.stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, .8);
  margin-top: 2px;
}

/* 按钮 */
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: .15s;
  cursor: pointer;
}
.btn-outline {
  border: 1px solid rgba(255, 255, 255, .6);
  color: #fff;
}
.btn-outline:hover { background: rgba(255, 255, 255, .15); }
.btn-solid {
  background: #fff;
  color: var(--green-800);
}
.btn-solid:hover { background: #eafaf0; }

/* ---------- 主体 ---------- */
.container {
  max-width: 1080px;
  margin: -32px auto 60px;
  padding: 0 24px;
}

/* 多标签页 */
.tabs {
  display: flex;
  gap: 4px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 6px;
  margin-bottom: 18px;
  overflow-x: auto;
}
.tab {
  flex: 1 1 auto;
  white-space: nowrap;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: .12s;
}
.tab:hover { background: var(--green-50); color: var(--green-700); }
.tab.active {
  background: var(--green-600);
  color: #fff;
}

/* 搜索框 */
.search-section {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 18px;
  margin-bottom: 18px;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--green-50);
  border: 1.5px solid var(--green-100);
  border-radius: 12px;
  padding: 6px 14px;
}
.search-box svg { flex: 0 0 20px; color: var(--green-700); }
.search-box input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 15px;
  padding: 10px 4px;
  outline: none;
  color: var(--ink);
}
.clear-btn {
  border: none;
  background: var(--green-100);
  color: var(--green-700);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  cursor: pointer;
  font-size: 13px;
  display: none;
}
.clear-btn.show { display: block; }

/* 筛选区 */
.filters {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 16px 18px;
  margin-bottom: 20px;
}
.filter-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 8px 0;
}
.filter-row + .filter-row { border-top: 1px dashed var(--line); }
.filter-label {
  flex: 0 0 48px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  padding-top: 6px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  border: 1px solid var(--green-100);
  background: var(--green-50);
  color: var(--green-700);
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: .12s;
  white-space: nowrap;
}
.tag:hover { background: var(--green-100); }
.tag.active {
  background: var(--green-600);
  color: #fff;
  border-color: var(--green-600);
}

/* 结果区：special 视图（税率表/时间线/场景）改为块级 */
.cards.as-block { display: block; }

.results-head {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 14px;
}
.results-head b { color: var(--green-700); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: .15s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(15, 81, 50, .14); }
.card-head { display: flex; align-items: center; gap: 12px; }
.card-no {
  flex: 0 0 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--green-100);
  color: var(--green-700);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-title { margin: 0; font-size: 17px; }

.card-block { font-size: 14px; }
.card-block p { margin: 4px 0 0; color: #374151; }
.block-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.card-block.alt {
  background: var(--alt-bg);
  border-left: 3px solid var(--alt-bd);
  border-radius: 8px;
  padding: 10px 12px;
}
.card-block.alt .block-label { color: var(--alt-tx); }
.card-block.warn {
  background: var(--warn-bg);
  border-left: 3px solid var(--warn-bd);
  border-radius: 8px;
  padding: 10px 12px;
}
.card-block.warn .block-label { color: var(--warn-tx); }

.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.chip {
  font-size: 12px;
  background: var(--green-50);
  color: var(--green-700);
  border: 1px solid var(--green-100);
  padding: 3px 10px;
  border-radius: 999px;
}
.chip-status {
  background: #fffbeb;
  color: #b45309;
  border-color: #fde68a;
}

/* ---- 时效徽章 ---- */
.chip-fresh { border: 1px solid; font-weight: 600; }
.chip-fresh-ok     { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.chip-fresh-warn   { background: #fff7ed; color: #c2410c; border-color: #fed7aa; }
.chip-fresh-danger { background: #fef2f2; color: #b91c1c; border-color: #fecaca; animation: pulseSoft 2.2s ease-in-out infinite; }
.chip-fresh-dead   { background: #f3f4f6; color: #6b7280; border-color: #e5e7eb; text-decoration: line-through; }
@keyframes pulseSoft { 0%,100% { opacity: 1; } 50% { opacity: .62; } }
.review-dot {
  font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px;
  background: #eef2ff; color: #4338ca; border: 1px solid #c7d2fe;
}

/* ---- 时效提醒看板 ---- */
.alert-board { margin: 18px 0 6px; }
.alert-board-head { font-size: 13.5px; font-weight: 800; color: #0f766e; margin-bottom: 10px; }
.alert-board-head span { font-weight: 500; color: var(--muted); font-size: 12px; }
.alert-board-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.alert-card {
  display: flex; gap: 12px; align-items: flex-start; text-align: left;
  border: 1.5px solid #e5e7eb; border-radius: 12px; padding: 13px 14px;
  background: #fff; cursor: pointer; font-family: inherit; transition: transform .15s, box-shadow .15s;
}
.alert-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.07); }
.alert-danger { border-color: #fecaca; background: #fef2f2; }
.alert-review { border-color: #c7d2fe; background: #eef2ff; }
.alert-dead   { border-color: #e5e7eb; background: #f9fafb; }
.alert-prov   { border-color: #fed7aa; background: #fff7ed; }
.alert-icon { font-size: 20px; line-height: 1; }
.alert-num { font-size: 22px; font-weight: 800; line-height: 1.1; color: #111827; }
.alert-danger .alert-num { color: #b91c1c; }
.alert-review .alert-num { color: #4338ca; }
.alert-prov .alert-num { color: #c2410c; }
.alert-label { font-size: 12.3px; font-weight: 700; color: #374151; margin: 2px 0 4px; }
.alert-items { font-size: 11.3px; color: #6b7280; line-height: 1.5; }
.alert-tip { font-size: 11px; color: #b91c1c; font-weight: 700; margin-top: 4px; }
.alert-review .alert-tip, .alert-prov .alert-tip { color: inherit; }

/* ---- 详情弹窗时效提示条 ---- */
.fresh-alert { margin: 12px 0 4px; padding: 10px 14px; border-radius: 10px; font-size: 13px; line-height: 1.7; border-left: 4px solid #f59e0b; background: #fffbeb; color: #78350f; }
.fresh-alert-danger { border-left-color: #dc2626; background: #fef2f2; color: #7f1d1d; }
.fresh-alert-dead   { border-left-color: #9ca3af; background: #f3f4f6; color: #4b5563; }
.fresh-alert-warn   { border-left-color: #f97316; background: #fff7ed; color: #7c2d12; }
.fresh-alert-review { border-left-color: #4f46e5; background: #eef2ff; color: #312e81; }

/* ---- 三层导航 ---- */
.task-hero { margin: 4px 0 20px; }
.task-hero h2 { margin: 0 0 8px; font-size: 21px; color: #0f766e; }
.task-hero p { margin: 0; font-size: 13.6px; line-height: 1.85; color: #4b5563; }
.task-hero-sm { border-bottom: 1px dashed #d1d5db; padding-bottom: 16px; }
.task-back {
  background: none; border: 0; color: #0f766e; font-size: 13px; font-weight: 700;
  cursor: pointer; padding: 0; margin-bottom: 10px; font-family: inherit;
}
.task-back:hover { text-decoration: underline; }
.task-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

/* ---- 场景分组 ---- */
.task-cats { display: grid; gap: 26px; }
.task-cat-head {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  margin-bottom: 13px; padding-bottom: 9px; border-bottom: 2px solid #d1fae5;
}
.task-cat-icon { font-size: 19px; }
.task-cat-name { font-size: 16px; font-weight: 800; color: #065f46; }
.task-cat-count {
  font-size: 11.5px; font-weight: 700; color: #047857;
  background: #d1fae5; padding: 2px 9px; border-radius: 999px;
}
.task-cat-desc { font-size: 12.2px; color: var(--muted); }
.task-summary {
  margin-top: 10px; font-size: 12.8px; color: #0f766e; font-weight: 600;
  background: #f0fdf4; border: 1px solid #d1fae5; border-radius: 8px;
  padding: 8px 13px; display: inline-block;
}
.task-summary b { color: #065f46; }
.task-card {
  display: flex; align-items: flex-start; gap: 13px; text-align: left; position: relative;
  border: 1.5px solid #d1fae5; background: linear-gradient(160deg, #f0fdf4, #fff);
  border-radius: 14px; padding: 18px 16px; cursor: pointer; font-family: inherit;
  transition: transform .16s, box-shadow .16s, border-color .16s;
}
.task-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(16,185,129,.14); border-color: #6ee7b7; }
.task-icon { font-size: 27px; line-height: 1; }
.task-body { flex: 1; }
.task-title { font-size: 15.5px; font-weight: 800; color: #065f46; margin-bottom: 6px; }
.task-desc { font-size: 12.6px; color: #6b7280; line-height: 1.65; margin-bottom: 8px; }
.task-meta { font-size: 11.6px; color: #0f766e; font-weight: 600; }
.task-go { color: #10b981; font-size: 18px; font-weight: 800; align-self: center; }
.task-foot-note { margin-top: 18px; font-size: 12.5px; color: var(--muted); text-align: center; }
.task-steps { display: grid; gap: 10px; }
.task-step { display: grid; grid-template-columns: 28px 1fr; gap: 11px; align-items: start; }
.task-step-no {
  width: 26px; height: 26px; border-radius: 50%; background: #d1fae5; color: #065f46;
  font-size: 12.5px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.task-step-text { font-size: 13.5px; color: #374151; line-height: 1.75; padding-top: 3px; }
.task-calc-btn {
  margin-top: 16px; background: #0f766e; color: #fff; border: 0; border-radius: 10px;
  padding: 11px 20px; font-size: 13.5px; font-weight: 700; cursor: pointer; font-family: inherit;
  transition: background .15s;
}
.task-calc-btn:hover { background: #0d5f59; }
.task-groups { display: grid; gap: 26px; }
.task-group-head {
  font-size: 14.5px; font-weight: 800; color: #0f766e; margin-bottom: 12px;
  padding-bottom: 8px; border-bottom: 2px solid #d1fae5;
}
.task-group-head span { font-size: 11.5px; font-weight: 600; color: var(--muted); margin-left: 6px; }
.task-group .cards { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.calc-flash { animation: calcFlash 1.6s ease; }
@keyframes calcFlash { 0%,100% { box-shadow: none; } 30% { box-shadow: 0 0 0 4px #fde68a; } }

/* ---- 页脚免责声明 ---- */
.site-foot { max-width: 1100px; margin: 0 auto; padding: 26px 24px 40px; text-align: center; }
.foot-disclaimer {
  font-size: 12.6px; line-height: 1.85; color: #4b5563;
  background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 12px;
  padding: 14px 18px; margin-bottom: 12px; text-align: left;
}
.foot-disclaimer strong { color: #0f766e; }
.foot-disclaimer a { color: #0f766e; font-weight: 600; text-decoration: underline; }
.foot-meta { font-size: 12px; color: var(--muted); }
.foot-source { margin-top: 6px; font-size: 11.8px; color: #0f766e; }
.foot-source code { background: #f1f5f9; padding: 1px 5px; border-radius: 4px; font-size: 11px; }

.empty {
  text-align: center;
  color: var(--muted);
  padding: 50px 0;
  font-size: 15px;
}

mark { background: #fff3a3; padding: 0 2px; border-radius: 3px; }

/* ---------- 税率速查表 ---------- */
.rate-table-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow-x: auto;
}
.rate-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 900px;
}
.rate-table thead th {
  background: var(--green-700);
  color: #fff;
  text-align: left;
  font-weight: 600;
  padding: 12px 14px;
  white-space: nowrap;
  position: sticky;
  top: 0;
}
.rate-table tbody td {
  padding: 11px 14px;
  border-top: 1px solid var(--line);
  vertical-align: top;
  color: #374151;
}
.rate-table tbody tr:nth-child(even) { background: var(--green-50); }
.rate-table tbody tr:hover { background: var(--green-100); }
.rate-table .rt-tax { font-weight: 700; color: var(--green-800); white-space: nowrap; }
.rate-table .rt-rate { color: var(--green-700); font-weight: 600; }
.rate-table .rt-file { color: var(--muted); white-space: nowrap; font-size: 12.5px; }

/* ---------- 政策沿革时间线 ---------- */
.timeline {
  position: relative;
  padding-left: 28px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--green-200, #bfe3cd);
}
.tl-item {
  position: relative;
  margin-bottom: 18px;
}
.tl-dot {
  position: absolute;
  left: -23px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--green-600);
  box-shadow: 0 0 0 3px var(--green-50);
}
.tl-year {
  font-size: 18px;
  font-weight: 800;
  color: var(--green-700);
  letter-spacing: .5px;
}
.tl-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green-500);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 12px 16px;
  margin-top: 4px;
}
.tl-cat {
  display: inline-block;
  font-size: 12px;
  color: var(--green-700);
  background: var(--green-50);
  border: 1px solid var(--green-100);
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.tl-title { margin: 0 0 4px; font-size: 15px; color: var(--ink); }
.tl-desc { margin: 0; font-size: 13.5px; color: #4b5563; }

/* ---------- 场景组合视图 ---------- */
.scene-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 12px 14px;
}

/* 页脚 */
footer {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  padding: 20px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .brand h1 { font-size: 24px; }
  .filter-label { flex-basis: 100%; padding-top: 0; }
  .cards { grid-template-columns: 1fr; }
  .tab { flex: 1 1 40%; }
}

/* ---------- 法条原文区块 + 官方外链 ---------- */
.card-block.quote {
  background: #fbfaf4;
  border-left: 3px solid var(--green-700);
  border-radius: 8px;
  padding: 10px 12px;
}
.card-block.quote .block-label { color: var(--green-800); }
.card-block.quote p {
  font-family: "Noto Serif SC", "Songti SC", "SimSun", "STSong", serif;
  color: #4a4a4a;
  line-height: 1.75;
}
.card-foot { margin-top: 2px; }
.official-link {
  display: inline-block;
  font-size: 12.5px;
  color: var(--green-700);
  background: var(--green-50);
  border: 1px solid var(--green-100);
  padding: 6px 12px;
  border-radius: 999px;
  text-decoration: none;
  transition: .12s;
}
.official-link:hover { background: var(--green-100); color: var(--green-800); }

/* ---------- 卡片可点击（打开详情） ---------- */
.card.clickable { cursor: pointer; position: relative; transition: transform .15s ease, box-shadow .15s ease; }
.card.clickable::after {
  content: "查看详情 ›";
  position: absolute; top: 12px; right: 14px;
  font-size: 12px; font-weight: 600; color: var(--green-700);
  background: var(--green-50); border: 1px solid var(--green-100);
  padding: 2px 9px; border-radius: 999px;
  opacity: 0; transition: opacity .15s ease; pointer-events: none;
}
.card.clickable:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(15, 81, 50, .16); }
.card.clickable:hover::after { opacity: 1; }
.card.clickable:focus-visible { outline: 2px solid var(--green-500); outline-offset: 2px; }

/* ---------- 详情弹窗 ---------- */
@keyframes modalIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.modal[hidden] { display: none; }
.modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 40px 16px;
}
.modal-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .5); backdrop-filter: blur(2px); }
.modal-panel {
  position: relative; background: #fff; width: 100%; max-width: 780px;
  max-height: 88vh; overflow-y: auto; border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .25); padding: 26px 28px 22px;
  animation: modalIn .2s ease;
}
.detail-head { display: flex; align-items: center; gap: 12px; padding-right: 40px; }
.detail-no {
  flex: 0 0 auto; background: var(--green-600); color: #fff; font-weight: 700;
  border-radius: 8px; padding: 3px 10px; font-size: 14px;
}
.detail-title { font-size: 22px; margin: 0; flex: 1; color: var(--green-900); line-height: 1.4; }
.detail-close {
  position: absolute; top: 16px; right: 16px; width: 34px; height: 34px;
  border-radius: 50%; border: 1px solid var(--line); background: #fff;
  font-size: 18px; color: var(--muted); cursor: pointer; line-height: 1;
}
.detail-close:hover { background: #f3f4f6; color: var(--ink); }

/* 元信息条 */
.detail-meta {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  background: var(--green-50); border: 1px solid var(--green-100);
  border-radius: 12px; padding: 14px 16px; margin: 16px 0 12px;
}
.meta-item { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.meta-k { font-size: 12px; color: var(--muted); }
.meta-v { font-size: 14px; font-weight: 600; color: var(--green-800); word-break: break-word; }
.badge { display: inline-block; padding: 1px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #eef2f7; color: #475569; }
.badge-ok   { background: #e8f5ee; color: #146c43; }
.badge-warn { background: #fff7ed; color: #9a3412; }
.badge-due  { background: #fef9c3; color: #854d0e; }

.detail-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }

/* 政策要点层（核心规定 / 关键变化 / 执行提示 / 案例测算 / 易错点） */
.pt-core-full {
  border: 1px solid var(--line); border-left: 3px solid var(--green-500);
  border-radius: 12px; padding: 14px; background: #fff; margin: 16px 0 12px;
}
.pt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pt-block {
  border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: #fff;
  border-top: 3px solid var(--green-500);
}
.pt-change { border-top-color: #3b82f6; }
.pt-tip   { border-top-color: #f97316; }
.pt-ex    { border-top-color: #8b5cf6; }
.pt-warn  { border-top-color: #dc2626; }
.pt-label { font-weight: 700; font-size: 14px; margin-bottom: 8px; color: var(--green-800); }
.pt-change .pt-label { color: #1d4ed8; }
.pt-tip .pt-label   { color: #c2410c; }
.pt-ex .pt-label    { color: #6d28d9; }
.pt-warn .pt-label  { color: #b91c1c; }
.pt-text { font-size: 14px; margin: 0; color: var(--ink); }
.pt-quote {
  margin: 10px 0 0; padding: 8px 12px; border-left: 3px solid var(--green-500);
  background: #fafdfb; font-size: 13px; color: #374151; line-height: 1.7;
  white-space: pre-wrap;
}

.detail-block {
  margin-top: 16px; padding: 14px; background: #fafdfb;
  border: 1px solid var(--green-100); border-radius: 12px;
}
.detail-block .block-label { font-weight: 700; font-size: 14px; color: var(--green-800); margin-bottom: 6px; }
.detail-block p { margin: 0; font-size: 14px; color: var(--ink); }

.detail-foot { margin-top: 18px; }

/* 风险点块（与易错点区分：易错点=橙红边、风险点=深红底） */
.pt-risk { border-top-color: #ef4444; background: #fff5f5; }
.pt-risk .pt-label { color: #991b1b; }

/* ---------- 政策新旧对比 ---------- */
.cmp-wrap {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); overflow-x: auto; padding: 4px;
}
.cmp-head { font-size: 14px; color: var(--muted); padding: 14px 16px; }
.cmp-head b { color: var(--green-700); }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 920px; }
.cmp-table thead th {
  background: var(--green-700); color: #fff; text-align: left; font-weight: 600;
  padding: 12px 14px; white-space: nowrap;
}
.cmp-table tbody td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; color: #374151; }
.cmp-table tbody tr:nth-child(even) { background: var(--green-50); }
.cmp-table tbody tr:hover { background: var(--green-100); }
.cmp-tax { font-weight: 700; color: var(--green-800); white-space: nowrap; }
.cmp-year { color: var(--muted); white-space: nowrap; font-size: 12.5px; }
.cmp-new { color: var(--green-700); font-weight: 600; }
.cmp-old { color: #6b7280; }
.cmp-impact { color: #374151; }

/* ---------- 算税工具 ---------- */
.calc-wrap { display: grid; gap: 18px; }
.calc-head { font-size: 14px; color: var(--muted); margin-bottom: -4px; }
.calc-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); padding: 20px 22px;
}
.calc-card h3 { margin: 0 0 14px; font-size: 17px; color: var(--green-900); }
.calc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.calc-grid label {
  display: flex; flex-direction: column; gap: 6px; font-size: 13px;
  font-weight: 600; color: var(--muted);
}
.calc-grid input, .calc-grid select {
  border: 1.5px solid var(--green-100); border-radius: 10px; padding: 9px 12px;
  font-size: 15px; color: var(--ink); background: var(--green-50); outline: none;
  transition: .12s; font-family: inherit;
}
.calc-grid input:focus, .calc-grid select:focus {
  border-color: var(--green-500); background: #fff;
}
.calc-out {
  margin-top: 16px; padding: 14px 16px; border-radius: 12px;
  background: var(--green-50); border: 1px solid var(--green-100);
  font-size: 14.5px; color: var(--green-900); line-height: 1.8;
}
.calc-out b { color: var(--green-700); font-size: 15px; }
.calc-line { padding: 3px 0; }
.calc-sub { color: var(--muted); font-size: 12.5px; }
.calc-total { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--green-200, #bbf7d0); }
.calc-total b { font-size: 16px; }
.calc-note { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.7; }

/* ---------- 法规全文 ---------- */
.law-wrap { display: grid; grid-template-columns: 268px 1fr; gap: 18px; align-items: start; }
.law-aside {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); padding: 14px; position: sticky; top: 14px;
}
.law-aside-head { font-size: 13px; color: var(--muted); padding: 2px 4px 10px; border-bottom: 1px solid var(--line); }
.law-aside-head b { color: var(--green-700); }
.law-list { display: grid; gap: 6px; margin: 10px 0 14px; }
.law-item {
  display: flex; flex-direction: column; gap: 2px; text-align: left; cursor: pointer;
  border: 1.5px solid var(--green-100); background: var(--green-50); border-radius: 10px;
  padding: 9px 12px; transition: .12s; font-family: inherit;
}
.law-item:hover { border-color: var(--green-500); background: #fff; }
.law-item.active { border-color: var(--green-600); background: var(--green-600); }
.law-item.active .law-item-name,
.law-item.active .law-item-meta { color: #fff; }
.law-item-name { font-size: 14px; font-weight: 700; color: var(--green-900); }
.law-item-meta { font-size: 11.5px; color: var(--muted); }
.law-toc { border-top: 1px solid var(--line); padding-top: 10px; }
.law-toc-head { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.law-toc-item {
  display: block; font-size: 12.5px; color: var(--green-700); text-decoration: none;
  padding: 4px 6px; border-radius: 6px; line-height: 1.5;
}
.law-toc-item:hover { background: var(--green-50); }

.law-doc {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); padding: 26px 30px 20px;
}
.law-doc-head { border-bottom: 2px solid var(--green-600); padding-bottom: 14px; margin-bottom: 18px; }
.law-doc-head h2 { margin: 0 0 10px; font-size: 22px; color: var(--green-900); text-align: center; letter-spacing: .5px; }
.law-doc-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; font-size: 12.5px; color: var(--muted); }
.law-doc-meta b { color: var(--green-800); }
.law-badge {
  background: var(--green-100); color: var(--green-800); border-radius: 999px;
  padding: 2px 10px; font-weight: 600;
}
.law-doc-note {
  margin: 14px 0 0; font-size: 13px; color: #4b5563; line-height: 1.8;
  background: var(--green-50); border-left: 3px solid var(--green-500);
  padding: 10px 14px; border-radius: 0 8px 8px 0;
}
.law-body { display: grid; gap: 22px; }
.law-ch-title {
  margin: 0 0 12px; font-size: 15px; color: var(--green-800); font-weight: 700;
  padding-left: 10px; border-left: 4px solid var(--green-600);
}
.law-art { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--line); }
.law-art:first-of-type { border-top: none; }
.law-art-no { font-weight: 700; color: var(--green-700); font-size: 14px; white-space: nowrap; }
.law-art-text {
  margin: 0; font-size: 14px; line-height: 1.95; color: #1f2937;
  text-align: justify; font-family: "Songti SC", "SimSun", "Noto Serif SC", serif;
}
.law-doc-foot {
  margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  font-size: 12.5px; color: var(--muted);
}

/* ---------- 外贸出口退税专题 ---------- */
.ex-wrap { display: grid; gap: 20px; }
.ex-hero {
  background: linear-gradient(135deg, var(--green-800, #14532d), var(--green-600, #16a34a));
  color: #fff; border-radius: 16px; padding: 24px 26px; box-shadow: var(--shadow);
}
.ex-hero h2 { margin: 0 0 10px; font-size: 21px; }
.ex-hero p { margin: 0; font-size: 13.5px; line-height: 1.9; color: #d1fae5; }
.ex-section {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); padding: 20px 22px;
}
.ex-h3 { margin: 0 0 16px; font-size: 16px; color: var(--green-900); }
.ex-steps { display: grid; gap: 12px; }
.ex-step { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.ex-step-no {
  width: 30px; height: 30px; border-radius: 50%; background: var(--green-600); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px;
}
.ex-step-body h4 { margin: 2px 0 4px; font-size: 14.5px; color: var(--green-800); }
.ex-step-body p { margin: 0; font-size: 13.5px; color: #374151; line-height: 1.75; }
.ex-chans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ex-chan {
  border: 1.5px solid var(--green-100); border-radius: 12px; padding: 16px; background: var(--green-50);
}
.ex-chan-code { font-size: 22px; font-weight: 800; color: var(--green-700); letter-spacing: 1px; }
.ex-chan-name { font-size: 14px; font-weight: 700; color: var(--green-900); margin: 2px 0 8px; }
.ex-chan-policy { margin: 0 0 10px; font-size: 13px; color: #374151; line-height: 1.75; }
.ex-chan-fit { font-size: 12.5px; color: var(--muted); border-top: 1px dashed var(--green-200, #bbf7d0); padding-top: 8px; }
.ex-risks { display: grid; gap: 10px; }
.ex-risk { border-radius: 12px; padding: 14px 16px; border-left: 5px solid #f59e0b; background: #fffbeb; }
.ex-risk-vhigh { border-left-color: #dc2626; background: #fef2f2; }
.ex-risk-high { border-left-color: #f97316; background: #fff7ed; }
.ex-risk-mid { border-left-color: #eab308; background: #fefce8; }
.ex-risk-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.ex-risk-lv {
  font-size: 12px; font-weight: 700; color: #fff; background: #dc2626;
  border-radius: 999px; padding: 2px 10px;
}
.ex-risk-high .ex-risk-lv { background: #f97316; }
.ex-risk-mid .ex-risk-lv { background: #ca8a04; }
.ex-risk-t { font-size: 14.5px; font-weight: 700; color: #7f1d1d; }
.ex-risk-mid .ex-risk-t { color: #713f12; }
.ex-risk p { margin: 0; font-size: 13.2px; color: #374151; line-height: 1.8; }
.ex-foot {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  font-size: 12.5px; color: var(--muted); padding-bottom: 8px;
}
.ex-section .cards { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.ex-sub { margin: -8px 0 14px; font-size: 13px; color: var(--muted); }
.ex-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ex-mode { border-radius: 12px; padding: 16px; border: 1.5px solid var(--green-100); background: var(--green-50); }
.ex-mode-orange { border-color: #fed7aa; background: #fff7ed; }
.ex-mode-name { font-size: 17px; font-weight: 800; color: var(--green-800); margin-bottom: 12px; }
.ex-mode-orange .ex-mode-name { color: #c2410c; }
.ex-mode-row { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding: 6px 0; border-top: 1px dashed var(--green-200, #bbf7d0); }
.ex-mode-orange .ex-mode-row { border-top-color: #fed7aa; }
.ex-mode-row span { color: var(--muted); flex-shrink: 0; }
.ex-mode-row b { color: #1f2937; text-align: right; }
.ex-mode-fit { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--green-200, #bbf7d0); font-size: 12.5px; color: var(--green-700); }
.ex-mode-orange .ex-mode-fit { border-top-color: #fed7aa; color: #c2410c; }

/* ---- 合规速查三栏 ---- */
.ex-comp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ex-comp-col { border-radius: 12px; padding: 14px 16px; border: 1.5px solid #e5e7eb; background: #fff; }
.ex-comp-good { border-color: #a7f3d0; background: #f0fdf4; }
.ex-comp-mid { border-color: #fed7aa; background: #fff7ed; }
.ex-comp-bad { border-color: #fecaca; background: #fef2f2; }
.ex-comp-head { font-size: 13.5px; font-weight: 800; margin-bottom: 10px; color: #065f46; }
.ex-comp-mid .ex-comp-head { color: #c2410c; }
.ex-comp-bad .ex-comp-head { color: #b91c1c; }
.ex-comp-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.ex-comp-col li { font-size: 12.8px; line-height: 1.7; color: #374151; padding-left: 14px; position: relative; }
.ex-comp-col li::before { content: "•"; position: absolute; left: 0; color: #10b981; font-weight: 800; }
.ex-comp-mid .ex-comp-col li::before, .ex-comp-mid li::before { color: #f97316; }
.ex-comp-bad li::before { color: #ef4444; }
.ex-comp-col li b { display: block; color: #111827; margin-bottom: 1px; }
.ex-comp-col li span { color: #6b7280; }

/* ---- 常见场景处理 ---- */
.ex-scenes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.ex-scene { border-radius: 12px; border: 1.5px solid #e5e7eb; background: #fff; overflow: hidden; }
.ex-scene-red { border-color: #fecaca; }
.ex-scene-orange { border-color: #fed7aa; }
.ex-scene-head { display: flex; align-items: center; gap: 8px; padding: 11px 14px; background: #f9fafb; border-bottom: 1px solid #eef0f2; }
.ex-scene-red .ex-scene-head { background: #fef2f2; }
.ex-scene-orange .ex-scene-head { background: #fff7ed; }
.ex-scene-icon { font-size: 17px; }
.ex-scene-name { font-size: 14px; font-weight: 800; color: #111827; flex: 1; }
.ex-scene-tag { font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: #e5e7eb; color: #4b5563; }
.ex-scene-red .ex-scene-tag { background: #fee2e2; color: #b91c1c; }
.ex-scene-orange .ex-scene-tag { background: #ffedd5; color: #c2410c; }
.ex-scene-body { padding: 12px 14px; display: grid; gap: 8px; }
.ex-scene-rule, .ex-scene-handle { margin: 0; font-size: 12.9px; line-height: 1.78; color: #374151; }
.ex-scene-rule b, .ex-scene-handle b { color: #111827; }

/* ---- 函调模拟问答 ---- */
.ex-qnas { display: grid; gap: 10px; }
.ex-qna { border-radius: 12px; border: 1.5px solid #e5e7eb; background: #fff; overflow: hidden; }
.ex-qna.open { border-color: var(--green-300, #86efac); box-shadow: 0 2px 10px rgba(16, 185, 129, .08); }
.ex-qna-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: #f9fafb; border: 0; cursor: pointer; padding: 13px 16px; text-align: left;
  font-size: 13.8px; font-weight: 700; color: #065f46; font-family: inherit;
}
.ex-qna-q:hover { background: #f0fdf4; }
.ex-qna-arrow { transition: transform .2s; color: #10b981; font-size: 12px; }
.ex-qna.open .ex-qna-arrow { transform: rotate(180deg); }
.ex-qna-a { display: none; padding: 13px 16px 15px; font-size: 13.1px; line-height: 1.85; color: #374151; border-top: 1px dashed #e5e7eb; }
.ex-qna.open .ex-qna-a { display: block; }

@media (max-width: 720px) {
  .pt-grid { grid-template-columns: 1fr; }
  .detail-meta { grid-template-columns: 1fr 1fr; }
  .modal { padding: 16px 8px; }
  .modal-panel { padding: 20px 16px 18px; }
  .detail-title { font-size: 19px; }
  .calc-grid { grid-template-columns: 1fr; }
  .law-wrap { grid-template-columns: 1fr; }
  .law-aside { position: static; }
  .law-doc { padding: 20px 16px 16px; }
  .law-art { grid-template-columns: 1fr; gap: 4px; }
  .law-doc-head h2 { font-size: 18px; }
  .ex-chans { grid-template-columns: 1fr; }
  .ex-modes { grid-template-columns: 1fr; }
  .ex-hero { padding: 18px 16px; }
  .ex-section { padding: 16px 14px; }
  .ex-comp { grid-template-columns: 1fr; }
  .ex-scenes { grid-template-columns: 1fr; }
  .alert-board-grid { grid-template-columns: 1fr 1fr; }
  .detail-meta { grid-template-columns: 1fr 1fr; }
  .task-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   试看版（TRIAL）—— 锁定卡片 / 顶部提示条 / 解锁弹窗
   仅在设置了 window.TRIAL_MODE 时出现，完整版不受影响
   ============================================================ */

/* 顶部试看提示条（柔和绿，与站点主色一致） */
.trial-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0 0;
  padding: 14px 18px;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.trial-badge {
  flex: 0 0 auto;
  background: var(--green-700);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: .5px;
}
.trial-text { flex: 1 1 320px; font-size: 14px; color: var(--green-800); }
.trial-text b { color: var(--green-700); }
.trial-cta {
  flex: 0 0 auto;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--green-700);
  padding: 9px 18px;
  border-radius: 9px;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.trial-cta:hover { background: var(--green-600); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(20, 108, 67, .3); }

/* 标题里的「试看版」小徽章 */
.trial-h1-badge {
  display: inline-block;
  vertical-align: middle;
  font-size: 13px;
  font-weight: 600;
  margin-left: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
  border: 1px solid rgba(255, 255, 255, .45);
}

/* 锁定卡片 */
.card-locked { position: relative; }
.card-locked::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: repeating-linear-gradient(45deg, rgba(107, 114, 128, .035) 0 10px, transparent 10px 20px);
}
.card-locked:hover { border-color: var(--green-500); }
.lock-badge { font-size: 14px; opacity: .85; }
.card-block-lock { background: #f9fafb; border: 1px dashed #d1d5db; border-radius: 8px; }
.card-block-lock .block-label { color: var(--muted); }
.card-block-lock p { margin: 0; color: var(--muted); font-size: 13.5px; }
.unlock-btn {
  border: 1px solid var(--green-600);
  background: #fff;
  color: var(--green-700);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.unlock-btn:hover { background: var(--green-600); border-color: var(--green-600); color: #fff; }

/* 完整版说明弹窗 */
.unlock-body { padding: 4px 4px 8px; text-align: center; }
.unlock-h3 { margin: 2px 0 8px; font-size: 19px; color: var(--green-800); }
.unlock-lead { max-width: 560px; margin: 0 auto 18px; font-size: 14px; color: var(--muted); }
.unlock-lead b { color: var(--ink); }
.unlock-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; text-align: left; }
.unlock-col { border-radius: 10px; padding: 12px 14px; font-size: 13.5px; }
.unlock-col-head { margin-bottom: 6px; font-size: 13px; font-weight: 700; }
.unlock-col ul { margin: 0; padding-left: 18px; }
.unlock-col li { margin: 4px 0; }
.unlock-free { background: #f9fafb; border: 1px solid var(--line); color: var(--muted); }
.unlock-free .unlock-col-head { color: var(--muted); }
.unlock-no { color: #b91c1c; }
.unlock-full { background: var(--green-50); border: 1px solid var(--green-100); }
.unlock-full .unlock-col-head { color: var(--green-700); }
.unlock-cta {
  padding: 18px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
}
.unlock-cta-label { margin-bottom: 12px; font-size: 15px; font-weight: 700; }
.unlock-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .14);
  border: 1px dashed rgba(255, 255, 255, .5);
}
.unlock-contact-label { font-size: 12px; opacity: .85; }
.unlock-contact-id { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 17px; font-weight: 700; letter-spacing: .5px; }
.unlock-qr {
  display: block;
  width: 168px;
  height: 168px;
  margin: 14px auto 0;
  padding: 6px;
  border-radius: 10px;
  background: #fff;
  object-fit: contain;
}
.unlock-copy {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 7px;
  background: #fff;
  color: var(--green-700);
}
.unlock-copy:hover { background: var(--green-100); }
.unlock-link { display: inline-block; margin-top: 12px; font-size: 14px; color: #fff; text-decoration: underline; }
.unlock-tip { margin: 12px 0 0; font-size: 12.5px; opacity: .85; }

/* 内容方预览（试看版右下角，仅自己可见入口） */
.owner-panel {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  font-family: var(--font, system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif);
}
.owner-toggle {
  border: 1px solid var(--green-200);
  background: #fff;
  color: var(--green-700);
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 13px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: .9;
  transition: opacity .15s, background .15s, color .15s;
}
.owner-toggle:hover { opacity: 1; background: var(--green-50); }
.owner-toggle.owner-on { background: var(--green-600); border-color: var(--green-600); color: #fff; opacity: 1; }
.owner-form {
  width: 248px;
  background: #fff;
  border: 1px solid var(--green-200);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 118, 110, .18);
  padding: 14px;
}
.owner-title { font-size: 13px; font-weight: 700; color: var(--green-800); margin-bottom: 8px; }
.owner-input {
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 14px;
  padding: 9px 11px;
  border: 1px solid var(--green-200);
  border-radius: 8px;
  outline: none;
}
.owner-input:focus { border-color: var(--green-500); box-shadow: 0 0 0 3px var(--green-100); }
.owner-msg { font-size: 12px; color: var(--muted); min-height: 16px; margin: 7px 0 0; }
.owner-msg.owner-err { color: #c0392b; }
.owner-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.owner-btn {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 8px;
}
.owner-cancel { background: #f1f5f4; color: var(--muted); }
.owner-ok { background: var(--green-600); color: #fff; }
.owner-ok:hover { background: var(--green-700); }

@media (max-width: 720px) {
  .trial-banner { margin: 12px 0 0; }
  .trial-cta { width: 100%; }
  .unlock-compare { grid-template-columns: 1fr; }
  .owner-panel { right: 10px; bottom: 10px; }
  .owner-form { width: 210px; }
}

/* 试看版：外贸出口退税专题三类「半量」提示条 */
.ex-half-lock {
  margin: 16px 0 4px;
  padding: 12px 16px;
  border: 1px dashed var(--green-600);
  border-radius: 10px;
  background: rgba(20, 108, 67, .07);
  color: #145c43;
  font-size: 14px;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ex-half-lock b { color: var(--green-600); }
.ex-half-lock .trial-cta { margin-left: auto; white-space: nowrap; }
@media (max-width: 720px) {
  .ex-half-lock .trial-cta { margin-left: 0; width: 100%; }
}
