﻿/* ============================================================ */
/* Page_Work_Body 区：工作台主内容（前缀 Page_Work_Body_）        */
/* ============================================================ */
.Page_Work_Body_main {
    padding: calc(var(--topbar-h) + var(--top-safe) + 16px) 16px calc(var(--tabbar-h) + var(--bottom-safe) + 16px);
}

.Page_Work_Body_section {
    margin-bottom: 24px;
}

.Page_Work_Body_sectionHead {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 14px;
}

.Page_Work_Body_sectionTitle {
    font-size: 17px;
    font-weight: 700;
}

    .Page_Work_Body_sectionTitle::before {
        content: "";
        display: inline-block;
        width: 4px;
        height: 15px;
        background: var(--primary);
        border-radius: 2px;
        margin-right: 8px;
        vertical-align: -2px;
    }

.Page_Work_Body_sectionMore {
    font-size: 12px;
    color: var(--text-sub);
}

/* ========== Body 区：1. 工作台概览卡 ========== */
.Page_Work_Body_workOverview {
    position: relative;
    min-height: 104px;
    border-radius: 22px;
    padding: 20px 22px;
    color: #fff;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 55%, #0ea5e9 130%);
    box-shadow: 0 10px 24px rgba(30, 58, 138, .28);
    overflow: hidden;
    display: flex;
    align-items: center;
}

    .Page_Work_Body_workOverview::after {
        content: "🛠️";
        position: absolute;
        right: -10px;
        bottom: -18px;
        font-size: 96px;
        opacity: .12;
    }

.Page_Work_Body_overviewTop {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
}

.Page_Work_Body_overviewAvatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border: 2px solid rgba(255,255,255,.5);
    flex-shrink: 0;
}

.Page_Work_Body_overviewName {
    font-size: 18px;
    font-weight: 700;
}

.Page_Work_Body_overviewDate {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
    font-size: 11px;
    background: rgba(251, 191, 36, .25);
    color: #fde68a;
    padding: 3px 10px;
    border-radius: 12px;
}

/* ========== Body 区：2. 关键数据简报 ========== */
.Page_Work_Body_kpiGrid {
    background: var(--card);
    border-radius: 18px;
    padding: 18px 6px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px 4px;
    box-shadow: var(--shadow);
}

.Page_Work_Body_kpiItem {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.Page_Work_Body_kpiNum {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
}

    .Page_Work_Body_kpiNum em {
        font-style: normal;
        font-size: 10px;
        color: var(--text-sub);
        font-weight: 400;
    }

.Page_Work_Body_kpiLabel {
    font-size: 11px;
    color: var(--text-sub);
}

.Page_Work_Body_kpiTrend {
    font-size: 10px;
    color: #10b981;
}

/* ========== Body 区：3. 工作台横向滑动板块（核心） ========== */
.Page_Work_Body_wbGrid {
    background: var(--card);
    border-radius: 18px;
    padding: 18px 12px;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    box-shadow: var(--shadow);
}

    .Page_Work_Body_wbGrid::-webkit-scrollbar {
        display: none;
    }

.Page_Work_Body_wbItem {
    min-width: 92px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
}

.Page_Work_Body_wbIcon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.Page_Work_Body_wbItem span {
    font-size: 12px;
    color: var(--text);
    white-space: nowrap;
}

.Page_Work_Body_wbBadge {
    position: absolute;
    top: -3px;
    right: 22px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: #ef4444;
    color: #fff;
    font-size: 9px;
    line-height: 16px;
    text-align: center;
}

/* ========== Body 区：4. 工作节点任务列表 ========== */
.Page_Work_Body_taskCard {
    background: var(--card);
    border-radius: 18px;
    padding: 16px 14px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.Page_Work_Body_taskItem {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    background: var(--bg);
}

.Page_Work_Body_taskStatus {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

    .Page_Work_Body_taskStatus.doing {
        background: var(--primary);
    }

    .Page_Work_Body_taskStatus.wait {
        background: var(--gold);
    }

    .Page_Work_Body_taskStatus.done {
        background: #10b981;
    }

.Page_Work_Body_taskInfo {
    flex: 1;
    min-width: 0;
}

.Page_Work_Body_taskName {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 3px;
}

.Page_Work_Body_taskDesc {
    font-size: 11px;
    color: var(--text-sub);
}

.Page_Work_Body_taskTag {
    font-size: 10px;
    padding: 3px 9px;
    border-radius: 10px;
    flex-shrink: 0;
}

.Page_Work_Body_tagDoing {
    background: var(--primary-light);
    color: var(--primary);
}

.Page_Work_Body_tagWait {
    background: #fef3c7;
    color: var(--gold);
}

.Page_Work_Body_tagDone {
    background: #d1fae5;
    color: #10b981;
}

/* ========== Body 区：5. 工作流（待确认清单） ========== */
.Page_Work_Body_flowCard {
    background: var(--card);
    border-radius: 18px;
    padding: 16px 14px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.Page_Work_Body_flowItem {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    background: var(--bg);
}

.Page_Work_Body_flowStatus {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--gold);
}

.Page_Work_Body_flowInfo {
    flex: 1;
    min-width: 0;
}

.Page_Work_Body_flowName {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 3px;
}

.Page_Work_Body_flowDesc {
    font-size: 11px;
    color: var(--text-sub);
}

.Page_Work_Body_flowCount {
    font-size: 10px;
    color: var(--gold);
    background: #fef3c7;
    padding: 4px 9px;
    border-radius: 10px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    flex-shrink: 0;
}

.Page_Work_Body_flowTag {
    font-size: 10px;
    padding: 3px 9px;
    border-radius: 10px;
    flex-shrink: 0;
    background: #fef3c7;
    color: var(--gold);
}

/* ========== Body 区：6. 阶段规划 ========== */
.Page_Work_Body_planGrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.Page_Work_Body_planItem {
    background: var(--card);
    border-radius: 16px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow);
}

.Page_Work_Body_planIcon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.Page_Work_Body_planInfo {
    flex: 1;
}

.Page_Work_Body_planTitle {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.Page_Work_Body_planDesc {
    font-size: 11px;
    color: var(--text-sub);
}

.Page_Work_Body_planProgress {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
}

/* ========== Body 区：7. 解决方案快捷入口 ========== */
.Page_Work_Body_solutionGrid {
    background: var(--card);
    border-radius: 18px;
    padding: 18px 8px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 4px;
    box-shadow: var(--shadow);
}

.Page_Work_Body_solutionItem {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.Page_Work_Body_solutionIcon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
}

.Page_Work_Body_solutionItem span {
    font-size: 12px;
    color: var(--text);
}

/* ========== Body 区：8. 需求反馈横幅 ========== */
.Page_Work_Body_feedbackBanner {
    border-radius: 18px;
    padding: 18px 20px;
    color: #fff;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .Page_Work_Body_feedbackBanner h4 {
        font-size: 15px;
        margin-bottom: 5px;
    }

    .Page_Work_Body_feedbackBanner p {
        font-size: 11px;
        opacity: .9;
    }

.Page_Work_Body_feedbackBtn {
    padding: 9px 18px;
    border-radius: 20px;
    background: #fff;
    color: #0ea5e9;
    font-size: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}
