/* 人事相关文档库 extra CSS */

/* 标题字号层级：大中小 */
.md-typeset h1 {
    font-size: 3.2em;
    font-weight: 700;
    margin-bottom: 0.5em;
}
.md-typeset h2 {
    font-size: 2.4em;
    font-weight: 650;
    margin-bottom: 0.4em;
    margin-top: 1.2em;
}
.md-typeset h3 {
    font-size: 1.8em;
    font-weight: 600;
    margin-bottom: 0.3em;
    margin-top: 1em;
}
.md-typeset {
    font-size: 1.8em;
    line-height: 1.8;
}

/* 变更履历高亮增强 */
mark, .mark {
    background-color: #fff3cd !important;
    padding: 0.1em 0.3em;
    border-radius: 3px;
    border-left: 3px solid #ffc107;
}

/* 锚点跳转临时高亮 */
:target {
    background-color: #fff3cd;
    padding: 0.1em 0.2em;
    border-radius: 3px;
    transition: background-color 3s ease;
}

/* ========== 职务权限表 ========== */

/* 放宽正文区域 */
.md-grid {
    max-width: 100%;
}
.md-sidebar--primary {
    width: 10rem;
}
.md-sidebar--secondary {
    width: 10rem;
}

/* 所有 zhiquan-table 表格统一宽度和样式 */
#zhiquan-table table {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
}

#zhiquan-table th,
#zhiquan-table td {
    padding: 4px 6px;
    white-space: normal;
    word-break: break-word;
    vertical-align: middle;
    line-height: 1.4;
    font-size: 1em;
    text-align: center;
}

/* 表头加粗 */
#zhiquan-table th {
    font-weight: 700;
}

/* 第一列（职务内容）左对齐 */
#zhiquan-table td:first-child {
    text-align: left;
}

/* 职务内容列占更宽比例 */
#zhiquan-table td:first-child,
#zhiquan-table th:first-child {
    width: 30%;
}

/* 合意部门和申请书种类名列 */
#zhiquan-table td:last-child,
#zhiquan-table th:last-child,
#zhiquan-table td:nth-last-child(2),
#zhiquan-table th:nth-last-child(2) {
    width: 12%;
}
