*{box-sizing:border-box}body{margin:0;background:#f4f3ee;color:#253a36;font:15px/1.7 -apple-system,BlinkMacSystemFont,'PingFang SC',sans-serif}button,input,textarea,select{font:inherit}button{cursor:pointer;border:1px solid #d2dcd6;background:white;border-radius:9px;padding:10px 16px;color:inherit}button:hover{border-color:#267965;background:#eef6ef}button:disabled{opacity:.45;cursor:wait}aside{position:fixed;width:250px;inset:0 auto 0 0;background:#173e36;color:#eef4ea;padding:36px 24px;display:flex;flex-direction:column}.brand{font-size:29px;font-weight:650;letter-spacing:3px;margin-bottom:40px}.brand span{color:#dbb76f}.brand small{display:block;font-size:11px;font-weight:400;letter-spacing:2px;opacity:.65;margin-top:8px}aside label{font-size:12px;opacity:.6}aside select{background:#245047;color:white;border:1px solid #477065;margin:8px 0}aside button{background:transparent;color:inherit;border-color:#43665a;text-align:left}nav{display:grid;gap:10px;margin-top:32px}nav button{border:0;padding:14px 10px}nav button.active{background:#e8efdf;color:#224a3e;font-weight:600}.sidebottom{margin-top:auto;display:grid;gap:10px}.sidebottom p{font-size:12px;opacity:.55}main{margin-left:250px;padding:38px 48px;max-width:1700px}header{display:flex;justify-content:space-between;align-items:center}.eyebrow{font-size:11px;letter-spacing:2px;color:#748b80}h1{font-size:31px;letter-spacing:1px;margin:6px 0}header p{color:#78857e;margin:0}.primary{background:#24634f;color:white;border-color:#24634f}.primary:hover{background:#174c3b;color:white}.topline{display:flex;justify-content:space-between;align-items:center;margin:26px 0 10px}.topline select{max-width:550px}.topline span{color:#7f8e84;font-size:12px}.steps{display:flex;gap:12px;border-bottom:1px solid #d5ded5;padding-bottom:20px;margin:20px 0}.steps button{flex:1;background:transparent;border:0;color:#7f8e84}.steps button.active{background:#e1e9dc;color:#245940;font-weight:600}.grid{display:grid;grid-template-columns:330px 1fr;gap:24px}
/* 第四步：本篇依据在上、写文案在下，同一栏铺满，不再留空的左栏 */
.grid.gridFull{grid-template-columns:1fr}
.grid.gridFull>div{min-width:0}.panel{background:#fff;border:1px solid #e0e5dc;border-radius:16px;padding:24px;margin-bottom:20px}.panel h2{font-size:19px;margin:0 0 8px}.muted{color:#7d8981;font-size:13px}.asset{padding:12px 0;border-bottom:1px solid #edf0e9}.asset label{display:flex;gap:8px;word-break:break-all;font-size:13px}audio,video{width:100%;max-height:230px;margin-top:10px}img{max-width:100%;max-height:200px;object-fit:contain}textarea,input:not([type=checkbox]),select{border:1px solid #d8e0d5;background:#fbfcf8;border-radius:8px;padding:12px;width:100%;color:#263f34}textarea{resize:vertical;min-height:150px;line-height:1.9}textarea.long{min-height:330px}label.field{display:block;margin:17px 0 7px;font-size:13px;font-weight:600}.actions{display:flex;gap:12px;align-items:center;margin-top:18px;flex-wrap:wrap}#notice{color:#934d26;background:#fff1db;border-radius:8px;padding:0 14px}#notice:not(:empty){padding:12px 14px}.tag{font-size:11px;background:#edf1e6;color:#547047;padding:4px 9px;border-radius:20px}.quote{border-left:3px solid #c9aa67;padding:8px 16px;background:#f8f6ef;white-space:pre-wrap}.empty{padding:48px 20px;text-align:center;color:#78857e}.theme{border:1px solid #dce5d6;padding:22px;border-radius:12px;margin:15px 0}.theme.selected{border:2px solid #34785d;background:#f2f6ee}dialog{border:0;border-radius:18px;padding:30px;width:min(680px,90vw);max-height:88vh;overflow:auto;box-shadow:0 20px 80px #1235}dialog::backdrop{background:#102f2970}pre{white-space:pre-wrap;font:inherit}#close{margin-top:18px}.quiet{font-size:13px}.alert{color:#9a6525;background:#fff6e5;padding:12px;border-radius:8px}@media(max-width:950px){aside{width:200px;padding:24px 16px}main{margin-left:200px;padding:24px}.grid{grid-template-columns:1fr}.steps{flex-wrap:wrap}}@media(max-width:650px){aside{position:static;width:auto}.sidebottom{display:flex}nav{margin:12px 0}main{margin:0;padding:20px}.brand{margin-bottom:12px}header{display:block}header button{margin-top:15px}}

/* 删除类按钮：统一的危险动作样式 */
.danger{font-size:13px;background:#fff1f0;color:#b3261e;border:1px solid #f3b8b3;border-radius:8px;padding:6px 10px;cursor:pointer}
.danger:hover{background:#ffe3e0}
.danger.small{font-size:12px;padding:3px 8px;margin-left:8px}
.deleteAsset{font-size:12px;padding:3px 8px;margin-left:8px;color:#b3261e;border:1px solid #f3b8b3;background:#fff1f0;border-radius:6px;cursor:pointer}
.asset .tag[data-status]{opacity:.9}

/* 六步流程新增样式 */
.digestItem{border-left:3px solid #c9aa67;padding:6px 14px;margin:10px 0;background:#faf9f3;border-radius:0 8px 8px 0}
.digestItem p{margin:4px 0}
.mainline{border:2px solid #34785d;background:#f2f6ee;border-radius:12px;padding:16px;margin:16px 0}
.mainline h3{margin:6px 0}
.beat{border:1px solid #dce5d6;border-radius:10px;padding:12px 16px;margin:10px 0}
.beat p{margin:6px 0}
/* 第25波：A 轨 / B 轨 左右两列（正文已铺满整页，每列约 560px 够放按钮+播放器） */
.dual{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:14px;align-items:start}
.dual>.trackA,.dual>.trackB{min-width:0}
.trackA,.trackB{border-radius:12px;padding:14px}
.trackA{background:#eef6ef;border:1px solid #cfe3d2}
.trackB{background:#fdf8ef;border:1px solid #ece0c8}
.trackA h4,.trackB h4{margin:0 0 10px;font-size:14px}
.line{border-bottom:1px dashed #dde3d9;padding:8px 0}
.line p{margin:2px 0}
@media(max-width:950px){.dual{grid-template-columns:1fr}}
/* 中小屏（1000~1250）两列会挤，B 轨播放器被压窄 → 这时也改为上下 */
@media(max-width:1250px){.dual{grid-template-columns:1fr}}

/* 七条界面需求（2026-11-11）*/
.beatHead{font-weight:700;font-size:15px;margin:8px 0 2px;color:#1d3d34}
.beatBody{margin:2px 0 8px;padding-left:12px;border-left:3px solid #c9aa67;color:#33463f}
.coverGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin-top:12px}
.coverCard{border:1px solid #e0e5dc;border-radius:10px;padding:8px;text-align:center;background:#fbfcf8}
.coverCard img{width:100%;height:110px;object-fit:cover;border-radius:6px;display:block;margin-bottom:6px}
#audioBox audio,#audioBox video{width:100%;margin-top:10px}

/* 核对面板：一行一处，填完回车 */
.revBox{margin:14px 0}
.revRow{border-top:1px dashed #e3d3b4;padding:10px 0}
.revRow:first-of-type{border-top:0}
.revText{font-size:13px;line-height:1.7;color:#6b5730;margin-bottom:6px}
.revLine input{max-width:420px}

/* 核对面板紧凑版 */
.revBox{padding:12px 16px}
.revBox>.muted{display:inline}
.revRow{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:6px 0;border-top:1px dashed #e8dcc2}
.revRow:first-of-type{border-top:0}
.revChip{background:#fff;border:1px solid #e8d7ae;border-radius:6px;padding:2px 8px;font-size:13px;color:#8a5a12;white-space:nowrap}
.revArrow{color:#b99349}
.revRow input{width:200px;padding:6px 10px}
.revWhy{margin-left:auto;font-size:12px}
.revWhy summary{color:#8a7a5c;cursor:pointer}

/* 素材时间轴 */
.scrub{display:flex;align-items:center;gap:10px;margin:6px 0 2px}
.scrubBar{flex:1;accent-color:#24634f;cursor:pointer}
.scrubTime{font-size:12px;color:#7d8981;font-variant-numeric:tabular-nums;min-width:80px;text-align:right}
/* 核对项：可点跳原声 */
.revLoc{font-size:12px;background:#eef6ef;border:1px solid #cfe3d2;color:#1f5b47;border-radius:20px;padding:2px 10px;white-space:nowrap;cursor:pointer}
.revLoc:hover{background:#dcefdf;border-color:#9dc7a6}
/* 整页拖入提示 */
#dropzone{position:fixed;inset:0;background:#173e36d9;color:#fff;display:none;place-items:center;font-size:22px;letter-spacing:2px;z-index:99;pointer-events:none}
#dropzone.on{display:grid}
.revChip.noFind{background:#fff1f0;border-color:#f3b8b3;color:#b3261e}
.playHint{margin:6px 0 0;font-size:12px;color:#b3261e;line-height:1.6}
.playHint:empty{display:none}
/* 核对面板可收起 */
details.revBox{padding:12px 16px}
details.revBox>summary{cursor:pointer;list-style:none;display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}
details.revBox>summary::-webkit-details-marker{display:none}
details.revBox>summary::before{content:'▸';color:#b99349;transition:transform .15s;display:inline-block;margin-right:2px}
details.revBox[open]>summary::before{transform:rotate(90deg)}

/* 历史创作横条：每条带 × 删除 */
.histBar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;flex:1;min-width:0}
.histLabel{font-size:12px;color:#7f8e84;white-space:nowrap}
.histList{display:flex;gap:8px;flex-wrap:nowrap;min-width:0;align-items:center}
.histSel{max-width:230px;text-overflow:ellipsis;font-size:13px;padding:6px 10px;border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:#fff;color:#1d3d34;cursor:pointer}
.histSel:focus{outline:2px solid rgba(185,145,70,.45);outline-offset:1px}
.histSel option{background:#fff;color:#1d3d34}
.histCount{font-size:12px;color:var(--muted);white-space:nowrap}
.histChip{display:inline-flex;align-items:center;gap:4px;background:#fff;border:1px solid #d5ded5;border-radius:20px;padding:4px 6px 4px 12px;font-size:13px;cursor:pointer;max-width:260px}
.histChip:hover{border-color:#267965;background:#eef6ef}
.histChip.active{background:#e1e9dc;border-color:#245940;font-weight:600}
.histName{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.histDel{border:0;background:transparent;color:#b3261e;font-size:16px;line-height:1;padding:0 4px;border-radius:50%;cursor:pointer}
.histDel:hover{background:#fff1f0}
/* 用户已有素材选择 */
.refTabs{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 12px}
.refTabs button{flex:1;min-width:160px;background:#fff;border:1px solid #d5ded5;border-radius:10px;padding:11px 12px;font-size:14px;color:#4d6259}
.refTabs button:hover{border-color:#267965;background:#f2f8f3}
.refTabs button.active{background:#e1e9dc;border-color:#245940;color:#174c3b;font-weight:700}
.refPane{border:1px solid #dce5d6;background:#fafbf7;border-radius:12px;padding:14px 16px;display:flex;flex-direction:column;gap:8px}
.refPane p{margin:0}
.dropZone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center;border:2px dashed #b9cbbc;border-radius:12px;background:#fff;padding:26px 16px;cursor:pointer;transition:.15s}
.dropZone:hover{border-color:#267965;background:#f4f9f5}
.dropZone.over{border-color:#24634f;background:#e8f3ea;transform:scale(1.01)}
.dropZone b{font-size:15px;color:#1d3d34}
.dropZone input[type=file]{display:none}
.dropZone .muted{font-size:12px}
.refEntrances{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;margin:16px 0}
.refCard{border:1px solid #dce5d6;background:#fafbf7;border-radius:12px;padding:14px 16px;display:flex;flex-direction:column;gap:6px}
.refCardTitle{font-weight:700;font-size:14px;color:#1d3d34}
.refCard p{margin:0}
.refCard input[type=file]{font-size:12px;padding:8px;background:#fff}
.refWild{display:flex;gap:8px;flex-wrap:wrap;margin:6px 0 2px}
.refWild button{flex:1;min-width:130px;text-align:center;background:#fff;border:1px solid #d5ded5;border-radius:10px;padding:9px 10px;font-size:13px;line-height:1.5}
.refWild button.active{background:#e1e9dc;border-color:#245940;color:#174c3b;font-weight:700}
.refWild button .muted{font-size:11px;font-weight:400;display:block}
.refWild.refDur button{font-size:13px;font-weight:600;padding:10px 8px}
.dupReport{margin-top:14px;border-radius:10px;padding:12px 16px;font-size:13px;line-height:1.7;border:1px solid #d8e0d5;background:#f7f9f4}
.dupReport.ok{background:#eef6ef;border-color:#cfe3d2;color:#1f5b47}
.dupReport.warn{background:#fff8e8;border-color:#efd9a8;color:#8a5a12}
.dupReport ul{margin:8px 0 6px;padding-left:20px}
.dupReport li{margin:3px 0}
.refResumeBox{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap;border:1px solid #cfdcd2;background:#f3f8f4;border-radius:12px;padding:12px 16px;margin:12px 0}
.refResumeBox b{color:#1d3d34;font-size:14px}
.refResumeBox .muted{font-size:12px;line-height:1.6}
.refResumeBox button{white-space:nowrap}
.refStatus{border-radius:10px;padding:12px 14px;margin:10px 0;font-size:13px;line-height:1.7;border:1px solid #d8e0d5;background:#f7f9f4}
.refStatus.run{background:#fff8e8;border-color:#efd9a8;color:#8a5a12}
.refStatus.ok{background:#eef6ef;border-color:#cfe3d2;color:#1f5b47}
.refStatus.err{background:#fff1f0;border-color:#f3b8b3;color:#b3261e}
.libBox{margin-top:14px;border-top:1px dashed #e0e5dc;padding-top:10px}
.libBox summary{cursor:pointer;font-size:13px;color:#267965}
.libItem{padding:8px 0;border-bottom:1px solid #f0f3ec}

/* 素材卡片重排：名称一行、标签在右、删除按钮靠右上，播放器全宽 */
.asset{padding:14px 0;border-bottom:1px solid #edf0e9;position:relative}
.assetHead{display:flex;align-items:flex-start;gap:6px;flex-wrap:wrap;padding-right:26px}
.assetName{display:flex;gap:7px;align-items:flex-start;flex:1 1 auto;min-width:0;font-size:13px;line-height:1.5;word-break:break-all;cursor:pointer}
.assetName input{margin-top:3px;flex:none}
.assetTags{display:flex;gap:6px;flex-wrap:wrap;flex:none}
.tag.ok{background:#e4f4e6;color:#1f6b3a;border:1px solid #bfe3c6}
.asset .deleteAsset{position:absolute;top:12px;right:0;width:22px;height:22px;padding:0;font-size:15px;line-height:20px;text-align:center;color:#b3261e;border:1px solid #f0ccc9;background:#fff;border-radius:50%;cursor:pointer;margin:0}
.asset .deleteAsset:hover{background:#ffe3e0}
.assetActions{margin-top:8px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.assetPreview{margin:0;font-size:12px;opacity:.8;flex:1 1 200px;min-width:0}
.asset video{max-height:170px;border-radius:8px;background:#000}
.asset audio{width:100%}
.asset .libBox,.libBox{margin-top:16px;border-top:1px dashed #e0e5dc;padding-top:10px}
.libBox summary{cursor:pointer;font-size:13px;color:#267965;font-weight:600}


/* 顶部创作名称栏：与历史创作并排 */
.topline{gap:18px;flex-wrap:wrap}
.nameBar{display:flex;align-items:center;gap:9px;flex:0 1 460px;min-width:240px}
.nameInput{flex:1;min-width:0;padding:8px 12px!important;font-size:15px;font-weight:600;border-radius:9px;background:#fff;border:1px solid #c9d8c6}
.nameInput:disabled{opacity:.5}
@media(max-width:950px){.nameBar{flex:1 1 100%}}


/* 合成一条完整稿 */
.mixBox{margin:16px 0;border:1px solid #cfe3d2;background:#f8fbf7;border-radius:12px;padding:12px 16px}
.mixBox>summary{cursor:pointer;font-size:14px;color:#1f5b47;font-weight:700;list-style:none}
.mixBox>summary::-webkit-details-marker{display:none}
.mixBox>summary::before{content:'▸';color:#7aa88c;margin-right:4px;display:inline-block}
.mixBox[open]>summary::before{transform:rotate(90deg)}
.mixActions{display:flex;gap:8px;margin:8px 0 4px}
.mixBlock{border-top:1px dashed #dce8d8;padding:10px 0}
.mixBlock:first-of-type{border-top:0}
.mixNarr{margin:6px 0;color:#3c5449;line-height:1.8}
.mixNarr::before{content:attr(data-track-label) ' · ';font-size:11px;color:#8aa89a;letter-spacing:1px}
.mixHook{margin:6px 0;font-weight:600;color:#1d3d34;line-height:1.7}
.mixHook::before{content:attr(data-track-label) ' · ';font-size:11px;color:#c0934a;letter-spacing:1px;font-weight:400}
.mixPlain{margin-top:8px;min-height:150px;background:#fff}

.headBtns{display:flex;gap:8px;align-items:flex-start}
.multiWin{font-size:12px;color:#8a5a00;background:#fff8e6;border:1px solid #f0dca8;border-radius:20px;padding:2px 10px;display:none}
.multiWin.on{display:inline-block}

.analysis{white-space:normal;line-height:1.75;background:#fbfaf4;border:1px solid #e6e0cc;border-radius:10px;padding:14px 16px;margin:10px 0}
.analysis br{line-height:2}

.voiceBar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:6px}
.voiceBar audio{height:32px;max-width:260px}
.voiceBar .muted{font-size:12px}
.voicePick{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 10px;font-size:13px}
.voicePick label{font-weight:600;color:#555}
.voicePick select{max-width:220px;padding:5px 8px}
.voicePick #voiceHint{font-size:12px}
.vlist{display:flex;flex-direction:column;gap:10px;margin-top:8px;max-height:46vh;overflow:auto;padding-right:4px}
.vcard{border:1px solid #e5e8e2;border-radius:10px;background:#fbfcfa;padding:12px 14px;display:flex;flex-direction:column;gap:8px}
.vcard.isDefault{border-color:#c9aa67;background:#fffdf5}
.vcard.isCurrent{border-color:#34785d;box-shadow:0 0 0 1px #34785d inset}
.vhead{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.vhead b{font-size:15px}
.vtag{font-size:11px;padding:2px 8px;border-radius:20px;line-height:1.6}
.vtag.def{background:#c9aa67;color:#fff}
.vtag.cur{background:#34785d;color:#fff}
.vmuted{font-size:12px;color:#8a978e;margin-left:auto}
.vcard audio{height:34px;width:100%;max-width:none}
.vacts{display:flex;gap:8px;flex-wrap:wrap}
.vacts button{font-size:13px;padding:7px 12px}
.muted.ok{color:#2c7a55}
.muted.warn{color:#a35a1c}
.voiceLibNav{margin-top:14px;display:flex;align-items:center;gap:9px;background:#245047;border:1px solid #477065;color:#eef4ea;text-align:left;font-weight:600}
.voiceLibNav:hover{background:#2d6357;border-color:#5f8a7c}
.voiceLibNav .vlIcon{color:#dbb76f;font-size:16px;line-height:1}
.voiceLibNav small{margin-left:auto;font-size:11px;font-weight:400;opacity:.6}
.vtabs{display:flex;gap:8px;margin:4px 0 14px;border-bottom:1px solid #e5e8e2;padding-bottom:10px}
.vtab{background:transparent;border:1px solid #d7e0d4;border-radius:20px;padding:7px 16px;font-size:14px;color:#4d625a}
.vtab.on{background:#24634f;border-color:#24634f;color:#fff;font-weight:600}
.vmeta{font-size:12px;color:#8a978e}
.vcard.arch{background:#faf8f3;border-style:dashed}
.vtag.del{background:#b9a98a;color:#fff}
.hlist{display:flex;flex-direction:column;gap:6px;max-height:38vh;overflow:auto;margin-top:8px}
.hrow{display:grid;grid-template-columns:130px 70px 1fr;gap:10px;font-size:13px;padding:6px 8px;border-bottom:1px solid #f0f0ec}
.hrow span:first-child{color:#8a978e}
.vcount{font-size:13px;color:#5a6b62;margin:2px 0 8px}
.vcount b{color:#24634f;font-size:15px}
.vtoast{padding:12px 16px;border-radius:10px;font-size:14px;margin:0 0 12px;font-weight:600}
.vtoast.ok{background:#e6f5ec;color:#1e6b47;border:1px solid #b9e0c8}
.vcard.justAdded{animation:flashAdd 1.6s ease}
@keyframes flashAdd{0%{box-shadow:0 0 0 3px #56b98a;background:#eafaf0}100%{box-shadow:none}}
.voiceLibNav.voiceDropHint{background:#2d7a62;border-color:#7fd3ad;box-shadow:0 0 0 2px #7fd3ad inset}

/* ============================================================
   设计层 v20261113i —— 视觉统一：色板 / 字阶 / 节奏 / 控件
   只覆盖观感，不动结构与行为
   ============================================================ */
:root{
  --paper:#F7F5EF;      /* 页面底色 */
  --card:#FFFFFF;
  --ink:#172824;
  --ink-2:#3C4E47;
  --muted:#75847C;
  --line:#E4E3D9;
  --line-strong:#D3D3C6;
  --forest:#12453A;
  --forest-deep:#0E352C;
  --forest-soft:#EDF2EA;
  --gold:#B99146;
  --gold-soft:#FBF6EA;
  --radius-lg:18px;
  --radius:12px;
  --radius-sm:9px;
  --shadow-sm:0 1px 2px rgba(23,40,36,.05);
  --shadow:0 8px 28px -18px rgba(23,40,36,.45);
  --shadow-lg:0 26px 70px -34px rgba(23,40,36,.5);
}

html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
body{
  background:
    radial-gradient(1200px 520px at 100% -220px, #FBF9F3 0%, rgba(251,249,243,0) 70%),
    var(--paper);
  color:var(--ink);
  font:15px/1.72 -apple-system,BlinkMacSystemFont,'PingFang SC','Helvetica Neue',sans-serif;
  letter-spacing:.1px;
}

/* ---------- 侧栏 ---------- */
aside{
  width:264px;padding:34px 22px 26px;
  background:linear-gradient(180deg,#123B32 0%,#0E2E27 100%);
  border-right:1px solid rgba(0,0,0,.25);
  box-shadow:1px 0 0 rgba(255,255,255,.04) inset;
}
aside .brand{font-size:26px;font-weight:600;letter-spacing:.16em;margin-bottom:6px}
aside .brand span{color:var(--gold)}
aside .brand small{letter-spacing:.14em;font-size:10px;opacity:.5;margin-top:9px}
aside>label{
  display:block;margin-top:22px;font-size:11px;letter-spacing:.18em;
  text-transform:uppercase;color:#9DB3A9;opacity:1;
}
aside select{
  -webkit-appearance:none;appearance:none;
  background-color:#1d4a40;
  background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23dbb76f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 12px center;
  color:#F4F7F2;border:1px solid rgba(255,255,255,.18);border-radius:var(--radius-sm);
  margin:9px 0 0;padding:10px 34px 10px 12px;color-scheme:dark;
}
aside select:hover{background-color:#245a4d;border-color:rgba(185,145,70,.5)}
aside select option{background:#1d4a40;color:#EAF2EC}
aside select:focus{outline:2px solid rgba(185,145,70,.55);outline-offset:1px}
aside button#addClient{
  margin-top:10px;width:100%;font-size:13px;color:#BCD0C6;
  border:1px dashed rgba(255,255,255,.22);border-radius:var(--radius-sm);padding:9px 12px;
}
aside button#addClient:hover{background:rgba(255,255,255,.07);border-color:rgba(185,145,70,.6);color:#fff}

nav{gap:4px;margin-top:30px}
nav button{
  border:0;border-radius:var(--radius-sm);padding:13px 14px;
  color:#C3D4CB;font-size:14.5px;letter-spacing:.02em;
  border-left:2px solid transparent;
}
nav button:hover{background:rgba(255,255,255,.06);color:#fff}
nav button.active{
  background:rgba(255,255,255,.10);color:#fff;font-weight:600;
  border-left-color:var(--gold);border-radius:0 var(--radius-sm) var(--radius-sm) 0;
}
.voiceLibNav{
  margin-top:16px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.13);
  border-radius:var(--radius-sm);color:#DDE8E2;padding:11px 13px;font-weight:500;font-size:14px;
}
.voiceLibNav:hover{background:rgba(185,145,70,.16);border-color:rgba(185,145,70,.5);color:#fff}
.voiceLibNav small{opacity:.5}
.sidebottom{gap:6px}
.sidebottom button{
  font-size:13.5px;color:#B9CCC3;border-color:transparent;padding:10px 12px;
  border-radius:var(--radius-sm);
}
.sidebottom button:hover{background:rgba(255,255,255,.06);color:#fff;border-color:transparent}
.sidebottom p{font-size:11px;line-height:1.7;opacity:.42;letter-spacing:.02em;margin:14px 0 0}

/* ---------- 主区 ---------- */
main{margin-left:264px;padding:34px 44px 90px;max-width:1660px}
header{align-items:flex-end;padding-bottom:2px}
.eyebrow{
  font-size:10.5px;letter-spacing:.24em;color:var(--gold);font-weight:600;
  display:inline-flex;align-items:center;gap:8px;
}
.eyebrow::before{content:'';width:22px;height:1px;background:currentColor;opacity:.5}
h1{font-size:29px;letter-spacing:.01em;margin:10px 0 4px;line-height:1.25;font-weight:650;color:#12231F}
header p{color:var(--muted);margin:0;font-size:14px}

/* ---------- 顶栏：创作名 / 历史 ---------- */
.topline{
  margin:24px 0 6px;padding:14px 18px;gap:20px;
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:var(--shadow-sm);align-items:center;
}
.histLabel{
  font-size:10.5px;letter-spacing:.18em;color:var(--muted);
  text-transform:uppercase;font-weight:600;white-space:nowrap;
}
.nameBar{gap:12px;flex:0 1 400px}
.nameInput{
  padding:9px 13px!important;font-size:15px;font-weight:600;border-radius:var(--radius-sm);
  background:#FCFCF9;border:1px solid var(--line-strong);
}
.nameInput:focus{background:#fff;border-color:var(--forest);outline:none;box-shadow:0 0 0 3px rgba(18,69,58,.10)}
#saveState{
  font-size:11.5px;color:var(--muted);padding:4px 10px;border-radius:20px;
  background:#F4F4EE;border:1px solid var(--line);white-space:nowrap;
}
.histChip{
  border-radius:20px;border:1px solid var(--line-strong);background:#fff;
  padding:4px 6px 4px 12px;font-size:12.5px;display:inline-flex;align-items:center;gap:6px;
}
.histChip.active{background:var(--forest-soft);border-color:#B9CDBF;color:var(--forest-deep);font-weight:600}
.histDel{opacity:.35;border:0;background:transparent;padding:0 4px;font-size:14px;line-height:1}
.histChip:hover .histDel{opacity:.9}

/* ---------- 步骤条：真正的分段控件 ---------- */
.steps{
  display:flex;gap:0;border:1px solid var(--line);background:#fff;
  border-radius:var(--radius);padding:5px;margin:18px 0 4px;
  box-shadow:var(--shadow-sm);border-bottom:1px solid var(--line);overflow:hidden;
}
.steps button{
  flex:1;background:transparent;border:0;border-radius:var(--radius-sm);
  color:var(--muted);font-size:13.5px;padding:11px 8px;position:relative;
  transition:background .16s ease,color .16s ease;letter-spacing:.01em;
}
.steps button:hover{background:#F5F6F0;color:var(--ink-2)}
.steps button.active{
  background:var(--forest);color:#fff;font-weight:600;
  box-shadow:0 3px 12px -6px rgba(18,69,58,.8);
}
.steps button.active::after{
  content:'';position:absolute;left:50%;bottom:-6px;transform:translateX(-50%);
  border:5px solid transparent;border-top-color:var(--forest);
}
@media(max-width:1100px){.steps button{font-size:12.5px}}

/* ---------- 卡片 ---------- */
.panel{
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius-lg);
  padding:28px 30px;margin-bottom:18px;box-shadow:var(--shadow);
}
.panel h2{font-size:19px;letter-spacing:.01em;margin:0 0 6px;font-weight:650;color:#12231F}
.panel h3{font-size:15px;margin:22px 0 4px;letter-spacing:.01em}
.panel > .muted{font-size:13.5px;line-height:1.7;color:var(--muted)}

/* 字段：用发丝分隔，形成"分组"的阅读节奏 */
label.field{
  display:flex;align-items:baseline;gap:8px;margin:26px 0 9px;padding-top:18px;
  border-top:1px solid #EEEDE5;font-size:13px;font-weight:650;letter-spacing:.02em;color:var(--ink-2);
}
label.field::before{
  content:'';width:4px;height:4px;border-radius:50%;background:var(--gold);
  flex:0 0 auto;transform:translateY(-2px);
}

/* ---------- 输入 ---------- */
textarea,input:not([type=checkbox]),select{
  border:1px solid var(--line-strong);background:#FCFCF9;border-radius:var(--radius-sm);
  padding:13px 14px;color:var(--ink);font-size:14.5px;line-height:1.8;
  transition:border-color .15s,box-shadow .15s,background .15s;
}
textarea::placeholder{color:#A9B3AC}
textarea:focus,input:not([type=checkbox]):focus,select:focus{
  outline:none;background:#fff;border-color:var(--forest);
  box-shadow:0 0 0 3px rgba(18,69,58,.09);
}
textarea{min-height:150px}
textarea.long{min-height:340px}

/* ---------- 按钮 ---------- */
button{
  border:1px solid var(--line-strong);background:#fff;border-radius:var(--radius-sm);
  padding:10px 18px;color:var(--ink-2);font-size:14px;
  transition:background .15s,border-color .15s,color .15s,box-shadow .15s,transform .12s;
}
button:hover{background:#FBFAF5;border-color:#B4C4B8;color:var(--forest-deep)}
button:active{transform:translateY(.5px)}
button:focus-visible{outline:2px solid rgba(18,69,58,.45);outline-offset:2px}
.primary{
  background:var(--forest);border-color:var(--forest);color:#fff;font-weight:600;
  box-shadow:0 6px 18px -12px rgba(18,69,58,.95);
}
.primary:hover{background:var(--forest-deep);border-color:var(--forest-deep);color:#fff}
.primary:disabled{
  background:#DDE3DA;border-color:#DDE3DA;color:#8A968D;box-shadow:none;cursor:not-allowed;
}
.quiet{background:transparent;border-color:transparent;color:var(--muted)}
.quiet:hover{background:#F4F5EF;color:var(--ink-2);border-color:transparent}
.actions{margin-top:24px;gap:12px}
.actions .muted{font-size:12.5px}

/* ---------- 选项卡（第一步三入口 / 第二步二选一） ---------- */
.refTabs{gap:10px;margin:20px 0 14px}
.refTabs button{
  min-width:170px;border-radius:var(--radius);padding:13px 14px;font-size:14px;
  background:#FCFCF8;border:1px solid var(--line-strong);color:var(--ink-2);
}
.refTabs button:hover{background:#fff;border-color:#AEC0B4}
.refTabs button.active{
  background:var(--forest-soft);border-color:var(--forest);color:var(--forest-deep);
  font-weight:700;box-shadow:0 0 0 1px var(--forest) inset;
}
.refPane{
  border:1px solid var(--line);background:#FAFAF5;border-radius:var(--radius);
  padding:18px 20px;gap:10px;
}
.refPane p{font-size:13.5px;color:var(--ink-2)}

.dropZone{
  border:2px dashed #C6D2C8;background:#FDFDFA;border-radius:var(--radius);
  padding:34px 20px;gap:6px;transition:.18s;
}
.dropZone:hover{border-color:var(--forest);background:#F6FAF6}
.dropZone.over{border-color:var(--forest);background:var(--forest-soft);transform:none;box-shadow:0 0 0 4px rgba(18,69,58,.08) inset}
.dropZone b{font-size:15px;color:var(--ink)}

/* ---------- 选项组：等宽网格，视觉更像"选择"而不是"按钮堆" ---------- */
.refWild{gap:10px;margin:10px 0 2px;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
.refWild button{
  min-width:0;text-align:left;background:#FCFCF8;border:1px solid var(--line-strong);
  border-radius:var(--radius);padding:13px 15px;font-size:14px;font-weight:600;color:var(--ink-2);
  line-height:1.45;position:relative;
}
.refWild button:hover{background:#fff;border-color:#B2C3B7}
.refWild button .muted{
  display:block;margin-top:3px;font-size:11.5px;font-weight:400;color:var(--muted);line-height:1.5;
}
.refWild button.active{
  background:var(--forest-soft);border-color:var(--forest);color:var(--forest-deep);
  box-shadow:0 0 0 1px var(--forest) inset;
}
.refWild button.active::after{
  content:'✓';position:absolute;top:10px;right:12px;font-size:11px;color:var(--forest);
  font-weight:700;
}
.refWild button.active .muted{color:#5A7268}
.refWild.refDur button{font-size:14px;font-weight:600;text-align:center;padding:12px 8px}

/* ---------- 状态条 / 提示 ---------- */
#notice{
  border-radius:var(--radius-sm);font-size:13.5px;color:#8A5A12;
  background:var(--gold-soft);border:1px solid #EEDFBB;
}
#notice:not(:empty){padding:12px 16px;margin-top:14px}
/* C008-1 提示条吸附在屏幕顶部：滚到页面任何位置都看得见（原来在页面最上面，滚下去就看不见了） */
#notice:not(:empty){
  position:sticky;top:0;z-index:60;
  box-shadow:0 6px 18px rgba(20,50,42,.10);
}
#notice:empty{display:none}
/* C008-3 自动滚到结果时，给吸顶提示条留出高度，避免标题被盖住 */
html{scroll-padding-top:64px}
.alert{
  background:var(--gold-soft);border:1px solid #EEDFBB;color:#7E5416;
  border-radius:var(--radius-sm);font-size:13.5px;line-height:1.7;padding:13px 16px;
}
.quote{
  border-left:2px solid var(--gold);background:#FBF9F2;border-radius:0 var(--radius-sm) var(--radius-sm) 0;
  padding:12px 16px;font-size:13.5px;line-height:1.8;color:var(--ink-2);
}
.tag{
  background:var(--forest-soft);color:#3F6154;font-size:10.5px;letter-spacing:.06em;
  padding:3px 9px;border-radius:20px;font-weight:600;
}
.muted{color:var(--muted);font-size:13px}
.analysis{
  background:#FBF9F2;border:1px solid #E8E2CF;border-radius:var(--radius);
  padding:18px 20px;font-size:14px;line-height:1.95;color:var(--ink-2);
}
.dupReport{border-radius:var(--radius);padding:14px 18px;font-size:13.5px}

/* ---------- 弹窗 ---------- */
dialog{
  border-radius:var(--radius-lg);padding:34px;box-shadow:var(--shadow-lg);
  border:1px solid var(--line);background:#fff;
}
dialog::backdrop{background:rgba(12,34,29,.55);backdrop-filter:blur(3px)}
dialog h2{font-size:20px;margin:0 0 12px}

/* ---------- 滚动条 ---------- */
::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-thumb{background:#D6D9CE;border-radius:10px;border:3px solid transparent;background-clip:padding-box}
::-webkit-scrollbar-thumb:hover{background:#BFC6B8;background-clip:padding-box}
::-webkit-scrollbar-track{background:transparent}

/* ---------- 窄屏 ---------- */
@media(max-width:1200px){
  main{padding:28px 30px 80px}
  .panel{padding:24px}
}
@media(max-width:950px){
  aside{width:216px;padding:26px 16px}
  main{margin-left:216px;padding:24px 22px 80px}
  h1{font-size:25px}
}
@media(max-width:650px){
  aside{padding:20px 16px}
  main{margin:0;padding:18px 16px 70px}
  .topline{padding:12px 14px}
  .panel{padding:20px 18px;border-radius:14px}
  .steps{overflow-x:auto;flex-wrap:nowrap}
  .steps button{white-space:nowrap;flex:0 0 auto;padding:10px 14px}
  .refWild{grid-template-columns:1fr 1fr}
}

/* ---------- 版心与选项网格：定稿 ---------- */
main{padding:34px 40px 96px}
#workspace{max-width:1180px}
header,.topline,.steps{max-width:1180px}
@media(min-width:1500px){main{padding-left:56px}}

/* 六档目标：三列两行，读得清、点得准 */
.refWild.refGoal{grid-template-columns:repeat(3,1fr)}
.refWild.refPov{grid-template-columns:repeat(2,1fr);max-width:760px}
.refWild.refFit{grid-template-columns:repeat(3,1fr)}
.refWild.refDur{grid-template-columns:repeat(5,1fr);max-width:900px}
.refWild.refGoal button,.refWild.refPov button{padding:14px 16px}
@media(max-width:1180px){
  .refWild.refGoal{grid-template-columns:repeat(2,1fr)}
  .refWild.refDur{grid-template-columns:repeat(5,1fr)}
}
@media(max-width:760px){
  .refWild.refGoal,.refWild.refPov,.refWild.refFit{grid-template-columns:1fr 1fr}
  .refWild.refDur{grid-template-columns:repeat(3,1fr)}
}

/* 「谁来讲 / 贴多紧 / 放手程度」的说明行更好读 */
.refWild button .muted{letter-spacing:.01em}

/* 第四步：正文编辑区与报告 */
textarea.long{font-size:15px;line-height:1.95}
.dupReport{border:1px solid var(--line);background:#FAFAF5}
.dupReport.ok{background:#EFF6F1;border-color:#CBE0D2;color:#1C5A42}
.dupReport.warn{background:var(--gold-soft);border-color:#EEDFBB;color:#7C5312}

/* ---------- 创作名称下方的任务工具条（IP 资料状态 + 删除本条） ---------- */
.topline{align-items:flex-start}
.nameCol{display:flex;flex-direction:column;gap:9px;flex:0 1 460px;min-width:250px}
.nameCol .nameBar{flex:0 0 auto;width:100%}
.taskTools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-height:0}
.taskTools:empty{display:none}

.profChip{
  display:inline-flex;align-items:center;gap:7px;
  font-size:12.5px;letter-spacing:.01em;color:#5C6B63;
  background:#F4F5EF;border:1px solid var(--line);border-radius:20px;
  padding:5px 12px 5px 10px;white-space:nowrap;
}
.profChip i{
  width:6px;height:6px;border-radius:50%;background:#B9BEB4;flex:0 0 auto;
  box-shadow:0 0 0 3px rgba(185,190,180,.18);
}
.profChip.on{color:#2C5B47;background:var(--forest-soft);border-color:#CBE0D2}
.profChip.on i{background:#3C8562;box-shadow:0 0 0 3px rgba(60,133,98,.16)}

.taskDel{
  font-size:12.5px;padding:5px 12px;border-radius:20px;
  background:transparent;border:1px solid var(--line-strong);color:#8A938C;
}
.taskDel:hover{background:#FFF3F1;border-color:#F0BDB6;color:#A93A2C}

@media(max-width:950px){
  .nameCol{flex:1 1 100%}
}

/* 顶栏定稿：创作名称一行，资料状态+删除紧跟其下，左侧对齐成一体 */
.topline{align-items:center;gap:22px}
.nameCol{flex:0 0 auto;min-width:0;gap:8px}
.nameCol .nameBar{flex:0 0 auto;width:auto}
.nameCol .nameInput{width:328px}
.nameCol .taskTools{gap:8px;flex-wrap:nowrap}
@media(max-width:1250px){
  .nameCol .nameInput{width:260px}
}

/* 配音多版本候选 */
.vVarList{display:flex;flex-direction:column;gap:6px;margin-top:8px}
.vVar{display:flex;align-items:center;gap:8px;padding:6px 8px;border:1px solid #e5e8e2;border-radius:9px;background:#fbfcfa;flex-wrap:wrap}
.vVar.on{border-color:#34785d;background:#f0f7f3;box-shadow:0 0 0 1px #34785d inset}
.vVar audio{height:32px;flex:1;min-width:200px;max-width:none}
.vVarTag{font-size:12px;color:#5b6b60;white-space:nowrap}
.vVar.on .vVarTag{color:#1f6b45;font-weight:600}
.vVar button{font-size:12px;padding:5px 10px;white-space:nowrap}

/* 顶栏奖励：状态胶囊与删除按钮永不被挤压换行 */
.nameCol{flex:0 0 auto;width:max-content;max-width:100%}
.nameCol .nameBar{width:328px;flex:0 0 auto}
.nameCol .taskTools{width:max-content;flex-wrap:nowrap}
.profChip{flex:0 0 auto;white-space:nowrap}
.taskDel{flex:0 0 auto;white-space:nowrap}
@media(max-width:1250px){.nameCol .nameBar{width:290px}}

/* ===== 素材库（存在用户资料里） ===== */
.libPick{display:flex;align-items:center;gap:8px;font-size:13px;color:#5a7a6b;background:#f2f7ee;border:1px solid #dbe6d4;border-radius:20px;padding:5px 12px;width:max-content;margin-bottom:10px;cursor:pointer}
.libPick input{margin:0}
.libList{display:grid;gap:12px;margin-top:14px}
.libEnt{border:1px solid #e0e5dc;border-radius:12px;padding:16px 18px;background:#fcfdfa}
.libEntHead{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:6px}
.libEntHead b{font-size:15px;color:#173e36}
.libEnt p{margin:6px 0;font-size:13.5px;line-height:1.7}
.libEnt .actions{margin-top:10px}
.libEnt .actions button{padding:6px 12px;font-size:12.5px}
.libTools{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0 4px}
.libSearch{flex:1;min-width:200px;padding:10px 14px;border:1px solid #dbe6d4;border-radius:10px;font-size:14px;background:#fbfdf9}
.libDimSel{padding:10px 12px;border:1px solid #dbe6d4;border-radius:10px;font-size:14px;background:#fbfdf9;min-width:170px}
.libCount{font-size:12.5px;margin:8px 0 2px}
.libGroup{border:1px solid #e6ece1;border-radius:12px;padding:4px 14px;margin-top:12px;background:#fafcf7}
.libGroup>summary{cursor:pointer;font-weight:600;color:#173e36;padding:8px 0;font-size:14px;list-style:none}
.libGroup>summary::-webkit-details-marker{display:none}
.libGroup>summary::before{content:'▸ ';color:#8aab9b}
.libGroup[open]>summary::before{content:'▾ '}
.libGroup .libEnt{margin:8px 0;background:#fff}
.batchBox{margin:10px 0 16px;padding:14px 16px;border:1px solid #cfe3d2;border-radius:12px;background:#f2f9f4}
.batchHead{margin-bottom:4px}
.batchHead b{color:#173e36;font-size:14.5px}
.batchBox p.muted{margin:4px 0 8px;font-size:12.5px}
.batchStatus{margin:8px 0 0;font-size:13px;color:#267965;font-weight:600}
.batchStatus.failed{color:#b3261e}
.batchStatus.done{color:#1f7a4d}
.batchFinal{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:8px}
.batchFinal audio{max-width:320px}
a.btn{display:inline-block;padding:8px 14px;border:1px solid #267965;border-radius:8px;color:#267965;text-decoration:none;font-size:13px}
a.btn:hover{background:#267965;color:#fff}



/* ===== 提炼选题 · 十维度 ===== */
.ideaList{display:grid;gap:9px;margin-top:9px}
.ideaGroup{border:1px solid #e2e8dd;border-radius:12px;padding:10px 13px 6px;background:#fbfcf9}
.ideaGroup h4{margin:0 0 4px;font-size:13.5px;color:#2f5b48;letter-spacing:.02em;display:flex;align-items:center;gap:8px}
.idea{border-top:1px dashed #e5e9df;padding:8px 0 6px}
.idea:first-of-type{border-top:0;padding-top:0}
.idea.saved{background:#f4f8f1;border-radius:10px;padding:8px 12px 6px}
.idea>b{font-size:14.5px;color:#173e36;display:block;margin:0 0 2px;line-height:1.45}
.idea p{margin:2px 0;font-size:13px;line-height:1.55}
.idea .quote{margin-top:4px;font-size:12.5px;padding:5px 10px;line-height:1.5}
.libPick.inline{margin-bottom:0;padding:3px 10px;font-size:12px;gap:6px}
.idea p.warn,.idea .warn{padding:5px 10px;margin:5px 0;font-size:12.5px;border-radius:7px}
.theme .cardFoot .libPick.inline{margin-bottom:0}
.theme .cardFoot button{padding:5px 12px;font-size:12.5px}
.vtoast.warn{background:#fdeceb;color:#a5392c;border:1px solid #f2c4bd}

/* 音色库分区 tab */
.vtabs2{display:flex;gap:8px;margin:4px 0 14px;flex-wrap:wrap}
.vtab2{flex:1;min-width:180px;display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:10px 14px;border:1px solid #d9e0d8;border-radius:10px;background:#fbfcfa;font-size:14px;font-weight:600;color:#3c4a41;cursor:pointer;text-align:left}
.vtab2 small{font-weight:400;font-size:11px;color:#7d8c83}
.vtab2.on{border-color:#34785d;background:#eef6f1;color:#1f5c43;box-shadow:0 0 0 1px #34785d inset}
.vtab2.on small{color:#4a7e63}

/* 音色库·卡片内联确认（不依赖浏览器原生确认框，小白更直观） */
.vinline{display:flex;gap:8px;align-items:center;flex-wrap:wrap;background:#f6f9f4;border:1px solid #dfe8db;border-radius:10px;padding:10px;margin-top:8px}
.vinlineInput{flex:1 1 180px;min-width:140px;padding:8px 10px!important;border-radius:8px!important}
.vinlineDel{background:#fdf3f2;border-color:#f3cfc9;flex-direction:column;align-items:flex-start}
.vinlineTxt{font-size:13.5px;line-height:1.7;color:#7a352b}
.vinlineTxt .muted{color:#8d6560}
.vinlineDel button{align-self:flex-end}
/* C008-5 选题「数字没出处」红标 */
.warn{color:#9a3324;background:#fdf1ee;border:1px solid #f3cfc6;border-left:3px solid #c9482f;padding:8px 12px;border-radius:8px;font-size:13px;margin:8px 0}

/* ===== C009-1 窄窗口自适应：顶栏/历史/步骤条不再横向挤出去 =====
   原因：顶栏是「创作名 + 历史创作 + 已载入 + 多窗口提示」横排，
   窗口一窄（半屏、iPad 分屏）就互相顶，把页面撑出横向滚动条。 */
@media(max-width:1100px){
  .topline{flex-direction:column;align-items:stretch;gap:12px}
  .nameCol{width:100%;max-width:100%;flex:1 1 auto}
  .nameCol .nameBar{width:100%;flex:1 1 auto}
  .nameCol .nameInput{width:100%!important}
  .nameCol .taskTools{flex-wrap:wrap;width:auto;max-width:100%;min-width:0}
  .profChip{flex:0 0 auto}
  .taskDel{flex:0 0 auto}
  .histBar{flex:1 1 100%;width:100%;min-width:0}
  .histList{flex-wrap:nowrap;min-width:0}
  .histSel{max-width:100%;flex:1 1 auto;min-width:0}
  .histChip{max-width:100%}
  .histName{min-width:0}
  #saveState,#multiWin{align-self:flex-start;max-width:100%}
}
/* 中窄屏（1100~1250）顶栏仍是横排，但别再用 space-between 把「已载入」甩到最右 */
@media(max-width:1250px){
  .topline{justify-content:flex-start}
}
/* 步骤条：窄屏一律横滑，不折成两行也不撑宽页面 */
@media(max-width:1100px){
  .steps{overflow-x:auto;flex-wrap:nowrap;scrollbar-width:thin}
  .steps button{white-space:nowrap;flex:0 0 auto;padding:10px 13px}
}
@media(max-width:480px){
  main{padding-left:14px;padding-right:14px}
  .taskTools{gap:6px}
  .profChip,.taskDel{font-size:12px;padding:4px 10px}
}

/* C009-1b 覆盖前面定稿的 max-content 规则：窄屏任务条必须放得下「删除本条创作」 */
@media(max-width:1100px){
  .nameCol{width:100%!important;max-width:100%!important;flex:1 1 auto!important}
  .nameCol .taskTools{width:auto!important;max-width:100%!important;flex-wrap:wrap!important;overflow:visible}
  .nameCol .profChip{flex:0 0 auto!important;max-width:100%!important}
  .nameCol .taskDel{flex:0 0 auto!important}
}

/* C009-2 中窄屏顶栏放不下时，「已载入」状态胶囊只是状态显示，直接隐藏，别让它单独掉到第二行 */
@media(max-width:1250px){
  #saveState{display:none}
}

/* C009-3 宽屏顶栏单行不折：历史条原来 flex:1 吃满，把「已载入」挤到第二行 */
@media(min-width:1251px){
  .histBar{flex:0 1 auto;min-width:0}
  .topline{flex-wrap:nowrap;align-items:flex-start}
  .histList{flex-wrap:nowrap;overflow:hidden}
  /* 让「历史创作 / 已载入 / 多窗口」跟名称输入框的第一行对齐，不跟整块居中 */
  .histBar{margin-top:6px}
  #saveState,#multiWin{margin-top:8px}
}

/* ===== C010 窄屏（≤700px）：侧栏不再整块压在正文上方，改成顶部窄条 =====
   原来 ≤650px 侧栏变 static 竖着排，占了 642px 高，正文被顶到一屏之外，
   打开只看到「录音/视频拆解」那一堆导航，以为页面坏了。 */
@media(max-width:700px){
  aside{
    position:sticky;top:0;z-index:70;width:auto;height:auto;
    display:flex;flex-direction:row;align-items:center;gap:10px;flex-wrap:wrap;
    padding:10px 14px;margin:0;
  }
  aside .brand{margin:0;font-size:17px;letter-spacing:1px;flex:0 0 auto;white-space:nowrap;display:block!important;line-height:1.2;width:auto;min-width:max-content}
  aside .brand small{display:none}
  aside>label{display:none}
  /* 窄屏：收纳组一律展开、标题隐藏，导航照旧横排（窄屏没有折叠的意义） */
  .navGroup{display:contents}
  .navGroup>nav{display:flex}
  .navGroup>summary.navGroupLabel{display:none!important}
  aside select{margin:0;max-width:150px;flex:0 1 auto}
  #addClient{flex:0 0 auto;padding:7px 10px;font-size:12.5px}
  aside nav{display:flex;gap:6px;margin:0;flex:1 1 100%;order:9;overflow-x:auto;scrollbar-width:none}
  aside nav::-webkit-scrollbar{display:none}
  nav button{padding:8px 10px;font-size:12.5px;white-space:nowrap;flex:0 0 auto}
  .voiceLibNav{flex:0 0 auto;padding:7px 10px;font-size:12.5px}
  .sidebottom{display:flex;gap:6px;margin:0;flex:1 1 100%;order:10}
  .sidebottom button{padding:7px 10px;font-size:12.5px;flex:1 1 0;min-width:0}
  .sidebottom p{display:none}
  main{padding-top:14px}
}

/* C012-1 钩子太长提醒（超过 18 字） */
.hookLong{display:inline-block;font-size:11px;color:#9a6a12;background:#fff5e0;border:1px solid #f0dcae;border-radius:20px;padding:1px 7px;margin-left:6px;vertical-align:1px;white-space:nowrap}

/* 成片四件套（导出面板） */
.exportKit .kitGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:10px}
@media (max-width:860px){.exportKit .kitGrid{grid-template-columns:1fr}}
.exportKit .kitCard{border:1px solid #d8e6dc;border-radius:12px;background:#f7fbf8;padding:12px 14px;min-width:0}
.exportKit .kitHead{margin-bottom:6px}
.exportKit .kitHead b{color:#173e36;font-size:14px}
.exportKit .kitCard p.muted{margin:4px 0 8px;font-size:12.5px}
.exportKit .kitTip{color:#9a6a12}
.exportKit .kitStatus{margin:8px 0 0;font-size:12.5px;color:#267965;font-weight:600;min-height:1em;word-break:break-word}
.exportKit .kitAudio{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.exportKit .kitAudio audio{max-width:260px}
.exportKit .kitCard .actions{margin:0}

/* 拍摄清单 / 自述口播 / 拍摄方向 */
.shootBox{margin-top:10px}
.shootWrap{overflow-x:auto;margin:6px 0}
.shootTable{width:100%;border-collapse:collapse;font-size:12.5px;min-width:520px}
.shootTable th,.shootTable td{border:1px solid #d8e6dc;padding:5px 7px;text-align:left;vertical-align:top}
.shootTable th{background:#eff7f1;color:#173e36;font-weight:600;white-space:nowrap}
.shootTable td.shootText{min-width:180px;line-height:1.45}
.shootTable tr:nth-child(even) td{background:#fafcfb}
.solioPanel .solioResult{margin-top:10px}
.solioPanel textarea.long{min-height:170px;line-height:1.7}
.planCard{margin-top:12px;border:1px solid #d8e6dc;background:#f7fbf8}
.planCard h4{margin:10px 0 4px}
.planRow{display:flex;gap:10px;padding:5px 0;border-top:1px dashed #dbe7df;font-size:13px}
.planRow:first-of-type{border-top:none}
.planK{flex:0 0 56px;color:#267965;font-weight:600}
.planV{flex:1 1 auto;line-height:1.5;word-break:break-word}

/* w4 估算提醒（黄字）+ 拍摄清单 A/B 分块 */
.exportKit .kitStatus.warn{color:#9a6a12}
.shootBlock{margin:10px 0}
.shootBlock h4{margin:4px 0 6px;font-size:13.5px;color:#173e36}
.shootBlock h4 .muted{font-weight:400;font-size:12px}

/* w5 成片交付 1→4 推荐路径（单列竖排，顺序严格 1→2→3→4） */
.exportFlow{display:flex;flex-direction:column;gap:12px;margin-top:6px}
.exportFlow .kitCard{border:1px solid #d8e6dc;border-radius:12px;background:#f7fbf8;padding:12px 14px;min-width:0}
.exportFlow .kitHead{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.exportFlow .stepNo{flex:0 0 auto;width:22px;height:22px;border-radius:50%;background:#267965;color:#fff;font-size:12.5px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}
.exportFlow .mixCard{border-color:#267965;background:#eef8f1}
.exportFlow .mixCard .stepNo{background:#173e36}
.exportFlow .big{font-size:14.5px;padding:11px 18px}
.kitAdvanced{margin-top:14px;border-top:1px dashed #dbe7df;padding-top:10px}
.kitAdvanced summary{cursor:pointer;color:#5b7a6e;font-size:13px;font-weight:600}
.kitAdvanced .actions{margin-top:8px}

/* w6 交付包大按钮 + 发布件 */
.pkgBox{margin:6px 0 4px;padding:14px 16px;border:1.5px solid #267965;border-radius:14px;background:#eef8f1}
.pkgHead b{color:#173e36;font-size:15px}
.pkgBox p.muted{margin:4px 0 8px;font-size:12.5px}
.pkgBox .big{font-size:15px;padding:12px 20px}
.tinyTip{margin:4px 0 0;font-size:11.5px;color:#9a6a12}
.publishPanel{margin-top:12px;border:1px solid #d8e6dc;background:#f7fbf8}
.publishPanel h2{font-size:16px}
.pubDesc{white-space:normal;line-height:1.7;background:#fff;border:1px solid #e3ede7;border-radius:10px;padding:12px 14px;margin:6px 0 8px;font-size:13.5px}
.tagRow{display:flex;flex-wrap:wrap;gap:7px;margin:6px 0 8px}
.hashTag{background:#e7f4ec;border:1px solid #cfe7d8;color:#267965;border-radius:20px;padding:3px 11px;font-size:13px}

/* w7 数字人 / 封面图入口（只增不改） */
.dhPanel{margin-top:0}
.dhGrid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:12px 0 6px}
@media(max-width:1100px){.dhGrid{grid-template-columns:1fr}}
.dhCard{border:1px solid #d8e6dc;background:#f7fbf8;border-radius:12px;padding:14px 16px}
.dhHead b{color:#173e36;font-size:14.5px}
.dhCard p.muted{margin:4px 0 6px;font-size:12.5px}
.dhOut{margin-top:8px}
.dhOut video{max-height:280px;border-radius:10px;background:#000}
.kitStatus.warn{color:#9a6a12}
.coverImgEntry{margin-top:16px;border-top:1px dashed #dbe7df;padding-top:12px}
.coverImgEntry h3{font-size:15px;margin:0 0 4px}
.coverImgEntry p.muted{font-size:12.5px;margin:4px 0 6px}
.deliverNav{margin-top:10px}
.pkgBox+p.muted{margin-top:14px}
.dhPicks{display:grid;gap:8px;margin:10px 0 4px}
.dhPick{display:grid;gap:4px;font-size:12.5px;color:#4a6157}
.dhPick select{width:100%;max-width:560px}
.dhPick .muted{font-size:11.5px}

/* fix-选题可选：每张选题卡里的「用这个选题 →」 */
.ideaActions{margin-top:5px;display:flex;gap:7px;flex-wrap:wrap;align-items:center}
.ideaActions button{padding:5px 12px;font-size:12.5px}

/* 第三步 · 出大纲：顶部醒目显示「已选选题」，让用户一眼确认选没选上 */
.pickedTheme{margin:10px 0 14px;padding:12px 14px;border-left:5px solid #267965;background:#eef7f1;border-radius:8px}
.pickedTheme .tag{display:inline-block;background:#267965;color:#fff;font-size:12px;padding:2px 8px;border-radius:10px;margin-right:8px;vertical-align:middle}
.pickedTheme b{font-size:19px;color:#12352a;line-height:1.4}
.pickedTheme p{margin:6px 0 0;font-size:13px;color:#4a6157}

/* w8 · 封面出图：结果图 + 下载 */
.coverResult{margin-top:10px;max-width:260px}
.coverResult img{width:100%;border-radius:10px;border:1px solid #e0e5dc;display:block;background:#f4f6f2}
.coverResultBar{display:flex;align-items:center;gap:10px;margin-top:8px;flex-wrap:wrap}
.coverResultBar .muted{font-size:12px}
.kitStatus.running{color:#267965}
.kitStatus.ok{color:#267965}

/* w9 · 封面底图叠字预览（canvas） */
.coverPreviewWrap{margin-top:12px}
.coverCanvasBox{width:100%;max-width:300px;border-radius:12px;overflow:hidden;border:1px solid #e0e5dc;background:#0d0d0d;box-shadow:0 2px 10px rgba(0,0,0,.12)}
.coverCanvasBox canvas{width:100%;height:auto;display:block}
.coverPreviewWrap .actions{margin-top:10px;display:flex;gap:8px;flex-wrap:wrap}

/* ===== 数字人棚 · 独立入口（B 小弟 2026-11-12 只增不改） ===== */
.dhStudioNav{margin-top:10px}
.dhsCard .dhHead b{color:#14313f}
.dhsField{display:grid;gap:5px;margin:10px 0;font-size:12.5px;color:#425a63}
.dhsField select,.dhsField textarea,.dhsField input[type=file]{width:100%;max-width:560px}
.dhsField .muted{font-size:11.5px;color:#8a979f}
.dhsAudio{border-top:1px dashed #d5e3e8;margin-top:8px;padding-top:8px}
.dhsTabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}
.dhsTab{font-size:12px;padding:6px 10px;border-radius:20px;border:1px solid #cfe0e6;background:#fff;color:#3f5f6b}
.dhsTab.on{background:#1f4a5c;border-color:#1f4a5c;color:#fff;font-weight:600}
.dhsOk{color:#267965;font-size:12.5px;font-weight:600;margin-left:4px}
.dhsOut{margin-top:10px}
.dhsOut audio{margin-top:8px}
/* 数字人棚：弹窗里两张卡片上下排，避免 680px 弹窗内两列挤 */
dialog .dhGrid{grid-template-columns:1fr;gap:12px}
dialog .dhsCard{padding:12px 14px}
dialog .dhsCard .actions{margin-top:10px}
.dhsAssetLink{display:block;margin-top:4px;font-size:11.5px;color:#8a979f}

/* ===== 图片工坊 · 侧栏独立入口（A 2026-11-12 只增不改，类名 ims*） ===== */
.imgStudioNav{margin-top:10px}
.imsWrap{max-width:760px}
.imsTabs{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0 14px}
.imsTab{font-size:12.5px;padding:7px 14px;border-radius:20px;border:1px solid #d8d2bf;background:#fff;color:#5c5335;font-weight:600;cursor:pointer}
.imsTab.on{background:#5c4f28;border-color:#5c4f28;color:#fff}
.imsPane{display:none}
.imsPane.on{display:block}
.imsField{display:grid;gap:5px;margin:10px 0;font-size:12.5px;color:#5c5335}
.imsField textarea,.imsField input,.imsField select{width:100%}
.imsField.imsInline{display:inline-grid;min-width:110px;margin:0 10px 0 0;vertical-align:bottom}
.imsRow{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap;margin:8px 0}
.imsMini{font-size:12px;padding:6px 12px;border-radius:8px;border:1px solid #d8d2bf;background:#fff;color:#5c5335;cursor:pointer;text-decoration:none;display:inline-block}
.imsMini:hover{background:#f6f2e6}
.imsGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px;margin-top:10px}
.imsCard{border:1px solid #e4dfce;border-radius:10px;padding:8px;text-align:center;background:#fcfbf6}
.imsCard img{width:100%;height:110px;object-fit:cover;border-radius:6px;display:block;margin-bottom:6px;background:#f0ece0}
.imsPh{height:110px;display:flex;align-items:center;justify-content:center;border-radius:6px;background:#f0ece0;color:#8a835f;font-size:11.5px;padding:6px;margin-bottom:6px;word-break:break-all}
.imsSub{font-size:11px;color:#8a835f;line-height:1.35;margin-bottom:6px}
.imsOps{display:flex;gap:6px;justify-content:center;flex-wrap:wrap}
.imsOps .imsMini{font-size:11px;padding:4px 9px}

/* ===== 数字人棚 v2（B 小弟 2026-11-12 append，只用 .dhs2-* 前缀） ===== */
.dhs2-out{display:grid;gap:10px;margin-top:10px}
.dhs2-job{border:1px solid #dbe7e2;border-radius:10px;padding:10px 12px;background:#fbfdfc}
.dhs2-job.is-abandoned{background:#faf7f0;border-color:#e8dcc0}
.dhs2-job .kitStatus{margin:0 0 4px}
.dhs2-abandoned{color:#9a6a12}
.dhs2-ok{color:#267965}
.dhs2-actions{margin-top:6px;display:flex;gap:8px}
.dhs2-cancel{font-size:12px;padding:5px 12px;border-radius:20px}
.dhs2-time{display:block;margin-top:4px;font-size:11px;color:#a3afb8}
.dhs2-out .dhOut video{max-height:240px}

/* ===== 2026-11-13 修复①：左侧项目栏自适应 + 可滚动（原来窗口一矮就看不到底部、还拉不下去） ===== */
aside{overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:auto;scrollbar-color:rgba(255,255,255,.55) rgba(255,255,255,.08);min-height:0}
aside::-webkit-scrollbar{width:10px}
aside::-webkit-scrollbar-thumb{background:rgba(255,255,255,.50);border-radius:20px;border:2px solid transparent;background-clip:padding-box}
aside::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.7);background-clip:padding-box}
aside::-webkit-scrollbar-track{background:rgba(255,255,255,.08)}
aside .brand{flex:0 0 auto}
aside>label{margin-top:18px}
nav{margin-top:18px}
.voiceLibNav{margin-top:10px}
.sidebottom{margin-top:18px;padding-bottom:2px}

/* 窗口高度紧时整体收一档，尽量一屏放下所有入口 */
@media(max-height:900px){
  aside{padding:24px 18px 18px}
  aside .brand{font-size:23px;margin-bottom:4px}
  aside .brand small{margin-top:6px}
  aside>label{margin-top:12px}
  nav{margin-top:12px;gap:3px}
  nav button{padding:10px 12px;font-size:13.5px}
  .voiceLibNav{margin-top:7px;padding:9px 11px;font-size:13px}
  .sidebottom{margin-top:12px;gap:4px}
  .sidebottom button{padding:8px 11px;font-size:12.5px}
  .sidebottom p{margin:8px 0 0;font-size:10.5px;line-height:1.55}
}
@media(max-height:760px){
  aside{padding:16px 14px 14px}
  aside .brand{font-size:19px;letter-spacing:.1em}
  aside .brand small{display:none}
  aside select{padding:7px 10px;font-size:13px}
  #addClient{margin-top:6px;padding:6px 10px;font-size:12px}
  nav{margin-top:10px}
  nav button{padding:8px 10px;font-size:13px}
  .voiceLibNav{margin-top:5px;padding:7px 10px;font-size:12.5px}
  .voiceLibNav small{display:none}
  .sidebottom{margin-top:10px}
  .sidebottom button{padding:6px 10px;font-size:12px}
  .sidebottom p{display:none}
}
/* 中等宽度：侧栏略收窄，正文多留空间（≤1100 也让内容不被挤压） */
@media(max-width:1300px) and (min-width:701px){
  aside{width:242px;padding-left:16px;padding-right:14px}
  main{margin-left:242px}
}

/* ===== 2026-11-13 修复②：在用音色 / 参考音色 的「已处理 / 未处理 / 来源」小标记 ===== */
.vtag.proc{background:#dcefe2;color:#1e6b47;border:1px solid #b9e0c8}
.vtag.raw{background:#fdf1e3;color:#9a6525;border:1px solid #f0dcae}
.vsrc{display:inline-block;font-size:11px;color:#5b7f6f;background:#eef4f0;border-radius:20px;padding:1px 8px;margin-right:6px}

/* ===== 2026-11-13 E：图片工坊「⚙ 出图应用配置」折叠面板 + 未配置黄条（仅 .ims 前缀，未改任何旧选择器） ===== */
.imsEcomCfg{border:1px solid #e3e3da;border-radius:8px;background:#fbfbf6;margin:10px 0 12px;padding:0}
.imsEcomCfg>summary{cursor:pointer;list-style:none;padding:9px 12px;font-size:13px;font-weight:600;color:#3f3f38;user-select:none}
.imsEcomCfg>summary::-webkit-details-marker{display:none}
.imsEcomCfg>summary::before{content:'▸';display:inline-block;margin-right:6px;color:#8a8a7c;transition:transform .15s}
.imsEcomCfg[open]>summary::before{transform:rotate(90deg)}
.imsEcomCfg[open]>summary{border-bottom:1px solid #ececE3}
.imsCfgFlag{display:inline-block;margin-left:8px;font-size:11px;font-weight:600;color:#fff;background:#d9503f;border-radius:20px;padding:1px 8px;vertical-align:1px}
.imsCfgBody{padding:10px 12px 12px}
.imsCfgField{display:block;font-size:12.5px;color:#5d5d52;margin:0 0 10px}
.imsCfgField>input,.imsCfgField input[type=number]{display:block;width:100%;box-sizing:border-box;margin-top:4px;padding:6px 8px;border:1px solid #deded3;border-radius:6px;font:inherit;background:#fff}
.imsCfgNode{display:flex;gap:6px;align-items:center;margin:6px 0}
.imsCfgNodeId{flex:1 1 auto;min-width:0;padding:5px 7px;border:1px solid #deded3;border-radius:6px;font:inherit;background:#fff}
.imsCfgNodeField{flex:0 0 92px;padding:5px 6px;border:1px solid #deded3;border-radius:6px;font:inherit;background:#fff}
.imsCfgDel{flex:0 0 auto;width:26px;height:26px;line-height:1;border:1px solid #e8cfcb;background:#fdf3f1;color:#b8483a;border-radius:6px;cursor:pointer;font-size:15px}
.imsCfgDel:hover{background:#f8e4e0}
.imsCfgOps{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:8px}
.imsCfgStatus{font-size:12px;margin:6px 0 0;min-height:1em;color:#6b6b60}
.imsCfgStatus.ok{color:#1e6b47}
.imsCfgStatus.bad{color:#b8483a}
.imsCfgSourceLine{font-size:12px;margin:2px 0 0;color:#8a8a7c}
.imsCfgSourceLine.ok{color:#1e6b47}
.imsCfgSourceLine.bad{color:#9a6525}
.imsEcomCfgWarn{margin:8px 0;padding:7px 9px;background:#fff8e1;border:1px solid #f1e0a6;border-radius:6px;font-size:12.5px;line-height:1.5;color:#8a6d1b}

/* ===== 数字人棚 v3（B 小弟 2026-11-13 append，只用 .dhs3-* 前缀） ===== */
.dhs3-badge{display:inline-block;margin-left:8px;font-size:11.5px;font-weight:600;border-radius:20px;padding:2px 9px;vertical-align:1px}
.dhs3-badge.ok{color:#1e6b47;background:#eaf6ee;border:1px solid #c7e6d3}
.dhs3-badge.warn{color:#9a6a12;background:#fdf6e3;border:1px solid #f0e1b6}
.dhs3-price{margin:2px 0 8px;color:#9a6a12;font-size:12px}
.dhs3-qc{margin:8px 0;border:1px dashed #dce6e0;border-radius:10px;padding:8px 10px;background:#fbfdfc}
.dhs3-qc>summary{cursor:pointer;font-size:12.5px;font-weight:600;color:#3f5f6b;margin-bottom:6px}
.dhs3-qcRow{display:flex;gap:8px;align-items:flex-start;font-size:12.5px;color:#425a63;padding:3px 0;line-height:1.35}
.dhs3-qcRow input{flex:0 0 auto;margin-top:2px}
.dhs3-qcWarn{margin:8px 0 2px;font-size:12px;font-weight:600;color:#b8483a}
.dhs3-qcNote{margin:2px 0 0;font-size:11.5px;color:#8a979f}
.dhs3-audios{display:grid;gap:6px;margin:4px 0 6px;max-width:560px}
.dhs3-audio{display:grid;gap:3px;font-size:12.5px;color:#425a63;border:1px solid #e3ece8;border-radius:8px;padding:6px 8px;background:#fff}
.dhs3-audioPick{display:flex;gap:8px;align-items:flex-start;cursor:pointer}
.dhs3-audioPick input{flex:0 0 auto;margin-top:2px}
.dhs3-audiolabel{line-height:1.3;flex:1 1 auto}
.dhs3-audio audio{width:100%;max-width:420px;margin:0 0 2px 22px}
.dhs3-empty{margin:4px 0;font-size:12.5px;color:#9a6a12;background:#fdf8ec;border:1px solid #f0e3c2;border-radius:8px;padding:8px 10px;line-height:1.45}
.dhs3-multi{margin:6px 0 0;font-size:12px;font-weight:600;color:#b8483a;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.dhs3-multi[hidden]{display:none}
.dhs3-multi button{font-size:12px;padding:4px 10px}
.dhs3-multi button:disabled{opacity:.55;cursor:default}
.dhs3-actions{margin-top:6px}

/* 数字人棚 v4：失败说明 / 复测提示（追加，不改上面已有行） */
.dhs3-failHint{margin:2px 0 0;font-size:12px;color:#8a979f;line-height:1.45}
.dhsCard .dhs3-badge{margin-left:6px}

/* 2026-11-13 客户上传音频要求（音色库弹窗顶部） */
.sampleReq{border:1px solid #dce5d6;background:#f7faf5;border-radius:10px;padding:12px 16px;margin:10px 0 14px}
.sampleReq>b{display:block;font-size:13px;color:#1d3d34;margin-bottom:6px}
.sampleReq ul{margin:0;padding-left:20px;font-size:12.5px;line-height:1.9;color:#4a5f56}
.sampleReq li b{color:#1f5a43}

/* 2026-11-13 第17波（F9）：顶栏当前客户语言，只读标记 */
.langChip{flex:0 0 auto;white-space:nowrap;font-size:12px;color:#2C5B47;background:var(--forest-soft,#eef4ef);border:1px solid #CBE0D2;border-radius:20px;padding:3px 10px}

/* 2026-11-13 第17波：出片页物料小卡 + 粗剪片导出 */
.extrasStrip{border-style:dashed}
.roughcutBox{border:1px solid #dce5d6;background:#f7faf5;border-radius:10px;padding:12px 14px;margin:10px 0 14px}
.roughcutBox .kitStatus{margin:6px 0 0}
.roughcutBox .dhOut{margin-top:10px}

/* 2026-11-13 第17波：用户资料 · 数字人形象 tab */
.avDrop{display:flex;flex-direction:column;gap:2px;align-items:flex-start}
.avGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px;margin:8px 0 14px}
.avCard{border:1px solid #e2e8e2;border-radius:10px;padding:8px;background:#fff;display:flex;flex-direction:column;gap:6px}
.avCard.on{border-color:#3C8562;box-shadow:0 0 0 2px rgba(60,133,98,.14);background:#f7fbf8}
.avThumb{width:100%;height:110px;object-fit:cover;border-radius:6px;background:#eef2ee}
/* 老板令：数字人照片按 9:16 竖版显示，不要被裁成横条 */
.avCard img.avThumb{height:auto;max-height:none;aspect-ratio:9/16;object-fit:contain;background:repeating-conic-gradient(#eef2ee 0 25%,#f7fbf8 0 50%) 0 0/16px 16px}
.avMeta{font-size:12px;line-height:1.4;display:flex;flex-direction:column;gap:2px;word-break:break-all}
.avCard .actions{gap:6px;flex-wrap:wrap}
.avCard .actions button{font-size:12px;padding:4px 10px}

/* 2026-11-15 · 数字人形象页：照片卡片排版统一（原图/抠图同宽同高、按钮一行不换行、抠像结果放卡内统一小块） */
#ctab-avatar .avGrid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px;align-items:start}
#ctab-avatar .avCard{padding:10px;gap:8px}
#ctab-avatar .avCard img.avThumb,#ctab-avatar .avCard video.avThumb{
  height:210px;max-height:210px;width:100%;aspect-ratio:auto;object-fit:contain;
  display:block;
  background:repeating-conic-gradient(#eef2ee 0 25%,#f7fbf8 0 50%) 0 0/16px 16px;border-radius:8px;
}
#ctab-avatar .avMeta{flex-direction:row;align-items:center;gap:6px;min-width:0;word-break:normal}
#ctab-avatar .avMeta b{flex:1 1 auto;min-width:0;font-size:12.5px;font-weight:600;color:#263f34;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#ctab-avatar .avMeta .tag{flex:0 0 auto;white-space:nowrap}
#ctab-avatar .avMeta .avName{cursor:text;border-bottom:1px dashed transparent;border-radius:3px;padding:0 2px}
#ctab-avatar .avMeta .avName:hover{border-bottom-color:#b9cbc0;background:#f2f7f3}
#ctab-avatar .avMeta .avRename{flex:0 0 auto;font-size:11px;color:#8a979f;cursor:pointer;padding:0 3px;line-height:1}
#ctab-avatar .avMeta .avRename:hover{color:#3C8562}
#ctab-avatar .avMeta .avNameInput{flex:1 1 auto;min-width:0;font-size:12.5px;padding:3px 6px;border:1px solid #3C8562;border-radius:6px;background:#fff;color:#263f34}
#ctab-avatar .avCard .actions.avActs{margin-top:0;flex-wrap:nowrap;gap:6px}
#ctab-avatar .avCard .actions.avActs button{flex:1 1 0;min-width:0;font-size:12px;padding:6px 4px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* 抠像结果：卡内一小块（左缩略图 + 右文字按钮），不再是一整张大图 + 挤在底部的文字 */
.cutoutSlot .cutRes{display:flex;gap:10px;align-items:flex-start;border:1px solid #dfe8e1;border-radius:10px;
  background:#f7fbf8;padding:8px}
.cutoutSlot .cutResThumb{height:96px;width:auto;aspect-ratio:9/16;object-fit:contain;border-radius:6px;flex:0 0 auto;
  background:repeating-conic-gradient(#e9ece9 0 25%,#fafbfa 0 50%) 0 0/12px 12px}
.cutoutSlot .cutResBody{flex:1 1 auto;min-width:0;font-size:11.5px;line-height:1.5;color:#4d5f56}
.cutoutSlot .cutResLine{color:#4d5f56}
.cutoutSlot .cutResLine b{color:#26795f}
.cutoutSlot .cutResBtns{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}
.cutoutSlot .cutResBtns button,.cutoutSlot .cutResDown{font-size:11.5px;padding:4px 10px;border-radius:7px;
  border:1px solid #d8e0d5;background:#fff;color:#263f34;text-decoration:none;display:inline-block;cursor:pointer}
.cutoutSlot .cutResBtns button.primary{background:#3C8562;border-color:#3C8562;color:#fff}
.cutoutSlot .cutResDown{color:#24634f;text-decoration:underline}

/* 2026-11-13 第18波：粗剪片页面（分段清单 + 播放器） */
.rcPlayer video{width:100%;max-width:340px;border-radius:10px;background:#000;display:block;margin:6px 0 8px}
.rcTable{width:100%;border-collapse:collapse;font-size:12.5px;margin:8px 0 4px}
.rcTable th,.rcTable td{border-bottom:1px solid #e6ebe6;padding:6px 8px;text-align:left;vertical-align:top}
.rcTable th{background:#f5f8f5;font-weight:600;white-space:nowrap}
.rcTable td:first-child{width:28px;color:#8a979f}
.rcSegText{line-height:1.5}

/* 2026-11-13 第19波：粗剪片播放器信息/路径/无法播放兜底 */
.rcInfo{list-style:none;margin:8px 0 6px;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:6px 14px;font-size:12.5px}
.rcInfo li{display:flex;gap:6px;align-items:baseline;color:#3c4a44}
.rcInfo li b{color:#1d3d34;flex:0 0 auto;font-weight:600}
.rcInfo li span{color:#5a6b62}
.rcPath{margin:6px 0 2px;font-size:12.5px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.rcPath b{color:#1d3d34}
.rcPath code{background:#f2f5f2;border:1px solid #e0e7e0;border-radius:6px;padding:3px 8px;font-size:12px;color:#28453a;word-break:break-all;user-select:all;-webkit-user-select:all}
.rcPath button{font-size:12px;padding:3px 10px}
.rcNoPlay{border:1px dashed #e0b9b0;background:#fdf6f4;border-radius:10px;padding:14px 16px}
.rcNoPlay b{color:#8f3b2c}
.rcNoPlay p{margin:6px 0 0}

/* 2026-11-13 问题6-第二步：爆点分（sparks）——分数档 + 爆点推荐区 */
.spark{display:inline-block;font-size:11px;font-weight:600;padding:2px 9px;border-radius:20px;margin-left:8px;vertical-align:middle;white-space:nowrap}
.spark.hi{background:#fdece4;color:#b4441c;border:1px solid #f2bda6}
.spark.mid{background:#fdf6dc;color:#8a6a12;border:1px solid #efdda0}
.spark.low{background:#eef1ee;color:#7b8781;border:1px solid #dde3dd}
.sparkbox{border:1px solid #dfe7db;background:#fbfdf9;border-radius:12px;padding:14px 16px;margin:0 0 16px}
.sparkbox h3{margin:0 0 10px;font-size:14px;display:flex;align-items:baseline;gap:10px}
.sparkNote{font-size:11px;font-weight:400;color:#8a979f}
.sparklist{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px}
.sparkcard{border:1px solid #e4ebe0;background:#fff;border-radius:10px;padding:10px 12px;display:grid;gap:7px}
.sparkcard b{font-size:13.5px;color:#1d3d34}
.sparktags{display:flex;gap:5px;flex-wrap:wrap}
.sparkcard button{font-size:12px;padding:5px 10px;justify-self:start;border-radius:8px}

/* ============================================================
   2026-11-14 第20波（小弟6）：本波全部样式一次补齐
   仅新增选择器，末尾追加，不改已有行。
   ============================================================ */

/* ---------- 1. 问题6：爆点分三档 + 爆点推荐区 ---------- */
/* 分数徽标：>=70 红/橙，40-69 黄，<40 灰 */
.sparkHi{display:inline-block;font-size:11.5px;font-weight:700;letter-spacing:.2px;
  padding:2px 10px;border-radius:20px;margin-left:8px;vertical-align:middle;white-space:nowrap;
  background:#fdebe6;color:#b8431c;border:1px solid #f1b8a3}
.sparkMid{display:inline-block;font-size:11.5px;font-weight:700;letter-spacing:.2px;
  padding:2px 10px;border-radius:20px;margin-left:8px;vertical-align:middle;white-space:nowrap;
  background:#fdf6da;color:#8a6a12;border:1px solid #efdda0}
.sparkLo{display:inline-block;font-size:11.5px;font-weight:600;letter-spacing:.2px;
  padding:2px 10px;border-radius:20px;margin-left:8px;vertical-align:middle;white-space:nowrap;
  background:#eef1ee;color:#78857f;border:1px solid #dde3dd}

/* 爆点推荐整块 */
.sparkRec{border:1px solid #dfe7db;background:#fbfdf9;border-radius:14px;padding:16px 18px;margin:0 0 18px}
.sparkRec>h3{margin:0 0 4px;font-size:14.5px;color:#173e36;display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.sparkRec .sparkNote{font-size:11.5px;font-weight:400;color:#8a979f}

/* 推荐卡片列表 */
.sparkRecList{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin-top:12px}
.sparkRecCard{border:1px solid #e4ebe0;background:#fff;border-radius:12px;padding:12px 14px;
  display:flex;flex-direction:column;gap:8px;transition:border-color .15s,box-shadow .15s}
.sparkRecCard:hover{border-color:#c9d9c9;box-shadow:0 6px 20px -16px rgba(23,40,36,.5)}
.sparkRecCard.top{border-color:#e6b39a;box-shadow:0 0 0 2px rgba(184,67,28,.08)}
.sparkRecHead{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.sparkRecHead b{font-size:13.5px;line-height:1.5;color:#1d3d34;flex:1 1 auto}
.sparkRecCard .sparkRecHead .sparkHi,
.sparkRecCard .sparkRecHead .sparkMid,
.sparkRecCard .sparkRecHead .sparkLo{margin-left:0;flex:0 0 auto}
.sparkRecTags{display:flex;gap:5px;flex-wrap:wrap}
.sparkRecMeta{font-size:11.5px;color:#8a979f}

/* 「选这条」按钮 + 两档变体 */
.sparkPick{align-self:flex-start;font-size:12.5px;font-weight:600;padding:7px 14px;border-radius:9px;
  border:1px solid #cfdccf;background:#fff;color:#1f5b47;transition:background .15s,border-color .15s,color .15s}
.sparkPick:hover{border-color:#267965;background:#eef6ef;color:#174c3b}
.sparkPick.isTop{border-color:#b99349;background:linear-gradient(180deg,#fffdf5,#fbf6ea);color:#8a6a12}
.sparkPick.isTop:hover{background:#f7eed8;border-color:#a3803a;color:#7a5c0e}
/* 已选中态（若小弟2 加类 isPicked，这里直接生效） */
.sparkPick.isPicked{background:#24634f;border-color:#24634f;color:#fff}
.sparkPick.isPicked:hover{background:#174c3b;border-color:#174c3b;color:#fff}

/* ---------- 2. B2：主题来源标签（小圆点 + 浅底） ---------- */
/* 通用：.srcTag 自带圆点，再叠 .interview/.profile/.lib/.infer 定色 */
.srcTag{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:600;
  line-height:1;padding:4px 9px;border-radius:20px;margin-left:8px;vertical-align:middle;white-space:nowrap}
.srcTag::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;flex:0 0 auto}
/* 绿 · 本次采访 */
.srcTag.interview{color:#1e6b47;background:#e9f5ec;border:1px solid #c3e2cc}
/* 蓝 · IP 资料 */
.srcTag.profile{color:#1f5b8a;background:#e9f1f9;border:1px solid #c2d8ec}
/* 蓝 · 素材库 */
.srcTag.lib{color:#0f7a8c;background:#e6f4f6;border:1px solid #b9e0e6}
/* 红 · 无依据 */
.srcTag.infer{color:#b3261e;background:#fdecea;border:1px solid #f3c0bb}
/* 2026-11-14 补：产品知识库来源（后端 src=knowledge），紫系，与绿/蓝/红区分 */
.srcTag.knowledge{color:#6b4c9a;background:#f2ecfa;border:1px solid #ddd0f0}

/* ---------- 3. 问题7：选题页 ---------- */
/* 主线横幅：深绿底白字 */
.topicBanner{background:linear-gradient(180deg,#1d4a3f,#173e36);color:#f2f7f0;border-radius:14px;
  padding:18px 22px;margin:4px 0 18px;border:1px solid #2d5c4f;box-shadow:0 10px 26px -22px rgba(11,36,30,.85)}
.topicBanner h3,.topicBanner h2{margin:0 0 6px;color:#fff;font-size:16.5px;letter-spacing:.3px}
.topicBanner p{margin:4px 0;color:#d7e4da;font-size:13px;line-height:1.7}
.topicBanner b{color:#e8c982}
.topicBanner .srcTag,.topicBanner .tag{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.22);color:#eaf3ec}
.topicBanner .srcTag::before{background:#e8c982}

/* 次级主题两列网格 */
.themeGrid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:10px 0 18px}
.themeGrid .theme{margin:0}

/* 卡内固定层级 */
.cardLayer{display:flex;flex-direction:column;gap:8px}
.cardLayer>.cardTop{order:1}
.cardLayer>.hookLine{order:2}
.cardLayer>.foldRow{order:3}
.cardLayer>.cardFoot{order:4;display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:2px}

/* 金色左条钩子 */
.hookLine{border-left:3px solid #b99349;background:#fbf7ec;border-radius:0 8px 8px 0;
  padding:8px 14px;margin:6px 0;font-size:13.5px;line-height:1.65;color:#3b4f47}
.hookLine b{color:#8a6a12}

/* 原话 / 待补问 折叠行 */
.foldRow{border-top:1px dashed #e2e7df;padding-top:6px;margin-top:2px;font-size:12.5px;color:#5a6b62}
.foldRow>summary{cursor:pointer;font-weight:600;color:#1f5b47;list-style:none;display:flex;align-items:center;gap:6px;padding:3px 0}
.foldRow>summary::-webkit-details-marker{display:none}
.foldRow>summary::before{content:"▸";display:inline-block;transition:transform .15s;color:#b99349;font-size:11px}
.foldRow[open]>summary::before{transform:rotate(90deg)}
.foldRow .foldBody{padding:6px 0 2px 16px;line-height:1.7;color:#5a6b62}
.foldRow.pending>summary{color:#9a6525}
.foldRow.pending>summary::before{color:#c98b2f}

/* 顶部排序 / 筛选 / 搜索条 */
.sortBar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;
  background:#fff;border:1px solid #e0e5dc;border-radius:12px;padding:10px 14px;margin:0 0 16px}
.sortBar label{font-size:12.5px;color:#75847c;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.sortBar select,.sortBar input[type=search],.sortBar input[type=text]{
  width:auto;min-width:120px;padding:7px 10px;font-size:13px;background:#fbfcf8;
  border:1px solid #d8e0d5;border-radius:8px;color:#263f34}
.sortBar input[type=search]{flex:1 1 200px;min-width:160px}
.sortBar .sortSpacer{flex:1 1 auto}

/* ---------- 4. B1：核对区 ---------- */
/* ✓确认 / ✕忽略 按钮 */
.chkBar{display:inline-flex;gap:8px;align-items:center;flex-wrap:wrap}
.chkBar button{font-size:12.5px;font-weight:600;padding:6px 12px;border-radius:8px;line-height:1.2;
  border:1px solid #d2dcd6;background:#fff;color:#3c4a44}
.chkBar button:hover{border-color:#267965;background:#eef6ef}
.chkBar .chkYes{border-color:#b7ddc4;background:#eef8f1;color:#1e6b47}
.chkBar .chkYes:hover{background:#e0f2e6;border-color:#1e6b47}
.chkBar .chkNo{border-color:#f0c2bd;background:#fdf0ee;color:#b3261e}
.chkBar .chkNo:hover{background:#fbe2df;border-color:#b3261e}

/* 折起区，默认收起 */
.chkCollapse{border:1px solid #e2e8e2;border-radius:10px;background:#fbfcf9;margin:10px 0;padding:2px 14px}
.chkCollapse>summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:8px;
  padding:10px 0;font-size:13px;font-weight:600;color:#1d3d34}
.chkCollapse>summary::-webkit-details-marker{display:none}
.chkCollapse>summary::before{content:"▸";color:#b99349;font-size:11px;transition:transform .15s;display:inline-block}
.chkCollapse[open]>summary::before{transform:rotate(90deg)}
.chkCollapse>summary .chkCount{font-size:11.5px;font-weight:500;color:#8a979f}
.chkCollapse .chkBody{padding:2px 0 12px}
.chkCollapse .chkRow{display:flex;align-items:flex-start;gap:10px;justify-content:space-between;
  padding:8px 0;border-top:1px solid #eef1ea;font-size:13px;line-height:1.6}
.chkCollapse .chkRow .chkText{flex:1 1 auto;color:#3c4a44}
.chkCollapse .chkRow.chkIgnored{opacity:.5;text-decoration:line-through}

/* ---------- 5. B3：确认条（黄色） ---------- */
.confirmBar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;
  background:#fff8e6;border:1px solid #f0d99a;border-left:4px solid #c99a2e;
  border-radius:12px;padding:14px 16px;margin:14px 0;color:#6b5314}
.confirmBar .confirmText{flex:1 1 240px;font-size:13px;line-height:1.65;color:#6b5314}
.confirmBar .confirmText b{color:#8a5c0e}
.confirmBar .confirmList{margin:6px 0 0;padding-left:20px;font-size:12.5px;line-height:1.8;color:#7a6224}
.confirmBar .confirmBtns{display:flex;gap:8px;flex:0 0 auto;flex-wrap:wrap}
.confirmBar .confirmYes{background:#24634f;border-color:#24634f;color:#fff;font-weight:600}
.confirmBar .confirmYes:hover{background:#174c3b;border-color:#174c3b;color:#fff}
.confirmBar .confirmNo{background:#fff;border-color:#e0cfa0;color:#7a6224}
.confirmBar .confirmNo:hover{background:#fdf4e0;border-color:#c99a2e}

/* ---------- 窄屏响应式（只作用于上面新增的类） ---------- */
@media(max-width:950px){
  .themeGrid{grid-template-columns:1fr}
  .sortBar{gap:8px}
  .topicBanner{padding:16px 18px}
}
@media(max-width:650px){
  .themeGrid{grid-template-columns:1fr}
  .sparkRecList{grid-template-columns:1fr}
  .sortBar{flex-direction:column;align-items:stretch}
  .sortBar label,.sortBar .sortSpacer{width:100%}
  .sortBar select,.sortBar input[type=search],.sortBar input[type=text]{width:100%;min-width:0}
  .confirmBar{flex-direction:column;align-items:stretch}
  .confirmBar .confirmBtns{justify-content:stretch}
  .confirmBar .confirmBtns button{flex:1 1 auto}
  .chkCollapse .chkRow{flex-direction:column;gap:8px}
}

/* 2026-11-14 问题6 补丁：当前选中高亮 + 禁用按钮可读 */
.sparkcard.sparkCur{border-color:#245940;background:#f3f8f1;box-shadow:0 0 0 1px #245940 inset}
.sparkcard button:disabled{opacity:1;background:#e8f1e8;color:#5f7a68;border-color:#cfe0d2;cursor:default}

/* 2026-11-14 问题6 补丁：主线卡 cardFoot（.mainline 不是 .cardLayer）横排 */
.mainline .cardFoot{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:8px}

/* ============================================================
   2026-11-14 第24波（小弟6）：产品知识库 tab（#ctab-know）预留样式
   仅新增选择器；不改 .libEnt 原有规则、不改 .alert/.danger 定义
   类名对接：容器 id=ctab-know；卡片 .libEnt / .libEntHead / .libEnt textarea
             空库警示 #ctab-know .alert；删除按钮 .danger（复用现有）
   ============================================================ */

/* 1) 卡片内长文本：老板会一段段贴知识，必须耐读、可下拉、换行不散 */
.libEnt textarea{
  width:100%;min-height:84px;font-size:14px;line-height:1.7;
  resize:vertical;padding:10px 12px;border:1px solid #d8e0d5;border-radius:8px;
  background:#fbfcf8;color:#263f34;
  white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;
}
.libEnt textarea::placeholder{color:#a9b3ac}
.libEnt textarea:focus{background:#fff;border-color:#267965;outline:none;box-shadow:0 0 0 3px rgba(18,69,58,.10)}
/* 长文/多段知识专用加高变体（需要时加 class="long"） */
.libEnt textarea.long{min-height:150px}

/* 2) 卡片之间间距清楚（#ctab-know 内的 .libEnt 竖排） */
#ctab-know .libList{display:grid;gap:12px;margin-top:14px}
#ctab-know .libEnt{margin:0;box-sizing:border-box}
#ctab-know .libEnt + .libEnt{margin-top:12px}
#ctab-know .libEntHead{margin-bottom:8px}
#ctab-know .libEntHead .tag{margin-right:2px}
#ctab-know .libEnt > p{margin:6px 0}
/* 卡片里的操作区与正文拉开，按钮不贴字 */
#ctab-know .libEnt .actions{margin-top:12px;gap:8px}
#ctab-know .libEnt .actions button{font-size:12.5px;padding:6px 12px}

/* 3) 空库警示条：只作用于知识库 tab 顶部，红框浅底更显眼（不覆盖全局 .alert） */
#ctab-know > .alert,
#ctab-know .libList > .alert{
  background:#fdf0ee;border:1px solid #f0c2bd;border-left:4px solid #b3261e;
  color:#8f2c22;border-radius:10px;padding:12px 16px;margin:0 0 14px;font-size:13.5px;line-height:1.7;
}
#ctab-know > .alert b,
#ctab-know .libList > .alert b{color:#8f2c22}
/* 4) 删除按钮：直接复用现有 .danger / .danger.small，无需新增（此行仅作说明） */

/* 5) 窄屏：卡片内边距收紧、按钮可换行 */
@media(max-width:650px){
  #ctab-know .libEnt{padding:13px 14px}
  #ctab-know .libEnt .actions{flex-wrap:wrap}
  #ctab-know .libEnt .actions button{flex:0 0 auto}
}

/* 6) 深色兼容：只在系统深色 + 知识库 tab 内生效，避免影响全站浅色主题 */
@media(prefers-color-scheme:dark){
  html[data-know-theme] #ctab-know .libEnt,
  #ctab-know.isDark .libEnt{background:#1b2521;border-color:#2f3f39}
  #ctab-know.isDark .libEntHead b{color:#e7efe9}
  #ctab-know.isDark .libEnt p,
  #ctab-know.isDark .libEnt .muted{color:#b9c7bf}
  #ctab-know.isDark .libEnt textarea{background:#141c19;color:#e7efe9;border-color:#2f3f39}
  #ctab-know.isDark .libEnt textarea::placeholder{color:#6f7d76}
  #ctab-know.isDark > .alert,
  #ctab-know.isDark .libList > .alert{background:#2a1d1b;border-color:#5e3630;border-left-color:#d9503f;color:#f0b8ae}
}

/* ================= A1 免费体检（页面入口） ================= */
.asset .checkAsset{height:22px;padding:0 9px;font-size:11px;line-height:20px;border-radius:11px;
  color:#245940;border:1px solid #cfe3d2;background:#f2f8f3;cursor:pointer;margin:0 0 0 6px;flex:none}
.asset .checkAsset:hover{background:#e4f4e6}
.asset .checkAsset:disabled{opacity:.55;cursor:default}
.checkHead{font-size:15px;font-weight:600;padding:12px 14px;border-radius:10px;margin:6px 0 14px;line-height:1.6}
.checkHead.pass{color:#1f6b3a;background:#e4f4e6;border:1px solid #bfe3c6}
.checkHead.warn{color:#9a6525;background:#fff6e5;border:1px solid #f2ddb8}
.checkHead.fail{color:#b3261e;background:#fdecea;border:1px solid #f3cdc9}
.checkRow{display:flex;gap:10px;align-items:flex-start;padding:9px 0;border-bottom:1px solid #edf0e9}
.checkRow:last-of-type{border-bottom:0}
.checkRow .ckDot{flex:none;width:8px;height:8px;border-radius:50%;margin-top:6px}
.ckDot.pass{background:#3ba55d}
.ckDot.warn{background:#e0a536}
.ckDot.fail{background:#d93a2b}
.checkRow .ckName{flex:none;width:112px;font-size:13px;font-weight:600;color:#2c4a3d}
.checkRow .ckWhy{flex:1 1 auto;min-width:0;font-size:12.5px;color:#5d6b62;line-height:1.7;word-break:break-word}
.checkRow .ckWhy b{font-weight:600}
.checkRow .ckWhy details{margin-top:4px}
.checkRow .ckWhy details summary{font-size:11px;color:#8a968d;cursor:pointer}
.checkRow .ckWhy details p{margin:4px 0 0;font-size:11.5px}
.libItem .checkAsset{margin-left:auto}

/* 第4步：双轨 / 自述口播 两个并列大选项（2026-11-14） */
.scriptChoice{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:12px 0 16px}
.scBox{border:1px solid #dfe3e8;border-radius:12px;padding:14px;background:#fafbfc}
.scBox b{display:block;font-size:16px;margin-bottom:4px}
.scBox p{margin:0 0 10px}
.scBox .primary{width:100%}
.scBox.scSolio{border-color:#cfe3d2;background:#eef6ef}
@media(max-width:950px){.scriptChoice{grid-template-columns:1fr}}

/* 第4步 B 轨：旁白分开录（一段一条，编号 B1..Bn）2026-11-14 */
.narrPanel{margin-top:12px}
.narrTop{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;flex-wrap:wrap}
.narrTop b{font-size:15px}
.narrTop p{margin:4px 0 0}
.narrList{margin-top:10px;display:flex;flex-direction:column;gap:8px}
.narrRow{border:1px solid #e3e7eb;border-radius:10px;padding:10px 12px;background:#fbfcfd}
.narrRow.narrEmpty{border-color:#f0c9c9;background:#fdf6f6}
.narrHead{display:block;line-height:1.5}
.narrNo{display:inline-block;min-width:34px;margin-right:8px;font-weight:700;color:#1f5b47;background:#eef6ef;border-radius:6px;padding:1px 6px;text-align:center}
.narrTxt{display:inline}
.narrHead .muted{display:block;margin-top:2px}
.narrBar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:8px}
.narrBar audio{height:32px;width:100%;max-width:360px;flex:1 1 200px}
.narrPanel,.narrList,.narrRow{max-width:100%;min-width:0;overflow-wrap:anywhere}
.narrTop .actions{flex-shrink:0}

/* A 轨口型镜头（第24波）：跟 B 轨一样一段一条，但底色区分开 */
.trackA .hookRow{border:1px solid #cfe3d2;border-radius:10px;padding:10px 12px;background:#f7fbf7;margin-top:10px}
.trackA .hookRow.narrEmpty{border-color:#f0c9c9;background:#fdf6f6}
.trackA .hookRow .narrBar{margin-top:8px}
.trackA .hookRow audio,.trackA .hookRow video{max-width:100%;margin-top:6px;display:block}
.trackA .hookRow video{max-height:220px;border-radius:8px}
.trackA .narrNo{background:#dceee0;color:#1f5b47}

/* 人像提取（抠人像）结果槽 */
.cutoutSlot:empty{display:none}
.cutoutSlot{margin-top:4px;font-size:12px}
.cutoutSlot p{margin:2px 0}
.cutoutSlot a{color:#3C8562;text-decoration:underline}
.cutoutSlot .avThumb{height:auto;max-height:220px;object-fit:contain;background:
 repeating-conic-gradient(#e9ece9 0 25%,#fafbfa 0 50%) 0 0/16px 16px}

/* 侧栏分组标题：制片工场 / 后期工场（把创作模式与后期工具在视觉上分成两组） */
/* 制片工场 = 可收纳分组；后期工场 = 普通标题 */
.navGroup{margin-top:26px}
.navGroup>summary{list-style:none;cursor:pointer;user-select:none}
.navGroup>summary::-webkit-details-marker{display:none}
summary.navGroupLabel{
  margin:0 0 2px;font-size:11px;letter-spacing:.2em;
  text-transform:none;color:#9DB3A9;opacity:1;font-weight:600;
  padding-left:2px;display:flex;align-items:center;gap:8px;
}
summary.navGroupLabel::before{
  content:"▾";font-size:10px;line-height:1;color:#7f9a90;
  transition:transform .18s ease;flex:0 0 auto;
}
.navGroup:not([open])>summary.navGroupLabel::before{transform:rotate(-90deg)}
summary.navGroupLabel::after{
  content:"";display:block;flex:1;height:1px;
  background:linear-gradient(90deg,rgba(255,255,255,.16),rgba(255,255,255,0));
}
summary.navGroupLabel:hover{color:#cfe3da}
.navGroup>nav{margin-top:10px}
aside>label.navGroupLabel2{
  margin-top:22px;margin-bottom:2px;font-size:11px;letter-spacing:.2em;
  text-transform:none;color:#9DB3A9;opacity:1;font-weight:600;padding-left:2px;
}
aside>label.navGroupLabel2::after{
  content:"";display:block;height:1px;margin-top:8px;
  background:linear-gradient(90deg,rgba(255,255,255,.16),rgba(255,255,255,0));
}
nav{margin-top:10px}

/* A 轨 · 数字人图片选择行（第二行） */
.hookImgBar{gap:8px}
.hookImgLabel{font-size:12px;color:#5a6b60;white-space:nowrap}
.hookImgBar select{max-width:260px;flex:1 1 180px}
.hookImgThumb{width:44px;height:44px;object-fit:cover;border-radius:6px;border:1px solid #d7e2da;background:#fff}
.hookImgEmpty{font-size:12px;color:#9aa8a0;border:1px dashed #cfdad3;border-radius:6px;padding:6px 10px}

/* 用户资料 · 素材库：放到「选用户」与「新建用户」之间，做成同宽实体按钮 */
aside button#profile.profileBtn{
  width:100%;margin-top:10px;text-align:left;
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.13);
  color:#DDE8E2;font-weight:500;font-size:14px;padding:11px 13px;
  border-radius:var(--radius-sm);
}
aside button#profile.profileBtn:hover{background:#2d6357;border-color:#5f8a7c;color:#fff}

/* 侧栏内容变高了（多了分组标题与「用户资料」实体按钮）：允许纵向滚动，避免底部「模型连接」被屏幕切掉 */
aside{overflow-y:auto;overflow-x:hidden}
aside::-webkit-scrollbar{width:6px}
aside::-webkit-scrollbar-thumb{background:rgba(255,255,255,.14);border-radius:3px}
aside::-webkit-scrollbar-track{background:transparent}

/* 制片工场三项改成与「后期工场」同款大项按钮（图标 + 主标题 + 副标题） */
.navGroup>nav{gap:10px!important;margin-top:10px}
nav .modeBig{
  display:flex;align-items:center;gap:9px;
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.13);
  border-radius:var(--radius-sm);color:#DDE8E2;
  padding:12px 13px;font-weight:500;font-size:14.5px;letter-spacing:.02em;
  border-left:1px solid rgba(255,255,255,.13);
}
nav .modeBig:hover{background:rgba(185,145,70,.16);border-color:rgba(185,145,70,.5);color:#fff}
nav .modeBig .vlIcon{color:var(--gold);font-size:16px;line-height:1;flex:0 0 auto}
nav .modeBig small{margin-left:auto;font-size:11px;font-weight:400;opacity:.55;white-space:nowrap}
nav .modeBig.active{
  background:rgba(185,145,70,.18);
  border-color:rgba(185,145,70,.62);
  border-left:1px solid rgba(185,145,70,.62);
  color:#fff;font-weight:600;border-radius:var(--radius-sm);
}
nav .modeBig.active small{opacity:.75}



/* A 轨 · 三个入口（人像 / 场景 / 合成） */
.hookImgBlock{margin-top:6px}
.hookImgHeadRow{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.hookEntryRow{display:flex;gap:8px;margin-top:8px;flex-wrap:nowrap}
/* 三个入口做成正方形块：上号+名字，下面是已选文件名 */
.hookEntryChip{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;
  border:1px solid #dfe6e1;border-radius:10px;
  padding:8px 6px;background:#fff;cursor:pointer;font-size:12px;line-height:1.25;
  flex:0 0 auto;width:calc((100% - 16px)/3);max-width:132px;aspect-ratio:1/1;min-width:0;
  text-align:center;overflow:hidden}
.hookEntryChip:hover{border-color:#9ccab5}
.hookEntryChip.on{background:#f2faf5;border-color:#3C8562}
.hookEntryChip.active{box-shadow:0 0 0 2px rgba(60,133,98,.2)}
.hookEntryDot{width:18px;height:18px;border-radius:50%;background:#eef2ee;color:#7d8f85;
  display:flex;align-items:center;justify-content:center;font-size:11px;flex:0 0 auto}
.hookEntryChip.on .hookEntryDot{background:#3C8562;color:#fff}
.hookEntryChip b{font-weight:600;color:#26433a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.hookEntryVal{color:#3C8562;font-size:10.5px;max-width:100%;display:-webkit-box;-webkit-line-clamp:2;
  -webkit-box-orient:vertical;overflow:hidden;word-break:break-all}
.hookEntryHint{color:#9aa8a0;font-size:11px;white-space:nowrap}
/* 方块里的缩略图预览（选了图就在方块中间显示这张图） */
.hookEntryThumb{width:100%;aspect-ratio:1/1;max-height:52px;object-fit:cover;border-radius:6px;
  background:repeating-conic-gradient(#e9ece9 0 25%,#fafbfa 0 50%) 0 0/10px 10px}
@media (max-width:1250px){.hookEntryRow{flex-wrap:wrap}}
.hookEntryPanel{margin-top:8px;padding:10px;border:1px solid #e6ece8;border-radius:10px;background:#fbfdfb}
.hookPickGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(78px,1fr));gap:8px}
.hookPickCard{position:relative;display:flex;flex-direction:column;gap:2px;padding:4px;border:2px solid #e2e8e2;
  border-radius:10px;background:#fff;cursor:pointer}
.hookPickCard:hover{border-color:#9ccab5}
.hookPickCard.on{border-color:#3C8562;box-shadow:0 0 0 2px rgba(60,133,98,.18)}
.hookPickCard img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:6px;
  background:repeating-conic-gradient(#e9ece9 0 25%,#fafbfa 0 50%) 0 0/12px 12px}
.hookPickTick{position:absolute;top:6px;right:6px;width:20px;height:20px;border-radius:50%;background:#3C8562;
  color:#fff;font-size:12px;display:flex;align-items:center;justify-content:center;box-shadow:0 1px 3px rgba(0,0,0,.25)}
.hookPickName{font-size:11px;color:#5a6b60;text-align:center;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hookPickEmpty{margin:2px 0;font-size:12px}
.hookCompActions{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px}
.hookCompActions button,.hookUpBtn{font-size:12px;padding:4px 10px}
.hookUpBtn{display:inline-flex;align-items:center;border:1px solid #cfdad3;border-radius:8px;cursor:pointer;background:#fff;color:#26433a}

/* ===== 2026-11-15 · 后期工场：用与「制片工场」完全相同的一套格式 =====
   注意：此段曾被其它窗口覆盖丢失，导致 5 个入口宽度不一、且被旧的
   蓝色(数字人棚)/棕色(图片工坊)配色顶掉。以下用更高优先级统一回来。 */
aside .navGroup>button.voiceLibNav,
aside button.voiceLibNav{
  width:100%;display:flex;align-items:center;gap:9px;text-align:left;
  margin-top:10px;padding:12px 13px;
  background:rgba(255,255,255,.05);background-color:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.13);border-radius:var(--radius-sm);
  color:#DDE8E2;font-weight:500;font-size:14.5px;letter-spacing:.02em;
  box-shadow:none;
}
aside .navGroup>button.voiceLibNav:hover,
aside button.voiceLibNav:hover{
  background:rgba(185,145,70,.16);background-color:rgba(185,145,70,.16);
  border-color:rgba(185,145,70,.5);color:#fff;
}
aside button.voiceLibNav .vlIcon{color:var(--gold);font-size:16px;line-height:1;flex:0 0 auto}
aside button.voiceLibNav small{margin-left:auto;font-size:11px;font-weight:400;opacity:.55;white-space:nowrap;color:inherit}
aside button.voiceLibNav.active{
  background:rgba(185,145,70,.18);background-color:rgba(185,145,70,.18);
  border-color:rgba(185,145,70,.62);color:#fff;font-weight:600;
}
aside button.voiceLibNav.active small{opacity:.75}

/* 折叠时必须真的收起：display:contents/flex 会顶掉浏览器默认隐藏 */
.navGroup:not([open])>nav,
.navGroup:not([open])>button{display:none!important}

/* 窄屏（≤700px）侧栏是横条：两级入口都压成一行紧凑按钮 */
@media(max-width:700px){
  aside button.voiceLibNav,
  aside .navGroup>button.voiceLibNav{
    width:auto;margin-top:0;padding:8px 10px;font-size:12.5px;gap:6px;
    flex:0 0 auto;white-space:nowrap;
  }
  aside button.voiceLibNav small{display:none}
  aside button.voiceLibNav .vlIcon{font-size:13px}
  nav .modeBig{
    width:auto;padding:8px 10px;font-size:12.5px;gap:6px;flex:0 0 auto;white-space:nowrap;
  }
  nav .modeBig small{display:none}
}

/* 2026-11-15 · 「当前用户」自绘下拉（原生 select 的白色弹层无法用 CSS 改，故自绘一笔） */
#client{position:absolute;opacity:0;pointer-events:none;width:1px;height:1px;margin:0;padding:0;border:0}
.selWrap{position:relative;margin-top:9px;width:100%;min-width:0;align-self:stretch}
aside .selBtn{
  width:100%;display:flex;align-items:center;gap:8px;text-align:left;
  background:#1d4a40;color:#F4F7F2;
  border:1px solid rgba(255,255,255,.18);border-radius:var(--radius-sm);
  padding:12px 12px;font-size:14px;font-weight:500;
}
aside .selBtn:hover{background:#245a4d;border-color:rgba(185,145,70,.5);color:#fff}
.selCur{flex:1;min-width:0;white-space:normal;overflow-wrap:anywhere;line-height:1.4}
.selArrow{flex:0 0 auto;width:9px;height:9px;border-right:1.6px solid #dbb76f;border-bottom:1.6px solid #dbb76f;transform:rotate(45deg) translate(-2px,-2px);transition:transform .16s ease}
.selWrap.open .selArrow{transform:rotate(-135deg) translate(-1px,-1px)}
.selMenu{
  position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:90;
  margin:0;padding:6px;list-style:none;display:none;
  background:#1d4a40;border:1px solid rgba(185,145,70,.42);border-radius:10px;
  box-shadow:0 14px 34px rgba(0,0,0,.45);max-height:260px;overflow-y:auto;
}
.selWrap.open .selMenu{display:block}
.selMenu li{
  padding:10px 12px;border-radius:7px;font-size:13.5px;color:#DDE8E2;
  cursor:pointer;white-space:normal;overflow-wrap:anywhere;list-style:none;
}
.selMenu li:hover,.selMenu li.hl{background:rgba(185,145,70,.2);color:#fff}
.selMenu li.on{background:rgba(185,145,70,.28);color:#fff;font-weight:600}
.selMenu li.on::after{content:"✓";float:right;color:#dbb76f;font-size:12px;margin-left:8px}
.selMenu:empty::before{content:"还没有用户";display:block;padding:10px 12px;color:#8fa79c;font-size:12.5px}

/* A 轨「数字人图片」合成键常驻 + 素材库图片分类按钮 */
.hookCompActions{align-items:center}
.hookCompActions button[disabled]{opacity:.45;cursor:not-allowed}
.avCatRow{display:flex;gap:5px;margin-top:4px}
.avCat{flex:1;font-size:11.5px;padding:3px 0;border:1px solid #dfe6e1;background:#fff;border-radius:7px;color:#5c7168;cursor:pointer}
.avCat:hover{border-color:#9ccab5}
.avCat.on{background:#eef7f1;border-color:#3C8562;color:#22664c;font-weight:600}

/* 2026-11-15 · 音色库「输入文字配音」区块 */
.ttsText{min-height:110px!important;line-height:1.8}
.ttsBar{display:flex;align-items:center;gap:12px;margin-top:10px;flex-wrap:wrap}
.ttsOut{margin-top:12px;border:1px solid #e0e7e0;border-radius:12px;padding:12px;background:#fbfdfa}
.ttsOut audio{width:100%}
.ttsOutActs{margin-top:8px}
.ttsDown{display:inline-block;font-size:13px;color:#24634f;text-decoration:underline}
.ttsDown:hover{color:#174c3b}
#ttsState.ok{color:#267965}
#ttsState.warn{color:#9a6525}

/* 素材库 · 场景素材 tab：每张图下面的「去杂物 + 处理图片」一行 */
.sceneCleanRow{display:flex;gap:6px;align-items:center}
.sceneCleanInput{flex:1;min-width:0;font-size:12px;padding:4px 8px;border:1px solid #dfe6e1;border-radius:8px}
.sceneCleanInput:focus{outline:none;border-color:#9ccab5}
.sceneCleanRow button{font-size:12px;padding:4px 10px;white-space:nowrap}
.sceneCleanSlot{font-size:12px}
.sceneCleanSlot:empty{display:none}
.sceneCleanSlot .avThumb{height:auto;max-height:220px;object-fit:contain;background:repeating-conic-gradient(#e9ece9 0 25%,#fafbfa 0 50%) 0 0/16px 16px}

/* 2026-11-15 · 「配音功能」整块用大方框框住 */
.ttsBox{
  border:2px solid #cfdcd3;border-radius:14px;background:#fbfdfa;
  padding:18px 20px 20px;margin-top:16px;
}
.ttsBox h3{margin:0 0 6px}
.ttsBox .field:first-of-type{margin-top:12px}
/* 场景素材：输入框独占一行，按钮跟在下面，窄卡片里也看得清占位提示 */
.sceneCleanRow{flex-wrap:wrap}
.sceneCleanInput{flex:1 1 100%}
.sceneCleanRow button{flex:0 0 auto}

/* 2026-11-15 · 配音功能：存入素材库状态 */
.ttsOutActs{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.ttsSaved{font-size:12.5px;color:#7d8981}
.ttsSaved.ok{color:#267965}
.ttsSaved.warn{color:#9a6525}

/* 2026-11-15 · 配音功能：入库勾选项 */
.ttsSaveOpt{display:flex;align-items:center;gap:8px;margin-top:12px;font-size:13px;color:#3f5f50;cursor:pointer;user-select:none}
.ttsSaveOpt input{width:auto;margin:0;flex:0 0 auto}

/* A 轨 这一段的人物：图片/视频 两个选项 + 一个坑位 */
.hookKindRow{display:flex;gap:6px;margin-top:8px}
.hookKindBtn{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;align-items:flex-start;
  border:1px solid #dfe6e1;border-radius:10px;background:#fff;padding:8px 9px;cursor:pointer;
  font-size:12.5px;font-weight:600;color:#26433a;text-align:left;white-space:nowrap}
.hookKindSub{font-size:10.5px;font-weight:400;color:#7b8c83;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.hookKindBtn:hover{border-color:#9ccab5}
.hookKindBtn.on{background:#f2faf5;border-color:#3C8562;box-shadow:0 0 0 2px rgba(60,133,98,.16)}
/* A 轨「生成比例」：9:16 / 16:9 两个方形按钮，默认竖屏 */
.hookRatioRow{display:flex;gap:8px;align-items:center;margin-top:9px}
.hookRatioLabel{font-size:12px;color:#7b8c83;flex:0 0 auto}
.hookRatioBtn{width:52px;height:52px;border:1px solid #dfe6e1;border-radius:8px;background:#fff;cursor:pointer;
  font-size:11px;font-weight:600;color:#26433a;line-height:1.25;display:flex;flex-direction:column;
  align-items:center;justify-content:center;padding:0}
.hookRatioBtn:hover{border-color:#9ccab5}
.hookRatioBtn.on{background:#f2faf5;border-color:#3C8562;box-shadow:0 0 0 2px rgba(60,133,98,.16);color:#1f6b4d}
.hookMediaPick{display:flex;gap:10px;margin-top:8px;align-items:flex-start;
  border:1px solid #e6ece8;border-radius:10px;background:#fbfdfb;padding:8px}
.hookMediaThumb{flex:0 0 auto;width:88px;height:88px;border-radius:8px;overflow:hidden;background:#eef2ee}
.hookMediaThumb.empty{display:flex;align-items:center;justify-content:center;font-size:11px;color:#9aa8a0}
.hookMediaThumb img,.hookMediaThumb video,.hookPickThumb{width:100%;height:100%;object-fit:cover;display:block}
.hookMediaMeta{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}
.hookMediaMeta b{font-size:12.5px;color:#26433a;word-break:break-all}
.hookMediaActs{display:flex;gap:6px;flex-wrap:wrap}
.hookMediaActs button,.hookMediaActs .hookUpBtn{font-size:12px;padding:4px 10px}
/* 弹窗里的三段小页签 */
.hkTabs{display:flex;gap:6px;margin:8px 0 10px}
.hkTab{border:1px solid #dfe6e1;background:#fff;border-radius:8px;padding:5px 10px;font-size:12px;cursor:pointer;color:#5c7168}
.hkTab.on{background:#eef7f1;border-color:#3C8562;color:#22664c;font-weight:600}
.hkWf{margin:10px 0 4px;font-size:12px;color:#5c7168}
.hkPickOne .hookPickCard{max-width:96px}

/* 2026-11-15 · 配音功能：生成音频下面的入库行（勾选 + 确认入库 + 删去） */
.ttsSaveRow{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px;padding-top:10px;border-top:1px dashed #dbe5dd}
.ttsSaveRow .ttsSaveOpt{margin:0}
.ttsSaveRow button{flex:0 0 auto}

/* ===== 2026-11-15 · 配音功能：紧凑版面（一屏放下，不占位） ===== */
.ttsBox{border:2px solid #cfdcd3;border-radius:14px;background:#fbfdfa;padding:14px 16px 12px;margin-top:14px}
.ttsHead{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:8px}
.ttsHead h3{margin:0;font-size:16px}
.ttsHeadTip{font-size:12px;color:#8b978f}
.ttsRow{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ttsRowLabel{font-size:12.5px;font-weight:600;color:#42584c;flex:0 0 auto}
.ttsSel{width:auto!important;min-width:190px;max-width:260px;flex:0 1 auto;padding:8px 10px!important;font-size:13px!important}
.ttsRow #ttsGo{flex:0 0 auto;padding:9px 18px}
.ttsText{min-height:74px!important;margin-top:8px!important;line-height:1.75!important;font-size:13.5px!important}
.ttsStateLine{margin-top:4px;min-height:18px}
#ttsState{font-size:12.5px}
.ttsBox .ttsOut{margin-top:8px;padding:10px 12px;border-radius:10px}
.ttsBox .ttsOut audio{height:34px}
.ttsOutActs{margin-top:6px}
.ttsSaveRow{margin-top:8px;padding-top:8px}
.ttsBox .ttsSaved{margin:6px 0 0;min-height:16px;font-size:12px}

/* 最近 3 条：横向一行一个，紧凑 */
.ttsHist{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px;padding-top:9px;border-top:1px dashed #dfe8e1}
.ttsHistHead{flex:0 0 auto;font-size:11.5px;color:#7d8981;letter-spacing:.06em}
.ttsHistList{display:flex;gap:6px;flex-wrap:wrap;flex:1 1 auto;min-width:0}
.ttsHistRow{display:flex;align-items:center;gap:6px;max-width:100%;
  border:1px solid #dde7e0;background:#fff;border-radius:20px;padding:3px 9px 3px 5px;cursor:pointer;font-size:12px;line-height:1.5}
.ttsHistRow:hover{border-color:#9ccab5;background:#f2f8f3}
.ttsHistRow.on{border-color:#3C8562;background:#eef7f0}
.ttsHistPlay{flex:0 0 auto;border:0!important;background:#e8f1ea!important;color:#2b6b52!important;
  width:20px;height:20px;border-radius:50%;padding:0!important;font-size:9px!important;line-height:20px;text-align:center;cursor:pointer}
.ttsHistTxt{max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#33473c}
.ttsHistAt{color:#9aa8a0;font-size:11px;flex:0 0 auto}
.ttsHistFlag{font-size:10.5px;color:#b08a3a;flex:0 0 auto}
.ttsHistFlag.ok{color:#267965}

/* 2026-11-15 · 再压一版：最近3条强制单行不换行（多了横向滚动），整体更省高度 */
.ttsHist{flex-wrap:nowrap;overflow:hidden}
.ttsHistList{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:1px}
.ttsHistList::-webkit-scrollbar{display:none}
.ttsHistRow{flex:0 0 auto}
.ttsHistTxt{max-width:96px}
.ttsText{min-height:62px!important}
.ttsBox{padding:12px 14px 10px}
.ttsHead{margin-bottom:6px}
.ttsBox .ttsOut{margin-top:6px;padding:8px 10px}
.ttsOutActs{margin-top:4px}
.ttsSaveRow{margin-top:6px;padding-top:6px}

/* 视频预览：占满一行，能直接播放 */
.hookMediaPick.isVideo{flex-direction:column;align-items:stretch}
.hookMediaVideo{width:100%;border-radius:8px;overflow:hidden;background:#000}
.hookMediaVideo video{width:100%;max-height:220px;display:block;background:#000}

/* ===== 2026-11-15 · 音色库弹窗：版面收紧（只压空间，不改功能） ===== */
#dialogBody .vlist{gap:7px;margin-top:6px;max-height:34vh;overflow:auto}
#dialogBody .vcard{flex-direction:row;flex-wrap:wrap;align-items:center;
  column-gap:10px;row-gap:5px;padding:8px 11px}
#dialogBody .vhead{flex:1 1 auto;min-width:0}
#dialogBody .vhead b{font-size:14px}
#dialogBody .vmeta{flex:1 1 auto;font-size:11.5px;line-height:1.4}
#dialogBody .vcard audio{flex:0 1 220px;min-width:140px;width:auto;height:30px;margin-top:0}
#dialogBody .vacts{flex:0 0 auto;gap:6px;margin-left:auto}
#dialogBody .vacts button{font-size:12px;padding:5px 10px}
#dialogBody .ttsBox{margin-top:10px}
#dialogBody hr{margin:11px 0!important}
#dialogBody h3{font-size:15px;margin:0 0 3px}
#dialogBody label.field{margin:9px 0 4px;font-size:12.5px}
#dialogBody select,#dialogBody input:not([type=checkbox]){padding:8px 10px}
#dialogBody .dropZone{padding:12px 14px;gap:2px;border-radius:10px}
#dialogBody .dropZone span{font-size:12px}
#dialogBody .dropZone b{font-size:13.5px}
#dialogBody .sampleReq{padding:9px 13px;margin:8px 0 4px}
#dialogBody .sampleReq>b{margin-bottom:4px}
#dialogBody .sampleReq ul{font-size:12px;line-height:1.62;column-count:2;column-gap:20px;padding-left:18px}
#dialogBody .sampleReq li{break-inside:avoid}
#dialogBody .recTip{font-size:12px!important;line-height:1.5!important;padding:6px 10px!important}
#dialogBody #rAdd{padding:9px 16px}

/* ===== 2026-11-15 · 主页版面收紧：顶栏不再占大块高度（只压空间，不动结构） ===== */
@media(min-width:951px){main{padding:22px 40px 40px}}
header{align-items:flex-start}
#heading{font-size:24px;margin:4px 0 2px;line-height:1.2}
header p{font-size:13px;line-height:1.5}
header .eyebrow{font-size:10px}
#newTask{padding:8px 15px;font-size:13.5px}
.topline{margin:12px 0 4px;padding:9px 14px;gap:12px}
.nameCol{gap:6px}
.nameInput{padding:7px 12px!important;font-size:14px}
.taskTools{gap:6px}
.profChip{padding:4px 10px 4px 9px;font-size:12px}
.taskDel{padding:4px 10px;font-size:12px}
.steps{margin:10px 0 12px;padding-bottom:10px;gap:8px}
.steps button{padding:8px 10px;font-size:13px}

/* ===== 2026-11-15 · 侧栏也收紧一点（768 高的屏幕也要一屏看得完） ===== */
aside{padding:26px 20px 22px}
.brand{margin-bottom:26px;font-size:27px}
aside label{font-size:11.5px}
.selWrap{margin-top:7px}
.navGroup{margin-top:18px}
.navGroup>nav{gap:8px!important;margin-top:8px}
nav .modeBig{padding:10px 12px;font-size:14px}
aside button.voiceLibNav,aside .navGroup>button.voiceLibNav{padding:10px 12px;margin-top:8px;font-size:14px}
nav{margin-top:8px}
.sidebottom{gap:8px}

/* 2026-11-15 · 「新增参考音色」也用同一套大方框框住（与配音功能同款） */
.refBox{margin-top:10px}
.refBox h3{margin:0 0 4px;font-size:16px}
.refBox .field:first-of-type{margin-top:10px}
.refBox .sampleReq{margin:8px 0 0}

/* 2026-11-15 · 第一步「整理素材」：粤语整理 / 国语整理 两个按钮一行 */
.mergeLangRow{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px}
.mergeLangLabel{font-size:12px;letter-spacing:.14em;color:#7d8981;font-weight:600;white-space:nowrap}
.mergeLangRow button{flex:0 0 auto}
.mergeLangHint{font-size:12px;color:#8b978f}
/* 整理语言一行：说明文字固定换到下一行，两个按钮不被挤 */
.mergeLangRow .mergeLangHint{flex:1 1 100%;margin-top:2px;line-height:1.5}

/* 点图看大图 */
.zoomWrap{position:relative;cursor:zoom-in}
.zoomWrap img{transition:transform .15s ease}
.zoomWrap:hover img{transform:scale(1.04)}
.zoomHint{position:absolute;left:0;right:0;bottom:0;font-size:10px;text-align:center;
  background:rgba(0,0,0,.45);color:#fff;padding:2px 0;opacity:0;transition:opacity .15s}
.zoomWrap:hover .zoomHint{opacity:1}
.zoomBig{background:repeating-conic-gradient(#eef2ee 0 25%,#f7fbf8 0 50%) 0 0/18px 18px;border-radius:10px;padding:10px;text-align:center}
.zoomBig img{max-width:100%;max-height:70vh;object-fit:contain;border-radius:6px}

/* 2026-11-15 老板令：选题卡里每个小框统一同一种颜色 */
.themeGrid .theme .srcTag,
.themeGrid .theme .srcTag.interview,
.themeGrid .theme .srcTag.profile,
.themeGrid .theme .srcTag.lib,
.themeGrid .theme .srcTag.infer,
.themeGrid .theme .srcTag.knowledge,
.themeGrid .theme .sparktags .tag{
  color:#2f5b48;background:#eef4ec;border:1px solid #d5e4d8
}
.themeGrid .theme .srcTag::before{background:#7ba18c}
.themeGrid .theme .hookLine{background:#eef4ec;border-left-color:#b6c9bd;color:#40544b}
.themeGrid .theme .hookLine b{color:#2f5b48}
/* 2026-11-15 老板令：选题卡外框统一同一种颜色（含已选那张） */
.themeGrid .theme,
.themeGrid .theme.selected{
  background:#fff;
  border:1px solid #d5e4d8;
  box-shadow:none
}
.themeGrid .theme.selected{box-shadow:inset 0 0 0 1px #9fbca9}

/* 2026-11-15 老板令：可点击修改的文案，加一个看得见的提示标识 */
[data-script-line][role="button"]{
  cursor:text;
  border-bottom:1px dashed #a9c2b1;
  padding:1px 2px;
  border-radius:4px;
  transition:background .15s,border-bottom-color .15s
}
[data-script-line][role="button"]::before{
  content:"改";
  font-size:10px;
  font-weight:600;
  color:#2f5b48;
  background:#e6f0e7;
  border:1px solid #cfe0d3;
  border-radius:4px;
  padding:0 3px;
  margin-right:5px;
  vertical-align:1px
}
[data-script-line][role="button"]:hover,
[data-script-line][role="button"]:focus-visible{
  background:#e6f0e7;
  border-bottom-color:#2f5b48;
  outline:none
}

/* ===== 数字人棚做成整页（2026-11-15 老板令：弹窗改页面）+ 缩略图选人 + 比例 ===== */
.dhPage{display:none!important}
.dhPage.on{display:block}
.dhPageBar{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:14px;
  padding:14px 40px;background:rgba(255,255,255,.94);backdrop-filter:blur(6px);
  border-bottom:1px solid var(--line,#e0e5dc)}
.dhPageCrumb{font-size:13px;color:#7d8981}
.dhPageBody{max-width:1660px;margin:0 auto;padding:26px 40px 90px}
.dhPageBody h2{font-size:22px;margin:0 0 10px;color:#14313f}
@media(max-width:650px){
  .dhPageBar{padding:12px 16px}
  .dhPageBody{padding:18px 16px 70px}
}

/* 人物候选：缩略图卡片（替代下拉） */
.dhsPickGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px;margin:6px 0 4px}
.dhsPickCard{display:flex;flex-direction:column;gap:4px;padding:6px;border:1px solid #dfe6e1;border-radius:10px;
  background:#fff;cursor:pointer;text-align:left;overflow:hidden}
.dhsPickCard:hover{border-color:#9ccab5}
.dhsPickCard.on{border-color:#3C8562;box-shadow:0 0 0 2px rgba(60,133,98,.16);background:#f4fbf7}
.dhsPickThumb{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:3/4;border-radius:7px;
  overflow:hidden;background:#eef2ee}
.dhsPickThumb img,.dhsPickThumb video{width:100%;height:100%;object-fit:cover;display:block;margin:0;max-height:none}
.dhsPickNoImg{font-size:11px;color:#9aa8a0}
.dhsPickName{font-size:11.5px;line-height:1.25;color:#425a63;word-break:break-all;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.dhsRatioRow{gap:10px}
.dhsRatioRow .hookRatioBtn span{display:block;line-height:1.2}

/* 页面壳里的表单尺寸（原 #dialogBody 规则不作用于 #dhPage，这里补一份） */
.dhsScope .dhsField{display:grid;gap:5px;margin:10px 0;font-size:12.5px;color:#425a63}
.dhsScope .dhsField select,.dhsScope .dhsField textarea,.dhsScope .dhsField input[type=file]{width:100%;max-width:560px}
.dhsScope .dhsField .muted{font-size:11.5px;color:#8a979f}
.dhsScope .dhGrid{grid-template-columns:1fr 1fr;gap:16px}
@media(max-width:1100px){.dhsScope .dhGrid{grid-template-columns:1fr}}
.dhsScope .dhsCard{padding:18px 20px;background:#fff}
.dhsScope .dhsOut video{max-height:360px}
.dhsScope audio{max-width:520px}
.dhsScope .dhs3-audios,.dhsScope .dhs3-audio audio{max-width:100%}
.dhsScope .dhsTabs{margin:6px 0 8px}

/* ===== 数字人棚整页 · 排版重排（2026-11-15 v2：分区卡片 + 紧凑） ===== */
.dhsScope .dhsCard{padding:0;overflow:hidden;display:flex;flex-direction:column;gap:0}
.dhsScope .dhsHead{padding:16px 20px 12px;background:linear-gradient(180deg,#f7fbf8,#fff);border-bottom:1px solid #eef3ef}
.dhsScope .dhsHeadT{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.dhsScope .dhsHeadT b{font-size:16px;color:#14313f}
.dhsScope .dhsHeadSub{margin:6px 0 0;font-size:12.5px;color:#6f8079;line-height:1.55}
.dhsScope .dhsHeadPrice{margin:4px 0 0;font-size:11.5px;color:#9a6a12}

.dhsScope .dhsSection{padding:14px 20px;border-bottom:1px solid #f1f5f2}
.dhsScope .dhsSection:last-of-type{border-bottom:0}
.dhsScope .dhsSecHead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px;flex-wrap:wrap}
.dhsScope .dhsSecTitle{font-size:13px;font-weight:700;color:#26433a;position:relative;padding-left:9px}
.dhsScope .dhsSecTitle::before{content:'';position:absolute;left:0;top:2px;bottom:2px;width:3px;border-radius:2px;background:#3C8562}
.dhsScope .dhsSecRight{display:flex;align-items:center;gap:8px}
.dhsScope .dhsSecHint{font-size:11.5px;color:#9aa8a0}
.dhsScope .dhsMiniLink{border:0;background:none;color:#3C8562;font-size:12px;cursor:pointer;padding:2px 4px;text-decoration:underline;text-underline-offset:2px}
.dhsScope .dhsMiniLink:hover{color:#1f6b4d}

/* 比例小按钮（内联，不再占一整行） */
.dhsScope .dhsRatioMini{display:inline-flex;border:1px solid #dfe6e1;border-radius:8px;overflow:hidden;background:#fff}
.dhsScope .dhsRatioBtn{border:0;background:#fff;padding:4px 10px;font-size:11.5px;color:#5c7168;cursor:pointer;line-height:1.35}
.dhsScope .dhsRatioBtn+.dhsRatioBtn{border-left:1px solid #dfe6e1}
.dhsScope .dhsRatioBtn.on{background:#3C8562;color:#fff;font-weight:600}

/* 人物缩略图：更紧凑 */
.dhsScope .dhsPickGrid{grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:7px;margin:0}
.dhsScope .dhsPickThumb{aspect-ratio:1/1}
.dhsScope .dhsPickCard{padding:5px}
.dhsScope .dhsPickName{font-size:11px;-webkit-line-clamp:1}

/* 配音区 */
.dhsScope .dhsAudio{border-top:0;margin-top:0;padding-top:0}
.dhsScope .dhsTabs{display:flex;gap:6px;margin:0 0 10px}
.dhsScope .dhsTab{flex:1 1 0;text-align:center;font-size:12px;padding:7px 6px;border-radius:8px}
.dhsScope .dhsField{margin:8px 0}
.dhsScope .dhs3-audios{max-width:100%}

/* 底部动作条 */
.dhsScope .dhsFooter{display:flex;align-items:center;gap:12px;padding:14px 20px;background:#fafdfb;border-top:1px solid #eef3ef;flex-wrap:wrap}
.dhsScope .dhsGo{padding:9px 22px;font-size:13.5px}
.dhsScope .dhsFootPrice{font-size:11.5px;color:#9a6a12}

/* 结果区 */
.dhsScope .dhsOut{margin:0;padding:0 20px 16px}
.dhsScope .dhs2-out{padding:0 20px 16px;margin-top:0}

/* 自检折叠：省空间 */
.dhsScope .dhs3-qc{margin:0 20px 12px;background:#fbfdfc}

/* 两栏在窄屏堆叠；宽屏卡片等高 */
@media(max-width:1180px){.dhsScope .dhsCard{min-height:0}}

/* 人物候选：单行横向滑动（不折行、不拉高卡片） */
.dhsScope .dhsPickGrid{
  display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;overflow-y:hidden;
  padding:2px 2px 8px;margin:0;scrollbar-width:thin;
  scroll-snap-type:x proximity;
}
.dhsScope .dhsPickGrid::-webkit-scrollbar{height:7px}
.dhsScope .dhsPickGrid::-webkit-scrollbar-thumb{background:#cfe0d6;border-radius:6px}
.dhsScope .dhsPickCard{flex:0 0 auto;width:82px;scroll-snap-align:start}
.dhsScope .dhsPickThumb{aspect-ratio:1/1}

/* 两栏卡片：底部动作条对齐（内容长短不一时按钮在同一水平线） */
.dhsScope .dhsFooter{margin-top:auto}

/* 2026-11-15 修：顶栏右侧状态字宽窄变化会把「历史创作」框顶动，宽度定死 */
#saveState{
  width:96px;
  min-width:96px;
  max-width:96px;
  text-align:center;
  display:inline-block;
  flex:0 0 auto;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}
/* 多窗口提示不占布局位（绝对定位挂在顶栏下方），否则它一出现就把历史框挤动/撑出横向滚动 */
.topline{position:relative}
#multiWin,
.multiWin{
  position:absolute;
  right:0;
  top:100%;
  margin-top:4px;
  max-width:320px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  font-size:12px;
  color:#8a6a1f;
  visibility:hidden
}
#multiWin.on,
.multiWin.on{visibility:visible}
.topline>.histBar{flex:0 0 auto;min-width:0;max-width:100%}
.topline>.histBar .histList{overflow:hidden;min-width:0}
.topline>.histBar #histSel{flex:0 0 auto}

/* 2026-11-18 · 顶栏「历史创作」使用自绘下拉时，宽度跟内容走 */
.topline .histList>.wbSel{width:auto;min-width:0}
.topline .histList>.wbSel .wbSelBtn{white-space:nowrap}

/* 2026-11-15 修：「删除本条创作」离 IP 资料太近容易误点，拉开距离并加分隔 */
.topline .taskTools{gap:14px}
.topline .taskTools .taskDel{margin-left:26px;position:relative}
.topline .taskTools .taskDel::before{
  content:"";
  position:absolute;left:-20px;top:50%;transform:translateY(-50%);
  width:1px;height:16px;background:#D6DCD5
}
@media(max-width:950px){
  .topline .taskTools{gap:10px}
  .topline .taskTools .taskDel{margin-left:14px}
  .topline .taskTools .taskDel::before{left:-10px}
}

/* ===== 统一整页壳（数字人棚 / 音色库，与「矩阵」一致的进入方式） ===== */
.wbPageBar{display:flex;align-items:center;gap:14px;margin:0 0 14px;padding-bottom:12px;border-bottom:1px solid var(--line,#e0e5dc)}
.wbPageBar .quiet{font-size:13px}
.wbPageMount{min-width:0}
.wbPageMount>h2:first-child{margin-top:0}
/* 音色库整页里的排版（原来是弹窗，#dialogBody 的规则不适用） */
.dhsScope .vlist,.wbPageMount .vlist{display:grid;gap:8px;margin-top:6px}
.wbPageMount .vcard{display:flex;flex-wrap:wrap;align-items:center;gap:8px;border:1px solid #e6ece8;border-radius:10px;padding:9px 12px;background:#fff}
.wbPageMount .vhead{flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.wbPageMount .vhead b{font-size:14px}
.wbPageMount .vmeta{flex:1 1 260px;font-size:11.5px;line-height:1.45;color:#7d8981}
.wbPageMount .vcard audio{flex:0 1 240px;min-width:150px;width:auto;height:32px;margin-top:0}
.wbPageMount .vacts{flex:0 0 auto;gap:6px;margin-left:auto;display:flex;flex-wrap:wrap}
.wbPageMount .vacts button{font-size:12px;padding:5px 10px}
.wbPageMount .vtoast{margin:0 0 10px}
.wbPageMount .ttsBox{border:1px solid #e6ece8;border-radius:12px;padding:16px 18px;background:#fbfdfb;margin-top:16px;max-width:760px}
.wbPageMount .ttsHead{display:flex;align-items:baseline;gap:10px;margin-bottom:10px}
.wbPageMount .ttsHead h3{font-size:15px;margin:0}
.wbPageMount .ttsHeadTip{font-size:12px;color:#8a979f}
.wbPageMount .ttsRow{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.wbPageMount .ttsRowLabel{font-size:12.5px;color:#425a63;flex:0 0 auto}
.wbPageMount .ttsSel{max-width:340px;width:auto}
.wbPageMount .ttsText{min-height:110px;max-width:760px}
.wbPageMount hr{margin:18px 0;border:0;border-top:1px solid #e5e5e5}

/* ===== 2026-11-15 老板令：音色库整页排版重做（只动样式，不改结构） ===== */
/* 根因：.vcard 是纵向 flex，而 audio 拿到 flex:0 1 240px 后按「高度」算，被 max-height:230px 撑成
   一块 230px 高的空白大播放器。整页看起来像「没数据、一个大白框」。这里统一改成横向卡片。 */
/* 只对「音色库」这一页限宽，别把数字人棚/图片工坊也压窄 */
#wbPageMount:has(#vsec-ref){max-width:1040px}
#wbPageMount>.vtoast{margin:0 0 12px}
#wbPageMount>#vsec-ref>p.muted:first-child{margin:0 0 14px;line-height:1.75}

/* 卡片：左边一竖列（名字 / 档案 / 播放器），右边操作按钮成一列 */
#wbPageMount:has(#vsec-ref) .vlist{gap:10px;margin-top:8px;max-height:none;overflow:visible;padding-right:0}
#wbPageMount:has(#vsec-ref) .vcard{
  display:grid;grid-template-columns:minmax(0,1fr) auto;
  align-items:center;gap:6px 18px;
  padding:12px 16px;border:1px solid #e6ece8;border-radius:12px;background:#fff;
  flex-direction:unset
}
#wbPageMount:has(#vsec-ref) .vcard.isDefault{border-color:#cfe1d2;background:#fcfdfa}
#wbPageMount:has(#vsec-ref) .vhead{grid-column:1;flex:none;min-width:0;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
#wbPageMount:has(#vsec-ref) .vhead b{font-size:14.5px;color:#1d3d34}
#wbPageMount:has(#vsec-ref) .vmuted{font-size:11.5px;color:#8a979f;white-space:nowrap}
#wbPageMount:has(#vsec-ref) .vmeta{grid-column:1;flex:none;font-size:11.5px;line-height:1.5;color:#7d8981}
#wbPageMount:has(#vsec-ref) .vcard audio{
  grid-column:1;flex:none;width:100%;max-width:360px;min-width:0;
  height:34px;max-height:34px;margin:2px 0 0
}
#wbPageMount:has(#vsec-ref) .vacts{
  grid-column:2;grid-row:1 / span 3;align-self:center;
  display:flex;flex-direction:column;align-items:stretch;gap:6px;
  margin-left:0;min-width:112px
}
#wbPageMount:has(#vsec-ref) .vacts button{font-size:12px;padding:5px 10px;width:100%;text-align:center}

/* 三个功能块的左右宽度对齐，标题和留白统一 */
#wbPageMount:has(#vsec-ref) .ttsBox{max-width:none;margin-top:16px;padding:18px 20px;border-radius:12px}
#wbPageMount:has(#vsec-ref) .ttsHead{margin-bottom:12px}
#wbPageMount:has(#vsec-ref) .ttsRow{margin-bottom:12px}
#wbPageMount:has(#vsec-ref) .ttsSel{max-width:none;flex:1 1 260px}
#wbPageMount:has(#vsec-ref) .ttsText{max-width:none;min-height:104px}
#wbPageMount:has(#vsec-ref) hr{margin:22px 0;border-top:1px solid #e9ede7}
#wbPageMount:has(#vsec-ref) .refBox h3{margin:0 0 12px;font-size:15px}

/* 空状态：给一张灰底提示卡，而不是一块大白 */
#wbPageMount:has(#vsec-ref) .vlist>p.muted,
#wbPageMount:has(#vsec-ref) #reflist>p.muted{
  margin:0;padding:26px 18px;text-align:center;font-size:13px;color:#8a979f;
  background:#fafbf8;border:1px dashed #dde5dc;border-radius:12px
}

/* 窄屏：按钮挪到卡片下方，不再挤右边 */
@media(max-width:1100px){
  #wbPageMount:has(#vsec-ref) .vcard{grid-template-columns:minmax(0,1fr);gap:8px}
  #wbPageMount:has(#vsec-ref) .vacts{grid-column:1;grid-row:auto;flex-direction:row;flex-wrap:wrap;min-width:0;margin-top:4px}
  #wbPageMount:has(#vsec-ref) .vacts button{width:auto;flex:1 1 auto;min-width:76px}
  #wbPageMount:has(#vsec-ref) .vcard audio{max-width:none}
}

/* 音色库整页：新增参考音色这块的间距/提示框（原来按弹窗尺寸写的，整页里太挤/被裁） */
#wbPageMount:has(#vsec-ref) .refBox label.field{margin:14px 0 6px}
#wbPageMount:has(#vsec-ref) .refBox label.field:first-of-type{margin-top:8px}
#wbPageMount:has(#vsec-ref) .refBox select,
#wbPageMount:has(#vsec-ref) .refBox input{max-width:420px}
#wbPageMount:has(#vsec-ref) .refBox .recTip{margin:2px 0 12px!important;border-radius:9px;line-height:1.7!important}
#wbPageMount:has(#vsec-ref) .refBox .dropZone{padding:20px 16px;margin:4px 0 8px}
#wbPageMount:has(#vsec-ref) .refBox .sampleReq{margin:12px 0 0;padding:14px 18px}
#wbPageMount:has(#vsec-ref) .refBox .sampleReq ul{font-size:12.5px;line-height:1.85}
@media(min-width:1101px){
  #wbPageMount:has(#vsec-ref) .refBox .sampleReq ul{column-count:2;column-gap:28px}
  #wbPageMount:has(#vsec-ref) .refBox .sampleReq li{break-inside:avoid}
}
#wbPageMount:has(#vsec-ref) .refBox #rAdd{margin-top:2px}

/* ===== 2026-11-15 老板令：数字人棚改成「先选模型，再做内容」 ===== */
.dhsScope .dhsStep1Title{margin:0 0 4px;font-size:15.5px;font-weight:700;color:#1d3d34}
.dhsScope .dhsStep1Sub{margin:0 0 16px;line-height:1.7}
.dhsScope .dhsModelGrid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media(max-width:1100px){.dhsScope .dhsModelGrid{grid-template-columns:1fr}}
.dhsScope .dhsModelCard{
  display:flex;flex-direction:column;gap:10px;text-align:left;cursor:pointer;
  padding:18px 20px;border:1px solid #dfe7e2;border-radius:14px;background:#fff;
  font:inherit;color:inherit;transition:border-color .15s,box-shadow .15s,transform .15s
}
.dhsScope .dhsModelCard:hover{border-color:#3C8562;box-shadow:0 6px 22px rgba(29,61,52,.08);transform:translateY(-1px)}
.dhsScope .dhsModelTop{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.dhsScope .dhsModelNo{font-size:15px;color:#3C8562;font-weight:700}
.dhsScope .dhsModelName{font-size:16px;color:#14313f}
.dhsScope .dhsModelEng{font-size:12px;color:#8a979f}
.dhsScope .dhsModelDesc{font-size:13px;color:#5c7168;line-height:1.65}
.dhsScope .dhsModelMeta{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:12px;color:#7d8981}
.dhsScope .dhsModelPrice{font-size:11.5px;color:#9a6a12}
.dhsScope .dhsModelGo{margin-top:2px;font-size:13px;font-weight:600;color:#3C8562}
.dhsScope .dhsModelCard:hover .dhsModelGo{color:#1f6b4d}

/* 选中模型后：一条「换一个模型」的横条 */
.dhsScope .dhsPickBar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 14px;padding:8px 12px;background:#f4f8f4;border:1px solid #dde8e0;border-radius:10px}
.dhsScope .dhsBackModels{font-size:12.5px;padding:4px 10px}
.dhsScope .dhsPickBarNow{font-size:13px;font-weight:600;color:#26433a}
.dhsScope .dhGrid.dhsSingle{grid-template-columns:1fr;gap:0}

/* 选择页的「最近成片」 */
.dhsScope .dhsRecent{margin:18px 0 0;padding:14px 16px;background:#fafcfb;border:1px solid #e6ede8;border-radius:12px}
.dhsScope .dhsRecentTitle{margin:0 0 8px;font-size:13px;font-weight:700;color:#26433a}
.dhsScope .dhsRecentHead{margin:8px 0 4px;font-size:12px;color:#7d8981}
.dhsScope .dhsRecentList{display:flex;flex-direction:column;gap:4px}
.dhsScope .dhsRecentRow{display:flex;align-items:center;gap:12px;font-size:12.5px;color:#425a63}
.dhsScope .dhsRecentTime{color:#8a979f;min-width:52px}
.dhsScope .dhsRecentLink{color:#3C8562;text-decoration:underline;text-underline-offset:2px}
.dhsScope .dhsModelLast{font-size:11.5px;color:#3C8562;background:#eef7f1;border:1px solid #d3e8db;border-radius:20px;padding:2px 9px;align-self:flex-start}

/* 2026-11-15 自述口播：预计时长 + 复制/下载 收成一行（原来竖着占了三大格） */
.solioMetaRow{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:2px 0 4px}
.solioMetaRow .muted{margin:0;line-height:1.4}
.solioMetaRow button{flex:0 0 auto}

/* ===== 2026-11-15 第26波修复：左栏在矮屏/窄屏都能看到并拉动 ===== */
/* 矮屏（1024x768 这类）：整栏可滚、按钮收一档，确保「模型连接」不被挤没 */
@media(max-height:820px){
  aside{padding:18px 14px 14px}
  aside .brand{font-size:20px;margin-bottom:2px}
  aside .brand small{display:none}
  aside>label{margin-top:8px}
  nav{margin-top:8px;gap:6px}
  nav button,nav .modeBig{padding:9px 11px;font-size:13px}
  aside button.voiceLibNav{margin-top:6px;padding:9px 11px;font-size:13px}
  .sidebottom{margin-top:10px}
  .sidebottom p{display:none}
}
/* 窄屏（768 / 平板竖屏）：左栏变窄并允许横向内容收缩，不遮正文 */
@media(max-width:820px){
  aside{width:190px;padding:20px 12px}
  main{margin-left:190px;padding:20px 16px 70px}
  aside button.voiceLibNav small,nav .modeBig small{display:none}
  aside button.voiceLibNav,nav .modeBig{font-size:13px;padding:9px 10px}
}
/* 手机宽度：左栏收成顶部一条，正文占满，按钮横向可滑 */
@media(max-width:620px){
  aside{position:sticky;top:0;inset:auto;width:auto;height:auto;max-height:44vh;
        flex-direction:column;padding:12px 14px;z-index:80}
  aside .brand{font-size:17px;margin-bottom:4px}
  aside .brand small{display:none}
  main{margin-left:0;padding:14px 12px 70px}
  aside .navGroup>nav{display:flex;gap:6px;overflow-x:auto;margin-top:6px}
  aside .navGroup>nav button{flex:0 0 auto}
  .sidebottom{display:none}
}

/* ===== 2026-11-15 第26波修复：第四步/第五步排版收口 ===== */
/* ① 双轨文案：一行标题+说明+按钮，不再和②挤两张等宽卡 */
.scriptBar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:4px 0 14px;padding:12px 14px;
  background:#f7faf6;border:1px solid #e0e8dd;border-radius:10px}
.scriptBarTitle{font-weight:700;font-size:15px;color:#1f4a3c}
.scriptBar .muted{flex:1 1 240px;min-width:180px;margin:0}
/* 本篇依据：默认收起，只占一行 */
.basisFold{padding:12px 16px}
.basisFold>summary{cursor:pointer;font-size:14px}
.basisFold[open]>summary{margin-bottom:10px}
/* 第五步状态条：配乐/字幕/时长，清楚是"未加"而不是"报错" */
.kitStatusLine{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 0 2px;font-size:12.5px}
.kitStatusLine .warnTag{background:#fff4dc;color:#8a5a12;border:1px solid #f0dcae}
.kitStatusLine .muted{font-size:12.5px}
/* 数字人棚：怎么选 + 按钮未亮提示 */
.dhsJudge{margin:6px 0 12px;padding:9px 12px;background:#f4f8f6;border-left:3px solid #267965;border-radius:8px;font-size:13.5px;line-height:1.7}
.dhsFootHint{display:block;margin-top:6px;font-size:12px;color:#8a6a1f}

/* ===== 2026-11-15 第26波：素材卡的勾选框做得明显一点（老板/小白说"找不到勾选框"） ===== */
.assetHead{align-items:center}
.assetName{gap:9px!important;font-size:14px!important}
.asset input[type=checkbox],.libItem input[type=checkbox]{width:18px;height:18px;flex:0 0 auto;accent-color:#267965;cursor:pointer}
.asset .tag.warnTag{background:#fdecea;color:#8f2d20;border:1px solid #f3c2bc}

/* ===== 2026-11-15 第26波补充：音色卡「试听」标注 ===== */
.vlisten{display:flex;flex-direction:column;gap:3px;margin-top:8px}
.vlistenLabel{font-size:11.5px;color:#7d8981;letter-spacing:.3px}
.vlisten audio{height:34px;width:100%;margin-top:0}
/* 参考音色卡里"启用配音"是主操作，给点分量 */
.vcard [data-rmake]{background:#f2faf5;border-color:#3C8562;color:#1f5b47;font-weight:600}

/* ===== 2026-11-15 第26波：第五步主操作「导出粗剪片」加倍醒目（专业#31） ===== */
#exportRoughcut{font-size:17px;font-weight:700;padding:15px 34px;border-radius:12px;letter-spacing:.5px}
#exportRoughcut:disabled{opacity:.6}
#goFixVoice{font-size:14.5px;padding:13px 22px}
/* 第五步：三条灰字已经并成一条状态条后，主按钮下留白多一点 */
.roughcutBox{padding:16px 18px}
.roughcutBox .actions{margin-top:6px}
/* 第二步主题卡：字不要挤在一起（小白#36） */
.theme.cardLayer{padding:16px 18px !important;line-height:1.65}
.theme.cardLayer .cardTop{gap:8px !important}
.theme.cardLayer .hookLine{font-size:13.5px}

/* ===== 2026-11-15 第26波：A 轨「图片/视频/已有数字人」选中状态做得一眼能看出（小白#18） ===== */
.hookKindBtn.on{background:#e9f5ec;border:2px solid #2f7a55;color:#15503a;
  box-shadow:0 0 0 3px rgba(47,122,85,.14);font-weight:700}
.hookKindBtn.on .hookKindSub{color:#2f7a55}
.hookKindBtn.on::after{content:"✓";position:absolute;top:2px;right:6px;font-size:11px;color:#2f7a55}
.hookKindBtn{position:relative}

/* ===== 2026-11-16 第26波E：首页（老板令：一进页面先给首页，别直接按在创作页） ===== */
body.homePage .topline,body.homePage #steps{display:none!important}
body.homePage main{padding-top:24px}
.homeWrap{max-width:1180px}
.homeSec{margin:0 0 34px}
.homeH{font-size:14px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted,#75847C);font-weight:600;margin:0 0 14px}
.homeCards{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}
.homeCard{text-align:left;background:#fff;border:1px solid var(--line,#E4E3D9);border-radius:12px;padding:16px 18px;display:flex;flex-direction:column;gap:6px}
.homeCard b{font-size:15px;color:var(--ink,#172824);font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.homeCard small{font-size:12px;color:var(--muted,#75847C)}
.homeModes{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.homeMode{text-align:left;background:#fff;border:1px solid var(--line,#E4E3D9);border-radius:14px;padding:20px;display:flex;flex-direction:column;gap:8px;min-height:132px}
.homeMode .hmIcon{font-size:19px;color:var(--gold,#B99146);line-height:1}
.homeMode b{font-size:16px;color:var(--forest,#12453A);font-weight:650}
.homeMode small{font-size:12.5px;line-height:1.65;color:var(--muted,#75847C)}
.homeGroup{border-top:1px solid var(--line,#E4E3D9);padding-top:14px;margin-top:14px}
.homeGroupHead{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:650;color:var(--ink,#172824);margin-bottom:8px;flex-wrap:wrap}
.homeGroupHead .muted{font-size:12px}
.homeClean{margin-left:auto;font-size:12px;color:#8a5a2b;border:1px solid #e5d3b8;background:#fff8ee;border-radius:8px;padding:5px 10px}
.homeClean:hover{background:#fdefdc;border-color:#d8bb92}
.homeRow{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:transparent;border:0;border-bottom:1px dashed #eceee6;border-radius:0;padding:11px 4px}
.homeRow:hover{background:#f6f8f2;border-color:#eceee6}
.homeRow b{font-size:14px;font-weight:600;color:var(--ink,#172824);flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.homeRow .homeMeta{font-size:12px;color:var(--muted,#75847C);flex:0 0 auto}
.homeRow.blank b{color:#9aa5a0;font-weight:400}
.homeEmpty{font-size:13px;color:var(--muted,#75847C);padding:12px 4px}
.homeNavWrap{margin-top:20px;display:block}
.homeNavWrap .homeNavBtn{width:100%;background:transparent;border:1px solid #43665a;color:#eef4ea;font-weight:600;display:flex;align-items:center;gap:9px;padding:14px 10px}
.homeNavWrap .homeNavBtn:hover{background:#245047;border-color:#5f8a7c;color:#fff}
@media(max-width:820px){.homeModes{grid-template-columns:1fr}}

/* ===== 2026-11-16 第26波F：首页做成「越食越顺传媒」公司首页 ===== */
.homeHero{display:flex;gap:32px;align-items:center;justify-content:space-between;flex-wrap:wrap;
  background:linear-gradient(120deg,#12453A,#1d5c4a 62%,#27715a);color:#eef4ea;
  border-radius:18px;padding:30px 34px;margin:0 0 34px}
.homeHeroTxt{min-width:260px;flex:1 1 360px}
.homeHeroKicker{display:block;font-size:11px;letter-spacing:.22em;text-transform:uppercase;color:#dbb76f;margin-bottom:10px}
.homeHeroT{font-size:25px;line-height:1.35;margin:0 0 10px;font-weight:650;color:#fff;letter-spacing:.01em}
.homeHeroSub{font-size:13.5px;line-height:1.85;margin:0;color:rgba(238,244,234,.78);max-width:620px}
.homeStats{display:grid;grid-template-columns:repeat(5,minmax(76px,1fr));gap:10px;flex:1 1 380px}
.homeStat{background:rgba(255,255,255,.10);border:1px solid rgba(219,183,111,.28);border-radius:12px;
  padding:14px 10px;text-align:center}
.homeStat b{display:block;font-size:24px;font-weight:650;color:#fff;line-height:1.15}
.homeStat span{display:block;font-size:11px;color:rgba(238,244,234,.7);margin-top:6px;letter-spacing:.02em}
.clientBoard{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:16px}
.clientCard{background:#fff;border:1px solid var(--line,#E4E3D9);border-radius:14px;padding:18px 20px 8px}
.clientTop{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:14px}
.clientName{font-size:16px;font-weight:650;color:var(--ink,#172824);display:flex;align-items:center;gap:8px}
.clientLang{font-size:11px;font-weight:400;background:#eef2e6;color:#547047;border-radius:20px;padding:2px 9px}
.clientProf{margin-left:auto;font-size:11.5px;color:#a5762a;background:#fdf5e6;border:1px solid #ecdcbb;border-radius:20px;padding:3px 10px}
.clientProf.on{color:#2f7a55;background:#eff8f1;border-color:#cfe6d6}
.clientNums{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:14px}
.clientNums>div{background:#f8faf5;border-radius:10px;padding:10px 6px;text-align:center}
.clientNums b{display:block;font-size:19px;font-weight:650;color:var(--forest,#12453A);line-height:1.2}
.clientNums span{display:block;font-size:11px;color:var(--muted,#75847C);margin-top:3px}
.clientActs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}
.clientActs .primary{padding:8px 14px;font-size:13px}
.clientActs .quiet{font-size:12px;padding:8px 10px;border:1px solid #e2e8de;border-radius:8px;background:#fff}
.clientActs .homeClean{margin-left:0}
.clientTasks{border-top:1px solid #eef0e9;padding-top:6px}
.homeMore{font-size:12px;color:var(--muted,#75847C);padding:8px 4px 10px}
@media(max-width:900px){
  .homeStats{grid-template-columns:repeat(3,minmax(70px,1fr));flex:1 1 100%}
  .homeHero{padding:22px 20px}
  .homeHeroT{font-size:21px}
  .clientBoard{grid-template-columns:1fr}
}
@media(max-width:560px){
  .homeStats{grid-template-columns:repeat(2,minmax(70px,1fr))}
  .clientNums{grid-template-columns:repeat(2,1fr)}
}

/* ===== 2026-11-16 第26波G：首页四块（公司简介 / 开始创作 / 注册账号 / 账号登陆） ===== */
.homeCaps{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.homeCap{font-size:12px;color:#eef4ea;background:rgba(255,255,255,.10);border:1px solid rgba(219,183,111,.32);border-radius:20px;padding:5px 12px}
.homeHint{font-size:13px;color:#a5762a;background:#fdf5e6;border:1px solid #ecdcbb;border-radius:10px;padding:10px 14px;margin:0 0 14px}
.accCard{background:#fff;border:1px solid var(--line,#E4E3D9);border-radius:14px;padding:20px 22px;max-width:640px}
.accDesc{font-size:13px;line-height:1.75;color:var(--muted,#75847C);margin:0 0 14px}
.accRow{display:flex;gap:10px;align-items:center}
.accInput{flex:1 1 auto;min-width:0;border:1px solid #d8e0d5;background:#fbfcf8;border-radius:9px;padding:11px 13px;font-size:14px;color:#263f34}
.accRow .primary{flex:0 0 auto;padding:11px 22px}
.accTip{font-size:12.5px;color:#a5762a;margin:10px 0 0;min-height:1em}
.accOn{padding:16px 20px}
.accOnRow{display:flex;align-items:center;gap:12px}
.accDot{width:9px;height:9px;border-radius:50%;background:#3f9c6d;flex:0 0 auto;box-shadow:0 0 0 4px rgba(63,156,109,.16)}
.accOnRow b{display:block;font-size:14.5px;color:var(--ink,#172824)}
.accOnRow small{display:block;font-size:12px;color:var(--muted,#75847C);margin-top:3px}
.accOnRow .quiet{margin-left:auto;font-size:12.5px;border:1px solid #e2e8de;border-radius:8px;padding:7px 12px;background:#fff}
@media(max-width:560px){.accRow{flex-wrap:wrap}.accRow .primary{width:100%}}

/* ===== 2026-11-16 第26波H：落地页（老板发图：网址一打开就是这个样子） ===== */
/* 落地页整页铺满：藏左栏、藏页头/步骤条 */
body.homePage aside{display:none!important}
body.homePage header{display:none!important}
body.homePage main{margin-left:0!important;padding:0!important;max-width:none!important}
body.homePage #workspace{max-width:none}
body.homePage{background:#fff}

.ldWrap{min-height:100vh;display:flex;flex-direction:column;
  background:
    radial-gradient(900px 520px at 78% -8%,rgba(46,143,123,.13),transparent 62%),
    radial-gradient(700px 460px at 8% 104%,rgba(15,107,90,.10),transparent 60%),
    #fff;
  color:#14211D}
.ldTop{display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:18px 28px 16px;border-bottom:1px solid #E8EFEA}
.ldBrand{display:flex;align-items:center;gap:13px}
.ldLogo{width:46px;height:46px;border-radius:13px;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(140deg,#0F6B5A,#2E8F7B);color:#fff;font-size:24px;font-weight:700;
  box-shadow:0 8px 20px -10px rgba(15,107,90,.75)}
.ldBrand b{display:block;font-size:16.5px;font-weight:650;color:#14211D;letter-spacing:.01em}
.ldBrand small{display:block;font-size:12px;color:#7C8B84;margin-top:3px}
.ldTopRight{display:flex;align-items:center;gap:10px}
.ldVer{font-size:12.5px;color:#93A19A;letter-spacing:.06em}
.ldUser{font-size:12.5px;color:#5B5772;background:#E8F5EF;border:1px solid #D6EDE3;border-radius:20px;padding:5px 12px}
.ldEnterBtn{font-size:13px;background:linear-gradient(135deg,#0F6B5A,#1E8570);color:#fff;border:0;border-radius:9px;padding:9px 16px;font-weight:600}
.ldEnterBtn:hover{filter:brightness(1.06)}
.ldIconBtn{width:40px;height:40px;border-radius:10px;border:1px solid #DFE8E1;background:#fff;color:#6E7D76;font-size:15px;line-height:1;padding:0}
.ldIconBtn:hover{border-color:#8FD3BC;color:#0A4A3E;background:#F4FAF6}

.ldBody{flex:1 1 auto;display:grid;grid-template-columns:minmax(400px,47%) 1fr;gap:0;
  align-items:stretch;padding:0;max-width:none;width:100%;margin:0}
.ldLeft{min-width:0}
.ldKicker{display:block;font-size:12px;letter-spacing:.24em;color:#0F6B5A;font-weight:600;position:relative;padding-left:34px}
.ldKicker::before{content:'';position:absolute;left:0;top:50%;width:24px;height:2px;background:#0F6B5A;transform:translateY(-50%)}
.ldTitle{font-size:46px;line-height:1.18;font-weight:750;letter-spacing:.01em;margin:14px 0 12px;color:#14211D}
.ldTitle span{background:linear-gradient(100deg,#0F6B5A,#2E8F7B 55%,#4FA98E);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.ldSlogan{font-size:19px;color:#364640;margin:0 0 4px;letter-spacing:.01em}
.ldArtWrap{margin-top:6px;max-width:660px}
.ldArt{width:100%;height:auto;display:block}

.ldCards{margin-top:26px;max-width:560px}
/* 右栏：留给老板放图（现在空着） */
.ldArtSlot{min-height:380px;border-radius:20px}
.ldRight{min-width:0;align-self:center}
.ldRightKicker{font-size:13px;letter-spacing:.18em;color:#0F6B5A;font-weight:600;margin:0 0 8px}
.ldRightT{font-size:30px;font-weight:700;color:#14211D;margin:0 0 22px;letter-spacing:.01em}
.ldCard{display:flex;gap:16px;align-items:flex-start;width:100%;text-align:left;
  background:#fff;border:1px solid #DFE8E1;border-radius:16px;padding:22px 22px 18px;margin-bottom:14px;
  transition:border-color .16s,box-shadow .16s,transform .12s}
.ldCard:hover{border-color:#8FD3BC;box-shadow:0 18px 40px -26px rgba(15,107,90,.55);transform:translateY(-1px)}
.ldCardMain{border-color:#8FD3BC;box-shadow:0 18px 44px -30px rgba(15,107,90,.6)}
.ldCardIcon{flex:0 0 auto;width:46px;height:46px;border-radius:13px;display:flex;align-items:center;justify-content:center;
  font-size:19px;color:#0A4A3E;background:#E8F5EF;border:1px solid #D6EDE3}
.ldCardMain .ldCardIcon{background:#DFF2E9}
.ldCardBody{min-width:0;flex:1 1 auto}
.ldCardBody b{display:block;font-size:19px;font-weight:700;color:#14211D;margin-bottom:7px}
.ldCardBody p{font-size:13.5px;line-height:1.7;color:#5E6E67;margin:0 0 11px}
.ldTags{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:12px}
.ldTags span{font-size:12.5px;color:#6E7D76;position:relative;padding-left:12px}
.ldTags span::before{content:'';position:absolute;left:0;top:50%;width:5px;height:5px;border-radius:50%;background:#8FD3BC;transform:translateY(-50%)}
.ldGo{display:inline-flex;align-items:center;gap:7px;font-size:14px;font-weight:700;color:#0A4A3E}
.ldGo i{font-style:normal;transition:transform .16s}
.ldCard:hover .ldGo i{transform:translateX(3px)}

.ldFoot{display:flex;align-items:center;justify-content:center;gap:44px;flex-wrap:wrap;
  padding:16px 24px 24px;border-top:1px solid #E8EFEA}
.ldFootItem{display:inline-flex;align-items:center;gap:8px;font-size:13.5px;color:#7C8B84}
.ldFootItem i{font-style:normal;color:#6FBFA4;font-size:15px}

/* 账号弹窗 */
.accDialogSub{font-size:13px;line-height:1.75;color:#5E6E67;margin:0 0 16px}
.accPicks{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px}
.accPick{font-size:13px;border:1px solid #D6EDE3;background:#F4FAF6;color:#5B5772;border-radius:20px;padding:6px 14px}
.accPick:hover{border-color:#8FD3BC;color:#0A4A3E;background:#EAF6F1}

@media(max-width:1180px){
  .ldBody{grid-template-columns:1fr;gap:20px;padding:20px 20px 16px}
  .ldTitle{font-size:36px}
  .ldRightT{font-size:25px}
  .ldArtSlot{min-height:240px;order:2}
  .ldCards{max-width:none}
}
@media(max-width:640px){
  .ldTop{padding:14px 16px}
  .ldBody{padding:14px 14px 12px}
  .ldTitle{font-size:29px}
  .ldSlogan{font-size:15.5px}
  .ldRightT{font-size:21px}
  .ldCard{padding:16px 15px;gap:12px}
  .ldCardBody b{font-size:16.5px}
  .ldCardIcon{width:38px;height:38px;font-size:16px}
  .ldFoot{gap:18px 26px;padding:14px 16px 20px}
}

/* ===== 2026-11-16 第26波J：工作台「进入面」（左侧工具栏不动，右侧换 hero） ===== */
body.studioPage .topline,body.studioPage #steps,body.studioPage header{display:none!important}
body.studioPage main{padding:18px 24px 24px!important;max-width:none!important;width:auto!important}
body.studioPage #workspace{max-width:none!important;width:100%!important}
body.studioPage #notice{margin-bottom:10px}
.stWrap{max-width:none;width:100%;margin:0;display:flex;flex-direction:column;gap:16px;
  min-height:calc(100vh - 42px)}
.stTop{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;
  background:#F5FAF7;border:1px solid #E4EDE7;border-radius:14px;padding:12px 18px;margin:0 0 16px}
.stCredits{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.stCred{display:inline-flex;align-items:center;gap:9px;font-size:13px;color:#5E6E67;
  text-decoration:none;border-radius:8px;padding:3px 7px;cursor:pointer}
.stCred:hover{background:#E8F5EF;color:#0A4A3E}
.stCred b{font-weight:400;color:#71817A}
.stCred em{font-style:normal;color:#AEBDB6}
.stCredNote{font-size:12px;color:#B9C7C0;font-weight:400}
.stTopRight{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.stPill{display:inline-flex;align-items:center;gap:8px;font-size:13.5px;font-weight:600;color:#2C3B35;
  background:#fff;border:1px solid #DFE8E1;border-radius:11px;padding:8px 14px;text-decoration:none;cursor:pointer}
.stPill:hover{border-color:#8FD3BC;color:#0A4A3E;background:#F4FAF6}
.stPillIc{width:22px;height:22px;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;
  font-size:11.5px;font-weight:700;color:#0A4A3E;background:#E8F5EF;border:1px solid #D6EDE3}
.stCaret{font-style:normal;color:#9AABA3;font-size:12px;margin-left:2px}
.stPillWrap{position:relative}
.stPillMenu{position:absolute;top:calc(100% + 8px);right:0;z-index:60;min-width:210px;
  background:#fff;border:1px solid #DFE8E1;border-radius:13px;padding:8px;
  box-shadow:0 22px 50px -26px rgba(20,40,32,.45)}
.stPillMenu[hidden]{display:none}
.stPillMenu a{display:block;font-size:13px;color:#2C3B35;text-decoration:none;border-radius:8px;padding:9px 11px}
.stPillMenu a:hover{background:#EAF6F1;color:#0A4A3E}
.stPillMenu p{font-size:11.5px;line-height:1.6;color:#9AABA3;margin:6px 4px 2px;padding-top:6px;border-top:1px solid #E8EFEA}
.stAcct{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #DFE8E1;border-radius:12px;padding:7px 14px 7px 8px}
.stAcct:hover{border-color:#8FD3BC;background:#F4FAF6}
.stAcctTxt{text-align:left}
.stAvatar{width:34px;height:34px;border-radius:10px;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(140deg,#0F6B5A,#2E8F7B);color:#fff;font-weight:700;font-size:16px}
.stAcctTxt b{display:block;font-size:13.5px;color:#14211D;font-weight:650}
.stAcctTxt small{display:block;font-size:11.5px;color:#7C8B84;margin-top:2px}

.stHero{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:0;
  background:linear-gradient(160deg,#F4FAF6 0%,#EAF6F1 45%,#FFFFFF 100%);
  border:1px solid #E4EDE7;border-radius:20px;padding:44px 48px;
  margin:0;flex:1 1 auto;min-height:340px}
.stTxt{min-width:0;max-width:860px;width:100%}
.stKicker{display:block;font-size:11px;letter-spacing:.2em;color:#7FA093;font-weight:600}
.stTitle{font-size:44px;line-height:1.16;font-weight:750;letter-spacing:.01em;margin:16px 0 10px;color:#16241F}
.stTitle span{background:linear-gradient(100deg,#0F6B5A,#2E8F7B 55%,#4FA98E);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.stSlogan{font-size:20px;font-weight:600;color:#2C3B35;margin:0 0 12px;letter-spacing:.01em}
.stDesc{font-size:13.5px;line-height:1.85;color:#5E6E67;margin:0 0 22px;max-width:520px}
.stBtns{display:flex;gap:12px;flex-wrap:wrap}
.stBtnPrimary,.stBtnGhost{display:inline-flex;align-items:center;gap:9px;font-size:15px;font-weight:600;
  border-radius:11px;padding:13px 22px;border:1px solid transparent}
.stBtnPrimary{background:linear-gradient(135deg,#0F6B5A,#1E8570);color:#fff;box-shadow:0 14px 30px -18px rgba(15,107,90,.9)}
.stBtnPrimary:hover{filter:brightness(1.06)}
.stBtnGhost{background:#fff;color:#364640;border-color:#DFE8E1}
.stBtnGhost:hover{border-color:#8FD3BC;color:#0A4A3E}
.stBtns i{font-style:normal;font-size:15px}
.stBtns .arw{font-style:normal;opacity:.75;margin-left:2px}
.stArt{display:flex;align-items:center;justify-content:center;min-width:0}
.stArt .ldArt{width:100%;height:auto;display:block;max-width:520px}

.stFoot{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.stFeat{background:#fff;border:1px solid #E4EDE7;border-radius:14px;padding:16px 18px}
.stFeat b{display:block;font-size:14px;font-weight:650;color:#16241F;margin-bottom:5px}
.stFeat small{font-size:12px;color:#7C8B84}

/* 「开始创作 / 全部功能」里的小选择卡 */
.stPick{display:grid;grid-template-columns:1fr;gap:10px;margin-top:14px}
.stPickBtn{text-align:left;background:#fff;border:1px solid #DFE8E1;border-radius:12px;padding:14px 16px}
.stPickBtn:hover{border-color:#8FD3BC;background:#F4FAF6}
.stPickBtn b{display:block;font-size:14.5px;color:#16241F;margin-bottom:4px}
.stPickBtn small{display:block;font-size:12.5px;line-height:1.6;color:#6E7D76}

@media(min-width:1700px){
  .stTitle{font-size:52px}
  .stSlogan{font-size:23px}
  .stDesc{font-size:15px;max-width:620px}
  .stHero{padding:60px 68px}
}
@media(max-width:1100px){
  .stHero{padding:28px 26px}
  .stTitle{font-size:34px}
  .stFoot{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:640px){
  body.studioPage main{padding:14px 14px 30px!important}
  .stArt{display:none}
  .stTitle{font-size:26px}
  .stSlogan{font-size:16.5px}
  .stHero{padding:20px 16px}
  .stFoot{grid-template-columns:1fr}
  .stCredits{gap:12px}
}

/* ---------- 左下角三入口：任务中心/记录 · 设置 · 关于我们 ---------- */
.sidebottom.sbThree{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:auto}
.sbThree .sbItem{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;
  padding:9px 3px;border:1px solid transparent;border-radius:10px;background:transparent;
  color:#B9CCC3;font-size:11px;line-height:1.3;text-align:center;letter-spacing:0;font-weight:500;
  white-space:normal;word-break:keep-all;
}
.sbThree .sbItem .sbIc{font-size:15px;line-height:1;opacity:.8}
.sbThree .sbItem:hover{background:rgba(255,255,255,.06);color:#fff;border-color:transparent}
.sbThree .sbItem.active{border-color:rgba(185,145,70,.55);background:rgba(185,145,70,.14);color:#fff}
.sbThree .sbItem.active .sbIc{opacity:1;color:var(--gold)}
@media(max-width:650px){
  .sidebottom.sbThree{grid-template-columns:repeat(3,1fr);margin:8px 0 0}
  .sbThree .sbItem{font-size:10.5px;padding:7px 2px}
}

/* ---------- 交付记录页 ---------- */
.dlvWrap{padding:4px 0 40px}
.dlvBar{display:flex;align-items:center;gap:10px;margin-bottom:12px;flex-wrap:wrap}
.dlvFilterL{font-size:13px;color:#5d6f66}
.dlvBar select{width:auto;min-width:150px;padding:8px 12px;background:#fff}
.dlvBarRight{margin-left:auto}
.dlvTable{width:100%;border-collapse:collapse;background:#fff;border:1px solid #e0e5dc;border-radius:12px;overflow:hidden}
.dlvTable th{background:#f3f6ef;font-size:12px;font-weight:600;color:#5d6f66;text-align:left;padding:10px 12px;border-bottom:1px solid #e0e5dc;white-space:nowrap}
.dlvTable td{padding:11px 12px;font-size:13.5px;border-bottom:1px solid #eef1ea;vertical-align:middle}
.dlvTable tr:last-child td{border-bottom:0}
.dlvTable tr:hover td{background:#fafbf7}
.dlvName{font-weight:500;color:#253a36}
.dlvOrphan td{color:#8d9a92}
.dlvTag{font-size:10.5px;background:#f0f0ec;color:#8a8a80;padding:2px 7px;border-radius:20px;margin-left:6px}
.dlvOps{white-space:nowrap}
.dlvDl{display:inline-block;padding:5px 12px;border:1px solid #cfe0d3;border-radius:8px;color:#24634f;font-size:12.5px;text-decoration:none;background:#f4f9f2}
.dlvDl:hover{background:#e8f3e5;border-color:#a9c8b0}
.dlvDel{margin-left:8px;padding:5px 10px;font-size:12.5px}
@media(max-width:760px){.dlvTable th:nth-child(1),.dlvTable td:nth-child(1){display:none}}

/* ===== 2026-11-16 VI落地：翠绿主色 + 国潮花图（只覆盖外观，不动结构） ===== */
:root{
  --vi-emer:#0F6B5A;      /* 主色 翠绿 */
  --vi-emer-d:#0A4A3E;    /* 深翠（主字/按钮结束色） */
  --vi-emer-l:#2E8F7B;    /* 亮翠（渐变高光） */
  --vi-mint:#E8F5EF;      /* 淡薄荷（底/浅底块） */
  --vi-jade:#8FD3BC;      /* 玉色（描边/装饰点） */
  --vi-gold:#C6A15B;      /* 金（点缀，保留国潮感） */
  --vi-line:#DFE8E1;      /* 分隔线 */
  --vi-ink:#14211D;       /* 主文字 */
}

/* 登录页整页：15% 花底纹叠白，光晕改翠绿 */
body.homePage .ldWrap{
  background:
    linear-gradient(rgba(255,255,255,.85),rgba(255,255,255,.85)),
    url("vi/floral.jpg") no-repeat right bottom / cover,
    radial-gradient(900px 520px at 78% -8%,rgba(46,143,123,.16),transparent 62%),
    radial-gradient(700px 460px at 8% 104%,rgba(15,107,90,.10),transparent 60%),
    #fff !important;
  opacity:1;
}
/* 工作台首页 hero：整张花图铺满，左白渐变保证文字可读（不裁局部兽） */
.stHero{
  background-image:
    linear-gradient(100deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.94) 34%,rgba(255,255,255,.72) 58%,rgba(255,255,255,.38) 100%),
    url("vi/floral.jpg") !important;
  background-repeat:no-repeat,no-repeat !important;
  background-position:left top,right center !important;
  background-size:100% 100%,auto 132% !important;
  background-color:#F6FBF8 !important;
}
@media(max-width:1100px){
  .stHero{
    background-image:
      linear-gradient(180deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.9) 55%,rgba(255,255,255,.62) 100%),
      url("vi/floral.jpg") !important;
    background-position:left top,right center !important;
    background-size:100% 100%,auto 118% !important;
  }
}

/* ===== 全站底纹：整张花图铺满整页（15% 透明），像参考图那样只在四边透出 ===== */
body:not(.homePage)::after{
  content:'';position:fixed;inset:0;z-index:0;pointer-events:none;
  background:url("vi/workspace-lion.png") center/cover no-repeat;
  opacity:.15;
}
body:not(.homePage) aside{z-index:1}
body:not(.homePage) main{position:relative;z-index:1}

/* ===== 登录页排版（老板 2026-11-16）：左边标题+两个入口，右边一整张花图贴边铺满 ===== */
.ldBody{align-items:stretch}
.ldLeft{display:flex;flex-direction:column;justify-content:center;min-width:0;
  padding:28px 44px 26px 40px}
.ldCards{margin:22px 0 0!important;max-width:none!important;width:100%}
.ldArtSlot{grid-column:2;grid-row:1;align-self:stretch;
  height:100%;min-height:420px;
  background:
    url("vi/floral-right.jpg") center/cover no-repeat,
    var(--vi-mint)!important;
  border-radius:22px 0 0 0;
  box-shadow:0 34px 80px -50px rgba(10,74,62,.4);
  z-index:1}
.ldCards .ldCard{box-shadow:0 16px 34px -26px rgba(10,74,62,.4)}
@media(max-width:1180px){
  /* 窄屏：图在上贴满，标题与卡片在下 */
  .ldBody{grid-template-columns:1fr!important;gap:0!important}
  .ldArtSlot{grid-column:1;grid-row:1;min-height:280px;height:280px;border-radius:0}
  .ldLeft{grid-column:1;grid-row:2;padding:22px 22px 20px}
}

/* ===== 2026-11-16 第26波K：进入面顶部积分条重做（老板：这一栏弄好看一点） ===== */
.stTop{
  background:#fff;border:1px solid #E6EEE9;border-radius:16px;
  padding:9px 12px 9px 6px;margin:0 0 16px;
  box-shadow:0 10px 26px -22px rgba(16,60,48,.5);
  display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;
}
.stCredits{display:flex;align-items:stretch;gap:0;flex-wrap:wrap;min-width:0}
.stTop .stCred{
  display:flex;flex-direction:column;justify-content:center;gap:2px;
  padding:4px 12px;border-radius:9px;text-decoration:none;cursor:pointer;
  border-left:1px solid #EDF3EF;transition:background .15s;
}
.stTop .stCredits>.stCred:first-child{border-left:0;padding-left:10px}
.stTop .stCred:hover{background:#F2FAF6}
.stTop .stCred b{font-size:10.5px;font-weight:500;color:#93A49C;letter-spacing:.02em}
.stTop .stCred em{
  font-style:normal;font-size:15px;font-weight:700;color:#1E3A31;line-height:1.2;
  font-variant-numeric:tabular-nums;
}
.stTop .stCred em.isEmpty{color:#C6D3CC;font-weight:500}
.stTop .stCredNote{
  font-size:11.5px;color:#A9B8B1;font-weight:400;padding-left:14px;
  border-left:1px solid #EDF3EF;display:flex;align-items:center;margin-left:2px;
}
.stTopRight{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.stTop .stPill,.stTop .stAcct{height:44px}
.stTop .stPill{padding:0 14px}
.stTop .stAcct{padding:0 14px 0 6px}
.stTop .stAvatar{width:32px;height:32px;border-radius:9px}
@media(max-width:1320px){
  .stTop .stCredNote{display:none}
  .stTop .stCred{padding:4px 10px}
}
@media(max-width:900px){
  .stTop{padding:8px 10px}
  .stTop .stCredits{width:100%;justify-content:space-between}
  .stTop .stCred{padding:4px 8px}
  .stTop .stCred em{font-size:15px}
  .stTopRight{width:100%;justify-content:flex-end}
}
@media(max-width:640px){
  .stTop .stCred b{font-size:10.5px}
  .stTop .stCred em{font-size:14px}
  .stTop .stPill,.stTop .stAcct{height:38px}
}

/* ===== 2026-11-16 第26波L：落地页「白边」根治 =====
   老板图：卡片左边一条竖白边。
   根因：进落地页时如果 body 没带上 homePage（JS 报错/缓存混搭），
   aside 会显示出来并把 main 挤到右边，卡片左边的空白就是侧栏残影 + 两层padding叠加。
   做法一：用 :has(.ldWrap) 兜底——只要右侧渲染的是落地页，不管 body 什么class，左栏一律不显示。
   做法二：窄屏下 ldBody 不再自带 padding，改由 ldLeft 单边控制，卡片左右留白一致、花图真正贴边。
*/
body:has(.ldWrap) aside{display:none!important}
body:has(.ldWrap) main{margin-left:0!important;padding:0!important;max-width:none!important;width:auto!important}
body:has(.ldWrap) #workspace{max-width:none!important;width:100%!important}
@media(max-width:1180px){
  body:has(.ldWrap) .ldBody{padding:0!important;gap:0!important}
  body:has(.ldWrap) .ldLeft{padding:22px 20px 20px!important}
  body:has(.ldWrap) .ldArtSlot{border-radius:0!important;box-shadow:none!important}
  body:has(.ldWrap) .ldTop{padding:14px 20px!important}
  body:has(.ldWrap) .ldFoot{padding:14px 20px 20px!important}
}

/* ===== 2026-11-16 第26波M：登录页（体验版=激活码注册 / 正式版=账号登录）=====
   老板定：图2 图3 的结构，颜色全部改回我们自己的绿（--forest #12453A / 金 #B99146） */
/* 居中浮窗：背后仍是落地页，压一层半透明遮罩 */
.auLayer{position:fixed;inset:0;z-index:9000;display:flex;align-items:center;justify-content:center;
  padding:32px 20px;background:rgba(14,32,26,.42);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);
  animation:auFade .16s ease-out}
@keyframes auFade{from{opacity:0}to{opacity:1}}
.auCard{position:relative;width:100%;max-width:480px;max-height:calc(100vh - 60px);overflow:auto;
  background:#fff;border:1px solid #E4E3D9;border-radius:18px;
  padding:28px 30px 24px;box-shadow:0 36px 90px -40px rgba(9,26,20,.7);
  animation:auPop .18s cubic-bezier(.2,.9,.3,1.1)}
@keyframes auPop{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:none}}
.auClose{position:absolute;right:9px;top:9px;width:32px;height:32px;border:0;background:transparent;
  color:#9AA79F;font-size:20px;line-height:1;border-radius:9px;cursor:pointer}
.auClose:hover{background:#F1F4F1;color:#172824}
.auBrand{display:flex;align-items:center;gap:12px;margin:0 0 18px}
.auLogo{width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(140deg,#12453A,#2E8F7B);color:#fff;font-size:22px;font-weight:700;
  box-shadow:0 8px 20px -12px rgba(18,69,58,.8)}
.auBrand b{display:block;font-size:15.5px;font-weight:650;color:#172824;letter-spacing:.01em}
.auBrand small{display:block;font-size:12px;color:#7C8B84;margin-top:2px}
.auBack{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:#5E6E67;background:transparent;
  border:0;padding:0;margin:0 0 16px;cursor:pointer}
.auBack:hover{color:#12453A}

.auTabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;background:#F1F4F1;border:1px solid #E4E9E4;
  border-radius:12px;padding:5px;margin:0 0 20px}
.auTab{border:0;background:transparent;color:#6E7D76;font-size:13.5px;font-weight:600;
  border-radius:9px;padding:9px 8px;cursor:pointer;transition:background .15s,color .15s}
.auTab:hover{color:#12453A}
.auTab.on{background:#fff;color:#12453A;box-shadow:0 2px 8px -4px rgba(23,40,36,.35)}

.auTitle{font-size:26px;line-height:1.3;font-weight:750;color:#172824;margin:0 0 8px;letter-spacing:.01em}
.auSub{font-size:13px;line-height:1.75;color:#75847C;margin:0 0 20px}

.auField{display:block;margin:0 0 14px}
.auField>span:first-child{display:block;font-size:12.5px;font-weight:600;color:#3C4E47;margin:0 0 7px}
.auField input{width:100%;border:1px solid #DCE3DC;background:#FBFCF8;border-radius:10px;
  padding:12px 13px;font-size:14px;color:#263F34;transition:border-color .15s,box-shadow .15s}
.auField input:focus{outline:0;border-color:#2E8F7B;background:#fff;box-shadow:0 0 0 3px rgba(46,143,123,.14)}
.auHint{display:block;font-style:normal;font-size:11.5px;line-height:1.6;color:#9AA79F;margin:6px 0 0}
.auPwdWrap{position:relative;display:block}
.auPwdWrap input{padding-right:46px}
.auEye{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:34px;height:34px;
  border:0;background:transparent;color:#8C9A93;font-size:15px;cursor:pointer;border-radius:8px}
.auEye:hover{background:#EEF4EF;color:#12453A}

.auRemember{display:flex;align-items:center;gap:9px;margin:16px 0 6px;font-size:13px;color:#3C4E47;cursor:pointer}
.auRemember input{width:16px;height:16px;accent-color:#12453A;margin:0}
.auHintLine{font-size:11.5px;line-height:1.65;color:#9AA79F;margin:0 0 16px}
.auErr{font-size:12.5px;color:#A4452F;background:#FDF1ED;border:1px solid #F0D6CC;border-radius:9px;
  padding:9px 12px;margin:0 0 14px}
.auSubmit{width:100%;border:0;border-radius:11px;padding:14px;font-size:15px;font-weight:650;color:#fff;
  background:linear-gradient(135deg,#12453A,#2E8F7B);cursor:pointer;transition:filter .15s,transform .1s;
  box-shadow:0 14px 30px -18px rgba(18,69,58,.85)}
.auSubmit:hover{filter:brightness(1.06)}
.auSubmit:active{transform:translateY(1px)}
.auFoot{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:16px 0 0}
.auLink{border:0;background:transparent;color:#2E8F7B;font-size:13px;font-weight:600;cursor:pointer;padding:2px 0}
.auLink:hover{color:#12453A;text-decoration:underline}
.auHelp{margin:16px 0 0;border-top:1px solid #EEF1EA;padding-top:12px}
.auHelp summary{font-size:12.5px;color:#75847C;cursor:pointer}
.auHelp p{font-size:12px;line-height:1.7;color:#9AA79F;margin:10px 0 0}

@media(max-width:560px){
  .auLayer{padding:14px 10px}
  .auCard{max-height:calc(100vh - 28px);padding:22px 18px 18px;border-radius:15px;max-width:100%}
  .auTitle{font-size:21px}
  .auSub{font-size:12.5px;margin-bottom:16px}
  .auTabs{margin-bottom:14px}
  .auField{margin-bottom:11px}
  .auField input{padding:11px 12px;font-size:15px}
  .auSubmit{padding:13px;font-size:14.5px}
  .auFoot{margin-top:12px}
}

/* ===== 2026-11-17 登录页：醒狮整张背景铺满（无白边 / 自适应 / 右侧骨架屏去掉 / 左侧内容等比例右靠） ===== */
body.homePage .ldWrap,
body:has(.ldWrap) .ldWrap{
  background:
    linear-gradient(to right, rgba(255,255,255,.88) 0%, rgba(255,255,255,.48) 35%, rgba(255,255,255,0) 66.5%),
    url("vi/login-lion.jpg") 66% center / cover no-repeat fixed,
    #EAF4DD !important;
  color:#14211D;
}
html,body.homePage{background:#EAF4DD}
/* 顶部/底部栏透明，让整张图连成一片，不出现横向白条 */
body:has(.ldWrap) .ldTop{border-bottom:1px solid rgba(255,255,255,.55);background:transparent}
body:has(.ldWrap) .ldFoot{background:transparent}

/* 右侧骨架屏整个去掉，左栏独占整页 */
body:has(.ldWrap) .ldBody{grid-template-columns:1fr!important;gap:0!important}
body:has(.ldWrap) .ldArtSlot,
body:has(.ldWrap) .ldRight.ldArtSlot{display:none!important}

/* 左侧文案+两张卡：等比例往右靠，避免贴左边缘；高度方向居中 */
body:has(.ldWrap) .ldLeft{
  justify-content:center;
  padding-top:clamp(24px,4vh,56px);
  padding-bottom:clamp(24px,4vh,56px);
  padding-left:clamp(56px,9vw,190px);
  padding-right:clamp(32px,4vw,90px);
  max-width:min(760px,62vw);
}
/* 卡片在这条内容宽度内正常铺，不被 max-width 截断 */
body:has(.ldWrap) .ldCards{max-width:none!important;width:100%}
body:has(.ldWrap) .ldTitle{text-shadow:0 1px 0 rgba(255,255,255,.35)}

@media(max-width:1180px){
  /* 窄屏：图继续铺满整页，文字与卡片居中偏右一点，不再上下分栏 */
  body:has(.ldWrap) .ldBody{grid-template-columns:1fr!important;gap:0!important}
  body:has(.ldWrap) .ldLeft{
    max-width:none;width:100%;
    padding:clamp(22px,4vw,44px) clamp(24px,6vw,72px) !important;
  }
}
@media(max-width:640px){
  body:has(.ldWrap) .ldLeft{padding:20px 22px 26px!important}
}
body:not(.homePage) aside{
  background-image:url('vi/sidebar-lion-soft.png');
  background-size:cover;
  background-position:center top;
  background-repeat:no-repeat;
}
body:not(.homePage) aside .selBtn,
body:not(.homePage) aside .profileBtn,
body:not(.homePage) aside #addClient,
body:not(.homePage) aside .modeBig,
body:not(.homePage) aside .voiceLibNav,
body:not(.homePage) aside .sbItem{
  background:#155c3e;
  color:#fff;
  font-weight:700;
  border-color:#104a32;
}
body:not(.homePage) aside .modeBig.active,
body:not(.homePage) aside .voiceLibNav.active,
body:not(.homePage) aside button:hover{
  background:#104a32;
  color:#fff;
}
body:not(.homePage) aside{color:#fff;font-weight:700}
body:not(.homePage) aside small,
body:not(.homePage) aside label{color:#fff;font-weight:700;opacity:1}
body:not(.homePage) aside .navGroup>nav{gap:8px!important;margin-top:8px}
body:not(.homePage) aside .navGroup>button.voiceLibNav,
body:not(.homePage) aside nav .modeBig{
  width:100%;min-height:44px;margin-top:8px;padding:10px 12px;
  display:flex;align-items:center;gap:9px;
  background:#155c3e!important;color:#fff;
}
body:not(.homePage) aside .navGroup>nav .modeBig{margin-top:0}
body:not(.homePage) aside .navGroup>button.voiceLibNav.active,
body:not(.homePage) aside nav .modeBig.active,
body:not(.homePage) aside .sbThree .sbItem.active{
  background:#104a32!important;color:#fff;border-color:#c99d45;
}
body:not(.homePage) aside .sidebottom.sbThree{gap:6px;margin-top:12px}
body:not(.homePage) aside .sbThree .sbItem{min-width:0;min-height:56px}
body:not(.homePage) aside summary.navGroupLabel{color:#fff;text-shadow:0 1px 3px #174c32}
body:not(.homePage) aside button#profile.profileBtn{
  background:#155c3e;
  background-color:#155c3e;
  color:#fff;
}
body:not(.homePage) aside>label,
body:not(.homePage) aside summary.navGroupLabel{
  color:#000;
  font-size:14px;
  font-weight:700;
  text-shadow:none;
  -webkit-text-stroke:1px #fff;
  paint-order:stroke fill;
}
body:not(.homePage) aside #homeNav{
  font-size:0!important;
  display:flex!important;
  align-items:center;
  justify-content:center;
}
body:not(.homePage) aside #homeNav span,
body:not(.homePage) aside #homeNav small{display:none}
body:not(.homePage) aside #homeNav::before{
  content:"";
  display:block;
  width:min(100%,220px);
  height:70px;
  background:url('vi/sidebar-brand.png') center / contain no-repeat;
  filter:brightness(0) drop-shadow(1px 2px 2px rgba(0,0,0,.3));
}
body.studioPage .stTop{flex-wrap:nowrap;gap:8px}
body.studioPage .stCredits{width:auto;flex:1 1 auto;justify-content:flex-start;flex-wrap:nowrap;min-width:0}
body.studioPage .stCred{flex:0 1 auto;min-width:0;padding-left:8px;padding-right:8px}
body.studioPage .stTopRight{width:auto;flex:0 0 auto;flex-wrap:nowrap;gap:6px}
#ctab-profile #clientLangEdit{display:block;width:min(100%,360px);min-height:44px;margin:8px 0 16px}
#ctab-profile .profileActions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
#ctab-profile .profileActions button{min-height:44px;margin:0}
.wbPageMount .vtabs .vtab[data-ctab],#dialogBody .vtabs .vtab[data-ctab]{background:#e1eee5;border:1px solid #a9c9b5;color:#1d513b;font-weight:600}
.wbPageMount .vtabs .vtab[data-ctab]:hover,#dialogBody .vtabs .vtab[data-ctab]:hover{background:#d1e7d9;border-color:#699d7e;color:#153f2e}
.wbPageMount .vtabs .vtab[data-ctab].on,#dialogBody .vtabs .vtab[data-ctab].on{background:#22634a;border-color:#22634a;color:#fff}
.imsTool:disabled{opacity:1;background:#f7f9f7;color:#52665b}
.dhsScope .dhsStep1>h3{margin:26px 0 12px;padding-bottom:9px;border-bottom:1px solid #dce9e1;font-size:15px;color:#174c38}
.dhsScope .dhsModelGrid{grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:12px}
.dhsScope .dhsModelCard{min-height:155px;padding:18px;border-radius:8px;box-shadow:none}
.dhsScope .dhsModelCard .dhsModelGo{margin-top:auto}
.dhsScope .dhsPending{cursor:default;background:#f6f8f6;border-color:#e2e9e4}
.dhsScope .dhsPending:hover{transform:none;box-shadow:none;border-color:#e2e9e4}
.dhsScope .dhsPending .dhs3-badge{margin-left:auto;background:#e8efea;color:#607568}
.allFunctions h3{font-size:14px;color:#456b5b;margin:20px 0 10px}
.allFunctionGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.allFunctionGrid .stPickBtn{min-height:78px;padding:14px;border-radius:8px}
@media(max-width:500px){.allFunctionGrid{grid-template-columns:1fr}}
@media(max-width:620px){
  body.studioPage .stTop{overflow-x:auto}
  body.studioPage .stCredits{flex:0 0 auto}
}

/* ===== 2026-11-17 老板令：顶部积分栏做成固定栏，每个工作页都显示 ===== */
#gbar{margin:0 0 14px}
#gbar .stTop{margin:0}
body.homePage #gbar,body.authPage #gbar{display:none}
/* 固定栏常驻：滚动时贴顶 */
#gbar{position:sticky;top:0;z-index:55}
#gbar .stTop{box-shadow:0 10px 26px -22px rgba(16,60,48,.5);backdrop-filter:blur(6px)}
@media(max-width:900px){
  #gbar .stCredits{width:100%;justify-content:space-between}
  #gbar .stTopRight{width:100%;justify-content:flex-end}
}
.mobileMenuToggle,.mobileMenuBackdrop{display:none}
@media(min-width:621px) and (max-width:700px){
  body:not(.homePage) aside{position:fixed;inset:0 auto 0 0;width:190px;height:100vh;display:flex;flex-direction:column;align-items:stretch;flex-wrap:nowrap;gap:0;overflow-y:auto;padding:20px 12px}
  body:not(.homePage) aside .navGroup{display:block}
  body:not(.homePage) aside .navGroup>summary.navGroupLabel{display:flex!important}
  body:not(.homePage) aside>label{display:block}
  body:not(.homePage) aside .navGroup>nav{display:grid;order:initial;overflow:visible;flex:none}
  body:not(.homePage) aside .navGroup>button.voiceLibNav{width:100%;margin-top:8px;white-space:normal}
  body:not(.homePage) main{margin-left:190px!important;min-width:0}
}
#gbar .stTop{display:flex;align-items:center;flex-wrap:nowrap;gap:10px}
#gbar .stCredits{display:flex;align-items:stretch;flex:1 1 auto;width:auto;min-width:0;flex-wrap:nowrap;justify-content:flex-start}
#gbar .stCred{flex:0 0 auto;justify-content:center}
#gbar .stTopRight{display:flex;align-items:center;flex:0 0 auto;width:auto;flex-wrap:nowrap}
@media(min-width:621px) and (max-width:900px){
  #gbar .stTop{flex-wrap:nowrap;gap:6px;overflow-x:auto}
  #gbar .stCredits{width:auto;flex:1 0 auto;justify-content:flex-start;flex-wrap:nowrap}
  #gbar .stTopRight{width:auto;flex:0 0 auto;flex-wrap:nowrap}
  body:not(.homePage) aside .navGroup>button.voiceLibNav,
  body:not(.homePage) aside nav .modeBig{width:100%;min-width:0}
}
@media(max-width:620px){
  body:not(.homePage) .mobileMenuToggle{display:block;position:fixed;top:8px;left:8px;z-index:102;background:#155c3e;color:#fff;border:1px solid #104a32;padding:8px 12px}
  body:not(.homePage) aside{position:fixed;inset:0 auto 0 0;width:min(280px,85vw);height:100dvh;max-height:none;z-index:101;overflow-y:auto;display:flex;flex-direction:column;align-items:stretch;flex-wrap:nowrap;gap:0;transform:translateX(-105%);transition:transform .2s ease;padding:58px 14px 20px}
  body:not(.homePage).mobileMenuOpen aside{transform:translateX(0)}
  body:not(.homePage).mobileMenuOpen .mobileMenuBackdrop{display:block;position:fixed;inset:0;z-index:100;background:rgba(0,0,0,.4)}
  body:not(.homePage) aside .navGroup>nav{display:grid;overflow:visible}
  body:not(.homePage) aside .navGroup{display:block}
  body:not(.homePage) aside .navGroup>summary.navGroupLabel{display:flex!important}
  body:not(.homePage) aside>label{display:block}
  body:not(.homePage) aside .navGroup>button.voiceLibNav{width:100%;margin-top:8px;white-space:normal}
  body:not(.homePage) aside .sidebottom.sbThree{display:grid}
  body:not(.homePage) main,body.studioPage main{margin-left:0!important;padding:58px 12px 24px!important}
  #gbar .stTop{flex-wrap:nowrap;overflow-x:auto;gap:6px}
  #gbar .stCredits,#gbar .stTopRight{width:auto;flex:0 0 auto;flex-wrap:nowrap}
}

/* ===== 2026-11-19 · 创作顶栏重排：名称、历史、保存状态共用三条稳定对齐线 =====
   第一行放「创作名称 / 历史创作 / 保存状态」，第二行分别放资料状态和历史操作的删除按钮。
   这样不再由输入框、下拉框和按钮各自决定宽度，也不会因为标题变长而互相挤动。 */
.topline{
  display:grid;
  grid-template-columns:minmax(360px,1.12fr) minmax(320px,.88fr) 96px;
  grid-template-areas:"name history save";
  align-items:start;
  column-gap:24px;
  row-gap:10px;
  padding:16px 18px 14px;
}
.topline>.nameCol{
  grid-area:name;
  display:grid;
  grid-template-rows:auto auto;
  gap:9px;
  width:auto;
  max-width:none;
  min-width:0;
}
.topline .nameBar{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  gap:12px;
  width:100%;
  min-width:0;
}
.topline .nameInput{width:100%!important;min-width:0}
.topline .taskTools{
  width:auto;
  max-width:100%;
  min-width:0;
  gap:8px;
  flex-wrap:wrap;
}
.topline>.histBar{
  grid-area:history;
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  grid-template-rows:auto auto;
  align-items:center;
  gap:8px 12px;
  width:100%;
  min-width:0;
  margin:0!important;
}
.topline>.histBar>.histLabel{grid-column:1;grid-row:1}
.topline>.histBar>.histList{
  grid-column:2;
  grid-row:1;
  display:flex;
  width:100%;
  min-width:0;
  overflow:visible;
}
.topline>.histBar .histList>.wbSel{
  position:relative;
  display:block;
  width:min(100%,300px)!important;
  max-width:none;
  min-width:0;
}
.topline>.histBar .histList>.wbSel>select{
  position:absolute;
  inset:0;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  border:0!important;
  opacity:0;
  pointer-events:none;
}
.topline>.histBar .histList>.wbSel .wbSelBtn{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  width:100%;
  min-height:36px;
  text-align:left;
}
.topline>.histBar .histList>.wbSel .wbSelCur{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.topline>.histBar .histList>.wbSel .wbSelArrow{
  flex:0 0 auto;
  width:7px;
  height:7px;
  border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;
  transform:translateY(-2px) rotate(45deg);
  transition:transform .16s ease;
}
.topline>.histBar .histList>.wbSel.open .wbSelArrow{transform:translateY(2px) rotate(225deg)}
.wbSel{position:relative;display:inline-block;max-width:100%;min-width:0;vertical-align:middle}
.wbSel>select{position:absolute!important;width:1px!important;height:1px!important;min-width:0!important;padding:0!important;border:0!important;opacity:0!important;pointer-events:none!important}
.wbSel>.wbSelBtn{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-width:0;text-align:left}
.wbSelCur{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wbSelArrow{flex:none;width:8px;height:8px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg)}
.wbSel.open .wbSelArrow{transform:translateY(2px) rotate(225deg)}
.wbSelMenu{display:none;position:absolute;z-index:100;top:calc(100% + 6px);left:0;width:100%;max-height:min(280px,50vh);overflow:auto;margin:0;padding:6px;list-style:none;background:#fff;border:1px solid #d7ded8;border-radius:10px;box-shadow:0 14px 36px -16px rgba(17,60,47,.42)}
.wbSel.open>.wbSelMenu{display:block}
.wbSel.up>.wbSelMenu{top:auto;bottom:calc(100% + 6px)}
.wbSelMenu.portal{position:fixed;z-index:1000}
.wbSelMenu>li{padding:8px 10px;border-radius:7px;color:#29463b;font-size:13px;line-height:1.45;cursor:pointer}
.wbSelMenu>li:hover,.wbSelMenu>li.on{background:#eef5f0;color:#1f5b43}
.voicePick{display:flex;align-items:center;gap:12px;margin:18px 0;flex-wrap:wrap}
.voicePick>.wbSel{width:min(100%,260px);min-width:180px}
.voicePick .wbSelMenu{min-width:220px}
.voicePick .wbSelMenu>li{white-space:normal;overflow-wrap:anywhere}
.voicePick #voiceHint{flex-basis:100%;line-height:1.6}
.publicNarration{margin:20px 0;padding:18px;border:1px solid #d8e5db;border-radius:12px;background:#f7faf6}
.publicNarration h4{margin:0 0 6px}
.publicNarration p{margin:8px 0 14px;line-height:1.7}
.publicNarration select{width:min(100%,260px);margin-right:10px}
.publicNarration audio{display:block;max-width:480px;margin:12px 0}
.refMediaSection{margin:28px 0;padding:24px;background:#f9fbf8;border:1px solid #dce8dd}
.refMediaSection h3{margin:0 0 10px;font-size:17px}
.refMediaSection>p.muted{margin:8px 0 16px;line-height:1.8}
.refMediaSection>select{max-width:380px;min-height:44px}
.refMediaSection textarea{min-height:120px}
.refMediaSection .actions{gap:12px;margin:18px 0;align-items:center}
.refMediaSection .actions label{display:flex;align-items:center;gap:8px}
.refMediaSection .actions select{width:auto;min-width:110px}
.refMediaSection audio{display:block;max-width:550px;margin:14px 0}
.refMediaSection .coverGrid{gap:16px;margin-top:18px}
.refMediaVoice{display:grid;grid-template-columns:minmax(180px,380px) auto;gap:10px 14px;align-items:center;padding:18px 20px}
.refMediaVoice h3,.refMediaVoice>p.muted{grid-column:1/-1;margin:0}
.refMediaVoice>select{width:100%;max-width:none}
.refMediaVoice>.actions{margin:0;justify-self:start}
.refMediaVoice #refVoiceStatus:empty{display:none}
.refMediaVoice audio,.refMediaVoice>a{grid-column:1/-1;margin:4px 0}
@media(max-width:560px){.refMediaVoice{grid-template-columns:minmax(0,1fr)}.refMediaVoice>.actions{grid-column:1}.refMediaVoice h3,.refMediaVoice>p.muted{grid-column:1}}
.topline>.histBar .histList>.wbSel .wbSelMenu{
  display:none;
  position:absolute;
  z-index:90;
  top:calc(100% + 6px);
  left:0;
  width:100%;
  max-height:min(280px,50vh);
  margin:0;
  padding:6px;
  overflow:auto;
  list-style:none;
  background:#fff;
  border:1px solid #D7DED8;
  border-radius:10px;
  box-shadow:0 14px 36px -16px rgba(17,60,47,.42);
}
.topline>.histBar .histList>.wbSel.open .wbSelMenu{display:block}
.topline>.histBar .histList>.wbSel.up .wbSelMenu{top:auto;bottom:calc(100% + 6px)}
.topline>.histBar .histList>.wbSel .wbSelMenu>li{
  padding:8px 10px;
  border-radius:7px;
  color:#29463B;
  font-size:13px;
  line-height:1.45;
  cursor:pointer;
}
.topline>.histBar .histList>.wbSel .wbSelMenu>li:hover,
.topline>.histBar .histList>.wbSel .wbSelMenu>li.on{background:#EEF5F0;color:#1F5B43}
.topline>.histBar>.histCount{flex:0 0 auto}
.topline>.histBar>#histDelRow{
  grid-column:2;
  grid-row:2;
  justify-content:flex-end!important;
  width:100%;
  min-height:26px;
  margin:0!important;
  padding-left:0!important;
}
.topline>#saveState{
  grid-area:save;
  align-self:center;
  justify-self:end;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin:0!important;
}
.topline>#multiWin{
  position:absolute;
  top:auto;
  right:18px;
  bottom:14px;
  max-width:38%;
  margin:0;
}
.topline .taskDel{
  padding:4px 10px;
  border-color:transparent;
  background:transparent;
  color:#8B817A;
}
.topline .taskDel:hover{
  border-color:#F0BDB6;
  background:#FFF3F1;
  color:#A93A2C;
}

@media(max-width:1100px){
  .topline{
    grid-template-columns:minmax(0,1fr) 96px;
    grid-template-areas:
      "name save"
      "history history";
    align-items:start;
    gap:12px 18px;
  }
  .topline>#saveState{display:inline-flex!important}
  .topline>.histBar>.histList>.wbSel{width:min(100%,360px)!important}
}

@media(max-width:760px){
  .topline{
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:
      "name"
      "history"
      "save";
    gap:12px;
  }
  .topline .nameBar,
  .topline>.histBar{grid-template-columns:minmax(0,1fr);gap:7px}
  .topline .histLabel{grid-column:1;grid-row:auto}
  .topline>.histBar>.histList,
  .topline>.histBar>#histDelRow{grid-column:1;grid-row:auto}
  .topline>#saveState{justify-self:start}
  .topline>#multiWin{display:none}
}

.refMediaSection .refSceneCard{margin:10px 0;padding:14px 16px}.refMediaSection .refSceneCard p{margin:6px 0}.refMediaSection .refSceneCard textarea{min-height:70px}.refMediaSection .refSceneCard .actions{margin:8px 0;gap:8px}.refMediaSection .refSceneCard input[type=number]{width:110px;min-width:0}.refMediaSection .refSceneCard details{margin:8px 0}.refMediaSection .refSceneCard summary{cursor:pointer;color:#247b58}

.refScenePreview{display:block;max-width:min(100%,320px);max-height:260px;border-radius:8px;margin:8px 0;object-fit:contain;background:#17211b}

.languageChoices{display:flex;flex-wrap:wrap;gap:12px;margin:10px 0 16px}.languageChoices label{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border:1px solid #bdd8c7;border-radius:9px;background:#f7fbf8;cursor:pointer}.languageChoices label:has(input:checked){border-color:#176447;background:#e5f3e9;color:#174a37;font-weight:600}.languageChoices input{accent-color:#176447}

/* 语言选项保持紧凑，避免通用输入框样式撑大单选按钮。 */
.languageChoices label{min-width:0;line-height:1.4;white-space:nowrap}
.languageChoices input[type=radio],#dialogBody .languageChoices input[type=radio]{width:16px;height:16px;min-width:16px;margin:0;padding:0;flex:0 0 16px}
.languageHint{margin:-8px 0 12px;color:#7d8981;font-size:13px;line-height:1.5}
#dialogBody:has(#clientName) h2{margin:0 0 16px}
#dialogBody:has(#clientName) #clientName{box-sizing:border-box}
#dialogBody:has(#clientName) label.field{margin-top:16px}
#dialogBody:has(#clientName) .muted{line-height:1.6;margin:0 0 18px}
@media(max-width:480px){.languageChoices{gap:8px}.languageChoices label{padding:9px 12px;white-space:normal}}

.refPreview{margin:8px 0 16px;padding:12px 14px;border:1px solid #d8e8dd;border-radius:10px;background:#f7fbf8}.refPreview[hidden]{display:none}.refPreview>span{font-size:13px;font-weight:600;color:#315d48}.refPreview audio{display:block;width:100%;max-width:520px;margin-top:8px}.refPreview p{margin:8px 0 0}

.staffProductionCard{border:1px solid #dce7df;border-radius:14px;padding:18px;margin-top:16px;background:#fbfdfb}.staffProductionCard>h4{margin:0 0 12px}.staffProductionCard>input,.staffProductionCard>textarea{display:block;box-sizing:border-box;margin-top:10px}.staffProductionCard>textarea{min-height:130px}.staffProductionGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}.staffProductionGrid>div{min-width:0;padding:14px;background:white;border:1px solid #e4ebe5;border-radius:10px}.staffProductionGrid h4{margin:0 0 10px}.staffProductionGrid select{display:block;margin-bottom:10px}.staffProductionGrid audio,.staffProductionGrid video{display:block;width:100%;max-height:280px}.staffProductionGrid a{display:inline-block;margin-top:8px}@media(max-width:800px){.staffProductionGrid{grid-template-columns:1fr}}

.staffAvatarDialog{box-sizing:border-box;width:min(760px,94vw);max-height:88vh;overflow:auto;padding:24px}.staffAvatarHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.staffAvatarHeader h2{margin:0 0 6px}.staffAvatarHeader p{margin:0}.staffAvatarDialog h3{font-size:15px;margin:22px 0 10px}.staffAvatarGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:12px}.staffAvatarChoice{position:relative;display:flex;flex-direction:column;gap:8px;min-width:0;padding:7px;border:2px solid #dfe8df;border-radius:10px;background:#fff;text-align:left;color:#294b3a;cursor:pointer}.staffAvatarChoice.selected{border-color:#176447;background:#e9f5ed;box-shadow:0 0 0 2px #c7e6d1}.staffAvatarChoice img,.staffAvatarChoice video{display:block;width:100%;height:120px;max-height:none;margin:0;border-radius:6px;object-fit:cover;background:#e9eeea}.staffAvatarChoice>span:last-child{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.staffAvatarVideoBadge{position:absolute;top:12px;right:12px;padding:3px 6px;border-radius:5px;background:#183c32c9;color:#fff;font-size:11px}.staffAvatarDialog audio{width:100%;max-width:500px}.staffAvatarDialog [data-avatar-result] video{display:block;width:100%;max-width:420px;max-height:55vh}.staffAvatarDialog [data-avatar-result] a{display:inline-block;margin-top:8px}@media(max-width:500px){.staffAvatarDialog{padding:18px}.staffAvatarGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.staffAvatarActions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}.staffAvatarUpload{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:10px 15px;border-radius:8px;background:#e5f2e8;color:#145238;border:1px solid #b8d9c2;font-weight:600}.staffAvatarCompose{margin:16px 0;padding:14px;border:1px solid #dbe8dd;border-radius:10px;background:#f7fbf8}.staffAvatarCompose[hidden]{display:none}.staffAvatarCompose h3{margin:0 0 8px}.staffAvatarCompose label{display:block;margin:10px 0;font-size:13px}.staffAvatarCompose select{display:block;margin-top:5px}.staffAvatarCompose [data-compose-result] img{display:block;max-width:100%;max-height:300px;border-radius:8px;margin-top:8px}

.staffSelectedAvatar{display:block;width:100%;max-width:260px;max-height:220px;object-fit:contain;border-radius:9px;margin:10px 0;background:#f1f5f1}

.staffAvatarUpload{min-height:54px;border-style:dashed;line-height:1.5;text-align:center}.staffAvatarUpload.dragover{background:#cfead7;border-color:#176447;box-shadow:0 0 0 3px #d9efdf}.staffAvatarUpload.uploading{opacity:.6;cursor:wait}

.staffAvatarTile{position:relative;min-width:0}.staffAvatarTile .staffAvatarChoice{width:100%;height:100%;padding-top:7px}.staffAvatarHide{position:absolute;z-index:2;top:10px;right:10px;width:27px;height:27px;min-width:0;padding:0;display:grid;place-items:center;border:1px solid #ffffffaa;border-radius:50%;background:#263b33d9;color:white;font-size:21px;line-height:1;cursor:pointer}.staffAvatarHide:hover,.staffAvatarHide:focus-visible{background:#a43939}.staffAvatarTile .staffAvatarVideoBadge{right:auto;left:12px}.staffAvatarHiddenBar{display:flex;align-items:center;gap:10px;margin:0 0 10px;color:#667b70;font-size:13px}.staffAvatarHiddenBar button{padding:5px 9px;font-size:12px}

.staffAvatarProgress{font-size:13px;color:#4e6b5a;line-height:1.6}.staffAvatarSpinner{display:inline-block;width:13px;height:13px;border:2px solid #c4ddca;border-top-color:#176447;border-radius:50%;vertical-align:-2px;animation:staffAvatarSpin .8s linear infinite}@keyframes staffAvatarSpin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.staffAvatarSpinner{animation:none}}

.staffAvatarDialog:has([data-compose-panel]:not([hidden])){width:min(1120px,96vw)}.staffComposeLayout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(210px,1.1fr);gap:14px}.staffComposeColumn{min-width:0;padding:12px;border:1px solid #dce9de;border-radius:10px;background:#fff}.staffComposeUpload{display:block!important;margin:10px 0!important;padding:9px;border:1px dashed #91bca1;border-radius:8px;text-align:center;cursor:pointer;color:#225f42;background:#f3faf5}.staffComposeUpload.dragover{background:#d7efdf;border-color:#176447}.staffComposeThumbs{display:grid;grid-template-columns:repeat(auto-fill,minmax(66px,1fr));gap:7px;max-height:280px;overflow:auto}.staffComposeThumb{padding:3px;border:2px solid #e0e9e1;border-radius:7px;min-width:0;background:#fff;cursor:pointer}.staffComposeThumb.selected,.staffComposeColors button.selected{border-color:#176447;background:#e3f4e8}.staffComposeThumb img{display:block;width:100%;height:65px;object-fit:cover;border-radius:4px;background:repeating-conic-gradient(#e2e2e2 0 25%,#fff 0 50%) 0/12px 12px}.staffComposeThumb span{display:block;font-size:10px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.staffComposeColors{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:8px}.staffComposeColors button{padding:5px 8px;font-size:12px;border:1px solid #d0dbd2}.staffComposePreview canvas{display:block;max-width:100%;max-height:340px;width:auto;height:auto;aspect-ratio:9/16;background:#eef1ee;margin:10px auto;border-radius:6px}.staffComposePreview input[type=range]{width:100%;padding:0;accent-color:#176447}.staffComposePreview label{margin:8px 0}.staffComposePreview button{width:100%}@media(max-width:760px){.staffComposeLayout{grid-template-columns:1fr}.staffComposeThumbs{max-height:180px}}

.staffAvatarDialog [data-avatar-confirm-area][hidden],.staffAvatarDialog [data-avatar-picker][hidden]{display:none}

.storyBrief{padding:14px 16px;margin:14px 0;border:1px solid #dbeadf;border-radius:10px;background:#f6faf7;line-height:1.65}.storyBrief p{margin:7px 0 0}.storyBrief .warn{color:#9a6525}.mixMove{padding:2px 7px;margin-left:3px;font-size:12px}

.voiceSectionButtons{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 18px}.voiceSectionButtons button{flex:1 1 150px;min-height:42px}.ttsBox[hidden]{display:none}

.voiceSectionButtons{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin:0 0 20px}.voiceSectionButtons .voiceSectionCard{display:flex;flex-direction:column;align-items:stretch;gap:14px;min-height:150px;padding:18px;text-align:left;white-space:normal;background:#fff;color:#183628;border:1px solid #d8e2da;border-radius:12px;box-shadow:0 2px 8px #163b2710}.voiceSectionButtons .voiceSectionCard:hover,.voiceSectionButtons .voiceSectionCard.is-active{border-color:#218450;background:#f1faf4;box-shadow:0 2px 10px #176c321c}.voiceCardTitle{display:flex;justify-content:space-between;align-items:center;font-size:16px;font-weight:700}.voiceCardTitle span{color:#478160;font-size:18px}.voiceCardDesc{font-size:13px;line-height:1.6;color:#60756a;font-weight:400}.voiceCardFoot{margin-top:auto;color:#207546;font-size:12px;font-weight:600}

.voiceSectionButtons[hidden],#voiceSectionDetail[hidden]{display:none}#voiceSectionBack{margin-bottom:16px}

#voiceSectionAdd summary{cursor:pointer;font-weight:700;color:#176b42;padding:6px 0}#voiceSectionAdd[open] summary{margin-bottom:12px}#voiceSectionAdd .sampleReq{margin-top:16px}

/* 参考音色：两列紧凑卡片，播放器和操作集中在同一行。 */
#wbPageMount #voiceSectionList #reflist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}
#wbPageMount #voiceSectionList #reflist .vcard{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 10px;padding:11px 12px;align-items:center}
#wbPageMount #voiceSectionList #reflist .vhead{grid-column:1 / -1;gap:6px;min-width:0}
#wbPageMount #voiceSectionList #reflist .vhead .vmuted{margin-left:auto}
#wbPageMount #voiceSectionList #reflist .vmeta{grid-column:1 / -1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#wbPageMount #voiceSectionList #reflist .vlisten{grid-column:1;grid-row:auto;min-width:0;margin:0}
#wbPageMount #voiceSectionList #reflist .vlistenLabel{display:none}
#wbPageMount #voiceSectionList #reflist .vlisten audio{width:100%;max-width:300px;height:32px;margin:0}
#wbPageMount #voiceSectionList #reflist .vacts{grid-column:2;grid-row:auto;display:flex;flex-direction:row;flex-wrap:wrap;gap:4px;min-width:0;margin:0;justify-content:flex-end}
#wbPageMount #voiceSectionList #reflist .vacts button{width:auto;min-width:0;flex:none;padding:5px 8px;font-size:12px}
#wbPageMount #voiceSectionList #reflist .vinline{display:flex;flex-wrap:wrap;gap:6px;max-width:100%}
@media(max-width:900px){#wbPageMount #voiceSectionList #reflist{grid-template-columns:minmax(0,1fr)}}
@media(max-width:520px){#wbPageMount #voiceSectionList #reflist .vcard{grid-template-columns:minmax(0,1fr)}#wbPageMount #voiceSectionList #reflist .vacts{grid-column:1;justify-content:flex-start}}

/* 音色卡片：名称、状态、试听和操作分行，窄屏也不挤在一起。 */
#wbPageMount #voiceSectionList #reflist .vcard{display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:14px}
#wbPageMount #voiceSectionList #reflist .vhead{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
#wbPageMount #voiceSectionList #reflist .vhead b{flex-basis:100%;font-size:15px;overflow-wrap:anywhere}
#wbPageMount #voiceSectionList #reflist .vhead .vmuted{margin-left:0}
#wbPageMount #voiceSectionList #reflist .vmeta{white-space:normal;overflow-wrap:anywhere}
#wbPageMount #voiceSectionList #reflist .vlistenLabel{display:block;margin-bottom:4px}
#wbPageMount #voiceSectionList #reflist .vlisten audio{max-width:100%}
#wbPageMount #voiceSectionList #reflist .vacts{justify-content:flex-start}

.voiceStudioCards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-top:14px}.voiceStudioCards button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:12px;padding:18px;min-height:120px;background:#fff;border:1px solid #d8e2da;border-radius:12px;color:#183628;white-space:normal}.voiceStudioCards button:hover{background:#f1faf4;border-color:#218450}.voiceStudioCards button span{font-size:13px;color:#60756a;line-height:1.5;font-weight:400}#voiceStudioDetail[hidden],#voiceStudioHome[hidden],#voiceStudioTextWrap[hidden],#voiceStudioFileWrap[hidden],#voiceStudioResult[hidden]{display:none}#voiceStudioDetail textarea{width:100%;min-height:120px}#voiceStudioDetail select{width:100%}#voiceStudioGo{margin-top:16px}#voiceStudioResult audio{max-width:100%;width:420px}

#voiceStudioDialectWrap[hidden]{display:none}

.voiceLanguageTag{display:inline-block;margin-left:6px;padding:3px 8px;border-radius:999px;background:#e5f4e9;color:#247044;font-size:12px;line-height:1.4;vertical-align:middle;white-space:nowrap}

.mandarinEmotionControls{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;margin:10px 0}.mandarinEmotionControls label{display:flex;align-items:center;gap:6px;font-size:13px}.mandarinEmotionControls select{width:auto;min-width:100px}.mandarinEmotionControls small{flex-basis:100%;color:#687c70}

#voiceStudioEmotion[hidden]{display:none}

.voiceStudioHistory{margin-top:22px;padding-top:14px;border-top:1px solid #dce7df}.voiceStudioHistory h4{margin:0 0 12px}.voiceHistoryItem{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:10px 0;border-bottom:1px solid #edf1ed}.voiceHistoryItem>div{flex:1 1 200px;min-width:0}.voiceHistoryItem b{display:block;font-size:13px;overflow-wrap:anywhere}.voiceHistoryItem small{display:block;color:#7b8d82;margin-top:4px}.voiceHistoryItem audio{width:min(100%,300px);height:34px}.voiceHistoryItem a{white-space:nowrap}

#voiceStudioDrop{margin-top:6px}#voiceStudioReferencePreview{display:block;width:min(100%,420px);height:34px;margin:8px 0}#voiceStudioReferencePreview[hidden]{display:none}

.voiceStudioCards .voiceApiLabel{font-size:12px;color:#286d4d;font-weight:600;overflow-wrap:anywhere}

.avatarExtra{max-width:800px}.avatarExtra input[type=file],.avatarExtra textarea{display:block;width:100%;margin:6px 0 16px}.avatarExtra textarea{min-height:100px}.avatarExtra #extraSubmit{margin-top:12px}

.voiceTestGroups{margin:24px 0}.voiceTestGroups[hidden]{display:none}.voiceCandidateGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.voiceCandidate{display:flex;flex-direction:column;gap:8px;padding:15px;border:1px solid #d8e2da;border-radius:12px;background:#fff}.voiceCandidate span,.voiceCandidate small{font-size:12px;color:#64796b;overflow-wrap:anywhere}.voiceCandidate p{font-size:13px;color:#60756a;margin:0;line-height:1.5}.voiceCandidate a{color:#176b42;font-size:13px;font-weight:600}.voiceTestGroups h3:not(:first-child){margin-top:24px}

/* 用户选择后的操作放在同一行，减少侧栏占用。 */
aside .clientActionRow{display:flex;gap:8px;width:100%;margin-top:8px;align-items:stretch}
aside .clientActionRow #addClient,aside .clientActionRow #manageCurrentClient{flex:1 1 0;min-width:0;width:auto;margin:0;padding:9px 5px;min-height:40px;border-radius:8px;font-size:13px;font-weight:700;white-space:nowrap;text-align:center;background:#155c3e;color:#fff;border:1px solid rgba(255,255,255,.32)}
aside .clientActionRow #addClient:hover,aside .clientActionRow #manageCurrentClient:hover{background:#104a32;border-color:#e1bf78;color:#fff}
#ctab-profile .clientDeleteSection{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:24px;padding:16px;border:1px solid #e9d3cf;border-radius:10px;background:#fffaf9}
#ctab-profile .clientDeleteSection b{color:#69362d}
#ctab-profile .clientDeleteSection p{margin:5px 0 0;color:#74635e;font-size:13px;line-height:1.5}
#ctab-profile .clientDeleteSection button{flex:none;margin:0;min-height:40px}
@media(max-width:560px){#ctab-profile .clientDeleteSection{align-items:flex-start;flex-direction:column}}

/* 音色库：旧音色单独成区，避免整列撑高旁边的卡片。 */
#wbPageMount #voiceSectionList #reflist{align-items:start}
#wbPageMount #voiceSectionList #reflist>.legacyVoiceSection{grid-column:1/-1;min-width:0;margin-top:10px}
#wbPageMount #voiceSectionList #reflist>.legacyVoiceSection h4{margin:0 0 6px;font-size:16px;color:#183c2d}
#wbPageMount #voiceSectionList #reflist>.legacyVoiceSection>p{margin:0 0 12px;font-size:13px;line-height:1.5}
#wbPageMount #voiceSectionList #reflist .legacyVoiceGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start}
#wbPageMount #voiceSectionList #reflist .legacyVoiceGrid .vcard{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
#wbPageMount #voiceSectionList #reflist .legacyVoiceGrid .vlisten{min-width:0;max-width:100%}
#wbPageMount #voiceSectionList #reflist .legacyVoiceGrid audio{min-width:0;max-width:100%;box-sizing:border-box}
#wbPageMount #voiceSectionList #reflist .vcard{min-width:0;align-self:start;flex:none;gap:8px}
#wbPageMount #voiceSectionList #reflist .vhead{flex:none}
#wbPageMount #voiceSectionList #reflist .vlisten{flex:none;width:100%;margin:0}
#wbPageMount #voiceSectionList #reflist .vlisten audio{display:block;flex:none;width:100%;height:34px;max-height:34px;margin:0}
#wbPageMount #voiceSectionList #reflist .vacts{flex:none;align-self:stretch;align-items:center;flex-direction:row;justify-content:flex-start;gap:8px;min-width:0;margin:0}
#wbPageMount #voiceSectionList #reflist .vacts button,#wbPageMount #voiceSectionList #reflist [data-mm-voice] button{width:auto;min-height:34px;padding:6px 12px;border:1px solid #b9cec1;border-radius:7px;background:#fff;color:#245b42;font-size:13px;font-weight:600;cursor:pointer}
#wbPageMount #voiceSectionList #reflist [data-old-claim],#wbPageMount #voiceSectionList #reflist [data-ref-claim],#wbPageMount #voiceSectionList #reflist [data-rmake],#wbPageMount #voiceSectionList #reflist [data-mm-voice] button{background:#176b42;border-color:#176b42;color:#fff}
#wbPageMount #voiceSectionList #reflist .vacts button:disabled{opacity:.55;cursor:not-allowed}
#wbPageMount #voiceSectionList #reflist [data-mm-voice]{font-size:13px;line-height:1.5;color:#53695c;overflow-wrap:anywhere}
@media(max-width:900px){#wbPageMount #voiceSectionList #reflist .legacyVoiceGrid{grid-template-columns:minmax(0,1fr)}}

/* 参考素材配音：语言和音色相邻，模型及结果分区。 */
.refMediaVoice .refVoiceSettings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:760px;margin:16px 0 10px}
.refMediaVoice .refVoiceSettings label{display:flex;flex-direction:column;gap:6px;min-width:0;font-weight:600}
.refMediaVoice .refVoiceSettings select{width:100%;max-width:none}
.refMediaVoice #refVoiceModel{max-width:760px;margin:10px 0}
.refMediaVoice .refTargetLabel{display:flex;flex-direction:column;gap:6px;max-width:240px;margin-top:16px}
.refMediaVoice #refVoiceAudio{display:block;max-width:100%;margin-top:12px}
.solioVoiceSettings{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:10px 0}
.solioVoiceSettings label{display:flex;flex-direction:column;gap:6px;min-width:220px}
#solioVoiceModel{margin:10px 0}
@media(max-width:640px){.refMediaVoice .refVoiceSettings{grid-template-columns:minmax(0,1fr)}}

/* 配音、画面与矩阵表单：标签和控件对齐，保持足够留白。 */
.refMediaVoice{display:block;max-width:none;padding:22px}
.refMediaVoice .refVoiceSettings{max-width:760px;margin:16px 0 12px}
.refMediaVoice #refVoiceModel{max-width:760px;margin:12px 0}
.refMediaVoice #refVoiceModel .actions{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:0}
.refMediaVoice #refVoiceModel .actions label{display:flex;flex-direction:column;align-items:stretch;gap:6px}
.refMediaVoice #refVoiceModel select,.refMediaVoice #refVoiceModel input{min-height:42px;box-sizing:border-box}
.refMediaVoice .refTargetLabel{margin:16px 0 6px}
.refMediaVoice>.actions{margin:12px 0}
.refMediaSection:not(.refMediaVoice)>label:first-of-type{display:flex;flex-direction:column;gap:6px;max-width:360px;font-weight:600}
.refMediaSection:not(.refMediaVoice)>label:first-of-type select{width:100%;min-height:42px}
.staffTopicField{display:flex;flex-direction:column;align-items:stretch;gap:7px;max-width:760px;font-weight:600}
.staffTopicField select{width:100%;min-width:0;min-height:44px}
.staffBatchVoiceSettings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:760px;margin:16px 0}
.staffBatchVoiceSettings label{display:flex;flex-direction:column;gap:7px;font-weight:600;min-width:0}
.staffBatchVoiceSettings select{width:100%;min-width:0;min-height:44px}
#wbPageMount #voiceSectionList #reflist .vcard{background:#fff;opacity:1;box-sizing:border-box}
#wbPageMount #voiceSectionList #reflist .vhead b{flex-basis:auto;margin-right:4px}
#wbPageMount #voiceSectionList #reflist .vmeta{font-size:12px}
#wbPageMount #voiceSectionList #reflist [data-mm-voice]{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
#wbPageMount #voiceSectionList #reflist .vacts{margin-top:2px}
#wbSelPortal .wbSelMenu,.wbSelMenu{background:#fff;border-color:#cbded1;color:#183c2d}
#wbSelPortal .wbSelMenu>li:hover,#wbSelPortal .wbSelMenu>li.on,.wbSelMenu>li:hover,.wbSelMenu>li.on{background:#e7f3eb;color:#145839}
@media(max-width:640px){.staffBatchVoiceSettings{grid-template-columns:minmax(0,1fr)}.refMediaVoice{padding:16px}}

/* 排版细节：只整理相关表单的标签、控件与操作间距。 */
.mxScoped .mxSect.mxSect::before{content:"\25C6"}
.topline{grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr) 96px;min-width:0}
.topline>.histBar>.histList{gap:8px;align-items:center}
.topline>.histBar>.histList>.histSel{width:0;min-width:0;flex:1 1 auto}
.topline>.histBar>.histList>.histCount{flex:0 0 auto;white-space:nowrap}
.topline>#saveState{position:static;max-width:100%}
@media(max-width:1100px){.topline{grid-template-columns:minmax(0,1fr) 96px}}
@media(max-width:1100px){.topline>#multiWin{position:static;grid-column:1/-1;justify-self:start;max-width:100%;white-space:normal}}
@media(max-width:760px){.topline{grid-template-columns:minmax(0,1fr)}}
.actions:has(>label [data-sv]){align-items:end;gap:12px 16px}
.actions>label:has(>[data-sv]){display:flex;flex-direction:column;align-items:stretch;gap:6px;min-width:0;line-height:1.5}
.actions>label:has(>select[data-sv]){flex:1 1 160px;max-width:260px}
.actions>label:has(>input[data-sv="instruction"]){flex:1 1 260px}
.actions>label>[data-sv]{max-width:100%;min-height:42px}
.refMediaVoice #refVoiceModel .actions{align-items:end}
.refMediaVoice #refVoiceModel .actions label{justify-content:flex-end}
.refMediaVoice #refVoiceModel .actions select,
.refMediaVoice #refVoiceModel .actions input{height:44px;min-height:44px;box-sizing:border-box}
.refMediaVoice #refVoiceModel .actions select{appearance:none;-webkit-appearance:none;padding:8px 32px 8px 12px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='m1 1 6 6 6-6' fill='none' stroke='%23263f34' stroke-width='1.6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}
.staffProductionGrid label:has(select){display:flex;flex-direction:column;gap:6px;margin-top:10px;min-width:0;line-height:1.5}
.staffProductionGrid label select{width:100%}
.staffProductionGrid select[data-staff-voice]{width:100%;min-width:0;min-height:44px}
.staffProductionGrid .wbSel{display:block;width:100%;max-width:100%;min-width:0}
.staffProductionGrid .wbSel .wbSelBtn{width:100%;min-width:0}
.staffProductionGrid label:has(select)+button{margin-top:10px}
.refMediaSection .actions>label:has(>select){display:flex;flex-direction:column;align-items:stretch;gap:6px;line-height:1.5}
.refMediaSection .actions>label>select{max-width:100%;min-height:42px}
.imsRow{gap:10px 14px}
.imsRow .imsField.imsInline{gap:6px;margin:0;min-width:0}
@media(max-width:640px){
  .actions>label:has(>select[data-sv]),.actions>label:has(>input[data-sv="instruction"]){flex-basis:100%;max-width:none}
  .imsRow .imsField.imsInline{flex:1 1 140px}
}

/* 员工矩阵表单：文字、输入项和选项各自留出空间。 */
#mxWrap .panel:has(#staffBossTopic)>label:not(.staffTopicField){display:flex;flex-direction:column;gap:6px;margin-top:16px;line-height:1.5}
#mxWrap .panel:has(#staffBossTopic)>.actions:has(#staffPrice),
#mxWrap .panel:has(#staffBossTopic)>.actions:has(#staffCount){align-items:end;gap:12px 16px}
#mxWrap .panel:has(#staffBossTopic)>.actions>label:has(#staffPrice),
#mxWrap .panel:has(#staffBossTopic)>.actions>label:has(#staffPeople),
#mxWrap .panel:has(#staffBossTopic)>.actions>label:has(#staffCount),
#mxWrap .panel:has(#staffBossTopic)>.actions>label:has(#staffDuration),
#mxWrap .panel:has(#staffBossTopic)>.actions>label:has(#staffLang),
#mxWrap .panel:has(#staffBossTopic)>.actions>label:has(#staffStyle){display:flex;flex-direction:column;align-items:stretch;gap:6px;min-width:0;line-height:1.5}
#mxWrap .panel:has(#staffBossTopic)>.actions>label:has(#staffPrice),
#mxWrap .panel:has(#staffBossTopic)>.actions>label:has(#staffPeople){flex:1 1 180px;max-width:360px}
#mxWrap .panel:has(#staffBossTopic)>.actions>label:has([data-staff-dir]){display:inline-flex;align-items:center;gap:7px;line-height:1.5}
#mxWrap .panel:has(#staffBossTopic)>.actions>label>select{min-width:130px;min-height:42px}
.staffProductionCard>label:has([data-staff-confirm]){display:inline-flex;align-items:center;gap:7px;line-height:1.5}
.staffProductionGrid>div{overflow-wrap:anywhere}
.staffProductionGrid>div>button{max-width:100%;white-space:normal}
.staffProductionGrid>div>p{line-height:1.6}

/* 图片工坊与数字人素材区的文字和操作不互相挤压。 */
.imsField,.imsCfgField{line-height:1.6;min-width:0}
.imsField>input,.imsField>textarea,.imsField>select,
.imsCfgField>input,.imsCfgField>select{margin-top:6px}
.imsRow .imsField.imsInline>select{margin-top:0}
.imsOps,.imsCfgOps,.staffAvatarActions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.imsCard,.dhsCard{min-width:0;overflow-wrap:anywhere}
.imsCard .imsSub{line-height:1.5;overflow-wrap:anywhere}
.staffAvatarHeader>div{min-width:0;overflow-wrap:anywhere}
#ctab-profile .clientDeleteSection{padding-right:130px}
#wbPageMount .tcWrap{min-width:0;max-width:100%}
#wbPageMount .tcTable{table-layout:fixed;max-width:100%}
#wbPageMount .tcTable td{overflow-wrap:anywhere}
#wbPageMount .tcTable .tcN{min-width:0}
#wbPageMount .tcTable .tcO{white-space:normal}
@media(max-width:900px){#wbPageMount .tcTable th{width:auto!important}}

@media(max-width:640px){
  #mxWrap .panel:has(#staffBossTopic)>.actions>label:has(#staffPrice),
  #mxWrap .panel:has(#staffBossTopic)>.actions>label:has(#staffPeople){max-width:none}
  .staffProductionGrid>div>button{width:100%}
  #ctab-profile .clientDeleteSection{padding-right:16px;margin-bottom:80px}
}

/* 任务中心在放大页面时允许表头和内容换行。 */
@media(max-width:1400px){
  #wbPageMount .tcTable th{width:auto!important;white-space:normal;overflow-wrap:anywhere;padding:8px 6px}
  #wbPageMount .tcTable td{padding:8px 6px;white-space:normal;overflow-wrap:anywhere;word-break:break-word}
  #wbPageMount .tcTable audio{max-width:100%}
}

/* 主题创作样板：保留醒狮品牌，突出当前步骤和可点击选项。 */
body:has([data-mode].active):not(.studioPage):not(.homePage)::after{opacity:.07}
body:has([data-mode].active):not(.studioPage):not(.homePage) aside .navGroup>nav .modeBig,
body:has([data-mode].active):not(.studioPage):not(.homePage) aside .navGroup>button.voiceLibNav{
  background:rgba(255,255,252,.94)!important;color:#244c3a;border:1px solid #cbdccf;
  box-shadow:none;font-weight:600;
}
body:has([data-mode].active):not(.studioPage):not(.homePage) aside .navGroup>nav .modeBig small,
body:has([data-mode].active):not(.studioPage):not(.homePage) aside .navGroup>button.voiceLibNav small{color:#466c59;opacity:1}
body:has([data-mode].active):not(.studioPage):not(.homePage) aside .navGroup>nav .modeBig.active,
body:has([data-mode].active):not(.studioPage):not(.homePage) aside .navGroup>button.voiceLibNav.active{
  background:#155c3e!important;color:#fff;border-color:#b9944c;box-shadow:0 3px 10px rgba(15,72,47,.18)
}
body:has([data-mode].active):not(.studioPage):not(.homePage) aside .navGroup>nav .modeBig.active small,
body:has([data-mode].active):not(.studioPage):not(.homePage) aside .navGroup>button.voiceLibNav.active small{color:#fff}
body:has([data-mode].active):not(.studioPage):not(.homePage) aside .navGroup>nav .modeBig:hover,
body:has([data-mode].active):not(.studioPage):not(.homePage) aside .navGroup>button.voiceLibNav:hover{border-color:#2e7854;filter:brightness(.97)}
body:has([data-mode].active):not(.studioPage):not(.homePage) #steps{gap:6px;padding:6px;background:rgba(255,255,255,.94);overflow-x:auto}
body:has([data-mode].active):not(.studioPage):not(.homePage) #steps button{min-width:105px;min-height:44px;color:#456457}
body:has([data-mode].active):not(.studioPage):not(.homePage) #steps button.active{color:#fff;background:#155c3e}
#workspace .panel:has(#topicBrief){background:#fff;max-width:1120px;padding:28px 30px}
#workspace #topicBrief{display:block;width:100%;min-height:96px;height:110px;box-sizing:border-box;resize:vertical}
#workspace [data-tbrief-quick]{background:#f3f8f4;color:#245b40;border:1px solid #bed7c5;border-radius:999px;padding:8px 13px;line-height:1.4;min-height:38px}
#workspace [data-tbrief-quick]:hover,#workspace [data-tbrief-quick]:focus-visible{background:#dcefe1;border-color:#38805a;color:#16482f;outline:2px solid #9ec8aa;outline-offset:2px}
#workspace #topicRouteGo{min-height:44px;padding:10px 18px}
@media(max-width:640px){#workspace .panel:has(#topicBrief){padding:20px 18px}body:has([data-mode].active):not(.studioPage):not(.homePage) #steps button{min-width:100px}}

/* 数字人棚：按素材类型分组，统一卡片层次和操作入口。 */
body:has(.dhsStep1)::after{opacity:.07}
body:has(.dhsStep1) aside .navGroup>nav .modeBig,
body:has(.dhsStep1) aside .navGroup>button.voiceLibNav{
  background:rgba(255,255,252,.94)!important;color:#244c3a;border:1px solid #cbdccf;box-shadow:none;font-weight:600
}
body:has(.dhsStep1) aside .navGroup>nav .modeBig small,
body:has(.dhsStep1) aside .navGroup>button.voiceLibNav small{color:#466c59;opacity:1}
body:has(.dhsStep1) aside .navGroup>button.voiceLibNav.active{
  background:#155c3e!important;color:#fff;border-color:#b9944c;box-shadow:0 3px 10px rgba(15,72,47,.18)
}
.dhsScope .dhsStep1>h3{margin:28px 0 12px;padding:0 0 10px;color:#214d37;font-size:16px;font-weight:700;border-color:#cfdfd3}
.dhsScope .dhsModelGrid{gap:14px}
.dhsScope .dhsModelCard{min-height:156px;padding:20px 22px;border:1px solid #d4e3d8;border-radius:14px;background:#fff;box-shadow:0 3px 12px rgba(32,70,48,.05);text-align:left}
.dhsScope button.dhsModelCard:hover,.dhsScope button.dhsModelCard:focus-visible{border-color:#39805b;background:#f8fcf8;box-shadow:0 6px 18px rgba(32,70,48,.12);outline:2px solid #a4c8af;outline-offset:2px}
.dhsScope .dhsModelName{color:#173c2a;font-size:16px;line-height:1.45}
.dhsScope .dhsModelDesc{color:#526b5c;line-height:1.7}
.dhsScope .dhsModelGo{align-self:flex-start;color:#176340;font-weight:700;border-bottom:1px solid #9ac5a6;padding-bottom:2px}
.dhsScope .dhsPending{background:#f5f7f4;box-shadow:none}
@media(max-width:640px){.dhsScope .dhsModelCard{padding:18px;min-height:140px}}

/* 图片工坊入口：清楚区分可进入与暂未接通的功能。 */
body:has(.imsTools)::after{opacity:.07}
body:has(.imsTools) aside .navGroup>nav .modeBig,
body:has(.imsTools) aside .navGroup>button.voiceLibNav{background:rgba(255,255,252,.94)!important;color:#244c3a;border:1px solid #cbdccf;box-shadow:none;font-weight:600}
body:has(.imsTools) aside .navGroup>nav .modeBig small,
body:has(.imsTools) aside .navGroup>button.voiceLibNav small{color:#466c59;opacity:1}
body:has(.imsTools) aside .navGroup>button.voiceLibNav.active{background:#155c3e!important;color:#fff;border-color:#b9944c;box-shadow:0 3px 10px rgba(15,72,47,.18)}
#wbPageMount .imsTools h3{margin:28px 0 12px;padding-bottom:10px;border-bottom:1px solid #cfdfd3;color:#214d37;font-size:16px}
#wbPageMount .imsToolsGrid{gap:14px}
#wbPageMount .imsTool{min-height:150px;padding:20px 22px;gap:10px;border:1px solid #d4e3d8;border-radius:14px;background:#fff;box-shadow:0 3px 12px rgba(32,70,48,.05)}
#wbPageMount .imsTool b{color:#173c2a;font-size:16px;line-height:1.45}
#wbPageMount .imsTool span{color:#526b5c;line-height:1.7}
#wbPageMount .imsTool small{color:#176340;font-size:13px;font-weight:700;border-bottom:1px solid #9ac5a6;padding-bottom:2px}
#wbPageMount .imsTool:hover:not(:disabled),#wbPageMount .imsTool:focus-visible{border-color:#39805b;background:#f8fcf8;box-shadow:0 6px 18px rgba(32,70,48,.12);outline:2px solid #a4c8af;outline-offset:2px}
#wbPageMount .imsTool:disabled{background:#f1f3f0;border-color:#dfe5df;box-shadow:none;opacity:1}
#wbPageMount .imsTool:disabled b{color:#65736a}
#wbPageMount .imsTool:disabled span{color:#77877d}
#wbPageMount .imsTool:disabled small{color:#687a70;background:#e5ebe5;border:0;border-radius:999px;padding:3px 9px}
@media(max-width:640px){#wbPageMount .imsTool{padding:18px;min-height:135px}}

/* 矩阵入口：统一卡片，并标识尚未接通的批量视频入口。 */
body:has(.mxScoped)::after{opacity:.07}
body:has(.mxScoped) aside .navGroup>nav .modeBig,
body:has(.mxScoped) aside .navGroup>button.voiceLibNav{background:rgba(255,255,252,.94)!important;color:#244c3a;border:1px solid #cbdccf;box-shadow:none;font-weight:600}
body:has(.mxScoped) aside .navGroup>nav .modeBig small,
body:has(.mxScoped) aside .navGroup>button.voiceLibNav small{color:#466c59;opacity:1}
body:has(.mxScoped) aside .navGroup>button.voiceLibNav.active{background:#155c3e!important;color:#fff;border-color:#b9944c;box-shadow:0 3px 10px rgba(15,72,47,.18)}
#mxWrap .mxEntry{gap:16px}
#mxWrap .mxEntryRow,#mxWrap .mxEntryRow3{gap:14px}
#mxWrap .mxCard{padding:20px 22px;border:1px solid #d4e3d8;border-radius:14px;background:#fff;box-shadow:0 3px 12px rgba(32,70,48,.05)}
#mxWrap .mxCard:hover{border-color:#39805b;box-shadow:0 6px 18px rgba(32,70,48,.12)}
#mxWrap .mxCard h4{color:#173c2a;line-height:1.45;padding-right:24px}
#mxWrap .mxCardD{color:#526b5c;line-height:1.65}
#mxWrap .mxCardNote{color:#687a70}
#mxWrap .mxCardIco{left:22px;top:22px;color:#a9833e}
#mxWrap .mxCardGo{right:18px;top:18px;color:#176340;border-color:#c7decf}
#mxWrap .mxSect{font-size:16px;font-weight:700;color:#214d37;margin:8px 0 0;padding-bottom:8px;border-bottom:1px solid #cfdfd3}
#mxWrap .mxSect:after{display:none}
#mxWrap .mxCard[data-mxgo="short"],#mxWrap .mxCard[data-mxgo="ref7"],#mxWrap .mxCard[data-mxgo="ref4"]{background:#f5f7f4;border-color:#dfe5df;box-shadow:none}
#mxWrap .mxCard[data-mxgo="short"]::after,#mxWrap .mxCard[data-mxgo="ref7"]::after,#mxWrap .mxCard[data-mxgo="ref4"]::after{content:"暂未接入";display:inline-block;margin:12px 0 0 38px;padding:3px 9px;border-radius:999px;background:#e5ebe5;color:#52685a;font-size:12px;font-weight:600}
@media(max-width:640px){#mxWrap .mxCard{padding:18px}#mxWrap .mxCardIco{left:18px;top:20px}}

/* 大纲设置：平台与目标时长紧凑排列，缩小窗口时自动换行。 */
#workspace .panel:has(select[data-field="platform"]):has(select[data-field="duration"])>label.field:has(+ select[data-field="platform"]),
#workspace .panel:has(select[data-field="platform"]):has(select[data-field="duration"])>label.field:has(+ select[data-field="duration"]),
#workspace .panel:has(select[data-field="platform"]):has(select[data-field="duration"])>label.field:has(+ .wbSel select[data-field="platform"]),
#workspace .panel:has(select[data-field="platform"]):has(select[data-field="duration"])>label.field:has(+ .wbSel select[data-field="duration"]){display:inline-flex;vertical-align:middle;margin:12px 8px 12px 0;padding:0;border:0;min-height:44px}
#workspace .panel select[data-field="platform"],#workspace .panel select[data-field="duration"]{min-width:150px;min-height:44px;margin:8px 22px 8px 0}
#workspace .panel .wbSel:has(select[data-field="platform"]),#workspace .panel .wbSel:has(select[data-field="duration"]){width:160px;margin:8px 22px 8px 0}
#workspace .panel .wbSel:has(select[data-field="platform"]) .wbSelBtn,#workspace .panel .wbSel:has(select[data-field="duration"]) .wbSelBtn{min-height:44px;background:#fff;border:1px solid #b9cec0;color:#214d37;border-radius:8px;padding:8px 12px}
@media(max-width:640px){#workspace .panel .wbSel:has(select[data-field="platform"]),#workspace .panel .wbSel:has(select[data-field="duration"]){width:145px;margin-right:10px}}

/* 已选主题提示中的返回操作需明显可见。 */
#workspace .pickedTheme #pickedThemeBack,#workspace .pickedTheme #backToStep2{min-height:40px;padding:8px 14px;border:1px solid #8db8a0;border-radius:8px;background:#fff;color:#215d40;font-weight:600}
#workspace .pickedTheme #pickedThemeBack:hover,#workspace .pickedTheme #backToStep2:hover{background:#e0f1e5;border-color:#347a54}

/* 音色库保持与其他功能页一致的导航与卡片。 */
body:has(#voiceSectionDetail)::after{opacity:.07}
body:has(#voiceSectionDetail) aside .navGroup>nav .modeBig,
body:has(#voiceSectionDetail) aside .navGroup>button.voiceLibNav{background:rgba(255,255,252,.94)!important;color:#244c3a;border:1px solid #cbdccf;box-shadow:none;font-weight:600}
body:has(#voiceSectionDetail) aside .navGroup>nav .modeBig small,
body:has(#voiceSectionDetail) aside .navGroup>button.voiceLibNav small{color:#466c59;opacity:1}
body:has(#voiceSectionDetail) aside .navGroup>button.voiceLibNav.active{background:#155c3e!important;color:#fff;border-color:#b9944c}
#wbPageMount .voiceStudioCards button{border-color:#d4e3d8;border-radius:14px;padding:20px;box-shadow:0 3px 12px rgba(32,70,48,.05)}
#wbPageMount .voiceStudioCards button:hover,#wbPageMount .voiceStudioCards button:focus-visible{border-color:#39805b;background:#f8fcf8;outline:2px solid #a4c8af;outline-offset:2px}

/* 用户资料与设置：保持导航一致，长弹窗里随时可关闭。 */
body:has(#ctab-profile)::after{opacity:.07}
body:has(#ctab-profile) aside .navGroup>nav .modeBig,
body:has(#ctab-profile) aside .navGroup>button.voiceLibNav{background:rgba(255,255,252,.94)!important;color:#244c3a;border:1px solid #cbdccf;box-shadow:none;font-weight:600}
body:has(#ctab-profile) aside .navGroup>nav .modeBig small,
body:has(#ctab-profile) aside .navGroup>button.voiceLibNav small{color:#466c59;opacity:1}
body:has(#ctab-profile) aside #profile{border-color:#b9944c;box-shadow:0 3px 10px rgba(15,72,47,.18)}

/* 任务中心筛选与记录，保持可读并统一导航。 */
body:has(.tcWrap)::after{opacity:.07}
body:has(.tcWrap) aside .navGroup>nav .modeBig,
body:has(.tcWrap) aside .navGroup>button.voiceLibNav{background:rgba(255,255,252,.94)!important;color:#244c3a;border:1px solid #cbdccf;box-shadow:none;font-weight:600}
body:has(.tcWrap) aside .navGroup>nav .modeBig small,
body:has(.tcWrap) aside .navGroup>button.voiceLibNav small{color:#466c59;opacity:1}
body:has(.tcWrap) aside #taskCenter{border-color:#b9944c;box-shadow:0 3px 10px rgba(15,72,47,.18)}
#wbPageMount .tcBar{gap:10px;margin:0 0 18px}
#wbPageMount .tcChips{gap:8px}
#wbPageMount .tcChip{min-height:40px;padding:7px 13px;border-color:#bbd3c2;color:#244f39}
#wbPageMount .tcChip.on{background:#155c3e;border-color:#155c3e;color:#fff}
#wbPageMount .tcChip:focus-visible{outline:2px solid #7bab8b;outline-offset:2px}
#wbPageMount .tcSel{min-height:40px;max-width:180px}
#wbPageMount .tcTable{border-color:#d5e3d9}
#wbPageMount .tcTable th{background:#edf5ef;color:#345b46}

/* 功能详情页也沿用入口页的清爽导航。 */
body:has(#dhStudio.active)::after,body:has(#imgStudio.active)::after,body:has(#voiceLibrary.active)::after,body:has(#matrixNav.active)::after{opacity:.07}
body:has(#dhStudio.active) aside .navGroup>nav .modeBig,body:has(#dhStudio.active) aside .navGroup>button.voiceLibNav,
body:has(#imgStudio.active) aside .navGroup>nav .modeBig,body:has(#imgStudio.active) aside .navGroup>button.voiceLibNav,
body:has(#voiceLibrary.active) aside .navGroup>nav .modeBig,body:has(#voiceLibrary.active) aside .navGroup>button.voiceLibNav,
body:has(#matrixNav.active) aside .navGroup>nav .modeBig,body:has(#matrixNav.active) aside .navGroup>button.voiceLibNav{background:rgba(255,255,252,.94)!important;color:#244c3a;border:1px solid #cbdccf;box-shadow:none;font-weight:600}
body:has(#dhStudio.active) aside .navGroup>nav .modeBig small,body:has(#imgStudio.active) aside .navGroup>nav .modeBig small,body:has(#voiceLibrary.active) aside .navGroup>nav .modeBig small,body:has(#matrixNav.active) aside .navGroup>nav .modeBig small{color:#466c59;opacity:1}
body aside .navGroup>button.voiceLibNav.active{background:#155c3e!important;color:#fff;border-color:#b9944c}

body:has(#dhStudio.active) aside .navGroup>button#dhStudio.active,
body:has(#imgStudio.active) aside .navGroup>button#imgStudio.active,
body:has(#voiceLibrary.active) aside .navGroup>button#voiceLibrary.active,
body:has(#matrixNav.active) aside .navGroup>button#matrixNav.active{background:#155c3e!important;color:#fff;border-color:#b9944c}

/* 配音表单：统一输入框内边距、控件高度与每段操作。 */
.refMediaVoice .refVoiceSettings label{min-width:0;display:flex;flex-direction:column;gap:8px}
.refMediaVoice .refVoiceSettings .wbSel{display:block;width:100%;max-width:none!important}
.refMediaVoice .refVoiceSettings .wbSelBtn{width:100%;min-height:44px!important;padding:10px 14px!important;box-sizing:border-box;background:#fff!important;border:1px solid #b9cec0!important;border-radius:8px;color:#244438!important}
.refMediaVoice .refVoiceSettings select:not([data-wb-sel="1"]){width:100%;min-height:44px;padding:10px 14px;box-sizing:border-box}
.wbSelMenu>li.wbSelGroup,#wbSelPortal .wbSelMenu>li.wbSelGroup{font-size:12px;font-weight:700;color:#687d70;background:transparent;cursor:default;padding:8px 10px 4px}
.wbSelMenu>li[aria-disabled="true"]{opacity:.5;cursor:not-allowed}
[data-sv-track]>.actions,[data-sv-reference]>.actions,[data-sv-segment]>div>.actions{display:flex;align-items:end;gap:12px;flex-wrap:wrap}
[data-sv-track]>.actions>label,[data-sv-reference]>.actions>label,[data-sv-segment]>div>.actions>label{display:flex;flex-direction:column;justify-content:flex-end;align-items:stretch;gap:6px;min-width:0;line-height:1.4}
[data-sv-track]>.actions>label:has([data-sv="model"]),[data-sv-reference]>.actions>label:has([data-sv="model"]){flex:1 1 190px}
[data-sv-track]>.actions>label:has([data-sv="emotion"]),[data-sv-reference]>.actions>label:has([data-sv="emotion"]){flex:1 1 110px}
[data-sv-track]>.actions>label:has([data-sv="speed"]),[data-sv-reference]>.actions>label:has([data-sv="speed"]){flex:0 1 90px}
[data-sv-track]>.actions label .wbSel,[data-sv-reference]>.actions label .wbSel,[data-sv-segment]>div>.actions label .wbSel{display:block;width:100%}
[data-sv-track]>.actions label .wbSelBtn,[data-sv-reference]>.actions label .wbSelBtn,[data-sv-segment]>div>.actions label .wbSelBtn,[data-sv-track]>.actions input,[data-sv-reference]>.actions input,[data-sv-segment]>div>.actions input{height:44px;min-height:44px;box-sizing:border-box;padding:8px 12px!important;max-width:100%}
.narrBar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.narrBar button[data-hook-voice],.narrBar button[data-voice-b],.narrBar button[data-self-record],.narrBar button[data-voice-del],.narrBar button[data-hook-vdel],.narrBar details[data-sv-segment]>summary{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:7px 12px;border:1px solid #b9cec0;border-radius:8px;background:#fff;color:#24583d;font-size:13px;line-height:1.4;cursor:pointer}
.narrBar button.primary[data-hook-voice],.narrBar button.primary[data-voice-b]{background:#155c3e;border-color:#155c3e;color:#fff}
.narrBar details[data-sv-segment]{max-width:100%}
.narrBar details[data-sv-segment]>summary{list-style:none}
.narrBar details[data-sv-segment]>summary::-webkit-details-marker{display:none}
.narrBar details[data-sv-segment]>summary::before{content:"▸";margin-right:6px}
.narrBar details[data-sv-segment][open]>summary::before{content:"▾"}
.narrBar audio{max-width:100%}

/* 具体配音方式中，两个内部返回按钮作用相同，只展示靠近表单的一个。 */
#voiceSectionDetail:has(#voiceStudioDetail:not([hidden])) > #voiceSectionBack{display:none}

/* 老板指定：HeyGem 卡片排在前面并标注推荐。 */
.dhsScope .dhsModelGrid:has([data-extra-model="hey2"]) [data-extra-model="hey2"]{order:-1}
.dhsScope [data-extra-model="hey2"] .dhsModelName::after{content:"推荐";display:inline-block;vertical-align:middle;margin-left:9px;padding:3px 8px;border-radius:999px;background:#e5f2e8;color:#246343;font-size:12px;font-weight:700}

/* 统一全站下拉文字留白，避免长选项贴边。 */
#workspace .wbSel>.wbSelBtn,#wbPageMount .wbSel>.wbSelBtn,#dialogBody .wbSel>.wbSelBtn,.topline .wbSel>.wbSelBtn{box-sizing:border-box;min-height:42px;padding:9px 14px!important;gap:12px}
#workspace .wbSelCur,#wbPageMount .wbSelCur,#dialogBody .wbSelCur{line-height:1.45}
#mxWrap .staffTopicField .wbSel{display:block;width:100%;max-width:100%!important}
#mxWrap .staffTopicField .wbSelBtn{width:100%;min-width:0;text-align:left}

/* 统一收口：表单参数、双轨设置和操作区使用同一套尺寸。 */
#mxWrap .panel:has(#staffBossTopic)>.actions:has(#staffCount){display:grid;grid-template-columns:minmax(120px,140px) minmax(150px,180px) minmax(150px,1fr) minmax(170px,1fr);align-items:end;gap:16px;margin-top:14px}
#mxWrap .panel:has(#staffBossTopic)>.actions:has(#staffCount)>label{width:100%;max-width:none!important}
#mxWrap .panel:has(#staffBossTopic)>.actions:has(#staffCount) input,
#mxWrap .panel:has(#staffBossTopic)>.actions:has(#staffCount) select{width:100%!important;min-width:0!important;height:46px;min-height:46px;box-sizing:border-box;padding:10px 14px;border:1px solid #c8d2c9;border-radius:10px;background:#fff;color:#19382b}
#mxWrap .panel:has(#staffBossTopic)>.actions:has(#staffCount)+.actions{display:flex;align-items:center;gap:14px;margin-top:18px}
#mxWrap .panel:has(#staffBossTopic)>.actions:has(#staffCount)+.actions button{height:46px;min-height:46px;padding:10px 24px;border-radius:10px}
@media(max-width:900px){#mxWrap .panel:has(#staffBossTopic)>.actions:has(#staffCount){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){#mxWrap .panel:has(#staffBossTopic)>.actions:has(#staffCount){grid-template-columns:1fr}.actions:has(>label [data-sv]){gap:10px}.actions>label:has(>[data-sv]){flex:1 1 100%;max-width:none!important}}

/* 双轨 A/B 设置：标签、控件和间距严格对齐。 */
.dual{align-items:stretch}
.dual>.trackA,.dual>.trackB{min-width:0}
.dual .voicePick{display:grid;grid-template-columns:minmax(110px,auto) minmax(0,1fr) auto;align-items:center;gap:12px;margin:12px 0 16px}
.dual .voicePick label{margin:0;line-height:44px;white-space:nowrap}
.dual .voicePick select{width:100%;height:44px;min-height:44px;box-sizing:border-box;padding:8px 34px 8px 14px}
.dual [data-sv-track]>.actions{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr) minmax(86px,.7fr);align-items:end;gap:12px}
.dual [data-sv-track]>.actions>label{width:100%;max-width:none!important}
.dual [data-sv-track]>.actions select,
.dual [data-sv-track]>.actions input{width:100%!important;height:44px;min-height:44px;box-sizing:border-box}
.dual [data-sv-track] details[data-sv-advanced]{margin-top:10px}
@media(max-width:900px){.dual{grid-template-columns:1fr}.dual [data-sv-track]>.actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 90px}}
@media(max-width:560px){.dual .voicePick{grid-template-columns:1fr}.dual .voicePick label{line-height:1.5}.dual [data-sv-track]>.actions{grid-template-columns:1fr}.dual [data-sv-track]>.actions>label{max-width:none!important}}

/* 每段操作区：按钮统一高度，长文案不能把按钮顶歪。 */
.narrBar{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.narrBar button,.narrBar details>summary{min-height:40px;height:40px;box-sizing:border-box;padding:8px 14px;line-height:1.3;white-space:nowrap}
[data-sv-segment]>div>.actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(90px,120px);align-items:end;gap:12px}
[data-sv-segment]>div>.actions>label{width:100%;max-width:none!important}
[data-sv-segment]>div>.actions select,[data-sv-segment]>div>.actions input{width:100%!important;height:44px;min-height:44px;box-sizing:border-box}

/* 统一所有输入文字留白，避免边缘贴字。 */
#workspace input,#workspace textarea,#workspace select,#wbPageMount input,#wbPageMount textarea,#wbPageMount select,#dialogBody input,#dialogBody textarea,#dialogBody select{box-sizing:border-box}
#workspace input:not([type=checkbox]):not([type=radio]):not([type=file]),#workspace select,#wbPageMount input:not([type=checkbox]):not([type=radio]):not([type=file]),#wbPageMount select,#dialogBody input:not([type=checkbox]):not([type=radio]):not([type=file]),#dialogBody select{padding-left:14px;padding-right:14px}
#workspace textarea,#wbPageMount textarea,#dialogBody textarea{padding:12px 14px;line-height:1.6}
/* 空提示不占额外一行；两轨有提示时均预留相同位置。 */
.dual .voicePick #voiceHint:empty{display:none}
.dual .voicePick:has(#voiceHint:not(:empty)) #voiceHint{grid-column:1/-1}
#mxWrap .panel:has(#staffBossTopic)>.actions:has(#staffCount) .wbSel{display:block;width:100%;max-width:none!important;min-width:0}
#mxWrap .panel:has(#staffBossTopic)>.actions:has(#staffCount) .wbSelBtn{width:100%;height:46px;min-height:46px;box-sizing:border-box;padding:10px 14px!important}
.dual .voicePick>.wbSel{width:100%;max-width:none!important;min-width:0}
/* 窄屏菜单与积分栏错开，避免遮住操作入口。 */
@media(max-width:620px){body:not(.homePage) #gbar{top:52px}body:not(.homePage) .mobileMenuToggle{min-height:40px} }
/* 图片设置行：操作按钮与相邻选择框对齐。 */
.imsRow:has(.imsInline)>.primary{min-height:42px;height:42px;box-sizing:border-box;padding:8px 16px}
.imsRow .imsInline select,.imsRow .imsInline .wbSelBtn{height:42px;min-height:42px;box-sizing:border-box}
