* { box-sizing: border-box; }
:root {
  --bg: #f5f6f8;
  --card: #ffffff;
  --text: #16181d;
  --sub: #6b7280;
  --line: #e6e8ee;
  --brand: #7c3aed;
  --green: #16a34a;
  --amber: #d97706;
  --red: #dc2626;
  --radius: 12px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
}
.hidden { display: none !important; }
.muted { color: var(--sub); }
.center { text-align: center; }
.error { color: var(--red); margin-top: 10px; font-size: 13px; }

/* 登录 */
.login {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(1200px 600px at 20% 0%, #ede9fe, #f5f6f8);
}
.login-card {
  width: 380px; background: var(--card); border-radius: 16px; padding: 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,.08);
}
.login-card .brand { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.login-card input {
  width: 100%; margin: 18px 0 12px; padding: 12px; border: 1px solid var(--line);
  border-radius: 10px; font-size: 14px;
}

/* 顶栏 */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; background: var(--card); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10;
}
.topbar .brand { font-size: 17px; font-weight: 800; }
.tag { font-size: 12px; font-weight: 500; color: var(--brand); background: #f3e8ff; padding: 3px 8px; border-radius: 999px; margin-left: 6px; }
.top-right { display: flex; align-items: center; gap: 10px; }
.badge { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: #fef3c7; color: #92400e; font-weight: 600; }

main { max-width: 1280px; margin: 0 auto; padding: 20px 24px 60px; }

/* 流水线 */
.pipeline { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-bottom: 18px; }
.stage {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; position: relative;
}
.stage .num { font-size: 12px; color: var(--brand); font-weight: 700; }
.stage .name { font-weight: 700; margin: 4px 0; }
.stage .value { font-size: 22px; font-weight: 800; }
.stage .hint { font-size: 11px; color: var(--sub); margin-top: 2px; }

/* tabs */
.tabs { display: flex; gap: 6px; margin: 18px 0 14px; }
.tab {
  padding: 9px 16px; border: 1px solid var(--line); background: var(--card);
  border-radius: 10px; cursor: pointer; font-size: 14px; color: var(--text);
}
.tab.active { background: var(--brand); color: #fff; border-color: var(--brand); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.card h3 { margin: 0 0 8px; font-size: 15px; }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.chip { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); cursor: pointer; font-size: 13px; }
.chip.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.filters input { margin-left: auto; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; width: 220px; }
.filters select { padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; }

/* table */
.table-wrap { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: auto; }
table { width: 100%; border-collapse: collapse; min-width: 900px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 13px; vertical-align: middle; }
th { color: var(--sub); font-weight: 600; background: #fafafa; }
.thumb { width: 44px; height: 58px; object-fit: cover; border-radius: 6px; background: #eee; display: block; }
.status { font-size: 12px; padding: 3px 9px; border-radius: 999px; font-weight: 600; display: inline-block; }
.status.draft { background: #fef3c7; color: #92400e; }
.status.approved { background: #dcfce7; color: #166534; }
.status.rejected { background: #fee2e2; color: #991b1b; }
.status.published { background: #dbeafe; color: #1e40af; }

/* buttons */
.btn { border: 1px solid var(--line); background: var(--card); padding: 8px 14px; border-radius: 9px; cursor: pointer; font-size: 13px; }
.btn:hover { background: #f9fafb; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.btn.primary:hover { filter: brightness(1.05); }
.btn.danger { color: var(--red); border-color: #fecaca; }
.btn.ok { color: var(--green); border-color: #bbf7d0; }
.btn.small { padding: 5px 10px; font-size: 12px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* form */
.form-row { display: flex; gap: 14px; flex-wrap: wrap; margin: 14px 0; }
.form-row label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--sub); flex: 1; min-width: 200px; }
.form-row select, .form-row input { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; color: var(--text); }
.gen-status { margin-top: 14px; white-space: pre-wrap; }
.log { background: #0f172a; color: #e2e8f0; padding: 14px; border-radius: 10px; font-size: 12px; overflow: auto; max-height: 320px; }

/* stats */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.stat .k { font-size: 12px; color: var(--sub); }
.stat .v { font-size: 24px; font-weight: 800; margin-top: 6px; }

/* drawer */
.drawer { position: fixed; inset: 0; z-index: 50; }
.drawer-mask { position: absolute; inset: 0; background: rgba(17,24,39,.45); }
.drawer-body {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(760px, 92vw);
  background: var(--card); box-shadow: -20px 0 60px rgba(0,0,0,.15);
  display: flex; flex-direction: column;
}
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 17px; margin: 0; }
#drawer-content { padding: 18px 22px 40px; overflow: auto; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--sub); font-size: 12px; margin: 8px 0 14px; }
.paragraphs p { line-height: 1.9; margin: 0 0 12px; font-size: 14px; }
.block-title { font-size: 13px; font-weight: 700; margin: 20px 0 8px; }
.variant-list { display: flex; flex-wrap: wrap; gap: 8px; }
.variant { background: #f9fafb; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font-size: 12px; }
.cover-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cover-grid figure { margin: 0; }
.cover-grid img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 10px; background: #eee; display: block; }
.cover-grid figcaption { font-size: 11px; color: var(--sub); margin-top: 4px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); }
.note { background: #f8fafc; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font-size: 12px; color: var(--sub); margin: 10px 0; white-space: pre-wrap; }

/* 驳回弹窗 */
.modal { position: fixed; inset: 0; z-index: 80; }
.modal-mask { position: absolute; inset: 0; background: rgba(17,24,39,.5); }
.modal-card {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: min(520px, 92vw); background: var(--card); border-radius: 14px; padding: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
}
.modal-card h3 { margin: 0 0 12px; font-size: 15px; }
.tag-select { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tag-select .chip { cursor: pointer; }
.tag-select .chip.on { background: var(--red); border-color: var(--red); color: #fff; }
.modal-card textarea {
  width: 100%; min-height: 90px; border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; font-family: inherit; font-size: 13px; resize: vertical;
}
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }

/* 审核意见展示 */
.reject-banner {
  background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; border-radius: 10px;
  padding: 10px 14px; font-size: 12px; margin: 10px 0; line-height: 1.7;
}
.review-tag { display: inline-block; background: #fee2e2; color: #991b1b; border-radius: 999px; padding: 2px 8px; margin-right: 6px; font-size: 11px; }
.history-item { font-size: 12px; color: var(--sub); padding: 6px 0; border-bottom: 1px dashed var(--line); }
.rejection-stats { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 14px; font-size: 12px; }
.rejection-stats b { color: var(--red); }

/* 系统监控 */
.system-stats { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: var(--radius); padding: 10px 16px; margin-bottom: 14px; font-size: 12px; color: #14532d; }
.system-stats b { color: #166534; }
.system-stats .warn { color: #b91c1c; font-weight: 700; }
.sys-top { font-size: 12px; color: var(--sub); line-height: 1.9; margin-top: 8px; }
.sys-top b { color: var(--text); }

/* 系统入口 */
.sys-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.sys-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.sys-head { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; }
.sys-head .env { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: #fef3c7; color: #92400e; font-weight: 600; }
.sys-head .env.prod { background: #fee2e2; color: #991b1b; }
.sys-desc { font-size: 12px; color: var(--sub); margin: 6px 0 10px; min-height: 32px; }
.sys-url { font-size: 11px; color: var(--sub); word-break: break-all; margin-bottom: 10px; }
.sys-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.sys-creds { font-size: 11px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); line-height: 1.8; }

/* 提示词/标题弹窗 */
.modal-card.wide { width: min(860px, 94vw); }
.row-between { display: flex; align-items: center; justify-content: space-between; }
label.block { display: block; font-size: 13px; color: var(--sub); margin: 10px 0; }
label.block textarea, label.block input { width: 100%; margin-top: 6px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-family: inherit; font-size: 13px; }
label.inline { flex-direction: row; align-items: center; gap: 6px; font-size: 13px; color: var(--text); }
label.inline input { width: auto; }
.titles-result { margin: 8px 0; max-height: 360px; overflow: auto; }
.titles-result .cand { display: flex; align-items: flex-start; gap: 8px; padding: 7px 10px; border-bottom: 1px dashed var(--line); font-size: 13px; }
.titles-result .cand input { margin-top: 3px; }
.task-badge { font-size: 11px; background: #ede9fe; color: #5b21b6; border-radius: 999px; padding: 2px 8px; font-weight: 600; }

/* 史书多选 */
.book-picker { margin: 10px 0 14px; }
.book-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.book-chip { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 6px 12px; font-size: 12px; cursor: pointer; color: var(--text); }
.book-chip.on { background: var(--brand); border-color: var(--brand); color: #fff; }

/* 封面提示词生产线 */
.coverprompt-list { max-height: 460px; overflow: auto; margin: 10px 0; }
.cp-item { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; background: #fafafa; }
.cp-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.cp-label { font-weight: 700; color: var(--brand); }
.cp-item input[type=text] { flex: 1; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; }
.cp-item textarea { width: 100%; min-height: 84px; margin-top: 6px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font-family: inherit; font-size: 12px; }
.cp-keywords { font-size: 11px; color: var(--sub); }

/* 分页 */
.pager { display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 12px 4px; font-size: 12px; }

/* 封面管理 */
.covers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 12px; }
.cover-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.cover-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; background: #eee; cursor: zoom-in; }
.cover-card .cc-body { padding: 8px 10px; font-size: 12px; }
.cover-card .cc-title { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cover-card .cc-meta { color: var(--sub); font-size: 11px; margin-top: 4px; display: flex; justify-content: space-between; gap: 6px; }

/* 封面管理：按内容分组，多张平铺 */
.cover-group { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; }
.cover-group-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; font-size: 14px; }
.cover-strip { display: flex; flex-wrap: wrap; gap: 12px; }
.cover-tile { width: auto; }
.cover-tile img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 10px; display: block; cursor: zoom-in; background: #eee; }
.cover-tile-meta { display: flex; flex-direction: column; gap: 2px; font-size: 11px; margin-top: 5px; }

/* 栏目提示词基础 */
.column-bases-list { max-height: 480px; overflow: auto; margin: 10px 0; }
.column-bases-list .cb-item { padding: 8px 10px; border-bottom: 1px dashed var(--line); font-size: 13px; line-height: 1.7; }
.column-bases-list .cb-item b { color: var(--brand); margin-right: 8px; }

/* ================= Layout：左侧导航 ================= */
#app {
  display: grid !important;
  grid-template-columns: 236px minmax(0, 1fr);
  min-height: 100vh;
  max-width: none;
  margin: 0;
}
.sidebar {
  position: sticky; top: 0; height: 100vh;
  background: #fff; border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
  padding: 16px 12px 12px;
}
.side-brand { display: flex; flex-direction: column; gap: 2px; padding: 4px 10px 16px; }
.side-brand b { font-size: 17px; letter-spacing: .5px; }
.side-brand span { font-size: 11px; color: var(--sub); }
.side-nav { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.nav-label {
  font-size: 10px; color: #9ca3af; font-weight: 600; letter-spacing: 1px;
  padding: 14px 12px 6px;
}
.side-nav .tab {
  display: flex; align-items: center; gap: 9px;
  width: 100%; text-align: left; border: 0; background: transparent;
  color: #4b5563; border-radius: 9px; padding: 9px 12px;
  font-size: 13px; font-weight: 500; cursor: pointer; margin: 0;
}
.side-nav .tab::before { font-size: 14px; opacity: .75; width: 16px; text-align: center; }
.side-nav .tab[data-tab="stories"]::before { content: "▤"; }
.side-nav .tab[data-tab="generate"]::before { content: "✎"; }
.side-nav .tab[data-tab="covers"]::before { content: "▧"; }
.side-nav .tab[data-tab="lines"]::before { content: "⇢"; }
.side-nav .tab[data-tab="titlegen"]::before { content: "❝"; }
.side-nav .tab[data-tab="sec"]::before { content: "✓"; }
.side-nav .tab[data-tab="mp"]::before { content: "▢"; }
.side-nav .tab[data-tab="prompts"]::before { content: "✧"; }
.side-nav .tab[data-tab="columns"]::before { content: "☰"; }
.side-nav .tab[data-tab="kb"]::before { content: "◫"; }
.side-nav .tab[data-tab="budget"]::before { content: "¥"; }
.side-nav .tab[data-tab="systems"]::before { content: "⛓"; }
.side-nav .tab:hover { background: #f6f4fd; color: #4c1d95; }
.side-nav .tab.active { background: #f1ecfe; color: #5b21b6; font-weight: 700; }
.side-foot {
  border-top: 1px solid var(--line); padding: 10px 12px 2px;
  display: flex; justify-content: space-between; font-size: 11px; color: var(--sub);
}
.main-wrap { min-width: 0; display: flex; flex-direction: column; }
.main-wrap .topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20;
}
.main-wrap .crumb { font-size: 15px; font-weight: 700; }
.main-wrap .topbar .brand { display: none; }
.content { width: 100%; max-width: none; margin: 0; padding: 20px 24px 60px; }
.content .pipeline { grid-template-columns: repeat(6, 1fr); }
.content .tabs { display: none; }
.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: auto; }
.table-wrap table { min-width: 860px; }
table { background: #fff; }
table th { font-size: 12px; color: var(--sub); font-weight: 600; white-space: nowrap; }
table td { border-top: 1px solid #f1f2f5; }
.content .card { border-radius: 12px; }
.filters { background: transparent; }
@media (max-width: 900px) {
  #app { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 10px; }
  .side-brand { flex-direction: row; align-items: baseline; gap: 8px; padding: 2px 6px 8px; }
  .side-nav { flex-direction: row; overflow-x: auto; gap: 4px; }
  .nav-label, .side-foot { display: none; }
  .side-nav .tab { width: auto; white-space: nowrap; padding: 7px 11px; }
  .content { padding: 14px 12px 50px; }
  .content .pipeline { grid-template-columns: repeat(2, 1fr); }
}

/* 列表操作按钮不换行、筛选栏对齐 */
.table-wrap td .btn.small { white-space: nowrap; }
.table-wrap td:last-child { white-space: nowrap; }
.filters { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filters input[type="search"] { margin-left: auto; min-width: 220px; }
.content .pipeline .stage { background: #fff; }
@media (max-width: 1200px) {
  .content .pipeline { grid-template-columns: repeat(3, 1fr); }
}

/* Dashboard */
.dash-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.dash-link {
  text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 16px; cursor: pointer; display: flex; flex-direction: column; gap: 6px;
}
.dash-link b { font-size: 14px; color: var(--text); }
.dash-link span { font-size: 12px; color: var(--sub); }
.dash-link:hover { border-color: #c4b5fd; box-shadow: 0 4px 14px rgba(124, 58, 237, .08); }
@media (max-width: 1200px) { .dash-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .dash-links { grid-template-columns: 1fr; } }

/* 二级 Tab */
.sub-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 0 0 16px; }
.sub-tab {
  border: 0; background: none; padding: 9px 14px; font-size: 13px; color: var(--sub);
  cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.sub-tab:hover { color: var(--text); }
.sub-tab.active { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }

/* 筛选数量 */
.chip-count { display: inline-block; min-width: 16px; padding: 0 5px; margin-left: 3px; border-radius: 8px; background: rgba(0,0,0,.07); font-size: 11px; color: var(--sub); text-align: center; }
.chip.active .chip-count { background: rgba(255,255,255,.25); color: #fff; }
.users-appid {}

/* 生成任务 icon */
.side-nav .tab[data-tab="tasks"]::before { content: "▹"; }
/* 审核结果卡片 */
.review-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; background: #fff; }
.review-card .rv-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.review-card .rv-source { font-weight: 700; font-size: 13px; }
.review-card .rv-badge { font-size: 11px; padding: 2px 8px; border-radius: 999px; }
.review-card .rv-badge.pass { background: #dcfce7; color: #166534; }
.review-card .rv-badge.risky { background: #fee2e2; color: #991b1b; }
.review-card .rv-badge.review { background: #fef3c7; color: #92400e; }
.review-card .rv-issues { margin: 6px 0 8px; padding-left: 18px; font-size: 12px; line-height: 1.7; color: #4b5563; }
.review-card .rv-actions { display: flex; gap: 8px; }
.review-empty { color: var(--sub); font-size: 12px; padding: 4px 0 8px; }

/* 栏目层级布局 */
.columns-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; align-items: start; }
.group-tree { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; position: sticky; top: 80px; max-height: calc(100vh - 110px); overflow: auto; }
.group-tree-head { font-size: 12px; font-weight: 700; color: var(--sub); padding: 4px 8px 10px; display: flex; justify-content: space-between; }
.group-list { display: flex; flex-direction: column; gap: 2px; }
.group-item { display: flex; justify-content: space-between; align-items: center; width: 100%; border: 0; background: none; padding: 8px 10px; border-radius: 8px; font-size: 12.5px; color: var(--text); cursor: pointer; text-align: left; }
.group-item:hover { background: #f6f4fd; }
.group-item.active { background: #f1ecfe; color: #5b21b6; font-weight: 700; }
.group-item .cnt { font-size: 11px; color: var(--sub); }
.columns-main { min-width: 0; }
@media (max-width: 900px) {
  .columns-layout { grid-template-columns: 1fr; }
  .group-tree { position: static; max-height: none; }
  .group-list { flex-direction: row; overflow-x: auto; }
  .group-item { width: auto; white-space: nowrap; }
}

/* 侧边栏缺失图标 */
.side-nav .tab[data-tab="dashboard"]::before { content: "◈"; }
.side-nav .tab[data-tab="users"]::before { content: "👥"; }
.side-nav .tab[data-tab="stats"]::before { content: "📊"; }

/* 内容列表多选与批量操作 */
.check-col { width: 34px; text-align: center; }
.check-col input { cursor: pointer; }
.batch-bar {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 10px 12px; margin-bottom: 10px;
  background: #faf9ff; border: 1px solid #e9e4fb; border-radius: 10px;
}
.batch-bar .btn[disabled] { opacity: .45; cursor: not-allowed; }
.batch-progress { color: #5b21b6; font-size: 12px; font-weight: 600; }

/* 无封面占位 & 图片加载失败 */
.thumb.empty {
  display: flex; align-items: center; justify-content: center;
  background: #f3f0e9; color: #a39a8b; font-size: 9px; line-height: 1.2;
  border: 1px dashed #e0d8c8;
}
.thumb.broken { background: #fef2f2; border: 1px dashed #fca5a5; }

/* 内容速览：摘要/大纲/爽点/逻辑问题 */
.analysis-card {
  border: 1px solid #e9e4fb; background: #faf9ff;
  border-radius: 12px; padding: 12px 14px; margin-bottom: 12px;
}
.analysis-summary { margin: 4px 0 8px; font-size: 13px; line-height: 1.7; color: #1f2937; }
.analysis-label { font-size: 11px; font-weight: 700; color: #6b7280; margin: 8px 0 4px; }
.analysis-outline { margin: 0; padding-left: 18px; font-size: 12px; line-height: 1.7; color: #374151; }
.analysis-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.analysis-tag { font-size: 11px; padding: 3px 9px; border-radius: 999px; background: #fcf1ef; color: #b3261e; border: 1px solid #e9b7b1; }
.analysis-logic { margin: 0; padding-left: 18px; font-size: 12px; color: #991b1b; line-height: 1.6; }
