/*  Room dark themes (desk) — generated by tools/build-dark.js from: styles.css, desk.css, articles.css, desk-home.css, news-impact.css, ai-for-art.css, word-export.css, room-icons.css, desk-designs.css  */
.room-theme-toggle { margin-left: auto; }
.room-theme-toggle svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.room-theme-toggle .room-theme-sun, html[data-room-theme="dark"] .room-theme-toggle .room-theme-moon { display: none; }
html[data-room-theme="dark"] .room-theme-toggle .room-theme-sun { display: block; }
.topbar .room-theme-toggle { display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 6px; color: inherit; background: transparent; cursor: pointer; }
.topbar .room-theme-toggle:hover { background: rgba(128, 128, 128, .14); }
.topbar .room-theme-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.topbar .room-theme-toggle svg { width: 19px; height: 19px; }
.account-identity .room-theme-toggle { margin-right: 6px; }
/*  ===== graphite · 石墨 · 中性灰 + 暖铜 =====  */
html[data-room-theme="dark"] { color-scheme: dark; --bg: #e9ebee; --surface: #e9ebee; --surface-raised: #e9ebee; --ink: #1a1b1d; --muted: #5b5d5f; --primary: #c88a67; --primary-strong: #e8a884; --accent: #7c3803; --danger: #a84339; --focus: #4f3d00; --reader-bg: #1c1e1f; --reader-ink: #e4e6e8; --reader-muted: #a6a8aa; --reader-rule: #3e3f41; --font-ui: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; --font-reading: "Noto Serif SC", "Songti SC", STSong, SimSun, serif; --ease-out: cubic-bezier(.22, 1, .36, 1); --z-sticky: 20; --z-dialog: 40; }
html[data-room-theme="dark"] { background: #e9ebee; }
html[data-room-theme="dark"] body { color: var(--ink); background: #e9ebee; }
html[data-room-theme="dark"] button { color: inherit; }
html[data-room-theme="dark"] button, html[data-room-theme="dark"] input, html[data-room-theme="dark"] [tabindex] { outline: none; }
html[data-room-theme="dark"] button:focus-visible, html[data-room-theme="dark"] input:focus-visible, html[data-room-theme="dark"] [tabindex]:focus-visible { box-shadow: 0 0 0 3px var(--focus); }
html[data-room-theme="dark"] button { border: 0; }
html[data-room-theme="dark"] .environment-badge { color: #e9ebee; border: 1px solid #662c00; background: #532200; box-shadow: 0 5px 18px #0000009f; }
html[data-room-theme="dark"] .app-frame { --reader-max-width: 480px; background: var(--bg); }
html[data-room-theme="dark"] .login-view { background: radial-gradient(circle at 85% 5%, #febd995c, transparent 34%),
    var(--bg); }
html[data-room-theme="dark"] .login-brand { color: var(--muted); }
html[data-room-theme="dark"] .brand-rule { background: var(--accent); }
html[data-room-theme="dark"] .domain-label, html[data-room-theme="dark"] .app-mark, html[data-room-theme="dark"] .section-heading > p, html[data-room-theme="dark"] .welcome-block > p, html[data-room-theme="dark"] .player-copy > p, html[data-room-theme="dark"] .sheet-header p, html[data-room-theme="dark"] .transcript-block > span, html[data-room-theme="dark"] .transcript-heading > span { color: var(--muted); }
html[data-room-theme="dark"] .login-copy > p:last-child { color: var(--muted); }
html[data-room-theme="dark"] .login-form label { color: var(--muted); }
html[data-room-theme="dark"] .login-form input { color: var(--ink); border: 1px solid #c4c6c8; background: var(--surface); }
html[data-room-theme="dark"] .login-form input::placeholder { color: #67686a; }
html[data-room-theme="dark"] .primary-button { color: #202224; background: var(--primary); }
html[data-room-theme="dark"] .primary-button:hover, html[data-room-theme="dark"] .primary-button:active { background: var(--primary-strong); }
html[data-room-theme="dark"] .secondary-button { color: #202224; background: var(--primary-strong); }
html[data-room-theme="dark"] .text-button { color: inherit; background: transparent; }
html[data-room-theme="dark"] .prototype-note { color: var(--muted); }
html[data-room-theme="dark"] .form-error { color: var(--danger); }
html[data-room-theme="dark"] .app-header, html[data-room-theme="dark"] .immersive-header { background: var(--bg); }
html[data-room-theme="dark"] .app-mark { color: var(--accent); }
html[data-room-theme="dark"] .page-context { color: var(--muted); }
html[data-room-theme="dark"] .icon-button { background: transparent; }
html[data-room-theme="dark"] .icon-button:hover { background: var(--surface-raised); }
html[data-room-theme="dark"] .icon-button svg, html[data-room-theme="dark"] .destination-row svg, html[data-room-theme="dark"] .nav-button svg { fill: none; stroke: currentColor; }
html[data-room-theme="dark"] .continue-panel { color: #1d1e20; background: var(--primary-strong); }
html[data-room-theme="dark"] .continue-label { color: #532200; }
html[data-room-theme="dark"] .continue-panel > span:not(.continue-label, .continue-action) { color: #2b2c2e; }
html[data-room-theme="dark"] .destination-list { border-top: 1px solid #d4d6d8; }
html[data-room-theme="dark"] .destination-row { border-bottom: 1px solid #d4d6d8; background: transparent; }
html[data-room-theme="dark"] .destination-row:hover { color: var(--accent); }
html[data-room-theme="dark"] .destination-index { background: var(--surface-raised); }
html[data-room-theme="dark"] .destination-copy span { color: var(--muted); }
html[data-room-theme="dark"] .destination-copy .coming-soon-tag { color: #3f1800; background: #ffbd98; }
html[data-room-theme="dark"] .destination-copy .coming-soon-tag.is-live { color: #e9ebee; background: var(--accent); }
html[data-room-theme="dark"] .book-entry + .book-entry { border-top: 1px solid #d4d6d8; }
html[data-room-theme="dark"] .revision-alert { color: var(--ink); border: 1px solid #ba6b61b3; background: #ebc7c138; }
html[data-room-theme="dark"] .revision-alert small { color: var(--muted); }
html[data-room-theme="dark"] .book-cover { background: #e9ebee; box-shadow: -6px 0 0 #000000cc; }
html[data-room-theme="dark"] .book-cover-edition { color: #e9ebee; border: 1px solid #491e008c; background: #491e00f0; box-shadow: 0 3px 12px #000000cc; }
html[data-room-theme="dark"] .book-cover-edition.is-legacy { color: #2b2c2e; border-color: #7d7f8173; background: #dfe1e3eb; }
html[data-room-theme="dark"] .book-meta > p:first-child { color: var(--accent); }
html[data-room-theme="dark"] .book-meta > p:not(:first-child) { color: var(--muted); }
html[data-room-theme="dark"] .protected-book-cover { color: var(--ink); background: #e9ebee; box-shadow: -6px 0 0 #000000cc; }
html[data-room-theme="dark"] .protected-book-cover::after { background: #eaaa87; }
html[data-room-theme="dark"] .protected-cover-type, html[data-room-theme="dark"] .protected-cover-lock { color: var(--muted); }
html[data-room-theme="dark"] .protected-book-view { background: var(--bg); }
html[data-room-theme="dark"] .protected-book-intro { border-bottom: 1px solid var(--line); }
html[data-room-theme="dark"] .protected-book-intro > p:first-child { color: var(--accent); }
html[data-room-theme="dark"] .protected-book-intro > p:last-child { color: var(--muted); }
html[data-room-theme="dark"] .protected-cover-section, html[data-room-theme="dark"] .protected-outline { border-bottom: 1px solid var(--line); }
html[data-room-theme="dark"] .protected-section-heading p { color: var(--accent); }
html[data-room-theme="dark"] .protected-cover-stage img { border: 1px solid var(--line); background: #e9ebee; box-shadow: 0 18px 48px #000000ba; }
html[data-room-theme="dark"] .protected-cover-stage figcaption span { color: var(--muted); }
html[data-room-theme="dark"] .protected-cover-tabs { border: 1px solid var(--line); }
html[data-room-theme="dark"] .protected-cover-tabs button { border: 0; border-right: 1px solid var(--line); color: var(--muted); background: transparent; }
html[data-room-theme="dark"] .protected-cover-tabs button:last-child { border-right: 0; }
html[data-room-theme="dark"] .protected-cover-tabs button[aria-selected="true"] { color: var(--ink); background: var(--surface-raised); }
html[data-room-theme="dark"] .protected-outline-content { color: var(--ink); }
html[data-room-theme="dark"] .protected-outline-content hr { border: 0; border-top: 1px solid var(--line); }
html[data-room-theme="dark"] .mv-list { border-top: 1px solid #d4d6d8; }
html[data-room-theme="dark"] .mv-row { border-bottom: 1px solid #d4d6d8; background: transparent; }
html[data-room-theme="dark"] .mv-row:hover { color: var(--accent); }
html[data-room-theme="dark"] .mv-poster { background: var(--poster-bg, var(--surface-raised)); }
html[data-room-theme="dark"] .mv-poster::before, html[data-room-theme="dark"] .orbit-mark::before { border: 1px solid #1c1e1fb8; }
html[data-room-theme="dark"] .mv-poster::after { background: var(--accent); }
html[data-room-theme="dark"] .mv-kind { color: #1c1e1fdb; }
html[data-room-theme="dark"] .mv-new-badge { border: 1px solid #3f1800; background: #662c00; color: #e9ebee; box-shadow: 0 0 0 1px #000000c7, 0 0 12px #00000092; }
html[data-room-theme="dark"] .mv-version { color: var(--muted); }
html[data-room-theme="dark"] .mv-arrow { color: var(--muted); }
html[data-room-theme="dark"] .asset-note { color: var(--muted); }
html[data-room-theme="dark"] .comic-episode-header { border-top: 1px solid #d4d6d8; }
html[data-room-theme="dark"] .comic-episode-header > p:first-child { color: var(--accent); }
html[data-room-theme="dark"] .comic-episode-header > p:not(:first-child) { color: var(--muted); }
html[data-room-theme="dark"] .comic-version-status { color: var(--muted); }
html[data-room-theme="dark"] .comic-progress > span { background: #d1d3d6; }
html[data-room-theme="dark"] .comic-progress i { background: var(--accent); }
html[data-room-theme="dark"] .comic-progress strong { color: var(--muted); }
html[data-room-theme="dark"] .comic-reader { background: #e9ebee; }
html[data-room-theme="dark"] .comic-page { background: #202224; }
html[data-room-theme="dark"] .comic-load-status { color: #939597; }
html[data-room-theme="dark"] .comic-load-retry { color: #dd9e7b; text-decoration: underline; }
html[data-room-theme="dark"] .comic-end-mark { color: var(--muted); background: #e9ebee; }
html[data-room-theme="dark"] .bottom-nav { border-top: 1px solid #dcdee0; background: #e9ebeef5; }
html[data-room-theme="dark"] .nav-button { color: var(--muted); background: transparent; }
html[data-room-theme="dark"] .nav-button.is-active { color: var(--accent); }
html[data-room-theme="dark"] .reader-view { --reader-font-size: 19px; color: var(--reader-ink); background: var(--reader-bg); color-scheme: dark; }
html[data-room-theme="dark"] .reader-view .immersive-header { color: var(--reader-ink); border-bottom: 1px solid var(--reader-rule); background: var(--reader-bg); }
html[data-room-theme="dark"] .reader-version-button { color: var(--reader-ink); background: transparent; }
html[data-room-theme="dark"] .reader-version-button span { color: var(--reader-muted); }
html[data-room-theme="dark"] .reader-icon:hover { background: var(--reader-rule); }
html[data-room-theme="dark"] .reader-content-action { color: var(--reader-ink); background: transparent; }
html[data-room-theme="dark"] .reader-content-action svg, html[data-room-theme="dark"] .content-request-attach svg { fill: none; stroke: currentColor; }
html[data-room-theme="dark"] .reader-content-action:hover:not(:disabled) { background: var(--reader-rule); }
html[data-room-theme="dark"] .annotation-mark { color: inherit; background: #4f3d006b; }
html[data-room-theme="dark"] .annotation-mark-modified { background: #78401e47; }
html[data-room-theme="dark"] .annotation-mark-persistent { box-shadow: inset 0 -2px 0 #000000cc; text-decoration: underline; text-decoration-color: #df9f7cd1; }
html[data-room-theme="dark"] .annotation-mark.annotation-deletion-point { border-inline-start: 2px solid #939597; background: transparent; box-shadow: none; }
html[data-room-theme="dark"] .annotation-mark.annotation-deletion-point-active { border-inline-start-color: #b9bbbd; }
html[data-room-theme="dark"] .annotation-mark-system { background: transparent; box-shadow: none; text-decoration: none; }
html[data-room-theme="dark"] .annotation-mark-system::before { background: var(--reader-muted); }
html[data-room-theme="dark"] .annotation-mark-system:focus-visible { outline: 1px solid var(--reader-muted); }
html[data-room-theme="dark"] .system-annotation-detail-quote { border-left: 2px solid var(--reader-rule); }
html[data-room-theme="dark"] .annotation-mark.annotation-change-current { background: #5c2801b8; box-shadow: inset 0 -2px 0 #000000cc; text-decoration: underline; text-decoration-color: #df9f7c; }
html[data-room-theme="dark"] .annotation-comparison-panel { color: var(--reader-ink); border: 1px solid var(--reader-rule); background: var(--reader-bg); box-shadow: 0 18px 48px #000000cc; }
html[data-room-theme="dark"] .annotation-comparison-header { border-bottom: 1px solid var(--reader-rule); background: var(--reader-bg); }
html[data-room-theme="dark"] .annotation-comparison-header p { color: var(--reader-muted); }
html[data-room-theme="dark"] .annotation-comparison-header .icon-button { color: var(--reader-ink); }
html[data-room-theme="dark"] .annotation-comparison-actions { background: var(--reader-bg); }
html[data-room-theme="dark"] .annotation-comparison-section h3 { color: var(--reader-muted); }
html[data-room-theme="dark"] .annotation-comparison-before { color: var(--reader-muted); border-inline-start: 3px solid #8e8f92; background: #2b2c2e9e; text-decoration-color: currentColor; }
html[data-room-theme="dark"] .annotation-comparison-after { color: var(--reader-ink); border-inline-start: 3px solid #c88a67; background: #491e0070; text-decoration: none; }
html[data-room-theme="dark"] .annotation-selection-action { color: var(--ink); border: 1px solid var(--reader-rule); background: var(--surface); box-shadow: 0 8px 24px #00000077; }
html[data-room-theme="dark"] .annotation-selection-action--docked { color: var(--ink); background: var(--surface); }
html[data-room-theme="dark"] .annotation-selection-notice { color: var(--ink); border: 1px solid var(--reader-rule); background: var(--surface); box-shadow: 0 8px 24px #00000077; }
html[data-room-theme="dark"] .book-annotations-button span { color: var(--muted); }
html[data-room-theme="dark"] .annotation-toolbar input { color: var(--ink); border: 1px solid #cfd0d3; background: var(--surface-raised); }
html[data-room-theme="dark"] .annotation-filters button { color: var(--muted); border: 1px solid #cfd0d3; background: transparent; }
html[data-room-theme="dark"] .annotation-filters button.is-selected { color: var(--ink); border-color: var(--accent); background: #7c380324; }
html[data-room-theme="dark"] .annotation-list-status { color: var(--muted); }
html[data-room-theme="dark"] .annotation-undo-button { color: var(--accent); }
html[data-room-theme="dark"] .annotation-list-item { border-top: 1px solid #cfd0d3; }
html[data-room-theme="dark"] .annotation-thread + .annotation-thread, html[data-room-theme="dark"] .annotation-thread + .annotation-list-item-system { border-top: 1px solid #cfd0d3; }
html[data-room-theme="dark"] .annotation-thread > .annotation-list-item { border-top: 0; }
html[data-room-theme="dark"] .annotation-thread-history > summary { color: var(--accent); }
html[data-room-theme="dark"] .annotation-thread-rounds { border-left: 2px solid var(--rule); }
html[data-room-theme="dark"] .annotation-list-item-system { border-left: 3px solid #5597b0; }
html[data-room-theme="dark"] .system-annotation-note { color: var(--ink); }
html[data-room-theme="dark"] .content-request-list-item { border-top: 1px solid #cfd0d3; }
html[data-room-theme="dark"] .content-request-list-open { color: var(--ink); background: transparent; }
html[data-room-theme="dark"] .content-request-list-open small { color: var(--muted); }
html[data-room-theme="dark"] .content-request-status { color: var(--accent); }
html[data-room-theme="dark"] .content-request-status-failed, html[data-room-theme="dark"] .content-request-status-needs_guidance { color: var(--danger); }
html[data-room-theme="dark"] .sr-only { border: 0; }
html[data-room-theme="dark"] .content-message { border: 1px solid #cfd0d3; background: var(--surface-raised); }
html[data-room-theme="dark"] .content-message-user { border-color: #b86f4485; background: #7c38031f; }
html[data-room-theme="dark"] .content-message strong, html[data-room-theme="dark"] .content-message small { color: var(--muted); }
html[data-room-theme="dark"] .content-message p { color: var(--ink); }
html[data-room-theme="dark"] .content-message-attachment { color: var(--accent); }
html[data-room-theme="dark"] .content-request-empty { color: var(--muted); }
html[data-room-theme="dark"] .content-request-understanding { border-top: 1px solid #cfd0d3; border-bottom: 1px solid #cfd0d3; }
html[data-room-theme="dark"] .content-request-understanding summary { color: var(--accent); }
html[data-room-theme="dark"] #content-request-understanding-body p { color: var(--muted); }
html[data-room-theme="dark"] #content-request-understanding-body strong { color: var(--ink); }
html[data-room-theme="dark"] .content-request-form { border-top: 1px solid #cfd0d3; }
html[data-room-theme="dark"] .content-request-composer textarea { color: var(--ink); border: 1px solid #c4c6c8; background: var(--surface-raised); }
html[data-room-theme="dark"] .content-request-file { border: 1px solid #cfd0d3; background: var(--surface-raised); }
html[data-room-theme="dark"] .annotation-list-quote { color: var(--ink); background: transparent; }
html[data-room-theme="dark"] .annotation-list-meta, html[data-room-theme="dark"] .annotation-list-note { color: var(--muted); }
html[data-room-theme="dark"] .annotation-list-note { color: var(--ink); }
html[data-room-theme="dark"] .annotation-guidance, html[data-room-theme="dark"] .annotation-agent-feedback { color: #dcdee0; border-left: 3px solid var(--accent); background: #5d270038; }
html[data-room-theme="dark"] .annotation-jump-button { color: var(--accent); border: 1px solid #ac6439b8; background: transparent; }
html[data-room-theme="dark"] .annotation-jump-button:hover, html[data-room-theme="dark"] .annotation-jump-button:focus-visible { border-color: var(--accent); background: #7c38031f; }
html[data-room-theme="dark"] .danger-button { color: var(--danger); }
html[data-room-theme="dark"] .annotation-quote { color: var(--reader-ink); border-left: 3px solid var(--accent); background: var(--reader-rule); }
html[data-room-theme="dark"] .annotation-field { color: var(--muted); }
html[data-room-theme="dark"] .annotation-field textarea { color: var(--ink); border: 1px solid #cfd0d3; background: var(--surface-raised); }
html[data-room-theme="dark"] .annotation-compose-actions { border-top: 1px solid var(--reader-rule); background: var(--surface); }
html[data-room-theme="dark"] .reader-scroll { --reader-track-end: 0px; }
html[data-room-theme="dark"] .author-portrait { border: 1px solid var(--reader-rule); filter: saturate(.88) contrast(1.02); }
html[data-room-theme="dark"] .reader-content .author-label { color: var(--reader-muted); }
html[data-room-theme="dark"] .reader-content .chapter-number { color: var(--reader-muted); }
html[data-room-theme="dark"] .reader-sources { color: var(--reader-muted); }
html[data-room-theme="dark"] .reader-sources summary { color: var(--primary-strong); }
html[data-room-theme="dark"] .reader-sources a { color: inherit; }
html[data-room-theme="dark"] .reader-comparison-scroll { border: 1px solid var(--reader-rule); }
html[data-room-theme="dark"] .reader-comparison-table th, html[data-room-theme="dark"] .reader-comparison-table td { border: 1px solid var(--reader-rule); }
html[data-room-theme="dark"] .reader-comparison-table thead th { background: var(--reader-bg); }
html[data-room-theme="dark"] .reader-figure img { border: 1px solid var(--reader-rule); }
html[data-room-theme="dark"] .reader-figure figcaption { color: var(--reader-muted); }
html[data-room-theme="dark"] .reader-footer { color: var(--reader-ink); border-top: 1px solid var(--reader-rule); background: var(--reader-bg); }
html[data-room-theme="dark"] .reader-page-button { color: var(--reader-ink); background: transparent; }
html[data-room-theme="dark"] .reader-page-button:hover:not(:disabled) { background: var(--reader-rule); }
html[data-room-theme="dark"] .reading-progress { background: var(--reader-rule); }
html[data-room-theme="dark"] .reading-progress span { background: var(--primary); }
html[data-room-theme="dark"] #reading-progress-text { color: var(--reader-muted); }
html[data-room-theme="dark"] #reading-sync-status { color: var(--accent); }
html[data-room-theme="dark"] .sheet-dialog { color: var(--ink); border: 0; background: var(--surface); }
html[data-room-theme="dark"] .sheet-dialog::backdrop { background: #10121694; }
html[data-room-theme="dark"] .sheet-handle { background: #aeb0b2; }
html[data-room-theme="dark"] .toc-list { border-top: 1px solid #cfd0d3; }
html[data-room-theme="dark"] .version-list, html[data-room-theme="dark"] .revision-runs-list { border-top: 1px solid #cfd0d3; }
html[data-room-theme="dark"] .version-row { color: var(--ink); border: 0; border-bottom: 1px solid #cfd0d3; background: transparent; }
html[data-room-theme="dark"] .version-row-open { color: inherit; background: transparent; }
html[data-room-theme="dark"] .version-row small { color: var(--muted); }
html[data-room-theme="dark"] .version-row.is-current strong { color: var(--accent); }
html[data-room-theme="dark"] .version-detail-button { color: var(--accent); background: transparent; }
html[data-room-theme="dark"] .version-change-list { color: var(--ink); border-top: 1px solid #cfd0d3; border-bottom: 1px solid #cfd0d3; }
html[data-room-theme="dark"] .revision-run-row { border-bottom: 1px solid #cfd0d3; }
html[data-room-theme="dark"] .revision-run-row small, html[data-room-theme="dark"] .revision-run-row p { color: var(--muted); }
html[data-room-theme="dark"] .toc-button { color: var(--ink); border-bottom: 1px solid #cfd0d3; background: transparent; }
html[data-room-theme="dark"] .toc-button.is-current { color: var(--accent); }
html[data-room-theme="dark"] .toc-number { color: var(--muted); }
html[data-room-theme="dark"] .secondary-unlock-copy { color: var(--muted); }
html[data-room-theme="dark"] .secondary-unlock-form label { color: var(--muted); }
html[data-room-theme="dark"] .secondary-unlock-form input { color: var(--ink); border: 1px solid #c4c6c8; background: var(--surface-raised); }
html[data-room-theme="dark"] .secondary-unlock-form input::placeholder { color: #67686a; }
html[data-room-theme="dark"] .setting-group, html[data-room-theme="dark"] .switch-row { border: 0; border-top: 1px solid #cfd0d3; }
html[data-room-theme="dark"] .segmented-control, html[data-room-theme="dark"] .theme-options { background: var(--surface-raised); }
html[data-room-theme="dark"] .segmented-control button, html[data-room-theme="dark"] .segmented-control output, html[data-room-theme="dark"] .theme-options button { background: transparent; }
html[data-room-theme="dark"] .theme-options button.is-selected { color: #202224; background: var(--primary-strong); }
html[data-room-theme="dark"] .switch-row small { color: var(--muted); }
html[data-room-theme="dark"] .switch-row input { accent-color: var(--primary); }
html[data-room-theme="dark"] .player-view { background: var(--bg); }
html[data-room-theme="dark"] .privacy-dot { background: var(--primary); box-shadow: 0 0 0 4px #0000006a; }
html[data-room-theme="dark"] .video-stage { background: #e9ebee; }
html[data-room-theme="dark"] .video-placeholder { background: radial-gradient(circle at 50% 48%, #f3b28e8c, transparent 26%),
    #e9ebee; }
html[data-room-theme="dark"] .orbit-mark::after { background: var(--accent); }
html[data-room-theme="dark"] .video-placeholder p { color: var(--muted); }
html[data-room-theme="dark"] .player-copy > p:not(:first-child) { color: var(--muted); }
html[data-room-theme="dark"] .transcript-block { border-top: 1px solid #d4d6d8; }
html[data-room-theme="dark"] .lyric-follow-button { color: var(--accent); border: 1px solid #df9f7c; background: transparent; }
html[data-room-theme="dark"] .lyric-viewport { scrollbar-color: #aeb0b2 transparent; }
html[data-room-theme="dark"] .lyric-line { color: var(--muted); background: transparent; }
html[data-room-theme="dark"] .lyric-line::before { background: transparent; }
html[data-room-theme="dark"] .lyric-line.is-active { color: var(--ink); background: #dcdee08c; }
html[data-room-theme="dark"] .lyric-line.is-active::before { background: var(--accent); }
html[data-room-theme="dark"] .lyric-line:focus-visible { outline: 2px solid var(--accent); }
html[data-room-theme="dark"] .lyric-empty { color: var(--ink); }
html[data-room-theme="dark"] .player-actions > span { color: var(--muted); }
@media (min-width: 768px) {
 html[data-room-theme="dark"] .app-frame[data-active-view="reader"] { --reader-max-width: 640px; } }
html[data-room-theme="dark"] .reader-figure.manuscript-cover img { border: 0; }
html[data-room-theme="dark"] .book-updates-entry { text-decoration: underline; }
html[data-room-theme="dark"] .book-updates-dialog { border: 1px solid #2e2f31; background: #1d1e20; color: #d0d2d5; }
html[data-room-theme="dark"] .book-updates-dialog::backdrop { background: #10121694; }
html[data-room-theme="dark"] .book-updates-header { border-bottom: 1px solid #27282a; }
html[data-room-theme="dark"] .book-updates-header p { color: #919295; }
html[data-room-theme="dark"] .book-updates-header button { border: 1px solid #2c2d2f; background: transparent; color: inherit; }
html[data-room-theme="dark"] .book-updates-intro { color: #909294; }
html[data-room-theme="dark"] .update-entry { border-bottom: 1px solid #26282a; }
html[data-room-theme="dark"] .update-entry:last-child { border-bottom: 0; }
html[data-room-theme="dark"] .update-meta { color: #8f9093; }
html[data-room-theme="dark"] .update-current { color: #e2a27f; background: #161719; }
html[data-room-theme="dark"] .update-details > summary { color: #e2a27f; }
html[data-room-theme="dark"] .update-detail-body { border-left: 2px solid #65300b; background: #181a1b; }
html[data-room-theme="dark"] .update-detail-count, html[data-room-theme="dark"] .update-muted { color: #8f9193; }
html[data-room-theme="dark"] .update-change { border-top: 1px solid #27292b; }
html[data-room-theme="dark"] .update-text-label { color: #909294; }
html[data-room-theme="dark"] .update-before { color: #8a8c8e; }
html[data-room-theme="dark"] .update-after { color: #f3b28e; }
html[data-room-theme="dark"] .book-updates-footer { border-top: 1px solid #27282a; }
html[data-room-theme="dark"] .book-updates-footer p { color: #909194; }
html[data-room-theme="dark"] .book-updates-dialog button:focus-visible, html[data-room-theme="dark"] .book-updates-dialog summary:focus-visible { outline: 2px solid #c08260; }
html[data-room-theme="dark"] .update-tour-header .update-tour-launch { color: #e1a27e; background: #18191b; border: 1px solid #602b04; }
html[data-room-theme="dark"] .update-tour-bar { border-bottom: 1px solid var(--reader-rule); background: var(--reader-bg); color: var(--reader-ink); }
html[data-room-theme="dark"] .update-tour-copy small { color: var(--reader-muted); }
html[data-room-theme="dark"] .update-tour-buttons button { border: 1px solid var(--reader-rule); background: var(--reader-bg); color: var(--reader-ink); }
html[data-room-theme="dark"] .update-tour-buttons #update-tour-next { background: #de9e7b; color: #202224; border-color: #de9e7b; }
html[data-room-theme="dark"] .update-tour-block { outline: 2px solid #b36a3e; }
html[data-room-theme="dark"] ::highlight(book-update-tour) { background-color: #261d00; color: #dfe1e4; }
html[data-room-theme="dark"] .update-tour-deletion { background: #bd7348; }
html[data-room-theme="dark"] .update-tour-deletion::before { color: #bd7348; }
html[data-room-theme="dark"] .update-tour-comparison { border: 1px solid #2e2f31; background: #1d1e20; color: #d0d2d5; }
html[data-room-theme="dark"] .update-tour-comparison .sheet-header { border-bottom: 1px solid #2e2f31; }
html[data-room-theme="dark"] .update-tour-comparison-next { color: #202224; background: #de9e7b; border: 1px solid #de9e7b; }
html[data-room-theme="dark"] .update-tour-comparison-next:focus-visible { outline: 3px solid #b36a3e; }
html[data-room-theme="dark"] .update-tour-comparison .sheet-header p { color: #be805e; }
html[data-room-theme="dark"] .update-tour-comparison .dialog-close { color: #edac89; }
html[data-room-theme="dark"] .update-tour-comparison-body h3 { border-bottom: 2px solid #68320e; color: #e1a17e; }
html[data-room-theme="dark"] .update-tour-comparison-notice { color: #909294; }
html[data-room-theme="dark"] .update-tour-comparison-notice:not(:empty) { border: 1px solid #2a2c2e; background: #18191b; }
html[data-room-theme="dark"] .update-diff-removed { background: #3c2220; color: #efaca5; text-decoration: none; }
html[data-room-theme="dark"] .update-diff-added { background: #371400; color: #ecac88; text-decoration: none; }
html[data-room-theme="dark"] .comic-version-switcher select { color: inherit; background: var(--paper, #1c1e20); border: 1px solid currentColor; }
html[data-room-theme="dark"] #page-loading { border: 0; outline: none; background: #e4e6e842; color: #a0c5bb; }
html[data-room-theme="dark"] #page-loading::backdrop { background: transparent; }
html[data-room-theme="dark"] #page-loading .page-loading-content { border: 1px solid #20222480; background: #1d1e20f5; box-shadow: 0 10px 40px #00000042; }
html[data-room-theme="dark"] #page-loading [data-loading-spinner] { border: 3px solid #a0c5bb2e; border-top-color: #a0c5bb; }
html[data-room-theme="dark"] #page-loading [data-loading-label] { color: #a0c5bb; }
html[data-room-theme="dark"] #page-loading [data-loading-retry] { color: #a0c5bb; }
html[data-room-theme="dark"] .reader-view .annotation-mark:is(.annotation-mark-modified, .annotation-mark-system):not(.annotation-change-current):not(.annotation-deletion-point-active) { background: transparent; box-shadow: none; text-decoration: none; border: 0; outline: 0; }
html[data-room-theme="dark"] .reading-assist-loading { background: var(--surface); color: var(--muted); }
html[data-room-theme="dark"] .desk-loop-entry { border: 1px solid #323436; border-left: 4px solid #de9e7b; background: #161719; }
html[data-room-theme="dark"] .desk-loop-entry p { color: #de9e7b; }
html[data-room-theme="dark"] .desk-loop-entry span { color: #a1a3a5; }
html[data-room-theme="dark"] .desk-loop-actions .primary-button { text-decoration: none; background: #de9e7b; color: #202224; }
html[data-room-theme="dark"] .desk-loop-actions .primary-button:hover { background: #f1b08c; }
html[data-room-theme="dark"] { color-scheme: dark; --bg: #1a1b1d; --surface: #1f2022; --surface-raised: #17181a; --ink: #d4d6d8; --muted: #909194; --primary: #de9e7b; --primary-strong: #f1b08c; --accent: #d68a5e; --danger: #df7b71; --focus: #ab6337; --reader-bg: #1b1d1f; --reader-ink: #d4d6d8; --reader-muted: #909194; --reader-rule: #28292b; --desk-line: #28292b; --reader-max-width: 680px; }
html[data-room-theme="dark"], html[data-room-theme="dark"] body { background: var(--bg); }
html[data-room-theme="dark"] button:focus-visible, html[data-room-theme="dark"] input:focus-visible, html[data-room-theme="dark"] textarea:focus-visible, html[data-room-theme="dark"] select:focus-visible, html[data-room-theme="dark"] a:focus-visible { outline: 2px solid var(--focus); }
html[data-room-theme="dark"] .app-frame, html[data-room-theme="dark"] .app-frame[data-active-view="reader"] { background: var(--bg); box-shadow: none; }
html[data-room-theme="dark"] .app-header { border-bottom: 1px solid var(--desk-line); background: var(--surface); }
html[data-room-theme="dark"] .app-header .app-mark { color: var(--primary); }
html[data-room-theme="dark"] .bottom-nav { border-top: 0; border-right: 1px solid var(--desk-line); background: var(--surface); }
html[data-room-theme="dark"] .bottom-nav::before { color: var(--ink); }
html[data-room-theme="dark"] .nav-button.is-active { color: var(--primary); background: #181a1b; }
html[data-room-theme="dark"] .welcome-block>p { color: var(--muted); }
html[data-room-theme="dark"] .welcome-block>span { color: var(--muted); }
html[data-room-theme="dark"] .desk-book { background: #181a1b; }
html[data-room-theme="dark"] .desk-cover { box-shadow: 8px 12px 20px #00000053; }
html[data-room-theme="dark"] .desk-book-copy>p:not(.desk-eyebrow) { color: var(--muted); }
html[data-room-theme="dark"] .desk-eyebrow { color: var(--muted); }
html[data-room-theme="dark"] .continue-panel { color: var(--ink); background: transparent; border: 0; }
html[data-room-theme="dark"] .continue-label { background: var(--primary); color: #1f2022; }
html[data-room-theme="dark"] #continue-book-title { color: var(--muted); }
html[data-room-theme="dark"] #continue-chapter { border-top: 1px solid #363739; }
html[data-room-theme="dark"] .text-button { color: var(--primary); }
html[data-room-theme="dark"] .secondary-button { background: transparent; color: var(--primary); border: 1px solid var(--desk-line); }
html[data-room-theme="dark"] .primary-button { color: #1e1f21; background: var(--primary); }
html[data-room-theme="dark"] .desk-muted { color: var(--muted); }
html[data-room-theme="dark"] .desk-revision { border-bottom: 1px solid var(--desk-line); background: none; }
html[data-room-theme="dark"] .desk-revision small { color: var(--muted); }
html[data-room-theme="dark"] .desk-notes-link { background: none; }
html[data-room-theme="dark"] .desk-notes-link strong { color: var(--primary); }
html[data-room-theme="dark"] .desk-chapter { border-bottom: 1px solid var(--desk-line); background: none; }
html[data-room-theme="dark"] .desk-chapter:hover, html[data-room-theme="dark"] .desk-revision:hover { color: var(--primary); background: #181a1b66; }
html[data-room-theme="dark"] .desk-collection { border-top: 1px solid var(--desk-line); background: none; }
html[data-room-theme="dark"] .desk-collection small, html[data-room-theme="dark"] .desk-collection span span { color: var(--muted); }
html[data-room-theme="dark"] .desk-collection-symbol { color: #dd9065; background: #252628; }
html[data-room-theme="dark"] .desk-music { background: #242527; }
html[data-room-theme="dark"] .section-heading p { color: var(--muted); }
html[data-room-theme="dark"] .book-entry { border-bottom: 1px solid var(--desk-line); }
html[data-room-theme="dark"] .book-meta p { color: var(--muted); }
html[data-room-theme="dark"] .protected-book-cover { background: #202123; color: var(--ink); }
html[data-room-theme="dark"] .desk-search input, html[data-room-theme="dark"] .desk-note-toolbar input, html[data-room-theme="dark"] .desk-note-toolbar select, html[data-room-theme="dark"] .desk-mode-label select { color: var(--ink); background: var(--surface); border: 1px solid var(--desk-line); }
html[data-room-theme="dark"] .desk-note { background: var(--surface); border: 1px solid var(--desk-line); }
html[data-room-theme="dark"] .desk-note blockquote { border-left: 2px solid #454648; }
html[data-room-theme="dark"] #desk-note-status { color: var(--muted); }
html[data-room-theme="dark"] .mv-row { border: 1px solid var(--desk-line); background: var(--surface); }
html[data-room-theme="dark"] .mv-copy span { color: var(--muted); }
html[data-room-theme="dark"] .comic-episode-header { color: var(--ink); background: var(--surface); }
html[data-room-theme="dark"] .comic-version-status, html[data-room-theme="dark"] .comic-episode-header>p { color: var(--muted); }
html[data-room-theme="dark"] .desk-reader-toc, html[data-room-theme="dark"] .desk-reader-aside { color: var(--reader-muted); }
html[data-room-theme="dark"] .desk-reader-toc { border-right: 1px solid var(--reader-rule); }
html[data-room-theme="dark"] .desk-reader-aside { border-left: 1px solid var(--reader-rule); }
html[data-room-theme="dark"] .desk-reader-toc h2 { color: var(--reader-ink); }
html[data-room-theme="dark"] .desk-reader-toc .toc-button { background: none; border-bottom: 1px solid var(--reader-rule); color: var(--reader-muted); }
html[data-room-theme="dark"] .desk-reader-toc .toc-button.is-current { color: var(--reader-ink); }
html[data-room-theme="dark"] .desk-reader-aside h2 { color: var(--reader-ink); }
html[data-room-theme="dark"] .desk-reader-aside hr { border: 0; border-top: 1px solid var(--reader-rule); }
html[data-room-theme="dark"] .desk-mode-label select { color: var(--reader-ink); background: var(--reader-bg); border-color: var(--reader-rule); }
html[data-room-theme="dark"] .reader-content { --reader-max-width: 680px; }
html[data-room-theme="dark"] .reader-view[data-reading-mode="scroll"] .book-introduction, html[data-room-theme="dark"] .reader-view[data-reading-mode="scroll"] .author-frontispiece { border-bottom: 1px solid var(--reader-rule); }
html[data-room-theme="dark"] .desk-focus-exit { border: 1px solid var(--reader-rule); background: var(--reader-bg); color: var(--reader-ink); }
html[data-room-theme="dark"] .sheet-dialog { background: var(--surface); color: var(--ink); border: 1px solid var(--desk-line); border-bottom: 0; }
html[data-room-theme="dark"] .sheet-header { background: var(--surface); }
html[data-room-theme="dark"] .annotation-list-item, html[data-room-theme="dark"] .annotation-thread-history, html[data-room-theme="dark"] .version-row, html[data-room-theme="dark"] .annotation-toolbar { background: var(--surface); color: var(--ink); border-color: var(--desk-line); }
html[data-room-theme="dark"] .annotation-list-quote, html[data-room-theme="dark"] .annotation-list-note, html[data-room-theme="dark"] .annotation-list-meta { color: var(--ink); }
html[data-room-theme="dark"] .annotation-field textarea, html[data-room-theme="dark"] .annotation-toolbar input { color: var(--ink); background: var(--surface-raised); }
html[data-room-theme="dark"] .annotation-filters button, html[data-room-theme="dark"] .theme-options button { color: var(--muted); background: var(--surface-raised); }
html[data-room-theme="dark"] .annotation-filters .is-selected, html[data-room-theme="dark"] .theme-options .is-selected { color: var(--primary); background: #181a1b; }
html[data-room-theme="dark"] .annotation-compose-dialog .sheet-header { background: var(--surface); }
html[data-room-theme="dark"] .login-view { background: var(--bg); }
html[data-room-theme="dark"] .login-form input, html[data-room-theme="dark"] .password-field { color: var(--ink); background: var(--surface); }
html[data-room-theme="dark"] .login-title { color: var(--ink); }
html[data-room-theme="dark"] .protected-book-view, html[data-room-theme="dark"] .player-view { background: var(--bg); }
html[data-room-theme="dark"] .protected-book-view .immersive-header, html[data-room-theme="dark"] .player-view .immersive-header { background: var(--surface); color: var(--ink); }
html[data-room-theme="dark"] .danger-button { color: var(--danger); }
@media (max-width:900px) {
 html[data-room-theme="dark"] .desk-updates { border-top: 1px solid var(--desk-line); } }
@media (max-width:700px) {
 html[data-room-theme="dark"] .bottom-nav { border-right: 0; border-top: 1px solid var(--desk-line); }
 html[data-room-theme="dark"] .nav-button.is-active { background: none; } }
html[data-room-theme="dark"] #continue-chapter { color: var(--muted); }
html[data-room-theme="dark"] .mv-unavailable-label { color: var(--danger); }
html[data-room-theme="dark"] .desk-project-entry { border-top: 1px solid var(--desk-line); }
html[data-room-theme="dark"] .desk-project-entry p { color: var(--muted); }
html[data-room-theme="dark"] .desk-project-entry span { color: var(--muted); }
html[data-room-theme="dark"] .desk-project-entry a { text-decoration: none; }
html[data-room-theme="dark"] .bottom-nav a.nav-button { text-decoration: none; }
html[data-room-theme="dark"] .reading-selection-actions button { border: 0; background: transparent; color: inherit; }
html[data-room-theme="dark"] .reading-selection-actions button:hover { background: #181a1b; }
html[data-room-theme="dark"] .reading-assist-panel { border: 1px solid var(--desk-line); background: var(--surface); box-shadow: 0 12px 36px #00000037; }
html[data-room-theme="dark"] .reading-assist-panel>header { border-bottom: 1px solid var(--desk-line); }
html[data-room-theme="dark"] .reading-assist-panel small { color: var(--muted); }
html[data-room-theme="dark"] .reading-assist-panel header button, html[data-room-theme="dark"] .reading-note-dialog header button { border: 0; background: transparent; }
html[data-room-theme="dark"] .reading-assist-panel iframe { border: 0; }
html[data-room-theme="dark"] .reading-note-dialog blockquote { border-left: 3px solid var(--primary); background: #161719; }
html[data-room-theme="dark"] .reading-note-dialog article { border-bottom: 1px solid var(--desk-line); }
@media (max-width:900px) {
 html[data-room-theme="dark"] #reading-assist-open { background: var(--surface); } }
@media (max-width:900px) {
 html[data-room-theme="dark"] .reading-mobile-open { background: var(--surface); } }
html[data-room-theme="dark"] #comic-library .comic-library-intro { color: var(--muted); }
html[data-room-theme="dark"] #comic-library-status { color: var(--muted); }
html[data-room-theme="dark"] .comic-cover-card { background: none; color: var(--ink); border: 0; }
html[data-room-theme="dark"] .comic-cover-image { background: #1a1b1d; border: 1px solid #2f3032; box-shadow: 4px 6px 0 #000000cc; }
html[data-room-theme="dark"] .comic-cover-placeholder { color: var(--primary); }
html[data-room-theme="dark"] .comic-cover-card:hover .comic-cover-image { box-shadow: 4px 9px 0 #000000cc; }
html[data-room-theme="dark"] .comic-cover-card:focus-visible { outline: 2px solid var(--focus); }
html[data-room-theme="dark"] .comic-cover-copy>span { color: var(--muted); }
html[data-room-theme="dark"] .comic-cover-copy small { color: var(--primary); }
html[data-room-theme="dark"] #comic-workspace { border: 1px solid var(--desk-line); background: var(--surface); }
html[data-room-theme="dark"] #comic-workspace button { color: var(--ink); background: transparent; border: 1px solid var(--desk-line); }
html[data-room-theme="dark"] #comic-workspace button:hover { background: #151719; }
html[data-room-theme="dark"] #comic-workspace button[aria-pressed=true], html[data-room-theme="dark"] #comic-workspace button[aria-current=page] { color: #e9a985; background: #191b1c; border-color: #743d1b; }
html[data-room-theme="dark"] #comic-workspace button:focus-visible, html[data-room-theme="dark"] #comic-workspace input:focus-visible { outline: 2px solid var(--focus); }
html[data-room-theme="dark"] .comic-reader-toolbar { background: var(--surface); border-bottom: 1px solid var(--desk-line); }
html[data-room-theme="dark"] #comic-back-library { border: 0 !important; }
html[data-room-theme="dark"] .comic-reader-heading p { color: var(--muted); }
html[data-room-theme="dark"] .comic-stage-area { background: #e3e5e7; }
html[data-room-theme="dark"] #comic-reader { background: #e3e5e7; }
html[data-room-theme="dark"] #comic-workspace[data-mode=paged] .comic-page { background: #e3e5e7; }
html[data-room-theme="dark"] #comic-workspace .comic-load-status { color: #78797c; background: #202123ed; }
html[data-room-theme="dark"] #comic-end-mark { color: #2e3031; }
html[data-room-theme="dark"] .comic-toc { border-left: 1px solid var(--desk-line); background: var(--surface); }
html[data-room-theme="dark"] #comic-toc-close { border: 0 !important; }
html[data-room-theme="dark"] #comic-episode-description { color: var(--muted); }
html[data-room-theme="dark"] .comic-chapter-button small { color: var(--muted); }
html[data-room-theme="dark"] #comic-editions-block { border-top: 1px solid var(--desk-line); }
html[data-room-theme="dark"] .comic-toc-note { color: var(--muted); }
html[data-room-theme="dark"] .comic-reader-footer { border-top: 1px solid var(--desk-line); background: var(--surface); }
html[data-room-theme="dark"] #comic-progress-text { color: var(--ink); }
html[data-room-theme="dark"] #comic-page-slider { accent-color: var(--primary); }
html[data-room-theme="dark"] #comic-workspace .comic-progress>span { background: #1a1b1d; }
html[data-room-theme="dark"] #comic-workspace .comic-progress i { background: var(--primary); }
html[data-room-theme="dark"] .comic-reader-hint { color: var(--muted); background: var(--surface); }
html[data-room-theme="dark"] #comic-workspace.comic-fullscreen, html[data-room-theme="dark"] #comic-workspace:fullscreen { border: 0; background: #e3e5e7; }
@media (max-width:900px) {
 html[data-room-theme="dark"] .comic-toc { box-shadow: -8px 0 24px #00000063; } }
html[data-room-theme="dark"] #comic-workspace #comic-episode-title:focus { outline: none; box-shadow: none; }
@media (min-width:1591px) {
 html[data-room-theme="dark"] { --main-max: 1400px; } }
@media (min-width:2000px) {
 html[data-room-theme="dark"] { --main-max: 1600px; } }
@media (min-width:2400px) {
 html[data-room-theme="dark"] { --main-max: 1800px; } }
html[data-room-theme="dark"] .article-section-head p { color: var(--muted); }
html[data-room-theme="dark"] .article-list { border-top: 1px solid var(--desk-line); }
html[data-room-theme="dark"] .article-entry { border-bottom: 1px solid var(--desk-line); }
html[data-room-theme="dark"] .article-title-link { background: none; color: var(--ink); }
html[data-room-theme="dark"] .article-title-link:hover { color: var(--primary); }
html[data-room-theme="dark"] .article-summary { color: var(--muted); }
html[data-room-theme="dark"] .article-meta { color: var(--muted); }
html[data-room-theme="dark"] .article-status { color: var(--muted); }
html[data-room-theme="dark"] .library-tabs { border-bottom: 1px solid var(--desk-line); }
html[data-room-theme="dark"] .library-tabs button { background: transparent; color: var(--muted); border-bottom: 3px solid transparent; }
html[data-room-theme="dark"] .library-tabs button[aria-pressed="true"] { color: var(--primary); border-bottom-color: var(--primary); }
html[data-room-theme="dark"] .library-toolbar input, html[data-room-theme="dark"] .library-toolbar select { border: 1px solid var(--desk-line); background: var(--surface); color: var(--ink); }
html[data-room-theme="dark"] .library-count { color: var(--muted); }
html[data-room-theme="dark"] .library-toolbar select:focus-visible { outline: 2px solid var(--primary); }
html[data-room-theme="dark"] #article-page { --article-size: 20px; }
html[data-room-theme="dark"] #article-page[data-font="large"] { --article-size: 23px; }
html[data-room-theme="dark"] #article-page[data-font="small"] { --article-size: 18px; }
html[data-room-theme="dark"] .article-toolbar { border-bottom: 1px solid var(--desk-line); }
html[data-room-theme="dark"] .article-variant { border: 1px solid var(--primary); background: var(--surface); color: var(--primary); }
html[data-room-theme="dark"] .article-variant[aria-pressed="true"] { background: var(--primary); color: var(--surface); }
html[data-room-theme="dark"] .article-variant:focus-visible { outline: 2px solid var(--primary); }
html[data-room-theme="dark"] .article-reviewbar { background: var(--surface); border: 1px solid var(--desk-line); }
html[data-room-theme="dark"] .article-reviewbar button { background: var(--surface); color: var(--primary); border: 1px solid var(--desk-line); }
html[data-room-theme="dark"] #article-review-next { background: var(--primary); color: var(--surface); }
html[data-room-theme="dark"] .article-edit-block { border: 1px solid var(--desk-line); border-left: 3px solid #786329; }
html[data-room-theme="dark"] .article-edit-block[data-active="true"] { outline: 2px solid #a86035; }
html[data-room-theme="dark"] .article-edit-link { background: transparent; color: var(--primary); }
html[data-room-theme="dark"] .article-edit-deleted { color: #da8d84; background: #18191b; }
html[data-room-theme="dark"] #article-change-dialog { border: 1px solid var(--desk-line); background: var(--surface); color: var(--ink); }
html[data-room-theme="dark"] #article-change-dialog::backdrop { background: #10121694; }
html[data-room-theme="dark"] #article-change-dialog > header { border-bottom: 1px solid var(--desk-line); }
html[data-room-theme="dark"] #article-change-label { color: var(--muted); }
html[data-room-theme="dark"] .article-change-scroll h3 { border-bottom: 2px solid var(--desk-line); }
html[data-room-theme="dark"] #article-page .update-diff-removed { background: #321e1c; color: inherit; text-decoration: none; }
html[data-room-theme="dark"] #article-page .update-diff-added { background: #1b1d1e; color: inherit; text-decoration: none; }
html[data-room-theme="dark"] .article-toolbar a { color: var(--primary); }
html[data-room-theme="dark"] .article-toolbar label { color: var(--muted); }
html[data-room-theme="dark"] .article-toolbar select { color: var(--ink); background: var(--surface); border: 1px solid var(--desk-line); }
html[data-room-theme="dark"] .article-toc { border-bottom: 1px solid var(--desk-line); }
html[data-room-theme="dark"] .article-toc summary, html[data-room-theme="dark"] .article-sources summary { color: var(--primary); }
html[data-room-theme="dark"] .article-body { color: var(--ink); }
html[data-room-theme="dark"] .article-body a, html[data-room-theme="dark"] .article-sources a { color: var(--primary); }
html[data-room-theme="dark"] .article-sources { border-top: 1px solid var(--desk-line); }
html[data-room-theme="dark"] .article-paging { border-top: 1px solid var(--desk-line); }
html[data-room-theme="dark"] .article-toolbar a:focus-visible, html[data-room-theme="dark"] .article-body a:focus-visible, html[data-room-theme="dark"] .article-sources a:focus-visible, html[data-room-theme="dark"] .article-toolbar select:focus-visible { outline: 2px solid var(--primary); }
@media (max-width:700px) {
 html[data-room-theme="dark"] #article-page { --article-size: 18px; }
 html[data-room-theme="dark"] #article-page[data-font="large"] { --article-size: 21px; }
 html[data-room-theme="dark"] #article-page[data-font="small"] { --article-size: 16px; } }
html[data-room-theme="dark"] #home-page .home-side { border-left: 1px solid var(--desk-line); }
html[data-room-theme="dark"] #home-page .desk-book { background: #151718; }
html[data-room-theme="dark"] #home-page .desk-cover { box-shadow: 4px 6px 12px #0000003e; }
html[data-room-theme="dark"] #home-page #continue-chapter { border: 0; }
html[data-room-theme="dark"] #home-page .desk-loop-entry { border: 0; border-bottom: 1px solid var(--desk-line); background: transparent; }
html[data-room-theme="dark"] #home-page .desk-loop-entry span { color: var(--muted); }
html[data-room-theme="dark"] #home-page .desk-loop-actions .primary-button, html[data-room-theme="dark"] #home-page .desk-loop-actions .text-button { background: none; color: var(--primary); border: 0; text-decoration: underline; }
html[data-room-theme="dark"] #home-page .desk-project-entry { border: 0; }
html[data-room-theme="dark"] #home-page .desk-project-entry .secondary-button { border: 0; text-decoration: underline; background: none; }
html[data-room-theme="dark"] #home-page .desk-news-item { border-bottom: 1px solid var(--desk-line); color: var(--ink); text-decoration: none; }
html[data-room-theme="dark"] #home-page .desk-news-meta { color: var(--muted); }
html[data-room-theme="dark"] #home-page .desk-news-category { color: var(--primary); }
html[data-room-theme="dark"] #home-page .desk-news-item:hover .desk-news-title { color: var(--primary); }
html[data-room-theme="dark"] #home-page .desk-news-summary { color: var(--muted); }
html[data-room-theme="dark"] #home-page .desk-news-kind { color: var(--muted); }
html[data-room-theme="dark"] #home-page .desk-news-kind[data-kind="community"], html[data-room-theme="dark"] #home-page .desk-news-kind[data-kind="unclassified"] { color: #c77c51; }
html[data-room-theme="dark"] #home-page .desk-chapters { border-top: 1px solid var(--desk-line); border-bottom: 1px solid var(--desk-line); }
html[data-room-theme="dark"] #home-page .desk-chapters > summary { color: var(--ink); }
html[data-room-theme="dark"] #home-page .desk-collections { border-top: 1px solid var(--desk-line); }
html[data-room-theme="dark"] #home-page .desk-collection { border: 0; }
@media (max-width:700px) {
 html[data-room-theme="dark"] #home-page .desk-updates { border-top: 1px solid var(--desk-line); }
 html[data-room-theme="dark"] #home-page .desk-collection { border-bottom: 1px solid var(--desk-line); } }
html[data-room-theme="dark"] .news-impact-suffix { color: #c68866; }
html[data-room-theme="dark"] .news-impact-suffix[data-level="lv0"] { color: #87898c; }
html[data-room-theme="dark"] .news-impact-suffix[data-level="lv1"] { color: #888a8c; }
html[data-room-theme="dark"] .news-impact-suffix[data-level="lv4"], html[data-room-theme="dark"] .news-impact-suffix[data-level="lv5"], html[data-room-theme="dark"] .news-impact-suffix[data-level="lv6"] { color: #ce8257; }
html[data-room-theme="dark"] .impact-guide { color: var(--muted); }
html[data-room-theme="dark"] .impact-guide summary { color: var(--green); }
html[data-room-theme="dark"] .impact-guide-panel { background: var(--paper); border: 1px solid var(--line); }
html[data-room-theme="dark"] .impact-levels dt { color: var(--green); }
html[data-room-theme="dark"] .detail-impact { color: var(--muted); }
html[data-room-theme="dark"] #ai-art-page .art-intro { color: var(--muted); }
html[data-room-theme="dark"] #mutual-form-art { --background: #e9ebee; --foreground: #252628; --purple: #8f7a9f; --orange: #a96135; background: var(--background); color: var(--foreground); }
html[data-room-theme="dark"] #mutual-form-art button { color: #333436; background: transparent; border: 1px solid #b4b6b8; }
html[data-room-theme="dark"] .art-parameters input { accent-color: #434446; }
html[data-room-theme="dark"] .art-gallery-figure { background: #e9ebee; }
html[data-room-theme="dark"] .art-image-status { color: #313335; }
html[data-room-theme="dark"] .art-gallery-figure button { background: var(--surface); }
html[data-room-theme="dark"] .art-image-links a { color: var(--primary); }
html[data-room-theme="dark"] #observerless-art { --background: #e9ebee; --foreground: #1c1d1f; --orange: #ae663b; color: var(--foreground); background: var(--background); }
html[data-room-theme="dark"] #observerless-art button { color: #333436; background: transparent; border: 1px solid #b4b6b8; }
html[data-room-theme="dark"] #observerless-art button:hover { background: #d4d6d8; }
html[data-room-theme="dark"] #observerless-art button:focus-visible { outline: 2px solid #333436; }
html[data-room-theme="dark"] .word-export-status { border: 1px solid #303234; background: #202123; color: #ccced0; box-shadow: 0 4px 18px #00000058; }
html[data-room-theme="dark"] .word-export-status button { border: 0; background: transparent; color: #89b9ae; }
html[data-room-theme="dark"] #article-word-export { color: #89b9ae; }
html[data-room-theme="dark"] .room-icon { fill: none; stroke: currentColor; }
html[data-room-theme="dark"] .room-sr { border: 0; }
html[data-room-theme="dark"] .password-toggle.room-icon-only { color: var(--muted); }
html[data-room-theme="dark"] .password-toggle.room-icon-only:hover { color: var(--ink); }
html[data-room-theme="dark"] #open-protected-book.room-icon-swapped { color: var(--muted); }
html[data-room-theme="dark"][data-desk-design] #home-page .desk-revision:hover, html[data-room-theme="dark"][data-desk-design] #home-page .desk-chapter:hover { background: none; }
html[data-room-theme="dark"] .desk-design-switch { background: #dddfe2; box-shadow: 0 8px 24px #00000078; }
html[data-room-theme="dark"] .desk-design-switch button { border: 0; background: transparent; color: #27282a; }
html[data-room-theme="dark"] .desk-design-switch button[aria-pressed="true"] { background: #1f2022; color: #dddfe2; }
html[data-room-theme="dark"][data-desk-design="a"] { --a-ink: #dcdee0; --a-muted: #8f9194; --a-rule: #2d2f30; --a-accent: #d68a5e; --bg: #1a1b1d; }
html[data-room-theme="dark"][data-desk-design="a"] .app-header { background: transparent; border-bottom-color: transparent; }
html[data-room-theme="dark"][data-desk-design="a"] .bottom-nav { background: #17181a; }
@media (min-width: 701px) {
 html[data-room-theme="dark"][data-desk-design="a"] .nav-button.is-active { background: transparent; color: var(--a-ink); box-shadow: inset 2px 0 0 var(--a-accent); } }
html[data-room-theme="dark"][data-desk-design="a"] #home-page .welcome-block { border-bottom: 2px solid var(--a-ink); }
html[data-room-theme="dark"][data-desk-design="a"] #home-page .welcome-block h2 { color: var(--a-ink); }
html[data-room-theme="dark"][data-desk-design="a"] #home-page .welcome-block > span { color: var(--a-muted); }
html[data-room-theme="dark"][data-desk-design="a"] #home-page .desk-book { background: none; border-bottom: 1px solid var(--a-rule); }
html[data-room-theme="dark"][data-desk-design="a"] #home-page .desk-cover { box-shadow: 0 1px 2px #00000044, 14px 20px 40px -14px #000000cc; }
html[data-room-theme="dark"][data-desk-design="a"] #home-page .desk-book-copy > .desk-eyebrow { color: var(--a-accent); }
html[data-room-theme="dark"][data-desk-design="a"] #home-page .desk-book-copy h3 { color: var(--a-ink); }
html[data-room-theme="dark"][data-desk-design="a"] #home-page .desk-book-copy > p:not(.desk-eyebrow) { color: var(--a-muted); }
html[data-room-theme="dark"][data-desk-design="a"] #home-page .desk-book .continue-label { background: var(--a-ink); color: #1a1b1d; }
html[data-room-theme="dark"][data-desk-design="a"] #home-page .desk-book #continue-chapter { border: 0; color: var(--a-muted); }
html[data-room-theme="dark"][data-desk-design="a"] #home-page .desk-book #continue-chapter::before { color: var(--a-ink); }
html[data-room-theme="dark"][data-desk-design="a"] #home-page .desk-book-copy > .text-button { color: var(--a-ink); text-decoration: underline; text-decoration-color: var(--a-rule); }
html[data-room-theme="dark"][data-desk-design="a"] #home-page :is(.article-section-head, .desk-updates > .desk-section-line) { border-bottom: 1px solid var(--a-ink); }
html[data-room-theme="dark"][data-desk-design="a"] #home-page :is(.article-section-head h3, .desk-updates .desk-section-line h3) { color: var(--a-accent); }
html[data-room-theme="dark"][data-desk-design="a"] #home-page :is(.article-section-head, .desk-section-line) .text-button { color: var(--a-ink); }
html[data-room-theme="dark"][data-desk-design="a"] #home-page #desk-articles .article-entry { border-bottom: 1px solid var(--a-rule); }
html[data-room-theme="dark"][data-desk-design="a"] #home-page #desk-articles .article-entry::before { color: var(--a-accent); }
html[data-room-theme="dark"][data-desk-design="a"] #home-page #desk-articles .article-title-link { color: var(--a-ink); }
html[data-room-theme="dark"][data-desk-design="a"] #home-page #desk-articles .article-title-link:hover { color: var(--a-accent); }
html[data-room-theme="dark"][data-desk-design="a"] #home-page #desk-articles .article-meta { color: var(--a-muted); }
html[data-room-theme="dark"][data-desk-design="a"] #home-page .desk-news-item { border-bottom: 1px solid var(--a-rule); color: var(--a-ink); }
html[data-room-theme="dark"][data-desk-design="a"] #home-page .desk-news-meta { color: var(--a-muted); }
html[data-room-theme="dark"][data-desk-design="a"] #home-page .desk-news-category { color: var(--a-accent); }
html[data-room-theme="dark"][data-desk-design="a"] #home-page .desk-news-item:hover .desk-news-title { color: var(--a-accent); }
html[data-room-theme="dark"][data-desk-design="a"] #home-page .desk-news-summary { color: var(--a-muted); }
html[data-room-theme="dark"][data-desk-design="a"] #home-page .desk-news-kind { color: var(--a-muted); }
html[data-room-theme="dark"][data-desk-design="a"] #home-page .desk-news-kind[data-kind="community"], html[data-room-theme="dark"][data-desk-design="a"] #home-page .desk-news-kind[data-kind="unclassified"] { color: var(--a-accent); }
html[data-room-theme="dark"][data-desk-design="a"] #home-page .desk-updates > .desk-muted { color: var(--a-muted); }
html[data-room-theme="dark"][data-desk-design="a"] #home-page :is(#desk-revisions, #desk-article-updates, #desk-comic-updates) { border-left: 1px solid var(--a-rule); }
html[data-room-theme="dark"][data-desk-design="a"] #home-page .desk-updates .desk-revision { border: 0; color: var(--a-ink); }
html[data-room-theme="dark"][data-desk-design="a"] #home-page .desk-updates .desk-revision::before { background: #1a1b1d; box-shadow: inset 0 0 0 1.5px var(--a-accent); }
html[data-room-theme="dark"][data-desk-design="a"] #home-page .desk-updates .desk-revision:hover { color: var(--a-accent); }
html[data-room-theme="dark"][data-desk-design="a"] #home-page .desk-notes-link { border-top: 1px solid var(--a-ink); }
html[data-room-theme="dark"][data-desk-design="a"] #home-page .desk-notes-link strong { color: var(--a-accent); }
html[data-room-theme="dark"][data-desk-design="a"] #home-page .desk-collections { border: 0; }
html[data-room-theme="dark"][data-desk-design="a"] #home-page .desk-collection { border-top: 1px solid var(--a-ink); }
html[data-room-theme="dark"][data-desk-design="a"] #home-page :is(.desk-collection-thumb, .desk-collection-symbol) { box-shadow: 4px 6px 14px -6px #000000cc; }
html[data-room-theme="dark"][data-desk-design="a"] #home-page .desk-collection small { color: var(--a-accent); }
html[data-room-theme="dark"][data-desk-design="a"] #home-page .desk-chapters { border: 0; }
html[data-room-theme="dark"][data-desk-design="a"] #home-page .desk-chapters > summary { border-bottom: 1px solid var(--a-ink); color: var(--a-accent); }
html[data-room-theme="dark"][data-desk-design="a"] #home-page .desk-chapter { border-bottom: 1px solid var(--a-rule); }
html[data-room-theme="dark"][data-desk-design="a"] #home-page .desk-project-entry { border: 0; border-top: 1px solid var(--a-rule); }
html[data-room-theme="dark"][data-desk-design="a"] #home-page .desk-project-entry .secondary-button { color: var(--a-ink); text-decoration-color: var(--a-rule); }
@container desk (min-width: 860px) {
 html[data-room-theme="dark"][data-desk-design="a"] #home-page .desk-news-item { border-bottom: 0; border-left: 1px solid var(--a-rule); }
 html[data-room-theme="dark"][data-desk-design="a"] #home-page .desk-news-item:first-child { border-left: 0; } }
html[data-room-theme="dark"][data-desk-design="b"] { --b-bg: #17181a; --b-card: #202224; --b-line: #1f2123; --b-ink: #dddfe2; --b-muted: #8b8d8f; --b-green: #efaf8b; --b-tint: #1a1c1d; --bg: #17181a; }
html[data-room-theme="dark"][data-desk-design="b"] .app-header { background: transparent; border-bottom-color: transparent; }
html[data-room-theme="dark"][data-desk-design="b"] .bottom-nav { background: #1b1c1e; }
@media (min-width: 701px) {
 html[data-room-theme="dark"][data-desk-design="b"] .nav-button.is-active { background: var(--b-card); color: var(--b-ink); box-shadow: 0 1px 2px #00000027, 0 4px 12px #0000001f; } }
html[data-room-theme="dark"][data-desk-design="b"] #home-page .welcome-block h2 { color: var(--b-ink); }
html[data-room-theme="dark"][data-desk-design="b"] #home-page .welcome-block > span { color: var(--b-muted); }
html[data-room-theme="dark"][data-desk-design="b"] #home-page :is(#desk-articles, #desk-news, .desk-updates, .desk-chapters, .desk-project-entry, #loop-ai-entry, .desk-collection) { background: var(--b-card); border: 1px solid var(--b-line); box-shadow: 0 1px 2px #0000001f; }
html[data-room-theme="dark"][data-desk-design="b"] #home-page :is(.article-section-head h3, .desk-section-line h3, .desk-chapters > summary) { color: var(--b-ink); }
html[data-room-theme="dark"][data-desk-design="b"] #home-page :is(.article-section-head, .desk-section-line) .text-button { background: var(--b-tint); color: var(--b-ink); }
html[data-room-theme="dark"][data-desk-design="b"] #home-page .desk-book { background: radial-gradient(120% 140% at 0% 0%, #db9b78 0%, var(--b-green) 45%, #d1d3d5 100%); color: #191a1c; box-shadow: 0 12px 32px -16px #000000cc; }
html[data-room-theme="dark"][data-desk-design="b"] #home-page .desk-cover { box-shadow: 0 18px 40px -12px #000000cc; }
html[data-room-theme="dark"][data-desk-design="b"] #home-page .desk-book-copy > .desk-eyebrow { background: #2022241f; color: #1d1e20; }
html[data-room-theme="dark"][data-desk-design="b"] #home-page .desk-book-copy h3 { color: #1f2122; }
html[data-room-theme="dark"][data-desk-design="b"] #home-page .desk-book-copy > p:not(.desk-eyebrow) { color: #333436; }
html[data-room-theme="dark"][data-desk-design="b"] #home-page .desk-book .continue-panel { color: inherit; }
html[data-room-theme="dark"][data-desk-design="b"] #home-page .desk-book .continue-label { background: #1f2122; color: var(--b-green); }
html[data-room-theme="dark"][data-desk-design="b"] #home-page .desk-book #continue-chapter { border: 0; color: #333436; }
html[data-room-theme="dark"][data-desk-design="b"] #home-page .desk-book-copy > .text-button { color: #161719; }
html[data-room-theme="dark"][data-desk-design="b"] #home-page #desk-articles .article-entry { border: 0; }
html[data-room-theme="dark"][data-desk-design="b"] #home-page #desk-articles .article-entry + .article-entry { border-top: 1px solid var(--b-line); }
html[data-room-theme="dark"][data-desk-design="b"] #home-page #desk-articles .article-title-link:hover { color: var(--b-green); }
html[data-room-theme="dark"][data-desk-design="b"] #home-page #desk-articles .article-title-link { color: var(--b-ink); }
html[data-room-theme="dark"][data-desk-design="b"] #home-page #desk-articles .article-meta { color: var(--b-muted); }
html[data-room-theme="dark"][data-desk-design="b"] #home-page .desk-updates > .desk-muted { color: var(--b-muted); }
html[data-room-theme="dark"][data-desk-design="b"] #home-page .desk-updates .desk-revision { border-bottom: 1px solid var(--b-line); }
html[data-room-theme="dark"][data-desk-design="b"] #home-page .desk-updates :is(#desk-revisions, #desk-article-updates, #desk-comic-updates) > :last-child { border-bottom: 0; }
html[data-room-theme="dark"][data-desk-design="b"] #home-page .desk-updates .desk-revision:hover { color: var(--b-green); }
html[data-room-theme="dark"][data-desk-design="b"] #home-page .desk-notes-link { background: #18191b; }
html[data-room-theme="dark"][data-desk-design="b"] #home-page .desk-notes-link strong { color: var(--b-green); }
html[data-room-theme="dark"][data-desk-design="b"] #home-page .desk-collections { border: 0; }
html[data-room-theme="dark"][data-desk-design="b"] #home-page .desk-collection:hover { border-color: #2f3133; }
html[data-room-theme="dark"][data-desk-design="b"] #home-page .desk-collection > b { background: var(--b-tint); }
html[data-room-theme="dark"][data-desk-design="b"] #home-page .desk-chapter { border: 0; background: var(--b-tint); }
html[data-room-theme="dark"][data-desk-design="b"] #home-page .desk-chapter:hover { background: #161719; }
html[data-room-theme="dark"][data-desk-design="b"] #home-page .desk-project-entry p { color: var(--b-muted); }
html[data-room-theme="dark"][data-desk-design="b"] #home-page .desk-project-entry .secondary-button { border: 1px solid var(--b-line); text-decoration: none; color: var(--b-ink); }
html[data-room-theme="dark"][data-desk-design="c"] { --c-night: #e9ebee; --c-night-2: #d1defc; --c-gold: #5e4600; --c-gold-soft: #302505; --c-paper: #191b1c; --c-ink: #dfe1e3; --c-muted: #8e9092; --c-rule: #2a2b2d; --bg: #191b1c; }
html[data-room-theme="dark"][data-desk-design="c"] .app-header { background: var(--c-night); border-bottom-color: transparent; }
html[data-room-theme="dark"][data-desk-design="c"] .app-header :is(.page-context, #logout-button) { color: #343537; }
html[data-room-theme="dark"][data-desk-design="c"] .bottom-nav { background: var(--c-night); border-color: #20222414; }
html[data-room-theme="dark"][data-desk-design="c"] .bottom-nav::before { color: #151718; }
html[data-room-theme="dark"][data-desk-design="c"] .app-header .app-mark { color: var(--c-gold); }
html[data-room-theme="dark"][data-desk-design="c"] .nav-button { color: #424446; }
html[data-room-theme="dark"][data-desk-design="c"] .nav-button:hover { color: #151718; background: #2022240d; }
html[data-room-theme="dark"][data-desk-design="c"] .nav-button.is-active { color: var(--c-gold-soft); background: #5e46001f; }
html[data-room-theme="dark"][data-desk-design="c"] #home-page .desk-book { color: #161719; background: radial-gradient(1.5px 1.5px at 62% 18%, #202224b3 50%, transparent 51%), radial-gradient(1px 1px at 78% 62%, #20222499 50%, transparent 51%), radial-gradient(1px 1px at 88% 30%, #20222480 50%, transparent 51%), radial-gradient(1.5px 1.5px at 94% 80%, #302505b3 50%, transparent 51%), radial-gradient(1px 1px at 52% 86%, #20222466 50%, transparent 51%), radial-gradient(26% 46% at 28% 50%, #5e460024, transparent), var(--c-night); box-shadow: 0 0 0 100vmax var(--c-night); }
html[data-room-theme="dark"][data-desk-design="c"] #home-page .desk-cover { box-shadow: 0 0 0 1px #000000a6, 0 30px 60px -18px #000000cc, 0 0 80px -20px #000000cc; }
html[data-room-theme="dark"][data-desk-design="c"] #home-page .desk-book-copy > .desk-eyebrow { color: var(--c-gold); }
html[data-room-theme="dark"][data-desk-design="c"] #home-page .desk-book-copy h3 { color: #18191b; }
html[data-room-theme="dark"][data-desk-design="c"] #home-page .desk-book-copy > p:not(.desk-eyebrow) { color: #4f5153; }
html[data-room-theme="dark"][data-desk-design="c"] #home-page .desk-book .continue-panel { color: inherit; }
html[data-room-theme="dark"][data-desk-design="c"] #home-page .desk-book .continue-label { background: var(--c-gold); color: var(--c-night); }
html[data-room-theme="dark"][data-desk-design="c"] #home-page .desk-book .continue-panel:hover .continue-label { background: var(--c-gold-soft); }
html[data-room-theme="dark"][data-desk-design="c"] #home-page .desk-book #continue-chapter { border: 0; color: #4f5153; }
html[data-room-theme="dark"][data-desk-design="c"] #home-page .desk-book #continue-chapter::before { color: var(--c-gold-soft); }
html[data-room-theme="dark"][data-desk-design="c"] #home-page .desk-book-copy > .text-button { color: var(--c-gold-soft); }
html[data-room-theme="dark"][data-desk-design="c"] #home-page :is(.article-section-head h3, .desk-updates .desk-section-line h3) { color: var(--c-ink); }
html[data-room-theme="dark"][data-desk-design="c"] #home-page :is(.article-section-head h3, .desk-updates .desk-section-line h3)::before { background: var(--c-gold); }
html[data-room-theme="dark"][data-desk-design="c"] #home-page :is(.article-section-head, .desk-section-line) .text-button { color: #c4794e; }
html[data-room-theme="dark"][data-desk-design="c"] #home-page #desk-articles .article-entry { border-bottom: 1px solid var(--c-rule); }
html[data-room-theme="dark"][data-desk-design="c"] #home-page #desk-articles .article-title-link { color: var(--c-ink); }
html[data-room-theme="dark"][data-desk-design="c"] #home-page #desk-articles .article-title-link:hover { color: #c4794e; }
html[data-room-theme="dark"][data-desk-design="c"] #home-page #desk-articles .article-meta { color: var(--c-muted); }
html[data-room-theme="dark"][data-desk-design="c"] #home-page .desk-updates > .desk-muted { color: #c4794e; }
html[data-room-theme="dark"][data-desk-design="c"] #home-page .desk-updates .desk-revision { border-bottom: 1px solid var(--c-rule); color: var(--c-ink); }
html[data-room-theme="dark"][data-desk-design="c"] #home-page .desk-updates .desk-revision:hover { color: #c4794e; }
html[data-room-theme="dark"][data-desk-design="c"] #home-page .desk-notes-link { background: var(--c-night); color: #161719; }
html[data-room-theme="dark"][data-desk-design="c"] #home-page .desk-notes-link strong { color: var(--c-gold-soft); }
html[data-room-theme="dark"][data-desk-design="c"] #home-page .desk-collections { border: 0; }
html[data-room-theme="dark"][data-desk-design="c"] #home-page .desk-collection { border: 0; background: linear-gradient(135deg, var(--c-night-2), var(--c-night)); color: #161719; box-shadow: 0 14px 30px -18px #000000cc; }
html[data-room-theme="dark"][data-desk-design="c"] #home-page .desk-collection-symbol { background: #c3d3f6; color: var(--c-gold); }
html[data-room-theme="dark"][data-desk-design="c"] #home-page .desk-collection small { color: var(--c-gold); }
html[data-room-theme="dark"][data-desk-design="c"] #home-page .desk-collection span span { color: #5e6062; }
html[data-room-theme="dark"][data-desk-design="c"] #home-page .desk-collection strong { color: #18191b; }
html[data-room-theme="dark"][data-desk-design="c"] #home-page .desk-collection > b { color: var(--c-gold); }
html[data-room-theme="dark"][data-desk-design="c"] #home-page .desk-chapters { border: 0; }
html[data-room-theme="dark"][data-desk-design="c"] #home-page .desk-chapters > summary { border-bottom: 1px solid var(--c-rule); color: var(--c-ink); }
html[data-room-theme="dark"][data-desk-design="c"] #home-page .desk-chapter { border-bottom: 1px solid var(--c-rule); }
html[data-room-theme="dark"][data-desk-design="c"] #home-page .desk-project-entry { border: 0; }
html[data-room-theme="dark"][data-desk-design="c"] #home-page .desk-project-entry .secondary-button { border: 1px solid var(--c-ink); text-decoration: none; color: var(--c-ink); }
html[data-room-theme="dark"] { color-scheme: dark; --rd-btn: oklch(.72 .115 48); --rd-btn-ink: oklch(.17 .01 48); --rd-label: oklch(.76 .1 52); }
html[data-room-theme="dark"] ::selection { background: oklch(.6 .1 50 / .4); }
html[data-room-theme="dark"], html[data-room-theme="dark"] * { scrollbar-color: oklch(.4 .004 255) transparent; }
html[data-room-theme="dark"] img { filter: brightness(.94); }
html[data-room-theme="dark"][data-desk-design="a"] { --a-accent: oklch(.76 .1 52); }
html[data-room-theme="dark"][data-desk-design="a"] #home-page .desk-book .continue-label { background: var(--rd-btn); color: var(--rd-btn-ink); }
html[data-room-theme="dark"] .primary-button { background: var(--rd-btn); color: var(--rd-btn-ink); }
html[data-room-theme="dark"][data-desk-design="a"] #home-page .desk-book { background: oklch(.245 .004 255); }
html[data-room-theme="dark"] .bottom-nav::before { color: oklch(.76 .1 50); }
html[data-room-theme="dark"] .revision-alert { background: oklch(.42 .09 28 / .2); border-color: oklch(.62 .13 28 / .7); }
html[data-room-theme="dark"] .revision-alert small { color: oklch(.82 .004 255); }
html[data-room-theme="dark"] .mv-new-badge, html[data-room-theme="dark"] .mv-copy .mv-new-badge { color: oklch(.18 .025 55); background: oklch(.82 .16 78); border-color: oklch(.9 .12 80); box-shadow: 0 0 12px oklch(.82 .16 78 / .18); }
html[data-room-theme="dark"] .mv-kind { color: oklch(.92 .02 110 / .86); }
html[data-room-theme="dark"] .mv-poster::before { border-color: oklch(.92 .02 110 / .72); }
@media (min-width: 900px) {
  html[data-room-theme="dark"][data-desk-design="a"] .nav-button.is-active { color: oklch(.84 .08 50); background: oklch(.27 .014 50); }
}
/* Soft modal controls: visible edges without bright white frames. */
html[data-room-theme="dark"] .sheet-dialog :is(input, textarea, select) { border-color: #656970; }
html[data-room-theme="dark"] .sheet-dialog .sheet-handle { background: #656970; }
html[data-room-theme="dark"] .sheet-dialog .primary-button { background: #b68163; color: #171819; }