/* ============================================================
   保险人工具 · 独立落地页样式
   视觉基调沿用官网设计令牌，布局参考「资源库」工作台：
   顶部标签栏 → 搜索 → 双维筛选 → 卡片网格
   ============================================================ */

.tools-page {
  background: var(--bg);
}

.tools-main {
  padding: 40px 0 96px;
}

.tools-shell {
  max-width: 1120px;
}

/* ---------- 顶部标签栏 ---------- */
.tools-tabs {
  display: flex;
  align-items: flex-end;
  gap: 34px;
  border-bottom: 1px solid var(--line);
}

.tools-tab {
  appearance: none;
  border: 0;
  background: none;
  padding: 0 0 16px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}

.tools-tab:hover {
  color: var(--text);
}

.tools-tab.is-active {
  color: var(--text);
  font-weight: 600;
}

.tools-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.tools-tab-count {
  font-size: 12px;
  color: var(--muted);
  margin-left: 2px;
}

/* ---------- 搜索 ---------- */
.tools-search-row {
  margin: 28px 0 6px;
}

.tools-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 400px;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--muted);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tools-search:focus-within {
  border-color: var(--warm);
  box-shadow: 0 0 0 3px rgba(23, 105, 224, 0.1);
}

.tools-search svg {
  width: 18px;
  height: 18px;
  flex: none;
  opacity: 0.55;
}

.tools-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: none;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--text);
}

.tools-search input::placeholder {
  color: #9aa5b1;
}

/* ---------- 双维筛选 ---------- */
.tools-filter-groups {
  padding: 18px 0 0;
}

.tools-filter-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid #eef2f7;
}

.tools-filter-row:last-child {
  border-bottom: 0;
}

.tools-filter-label {
  flex: none;
  width: 68px;
  padding-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

.tools-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.tools-chip {
  appearance: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  line-height: 1;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.18s ease;
}

.tools-chip:hover {
  border-color: #c9d6e4;
  color: var(--text);
}

.tools-chip.is-active {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}

.tools-chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
}

.tools-chip.is-active .tools-chip-dot {
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.65);
}

/* 各场景色点 */
.dot-all { background: #111827; }
.dot-获客 { background: #e0413e; }
.dot-客户管理 { background: #4c6ef5; }
.dot-核保方案 { background: #b08968; }
.dot-理赔服务 { background: #3b82f6; }
.dot-通用 { background: #f5b301; }

/* ---------- 列表标题 ---------- */
.tools-list-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 30px 0 22px;
}

.tools-list-title {
  margin: 0;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.tools-list-count {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- 卡片网格 ---------- */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.tools-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

/* 整卡可点：内层 a 撑满卡片 */
.tools-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.tools-card-link:focus-visible {
  outline: 2px solid var(--warm);
  outline-offset: 2px;
}

.tools-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(17, 34, 64, 0.1);
  border-color: transparent;
}

/* 卡面：彩色遮罩区 */
.tools-card-cover {
  position: relative;
  aspect-ratio: 4 / 3;
  padding: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.tools-card-kind {
  position: relative;
  z-index: 2;
  font-family: "SF Mono", "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: 10.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  opacity: 0.75;
}

.tools-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.badge-member {
  background: #d96b2c;
  color: #fff;
}

.badge-public {
  background: #f0ead9;
  color: #6b5a3e;
}

/* 装饰纹理：贴右上角，避开左下角标题 */
.tools-card-watermark {
  position: absolute;
  z-index: 1;
  right: 0;
  top: 42px;
  width: 152px;
  height: 152px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, 0.07);
}

.tools-card-watermark::before,
.tools-card-watermark::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, 0.07);
}

.tools-card-watermark::before {
  inset: 24px;
}

.tools-card-watermark::after {
  inset: 50px;
}

.tools-card-dots {
  position: absolute;
  z-index: 1;
  top: 52px;
  right: 62px;
  width: 82px;
  height: 82px;
  background-image: radial-gradient(rgba(0, 0, 0, 0.13) 1.4px, transparent 1.4px);
  background-size: 10px 10px;
}

.tools-card-lines {
  position: absolute;
  z-index: 1;
  top: 50px;
  right: 14px;
  width: 108px;
  height: 52px;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.09) 0 5px,
    transparent 5px 14px
  );
}

.tools-card-stripes {
  position: absolute;
  z-index: 1;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(0, 0, 0, 0.055) 0 2px,
    transparent 2px 13px
  );
}

/* 封面底部一组：标题 + 作者，整体贴底 */
.tools-card-cover-title {
  position: relative;
  z-index: 2;
  margin: auto 0 0;
  max-width: 92%;
  font-family: "Songti SC", "SimSun", "Noto Serif SC", serif;
  font-size: 19px;
  line-height: 1.38;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.tools-card-author-line {
  position: relative;
  z-index: 2;
  margin: 9px 0 0;
  font-size: 11.5px;
  opacity: 0.72;
}

/* 卡体：白色信息区 */
.tools-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px;
}

.tools-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.tools-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1.5;
  background: #f1f5f9;
  color: #64748b;
}

.tools-card-tag-tool {
  background: #fdeef0;
  color: #c2455a;
}

.tools-card-tag-star {
  background: #fdf6e3;
  color: #a98017;
}

.tools-card-title {
  margin: 0 0 7px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
}

.tools-card-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.72;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tools-card-foot {
  margin-top: auto;
  padding-top: 16px;
  font-size: 12.5px;
  color: #8a95a2;
}

/* ---------- 四套配色 ---------- */
.tone-sand {
  background: linear-gradient(160deg, #f2e6cd 0%, #ecd9b4 100%);
  color: #4a3b23;
}

.tone-sage {
  background: linear-gradient(160deg, #e4ebe1 0%, #d2dfd2 100%);
  color: #2f4034;
}

.tone-brick {
  background: linear-gradient(160deg, #c9583f 0%, #ab4630 100%);
  color: #fdf4ef;
}

.tone-ink {
  background: linear-gradient(160deg, #23262b 0%, #14161a 100%);
  color: #f0f1f3;
}

/* ---------- 空状态 ---------- */
.tools-empty {
  margin: 40px 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- 底部转化 ---------- */
.tools-cta {
  margin-top: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
  padding: 52px 56px;
  border-radius: 20px;
  background: #07111f;
  color: #fff;
}

.tools-cta-copy {
  max-width: 560px;
}

.tools-cta .eyebrow {
  color: #78d7ff;
}

.tools-cta h2 {
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.3;
}

.tools-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14.5px;
  line-height: 1.85;
}

.tools-cta-card {
  width: 218px;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1040px) {
  .tools-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tools-cta {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 44px 36px;
  }

  .tools-cta-card {
    margin: 0;
  }
}

@media (max-width: 760px) {
  .tools-main {
    padding: 26px 0 64px;
  }

  .tools-tabs {
    gap: 24px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .tools-tabs::-webkit-scrollbar {
    display: none;
  }

  .tools-tab {
    font-size: 14px;
    white-space: nowrap;
  }

  .tools-search-row {
    margin-top: 22px;
  }

  .tools-search {
    max-width: none;
  }

  .tools-filter-row {
    flex-direction: column;
    gap: 10px;
    padding: 13px 0;
  }

  .tools-filter-label {
    width: auto;
    padding-top: 0;
  }

  .tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .tools-card-cover {
    aspect-ratio: 1 / 1;
    padding: 13px;
  }

  .tools-card-cover-title {
    font-size: 16px;
  }

  .tools-card-body {
    padding: 13px;
  }

  .tools-card-title {
    font-size: 14px;
  }

  .tools-card-desc {
    font-size: 12px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .tools-list-head {
    margin: 22px 0 16px;
  }

  .tools-list-title {
    font-size: 21px;
  }

  .tools-cta {
    margin-top: 48px;
    padding: 32px 22px;
  }

  .tools-cta h2 {
    font-size: 23px;
  }
}

@media (max-width: 420px) {
  .tools-grid {
    grid-template-columns: 1fr;
  }

  .tools-card-cover {
    aspect-ratio: 16 / 10;
  }
}

/* ============================================================
   工具落地页（tool.html）
   统一模板：左正文 + 右侧三张信息卡
   ============================================================ */
.tool-detail-main {
  padding: 34px 0 96px;
  background: var(--bg-soft);
  min-height: calc(100vh - 200px);
}

.tool-detail-shell {
  max-width: 1080px;
}

/* ---------- 返回链接 ---------- */
.tool-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 26px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.tool-back:hover {
  color: var(--text);
}

/* ---------- 两栏布局 ---------- */
.tool-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 268px;
  gap: 44px;
  align-items: start;
}

.tool-detail-main-col {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 34px 38px 40px;
}

/* ---------- 标题区 ---------- */
.tool-detail-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 12px;
  font-size: 12.5px;
  line-height: 1;
}

.tool-kicker-kind {
  color: #d14343;
  font-weight: 600;
}

.tool-kicker-dot {
  color: #c3ccd6;
}

.tool-kicker-audience {
  color: #d9a327;
  font-weight: 600;
}

.tool-detail-title {
  margin: 0 0 12px;
  font-size: 32px;
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
}

.tool-detail-subtitle {
  margin: 0 0 14px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
}

.tool-detail-author {
  margin: 0;
  font-size: 13px;
  color: #8a95a2;
}

.tool-detail-figure {
  margin: 26px 0 0;
  border-radius: 10px;
  overflow: hidden;
  background: #eef2f7;
}

.tool-detail-figure img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- 正文区块 ---------- */
.tool-detail-sections {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.tool-section + .tool-section {
  margin-top: 34px;
}

.tool-section-heading {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}

.tool-section-body {
  margin: 0 0 22px;
  font-size: 14.5px;
  line-height: 1.92;
  color: #3f4a57;
}

.tool-block {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed #e6ecf3;
}

.tool-block:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.tool-block-title {
  margin: 0 0 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
}

/* 查询路径列表 */
.tool-path-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tool-path-item {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fbfcfe;
}

.tool-path-label {
  display: block;
  margin-bottom: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}

.tool-path-text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.82;
  color: #4a5563;
}

.tool-path-text a {
  color: var(--warm);
  text-decoration: none;
  word-break: break-all;
}

.tool-path-text a:hover {
  text-decoration: underline;
}

/* 提示列表 */
.tool-tip-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.tool-tip-list li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  line-height: 1.85;
  color: #4a5563;
}

.tool-tip-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d9a327;
}

/* ---------- 右栏卡片 ---------- */
.tool-detail-side {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 96px;
}

.tool-side-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.tool-side-card-primary {
  padding: 18px;
}

.tool-side-cta {
  display: block;
  padding: 13px 16px;
  line-height: 1.5;
  word-break: keep-all;
  border-radius: 8px;
  background: #c04a2e;
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.tool-side-cta:hover {
  background: #a83d24;
  transform: translateY(-1px);
}

.tool-side-note {
  margin: 12px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: #8a95a2;
}

.tool-side-title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.tool-side-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: #6b7683;
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .tool-detail-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .tool-detail-side {
    position: static;
  }

  .tool-detail-main-col {
    padding: 26px 24px 30px;
  }

  .tool-detail-title {
    font-size: 25px;
  }
}

@media (max-width: 560px) {
  .tool-detail-main {
    padding: 22px 0 64px;
  }

  .tool-detail-main-col {
    padding: 22px 18px 26px;
    border-radius: 12px;
  }

  .tool-detail-title {
    font-size: 21px;
  }

  .tool-detail-subtitle {
    font-size: 13.5px;
  }
}

/* ============================================================
   教程类工具扩展：免责声明 / 步骤 / 下载按钮 / 可复制提示词
   ============================================================ */

/* ---------- 免责声明（置顶） ---------- */
.tool-disclaimer {
  margin: 26px 0 0;
  padding: 20px 22px;
  border: 1px solid #f0c9c0;
  border-left: 4px solid #c04a2e;
  border-radius: 10px;
  background: #fdf7f5;
}

.tool-disclaimer-title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: #a83d24;
}

.tool-disclaimer-body {
  font-size: 13.5px;
  line-height: 1.85;
  color: #6b4a40;
}

.tool-disclaimer-p {
  margin: 0 0 10px;
}

.tool-disclaimer-p:last-child {
  margin-bottom: 0;
}

.tool-disclaimer-list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.tool-disclaimer-list li {
  position: relative;
  padding-left: 18px;
}

.tool-disclaimer-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c04a2e;
}

/* ---------- 步骤列表 ---------- */
.tool-step-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 22px;
  counter-reset: toolstep;
}

.tool-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.tool-step-no {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--warm);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.tool-step-content {
  flex: 1;
  min-width: 0;
}

.tool-step-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 650;
  color: var(--text);
  line-height: 1.5;
}

.tool-step-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: #4a5563;
}

/* ---------- 下载按钮 ---------- */
.tool-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.tool-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tool-download-btn:hover {
  border-color: var(--warm);
  box-shadow: 0 6px 18px rgba(23, 105, 224, 0.12);
  transform: translateY(-1px);
}

.tool-download-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 8px;
  background: var(--warm-soft);
  color: var(--warm);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tool-download-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.tool-download-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.tool-download-meta {
  font-size: 12px;
  color: #8a95a2;
  line-height: 1.4;
}

/* ---------- 步骤配图 ---------- */
.tool-step-images {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.tool-step-image {
  margin: 0;
}

.tool-step-image img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

/* 横向宽图（手机多屏流程截图）：铺满整行，避免压到 420px 后文字太小看不清 */
.tool-step-image-wide img {
  max-width: 100%;
}

.tool-step-image figcaption {
  margin-top: 6px;
  font-size: 12px;
  color: #8a95a2;
}

/* ---------- 可复制提示词 ---------- */
.tool-prompt {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #f8fafc;
}

.tool-prompt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  background: #eef2f7;
  border-bottom: 1px solid var(--line);
}

.tool-prompt-label {
  font-size: 12.5px;
  font-weight: 600;
  color: #5d6978;
}

.tool-prompt-copy {
  padding: 5px 13px;
  border: 1px solid #cfd9e5;
  border-radius: 6px;
  background: #fff;
  color: #3f4a57;
  font-size: 12.5px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.tool-prompt-copy:hover {
  border-color: var(--warm);
  color: var(--warm);
  background: var(--warm-soft);
}

.tool-prompt-copy.is-copied {
  border-color: #0b9b8f;
  color: #0b9b8f;
  background: #e6f6f3;
}

.tool-prompt-copy.is-failed {
  border-color: #c04a2e;
  color: #c04a2e;
  background: #fdf0ed;
}

.tool-prompt-code {
  margin: 0;
  padding: 14px 16px;
  overflow-x: auto;
  background: #f8fafc;
}

.tool-prompt-code code {
  font-family: "SF Mono", Menlo, Consolas, "Courier New", monospace;
  font-size: 13px;
  line-height: 1.75;
  color: #2b3644;
  white-space: pre-wrap;
  word-break: break-word;
}

/* ---------- 提醒块 ---------- */
.tool-notice {
  padding: 15px 17px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #f8fafc;
}

.tool-notice .tool-section-body {
  margin: 0;
  font-size: 13.5px;
}

.tool-notice-warn {
  border-color: #f2d9b8;
  background: #fffaf0;
}

.tool-notice-warn .tool-block-title {
  color: #a8690d;
}

.tool-notice-info {
  border-color: #cfe0f7;
  background: #f4f8fe;
}

/* ---------- 响应式 ---------- */
@media (max-width: 560px) {
  .tool-step {
    gap: 11px;
  }

  .tool-step-no {
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    font-size: 12.5px;
    border-radius: 7px;
  }

  .tool-step-title {
    font-size: 15px;
  }

  .tool-download-btn {
    width: 100%;
  }

  .tool-disclaimer {
    padding: 16px 16px;
  }
}

.tool-disclaimer-footer {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #e6cfc9;
  color: #8a5a4c;
}

/* 外部链接按钮（百度云等）：区别于本站直下 */
.tool-download-btn-external {
  border-style: dashed;
  background: #fffdf7;
}

.tool-download-btn-external .tool-download-icon {
  background: #fff4e5;
  color: #b4690e;
}

.tool-download-btn-external:hover {
  border-color: #d9973f;
  box-shadow: 0 6px 18px rgba(180, 105, 14, 0.14);
}

/* ============================================================
   产品卡片网格（健康告知预览入口）
   ============================================================ */
.tool-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.tool-product-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 15px 16px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tool-product-card:hover {
  border-color: var(--warm);
  box-shadow: 0 8px 22px rgba(23, 105, 224, 0.12);
  transform: translateY(-2px);
}

.tool-product-brand {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--warm);
}

.tool-product-name {
  font-size: 14.5px;
  font-weight: 650;
  color: var(--text);
  line-height: 1.45;
}

.tool-product-tag {
  align-self: flex-start;
  margin-top: 2px;
  padding: 2px 8px;
  border-radius: 5px;
  background: #f1f4f8;
  color: #6b7684;
  font-size: 11.5px;
  font-weight: 600;
}

.tool-product-go {
  margin-top: 6px;
  padding-top: 9px;
  border-top: 1px dashed #e3e8ef;
  font-size: 12px;
  font-weight: 600;
  color: #9aa4b1;
  transition: color 0.2s ease;
}

.tool-product-card:hover .tool-product-go {
  color: var(--warm);
}

@media (max-width: 560px) {
  .tool-product-grid {
    grid-template-columns: 1fr;
  }
}
