/* =========================================================
   宇宙第一工作台 — V3 极致克制暗色（Stripe/Linear/Apple 复合气质）
   加载顺序：style.css → taste-chatgpt.css → admin.css → glass-theme.css
   覆盖视觉层：纯黑底 + IKB 克莱因蓝唯一强调 + Inter Display + 衬线 italic 点缀
   保留所有原 markup 与 JS 钩子，仅重写视觉。
   ========================================================= */

:root {
  /* === 暗色 token === */
  --bg: #000000;
  --bg-2: #0A0A0B;
  --bg-3: #131316;
  --bg-4: #1C1C20;

  /* === 文本 === */
  --text: #FFFFFF;
  --text-2: #A1A1AA;
  --text-3: #71717A;
  --text-4: #52525B;
  --text-5: #3F3F46;

  /* === 分隔线 === */
  --line: rgba(255, 255, 255, .06);
  --line-2: rgba(255, 255, 255, .10);
  --line-3: rgba(255, 255, 255, .16);
  --line-4: rgba(255, 255, 255, .24);

  /* === IKB 克莱因蓝 === */
  --ikb: #002FA7;
  --ikb-bright: #3D5BFF;
  --ikb-glow: rgba(61, 91, 255, .32);
  --ikb-soft: rgba(61, 91, 255, .08);

  /* === 语义 === */
  --good: #3FB950;
  --bad: #FF5C5C;
  --warn: #FFB020;

  /* === 字体栈 === */
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --serif: "Noto Serif SC", "Songti SC", "STSong", Georgia, "Times New Roman", serif;
  --mono: "JetBrains Mono", "SF Mono", "Roboto Mono", Menlo, Consolas, monospace;

  /* === 圆角 === */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
}

/* === Base 重置 === */
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg) !important;
  color: var(--text) !important;
  font-family: var(--sans) !important;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11", "tnum";
  letter-spacing: -.005em;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
::selection { color: var(--bg); background: var(--ikb-bright); }

/* === 滚动条暗化 === */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line-3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--line-4); }

/* === App shell 全宽暗底 === */
body { overflow-x: hidden; }
.app-shell {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--bg) !important;
  color: var(--text) !important;
  min-height: 100vh !important;
}

/* === 隐藏暗藏的旧 sidebar/command-bar 命令栏（V3 顶 nav 取代） === */
.report-nav.app-sidebar,
.command-bar {
  display: none !important;
}

/* =========================================================
   V3 顶 nav — 64px 高，1px 下划线，brand 左 / tabs 中 / meta 右
   ========================================================= */
.v3-topbar {
  position: sticky; top: 0; z-index: 50;
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
}
.v3-topbar .brand {
  display: flex; align-items: center; gap: 10px;
  letter-spacing: -.01em;
}
.v3-topbar .brand .mark {
  width: 20px; height: 20px; border-radius: 5px;
  background: var(--ikb-bright);
  position: relative; overflow: hidden;
}
.v3-topbar .brand .mark::after {
  content: ""; position: absolute; inset: 4px;
  border: 1.5px solid #fff; border-radius: 50%;
  border-top-color: transparent; border-right-color: transparent;
  transform: rotate(-45deg);
}
.v3-topbar .brand .name {
  font-size: 14px; font-weight: 600; color: var(--text);
  letter-spacing: -.005em;
}
.v3-topbar .brand .ver {
  margin-left: 4px; font-family: var(--mono);
  font-size: 10.5px; color: var(--text-4); letter-spacing: .04em;
}
.v3-topbar .tabs {
  display: flex; align-items: center; gap: 0;
  height: 100%;
}
.v3-topbar .tabs a {
  height: calc(100% + 1px);
  display: flex; align-items: center; gap: 6px;
  padding: 0 13px;
  font-size: 12.5px; color: var(--text-3); font-weight: 500;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  letter-spacing: -.003em;
  position: relative;
  transition: color .2s cubic-bezier(.22,.61,.36,1), background .2s ease, border-color .2s ease;
}
.v3-topbar .tabs a .tab-icon {
  width: 14px; height: 14px;
  flex-shrink: 0;
  opacity: .75;
  transition: opacity .2s ease, stroke-width .2s ease;
}
.v3-topbar .tabs a:hover { color: var(--text); background: rgba(255,255,255,.02); }
.v3-topbar .tabs a:hover .tab-icon { opacity: 1; }
.v3-topbar .tabs a.active {
  color: var(--text); font-weight: 600;
  border-bottom-color: var(--ikb-bright);
  background: linear-gradient(180deg, transparent 0%, rgba(61,91,255,.07) 100%);
}
.v3-topbar .tabs a.active .tab-icon { opacity: 1; }
.v3-topbar .right {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; color: var(--text-3); font-weight: 500;
}
.v3-topbar .right .stat { display: inline-flex; align-items: center; gap: 6px; }
.v3-topbar .right .dot-live {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--good); display: inline-block;
}
.v3-topbar .right .ver { font-family: var(--mono); font-size: 11px; color: var(--text-4); letter-spacing: .04em; }
.v3-topbar .right .avatar {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--bg-4); border: 1px solid var(--line-2);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--text-2); font-weight: 600;
  cursor: pointer; transition: border-color .15s ease;
}
.v3-topbar .right .avatar:hover { border-color: var(--line-4); }
.v3-topbar .right .menu-wrap { position: relative; }
.v3-topbar .right .settings-popover {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 200px; padding: 6px;
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 10px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .8);
  display: none;
  font-size: 13px;
}
.v3-topbar .right .menu-wrap.open .settings-popover { display: block; }
.v3-topbar .right .settings-popover button {
  width: 100%; padding: 8px 12px;
  background: transparent; color: var(--text-2); border: 0; border-radius: 6px;
  text-align: left; cursor: pointer;
  display: flex; align-items: center; gap: 10px;
  transition: background .12s ease, color .12s ease;
}
.v3-topbar .right .settings-popover button:hover { background: var(--bg-3); color: var(--text); }
.v3-topbar .right .settings-popover button svg { width: 14px; height: 14px; color: var(--text-3); }
.v3-topbar .right .settings-popover button i.config-on {
  width: 6px; height: 6px; border-radius: 50%; background: var(--good);
  margin-left: auto; box-shadow: 0 0 6px rgba(63, 185, 80, .5);
}

/* =========================================================
   V3 全局 layout — view 是顶级 section 占满视口
   ========================================================= */
.app-shell > section,
.app-shell > main {
  width: 100% !important;
  margin: 0 !important;
  background: var(--bg) !important;
  color: var(--text) !important;
}
.app-shell > footer {
  width: 100% !important; margin: 0 !important;
  padding: 24px 40px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; color: var(--text-3); font-weight: 500; letter-spacing: .04em;
  background: var(--bg) !important;
}
.app-shell > footer .l, .app-shell > footer .r { display: flex; gap: 24px; align-items: center; font-family: var(--mono); }
.app-shell > footer .r { gap: 16px; }
.app-shell > footer .r .dot-sep { color: var(--text-5); }

/* Page meta — 顶部页面级 meta 行 */
.v3-meta {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 40px 0;
  font-size: 11px; color: var(--text-3); font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  font-family: var(--sans);
}
.v3-meta .l { display: flex; align-items: center; gap: 10px; }
.v3-meta .l .line { width: 18px; height: 1px; background: var(--text-3); }
.v3-meta .r { font-family: var(--mono); font-size: 10px; letter-spacing: .04em; }
.v3-meta .r i {
  display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  background: var(--good); margin-right: 6px; vertical-align: middle;
  box-shadow: 0 0 6px rgba(63, 185, 80, .4);
}

/* =========================================================
   view 路由正确性 — 隐藏非激活 section（V3 顶 nav 用 app.js setActiveView 切）
   ========================================================= */
#entry:not([hidden]), #workbench:not([hidden]), #xiaohongshu:not([hidden]),
#tie-tu:not([hidden]), #hit-detector:not([hidden]), #morning-generator:not([hidden]),
#report:not([hidden]) {
  display: block !important;
}
.app-shell > .v3-topbar { display: flex !important; }
.app-shell > .v3-foot { display: flex !important; }

/* =========================================================
   #entry — 首页 / 公众号诊断
   ========================================================= */

/* Hero */
.v3-hero {
  display: grid; grid-template-columns: 1fr 1fr;
  column-gap: 80px; align-items: start;
  padding: 64px 40px 0; min-height: 540px;
}
.v3-hero-l .kicker {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ikb-bright); font-weight: 600;
  display: flex; align-items: center; gap: 10px; margin-bottom: 24px;
}
.v3-hero-l .kicker .line { width: 24px; height: 1px; background: var(--ikb-bright); }
.v3-hero-l h1 {
  font-size: 72px; line-height: 1.02;
  letter-spacing: -.04em; font-weight: 600; color: var(--text);
  margin: 0;
}
.v3-hero-l h1 .serif {
  font-family: var(--serif); font-weight: 500;
  font-style: italic; color: var(--text-2);
}
.v3-hero-l h1 .blue { color: var(--ikb-bright); }
.v3-hero-l .lede {
  font-size: 17px; line-height: 1.55; color: var(--text-2);
  max-width: 46ch; margin: 24px 0 0; font-weight: 400;
}
.v3-hero-l .cta-row {
  display: flex; gap: 8px; margin-top: 32px; align-items: center;
}
.v3-hero-l .cta-row .primary {
  height: 48px; padding: 0 22px;
  background: var(--text); color: #0A0A0B;
  border: 0; border-radius: 8px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  letter-spacing: -.01em;
  transition: background .15s ease;
}
.v3-hero-l .cta-row .primary:hover { background: #E5E5E7; }
.v3-hero-l .cta-row .primary .arr { font-family: var(--mono); font-size: 12px; }
.v3-hero-l .cta-row .secondary {
  height: 48px; padding: 0 18px;
  background: transparent; color: var(--text);
  border: 1px solid var(--line-3); border-radius: 8px;
  font-size: 13px; font-weight: 500; cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
}
.v3-hero-l .cta-row .secondary:hover { border-color: var(--line-4); color: var(--text); }
.v3-hero-l .proof {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 16px;
  font-size: 12px; color: var(--text-3);
}
.v3-hero-l .proof b { color: var(--text); font-weight: 600; }
.v3-hero-l .proof .sep { width: 1px; height: 12px; background: var(--line-2); }

.v3-hero-r {
  position: relative; align-self: start; padding-top: 8px;
}
.v3-hero-r .frame {
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px;
  padding: 20px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.8);
}
.v3-hero-r .frame .head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; color: var(--text-3); font-weight: 500; letter-spacing: .04em;
}
.v3-hero-r .frame .head .lbl { font-family: var(--mono); }
.v3-hero-r .frame .head .live {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-2);
}
.v3-hero-r .frame .head .live i {
  width: 5px; height: 5px; border-radius: 50%; background: var(--ikb-bright);
  box-shadow: 0 0 8px var(--ikb-glow);
}
.v3-hero-r .frame .account {
  font-size: 18px; font-weight: 600; letter-spacing: -.01em; color: var(--text);
}
.v3-hero-r .frame .account small {
  color: var(--text-3); font-size: 13px; font-weight: 400; margin-left: 6px;
}
.v3-hero-r .frame .score-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.v3-hero-r .frame .score-row .v {
  font-size: 64px; line-height: .9; font-weight: 500;
  letter-spacing: -.04em; color: var(--text);
}
.v3-hero-r .frame .score-row .v .den {
  font-size: 18px; color: var(--text-3); font-weight: 300; margin-left: 2px;
}
.v3-hero-r .frame .score-row .meta {
  text-align: right; font-size: 11px; color: var(--text-3);
  line-height: 1.6; letter-spacing: .04em;
}
.v3-hero-r .frame .score-row .meta .big {
  color: var(--text); font-size: 13px; font-weight: 500;
  display: block; margin-bottom: 2px;
}
.v3-hero-r .frame .dimlist { display: flex; flex-direction: column; gap: 8px; }
.v3-hero-r .frame .dim {
  display: grid; grid-template-columns: 50px 1fr 30px 28px;
  align-items: center; gap: 10px; font-size: 12px;
}
.v3-hero-r .frame .dim .k { color: var(--text-3); font-family: var(--mono); font-size: 10px; font-weight: 500; }
.v3-hero-r .frame .dim .n { color: var(--text); font-weight: 500; }
.v3-hero-r .frame .dim .v { color: var(--text); text-align: right; font-family: var(--mono); font-weight: 500; }
.v3-hero-r .frame .dim .bar {
  height: 1px; background: var(--line-2); position: relative;
}
.v3-hero-r .frame .dim .bar i {
  position: absolute; left: 0; top: -1px; height: 3px;
  background: var(--ikb-bright); box-shadow: 0 0 6px var(--ikb-glow);
  border-radius: 2px;
}

/* Modules 行式 list */
.v3-modules {
  padding: 64px 40px 60px; border-top: 1px solid var(--line); margin-top: 64px;
}
.v3-modules .head {
  display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px;
}
.v3-modules .head .l { display: flex; flex-direction: column; gap: 6px; }
.v3-modules .head .l .lbl {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-3); font-weight: 600;
}
.v3-modules .head .l h2 {
  font-size: 28px; font-weight: 600; letter-spacing: -.025em;
  color: var(--text); margin: 0;
}
.v3-modules .head .l h2 .serif {
  font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--text-2);
}
.v3-modules .head .r {
  font-family: var(--mono); font-size: 12px; color: var(--text-3);
  letter-spacing: .04em;
}
.modlist { border-top: 1px solid var(--line); }
.mod {
  display: grid; grid-template-columns: 48px 1.4fr 1.6fr 110px 24px;
  align-items: center; gap: 32px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background .15s ease, padding .15s ease;
}
.mod:hover {
  background: var(--bg-2);
  padding-left: 16px; padding-right: 16px;
}
.mod:hover .name { color: var(--text); }
.mod .num {
  font-family: var(--mono); font-size: 12px; color: var(--text-3);
  font-weight: 500; letter-spacing: .04em;
}
.mod .name {
  font-size: 18px; font-weight: 500; color: var(--text-2);
  letter-spacing: -.01em; transition: color .15s ease;
}
.mod .name .serif {
  font-family: var(--serif); font-weight: 500;
}
.mod .name .em {
  color: var(--text);
}
.mod .desc {
  font-size: 13px; color: var(--text-2); line-height: 1.5;
}
.mod .stat {
  font-family: var(--mono); font-size: 10px;
  color: var(--text-3); text-align: right; letter-spacing: .18em;
  text-transform: uppercase; font-weight: 600;
}
.mod .stat .dot {
  display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  background: var(--good); margin-right: 6px; vertical-align: middle;
  box-shadow: 0 0 6px rgba(63, 185, 80, .4);
}
.mod .arrow {
  color: var(--text-3); font-size: 16px; text-align: right;
  font-family: var(--mono);
  transition: transform .15s ease, color .15s ease;
}
.mod:hover .arrow { color: var(--ikb-bright); transform: translateX(3px); }

/* Embedded entry form (用于触发诊断) */
.v3-hero-l .entry-form {
  display: flex; gap: 8px; margin-top: 28px; max-width: 540px;
}
.v3-hero-l .entry-form label {
  display: none;
}
.v3-hero-l .entry-form > div { display: contents; }
.v3-hero-l .entry-form input {
  flex: 1; min-width: 0; height: 52px; padding: 0 16px;
  background: var(--bg-2); border: 1px solid var(--line-2);
  border-radius: 8px; color: var(--text);
  font-size: 14px; outline: none;
  transition: border-color .15s ease, background .15s ease;
}
.v3-hero-l .entry-form input:focus { border-color: var(--ikb-bright); background: var(--bg-3); }
.v3-hero-l .entry-form input::placeholder { color: var(--text-4); }
.v3-hero-l .entry-form button#submit-button {
  height: 52px; padding: 0 22px;
  background: var(--ikb-bright); color: #fff; border: 0; border-radius: 8px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 0 20px var(--ikb-glow);
  transition: background .15s ease, transform .12s ease;
}
.v3-hero-l .entry-form button#submit-button:hover { background: var(--ikb); transform: translateY(-1px); }
.v3-hero-l .entry-form button#submit-button:disabled { opacity: .5; cursor: progress; }

.v3-hero-l .sample-row {
  display: flex; gap: 8px; align-items: center; margin-top: 16px;
  font-size: 12px; color: var(--text-3);
}
.v3-hero-l .sample-row .lbl { margin-right: 4px; }
.v3-hero-l .sample-row .chip {
  padding: 5px 12px; border-radius: 999px;
  background: var(--bg-2); border: 1px solid var(--line-2);
  color: var(--text-2); font-size: 12px; cursor: pointer;
  transition: .15s;
}
.v3-hero-l .sample-row .chip:hover {
  background: var(--bg-3); border-color: var(--line-3); color: var(--text);
}

/* 第二屏：模块墙下方最近记录 */
.v3-modules .recent-line {
  display: flex; align-items: center; gap: 24px;
  margin-top: 28px; padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 12px; color: var(--text-3);
  flex-wrap: wrap;
}
.v3-modules .recent-line .l {
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em;
  color: var(--text-3); text-transform: uppercase;
}
.v3-modules .recent-line .recent-item {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--bg-2); border: 1px solid var(--line);
  color: var(--text-2); font-size: 12.5px;
  cursor: pointer; transition: .15s;
}
.v3-modules .recent-line .recent-item:hover { background: var(--bg-3); color: var(--text); border-color: var(--line-3); }
.v3-modules .recent-line .recent-item .recent-meta { font-family: var(--mono); font-size: 10px; color: var(--text-4); letter-spacing: .04em; }

/* =========================================================
   #report — 诊断报告（renderReport JS 控制 innerHTML）
   ========================================================= */
.v3-diag {
  padding: 40px 40px 60px;
  display: grid; grid-template-columns: minmax(0, 1fr) 400px;
  column-gap: 64px;
  align-items: start;
}
.v3-diag-l .kicker {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ikb-bright); font-weight: 600;
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.v3-diag-l .kicker .line { width: 20px; height: 1px; background: var(--ikb-bright); }
.v3-diag-l h1 {
  font-size: 56px; line-height: 1.05;
  letter-spacing: -.035em; font-weight: 600;
  margin: 0; color: var(--text);
}
.v3-diag-l h1 .serif { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--text-2); }
.v3-diag-l h1 .blue { color: var(--ikb-bright); }
.v3-diag-l .meta {
  margin-top: 16px; font-family: var(--mono); font-size: 12px;
  color: var(--text-3); letter-spacing: .04em;
}
.v3-diag-l .meta b { color: var(--text); font-weight: 500; }

.v3-diag-list { margin-top: 40px; border-top: 1px solid var(--line); }
.ditem {
  display: grid; grid-template-columns: 60px 1fr 60px 20px;
  align-items: center; gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: padding .15s ease, background .15s ease;
}
.ditem:hover { background: var(--bg-2); padding-left: 16px; padding-right: 16px; }
.ditem .k {
  font-family: var(--mono); font-size: 11px;
  color: var(--text-3); font-weight: 500; letter-spacing: .04em;
}
.ditem .n {
  font-size: 15px; color: var(--text); font-weight: 500;
  letter-spacing: -.01em;
}
.ditem .v {
  font-family: var(--mono); font-size: 15px;
  color: var(--text); text-align: right; font-weight: 500;
  letter-spacing: -.01em;
}
.ditem .arrow { color: var(--text-3); font-size: 14px; text-align: right; font-family: var(--mono); }
.ditem .sub {
  margin-top: 6px; grid-column: 2;
  font-size: 12px; color: var(--text-3); line-height: 1.5;
}
.ditem .bar {
  height: 1px; background: var(--line-2);
  position: relative; margin-top: 8px;
}
.ditem .bar i {
  position: absolute; left: 0; top: -1px; height: 3px;
  background: var(--ikb-bright); box-shadow: 0 0 8px var(--ikb-glow);
  border-radius: 2px;
}

.v3-diag-r {
  border-left: 1px solid var(--line); padding-left: 48px;
  display: flex; flex-direction: column; gap: 20px;
  position: sticky; top: 88px;
}
.v3-diag-r .label {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-3); font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}
.v3-diag-r .label .line { width: 16px; height: 1px; background: var(--text-3); }
.v3-diag-r .score {
  font-size: 144px; line-height: .92; font-weight: 500;
  letter-spacing: -.05em; color: var(--text); margin: 0;
}
.v3-diag-r .score .den {
  font-size: 28px; color: var(--text-3); font-weight: 300;
  margin-left: 6px; letter-spacing: -.02em;
}
.v3-diag-r .verdict {
  font-size: 14px; color: var(--text); font-weight: 500;
  letter-spacing: -.01em;
}
.v3-diag-r .verdict .serif {
  font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--text-2);
}
.v3-diag-r .breakdown { display: flex; flex-direction: column; gap: 14px; }
.brow {
  display: grid; grid-template-columns: 36px 1fr 36px;
  align-items: center; gap: 14px; font-size: 13px;
}
.brow .v { font-family: var(--mono); font-weight: 500; color: var(--text); text-align: right; }
.brow .n { color: var(--text-2); font-size: 12px; }
.brow .bar { height: 1px; background: var(--line-2); position: relative; }
.brow .bar i {
  position: absolute; left: 0; top: -1px; height: 3px;
  background: var(--ikb-bright); box-shadow: 0 0 6px var(--ikb-glow);
  border-radius: 2px;
}
.v3-diag-r .actions { display: flex; gap: 8px; }
.v3-diag-r .actions button {
  flex: 1; height: 40px; padding: 0 12px;
  border-radius: 8px; font-size: 12px; font-weight: 500; cursor: pointer;
  transition: .15s;
}
.v3-diag-r .actions .ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--line-3);
}
.v3-diag-r .actions .ghost:hover { border-color: var(--line-4); }
.v3-diag-r .actions .solid {
  background: var(--text); color: #0A0A0B; border: 0;
}
.v3-diag-r .actions .solid:hover { background: #E5E5E7; }
.v3-diag-r .proof {
  padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 11px; color: var(--text-3); line-height: 1.7; letter-spacing: .02em;
}
.v3-diag-r .proof b { color: var(--text-2); font-weight: 500; }

/* 老 #report 内层的 6 个 section（signals/lenses/evidence/benchmark/takeaways）保持 V3 极简行式 */
.v3-section {
  padding: 40px 40px 32px;
  border-top: 1px solid var(--line);
}
.v3-section .head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 24px; }
.v3-section .head h2 {
  font-size: 32px; font-weight: 600; letter-spacing: -.03em;
  color: var(--text); margin: 0;
}
.v3-section .head h2 .serif { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--text-2); }
.v3-section .head .sub {
  font-family: var(--mono); font-size: 11px; color: var(--text-3); letter-spacing: .04em;
}
.v3-section .head .sub i {
  display: inline-block; width: 4px; height: 4px; border-radius: 50%;
  background: var(--good); margin-right: 8px; vertical-align: middle;
  box-shadow: 0 0 4px rgba(63, 185, 80, .4);
}

/* 信号网格 → 行式 list */
.signal-list { border-top: 1px solid var(--line); }
.signal-list .sitem {
  display: grid; grid-template-columns: 200px 1fr 1fr 1fr 1fr;
  align-items: center; gap: 32px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.signal-list .sitem .k { font-size: 12px; color: var(--text-3); font-family: var(--mono); letter-spacing: .04em; }
.signal-list .sitem .v { font-size: 22px; color: var(--text); font-weight: 500; letter-spacing: -.02em; font-family: var(--sans); }
.signal-list .sitem .v small { font-size: 12px; color: var(--text-3); font-weight: 400; margin-left: 6px; }

/* 4 lens 行 */
.lens-list { border-top: 1px solid var(--line); }
.lens-list .lens {
  display: grid; grid-template-columns: 60px 1.2fr 100px 1fr 16px;
  align-items: center; gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.lens-list .lens .i { font-family: var(--mono); font-size: 11px; color: var(--text-3); }
.lens-list .lens .n { font-size: 16px; color: var(--text); font-weight: 500; letter-spacing: -.01em; }
.lens-list .lens .s { font-family: var(--mono); font-size: 18px; color: var(--text); font-weight: 500; text-align: right; letter-spacing: -.02em; }
.lens-list .lens .s small { font-size: 11px; color: var(--text-3); }
.lens-list .lens .bar {
  height: 1px; background: var(--line-2); position: relative;
}
.lens-list .lens .bar i {
  position: absolute; left: 0; top: -1px; height: 3px;
  background: var(--ikb-bright); box-shadow: 0 0 6px var(--ikb-glow);
  border-radius: 2px;
}
.lens-list .lens .badge {
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-3); font-weight: 600;
}
.lens-list .lens .desc { font-size: 12px; color: var(--text-3); line-height: 1.5; margin-top: 6px; grid-column: 2; }

/* evidence table 暗化 */
.v3-table {
  width: 100%; border-collapse: collapse;
  background: transparent;
  margin-top: 8px;
}
.v3-table th, .v3-table td {
  text-align: left; padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13px; color: var(--text);
  font-family: var(--sans);
}
.v3-table th {
  color: var(--text-3); font-weight: 600; font-size: 11px;
  text-transform: uppercase; letter-spacing: .12em;
  border-bottom: 1px solid var(--line-2);
}
.v3-table td a { color: var(--ikb-bright); }
.v3-table td a:hover { text-decoration: underline; }
.v3-table td.muted { color: var(--text-3); }

/* route list 行式 */
.route-list { border-top: 1px solid var(--line); }
.route-list .ritem {
  display: grid; grid-template-columns: 80px 1fr 200px;
  align-items: start; gap: 32px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.route-list .ritem .i {
  font-family: var(--mono); font-size: 11px; color: var(--text-3);
  letter-spacing: .04em;
}
.route-list .ritem .c .kicker {
  font-size: 11px; color: var(--text-3); letter-spacing: .12em;
  text-transform: uppercase; font-weight: 600; margin-bottom: 4px;
}
.route-list .ritem .c h3 {
  margin: 4px 0 8px; font-size: 17px; font-weight: 500; color: var(--text);
  letter-spacing: -.01em;
}
.route-list .ritem .c p { margin: 4px 0; color: var(--text-2); font-size: 13px; line-height: 1.5; }
.route-list .ritem .c p b { color: var(--text); font-weight: 500; }
.route-list .ritem .t {
  font-family: var(--mono); font-size: 12px; color: var(--text-3);
  text-align: right; line-height: 1.5;
}
.route-list .ritem .t strong { display: block; color: var(--text); font-weight: 500; font-size: 11px; letter-spacing: .04em; margin-bottom: 4px; }

/* benchmark list */
.bm-list { border-top: 1px solid var(--line); }
.bm-list .bitem {
  display: grid; grid-template-columns: 60px 1fr 100px 16px;
  align-items: center; gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: padding .15s ease, background .15s ease;
}
.bm-list .bitem:hover { background: var(--bg-2); padding-left: 16px; padding-right: 16px; }
.bm-list .bitem .i { font-family: var(--mono); font-size: 11px; color: var(--text-3); }
.bm-list .bitem .n strong { display: block; font-size: 15px; color: var(--text); font-weight: 500; }
.bm-list .bitem .n small { display: block; font-size: 12px; color: var(--text-3); margin-top: 2px; }
.bm-list .bitem .t { font-family: var(--mono); font-size: 11px; color: var(--text-3); text-align: right; }
.bm-list .bitem .arrow { font-family: var(--mono); color: var(--text-3); text-align: right; }
.bm-list .bitem:hover .arrow { color: var(--ikb-bright); }

/* takeaway 双列 */
.tk-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  border-top: 1px solid var(--line);
}
.tk-grid .col { padding: 24px 0; }
.tk-grid .col h4 {
  font-size: 11px; color: var(--text-3);
  text-transform: uppercase; letter-spacing: .18em;
  font-weight: 600; margin: 0 0 16px;
}
.tk-grid .col ul { list-style: none; margin: 0; padding: 0; }
.tk-grid .col li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px; color: var(--text-2); line-height: 1.55;
}
.tk-grid .col li:last-child { border-bottom: 0; }

/* 报告底部 Note */
.bottom-note {
  padding: 24px 40px;
  font-size: 12px; color: var(--text-3); line-height: 1.6;
  border-top: 1px solid var(--line);
  display: flex; gap: 10px;
}
.bottom-note i { color: var(--text-4); }

/* =========================================================
   #workbench — 公众号创作（8 步流程 + 三栏）
   ========================================================= */
.wb-shell { padding: 0; }
.wb-intro {
  padding: 32px 40px 24px;
}
.wb-intro .kicker {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ikb-bright); font-weight: 600;
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.wb-intro .kicker .line { width: 18px; height: 1px; background: var(--ikb-bright); }
.wb-intro h1 {
  font-size: 48px; line-height: 1.1; letter-spacing: -.035em;
  font-weight: 600; margin: 0; color: var(--text);
}
.wb-intro h1 .serif { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--text-2); }
.wb-intro h1 .blue { color: var(--ikb-bright); }
.wb-intro p {
  font-size: 15px; line-height: 1.5; color: var(--text-2);
  max-width: 60ch; margin: 14px 0 0;
}

/* 顶部 8 步流程条（V3 r6：4 列 × 2 行精致化） */
.wb-rail {
  padding: 24px 40px 0;
}
.wb-rail-list {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-2);
}
.wb-rail-list .step {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 12.5px; color: var(--text-2);
  position: relative;
  transition: background .2s ease;
}
.wb-rail-list .step:nth-child(4n) { border-right: 0; }
.wb-rail-list .step:nth-child(n+5) { border-bottom: 0; }
.wb-rail-list .step:hover { background: var(--bg-3); }
.wb-rail-list .step .i {
  font-family: var(--mono); font-size: 10.5px; color: var(--text-4);
  letter-spacing: .06em; font-weight: 500;
  flex-shrink: 0; min-width: 20px;
}
.wb-rail-list .step .n {
  font-size: 13.5px; color: var(--text); font-weight: 500;
  letter-spacing: -.005em;
}
.wb-rail-list .step.done .n { color: var(--text-3); text-decoration: line-through; text-decoration-color: var(--text-5); }
.wb-rail-list .step.done .i { color: var(--good); }
.wb-rail-list .step.active {
  background: linear-gradient(90deg, rgba(61,91,255,.12) 0%, transparent 90%);
}
.wb-rail-list .step.active::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--ikb-bright);
}
.wb-rail-list .step.active .n { color: var(--text); font-weight: 600; }
.wb-rail-list .step.active .i { color: var(--ikb-bright); }

/* 三栏工作区 */
.wb-grid {
  display: grid; grid-template-columns: 360px minmax(0, 1fr) 280px;
  gap: 0;
  border-top: 1px solid var(--line);
  min-height: calc(100vh - 64px - 88px - 64px - 1px);
}
.wb-col {
  padding: 24px 24px 40px;
  border-right: 1px solid var(--line);
}
.wb-col:last-child { border-right: 0; }

.wb-card {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
}
.wb-card + .wb-card { margin-top: 14px; }

/* 模式切换 */
.wb-card .mode-switch {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 6px; margin: 10px 0 14px;
  padding: 4px; background: var(--bg-2); border-radius: 10px;
}
.wb-card .mode-option {
  padding: 7px 8px;
  background: transparent; border: 0; border-radius: 7px;
  color: var(--text-3); font-size: 11.5px; font-weight: 500; cursor: pointer;
  text-align: center;
  transition: .12s;
}
.wb-card .mode-option strong { display: block; font-size: 12px; font-weight: 500; }
.wb-card .mode-option small { display: block; font-size: 10px; color: var(--text-4); margin-top: 1px; }
.wb-card .mode-option.active { background: var(--bg-4); color: var(--text); box-shadow: 0 0 0 1px var(--line-3); }

/* 表单 */
.wb-card label {
  display: block; margin: 12px 0 6px; font-size: 11px;
  color: var(--text-3); font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase;
}
.wb-card textarea, .wb-card input, .wb-card select {
  width: 100%; padding: 10px 12px;
  background: var(--bg-2); border: 1px solid var(--line-2);
  border-radius: 8px; color: var(--text);
  font-size: 13px;
  outline: none;
  transition: border-color .15s ease;
}
.wb-card textarea { min-height: 70px; resize: none; line-height: 1.5; }
.wb-card textarea:focus, .wb-card input:focus, .wb-card select:focus { border-color: var(--ikb-bright); }
.wb-card textarea::placeholder, .wb-card input::placeholder { color: var(--text-4); }

.wb-card .creator-options {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.wb-card .creator-options label { margin: 6px 0 4px; }
.wb-card .creator-options select { height: 36px; padding: 0 10px; }

.wb-card .primary-action {
  width: 100%; height: 44px; padding: 0 16px;
  background: var(--ikb-bright); color: #fff; border: 0; border-radius: 8px;
  font-size: 13.5px; font-weight: 600; cursor: pointer;
  margin-top: 12px;
  box-shadow: 0 0 16px var(--ikb-glow);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: background .15s ease;
}
.wb-card .primary-action:hover { background: var(--ikb); }
.wb-card .primary-action:disabled { opacity: .5; cursor: progress; }

.wb-card .helper-copy {
  margin: 8px 0 0; font-size: 11px; color: var(--text-4); line-height: 1.5;
}
.wb-card .topic-chips {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px;
}
.wb-card .topic-chips > span {
  font-size: 11px; color: var(--text-3); margin-right: 2px;
  width: 100%; margin-bottom: 4px;
  text-transform: uppercase; letter-spacing: .08em;
}
.wb-card .topic-chip {
  padding: 5px 11px; border-radius: 999px;
  background: var(--bg-2); border: 1px solid var(--line);
  color: var(--text-2); font-size: 11.5px; cursor: pointer;
  transition: .12s;
}
.wb-card .topic-chip:hover {
  background: var(--bg-3); border-color: var(--line-3); color: var(--text);
}

/* 中央结果区 */
.wb-result {
  display: flex; flex-direction: column; gap: 16px;
  min-height: 100%;
}
.wb-result .head-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
}
.wb-result .head-row .title-block .micro-label {
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-3); font-weight: 600;
}
.wb-result .head-row h2 {
  font-size: 24px; color: var(--text); font-weight: 500;
  letter-spacing: -.02em; margin: 4px 0 0;
}
.wb-result .head-row .actions { display: flex; gap: 8px; }
.wb-result .head-row .actions button, .wb-result .head-row .actions a {
  height: 36px; padding: 0 14px; border-radius: 8px;
  background: transparent; color: var(--text);
  border: 1px solid var(--line-3); font-size: 12.5px; cursor: pointer;
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  transition: .15s;
}
.wb-result .head-row .actions button:hover, .wb-result .head-row .actions a:hover { border-color: var(--line-4); }
.wb-result .head-row .actions .solid {
  background: var(--ikb-bright); color: #fff; border-color: transparent;
  box-shadow: 0 0 16px var(--ikb-glow);
}
.wb-result .head-row .actions .solid:hover { background: var(--ikb); }

/* 决策面板 - 醒目行 */
.decision-panel {
  display: grid; grid-template-columns: 100px 1fr auto;
  align-items: center; gap: 24px;
  padding: 18px 20px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 12px;
  border-left: 3px solid var(--ikb-bright);
}
.decision-panel .step-tag .t {
  font-family: var(--mono); font-size: 10px; color: var(--ikb-bright);
  letter-spacing: .04em;
}
.decision-panel .step-tag .l {
  font-size: 16px; color: var(--text); font-weight: 500;
  letter-spacing: -.01em; margin-top: 4px;
}
.decision-panel .copy h3 {
  margin: 0; font-size: 15px; color: var(--text); font-weight: 500;
  letter-spacing: -.005em;
}
.decision-panel .copy p {
  margin: 4px 0 0; font-size: 12px; color: var(--text-3); line-height: 1.5;
}
.decision-panel .impact {
  font-family: var(--mono); font-size: 11px; color: var(--text-3);
  letter-spacing: .04em; text-align: right;
}
.decision-panel .impact strong {
  display: block; color: var(--text); font-size: 13px; margin-top: 4px; font-weight: 500;
}

.wb-result .topic-list { display: flex; flex-direction: column; gap: 0; }
.wb-result .topic-list .topic-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 12px;
}
.wb-result .topic-list .topic-head strong { font-size: 14px; color: var(--text); font-weight: 500; }
.wb-result .topic-list .topic-head span { font-size: 11px; color: var(--text-3); letter-spacing: .04em; }
.wb-result .topic-item {
  display: grid; grid-template-columns: 48px 1fr auto;
  align-items: center; gap: 20px;
  padding: 16px 16px; margin-bottom: 8px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 10px;
  text-align: left; cursor: pointer;
  transition: .15s;
}
.wb-result .topic-item:hover { border-color: var(--ikb-bright); background: var(--bg-3); }
.wb-result .topic-item .num {
  font-family: var(--mono); font-size: 11px; color: var(--text-3);
}
.wb-result .topic-item .body strong {
  display: block; font-size: 14px; color: var(--text); font-weight: 500; letter-spacing: -.005em;
}
.wb-result .topic-item .body small {
  display: block; font-size: 11.5px; color: var(--text-3); margin-top: 4px; letter-spacing: .01em;
}
.wb-result .topic-item .arrow {
  font-family: var(--mono); font-size: 13px; color: var(--text-3);
  transition: .15s;
}
.wb-result .topic-item:hover .arrow { color: var(--ikb-bright); }

.framework-summary {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 12px; padding: 18px 20px;
}
.framework-summary .micro-label {
  font-size: 10px; color: var(--text-3); letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
}
.framework-summary strong {
  display: block; font-size: 16px; color: var(--text); font-weight: 500; margin: 6px 0 4px;
}
.framework-summary p {
  margin: 0 0 12px; font-size: 13px; color: var(--text-2); line-height: 1.55;
}
.framework-summary div {
  display: flex; flex-direction: column; gap: 6px;
  padding-top: 12px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--text-2); line-height: 1.55;
}
.framework-summary div span::before { content: "· "; color: var(--text-4); margin-right: 4px; }

/* 编辑器 */
.editor-card {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 12px;
}
.editor-card .head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 11px; color: var(--text-3); letter-spacing: .04em;
  text-transform: uppercase; font-weight: 600;
}
.editor-card .head .label { font-family: var(--sans); font-size: 11px; }
.editor-card textarea {
  width: 100%; min-height: 220px;
  padding: 18px;
  background: transparent; border: 0;
  color: var(--text); font-size: 14px; line-height: 1.75;
  resize: vertical; outline: none;
  font-family: var(--sans);
}
.editor-card .foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; color: var(--text-3);
}
.editor-card .foot button {
  background: transparent; border: 1px solid var(--line-3);
  color: var(--text); padding: 6px 14px;
  border-radius: 6px; font-size: 12px; cursor: pointer;
}
.editor-card .foot button:hover { border-color: var(--ikb-bright); color: var(--ikb-bright); }

/* 已生成图片 grid */
.generated-images { display: flex; flex-direction: column; gap: 12px; }
.generated-images .head {
  display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 4px;
}
.generated-images .head .micro-label {
  font-size: 10px; color: var(--text-3); letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
}
.generated-images .head h3 {
  margin: 4px 0 0; font-size: 16px; color: var(--text); font-weight: 500;
}
.generated-images .head span {
  font-family: var(--mono); font-size: 11px; color: var(--text-3);
}
.image-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.image-grid a {
  display: block; background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 10px; overflow: hidden;
  text-decoration: none;
  transition: .15s;
}
.image-grid a:hover { border-color: var(--line-3); }
.image-grid a img { display: block; width: 100%; aspect-ratio: 2/1.05; object-fit: cover; }
.image-grid a span { display: block; padding: 10px 14px; border-top: 1px solid var(--line); }
.image-grid a strong { display: block; font-size: 13px; color: var(--text); font-weight: 500; }
.image-grid a small { display: block; font-size: 11px; color: var(--text-3); margin-top: 2px; font-family: var(--mono); }

/* 生成进度条 */
.generation-progress {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; margin-bottom: 12px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px;
  font-size: 12px; color: var(--text-2);
}
.generation-progress strong { font-size: 13px; color: var(--text); }
.generation-progress .progress-track {
  width: 200px; height: 1px; background: var(--line-2);
  position: relative; margin: 0 16px; flex: 1;
}
.generation-progress .progress-track i {
  position: absolute; left: 0; top: -1px; height: 3px;
  background: var(--ikb-bright); box-shadow: 0 0 6px var(--ikb-glow);
  border-radius: 2px; transition: width .3s ease;
}
.generation-progress .cancel-generation {
  padding: 6px 12px; font-size: 11px;
  background: transparent; color: var(--text-3); border: 1px solid var(--line-3);
  border-radius: 6px; cursor: pointer;
}
.generation-progress.done .cancel-generation { display: none; }

/* 右侧灵感速达侧栏 */
.wb-side { display: flex; flex-direction: column; gap: 0; }
.wb-side .wb-card { padding: 18px 18px; border-radius: 0; border: 0; border-bottom: 1px solid var(--line); }
.wb-side .wb-card:last-child { border-bottom: 0; }
.wb-side .micro-label {
  font-size: 10px; color: var(--text-3); letter-spacing: .18em;
  text-transform: uppercase; font-weight: 600;
  display: block; margin-bottom: 10px;
}
.wb-side .inspiration ul {
  list-style: none; margin: 0; padding: 0;
}
.wb-side .inspiration li {
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 12px;
  padding: 10px 12px; margin-bottom: 6px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px; color: var(--text-2); cursor: pointer;
  transition: .15s;
}
.wb-side .inspiration li::before {
  content: "↗"; color: var(--text-4); font-size: 12px;
  justify-self: end;
}
.wb-side .inspiration li:hover { background: var(--bg-3); border-color: var(--line-3); color: var(--text); }
.wb-side .workflow-note { font-size: 12px; color: var(--text-2); line-height: 1.6; margin: 0; }
.wb-side .workflow-note strong {
  display: block; color: var(--text); font-size: 13px; margin-bottom: 6px; font-weight: 500;
}

/* =========================================================
   #xiaohongshu / #tie-tu / #hit-detector 通用 skill layout
   ========================================================= */
.skill-shell {
  display: grid; grid-template-columns: 380px minmax(0, 1fr);
  min-height: calc(100vh - 64px);
}
.skill-form-col {
  padding: 32px 32px 40px;
  border-right: 1px solid var(--line);
}
.skill-output-col {
  padding: 32px 40px 40px;
}

.skill-form-col .micro-label,
.skill-output-col .micro-label {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ikb-bright); font-weight: 600;
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.skill-form-col .micro-label .line,
.skill-output-col .micro-label .line { width: 18px; height: 1px; background: var(--ikb-bright); }
.skill-form-col h1, .skill-output-col h1 {
  font-size: 42px; line-height: 1.1; letter-spacing: -.035em;
  font-weight: 600; margin: 0 0 14px; color: var(--text);
}
.skill-form-col h1 .serif, .skill-output-col h1 .serif {
  font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--text-2);
}
.skill-form-col h1 .blue, .skill-output-col h1 .blue { color: var(--ikb-bright); }
.skill-form-col p, .skill-output-col p {
  font-size: 14px; line-height: 1.5; color: var(--text-2); margin: 0 0 24px;
  max-width: 60ch;
}

.skill-form { display: flex; flex-direction: column; gap: 14px; }

/* V3 暗色：taste-chatgpt.css 用 !important 给 .skill-form / 输入框铺了
   rgba(255,255,255,.64-.78) 的玻璃白底，必须再用 !important 强压。 */
#hit-detector .skill-form,
#workbench .skill-form,
#xiaohongshu .skill-form,
#tie-tu .skill-form,
#morning-generator .skill-form {
  background: var(--bg) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--r-md) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.skill-form label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 11px; color: var(--text-3); font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
}
.skill-form input, .skill-form select, .skill-form textarea {
  width: 100%; padding: 11px 12px;
  background: var(--bg-2) !important;
  border: 1px solid var(--line-2);
  border-radius: 8px; color: var(--text);
  font-size: 13px; line-height: 1.5;
  outline: none;
  text-transform: none; font-weight: 400; letter-spacing: 0;
  transition: border-color .15s ease;
}
.skill-form input:focus, .skill-form select:focus, .skill-form textarea:focus { border-color: var(--ikb-bright); }
.skill-form textarea { min-height: 84px; resize: vertical; }
.skill-form textarea::placeholder, .skill-form input::placeholder { color: var(--text-4); }

/* V3 暗色 r4：诊断/工作台等剩余白板 + <footer> 通用白底 + 浏览器默认 input 白
   1) taste-chatgpt.css:62 用 !important 把 .entry-panel/.skill-page 等面板铺成 --taste-bg（浅色），
      但 #diagnose-page 在 V3 r2 已重写为 hero 形态，#diagnose-form 仍继承 .entry-form 的玻璃白
   2) taste-chatgpt.css:132 通用 footer { background: #fff }，无 !important，但 .start-templates>footer /
      .article-canvas-foot / footer.empty-foot 在 glass-theme.css 里没设 background，被白色吞掉
   3) #workbench-topic / #workbench-persona / #workbench-theme 在 .composer-shell / .creator-options 内，
      不在 .skill-form 容器里，浏览器默认 input/select/textarea 白底漏出
   全部用 !important 在最后加载层强压回 V3 暗色。 */
#diagnose .entry-form,
#diagnose .entry-form input,
#diagnose .entry-form select,
#diagnose .entry-form textarea {
  background: var(--bg) !important;
  background-color: var(--bg) !important;
  color: var(--text) !important;
  border: 1px solid var(--line-2);
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
#diagnose .entry-form input:focus,
#diagnose .entry-form select:focus,
#diagnose .entry-form textarea:focus { border-color: var(--ikb-bright) !important; }
#diagnose .entry-form input::placeholder,
#diagnose .entry-form textarea::placeholder { color: var(--text-4) !important; }
#diagnose .entry-form button { color: #fff; }
#diagnose .entry-form button[type="submit"],
#diagnose .entry-form .skill-primary { background: var(--ikb) !important; color: #fff !important; border: 0 !important; }

#workbench .composer-shell textarea,
#workbench #workbench-topic,
#workbench #workbench-persona,
#workbench #workbench-theme,
#workbench .creator-options select,
#workbench .creator-options input,
#workbench .article-canvas textarea,
#workbench .article-canvas input,
#workbench .article-canvas select {
  background: var(--bg-2) !important;
  background-color: var(--bg-2) !important;
  color: var(--text) !important;
  border: 1px solid var(--line-2);
  color-scheme: dark;
  box-shadow: none !important;
  -webkit-appearance: none;
  appearance: none;
}
#workbench .composer-shell textarea:focus,
#workbench .article-canvas textarea:focus { border-color: var(--ikb-bright) !important; outline: none; }

#workbench .start-templates > footer,
#workbench .article-canvas-foot,
#workbench .outcome-panel footer,
#workbench .current-work-card > footer,
#workbench .chat-choice footer {
  background: var(--bg) !important;
  background-color: var(--bg) !important;
  color: var(--text-4) !important;
  border-color: var(--line) !important;
}
#workbench .start-templates > footer a { color: var(--ikb-bright) !important; }

#xiaohongshu footer.empty-foot,
#tie-tu footer.empty-foot,
#hit-detector footer.empty-foot,
#diagnose .empty-foot {
  background: var(--bg) !important;
  background-color: var(--bg) !important;
  color: var(--text-4) !important;
  border-top: 1px solid var(--line) !important;
  border-bottom: 0 !important; border-left: 0 !important; border-right: 0 !important;
  padding: 12px 16px !important;
  font-size: 11px !important;
}

iframe.generator-frame {
  background: var(--bg) !important;
  background-color: var(--bg) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--r-md) !important;
  box-shadow: none !important;
}

.form-section {
  margin: 8px 0 4px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.form-section .head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.form-section .head .num {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 10px; color: #fff;
  background: var(--ikb-bright); border-radius: 8px;
  letter-spacing: .04em;
}
.form-section .head .copy strong {
  display: block; font-size: 13px; color: var(--text); font-weight: 500; letter-spacing: -.005em;
}
.form-section .head .copy small {
  display: block; font-size: 11px; color: var(--text-3); margin-top: 2px;
}

.skill-form .field-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.skill-form .field-grid label { gap: 6px; }

.skill-primary {
  height: 44px; padding: 0 18px;
  background: var(--ikb-bright); color: #fff; border: 0; border-radius: 8px;
  font-size: 13.5px; font-weight: 600; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 0 16px var(--ikb-glow);
  transition: background .15s ease;
}
.skill-primary:hover { background: var(--ikb); }
.skill-primary:disabled { opacity: .5; cursor: progress; }
.skill-primary svg { width: 15px; height: 15px; }

.skill-empty {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 12px;
  padding: 30px 32px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-2);
}
.skill-empty .tag {
  font-size: 10px; color: var(--text-3); letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
}
.skill-empty h2 {
  margin: 8px 0 0; font-size: 24px; color: var(--text); font-weight: 500; letter-spacing: -.02em;
}
.skill-empty h2 .serif { font-family: var(--serif); font-style: italic; color: var(--text-2); }
.skill-empty p {
  margin: 0; color: var(--text-3); font-size: 13px; line-height: 1.6; max-width: 52ch;
}

/* 小红书：标题方案 + 卡片 */
.xhs-titles {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.xhs-titles .title-option {
  display: block;
  padding: 16px 16px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 12px;
  text-align: left; cursor: pointer;
  transition: .15s;
}
.xhs-titles .title-option:hover { border-color: var(--line-3); background: var(--bg-3); }
.xhs-titles .title-option.selected {
  border-color: var(--ikb-bright);
  background: var(--ikb-soft);
  box-shadow: 0 0 0 1px var(--ikb-bright) inset;
}
.xhs-titles .title-option .num {
  font-family: var(--mono); font-size: 11px; color: var(--ikb-bright); letter-spacing: .04em;
}
.xhs-titles .title-option strong {
  display: block; margin: 10px 0 6px;
  font-size: 14px; color: var(--text); font-weight: 500; letter-spacing: -.005em; line-height: 1.4;
}
.xhs-titles .title-option small {
  display: block; font-size: 11px; color: var(--text-3); line-height: 1.5;
}

.xhs-cards {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.xhs-cards .creator-output-card {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden;
}
.xhs-cards .card-image-slot {
  aspect-ratio: 1;
  display: grid; place-items: center;
  background: var(--bg-3);
  border-bottom: 1px solid var(--line);
  color: var(--text-4);
}
.xhs-cards .card-image-slot span { font-family: var(--mono); font-size: 14px; color: var(--text-3); }
.xhs-cards .card-image-slot small {
  display: block; font-size: 10px; color: var(--text-4); margin-top: 4px; letter-spacing: .04em;
}
.xhs-cards .card-image-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xhs-cards .card-image-slot a {
  display: block; position: absolute; bottom: 8px; right: 8px;
  font-size: 10px; color: var(--text-2); padding: 4px 8px;
  background: rgba(0, 0, 0, .7); border-radius: 4px;
}
.xhs-cards .creator-card-copy {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
}
.xhs-cards .creator-card-copy span {
  font-family: var(--mono); font-size: 10px; color: var(--ikb-bright);
  letter-spacing: .04em; text-transform: uppercase; font-weight: 600;
}
.xhs-cards .creator-card-copy strong {
  display: block; margin: 6px 0 4px; font-size: 13.5px; color: var(--text); font-weight: 500; letter-spacing: -.005em; line-height: 1.4;
}
.xhs-cards .creator-card-copy p { margin: 0; font-size: 11.5px; color: var(--text-3); line-height: 1.5; }
.xhs-cards .creator-card-copy small {
  display: block; margin-top: 6px; font-size: 10.5px; color: var(--text-4); font-family: var(--mono); letter-spacing: .04em;
}
.xhs-cards .creator-output-card.generated .card-image-slot { position: relative; }

/* 小红书：发布文案 */
.xhs-output-section {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.xhs-output-section .head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.xhs-output-section .head strong { font-size: 13px; color: var(--text); font-weight: 500; }
.xhs-output-section .head span { font-size: 11px; color: var(--text-3); letter-spacing: .04em; }
.xhs-output-section .head .copy-result {
  background: transparent; border: 1px solid var(--line-3);
  color: var(--text); padding: 5px 12px; border-radius: 6px; font-size: 12px; cursor: pointer;
}
.xhs-output-section .head .copy-result:hover { border-color: var(--ikb-bright); color: var(--ikb-bright); }
.xhs-output-section textarea#xhs-body,
.xhs-output-section textarea#tie-copy {
  width: 100%; min-height: 160px; padding: 16px 18px;
  background: transparent; border: 0; border-radius: 0;
  color: var(--text); font-size: 13.5px; line-height: 1.7;
  resize: vertical; outline: none;
}
.xhs-output-section .result-meta-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.xhs-output-section .result-meta-grid > div {
  padding: 14px 18px;
  border-right: 1px solid var(--line);
}
.xhs-output-section .result-meta-grid > div:last-child { border-right: 0; }
.xhs-output-section .result-meta-grid span {
  font-family: var(--mono); font-size: 10px; color: var(--text-3); letter-spacing: .04em; text-transform: uppercase; font-weight: 600;
}
.xhs-output-section .result-meta-grid p {
  margin: 6px 0 0; font-size: 13px; color: var(--text); line-height: 1.5;
}

/* 发布前检查 */
.xhs-precheck { padding: 18px 20px; }
.xhs-precheck .head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
  padding: 0;
  border: 0;
}
.xhs-precheck .head strong { font-size: 13px; color: var(--text); font-weight: 500; }
.xhs-precheck .head .result-status {
  font-family: var(--mono); font-size: 11px;
  padding: 4px 10px; border-radius: 999px;
  background: var(--bg-3); color: var(--text-2);
  letter-spacing: .04em;
}
.xhs-precheck ul { list-style: none; margin: 0; padding: 0; }
.xhs-precheck ul li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px; color: var(--text-2); line-height: 1.55;
}
.xhs-precheck ul li:last-child { border-bottom: 0; }
.xhs-precheck ul li.ok {
  color: var(--good);
}

/* 贴图号：plan-summary 与分镜 */
.tie-summary {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.tie-summary > div {
  padding: 16px 18px;
  border-right: 1px solid var(--line);
}
.tie-summary > div:last-child { border-right: 0; }
.tie-summary span {
  font-family: var(--mono); font-size: 10px; color: var(--text-3); letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
}
.tie-summary strong {
  display: block; margin-top: 6px; font-size: 20px; color: var(--text); font-weight: 500; letter-spacing: -.02em;
}

.tie-storyboard {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.tie-storyboard .creator-output-card {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden;
}
.tie-storyboard .card-image-slot {
  aspect-ratio: 3/4;
  display: grid; place-items: center;
  background: var(--bg-3); border-bottom: 1px solid var(--line);
  color: var(--text-4);
}
.tie-storyboard .card-image-slot span { font-family: var(--mono); font-size: 16px; color: var(--text-3); }
.tie-storyboard .card-image-slot small {
  display: block; font-size: 10px; color: var(--text-4); margin-top: 4px; letter-spacing: .04em;
}
.tie-storyboard .card-image-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tie-storyboard .creator-card-copy {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
}
.tie-storyboard .creator-card-copy span {
  font-family: var(--mono); font-size: 10px; color: var(--ikb-bright);
  letter-spacing: .04em; text-transform: uppercase; font-weight: 600;
}
.tie-storyboard .creator-card-copy strong {
  display: block; margin: 6px 0 6px; font-size: 14px; color: var(--text); font-weight: 500; letter-spacing: -.005em; line-height: 1.4;
}
.tie-storyboard .creator-card-copy p { margin: 0 0 6px; font-size: 12px; color: var(--text-2); line-height: 1.5; }
.tie-storyboard .creator-card-copy small {
  display: block; font-size: 10.5px; color: var(--text-4); font-family: var(--mono); letter-spacing: .04em;
}

/* 爆文检测：8 维数据 + 优先级 */
.hit-hero {
  display: grid; grid-template-columns: 200px minmax(0, 1fr);
  gap: 28px; align-items: end;
  padding: 32px 36px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 16px;
  border-left: 3px solid var(--ikb-bright);
}
.hit-hero .score-block {
  font-size: 96px; font-weight: 500; line-height: .92;
  letter-spacing: -.05em; color: var(--text); margin: 0;
}
.hit-hero .score-block small {
  display: block; font-size: 11px; color: var(--text-3);
  font-family: var(--mono); letter-spacing: .04em; margin-top: 6px;
  text-transform: uppercase; font-weight: 600;
}
.hit-hero .verdict-block {
  display: flex; flex-direction: column; gap: 8px;
}
.hit-hero .verdict-block .status {
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em;
  padding: 4px 10px; border-radius: 999px;
  background: var(--bg-3); color: var(--text-2);
  align-self: flex-start;
  font-weight: 600;
}
.hit-hero .verdict-block .status.ready { color: var(--good); background: rgba(63, 185, 80, .12); }
.hit-hero .verdict-block .status.revise { color: var(--warn); background: rgba(255, 176, 32, .12); }
.hit-hero .verdict-block .status.blocked { color: var(--bad); background: rgba(255, 92, 92, .12); }
.hit-hero .verdict-block strong {
  font-size: 16px; color: var(--text); font-weight: 500; letter-spacing: -.005em; line-height: 1.5;
}
.hit-hero .verdict-block p {
  margin: 0; font-size: 13px; color: var(--text-3); line-height: 1.5;
}
.hit-hero .verdict-block .secondary-action {
  align-self: flex-start; height: 38px; padding: 0 16px;
  background: transparent; color: var(--text); border: 1px solid var(--line-3);
  border-radius: 8px; font-size: 12.5px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 6px;
}
.hit-hero .verdict-block .secondary-action:hover { border-color: var(--line-4); }

.hit-scores {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.hit-scores .detector-score {
  display: grid; grid-template-columns: 80px minmax(0, 1fr) 56px;
  align-items: center; gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.hit-scores .detector-score:nth-child(2n) { border-right: 0; }
.hit-scores .detector-score span {
  font-size: 13px; color: var(--text); font-weight: 500;
}
.hit-scores .detector-score > div {
  height: 1px; background: var(--line-2); position: relative;
}
.hit-scores .detector-score > div i {
  position: absolute; left: 0; top: -1px; height: 3px;
  background: var(--ikb-bright); box-shadow: 0 0 6px var(--ikb-glow);
  border-radius: 2px;
}
.hit-scores .detector-score strong {
  font-family: var(--mono); font-size: 14px; color: var(--text);
  text-align: right; font-weight: 500;
}
.hit-scores .detector-score strong small { font-size: 10px; color: var(--text-3); margin-left: 2px; }

.hit-suggestions {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.hit-suggestions .s-item {
  display: grid; grid-template-columns: 64px 1fr;
  align-items: start; gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.hit-suggestions .s-item .priority {
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em;
  padding: 4px 10px; border-radius: 6px;
  background: var(--bg-2); color: var(--text-3); border: 1px solid var(--line-2);
  width: max-content; text-align: center;
}
.hit-suggestions .s-item .priority.P0 { color: var(--bad); border-color: rgba(255, 92, 92, .32); background: rgba(255, 92, 92, .08); }
.hit-suggestions .s-item .priority.P1 { color: var(--warn); border-color: rgba(255, 176, 32, .32); background: rgba(255, 176, 32, .08); }
.hit-suggestions .s-item strong {
  display: block; font-size: 14px; color: var(--text); font-weight: 500; letter-spacing: -.005em;
}
.hit-suggestions .s-item p {
  margin: 6px 0 0; font-size: 13px; color: var(--text-2); line-height: 1.55;
}

.hit-ledger {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.hit-ledger .l-item {
  display: grid; grid-template-columns: 100px 1fr;
  align-items: start; gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.hit-ledger .l-item .status {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .04em; padding: 4px 8px; border-radius: 4px;
  background: var(--bg-2); color: var(--text-3); border: 1px solid var(--line-2);
  width: max-content;
}
.hit-ledger .l-item .status.ok { color: var(--good); }
.hit-ledger .l-item .status.warn { color: var(--warn); }
.hit-ledger .l-item .status.bad { color: var(--bad); }
.hit-ledger .l-item p {
  margin: 0; font-size: 13px; color: var(--text-2); line-height: 1.55;
}

/* result-section 标题 */
.result-section {
  margin-top: 20px;
}
.result-section .result-section-title {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.result-section .result-section-title strong { font-size: 14px; color: var(--text); font-weight: 500; letter-spacing: -.005em; }
.result-section .result-section-title span { font-family: var(--mono); font-size: 11px; color: var(--text-3); letter-spacing: .04em; }
.result-section .secondary-action, .result-section .copy-result {
  padding: 5px 12px; border-radius: 6px;
  background: transparent; color: var(--text);
  border: 1px solid var(--line-3); font-size: 12px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.result-section .secondary-action:hover, .result-section .copy-result:hover { border-color: var(--ikb-bright); color: var(--ikb-bright); }

/* output-head (包结果头部) */
.output-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.output-head .result-status {
  font-family: var(--mono); font-size: 11px;
  padding: 4px 10px; border-radius: 999px;
  background: var(--bg-2); color: var(--text-2);
  letter-spacing: .04em;
}
.output-head .result-status.ready { color: var(--good); background: rgba(63, 185, 80, .12); }
.output-head .result-status.revise { color: var(--warn); background: rgba(255, 176, 32, .12); }
.output-head .result-status.blocked { color: var(--bad); background: rgba(255, 92, 92, .12); }
.output-head h2 {
  margin: 8px 0 4px; font-size: 32px; color: var(--text); font-weight: 500; letter-spacing: -.025em;
}
.output-head p { margin: 0; font-size: 13px; color: var(--text-3); }

/* =========================================================
   #morning-generator — 早安祝福
   ========================================================= */
.morning-shell { padding: 0; }
.morning-intro {
  padding: 32px 40px 24px;
}
.morning-intro .kicker {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ikb-bright); font-weight: 600;
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.morning-intro .kicker .line { width: 18px; height: 1px; background: var(--ikb-bright); }
.morning-intro h1 {
  font-size: 48px; line-height: 1.1; letter-spacing: -.035em;
  font-weight: 600; margin: 0; color: var(--text);
}
.morning-intro h1 .serif { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--text-2); }
.morning-intro p {
  font-size: 15px; color: var(--text-2); margin: 14px 0 0; max-width: 60ch;
}
.morning-frame-wrap {
  border-top: 1px solid var(--line);
  height: calc(100vh - 64px - 144px);
  min-height: 600px;
}
.morning-frame-wrap iframe {
  display: block;
  width: 100%; height: 100%;
  border: 0; background: var(--bg);
}

/* =========================================================
   Modal — V3 暗化
   ========================================================= */
.account-modal, .api-settings-modal {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(12px);
  padding: 20px;
}
.account-modal[hidden], .api-settings-modal[hidden] { display: none !important; }

.auth-card, .wallet-card, .admin-users-card, .api-settings-card {
  width: min(560px, 100%);
  max-height: 90vh; overflow-y: auto;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8);
  color: var(--text);
}
.wallet-card, .api-settings-card, .admin-users-card { width: min(720px, 100%); }

.auth-card .auth-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.auth-card .auth-brand span:first-child {
  width: 38px; height: 38px; border-radius: 11px; background: var(--ikb-bright);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 0 16px var(--ikb-glow);
}
.auth-card .auth-brand strong { display: block; font-size: 15px; color: var(--text); font-weight: 600; }
.auth-card .auth-brand small { display: block; font-size: 11px; color: var(--text-3); letter-spacing: .04em; }
.auth-card .auth-copy .micro-label {
  font-size: 10px; color: var(--ikb-bright);
  letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
}
.auth-card .auth-copy h1 {
  margin: 8px 0 8px; font-size: 28px; font-weight: 500; letter-spacing: -.02em; color: var(--text);
}
.auth-card .auth-copy p { font-size: 13.5px; color: var(--text-3); line-height: 1.55; margin: 0 0 24px; }
.auth-card .auth-tabs {
  display: inline-flex; gap: 0; padding: 4px;
  background: var(--bg-3); border-radius: 8px; margin-bottom: 24px;
}
.auth-card .auth-tabs button {
  padding: 7px 16px; border: 0; background: transparent;
  color: var(--text-3); font-size: 12.5px; font-weight: 500;
  border-radius: 6px; cursor: pointer;
}
.auth-card .auth-tabs button.active {
  background: var(--bg-4); color: var(--text);
}
.auth-card .auth-form label {
  display: block; margin-bottom: 14px;
}
.auth-card .auth-form label span {
  display: block; font-size: 11px; color: var(--text-3);
  margin-bottom: 6px; letter-spacing: .04em; font-weight: 600;
  text-transform: uppercase;
}
.auth-card .auth-form label input {
  width: 100%; height: 40px; padding: 0 12px;
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 8px;
  color: var(--text); font-size: 14px; outline: none;
}
.auth-card .auth-form label input:focus { border-color: var(--ikb-bright); }
.auth-card .auth-form button.primary-action {
  width: 100%; height: 44px;
  background: var(--ikb-bright); color: #fff; border: 0; border-radius: 8px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  box-shadow: 0 0 16px var(--ikb-glow);
  margin-top: 6px;
}
.auth-card .auth-form button.primary-action:hover { background: var(--ikb); }
.auth-card .auth-error {
  margin-top: 12px; padding: 10px 12px;
  background: rgba(255, 92, 92, .1); color: var(--bad);
  border: 1px solid rgba(255, 92, 92, .3); border-radius: 8px;
  font-size: 12.5px;
}

/* wallet */
.wallet-card .wallet-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding-bottom: 24px; margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.wallet-card .wallet-head .micro-label {
  font-size: 10px; color: var(--ikb-bright); letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
}
.wallet-card .wallet-head h2 {
  margin: 6px 0 8px; font-size: 28px; color: var(--text); font-weight: 500; letter-spacing: -.02em;
}
.wallet-card .wallet-head p { margin: 0; font-size: 13px; color: var(--text-3); }
.wallet-card .wallet-total {
  padding: 18px 24px;
  background: var(--ikb-soft); border: 1px solid rgba(61, 91, 255, .24); border-radius: 12px;
  margin-bottom: 16px;
}
.wallet-card .wallet-total span { font-size: 11px; color: var(--text-3); letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
.wallet-card .wallet-total strong {
  display: block; margin: 6px 0 4px; font-size: 32px; font-weight: 500; color: var(--text); letter-spacing: -.02em;
}
.wallet-card .wallet-total strong b { color: var(--ikb-bright); }
.wallet-card .wallet-total small { font-size: 11px; color: var(--text-3); }

.wallet-buckets {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px; margin-bottom: 20px;
}
.wallet-buckets > div {
  padding: 14px 18px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 10px;
}
.wallet-buckets span {
  font-size: 11px; color: var(--text-3); letter-spacing: .04em; text-transform: uppercase; font-weight: 600;
}
.wallet-buckets strong {
  display: block; margin-top: 4px; font-size: 20px; color: var(--text); font-weight: 500;
  font-family: var(--mono);
}

.wallet-section-title {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.wallet-section-title strong { font-size: 13px; color: var(--text); font-weight: 500; }
.wallet-section-title span { font-size: 11px; color: var(--text-3); letter-spacing: .04em; }
.wallet-section-title button {
  padding: 5px 12px;
  background: transparent; color: var(--text);
  border: 1px solid var(--line-3); border-radius: 6px;
  font-size: 12px; cursor: pointer;
}
.wallet-section-title button:hover { border-color: var(--line-4); }

.wallet-transactions article {
  display: grid; grid-template-columns: 32px 1fr auto;
  align-items: center; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.wallet-transactions article:last-child { border-bottom: 0; }
.transaction-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--bg-3); color: var(--text-3);
  display: grid; place-items: center;
}
.transaction-icon.in { color: var(--good); background: rgba(63, 185, 80, .12); }
.transaction-icon.out { color: var(--warn); background: rgba(255, 176, 32, .12); }
.wallet-transactions article strong { font-size: 13px; color: var(--text); font-weight: 500; }
.wallet-transactions article small { font-size: 11.5px; color: var(--text-3); }
.wallet-transactions article b {
  font-family: var(--mono); font-size: 13px; color: var(--text); font-weight: 500;
}
.wallet-transactions article b.in { color: var(--good); }
.wallet-transactions article b.out { color: var(--warn); }

/* admin */
.admin-users-card .admin-users-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding-bottom: 24px; margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.admin-users-card .admin-users-head .micro-label {
  font-size: 10px; color: var(--ikb-bright); letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
}
.admin-users-card .admin-users-head h2 {
  margin: 6px 0 8px; font-size: 28px; color: var(--text); font-weight: 500; letter-spacing: -.02em;
}
.admin-users-card .admin-users-head p { margin: 0; font-size: 13px; color: var(--text-3); }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 20px; }
.admin-stats article {
  padding: 14px 18px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 10px;
}
.admin-stats article span { font-size: 11px; color: var(--text-3); letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
.admin-stats article strong {
  display: block; margin-top: 4px; font-size: 22px; color: var(--text); font-weight: 500;
  font-family: var(--mono); letter-spacing: -.02em;
}

.admin-users-toolbar {
  display: flex; gap: 8px; margin-bottom: 16px;
}
.admin-users-toolbar label {
  flex: 1; display: flex; align-items: center; gap: 8px;
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 8px;
  padding: 0 12px; height: 36px;
}
.admin-users-toolbar label i { color: var(--text-3); }
.admin-users-toolbar input {
  flex: 1; background: transparent; border: 0; color: var(--text); font-size: 13px; outline: none;
}
.admin-users-toolbar button {
  height: 36px; padding: 0 14px; border-radius: 8px;
  background: transparent; color: var(--text); border: 1px solid var(--line-3); cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px;
}
.admin-users-toolbar button:hover { border-color: var(--line-4); }

/* 通用：modal 中按钮 */
.icon-command, .admin-users-close, .wallet-close, #api-settings-close, #admin-users-close {
  width: 32px; height: 32px;
  background: transparent; color: var(--text-3); border: 1px solid var(--line-2);
  border-radius: 8px; display: grid; place-items: center; cursor: pointer;
}
.icon-command:hover, .admin-users-close:hover, .wallet-close:hover { color: var(--text); border-color: var(--line-4); }

/* app-toast */
.app-toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  background: var(--bg-3); border: 1px solid var(--line-3);
  border-radius: 10px;
  font-size: 13px; color: var(--text);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
  opacity: 0; z-index: 200;
  transition: opacity .2s ease, transform .2s ease;
}
.app-toast.visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.app-toast i { color: var(--ikb-bright); }
.app-toast.error i { color: var(--bad); }

/* 模拟隐藏 lingyi-iframe 中违反 V3 的样式：morning-blessing 跟随 morning-shell 主题 */
.morning-iframe, .morning-iframe body,
.morning-iframe .morning-topbar, .morning-iframe .morning-workbench {
  background: var(--bg) !important;
  color: var(--text) !important;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1280px) {
  .v3-hero { grid-template-columns: 1fr; gap: 40px; }
  .v3-hero-r { justify-self: start; max-width: 480px; width: 100%; }
  .wb-grid { grid-template-columns: 320px minmax(0, 1fr) 240px; }
}
@media (max-width: 980px) {
  .v3-hero, .v3-diag {
    grid-template-columns: 1fr;
    padding: 32px 24px 0;
  }
  .v3-hero-r { max-width: none; }
  .v3-modules { padding: 48px 24px 40px; margin-top: 48px; }
  .v3-modules .head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .v3-modules .mod .desc { display: none; }
  .mod { grid-template-columns: 40px 1fr 80px 20px; gap: 16px; padding: 18px 0; }
  .mod .name { font-size: 15px; }
  .v3-diag-r { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 32px; }
  .v3-section { padding: 32px 24px; }
  .signal-list .sitem { grid-template-columns: 1fr 1fr; gap: 16px; }
  .lens-list .lens { grid-template-columns: 50px 1fr 70px 16px; gap: 16px; padding: 16px 0; }
  .lens-list .lens .bar { display: none; }
  .tk-grid { grid-template-columns: 1fr; gap: 24px; }
  .wb-intro, .wb-rail, .wb-grid { padding: 0; }
  .wb-intro { padding: 24px 24px 16px; }
  .wb-intro h1 { font-size: 36px; }
  .wb-rail-list { grid-template-columns: repeat(4, 1fr); }
  .wb-rail-list .step:nth-child(4n) { border-right: 0; }
  .wb-grid { grid-template-columns: 1fr; }
  .wb-col { border-right: 0; border-bottom: 1px solid var(--line); }
  .skill-shell { grid-template-columns: 1fr; }
  .skill-form-col { border-right: 0; border-bottom: 1px solid var(--line); }
  .skill-form-col, .skill-output-col { padding: 24px 24px 32px; }
  .skill-form-col h1, .skill-output-col h1 { font-size: 32px; }
  .xhs-titles, .xhs-cards { grid-template-columns: 1fr 1fr; }
  .hit-hero { grid-template-columns: 1fr; gap: 16px; }
  .hit-scores { grid-template-columns: 1fr; }
  .hit-scores .detector-score { border-right: 0; }
  .morning-intro { padding: 24px 24px 16px; }
  .morning-intro h1 { font-size: 36px; }
  .morning-frame-wrap { height: auto; min-height: 600px; }
  .v3-topbar { padding: 0 16px; }
  .v3-topbar .tabs { display: none; }
  .app-shell > footer { padding: 18px 24px; }
}
@media (max-width: 640px) {
  .v3-hero-l h1 { font-size: 48px; }
  .v3-diag-l h1 { font-size: 36px; }
  .v3-diag-r .score { font-size: 96px; }
  .mod { grid-template-columns: 36px 1fr 16px; gap: 12px; }
  .mod .stat, .mod .num { font-size: 10px; }
  .mod .name { font-size: 14px; }
}

/* =========================================================
   Morning Blessing iframe page — V3 暗色
   ========================================================= */
.morning-iframe {
  background: var(--bg) !important;
  color: var(--text) !important;
  font-family: var(--sans) !important;
  font-feature-settings: "ss01", "cv11", "tnum";
  letter-spacing: -.005em;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
.morning-iframe * { box-sizing: border-box; }

.morning-topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 24px;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line);
}
.morning-topbar h1 {
  margin: 0; font-size: 17px; font-weight: 500;
  color: var(--text); letter-spacing: -.005em;
}
.morning-topbar .sub {
  margin-top: 3px; font-size: 11px; color: var(--text-3);
}
.morning-topbar .badge {
  font-family: var(--mono); font-size: 11px;
  color: var(--text-3); letter-spacing: .04em;
  padding: 5px 10px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px;
}
.morning-topbar .badge i {
  display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  background: var(--good); margin-right: 6px; vertical-align: middle;
  box-shadow: 0 0 6px rgba(63, 185, 80, .5);
}

.morning-workbench {
  max-width: 1400px; margin: 0 auto;
  padding: 16px 24px 24px;
  min-height: calc(100vh - 50px);
  display: grid;
  grid-template-columns: minmax(360px, 420px) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}
.morning-panel {
  border-radius: 12px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
}
.morning-controls { padding: 18px 20px; overflow-y: auto; }
.morning-preview {
  padding: 16px;
  display: flex; flex-direction: column; gap: 14px;
}

.morning-section-title {
  font-size: 10px; font-weight: 600; color: var(--text-3);
  margin: 18px 0 8px; text-transform: uppercase; letter-spacing: .18em;
}
.morning-section-title:first-child { margin-top: 0; }

.morning-field-row { display: grid; gap: 10px; }
.morning-field-row.cols-2 { grid-template-columns: 1fr 1fr; }
.morning-field-row.cols-3 { grid-template-columns: repeat(3, 1fr); }
.morning-field-row label {
  display: block; margin: 0 0 4px;
  font-size: 11px; color: var(--text-3); font-weight: 500;
  letter-spacing: .04em;
}
.morning-field-row input,
.morning-field-row select,
.morning-field-row textarea {
  width: 100%; height: 38px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 8px;
  background: var(--bg-3); color: var(--text);
  font-size: 13px; font-family: inherit; outline: none;
  transition: border-color .15s ease;
}
.morning-field-row textarea { height: auto; min-height: 64px; resize: vertical; padding: 10px 12px; line-height: 1.55; }
.morning-field-row input:focus,
.morning-field-row select:focus,
.morning-field-row textarea:focus {
  border-color: var(--ikb-bright);
  box-shadow: 0 0 0 3px var(--ikb-soft);
}
.morning-field-row input::placeholder,
.morning-field-row textarea::placeholder { color: var(--text-4); }

.morning-seg {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: var(--bg-3); border-radius: 8px; padding: 4px;
}
.morning-seg input { display: none; }
.morning-seg label {
  margin: 0; text-align: center; padding: 8px 10px; border-radius: 6px;
  color: var(--text-3); cursor: pointer; font-weight: 600; font-size: 12px;
  transition: .12s;
}
.morning-seg input:checked + label {
  color: var(--text); background: var(--bg-4);
  box-shadow: 0 0 0 1px var(--line-2);
}

.morning-checks { display: flex; gap: 16px; margin-top: 10px; flex-wrap: wrap; }
.morning-check {
  display: flex; align-items: center; gap: 7px;
  color: var(--text-2); font-size: 12px; cursor: pointer;
}
.morning-check input {
  width: 15px; height: 15px; accent-color: var(--ikb-bright);
}

.morning-hint {
  font-size: 11px; line-height: 1.55; color: var(--text-3);
  margin: 0 0 8px;
}

.morning-actions {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin-top: 18px;
}
.morning-actions button {
  height: 40px; padding: 0 12px; border-radius: 8px;
  border: 1px solid var(--line-2); background: transparent;
  color: var(--text); font-size: 12px; font-weight: 600; cursor: pointer;
  transition: .12s;
}
.morning-actions button:hover { background: var(--bg-3); border-color: var(--line-3); }
.morning-actions button.primary {
  background: var(--ikb-bright); border-color: transparent;
  color: #fff; box-shadow: 0 0 16px var(--ikb-glow);
}
.morning-actions button.primary:hover { background: var(--ikb); }
.morning-actions button.danger {
  color: var(--bad); border-color: rgba(255, 92, 92, .32);
}
.morning-actions button:disabled { opacity: .5; cursor: not-allowed; }

#copyWarn {
  font-size: 11px; color: var(--warn);
  background: rgba(255, 176, 32, .08);
  border: 1px solid rgba(255, 176, 32, .32);
  border-radius: 8px; padding: 10px; margin-top: 12px;
  line-height: 1.55;
}

.morning-status {
  display: grid; grid-template-columns: 1fr auto;
  gap: 6px 14px;
  color: var(--text-3); font-family: var(--mono);
  font-size: 11px; padding: 14px 18px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px;
  align-items: center;
}
.morning-status #status { color: var(--text); font-weight: 500; }
.morning-status #summary { text-align: right; letter-spacing: .04em; }
.morning-progress-wrap {
  grid-column: 1 / -1; height: 1px; background: var(--line-2);
  position: relative; margin-top: 4px;
}
.morning-progress-bar {
  position: absolute; left: 0; top: -1px; height: 3px;
  background: var(--ikb-bright); box-shadow: 0 0 6px var(--ikb-glow);
  border-radius: 2px; width: 0;
  transition: width .24s ease;
}

.morning-prompt {
  white-space: pre-wrap; max-height: 220px; overflow: auto;
  font-size: 11.5px; line-height: 1.65; color: var(--text-2);
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 18px;
  font-family: var(--mono);
}

.morning-article {
  flex: 1 1 auto; overflow: auto; min-height: 0;
  padding: 28px; background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.morning-article h2 {
  margin: 0 0 20px; color: var(--text);
  font-size: 22px; line-height: 1.35;
  font-weight: 500; letter-spacing: -.02em;
}
.morning-article p {
  color: var(--text-2); font-size: 15px; line-height: 1.85;
  margin: 0 0 16px;
}
.morning-article .image-grid {
  display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
  gap: 10px; margin: 18px 0;
}
.morning-article .image-grid img {
  width: 100%; aspect-ratio: 2 / 3; object-fit: cover;
  border: 1px solid var(--line); border-radius: 8px;
}
.morning-article .image-grid.placeholder {
  border: 1px dashed var(--line); border-radius: 8px; min-height: 120px;
  display: grid; place-items: center;
  color: var(--text-4); font-size: 12px;
  background: var(--bg-3);
}
.morning-article .ending {
  color: var(--ikb-bright); font-weight: 600;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase;
  margin: 24px 0 12px;
}

.modal-mask {
  position: fixed; inset: 0; z-index: 30; padding: 20px;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(12px);
  display: grid; place-items: center;
}
.modal-mask[hidden] { display: none !important; }
.modal {
  width: min(440px, 100%);
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8);
  padding: 24px;
}
.modal h3 { margin: 0 0 8px; font-size: 18px; color: var(--text); font-weight: 500; letter-spacing: -.005em; }
.modal p { margin: 0 0 18px; color: var(--text-3); line-height: 1.6; font-size: 13px; }
.modal button { width: 100%; }

@media (max-width: 980px) {
  .morning-workbench { grid-template-columns: 1fr; padding: 12px; }
  .morning-field-row.cols-3 { grid-template-columns: 1fr 1fr; }
  .morning-preview { min-height: 420px; }
}
@media (max-width: 640px) {
  .morning-topbar { padding: 10px 14px; }
  .morning-field-row.cols-2, .morning-field-row.cols-3 { grid-template-columns: 1fr; }
  .morning-actions { grid-template-columns: 1fr; }
  .morning-article .image-grid {
    grid-template-columns: repeat(min(var(--cols, 2), 2), minmax(0, 1fr));
  }
}


/* ============================================================
   V3 动态渲染适配层 —— 对齐 app.js 运行时生成的结构
   （策略：不动远端合入的 app.js，纯 CSS 兜底 V3 视觉）
   ============================================================ */

/* 1) 顶栏设置菜单：显隐统一由 [hidden] 属性控制 */
.v3-topbar .right .menu-wrap.open .settings-popover { display: none; }
.v3-topbar .right .settings-popover[hidden] { display: none !important; }
.v3-topbar .right #settings-menu:not([hidden]) { display: block !important; }

/* 2) 首页综合分进度线（renderReport 写入 --score） */
.v3-diag-r .score-line {
  height: 1px; background: var(--line-2); margin-top: 20px; position: relative;
}
.v3-diag-r .score-line::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 3px;
  width: var(--score, 0%);
  background: var(--ikb-bright);
  box-shadow: 0 0 8px var(--ikb-glow);
  border-radius: 2px;
  transition: width .6s cubic-bezier(.22, .61, .36, 1);
}

/* 3) renderLenses → .lens-list .lens（JS 结构：.lens-index + h3 + .lens-score + .lens-status + p） */
.lens-list .lens .lens-index {
  font-family: var(--mono); font-size: 11px; color: var(--text-3); letter-spacing: .04em;
}
.lens-list .lens.sage .lens-index { color: var(--good); }
.lens-list .lens.orange .lens-index { color: var(--warn); }
.lens-list .lens.red .lens-index { color: var(--bad); }
.lens-list .lens h3 {
  margin: 0; font-size: 16px; color: var(--text); font-weight: 500; letter-spacing: -.01em;
}
.lens-list .lens .lens-score {
  font-family: var(--mono); font-size: 18px; color: var(--text); font-weight: 500;
  text-align: right; letter-spacing: -.02em;
}
.lens-list .lens .lens-score small { font-size: 11px; color: var(--text-3); font-weight: 400; margin-left: 4px; }
.lens-list .lens .lens-status {
  font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-3); text-align: right;
}
.lens-list .lens .lens-status.good { color: var(--good); }
.lens-list .lens .lens-status.mid { color: var(--warn); }
.lens-list .lens .lens-status.low { color: var(--bad); }
.lens-list .lens p {
  grid-column: 2; margin: 6px 0 0; font-size: 12px; color: var(--text-3); line-height: 1.5;
}

/* 4) renderRoute → .route-list .route-item */
.route-list .route-item {
  display: grid; grid-template-columns: 80px 1fr 200px;
  align-items: start; gap: 32px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.route-list .route-item .route-number {
  font-family: var(--mono); font-size: 11px; color: var(--text-3); letter-spacing: .04em;
}
.route-list .route-item .route-copy .route-kicker {
  font-size: 11px; color: var(--text-3); letter-spacing: .12em;
  text-transform: uppercase; font-weight: 600; margin-bottom: 4px;
}
.route-list .route-item .route-copy h3 {
  margin: 4px 0 8px; font-size: 17px; font-weight: 500; color: var(--text); letter-spacing: -.01em;
}
.route-list .route-item .route-copy p { margin: 4px 0; color: var(--text-2); font-size: 13px; line-height: 1.5; }
.route-list .route-item .route-copy p b { color: var(--text); font-weight: 500; }
.route-list .route-item .route-target {
  font-family: var(--mono); font-size: 12px; color: var(--text-3);
  text-align: right; line-height: 1.5;
}
.route-list .route-item .route-target strong {
  display: block; color: var(--text); font-weight: 500; font-size: 11px;
  letter-spacing: .04em; margin-bottom: 4px;
}

/* 5) renderBenchmarks → .bm-list .benchmark-item */
.bm-list .benchmark-item {
  display: grid; grid-template-columns: 60px 1fr 16px;
  align-items: center; gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer; text-decoration: none;
  transition: padding .15s ease, background .15s ease;
}
.bm-list .benchmark-item:hover { background: var(--bg-2); padding-left: 16px; padding-right: 16px; }
.bm-list .benchmark-item .benchmark-index { font-family: var(--mono); font-size: 11px; color: var(--text-3); }
.bm-list .benchmark-item strong { display: block; font-size: 15px; color: var(--text); font-weight: 500; }
.bm-list .benchmark-item small { display: block; font-size: 12px; color: var(--text-3); margin-top: 2px; }
.bm-list .benchmark-item .benchmark-arrow { font-family: var(--mono); color: var(--text-3); text-align: right; }
.bm-list .benchmark-item:hover .benchmark-arrow { color: var(--ikb-bright); }

/* 6) renderWorks → #works-table 原生 table */
#works-table table {
  width: 100%; border-collapse: collapse; background: transparent; margin-top: 8px;
}
#works-table th, #works-table td {
  text-align: left; padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13px; color: var(--text); font-family: var(--sans);
}
#works-table th {
  color: var(--text-3); font-weight: 600; font-size: 11px;
  text-transform: uppercase; letter-spacing: .12em;
  border-bottom: 1px solid var(--line-2);
}
#works-table td a { color: var(--ikb-bright); }
#works-table td a:hover { text-decoration: underline; }
.evidence-footnote { margin: 0; padding: 24px 0; font-size: 13px; color: var(--text-3); }

/* 7) paintWorkflow → .wb-rail-list .workflow-step（rail 8 步横排） */
.wb-rail-list .workflow-step {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 14px;
  border-right: 1px solid var(--line);
  font-size: 12px; color: var(--text-2);
  position: relative;
}
.wb-rail-list .workflow-step:last-child { border-right: 0; }
.wb-rail-list .workflow-step > span {
  font-family: var(--mono); font-size: 10px; color: var(--text-3);
  letter-spacing: .04em; font-weight: 500;
}
.wb-rail-list .workflow-step strong {
  font-size: 13px; color: var(--text); font-weight: 500; letter-spacing: -.005em;
}
.wb-rail-list .workflow-step small { display: none; }
.wb-rail-list .workflow-step.done > span { color: var(--good); }
.wb-rail-list .workflow-step.done strong {
  color: var(--text-3); text-decoration: line-through; text-decoration-color: var(--text-5);
}
.wb-rail-list .workflow-step.active > span { color: var(--ikb-bright); }
.wb-rail-list .workflow-step.active strong { color: var(--ikb-bright); }

/* 8) renderDecisionPanel → 决策面板三卡片 */
.decision-panel {
  padding: 18px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--bg-2);
  margin-bottom: 14px;
}
.decision-step {
  display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px;
}
.decision-step span {
  font-family: var(--mono); font-size: 10px; color: var(--ikb-bright);
  letter-spacing: .12em; font-weight: 600;
}
.decision-step strong { font-size: 15px; color: var(--text); font-weight: 500; }
.decision-copy h3 { margin: 0 0 6px; font-size: 15px; font-weight: 500; color: var(--text); }
.decision-copy p { margin: 0; font-size: 13px; color: var(--text-2); line-height: 1.55; }
.decision-impact {
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; color: var(--text-3);
}
.decision-impact strong { display: block; color: var(--ikb-bright); font-weight: 500; margin-top: 2px; }

/* 9) renderHitReport → 爆文检测结果 */
.detector-hero {
  display: grid; grid-template-columns: 200px 1fr;
  gap: 40px; align-items: start;
  padding: 24px 0 20px;
  border-bottom: 1px solid var(--line);
}
.detector-hero h2 { margin: 8px 0 0; font-size: 44px; font-weight: 500; letter-spacing: -.03em; color: var(--text); }
.detector-hero p { margin: 6px 0 0; font-size: 12px; color: var(--text-3); }
.detector-verdict strong { display: block; font-size: 16px; color: var(--text); font-weight: 500; margin-bottom: 6px; }
.detector-verdict p { margin: 0 0 12px; font-size: 12px; color: var(--text-3); }
.suggestion-list { display: flex; flex-direction: column; }
.suggestion-list article {
  display: grid; grid-template-columns: 48px 1fr; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.suggestion-list article > span {
  font-family: var(--mono); font-size: 10px; letter-spacing: .1em;
  color: var(--warn); font-weight: 600; padding-top: 2px;
}
.suggestion-list article strong { display: block; font-size: 14px; color: var(--text); font-weight: 500; }
.suggestion-list article p { margin: 4px 0 0; font-size: 13px; color: var(--text-2); line-height: 1.55; }
.ledger-list { display: flex; flex-direction: column; }
.ledger-list > div {
  display: grid; grid-template-columns: 72px 1fr; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.ledger-list > div span {
  font-family: var(--mono); font-size: 10px; color: var(--text-3);
  letter-spacing: .1em; text-transform: uppercase; padding-top: 2px;
}
.ledger-list > div p { margin: 0; font-size: 13px; color: var(--text-2); line-height: 1.55; }
.muted-copy { margin: 0; padding: 16px 0; font-size: 13px; color: var(--text-3); }

/* 10) renderXhsPackage / renderTiePlan → 标题方案 + 卡片网格 + 文案 */
.title-options {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.title-options .title-option {
  display: block; padding: 16px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 12px; text-align: left; cursor: pointer;
  transition: .15s;
}
.title-options .title-option:hover { border-color: var(--line-3); background: var(--bg-3); }
.title-options .title-option.selected {
  border-color: var(--ikb-bright);
  background: var(--ikb-soft);
  box-shadow: 0 0 0 1px var(--ikb-bright) inset;
}
.title-options .title-option > span {
  font-family: var(--mono); font-size: 11px; color: var(--ikb-bright); letter-spacing: .04em;
}
.title-options .title-option strong {
  display: block; margin: 10px 0 6px;
  font-size: 14px; color: var(--text); font-weight: 500; letter-spacing: -.005em; line-height: 1.4;
}
.title-options .title-option small {
  display: block; font-size: 11px; color: var(--text-3); line-height: 1.5;
}
.creator-card-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.creator-card-grid .creator-output-card {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden;
}
.creator-card-grid .card-image-slot {
  aspect-ratio: 1; display: grid; place-items: center;
  background: var(--bg-3); border-bottom: 1px solid var(--line);
  color: var(--text-4); position: relative;
}
.creator-card-grid .card-image-slot span { font-family: var(--mono); font-size: 14px; color: var(--text-3); }
.creator-card-grid .card-image-slot small {
  display: block; font-size: 10px; color: var(--text-4); margin-top: 4px; letter-spacing: .04em;
}
.creator-card-grid .card-image-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.creator-card-grid .card-image-slot a {
  display: block; position: absolute; bottom: 8px; right: 8px;
  font-size: 10px; color: var(--text-2); padding: 4px 8px;
  background: rgba(0, 0, 0, .7); border-radius: 4px;
}
.creator-card-grid .creator-card-copy {
  padding: 14px 16px; border-top: 1px solid var(--line);
}
.creator-card-grid .creator-card-copy span {
  font-family: var(--mono); font-size: 10px; color: var(--ikb-bright);
  letter-spacing: .04em; text-transform: uppercase; font-weight: 600;
}
.creator-card-grid .creator-card-copy strong {
  display: block; margin: 6px 0 4px; font-size: 13.5px; color: var(--text);
  font-weight: 500; letter-spacing: -.005em; line-height: 1.4;
}
.creator-card-grid .creator-card-copy p { margin: 0; font-size: 11.5px; color: var(--text-3); line-height: 1.5; }
.creator-card-grid .creator-card-copy small {
  display: block; margin-top: 6px; font-size: 10.5px; color: var(--text-4);
  font-family: var(--mono); letter-spacing: .04em;
}
.result-editor {
  width: 100%; min-height: 160px; padding: 16px 18px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 10px; color: var(--text); font-size: 13.5px; line-height: 1.7;
  resize: vertical; outline: none;
}
.result-meta-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-top: 12px;
}
.result-meta-grid > div { padding: 14px 18px; border-right: 1px solid var(--line); }
.result-meta-grid > div:last-child { border-right: 0; }
.result-meta-grid span {
  font-family: var(--mono); font-size: 10px; color: var(--text-3);
  letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
}
.result-meta-grid p { margin: 6px 0 0; font-size: 13px; color: var(--text-2); line-height: 1.55; }
.issue-list {
  margin: 0; padding: 0; list-style: none;
  border-top: 1px solid var(--line);
}
.issue-list li {
  padding: 12px 0; border-bottom: 1px solid var(--line);
  font-size: 13px; color: var(--text-2); line-height: 1.55;
}
.issue-list li::before { content: "—  "; color: var(--text-4); font-family: var(--mono); }
.issue-list li.ok { color: var(--good); }
.issue-list li.ok::before { content: "✓  "; color: var(--good); }

/* 11) 工作台微件补全 */
.topic-number { font-family: var(--mono); font-size: 11px; color: var(--text-3); }
.image-section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  margin: 18px 0 10px;
}
.image-section-head h3 { margin: 4px 0 0; font-size: 16px; font-weight: 500; color: var(--text); }
.image-section-head > span:last-child { font-family: var(--mono); font-size: 11px; color: var(--text-3); }

/* ============================================================
   12) V3 暗色适配 · 对话式共创工作台（merge ad5501e7 · 覆盖 taste 暖纸）
   ============================================================ */
#workbench.workbench-page {
  min-height: calc(100dvh - 72px);
  padding: 18px 24px 30px;
  background: var(--bg) !important;
  overflow: visible;
}

/* 8 步流程条：可见化（V3 r6：4 列 × 2 行精致化） */
.article-workspace .workflow-rail { display: grid; grid-template-columns: repeat(4, 1fr); }
.workflow-rail {
  width: min(1440px, 100%);
  margin: 0 auto 14px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  background: var(--bg-2);
}
.workflow-rail .workflow-step {
  padding: 18px 18px;
  display: flex; align-items: center; gap: 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background .2s ease;
}
.workflow-rail .workflow-step:nth-child(4n) { border-right: 0; }
.workflow-rail .workflow-step:nth-child(n+5) { border-bottom: 0; }
.workflow-rail .workflow-step:hover { background: var(--bg-3); }
.workflow-rail .workflow-step > span {
  font-family: var(--mono); font-size: 10.5px; color: var(--text-4);
  letter-spacing: .06em; font-weight: 500;
  flex-shrink: 0; min-width: 20px;
}
.workflow-rail .workflow-step strong {
  display: block; font-size: 13.5px; font-weight: 500; color: var(--text);
  white-space: nowrap; letter-spacing: -.005em;
}
.workflow-rail .workflow-step small {
  display: block; margin-top: 2px; font-size: 10.5px; color: var(--text-4);
  white-space: nowrap; letter-spacing: -.003em;
}
.workflow-rail .workflow-step.active {
  background: linear-gradient(90deg, rgba(61,91,255,.12) 0%, transparent 90%);
}
.workflow-rail .workflow-step.active::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--ikb-bright);
}
.workflow-rail .workflow-step.active > span { color: var(--ikb-bright); }
.workflow-rail .workflow-step.active strong { color: var(--text); font-weight: 600; }
.workflow-rail .workflow-step.done > span { color: var(--good); }
.workflow-rail .workflow-step.done strong {
  color: var(--text-3); text-decoration: line-through; text-decoration-color: var(--text-5);
}

/* 三栏容器 */
.conversation-workbench-layout {
  border-color: var(--line);
  background: var(--bg);
  box-shadow: none;
}
.conversation-panel { background: var(--bg); border-right-color: var(--line); }
.conversation-panel-head { border-bottom-color: var(--line); }
.conversation-panel-head strong { color: var(--text); font-weight: 600; letter-spacing: -.01em; }
.work-status { color: var(--text-3); font-family: var(--mono); }
.workbench-progress { margin: 16px 0 0; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: color-mix(in srgb, var(--panel) 86%, transparent); }
.workbench-progress > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.workbench-progress strong { color: var(--text); font-size: 13px; font-weight: 600; }
.workbench-progress-detail { color: var(--text-3); font-size: 11px; text-align: right; }
.workbench-progress-track { height: 4px; margin: 12px 0; overflow: hidden; border-radius: 99px; background: var(--line); }
.workbench-progress-track i { display: block; height: 100%; width: 8%; border-radius: inherit; background: var(--ikb-bright); transition: width .25s ease; }
.workbench-progress .outline-action { width: 100%; }
.new-chat-button {
  border-color: rgba(255,255,255,.12); color: var(--text-2);
  background: transparent;
}
.new-chat-button:hover { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.22); }

/* 聊天流 */
.chat-thread { background: var(--bg); }
.chat-message > span { color: var(--text-3); font-weight: 600; }
.chat-message p {
  color: var(--text-2);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 4px 12px 12px 12px;
  font-size: 13px; line-height: 1.65;
}
.chat-message.from-user p {
  color: #fff;
  background: linear-gradient(135deg, #002FA7 0%, #3D5BFF 100%);
  border-color: transparent;
  border-radius: 12px 4px 12px 12px;
}

/* 选题方向卡片 */
.chat-choice-head strong { color: var(--text); font-weight: 600; }
.chat-choice-head span { color: var(--text-3); }
.chat-choice {
  border-color: rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}
.chat-choice > span { color: var(--ikb-bright); font-weight: 700; }
.chat-choice strong { color: var(--text-2); }
.chat-choice p { color: var(--text-3); }
.chat-choice small { color: var(--text-4); }
.chat-choice footer { gap: 8px; }
.chat-choice button {
  border-color: rgba(61,91,255,.45); color: var(--ikb-bright);
  background: rgba(61,91,255,.08);
  font-weight: 600;
}
.chat-choice button:hover { background: rgba(61,91,255,.16); }
.chat-choice .regenerate-topic { border-color: rgba(255,255,255,.1); color: var(--text-3); background: transparent; }

/* 输入框 */
.composer-shell {
  border-color: rgba(255,255,255,.1);
  background: rgba(255,255,255,.03);
  box-shadow: none;
}
.composer-shell textarea { color: var(--text); }
.composer-shell textarea::placeholder { color: var(--text-4); }
.composer-text-action { color: var(--text-3); }
.composer-text-action:hover { color: var(--ikb-bright); }
.composer-send { background: var(--ikb); color: #fff; border-radius: 9px; }
.composer-send:hover { background: var(--ikb-bright); }

/* 正文画布 */
.article-canvas { background: var(--bg); }
.article-canvas-head { border-bottom-color: var(--line); }
.article-canvas-head h2 { color: var(--text); font-weight: 600; }
.article-canvas-head p { color: var(--text-3); }
.article-canvas-head p i { background: var(--good); }
.canvas-actions { gap: 6px; }
.icon-action {
  border-color: rgba(255,255,255,.1); color: var(--text-3);
  background: transparent;
}
.icon-action:hover { color: var(--ikb-bright); border-color: rgba(61,91,255,.5); }
.version-strip {
  border-bottom-color: var(--line);
  background: var(--bg);
  color: var(--text-3);
}
.version-strip span:first-child { color: var(--text-2); }

/* 当前进度卡 */
.current-work-card {
  border-color: rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  color: var(--text-3);
}
.current-work-card span { color: var(--ikb-bright); font-weight: 700; letter-spacing: .06em; }
.current-work-card strong { color: var(--text); }
.current-work-card p { color: var(--text-3); }

/* 编辑器 */
.article-canvas .editor-head { color: var(--text-3); border-bottom-color: var(--line); background: transparent; }
.article-canvas .editor-head span:first-child { color: var(--text-2); }
.article-canvas #article-editor { color: var(--text-2); background: transparent; }
.selection-actions { border-bottom-color: var(--line); }
.selection-actions button {
  border-color: rgba(255,255,255,.1); color: var(--text-3);
  background: transparent;
}
.selection-actions button:hover { color: var(--ikb-bright); border-color: rgba(61,91,255,.45); }
.article-canvas-foot { color: var(--text-4); }
.article-canvas-foot span:last-child { color: var(--good); }

/* 成果侧栏 */
.outcome-panel { background: var(--bg); border-left-color: var(--line); }
.outcome-panel > header strong { color: var(--text-2); }
.outcome-panel > header svg { color: var(--text-4); }
.outcome-panel section { border-bottom-color: var(--line); }
.outcome-panel h3 { color: var(--text-3); font-weight: 600; }
.outline-list span {
  border-color: rgba(61,91,255,.35); color: var(--ikb-bright);
  background: rgba(61,91,255,.08);
}
.outline-list p { color: var(--text-2); }
.version-item { color: var(--text-3); }
.version-item:hover, .version-item.current { border-color: rgba(61,91,255,.4); background: rgba(61,91,255,.07); }
.version-item strong { color: var(--text-2); }
.version-item.current strong { color: var(--ikb-bright); }
.version-item span { color: var(--text-4); }
.generate-next { background: var(--ikb); color: #fff; }
.generate-next:hover { background: var(--ikb-bright); }
.outline-action { border-color: rgba(255,255,255,.12); color: var(--text-2); background: transparent; }
.outline-action:hover { background: rgba(255,255,255,.04); }

/* 响应式断点下的暗色修正 */
@media (max-width: 1100px) {
  .outcome-panel { border-top-color: var(--line); border-left-color: var(--line); }
}
@media (max-width: 760px) {
  #workbench.workbench-page { padding: 12px; }
  .conversation-panel { border-bottom-color: var(--line); }
  .outcome-panel { border-top-color: var(--line); border-bottom-color: var(--line); }
  .workflow-rail { grid-template-columns: repeat(4, 1fr); }
  .workflow-rail .workflow-step:nth-child(4n) { border-right: 0; }
  .workflow-rail .workflow-step:nth-child(n + 5) { border-top: 1px solid var(--line); }
}
/* ============================================================
   13) V3 暗色 · 首页 hero-collage + skill-output-preview 网格骨架
   ============================================================ */

/* 13.1 首页 hero 右侧：六个模块缩略卡堆叠 */
.home-page { padding: 18px 24px 32px; min-height: calc(100dvh - 72px); }
.home-page .v3-hero { gap: 36px; }
.v3-hero-r .hero-collage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
  max-width: 460px;
}
.hc-card {
  position: relative;
  display: flex; flex-direction: column; gap: 6px;
  padding: 16px 14px 14px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  text-decoration: none;
  color: var(--text-2);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
  overflow: hidden;
  isolation: isolate;
}
.hc-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,47,167,.18), transparent 60%);
  opacity: 0; transition: opacity 220ms ease; z-index: -1;
}
.hc-card:hover { transform: translateY(-2px); border-color: rgba(61,91,255,.45); background: rgba(255,255,255,.05); }
.hc-card:hover::before { opacity: 1; }
.hc-card .n { font-family: var(--mono); font-size: 10px; color: var(--text-4); letter-spacing: .06em; }
.hc-card .t { font-size: 15px; font-weight: 600; color: var(--text); letter-spacing: -.01em; }
.hc-card .d { font-size: 11px; color: var(--text-3); line-height: 1.45; }
.hc-card.hc-1 { grid-column: span 2; }
.hc-card.hc-3 { grid-row: span 2; padding-top: 22px; }
.hc-card.hc-6 { grid-column: span 2; }

@media (max-width: 1100px) {
  .v3-hero-r .hero-collage { grid-template-columns: repeat(2, 1fr); max-width: 380px; }
  .hc-card.hc-1, .hc-card.hc-3, .hc-card.hc-6 { grid-column: auto; grid-row: auto; }
}
@media (max-width: 720px) {
  .v3-hero-r .hero-collage { grid-template-columns: 1fr; max-width: 100%; }
}

/* 13.2 CTA 行：主按钮 + 次按钮 */
.v3-hero-l .cta-row { display: flex; gap: 10px; margin-top: 4px; flex-wrap: wrap; }
.v3-hero-l .cta-row .primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  background: var(--ikb-bright);
  color: #fff;
  border-radius: 10px;
  font-weight: 600; font-size: 14px; letter-spacing: -.01em;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}
.v3-hero-l .cta-row .primary:hover { background: var(--ikb); transform: translateY(-1px); }
.v3-hero-l .cta-row .primary .arr { font-family: var(--mono); font-size: 12px; }
.v3-hero-l .cta-row .secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  font-weight: 500; font-size: 14px; letter-spacing: -.01em;
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease;
}
.v3-hero-l .cta-row .secondary:hover { border-color: var(--line-4); color: var(--ikb-bright); }
.v3-hero-l .cta-row .secondary .arr { font-family: var(--mono); font-size: 12px; }

/* 13.3 diagnose-page：诊断表单页独立容器 */
.diagnose-page { padding: 18px 24px 32px; min-height: calc(100dvh - 72px); }
.diagnose-page .diagnose-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  padding-top: 8px;
}
@media (max-width: 960px) {
  .diagnose-page .diagnose-shell { grid-template-columns: 1fr; gap: 32px; }
}

/* 13.4 skill-empty-grid：技能页右侧骨架容器 */
.skill-empty-grid {
  background: transparent;
  border: none;
  padding: 0;
}
.skill-empty-grid .empty-head {
  margin-bottom: 18px;
}
.skill-empty-grid .empty-head .tag {
  font-family: var(--mono); font-size: 11px; color: var(--text-4);
  letter-spacing: .06em;
}
.skill-empty-grid .empty-head h2 {
  margin: 8px 0 8px;
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--text);
  line-height: 1.32;
}
.skill-empty-grid .empty-head h2 .serif { font-family: var(--serif); font-style: italic; color: var(--text-2); }
.skill-empty-grid .empty-head p {
  margin: 0;
  font-size: 13px; color: var(--text-3); line-height: 1.6;
}
.empty-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.empty-preview {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 16px 18px;
  background: rgba(255,255,255,.025);
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column; gap: 10px;
}
.empty-preview > header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.empty-preview .ep-tag {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: .06em;
  color: var(--text-3);
}
.empty-preview .ep-meta {
  font-family: var(--mono); font-size: 10px;
  color: var(--text-4); letter-spacing: .04em;
}
.empty-foot {
  margin-top: 14px;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--mono); font-size: 11px;
  color: var(--text-4); letter-spacing: .04em;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.empty-foot small { color: var(--text-4); }

/* 13.5 标题预览骨架（小红书专用） */
.empty-preview-titles ol { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.empty-preview-titles li {
  display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 8px;
  background: rgba(255,255,255,.02);
}
.empty-preview-titles .ep-num { font-family: var(--mono); font-size: 10px; color: var(--text-4); margin-top: 2px; letter-spacing: .06em; }
.empty-preview-titles strong { display: block; font-size: 12px; color: var(--text); font-weight: 600; margin-bottom: 2px; letter-spacing: -.01em; }
.empty-preview-titles p { margin: 0; font-size: 11px; color: var(--text-3); line-height: 1.5; }

/* 13.6 封面预览骨架 */
.empty-preview-cover .ep-cover-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1f3a, #2d3a8a 60%, #0a0f25);
  border: 1px solid rgba(61,91,255,.2);
}
.empty-preview-cover .ep-cover-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.12), transparent 50%),
    radial-gradient(circle at 80% 75%, rgba(61,91,255,.4), transparent 55%);
}
.empty-preview-cover .ep-cover-title {
  position: absolute; left: 14px; top: 22px;
  font-size: 13px; font-weight: 700; color: #fff;
  letter-spacing: -.01em; line-height: 1.25;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.empty-preview-cover .ep-cover-sub {
  position: absolute; left: 14px; bottom: 16px;
  font-size: 10px; color: rgba(255,255,255,.7);
  font-family: var(--mono);
}

/* 13.7 正文骨架条 */
.empty-preview-body .ep-body-lines { display: flex; flex-direction: column; gap: 6px; }
.empty-preview-body .ep-body-lines i {
  display: block; height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, rgba(255,255,255,.06), rgba(61,91,255,.12));
}

/* 13.8 置顶评论 */
.empty-preview-pin .ep-pin {
  padding: 12px;
  background: rgba(61,91,255,.08);
  border: 1px solid rgba(61,91,255,.2);
  border-radius: 10px;
}
.empty-preview-pin .ep-pin strong { display: block; color: var(--ikb-bright); font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.empty-preview-pin .ep-pin p { margin: 0; font-size: 11px; color: var(--text-2); line-height: 1.5; }

/* 13.9 贴图号分镜网格 */
.empty-preview-tietu .tietu-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.empty-preview-tietu .tietu-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.04), rgba(61,91,255,.08)),
    rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  padding: 8px;
  transition: transform 180ms ease, border-color 180ms ease;
  cursor: pointer;
}
.empty-preview-tietu .tietu-card:hover { transform: translateY(-2px); border-color: rgba(61,91,255,.4); }
.empty-preview-tietu .tietu-card .tc-n {
  position: absolute; top: 6px; left: 8px;
  font-family: var(--mono); font-size: 9px; color: var(--text-4); letter-spacing: .06em;
}
.empty-preview-tietu .tietu-card .tc-t {
  font-size: 11px; font-weight: 600; color: var(--text-2); letter-spacing: -.01em;
}
.tc-1 { background: linear-gradient(135deg, rgba(61,91,255,.12), rgba(255,255,255,.02)); }
.tc-3 { background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(61,91,255,.05)); }
.tc-5 { background: linear-gradient(135deg, rgba(0,47,167,.18), rgba(255,255,255,.02)); }

/* 13.10 风格 chip 行 */
.empty-preview-style .style-chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.empty-preview-style .style-chip {
  display: inline-flex; align-items: center;
  padding: 7px 12px;
  font-size: 11px;
  color: var(--text-2);
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  cursor: pointer;
  transition: all 160ms ease;
  font-family: inherit;
}
.empty-preview-style .style-chip:hover {
  background: rgba(61,91,255,.12);
  border-color: rgba(61,91,255,.4);
  color: var(--ikb-bright);
  transform: translateY(-1px);
}

/* 13.11 人物模式 */
.empty-preview-portrait .portrait-row {
  display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start;
}
.empty-preview-portrait .portrait-dot {
  width: 24px; height: 24px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--ikb-bright), #002FA7);
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 0 0 4px rgba(61,91,255,.12);
}
.empty-preview-portrait .portrait-dot.portrait-off { background: rgba(255,255,255,.06); box-shadow: none; }
.empty-preview-portrait .portrait-row strong { display: block; font-size: 13px; color: var(--text); font-weight: 600; margin-bottom: 4px; }
.empty-preview-portrait .portrait-row p { margin: 0; font-size: 11px; color: var(--text-3); line-height: 1.5; }

/* 13.12 tip-list 通用 */
.empty-preview .tip-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.empty-preview .tip-list li {
  display: grid; grid-template-columns: 22px 1fr; gap: 10px;
  padding: 8px 0; border-top: 1px solid rgba(255,255,255,.04);
}
.empty-preview .tip-list li:first-child { border-top: 0; padding-top: 0; }
.empty-preview .tip-list .tip-n { font-family: var(--mono); font-size: 10px; color: var(--ikb-bright); letter-spacing: .06em; margin-top: 2px; }
.empty-preview .tip-list strong { display: block; font-size: 12px; color: var(--text); font-weight: 600; margin-bottom: 2px; letter-spacing: -.01em; }
.empty-preview .tip-list small { display: block; font-size: 11px; color: var(--text-3); line-height: 1.5; }

/* 13.13 爆文检测 · 分数环 */
.empty-preview-score .score-ring-row { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; }
.empty-preview-score .score-ring {
  position: relative; width: 80px; height: 80px;
}
.empty-preview-score .score-ring svg { width: 100%; height: 100%; }
.empty-preview-score .score-ring .score-arc { animation: ringPulse 2s ease-out infinite; }
@keyframes ringPulse {
  0%, 100% { stroke-dashoffset: 213.6; }
  50% { stroke-dashoffset: 150; }
}
.empty-preview-score .score-ring strong {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 600; color: var(--text);
  letter-spacing: -.02em;
}
.empty-preview-score .score-ring span {
  position: absolute; bottom: -2px; left: 0; right: 0;
  text-align: center; font-family: var(--mono); font-size: 9px; color: var(--text-4);
  letter-spacing: .06em;
}
.empty-preview-score .score-summary .status-chip {
  display: inline-block;
  padding: 3px 10px; font-size: 10px;
  font-family: var(--mono); letter-spacing: .06em;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  color: var(--text-3); border-radius: 999px;
}
.empty-preview-score .score-summary p { margin: 8px 0 0; font-size: 12px; color: var(--text-3); line-height: 1.55; }

/* 13.14 维度评分条 */
.empty-preview-dims .dim-skeleton { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.empty-preview-dims .dim-skeleton li {
  display: grid; grid-template-columns: 88px 1fr; gap: 12px; align-items: center;
}
.empty-preview-dims .dk { font-size: 11px; color: var(--text-3); }
.empty-preview-dims .db {
  display: block; height: 4px;
  background: rgba(255,255,255,.06);
  border-radius: 2px;
  overflow: hidden;
}
.empty-preview-dims .db i {
  display: block; height: 100%;
  background: linear-gradient(90deg, rgba(61,91,255,.35), rgba(61,91,255,.1));
  transition: width 600ms ease;
}

/* 13.15 修改建议 */
.empty-preview-suggestions .suggestion-skeleton { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.empty-preview-suggestions .suggestion-skeleton li {
  display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 8px;
  background: rgba(255,255,255,.02);
}
.empty-preview-suggestions .ss-tag {
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  color: var(--ikb-bright);
  letter-spacing: .06em;
  background: rgba(61,91,255,.12);
  border-radius: 4px;
  text-align: center;
  padding: 2px 0;
  margin-top: 1px;
}
.empty-preview-suggestions strong { display: block; font-size: 12px; color: var(--text); font-weight: 600; margin-bottom: 4px; }
.empty-preview-suggestions p { margin: 0; font-size: 11px; color: var(--text-3); line-height: 1.5; }

/* 13.16 start-templates（公众号创作初始 3 方向） */
.start-templates {
  display: flex; flex-direction: column; gap: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
  border-radius: 12px;
  padding: 16px;
}
.start-templates > header { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.start-templates > header span {
  font-family: var(--mono); font-size: 10px; color: var(--ikb-bright); letter-spacing: .06em;
}
.start-templates > header em {
  font-style: normal; font-size: 11px; color: var(--text-4);
}
.start-template-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.start-template {
  display: grid; grid-template-columns: 24px 1fr; gap: 8px; align-items: start;
  text-align: left;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 10px;
  background: rgba(255,255,255,.02);
  color: var(--text-2);
  font-family: inherit;
  cursor: pointer;
  transition: all 200ms ease;
}
.start-template:hover {
  background: rgba(61,91,255,.08);
  border-color: rgba(61,91,255,.4);
  transform: translateY(-1px);
}
.start-template .n {
  font-family: var(--mono); font-size: 10px; color: var(--text-4); letter-spacing: .06em; margin-top: 2px;
}
.start-template strong { display: block; font-size: 12px; font-weight: 600; color: var(--text); letter-spacing: -.01em; margin-bottom: 4px; }
.start-template p { grid-column: 2; margin: 0; font-size: 11px; color: var(--text-3); line-height: 1.5; }
.start-template em {
  grid-column: 2;
  display: inline-block; margin-top: 6px;
  font-style: normal; font-size: 10px;
  color: var(--text-4);
  padding: 2px 8px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
}
.start-templates > footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 10px; margin-top: 4px;
  border-top: 1px solid rgba(255,255,255,.05);
  font-family: var(--mono); font-size: 10px; color: var(--text-4); letter-spacing: .04em;
}
.start-templates > footer a {
  font-family: var(--mono); font-size: 10px; color: var(--ikb-bright);
  text-decoration: none;
}
.start-templates > footer a:hover { text-decoration: underline; }

@media (max-width: 1100px) {
  .start-template-grid { grid-template-columns: 1fr; }
}

/* 13.17 brand 区域可点击 */
.v3-topbar .brand a {
  display: flex; align-items: center; gap: 10px;
  color: inherit; text-decoration: none;
}
.v3-topbar .brand a:hover .name { color: var(--ikb-bright); }

/* 13.18 移动端 empty-grid 折叠 */
@media (max-width: 720px) {
  .empty-grid { grid-template-columns: 1fr; }
  .home-page, .diagnose-page { padding: 12px; }
}

/* ================================================================
   14. r5 (2026-09-02): 结果渲染子卡压回 V3 暗色 + hover 微动效
   ----------------------------------------------------------------
   根因：app.js 运行时渲染走 style.css / taste-chatgpt.css 的浅色默认
   （.suggestion-list article → #fff、.ledger-list > div → #f1f3f6、
    .issue-list li → #fff8e8、.detector-score 轨道 → #e8e8ed 土金条）。
   glass-theme 遗留的 .hit-scores/.hit-suggestions/.hit-ledger 结构
   从未被 app.js 采用（渲染用的是裸 .detector-score / .suggestion-list
   article / .ledger-list > div），故按真实 DOM 强压。
   ================================================================ */

/* 14.1 hit 八维评分行（轨道 #e8e8ed 亮灰 + 土金 #e2bd7c 条 → V3 暗轨 + IKB 蓝条） */
#hit-result .detector-score {
  border-radius: 8px;
  transition: background 180ms cubic-bezier(.22, .61, .36, 1), border-color 180ms cubic-bezier(.22, .61, .36, 1);
}
#hit-result .detector-score > div { background: var(--bg-3) !important; }
#hit-result .detector-score i {
  background: linear-gradient(90deg, var(--ikb), var(--ikb-bright)) !important;
  box-shadow: 0 0 8px var(--ikb-glow);
}
#hit-result .detector-score small { color: var(--text-3) !important; }
/* hover 高亮反馈：整行蓝晕底 + 名称提亮 + 进度条辉光 */
#hit-result .detector-score:hover {
  background: linear-gradient(90deg, rgba(61, 91, 255, .07), transparent 72%);
}
#hit-result .detector-score:hover span { color: var(--ikb-bright); }
#hit-result .detector-score:hover i { box-shadow: 0 0 12px var(--ikb-glow); }

/* 14.2 hit 优先修改建议卡（taste-chatgpt.css .suggestion-list article → #fff） */
#hit-result .suggestion-list article {
  background: var(--bg-2) !important;
  border: 1px solid var(--line) !important;
  box-shadow: none !important;
  border-radius: 8px;
  transition: background 180ms cubic-bezier(.22, .61, .36, 1), border-color 180ms cubic-bezier(.22, .61, .36, 1);
}
#hit-result .suggestion-list article:hover {
  background: var(--bg-3) !important;
  border-color: rgba(61, 91, 255, .35) !important;
}
/* P0/P1/P2 渲染时无 class 无法按级配色：统一红系表达“优先修改”语义 */
#hit-result .suggestion-list article > span { color: var(--bad) !important; }
#hit-result .suggestion-list article strong { color: var(--text) !important; }
#hit-result .suggestion-list article p { color: var(--text-3) !important; }

/* 14.3 hit 事实声明账本（style.css .ledger-list > div → var(--surface-soft) 浅灰） */
#hit-result .ledger-list > div {
  background: var(--bg-2) !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px;
  transition: background 180ms cubic-bezier(.22, .61, .36, 1), border-color 180ms cubic-bezier(.22, .61, .36, 1);
}
#hit-result .ledger-list > div:hover {
  background: var(--bg-3) !important;
  border-color: rgba(61, 91, 255, .35) !important;
}
#hit-result .ledger-list > div > span {
  background: var(--bg-3) !important;
  border: 1px solid var(--line-2) !important;
  color: var(--text-3) !important;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .04em; padding: 3px 8px; border-radius: 4px;
  width: max-content;
}
#hit-result .ledger-list > div p { color: var(--text-2) !important; }

/* 14.4 xhs 发布前检查（style.css .issue-list li → #fff8e8 米黄 / .ok → #ecf9ef 绿） */
#xhs-result .issue-list li {
  background: var(--bg-2) !important;
  border: 1px solid var(--line) !important;
  border-radius: 7px;
  color: var(--text-2) !important;
  transition: background 180ms cubic-bezier(.22, .61, .36, 1), border-color 180ms cubic-bezier(.22, .61, .36, 1);
}
#xhs-result .issue-list li:hover {
  background: var(--bg-3) !important;
  border-color: rgba(255, 176, 32, .35) !important;
}
#xhs-result .issue-list li.ok {
  background: rgba(63, 185, 80, .08) !important;
  border-color: rgba(63, 185, 80, .3) !important;
  color: var(--good) !important;
}
#xhs-result .issue-list li.ok:hover {
  background: rgba(63, 185, 80, .12) !important;
  border-color: rgba(63, 185, 80, .45) !important;
}

/* 14.5 xhs 标题方案卡统一 V3 暗卡 + hover（防非 selected 卡回落 taste #fff） */
#xhs-result .title-option {
  background: var(--bg-2) !important;
  border: 1px solid var(--line) !important;
  box-shadow: none !important;
  border-radius: 8px;
  transition: background 180ms cubic-bezier(.22, .61, .36, 1),
              border-color 180ms cubic-bezier(.22, .61, .36, 1),
              transform 160ms cubic-bezier(.22, .61, .36, 1);
}
#xhs-result .title-option:hover {
  background: var(--bg-3) !important;
  border-color: rgba(61, 91, 255, .5) !important;
  transform: translateY(-1px);
}
#xhs-result .title-option.selected {
  background: var(--ikb-soft) !important;
  border-color: var(--ikb-bright) !important;
}
#xhs-result .title-option > span { color: var(--text-3) !important; }
#xhs-result .title-option strong { color: var(--text) !important; }
#xhs-result .title-option small { color: var(--text-3) !important; }

@media (prefers-reduced-motion: reduce) {
  #xhs-result .title-option,
  #hit-result .detector-score,
  #hit-result .suggestion-list article,
  #hit-result .ledger-list > div,
  #xhs-result .issue-list li { transition: none !important; }
  #xhs-result .title-option:hover { transform: none; }
}

/* 14 页面级白色光晕强压（V3 r6） —— 干掉 taste-chatgpt 的 radial 白雾 */
.workbench-page {
  background: var(--bg) !important;
  background-image: none !important;
}
.workbench-page::before { content: none !important; }
.skill-page::before,
.entry-panel::before,
.report-page::before,
.morning-generator-page::before {
  content: none !important;
  background: none !important;
}

/* 15 workflow-rail 可点导航（V3 r7）—— button reset + done 回看反馈 */
#workbench .workflow-rail .workflow-step {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  font-family: inherit;
  text-align: left;
  cursor: default;
}
#workbench .workflow-rail .workflow-step:focus-visible {
  outline: 1.5px solid var(--ikb-bright);
  outline-offset: -2px;
}
#workbench .workflow-rail .workflow-step.clickable { cursor: pointer; }
#workbench .workflow-rail .workflow-step.clickable:hover {
  background: rgba(61, 91, 255, .08);
}
#workbench .workflow-rail .workflow-step.clickable:hover > span { color: var(--ikb-bright); }
#workbench .workflow-rail .workflow-step.clickable:hover strong { color: var(--text); }
#workbench .workflow-rail .workflow-step[tabindex="-1"] { opacity: .42; }
#workbench .workflow-rail .workflow-step.done { opacity: .78; }

/* 16 底部行动条 flow-actionbar（V3 r7）—— 主推进常驻 */
.conversation-workbench-layout .flow-actionbar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 26px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.flow-status { display: flex; align-items: center; gap: 12px; min-width: 0; }
.flow-dot {
  flex: none;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ikb-bright);
  box-shadow: 0 0 0 3px rgba(61, 91, 255, .16);
}
.flow-status > div { min-width: 0; }
.flow-status strong {
  display: block;
  font-size: 13px; font-weight: 600; color: var(--text);
  letter-spacing: -.01em;
}
.flow-status > div > span {
  display: block; margin-top: 2px;
  font-size: 12px; color: var(--text-4);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: min(560px, 52vw);
}
.flow-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.flow-actions button, .flow-actions a {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 38px; padding: 0 16px;
  border-radius: 8px;
  font-size: 13px; font-weight: 500;
  text-decoration: none; cursor: pointer;
  transition: background .18s cubic-bezier(.22,.61,.36,1), color .18s cubic-bezier(.22,.61,.36,1), border-color .18s cubic-bezier(.22,.61,.36,1);
}
.flow-actions svg { width: 15px; height: 15px; }
.flow-primary {
  border: 0;
  color: #fff;
  background: var(--ikb-bright);
  font-weight: 600;
}
.flow-primary:hover:not(:disabled) { background: var(--ikb-bright-2, #3D5BFF); }
.flow-primary:disabled { opacity: .4; cursor: not-allowed; }
.flow-secondary {
  border: 1px solid var(--line);
  color: var(--text-2);
  background: transparent;
}
.flow-secondary:hover { border-color: rgba(255, 255, 255, .18); color: var(--text); background: var(--bg-3); }
.flow-secondary.publish {
  border-color: rgba(61, 91, 255, .55);
  color: var(--ikb-bright);
  background: rgba(61, 91, 255, .08);
}
.flow-secondary.publish:hover { background: rgba(61, 91, 255, .16); color: #7D93FF; }
.flow-secondary[hidden] { display: none; }
.flow-primary[hidden] { display: none; }

/* 17 审校报告卡 score-report（V3 r7）—— 复用爆文检测视觉语言 */
.score-report { margin: 18px 28px 0; }
.score-report[hidden] { display: none; }
.score-report-card {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 22px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-2);
}
.score-ring {
  --p: 0;
  width: 132px; height: 132px;
  border-radius: 50%;
  background: conic-gradient(var(--ikb-bright) calc(var(--p) * 1%), var(--bg-3) 0);
  display: grid; place-items: center;
  position: relative;
}
.score-ring::before {
  content: "";
  position: absolute; inset: 10px;
  border-radius: 50%;
  background: var(--bg-2);
}
.score-ring > div { position: relative; text-align: center; }
.score-ring strong {
  display: block;
  font-family: var(--mono);
  font-size: 34px; font-weight: 600; color: var(--text);
  line-height: 1.1; letter-spacing: -.02em;
}
.score-ring span {
  display: block; margin-top: 4px;
  font-size: 11px; color: var(--text-4); letter-spacing: .08em;
}
.score-body { min-width: 0; }
.score-body header { margin-bottom: 14px; }
.score-badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: .04em;
}
.score-badge.ok { color: var(--good); background: rgba(63, 185, 80, .12); }
.score-badge.revise { color: #E8A13A; background: rgba(232, 161, 58, .12); }
.score-body h3 {
  margin: 9px 0 6px;
  font-size: 16px; font-weight: 600; color: var(--text);
  letter-spacing: -.01em;
}
.score-body header p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--text-3); }
.score-dims {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 22px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.srow { display: grid; grid-template-columns: 54px 1fr 26px; align-items: center; gap: 10px; }
.srow span { font-size: 12px; color: var(--text-3); }
.srow em { font-family: var(--mono); font-size: 11px; font-style: normal; color: var(--text-4); text-align: right; }
.sbar { height: 4px; border-radius: 2px; background: var(--bg-3); overflow: hidden; }
.sbar i {
  display: block; height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--ikb-bright), #3D5BFF);
}
.score-fixes { margin: 14px 0 0; padding: 0; list-style: none; }
.score-fixes-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.score-fixes-head h4 { margin: 0; font-size: 13px; font-weight: 600; color: var(--text-2); }
.score-fixes li {
  position: relative;
  margin: 0 0 8px; padding: 10px 12px 10px 28px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg-3);
  font-size: 12.5px; line-height: 1.55; color: var(--text-2);
}
.score-fixes li::before {
  content: "";
  position: absolute; left: 12px; top: 14px;
  width: 6px; height: 6px; border-radius: 50%;
  background: #E8A13A;
}

/* 18 flash-ring 回看定位反馈 */
.flash-ring { animation: flashRing 1.4s ease-out; }
@keyframes flashRing {
  0% { box-shadow: 0 0 0 0 rgba(61, 91, 255, .5); }
  100% { box-shadow: 0 0 0 14px rgba(61, 91, 255, 0); }
}

/* 19 响应式收敛 */
@media (max-width: 1100px) {
  .score-report { margin-left: 16px; margin-right: 16px; }
}
@media (max-width: 760px) {
  .conversation-workbench-layout .flow-actionbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 14px;
  }
  .flow-status > div > span { max-width: none; }
  .flow-actions { justify-content: flex-end; flex-wrap: wrap; }
  .score-report-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 16px;
  }
  .score-ring { margin: 0 auto; }
  .score-dims { grid-template-columns: 1fr; }
  .workflow-rail { grid-template-columns: repeat(2, 1fr); }
}

/* 20 V3 r7 工作台配图块压暗（V3 暗色 · 强压 style.css 浅色 wrap + 卡片） */
#workbench .article-canvas .generated-images {
  background: var(--bg-2) !important;
  border-color: var(--line) !important;
}
#workbench .article-canvas .image-section-head h3 { color: var(--text) !important; }
#workbench .article-canvas .image-section-head { color: var(--text-3) !important; }

/* Skill execution evidence: quiet, scannable, and consistent with the workbench. */
#workbench-execution-evidence { margin: 14px 0; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text-2); }
#workbench-execution-evidence summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--text); }
#workbench-execution-evidence .skill-gate-note { margin: 10px 0; color: var(--text-3); font-size: 12px; }
#workbench-execution-evidence .skill-evidence-list { display: grid; gap: 6px; margin: 10px 0 14px; padding: 0; list-style: none; }
#workbench-execution-evidence .skill-evidence-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 7px 9px; border-radius: 7px; background: var(--surface-2); font-size: 12px; }
#workbench-execution-evidence .skill-evidence-list li span { color: var(--good); }
#workbench-execution-evidence .skill-evidence-list li.skill-evidence-blocked span { color: var(--danger); }
#workbench-execution-evidence .skill-evidence-list li small { grid-column: 1 / -1; color: var(--text-4); font-size: 11px; }
#workbench .article-canvas .image-grid a {
  background: var(--bg-3) !important;
  border-color: var(--line) !important;
  color: var(--text-2) !important;
}
#workbench .article-canvas .image-grid a > span {
  display: block !important;
  padding: 10px 14px !important;
  border-top: 1px solid var(--line) !important;
}
#workbench .article-canvas .image-grid strong { color: var(--text) !important; }
#workbench .article-canvas .image-grid small { color: var(--text-3) !important; }
#workbench .article-canvas .image-grid img { background: var(--bg-2) !important; }

/* =========================================================
   21 V3 r8 全站统一收敛（白底清剿 · 数据态防御性强压）
   —— 目标：taste-chatgpt.css 遗留浅色（--taste-soft #f1f3f6 /
   rgba(255,255,255,.52-.94)）在「渲染结果态 / 弹层内部」的漏网点，
   一律压回 V3 暗色 token。按真实渲染 DOM 圈定：
   #xhs-result（置顶评论/低压 CTA 两格）、#tie-result（画幅/图片/
   一致性摘要条）、.api-settings-card（API 配置白面板+白输入+蓝绿
   icon+状态 chip）、.wallet-card .admin-recharge（管理员充值控件）。
   新增任何浅色 DOM 都必须在此追加同款 !important 强压。
   ========================================================= */

/* 21.1 小红书结果：.result-meta-grid > div 两格（taste 锁 --taste-soft 亮灰） */
#xhs-result .result-meta-grid > div {
  background: var(--bg-3) !important;
  background-color: var(--bg-3) !important;
  border-right: 1px solid var(--line) !important;
}

/* 21.2 贴图号结果：.plan-summary 三格摘要条（画幅/图片/人物一致性） */
#tie-result .plan-summary {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0 !important;
  background: var(--bg-2) !important;
  border: 1px solid var(--line) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}
#tie-result .plan-summary > div {
  padding: 12px 16px !important;
  background: transparent !important;
  background-color: transparent !important;
  border-right: 1px solid var(--line) !important;
}
#tie-result .plan-summary > div:last-child { border-right: 0 !important; }
#tie-result .plan-summary span {
  display: block !important;
  font-family: var(--mono);
  font-size: 10px !important;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-3) !important;
}
#tie-result .plan-summary strong {
  display: block !important;
  margin-top: 4px !important;
  font-size: 13px !important;
  font-weight: 500;
  color: var(--text) !important;
}

/* 21.3 API 配置弹层内部：.api-config-group 白面板 → 暗卡 + 白输入 → 暗输入 */
.api-settings-card .api-config-group {
  background: var(--bg-3) !important;
  background-color: var(--bg-3) !important;
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}
.api-settings-card .config-group-head h3 { color: var(--text) !important; }
.api-settings-card .config-group-head p { color: var(--text-3) !important; }
.api-settings-card .api-config-group label { color: var(--text-3) !important; }
.api-settings-card .api-config-group input {
  background: var(--bg-2) !important;
  background-color: var(--bg-2) !important;
  border: 1px solid var(--line-2) !important;
  border-radius: 8px !important;
  color: var(--text) !important;
  color-scheme: dark;
  box-shadow: none !important;
}
.api-settings-card .api-config-group input:focus { border-color: var(--ikb-bright) !important; outline: none; }
.api-settings-card .api-config-group input::placeholder { color: var(--text-4) !important; }
/* config-icon 蓝绿方块 → 统一 IKB 克莱因蓝（V3 唯一强调色） */
.api-settings-card .config-icon { background: var(--ikb) !important; color: #fff !important; }
/* connection-status 状态 chip */
.api-settings-card .connection-status {
  color: var(--text-3) !important;
  background: rgba(255, 255, 255, .04) !important;
  border: 1px solid var(--line) !important;
  border-radius: 999px !important;
  padding: 2px 10px !important;
  font-size: 11px !important;
  font-weight: 500;
}
/* test-provider 测试按钮 → V3 次要按钮 */
.api-settings-card .test-provider {
  background: var(--bg-4) !important;
  color: var(--text-2) !important;
  border: 1px solid var(--line-3) !important;
  border-radius: 8px !important;
}
.api-settings-card .test-provider:hover { border-color: var(--ikb-bright) !important; color: var(--text) !important; }

/* 21.4 管理员充值区控件（taste 玻璃锁白 → 暗） */
.wallet-card .admin-recharge input,
.wallet-card .admin-recharge select {
  background: var(--bg-2) !important;
  background-color: var(--bg-2) !important;
  border: 1px solid var(--line-2) !important;
  border-radius: 8px !important;
  color: var(--text) !important;
  color-scheme: dark;
  box-shadow: none !important;
}
.wallet-card .admin-recharge label { color: var(--text-3) !important; }

/* 21.5 报告/结果遗留类防御组（taste 玻璃白卡兜底——即便旧渲染结构回归也不会变白） */
.report-hero, .report-section, .workbench-result,
.metric-card, .judgment-card, .signal-section,
.benchmark-section, .route-panel, .takeaways-section,
.output-empty {
  background: var(--bg-2) !important;
  background-color: var(--bg-2) !important;
  border-color: var(--line) !important;
  box-shadow: none !important;
  color: var(--text) !important;
}
.report-hero h1, .report-hero h2, .metric-card h3, .judgment-card h3,
.signal-section h3, .benchmark-section h3, .route-panel h3,
.takeaways-section h3 { color: var(--text) !important; }
.report-hero p, .metric-card p, .judgment-card p, .signal-section p,
.benchmark-section p, .route-panel p, .takeaways-section p { color: var(--text-2) !important; }
.output-empty h2 { color: var(--text) !important; }
.output-empty p { color: var(--text-3) !important; }
