@charset "utf-8";
/*
针对标准库标准列表页和标准内容页做的单独css样式
*/

/* 标准库列表页样式 */
.standard-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e2e4e8;
    border-radius: 6px;
    overflow: visible;
    padding: 16px 18px 14px 72px;
    margin: 0px 0px 0px 14px;
    box-sizing: border-box;
    /* 修改2：卡片100%继承父容器宽度，列表整齐统一，不再内容自适应宽度 */
    width: 100%;
}

/* 左侧悬浮圆角蓝色方块 */
.standard-card__level {
    position: absolute;
    left: -14px;
    top: 14px;
    width: 74px;
    height: 74px;
    background-color: #2b68bc;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
    /* 修改1：z-index调低，仅浮在边框，不会覆盖卡片内部文字内容 */
    z-index: 1;
}

/* 左侧悬浮圆角绿色方块 */
.standard-card__level1 {
    position: absolute;
    left: -14px;
    top: 14px;
    width: 74px;
    height: 74px;
    background-color: #43b95c;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
    /* 修改1：z-index调低，仅浮在边框，不会覆盖卡片内部文字内容 */
    z-index: 1;
}

/* 左侧悬浮圆角天蓝色方块 */
.standard-card__level2 {
    position: absolute;
    left: -14px;
    top: 14px;
    width: 74px;
    height: 74px;
    background-color: #28a7e0;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
    /* 修改1：z-index调低，仅浮在边框，不会覆盖卡片内部文字内容 */
    z-index: 1;
}

/* 左侧悬浮圆角紫色方块 */
.standard-card__level3 {
    position: absolute;
    left: -14px;
    top: 14px;
    width: 74px;
    height: 74px;
    background-color: #ca3dac;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
    /* 修改1：z-index调低，仅浮在边框，不会覆盖卡片内部文字内容 */
    z-index: 1;
}

/* 右上角现行标签 */
.standard-card__status {
    position: absolute;
    top:12px;
    right:12px;
    background:#43b95c;
    color:#fff;
    font-size:12px;
    padding:5px 14px;
    border-radius:6px;
    z-index:2;
}

/* GB编号红色 */
.standard-card__gbno {
    font-size: 20px;
    font-weight:bold;
    color:#d62222;
    margin-right:8px;
}
/* 中文标题蓝色 */
.standard-card__cntitle {
    font-size: 18px;
    color:#20449b;
}

/* ICS CCS行 */
.standard-card__icsccs-row {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    font-size:12px;
    color:#222222;
    margin:12px 0;
    gap:36px;
}
.standard-card__ico {
    display:inline-block;
    margin-right:6px;
    font-size:12px;
    opacity:0.85;
}

/* 修改3：ICS下方新增分隔线 */
.standard-card__divider{
    width:100%;
    height:1px;
    background:#e2e4e8;
    margin:4px 0 10px 0;
}

/* 左侧蓝色竖线条目 */
.standard-card__line-item {
    border-left:4px solid #2780a8;
    padding-left:14px;
    margin:10px 0;
    font-size:14px;
    line-height:1.55;
    color:#333333;
}
.standard-card__label{
    color:#222222;
    margin-right:8px;
}
.standard-card__value{
    color:#444444;
}

/* 底部灰色栏 */
.standard-card__footer {
    margin:16px -18px -14px -72px;
    padding:12px 22px 12px 22px;
    background-color:#f4f4f4;
    display:flex;
    justify-content:flex-end;
    gap:48px;
    font-size:12px;
    color:#222222;
    border-bottom-left-radius:6px;
    border-bottom-right-radius:6px;
}
.standard-card__footer-item{
    display:flex;
    align-items:center;
    gap:8px;
}

/* standard.css  标准详情页面样式 */
.standard-wrap {
    font-family: "Microsoft Yahei", Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #333;
    background: #ffffff;
    line-height: 1.65;
}
.standard-wrap h1 {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: #111;
}
.standard-en-title {
    font-size: 14px;
    color: #666;
    margin-bottom:12px;
}
.standard-tag-group {
    display:flex;
    gap:6px;
    margin-bottom:16px;
}
.standard-tag {
    color:#fff;
    padding:2px 8px;
    border-radius:3px;
    font-size:13px;
}
.tag-level {
    background-color:#4088d8;
}
.tag-nature {
    background-color:#39b54a;
}
.tag-ment {
    background-color:#28a7e0;
}
.standard-intro-text {
    margin-bottom:20px;
    color:#333;
}
/* 目录导航 */
.standard-catalog-box {
    background:#f5f7fa;
    border:1px solid #e5e7eb;
    padding:14px 18px;
    margin-bottom:24px;
}
.standard-catalog-box .catalog-title {
    font-weight:bold;
    font-size:15px;
    display:inline-block;
    margin-right:20px;
}
.standard-catalog-box a {
    color:#0066cc;
    text-decoration:none;
    margin-right:14px;
}
.standard-catalog-box a:hover {
    text-decoration:underline;
}

/* 标准状态模块 */
.standard-state-block {
    margin-bottom:28px;
}
.block-title {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    margin-bottom:18px;
}
.block-title-text {
    padding-left:12px;
    border-left:4px solid #2b74cb;
    flex-shrink: 0;
}
/* 伪元素实现：文字右边自适应横线 */
.block-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color:#e5e7eb;
    margin-left:16px;
}

/* ====== 新版时间轴样式（匹配截图02）====== */
.timeline-wrap {
    margin:10px 0 24px 0;
}
/* 第一行：文字行，左中右三部分对齐圆点 */
.timeline-text-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    font-size:15px;
    margin-bottom:6px;
}
.timeline-text-left {
    text-align:left;
}
.timeline-text-center {
    text-align:center;
}
.timeline-text-right {
    text-align:right;
}
/* 第二行：轴线+圆点 */
.timeline-line-row {
    height:2px;
    background:#d3d6db;
    display:grid;
    grid-template-columns: 1fr 1fr 1fr;
    position:relative;
}
.timeline-dot {
    width:12px;
    height:12px;
    border-radius:50%;
    background:#d3d6db;
    position:absolute;
    top:-5px;
}
.dot-left {
    left:0px;
}
.dot-center {
    left:calc(50% - 6px);
    background:#d3d6db;
}
.dot-center.active {
    background:#629b42;
}
.dot-right {
    right:0px;
}

/* 底部三卡片固定3栏布局，第三栏废止占位 */
.three-card-row {
    display:grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-flow: dense;
    gap:16px;
    margin-bottom:28px;
}
.card-empty{
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.card-item {
    border:1px solid #e2e5eb;
    border-radius:4px;
    overflow:hidden;
}
.card-header {
    padding:6px 12px;
    color:#fff;
    font-weight:bold;
    text-align: center;
}
.card-header-old {
    background:#d88898;
}
.card-header-current {
    background:#407fc9;
}
.card-body {
    padding:14px 16px;
}
.card-body .gb-num {
    color:#0055bb;
    font-weight:bold;
    margin-bottom:4px;
}
.card-body small {
    color:#666;
}

/* 基础信息表格 */
.baseinfo-table {
    width:100%;
    border-collapse: collapse;
    border:1px solid #e5e7eb;
}
.baseinfo-table td {
    border:1px solid #e5e7eb;
    padding:9px 12px;
}
.baseinfo-table td:nth-child(odd) {
    background:#f7f8fa;
    width:140px;
    font-weight:500;
}
/* 锚点占位，用于目录跳转 */
.anchor-item {
    position:relative;
    top:-10px;
}


.standard-intro-text {
    margin-bottom:20px;
    color:#333;
    /* 只保留文本内容自带的空格、换行，模板源码的空白完全忽略 */
    white-space: pre-wrap;
    /* 兼容：连续空格、段首空格原样渲染；长文本自动换行，不会横向滚动 */
    tab-size: 2;
}

