/* 校企共创 · 企业导师 / 教师端共用 */

.co-create-shell {
    margin-top: 8px;
    padding: 22px 24px 26px;
    border-radius: 16px;
    border: 1px solid rgba(10, 36, 99, 0.1);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.95) 50%, rgba(255, 251, 235, 0.35) 100%);
    box-shadow: 0 8px 28px rgba(10, 36, 99, 0.07);
}

.co-create-callout {
    margin: 0 0 20px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(239, 246, 255, 0.92);
    border: 1px solid rgba(62, 146, 204, 0.22);
    font-size: 14px;
    line-height: 1.65;
    color: #334155;
}

.co-create-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.co-create-tab {
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid rgba(10, 36, 99, 0.12);
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.co-create-tab:hover {
    border-color: rgba(62, 146, 204, 0.45);
    color: #0a2463;
}

.co-create-tab.is-active {
    background: linear-gradient(135deg, #0a2463 0%, #163d7a 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 16px rgba(10, 36, 99, 0.22);
}

.co-create-panel {
    display: none;
}

.co-create-panel.is-active {
    display: block;
}

.co-create-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 20px;
}

.co-create-field--full {
    grid-column: 1 / -1;
}

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

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

.co-create-textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}

.co-create-hint {
    margin: 4px 0 0;
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.45;
}

.co-create-knowledge-list {
    max-height: 220px;
    overflow-y: auto;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(10, 36, 99, 0.08);
    background: rgba(248, 251, 255, 0.6);
}

.co-create-knowledge-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(10, 36, 99, 0.06);
    font-size: 13px;
    color: #334155;
}

.co-create-knowledge-row:last-child {
    border-bottom: none;
}

.co-create-knowledge-row input {
    margin-top: 3px;
    flex-shrink: 0;
}

.co-create-resource-rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.co-create-resource-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 10px;
    align-items: end;
}

@media (max-width: 720px) {
    .co-create-form-grid,
    .co-create-resource-row {
        grid-template-columns: 1fr;
    }
}

.co-create-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

/* 企业导师 · 发起共创底部主操作（与领航台深空蓝 / 星光金一致） */
.mentor-student-tasks-page .co-create-shell .co-create-actions--footer {
    margin-top: 6px;
    padding-top: 22px;
    border-top: 1px solid rgba(10, 36, 99, 0.1);
    align-items: center;
    gap: 14px;
}

.mentor-student-tasks-page .co-create-shell .co-btn-publish-pool.btn-sm.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 26px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.04em;
    border: none;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, #0a2463 0%, #163d7a 46%, #1a4a8c 100%);
    box-shadow:
        0 6px 22px rgba(10, 36, 99, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.mentor-student-tasks-page .co-create-shell .co-btn-publish-pool.btn-sm.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        rgba(255, 215, 0, 0.45) 0%,
        rgba(201, 162, 39, 0.3) 45%,
        rgba(62, 146, 204, 0.5) 100%
    );
    pointer-events: none;
}

.mentor-student-tasks-page .co-create-shell .co-btn-publish-pool.btn-sm.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 10px 30px rgba(10, 36, 99, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
    filter: brightness(1.05);
}

.mentor-student-tasks-page .co-create-shell .co-btn-publish-pool.btn-sm.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 16px rgba(10, 36, 99, 0.3);
}

.mentor-student-tasks-page .co-create-shell .co-btn-publish-pool.btn-sm.btn-primary:focus-visible {
    outline: 2px solid rgba(62, 146, 204, 0.55);
    outline-offset: 3px;
}

.mentor-student-tasks-page .co-create-shell .co-create-actions--footer .co-btn-save-draft.btn-sm.btn-secondary {
    min-height: 44px;
    padding: 0 22px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 13px;
    border: 1px solid rgba(10, 36, 99, 0.14);
    background: rgba(255, 255, 255, 0.96);
    color: #0e3a7a;
    box-shadow: 0 2px 8px rgba(10, 36, 99, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.mentor-student-tasks-page .co-create-shell .co-create-actions--footer .co-btn-save-draft.btn-sm.btn-secondary:hover {
    border-color: rgba(62, 146, 204, 0.42);
    color: #0a2463;
    box-shadow: 0 4px 14px rgba(10, 36, 99, 0.1);
    transform: translateY(-1px);
}

.mentor-student-tasks-page .co-create-shell .co-create-actions--footer .co-btn-save-draft.btn-sm.btn-secondary:focus-visible {
    outline: 2px solid rgba(62, 146, 204, 0.45);
    outline-offset: 2px;
}

.co-create-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(288px, 1fr));
    gap: 18px;
    align-items: stretch;
}

/* 我参与的共创：共创卡片 + 垂直连线 + 已创建课程卡片 */
.co-create-mine-group {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
}

@media (min-width: 960px) {
    .co-create-mine-group {
        max-width: none;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 14px;
    }

    .co-create-mine-group__cocreate {
        flex: 1 1 300px;
        min-width: 260px;
        max-width: 420px;
    }

    .co-create-mine-group__link {
        flex: 0 0 auto;
        width: 36px;
        min-height: 120px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

    .co-create-mine-group__link-line {
        width: 100%;
        max-width: 32px;
        height: 2px;
        margin: 0;
        background: linear-gradient(
            90deg,
            rgba(62, 146, 204, 0.15),
            rgba(62, 146, 204, 0.85),
            rgba(62, 146, 204, 0.35)
        );
        border-radius: 2px;
        position: relative;
    }

    .co-create-mine-group__link-line::after {
        content: '';
        position: absolute;
        right: -5px;
        top: 50%;
        margin-top: -5px;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #3e92cc;
        box-shadow: 0 0 0 3px rgba(62, 146, 204, 0.2);
    }

    .co-create-mine-group__link-line::before {
        display: none;
    }

    .co-create-linked-course-card {
        flex: 0 1 300px;
        min-width: 260px;
        max-width: 340px;
    }
}

.co-create-mine-group__link {
    display: flex;
    justify-content: center;
    padding: 8px 0 12px;
}

.co-create-mine-group__link-line {
    width: 2px;
    height: 28px;
    background: linear-gradient(180deg, rgba(62, 146, 204, 0.2), rgba(62, 146, 204, 0.9));
    border-radius: 2px;
    position: relative;
}

.co-create-mine-group__link-line::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3e92cc;
    box-shadow: 0 0 0 3px rgba(62, 146, 204, 0.2);
}

.co-create-linked-course-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-radius: 14px;
    border: 1px solid rgba(62, 146, 204, 0.28);
    background: linear-gradient(165deg, rgba(248, 251, 255, 0.95) 0%, #fff 55%);
    box-shadow: 0 6px 20px rgba(10, 36, 99, 0.07);
    overflow: hidden;
}

.co-create-linked-course-card__head {
    padding: 10px 14px 0;
}

.co-create-linked-course-card__badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0e4d8a;
    background: rgba(62, 146, 204, 0.14);
    border: 1px solid rgba(62, 146, 204, 0.28);
    border-radius: 999px;
    padding: 4px 10px;
}

.co-create-linked-course-card__body {
    flex: 1 1 auto;
    padding: 12px 14px 10px;
}

.co-create-linked-course-card__title {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 800;
    color: #0f2f66;
    line-height: 1.35;
}

.co-create-linked-course-card__meta {
    margin: 0;
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
}

.co-create-linked-course-card__foot {
    flex-shrink: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 14px 14px;
    border-top: 1px solid rgba(62, 146, 204, 0.12);
    background: rgba(255, 255, 255, 0.65);
}

.co-create-linked-course-card__btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 9px;
    box-sizing: border-box;
}

.co-create-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    padding: 0;
    border-radius: 14px;
    border: 1px solid rgba(10, 36, 99, 0.1);
    background: #fff;
    box-shadow: 0 4px 14px rgba(10, 36, 99, 0.05);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.co-create-card__body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 16px 18px 0;
}

.co-create-card__foot {
    flex-shrink: 0;
    margin-top: auto;
    padding: 14px 18px 16px;
    border-top: 1px solid rgba(10, 36, 99, 0.07);
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.35) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.co-create-card__title {
    margin: 0 0 10px;
    font-size: 1rem;
    font-weight: 800;
    color: #0f2f66;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.co-create-card__meta {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 0;
    line-height: 1.55;
}

.co-create-card__excerpt {
    margin: 10px 0 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

/* 卡片左侧强调：教师端浅蓝 / 企业导师端星光金 */
.teacher-co-create-page .co-create-card {
    border-left: 3px solid rgba(62, 146, 204, 0.55);
}

body.mentor-enterprise-dashboard.mentor-workspace-page .co-create-card {
    border-left: 3px solid rgba(201, 162, 39, 0.82);
}

.co-create-shell .co-create-card:hover {
    border-color: rgba(62, 146, 204, 0.28);
    box-shadow: 0 10px 28px rgba(10, 36, 99, 0.1);
    transform: translateY(-2px);
}

.co-create-shell .co-create-card:hover .co-create-card__foot {
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.55) 0%, #fff 100%);
}

.co-create-chip {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    margin-right: 6px;
    margin-bottom: 6px;
    background: rgba(62, 146, 204, 0.15);
    color: #0e4d8a;
    border: 1px solid rgba(62, 146, 204, 0.25);
}

.co-create-chip--open {
    background: rgba(251, 191, 36, 0.2);
    color: #92400e;
    border-color: rgba(245, 158, 11, 0.35);
}

.co-create-chip--done {
    background: rgba(52, 211, 153, 0.18);
    color: #065f46;
    border-color: rgba(16, 185, 129, 0.3);
}

.co-create-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 0;
    justify-content: flex-end;
    align-items: center;
}

.co-create-card__actions .btn-sm {
    min-height: 36px;
    padding-left: 16px;
    padding-right: 16px;
    font-weight: 600;
}

.co-create-card__actions a.co-create-card__link-btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* 教师校企共创页 · 卡片按钮与课程中心深空蓝 / 浅蓝体系统一 */
.teacher-co-create-page .co-create-card__actions .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.2;
    border: 1px solid transparent;
    cursor: pointer;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.teacher-co-create-page .co-create-card__actions .btn-sm.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.22);
}

.teacher-co-create-page .co-create-card__actions .btn-sm.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(10, 36, 99, 0.3);
}

.teacher-co-create-page .co-create-card__actions .btn-sm.btn-primary:active {
    transform: translateY(0);
}

.teacher-co-create-page .co-create-card__actions .btn-sm.btn-primary:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(62, 146, 204, 0.45), 0 4px 12px rgba(10, 36, 99, 0.22);
}

.teacher-co-create-page .co-create-card__actions .btn-sm.btn-secondary,
.teacher-co-create-page .co-create-card__actions a.btn-sm.btn-secondary {
    color: var(--deep-space-blue);
    background: #fff;
    border: 1px solid rgba(62, 146, 204, 0.38);
    box-shadow: 0 1px 3px rgba(10, 36, 99, 0.06);
}

.teacher-co-create-page .co-create-card__actions .btn-sm.btn-secondary:hover,
.teacher-co-create-page .co-create-card__actions a.btn-sm.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 12px rgba(62, 146, 204, 0.12);
}

.teacher-co-create-page .co-create-card__actions .btn-sm.btn-secondary:active,
.teacher-co-create-page .co-create-card__actions a.btn-sm.btn-secondary:active {
    transform: translateY(0);
}

.teacher-co-create-page .co-create-card__actions .btn-sm.btn-secondary:focus-visible,
.teacher-co-create-page .co-create-card__actions a.btn-sm.btn-secondary:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(62, 146, 204, 0.35), 0 1px 3px rgba(10, 36, 99, 0.06);
}

.co-create-card__btn-icon {
    display: inline-flex;
    flex-shrink: 0;
    opacity: 0.95;
}

.co-create-card__btn-icon svg {
    display: block;
}

.co-create-card__action-btn span:last-child {
    white-space: nowrap;
}

/* 「我参与的共创」：主次并排、小屏纵向铺满 */
.co-create-card__actions--mine {
    gap: 12px;
}

.co-create-card--mine .co-create-card__foot {
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.5) 0%, rgba(255, 255, 255, 0.98) 100%);
}

@media (min-width: 400px) {
    .co-create-card__actions--mine .co-create-card__action-btn {
        min-width: 132px;
    }
}

@media (max-width: 480px) {
    .co-create-card__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .co-create-card__actions .btn-sm {
        width: 100%;
        justify-content: center;
    }

    .co-create-card__actions--mine .co-create-card__action-btn {
        min-width: 0;
    }
}

.co-create-empty {
    margin: 0;
    padding: 28px 16px;
    text-align: center;
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

.co-create-modal {
    position: fixed;
    inset: 0;
    z-index: 3400;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 24px 16px 48px;
    overflow: auto;
    box-sizing: border-box;
    background: rgba(10, 36, 99, 0.45);
}

.co-create-modal[hidden] {
    display: none !important;
}

.co-create-modal__dialog {
    position: relative;
    width: 100%;
    max-width: 920px;
    margin: 12px auto 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(10, 36, 99, 0.22);
    border: 1px solid rgba(10, 36, 99, 0.1);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 80px);
    max-height: calc(100dvh - 80px);
    min-height: 0;
}

.co-create-modal__head {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px 12px;
    border-bottom: 1px solid rgba(10, 36, 99, 0.08);
}

.co-create-modal__head h2 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f2f66;
}

.co-create-modal__close {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(10, 36, 99, 0.12);
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, rgba(239, 246, 255, 0.75) 100%);
    font-size: 22px;
    line-height: 1;
    color: #475569;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.co-create-modal__close:hover {
    border-color: rgba(10, 36, 99, 0.22);
    color: #0f2f66;
    background: linear-gradient(180deg, #fff 0%, rgba(224, 236, 255, 0.95) 100%);
    box-shadow: 0 2px 8px rgba(10, 36, 99, 0.08);
}

.co-create-modal__close:focus-visible {
    outline: none;
    border-color: rgba(10, 36, 99, 0.45);
    box-shadow: 0 0 0 3px rgba(10, 36, 99, 0.2);
}

.co-create-modal__close:active {
    transform: scale(0.96);
}

.co-create-modal__main {
    min-width: 0;
}

.co-create-modal__meta {
    margin-bottom: 10px;
}

.co-create-modal__desc {
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
    margin-bottom: 12px;
    white-space: pre-wrap;
    word-break: break-word;
}

/* 教师端 · 共创工作台（三部分） */
.co-workbench-preview-note {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.55;
    color: #92400e;
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.28);
}

.co-workbench-section {
    margin-bottom: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(10, 36, 99, 0.08);
}

.co-workbench-section:last-of-type,
.co-workbench-section--create {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.co-workbench-section__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 800;
    color: #0f2f66;
    letter-spacing: -0.02em;
}

.co-workbench-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--light-blue) 0%, #2563a8 100%);
    box-shadow: 0 2px 8px rgba(62, 146, 204, 0.25);
    flex-shrink: 0;
}

.co-workbench-section__lead {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.55;
    color: #64748b;
}

.co-workbench-section__card {
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(248, 251, 255, 0.65);
    border: 1px solid rgba(10, 36, 99, 0.08);
}

.co-workbench-topic-heading {
    margin: 0 0 10px;
    font-size: 1.02rem;
    font-weight: 800;
    color: #0f2f66;
    line-height: 1.35;
}

.co-workbench-section__card .co-create-modal__links {
    margin-bottom: 0;
}

.co-teacher-template-bar {
    margin-bottom: 10px;
}

.co-teacher-template-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
    padding: 4px 2px 8px;
}

.co-teacher-template-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(10, 36, 99, 0.1);
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.co-teacher-template-option:hover {
    border-color: rgba(62, 146, 204, 0.35);
    box-shadow: 0 2px 10px rgba(10, 36, 99, 0.06);
}

.co-teacher-template-option input {
    margin-top: 4px;
    flex-shrink: 0;
}

.co-teacher-template-option__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.co-teacher-template-option__text strong {
    font-size: 13px;
    color: #0f2f66;
}

.co-teacher-template-option__desc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.45;
}

.co-workbench-template-actions {
    margin-bottom: 12px;
}

.co-workbench-fw-placeholder {
    margin: 0 0 12px;
    font-size: 13px;
    color: #64748b;
    padding: 12px;
    border-radius: 10px;
    background: rgba(241, 245, 249, 0.9);
    border: 1px dashed rgba(62, 146, 204, 0.25);
}

.co-workbench-fw-save-wrap {
    margin-top: 10px;
}

.co-workbench-section--create .co-workbench-section__lead {
    margin-bottom: 14px;
}

.co-workbench-create-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.co-workbench-create-course-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 22px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    color: #fff;
    text-decoration: none;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #0a2463 0%, var(--deep-space-blue) 100%);
    box-shadow: 0 6px 18px rgba(10, 36, 99, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.co-workbench-create-course-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(10, 36, 99, 0.35);
    color: #fff;
}

.co-workbench-create-course-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(62, 146, 204, 0.45), 0 6px 18px rgba(10, 36, 99, 0.28);
}

.co-workbench-create-course-btn__icon {
    display: inline-flex;
    flex-shrink: 0;
    opacity: 0.95;
}

.co-workbench-create-course-btn__icon svg {
    display: block;
}

.co-create-modal__links {
    font-size: 13px;
    color: #475569;
    margin-bottom: 16px;
    line-height: 1.55;
}

.co-create-modal__actions {
    margin-top: 12px;
    align-items: center;
}

.co-create-modal__link-btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.co-create-modal__msg-block {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(10, 36, 99, 0.08);
}

.co-create-modal__msg-block .co-create-textarea {
    margin-bottom: 10px;
}

.co-create-modal__msg-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

/* 工作台模态内按钮基线（与课程中心 / 校企卡片操作区一致） */
.co-create-modal .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 36px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.2;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.co-create-modal .btn-sm.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-color: transparent;
}

.co-create-modal .btn-sm.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(10, 36, 99, 0.32);
}

.co-create-modal .btn-sm.btn-primary:focus-visible {
    outline: 2px solid #3e92cc;
    outline-offset: 2px;
}

.co-create-modal a.btn-sm.btn-secondary,
.co-create-modal .btn-sm.btn-secondary {
    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);
}

.co-create-modal a.btn-sm.btn-secondary:hover,
.co-create-modal .btn-sm.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.15);
}

.co-create-modal a.btn-sm.btn-secondary:focus-visible,
.co-create-modal .btn-sm.btn-secondary:focus-visible {
    outline: 2px solid #3e92cc;
    outline-offset: 2px;
}

/* 发送留言：浅蓝主操作，与「保存课程框架」深蓝主按钮区分，贴近沟通/提交语义 */
.co-create-modal .co-create-modal__send-btn {
    color: #fff;
    background: linear-gradient(135deg, var(--light-blue) 0%, #2563a8 100%);
    border: none;
    box-shadow: 0 4px 12px rgba(62, 146, 204, 0.32);
    padding-left: 18px;
    padding-right: 20px;
}

.co-create-modal .co-create-modal__send-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(62, 146, 204, 0.42);
}

.co-create-modal .co-create-modal__send-btn:focus-visible {
    outline: 2px solid rgba(62, 146, 204, 0.9);
    outline-offset: 2px;
}

.co-create-modal .co-create-modal__send-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(62, 146, 204, 0.28);
}

.co-create-modal__send-icon {
    display: inline-flex;
    flex-shrink: 0;
    opacity: 0.95;
}

.co-create-modal__send-icon svg {
    display: block;
}

.co-create-modal__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 16px 20px 20px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 20px;
}

@media (max-width: 860px) {
    .co-create-modal__body {
        grid-template-columns: 1fr;
    }
}

.co-create-timeline {
    border-radius: 12px;
    border: 1px solid rgba(10, 36, 99, 0.08);
    background: rgba(248, 251, 255, 0.5);
    padding: 12px 14px;
    max-height: 420px;
    overflow-y: auto;
}

.co-create-timeline h3 {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* 教师端工作台：右侧栏 = 上侧留言、下侧沟通与进度（时间线内最新在前） */
.co-teacher-modal-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    min-height: 0;
    align-self: stretch;
}

.co-create-timeline--teacher-modal {
    flex: 1 1 auto;
    min-height: 140px;
    max-height: none;
    overflow-y: auto;
}

.co-create-modal__msg-block--sidebar {
    flex-shrink: 0;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid rgba(10, 36, 99, 0.08);
    background: rgba(248, 251, 255, 0.5);
}

.co-create-msg {
    padding: 10px 0;
    border-bottom: 1px solid rgba(10, 36, 99, 0.06);
    font-size: 13px;
    line-height: 1.5;
    color: #334155;
}

.co-create-msg:last-child {
    border-bottom: none;
}

.co-create-msg__who {
    font-weight: 700;
    color: #0a2463;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

.co-create-msg__time {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 4px;
}

.co-create-msg__body {
    font-size: 13px;
    line-height: 1.55;
    color: #334155;
}

.co-create-msg__body--pre {
    white-space: pre-wrap;
    word-break: break-word;
}

.co-create-msg--notify {
    border-left: 3px solid rgba(62, 146, 204, 0.85);
    padding-left: 10px;
    margin-left: -2px;
    background: rgba(239, 246, 255, 0.5);
    border-radius: 0 8px 8px 0;
}

.co-create-framework-area textarea {
    min-height: 200px;
}

.teacher-co-create-page .course-center-header {
    margin-bottom: 20px;
}

.teacher-co-create-page .co-create-teacher-pool {
    margin-bottom: 28px;
}

.co-create-section-title {
    margin: 0 0 14px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f2f66;
}
