
/* ========= 全局现代化样式 ========= */
:root {
  --color-primary: #1e3a8a;
  --color-primary-light: #3b82f6;
  --color-accent: #f59e0b;
  --color-text: #1f2937;
  --color-text-light: #6b7280;
  --color-bg: #f8fafc;
  --color-border: #e5e7eb;
  --color-card: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

/* ========= Hero 区域（首页） ========= */
.home-hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #06b6d4 100%);
  color: white;
  padding: 60px 40px;
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.home-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.home-hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245,158,11,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.home-hero h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 2px;
}
.home-hero h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}
.home-hero p {
  font-size: 16px;
  line-height: 1.7;
  opacity: 1;
  color: #ffffff !important;
  margin-bottom: 32px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.home-hero strong {
  color: #fbbf24;
  font-size: 18px;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-lg {
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
}
.btn-primary {
  background: #f59e0b;
  color: white;
  border: none;
}
.btn-primary:hover {
  background: #d97706;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245,158,11,0.4);
}

/* ========= 数据统计卡片 ========= */
.home-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.stat-card {
  background: white;
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.2s;
  border-left: 4px solid transparent;
}
.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.stat-blue { border-left-color: #3b82f6; }
.stat-green { border-left-color: #10b981; }
.stat-orange { border-left-color: #f59e0b; }
.stat-purple { border-left-color: #8b5cf6; }
.stat-icon {
  font-size: 36px;
  line-height: 1;
}
.stat-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: var(--color-text-light);
  margin-top: 4px;
}

/* ========= 章节卡片 ========= */
.section-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}
.section-header h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
}
.section-more {
  color: var(--color-primary-light);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.section-more:hover {
  text-decoration: underline;
}

/* ========= 工具分类卡片（现代化） ========= */
.cat-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.cat-card-modern {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.cat-card-modern:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-light);
}
.cat-card-icon {
  font-size: 32px;
  margin-bottom: 8px;
}
.cat-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
}
.cat-card-count {
  font-size: 12px;
  color: var(--color-text-light);
  margin-bottom: 12px;
}
.cat-card-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tool-chip {
  background: #eff6ff;
  color: #1e40af;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
}
.tool-chip-more {
  background: #f3f4f6;
  color: #6b7280;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
}

/* ========= 热门工具网格 ========= */
.hot-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.hot-tool-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}
.hot-tool-card:hover {
  background: #eff6ff;
  border-color: var(--color-primary-light);
  transform: translateX(4px);
}
.hot-tool-icon {
  font-size: 28px;
  line-height: 1;
}
.hot-tool-info {
  flex: 1;
  min-width: 0;
}
.hot-tool-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hot-tool-desc {
  font-size: 12px;
  color: var(--color-text-light);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ========= 核心功能卡片 ========= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.feature-card {
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border: 1px solid var(--color-border);
  transition: all 0.2s;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  font-size: 40px;
  margin-bottom: 12px;
}
.feature-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}
.feature-desc {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ========= 法律导航页面重构 ========= */
.nav-hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #0891b2 100%);
  color: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  text-align: center;
}
.nav-hero h2 {
  font-size: 28px;
  margin-bottom: 8px;
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.nav-hero p {
  font-size: 15px;
  opacity: 0.9;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.nav-hero strong {
  color: #fbbf24;
  font-size: 18px;
}

.nav-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.nav-stat-item {
  background: white;
  padding: 20px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}
.nav-stat-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}
.nav-stat-label {
  font-size: 13px;
  color: var(--color-text-light);
  margin-top: 6px;
}

.nav-search-box {
  position: relative;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  border: 1px solid var(--color-border);
}
.nav-search-box .search-icon {
  padding: 0 16px;
  font-size: 18px;
  color: var(--color-text-light);
}
.nav-search-box input {
  flex: 1;
  padding: 14px 0;
  border: none;
  font-size: 14px;
  outline: none;
  background: transparent;
}
.btn-search-clear {
  padding: 0 16px;
  background: transparent;
  border: none;
  color: var(--color-text-light);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}
.btn-search-clear:hover {
  color: #ef4444;
}

.nav-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  padding: 16px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}
.nav-cat-tab {
  padding: 6px 14px;
  background: #f1f5f9;
  color: #475569;
  border-radius: 16px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-cat-tab:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-1px);
}

.nav-group {
  background: white;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  scroll-margin-top: 80px;
}
.nav-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-border);
}
.nav-group-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0;
}
.nav-group-count {
  background: #eff6ff;
  color: #1e40af;
  padding: 3px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.nav-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
}
.nav-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
  position: relative;
}
.nav-card:hover {
  background: white;
  border-color: var(--color-primary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.nav-card-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  flex-shrink: 0;
}
.nav-card-content {
  flex: 1;
  min-width: 0;
}
.nav-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-desc {
  font-size: 12px;
  color: var(--color-text-light);
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-url {
  font-size: 11px;
  color: #94a3b8;
  font-family: monospace;
}
.nav-go {
  color: var(--color-primary-light);
  font-size: 13px;
  font-weight: 500;
  flex-shrink: 0;
}

/* ========= 响应式 ========= */
@media (max-width: 768px) {
  .home-hero h1 { font-size: 24px; }
  .home-hero h2 { font-size: 20px; }
  .home-stats { grid-template-columns: repeat(2, 1fr); }
  .nav-stats { grid-template-columns: repeat(2, 1fr); }
  .cat-grid-modern { grid-template-columns: 1fr; }
  .hot-tools-grid { grid-template-columns: 1fr; }
  .nav-list { grid-template-columns: 1fr; }
  .nav-group-header { flex-direction: column; align-items: flex-start; gap: 8px; }
}


/* ========= 工具索引页样式 ========= */
.tools-index-hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #0891b2 100%);
  color: white;
  padding: 32px 40px;
  border-radius: var(--radius-lg, 16px);
  margin-bottom: 24px;
  text-align: center;
}
.tools-index-hero h2 {
  font-size: 28px;
  margin-bottom: 8px;
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.tools-index-hero p {
  font-size: 15px;
  color: #ffffff !important;
  opacity: 1;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.tools-search-box {
  position: relative;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  border: 1px solid #e5e7eb;
}
.tools-search-icon {
  padding: 0 16px;
  font-size: 18px;
  color: #6b7280;
}
.tools-search-box input {
  flex: 1;
  padding: 16px 0;
  border: none;
  font-size: 15px;
  outline: none;
  background: transparent;
  color: #1f2937;
}
.tools-search-box input::placeholder {
  color: #9ca3af;
}
.tools-search-clear {
  padding: 0 18px;
  background: transparent;
  border: none;
  color: #9ca3af;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}
.tools-search-clear:hover {
  color: #ef4444;
}
.tools-cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  padding: 14px 16px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  border: 1px solid #e5e7eb;
}
.tools-cat-tab {
  padding: 6px 14px;
  background: #f1f5f9;
  color: #475569;
  border-radius: 16px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tools-cat-tab:hover {
  background: #e0e7ff;
  color: #1e3a8a;
  transform: translateY(-1px);
}
.tools-cat-tab.active {
  background: #1e3a8a;
  color: #ffffff;
}
.cat-tab-count {
  background: rgba(255,255,255,0.25);
  padding: 1px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
}
.tools-cat-tab:not(.active) .cat-tab-count {
  background: #e5e7eb;
  color: #6b7280;
}
.tools-search-stats {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 10px 16px;
  margin-bottom: 16px;
  font-size: 14px;
  color: #1e40af;
  text-align: center;
}
.tools-search-stats strong {
  color: #1e3a8a;
  font-size: 16px;
}
.tools-no-result {
  text-align: center;
  padding: 60px 20px;
  color: #6b7280;
}
.tools-no-result .empty-icon {
  font-size: 64px;
  margin-bottom: 16px;
  opacity: 0.5;
}
.tools-no-result p {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1f2937;
}
.tools-no-result small {
  font-size: 13px;
  color: #9ca3af;
}
.cat-block h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  margin: 24px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.tool-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s;
}
.tool-card:hover {
  border-color: #3b82f6;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(59,130,246,0.12);
}
.tool-card .icon {
  font-size: 32px;
  margin-bottom: 8px;
}
.tool-card .title {
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 4px;
}
.tool-card .desc {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.4;
}
@media (max-width: 768px) {
  .tools-index-hero { padding: 24px 20px; }
  .tools-index-hero h2 { font-size: 22px; }
  .tool-grid { grid-template-columns: 1fr 1fr; }
}


/* ========= LPR 历史数据展示 ========= */
.lpr-history-panel {
  margin-top: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e0e7ff;
  border-radius: 12px;
  padding: 20px 24px;
}
.lpr-history-panel h3 {
  color: #1e3a8a;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.lpr-history-panel > p {
  color: #6b7280;
  font-size: 13px;
  margin-bottom: 16px;
}
.lpr-history-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.lpr-stat {
  background: white;
  border: 1px solid #e0e7ff;
  border-left: 4px solid #3b82f6;
  border-radius: 8px;
  padding: 14px 16px;
  text-align: center;
}
.lpr-stat-label {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 4px;
}
.lpr-stat-value {
  font-size: 22px;
  font-weight: 700;
  color: #1e3a8a;
  line-height: 1.2;
}
.lpr-stat-date {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 2px;
}
.lpr-history-controls {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.lpr-history-controls input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
}
.lpr-history-controls input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}
.lpr-history-controls select {
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  background: white;
  cursor: pointer;
  outline: none;
  min-width: 120px;
}
.lpr-history-table-wrap {
  max-height: 480px;
  overflow-y: auto;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 12px;
}
.lpr-history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.lpr-history-table thead {
  position: sticky;
  top: 0;
  background: #1e3a8a;
  color: white;
  z-index: 1;
}
.lpr-history-table th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}
.lpr-history-table td {
  padding: 10px 16px;
  border-bottom: 1px solid #f3f4f6;
  white-space: nowrap;
}
.lpr-history-table tbody tr:hover {
  background: #f0f9ff;
}
.lpr-history-table tbody tr:nth-child(even) {
  background: #fafbfc;
}
.lpr-history-table tbody tr:nth-child(even):hover {
  background: #f0f9ff;
}
.lpr-history-table .lpr-up {
  color: #dc2626;
  font-weight: 600;
}
.lpr-history-table .lpr-down {
  color: #16a34a;
  font-weight: 600;
}
.lpr-history-table .lpr-same {
  color: #9ca3af;
}
.lpr-history-footer {
  margin-top: 8px;
  color: #6b7280;
  font-size: 12px;
  text-align: center;
}
.lpr-history-footer small {
  line-height: 1.6;
}
@media (max-width: 768px) {
  .lpr-history-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .lpr-history-controls {
    flex-direction: column;
  }
  .lpr-history-table th,
  .lpr-history-table td {
    padding: 8px 10px;
    font-size: 12px;
  }
}

/* ========= AI 导航子类（T04） ========= */
.nav-subcat { margin-top: 16px; }
.nav-subcat-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin: 14px 0 10px;
  padding-left: 10px;
  border-left: 3px solid var(--color-primary-light);
}
.nav-subcat-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
  padding-left: 14px;
  border-left: 1px dashed var(--color-border);
}

/* ========= 法条 / 文书模板列表（T04） ========= */
.lib-list { display: flex; flex-direction: column; gap: 14px; }
.lib-item {
  background: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}
.lib-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}
.lib-title { font-size: 15px; font-weight: 600; color: var(--color-text); }
.lib-meta { display: flex; gap: 6px; flex-shrink: 0; }
.lib-cat, .lib-type {
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 12px;
  background: #eef2ff;
  color: #4338ca;
  font-weight: 500;
}
.lib-type { background: #ecfdf5; color: #047857; }
.lib-content {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin: 10px 0 12px;
  white-space: normal;
  max-height: 320px;
  overflow-y: auto;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
}
.lib-actions { display: flex; gap: 8px; }

/* ========= 诉讼时效说明（T04） ========= */
.sxsq-note {
  margin-top: 16px;
  padding: 12px 16px;
  background: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: 8px;
}
.sxsq-note summary { cursor: pointer; font-weight: 600; color: var(--color-primary); }
.sxsq-note-body { margin-top: 10px; font-size: 13px; color: var(--color-text-light); line-height: 1.7; }
.sxsq-note-body p { margin: 8px 0; }
.sxsq-result { margin-top: 16px; }

/* ========= 详细计算步骤（分段区间类工具） ========= */
.calc-steps { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--border, #ddd); }
.calc-steps h5 { margin: 0 0 8px; color: var(--primary, #1a3a6e); }
.calc-steps table { width: 100%; border-collapse: collapse; font-size: 13px; }
.calc-steps th, .calc-steps td { border: 1px solid var(--border, #e3e6ea); padding: 6px 8px; text-align: left; }
.calc-steps th { background: var(--primary-light, #eef2fa); }
.calc-steps td strong { color: var(--primary, #1a3a6e); }
.calc-steps tr:nth-child(even) td { background: rgba(0,0,0,0.015); }


