
.dialog-close{min-width:44px;min-height:44px}.dialog-close:focus-visible{outline:3px solid #b5793f;outline-offset:3px}html[data-theme=dark] .dialog-close{background:#243831;color:#eee9dd;border-color:#657b70}
.nv-theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px 13px;border:1px solid #8c8b7f;border-radius:24px;font:600 13px/1.3 system-ui,sans-serif;background:#fffdf6;color:#303d36;cursor:pointer;white-space:nowrap}.nv-theme-toggle[hidden]{display:none}.nv-theme-toggle strong{font-size:10px;letter-spacing:.07em}.nv-theme-toggle:focus-visible{outline:3px solid #b5793f;outline-offset:3px}.nv-release-footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 24px;padding:22px max(20px,5vw);border-top:1px solid #8d8b7855;font:13px/1.6 system-ui,sans-serif;color:inherit}.nv-release-footer a{color:inherit;text-decoration:underline;text-underline-offset:4px}.nv-version{font-variant-numeric:tabular-nums;white-space:nowrap;opacity:.8}.studio-body>.nv-release-footer{padding-inline:clamp(20px,4vw,60px)}.studio-topbar{gap:12px;height:auto;min-height:64px;flex-wrap:wrap;padding-block:10px}.studio-topbar .nv-theme-toggle{margin-left:auto}.studio-topbar .construction-shortcut{font-size:12px;min-height:44px;display:inline-flex;align-items:center}.studio-topbar>a{min-height:44px}.nv-site-header .nv-theme-toggle{margin-left:12px}.masthead .nv-theme-toggle{margin-left:auto;margin-right:18px}.site-notice-controls{border:1px solid var(--line);padding:22px;border-radius:14px;margin-block:20px;background:var(--paper)}.notice-switch{display:flex;align-items:center;gap:14px;justify-content:space-between;min-height:64px;border:1px solid var(--line);border-radius:12px;padding:14px;margin:14px 0;background:var(--paper);cursor:pointer}.notice-switch input{width:26px;height:26px;accent-color:#87633f;flex-shrink:0}.notice-live-state{padding:12px 16px;border-left:3px solid #887042;background:#ecebdc;font-size:.9rem}.construction-summary{display:flex;flex-wrap:wrap;gap:12px;padding:16px 20px;border:1px solid var(--line);border-radius:12px;margin:20px 0}.construction-summary a{font-weight:650}
html[data-theme=dark]{color-scheme:dark;--paper:#171f22;--white:#202b2f;--surface:#202b2f;--ink:#eee9dd;--muted:#bdc6bf;--line:#42514f;--bronze:#e1b780;--copper:#e1b780;--green-wash:#243b32;--amber-wash:#453925;--blue-wash:#263c46;background:#171f22;color:#eee9dd}
html[data-theme=dark] body{background:#171f22;color:#eee9dd}html[data-theme=dark] .nv-theme-toggle{background:#283632;color:#f5e4c5;border-color:#819184}html[data-theme=dark] .nv-theme-toggle:hover{background:#344840}
html[data-theme=dark] .studio-workspace{--paper:#202b2f;--ink:#eee9dd;--muted:#bdc6bf;--line:#42514f;color:#eee9dd;background:#171f22}html[data-theme=dark] .studio-workspace :is(h1,h2,h3,h4,legend,label):not(.direction-panel *, .effect-scene *){color:#f1e8d7}html[data-theme=dark] .studio-workspace a:not(.direction-panel *, .effect-scene *){color:#e5bc87}html[data-theme=dark] .studio-workspace :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),textarea,select){background:#152023;color:#f1eee4;border-color:#61716a}html[data-theme=dark] .studio-workspace :is(button,.pill-link):not(.direction-panel *, .effect-scene *){background:#253331;color:#efe8d8;border-color:#5b7063}html[data-theme=dark] .studio-workspace :is(button,.pill-link):not(.direction-panel *, .effect-scene *):hover{background:#354740}html[data-theme=dark] .studio-workspace :is(.primary,.primary-link){background:#d3aa77;color:#192323;border-color:#d3aa77}html[data-theme=dark] .studio-workspace .danger{background:#462e2b;color:#ffcebb;border-color:#b67767}
html[data-theme=dark] .studio-workspace :is(.studio-topbar,.workspace-overview,.studio-start-here,.review-progress,.review-upgrade,.review-summary,.review-latest,.direction-choice,.effect-card,.effect-motion-note,.editor-form aside,.editor-saved-preview,.editor-publication-review,.editor-diff-pair>div,.editor-review-boundary,.editor-review-actions,.editor-sharing-preview,.editor-actions,.content-rows,.content-rows>li,.item-management,.facebook-quick-start,fieldset,dialog,.overview-schedules,.overview-counts a,.task-grid a,.new-content-dialog nav>a,.review-question,.review-option,.review-save-bar,.review-receipt,.review-concept-notice,.review-scope,.admin-status,.admin-destinations a,.section-nav,.semantic-section,.notice-live-state,.site-notice-controls,.notice-switch){background:#202d2c;color:#eee9dd;border-color:#42594c}
html[data-theme=dark] .studio-workspace :is(.content-rows>li>a:hover,.review-option:has(input:checked),.direction-choice[aria-pressed=true]){background:#33463a}html[data-theme=dark] .studio-workspace :is(p,small,.section-description,.library-heading p,.content-kind,.content-row-meta,.studio-back,.scene-caption,.welcome-description,.publication-badge,.overview-footnote,.review-question>p,.review-concept-notice p,.review-concept-notice small,.review-concept-notice strong,.review-option small,.review-intro>p,.studio-footer):not(.direction-panel *, .effect-scene *){color:#c2cdc0}html[data-theme=dark] .studio-workspace :is(.save-status,.editor-readiness,.admin-access-badge){background:#243c2f;color:#d5e4c8;border-color:#53674d}html[data-theme=dark] .studio-workspace .field-error{color:#ffc4b3}html[data-theme=dark] .studio-workspace :is(.content-kind-icon,.task-icon){background:#374738;color:#e3d8b6}html[data-theme=dark] .studio-workspace .new-content-dialog strong{color:#f0e7d5}
html[data-theme=dark] :is(.nv-site-header,.nv-masthead,.nv-section-nav,.nv-concept-bar,.nv-explore>div){background:#182423;color:#f0e7d4;border-color:#48534b}html[data-theme=dark] .nv-site-header a,html[data-theme=dark] .nv-site-header summary{color:#e0d8c4}html[data-theme=dark] .nv-wordmark span{color:#b2c1b4}html[data-theme=dark] .nv-concept-bar :is(a,button){color:#eee2c9}html[data-theme=dark] .nv-concept-bar .nv-studio-entry{background:#cfaa76;color:#18221f}html[data-theme=dark] :is(.nv-construction,.nv-site-announcement){background:#293d31;color:#e2d7b9;border-color:#627058}
html[data-theme=dark] body:not(.studio-workspace):not(.construction-landing) :is(.book-intro,.music-intro,.story-card,.cause-feature,.history-town-card,.watch-card,.history-video-card,.book-facts,.book-note,.contact-form,.search-result,.search-form){background:#25312f;color:#eee9dd}html[data-theme=dark] body:not(.studio-workspace):not(.construction-landing) :is(.muted,.footer-links,.footer-bottom){color:#bdc6bf}html[data-theme=dark] body:not(.studio-workspace):not(.construction-landing) :is(input,select,textarea){background:#1a2828;color:#eee9dd;border-color:#627369}html[data-theme=dark] .progress-page :is(.progress-card,.progress-item,.metric-card,.release-card,.inventory-group,.plan-group){background:var(--surface);color:var(--ink)}
html[data-theme=light] .construction-landing{background:#f5f0e6;color:#272b29}html[data-theme=light] .construction-landing :is(.eyebrow,.intro,.build-label,.access-note,.preview-copy p,.disciplines,.art-label,.coordinates,footer){color:#5c635d}html[data-theme=light] .construction-landing h1 span{color:#8f582e}html[data-theme=light] .construction-landing .construction{color:#79552c}html[data-theme=light] .construction-landing :is(.preview-row,.access-form,.studio-access){background:#fffdf5;border-color:#c3c4b1;color:#25392f}html[data-theme=light] .construction-landing input{background:#f9f9f1;color:#26362c;border-color:#859079}html[data-theme=light] .construction-landing .private-tour-entry :is(a,small){color:#685333}html[data-theme=light] .construction-landing .wordmark span{color:#6a746b}
html[data-theme=light] .construction-landing :is(.preview-copy h2,.studio-access strong){color:#26382f}html[data-theme=light] .construction-landing .studio-access div>span{color:#526052}html[data-theme=light] .construction-landing .form-error{color:#a23423}
@media(max-width:940px){.nv-site-header .nv-theme-toggle{margin:8px 0}.nv-masthead{flex-wrap:wrap}.nv-site-header .nv-theme-toggle{order:2}.nv-site-header .nv-menu-toggle{order:3}#nv-navigation{order:4;flex-basis:100%}}@media(max-width:680px){.studio-topbar{padding-inline:18px;gap:8px}.studio-topbar>span{flex:1 1 100%}.studio-topbar .nv-theme-toggle{margin-left:0;font-size:12px}.studio-topbar .construction-shortcut{font-size:12px;margin-right:auto}.studio-topbar>a:last-child{font-size:12px}.nv-release-footer{font-size:12px;padding:20px}.site-notice-controls{padding:16px}.masthead{flex-wrap:wrap;gap:12px}.masthead .nv-theme-toggle{margin:0 0 0 auto}.construction-landing .build-label{display:flex!important;flex-basis:100%;font-size:10px}.notice-live-state{font-size:.85rem}}
html[data-theme=dark] .studio-workspace .local-review-notice a{color:#614626}.concept-theme-control{position:fixed;right:20px;bottom:20px;z-index:30}

/* Original public layouts mix paper and stage sections; recolor both sides of each surface/text pair. */
html[data-theme=dark] body:not(.studio-workspace):not(.construction-landing):not(.progress-page){--paper:#eee9dd;--wine:#e5b699;--muted:#bdc6bf}
html[data-theme=dark] body:not(.studio-workspace) :is(.about-hero,.about-threads,.community-stories,.music-live-section,.music-live-story,.contact-page,.contact-demo,.updates-body,.example-note,.update-paths>a,.updates-signup,.history-split,.video-concepts,.intro-ribbon,.book-chapters,.book-story,.book-reading,.reading-paper,.history-chapters,.history-living,.history-connections,.history-town-card,.history-video-card.feature,.history-field-feature,.history-field-grid figcaption,.comedy-series,.series-tile,.comedy-note,.series-overview,.other-series,.newsletter){background:#202d2c;color:#eee9dd;border-color:#4c5b50}
html[data-theme=dark] body:not(.studio-workspace) main :is(p,figcaption,dt,dd,small):not(.nv-tour *,button *,a *){color:#c6cfc3}
html[data-theme=dark] body:not(.studio-workspace) main .eyebrow{color:#dfb980}
html[data-theme=dark] body:not(.studio-workspace) :is(.text-link,.source-link){color:#e2bd88}
html[data-theme=dark] .nv-concept-bar [data-start-tour]{color:#3e3020}
html[data-theme=dark] .nv-concept-bar small{color:#c6cfc3;opacity:1}
html[data-theme=dark] body:not(.studio-workspace) :is(.btn,.signup-form button){color:#f5eadb}
html[data-theme=dark] body[data-nv-path] .btn:not(.outline):not(.light-outline):not(.gold){background:#d2b783;color:#182620;border-color:#d2b783}
html[data-theme=dark] body[data-nv-path] .btn:not(.outline):not(.light-outline):not(.gold):hover{background:#e1cda3;border-color:#e1cda3}
html[data-theme=dark] body[data-nv-path] main>section.wrap>.content-detail{background:#20302a;color:#eee9dd;border-color:#66745f}
html[data-theme=dark] body[data-nv-path] main>section.wrap>.content-detail :is(h2,h3){color:#eee9dd}
html[data-theme=dark] body[data-nv-path] main>section.wrap>.nv-collection-card .eyebrow{color:#dfb980}
html[data-theme=dark] body[data-nv-path] .nv-time-window:not(.nv-time-compact){background:#20302a;color:#eee9dd;border-color:#66745f}
html[data-theme=dark] body[data-nv-path] .nv-time-credit a{color:#e2bd88}
html[data-theme=dark] body[data-nv-path] :is(.reading-paper-top,.preview-note,.history-chapters a span,.history-video-number){color:#d2b783}
html[data-theme=dark] body[data-nv-path] :is(.history-video-top>span:nth-child(2),.show-empty span){color:#c6cfc3}
html[data-theme=dark] body:not(.studio-workspace) :is(.btn.gold,.episode-actions .btn){color:#251e18}
html[data-theme=dark] body:not(.studio-workspace) dialog:not(.nv-tour){background:#202d2c;color:#eee9dd}
html[data-theme=dark] .studio-workspace :is(.direction-choice strong,.direction-choice span,.direction-details dt,.direction-details dd){color:#d7dfd0}
html[data-theme=dark] .progress-page .nv-release-footer{color:var(--ink)}

html[data-theme=dark] .progress-page :is(.project-state,.filter-toolbar,.checklist-controls,.group-count,.evidence code){background:#253832;color:#e5e4d6;border-color:#566657}
html[data-theme=dark] .progress-page :is(.lede,.project-state p,.owner,.item-detail,.plan-item p,.temporary-label,.check-icon,#progress-filters label,.checklist-controls label){color:#cbd4c4}
html[data-theme=dark] .progress-page :is(.work-group,.plan-group)>summary:hover{background:#2a3c34}
html[data-theme=dark] .progress-page .status-badge{color:#f0e3c4;background:#344438;border-color:#64765e}
html[data-theme=dark] .progress-page .checklist-controls button[aria-pressed=true]{color:#14251d;background:#dce6d2}
@media print{.nv-theme-toggle{display:none!important}html[data-theme=dark] .progress-page{--paper:white;--surface:white;--ink:#15291e;--muted:#48594e;background:white;color:#15291e}html[data-theme=dark] .progress-page :is(.project-state,.filter-toolbar,.checklist-controls,.group-count,.evidence code,.metric,.work-item,.plan-group){background:white;color:#15291e}html[data-theme=dark] .progress-page :is(p,small,label,.owner,.item-detail,.temporary-label,.check-icon){color:#344438}}
