/* ---------------- WPS typography sizes ---------------- */
/* 正文按 WPS 四号（14pt）；章节计划表按 WPS 小五（9pt）。
   顶部栏、任务栏、左侧栏保持原字号，不参与全局放大。 */
body :where(*):not(.sidebar, .sidebar *, .topbar, .topbar *, .taskbar, .taskbar *) {
  font-size: 14pt !important;
}
body :where(button, .btn, .chip, input, select, textarea):not(.sidebar *, .topbar *, .taskbar *) {
  line-height: 1.35;
}
body :where(button, .btn):not(.sidebar *, .topbar *, .taskbar *) {
  height: auto !important;
  min-height: 32px;
}
/* 作品档案里的故事圣经、全书状态、体检、节奏：比正文再小一号（小四 12pt）。 */
body .guard-page :where(*) {
  font-size: 12pt !important;
}
/* 写作台对话区、草稿卡、右侧当前书信息：同样降为小四 12pt。 */
body .chat-view :where(*) {
  font-size: 12pt !important;
}
body .plan-compact-list,
body .plan-compact-list * {
  font-size: 9pt !important;
}

/* 章纲正文区大字号下保持可用的行布局 */
body .guard-page .written-row { grid-template-columns: 30px minmax(0,1fr) auto auto; }
body .guard-page .written-row > small,
body .guard-page .written-row .row-actions { white-space: nowrap; }
