/* ===================================================================
   B01 「学习与认证」页面
   视觉语言：与现有管理后台一致 —— 白卡片 + 大面积留白 + 克制用色。
   员工端（客服/生产/门店/配送）：学习状态 / 岗位必学 / 岗位认证 / 5S考核
   管理端：各岗位学习与认证概览 + 5S 独立模块
   =================================================================== */

/* ---- 页面骨架（内容区纵向滚动） ---- */
.learning-page {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.learning-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 6px 0 40px;
  box-sizing: border-box;
}

/* ---- 学习页容器：填满主内容区（管理端/员工端共用），
      内部由 .learning-page 负责纵向滚动，内容不会被裁剪 ---- */
#adminPageLearning {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ---- 页头 ---- */
.learning-header {
  margin-bottom: 22px;
}
.learning-page-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #25372f;
  letter-spacing: 0.2px;
}
.learning-page-sub {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: #8e8e93;
}

/* ---- 通用白卡片 ---- */
.learning-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}
.learning-card-title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  color: #25372f;
}
.learning-card-desc {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: #8e8e93;
}

/* ===================================================================
   员工端 · 区域 1 顶部学习状态
   =================================================================== */
.learning-overview {
  display: flex;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}
.learning-overview-field {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 24px;
  box-sizing: border-box;
}
.learning-overview-sep {
  flex: none;
  width: 1px;
  background: #edf2ec;
  margin: 18px 0;
}
.learning-overview-label {
  font-size: 12px;
  color: #aeaeb2;
}
.learning-overview-value {
  font-size: 16px;
  color: #455c4e;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.learning-overview-value.is-strong {
  color: #25372f;
  font-weight: 700;
}

/* ===================================================================
   员工端 · 区域 2/3/4 主体（左 岗位必学 · 右 岗位认证 + 5S考核）
   =================================================================== */
.learning-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: 20px;
  align-items: start;
}
.learning-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ---- 岗位必学内容 ---- */
.lch-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.lch-count {
  flex: none;
  font-size: 12px;
  font-weight: 500;
  color: #8e8e93;
  background: #f4f7f3;
  border: 1px solid #e5ece4;
  border-radius: 999px;
  padding: 4px 12px;
  margin-top: 2px;
}
.lch-list {
  border-top: 1px solid #eef3ee;
}
/* 五列对齐模板：表头与每行共用同一列宽，保证上下严格对齐 */
.lch-cols,
.lch-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px 118px 92px 200px;
  column-gap: 12px;
  align-items: center;
}
.lch-cols {
  padding: 10px 4px 8px;
  border-bottom: 1px solid #eef3ee;
}
.lch-col {
  font-size: 12px;
  font-weight: 500;
  color: #aeaeb2;
  letter-spacing: 0.2px;
}
.lch-cols .lch-col.is-ops {
  text-align: right;
}
.lch-row {
  min-height: 68px;
  padding: 10px 4px;
  border-bottom: 1px solid #f4f7f3;
  box-sizing: border-box;
  transition: background 0.15s;
}
.lch-row:last-child {
  border-bottom: 0;
}
.lch-row:hover {
  background: #fbfbfa;
}
.lch-cell {
  min-width: 0;
  font-size: 13px;
  color: #455c4e;
  line-height: 1.5;
}
.lch-cell-name {
  font-weight: 500;
  color: #25372f;
}
.lch-name-inner {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lch-learn { color: #455c4e; }
.lch-learn.is-idle { color: #aeaeb2; }
.lch-learn.is-done { color: #25372f; font-weight: 600; }
.lch-submit-block {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.lch-submit-main {
  font-weight: 500;
  color: #455c4e;
  line-height: 1.4;
}
.lch-submit-date {
  font-size: 11.5px;
  color: #aeaeb2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lch-submit-none { color: #aeaeb2; }
.lch-audit { color: #455c4e; }
.lch-audit.is-alert {
  color: #e64545;
  font-weight: 500;
}
.lch-audit.is-pass {
  color: #455c4e;
  font-weight: 500;
}
.lch-audit.is-none { color: #aeaeb2; }
.lch-cell-ops {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.lch-cell-ops .l-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 30px;
  padding: 0 13px;
  border-radius: 8px;
  font-size: 12.5px;
  line-height: 1;
}
.lch-cell-ops .l-btn-ghost.is-wait {
  color: #aeaeb2;
  background: #f4f7f3;
  border-color: #e5ece4;
  cursor: not-allowed;
}

/* ---- 状态标签（克制用色） ---- */
.l-chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  line-height: 1;
  border-radius: 999px;
  padding: 5px 10px;
  box-sizing: border-box;
}
.l-chip-pending {
  color: #8e8e93;
  background: #f4f7f3;
  border: 1px solid #e5ece4;
}
.l-chip-learned {
  color: #55684a;
  background: #f3f6ef;
  border: 1px solid #dfe7d8;
}
.l-chip-accent {
  color: #6b6a48;
  background: #f7f5ec;
  border: 1px solid #e2dfc6;
}

/* ---- 操作按钮 ---- */
.l-btn {
  border: 0;
  font-size: 13px;
  font-weight: 500;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.l-btn:focus-visible {
  outline: 2px solid #8e8e93;
  outline-offset: 2px;
}
.l-btn-ghost {
  flex: none;
  color: #455c4e;
  background: #fff;
  border: 1px solid #d9d9de;
  padding: 7px 16px;
}
.l-btn-ghost:hover {
  background: #f4f7f3;
  border-color: #c7c7cc;
}
.l-btn-primary {
  display: block;
  width: 100%;
  color: #fff;
  background: #355944;
  padding: 11px 18px;
  font-weight: 600;
}
.l-btn-primary:hover {
  background: #455c4e;
}
.l-btn-primary:disabled {
  background: #e5e5ea;
  color: #aeaeb2;
  cursor: not-allowed;
}

/* ---- 认证 / 5S 卡片状态区 ---- */
.l-status-rows {
  margin-top: 14px;
  padding-top: 4px;
  border-top: 1px solid #eef3ee;
}
.l-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
}
.l-status-label {
  font-size: 13px;
  color: #8e8e93;
}
.l-status-value {
  font-size: 13px;
  font-weight: 500;
  color: #455c4e;
}
.l-status-value.is-placeholder {
  color: #c7c7cc;
  font-weight: 400;
}

/* ---- 卡片内动作区 ---- */
.l-action-block {
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid #eef3ee;
}
.l-action-hint {
  margin: 10px 0 0;
  font-size: 12px;
  text-align: center;
  color: #aeaeb2;
  line-height: 1.6;
}

/* ===================================================================
   管理端 · 岗位学习与认证 + 5S 独立模块
   =================================================================== */
/* 管理端首页大标题「学习与认证」已移除（见 mngPaintHome），
   此专属类负责保留页首呼吸感并拉开与「章节小测·待审核」卡片的上下分区 */
.learning-mng-home {
  padding-top: 24px;
}
.learning-mng-home .learning-section {
  margin-top: 34px;
}
.learning-section {
  margin-bottom: 24px;
}
.learning-mng-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.learning-section-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #25372f;
}
.learning-mng-meta {
  flex: none;
  font-size: 12.5px;
  font-weight: 500;
  color: #aeaeb2;
}
.learning-post-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.lpost-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 18px 20px 12px;
  border: 1px solid transparent;
  transition: box-shadow 0.18s, transform 0.18s, border-color 0.18s;
}
.lpost-card:hover {
  border-color: #e5ece4;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
  transform: translateY(-2px);
}
.lpost-name {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #25372f;
}
.lpost-count {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: #8e8e93;
}
.lpost-rule {
  display: block;
  height: 1px;
  background: #eef3ee;
  margin: 13px 0 2px;
}
.lpost-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 0;
}
.lpost-metric + .lpost-metric {
  border-top: 1px solid #f7f7f8;
}
.lpost-m-label {
  font-size: 11.5px;
  line-height: 1.5;
  color: #aeaeb2;
}
.lpost-m-value {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: #455c4e;
}
.lpost-m-value.is-empty {
  font-size: 14px;
  font-weight: 500;
  color: #c7c7cc;
}
.lpost-go {
  align-self: flex-end;
  margin: 6px 0 0;
  padding: 0 0 2px;
  border: 0;
  background: none;
  font-size: 12px;
  font-weight: 500;
  color: #8e8e93;
  cursor: pointer;
  transition: color 0.15s;
}
.lpost-go:hover {
  color: #25372f;
}

/* ---- 管理端 5S 考核卡（紧凑管理结构） ---- */
.lfive-manager {
  padding: 18px 24px 14px;
}
.lfive-m-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.lfive-m-head .learning-card-title {
  margin: 0;
}
.lfive-m-desc {
  margin: 2px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: #8e8e93;
}
.lfive-m-metrics {
  display: flex;
  align-items: stretch;
  margin-top: 14px;
}
.lfive-m-metric {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 2px 22px;
  box-sizing: border-box;
}
.lfive-m-metric:first-child {
  padding-left: 2px;
}
.lfive-m-metric + .lfive-m-metric {
  border-left: 1px solid #eef3ee;
}
.lfive-m-label {
  font-size: 11.5px;
  line-height: 1.5;
  color: #aeaeb2;
}
.lfive-m-value {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: #455c4e;
}
.lfive-m-value.is-empty {
  font-weight: 500;
  color: #c7c7cc;
}
.lfive-m-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #f7f7f8;
}
.lfive-m-go {
  border: 1px solid #e8e8ec;
  background: #fff;
  color: #6d6d72;
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 15px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.lfive-m-go:hover {
  color: #25372f;
  border-color: #d1d1d6;
  background: #f7f7f8;
}

/* ---- 管理端响应式：中等宽度岗位卡 2×2；窄屏/移动端单列、5S 字段纵向 ---- */
@media (max-width: 1180px) {
  .learning-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .learning-post-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .learning-mng-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 14px;
  }
  .lfive-m-metrics {
    flex-direction: column;
    margin-top: 10px;
  }
  .lfive-m-metric {
    padding: 10px 0;
  }
  .lfive-m-metric:first-child {
    padding: 2px 0 10px;
  }
  .lfive-m-metric + .lfive-m-metric {
    border-left: 0;
    border-top: 1px solid #eef3ee;
  }
}

/* ---- 空态 ---- */
.learning-empty {
  text-align: center;
  padding: 48px 24px;
}
.learning-empty-title {
  font-size: 15px;
  font-weight: 600;
  color: #455c4e;
  margin-bottom: 8px;
}
.learning-empty-desc {
  margin: 0;
  font-size: 13px;
  color: #8e8e93;
}

/* ---- 页面内轻提示 ---- */
.learning-toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%) translateY(6px);
  z-index: 2600;
  max-width: min(520px, calc(100vw - 32px));
  background: #355944;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 11px 20px;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  box-sizing: border-box;
  text-align: center;
}
.learning-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ---- 页面宽度不足：右侧卡片折到左列下方，单列排布 ---- */
@media (max-width: 1000px) {
  .learning-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .learning-side {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
}

/* ---- 移动端：全部纵向排列，无横向滚动 ---- */
@media (max-width: 768px) {
  .learning-inner {
    padding: 2px 0 28px;
  }
  .learning-mng-home {
    padding-top: 16px;
  }
  .learning-mng-home .learning-section {
    margin-top: 28px;
  }
  .learning-header {
    margin-bottom: 16px;
  }
  .learning-page-title {
    font-size: 20px;
  }
  .learning-card {
    padding: 18px 16px;
    border-radius: 14px;
  }
  .learning-overview {
    flex-wrap: wrap;
  }
  .learning-overview-field {
    flex: 1 1 45%;
    padding: 14px 16px;
  }
  .learning-overview-sep {
    display: none;
  }
  .learning-grid {
    gap: 16px;
    margin-top: 16px;
  }
  .learning-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .lch-head {
    flex-direction: column;
    gap: 8px;
  }
  .lch-cols {
    display: none;
  }
  .lch-cols,
  .lch-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .lch-row {
    display: block;
    min-height: 0;
    padding: 12px 2px;
  }
  .lch-cell {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 3px 0;
  }
  .lch-cell::before {
    content: attr(data-th);
    flex: none;
    width: 68px;
    color: #aeaeb2;
    font-size: 12px;
  }
  .lch-cell-name {
    font-weight: 600;
    color: #25372f;
  }
  .lch-cell-name::before {
    content: '章节';
  }
  .lch-name-inner {
    white-space: normal;
    overflow: visible;
  }
  .lch-cell-ops {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .lch-cell-ops::before {
    content: none;
  }
  .learning-section {
    margin-bottom: 24px;
  }
  .learning-toast {
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  }
}

/* ===================================================================
   员工登录后岗位考核提醒弹窗（精简版：一次成功登录只弹一次）
   黑白灰视觉：白底卡片 + 圆角 + 遮罩；正文仅两句话，卡片尺寸紧凑、
   无需内部滚动与分区。重点日期用黑色系底色强调（不用红色警告）。
   =================================================================== */
.learning-alert-mask {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  padding: 16px;
  box-sizing: border-box;
}
.learning-alert-card {
  position: relative;
  width: min(420px, 100%);
  max-height: calc(100vh - 32px);
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
  box-sizing: border-box;
}
/* 头部：标题 + 右上角关闭 */
.learning-alert-head {
  position: relative;
  padding: 22px 22px 0;
}
.learning-alert-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #aeaeb2;
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
}
.learning-alert-close:hover {
  color: #25372f;
  background: #f4f7f3;
}
.learning-alert-title {
  margin: 0;
  padding-right: 34px;
  font-size: 19px;
  font-weight: 700;
  color: #25372f;
  letter-spacing: 0.5px;
}
/* 正文：仅两句核心提醒 */
.learning-alert-body {
  padding: 16px 22px 4px;
  overflow-y: auto;
}
.learning-alert-line {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.7;
  color: #25372f;
}
.learning-alert-line:last-child {
  margin-bottom: 0;
}
/* 重点日期：黑色系底色强调，不用红色 */
.learning-alert-date {
  padding: 0 7px;
  border-radius: 6px;
  background: #e5ece4;
  color: #25372f;
  font-weight: 800;
  font-size: 16px;
  white-space: nowrap;
}
/* 底部按钮（固定可见） */
.learning-alert-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 22px 16px;
  background: #fff;
}
.learning-alert-btn {
  border: 0;
  background: #355944;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.15s;
}
.learning-alert-btn:hover {
  background: #455c4e;
}
.learning-alert-btn.ghost {
  background: #fff;
  border: 1px solid #e3e3e8;
  color: #455c4e;
  font-weight: 500;
}
.learning-alert-btn.ghost:hover {
  background: #f4f7f3;
  border-color: #c7c7cc;
}

@media (max-width: 768px) {
  .learning-alert-head {
    padding: 18px 18px 0;
  }
  .learning-alert-body {
    padding: 14px 18px 2px;
  }
  .learning-alert-foot {
    padding: 10px 18px 14px;
  }
  .learning-alert-btn {
    padding: 9px 16px;
  }
  .learning-alert-date {
    white-space: normal;
  }
}

/* ===================================================================
   管理端 · 二级/三级子页面
   （岗位详情 / 员工学习详情 / 5S管理 / 员工5S详情）
   =================================================================== */

/* 首页整卡可点（岗位卡 / 5S卡） */
[data-mng-post].lpost-card,
[data-mng-five].lfive-manager {
  cursor: pointer;
}
[data-mng-post]:focus-visible,
[data-mng-five]:focus-visible {
  outline: 2px solid #8e8e93;
  outline-offset: 2px;
}

/* ---- 子页页头：返回 + 面包屑 + 主标题 ---- */
.lmg-navbar {
  display: flex;
  margin: 2px 0 12px;
}
.lmg-back {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  border: 0;
  background: #355944;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  padding: 9px 18px 9px 15px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.lmg-back:hover {
  background: #455c4e;
  color: #fff;
}
.lmg-back:focus-visible {
  outline: 2px solid #8e8e93;
  outline-offset: 2px;
}
.lmg-crumb {
  margin-bottom: 4px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #aeaeb2;
}
.lmg-crumb i {
  font-style: normal;
  margin: 0 6px;
  color: #d1d1d6;
}
.lmg-subhead {
  margin-bottom: 18px;
}
.lmg-subhead .learning-page-sub {
  margin-top: 6px;
}

/* ---- 员工个人页标题行：显示名（主信息）+ username 标签（浅灰次级） ---- */
.lmg-idline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.lmg-username-chip {
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  color: #8e8e93;
  background: #f4f7f3;
  border: 1px solid #e5ece4;
  border-radius: 999px;
  padding: 6px 11px;
}

/* ---- 顶部轻量汇总条 ---- */
.lmg-summary {
  display: flex;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  margin-bottom: 20px;
}
.lmg-summary-field {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 20px;
  box-sizing: border-box;
}
.lmg-summary-sep {
  flex: none;
  width: 1px;
  background: #edf2ec;
  margin: 16px 0;
}
.lmg-summary-label {
  font-size: 11.5px;
  line-height: 1.5;
  color: #aeaeb2;
}
.lmg-summary-value {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #455c4e;
}
.lmg-summary-value.is-real {
  color: #25372f;
  font-weight: 700;
}
.lmg-summary-value.is-empty {
  font-weight: 500;
  color: #c7c7cc;
}

/* ---- 白色内容卡（子页面通用） ---- */
.lmg-card {
  margin-bottom: 20px;
  padding: 18px 20px 14px;
}
.lmg-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.lmg-card-head .learning-card-title {
  margin-bottom: 4px;
}
.lmg-card-head .lch-count {
  margin-top: 2px;
}

/* ---- 管理列表（网格行，列模板由 .lmg-cols-* 控制） ---- */
.lmg-tbl {
  min-width: 0;
}
.lmg-tbl-head,
.lmg-tbl-row {
  display: grid;
  column-gap: 14px;
  align-items: center;
  min-width: 0;
  box-sizing: border-box;
}
.lmg-tbl-head {
  padding: 10px 4px 8px;
  border-bottom: 1px solid #e5ece4;
}
.lmg-tbl-row {
  padding: 11px 4px;
  border-bottom: 1px solid #f4f7f3;
}
.lmg-tbl-row:last-child {
  border-bottom: 0;
}
.lmg-th {
  font-size: 12px;
  font-weight: 500;
  color: #aeaeb2;
  line-height: 1.5;
  min-width: 0;
}
.lmg-th.is-op,
.lmg-cell.is-op {
  text-align: right;
}
/* 员工 / 5S记录 / 章节三种列模板：主字段自适应、窄字段按需、操作列固定 */
.lmg-cols-emp .lmg-tbl-head,
.lmg-cols-emp .lmg-tbl-row {
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 0.85fr) minmax(0, 0.95fr) minmax(0, 0.85fr) minmax(0, 1.05fr) 104px;
}
.lmg-cols-five .lmg-tbl-head,
.lmg-cols-five .lmg-tbl-row {
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 0.7fr) minmax(0, 1fr) minmax(0, 0.8fr) minmax(0, 0.8fr) 104px;
}
.lmg-cols-chap .lmg-tbl-head,
.lmg-cols-chap .lmg-tbl-row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.5fr) minmax(0, 0.72fr);
}

.lmg-cell {
  min-width: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #455c4e;
  overflow-wrap: break-word;
}
.lmg-cell .lmg-name {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #25372f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lmg-cell .lmg-chapter {
  font-weight: 500;
}
.lmg-cell .lmg-sub {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: #aeaeb2;
}
.lmg-cell.is-dash {
  color: #c7c7cc;
  font-weight: 400;
}

/* ---- 员工行整行可点击（岗位员工 / 5S员工记录） ---- */
.lmg-tbl-row.is-clickable {
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.15s;
}
.lmg-tbl-row.is-clickable:hover {
  background: #fbfbfa;
}
.lmg-tbl-row.is-clickable:focus-visible {
  outline: 2px solid #8e8e93;
  outline-offset: -2px;
}
.lmg-go-hint {
  font-size: 12.5px;
  font-weight: 500;
  color: #8e8e93;
  white-space: nowrap;
  transition: color 0.15s;
}
.lmg-tbl-row.is-clickable:hover .lmg-go-hint {
  color: #25372f;
}
.lmg-loading {
  padding: 24px 4px;
  font-size: 13px;
  color: #aeaeb2;
}
.lmg-empty {
  padding: 24px 4px;
  font-size: 13px;
  color: #8e8e93;
  text-align: center;
}

/* ---- 「标签 → 数值」两列信息块（认证/考核状态字段） ---- */
.lmg-kv {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  margin-top: 6px;
  padding-top: 2px;
  border-top: 1px solid #eef3ee;
}
.lmg-kv-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding: 10px 2px;
  border-bottom: 1px solid #f4f7f3;
}
.lmg-kv-label {
  font-size: 11.5px;
  line-height: 1.5;
  color: #aeaeb2;
}
.lmg-kv-value {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: #455c4e;
  overflow-wrap: break-word;
}
.lmg-kv-value.is-empty {
  font-weight: 500;
  color: #c7c7cc;
}

/* ---- 5S标准说明列表 / 维度状态行 ---- */
.lmg-dlist {
  border-top: 1px solid #eef3ee;
  margin-top: 10px;
}
.lmg-drow {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 11px 4px;
  border-bottom: 1px solid #f4f7f3;
}
.lmg-drow:last-child {
  border-bottom: 0;
}
.lmg-dname {
  flex: none;
  width: 52px;
  font-size: 13.5px;
  font-weight: 600;
  color: #455c4e;
}
.lmg-dtext {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: #8e8e93;
}

.lmg-state {
  border-top: 1px solid #eef3ee;
  margin-top: 10px;
}
.lmg-state-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 4px;
  border-bottom: 1px solid #f4f7f3;
}
.lmg-state-row:last-child {
  border-bottom: 0;
}
.lmg-state-name {
  font-size: 13.5px;
  font-weight: 600;
  color: #455c4e;
}
.lmg-state-value {
  font-size: 13px;
  font-weight: 500;
  color: #455c4e;
}
.lmg-state-value.is-empty {
  font-weight: 400;
  color: #c7c7cc;
}

/* ---- 卡片底部动作（右对齐主操作按钮） ---- */
.lmg-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid #eef3ee;
}
.lmg-primary-btn {
  flex: none;
  border: 0;
  background: #355944;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.lmg-primary-btn:hover {
  background: #455c4e;
}
.lmg-primary-btn:focus-visible {
  outline: 2px solid #8e8e93;
  outline-offset: 2px;
}

/* ---- 员工个人页：岗位认证 / 5S考核 双卡并列 ---- */
.lmg-twin {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  margin-bottom: 20px;
}
.lmg-exam-card {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
}
.lmg-exam-card .lmg-kv {
  flex: none;
}
.lmg-exam-card .lmg-foot {
  margin-top: auto;
}
.lmg-exam-card .lmg-card-head .lch-count {
  margin-top: 2px;
}
.lmg-exam-card .lmg-kv .lmg-kv-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

/* ---- 子页面响应式（无横向溢出） ---- */
@media (max-width: 1000px) {
  .lmg-summary-field {
    padding: 14px 16px;
  }
  .lmg-twin {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 760px) {
  .lmg-navbar {
    margin-top: 0;
  }
  .lmg-twin {
    gap: 16px;
    margin-bottom: 16px;
  }
  .lmg-tbl-row.is-clickable {
    padding: 4px 4px 8px;
  }
  .lmg-summary {
    flex-wrap: wrap;
  }
  .lmg-summary-field {
    flex: 1 1 45%;
    padding: 12px 14px;
  }
  .lmg-summary-sep {
    display: none;
  }
  .lmg-card {
    padding: 16px 14px;
  }
  .lmg-card-head {
    flex-wrap: wrap;
  }
  .lmg-tbl-head {
    display: none;
  }
  .lmg-cols-emp .lmg-tbl-head,
  .lmg-cols-emp .lmg-tbl-row,
  .lmg-cols-five .lmg-tbl-head,
  .lmg-cols-five .lmg-tbl-row,
  .lmg-cols-chap .lmg-tbl-head,
  .lmg-cols-chap .lmg-tbl-row {
    grid-template-columns: 1fr;
  }
  .lmg-tbl-row {
    row-gap: 2px;
    padding: 4px 0 8px;
  }
  .lmg-cell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 30px;
    padding: 3px 0;
  }
  .lmg-cell.is-op {
    justify-content: flex-start;
  }
  .lmg-cell::before {
    content: attr(data-th);
    flex: none;
    width: 92px;
    font-size: 11.5px;
    color: #aeaeb2;
  }
  .lmg-cell .lmg-name {
    white-space: normal;
  }
  .lmg-cell .lmg-sub {
    margin-top: 1px;
  }
  .lmg-kv {
    grid-template-columns: minmax(0, 1fr);
  }
  .lmg-drow {
    gap: 12px;
  }
  .lmg-dname {
    width: 44px;
  }
  .lmg-foot {
    justify-content: flex-start;
  }
}

/* ================= 章节小测·学习与认证（2026-09 新增） ================= */

/* 状态徽章：学习中/待审核/未通过 */
.l-chip-learning {
  color: #4a5f6b;
  background: #eef4f6;
  border: 1px solid #d8e4e9;
}
.l-chip-review {
  color: #8a5f2a;
  background: #f9f3e9;
  border: 1px solid #ecdfc9;
}
.l-chip-fail {
  color: #8c4444;
  background: #f9eeee;
  border: 1px solid #ecd9d9;
}

/* 行内小按钮 / 等待态 */
.l-btn-mini {
  color: #6b6a48;
  background: #fbfaf3;
  border: 1px solid #e4e1c8;
  padding: 5px 11px;
  font-size: 12px;
  border-radius: 999px;
  cursor: pointer;
}
.l-btn-mini:hover { background: #f2f0dc; }
.l-btn-ghost.is-wait { color: #aeaeb2; cursor: not-allowed; }
.l-btn-primary.is-ready { background: #355944; }
.lch-loading-line { padding: 14px 4px; color: #aeaeb2; font-size: 13px; }
.lch-row-attempt { font-size: 11.5px; color: #aeaeb2; white-space: nowrap; }
.lch-row-opinion {
  margin: -4px 0 2px;
  padding: 6px 10px;
  background: #faf6f4;
  border-radius: 8px;
  font-size: 12px;
  color: #8c4444;
  line-height: 1.55;
}
.lch-opinion-label { color: #b97a7a; margin-right: 6px; font-weight: 600; }

/* 管理端首页：待审核入口
   2026-09 布局调整：两张入口卡（章节小测待审核 / 5S考核待复核）
   由上下堆叠改为左右并列 —— 等宽、等高、顶部/底部对齐。 */
.lreview-row {
  display: flex;
  align-items: stretch;
  gap: 16px;
}
.lreview-row .lreview-entry {
  flex: 1 1 0;
  min-width: 0;
}
/* 明显窄屏折回上下排列，避免卡片内容被挤压 */
@media (max-width: 900px) {
  .lreview-row {
    flex-direction: column;
  }
}
.lreview-entry {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  cursor: pointer;
  transition: background 0.15s;
}
.lreview-entry:hover { background: #fbfbfa; }
.lreview-e-main { flex: 1; min-width: 0; }
.lreview-e-count {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #8e8e93;
  background: #f4f7f3;
  border: 1px solid #e5ece4;
  border-radius: 999px;
  padding: 6px 14px;
}
.lreview-e-count b { font-size: 18px; color: #25372f; }
.lreview-e-count.has-count { background: #f9f3e9; border-color: #ecdfc9; }
.lreview-e-count.has-count b { color: #8a5f2a; }

/* 管理端按钮（列表行内） */
.lmg-primary-btn {
  border: 0;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  background: #355944;
  border-radius: 9px;
  padding: 7px 14px;
  transition: background 0.15s;
}
.lmg-primary-btn:hover { background: #455c4e; }
.lmg-mini-btn {
  border: 0;
  cursor: pointer;
  font-size: 12px;
  color: #6b6a48;
  background: #fbfaf3;
  border: 1px solid #e4e1c8;
  border-radius: 999px;
  padding: 5px 12px;
}
.lmg-mini-btn:hover { background: #f2f0dc; }
.lmg-opinion-text { color: #8c4444; font-size: 12px; line-height: 1.5; }

/* 列模板（网格行） */
.lmg-cols-lchap .lmg-tbl-head,
.lmg-cols-lchap .lmg-tbl-row {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.62fr) minmax(0, 1.15fr) minmax(0, 1.15fr);
}
.lmg-cols-pend .lmg-tbl-head,
.lmg-cols-pend .lmg-tbl-row {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.6fr) minmax(0, 1.15fr) minmax(0, 0.55fr) minmax(0, 0.95fr) minmax(0, 0.6fr) 96px;
}
.lmg-cols-lhis .lmg-tbl-head,
.lmg-cols-lhis .lmg-tbl-row {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.55fr) minmax(0, 0.95fr) minmax(0, 0.62fr) minmax(0, 0.95fr) minmax(0, 1.05fr) 96px;
}

/* 答卷审核 */
.lrv-actions,
.lrv-result {
  margin-top: 0;
}
.lrv-action-btns { display: flex; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.lrv-btn {
  border: 0;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 10px;
  padding: 10px 22px;
}
.lrv-btn:focus-visible { outline: 2px solid #8e8e93; outline-offset: 2px; }
/* 主按钮：复用系统主按钮视觉（同 .lmg-primary-btn / .l-btn-primary：深色底白字） */
.lrv-btn.pass,
.lrv-fail-ops .lrv-btn.fail {
  color: #fff;
  background: #355944;
}
.lrv-btn.pass:hover,
.lrv-fail-ops .lrv-btn.fail:hover {
  background: #455c4e;
}
/* 次级入口按钮「不通过」：复用系统浅灰操作按钮视觉（同 .lqa-btn-ghost：浅灰底、深色字） */
.lrv-action-btns .lrv-btn.fail {
  color: #25372f;
  background: #eef3ee;
}
.lrv-action-btns .lrv-btn.fail:hover {
  background: #e7e7ea;
}
/* ghost：系统次级按钮（白底、细边框），用于「取消」 */
.lrv-btn.ghost { color: #455c4e; background: #fff; border: 1px solid #d9d9de; }
.lrv-btn.ghost:hover { background: #f4f7f3; }
/* 不通过原因展开区：中性浅色信息容器（与 .lrv-answer 等信息容器一致，去掉浅红底） */
.lrv-fail-panel {
  margin-top: 16px;
  padding: 16px;
  background: #fbfbfa;
  border: 1px solid #e5ece4;
  border-radius: 10px;
}
.lrv-fail-label { font-size: 13px; color: #455c4e; display: block; margin-bottom: 8px; }
.lrv-fail-label b { color: #8c4444; }
.lrv-fail-reason {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  font-size: 13.5px;
  color: #25372f;
  background: #fff;
  border: 1px solid #d9d9de;
  border-radius: 10px;
  padding: 10px 12px;
  line-height: 1.6;
}
.lrv-fail-reason:focus { outline: none; border-color: #8e8e93; }
/* 错误提示：红字承担错误语义，不再使用浅红大背景 */
.lrv-fail-hint { font-size: 12px; color: #8c4444; margin-top: 6px; }
.lrv-fail-ops { display: flex; gap: 10px; margin-top: 12px; }
.lrv-q {
  padding: 15px 2px 14px;
  border-bottom: 1px solid #eef3ee;
}
.lrv-q:last-child { border-bottom: 0; }
.lrv-q-head { font-size: 12px; color: #8e8e93; margin-bottom: 8px; }
.lrv-q-text { font-size: 14px; color: #25372f; line-height: 1.65; font-weight: 500; margin-bottom: 12px; }
.lrv-qa { margin-bottom: 12px; }
.lrv-sub-label { display: block; font-size: 11.5px; color: #8e8e93; margin-bottom: 6px; }
.lrv-answer {
  font-size: 13.5px;
  color: #25372f;
  line-height: 1.7;
  background: #fbfbfa;
  border: 1px solid #edf2ec;
  border-radius: 10px;
  padding: 10px 12px;
  white-space: pre-wrap;
}
.lrv-rp ul { margin: 0; padding-left: 18px; }
.lrv-rp li { font-size: 12.5px; color: #6d6d71; line-height: 1.7; }
.lrv-rp li.is-none { list-style: none; padding-left: 0; }
.lrv-reason { margin-top: 12px; }
.lrv-reason-text {
  font-size: 13px;
  color: #8c4444;
  background: #f9eeee;
  border: 1px solid #ecd9d9;
  border-radius: 10px;
  padding: 10px 12px;
  line-height: 1.6;
  white-space: pre-wrap;
}

/* 通用轻量弹窗 */
.ll-modal-mask {
  position: fixed;
  inset: 0;
  z-index: 8000;
  background: rgba(0, 0, 0, 0.42);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 16px 24px;
  overflow: auto;
}
.ll-modal-card {
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  padding: 20px 22px;
}
.ll-modal-lg { max-width: 720px; }
.ll-modal-title { font-size: 16px; color: #25372f; margin: 0 0 12px; }
.ll-modal-body { font-size: 13.5px; color: #455c4e; line-height: 1.6; max-height: 66vh; overflow: auto; }
.ll-modal-text { margin: 0; }
.ll-modal-text.sub { margin-top: 6px; color: #8e8e93; font-size: 12.5px; }
.ll-modal-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.ll-btn {
  border: 0;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 10px;
  padding: 9px 20px;
  color: #fff;
  background: #355944;
}
.ll-btn.ghost { color: #455c4e; background: #fff; border: 1px solid #d9d9de; }
/* 审核确认弹窗沿用主按钮样式（不再以大面积绿/红标识“通过/不通过”） */

/* 员工本人提交记录（弹窗内） */
.mh-row { border-bottom: 1px solid #eef3ee; padding: 10px 0; }
.mh-row:last-child { border-bottom: 0; }
.mh-row-head { display: flex; align-items: center; gap: 10px; cursor: pointer; flex-wrap: wrap; }
.mh-title { font-size: 14px; font-weight: 600; color: #25372f; }
.mh-time { font-size: 12px; color: #aeaeb2; margin-left: auto; }
.mh-toggle { font-size: 12px; color: #8e8e93; }
.mh-body { margin-top: 10px; }
.mh-meta { font-size: 12px; color: #aeaeb2; margin-bottom: 8px; }
.mh-opinion {
  font-size: 12.5px;
  color: #8c4444;
  background: #f9eeee;
  border-radius: 8px;
  padding: 6px 10px;
  margin-bottom: 10px;
}
.mh-opinion.pass { color: #55684a; background: #f3f6ef; }
.mh-q { padding: 6px 0 10px; }
.mh-q-text { font-size: 13px; color: #455c4e; margin: 0 0 6px; }
.mh-q-answer {
  font-size: 12.5px;
  color: #25372f;
  background: #fbfbfa;
  border: 1px solid #edf2ec;
  border-radius: 8px;
  padding: 8px 10px;
  white-space: pre-wrap;
  line-height: 1.6;
}

/* ================= 学习小测待审核 · 提醒与定位（2026-09） ================= */

/* 首页岗位卡片红色角标（沿用系统红 #e64545；仅统计该岗位 pending 答卷） */
.lpost-card { position: relative; }
.lpost-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 14px;
  right: 14px;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  box-sizing: border-box;
  border-radius: 9px;
  background: #e64545;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.lpost-badge[hidden] { display: none; }

/* 岗位详情 · 员工行：岗位学习 X/Y + 待审核 N（按 userId 精确） */
.lmg-learn-progress { font-weight: 600; color: #25372f; }
.lmg-pending-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 2px 9px;
  border-radius: 999px;
  background: #e64545;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

/* 员工详情 · 章节「待审核 N」红色胶囊（真实数量，不被历史 failed 覆盖） */
.l-chip-live-pending {
  color: #fff;
  background: #e64545;
  border: 1px solid #e64545;
  font-weight: 600;
}

/* 全局提醒弹窗（管理端任意页面顶部弹出；黑色主操作 + 浅灰次操作） */
.lqa-mask {
  position: fixed;
  inset: 0;
  z-index: 12000;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.lqa-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.16);
  padding: 18px 20px;
  box-sizing: border-box;
}
.lqa-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.lqa-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e64545;
  box-shadow: 0 0 0 3px rgba(230, 69, 69, 0.18);
  flex-shrink: 0;
}
.lqa-title { margin: 0; font-size: 15px; font-weight: 700; color: #25372f; }
.lqa-body { margin: 8px 0 4px; font-size: 13.5px; color: #25372f; line-height: 1.6; }
.lqa-sub { margin: 2px 0 0; font-size: 12px; color: #86868b; line-height: 1.6; }
.lqa-btns { margin-top: 14px; display: flex; justify-content: flex-end; gap: 8px; }
.lqa-btn {
  border: none;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.lqa-btn-ghost { background: #eef3ee; color: #25372f; }
.lqa-btn-ghost:hover { background: #e7e7ea; }
.lqa-btn-primary { background: #355944; color: #fff; }
.lqa-btn-primary:hover { background: #455c4e; }

/* ================= 5S 考核 · 管理端复核归档（2026-09） ================= */
/* 复核队列 / 岗位详情 共用 7 列模板 */
.lmg-cols-fre .lmg-tbl-head,
.lmg-cols-fre .lmg-tbl-row {
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.55fr) minmax(0, 0.5fr) minmax(0, 0.95fr) minmax(0, 0.62fr) minmax(0, 0.72fr) 104px;
}
/* 「待复核归档」行强调，避免被忽略/被筛选隐藏 */
.lmg-tbl-row.is-five-pending {
  background: #fff9ef;
}
.lmg-five-score {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #25372f;
}
.lmg-five-sub {
  display: block;
  font-size: 12px;
  color: #8a919d;
  margin-top: 2px;
}
#mngPostFiveCount.has-pending {
  color: #d97706;
  font-weight: 700;
}
/* 复核详情 · 章节判分汇总 */
.five-sec-list {
  display: flex;
  flex-direction: column;
}
.five-sec-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px dashed #eceff4;
}
.five-sec-line:last-child { border-bottom: 0; }
.five-sec-name { flex: none; min-width: 96px; font-size: 14px; font-weight: 600; color: #25372f; }
.five-sec-mid { flex: 1; min-width: 0; font-size: 12px; color: #8a919d; }
.five-sec-score { flex: none; font-size: 14px; font-weight: 700; color: #25372f; }
.five-q-extra { margin-top: 2px; }

/* 复核详情 · 题目头承载判分徽章（与既有 .lrv-q-head 兼容） */
.lrv-q-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* 移动端：复核表退化为单列标签行 */
@media (max-width: 760px) {
  .lmg-cols-fre .lmg-tbl-head,
  .lmg-cols-fre .lmg-tbl-row {
    grid-template-columns: 1fr;
  }
}
