:root {
  --radius-control: 16px;
  --radius-card: 28px;
  --radius-module: 28px;
  --surface-shadow: 0 20px 50px rgba(50, 43, 62, .1), 0 4px 12px rgba(50, 43, 62, .035);
  --surface-floating-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 18px 40px rgba(39,28,75,.22);
  --surface-noise-light: none;
  --surface-noise-dark: none;
  --minimal-ink: #202324;
  --minimal-dark: #2d3031;
  --minimal-canvas: #ededed;
  /* 日程首页曾单独把卡片外画布压暗一档（#eceff1）以衬托拍摄安排的深墨卡；2026-09-25
     用户要求「所有页面的背景颜色同步日程的背景颜色色值」，两者由此统一 —— 保留这个名字
     是为了不打断既有引用，取值改为与画布同源，日后调整只改上面那一行。 */
  --minimal-schedule-canvas: var(--minimal-canvas);
  --minimal-paper: #ffffff;
  --minimal-soft: #f1f2f4;
  --minimal-line: rgba(17, 19, 21, .075);
  --minimal-accent: #f4b95f;
  --minimal-accent-rgb: 244, 185, 95;
  --minimal-accent-soft: #f1f2f4;
  --minimal-accent-ink: #202324;
  --minimal-accent-light: #f4b95f;
  /* 2026-09-24 用户要求：周历的选中日与今天改用石墨胶囊，不再用黄色。 */
  --minimal-calendar-selection: var(--minimal-dark);
}

html,
body.theme-liquid,
.theme-liquid .app-shell,
.theme-liquid .tab-bar,
.theme-liquid .week-strip,
.theme-liquid .project-card {
  transition: background-color 320ms var(--motion-curve), color 240ms var(--motion-curve), border-color 240ms var(--motion-curve), box-shadow 320ms var(--motion-curve), opacity 320ms var(--motion-curve);
}

/* 七张周卡由一张完整内容卡承托，仍保持选中日在中央。 */
.theme-liquid .stitch-schedule .week-strip {
  gap: 5.5px;
  margin: 0 0 16px;
  padding: 11px 6px 20px;
  border: 0;
  border-radius: var(--radius-module);
  background: var(--glass-frost-surface);
  box-shadow: var(--glass-frost-shadow);
  -webkit-backdrop-filter: blur(24px) saturate(1.06);
  backdrop-filter: blur(24px) saturate(1.06);
}

/* ⚠️ 这条注释已过时（2026-09-25）：**项目库拍摄卡已按用户要求并入深墨族**
   （用户：「项目库卡片的字要改成白色」），见本文件末尾「深墨卡的哑光对角光影 + 项目库拍摄卡并入深墨族」段。
   下面这一组声明**保留为无 `!important` 的浅色基线**（过渡、回退、单独复用该组件时仍有意义）；
   实际生效的卡面与文字色由末尾那段以 `#appView` + `!important` 决定。 */
.theme-liquid .project-list .project-card {
  border: 0;
  background: var(--glass-frost-surface) !important;
  color: var(--ink) !important;
  box-shadow: var(--glass-frost-shadow) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.06) !important;
  backdrop-filter: blur(24px) saturate(1.06) !important;
}

.theme-liquid .project-list .project-card > strong { color: var(--ink); }
.theme-liquid .project-list .project-card > small { color: var(--muted); }
.theme-liquid .project-list .project-card .shoot-tags span {
  border: 0;
  background: var(--minimal-soft);
  color: var(--accent-purple-ink);
}
.theme-liquid .project-list .project-card .shoot-tags .shoot-tag-order {
  background: var(--accent-purple-luminous) !important;
  color: var(--minimal-ink) !important;
}
.theme-liquid .project-list .project-card .shoot-progress > span { background: var(--minimal-soft); }
.theme-liquid .project-list .project-card .shoot-progress > b,
.theme-liquid .project-list .project-card .card-countdown { color: var(--accent-purple-ink) !important; }
.theme-liquid .project-list .project-card .card-countdown::before { color: var(--faint); }

/* 新建空白脚本卡只保留标题、说明和加号。 */
.theme-liquid .new-script-hero::before {
  display: none !important;
  content: none !important;
}

/* 简约版：灰白画布、白卡、深墨主控和 Logo 黄色状态。 */
html[data-visual-mode="minimal"] { background: var(--minimal-canvas); }

html[data-visual-mode="minimal"] body.theme-liquid {
  --ink: var(--minimal-ink);
  --muted: #646970;
  --faint: #969aa4;
  /* ⛔ 2026-09-25 补：`--minimal-muted` 此前**全项目从未定义**，却被用了 9 次（全在灵感页：
     页头副标题、卡片说明、未选中 tab、输入区继承色、`::placeholder`、`service-state`…）。
     自定义属性未定义 ⇒ 该声明在计算值阶段无效（invalid at computed-value time）⇒ `color` 落回
     **继承**，这些"次级文字"于是全部退成墨色 —— 用户看到的表现是「输入框里的提示字像已经填好的正文」。
     补一行别名（先例：`--minimal-schedule-canvas: var(--minimal-canvas)`）。⚠️ 必须声明在**这一层**
     （body.theme-liquid）而不是 `:root`：自定义属性在自己的声明元素上就完成 var() 替换，写在 :root
     会取 `:root` 的 --muted（#626670），写在 body 才与站内其它 muted 文案同为 #646970。 */
  --minimal-muted: var(--muted);
  --line: var(--minimal-line);
  --soft: var(--minimal-soft);
  --paper: var(--minimal-paper);
  --canvas: var(--minimal-canvas);
  --accent-purple: var(--minimal-accent);
  --accent-purple-rgb: var(--minimal-accent-rgb);
  --accent-purple-soft: var(--minimal-accent-soft);
  --accent-purple-ink: var(--minimal-accent-ink);
  --accent-purple-luminous: var(--minimal-accent-light);
  --accent-purple-strong: var(--minimal-accent);
  --accent-purple-strong-rgb: var(--minimal-accent-rgb);
  --accent-purple-strong-soft: var(--minimal-accent-soft);
  --accent-purple-strong-ink: var(--minimal-accent-ink);
  --accent-purple-strong-luminous: var(--minimal-accent-light);
  --accent-purple-control: var(--minimal-dark);
  --accent-yellow: var(--minimal-accent);
  --accent-yellow-rgb: var(--minimal-accent-rgb);
  --accent-yellow-soft: var(--minimal-accent-soft);
  --amber: var(--minimal-accent);
  --accent-orange: var(--minimal-accent);
  --accent-orange-cream: var(--minimal-accent-light);
  --accent-orange-soft: var(--minimal-accent-soft);
  --accent-orange-deep: var(--minimal-accent-ink);
  --glass-card: #fff;
  --glass-card-strong: #fff;
  --glass-card-soft: #f7f8fa;
  --glass-frost-surface: rgba(255,255,255,.78);
  --glass-dark-surface: #2d3031;
  --glass-frost-shadow: 0 12px 34px rgba(17,19,21,.075);
  --glass-border-purple: rgba(17,19,21,.075);
  --glass-line-purple: rgba(17,19,21,.075);
  --glass-highlight: none;
  --glass-shadow-purple: 0 12px 34px rgba(17,19,21,.075);
  --glass-shadow-soft-purple: 0 7px 18px rgba(17,19,21,.06);
  /* DESIGN.md 记录的是 creator-* 令牌名；不一起重映射，消费它们的页面就会漏紫。 */
  --creator-accent-purple: var(--minimal-accent);
  --creator-accent-purple-rgb: var(--minimal-accent-rgb);
  --creator-accent-purple-soft: var(--minimal-accent-soft);
  --creator-accent-purple-luminous: var(--minimal-accent-light);
  --creator-accent-purple-strong: var(--minimal-accent);
  --creator-accent-purple-strong-rgb: var(--minimal-accent-rgb);
  --creator-accent-purple-strong-luminous: var(--minimal-accent-light);
  background: var(--minimal-canvas);
  color: var(--minimal-ink);
}

/* 毛玻璃按内容表面显式启用；输入与长编辑器保持实色。 */
html[data-visual-mode="minimal"] body.theme-liquid .app-shell {
  background: var(--minimal-canvas);
}

html[data-visual-mode="minimal"] .theme-liquid :is(
  .card,
  .calendar,
  .daily-list,
  .more-row,
  .pipeline-summary,
  .milestone-card,
  .requirements-card,
  .receivable,
  .topic-idea-chat,
  .inspiration-card,
  .service-state,
  .script-library-card,
  .script-body-card,
  .brief-card,
  .account-feature-card,
  .assistant-intro,
  .form-section,
  .workspace-sheet,
  .schedule-add-menu,
  .empty-state,
  .analysis-box,
  .payment-row,
  .menu-card,
  .income-summary,
  .account-hero,
  .topic-search-panel,
  .topic-chat-message.assistant,
  .stitch-schedule .week-strip,
  .project-list .project-card
) {
  border-color: var(--minimal-line) !important;
  background: #fff !important;
  box-shadow: 0 12px 34px rgba(17,19,21,.075) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

html[data-visual-mode="minimal"] .theme-liquid .stitch-schedule .week-day {
  border-color: var(--minimal-line);
  background: #fff;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

html[data-visual-mode="minimal"] .theme-liquid .tab-bar {
  border-color: var(--minimal-line);
  background: rgba(255,255,255,.96);
  box-shadow: 0 14px 38px rgba(17,19,21,.11);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

html[data-visual-mode="minimal"] .theme-liquid .tab-bar::before {
  background: var(--minimal-dark) !important;
  box-shadow: 0 5px 13px rgba(17,19,21,.18);
}

html[data-visual-mode="minimal"] .theme-liquid :is(
  .button.primary,
  .header-add-button,
  .inspiration-search button,
  .send-message-button,
  .assistant-compose button,
  .floating-project-add,
  .milestone-add,
  .segment button.active,
  .chip-button.active,
  .project-filters button.active,
  .script-category-row button.active,
  .type-option input:checked + span,
  .topic-search-toggle.active,
  .calendar-day.selected,
  .week-day.selected,
  .task-check.done,
  .timeline-row.done > i,
  .timeline-row.current > i,
  .form-section-index
) {
  border-color: var(--minimal-dark) !important;
  background: var(--minimal-dark) !important;
  color: #fff !important;
  box-shadow: 0 7px 18px rgba(17,19,21,.16) !important;
}

html[data-visual-mode="minimal"] .theme-liquid :is(
  .button.secondary,
  .icon-button,
  .chip,
  .chip-button,
  .segment,
  .segment button,
  .project-filters button,
  .script-category-row button,
  .prompt-chips button,
  .title-ai-tools button,
  .conversation-delete,
  .project-add-inline,
  .script-editor-nav > .script-back-button,
  .detail-sticky-actions,
  .detail-sticky-actions button,
  .type-options,
  .type-option span,
  .topic-search-toggle,
  .topic-search-panel button,
  .round-add,
  .ledger-period button,
  .ledger-actions button,
  .brief-actions button,
  .inspiration-search button,
  .inspiration-actions button,
  .inspiration-actions a,
  .inspiration-result-head button
) {
  border-color: var(--minimal-line);
  background: #fff;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* 简约模式的「表面前景配对」。workspace-polish.css 里同一段配对规则（注释为
   "Cross-page audit: surface and foreground must be paired."）只写了 fluid 作用域，
   简约版拿到白底却继承了面向深底的白色文字，于是出现白底白字＝控件不可见：
   账单明细的账期切换「9月 ⌄」与主操作「导出本月对账单」，以及创作账单卡里
   未选中的分段按钮「年度」。这里按简约自己的用色重新配对——
   次要操作＝白底深墨字，主操作＝深墨底白字。 */
html[data-visual-mode="minimal"] .theme-liquid :is(
  .title-ai-tools button,
  .ledger-period button,
  .ledger-actions button
) {
  color: var(--ink) !important;
}

/* 单独成条，不要并进上面的 :is()：`:not(.active)` 会把该组的选择器特异性抬到
   (0,5,2)，反过来压过下面「主操作＝深墨底白字」那条，导出按钮就会变成深底黑字。 */
html[data-visual-mode="minimal"] .theme-liquid .segment.dark button:not(.active) {
  color: var(--ink) !important;
}

html[data-visual-mode="minimal"] body.theme-liquid :is(
  .detail-sticky-actions button:last-child,
  .ledger-actions button:last-child
) {
  border-color: var(--minimal-dark) !important;
  background: var(--minimal-dark) !important;
  color: #fff !important;
  box-shadow: 0 7px 18px rgba(17, 19, 21, .16) !important;
}

/* 周条的「周日…周六」需要清晰的次要文字颜色，
   不能落到 styles.css 里原有的 #9ba0aa/10.5px：
   白卡上旧值只有 2.62:1。
   选中日必须一起配对：简约版把 .week-day.selected 归入深墨控件，
   只改非选中态会让选中日的星期字变成深墨压深墨。 */
html[data-visual-mode="minimal"] .theme-liquid .stitch-schedule .week-label {
  color: var(--muted);
  font-size: 11px;
}

html[data-visual-mode="minimal"] .theme-liquid .stitch-schedule .week-day.selected .week-label {
  color: rgba(255, 255, 255, .76);
}

html[data-visual-mode="minimal"] .theme-liquid :is(.segment, .type-options) { background: #eceef0; }

html[data-visual-mode="minimal"] .theme-liquid :is(
  .search-input,
  .project-search,
  .topic-quick-add,
  .topic-search-panel input,
  .inspiration-search input,
  .field input,
  .field textarea,
  .field select,
  .money-input,
  .brief-text,
  .chat-compose,
  .assistant-compose,
  .script-block
) {
  border-color: var(--minimal-line) !important;
  background: var(--minimal-soft) !important;
  color: var(--minimal-ink) !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

html[data-visual-mode="minimal"] .theme-liquid .topics-page .topic-card {
  border-color: var(--minimal-line);
  background: #fff;
  color: var(--minimal-ink);
  box-shadow: 0 12px 34px rgba(17,19,21,.075);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

html[data-visual-mode="minimal"] .theme-liquid .topics-page .topic-card > p,
html[data-visual-mode="minimal"] .theme-liquid .topics-page .topic-card-foot span { color: #6d717b; }
html[data-visual-mode="minimal"] .theme-liquid .topics-page .topic-card-foot b { color: #282b31; }
/* 浅底状态字使用 Logo 黄派生的深色墨值，避免亮黄小字失去对比。 */
html[data-visual-mode="minimal"] .theme-liquid .topics-page .topic-card-foot em { color: var(--accent-purple-ink) !important; }
html[data-visual-mode="minimal"] .theme-liquid .topics-page .topic-card-top span {
  background: #eceef0 !important;
  color: #202329 !important;
}

html[data-visual-mode="minimal"] .theme-liquid :is(
  .shoot-progress > span i,
  .progress-track i,
  .month-bar i,
  .creator-progress > i,
  .project-list .project-card .shoot-progress > span i
) { background: var(--minimal-accent) !important; }

html[data-visual-mode="minimal"] .theme-liquid .project-list .project-card :is(.shoot-progress > b, .card-countdown),
html[data-visual-mode="minimal"] .theme-liquid :is(.ledger-row .ledger-amount, .month-row .month-value, .inspiration-rank b) {
  color: var(--minimal-accent-ink) !important;
}

/* 创作账单的大金额（我的页卡片 + 账单明细 hero）用实金强调色。
   深墨卡 #2d3031 上的对比度 7.6:1；同时修掉了此处的内部矛盾——
   原先 ¥ 符号是金色（styles.css 的 rgba(--accent-yellow-rgb,.78)）而数字是纯白，
   符号抢在数字前面，主次颠倒。次要统计（待收尾款 / 本月合作 / 平均单价）保持白色，
   黄色只落在唯一的主数字上，不铺开。 */
html[data-visual-mode="minimal"] .theme-liquid .income-number,
html[data-visual-mode="minimal"] .theme-liquid .ledger-overview .income-number,
html[data-visual-mode="minimal"] .theme-liquid .ledger-hero .ledger-total-value { color: var(--minimal-accent); }

/* 统一表面系统：12 / 18 / 24 圆角、柔和景深、无硬描边。 */
.theme-liquid button {
  border: 0;
}

.theme-liquid :is(
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),
  textarea,
  select,
  [contenteditable="true"]
) {
  border: 0 !important;
  border-radius: var(--radius-control) !important;
}

.theme-liquid :is(
  .button,
  .chip-button,
  .segment,
  .segment button,
  .stack-toggle,
  .project-filters button,
  .script-category-row button,
  .prompt-chips button,
  .title-ai-tools button,
  .conversation-delete,
  .project-add-inline,
  .detail-sticky-actions button,
  .type-options,
  .type-option span,
  .ledger-period button,
  .ledger-actions button,
  .brief-actions button,
  .inspiration-search button,
  .inspiration-actions button,
  .inspiration-actions a,
  .inspiration-result-head button,
  .workspace-sheet > button,
  .workspace-sheet form button
) {
  border: 0 !important;
  border-radius: var(--radius-control) !important;
}

.theme-liquid :is(
  .card,
  .daily-list,
  .more-row,
  .milestone-card,
  .requirements-card,
  .receivable,
  .topic-idea-chat,
  .inspiration-card,
  .service-state,
  .script-library-card,
  .script-body-card,
  .brief-card,
  .account-feature-card,
  .assistant-intro,
  .form-section,
  .empty-state,
  .analysis-box,
  .payment-row,
  .menu-card,
  .topic-search-panel,
  .topic-chat-message.assistant,
  .topics-page .topic-card,
  .project-list .project-card,
) {
  border: 0 !important;
  border-radius: var(--radius-card) !important;
}

.theme-liquid :is(
  .calendar,
  .pipeline-summary,
  .workspace-sheet,
  .schedule-add-menu,
  .income-summary,
  .account-hero,
  .shoot-card:not(.project-card),
  .project-banner,
  .project-hero,
  .income-spotlight,
  .ledger-hero,
  .voice-orb,
  .new-script-hero,
  .script-title-card,
  .stitch-schedule .week-strip
) {
  border: 0 !important;
  border-radius: var(--radius-module) !important;
}

.theme-liquid :is(.week-day, .calendar-day, .project-next, .timeline-row > div, .requirement) {
  border: 0 !important;
  border-radius: var(--radius-control) !important;
}

.theme-liquid :is(.icon-button, .round-add, .topic-search-toggle, .detail-nav button, .task-check) {
  border-radius: 50% !important;
}

.theme-liquid .tab-bar { border: 0 !important; border-radius: var(--radius-module) !important; }
.theme-liquid .tab { border-radius: var(--radius-card) !important; }

html[data-visual-mode="minimal"] .theme-liquid :is(
  .card,
  .calendar,
  .daily-list,
  .pipeline-summary,
  .milestone-card,
  .requirements-card,
  .receivable,
  .topic-idea-chat,
  .inspiration-card,
  .script-library-card,
  .script-body-card,
  .brief-card,
  .account-feature-card,
  .form-section,
  .stitch-schedule .week-strip,
  .project-list .project-card
) {
  box-shadow: 0 20px 48px rgba(17,19,21,.065), 0 4px 12px rgba(17,19,21,.025) !important;
}

/* 标签更轻，卡片间距更松；正文层级保持不变。 */
.theme-liquid :is(
  .shoot-tags span,
  .topic-card-top span,
  .script-kind,
  .hero-kicker span,
  .inspiration-rank span,
  .card-meta .chip
) {
  padding: 3px 8px !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-size: 9px !important;
  letter-spacing: .01em;
}

.theme-liquid :is(.project-list, .topic-grid, .script-library-list, .inspiration-list) { gap: 14px; }
.theme-liquid :is(.project-card, .topic-card, .script-library-card, .inspiration-card, .account-feature-card, .form-section) { padding: 18px !important; }
.theme-liquid .stitch-schedule .shoot-card { padding: 19px !important; margin-bottom: 14px; }
/* 2026-09-24 用户反馈：日程安排/消息提醒标题行距卡片顶只有 7px，顶到卡片了。 */
.theme-liquid .stitch-schedule .daily-list { padding: 16px 16px 10px; }
.theme-liquid .stitch-schedule .daily-row { border-bottom: 0 !important; }
.theme-liquid .stitch-schedule .daily-row + .daily-row { margin-top: 4px; padding-top: 12px; }
.theme-liquid .stitch-schedule .stitch-section-title { margin-bottom: 12px; }
.theme-liquid .stitch-schedule .stitch-section-title.daily-title { margin-top: 24px; }
/* 恢复上一版分层进度：不同场景保留各自的轨道高度与底色。 */
.theme-liquid .shoot-progress > span {
  height: 4px !important;
  border: 0 !important;
  background: rgba(255,255,255,.26) !important;
  box-shadow: none !important;
}

.theme-liquid .project-list .project-card .shoot-progress > span {
  background: var(--minimal-soft) !important;
}

.theme-liquid .progress-track {
  height: 8px !important;
  border: 0 !important;
  background: rgba(255,255,255,.22) !important;
  box-shadow: none !important;
}

.theme-liquid .month-bar {
  height: 6px !important;
  border: 0 !important;
  background: var(--minimal-soft) !important;
  box-shadow: inset 0 1px 2px rgba(35,40,50,.06) !important;
}

.theme-liquid .creator-progress {
  height: 4px !important;
  border: 0 !important;
  background: var(--minimal-soft) !important;
  box-shadow: none !important;
}

html[data-visual-mode="minimal"] .theme-liquid :is(.project-list .project-card .shoot-progress > span, .month-bar, .creator-progress) {
  background: var(--minimal-soft) !important;
}

@media (prefers-reduced-motion: reduce) {
  html,
  body.theme-liquid,
  .theme-liquid .app-shell,
  .theme-liquid .tab-bar,
  .theme-liquid .week-strip,
  .theme-liquid .project-card {
    transition-duration: 1ms !important;
  }
}

/* 会员 / 账单 / 商单标签：workspace-polish.css 与 base-layout.css 在这些共用选择器上
   写了硬编码紫色（#7257e8 徽章、#c7bdd6 浅紫、#2f2543 深梅、#342e3b 深紫字），
   简约模式必须换回自己的取值——黄色只做精确强调，深墨做锚点。
   这些规则只命中当前简约模式。 */
html[data-visual-mode="minimal"] .theme-liquid :is(.membership-hero p, .membership-entry small, .membership-history strong) {
  color: var(--minimal-ink);
}
html[data-visual-mode="minimal"] .theme-liquid :is(.membership-hero.active p, .membership-entry.active small, .membership-entry.active > b) {
  color: var(--minimal-accent-light);
}
html[data-visual-mode="minimal"] .theme-liquid :is(.membership-plan strong, .membership-entry > b) {
  color: var(--minimal-dark);
}
html[data-visual-mode="minimal"] .theme-liquid .membership-plan span small {
  background: var(--minimal-accent);
  color: var(--minimal-ink);
}
html[data-visual-mode="minimal"] body.theme-liquid .shoot-card .shoot-tags .shoot-tag-order {
  color: var(--minimal-ink) !important;
}

/* 抽屉内的选项在简约模式下必须重新"长出"控件表面：
   未选=白底 + 发丝线（用 inset 阴影描边，避免加 border 造成 2px 几何漂移）；
   选中=中性深墨，而不是流体的紫灰 --quiet-control-surface。
   2026-09-25（用户：「都对齐」）：这是全站唯一偏离的胶囊家族 —— `workspace-polish.css:270` 写死
   `border-radius:12px` / `padding:0 8px`，而 12px 不在圆角表的任何一档里（表内是「紧凑胶囊 22」）。
   现在对齐成与 `.option-chip` / `.type-option` 完全同规格：44 高 / 圆角 22 / 内边距 0 16 / 14px。
   内边距从 8→16 是安全的：`.filter-chips` 是**固定 109px 三列网格**（实测 `grid-template-columns:109px 109px 109px`），
   文字居中，加内边距不改列宽、不改行数。 */
html[data-visual-mode="minimal"] .theme-liquid .inspiration-filter-dialog .filter-chip span {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 22px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--minimal-line);
  color: var(--minimal-ink);
}
html[data-visual-mode="minimal"] .theme-liquid .inspiration-filter-dialog .filter-chip input:checked + span {
  background: var(--minimal-dark);
  background-image: none;
  color: #fff;
  box-shadow: inset 0 0 0 1px var(--minimal-dark);
}
/* 简约模式关闭渐变文字，标题回到实色深墨。 */
html[data-visual-mode="minimal"] .theme-liquid .editor-dialog .dialog-head h2 {
  background-image: none;
  -webkit-text-fill-color: currentColor;
  color: var(--minimal-ink);
}
/* 顶栏/操作栏回到中性白，去掉液体版的淡紫底。 */
html[data-visual-mode="minimal"] .theme-liquid .editor-dialog .dialog-head,
html[data-visual-mode="minimal"] .theme-liquid .editor-dialog .dialog-actions {
  background: rgba(255, 255, 255, .82) !important;
}

/* 简约版新增入口必须在白灰画布上清晰可见。 */
html[data-visual-mode="minimal"] .theme-liquid .stitch-schedule .round-add {
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--minimal-dark) !important;
  color: #fff !important;
  box-shadow: 0 7px 18px rgba(17, 19, 21, .18) !important;
}

/* 全站巡检：新加入的灵感入口没有使用旧版共用按钮类，单独补上简约表面。 */
html[data-visual-mode="minimal"] .theme-liquid .inspiration-entry {
  border: 0;
  border-radius: var(--radius-card);
  background: var(--minimal-paper);
  box-shadow: 0 12px 34px rgba(17, 19, 21, .075);
}
html[data-visual-mode="minimal"] .theme-liquid .inspiration-entry-form {
  background: var(--minimal-soft);
}
html[data-visual-mode="minimal"] .theme-liquid .inspiration-entry-form button {
  min-height: 44px;
  background: var(--minimal-dark);
  color: var(--minimal-paper);
  box-shadow: 0 7px 18px rgba(17, 19, 21, .16);
}
html[data-visual-mode="minimal"] .theme-liquid .inspiration-entry-form button:not(:disabled):hover {
  background: #191c1d;
}

/* 搜索结果、脚本编辑里的说明和操作属于正文，不使用旧版 9px 弱灰。 */
html[data-visual-mode="minimal"] .theme-liquid :is(
  .scoring-note,
  .inspiration-copy > p,
  .metric-row span,
  .script-library-card > div,
  .workspace-sheet > button span,
  .workspace-sheet label,
  .script-editor-nav .save-state,
  .script-title-card > label,
  .title-ai-tools > span,
  .script-body-head > span,
  .anchor-status,
  .brief-card > div:first-child > span,
  .brief-upload span,
  .ai-entry-card em,
  .topic-chat-head > span
) {
  color: var(--muted);
  font-size: 11px;
}
html[data-visual-mode="minimal"] .theme-liquid :is(
  .inspiration-refilter,
  .inspiration-result-head button,
  .inspiration-actions button,
  .video-analysis-resume,
  .title-ai-tools button,
  .brief-actions button,
  .selection-command button
) {
  min-height: 44px;
  font-size: 12px;
}
html[data-visual-mode="minimal"] .theme-liquid .metric-row span { color: var(--muted); }

/* 二级编辑页必须是连续的不透明画布，避免底下的日历/导航透到表单里。 */
html[data-visual-mode="minimal"] body.theme-liquid .editor-dialog {
  background: var(--minimal-canvas) !important;
}
html[data-visual-mode="minimal"] body.theme-liquid .editor-dialog::backdrop {
  background: rgba(17, 19, 21, .38);
}
html[data-visual-mode="minimal"] body.theme-liquid .editor-dialog .dialog-head,
html[data-visual-mode="minimal"] body.theme-liquid .editor-dialog .dialog-actions {
  background: var(--minimal-canvas) !important;
}
html[data-visual-mode="minimal"] body.theme-liquid .editor-dialog.is-sheet .form-section {
  background: var(--minimal-paper) !important;
}
html[data-visual-mode="minimal"] body.theme-liquid :is(button, input, textarea, select):focus-visible,
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-filter-dialog .filter-chip input:focus-visible + span {
  outline: 2px solid var(--minimal-dark);
  outline-offset: 2px;
}

/* 选题长标题不应把「编辑」压成竖排；会员细则是可阅读的购买信息。 */
html[data-visual-mode="minimal"] .theme-liquid .detail-head > div { min-width: 0; }
html[data-visual-mode="minimal"] .theme-liquid .detail-head > .button {
  flex: 0 0 auto;
  min-width: 64px;
  min-height: 44px;
  white-space: nowrap;
}
html[data-visual-mode="minimal"] .theme-liquid :is(.membership-plan em, .membership-rule, .membership-history time) {
  color: var(--muted);
  font-size: 12px;
}

/* 手机编辑页的业务字段必须至少 16px，避免 iOS 聚焦时自动缩放。 */
html[data-visual-mode="minimal"] body.theme-liquid .editor-dialog :is(input:not([type="radio"]):not([type="checkbox"]), textarea, select) {
  font-size: 16px !important;
}

/* 录音状态使用暖黄作明确的状态色；静态语音是次级操作，发送才是深墨主操作。 */
html[data-visual-mode="minimal"] body.theme-liquid .voice-input-button {
  min-width: 44px;
  min-height: 44px;
  background: var(--minimal-soft) !important;
  color: var(--minimal-ink) !important;
  box-shadow: none !important;
}
html[data-visual-mode="minimal"] body.theme-liquid .voice-input-button.listening {
  background: var(--minimal-accent) !important;
  color: var(--minimal-ink) !important;
  box-shadow: 0 0 0 3px var(--minimal-line) !important;
}
html[data-visual-mode="minimal"] body.theme-liquid .assistant-chat-compose :is(.voice-input-button, .send-message-button) {
  min-height: 44px;
}
/* 2026-09-25：视频对话页输入栏里两个 44px 按钮圆角不一致 —— 语音按钮 12px（不在圆角表）、
   发送按钮 0px（直角，而且它**连类名都没有**，所以拿不到 `.assistant-chat-compose .send-message-button`
   那条胶囊圆角）。照该先例统一为 22px（＝44px 控件的一半，文档写明的紧凑胶囊例外）。 */
html[data-visual-mode="minimal"] body.theme-liquid :is(.assistant-chat-compose,.video-chat-compose)>:is(button,.voice-input-button,.send-message-button) {
  border-radius: 22px !important;
}

/* 历史共用层把月历日期重新撑到 82px，覆盖了紧凑月历的 44px 约定。 */
html[data-visual-mode="minimal"] .theme-liquid .stitch-schedule .calendar-day {
  min-height: 44px;
  height: 44px;
}
html[data-visual-mode="minimal"] .theme-liquid .stitch-schedule .month-navigation button {
  width: 44px;
  height: 44px;
}
html[data-visual-mode="minimal"] .theme-liquid .stitch-schedule .calendar-head {
  border-radius: var(--radius-control);
  background: var(--minimal-dark);
  color: var(--minimal-paper);
  box-shadow: none;
}
html[data-visual-mode="minimal"] .theme-liquid .stitch-schedule .calendar-day.other {
  opacity: .56;
}


/* Approved white-frosted visual system; actual app data/markup/events remain authoritative. */
html[data-visual-mode="minimal"] body.theme-liquid {
  --glass-rim: inset 0 1px 0 #fff, inset 0 0 0 1px #ffffffb3;
  --glass-light-shadow: 0 6px 24px #20232407;
  --glass-navigation-shadow: 0 12px 32px #20232414;
  --glass-card: rgba(255,255,255,.78);
  --glass-card-strong: rgba(255,255,255,.78);
  --glass-card-soft: #f1f2f4;
  --glass-dark-surface: rgba(255,255,255,.78);
  --glass-frost-shadow: var(--glass-light-shadow), var(--glass-rim);
  --glass-highlight: var(--glass-rim);
  --glass-shadow-purple: var(--glass-frost-shadow);
  --glass-shadow-soft-purple: var(--glass-light-shadow);
  --quiet-glass-surface: rgba(255,255,255,.78);
  --quiet-glass-surface-strong: #fff;
  --quiet-control-surface: #2d3031;
  --quiet-dark-surface: rgba(255,255,255,.78);
  --quiet-control-shadow: none;
  --quiet-surface-shadow: var(--glass-frost-shadow);
  --quiet-floating-shadow: 0 10px 30px #20232412;
  --motion-curve: cubic-bezier(.22,1,.36,1);
  font-family: -apple-system,BlinkMacSystemFont,"SF Pro Text","PingFang SC","Microsoft YaHei",sans-serif;
}
html[data-visual-mode="minimal"] body.theme-liquid .app-shell { box-shadow:none; }
html[data-visual-mode="minimal"] body.theme-liquid .app-view { padding-inline:20px; }
html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule { margin-inline:-4px; }
html[data-visual-mode="minimal"] body.theme-liquid :is(
 .card,.calendar,.daily-list,.more-row,.pipeline-summary,.milestone-card,.requirements-card,
 .receivable,.topic-idea-chat,.inspiration-card,.inspiration-entry,.service-state,.script-library-card,
 .account-feature-card,.assistant-intro,.empty-state,.analysis-box,.payment-row,.menu-card,
 .income-summary,.account-hero,.shoot-card,.project-banner,.project-hero,.income-spotlight,.ledger-hero,
 .new-script-hero,.topic-card,.membership-hero,.membership-entry,.membership-plan,.membership-history,
 .shoot-empty-panel,.stitch-schedule .week-strip
) {
  border:0!important; border-radius:28px!important;
  background:var(--glass-card)!important; background-image:none!important;
  color:var(--ink)!important;
  box-shadow:var(--glass-light-shadow),var(--glass-rim)!important;
  /* Static cards sit over a uniform canvas. Backdrop sampling adds no detail,
     but promotes every card to a costly scrolling surface on iOS. Keep the
     existing translucent fill/rim; reserve live blur for floating controls. */
  -webkit-backdrop-filter:none!important; backdrop-filter:none!important;
}
html[data-visual-mode="minimal"] body.theme-liquid :is(
 .project-hero h1,.project-hero h2,.project-banner strong,.ledger-hero h1,.ledger-hero h2,
 .income-spotlight strong,.shoot-card>strong,.topic-card>strong,.new-script-hero>span,
 .membership-entry strong,.membership-hero h2,.script-library-card>strong
) { color:var(--ink)!important; -webkit-text-fill-color:currentColor; }
html[data-visual-mode="minimal"] body.theme-liquid :is(
 .project-hero p,.project-hero small,.project-banner small,.shoot-card>small,.ledger-hero p,
 .hero-kicker,.ledger-overview-head p,.ledger-overview-foot,.ledger-overview-foot span,
 .income-spotlight p,.membership-entry em,.membership-hero span,.new-script-hero small,
 .membership-history time,.membership-rule,.receivable span,.metric>span
) { color:var(--muted)!important; opacity:1; }
html[data-visual-mode="minimal"] body.theme-liquid :is(.income-number,.ledger-hero .ledger-total-value,
 .income-number small,.membership-entry small,.membership-entry>b,.membership-hero p,
 .membership-history strong,.project-hero .card-countdown,.shoot-card .card-countdown) { color:var(--accent-purple-ink)!important; }
html[data-visual-mode="minimal"] body.theme-liquid :is(.project-card,.topic-card,.script-library-card,
 .inspiration-card,.account-feature-card) { padding:24px!important; }
html[data-visual-mode="minimal"] body.theme-liquid .project-card { padding:18px!important; }
html[data-visual-mode="minimal"] body.theme-liquid :is(.shoot-card,.daily-list) { font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif; }
html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .shoot-card { padding:19px!important; }
html[data-visual-mode="minimal"] body.theme-liquid .shoot-card .shoot-tags span { background:var(--minimal-soft)!important;color:var(--muted)!important; }
html[data-visual-mode="minimal"] body.theme-liquid .shoot-card .shoot-tags .shoot-tag-order { background:var(--accent-yellow-soft)!important;color:var(--accent-purple-ink)!important; }
html[data-visual-mode="minimal"] body.theme-liquid .shoot-progress>span { background:#e6e7e9!important; }
html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .shoot-progress>span i { background:var(--minimal-accent)!important; }
html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .shoot-progress>b { color:var(--minimal-accent-ink)!important; }
html[data-visual-mode="minimal"] body.theme-liquid .progress-track { background:var(--accent-yellow-soft)!important; }

/* Seven interactive dates, one surface. Keep the existing centering and event colors. */
html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .week-strip { border-radius:26px!important;padding:8px 6px 12px; }
html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .week-day,
html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .week-day.selected {
  height:66px;min-height:66px;border:0!important;background:transparent!important;
  color:var(--muted)!important;box-shadow:none!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
}
html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .week-day strong {
  width:42px;height:28px;border-radius:14px!important;background:transparent!important;
  color:var(--ink)!important;box-shadow:none!important;
}
html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .week-day.selected strong { background:var(--minimal-calendar-selection)!important; color:#fff!important; }
/* The existing 2px column gap plus this margin keeps dots 4px below the date pill. */
html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .week-day .week-event-dots {
  margin-top:2px;flex:none;
}
/* 2026-09-24 三次修订：只有选中日拿石墨胶囊。
   一次是"今天也用黄色胶囊"，二次改成"今天也用石墨胶囊"——结果点别的日期后
   今天仍然黑着，一屏两颗同色胶囊分不清哪个是选中日，于是给今天留了个右上角小点；
   三次用户明确要求把小点也去掉，所以现在**整条周历只有选中日一个标记**。
   小点的原规则（.week-day.today:not(.selected) strong::after）已从 styles.css 整条删除。 */
html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .week-day .week-label { color:var(--muted)!important; }
/* 月历选中日（2026-09-25 用户：「月日历的凸显改成和周日历一样」）。
   与周历（上面 833/837 两条）改成**同一套语言**：格子保持透明，石墨胶囊套在数字外面。
   原实现是「整格压浅灰底 + 深墨数字」，与周历的胶囊是两种形态，现已对齐。
   数字的 42×28 / 14px 圆角 / 石墨底 / 白字**逐值照抄**周历的 .week-day strong，
   两个历法的胶囊因此像素一致（选中日在这个应用里只有一种长相）。
   ⚠️ 尺寸只加在 .selected 上，**不给全部数字定宽**：今天那个右上角小点的定位
   依赖 `.calendar-number` 的 `width:auto`（styles.css:2006 `top:1px;right:-6px`），
   给所有数字定宽会把小点推到格子边缘之外。 */
html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .calendar-day.selected {
  background:transparent!important;color:var(--ink)!important;box-shadow:none!important;
}
html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .calendar-day.selected .calendar-number {
  width:42px;height:28px;display:grid;place-items:center;
  border:0!important;border-radius:14px!important;
  background:var(--minimal-calendar-selection)!important;color:#fff!important;box-shadow:none!important;
}

/* Graphite controls, never graphite content cards. */
html[data-visual-mode="minimal"] body.theme-liquid :is(
 .button.primary,.header-add-button,.round-add,.inspiration-search button,.inspiration-entry-form button,
 .send-message-button,.assistant-compose button,.floating-project-add,.milestone-add,
 .segment button.active,.chip-button.active,.project-filters button.active,.script-category-row button.active,
 .type-option input:checked+span,.topic-search-toggle.active,.task-check.done,
 .detail-sticky-actions button:last-child,.ledger-actions button:last-child,.wechat-login-button
) {
  background:var(--minimal-dark)!important;color:#fff!important;border:0!important;
  box-shadow:none!important;border-radius:23px!important;
}
html[data-visual-mode="minimal"] body.theme-liquid :is(.button,.segment button,.chip-button,
 .project-filters button,.script-category-row button,.inspiration-entry-form button,
 .title-ai-tools button,.brief-actions button,.inspiration-actions button,.inspiration-actions a,
 .workspace-sheet>button,.ledger-actions button,.detail-sticky-actions button) { min-height:44px; }
html[data-visual-mode="minimal"] body.theme-liquid :is(.button.primary,.inspiration-entry-form button) { min-height:46px; }
html[data-visual-mode="minimal"] body.theme-liquid :is(.button.secondary,.segment,.type-options,
 .chip-button:not(.active),.project-filters button:not(.active),.script-category-row button:not(.active),
 .title-ai-tools button,.brief-actions button,.workspace-sheet>button,.prompt-chips button) {
  background:var(--minimal-soft)!important;color:var(--ink)!important;box-shadow:none!important;
}
html[data-visual-mode="minimal"] body.theme-liquid .segment.dark button:not(.active) { color:var(--muted)!important; }
html[data-visual-mode="minimal"] body.theme-liquid :is(.segment,.type-options) { border-radius:25px!important; }
html[data-visual-mode="minimal"] body.theme-liquid :is(.chip-button,.segment button,.project-filters button,.script-category-row button) { border-radius:22px!important; }

/* 底部导航 · 浅色清透玻璃（2026-09-24 23:10 用户定稿）。
   几何一律不动：334×70、36px 圆角、居中浮动、五栏位置与点击区域全部保持原样，
   只替换材质与前景色。

   · 材质＝**低不透明度的浅色底 + 背景模糊**：不加黑色蒙层、不用实心灰底，
     内容从条下滚过时能淡淡透出来。
   · **不透明度 `.40` 是本配方的地板，不要再降**（2026-09-24 23:25 彩条诊断 + 逐档实测）：
     深色内容经过条下时，深墨字对比只剩 **4.73:1**（小字下限 4.5）；降到 `.36/.32/.28` 分别是
     4.10 / 3.61 / 3.09，直接不可读。**模糊才是自由参数**——它只决定内容"糊到什么程度"，
     不改变合成亮度、不影响文字对比，所以"更透"应该降模糊而不是降白度（当前 20px → 14px）。
   · 前景＝**深墨字与图标**（`--ink`）。这是浅色页面上唯一能同时满足"透"与"可读"的组合：
     白字要可读就必须把底压暗（试过，见 DESIGN.md 的被否记录），而压暗就不是浅色玻璃了。
   · 选中项＝**实心白凸起**（2026-09-24 23:37 用户定：「凸显的圆不要透明就白色」）+ 深墨字；
     形状 52px 高 / 28px 圆角、位置与尺寸不变，只把填充从半透明提亮改成纯白。
   · 轮廓＝极细边缘高光（内白）+ 浅底上的轮廓线（外淡暗）+ 柔和外阴影。
   · 已检查过的"阻断层"：`.tab-bar::before` 是 `display:none`（旧的深色滑动指示条）、
     `::after` 是 `content:none`，两者都不渲染；`.app-shell` 的 `rgb(237,237,237)` 在内容
     **下方**，正是玻璃要透的东西，不是阻断层。 */
html[data-visual-mode="minimal"] body.theme-liquid .tab-bar {
  height:70px;min-height:70px;padding:7px;gap:2px;border-radius:36px!important;
  background:rgba(255,255,255,.40)!important;
  -webkit-backdrop-filter:blur(3px) saturate(160%)!important;
  backdrop-filter:blur(3px) saturate(160%)!important;
  box-shadow:
    0 8px 24px rgba(17,19,21,.10),
    inset 0 1px 0 rgba(255,255,255,.72),
    0 0 0 1px rgba(17,19,21,.05)!important;
}
html[data-visual-mode="minimal"] body.theme-liquid .tab-bar::before { display:none; }
html[data-visual-mode="minimal"] body.theme-liquid .tab {
  min-height:52px;border-radius:28px!important;background:transparent;color:var(--ink)!important;
  font-size:11px;transition:background-color 180ms var(--motion-curve),color 180ms var(--motion-curve);
}
/* 选中项：**深墨凸起 + 白字/白图标**（2026-09-24 23:42 用户：「凸显变成黑色看看」）。
   用 `var(--minimal-dark)`（#2d3031，项目里的"黑"）而不是纯 #000 —— 纯黑不属于本项目的深色族。
   **底色换了就必须同时反转字色**：深墨底上留深墨字＝1.0:1 的隐形文字（这条今天已踩过两次）。
   形状、尺寸、位置与点击区域一律不变（62×56、28px 圆角）。 */
html[data-visual-mode="minimal"] body.theme-liquid .tab.active {
  background:var(--minimal-dark)!important;color:#fff!important;
  box-shadow:0 4px 12px rgba(17,19,21,.26),0 1px 2px rgba(17,19,21,.16),inset 0 1px 0 rgba(255,255,255,.14);
}
html[data-visual-mode="minimal"] body.theme-liquid .tab.active .nav-icon { color:#fff!important; }
/* 悬停：只有**未选中**项用轻微提亮；选中项固定实心白，不参与 hover 变色。
   焦点沿用全局那条 `:focus-visible`（`--accent-purple-ink` 深墨色，在浅玻璃与白胶囊上都可见）。 */
@media (hover:hover) {
  html[data-visual-mode="minimal"] body.theme-liquid .tab:not(.active):hover { background:rgba(255,255,255,.34)!important;color:var(--minimal-dark)!important; }
}

/* Real editor fields are opaque and retain every form binding.
   这一条里的 font-size:16px 是**下限**，不是"所有输入统一 16px"：低于 16px 的输入在
   iOS 上聚焦会自动放大页面，所以用 !important 兜底。DESIGN.md 的写法是
   「输入至少16px」+「脚本标题为24px特例」——例外必须用**带 ID 的选择器 + !important**
   才压得过这里（这条 :is() 的 `input:not(...)` 参数把特异性抬到 (0,6,3)，
   普通类选择器赢不了）。当前唯一例外是脚本标题 24px，见本文件下面的
   `.script-document .script-title-card input.script-title` 与 `#appView input.script-title`。 */
html[data-visual-mode="minimal"] body.theme-liquid :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),textarea,select,[contenteditable="true"]) {
  font-size:16px!important;caret-color:var(--accent-purple-ink);border-radius:18px!important;
}
html[data-visual-mode="minimal"] body.theme-liquid :is(input,textarea)::placeholder { color:var(--muted);opacity:1; }
html[data-visual-mode="minimal"] body.theme-liquid :is(.field input,.field textarea,.field select,
 .topic-quick-add,.topic-search-panel,.inspiration-entry-form,.chat-compose,.assistant-compose,.brief-text) {
  background:var(--minimal-soft)!important;color:var(--ink)!important;box-shadow:none!important;
}
html[data-visual-mode="minimal"] body.theme-liquid :is(.script-title-card,.script-body-card,.brief-card,
 .form-section,.editor-dialog,.workspace-sheet,.auth-dialog,#authDialog) {
  background:#fff!important;background-image:none!important;color:var(--ink)!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
}
html[data-visual-mode="minimal"] body.theme-liquid :is(.script-title-card,.script-body-card,.brief-card) { border:0; border-radius:28px!important;box-shadow:var(--glass-light-shadow)!important; }
html[data-visual-mode="minimal"] body.theme-liquid .script-block { background:transparent!important;line-height:1.8; }
html[data-visual-mode="minimal"] body.theme-liquid .form-section { border-radius:16px!important;box-shadow:none!important; }
html[data-visual-mode="minimal"] body.theme-liquid :is(.editor-dialog,.workspace-sheet) { border-radius:34px 34px 0 0!important;box-shadow:0 -8px 40px #11131515; }
html[data-visual-mode="minimal"] body.theme-liquid :is(.editor-dialog .dialog-head,.editor-dialog .dialog-actions) { background:#fff!important; }
html[data-visual-mode="minimal"] body.theme-liquid dialog::backdrop,
html[data-visual-mode="minimal"] body.theme-liquid .workspace-sheet-backdrop { background:#20232438!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important; }
html[data-visual-mode="minimal"] body.theme-liquid .schedule-add-menu { background:var(--glass-card)!important;border-radius:20px!important;box-shadow:0 10px 30px #20232412!important;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px); }
html[data-visual-mode="minimal"] body.theme-liquid #authDialog { border-radius:28px!important; }
html[data-visual-mode="minimal"] body.theme-liquid #authDialog :is(.auth-intro,.wechat-login-help,.auth-footnote,.field>span:first-child) { color:var(--muted); }
html[data-visual-mode="minimal"] body.theme-liquid #authDialog .phone-login-details { background:var(--minimal-soft); }
html[data-visual-mode="minimal"] body.theme-liquid #authDialog .auth-submit { background:var(--minimal-dark);color:#fff; }
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-filter-dialog .filter-chip input:checked+span { background:var(--minimal-dark);color:white; }
html[data-visual-mode="minimal"] body.theme-liquid :is(button,a,input,textarea,select,summary,[contenteditable="true"]):focus-visible,
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-filter-dialog .filter-chip input:focus-visible+span { outline:3px solid var(--accent-purple-ink);outline-offset:3px; }

/* Page hierarchy: real content remains, including both complete research forms. */
html[data-visual-mode="minimal"] body.theme-liquid :is(.topics-head,.scripts-head) h2 { font-size:34px;line-height:1.2;letter-spacing:-.03em; }
html[data-visual-mode="minimal"] body.theme-liquid .topics-page { display:flex;flex-direction:column;gap:16px; }
html[data-visual-mode="minimal"] body.theme-liquid .topics-head { order:-1;margin:8px 0; }
html[data-visual-mode="minimal"] body.theme-liquid .topic-quick-add { margin:0;min-height:56px;border-radius:20px!important; }
html[data-visual-mode="minimal"] body.theme-liquid :is(.project-list,.topic-grid,.script-library-list,.inspiration-list) { gap:16px; }
html[data-visual-mode="minimal"] body.theme-liquid .topics-page .filter-row { margin-inline:0;padding-inline:0; }
html[data-visual-mode="minimal"] body.theme-liquid .topic-card>strong { font-size:24px;line-height:1.4;font-weight:600; }
html[data-visual-mode="minimal"] body.theme-liquid .topic-card>p { font-size:13px;line-height:1.65;color:var(--muted); }
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-entry { padding:24px;margin-bottom:24px; }
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-entry-head h2 { font-size:24px;line-height:1.4;font-weight:600; }
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-entry-head p { font-size:13px;line-height:1.65; }
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-entry-form { border-radius:20px;padding:12px; }
html[data-visual-mode="minimal"] body.theme-liquid .scripts-library { display:flex;flex-direction:column; }
html[data-visual-mode="minimal"] body.theme-liquid .scripts-head { order:-1;margin:8px 0 24px; }
html[data-visual-mode="minimal"] body.theme-liquid .new-script-hero { min-height:92px;padding:20px 24px;margin-bottom:24px; }
html[data-visual-mode="minimal"] body.theme-liquid .new-script-hero::before { display:none!important; }
html[data-visual-mode="minimal"] body.theme-liquid .script-library-card>strong { font-size:21px;line-height:1.4;font-weight:600; }
html[data-visual-mode="minimal"] body.theme-liquid .script-library-card>p { font-size:16px;line-height:1.8; }
html[data-visual-mode="minimal"] body.theme-liquid .script-library-card>div b { color:var(--ink); }
html[data-visual-mode="minimal"] body.theme-liquid .redesigned-mine .profile-orb { width:64px;height:64px;margin-top:12px;border:0;overflow:hidden;background:var(--minimal-soft);box-shadow:none; }
html[data-visual-mode="minimal"] body.theme-liquid .redesigned-mine>h2 { font-size:28px;line-height:1.35;overflow-wrap:anywhere; }
html[data-visual-mode="minimal"] body.theme-liquid .membership-entry { padding:20px;margin-block:24px; }
html[data-visual-mode="minimal"] body.theme-liquid .income-spotlight { padding:24px; }
html[data-visual-mode="minimal"] body.theme-liquid .income-number { font-size:44px;font-variant-numeric:tabular-nums; }
html[data-visual-mode="minimal"] body.theme-liquid .account-feature-icon { background:var(--minimal-soft)!important;color:var(--ink)!important;box-shadow:none; }
html[data-visual-mode="minimal"] body.theme-liquid .account-feature-card :is(small,em) { color:var(--muted)!important; }
html[data-visual-mode="minimal"] body.theme-liquid .account-feature-card strong { color:var(--ink);font-size:18px; }
html[data-visual-mode="minimal"] body.theme-liquid :is(.topic-chat-message.assistant,.message.assistant) { background:#fff!important;color:var(--ink)!important;box-shadow:var(--glass-light-shadow)!important; }
/* 2026-09-26 修 bug（用户：「用户输入的文字显示框左边多一截色块」）：
   这里原先把**整条消息行**染成 `--accent-yellow-soft`。但 `.message.user` / `.topic-chat-message.user`
   都是 `justify-content:flex-end` 的**满宽**行 —— 气泡靠右，左侧空出来的那截一样被染上底色，
   于是在画布上多出一条横贯左边的浅色块（实测行 362 宽 vs 气泡 304 宽 → 左侧 58px 的色块）。
   表面属于**气泡**，不属于行：行必须保持透明。气泡自己的底色在下面那条
   `:is(.assistant-chat-box,.video-chat-messages) .message.user .bubble`（石墨实底白字）与
   styles.css 的 `.topic-chat-message.user > div` 里，不受影响。 */
html[data-visual-mode="minimal"] body.theme-liquid :is(.topic-chat-message.user,.message.user) { background:transparent!important;color:var(--ink)!important; }
html[data-visual-mode="minimal"] body.theme-liquid .danger-text { color:#c0392b!important; }
/* Former dark surfaces need explicit foreground pairs, including nested states. */
html[data-visual-mode="minimal"] body.theme-liquid :is(.script-title-card>label,.script-title-card .title-ai-tools>span,
 .ledger-period>span,.ledger-stats>span,.timeline-row.current p,.timeline-row.current small) { color:var(--muted)!important; }
html[data-visual-mode="minimal"] body.theme-liquid .script-title-card .script-title {
  background:var(--minimal-soft)!important;color:var(--ink)!important;-webkit-text-fill-color:var(--ink);
  border:0!important;
}
html[data-visual-mode="minimal"] body.theme-liquid .script-title-card .script-title::placeholder { color:var(--muted)!important;-webkit-text-fill-color:var(--muted); }
html[data-visual-mode="minimal"] body.theme-liquid :is(.ledger-stats strong,.timeline-row.current>div,.timeline-row.current strong) { color:var(--ink)!important; }
html[data-visual-mode="minimal"] body.theme-liquid .timeline-row.current>div { background:var(--accent-yellow-soft)!important;box-shadow:none!important; }
html[data-visual-mode="minimal"] body.theme-liquid :is(.ledger-total-value small,.progress-copy>strong) { color:var(--accent-purple-ink)!important; }
html[data-visual-mode="minimal"] body.theme-liquid .calendar-day.selected .calendar-number { color:var(--accent-purple-ink)!important; }
html[data-visual-mode="minimal"] body.theme-liquid .assistant-chat-box .message.user .bubble { background:var(--accent-yellow-soft)!important;color:var(--ink)!important;box-shadow:none!important; }
html[data-visual-mode="minimal"] body.theme-liquid ::selection { background:var(--accent-yellow-soft);color:var(--ink); }
html[data-visual-mode="minimal"] body.theme-liquid a { text-underline-offset:4px; }
html[data-visual-mode="minimal"] body.theme-liquid * { scrollbar-color:#bfc3c9 transparent;scrollbar-width:thin; }
html[data-visual-mode="minimal"] body.theme-liquid button:disabled { opacity:.5;cursor:not-allowed; }
html[data-visual-mode="minimal"] body.theme-liquid button:not(:disabled):hover { filter:brightness(.97); }
html[data-visual-mode="minimal"] body.theme-liquid button:not(:disabled):active { opacity:.72; }

/* Full layout migration: open page headings, one content surface per task,
   persistent local actions. Only schedule/reminder card interiors are frozen. */
html[data-visual-mode="minimal"] body.theme-liquid { --faint:#646970; }
html[data-visual-mode="minimal"] body.theme-liquid :is(.workspace-page-title,.topics-head,.scripts-head) { margin:12px 0 28px; }
html[data-visual-mode="minimal"] body.theme-liquid .workspace-page-title h2 { margin:0;font-size:34px;line-height:1.2;letter-spacing:-.03em; }
html[data-visual-mode="minimal"] body.theme-liquid :is(.workspace-page-title p,.topics-head p,.scripts-head p) { margin:10px 0 0;font-size:13px;color:var(--muted);line-height:1.6; }
html[data-visual-mode="minimal"] body.theme-liquid .topics-head>div { display:flex;flex-direction:column-reverse; }
html[data-visual-mode="minimal"] body.theme-liquid .topics-count-line { justify-content:space-between;width:100%; }
html[data-visual-mode="minimal"] body.theme-liquid .topics-head>div { width:100%; }
html[data-visual-mode="minimal"] body.theme-liquid .topics-page { gap:0; }
html[data-visual-mode="minimal"] body.theme-liquid .topic-quick-add { margin-bottom:20px;padding:8px; }
html[data-visual-mode="minimal"] body.theme-liquid .topics-page .filter-row { margin:0 0 20px; }
html[data-visual-mode="minimal"] body.theme-liquid .topic-card-foot { margin-top:20px;padding-top:16px;border-top:1px solid #e7e8eb; }
html[data-visual-mode="minimal"] body.theme-liquid .topic-card-foot :is(span,b) { font-size:12px; }
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-entry { margin-bottom:20px; }
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-entry-form { display:grid;grid-template-columns:minmax(0,1fr);padding:0;gap:16px;margin-top:24px;background:transparent!important; }
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-entry-form input { width:100%;min-height:58px;padding:16px;background:var(--minimal-soft);border-radius:18px; }
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-entry-form button { justify-self:end;min-width:120px;padding-inline:20px; }
html[data-visual-mode="minimal"] body.theme-liquid .new-script-hero { display:grid;grid-template-columns:minmax(0,1fr) 44px;align-content:center;gap:6px 12px;min-height:112px; }
html[data-visual-mode="minimal"] body.theme-liquid .new-script-hero>span { grid-column:1;font-size:18px; }
html[data-visual-mode="minimal"] body.theme-liquid .new-script-hero>small { grid-column:1;margin:0;font-size:12px; }
html[data-visual-mode="minimal"] body.theme-liquid .new-script-hero>b { position:static;grid-column:2;grid-row:1/3;display:grid;place-items:center;width:44px;height:44px;border-radius:22px;background:var(--minimal-dark);color:#fff; }
html[data-visual-mode="minimal"] body.theme-liquid .script-library-card>div { margin-top:24px;padding-top:16px;border-top:1px solid #e7e8eb; }
html[data-visual-mode="minimal"] body.theme-liquid .redesigned-mine { padding-top:12px;text-align:left; }
html[data-visual-mode="minimal"] body.theme-liquid .profile-header { position:relative;display:grid;grid-template-columns:64px minmax(0,1fr) 44px;gap:4px 14px;align-items:center;margin-bottom:28px; }
html[data-visual-mode="minimal"] body.theme-liquid .profile-header .profile-orb { grid-column:1;grid-row:1/4;margin:0; }
html[data-visual-mode="minimal"] body.theme-liquid .profile-header h2 { grid-column:2;grid-row:1;margin:0;font-size:21px;line-height:1.4;overflow-wrap:anywhere; }
html[data-visual-mode="minimal"] body.theme-liquid .profile-header .account-caption { grid-column:2/4;grid-row:2;text-align:left;margin:0;font-size:12px;line-height:1.6; }
html[data-visual-mode="minimal"] body.theme-liquid .profile-header .profile-edit-link { grid-column:2/4;grid-row:3;justify-self:start;margin:0;padding:0;background:transparent;min-height:44px;font-size:13px; }
html[data-visual-mode="minimal"] body.theme-liquid .profile-header .mine-search { position:static;grid-column:3;grid-row:1;width:44px;height:44px;margin:0;border-radius:22px;background:#fff; }
html[data-visual-mode="minimal"] body.theme-liquid .redesigned-mine .membership-entry { margin:0 0 20px; }
html[data-visual-mode="minimal"] body.theme-liquid .ledger-overview { margin:0 0 20px; }
html[data-visual-mode="minimal"] body.theme-liquid .ledger-overview-foot { border-top:1px solid #e7e8eb;padding-top:12px;margin-top:20px; }
html[data-visual-mode="minimal"] body.theme-liquid .ledger-overview-foot button { color:var(--ink)!important;min-height:44px; }
html[data-visual-mode="minimal"] body.theme-liquid .account-feature-card { display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:14px;align-items:center;min-height:100px;margin:0 0 12px;padding:20px!important; }
html[data-visual-mode="minimal"] body.theme-liquid .account-feature-card>span:nth-child(2) { min-width:0; }

/* Secondary pages inherit the preview's open heading and large reading surface. */
html[data-visual-mode="minimal"] body.theme-liquid .detail-nav { display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:20px 12px;align-items:center;margin:4px 0 24px;padding:0;background:transparent; }
html[data-visual-mode="minimal"] body.theme-liquid .detail-nav>button { grid-row:1;width:44px;height:44px;border-radius:22px; }
html[data-visual-mode="minimal"] body.theme-liquid .detail-nav>h2 { grid-column:1/-1;grid-row:2;text-align:left;margin:0;font-size:34px;line-height:1.2;letter-spacing:-.03em; }
html[data-visual-mode="minimal"] body.theme-liquid .detail-nav>span { grid-column:3;grid-row:1; }
html[data-visual-mode="minimal"] body.theme-liquid .detail-overview { padding:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important; }
html[data-visual-mode="minimal"] body.theme-liquid .project-heading { display:flex;flex-direction:column;margin:0 0 24px; }
html[data-visual-mode="minimal"] body.theme-liquid .project-hero.detail-overview::before,
html[data-visual-mode="minimal"] body.theme-liquid .project-hero.detail-overview::after { display:none; }
html[data-visual-mode="minimal"] body.theme-liquid .project-heading h2 { order:0;margin:0 0 12px;font-size:24px;line-height:1.45;font-weight:600; }
html[data-visual-mode="minimal"] body.theme-liquid .project-heading .hero-kicker { order:1;gap:12px;justify-content:flex-start; }
html[data-visual-mode="minimal"] body.theme-liquid .project-heading>p { order:2;margin:8px 0 0;font-size:12px;line-height:1.6; }
html[data-visual-mode="minimal"] body.theme-liquid .project-progress-panel { padding:24px;border-radius:28px;background:var(--glass-card);box-shadow:var(--glass-light-shadow),var(--glass-rim);backdrop-filter:blur(20px); }
html[data-visual-mode="minimal"] body.theme-liquid .progress-copy { margin:0;align-items:center;gap:16px; }
html[data-visual-mode="minimal"] body.theme-liquid .progress-copy strong { font-size:44px;line-height:1.1; }
html[data-visual-mode="minimal"] body.theme-liquid .progress-copy strong small { display:block;font-size:12px;font-weight:500;margin-top:8px; }
html[data-visual-mode="minimal"] body.theme-liquid .progress-track { margin-top:20px;height:5px; }
html[data-visual-mode="minimal"] body.theme-liquid .hero-meta { margin-top:18px;font-size:12px;align-items:center; }
html[data-visual-mode="minimal"] body.theme-liquid :is(.milestone-card,.requirements-card,.receivable) { margin-top:24px;padding:24px; }
html[data-visual-mode="minimal"] body.theme-liquid :is(.milestone-card,.requirements-card,.receivable) h3 { font-size:21px;line-height:1.4;font-weight:650; }
html[data-visual-mode="minimal"] body.theme-liquid .timeline { margin-top:20px; }
html[data-visual-mode="minimal"] body.theme-liquid .timeline-row { grid-template-columns:28px minmax(0,1fr);gap:12px;margin:0;padding:0 0 16px; }
html[data-visual-mode="minimal"] body.theme-liquid .timeline-row>i { width:24px;height:24px;margin-top:14px;font-size:12px;box-shadow:none; }
html[data-visual-mode="minimal"] body.theme-liquid .timeline::before { left:11px;background:#e7e8eb; }
html[data-visual-mode="minimal"] body.theme-liquid .timeline-row>div { padding:12px 0;border-radius:0;background:transparent;box-shadow:none; }
html[data-visual-mode="minimal"] body.theme-liquid .timeline-row.current>div { padding:14px;border-radius:18px; }
html[data-visual-mode="minimal"] body.theme-liquid .timeline-row p { font-size:12px;margin-bottom:8px;line-height:1.5; }
html[data-visual-mode="minimal"] body.theme-liquid .timeline-row.current time { color:var(--accent-purple-ink); }
html[data-visual-mode="minimal"] body.theme-liquid .timeline-row strong { font-size:16px;font-weight:600;line-height:1.5; }
html[data-visual-mode="minimal"] body.theme-liquid .timeline-row small { font-size:12px;line-height:1.7; }
html[data-visual-mode="minimal"] body.theme-liquid .requirements-card .row-between { display:block; }
html[data-visual-mode="minimal"] body.theme-liquid .requirements-card .row-between>span { display:block;margin-top:8px;font-size:12px; }
html[data-visual-mode="minimal"] body.theme-liquid .requirement { padding:0;margin:20px 0;background:transparent; }
html[data-visual-mode="minimal"] body.theme-liquid .requirement p { font-size:14px;line-height:1.8; }
html[data-visual-mode="minimal"] body.theme-liquid .payment-section-title { padding-top:24px;border-top:1px solid #e7e8eb; }
html[data-visual-mode="minimal"] body.theme-liquid .payment-row { padding:16px 0;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important; }
html[data-visual-mode="minimal"] body.theme-liquid .detail-sticky-actions { bottom:12px;grid-template-columns:44px 1fr 1.5fr;gap:8px;padding:8px;margin-top:28px;border-radius:32px; }
html[data-visual-mode="minimal"] body.theme-liquid .detail-sticky-actions button { font-size:12px; }
html[data-visual-mode="minimal"] body.theme-liquid .pipeline-summary { padding:24px;align-items:center;margin-bottom:24px; }
html[data-visual-mode="minimal"] body.theme-liquid .pipeline-summary p { display:none; }
html[data-visual-mode="minimal"] body.theme-liquid .pipeline-summary strong { font-size:44px; }
html[data-visual-mode="minimal"] body.theme-liquid .project-filter-bar { display:flex;flex-wrap:wrap;gap:12px;margin:20px 0; }
html[data-visual-mode="minimal"] body.theme-liquid .project-filters { display:flex;gap:4px;flex:1; }
html[data-visual-mode="minimal"] body.theme-liquid .project-filters button { padding-inline:10px;font-size:12px; }
html[data-visual-mode="minimal"] body.theme-liquid .ledger-hero { display:grid;grid-template-columns:1fr auto;gap:0 12px;padding:24px; }
html[data-visual-mode="minimal"] body.theme-liquid .ledger-period { grid-column:1/-1;align-items:flex-start;gap:24px; }
html[data-visual-mode="minimal"] body.theme-liquid .ledger-period>span { max-width:160px;font-size:12px;line-height:1.6; }
html[data-visual-mode="minimal"] body.theme-liquid .ledger-hero .ledger-total-value { grid-column:1/-1;font-size:48px;margin:24px 0 8px; }
html[data-visual-mode="minimal"] body.theme-liquid .ledger-hero>p { grid-column:1/-1;font-size:12px; }
html[data-visual-mode="minimal"] body.theme-liquid .ledger-stats { grid-column:1/-1;margin-top:24px;padding-top:24px;border-top:1px solid #e7e8eb;gap:16px; }
html[data-visual-mode="minimal"] body.theme-liquid .ledger-stats strong { font-size:16px; }
html[data-visual-mode="minimal"] body.theme-liquid .ledger-row { display:flex;justify-content:space-between;gap:16px;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:20px 0;border-bottom:1px solid #e7e8eb!important; }
html[data-visual-mode="minimal"] body.theme-liquid .ledger-row:last-child { border-bottom:0!important; }
html[data-visual-mode="minimal"] body.theme-liquid .ledger-title { font-size:14px;line-height:1.6; }
html[data-visual-mode="minimal"] body.theme-liquid .ledger-meta { font-size:12px;line-height:1.6;margin-top:8px; }
html[data-visual-mode="minimal"] body.theme-liquid .ledger-amount { flex-shrink:0;font-size:16px; }
html[data-visual-mode="minimal"] body.theme-liquid .ledger-actions { grid-template-columns:1fr;gap:8px; }
html[data-visual-mode="minimal"] body.theme-liquid .ledger-actions button:last-child { order:-1; }

/* One continuous writing document instead of stacked title/body cards. */
html[data-visual-mode="minimal"] body.theme-liquid .script-editor-nav { position:sticky;top:0;z-index:8;display:grid;grid-template-columns:1fr auto;gap:4px 12px;padding:8px 0 16px;margin-bottom:12px;background:var(--canvas); }
html[data-visual-mode="minimal"] body.theme-liquid .script-editor-nav>.script-back-button { grid-row:1;grid-column:1;text-align:left;justify-self:start; }
html[data-visual-mode="minimal"] body.theme-liquid .script-editor-nav>.save-state { grid-column:1;grid-row:2;text-align:left;padding-left:12px;color:var(--muted);font-size:12px; }
html[data-visual-mode="minimal"] body.theme-liquid .script-editor-nav>div { grid-column:2;grid-row:1/3;display:flex;align-items:center;gap:8px; }
html[data-visual-mode="minimal"] body.theme-liquid .script-editor-nav>div button { min-height:44px;padding:0 12px;border-radius:22px;background:#fff;font-size:13px; }
html[data-visual-mode="minimal"] body.theme-liquid .script-document { padding:24px;border-radius:28px;background:#fff;box-shadow:var(--glass-light-shadow); }
html[data-visual-mode="minimal"] body.theme-liquid .script-document :is(.script-title-card,.script-body-card) { padding:0;margin:0;border-radius:0!important;box-shadow:none!important;min-height:0; }
html[data-visual-mode="minimal"] body.theme-liquid .script-document .script-title-card { padding-bottom:16px;margin-bottom:0;border-bottom:1px solid #e7e8eb; }
html[data-visual-mode="minimal"] body.theme-liquid .script-title-card>label { gap:12px;font-size:12px; }
html[data-visual-mode="minimal"] body.theme-liquid .script-document .script-title-card input.script-title { padding:0!important;min-height:44px!important;font-size:24px!important;font-weight:600;border-radius:0!important;background:transparent!important; }
html[data-visual-mode="minimal"] body.theme-liquid .script-body-head h3 { font-size:18px;font-weight:600; }
html[data-visual-mode="minimal"] body.theme-liquid .script-ai-help { margin:16px 0 24px;padding:12px 16px;border-radius:16px;background:var(--minimal-soft);font-size:12px;line-height:1.7; }
html[data-visual-mode="minimal"] body.theme-liquid .script-writing-surface { min-height:320px;padding:0; }
html[data-visual-mode="minimal"] body.theme-liquid .script-block { padding:0;min-height:36px; }
html[data-visual-mode="minimal"] body.theme-liquid .brief-card { margin-top:24px;padding:24px; }
html[data-visual-mode="minimal"] body.theme-liquid .brief-card>div>h3 { margin:0 0 10px;font-size:21px; }
html[data-visual-mode="minimal"] body.theme-liquid .brief-card .eyebrow { display:none; }
html[data-visual-mode="minimal"] body.theme-liquid .brief-upload { margin-top:20px;padding:20px;border-radius:18px;background:var(--minimal-soft); }
html[data-visual-mode="minimal"] body.theme-liquid .brief-actions { display:grid;grid-template-columns:1fr;gap:8px; }
html[data-visual-mode="minimal"] body.theme-liquid .inline-ai-suggestion { margin:20px -8px;padding:20px;border:0;border-radius:18px;background:var(--accent-yellow-soft); }

/* Detail conversations: idea first, working area second, next step anchored below. */
html[data-visual-mode="minimal"] body.theme-liquid .topic-detail-page>.back-button { margin:4px 0 24px;min-height:44px; }
html[data-visual-mode="minimal"] body.theme-liquid .topic-detail-page .detail-head { display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:start;margin-bottom:24px; }
html[data-visual-mode="minimal"] body.theme-liquid .topic-detail-page .detail-title { font-size:28px;line-height:1.4;margin:8px 0 12px; }
html[data-visual-mode="minimal"] body.theme-liquid .topic-detail-page .detail-head>.button { min-width:56px;padding:0 12px;margin-top:28px; }
html[data-visual-mode="minimal"] body.theme-liquid .topic-detail-page .topic-analysis-compact { padding:24px;margin-bottom:24px; }
html[data-visual-mode="minimal"] body.theme-liquid .topic-detail-page .analysis-box h3 { font-size:18px; }
html[data-visual-mode="minimal"] body.theme-liquid .topic-idea-chat { padding:24px;margin:0; }
html[data-visual-mode="minimal"] body.theme-liquid .topic-chat-head { align-items:flex-start;gap:12px; }
html[data-visual-mode="minimal"] body.theme-liquid .topic-chat-head>span { max-width:70px;line-height:1.6; }
html[data-visual-mode="minimal"] body.theme-liquid .topic-chat-messages { min-height:240px;margin-top:20px; }
html[data-visual-mode="minimal"] body.theme-liquid .topic-idea-chat-form { gap:8px;padding:8px;border-radius:22px;background:var(--minimal-soft); }
html[data-visual-mode="minimal"] body.theme-liquid .topic-idea-chat-form textarea { min-width:0;background:transparent; }
html[data-visual-mode="minimal"] body.theme-liquid .topic-secondary-actions { display:flex;justify-content:space-between;gap:12px;margin:16px 0; }
html[data-visual-mode="minimal"] body.theme-liquid .topic-next-action { position:sticky;bottom:12px;z-index:5;padding:8px;margin:24px 0 0;border-radius:32px;background:var(--glass-card);backdrop-filter:blur(20px);box-shadow:var(--glass-navigation-shadow); }
/* 2026-09-26：对话页改成「消息区自己滚 + 输入区钉在底部」。
   原实现是整页滚动 + 输入区 `position:sticky;bottom:12px` —— 但 sticky 只在**滚动容器内**才有意义，
   而这页的滚动发生在 documentElement（整页），sticky 的相对对象成了页面底部，于是输入区随内容一起
   被顶走（实测滑动前 top 797 → 滑动后 683），并且正好压在底部导航栏上（输入区 797 / 导航栏 789）。
   现在：页面吃满可用高度、消息区 flex:1 自己滚、输入区留在底部。
   高度**不写死**：外壳在这个路由下已是 flex 列（见 styles.css 的 `body[data-route=…] .app-shell`），
   页面用 `flex:1; min-height:0` 吃掉 header 之外的剩余高度 —— 两页的 header 高度不同（助手页有全局
   顶栏、视频页没有），写死 `calc(100dvh - Npx)` 必然顾此失彼。底部留白交给 `.app-view` 的
   `padding-bottom: max(15px, env(safe-area-inset-bottom))`。
   ⚠️ 页面必须能收缩：`min-height:0` 不能省，否则 flex 子项不会让位给消息区的滚动。 */
html[data-visual-mode="minimal"] body.theme-liquid :is(.assistant-chat-page,.video-chat-page) { display:flex;flex-direction:column;gap:16px;flex:1;min-height:0;padding:0; }
html[data-visual-mode="minimal"] body.theme-liquid :is(.assistant-chat-box,.video-chat-messages) { flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:20px 0;margin:0;background:transparent;border:0;box-shadow:none; }
/* 2026-09-25：状态行原先**一行三字号** —— span/a 继承 16px，而 `<small>` 没设字号、落到浏览器默认
   （13.3333px = 0.8333em × 16px）。现按项目的元信息字级统一为 13px，次级用 12px。 */
/* ⛔ 2026-09-25 修 bug：这条规则写了 `flex-wrap:wrap;gap:8px 12px`，却**没有 display:flex** ——
   视频对话页的状态行因此实际是 `display:block`，gap 完全失效，三个子项首尾相接（实测 x=40/105/147、
   间距 0px），「可继续追问hd 视频查看原作」糊成一整行。助手页靠 styles.css 的 `.assistant-chat-status`
   自带 flex 才没暴露。这里显式声明 display，让那组 gap 真正生效。 */
html[data-visual-mode="minimal"] body.theme-liquid :is(.assistant-chat-status,.video-chat-statusrow) { display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;padding:16px 20px;border-radius:20px;background:#fff;font-size:13px; }
html[data-visual-mode="minimal"] body.theme-liquid :is(.assistant-chat-status,.video-chat-statusrow) small { font-size:12px; }
/* 2026-09-25：同一行里的「查看原作 ↗」是 `<a>`，而项目**没有全局链接颜色**（只设了 underline-offset），
   于是它落到浏览器默认 —— 实测 rgb(0,0,238) 蓝色下划线，与全站中性色调色板不符（浏览器表面泄漏）。
   这里按调色板给链接上色，同时保留下划线作为可点击的识别（只改颜色与字重，不删可供性）。
   ⚠️ 更彻底的做法是给全站 `<a>` 一个颜色令牌；本次先只修这一处泄漏点，避免影响既有
   `.video-analysis-result-head a` 等已上色的链接。 */
html[data-visual-mode="minimal"] body.theme-liquid :is(.assistant-chat-status,.video-chat-statusrow) a {
  color:var(--ink)!important;text-decoration-color:rgba(32,35,36,.34);font-weight:600;
}
html[data-visual-mode="minimal"] body.theme-liquid :is(.assistant-chat-compose,.video-chat-compose) { position:static;flex:none;z-index:5;width:100%;margin:0;padding:8px;border-radius:28px!important;background:var(--minimal-soft)!important;box-shadow:var(--glass-navigation-shadow); }
/* 2026-09-26：气泡原本是「开口朝向头像」的造型 —— AI 左上 6px、用户右上 6px、AI 左下 5px
   （styles.css 的 `.message.assistant .bubble` 与 `.assistant-chat-box .message.* .bubble`），
   再叠上 `max-width: min(250px, 78%)`，实测 AI 回复渲染成 **250 宽 × 566 高** 的窄长条，
   读起来是文档卡框而不是圆角卡片（用户原话：「聊天界面现在是直角卡框，不是圆角卡片」）。
   现统一为四角 **18px**（圆角表的 input 档），AI 气泡放宽到**为头像留出的** `calc(100% - 38px)`
   —— 这条其实早就写在 `.assistant-chat-box .message.assistant .bubble` 里，只是被后面同特异性的
   `min(250px, 78%)` 压掉了，现在按本意执行。用户气泡本来就不带头像，按基础档 84%。
   （改的虽是 `.assistant-chat-box` 这一族，但视频对话页复用的就是它，所以两页同时生效 —— 它们
   本来共用一套气泡，分开改反而会让两页不一致。） */
html[data-visual-mode="minimal"] body.theme-liquid :is(.assistant-chat-box,.video-chat-messages) .message .bubble {
  border-radius:18px!important;
}
html[data-visual-mode="minimal"] body.theme-liquid :is(.assistant-chat-box,.video-chat-messages) .message.assistant .bubble {
  max-width:calc(100% - 38px);
}
/* 普通 AI 助手的长回复右侧留白：只收卡片宽度，不移动头像或卡片左边缘。 */
html[data-visual-mode="minimal"] body.theme-liquid .assistant-chat-box .message.assistant .bubble {
  max-width:min(312px, calc(100% - 38px));
}
/* 2026-09-26：用户气泡原来是 `--accent-yellow-soft`（在 minimal 下映射成 #f1f2f4），
   而画布是 #ededed —— **对比度只有 1.045:1**，加上它那条规则同时把 `box-shadow` 关掉了，
   等于「自己发的话几乎看不见」。AI 气泡虽然也只有 1.171:1，但有 0.07 的阴影兜住了边界。
   现改为**石墨实底 + 白字**（13.3:1），与全站「石墨控件 / 选中态」同一套语言，也回到
   styles.css 里 `.message.user .bubble { background: var(--ink) }` 的原始设计意图。
   padding 由 11/13 收到 14/16，与 AI 气泡（ai-rich 的 16）同一档呼吸感。 */
html[data-visual-mode="minimal"] body.theme-liquid :is(.assistant-chat-box,.video-chat-messages) .message.user .bubble {
  background:var(--minimal-dark)!important;
  color:#fff!important;
  box-shadow:none;
  padding:14px 16px;
  max-width:84%;
}
html[data-visual-mode="minimal"] body.theme-liquid :is(.assistant-chat-box,.video-chat-messages) .message.user .bubble strong { color:#fff; }
html[data-visual-mode="minimal"] body.theme-liquid :is(.assistant-chat-compose,.video-chat-compose) textarea { background:transparent;min-height:44px;padding:12px; }
html[data-visual-mode="minimal"] body.theme-liquid .video-chat-source { padding:16px 20px;margin:0;border-radius:20px;background:#fff;font-size:13px;line-height:1.8; }
html[data-visual-mode="minimal"] body.theme-liquid .video-chat-nav { margin-bottom:8px; }
html[data-visual-mode="minimal"] body.theme-liquid .membership-hero { padding:24px;margin-bottom:24px; }
html[data-visual-mode="minimal"] body.theme-liquid .membership-hero h2 { font-size:34px;line-height:1.2;margin:16px 0; }
html[data-visual-mode="minimal"] body.theme-liquid .membership-plan { padding:24px;min-height:112px;margin-bottom:12px; }
html[data-visual-mode="minimal"] body.theme-liquid .membership-history { margin-top:24px;padding:24px; }

/* All forms use a left-aligned sheet header, uninterrupted fields and a reachable footer. */
html[data-visual-mode="minimal"] body.theme-liquid .editor-dialog {
  inset:auto 0 0;width:min(402px,100vw);max-width:100vw;height:auto;min-height:0;max-height:calc(100dvh - 24px);
  margin:0 auto;padding:0;overflow:hidden;border:0!important;
}
html[data-visual-mode="minimal"] body.theme-liquid .editor-dialog[open] { display:flex;flex-direction:column; }
html[data-visual-mode="minimal"] body.theme-liquid .editor-dialog>form { display:flex;flex-direction:column;min-height:0;max-height:calc(100dvh - 24px);width:100%;margin:0;padding:0; }
html[data-visual-mode="minimal"] body.theme-liquid .editor-dialog .dialog-head { flex:0 0 auto;position:relative;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:16px;padding:24px 24px 20px;margin:0;min-height:88px; }
html[data-visual-mode="minimal"] body.theme-liquid .editor-dialog .dialog-head>div { order:0;min-width:0; }
html[data-visual-mode="minimal"] body.theme-liquid .editor-dialog .dialog-head h2 { text-align:left;font-size:24px;line-height:1.4;margin:0; }
html[data-visual-mode="minimal"] body.theme-liquid .editor-dialog .dialog-head>.icon-button { position:static;order:1;flex-shrink:0;width:44px;height:44px;min-width:44px;padding:0;border-radius:22px;background:var(--minimal-soft); }
html[data-visual-mode="minimal"] body.theme-liquid .editor-dialog .dialog-fields { flex:1;min-height:0;overflow-y:auto;padding:0 24px 24px;display:grid;gap:24px; }
html[data-visual-mode="minimal"] body.theme-liquid .editor-dialog .form-section { padding:0!important;margin:0;border-radius:0!important;box-shadow:none!important;background:transparent!important; }
html[data-visual-mode="minimal"] body.theme-liquid .editor-dialog .form-section+.form-section { padding-top:24px!important;border-top:1px solid #e7e8eb; }
html[data-visual-mode="minimal"] body.theme-liquid .form-group-title { margin:0 0 20px;font-size:18px;font-weight:600; }
html[data-visual-mode="minimal"] body.theme-liquid .editor-dialog .field { gap:8px;margin-bottom:20px; }
html[data-visual-mode="minimal"] body.theme-liquid .editor-dialog .field:last-child { margin-bottom:0; }
html[data-visual-mode="minimal"] body.theme-liquid .editor-dialog .field label { font-size:13px;line-height:1.6; }
html[data-visual-mode="minimal"] body.theme-liquid .editor-dialog :is(input:not([type="radio"]):not([type="checkbox"]),textarea,select) { min-height:50px;padding:12px 16px; }
html[data-visual-mode="minimal"] body.theme-liquid .editor-dialog textarea { min-height:128px;line-height:1.7; }
html[data-visual-mode="minimal"] body.theme-liquid .editor-dialog .dialog-actions { flex:0 0 auto;position:static;display:grid;grid-template-columns:1fr 1.5fr;gap:12px;margin:0;padding:16px 24px max(24px,env(safe-area-inset-bottom));border-top:1px solid #e7e8eb; }
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-filter-dialog .dialog-actions { grid-template-columns:1fr; }
html[data-visual-mode="minimal"] body.theme-liquid .editor-dialog .dialog-actions button { min-height:48px;margin:0; }
html[data-visual-mode="minimal"] body.theme-liquid .editor-dialog .field-grid { gap:16px;align-items:start; }
html[data-visual-mode="minimal"] body.theme-liquid .editor-dialog .field-grid>.field { margin:0; }
html[data-visual-mode="minimal"] body.theme-liquid .editor-dialog select { height:50px; }
html[data-visual-mode="minimal"] body.theme-liquid .milestone-entry { display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:8px;background:var(--minimal-soft);padding:8px;border-radius:18px;margin-bottom:12px; }
/* 原 .milestone-add / .milestone-builder 两条规则已随「＋ 添加日期」按钮一起删除
   （2026-09-24 用户要求改成执行节点胶囊）。上面两处 :is() 长列表里仍保留 .milestone-add
   这个名字，属惰性残留（已无元素带该类），在压缩长行里做手术的风险大于收益，故不动。 */
html[data-visual-mode="minimal"] body.theme-liquid .workspace-sheet { padding:24px 24px max(32px,env(safe-area-inset-bottom)); }
html[data-visual-mode="minimal"] body.theme-liquid .workspace-sheet h2 { font-size:24px;margin:0 0 24px; }
html[data-visual-mode="minimal"] body.theme-liquid .workspace-sheet>button { display:flex;justify-content:space-between;align-items:center;gap:16px;text-align:left;width:100%;padding:16px;min-height:72px;border-radius:18px;margin:12px 0; }
html[data-visual-mode="minimal"] body.theme-liquid .auth-dialog { padding:28px 24px;max-height:calc(100dvh - 32px);overflow-y:auto;border-radius:28px;background:white; }
html[data-visual-mode="minimal"] body.theme-liquid .auth-dialog .auth-head { display:flex;align-items:flex-start;gap:16px;padding:0;margin:0 0 24px; }
html[data-visual-mode="minimal"] body.theme-liquid #authDialog .auth-head { display:grid;grid-template-columns:64px 1fr 44px;gap:16px;margin-bottom:24px;align-items:center; }
html[data-visual-mode="minimal"] body.theme-liquid #authDialog .auth-heading-copy { grid-column:1/4;grid-row:2; }
html[data-visual-mode="minimal"] body.theme-liquid #authDialog .auth-head .auth-brand-logo { grid-row:1;grid-column:1;width:60px;height:60px;border-radius:18px; }
html[data-visual-mode="minimal"] body.theme-liquid .auth-dialog .auth-head>.icon-button { position:static;margin-left:auto;flex-shrink:0;width:44px;height:44px;border-radius:22px;background:var(--minimal-soft); }
html[data-visual-mode="minimal"] body.theme-liquid #authDialog .auth-head>.icon-button { grid-row:1;grid-column:3; }
html[data-visual-mode="minimal"] body.theme-liquid .auth-dialog .auth-head h2 { font-size:28px;line-height:1.35;text-align:left; }
html[data-visual-mode="minimal"] body.theme-liquid .phone-login-details { padding:0 16px 16px;margin-top:24px;border-radius:20px; }
html[data-visual-mode="minimal"] body.theme-liquid .phone-login-details:not([open]) { padding-bottom:0; }
html[data-visual-mode="minimal"] body.theme-liquid .phone-login-details summary { padding:16px 0;min-height:56px; }
/* Layout acceptance fixes: clear legacy fixed positioning and nested surfaces.
   ⚠️ 2026-09-26：原本这里写的是 `position:sticky!important;bottom:12px!important`，前提是"整页滚动"。
   但 sticky 只在**滚动容器内**才有意义，而这页的滚动一直发生在 documentElement，于是输入区既不吸底
   又会随内容被顶走（实测滑动 797 → 683），还正好压在底部导航上。现在页面改成 flex 全高、消息区自己滚，
   输入区在流里就落在底部 —— 所以这里改成 static，把"吸附"这件事交给布局而不是 sticky。 */
html[data-visual-mode="minimal"] body.theme-liquid #appView :is(.assistant-chat-page,.video-chat-page) .chat-compose {
  position:static!important;inset:auto!important;bottom:auto!important;transform:none!important;translate:none!important;
  flex:none!important;
  width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;
  display:flex;align-items:flex-end;gap:8px;box-sizing:border-box;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .chat-compose textarea { flex:1;min-width:0!important;width:0; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .chat-compose button { flex:0 0 auto;min-height:44px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView input.script-title { font-size:24px!important;line-height:1.4!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .project-hero.detail-overview { background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;padding:0!important; }
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-card { display:block;padding:24px;margin:0; } /* 2026-09-25 第三批：原为 margin:0 0 20px，与 .inspiration-list 的 gap:16px 叠加成 36px 双倍间距；卡间距统一由列表 gap 承担（16px，与选题/脚本列表一致） */
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-rank { display:flex;align-items:baseline;gap:8px;width:auto;margin:0 0 16px;color:var(--minimal-muted); }
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-rank b { font-size:24px;font-weight:500; }
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-rank span { font-size:12px; }
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-copy { display:flex;flex-direction:column;min-width:0;gap:12px; }
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-copy h3 { font-size:21px;line-height:1.5;margin:0;overflow-wrap:anywhere; }
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-copy>p { margin:0;font-size:12px;line-height:1.7;overflow-wrap:anywhere; }
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-card .metric-row { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px;padding:20px 0;margin:4px 0;border-block:1px solid #e7e8eb; }
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-card .metric-row span { display:flex;justify-content:space-between;align-items:baseline;padding:0;background:transparent;border:0;font-size:12px; }
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-card .metric-row b { font-size:18px;font-weight:600;color:var(--minimal-ink); }
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-actions { display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding-top:12px; }
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-actions :is(a,button) { min-height:44px;display:inline-flex;align-items:center;font-size:13px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-actions button { background:var(--minimal-dark)!important;color:#fff!important;padding:0 18px;border:0;border-radius:23px; }
html[data-visual-mode="minimal"] body.theme-liquid #editorDialog :is(.field-grid,.order-payment-fields) { align-items:start;gap:16px; }
html[data-visual-mode="minimal"] body.theme-liquid #editorDialog .field-grid:has(input[type="datetime-local"]) { grid-template-columns:minmax(0,1fr); }
html[data-visual-mode="minimal"] body.theme-liquid #editorDialog input[type="datetime-local"] { width:100%;min-width:0;max-width:100%; }
html[data-visual-mode="minimal"] body.theme-liquid #editorDialog :is(.field-grid,.order-payment-fields)>.field { display:grid;grid-template-rows:20px 50px;align-content:start;gap:8px;margin:0!important;min-width:0; }
html[data-visual-mode="minimal"] body.theme-liquid #editorDialog :is(.field-grid,.order-payment-fields)>.field>label { display:block;line-height:20px;min-height:20px;margin:0;padding:0; }
html[data-visual-mode="minimal"] body.theme-liquid #editorDialog :is(.field-grid,.order-payment-fields)>.field>:is(input,select,.money-input) { margin:0!important;height:50px!important;min-height:50px!important;box-sizing:border-box; }
html[data-visual-mode="minimal"] body.theme-liquid #editorDialog .money-input { display:flex;align-items:center; }
html[data-visual-mode="minimal"] body.theme-liquid #editorDialog .money-input input { min-width:0;height:50px!important;min-height:50px!important;margin:0!important; }
@media(prefers-reduced-motion:reduce) {
  html[data-visual-mode="minimal"] body.theme-liquid *,html[data-visual-mode="minimal"] body.theme-liquid *::before { transition:none!important;animation:none!important;scroll-behavior:auto!important; }
}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more) {
  html[data-visual-mode="minimal"] body.theme-liquid :is(.card,.calendar,.daily-list,.more-row,.pipeline-summary,.milestone-card,.requirements-card,.receivable,.topic-idea-chat,.inspiration-card,.inspiration-entry,.service-state,.script-library-card,.account-feature-card,.assistant-intro,.empty-state,.analysis-box,.payment-row,.menu-card,.income-summary,.account-hero,.shoot-card,.project-banner,.project-hero,.income-spotlight,.ledger-hero,.new-script-hero,.topic-card,.membership-hero,.membership-entry,.membership-plan,.membership-history,.shoot-empty-panel,.week-strip,.tab-bar,.schedule-add-menu) { background:#fff!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important; }
}
@media(prefers-contrast:more) {
  html[data-visual-mode="minimal"] body.theme-liquid :is(.card,.shoot-card,.daily-list,.topic-card,.script-library-card,.inspiration-entry,.week-strip,.tab-bar) { outline:1px solid #959ba1; }
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
  html[data-visual-mode="minimal"] body.theme-liquid :is(.card,.calendar,.daily-list,.more-row,.pipeline-summary,.milestone-card,.requirements-card,.receivable,.topic-idea-chat,.inspiration-card,.inspiration-entry,.service-state,.script-library-card,.account-feature-card,.assistant-intro,.empty-state,.analysis-box,.payment-row,.menu-card,.income-summary,.account-hero,.shoot-card,.project-banner,.project-hero,.income-spotlight,.ledger-hero,.new-script-hero,.topic-card,.membership-hero,.membership-entry,.membership-plan,.membership-history,.shoot-empty-panel,.week-strip,.tab-bar,.schedule-add-menu) { background:#fff!important; }
}

/* 日程拍摄卡：深石墨磨砂面，无白色角光；文字和真实进度保持清晰。 */
html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .spotlight-stack > .shoot-card {
  background-color:var(--minimal-dark)!important;
  background-image:none!important;
  overflow:hidden;
  isolation:isolate;
  color:#f8f9f7!important;
  box-shadow:0 18px 32px rgba(15,17,18,.2)!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .spotlight-stack:not(.stacked) > .shoot-card {
  position:relative;
}
html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .spotlight-stack > .shoot-card::before,
html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .spotlight-stack > .shoot-card::after {
  position:absolute;
  pointer-events:none;
  content:"";
}
html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .spotlight-stack > .shoot-card::before {
  inset:0;
  z-index:0;
  /* 2026-09-25：卡面由「平色 #2d3031」升级为「暗部地板色 + 左上柔光」的对角光影
     （用户给参考图 → 第一版只做了纵向渐变被指出「光影感没做出来」→ 改按二维光场拟合：
      与参考图的 8×8 亮度场平均差从平色的 13.2 阶降到 5.9 阶）。令牌见文件末尾同段。 */
  background-color:var(--dark-card-floor);
  background-image:var(--dark-card-sheen);
  filter:none;
}
html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .spotlight-stack > .shoot-card::after {
  inset:0;
  z-index:0;
  border-radius:inherit;
  /* 这层原是 `rgba(45,48,49,.08)` 的**均匀**深墨罩：它不改变渐变方向，只把整张卡再压暗 8%，
     而柔光的 alpha 是在「它透明」的前提下解出来的，故改为透明；卡面明暗现在完全由 ::before 决定。 */
  background:transparent;
  box-shadow:none;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}
html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .spotlight-stack > .shoot-card > * {
  position:relative;
  z-index:1;
}
html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .spotlight-stack > .shoot-card .agenda-card-heading {
  color:#f8f9f7!important;
}
html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .spotlight-stack > .shoot-card .agenda-card-heading > span:last-child {
  color:#d6d8d8!important;
  text-shadow:none;
}
html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .spotlight-stack > .shoot-card > strong {
  color:#fffefa!important;
  text-shadow:none;
}
html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .spotlight-stack > .shoot-card > small {
  color:#c9cece!important;
}
html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .spotlight-stack > .shoot-card .card-countdown {
  color:var(--minimal-accent)!important;
}
html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .spotlight-stack > .shoot-card .shoot-tags span {
  background:rgba(255,255,255,.14)!important;
  color:#f6f7f3!important;
}
html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .spotlight-stack > .shoot-card .shoot-tags .shoot-tag-order {
  background:var(--minimal-accent)!important;
  color:var(--minimal-ink)!important;
}
html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .spotlight-stack > .shoot-card .shoot-progress > span {
  height:8px!important;
  background:rgba(255,255,255,.17)!important;
  box-shadow:inset 0 1px 2px rgba(0,0,0,.32),0 1px 0 rgba(255,255,255,.08);
}
html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .spotlight-stack > .shoot-card .shoot-progress > span i {
  background:var(--minimal-accent)!important;
  box-shadow:0 1px 8px rgba(0,0,0,.18);
}
html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .spotlight-stack > .shoot-card .shoot-progress > b {
  color:var(--minimal-accent)!important;
}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more) {
  html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .spotlight-stack > .shoot-card {
    background:var(--minimal-dark)!important;
    box-shadow:0 14px 30px rgba(15,17,18,.26)!important;
  }
  html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .spotlight-stack > .shoot-card::before,
  html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .spotlight-stack > .shoot-card::after {
    display:none;
  }
  html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .spotlight-stack > .shoot-card .agenda-card-heading {
    color:#fff!important;
  }
}

/* 画布色在 2026-09-25 已全站统一（原「仅日程首页压暗一档」的路由级覆盖已删除，
   因为画布令牌本身改成了 #ededed，所有页面与 html 底色一起跟随，无需再按路由区分）。 */

/* 灵感：确认版的开放标题、双模式切换与单一阅读表面；分析表单仍走原业务。 */
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-entry-page {
  display:block;
  padding:2px 0 96px;
}
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-page-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin:12px 0 30px;
}
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-page-header h2 {
  font-size:34px;
  font-weight:700;
  line-height:1.2;
  letter-spacing:-.03em;
}
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-page-header p {
  margin:12px 0 0;
  font-size:13px;
  line-height:1.6;
  color:var(--minimal-muted);
}
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-ui-icon {
  display:block;
  width:22px;
  height:22px;
  flex:none;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-mode-tabs {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:4px;
  padding:4px;
  margin-bottom:20px;
  border-radius:27px;
  background:#e9ebee;
}
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-mode-tabs button {
  min-width:0;
  min-height:46px;
  padding:0 10px;
  border:0;
  border-radius:23px;
  background:transparent;
  color:var(--minimal-muted);
  font-size:14px;
  font-weight:600;
}
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-mode-tabs button[aria-selected="true"] {
  background:var(--minimal-dark);
  color:#fff;
}
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-entry-page .inspiration-entry {
  padding:24px!important;
  margin:0;
  border-radius:28px!important;
  background:#fff!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  box-shadow:0 6px 24px #20232407!important;
}
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-entry-page .inspiration-entry-head {
  padding:0;
}
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-card-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-card-heading h2 {
  margin:0;
  font-size:21px;
  line-height:1.4;
  font-weight:650;
  letter-spacing:-.02em;
}
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-card-heading .inspiration-ui-icon {
  color:var(--minimal-ink);
}
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-entry-page .inspiration-entry-head p {
  margin:10px 0 0;
  font-size:13px;
  line-height:1.65;
  color:var(--minimal-muted);
}
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-entry-page .inspiration-entry-form {
  display:block;
  padding:0;
  margin:22px 0 0;
  background:transparent!important;
  box-shadow:none!important;
  border:0!important;
}
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-input-wrap {
  display:flex;
  /* 2026-09-25 第三批（用户：「所有的细节优化设计一遍，可以动界面布局排版样式」→ 待定项①拍板）：
     原为 align-items:flex-start + min-height:102px + padding 18px——关键词输入只有 32px 高，
     单行时盒内留出约 54px 空地（截图里最显眼的空区块）。现按内容定高：
     垂直居中 + padding 12/16，关键词 wrap 约 56px、视频 textarea（两行可见）约 80px。
     视频链接仍是两行可见 + 内部滚动（抖音分享文案常带 2–3 行标题），不为省高砍掉可读性。 */
  align-items:center;
  padding:12px 16px;
  border-radius:18px;
  background:var(--minimal-soft);
  color:var(--minimal-muted);
}
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-input-wrap :is(textarea,input) {
  display:block;
  min-width:0;
  width:100%;
  /* 留出字形边缘，避免首字贴着原生输入框的裁切边。 */
  padding:2px 4px;
  border:0;
  border-radius:0;
  /* ⛔ 2026-09-25 第四批：必须 !important —— 全站那条 `:is(button,a,input,textarea,select,summary,[contenteditable])`
     焦点组（(0,4,2)）会压过这里的 outline:0，在输入框内层再画一圈 3px 墨环。
     容器过去还有一圈 `:focus-within` 环 ⇒ 用户看到的"很粗、还是双重的黑色描边框"。 */
  outline:0 !important;
  resize:none;
  background:transparent;
  color:var(--minimal-ink);
  font:inherit;
  font-size:16px;
  line-height:1.6;
}
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-input-wrap textarea {
  min-height:56px; /* 两行各 25.6px，再留上下内边距与像素取整余量。 */
}
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-input-wrap input {
  min-height:32px;
}
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-input-wrap :is(textarea,input)::placeholder {
  color:var(--minimal-muted);
  opacity:1;
}
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-form-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:20px;
}
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-form-footer > span {
  color:var(--minimal-ink);
  font-size:12px;
}
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-form-footer button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  justify-self:auto;
  min-width:112px;
  min-height:46px;
  padding:0 17px;
  border-radius:23px!important;
  background:var(--minimal-dark)!important;
  box-shadow:none!important;
  color:#fff!important;
  font-size:14px;
  font-weight:650;
  white-space:nowrap;
}
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-form-footer button .inspiration-ui-icon {
  width:18px;
  height:18px;
}
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-form-footer button:disabled {
  opacity:.48;
  cursor:not-allowed;
}
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-availability {
  margin:12px 0 0;
  color:var(--minimal-muted);
  font-size:12px;
}
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-entry-page .service-state {
  padding:0!important;
  margin:14px 0 0;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  color:var(--minimal-muted);
  font-size:12px;
  line-height:1.6;
}
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-entry-page .service-state :is(b,p) {
  display:block;
  margin:0;
  color:var(--minimal-muted);
  font-size:12px;
  font-weight:400;
  line-height:1.6;
}
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-mode-tabs button:focus-visible,
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-form-footer button:focus-visible {
  outline:3px solid var(--minimal-ink);
  outline-offset:3px;
}
/* 2026-09-25 第四批：输入区焦点环从这一组里移出，改为文末单独一条「单圈、贴边、2px」。
   原为 3px + offset 3px（与本组按钮同款），叠加全站焦点组落在 textarea 上的那圈 3px
   ⇒ 合计 6px 的双重黑框（用户：「很粗很丑，而且还是双重的」）。 */

/* ===== 2026-09-24 日程页调整（用户指定） ===== */

/* 周 / 月视图切换：原为 38×44 的竖条（宽<高），改为横向胶囊，
   并与右侧 44px 的 ＋ 圆形按钮在 .date-tools 里垂直居中。
   选择器故意写到 .stitch-schedule 这一层：选中态那条
   `:is(..., .segment button.active, ...)`（本文件第 838 行起）含 `.type-option input:checked+span`，
   由 :is() 取最高参数后整组是 (0,4,4)，比 (0,4,3) 高——不加深就会让选中态的
   border-radius:23px!important 压掉这里。这是本项目第三次踩同一个坑。 */
html[data-visual-mode="minimal"] body.theme-liquid .date-tools { align-items: center; }
html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .date-tools .schedule-view-switch,
html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .date-tools .schedule-view-switch:hover {
  padding: 3px;
  gap: 2px;
  border-radius: 20px !important;
}
html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .date-tools .schedule-view-switch button {
  width: 52px;
  min-width: 52px;
  height: 34px;
  min-height: 34px;
  padding: 0 !important;
  border-radius: 16px !important;
  font-size: 12px;
  line-height: 1;
}

/* 2026-09-24 用户要求：周 / 月要"一个大胶囊里放这两个"。
   上方第 223 行那个大列表把未选中按钮刷成不透明白，两颗各自成胶囊；
   这里把未选中态改回透明，让外层 soft 灰胶囊透出来，就只剩一个胶囊＋一颗石墨滑块。
   只针对 :not(.active)——选中态的石墨底来自第 838 行那条 (0,4,4)，不能被这里压掉。 */
html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .date-tools .schedule-view-switch button:not(.active) {
  background: transparent !important;
  box-shadow: none !important;
}

/* 2026-09-24 用户要求：展开全部改回液态玻璃。
   同一个第 223 行列表曾把 .stack-toggle 刷成不透明白并关掉模糊；
   已把它从该列表移除，让它回落到 base-layout.css 的玻璃：
   半透明白渐变 + inset 高光 + blur(16px)。它压在深墨拍摄卡上 25px，玻璃质感最明显。 */

/* ===== 2026-09-24 日程页两个归档入口 + 「全部日程」页（用户指定） ===== */

/* 排版取自用户参考图：标签在左上、圆形描边图标在右上、大数字在下方。
   材质仍沿用现有白色玻璃卡——刻意复用 .project-banner 这个既有类，
   好让上面那条 :is(...) 玻璃卡分组（border-radius:28px / glass-card /
   ink / 浅阴影 / blur(20px) 全是 !important）继续生效，不必再登记一次材质。
   下面只覆盖内部构成与两列排布，所以这些覆盖必须放在文件末尾：
   与 .stitch-schedule .project-banner 同特异性 (0,2,0)，靠源码顺序取胜。 */
.schedule-archives { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.schedule-archives .archive-tile { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 0; padding: 16px; }
.archive-tile-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.archive-tile-label { font-size: 13px; font-weight: 800; letter-spacing: .01em; color: var(--ink); }
.archive-tile-badge { flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--muted); }
.archive-tile-badge svg { display: block; width: 22px; height: 22px; }
.archive-tile-metric { display: flex; align-items: baseline; gap: 5px; }
/* 特异性必须写到 (0,3,1)：.stitch-schedule .project-banner strong / small 是 (0,2,1)，
   会把数字压回 15.5px、字重压回 800——数字比标签还小就立不起"大数字"的层级。
   （子项在 flex 容器里会被 blockify，computed display 显示 block 属正常，不用管。） */
.schedule-archives .archive-tile .archive-tile-metric strong { font-size: 28px; font-weight: 850; line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.schedule-archives .archive-tile .archive-tile-metric small { margin: 0; font-size: 11px; font-weight: 650; color: var(--muted); }

/* 「全部日程」页：一组一个归属，全部组装在同一张白卡里
   （DESIGN.md 的单主体表面规则——一个连续阅读任务共用一个主体表面，
    不拆成三四张同款卡），组间只用一条发丝线分隔。
   行沿用 .daily-row 的既有解剖，所以勾选完成与无障碍语义都不用重写。 */
.all-schedules-page { padding-bottom: 8px; }
.all-schedules-group { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 6px 2px 8px; font-size: 12px; font-weight: 800; color: var(--muted); }
.all-schedules-group:not(:first-child) { margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
/* ===== 2026-09-24 新建拍摄安排弹层：执行节点 + 发布平台改成胶囊（用户指定） ===== */

/* 复用的胶囊组件：label > input[type=checkbox] + span。
   刻意用原生 checkbox 而不是"按钮 + JS 切 active 类"——勾选状态直接进 FormData
   （getAll('stage') / getAll('platform')），不需要 JS 维护状态，也不会与
   表单校验、焦点顺序脱节。样式只落在新类上，不进 minimal-theme 里那几条
   :is() 长列表，避免又被 !important 扯进去。
   44px 触控高度是 DESIGN.md 的硬要求，6 个平台胶囊允许自然换行。 */
.option-chips{  flex-wrap: wrap; display:flex;gap:0 6px;}
/* 平台有 6 个：纯 flex 换行会排成 5+1（「全平台」孤零零一行，是换行的偶然结果）。
   固定 3 列后是稳定的 3×2，多一个平台也不会把布局挤乱。执行节点只有 4 个，
   本来就能一行放下，保持 flex 更紧凑。 */
.option-chips.is-grid{  grid-template-columns: repeat(3, minmax(0, 1fr));display:flex;flex-wrap:wrap;}
.option-chip{ position: relative; display: inline-flex;align-items:center;min-height:44px;min-width:44px;}
.option-chips.is-grid .option-chip{;display:inline-flex;}
.option-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.option-chip span{
  display: inline-flex; align-items: center; justify-content: center;
    border-radius: 22px;
  background: var(--minimal-soft); color: var(--ink);
  font-size: 13px;   white-space: nowrap;
;min-height:var(--mf-control-filter);min-width:44px;padding:0 10px;font-weight:500;line-height:20px;}
.option-chip input:checked + span { background: var(--minimal-dark); color: #fff; }
.option-chip input:focus-visible + span { outline: 2px solid var(--minimal-dark); outline-offset: 2px; }

/* 勾选节点后在其下方出现的日期行。复用 .milestone-entry 的既有解剖（软底、18px 圆角），
   只把网格从"节点名/日期/删除"三格改成两格——删除按钮已由节点胶囊取代。
   必须写到 (0,4,1)：第 1134 行那条 .milestone-entry 是 (0,3,1)。 */
.stage-dates { display: grid; gap: 8px; margin-top: 10px; }
html[data-visual-mode="minimal"] body.theme-liquid .milestone-entry.stage-date-row {
  grid-template-columns: 44px minmax(0, 1fr);
  margin-bottom: 0;
}
.stage-dates .stage-date-row[hidden] { display: none; }

/* ——— 弹层里的「可点选胶囊」统一成一套（2026-09-25，用户：「胶囊大小都不一样，然后日历选择也没做优化设计」）
   实测原状（402×874，计算值）：日程类型 / 提醒频率（.type-option，分段控件）62 高 / 圆角 23 / 字重 400 / 两行；
   执行节点 / 发布平台（.option-chip）44 高 / 圆角 22 / 字重 600 / 一行 —— 同一个弹层里差 18px 高、两档字重。
   现在统一：**所有可点选胶囊 44 高 / 圆角 22 / 14px·600 / 内边距 0 16**（44 是 DESIGN.md 的触控下限，
   22 是圆角表里的「紧凑胶囊」）。
   分段控件保留自己的软灰轨道，一眼仍能分出「单选」与「多选」：轨道圆角 25（圆角表里的控件档，
   与 .segment 一致）、内衬 3px → 内层滑块 44 + 3×2 = 轨道 50，滑块圆角 25 − 3 = 22，同心且都在表内。
   列数用 grid-auto-flow:column 自适应（日程类型 3 个、提醒频率 2 个，以后加第 4 个也不会错位），
   不再靠 .reminder-recurrence-options 单独覆写列数。
   副文案（日常内容 / 品牌合作 / 自定义安排 / 指定一天 / 每月重复）在 CSS 里隐藏：其中 3 条是同义反复
   （每月＝每月重复），另 2 条在胶囊里挤成两行，是 62px 高度的来源。只隐藏不删 markup，回溯便宜。
   ⚠️ border / border-radius 必须 !important：第 400 行起那条
      `.theme-liquid :is(… .type-options, .type-option span …) { border: 0 !important; border-radius: var(--radius-control) !important }`
      会把它刷成 16px 控件圆角；第 878 行起那条又给选中态写死 `border-radius:23px!important`。
      其余属性靠 #editorDialog 的 ID 位稳过（弹层挂在 #appView 之外，所以不能用 #appView 做前缀）。
   ⚠️ 这里**不写 font-weight**：字级强制层 `… :is(.editor-dialog, .workspace-sheet) :is(.dialog-fields, …)`
      已经用 `font-weight:400 !important` 统管弹层内文字，写了也是死声明（实测计算值恒为 400）。
      文案重量要改就去改那一层，别在这一段加。 */
html[data-visual-mode="minimal"] body.theme-liquid #editorDialog .type-options{
  
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  
  
  border: 0 !important;
  
  
  box-shadow: none !important;
;display:flex;flex-wrap:wrap;gap:0 6px;padding:0;border-radius:0!important;background:transparent!important;}
html[data-visual-mode="minimal"] body.theme-liquid #editorDialog .type-option{display:inline-flex;align-items:center;min-height:44px;min-width:44px;}
html[data-visual-mode="minimal"] body.theme-liquid #editorDialog .type-option > span{
  
  
  
  
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  
  border: 0 !important;
  border-radius: 22px !important;
  background: transparent;
  color: var(--ink);
  
  
  box-shadow: none;
;width:auto;min-width:44px;height:var(--mf-control-filter);min-height:var(--mf-control-filter);padding:0 10px;font-size:13px;line-height:20px;}
/* ⚠️ 字号必须 !important，根因在第 2503 行那条字级强制层：
   `… :is(.editor-dialog, .workspace-sheet) :is(.dialog-fields, .form-section) :is(h3, strong, b) { font-size:21px!important }`
   它本意是给弹层小标题（h3）定 21px，但把胶囊里**当标签用的 <strong>** 也一起染了 —— 实测「单次 / 每月」
   「视频 / 商单 / 其他」全部渲染成 **21px**，而它们的外层 span 是 14px，于是标签比它自己所在的胶囊还大。
   2026-09-25 用户：「单次和每月的字太大了，改成跟新建提醒字号一样」→ 按角色拉回 14px。
   字重沿用 600：与本项目分段控件同档（`.segment` 周/月 = 14/600）；`.option-chip` 多选胶囊是 400，
   两者的差别正好保留「单选分段 / 多选胶囊」的区分（上一轮用户选择保留分段轨道就是为了这个区分）。 */
html[data-visual-mode="minimal"] body.theme-liquid #editorDialog .type-option strong{;font-size:13px!important;}
/* 副文案只隐藏、不从 app.js 删除：胶囊现在是横排，留着 small 会挤成「视频 日常内容」一行；
   隐藏既达到「去掉」的效果，回溯也只动这一处（本项目已有三次「回滚」记录）。 */
html[data-visual-mode="minimal"] body.theme-liquid #editorDialog .type-option small { display: none; }
html[data-visual-mode="minimal"] body.theme-liquid #editorDialog .type-option input:checked + span {
  border: 0 !important;
  border-radius: 22px !important;
  background: var(--minimal-dark) !important;
  color: #fff !important;
  box-shadow: none !important;
}
html[data-visual-mode="minimal"] body.theme-liquid #editorDialog .type-option input:focus-visible + span {
  outline: 2px solid var(--minimal-dark);
  outline-offset: 2px;
}

/* 悬停 / 按下：两族现在是同一套视觉，反馈就必须同一套。
   改前实测（chips-hover 探针）：未选中滑块悬停只拿到 `filter: brightness(.985)`，而它的底是
   `rgba(255,255,255,.5)` —— 1.5% 的压暗落在半透明白底上等于没有反馈；`.option-chip` 则**一条 hover 规则都没有**。
   现在：未选中 = 一块白滑块从软灰轨上浮起来（两族同款）；已选中 = 固定不动，
   沿用全站既有的「选中态不参与悬停变色」做法（底部导航同款判据）。
   按下用 opacity 而非 scale：全站的 `button[data-action]:active { scale(.97) }` 只覆盖 button，
   这两族都是 label（本项目已知的「全局按压规则覆盖不到 label」），而 `.filter-chip` 的既有先例就是 opacity .72。
   ⚠️ 悬停底色必须 !important：styles.css 里有一条 `.type-option span { background: transparent !important }`
      （外加 `border-radius: 999px !important`），不加就会「规则命中了但底色纹丝不动」。 */
@media (hover: hover) {
  html[data-visual-mode="minimal"] body.theme-liquid #editorDialog .type-option:hover input:not(:checked) + span,
  html[data-visual-mode="minimal"] body.theme-liquid #editorDialog .option-chip:hover input:not(:checked) + span {
    background: rgba(255,255,255,.66) !important;
  }
  /* 两族的悬停都只靠这一块白滑块，不要 `filter: brightness()` 那条旧反馈：
     它落在透明底上本来就看不见，留着还会让 .type-option 单方面多出一个合成层。
     已选中项固定不动 —— 沿用全站「选中态不参与悬停变色」（底栏同款判据）。 */
  html[data-visual-mode="minimal"] body.theme-liquid #editorDialog .type-option:hover > span,
  html[data-visual-mode="minimal"] body.theme-liquid #editorDialog .option-chip:hover span {
    filter: none !important;
  }
}
html[data-visual-mode="minimal"] body.theme-liquid #editorDialog .type-option:active > span,
html[data-visual-mode="minimal"] body.theme-liquid #editorDialog .option-chip:active span {
  opacity: .72;
}
/* 执行节点（`.option-chips` 无 `is-grid`）从 flex 改 4 等分铺满（2026-09-25，用户：「执行与发布执行节点的胶囊大小也不对」）
   实测原状：执行节点 4 颗各 **60×44**、`gap 8`，整行只占 264px，**右边空着 90px**；
   下面发布平台是固定 3 列网格，每颗 **112.7×44** 铺满整行 —— 同一节里两行胶囊一个空一满，前者读起来"小一号"。
   现在：`grid-auto-flow: column` + 每列 `minmax(0,1fr)` ⇒ 4 颗各 (354−24)/4 = **82.5**，整行铺满；
   列数自适应，将来加第 5 个节点也不会错位（`flex:1` 也行，但显式网格更好读）。
   ⚠️ 不用 3 列去凑发布平台的 112.7：4 个选项排 3 列会剩 1 个孤儿（本项目已记录过该坑）。
   ⚠️ 高度、圆角、字号、内边距全部不动（仍是 44 / 22 / 14 / 0 16），只改列宽策略 ⇒ 行数、行高不变。 */
html[data-visual-mode="minimal"] body.theme-liquid #editorDialog .option-chips:not(.is-grid){
  
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
;display:flex;flex-wrap:wrap;}
html[data-visual-mode="minimal"] body.theme-liquid #editorDialog .option-chips:not(.is-grid) .option-chip{  display:inline-flex;min-width:44px;}
html[data-visual-mode="minimal"] body.theme-liquid #editorDialog .option-chips:not(.is-grid) .option-chip > span{  width:auto;min-width:44px;}

/* ——— 弹层里的日期 / 时间：把浏览器原生控件收回设计系统（同一批 2026-09-25）
   问题：同一件事有四种规格 —— 提醒日期 50 高/18 圆角/16px，节点日期 36 高/9 圆角/12.5px 居中
   （后三个值全在圆角表与字级表之外），右边还挂着不受控的浏览器原生小图标，点开是浏览器自己的日历弹层。
   做法：① 两处日期统一到 input 规格（50 高 / 18 圆角 / 16px）；② 原生指示器不删除、只让它**铺满整块并透明**
   —— 保留「点哪都能开」的大命中区（删掉它会缩小可点区域）；③ 自绘 20px 图标，与全站同色（--ink）；
   ④ 日期与时间用等宽数字，切换数字时文字不跳。
   ⚠️ 图标必须写成**带 !important 的整条 background 简写**：第 745 行那条
      `.theme-liquid :is(… .field input …) { background-image: initial !important; background-position/size: initial !important }`
      （就是那份"控件一律不透明白"大 :is() 列表，它还顺手关掉了所有玻璃与渐变）会把图标整条清掉，
      只写 background-image 不写 !important 的话，padding 留出来了但图标是空的。
   ⚠️ 指示器：2026-09-25 晚被替换为 display:none（原为 opacity:0 铺满整块）。
      改的原因：现在点字段开的是站内选择器，原生入口必须彻底关掉，否则点右侧图标会**同时弹出
      两个选择器**。原来那条"铺满 + opacity:0"是为保住系统选择器的大命中区而写的，前提已经不成立。 */
html[data-visual-mode="minimal"] body.theme-liquid #editorDialog input[type="date"],
html[data-visual-mode="minimal"] body.theme-liquid #editorDialog input[type="time"] {
  position: relative;
  height: 50px;
  padding: 12px 52px 12px 16px;
  border: 0;
  border-radius: 18px;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  text-align: left;
}
html[data-visual-mode="minimal"] body.theme-liquid #editorDialog input[type="date"] {
  background: var(--minimal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23202324' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='4.5'/%3E%3Cpath d='M3.5 10h17M8 3.5v3M16 3.5v3'/%3E%3C/svg%3E") no-repeat right 16px center / 20px 20px !important;
}
html[data-visual-mode="minimal"] body.theme-liquid #editorDialog input[type="time"] {
  background: var(--minimal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23202324' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E") no-repeat right 16px center / 20px 20px !important;
}
html[data-visual-mode="minimal"] body.theme-liquid #editorDialog input[type="date"]::-webkit-calendar-picker-indicator,
html[data-visual-mode="minimal"] body.theme-liquid #editorDialog input[type="time"]::-webkit-calendar-picker-indicator {
  display: none;
}
html[data-visual-mode="minimal"] body.theme-liquid #editorDialog input[type="date"]::-webkit-datetime-edit,
html[data-visual-mode="minimal"] body.theme-liquid #editorDialog input[type="date"]::-webkit-date-and-time-value {
  min-height: 0;
  font-size: 16px;
  text-align: left;
}
/* 节点日期行：原来内嵌的日期输入是 36 高 / 9 圆角 / 12.5px 居中，跟着统一到同一档 */
html[data-visual-mode="minimal"] body.theme-liquid #editorDialog .milestone-entry.stage-date-row {
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
}
html[data-visual-mode="minimal"] body.theme-liquid #editorDialog .milestone-entry.stage-date-row .milestone-entry-label {
  color: var(--ink);
}

/* 定金 / 尾款的可选说明落在两列网格的下一整行 */
.order-payment-hint { grid-column: 1 / -1; }

/* ==========================================================================
   导航条回退（不支持 backdrop-filter、或用户要求减少透明效果时 → 更实的高对比背景）
   --------------------------------------------------------------------------
   本文件上面那两段既有回退（`@media(prefers-reduced-transparency:reduce),(prefers-contrast:more)`
   与 `@supports not (backdrop-filter…)`）已经把 `.tab-bar` 刷成 `#fff!important`，
   对**浅色玻璃 + 深墨字**这套现行材质来说正是想要的结果：白底 + 深字 = 高对比，
   所以这里**不需要**任何覆盖。
   ⚠️ 反过来说：如果哪天又把导航做成"深色玻璃 + 白字"，就必须在这里追加覆盖成不透明深色 ——
   否则白字落在上面那两段给的白底上会变成 1.0:1 的隐形文字（这个坑 23:00 那版已经踩过一次）。
   ========================================================================== */

/* ==========================================================================
   日程进度页 · 2026-09-24 23:56 用户 8 项调整的样式部分
   （几何与点击区域不动；只改材质、颜色、文案层级）
   ========================================================================== */

/* ① 标题层级：让项目标题直接坐在「日程进度」下面，两行共用同一条**光学左缘**。
      实测：两个标题的盒模型都从 20px 起，但 34px 显示字号的 CJK 字形左留白比 24px 大，
      **字形**左缘分别是 26px 与 20.5px（差 5.5px）——这才是"排版不对"的来源。
      用 -5.5px 左外边距把大字号那行拉回同一条边，同时把原来的 24px 间隔收到 8px。 */
html[data-visual-mode="minimal"] body.theme-liquid .detail-nav { margin-bottom:8px; }
html[data-visual-mode="minimal"] body.theme-liquid .detail-nav>h2 { margin-left:-5.5px; }

/* ② 完成度卡片 → 深墨卡（与拍摄卡同族）。深底必须同时把字色反转成浅色，
      否则深墨底上留深墨字＝1.19:1 隐形（本项目已踩过两次）。
   2026-09-25 用户「日程进度里的完成度卡片没改」：卡面同步升级为
      `--dark-card-floor` ＋ `--dark-card-sheen` 的哑光对角光影（与其余三张深墨卡——拍摄卡/项目库卡/创作账单——同材质，本张为第四张；
      它的文字与阴影在更早一轮就已是深卡语言，本次只换卡面那一层）。 */
html[data-visual-mode="minimal"] body.theme-liquid .project-progress-panel {
  background-color:var(--dark-card-floor)!important;
  background-image:var(--dark-card-sheen)!important;
  color:#f8f9f7!important;
  box-shadow:0 18px 32px rgba(15,17,18,.2)!important;border:0!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
}
/* 百分数用品牌黄（2026-09-25 00:14 用户：「百分数变成黄色」）。
   黄 #F4B95F 落在深墨卡上是 7.5:1，达标；下面的「完成度」小字仍走浅白。 */
html[data-visual-mode="minimal"] body.theme-liquid .project-progress-panel .progress-copy strong { color:var(--minimal-accent)!important; }
html[data-visual-mode="minimal"] body.theme-liquid .project-progress-panel .progress-copy strong small { color:rgba(255,255,255,.72)!important; }
html[data-visual-mode="minimal"] body.theme-liquid .project-progress-panel .progress-copy>span { color:rgba(255,255,255,.78)!important; }
html[data-visual-mode="minimal"] body.theme-liquid .project-progress-panel .progress-track { background:rgba(255,255,255,.18)!important; }
html[data-visual-mode="minimal"] body.theme-liquid .project-progress-panel .progress-track i { background:var(--minimal-accent)!important; }
html[data-visual-mode="minimal"] body.theme-liquid .project-progress-panel .hero-meta { color:rgba(255,255,255,.78)!important; }
/* 「已收」胶囊保持浅色小块 + 深墨字（深卡上的浅块＝强调，黄底深字 9.4:1） */
html[data-visual-mode="minimal"] body.theme-liquid .project-progress-panel .hero-meta b { background:var(--minimal-accent)!important;color:var(--minimal-dark)!important; }

/* ③ 里程碑节点标记（timeline node marker）：**未打勾＝黑，打勾＝黄**
      （2026-09-25 00:14 用户定：「没打勾是黑色，打勾后变黄色」——按勾选状态决定填充色，
      之前只把"当前节点"染黄，方向不对）。
      · 已打勾 ✓ → 黄底 + 深墨勾（黄底白勾只有 1.81:1，看不清）
      · 其余（进行中 ● / 未开始 空环）→ 黑底；两者靠内容区区分：当前节点有黄色软底面板 + 说明文案。
      ⚠️ 副作用：未开始的节点也变成黑色实心，视觉上不再有"浅色空环＝尚未开始"的暗示。
         若想保留，把下面第一条的 background 改回 `var(--minimal-line)`（浅色空环）即可。 */
html[data-visual-mode="minimal"] body.theme-liquid .timeline-row>i {
  border-color:var(--minimal-dark)!important;background:var(--minimal-dark)!important;color:#fff!important;
}
html[data-visual-mode="minimal"] body.theme-liquid .timeline-row.done>i {
  border-color:var(--minimal-accent)!important;background:var(--minimal-accent)!important;color:var(--minimal-dark)!important;
  box-shadow:none!important;
}

/* ④ 收款勾选：绿 → 黄。黄色在白卡上只有 1.81:1，作为控件轮廓不合格，
      所以保留中性描边（与未勾选态同一根线），只换填充色与聚焦环。 */
html[data-visual-mode="minimal"] body.theme-liquid .payment-check:checked {
  border-color:rgba(118,125,137,.55)!important;background:var(--minimal-accent)!important;
  box-shadow:0 0 0 2px rgba(244,185,95,.20)!important;
}
html[data-visual-mode="minimal"] body.theme-liquid .payment-check:focus-visible { outline-color:rgba(244,185,95,.45)!important; }

/* ⑤ 底部操作栏（Sticky Bottom Action Bar，即"删除 / 排期调整 / 开始工作"这一条）
      ＝ 与底部导航同一套玻璃材质：低不透明度浅底 + blur(3px) saturate(160%)
      + 内白高光 + 外淡暗线 + 柔和阴影，圆角与导航一致取 36px。
      ⚠️ 三个按钮**等宽**（2026-09-25 00:14 用户要求「尺寸改成一样」）：
      原来是 `44px 1fr 1.5fr`（删除 44 / 排期调整 114 / 开始工作 172），现在三等分。
      高度本来就都是 44px，未动。 */
html[data-visual-mode="minimal"] body.theme-liquid .detail-sticky-actions {
  background:rgba(255,255,255,.40)!important;
  -webkit-backdrop-filter:blur(3px) saturate(160%)!important;backdrop-filter:blur(3px) saturate(160%)!important;
  box-shadow:0 8px 24px rgba(17,19,21,.10),inset 0 1px 0 rgba(255,255,255,.72),0 0 0 1px rgba(17,19,21,.05)!important;
  border-radius:36px!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
/* 次级按钮透明，让玻璃透出来（与导航未选中项同一角色）；主按钮保持深墨实心（与导航深墨凸起同一角色）。
   主按钮必须写 :last-of-type —— 菜单是栏内最后一个子元素，`:last-child` 在菜单打开时会失配。 */
html[data-visual-mode="minimal"] body.theme-liquid #appView .detail-sticky-actions>button { background:transparent!important;color:var(--ink)!important;box-shadow:none!important;border-color:transparent!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .detail-sticky-actions>button.delete { color:var(--danger)!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .detail-sticky-actions>button:last-of-type {
  background:var(--minimal-dark)!important;color:#fff!important;box-shadow:0 7px 18px rgba(17,19,21,.16)!important;
}

/* ⑥ 「开始工作」菜单 ＝ **不透明弹层菜单**（2026-09-25 00:14 用户：「不要透明的，
      就按弹层菜单页样式去做」）。改为与 `.workspace-sheet` 同一套表面语言：
      实心 `#fff` + 去掉 backdrop-filter + 向上投影 `0 -8px 40px #11131515`（弹层从底部升起那套阴影）
      + 圆角取圆角表里的 card 28px（不再用 22px 这个表外值）。
      ⚠️ 选择器必须挂在 `.detail-sticky-actions` 之下并带 `#appView`：既有的
      `… :is(.detail-sticky-actions button:last-child, …)` 是**后代**选择器且实际特异性 (0,5,3)，
      会把菜单里最后一个按钮吞成深墨胶囊（实测「写脚本」变白字深底）。 */
html[data-visual-mode="minimal"] body.theme-liquid #appView .detail-sticky-actions .work-menu {
  position:absolute;left:8px;right:8px;bottom:calc(100% + 8px);z-index:60;
  display:grid;gap:2px;padding:8px;border-radius:28px;
  background:#fff!important;box-shadow:0 -8px 40px #11131515!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .detail-sticky-actions .work-menu>button {
  display:grid;justify-items:start;gap:2px;min-height:52px;padding:10px 14px;
  border:0;border-radius:16px;background:transparent!important;color:var(--ink)!important;
  box-shadow:none!important;text-align:left;
  transition:background-color 180ms var(--motion-curve);
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .detail-sticky-actions .work-menu>button b { font-size:15px;font-weight:600; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .detail-sticky-actions .work-menu>button small { font-size:12px;color:var(--muted); }
@media (hover:hover) {
  html[data-visual-mode="minimal"] body.theme-liquid #appView .detail-sticky-actions .work-menu>button:hover { background:var(--minimal-soft)!important; }
}

/* ==========================================================================
   日程进度页 · 密度与按钮可读性（2026-09-25 00:22 用户三点）
   ① 完成度卡片留白过多：实测原高 **191px**（上下内边距各 24 + 轨道上 20 + 底行上 18）
      → 收到 16 / 14 / 12，并把这值记为「紧密度基线」；数字字号 44px 保持不动（它是这张卡的
      视觉主角，缩字号会伤层级）。
   ② 「开始工作」弹层留白过多：原高 **200px**（每项 60px：padding 10 + 双层文字 + min-height 52）
      → 项内 padding 8/12、min-height 46（仍 ≥44 触控下限）、项间 gap 归零、面板 padding 8→6。
   ③ 次级按钮（删除 / 排期调整）只有文字、在玻璃上偏弱 → 给**白色实心小底**（与导航此前
      "白色凸显"同一族）+ 字重提到 600；删除仍保留危险色文字。
   ========================================================================== */
html[data-visual-mode="minimal"] body.theme-liquid .project-progress-panel { padding:16px!important; }
html[data-visual-mode="minimal"] body.theme-liquid .project-progress-panel .progress-copy strong small { margin-top:4px!important; }
html[data-visual-mode="minimal"] body.theme-liquid .project-progress-panel .progress-track { margin-top:14px!important; }
html[data-visual-mode="minimal"] body.theme-liquid .project-progress-panel .hero-meta { margin-top:12px!important; }

html[data-visual-mode="minimal"] body.theme-liquid #appView .detail-sticky-actions .work-menu { padding:6px!important;gap:0!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .detail-sticky-actions .work-menu>button {
  min-height:46px!important;padding:8px 12px!important;gap:1px!important;
}

html[data-visual-mode="minimal"] body.theme-liquid #appView .detail-sticky-actions>button { font-weight:600!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .detail-sticky-actions>button:not(:last-of-type) {
  background:#fff!important;box-shadow:0 1px 2px rgba(17,19,21,.06),inset 0 1px 0 rgba(255,255,255,.9)!important;
}

/* ⑦ 菜单宽度：满宽（362px）里只放得下约 110px 的文字，横向大片空 —— 改成**窄浮层贴右**，
      这是 popover 的标准形态（触发按钮在右，菜单就贴右上展开）。
      宽度取 min(248px, 100% - 16px)：双层文字最长一行约 108px + 左右内边距 24 + 余量。 */
html[data-visual-mode="minimal"] body.theme-liquid #appView .detail-sticky-actions .work-menu {
  left:auto!important;right:8px!important;width:min(248px,calc(100% - 16px))!important;
}

/* ⑧ 「开始工作」菜单项之间加**分隔线**（2026-09-25 00:28 用户要求：与「＋ 添加安排」弹层同款）。
      该弹层的既有做法是 `.schedule-add-menu > button + button { border-top:1px solid var(--line);
      border-top-*-radius:0 }` —— **上圆角归零是为了让分隔线横贯整行**。这里照搬同一手法与同一令牌，
      不另造视觉语言；项间 gap 已是 0，线因此连续。 */
html[data-visual-mode="minimal"] body.theme-liquid #appView .detail-sticky-actions .work-menu>button+button {
  border-top:1px solid var(--minimal-line)!important;
  border-top-left-radius:0!important;border-top-right-radius:0!important;
}

/* ==========================================================================
   站内确认弹层（2026-09-25 用户：「现在的删除键点了没反应」）
   --------------------------------------------------------------------------
   根因不是逻辑——删除分支一直在，问题是它用了原生 window.confirm()：该 API 在嵌入式
   预览容器与部分 WebView 里会被静默屏蔽（对话框不出现、返回值恒为 false），所以现象是
   "点了删除没有任何反应"。在纯 Chrome 里同一按钮是正常的，这类"只在某个容器里坏"的
   报障要先怀疑原生对话框，而不是事件绑定。
   现在改为站内弹层，任何容器表现一致。
   几何与动画**复用 .editor-dialog**（它在 minimal 模式下已是「吸底 + 贴合内容高度 +
   34px 上圆角」的抽屉，正是确认弹层需要的形态），这里只补三件事：
   ① 说明文字的排版（承接标题，收在操作栏上方）；
   ② 破坏性主操作 = 实心 danger 红 + 白字；
   ③ 取消 = 中性 soft 弱按钮。
   ⚠️ 选择器一律带 #confirmDialog：本项目 minimal-theme 里那几条 `:is(...)` 长列表会把
   手写类名按钮刷成"白底深墨字"，只有 ID 位能稳定压过（已踩过四次）。
   ========================================================================== */
html[data-visual-mode="minimal"] body.theme-liquid #confirmDialog .confirm-message {
  margin:0;padding:0 24px 20px;font-size:14px;line-height:1.7;color:var(--muted);
}
html[data-visual-mode="minimal"] body.theme-liquid #confirmDialog .confirm-message[hidden] { display:none; }
/* 破坏性主操作：实心红。取消／删除必须是"一弱一强"，否则误触代价不对称。 */
html[data-visual-mode="minimal"] body.theme-liquid #confirmDialog .dialog-actions .button.danger-solid {
  background:var(--danger)!important;color:#fff!important;box-shadow:0 8px 20px rgba(192,57,43,.24)!important;
}
html[data-visual-mode="minimal"] body.theme-liquid #confirmDialog .dialog-actions .button.secondary {
  background:var(--minimal-soft)!important;color:var(--ink)!important;box-shadow:none!important;
}

/* ==========================================================================
   画布统一后的连带修正：两处直接坐在画布上的小字（2026-09-25）
   --------------------------------------------------------------------------
   画布由 `#f7f8fa` 压暗到 `#ededed` 后，直接落在画布上（而非白卡上）的小字对比会下降
   一档。全页审计（遍历前景/背景配对算对比度）只发现两处「因为这次改色而变差」的：
     · `.ai-classify`    11px `#717681`：4.21:1 → **3.94:1**
     · `.account-caption` 11px `#868b95`：3.26:1 → **2.98:1**（改色前就已低于 4.5:1）
   两者都改用设计系统已声明的辅助文字令牌 `muted (#646970)` —— 不是新增颜色，而是把
   漂移的字面色值收回令牌：在新画布上 11px 实测 **4.75:1** ✅。
   同类字面值 `#717681` 也用在白卡内的若干小字（`.project-card>p` 等），它们在白底上是
   4.61:1 达标、且不受画布影响，因此**只改直接坐在画布上的这两处**，不动其余。
   ========================================================================== */
html[data-visual-mode="minimal"] body.theme-liquid .ai-classify,
html[data-visual-mode="minimal"] body.theme-liquid .profile-header .account-caption {
  color:var(--muted)!important;
}

/* ==========================================================================
   修复：确认弹层容器上多出一圈蓝色焦点环（2026-09-25）
   --------------------------------------------------------------------------
   站内早已有抑制规则：`workspace-polish.css:176` 的
   `.theme-liquid .editor-dialog.is-sheet:focus { outline: none }` —— 但它**只覆盖带
   `is-sheet` 的弹层**。确认弹层为了保持"贴合内容高度"的紧凑形态没有加 `is-sheet`，
   于是 Chromium 给被 `.focus()` 的容器画出了默认焦点环（`rgb(0,95,204)`，实测 2478 px）。
   这里补上同一意图的规则：**容器不是可交互控件，焦点提示应由里面的按钮承担**
   （与 `showEditorDialog()` 的注释同源）。
   ⚠️ 触发条件：只有焦点被「程序化 / 键盘」移动过去时浏览器才判为 `:focus-visible`；
   真实鼠标或手指点击进入**不会**有环（这也是一开始用鼠标点击的截图里没发现它的原因）。
   用合成 `el.click()` 驱动就会稳定复现 —— 探针驱动方式会改变 `:focus-visible` 的结果，
   这是本项目第二次栽在"探针的交互方式与真实交互不同"上。
   ========================================================================== */
html[data-visual-mode="minimal"] body.theme-liquid #confirmDialog:focus,
html[data-visual-mode="minimal"] body.theme-liquid #confirmDialog:focus-visible {
  outline:none;
}

/* ==========================================================================
   拍摄安排（＝项目）↔ 内容生产 的关联（2026-09-25，用户要「一条龙服务」）
   --------------------------------------------------------------------------
   · 关联态徽章：从「开始工作」进来后，编辑页顶部挂一枚可解除的徽章。关联本身是隐式的，
     必须让它可见 —— 否则用户不知道自己新建的选题被挂到了哪个项目上（可逆性也靠它）。
   · 「内容生产」段：三行 = 灵感 / 选题 / 脚本（脚本入口 2026-09-25 由用户从里程碑行移回这里）。
     复用 .milestone-card 拿卡片材质（本项目既有做法：借已有类进 :is(...) 材质分组，
     而不是往那些长列表里加新类名），只覆盖内部构成。
   · ⛔ 里程碑行保持原始 DOM（`<button class="timeline-row">` 直挂 `>i` 与 `>div`）。
     曾用 .timeline-item 包一层在行下挂按钮，用户的最终选择是不要，已全部撤回 ——
     那些 `>i` / `>div` 选择器散在三个样式文件与多条 :is() 组里，包一层就会静默改变卡片材质。
   · 状态语言与里程碑行一致：未就绪＝深墨实心空环，已就绪＝黄底 ✓ 深墨。
     按钮角色：未就绪＝深墨实心（要去做），已就绪＝软底/白底（只是打开来看）。
   ========================================================================== */
html[data-visual-mode="minimal"] body.theme-liquid #appView .work-link-badge {
  display:flex;align-items:center;gap:8px;margin:0 0 16px;padding:6px 6px 6px 16px;
  border-radius:var(--radius-control);background:var(--minimal-soft);color:var(--ink);font-size:13px;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .work-link-badge span {
  flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .work-link-badge button {
  flex:0 0 auto;width:44px;height:44px;min-width:44px;padding:0;border:0;border-radius:22px;
  background:transparent!important;color:var(--muted)!important;font-size:15px;box-shadow:none!important;
}
@media (hover:hover) {
  html[data-visual-mode="minimal"] body.theme-liquid #appView .work-link-badge button:hover {
    background:var(--minimal-paper)!important;color:var(--ink)!important;
  }
}


html[data-visual-mode="minimal"] body.theme-liquid #appView .content-pipeline-card .pipeline-rows {
  display:grid;gap:10px;margin-top:16px;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .pipeline-row {
  display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:12px;
  padding:10px 10px 10px 12px;border-radius:var(--radius-control);background:var(--minimal-soft);
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .pipeline-row > i {
  width:24px;height:24px;display:grid;place-items:center;border-radius:50%;
  background:var(--minimal-dark);color:#fff;font-size:12px;font-style:normal;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .pipeline-row.done > i {
  background:var(--minimal-accent);color:var(--minimal-dark);
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .pipeline-copy { display:grid;gap:2px;min-width:0; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .pipeline-copy strong { font-size:14px;font-weight:600;color:var(--ink); }
html[data-visual-mode="minimal"] body.theme-liquid #appView .pipeline-copy small { font-size:12px;color:var(--muted); }
html[data-visual-mode="minimal"] body.theme-liquid #appView .pipeline-action {
  min-height:44px;padding:0 16px;border:0;border-radius:23px;
  background:var(--minimal-dark)!important;color:#fff!important;font-size:13px;font-weight:600;box-shadow:none!important;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .pipeline-row.done .pipeline-action {
  background:var(--minimal-paper)!important;color:var(--ink)!important;
  box-shadow:inset 0 0 0 1px var(--minimal-line)!important;
}

/* 内容入口的角色收敛（2026-09-25 截图复核后）：
   「内容生产」段里未就绪的才是深墨实心（它是要用户去做的那件事），已就绪降为素文字，
   于是随项目推进这张卡会越来越安静 —— 强调只留在"还没做"的事上，
   一屏只留底部操作栏那一个深墨主操作。 */
html[data-visual-mode="minimal"] body.theme-liquid #appView .pipeline-row.done .pipeline-action {
  background:transparent!important;color:var(--muted)!important;box-shadow:none!important;
}

/* ==========================================================================
   收款记录的控件尺寸（2026-09-25 用户：「胶囊尺寸有问题，点击输入数额的框尺寸也有问题」）
   --------------------------------------------------------------------------
   实测原状：整行胶囊 314×66、**圆角 28**（那是卡片级圆角，所以整行读作一颗过大的胶囊），
   而里面的金额框只有 103×**34**、**圆角 10**（10 不在圆角表里）——
   一行里两个控件的圆角差 18px、高度差 32px，量感完全不搭。
   现在改成同一套尺度：整行 = 控件级圆角 16；金额框 = 输入级圆角 18 + **44px 触控下限**。
   行高由内容决定（10 + 44 + 10 ≈ 64），与原来基本持平，不会把页面撑长。
   ========================================================================== */
html[data-visual-mode="minimal"] body.theme-liquid #appView .payment-row {
  padding:10px 10px 10px 16px;border-radius:var(--radius-control)!important;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .payment-amount-editor {
  min-height:44px;border-radius:18px!important;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .payment-amount-editor input { width:64px; }

/* ==========================================================================
   「开始工作」弹层：文案精简为 灵感 / 选题 / 脚本 之后的排版（2026-09-25 用户：
   「内容改成灵感、选题、脚本，不要那么多字了，然后弹层页缩小排版尺寸」）
   --------------------------------------------------------------------------
   实测原状 248×179，三项各 55/56px 高（每项都是"标题 + 一行说明"的两行结构）。
   去掉说明行后按单行项收紧：项高 44（触控下限）、字号 14、面板宽 176
   （与触发按钮右端对齐，不再撑成半屏宽）。
   ========================================================================== */
html[data-visual-mode="minimal"] body.theme-liquid #appView .detail-sticky-actions .work-menu {
  width:min(176px,calc(100% - 16px))!important;padding:6px!important;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .detail-sticky-actions .work-menu>button {
  display:flex!important;align-items:center!important;gap:0!important;
  min-height:44px!important;padding:0 14px!important;font-size:14px;font-weight:600;
}

/* ==========================================================================
   灵感页两种模式的历史记录（2026-09-25 用户：「先把发散的单条视频和关键词探索的历史添加记录，
   像选题和写脚本那样，然后再修复这个bug」）
   --------------------------------------------------------------------------
   关键词探索早就有 data.inspirationSearches，但页面上一直只给"上一次结果"；单条视频分析更彻底——
   session 只活在内存里。现在两者都在各自卡片的表单下方挂一段历史，行式语言沿用选题/写脚本列表
   （标题 + 说明 + 箭头），并标注是否已关联项目，好让"这条属于哪个拍摄安排"一眼可见。
   ========================================================================== */
html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-history {
  display:grid;gap:6px;margin-top:18px;padding-top:14px;border-top:1px solid var(--minimal-line);
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-history h3 {
  margin:0 0 2px;font-size:13px;font-weight:600;color:var(--muted);
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-history-row {
  display:flex;align-items:center;gap:12px;width:100%;min-height:52px;padding:10px 12px;
  border:0;border-radius:var(--radius-control);background:var(--minimal-soft)!important;color:var(--ink)!important;
  text-align:left;box-shadow:none!important;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-history-row span { display:grid;gap:2px;flex:1;min-width:0; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-history-row strong {
  font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-history-row small { font-size:12px;color:var(--muted); }
html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-history-row i { flex:0 0 auto;color:var(--muted);font-style:normal;font-size:15px; }
@media (hover:hover) {
  html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-history-row:hover { background:var(--minimal-paper)!important; }
}

/* ==========================================================================
   灵感页交互细节收敛（2026-09-25，用户：「每个交互点击反馈也就是所有的细节设计，
   不动功能」）。只动呈现，不改 DOM、不改行为。逐点：
   A. 视频对话页状态芯片 —— .video-chat-status 与其 <i> 此前完全无样式，
      状态点零尺寸透明＝"可继续追问"前没有任何状态视觉。
   B. 错误卡 .video-chat-error —— 此前完全无样式（裸文本 + 裸按钮），与结果页
      .service-state.error 的错误卡不是一种语言；重试按钮也没有 44px 触控高度。
   C. 链接占位 .video-chat-link-pending / 等待提示 .video-chat-waiting（此前无样式）。
   D. 「查看视频内容记录」summary —— 此前是浏览器默认三角（list-item）、高 23px，
      低于 44px 触控标准，与全站细节不匹配。改成 chevron + 展开旋转过渡。
   E. 视频对话发送按钮 —— 此前是浏览器默认按钮脸（#efefef 底、16px 常规字重），
      与助手页 .send-message-button 的胶囊语言不一致，且 enabled/disabled 无状态差
      （disabled 时看不出"现在不能发"）。enabled=深墨胶囊，disabled=soft 灰。
   F. 结果页「直达原内容」链接 —— 此前是 muted 下划线文本（11px 字重 400），
      与右侧深墨胶囊「收纳为选题」主次失衡；升级为同尺寸的 soft 胶囊次按钮。
      圆角 16px 是对面按钮的实效值（base-layout 的 :is() 组 radius-control!important
      压过了 999px/23px，探针实测），不是自创值。
   G. 收纳为选题 —— 底色由 --minimal-ink（文字墨色 #202324）统一到 --minimal-dark
      （控件深墨 #2d3031，全站主按钮色），并补 hover 反馈（深墨族 hover=#191c1d）。
   H. 「重新筛选条件」「重试」（结果页）—— 补 hover 反馈与 44px 触控高度；
      refilter 此前背景是表外的 rgba(248,249,252,.46)（旧 glass-soft 残留）。
   I. 筛选弹层胶囊按压反馈 —— chip 是 label 包 radio，不是 button，
      全局 button:active 规则覆盖不到，这里补 opacity 按压（与全站 .72 语言一致）
      和未选中项的 hover。
   全部挂在 #appView / 完整主题前缀下并用 !important 压制既有 !important 组；
   动画已被文件内 prefers-reduced-motion 全局关闭覆盖。
   ========================================================================== */

/* A. 状态芯片：圆点 + 语义色；进行中（analyzing/handoff）呼吸 */
html[data-visual-mode="minimal"] body.theme-liquid #appView .video-chat-status { display:inline-flex;align-items:center;gap:6px;font-weight:600; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .video-chat-status i { width:8px;height:8px;flex:none;border-radius:50%;background:var(--minimal-ink); }
html[data-visual-mode="minimal"] body.theme-liquid #appView .video-chat-status.ready i { background:var(--green); }
html[data-visual-mode="minimal"] body.theme-liquid #appView .video-chat-status:is(.analyzing,.handoff) i { animation:insp-status-pulse 1.4s ease-in-out infinite; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .video-chat-status.error i { background:var(--danger); }
html[data-visual-mode="minimal"] body.theme-liquid #appView .video-chat-status.error { color:var(--danger); }
@keyframes insp-status-pulse { 0%,100% { opacity:.35;transform:scale(.82); } 50% { opacity:1;transform:scale(1); } }

/* B. 错误卡：与结果页 .service-state.error 同一套语言（同底/描边/文字色字面值） */
html[data-visual-mode="minimal"] body.theme-liquid #appView .video-chat-error { padding:16px 18px;border-radius:18px;background:#fff2f0;border:1px solid #efc8c3;color:#842d22; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .video-chat-error p { margin:0;font-size:12px;line-height:1.6; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .video-chat-error button { min-height:44px;margin-top:12px;padding:0 18px;border:1px solid currentColor;border-radius:22px;background:transparent;color:inherit;font-size:12px;font-weight:700;cursor:pointer; }
@media (hover:hover) {
  html[data-visual-mode="minimal"] body.theme-liquid #appView .video-chat-error button:not(:disabled):hover { background:rgba(255,255,255,.55); }
}

/* C. 链接占位与等待提示：降到元信息字级，不再与正文混排 */
html[data-visual-mode="minimal"] body.theme-liquid #appView .video-chat-link-pending { color:var(--muted);font-size:12px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .video-chat-waiting { display:block;margin-top:8px;color:var(--muted);font-size:12px;line-height:1.6; }

/* D. 视频内容记录 details：chevron 画法沿用 .stack-toggle（1.6px 右/下边框），
   闭合指右、展开转下；hover 用负边距让 pill 与白卡边缘齐平。 */
html[data-visual-mode="minimal"] body.theme-liquid #appView .video-chat-source summary { display:flex;align-items:center;gap:8px;min-height:44px;margin:-8px -12px;padding:8px 12px;border-radius:16px;list-style:none;cursor:pointer;transition:background-color .18s var(--motion-curve); }
html[data-visual-mode="minimal"] body.theme-liquid #appView .video-chat-source summary::-webkit-details-marker { display:none; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .video-chat-source summary::before { content:'';width:7px;height:7px;flex:none;margin-top:-2px;border-right:1.6px solid var(--ink);border-bottom:1.6px solid var(--ink);transform:rotate(-45deg);transition:transform .32s var(--motion-curve); }
html[data-visual-mode="minimal"] body.theme-liquid #appView .video-chat-source[open] summary::before { transform:rotate(45deg); }
@media (hover:hover) {
  html[data-visual-mode="minimal"] body.theme-liquid #appView .video-chat-source summary:hover { background:var(--minimal-soft); }
}

/* E. 发送按钮：enabled=深墨胶囊（=「可以发」的状态反馈），disabled=soft 灰 */
html[data-visual-mode="minimal"] body.theme-liquid #appView .video-chat-compose button[type="submit"] { display:inline-flex;align-items:center;justify-content:center;padding:0 18px;border-radius:22px!important;background:var(--minimal-dark)!important;color:#fff!important;font-size:14px;font-weight:650; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .video-chat-compose button[type="submit"]:disabled { background:var(--minimal-soft)!important;color:var(--muted)!important; }

/* F. 「直达原内容」：soft 胶囊次按钮，与「收纳为选题」构成一对主次动作 */
html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-actions a { justify-content:center;padding:0 18px;border-radius:16px!important;background:var(--minimal-soft)!important;color:var(--minimal-ink)!important;text-decoration:none!important;font-weight:650; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-actions > span { font-size:12px; }
@media (hover:hover) {
  html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-actions a:not(:disabled):hover { background:#e7e8eb!important; }
  html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-actions button:not(:disabled):hover { background:#191c1d!important; }
}

/* H. 重新筛选条件 / 结果页重试：hover 反馈 + 44px 触控 */
html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-refilter { background:var(--minimal-soft)!important;cursor:pointer; }
@media (hover:hover) {
  html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-refilter:not(:disabled):hover { background:#e7e8eb!important; }
  html[data-visual-mode="minimal"] body.theme-liquid #appView .service-state button:not(:disabled):hover { background:rgba(255,255,255,.6); }
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .service-state button { min-height:44px;padding:0 16px;border-radius:22px;font-size:12px;cursor:pointer; }

/* I. 筛选弹层胶囊：按压 opacity .72（label 不吃全局 button:active 规则）；
   未选中项 hover 白→soft，选中（深墨）不参与 hover 变色。 */
html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-filter-dialog .filter-chip:active input:not(:disabled) + span { opacity:.72; }
@media (hover:hover) {
  html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-filter-dialog .filter-chip:hover input:not(:disabled):not(:checked) + span { background:var(--minimal-soft); }
}

/* ==========================================================================
   灵感页细节收敛（第三批，2026-09-25）：收尾节奏与剩余 hover
   --------------------------------------------------------------------------
   J. 输入区紧凑化（见上面 .inspiration-input-wrap 原位块）——待定项①拍板。
   K. 结果页卡片 36px 双倍间距（gap 16 + margin 20）→ 卡 margin:0，间距由列表 gap 承担。
   L. 结果页 .inspiration-results-body 的 gap:14px 是表外值 → 16px（related 档）。
   M. 空错误行幽灵间距：.inspiration-entry-error 无内容时仍带 margin-top:10px
      （占位 0px 高 + 10px 空隙），:empty 时清零。（视频 tab 的错误行空时本来就不渲染，无此问题。）
   N. 加载态 .inspiration-loading 的背景是旧 glass-soft 残留（rgba(248,249,252,.46)）→ minimal-soft。
   O. 补齐首页剩余 hover：模式 tab 未选中项字色加深、说明入口底色加深。
   ========================================================================== */
html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-results-body { gap:16px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-entry-error:empty { margin-top:0; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-loading { background:var(--minimal-soft)!important; }
@media (hover:hover) {
  html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-mode-tabs button:not([aria-selected="true"]):hover { color:var(--minimal-ink); }
}

/* ==========================================================================
   灵感页细节收敛（第四批，2026-09-25，用户指定三处）
   --------------------------------------------------------------------------
   1. 删除页头右上角的「说明入口」（info button，用户称"感叹号"）：DOM 从 app.js 摘除，
      样式块与此前的 hover 规则一并删除，index.html 里已无引用的 SVG symbol
      `#inspiration-icon-info` 也删除（避免留死符号）。`inspiration-info` 动作分支保留在
      app.js（不可达，删它没有收益）。
   2. 删除两个输入框内的前置图标（用户称"ui 图标"）：`.inspiration-input-wrap` 里的
      link / search 图标摘除，对应的 `.inspiration-input-wrap .inspiration-ui-icon` 规则
      与 wrap 的 gap 一并删除；卡片标题上的图标（play/search）与按钮里的箭头保持不变。
   3. 曾将双层粗环收为容器单圈 2px；2026-09-28 用户要求所有此类文字输入
      都不出现黑框，故撤去容器焦点环。内层仍由 outline:0!important 压掉。
   ========================================================================== */
html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-input-wrap:focus-within {
  outline:none !important;
}

/* ==========================================================================
   填充面容器焦点样式（2026-09-28 更新：不显示黑框）
   --------------------------------------------------------------------------
   与灵感输入区同一套做法，覆盖同类的「填充面容器 + 内部输入」：
   · `.money-input`（拍摄表单的定金/尾款、手动补录账单的金额）
   · `.payment-amount-editor`（拍摄详情页的收款行）
   内层和容器都不绘制聚焦轮廓；保留浅色静息边界与文字光标。
   ⛔ 内层必须 `!important` —— 全站焦点组 `:is(button,a,input,textarea,select,summary,[contenteditable])`
   的特异性是 (0,4,2)，普通声明赢不了。
   ⚠️ **不加 `#appView` 前缀**：`.money-input` 位于 `#editorDialog`，而弹层挂在 `#appView` 之外。
   ========================================================================== */
html[data-visual-mode="minimal"] body.theme-liquid :is(.money-input,.payment-amount-editor):focus-within {
  outline:none !important;
  border-color:var(--minimal-line) !important;
}
html[data-visual-mode="minimal"] body.theme-liquid .payment-amount-editor:focus-within { box-shadow:none!important; }
html[data-visual-mode="minimal"] body.theme-liquid :is(.money-input,.payment-amount-editor) :is(input,textarea) { outline:0!important; }

/* Text roles for V2 now belong to typography.css (2026-10-20).
   Keep only established numeric display weights here. */
html[data-visual-mode="minimal"] body.theme-liquid .date-hero>div>strong {font-weight:700!important;}
html[data-visual-mode="minimal"] body.theme-liquid :is(.income-number,.ledger-total-value,.progress-copy>strong) {font-weight:700!important;}
html[data-visual-mode="minimal"] body.theme-liquid .ledger-stats>span>strong {font-size:16px!important;font-weight:700!important;}
html[data-visual-mode="minimal"] body.theme-liquid .bubble {font-size:14px!important;font-weight:400!important;line-height:1.75;}

/* 2026-09-25 顺手修：项目库筛选栏的「＋ 新建」（`.project-add-inline`）**白字白底**、
   整个按钮不可见（对比 1:1）。成因：`styles.css` 给它 `background:var(--ink); color:var(--paper)`，
   而本文件那条"控件一律不透明白"的 `:is()` 列表只把背景刷成白、**没有同步字色**。
   这不是本轮字级收敛引入的，是既有缺陷；补字色即可（同时它也吃到了 14/600 的控件档）。 */
html[data-visual-mode="minimal"] body.theme-liquid .project-add-inline { color:var(--ink)!important; }

/* 2026-09-25（用户：「日程页面的拍摄安排和日程安排字不一样大，把日程安排改成拍摄安排的字号」→
   随后定稿「两个都按 14/600 改」）：
   两张卡的标题本该同款，实测却是两种字——`workspace-polish.css` 给 `.agenda-card-heading h2` 与
   `.agenda-card-title` 都写了 11/700，但本文件的字级层把 span（.agenda-card-title）收成 11/600，
   h2 仍留在 700；且 h2 还带着全局 h2 的 `letter-spacing:-.035em`（实测 -0.385px），
   于是"拍摄安排"（span，白字、字距 normal）与"日程安排"（h2、深字、字距收紧）看起来不是一种字。
   定稿为**控件档 14/600 + 字距 normal**（与同屏归档卡的「全部日程」「全部项目库」标签同档，
   全屏四个区块标签就此统一；右侧计数仍按元信息档 11/400，见下一条）。 */
html[data-visual-mode="minimal"] body.theme-liquid #appView :is(.agenda-card-heading>h2, .agenda-card-title) {
  font-size:14px!important; font-weight:600!important; letter-spacing:normal!important; line-height:1.4!important;
}
/* ⚠️ 必须带 `#appView`：字级层的 T5 分组用的是 `:is()` 长列表，`:is()` 取**参数中最高特异性**，
   整组因此是 (0,4,3)；不带 ID 的同级写法只有 (0,3,3)，会被它压回 11px（本项目第 5 次踩这个坑）。 */
/* 同一次修正：右侧计数（「1 个节点」/「消息提醒 · 0」）是元信息，按阶梯回到 11/400
   （原 workspace-polish 就是 400 + opacity .75；字级层按 `.agenda-card-heading>span`
   把它一并抬到 600，抹掉了"标签 600 / 元信息 400"的层级。用 :last-child 精确指到它，
   避免打到同为 span 的 .agenda-card-title）。 */
html[data-visual-mode="minimal"] body.theme-liquid .agenda-card-heading>span:last-child {
  font-size:11px!important; font-weight:400!important;
}

/* 2026-09-25（用户：「『还没有提醒。点击周 / 月旁边的加号添加。』这个是提示词，改成半透明」）：
   日程页的空白态提示 `.daily-empty` 原先是不透明的 muted 灰（实测 5.53:1），读起来像正文。
   定为**提示词**：保留 muted 字色、叠加 opacity——半透明让它退到"说明"层级，不再与卡片内容争注意力。
   ⚠️ 半透明会等比降低对比度：实测本值下约 **3.2:1**（低于小字 4.5:1 的阈值）。
   这是有意的层级取舍（提示词不是必读内容）；若要回到可读阈值，把 opacity 去掉即可恢复 5.53:1。 */
html[data-visual-mode="minimal"] body.theme-liquid #appView .daily-empty { opacity:.72; }
/* 2026-09-25（用户：「它跟日程安排也没对齐」）：同一张卡里，标题行走 `.daily-list>.agenda-card-heading`
   的 `padding-inline:4px`（文字左缘实测 x=36），而提示 `.daily-empty` 只有 2px 内边距（文字左缘 x=34）
   → 差 2px。给提示补到同一个 4px，两者文字左缘对齐（均 36）。 */
html[data-visual-mode="minimal"] body.theme-liquid #appView .daily-list>.daily-empty { padding-inline:4px; }

/* ==========================================================================
   卡片收紧：把被新字级撑高的卡片收回原高度（2026-09-25，用户「修改后卡片该缩紧的缩紧」）
   --------------------------------------------------------------------------
   依据＝**改前/改后实测对比**（把 `minimal-theme.css.pre-typescale` 临时换回来各量一遍再 diff），
   只动**确实变高的 7 张卡**；同一批里变矮的（灵感卡 -6、选题卡 -6、账本 hero -6、里程碑 -3、
   应收 -2）一律不动。每处都用间距表内的值（8/12/16/20），并逐张复测高度。
   ⚠️ 这 7 张卡的「空档」（高度 − 内容 − 内边距）实测都 ≈0，所以收紧靠**缩内边距/最小高度**，
   不是补空白——字号变大是内容真的更高，只能从盒子本身省。 */
html[data-visual-mode="minimal"] body.theme-liquid .stitch-schedule .shoot-card { padding:16px!important; }            /* 187 → ~181（原 180） */
html[data-visual-mode="minimal"] body.theme-liquid .projects-page .shoot-card,
html[data-visual-mode="minimal"] body.theme-liquid .project-list .shoot-card { padding:16px!important; }             /* 147 → ~141（原 138） */
html[data-visual-mode="minimal"] body.theme-liquid .archive-tile { padding:12px 14px!important; }                    /* 110 → ~102（原 104） */
html[data-visual-mode="minimal"] body.theme-liquid .daily-list { padding-top:12px!important; }                       /* 112 → ~108（原 108） */
html[data-visual-mode="minimal"] body.theme-liquid .account-feature-card { padding:16px!important; }                 /* 107 → ~99（原 101） */
html[data-visual-mode="minimal"] body.theme-liquid .membership-entry { padding:16px!important; }                     /* 107 → ~99（原 98） */
html[data-visual-mode="minimal"] body.theme-liquid .script-library-card { padding:20px!important; }                  /* 203 → ~195（原 200） */
html[data-visual-mode="minimal"] body.theme-liquid .membership-plan { padding:20px!important; min-height:96px!important; } /* 112 → ~96（原本就 12px 空档） */

/* ==========================================================================
   选题页 / 写脚本页：卡片密度收紧（2026-09-25，用户「选题和写脚本的卡片都太大了，缩紧50%」）
   --------------------------------------------------------------------------
   实测（真实夹具，playwright 逐元素量）：
     选题卡 187.5px（带分类+描述）/ 150.4px（无描述） · 脚本库卡 195.2px · 新建脚本 hero 112px
   卡片高度 = **内边距 ×2 + 内容高度 + 内部间距**。其中内容高度由字级表锁定
   （标题 21/1.4 = 29.4、正文 16/1.6、元信息 11），不可压缩 ⇒ 能动的只有内边距与内部间距，
   收紧空间上限约 −20~25%。**要再往下只能删信息行（改信息结构），未做**。
   另：hero 的内容自然高只有 91px，min-height 写死 112 ⇒ 21px 是纯空白（本轮直接取掉）。

   定稿（除注明外全部取间距表内的 8 / 12 / 16 档）：
     · 卡内边距 24（选题）/ 20（脚本）→ **16**，两张卡统一到同一档（原先 24 vs 20 本身就不一致）
     · 选题卡标题上下 14/6 → **8/6**；描述行下 12 → **8**
     · 底栏分隔线上方 20/24 → **12**、线下方 16 → **12**
     · 列表卡间距 16 → **12**
     · hero 内边距 20/24 → **16**（与卡片文字左缘对齐）、min-height 112 → **88**、下外边距 24 → 16
     · 脚本卡摘要行 line-height 1.8 → **1.6**（DESIGN.md §Typography 的「正文 16/1.6」；1.8 是长脚本正文的规格）
     · 顺带补一处**表外字号**：`.topic-card-top span`（分类胶囊）此前是 9px（唯一漏网的一处，
       因为盘点夹具里的选题没有分类、胶囊无文字所以没被采到），与 `.script-kind` 统一到 **11/600**
   ⚠️ 用 `#appView` 前缀：这些属性的赢家是 `html[data-vm] body.theme-liquid :is(...)`（(0,2,2)），
      同级靠后本可赢，但字级层的 `:is()` 长列表会把同组抬高，故沿用项目既有的 ID 前缀标配。
   ========================================================================== */
html[data-visual-mode="minimal"] body.theme-liquid #appView :is(.topic-card, .script-library-card) { padding:16px!important; }

/* 选题卡内部节奏 */
html[data-visual-mode="minimal"] body.theme-liquid #appView .topic-card>strong { margin:8px 0 6px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .topic-card>p { margin:0 0 8px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .topic-card-foot { margin-top:12px!important;padding-top:12px!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .topic-card-top span { font-size:11px!important;font-weight:600!important; }

/* 脚本卡内部节奏 */
html[data-visual-mode="minimal"] body.theme-liquid #appView .script-library-card>p { line-height:1.6; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .script-library-card>div { margin-top:12px!important;padding-top:12px!important; }

/* 新建脚本 hero */
html[data-visual-mode="minimal"] body.theme-liquid #appView .new-script-hero { min-height:88px!important;padding:16px!important;margin-bottom:16px!important; }

/* 列表卡间距 16 → 12 */
html[data-visual-mode="minimal"] body.theme-liquid #appView :is(.topic-grid, .script-library-list) { gap:12px!important; }
/* 同批修一处**既有残留**：`.new-script-hero>b` 在旧绝对定位方案里靠 `top:50%;transform:translateY(-50%)`
   做垂直居中；本主题早已把它改回 `position:static`，但那句 transform 没删干净 —— 卡片高度 112 时
   靠余量掩盖着（按钮实际贴在卡片内边距上方 11.5px），压到 88px 后**直接顶出卡片上沿 3.5px**。
   清掉残留 transform、改用 grid 自身居中（实测 22..66，完全落在 16..72 的内容盒内）。 */
html[data-visual-mode="minimal"] body.theme-liquid #appView .new-script-hero>b { transform:none!important;align-self:center; }

/* ==========================================================================
   选题页 / 写脚本页：字号对齐「日程安排卡」+ 再收一档内边距（2026-09-25 第二轮，
   用户「还可以再缩小，字体大小按照日程安排卡片去修改」）
   --------------------------------------------------------------------------
   参照实现实测（`.daily-list` 日程安排卡，padding 12px 16px 10px，高 172.6）：
     区块标题 14/600 · **行标题 14.5/700（line-height 1.45）** · 元信息 11/400 · 尾部箭头字形 20/400
   ⚠️ 那处 **14.5px 不在我们 2026-09-25 收敛出的 5 档字级表内**（表为 34/21/16/14/11），
      属日程卡的冻结旧值（DESIGN.md 的 Frozen Information Rule 以实际应用为基线）。
      这里取**表内同义的 14**（与 14.5 的 0.5px 差肉眼不可辨），不把表外值扩散到别的页面；
      日程卡那处保持冻结、未动。→ 因此两张卡的字号 = 14/700 标题 + 11 元信息。

   本页映射（逐项对应参照卡）：
     · 卡标题 21/600 → **14/700（lh 1.45）** ＝ 参照卡的「行标题」档
     · 脚本摘要 16/1.6 → **14/1.6**（参照卡最大正文档就是 14 档，没有再大的正文）
     · 选题描述 11/1.65 → 11/**1.6**（保留尺寸，只统一行高）
     · 底栏「状态」→ **11/400**（元信息，对齐参照卡元信息字重）；「查看想法 ↗」→ 11/600（动作）
     · 新建脚本 hero 标题 21 → **14/700**（与卡标题同档）
     · 卡内边距再收：上下 16 → **12**（左右保持 16，与参照卡的 `12px 16px` 同构）
     · 底栏分隔线上下 12/12 → **8/8**；hero min-height 88 → **68**（＝内容 43 + 内边距 24，
       与 44px 圆钮 + 24 等值，无空白）
   累计（含上一轮）：选题卡 187.5 → 约 131（−30%）· 脚本卡 195.2 → 约 126（−35%）· hero 112 → 68（−39%）
   ========================================================================== */
html[data-visual-mode="minimal"] body.theme-liquid #appView :is(.topic-card, .script-library-card) { padding:12px 16px!important; }

/* 标题 → 参照卡行标题档 */
html[data-visual-mode="minimal"] body.theme-liquid #appView .topic-card>strong,
html[data-visual-mode="minimal"] body.theme-liquid #appView .script-library-card>strong {
  font-size:14px!important; font-weight:700!important; line-height:1.45!important;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .new-script-hero>span {
  font-size:14px!important; font-weight:700!important; line-height:1.45!important;
}
/* 正文/摘要 → 14/1.6（参照卡没有更大的正文档） */
html[data-visual-mode="minimal"] body.theme-liquid #appView .script-library-card>p { font-size:14px!important; line-height:1.6!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .topic-card>p { line-height:1.6!important; }
/* 底栏：状态＝元信息 400，动作＝600 */
html[data-visual-mode="minimal"] body.theme-liquid #appView .topic-card-foot>span { font-size:11px!important; font-weight:400!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .topic-card-foot>b { font-size:11px!important; font-weight:600!important; }
/* 分隔线上下再收一档 */
html[data-visual-mode="minimal"] body.theme-liquid #appView .topic-card-foot { margin-top:8px!important; padding-top:8px!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .script-library-card>div { margin-top:8px!important; padding-top:8px!important; }
/* hero：内容定高，去掉空白余量 */
html[data-visual-mode="minimal"] body.theme-liquid #appView .new-script-hero { min-height:68px!important; padding:12px 16px!important; }

/* ==========================================================================
   我的页 / 会员权益 / AI 助手 / 账号卡片：并入「紧档」+ 创作账单改深墨黄
   （2026-09-25 用户：「我的页面，会员权益，AI助手。账号卡片都一起改下」+「创作账单就改成跟
     拍摄安排一样的大小然后黑黄的样式」）
   --------------------------------------------------------------------------
   参照物（实测）· 拍摄安排卡 `.shoot-card`：高 **181**、宽 370、padding 16、radius 28、
     底 `#2d3031`(rgb 45,48,49)、字色 rgb(248,249,247)；卡内节奏 =
     标题行 19.6（14/600 白 + 11/400 浅灰）→ 标签行 22（11/600，未选 `rgba(255,255,255,.10)`／
     选中 **黄 `#F4B95F` 底 + 深字 `#202324`**）→ 标题 29.4（21/600 近白）→ 进度 13（黄 `b`）→
     页脚 17（11/400 浅灰 + 11/600 黄）。**黄色只用于进度与时间提示**（DESIGN.md 既有约定）。

   本批定稿：
   ① 我的页三张卡（`.membership-entry`、`.ai-entry-card`、云账号 `.account-feature-card`）
      与会员页（`.membership-hero`、`.membership-plan`、`.membership-benefits`）
      并入紧档：卡内边距 → `12px 16px`、卡标题 → 14/700（lh1.45）、元信息 → 11/400、卡间距 → 12。
   ② 账号卡片 `.profile-header`（不是卡、是页头区块）：名字 21/600 → **16/700**（表内「16 档 + 加粗」），
      说明 14 → 11/400，下外边距 28 → 20。⚠️ 名字**没有**降到 14：它是 64px 头像旁的账号名，
      降到 14 会比头像矮一档、失去主体感；16/700 是表内档，是本批唯一"不照搬 14"的判断项。
   ③ AI 助手页的表外字号收尾：状态条 `small` **12 → 11/400**、状态条 `span` → 14/600、
      发送按钮 **12/700 → 14/600**（全站 12px 至此清零）。
   ④ **创作账单 `.income-spotlight` 改深墨黄并与拍摄卡同尺寸**：底 `#2d3031`、白字、黄色只给
      「¥」符号、「查看明细 ›」与选中态；头部改成拍摄卡那种**单行标题 + 浅灰元信息**，
      月度/年度 由 48px 的浅色段控件改成深卡上的**小胶囊**（视觉 22px，与 `.shoot-tags` 同款；
      按钮盒高 30px —— **这是本批唯一低于 44px 触控下限的控件**，是"压到与拍摄卡同高"的代价，
      若要保留 44 请说，代价是卡片高回 ~198）。「查看明细」按钮保持 44px 触控不动。
      实测：244 → 约 184（拍摄卡 181，差 3px）。
   ========================================================================== */

/* ① 我的页 / 会员页 卡片并入紧档 */
html[data-visual-mode="minimal"] body.theme-liquid #appView :is(.membership-entry, .account-feature-card, .membership-plan, .membership-benefits) { padding:12px 16px!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .membership-hero { padding:12px 16px!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView :is(.membership-entry>span>strong, .account-feature-card>span>strong) { font-size:14px!important; font-weight:700!important; line-height:1.45!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView :is(.membership-entry, .account-feature-card) { gap:12px!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .account-feature-card>span>em,
html[data-visual-mode="minimal"] body.theme-liquid #appView .membership-plan>em { font-size:11px!important; font-weight:400!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .membership-benefits>span { padding:6px 10px!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .redesigned-mine :is(.membership-entry, .account-feature-card, .income-spotlight) { margin-bottom:12px!important; }

/* ② 账号卡片（页头区块） */
html[data-visual-mode="minimal"] body.theme-liquid #appView .profile-header { margin-bottom:20px!important; gap:4px 12px!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .profile-header>h2 { font-size:16px!important; font-weight:700!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .profile-header .account-caption { font-size:11px!important; font-weight:400!important; }

/* ③ AI 助手页表外字号收尾（12px 全站清零） */
html[data-visual-mode="minimal"] body.theme-liquid #appView .assistant-chat-status>small { font-size:11px!important; font-weight:400!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .assistant-chat-status>span { font-size:14px!important; font-weight:600!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .assistant-chat-compose .send-message-button { font-size:14px!important; font-weight:600!important; }

/* ④ 创作账单：深墨 + 黄（照拍摄卡的卡面语言） */
html[data-visual-mode="minimal"] body.theme-liquid #appView .income-spotlight {
  padding:16px!important;
  /* 2026-09-25：与拍摄卡同步升级为「暗部地板色 + 左上柔光」的对角光影（同族令牌）。 */
  background-color:var(--dark-card-floor)!important;
  background-image:var(--dark-card-sheen)!important;
  color:#fff!important;
  -webkit-backdrop-filter:none!important; backdrop-filter:none!important;
  box-shadow:0 18px 40px rgba(17,19,21,.18)!important;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .income-spotlight .ledger-overview-head { margin-bottom:8px!important; align-items:center; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .income-spotlight .ledger-overview-head>div:first-child { display:flex; flex-direction:row-reverse; align-items:baseline; justify-content:flex-end; gap:8px; min-width:0; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .income-spotlight .ledger-overview-head p { margin:0!important; font-size:11px!important; font-weight:400!important; color:rgba(255,255,255,.66)!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .income-spotlight .ledger-overview-head strong { font-size:14px!important; font-weight:600!important; color:#fff!important; }
/* 月度/年度：视觉 22px 胶囊（同 .shoot-tags），按钮盒 30px */
html[data-visual-mode="minimal"] body.theme-liquid #appView .income-spotlight .segment { background:transparent!important; padding:0!important; gap:6px!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .income-spotlight .segment button {
  position:relative; z-index:0; height:30px!important; min-height:0!important; padding:0 10px!important;
  background:transparent!important; border-radius:0!important;
  font-size:11px!important; font-weight:600!important; color:rgba(255,255,255,.72)!important;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .income-spotlight .segment button::before {
  content:''; position:absolute; left:0; right:0; top:4px; bottom:4px; z-index:-1;
  border-radius:999px; background:rgba(255,255,255,.10);
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .income-spotlight .segment button.active { color:#202324!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .income-spotlight .segment button.active::before { background:var(--minimal-accent); }
/* 数字：44/700 **黄**（用户「账单的大金额改成黄色」；黄 `#F4B95F` 在深墨 `#2d3031` 上实测
   对比 **7.7:1**，远超 4.5 阈值）。这是本项目首次把黄色用于"数值主角"——此前黄只给进度与
   时间提示；因这张卡本身就是深墨底、金额是唯一主角，与拍摄卡的黄用法同源（强调唯一重点）。 */
html[data-visual-mode="minimal"] body.theme-liquid #appView .income-spotlight .income-number { margin:8px 0!important; font-size:44px!important; font-weight:700!important; color:var(--minimal-accent)!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .income-spotlight .income-number>small { font-size:14px!important; font-weight:600!important; color:var(--minimal-accent)!important; }
/* 页脚：浅灰元信息 + 黄色动作，分隔线用半透明白 */
html[data-visual-mode="minimal"] body.theme-liquid #appView .income-spotlight .ledger-overview-foot { margin-top:8px!important; padding-top:8px!important; border-top:1px solid rgba(255,255,255,.12)!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .income-spotlight .ledger-overview-foot>span { font-size:11px!important; font-weight:400!important; color:rgba(255,255,255,.66)!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .income-spotlight .ledger-overview-foot>button { font-size:11px!important; font-weight:600!important; color:var(--minimal-accent)!important; }

/* ---- 补收（诊断后）：三张卡是被写死的 min-height 撑住的，不是内容高 ----
   · `.account-feature-card` min-height:100 → **82**（＝内容 58 + 内边距 24；AI 卡与云账号卡
     内容行数不同，故用统一下限保持列表等高，不用 auto）
   · `.membership-plan` min-height:96 → **0**（96 是上一轮我为"消空档"设的下限，现在它反而
     把两个 grid 行撑到各 34px；放开后行高等内容，96 → 约 65）
   · `.membership-benefits` 容器内边距改 `0 16px`（chip 自身已有 6/10 内边距，双层内边距是重复的）
   · `.assistant-chat-status` 内边距 16/20 → **12/16**（与全站紧档同构） */
html[data-visual-mode="minimal"] body.theme-liquid #appView .account-feature-card { min-height:82px!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .membership-plan { min-height:0!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .membership-benefits { padding:0 16px!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .assistant-chat-status { padding:12px 16px!important; }

/* ==========================================================================
   选题页输入区：灰 → 深墨（2026-09-25 用户「选题页面的输入框灰色改成黑色」）
   --------------------------------------------------------------------------
   实测现状（`.topic-quick-add`，高 60）：容器底 `rgb(241,242,244)` soft 灰、radius 20、内边距 8；
   内层 `input` 是一颗**白色胶囊**（44px/radius 18）；右侧「添加」是半透明白底钮（`rgba(255,255,255,.64)`）。
   用户看到的"灰"＝**容器那层 soft 底**（白胶囊浮在灰底上）。

   定稿：容器 → `#2d3031`（与拍摄卡/创作账单同一深墨令牌）；内层输入改为**透明**（否则深底上仍是一颗白胶囊，
   "输入框"看着还是白的）；文字与光标改白/黄；「添加」保留"浅色按钮"的原意 → **实心白底 + 深墨字**。
   ⚠️ **焦点环随之搬家**：填充面从 input 移到了容器，按本项目既定规则（「填充面容器 + 内部可聚焦控件
   只画贴边一圈」）改成**容器 `:focus-within` 2px 描边、贴边 offset 0**，内层 `outline:0`。
   环色取**白**（深底上才可见；站内浅底用的是墨环，此处是它的反相）。
   ⚠️ **同页同族的 `.topic-search-panel` 一并改**（它同属"soft 容器 + 白胶囊输入 + 关闭钮"，
   只改一处会让同页两个输入区长成两种样子）。`×` 关闭钮随之改浅色。
   ========================================================================== */
html[data-visual-mode="minimal"] body.theme-liquid #appView :is(.topic-quick-add, .topic-search-panel) {
  background:var(--minimal-dark)!important;
  color:#fff!important;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView :is(.topic-quick-add, .topic-search-panel) input {
  background:transparent!important;
  color:#fff!important;
  caret-color:var(--minimal-accent);
}
html[data-visual-mode="minimal"] body.theme-liquid #appView :is(.topic-quick-add, .topic-search-panel) input::placeholder {
  color:rgba(255,255,255,.66)!important; opacity:1;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .topic-quick-add button {
  background:#fff!important; color:var(--minimal-dark)!important;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .topic-search-panel>button { color:rgba(255,255,255,.72)!important; }
/* 焦点环：容器贴边一圈（白），内层清零 */
html[data-visual-mode="minimal"] body.theme-liquid #appView :is(.topic-quick-add, .topic-search-panel)>input:focus-visible { outline:0!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView :is(.topic-quick-add, .topic-search-panel):focus-within {
  outline:2px solid #fff; outline-offset:0;
}
/* 修正（截图发现）：`.topic-search-panel>button`（× 关闭钮）**自有白底**，我只改了字色 ⇒
   白底 + 白字 = 隐形（截图里就是一个空白圆块）。改为深卡上的半透明胶囊 + 白字，
   与 `.shoot-tags` 同款；「添加」仍保持实心白（页面里的主动作只有它一个）。 */
html[data-visual-mode="minimal"] body.theme-liquid #appView .topic-search-panel>button {
  background:rgba(255,255,255,.12)!important;
  color:#fff!important;
}

/* 修正（用户：「输入想法的内胶囊不要改成黑色啊，是白色」）：
   上一轮把内层输入也改成透明、按钮改成实心白 —— 用户要的是**只有外层容器变深墨，
   内胶囊保持原来的白色**。此处把内胶囊／按钮／关闭钮还原成浅底时代的原样，
   只保留容器的深墨底（用户点名的就是那一层）。
   焦点环：内胶囊又是"可见填充面"了，环回到它身上；但**不能用站内的墨环**——那圈会落在
   深墨容器上、看不见。改用**黄 2px 贴边**（在深底与白胶囊上都清晰，且与黑黄同源）。 */
html[data-visual-mode="minimal"] body.theme-liquid #appView :is(.topic-quick-add, .topic-search-panel) input {
  background:#fff!important;
  color:var(--minimal-ink)!important;
  caret-color:var(--accent-purple-ink);
}
html[data-visual-mode="minimal"] body.theme-liquid #appView :is(.topic-quick-add, .topic-search-panel) input::placeholder {
  color:var(--muted)!important; opacity:1;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .topic-quick-add button {
  background:rgba(255,255,255,.64)!important;
  color:var(--minimal-ink)!important;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .topic-search-panel>button {
  background:#fff!important;
  color:var(--minimal-ink)!important;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView :is(.topic-quick-add, .topic-search-panel)>input:focus-visible {
  outline:2px solid var(--minimal-accent)!important; outline-offset:0!important;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView :is(.topic-quick-add, .topic-search-panel):focus-within { outline:0!important; }

/* 同批修正：`.topic-search-panel` 原本 `padding:0`、radius 28，内层白胶囊**贴着容器边**，
   于是容器改深墨后根本看不见（只剩一丝黑边，截图对比很明显）。给它补上与 `.topic-quick-add`
   同构的 `padding:8px` + radius 20（radius 表里 `search = 20`），两个输入条从此同一形态：
   深墨框 60px + 内层白胶囊 44px + 右侧浅色按钮。 */
html[data-visual-mode="minimal"] body.theme-liquid #appView .topic-search-panel {
  padding:8px!important;
  border-radius:20px!important;
}

/* 2026-09-25 用户「旁边的添加按钮不要灰色就白色黑字」：
   「添加」原为 `rgba(255,255,255,.64)`，压在深墨容器上合成出**浅灰**（约 rgb(179,180,181)），
   用户要的是**实心白 + 黑字**。与深底上"唯一实心浅色件"的用法一致。 */
html[data-visual-mode="minimal"] body.theme-liquid #appView .topic-quick-add button {
  background:#fff!important;
  color:var(--minimal-ink)!important;
}

/* ==========================================================================
   深墨卡的哑光「对角光影」+ 项目库拍摄卡并入深墨族（2026-09-25）
   --------------------------------------------------------------------------
   用户给了张参考黑卡（Worldcoin 风格）：「黑色卡片改成这种可以吗」→ 先出对照预览（不改文件）
   → 指出「参考图是带点光影渐变的感觉的你没做出来」（第一版只拟合了逐行纵向剖面）
   → 改按**二维光场**重新拟合 → 用户「可以，就是项目库卡片的字要改成白色」＝批准落地。

   【怎么复刻的】把参考图切成 8×8 网格、每格取「排除高亮像素后的中位亮度」得到光场，
     发现它是**对角光**：光从左上打下、向右下衰减，约 65% 处触底后**保持同一暗值**平坦
     —— 不是「上浅下深」。用平均绝对差当拟合指标：
       平色 #2d3031 = 13.2 阶 → 本方案 = **5.9 阶**（另测两档 6.2 / 8.4 均不如它）。
   【公式】`background-color: 暗部地板色` + `background-image: 左上白色柔光 radial-gradient`。
     白 alpha 衰减到 0 会自然露出地板色，参考图右下那片「触底平坦区」由此天然成立，
     比堆 3–4 段 linear-gradient 更准也更短。
   【没有引入新颜色】地板 `#191c1d` 与 `#2d3031` 都取自既有「深色族」（前者 ≈ 参考图底部
     #181a1b、后者 ≈ 参考图顶部 #313334），渐变两端全在族内。

   ⚠️ 三条边界（别顺手扩张）：
   1. **只给「卡片」加光影**：`#2d3031` 还被主操作按钮、导航选中项、周历/月历选中、选题页输入区
      外框使用 —— 若把渐变写进 `--minimal-dark` 令牌本身，那些**控件**也会变成渐变黑。
      所以光影只声明在这两张卡的选择器上，`--minimal-dark` 一字未动。
   2. **进度轨道高度不动**：项目库卡保留原有 4px（README 约定「日程首页拍摄卡与项目详情进度条
      为 8px、其他拍摄卡保留 4px」），本次只换颜色，不改高度。
   3. **减少透明度/高对比模式仍走深墨实底**：既有 `prefers-reduced-transparency` 分支已覆盖，
      它用 `background:var(--minimal-dark)` 简写把 background-image 一并重置回 none。
   ========================================================================== */

/* 令牌：暗部地板色 + 左上柔光 */
html[data-visual-mode="minimal"] body.theme-liquid {
  --dark-card-floor:#191c1d;
  --dark-card-sheen:radial-gradient(165% 135% at 0% 0%, rgba(255,255,255,.185) 0%, rgba(255,255,255,.075) 42%, rgba(255,255,255,0) 72%);
}

/* 项目库拍摄卡：白玻璃 → 与拍摄卡/创作账单同族（用户逐次点名）。
   ⚠️ 本文件上方那条「项目库使用与日程安排一致的高可读内容卡，不再沿用深色拍摄主卡」的注释
   描述的是**旧状态**，已被本段按用户要求推翻（同一条规范约束已同步到 DESIGN.md 与 README）。 */
html[data-visual-mode="minimal"] body.theme-liquid #appView .project-list .project-card {
  background-color:var(--dark-card-floor)!important;
  background-image:var(--dark-card-sheen)!important;
  color:#fffefa!important;
  box-shadow:0 18px 32px rgba(15,17,18,.2)!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
/* 卡内文字逐项对齐日程拍摄卡的深卡语言（用户：「项目库卡片的字要改成白色」）。
   白色标题 / 浅灰信息 / 半透明白标签 / 黄进度与时间提示 —— 与参照卡同值，不自创。 */
html[data-visual-mode="minimal"] body.theme-liquid #appView .project-list .project-card > strong { color:#fffefa!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .project-list .project-card > small { color:#c9cece!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .project-list .project-card .shoot-tags span { background:rgba(255,255,255,.14)!important; color:#f6f7f3!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .project-list .project-card .shoot-tags .shoot-tag-order { background:var(--minimal-accent)!important; color:var(--minimal-ink)!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .project-list .project-card .shoot-progress > b,
html[data-visual-mode="minimal"] body.theme-liquid #appView .project-list .project-card .card-countdown { color:var(--minimal-accent)!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .project-list .project-card .card-countdown::before { color:rgba(255,255,255,.5)!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .project-list .project-card .shoot-progress > span { background:rgba(255,255,255,.17)!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .project-list .project-card .shoot-progress > span i { background:var(--minimal-accent)!important; }

/* ==========================================================================
   底部导航图标：统一到同一个 20×20 图标盒 + 重画「灵感 / 选题」
   （2026-09-25 用户：「导航栏的灵感和选题图标修改下，现在是一样的，而且图标还不一样大尺寸不同步」）
   --------------------------------------------------------------------------
   实测（改前）：五个图标外框各不相同 —— 日程 16.8×15.1、灵感 15.5×15.5、选题 16.3×17.2、
   脚本 13.8×16.3、我的 17.2×17.2。根因：每个 tab 在 `styles.css` 里各自覆写了 `.nav-icon`
   的 width/height（20×18 / 18×18 / 19×20 / 16×19 / 20×20），再乘统一的 `scale(.86)`
   （选中项 `.84`）。而「灵感」与「选题」的画法都是「圆形轮廓 + 内部半透明点 + 底部一条线」，
   所以看着一样。

   定稿：
     · **统一图标盒**：所有 `.nav-icon` 回到 20×20（未选中显示 17.2、选中 16.8 —— 差异来自
       刻意的选中态缩放，保留不动）。
     · **灵感 → 灯泡**（圆泡 + 灯头 + 底座线）；**选题 → 清单**（三个圆点 + 三行）。
       其余三个保持原语言：日历 / 文档 / 人形。
     · 图形改画到 `::before` / `::after` / `i` 上（原来画在 `.nav-icon` 自身，盒子一统一就画不进去）。

   ⚠️ 两条实现坑（本轮都踩过）：
     1. **必须先「清空再声明」**：旧规则给同一个伪元素留了 `background`/`opacity`/`bottom` 等
        （灵感旧的 `::before` 是 `background:currentColor; opacity:.24` 的内点；选题旧的
         `::after` 带 `bottom:-2px`）。只改尺寸和描边，会留下「浅灰实心圆」和「被拉伸的点」。
     2. **清空块与具体声明要同时写 `!important`**，否则清空块会把 `border-radius`/`width` 压掉
        （第一版因此把所有图形变成了方框）。同权重时按特异性比较，带 `[data-tab]` 的具体规则赢。
        ⚠️ 另：`box-shadow` 的多值声明里 `!important` 只能写在**整条末尾** —— `A!important,B!important`
        是无效语法、整条会被丢弃（第二版就把清单的后两行弄没了）。
   ========================================================================== */

/* ---- ① 清空：把每个 tab 遗留的尺寸/边框/底色/内点清掉，树一个统一的 20×20 图标盒 ---- */
html[data-visual-mode="minimal"] body.theme-liquid .tab .nav-icon {
  position:relative!important; inset:auto!important;
  width:20px!important; height:20px!important; margin:0!important;
  border:0!important; border-radius:0!important;
  background:transparent!important; box-shadow:none!important; opacity:1!important;
}
html[data-visual-mode="minimal"] body.theme-liquid .tab .nav-icon::before,
html[data-visual-mode="minimal"] body.theme-liquid .tab .nav-icon::after,
html[data-visual-mode="minimal"] body.theme-liquid .tab .nav-icon i,
html[data-visual-mode="minimal"] body.theme-liquid .tab .nav-icon i::before,
html[data-visual-mode="minimal"] body.theme-liquid .tab .nav-icon i::after {
  position:absolute!important; inset:auto!important;
  border:0!important; border-radius:0!important;
  background:transparent!important; box-shadow:none!important; opacity:1!important;
  transform:none!important; content:""!important;
}

/* ---- ② 各图标图形（统一 1.6px 描边，全部在 20×20 盒内） ---- */
/* 日程：日历 */
html[data-visual-mode="minimal"] body.theme-liquid .tab[data-tab="schedule"] .nav-icon::before { left:1px!important; top:3px!important; width:18px!important; height:15px!important; border:1.6px solid currentColor!important; border-radius:4px!important; }
html[data-visual-mode="minimal"] body.theme-liquid .tab[data-tab="schedule"] .nav-icon::after  { left:1px!important; top:7.6px!important; width:18px!important; height:0!important; border-top:1.6px solid currentColor!important; }
html[data-visual-mode="minimal"] body.theme-liquid .tab[data-tab="schedule"] .nav-icon i { left:4.5px!important; top:1px!important; width:2px!important; height:4px!important; border-radius:2px!important; background:currentColor!important; box-shadow:9.5px 0 0 currentColor!important; }

/* 灵感：灯泡（原为圆形轮廓 + 内点 + 底线，与选题雷同） */
html[data-visual-mode="minimal"] body.theme-liquid .tab[data-tab="inspiration"] .nav-icon::before { left:3.5px!important; top:1px!important; width:13px!important; height:13px!important; border:1.6px solid currentColor!important; border-radius:50%!important; }
html[data-visual-mode="minimal"] body.theme-liquid .tab[data-tab="inspiration"] .nav-icon::after  { left:6.5px!important; top:13.4px!important; width:7px!important; height:3.6px!important; border:1.6px solid currentColor!important; border-top:0!important; border-radius:0 0 2px 2px!important; }
html[data-visual-mode="minimal"] body.theme-liquid .tab[data-tab="inspiration"] .nav-icon i { left:7.8px!important; top:18.4px!important; width:4.4px!important; height:0!important; border-top:1.6px solid currentColor!important; }

/* 选题：清单（三个圆点 + 三行） */
html[data-visual-mode="minimal"] body.theme-liquid .tab[data-tab="topics"] .nav-icon::before { left:7px!important; top:5.2px!important; width:11px!important; height:0!important; border-top:1.6px solid currentColor!important; box-shadow:0 5px 0 currentColor,0 10px 0 currentColor !important; }
html[data-visual-mode="minimal"] body.theme-liquid .tab[data-tab="topics"] .nav-icon::after  { left:2.2px!important; top:4.4px!important; width:2.6px!important; height:2.6px!important; border-radius:50%!important; background:currentColor!important; box-shadow:0 5px 0 currentColor,0 10px 0 currentColor !important; }

/* 脚本：文档 */
html[data-visual-mode="minimal"] body.theme-liquid .tab[data-tab="scripts"] .nav-icon::before { left:2.5px!important; top:0.5px!important; width:15px!important; height:19px!important; border:1.6px solid currentColor!important; border-radius:3px!important; }
html[data-visual-mode="minimal"] body.theme-liquid .tab[data-tab="scripts"] .nav-icon::after  { left:5.5px!important; top:9px!important; width:9px!important; height:0!important; border-top:1.6px solid currentColor!important; box-shadow:0 4px 0 currentColor!important; }
html[data-visual-mode="minimal"] body.theme-liquid .tab[data-tab="scripts"] .nav-icon i { left:11px!important; top:-0.6px!important; width:5.4px!important; height:5.4px!important; border-left:1.6px solid currentColor!important; border-bottom:1.6px solid currentColor!important; background:rgba(255,255,255,.5)!important; }

/* 我的：人形 */
html[data-visual-mode="minimal"] body.theme-liquid .tab[data-tab="mine"] .nav-icon::before { left:6.25px!important; top:1px!important; width:7.5px!important; height:7.5px!important; border:1.6px solid currentColor!important; border-radius:50%!important; }
html[data-visual-mode="minimal"] body.theme-liquid .tab[data-tab="mine"] .nav-icon::after  { left:2px!important; top:10px!important; width:16px!important; height:9px!important; border:1.6px solid currentColor!important; border-bottom:0!important; border-radius:9px 9px 3px 3px!important; }

/* ---- 第七轮：字级审计补漏（2026-09-25，用户「一起收拾」）----
   起因：用户点名「新建空白脚本」抽屉里的「日常脚本」字号不对，顺手用只读探针把**全站**重扫了一遍
   （当年的审计只扫 `#appView *`，抽屉/页头/未打开的页面全漏），共 31 条表外记录。
   逐条对照 §Type Scale 的**例外清单**后，真正要修的 13 项如下。目标值全部由角色表推出，未自创。
   ⛔ 明确**不动**的两项（已登记在例外清单里，不许"顺手统一"）：
     ① `.daily-row strong` = 14.5px/700 —— 例外⑥「日程安排卡内部冻结旧值」；
     ② `.daily-row small` = 11.5px 同属该冻结区（本次未出现在表外清单，一并说明以免下次误判）。
   ⚠️ 探针取样前必须等入场动效停（`getAnimations().running === 0`）：否则会读到 12px/750、16px/760
      这种**过渡中间值**，整份审计变假 —— 本次第一遍就踩了，重跑才拿到真值。 */
html[data-visual-mode="minimal"] body.theme-liquid #appView .stack-toggle span,
html[data-visual-mode="minimal"] body.theme-liquid #appView .stack-toggle b { font-size:14px!important; font-weight:600!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .daily-row small em { font-size:11px!important; font-weight:600!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .schedule-add-menu b { font-size:14px!important; font-weight:600!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .schedule-add-menu small { font-size:11px!important; font-weight:400!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-loading { font-size:14px!important; font-weight:400!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .topic-analysis-details summary { font-size:14px!important; font-weight:600!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .topic-analysis-details summary span { font-size:14px!important; font-weight:600!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .topic-analysis-content :is(p, li, strong) { font-size:14px!important; font-weight:400!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .topic-analysis-content strong { font-weight:600!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .topic-chat-empty { font-size:14px!important; font-weight:400!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .topic-idea-chat-form button { font-size:14px!important; font-weight:600!important; }
html[data-visual-mode="minimal"] body.theme-liquid .workspace-sheet > button b { font-size:14px!important; font-weight:600!important; }
html[data-visual-mode="minimal"] body.theme-liquid .workspace-sheet form button { font-weight:600!important; }
html[data-visual-mode="minimal"] body.theme-liquid .app-header .header-ai-back { font-size:14px!important; font-weight:600!important; }
html[data-visual-mode="minimal"] body.theme-liquid .app-header .header-ai-back > span { font-size:21px!important; font-weight:400!important; }
/* 日程行尾部的「›」：例外④的字形清单里有它，按 21/400。它在 `grid-template-columns:23px 1fr 20px`
   的固定 20px 列里，实测 21px 时字形宽仍是 20、行 338×60、卡片 370×177.6 全部不变（零几何影响），
   只有字形自身高 23 → 24。 */
html[data-visual-mode="minimal"] body.theme-liquid #appView .daily-row b { font-size:21px!important; font-weight:400!important; }

/* ═══════════ 站内日期 / 时间选择器（2026-09-25，用户「日期和时间的选择能不能也根据设计规范做设计」）

   问题：字段外壳早已是设计系统的一部分（50 高 / 18 圆角 / 16px / 软灰底 / 自绘图标），
   但「点开之后」是浏览器的地盘 —— 桌面 Chrome 弹下拉日历、iOS 弹滚轮，两副面孔；
   字段里日期文字的格式（实测渲染成 2026/09/25）也由浏览器 locale 决定，CSS 够不着。
   做法：原生 input 一律保留（继续承载 value / required / FormData，下游零改动），
   在它上面盖一层按规范渲染的文字，点字段开站内选择器。逻辑见 app.js「站内日期 / 时间选择器」段。

   本段只做三件事：① 盖上格式化文字；② 关掉原生 picker 入口；③ 画选择器本体。

   ⛔ 三条容易踩的规矩（改之前先读）：
     1. **必须包一层 .dt-shell**：input 是替换元素、伪元素不生成，没法直接在它身上画文字；
        而原生文本的格式改不了，只能藏掉（color:transparent）再自绘。
     2. `.dt-text` 必须 `pointer-events:none`，否则它会吃掉落在 input 上的点击，字段就点不开了。
     3. 浮层挂在 `#editorDialog` 内部（`#pickerPopover`，见 index.html 的长注释），
        定位前缀用 `#pickerPopover` —— 挂 body 下会被占着 top layer 的编辑弹层盖住，
        加 `#appView` 前缀则一条都不生效。

   ── ① 自绘显示层 ────────────────────────────────────────────── */
html[data-visual-mode="minimal"] body.theme-liquid #editorDialog .dt-shell {
  position: relative;
  display: block;
  min-width: 0;
}
html[data-visual-mode="minimal"] body.theme-liquid #editorDialog .dt-shell > input[type="date"],
html[data-visual-mode="minimal"] body.theme-liquid #editorDialog .dt-shell > input[type="time"] {
  width: 100%;
  color: transparent !important;
  caret-color: transparent;
}
html[data-visual-mode="minimal"] body.theme-liquid #editorDialog .dt-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 52px 0 16px;
  color: var(--ink);
  /* 必须 !important：字级强制层 `… :is(.editor-dialog, .workspace-sheet) :is(.dialog-fields, .form-section) …`
     把弹层里的文字统管成 14px/400 !important，会把这个自绘层压成 14px —— 而它显示的是
     用户选中的值，要与原生 input 的 16px 一致，不能算"弹层正文"。 */
  font-size: 16px !important;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
html[data-visual-mode="minimal"] body.theme-liquid #editorDialog .dt-text.is-empty { color: var(--muted); }

/* ── ② 浮层本体：贴着字段弹出的小卡片（不是贴底抽屉），系统 dropdown picker 的形态 ──
   ⛔ 定位用 absolute 而非 fixed：编辑弹层带 backdrop-filter，它会让后代 fixed 改相对本层；
      而本浮层本来就是 #editorDialog 的子元素，absolute 相对它的 padding box 是确定的。
      坐标由 JS 现算（见 positionPicker），这里只给外观。 */
html[data-visual-mode="minimal"] body.theme-liquid #pickerPopover {
  position: absolute;
  z-index: 2;
  padding: 14px;
  border-radius: 26px;
  background: var(--minimal-paper);
  box-shadow: 0 20px 50px rgba(32, 35, 36, .22), 0 2px 8px rgba(32, 35, 36, .08);
  animation: pickerPopIn .16s ease-out;
}
html[data-visual-mode="minimal"] body.theme-liquid #pickerPopover[hidden] { display: none; }
@keyframes pickerPopIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* 紧凑月历：全站日历语言的**小尺寸变体**。圆角仍是 calendar-number 档的 14、高度仍是 28，
   只把格宽 44 → 40、胶囊宽 42 → 36 —— 全部是尺寸缩放，角色不变（选中日在这个应用里仍只有一种长相）。 */
html[data-visual-mode="minimal"] body.theme-liquid #pickerPopover .picker-cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 4px;
}
html[data-visual-mode="minimal"] body.theme-liquid #pickerPopover .picker-cal-nav > span {
  color: var(--ink);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
html[data-visual-mode="minimal"] body.theme-liquid #pickerPopover .picker-cal-nav button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  cursor: pointer;
}
html[data-visual-mode="minimal"] body.theme-liquid #pickerPopover .picker-cal-head {
  display: grid;
  grid-template-columns: repeat(7, 40px);
  padding: 0 0 4px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}
html[data-visual-mode="minimal"] body.theme-liquid #pickerPopover .picker-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 40px);
}
html[data-visual-mode="minimal"] body.theme-liquid #pickerPopover .picker-day {
  height: 40px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}
html[data-visual-mode="minimal"] body.theme-liquid #pickerPopover .picker-day-num {
  width: 36px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--ink);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
html[data-visual-mode="minimal"] body.theme-liquid #pickerPopover .picker-day.other .picker-day-num { color: var(--faint); }
html[data-visual-mode="minimal"] body.theme-liquid #pickerPopover .picker-day.selected .picker-day-num {
  background: var(--minimal-calendar-selection);
  color: #fff;
}

/* 时间：两列滚轮（scroll-snap 列选择器）。列高固定 180 = 5 行 × 36，
   上下各 72 的内边距让**首尾项也能停在中间**——这是滚轮能做对的关键。
   中央那条软灰带由 .picker-time::before 画，横跨两列。 */
html[data-visual-mode="minimal"] body.theme-liquid #pickerPopover .picker-time {
  position: relative;
  display: flex;
  gap: 8px;
  justify-content: center;
}
html[data-visual-mode="minimal"] body.theme-liquid #pickerPopover .picker-time::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 36px;
  margin-top: -18px;
  border-radius: 18px;
  background: var(--minimal-soft);
  pointer-events: none;
}
html[data-visual-mode="minimal"] body.theme-liquid #pickerPopover .picker-wheel {
  position: relative;
  width: 80px;
  height: 180px;
  padding: 72px 0;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  /* 上下渐隐：这才是滚轮"转进转出"的观感来源。透明度只做两档（.42 与 1）时，
     远景项会像一条硬边糊在顶上；mask 让它们真正淡出去。
     32%/68% 正好落在上下各 72px 的内边距区，中央 36px 的选中带完全不受影响。 */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 32%, #000 68%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 32%, #000 68%, transparent 100%);
}
html[data-visual-mode="minimal"] body.theme-liquid #pickerPopover .picker-wheel::-webkit-scrollbar { display: none; }
html[data-visual-mode="minimal"] body.theme-liquid #pickerPopover .picker-wheel-item {
  width: 100%;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}
/* 未选中的项退到 42% —— 滚轮的"景深"就靠这层透明度差建立。 */
html[data-visual-mode="minimal"] body.theme-liquid #pickerPopover .picker-wheel-item:not(.selected) { opacity: .42; }

/* 悬停 / 按下：与弹层里那两族胶囊同一套 —— 反馈走背景色 / 透明度，不走 filter。
   ⚠️ 必须中和全站那条 `body.theme-liquid button:not(:disabled):hover { filter:brightness(.97) }`
      （minimal-theme.css 上面）：filter 作用于整棵子树，会把格子里的**选中胶囊一起压暗**，
      与「选中态不参与悬停」的规矩冲突。（导航箭头不在中和之列，它是普通按钮、没有选中态。） */
@media (hover: hover) {
  html[data-visual-mode="minimal"] body.theme-liquid #pickerPopover .picker-cal-nav button:hover { background: var(--minimal-soft); }
  html[data-visual-mode="minimal"] body.theme-liquid #pickerPopover .picker-day:hover .picker-day-num { background: var(--minimal-soft); }
  html[data-visual-mode="minimal"] body.theme-liquid #pickerPopover .picker-day.selected:hover .picker-day-num { background: var(--minimal-calendar-selection); }
  html[data-visual-mode="minimal"] body.theme-liquid #pickerPopover .picker-wheel-item:not(.selected):hover { opacity: .68; }
  html[data-visual-mode="minimal"] body.theme-liquid #pickerPopover :is(.picker-day, .picker-wheel-item, .picker-cal-nav button):hover { filter: none !important; }
}
html[data-visual-mode="minimal"] body.theme-liquid #pickerPopover .picker-day:active .picker-day-num { opacity: .72; }
html[data-visual-mode="minimal"] body.theme-liquid #pickerPopover .picker-wheel-item:active { opacity: .68; }

/* ───────── 视频分析对话页：改成参考图的布局（2026-09-26，用户给了 ChatGPT 对话页截图）
   「视频分析对话字在最中间上面，然后下面全是对话页面，查看原作和查看视频内容记录变成两个胶囊
     放在输入框上面或者哪里，聊天框就不用背景卡片」

   四处改动：
   ① 标题居中在第一行（原为 34px、独占第二行、左对齐）；
   ② 两个动作入口（查看原作 / 查看视频内容记录）从状态行与折叠框里提出来，收成输入框上方的一排胶囊；
   ③ AI 回复去掉白色卡片底，直接是文本（保留 h3/p 层级）—— 这是参考图里那条对话流的样子；
   ④ 状态行只留「状态 + 画质」。
   ⚠️ ③ 只作用于 `.video-chat-messages`，**没有动 AI 助手页**（它是已验收页面）——
      要不要两页统一，等用户决定。 */

/* ① 标题居中：detail-nav 是 44px/1fr/44px 三列网格，把 h2 放进中间列、并排在第一行，
   返回钮仍在左列，右侧 span 占位保持对称。字号从 34 收到 21（字级表的标题档）——
   居中 + 34px 会把顶部压得比对话内容还重。 */
html[data-visual-mode="minimal"] body.theme-liquid .video-chat-nav > h2 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  text-align: center;
  /* ⚠️ 字号必须 !important：字级强制层里 `.detail-nav>h2` 那组（带 !important）把页头标题锁在 34px，
     而「导航栏中间的小标题」不该和页面大标题同号。 */
  font-size: 21px !important;
  line-height: 1.3;
}
html[data-visual-mode="minimal"] body.theme-liquid .video-chat-nav { margin-bottom: 2px; }

/* ② 动作胶囊行 */
html[data-visual-mode="minimal"] body.theme-liquid .video-chat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
/* ⚠️ 必须用 `.video-chat-actions` 做祖先限定（b 位 4），而不是只挂 `#appView`（b 位 3）：
   对手是 `#appView .video-chat-source summary` = **(1,3,3)**，比 `#appView .video-action-chip` 的
   (1,3,2) 多一个元素位 —— 只加 `#appView` 前缀仍然输。加上容器类后是 (1,4,2)，b 位 4>3 才赢。
   （这是本项目最常见的特异性坑，见技能里的「`:is()`/ID 位」一节。） */
html[data-visual-mode="minimal"] body.theme-liquid #appView .video-chat-actions .video-action-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
  min-height: 44px;
  margin: 0;
  padding: 0 16px;
  border: 0;
  border-radius: 22px;
  background: var(--minimal-soft);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .video-chat-actions .video-action-chip.is-pending { color: var(--muted); font-weight: 400; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .video-chat-actions .video-action-chip::-webkit-details-marker { display: none; }
/* 未展开时 details 只占胶囊宽 —— 这样两枚胶囊能**并排一行**；
   展开时才撑满整行，好让面板拿到完整宽度（否则面板会被胶囊宽度卡住）。 */
html[data-visual-mode="minimal"] body.theme-liquid .video-chat-source.video-action-source {
  width: auto;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  font-size: 14px;
  line-height: 1.5;
}
html[data-visual-mode="minimal"] body.theme-liquid .video-chat-source.video-action-source[open] { width: 100%; }
html[data-visual-mode="minimal"] body.theme-liquid .video-action-panel {
  margin-top: 8px;
  padding: 16px;
  max-height: min(42vh, 380px);
  overflow-y: auto;
  border-radius: 18px;
  background: var(--minimal-paper);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.65;
}
html[data-visual-mode="minimal"] body.theme-liquid .video-record-heading {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}
html[data-visual-mode="minimal"] body.theme-liquid .video-record-segment {
  padding: 12px 0;
}
html[data-visual-mode="minimal"] body.theme-liquid .video-record-segment:not(:first-of-type) {
  border-top: 1px solid var(--minimal-line);
}
html[data-visual-mode="minimal"] body.theme-liquid .video-record-time {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
}
html[data-visual-mode="minimal"] body.theme-liquid .video-record :is(.video-record-segment p,.video-record-line) {
  margin: 0;
  overflow-wrap: anywhere;
}
html[data-visual-mode="minimal"] body.theme-liquid .video-record-line + .video-record-line { margin-top: 12px; }

/* 2026-09-26 第二轮（用户：「聊天内容文字加个卡片，然后缩小」）：
   AI 回复加回卡片，但**收窄到 292**、内边距 14、行高 1.7 —— 不再占满右侧，回到"气泡"的观感。
   ⚠️ 卡片画在 `.bubble` 上，**消息行仍保持透明**：头像在消息行里、卡片外，
   若把底画在 `.message.assistant` 上，头像会被一起罩进白块（上一轮就是两层底叠出来的大白卡）。 */
html[data-visual-mode="minimal"] body.theme-liquid :is(.assistant-chat-box,.video-chat-messages) .message.assistant {
  padding: 0;
  background: transparent !important;
  box-shadow: none !important;
}
html[data-visual-mode="minimal"] body.theme-liquid .video-chat-messages .message.assistant .bubble {
  max-width: 292px;
  padding: 12px 14px;
  border-radius: 18px;
  background: var(--minimal-paper) !important;
  box-shadow: 0 6px 18px rgba(25, 28, 35, .06) !important;
  /* 「缩小」只走**几何**这条路：卡片收窄 324 → 292、内边距 16 → 12/14、行高 1.82 → 1.65。
     ⛔ 字号**不动**（仍是全站气泡的 14）。为什么不降到 13：DESIGN.md 的 Type Scale 是「唯一字级
     权威表」，规则第 1 条写明「新写界面**不得引入表外值**」，档位就是 34/21/16/14/11；
     而 14 已经是表内最小的**正文档**（11 是元信息档）。要继续变小必须先把字级表从 5 档改成 6 档 ——
     那是个规范决定，会牵动全站，不在一句「缩小」的射程内。 */
  line-height: 1.65;
}
/* 去底之后头像与正文的间距由 .message 的 gap 承担，别再额外缩进 */
html[data-visual-mode="minimal"] body.theme-liquid .video-chat-messages .message.assistant .bubble > :first-child { margin-top: 0; }
/* 视频拆解回复只改变本地阅读方式；原文始终完整保留。 */
html[data-visual-mode="minimal"] body.theme-liquid .video-reply-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  margin-bottom: 12px;
  border-radius: 22px;
  background: var(--minimal-soft);
}
html[data-visual-mode="minimal"] body.theme-liquid .video-reply-switch button {
  min-width: 0;
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
html[data-visual-mode="minimal"] body.theme-liquid .video-reply-switch button[aria-pressed="true"] {
  background: var(--minimal-dark);
  color: #fff;
}
html[data-visual-mode="minimal"] body.theme-liquid .video-reply-panel[hidden] { display: none !important; }
html[data-visual-mode="minimal"] body.theme-liquid .video-reply-intro:not(:empty) { padding-bottom: 8px; }
html[data-visual-mode="minimal"] body.theme-liquid .video-reply-section {
  border-top: 1px solid var(--minimal-line);
}
html[data-visual-mode="minimal"] body.theme-liquid .video-reply-section summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 9px 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}
html[data-visual-mode="minimal"] body.theme-liquid .video-reply-section summary::-webkit-details-marker { display: none; }
html[data-visual-mode="minimal"] body.theme-liquid .video-reply-section summary::after {
  content: '⌄';
  flex: none;
  color: var(--muted);
  font-size: 21px;
  font-weight: 400;
  transform: rotate(-90deg);
  transition: transform .18s ease;
}
html[data-visual-mode="minimal"] body.theme-liquid .video-reply-section[open] summary::after { transform: rotate(0); }
html[data-visual-mode="minimal"] body.theme-liquid .video-reply-section-body { padding: 0 0 14px; }
html[data-visual-mode="minimal"] body.theme-liquid .video-reply-section-body > :first-child { margin-top: 0; }
html[data-visual-mode="minimal"] body.theme-liquid .video-reply-table-row {
  padding: 12px 0;
  border-top: 1px solid var(--minimal-line);
}
html[data-visual-mode="minimal"] body.theme-liquid .video-reply-table-row:first-child { border-top: 0; }
html[data-visual-mode="minimal"] body.theme-liquid .video-reply-table-row > div + div { margin-top: 9px; }
html[data-visual-mode="minimal"] body.theme-liquid .video-reply-table-row small {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}
html[data-visual-mode="minimal"] body.theme-liquid .video-reply-table-row p { margin: 0; overflow-wrap: anywhere; }
html[data-visual-mode="minimal"] body.theme-liquid .video-reply-numbered { margin: 8px 0 14px; padding-left: 24px; }
html[data-visual-mode="minimal"] body.theme-liquid .video-reply-numbered li + li { margin-top: 8px; }
@media (prefers-reduced-motion: reduce) {
  html[data-visual-mode="minimal"] body.theme-liquid .video-reply-section summary::after { transition: none; }
}
/* 视频事实读取的阶段由服务端回报；未收到阶段时只显示连接状态。 */
html[data-visual-mode="minimal"] body.theme-liquid .video-chat-progress > strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}
html[data-visual-mode="minimal"] body.theme-liquid .video-chat-progress ol {
  display: grid;
  gap: 9px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
html[data-visual-mode="minimal"] body.theme-liquid .video-chat-progress li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
html[data-visual-mode="minimal"] body.theme-liquid .video-chat-progress li.is-current,
html[data-visual-mode="minimal"] body.theme-liquid .video-chat-progress li.is-done { color: var(--ink); }
html[data-visual-mode="minimal"] body.theme-liquid .video-chat-progress li.is-current { font-weight: 600; }
html[data-visual-mode="minimal"] body.theme-liquid .video-progress-number {
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--minimal-soft);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}
html[data-visual-mode="minimal"] body.theme-liquid .video-chat-progress li.is-current .video-progress-number {
  background: var(--minimal-dark);
  color: #fff;
}

/* ── 视频对话页再收紧一次垂直占用（2026-09-26，用户：「聊天内容卡的太高了还可以显示多一些，下到输入框」）
   这页从下往上一共被四块固定内容吃掉高度：动作胶囊行 44、输入区 65、底部安全留白 15、
   以及三处 16px 的 gap。动作胶囊 44 是规范的触控下限、输入区与安全留白都动不得，
   所以只能从**间距与内边距**里挤：
     ① 页面 gap 16 → 10（这页有 3 处 gap：标题|消息区、消息区|动作行、动作行|输入区）→ 让出 18px；
     ② 消息区的下内边距 20 → 8：它只在滚到底时可见，压掉等于直接把内容推到输入框边上 → 让出 12px；
     ③ 上内边距 20 → 16，与全站卡片顶部节奏一致。
   ⚠️ 只作用于 `.video-chat-page` / `.video-chat-messages`，**没有动 AI 助手页**
      （它共用 `:is(.assistant-chat-page,.video-chat-page)` 那条，是已验收页面）。
   ⛔ 动作胶囊行不要再压高度：44px 是触控下限，也是「紧凑胶囊」的规范值。 */
html[data-visual-mode="minimal"] body.theme-liquid .video-chat-page { gap:10px; }
html[data-visual-mode="minimal"] body.theme-liquid .video-chat-nav { margin-bottom:0; }

/* ── 阴影不许被滚动容器硬切（2026-09-26，用户：「形象的阴影被硬切了」）──────────────
   头像 `.assistant-chat-avatar` 的阴影是 `rgba(17,19,21,.18) 0 8px 18px`，会向四周铺开约 18px；
   而消息区是 `overflow-y:auto` 的滚动容器、**左右内边距为 0**，头像左缘正好落在容器左缘（CSS 20）
   —— 于是阴影被沿一条直线裁掉。实测同一行：**头像左侧 237（画布原色，一点阴影都没有）、
   右侧 223**，硬边位置恰好等于容器边缘。气泡的 `0 6px 18px` 阴影同理被容器右缘裁掉。
   ⛔ 不能用 `overflow-x: visible` 解决：`overflow-y: auto` 会把另一轴强制成 auto（规范如此）。
   修法：给滚动容器左右各留 **20px**（= 页边距本身）的内边距，再用等量**负外边距**抵消 ——
   **内容位置一个像素都不动**（行仍是 20..382），只是把裁切边界退到视口之外。
   两个对话容器同修：视频对话页与 AI 助手页共用同一套气泡与头像，缺陷也是同一处。 */
html[data-visual-mode="minimal"] body.theme-liquid .video-chat-messages { padding:16px 20px 8px; margin:0 -20px; }
html[data-visual-mode="minimal"] body.theme-liquid .assistant-chat-box { padding-left:20px; padding-right:20px; margin:0 -20px; }

/* AI 对话头像：使用参考玩偶的完整透明图像，黄色圆底留出耳朵轮廓。 */
html[data-visual-mode="minimal"] body.theme-liquid .assistant-chat-avatar {
  position: relative;
  background: var(--minimal-accent);
  overflow: hidden;
}
html[data-visual-mode="minimal"] body.theme-liquid .assistant-chat-avatar img {
  position: absolute;
  right: -6%;
  bottom: -9%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: rotate(-12deg) scale(1.18);
  transform-origin: 56% 58%;
  pointer-events: none;
}
/* 普通 AI 对话：圆徽从回复卡左上角探出，保留气泡原有位置。 */
html[data-visual-mode="minimal"] body.theme-liquid .assistant-chat-page .assistant-chat-box .message.assistant > .assistant-chat-avatar {
  transform: translate(0, -29px) scale(1.25);
  transform-origin: top left;
}
html[data-visual-mode="minimal"] body.theme-liquid .assistant-chat-avatar .bear-avatar-closed {
  opacity: 0;
  animation: bear-avatar-blink 4.4s steps(1, end) infinite;
}
/* 「我的」默认头像与编辑预览共用对话里的熊；上传头像仍走原来的 img。 */
html[data-visual-mode="minimal"] body.theme-liquid :is(.redesigned-mine .profile-orb,.profile-preview) .profile-default-ai {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 50%;
  background: var(--minimal-accent);
  box-shadow: none;
}
html[data-visual-mode="minimal"] body.theme-liquid .profile-default-ai img {
  position: absolute;
  right: -6%;
  bottom: -9%;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: contain;
  transform: rotate(-12deg) scale(1.18);
  transform-origin: 56% 58%;
  pointer-events: none;
}
/* 资料页的圆徽不留白边，让熊覆盖更大的头像面积；编辑预览维持原尺寸。 */
html[data-visual-mode="minimal"] body.theme-liquid .redesigned-mine .profile-orb .profile-default-ai img {
  transform: rotate(-12deg) scale(1.3);
}
html[data-visual-mode="minimal"] body.theme-liquid .profile-default-ai .bear-avatar-closed {
  opacity: 0;
  animation: bear-avatar-blink 4.4s steps(1, end) infinite;
}
@keyframes bear-avatar-blink {
  0%, 94%, 98%, 100% { opacity: 0; }
  95%, 97% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-visual-mode="minimal"] body.theme-liquid .assistant-chat-avatar .bear-avatar-closed { animation: none; }
  html[data-visual-mode="minimal"] body.theme-liquid .profile-default-ai .bear-avatar-closed { animation: none; }
}

/* ── 返回圆钮里的「‹」垂直偏下 3.5px（2026-09-26，用户：「返回按钮不在中间」）──────
   实测（元素截图找墨迹中心，DPR=4）：字形墨迹中心比 44px 圆心**低 3.50px**，水平方向是正的（-0.12）。
   成因不是布局没对齐，而是**字形的墨迹天生落在行盒中线之下**（字形不是垂直居中的图形）：
   `styles.css` 给返回钮定的是 `font-size:34px; line-height:1` —— 字号是「返回栏固定形态」，见字级表那节，别动。
   ⛔ **改行高没用**：第一版按「行盒顶部对齐全在 block 布局」的推断改成 `line-height:27px`，实测墨迹
      中心一动没动（dy 仍是 +3.50）—— `<button>` 会把内容盒内的行盒**整体居中**，所以行高不是杠杆。
   ⛔ **也不能让 line-height 之外的居中参与**：无论行高多少，墨迹相对行盒中线的偏移都固定在 +3.5。
   ✅ 真正的杠杆是**内容盒的中心位置**：把下内边距加 7px，内容盒整体上移 3.5px，墨迹就落回圆心
      （`box-sizing:border-box`，按钮外观仍是 44px，点击区不变）。原 padding 是 `1px 6px`。
   ⚠️ 这是**字形级对齐值**，与字体度量绑定：将来换字体或改这一处的字号，必须重新量一次墨迹中心。 */
html[data-visual-mode="minimal"] body.theme-liquid .detail-nav>button { padding: 1px 6px 8px; }

/* ── 灵感结果页收紧（2026-09-26，用户：「这个页面很乱…作品的卡片也是留空很多，缩紧点」）──────
   实测卡片高 464px（卡内 24px 内边距不动 —— 那是 spacing 表的 `card-inset`），逐项找出来的**纯空白**：
   ① `.metric-row` 上下各 20px 内边距 + 4px 外边距 = **48px 全给了 4 个小指标**；它自带 `border-block`
      分隔线，12px 的呼吸已经够 → padding 20→12、margin 4→0（**省 24px**）。
      另：卡内统一间距由 `.inspiration-copy` 的 `gap:12px` 承担，metric-row 再叠 margin 属于双倍间距。
   ② `.inspiration-actions` 自己还有 `padding-top:12px`，与上面那个 gap 叠成 24px → 去掉（**省 12px**）。
      这是本项目记录过的「gap + margin 双倍间距」老毛病，第三次出现。
   ③ `.inspiration-rank` 的下外边距 16 → 12，与卡内其它间距对齐（省 4px）。
   ④ 指标说明那段小字行高 1.7 → 1.6，两行省约 3px。
   合计每张卡省约 43px（464 → 421，-9%）；10 张卡就是一屏多。 */
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-card .metric-row { padding: 12px 0; margin: 0; }
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-actions { padding-top: 0; }
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-rank { margin: 0 0 12px; }
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-metric-note { line-height: 1.6 !important; }

/* ── 结果页页头重排 + 卡片去噪（2026-09-26 续）────────────────────────────────
   用户：「作品页面的标题字太大了，应该跟 10 条视频字一样大」
        「视频类型：不限 · 发布时间：不限 · 视频时长：不限这个应该在 10 条视频下面」
        「这个页面你再全部审查优化下」

   ① 页头标题（「关键词视频分析」）字重 700 → 600。
      实测两者**字号本来就是同一档**（都是 21px；T1 给的是 34/700，上一轮已用 `.video-chat-nav > h2`
      压到 21），残留的唯一差异是**字重**：700 比列表标题（T2 的 21/600）更重，所以读起来"更大"。
      至此两行 21px 主标题完全同规格。
      ⛔ 字重必须带 `!important`：700 来自 T1 组、那条自带 `!important`，同特异性下后写的普通声明赢不了
         （第一版漏了它，实测字重纹丝不动）。
      ⚠️ 限定 `body[data-route="inspiration-results"]`：`.video-chat-nav` **视频对话页也在用**，
         不加限定会把那一页的标题一起改掉（这个类名共享的坑上一轮刚踩过）。
   ② 页头两列结构取消：原先「左列＝关键词＋条数 / 右列＝筛选摘要贴右」，现在合成
      「条数（主）+ 关键词 · 筛选条件（副）」两行 —— 筛选摘要落到条数**下面**（用户明确要求）。
      ⚠️ 结构一变，原先挂在 `.inspiration-result-head > div:last-child`（右列贴右对齐）与
         `.inspiration-result-head>div>p`（关键词字重）上的两条规则同时失效，下面的
         `.inspiration-result-meta` 接管。
      ⛔ 副行里的筛选摘要想要 400 字重，必须带容器前缀 + `!important`：T5 组把
         `.inspiration-result-head span` 锁成 `11px/600!important`（(0,3,3)），
         新规则 (0,4,2) 才压得过它。

   ③ 卡片左上那个固定标签已从 app.js 删除（10 张卡一字不差、零信息量，还占 30px 高度）——
      随之 `.inspiration-rank>span`、`.inspiration-rank span`（本文件 516 行组、2524 行）
      以及 styles.css 里的同名规则都成为死选择器，保留以免动到大 `:is()` 列表。 */

html[data-visual-mode="minimal"] body[data-route="inspiration-results"] .video-chat-nav > h2 { font-weight: 600 !important; }
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-result-head { display: grid; }
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-result-head .inspiration-result-meta {
  display: block;
  color: var(--muted) !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
}
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-result-head .inspiration-result-meta .inspiration-result-keyword { color: var(--ink) !important; font-weight: 600 !important; }
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-result-head .inspiration-result-meta .inspiration-result-keyword::after { content: ' · '; color: var(--faint); font-weight: 400; }
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-result-head .inspiration-result-meta .inspiration-result-filters { font-weight: 400 !important; }

/* ④ 操作行：两颗按钮本就等宽（各 106px），但 `justify-content: space-between` 把它们顶到两端，
   中间空出 **102px**（卡内可用宽 314）。改成等宽平分铺满整行 —— 卡片里不该有一块无人区。 */
html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-actions { justify-content: flex-start; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-actions > :is(a, button, span) { flex: 1 1 0; min-width: 0; }

/* ⑤ 两个「软灰底按钮」在工作面上边界几乎不可见 —— 补全站同款发丝线（2026-09-26 审查）
   实测：`.inspiration-actions a`（间接动作）底色 `#f1f2f4` 落在卡片合成底 `#fbfbfb` 上只有 **1.08:1**；
   `.inspiration-refilter` 同色落在画布 `#eceff1` 上只有 **1.02:1** —— 两者都靠文字撑住可读性，
   边界等于没有。做法与灵感筛选胶囊那族一致（软灰/白底 + `inset 0 0 0 1px` 发丝线，见本文件 617 行）。
   深墨主按钮（收纳为选题）不加线：它的边界由色块本身承担。 */
html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-refilter,
html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-actions a {
  box-shadow: inset 0 0 0 1px var(--minimal-line) !important;
}

/* ── 结果页卡片标题再降一档（2026-09-26 续，用户：「关键词视频分析页面的卡片标题再缩下一个字号」）──
   字级表（唯一字级权威表）是 34 / 21 / 16 / 14 / 11 —— **21 的下一档就是 16**，中间没有档位，
   所以不要自造 18/19 这种过渡值。
   卡片标题 `.inspiration-copy>h3` 与其上方序号 `.inspiration-rank>b` 都在 T2 组，覆盖它们必须带 `!important`
   **且必须带 ID 位** —— ⛔ T2 那条 `:is()` 的**真实特异性是 (1,4,3) 不是 (0,3,3)**：
   `:is()` 取参数列表里的最高值，而列表里混着 `#editorDialog .dialog-head h2`（**带 ID**）。
   第一版我按 (0,3,3) 估，写出的 (0,4,3) 直接输、字号纹丝不动（实测踩到，用「命中声明清单」探针查出）。
   加 `#appView` 拉到 (1,4,3)、再靠"写在文件末尾"取胜（结果页的确在 `#appView` 内）。
   ⚠️ **序号必须跟着一起降**：否则「01」21px 会大于标题 16px，把「谁是标题」读反。
      序号走**数值档 16/700** —— 数字比同字号汉字显轻，这样它读起来是"编号"而不是第二个标题。 */
html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-card .inspiration-copy > h3 { font-size: 16px !important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-card .inspiration-rank > b { font-size: 16px !important; font-weight: 700 !important; }

/* ── 页头重排 + 「重新筛选条件」升为主操作（2026-09-26 续）
   用户：「重新筛选胶囊，字都卡两边边缘了，然后胶囊改成黑色白字」
        「10 条视频标题和下面的文字还有重新筛选胶囊重新排版一下」

   ① 页头排成**两列网格**：行 1 ＝ 条数（21/600，左）＋ 筛选胶囊（右端，与条数同行）；行 2 ＝ 副信息，**跨两列铺满**。
      ⚠️ 副信息**不能与胶囊同行**：它一行约 300px 宽，而胶囊约 120px，加起来放不进 362px 可用宽
         —— 实测压在 230px 列里会折成两行，页头反而更高。所以它独占一整行。
      ⚠️ 结构随之调整：胶囊从 `.inspiration-result-titlerow` 里**挪出来**，成为页头的第三个子元素
      （DOM 顺序：条数 → 副信息 → 胶囊，Tab 顺序也更顺）；那个包裹层已从 app.js 删除。
      行高由 44px 的胶囊决定（条数本身只有 29px）：页头 = 8 + 44 + 6 + 18 = **76px**。
   ② 胶囊升为主操作：**深墨底 + 白字**（与卡片里「收纳为选题」同一支 `--minimal-dark`），
      内边距 14 → **18**（用户说字"卡两边边缘"；44px 高不变，那是触控下限）。
      黑底不再需要浅底那条发丝线（显式关掉），hover 也从浅灰改成更深一档 `#191c1d`。
   ⚠️ 胶囊定义仍必须排在 `head` **之前**（它被 head 的模板引用）。 */
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-result-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
  row-gap: 6px;
}
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-result-head > h2 { grid-area: 1 / 1; }
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-result-head > .inspiration-refilter { grid-area: 1 / 2; }
html[data-visual-mode="minimal"] body.theme-liquid .inspiration-result-head .inspiration-result-meta { grid-area: 2 / 1 / 3 / 3; margin: 0 !important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-result-head .inspiration-refilter {
  padding: 0 18px !important;
  background: var(--minimal-dark) !important;
  color: #fff !important;
  box-shadow: none !important;
}
@media (hover: hover) {
  html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-result-head .inspiration-refilter:not(:disabled):hover { background: #191c1d !important; }
}

/* ── 选题想法分析：AI 助手的对话入口（「进入对话」）+ 三级对话页（2026-09-26）──────
   用户：「选题库的选题想法分析页面 AI 助手做个按钮，点击后跳转三级页面跟视频分析对话一样全页都是对话」。

   ① 入口按钮占的是**原先 head 右侧那行小字**的位置（那句在"已经站在这个话题详情页里"的语境下零信息量，
      同类零信息标签在结果页卡片上删过一次），head 右侧那一格也放不下两样东西 —— 360px 视口下卡内宽只剩
      272px，identity 占约 138px。
   ② 三级页（`.topic-chat-page`）**整段复用视频对话页的脚手架类**（`.video-chat-page/-nav/-messages/-compose`），
      所以这一块只写按钮的样式，页面样式一行都不用新写 —— 将来视频页调间距/材质，这页自动跟上。
   ③ 按钮是**这张卡唯一的操作** ⇒ 按主操作做：**深墨实底 + 白字**（用户：「全屏对话改成进入对话，然后是黑色胶囊」），
      与结果页「重新筛选条件」、视频对话页「发送」同一支 `--minimal-dark`。
      ⚠️ 深底**不再需要**浅底那条发丝内边线（与结果页 refilter 那条改法一致）：显式 `box-shadow: none`。 */

html[data-visual-mode="minimal"] body.theme-liquid .topic-chat-head { align-items: center; }

html[data-visual-mode="minimal"] body.theme-liquid #appView .topic-chat-expand {
  flex: none;                        /* head 是 flex 行，别被文字压扁 */
  min-height: 44px;                  /* 触控下限，全站硬要求 */
  padding: 0 18px;                   /* 与结果页 refilter 同一档 */
  border: 0 !important;
  border-radius: 22px !important;    /* 44px 高的紧凑胶囊档 */
  background: var(--minimal-dark) !important;
  color: #fff !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer;
}
@media (hover: hover) {
  html[data-visual-mode="minimal"] body.theme-liquid #appView .topic-chat-expand:not(:disabled):hover { background: #191c1d !important; }
}

/* ── 脚本页三处精修（2026-09-26）──────────────────────────────────────────────
   用户：「1.写脚本改成脚本 2.新建空白脚本改成黑胶囊白按钮 3.商单的脚本卡片商单字变成黄色」

   ① 文案：页头 `写脚本` → `脚本`（app.js）。底部导航那一格本来就叫「脚本」，页头跟着它走 ——
      页头是名词位，原句里那个「写」是动词。⚠️ 另有两处含「写脚本」的**句子**没动：
      `todoLabel:'去写脚本'`（项目待办行）与会员权益句「灵感、选题、写脚本…需会员」，那两处是动宾短语，删掉「写」不通。
   ② 入口 `.new-script-hero` **源文件本来就是深墨底白字**（styles.css:3977 `background: var(--ink)` / `color:#fff`），
      被本文件 810 行那个「控件一律白玻璃」大 `:is()` 列表连同 `background-image:none` 一起刷成了白底墨字 ⇒
      这里不是"新增一个黑块"，而是**把被那把钝刀削掉的原意恢复回来**。
      ⭐ 卡一变黑，那个 ＋ 圆钮必须**翻转**（原为深墨底白字）：同色叠同色等于消失，改成白底深墨。
      ⭐ 次级文字按 craft-floor 从**前景色**派生（白 72% 叠地板色 ≈ 9.0:1），不转灰 —— 深色面上转灰会脏。
      ⭐⭐ **用户 2026-09-26 追加约定（项目级）：「只要是黑卡片样式都是渐变的黑」** ⇒ 卡面一律
         `--dark-card-floor`（`#191c1d`）+ `--dark-card-sheen`（左上对角柔光），**不用纯色**。本卡是**第五张深色卡**
         （前四张：拍摄卡 / 项目库卡 / 创作账单 / 完成度卡）。
      ⛔ 别把「卡面」和「控件」混为一谈：`--minimal-dark`（`#2d3031`）是**控件**色（主按钮 / 胶囊 / 导航选中 / 输入框外框），
         它**不带**光影；卡面走 floor（`#191c1d`）+ sheen。两者深浅也差一档（floor 更暗）。
      ⚠️ 深卡族的投影是**深色**的（`0 18px 32px rgba(15,17,18,.2)`，与项目库卡 / 完成度卡同值），不是浅色玻璃投影。
   ③ `.script-kind.is-order`（只有「商单」）：**深墨底 + 全站唯一黄 `#f4b95f`**。
      ⛔ 为什么不直接在白卡上写黄字：`#f4b95f` 对白卡 ≈ **1.77:1**，远低于 4.5:1 底线，等于读不出来；
         黄字要成立必须落在深底上（对 `#2d3031` = **7.53:1** ✓）。项目里黄只有一个值（不造派生色），
         所谓浅色/深色变体其实是中性灰墨（`--minimal-accent-soft:#f1f2f4`、`--minimal-accent-ink:#202324`）——
         这也是「商单」此前看起来既不黄也不醒目的原因。
      ⚠️ 判据走 `is-order` 这个**修饰类**（app.js 里按 `category === '商单'` 生成），不用 `:contains`（CSS 无文本选择器），
         也让"只有商单变"这件事在 DOM 与契约里可断言。
   圆角**保持 28**：本页与站点里同族的深色大块（项目卡 / 账单头 / 收入面板）一律 card 档 28；
   这是 68px 高的块级入口，不是 44px 的小控件（那才走 22 的紧凑胶囊档）。 */

html[data-visual-mode="minimal"] body.theme-liquid #appView .new-script-hero {
  background-color: var(--dark-card-floor) !important;
  background-image: var(--dark-card-sheen) !important;
  color: #fff !important;
  box-shadow: 0 18px 32px rgba(15,17,18,.2) !important;   /* 深卡族的深色投影（不是浅色玻璃投影） */
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .new-script-hero>span { color: #fff !important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .new-script-hero>small { color: rgba(255,255,255,.72) !important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .new-script-hero>b {
  background: #fff !important;
  color: var(--dark-card-floor) !important;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .script-library-card .script-kind.is-order {
  background: var(--minimal-dark) !important;
  color: var(--minimal-accent) !important;
}

/* ── 弹层被底部导航压住（2026-09-26 用户报：「添加的弹层页下面内容被导航栏遮挡」）───────────
   ⛔ 根因不是 z-index 写小了，是**层叠上下文**（项目里踩过同类：见 workspace-polish.css:32 的注释）：
      `.workspace-sheet-backdrop` 自己写着 `z-index:90`，但它挂在 `#appView` 内部、逃不出这一层；
      而 `.tab-bar`（`z-index:40`）与 `#appView` 是 `.app-shell` 下的**兄弟**节点
      （`.app-shell` 自带 `z-index:1` + `isolation:isolate`，是二者的共同层叠上下文）。
      ⇒ 40 压过 appView 内部的一切，包括那个 90。
   实测（402 视口）：sheet 与导航**重叠 69px**；`elementFromPoint` 打在导航栏中心命中的是 `tab` 而不是弹层。
   解法＝把 appView 整层抬到导航之上（只在弹层打开时）：41 > 40，且不妨动导航本身的层级。
   ⚠️ 为什么不是"把 backdrop 的 z-index 调到 91"：那没用 —— 同一层叠上下文内比较时，
      决定性的是**它与导航的层级关系**（appView ⇄ tab-bar），不是它自己的数字。
   ⚠️ 为什么不是"打开弹层时隐藏导航"：那会让导航闪一下消失；被遮罩盖住是弹层的标准语义（modal）。
   标记由 app.js 的 `paint()` 写入（判据是查 DOM 有无 `.workspace-sheet-backdrop`，不是状态变量）。 */
body[data-sheet="open"] #appView { position: relative; z-index: 41; }

/* ── 新建脚本入口：文字排版（2026-09-26 第二轮，用户「文字排版优化下」）──────────────────
   原先主/副只差 14 vs 11（3px）、又都是白色系，一块**主操作**卡上认不出层级。
   改法：主文案提到 **16**（表内"小标题"档，与下方内容卡的 `.script-library-card>strong` 14 正好差一档 ——
   "这张是入口、下面是内容"），副文案保持 11（元信息档）；行间 5 / 与 ＋ 钮的列间 16。 */
html[data-visual-mode="minimal"] body.theme-liquid #appView .new-script-hero { gap: 5px 16px !important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .new-script-hero>span { font-size: 16px !important; line-height: 1.35 !important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .new-script-hero>small { line-height: 1.4 !important; }

/* ── 新建脚本入口：文案去冗词 + 卡片放大（2026-09-26 第三轮，用户「新建空白脚本改成新建脚本，然后卡片放大，现在有点急（挤）」）──
   ① 文案「新建空白脚本」→「新建脚本」：入口卡与弹层顶部那行小字**两处同名**，一起改；
      去掉「空白」这个冗词后与底部导航的「脚本」同词根（原句 6 字 → 4 字，一行更短）。
      ⚠️ 另有几处是**句子**、不是这个名称，没动：空态那句「新建一篇空白脚本开始写作。」。
   ② 卡片放大：`min-height` 68 → **88**、内边距 12/16 → **16/20**。
      ⭐ 88 **不是新造的档** —— 它是这张卡在 2026-09-25「紧档」之前的定稿值（本文件 2685 行仍留着 `min-height:88px` 那版），
         当时压到 68 是为了配合全页密度；但主文案这轮已升到 16（小标题档），68 高只余上下各 13.7px，
         确实挤。88 高 + 16 上下内边距 ⇒ 内容（16 + 5 + 11 ≈ 40.6）之外还有约 23.7px 呼吸位。 */
html[data-visual-mode="minimal"] body.theme-liquid #appView .new-script-hero { min-height: 88px !important; padding: 16px 20px !important; }

/* ── 新建脚本入口：主文案改黄（2026-09-26 第四轮，用户「新建脚本改成黄色字」）──────────────
   ⭐ 这里可以放心用黄：卡面是 `--dark-card-floor`（`#191c1d`，比控件色 `#2d3031` 更暗一档），
      `#f4b95f` 对它是约 **9.5:1**（对白卡只有 1.77:1，所以"黄字必须配深底"这条在这里天然满足）。
      与同页「商单」标签（深墨底黄字）是同一套语言：**黄＝强调**，白／浅灰＝一般信息。
   ⇒ 卡内三级的读法：黄＝入口本身（16/700）、白 72%＝它做什么（11/400）、白圆钮＝动作。
   ⛔ 别把副文案也染黄 —— 一处黄才叫强调，两处就变成"整卡发黄"。 */
html[data-visual-mode="minimal"] body.theme-liquid #appView .new-script-hero>span { color: var(--minimal-accent) !important; }

/* ── 脚本正文分块：开头 / 内容 / 结尾（2026-09-26 用户「正文里的脚本编辑分块：开头，内容，结尾去编写」）──
   每格三层信息：区块名（14/600 墨）＋ 它是什么（11/400 muted）＋ 可写的正文。
   ⭐ 分块只靠**区块名 + 一条极轻的分隔线 + 间距**，不加卡片底、不加四边框 ——
      编辑页在 minimal 层本来就是"文档流"（见本文件 1156 行：`.script-document :is(.script-title-card,.script-body-card){padding:0;box-shadow:none}`），
      再加壳子等于把刚去掉的材质又装回来。
   ⛔ 兄弟间距只在 `.script-part + .script-part` 上给（第一格上方不加，否则与 `正文` 标题的间距叠成双倍）。 */
html[data-visual-mode="minimal"] body.theme-liquid #appView .script-part + .script-part { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--minimal-line); }
html[data-visual-mode="minimal"] body.theme-liquid #appView .script-part-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .script-part-head > h4 { margin: 0; font-size: 14px !important; font-weight: 600 !important; letter-spacing: -.01em; color: var(--minimal-ink) !important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .script-part-head > span { font-size: 11px !important; font-weight: 400 !important; color: var(--muted) !important; }

/* 空格的占位按格子说自己的话，不是三格都"从这里开始写…"（后者由 styles.css 的原规则给）。 */
html[data-visual-mode="minimal"] body.theme-liquid #appView .script-part[data-part="opening"] .script-block:empty::before { content: "先抛一个钩子…"; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .script-part[data-part="body"] .script-block:empty::before { content: "展开主体信息…"; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .script-part[data-part="closing"] .script-block:empty::before { content: "收个尾，或给一句行动号召…"; }

/* ── 项目级约定：**输入面一律不画焦点环** ───────────────────────────────────────
   2026-09-26 用户：「编写的时候不要黑描边框」→「脚本标题文本输入的黑框也去掉」
   →「**记住所有的输入框和编辑文字都不要黑框**」（最后这句是约定，不是单点修改）。

   ⛔ 环的来源是**全站焦点组**（本文件 992 行）：
      `:is(button,a,input,textarea,select,summary,[contenteditable="true"]):focus-visible
        { outline:3px solid var(--accent-purple-ink); outline-offset:3px }`
      而 minimal 层里 `--accent-purple-ink` = `--minimal-accent-ink` = `#202324` ⇒ 实测 **`rgb(32,35,36)` 近黑 3px**
      —— 这就是用户说的"黑框"。注意它最初叫 purple（base-layout 里是 `#51485f`），minimal 层换成了墨色，
      所以别再按名字以为它是紫框。

   ⭐ 为什么"去掉"在这里是对的，而不是牺牲可访问性：
     ① 这几类元素**自带更精确的焦点信号** —— 文字光标（caret）在字里，边框/底色变化在控件上；
     ② 移动端是主场景（本产品固定 402px 手机壳），Tab 是次场景；
     ③ 只去掉**输入面**：按钮 / tab / 胶囊 / `<summary>` / 勾选控件的环**全部保留**（那里环是唯一信号）。
       契约有反向断言守着这一点。

   ⚠️ 唯一例外＝选题页那条**黄环**（本文件更上方 `#appView :is(.topic-quick-add,.topic-search-panel)>input:focus-visible`）：
      它落在深墨容器里的**白胶囊**上，是刻意设计（墨环落在深底上根本看不见）。它带 `#appView` ⇒ 特异性 (1,4,2)
      **高于**本条 ⇒ 会自动胜出，别以为被本条盖掉了。
   ⚠️ 本条**只压 `outline`，不碰 `box-shadow`**：输入面还用 box-shadow 画 inset 高光/玻璃边
      （实测 `.script-title` 聚焦时是 `inset 0 1px 0 rgba(255,255,255,.1)` 白高光），无差别清零会把材质抹掉。
      需要清 box-shadow 的只有下面那条写作面的例外。
   ⚠️ 排除 `checkbox / radio / range`：它们严格说不是"输入框"，且勾选控件的环是可访问性必需品。
      （`.filter-chip / .type-option / .option-chip input:focus-visible + span` 那些环画在 `label>span` 上，
       本条根本碰不到 —— 那是选择控件的视觉代理，保留。）
   ⛔ 特异性：`html[data-visual-mode] body.theme-liquid :is(…):focus-visible` —— 本条因 `:not()` 链达到 **(0,6,3)**
      （= 元素 3：html/body/input；类位 6：`[data-visual-mode]` + `.theme-liquid` + 三个 `:not([type])` + `:focus-visible`），
      高于 992 行那条 **(0,4,2)**。两条都 `!important` ⇒ 真的靠特异性取胜（不是只靠源序）。
      与 966 行那条「输入至少 16px / radius 18」的大 `:is()` **同参数、同特异性** —— 但那条只管字号/圆角/光标色，不管 outline，两者不打架。
      所以：**别把本条挪到 992 行之前**，也别删掉那些 `:not()`（删了就掉回 (0,4,2)，只能靠源序赢，太脆）。 */
html[data-visual-mode="minimal"] body.theme-liquid :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), textarea, select, [contenteditable="true"]):focus,
html[data-visual-mode="minimal"] body.theme-liquid :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), textarea, select, [contenteditable="true"]):focus-visible {
  outline: none !important;
}
/* 写作面（正文三格 + 脚本标题）**另需**清掉 `styles.css` 给的淡灰 box-shadow 光晕：
   它不是"环"，但会在浅底上补出一圈灰边（`#f1f2f4` 与画布 `#ededed` 几乎同色，单看不明显）。 */
html[data-visual-mode="minimal"] body.theme-liquid #appView :is(.script-block, input.script-title):focus,
html[data-visual-mode="minimal"] body.theme-liquid #appView :is(.script-block, input.script-title):focus-visible {
  box-shadow: none !important;
}

/* 拍摄安排为空时只保留外层卡片；提示文字和添加按钮直接排在卡片内。 */
html[data-visual-mode="minimal"] body.theme-liquid #appView .shoot-empty-panel > .empty-state {
  padding: 24px 0 28px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .shoot-empty-panel > .empty-state > .button.secondary {
  border: 0 !important;
  border-radius: 23px !important;
  background: var(--minimal-dark) !important;
  color: #fff !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

/* ── 脚本正文：空态缩紧、有字自然长高（2026-09-26 用户「每段之间间隔留白太多了，没输入文字的时候缩紧，输入文字多了后再自动下移」）──
   三处一起收，缺一处都还会觉得"空得慌"：
   ① `.script-block` 的 `min-height` **80 → 36**（本文件 1163 行原位改）：空格子从"整整 80px 的空块"变成
      "一行正文的高度（14px×1.8 ≈ 25）＋ 一点余量"。36 也是这一格还能一眼看出"这里可以点进去写"的下限 ——
      再矮就会让人不确定能不能写。⚠️ 只设 min-height、**不设 height / max-height**，
      所以"输入文字多了自动下移"是天然的（块高由内容撑开，没有裁剪）。
   ② 段间距 **20+20 → 14+14**：分隔线的上下一共 40px 确实太松；收成 28 之后仍明显大于格内的行距，
      分块的层次没丢（分立感靠那条 1px 线，不靠这么宽的空白）。
   ③ `.script-writing-surface` 的 `min-height` **320 → 0**：三格都空时，这个兜底高度会在最后
      再补一大段空白（页面看着像"没写完的稿纸"）。改由内容决定高度。 */
html[data-visual-mode="minimal"] body.theme-liquid #appView .script-writing-surface { min-height: 0 !important; }

/* 脚本标题 ←→ 正文 拉近（2026-09-26 用户「正文和脚本标题的距离也拉近」）。
   原值 `padding-bottom 24 + margin-bottom 24 = 48`（含一条分隔线）偏松；
   收到 **16 + 16 = 32**：**略大于**同页的段间距 28（上一轮定的），
   让"标题区 → 正文区"这一段仍比"开头 → 内容 → 结尾"之间松一点点，层级差保住。
   （若想两处完全一致，把这里的 16 改成 14 即可。） */
/* 灵感 · 账号定位：复用简约版白卡、深墨主按钮与 16px 输入字级。 */
html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-account-entry {
  display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:76px;
  margin:0 0 20px;padding:16px 20px;border:0;border-radius:28px;
  background:var(--minimal-glass,rgba(255,255,255,.78));color:var(--minimal-ink);text-align:left;cursor:pointer;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-account-entry span,
html[data-visual-mode="minimal"] body.theme-liquid #appView .creator-account-row span { display:grid;gap:4px;min-width:0; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-account-entry strong,
html[data-visual-mode="minimal"] body.theme-liquid #appView .creator-account-row strong { font-size:16px;font-weight:600; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-account-entry small,
html[data-visual-mode="minimal"] body.theme-liquid #appView .creator-account-row small { font-size:14px;color:var(--muted);font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-account-entry b,
html[data-visual-mode="minimal"] body.theme-liquid #appView .creator-account-row b { flex:none;font-size:14px;font-weight:600; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-position-choice { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);align-items:center;gap:12px;margin-top:16px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-position-choice > label:first-child { font-size:14px;font-weight:600; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-position-choice select {
  min-width:0;min-height:44px;padding:8px 12px;border:0;border-radius:16px;background:var(--minimal-soft);color:var(--minimal-ink);font-size:16px;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-position-toggle { grid-column:1/-1;display:flex;align-items:center;gap:10px;min-height:44px;font-size:14px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-position-toggle input,
html[data-visual-mode="minimal"] body.theme-liquid #appView .creator-owner-check input { width:20px;height:20px;flex:none;accent-color:var(--minimal-dark); }
html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-position-hint { margin:14px 0 0;color:var(--muted);font-size:14px;line-height:1.5; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .video-creator-context { margin:0 20px;color:var(--muted);font-size:11px;font-weight:600;line-height:1.5; }

html[data-visual-mode="minimal"] body.theme-liquid #appView :is(.creator-account-page,.creator-position-page) { display:flex;flex-direction:column;gap:20px;padding-bottom:28px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView :is(.creator-account-intro,.creator-account-local-note,.creator-account-empty) { margin:0;color:var(--muted);font-size:14px;line-height:1.6; }
html[data-visual-mode="minimal"] body.theme-liquid #appView :is(.creator-account-lookup,.creator-account-list,.creator-position-source,.creator-position-evidence,.creator-position-form) {
  padding:24px;border-radius:28px;background:rgba(255,255,255,.78);color:var(--minimal-ink);
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .creator-account-lookup { display:grid;gap:14px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .creator-account-lookup > label,
html[data-visual-mode="minimal"] body.theme-liquid #appView .creator-position-field > label { font-size:14px;font-weight:600; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .creator-account-lookup button,
html[data-visual-mode="minimal"] body.theme-liquid #appView .creator-position-form > button {
  justify-self:end;min-height:46px;padding:0 20px;border:0;border-radius:23px;background:var(--minimal-dark);color:#fff;font-size:14px;font-weight:600;cursor:pointer;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .creator-account-lookup button:disabled { opacity:.5;cursor:wait; }
html[data-visual-mode="minimal"] body.theme-liquid #appView :is(.creator-account-loading,.creator-account-error) { margin:0;padding:12px 16px;border-radius:16px;background:var(--minimal-soft);font-size:14px;line-height:1.6; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .creator-account-error { color:#c0392b; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .creator-draft-entry { display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;padding:12px 18px;border:0;border-radius:18px;background:var(--minimal-soft);color:var(--minimal-ink);font-size:14px;text-align:left;cursor:pointer; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .creator-draft-entry b { flex:none;font-weight:600; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .creator-account-list { display:grid;gap:0; }
html[data-visual-mode="minimal"] body.theme-liquid #appView :is(.creator-account-list,.creator-position-evidence,.creator-position-form) h3 { margin:0 0 12px;font-size:21px;font-weight:600; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .creator-account-row { display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:64px;padding:12px 0;border:0;border-bottom:1px solid var(--minimal-edge,#e7e8eb);background:transparent;color:inherit;text-align:left;cursor:pointer; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .creator-account-row:last-child { border-bottom:0; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .creator-position-source { display:grid;gap:8px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .creator-position-source strong { font-size:21px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .creator-position-source span,
html[data-visual-mode="minimal"] body.theme-liquid #appView .creator-position-evidence small { color:var(--muted);font-size:11px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .creator-position-source p,
html[data-visual-mode="minimal"] body.theme-liquid #appView .creator-position-form > p { margin:0;color:var(--muted);font-size:14px;line-height:1.6; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .creator-position-evidence ul,
html[data-visual-mode="minimal"] body.theme-liquid #appView .creator-position-uncertain { display:grid;gap:12px;margin:0;padding-left:20px;font-size:14px;line-height:1.6; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .creator-position-evidence li small { display:block;margin-top:4px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .creator-position-evidence details { margin-top:20px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView :is(.creator-position-evidence,.creator-position-history) summary { min-height:44px;display:flex;align-items:center;font-size:14px;font-weight:600;cursor:pointer; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .creator-position-evidence a { color:var(--minimal-ink);text-underline-offset:3px;overflow-wrap:anywhere; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .creator-position-form { display:grid;gap:16px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .creator-position-form h3 { margin-bottom:0; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .creator-position-uncertain { padding:14px 14px 14px 32px;border-radius:16px;background:var(--minimal-soft); }
html[data-visual-mode="minimal"] body.theme-liquid #appView .creator-position-field { display:grid;gap:8px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .creator-position-field :is(input,textarea) {
  width:100%;min-height:48px;padding:12px 14px;border:0;border-radius:18px;outline:0;background:var(--minimal-soft);color:var(--minimal-ink);font-size:16px;line-height:1.5;resize:vertical;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .creator-owner-check { display:flex;align-items:flex-start;gap:12px;font-size:14px;line-height:1.5; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .creator-position-history { padding:0 20px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .creator-position-history p { margin:8px 0;color:var(--muted);font-size:14px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .creator-position-version { padding:14px 0;border-top:1px solid var(--minimal-edge,#e7e8eb); }
html[data-visual-mode="minimal"] body.theme-liquid #appView .creator-position-version strong { font-size:14px; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .creator-position-version small { display:block;color:var(--muted);font-size:11px;line-height:1.5; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .creator-position-remove { align-self:flex-start;min-height:44px;padding:0 12px;border:0;background:transparent;color:#c0392b;font-size:14px;font-weight:600;cursor:pointer; }
@media (max-width:390px) {
  html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-position-choice { grid-template-columns:1fr;gap:8px; }
  html[data-visual-mode="minimal"] body.theme-liquid #appView .inspiration-position-toggle { grid-column:1; }
}

/* Shooting empty card material: only the no-node panel, not populated schedules. */
html[data-visual-mode="minimal"] body.theme-liquid #appView .shoot-empty-panel {
  background-color:var(--dark-card-floor)!important;background-image:var(--dark-card-sheen)!important;color:var(--minimal-paper);
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .shoot-empty-panel .agenda-card-heading h2 { color:var(--minimal-paper)!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .shoot-empty-panel .empty-state h3 { color:var(--minimal-paper)!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .shoot-empty-panel :is(.agenda-card-heading>span,.empty-state p) { color:rgba(255,255,255,.78)!important; }
html[data-visual-mode="minimal"] body.theme-liquid #appView .shoot-empty-panel > .empty-state > .button.secondary {
  background:var(--minimal-accent)!important;color:var(--minimal-dark)!important;
}
html[data-visual-mode="minimal"] body.theme-liquid #appView .shoot-empty-panel > .empty-state > .button.secondary:focus-visible { outline-color:var(--minimal-paper)!important; }
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more) {
  html[data-visual-mode="minimal"] body.theme-liquid #appView .shoot-empty-panel { background:var(--minimal-dark)!important; }
}
/* End shooting empty card material. */

/* Shared microphone: a single clean outline, without outlining the old filled silhouette. */
html[data-visual-mode="minimal"] body.theme-liquid .voice-input-button .voice-mic-icon {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}
.voice-input-button .voice-mic-icon :is(rect,path) { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Shared content inset: calendar date is the mobile top reference. */
html[data-visual-mode="minimal"] body.theme-liquid .app-view { padding-top:calc(10px + env(safe-area-inset-top,0px)); }
html[data-visual-mode="minimal"] body.theme-liquid:not([data-route="schedule"]):not([data-route="membership"]):not([data-route="chat-workspace"]) .app-view { padding-top:calc(22px + env(safe-area-inset-top,0px)); }

/* Pointer opening a dialog must not paint a keyboard focus ring. Tab/arrow
   interaction restores the shared focus-visible treatment immediately. */
html[data-input-modality="pointer"] body.theme-liquid :is(dialog,[role="dialog"]) button:focus-visible {
  outline:none!important;
}
html[data-input-modality="keyboard"] body.theme-liquid :is(dialog,[role="dialog"]) button:focus {
  outline:3px solid var(--ink)!important;outline-offset:3px;
}
