/* 企业导师工作台 · 青城壳下对齐 mentor-login 深青绿；无壳时仍用深蓝点缀 */

html.shell-qingcheng--mentor {
    --deep-space-blue: #115e59;
    --light-blue: #0d9488;
    --starlight-gold: #0f766e;
    --mentor-accent: #0d9488;
    --mentor-accent-dark: #0f766e;
    --mentor-deep: #115e59;
    --mentor-soft: #e6f4f2;
}

/* 不展示站点主导航（首页 / 探索课程等），由左侧侧栏承担工作台内导航；青城壳由 shell 再打开工作台快捷导航 */
.mentor-workspace-page .header .nav-menu {
    display: none !important;
}

.mentor-workspace-page .dashboard-main {
    padding-bottom: 32px;
}

.mentor-workspace-page .dashboard-user-panel {
    border-radius: 16px;
    border: 1px solid rgba(10, 36, 99, 0.1);
    box-shadow: 0 8px 28px rgba(10, 36, 99, 0.07);
    background: linear-gradient(145deg, #fff 0%, rgba(248, 251, 255, 0.5) 100%);
}

/* 企业专家用户面板：不展示「平台认证企业导师」与「更多」 */
.mentor-workspace-page.mentor-enterprise-dashboard .panel-membership,
body.mentor-enterprise-dashboard .panel-membership {
    display: none !important;
}

.mentor-workspace-page.mentor-enterprise-dashboard .panel-links > a.panel-link:not([href="#"]),
body.mentor-enterprise-dashboard .panel-links > a.panel-link:not([href="#"]) {
    display: none !important;
}

/* 企业专家用户面板：不展示右侧能力概览（专家反馈/待反馈/综评 KPI 等） */
.mentor-workspace-page.mentor-enterprise-dashboard .dashboard-user-panel .panel-divider,
body.mentor-enterprise-dashboard .dashboard-user-panel .panel-divider,
.mentor-workspace-page.mentor-enterprise-dashboard .dashboard-user-panel .panel-right,
body.mentor-enterprise-dashboard .dashboard-user-panel .panel-right {
    display: none !important;
}

.mentor-workspace-page .panel-ability-btn {
    border-radius: 10px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mentor-workspace-page .panel-ability-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(62, 146, 204, 0.22);
}

/* 企业专家全站页头：欢迎文案与卡片下缘留白统一（勿被壳层 padding-bottom:0 压扁） */
.mentor-workspace-page .dashboard-header.mentor-dashboard-header,
.mentor-enterprise-dashboard .dashboard-header.mentor-dashboard-header,
.mentor-dashboard-header {
    align-items: flex-start !important;
    padding: 22px 24px 32px;
    border-radius: 14px;
    border: 1px solid rgba(10, 36, 99, 0.1);
    border-left: 4px solid var(--light-blue, #3e92cc);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(239, 246, 255, 0.92) 48%, rgba(255, 251, 235, 0.35) 100%);
    box-shadow: 0 4px 18px rgba(10, 36, 99, 0.06);
    margin-bottom: 32px;
    gap: 16px;
}

.mentor-workspace-page .dashboard-header.mentor-dashboard-header .welcome,
.mentor-enterprise-dashboard .dashboard-header.mentor-dashboard-header .welcome,
.mentor-dashboard-header .welcome {
    max-width: 48rem;
    margin: 12px 0 0;
    padding-bottom: 2px;
    line-height: 1.65;
    color: #475569;
}

.mentor-page-eyebrow {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--light-blue, #3e92cc);
}

.mentor-workspace-page .dashboard-header h1 {
    color: #0f2f66;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.mentor-workspace-page .header-actions-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.mentor-workspace-page .header-actions-wrap .btn-sm.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, var(--light-blue, #3e92cc) 0%, #2a7ab8 100%);
    border: none;
    box-shadow: 0 4px 12px rgba(62, 146, 204, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.mentor-workspace-page .header-actions-wrap .btn-sm.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(62, 146, 204, 0.35);
    background: linear-gradient(135deg, #2a7ab8 0%, var(--deep-space-blue, #0a2463) 100%);
}

.mentor-workspace-page .header-actions-wrap .btn-sm.btn-primary:focus-visible {
    outline: 2px solid rgba(62, 146, 204, 0.65);
    outline-offset: 2px;
}

.mentor-workspace-page .header-actions-wrap .btn-sm.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--deep-space-blue, #0a2463);
    text-decoration: none;
    border: 1px solid rgba(62, 146, 204, 0.42);
    background: #fff;
    box-shadow: 0 2px 8px rgba(10, 36, 99, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.mentor-workspace-page .header-actions-wrap .btn-sm.btn-secondary:hover {
    transform: translateY(-1px);
    background: rgba(62, 146, 204, 0.1);
    border-color: rgba(62, 146, 204, 0.6);
    box-shadow: 0 4px 12px rgba(62, 146, 204, 0.14);
}

.mentor-workspace-page .header-actions-wrap .btn-sm.btn-secondary:focus-visible {
    outline: 2px solid rgba(62, 146, 204, 0.55);
    outline-offset: 2px;
}

/* 学生 / 教师任务等页 · 返回领航台（与深空蓝、浅蓝强调一致） */
.mentor-workspace-page .mentor-btn-back-pilot {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 18px 0 14px;
    border-radius: 10px;
    border: 1px solid rgba(10, 36, 99, 0.16);
    background: linear-gradient(180deg, #fff 0%, rgba(239, 246, 255, 0.88) 100%);
    font-size: 13px;
    font-weight: 600;
    color: #0a2463;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(10, 36, 99, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.mentor-workspace-page .mentor-btn-back-pilot:hover {
    border-color: rgba(62, 146, 204, 0.5);
    color: #163d7a;
    box-shadow: 0 4px 16px rgba(10, 36, 99, 0.12);
    transform: translateY(-1px);
}

.mentor-workspace-page .mentor-btn-back-pilot:focus-visible {
    outline: 2px solid rgba(62, 146, 204, 0.55);
    outline-offset: 2px;
}

.mentor-workspace-page .mentor-btn-back-pilot__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: inherit;
    opacity: 0.9;
}

.mentor-workspace-page .dashboard-cards {
    padding: 18px 20px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: linear-gradient(145deg, rgba(248, 250, 252, 0.95) 0%, rgba(241, 245, 249, 0.9) 100%);
    margin-bottom: 24px;
}

.mentor-workspace-page .dashboard-card {
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.mentor-workspace-page .dashboard-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(10, 36, 99, 0.1);
}

.mentor-workspace-page .mentor-section .btn-sm.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, var(--light-blue, #3e92cc) 0%, #2a7ab8 100%);
    border: none;
    box-shadow: 0 4px 12px rgba(62, 146, 204, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.mentor-workspace-page .mentor-section .btn-sm.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(62, 146, 204, 0.35);
    background: linear-gradient(135deg, #2a7ab8 0%, var(--deep-space-blue, #0a2463) 100%);
}

.mentor-workspace-page .mentor-section .btn-sm.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--deep-space-blue, #0a2463);
    text-decoration: none;
    border: 1px solid rgba(62, 146, 204, 0.42);
    background: #fff;
    box-shadow: 0 2px 8px rgba(10, 36, 99, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.mentor-workspace-page .mentor-section .btn-sm.btn-secondary:hover {
    transform: translateY(-1px);
    background: rgba(62, 146, 204, 0.1);
    border-color: rgba(62, 146, 204, 0.6);
    box-shadow: 0 4px 12px rgba(62, 146, 204, 0.14);
}

.mentor-workspace-page .task-item {
    border-radius: 12px;
    border: 1px solid rgba(10, 36, 99, 0.08);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.mentor-workspace-page .task-item:hover {
    border-color: rgba(62, 146, 204, 0.35);
    box-shadow: 0 4px 16px rgba(62, 146, 204, 0.1);
}

.mentor-workspace-page .dashboard-card .card-value.gold {
    color: #b45309;
}

/* 企业导师指导子页（独立路由） */
.mentor-modules-page .dashboard-main {
    /* 左右内边距继承 dashboard.css（32px），与学生任务 / 教师任务 / 领航台主区一致 */
    padding-bottom: 36px;
}

.mentor-modules-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mentor-modules-page .mentor-modules-stack > .module-hero {
    margin-bottom: 0;
}

.mentor-modules-page .mentor-modules-stack > .anchor-nav {
    margin-bottom: 0;
}

.mentor-module-hero {
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 16px;
    padding: 24px 26px;
    background: linear-gradient(125deg, var(--deep-space-blue, #0a2463) 0%, #163d7a 42%, rgba(62, 146, 204, 0.88) 100%);
    box-shadow: 0 10px 32px rgba(10, 36, 99, 0.22);
    position: relative;
    overflow: hidden;
}

.mentor-modules-page .mentor-module-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.55) 0%, rgba(201, 162, 39, 0.35) 45%, rgba(62, 146, 204, 0.5) 100%);
    pointer-events: none;
}

.mentor-module-hero h1,
.mentor-module-hero .mentor-module-hero__title {
    margin: 0 0 8px;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.mentor-module-hero p,
.mentor-module-hero .mentor-module-hero__desc {
    color: rgba(255, 255, 255, 0.92);
}

.mentor-module-hero .mentor-module-hero__desc {
    margin: 0;
    line-height: 1.65;
}

.mentor-collab-kicker {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
}

.mentor-collab-section .mentor-collab-lead {
    margin: 0 0 14px;
    color: #475569;
    line-height: 1.65;
    max-width: 48rem;
}

.mentor-collab-scene-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
    gap: 14px;
    margin-top: 4px;
}

.mentor-collab-scene-card {
    padding: 16px 18px 14px;
    border-radius: 12px;
    border: 1px solid rgba(10, 36, 99, 0.1);
    background: linear-gradient(165deg, #fff 0%, rgba(239, 246, 255, 0.65) 100%);
    box-shadow: 0 4px 14px rgba(10, 36, 99, 0.05);
}

.mentor-modules-page .mentor-collab-scene-card {
    border-radius: 14px;
    border: 1px solid rgba(10, 36, 99, 0.12);
    box-shadow: 0 6px 20px rgba(10, 36, 99, 0.07);
}

.mentor-modules-page .mentor-collab-scene-tag {
    display: inline-block;
    margin-bottom: 10px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(201, 162, 39, 0.12);
    border: 1px solid rgba(201, 162, 39, 0.28);
    color: #7c5e10;
}

.mentor-collab-scene-card h3 {
    margin: 0 0 6px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f2f66;
}

.mentor-collab-scene-tag {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1d6fa8;
}

.mentor-collab-scene-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.5;
    color: #334155;
}

@media (max-width: 420px) {
    .mentor-collab-scene-split {
        grid-template-columns: 1fr;
    }
}

.mentor-collab-scene-split dt {
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.mentor-collab-scene-split dt.online {
    color: #0f766e;
}

.mentor-collab-scene-split dt.offline {
    color: #b45309;
}

.mentor-collab-scene-split dd {
    margin: 0;
    padding: 0;
}

.mentor-collab-scene-split ul {
    margin: 0;
    padding-left: 1.15em;
}

.mentor-collab-scene-split li {
    margin-bottom: 4px;
}

.mentor-collab-flow {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
    gap: 12px;
    counter-reset: collab-step;
}

.mentor-collab-flow li {
    position: relative;
    margin: 0;
    padding: 14px 12px 12px;
    border-radius: 12px;
    border: 1px solid rgba(10, 36, 99, 0.08);
    background: rgba(248, 250, 252, 0.95);
}

.mentor-collab-flow li strong {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #0f2f66;
}

.mentor-collab-flow li span {
    display: block;
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
}

.mentor-collab-flow li::before {
    counter-increment: collab-step;
    content: counter(collab-step);
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    line-height: 22px;
    text-align: center;
    color: #0a2463;
    background: rgba(62, 146, 204, 0.18);
}

.mentor-modules-page .mentor-collab-flow li {
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.88) 100%);
    border-color: rgba(10, 36, 99, 0.1);
}

.mentor-modules-page .mentor-collab-flow li::before {
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.22) 0%, rgba(62, 146, 204, 0.2) 100%);
    border: 1px solid rgba(10, 36, 99, 0.08);
}

.mentor-collab-section .mentor-module-actions a.btn-sm {
    text-decoration: none;
}

.mentor-modules-page .mentor-collab-section .btn-sm.btn-primary {
    min-height: 38px;
    border-radius: 10px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--deep-space-blue, #0a2463) 0%, #163d7a 100%);
    border: none;
    box-shadow: 0 4px 14px rgba(10, 36, 99, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mentor-modules-page .mentor-collab-section .btn-sm.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(10, 36, 99, 0.28);
}

.mentor-modules-page .mentor-anchor-nav {
    padding: 14px 16px;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(248, 251, 255, 0.98) 0%, rgba(255, 255, 255, 0.96) 100%);
    border: 1px solid rgba(10, 36, 99, 0.1);
    box-shadow: 0 6px 20px rgba(10, 36, 99, 0.06);
    margin-bottom: 0;
}

.mentor-anchor-nav a {
    border-color: rgba(62, 146, 204, 0.35);
    background: rgba(255, 255, 255, 0.92);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.mentor-anchor-nav a:hover {
    border-color: rgba(255, 215, 0, 0.55);
    background: rgba(255, 251, 235, 0.98);
    color: var(--deep-space-blue, #0a2463);
    box-shadow: 0 2px 10px rgba(201, 162, 39, 0.12);
}

.mentor-module-section {
    border-left: 3px solid rgba(62, 146, 204, 0.5);
    box-shadow: 0 8px 26px rgba(10, 36, 99, 0.07);
    position: relative;
    overflow: hidden;
}

.mentor-modules-page .mentor-module-section {
    margin-bottom: 0;
    border-radius: 16px;
    border: 1px solid rgba(10, 36, 99, 0.1);
    border-left: 3px solid rgba(62, 146, 204, 0.55);
    padding: 22px 24px 20px;
    background: linear-gradient(165deg, #fff 0%, rgba(239, 246, 255, 0.35) 100%);
}

.mentor-modules-page .mentor-module-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(62, 146, 204, 0.45) 0%, rgba(201, 162, 39, 0.35) 55%, rgba(10, 36, 99, 0.12) 100%);
    pointer-events: none;
}

.mentor-modules-page .mentor-collab-section--csr::before {
    background: linear-gradient(90deg, rgba(201, 162, 39, 0.4) 0%, rgba(62, 146, 204, 0.35) 100%);
}

.mentor-module-section h2 {
    font-weight: 800;
    color: #0f2f66;
    letter-spacing: -0.02em;
}

.mentor-modules-page .mentor-module-section h2 {
    margin-top: 2px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(10, 36, 99, 0.07);
    margin-bottom: 12px;
}

.mentor-collab-inline-link {
    font-weight: 600;
    color: #0e4d8a;
    text-decoration: underline;
    text-decoration-color: rgba(62, 146, 204, 0.45);
    text-underline-offset: 3px;
}

.mentor-collab-inline-link:hover {
    color: #0a2463;
    text-decoration-color: rgba(201, 162, 39, 0.65);
}

.mentor-module-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.mentor-module-chip {
    display: inline-flex;
    align-items: center;
    padding: 5px 11px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 999px;
    color: #0e4d8a;
    background: rgba(62, 146, 204, 0.12);
    border: 1px solid rgba(62, 146, 204, 0.22);
}

.mentor-modules-page .mentor-module-chip {
    background: rgba(62, 146, 204, 0.1);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.mentor-modal {
    border-top: 3px solid var(--starlight-gold, #ffd700);
}

/* 企业导师 · 产业领航中心（dashboard-mentor-enterprise.html） */

.mentor-enterprise-dashboard .dashboard-header .welcome {
    max-width: 52rem;
    line-height: 1.65;
    color: #475569;
}

.mentor-enterprise-dashboard .dashboard-header .welcome strong,
.mentor-enterprise-dashboard .mentor-dashboard-header .welcome strong {
    color: var(--deep-space-blue, #0a2463);
    font-weight: 600;
}

/* 极速响应台：主区与卡片内字色统一（正文 slate、标题深空蓝、次要说明一致灰阶） */
body.mentor-enterprise-dashboard .dashboard-main {
    color: #334155;
}

body.mentor-enterprise-dashboard .dashboard-user-panel .panel-name {
    color: var(--deep-space-blue, #0a2463);
}

body.mentor-enterprise-dashboard .dashboard-user-panel .panel-affiliation,
body.mentor-enterprise-dashboard .dashboard-user-panel .panel-ability-label {
    color: #64748b;
}

body.mentor-enterprise-dashboard .mentor-home-progress-overview .dashboard-table td {
    color: #334155;
}

body.mentor-enterprise-dashboard .mentor-home-progress-overview .dashboard-table tbody strong {
    color: var(--deep-space-blue, #0a2463);
    font-weight: 700;
}

/* 本页无 teacher-dashboard-home，进度列需单独对齐教师首页的条形与字色 */
body.mentor-enterprise-dashboard .mentor-home-progress-overview .teacher-home-progress-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 140px;
}

body.mentor-enterprise-dashboard .mentor-home-progress-overview .teacher-home-progress-track {
    flex: 1;
    height: 8px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.25);
    overflow: hidden;
    min-width: 64px;
}

body.mentor-enterprise-dashboard .mentor-home-progress-overview .teacher-home-progress-fill {
    height: 100%;
    border-radius: 999px;
}

body.mentor-enterprise-dashboard .mentor-home-progress-overview .teacher-home-progress-fill--blue {
    background: linear-gradient(90deg, var(--light-blue, #3e92cc), #2563eb);
}

body.mentor-enterprise-dashboard .mentor-home-progress-overview .teacher-home-progress-cell span {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    min-width: 36px;
}

body.mentor-enterprise-dashboard .mentor-collab-empty,
body.mentor-enterprise-dashboard .mentor-collab-empty--inline {
    color: #64748b;
}

body.mentor-enterprise-dashboard .mentor-thread-text {
    color: #334155;
}

body.mentor-enterprise-dashboard .mentor-thread-time {
    color: #94a3b8;
}

body.mentor-enterprise-dashboard .mentor-challenge-card__title {
    color: var(--deep-space-blue, #0a2463);
}

body.mentor-enterprise-dashboard .mentor-challenge-card__meta,
body.mentor-enterprise-dashboard .mentor-challenge-card__excerpt {
    color: #64748b;
}

body.mentor-enterprise-dashboard .task-item .task-title {
    color: var(--deep-space-blue, #0a2463);
}

body.mentor-enterprise-dashboard .task-item .task-meta {
    color: #64748b;
}

body.mentor-enterprise-dashboard .mentor-modal__title {
    color: var(--deep-space-blue, #0a2463);
}

body.mentor-enterprise-dashboard .mentor-modal__body {
    color: #334155;
}

.mentor-section {
    margin-bottom: 28px;
}

/* 标题区快捷入口锚点滚动时不被顶栏遮挡 */
body.mentor-enterprise-dashboard .mentor-section[id^='sec-'] {
    scroll-margin-top: 104px;
}

.mentor-section__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.mentor-section__title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
}

.mentor-section__sub {
    margin: 6px 0 0;
    font-size: 13px;
    color: #64748b;
    max-width: 42rem;
    line-height: 1.55;
}

.mentor-create-challenge {
    margin-bottom: 20px;
    padding: 20px 22px;
    border-radius: 14px;
    border: 1px solid rgba(212, 175, 55, 0.28);
    background: linear-gradient(135deg, rgba(255, 251, 235, 0.55) 0%, rgba(248, 251, 255, 0.98) 100%);
    box-shadow: 0 4px 16px rgba(10, 36, 99, 0.05);
}

.mentor-create-challenge__intro {
    margin-bottom: 16px;
}

.mentor-create-challenge__title {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 800;
    color: #0f2f66;
}

.mentor-create-challenge__lead {
    margin: 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.55;
    max-width: 48rem;
}

.mentor-create-challenge__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
}

.mentor-create-challenge__field--full {
    grid-column: 1 / -1;
}

.mentor-create-challenge__label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}

.mentor-req {
    color: #c2410c;
}

.mentor-create-challenge__input,
.mentor-create-challenge__textarea,
.mentor-create-challenge__select {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(10, 36, 99, 0.12);
    font-size: 14px;
    color: #0f172a;
    background: #fff;
}

.mentor-create-challenge__textarea {
    resize: vertical;
    min-height: 72px;
    line-height: 1.5;
}

.mentor-create-challenge__input:focus,
.mentor-create-challenge__textarea:focus,
.mentor-create-challenge__select:focus {
    outline: none;
    border-color: rgba(62, 146, 204, 0.65);
    box-shadow: 0 0 0 3px rgba(62, 146, 204, 0.15);
}

.mentor-create-challenge__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(10, 36, 99, 0.08);
}

@media (max-width: 720px) {
    .mentor-create-challenge__grid {
        grid-template-columns: 1fr;
    }
}

.mentor-challenge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}

.mentor-challenge-card {
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(10, 36, 99, 0.1);
    background: linear-gradient(145deg, #fff 0%, rgba(248, 250, 252, 0.96) 100%);
    box-shadow: 0 4px 14px rgba(10, 36, 99, 0.05);
}

.mentor-challenge-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.mentor-challenge-card__title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #0e4d8a;
    line-height: 1.35;
}

.mentor-challenge-card__badge {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(62, 146, 204, 0.14);
    color: #0a2463;
}

.mentor-challenge-card__meta {
    margin: 0 0 12px;
    font-size: 12px;
    color: #64748b;
    line-height: 1.45;
}

.mentor-challenge-card__link {
    display: inline-flex;
}

.mentor-challenge-card--published {
    border-left: 4px solid rgba(201, 162, 39, 0.85);
}

.mentor-challenge-card__badge--live {
    background: rgba(34, 176, 125, 0.16) !important;
    color: #14532d !important;
}

.mentor-challenge-card__excerpt {
    margin: 0 0 12px;
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
}

.mentor-challenge-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mentor-teacher-hub {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.mentor-teacher-col {
    padding: 18px 20px;
    border-radius: 14px;
    border: 1px solid rgba(10, 36, 99, 0.08);
    background: #fff;
    box-shadow: 0 2px 12px rgba(10, 36, 99, 0.04);
}

.mentor-teacher-col--jing {
    border-top: 3px solid rgba(62, 146, 204, 0.65);
}

.mentor-teacher-col--lian {
    border-top: 3px solid rgba(124, 58, 237, 0.55);
}

.mentor-teacher-col__title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.mentor-teacher-col__lead {
    margin: 0 0 12px;
    font-size: 13px;
    color: #475569;
    line-height: 1.55;
}

.mentor-teacher-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.mentor-teacher-actions--footer {
    margin-top: 12px;
    margin-bottom: 0;
}

/* 产业领航 · 极速响应台：下方区块标题、操作按钮与教师工作台 / dashboard 变量体系统一 */
.mentor-enterprise-dashboard .mentor-home-progress-overview__head {
    align-items: center;
    margin-bottom: 16px;
}

.mentor-enterprise-dashboard .mentor-home-progress-overview__head h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--deep-space-blue, #0a2463);
    letter-spacing: -0.02em;
    margin: 0;
}

.mentor-enterprise-dashboard .mentor-section__head {
    align-items: flex-start;
}

.mentor-enterprise-dashboard .mentor-section__title {
    color: var(--deep-space-blue, #0a2463);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.mentor-enterprise-dashboard .mentor-section__sub {
    color: #475569;
}

.mentor-enterprise-dashboard .mentor-section__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.mentor-enterprise-dashboard .mentor-teacher-col__title {
    color: var(--deep-space-blue, #0a2463);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.mentor-enterprise-dashboard .mentor-section__actions .btn-sm.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--deep-space-blue, #0a2463);
    text-decoration: none;
    border: 1px solid rgba(62, 146, 204, 0.42);
    background: #fff;
    box-shadow: 0 2px 8px rgba(10, 36, 99, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.mentor-enterprise-dashboard .mentor-section__actions .btn-sm.btn-secondary:hover {
    transform: translateY(-1px);
    background: rgba(62, 146, 204, 0.1);
    border-color: rgba(62, 146, 204, 0.6);
    box-shadow: 0 4px 12px rgba(62, 146, 204, 0.14);
}

.mentor-enterprise-dashboard .mentor-section__actions .btn-sm.btn-secondary:focus-visible {
    outline: 2px solid rgba(62, 146, 204, 0.55);
    outline-offset: 2px;
}

.mentor-enterprise-dashboard .mentor-section__actions .btn-sm.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    border: none;
    background: linear-gradient(135deg, var(--light-blue, #3e92cc) 0%, #2a7ab8 100%);
    box-shadow: 0 4px 12px rgba(62, 146, 204, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.mentor-enterprise-dashboard .mentor-section__actions .btn-sm.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(62, 146, 204, 0.35);
    background: linear-gradient(135deg, #2a7ab8 0%, var(--deep-space-blue, #0a2463) 100%);
}

.mentor-enterprise-dashboard .mentor-section__actions .btn-sm.btn-primary:focus-visible {
    outline: 2px solid rgba(62, 146, 204, 0.65);
    outline-offset: 2px;
}

.mentor-enterprise-dashboard .mentor-teacher-actions .btn-sm.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--deep-space-blue, #0a2463);
    text-decoration: none;
    border: 1px solid rgba(62, 146, 204, 0.4);
    background: #fff;
    box-shadow: 0 2px 6px rgba(10, 36, 99, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.mentor-enterprise-dashboard .mentor-teacher-actions .btn-sm.btn-secondary:hover {
    transform: translateY(-1px);
    background: rgba(62, 146, 204, 0.08);
    border-color: rgba(62, 146, 204, 0.55);
}

.mentor-enterprise-dashboard .mentor-teacher-actions .btn-sm.btn-secondary:focus-visible {
    outline: 2px solid rgba(62, 146, 204, 0.55);
    outline-offset: 2px;
}

.mentor-enterprise-dashboard .mentor-thread-input-row .btn-sm.btn-primary {
    flex-shrink: 0;
    align-self: flex-start;
    min-height: 38px;
    padding: 0 18px;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(62, 146, 204, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mentor-enterprise-dashboard .mentor-thread-input-row .btn-sm.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(62, 146, 204, 0.32);
}

.mentor-enterprise-dashboard .mentor-thread-input-row .btn-sm.btn-primary:focus-visible {
    outline: 2px solid rgba(62, 146, 204, 0.65);
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .mentor-enterprise-dashboard .mentor-section__actions {
        justify-content: flex-start;
        width: 100%;
    }
}

/* 今日待办 · 列表行右侧操作（浅蓝主按钮 / 描边次按钮，替代全局星光金 primary） */
.mentor-enterprise-dashboard #sec-mentor-todos .task-list .task-item .task-actions .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    min-height: 38px;
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.mentor-enterprise-dashboard #sec-mentor-todos .task-list .task-item .task-actions .btn-sm.btn-primary {
    border: none;
    color: #fff;
    background: linear-gradient(135deg, var(--light-blue, #3e92cc) 0%, #2a7ab8 100%);
    box-shadow: 0 4px 12px rgba(62, 146, 204, 0.28);
}

.mentor-enterprise-dashboard #sec-mentor-todos .task-list .task-item .task-actions .btn-sm.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(62, 146, 204, 0.35);
    background: linear-gradient(135deg, #2a7ab8 0%, var(--deep-space-blue, #0a2463) 100%);
}

.mentor-enterprise-dashboard #sec-mentor-todos .task-list .task-item .task-actions .btn-sm.btn-secondary {
    color: var(--deep-space-blue, #0a2463);
    background: linear-gradient(180deg, #fff 0%, rgba(239, 246, 255, 0.92) 100%);
    border: 1px solid rgba(62, 146, 204, 0.42);
    box-shadow: 0 2px 8px rgba(10, 36, 99, 0.06);
}

.mentor-enterprise-dashboard #sec-mentor-todos .task-list .task-item .task-actions .btn-sm.btn-secondary:hover {
    transform: translateY(-1px);
    background: rgba(62, 146, 204, 0.1);
    border-color: rgba(62, 146, 204, 0.6);
    box-shadow: 0 4px 12px rgba(62, 146, 204, 0.14);
}

.mentor-enterprise-dashboard #sec-mentor-todos .task-list .task-item .task-actions .btn-sm:focus-visible {
    outline: 2px solid rgba(62, 146, 204, 0.55);
    outline-offset: 2px;
}

/* 待终评 · 学生提交 · 列表行右侧（通过 / 退回 / 详情） */
.mentor-enterprise-dashboard #sec-express-desk .task-list .mentor-submission-row .task-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.mentor-enterprise-dashboard #sec-express-desk .task-list .mentor-submission-row .task-actions .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.2;
    cursor: pointer;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.mentor-enterprise-dashboard #sec-express-desk .task-list .mentor-submission-row .task-actions .mentor-btn-pass.btn-primary {
    border: none;
    color: #fff;
    background: linear-gradient(135deg, var(--light-blue, #3e92cc) 0%, #2a7ab8 100%);
    box-shadow: 0 4px 12px rgba(62, 146, 204, 0.28);
}

.mentor-enterprise-dashboard #sec-express-desk .task-list .mentor-submission-row .task-actions .mentor-btn-pass.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(62, 146, 204, 0.35);
    background: linear-gradient(135deg, #2a7ab8 0%, var(--deep-space-blue, #0a2463) 100%);
}

.mentor-enterprise-dashboard #sec-express-desk .task-list .mentor-submission-row .task-actions .mentor-btn-detail.btn-secondary {
    color: var(--deep-space-blue, #0a2463);
    background: linear-gradient(180deg, #fff 0%, rgba(239, 246, 255, 0.92) 100%);
    border: 1px solid rgba(62, 146, 204, 0.42);
    box-shadow: 0 2px 8px rgba(10, 36, 99, 0.06);
}

.mentor-enterprise-dashboard #sec-express-desk .task-list .mentor-submission-row .task-actions .mentor-btn-detail.btn-secondary:hover {
    transform: translateY(-1px);
    background: rgba(62, 146, 204, 0.1);
    border-color: rgba(62, 146, 204, 0.6);
    box-shadow: 0 4px 12px rgba(62, 146, 204, 0.14);
}

.mentor-enterprise-dashboard #sec-express-desk .task-list .mentor-submission-row .task-actions .mentor-btn-reject.btn-secondary {
    color: #991b1b;
    background: linear-gradient(180deg, rgba(254, 242, 242, 0.95) 0%, #fff 100%);
    border: 1px solid rgba(220, 38, 38, 0.38);
    box-shadow: 0 2px 8px rgba(185, 28, 28, 0.08);
}

.mentor-enterprise-dashboard #sec-express-desk .task-list .mentor-submission-row .task-actions .mentor-btn-reject.btn-secondary:hover {
    transform: translateY(-1px);
    color: #7f1d1d;
    background: rgba(254, 226, 226, 0.95);
    border-color: rgba(220, 38, 38, 0.55);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
}

.mentor-enterprise-dashboard #sec-express-desk .task-list .mentor-submission-row .task-actions .btn-sm:focus-visible {
    outline: 2px solid rgba(62, 146, 204, 0.55);
    outline-offset: 2px;
}

.mentor-enterprise-dashboard #sec-express-desk .task-list .mentor-submission-row .task-actions .mentor-btn-reject:focus-visible {
    outline-color: rgba(220, 38, 38, 0.45);
}

.mentor-thread-box {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(241, 245, 249, 0.85);
    border: 1px dashed rgba(148, 163, 184, 0.4);
    font-size: 13px;
}

.mentor-thread-empty {
    margin: 0;
    color: #94a3b8;
    font-size: 13px;
}

.mentor-thread-item {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.mentor-thread-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.mentor-thread-text {
    margin: 0 0 4px;
    color: #334155;
    line-height: 1.5;
}

.mentor-thread-time {
    margin: 0;
    font-size: 11px;
    color: #94a3b8;
}

.mentor-thread-input-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-start;
}

.mentor-thread-input-row textarea {
    flex: 1;
    min-width: 180px;
    min-height: 64px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    font-size: 13px;
    font-family: inherit;
    resize: vertical;
}

.mentor-thread-input-row textarea:focus {
    outline: none;
    border-color: rgba(62, 146, 204, 0.65);
    box-shadow: 0 0 0 3px rgba(62, 146, 204, 0.15);
}

.mentor-empty-hint {
    margin: 0;
    padding: 14px 16px;
    font-size: 14px;
    color: #64748b;
    border-radius: 12px;
    background: rgba(248, 250, 252, 0.95);
    border: 1px dashed rgba(148, 163, 184, 0.45);
}

.mentor-detail-note {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 16px;
}

/* 详情弹窗 */
.mentor-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1200;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.mentor-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
}

.mentor-modal {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    max-height: 85vh;
    overflow: auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

#mentorDetailModal .mentor-modal {
    max-width: min(680px, 96vw);
}

.mentor-modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px 0;
}

.mentor-modal__title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
}

.mentor-modal__close {
    border: none;
    background: transparent;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #64748b;
    padding: 0 4px;
}

.mentor-modal__body {
    padding: 12px 20px 20px;
    font-size: 14px;
    color: #334155;
    line-height: 1.6;
}

@media (max-width: 640px) {
    .task-item.mentor-submission-row {
        flex-direction: column;
        align-items: stretch;
    }

    .task-item.mentor-submission-row .task-actions {
        justify-content: flex-start;
    }
}

/* —— 企业导师工作台 · 即时沟通（与教师工作台 teacher-instant-chat 一致） —— */
.header-msg-btn.teacher-im-trigger svg {
    width: 20px;
    height: 20px;
}

.teacher-im-panel .header-msg-panel-inner {
    max-height: min(420px, calc(100vh - 120px));
}

.teacher-im-panel-body {
    padding: 8px 10px 12px;
}

.teacher-im-student-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    margin-bottom: 8px;
    padding: 12px 12px;
    border: 1px solid rgba(10, 36, 99, 0.08);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    text-align: left;
    font: inherit;
    transition: background 0.2s, border-color 0.2s;
    box-sizing: border-box;
}

.teacher-im-student-row:last-child {
    margin-bottom: 0;
}

.teacher-im-student-row:hover {
    background: #f4f9ff;
    border-color: rgba(62, 146, 204, 0.25);
}

.teacher-im-student-row.is-unread {
    background: #f0f7ff;
    border-color: rgba(62, 146, 204, 0.2);
}

.teacher-im-avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(62, 146, 204, 0.35), rgba(10, 36, 99, 0.2));
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.teacher-im-student-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.teacher-im-student-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.teacher-im-student-name {
    font-size: 14px;
    font-weight: 600;
    color: #1f3557;
}

.teacher-im-student-time {
    font-size: 11px;
    color: #7b889e;
    flex-shrink: 0;
}

.teacher-im-student-meta {
    font-size: 12px;
    color: #5a6c87;
}

.teacher-im-student-preview {
    font-size: 12px;
    color: #667a98;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.teacher-im-row-badge {
    flex-shrink: 0;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    margin-top: 10px;
    font-size: 11px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    color: #fff;
    background: #e74c3c;
    border-radius: 10px;
}

.teacher-im-chat-backdrop {
    z-index: 1250;
    padding: 16px;
    align-items: center;
    justify-content: center;
}

.teacher-im-chat-modal {
    max-width: 440px;
    display: flex;
    flex-direction: column;
    max-height: min(560px, calc(100vh - 32px));
}

.teacher-im-chat-header .mc-modal-title {
    margin-bottom: 2px;
}

.teacher-im-chat-sub {
    margin: 0;
    font-size: 12px;
    color: #667a98;
}

.teacher-im-chat-body {
    flex: 1;
    min-height: 200px;
    max-height: 360px;
    overflow-y: auto;
    padding: 16px 20px;
    background: #f4f7fb;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.teacher-im-chat-empty {
    text-align: center;
    padding: 40px 16px;
    color: #7b889e;
    font-size: 13px;
}

.teacher-im-bubble-wrap {
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.teacher-im-bubble-wrap.is-teacher {
    align-items: flex-end;
}

.teacher-im-bubble {
    max-width: 88%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.55;
    word-break: break-word;
}

.teacher-im-bubble-wrap.is-student .teacher-im-bubble {
    background: #fff;
    color: #1f3557;
    border: 1px solid rgba(10, 36, 99, 0.08);
    border-bottom-left-radius: 4px;
}

.teacher-im-bubble-wrap.is-teacher .teacher-im-bubble {
    background: linear-gradient(135deg, #3e92cc 0%, #2563a8 100%);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.teacher-im-bubble-time {
    margin-top: 4px;
    font-size: 11px;
    color: #94a3b8;
    padding: 0 4px;
}

.teacher-im-chat-footer {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 14px 20px 18px;
    background: #fafcff;
}

.teacher-im-chat-footer .teacher-im-chat-input {
    flex: 1;
    margin: 0;
}

.teacher-im-chat-footer .teacher-im-chat-send {
    flex-shrink: 0;
    white-space: nowrap;
}

/* 终评成果详情（与路演综评「查看详情」共用 renderSubmissionDetailHtml，本页未引入 student-tasks.css 时保证弹窗样式） */
.mentor-modal__body .mentor-submission-detail {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #334155;
}

.mentor-submission-detail__meta {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(248, 250, 252, 0.95);
    border: 1px solid rgba(10, 36, 99, 0.08);
}

.mentor-submission-detail__meta p {
    margin: 0 0 6px;
    font-size: 13px;
}

.mentor-submission-detail__meta p:last-child {
    margin-bottom: 0;
}

.mentor-submission-detail__block {
    margin: 0 0 18px;
}

.mentor-submission-detail__block--req {
    padding: 12px 14px;
    border-radius: 10px;
    border-left: 4px solid rgba(62, 146, 204, 0.55);
    background: rgba(239, 246, 255, 0.65);
}

.mentor-submission-detail__h {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 700;
    color: #0f2f66;
}

.mentor-submission-detail__req-text {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #475569;
}

.mentor-submission-detail__lead {
    margin: 0 0 10px;
    font-size: 12px;
    color: #64748b;
    line-height: 1.45;
}

.mentor-submission-detail__assets {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mentor-submission-detail__asset {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px 12px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(10, 36, 99, 0.08);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 6px rgba(10, 36, 99, 0.04);
}

.mentor-submission-detail__asset-badge {
    flex-shrink: 0;
    margin-top: 2px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #0e4d8a;
    background: rgba(62, 146, 204, 0.14);
    white-space: nowrap;
}

.mentor-submission-detail__asset-main {
    flex: 1;
    min-width: 140px;
}

.mentor-submission-detail__asset-link {
    display: inline;
    font-weight: 600;
    color: #1d6fa8;
    text-decoration: none;
    word-break: break-word;
}

.mentor-submission-detail__asset-link:hover {
    text-decoration: underline;
}

.mentor-submission-detail__asset-meta {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #94a3b8;
}

.mentor-submission-detail__asset-open {
    flex-shrink: 0;
    align-self: center;
    white-space: nowrap;
}

.mentor-submission-detail__thumb-wrap {
    flex-basis: 100%;
    width: 100%;
    margin: 0;
    padding-left: 0;
}

.mentor-submission-detail__thumb {
    max-width: 100%;
    max-height: 160px;
    border-radius: 8px;
    border: 1px solid rgba(10, 36, 99, 0.1);
    object-fit: contain;
}

.mentor-submission-detail__summary {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
}

.mentor-submission-detail__empty {
    margin: 0;
    font-size: 13px;
    color: #94a3b8;
}

.mentor-submission-detail__hint {
    margin: 0;
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.45;
}

.mentor-submission-detail__block--feedback {
    padding: 12px 14px;
    border-radius: 10px;
    border-left: 4px solid rgba(217, 119, 6, 0.55);
    background: rgba(255, 251, 235, 0.75);
}

.mentor-submission-detail__feedback {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #78350f;
    white-space: pre-wrap;
    word-break: break-word;
}

.mentor-roadshow-improve-body .mentor-roadshow-improve-lead {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.5;
    color: #475569;
}

.mentor-roadshow-improve-body .mentor-roadshow-improve-label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #0f2f66;
}

.mentor-roadshow-improve-body .mentor-roadshow-improve-textarea {
    width: 100%;
    box-sizing: border-box;
    min-height: 140px;
    padding: 12px 14px;
    margin: 0 0 10px;
    border-radius: 10px;
    border: 1px solid rgba(10, 36, 99, 0.12);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.55;
    resize: vertical;
}

.mentor-roadshow-improve-body .mentor-roadshow-improve-hint {
    margin: 0 0 16px;
    font-size: 12px;
    color: #94a3b8;
}

.mentor-roadshow-improve-body .mentor-roadshow-improve-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

#mentorRoadshowImproveOverlay .mentor-modal {
    max-width: min(520px, 96vw);
}

/* 企业导师 · 真境/真炼目录页：卡片内「教师任务」链接与按钮对齐 */
body.mentor-zhen-catalog-page.mentor-enterprise-dashboard .zhen-card-actions--split a.btn-sm.btn-secondary.zhen-btn-mentor-tasks {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    box-sizing: border-box;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    border: 1px solid rgba(15, 47, 102, 0.18);
    background: rgba(255, 255, 255, 0.92);
    color: #0f2f66;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

body.mentor-zhen-catalog-page.mentor-enterprise-dashboard .zhen-card-actions--split a.btn-sm.btn-secondary.zhen-btn-mentor-tasks:hover {
    background: #fff;
    border-color: rgba(62, 146, 204, 0.45);
    box-shadow: 0 2px 10px rgba(15, 47, 102, 0.08);
}

body.mentor-zhen-catalog-page.mentor-enterprise-dashboard .zhen-card-actions--split a.btn-sm.btn-secondary.zhen-btn-mentor-tasks:focus-visible {
    outline: 2px solid rgba(62, 146, 204, 0.55);
    outline-offset: 2px;
}

/* —— 青城企业导师壳：内容区强调色与登录/顶栏侧栏同构 —— */
html.shell-qingcheng--mentor .mentor-workspace-page .dashboard-user-panel {
    border-color: rgba(15, 118, 110, 0.14);
    box-shadow: 0 8px 28px rgba(17, 94, 89, 0.07);
    background: linear-gradient(145deg, #fff 0%, rgba(240, 253, 250, 0.55) 100%);
}

html.shell-qingcheng--mentor .mentor-workspace-page .panel-ability-btn {
    color: #0f766e;
    border-color: rgba(15, 118, 110, 0.4);
    background: #fff;
}

html.shell-qingcheng--mentor .mentor-workspace-page .panel-ability-btn:hover {
    background: #0d9488;
    color: #fff;
    border-color: #0d9488;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.22);
}

html.shell-qingcheng--mentor .mentor-workspace-page .dashboard-header.mentor-dashboard-header,
html.shell-qingcheng--mentor .mentor-enterprise-dashboard .dashboard-header.mentor-dashboard-header,
html.shell-qingcheng--mentor .mentor-dashboard-header {
    border-color: rgba(15, 118, 110, 0.14);
    border-left-color: #0d9488;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 253, 250, 0.92) 48%, rgba(204, 251, 241, 0.35) 100%);
    box-shadow: 0 4px 18px rgba(17, 94, 89, 0.06);
    /* 覆盖 .shell-qingcheng .dashboard-header { padding-bottom: 0 } */
    padding: 22px 24px 32px;
    margin-bottom: 32px;
}

html.shell-qingcheng--mentor .mentor-workspace-page .dashboard-header.mentor-dashboard-header .welcome,
html.shell-qingcheng--mentor .mentor-enterprise-dashboard .dashboard-header.mentor-dashboard-header .welcome,
html.shell-qingcheng--mentor .mentor-dashboard-header .welcome {
    margin-top: 12px;
    padding-bottom: 2px;
}

html.shell-qingcheng--mentor .mentor-page-eyebrow {
    color: #0f766e;
}

html.shell-qingcheng--mentor .mentor-workspace-page .dashboard-header h1 {
    color: #134e4a;
}

html.shell-qingcheng--mentor .mentor-workspace-page .header-actions-wrap .btn-sm.btn-primary,
html.shell-qingcheng--mentor .mentor-enterprise-dashboard .mentor-section__actions .btn-sm.btn-primary,
html.shell-qingcheng--mentor .mentor-workspace-page .mentor-section .btn-sm.btn-primary {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.28);
    color: #fff;
}

html.shell-qingcheng--mentor .mentor-workspace-page .header-actions-wrap .btn-sm.btn-primary:hover,
html.shell-qingcheng--mentor .mentor-enterprise-dashboard .mentor-section__actions .btn-sm.btn-primary:hover,
html.shell-qingcheng--mentor .mentor-workspace-page .mentor-section .btn-sm.btn-primary:hover {
    background: linear-gradient(135deg, #0f766e 0%, #115e59 100%);
    box-shadow: 0 6px 16px rgba(13, 148, 136, 0.35);
}

html.shell-qingcheng--mentor .mentor-workspace-page .header-actions-wrap .btn-sm.btn-primary:focus-visible,
html.shell-qingcheng--mentor .mentor-enterprise-dashboard .mentor-section__actions .btn-sm.btn-primary:focus-visible {
    outline-color: rgba(13, 148, 136, 0.65);
}

html.shell-qingcheng--mentor .mentor-workspace-page .header-actions-wrap .btn-sm.btn-secondary,
html.shell-qingcheng--mentor .mentor-enterprise-dashboard .mentor-section__actions .btn-sm.btn-secondary,
html.shell-qingcheng--mentor .mentor-enterprise-dashboard .mentor-teacher-actions .btn-sm.btn-secondary {
    color: #115e59;
    border-color: rgba(15, 118, 110, 0.35);
    background: #fff;
    box-shadow: 0 2px 8px rgba(17, 94, 89, 0.06);
}

html.shell-qingcheng--mentor .mentor-workspace-page .header-actions-wrap .btn-sm.btn-secondary:hover,
html.shell-qingcheng--mentor .mentor-enterprise-dashboard .mentor-section__actions .btn-sm.btn-secondary:hover,
html.shell-qingcheng--mentor .mentor-enterprise-dashboard .mentor-teacher-actions .btn-sm.btn-secondary:hover {
    background: rgba(13, 148, 136, 0.1);
    border-color: rgba(13, 148, 136, 0.55);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.14);
    color: #0f766e;
}

html.shell-qingcheng--mentor .mentor-workspace-page .header-actions-wrap .btn-sm.btn-secondary:focus-visible,
html.shell-qingcheng--mentor .mentor-enterprise-dashboard .mentor-section__actions .btn-sm.btn-secondary:focus-visible,
html.shell-qingcheng--mentor .mentor-enterprise-dashboard .mentor-teacher-actions .btn-sm.btn-secondary:focus-visible {
    outline-color: rgba(13, 148, 136, 0.55);
}

html.shell-qingcheng--mentor .mentor-workspace-page .mentor-btn-back-pilot {
    border-color: rgba(15, 118, 110, 0.18);
    background: linear-gradient(180deg, #fff 0%, rgba(240, 253, 250, 0.88) 100%);
    color: #115e59;
    box-shadow: 0 2px 10px rgba(17, 94, 89, 0.06);
}

html.shell-qingcheng--mentor .mentor-workspace-page .mentor-btn-back-pilot:hover {
    border-color: rgba(13, 148, 136, 0.5);
    color: #0f766e;
    box-shadow: 0 4px 16px rgba(17, 94, 89, 0.12);
}

html.shell-qingcheng--mentor .mentor-workspace-page .mentor-btn-back-pilot:focus-visible {
    outline-color: rgba(13, 148, 136, 0.55);
}

html.shell-qingcheng--mentor body.mentor-zhen-catalog-page.mentor-enterprise-dashboard .zhen-card-actions--split a.btn-sm.btn-secondary.zhen-btn-mentor-tasks {
    border-color: rgba(15, 118, 110, 0.2);
    color: #134e4a;
}

html.shell-qingcheng--mentor body.mentor-zhen-catalog-page.mentor-enterprise-dashboard .zhen-card-actions--split a.btn-sm.btn-secondary.zhen-btn-mentor-tasks:hover {
    border-color: rgba(13, 148, 136, 0.45);
    box-shadow: 0 2px 10px rgba(17, 94, 89, 0.08);
}

html.shell-qingcheng--mentor body.mentor-zhen-catalog-page.mentor-enterprise-dashboard .zhen-card-actions--split a.btn-sm.btn-secondary.zhen-btn-mentor-tasks:focus-visible {
    outline-color: rgba(13, 148, 136, 0.55);
}

html.shell-qingcheng--mentor .mentor-workspace-page .dashboard-card:hover {
    box-shadow: 0 10px 26px rgba(17, 94, 89, 0.1);
}

html.shell-qingcheng--mentor .mentor-workspace-page .task-item {
    border-color: rgba(15, 118, 110, 0.1);
}

html.shell-qingcheng--mentor .mentor-workspace-page .task-item:hover {
    border-color: rgba(13, 148, 136, 0.35);
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.1);
}

html.shell-qingcheng--mentor .mentor-module-hero {
    background: linear-gradient(125deg, #115e59 0%, #0f766e 42%, rgba(13, 148, 136, 0.9) 100%);
    box-shadow: 0 10px 32px rgba(17, 94, 89, 0.22);
}

html.shell-qingcheng--mentor .mentor-modules-page .mentor-module-hero::before {
    background: linear-gradient(90deg, rgba(45, 212, 191, 0.55) 0%, rgba(13, 148, 136, 0.35) 45%, rgba(15, 118, 110, 0.5) 100%);
}

html.shell-qingcheng--mentor .mentor-teaching-calendar .teaching-cal-title-icon,
html.shell-qingcheng--mentor .mentor-teaching-calendar .teaching-cal-today-btn {
    color: #0f766e;
}

html.shell-qingcheng--mentor .mentor-teaching-calendar .teaching-cal-today-btn {
    border-color: rgba(15, 118, 110, 0.28);
    background: rgba(13, 148, 136, 0.08);
}

html.shell-qingcheng--mentor .mentor-teaching-calendar .teaching-cal-today-btn:hover,
html.shell-qingcheng--mentor .mentor-teaching-calendar .teaching-cal-nav-btn:hover {
    background: rgba(13, 148, 136, 0.14);
    color: #115e59;
}

html.shell-qingcheng--mentor .mentor-home-progress-overview .teacher-home-progress-more {
    color: #0f766e;
}

/* —— 挑战专家反馈页：与企业专家工作台主页同壳同色 —— */
body[data-mentor-page="challenge-feedback"] .mcf-toolbar {
    margin-bottom: 16px;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(10, 36, 99, 0.08);
    background: linear-gradient(145deg, #fff 0%, rgba(248, 251, 255, 0.92) 100%);
    box-shadow: 0 2px 12px rgba(10, 36, 99, 0.04);
}

body[data-mentor-page="challenge-feedback"] .mcf-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    align-items: flex-end;
}

body[data-mentor-page="challenge-feedback"] .mcf-filters label {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

body[data-mentor-page="challenge-feedback"] .mcf-filter-user {
    flex: 1 1 280px;
    min-width: 240px;
}

body[data-mentor-page="challenge-feedback"] .mcf-filter-user__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

body[data-mentor-page="challenge-feedback"] .mcf-filter-user__row #mcfUserQ {
    flex: 1 1 160px;
    min-width: 160px;
}

body[data-mentor-page="challenge-feedback"] .mcf-filter-user__row #btnMcfLoad {
    flex: 0 0 auto;
    height: 38px;
    min-height: 38px;
    white-space: nowrap;
}

body[data-mentor-page="challenge-feedback"] .mcf-filters input,
body[data-mentor-page="challenge-feedback"] .mcf-filters select {
    box-sizing: border-box;
    height: 38px;
    min-height: 38px;
    min-width: 180px;
    padding: 0 12px;
    border: 1px solid rgba(10, 36, 99, 0.14);
    border-radius: 10px;
    font: inherit;
    font-size: 13px;
    line-height: 1.3;
    background: #fff;
    color: var(--deep-space-blue, #0f2f66);
    appearance: none;
    -webkit-appearance: none;
}

body[data-mentor-page="challenge-feedback"] .mcf-filters select {
    padding-right: 28px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

body[data-mentor-page="challenge-feedback"] .mcf-filters input:focus,
body[data-mentor-page="challenge-feedback"] .mcf-filters select:focus {
    outline: none;
    border-color: var(--light-blue, #3e92cc);
    box-shadow: 0 0 0 3px rgba(62, 146, 204, 0.16);
}

body[data-mentor-page="challenge-feedback"] .mcf-hint {
    margin: 12px 0 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.55;
}

body[data-mentor-page="challenge-feedback"] .mcf-layout {
    display: grid;
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    min-height: 420px;
}

@media (max-width: 900px) {
    body[data-mentor-page="challenge-feedback"] .mcf-layout {
        grid-template-columns: 1fr;
    }
}

body[data-mentor-page="challenge-feedback"] .mcf-students,
body[data-mentor-page="challenge-feedback"] .mcf-detail {
    overflow: hidden;
}

body[data-mentor-page="challenge-feedback"] .mentor-teacher-col--feedback,
body[data-mentor-page="enterprise-home"] .mentor-teacher-col--feedback {
    border-top: 3px solid rgba(62, 146, 204, 0.65);
}

html.shell-qingcheng--mentor body[data-mentor-page="challenge-feedback"] .mentor-teacher-col--feedback,
html.shell-qingcheng--mentor body[data-mentor-page="enterprise-home"] .mentor-teacher-col--feedback {
    border-top-color: rgba(15, 118, 110, 0.55);
}

body[data-mentor-page="challenge-feedback"] .mcf-student-list {
    max-height: 64vh;
    overflow: auto;
    margin: 0 -6px;
    padding: 0 6px;
    border-radius: 10px;
    border: 1px solid rgba(10, 36, 99, 0.06);
    background: rgba(248, 250, 252, 0.65);
}

body[data-mentor-page="challenge-feedback"] .mcf-student-item {
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    border-bottom: 1px solid rgba(10, 36, 99, 0.06);
    background: transparent;
    padding: 12px 12px;
    cursor: pointer;
    font: inherit;
    transition: background 0.18s ease;
}

body[data-mentor-page="challenge-feedback"] .mcf-student-item:last-child {
    border-bottom: 0;
}

body[data-mentor-page="challenge-feedback"] .mcf-student-item:hover {
    background: rgba(62, 146, 204, 0.06);
}

body[data-mentor-page="challenge-feedback"] .mcf-student-item.is-active {
    background: rgba(62, 146, 204, 0.12);
    box-shadow: inset 3px 0 0 var(--light-blue, #3e92cc);
}

body[data-mentor-page="challenge-feedback"] .mcf-student-id {
    font-size: 13px;
    font-weight: 700;
    color: var(--deep-space-blue, #0a2463);
    word-break: break-all;
}

body[data-mentor-page="challenge-feedback"] .mcf-student-meta {
    margin-top: 6px;
    font-size: 12px;
    color: #64748b;
    line-height: 1.45;
}

body[data-mentor-page="challenge-feedback"] .mcf-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    margin-right: 4px;
}

body[data-mentor-page="challenge-feedback"] .mcf-badge--ok {
    color: #14532d;
    background: rgba(34, 176, 125, 0.16);
}

body[data-mentor-page="challenge-feedback"] .mcf-badge--wait {
    color: #92400e;
    background: rgba(245, 158, 11, 0.18);
}

body[data-mentor-page="challenge-feedback"] .mcf-badge--none {
    color: #64748b;
    background: rgba(148, 163, 184, 0.18);
}

body[data-mentor-page="challenge-feedback"] .mcf-detail-body {
    padding: 0;
}

body[data-mentor-page="challenge-feedback"] .mcf-empty {
    padding: 28px 12px;
    color: #64748b;
    font-size: 13px;
    text-align: center;
    line-height: 1.55;
}

body[data-mentor-page="challenge-feedback"] .mcf-detail-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

body[data-mentor-page="challenge-feedback"] .mcf-detail-toolbar h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--deep-space-blue, #0a2463);
    letter-spacing: -0.02em;
}

body[data-mentor-page="challenge-feedback"] .mcf-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

body[data-mentor-page="challenge-feedback"] .mcf-step-card {
    border: 1px solid rgba(10, 36, 99, 0.08);
    border-radius: 12px;
    padding: 14px 16px;
    margin: 0 0 12px;
    background: linear-gradient(180deg, #fff 0%, rgba(248, 251, 255, 0.9) 100%);
    box-shadow: 0 2px 10px rgba(10, 36, 99, 0.04);
}

body[data-mentor-page="challenge-feedback"] .mcf-step-card-head {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

body[data-mentor-page="challenge-feedback"] .mcf-step-card h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    color: var(--deep-space-blue, #0a2463);
}

body[data-mentor-page="challenge-feedback"] .mcf-req-panel {
    margin: 0 0 10px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px dashed rgba(62, 146, 204, 0.35);
    background: #fff;
}

body[data-mentor-page="challenge-feedback"] .mcf-req-panel[hidden] {
    display: none !important;
}

body[data-mentor-page="challenge-feedback"] .mcf-req-title {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--deep-space-blue, #0a2463);
}

body[data-mentor-page="challenge-feedback"] .mcf-req-desc {
    margin: 0 0 8px;
    font-size: 12px;
    color: #475569;
    line-height: 1.55;
}

body[data-mentor-page="challenge-feedback"] .mcf-req-task {
    margin: 0 0 8px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(62, 146, 204, 0.06);
    border-left: 3px solid var(--light-blue, #3e92cc);
}

body[data-mentor-page="challenge-feedback"] .mcf-req-task:last-child {
    margin-bottom: 0;
}

body[data-mentor-page="challenge-feedback"] .mcf-req-task strong {
    display: block;
    font-size: 12px;
    color: var(--deep-space-blue, #0a2463);
    margin-bottom: 4px;
}

body[data-mentor-page="challenge-feedback"] .mcf-req-task__body,
body[data-mentor-page="challenge-feedback"] .mcf-req-task p {
    margin: 0;
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
}

/* 完整挑战 / 任务说明 / 学生提交：富文本渲染（不再把 HTML 当纯文本） */
body[data-mentor-page="challenge-feedback"] .mcf-rich {
    word-break: break-word;
}
body[data-mentor-page="challenge-feedback"] .mcf-rich img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 8px 0;
}
/* 任务说明内嵌视频：学生端去 controls 靠弹窗；专家页必须可见可播 */
body[data-mentor-page="challenge-feedback"] .mcf-rich .cw-rt-video-shell,
body[data-mentor-page="challenge-feedback"] .mcf-rich .mcf-video-shell,
body[data-mentor-page="challenge-feedback"] .mcf-rich [data-cw-video-shell] {
    position: relative;
    display: block;
    max-width: min(100%, 480px);
    width: 100%;
    min-height: 160px;
    margin: 12px 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #0f172a;
}
body[data-mentor-page="challenge-feedback"] .mcf-rich .cw-rt-video,
body[data-mentor-page="challenge-feedback"] .mcf-rich video {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 160px;
    max-height: 320px;
    height: auto;
    margin: 0;
    background: #000;
    border-radius: 0;
    pointer-events: auto;
    vertical-align: top;
}
body[data-mentor-page="challenge-feedback"] .mcf-rich table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}
body[data-mentor-page="challenge-feedback"] .mcf-rich p {
    margin: 0 0 8px;
}
body[data-mentor-page="challenge-feedback"] .mcf-rich p:last-child {
    margin-bottom: 0;
}
body[data-mentor-page="challenge-feedback"] .mcf-rich ul,
body[data-mentor-page="challenge-feedback"] .mcf-rich ol {
    margin: 0 0 8px;
    padding-left: 1.25em;
}

body[data-mentor-page="challenge-feedback"] .mcf-req-empty {
    margin: 0;
    font-size: 12px;
    color: #94a3b8;
}

body[data-mentor-page="challenge-feedback"] .mcf-full-challenge {
    margin: 0 0 14px;
    max-height: min(60vh, 560px);
    overflow: auto;
}

body[data-mentor-page="challenge-feedback"] .mcf-full-panel {
    margin: 0 0 14px;
    max-height: 56vh;
    overflow: auto;
}

body[data-mentor-page="challenge-feedback"] .mcf-full-phases {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 10px;
}

body[data-mentor-page="challenge-feedback"] .mcf-full-phase {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(62, 146, 204, 0.12);
    border: 1px solid rgba(62, 146, 204, 0.28);
    font-size: 11px;
    font-weight: 700;
    color: var(--deep-space-blue, #0a2463);
}

body[data-mentor-page="challenge-feedback"] .mcf-full-step {
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(10, 36, 99, 0.08);
}

body[data-mentor-page="challenge-feedback"] .mcf-full-step:last-child {
    margin-bottom: 0;
}

body[data-mentor-page="challenge-feedback"] .mcf-full-step-head,
body[data-mentor-page="challenge-feedback"] .mcf-full-step h4 {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 800;
    color: var(--deep-space-blue, #0a2463);
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

body[data-mentor-page="challenge-feedback"] .mcf-full-step-body .mcf-req-title {
    display: none;
}

body[data-mentor-page="challenge-feedback"] .mcf-step-body,
body[data-mentor-page="challenge-feedback"] .mcf-step-note {
    font-size: 13px;
    color: #334155;
    line-height: 1.55;
    word-break: break-word;
    margin: 0 0 8px;
}

body[data-mentor-page="challenge-feedback"] .mcf-step-note:not(.mcf-rich) {
    white-space: pre-wrap;
}

body[data-mentor-page="challenge-feedback"] .mcf-step-note {
    color: #64748b;
    font-size: 12px;
}

/* 学生 taskLogs：完成备注 / 操作区作答 */
body[data-mentor-page="challenge-feedback"] .mcf-tasklogs {
    margin: 10px 0 12px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px dashed rgba(15, 118, 110, 0.28);
    background: rgba(240, 253, 250, 0.65);
}
body[data-mentor-page="challenge-feedback"] .mcf-tasklogs__label {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    color: #0f766e;
}
body[data-mentor-page="challenge-feedback"] .mcf-tasklog-item {
    margin: 0 0 10px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid rgba(15, 118, 110, 0.12);
}
body[data-mentor-page="challenge-feedback"] .mcf-tasklog-item:last-child {
    margin-bottom: 0;
}
body[data-mentor-page="challenge-feedback"] .mcf-tasklog-item__title {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 700;
    color: #0f2f66;
}
body[data-mentor-page="challenge-feedback"] .mcf-tasklog-item__lab {
    margin: 0 0 2px;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
}
body[data-mentor-page="challenge-feedback"] .mcf-tasklog-item__note {
    margin: 0;
    font-size: 13px;
    color: #334155;
    line-height: 1.55;
    word-break: break-word;
}
body[data-mentor-page="challenge-feedback"] .mcf-ops {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #dbe4f0;
}
body[data-mentor-page="challenge-feedback"] .mcf-ops-item {
    margin: 0 0 6px;
}
body[data-mentor-page="challenge-feedback"] .mcf-ops-item:last-child {
    margin-bottom: 0;
}
body[data-mentor-page="challenge-feedback"] .mcf-ops-item__title {
    margin: 0 0 2px;
    font-size: 12px;
    font-weight: 600;
    color: #1f3557;
}
body[data-mentor-page="challenge-feedback"] .mcf-ops-item__body {
    margin: 0;
    font-size: 12px;
    color: #475569;
    white-space: pre-wrap;
    word-break: break-word;
}
body[data-mentor-page="challenge-feedback"] .mcf-ops-item__media {
    margin: 4px 0 0;
    font-size: 12px;
}
body[data-mentor-page="challenge-feedback"] .mcf-ops-item__media a {
    color: #1d4ed8;
}

body[data-mentor-page="challenge-feedback"] .mcf-mats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 10px;
}

body[data-mentor-page="challenge-feedback"] .mcf-mat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 10px;
    border: 1px solid rgba(10, 36, 99, 0.1);
    background: #fff;
    font-size: 12px;
    box-shadow: 0 1px 4px rgba(10, 36, 99, 0.04);
}

body[data-mentor-page="challenge-feedback"] .mcf-fb {
    width: 100%;
    box-sizing: border-box;
    font: inherit;
    padding: 10px 12px;
    border: 1px solid rgba(10, 36, 99, 0.14);
    border-radius: 10px;
    min-height: 72px;
    color: var(--deep-space-blue, #0f2f66);
    background: #fff;
}

body[data-mentor-page="challenge-feedback"] .mcf-fb:focus {
    outline: none;
    border-color: var(--light-blue, #3e92cc);
    box-shadow: 0 0 0 3px rgba(62, 146, 204, 0.16);
}

body[data-mentor-page="challenge-feedback"] .mcf-fb-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-start;
    margin-top: 8px;
}

body[data-mentor-page="challenge-feedback"] .mcf-fb-row .mcf-fb {
    flex: 1 1 220px;
}

body[data-mentor-page="challenge-feedback"] .mcf-preview-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
}

body[data-mentor-page="challenge-feedback"] .mcf-preview-modal[hidden] {
    display: none !important;
}

body[data-mentor-page="challenge-feedback"] .mcf-preview-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
}

body[data-mentor-page="challenge-feedback"] .mcf-preview-dialog {
    position: relative;
    z-index: 1;
    width: min(960px, 94vw);
    max-height: 90vh;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(10, 36, 99, 0.08);
    box-shadow: 0 20px 50px rgba(10, 36, 99, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

body[data-mentor-page="challenge-feedback"] .mcf-preview-close {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 2;
    border: 0;
    background: transparent;
    font-size: 22px;
    cursor: pointer;
    color: #64748b;
}

body[data-mentor-page="challenge-feedback"] .mcf-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 48px 12px 18px;
    border-bottom: 1px solid rgba(10, 36, 99, 0.08);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(239, 246, 255, 0.7) 100%);
}

body[data-mentor-page="challenge-feedback"] .mcf-preview-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--deep-space-blue, #0a2463);
}

body[data-mentor-page="challenge-feedback"] .mcf-preview-body {
    flex: 1;
    min-height: 0;
    padding: 14px 18px 18px;
    overflow: auto;
    background: rgba(248, 250, 252, 0.85);
}

body[data-mentor-page="challenge-feedback"] .mat-preview-frame {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

body[data-mentor-page="challenge-feedback"] .mat-preview-frame img,
body[data-mentor-page="challenge-feedback"] .mat-preview-frame video {
    max-width: 100%;
    max-height: min(70vh, 720px);
    display: block;
}

body[data-mentor-page="challenge-feedback"] .mat-preview-frame--doc iframe {
    width: 100%;
    height: min(70vh, 720px);
    border: 0;
    background: #fff;
}

body[data-mentor-page="challenge-feedback"] .mat-preview-hint {
    margin: 10px 0 0;
    font-size: 13px;
    color: #536784;
    text-align: center;
}

body[data-mentor-page="challenge-feedback"] .mat-preview-fallback {
    padding: 28px 16px;
    text-align: center;
    color: #334155;
    word-break: break-all;
}

/* 主/次按钮 */
body[data-mentor-page="challenge-feedback"] .mentor-section__actions .btn-sm.btn-primary,
body[data-mentor-page="challenge-feedback"] .mcf-save.btn-sm.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 38px;
    height: auto;
    padding: 8px 18px;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    background: linear-gradient(135deg, var(--light-blue, #3e92cc) 0%, #2a7ab8 100%);
    box-shadow: 0 4px 12px rgba(62, 146, 204, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

body[data-mentor-page="challenge-feedback"] .mentor-section__actions .btn-sm.btn-primary:hover,
body[data-mentor-page="challenge-feedback"] .mcf-save.btn-sm.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(62, 146, 204, 0.35);
    background: linear-gradient(135deg, #2a7ab8 0%, var(--deep-space-blue, #0a2463) 100%);
}

body[data-mentor-page="challenge-feedback"] .mentor-section__actions .btn-sm.btn-primary:focus-visible,
body[data-mentor-page="challenge-feedback"] .mcf-save.btn-sm.btn-primary:focus-visible {
    outline: 2px solid rgba(62, 146, 204, 0.65);
    outline-offset: 2px;
}

body[data-mentor-page="challenge-feedback"] .btn-sm.btn-secondary,
body[data-mentor-page="challenge-feedback"] .mcf-req-toggle.btn-sm.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 36px;
    height: auto;
    padding: 7px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--deep-space-blue, #0a2463);
    text-decoration: none;
    cursor: pointer;
    border: 1px solid rgba(62, 146, 204, 0.42);
    background: #fff;
    box-shadow: 0 2px 8px rgba(10, 36, 99, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

body[data-mentor-page="challenge-feedback"] .btn-sm.btn-secondary:hover,
body[data-mentor-page="challenge-feedback"] .mcf-req-toggle.btn-sm.btn-secondary:hover {
    transform: translateY(-1px);
    background: rgba(62, 146, 204, 0.1);
    border-color: rgba(62, 146, 204, 0.6);
    box-shadow: 0 4px 12px rgba(62, 146, 204, 0.14);
    color: var(--deep-space-blue, #0a2463);
}

body[data-mentor-page="challenge-feedback"] .btn-sm.btn-secondary:focus-visible,
body[data-mentor-page="challenge-feedback"] .mcf-req-toggle.btn-sm.btn-secondary:focus-visible {
    outline: 2px solid rgba(62, 146, 204, 0.55);
    outline-offset: 2px;
}

body[data-mentor-page="challenge-feedback"] .mcf-req-toggle[aria-expanded="true"] {
    background: rgba(62, 146, 204, 0.12);
    border-color: rgba(62, 146, 204, 0.55);
}

body[data-mentor-page="challenge-feedback"] .mcf-mat .btn-sm.btn-secondary {
    min-height: 30px;
    padding: 4px 10px;
    font-size: 12px;
    box-shadow: none;
}

body[data-mentor-page="challenge-feedback"] .mcf-preview-header .btn-sm.btn-secondary {
    min-height: 34px;
    padding: 6px 12px;
    font-size: 12px;
}

/* 青绿壳覆写 */
html.shell-qingcheng--mentor body[data-mentor-page="challenge-feedback"] .mcf-toolbar {
    border-color: rgba(15, 118, 110, 0.12);
    background: linear-gradient(145deg, #fff 0%, rgba(240, 253, 250, 0.88) 100%);
    box-shadow: 0 2px 12px rgba(17, 94, 89, 0.05);
}

html.shell-qingcheng--mentor body[data-mentor-page="challenge-feedback"] .mcf-filters input:focus,
html.shell-qingcheng--mentor body[data-mentor-page="challenge-feedback"] .mcf-filters select:focus,
html.shell-qingcheng--mentor body[data-mentor-page="challenge-feedback"] .mcf-fb:focus {
    border-color: #0d9488;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.16);
}

html.shell-qingcheng--mentor body[data-mentor-page="challenge-feedback"] .mcf-student-item:hover {
    background: rgba(13, 148, 136, 0.06);
}

html.shell-qingcheng--mentor body[data-mentor-page="challenge-feedback"] .mcf-student-item.is-active {
    background: rgba(13, 148, 136, 0.12);
    box-shadow: inset 3px 0 0 #0d9488;
}

html.shell-qingcheng--mentor body[data-mentor-page="challenge-feedback"] .mcf-student-list {
    border-color: rgba(15, 118, 110, 0.1);
    background: rgba(240, 253, 250, 0.45);
}

html.shell-qingcheng--mentor body[data-mentor-page="challenge-feedback"] .mcf-step-card {
    border-color: rgba(15, 118, 110, 0.1);
    background: linear-gradient(180deg, #fff 0%, rgba(240, 253, 250, 0.7) 100%);
    box-shadow: 0 2px 10px rgba(17, 94, 89, 0.04);
}

html.shell-qingcheng--mentor body[data-mentor-page="challenge-feedback"] .mcf-req-panel {
    border-color: rgba(13, 148, 136, 0.35);
}

html.shell-qingcheng--mentor body[data-mentor-page="challenge-feedback"] .mcf-req-task {
    background: rgba(13, 148, 136, 0.07);
    border-left-color: #0d9488;
}

html.shell-qingcheng--mentor body[data-mentor-page="challenge-feedback"] .mcf-full-phase {
    background: rgba(13, 148, 136, 0.12);
    border-color: rgba(13, 148, 136, 0.28);
    color: #115e59;
}

html.shell-qingcheng--mentor body[data-mentor-page="challenge-feedback"] .mcf-full-step {
    border-color: rgba(15, 118, 110, 0.1);
    background: rgba(240, 253, 250, 0.55);
}

html.shell-qingcheng--mentor body[data-mentor-page="challenge-feedback"] .mcf-preview-header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 253, 250, 0.75) 100%);
}

html.shell-qingcheng--mentor body[data-mentor-page="challenge-feedback"] .mentor-section__actions .btn-sm.btn-primary,
html.shell-qingcheng--mentor body[data-mentor-page="challenge-feedback"] .mcf-save.btn-sm.btn-primary {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.28);
}

html.shell-qingcheng--mentor body[data-mentor-page="challenge-feedback"] .mentor-section__actions .btn-sm.btn-primary:hover,
html.shell-qingcheng--mentor body[data-mentor-page="challenge-feedback"] .mcf-save.btn-sm.btn-primary:hover {
    background: linear-gradient(135deg, #0f766e 0%, #115e59 100%);
    box-shadow: 0 6px 16px rgba(13, 148, 136, 0.35);
}

html.shell-qingcheng--mentor body[data-mentor-page="challenge-feedback"] .mentor-section__actions .btn-sm.btn-primary:focus-visible,
html.shell-qingcheng--mentor body[data-mentor-page="challenge-feedback"] .mcf-save.btn-sm.btn-primary:focus-visible {
    outline-color: rgba(13, 148, 136, 0.65);
}

html.shell-qingcheng--mentor body[data-mentor-page="challenge-feedback"] .btn-sm.btn-secondary,
html.shell-qingcheng--mentor body[data-mentor-page="challenge-feedback"] .mcf-req-toggle.btn-sm.btn-secondary {
    color: #115e59;
    border-color: rgba(15, 118, 110, 0.35);
    box-shadow: 0 2px 8px rgba(17, 94, 89, 0.06);
}

html.shell-qingcheng--mentor body[data-mentor-page="challenge-feedback"] .btn-sm.btn-secondary:hover,
html.shell-qingcheng--mentor body[data-mentor-page="challenge-feedback"] .mcf-req-toggle.btn-sm.btn-secondary:hover {
    background: rgba(13, 148, 136, 0.1);
    border-color: rgba(13, 148, 136, 0.55);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.14);
    color: #0f766e;
}

html.shell-qingcheng--mentor body[data-mentor-page="challenge-feedback"] .btn-sm.btn-secondary:focus-visible,
html.shell-qingcheng--mentor body[data-mentor-page="challenge-feedback"] .mcf-req-toggle.btn-sm.btn-secondary:focus-visible {
    outline-color: rgba(13, 148, 136, 0.55);
}

html.shell-qingcheng--mentor body[data-mentor-page="challenge-feedback"] .mcf-req-toggle[aria-expanded="true"] {
    background: rgba(13, 148, 136, 0.12);
    border-color: rgba(13, 148, 136, 0.5);
}
