/* ============================================
   KSL 职业卫生计算工具箱 · 全部工具索引区块
   ------------------------------------------------------------
   静态 HTML 区块（供百度与 AI 爬虫直读全部工具名称、
   场景与公式依据）。类名与线上 tools.html 的 ti-* 一一对应。
   设计语言沿用官网：主色 #007A38，圆角 --radius-md/lg，
   边框 --color-border，正文 --color-text-secondary。
   ============================================ */

/* --- 区块容器 --- */
.ti-block {
  margin-top: 48px;
  padding: 40px 36px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.ti-title {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--color-primary-light);
}

.ti-lead {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 820px;
}

/* --- 分类分组 --- */
.ti-groups {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  align-items: start;
}

.ti-group {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}

/* 分类标题：色点 + 名称 + 数量 */
.ti-cat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border-light);
}

.ti-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}

.ti-num {
  margin-left: auto;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-light);
  background: var(--color-bg-alt);
  border-radius: 999px;
  padding: 2px 10px;
  flex-shrink: 0;
}

/* --- 工具列表 --- */
.ti-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ti-item {
  padding: 12px 0;
  border-bottom: 1px dashed var(--color-border);
}

.ti-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ti-link {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 5px;
  transition: var(--transition-fast);
}

.ti-link:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

.ti-desc {
  font-size: 0.84rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 5px;
}

.ti-std {
  font-size: 0.76rem;
  color: var(--color-text-light);
  line-height: 1.65;
}

/* --- 免责说明 --- */
.ti-note {
  margin-top: 28px;
  padding: 18px 22px;
  background: var(--color-primary-light);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  font-size: 0.84rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .ti-block {
    margin-top: 32px;
    padding: 26px 20px;
  }
  .ti-groups { grid-template-columns: 1fr; gap: 20px; }
  .ti-title { font-size: 1.3rem; }
  .ti-lead { font-size: 0.88rem; margin-bottom: 24px; }
}
