/* Star Eval 前台样式 — 政务/民政文档风格
 * 与原 CF7 表单 (.eval-container / .eval-table / .cf7-input 等) 视觉一致，
 * 但 CSS 选择器加了 .se- 前缀避免与全站冲突。
 */

:root {
    --se-primary: #345b6e;
    --se-primary-dark: #244a5c;
    --se-accent: #b08968;
    --se-gold: #c9a227;
    --se-bg: #faf5ee;
    --se-surface: #ffffff;
    --se-row-alt: #f5efe6;
    --se-row-group: #efe6d8;
    --se-row-subtotal: #f2ede4;
    --se-row-total: #ebe4d6;
    --se-border: #ddd3c2;
    --se-border-light: #e8e0d2;
    --se-text: #3a332c;
    --se-text-soft: #5d5249;
    --se-text-mute: #9a8d7d;
    --se-required: #c0392b;
}

.se-wrap { font-family: 'Microsoft YaHei', '微软雅黑', 'PingFang SC', sans-serif; color: var(--se-text); }
.se-wrap * { box-sizing: border-box; }
.se-container { max-width: 960px; margin: 0 auto; padding: 0 6px; }

.se-header {
    background: var(--se-surface);
    border: 1px solid var(--se-border);
    border-top: 4px solid var(--se-accent);
    padding: 22px 26px 18px;
    margin-bottom: 14px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(176,137,104,0.10);
}
.se-header .se-doc-meta {
    font-size: 15px; color: var(--se-text-soft);
    border-bottom: 1px solid var(--se-border-light);
    padding-bottom: 8px; margin-bottom: 12px;
    display: flex; flex-wrap: wrap; gap: 4px 22px;
}
.se-header .se-doc-meta b { color: var(--se-primary); font-weight: 600; }
.se-header .se-title {
    font-family: 'SimSun', '宋体', 'Songti SC', serif;
    font-size: 24px; font-weight: 700;
    color: var(--se-primary);
    letter-spacing: 1px; margin-bottom: 6px;
}
.se-header .se-subtitle { font-size: 15px; color: var(--se-text-soft); }

/* ---------- R19：当前填报月份徽标（一级 / 二级填写页标题区）---------- */
.se-month-badge {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    margin: 4px 0 10px;
    padding: 7px 18px;
    border-radius: 6px;
    background: #fdf3d8;                 /* 暖黄底，与页面主色（深青）拉开对比 */
    border: 1px solid var(--se-gold);
    border-left: 5px solid var(--se-gold);
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.se-month-badge-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--se-text-soft);
    letter-spacing: 0.5px;
}
.se-month-badge-value {
    font-size: 22px;
    font-weight: 700;
    color: #9c6610;                      /* 暖棕，醒目且与周围深青文字区分 */
    letter-spacing: 1px;
    line-height: 1.2;
}

.se-notice {
    background: var(--se-surface);
    border: 1px solid var(--se-border);
    border-left: 4px solid var(--se-accent);
    padding: 14px 20px; margin-bottom: 14px;
    font-size: 14px; color: var(--se-text-soft);
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(176,137,104,0.08);
}
.se-notice .se-notice-title {
    font-family: 'SimSun', '宋体', serif;
    font-size: 15px; font-weight: 700; color: var(--se-primary); margin-bottom: 6px;
}
.se-notice ul { margin: 4px 0 0 18px; }
.se-notice li { margin-bottom: 3px; }
.se-notice .se-required { color: var(--se-required); font-weight: 700; }

.se-section-bar {
    font-family: 'SimSun', '宋体', serif;
    font-size: 18px; font-weight: 700; color: #fff;
    background: var(--se-primary);
    padding: 7px 16px; margin-bottom: 0;
    border: 1px solid var(--se-primary);
    border-bottom: 2px solid var(--se-accent);
}

.se-info-block {
    background: var(--se-surface);
    border: 1px solid var(--se-border);
    border-top: none;
    padding: 18px 20px; margin-bottom: 14px;
}
.se-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 22px; }
.se-info-field { display: flex; flex-direction: column; }
.se-info-field.se-full { grid-column: 1 / -1; }
.se-info-field label {
    font-size: 15.5px; font-weight: 600; color: var(--se-text-soft); margin-bottom: 5px;
}
.se-info-field label .se-required { color: var(--se-required); margin-left: 2px; }
.se-info-field .se-hint { font-size: 13.5px; color: var(--se-text-mute); font-weight: 400; margin-top: 3px; }

.se-input, .se-select {
    width: 100%; padding: 8px 10px;
    border: 1px solid var(--se-border); border-radius: 6px;
    background: #fff; font-size: 16px; color: var(--se-text);
    font-family: inherit; transition: border-color 0.15s, box-shadow 0.15s;
}
.se-input:focus, .se-select:focus {
    outline: none; border-color: var(--se-primary);
    box-shadow: 0 0 0 2px rgba(52,91,110,0.16);
}
.se-input::placeholder { color: var(--se-text-mute); }

.se-radio-inline { display: flex; flex-wrap: wrap; gap: 18px; padding-top: 2px; }
.se-radio-inline label {
    display: inline-flex; align-items: center; gap: 6px;
    cursor: pointer; font-size: 16px; color: var(--se-text); font-weight: 500;
}
.se-radio-inline input[type="radio"] {
    appearance: none; -webkit-appearance: none;
    width: 16px; height: 16px;
    border: 1.5px solid var(--se-border); border-radius: 50%;
    background: #fff; position: relative; cursor: pointer; flex-shrink: 0;
}
.se-radio-inline input[type="radio"]:checked { border-color: var(--se-primary); }
.se-radio-inline input[type="radio"]:checked::after {
    content: ''; position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 8px; height: 8px; border-radius: 50%; background: var(--se-primary);
}

.se-table-block {
    background: var(--se-surface);
    border: 1px solid var(--se-border);
    border-top: none; margin-bottom: 14px;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.se-eval-table {
    width: 100% !important; border-collapse: collapse;
    font-size: 16px; table-layout: fixed !important; min-width: 760px;
}
.se-eval-table th {
    background: var(--se-primary-dark); color: #fff;
    font-weight: 600; font-size: 14px; padding: 9px 8px;
    border: 1px solid var(--se-primary-dark);
    text-align: center; white-space: nowrap; word-break: break-word;
}
.se-eval-table td {
    border: 1px solid var(--se-border-light);
    padding: 9px 10px; vertical-align: top;
    color: var(--se-text); word-break: break-word;
}
.se-eval-table tbody tr:nth-child(even):not(.se-group-header):not(.se-subtotal-row):not(.se-total-row) td { background: var(--se-row-alt); }
.se-eval-table tbody tr:nth-child(odd):not(.se-group-header):not(.se-subtotal-row):not(.se-total-row) td  { background: #fff; }
.se-col-no   { width: 6%;  text-align: center; }
.se-col-item { width: 12%; }
.se-col-criteria { width: 43%; }
.se-col-score { width: 7%;  text-align: center; }
.se-col-self  { width: 13%; text-align: center; }
.se-col-basis { width: 19%; }
.se-eval-table td.se-col-no, .se-eval-table td.se-col-score { text-align: center; font-weight: 600; }
.se-eval-table td.se-col-no  { font-size: 15px; }
.se-eval-table td.se-col-item { font-weight: 600; color: var(--se-primary); }
.se-eval-table td.se-col-criteria { font-size: 15.5px; line-height: 1.7; }

.se-eval-table tr.se-group-header td {
    background: var(--se-row-group);
    font-family: 'SimSun', '宋体', serif;
    font-weight: 700; font-size: 16.5px; color: var(--se-primary);
    text-align: left; padding: 8px 12px;
    border-top: 2px solid var(--se-accent);
    border-bottom: 1px solid var(--se-border);
}
.se-eval-table tr.se-subtotal-row td {
    background: var(--se-row-subtotal);
    font-weight: 700; font-size: 15.5px; color: var(--se-primary);
    text-align: center;
}
.se-eval-table tr.se-subtotal-row td.se-subtotal-label { text-align: right; padding-right: 14px; }
.se-eval-table tr.se-total-row td {
    background: var(--se-row-total);
    font-family: 'SimSun', '宋体', serif;
    font-weight: 700; font-size: 17px; color: var(--se-primary);
    text-align: center; border-top: 2px solid var(--se-primary);
}
.se-eval-table tr.se-total-row td.se-total-label { text-align: right; padding-right: 14px; }

.se-score-input {
    box-sizing: border-box !important; max-width: 100% !important;
    width: 78px !important; padding: 6px 4px;
    border: 1px solid var(--se-border); border-radius: 6px;
    background: #fff; text-align: center; font-size: 16px;
    color: var(--se-text); font-family: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.se-score-input:focus { outline: none; border-color: var(--se-primary); box-shadow: 0 0 0 2px rgba(52,91,110,0.16); }

.se-basis-input {
    box-sizing: border-box !important; max-width: 100% !important;
    width: 100% !important; padding: 6px 8px;
    border: 1px solid var(--se-border); border-radius: 6px;
    background: #fff; font-size: 15px; color: var(--se-text);
    font-family: inherit; transition: border-color 0.15s, box-shadow 0.15s;
}
.se-basis-input:focus { outline: none; border-color: var(--se-primary); box-shadow: 0 0 0 2px rgba(52,91,110,0.16); }
.se-basis-input::placeholder { color: var(--se-text-mute); }

.se-readonly-box {
    background: var(--se-row-alt); border: 1px solid var(--se-border);
    font-weight: 700; color: var(--se-primary); text-align: center;
    padding: 6px 8px; border-radius: 6px; width: 78px; font-size: 16px;
}

.se-result-block {
    background: var(--se-surface); border: 1px solid var(--se-border);
    padding: 16px 20px; margin-bottom: 14px;
    border-radius: 8px; box-shadow: 0 2px 10px rgba(176,137,104,0.10);
}
.se-result-row {
    display: flex; align-items: center; gap: 14px;
    padding: 8px 0; border-bottom: 1px dashed var(--se-border-light); flex-wrap: wrap;
}
.se-result-row:last-child { border-bottom: none; }
.se-result-row .se-result-label {
    font-family: 'SimSun', '宋体', serif;
    font-weight: 700; color: var(--se-primary);
    font-size: 17px; min-width: 120px;
}
.se-star-display {
    font-size: 22px; letter-spacing: 3px; color: var(--se-gold);
    font-weight: 700; background: transparent !important; border: none !important;
    flex: 1; min-width: 160px; text-align: left;
}
.se-bonus-amount { font-size: 18px; font-weight: 700; color: var(--se-gold); }

.se-submit-wrapper { text-align: center; padding: 8px 0 4px; }
.se-submit {
    background: var(--se-primary); color: #fff; border: none;
    border-radius: 6px; padding: 12px 56px;
    font-size: 18px; font-weight: 600;
    font-family: 'SimSun', '宋体', serif;
    letter-spacing: 4px; cursor: pointer;
    transition: background 0.15s;
}
.se-submit:hover  { background: var(--se-primary-dark); }
.se-submit:active { background: #0d2236; }
.se-submit:disabled { background: #999; cursor: not-allowed; }

.se-footer {
    text-align: center; color: var(--se-text-mute);
    font-size: 14px; padding: 12px 0 4px;
    border-top: 1px solid var(--se-border-light); margin-top: 6px;
}

.se-field-error .se-input,
.se-field-error .se-select,
.se-field-error .se-score-input,
.se-field-error .se-basis-input {
    border-color: var(--se-required) !important;
    box-shadow: 0 0 0 2px rgba(192,57,43,0.12) !important;
}
.se-field-error .se-radio-inline { outline: 1px solid var(--se-required); outline-offset: 2px; }
.se-err-tip { color: var(--se-required); font-size: 14px; margin-top: 3px; display: none; }
.se-field-error .se-err-tip { display: block; }

.se-confirm { padding: 36px 20px; text-align: center; border-radius: 8px; }
.se-confirm h2 { font-family: 'SimSun', '宋体', serif; font-size: 26px; margin-bottom: 14px; }
.se-confirm-ok   { background: #ecf3e8; color: #4a6b3a; border: 1px solid #b8d8b8; }
.se-confirm-fail { background: #f9eae6; color: #8a3a2a; border: 1px solid #e0b8b8; }
.se-confirm .se-button {
    display: inline-block; background: var(--se-primary); color: #fff;
    padding: 8px 20px; border-radius: 6px; text-decoration: none; margin-top: 10px;
}

@media (max-width: 768px) {
    .se-container { padding: 0 4px; }
    .se-header { padding: 16px 14px 14px; }
    .se-header .se-title { font-size: 20px; letter-spacing: 0.5px; }
    .se-header .se-doc-meta { gap: 2px 14px; font-size: 14px; }
    .se-month-badge { gap: 8px; padding: 6px 14px; }
    .se-month-badge-label { font-size: 13px; }
    .se-month-badge-value { font-size: 19px; letter-spacing: 0.5px; }
    .se-info-block { padding: 14px 12px; }
    .se-info-grid { grid-template-columns: 1fr; gap: 12px; }
    .se-table-block { overflow-x: visible; }
    .se-eval-table { min-width: 0; display: block; }
    .se-eval-table thead { display: none; }
    .se-eval-table tbody { display: block; }
    .se-eval-table tr {
        display: block; border: 1px solid var(--se-border);
        margin-bottom: 10px; background: #fff;
    }
    .se-eval-table tr.se-group-header td { border-top: 3px solid var(--se-accent); }
    .se-eval-table td {
        display: block; border: none; border-bottom: 1px solid var(--se-border-light);
        padding: 8px 12px; text-align: left !important; background: #fff !important;
    }
    .se-eval-table td::before {
        content: attr(data-label); display: block;
        font-size: 14px; font-weight: 700; color: var(--se-text-mute); margin-bottom: 3px;
    }
    .se-eval-table td.se-col-no::before, .se-eval-table td.se-col-score::before { display: inline; margin-right: 6px; }
    .se-eval-table td.se-col-no  { display: inline-block; width: auto; border-bottom: none; padding-bottom: 0; font-size: 14px; }
    .se-eval-table td.se-col-item {
        display: inline-block; width: auto; border-bottom: 1px solid var(--se-border-light);
        font-size: 16.5px;
    }
    .se-eval-table tr.se-subtotal-row, .se-eval-table tr.se-total-row { background: var(--se-row-subtotal); }
    .se-eval-table tr.se-subtotal-row td, .se-eval-table tr.se-total-row td { background: transparent !important; }
    .se-eval-table tr.se-subtotal-row td::before, .se-eval-table tr.se-total-row td::before { display: none; }
    .se-eval-table tr.se-subtotal-row td.se-subtotal-label,
    .se-eval-table tr.se-total-row td.se-total-label { text-align: left; padding-right: 12px; }
    .se-score-input { width: 100% !important; max-width: 200px; }
    .se-readonly-box { width: 100%; max-width: 200px; }
    .se-result-row .se-result-label { min-width: 100px; font-size: 16px; }
    .se-submit { padding: 12px 40px; letter-spacing: 2px; }
}

/* =========================================================================
 *  R2 扩展：L2 复核表 / 登录 / 身份条 / 主管汇总 / CEO 汇总 / 状态徽章 / 分页
 *  - 保留 L1 全部样式不变
 *  - 所有选择器继续加 .se- 前缀，与全站隔离
 * ========================================================================= */

/* ---------- 通用：按钮 / 徽章 / 分页 / 空行 ---------- */

.se-button {
    display: inline-block;
    background: var(--se-primary);
    color: #fff;
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none;
    border: 1px solid var(--se-primary);
    font-size: 14px;
    font-weight: 500;
    transition: background 0.15s, border-color 0.15s;
    cursor: pointer;
}
.se-button:hover { background: var(--se-primary-dark); border-color: var(--se-primary-dark); color: #fff; }
.se-button-ghost {
    background: transparent;
    color: var(--se-primary);
    border: 1px solid var(--se-primary);
}
.se-button-ghost:hover {
    background: var(--se-primary);
    color: #fff;
}

.se-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid transparent;
    white-space: nowrap;
}
.se-badge-ok   { background: #ecf3e8; color: #4a6b3a; border-color: #b8d8b8; }
.se-badge-warn { background: #fff4dd; color: #8a6b1e; border-color: #ecd9a0; }
.se-badge-mute { background: #f0eee9; color: #7d7064; border-color: #d8d2c5; }

.se-empty {
    text-align: center;
    color: var(--se-text-mute);
    padding: 24px !important;
    font-size: 15px;
}

.se-pagination {
    text-align: center;
    padding: 14px 0 4px;
}
.se-page-link {
    display: inline-block;
    padding: 5px 12px;
    margin: 0 3px;
    border: 1px solid var(--se-border);
    border-radius: 4px;
    background: #fff;
    color: var(--se-primary);
    text-decoration: none;
    font-size: 14px;
}
.se-page-link:hover { background: var(--se-row-alt); }
.se-page-current {
    background: var(--se-primary);
    color: #fff;
    border-color: var(--se-primary);
}
.se-page-current:hover { background: var(--se-primary-dark); }

/* ---------- L2 复核表（8 列：序号/项目/标准/分值/L1自评/L1依据/L2复核/L2依据）---------- */

.se-eval-table.se-eval-table-review { min-width: 1080px; }
.se-eval-table-review .se-col-no          { width: 5%;  }
.se-eval-table-review .se-col-item       { width: 10%; }
.se-eval-table-review .se-col-criteria    { width: 32%; }
.se-eval-table-review .se-col-score      { width: 6%;  }
.se-eval-table-review .se-col-l1          { width: 8%;  text-align: center; font-weight: 600; color: var(--se-text-soft); }
.se-eval-table-review .se-col-l1-basis    { width: 12%; color: var(--se-text-soft); font-size: 14.5px; }
.se-eval-table-review .se-col-self       { width: 10%; text-align: center; }
.se-eval-table-review .se-col-basis      { width: 17%; }

.se-eval-table-review td.se-col-l1 {
    background: var(--se-row-alt);
}
.se-l1-sub {
    display: inline-block;
    min-width: 36px;
    padding: 2px 8px;
    background: var(--se-row-alt);
    border: 1px solid var(--se-border);
    border-radius: 4px;
    font-weight: 700;
    color: var(--se-primary);
}

/* ---------- 登录卡片 ---------- */

.se-login {
    display: flex;
    justify-content: center;
    padding: 32px 6px;
}
.se-login-card {
    background: var(--se-surface);
    border: 1px solid var(--se-border);
    border-top: 4px solid var(--se-accent);
    border-radius: 8px;
    padding: 28px 32px 24px;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 2px 12px rgba(176,137,104,0.10);
}
.se-login-title {
    font-family: 'SimSun', '宋体', serif;
    font-size: 22px;
    color: var(--se-primary);
    margin: 0 0 8px;
    font-weight: 700;
    text-align: center;
}
.se-login-hint {
    color: var(--se-text-soft);
    font-size: 14.5px;
    text-align: center;
    margin: 0 0 18px;
}
.se-login-card .se-info-field label { font-size: 15px; }
.se-login-tip {
    color: var(--se-text-mute);
    font-size: 13px;
    margin-top: 16px;
    text-align: center;
    border-top: 1px dashed var(--se-border-light);
    padding-top: 10px;
}

/* ---------- 顶部身份条 ---------- */

.se-identity-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--se-bg);
    border: 1px solid var(--se-border);
    border-left: 4px solid var(--se-primary);
    padding: 8px 14px;
    margin-bottom: 14px;
    border-radius: 6px;
    font-size: 14.5px;
    color: var(--se-text-soft);
}
.se-identity-bar b { color: var(--se-primary); }

/* ---------- 汇总卡片组（主管 / CEO 视图顶部）---------- */

.se-summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}
.se-summary-card {
    background: var(--se-surface);
    border: 1px solid var(--se-border);
    border-left: 4px solid var(--se-primary);
    padding: 14px 18px;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.se-summary-num {
    font-size: 24px;
    font-weight: 700;
    color: var(--se-primary);
    line-height: 1.2;
}
.se-summary-label {
    color: var(--se-text-soft);
    font-size: 13.5px;
    margin-top: 4px;
}
/* R20：两行标签（如「一级自评完成 / 二级复评完成」）——字号间距同单行标签，仅收紧行高 */
.se-summary-label-two { line-height: 1.45; }

/* ---------- 主管汇总 / CEO 汇总表（共用）---------- */

.se-branch-list-block,
.se-ceo-summary-block {
    margin-bottom: 18px;
}
.se-branch-list,
.se-ceo-summary {
    min-width: 720px;
}
.se-col-branch { width: 13%; }
.se-col-time   { width: 16%; font-size: 14px; }
.se-col-name   { width: 12%; }
.se-col-num    { width: 8%;  text-align: center; font-weight: 600; }
.se-col-star   { width: 12%; text-align: center; color: var(--se-gold); font-weight: 600; }
.se-col-status { width: 10%; text-align: center; }
.se-col-action { width: 12%; text-align: center; }

/* ---------- 行点击 hover 提示 ---------- */

.se-row-link:hover td { background: var(--se-row-alt) !important; }

/* ---------- 移动端适配 ---------- */

@media (max-width: 768px) {
    .se-login-card { padding: 22px 18px 18px; }
    .se-summary-cards { grid-template-columns: repeat(2, 1fr); }
    .se-identity-bar { font-size: 13px; padding: 6px 10px; flex-wrap: wrap; gap: 6px; }
    .se-eval-table-review { min-width: 0; display: block; }
    .se-eval-table-review thead { display: none; }
    .se-eval-table-review tbody { display: block; }
    .se-eval-table-review tr {
        display: block; border: 1px solid var(--se-border);
        margin-bottom: 10px; background: #fff;
    }
    .se-eval-table-review td {
        display: block; border: none;
        border-bottom: 1px solid var(--se-border-light);
        padding: 8px 12px; text-align: left !important; background: #fff !important;
    }
    .se-eval-table-review td::before {
        content: attr(data-label);
        display: block;
        font-size: 13px;
        font-weight: 700;
        color: var(--se-text-mute);
        margin-bottom: 3px;
    }
    .se-col-action { text-align: left !important; }
}

/* =========================================================================
 *  R9 扩展：提交密钥自定义大尺寸弹窗 / 禁用输入框 / 双入口栅格
 * ========================================================================= */

/* ---------- 所属片区（禁用态，自动带入，视觉与只读一致）---------- */
.se-input:disabled {
    background: var(--se-row-alt);
    color: var(--se-primary);
    font-weight: 700;
    cursor: not-allowed;
    opacity: 1;
}

/* ---------- 片区主管双入口栅格 ---------- */
.se-district-gateways {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    align-items: start;
    margin-bottom: 14px;
}
.se-district-gateway-card {
    max-width: none;
    margin: 0;
}
.se-gateway-noconf {
    color: var(--se-required);
    font-weight: 600;
    background: #f9eae6;
    border: 1px solid #e0b8b8;
    border-radius: 6px;
    padding: 10px 14px;
}

/* ---------- 提交密钥大尺寸醒目弹窗 ---------- */
.se-key-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(40, 30, 20, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.se-key-modal {
    background: #fff;
    border: 3px solid var(--se-accent);
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.38);
    max-width: 540px;
    width: 100%;
    overflow: hidden;
}
.se-key-modal-head {
    background: var(--se-primary);
    color: #fff;
    font-family: 'SimSun', '宋体', serif;
    font-size: 24px;
    font-weight: 700;
    padding: 20px 26px;
    letter-spacing: 2px;
}
.se-key-modal-body { padding: 24px 26px 10px; }
.se-key-modal-tip {
    font-size: 16px;
    color: var(--se-text-soft);
    line-height: 1.8;
    margin: 0 0 18px;
}
.se-key-modal-input {
    width: 100%;
    padding: 15px 16px;
    border: 2px solid var(--se-border);
    border-radius: 8px;
    font-size: 20px;
    color: var(--se-text);
    font-family: inherit;
}
.se-key-modal-input:focus {
    outline: none;
    border-color: var(--se-primary);
    box-shadow: 0 0 0 3px rgba(52, 91, 110, 0.20);
}
.se-key-modal-err {
    color: var(--se-required);
    font-size: 15px;
    margin-top: 10px;
}
.se-key-modal-foot {
    display: flex;
    gap: 14px;
    padding: 16px 26px 26px;
    justify-content: flex-end;
}
.se-key-modal-btn {
    font-size: 17px;
    font-weight: 600;
    padding: 13px 30px;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid transparent;
    font-family: 'Microsoft YaHei', sans-serif;
}
.se-key-modal-cancel {
    background: #fff;
    color: var(--se-text-soft);
    border-color: var(--se-border);
}
.se-key-modal-cancel:hover { background: var(--se-row-alt); }
.se-key-modal-ok { background: var(--se-accent); color: #fff; }
.se-key-modal-ok:hover { background: #9a7355; }

/* ============================================================== *
 *  二级复评（v4）— 待办列表 / 筛选栏 / 复评打分表
 * ============================================================== */

/* 筛选栏 */
.se-filter-bar {
    display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px;
    background: var(--se-surface);
    border: 1px solid var(--se-border);
    border-radius: 8px;
    padding: 16px 18px;
    margin: 14px 0;
}
.se-filter-field { display: flex; flex-direction: column; gap: 6px; min-width: 150px; }
.se-filter-field > label { font-size: 13px; color: var(--se-text-soft); font-weight: 600; }
.se-filter-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.se-submit-sm { padding: 8px 18px; font-size: 14px; }

/* 列表状态 */
.se-status-text { font-size: 12px; color: var(--se-text-mute); margin-top: 4px; }
.se-col-district, .se-col-num { text-align: center; }

/* R23：二级复评列表操作列按钮 ——「去复评」由普通文字链接改为醒目按钮。
   说明：不用共享的 .se-detail-link（CEO 页「查看详情」在用），故新建独立类 .se-review-btn。
   用 inline-flex + white-space:nowrap，保证在表格单元格内不换行、不撑破现有表格/卡片布局。 */
.se-review-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    vertical-align: middle;
    min-height: 34px;
    padding: 7px 18px;
    border: 1px solid var(--se-primary);
    border-radius: 6px;
    background: var(--se-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.5px;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.se-review-btn:hover,
.se-review-btn:focus {
    background: var(--se-primary-dark);
    border-color: var(--se-primary-dark);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}
.se-review-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 91, 110, 0.35);
}
.se-review-btn:active { transform: translateY(1px); }

/* 已复评记录：降为描边次级样式，避免与「去复评」主按钮抢视觉焦点 */
.se-review-btn-ghost {
    background: var(--se-surface);
    color: var(--se-primary);
}
.se-review-btn-ghost:hover,
.se-review-btn-ghost:focus {
    background: #eef3f6;
    color: var(--se-primary-dark);
}

/* 禁用态（该记录未完成一级自评，不可复评）：去饱和 + 禁止交互 */
.se-review-btn.is-disabled,
.se-review-btn[disabled] {
    background: #ece7dd;
    border-color: var(--se-border);
    color: var(--se-text-mute);
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
}

/* 复评打分表 */
.se-review-score-table .se-col-review { width: 150px; }
.se-review-score-table .se-review-score-input {
    width: 100%; padding: 6px 8px; text-align: center;
    border: 1px solid var(--se-border); border-radius: 4px;
    font-size: 15px; font-weight: 600; color: var(--se-primary);
}
.se-review-score-table .se-review-score-input:focus {
    outline: none; border-color: var(--se-primary);
    box-shadow: 0 0 0 3px rgba(52, 91, 110, 0.12);
}
.se-review-total { font-size: 18px; color: var(--se-primary); }

/* 逐项错误提示 */
.se-review-row.se-field-error { background: #fdf1ef !important; }
.se-review-row.se-field-error .se-review-score-input {
    border-color: var(--se-required);
    background: #fff6f5;
}
.se-review-item-error {
    margin-top: 6px; font-size: 12px; line-height: 1.4;
    color: var(--se-required); font-weight: 600;
}

@media (max-width: 720px) {
    .se-filter-bar { flex-direction: column; align-items: stretch; }
    .se-filter-actions { margin-left: 0; }
    .se-review-score-table .se-col-review { width: auto; }
}


/* =========================================================================
 *  R12：得分依据悬停提示 / CEO 统一评价列表
 * ========================================================================= */

/* ---------- 得分依据：触发入口 ---------- */

.se-tip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 6px;
    vertical-align: middle;
    cursor: help;
    outline: none;
}
.se-tip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex: none;
    border-radius: 50%;
    background: var(--se-primary);
    color: #fff;
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-weight: 700;
    font-size: 11px;
    line-height: 1;
    transition: background .15s ease;
}
.se-tip-label {
    font-size: 12px;
    font-weight: 400;
    color: var(--se-primary);
    text-decoration: underline dotted;
    text-underline-offset: 2px;
}
.se-tip:hover .se-tip-icon,
.se-tip:focus .se-tip-icon,
.se-tip.is-active .se-tip-icon { background: var(--se-accent); }

/* ---------- 得分依据：浮层卡片（position:fixed，避免被表格 overflow 裁剪） ---------- */

.se-tip-layer {
    position: fixed;
    left: 0; top: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 9999;
}
.se-tip-card {
    position: fixed;
    left: 0; top: 0;
    display: none;
    width: max-content;
    max-width: 380px;
    padding: 12px 14px;
    background: var(--se-surface);
    color: var(--se-text);
    border: 1px solid var(--se-border);
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(58, 51, 44, .18);
    font-size: 13px;
    line-height: 1.65;
    text-align: left;
    white-space: normal;
}
.se-tip-card.is-open { display: block; }
.se-tip-card-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--se-primary);
    padding-bottom: 6px;
    margin-bottom: 4px;
    border-bottom: 1px dashed var(--se-border);
}
.se-tip-card-body { margin: 0; }
.se-tip-card-body dt {
    margin-top: 8px;
    font-weight: 700;
    font-size: 12.5px;
    color: var(--se-accent);
}
.se-tip-card-body dt:first-child { margin-top: 0; }
.se-tip-card-body dd { margin: 2px 0 0; color: var(--se-text); }
.se-tip-note {
    margin-top: 4px;
    font-size: 12px;
    color: var(--se-text-soft);
}

/* ---------- CEO 统一评价列表 ---------- */

.se-ceo-unified { min-width: 1120px; }
.se-ceo-unified .se-group-start { border-left: 2px solid var(--se-border); }
.se-ceo-unified .se-col-status { width: 12%; }
.se-ceo-unified .se-col-time   { width: 12%; font-size: 13px; }

@media (max-width: 720px) {
    .se-tip-card { max-width: calc(100vw - 24px); }
    .se-tip-label { display: none; }
}


/* ---------- R14：CEO 统一列表「所属片区 / 一级评价结果」两列加宽（覆盖上方 min-width） ---------- */
.se-ceo-unified { min-width: 1280px; }
.se-ceo-unified .se-col-district { width: 9%; min-width: 96px; white-space: nowrap; }
.se-ceo-unified .se-col-num { width: 13%; min-width: 136px; }
.se-ceo-unified .se-col-num .se-status-text { white-space: nowrap; }

/* ---------- R14：二级复评「评价」按钮 + 主管评价行内输入 ---------- */
.se-review-score-table .se-review-input-row { display: flex; align-items: stretch; gap: 6px; }
.se-review-score-table .se-review-input-row .se-review-score-input { flex: 1 1 auto; width: auto; min-width: 0; }
.se-comment-btn { flex: 0 0 auto; padding: 4px 10px; font-size: 13px; line-height: 1.5; white-space: nowrap; }
.se-review-comment-input {
    display: none; width: 100%; margin-top: 6px; padding: 6px 8px;
    border: 1px solid var(--se-border); border-radius: 4px;
    font-size: 13px; line-height: 1.6; color: inherit;
    resize: vertical; box-sizing: border-box;
}
.se-review-comment-input.is-open { display: block; }
.se-col-review-comment { min-width: 140px; font-size: 13px; }

/* ---------- R15：CEO 详情页「评分明细」表格列布局修复 ---------- */
/* 8 列全部显式定宽（合计 100%），表头/文本列允许换行，避免挤压重叠 */
.se-detail-score { table-layout: fixed !important; min-width: 880px; }
.se-detail-score th { white-space: normal; word-break: break-word; line-height: 1.4; vertical-align: middle; }
.se-detail-score .se-col-no      { width: 4%;  text-align: center; }
.se-detail-score .se-col-item    { width: 9%; }
.se-detail-score .se-col-criteria{ width: 24%; }
.se-detail-score .se-col-score   { width: 5%;  text-align: center; }
.se-detail-score .se-col-self    { width: 9%;  text-align: center; }
.se-detail-score .se-col-review  { width: 8%;  text-align: center; }
.se-detail-score .se-col-review-comment { width: 20%; min-width: 150px; font-size: 13px; line-height: 1.6; white-space: normal; word-break: break-word; overflow-wrap: anywhere; }
.se-detail-score .se-col-basis   { width: 21%; min-width: 160px; font-size: 13px; line-height: 1.6; white-space: normal; word-break: break-word; overflow-wrap: anywhere; }
.se-detail-score td.se-col-review,
.se-detail-score td.se-col-self,
.se-detail-score td.se-col-score,
.se-detail-score td.se-col-no     { white-space: nowrap; }
