.manuscript-page .manuscript-workspace-controls{flex-wrap:wrap;justify-content:flex-start}.manuscript-workspace{align-items:start;gap:1rem}.manuscript-workspace[data-references=open]{grid-template-columns:minmax(30rem, 1fr) minmax(24rem, var(--manuscript-reference-width))}.manuscript-workspace>.editor-column{width:100%;min-width:0;max-width:90ch;margin-inline:auto}.manuscript-references{overflow-wrap:anywhere;min-width:0}.manuscript-references h2{margin-block:0 1rem}.manuscript-reference-width{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.manuscript-reference-width label{flex-basis:100%}.manuscript-reference-width input{flex:1;min-width:0}.manuscript-references .canon-search-panel{margin-block:1rem;padding:1rem}.manuscript-references .canon-search-form>div{flex-wrap:wrap}.manuscript-references .canon-search-form input{width:100%;min-width:0}.manuscript-references .style-settings-link{flex-wrap:wrap}.manuscript-workspace[data-references=open][data-reading-source=full]{grid-template-columns:minmax(0,1fr)}.manuscript-workspace[data-references=open][data-reading-source=full] .editor-card>:is(label,textarea,.working-actions),.manuscript-workspace[data-references=open][data-reading-source=full] :is(.manuscript-editing-tools,.manuscript-search,.manuscript-preview){display:none}.manuscript-source-reader{max-width:90ch;margin-inline:auto}.manuscript-source-actions{flex-wrap:wrap;gap:.5rem;margin-block:.5rem 1rem;display:flex}.manuscript-source-reader .readonly-canon-source{border:0;padding:0}.manuscript-source-reader .readonly-canon-source pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:none;padding:0;overflow:visible}@media (width<=900px){.manuscript-page[data-mode=manuscript] .workspace-heading{gap:.5rem}.manuscript-page[data-mode=manuscript] .workspace-heading h1{margin-block:.25rem;font-size:1.5rem}.manuscript-page[data-mode=manuscript] .workspace-heading p{margin-block:.5rem}.manuscript-workspace[data-references=open]{grid-template-columns:minmax(0,1fr)}.manuscript-reference-width,.manuscript-source-compare,.manuscript-workspace[data-references=open] .editor-card>label,.manuscript-workspace[data-references=open] .editor-card>textarea,.manuscript-workspace[data-references=open] .editor-card>.working-actions,.manuscript-workspace[data-references=open] .manuscript-editing-tools,.manuscript-workspace[data-references=open] .manuscript-search,.manuscript-workspace[data-references=open] .manuscript-preview{display:none}}.manuscript-reference-width[hidden],.manuscript-source-compare[hidden]{display:none}.manuscript-page[data-mode=reference]{padding:0}.main-workspace:has(.manuscript-page[data-mode=reference])>section[aria-label=新しい話を始める]{display:none}.manuscript-page[data-mode=reference] .workspace-heading{margin-bottom:.5rem}.manuscript-page[data-mode=reference] .workspace-heading h1{margin-block:.25rem;font-size:1.25rem}.manuscript-page[data-mode=reference] .workspace-heading .eyebrow{overflow-wrap:anywhere;margin:0}.manuscript-page[data-mode=reference] .manuscript-workspace-controls{z-index:2;background:var(--reading-surface,#faf9f4);padding-block:.5rem;position:sticky;top:0}.manuscript-page[data-mode=reference] .editor-card{box-shadow:none;background:0 0;border:0;padding:0}.manuscript-page[data-mode=reference] .editor-card footer{flex-wrap:wrap;justify-content:flex-start;gap:.4rem;padding:0}.manuscript-page[data-mode=reference] .editor-card footer:before{content:"本文:"}.manuscript-page[data-mode=reference] .editor-card footer>:is(.working-character-count,.working-edit-state){display:none}.manuscript-page[data-mode=reference] .manuscript-workspace[data-reading-source=compare] .editor-card{padding:.75rem}.manuscript-page[data-mode=reference] .manuscript-workspace[data-reading-source=compare] .editor-card footer>span:first-child{display:inline}.manuscript-page[data-mode=reference] .manuscript-workspace{gap:.75rem}.manuscript-workspace[data-references=open][data-compact=true]{grid-template-columns:minmax(0,1fr)}.manuscript-workspace[data-references=open][data-compact=true] .editor-card>:is(label,textarea,.working-actions),.manuscript-workspace[data-references=open][data-compact=true] :is(.manuscript-editing-tools,.manuscript-search,.manuscript-preview),.manuscript-page[data-mode=reference] .editor-card footer{display:none}.manuscript-save-status{overflow-wrap:anywhere;font-size:13px}.manuscript-source-reader h2{margin-block:0;font-size:1.25rem}.manuscript-source-actions{margin-block:.5rem}.canon-reading-controls{flex-wrap:wrap;gap:.5rem;margin-block:.75rem;display:flex}.canon-reading-controls button{padding:.5rem .75rem}.canon-reading-controls button[aria-pressed=true]{background:var(--text-strong,#34433d);color:var(--surface-raised,#fffefa);border-color:currentColor;font-weight:700}.canon-reading-range{color:var(--text-muted,#5d6863);margin-block:.25rem;font-size:13px}.manuscript-source-reader .readonly-canon-source pre{background:0 0;border:0;border-radius:0;margin-block:.75rem}@media (prefers-color-scheme:dark){:root:not([data-resolved-theme=light]){--reading-surface:#1e2624}}:root[data-resolved-theme=dark]{--reading-surface:#1e2624}.saved-text-changes{border:1px solid var(--border-subtle,#d8d4c8);overflow-wrap:anywhere;border-radius:10px;min-width:0;margin-block-end:16px;padding:12px}.saved-text-changes[hidden]{display:none}.saved-text-changes summary{cursor:pointer;min-height:44px}.saved-text-changes>ol{gap:20px;margin:0;padding-inline-start:24px;display:grid}.saved-text-changes li{min-width:0}.saved-text-changes li>section{min-width:0;max-width:90ch;margin-block:16px}.saved-text-changes :is(h3,h4,h5){margin-block:12px 8px}.saved-text-changes pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:var(--manuscript-font-family);font-size:var(--manuscript-text-size);margin:0;line-height:1.85}.saved-text-change-actions{flex-wrap:wrap;gap:8px 16px;display:flex}.episode-quality-repair .saved-text-comparison{margin-block:12px}.episode-quality-repair .proposal-comparison{gap:12px}.episode-quality-repair .proposal-comparison>section{padding:12px}.episode-quality-repair .saved-text-comparison-full pre{max-height:none;overflow:visible}.episode-quality-review-page{gap:14px}.episode-quality-review-page .workspace-heading{margin-bottom:0}.episode-quality-review-page .episode-quality-overview{background:0 0;border:0;border-radius:0;gap:8px;padding:0;display:grid}.episode-quality-review-page .episode-quality-overview h2{margin:0;font-size:14px;font-weight:500;line-height:1.6}.episode-quality-overview>details{font-size:13px}.episode-quality-count-details>summary{cursor:pointer;padding-block:6px}.episode-quality-finding-body>p{margin:0}.episode-quality-footer>p{flex-basis:100%;font-size:13px}.episode-quality-read-recovery{gap:10px;display:grid}.episode-quality-read-recovery>p{margin:0}.episode-quality-read-recovery>button{white-space:normal;justify-self:start;max-width:100%;min-height:44px}.quality-review-navigation{z-index:3;background:var(--reading-surface,#faf9f4);flex-wrap:wrap;gap:16px;padding:10px 0;display:flex;position:sticky;top:0}.quality-review-navigation a{padding-block:6px}.episode-quality-review-page :is(#terminal-findings,#recursive-quality-terminal-candidate-heading,#terminal-candidate-actions){scroll-margin-top:70px}.history-structure-counts{flex-wrap:wrap;gap:6px 16px;margin-block:12px;font-size:13px;display:flex}.canon-history-page{gap:16px}.canon-history-page .workspace-heading{margin-bottom:0}.history-reading-help{font-size:13px}.history-reading-help summary{cursor:pointer;min-height:44px;padding-block:10px}.structure-history-items,.structure-history-items[hidden]{display:none}.structure-history-reading>header{z-index:2;background:var(--reading-surface,#faf9f4);padding-block:8px;position:sticky;top:0}.canon-history-card .canon-structure-history-page{background:0 0;border:0;border-radius:0;padding:0}.structure-item-reader textarea{resize:vertical;width:100%;display:block}:is(.structure-editor-layout:has(.structure-item-reader),.episode-quality-finding:has(.saved-text-comparison-full)){overflow:clip}.episode-quality-review-page:has(.saved-text-comparison-full) .quality-review-navigation{position:static}.structure-item-reader section>header{z-index:2;background:var(--reading-surface,#faf9f4);flex-wrap:wrap;align-items:center;gap:8px;padding-block:8px;display:flex;position:sticky;top:0}.structure-item-reader pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:var(--manuscript-font-family);font-size:var(--manuscript-text-size);margin:0;line-height:1.85}.structure-item-reader button,.structure-history-items button,.structure-history-reading>header button{min-height:44px}@media (width<=600px){.episode-quality-review-page .episode-quality-overview{padding:0}.episode-quality-finding-header{gap:6px 12px}.episode-quality-finding-body{gap:10px}.episode-quality-finding-actions{padding-top:0}.structure-history-table-wrap{display:none}.structure-history-items{gap:12px;margin-block:12px;padding:0;list-style:none;display:grid}.structure-history-items li{border-block-start:1px solid var(--border-subtle,#d8d4c8);overflow-wrap:anywhere;min-width:0;padding-block:10px}.structure-history-items h3{margin:0;font-size:16px}.structure-history-items p{margin-block:8px;font-size:13px}.canon-history-card>header{flex-wrap:wrap;gap:10px}.canon-history-card[data-change-kind=structure]>header{grid-template-columns:minmax(0,1fr) auto;align-items:start;display:grid}.canon-history-card[data-change-kind=structure]>header>div{min-width:0}.canon-history-card[data-change-kind=structure]>header h2,.canon-history-card h2,.canon-structure-history-page h2{font-size:18px}.canon-structure-history-page{padding:12px}}.settings-workspace-controls{flex-wrap:wrap;gap:.5rem;margin-block:1rem;display:flex}.setting-materials-page>.structure-working-editor{background:0 0;border:0;border-radius:0;margin-top:0;padding:0}.setting-materials-page .setting-workspace{overflow:clip}.setting-workspace[data-list=open]{grid-template-columns:minmax(0, var(--settings-list-width)) minmax(0, 1fr);align-items:start}.setting-workspace[data-list=closed]{grid-template-columns:minmax(0,1fr)}.setting-workspace>[role=status]{grid-column:1/-1}.setting-tree-panel[hidden]{display:none}.setting-workspace .setting-tree-panel{max-height:min(70vh,40rem)}.settings-list-width{flex-wrap:wrap;gap:.5rem;margin-bottom:1rem;display:flex}.settings-list-width label{flex-basis:100%}.settings-list-width input{flex:1;min-width:0}.setting-editor-panel .selected-setting{max-width:90ch;margin-inline:auto}.selected-setting>header>div{overflow-wrap:anywhere;min-width:0}.settings-support-tools{margin-top:2rem}.settings-support-tools>.section-heading{flex-wrap:wrap}.settings-support-tool{border-top:1px solid var(--border-subtle,#d8d4c8);min-width:0;padding-block:8px}.settings-support-tool>summary{cursor:pointer;min-height:44px;padding-block:12px;font-weight:700}.settings-support-tool-content{min-width:0;padding-block:12px}.settings-support-tool-content[hidden]{display:none}.settings-support-tool-content .research-work-preparation{background:0 0;border:0;margin:0;padding:0}.settings-support-tool-content .research-readonly-body{max-width:90ch;max-height:none;font-family:var(--manuscript-font-family);font-size:var(--manuscript-text-size);background:0 0;border:0;margin-inline:auto;padding:12px 0;line-height:1.85;overflow:visible}.research-source-detail-heading{z-index:2;background:var(--reading-surface,#faf9f4);padding-block:8px;position:sticky;top:0}.settings-support-tool-content .research-source-detail{background:0 0;border:0;border-radius:0;padding:0}.settings-support-tool-content .research-source-detail h3{margin:0}@media (width<=600px){.settings-support-tool-content :is(.research-task-card,.research-preview){padding:12px}}@media (width<=900px){.setting-workspace[data-list=open]{grid-template-columns:minmax(0,1fr);min-height:0}.settings-list-width,.setting-workspace[data-list=open] .selected-setting>header,.setting-workspace[data-list=open] .setting-item-description,.setting-workspace[data-list=open] .selected-setting .editor-card>label,.setting-workspace[data-list=open] .selected-setting .editor-card>textarea,.setting-workspace[data-list=open] .selected-setting .editor-card>.working-actions{display:none}}.recipe-stage-cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,19rem),1fr));gap:1rem;display:grid}.recipe-stage-card{min-inline-size:0;padding:1rem}.recipe-stage-card ul{padding-inline-start:1.2rem}.recipe-stage-card li{overflow-wrap:anywhere;margin-block-end:.9rem}.recipe-asset-kind{font-size:.9rem;display:block}.recipe-stage-selection,.recipe-cell-standard{overflow-wrap:anywhere}.recipe-asset-body{max-block-size:90dvh;inline-size:min(70rem,100% - 2rem);padding:1.3rem;overflow:auto}.recipe-asset-body pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.8}.recipe-asset-body::backdrop{background:#0006}.style-assets-page,.seasoning-editor{overflow-wrap:anywhere;min-inline-size:0}.seasoning-editor textarea{box-sizing:border-box;min-block-size:18rem;inline-size:100%;min-inline-size:0;font:inherit;line-height:1.8}.seasoning-editor pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.8}.seasoning-comparison{grid-template-columns:repeat(auto-fit,minmax(min(100%,22rem),1fr));gap:1rem;display:grid}.seasoning-comparison>div{min-inline-size:0}.style-assets-page select,.seasoning-editor input{max-inline-size:100%}@media (width<=640px){.recipe-stage-cards{grid-template-columns:minmax(0,1fr)}}.proposal-review-actions.setting-proposal-adoption{align-items:stretch;gap:1rem;display:grid}.setting-proposal-adoption label{gap:.5rem;min-inline-size:0;display:grid}.setting-proposal-adoption :is(input,select,textarea){box-sizing:border-box;inline-size:100%;min-inline-size:0;font:inherit}.setting-proposal-adoption textarea{resize:vertical;min-block-size:20rem}.setting-proposal-adoption pre{white-space:pre-wrap;overflow-wrap:anywhere;max-block-size:40vh;font:inherit;overflow:auto}.setting-proposal-adoption button{justify-self:start}.material-recovery-actions{flex-wrap:wrap;justify-content:center;gap:12px;margin-top:20px;display:flex}.material-recovery-actions .secondary-action{justify-content:center;align-items:center;min-height:44px;text-decoration:none;display:inline-flex}.material-candidate-review .material-candidate-list fieldset label{cursor:pointer;min-height:44px;padding-inline:8px}:root{--manuscript-font-family:"Yu Mincho", "Hiragino Mincho ProN", "MS Mincho", serif;--manuscript-text-size:17px;color:#25302c;font-synthesis:none;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;text-rendering:optimizelegibility;background:#f2f0e9;font-family:Yu Gothic UI,Hiragino Sans,Noto Sans JP,system-ui,sans-serif}:root[data-manuscript-text-size=small]{--manuscript-text-size:15px}:root[data-manuscript-text-size=standard]{--manuscript-text-size:17px}:root[data-manuscript-text-size=large]{--manuscript-text-size:20px}:root[data-manuscript-text-size=extra-large]{--manuscript-text-size:24px}:root[data-manuscript-typeface=gothic]{--manuscript-font-family:"Yu Gothic UI", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif}*{box-sizing:border-box}body{background:radial-gradient(circle at 82% 8%,#d7e0d38c,#0000 28rem),#f2f0e9;min-width:320px;min-height:100vh;margin:0}button,select,textarea{font:inherit}.session-gate{align-content:center;justify-items:start;gap:18px;width:min(680px,100% - 40px);min-height:100vh;margin:0 auto;display:grid}.session-gate .gate-brand{color:#263a33}.session-gate h1{margin-bottom:0}.session-gate p,.page-introduction{color:#5d6863;line-height:1.8}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,textarea:focus-visible{outline-offset:3px;outline:3px solid #b85f38}.skip-link{z-index:10;color:#fff;background:#8b492f;border-radius:9px;padding:10px 14px;font-weight:700;text-decoration:none;position:fixed;top:10px;left:10px;transform:translateY(calc(-100% - 16px))}.skip-link:focus{transform:translateY(0)}.app-shell{grid-template:"header header"58px"rail status""rail main"minmax(0,1fr)/224px minmax(0,1fr);height:100dvh;min-height:100dvh;transition:grid-template-columns .16s;display:grid}.app-shell[data-navigation-expanded=false]{grid-template:"header"58px"status""main"minmax(0,1fr)/minmax(0,1fr)}.app-shell[data-writing-focus-mode=true]{display:block}.app-shell[data-writing-focus-mode=true]>.global-header,.app-shell[data-writing-focus-mode=true]>.project-rail{display:none}.app-shell[data-writing-focus-mode=true]>.main-workspace{height:100vh;padding:clamp(18px,3vw,36px)}.global-header{z-index:2;color:#fdfcf7;background:#243c35;grid-area:header;align-items:center;gap:12px;padding:0 clamp(12px,2vw,28px);display:flex;position:relative;box-shadow:0 2px 12px #243c3529}.status-band{color:#55615c;white-space:nowrap;background:#faf9f4eb;border-bottom:1px solid #d8d4c8;grid-area:status;align-items:center;gap:clamp(18px,4vw,48px);min-width:0;min-height:38px;padding:0 24px;font-size:12px;display:flex;overflow-x:auto}.app-shell[data-writing-focus-mode=true]>.status-band:not([data-attention=true]){display:none}.app-shell[data-writing-focus-mode=true]:has(>.status-band[data-attention=true]){grid-template:"status""main"minmax(0,1fr)/minmax(0,1fr);display:grid}.app-shell[data-writing-focus-mode=true]:has(>.status-band[data-attention=true])>.main-workspace{height:auto;min-height:0}.status-band strong{color:#263a33;font-weight:700}.status-band a{color:#8b492f;font-weight:700}.brand,.header-actions,.save-state{align-items:center;display:flex}.brand{letter-spacing:.06em;gap:12px;font-family:Yu Mincho,Hiragino Mincho ProN,serif;font-size:18px;font-weight:700}.brand-mark{background:#fdfcf7;border-radius:12px;flex-shrink:0;width:36px;height:36px;display:block}.header-actions{gap:20px}.save-state{color:#dce8df;gap:8px;font-size:13px}.project-rail{background:#faf9f4e0;border-right:1px solid #d8d4c8;grid-area:rail;min-width:0;min-height:0;padding:18px 12px;overflow-y:auto}.project-rail[hidden]{display:none}.header-project-context{overflow-wrap:anywhere;min-width:0;margin-left:auto}.global-header .rail-toggle{color:inherit;flex:0 0 42px}.global-header .rail-toggle:hover{background:#ffffff1f}.project-rail nav{gap:6px;margin-top:18px;display:grid}.project-rail .project-navigation{border-top:1px solid #ddd9ce;margin-top:14px;padding-top:14px}.rail-section-label{color:#78827d;letter-spacing:.08em;margin:0 0 3px;padding:0 10px;font-size:11px;font-weight:700}.project-switcher{gap:.35rem;margin:.5rem .65rem .8rem;display:grid}.project-switcher label{color:#66736d;font-size:.75rem;font-weight:700}.project-switcher select{color:#25302c;background:#fff;border:1px solid #d8d4c8;border-radius:.5rem;width:100%;min-width:0;padding:.55rem}.rail-toggle{color:#52635c;cursor:pointer;background:0 0;border:0;border-radius:10px;place-items:center;width:42px;height:42px;display:grid}.menu-glyph{gap:3px;width:18px;display:grid}.menu-glyph>span{background:currentColor;border-radius:1px;height:2px}.rail-toggle:hover,.rail-link:hover{background:#ece9df}.rail-link{color:#4c5a55;white-space:nowrap;border-radius:10px;align-items:center;gap:11px;min-height:44px;padding:8px 10px;text-decoration:none;display:flex;overflow:hidden}.rail-link.active{color:#243c35;background:#dfe8df;font-weight:700}.rail-marker{border:1px solid #8c9791;border-radius:50%;flex:0 0 7px;width:7px;height:7px}.rail-link.active .rail-marker{background:#42634f;border-color:#42634f}.main-workspace{grid-area:main;padding:clamp(28px,4vw,56px);overflow:auto}.main-workspace:focus-visible{outline-offset:-3px;outline:3px solid #b85f38}.activity-log{color:#263a33;background:#fffefadb;border:1px solid #cfc9bc;border-radius:16px;width:100%;margin-top:20px;padding:20px}.activity-log>header{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.activity-log h2{margin-bottom:5px;font-size:18px}.activity-log p{color:#68736e;margin-bottom:12px;font-size:13px;line-height:1.6}.activity-log button{color:#334840;cursor:pointer;background:#fffefa;border:1px solid #cfc9bc;border-radius:8px;min-height:36px;padding:7px 11px;font-weight:700}.activity-log button:disabled{cursor:wait;opacity:.62}.activity-log-list{gap:9px;margin:6px 0 0;padding:0;list-style:none;display:grid}.activity-log-list li{background:#fff;border:1px solid #e1ddd3;border-radius:10px;gap:7px;padding:11px 12px;display:grid}.activity-log-list li>div{justify-content:space-between;align-items:center;gap:10px;display:flex}.activity-log-list strong{font-size:14px}.activity-log-list li span,.activity-log-list time{color:#6b756f;font-size:11px}.activity-destination{white-space:nowrap;font-size:11px}.canon-history-card.history-focus{outline-offset:2px;outline:2px solid #2f6b4f}:root[data-resolved-theme=dark] .canon-history-card.history-focus{outline-color:#7fbf9f}.activity-phase{border-radius:999px;padding:2px 7px;font-weight:700}.activity-phase[data-tone=complete]{color:#386146;background:#e7f1e8}.activity-phase[data-tone=running]{color:#74581a;background:#fff2cb}.activity-phase[data-tone=stopped]{color:#8a3d31;background:#f9e4df}.activity-log .activity-more{width:100%;margin-top:10px}.home-page,.editor-page,.episode-studio-page,.recent-changes-page,.history-export-page,.setting-materials-page,.canon-history-page,.account-page,.empty-page{width:min(1080px,100%);margin:0 auto}.episode-switcher,.view-tabs{flex-wrap:wrap;gap:6px;margin:18px 0;display:flex}.episode-switcher a,.view-tabs a{color:#52635c;background:#fffefa;border:1px solid #d8d4c8;border-radius:9px;padding:8px 12px;text-decoration:none}.view-tabs a.active{color:#fff;background:#42634f;border-color:#42634f;font-weight:700}.episode-switcher{align-items:center;min-width:0}.episode-switcher a{align-items:center;min-height:44px;display:inline-flex}.episode-switcher details{flex-basis:100%;min-width:0}.episode-switcher summary{cursor:pointer;width:fit-content;min-height:44px;padding-block:10px}.episode-switcher-search{grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));gap:12px;margin-top:8px;display:grid}.episode-switcher-search label{gap:4px;min-width:0;display:grid}.episode-switcher-search :is(input,select){width:100%;min-width:0;min-height:44px}.episode-switcher-search[hidden]{display:none}.episode-workflow,.recent-change-list,.activity-log-list{margin:20px 0 0;padding:0;list-style:none}.episode-workflow{background:#fffffcc7;border:1px solid #d8d4c8;border-radius:16px;overflow:hidden}.episode-workflow>li,.recent-change-list>li,.activity-log-list>li{border-bottom:1px solid #e1ddd3;justify-content:space-between;align-items:center;gap:24px;padding:17px 20px;display:flex}.episode-workflow>li:last-child,.recent-change-list>li:last-child,.activity-log-list>li:last-child{border-bottom:0}.episode-workflow h2{margin:0 0 4px;font-size:16px}.episode-workflow p{color:#68736e;margin:0;font-size:13px}.episode-workflow-state{color:#52635c;justify-items:end;gap:5px;min-width:220px;font-size:12px;display:grid}.setting-sync-summary{background:#edf2ed;border-left:4px solid #8ba696;justify-content:space-between;align-items:center;gap:24px;margin-top:20px;padding:18px 20px;display:flex}.setting-sync-summary h2,.setting-sync-summary p{margin:0}.setting-sync-summary h2{font-size:16px}.setting-sync-summary p{color:#5d6863;margin-top:4px;font-size:13px}.setting-sync-page{gap:20px;display:grid}.episode-quality-review-page{gap:20px;max-width:1100px;margin:0 auto;padding:clamp(24px,5vw,48px);display:grid}.episode-quality-overview,.episode-quality-adoption,.episode-quality-adoption-success,.episode-quality-empty{border:1px solid var(--border-subtle,#d8d4c8);background:var(--surface-raised,#fffffcc7);border-radius:16px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:24px;padding:20px;display:flex}.episode-quality-terminal-candidate{grid-template-columns:minmax(0,1fr);align-items:start;gap:16px;min-width:0;display:grid}.episode-quality-candidate-reading{width:100%;min-width:0;max-width:90ch}.episode-quality-candidate-body{white-space:pre-wrap;overflow-wrap:anywhere;font-family:var(--manuscript-font-family);font-size:var(--manuscript-text-size);margin:0;line-height:1.85}.episode-quality-candidate-actions{overflow-wrap:anywhere;justify-items:start;gap:12px;min-width:0;display:grid}.episode-quality-candidate-actions>p{max-width:90ch}.episode-quality-candidate-actions .episode-quality-manual-link{padding:0;display:block}.episode-quality-overview h2,.episode-quality-overview p,.episode-quality-adoption h2,.episode-quality-adoption p,.episode-quality-adoption-success h2,.episode-quality-adoption-success p,.episode-quality-empty h2,.episode-quality-empty p{margin:0}.episode-quality-overview h2,.episode-quality-adoption h2,.episode-quality-adoption-success h2,.episode-quality-empty h2{margin-top:5px;font-size:18px}.episode-quality-overview p,.episode-quality-adoption p,.episode-quality-adoption-success p,.episode-quality-empty p{color:var(--text-muted,#5d6863);margin-top:7px;font-size:13px}.episode-quality-counts{border:1px solid var(--border-subtle,#d8d4c8);background:var(--border-subtle,#d8d4c8);border-radius:10px;grid-template-columns:repeat(3,minmax(5rem,1fr));gap:1px;min-width:min(100%,20rem);margin:0;display:grid;overflow:hidden}.episode-quality-counts div{text-align:center;background:var(--surface-subtle,#f7f5ee);padding:10px}.episode-quality-counts dt{color:var(--text-muted,#68736e);font-size:12px}.episode-quality-counts dd{margin:3px 0 0;font-weight:700}.episode-quality-finding-list{gap:16px;margin:0;padding:0;list-style:none;display:grid}.episode-quality-finding{border:1px solid var(--border-subtle,#d8d4c8);background:var(--surface-raised,#fffffcc7);border-radius:16px;overflow:hidden}.episode-quality-finding.is-decided{border-left:4px solid #8ba696}.episode-quality-finding-header{border-bottom:1px solid var(--border-subtle,#e1ddd3);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 16px;padding:18px 20px;display:grid}.episode-quality-finding-tags{flex-wrap:wrap;gap:6px;display:flex}.episode-quality-tag,.episode-quality-finding-number,.episode-quality-finding-state{color:var(--text-muted,#52635c);font-size:12px}.episode-quality-tag{background:#edf2ed;border:1px solid #c9d4cb;border-radius:99px;padding:3px 7px}.episode-quality-severity-error{color:#8d443b;background:#fff2ef;border-color:#e3bdb7}.episode-quality-finding-header h2{grid-column:1/-1;margin:0;font-size:17px;line-height:1.55}.episode-quality-finding-state{color:#42634f;grid-column:1/-1;justify-self:start;font-weight:700}.episode-quality-finding-body{overflow-wrap:anywhere;gap:14px;min-width:0;padding:18px 20px;display:grid}.episode-quality-finding-body>p{white-space:pre-wrap}.episode-quality-quote blockquote{background:var(--surface-subtle,#f7f5ee);white-space:pre-wrap;overflow-wrap:anywhere;border-left:3px solid #b8c8bb;margin:6px 0 0;padding:13px 16px}.episode-quality-finding-body details{color:var(--text-muted,#5d6863);font-size:13px}.episode-quality-finding-body details p{white-space:pre-wrap;margin:9px 0 0}.episode-quality-rule{font-size:12px}.episode-quality-repair{background:#edf2ed;border-left:3px solid #8ba696;padding:14px 16px}.episode-quality-repair h3,.episode-quality-repair p{margin:0}.episode-quality-repair h3{font-size:14px}.episode-quality-repair pre{font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;background:#fffefa;border:1px solid #d0ddd2;border-radius:8px;margin:8px 0;padding:10px 12px;overflow:auto}.episode-quality-repair p,.episode-quality-no-repair{color:var(--text-muted,#5d6863);font-size:12px}.episode-quality-finding-actions{flex-wrap:wrap;align-items:center;gap:10px;padding:16px 20px 20px;display:flex}.episode-quality-finding-actions p{color:var(--text-muted,#5d6863);flex-basis:100%;margin:0;font-size:12px}.episode-quality-manual-link{flex-wrap:wrap;align-items:center;gap:10px;padding:0 20px 20px;display:flex}.episode-quality-manual-link p{color:var(--text-muted,#5d6863);flex:20rem;margin:0;font-size:12px}.quality-finding-focus{color:#42634f;background:#edf2ed;border-left:4px solid #8ba696;padding:12px 16px}.episode-quality-adoption-success{background:#edf2ed;border-left:4px solid #42634f;place-items:start;display:grid}.episode-quality-footer{flex-wrap:wrap;gap:10px;display:flex}.setting-sync-overview,.setting-sync-case,.recent-setting-sync{border:1px solid var(--border-subtle,#d8d4c8);background:var(--surface-raised,#fff);border-radius:16px;padding:20px}.setting-sync-overview{background:#edf2ed;border-left:4px solid #8ba696;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;display:grid}.setting-sync-overview h2,.setting-sync-overview p,.setting-sync-case h2,.setting-sync-case h3,.setting-sync-case p,.recent-setting-sync p{margin:0}.setting-sync-overview h2{margin-top:4px;font-size:20px}.setting-sync-overview p{color:var(--text-muted,#5d6863);margin-top:8px;line-height:1.7}.setting-sync-counts,.setting-sync-case-counts{gap:16px;margin:0;display:flex}.setting-sync-counts>div,.setting-sync-case-counts>div{gap:4px;min-width:5rem;display:grid}.setting-sync-counts dt,.setting-sync-case-counts dt{color:var(--text-muted,#5d6863);font-size:12px}.setting-sync-counts dd,.setting-sync-case-counts dd{margin:0;font-weight:800}.setting-sync-case-list,.setting-sync-candidate-list{gap:16px;margin:0;padding:0;list-style:none;display:grid}.setting-sync-case>header,.setting-sync-candidate>header,.recent-setting-sync .section-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.setting-sync-case>header h2{margin-top:4px;font-size:18px}.setting-sync-case-status,.setting-sync-candidate-disposition,.setting-sync-candidate-kind{color:var(--text-muted,#5d6863);font-size:12px;font-weight:800}.setting-sync-case-counts{border-top:1px solid var(--border-subtle,#d8d4c8);margin-top:14px;padding-top:14px}.setting-sync-candidate-list{margin-top:18px}.setting-sync-candidate{border:1px solid var(--border-subtle,#d8d4c8);background:var(--surface-subtle,#f7f5ee);border-radius:12px;padding:16px}.setting-sync-candidate.is-decided{opacity:.82}.setting-sync-candidate h3{margin-top:4px;font-size:18px}.setting-sync-evidence,.setting-sync-write-state{color:var(--text-muted,#5d6863);font-size:13px;line-height:1.6;margin-top:10px!important}.setting-sync-candidate-actions,.setting-sync-footer{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.setting-sync-candidate-actions{margin-top:14px}.setting-sync-empty,.setting-sync-no-candidates{border:1px dashed var(--border-subtle,#d8d4c8);background:var(--surface-subtle,#f7f5ee);border-radius:12px;margin-top:18px;padding:18px}.setting-sync-empty p,.setting-sync-no-candidates p{color:var(--text-muted,#5d6863);margin-top:8px;line-height:1.7}.setting-sync-no-candidates .secondary-action{margin-top:14px}.setting-sync-footer{justify-content:flex-start}.recent-setting-sync{margin-top:20px}.recent-setting-sync .section-heading{margin-bottom:10px}.recent-setting-sync p{color:var(--text-muted,#5d6863);line-height:1.7}.recent-canon-writes,.activity-log{margin-top:20px}.recent-change-list{background:#fffffcc7;border:1px solid #d8d4c8;border-radius:12px;overflow:hidden}.recent-change-list>li>div,.activity-log-list>li>div{align-items:center;gap:10px;display:flex}.recent-change-list span,.recent-change-list time,.activity-log-list span,.activity-log-list time{color:#68736e;font-size:11px}.recent-change-list .change-warning{color:#8a3d31;font-weight:700}.canon-history-page .workspace-heading p{color:#5d6863;max-width:760px;line-height:1.8}.history-refresh-message{flex-wrap:wrap;align-items:center;gap:10px 14px;margin-top:14px;display:flex}.history-refresh-message p{margin:0}.canon-history-list{gap:20px;margin:24px 0 0;padding:0;list-style:none;display:grid}.canon-history-card,.history-empty{background:#fffffcd1;border:1px solid #ded9cd;border-radius:16px;padding:clamp(20px,3vw,30px)}.canon-history-card>header,.canon-history-card>footer{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.canon-history-card h2{margin:7px 0 0;font-size:22px}.canon-history-card time,.history-provenance,.canon-history-card footer p{color:#69736f;font-size:13px}.history-provenance{margin:14px 0}.history-comparison{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.history-comparison section{min-width:0}.history-comparison h3,.history-warnings h3{color:#52635c;margin:0 0 8px;font-size:13px}.history-comparison pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:320px;font-family:var(--manuscript-font-family);font-size:var(--manuscript-text-size);background:#fffefa;border:1px solid #d8d4c9;border-radius:10px;margin:0;padding:16px;line-height:1.8;overflow:auto}.history-warnings{background:#fff8e7;border:1px solid #ddcda9;border-radius:10px;margin-top:12px;padding:14px}.history-warnings ul{margin:0}.canon-history-card>footer{align-items:center;margin-top:16px}.canon-history-card>footer p{margin:0}.history-empty{text-align:center;margin-top:24px}.canon-structure-history-page{background:#fffffcd1;border:1px solid #ded9cd;border-radius:16px;margin-top:18px;padding:clamp(20px,3vw,30px)}.canon-structure-history-page>div>header{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.canon-structure-history-page h2{margin:7px 0 0;font-size:22px}.structure-history-table-wrap{border:1px solid #d8d4c9;border-radius:10px;max-width:100%;margin:16px 0 12px;overflow-x:auto}.structure-history-table{border-collapse:collapse;width:100%;min-width:760px;font-size:12px}.structure-history-table th,.structure-history-table td{vertical-align:top;text-align:left;border-bottom:1px solid #e5e1d8;padding:9px 10px}.structure-history-table thead th{color:#52635c;white-space:nowrap;background:#f8f6ef;font-size:11px}.structure-history-table tbody th{color:#34433d;overflow-wrap:anywhere;min-width:130px}.structure-history-table tbody th button{max-width:100%;margin-top:10px;display:block}.structure-history-reading{overflow-wrap:anywhere;min-width:0;margin:16px 0}.structure-history-reading>header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.structure-history-reading-field{border-top:1px solid var(--border-subtle,#d8d4c8);max-width:90ch;margin-top:20px;padding-top:16px}.structure-history-reading-field h3,.structure-history-reading-field h4{margin:12px 0 6px}.structure-history-reading-field pre{max-width:100%;font-family:var(--manuscript-font-family);font-size:var(--manuscript-text-size);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;line-height:1.9}.structure-history-record-information{margin-top:20px}.structure-history-record-information dl,.structure-history-record-information dd{margin-left:0}.structure-history-record-information dl>div{margin-top:12px}.structure-history-table td{white-space:pre-wrap;overflow-wrap:anywhere;max-width:220px}.eyebrow,.summary-label{color:#69766f;letter-spacing:.12em;text-transform:uppercase;font-size:12px;font-weight:700}.hero-panel{background:#fffffcd1;border:1px solid #ded9cd;border-radius:22px;justify-content:space-between;align-items:center;gap:48px;margin-top:14px;padding:clamp(30px,5vw,58px);display:flex;box-shadow:0 18px 50px #3f494114}h1,h2,p{margin-top:0}h1,h2{color:#263a33;font-family:Yu Mincho,Hiragino Mincho ProN,serif}h1{margin-bottom:14px;font-size:clamp(30px,4vw,48px);line-height:1.25}.hero-panel p,.empty-page p{color:#5d6863;max-width:640px;margin-bottom:0;line-height:1.9}.home-auxiliary-links{flex-wrap:wrap;gap:10px;margin-top:16px;display:flex}.normal-export-page{width:min(920px,100%)}.export-form-card{background:#fffefa;border:1px solid #d8d4c8;border-radius:16px;gap:28px;margin-top:20px;padding:clamp(22px,4vw,38px);display:grid}.export-form-card fieldset{border:0;margin:0;padding:0}.export-form-card legend{color:#2e3c36;margin-bottom:12px;font-size:17px;font-weight:700}.export-episode-list,.export-profile-list{gap:10px;display:grid}.export-episode-list label,.export-profile-list label{cursor:pointer;border:1px solid #dedacf;border-radius:10px;align-items:flex-start;gap:10px;padding:12px 14px;display:flex}.export-profile-list small{color:#68736e;margin-top:3px;display:block}.export-line-ending{gap:8px;max-width:280px;font-weight:700;display:grid}.export-line-ending select{background:#fff;border:1px solid #cfcabe;border-radius:8px;min-height:42px;padding:8px 10px}.export-submit-row{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.export-submit-row p{color:#53615b;margin:0}.hero-actions{gap:10px;min-width:180px;display:grid}.primary-action{color:#fff;background:#b85f38;border:1px solid #b85f38;border-radius:10px;justify-content:center;align-items:center;min-height:44px;padding:11px 18px;font-weight:700;text-decoration:none;display:inline-flex}.home-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:20px;display:grid}.summary-card,.editor-card{background:#fffffcc7;border:1px solid #ded9cd;border-radius:16px}.summary-card{padding:24px}.summary-card strong{color:#2f433b;margin:10px 0 8px;font-size:20px;display:block}.summary-card p{color:#69736f;margin-bottom:0;line-height:1.7}.indexion-status-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:24px 0 18px;display:grid}.indexion-status-grid h2{margin:10px 0 8px}.indexion-cancel-card{background:#fffffc99;border:1px solid #ded9cd;border-radius:14px;margin-top:22px;padding:22px}.indexion-cancel-card h2{margin-top:0}.indexion-cancel-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.indexion-cancel-actions p{flex-basis:100%}.project-shelf,.project-start,.project-management{margin-top:28px}.project-start{--sample-actions-gap:.75rem;background:#fffffcc7;border:1px solid #d8d4c8;border-radius:16px;padding:22px}.project-start-choices{align-items:start;gap:var(--sample-actions-gap);grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));display:grid}.project-start-choices .primary-action{box-sizing:border-box;justify-content:center;align-items:center;width:100%;min-height:3rem;display:flex}.project-start .section-heading{justify-content:space-between;align-items:center;gap:18px;display:flex}.project-create-form{gap:10px;max-width:760px;margin-top:18px;display:grid}.project-create-form label{color:#40534b;font-weight:700}.project-create-form input,.project-create-form textarea{color:#263b33;width:100%;font:inherit;background:#fffefa;border:1px solid #bcb7aa;border-radius:9px;padding:10px 12px}.project-create-form textarea{resize:vertical;min-height:130px}.project-create-form>p{color:#69736f;margin:0;line-height:1.7}.section-heading h2{margin:6px 0 0;font-size:clamp(24px,3vw,32px)}.project-shelf-tools{gap:8px;width:min(100%,35rem);min-width:0;margin-top:16px;display:grid}.project-shelf-tools input{width:100%;min-width:0}.project-shelf-tools>p,.project-shelf-read-state p,.project-operation-retained{overflow-wrap:anywhere;margin:0;line-height:1.7}.project-page-controls{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.project-page-controls select{width:auto;max-width:100%}.project-shelf-read-state,.project-operation-retained{margin-top:16px}.project-card>div:first-child{overflow-wrap:anywhere;flex:auto;min-width:0;max-width:100%}.project-more-actions{max-width:100%}.project-more-actions>summary{cursor:pointer;border:1px solid #d8d4c8;border-radius:9px;min-height:40px;padding:8px 12px}.project-more-actions>.project-card-actions{justify-content:flex-start;margin-top:12px}.project-more-actions>.project-card-actions[hidden]{display:none}.project-card-list,.trash-project-list{gap:12px;margin:16px 0 0;padding:0;list-style:none;display:grid}.project-card-list{grid-template-columns:minmax(0,1fr)}.project-card{background:#fffffcc7;border:1px solid #ded9cd;border-radius:14px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:24px;min-width:0;max-width:100%;padding:20px 22px;display:flex}.project-card h3{color:#2f433b;margin:0 0 6px;font-family:Yu Mincho,Hiragino Mincho ProN,serif;font-size:20px}.project-card p,.project-management-body>p,.trash-project-list span{color:#69736f;margin-bottom:0;font-size:13px;line-height:1.7}.copy-unavailable{flex-basis:100%;margin-top:-10px}.project-copy-form{background:#f8f6ef;border:1px solid #d8d4c8;border-radius:12px;flex-basis:100%;grid-template-columns:minmax(0,1fr);gap:10px 14px;width:100%;min-width:0;max-width:100%;padding:16px;display:grid}.project-copy-form label{color:#40534b;grid-column:1/-1;font-weight:700}.project-copy-form input{color:#263b33;width:100%;min-width:0;max-width:100%;min-height:42px;font:inherit;background:#fffefa;border:1px solid #bcb7aa;border-radius:9px;padding:9px 11px}.project-copy-form>p{grid-column:1/-1;margin:0}.project-copy-form>.project-card-actions{grid-column:1/-1;justify-content:flex-start}@media (width<=860px){.project-card{flex-wrap:nowrap}.project-card>.project-copy-form,.project-card>.copy-unavailable{flex-basis:auto}}.copy-complete{background:#f0f7f3;border:1px solid #bfd3c8;border-radius:10px;padding:14px 16px}.copy-complete a{margin-left:.4em;font-weight:700}.project-card-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.quiet-danger-action{color:#7d5545;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:9px;min-height:40px;padding:8px 12px}.quiet-danger-action:hover{background:#fff8f4;border-color:#ddc7bc}.quiet-danger-action:disabled{opacity:.55;cursor:wait}.project-management{background:#fffffc99;border:1px solid #ded9cd;border-radius:14px}.project-management summary{color:#40534b;cursor:pointer;padding:16px 20px;font-weight:700}.project-management-body{border-top:1px solid #e7e2d7;padding:0 20px 20px}.project-management-body>p:first-child{margin-top:16px}.management-empty{text-align:center;background:#f3f1ea;border-radius:10px;padding:18px}.trash-project-list li{background:#fffefa;border:1px solid #e2ddd2;border-radius:10px;justify-content:space-between;align-items:center;gap:18px;padding:14px 16px;display:flex}.trash-project-list strong,.trash-project-list span{display:block}.readonly-link{color:#405f52;background:#f8fbf8;border:1px solid #b8c8c0;border-radius:9px;align-items:center;min-height:40px;padding:8px 12px;font-weight:700;text-decoration:none;display:inline-flex}.trash-badge{color:#5e5b55;white-space:nowrap;background:#f0eee8;border:1px solid #c9c4b9;border-radius:999px;align-items:center;min-height:34px;padding:6px 11px;font-size:12px;font-weight:700;display:inline-flex}.readonly-notice{color:#5f5c55;background:#f4f2ec;border:1px solid #d5d0c5;border-radius:10px;margin:18px 0 0;padding:12px 14px}.readonly-project-nav{flex-wrap:wrap;gap:10px;margin-top:18px;display:flex}.readonly-canon-source{background:#fffefa;border:1px solid #d8d4c8;border-radius:16px;margin-top:20px;padding:clamp(20px,3vw,30px)}.readonly-canon-source>header{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.readonly-canon-source h2{margin:6px 0 0;font-size:24px}.readonly-canon-source pre{white-space:pre-wrap;overflow-wrap:anywhere;min-height:260px;max-height:65vh;font-family:var(--manuscript-font-family);font-size:var(--manuscript-text-size);background:#faf9f5;border:1px solid #e1ddd3;border-radius:10px;margin:18px 0;padding:20px;line-height:1.9;overflow:auto}.readonly-source-actions{flex-wrap:wrap;justify-content:flex-end;gap:.75rem;display:flex}.readonly-source-error{background:#fffefa;border:1px solid #d8d4c8;border-radius:12px;padding:20px}.session-list{gap:12px;margin-top:24px;display:grid}.session-row{justify-content:space-between;align-items:center;gap:20px;display:flex}.session-row strong{margin-top:0}.session-global-action{justify-content:space-between;align-items:center;gap:1rem;margin-top:1.5rem;display:flex}.session-global-action h2,.session-global-action p{margin:0}.session-global-action p{color:var(--text-muted);margin-top:.35rem}.secondary-action{color:#8b492f;cursor:pointer;background:#fffaf6;border:1px solid #d4ad9b;border-radius:9px;min-height:40px;padding:8px 14px}.secondary-action:disabled{opacity:.55;cursor:wait}.muted-state{color:#707974;font-size:13px}.workspace-heading{justify-content:space-between;align-items:flex-start;gap:24px;display:flex}.workspace-heading h1{margin-top:8px;font-size:clamp(28px,4vw,42px)}.working-badge{color:#725b36;background:#f8f0d9;border:1px solid #ddcda9;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:700}.stage-strip{background:#fffffcb3;border:1px solid #dad6cc;border-radius:12px;grid-template-columns:repeat(5,minmax(0,1fr));margin:8px 0 20px;padding:0;list-style:none;display:grid;overflow:hidden}.stage-strip>li{color:#707974;text-align:center;border-right:1px solid #e3dfd6;flex-wrap:wrap;justify-content:center;align-items:center;gap:5px;min-width:0;padding:11px 10px;font-size:12px;display:flex}.stage-strip>li:last-child{border-right:0}.stage-status{border:1px solid;border-radius:999px;padding:1px 5px;font-size:10px;font-weight:700;line-height:1.35}.stage-strip .complete{color:#42634f;background:#e2ece3}.stage-strip .current{color:#8b492f;background:#f5e5dc;font-weight:700}.stage-input-disclosure{color:#5d6863;background:#fff9e8;border-radius:9px;margin:0;padding:12px 14px;line-height:1.7}.stage-input-materials{gap:12px;margin:16px 0;display:grid}.stage-input-materials article{background:#fff;border:1px solid #dadfd8;border-radius:10px;padding:16px}.stage-input-materials h3{margin:0 0 10px;font-size:15px}.stage-input-content{color:#27332e;font-family:var(--manuscript-font-family);font-size:var(--manuscript-text-size);white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9}.editor-layout{grid-template-columns:minmax(0,1fr);gap:20px;display:grid}.editor-column{min-width:0}.focus-mode-control{justify-content:flex-end;align-items:center;gap:.75rem;margin-bottom:.75rem;display:flex}.focus-mode-control span{color:#68655c;font-size:.78rem}.app-shell[data-writing-focus-mode=true] .editor-page{width:100%;max-width:none}.app-shell[data-writing-focus-mode=true] .editor-page>.workspace-heading,.app-shell[data-writing-focus-mode=true] .editor-page>.canon-search-panel,.app-shell[data-writing-focus-mode=true] .stage-strip{display:none}.app-shell[data-writing-focus-mode=true] .editor-layout{display:block}.app-shell[data-writing-focus-mode=true] .editor-column{width:min(52rem,100%);margin:0 auto}.app-shell[data-writing-focus-mode=true] .focus-mode-control{z-index:2;background:#f7f5ef;padding:.25rem 0;position:sticky;top:0}.app-shell[data-writing-focus-mode=true] .editor-card textarea{width:min(100%,40em + 50px);min-height:calc(100vh - 18rem);font-size:var(--manuscript-text-size);margin:0 auto;line-height:2.15;display:block}.editor-card{padding:22px}.editor-card label{color:#42534c;margin-bottom:12px;font-weight:700;display:block}.editor-card textarea{resize:vertical;color:#2e3733;width:100%;min-height:390px;font-family:var(--manuscript-font-family);font-size:var(--manuscript-text-size);background:#fffefa;border:1px solid #d8d4c9;border-radius:12px;padding:24px;line-height:2}.editor-card footer{color:#737b76;justify-content:space-between;gap:18px;padding-top:12px;font-size:12px;display:flex}.recovery-actions{flex-wrap:wrap;gap:.75rem;padding:0 1rem 1rem;display:flex}.working-actions{flex-wrap:wrap;justify-content:flex-end;gap:.75rem;padding-top:1rem;display:flex}.copy-fallback{padding:.75rem 0 0}.copy-fallback p{margin:0 0 .75rem}.manuscript-editing-tools,.manuscript-search-actions,.manuscript-preview-options{flex-wrap:wrap;gap:.5rem;display:flex}.manuscript-editing-tools{margin-top:1rem}.manuscript-search{background:#f8f7f3;border:1px solid #d8d4c8;border-radius:10px;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin-top:.75rem;padding:.875rem;display:grid}.manuscript-search label{color:#4c4a43;gap:.35rem;font-size:.85rem;font-weight:700;display:grid}.manuscript-search input{color:#25241f;min-width:0;font:inherit;background:#fff;border:1px solid #bdb9ad;border-radius:8px;padding:.6rem .7rem;font-weight:400}.manuscript-search-actions{grid-column:1/-1;justify-content:flex-end}.manuscript-preview{border-top:1px solid #d8d4c8;margin-top:1rem;padding-top:1rem}.manuscript-preview>header{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:.75rem;display:flex}.manuscript-preview h2{margin:0;font-size:1rem}.manuscript-preview header p{color:#68655c;margin:.25rem 0 0;font-size:.8rem}.manuscript-preview-options{justify-content:flex-end}.manuscript-preview-options button{color:#4c4a43;font:inherit;cursor:pointer;background:#fff;border:1px solid #bdb9ad;border-radius:999px;padding:.42rem .65rem;font-size:.78rem}.manuscript-preview-options button[aria-pressed=true]{color:#2f3522;background:#e6eadb;border-color:#5d6548;font-weight:700}.vertical-manuscript-preview{box-sizing:border-box;color:#25241f;width:100%;height:calc(40em + 2.5rem + 2px);font-family:var(--manuscript-font-family);font-size:var(--manuscript-text-size);text-orientation:mixed;white-space:pre-wrap;writing-mode:vertical-rl;background-color:#eeede8;border:1px solid #c7c3b8;border-radius:10px;padding:1.25rem;line-height:1.8;overflow:auto}.vertical-manuscript-preview[data-writing-mode=horizontal]{overflow-wrap:anywhere;writing-mode:horizontal-tb;height:auto;min-height:12em;max-height:40em}.manuscript-emphasis{text-emphasis:sesame}.vertical-manuscript-preview[data-page-guide=on]{background-image:repeating-linear-gradient(270deg,#0000 0 calc(1.8em - 1px),#5d654838 calc(1.8em - 1px) 1.8em),repeating-linear-gradient(270deg,#0000 0 calc(54em - 2px),#5d654894 calc(54em - 2px) 54em);background-attachment:local}.vertical-manuscript-preview ruby rt{color:#55584c;font-size:.55em}.preview-placeholder{color:#77746b}.working-conflict{color:#72351f;background:#fff1e9;border:1px solid #c97455;border-radius:10px;margin:1rem 0 0;padding:.875rem 1rem}@media (width<=720px){.manuscript-search{grid-template-columns:1fr}.manuscript-search-actions{grid-column:1}.manuscript-preview>header{display:grid}.manuscript-preview-options{justify-content:flex-start}}.working-conflict h2{margin:0 0 .5rem;font-size:1rem}.working-conflict .recovery-actions{padding:.75rem 0 0}.working-comparison{border-top:1px solid #dba58f;margin-top:1rem;padding-top:1rem}.working-comparison pre{white-space:pre-wrap;overflow-wrap:anywhere;color:#2e3733;max-height:16rem;font-family:var(--manuscript-font-family);font-size:var(--manuscript-text-size);background:#fffefa;border:1px solid #d8d4c9;border-radius:8px;padding:1rem;line-height:1.7;overflow:auto}.setting-materials-page{width:min(1200px,100%)}.setting-materials-page .workspace-heading p{color:#5d6863;line-height:1.7}.setting-sync-adoption{border:1px solid var(--border-subtle,#d8d4c8);background:var(--surface-subtle,#edf2ed);border-left:4px solid #42634f;border-radius:12px;gap:8px;margin-top:18px;padding:18px 20px;display:grid}.setting-sync-adoption h2,.setting-sync-adoption p{margin:0}.setting-sync-adoption p{color:var(--text-muted,#5d6863);line-height:1.7}.setting-sync-adoption a{width:fit-content;margin-top:4px}.canon-search-panel{background:#fffffcc7;border:1px solid #d8d4c8;border-radius:12px;gap:12px;margin-top:18px;padding:16px;display:grid}.canon-search-panel h2,.canon-search-panel p{margin:0}.canon-search-panel h2{font-size:1rem}.canon-search-panel>div>p{color:#68736e;margin-top:4px;font-size:.82rem}.canon-search-form{gap:5px;display:grid}.canon-search-form label{color:#4c5752;font-size:.8rem;font-weight:700}.canon-search-form>div{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.canon-search-form input{color:#252d29;min-width:0;min-height:40px;font:inherit;background:#fff;border:1px solid #bfc6c1;border-radius:8px;padding:8px 10px}.canon-search-form button{color:#fff;cursor:pointer;min-width:76px;min-height:40px;font:inherit;background:#42634f;border:1px solid #42634f;border-radius:8px;padding:8px 14px;font-weight:700}.canon-search-form button:disabled{opacity:.55;cursor:wait}.canon-search-results{gap:7px;margin:0;padding:0;list-style:none;display:grid}.canon-search-results button{color:#34433d;cursor:pointer;text-align:left;background:#fffefa;border:1px solid #d8d4c8;border-radius:9px;gap:5px;width:100%;padding:10px 12px;display:grid}.canon-search-results button:hover,.canon-search-results button:focus-visible{background:#f0f5f1;border-color:#8da296}.canon-search-result-heading{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.canon-search-result-heading>span{color:#68736e;font-size:.75rem}.canon-search-excerpt{color:#59645f;overflow-wrap:anywhere;font-size:.82rem;line-height:1.55}.canon-search-more{justify-self:start}.setting-workspace{background:#fffffcc7;border:1px solid #d8d4c8;border-radius:16px;grid-template-columns:308px minmax(0,1fr);min-height:640px;margin-top:20px;display:grid;overflow:hidden}.setting-tree-panel{background:#f8f6ef;border-right:1px solid #d8d4c8;min-width:0;padding:14px 12px;overflow:auto}.catalog-filter{border-bottom:1px solid #e1ddd3;flex-wrap:wrap;gap:5px;padding-bottom:12px;display:flex}.catalog-filter button,.catalog-more{color:#5d6863;cursor:pointer;background:#fffefa;border:1px solid #d8d4c8;border-radius:7px;min-height:30px;padding:5px 8px;font-size:11px}.catalog-filter button[aria-pressed=true]{color:#fff;background:#42634f;border-color:#42634f;font-weight:700}.catalog-tree{margin-top:10px}.catalog-tree ul{margin:0;padding:0;list-style:none}.catalog-tree ul ul{border-left:1px solid #d5d9d3;margin-left:8px;padding-left:13px}.catalog-tree button{color:#34433d;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:7px;gap:2px;width:100%;padding:6px 8px;display:grid}.catalog-tree button:hover{background:#ece9df}.catalog-tree button[aria-selected=true]{color:#263a33;background:#dfe8df;font-weight:700}.catalog-item-title{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.catalog-item-meta{color:#737b76;font-size:10px;font-weight:400}.catalog-more{width:100%;margin-top:12px}.setting-editor-panel{min-width:0;padding:clamp(20px,3vw,34px)}.structure-working-editor{background:#fffffcd1;border:1px solid #d8d4c8;border-radius:16px;margin-top:24px;padding:clamp(18px,3vw,30px)}.structure-working-header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px;display:flex}.structure-working-header h2{margin:7px 0 8px;font-size:clamp(20px,3vw,28px)}.structure-working-header p{color:#59645f;max-width:760px;margin:0;line-height:1.65}.structure-working-header .structure-safety-note{color:#69736f;max-width:880px;margin-top:8px;font-size:12px}.structure-editor-layout{background:#fffefa;border:1px solid #d8d4c8;border-radius:12px;grid-template-columns:minmax(240px,300px) minmax(0,1fr);min-height:540px;display:grid;overflow:hidden}.structure-editor-layout[data-list=closed],.structure-editor-layout[data-compact=true]{grid-template-columns:minmax(0,1fr)}.structure-layout-controls{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:12px;display:flex}.structure-layout-selection{overflow-wrap:anywhere;min-width:0}.structure-working-tree-panel[hidden],.structure-working-main[hidden]{display:none}.structure-editor-layout[data-compact=true] .structure-working-tree-panel{border-right:0}.structure-working-tree-panel{background:#f8f6ef;border-right:1px solid #d8d4c8;min-width:0;padding:12px;overflow:auto}.structure-tree-tools{border-bottom:1px solid #e1ddd3;gap:6px;padding-bottom:12px;display:grid}.structure-tree-tools label,.structure-action-panel label{color:#52635c;font-size:12px;font-weight:700}.structure-tree-tools input,.structure-action-panel input,.structure-action-panel textarea,.structure-action-panel select{color:#2e3733;width:100%;font:inherit;background:#fffefa;border:1px solid #cfcac0;border-radius:8px;padding:8px 10px}.structure-tree-tools .secondary-action{justify-self:start;margin-top:4px}.structure-tree{overflow-anchor:none;height:min(55vh,32rem);margin-top:10px;overflow:auto}.structure-tree-space{position:relative}.structure-tree-entry{width:100%;min-width:0;height:2.75rem;position:absolute}.structure-tree-entry>.structure-tree-row-shell{height:calc(100% - 2px)}.structure-tree-row-shell{align-items:stretch;min-width:0;display:flex}.structure-tree-toggle{color:#52635c;cursor:pointer;background:0 0;border:0;flex:0 0 30px;min-height:34px;padding:3px;font-size:10px;font-weight:700}.structure-tree-toggle-space{flex:0 0 30px}.structure-tree-row{color:#34433d;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:7px;flex:1;align-items:center;gap:6px;min-width:0;padding:7px 6px;display:flex}.structure-tree-row:hover,.structure-tree-row:focus-visible{background:#ece9df}.structure-tree-row[aria-selected=true]{color:#263a33;background:#dfe8df;font-weight:700}.structure-tree-title{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.structure-tree-marks{color:#6d776f;white-space:nowrap;flex:none;gap:3px;margin-left:auto;font-size:10px;font-weight:400;display:flex}.structure-working-main{min-width:0;padding:clamp(16px,3vw,28px)}.structure-operation-toolbar{border-bottom:1px solid #e1ddd3;flex-wrap:wrap;gap:7px;padding-bottom:15px;display:flex}.structure-operation-toolbar button{min-height:34px}.structure-selected-item{border-bottom:1px solid #e1ddd3;padding:18px 0}.structure-selected-item>textarea{resize:vertical;width:100%;display:block}.structure-selected-item>header,.structure-review>header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.structure-selected-item h3,.structure-selected-item-title,.structure-review h3,.structure-action-panel h3{margin:6px 0 0;font-size:19px}.structure-selected-item-title{color:#2e3733;font-weight:700}.structure-item-summary{color:#69736f;flex-wrap:wrap;gap:8px 18px;margin:14px 0 0;font-size:13px;display:flex}.structure-item-summary div{gap:6px;display:flex}.structure-item-summary dt{font-weight:700}.structure-item-summary dd{margin:0}.structure-body-preview{margin-top:16px}.structure-body-preview h4,.structure-merge-preview h4{color:#52635c;margin:0 0 7px;font-size:13px}.structure-body-preview pre,.structure-merge-preview pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:220px;font-family:var(--manuscript-font-family);background:#fffefa;border:1px solid #d8d4c9;border-radius:9px;margin:0;padding:12px;line-height:1.7;overflow:auto}.structure-action-panel{border-bottom:1px solid #e1ddd3;gap:8px;padding:16px 0;display:grid}.structure-action-panel p{color:#59645f;margin:0;line-height:1.6}.structure-action-panel textarea{resize:vertical;min-height:110px}.structure-form-grid{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px 12px;display:grid}.structure-merge-preview{background:#f8f6ef;border:1px solid #d8d4c9;border-radius:9px;padding:12px}.structure-merge-preview p{color:#2e3733;margin:0 0 8px;font-weight:700}.structure-save-actions{border-bottom:1px solid #e1ddd3;flex-wrap:wrap;align-items:center;gap:10px;padding:16px 0;display:flex}.structure-save-actions>span{color:#69736f;margin-right:auto;font-size:13px}.structure-review{padding-top:18px}.structure-review-table-wrap{border:1px solid #d8d4c9;border-radius:9px;max-width:100%;margin-top:14px;overflow-x:auto}.structure-review-table{border-collapse:collapse;width:100%;min-width:760px;font-size:12px}.structure-review-table th,.structure-review-table td{vertical-align:top;text-align:left;border-bottom:1px solid #e5e1d8;padding:9px 10px}.structure-review-table thead th{color:#52635c;white-space:nowrap;background:#f8f6ef;font-size:11px}.structure-review-table tbody th{color:#34433d;min-width:130px}.structure-review-table td{white-space:pre-wrap;overflow-wrap:anywhere;max-width:220px}.structure-review>p{margin:14px 0 0;line-height:1.6}.structure-subtree-note{color:#69736f;margin:12px 0 0;font-size:13px}.structure-editor-message,.structure-state-message,.structure-protected-message{color:#5f4b2c;background:#fff8e8;border:1px solid #d8c49e;border-radius:9px;margin:12px 0 0;padding:11px 13px;line-height:1.6}.structure-state-message h3{margin:0 0 5px;font-size:15px}.structure-state-message p{margin:0 0 10px}.setting-empty-selection{color:#68736e;text-align:center;place-content:center;min-height:460px;display:grid}.setting-empty-selection h2{margin-bottom:10px}.selected-setting>header{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.selected-setting h2{margin:7px 0 12px;font-size:clamp(23px,3vw,32px)}.setting-item-description{color:#5d6863;margin-bottom:18px;line-height:1.7}.selected-setting .editor-card{background:0 0;border:0;padding:0}.selected-setting .editor-card textarea{min-height:430px}.account-page .page-introduction{max-width:720px}.ai-connection-steps{gap:20px;margin:26px 0 0;padding:0;list-style:none;display:grid}.ai-connection-steps .account-settings-card{margin-top:0}.ai-connection-steps .account-settings-card>header{align-items:flex-start;gap:14px;display:flex}.ai-connection-step-number{color:#fff;background:#42634f;border-radius:50%;flex:0 0 32px;place-items:center;width:32px;height:32px;font-size:.9rem;font-weight:800;display:grid}.ai-connection-shot{max-width:32rem;margin:20px 0 0}.ai-connection-shot img{border:1px solid #d5ded7;border-radius:8px;width:100%;height:auto;display:block}.ai-connection-shot figcaption{color:#5e6d63;margin-top:6px;font-size:.85rem}.ai-surface-options{border:0;gap:10px;margin:24px 0 0;padding:0;display:grid}.ai-surface-options legend{color:#34433d;margin-bottom:8px;font-weight:700}.ai-surface-options label{cursor:pointer;background:#fffefa;border:1px solid #d8d4c8;border-radius:12px;align-items:flex-start;gap:12px;padding:15px 16px;display:flex}.ai-surface-options label:has(input:checked){background:#edf4ee;border-color:#42634f}.ai-surface-options input{accent-color:#42634f;width:18px;height:18px;margin-top:3px}.ai-surface-options strong,.ai-surface-options small{display:block}.ai-surface-options small{color:#68736e;margin-top:4px;line-height:1.55}.connector-url-box{background:#f7faf7;border:1px solid #c8d4cd;border-radius:12px;margin-top:22px;padding:16px 18px}.connector-url-box>span{color:#52635c;margin-bottom:8px;font-size:.82rem;font-weight:700;display:block}.connector-url-box>div{align-items:center;gap:12px;display:flex}.connector-url-box code{overflow-wrap:anywhere;color:#263c34;flex:1;min-width:0}.connector-url-box button{cursor:pointer;flex:none}.connector-copy-state{color:#52635c;min-height:1.4em;margin:8px 0 0;font-size:.82rem}.ai-connection-actions{flex-wrap:wrap;gap:12px;margin-top:16px;display:flex}.connector-setup-boundary{color:#5f4b2c;background:#fff8e8;border:1px solid #d8c49e;border-radius:12px;margin-top:20px;padding:14px 16px}.connector-setup-boundary p,.skill-distribution-note{margin:6px 0 0;line-height:1.65}.skill-distribution-note{color:#68736e;font-size:.88rem}.connector-permission-summary{color:#455850;gap:8px;margin:20px 0;padding-left:22px;line-height:1.6;display:grid}.ai-connection-back-link{margin:22px 0 0}@media (width<=620px){.connector-url-box>div,.account-link-card{flex-direction:column;align-items:stretch}}.connector-consent-page{place-items:center;min-height:100vh;padding:clamp(20px,5vw,64px);display:grid}.connector-consent-card{background:#fffffceb;border:1px solid #d8d4c8;border-radius:18px;width:min(720px,100%);padding:clamp(24px,5vw,48px);box-shadow:0 18px 50px #2935301a}.connector-consent-card h1{margin:8px 0 12px;font-size:clamp(26px,5vw,38px)}.connector-consent-options{border:0;gap:9px;margin:26px 0 0;padding:0;display:grid}.connector-consent-options legend{color:#34433d;margin-bottom:4px;font-weight:750}.connector-consent-options label{background:#fffefa;border:1px solid #ded9cd;border-radius:10px;align-items:flex-start;gap:11px;min-height:46px;padding:11px 13px;line-height:1.55;display:flex}.connector-consent-options input{accent-color:#42634f;width:18px;height:18px;margin-top:3px}.connector-consent-boundary{color:#3f5149;background:#edf4ee;border:1px solid #b9cbbf;border-radius:12px;margin-top:26px;padding:16px 18px}.connector-consent-boundary p,.connector-consent-expiry{margin:7px 0 0;line-height:1.7}.connector-consent-expiry{color:#68736e;font-size:.88rem}.connector-consent-actions{justify-content:flex-end;gap:12px;margin-top:28px;display:flex}.connector-consent-actions button{cursor:pointer}.connector-consent-actions button:disabled{cursor:wait;opacity:.62}.connector-grant-list{gap:12px;margin:20px 0 0;padding:0;list-style:none;display:grid}.connector-grant-list li,.connector-grant-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.connector-grant-list li{background:#fffefa;border:1px solid #ded9cd;border-radius:12px;padding:16px 18px}.connector-grant-list li>div{min-width:0}.connector-grant-list p{color:#68736e;margin:5px 0 0;font-size:.85rem}.connector-grant-heading{justify-content:flex-start}.connector-grant-heading span{color:#376146;background:#e4efe6;border-radius:999px;padding:3px 8px;font-size:.75rem;font-weight:700}.connector-grant-heading span[data-status=revoked],.connector-grant-heading span[data-status=expired]{color:#68736e;background:#eceae4}.account-settings-card,.account-link-card{background:#fffffcc7;border:1px solid #d8d4c8;border-radius:16px;margin-top:20px;padding:clamp(22px,4vw,36px)}.account-settings-card>header h2,.account-link-card h2{margin-bottom:8px;font-size:24px}.account-settings-card>header p,.account-link-card p{color:#5d6863;max-width:700px;line-height:1.7}.appearance-choice-group{border:0;margin:24px 0 0;padding:0}.appearance-choice-group legend{color:#34433d;margin-bottom:10px;font-weight:700}.appearance-choice-group>div{flex-wrap:wrap;gap:10px;display:flex}.appearance-choice-group label{color:#40534b;cursor:pointer;background:#fffefa;border:1px solid #d8d4c8;border-radius:10px;align-items:center;gap:8px;min-height:42px;padding:8px 13px;display:flex}.appearance-choice-group label:has(input:checked){color:#243c35;background:#dfe8df;border-color:#42634f;font-weight:700}.appearance-choice-group input{accent-color:#42634f}.appearance-save-state{color:#52635c;margin:24px 0 0;font-size:13px}.account-link-card{justify-content:space-between;align-items:center;gap:24px;display:flex}.account-link-card p{margin-bottom:0}.style-settings-link{align-items:baseline;gap:12px;margin:18px 0;display:flex}.style-settings-link span{color:#68736e;font-size:.82rem}.style-assets-page{max-width:820px;margin:0 auto;padding:clamp(24px,5vw,48px)}.style-assets-page>p{color:#5d6863;max-width:680px;line-height:1.75}.style-assets-page form,.style-proposal-review,.style-decision-result{background:#fffffcc7;border:1px solid #d8d4c8;border-radius:16px;gap:16px;margin:24px 0;padding:clamp(20px,4vw,32px);display:grid}.style-current-grid{grid-template-columns:repeat(auto-fit,minmax(17rem,1fr));gap:1rem;margin:1.5rem 0 2rem;display:grid}.style-current-card{border:1px solid var(--border-subtle,#d8d5cf);background:var(--surface-raised,#fff);border-radius:.75rem;padding:1rem}.style-current-card h2,.style-current-card h3{margin-top:0}.style-active-label{font-weight:700}.style-pending-summary,.style-binding-detail{justify-content:space-between;align-items:center;gap:.75rem;margin:.75rem 0;display:flex}.style-current-card details{margin-top:1rem}.style-current-card details>summary{cursor:pointer;font-weight:600}.style-history-list{padding-left:1.25rem}.style-notice{border-left:.25rem solid var(--accent,#5b4b9a);padding:.5rem .75rem}.style-assets-page fieldset{border:0;flex-wrap:wrap;gap:18px;padding:0;display:flex}.style-assets-page fieldset legend,.style-assets-page>form>label{color:#34433d;margin-bottom:6px;font-weight:700}.style-assets-page fieldset label{align-items:center;gap:7px;display:flex}.style-assets-page select,.style-assets-page textarea{width:100%;color:inherit;font:inherit;background:#fffefa;border:1px solid #c9c4b8;border-radius:10px;padding:12px}.style-assets-page textarea{resize:vertical;line-height:1.7}.style-proposal-review pre{white-space:pre-wrap;background:#f7f5ee;border:1px solid #d8d4c8;border-radius:10px;padding:18px;font-family:inherit;line-height:1.7;overflow:auto}.style-proposal-actions{flex-wrap:wrap;gap:12px;display:flex}.proposal-review-page{max-width:1100px;margin:0 auto;padding:clamp(24px,5vw,48px)}.proposal-review-meta{border:1px solid var(--border-subtle,#d8d4c8);background:var(--border-subtle,#d8d4c8);border-radius:12px;grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));gap:1px;margin:24px 0;display:grid;overflow:hidden}.proposal-review-meta div{background:var(--surface-raised,#fff);padding:14px 16px}.proposal-review-meta dt{color:var(--text-muted,#68736e);font-size:.78rem}.proposal-review-meta dd{margin:5px 0 0;font-weight:700}.proposal-comparison{grid-template-columns:repeat(auto-fit,minmax(min(100%,23rem),1fr));gap:18px;display:grid}.proposal-comparison section,.proposal-review-actions{border:1px solid var(--border-subtle,#d8d4c8);background:var(--surface-raised,#fffffcc7);border-radius:16px;min-width:0;padding:clamp(18px,3vw,28px)}.proposal-comparison h2{margin-top:0}.proposal-comparison pre{border:1px solid var(--border-subtle,#d8d4c8);background:var(--surface-subtle,#f7f5ee);max-height:60vh;font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;border-radius:10px;padding:18px;line-height:1.8;overflow:auto}.saved-text-comparison{min-width:0}.saved-text-comparison .history-comparison{grid-template-columns:repeat(auto-fit,minmax(min(100%,23rem),1fr))}.saved-text-comparison>[hidden]{display:none}.saved-text-comparison button{min-height:44px;margin-top:8px}.saved-text-comparison-full{width:100%;min-width:0;max-width:90ch;margin-inline:auto}.saved-text-comparison-full header{flex-wrap:wrap;align-items:center;gap:8px 18px;display:flex}.saved-text-comparison-full :is(h2,h3){margin:0}.saved-text-comparison-full pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:var(--manuscript-font-family);font-size:var(--manuscript-text-size);margin:0;padding-block:12px;line-height:1.85}.proposal-review-actions{flex-wrap:wrap;align-items:center;gap:14px;margin-top:20px;display:flex}.proposal-review-actions p{color:var(--text-muted,#5d6863);flex:24rem;margin:0}.material-set-review-page{gap:20px;max-width:1100px;margin:0 auto;padding:clamp(24px,5vw,48px);display:grid}.material-set-summary{border:1px solid var(--border-subtle,#d8d4c8);background:var(--border-subtle,#d8d4c8);border-radius:12px;grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));gap:1px;margin:0;display:grid;overflow:hidden}.material-set-summary div{background:var(--surface-raised,#fff);padding:14px 16px}.material-set-summary dt{color:var(--text-muted,#5d6863);font-size:.78rem;font-weight:700}.material-set-summary dd{margin:5px 0 0;font-weight:700}.material-set-items{gap:16px;margin:0;padding:0;list-style:none;display:grid}.material-set-items>li{border:1px solid var(--border-subtle,#d8d4c8);background:var(--surface-raised,#fff);border-radius:16px;overflow:hidden}.material-set-items header{border-bottom:1px solid var(--border-subtle,#d8d4c8);align-items:flex-start;gap:12px;padding:16px;display:flex}.material-set-items header>span{background:var(--surface-subtle,#f7f5ee);width:2rem;height:2rem;color:var(--text,#202522);border-radius:999px;flex:none;place-items:center;font-weight:800;display:grid}.material-set-items h2,.material-set-items header p{margin:0}.material-set-items header p{color:var(--text-muted,#5d6863);margin-top:4px}.material-set-items pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:32rem;color:var(--text,#202522);font:inherit;margin:0;padding:18px;line-height:1.8;overflow:auto}.material-set-actions{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.material-set-actions p{color:var(--text-muted,#5d6863);margin:0}.material-set-confirmation{background:#f8fbf6;border:1px solid #b9c6b8;border-radius:14px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px 24px;padding:18px;display:grid}.material-set-confirmation h2,.material-set-confirmation p,.material-set-confirmed-note{margin:0}.material-set-confirmation p{color:var(--text-muted,#5d6863);margin-top:6px;line-height:1.7}.material-set-confirmation .change-warning{color:#6d2b1b;grid-column:1/-1}.material-set-confirmed-note{color:#28493e;background:#edf4ef;border-left:4px solid #426c5b;padding:14px 16px;font-weight:700}.material-set-confirmed-note>p{margin:0}.episode-design-start{justify-items:start;gap:8px;display:grid}.episode-workflow-state .episode-design-start{justify-items:end}.episode-design-ready{gap:10px;display:grid}.material-candidate-state{color:#28493e;background:#edf4ef;border:1px solid #b8c7bd;border-radius:999px;justify-self:start;margin:0;padding:6px 12px;font-size:.86rem;font-weight:800}.material-candidate-state:is(.is-limit,.is-stale,.is-error){color:#6d2b1b;background:#fff4ef;border-color:#d7b8aa}.material-candidate-problem{background:#fff8f4;border:1px solid #d7b8aa;border-radius:14px;padding:18px}.material-candidate-problem h2,.material-candidate-problem p,.material-criteria h2,.material-candidate-group h2,.material-ncd-group h2,.material-manual-add h2,.material-selection-summary h2{margin:0}.material-candidate-problem p,.material-candidate-group .section-heading p,.material-ncd-group p,.material-manual-add>div>p,.material-selection-summary p{color:var(--text-muted,#5d6863);margin:6px 0 0;line-height:1.7}.material-candidate-problem .secondary-action{margin-top:12px}.material-criteria,.material-ncd-group,.material-manual-add,.material-selection-summary,.material-candidate-start-form{border:1px solid var(--border-subtle,#d8d4c8);background:var(--surface-raised,#fff);border-radius:14px;padding:18px}.material-criteria dl{gap:0;margin:14px 0 0;display:grid}.material-criteria dl>div{border-top:1px solid var(--border-subtle,#d8d4c8);grid-template-columns:minmax(8rem,.26fr) minmax(0,1fr);gap:16px;padding:12px 0;display:grid}.material-criteria dt{font-weight:800}.material-criteria dd,.material-criteria ul{margin:0}.material-candidate-list{gap:14px;margin:16px 0 0;padding:0;list-style:none;display:grid}.material-candidate-list article{border:1px solid var(--border-subtle,#d8d4c8);background:var(--surface-raised,#fff);border-radius:16px;padding:18px}.material-candidate-list header h3,.material-candidate-list header p{margin:0}.material-candidate-list header h3{margin-top:3px;font-size:1.08rem}.material-candidate-list header p:last-child{color:var(--text-muted,#5d6863);margin-top:4px}.material-candidate-origin{color:#426c5b;font-size:.76rem;font-weight:800}.material-candidate-list blockquote{background:var(--surface-subtle,#f7f5ee);white-space:pre-wrap;overflow-wrap:anywhere;border-left:4px solid #a8b9ae;margin:14px 0;padding:12px 14px;line-height:1.7}.material-candidate-reason{margin:0}.material-candidate-reason div{grid-template-columns:max-content minmax(0,1fr);gap:10px;display:grid}.material-candidate-reason dt{font-weight:800}.material-candidate-reason dd{margin:0}.material-candidate-list fieldset{border:1px solid var(--border-subtle,#d8d4c8);border-radius:10px;flex-wrap:wrap;align-items:center;gap:10px 18px;margin:16px 0 0;padding:12px 14px;display:flex}.material-candidate-list legend{padding:0 5px;font-weight:800}.material-candidate-list fieldset label{align-items:center;gap:7px;font-weight:700;display:inline-flex}.material-candidate-list fieldset p{color:var(--text-muted,#5d6863);flex-basis:100%;margin:0}.material-candidate-removal-note{color:#6d2b1b;margin:12px 0 0;font-weight:800}.material-ncd-group{border-style:dashed}.material-manual-add{gap:16px;display:grid}.material-manual-add .canon-search-panel{background:0 0;border:0;padding:0}.material-selection-summary{z-index:2;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px 20px;display:grid;position:sticky;bottom:12px;box-shadow:0 10px 30px #2025221f}.material-selection-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.material-selection-summary>:is([role=status],[role=alert]){grid-column:1/-1}.material-candidate-start-form{gap:8px;display:grid}.material-candidate-start-form label{margin-top:8px;font-weight:800}.material-candidate-start-form textarea{box-sizing:border-box;resize:vertical;width:100%}.material-candidate-start-form>p{color:var(--text-muted,#5d6863);margin:0 0 8px;font-size:.88rem}.research-work-preparation{background:var(--surface-subtle,#f7f8f3);border:1px solid #c9d8ce;border-radius:18px;gap:18px;margin-bottom:24px;padding:22px;display:grid}.research-work-preparation>header h2,.research-work-preparation>header p{margin:0}.research-work-preparation>header h2{margin-top:4px}.research-work-preparation>header p{max-width:70ch;color:var(--text-muted,#5d6863);margin-top:8px}.research-idle-content,.research-form,.episode-quality-input,.episode-quality-fields,.research-preview,.research-task-context,.research-source-context,.research-source-detail{gap:14px;display:grid}.research-entry-actions,.research-form-actions,.episode-quality-input-actions,.research-task-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.research-form h3,.research-preview h3,.research-task-context h3,.research-source-context h3,.research-source-detail h3{margin:0}.research-form label,.episode-quality-fields label{gap:7px;font-weight:800;display:grid}.research-form textarea,.research-form input:not([type=file]),.research-form select,.episode-quality-fields textarea,.episode-quality-fields input:not([type=checkbox]),.episode-quality-fields select{box-sizing:border-box;border:1px solid var(--border,#c9d0c9);background:var(--surface-raised,#fff);width:100%;color:inherit;font:inherit;border-radius:9px;padding:10px 12px}.research-form textarea,.episode-quality-fields textarea{resize:vertical;line-height:1.6}.episode-quality-fields{border:1px solid var(--border,#c9d0c9);border-radius:9px;min-width:0;margin:0;padding:14px}.episode-quality-fields details[open],.episode-quality-fields li{gap:14px;display:grid}.episode-quality-fields label.episode-quality-checkbox{align-items:center;gap:8px;display:flex}.episode-quality-fields :is(p,li){overflow-wrap:anywhere}.research-form input[type=file]{max-width:100%;font:inherit}.research-target{background:var(--surface-raised,#fff);border-left:4px solid #7d9e8b;gap:3px;padding:12px 14px;display:grid}.research-target span{font-weight:800}.research-target small,.research-muted,.research-source-context-heading span,.research-task-context-heading span,.research-task-card-heading span:last-child{color:var(--text-muted,#5d6863)}.research-preview,.research-task-card,.research-source-detail{border:1px solid var(--border-subtle,#d8d4c8);background:var(--surface-raised,#fff);border-radius:14px;padding:16px}.research-preview-item{border-top:1px solid var(--border-subtle,#d8d4c8);padding-top:10px}.research-preview-item p,.research-preview-item ul,.research-task-card p,.research-task-card h4{margin:6px 0 0}.research-preview-item ul,.research-decision-list ul{padding-left:1.25rem}.research-task-card-heading,.research-task-context-heading,.research-source-context-heading,.research-source-detail-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.research-task-context-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.research-task-card-heading{color:var(--text-muted,#5d6863);font-size:.88rem}.research-task-card h3,.research-task-card h4,.research-source-detail h4{overflow-wrap:anywhere}.research-task-detail-card{gap:12px;display:grid}.research-readonly-body{border:1px solid var(--border-subtle,#d8d4c8);background:var(--surface-subtle,#f7f5ee);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:9px;max-height:18rem;padding:12px 14px;line-height:1.7;overflow:auto}.research-source-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.research-source-list button{border:1px solid var(--border-subtle,#d8d4c8);background:var(--surface-raised,#fff);width:100%;color:inherit;text-align:left;cursor:pointer;font:inherit;border-radius:9px;gap:3px;padding:11px 13px;display:grid}.research-source-list button:hover,.research-source-list button:focus-visible{background:#edf4ee;border-color:#789a87}.research-source-list small{color:var(--text-muted,#5d6863)}.research-source-detail{border-color:#b8cdbd}.research-source-detail article{gap:12px;display:grid}.research-source-detail h4{margin:0;font-size:1.08rem}.research-url-list{overflow-wrap:anywhere;gap:5px;margin:0;padding-left:1.25rem;display:grid}.research-warning{color:#71520b;background:#fff5d9;border-radius:8px;margin:0;padding:9px 12px;font-size:.9rem}.research-error{color:#7b2d1b;background:#fff0eb;border-radius:8px;margin:0;padding:10px 12px}.research-success,.research-canon-note{color:#35694d;margin:0;font-weight:800}.research-canon-note{border-top:1px solid var(--border-subtle,#d8d4c8);padding-top:8px}@media (width<=680px){.setting-sync-overview{grid-template-columns:1fr}.setting-sync-counts,.setting-sync-case-counts{flex-wrap:wrap}.setting-sync-case>header,.setting-sync-candidate>header,.recent-setting-sync .section-heading{flex-direction:column}.material-set-confirmation,.material-selection-summary,.material-criteria dl>div{grid-template-columns:1fr}.material-selection-summary{position:static}.material-selection-actions{flex-direction:column;align-items:stretch}.research-work-preparation{padding:16px}.research-entry-actions,.research-form-actions,.research-task-actions{flex-direction:column;align-items:stretch}.research-entry-actions>button,.research-form-actions>button,.research-task-actions>button{width:100%}}.import-preview-text{border:1px solid var(--border,#d6d2c8);background:var(--surface-subtle,#f7f5ef);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:.6rem;max-height:18rem;padding:1rem;overflow:auto}.recipes-page,.project-recipe-page{max-width:960px;margin:0 auto;padding:clamp(24px,5vw,48px)}.recipes-page>p,.project-recipe-page>p{color:#5d6863;max-width:680px;line-height:1.75}.recipe-editor,.recipe-archive-confirm,.recipe-current,.recipe-card,.recipe-choice{border:1px solid var(--border-subtle,#d8d5cf);background:var(--surface-raised,#fff);border-radius:.75rem;gap:12px;margin:16px 0;padding:clamp(16px,3vw,24px);display:grid}.recipe-list,.recipe-choices ul{padding:0;list-style:none}.recipe-card h2,.recipe-choice h3{margin:0}.recipe-create-actions,.recipe-card-actions,.recipe-editor-actions,.recipe-recovery-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.recipe-grid-wrap{max-width:100%;overflow-x:auto}.recipe-grid{border-collapse:collapse;min-width:640px;font-size:.9rem}.recipe-grid caption{text-align:left;padding-bottom:.5rem;font-weight:600}.recipe-grid th,.recipe-grid td{border:1px solid var(--border-subtle,#d8d5cf);text-align:center;vertical-align:top;padding:.4rem .5rem}.recipe-grid th[scope=row]{text-align:left;white-space:nowrap}.recipe-cell-toggle{align-items:center;gap:.25rem;display:inline-flex}.recipe-cell-standard{color:#68736e;font-size:.75rem;display:block}.recipe-cell-locked{color:#68736e;background:#00000008}.recipe-lock-reason,.recipe-limit-note{color:#5d6863;font-size:.85rem}.recipe-notice{border-left:.25rem solid var(--accent,#5b4b9a);padding:.5rem .75rem}:root[data-resolved-theme=dark]{color:#e8e5dd;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#171b19}:root[data-resolved-theme=dark] body{background:radial-gradient(circle at 82% 8%,#34493e59,#0000 28rem),#171b19}:root[data-resolved-theme=dark] :is(h1,h2,h3,strong,label,legend){color:#f2eee5}:root[data-resolved-theme=dark] p{color:#b8c0bb}:root[data-resolved-theme=dark] .global-header{color:#f5f1e8;background:#14231e}:root[data-resolved-theme=dark] .status-band{color:#bdc7c1;background:#1f2522f5;border-color:#48514b}:root[data-resolved-theme=dark] .status-band strong{color:#f2eee5}:root[data-resolved-theme=dark] .status-band a{color:#f2b79e}:root[data-resolved-theme=dark] .project-rail{background:#1f2522f5;border-color:#48514b}:root[data-resolved-theme=dark] :is(.rail-toggle,.rail-link,.rail-index){color:#bdc7c1}:root[data-resolved-theme=dark] .project-switcher select{color:#f2eee5;background:#242a27;border-color:#56615a}:root[data-resolved-theme=dark] :is(.session-gate .gate-brand,.eyebrow,.summary-label,.canon-history-card time,.muted-state,.stage-strip>li,.catalog-item-meta,.focus-mode-control span,.editor-card footer,.preview-placeholder,.appearance-save-state,.trash-project-list span,.export-profile-list small,.canon-search-panel>div>p,.canon-search-form label,.canon-search-result-heading>span,.canon-search-excerpt){color:#b8c0bb}:root[data-resolved-theme=dark] :is(.rail-toggle:hover,.rail-link:hover){background:#323a35}:root[data-resolved-theme=dark] .rail-link.active{color:#f1f6f2;background:#31483b}:root[data-resolved-theme=dark] .project-management summary{color:#d6ded9}:root[data-resolved-theme=dark] :is(.hero-panel,.summary-card,.editor-card,.project-card,.project-management,.trash-project-list li,.readonly-canon-source,.readonly-source-error,.canon-history-card,.history-empty,.stage-strip,.setting-workspace,.export-form-card,.account-settings-card,.account-link-card,.indexion-cancel-card){background:#252b27f5;border-color:#48514b}:root[data-resolved-theme=dark] :is(.editor-card textarea,.history-comparison pre,.readonly-canon-source pre,.working-comparison pre,.manuscript-search input,.canon-search-form input,.export-line-ending select,.appearance-choice-group label){color:#e8e5dd;background:#1d221f;border-color:#525b55}:root[data-resolved-theme=dark] :is(.setting-tree-panel,.manuscript-search,.canon-search-panel){background:#202623;border-color:#48514b}:root[data-resolved-theme=dark] :is(.catalog-filter button,.catalog-more,.manuscript-preview-options button,.canon-search-results button){color:#c1c8c4;background:#252b27;border-color:#525b55}:root[data-resolved-theme=dark] .canon-search-results button:hover,:root[data-resolved-theme=dark] .canon-search-results button:focus-visible{background:#314038;border-color:#71907d}:root[data-resolved-theme=dark] :is(.catalog-tree button:hover,.management-empty){background:#323a35}:root[data-resolved-theme=dark] .catalog-tree button{color:#d7ddd9}:root[data-resolved-theme=dark] :is(.catalog-tree button[aria-pressed=true],.appearance-choice-group label:has(input:checked)){color:#f1f6f2;background:#31483b;border-color:#71907d}:root[data-resolved-theme=dark] .vertical-manuscript-preview{color:#ece8de;background-color:#202522;border-color:#525b55}:root[data-resolved-theme=dark] .app-shell[data-writing-focus-mode=true] .focus-mode-control{background:#171b19}:root[data-resolved-theme=dark] :is(.readonly-notice,.trash-badge){color:#c3c7c4;background:#2c322f;border-color:#59615c}:root[data-resolved-theme=dark] :is(.history-warnings,.working-badge){color:#f0dca8;background:#3d3421;border-color:#806b3d}:root[data-resolved-theme=dark] .working-conflict{color:#ffd8c7;background:#442a21;border-color:#a9684f}:root[data-resolved-theme=dark] .working-conflict p{color:#ffd8c7}:root[data-resolved-theme=dark] .stage-strip .complete{color:#c3dfcc;background:#294033}:root[data-resolved-theme=dark] .stage-strip .current{color:#f3c1aa;background:#472f26}:root[data-resolved-theme=dark] .secondary-action{color:#f2b79e;background:#2e2420;border-color:#916450}:root[data-resolved-theme=dark] .connector-consent-card,:root[data-resolved-theme=dark] .connector-consent-options label{color:#e8ece9;background:#242b28;border-color:#4a554f}:root[data-resolved-theme=dark] .connector-consent-options legend{color:#e8ece9}:root[data-resolved-theme=dark] .connector-consent-boundary{color:#d7e5dc;background:#25372d;border-color:#506b5b}:root[data-resolved-theme=dark] .connector-grant-list li{background:#242b28;border-color:#4a554f}:root[data-resolved-theme=dark] .connector-grant-heading span{color:#c8e3d1;background:#2b4434}:root[data-resolved-theme=dark] .activity-log{color:#e6ebe7;background:#202623fa;border-color:#4a554f}:root[data-resolved-theme=dark] :is(.activity-log p,.activity-log-list li span,.activity-log-list time){color:#b8c0bb}:root[data-resolved-theme=dark] .activity-log button,:root[data-resolved-theme=dark] .activity-log-list li{color:#e6ebe7;background:#252b28;border-color:#4a554f}:root[data-resolved-theme=dark] .activity-phase[data-tone=running]{color:#f0dca8;background:#3d3421}:root[data-resolved-theme=dark] .activity-phase[data-tone=complete]{color:#c8e3d1;background:#2b4434}:root[data-resolved-theme=dark] .activity-phase[data-tone=stopped]{color:#ffd8c7;background:#442a21}:root[data-resolved-theme=dark] .quiet-danger-action{color:#e5b39d}:root[data-resolved-theme=dark] .quiet-danger-action:hover{background:#352722;border-color:#755244}:root[data-resolved-theme=dark] .readonly-link{color:#c7ddd2;background:#202a25;border-color:#61776c}:root[data-resolved-theme=dark] .stage-input-materials article{background:#252b27;border-color:#4a554f}:root[data-resolved-theme=dark] .stage-input-content{color:#e8e5dd}:root[data-resolved-theme=dark] .stage-input-disclosure{color:#e8d9aa;background:#36301f}:root[data-resolved-theme=dark] .research-work-preparation{background:#202923;border-color:#4b6655}:root[data-resolved-theme=dark] :is(.research-preview,.research-task-card,.research-source-detail,.research-target,.research-source-list button){background:#252d28;border-color:#4a5a4d}:root[data-resolved-theme=dark] :is(.research-form textarea,.research-form input:not([type=file]),.research-form select,.research-readonly-body,.episode-quality-fields textarea,.episode-quality-fields input:not([type=checkbox]),.episode-quality-fields select){color:#e8ece9;background:#1d2420;border-color:#4b5b50}:root[data-resolved-theme=dark] .research-source-list button:hover,:root[data-resolved-theme=dark] .research-source-list button:focus-visible{background:#2d4435;border-color:#71907d}:root[data-resolved-theme=dark] .research-warning{color:#f0dca8;background:#3d3421}:root[data-resolved-theme=dark] .research-error{color:#ffd8c7;background:#442a21}:root[data-resolved-theme=dark] :is(.research-success,.research-canon-note){color:#c8e3d1}:root[data-resolved-theme=dark] .structure-editor-layout{background:#252b28}.empty-page{text-align:center;padding-top:12vh}.empty-page h1{margin-top:12px}.empty-page p{margin-bottom:24px;margin-left:auto;margin-right:auto}#workspace-navigation[hidden]{display:none}.main-workspace{padding:clamp(12px,1.5vw,24px)}.status-details{white-space:normal;background:0 0;border-bottom:0;gap:.5rem;padding:.75rem 0;display:grid;overflow:visible}:is(.working-badge,.trash-badge){align-self:flex-start;width:fit-content;max-width:100%}.readonly-canon-source{background:0 0;border:0;border-radius:0;min-width:0;margin-block:.75rem;padding:0}.readonly-canon-source>header{flex-wrap:wrap;gap:.5rem 1rem}.readonly-canon-source pre{background:0 0;border:0;min-height:0;max-height:none;padding:0;overflow:visible}.reading-record-details{margin-block:.75rem}.reading-record-details>summary,.structure-more-actions>summary{cursor:pointer;align-items:center;gap:.5rem;min-height:44px;display:flex}.reading-record-details>summary:before,.structure-more-actions>summary:before{content:"+"}.reading-record-details[open]>summary:before,.structure-more-actions[open]>summary:before{content:"−"}.structure-secondary-actions{flex-wrap:wrap;gap:.5rem;padding-block:.75rem;display:flex}.structure-secondary-actions .structure-subtree-note{flex-basis:100%;margin:0}.saved-text-change-actions{margin-block:.75rem}.saved-text-change-actions[hidden]{display:none}.saved-text-comparison-full>header{z-index:1;background:var(--reading-surface,#faf9f4);padding-block:.5rem;position:sticky;top:0}.main-workspace>:is(.recipes-page,.project-recipe-page,.style-assets-page,.proposal-review-page,.episode-quality-review-page,.material-set-review-page){width:100%;min-width:0;max-width:none;margin-inline:0;padding:0}.recipe-editor,.recipe-archive-confirm,.recipe-current,.recipe-card,.recipe-choice,.recipe-grid-wrap,.style-current-card{min-width:0}.style-current-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr))}.style-current-card pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%;font:inherit;line-height:1.75}.recipe-grid{width:100%}@media (width<=860px){.global-header .header-project-context{display:none}.global-header .brand{white-space:nowrap;flex-shrink:0}.app-shell,.app-shell[data-navigation-expanded=false]{grid-template:"header"58px"status""main"minmax(0,1fr)/minmax(0,1fr);height:100dvh;min-height:100dvh}.status-band{white-space:normal;flex-wrap:wrap;align-content:center;gap:4px 16px;min-height:38px;padding:6px 14px;overflow:visible}.status-band>span{overflow-wrap:anywhere;max-width:100%}.project-rail{z-index:3;height:100%;max-height:none;padding:12px 14px max(12px, env(safe-area-inset-bottom));background:#faf9f4;border-right:0;grid-area:main;overflow-y:auto}.app-shell[data-compact-menu-open=true]>.main-workspace{visibility:hidden}.compact-menu-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.compact-menu-heading button{min-height:44px}.project-rail .rail-link span:last-child{overflow-wrap:anywhere;display:inline}#workspace-navigation .global-navigation,#workspace-navigation .project-navigation{flex-wrap:wrap;gap:8px;display:flex}#workspace-navigation .rail-section-label{flex-basis:100%}#workspace-navigation .rail-link{white-space:normal;min-height:44px}.main-workspace{min-width:0;min-height:0}.hero-panel,.workspace-heading{flex-direction:column;align-items:stretch}.hero-actions{min-width:0}.home-grid,.indexion-status-grid,.editor-layout,.setting-workspace,.history-comparison{grid-template-columns:1fr}.project-card,.trash-project-list li,.episode-workflow>li,.setting-sync-summary,.recent-change-list>li,.activity-log-list>li,.account-link-card,.connector-grant-list li,.episode-quality-overview,.episode-quality-adoption{flex-direction:column;align-items:stretch}.project-card-actions{flex-wrap:wrap;justify-content:flex-start}.episode-workflow-state{justify-items:start;min-width:0}.project-copy-form{grid-template-columns:1fr}.project-start .section-heading{flex-direction:column;align-items:stretch}.setting-tree-panel{border-bottom:1px solid #d8d4c8;border-right:0;max-height:320px}.structure-working-header,.structure-selected-item>header,.structure-review>header{flex-direction:column;align-items:stretch}.stage-strip{grid-template-columns:1fr}.stage-strip>li{border-bottom:1px solid #e3dfd6;border-right:0}.stage-strip>li:last-child{border-bottom:0}}@media (width<=600px){.main-workspace{padding:12px}.editor-card{background:0 0;border:0;padding:0}.editor-card textarea,.setting-editor-panel,.structure-working-main,.episode-quality-overview,.episode-quality-adoption,.episode-quality-empty,.episode-quality-finding-header,.episode-quality-finding-body,.episode-quality-finding-actions{padding:12px}.episode-quality-quote blockquote,.episode-quality-repair{padding:10px 12px}.episode-quality-repair pre{background:0 0;border:0;padding:8px 0}.canon-history-card,.proposal-comparison section,.proposal-review-actions,.proposal-comparison pre,.saved-text-comparison .history-comparison pre{padding:12px}.style-assets-page form,.style-proposal-review,.style-decision-result{min-width:0;padding:12px}.style-pending-summary,.style-binding-detail{flex-wrap:wrap;align-items:stretch}}@media (forced-colors:active){:is(.rail-link.active,.stage-strip .current,.manuscript-preview-options button[aria-pressed=true],.catalog-filter button[aria-pressed=true],.catalog-tree button[aria-pressed=true],.appearance-choice-group label:has(input:checked)){outline-offset:-2px;outline:2px solid highlight}.stage-status{border-color:currentColor}}@media (prefers-reduced-motion:reduce){.app-shell{transition:none}}
