/* 教师工作台 - 快捷入口与功能页 */
.section-title-bar .section-hint {
    font-size: 13px;
    color: var(--dark-gray);
    font-weight: normal;
    margin-left: 12px;
}

.teacher-shortcut-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.teacher-shortcut-card {
    display: block;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(10, 36, 99, 0.08);
    box-shadow: 0 4px 14px rgba(10, 36, 99, 0.06);
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
}

.teacher-shortcut-card:hover {
    border-color: var(--light-blue);
    box-shadow: 0 8px 24px rgba(10, 36, 99, 0.1);
    transform: translateY(-2px);
}

.teacher-shortcut-card .shortcut-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    background: linear-gradient(135deg, rgba(62, 146, 204, 0.15), rgba(62, 146, 204, 0.08));
    color: var(--deep-space-blue);
}

.teacher-shortcut-card .shortcut-icon svg {
    width: 26px;
    height: 26px;
}

.teacher-shortcut-card .shortcut-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--deep-space-blue);
    margin: 0 0 6px;
}

.teacher-shortcut-card .shortcut-desc {
    font-size: 13px;
    color: var(--dark-gray);
    margin: 0;
    line-height: 1.5;
}

.teacher-page-header {
    margin-bottom: 24px;
}

.teacher-page-header .page-title {
    margin: 0 0 8px;
    font-size: 24px;
    color: var(--deep-space-blue);
}

.teacher-page-header .page-subtitle {
    margin: 0;
    font-size: 14px;
    color: var(--dark-gray);
    line-height: 1.6;
}

.teacher-page-header .header-actions {
    margin-top: 16px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* 北斗名师认证页 */
.teacher-certification-page .cert-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.teacher-certification-page .cert-kpi-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(10, 36, 99, 0.1);
    box-shadow: 0 4px 14px rgba(10, 36, 99, 0.06);
    padding: 16px 16px 14px;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.teacher-certification-page .cert-kpi-title {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 8px;
}

.teacher-certification-page .cert-kpi-value {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--deep-space-blue);
    line-height: 1.1;
}

.teacher-certification-page .cert-kpi-sub {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
}

.teacher-certification-page .cert-kpi-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 14px 0 0 14px;
    background: var(--light-blue);
}

.teacher-certification-page .cert-kpi-card:hover {
    border-color: rgba(62, 146, 204, 0.28);
    box-shadow: 0 8px 22px rgba(10, 36, 99, 0.09);
    transform: translateY(-1px);
}

.teacher-certification-page .cert-kpi-empower::before {
    background: linear-gradient(180deg, #14b8a6 0%, #0d9488 100%);
}

.teacher-certification-page .cert-kpi-empower .cert-kpi-value {
    color: #0d9488;
}

.teacher-certification-page .cert-kpi-plan::before {
    background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
}

.teacher-certification-page .cert-kpi-plan .cert-kpi-value {
    color: #b45309;
}

.teacher-certification-page .cert-kpi-training::before {
    background: linear-gradient(180deg, #818cf8 0%, #6366f1 100%);
}

.teacher-certification-page .cert-kpi-training .cert-kpi-value {
    color: #4338ca;
}

.teacher-certification-page .cert-kpi-hours::before {
    background: linear-gradient(180deg, #38bdf8 0%, var(--light-blue) 100%);
}

.teacher-certification-page .cert-kpi-hours .cert-kpi-value {
    color: #0e4d8a;
}

.teacher-certification-page .cert-kpi-evidence::before {
    background: linear-gradient(180deg, #a78bfa 0%, #7c3aed 100%);
}

.teacher-certification-page .cert-kpi-evidence .cert-kpi-value {
    color: #5b21b6;
}

.teacher-certification-page .cert-section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.teacher-certification-page .cert-section-left {
    min-width: 260px;
    flex: 1;
}

.teacher-certification-page .cert-section-hint {
    margin: 6px 0 0;
    font-size: 13px;
    color: var(--dark-gray);
    line-height: 1.55;
    max-width: 680px;
}

.teacher-certification-page .cert-section-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.teacher-certification-page .cert-filter {
    display: inline-flex;
    padding: 6px;
    border-radius: 12px;
    background: rgba(241, 245, 249, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.22);
    gap: 6px;
}

.teacher-certification-page .cert-filter-btn {
    border: 1px solid transparent;
    background: transparent;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.teacher-certification-page .cert-filter-btn.active {
    background: #fff;
    color: var(--deep-space-blue);
    border-color: rgba(62, 146, 204, 0.22);
    box-shadow: 0 4px 10px rgba(10, 36, 99, 0.06);
}

.teacher-certification-page .cert-filter-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.75);
    color: var(--deep-space-blue);
}

.teacher-certification-page .cert-section-actions .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.2;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.teacher-certification-page .cert-section-actions .btn-secondary {
    color: #fff;
    background: linear-gradient(135deg, var(--light-blue) 0%, #2a7ab8 100%);
    box-shadow: 0 4px 12px rgba(62, 146, 204, 0.3);
}

.teacher-certification-page .cert-section-actions .btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(62, 146, 204, 0.38);
}

.teacher-certification-page .cert-section-actions .btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #0a2463 0%, var(--deep-space-blue) 100%);
    box-shadow: 0 4px 12px rgba(10, 36, 99, 0.25);
}

.teacher-certification-page .cert-section-actions .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(10, 36, 99, 0.35);
}

.teacher-certification-page .cert-section-actions .btn-sm:focus-visible {
    outline: 2px solid #3e92cc;
    outline-offset: 2px;
}

.teacher-certification-page .cert-table-wrap .dashboard-table thead th {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, rgba(241, 245, 249, 0.92) 100%);
    color: #334155;
    font-weight: 700;
}

.teacher-certification-page .cert-table-wrap .dashboard-table tbody tr {
    transition: background 0.15s ease;
}

.teacher-certification-page .cert-table-wrap .dashboard-table tbody tr:hover {
    background: rgba(62, 146, 204, 0.06);
}

.teacher-certification-page .cert-table-wrap .dashboard-table .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.teacher-certification-page .cert-table-wrap .dashboard-table .btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--light-blue) 0%, #2a7ab8 100%);
    box-shadow: 0 4px 10px rgba(62, 146, 204, 0.25);
    border: none;
}

.teacher-certification-page .cert-table-wrap .dashboard-table .btn-primary:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #2a7ab8 0%, var(--deep-space-blue) 100%);
    box-shadow: 0 6px 14px rgba(62, 146, 204, 0.35);
}

.teacher-certification-page .cert-table-wrap .dashboard-table .btn-secondary {
    color: var(--deep-space-blue);
    border: 1px solid rgba(62, 146, 204, 0.35);
    background: #fff;
}

.teacher-certification-page .cert-table-wrap .dashboard-table .btn-secondary:hover {
    transform: translateY(-1px);
    background: rgba(62, 146, 204, 0.08);
    border-color: rgba(62, 146, 204, 0.55);
}

.teacher-certification-page .cert-table-wrap .dashboard-table .btn-sm:focus-visible {
    outline: 2px solid #3e92cc;
    outline-offset: 2px;
}

.teacher-certification-page .lesson-library-empty.cert-empty {
    text-align: center;
    padding: 44px 24px;
    background: linear-gradient(145deg, rgba(248, 250, 252, 0.85) 0%, rgba(241, 245, 249, 0.65) 100%);
    border-radius: 12px;
    border: 1px dashed rgba(62, 146, 204, 0.22);
}

.teacher-certification-page .lesson-library-empty.cert-empty > p:first-child {
    margin: 0 0 18px;
    color: #94a3b8;
    font-size: 15px;
}

.teacher-certification-page .lesson-library-empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 0;
}

.teacher-certification-page .lesson-library-empty-actions .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.teacher-certification-page .lesson-library-empty-actions .btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #0a2463 0%, var(--deep-space-blue) 100%);
    box-shadow: 0 4px 12px rgba(10, 36, 99, 0.25);
    border: none;
}

.teacher-certification-page .lesson-library-empty-actions .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(10, 36, 99, 0.32);
}

.teacher-certification-page .lesson-library-empty-actions .btn-secondary {
    color: var(--deep-space-blue);
    background: #fff;
    border: 1px solid rgba(62, 146, 204, 0.38);
}

.teacher-certification-page .lesson-library-empty-actions .btn-secondary:hover {
    transform: translateY(-1px);
    background: rgba(62, 146, 204, 0.08);
}

.teacher-certification-page .create-class-modal .create-class-footer .mc-btn {
    min-height: 38px;
    padding: 8px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.teacher-certification-page .create-class-modal .create-class-footer .mc-btn:not(.mc-btn-primary) {
    color: var(--deep-space-blue);
    background: #fff;
    border: 1px solid rgba(62, 146, 204, 0.35);
}

.teacher-certification-page .create-class-modal .create-class-footer .mc-btn:not(.mc-btn-primary):hover {
    transform: translateY(-1px);
    background: rgba(62, 146, 204, 0.08);
}

.teacher-certification-page .create-class-modal .create-class-footer .mc-btn-primary {
    border: none;
    color: #fff;
    background: linear-gradient(135deg, var(--light-blue) 0%, #2a7ab8 100%);
    box-shadow: 0 4px 12px rgba(62, 146, 204, 0.28);
}

.teacher-certification-page .create-class-modal .create-class-footer .mc-btn-primary:hover {
    opacity: 1;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(62, 146, 204, 0.38);
}

.teacher-certification-page .cert-table-wrap .dashboard-table td:last-child {
    white-space: normal;
}

.teacher-certification-page .cert-type-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    border: 1px solid rgba(62, 146, 204, 0.18);
    background: rgba(62, 146, 204, 0.08);
    color: var(--deep-space-blue);
}

.teacher-certification-page .cert-type-tag.type-empower {
    border-color: rgba(13, 148, 136, 0.22);
    background: rgba(13, 148, 136, 0.08);
    color: #0d9488;
}

.teacher-certification-page .cert-type-tag.type-plan {
    border-color: rgba(245, 158, 11, 0.24);
    background: rgba(245, 158, 11, 0.08);
    color: #b45309;
}

.teacher-certification-page .cert-type-tag.type-training {
    border-color: rgba(99, 102, 241, 0.22);
    background: rgba(99, 102, 241, 0.08);
    color: #4338ca;
}

.teacher-certification-page .cert-summary {
    border-radius: 14px;
    border: 1px solid rgba(62, 146, 204, 0.16);
    background: linear-gradient(145deg, rgba(248, 250, 252, 0.96) 0%, rgba(241, 245, 249, 0.88) 100%);
    padding: 14px 16px;
}

.teacher-certification-page .cert-summary-pre {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 13px;
    line-height: 1.7;
    color: #0f172a;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.teacher-certification-page .cert-record-content,
.teacher-certification-page .beidou-submit-content {
    max-width: 760px;
}

.teacher-certification-page .cert-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.teacher-certification-page .cert-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.teacher-certification-page .cert-field-wide {
    grid-column: 1 / -1;
}

.teacher-certification-page .cert-label {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}

.teacher-certification-page .cert-input {
    border: 1px solid rgba(148, 163, 184, 0.45);
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 13px;
    font-family: inherit;
    outline: none;
    background: #fff;
}

.teacher-certification-page .cert-textarea {
    resize: vertical;
    min-height: 96px;
    line-height: 1.6;
}

.teacher-certification-page .cert-input:focus {
    border-color: rgba(62, 146, 204, 0.75);
    box-shadow: 0 0 0 3px rgba(62, 146, 204, 0.18);
}

.teacher-certification-page .cert-form-mode-hint {
    margin: 0 0 14px;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.55;
    color: #475569;
    background: rgba(62, 146, 204, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(62, 146, 204, 0.16);
}

.teacher-certification-page .cert-platform-detail {
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.22);
    font-size: 13px;
    line-height: 1.6;
    color: #334155;
}

.teacher-certification-page .cert-platform-detail-inner p {
    margin: 0 0 6px;
}

.teacher-certification-page .cert-platform-detail-inner p:last-child {
    margin-bottom: 0;
}

.teacher-certification-page .cert-training-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.teacher-certification-page .cert-upload-hint {
    margin: 0 0 8px;
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
}

.teacher-certification-page .cert-file-input {
    margin: 0;
    font-size: 13px;
    max-width: 100%;
}

.teacher-certification-page .cert-file-list {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
}

.teacher-certification-page .cert-file-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 8px 10px;
    margin-bottom: 6px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 8px;
    font-size: 13px;
}

.teacher-certification-page .cert-file-empty {
    color: #94a3b8;
    justify-content: center;
}

.teacher-certification-page .cert-file-name {
    flex: 1;
    min-width: 0;
    word-break: break-all;
    color: #0f172a;
}

.teacher-certification-page .cert-file-meta {
    font-size: 12px;
    color: #94a3b8;
}

.teacher-certification-page .cert-file-link {
    color: var(--light-blue);
    font-weight: 600;
    text-decoration: none;
}

.teacher-certification-page .cert-file-link:hover {
    text-decoration: underline;
}

.teacher-certification-page .cert-file-remove {
    margin-left: auto;
}

.teacher-certification-page .cert-submit-hint {
    margin: 0 0 12px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
}

.teacher-certification-page .cert-inline-code {
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 6px;
    background: rgba(62, 146, 204, 0.1);
    color: #0e4d8a;
    font-family: ui-monospace, Menlo, Monaco, Consolas, monospace;
}

.teacher-certification-page .cert-last-submit {
    margin: 8px 0 0;
    font-size: 13px;
    color: #334155;
    line-height: 1.5;
}

.teacher-certification-page .cert-last-submit.is-ok {
    color: #15803d;
}

.teacher-certification-page .cert-last-submit.is-warn {
    color: #b45309;
}

.teacher-certification-page .cert-last-submit.is-err {
    color: #b91c1c;
}

.teacher-certification-page .cert-beidou-submit-body {
    max-height: min(72vh, 640px);
    overflow-y: auto;
}

/* 北斗名师认证提交（内联区块，与学生北斗认证页结构一致） */
.teacher-certification-page .teacher-beidou-submit-card {
    border: 1px solid rgba(10, 36, 99, 0.1);
    border-left: 4px solid #22c55e;
    border-radius: 14px;
    background: linear-gradient(145deg, #f8fffc 0%, #f0fdf4 48%, #ecfdf5 100%);
    box-shadow: 0 4px 14px rgba(10, 36, 99, 0.06);
    padding: 22px 24px 24px;
}

.teacher-certification-page .teacher-beidou-submit-inline.cert-beidou-submit-body {
    max-height: none;
    overflow: visible;
}

.teacher-certification-page .teacher-beidou-submit-section .cert-beidou-record-list {
    max-height: min(420px, 52vh);
}

.teacher-certification-page .cert-submit-preview {
    margin-top: 4px;
}

.teacher-certification-page .teacher-beidou-api-hint {
    margin: 14px 0 0;
    padding: 10px 12px;
    font-size: 12px;
    line-height: 1.5;
    color: #64748b;
    font-family: ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    background: rgba(241, 245, 249, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 8px;
}

.teacher-certification-page .teacher-beidou-submit-section .cert-beidou-submit-row {
    flex-wrap: wrap;
    margin-top: 4px;
}

.teacher-certification-page .cert-beidou-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.teacher-certification-page .cert-beidou-record-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
    max-height: 220px;
    overflow-y: auto;
    padding: 4px 2px 8px;
}

.teacher-certification-page .cert-beidou-record-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.teacher-certification-page .cert-beidou-record-item:hover {
    border-color: rgba(62, 146, 204, 0.45);
    background: rgba(62, 146, 204, 0.04);
}

.teacher-certification-page .cert-beidou-record-item input {
    margin: 4px 0 0;
    accent-color: #22c55e;
    flex-shrink: 0;
}

.teacher-certification-page .cert-beidou-record-meta {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    line-height: 1.45;
    color: #1e293b;
}

.teacher-certification-page .cert-beidou-record-type {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 999px;
    margin-right: 6px;
    vertical-align: middle;
    background: rgba(62, 146, 204, 0.12);
    color: #0e4d8a;
}

.teacher-certification-page .cert-beidou-record-title {
    font-weight: 600;
    color: #0f172a;
}

.teacher-certification-page .cert-beidou-record-sub {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
}

.teacher-certification-page .cert-beidou-record-empty {
    padding: 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
    border: 1px dashed rgba(148, 163, 184, 0.35);
    border-radius: 10px;
}

.teacher-certification-page .cert-beidou-submit-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.teacher-certification-page .beidou-status {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.teacher-certification-page .beidou-status.pending {
    background: rgba(107, 114, 128, 0.15);
    color: #4b5563;
}

.teacher-certification-page .beidou-status.submitted {
    background: rgba(59, 130, 246, 0.15);
    color: #1d4ed8;
}

.teacher-certification-page .beidou-status.reviewing {
    background: rgba(245, 158, 11, 0.15);
    color: #b45309;
}

.teacher-certification-page .beidou-status.certified {
    background: rgba(34, 197, 94, 0.15);
    color: #15803d;
}

.teacher-certification-page .beidou-status.error {
    background: rgba(239, 68, 68, 0.15);
    color: #b91c1c;
}

.teacher-certification-page .cert-beidou-modal-footer.create-class-footer {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.teacher-certification-page .create-class-modal .create-class-footer .mc-btn-ghost {
    color: #41506a;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.55);
}

.teacher-certification-page .create-class-modal .create-class-footer .mc-btn-ghost:hover {
    background: rgba(148, 163, 184, 0.12);
}

.teacher-certification-page .create-class-modal .create-class-footer .mc-btn-primary:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.teacher-certification-page .cert-submit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.teacher-certification-page .cert-submit-card {
    background: #fff;
    border: 1px solid rgba(62, 146, 204, 0.14);
    border-radius: 12px;
    padding: 12px;
}

.teacher-certification-page .cert-submit-k {
    font-size: 12px;
    color: #64748b;
    font-weight: 700;
    margin-bottom: 6px;
}

.teacher-certification-page .cert-submit-v {
    font-size: 18px;
    font-weight: 900;
    color: var(--deep-space-blue);
}

@media (max-width: 720px) {
    .teacher-certification-page .cert-form-grid {
        grid-template-columns: 1fr;
    }
    .teacher-certification-page .cert-submit-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .teacher-shortcut-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .teacher-shortcut-grid {
        grid-template-columns: 1fr;
    }
}

/* 教师班级与任务页 - 对齐学生后台风格 */
.teacher-class-task-page .dashboard-main,
.teacher-ai-plan-page .dashboard-main,
.teacher-resource-library-page .dashboard-main,
.teacher-certification-page .dashboard-main {
    padding-top: 20px;
}

.teacher-class-task-page .dashboard-header,
.teacher-ai-plan-page .dashboard-header,
.teacher-resource-library-page .dashboard-header,
.teacher-certification-page .dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 18px;
    padding: 22px 24px;
    border-radius: 14px;
    border: 1px solid rgba(62, 146, 204, 0.14);
    border-left: 4px solid var(--light-blue);
    background: linear-gradient(135deg, rgba(62, 146, 204, 0.08) 0%, rgba(10, 36, 99, 0.04) 100%);
    box-shadow: 0 4px 14px rgba(10, 36, 99, 0.07);
}

.teacher-class-task-page .dashboard-header h1,
.teacher-ai-plan-page .dashboard-header h1,
.teacher-resource-library-page .dashboard-header h1,
.teacher-certification-page .dashboard-header h1 {
    margin: 0 0 6px;
    font-size: 24px;
    color: #0f2f66;
}

.teacher-class-task-page .dashboard-header .welcome,
.teacher-ai-plan-page .dashboard-header .welcome,
.teacher-resource-library-page .dashboard-header .welcome,
.teacher-certification-page .dashboard-header .welcome {
    margin: 0;
    font-size: 14px;
    color: #4f5f79;
    line-height: 1.6;
}

.teacher-class-task-page .dashboard-header .header-actions-wrap,
.teacher-ai-plan-page .dashboard-header .header-actions-wrap,
.teacher-resource-library-page .dashboard-header .header-actions-wrap,
.teacher-certification-page .dashboard-header .header-actions-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex-shrink: 0;
}

.teacher-class-task-page .dashboard-header .btn-sm,
.teacher-ai-plan-page .dashboard-header .btn-sm,
.teacher-resource-library-page .dashboard-header .btn-sm,
.teacher-certification-page .dashboard-header .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.2;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.teacher-class-task-page .dashboard-header .btn-secondary,
.teacher-ai-plan-page .dashboard-header .btn-secondary,
.teacher-resource-library-page .dashboard-header .btn-secondary,
.teacher-certification-page .dashboard-header .btn-secondary {
    color: #fff;
    background: linear-gradient(135deg, var(--light-blue) 0%, #2a7ab8 100%);
    box-shadow: 0 4px 12px rgba(62, 146, 204, 0.3);
}

.teacher-class-task-page .dashboard-header .btn-secondary:hover,
.teacher-ai-plan-page .dashboard-header .btn-secondary:hover,
.teacher-resource-library-page .dashboard-header .btn-secondary:hover,
.teacher-certification-page .dashboard-header .btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(62, 146, 204, 0.38);
}

.teacher-class-task-page .dashboard-header .btn-primary,
.teacher-ai-plan-page .dashboard-header .btn-primary,
.teacher-resource-library-page .dashboard-header .btn-primary,
.teacher-certification-page .dashboard-header .btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #0a2463 0%, var(--deep-space-blue) 100%);
    box-shadow: 0 4px 12px rgba(10, 36, 99, 0.25);
}

.teacher-class-task-page .dashboard-header .btn-primary:hover,
.teacher-ai-plan-page .dashboard-header .btn-primary:hover,
.teacher-resource-library-page .dashboard-header .btn-primary:hover,
.teacher-certification-page .dashboard-header .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(10, 36, 99, 0.35);
}

.teacher-class-task-page .dashboard-header .btn-sm:focus-visible,
.teacher-ai-plan-page .dashboard-header .btn-sm:focus-visible,
.teacher-resource-library-page .dashboard-header .btn-sm:focus-visible,
.teacher-certification-page .dashboard-header .btn-sm:focus-visible {
    outline: 2px solid #3e92cc;
    outline-offset: 2px;
}

.teacher-class-task-page .my-overview-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
    padding: 20px 24px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(248, 250, 252, 0.95) 0%, rgba(241, 245, 249, 0.9) 100%);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.teacher-class-task-page .my-overview-card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(10, 36, 99, 0.1);
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 4px 14px rgba(10, 36, 99, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.teacher-class-task-page .my-overview-card.card-accent-amber {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.12) 0%, rgba(254, 243, 199, 0.6) 100%);
    border-color: rgba(251, 191, 36, 0.25);
}

.teacher-class-task-page .my-overview-card.card-accent-green {
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.1) 0%, rgba(187, 247, 208, 0.5) 100%);
    border-color: rgba(72, 187, 120, 0.22);
}

.teacher-class-task-page .my-overview-card.card-accent-blue {
    background: linear-gradient(135deg, rgba(62, 146, 204, 0.1) 0%, rgba(191, 219, 254, 0.5) 100%);
    border-color: rgba(62, 146, 204, 0.22);
}

.teacher-class-task-page .my-overview-card.card-accent-violet {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(233, 213, 255, 0.5) 100%);
    border-color: rgba(139, 92, 246, 0.2);
}

.teacher-class-task-page .my-overview-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.teacher-class-task-page .my-overview-card .label {
    margin: 0 0 10px 0;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
}

.teacher-class-task-page .my-overview-card .value {
    margin: 0;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 700;
}

.teacher-class-task-page .my-overview-card.card-accent-amber .value { color: #b45309; }
.teacher-class-task-page .my-overview-card.card-accent-green .value { color: #2f855a; }
.teacher-class-task-page .my-overview-card.card-accent-blue .value { color: #0e4d8a; }
.teacher-class-task-page .my-overview-card.card-accent-violet .value { color: #5b21b6; }

.teacher-class-task-page .course-section,
.teacher-ai-plan-page .course-section,
.teacher-resource-library-page .course-section,
.teacher-certification-page .course-section {
    border: 1px solid rgba(10, 36, 99, 0.1);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(10, 36, 99, 0.06);
    margin-bottom: 24px;
    overflow: hidden;
}

.teacher-class-task-page .course-section.learning-section,
.teacher-ai-plan-page .course-section.learning-section,
.teacher-resource-library-page .course-section.learning-section,
.teacher-certification-page .course-section.learning-section {
    border-left: 4px solid #3e92cc;
}

.teacher-class-task-page .course-section .course-section-header,
.teacher-ai-plan-page .course-section .course-section-header,
.teacher-resource-library-page .course-section .course-section-header,
.teacher-certification-page .course-section .course-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: rgba(62, 146, 204, 0.06);
    border-bottom: 1px solid rgba(62, 146, 204, 0.12);
}

.teacher-certification-page .course-section .course-section-header.cert-section-header {
    align-items: flex-start;
}

.teacher-class-task-page .class-list-header {
    flex-wrap: wrap;
    gap: 12px;
}

.teacher-class-task-page .class-list-header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.class-status-tabs {
    display: flex;
    gap: 4px;
}

.class-status-tab {
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(62, 146, 204, 0.25);
    background: #fff;
    color: #4f5f79;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.class-status-tab:hover {
    border-color: #3e92cc;
    color: #0a2463;
}

.class-status-tab.active {
    background: linear-gradient(135deg, rgba(62, 146, 204, 0.2) 0%, rgba(10, 36, 99, 0.1) 100%);
    border-color: #3e92cc;
    color: #0a2463;
}

.teacher-class-task-page .course-section .course-section-header h2,
.teacher-ai-plan-page .course-section .course-section-header h2,
.teacher-resource-library-page .course-section .course-section-header h2,
.teacher-certification-page .course-section .course-section-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #0e4d8a;
}

.teacher-class-task-page .course-section .section-count,
.teacher-ai-plan-page .course-section .section-count,
.teacher-resource-library-page .course-section .section-count {
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    height: 26px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #0e4d8a;
    background: rgba(62, 146, 204, 0.15);
}

.teacher-class-task-page .course-section .section-inner,
.teacher-ai-plan-page .course-section .section-inner,
.teacher-resource-library-page .course-section .section-inner,
.teacher-certification-page .course-section .section-inner {
    padding: 20px 24px 24px;
}

.teacher-class-task-page .course-section .section-desc {
    margin: 0 0 16px;
    font-size: 14px;
    color: #4f5f79;
    line-height: 1.6;
}

.teacher-class-task-page .course-section .dashboard-table-wrap,
.teacher-resource-library-page .course-section .dashboard-table-wrap,
.teacher-certification-page .cert-table-wrap {
    margin: 0;
    border-radius: 10px;
    border: 1px solid rgba(10, 36, 99, 0.08);
    overflow: hidden;
}

.teacher-class-task-page .course-section .dashboard-table,
.teacher-resource-library-page .course-section .dashboard-table,
.teacher-certification-page .cert-table-wrap .dashboard-table {
    margin: 0;
}

/* 班级列表按钮 - 对齐学生后台样式 */
.teacher-class-task-page .class-list-section .dashboard-table .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 16px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}

.teacher-class-task-page .class-list-section .dashboard-table .btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--light-blue) 0%, #2a7ab8 100%);
    box-shadow: 0 4px 10px rgba(62, 146, 204, 0.25);
}

.teacher-class-task-page .class-list-section .dashboard-table .btn-primary:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #2a7ab8 0%, var(--deep-space-blue) 100%);
    box-shadow: 0 6px 14px rgba(62, 146, 204, 0.35);
}

.teacher-class-task-page .class-list-section .dashboard-table .btn-secondary {
    color: var(--deep-space-blue);
    border: 1px solid rgba(62, 146, 204, 0.35);
    background: #fff;
}

.teacher-class-task-page .class-list-section .dashboard-table .btn-secondary:hover {
    transform: translateY(-1px);
    background: rgba(62, 146, 204, 0.08);
    border-color: rgba(62, 146, 204, 0.55);
}

.teacher-class-task-page .course-section .task-list,
.teacher-ai-plan-page .course-section .task-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.teacher-class-task-page .course-section .task-item,
.teacher-ai-plan-page .course-section .task-item {
    background: #f8fbff;
    border-radius: 12px;
    padding: 18px 22px;
    border: 1px solid rgba(62, 146, 204, 0.12);
    box-shadow: 0 2px 10px rgba(10, 36, 99, 0.04);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.teacher-class-task-page .course-section .task-item:hover,
.teacher-ai-plan-page .course-section .task-item:hover {
    border-color: rgba(62, 146, 204, 0.25);
    box-shadow: 0 4px 16px rgba(62, 146, 204, 0.08);
}

.teacher-class-task-page .course-section .task-item .task-title,
.teacher-ai-plan-page .course-section .task-item .task-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--deep-space-blue);
    margin-bottom: 6px;
}

.teacher-class-task-page .course-section .task-item .task-meta,
.teacher-ai-plan-page .course-section .task-item .task-meta {
    font-size: 13px;
    color: #64748b;
}

.teacher-class-task-page .course-section .task-item .btn-sm,
.teacher-ai-plan-page .course-section .task-item .btn-sm {
    padding: 8px 16px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.2;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}

.teacher-class-task-page .course-section .task-item .btn-primary,
.teacher-ai-plan-page .course-section .task-item .btn-primary {
    background: linear-gradient(135deg, var(--light-blue) 0%, #2a7ab8 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 10px rgba(62, 146, 204, 0.22);
}

.teacher-class-task-page .course-section .task-item .btn-primary:hover,
.teacher-ai-plan-page .course-section .task-item .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(62, 146, 204, 0.32);
}

.teacher-class-task-page .course-section .task-item .btn-secondary,
.teacher-ai-plan-page .course-section .task-item .btn-secondary {
    background: #fff;
    color: var(--deep-space-blue);
    border: 1px solid rgba(62, 146, 204, 0.38);
}

.teacher-class-task-page .course-section .task-item .btn-secondary:hover,
.teacher-ai-plan-page .course-section .task-item .btn-secondary:hover {
    background: rgba(62, 146, 204, 0.08);
    border-color: rgba(62, 146, 204, 0.55);
    transform: translateY(-1px);
}

.teacher-class-task-page .course-section .task-item .btn-sm:focus-visible,
.teacher-ai-plan-page .course-section .task-item .btn-sm:focus-visible {
    outline: 2px solid #3e92cc;
    outline-offset: 2px;
}

.teacher-ai-plan-page .ai-plan-section-hint {
    margin: 0 0 18px;
    font-size: 13px;
    line-height: 1.65;
    color: #64748b;
}

.teacher-ai-plan-page .ai-draft-empty {
    padding: 40px 24px;
    text-align: center;
    background: linear-gradient(145deg, rgba(248, 250, 252, 0.8) 0%, rgba(241, 245, 249, 0.6) 100%);
    border-radius: 10px;
    border: 1px dashed rgba(62, 146, 204, 0.2);
}

.teacher-ai-plan-page .ai-draft-empty p {
    margin: 0;
    color: #94a3b8;
    font-size: 14px;
}

.teacher-ai-plan-page .task-title .ai-draft-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 6px;
    vertical-align: middle;
}

.teacher-ai-plan-page .ai-draft-badge--lib {
    color: #15803d;
    background: rgba(34, 197, 94, 0.15);
}

.teacher-ai-plan-page .create-class-content.ai-plan-modal-wide {
    max-width: 720px;
}

.teacher-ai-plan-page .ai-plan-preview-pre {
    margin: 0;
    padding: 14px;
    max-height: min(60vh, 420px);
    overflow: auto;
    font-size: 13px;
    line-height: 1.65;
    white-space: pre-wrap;
    word-break: break-word;
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 10px;
    color: #334155;
}

.teacher-resource-library-page .lesson-lib-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    padding: 4px 0;
    border-bottom: 1px solid rgba(10, 36, 99, 0.08);
}

.teacher-resource-library-page .lesson-lib-tab {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 10px 10px 0 0;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.2s, background 0.2s;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.teacher-resource-library-page .lesson-lib-tab:hover {
    color: #0a2463;
    background: rgba(62, 146, 204, 0.06);
}

.teacher-resource-library-page .lesson-lib-tab.active {
    color: #0a2463;
    background: rgba(62, 146, 204, 0.1);
    border-bottom-color: #3e92cc;
}

.teacher-resource-library-page .lesson-fw-detail-content {
    max-width: 640px;
}

.teacher-resource-library-page .lesson-fw-detail-meta {
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
}

.teacher-resource-library-page .lesson-fw-detail-meta p {
    margin: 0 0 8px;
}

.teacher-resource-library-page .lesson-fw-shared-tag {
    color: #0d9488;
}

.teacher-resource-library-page .lesson-fw-detail-hint {
    font-size: 13px;
    color: #64748b;
}

.teacher-resource-library-page .lesson-fw-phase-ol {
    margin: 0;
    padding-left: 1.25em;
    font-size: 14px;
    color: #0f2f66;
}

.teacher-resource-library-page .lesson-fw-phase-ol li {
    margin-bottom: 12px;
}

.teacher-resource-library-page .lesson-fw-phase-head {
    font-weight: 600;
}

.teacher-resource-library-page .lesson-fw-phase-obj {
    margin-top: 4px;
    font-weight: 400;
    color: #64748b;
    font-size: 13px;
}

.teacher-resource-library-page .lesson-plan-detail-meta {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
}

.teacher-resource-library-page .lesson-plan-detail-meta p {
    margin: 0 0 8px;
}

.teacher-resource-library-page .lesson-plan-pre {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 13px;
    line-height: 1.7;
    color: #0f172a;
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 10px;
    padding: 14px 16px;
}

.teacher-resource-library-page .lesson-plan-detail-content {
    max-width: 820px;
}

.teacher-resource-library-page .lesson-plan-detail-section {
    margin-bottom: 20px;
}

.teacher-resource-library-page .lesson-plan-detail-section:last-child {
    margin-bottom: 0;
}

.teacher-resource-library-page .lesson-plan-detail-h3 {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--deep-space-blue, #0a2463);
}

.teacher-resource-library-page .lesson-plan-course-desc {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.65;
    color: #475569;
}

.teacher-resource-library-page .lesson-plan-pbl-phases {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.teacher-resource-library-page .lesson-pbl-phase-block {
    padding: 12px 14px;
    background: #f8fbff;
    border-radius: 10px;
    border: 1px solid rgba(62, 146, 204, 0.14);
    font-size: 13px;
    line-height: 1.55;
    color: #334155;
}

.teacher-resource-library-page .lesson-pbl-phase-title {
    font-weight: 600;
    color: var(--deep-space-blue, #0a2463);
    margin-bottom: 6px;
}

.teacher-resource-library-page .lesson-pbl-phase-code {
    display: inline-block;
    margin-left: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(148, 163, 184, 0.2);
}

.teacher-resource-library-page .lesson-pbl-objective {
    margin-bottom: 8px;
    color: #64748b;
}

.teacher-resource-library-page .lesson-pbl-tasks {
    margin: 4px 0 0;
    padding-left: 1.25em;
    color: #64748b;
}

.teacher-resource-library-page .lesson-pbl-prompts {
    margin-top: 8px;
}

.teacher-resource-library-page .lesson-pbl-mentor {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed rgba(62, 146, 204, 0.2);
    color: #475569;
}

.teacher-resource-library-page .lesson-plan-body-missing {
    margin-top: 12px;
    margin-bottom: 0;
}

.teacher-resource-library-page .lesson-wizard-overview-hint {
    margin: 0 0 14px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.55;
}

.teacher-resource-library-page .lesson-wizard-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.teacher-resource-library-page .lesson-wizard-step-card {
    padding: 12px 14px;
    background: #fff;
    border: 1px solid rgba(62, 146, 204, 0.18);
    border-radius: 10px;
    border-left: 4px solid rgba(62, 146, 204, 0.55);
}

.teacher-resource-library-page .lesson-wizard-step-head {
    font-weight: 600;
    font-size: 14px;
    color: var(--deep-space-blue, #0a2463);
    margin-bottom: 8px;
}

.teacher-resource-library-page .lesson-wizard-step-count {
    margin: 0 0 8px;
    font-size: 13px;
    color: #475569;
}

.teacher-resource-library-page .lesson-wizard-step-ul {
    margin: 0;
    padding-left: 1.2em;
    font-size: 13px;
    line-height: 1.65;
    color: #334155;
}

.teacher-resource-library-page .lesson-wizard-step-ul li {
    margin-bottom: 4px;
}

.teacher-resource-library-page .lesson-wizard-item-meta {
    font-size: 12px;
    color: #64748b;
    font-weight: 400;
}

.teacher-resource-library-page .lesson-wizard-desc {
    display: block;
    margin-top: 4px;
    white-space: pre-wrap;
    word-break: break-word;
    font-weight: 400;
    color: #475569;
}

.teacher-resource-library-page .lesson-wizard-more {
    color: #94a3b8;
    font-style: italic;
    list-style: none;
    margin-left: -1em;
}

.teacher-resource-library-page .lesson-wizard-meta-id {
    font-size: 12px;
    color: #64748b;
}

.teacher-resource-library-page .lesson-pbl-linked {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed rgba(148, 163, 184, 0.45);
    font-size: 13px;
    color: #475569;
}

.teacher-resource-library-page .shared-comment-content {
    max-width: 720px;
}

.teacher-resource-library-page .shared-comment-meta {
    margin-bottom: 12px;
    font-size: 13px;
    color: #475569;
}

.teacher-resource-library-page .shared-comment-target-id {
    color: #64748b;
    font-size: 12px;
}

.teacher-resource-library-page .shared-comment-ul {
    margin: 0 0 14px;
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.teacher-resource-library-page .shared-comment-li {
    border: 1px solid rgba(62, 146, 204, 0.14);
    border-radius: 10px;
    background: #fff;
    padding: 10px 12px;
}

.teacher-resource-library-page .shared-comment-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
    font-size: 13px;
    color: var(--deep-space-blue, #0a2463);
}

.teacher-resource-library-page .shared-comment-at {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 400;
    white-space: nowrap;
}

.teacher-resource-library-page .shared-comment-text {
    font-size: 13px;
    line-height: 1.6;
    color: #334155;
    white-space: pre-wrap;
    word-break: break-word;
}

.teacher-resource-library-page .shared-comment-editor {
    border-top: 1px dashed rgba(62, 146, 204, 0.18);
    padding-top: 12px;
}

.teacher-resource-library-page .shared-comment-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

.teacher-resource-library-page .shared-comment-input {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.45);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.6;
    font-family: inherit;
    outline: none;
    resize: vertical;
    min-height: 90px;
}

.teacher-resource-library-page .shared-comment-input:focus {
    border-color: rgba(62, 146, 204, 0.75);
    box-shadow: 0 0 0 3px rgba(62, 146, 204, 0.18);
}

.teacher-resource-library-page .shared-comment-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 10px;
    flex-wrap: wrap;
}

.teacher-resource-library-page .shared-comment-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
}

.teacher-resource-library-page .shared-comment-replybtn {
    border: 1px solid rgba(62, 146, 204, 0.35);
    background: rgba(62, 146, 204, 0.06);
    color: var(--deep-space-blue, #0a2463);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.teacher-resource-library-page .shared-comment-replybtn:hover {
    background: rgba(62, 146, 204, 0.12);
}

.teacher-resource-library-page .shared-comment-replycount {
    font-size: 12px;
    color: #94a3b8;
}

.teacher-resource-library-page .shared-reply-ul {
    margin: 10px 0 0;
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.teacher-resource-library-page .shared-reply-li {
    margin-left: 14px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(248, 250, 252, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.28);
}

.teacher-resource-library-page .shared-reply-head {
    color: #334155;
}

.teacher-resource-library-page .shared-reply-text {
    color: #475569;
}

.teacher-resource-library-page .shared-comment-replybar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(62, 146, 204, 0.08);
    border: 1px dashed rgba(62, 146, 204, 0.28);
    margin-bottom: 10px;
    font-size: 13px;
    color: #334155;
}

.teacher-resource-library-page .shared-comment-replycancel {
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 8px;
}

.teacher-resource-library-page .shared-comment-replycancel:hover {
    color: var(--deep-space-blue, #0a2463);
}

.teacher-resource-library-page .teacher-library-section-header {
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
}

.teacher-resource-library-page .teacher-library-header-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
    flex: 1;
}

.teacher-resource-library-page .teacher-library-header-hint {
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    color: #64748b;
    line-height: 1.55;
    max-width: 560px;
}

.teacher-resource-library-page .teacher-library-section .dashboard-table th,
.teacher-resource-library-page .teacher-library-section .dashboard-table td {
    vertical-align: middle;
}

.teacher-resource-library-page .teacher-library-section .dashboard-table td:last-child {
    white-space: nowrap;
}

.teacher-resource-library-page .teacher-library-section .dashboard-table td.lib-actions-cell {
    white-space: normal;
    max-width: 360px;
}

.teacher-resource-library-page .teacher-library-section .dashboard-table td.lib-actions-cell .btn-sm {
    margin-bottom: 6px;
}

.teacher-resource-library-page .teacher-library-section .dashboard-table .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 16px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.2;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.teacher-resource-library-page .teacher-library-section .dashboard-table .btn-sm + .btn-sm {
    margin-left: 6px;
}

.teacher-resource-library-page .teacher-library-section .dashboard-table .btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--light-blue) 0%, #2a7ab8 100%);
    box-shadow: 0 4px 10px rgba(62, 146, 204, 0.25);
}

.teacher-resource-library-page .teacher-library-section .dashboard-table .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(62, 146, 204, 0.35);
}

.teacher-resource-library-page .teacher-library-section .dashboard-table .btn-secondary {
    color: var(--deep-space-blue);
    border: 1px solid rgba(62, 146, 204, 0.35);
    background: #fff;
}

.teacher-resource-library-page .teacher-library-section .dashboard-table .btn-secondary:hover {
    transform: translateY(-1px);
    background: rgba(62, 146, 204, 0.08);
    border-color: rgba(62, 146, 204, 0.55);
}

.teacher-resource-library-page .teacher-library-section .dashboard-table .btn-sm:focus-visible {
    outline: 2px solid #3e92cc;
    outline-offset: 2px;
}

.teacher-resource-library-page .lesson-library-empty {
    text-align: center;
    padding: 44px 24px;
    background: linear-gradient(145deg, rgba(248, 250, 252, 0.85) 0%, rgba(241, 245, 249, 0.65) 100%);
    border-radius: 10px;
    border: 1px dashed rgba(62, 146, 204, 0.22);
}

.teacher-resource-library-page .lesson-library-empty > p:first-child {
    margin: 0 0 18px;
    color: #94a3b8;
    font-size: 15px;
}

.teacher-resource-library-page .lesson-library-empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 0;
}

.teacher-resource-library-page .lesson-library-empty-actions .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.teacher-resource-library-page .lesson-library-empty-actions .btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #0a2463 0%, var(--deep-space-blue) 100%);
    box-shadow: 0 4px 12px rgba(10, 36, 99, 0.25);
    border: none;
}

.teacher-resource-library-page .lesson-library-empty-actions .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(10, 36, 99, 0.32);
}

.teacher-resource-library-page .lesson-library-empty-actions .btn-secondary {
    color: var(--deep-space-blue);
    background: #fff;
    border: 1px solid rgba(62, 146, 204, 0.38);
}

.teacher-resource-library-page .lesson-library-empty-actions .btn-secondary:hover {
    transform: translateY(-1px);
    background: rgba(62, 146, 204, 0.08);
}

.teacher-resource-library-page .create-class-modal .create-class-footer .mc-btn {
    min-height: 38px;
    padding: 8px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
}

.teacher-resource-library-page .create-class-modal .create-class-footer .mc-btn-primary {
    border: none;
    color: #fff;
    background: linear-gradient(135deg, var(--light-blue) 0%, #2a7ab8 100%);
    box-shadow: 0 4px 12px rgba(62, 146, 204, 0.28);
}

.teacher-resource-library-page .create-class-modal .create-class-footer .mc-btn-primary:hover {
    opacity: 1;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(62, 146, 204, 0.38);
}

.teacher-resource-library-page .lib-version-ul {
    margin: 0;
    padding-left: 20px;
    font-size: 14px;
    line-height: 1.8;
    color: #334155;
}

.teacher-resource-library-page .lib-version-empty {
    margin: 0;
    color: #94a3b8;
    font-size: 14px;
}

@media (max-width: 768px) {
    .teacher-class-task-page .dashboard-header,
    .teacher-ai-plan-page .dashboard-header,
    .teacher-resource-library-page .dashboard-header,
    .teacher-certification-page .dashboard-header {
        flex-direction: column;
        align-items: stretch;
    }
    .teacher-class-task-page .dashboard-header .header-actions-wrap,
    .teacher-ai-plan-page .dashboard-header .header-actions-wrap,
    .teacher-resource-library-page .dashboard-header .header-actions-wrap,
    .teacher-certification-page .dashboard-header .header-actions-wrap {
        justify-content: flex-start;
    }
    .teacher-class-task-page .my-overview-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .teacher-dual-teacher-page .dashboard-header {
        flex-direction: column;
        align-items: stretch;
    }
    .teacher-dual-teacher-page .dashboard-header .header-actions-wrap {
        justify-content: flex-start;
    }
    .teacher-dual-teacher-page .dual-booking-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .teacher-dual-teacher-page .dual-booking-header-left {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .teacher-class-task-page .my-overview-cards {
        grid-template-columns: 1fr;
    }
    .teacher-dual-teacher-page .my-overview-cards {
        grid-template-columns: 1fr;
    }
}

/* 预约交流页 - 统一风格 */
.teacher-dual-teacher-page .dashboard-main {
    padding-top: 20px;
}

.teacher-dual-teacher-page .dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 18px;
    padding: 22px 24px;
    border-radius: 14px;
    border: 1px solid rgba(62, 146, 204, 0.14);
    border-left: 4px solid var(--light-blue);
    background: linear-gradient(135deg, rgba(62, 146, 204, 0.08) 0%, rgba(10, 36, 99, 0.04) 100%);
    box-shadow: 0 4px 14px rgba(10, 36, 99, 0.07);
}

.teacher-dual-teacher-page .dashboard-header h1 {
    margin: 0 0 6px;
    font-size: 24px;
    color: #0f2f66;
}

.teacher-dual-teacher-page .dashboard-header .welcome {
    margin: 0;
    font-size: 14px;
    color: #4f5f79;
    line-height: 1.6;
}

.teacher-dual-teacher-page .dashboard-header .header-actions-wrap {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.teacher-dual-teacher-page .dashboard-header .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.2;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.teacher-dual-teacher-page .dashboard-header .btn-secondary {
    color: #fff;
    background: linear-gradient(135deg, var(--light-blue) 0%, #2a7ab8 100%);
    box-shadow: 0 4px 12px rgba(62, 146, 204, 0.3);
}

.teacher-dual-teacher-page .dashboard-header .btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(62, 146, 204, 0.38);
}

.teacher-dual-teacher-page .dashboard-header .btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #0a2463 0%, var(--deep-space-blue) 100%);
    box-shadow: 0 4px 12px rgba(10, 36, 99, 0.25);
}

.teacher-dual-teacher-page .dashboard-header .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(10, 36, 99, 0.35);
}

.teacher-dual-teacher-page .dashboard-header .btn-sm:focus-visible,
.teacher-dual-teacher-page .dual-booking-section .btn-sm:focus-visible,
.teacher-dual-teacher-page .dual-booking-empty .btn-sm:focus-visible,
.teacher-dual-teacher-page .booking-exchange-main-tab:focus-visible,
.teacher-dual-teacher-page .dual-booking-tab:focus-visible,
.teacher-dual-teacher-page .create-class-modal .mc-btn:focus-visible,
.teacher-dual-teacher-page .exchange-session-card .btn-sm:focus-visible,
.teacher-dual-teacher-page .exchange-room-action-btn:focus-visible,
.teacher-dual-teacher-page .exchange-room-col--chat .btn-sm:focus-visible {
    outline: 2px solid #3e92cc;
    outline-offset: 2px;
}

.teacher-dual-teacher-page .my-overview-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
    padding: 20px 24px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(248, 250, 252, 0.95) 0%, rgba(241, 245, 249, 0.9) 100%);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.teacher-dual-teacher-page .my-overview-card {
    background: #fff;
    border-radius: 14px;
    padding: 18px 20px;
    border: 1px solid rgba(10, 36, 99, 0.1);
    box-shadow: 0 4px 14px rgba(10, 36, 99, 0.06);
}

/* 预约列表区块 - 与班级与任务页统一 */
.teacher-dual-teacher-page .dual-booking-section.course-section {
    border: 1px solid rgba(10, 36, 99, 0.1);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(10, 36, 99, 0.06);
    margin-bottom: 24px;
    overflow: hidden;
}

.teacher-dual-teacher-page .dual-booking-section.course-section.learning-section {
    border-left: 4px solid #3e92cc;
}

.teacher-dual-teacher-page .dual-booking-section .course-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: rgba(62, 146, 204, 0.06);
    border-bottom: 1px solid rgba(62, 146, 204, 0.12);
}

.teacher-dual-teacher-page .dual-booking-header {
    flex-wrap: wrap;
    gap: 12px;
}

.teacher-dual-teacher-page .dual-booking-header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.teacher-dual-teacher-page .dual-booking-section .course-section-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #0e4d8a;
}

.teacher-dual-teacher-page .dual-booking-section .section-count {
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    height: 26px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #0e4d8a;
    background: rgba(62, 146, 204, 0.15);
}

/* 区块标题栏主操作：与表格内主按钮（浅蓝渐变）一致 */
.teacher-dual-teacher-page .dual-booking-section .course-section-header .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 16px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.2;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}

.teacher-dual-teacher-page .dual-booking-section .course-section-header .btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--light-blue) 0%, #2a7ab8 100%);
    box-shadow: 0 4px 10px rgba(62, 146, 204, 0.25);
}

.teacher-dual-teacher-page .dual-booking-section .course-section-header .btn-primary:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #2a7ab8 0%, var(--deep-space-blue) 100%);
    box-shadow: 0 6px 14px rgba(62, 146, 204, 0.35);
}

.teacher-dual-teacher-page .dual-booking-section .section-inner {
    padding: 20px 24px 24px;
}

.teacher-dual-teacher-page .dual-booking-section .dashboard-table-wrap {
    margin: 0;
    border-radius: 10px;
    border: 1px solid rgba(10, 36, 99, 0.08);
    overflow: hidden;
}

.teacher-dual-teacher-page .dual-booking-section .dashboard-table {
    margin: 0;
}

.teacher-dual-teacher-page .dual-booking-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.teacher-dual-teacher-page .dual-booking-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.2;
    border: 1px solid rgba(62, 146, 204, 0.28);
    background: #fff;
    color: #4f5f79;
    border-radius: 9px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.teacher-dual-teacher-page .dual-booking-tab:hover {
    border-color: #3e92cc;
    color: #0a2463;
    box-shadow: 0 2px 8px rgba(62, 146, 204, 0.12);
}

.teacher-dual-teacher-page .dual-booking-tab.active {
    background: linear-gradient(135deg, rgba(62, 146, 204, 0.22) 0%, rgba(10, 36, 99, 0.1) 100%);
    border-color: #3e92cc;
    color: #0a2463;
    box-shadow: 0 2px 10px rgba(62, 146, 204, 0.15);
}

/* 预约列表表格按钮 - 与班级列表统一 */
.teacher-dual-teacher-page .dual-booking-section .dashboard-table .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 16px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.2;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}

.teacher-dual-teacher-page .dual-booking-section .dashboard-table .btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--light-blue) 0%, #2a7ab8 100%);
    box-shadow: 0 4px 10px rgba(62, 146, 204, 0.25);
}

.teacher-dual-teacher-page .dual-booking-section .dashboard-table .btn-primary:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #2a7ab8 0%, var(--deep-space-blue) 100%);
    box-shadow: 0 6px 14px rgba(62, 146, 204, 0.35);
}

.teacher-dual-teacher-page .dual-booking-section .dashboard-table .btn-secondary {
    color: var(--deep-space-blue);
    border: 1px solid rgba(62, 146, 204, 0.35);
    background: #fff;
}

.teacher-dual-teacher-page .dual-booking-section .dashboard-table .btn-secondary:hover {
    transform: translateY(-1px);
    background: rgba(62, 146, 204, 0.08);
    border-color: rgba(62, 146, 204, 0.55);
}

.teacher-dual-teacher-page .dual-booking-section .dashboard-table .btn-slot-del {
    color: #b91c1c;
    border-color: rgba(220, 38, 38, 0.32);
    background: #fff;
}

.teacher-dual-teacher-page .dual-booking-section .dashboard-table .btn-slot-del:hover {
    color: #991b1b;
    background: rgba(220, 38, 38, 0.08);
    border-color: rgba(185, 28, 28, 0.48);
}

.teacher-dual-teacher-page .dual-booking-section .booking-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.teacher-dual-teacher-page .dual-booking-section .booking-actions-cell {
    white-space: nowrap;
}

.booking-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.booking-status-badge.booking-status-pending {
    background: rgba(245, 158, 11, 0.15);
    color: #b45309;
}

.booking-status-badge.booking-status-confirmed {
    background: rgba(34, 197, 94, 0.15);
    color: #15803d;
}

.booking-status-badge.booking-status-cancelled {
    background: rgba(148, 163, 184, 0.2);
    color: #64748b;
}

.teacher-dual-teacher-page .dual-booking-empty {
    padding: 48px 24px;
    text-align: center;
    background: linear-gradient(145deg, rgba(248, 250, 252, 0.8) 0%, rgba(241, 245, 249, 0.6) 100%);
    border-radius: 10px;
    border: 1px dashed rgba(62, 146, 204, 0.2);
}

.teacher-dual-teacher-page .dual-booking-empty .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.2;
    border: none;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #0a2463 0%, var(--deep-space-blue) 100%);
    box-shadow: 0 4px 12px rgba(10, 36, 99, 0.25);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.teacher-dual-teacher-page .dual-booking-empty .btn-sm:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(10, 36, 99, 0.35);
}

.teacher-dual-teacher-page .dual-booking-empty p {
    margin: 0 0 16px;
    color: #94a3b8;
    font-size: 15px;
}

.teacher-dual-teacher-page .my-overview-card.card-accent-slate {
    border-top: 3px solid #64748b;
}

.teacher-dual-teacher-page .my-overview-card.card-accent-slate .value {
    color: #475569;
}

.teacher-dual-teacher-page .booking-exchange-main-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    padding: 5px;
    background: rgba(62, 146, 204, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(62, 146, 204, 0.15);
}

.teacher-dual-teacher-page .booking-exchange-main-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.2;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: #4f5f79;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.teacher-dual-teacher-page .booking-exchange-main-tab:hover {
    color: #0a2463;
    background: rgba(255, 255, 255, 0.65);
}

.teacher-dual-teacher-page .booking-exchange-main-tab.active {
    color: #fff;
    background: linear-gradient(135deg, var(--light-blue) 0%, #2a7ab8 100%);
    box-shadow: 0 4px 12px rgba(62, 146, 204, 0.35);
}

.teacher-dual-teacher-page .booking-exchange-section-head .dual-booking-header-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.booking-exchange-panel-hint {
    margin: 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    font-weight: 400;
}

.slot-type-tag {
    display: inline-block;
    padding: 2px 8px;
    margin-right: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #0e4d8a;
    background: rgba(62, 146, 204, 0.15);
    border-radius: 6px;
}

.booking-source-tag {
    display: inline-block;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 6px;
}

.booking-source-student {
    color: #0369a1;
    background: rgba(14, 165, 233, 0.15);
}

.booking-source-teacher {
    color: #6d28d9;
    background: rgba(139, 92, 246, 0.15);
}

.exchange-session-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.exchange-session-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 18px 20px;
    border-radius: 12px;
    border: 1px solid rgba(62, 146, 204, 0.18);
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, #fff 100%);
    box-shadow: 0 2px 10px rgba(10, 36, 99, 0.05);
}

.exchange-session-card h4 {
    margin: 0 0 6px;
    font-size: 16px;
    color: #0f2f66;
}

.exchange-session-meta {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

.exchange-session-topic {
    margin: 8px 0 0;
    font-size: 13px;
    color: #334155;
}

.teacher-dual-teacher-page .exchange-session-card .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 18px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.2;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.teacher-dual-teacher-page .exchange-session-card .btn-sm.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--light-blue) 0%, #2a7ab8 100%);
    box-shadow: 0 4px 10px rgba(62, 146, 204, 0.25);
}

.teacher-dual-teacher-page .exchange-session-card .btn-sm.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(62, 146, 204, 0.35);
}

/* 本页模态底部：与页内按钮圆角、配色体系统一（覆盖全局 mc-btn 胶囊形） */
.teacher-dual-teacher-page .create-class-modal .create-class-footer .mc-btn {
    min-height: 38px;
    padding: 8px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s;
}

.teacher-dual-teacher-page .create-class-modal .create-class-footer .mc-btn-primary {
    border: none;
    color: #fff;
    background: linear-gradient(135deg, var(--light-blue) 0%, #2a7ab8 100%);
    box-shadow: 0 4px 12px rgba(62, 146, 204, 0.28);
}

.teacher-dual-teacher-page .create-class-modal .create-class-footer .mc-btn-primary:hover {
    opacity: 1;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(62, 146, 204, 0.38);
}

.teacher-dual-teacher-page .create-class-modal .create-class-footer .mc-btn-ghost {
    color: var(--deep-space-blue);
    background: #fff;
    border: 1px solid rgba(62, 146, 204, 0.38);
}

.teacher-dual-teacher-page .create-class-modal .create-class-footer .mc-btn-ghost:hover {
    background: rgba(62, 146, 204, 0.08);
    border-color: rgba(62, 146, 204, 0.55);
}

.exchange-empty {
    padding: 40px 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
    border-radius: 10px;
    border: 1px dashed rgba(62, 146, 204, 0.2);
    background: rgba(248, 250, 252, 0.6);
}

.exchange-room-modal .exchange-room-content {
    max-width: 1100px;
    width: 96vw;
}

.exchange-room-sub {
    margin: 6px 0 0;
    font-size: 13px;
    color: #64748b;
    font-weight: 400;
}

.exchange-room-body {
    padding: 0 24px 24px;
}

.exchange-room-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: 20px;
    align-items: stretch;
    min-height: min(52vh, 480px);
}

.exchange-room-col--video {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
}

.exchange-room-col--chat {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    padding: 14px 14px 12px;
    border-radius: 12px;
    border: 1px solid rgba(62, 146, 204, 0.22);
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.exchange-chat-panel-head {
    flex-shrink: 0;
    margin-bottom: 10px;
}

.exchange-chat-panel-desc {
    margin: 4px 0 0;
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.45;
}

.exchange-room-meeting-block {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    margin-bottom: 0;
}

.exchange-room-meeting-hint {
    margin: 0 0 12px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.55;
}

.exchange-room-meeting-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.exchange-room-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.2;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
    box-sizing: border-box;
}

a.exchange-room-action-btn {
    text-decoration: none;
}

/* 主操作：与教师工作台「新窗口」类按钮一致的浅蓝渐变 */
.exchange-room-action-btn--meet {
    color: #fff;
    border: none;
    background: linear-gradient(135deg, var(--light-blue) 0%, #2a7ab8 100%);
    box-shadow: 0 4px 12px rgba(62, 146, 204, 0.3);
}

.exchange-room-action-btn--meet:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(62, 146, 204, 0.38);
}

/* 复制：白底描边，与班级任务/预约列表次要按钮体系一致 */
.exchange-room-action-btn--copy {
    color: var(--deep-space-blue);
    background: #fff;
    border: 1px solid rgba(62, 146, 204, 0.42);
    box-shadow: 0 1px 3px rgba(10, 36, 99, 0.06);
}

.exchange-room-action-btn--copy:hover {
    background: rgba(62, 146, 204, 0.1);
    border-color: #3e92cc;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(62, 146, 204, 0.18);
}

.exchange-room-action-btn--copy:active {
    transform: translateY(0);
}

/* 发送链接：深海蓝主按钮，与教师工作台 header 主按钮呼应 */
.exchange-room-action-btn--send {
    color: #fff;
    border: none;
    background: linear-gradient(135deg, #0a2463 0%, var(--deep-space-blue) 100%);
    box-shadow: 0 4px 12px rgba(10, 36, 99, 0.25);
}

.exchange-room-action-btn--send:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(10, 36, 99, 0.32);
}

.exchange-room-action-btn--send:active {
    transform: translateY(0);
}

.exchange-room-link-copy--compact {
    margin-bottom: 12px;
}

.exchange-room-link-copy--compact .mc-input {
    width: 100%;
    font-size: 12px;
}

.exchange-room-video-wrap {
    position: relative;
    width: 100%;
    flex: 1;
    min-height: 280px;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(62, 146, 204, 0.25);
    background: #0f172a;
    box-shadow: 0 8px 24px rgba(10, 36, 99, 0.12);
}

.exchange-room-video-wrap iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    border: none;
}

.exchange-room-col--chat .exchange-chat-messages {
    flex: 1;
    min-height: 160px;
    max-height: none;
    margin-bottom: 10px;
}

.exchange-room-col--chat .exchange-chat-input-row {
    flex-shrink: 0;
    flex-direction: column;
    align-items: stretch;
}

.exchange-room-col--chat .exchange-chat-input-row .btn-sm {
    align-self: flex-end;
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 18px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.2;
    border: 1px solid transparent;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, var(--light-blue) 0%, #2a7ab8 100%);
    box-shadow: 0 4px 10px rgba(62, 146, 204, 0.25);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.exchange-room-col--chat .exchange-chat-input-row .btn-sm:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(62, 146, 204, 0.35);
}

.exchange-chat-label {
    margin: 0;
}

.exchange-room-link-row {
    margin-bottom: 16px;
}

.exchange-room-link-copy {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.exchange-room-link-copy .mc-input {
    flex: 1;
}

.exchange-chat-messages {
    max-height: 280px;
    overflow-y: auto;
    padding: 14px;
    margin-bottom: 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.exchange-chat-input-row {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.exchange-chat-input {
    flex: 1;
    resize: vertical;
    min-height: 44px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 900px) {
    .exchange-room-split {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .exchange-room-col--chat {
        max-height: 380px;
    }

    .exchange-room-col--chat .exchange-chat-messages {
        max-height: 220px;
    }

    .exchange-room-video-wrap {
        min-height: 260px;
        height: min(42vh, 360px);
    }

    .exchange-room-video-wrap iframe {
        min-height: 260px;
    }
}

.chat-bubble {
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.chat-bubble p {
    margin: 4px 0 0;
}

.chat-bubble-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0.75;
}

.chat-bubble--teacher {
    margin-left: 24px;
    background: rgba(62, 146, 204, 0.18);
    border: 1px solid rgba(62, 146, 204, 0.25);
}

.chat-bubble--student {
    margin-right: 24px;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.chat-bubble--system {
    background: rgba(148, 163, 184, 0.15);
    font-size: 13px;
    color: #64748b;
}

.chat-bubble--system p {
    margin: 0;
}


.create-booking-content { max-width: 480px; }
.booking-detail-content { max-width: 480px; }

.booking-detail-body {
    padding: 24px;
}

.booking-detail-row {
    display: flex;
    margin-bottom: 16px;
    font-size: 14px;
}

.booking-detail-row:last-child { margin-bottom: 0; }

.booking-detail-label {
    width: 90px;
    flex-shrink: 0;
    color: #64748b;
}

.booking-detail-value {
    flex: 1;
    color: #0a2463;
}

.booking-detail-value.booking-status-pending { color: #b45309; font-weight: 600; }
.booking-detail-value.booking-status-confirmed { color: #15803d; font-weight: 600; }
.booking-detail-value.booking-status-cancelled { color: #64748b; }

/* 新建班级模态 */
.create-class-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.create-class-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.create-class-content {
    position: relative;
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.create-class-header {
    padding: 18px 24px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fafcff;
    flex-shrink: 0;
}

.create-class-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #0f2f66;
}

.create-class-close {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667a98;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.create-class-close:hover {
    background: rgba(62, 146, 204, 0.1);
    color: #0a2463;
}

.create-class-close svg {
    width: 20px;
    height: 20px;
}

.create-class-form {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.create-class-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

.create-class-body .mc-form-group {
    margin-bottom: 20px;
}

.create-class-body .mc-form-group:last-child {
    margin-bottom: 0;
}

.mc-textarea {
    resize: vertical;
    min-height: 80px;
}

.create-class-body .required {
    color: #e74c3c;
}

.create-class-switch-row .mc-form-label {
    margin-bottom: 8px;
}

.create-class-switch-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.create-class-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.create-class-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.create-class-switch-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: rgba(148, 163, 184, 0.5);
    border-radius: 26px;
    transition: background 0.25s;
}

.create-class-switch-slider::before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.25s;
}

.create-class-switch input:checked + .create-class-switch-slider {
    background: linear-gradient(135deg, #3e92cc 0%, #0a2463 100%);
}

.create-class-switch input:checked + .create-class-switch-slider::before {
    transform: translateX(22px);
}

.create-class-switch-text {
    font-size: 14px;
    color: #41506a;
}

.create-class-import-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.create-class-import-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.create-class-import-tab {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(15, 23, 42, 0.15);
    background: #fff;
    color: #41506a;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.create-class-import-tab:hover {
    border-color: #3e92cc;
    color: #0a2463;
}

.create-class-import-tab.active {
    background: linear-gradient(135deg, rgba(62, 146, 204, 0.15) 0%, rgba(10, 36, 99, 0.08) 100%);
    border-color: #3e92cc;
    color: #0a2463;
}

.create-class-import-panel {
    display: none;
}

.create-class-import-panel.active {
    display: block;
}

.create-class-import-textarea {
    font-family: inherit;
    min-height: 120px;
}

.create-class-file-zone {
    border: 2px dashed rgba(15, 23, 42, 0.2);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.create-class-file-zone:hover,
.create-class-file-zone.drag-over {
    border-color: #3e92cc;
    background: rgba(62, 146, 204, 0.04);
}

.create-class-file-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #7b889e;
}

.create-class-file-placeholder svg {
    width: 40px;
    height: 40px;
    color: #94a3b8;
}

.create-class-file-placeholder p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

.create-class-file-placeholder span {
    font-size: 12px;
}

.create-class-file-result {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.create-class-file-name {
    font-size: 14px;
    color: #0a2463;
    font-weight: 500;
}

.create-class-file-count {
    font-size: 13px;
    color: #3e92cc;
}

.create-class-file-remove {
    padding: 6px 12px;
    font-size: 12px;
    border: 1px solid rgba(231, 76, 60, 0.5);
    background: #fff;
    color: #e74c3c;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.create-class-file-remove:hover {
    background: rgba(231, 76, 60, 0.08);
}

.create-class-footer {
    padding: 16px 24px 20px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-shrink: 0;
}

/* 班级管理模态 */
.manage-class-modal .manage-class-content {
    max-width: 600px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.manage-class-tabs {
    display: flex;
    gap: 4px;
    padding: 0 24px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.manage-class-tab {
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all 0.2s;
}

.manage-class-tab:hover {
    color: #0a2463;
}

.manage-class-tab.active {
    color: #0a2463;
    border-bottom-color: #3e92cc;
}

.manage-class-panels {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.manage-class-panel {
    display: none;
}

.manage-class-panel.active {
    display: block;
}

.manage-class-status-row .manage-class-status-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.manage-class-status-label {
    font-size: 14px;
    color: #41506a;
}

.manage-students-toolbar {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.manage-students-list-wrap {
    max-height: 280px;
    overflow-y: auto;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 10px;
}

.manage-students-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.manage-students-table th,
.manage-students-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.manage-students-table th {
    background: rgba(62, 146, 204, 0.06);
    font-weight: 600;
    color: #0a2463;
}

.manage-students-table tr:last-child td {
    border-bottom: none;
}

.manage-students-empty {
    padding: 40px 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
}

.manage-students-add-panel,
.manage-students-import-panel {
    margin-top: 16px;
    padding: 16px;
    background: rgba(62, 146, 204, 0.04);
    border-radius: 10px;
}

.manage-students-add-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

/* 绑定任务模态 */
.bind-task-modal .bind-task-content {
    max-width: 560px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.bind-task-tabs {
    display: flex;
    gap: 4px;
    padding: 0 24px 12px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.bind-task-tab {
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(15, 23, 42, 0.15);
    background: #fff;
    color: #41506a;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.bind-task-tab:hover {
    border-color: #3e92cc;
    color: #0a2463;
}

.bind-task-tab.active {
    background: linear-gradient(135deg, rgba(62, 146, 204, 0.15) 0%, rgba(10, 36, 99, 0.08) 100%);
    border-color: #3e92cc;
    color: #0a2463;
}

.bind-task-panels {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
}

.bind-task-panel {
    display: none;
}

.bind-task-panel.active {
    display: block;
}

.bind-task-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bind-task-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8fbff;
    border: 1px solid rgba(62, 146, 204, 0.12);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.bind-task-item:hover {
    border-color: rgba(62, 146, 204, 0.3);
    background: rgba(62, 146, 204, 0.06);
}

.bind-task-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.bind-task-item .bind-task-name {
    flex: 1;
    font-size: 14px;
    color: #0a2463;
}

.bind-task-item .bind-task-meta {
    font-size: 12px;
    color: #64748b;
}

/* 可绑定任务 - Tab 形式 */
.task-bind-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(62, 146, 204, 0.15);
}

.task-bind-tab {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(15, 23, 42, 0.15);
    background: #fff;
    color: #41506a;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.task-bind-tab:hover {
    border-color: #3e92cc;
    color: #0a2463;
}

.task-bind-tab.active {
    background: linear-gradient(135deg, rgba(62, 146, 204, 0.15) 0%, rgba(10, 36, 99, 0.08) 100%);
    border-color: #3e92cc;
    color: #0a2463;
}

.task-bind-panels {
    min-height: 120px;
}

.task-bind-panel {
    display: none;
}

.task-bind-panel.active {
    display: block;
}

.task-bind-panel .task-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 任务选择班级模态 */
.task-class-modal .task-class-content {
    max-width: 440px;
}

.task-class-body {
    padding: 20px 24px;
}

.task-class-desc {
    margin: 0 0 16px 0;
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

.task-class-list {
    max-height: 280px;
    overflow-y: auto;
}

.task-class-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8fbff;
    border: 1px solid rgba(62, 146, 204, 0.12);
    border-radius: 10px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.task-class-item:last-child {
    margin-bottom: 0;
}

.task-class-item:hover {
    border-color: rgba(62, 146, 204, 0.3);
    background: rgba(62, 146, 204, 0.06);
}

.task-class-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.task-class-item .task-class-name {
    flex: 1;
    font-size: 14px;
    color: #0a2463;
}

.task-class-empty {
    padding: 24px;
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
    margin: 0;
}

/* 查看绑定详情模态 */
.view-bindings-modal .view-bindings-content {
    max-width: 480px;
}

.view-bindings-body {
    padding: 20px 24px 24px;
}

.view-bindings-list {
    max-height: 320px;
    overflow-y: auto;
}

.view-bindings-ul {
    margin: 0;
    padding: 0 0 0 20px;
    list-style: disc;
}

.view-bindings-ul li {
    margin-bottom: 8px;
    font-size: 14px;
    color: #0a2463;
    line-height: 1.5;
}

.view-bindings-empty {
    padding: 24px;
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
}

/* 班级列表 - 绑定列内的查看按钮 */
.teacher-class-task-page .class-cell-bindings {
    vertical-align: middle;
}

.teacher-class-task-page .class-cell-bindings .btn-view-bindings {
    margin-left: 8px;
    padding: 4px 10px;
    font-size: 12px;
    vertical-align: middle;
}

/* ========== 学生进度看板（与班级与任务页视觉体系统一）========== */
.teacher-progress-board-page .dashboard-main {
    padding-top: 20px;
}

.teacher-progress-board-page .dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 18px;
    padding: 22px 24px;
    border-radius: 14px;
    border: 1px solid rgba(62, 146, 204, 0.14);
    border-left: 4px solid var(--light-blue);
    background: linear-gradient(135deg, rgba(62, 146, 204, 0.08) 0%, rgba(10, 36, 99, 0.04) 100%);
    box-shadow: 0 4px 14px rgba(10, 36, 99, 0.07);
}

.teacher-progress-board-page .dashboard-header h1 {
    margin: 0 0 6px;
    font-size: 24px;
    color: #0f2f66;
}

.teacher-progress-board-page .dashboard-header .welcome {
    margin: 0;
    font-size: 14px;
    color: #4f5f79;
    line-height: 1.6;
    max-width: 720px;
}

.teacher-progress-board-page .progress-board-header-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    flex-shrink: 0;
    align-items: center;
}

.teacher-progress-board-page .progress-board-header-actions .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.teacher-progress-board-page .progress-board-header-actions .btn-secondary {
    color: #fff;
    background: linear-gradient(135deg, var(--light-blue) 0%, #2a7ab8 100%);
    box-shadow: 0 4px 12px rgba(62, 146, 204, 0.3);
}

.teacher-progress-board-page .progress-board-header-actions .btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(62, 146, 204, 0.38);
}

.teacher-progress-board-page .progress-board-filter-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 14px;
    background: #fff;
    border: 1px solid rgba(62, 146, 204, 0.28);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(10, 36, 99, 0.05);
}

.teacher-progress-board-page .progress-board-filter-text {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.teacher-progress-board-page .progress-board-select {
    min-width: 160px;
    padding: 6px 28px 6px 10px;
    font-size: 13px;
    font-weight: 500;
    color: #0a2463;
    border: 1px solid rgba(148, 163, 184, 0.45);
    border-radius: 8px;
    background: #f8fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;
    background-size: 12px;
    appearance: none;
    cursor: pointer;
}

.teacher-progress-board-page .progress-board-select:focus {
    outline: none;
    border-color: var(--light-blue);
    box-shadow: 0 0 0 2px rgba(62, 146, 204, 0.2);
}

.teacher-progress-board-page .progress-board-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
    padding: 20px 24px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(248, 250, 252, 0.95) 0%, rgba(241, 245, 249, 0.9) 100%);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.teacher-progress-board-page .progress-board-overview .my-overview-card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(10, 36, 99, 0.1);
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 4px 14px rgba(10, 36, 99, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.teacher-progress-board-page .progress-board-overview .my-overview-card.card-accent-amber {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.12) 0%, rgba(254, 243, 199, 0.6) 100%);
    border-color: rgba(251, 191, 36, 0.25);
}

.teacher-progress-board-page .progress-board-overview .my-overview-card.card-accent-green {
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.1) 0%, rgba(187, 247, 208, 0.5) 100%);
    border-color: rgba(72, 187, 120, 0.22);
}

.teacher-progress-board-page .progress-board-overview .my-overview-card.card-accent-blue {
    background: linear-gradient(135deg, rgba(62, 146, 204, 0.1) 0%, rgba(191, 219, 254, 0.5) 100%);
    border-color: rgba(62, 146, 204, 0.22);
}

.teacher-progress-board-page .progress-board-overview .my-overview-card.card-accent-violet {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(233, 213, 255, 0.5) 100%);
    border-color: rgba(139, 92, 246, 0.2);
}

.teacher-progress-board-page .progress-board-overview .my-overview-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.teacher-progress-board-page .progress-board-overview .my-overview-card .label {
    margin: 0 0 10px 0;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
}

.teacher-progress-board-page .progress-board-overview .my-overview-card .value {
    margin: 0;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 700;
}

.teacher-progress-board-page .progress-board-overview .my-overview-card.card-accent-amber .value { color: #b45309; }
.teacher-progress-board-page .progress-board-overview .my-overview-card.card-accent-green .value { color: #2f855a; }
.teacher-progress-board-page .progress-board-overview .my-overview-card.card-accent-blue .value { color: #0e4d8a; }
.teacher-progress-board-page .progress-board-overview .my-overview-card.card-accent-violet .value { color: #5b21b6; }

.teacher-progress-board-page .progress-board-section {
    border: 1px solid rgba(10, 36, 99, 0.1);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(10, 36, 99, 0.06);
    margin-bottom: 24px;
    overflow: hidden;
}

.teacher-progress-board-page .progress-board-section.learning-section {
    border-left: 4px solid #3e92cc;
}

.teacher-progress-board-page .progress-board-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding: 14px 20px;
    background: rgba(62, 146, 204, 0.06);
    border-bottom: 1px solid rgba(62, 146, 204, 0.12);
}

.teacher-progress-board-page .progress-board-header-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 20px;
}

.teacher-progress-board-page .progress-board-section-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #0e4d8a;
}

.teacher-progress-board-page .progress-view-tabs {
    display: flex;
    gap: 4px;
}

.teacher-progress-board-page .progress-view-tab {
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(62, 146, 204, 0.25);
    background: #fff;
    color: #4f5f79;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.teacher-progress-board-page .progress-view-tab:hover {
    border-color: #3e92cc;
    color: #0a2463;
}

.teacher-progress-board-page .progress-view-tab.active {
    background: linear-gradient(135deg, rgba(62, 146, 204, 0.2) 0%, rgba(10, 36, 99, 0.1) 100%);
    border-color: #3e92cc;
    color: #0a2463;
}

.teacher-progress-board-page .progress-board-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.teacher-progress-board-page .progress-board-header-right .section-count {
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    height: 26px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #0e4d8a;
    background: rgba(62, 146, 204, 0.15);
}

.teacher-progress-board-page .progress-board-export-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--light-blue);
    text-decoration: none;
}

.teacher-progress-board-page .progress-board-export-link:hover {
    text-decoration: underline;
}

.teacher-progress-board-page .progress-board-section .section-inner {
    padding: 20px 24px 24px;
}

.teacher-progress-board-page .progress-board-section .section-desc {
    margin: 0 0 16px;
    font-size: 14px;
    color: #4f5f79;
    line-height: 1.6;
}

.teacher-progress-board-page .progress-board-section .dashboard-table-wrap {
    margin: 0;
    border-radius: 10px;
    border: 1px solid rgba(10, 36, 99, 0.08);
    overflow: hidden;
    box-shadow: none;
}

.teacher-progress-board-page .dashboard-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.teacher-progress-board-page .progress-project-cell {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.teacher-progress-board-page .progress-project-title {
    font-weight: 600;
    color: #0a2463;
}

.teacher-progress-board-page .progress-project-tag {
    display: inline-block;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 6px;
    background: rgba(62, 146, 204, 0.12);
    color: #0e4d8a;
}

.teacher-progress-board-page .progress-board-class {
    color: #475569;
    font-size: 13px;
}

.teacher-progress-board-page .progress-student-name,
.teacher-progress-board-page .progress-group-name {
    font-weight: 600;
    color: #0a2463;
}

.teacher-progress-board-page .progress-student-cell {
    vertical-align: middle;
    min-width: 148px;
}

.teacher-progress-board-page .progress-student-cell-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
}

.teacher-progress-board-page .progress-student-cell .progress-student-name {
    flex: 1 1 auto;
    min-width: 52px;
}

.teacher-progress-board-page .progress-im-chat-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    border: 1px solid rgba(62, 146, 204, 0.35);
    background: #fff;
    color: #0e4d8a;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.teacher-progress-board-page .progress-im-chat-btn:hover {
    background: rgba(62, 146, 204, 0.1);
    border-color: rgba(62, 146, 204, 0.55);
}

.teacher-progress-board-page .progress-im-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    background: #e74c3c;
    border-radius: 9px;
}

.teacher-progress-board-page .progress-board-table-empty {
    text-align: center;
    padding: 28px 16px;
    color: #64748b;
    font-size: 14px;
}

.teacher-progress-board-page .progress-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 120px;
}

.teacher-progress-board-page .progress-bar-track {
    flex: 1;
    min-width: 72px;
    height: 8px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.25);
    overflow: hidden;
}

.teacher-progress-board-page .progress-bar-fill {
    height: 100%;
    border-radius: 999px;
    transition: width 0.35s ease;
}

.teacher-progress-board-page .progress-bar-fill--blue {
    background: linear-gradient(90deg, #3e92cc, #2563eb);
}

.teacher-progress-board-page .progress-bar-fill--amber {
    background: linear-gradient(90deg, #f59e0b, #ea580c);
}

.teacher-progress-board-page .progress-bar-fill--slate {
    background: linear-gradient(90deg, #64748b, #475569);
}

.teacher-progress-board-page .progress-bar-label {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    min-width: 38px;
}

.teacher-progress-board-page .risk-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 8px;
}

.teacher-progress-board-page .risk-badge--amber {
    background: rgba(251, 191, 36, 0.2);
    color: #b45309;
}

.teacher-progress-board-page .risk-badge--muted {
    background: rgba(148, 163, 184, 0.15);
    color: #64748b;
}

.teacher-progress-board-page .progress-due-date {
    font-size: 13px;
    color: #334155;
    font-variant-numeric: tabular-nums;
}

.teacher-progress-board-page .progress-actions-cell {
    white-space: nowrap;
}

.teacher-progress-board-page .progress-actions-cell .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 14px;
    margin-right: 8px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.teacher-progress-board-page .progress-actions-cell .btn-sm:last-child {
    margin-right: 0;
}

.teacher-progress-board-page .progress-actions-cell .btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--light-blue) 0%, #2a7ab8 100%);
    box-shadow: 0 4px 10px rgba(62, 146, 204, 0.25);
}

.teacher-progress-board-page .progress-actions-cell .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(62, 146, 204, 0.35);
}

.teacher-progress-board-page .progress-actions-cell .btn-secondary {
    color: var(--deep-space-blue);
    border: 1px solid rgba(62, 146, 204, 0.35);
    background: #fff;
}

.teacher-progress-board-page .progress-actions-cell .btn-secondary:hover {
    transform: translateY(-1px);
    background: rgba(62, 146, 204, 0.08);
    border-color: rgba(62, 146, 204, 0.55);
}

/* 课程学习进度看板（框架阶段 + 任务项） */
.teacher-progress-board-page .course-learning-board-section .course-learning-hint {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    max-width: 220px;
    line-height: 1.4;
    text-align: right;
}

.teacher-progress-board-page .course-learning-board-root {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.teacher-progress-board-page .course-learning-empty {
    margin: 0;
    padding: 24px;
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px dashed rgba(62, 146, 204, 0.25);
}

.teacher-progress-board-page .course-learning-card {
    border: 1px solid rgba(10, 36, 99, 0.1);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(10, 36, 99, 0.05);
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.teacher-progress-board-page .course-learning-card.is-expanded {
    box-shadow: 0 6px 20px rgba(62, 146, 204, 0.12);
    border-color: rgba(62, 146, 204, 0.22);
}

.teacher-progress-board-page .course-learning-card-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.98) 0%, rgba(241, 245, 249, 0.95) 100%);
}

.teacher-progress-board-page .course-learning-card-info {
    flex: 1;
    min-width: 200px;
}

.teacher-progress-board-page .course-learning-title {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
    color: #0a2463;
}

.teacher-progress-board-page .course-learning-meta {
    font-size: 13px;
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

.teacher-progress-board-page .course-learning-sep {
    color: #cbd5e1;
}

.teacher-progress-board-page .course-learning-overall {
    min-width: 160px;
}

.teacher-progress-board-page .course-learning-overall-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.teacher-progress-board-page .course-learning-overall-bar {
    min-width: 140px;
}

.teacher-progress-board-page .course-learning-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #0e4d8a;
    background: #fff;
    border: 1px solid rgba(62, 146, 204, 0.35);
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.teacher-progress-board-page .course-learning-toggle:hover {
    background: rgba(62, 146, 204, 0.08);
    border-color: rgba(62, 146, 204, 0.55);
}

.teacher-progress-board-page .course-learning-chevron {
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.teacher-progress-board-page .course-learning-card.is-expanded .course-learning-chevron {
    transform: rotate(180deg);
}

.teacher-progress-board-page .course-learning-framework {
    padding: 0 20px 22px;
    border-top: 1px solid rgba(62, 146, 204, 0.12);
    background: #fafbfd;
}

.teacher-progress-board-page .fw-intro {
    margin: 16px 0 14px;
    font-size: 13px;
    color: #475569;
    line-height: 1.6;
}

.teacher-progress-board-page .fw-phases {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.teacher-progress-board-page .fw-phase-block {
    padding: 14px 16px;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    border-left: 3px solid var(--light-blue);
}

.teacher-progress-board-page .fw-phase-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.teacher-progress-board-page .fw-phase-num {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #3e92cc, #2563eb);
    border-radius: 8px;
    flex-shrink: 0;
}

.teacher-progress-board-page .fw-phase-title-wrap {
    flex: 1;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.teacher-progress-board-page .fw-phase-title {
    font-size: 15px;
    font-weight: 700;
    color: #0a2463;
}

.teacher-progress-board-page .fw-phase-id {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.02em;
}

.teacher-progress-board-page .fw-phase-bar-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 140px;
}

.teacher-progress-board-page .fw-phase-track {
    flex: 1;
    min-width: 80px;
    height: 8px;
}

.teacher-progress-board-page .fw-phase-pct {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    min-width: 36px;
}

.teacher-progress-board-page .fw-phase-objective {
    margin: 0 0 12px 38px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

.teacher-progress-board-page .fw-task-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.teacher-progress-board-page .fw-task-row {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 6px 12px;
    padding: 10px 0;
    border-top: 1px solid rgba(241, 245, 249, 0.9);
    align-items: center;
}

.teacher-progress-board-page .fw-task-row:first-of-type {
    border-top: none;
    padding-top: 4px;
}

.teacher-progress-board-page .fw-task-name {
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    grid-column: 1;
}

.teacher-progress-board-page .fw-task-count {
    font-size: 12px;
    font-weight: 600;
    color: #0e4d8a;
    white-space: nowrap;
    grid-column: 2;
    grid-row: 1;
}

.teacher-progress-board-page .fw-task-bar {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.teacher-progress-board-page .fw-task-bar .progress-bar-track {
    flex: 1;
    height: 6px;
}

.teacher-progress-board-page .fw-task-pct {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    min-width: 34px;
}

.teacher-progress-board-page .progress-bar-fill--zero {
    background: #e2e8f0;
    min-width: 0;
}

@media (max-width: 768px) {
    .teacher-progress-board-page .dashboard-header {
        flex-direction: column;
    }

    .teacher-progress-board-page .progress-board-header-actions {
        width: 100%;
    }

    .teacher-progress-board-page .progress-board-filter-label {
        flex: 1;
        min-width: 0;
    }

    .teacher-progress-board-page .progress-board-select {
        flex: 1;
        min-width: 0;
    }

    .teacher-progress-board-page .progress-board-section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .teacher-progress-board-page .progress-board-header-right {
        width: 100%;
        justify-content: space-between;
    }

    .teacher-progress-board-page .course-learning-board-section .progress-board-header-right {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .teacher-progress-board-page .course-learning-board-section .course-learning-hint {
        text-align: left;
        max-width: none;
    }

    .teacher-progress-board-page .course-learning-card-head {
        flex-direction: column;
        align-items: stretch;
    }

    .teacher-progress-board-page .course-learning-toggle {
        width: 100%;
        justify-content: center;
    }
}

/* ========== 协同评分系统（与进度看板 / 能力洞察视觉体系统一）========== */
.teacher-grading-page .dashboard-main {
    padding-top: 20px;
}

.teacher-grading-page .dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 18px;
    padding: 22px 24px;
    border-radius: 14px;
    border: 1px solid rgba(62, 146, 204, 0.14);
    border-left: 4px solid var(--light-blue);
    background: linear-gradient(135deg, rgba(62, 146, 204, 0.08) 0%, rgba(10, 36, 99, 0.04) 100%);
    box-shadow: 0 4px 14px rgba(10, 36, 99, 0.07);
}

.teacher-grading-page .dashboard-header h1 {
    margin: 0 0 6px;
    font-size: 24px;
    color: #0f2f66;
}

.teacher-grading-page .dashboard-header .welcome {
    margin: 0;
    font-size: 14px;
    color: #4f5f79;
    line-height: 1.6;
    max-width: 720px;
}

.teacher-grading-page .grading-header-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.teacher-grading-page .grading-filter-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 14px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(62, 146, 204, 0.28);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(10, 36, 99, 0.05);
}

.teacher-grading-page .grading-filter-text {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    white-space: nowrap;
}

.teacher-grading-page .grading-filter-select {
    min-width: 128px;
    padding: 6px 28px 6px 10px;
    font-size: 13px;
    font-weight: 500;
    color: #0a2463;
    border: 1px solid rgba(148, 163, 184, 0.45);
    border-radius: 8px;
    background: #f8fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;
    background-size: 12px;
    appearance: none;
    cursor: pointer;
}

.teacher-grading-page .grading-filter-select:focus {
    outline: none;
    border-color: var(--light-blue);
    box-shadow: 0 0 0 2px rgba(62, 146, 204, 0.2);
}

.teacher-grading-page .dashboard-header .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.2;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.teacher-grading-page .dashboard-header .btn-secondary {
    color: #fff;
    background: linear-gradient(135deg, var(--light-blue) 0%, #2a7ab8 100%);
    box-shadow: 0 4px 12px rgba(62, 146, 204, 0.3);
}

.teacher-grading-page .dashboard-header .btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(62, 146, 204, 0.38);
}

.teacher-grading-page .dashboard-header .btn-sm:focus-visible {
    outline: 2px solid #3e92cc;
    outline-offset: 2px;
}

.teacher-grading-page .grading-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
    padding: 20px 24px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(248, 250, 252, 0.95) 0%, rgba(241, 245, 249, 0.9) 100%);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.teacher-grading-page .grading-overview .my-overview-card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(10, 36, 99, 0.1);
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 4px 14px rgba(10, 36, 99, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.teacher-grading-page .grading-overview .my-overview-card.card-accent-amber {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.12) 0%, rgba(254, 243, 199, 0.6) 100%);
    border-color: rgba(251, 191, 36, 0.25);
}

.teacher-grading-page .grading-overview .my-overview-card.card-accent-blue {
    background: linear-gradient(135deg, rgba(62, 146, 204, 0.1) 0%, rgba(191, 219, 254, 0.5) 100%);
    border-color: rgba(62, 146, 204, 0.22);
}

.teacher-grading-page .grading-overview .my-overview-card.card-accent-violet {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(233, 213, 255, 0.5) 100%);
    border-color: rgba(139, 92, 246, 0.2);
}

.teacher-grading-page .grading-overview .my-overview-card.card-accent-green {
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.1) 0%, rgba(187, 247, 208, 0.5) 100%);
    border-color: rgba(72, 187, 120, 0.22);
}

.teacher-grading-page .grading-overview .my-overview-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.teacher-grading-page .grading-overview .my-overview-card .label {
    margin: 0 0 10px 0;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
}

.teacher-grading-page .grading-overview .my-overview-card .value {
    margin: 0;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 700;
}

.teacher-grading-page .grading-overview .my-overview-card.card-accent-amber .value { color: #b45309; }
.teacher-grading-page .grading-overview .my-overview-card.card-accent-blue .value { color: #0e4d8a; }
.teacher-grading-page .grading-overview .my-overview-card.card-accent-violet .value { color: #5b21b6; }
.teacher-grading-page .grading-overview .my-overview-card.card-accent-green .value { color: #2f855a; }

.teacher-grading-page .grading-queue-section {
    border: 1px solid rgba(10, 36, 99, 0.1);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(10, 36, 99, 0.06);
    margin-bottom: 24px;
    overflow: hidden;
}

.teacher-grading-page .grading-queue-section.learning-section {
    border-left: 4px solid #3e92cc;
}

.teacher-grading-page .grading-queue-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding: 14px 20px;
    background: rgba(62, 146, 204, 0.06);
    border-bottom: 1px solid rgba(62, 146, 204, 0.12);
}

.teacher-grading-page .grading-queue-header-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.teacher-grading-page .grading-queue-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #0e4d8a;
}

.teacher-grading-page .grading-queue-hint {
    font-size: 13px;
    color: #64748b;
    max-width: 420px;
    line-height: 1.45;
}

.teacher-grading-page .grading-queue-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.teacher-grading-page .grading-queue-header-right .section-count {
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    height: 26px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #0e4d8a;
    background: rgba(62, 146, 204, 0.15);
}

.teacher-grading-page .grading-export-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--light-blue);
    text-decoration: none;
}

.teacher-grading-page .grading-export-link:hover {
    text-decoration: underline;
}

.teacher-grading-page .grading-queue-actions {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.teacher-grading-page .grading-view-history-link {
    font-size: 14px;
    font-weight: 600;
    color: #0e4d8a;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(62, 146, 204, 0.35);
    background: #fff;
    box-shadow: 0 1px 4px rgba(10, 36, 99, 0.06);
    transition: background 0.2s, border-color 0.2s;
}

.teacher-grading-page .grading-view-history-link:hover {
    background: rgba(62, 146, 204, 0.1);
    border-color: rgba(62, 146, 204, 0.5);
    text-decoration: none;
}

.teacher-grading-page .grading-history-overlay {
    position: fixed;
    inset: 0;
    z-index: 10070;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
}

.teacher-grading-page .grading-history-overlay[hidden] {
    display: none !important;
}

.teacher-grading-page .grading-history-modal {
    width: 100%;
    max-width: 960px;
    max-height: min(88vh, 820px);
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(10, 36, 99, 0.12);
    box-shadow: 0 24px 48px rgba(10, 36, 99, 0.18);
    overflow: hidden;
}

.teacher-grading-page .grading-history-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(62, 146, 204, 0.12);
    background: linear-gradient(180deg, rgba(62, 146, 204, 0.06) 0%, #fff 100%);
}

.teacher-grading-page .grading-history-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #0a2463;
}

.teacher-grading-page .grading-history-filter-hint {
    margin: 0;
    padding: 10px 20px 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

.teacher-grading-page .grading-history-body {
    padding: 12px 20px 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.teacher-grading-page .grading-history-root {
    max-height: min(56vh, 520px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-right: 2px;
}

.teacher-grading-page .grading-history-person-block {
    flex: 0 0 auto;
}

.teacher-grading-page .grading-history-person-title {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 700;
    color: #0a2463;
    line-height: 1.45;
}

.teacher-grading-page .grading-history-person-meta {
    font-weight: 500;
    color: #64748b;
    font-size: 13px;
    margin-left: 10px;
}

.teacher-grading-page .grading-history-table-wrap {
    border-radius: 10px;
    border: 1px solid rgba(10, 36, 99, 0.08);
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.teacher-grading-page .grading-history-body .dashboard-table-scroll {
    max-height: min(52vh, 480px);
    overflow: auto;
}

/* 按人分块时由外层 .grading-history-root 滚动，内层表格不再限高 */
.teacher-grading-page .grading-history-body .grading-history-person-block .dashboard-table-scroll {
    max-height: none;
    overflow-x: auto;
    overflow-y: visible;
}

.teacher-grading-page .grading-history-table thead th {
    font-size: 12px;
    color: #475569;
    background: rgba(248, 250, 252, 0.98);
    white-space: nowrap;
}

.teacher-grading-page .grading-history-table tbody td {
    font-size: 13px;
    color: #334155;
    vertical-align: top;
}

.teacher-grading-page .grading-history-table .grading-history-task {
    font-weight: 600;
    color: #0a2463;
    max-width: 200px;
}

.teacher-grading-page .grading-history-table .grading-history-dims {
    font-size: 12px;
    color: #64748b;
    line-height: 1.45;
    min-width: 260px;
    max-width: 340px;
}

.teacher-grading-page .grading-history-dim-detail {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.teacher-grading-page .grading-history-dim-detail--empty {
    color: #94a3b8;
    font-style: italic;
}

.teacher-grading-page .grading-history-dim-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(248, 250, 252, 0.98);
    border: 1px solid rgba(62, 146, 204, 0.12);
}

.teacher-grading-page .grading-history-dim-name {
    font-weight: 700;
    color: #0f2f66;
    min-width: 3em;
}

.teacher-grading-page .grading-history-dim-weight {
    font-size: 11px;
    color: #64748b;
}

.teacher-grading-page .grading-history-dim-score {
    font-weight: 700;
    color: #0e4d8a;
}

.teacher-grading-page .grading-history-dim-contrib {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    margin-left: auto;
}

.teacher-grading-page .grading-history-table .grading-history-comment {
    max-width: 160px;
    word-break: break-word;
}

.teacher-grading-page .grading-history-empty {
    text-align: center;
    padding: 36px 16px;
    color: #64748b;
    font-size: 14px;
}

.teacher-grading-page .grading-queue-section .section-inner {
    padding: 20px 24px 24px;
}

.teacher-grading-page .grading-queue-section .section-desc {
    margin: 0 0 16px;
    font-size: 14px;
    color: #4f5f79;
    line-height: 1.6;
}

.teacher-grading-page .grading-table-wrap {
    margin: 0;
    border-radius: 10px;
    border: 1px solid rgba(10, 36, 99, 0.08);
    overflow: hidden;
    box-shadow: none;
}

.teacher-grading-page .dashboard-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.teacher-grading-page .grading-table thead th {
    font-size: 13px;
    color: #475569;
    background: rgba(248, 250, 252, 0.95);
}

.teacher-grading-page .grading-table tbody td {
    font-size: 14px;
    color: #334155;
    vertical-align: middle;
}

.teacher-grading-page .grading-task-cell {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 200px;
}

.teacher-grading-page .grading-task-title {
    font-weight: 600;
    color: #0a2463;
    line-height: 1.35;
}

.teacher-grading-page .grading-type-tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.teacher-grading-page .grading-type-tag--challenge {
    background: rgba(34, 197, 94, 0.14);
    color: #15803d;
}

.teacher-grading-page .grading-type-tag--project {
    background: rgba(139, 92, 246, 0.14);
    color: #6d28d9;
}

.teacher-grading-page .grading-type-tag--activity {
    background: rgba(245, 158, 11, 0.16);
    color: #b45309;
}

.teacher-grading-page .grading-rubric-cell {
    font-size: 12px;
    line-height: 1.5;
    color: #64748b;
    max-width: 280px;
}

.teacher-grading-page .grading-actions-cell {
    white-space: nowrap;
}

.teacher-grading-page .grading-actions-cell .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 14px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.teacher-grading-page .grading-actions-cell .btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #3e92cc 0%, #0a2463 100%);
    border: none;
    box-shadow: 0 2px 8px rgba(62, 146, 204, 0.35);
}

.teacher-grading-page .grading-actions-cell .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(62, 146, 204, 0.45);
}

.teacher-grading-page .grading-actions-cell .btn-primary:focus-visible {
    outline: 2px solid #3e92cc;
    outline-offset: 2px;
}

.teacher-grading-page .grading-queue-empty {
    text-align: center;
    padding: 40px 20px;
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

/* 评分弹窗 */
.teacher-grading-page .grading-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10060;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
}

.teacher-grading-page .grading-modal-overlay[hidden] {
    display: none !important;
}

.teacher-grading-page .grading-modal {
    width: 100%;
    max-width: 520px;
    max-height: min(90vh, 720px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(10, 36, 99, 0.12);
    box-shadow: 0 24px 48px rgba(10, 36, 99, 0.18);
}

.teacher-grading-page .grading-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px 12px;
    border-bottom: 1px solid rgba(62, 146, 204, 0.12);
    background: linear-gradient(180deg, rgba(62, 146, 204, 0.06) 0%, #fff 100%);
}

.teacher-grading-page .grading-modal-title-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
}

.teacher-grading-page .grading-modal-type-tag {
    flex-shrink: 0;
}

.teacher-grading-page .grading-modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #0a2463;
    line-height: 1.35;
}

.teacher-grading-page .grading-modal-close {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 10px;
    background: rgba(148, 163, 184, 0.15);
    color: #475569;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.teacher-grading-page .grading-modal-close:hover {
    background: rgba(148, 163, 184, 0.28);
    color: #0f172a;
}

.teacher-grading-page .grading-modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding: 12px 20px;
    font-size: 13px;
    color: #64748b;
    border-bottom: 1px solid rgba(10, 36, 99, 0.06);
}

.teacher-grading-page .grading-modal-meta strong {
    color: #334155;
    font-weight: 600;
}

.teacher-grading-page .grading-modal-form {
    padding: 16px 20px 20px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.teacher-grading-page .grading-modal-role-note {
    margin: 0 0 16px;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.55;
    color: #475569;
    background: rgba(62, 146, 204, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(62, 146, 204, 0.15);
}

.teacher-grading-page .grading-modal-role-note strong {
    color: #0a2463;
}

.teacher-grading-page .grading-modal-attempt-hint {
    margin: 0 0 14px;
    padding: 8px 12px;
    font-size: 13px;
    line-height: 1.5;
    color: #0e4d8a;
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.35);
    border-radius: 8px;
}

.teacher-grading-page .grading-modal-attempt-hint[hidden] {
    display: none !important;
}

.teacher-grading-page .grading-modal-field {
    margin-bottom: 16px;
}

.teacher-grading-page .grading-modal-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.teacher-grading-page .grading-modal-select {
    width: 100%;
    max-width: 280px;
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    border-radius: 8px;
    background: #f8fafc;
    color: #0a2463;
}

.teacher-grading-page .grading-modal-select:focus {
    outline: none;
    border-color: var(--light-blue);
    box-shadow: 0 0 0 2px rgba(62, 146, 204, 0.2);
}

.teacher-grading-page .grading-rubric-fieldset {
    margin: 0 0 16px;
    padding: 0;
    border: none;
}

.teacher-grading-page .grading-rubric-legend {
    font-size: 13px;
    font-weight: 600;
    color: #0e4d8a;
    margin-bottom: 12px;
    padding: 0;
}

.teacher-grading-page .grading-rubric-row {
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(248, 250, 252, 0.95);
    border: 1px solid rgba(10, 36, 99, 0.06);
}

.teacher-grading-page .grading-rubric-row-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 10px;
}

.teacher-grading-page .grading-rubric-label {
    font-size: 14px;
    font-weight: 600;
    color: #0f2f66;
}

.teacher-grading-page .grading-rubric-weight {
    font-size: 12px;
    color: #64748b;
    white-space: nowrap;
}

.teacher-grading-page .grading-rubric-row-controls {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 8px 12px;
    align-items: center;
}

.teacher-grading-page .grading-rubric-range {
    grid-column: 1 / -1;
    width: 100%;
    accent-color: #3e92cc;
}

.teacher-grading-page .grading-rubric-num {
    width: 64px;
    padding: 6px 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    border: 1px solid rgba(148, 163, 184, 0.45);
    border-radius: 8px;
}

.teacher-grading-page .grading-rubric-partial {
    font-size: 12px;
    font-weight: 600;
    color: #0e4d8a;
    justify-self: end;
}

.teacher-grading-page .grading-modal-textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    font-size: 14px;
    font-family: inherit;
    line-height: 1.5;
    border: 1px solid rgba(148, 163, 184, 0.45);
    border-radius: 10px;
    resize: vertical;
    min-height: 72px;
}

.teacher-grading-page .grading-modal-textarea:focus {
    outline: none;
    border-color: var(--light-blue);
    box-shadow: 0 0 0 2px rgba(62, 146, 204, 0.2);
}

.teacher-grading-page .grading-modal-total {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 12px;
    margin: 8px 0 16px;
    padding: 12px 14px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(62, 146, 204, 0.1) 0%, rgba(10, 36, 99, 0.06) 100%);
    border: 1px solid rgba(62, 146, 204, 0.2);
}

.teacher-grading-page .grading-modal-total-label {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
}

.teacher-grading-page .grading-modal-total-value {
    font-size: 26px;
    font-weight: 800;
    color: #0a2463;
    letter-spacing: -0.02em;
}

.teacher-grading-page .grading-modal-total-hint {
    font-size: 12px;
    color: #64748b;
    width: 100%;
}

.teacher-grading-page .grading-modal-toast {
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    color: #b45309;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.35);
}

.teacher-grading-page .grading-modal-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.teacher-grading-page .grading-modal-actions .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.teacher-grading-page .grading-modal-actions .btn-secondary {
    color: #0e4d8a;
    background: #fff;
    border: 1px solid rgba(62, 146, 204, 0.4);
    box-shadow: 0 2px 6px rgba(10, 36, 99, 0.06);
}

.teacher-grading-page .grading-modal-actions .btn-secondary:hover {
    background: rgba(62, 146, 204, 0.08);
}

.teacher-grading-page .grading-modal-actions .btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #3e92cc 0%, #0a2463 100%);
    box-shadow: 0 4px 12px rgba(62, 146, 204, 0.35);
}

.teacher-grading-page .grading-modal-actions .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(62, 146, 204, 0.42);
}

@media (max-width: 768px) {
    .teacher-grading-page .dashboard-header {
        flex-direction: column;
    }

    .teacher-grading-page .grading-header-actions {
        width: 100%;
    }

    .teacher-grading-page .grading-filter-label {
        flex: 1;
        min-width: 0;
    }

    .teacher-grading-page .grading-filter-select {
        flex: 1;
        min-width: 0;
    }

    .teacher-grading-page .grading-queue-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .teacher-grading-page .grading-queue-header-right {
        width: 100%;
        justify-content: space-between;
    }
}

/* ========== 教师工作台首页（全能指挥舱）教学日历与整体优化 ========== */
/* 与学生工作台首页一致：主区顶部无额外留白（仅保留 dashboard-wrap 的 header 占位） */
.teacher-dashboard-home .dashboard-main {
    padding-top: 0;
}

.teacher-dashboard-home .dashboard-user-panel {
    border-radius: 14px;
    border: 1px solid rgba(62, 146, 204, 0.12);
    box-shadow: 0 4px 16px rgba(10, 36, 99, 0.06);
    margin-bottom: 20px;
}

/* 学生进度概览：标题区「查看全部」+ 表格操作列按钮（对齐班级列表 / 双师预约 / 进度看板） */
.teacher-home-progress-overview {
    margin-bottom: 0;
}

.teacher-home-progress-overview__head {
    margin-bottom: 16px;
}

.teacher-home-progress-overview__head .teacher-home-progress-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 36px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--deep-space-blue);
    text-decoration: none;
    border: 1px solid rgba(62, 146, 204, 0.4);
    background: #fff;
    box-shadow: 0 2px 8px rgba(10, 36, 99, 0.06);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}

.teacher-home-progress-overview__head .teacher-home-progress-more::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    margin-top: -2px;
    opacity: 0.85;
}

.teacher-home-progress-overview__head .teacher-home-progress-more:hover {
    transform: translateY(-1px);
    background: rgba(62, 146, 204, 0.1);
    border-color: rgba(62, 146, 204, 0.65);
    color: #0a2463;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(62, 146, 204, 0.15);
}

.teacher-home-progress-overview__table {
    margin-bottom: 32px;
    border-radius: 12px;
    border: 1px solid rgba(10, 36, 99, 0.08);
    box-shadow: 0 4px 16px rgba(10, 36, 99, 0.06);
}

.teacher-home-progress-overview__table .dashboard-table {
    margin: 0;
}

.teacher-home-progress-overview__table .dashboard-table th:last-child,
.teacher-home-progress-overview__table .dashboard-table td:last-child {
    white-space: nowrap;
    text-align: right;
    width: 1%;
}

.teacher-home-progress-overview__table .dashboard-table .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    min-width: 72px;
    padding: 8px 16px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}

.teacher-home-progress-overview__table .dashboard-table .btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--light-blue) 0%, #2a7ab8 100%);
    box-shadow: 0 4px 10px rgba(62, 146, 204, 0.25);
}

.teacher-home-progress-overview__table .dashboard-table .btn-primary:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #2a7ab8 0%, var(--deep-space-blue) 100%);
    box-shadow: 0 6px 14px rgba(62, 146, 204, 0.35);
}

.teacher-home-progress-overview__table .dashboard-table .btn-secondary {
    color: var(--deep-space-blue);
    border: 1px solid rgba(62, 146, 204, 0.35);
    background: #fff;
    box-shadow: 0 2px 6px rgba(10, 36, 99, 0.04);
}

.teacher-home-progress-overview__table .dashboard-table .btn-secondary:hover {
    transform: translateY(-1px);
    background: rgba(62, 146, 204, 0.08);
    border-color: rgba(62, 146, 204, 0.55);
    box-shadow: 0 4px 10px rgba(62, 146, 204, 0.12);
}

/* 教学日历 */
.teacher-teaching-calendar {
    margin-bottom: 22px;
}

.teacher-teaching-calendar .teaching-cal-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(10, 36, 99, 0.1);
    box-shadow: 0 4px 20px rgba(10, 36, 99, 0.07);
    overflow: hidden;
    border-left: 4px solid var(--light-blue);
}

.teacher-teaching-calendar .teaching-cal-top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    background: linear-gradient(135deg, rgba(62, 146, 204, 0.09) 0%, rgba(10, 36, 99, 0.04) 100%);
    border-bottom: 1px solid rgba(62, 146, 204, 0.12);
}

.teacher-teaching-calendar .teaching-cal-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 700;
    color: #0a2463;
}

.teacher-teaching-calendar .teaching-cal-title-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(62, 146, 204, 0.2), rgba(62, 146, 204, 0.08));
    color: #0e4d8a;
}

.teacher-teaching-calendar .teaching-cal-title-icon svg {
    width: 22px;
    height: 22px;
}

.teacher-teaching-calendar .teaching-cal-sub {
    margin: 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    padding-left: 50px;
}

.teacher-teaching-calendar .teaching-cal-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.teacher-teaching-calendar .teaching-cal-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(62, 146, 204, 0.35);
    background: #fff;
    font-size: 20px;
    line-height: 1;
    color: #0e4d8a;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.teacher-teaching-calendar .teaching-cal-nav-btn:hover {
    background: rgba(62, 146, 204, 0.1);
    border-color: #3e92cc;
}

.teacher-teaching-calendar .teaching-cal-month {
    min-width: 120px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #0f2f66;
}

.teacher-teaching-calendar .teaching-cal-today-btn {
    margin-left: 6px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--light-blue) 0%, #2a7ab8 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(62, 146, 204, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.teacher-teaching-calendar .teaching-cal-today-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(62, 146, 204, 0.38);
}

.teacher-teaching-calendar .teaching-cal-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px;
    padding: 12px 22px;
    background: #f8fafc;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    font-size: 12px;
    color: #475569;
}

.teacher-teaching-calendar .teaching-cal-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.teacher-teaching-calendar .teaching-cal-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.teacher-teaching-calendar .teaching-cal-dot--course {
    background: linear-gradient(135deg, #3e92cc, #2563eb);
}

.teacher-teaching-calendar .teaching-cal-dot--challenge {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
}

.teacher-teaching-calendar .teaching-cal-dot--project {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.teacher-teaching-calendar .teaching-cal-dot--activity {
    background: linear-gradient(135deg, #22c55e, #15803d);
}

.teacher-teaching-calendar .teaching-cal-dot--booking {
    background: linear-gradient(135deg, #e6a100, #c2410c);
}

.teacher-teaching-calendar .teaching-cal-body {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 320px);
    gap: 0;
    align-items: stretch;
}

.teacher-teaching-calendar .teaching-cal-grid-wrap {
    padding: 16px 18px 20px;
    border-right: 1px solid rgba(148, 163, 184, 0.2);
}

.teacher-teaching-calendar .teaching-cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
}

.teacher-teaching-calendar .teaching-cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.teacher-teaching-calendar .teaching-cal-cell {
    position: relative;
    min-height: 72px;
    padding: 6px 4px 8px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    font-family: inherit;
}

.teacher-teaching-calendar .teaching-cal-cell--pad {
    border: none;
    background: transparent;
    cursor: default;
    min-height: 0;
    padding: 0;
}

.teacher-teaching-calendar .teaching-cal-cell:hover:not(.teaching-cal-cell--pad) {
    border-color: rgba(62, 146, 204, 0.45);
    box-shadow: 0 2px 10px rgba(62, 146, 204, 0.12);
}

.teacher-teaching-calendar .teaching-cal-cell--today:not(.teaching-cal-cell--pad) {
    border-color: #3e92cc;
    background: rgba(62, 146, 204, 0.06);
}

.teacher-teaching-calendar .teaching-cal-cell--selected:not(.teaching-cal-cell--pad) {
    border-color: var(--light-blue);
    box-shadow: 0 0 0 2px rgba(62, 146, 204, 0.25);
    background: rgba(62, 146, 204, 0.1);
}

.teacher-teaching-calendar .teaching-cal-cell--has .teaching-cal-daynum {
    font-weight: 700;
    color: #0a2463;
}

.teacher-teaching-calendar .teaching-cal-daynum {
    display: block;
    font-size: 14px;
    color: #334155;
}

.teacher-teaching-calendar .teaching-cal-dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3px;
    margin-top: 6px;
    min-height: 14px;
    align-items: center;
}

.teacher-teaching-calendar .teaching-cal-more {
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    line-height: 1;
}

.teacher-teaching-calendar .teaching-cal-aside {
    padding: 16px 18px 20px;
    background: linear-gradient(180deg, #fafbfd 0%, #f1f5f9 100%);
}

.teacher-teaching-calendar .teaching-cal-detail-title {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 700;
    color: #0a2463;
}

.teacher-teaching-calendar .teaching-cal-detail-empty {
    margin: 0;
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.6;
}

.teacher-teaching-calendar .teaching-cal-detail-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.teacher-teaching-calendar .teaching-cal-detail-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 12px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid rgba(62, 146, 204, 0.12);
}

.teacher-teaching-calendar .teaching-cal-type-tag {
    flex-shrink: 0;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 6px;
    color: #fff;
}

.teacher-teaching-calendar .teaching-cal-type--course {
    background: linear-gradient(135deg, #3e92cc, #2563eb);
}

.teacher-teaching-calendar .teaching-cal-type--challenge {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
}

.teacher-teaching-calendar .teaching-cal-type--project {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.teacher-teaching-calendar .teaching-cal-type--activity {
    background: linear-gradient(135deg, #22c55e, #15803d);
}

.teacher-teaching-calendar .teaching-cal-type--booking {
    background: linear-gradient(135deg, #e6a100, #c2410c);
}

.teacher-teaching-calendar .teaching-cal-detail-item-title {
    font-size: 13px;
    font-weight: 600;
    color: #0f2f66;
    line-height: 1.4;
}

.teacher-teaching-calendar .teaching-cal-detail-meta {
    margin-top: 4px;
    font-size: 12px;
    color: #64748b;
}

/* 教师首页主区标题：与学生工作台首页 dashboard-header 结构、间距一致（样式来自 dashboard.css） */
.teacher-dashboard-home .dashboard-header {
    margin-bottom: 28px;
}

.teacher-dashboard-home .dashboard-header h1 {
    margin: 0;
    font-size: 24px;
    color: var(--deep-space-blue);
}

.teacher-dashboard-home .dashboard-header .welcome {
    margin: 4px 0 0;
    font-size: 14px;
    color: var(--dark-gray);
    line-height: 1.65;
    max-width: 720px;
}

/* 首页表格进度条 */
.teacher-dashboard-home .teacher-home-progress-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 140px;
}

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

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

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

.teacher-dashboard-home .teacher-home-progress-fill--amber {
    background: linear-gradient(90deg, #f59e0b, #ea580c);
}

.teacher-dashboard-home .teacher-home-progress-fill--slate {
    background: linear-gradient(90deg, #64748b, #475569);
}

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

.teacher-dashboard-home .dashboard-table-wrap {
    border-radius: 14px;
    border: 1px solid rgba(10, 36, 99, 0.08);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(10, 36, 99, 0.06);
}

.teacher-dashboard-home .task-list .task-item {
    border-radius: 12px;
    border: 1px solid rgba(62, 146, 204, 0.1);
    background: linear-gradient(135deg, #fff 0%, rgba(248, 251, 255, 0.6) 100%);
}

.teacher-dashboard-home .teacher-home-footer-link {
    margin-top: 24px;
    font-size: 13px;
    color: var(--dark-gray);
}

.teacher-dashboard-home .teacher-home-footer-link a {
    color: var(--light-blue);
    text-decoration: none;
    font-weight: 500;
}

.teacher-dashboard-home .teacher-home-footer-link a:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .teacher-teaching-calendar .teaching-cal-body {
        grid-template-columns: 1fr;
    }

    .teacher-teaching-calendar .teaching-cal-grid-wrap {
        border-right: none;
        border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    }
}

@media (max-width: 560px) {
    .teacher-teaching-calendar .teaching-cal-sub {
        padding-left: 0;
    }

    .teacher-teaching-calendar .teaching-cal-cell {
        min-height: 58px;
        padding: 4px 2px;
    }
}

/* ========== 真境赋能 / 真炼计划（对齐双师预约 · 班级任务页风格）========== */
.teacher-zhen-page .dashboard-main {
    padding-top: 20px;
}

.teacher-zhen-page .dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 18px;
    padding: 22px 24px;
    border-radius: 14px;
    border: 1px solid rgba(62, 146, 204, 0.14);
    background: linear-gradient(135deg, rgba(62, 146, 204, 0.08) 0%, rgba(10, 36, 99, 0.04) 100%);
    box-shadow: 0 4px 14px rgba(10, 36, 99, 0.07);
}

.teacher-zhenjing-page .dashboard-header {
    border-left: 4px solid var(--light-blue, #3e92cc);
}

.teacher-zhenlian-page .dashboard-header {
    border-left: 4px solid #7c3aed;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.07) 0%, rgba(10, 36, 99, 0.04) 100%);
}

.teacher-learning-growth-page .dashboard-header {
    border-left: 4px solid #4f46e5;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, rgba(62, 146, 204, 0.06) 50%, rgba(10, 36, 99, 0.04) 100%);
}

.teacher-learning-growth-page .dashboard-header .welcome {
    max-width: 880px;
}

.teacher-learning-growth-page .learning-growth-subsection__head {
    margin-bottom: 14px;
}

.teacher-learning-growth-page .learning-growth-subsection__title {
    margin: 0 0 8px;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f2f66;
}

.teacher-learning-growth-page .learning-growth-subsection__lead {
    margin: 0;
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    max-width: 920px;
}

.teacher-learning-growth-page .learning-growth-subsection--spaced {
    margin-top: 32px;
    padding-top: 8px;
}

.teacher-learning-growth-page .learning-growth-subsection--spaced-top {
    margin-top: 28px;
    padding-top: 12px;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.teacher-learning-growth-page .learning-my-enrollments {
    margin-bottom: 8px;
}

.teacher-learning-growth-page .learning-my-enrollments__head {
    margin-bottom: 16px;
}

.teacher-learning-growth-page .learning-my-enrollments__sub {
    margin: 0;
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    max-width: 920px;
}

.teacher-learning-growth-page .learning-my-block {
    margin-bottom: 24px;
}

.teacher-learning-growth-page .learning-my-block__title {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
    color: #0f2f66;
}

.teacher-learning-growth-page .learning-my-card-grid {
    margin-top: 8px;
}

.teacher-learning-growth-page .learning-my-empty {
    margin: 0 0 12px;
    padding: 14px 16px;
    font-size: 14px;
    color: #64748b;
    line-height: 1.55;
    border-radius: 12px;
    background: rgba(248, 250, 252, 0.95);
    border: 1px dashed rgba(148, 163, 184, 0.45);
}

.teacher-learning-growth-page .learning-my-empty--global {
    margin-bottom: 20px;
}

.teacher-learning-growth-page .learning-my-empty a {
    color: var(--light-blue, #3e92cc);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.teacher-learning-growth-page .learning-my-empty a:hover {
    color: #2563eb;
}

.teacher-zhen-page .zhen-card--my-enrollment .zhen-card-actions {
    margin-top: 4px;
}

.teacher-zhen-page .zhen-my-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #0369a1;
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(14, 165, 233, 0.25);
}

.teacher-zhen-page .zhen-my-badge--paid {
    color: #6d28d9;
    background: rgba(124, 58, 237, 0.1);
    border-color: rgba(124, 58, 237, 0.28);
}

.teacher-zhen-page .zhen-detail-stale-banner {
    margin-bottom: 16px;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.5;
    color: #92400e;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 10px;
}

.teacher-zhen-page .zhen-detail-block--my-reg {
    margin-top: 8px;
    border-color: rgba(62, 146, 204, 0.22);
    background: rgba(62, 146, 204, 0.04);
}

.teacher-zhen-page .zhen-page-eyebrow {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
}

.teacher-zhen-page .dashboard-header h1 {
    margin: 0 0 6px;
    font-size: 24px;
    color: #0f2f66;
}

.teacher-zhen-page .dashboard-header .welcome {
    margin: 0;
    font-size: 14px;
    color: #4f5f79;
    line-height: 1.65;
    max-width: 720px;
}

.teacher-zhen-page .dashboard-header .header-actions-wrap {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.teacher-zhen-page .dashboard-header .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.teacher-zhen-page .dashboard-header .btn-secondary {
    color: #fff;
    background: linear-gradient(135deg, var(--light-blue, #3e92cc) 0%, #2a7ab8 100%);
    box-shadow: 0 4px 12px rgba(62, 146, 204, 0.3);
}

.teacher-zhenlian-page .dashboard-header .btn-secondary {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35);
}

.teacher-zhen-page .dashboard-header .btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(62, 146, 204, 0.38);
}

.teacher-zhenlian-page .dashboard-header .btn-secondary:hover {
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.42);
}

.teacher-zhen-page .dashboard-header .btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #0a2463 0%, var(--deep-space-blue, #0a2463) 100%);
    box-shadow: 0 4px 12px rgba(10, 36, 99, 0.25);
}

.teacher-zhen-page .dashboard-header .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(10, 36, 99, 0.35);
}

/* 概览卡（与双师预约一致） */
.teacher-zhen-page .my-overview-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
    padding: 20px 24px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(248, 250, 252, 0.95) 0%, rgba(241, 245, 249, 0.9) 100%);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.teacher-zhen-page .my-overview-card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(10, 36, 99, 0.1);
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 4px 14px rgba(10, 36, 99, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.teacher-zhen-page .my-overview-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(10, 36, 99, 0.1);
}

.teacher-zhen-page .my-overview-card .label {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
}

.teacher-zhen-page .my-overview-card .value {
    margin: 0;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 700;
}

.teacher-zhen-page .my-overview-card .hint {
    margin: 8px 0 0;
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.4;
}

.teacher-zhen-page .my-overview-card.card-accent-amber {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.12) 0%, rgba(254, 243, 199, 0.6) 100%);
    border-color: rgba(251, 191, 36, 0.25);
}

.teacher-zhen-page .my-overview-card.card-accent-green {
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.1) 0%, rgba(187, 247, 208, 0.5) 100%);
    border-color: rgba(72, 187, 120, 0.22);
}

.teacher-zhen-page .my-overview-card.card-accent-blue {
    background: linear-gradient(135deg, rgba(62, 146, 204, 0.1) 0%, rgba(191, 219, 254, 0.5) 100%);
    border-color: rgba(62, 146, 204, 0.22);
}

.teacher-zhen-page .my-overview-card.card-accent-violet {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(233, 213, 255, 0.5) 100%);
    border-color: rgba(139, 92, 246, 0.2);
}

.teacher-zhen-page .my-overview-card.card-accent-amber .value { color: #b45309; }
.teacher-zhen-page .my-overview-card.card-accent-green .value { color: #2f855a; }
.teacher-zhen-page .my-overview-card.card-accent-blue .value { color: #0e4d8a; }
.teacher-zhen-page .my-overview-card.card-accent-violet .value { color: #5b21b6; }

/* 专项研修页 */
.teacher-training-activities-page .training-ta-overview {
    margin-bottom: 22px;
}

.teacher-training-activities-page .training-ta-section {
    margin-top: 8px;
}

.teacher-training-activities-page .training-ta-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.teacher-training-activities-page .training-ta-section-title {
    margin: 0 0 8px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
}

.teacher-training-activities-page .training-ta-section-sub {
    margin: 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    max-width: 42rem;
}

.teacher-training-activities-page .training-ta-search-input {
    min-width: 220px;
    padding: 10px 14px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    border-radius: 12px;
    font-size: 14px;
    background: #fff;
    outline: none;
}

.teacher-training-activities-page .training-ta-search-input:focus {
    border-color: rgba(62, 146, 204, 0.75);
    box-shadow: 0 0 0 3px rgba(62, 146, 204, 0.18);
}

.teacher-training-activities-page .training-ta-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.teacher-training-activities-page .training-ta-filter-btn {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.teacher-training-activities-page .training-ta-filter-btn:hover {
    border-color: rgba(62, 146, 204, 0.45);
    color: #0e4d8a;
    background: rgba(248, 251, 255, 0.85);
}

.teacher-training-activities-page .training-ta-filter-btn:focus-visible {
    outline: 2px solid rgba(62, 146, 204, 0.5);
    outline-offset: 2px;
}

.teacher-training-activities-page .training-ta-filter-btn.active {
    border-color: rgba(62, 146, 204, 0.72);
    background: linear-gradient(135deg, rgba(62, 146, 204, 0.16) 0%, rgba(239, 246, 255, 0.98) 100%);
    color: #0a2463;
    box-shadow: 0 2px 10px rgba(62, 146, 204, 0.14);
}

.teacher-training-activities-page .training-ta-empty {
    margin: 0 0 12px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(241, 245, 249, 0.9);
    border: 1px dashed rgba(148, 163, 184, 0.45);
    font-size: 14px;
    color: #64748b;
}

.teacher-training-activities-page .training-ta-card-grid {
    margin-top: 4px;
}

.teacher-training-activities-page .training-activities-format-pill {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    color: #0c4a6e;
    letter-spacing: 0.02em;
}

.teacher-training-activities-page .zhen-card-head {
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: flex-start;
}

.teacher-training-activities-page .ta-registered-chip {
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.16);
    color: #15803d;
    border: 1px solid rgba(34, 197, 94, 0.35);
    white-space: nowrap;
}

.teacher-training-activities-page .ta-detail-modal-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.teacher-training-activities-page .ta-detail-modal-footer .btn-sm,
.teacher-training-activities-page .ta-register-modal-footer .btn-sm {
    min-width: 104px;
    min-height: 40px;
    border-radius: 10px;
    font-weight: 600;
}

.teacher-training-activities-page .ta-register-modal-footer .btn-sm.btn-primary {
    min-width: 120px;
}

.teacher-training-activities-page .ta-register-modal-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

/* 顶栏操作区：与教师工作台真境专题页头按钮一致 */
.teacher-training-activities-page .dashboard-header .header-actions-wrap .btn-sm {
    min-height: 38px;
    border-radius: 10px;
    font-weight: 600;
}

/* 活动卡片底部「详情 + 报名」（本页无 teacher-zhenjing-page，需单独命中 split） */
.teacher-training-activities-page .zhen-card-actions--split {
    gap: 12px;
    padding-top: 14px;
    margin-top: auto;
    border-top: 1px solid rgba(62, 146, 204, 0.14);
    background: linear-gradient(180deg, transparent 0%, rgba(248, 251, 255, 0.65) 100%);
    border-radius: 0 0 12px 12px;
    margin-left: -4px;
    margin-right: -4px;
    padding-left: 4px;
    padding-right: 4px;
    padding-bottom: 2px;
}

.teacher-training-activities-page .zhen-card-actions--split .btn-sm {
    flex: 1;
    min-height: 42px;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    gap: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.teacher-training-activities-page .zhen-card-actions--split .btn-sm:focus-visible {
    outline: 2px solid rgba(62, 146, 204, 0.55);
    outline-offset: 2px;
}

.teacher-training-activities-page .zhen-card-actions--split .btn-sm.btn-secondary {
    color: #0e4d8a;
    background: linear-gradient(180deg, #fff 0%, rgba(239, 246, 255, 0.92) 100%);
    border: 1px solid rgba(62, 146, 204, 0.45);
    box-shadow: 0 2px 10px rgba(10, 36, 99, 0.07);
}

.teacher-training-activities-page .zhen-card-actions--split .btn-sm.btn-secondary:hover {
    transform: translateY(-1px);
    background: rgba(62, 146, 204, 0.11);
    border-color: rgba(62, 146, 204, 0.68);
    color: #0a2463;
    box-shadow: 0 4px 14px rgba(62, 146, 204, 0.14);
}

.teacher-training-activities-page .zhen-card-actions--split .btn-sm.btn-secondary:active {
    transform: translateY(0);
}

.teacher-training-activities-page .zhen-card-actions--split .btn-sm.btn-primary:not(:disabled) {
    color: #fff;
    border: none;
    background: linear-gradient(135deg, var(--light-blue) 0%, #2a7ab8 100%);
    box-shadow: 0 4px 14px rgba(62, 146, 204, 0.32);
}

.teacher-training-activities-page .zhen-card-actions--split .btn-sm.btn-primary:not(:disabled):hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #2a7ab8 0%, #0a2463 100%);
    box-shadow: 0 6px 18px rgba(62, 146, 204, 0.38);
}

.teacher-training-activities-page .zhen-card-actions--split .btn-sm.btn-primary:not(:disabled):active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(62, 146, 204, 0.28);
}

.teacher-training-activities-page .zhen-card-actions--split .btn-sm.btn-primary:disabled {
    opacity: 1;
    color: rgba(255, 255, 255, 0.92);
    cursor: not-allowed;
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    box-shadow: none;
    transform: none;
}

@media (max-width: 420px) {
    .teacher-training-activities-page .zhen-card-actions--split {
        flex-direction: column;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .teacher-training-activities-page .zhen-card-actions--split .btn-sm {
        width: 100%;
        min-height: 44px;
    }
}

.teacher-training-activities-page .ta-myregs-box {
    margin-bottom: 18px;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid rgba(62, 146, 204, 0.22);
    background: linear-gradient(135deg, rgba(62, 146, 204, 0.06) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.teacher-training-activities-page .ta-myregs-title {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    color: #0e4d8a;
}

.teacher-training-activities-page .ta-myregs-ul {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 13px;
    color: #475569;
    line-height: 1.55;
}

.teacher-training-activities-page .ta-detail-ul {
    margin: 0;
    padding-left: 1.2rem;
    line-height: 1.6;
    color: #334155;
}

.teacher-training-activities-page .ta-detail-ul li {
    margin-bottom: 6px;
}

.teacher-training-activities-page .ta-reg-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.teacher-training-activities-page .ta-form-input {
    border: 1px solid rgba(148, 163, 184, 0.45);
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    background: #fff;
}

.teacher-training-activities-page .ta-form-input:focus {
    border-color: rgba(62, 146, 204, 0.75);
    box-shadow: 0 0 0 3px rgba(62, 146, 204, 0.18);
}

.teacher-training-activities-page .ta-form-textarea {
    resize: vertical;
    min-height: 64px;
    line-height: 1.5;
}

/* 价值横幅 */
.zhen-value-banner {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
    padding: 26px 28px;
    border-radius: 16px;
    border: 1px solid rgba(10, 36, 99, 0.1);
    box-shadow: 0 4px 16px rgba(10, 36, 99, 0.06);
    overflow: hidden;
    position: relative;
}

.zhen-value-banner--jing {
    background: linear-gradient(125deg, #fff 0%, rgba(239, 246, 255, 0.95) 40%, rgba(224, 242, 254, 0.5) 100%);
}

.zhen-value-banner--jing::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -8%;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(62, 146, 204, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.zhen-value-banner--lian {
    background: linear-gradient(125deg, #fff 0%, rgba(245, 243, 255, 0.95) 42%, rgba(237, 233, 254, 0.55) 100%);
}

.zhen-value-banner--lian::before {
    content: '';
    position: absolute;
    top: -35%;
    right: -6%;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.14) 0%, transparent 70%);
    pointer-events: none;
}

.zhen-value-banner__content {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 0;
}

.zhen-value-banner__title {
    margin: 0 0 10px;
    font-size: 1.28rem;
    font-weight: 700;
    color: #0e4d8a;
    letter-spacing: -0.02em;
}

.zhen-value-banner--lian .zhen-value-banner__title {
    color: #5b21b6;
}

.zhen-value-banner__text {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.65;
    color: #475569;
    max-width: 640px;
}

.zhen-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

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

.zhen-pill--lian {
    color: #6d28d9;
    background: rgba(139, 92, 246, 0.12);
    border-color: rgba(139, 92, 246, 0.22);
}

.zhen-pill--ta {
    color: #b45309;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.28);
}

.zhen-value-banner--growth {
    background: linear-gradient(125deg, #fff 0%, rgba(239, 246, 255, 0.88) 38%, rgba(245, 243, 255, 0.55) 72%, rgba(255, 251, 235, 0.45) 100%);
}

.zhen-value-banner--growth::before {
    content: '';
    position: absolute;
    top: -38%;
    right: -6%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.12) 0%, transparent 68%);
    pointer-events: none;
}

.zhen-value-banner--growth .zhen-value-banner__title {
    color: #0f172a;
}

.zhen-deco-orbit--growth {
    position: relative;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    border: 2px dashed rgba(79, 70, 229, 0.28);
    background: linear-gradient(145deg, rgba(62, 146, 204, 0.08) 0%, rgba(139, 92, 246, 0.06) 50%, rgba(245, 158, 11, 0.07) 100%);
}

.zhen-deco-orbit--growth .zhen-deco-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--light-blue, #3e92cc);
    box-shadow: 0 0 0 4px rgba(62, 146, 204, 0.2);
}

.zhen-deco-orbit--growth .zhen-deco-dot:nth-child(1) {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.zhen-deco-orbit--growth .zhen-deco-dot--violet {
    bottom: 14px;
    left: 12px;
    background: #7c3aed;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.22);
}

.zhen-deco-orbit--growth .zhen-deco-dot--amber {
    bottom: 14px;
    right: 10px;
    background: #d97706;
    box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.2);
}

.zhen-value-banner__visual {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zhen-deco-orbit--jing {
    position: relative;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 2px dashed rgba(62, 146, 204, 0.35);
    background: rgba(62, 146, 204, 0.06);
}

.zhen-deco-orbit--jing .zhen-deco-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--light-blue, #3e92cc);
    box-shadow: 0 0 0 4px rgba(62, 146, 204, 0.2);
}

.zhen-deco-orbit--jing .zhen-deco-dot:nth-child(1) { top: 8px; left: 50%; transform: translateX(-50%); }
.zhen-deco-orbit--jing .zhen-deco-dot:nth-child(2) { bottom: 14px; left: 12px; }
.zhen-deco-orbit--jing .zhen-deco-dot:nth-child(3) { bottom: 14px; right: 12px; background: #0a2463; box-shadow: 0 0 0 4px rgba(10, 36, 99, 0.15); }

.zhen-deco-orbit--lian {
    position: relative;
    width: 92px;
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zhen-deco-orbit--lian .zhen-deco-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid rgba(124, 58, 237, 0.25);
    border-top-color: #7c3aed;
    animation: zhen-spin-slow 10s linear infinite;
}

.zhen-deco-orbit--lian .zhen-deco-core {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    box-shadow: 0 8px 20px rgba(91, 33, 182, 0.35);
}

@keyframes zhen-spin-slow {
    to { transform: rotate(360deg); }
}

/* 列表主区块（对齐预约列表） */
.teacher-zhen-page .zhen-program-section.course-section {
    border: 1px solid rgba(10, 36, 99, 0.1);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(10, 36, 99, 0.06);
    margin-bottom: 28px;
    overflow: hidden;
}

.teacher-zhen-page .zhen-program-section--jing.learning-section {
    border-left: 4px solid #3e92cc;
}

.teacher-zhen-page .zhen-program-section--lian.learning-section {
    border-left: 4px solid #7c3aed;
}

.teacher-zhen-page .zhen-program-section .course-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(62, 146, 204, 0.12);
}

.teacher-zhen-page .zhen-program-section--jing .course-section-header {
    background: rgba(62, 146, 204, 0.06);
}

.teacher-zhen-page .zhen-program-section--lian .course-section-header {
    background: rgba(124, 58, 237, 0.06);
    border-bottom-color: rgba(124, 58, 237, 0.12);
}

.teacher-zhen-page .zhen-program-header-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.teacher-zhen-page .zhen-program-section .course-section-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #0e4d8a;
}

.teacher-zhen-page .zhen-program-section--lian .course-section-header h2 {
    color: #5b21b6;
}

.teacher-zhen-page .zhen-program-section .section-hint {
    font-size: 13px;
    font-weight: 400;
    color: #64748b;
    line-height: 1.4;
}

.teacher-zhen-page .zhen-program-section .section-count {
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    height: 28px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #0e4d8a;
    background: rgba(62, 146, 204, 0.15);
}

.teacher-zhen-page .zhen-program-section--lian .section-count {
    color: #5b21b6;
    background: rgba(139, 92, 246, 0.15);
}

.teacher-zhen-page .zhen-program-section .section-inner {
    padding: 20px 24px 24px;
}

/* 活动 / 项目卡片 */
.zhen-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
    align-items: stretch;
}

.zhen-card {
    position: relative;
    background: linear-gradient(180deg, #fff 0%, rgba(248, 250, 252, 0.5) 100%);
    border-radius: 14px;
    border: 1px solid rgba(10, 36, 99, 0.09);
    box-shadow: 0 4px 16px rgba(10, 36, 99, 0.05);
    padding: 20px 20px 18px 22px;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 0;
    box-sizing: border-box;
    transition: box-shadow 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

/* 活动列表：同一行卡片等高，底部操作区贴齐卡片下沿 */
.teacher-zhenjing-page .zhen-card-grid > .zhen-card,
.teacher-zhenlian-page .zhen-card-grid > .zhen-card {
    height: 100%;
}

.teacher-zhenjing-page .zhen-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: linear-gradient(180deg, #3e92cc 0%, #0a2463 100%);
}

.teacher-zhenlian-page .zhen-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: linear-gradient(180deg, #a78bfa 0%, #5b21b6 100%);
}

.zhen-card:hover {
    border-color: rgba(62, 146, 204, 0.28);
    box-shadow: 0 10px 32px rgba(10, 36, 99, 0.1);
    transform: translateY(-2px);
}

.teacher-zhenlian-page .zhen-card:hover {
    border-color: rgba(124, 58, 237, 0.28);
}

.zhen-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.zhen-card-head-titles {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.zhen-card-head-titles .zhen-card-title {
    flex: none;
    width: 100%;
    margin: 0;
}

.zhen-fee-badge {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 8px;
}

.zhen-fee-badge--free {
    color: #15803d;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.zhen-fee-badge--paid {
    color: #b45309;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.28);
}

.zhen-fee-badge--paid strong {
    font-weight: 800;
}

.zhen-fee-badge__unit {
    font-weight: 600;
    opacity: 0.92;
}

.zhen-card-title {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.45;
    font-weight: 700;
    color: #0f2f66;
    flex: 1;
}

.zhen-detail-block--fee-paid .zhen-detail-block-title {
    color: #b45309;
}

.zhen-detail-block--fee-free .zhen-detail-block-title {
    color: #15803d;
}

.zhen-fee-highlight {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.65;
    color: #334155;
}

.zhen-detail-meta-item--fee {
    font-weight: 600;
}

/* 真境报名：费用摘要 + 演示支付 */
.zhen-register-fee-summary {
    margin: 0 20px 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(62, 146, 204, 0.06);
    border: 1px solid rgba(62, 146, 204, 0.15);
}

.zhen-register-fee-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-size: 13px;
    margin-bottom: 6px;
}

.zhen-register-fee-summary__row .label {
    color: #64748b;
    flex-shrink: 0;
}

.zhen-register-fee-summary__row .value {
    color: #0f2f66;
    font-weight: 600;
    text-align: right;
}

.zhen-register-fee-amount {
    font-size: 18px;
    font-weight: 800;
    color: #b45309;
}

.zhen-register-fee-note {
    margin: 10px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: #64748b;
}

.zhen-register-pay-step {
    padding-top: 4px;
}

.zhen-pay-order-tip {
    margin: 0 0 12px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

.zhen-pay-amount-line {
    margin: 0 0 16px;
    font-size: 15px;
    color: #334155;
}

.zhen-pay-amount-line strong {
    font-size: 22px;
    color: #b45309;
}

.zhen-pay-per-unit {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.zhen-pay-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.zhen-pay-method {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 2px solid rgba(148, 163, 184, 0.4);
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.zhen-pay-method:hover {
    border-color: rgba(62, 146, 204, 0.45);
    background: rgba(62, 146, 204, 0.04);
}

.zhen-pay-method.is-selected {
    border-color: #3e92cc;
    box-shadow: 0 0 0 3px rgba(62, 146, 204, 0.15);
    background: rgba(62, 146, 204, 0.08);
}

.zhen-pay-method__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

.zhen-pay-method--wechat .zhen-pay-method__icon {
    background: linear-gradient(135deg, #07c160, #06ae56);
}

.zhen-pay-method--alipay .zhen-pay-method__icon {
    background: linear-gradient(135deg, #1677ff, #0958d9);
}

.zhen-pay-selected-hint {
    margin: 0;
    min-height: 20px;
    font-size: 13px;
    color: #0e4d8a;
    font-weight: 600;
}

.zhen-register-modal-footer {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.zhen-status {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 5px 10px;
    border-radius: 999px;
}

.zhen-status-open {
    background: rgba(34, 197, 94, 0.15);
    color: #15803d;
}

.zhen-status-soon {
    background: rgba(59, 130, 246, 0.15);
    color: #1d4ed8;
}

.zhen-status-review {
    background: rgba(245, 158, 11, 0.18);
    color: #b45309;
}

.zhen-status-closed {
    background: rgba(148, 163, 184, 0.25);
    color: #64748b;
}

.zhen-meta-stack {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.zhen-card-meta {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #334155;
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.zhen-meta-key {
    flex-shrink: 0;
    min-width: 44px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
}

.zhen-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.teacher-zhenjing-page .zhen-tag {
    font-size: 11px;
    padding: 4px 9px;
    border-radius: 8px;
    font-weight: 600;
    background: rgba(62, 146, 204, 0.12);
    color: #0369a1;
    border: 1px solid rgba(62, 146, 204, 0.15);
}

.teacher-zhenlian-page .zhen-tag {
    font-size: 11px;
    padding: 4px 9px;
    border-radius: 8px;
    font-weight: 600;
    background: rgba(139, 92, 246, 0.1);
    color: #6d28d9;
    border: 1px solid rgba(139, 92, 246, 0.18);
}

.teacher-zhenjing-page .zhen-tag.zhen-tag--enterprise,
.teacher-zhenlian-page .zhen-tag.zhen-tag--enterprise {
    background: rgba(201, 162, 39, 0.2);
    color: #713f12;
    border-color: rgba(201, 162, 39, 0.35);
}

.zhen-card-desc,
.zhen-card-section {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.6;
    color: #475569;
}

.zhen-card-section:last-of-type {
    margin-bottom: 0;
}

.zhen-sec-label {
    display: inline-block;
    margin-right: 6px;
    padding: 1px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #5b21b6;
    background: rgba(139, 92, 246, 0.12);
    vertical-align: middle;
}

.zhen-card-actions {
    margin-top: auto;
    padding-top: 16px;
    flex-shrink: 0;
}

.zhen-card-actions .btn-sm.btn-primary {
    width: 100%;
    justify-content: center;
    min-height: 40px;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(10, 36, 99, 0.12);
}

.teacher-zhenlian-page .zhen-card-actions .btn-sm.btn-primary:not(:disabled) {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    border: none;
    box-shadow: 0 4px 14px rgba(91, 33, 182, 0.3);
}

.teacher-zhenlian-page .zhen-card-actions .btn-sm.btn-primary:not(:disabled):hover {
    box-shadow: 0 6px 18px rgba(91, 33, 182, 0.38);
}

.zhen-card-actions .btn-sm:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}

/* 活动列表：详情 + 报名双按钮 */
.zhen-card-actions--split {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: stretch;
}

.zhen-card-actions--split .btn-sm {
    flex: 1;
    min-height: 40px;
    border-radius: 10px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.zhen-card-actions--split .btn-sm.btn-primary {
    width: auto;
}

/* 真境赋能 · 活动卡片操作区（对齐双师预约 / 班级任务表格按钮体系） */
.teacher-zhenjing-page .zhen-card-actions--split {
    gap: 12px;
    padding-top: 14px;
    margin-top: auto;
    border-top: 1px solid rgba(62, 146, 204, 0.14);
    background: linear-gradient(180deg, transparent 0%, rgba(248, 251, 255, 0.65) 100%);
    border-radius: 0 0 12px 12px;
    margin-left: -4px;
    margin-right: -4px;
    padding-left: 4px;
    padding-right: 4px;
    padding-bottom: 2px;
}

.teacher-zhenjing-page .zhen-card-actions--split .btn-sm {
    min-height: 42px;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    gap: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.teacher-zhenjing-page .zhen-card-actions--split .btn-sm:focus-visible {
    outline: 2px solid rgba(62, 146, 204, 0.55);
    outline-offset: 2px;
}

.teacher-zhenjing-page .zhen-card-actions--split .btn-sm.btn-secondary {
    color: #0e4d8a;
    background: linear-gradient(180deg, #fff 0%, rgba(239, 246, 255, 0.92) 100%);
    border: 1px solid rgba(62, 146, 204, 0.45);
    box-shadow: 0 2px 10px rgba(10, 36, 99, 0.07);
}

.teacher-zhenjing-page .zhen-card-actions--split .btn-sm.btn-secondary:hover {
    transform: translateY(-1px);
    background: rgba(62, 146, 204, 0.11);
    border-color: rgba(62, 146, 204, 0.68);
    color: #0a2463;
    box-shadow: 0 4px 14px rgba(62, 146, 204, 0.14);
}

.teacher-zhenjing-page .zhen-card-actions--split .btn-sm.btn-secondary:active {
    transform: translateY(0);
}

.teacher-zhenjing-page .zhen-card-actions--split .btn-sm.btn-primary:not(:disabled) {
    color: #fff;
    border: none;
    background: linear-gradient(135deg, var(--light-blue) 0%, #2a7ab8 100%);
    box-shadow: 0 4px 14px rgba(62, 146, 204, 0.32);
}

.teacher-zhenjing-page .zhen-card-actions--split .btn-sm.btn-primary:not(:disabled):hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #2a7ab8 0%, #0a2463 100%);
    box-shadow: 0 6px 18px rgba(62, 146, 204, 0.38);
}

.teacher-zhenjing-page .zhen-card-actions--split .btn-sm.btn-primary:not(:disabled):active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(62, 146, 204, 0.28);
}

.teacher-zhenjing-page .zhen-card-actions--split .btn-sm.btn-primary:disabled {
    opacity: 1;
    color: rgba(255, 255, 255, 0.92);
    cursor: not-allowed;
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    box-shadow: none;
    transform: none;
}

.teacher-zhenjing-page .zhen-card-actions--split .btn-sm .zhen-btn-icon {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    opacity: 0.95;
}

@media (max-width: 420px) {
    .teacher-zhenjing-page .zhen-card-actions--split {
        flex-direction: column;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .teacher-zhenjing-page .zhen-card-actions--split .btn-sm {
        width: 100%;
        min-height: 44px;
    }
}

/* 真炼计划 · 招募卡片：详情 + 报名双按钮（紫色主题） */
.teacher-zhenlian-page .zhen-card-actions--split {
    gap: 12px;
    padding-top: 14px;
    margin-top: auto;
    border-top: 1px solid rgba(124, 58, 237, 0.16);
    background: linear-gradient(180deg, transparent 0%, rgba(250, 245, 255, 0.72) 100%);
    border-radius: 0 0 12px 12px;
    margin-left: -4px;
    margin-right: -4px;
    padding-left: 4px;
    padding-right: 4px;
    padding-bottom: 2px;
}

.teacher-zhenlian-page .zhen-card-actions--split .btn-sm {
    min-height: 42px;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    gap: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.teacher-zhenlian-page .zhen-card-actions--split .btn-sm:focus-visible {
    outline: 2px solid rgba(124, 58, 237, 0.5);
    outline-offset: 2px;
}

.teacher-zhenlian-page .zhen-card-actions--split .btn-sm.btn-secondary {
    color: #5b21b6;
    background: linear-gradient(180deg, #fff 0%, rgba(245, 243, 255, 0.95) 100%);
    border: 1px solid rgba(124, 58, 237, 0.42);
    box-shadow: 0 2px 10px rgba(91, 33, 182, 0.08);
}

.teacher-zhenlian-page .zhen-card-actions--split .btn-sm.btn-secondary:hover {
    transform: translateY(-1px);
    background: rgba(124, 58, 237, 0.1);
    border-color: rgba(124, 58, 237, 0.62);
    color: #4c1d95;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.16);
}

.teacher-zhenlian-page .zhen-card-actions--split .btn-sm.btn-secondary:active {
    transform: translateY(0);
}

.teacher-zhenlian-page .zhen-card-actions--split .btn-sm.btn-primary:not(:disabled) {
    color: #fff;
    border: none;
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    box-shadow: 0 4px 14px rgba(91, 33, 182, 0.32);
}

.teacher-zhenlian-page .zhen-card-actions--split .btn-sm.btn-primary:not(:disabled):hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #6d28d9 0%, #4c1d95 100%);
    box-shadow: 0 6px 18px rgba(91, 33, 182, 0.38);
}

.teacher-zhenlian-page .zhen-card-actions--split .btn-sm.btn-primary:not(:disabled):active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(91, 33, 182, 0.28);
}

.teacher-zhenlian-page .zhen-card-actions--split .btn-sm.btn-primary:disabled {
    opacity: 1;
    color: rgba(255, 255, 255, 0.92);
    cursor: not-allowed;
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    box-shadow: none;
    transform: none;
}

.teacher-zhenlian-page .zhen-card-actions--split .btn-sm .zhen-btn-icon {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    opacity: 0.95;
}

@media (max-width: 420px) {
    .teacher-zhenlian-page .zhen-card-actions--split {
        flex-direction: column;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .teacher-zhenlian-page .zhen-card-actions--split .btn-sm {
        width: 100%;
        min-height: 44px;
    }
}

/* 活动详情弹窗（真境赋能） */
.zhen-modal-overlay--detail {
    z-index: 10070;
}

.zhen-modal--activity-detail {
    max-width: 640px;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.zhen-detail-modal-head {
    align-items: flex-start;
    padding-bottom: 4px;
}

.zhen-detail-head-text {
    flex: 1;
    min-width: 0;
    padding-right: 8px;
}

.zhen-detail-kicker {
    margin: 0 0 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #3e92cc;
}

.zhen-detail-modal-head h2 {
    margin: 0;
    font-size: 1.22rem;
    font-weight: 700;
    line-height: 1.35;
    color: #0f2f66;
}

.zhen-detail-modal-sub {
    padding: 4px 20px 14px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
    flex-shrink: 0;
}

.zhen-detail-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    font-size: 13px;
    line-height: 1.5;
    color: #475569;
}

.zhen-detail-meta-item strong {
    color: #64748b;
    font-weight: 600;
    margin-right: 4px;
}

.zhen-detail-modal-sub .zhen-detail-tags {
    margin-top: 12px;
}

.zhen-detail-modal-body {
    padding: 18px 20px 8px;
    overflow-y: auto;
    flex: 1;
    min-height: 100px;
    max-height: min(52vh, 440px);
    -webkit-overflow-scrolling: touch;
}

.zhen-detail-block {
    margin-bottom: 22px;
}

.zhen-detail-block:last-child {
    margin-bottom: 4px;
}

.zhen-detail-block-title {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 700;
    color: #0e4d8a;
}

.zhen-detail-block--notice {
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.22);
}

.zhen-detail-block--notice .zhen-detail-block-title {
    color: #b45309;
}

.zhen-detail-block-body p {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.72;
    color: #334155;
}

.zhen-detail-block-body p:last-child {
    margin-bottom: 0;
}

.zhen-detail-list {
    margin: 0;
    padding-left: 1.2rem;
    font-size: 14px;
    line-height: 1.65;
    color: #334155;
}

.zhen-detail-list li {
    margin-bottom: 10px;
}

.zhen-detail-list li:last-child {
    margin-bottom: 0;
}

.zhen-detail-modal-footer {
    flex-shrink: 0;
}

/* 报名弹窗 */
.zhen-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10060;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.zhen-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
}

.zhen-modal {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.22);
    border: 1px solid rgba(10, 36, 99, 0.08);
    overflow: hidden;
}

.zhen-modal-topbar {
    height: 4px;
    width: 100%;
}

.teacher-zhenjing-page .zhen-modal-topbar {
    background: linear-gradient(90deg, #3e92cc 0%, #0a2463 100%);
}

.teacher-zhenlian-page .zhen-modal-topbar {
    background: linear-gradient(90deg, #a78bfa 0%, #5b21b6 100%);
}

.zhen-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 0;
}

.zhen-modal-head h2 {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 700;
    color: #0f2f66;
}

.zhen-modal-close {
    border: none;
    background: rgba(241, 245, 249, 0.9);
    font-size: 22px;
    line-height: 1;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.zhen-modal-close:hover {
    background: #e2e8f0;
    color: #334155;
}

.zhen-modal-sub {
    margin: 10px 20px 0;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    color: #0e4d8a;
    background: rgba(62, 146, 204, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(62, 146, 204, 0.12);
}

.teacher-zhenlian-page .zhen-modal-sub {
    color: #5b21b6;
    background: rgba(139, 92, 246, 0.08);
    border-color: rgba(139, 92, 246, 0.15);
}

.zhen-modal-body {
    padding: 16px 20px 8px;
}

.zhen-form-row {
    margin-bottom: 14px;
}

.zhen-form-row label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
}

.zhen-form-row input,
.zhen-form-row textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.zhen-form-row input:focus,
.zhen-form-row textarea:focus {
    outline: none;
    border-color: rgba(62, 146, 204, 0.55);
    box-shadow: 0 0 0 3px rgba(62, 146, 204, 0.12);
}

.teacher-zhenlian-page .zhen-form-row input:focus,
.teacher-zhenlian-page .zhen-form-row textarea:focus {
    border-color: rgba(124, 58, 237, 0.45);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.zhen-form-row textarea {
    resize: vertical;
    min-height: 72px;
}

.zhen-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 20px 20px;
    border-top: 1px solid rgba(241, 245, 249, 0.95);
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.5) 0%, #fff 100%);
}

.zhen-modal-footer .btn-sm {
    min-height: 38px;
    padding: 8px 18px;
    border-radius: 10px;
    font-weight: 600;
}

@media (max-width: 900px) {
    .teacher-zhen-page .dashboard-header {
        flex-direction: column;
    }

    .teacher-zhen-page .dashboard-header .header-actions-wrap {
        width: 100%;
    }

    .teacher-zhen-page .dashboard-header .btn-sm {
        flex: 1;
        min-width: 120px;
    }
}

@media (max-width: 768px) {
    .zhen-value-banner {
        flex-direction: column;
        padding: 22px 20px;
    }

    .zhen-value-banner__visual {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .zhen-card-grid {
        grid-template-columns: 1fr;
    }

    .teacher-zhen-page .my-overview-cards {
        grid-template-columns: 1fr;
    }
}

/* 教师端 · 学生能力雷达（子页顶栏返回） */
.teacher-student-radar-page .teacher-radar-back-bar {
    margin-bottom: 16px;
}

.teacher-student-radar-page .teacher-radar-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, var(--light-blue) 0%, #2a7ab8 100%);
    box-shadow: 0 4px 12px rgba(62, 146, 204, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.teacher-student-radar-page .teacher-radar-back-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(62, 146, 204, 0.38);
}

.teacher-student-radar-page .teacher-radar-back-link:focus-visible {
    outline: 2px solid #3e92cc;
    outline-offset: 2px;
}

/* ========== 学生能力洞察（与班级与任务 / 进度看板统一风格） ========== */
.teacher-student-ability-page .dashboard-main {
    padding-top: 20px;
}

.teacher-student-ability-page .dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 18px;
    padding: 22px 24px;
    border-radius: 14px;
    border: 1px solid rgba(62, 146, 204, 0.14);
    border-left: 4px solid var(--light-blue);
    background: linear-gradient(135deg, rgba(62, 146, 204, 0.08) 0%, rgba(10, 36, 99, 0.04) 100%);
    box-shadow: 0 4px 14px rgba(10, 36, 99, 0.07);
}

.teacher-student-ability-page .dashboard-header h1 {
    margin: 0 0 6px;
    font-size: 24px;
    color: #0f2f66;
}

.teacher-student-ability-page .dashboard-header .welcome {
    margin: 0;
    font-size: 14px;
    color: #4f5f79;
    line-height: 1.6;
}

.teacher-student-ability-page .dashboard-header .header-actions-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.teacher-student-ability-page .dashboard-header .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.2;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.teacher-student-ability-page .dashboard-header .btn-secondary {
    color: #fff;
    background: linear-gradient(135deg, var(--light-blue) 0%, #2a7ab8 100%);
    box-shadow: 0 4px 12px rgba(62, 146, 204, 0.3);
}

.teacher-student-ability-page .dashboard-header .btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(62, 146, 204, 0.38);
}

.teacher-student-ability-page .dashboard-header .btn-sm:focus-visible {
    outline: 2px solid #3e92cc;
    outline-offset: 2px;
}

.teacher-student-ability-page .teacher-ability-class-filter {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px 6px 14px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(62, 146, 204, 0.25);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(10, 36, 99, 0.06);
}

.teacher-student-ability-page .teacher-ability-class-label {
    font-size: 13px;
    font-weight: 600;
    color: #0e4d8a;
    white-space: nowrap;
}

.teacher-student-ability-page .teacher-ability-class-select {
    min-width: 168px;
    padding: 8px 32px 8px 12px;
    font-size: 13px;
    font-weight: 500;
    color: #0f2f66;
    font-family: inherit;
    border: 1px solid rgba(62, 146, 204, 0.35);
    border-radius: 8px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230e4d8a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;
    background-size: 12px;
    appearance: none;
    cursor: pointer;
}

.teacher-student-ability-page .teacher-ability-class-select:focus {
    outline: none;
    border-color: var(--light-blue);
    box-shadow: 0 0 0 3px rgba(62, 146, 204, 0.2);
}

.teacher-student-ability-page .my-overview-cards.teacher-ability-overview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 24px;
    padding: 20px 22px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(248, 250, 252, 0.95) 0%, rgba(241, 245, 249, 0.9) 100%);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.teacher-student-ability-page .teacher-ability-overview .my-overview-card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(10, 36, 99, 0.1);
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 4px 14px rgba(10, 36, 99, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.teacher-student-ability-page .teacher-ability-overview .my-overview-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(10, 36, 99, 0.1);
}

.teacher-student-ability-page .teacher-ability-overview .my-overview-card .label {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.35;
}

.teacher-student-ability-page .teacher-ability-overview .my-overview-card .value {
    margin: 0;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 700;
    color: #0e4d8a;
}

.teacher-student-ability-page .teacher-ability-overview .my-overview-card.card-accent-violet {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(233, 213, 255, 0.45) 100%);
    border-color: rgba(139, 92, 246, 0.22);
}

.teacher-student-ability-page .teacher-ability-overview .my-overview-card.card-accent-violet .value {
    color: #5b21b6;
}

.teacher-student-ability-page .teacher-ability-overview .my-overview-card.card-accent-blue {
    background: linear-gradient(135deg, rgba(62, 146, 204, 0.1) 0%, rgba(191, 219, 254, 0.5) 100%);
    border-color: rgba(62, 146, 204, 0.22);
}

.teacher-student-ability-page .teacher-ability-overview .my-overview-card.card-accent-blue .value {
    color: #0e4d8a;
}

.teacher-student-ability-page .teacher-ability-overview .my-overview-card.card-accent-amber {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.12) 0%, rgba(254, 243, 199, 0.55) 100%);
    border-color: rgba(251, 191, 36, 0.25);
}

.teacher-student-ability-page .teacher-ability-overview .my-overview-card.card-accent-amber .value {
    color: #b45309;
}

.teacher-student-ability-page .teacher-ability-overview .my-overview-card.card-accent-green {
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.1) 0%, rgba(187, 247, 208, 0.45) 100%);
    border-color: rgba(72, 187, 120, 0.22);
}

.teacher-student-ability-page .teacher-ability-overview .my-overview-card.card-accent-green .value {
    color: #2f855a;
}

.teacher-student-ability-page .teacher-ability-overview .my-overview-card.card-accent-slate {
    background: linear-gradient(135deg, rgba(100, 116, 139, 0.1) 0%, rgba(226, 232, 240, 0.55) 100%);
    border-color: rgba(100, 116, 139, 0.22);
}

.teacher-student-ability-page .teacher-ability-overview .my-overview-card.card-accent-slate .value {
    color: #475569;
}

.teacher-student-ability-page .teacher-ability-overview .my-overview-card.card-accent-teal {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1) 0%, rgba(153, 246, 228, 0.45) 100%);
    border-color: rgba(13, 148, 136, 0.22);
}

.teacher-student-ability-page .teacher-ability-overview .my-overview-card.card-accent-teal .value {
    color: #0f766e;
}

.teacher-student-ability-page .teacher-ability-table-section {
    border: 1px solid rgba(10, 36, 99, 0.1);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(10, 36, 99, 0.06);
    margin-bottom: 24px;
    overflow: hidden;
}

.teacher-student-ability-page .teacher-ability-table-section.learning-section {
    border-left: 4px solid #3e92cc;
}

.teacher-student-ability-page .teacher-ability-section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
    background: rgba(62, 146, 204, 0.06);
    border-bottom: 1px solid rgba(62, 146, 204, 0.12);
}

.teacher-student-ability-page .teacher-ability-section-header-left h2 {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 700;
    color: #0e4d8a;
}

.teacher-student-ability-page .teacher-ability-section-hint {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.45;
}

.teacher-student-ability-page .teacher-ability-section-header-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.teacher-student-ability-page .teacher-ability-section-header-right .section-count {
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    height: 26px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #0e4d8a;
    background: rgba(62, 146, 204, 0.15);
}

.teacher-student-ability-page .teacher-ability-export-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--light-blue);
    text-decoration: none;
}

.teacher-student-ability-page .teacher-ability-export-link:hover {
    text-decoration: underline;
}

.teacher-student-ability-page .teacher-ability-table-section .section-inner {
    padding: 20px 24px 24px;
}

.teacher-student-ability-page .teacher-ability-table-section .section-desc {
    margin: 0 0 16px;
    font-size: 14px;
    color: #4f5f79;
    line-height: 1.6;
}

.teacher-student-ability-page .teacher-ability-table-wrap {
    margin: 0;
    border-radius: 10px;
    border: 1px solid rgba(10, 36, 99, 0.08);
    overflow: hidden;
}

.teacher-student-ability-page .teacher-ability-table-wrap .dashboard-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.teacher-student-ability-page .teacher-ability-table thead th {
    font-size: 13px;
    white-space: nowrap;
    background: rgba(10, 36, 99, 0.04);
    color: #0f2f66;
}

.teacher-student-ability-page .teacher-ability-student-name {
    font-weight: 600;
    color: #0a2463;
}

.teacher-student-ability-page .ability-score-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    padding: 4px 10px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 999px;
    font-variant-numeric: tabular-nums;
}

.teacher-student-ability-page .ability-score-pill--high {
    background: rgba(72, 187, 120, 0.18);
    color: #276749;
    border: 1px solid rgba(72, 187, 120, 0.35);
}

.teacher-student-ability-page .ability-score-pill--mid {
    background: rgba(62, 146, 204, 0.14);
    color: #0e4d8a;
    border: 1px solid rgba(62, 146, 204, 0.28);
}

.teacher-student-ability-page .ability-score-pill--low {
    background: rgba(251, 191, 36, 0.2);
    color: #b45309;
    border: 1px solid rgba(251, 191, 36, 0.4);
}

.teacher-student-ability-page .teacher-ability-actions {
    white-space: normal;
    vertical-align: middle;
}

.teacher-student-ability-page .teacher-ability-action-group {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* 雷达图：全班统一一种样式（与学生进度看板「明细」描边按钮一致） */
.teacher-student-ability-page .teacher-ability-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.2;
    text-decoration: none;
    color: var(--deep-space-blue);
    border: 1px solid rgba(62, 146, 204, 0.35);
    background: #fff;
    box-shadow: 0 1px 3px 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, color 0.2s ease;
}

.teacher-student-ability-page .teacher-ability-action-btn:focus-visible {
    outline: 2px solid #3e92cc;
    outline-offset: 2px;
}

.teacher-student-ability-page .teacher-ability-action-btn:hover {
    transform: translateY(-1px);
    background: rgba(62, 146, 204, 0.08);
    border-color: rgba(62, 146, 204, 0.55);
    box-shadow: 0 4px 12px rgba(62, 146, 204, 0.12);
}

.teacher-student-ability-page .teacher-ability-btn-icon {
    flex-shrink: 0;
    opacity: 0.95;
}

@media (prefers-reduced-motion: reduce) {
    .teacher-student-ability-page .teacher-ability-action-btn:hover {
        transform: none;
    }
}

@media (max-width: 992px) {
    .teacher-student-ability-page .my-overview-cards.teacher-ability-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .teacher-student-ability-page .dashboard-header {
        flex-direction: column;
        align-items: stretch;
    }

    .teacher-student-ability-page .teacher-ability-section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .teacher-student-ability-page .teacher-ability-section-header-right {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 560px) {
    .teacher-student-ability-page .my-overview-cards.teacher-ability-overview {
        grid-template-columns: 1fr;
    }

    .teacher-student-ability-page .teacher-ability-class-filter {
        width: 100%;
        flex-wrap: wrap;
    }

    .teacher-student-ability-page .teacher-ability-class-select {
        flex: 1;
        min-width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .zhen-deco-orbit--lian .zhen-deco-ring {
        animation: none;
    }
}

/* —— 教师工作台 · 即时沟通（头部按钮 + 学生列表 + 交流模态） —— */
.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;
}
