/* 验收统计增量模块：保持现有 Bootstrap 风格，不依赖新的界面框架。 */
body { font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif; }
.stats-page { background: #f6f8fb; color: #253247; }
.stats-page main { max-width: 1240px; padding-top: 2rem; padding-bottom: 3rem; }
.stats-nav { background: #fff; border-bottom: 1px solid #dde4ec; }
.stats-nav .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .65rem; padding-top: 1rem; padding-bottom: 1rem; }
.stats-nav a { text-decoration: none; }
.stats-nav-links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; }
.stats-heading { font-size: 1.65rem; font-weight: 700; }
.stats-muted { color: #536275; }
.stats-card { background: #fff; border: 1px solid #dee5ef; border-radius: .65rem; padding: 1.25rem; height: 100%; }
.stats-card-label { color: #536275; font-size: .95rem; }
.stats-card-value { font-size: 1.7rem; font-weight: 700; color: #164ab5; word-break: break-word; margin-top: .4rem; }
.stats-panel { background: #fff; border: 1px solid #dee5ef; border-radius: .65rem; padding: 1.25rem; margin-top: 1.5rem; }
.stats-panel h2 { font-size: 1.2rem; font-weight: 700; }
.stats-page .table-responsive { width: 100%; overflow-x: auto; }
.stats-table { min-width: 740px; }
.stats-table th { white-space: nowrap; font-weight: 600; }
.stats-table td { vertical-align: middle; overflow-wrap: anywhere; }
.stats-table .stats-title { min-width: 155px; max-width: 280px; }
.stats-pager { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 1rem; }
.stats-filter { max-width: 250px; }
.stats-note { line-height: 1.8; font-size: .92rem; }
.stats-status[hidden], [hidden] { display: none !important; }
.stats-tool-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.stats-tool-category { min-width: 0; border: 1px solid #dce3eb; border-radius: .4rem; padding: .75rem; }
.stats-tool-category legend { float: none; width: auto; padding: 0 .3rem; margin: 0; font-size: .94rem; font-weight: 600; }
.stats-tool-choice { display: flex; align-items: start; gap: .45rem; margin: .55rem 0; }
.stats-tool-choice input { margin-top: .25rem; flex-shrink: 0; }
.stats-tool-choice label { overflow-wrap: anywhere; }
.stats-tool-panel { border-top: 1px solid #dee2e6; margin-top: 1.5rem; padding-top: 1.5rem; }
.stats-tool-panel h5 { font-weight: 600; }
.stats-word-input { width: 125px; }
.stats-content { white-space: pre-wrap; max-height: 250px; overflow-y: auto; padding: .6rem; background: #f6f8fb; }
.stats-admin-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.stats-admin-grid > .stats-panel { min-width: 0; }
@media (max-width: 767px) {
    .stats-tool-groups, .stats-admin-grid { grid-template-columns: 1fr; }
    .stats-page main { padding-top: 1.4rem; }
    .stats-heading { font-size: 1.35rem; }
    .stats-panel { padding: 1rem; }
    .stats-card { padding: 1rem; }
    .stats-card-value { font-size: 1.4rem; }
    .stats-pager { gap: .6rem; }
}
