.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}.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-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}}.confirmation-back-link{align-items:center;min-height:44px;margin-bottom:8px;display:inline-flex}.proposal-review-page details .primary-action{color:var(--secondary-text);border-color:var(--secondary-border);background:var(--secondary-bg)}.confirmation-comparison-switch{display:none}.confirmation .material-recovery-actions .secondary-action{min-height:44px}@media (width<=860px){.confirmation>*>.confirmation-back-link{margin-bottom:0}.confirmation .workspace-heading h1{margin:0}.confirmation .episode-quality-review-page{gap:6px}.confirmation .episode-quality-adoption,.confirmation .proposal-review-actions,.confirmation .material-set-confirmation{position:static}.confirmation .confirmation-comparison-switch:not([hidden]){flex-wrap:wrap;gap:8px;display:flex}.confirmation [data-narrow-side="0"]>[data-comparison-index="1"],.confirmation [data-narrow-side="1"]>[data-comparison-index="0"]{display:none}}.storage-boost-control{gap:12px;min-width:0;margin-top:24px;display:grid}.storage-boost-control p,.storage-boost-control h3,.storage-boost-control h4{margin:0}.storage-boost-control p{line-height:1.75}.storage-boost-control button{border:1px solid var(--border);color:var(--text);background:var(--surface);font:inherit;cursor:pointer;border-radius:8px;padding:7px 14px}.storage-boost-control button.primary-action{border-color:var(--primary);color:var(--primary-text);background:var(--primary)}.storage-boost-control button:disabled{cursor:default;opacity:.6}.storage-boost-meta,.storage-boost-actions{flex-wrap:wrap;align-items:center;gap:8px 18px;display:flex}.storage-boost-rows{display:grid}.storage-boost-row{border:0;border-top:1px solid var(--border-subtle);grid-template-columns:minmax(130px,1fr) minmax(0,1.5fr) auto;align-items:center;gap:12px 16px;min-width:0;margin:0;padding:16px 0;display:grid}.storage-boost-name,.storage-boost-pick{gap:4px;min-width:0;display:grid}.storage-boost-muted{color:var(--text-muted);font-variant-numeric:tabular-nums;font-size:.86rem}.storage-boost-active{color:var(--accent);font-weight:600}.storage-boost-stepper{font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:6px;display:flex}.storage-boost-stepper input{border:1px solid var(--border-subtle);width:4em;color:var(--text);background:var(--surface);font:inherit;text-align:center;border-radius:6px;padding:6px 4px}.storage-boost-stepper button{min-width:36px;min-height:36px;padding:4px}.storage-boost-actions{justify-content:flex-end;gap:8px}.storage-boost-actions button{min-height:40px}.storage-boost-row>.storage-boost-actions{max-width:18rem}.storage-boost-confirm{background:var(--notice-bg);border-radius:8px;grid-column:1/-1;gap:8px;padding:12px 14px;display:grid}.storage-boost-confirm .storage-boost-actions{justify-content:flex-start}@media (width<=760px){.storage-boost-row{grid-template-columns:minmax(0,1fr)}.storage-boost-actions{justify-content:flex-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}.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}:root{--border-subtle:#d8d4c8;--text-muted:#5d6863;--surface-raised:#fff;--surface-subtle:#f7f5ee;--border:#d8d4c8;--text:#25302c;--text-strong:#263a33;--accent:#42634f;--surface:#fffefa;--selected:#dfe8df;--reading-surface:#faf9f4;--ground:#f2f0e9;--surface-side:#f8f6ef;--divider:#e1ddd3;--header-bg:#243c35;--header-text:#fdfcf7;--selected-text:#263a33;--hover:#ece9df;--tint:#edf2ed;--tint-bar:#8ba696;--primary:#b85f38;--primary-text:#fff;--secondary-text:#8b492f;--secondary-border:#d4ad9b;--secondary-bg:#fffaf6;--focus-ring:#b85f38;--badge-draft-bg:#f8f0d9;--badge-draft-border:#ddcda9;--badge-draft-text:#725b36;--badge-neutral-bg:#f0eee8;--badge-neutral-border:#c9c4b9;--badge-neutral-text:#5e5b55;--notice-bg:#fff8e8;--notice-border:#d8c49e;--notice-text:#5f4b2c;--conflict-bg:#fff1e9;--conflict-border:#c97455;--conflict-text:#72351f;--clear:transparent;--modal-backdrop:#171b197a;--forced-focus:Highlight;--font-ui:"Yu Gothic UI", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;--font-serif:"Yu Mincho", "Hiragino Mincho ProN", serif;--radius-card:16px;--radius-box:12px;--radius-button:10px;--radius-input:8px;--radius-row:7px;--space-1:2px;--space-2:4px;--space-3:6px;--space-4:8px;--space-5:12px;--space-6:16px;--space-7:24px;--topbar-height:48px;--contents-draw:280px;--side-draw:400px;--pane-min-width:360px;--pane-min-height:200px;--tool-min-width:320px;--splitter-size:6px;--row-height:28px;--row-control-size:22px;--indent-step:16px;--text-column-max:44em;--z-sticky:2;--z-sheet:3;--z-menu:4}:root[data-resolved-theme=dark]{--border-subtle:#48514b;--text-muted:#b8c0bb;--surface-raised:#252b27f5;--surface-subtle:#202623;--border:#48514b;--text:#e8e5dd;--text-strong:#f2eee5;--accent:#42634f;--surface:#1d221f;--selected:#31483b;--reading-surface:#1e2624;--ground:#171b19;--surface-side:#202623;--divider:#48514b;--header-bg:#14231e;--header-text:#f5f1e8;--selected-text:#f1f6f2;--hover:#323a35;--tint:#25372d;--tint-bar:#506b5b;--secondary-text:#f2b79e;--secondary-border:#916450;--secondary-bg:#2e2420;--badge-draft-bg:#3d3421;--badge-draft-border:#806b3d;--badge-draft-text:#f0dca8;--badge-neutral-bg:#2c322f;--badge-neutral-border:#59615c;--badge-neutral-text:#c3c7c4;--notice-bg:#3d3421;--notice-border:#806b3d;--notice-text:#f0dca8;--conflict-bg:#442a21;--conflict-border:#a9684f;--conflict-text:#ffd8c7}@media (prefers-color-scheme:dark){:root:not([data-resolved-theme=light]){--reading-surface:#1e2624}}:root{--manuscript-font-family:"Yu Mincho", "Hiragino Mincho ProN", "MS Mincho", serif;--manuscript-text-size:17px;color:var(--text);background:var(--ground);font-family:var(--font-ui);font-synthesis:none;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;text-rendering:optimizelegibility}: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:3px solid var(--focus-ring);outline-offset:3px}.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""status""notices""main"minmax(0,1fr)/minmax(0,1fr);height:100dvh;min-height:100dvh;display:grid}.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}.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}.main-workspace h1,.main-workspace .eyebrow,.home-recent-project,.trash-project-list strong{overflow-wrap:anywhere}.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,.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);background:var(--surface-raised);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);margin-top:7px;font-size:13px}.episode-quality-counts{border:1px solid var(--border-subtle);background:var(--border-subtle);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);padding:10px}.episode-quality-counts dt{color:var(--text-muted);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);background:var(--surface-raised);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);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);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);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);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);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);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);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);background:var(--surface-raised);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);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);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);font-size:12px;font-weight:800}.setting-sync-case-counts{border-top:1px solid var(--border-subtle);margin-top:14px;padding-top:14px}.setting-sync-candidate-list{margin-top:18px}.setting-sync-candidate{border:1px solid var(--border-subtle);background:var(--surface-subtle);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);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);background:var(--surface-subtle);border-radius:12px;margin-top:18px;padding:18px}.setting-sync-empty p,.setting-sync-no-candidates p{color:var(--text-muted);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);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);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{border-radius:var(--radius-button);min-height:44px;color:var(--primary-text);border:1px solid var(--primary);background:var(--primary);justify-content:center;align-items:center;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;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:18px;padding:14px 16px;display:flex}.trash-project-list .account-settings-card{flex-basis:100%;min-width:0}.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{min-height:40px;color:var(--secondary-text);border:1px solid var(--secondary-border);background:var(--secondary-bg);cursor:pointer;border-radius:9px;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);background:var(--surface-subtle);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);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}.canon-search-passage-results>li>h3{margin:12px 0 8px;font-size:.9rem}.canon-search-document-heading{padding:8px 0}.canon-search-passage-results .canon-search-result-heading{overflow-wrap:anywhere;flex-wrap:wrap;justify-content:flex-start}.canon-search-passages{gap:4px;padding:0 0 0 12px;list-style:none;display:grid}.canon-search-passages .canon-search-excerpt{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.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-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);background:var(--surface-raised);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);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);background:var(--border-subtle);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);padding:14px 16px}.proposal-review-meta dt{color:var(--text-muted);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);background:var(--surface-raised);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);background:var(--surface-subtle);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);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);background:var(--border-subtle);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);padding:14px 16px}.material-set-summary dt{color:var(--text-muted);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);background:var(--surface-raised);border-radius:16px;overflow:hidden}.material-set-items header{border-bottom:1px solid var(--border-subtle);align-items:flex-start;gap:12px;padding:16px;display:flex}.material-set-items header>span{background:var(--surface-subtle);width:2rem;height:2rem;color:var(--text);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);margin-top:4px}.material-set-items pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:32rem;color:var(--text);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);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);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);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);background:var(--surface-raised);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);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);background:var(--surface-raised);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);margin-top:4px}.material-candidate-origin{color:#426c5b;font-size:.76rem;font-weight:800}.material-candidate-list blockquote{background:var(--surface-subtle);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);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);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);margin:0 0 8px;font-size:.88rem}.research-work-preparation{background:var(--surface-subtle);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);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);background:var(--surface-raised);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);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);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)}.research-preview,.research-task-card,.research-source-detail{border:1px solid var(--border-subtle);background:var(--surface-raised);border-radius:14px;padding:16px}.research-preview-item{border-top:1px solid var(--border-subtle);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);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);background:var(--surface-subtle);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);background:var(--surface-raised);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)}.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);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);background:var(--surface-subtle);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);background:var(--surface-raised);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);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);padding:.5rem .75rem}:root[data-resolved-theme=dark]{color:var(--text);background:var(--ground);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}: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] .top-bar{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] :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] .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:var(--secondary-text);border-color:var(--secondary-border);background:var(--secondary-bg)}:root[data-resolved-theme=dark] .project-tree{color:var(--text)}:root[data-resolved-theme=dark] .project-tree :is(small,.project-tree-draft){color:var(--text-muted)}:root[data-resolved-theme=dark] .project-tree a{color:var(--secondary-text)}:root[data-resolved-theme=dark] .project-tree :is(button,input,select){color:var(--text);border-color:var(--border-subtle);background:var(--surface-raised)}: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}.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}:is(.main-workspace,.main-workspace>.workspace-route)>: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){.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%}.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(.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}}.top-bar{align-items:center;gap:var(--space-4);min-width:0;height:48px;color:var(--text);background:var(--surface);border-bottom:1px solid var(--border-subtle);grid-area:header;padding:0 12px;display:flex}.top-bar button{white-space:nowrap;min-height:32px}.top-bar nav{gap:var(--space-4);margin-inline-start:auto;display:flex}.top-bar .brand{color:var(--text-strong);font-size:14px;text-decoration:none}.project-menu{min-width:0}.project-menu>button{text-overflow:ellipsis;max-width:100%;overflow:hidden}.status-triple{align-items:center;gap:var(--space-3);min-width:0;margin-inline-start:auto;display:flex}.status-triple>aside{align-items:center;gap:var(--space-3);white-space:nowrap;display:flex}.status-triple>.status-band{gap:var(--space-4);background:var(--clear);border:0;padding:0}.service-notices{grid-area:notices;min-width:0}.service-notices:empty{display:none}.service-notices>section{margin:0;padding:8px 16px}.character-limit-notice{background:var(--surface);border:1px solid var(--border-subtle);min-width:0;padding:8px 12px}.character-limit-notice p{overflow-wrap:anywhere;margin:0 0 4px}.character-limit-notice .working-actions{flex-wrap:wrap;gap:8px 16px;margin:0}.document-footer-host>.character-limit-notice{grid-column:1/-1}.workspace{grid-area:main;grid-template:"readonly readonly readonly" auto "contents border main" minmax(0, 1fr) / var(--contents-width) 6px minmax(0, 1fr);min-width:0;min-height:0;display:grid}.workspace[data-contents=false]{grid-template:"readonly""main"minmax(0,1fr)/minmax(0,1fr)}.workspace>.splitter{grid-area:border}.workspace>.main-workspace{min-width:0;min-height:0;padding:clamp(12px,1.5vw,24px)}.sheet-inline{width:100%;min-width:0;max-width:none;height:100%;min-height:0;max-height:none;color:var(--text);background:var(--surface-side);border:0;grid-area:contents;margin:0;padding:0;display:block;position:static;overflow:auto}.sheet-inline>.sheet-header[hidden]{display:none}.sheet-inline .sheet-body{padding:0}.sheet-inline .project-tree{border:0;width:100%;height:auto;max-height:none}.read-only-band{color:var(--text);background:var(--surface-side);border-bottom:1px solid var(--divider);grid-area:readonly;padding:6px 16px}.menu a.menu-item{text-decoration:none}.workspace[data-focus=true]>:is(.sheet-inline,.splitter){display:none}.workspace[data-focus=true]{grid-template-columns:minmax(0,1fr);grid-template-areas:"readonly""main"}.app-shell[data-writing-focus-mode=true]>.top-bar{border:0;height:auto;min-height:0;padding:0}.app-shell[data-writing-focus-mode=true]>.top-bar>:not(.status-triple),.app-shell[data-writing-focus-mode=true] .status-triple:not([data-attention=true]){display:none}.app-shell[data-writing-focus-mode=true] .status-triple{margin:0;padding:4px 12px}.splitter{flex:0 0 var(--splitter-size);touch-action:none;background:var(--clear);align-self:stretch;position:relative}.splitter[aria-orientation=vertical]{width:var(--splitter-size);cursor:col-resize}.splitter[aria-orientation=horizontal]{height:var(--splitter-size);cursor:row-resize}.splitter:hover{background:var(--border-subtle)}.splitter:focus-visible{outline:3px solid var(--focus-ring);outline-offset:-3px}.menu{z-index:var(--z-menu);width:max-content;min-width:10rem;max-width:calc(100vw - 16px);max-height:min(70dvh,32rem);padding:var(--space-2);color:var(--text);border:1px solid var(--border-subtle);border-radius:var(--radius-box);background:var(--surface-raised);position:fixed;overflow:auto}.menu-group+.menu-group{margin-top:var(--space-2);padding-top:var(--space-2);border-top:1px solid var(--divider)}.menu-group-label{padding:var(--space-2) var(--space-4);color:var(--text-muted);font-size:12px}.menu-item{align-items:center;gap:var(--space-2) var(--space-4);width:100%;min-height:32px;padding:var(--space-3) var(--space-4);color:var(--text);border-radius:var(--radius-row);background:var(--clear);text-align:left;cursor:pointer;border:0;grid-template-columns:minmax(0,1fr) auto;display:grid}.menu-item:hover,.menu-item:focus-visible{background:var(--hover)}.menu-item:focus-visible{outline-offset:-3px}.menu-item[aria-disabled=true]{color:var(--text-muted);cursor:default}.menu-item small{color:var(--text-muted);overflow-wrap:anywhere;grid-column:1/-1}.menu-check{width:16px;height:16px;fill:var(--clear);stroke:currentColor;stroke-width:2px}.small-dialog,.sheet{color:var(--text);border:1px solid var(--border-subtle);background:var(--surface);font-family:var(--font-ui)}.small-dialog{width:min(32rem,100% - 32px);max-height:calc(100dvh - 32px);padding:var(--space-6);border-radius:var(--radius-box);overflow:auto}.small-dialog::backdrop,.sheet::backdrop{background:var(--modal-backdrop)}.small-dialog:not([open]),.sheet:not([open]){display:none}.small-dialog :is(input,select,textarea),.sheet :is(input,select,textarea){max-width:100%;color:var(--text);border:1px solid var(--border-subtle);border-radius:var(--radius-input);background:var(--surface-raised)}.small-dialog a,.sheet a{color:var(--secondary-text)}.small-dialog-header>button,.sheet-header>button,.side-panel-header>button{padding:var(--space-2) var(--space-4);color:var(--secondary-text);border:1px solid var(--secondary-border);border-radius:var(--radius-button);background:var(--secondary-bg);cursor:pointer;flex:none}.small-dialog-header,.sheet-header,.side-panel-header{justify-content:space-between;align-items:center;gap:var(--space-4);display:flex}.small-dialog-header h2,.sheet-header h2,.side-panel-header h2{min-width:0;color:var(--text-strong);overflow-wrap:anywhere;margin:0;font-size:1rem}.sheet[open]{flex-direction:column;display:flex}.sheet{border:0;border-radius:0;width:100%;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;position:fixed;inset:0}.sheet-header{padding:var(--space-5) var(--space-6);border-bottom:1px solid var(--divider);flex:none}.sheet-header button{min-height:44px}.sheet-body{flex:1;min-height:0;overflow:auto}.pane,.side-panel{min-width:0;min-height:0;color:var(--text);background:var(--surface);flex-direction:column;display:flex}.pane{border-top:3px solid var(--surface);overflow:auto}.pane[data-active=true]{border-top-color:var(--accent)}.pane-bar{align-items:center;gap:var(--space-4);padding:var(--space-2) var(--space-4);color:var(--text-muted);background:var(--surface);flex-wrap:wrap;flex:none;font-size:12px;display:flex}.pane[data-active=true]>.pane-bar{background:var(--tint)}.side-panel{background:var(--surface-side)}.side-panel-header{padding:var(--space-4) var(--space-5);border-bottom:1px solid var(--divider);flex:none}.side-panel-body{min-height:0;padding:var(--space-5);flex:1;overflow:auto}.side-changes :is(.recent-change-list,.activity-log-list)>li{padding:12px;display:block}.side-changes :is(.recent-change-list,.activity-log-list)>li>div{overflow-wrap:anywhere;flex-wrap:wrap}.side-changes :is(.section-heading,.activity-log>header){flex-wrap:wrap}.side-changes .recent-setting-sync{padding:12px}.confirmation{min-width:0;color:var(--text)}.pane[hidden],.side-panel[hidden],.confirmation[hidden]{display:none}.contents{min-width:0;height:100%;min-height:0;color:var(--text);background:var(--surface-side);flex-direction:column;display:flex;overflow:hidden}.contents[data-dense=true]{--row-height:24px}.contents-viewport{overflow-anchor:none;flex:1 1 0;min-height:0;overflow:auto}.structure-tree-space,.contents-space{position:relative}.contents-result{padding:var(--space-4);border-top:1px solid var(--tint-bar);color:var(--text);background:var(--tint);overflow-wrap:anywhere;white-space:normal;flex:none;font-size:13px;line-height:1.6}.contents-result:empty,.contents-result[hidden]{display:none}.contents-result button,.contents-result a{float:inline-end;margin-inline-start:var(--space-3)}.structure-tree-entry{width:100%;min-width:0;height:var(--row-height);position:absolute}.structure-tree-entry>.structure-tree-row-shell{height:100%}.structure-tree-row-shell,.contents-row-shell{min-width:0;height:var(--row-height);padding-inline:calc(8px + var(--depth,0) * var(--indent-step)) 6px;align-items:center;font-size:13px;display:flex;position:relative}.structure-tree-row,.contents-row{align-items:center;gap:var(--space-3);min-width:0;height:100%;padding:0 var(--space-3);color:var(--text-strong);border-radius:var(--radius-row);background:var(--clear);font-size:inherit;text-align:left;cursor:pointer;border:0;flex:1;display:flex}.structure-tree-row:hover,.structure-tree-row:focus-visible,.contents-row:hover,.contents-row:focus-visible{background:var(--hover)}.structure-tree-row[aria-selected=true],.contents-row[aria-selected=true]{color:var(--selected-text);background:var(--selected);box-shadow:inset 3px 0 var(--accent);font-weight:700}.contents-row-shell:has([aria-selected=true]){color:var(--selected-text);background:var(--selected);border-radius:var(--radius-row)}.structure-tree-row:focus-visible,.contents-row:focus-visible{outline:3px solid var(--focus-ring);outline-offset:-3px}.contents-row-shell[data-other=true]{outline:1px solid var(--border-subtle);outline-offset:-1px;border-radius:var(--radius-row)}.contents-tag{padding-inline:var(--space-2);border:1px solid var(--border-subtle);border-radius:var(--radius-row);font-size:10px}.contents-guides{width:calc(var(--depth,0) * var(--indent-step));pointer-events:none;background:repeating-linear-gradient(to right, var(--divider) 0 1px, var(--clear) 1px var(--indent-step));position:absolute;inset-block:0;inset-inline-start:8px}.structure-tree-toggle,.contents-toggle{width:16px;height:100%;min-height:0;color:var(--text-muted);background:var(--clear);cursor:pointer;border:0;flex:0 0 16px;justify-content:center;align-items:center;padding:0;font-size:0;display:inline-flex}.structure-tree-toggle:before,.contents-toggle:before{content:"▸";font-size:13px}.structure-tree-toggle[aria-expanded=true]:before,.structure-tree-toggle:focus-visible,.contents-toggle:focus-visible{outline-offset:-3px}.structure-tree-toggle-space{flex:0 0 16px}.structure-tree-title{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;min-width:0;overflow:hidden}.structure-tree-title[data-truncate=start]{text-align:left;direction:rtl}.structure-tree-title[data-truncate=start]>bdi{direction:ltr;unicode-bidi:isolate}.structure-tree-marks{color:var(--text-muted);white-space:nowrap;flex:none;gap:3px;margin-left:auto;font-size:10px;font-weight:400;display:flex}.contents-count,.contents-tag,.contents-meta{flex:none}.contents-meta{color:var(--text-muted);white-space:nowrap;margin-inline-start:auto}.contents-row-controls{align-items:center;gap:var(--space-1);flex:none;margin-inline-start:auto;display:none}.contents-control-group{align-items:center;gap:var(--space-1);display:flex}.contents-control-group+.contents-control-group{margin-inline-start:var(--space-2)}.contents-row-shell:focus-within .contents-row-controls{display:flex}.contents-row-shell:has([aria-selected=true]) .contents-row-controls{display:flex}.contents-row-control{flex:0 0 var(--row-control-size);width:var(--row-control-size);height:var(--row-control-size);min-height:0;color:var(--text);border-radius:var(--radius-row);background:var(--clear);cursor:pointer;border:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.contents-row-control svg{width:16px;height:16px;fill:var(--clear);stroke:currentColor;stroke-width:1.5px}.contents-row-control:hover{background:var(--hover)}.contents-row-control:focus-visible{outline:3px solid var(--focus-ring);outline-offset:-3px}.contents-row-control:disabled,.contents-row-control[aria-disabled=true]{opacity:.55;cursor:default}.contents-row-controls[data-form=reduced] [data-full-only]{display:none}.visually-hidden,.contents[data-dense=true] .contents-meta,.contents-row-shell:focus-within .contents-meta{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.contents-row-shell:has([aria-selected=true]) .contents-meta{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}@media (hover:hover) and (pointer:fine){.contents-row-shell:hover .contents-row-controls{display:flex}.contents-row-shell:hover .contents-meta{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}}@media (pointer:coarse){.contents,.contents[data-dense=true]{--row-height:44px;--row-control-size:44px}.menu-item{min-height:44px}}.workspace[data-width=narrow] .splitter{display:none}.workspace[data-width=narrow] .contents{--row-height:44px;--row-control-size:44px}@media (forced-colors:active){.structure-tree-row[aria-selected=true],.contents-row[aria-selected=true],.contents-guides{outline:1px solid var(--forced-focus);outline-offset:-1px}.splitter:focus-visible,.contents-row-control:focus-visible{outline-color:var(--forced-focus)}}.main-workspace[data-document=true]{gap:0;padding:0;display:flex;overflow:hidden}.document-host{flex:360px;min-width:0;height:100%;min-height:0}.document-host>.pane{flex-direction:column;height:100%;min-height:0;display:flex}.document{flex-direction:column;flex:1 0 auto;gap:8px;min-height:min-content;padding:12px;display:flex;overflow:visible}.document-header{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.document-header>input{min-width:80px;font:inherit;flex:1}.document-outline{border:1px solid var(--secondary-border);border-radius:var(--radius-button);flex:none;max-height:12em;overflow:auto}.document-outline>button{width:100%;min-height:32px;color:inherit;font:inherit;text-align:start;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;background:0 0;border:0;display:block;overflow:hidden}.document-outline>button[aria-current=true]{background:var(--selected);color:var(--selected-text)}.document-outline>button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.document .manuscript-editing-tools>button[aria-expanded=true]{background:var(--selected);color:var(--selected-text);border-color:var(--accent)}.document-passage-band{border-inline-start:3px solid var(--accent);min-width:0;padding:8px 12px}.document-passage-band>div{justify-content:space-between;gap:8px;display:flex}.document-passage-band pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;margin:8px 0}.document-passage-band .passage-preview{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.readonly-document-text>pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:60vh;overflow:auto}.document>textarea{min-height:calc(5.4em + 50px);max-width:var(--text-column-max);resize:none;box-sizing:border-box;flex:1 0 calc(5.4em + 50px);width:100%;margin-inline:auto;line-height:1.8}.document .editor-card{box-shadow:none;background:0 0;border:0;padding:0}.document-footer,.document-tools-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.document-footer-host{flex:none}.document-neighbors{justify-content:space-between;gap:8px;display:flex}.main-workspace[data-document=true]>.workspace-route{flex:0 auto;max-width:45%;overflow:auto}.side-panel{flex-direction:column;flex:none;min-width:0;max-width:100%;min-height:0;display:flex}.side-panel>header{justify-content:space-between;padding:12px;display:flex}.side-panel-body{flex:1;padding:12px;overflow:auto}.side-panel .episode-workflow{flex-direction:column;padding:0;display:flex}.side-panel .episode-workflow>li{display:block}.side-panel .stage-input-content{max-height:none;overflow:visible}.contents-section-header{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.contents-section-header h2{flex:1}.contents-row-controls{background:var(--surface-side);align-items:center;gap:2px;display:none}.contents-row-controls button{background:0 0;border:0;width:22px;min-height:22px;padding:0}.contents-row-controls button[aria-disabled=true]{opacity:.45}.workspace[data-focus=true] .document>:is(.manuscript-editing-tools,.document-tools-row,.manuscript-search),.workspace[data-focus=true] .workspace-route{display:none}@media (hover:none),(pointer:coarse){.contents-episode-row:not([data-selected=true])>.contents-row-controls{display:none}.contents-row-controls button{width:44px;min-height:44px}}.workspace[data-width=narrow] .contents-row-controls button{width:44px;min-height:44px}.workspace[data-width=narrow] .side-panel{width:100%}.document-tools-row[hidden],.document textarea[hidden],.workspace-route[hidden]{display:none}.sheet-inline .sheet-body,.sheet-inline .sheet-body>div{height:100%;min-height:0}.contents-list{--row-height:28px;flex-direction:column;min-width:0;height:100%;min-height:0;padding:8px 0;display:flex;overflow:hidden}.contents-list[data-dense=true]{--row-height:24px}.contents-list[data-dense=true] .contents-episode-meta{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.contents-filter{flex:none;padding:0 8px 8px;font-size:12px}.contents-filter input{width:100%;min-width:0}.contents-viewport{overflow-anchor:none;flex:1;min-height:0;position:relative;overflow:auto}.contents-space{min-width:0;position:relative}.contents-list .structure-tree-entry{min-height:0;height:var(--row-height);margin:0;position:absolute;inset-inline:0}.contents-list .contents-section-header{background:var(--surface-side);white-space:nowrap;flex-wrap:nowrap;gap:2px;padding:0 6px}.contents-section-header h2{min-width:0;margin:0;font-size:13px}.contents-section-header h2 button{background:0 0;border:0;padding:0;font-weight:700}.contents-section-header>button,.contents-section-header>h2>button{min-height:24px;font-size:11px}.contents-section-header small{font-size:10px}.contents-row-shell{align-items:center;gap:2px;width:100%;min-width:0;height:100%;padding-inline-end:4px;display:flex;position:relative}.contents-row-shell[data-selected=true]{border-inline-start:3px solid var(--accent);background:var(--selected);font-weight:700}.contents-item{cursor:pointer;flex:1;align-items:center;gap:3px;min-width:0;height:100%;font-size:13px;display:flex}.contents-item:focus-visible{outline:3px solid var(--focus-ring);outline-offset:-3px}.contents-title{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.contents-title-tail{text-align:left;direction:rtl}.contents-title-tail bdi{direction:ltr;unicode-bidi:isolate}.contents-ordinal{flex:none}.contents-item small{color:var(--text-muted);flex:none;font-size:10px;font-weight:400}.contents-toggle-space{flex:0 0 16px}.contents-guides{background:0 0;width:auto;inset-inline:0}.contents-guides i{border-inline-start:1px solid var(--divider);position:absolute;inset-block:0}.contents-control-divider{border-inline-start:1px solid var(--divider);height:14px}.contents-list[data-holding=true] .contents-row-shell:not([data-held=true]) .contents-row-controls{display:none}.contents-row-shell[data-held=true] .contents-row-controls{display:flex}.contents-row-shell[data-drop=before]{box-shadow:inset 0 2px var(--accent)}.contents-row-shell[data-drop=after]{box-shadow:inset 0 -2px var(--accent)}.contents-row-shell[data-drop=into]{outline:2px solid var(--accent);outline-offset:-2px}.contents-result-line{border-top:1px solid var(--divider);background:var(--surface-raised);white-space:normal;overflow-wrap:anywhere;flex:none;padding:8px;font-size:12px}.contents-result-line button{margin-inline-start:6px}.pane-path{text-overflow:ellipsis;white-space:nowrap;text-align:left;direction:rtl;min-width:0;overflow:hidden}.pane-path>bdi{direction:ltr;unicode-bidi:isolate}.document-host[hidden],.side-panel[hidden]{display:none}.sheet-body:has(>.contents-list){height:100%;min-height:0}@media (hover:none),(pointer:coarse){.contents-row-shell:not([data-selected=true]) .contents-row-controls{display:none}.contents-list{--row-height:44px}}.workspace[data-width=narrow] .contents-list{--row-height:44px}@media (pointer:coarse){.contents-list,.contents-list[data-dense=true]{--row-height:44px;--row-control-size:44px}}.contents-list .contents-row{padding:0}.document>:not(textarea){flex-shrink:0}.document .manuscript-editing-tools{align-items:center;gap:var(--space-3);flex-wrap:wrap;margin:0}.document .manuscript-editing-tools>button{min-height:32px;padding:var(--space-2) var(--space-4);border:1px solid var(--secondary-border);border-radius:var(--radius-button);color:var(--secondary-text);background:var(--secondary-bg);font:inherit;cursor:pointer;margin:0;font-size:13px}.document .manuscript-editing-tools>button[aria-pressed=true]{background:var(--selected);color:var(--selected-text);border-color:var(--accent)}.side-panel-body>*{max-width:var(--text-column-max);margin-inline:auto}.side-panel pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:none;overflow:visible}.side-panel .canon-search-panel{margin-block:var(--space-6);padding:0;display:block}.side-panel .canon-search-form,.side-panel .canon-search-form>div{flex-direction:column;min-width:0;display:flex}.side-panel .canon-search-form input{width:100%;min-width:0}.side-panel nav{gap:var(--space-2);margin-block:var(--space-5);flex-direction:column;display:flex}.material-state{padding:var(--space-1) var(--space-3);border:1px solid var(--badge-neutral-border);border-radius:var(--radius-row);background:var(--badge-neutral-bg);color:var(--badge-neutral-text);margin-inline-start:var(--space-3);font-size:12px;display:inline-block}.material-document-group{margin-block:var(--space-5)}.material-document-group>summary{padding-block:var(--space-3);cursor:pointer;font-weight:700}.material-row{border-bottom:1px solid var(--divider)}.material-row-toggle{text-align:start;border-radius:var(--radius-row);width:100%;padding:var(--space-4);color:var(--text);background:var(--clear);cursor:pointer;overflow-wrap:anywhere;border:0;display:block}.material-row-toggle:hover{background:var(--hover)}.material-row-toggle:focus-visible{outline:3px solid var(--focus-ring)}.material-row-snippet{-webkit-line-clamp:2;white-space:pre-line;margin-top:var(--space-2);color:var(--text-muted);-webkit-box-orient:vertical;font-size:13px;display:-webkit-box;overflow:hidden}.workspace[data-width=narrow] .main-workspace[data-document=true]{overflow-y:auto}.workspace[data-width=narrow] .document-host{height:100%;min-height:100%}.workspace[data-width=narrow] .document-host>.pane,.workspace[data-width=narrow] .document{overflow:visible}.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}.document-host{display:flex}.document-host:is([data-preset=columns],[data-preset=triple]){grid-template-columns:minmax(360px, var(--pane-first)) 6px minmax(360px, 1fr);grid-template-rows:minmax(0,1fr);display:grid}.document-host[data-preset=rows]{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(200px, var(--pane-top)) 6px minmax(200px, 1fr);display:grid}.document-host[data-preset=triple][data-tool=dock]{grid-template-rows:minmax(200px, var(--pane-top)) 6px minmax(200px, 1fr)}.document-host[data-preset=single][data-flip=true]{flex-direction:row-reverse}.document-host>.pane{flex:1 1 0;min-width:0}.document-host>.side-panel-slot{grid-column:var(--tool-column);grid-row:var(--tool-row);background:var(--surface-side);width:100%;min-width:0;max-width:none;height:100%;min-height:0;max-height:none;color:var(--text);border:0;margin:0;padding:0;position:static;overflow:hidden}.side-panel-slot>.sheet-header[hidden]{display:none}.side-panel-slot>.sheet-body,.side-panel-slot .side-panel{min-width:0;height:100%;min-height:0;padding:0}.side-panel-slot>.sheet-body{flex-direction:column;display:flex;overflow:hidden}.sheet-body:has(>.side-panel){flex-direction:column;display:flex;overflow:hidden}.sheet-body>.side-panel{flex:1}.side-panel-slot .side-panel{width:100%!important}.document-host[data-tool=none]>.side-panel-slot{display:none}.document-host[data-preset=single]>.side-panel-slot{flex:0 0 var(--side-width);width:var(--side-width)}.pane-splitter{grid-area:1/2/-1;min-height:0;display:flex}.pane-splitter>.splitter{height:100%}.pane-height-splitter{background:var(--divider);flex-direction:column;grid-row:2;display:flex}.pane-height-splitter>.splitter{width:100%}.side-width-splitter{flex:0 0 6px}.side-panel :is(.research-readonly-body,.research-source-detail article){max-height:none;overflow:visible}.side-panel :is(.research-source-detail-heading,.research-task-context-heading){z-index:1;background:var(--surface-side);position:sticky;top:0}.side-panel :is(.research-task-context-heading,.research-source-context-heading,.research-source-detail-heading,.research-task-card-heading),.side-panel :is(.research-form-actions,.research-entry-actions,.research-task-actions){flex-direction:column;align-items:stretch;display:flex}.pane[hidden]{display:none}.pane-bar{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.pane-bar>.pane-path{flex:1}.pane-actions{gap:4px;margin-inline-start:auto;display:flex}.pane-list-bar{align-items:center;gap:var(--space-2);padding:var(--space-2) var(--space-4);border-bottom:1px solid var(--divider);flex-wrap:wrap;display:flex}.pane-list-bar>span{white-space:nowrap;color:var(--text-muted);margin-inline-start:auto;font-size:13px}.pane-actions button{min-height:28px;font-size:12px}.contents-row-shell[data-adjacent=true]{outline:1px solid var(--accent);outline-offset:-1px}.document-host[data-preset=single]>.pane{grid-area:auto!important}.document-host[hidden]{display:none}.document-tool-actions{flex-wrap:wrap;gap:4px;min-width:0;display:flex}.pane[data-compact=true] .document-header{flex-wrap:nowrap;min-width:0}.pane[data-compact=true] .document-header input{text-overflow:ellipsis;min-width:0}.pane[data-compact=true] .pane-bar{flex-wrap:nowrap}.pane[data-compact=true] .document-neighbors{display:none}.pane[data-compact=true] .document-tool-actions{flex-wrap:nowrap}.pane[data-compact=true] .document-outline{max-height:160px}.pane[data-compact=true] .document>textarea{flex-basis:calc(5.4em + 26px);min-height:calc(5.4em + 26px);padding:12px}.pane[data-compact=true] .manuscript-search{grid-template-columns:minmax(0,1fr)}.pane[data-compact=true] .document-footer-host{flex-wrap:wrap;align-items:center;gap:4px;font-size:13px;display:flex}.pane[data-compact=true] .document-footer-host :is(footer,.working-actions){flex-wrap:wrap;align-items:center;gap:4px;margin:0;display:flex}.workspace[data-width=wide] .document-footer-host{grid-template-rows:48px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:0 8px;font-size:13px;line-height:20px;display:grid}.workspace[data-width=wide] .document-footer-host :is(footer,.working-actions){flex-wrap:nowrap;min-width:0;margin:0;padding:0}.workspace[data-width=wide] .document-footer-host>footer{white-space:normal;overflow-wrap:anywhere;grid-area:1/1;display:block;overflow:visible}.workspace[data-width=wide] .document-footer-host>footer:only-child{grid-column:1/-1}.workspace[data-width=wide] .document-footer-host>.working-actions{grid-area:1/2;gap:4px}.workspace[data-width=wide] .document-footer>span{white-space:normal;text-overflow:clip;overflow:visible}.workspace[data-width=wide] .document-footer>span+span{margin-inline-start:6px}.workspace[data-width=wide] .pane[data-compact=true] .document-footer{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.workspace[data-width=wide] .document-footer-host button{white-space:nowrap;flex-shrink:0;min-width:50px;height:48px;min-height:48px;padding:0 4px;font-size:13px;line-height:16px}.workspace[data-width=wide] .document-footer-host button:last-of-type{min-width:62px}.workspace[data-width=wide] .document-footer-host>p{grid-column:1/-1}.workspace[data-width=narrow] .document>textarea{height:max(320px, calc(100dvh - var(--document-chrome)));flex:none;min-height:320px}.plot-rows{align-items:stretch;gap:var(--space-2);flex-direction:column;display:flex}.plot-rows>div>div{flex-direction:column;padding-inline-start:var(--space-4);display:flex}.plot-pane{background:var(--surface)}.plot-document>h2{margin-block:var(--space-2)}.plot-tools{align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.plot-body{white-space:pre-wrap;overflow-wrap:anywhere;min-height:6em;font:inherit;flex:12em;margin:0;line-height:1.8;overflow:auto}.plot-source{min-height:0;color:var(--accent);font:inherit;text-align:start;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline;display:inline}.plot-source:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.plot-document>footer{color:var(--text-muted);text-align:end;font-size:13px}
