/*
 * 自定义覆盖样式
 * - sec1：min-height 100vh，背景始终铺满，不露白
 * - 已去掉 IP / "+" 列，列宽重新分配
 * - thead/tbody 用 table-layout:fixed + border-box 强制列对齐
 *   （保留 display:table-cell 以支持进度条跨列溢出）
 */

/* ===== 全局重置 ===== */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

/* ===== sec1 区域 ===== */
.sec1 {
    min-height: 100vh !important;
    height: auto !important;
    max-height: none !important;
    padding: 80px 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* 内容容器 */
.sec1 .inner.w1468 {
    width: 100%;
    max-width: 1468px;
    padding: 0 40px;
    box-sizing: border-box;
}

/* 提示文字 */
.sec1 .tip {
    margin-bottom: 30px !important;
}

/* "产品管线" 标题 */
.sec1 h3.bold {
    margin-bottom: 16px !important;
}

/* 表格容器 */
.sec1 .scroll-box {
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.3) transparent;
}
.sec1 .scroll-box::-webkit-scrollbar {
    width: 4px;
}
.sec1 .scroll-box::-webkit-scrollbar-track {
    background: transparent;
}
.sec1 .scroll-box::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 4px;
}

/* ============================================================
   thead：9列（占位 + 8个数据列），与 tbody 完全对齐
   ============================================================ */
.sec1 .thead {
    table-layout: fixed !important;
}
.sec1 .thead .th {
    box-sizing: border-box !important;
    border-right: 1px solid transparent !important;
}
.sec1 .thead .th:last-child {
    border-right: none !important;
}

/* thead 列宽（8列，合计100%） */
.sec1 .thead .th.sp       { width: 12%;  }
.sec1 .thead .th:nth-child(2)  { width: 14%;  padding-left: 1.5em; }
.sec1 .thead .th:nth-child(3)  { width: 10%;  }
.sec1 .thead .th:nth-child(4)  { width: 13%;  }
.sec1 .thead .th:nth-child(5)  { width: 10%;  }
.sec1 .thead .th:nth-child(6)  { width: 13%;  }
.sec1 .thead .th:nth-child(7)  { width: 14%;  }
.sec1 .thead .th:nth-child(8)  { width: 14%;  }
.sec1 .thead .th:nth-child(9),
.sec1 .thead .th:nth-child(10) { display: none !important; }

/* ============================================================
   tbody：9列（分类标签 + 8个数据列），与 thead 完全对齐
   ============================================================ */
/* 覆盖 product.css 的 flex 布局（旧结构用的，现在不需要） */
.sec1 .tbody {
    display: block !important;
}
.sec1 .tbody .normal {
    table-layout: fixed !important;
    width: 100% !important;
}
.sec1 .tbody .normal li {
    box-sizing: border-box !important;
    display: table-cell !important;
}

/* 分类标签列（首行显示，后续行隐藏占位） */
.sec1 .tbody .normal li.cat,
.sec1 .tbody .normal li.cat * {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
}
.sec1 .tbody .normal li.cat {
    width: 12%;
    font-size: 15px !important;
    font-weight: bold;
    line-height: 1.4;
    vertical-align: middle !important;
    text-align: left !important;
    word-break: break-word;
    white-space: normal !important;
    border-right: 1px solid rgba(255,255,255,0.3) !important;
}
/* 非首行的分类标签：隐藏但保留空间 */
.sec1 .tbody .normal + .normal li.cat {
    color: transparent;
    border-right: 1px solid rgba(255,255,255,0.3) !important;
}

/* 底部提示文字与表格间距 */
.sec1 h3 span {
    display: inline-block;
    margin-top: 20px;
}

/* tbody 数据列边框（cat 列单独处理） */
.sec1 .tbody .normal li:not(.cat) {
    border-right: 1px solid rgba(255,255,255,0.3) !important;
}
.sec1 .tbody .normal li:last-child {
    border-right: none !important;
}
/* Target 列防折行（第3列，cat占第1列） */
.sec1 .tbody .normal li:nth-child(3) {
    padding-left: 3px !important;
    white-space: nowrap !important;
}
/* Indication 列允许折行（第4列） */
.sec1 .tbody .normal li:nth-child(4) {
    padding-left: 3px !important;
    word-break: break-word;
}
/* 数据行行高 */
.sec1 .tbody .normal li {
    height: 48px !important;
}
/* tbody 数据列宽 */
.sec1 .tbody .normal li:nth-child(2) { width: 14%;  padding-left: 1.5em; }
.sec1 .tbody .normal li:nth-child(3) { width: 10%;  }
.sec1 .tbody .normal li:nth-child(4) { width: 13%;  }
.sec1 .tbody .normal li:nth-child(5) { width: 10%;  }
.sec1 .tbody .normal li:nth-child(6) { width: 13%;  }
.sec1 .tbody .normal li:nth-child(7) { width: 14%;  }
.sec1 .tbody .normal li:nth-child(8) { width: 14%;  }
.sec1 .tbody .normal li:nth-child(9),
.sec1 .tbody .normal li:nth-child(10) { display: none !important; }

/* 进度条内文字 */
.sec1 .bar {
    position: relative;
}
/* 进度条宽度乘数：barwidth值 × 3.6 = 实际视觉宽度 */
/* 100%数据 → 360%barwidth → 跨满3列(临床前+IIT+IND) */
.sec1 .tbody .normal .bar {
    /* 通过CSS变量控制乘数，修改 --bar-scale 即可全局调整 */
}
.sec1 .bar .bartext {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #fff;
    white-space: nowrap;
    gap: 12px;
}
.sec1 .bar .bartext em {
    font-style: normal;
    font-weight: bold;
}


/* ========================================
   响应式：平板 (768px ~ 1024px)
   ======================================== */
@media only screen and (max-width: 1024px) and (min-width: 768px) {
    .sec1 {
        padding: 60px 0 48px !important;
    }
    .sec1 .inner.w1468 {
        padding: 0 24px;
    }
    .sec1 .scroll-box {
        overflow-x: auto;
    }
    .sec1 .table {
        font-size: 1em;
        width: 100% !important;
    }
}

/* ========================================
   响应式：手机 (< 768px)
   ======================================== */
@media only screen and (max-width: 767px) {
    .sec1 {
        min-height: auto !important;
        padding: 36px 0 28px !important;
    }
    .sec1 .inner.w1468 {
        padding: 0 16px;
    }
    .sec1 .scroll-box {
        overflow-x: auto;
        margin-left: -16px;
        margin-right: -16px;
        padding: 0 16px;
    }
    .sec1 .table {
        width: 250vw !important;
        min-width: 900px;
        font-size: 13px;
    }
}
