:root {
    /* 尺寸 */
    --slide-w: 1280px;
    --slide-h: 720px;

    /* 颜色 */
    --c-bg: #ffffff;
    --c-surface: #f8fafc;
    --c-surface-2: #f1f5f9;
    --c-border: #e2e8f0;
    --c-divider: #e0e7ff;

    --c-text: #1e293b;
    --c-text-2: #64748b;
    --c-text-3: #666666;

    --c-primary: #2563eb;
    --c-primary-hover: #1d4ed8;
    --c-primary-400: #60a5fa;
    --c-primary-500: #3b82f6;
    --c-primary-900: #1e40af;

    --c-green: #10b981;
    --c-green-600: #059669;
    --c-amber: #f59e0b;
    --c-amber-600: #d97706;
    --c-purple: #8b5cf6;
    --c-pink: #ec4899;
    --c-red: #ef4444;

    --c-blue-400: #4A90E2;
    --c-blue-300: #67B7FF;
    --c-hover-surface: #f0f7ff;

    /* 渐变 */
    --g-primary: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --g-primary-alt: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    --g-ai: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    --g-system: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --g-human: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    --g-amber: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    --g-funnel-blue: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);

    /* 字体 */
    --ff-base: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    --fs-h1: 24px;
    --fs-xxl: 20px;
    --fs-xl: 18px;
    --fs-lg: 16px;
    --fs-md: 14px;
    --fs-base: 13px;
    --fs-sm: 12px;
    --fs-xs: 11px;
    --fs-xxs: 10px;
    --fs-xxxs: 9px;

    --lh-tight: 1.1;
    --lh-snug: 1.2;
    --lh-normal: 1.3;
    --lh-relaxed: 1.4;

    /* 间距 */
    --sp-1: 2px;
    --sp-1_5: 3px;
    --sp-2: 4px;
    --sp-2_5: 5px;
    --sp-3: 6px;
    --sp-4: 8px;
    --sp-5: 10px;
    --sp-6: 12px;
    --sp-7: 14px;
    --sp-8: 16px;
    --sp-9: 18px;
    --sp-10: 20px;
    --sp-12: 24px;
    --sp-14: 28px;
    --sp-16: 32px;
    --sp-20: 40px;

    /* 圆角 */
    --r-3: 3px;
    --r-4: 4px;
    --r-5: 5px;
    --r-6: 6px;
    --r-8: 8px;
    --r-10: 10px;

    /* 边框 */
    --bd-1: 1px;
    --bd-2: 2px;
    --bd-accent: 3px;
    --bd-strong: 4px;

    /* 阴影 */
    --sh-elev: 0 10px 40px rgba(0, 0, 0, 0.15);
    --sh-brand-sm: 0 2px 6px rgba(37, 99, 235, 0.3);
    --sh-card-hover: 0 4px 12px rgba(37, 99, 235, 0.15);
    --sh-blue-sm: 0 2px 6px rgba(59, 130, 246, 0.25);
    --sh-green-sm: 0 2px 6px rgba(16, 185, 129, 0.25);
    --sh-hover-md: 0 4px 12px rgba(59, 130, 246, 0.35);
    --sh-generic-md: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);

    /* 动效 */
    --tr-fast: all 0.2s ease;
    --tr: all 0.3s ease;
    --tr-w-fast: width 0.5s ease;
    --tr-w-slow: width 0.8s ease;

    /* 层级 */
    --z-nav: 1000;
    --z-legend: 100;

    /* 组件细节 */
    --section-bar-w: 4px;
    --section-bar-h: 24px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #333;
    /* Dark background to pop the slide */
    font-family: var(--ff-base);
}

/* 核心容器 */
.slide-container {
    width: var(--slide-w);
    height: var(--slide-h);
    background: var(--c-bg);
    box-shadow: var(--sh-elev);
    overflow: hidden;
    position: relative;
    /* Scaled via JS if needed, but fixed for now */
}

/* 幻灯片页面 */
.slide {
    width: 100%;
    height: 100%;
    padding: 18px 30px;
    /* Revised from spec text vs code sample */
    display: none;
    /* Hidden by default */
    flex-direction: column;
    animation: fadeIn 0.5s ease;
}

.slide.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 头部 */
.header {
    margin-bottom: var(--sp-4);
    padding-bottom: var(--sp-3);
    border-bottom: var(--bd-2) solid var(--c-primary);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.header h1 {
    font-size: var(--fs-h1);
    color: var(--c-text);
    font-weight: 700;
    line-height: var(--lh-snug);
    margin: 0;
}

.header-sub {
    font-size: var(--fs-sm);
    color: var(--c-text-2);
}

/* 导航按钮 */
.nav-buttons {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: var(--z-nav);
    display: flex;
    gap: 10px;
}

.nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--c-primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--tr);
    box-shadow: var(--sh-brand-sm);
    color: white;
}

.nav-btn:hover {
    background: var(--c-primary-hover);
    transform: scale(1.1);
}

.nav-btn:active {
    transform: scale(0.95);
}

/* 卡片 */
.card {
    background: var(--c-surface);
    border: var(--bd-2) solid var(--c-border);
    border-radius: var(--r-8);
    padding: var(--sp-6);
    transition: var(--tr);
    margin-bottom: var(--sp-4);
}

.card:hover {
    border-color: var(--c-primary);
    box-shadow: var(--sh-card-hover);
}

/* 标签 */
.tag {
    display: inline-block;
    background: #dbeafe;
    color: var(--c-primary);
    padding: 3px 10px;
    border-radius: var(--r-4);
    font-size: var(--fs-xs);
    font-weight: 600;
}

/* Section 标题 */
.section-title {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    font-size: var(--fs-xxl);
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: var(--sp-5);
    margin-top: var(--sp-5);
}

.section-title::before {
    content: '';
    width: var(--section-bar-w);
    height: var(--section-bar-h);
    background: var(--c-primary);
    border-radius: 2px;
}

/* 网格系统 */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.project-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
}

/* 文本工具 */
.text-p {
    font-size: var(--fs-md);
    line-height: var(--lh-relaxed);
    color: var(--c-text);
    margin: 0 0 10px 0;
}

.text-sm {
    font-size: var(--fs-sm);
    color: var(--c-text-2);
}

/* 流程节点 */
.flow-node-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    border: var(--bd-2) solid var(--c-border);
    border-radius: var(--r-6);
    padding: 6px 8px;
    text-align: center;
    background: var(--c-bg);
    position: relative;
    transition: var(--tr);
}

.flow-node-box.ai {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-color: var(--c-green);
    border-left: 4px solid var(--c-green);
}

.flow-node-box.system {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: var(--c-primary);
    border-left: 4px solid var(--c-primary);
}

.flow-node-box.human {
    background: var(--c-bg);
    border-color: #cbd5e1;
    border-left: 4px solid #64748b;
}

/* 漏斗条 */
.funnel-bar {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border-radius: 5px;
    padding: 10px 16px;
    margin-bottom: 8px;
    transition: var(--tr);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.funnel-bar:hover {
    transform: translateX(4px);
}

/* 时间线 */
.timeline-grid {
    display: grid;
    grid-template-columns: 200px repeat(12, 1fr);
    gap: 0;
    border: 1px solid var(--c-border);
}

.timeline-header {
    background: var(--c-surface);
    padding: 10px;
    font-weight: bold;
    font-size: 12px;
    text-align: center;
    border-right: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
}

.timeline-row-head {
    padding: 10px;
    border-right: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}
/* 封面特定 */
.cover-page {
    justify-content: center;
    align-items: flex-start;
    padding-left: 80px;
    background: white;
    position: relative;
    overflow: hidden;
}

/* 封面背景装饰 - 点阵纹理 */
.cover-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--c-divider) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    opacity: 0.6;
    z-index: 0;
}

/* 封面背景装饰 - 弥散光斑 */
.cover-bg-orb {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    top: -200px;
    right: -200px;
    z-index: 0;
    animation: floatOrb 10s ease-in-out infinite;
}

@keyframes floatOrb {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-30px, 30px);
    }
}

.cover-content {
    position: relative;
    z-index: 1;
}

.cover-title {
    font-size: 52px;
    color: var(--c-primary-900);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.cover-subtitle {
    font-size: 24px;
    color: var(--c-text-2);
    margin-bottom: 30px;
    max-width: 800px;
    line-height: 1.5;
}

/* 讲师信息 */
.cover-author {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    font-size: 18px;
}

.cover-author-avatar {
    width: 48px;
    height: 48px;
    background: var(--c-surface-2);
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: var(--sh-brand-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: var(--c-primary);
}

.cover-meta {
    font-size: 15px;
    color: var(--c-text-2);
    background: rgba(255, 255, 255, 0.8);
    padding: 12px 24px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    border: 1px solid var(--c-border);
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
/* 目录页 - 新版分栏布局 */
.toc-container {
    display: flex;
    height: 100%;
    gap: 60px;
    align-items: stretch;
}

/* 左侧边栏 - 视觉锚点 */
.toc-sidebar {
    flex: 0 0 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--c-divider);
    padding-right: 40px;
}

.toc-title-group {
    margin-bottom: 60px;
}

.toc-title-main {
    font-size: 56px;
    font-weight: 800;
    color: var(--c-text);
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -2px;
}

.toc-title-sub {
    font-size: 18px;
    color: var(--c-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* 目标卡片组 */
.objective-box {
    background: var(--c-surface-2);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 4px solid var(--c-primary);
}

.objective-box h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: var(--c-primary-900);
}

.objective-box p {
    margin: 0;
    font-size: 14px;
    color: var(--c-text-2);
    line-height: 1.4;
}

/* 右侧列表区域 */
.toc-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.toc-new-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.toc-new-item {
    display: flex;
    align-items: center;
    padding: 24px 30px;
    background: white;
    border: 1px solid var(--c-border);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--sh-generic-md);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.toc-new-item:hover {
    transform: translateX(10px) scale(1.02);
    border-color: var(--c-primary);
    box-shadow: var(--sh-hover-md);
}

.toc-new-num {
    font-size: 28px;
    font-weight: 900;
    color: var(--c-border);
    /* 默认淡色 */
    margin-right: 24px;
    font-family: 'Arial', sans-serif;
    transition: var(--tr);
}

.toc-new-item:hover .toc-new-num {
    color: var(--c-primary);
}

.toc-new-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--c-text);
}

.toc-new-desc {
    font-size: 14px;
    color: var(--c-text-2);
    margin-top: 4px;
    font-weight: 400;
}
/* Chapter 3 Specific Styles */

/* Base Layout for dual-column slides */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 1:1 balance as requested */
    gap: 40px;
    /* Reduced from 60px */
    /* Generous gap for breathing room */
    height: 100%;
    align-items: center;
    /* Center vertically by default */
    padding: 20px 0;
}

/* --- Hierarchy System --- */

/* Level 1: Absolute Core Viewpoint */
.core-viewpoint {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--c-text);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.core-viewpoint .highlight {
    color: var(--c-primary);
    position: relative;
    display: inline-block;
}

/* Optional: underline effect for highlight */
.core-viewpoint .highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 12px;
    background: var(--c-primary);
    opacity: 0.2;
    z-index: -1;
}

/* Level 2: Short Explanation */
.core-desc {
    font-size: 20px;
    color: var(--c-text-2);
    line-height: 1.5;
    margin-bottom: 40px;
    font-weight: 400;
}

/* Level 3: Secondary Content (Right Column) */
.secondary-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* Consistent rhythm */
}

/* --- Component: Process/Flow Cards --- */
.flow-card {
    background: var(--c-surface-1);
    border: 1px solid var(--c-border);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.3s ease;
}

.flow-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--sh-md);
    border-color: var(--c-primary);
}

.flow-step-number {
    font-size: 14px;
    font-weight: 700;
    color: var(--c-primary);
    background: var(--c-primary-100);
    padding: 4px 10px;
    border-radius: 20px;
    flex-shrink: 0;
}

.flow-content h4 {
    margin: 0 0 6px 0;
    font-size: 18px;
    color: var(--c-text);
}

.flow-content p {
    margin: 0;
    font-size: 14px;
    color: var(--c-text-2);
    line-height: 1.4;
}

/* --- Specific Slide Overrides --- */

/* Slide: What is LLM */
.neural-box {
    background: linear-gradient(135deg, var(--c-surface-1), var(--c-surface-2));
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    border: 1px solid var(--c-border);
    position: relative;
    overflow: hidden;
}

.neural-flow {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    justify-content: space-between;
}

.neural-node {
    background: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: var(--sh-sm);
    text-align: center;
    min-width: 100px;
    border: 1px solid var(--c-border);
}

/* Slide: Boundaries */
.boundary-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.boundary-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--c-surface-1);
    /* Subtle background */
    border-radius: 8px;
    border-left: 4px solid transparent;
    /* Status indicator placeholder */
}

.boundary-item.good {
    border-left-color: var(--c-green);
}

.boundary-item.bad {
    border-left-color: var(--c-red);
}

/* Slide: Prompt Formula */
.formula-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.formula-block {
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    color: white;
    /* Contrast text */
    box-shadow: var(--sh-sm);
}

.formula-plus {
    text-align: center;
    color: var(--c-text-3);
    font-size: 20px;
}

/* Slide: Framework */
.framework-arrow {
    display: flex;
    align-items: stretch;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
}

.framework-step {
    flex: 1;
    padding: 30px;
    color: white;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Chevron effect using clip-path could be added, or keep simple blocks for now */
/* Chapter 2: 文档与文案 - PPT 演示优化版 */

/* =========================================
   Page 6: 核心价值 - 三重角色
   ========================================= */
.docs-role-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    height: 100%;
    align-items: center;
}

.docs-role-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.docs-role-title-en {
    font-size: 24px;
    color: var(--c-primary);
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.docs-role-title-cn {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--c-text);
    background: linear-gradient(135deg, var(--c-text) 0%, #475569 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.docs-role-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    height: 100%;
    /* Stretch to fill */
    align-content: center;
}

.role-card {
    background: white;
    border-radius: 20px;
    padding: 32px 24px;
    border: 1px solid var(--c-border);
    box-shadow: var(--sh-card-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.role-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--sh-card-lg);
    border-color: var(--c-primary);
}

.role-card-icon {
    font-size: 56px;
    margin-bottom: 24px;
    background: var(--c-surface-2);
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.role-card-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 16px;
}

.role-card-desc {
    font-size: 16px;
    color: var(--c-text-2);
    line-height: 1.6;
    margin-bottom: auto;
    /* Push footer down */
}

/* 移除列表，改为一个核心标签 */
.role-core-tag {
    margin-top: 24px;
    padding: 8px 16px;
    background: var(--c-surface-1);
    color: var(--c-primary);
    font-weight: 600;
    border-radius: 100px;
    font-size: 14px;
}

.docs-role-footer {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    text-align: center;
}

.footer-quote {
    display: inline-block;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 12px 32px;
    border-radius: 100px;
    border: 1px solid var(--c-border);
    font-size: 18px;
    color: var(--c-text-2);
    box-shadow: var(--sh-card-sm);
}

.footer-quote span {
    color: var(--c-primary);
    font-weight: 700;
}

/* =========================================
   Interactive Tabs Module (Slide 7 specific)
   ========================================= */
.interactive-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: white;
    border: 1px solid var(--c-border);
    border-radius: 16px;
    box-shadow: var(--sh-card-sm);
    overflow: hidden;
}

.step-tabs {
    display: flex;
    background: var(--c-surface-1);
    border-bottom: 1px solid var(--c-border);
}

.step-tab {
    flex: 1;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    border-right: 1px solid var(--c-border);
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.step-tab:last-child {
    border-right: none;
}

.step-tab:hover {
    background: var(--c-surface-2);
}

.step-tab.active {
    background: white;
    box-shadow: inset 0 2px 0 var(--c-primary);
}

.step-tab .tab-badge {
    font-size: 12px;
    color: var(--c-text-3);
    font-weight: 700;
}

.step-tab.active .tab-badge {
    color: var(--c-primary);
}

.step-tab .tab-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--c-text);
}

.step-content-box {
    padding: 30px;
    flex: 1;
    overflow-y: auto;
    display: none;
    /* Hide by default */
    animation: fadeIn 0.3s ease-out;
}

.step-content-box.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-content-text {
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 15px;
    /* Slightly larger for presentation */
    line-height: 1.8;
    color: var(--c-text-2);
    white-space: pre-wrap;
}

/* =========================================
   Page 7-12: PPT 演示优化布局
   ========================================= */

/* 头部 Header 优化 */
.method-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--c-surface-2);
}

.method-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--c-text);
    display: flex;
    align-items: center;
    gap: 16px;
}

.method-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: var(--c-text-3);
    background: var(--c-surface-2);
    padding: 6px 12px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 主布局：左右分栏 */
.ppt-method-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    /* 左侧流程略宽 */
    gap: 40px;
    height: calc(100% - 100px);
    /* 减去 Header 高度 */
    align-items: stretch;
}

/* 左侧：流程图 */
.process-flow {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    position: relative;
    padding-left: 30px;
    /* 给连接线留空间 */
}

/* 左侧连接线 */
.process-flow::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 40px;
    bottom: 40px;
    width: 4px;
    background: var(--c-surface-2);
    border-radius: 2px;
}

.process-step {
    background: white;
    border: 1px solid var(--c-border);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    box-shadow: var(--sh-card-sm);
    transition: transform 0.2s;
}

.process-step:hover {
    transform: translateX(5px);
    border-color: var(--c-primary);
}

/* 步骤节点圆点 */
.process-step::after {
    content: '';
    position: absolute;
    left: -26px;
    /* Adjust based on padding-left of flow */
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: white;
    border: 4px solid var(--c-primary);
    border-radius: 50%;
    z-index: 1;
}

.step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.step-badge {
    background: var(--c-primary-light);
    color: var(--c-primary);
    font-weight: 700;
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 6px;
}

.step-title {
    font-weight: 700;
    font-size: 16px;
    color: var(--c-text);
}

.step-content {
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 14px;
    color: var(--c-text-2);
    background: var(--c-surface-1);
    padding: 12px;
    border-radius: 8px;
    line-height: 1.6;
    white-space: pre-wrap;
    border: 1px dashed var(--c-border);
}

/* 右侧：核心洞察 */
.insight-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* 绝对核心观点卡片 - 视觉最重要 */
.core-insight-card {
    background: linear-gradient(135deg, var(--c-surface-1) 0%, white 100%);
    border-left: 6px solid var(--c-primary);
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--sh-card-md);
    flex: 1;
    /* 占据主要空间 */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.core-insight-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--c-text);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.core-insight-text {
    font-size: 18px;
    /* 大字号，易扫读 */
    line-height: 1.6;
    color: var(--c-text-2);
}

.core-insight-text strong {
    color: var(--c-primary);
    font-weight: 700;
}

/* 次级信息组 */
.secondary-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    height: auto;
}

.info-card {
    background: var(--c-surface-1);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid transparent;
}

.info-card h4 {
    font-size: 14px;
    color: var(--c-text-3);
    margin-bottom: 8px;
    font-weight: 600;
}

.info-card p {
    font-size: 14px;
    color: var(--c-text-2);
    line-height: 1.4;
}

/* 高亮强调色 */
.text-highlight {
    color: var(--c-primary);
    font-weight: 600;
}

/* =========================================
   Page 2: 核心价值 - 三重角色
   ========================================= */
.docs-role-layout {
    display: flex;
    height: 100%;
    gap: 60px;
    align-items: center;
}

.docs-role-left {
    flex: 0 0 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.docs-role-title-en {
    font-size: 24px;
    color: var(--c-primary);
    opacity: 0.8;
    margin-top: 10px;
    font-weight: 500;
}

.docs-role-title-cn {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--c-text);
    margin-bottom: 30px;
}

.docs-role-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    height: 70%;
}

.role-card {
    background: white;
    border-radius: 16px;
    padding: 30px 24px;
    border: 1px solid var(--c-border);
    box-shadow: var(--sh-card-sm);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.role-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sh-card-md);
    border-color: var(--c-primary);
}

.role-card-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.role-card-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 12px;
}

.role-card-desc {
    font-size: 16px;
    color: var(--c-text-2);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.role-list {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 20px;
}

.role-list li {
    position: relative;
    padding-left: 18px;
    font-size: 14px;
    color: var(--c-text-2);
    margin-bottom: 8px;
}

.role-list li::before {
    content: "•";
    color: var(--c-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.role-tag {
    background: var(--c-surface-2);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    color: var(--c-primary-900);
    font-weight: 600;
    text-align: center;
}

.docs-role-footer {
    position: absolute;
    bottom: 40px;
    left: 60px;
    right: 60px;
    background: linear-gradient(90deg, var(--c-surface-2) 0%, rgba(255, 255, 255, 0) 100%);
    padding: 20px 30px;
    border-left: 6px solid var(--c-primary);
    border-radius: 4px;
}

.footer-quote {
    font-size: 18px;
    font-weight: 600;
    color: var(--c-text);
}

.footer-quote span {
    color: var(--c-primary);
    font-weight: 800;
}

/* =========================================
   Page 3-8: 方法论模板
   ========================================= */
.docs-method-layout {
    display: grid;
    grid-template-columns: 55% 45%;
    grid-template-rows: auto 1fr;
    gap: 30px;
    height: 100%;
}

.method-header {
    grid-column: 1 / -1;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--c-border);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.method-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--c-text);
    display: flex;
    align-items: center;
    gap: 15px;
}

.method-subtitle {
    font-size: 16px;
    color: var(--c-text-3);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 左侧：提示词区域 */
.prompt-container {
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid var(--c-border);
    padding: 30px;
    height: 100%;
    overflow-y: auto;
    font-family: 'Monaco', 'Consolas', 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.6;
    color: #334155;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.03);
    white-space: pre-wrap;
}

/* 定义提示词内部的层级 */
.prompt-step {
    margin-bottom: 25px;
    border-bottom: 1px dashed #e2e8f0;
    padding-bottom: 20px;
}

.prompt-step:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.prompt-label {
    display: inline-block;
    background: #e2e8f0;
    color: #475569;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 12px;
}

/* 右侧：要点区域 */
.tips-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
    justify-content: flex-start;
}

.tip-card {
    background: white;
    border: 1px solid var(--c-border);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--sh-card-sm);
}

.tip-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 16px;
    color: var(--c-text);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--c-surface-2);
}

.tip-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tip-content li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--c-text-2);
    line-height: 1.5;
}

.tip-content li::before {
    content: "•";
    color: var(--c-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}
/* Chapter 3 Specific Styles (Copied & Adapted from Principles) */

/* Layout */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    height: 100%;
    align-items: center;
    padding: 20px 0;
}

/* Hierarchy */
.core-viewpoint {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.25;
    color: var(--c-text);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.core-viewpoint .highlight {
    color: var(--c-primary);
    position: relative;
    display: inline-block;
}

.core-desc {
    font-size: 18px;
    color: var(--c-text-2);
    line-height: 1.6;
    margin-bottom: 40px;
    font-weight: 400;
}

/* Secondary Panels */
.secondary-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Flow Cards */
.flow-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.3s ease;
}

.flow-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--sh-card-hover);
    border-color: var(--c-primary);
}

.flow-step-number {
    font-size: 14px;
    font-weight: 700;
    color: var(--c-primary);
    background: #dbeafe;
    padding: 4px 10px;
    border-radius: 20px;
    flex-shrink: 0;
}

.flow-content h4 {
    margin: 0 0 6px 0;
    font-size: 18px;
    color: var(--c-text);
    font-weight: 700;
}

.flow-content p {
    margin: 0;
    font-size: 14px;
    color: var(--c-text-2);
    line-height: 1.5;
}

/* Image Placeholders */
.img-placeholder {
    width: 100%;
    height: 200px;
    background: var(--c-surface-2);
    border: 2px dashed var(--c-border);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--c-text-2);
    font-size: 14px;
    gap: 10px;
}

/* Prompt Box */
.prompt-box {
    background: #1e293b;
    color: #e2e8f0;
    padding: 20px;
    border-radius: 8px;
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
    position: relative;
    border-left: 4px solid var(--c-primary);
}

.prompt-box strong {
    color: #fff;
}

/* Grid for Tools */
.tools-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
/* ============================================
   Chapter 4: 数据分析 - 专用样式
   主题色: Amber (#f59e0b)
   ============================================ */

/* Slide 1: 章节封面 */
.section-cover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.section-cover-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-10);
}

.chapter-number {
    font-size: 120px;
    font-weight: 700;
    opacity: 0.25;
    line-height: 1;
}

.chapter-title {
    font-size: 64px;
    font-weight: 700;
    letter-spacing: -1px;
}

.chapter-subtitle {
    font-size: 32px;
    font-weight: 300;
    opacity: 0.95;
}

.decoration-line {
    width: 100px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    margin-top: var(--sp-10);
}

/* ============================================
   Slide 2: 完整流程
   ============================================ */

/* 流程步骤卡片 */
.workflow-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--sp-5);
    gap: var(--sp-6);
}

.w-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--c-surface);
    border: var(--bd-2) solid var(--c-border);
    padding: var(--sp-8);
    border-radius: var(--r-8);
    text-align: center;
    position: relative;
    transition: var(--tr);
}

.w-step:hover {
    border-color: var(--c-amber);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
    transform: translateY(-2px);
}

.ws-number {
    font-size: 40px;
    font-weight: 900;
    color: var(--c-amber);
    opacity: 0.15;
    position: absolute;
    top: var(--sp-3);
    right: var(--sp-5);
    line-height: 1;
}

.ws-title {
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: var(--sp-2);
    position: relative;
    z-index: 1;
}

.ws-desc {
    font-size: var(--fs-sm);
    color: var(--c-text-2);
    line-height: var(--lh-normal);
}


.w-line {
    width: 40px;
    height: 2px;
    background: var(--c-border);
    flex: 0 0 auto;
}

/* 案例演示区 */
.case-study-container {
    margin-top: var(--sp-10);
    background: var(--c-surface);
    border: 2px dashed var(--c-border);
    border-radius: var(--r-10);
    padding: var(--sp-10);
    position: relative;
}

.cs-label {
    position: absolute;
    top: -12px;
    left: var(--sp-10);
    background: var(--c-bg);
    padding: 0 var(--sp-5);
    font-size: var(--fs-sm);
    color: var(--c-amber);
    font-weight: 700;
    border: var(--bd-2) solid var(--c-amber);
    border-radius: var(--r-4);
}

.cs-flow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--sp-5) 0;
}

.cs-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.cs-arrow {
    color: var(--c-text-2);
    font-size: 20px;
    margin: 0 var(--sp-5);
}

.cs-text {
    margin-top: var(--sp-5);
    font-size: var(--fs-sm);
    color: var(--c-text-2);
    font-weight: 700;
}

/* 文件图标组 */
.cs-icon-group {
    position: relative;
    width: 60px;
    height: 50px;
}

.file-icon {
    width: 32px;
    height: 40px;
    position: absolute;
    border-radius: var(--r-4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
    color: white;
    box-shadow: var(--sh-generic-md);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.xls {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    left: 0;
    top: 10px;
    z-index: 3;
}

.doc {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    left: 15px;
    top: 0;
    z-index: 2;
}

.pdf {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    left: 30px;
    top: 5px;
    z-index: 1;
}

/* 代码片段 */
.code-snippet-mini {
    background: var(--c-surface-2);
    padding: var(--sp-5);
    border-radius: var(--r-6);
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 10px;
    line-height: 1.5;
    color: var(--c-text);
    border: var(--bd-1) solid var(--c-border);
    text-align: left;
    width: 100px;
}

.c-key {
    color: #d946ef;
    font-weight: 600;
}

.c-val {
    color: #6366f1;
}

.c-num {
    color: var(--c-amber);
    font-weight: 600;
}

.c-gray {
    color: var(--c-text-2);
}

/* AI 气泡 */
.ai-bubble {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    padding: var(--sp-6) var(--sp-7);
    border-radius: 20px 20px 20px 0;
    font-size: var(--fs-sm);
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
    max-width: 160px;
    line-height: var(--lh-normal);
}

.ai-icon {
    font-size: 16px;
    flex-shrink: 0;
}

/* 报告预览 */
.report-mini {
    background: var(--c-bg);
    width: 60px;
    height: 75px;
    border-radius: var(--r-4);
    padding: var(--sp-3);
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
    box-shadow: var(--sh-generic-md);
    border: var(--bd-2) solid var(--c-border);
}

.r-line {
    height: 3px;
    background: var(--c-surface-2);
    border-radius: 2px;
    width: 100%;
}

.r-h1 {
    background: var(--c-text);
    width: 70%;
    height: 5px;
    margin-bottom: var(--sp-1);
}

.r-chart {
    height: 25px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 2px;
    margin: var(--sp-1) 0;
}


/* 效率对比框 */
.efficiency-box {
    margin-top: var(--sp-10);
    display: flex;
    gap: var(--sp-10);
    align-items: stretch;
}

.eff-col {
    flex: 1;
    background: var(--c-surface);
    border-radius: var(--r-8);
    padding: var(--sp-10);
    border: var(--bd-2) solid var(--c-border);
    transition: var(--tr);
}

.eff-col.old {
    border-left: var(--bd-strong) solid var(--c-red);
}

.eff-col.new {
    border-left: var(--bd-strong) solid var(--c-green);
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.eff-header {
    font-size: var(--fs-lg);
    font-weight: 700;
    margin-bottom: var(--sp-7);
    color: var(--c-text);
}

.eff-list {
    margin: 0;
    padding-left: var(--sp-10);
    font-size: var(--fs-base);
    color: var(--c-text-2);
    line-height: 1.8;
}

.eff-list li {
    margin-bottom: var(--sp-2);
}

.eff-list strong {
    color: var(--c-text);
    font-size: var(--fs-md);
    font-weight: 700;
}

.eff-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
}

.vs-circle {
    background: var(--c-bg);
    border: var(--bd-2) solid var(--c-border);
    color: var(--c-text-2);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-sm);
    font-weight: 700;
}

/* ============================================
   Slide 3: 数据预处理
   ============================================ */
.grid-2-1 {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--sp-6);
    height: 100%;
    margin-top: var(--sp-5);
}

.content-panel {
    background: var(--c-surface);
    border: var(--bd-2) solid var(--c-border);
    border-radius: var(--r-10);
    padding: var(--sp-8);
    display: flex;
    flex-direction: column;
}

.panel-title {
    font-size: var(--fs-xl);
    font-weight: 700;
    margin-bottom: var(--sp-6);
    color: var(--c-text);
    border-bottom: var(--bd-2) solid var(--c-border);
    padding-bottom: var(--sp-3);
}

.flow-vertical {
    display: flex;
    flex-direction: column;
    gap: var(--sp-6);
    justify-content: center;
    height: 100%;
}

.flow-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flow-node {
    padding: var(--sp-4) var(--sp-6);
    border-radius: var(--r-6);
    font-size: var(--fs-md);
    font-weight: 600;
    min-width: 100px;
    text-align: center;
}

.source-node {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border: var(--bd-2) solid #fbbf24;
}

.action-node {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    border: var(--bd-2) solid var(--c-primary);
}

.human-action {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border: var(--bd-2) solid var(--c-red);
}

.result-node {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border: var(--bd-2) solid var(--c-green);
}

.flow-line {
    color: var(--c-text-2);
    font-weight: 700;
    font-size: 12px;
}

.divider-dashed {
    height: 1px;
    background: repeating-linear-gradient(to right,
            var(--c-border) 0,
            var(--c-border) 5px,
            transparent 5px,
            transparent 10px);
    width: 100%;
}

/* 检查清单 (自查 Checklist) */
.checklist-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4);
    height: 100%;
    align-content: center;
}

.check-item {
    background: var(--c-surface-2);
    border: var(--bd-1) solid var(--c-border);
    border-radius: var(--r-8);
    padding: var(--sp-4) var(--sp-5);
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    transition: var(--tr);
}

.check-item:hover {
    background: white;
    box-shadow: var(--sh-generic-sm);
    border-color: var(--c-green);
    transform: translateY(-2px);
}

.check-item.full-width {
    grid-column: span 2;
}

.check-icon {
    font-size: 20px;
}

.check-text {
    font-size: var(--fs-md);
    font-weight: 600;
    color: var(--c-text);
}



/* ============================================
   Slide 4: 协作分析
   ============================================ */

/* ============================================
   Slide 4: 协作分析 - 新版双栏布局
   ============================================ */

.analysis-layout {
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    gap: var(--sp-10);
    margin-top: var(--sp-8);
    height: 85%;
}

/* 左侧侧边栏 */
.analysis-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--sp-8);
}

.method-card {
    background: linear-gradient(135deg, #fefce8 0%, #fffbeb 100%);
    border: var(--bd-2) solid #fde68a;
    border-radius: var(--r-8);
    padding: var(--sp-8);
    text-align: center;
}

.card-icon {
    font-size: 32px;
    margin-bottom: var(--sp-4);
}

.method-card h3 {
    margin: 0 0 var(--sp-3) 0;
    color: #92400e;
    font-size: var(--fs-lg);
}

.method-card p {
    margin: 0;
    font-size: var(--fs-sm);
    color: #b45309;
    line-height: var(--lh-relaxed);
}

.tips-card {
    background: var(--c-surface);
    border: var(--bd-2) solid var(--c-border);
    border-radius: var(--r-8);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-header {
    background: var(--c-surface-2);
    padding: var(--sp-4) var(--sp-6);
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--c-text);
    border-bottom: var(--bd-1) solid var(--c-border);
}

.tips-ul {
    padding: var(--sp-6) var(--sp-6) var(--sp-6) var(--sp-10);
    margin: 0;
    font-size: var(--fs-sm);
    color: var(--c-text-2);
    line-height: 2;
}

/* 右侧提示词主区域 */
.prompt-main {
    background: var(--c-bg);
    border: var(--bd-2) solid var(--c-border);
    border-radius: var(--r-10);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--sh-elev);
}

.prompt-toolbar {
    background: var(--c-surface);
    padding: var(--sp-4) var(--sp-6);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: var(--bd-1) solid var(--c-border);
}

.toolbar-title {
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--c-text);
    display: flex;
    align-items: center;
    gap: var(--sp-2);
}

.toolbar-action {
    font-size: var(--fs-xs);
    color: var(--c-primary);
    background: var(--c-surface-2);
    padding: 2px 8px;
    border-radius: var(--r-4);
    cursor: pointer;
    transition: var(--tr);
    font-weight: 600;
}

.toolbar-action:hover {
    background: var(--c-primary);
    color: white;
    transform: translateY(-1px);
}

.toolbar-action:active {
    transform: translateY(0);
}


/* 微型流程图 */
.mini-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-4);
    margin: var(--sp-6) 0;
}

.mf-step {
    background: var(--c-surface);
    border: var(--bd-1) solid var(--c-border);
    border-radius: var(--r-6);
    padding: var(--sp-3) var(--sp-5);
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    width: 100%;
}

.mf-icon {
    font-size: 20px;
}

.mf-text {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--c-text);
}

.mf-arrow {
    color: var(--c-text-2);
    font-size: 16px;
    font-weight: 700;
}

/* 新版 Tips 内容 */
.tips-content {
    padding: var(--sp-6);
    display: flex;
    flex-direction: column;
    gap: var(--sp-5);
}

.tip-point {
    font-size: var(--fs-md);
    /* 调大了字号 */
    color: var(--c-text-2);
    line-height: var(--lh-relaxed);
}

.tip-point strong {
    color: var(--c-text);
    display: block;
    margin-bottom: var(--sp-1);
    font-weight: 700;
}

/* 大字号编辑器模式 */
.prompt-editor.large-text {
    font-size: 16px;
    /* 基础字号增大 */
    padding: var(--sp-8);
}

.prompt-editor.large-text .editor-line {
    font-size: 18px;
    /* 角色/任务行更大 */
    margin-bottom: var(--sp-6);
}

.prompt-editor.large-text .stage-block {
    margin-bottom: var(--sp-6);
    padding: var(--sp-6);
}

.prompt-editor.large-text .stage-tag {
    font-size: 12px;
    padding: 3px 8px;
    margin-bottom: var(--sp-3);
}

.prompt-editor.large-text .stage-content {
    font-size: 15px;
    /* 正文内容显著增大 */
    line-height: 1.8;
}

/* 基础编辑器样式调整 */
.prompt-editor {
    padding: var(--sp-8);
    flex: 1;
    overflow-y: auto;
    font-family: 'Menlo', 'Monaco', monospace;
    font-size: var(--fs-sm);
    color: var(--c-text);
    background-color: #ffffff;
    white-space: pre-wrap;
    line-height: 1.6;
}

.editor-line {
    margin-bottom: var(--sp-2);
    line-height: var(--lh-relaxed);
}

/* 删除了 editor-gap,用 margin 控制 */

.stage-block {
    margin-bottom: var(--sp-6);
    background: var(--c-surface);
    border: var(--bd-1) solid var(--c-border);
    border-radius: var(--r-6);
    padding: var(--sp-4);
}

.stage-tag {
    display: inline-block;
    color: #b45309;
    background: #fef3c7;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: var(--r-3);
    margin-bottom: var(--sp-2);
}

.stage-content {
    color: var(--c-text-2);
    font-size: var(--fs-xs);
    line-height: 1.8;
    white-space: pre-wrap;
}


/* Slide 15 Removed */


