/* D-167 · 实训计划工作台壳 — 结构直角 + 卡片圆角 + 加重顶栏 */
@import url('https://fonts.googleapis.com/css2?family=Ma+Shan+Zheng&display=swap');

.shell-qingcheng {
    --qc-header-offset: 80px;
    --qc-orange: #FF6B2C;
    --qc-orange-dark: #E5521A;
    --qc-teal: #00B894;
    --qc-teal-dark: #009E7E;
    --qc-teal-deep: #3d8f7a;
    --qc-teal-mid: #4a9d88;
    --qc-navy: #1A2B4A;
    --qc-bg: #F4F7FA;
    --qc-surface: #FFFFFF;
    --qc-border: #E2E8F0;
    --qc-text: #2C3E50;
    --qc-text-muted: #6B7C93;
    --qc-radius-card: 10px;
    --qc-radius-btn: 8px;
    --deep-space-blue: #1A2B4A;
    --light-blue: #00B894;
    --starlight-gold: #FF6B2C;
}

.shell-qingcheng--student {
    --light-blue: #00B894;
    --starlight-gold: #00B894;
}

.shell-qingcheng--enterprise {
    --light-blue: #FF6B2C;
    --starlight-gold: #FF6B2C;
}

/* —— 布局结构：顶栏 / 侧栏 / 主区 —— */
.shell-qingcheng .header {
    position: fixed;
    border-radius: 0 !important;
    padding: 14px 0;
    /* 不可 hidden：会裁切右上角用户下拉菜单 */
    overflow: visible;
}

.shell-qingcheng .header-container,
.shell-qingcheng .login-section,
.shell-qingcheng .nav-menu,
.shell-qingcheng .header-user-area,
.shell-qingcheng .header-avatar-wrap {
    position: relative;
    z-index: 2;
    overflow: visible;
}

.shell-qingcheng .header-user-dropdown {
    z-index: 1200;
}

.shell-qingcheng .header .logo-english,
.shell-qingcheng .dashboard-sidebar .logo-english {
    display: none !important;
}

.shell-qingcheng .header .logo-section a.logo {
    align-items: center;
    gap: 12px;
}

.shell-qingcheng .header .logo-icon {
    margin-right: 0;
}

.shell-qingcheng .header .logo-img {
    max-width: 44px;
    max-height: 44px;
}

.shell-qingcheng .header .logo-text h1 {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 8px;
    font-size: 18px !important;
    font-weight: 700;
    margin-bottom: 2px !important;
    line-height: 1.2;
}

.shell-qingcheng .qc-shell-art {
    font-family: 'Ma Shan Zheng', 'PingFang SC', cursive;
    font-size: 26px;
    font-weight: 400;
    color: var(--qc-orange);
    letter-spacing: 0.04em;
    line-height: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

.shell-qingcheng .qc-shell-role {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.shell-qingcheng .header .logo-subtitle {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px !important;
    line-height: 1.4;
    margin: 0;
}

.shell-qingcheng .qc-shell-program {
    color: rgba(255, 255, 255, 0.78);
}

.shell-qingcheng .qc-shell-badge {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    vertical-align: middle;
    line-height: 1.4;
}

.shell-qingcheng .header .nav-left a,
.shell-qingcheng .header .nav-menu a {
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 0;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.shell-qingcheng .header .nav-left {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.shell-qingcheng .header .nav-left li {
    margin: 0;
}

.shell-qingcheng .header .nav-left a {
    display: inline-block;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}

.shell-qingcheng .header .nav-left a::after,
.shell-qingcheng .header .nav-right a::after {
    display: none;
}

.shell-qingcheng .header-msg-btn {
    border: 1px solid transparent;
    border-radius: 50%;
}

.shell-qingcheng .header-msg-badge {
    border-color: #fff !important;
}

.shell-qingcheng .dashboard-sidebar {
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 10px 0 0 !important;
}

.shell-qingcheng .dashboard-sidebar .brand {
    margin: 0 10px;
    border-radius: 10px 10px 0 0;
}

.shell-qingcheng .dashboard-sidebar .brand a {
    font-weight: 700;
    font-size: 14px;
}

/* 侧栏菜单：统一左侧指示条（hover / active 同宽，非故意差异） */
.shell-qingcheng .dashboard-sidebar nav a {
    position: relative;
    margin: 2px 10px;
    padding: 10px 14px 10px 18px;
    border-radius: 8px;
    border-left: none !important;
    box-shadow: none !important;
}

.shell-qingcheng .dashboard-sidebar nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    bottom: 7px;
    width: 4px;
    border-radius: 0 3px 3px 0;
    background: transparent;
    transition: background 0.18s ease;
}

/* 去掉侧栏「任务中心 / 成长档案」分组标题 */
.shell-qingcheng .dashboard-sidebar .nav-title {
    display: none !important;
}

.shell-qingcheng .dashboard-sidebar .nav-title + nav + .nav-title {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

.shell-qingcheng .dashboard-sidebar-collapse-btn {
    border-radius: 0 6px 6px 0 !important;
}

.shell-qingcheng .dashboard-main {
    background: var(--qc-bg);
}

.shell-qingcheng .dashboard-wrap {
    padding-top: var(--qc-header-offset);
}

body.shell-qingcheng.mentor-workspace-page .dashboard-sidebar {
    top: var(--qc-header-offset);
    height: calc(100vh - var(--qc-header-offset));
    min-height: calc(100vh - var(--qc-header-offset));
}

/* —— 学生 —— */
.shell-qingcheng--student,
.shell-qingcheng--student body {
    background: var(--qc-bg);
}

.shell-qingcheng--student .header {
    background: linear-gradient(135deg, #4d9a88 0%, #56a8af 40%, #5cb0b8 100%) !important;
    color: #fff !important;
    border-bottom: none;
    box-shadow: 0 2px 16px rgba(26, 43, 74, 0.18);
}

/* 顶栏右侧：线条装饰（轻量 SVG，无大图请求） */
.shell-qingcheng--student .header::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: min(520px, 55vw);
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.16' stroke-width='1'%3E%3Cpath d='M10 60h18M92 60h18M60 10v18M60 92v18'/%3E%3Ccircle cx='60' cy='60' r='8'/%3E%3Ccircle cx='60' cy='60' r='22'/%3E%3Cpath d='M60 38v-8M60 82v8M38 60h-8M82 60h8'/%3E%3C/g%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.1' stroke-width='1'%3E%3Cpath d='M0 40h80M40 0v80'/%3E%3Cpath d='M0 0l80 80M80 0L0 80'/%3E%3C/g%3E%3C/svg%3E"),
        radial-gradient(ellipse 90% 110% at 100% 45%, rgba(255, 255, 255, 0.14) 0%, transparent 55%),
        radial-gradient(ellipse 55% 70% at 86% 18%, rgba(255, 107, 44, 0.12) 0%, transparent 50%);
    mask-image: linear-gradient(to left, #000 30%, transparent 90%);
    -webkit-mask-image: linear-gradient(to left, #000 30%, transparent 90%);
}

.shell-qingcheng--student .header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--qc-teal) 0%, rgba(255, 255, 255, 0.35) 50%, var(--qc-orange) 100%);
    pointer-events: none;
}

.shell-qingcheng--student .qc-shell-badge {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.shell-qingcheng--student .header .nav-left a,
.shell-qingcheng--student .header .nav-menu a {
    color: rgba(255, 255, 255, 0.88) !important;
    border-bottom: 2px solid transparent;
}

.shell-qingcheng--student .header .nav-left a:hover,
.shell-qingcheng--student .header .nav-right a:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1);
}

.shell-qingcheng--student .header .nav-left a.qc-nav-active {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.14);
    border-bottom-color: #fff;
}

.shell-qingcheng--student .header-msg-btn {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.shell-qingcheng--student .header-msg-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.shell-qingcheng--student .header .header-avatar {
    background: linear-gradient(135deg, var(--qc-orange), var(--qc-orange-dark)) !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.shell-qingcheng--student .dashboard-sidebar {
    background: #eef6f3 !important;
    border-right: 1px solid rgba(0, 184, 148, 0.16);
}

.shell-qingcheng--student .dashboard-sidebar .brand {
    background: linear-gradient(135deg, #4d9a88 0%, #5cb0b8 100%);
    padding: 16px 18px;
    border-bottom: none;
    margin-bottom: 0;
}

.shell-qingcheng--student .dashboard-sidebar .brand a {
    color: #fff !important;
}

.shell-qingcheng--student .dashboard-sidebar nav + .nav-title + nav {
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid rgba(0, 184, 148, 0.1);
}

.shell-qingcheng--student .dashboard-sidebar nav a {
    color: var(--qc-text);
}

.shell-qingcheng--student .dashboard-sidebar nav a:hover {
    color: var(--qc-teal-dark);
    background: rgba(0, 184, 148, 0.07);
}

.shell-qingcheng--student .dashboard-sidebar nav a:hover::before {
    background: rgba(0, 184, 148, 0.45);
}

.shell-qingcheng--student .dashboard-sidebar nav a.active {
    color: var(--qc-teal-dark);
    background: rgba(0, 184, 148, 0.12);
    font-weight: 600;
}

.shell-qingcheng--student .dashboard-sidebar nav a.active::before {
    background: var(--qc-teal);
}

.shell-qingcheng--student .dashboard-sidebar-collapse-btn {
    background: #eef6f3;
    color: var(--qc-teal-dark);
    border-color: rgba(0, 184, 148, 0.28);
}

.shell-qingcheng--student .dashboard-sidebar-collapse-btn:hover,
.shell-qingcheng--student .dashboard-sidebar.collapsed .dashboard-sidebar-collapse-btn {
    background: linear-gradient(135deg, var(--qc-teal), var(--qc-teal-dark));
    color: #fff;
    border-color: var(--qc-teal);
}

/* —— 企业 —— */
/* mentor-workspace 默认隐藏顶栏 nav；青城壳需展示站点快捷导航 */
body.shell-qingcheng--enterprise.mentor-workspace-page .header .nav-menu {
    display: flex !important;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0 20px;
}

body.shell-qingcheng--enterprise.mentor-workspace-page .header .logo-section {
    flex-shrink: 0;
}

body.shell-qingcheng--enterprise.mentor-workspace-page .header .login-section {
    flex-shrink: 0;
    margin-left: auto;
}

.shell-qingcheng--enterprise .header {
    background: linear-gradient(135deg, #7a5a48 0%, #8d6854 42%, #9d745e 100%) !important;
    color: #fff !important;
    border-bottom: none;
    box-shadow: 0 2px 16px rgba(26, 43, 74, 0.18);
}

.shell-qingcheng--enterprise .header::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: min(520px, 55vw);
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.14' stroke-width='1'%3E%3Crect x='20' y='20' width='60' height='60' rx='6'/%3E%3Cpath d='M20 50h60M50 20v60'/%3E%3Ccircle cx='50' cy='50' r='12'/%3E%3C/g%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.09' stroke-width='1'%3E%3Cpath d='M8 32h48M32 8v48M8 8l48 48M56 8L8 56'/%3E%3C/g%3E%3C/svg%3E"),
        radial-gradient(ellipse 90% 110% at 100% 45%, rgba(255, 255, 255, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 55% 70% at 86% 18%, rgba(255, 180, 120, 0.14) 0%, transparent 50%);
    mask-image: linear-gradient(to left, #000 30%, transparent 90%);
    -webkit-mask-image: linear-gradient(to left, #000 30%, transparent 90%);
}

.shell-qingcheng--enterprise .header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--qc-orange) 0%, rgba(255, 255, 255, 0.35) 50%, var(--qc-teal) 100%);
    pointer-events: none;
}

.shell-qingcheng--enterprise .qc-shell-badge {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.shell-qingcheng--enterprise .header .nav-left a,
.shell-qingcheng--enterprise .header .nav-menu a {
    color: rgba(255, 255, 255, 0.88) !important;
    border-bottom: 2px solid transparent;
}

.shell-qingcheng--enterprise .header .nav-left a:hover,
.shell-qingcheng--enterprise .header .nav-right a:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1);
}

.shell-qingcheng--enterprise .header .nav-left a.qc-nav-active {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.14);
    border-bottom-color: #fff;
}

.shell-qingcheng--enterprise .header-msg-btn {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.shell-qingcheng--enterprise .header-msg-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.shell-qingcheng--enterprise .header .header-avatar {
    background: linear-gradient(135deg, var(--qc-orange), var(--qc-orange-dark)) !important;
    color: #fff !important;
}

.shell-qingcheng--enterprise .dashboard-sidebar {
    background: #faf5f2 !important;
    border-right: 1px solid rgba(255, 107, 44, 0.14);
}

.shell-qingcheng--enterprise .dashboard-sidebar .brand {
    background: linear-gradient(135deg, #9d745e 0%, #7a5a48 100%);
    padding: 16px 18px;
    border-bottom: none;
    margin-bottom: 0;
}

.shell-qingcheng--enterprise .dashboard-sidebar .brand a {
    color: #fff !important;
}

.shell-qingcheng--enterprise .dashboard-sidebar nav + .nav-title + nav {
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 107, 44, 0.1);
}

.shell-qingcheng--enterprise .dashboard-sidebar nav a {
    color: var(--qc-text);
}

.shell-qingcheng--enterprise .dashboard-sidebar nav a svg {
    color: var(--qc-text-muted);
    opacity: 0.88;
}

.shell-qingcheng--enterprise .dashboard-sidebar nav a:hover svg,
.shell-qingcheng--enterprise .dashboard-sidebar nav a.active svg {
    color: currentColor;
    opacity: 1;
}

.shell-qingcheng--enterprise .dashboard-sidebar nav a:hover {
    color: var(--qc-orange-dark);
    background: rgba(255, 107, 44, 0.07);
}

.shell-qingcheng--enterprise .dashboard-sidebar nav a:hover::before {
    background: rgba(255, 107, 44, 0.45);
}

.shell-qingcheng--enterprise .dashboard-sidebar nav a.active {
    color: var(--qc-orange-dark);
    background: rgba(255, 107, 44, 0.12);
    font-weight: 600;
    box-shadow: none !important;
}

.shell-qingcheng--enterprise .dashboard-sidebar nav a.active::before {
    background: var(--qc-orange);
}

.shell-qingcheng--enterprise .dashboard-sidebar-collapse-btn {
    background: #faf5f2;
    color: var(--qc-orange-dark);
    border-color: rgba(255, 107, 44, 0.28);
}

.shell-qingcheng--enterprise .dashboard-sidebar-collapse-btn:hover,
.shell-qingcheng--enterprise .dashboard-sidebar.collapsed .dashboard-sidebar-collapse-btn {
    background: linear-gradient(135deg, var(--qc-orange), var(--qc-orange-dark));
    color: #fff;
    border-color: var(--qc-orange);
}

/* —— 企业主内容：青城橙/暖棕，覆盖 ESG 青绿专页变量与画布 —— */
body.shell-qingcheng--enterprise.enterprise-admin-dashboard {
    --ent-accent: var(--qc-orange);
    --ent-accent-deep: var(--qc-orange-dark);
    --ent-accent-soft: rgba(255, 107, 44, 0.12);
    --ent-heading: var(--qc-navy);
}

body.shell-qingcheng--enterprise.enterprise-admin-dashboard[data-ent-page] .dashboard-main.ent-showcase-main {
    background:
        radial-gradient(ellipse 140% 90% at 0% -25%, rgba(255, 107, 44, 0.08) 0%, transparent 52%),
        radial-gradient(ellipse 100% 75% at 100% 5%, rgba(122, 90, 72, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, #f5f0ec 0%, var(--qc-bg) 28%, var(--qc-bg) 100%);
}

body.shell-qingcheng--enterprise.enterprise-admin-dashboard[data-ent-page] .ent-showcase-page-hero.mentor-dashboard-header,
body.shell-qingcheng--enterprise.enterprise-admin-dashboard[data-ent-page] .mentor-dashboard-header {
    border: 1px solid rgba(255, 107, 44, 0.22);
    border-left-width: 4px;
    border-left-color: var(--qc-orange);
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.99) 0%,
        rgba(253, 246, 242, 0.85) 42%,
        rgba(255, 255, 255, 0.96) 100%
    );
    box-shadow: 0 8px 32px rgba(26, 43, 74, 0.06);
}

body.shell-qingcheng--enterprise.enterprise-admin-dashboard .mentor-page-eyebrow {
    color: var(--qc-orange-dark);
}

body.shell-qingcheng--enterprise.enterprise-admin-dashboard .mentor-dashboard-header h1,
body.shell-qingcheng--enterprise.enterprise-admin-dashboard .dashboard-header h1 {
    color: var(--qc-navy);
}

body.shell-qingcheng--enterprise.enterprise-admin-dashboard .btn-ent-primary {
    background: linear-gradient(135deg, var(--qc-orange) 0%, var(--qc-orange-dark) 100%);
    box-shadow: 0 4px 12px rgba(255, 107, 44, 0.28);
}

body.shell-qingcheng--enterprise.enterprise-admin-dashboard .btn-ent-secondary {
    border-color: rgba(255, 107, 44, 0.35);
    color: var(--qc-orange-dark);
}

body.shell-qingcheng--enterprise.enterprise-admin-dashboard .mentor-dashboard-header .ent-admin-header-btn.btn-ent-primary {
    box-shadow:
        0 4px 14px rgba(255, 107, 44, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

body.shell-qingcheng--enterprise.enterprise-admin-dashboard .mentor-dashboard-header .ent-admin-header-btn.btn-ent-primary:hover {
    box-shadow:
        0 8px 24px rgba(255, 107, 44, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

body.shell-qingcheng--enterprise.enterprise-admin-dashboard[data-ent-page='home'] .ent-smart-shortcuts-titlebar {
    border-bottom-color: rgba(255, 107, 44, 0.25);
}

body.shell-qingcheng--enterprise.enterprise-admin-dashboard[data-ent-page='home'] .ent-smart-shortcuts-titlebar .section-icon-challenge {
    background: linear-gradient(135deg, var(--qc-orange) 0%, var(--qc-orange-dark) 100%);
    box-shadow: 0 2px 8px rgba(255, 107, 44, 0.35);
}

body.shell-qingcheng--enterprise.enterprise-admin-dashboard[data-ent-page='home'] .ent-smart-tile:hover {
    border-color: rgba(255, 107, 44, 0.35);
}

body.shell-qingcheng--enterprise.enterprise-admin-dashboard[data-ent-page='home'] .ent-smart-tile__icon {
    background: rgba(255, 107, 44, 0.12);
    color: var(--qc-orange-dark);
}

.shell-qingcheng--enterprise .summary-card-orange { background: linear-gradient(135deg, #f07830, #e85d20); }
.shell-qingcheng--enterprise .summary-card-green { background: linear-gradient(135deg, #c97852, #a86444); }
.shell-qingcheng--enterprise .summary-card-teal { background: linear-gradient(135deg, #d4845c, #b86f48); }
.shell-qingcheng--enterprise .summary-card-blue { background: linear-gradient(135deg, #9d745e, #7a5a48); }

body.shell-qingcheng--enterprise.enterprise-admin-dashboard .ent-admin-kpi-card {
    border-color: rgba(255, 107, 44, 0.15);
    background: linear-gradient(165deg, #fff 0%, rgba(253, 246, 242, 0.55) 100%);
}

body.shell-qingcheng--enterprise.enterprise-admin-dashboard .ent-admin-kpi-card--accent {
    border-color: rgba(255, 107, 44, 0.28);
    background: linear-gradient(135deg, rgba(255, 107, 44, 0.08) 0%, rgba(255, 255, 255, 0.98) 100%);
}

body.shell-qingcheng--enterprise.enterprise-admin-dashboard .ent-admin-callout {
    border-color: rgba(255, 107, 44, 0.22);
    background: linear-gradient(135deg, rgba(253, 246, 242, 0.95) 0%, rgba(255, 251, 245, 0.85) 100%);
    color: #7c4a2e;
}

/* —— 主内容区：结构条直角，卡片圆角 —— */
.shell-qingcheng .dashboard-user-panel {
    margin-left: -32px;
    margin-right: -32px;
    border-radius: 0 !important;
    border-left: none;
    border-right: none;
    box-shadow: none;
}

.shell-qingcheng--student .dashboard-user-panel {
    background: linear-gradient(90deg, #e8f4f0 0%, #eef8f5 50%, #f2faf8 100%);
    border-bottom: 1px solid rgba(0, 184, 148, 0.12);
}

.shell-qingcheng--enterprise .dashboard-user-panel {
    background: linear-gradient(90deg, #faf0ea 0%, #fdf6f2 100%);
    border-bottom: 1px solid rgba(255, 107, 44, 0.1);
}

.shell-qingcheng .dashboard-user-panel .panel-avatar {
    border-radius: var(--qc-radius-card);
}

.shell-qingcheng--student .dashboard-user-panel .panel-avatar {
    background: linear-gradient(135deg, var(--qc-teal), var(--qc-teal-dark)) !important;
}

.shell-qingcheng .dashboard-user-panel .panel-tag {
    border-radius: 4px;
}

.shell-qingcheng .dashboard-user-panel .panel-ability-btn {
    border-radius: var(--qc-radius-btn);
}

.shell-qingcheng .dashboard-header {
    margin-bottom: 20px;
    padding-bottom: 0;
}

.shell-qingcheng .dashboard-header h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--qc-navy);
}

.shell-qingcheng .dashboard-header .welcome {
    color: var(--qc-text-muted);
    font-size: 14px;
}

/* 摘要卡片：保留圆角 */
.shell-qingcheng .summary-card {
    border-radius: var(--qc-radius-card);
    box-shadow: 0 4px 16px rgba(26, 43, 74, 0.08);
}

.shell-qingcheng--student .summary-card-orange { background: linear-gradient(135deg, #f07830, #e85d20); }
.shell-qingcheng--student .summary-card-green { background: linear-gradient(135deg, #22a06b, #1a8f5f); }
.shell-qingcheng--student .summary-card-teal { background: linear-gradient(135deg, #00a884, #008f72); }
.shell-qingcheng--student .summary-card-blue { background: linear-gradient(135deg, #3d8fd4, #2e7fc4); }

/* 标签 + 内容：合并为一块，外框仅底部圆角 */
.shell-qingcheng .dashboard-tabs {
    border-radius: 0 !important;
    box-shadow: none;
    border: 1px solid var(--qc-border);
    border-bottom: 1px solid var(--qc-border);
    background: var(--qc-surface);
    padding: 0;
}

.shell-qingcheng .dashboard-tabs a,
.shell-qingcheng .dashboard-tabs .dashboard-tab {
    border-radius: 0;
    margin-bottom: 0;
    border-bottom: 3px solid transparent;
    font-size: 15px;
    padding: 14px 22px;
}

.shell-qingcheng--student .dashboard-tabs a.active,
.shell-qingcheng--student .dashboard-tabs .dashboard-tab.active {
    color: var(--qc-teal-dark);
    border-bottom-color: var(--qc-teal);
    background: rgba(0, 184, 148, 0.04);
}

.shell-qingcheng--enterprise .dashboard-tabs a.active,
.shell-qingcheng--enterprise .dashboard-tabs .dashboard-tab.active {
    color: var(--qc-orange-dark);
    border-bottom-color: var(--qc-orange);
    background: rgba(255, 107, 44, 0.04);
}

.shell-qingcheng .dashboard-tab-content {
    border-radius: 0 !important;
    box-shadow: none;
    border: 1px solid var(--qc-border);
    border-top: none;
    background: var(--qc-surface);
    margin-bottom: 32px;
}

.shell-qingcheng .dashboard-tab-panel:last-of-type .dashboard-tab-content,
.shell-qingcheng .dashboard-tab-panel.active.dashboard-tab-content {
    border-radius: 0 0 var(--qc-radius-card) var(--qc-radius-card) !important;
}

/* 列表卡片：圆角 */
.shell-qingcheng .course-entry,
.shell-qingcheng .project-entry,
.shell-qingcheng .challenge-entry,
.shell-qingcheng .activity-entry {
    border-radius: var(--qc-radius-card);
    background: #fafbfc;
    border: 1px solid var(--qc-border);
}

.shell-qingcheng .course-entry-thumb,
.shell-qingcheng .project-entry-thumb,
.shell-qingcheng .challenge-entry-thumb {
    border-radius: var(--qc-radius-btn);
}

.shell-qingcheng .btn-continue,
.shell-qingcheng .btn-claim,
.shell-qingcheng .btn-join,
.shell-qingcheng .btn-enroll {
    border-radius: var(--qc-radius-btn);
}

.shell-qingcheng--student .btn-continue,
.shell-qingcheng--student .btn-claim {
    background: linear-gradient(135deg, var(--qc-teal), var(--qc-teal-dark));
}

/* 推荐区卡片 */
.shell-qingcheng .recommend-card,
.shell-qingcheng .dashboard-card {
    border-radius: var(--qc-radius-card);
}

/* —— 运营（ops）· 与学生/企业同族青橙壳 —— */
.shell-qingcheng--ops {
    --light-blue: var(--qc-teal);
    --starlight-gold: var(--qc-orange);
}

.shell-qingcheng--ops .header {
    background: linear-gradient(135deg, #1a2b4a 0%, #2d6b5e 38%, #4d9a88 100%) !important;
    color: #fff !important;
    border-bottom: none;
    box-shadow: 0 2px 16px rgba(26, 43, 74, 0.18);
}

.shell-qingcheng--ops .header::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: min(520px, 55vw);
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.16' stroke-width='1'%3E%3Cpath d='M10 60h18M92 60h18M60 10v18M60 92v18'/%3E%3Ccircle cx='60' cy='60' r='8'/%3E%3Ccircle cx='60' cy='60' r='22'/%3E%3C/g%3E%3C/svg%3E"),
        radial-gradient(ellipse 90% 110% at 100% 45%, rgba(255, 255, 255, 0.14) 0%, transparent 55%),
        radial-gradient(ellipse 55% 70% at 86% 18%, rgba(255, 107, 44, 0.14) 0%, transparent 50%);
    mask-image: linear-gradient(to left, #000 30%, transparent 90%);
    -webkit-mask-image: linear-gradient(to left, #000 30%, transparent 90%);
}

.shell-qingcheng--ops .header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--qc-teal) 0%, rgba(255, 255, 255, 0.35) 50%, var(--qc-orange) 100%);
    pointer-events: none;
}

.shell-qingcheng--ops .qc-shell-badge {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.shell-qingcheng--ops .header .btn-sm.btn-secondary {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.1);
}

.shell-qingcheng--ops .header .btn-sm.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.shell-qingcheng--ops .dashboard-sidebar {
    background: #eef6f3 !important;
    border-right: 1px solid rgba(0, 184, 148, 0.16);
    border-radius: 0 !important;
    box-shadow: none !important;
}

.shell-qingcheng--ops .dashboard-sidebar .brand {
    background: linear-gradient(135deg, #1a2b4a 0%, #4d9a88 100%);
    margin: 10px 10px 0;
    border-radius: 10px 10px 0 0;
    padding: 16px 18px;
}

.shell-qingcheng--ops .dashboard-sidebar .brand a {
    color: #fff !important;
    font-weight: 700;
    font-size: 14px;
}

.shell-qingcheng--ops .dashboard-sidebar .nav-title {
    display: block !important;
    color: var(--qc-text-muted);
    font-size: 11px;
    letter-spacing: 0.06em;
    margin: 14px 18px 6px;
    text-transform: none;
}

.shell-qingcheng--ops .dashboard-sidebar nav a {
    margin: 2px 10px;
    padding: 10px 14px 10px 18px;
    border-radius: 8px;
    color: var(--qc-text);
    font-weight: 500;
    box-shadow: none !important;
}

.shell-qingcheng--ops .dashboard-sidebar nav a svg {
    stroke: var(--qc-teal-dark);
    opacity: 0.85;
}

.shell-qingcheng--ops .dashboard-sidebar nav a:hover {
    color: var(--qc-teal-dark);
    background: rgba(0, 184, 148, 0.08) !important;
}

.shell-qingcheng--ops .dashboard-sidebar nav a.active {
    color: var(--qc-teal-dark);
    background: rgba(0, 184, 148, 0.12) !important;
    font-weight: 600;
}

body.shell-qingcheng--ops.admin-console-page {
    background: var(--qc-bg);
}

body.shell-qingcheng--ops.admin-console-page .dashboard-main {
    background: var(--qc-bg);
}

body.shell-qingcheng--ops.admin-console-page .admin-page-header {
    border-color: rgba(0, 184, 148, 0.14);
    background: linear-gradient(135deg, #fff 0%, rgba(244, 247, 250, 0.96) 100%);
    box-shadow: 0 4px 18px rgba(26, 43, 74, 0.06);
}

body.shell-qingcheng--ops.admin-console-page .admin-page-eyebrow {
    color: var(--qc-teal-dark);
}

body.shell-qingcheng--ops.admin-console-page .admin-page-header h1 {
    color: var(--qc-navy);
}

body.shell-qingcheng--ops.admin-console-page .admin-page-header .welcome {
    color: var(--qc-text-muted);
}

body.shell-qingcheng--ops.admin-console-page .admin-page-header .welcome strong {
    color: var(--qc-teal-dark);
}

body.shell-qingcheng--ops.admin-console-page .header-actions-wrap .btn-sm.btn-primary {
    background: linear-gradient(135deg, var(--qc-teal), var(--qc-teal-dark)) !important;
    box-shadow: 0 4px 14px rgba(0, 184, 148, 0.25) !important;
    border: none;
}

body.shell-qingcheng--ops.admin-console-page .header-actions-wrap .btn-sm.btn-primary:hover {
    box-shadow: 0 6px 18px rgba(0, 184, 148, 0.32) !important;
}

body.shell-qingcheng--ops.admin-console-page .header-actions-wrap .btn-sm.btn-secondary {
    border-color: rgba(0, 184, 148, 0.22);
    color: var(--qc-teal-dark);
    background: #fff;
}

body.shell-qingcheng--ops.admin-console-page .header-actions-wrap .btn-sm.btn-secondary:hover {
    border-color: rgba(0, 184, 148, 0.4);
    background: rgba(0, 184, 148, 0.06);
    color: var(--qc-teal-dark);
}

body.shell-qingcheng--ops.admin-task-review-page .review-section {
    border-color: rgba(0, 184, 148, 0.12);
    box-shadow: 0 4px 14px rgba(26, 43, 74, 0.05);
}

body.shell-qingcheng--ops.admin-task-review-page .review-section h2,
body.shell-qingcheng--ops.admin-task-review-page .admin-module-editor__title {
    color: var(--qc-navy);
}

body.shell-qingcheng--ops.admin-task-review-page .admin-hint a,
body.shell-qingcheng--ops.admin-task-review-page .admin-hint code {
    color: var(--qc-teal-dark);
}

body.shell-qingcheng--ops.admin-task-review-page .admin-task-table th {
    background: rgba(0, 184, 148, 0.05);
    color: var(--qc-text-muted);
}

body.shell-qingcheng--ops.admin-task-review-page .admin-task-table tr:hover td {
    background: rgba(0, 184, 148, 0.04);
}

body.shell-qingcheng--ops.admin-task-review-page .btn-sm.btn-primary {
    background: linear-gradient(135deg, var(--qc-teal), var(--qc-teal-dark));
    border: none;
}

body.shell-qingcheng--ops.admin-task-review-page .btn-sm.btn-secondary {
    border-color: rgba(0, 184, 148, 0.22);
    color: var(--qc-teal-dark);
}

body.shell-qingcheng--ops.admin-task-review-page .btn-sm.btn-secondary:hover {
    background: rgba(0, 184, 148, 0.06);
    border-color: rgba(0, 184, 148, 0.35);
}

body.shell-qingcheng--ops.admin-task-review-page .admin-select:focus,
body.shell-qingcheng--ops.admin-task-review-page .admin-toolbar-actions select:focus {
    border-color: var(--qc-teal);
    box-shadow: 0 0 0 3px rgba(0, 184, 148, 0.12);
}

body.shell-qingcheng--ops.admin-task-review-page .qc-review-hint--info {
    background: rgba(0, 184, 148, 0.08);
    border-color: rgba(0, 184, 148, 0.18);
}

body.shell-qingcheng--ops.admin-task-review-page .qc-review-hint a {
    color: var(--qc-teal-dark);
    font-weight: 600;
}

body.shell-qingcheng--ops.admin-task-review-page .qc-review-hint code {
    color: var(--qc-teal-dark);
    background: rgba(0, 184, 148, 0.08);
}

body.shell-qingcheng--ops.admin-console-page .admin-modal__backdrop {
    background: rgba(26, 43, 74, 0.4);
}

body.shell-qingcheng--ops.admin-console-page .admin-modal__title {
    color: var(--qc-navy);
}

body.shell-qingcheng--ops.admin-console-page .admin-form__row textarea:focus,
body.shell-qingcheng--ops.admin-console-page .admin-form__row input:focus {
    border-color: var(--qc-teal);
    box-shadow: 0 0 0 3px rgba(0, 184, 148, 0.12);
}

body.shell-qingcheng--ops.mentor-workspace-page .dashboard-sidebar {
    top: var(--qc-header-offset);
    height: calc(100vh - var(--qc-header-offset));
    min-height: calc(100vh - var(--qc-header-offset));
}
