/* ================= 课件助手 #/course-ppt ================= */
.tool-hero.is-course-ppt {
  --tool-hero: linear-gradient(118deg, #1a3a5c 0%, #2f7cf6 52%, #38c6d8 100%);
  --tool-shadow: rgba(37, 99, 235, .24);
}
.cppt-page { padding: 16px 18px 26px; min-height: calc(100vh - 64px); box-sizing: border-box; }
.cppt-page.work { padding: 12px 16px 16px; height: calc(100vh - 64px); min-height: 0; box-sizing: border-box; }
.cppt-wrap { max-width: 860px; margin: 0 auto; }
.cppt-head { display: flex; align-items: center; gap: 12px; margin: 4px 0 14px; }
.cppt-back { width: 34px; height: 34px; border-radius: 10px; background: #fff; border: 1px solid #e4e8ef; display: inline-flex; align-items: center; justify-content: center; color: #3b4457; cursor: pointer; flex: none; }
.cppt-back:hover { border-color: #2f7cf6; color: #2f7cf6; }
.cppt-head-t { font-size: 18px; font-weight: 700; color: #16233f; }
.cppt-head-t small { display: block; font-size: 12px; font-weight: 400; color: #98a1b3; margin-top: 2px; }
.cppt-head-act { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.cppt-quota { font-size: 12.5px; color: #4a5568; background: #fff; border: 1px solid #e4e8ef; padding: 6px 12px; border-radius: 999px; }
.cppt-quota b { color: #2f7cf6; }
.cppt-quota.vip { color: #7a5af8; border-color: #e3d9ff; background: #f5f1ff; }
.cppt-quota.vip b { color: #7a5af8; }
.cppt-quota.left { color: #d97706; border-color: #fde3b8; background: #fff8ea; }
.cppt-quota.left b { color: #d97706; }
.cppt-quota .quota-note { margin-left: 6px; color: #98a1b3; font-size: 11.5px; }
.cppt-limit-why { cursor: pointer; border-bottom: 1px dashed #c2c9d6; color: #98a1b3; font-size: 12px; margin-left: 4px; }
.cppt-limit-why:hover { color: #2f7cf6; }

/* ---- 输入页卡片 ---- */
.cppt-card { background: #fff; border: 1px solid #e7ebf2; border-radius: 18px; padding: 26px 30px; box-shadow: 0 6px 22px rgba(30, 50, 90, .05); }
.cppt-fg { display: block; margin-bottom: 16px; }
.cppt-fg.span2 { grid-column: span 2; }
.cppt-fg > label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #243047; margin-bottom: 7px; }
.cppt-fg > label i { font-style: normal; color: #e5484d; }
.cppt-fg .cppt-field-hint { color: #98a1b3; font-size: 12px; font-weight: 400; margin-left: auto; }
.cppt-inp { width: 100%; box-sizing: border-box; border: 1px solid #dfe4ec; border-radius: 12px; padding: 10px 12px; font-size: 14px; color: #243047; background: #fbfcfe; outline: none; transition: border .15s, box-shadow .15s; font-family: inherit; }
.cppt-inp:focus { border-color: #2f7cf6; box-shadow: 0 0 0 3px rgba(47, 124, 246, .12); background: #fff; }
textarea.cppt-inp { min-height: 108px; resize: vertical; line-height: 1.65; }
.cppt-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.cppt-field-hint small { display: block; }
.cppt-pages-ctl { display: flex; align-items: center; gap: 12px; }
.cppt-pages-ctl button { width: 30px; height: 30px; border-radius: 8px; border: 1px solid #dfe4ec; background: #fff; color: #243047; font-size: 16px; cursor: pointer; }
.cppt-pages-ctl button:hover { border-color: #2f7cf6; color: #2f7cf6; }
.cppt-pages-ctl b { min-width: 30px; text-align: center; font-size: 16px; }
.cppt-pages-ctl em { font-style: normal; color: #98a1b3; font-size: 12px; }
.cppt-genbox { margin-top: 8px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cppt-gen { border: none; background: linear-gradient(135deg, #2f7cf6, #1e6aef); color: #fff; font-size: 15.5px; font-weight: 700; padding: 13px 34px; border-radius: 13px; cursor: pointer; box-shadow: 0 8px 18px rgba(47, 124, 246, .28); transition: transform .12s, box-shadow .12s, opacity .2s; }
.cppt-gen:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(47, 124, 246, .34); }
.cppt-gen:disabled { opacity: .55; cursor: not-allowed; }
.cppt-gen-note { font-size: 12.5px; color: #7b8698; line-height: 1.9; flex: 1; min-width: 240px; }
.cppt-gen-note b { color: #d97706; }
.cppt-gen-steps { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-left: 2px; }
.cppt-gen-steps i { font-style: normal; font-size: 11.5px; color: #2f7cf6; background: #eef4ff; border: 1px solid #d9e6ff; padding: 2px 9px; border-radius: 999px; }
.cppt-foot { margin-top: 14px; color: #a3adbf; font-size: 12px; line-height: 1.8; }

/* ---- 工作台列容器（.cp-work 的 grid 定义见下方「三栏工作台」段，勿在此重复定义） ---- */
.cp-col { background: #fff; border: 1px solid #e7ebf2; border-radius: 16px; display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.cp-col-h { flex: none; display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid #f0f2f7; font-size: 13.5px; font-weight: 700; color: #243047; }
.cp-col-h .right { margin-left: auto; font-size: 12px; font-weight: 500; color: #98a1b3; }
.cp-thumbs { flex: 1; overflow-y: auto; padding: 10px; display: flex; flex-direction: column; gap: 12px; scrollbar-width: thin; }
.cp-thumb { position: relative; flex: none; cursor: pointer; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: #f4f6f9; transition: border .15s; }
.cp-thumb.on { border-color: #2f7cf6; box-shadow: 0 2px 10px rgba(47,124,246,.18); }
.cp-thumb-scale { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.cp-thumb-inner { position: absolute; top: 0; left: 0; width: 1280px; height: 720px; transform-origin: top left; pointer-events: none; }
.cp-thumb .cp-dot { position: absolute; right: 8px; bottom: 8px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #fff; z-index: 2; }
.cp-thumb .cp-dot.ok { background: #23b26d; }
.cp-thumb .cp-dot.failed { background: #e5484d; }
.cp-thumb .cp-dot.busy { background: #d97706; }
.cp-thumb .cp-dot.idle { background: #c2c9d6; }
.cp-thumb .cp-thumb-no { position: absolute; left: 8px; top: 8px; background: rgba(20, 30, 55, .55); color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 999px; z-index: 2; }
.cp-thumb .cp-thumb-lab { position: absolute; right: 8px; top: 8px; background: #2f7cf6; color: #fff; font-size: 10.5px; line-height: 1; padding: 3px 8px; border-radius: 999px; z-index: 2; font-weight: 600; }

/* 中间大舞台 */
.cp-stage { }
.cp-stage-body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.cp-stage-frame { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; background: #eef1f6; position: relative; overflow: hidden; }
.cp-stage-scale { width: 1280px; height: 720px; transform-origin: top left; flex: none; }
.cp-stage-inner { width: 1280px; height: 720px; transform-origin: top left; overflow: hidden; box-shadow: 0 12px 40px rgba(20, 35, 70, .14); }
.cp-stage-bar { flex: none; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-top: 1px solid #f0f2f7; }
.cp-stage-pager { font-size: 12.5px; color: #7b8698; }
.cp-stage-pager b { color: #243047; font-size: 15px; }
.cp-btn-primary { border: none; background: #2f7cf6; color: #fff; font-size: 13.5px; font-weight: 600; padding: 8px 16px; border-radius: 10px; cursor: pointer; }
.cp-btn-primary:disabled { opacity: .5; cursor: not-allowed; }
.cp-btn-primary.danger { background: #e5484d; }
.cp-btn-ghost { border: 1px solid #dfe4ec; background: #fff; color: #3b4457; font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 10px; cursor: pointer; }
.cp-btn-ghost:disabled { opacity: .5; cursor: not-allowed; }
.cp-btn-ghost:hover:not(:disabled) { border-color: #2f7cf6; color: #2f7cf6; }
.cp-stage-bar .spacer { flex: 1; }
.cp-video-wait { font-size: 12px; color: #d97706; }
.cp-video-ready { font-size: 12px; color: #23b26d; }

/* 右口播列 */
.cp-scripts { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 10px; scrollbar-width: thin; }
.cp-script-item { border: 1px solid #eef0f5; border-radius: 12px; padding: 12px 14px; }
.cp-script-item.on { border-color: #bcd7ff; background: #f7faff; box-shadow: 0 2px 10px rgba(47,124,246,.08); }
.cp-si-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: #243047; }
.cp-si-head .cp-si-no { color: #2f7cf6; flex: none; }
.cp-si-head .cp-si-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #4a5568; font-weight: 600; }
.cp-si-head .right { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.cp-ctl { min-width: 60px; height: 28px; padding: 0 10px; border-radius: 8px; border: 1px solid #e0e5ee; background: linear-gradient(180deg, #ffffff, #f7f9fc); display: inline-flex; align-items: center; justify-content: center; gap: 5px; cursor: pointer; color: #3b4457; font-size: 11.5px; font-weight: 600; white-space: nowrap; flex: none; box-shadow: 0 1px 2px rgba(15, 40, 90, 0.05); transition: border-color 0.15s, color 0.15s, background 0.15s, box-shadow 0.15s; box-sizing: border-box; }
.cp-ctl:hover:not(:disabled) { border-color: #2f7cf6; color: #2f7cf6; box-shadow: 0 2px 6px rgba(47, 124, 246, 0.15); }
.cp-ctl:active:not(:disabled) { transform: translateY(1px); box-shadow: none; }
.cp-ctl:disabled { opacity: .4; cursor: not-allowed; }
.cp-ctl.on { color: #2f7cf6; background: #eef5ff; border-color: #2f7cf6; }
.cp-ctl.on .cp-spin { border-color: rgba(47, 124, 246, 0.25); border-top-color: #2f7cf6; }
.cp-ctl.play { color: #23b26d; border-color: #bce6cf; }
.cp-ctl.retry { color: #d97706; border-color: #f2d9af; }
/* 按钮内 spinner（合成音频/AI 配图进行中） */
.cp-ctl .cp-spin { flex: none; width: 11px; height: 11px; border: 2px solid rgba(59, 68, 87, 0.2); border-top-color: #3b4457; border-radius: 50%; animation: cpVidSpin 0.7s linear infinite; }
.cp-script-ta { width: 100%; box-sizing: border-box; border: 1px solid transparent; border-radius: 8px; background: transparent; font-size: 12.5px; line-height: 1.7; color: #4a5568; padding: 6px 2px; resize: none; min-height: 74px; outline: none; font-family: inherit; }
.cp-script-item.on .cp-script-ta { border-color: #e2e9f5; background: #fff; padding: 8px; }
.cp-si-hint { font-size: 11.5px; color: #98a1b3; margin: 6px 0 0; line-height: 1.5; }
.cp-script-actions { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.cp-btn { border: none; font-size: 12.5px; font-weight: 600; padding: 7px 12px; border-radius: 9px; cursor: pointer; }
.cp-btn.primary { background: #2f7cf6; color: #fff; }
.cp-btn.primary.dim { background: #cfe1ff; color: #5b8ae8; }
.cp-btn.ghost { background: #eef1f6; color: #4a5568; }
.cp-btn.ghost:hover { background: #e4e9f2; }
.cp-log-emp { font-size: 12px; color: #98a1b3; text-align: center; padding: 18px 0; }
.cp-audio-all { padding: 10px 14px 14px; border-top: 1px solid #f0f2f7; flex: none; }
.cp-audio-all-t { font-size: 12.5px; color: #243047; font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.cp-audio-sum { margin-left: auto; font-weight: 700; color: #2f7cf6; }
.cp-audio-list { display: flex; flex-direction: column; gap: 6px; max-height: 220px; overflow-y: auto; scrollbar-width: thin; }
.cp-audio-row { display: flex; align-items: center; gap: 8px; font-size: 12px; padding: 7px 10px; border: 1px solid #e5e9f1; border-radius: 10px; background: #fbfcfe; cursor: pointer; }
.cp-audio-row:hover { border-color: #bcd7ff; background: #f0f6ff; }
.cp-audio-row.on { border-color: #2f7cf6; background: #f0f6ff; }
.cp-audio-row-ic { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.cp-audio-row-ic.ok { background: #23b26d; }
.cp-audio-row-ic.failed { background: #e5484d; }
.cp-audio-row-ic.generating, .cp-audio-row-ic.queued { background: #d97706; }
.cp-audio-row-ic.idle { background: #c2c9d6; }
.cp-audio-st { font-size: 11.5px; padding: 1px 8px; border-radius: 999px; }
.cp-audio-st.done { color: #1d8a58; background: #e6f7ef; }
.cp-audio-st.failed { color: #d0343a; background: #fdeeee; }
.cp-audio-st.generating, .cp-audio-st.queued { color: #b45309; background: #fef3e2; }
.cp-audio-st.idle { color: #7b8698; background: #f0f2f7; }

/* ---- 蒙层/对话框/忙碌 ---- */
.cp-mask { position: fixed; inset: 0; background: rgba(16, 26, 46, .5); z-index: 800; display: flex; align-items: center; justify-content: center; }
.cp-dialog { width: 400px; max-width: 92vw; background: #fff; border-radius: 18px; padding: 24px 26px; box-shadow: 0 20px 60px rgba(10, 20, 45, .3); }
.cp-dialog h3 { margin: 0 0 8px; font-size: 17px; color: #16233f; }
.cp-dialog .cp-dialog-hint { color: #5b6779; font-size: 13.5px; line-height: 1.8; }
.cp-dialog .cp-dialog-hint b { color: #d97706; }
.cp-dialog-btns { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.cp-dialog-btns .cp-btn-primary { padding: 9px 22px; }
.cp-dialog-btns .cp-btn-ghost { padding: 9px 20px; }
.cp-busy { position: fixed; inset: 0; z-index: 900; background: rgba(245, 247, 251, .72); backdrop-filter: blur(2px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.cp-busy .ring { width: 44px; height: 44px; border: 4px solid #d7e4fb; border-top-color: #2f7cf6; border-radius: 50%; animation: cpptSpin .8s linear infinite; }
.cp-busy p { color: #3b4457; font-size: 14px; margin: 0; }
.cp-busy small { color: #8a94a6; font-size: 12px; }
.cppt-toast { position: fixed; left: 50%; bottom: calc(var(--tabbar-h, 56px) + var(--safe-b, 0px) + 16px); transform: translateX(-50%); background: rgba(22, 35, 63, .92); color: #fff; font-size: 13px; padding: 9px 18px; border-radius: 999px; z-index: 1000; max-width: 82vw; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
@keyframes cpptSpin { to { transform: rotate(360deg); } }

/* ================= 幻灯片版式（1280×720） ================= */
.cp-slide { width: 1280px; height: 720px; box-sizing: border-box; font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif; position: relative; overflow: hidden; background: #ffffff; color: #1f2a44; }
.cp-slide * { box-sizing: border-box; }
.cp-slide-title { color: #16233f; font-weight: 800; letter-spacing: .5px; }
.cp-slide-sub { color: #64748b; font-weight: 500; }
.cp-slide-pageno { position: absolute; right: 44px; bottom: 26px; font-size: 22px; color: #c3cad6; font-weight: 600; }
.cp-slide.layout-section .cp-slide-pageno { color: rgba(255, 255, 255, .55); }
.cp-slide.layout-title .cp-slide-pageno { color: rgba(94, 116, 160, .42); }
.cp-slide-labelbar { display: flex; align-items: center; gap: 14px; }

/* 封面 title：常规居中版式（标题居中 + 制作人信息置底居中） */
.cp-slide.layout-title { background: linear-gradient(150deg, #eef4ff 0%, #f7f9ff 58%, #e2edff 100%); }
.cp-slide.layout-title .cover-in { position: absolute; inset: 0; padding: 74px 100px 56px; display: flex; flex-direction: column; align-items: center; z-index: 2; }
.cp-slide.layout-title .cover-main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 0; }
.cp-slide.layout-title .cover-tag { position: relative; display: inline-flex; align-items: center; gap: 16px; font-size: 21px; color: #2f7cf6; font-weight: 600; letter-spacing: 5px; margin-bottom: 34px; }
.cp-slide.layout-title .cover-tag::before, .cp-slide.layout-title .cover-tag::after { content: ''; width: 44px; height: 2px; background: rgba(47, 124, 246, .5); }
.cp-slide.layout-title .cover-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 0 20px; }
.cp-slide.layout-title .cover-chip { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; background: #eef4ff; border: 1px solid #d5e3ff; color: #2f5bb8; font-size: 15px; line-height: 1.6; }
.cp-slide.layout-title .cover-chip:first-child { margin-left: 0; }
.cp-slide.layout-title .cover-title { font-size: 64px; line-height: 1.3; color: #14264b; font-weight: 800; max-width: 1080px; }
.cp-slide.layout-title .cover-title.auto { font-size: 48px; }
.cp-slide.layout-title .cover-sub { margin: 26px auto 0; font-size: 26px; color: #5b6b85; max-width: 920px; line-height: 1.6; }
.cp-slide.layout-title .cover-foot { display: flex; gap: 46px; font-size: 22px; color: #6b7a95; justify-content: center; align-items: center; border-top: 1px solid rgba(47, 124, 246, .18); padding: 26px 60px 0; }
.cp-slide.layout-title .cover-deco { position: absolute; right: -90px; top: -110px; width: 560px; height: 560px; border-radius: 50%; border: 90px solid rgba(47, 124, 246, .06); }
.cp-slide.layout-title .cover-deco2 { position: absolute; left: -160px; bottom: -200px; width: 460px; height: 460px; border-radius: 50%; background: rgba(255,255,255,.55); }

/* 章节 section */
.cp-slide.layout-section { background: linear-gradient(140deg, #1c3a6e 0%, #2f6cc9 100%); color: #fff; }
.cp-slide.layout-section .sec-no { position: absolute; right: 60px; top: 40px; font-size: 220px; font-weight: 800; color: rgba(255, 255, 255, .1); line-height: 1; }
.cp-slide.layout-section .sec-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 96px 88px 60px; box-sizing: border-box; }
.cp-slide.layout-section .sec-kicker { font-size: 24px; color: rgba(255,255,255,.65); letter-spacing: 3px; margin-bottom: 26px; display: flex; align-items: center; gap: 12px; }
.cp-slide.layout-section .sec-kicker::before { content: ''; width: 40px; height: 5px; border-radius: 3px; background: #fff; }
.cp-slide.layout-section .sec-title { font-size: 64px; font-weight: 800; margin-bottom: 22px; }
.cp-slide.layout-section .sec-desc { font-size: 26px; color: rgba(255,255,255,.82); max-width: 860px; line-height: 1.6; }

/* 结束页 end：感谢聆听（居中大字 + hero 渐变底，与章节页同构） */
.cp-slide.layout-end { background: linear-gradient(140deg, #1c3a6e 0%, #2f6cc9 100%); color: #fff; overflow: hidden; }
.cp-slide.layout-end::before { content: ''; position: absolute; right: -130px; top: -150px; width: 440px; height: 440px; border-radius: 50%; background: rgba(255, 255, 255, .06); z-index: 0; }
.cp-slide.layout-end::after { content: ''; position: absolute; left: -110px; bottom: -170px; width: 400px; height: 400px; border-radius: 50%; background: rgba(255, 255, 255, .05); z-index: 0; }
.cp-slide.layout-end .end-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 96px 88px 60px; box-sizing: border-box; z-index: 1; }
.cp-slide.layout-end .end-kicker { font-size: 24px; color: rgba(255, 255, 255, .66); letter-spacing: 4px; margin-bottom: 34px; display: flex; align-items: center; gap: 14px; }
.cp-slide.layout-end .end-kicker::before, .cp-slide.layout-end .end-kicker::after { content: ''; width: 40px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .8); }
.cp-slide.layout-end .end-title { font-size: 112px; font-weight: 800; letter-spacing: 26px; text-indent: 26px; line-height: 1.12; margin: 0; }
.cp-slide.layout-end .end-rule { width: 76px; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .85); margin-top: 38px; }
.cp-slide.layout-end .end-sub { font-size: 26px; color: rgba(255, 255, 255, .8); margin: 26px 0 0; max-width: 860px; line-height: 1.6; }
.cp-slide.layout-end .cp-slide-pageno { color: rgba(255, 255, 255, .55); }

/* AI 内容配图（贴合版式的柔和插画，不与文字重叠） */
.cp-slide .cp-deco { position: absolute; z-index: 0; display: block; }
.cp-slide .cp-deco.hero { right: 60px; top: 120px; width: 340px; height: 340px; border-radius: 26px; object-fit: cover; box-shadow: 0 24px 60px rgba(20, 38, 75, .18); opacity: .96; }
.cp-slide.layout-title .cp-deco.hero { left: 50%; top: 50%; transform: translate(-50%, -50%); width: 620px; height: 420px; border-radius: 30px; object-fit: cover; opacity: .1; box-shadow: none; filter: saturate(.7); z-index: 0; }
.cp-slide.layout-section .cp-deco.hero { left: 50%; top: 50%; transform: translate(-50%, -50%); width: 460px; height: 300px; border-radius: 30px; object-fit: cover; opacity: .13; box-shadow: none; filter: saturate(.7); }
/* 正文页：右下角柔光插画，置于内容之后（z-index 低于正文容器） */
.cp-slide.layout-icon-grid .cp-deco, .cp-slide.layout-process .cp-deco, .cp-slide.layout-do-dont .cp-deco, .cp-slide.layout-content .cp-deco, .cp-slide.layout-summary .cp-deco, .cp-slide.layout-stats .cp-deco, .cp-slide.layout-focus .cp-deco, .cp-slide.layout-law .cp-deco, .cp-slide.layout-checklist .cp-deco, .cp-slide.layout-case .cp-deco { right: 28px; bottom: -30px; width: 320px; height: 250px; object-fit: cover; border-radius: 20px; opacity: .16; z-index: 0; }
.cp-slide .hd, .cp-slide .ct, .cp-slide .ig, .cp-slide .ps, .cp-slide .dd, .cp-slide .fg-wrap, .cp-slide .lw-quote, .cp-slide .lw-exec, .cp-slide .cl, .cp-slide .cs, .cp-slide .sm, .cp-slide .st, .cp-slide .cover-in, .cp-slide .cover-deco, .cp-slide .cover-deco2, .cp-slide .cover-circle, .cp-slide .sec-in, .cp-slide .sec-no, .cp-slide .note-line, .cp-slide .cp-slide-pageno { position: relative; z-index: 1; }
.cp-slide .cp-slide-pageno { position: absolute; right: 44px; bottom: 26px; z-index: 2; }

/* 内容页公共头部 */
.cp-slide.layout-icon-grid, .cp-slide.layout-process, .cp-slide.layout-do-dont, .cp-slide.layout-content, .cp-slide.layout-summary, .cp-slide.layout-stats, .cp-slide.layout-focus, .cp-slide.layout-law, .cp-slide.layout-checklist, .cp-slide.layout-case { background: #fff; padding: 56px 72px 54px; }
.cp-slide .hd { display: flex; flex-direction: column; gap: 18px; margin-bottom: 40px; }
.cp-slide .hd-rule { width: 66px; height: 8px; border-radius: 4px; background: #2f7cf6; }
.cp-slide .hd-top { display: flex; align-items: center; gap: 16px; font-size: 21px; color: #7a8699; font-weight: 600; }
.cp-slide .hd-top::before { content: ''; width: 10px; height: 10px; border-radius: 3px; background: #2f7cf6; }
.cp-slide .hd-title { font-size: 46px; color: #14264b; font-weight: 800; line-height: 1.35; }
.cp-slide .hd-title.auto { font-size: 38px; }
.cp-slide .hd-sub { font-size: 21px; color: #7a8699; margin-top: -6px; }

/* icon-grid 2×2（标题徽标 + 阐释） */
.cp-slide .ig { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cp-slide .ig .ig-card { background: #f5f7fb; border: 1px solid #eef1f7; border-radius: 18px; padding: 26px 28px; display: flex; gap: 20px; align-items: flex-start; min-height: 178px; }
.cp-slide .ig .ig-ic { flex: none; width: 68px; height: 68px; border-radius: 18px; background: #e8f1ff; color: #2f7cf6; display: flex; align-items: center; justify-content: center; }
.cp-slide .ig .ig-ic svg { width: 34px; height: 34px; }
.cp-slide .ig .ig-txt { flex: 1; }
.cp-slide .ig .ig-tt { display: inline-block; font-size: 23px; color: #24304a; font-weight: 800; margin-bottom: 11px; }
.cp-slide .ig .ig-ds { font-size: 18px; color: #5f6c82; line-height: 1.62; }

/* focus：理念页 · 左结论 + 右要点 */
.cp-slide .fg-wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: stretch; }
.cp-slide .fg-concl { position: relative; background: linear-gradient(160deg, #e8f1ff 0%, #f3f8ff 100%); border-radius: 18px; padding: 40px 34px 46px; border-left: 8px solid #2f7cf6; font-size: 32px; font-weight: 800; color: #14264b; line-height: 1.5; display: flex; flex-direction: column; justify-content: center; }
.cp-slide .fg-concl .fg-cq { display: block; font-size: 44px; color: #2f7cf6; height: 34px; line-height: 1; margin-bottom: 6px; }
.cp-slide .fg-points { display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.cp-slide .fg-point { display: flex; gap: 18px; align-items: flex-start; background: #f7f9fc; border-radius: 16px; padding: 22px 26px; }
.cp-slide .fg-no { flex: none; width: 44px; height: 44px; border-radius: 12px; background: #2f7cf6; color: #fff; font-size: 22px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.cp-slide .fg-tt { display: block; font-size: 23px; color: #24304a; font-weight: 700; margin-bottom: 8px; }
.cp-slide .fg-ds { font-size: 18px; color: #5f6c82; line-height: 1.6; }

/* law：法规页 · 上引用 + 下落地 */
.cp-slide .lw-quote { position: relative; background: linear-gradient(160deg, #eef4ff 0%, #f7faff 100%); border: 1px solid #dfe8f9; border-radius: 18px; padding: 30px 36px 30px 58px; }
.cp-slide .lw-quote .lw-qmark { position: absolute; left: 24px; top: 18px; font-size: 40px; font-weight: 900; color: #2f7cf6; line-height: 1; }
.cp-slide .lw-q { font-size: 26px; font-weight: 700; color: #1d2f56; line-height: 1.62; }
.cp-slide .lw-src { display: inline-block; margin-top: 14px; font-size: 17px; color: #7a8699; background: #fff; border-radius: 8px; padding: 4px 14px; border: 1px solid #e6edf8; }
.cp-slide .lw-sep { display: inline-flex; align-items: center; gap: 12px; margin: 30px 0 18px; font-size: 20px; font-weight: 800; color: #2f7cf6; letter-spacing: 2px; }
.cp-slide .lw-sep::before { content: ''; width: 40px; height: 6px; border-radius: 3px; background: #2f7cf6; }
.cp-slide .lw-exec { display: flex; flex-direction: column; gap: 16px; }
.cp-slide .lw-item { display: flex; gap: 18px; align-items: flex-start; background: #f7f9fc; border-radius: 14px; padding: 20px 26px; border-left: 6px solid #34c07c; }
.cp-slide .lw-no { flex: none; width: 42px; height: 42px; border-radius: 12px; background: #34c07c; color: #fff; font-size: 21px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.cp-slide .lw-tt { display: block; font-size: 22px; color: #24304a; font-weight: 700; margin-bottom: 7px; }
.cp-slide .lw-ds { font-size: 18px; color: #5f6c82; line-height: 1.6; }

/* checklist：检查清单 · 双列可勾选 */
.cp-slide .cl { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 12px; }
.cp-slide .cl .cl-item { display: flex; align-items: center; gap: 16px; background: #f7f9fc; border-radius: 14px; padding: 22px 26px; cursor: pointer; }
.cp-slide .cl .cl-box { flex: none; width: 30px; height: 30px; border-radius: 8px; border: 2px solid #c3cddd; background: #fff; position: relative; }
.cp-slide .cl .cl-box::after { content: ''; position: absolute; left: 9px; top: 4px; width: 9px; height: 16px; border: solid #2f7cf6; border-width: 0 3px 3px 0; transform: rotate(45deg); opacity: 0; }
.cp-slide .cl .cl-item input { display: none; }
.cp-slide .cl .cl-item input:checked + .cl-t { color: #2f7cf6; font-weight: 700; }
.cp-slide .cl .cl-item input:checked ~ .cl-box::after { opacity: 1; }
.cp-slide .cl .cl-item input:checked ~ .cl-box { border-color: #2f7cf6; }
.cp-slide .cl .cl-t { font-size: 21px; color: #24304a; font-weight: 600; line-height: 1.5; }

/* case：案例页 · 经过 / 原因 / 启示 */
.cp-slide .cs { display: grid; grid-template-columns: 5fr 3.5fr 3.5fr; gap: 20px; padding-top: 10px; }
.cp-slide .cs .cs-block { background: #f7f9fc; border-radius: 16px; padding: 24px 26px; }
.cp-slide .cs .cs-h { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; color: #14264b; margin-bottom: 16px; }
.cp-slide .cs .cs-ic { width: 36px; height: 36px; border-radius: 10px; background: #e8f1ff; color: #2f7cf6; display: flex; align-items: center; justify-content: center; }
.cp-slide .cs .cs-ic svg { width: 20px; height: 20px; }
.cp-slide .cs .cs-p { font-size: 18px; color: #31405a; line-height: 1.75; }
.cp-slide .cs.causes, .cp-slide .cs-block.causes { border-top: 4px solid #f0a04b; }
.cp-slide .cs-block.lessons { border-top: 4px solid #34c07c; }
.cp-slide .cs .cs-li { display: flex; gap: 10px; font-size: 17px; color: #405069; line-height: 1.6; margin-bottom: 10px; }
.cp-slide .cs .cs-dot { flex: none; width: 14px; height: 14px; border-radius: 50%; background: #f0a04b; margin-top: 6px; }
.cp-slide .cs .cs-li.ok .cs-dot { background: #34c07c; }

/* process */
.cp-slide .ps { display: flex; gap: 20px; align-items: stretch; padding-top: 18px; }
.cp-slide .ps .ps-step { flex: 1; background: #f7f9fc; border-radius: 16px; padding: 24px 22px; position: relative; }
.cp-slide .ps .ps-num { width: 52px; height: 52px; border-radius: 50%; background: #2f7cf6; color: #fff; font-size: 26px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.cp-slide .ps .ps-tt { font-size: 24px; color: #24304a; font-weight: 700; margin-bottom: 12px; }
.cp-slide .ps .ps-ds { font-size: 19px; color: #5f6c82; line-height: 1.6; }
.cp-slide .ps .ps-arrow { position: absolute; right: -16px; top: 50%; transform: translateY(-50%); color: #b9c6da; font-size: 26px; font-weight: 700; z-index: 2; }

/* do-dont */
.cp-slide .dd { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.cp-slide .dd .dd-col { border-radius: 16px; padding: 24px 26px 30px; }
.cp-slide .dd .dd-col.do { background: #f0fbf5; border: 1px solid #d4f1e2; }
.cp-slide .dd .dd-col.dont { background: #fff6f3; border: 1px solid #fbe1d9; }
.cp-slide .dd .dd-h { display: flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 800; margin-bottom: 18px; }
.cp-slide .dd .dd-h .mk { width: 40px; height: 40px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; }
.cp-slide .dd .dd-col.do .dd-h .mk { background: #23b26d; }
.cp-slide .dd .dd-col.dont .dd-h .mk { background: #e5484d; }
.cp-slide .dd .dd-col.do .dd-h { color: #147a4a; }
.cp-slide .dd .dd-col.dont .dd-h { color: #c0342e; }
.cp-slide .dd .dd-li { display: flex; gap: 12px; font-size: 19px; line-height: 1.6; color: #40506980; margin-bottom: 13px; }
.cp-slide .dd .dd-li .mk2 { flex: none; width: 26px; height: 26px; border-radius: 50%; font-size: 15px; display: flex; align-items: center; justify-content: center; margin-top: 3px; }
.cp-slide .dd .dd-col.do .dd-li { color: #33523f; }
.cp-slide .dd .dd-col.do .dd-li .mk2 { background: #dff5e9; color: #1d8a58; }
.cp-slide .dd .dd-col.dont .dd-li { color: #7a4a43; }
.cp-slide .dd .dd-col.dont .dd-li .mk2 { background: #fde3de; color: #d0343a; }

/* content 兜底薄条 */
.cp-slide .ct { display: flex; flex-direction: column; gap: 18px; }
.cp-slide .ct .ct-row { display: flex; gap: 20px; align-items: flex-start; background: #f7f9fc; border-radius: 14px; padding: 22px 26px; border-left: 6px solid #2f7cf6; }
.cp-slide .ct .ct-no { flex: none; width: 44px; height: 44px; border-radius: 12px; background: #2f7cf6; color: #fff; font-size: 22px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.cp-slide .ct .ct-t { font-size: 24px; color: #24304a; font-weight: 600; line-height: 1.6; }

/* summary 行动清单 */
.cp-slide.layout-summary { background: linear-gradient(160deg, #f0f5ff 0%, #fff 60%); }
.cp-slide .sm { display: flex; flex-direction: column; gap: 18px; }
.cp-slide .sm .sm-row { display: flex; align-items: center; gap: 24px; background: #fff; border: 1px solid #e6edf8; border-radius: 16px; padding: 24px 30px; box-shadow: 0 6px 16px rgba(30,60,120,.04); }
.cp-slide .sm .sm-no { width: 52px; height: 52px; flex: none; border-radius: 50%; background: #2f7cf6; color: #fff; font-size: 24px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.cp-slide .sm .sm-t { font-size: 24px; color: #24304a; font-weight: 600; line-height: 1.55; }
.cp-slide.layout-summary .sm-foot { margin-top: 30px; font-size: 22px; color: #2f7cf6; font-weight: 700; letter-spacing: 2px; }

/* stats */
.cp-slide .st { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.cp-slide .st .st-cell { background: #f5f7fb; border-radius: 16px; padding: 26px 22px; text-align: center; }
.cp-slide .st .st-v { font-size: 60px; font-weight: 800; color: #2f7cf6; line-height: 1.2; }
.cp-slide .st .st-l { font-size: 21px; color: #64748b; margin-top: 10px; }

/* 通用正文修饰 */
.cp-slide .note-line { margin-top: 26px; font-size: 18px; color: #98a1b3; }
.cp-slide p { margin: 0; }

/* ===== 页面外壳（与巡检等全站工具对齐：tool-shell + 全宽 toolHero + quota-bar） ===== */
.cppt-page.work { height: calc(100dvh - 64px); display: flex; flex-direction: column; padding-bottom: calc(var(--safe-b, 0px) + 10px); overflow: hidden; box-sizing: border-box; }
/* 工作台三栏做高：压缩上方固定区域（hero / 页码条 / 提示条），把垂直空间让给三栏内容 */
.cppt-page.work > .tool-hero { padding: 12px 18px; gap: 12px; margin-bottom: 10px; border-radius: 16px; }
.cppt-page.work > .tool-hero .tool-hero-ico { width: 42px; height: 42px; border-radius: 12px; }
.cppt-page.work > .tool-hero h2 { font-size: 18px; }
.cppt-page.work > .tool-hero p { font-size: 12.5px; margin-top: 2px; }
.cppt-page.work > .quota-bar.cppt-wbar { padding: 8px 14px; margin-bottom: 10px; border-radius: 12px; }
.cppt-page.work .cp-ai-notice { margin-bottom: 10px; padding: 8px 12px; font-size: 12px; line-height: 1.55; gap: 8px; }
.cp-ai-notice .cp-notice-x { position: absolute; top: 6px; right: 8px; width: 22px; height: 22px; border: none; border-radius: 6px; background: transparent; color: inherit; opacity: .55; cursor: pointer; display: grid; place-items: center; font-size: 14px; line-height: 1; padding: 0; }
.cp-ai-notice .cp-notice-x:hover { opacity: 1; background: rgba(15, 40, 90, .07); }
.cppt-wbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.cppt-wbar-info { display: flex; align-items: center; gap: 6px; color: #5b6b81; }
.cppt-wbar-info b { color: #2f7cf6; font-size: 15px; }
.cppt-wbar-r { display: flex; align-items: center; gap: 8px; flex: none; }
.cppt-wbtn { font-size: 13px; color: #2f7cf6; background: #edf4ff; border: 1px solid #cfdfff; padding: 6px 14px; border-radius: 999px; cursor: pointer; flex: none; transition: all .2s; }
.cppt-wbtn:hover { background: #dfecff; }
.cppt-wbtn.primary { color: #fff; background: linear-gradient(135deg, #2f7cf6, #1e5fe8); border-color: transparent; box-shadow: 0 4px 10px rgba(47,124,246,.22); }
.cppt-wbtn.primary:hover { filter: brightness(1.06); background: linear-gradient(135deg, #2f7cf6, #1e5fe8); }
@media (max-width: 600px) {
  .cppt-wbar-r { gap: 6px; }
  .cppt-wbtn { padding: 5px 11px; font-size: 12px; }
}
.cppt-page .quota-bar { margin-bottom: 16px; }
.cppt-whyline { margin: 14px 0 0; font-size: 12px; color: #9aa3b2; flex-basis: 100%; }
.cppt-whyline a { color: #9aa3b2; border-bottom: 1px dashed #c7cdd8; text-decoration: none; }
.cppt-whyline a:hover { color: #2f7cf6; border-color: #2f7cf6; }

/* ===== 输入表单 ===== */
.cppt-wrap { max-width: 860px; margin: 0 auto; }
.cppt-card { background: #fff; border-radius: 20px; box-shadow: 0 8px 24px rgba(24,39,75,.06); padding: 26px 24px 22px; }
.cppt-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.cppt-fg { display: flex; flex-direction: column; gap: 8px; }
.cppt-fg.span2 { grid-column: 1 / -1; }
.cppt-fg > label { font-size: 14px; font-weight: 600; color: #2a3348; }
.cppt-fg > label em { color: #e5484d; font-style: normal; }
.cppt-inp, .cppt-txt { border: 1.5px solid #e3e8f0; border-radius: 12px; padding: 11px 14px; font-size: 15px; color: #1a1f2e; background: #fbfcfe; outline: none; font-family: inherit; box-sizing: border-box; width: 100%; transition: border-color .2s; }
.cppt-inp:focus, .cppt-txt:focus { border-color: #2f7cf6; background: #fff; box-shadow: 0 0 0 3px rgba(47,124,246,.12); }
.cppt-txt { resize: vertical; line-height: 1.6; }
.cppt-field-hint { font-size: 12px; color: #9aa3b2; margin: 2px 0 0; line-height: 1.5; }
.cppt-stepper { display: flex; align-items: center; border: 1.5px solid #e3e8f0; border-radius: 12px; background: #fbfcfe; width: fit-content; }
.cppt-stepper button { width: 38px; height: 40px; border: none; background: transparent; font-size: 20px; color: #2f7cf6; cursor: pointer; }
.cppt-stepper input { width: 54px; border: none; text-align: center; font-size: 16px; font-weight: 700; color: #1a1f2e; background: transparent; outline: none; }
.cppt-spks { display: flex; flex-wrap: wrap; gap: 8px; }
.cppt-spk { display: flex; align-items: center; gap: 7px; border: 1.5px solid #e3e8f0; background: #fbfcfe; padding: 7px 12px; border-radius: 999px; font-size: 13px; color: #3b4660; cursor: pointer; transition: all .2s; }
.cppt-spk.sel { border-color: #2f7cf6; background: #edf4ff; color: #2f7cf6; font-weight: 600; }
.cppt-spk.sel .cp-dot { background: #2f7cf6; box-shadow: 0 0 0 3px rgba(47,124,246,.2); }
.cppt-aud { display: flex; flex-wrap: wrap; gap: 8px; }
.cppt-aud-chip { border: 1.5px solid #e3e8f0; background: #fbfcfe; padding: 7px 16px; border-radius: 999px; font-size: 13px; color: #3b4660; cursor: pointer; transition: all .2s; }
.cppt-aud-chip.sel { border-color: #2f7cf6; background: #edf4ff; color: #2f7cf6; font-weight: 600; }
.cppt-foot { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; margin-top: 24px; padding-top: 18px; border-top: 1px dashed #e6eaf0; text-align: center; }
.cppt-quota { font-size: 13px; color: #64748b; background: #f5f7fb; border-radius: 10px; padding: 8px 12px; }
.cppt-quota.vip { color: #b7791f; background: #fdf6e3; }
.cppt-quota b { color: #2f7cf6; font-size: 15px; }
.cppt-genbox { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cppt-gen { border: none; background: linear-gradient(135deg, #2f7cf6, #1e5fe8); color: #fff; font-size: 16px; font-weight: 700; padding: 13px 30px; border-radius: 14px; cursor: pointer; box-shadow: 0 8px 20px rgba(47,124,246,.3); letter-spacing: 1px; }
.cppt-gen:disabled { opacity: .6; cursor: default; }
.cppt-gen-note { font-size: 13px; color: #8b95a5; max-width: none; line-height: 1.5; text-align: center; font-style: normal; }

/* ===== 三栏工作台（唯一 .cp-work 定义：缩略图 236px / 舞台自适应 / 口播稿 340px） ===== */
.cp-work { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 14px; max-width: 1600px; margin: 0 auto; width: 100%; box-sizing: border-box; }
.cp-col { background: #fff; border-radius: 18px; box-shadow: 0 8px 24px rgba(24,39,75,.06); display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.cp-col-h { font-size: 13px; font-weight: 700; color: #3b4660; padding: 13px 16px; border-bottom: 1px solid #eef1f6; flex: none; display: flex; align-items: center; justify-content: space-between; }
.cp-thumbs { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.cp-thumb { position: relative; border: 2px solid transparent; border-radius: 12px; padding: 6px 6px 28px; cursor: pointer; background: #f8fafc; transition: border-color .2s; }
.cp-thumb.on { border-color: #2f7cf6; background: #edf4ff; }
.cp-thumb-scale { position: relative; width: 100%; aspect-ratio: 16 / 9; height: auto; overflow: hidden; border-radius: 8px; box-shadow: 0 1px 5px rgba(24,39,75,.1); background: #fff; }
.cp-thumb-inner { position: absolute; top: 0; left: 0; width: 1280px; height: 720px; transform: scale(.135); transform-origin: top left; }
.cp-thumb .cp-thumb-no { position: absolute; left: 10px; top: 10px; min-width: 20px; height: 20px; line-height: 20px; text-align: center; background: rgba(20,28,46,.72); color: #fff; font-size: 11px; border-radius: 7px; padding: 0 5px; box-sizing: border-box; z-index: 3; }
.cp-thumb .cp-dot { position: absolute; right: 10px; top: 11px; z-index: 3; }
.cp-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #c3ccda; flex: none; }
.cp-dot.ok { background: #1aa87a; box-shadow: 0 0 0 3px rgba(26,168,122,.18); }
.cp-dot.failed { background: #e5484d; box-shadow: 0 0 0 3px rgba(229,72,77,.18); }
.cp-dot.busy { background: #ff8a1a; box-shadow: 0 0 0 3px rgba(255,138,26,.2); animation: cppt-pulse 1s infinite; }
@keyframes cppt-pulse { 50% { opacity: .45; } }
.cp-stage-frame { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; background: radial-gradient(1200px 500px at 50% -10%, #eaf1fb, #dfe6f0 70%); overflow: hidden; padding: 14px; box-sizing: border-box; }
.cp-stage-scale { position: relative; }
.cp-stage-inner { width: 1280px; height: 720px; overflow: hidden; box-shadow: 0 18px 50px rgba(24,39,75,.22); border-radius: 6px; background: #fff; }
.cp-stage-inner .cp-slide { width: 1280px; height: 720px; box-sizing: border-box; }
.cp-stage-bar { flex: none; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid #eef1f6; flex-wrap: wrap; }
.cp-stage-pager { font-size: 13px; color: #64748b; margin-right: auto; }
.cp-stage-pager b { color: #2f7cf6; }
.cp-btn-primary { border: none; background: linear-gradient(135deg, #2f7cf6, #1e5fe8); color: #fff; font-size: 14px; font-weight: 600; padding: 9px 18px; border-radius: 11px; cursor: pointer; box-shadow: 0 5px 14px rgba(47,124,246,.25); }
.cp-btn-dark { border: none; background: #1b2333; color: #fff; font-size: 14px; font-weight: 600; padding: 9px 18px; border-radius: 11px; cursor: pointer; }
.cp-btn-dark:disabled { opacity: .4; cursor: not-allowed; }
.cp-video-wrap { display: inline-block; vertical-align: middle; position: relative; }
.cp-video-err { position: absolute; top: calc(100% + 6px); left: 0; right: 0; color: #e34d4d; font-size: 12px; line-height: 1.4; font-weight: 500; text-align: left; }
.cp-video-wrap .cp-btn-dark { display: inline-flex; align-items: center; gap: 7px; }
.cp-vbtn-load { width: 13px; height: 13px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: cpptspin .7s linear infinite; }
@keyframes cpptspin { to { transform: rotate(360deg); } }
.cp-btn-ghost { border: 1.5px solid #dfe5f0; background: #fff; color: #3b4660; font-size: 16px; font-weight: 700; width: 34px; height: 34px; line-height: 1; border-radius: 9px; cursor: pointer; }
.cp-btn-ghost:disabled { opacity: .4; cursor: not-allowed; }
.cp-btn-ghost:not(:disabled):hover { border-color: #2f7cf6; color: #2f7cf6; }
.cp-btn-plain { border: 1.5px solid #dfe5f0; background: #fff; color: #3b4660; font-size: 13.5px; font-weight: 600; padding: 8px 14px; border-radius: 9px; cursor: pointer; }
.cp-btn-plain:hover { border-color: #2f7cf6; color: #2f7cf6; }
.cp-btn-plain[disabled], .cp-btn-plain.disabled { opacity: .5; cursor: not-allowed; border-color: #dfe5f0; color: #9aa4bc; }
.cp-bar-sep { width: 1px; height: 22px; background: #e6ebf3; margin: 0 4px; }
.cp-thumb .cp-thumb-lab { position: absolute; left: 10px; bottom: 7px; z-index: 3; background: rgba(47,124,246,.14); color: #2f7cf6; font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 999px; }
.cp-busy { font-size: 13px; color: #2f7cf6; }
.cp-scripts { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.cp-script-item { border: 1.5px solid #e8ecf3; border-radius: 14px; padding: 12px; background: #fbfcfe; }
.cp-script-item.on { border-color: #bcd3fb; background: #f4f8ff; }
.cp-si-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; gap: 8px; }
.cp-si-head b { font-size: 13px; color: #3b4660; }
.cp-si-head + textarea { border: 1px solid #e3e8f0; border-radius: 10px; padding: 9px 11px; font-size: 13px; line-height: 1.6; color: #1a1f2e; background: #fff; resize: vertical; outline: none; font-family: inherit; box-sizing: border-box; width: 100%; min-height: 78px; }
.cp-si-head + textarea:focus { border-color: #2f7cf6; }
.cp-si-hint { font-size: 11.5px; color: #a0a9b8; margin: 6px 0 0; line-height: 1.5; }
.cp-ctl { border: 1px solid #dfe5ee; background: #fff; color: #44506a; font-size: 11.5px; padding: 4px 10px; border-radius: 8px; cursor: pointer; flex: none; white-space: nowrap; }
.cp-ctl.play { color: #2f7cf6; border-color: #c5d9fb; background: #edf4ff; }
.cp-ctl.retry { color: #e5484d; border-color: #f6c9cb; background: #fdf0f0; }
.cp-ctl.on { color: #b7791f; border-color: #f0dcae; background: #fdf6e3; cursor: default; }
.cp-audio-sum { color: #2f7cf6; font-size: 12px; }
.cp-video-ready { margin: 0; padding: 10px 12px; font-size: 12px; color: #1aa87a; background: #eefaf4; border-top: 1px solid #e3f3ea; }
.cp-video-wait { margin: 0; padding: 10px 12px; font-size: 12px; color: #8b95a5; background: #f7f8fa; border-top: 1px solid #eef1f6; }
.cp-audio-all { border-top: 1px dashed #e6eaf0; padding-top: 10px; margin-top: 4px; }
.cp-audio-all-t { font-size: 12px; font-weight: 700; color: #64748b; margin-bottom: 6px; }
.cp-audio-list { display: flex; flex-direction: column; gap: 5px; }
.cp-audio-row { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border-radius: 9px; cursor: pointer; }
.cp-audio-row:hover { background: #f3f6fb; }
.cp-audio-row.on { background: #edf4ff; }
.cp-audio-row-ic { width: 18px; height: 18px; border-radius: 50%; background: #dfe5ee; color: #fff; font-size: 10px; display: flex; align-items: center; justify-content: center; flex: none; }
.cp-audio-row.on .cp-audio-row-ic { background: #2f7cf6; }
.cp-audio-row-no { font-size: 12px; color: #64748b; flex: none; }
.cp-audio-row-t { flex: 1; min-width: 0; font-size: 12.5px; color: #3b4660; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-audio-row-st { font-size: 11.5px; color: #a0a9b8; flex: none; }
.cp-audio-row-st.done { color: #1aa87a; }
.cp-audio-row-st.generating { color: #ff8a1a; }
.cp-audio-row-st.failed { color: #e5484d; }
.cp-audio-row-st.queued, .cp-audio-row-st.stale { color: #b7791f; }

/* ===== 弹层：复用主站 #overlay + .modal 体系（与 PSM 助手一致） ===== */

/* ===== 移动端适配 ===== */
@media (max-width: 1100px) {
  .cp-work { grid-template-columns: minmax(0, 1fr) 300px; }
}
@media (max-width: 820px) {
  /* 与虚惊卡片/虚惊分析等兄弟工具一致：窄居中壳 + 标准 gutter + 普通滚动 */
  .cppt-page.work { height: auto; min-height: calc(100dvh - var(--tabbar-h, 56px)); overflow: visible; width: 100%; max-width: var(--content-max); margin-inline: auto; padding-bottom: calc(var(--tabbar-h, 56px) + var(--safe-b, 0px) + 16px); }
  .cppt-page.work > .tool-hero { margin-inline: 0; }
  .cppt-page.work > .quota-bar { margin-inline: 0; }
  .cp-work { grid-template-columns: 1fr; gap: 12px; }
  /* 手机：缩略图变预览下方横向滑动页条 */
  .cp-col.stage { order: 1; }
  .cp-col:not(.stage):not(.side) { order: 3; }
  /* 工作台主操作沉底固定条：避开底部 tabbar 与安全区。
     允许换行 + 禁止子项压缩（flex-shrink:0）：此前 nowrap 会把「下载讲解视频」按钮压瘪到
     51px（文字只露 2 字），表现为"只有按钮左侧一点点可以点"，其余区域点击无反应 */
  .cppt-page.work .cp-stage-bar {
    position: fixed; left: 0; right: 0;
    bottom: calc(var(--tabbar-h, 56px) + var(--safe-b, 0px));
    z-index: 46; background: #fff; border-top: 1px solid #e5e9f0;
    padding: 8px 10px; display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
    row-gap: 7px; overflow-y: hidden;
    box-shadow: 0 -6px 18px rgba(15, 23, 42, 0.08); max-width: none; border-radius: 0;
  }
  .cppt-page.work .cp-stage-bar > * { flex-shrink: 0; }
  .cppt-page.work .cp-stage-bar .cp-bar-sep { display: none; }
  /* 视频按钮独占末行全宽：点击区域最大化，杜绝"按钮被压瘪只剩左侧一点可点" */
  .cppt-page.work .cp-stage-bar .cp-video-wrap { flex: 1 1 100%; }
  .cppt-page.work .cp-stage-bar .cp-video-wrap .cp-btn-dark { width: 100%; justify-content: center; }
  .cppt-page.work .cp-stage-bar::-webkit-scrollbar { display: none; }
  .cppt-page.work .cp-col.stage { padding-bottom: calc(var(--tabbar-h, 56px) + var(--safe-b, 0px) + 108px); }
  .cppt-page.work .quota-bar.cppt-wbar { flex-wrap: wrap; row-gap: 8px; }
  .cppt-page.work .cppt-wbar-styles { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cp-stage-frame { min-height: 40vh; padding: 10px; }
  .cp-col { border-radius: 16px; }
  .cp-thumbs, .cp-scripts { padding: 10px; gap: 8px; }
  .cp-stage-bar { padding: 10px 12px; }
  .cppt-form-grid { grid-template-columns: 1fr; }
  .cppt-foot { flex-direction: column; align-items: center; }
  .cppt-genbox { justify-content: center; flex-wrap: wrap; }
  .cppt-card { padding: 20px 16px; }
}
/* ============ 右侧口播稿编辑卡默认与左侧 PPT 舞台等高 ============ */
.cp-scripts { flex-direction: column; }
.cp-scripts > .cp-script-item,
.cp-scripts > .cp-script-card { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.cp-scripts > .cp-script-item { margin-bottom: 0; }
.cp-scripts > .cp-script-item .cp-si-head,
.cp-scripts > .cp-script-card .cp-script-head { flex: none; }
.cp-scripts > .cp-script-item textarea,
.cp-scripts > .cp-script-card textarea { flex: 1 1 auto; min-height: 0; resize: vertical; }
.cp-scripts > .cp-script-item .cp-si-hint,
.cp-scripts > .cp-script-card .cp-script-actions { flex: none; }
/* ============ 开发中锁页 ============ */
.tool-hero.is-course-ppt { margin-bottom: 14px; }
.cppt-lock { max-width: 620px; margin: 8vh auto 0; padding: 34px 30px; background: #fff; border: 1px solid #e6eaf2; border-radius: 18px; box-shadow: 0 8px 30px rgba(24,40,80,.06); text-align: center; }
.cppt-lock-ico { width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 18px; background: linear-gradient(135deg,#eef3ff,#e6f7fb); display: flex; align-items: center; justify-content: center; color: #2f7cf6; }
.cppt-lock-ico svg { width: 36px; height: 36px; }
.cppt-lock h2 { font-size: 20px; color: #1c2640; margin: 0 0 10px; font-weight: 700; }
.cppt-lock p { font-size: 14px; color: #7a869c; margin: 0 0 22px; line-height: 1.7; }
.cppt-lock-tag { display: inline-block; padding: 5px 14px; border-radius: 999px; background: #fff2e6; color: #c27b26; font-size: 12px; font-weight: 600; margin: 0 0 18px; }
.cppt-lock-acts { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cppt-lock-card { padding: 34px 30px; background: #fff; border: 1px solid #e6eaf2; border-radius: 18px; box-shadow: 0 8px 30px rgba(24,40,80,.06); text-align: center; }
.cppt-lock-card h3 { font-size: 20px; color: #1c2640; margin: 0 0 10px; font-weight: 700; }
.cppt-lock-card p { font-size: 14px; color: #7a869c; margin: 0 0 22px; line-height: 1.7; }
a.cppt-btn-primary { display: inline-block; padding: 10px 26px; border-radius: 10px; background: linear-gradient(135deg,#2f7cf6,#1a5bc4); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; }

/* --- course-ppt 跳页输入 --- */
.cp-stage-pager .cp-pager-go { width: 52px; padding: 1px 4px; text-align: center; border: 1px solid rgba(127,127,127,.35); border-radius: 8px; background: transparent; color: inherit; font: inherit; line-height: 1.6; outline: none; }
.cp-stage-pager .cp-pager-go:focus { border-color: var(--cp-ac,#2f7cf6); background: #fff; color: #1a1a1a; }

/* --- course-ppt 讲解视频生成进度（按钮内，非遮罩） --- */
.cp-vid-prog { height: 5px; margin: 8px 2px 2px; border-radius: 3px; background: rgba(127,127,127,.22); overflow: hidden; }
.cp-vid-prog i { display: block; height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, #7db4ff, #2f7cf6); transition: width .45s ease; }
.cp-vid-stage { font-size: 11.5px; color: rgba(255,255,255,.85); font-weight: 600; margin-top: 4px; line-height: 1.4; min-height: 15px; }

/* ================= AI 生成课件动画遮罩 ================= */
body.cppt-vid-lock { overflow: hidden; }
.cppt-genmask { position: fixed; inset: 0; z-index: 1300; display: flex; align-items: center; justify-content: center; padding: 20px; background: radial-gradient(120% 120% at 50% 0%, rgba(18,32,58,.92), rgba(6,12,26,.97)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease; }
.cppt-genmask.show { opacity: 1; visibility: visible; }
.cppt-genmask .cgm-card { position: relative; width: min(92vw, 460px); border-radius: 26px; padding: 44px 30px 26px; text-align: center; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 40px 90px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.12); overflow: hidden; transform: translateY(16px) scale(.97); transition: transform .4s cubic-bezier(.2,.9,.3,1.2); }
.cppt-genmask.show .cgm-card { transform: none; }
/* 卡片内飘浮光斑 */
.cppt-genmask .cgm-card::before, .cppt-genmask .cgm-card::after { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; filter: blur(60px); opacity: .5; pointer-events: none; }
.cppt-genmask .cgm-card::before { top: -110px; right: -80px; background: radial-gradient(circle, rgba(56,198,216,.5), transparent 70%); animation: cgmDrift 7s ease-in-out infinite alternate; }
.cppt-genmask .cgm-card::after { bottom: -130px; left: -90px; background: radial-gradient(circle, rgba(47,124,246,.55), transparent 70%); animation: cgmDrift 9s ease-in-out infinite alternate-reverse; }
@keyframes cgmDrift { from { transform: translate(0,0) scale(1); } to { transform: translate(30px,-24px) scale(1.12); } }
/* 中心轨道区 */
.cppt-genmask .cgm-orbit { position: relative; width: 132px; height: 132px; margin: 4px auto 24px; }
.cppt-genmask .cgm-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent; border-top-color: rgba(56,198,216,.9); border-right-color: rgba(47,124,246,.55); animation: cgmSpin 1.6s linear infinite; }
.cppt-genmask .cgm-ring.r2 { inset: 12px; border-top-color: transparent; border-bottom-color: rgba(120,170,255,.8); border-left-color: rgba(56,198,216,.35); animation-duration: 2.4s; animation-direction: reverse; }
.cppt-genmask .cgm-halo { position: absolute; inset: 26px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.9), rgba(47,124,246,.7) 60%, rgba(56,198,216,.6)); filter: blur(0); box-shadow: 0 0 34px rgba(47,124,246,.55), 0 0 80px rgba(56,198,216,.3); animation: cgmPulse 2s ease-in-out infinite; }
.cppt-genmask .cgm-core { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 800 34px/1 "PingFang SC","Microsoft YaHei",sans-serif; letter-spacing: 2px; color: #fff; text-shadow: 0 2px 12px rgba(0,40,90,.6); }
@keyframes cgmSpin { to { transform: rotate(360deg); } }
@keyframes cgmPulse { 0%,100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.06); opacity: 1; } }
/* 星点粒子 */
.cppt-genmask .cgm-p { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #8fd8ff; box-shadow: 0 0 10px rgba(120,200,255,.9); animation: cgmFloat 3.2s ease-in-out infinite; opacity: 0; }
.cppt-genmask .cgm-p.p1 { left: 22%; top: 26%; animation-delay: .2s; }
.cppt-genmask .cgm-p.p2 { left: 78%; top: 30%; width: 3px; height: 3px; animation-delay: 1.1s; background: #7ff2e0; }
.cppt-genmask .cgm-p.p3 { left: 68%; top: 14%; animation-delay: 2s; }
.cppt-genmask .cgm-p.p4 { left: 30%; top: 74%; width: 4px; height: 4px; animation-delay: .7s; background: #aac9ff; }
@keyframes cgmFloat { 0% { transform: translateY(14px); opacity: 0; } 35% { opacity: 1; } 70% { transform: translateY(-10px); opacity: .6; } 100% { transform: translateY(-22px); opacity: 0; } }
/* 标题与消息 */
.cppt-genmask .cgm-title { font: 700 21px/1.4 "PingFang SC","Microsoft YaHei",sans-serif; color: #fff; margin: 0 0 10px; letter-spacing: 1px; }
.cppt-genmask .cgm-msg { min-height: 21px; margin: 0; font-size: 14px; line-height: 21px; color: rgba(255,255,255,.78); transition: opacity .25s ease; }
.cppt-genmask .cgm-msg.swap { opacity: 0; }
/* 步骤条 */
.cppt-genmask .cgm-steps { display: flex; margin: 26px 2px 0; }
.cppt-genmask .cgm-step { position: relative; flex: 1; text-align: center; }
.cppt-genmask .cgm-step i { display: block; width: 10px; height: 10px; margin: 0 auto; border-radius: 50%; background: rgba(255,255,255,.22); position: relative; z-index: 2; transition: background .3s ease, box-shadow .3s ease, transform .3s ease; }
.cppt-genmask .cgm-step em { display: block; margin-top: 8px; font-style: normal; font-size: 12px; color: rgba(255,255,255,.45); transition: color .3s ease; }
.cppt-genmask .cgm-step.on i { background: #38c6d8; box-shadow: 0 0 0 4px rgba(56,198,216,.18), 0 0 14px rgba(56,198,216,.7); transform: scale(1.15); }
.cppt-genmask .cgm-step.on em { color: #fff; }
.cppt-genmask .cgm-step.done i { background: #2f7cf6; box-shadow: 0 0 0 3px rgba(47,124,246,.2); }
.cppt-genmask .cgm-step.done em { color: rgba(255,255,255,.75); }
.cppt-genmask .cgm-step::after { content: ""; position: absolute; top: 5px; left: -50%; width: 100%; height: 2px; background: rgba(255,255,255,.14); z-index: 1; }
.cppt-genmask .cgm-step:first-child::after { display: none; }
.cppt-genmask .cgm-step.done::after { background: linear-gradient(90deg, rgba(56,198,216,.55), rgba(47,124,246,.6)); }
/* 提示 */
.cppt-genmask .cgm-tip { margin: 24px 0 0; font-size: 12px; color: rgba(255,255,255,.4); letter-spacing: .5px; }
.cppt-genmask .cgm-tip b { color: rgba(255,255,255,.65); font-weight: 600; }
.cppt-lock { overflow: hidden !important; }
.cppt-genmask .cgm-msg.flip { animation: cgmMsgIn .45s ease; }
@keyframes cgmMsgIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.cppt-genmask .cgm-progress { height: 4px; border-radius: 3px; background: rgba(255,255,255,.12); margin: 22px 6px 0; overflow: hidden; }
.cppt-genmask .cgm-progress b { display: block; height: 100%; width: 25%; border-radius: 3px; background: linear-gradient(90deg, #2f7cf6, #38c6d8); transition: width .55s cubic-bezier(.3,.9,.3,1); box-shadow: 0 0 8px rgba(56,198,216,.55); }
@media (max-width: 480px) {
  .cppt-genmask .cgm-card { padding: 34px 18px 20px; }
  .cppt-genmask .cgm-orbit { width: 108px; height: 108px; }
  .cppt-genmask .cgm-step em { font-size: 11px; }
}

/* ===== 落地页「隐私与保存」说明卡 ===== */
.cp-land-priv { margin-top: 4px; }
.cp-land-priv-card { display: flex; align-items: flex-start; gap: 12px; background: linear-gradient(135deg, #f4faf6, #eef8f1); border: 1px solid rgba(44, 138, 75, .2); border-radius: 16px; padding: 14px 16px; box-shadow: 0 4px 14px rgba(31, 58, 92, .05); }
.cp-land-priv-ico { flex: 0 0 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, #2c8a4b, #3fae63); display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 9px rgba(44, 138, 75, .22); }
.cp-land-priv-ico svg { width: 19px; height: 19px; display: block; stroke: #fff; }
.cp-land-priv-tt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cp-land-priv-tt b { font-size: 14px; color: #23663a; }
.cp-land-priv-tt i { font-style: normal; font-size: 12.5px; line-height: 1.75; color: #4d6a58; }
@media (max-width: 640px) { .cp-land-priv-card { border-radius: 12px; padding: 12px 13px; gap: 10px; } .cp-land-priv-tt i { font-size: 12px; } }

/* ===== 课件风格选择（4 套视觉风格） ===== */
.cppt-styles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.cppt-style-card { position: relative; border: 1.5px solid #e3e8f0; border-radius: 14px; padding: 12px 12px 11px; background: #fff; cursor: pointer; text-align: left; transition: border-color .18s, box-shadow .18s, transform .18s; display: flex; flex-direction: column; gap: 8px; }
.cppt-style-card:hover { border-color: #b9c9e8; transform: translateY(-1px); }
.cppt-style-card.sel { border-color: #2f7cf6; box-shadow: 0 0 0 3px rgba(47, 124, 246, .14); }
.cppt-style-card.sel .cppt-style-nm::after { content: '✓'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 13px; color: #2f7cf6; font-weight: 800; }
.cppt-style-swatches { display: flex; align-items: center; gap: 5px; }
.cppt-style-swatches i { width: 26px; height: 18px; border-radius: 6px; border: 1px solid rgba(0, 0, 0, .08); flex: none; }
.cppt-style-nm { font-size: 13.5px; font-weight: 700; color: #1c2333; position: relative; padding-right: 18px; }
.cppt-style-lb { font-size: 11.5px; color: #8b95a5; line-height: 1.5; }
@media (max-width: 720px) { .cppt-styles { grid-template-columns: repeat(2, 1fr); } }

/* 口播音色试听 */
.cppt-vt { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: #2f7cf6; background: #edf4ff; border: 1px solid #cfdfff; border-radius: 999px; padding: 5px 13px; cursor: pointer; transition: all .18s; flex: none; }
.cppt-vt:hover { background: #dfecff; }
.cppt-vt.busy { opacity: .6; pointer-events: none; }
.cppt-vt .vt-ic { width: 14px; height: 14px; border-radius: 50%; background: #2f7cf6; color: #fff; font-size: 9px; display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
/* 课件名称行（标题 + AI要点 按钮同一行） */
.cppt-trow { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; }
/* AI要点：按课程名称提炼 EHS 要点，填充核心内容 */
button.cppt-vt.cppt-ai { color: #fff; background: linear-gradient(135deg, #4f7cff, #8b5cf6); border-color: transparent; box-shadow: 0 2px 8px rgba(99, 102, 241, .28); }
button.cppt-vt.cppt-ai:hover { background: linear-gradient(135deg, #3f6dff, #7c4dff); }
button.cppt-vt.cppt-ai:disabled { opacity: .62; cursor: default; box-shadow: none; }
.cppt-ai .ai-ic { font-style: normal; font-size: 13px; line-height: 1; }
.cppt-vt.playing .vt-ic { animation: cpptvtPulse 1s ease-in-out infinite; }
@keyframes cpptvtPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }

/* work 页顶部风格快速切换 */
.cppt-wbar-styles { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; flex: none; }
/* 工作台换肤下拉（替代原一排风格预览卡，宽度收敛 ~120px，两路径工具条观感一致） */
.cppt-wstyle-sel { padding: 6px 9px; border: 1px solid #dfe5f0; border-radius: 8px; background: #fff; color: #40506b; font-size: 12px; cursor: pointer; max-width: 150px; }
.cppt-wstyle-sel:focus { outline: none; border-color: #2f7cf6; }
.cppt-wbar-mid { display: flex; align-items: center; gap: 6px; flex: none; }

/* ===== 4 套视觉风格：主题覆盖层（作用于 .cp-slide-root） ===== */
/* —— navy 企业蓝（默认）：封面深蓝渐变 #0f2748→#1d4f8c，内容白底，强调 #2f7cf6 —— */
.cp-slide-root.cp-theme-navy.layout-title { background: linear-gradient(140deg, #0f2748 0%, #153a6e 46%, #1d4f8c 100%); }
.cp-slide-root.cp-theme-navy.layout-title .cover-tag { color: #7fb4ff; }
.cp-slide-root.cp-theme-navy.layout-title .cover-tag::before, .cp-slide-root.cp-theme-navy.layout-title .cover-tag::after { background: rgba(127, 180, 255, .5); }
.cp-slide-root.cp-theme-navy.layout-title .cover-chip { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); color: #cfe0ff; }
.cp-slide-root.cp-theme-navy.layout-title .cover-title { color: #fff; }
.cp-slide-root.cp-theme-navy.layout-title .cover-sub { color: rgba(235, 243, 255, .82); }
.cp-slide-root.cp-theme-navy.layout-title .cover-foot { color: rgba(235, 243, 255, .8); border-top-color: rgba(255, 255, 255, .2); }
.cp-slide-root.cp-theme-navy.layout-title .cover-deco { border-color: rgba(255, 255, 255, .07); }
.cp-slide-root.cp-theme-navy.layout-title .cover-deco2 { background: rgba(255, 255, 255, .04); }
.cp-slide-root.cp-theme-navy.layout-title .cp-slide-pageno { color: rgba(235, 243, 255, .5); }
.cp-slide-root.cp-theme-navy.layout-section { background: linear-gradient(140deg, #0f2748 0%, #1d4f8c 100%); }
.cp-slide-root.cp-theme-navy.layout-end { background: linear-gradient(140deg, #0f2748 0%, #1d4f8c 100%); }
.cp-slide-root.cp-theme-navy.layout-section .sec-no { color: rgba(255, 255, 255, .09); }
.cp-slide-root.cp-theme-navy .hd-rule { background: #2f7cf6; }
.cp-slide-root.cp-theme-navy .hd-top { color: #7a8699; }
.cp-slide-root.cp-theme-navy .hd-top::before { background: #2f7cf6; }
.cp-slide-root.cp-theme-navy .hd-title { color: #14264b; }

/* —— workshop 深色工装：通体低亮深底，青蓝强调 —— */
.cp-slide-root.cp-theme-workshop { background: #141c29; color: #dbe6f4; }
.cp-slide-root.cp-theme-workshop.layout-title { background: linear-gradient(150deg, #0e141f 0%, #16202e 55%, #1d2a3c 100%); }
.cp-slide-root.cp-theme-workshop.layout-title .cover-tag { color: #4fc3f7; }
.cp-slide-root.cp-theme-workshop.layout-title .cover-tag::before, .cp-slide-root.cp-theme-workshop.layout-title .cover-tag::after { background: rgba(79, 195, 247, .45); }
.cp-slide-root.cp-theme-workshop.layout-title .cover-chip { background: rgba(79, 195, 247, .1); border: 1px solid rgba(79, 195, 247, .32); color: #9adcfb; }
.cp-slide-root.cp-theme-workshop.layout-title .cover-title { color: #f2f7fc; }
.cp-slide-root.cp-theme-workshop.layout-title .cover-sub { color: rgba(214, 231, 248, .72); }
.cp-slide-root.cp-theme-workshop.layout-title .cover-foot { color: rgba(214, 231, 248, .72); border-top-color: rgba(79, 195, 247, .22); }
.cp-slide-root.cp-theme-workshop.layout-title .cover-deco { border-color: rgba(79, 195, 247, .08); }
.cp-slide-root.cp-theme-workshop.layout-title .cover-deco2 { background: rgba(255, 255, 255, .03); }
.cp-slide-root.cp-theme-workshop.layout-title .cp-slide-pageno { color: rgba(214, 231, 248, .4); }
.cp-slide-root.cp-theme-workshop.layout-section { background: linear-gradient(140deg, #0c1420 0%, #1b2a40 100%); }
.cp-slide-root.cp-theme-workshop.layout-end { background: linear-gradient(140deg, #0c1420 0%, #1b2a40 100%); }
.cp-slide-root.cp-theme-workshop.layout-section .sec-no { color: rgba(255, 255, 255, .07); }
.cp-slide-root.cp-theme-workshop.layout-icon-grid, .cp-slide-root.cp-theme-workshop.layout-process, .cp-slide-root.cp-theme-workshop.layout-do-dont, .cp-slide-root.cp-theme-workshop.layout-content, .cp-slide-root.cp-theme-workshop.layout-summary, .cp-slide-root.cp-theme-workshop.layout-stats, .cp-slide-root.cp-theme-workshop.layout-focus, .cp-slide-root.cp-theme-workshop.layout-law, .cp-slide-root.cp-theme-workshop.layout-checklist, .cp-slide-root.cp-theme-workshop.layout-case { background: #141c29; }
.cp-slide-root.cp-theme-workshop .hd-title { color: #f2f7fc; }
.cp-slide-root.cp-theme-workshop .hd-top { color: #8fa6c2; }
.cp-slide-root.cp-theme-workshop .hd-top::before { background: #4fc3f7; }
.cp-slide-root.cp-theme-workshop .hd-rule { background: linear-gradient(90deg, #4fc3f7, #2f7cf6); }
.cp-slide-root.cp-theme-workshop .cp-slide-pageno { color: #5c7189; }
.cp-slide-root.cp-theme-workshop .ig .ig-card { background: #1c2838; border-color: #26364c; }
.cp-slide-root.cp-theme-workshop .ig .ig-ic { background: rgba(79, 195, 247, .14); color: #4fc3f7; }
.cp-slide-root.cp-theme-workshop .ig .ig-tt { color: #e8eef7; }
.cp-slide-root.cp-theme-workshop .ig .ig-ds { color: #9fb2c8; }
.cp-slide-root.cp-theme-workshop .fg-concl { background: linear-gradient(160deg, #1a2c42 0%, #22364f 100%); border-left-color: #4fc3f7; color: #e8eef7; }
.cp-slide-root.cp-theme-workshop .fg-concl .fg-cq { color: #4fc3f7; }
.cp-slide-root.cp-theme-workshop .fg-point { background: #1c2838; }
.cp-slide-root.cp-theme-workshop .fg-no { background: #4fc3f7; color: #0e141f; }
.cp-slide-root.cp-theme-workshop .fg-tt { color: #e8eef7; }
.cp-slide-root.cp-theme-workshop .fg-ds { color: #9fb2c8; }
.cp-slide-root.cp-theme-workshop .lw-quote { background: linear-gradient(160deg, #182741 0%, #1d2e4a 100%); border-color: #2a3f5e; }
.cp-slide-root.cp-theme-workshop .lw-quote .lw-qmark { color: #4fc3f7; }
.cp-slide-root.cp-theme-workshop .lw-q { color: #dfe9f5; }
.cp-slide-root.cp-theme-workshop .lw-src { color: #8fa6c2; background: #141c29; border-color: #2a3f5e; }
.cp-slide-root.cp-theme-workshop .lw-sep { color: #4fc3f7; }
.cp-slide-root.cp-theme-workshop .lw-sep::before { background: #4fc3f7; }
.cp-slide-root.cp-theme-workshop .lw-item { background: #1c2838; border-left-color: #3ddc97; }
.cp-slide-root.cp-theme-workshop .lw-no { background: #3ddc97; color: #0e141f; }
.cp-slide-root.cp-theme-workshop .lw-tt { color: #e8eef7; }
.cp-slide-root.cp-theme-workshop .lw-ds { color: #9fb2c8; }
.cp-slide-root.cp-theme-workshop .cl .cl-item { background: #1c2838; }
.cp-slide-root.cp-theme-workshop .cl .cl-box { border-color: #4a5e78; background: #141c29; }
.cp-slide-root.cp-theme-workshop .cl .cl-t { color: #dbe6f4; }
.cp-slide-root.cp-theme-workshop .cl .cl-item input:checked + .cl-t { color: #4fc3f7; }
.cp-slide-root.cp-theme-workshop .cs .cs-block { background: #1c2838; }
.cp-slide-root.cp-theme-workshop .cs .cs-h { color: #e8eef7; }
.cp-slide-root.cp-theme-workshop .cs .cs-ic { background: rgba(79, 195, 247, .14); color: #4fc3f7; }
.cp-slide-root.cp-theme-workshop .cs .cs-p { color: #c4d2e2; }
.cp-slide-root.cp-theme-workshop .cs .cs-li { color: #b6c6d9; }
.cp-slide-root.cp-theme-workshop .cs-block.lessons { border-top-color: #3ddc97; }
.cp-slide-root.cp-theme-workshop .cs.causes, .cp-slide-root.cp-theme-workshop .cs-block.causes { border-top-color: #f0a04b; }
.cp-slide-root.cp-theme-workshop .ps .ps-step { background: #1c2838; }
.cp-slide-root.cp-theme-workshop .ps .ps-num { background: #4fc3f7; color: #0e141f; }
.cp-slide-root.cp-theme-workshop .ps .ps-tt { color: #e8eef7; }
.cp-slide-root.cp-theme-workshop .ps .ps-ds { color: #9fb2c8; }
.cp-slide-root.cp-theme-workshop .ps .ps-arrow { color: #4a5e78; }
.cp-slide-root.cp-theme-workshop .dd .dd-col.do { background: #14301f; border-color: #1e4a31; }
.cp-slide-root.cp-theme-workshop .dd .dd-col.dont { background: #33191d; border-color: #57262e; }
.cp-slide-root.cp-theme-workshop .dd .dd-col.do .dd-h { color: #6fe3a6; }
.cp-slide-root.cp-theme-workshop .dd .dd-col.dont .dd-h { color: #ff8d8d; }
.cp-slide-root.cp-theme-workshop .dd .dd-col.do .dd-li { color: #a8d9bf; }
.cp-slide-root.cp-theme-workshop .dd .dd-col.dont .dd-li { color: #e0b3ae; }
.cp-slide-root.cp-theme-workshop .dd .dd-col.do .dd-li .mk2 { background: rgba(61, 220, 151, .18); color: #6fe3a6; }
.cp-slide-root.cp-theme-workshop .dd .dd-col.dont .dd-li .mk2 { background: rgba(255, 111, 111, .18); color: #ff9b9b; }
.cp-slide-root.cp-theme-workshop .ct .ct-row { background: #1c2838; border-left-color: #4fc3f7; }
.cp-slide-root.cp-theme-workshop .ct .ct-no { background: #4fc3f7; color: #0e141f; }
.cp-slide-root.cp-theme-workshop .ct .ct-t { color: #e8eef7; }
.cp-slide-root.cp-theme-workshop .sm .sm-row { background: #1c2838; border-color: #26364c; box-shadow: none; }
.cp-slide-root.cp-theme-workshop .sm .sm-no { background: #4fc3f7; color: #0e141f; }
.cp-slide-root.cp-theme-workshop .sm .sm-t { color: #e8eef7; }
.cp-slide-root.cp-theme-workshop.layout-summary { background: linear-gradient(160deg, #101826 0%, #141c29 60%); }
.cp-slide-root.cp-theme-workshop.layout-summary .sm-foot { color: #4fc3f7; }
.cp-slide-root.cp-theme-workshop .st .st-cell { background: #1c2838; }
.cp-slide-root.cp-theme-workshop .st .st-v { color: #4fc3f7; }
.cp-slide-root.cp-theme-workshop .st .st-l { color: #9fb2c8; }
.cp-slide-root.cp-theme-workshop .note-line { color: #6d829c; }
.cp-slide-root.cp-theme-workshop .cp-slide-sub { color: #8fa6c2; }

/* —— plain 简洁白：白底细线、低饱和灰蓝，偏公文 —— */
.cp-slide-root.cp-theme-plain { background: #ffffff; color: #2a2f3a; }
.cp-slide-root.cp-theme-plain.layout-title { background: linear-gradient(150deg, #ffffff 0%, #fafbfc 60%, #f2f4f7 100%); }
.cp-slide-root.cp-theme-plain.layout-title .cover-tag { color: #3b4660; letter-spacing: 6px; }
.cp-slide-root.cp-theme-plain.layout-title .cover-tag::before, .cp-slide-root.cp-theme-plain.layout-title .cover-tag::after { background: rgba(59, 70, 96, .35); }
.cp-slide-root.cp-theme-plain.layout-title .cover-chip { background: #fff; border: 1px solid #d8dde6; color: #5a6378; }
.cp-slide-root.cp-theme-plain.layout-title .cover-title { color: #1c2333; }
.cp-slide-root.cp-theme-plain.layout-title .cover-sub { color: #6a7385; }
.cp-slide-root.cp-theme-plain.layout-title .cover-foot { color: #7a8494; border-top-color: #e5e8ee; }
.cp-slide-root.cp-theme-plain.layout-title .cover-deco { border-color: rgba(27, 35, 51, .05); }
.cp-slide-root.cp-theme-plain.layout-title .cover-deco2 { background: rgba(27, 35, 51, .03); }
.cp-slide-root.cp-theme-plain.layout-title .cp-slide-pageno { color: #c3cad6; }
.cp-slide-root.cp-theme-plain.layout-section { background: linear-gradient(140deg, #2f3542 0%, #4a5162 100%); }
.cp-slide-root.cp-theme-plain.layout-end { background: linear-gradient(140deg, #2f3542 0%, #4a5162 100%); }
.cp-slide-root.cp-theme-plain.layout-icon-grid, .cp-slide-root.cp-theme-plain.layout-process, .cp-slide-root.cp-theme-plain.layout-do-dont, .cp-slide-root.cp-theme-plain.layout-content, .cp-slide-root.cp-theme-plain.layout-summary, .cp-slide-root.cp-theme-plain.layout-stats, .cp-slide-root.cp-theme-plain.layout-focus, .cp-slide-root.cp-theme-plain.layout-law, .cp-slide-root.cp-theme-plain.layout-checklist, .cp-slide-root.cp-theme-plain.layout-case { background: #fff; }
.cp-slide-root.cp-theme-plain .hd-rule { background: #8a94a6; width: 52px; height: 4px; border-radius: 2px; }
.cp-slide-root.cp-theme-plain .hd-top { color: #7a8494; }
.cp-slide-root.cp-theme-plain .hd-top::before { background: #8a94a6; width: 8px; height: 8px; border-radius: 2px; }
.cp-slide-root.cp-theme-plain .hd-title { color: #1c2333; }
.cp-slide-root.cp-theme-plain .hd-sub { color: #7a8494; }
.cp-slide-root.cp-theme-plain .ig .ig-card { background: #fbfcfe; border: 1px solid #e6e9f0; border-radius: 10px; }
.cp-slide-root.cp-theme-plain .ig .ig-ic { background: #f1f3f7; color: #4a5162; border-radius: 10px; }
.cp-slide-root.cp-theme-plain .ig .ig-tt { color: #262c38; }
.cp-slide-root.cp-theme-plain .ig .ig-ds { color: #6a7385; }
.cp-slide-root.cp-theme-plain .fg-concl { background: #fafbfc; border: 1px solid #e6e9f0; border-left: 4px solid #3b4660; border-radius: 10px; color: #1c2333; }
.cp-slide-root.cp-theme-plain .fg-concl .fg-cq { color: #3b4660; }
.cp-slide-root.cp-theme-plain .fg-point { background: #fbfcfe; border: 1px solid #eceff4; border-radius: 10px; }
.cp-slide-root.cp-theme-plain .fg-no { background: #3b4660; color: #fff; border-radius: 8px; }
.cp-slide-root.cp-theme-plain .fg-tt { color: #262c38; }
.cp-slide-root.cp-theme-plain .fg-ds { color: #6a7385; }
.cp-slide-root.cp-theme-plain .lw-quote { background: #fafbfc; border: 1px solid #e6e9f0; border-left: 4px solid #3b4660; border-radius: 10px; }
.cp-slide-root.cp-theme-plain .lw-quote .lw-qmark { color: #8a94a6; }
.cp-slide-root.cp-theme-plain .lw-q { color: #2a2f3a; }
.cp-slide-root.cp-theme-plain .lw-src { color: #7a8494; background: #fff; border-color: #e6e9f0; }
.cp-slide-root.cp-theme-plain .lw-sep { color: #3b4660; letter-spacing: 3px; }
.cp-slide-root.cp-theme-plain .lw-sep::before { background: #8a94a6; }
.cp-slide-root.cp-theme-plain .lw-item { background: #fbfcfe; border: 1px solid #eceff4; border-left: 4px solid #3b4660; border-radius: 10px; }
.cp-slide-root.cp-theme-plain .lw-no { background: #3b4660; border-radius: 8px; }
.cp-slide-root.cp-theme-plain .lw-tt { color: #262c38; }
.cp-slide-root.cp-theme-plain .lw-ds { color: #6a7385; }
.cp-slide-root.cp-theme-plain .cl .cl-item { background: #fbfcfe; border: 1px solid #eceff4; border-radius: 10px; }
.cp-slide-root.cp-theme-plain .cl .cl-box { border-color: #aab2c0; border-radius: 5px; }
.cp-slide-root.cp-theme-plain .cl .cl-t { color: #2a2f3a; }
.cp-slide-root.cp-theme-plain .cl .cl-item input:checked + .cl-t { color: #3b4660; }
.cp-slide-root.cp-theme-plain .cs .cs-block { background: #fbfcfe; border: 1px solid #eceff4; border-radius: 10px; }
.cp-slide-root.cp-theme-plain .cs .cs-h { color: #1c2333; }
.cp-slide-root.cp-theme-plain .cs .cs-ic { background: #f1f3f7; color: #4a5162; border-radius: 8px; }
.cp-slide-root.cp-theme-plain .cs .cs-p { color: #4a5262; }
.cp-slide-root.cp-theme-plain .cs .cs-li { color: #5a6373; }
.cp-slide-root.cp-theme-plain .cs-block.lessons { border-top-color: #4a5162; }
.cp-slide-root.cp-theme-plain .cs.causes, .cp-slide-root.cp-theme-plain .cs-block.causes { border-top-color: #8a94a6; }
.cp-slide-root.cp-theme-plain .ps .ps-step { background: #fbfcfe; border: 1px solid #eceff4; border-radius: 10px; }
.cp-slide-root.cp-theme-plain .ps .ps-num { background: #3b4660; color: #fff; }
.cp-slide-root.cp-theme-plain .ps .ps-tt { color: #262c38; }
.cp-slide-root.cp-theme-plain .ps .ps-ds { color: #6a7385; }
.cp-slide-root.cp-theme-plain .ps .ps-arrow { color: #c3cad6; }
.cp-slide-root.cp-theme-plain .dd .dd-col.do { background: #f7faf8; border: 1px solid #e2e9e4; }
.cp-slide-root.cp-theme-plain .dd .dd-col.dont { background: #faf8f7; border: 1px solid #ebe5e2; }
.cp-slide-root.cp-theme-plain .dd .dd-h { color: #2a2f3a; }
.cp-slide-root.cp-theme-plain .dd .dd-col.do .dd-h .mk { background: #6d7d74; }
.cp-slide-root.cp-theme-plain .dd .dd-col.dont .dd-h .mk { background: #a5817d; }
.cp-slide-root.cp-theme-plain .dd .dd-col.do .dd-li { color: #4a5b52; }
.cp-slide-root.cp-theme-plain .dd .dd-col.dont .dd-li { color: #6b5a57; }
.cp-slide-root.cp-theme-plain .dd .dd-col.do .dd-li .mk2 { background: #e9efe9; color: #4a5b52; }
.cp-slide-root.cp-theme-plain .dd .dd-col.dont .dd-li .mk2 { background: #f1eae8; color: #6b5a57; }
.cp-slide-root.cp-theme-plain .ct .ct-row { background: #fbfcfe; border: 1px solid #eceff4; border-left: 4px solid #3b4660; border-radius: 10px; }
.cp-slide-root.cp-theme-plain .ct .ct-no { background: #3b4660; border-radius: 8px; }
.cp-slide-root.cp-theme-plain .ct .ct-t { color: #262c38; }
.cp-slide-root.cp-theme-plain .sm .sm-row { background: #fff; border: 1px solid #e6e9f0; border-radius: 10px; box-shadow: none; }
.cp-slide-root.cp-theme-plain .sm .sm-no { background: #3b4660; }
.cp-slide-root.cp-theme-plain .sm .sm-t { color: #2a2f3a; }
.cp-slide-root.cp-theme-plain.layout-summary { background: linear-gradient(160deg, #fafbfc 0%, #fff 60%); }
.cp-slide-root.cp-theme-plain.layout-summary .sm-foot { color: #3b4660; }
.cp-slide-root.cp-theme-plain .st .st-cell { background: #fbfcfe; border: 1px solid #e6e9f0; border-radius: 10px; }
.cp-slide-root.cp-theme-plain .st .st-v { color: #3b4660; }
.cp-slide-root.cp-theme-plain .st .st-l { color: #7a8494; }
.cp-slide-root.cp-theme-plain .note-line { color: #9aa3b2; }

/* —— alert 安全橙：白底、强调 #e85d04/警示红，适合班前会 —— */
.cp-slide-root.cp-theme-alert { background: #fff7f2; color: #2a2420; }
.cp-slide-root.cp-theme-alert.layout-title { background: linear-gradient(150deg, #fff4ea 0%, #ffe9d9 55%, #ffdcc4 100%); }
.cp-slide-root.cp-theme-alert.layout-title .cover-tag { color: #c2410c; }
.cp-slide-root.cp-theme-alert.layout-title .cover-tag::before, .cp-slide-root.cp-theme-alert.layout-title .cover-tag::after { background: rgba(232, 93, 4, .5); }
.cp-slide-root.cp-theme-alert.layout-title .cover-chip { background: rgba(232, 93, 4, .08); border: 1px solid rgba(232, 93, 4, .3); color: #b23c0a; }
.cp-slide-root.cp-theme-alert.layout-title .cover-title { color: #4c1d05; }
.cp-slide-root.cp-theme-alert.layout-title .cover-sub { color: #8a4a20; }
.cp-slide-root.cp-theme-alert.layout-title .cover-foot { color: #9a5a30; border-top-color: rgba(232, 93, 4, .22); }
.cp-slide-root.cp-theme-alert.layout-title .cover-deco { border-color: rgba(232, 93, 4, .09); }
.cp-slide-root.cp-theme-alert.layout-title .cover-deco2 { background: rgba(255, 255, 255, .5); }
.cp-slide-root.cp-theme-alert.layout-title .cp-slide-pageno { color: rgba(160, 90, 40, .45); }
.cp-slide-root.cp-theme-alert.layout-section { background: linear-gradient(140deg, #7a1e06 0%, #c2410c 52%, #e85d04 100%); }
.cp-slide-root.cp-theme-alert.layout-end { background: linear-gradient(140deg, #7a1e06 0%, #c2410c 52%, #e85d04 100%); }
.cp-slide-root.cp-theme-alert.layout-section .sec-no { color: rgba(255, 255, 255, .12); }
.cp-slide-root.cp-theme-alert.layout-section .sec-kicker::before { background: #ffd9a8; }
.cp-slide-root.cp-theme-alert.layout-icon-grid, .cp-slide-root.cp-theme-alert.layout-process, .cp-slide-root.cp-theme-alert.layout-do-dont, .cp-slide-root.cp-theme-alert.layout-content, .cp-slide-root.cp-theme-alert.layout-summary, .cp-slide-root.cp-theme-alert.layout-stats, .cp-slide-root.cp-theme-alert.layout-focus, .cp-slide-root.cp-theme-alert.layout-law, .cp-slide-root.cp-theme-alert.layout-checklist, .cp-slide-root.cp-theme-alert.layout-case { background: #fffaf6; }
.cp-slide-root.cp-theme-alert .hd-rule { background: #e85d04; }
.cp-slide-root.cp-theme-alert .hd-top { color: #b06a44; }
.cp-slide-root.cp-theme-alert .hd-top::before { background: #e85d04; }
.cp-slide-root.cp-theme-alert .hd-title { color: #571f05; }
.cp-slide-root.cp-theme-alert .hd-sub { color: #b06a44; }
.cp-slide-root.cp-theme-alert .ig .ig-card { background: #fff; border: 1px solid #f6ddd0; }
.cp-slide-root.cp-theme-alert .ig .ig-ic { background: #ffe9d9; color: #e85d04; }
.cp-slide-root.cp-theme-alert .ig .ig-tt { color: #3a2a20; }
.cp-slide-root.cp-theme-alert .ig .ig-ds { color: #6e5c4e; }
.cp-slide-root.cp-theme-alert .fg-concl { background: linear-gradient(160deg, #ffe9d9 0%, #fff4ea 100%); border-left-color: #e85d04; color: #4c1d05; }
.cp-slide-root.cp-theme-alert .fg-concl .fg-cq { color: #e85d04; }
.cp-slide-root.cp-theme-alert .fg-point { background: #fff; border: 1px solid #f6ddd0; }
.cp-slide-root.cp-theme-alert .fg-no { background: #e85d04; }
.cp-slide-root.cp-theme-alert .fg-tt { color: #3a2a20; }
.cp-slide-root.cp-theme-alert .fg-ds { color: #6e5c4e; }
.cp-slide-root.cp-theme-alert .lw-quote { background: #fff; border: 1px solid #f3d5c3; border-left: 4px solid #e85d04; }
.cp-slide-root.cp-theme-alert .lw-quote .lw-qmark { color: #e85d04; }
.cp-slide-root.cp-theme-alert .lw-q { color: #4c1d05; }
.cp-slide-root.cp-theme-alert .lw-src { color: #9a6a45; background: #fff; border-color: #f3d5c3; }
.cp-slide-root.cp-theme-alert .lw-sep { color: #e85d04; }
.cp-slide-root.cp-theme-alert .lw-sep::before { background: #e85d04; }
.cp-slide-root.cp-theme-alert .lw-item { background: #fff; border: 1px solid #f0e2d8; border-left: 4px solid #d6451e; }
.cp-slide-root.cp-theme-alert .lw-no { background: #d6451e; }
.cp-slide-root.cp-theme-alert .lw-tt { color: #3a2a20; }
.cp-slide-root.cp-theme-alert .lw-ds { color: #6e5c4e; }
.cp-slide-root.cp-theme-alert .cl .cl-item { background: #fff; border: 1px solid #f0e2d8; }
.cp-slide-root.cp-theme-alert .cl .cl-t { color: #3a2a20; }
.cp-slide-root.cp-theme-alert .cl .cl-item input:checked + .cl-t { color: #c2410c; }
.cp-slide-root.cp-theme-alert .cs .cs-block { background: #fff; border: 1px solid #f0e2d8; }
.cp-slide-root.cp-theme-alert .cs .cs-h { color: #4c1d05; }
.cp-slide-root.cp-theme-alert .cs .cs-ic { background: #ffe9d9; color: #e85d04; }
.cp-slide-root.cp-theme-alert .cs .cs-p { color: #54453a; }
.cp-slide-root.cp-theme-alert .cs .cs-li { color: #5f5045; }
.cp-slide-root.cp-theme-alert .cs-block.lessons { border-top-color: #23b26d; }
.cp-slide-root.cp-theme-alert .cs.causes, .cp-slide-root.cp-theme-alert .cs-block.causes { border-top-color: #e85d04; }
.cp-slide-root.cp-theme-alert .ps .ps-step { background: #fff; border: 1px solid #f0e2d8; }
.cp-slide-root.cp-theme-alert .ps .ps-num { background: #e85d04; }
.cp-slide-root.cp-theme-alert .ps .ps-tt { color: #3a2a20; }
.cp-slide-root.cp-theme-alert .ps .ps-ds { color: #6e5c4e; }
.cp-slide-root.cp-theme-alert .ct .ct-row { background: #fff; border: 1px solid #f6ddd0; border-left: 4px solid #e85d04; }
.cp-slide-root.cp-theme-alert .ct .ct-no { background: #e85d04; }
.cp-slide-root.cp-theme-alert .ct .ct-t { color: #3a2a20; }
.cp-slide-root.cp-theme-alert .sm .sm-row { background: #fff; border: 1px solid #f6ddd0; }
.cp-slide-root.cp-theme-alert .sm .sm-no { background: #e85d04; }
.cp-slide-root.cp-theme-alert .sm .sm-t { color: #3a2a20; }
.cp-slide-root.cp-theme-alert.layout-summary { background: linear-gradient(160deg, #fff4ea 0%, #fffaf6 60%); }
.cp-slide-root.cp-theme-alert.layout-summary .sm-foot { color: #c2410c; }
.cp-slide-root.cp-theme-alert .st .st-cell { background: #fff; border: 1px solid #f0e2d8; }
.cp-slide-root.cp-theme-alert .st .st-v { color: #e85d04; }
.cp-slide-root.cp-theme-alert .st .st-l { color: #8a6a50; }
.cp-slide-root.cp-theme-alert .note-line { color: #b08a6a; }
.cp-slide-root.cp-theme-alert .cp-slide-sub { color: #b06a44; }

/* ============ 认证会员月度生成额度横幅 ============ */
.cppt-qb { display: flex; align-items: stretch; gap: 12px; padding: 14px 16px; border-radius: 14px; background: linear-gradient(135deg, #eef4ff 0%, #f6f9ff 100%); border: 1px solid #d6e2f8; margin: 12px 0 4px; }
.cppt-qb.cppt-qb-warn { background: linear-gradient(135deg, #fff7ee 0%, #fffbf5 100%); border-color: #f7ddbc; }
.cppt-qb.cppt-qb-err { background: linear-gradient(135deg, #fff0ee 0%, #fff8f6 100%); border-color: #f6c8c2; }
.cppt-qb-badge { flex: none; width: 64px; height: 64px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 13px; line-height: 1.25; font-weight: 800; color: #fff; text-align: center; background: linear-gradient(135deg, #0f2748, #1d4f8c); letter-spacing: .5px; }
.cppt-qb-badge i { font-style: normal; font-size: 18px; display: block; margin-bottom: 2px; }
.cppt-qb-warn .cppt-qb-badge { background: linear-gradient(135deg, #b4550a, #e85d04); }
.cppt-qb-err .cppt-qb-badge { background: linear-gradient(135deg, #a3280a, #d6453d); }
.cppt-qb-main { flex: 1; min-width: 0; }
.cppt-qb-t { font-size: 15px; font-weight: 800; color: #0f2748; margin: 2px 0 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cppt-qb-t .cppt-qb-num { color: #e85d04; font-size: 18px; }
.cppt-qb-d { font-size: 12.5px; line-height: 1.7; color: #5a6b85; }
.cppt-qb-go { flex: none; align-self: center; }
.cppt-qb-go a, .cppt-qb-go .cppt-qb-btn { display: inline-block; padding: 9px 18px; border-radius: 10px; background: linear-gradient(135deg, #0f2748, #1d4f8c); color: #fff; font-size: 13.5px; font-weight: 700; text-decoration: none; box-shadow: 0 4px 10px rgba(15, 39, 72, .18); cursor: pointer; }
.cppt-qb-err .cppt-qb-go a, .cppt-qb-err .cppt-qb-go .cppt-qb-btn { background: linear-gradient(135deg, #a3280a, #d6453d); }
.cppt-qb-track { height: 7px; border-radius: 5px; background: #dbe4f2; overflow: hidden; margin: 8px 0 2px; max-width: 480px; }
.cppt-qb-track i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, #2f7cf6, #1d4f8c); transition: width .4s ease; }
.cppt-qb-err .cppt-qb-track i { background: linear-gradient(90deg, #e85d04, #d6453d); }
.cppt-qb-rem { font-size: 12px; color: #3b4a63; margin-top: 4px; }
.cppt-qb-rem b { color: #e85d04; }
@media (max-width: 640px) {
  .cppt-qb { flex-wrap: wrap; }
  .cppt-qb-badge { width: 54px; height: 54px; font-size: 11.5px; }
  .cppt-qb-go { width: 100%; }
  .cppt-qb-go a, .cppt-qb-go .cppt-qb-btn { width: 100%; text-align: center; box-sizing: border-box; }
}

/* ============ 课件生成额度横幅（class 对齐修正） ============ */
.cppt-qb { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: linear-gradient(135deg, #eef4ff, #f6f9ff); border: 1px solid #d6e2f8; margin: 4px 0 14px; }
.cppt-qb.qb-nonvip { background: linear-gradient(135deg, #fff7ee, #fffbf5); border-color: #f5dcc0; }
.cppt-qb.qb-out { background: linear-gradient(135deg, #fff0ee, #fff8f6); border-color: #f3c8c0; }
.cppt-qb .cppt-qb-badge { flex: none; min-width: 92px; padding: 8px 10px; border-radius: 12px; color: #fff; font-size: 13px; font-weight: 800; line-height: 1.35; text-align: center; background: linear-gradient(135deg, #0f2748, #1d4f8c); }
.cppt-qb .cppt-qb-badge.qb-cta { background: linear-gradient(135deg, #b4550a, #e85d04); }
.cppt-qb .cppt-qb-t { flex: none; min-width: 220px; font-size: 15px; font-weight: 800; color: #0f2748; }
.cppt-qb .cppt-qb-t b { color: #e85d04; font-size: 17px; }
.cppt-qb .cppt-qb-note { flex: 1; min-width: 200px; font-size: 12.5px; line-height: 1.65; color: #5a6b85; }
.cppt-qb .cppt-qb-note b { color: #c2410c; }
.cppt-qb .cppt-qb-track { flex: 1; height: 7px; border-radius: 5px; background: #dbe4f2; overflow: hidden; max-width: 260px; min-width: 90px; }
.cppt-qb .cppt-qb-track i { display: block; height: 100%; background: linear-gradient(90deg, #2f7cf6, #1d4f8c); border-radius: 5px; }
.cppt-qb .cppt-qb-btn { flex: none; border: 0; cursor: pointer; padding: 9px 18px; border-radius: 10px; background: linear-gradient(135deg, #b4550a, #e85d04); color: #fff; font-size: 13.5px; font-weight: 700; box-shadow: 0 4px 10px rgba(232, 93, 4, .18); }
.cppt-qb .cppt-qb-btn:hover { filter: brightness(1.06); }
@media (max-width: 760px) {
  .cppt-qb { flex-wrap: wrap; }
  .cppt-qb .cppt-qb-t { min-width: 100%; }
  .cppt-qb .cppt-qb-note { min-width: 100%; }
}

/* ============ 配额横幅 ICON 徽标 ============ */
.cppt-qb .cppt-qb-badge.qb-ic { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; min-width: 52px; padding: 0; border-radius: 50%; }
.cppt-qb .cppt-qb-badge.qb-ic svg { width: 27px; height: 27px; color: #fff; }
.cppt-qb .cppt-qb-badge.qb-cta.qb-ic { box-shadow: 0 4px 12px rgba(232, 93, 4, .35); }
@media (max-width: 640px) {
  .cppt-qb .cppt-qb-badge.qb-ic { width: 44px; height: 44px; min-width: 44px; }
  .cppt-qb .cppt-qb-badge.qb-ic svg { width: 23px; height: 23px; }
}

/* ============ 课件成品横幅轮播（公开可看，点击即播） ============ */
.cppt-banner-root { display: none; }
.cppt-banner-root.on { display: block; margin: 0 auto 16px; max-width: 860px; }
.cppt-bn { position: relative; overflow: hidden; border-radius: 16px; background: #0d1b34; box-shadow: 0 6px 18px rgba(20, 40, 80, .12); }
.cppt-bn-track { display: flex; transition: transform .55s cubic-bezier(.4, .1, .2, 1); }
.cppt-bn-item { position: relative; min-width: 100%; aspect-ratio: 860 / 300; cursor: pointer; overflow: hidden; }
.cppt-bn-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cppt-bn-mask { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 18px 22px; background: linear-gradient(180deg, rgba(6, 14, 30, .02) 42%, rgba(6, 14, 30, .78) 100%); }
.cppt-bn-play-btn { position: absolute; right: 22px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .94); color: #16324f; font-size: 15px; display: flex; align-items: center; justify-content: center; padding-left: 3px; box-shadow: 0 6px 16px rgba(0, 0, 0, .28); transition: transform .16s; }
.cppt-bn-item:hover .cppt-bn-play-btn { transform: scale(1.08); }
.cppt-bn-txt b { display: block; color: #fff; font-size: 19px; letter-spacing: .5px; text-shadow: 0 1px 6px rgba(0, 0, 0, .4); }
.cppt-bn-txt i { display: block; margin-top: 5px; color: rgba(255, 255, 255, .86); font-size: 12.5px; font-style: normal; max-width: 72%; text-shadow: 0 1px 4px rgba(0, 0, 0, .4); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cppt-bn-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 32px; height: 46px; border: 0; background: rgba(10, 20, 40, .34); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .2s, background .2s; z-index: 2; }
.cppt-bn-arrow.prev { left: 0; border-radius: 0 10px 10px 0; }
.cppt-bn-arrow.next { right: 0; border-radius: 10px 0 0 10px; }
.cppt-bn:hover .cppt-bn-arrow { opacity: 1; }
.cppt-bn-arrow:hover { background: rgba(10, 20, 40, .6); }
.cppt-bn-dots { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); display: flex; gap: 6px; z-index: 2; }
.cppt-bn-dots i { width: 6px; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .5); cursor: pointer; transition: all .2s; }
.cppt-bn-dots i.on { width: 18px; background: #fff; }
@media (max-width: 720px) {
  .cppt-banner-root.on { margin-bottom: 12px; }
  .cppt-bn-item { aspect-ratio: 16 / 9; }
  .cppt-bn-txt b { font-size: 15px; }
  .cppt-bn-txt i { max-width: 82%; font-size: 11.5px; }
  .cppt-bn-mask { padding: 12px 14px; }
  .cppt-bn-play-btn { right: 14px; bottom: 12px; width: 38px; height: 38px; font-size: 13px; }
}

/* ============ 横幅视频播放浮层 ============ */
.cppt-vm { position: fixed; inset: 0; z-index: 99999; background: rgba(8, 14, 26, .82); display: flex; align-items: center; justify-content: center; padding: 20px; box-sizing: border-box; backdrop-filter: blur(3px); }
.cppt-vm-box { width: min(920px, 96vw); background: #0c1626; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.cppt-vm-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: #101d33; }
.cppt-vm-head b { color: #eaf1ff; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cppt-vm-close { width: 30px; height: 30px; min-width: 30px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .1); color: #cdd8ea; font-size: 14px; cursor: pointer; }
.cppt-vm-close:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.cppt-vm-body video { display: block; width: 100%; max-height: 68vh; background: #000; }

/* ============ 一键合成全部音频：主 CTA 大按钮 ============ */
.cp-genall-hero { display: flex; align-items: center; gap: 12px; width: 100%; margin: 10px 0 12px; padding: 12px 14px; border: 0; border-radius: 14px; background: linear-gradient(135deg, #1a3a5c, #2f7cf6 55%, #38c6d8); color: #fff; cursor: pointer; box-shadow: 0 6px 18px rgba(47, 124, 246, .28); transition: transform .15s ease, box-shadow .15s ease, filter .15s ease; text-align: left; }
.cp-genall-hero:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(47, 124, 246, .4); filter: brightness(1.05); }
.cp-genall-hero:disabled { cursor: default; }
.cp-genall-hero .cp-gh-ico { flex: 0 0 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, .18); display: flex; align-items: center; justify-content: center; }
.cp-genall-hero .cp-gh-ico svg { width: 20px; height: 20px; display: block; }
.cp-genall-hero .cp-gh-ico svg * { stroke: #fff; }
.cp-genall-hero.running .cp-gh-ico svg * { stroke: #fff; }
.cp-genall-hero .cp-gh-ico.spin svg { animation: cpGhSpin 1.1s linear infinite; }
@keyframes cpGhSpin { to { transform: rotate(360deg); } }
.cp-genall-hero .cp-gh-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cp-genall-hero .cp-gh-main b { font-size: 15px; font-weight: 800; letter-spacing: .5px; }
.cp-genall-hero .cp-gh-main i { font-style: normal; font-size: 11.5px; opacity: .82; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-genall-hero .cp-gh-badge { flex: 0 0 auto; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .22); font-variant-numeric: tabular-nums; }
.cp-genall-hero.running { background: linear-gradient(135deg, #17547a, #2e9ab8 60%, #38c6d8); animation: cpGhPulse 1.6s ease-in-out infinite; }
@keyframes cpGhPulse { 0%, 100% { box-shadow: 0 6px 18px rgba(46, 154, 184, .3); } 50% { box-shadow: 0 6px 28px rgba(56, 198, 216, .55); } }
.cp-genall-hero.done { background: linear-gradient(135deg, #2c8a4b, #3fae63); box-shadow: 0 6px 18px rgba(44, 138, 75, .3); }
.cp-genall-hero.warn { background: linear-gradient(135deg, #b8541f, #d97a2e); box-shadow: 0 6px 18px rgba(184, 84, 31, .3); }


/* ============ 讲解视频生成：右下角固定迷你进度胶囊（不遮操作、翻页可见） ============ */
#cp-vid-float { position: fixed; right: 14px; bottom: calc(var(--tabbar-h, 56px) + var(--safe-b, 0px) + 14px); z-index: 900; display: flex; align-items: center; gap: 10px; min-width: 230px; max-width: min(320px, calc(100vw - 28px)); padding: 10px 14px; border-radius: 14px; background: rgba(20, 34, 48, .92); color: #fff; box-shadow: 0 8px 28px rgba(10, 24, 40, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transform: translateY(12px); transition: opacity .3s ease, transform .3s ease; pointer-events: none; }
#cp-vid-float.show { opacity: 1; transform: none; }
#cp-vid-float .cvf-load { flex: 0 0 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); border-top-color: #4fd6e8; animation: cpVidSpin .9s linear infinite; }
@keyframes cpVidSpin { to { transform: rotate(360deg); } }
#cp-vid-float .cvf-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
#cp-vid-float .cvf-main b { font-size: 13px; font-weight: 700; letter-spacing: .3px; }
#cp-vid-float .cvf-main i { font-style: normal; font-size: 11px; color: rgba(255, 255, 255, .72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#cp-vid-float .cvf-pct { flex: 0 0 auto; font-size: 17px; font-weight: 800; color: #4fd6e8; font-variant-numeric: tabular-nums; }
#cp-vid-float .cvf-bar { position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .16); overflow: hidden; }
#cp-vid-float .cvf-bar i { display: block; height: 100%; width: 0%; border-radius: 3px; background: linear-gradient(90deg, #2f7cf6, #4fd6e8); transition: width .4s cubic-bezier(.3, .9, .3, 1); }

/* ================= 预览页直接编辑 PPT 文字 ================= */
.cppt-wbtn.edit-toggle { color: #7a5b16; background: #fdf3d8; border-color: #f0ddab; }
.cppt-wbtn.edit-toggle:hover { background: #faebc4; }
.cppt-wbtn.edit-toggle.sel { color: #fff; background: linear-gradient(135deg, #f5a623, #e8842a); border-color: transparent; box-shadow: 0 4px 10px rgba(232, 132, 42, .28); }
.cp-stage-inner.cp-editing { cursor: text; }
.cp-stage-inner.cp-editing [data-ed] { outline: 1.5px dashed rgba(47, 124, 246, .38); outline-offset: 3px; border-radius: 3px; transition: outline-color .15s, background-color .15s; }
.cp-stage-inner.cp-editing [data-ed]:hover { outline-color: rgba(47, 124, 246, .85); background-color: rgba(47, 124, 246, .07); }
.cp-stage-inner.cp-editing [data-ed]:focus { outline: 2px solid #2f7cf6; outline-offset: 3px; background-color: rgba(47, 124, 246, .06); cursor: text; }
.cp-stage-inner [data-ed].cp-ed-saved { animation: cpEdFlash .7s ease; }
@keyframes cpEdFlash { 0% { background-color: rgba(56, 198, 116, .28); } 100% { background-color: transparent; } }

/* ================= 落地页浏览器建议提示条 ================= */
.cp-browser-tip { display: flex; align-items: center; gap: 9px; max-width: 860px; margin: 12px auto 0; padding: 10px 16px; border: 1px solid #cfe3ff; border-radius: 12px; background: linear-gradient(135deg, #f2f8ff, #eef6ff); color: #35507c; font-size: 13px; line-height: 1.6; box-sizing: border-box; }
.cp-browser-tip svg { flex: none; color: #2f7cf6; margin-top: 1px; }
.cp-browser-tip p { margin: 0; }
.cp-browser-tip b { color: #1a3a5c; font-weight: 700; }
.cp-browser-tip .cp-browser-tip-sub { margin-top: 2px; color: #6b84a3; font-size: 12px; }
.cp-browser-tip .cp-browser-tip-sub b { color: #35507c; }
@media (max-width: 640px) { .cp-browser-tip { border-radius: 10px; padding: 9px 12px; font-size: 12px; } }

/* ================= 工作台 AI 幻觉提醒条 ================= */
.cp-ai-notice { display: flex; align-items: flex-start; gap: 9px; margin: 0 0 12px; padding: 10px 14px; border: 1px solid #f0dcae; border-radius: 12px; background: linear-gradient(135deg, #fdf9ee, #fcf3de); color: #7a5b16; font-size: 12.5px; line-height: 1.7; }
.cp-ai-notice svg { flex: none; color: #d9941e; margin-top: 3px; }
.cp-ai-notice p { margin: 0; }
.cp-ai-notice b { color: #8a5a0f; font-weight: 700; }
@media (max-width: 640px) { .cp-ai-notice { border-radius: 10px; padding: 9px 12px; font-size: 12px; } }

/* ================= AI 配图（slide.img 三链路） ================= */
.cp-slide-wrap { position: relative; width: 1280px; height: 720px; }
.cp-slide-root.cp-has-img { padding-right: 442px !important; }
.cp-slide-img { position: absolute; right: 60px; top: 80px; width: 346px; height: 560px; margin: 0; border-radius: 14px; overflow: hidden; box-sizing: border-box; border: 4px solid rgba(255, 255, 255, .88); box-shadow: 0 12px 32px rgba(15, 35, 60, .3); background: #e8eef6; }
.cp-slide-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cp-btn-img { position: relative; }
.cp-btn-img.busy { opacity: .6; pointer-events: none; }
.cp-btn-img.busy::after { content: ''; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border: 2px solid rgba(255, 255, 255, .5); border-top-color: #fff; border-radius: 50%; animation: cpVidSpin .7s linear infinite; }
.cp-img-del { border: none; background: none; color: #9aa7b8; font-size: 15px; line-height: 1; padding: 4px 6px; cursor: pointer; border-radius: 6px; }
.cp-img-del:hover { color: #e5484d; background: #fdecec; }
/* ---- AI 配图进度浮层 ---- */
#cp-img-prog { position: fixed; right: 14px; bottom: 68px; z-index: 99990; display: none; align-items: center; gap: 10px; width: 286px; padding: 12px 14px; background: rgba(23, 32, 48, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 14px; box-shadow: 0 12px 32px rgba(10, 20, 40, 0.35); color: #fff; opacity: 0; transform: translateY(8px); transition: opacity 0.25s ease, transform 0.25s ease; }
#cp-img-prog.show { display: flex; opacity: 1; transform: translateY(0); }
#cp-img-prog .cip-load { flex: none; width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, 0.25); border-top-color: #5ec7f7; border-radius: 50%; animation: cpVidSpin 0.9s linear infinite; }
#cp-img-prog .cip-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
#cp-img-prog .cip-main b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#cp-img-prog .cip-main i { font-style: normal; font-size: 11px; color: rgba(255, 255, 255, 0.62); }
#cp-img-prog .cip-pct { flex: none; font-size: 12px; font-weight: 700; color: #5ec7f7; font-variant-numeric: tabular-nums; }
#cp-img-prog .cip-bar { position: absolute; left: 12px; right: 12px; bottom: 5px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
#cp-img-prog .cip-bar i { display: block; height: 100%; width: 0; border-radius: 2px; background: linear-gradient(90deg, #3ea8e8, #5ec7f7); transition: width 0.45s ease; }
/* ---- AI 配图横版（16:9 大图右侧，与 PPTX builder h 模式 EMU 对齐） ---- */
.cp-slide-root.cp-has-img.cp-img-h { padding-right: 711px !important; }
.cp-slide-img.is-v { right: 60px; top: 80px; width: 346px; height: 560px; }
.cp-slide-img.is-h { right: auto; left: 615px; top: 189px; width: 615px; height: 346px; }
/* ---- 风格选择：迷你封面缩略图（还原真实封面版式，看图即知风格） ---- */
.cs-mock { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--mbg); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04); }
.cs-mock .cm-ring { position: absolute; right: -16%; top: -52%; width: 54%; aspect-ratio: 1; border: 9px solid var(--mring); border-radius: 50%; }
.cs-mock .cm-ring2 { position: absolute; left: -13%; bottom: -42%; width: 40%; aspect-ratio: 1; background: var(--mring); border-radius: 50%; opacity: 0.5; }
.cs-mock .cm-tag { position: absolute; left: 50%; top: 17%; transform: translateX(-50%); display: flex; align-items: center; gap: 3px; font-size: 8px; font-weight: 700; letter-spacing: 1px; color: var(--mtag); line-height: 1; }
.cs-mock .cm-tag::before, .cs-mock .cm-tag::after { content: ''; width: 8px; height: 1px; background: var(--mtag); }
.cs-mock .cm-t1 { position: absolute; left: 14%; right: 14%; top: 38%; height: 12%; border-radius: 2px; background: var(--mink); }
.cs-mock .cm-t2 { position: absolute; left: 22%; right: 22%; top: 57%; height: 6%; border-radius: 2px; background: var(--msub); }
.cs-mock .cm-line { position: absolute; left: 14%; right: 14%; top: 73%; height: 1px; background: var(--msub); opacity: 0.5; }
.cs-mock .cm-foo1 { position: absolute; left: 27%; top: 81%; width: 15%; height: 5%; border-radius: 2px; background: var(--msub); opacity: 0.75; }
.cs-mock .cm-foo2 { position: absolute; left: 47%; top: 81%; width: 9%; height: 5%; border-radius: 2px; background: var(--msub); opacity: 0.5; }
.cs-mock.mini { width: 26px; flex: none; border-radius: 4px; align-self: center; }
.cs-mock.mini .cm-ring { border-width: 3px; }
.cs-mock.mini .cm-tag, .cs-mock.mini .cm-t2, .cs-mock.mini .cm-line, .cs-mock.mini .cm-foo1, .cs-mock.mini .cm-foo2 { display: none; }
.cs-mock.mini .cm-t1 { top: 40%; height: 14%; }
/* 表单风格卡：缩略图在上，名称/提示在下 */
.cppt-style-card .cs-mock { margin-bottom: 8px; }
.cppt-style-card.sel .cs-mock { box-shadow: 0 0 0 2px var(--cppt-accent, #2563eb), inset 0 0 0 1px rgba(0, 0, 0, 0.04); }
/* 工作台 chips：mini 缩略图 + 文字 */
/* ================= PDF 已有课件路径 ================= */
.cppt-tabs { display: flex; gap: 0; border: 1px solid #e3e8f1; border-radius: 12px; background: #f4f6fa; padding: 4px; margin-bottom: 14px; }
.cppt-tab { flex: 1; appearance: none; border: 0; background: transparent; border-radius: 9px; padding: 9px 6px; text-align: center; cursor: pointer; transition: background .15s, box-shadow .15s; }
.cppt-tab b { display: block; font-size: 14px; color: #5c6a83; font-weight: 600; }
.cppt-tab i { display: block; font-style: normal; font-size: 11px; color: #93a0b5; margin-top: 2px; }
.cppt-tab.on { background: #fff; box-shadow: 0 2px 8px rgba(24, 39, 75, .12); }
.cppt-tab.on b { color: #1d2a44; }
.cppt-panel { min-width: 0; }
.cppt-panel.hide { display: none; }
.cppt-pdf-drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1.6px dashed #b9c6dd; border-radius: 12px; background: #f8fafd; padding: 22px 14px; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.cppt-pdf-drop:hover { border-color: #2563eb; background: #f2f6ff; }
.cppt-pdf-drop.ok { border-color: #2f9e6e; background: #f3fbf7; }
.cppt-pdf-drop b { font-size: 14px; color: #1d2a44; word-break: break-all; }
.cppt-pdf-drop i { font-style: normal; font-size: 12px; color: #8a97ac; }
.cppt-pdf-drop svg { color: #2563eb; }
.cppt-pdf-drop.ok svg { color: #2f9e6e; }
.cppt-pdf-hint { margin-top: 10px; border: 1px solid #f2e3bd; background: #fdf8ec; border-radius: 10px; padding: 10px 12px; }
.cppt-pdf-hint b { display: block; font-size: 12.5px; color: #8a6116; line-height: 1.5; }
.cppt-pdf-hint i { display: block; font-style: normal; font-size: 12px; color: #a1864c; line-height: 1.55; margin-top: 3px; }
.cppt-pdf-hint .cppt-pdf-hint-priv { color: #8a97ac; margin-top: 5px; }
.cppt-pdf-state { display: flex; align-items: center; gap: 7px; font-size: 12.5px; margin: 10px 2px 0; }
.cppt-pdf-state.ok { color: #2f7d54; }
.cppt-pdf-state.err { color: #d64541; }
.cppt-pdf-state.busy { color: #2563eb; }
.cppt-pdf-spin { width: 13px; height: 13px; flex: none; border-radius: 50%; border: 2px solid #c7d7f5; border-top-color: #2563eb; animation: cppt-spin .8s linear infinite; }
@keyframes cppt-spin { to { transform: rotate(360deg); } }
.cppt-pdf-ico { color: #2563eb; }
/* PDF 舞台：原页图 1280×720 contain，深色底衬 4:3 老课件留边 */
.cp-stage-inner.is-pdf, .cp-thumb-inner.is-pdf { background: #0b1020; }
.cp-pdf-page { display: block; width: 1280px; height: 720px; object-fit: contain; background: #0b1020; user-select: none; }
.cp-thumb-pdf-img { display: block; width: 1280px; height: 720px; object-fit: contain; background: #0b1020; user-select: none; }
/* PDF 读取进度：进度条样式（替代单行文字，页数多也能看清） */
.cppt-pdf-state.is-prog { display: block; border: 1px solid #dbe6fb; background: #f3f7ff; border-radius: 10px; padding: 10px 12px; margin: 10px 2px 0; }
.cppt-pdf-prog-row { display: flex; align-items: center; gap: 8px; }
.cppt-pdf-prog-row b { font-size: 12.5px; color: #2563eb; font-weight: 600; white-space: nowrap; overflow: visible; text-overflow: clip; }
.cppt-pdf-prog-row span { margin-left: auto; font-size: 12px; color: #2563eb; font-variant-numeric: tabular-nums; flex: none; }
.cppt-pdf-track { height: 6px; border-radius: 99px; background: #dfe8fa; margin-top: 8px; overflow: hidden; }
.cppt-pdf-fill { height: 100%; width: 0%; border-radius: 99px; background: linear-gradient(90deg, #5b8def, #2563eb); transition: width .25s ease; }
/* 口播稿文本框：可纵向拉高，记住习惯高度 */
.cp-script-item textarea[data-cppt="script"] { resize: vertical; min-height: 200px; max-height: 60vh; line-height: 1.7; }
.cp-script-ta { resize: vertical; max-height: 50vh; }

/* ================= 口播稿栏视觉精修（20260916opt11） ================= */
/* 合成按钮渐变柔化：去深蓝打头，左蓝右青平滑过渡，消除生硬色块接缝 */
.cp-genall-hero { background: linear-gradient(100deg, #2f7cf6 0%, #35a0ea 52%, #43c9dd 100%); }
/* 口播稿编辑框：统一精致边框、焦点态、细滚动条 */
.cp-script-item textarea[data-cppt="script"] { border: 1px solid #d8e0ed; border-radius: 12px; background: #fff; padding: 12px 14px; font-size: 13.5px; line-height: 1.7; box-shadow: inset 0 1px 2px rgba(28, 38, 64, .04); scrollbar-width: thin; }
.cp-script-item textarea[data-cppt="script"]:focus { border-color: #2f7cf6; box-shadow: 0 0 0 3px rgba(47, 124, 246, .12); }
.cp-script-item textarea[data-cppt="script"]::placeholder { color: #aab3c2; }
.cp-script-item textarea[data-cppt="script"]::-webkit-scrollbar { width: 6px; }
.cp-script-item textarea[data-cppt="script"]::-webkit-scrollbar-thumb { background: #d8e0ed; border-radius: 999px; background-clip: padding-box; }
/* 禁用态视频按钮：改浅灰底灰字，与周围白底按钮协调，不再突兀 */
.cp-btn-dark:disabled { background: #f1f3f8; color: #b3bcc9; opacity: 1; box-shadow: none; }
.cp-btn-dark:disabled .cp-vbtn-load { border-color: rgba(90, 100, 120, .22); border-top-color: #9aa4bc; }
/* 提示文字留白 */
.cp-genall-hero { margin: 4px 0 12px; }
.cp-si-hint { font-size: 11.5px; color: #a8b1c0; margin: 9px 2px 0; line-height: 1.55; }
.cp-video-wait, .cp-video-ready { margin: 10px 0 0; border-radius: 12px; }

/* ================= 口播稿栏简化（20260916opt12）：容器与文字减负 ================= */
/* 合成按钮：压成紧凑单行，去大块卡片感 */
.cp-genall-hero { padding: 9px 12px; gap: 10px; border-radius: 12px; box-shadow: 0 4px 12px rgba(47, 124, 246, .22); margin: 4px 0 12px; }
.cp-genall-hero .cp-gh-ico { flex: 0 0 32px; height: 32px; border-radius: 9px; }
.cp-genall-hero .cp-gh-ico svg { width: 17px; height: 17px; }
.cp-genall-hero .cp-gh-main b { font-size: 13.5px; letter-spacing: 0; }
.cp-genall-hero .cp-gh-badge { font-size: 11px; padding: 3px 9px; }
/* 列头：标题与计数更轻量 */
.cp-col.scriptcol .cp-col-h { padding: 10px 14px; }
/* 口播稿卡片去重后更透气 */
.cp-script-item textarea[data-cppt="script"] { font-size: 13.5px; }
.cp-si-hint { margin: 7px 2px 0; }
