@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-ease:initial;--focus-scroll-fade:0px;--compose-scroll-fade:0px;--chat-scroll-fade:0px}}}@layer theme{:root,:host{--font-sans:var(--font-sans);--font-serif:ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;--font-mono:var(--font-mono);--ease-out:cubic-bezier(0, 0, .2, 1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.static{position:static}.sticky{position:sticky}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.h-full{height:100%}.min-h-full{min-height:100%}.grow{flex-grow:1}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.flex-wrap{flex-wrap:wrap}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.border{border-style:var(--tw-border-style);border-width:1px}.italic{font-style:italic}.underline{text-decoration-line:underline}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}}:root{--background:#f3f2ef;--foreground:#171717;--pa-rail:#e7e5dc;--surface:#fbfaf7;--surface-soft:#f0efeb;--surface-muted:#e5e3dc;--border:#d8d6d0;--border-strong:#bfbdb6;--text-muted:#62615d;--text-soft:#65635b;--sage:#42413d;--sage-deep:#22211f;--amber:#3a5a72;--on-accent:#fbfaf7;--danger:#8b3e2f;--danger-surface:#f4ebe6}html[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:var(--background);color:var(--foreground)}html[data-theme=dark]{--background:#151515;--foreground:#ecebe9;--pa-rail:#181818;--surface:#1d1d1d;--surface-soft:#232323;--surface-muted:#2b2b2b;--border:#313131;--border-strong:#474747;--text-muted:#bcbcb9;--text-soft:#949492;--sage:#cfcfcd;--sage-deep:#f0f0ee;--amber:#6f9bc0;--on-accent:#151515;--danger:#f1b6a8;--danger-surface:#33231f;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:var(--background);color:var(--foreground)}html[data-theme=dark] body{background:var(--background);color:var(--foreground)}:root{--font-ui:var(--font-sans), "Segoe UI", system-ui, -apple-system, sans-serif;--font-heading:var(--font-display), Georgia, "Times New Roman", serif;--font-reading:var(--font-serif), Georgia, "Times New Roman", serif;--public-page-width:min(1440px, 100%);--public-page-gutter:clamp(24px, 5vw, 72px)}*{box-sizing:border-box}html,body{overscroll-behavior:none;background:var(--background);min-width:320px;min-height:100%;color:var(--foreground);font-family:var(--font-ui);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;overflow-x:clip}h1,h2,h3,h4{font-family:var(--font-heading);letter-spacing:-.01em;font-weight:600}button,input{font:inherit}button{color:inherit}.workspace-shell{grid-template-columns:var(--pa-sidebar-width,248px) minmax(0, 1fr);grid-template-rows:var(--pa-shell-row,56px) minmax(0, 1fr);background:var(--background);height:100dvh;color:var(--foreground);grid-template-areas:"sidebar topbar""sidebar body";display:grid;position:relative}.workspace-shell.no-sidebar{grid-template-columns:minmax(0,1fr);grid-template-areas:"topbar""body"}.workspace-shell>.app-sidebar{grid-area:sidebar}.workspace-shell>.topbar{grid-area:topbar}.workspace-shell>.workspace-body{grid-area:body}.app-sidebar{border-right:1px solid var(--pa-border,var(--border));background:var(--pa-rail,var(--surface));flex-direction:column;min-width:0;min-height:0;display:flex;overflow:visible}.app-sidebar-head{height:var(--pa-shell-row,56px);border-bottom:1px solid var(--pa-border,var(--border));flex:none;justify-content:space-between;align-items:center;gap:8px;padding:0 10px 0 16px;display:flex}.app-sidebar .brand-lockup{min-width:0;color:inherit;align-items:center;gap:9px;display:inline-flex}.app-sidebar .brand-name{letter-spacing:-.01em;white-space:nowrap;text-overflow:ellipsis;font-size:15px;font-weight:760;overflow:hidden}.sidebar-collapse-button{border-radius:var(--pa-radius-sm,7px);width:32px;height:32px;color:var(--pa-muted,inherit);flex:none;place-items:center;display:inline-grid}.sidebar-collapse-button:hover{background:var(--pa-panel-muted)}@supports (color:color-mix(in lab, red, red)){.sidebar-collapse-button:hover{background:color-mix(in srgb, var(--pa-panel-muted) 60%, transparent)}}.sidebar-collapse-button:hover{color:var(--pa-text)}.app-sidebar>.chapter-section{flex:auto;min-height:0;overflow-y:auto}.workspace-shell .app-sidebar>.project-switcher{border:0;border-bottom:1px solid var(--pa-border);background:0 0;border-radius:0;flex:none;margin:0;padding:11px 16px}.workspace-shell .app-sidebar>.project-switcher.project-switcher-button:hover{background:var(--pa-panel-muted)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .app-sidebar>.project-switcher.project-switcher-button:hover{background:color-mix(in srgb, var(--pa-panel-muted) 45%, transparent)}}html[data-theme=dark] .workspace-shell .app-sidebar>.project-switcher,.workspace-shell[data-theme=dark] .app-sidebar>.project-switcher,html[data-theme=light] .workspace-shell .app-sidebar>.project-switcher,.workspace-shell[data-theme=light] .app-sidebar>.project-switcher{background:0 0}.app-sidebar-foot{border-top:1px solid var(--pa-border);flex:none;align-items:center;gap:4px;margin-top:auto;padding:8px 10px;display:flex}.sidebar-foot-button{border-radius:var(--pa-radius-sm);width:34px;height:34px;color:var(--pa-muted);place-items:center;display:inline-grid}.sidebar-foot-button:hover{background:var(--pa-panel-muted)}@supports (color:color-mix(in lab, red, red)){.sidebar-foot-button:hover{background:color-mix(in srgb, var(--pa-panel-muted) 60%, transparent)}}.sidebar-foot-button:hover{color:var(--pa-text)}.sidebar-foot-button.sidebar-foot-ai{color:var(--pa-accent)}.sidebar-foot-button.sidebar-foot-ai:hover{color:var(--pa-accent);background:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.sidebar-foot-button.sidebar-foot-ai:hover{background:color-mix(in srgb, var(--pa-accent) 13%, transparent)}}.sidebar-foot-button svg{width:18px;height:18px}.sidebar-foot-spacer{flex:1}.app-sidebar-foot .user-menu{position:relative}.app-sidebar-foot .avatar{width:34px;height:34px}.app-sidebar-foot .account-popover{inset:auto auto calc(100% + 8px) 0}.workspace-shell:has(.app-sidebar.collapsed){--pa-sidebar-width:var(--pa-sidebar-width-collapsed)}.app-sidebar.collapsed .brand-lockup,.app-sidebar.collapsed .chapter-section,.app-sidebar.collapsed .project-switcher,.app-sidebar.collapsed .sidebar-foot-spacer{display:none}.app-sidebar.collapsed .app-sidebar-head{justify-content:center;padding:0}.app-sidebar.collapsed .app-sidebar-foot{flex-direction:column;padding:8px 0}.app-sidebar.collapsed .app-sidebar-foot .account-popover{bottom:0;left:calc(100% + 8px)}.workspace-grid{position:relative}.context-handle{z-index:5;border:1px solid var(--pa-border);background:var(--pa-panel-soft);width:17px;height:48px;color:var(--pa-muted);border-right:0;border-radius:7px 0 0 7px;place-items:center;display:grid;position:absolute;top:50%;right:0;transform:translateY(-50%);box-shadow:-3px 0 10px #0000001a}.context-handle:hover{color:var(--pa-text);background:var(--pa-panel-muted)}@media (min-width:861px){.workspace-grid.context-open .context-handle{right:var(--pa-context-width)}}.workspace-progress{top:var(--pa-shell-row);z-index:12;pointer-events:none;opacity:0;height:2px;transition:opacity .14s;position:absolute;left:0;right:0;overflow:hidden}.workspace-progress:before{background:var(--sage-deep);content:"";width:36%;position:absolute;inset:0;transform:translate(-100%)}.workspace-progress.active{opacity:1}.workspace-progress.active:before{animation:1.1s ease-in-out infinite workspace-progress-slide}.workspace-progress span{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@keyframes workspace-progress-slide{0%{transform:translate(-110%)}55%{transform:translate(160%)}to{transform:translate(280%)}}.topbar{height:var(--pa-shell-row);border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fbfaf7f5;grid-template-columns:238px minmax(190px,1fr) auto auto auto auto;align-items:center;gap:12px;padding:0 16px;display:grid}:root[data-desktop-chrome]{--pa-titlebar-inset-left:0px;--pa-titlebar-inset-right:0px}:root[data-desktop-chrome=win]{--pa-titlebar-inset-right:140px}:root[data-desktop-chrome] .topbar,:root[data-desktop-chrome] .app-sidebar-head,:root[data-desktop-chrome] .auth-shell{-webkit-app-region:drag}:root[data-desktop-chrome] .auth-shell{background:var(--pa-rail)}.desktop-drag-strip{display:none}:root[data-desktop-chrome] .desktop-drag-strip{z-index:300;-webkit-app-region:drag;height:12px;display:block;position:fixed;top:0;left:0;right:0}:root[data-desktop-chrome]:has(.workspace-shell.focus-mode) .desktop-drag-strip{height:28px}:root[data-desktop-chrome] .topbar button,:root[data-desktop-chrome] .topbar a,:root[data-desktop-chrome] .topbar input,:root[data-desktop-chrome] .topbar select,:root[data-desktop-chrome] .topbar [role=button],:root[data-desktop-chrome] .topbar .quick-open-trigger,:root[data-desktop-chrome] .topbar .avatar,:root[data-desktop-chrome] .app-sidebar-head button,:root[data-desktop-chrome] .app-sidebar-head a,:root[data-desktop-chrome] .app-sidebar-head [role=button],:root[data-desktop-chrome] .app-sidebar-head .brand-lockup,:root[data-desktop-chrome] .auth-shell .auth-card,:root[data-desktop-chrome] .auth-shell button,:root[data-desktop-chrome] .auth-shell a,:root[data-desktop-chrome] .auth-shell input{-webkit-app-region:no-drag}:root[data-desktop-chrome] .app-sidebar .brand-lockup,:root[data-desktop-chrome] .topbar .brand-lockup,:root[data-desktop-chrome] .app-sidebar-head{display:none}:root[data-desktop-chrome] .workspace-shell:not(.no-sidebar):not(.focus-mode){grid-template-areas:"topbar topbar""sidebar body"}.view-nav-toggle{display:none}:root[data-desktop-chrome] .view-nav-toggle{margin-right:4px;display:inline-grid}:root[data-desktop-chrome] .topbar.topbar-nav .view-nav-row{padding-left:8px}:root[data-desktop-chrome=mac] .topbar.topbar-nav .view-nav-row{padding-left:82px}:root[data-desktop-chrome=mac][data-fullscreen=true] .topbar.topbar-nav .view-nav-row{padding-left:8px}:root[data-desktop-chrome=win] .topbar.topbar-nav .view-nav-row{padding-right:var(--pa-titlebar-inset-right)}:root[data-desktop-chrome=win] .topbar:not(.topbar-nav){padding-right:calc(16px + var(--pa-titlebar-inset-right))}:root[data-desktop-chrome=win] .topbar:not(.topbar-nav) .user-menu{margin-left:0}:root[data-desktop-chrome=win] .topbar:not(.topbar-nav) .account-popover{left:0;right:auto}.brand-lockup,.project-switcher,.quick-open,.topbar-button,.avatar,.icon-button,.format-tools button,.context-tab,.nav-item,.chapter-row{border:0}.brand-lockup{white-space:nowrap;align-items:center;gap:10px;min-width:0;display:flex}.brand-mark{color:#f6f5f1;letter-spacing:0;background:#1f1f1d;border-radius:8px;place-items:center;width:34px;height:34px;font-size:12px;font-weight:720;display:grid}.brand-name{text-overflow:ellipsis;font-size:19px;font-weight:720;overflow:hidden}.project-switcher{border:1px solid var(--border);background:var(--surface-soft);border-radius:7px;flex-direction:column;gap:1px;min-width:0;padding:8px 10px;display:flex}.app-sidebar .project-switcher{flex-shrink:0;margin:0 12px 12px}.project-switcher-button{font:inherit;text-align:left;cursor:pointer}.project-switcher-button:hover{border-color:var(--pa-border-strong)}.project-rename-input{width:100%;color:var(--foreground);background:0 0;border:0;outline:0;padding:0;font-size:13px;font-weight:680;line-height:1.2}.topbar .quick-open-trigger{justify-self:end;width:min(280px,100%)}.project-label,.micro-label{color:var(--text-soft);text-transform:uppercase;margin:0;font-size:11px;font-weight:650;line-height:1.2}.project-switcher strong{color:var(--foreground);text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:680;line-height:1.2;overflow:hidden}.quick-open{border:1px solid var(--border);min-width:0;height:42px;color:var(--text-muted);background:#f0efeb;border-radius:7px;align-items:center;gap:10px;padding:0 12px;display:flex}.quick-open input{min-width:0;color:var(--foreground);background:0 0;border:0;outline:0;flex:1;font-size:13px}.quick-open kbd{border:1px solid var(--border);background:var(--surface);color:var(--text-soft);font-family:var(--font-mono), monospace;border-radius:5px;padding:3px 6px;font-size:11px}.topbar-button,.avatar,.icon-button,.format-tools button{border:1px solid var(--border);background:var(--surface);color:#333331;cursor:pointer;border-radius:7px;justify-content:center;align-items:center;gap:7px;height:40px;font-size:13px;font-weight:640;display:inline-flex}.topbar-button{padding:0 13px}.topbar-button.primary{background:var(--sage-deep);color:#fbfaf7;border-color:#22211f}.avatar,.icon-button,.format-tools button{width:40px;padding:0}.avatar{color:var(--sage-deep);background:#e5e3dc}.workspace-grid{background:var(--surface);grid-template-columns:minmax(0,1fr);min-height:0;display:grid;overflow:hidden}.workspace-grid.context-open{grid-template-columns:minmax(0, 1fr) var(--pa-context-width)}.workspace-grid.library-screen>.editor-pane{border-left:none}.workspace-grid.library-screen .library-dashboard{width:100%;max-width:1120px;margin:0 auto}.workspace-grid.details-screen>.editor-pane{overscroll-behavior:contain;border-left:none;overflow-y:auto}.workspace-grid.details-screen>.editor-pane>.project-details-page{padding-bottom:48px}.project-details-page{width:100%;padding:var(--pa-gutter);gap:18px;display:grid}.workspace-shell .project-cover-page{width:100%;max-width:1120px;padding:var(--pa-gutter);gap:18px;margin:0 auto;display:grid}.workspace-shell .project-cover-hero{border:1px solid var(--pa-border);border-radius:var(--pa-radius-lg);background:var(--pa-panel);align-items:flex-start;gap:clamp(24px,3.2vw,46px);padding:clamp(24px,3vw,38px);display:flex}.workspace-shell .project-cover-hero-art{flex:none;width:280px}.workspace-shell .project-cover-hero-art .cover-preview-portrait{max-width:280px}.workspace-shell .project-cover-hero-art .project-cover{border-radius:8px;box-shadow:0 26px 52px -22px #0009,0 8px 20px -10px #00000073}.workspace-shell .project-cover-hero-body{flex-direction:column;flex:auto;gap:13px;min-width:0;display:flex}.workspace-shell .project-cover-hero-top{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.workspace-shell .project-cover-hero-top .micro-label{margin:0}.workspace-shell .project-status-pill{background:var(--pa-panel-soft);color:var(--pa-muted);border-radius:999px;align-self:flex-start;align-items:center;gap:6px;padding:3px 11px;font-size:11.5px;font-weight:620;display:inline-flex}.workspace-shell .project-cover-title-h{font-family:var(--font-heading);color:var(--pa-text);margin:0;font-size:clamp(1.9rem,3.4vw,2.7rem);line-height:1.08}.workspace-shell .project-overview-desc{max-width:60ch;color:var(--pa-muted);margin:0;font-size:.95rem;line-height:1.6}.workspace-shell .project-overview-desc.is-empty{color:var(--pa-soft);font-style:italic}.workspace-shell .project-overview-facts{border-top:1px solid var(--pa-border);grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 22px;margin-top:5px;padding-top:20px;display:grid}.workspace-shell .project-overview-facts .fact{flex-direction:column;gap:6px;min-width:0;display:flex}.workspace-shell .project-overview-facts .fact-wide{grid-column:1/-1}.workspace-shell .project-overview-facts .fact-label{letter-spacing:.07em;text-transform:uppercase;color:var(--pa-soft);font-size:.68rem;font-weight:700}.workspace-shell .project-overview-facts .fact-value{color:var(--pa-text);font-size:.92rem}.workspace-shell .project-overview-facts .fact-value.is-empty{color:var(--pa-soft)}.workspace-shell .project-overview-facts .theme-chips.readonly{flex-wrap:wrap;gap:6px;display:flex}.workspace-shell .project-overview-facts .theme-chips.readonly .theme-chip{border:1px solid var(--pa-border);background:var(--pa-panel-soft);color:var(--pa-muted);border-radius:999px;padding:3px 11px;font-size:12.5px;font-weight:560}.workspace-shell .project-overview-facts .fact-progress{flex-direction:column;gap:7px;max-width:460px;display:flex}.workspace-shell .project-overview-facts .fact-progress-text{color:var(--pa-soft);font-size:.8rem}.workspace-shell .project-overview-foot{margin-top:6px;display:flex}.workspace-shell .project-archive-link{font-size:.82rem}@media (max-width:760px){.workspace-shell .project-cover-hero{flex-direction:column;align-items:stretch}.workspace-shell .project-cover-hero-art{width:200px}.workspace-shell .project-cover-hero-art .cover-preview-portrait{max-width:200px}.workspace-shell .project-overview-facts{grid-template-columns:minmax(0,1fr)}}.project-details-grid{grid-template-columns:minmax(0,1fr) 260px;align-items:start;gap:18px;display:grid}.project-details-form{min-width:0}.project-details-side{gap:18px;display:grid;position:sticky;top:12px}.project-details-side .cover-preview-portrait{max-width:260px}.project-details-danger h2{margin:0 0 3px;font-size:15px}.project-details-danger p{color:var(--pa-muted);margin:0;font-size:12.5px}@media (max-width:720px){.project-details-grid{grid-template-columns:minmax(0,1fr)}.project-details-side{position:static}}.left-rail,.editor-pane,.context-panel{background:var(--surface);min-width:0;min-height:0}.left-rail,.context-panel{flex-direction:column;display:flex;overflow:hidden}.left-rail{border-right:1px solid var(--border)}.context-panel{border-left:1px solid var(--border);background:#f0efeb;gap:12px;padding:12px}.primary-nav{border-bottom:1px solid var(--border);background:#f0efeb;gap:4px;padding:14px 12px;display:grid}.nav-item{height:36px;color:var(--text-muted);cursor:pointer;text-align:left;background:0 0;border-radius:7px;align-items:center;gap:9px;padding:0 10px;font-size:13px;font-weight:650;display:flex}.nav-item.active{color:var(--sage-deep);background:#e2e1dc}.nav-glyph{width:8px;height:8px}.chapter-section{background:var(--surface);flex-direction:column;flex:1;min-height:0;padding:14px 14px 20px;display:flex;overflow-y:auto}.section-heading-row,.context-title-row,.editor-toolbar,.editor-footer,.chapter-row-top,.chapter-meta,.chapter-kicker,.tab-row,.entity-row{align-items:center;display:flex}.section-heading-row,.context-title-row,.editor-toolbar,.editor-footer,.chapter-row-top{justify-content:space-between}.section-heading-row .rail-section-title,.context-title-row h2{color:var(--foreground);margin:2px 0 0;font-size:15px;font-weight:720;line-height:1.2}.chapter-list{gap:8px;padding-top:14px;display:grid}.chapter-row{cursor:pointer;text-align:left;background:0 0;border:1px solid #0000;border-radius:7px;gap:8px;width:100%;padding:12px;display:grid}.chapter-row:hover,.chapter-row.active{border-color:var(--border);background:var(--surface-soft)}.chapter-title{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:690;line-height:1.25;overflow:hidden}.chapter-due,.context-title-row span{color:var(--text-soft);font-size:11px;font-weight:650}.chapter-meta,.chapter-kicker{color:var(--text-muted);gap:7px;font-size:12px;line-height:1.3}.status-dot{background:var(--sage);border-radius:50%;flex:none;width:8px;height:8px}.status-dot.revision{background:var(--amber)}.status-dot.queued{background:#6c7e88}.status-dot.draft{background:var(--pa-soft)}.status-dot.doing,.status-dot.converted{background:var(--pa-accent)}.status-dot.open{background:var(--danger)}.status-dot.todo,.status-dot.dismissed{background:var(--pa-soft)}.status-dot.done,.status-dot.resolved{background:var(--pa-border-strong)}.status-dot.drafting{background:var(--pa-soft)}.status-dot.ready,.status-dot.scheduled{background:var(--pa-accent)}.status-dot.posted{background:var(--pa-border-strong)}.status-dot.skipped{background:var(--pa-soft)}.project-card-meta .status-dot.drafting{background:var(--pa-accent)}.project-card-meta .status-dot.revising{box-shadow:inset 0 0 0 2px var(--pa-accent);background:0 0}.project-card-meta .status-dot.paused{background:var(--pa-soft)}.project-card-meta .status-dot.complete{background:var(--pa-border-strong)}.editor-pane{background:var(--surface);flex-direction:column;display:flex;overflow:hidden}.workspace-shell .editor-pane .editor-scroll{overscroll-behavior:contain;scrollbar-gutter:stable both-edges;flex:auto;min-height:0;overflow-y:auto}.workspace-shell .editor-scroll[data-typewriter=on]:before,.workspace-shell .editor-scroll[data-typewriter=on]:after{content:"";pointer-events:none;flex:none;height:45vh;display:block}.workspace-shell .editor-scroll-wrap{flex-direction:column;flex:1 1 0;min-height:0;display:flex;position:relative}.workspace-shell .editor-pane>.editor-toolbar,.workspace-shell .editor-pane>.editor-format-toolbar,.workspace-shell .editor-pane>.editor-footer{flex:none}.workspace-shell .editor-scroll>.document-surface{min-height:0;overflow:visible}.editor-toolbar{border-bottom:1px solid var(--border);background:var(--surface);gap:16px;min-height:58px;padding:10px 16px}.chapter-kicker{flex-wrap:wrap}.format-tools{border:1px solid var(--border);background:var(--surface-soft);border-radius:7px;gap:6px;padding:4px;display:flex}.format-tools button{background:0 0;width:30px;height:30px;font-size:12px}.document-surface{width:min(100%,790px);min-height:0;margin:0 auto;padding:clamp(32px,6vw,72px) clamp(24px,5vw,70px);overflow:auto}.doc-meta{color:var(--sage);margin:0 0 8px;font-size:12px;font-weight:720}.document-surface h1{color:#171717;letter-spacing:0;margin:0;font-size:clamp(34px,4vw,54px);font-weight:760;line-height:1.02}.chapter-summary{max-width:620px;color:var(--text-muted);margin:16px 0 34px;font-size:15px;line-height:1.7}.prose-block{gap:22px;max-width:650px;display:grid}.prose-block p{color:#1f1f1d;font-family:var(--font-reading);margin:0;font-size:19px;line-height:1.85}.editor-footer{border-top:1px solid var(--border);background:var(--surface);min-height:44px;color:var(--text-muted);gap:16px;padding:0 16px;font-size:12px}.tab-row{border:1px solid var(--border);background:var(--surface-soft);border-radius:7px;gap:4px;padding:4px}.context-tab{height:32px;color:var(--text-muted);cursor:pointer;background:0 0;border-radius:6px;flex:1;font-size:12px;font-weight:680}.context-tab.active{background:var(--surface);color:var(--sage-deep);box-shadow:0 6px 16px #0000000f}.context-block,.comment-stack{border:1px solid var(--border);background:var(--surface);border-radius:7px;gap:12px;padding:14px;display:grid}.context-block.warning{background:#f4eee4;border-color:#b9822859}.context-block p,.comment-card p{color:var(--text-muted);margin:0;font-size:13px;line-height:1.55}.entity-list{gap:8px;display:grid}.entity-row{border-bottom:1px solid var(--border);color:#333331;justify-content:space-between;gap:10px;padding:9px 0;font-size:13px;font-weight:650}.entity-row:last-child{border-bottom:0}.entity-row strong{color:var(--text-soft);font-size:11px;font-weight:680}.context-title-row button{color:var(--sage-deep);cursor:pointer;background:0 0;border:0;font-size:12px;font-weight:720}@media (max-width:760px){.workspace-shell{grid-template-rows:var(--pa-shell-row) auto;width:100%;max-width:100%}.quick-open kbd,.workspace-shell .brand-name,.workspace-shell .project-switcher,.workspace-shell .topbar-button:not(.primary){display:none}.workspace-grid{grid-template-columns:1fr;min-height:0}.editor-toolbar,.editor-footer{flex-direction:column;align-items:flex-start;height:auto;padding:12px}.chapter-row-top,.chapter-meta,.chapter-summary,.editor-footer span{min-width:0}.chapter-title,.chapter-summary,.editor-footer span{overflow-wrap:anywhere}.document-surface{width:100%;max-width:100%;margin:0;padding:28px 20px 40px}.document-surface h1{font-size:34px;line-height:1.08}.chapter-summary{font-size:14px;line-height:1.55}.prose-block,.prose-block p{width:100%;max-width:100%}.prose-block p{white-space:normal;overflow-wrap:break-word;font-size:17px;line-height:1.7}}@media (max-width:500px){.document-surface h1{font-size:31px}}.user-menu{justify-content:flex-end;display:flex;position:relative}.account-popover{z-index:20;border:1px solid var(--border);background:var(--surface);border-radius:8px;gap:6px;width:260px;padding:10px;display:grid;position:absolute;top:calc(100% + 10px);right:0;box-shadow:0 10px 28px -6px #1414123d}.account-summary{align-items:center;gap:10px;padding:8px 8px 10px;display:flex}.account-avatar{background:var(--surface-muted);width:36px;height:36px;color:var(--sage-deep);border-radius:8px;flex-shrink:0;place-items:center;font-size:12px;font-weight:760;display:grid}.account-summary div{gap:2px;min-width:0;display:grid}.account-summary strong{color:var(--foreground);font-size:13px;line-height:1.2}.account-summary div>span{color:var(--text-muted);font-size:12px}.account-summary .account-summary-plan{color:var(--text-soft);font-size:11px}.account-summary strong,.account-summary div>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.theme-toggle,.menu-action{width:100%;min-height:38px;color:var(--foreground);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:7px;align-items:center;font-size:13px;font-weight:640;display:flex}.theme-toggle{justify-content:space-between;padding:8px}.theme-toggle span:first-child,.menu-action{gap:9px}.theme-toggle span:first-child{align-items:center;display:inline-flex}.menu-action{padding:0 8px}.theme-toggle:hover,.menu-action:hover{background:var(--surface-soft)}.switch-track{border:1px solid var(--border-strong);background:var(--surface-muted);border-radius:999px;flex:none;align-items:center;width:40px;height:22px;transition:background .16s,border-color .16s;display:inline-flex;position:relative}.switch-thumb{background:var(--surface);border-radius:50%;width:16px;height:16px;transition:transform .16s;position:absolute;left:3px;box-shadow:0 2px 8px #1414122e}.switch-track[data-state=dark]{border-color:var(--sage);background:var(--sage-deep)}.switch-track[data-state=dark] .switch-thumb{transform:translate(17px)}.menu-divider{background:var(--border);height:1px;margin:4px 0}html[data-theme=dark] .workspace-shell,.workspace-shell[data-theme=dark]{--background:#141414;--foreground:#eeece4;--surface:#1c1c1c;--surface-soft:#232323;--surface-muted:#2e2e2e;--border:#373737;--border-strong:#4d4d4d;--text-muted:#b9b8b0;--text-soft:#96958e;--sage:#c8c6bc;--sage-deep:#eeece4;--amber:#b98a52;background:var(--background);color:var(--foreground)}html[data-theme=dark] .workspace-shell .primary-nav,.workspace-shell[data-theme=dark] .primary-nav,html[data-theme=dark] .workspace-shell .quick-open,.workspace-shell[data-theme=dark] .quick-open,html[data-theme=dark] .workspace-shell .project-switcher,.workspace-shell[data-theme=dark] .project-switcher,html[data-theme=dark] .workspace-shell .format-tools,.workspace-shell[data-theme=dark] .format-tools,html[data-theme=dark] .workspace-shell .comment-stack,.workspace-shell[data-theme=dark] .comment-stack{background:var(--surface-soft)}html[data-theme=dark] .workspace-shell .avatar,.workspace-shell[data-theme=dark] .avatar,html[data-theme=dark] .workspace-shell .account-avatar,.workspace-shell[data-theme=dark] .account-avatar{color:#eeece4;background:#323232}html[data-theme=dark] .workspace-shell .topbar-button,.workspace-shell[data-theme=dark] .topbar-button,html[data-theme=dark] .workspace-shell .icon-button,.workspace-shell[data-theme=dark] .icon-button,html[data-theme=dark] .workspace-shell .format-tools button,.workspace-shell[data-theme=dark] .format-tools button,html[data-theme=dark] .workspace-shell .context-block,.workspace-shell[data-theme=dark] .context-block,html[data-theme=dark] .workspace-shell .comment-card,.workspace-shell[data-theme=dark] .comment-card,html[data-theme=dark] .workspace-shell .tab-row,.workspace-shell[data-theme=dark] .tab-row,html[data-theme=dark] .workspace-shell .account-popover,.workspace-shell[data-theme=dark] .account-popover{background:var(--surface);color:var(--foreground)}html[data-theme=dark] .workspace-shell .nav-item.active,.workspace-shell[data-theme=dark] .nav-item.active,html[data-theme=dark] .workspace-shell .context-tab.active,.workspace-shell[data-theme=dark] .context-tab.active,html[data-theme=dark] .workspace-shell .chapter-row:hover,.workspace-shell[data-theme=dark] .chapter-row:hover,html[data-theme=dark] .workspace-shell .chapter-row.active,.workspace-shell[data-theme=dark] .chapter-row.active,html[data-theme=dark] .workspace-shell .theme-toggle:hover,.workspace-shell[data-theme=dark] .theme-toggle:hover,html[data-theme=dark] .workspace-shell .menu-action:hover,.workspace-shell[data-theme=dark] .menu-action:hover{color:var(--sage-deep);background:#2e2e2e}html[data-theme=dark] .workspace-shell .document-surface h1,.workspace-shell[data-theme=dark] .document-surface h1,html[data-theme=dark] .workspace-shell .prose-block p,.workspace-shell[data-theme=dark] .prose-block p,html[data-theme=dark] .workspace-shell .entity-row,.workspace-shell[data-theme=dark] .entity-row,html[data-theme=dark] .workspace-shell .chapter-title,.workspace-shell[data-theme=dark] .chapter-title,html[data-theme=dark] .workspace-shell .brand-name,.workspace-shell[data-theme=dark] .brand-name{color:var(--foreground)}.public-shell,.auth-shell{background:var(--background);min-height:100vh;color:var(--foreground)}.public-shell{grid-template-rows:minmax(0,1fr) auto;display:grid}.public-hero{align-content:center;gap:32px;width:min(100%,960px);margin:0 auto;padding:56px 24px;display:grid}.public-brand{width:fit-content}.public-copy{gap:14px;max-width:720px;display:grid}.public-copy h1{color:var(--foreground);letter-spacing:0;overflow-wrap:break-word;margin:0;font-size:clamp(52px,6.5vw,92px);font-weight:780;line-height:.95}.public-copy p:last-child{max-width:620px;color:var(--text-muted);margin:0;font-size:18px;line-height:1.7}.public-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.public-feature-strip{border-top:1px solid var(--border);background:var(--surface-soft);grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.public-feature-strip span{border-right:1px solid var(--border);color:var(--text-muted);text-align:center;padding:18px 20px;font-size:13px;font-weight:700}.public-feature-strip span:last-child{border-right:0}.public-trust-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;width:min(960px,100vw - 48px);margin:28px auto 0;display:grid}.public-trust-grid article{border:1px solid var(--border);background:var(--surface);border-radius:8px;align-content:start;gap:8px;padding:16px;display:grid}.public-trust-grid h2,.trust-copy h2{color:var(--foreground);margin:0;font-size:18px;line-height:1.2}.public-trust-grid p,.trust-copy p{color:var(--text-muted);margin:0;font-size:13px;line-height:1.6}.public-link-row{flex-wrap:wrap;gap:14px;margin-top:14px;display:flex}.trust-copy a{color:var(--foreground);font-weight:500}.auth-showcase-shell{width:min(100%,1080px);margin:0 auto}@media (min-width:960px){.auth-showcase-shell{grid-template-columns:minmax(0,1.05fr) minmax(0,430px);align-items:center;gap:48px}}.auth-product-panel{display:none}@media (min-width:960px){.auth-product-panel{align-content:center;gap:24px;display:grid}}.auth-product-copy{gap:10px;max-width:460px;display:grid}.auth-product-copy h2{color:var(--foreground);margin:0;font-size:30px;font-weight:740;line-height:1.12}.auth-product-copy p{color:var(--text-muted);margin:0;font-size:15px;line-height:1.6}.auth-product-notes{flex-wrap:wrap;gap:8px;display:flex}.auth-product-notes span{border:1px solid var(--border);color:var(--text-muted);border-radius:999px;padding:6px 12px;font-size:12px;font-weight:600}.trust-copy{gap:10px;display:grid}.auth-shell{place-items:center;padding:24px;display:grid}.auth-card{border:1px solid var(--border);background:var(--surface);border-radius:8px;gap:16px;width:min(100%,430px);padding:24px;display:grid;box-shadow:0 12px 32px -8px #1414121a}.auth-card-heading{gap:8px;margin-bottom:6px;display:grid}.auth-card-heading h1,.empty-workspace-panel h1,.empty-workspace-panel h2,.ui-empty-state h1,.ui-empty-state h2{color:var(--foreground);letter-spacing:0;margin:0;font-size:28px;font-weight:760;line-height:1.08}.auth-card-heading p,.empty-workspace-panel p,.ui-empty-state p{color:var(--text-muted);margin:0;font-size:14px;line-height:1.6}.workspace-shell .ui-empty-state{align-content:start;justify-items:start;gap:12px;display:grid}.field-stack{color:var(--foreground);gap:7px;font-size:13px;font-weight:680;display:grid}.field-stack input,.inline-create-form input,.empty-create-form input{border:1px solid var(--border);background:var(--surface-soft);min-width:0;height:42px;color:var(--foreground);border-radius:7px;outline:0;padding:0 12px;font-size:13px}.field-stack input:focus,.inline-create-form input:focus,.empty-create-form input:focus{border-color:var(--border-strong);background:var(--surface)}.field-stack small,.form-message{font-size:12px;line-height:1.4}.field-stack small{color:var(--danger)}.form-message{color:var(--text-muted);margin:0}.form-message.error{color:var(--danger)}.form-message.compact{margin-top:8px}.auth-consent-note{color:var(--text-muted);text-align:center;margin:-4px 0 0;font-size:12px;line-height:1.45}.auth-consent-check{color:var(--text-muted);cursor:pointer;align-items:flex-start;gap:9px;font-size:13px;line-height:1.45;display:flex}.auth-consent-check input{width:16px;height:16px;accent-color:var(--sage-deep);cursor:pointer;flex:none;margin-top:2px}.auth-consent-note a,.auth-consent-check a{color:var(--foreground);text-underline-offset:2px;text-decoration:underline}.auth-message-live:empty{display:none}.auth-inbox-mark{color:var(--amber);margin-bottom:2px;display:block}.auth-inbox .auth-card-heading h1:focus,.auth-inbox .auth-card-heading h1:focus-visible{outline:none}.auth-inbox-address{color:var(--foreground);overflow-wrap:anywhere;font-weight:700}.auth-inbox-hint{color:var(--text-soft);margin:-4px 0 0;font-size:12px;line-height:1.45}.auth-inbox-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.auth-inbox-link{color:var(--foreground);font:inherit;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;padding:0;font-size:13px;font-weight:620;text-decoration:underline}.auth-inbox-link:hover:not(:disabled){color:var(--amber)}.auth-inbox-link:disabled{color:var(--text-soft);cursor:wait;text-decoration:none}.auth-inbox-sep{color:var(--text-soft);font-size:13px}.auth-submit{border:1px solid var(--sage-deep);background:var(--sage-deep);min-height:42px;color:var(--surface);cursor:pointer;border-radius:7px;justify-content:center;align-items:center;padding:0 16px;font-size:13px;font-weight:720;text-decoration:none;display:inline-flex}.auth-submit:disabled{cursor:wait;opacity:.65}.auth-switch{color:var(--text-muted);text-align:center;margin:0;font-size:13px}.auth-switch a,.secondary-link{color:var(--foreground);font-weight:720;text-decoration:none}.inline-create-form{grid-template-columns:minmax(0,1fr) auto;gap:8px;padding-top:14px;display:grid}.empty-workspace-panel{align-content:center;gap:14px;width:min(100%,520px);margin:auto;padding:36px 28px;display:grid}.empty-create-form{grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-top:8px;display:grid}.editor-surface{align-content:start;gap:18px;display:grid}.chapter-editor-content{color:#1f1f1d;max-width:650px;min-height:420px;font-family:var(--font-reading);outline:0;font-size:19px;line-height:1.85}.chapter-editor-content p,.chapter-editor-content h2{margin:0 0 22px}.chapter-editor-content h2{color:var(--foreground);font-family:var(--font-reading);font-size:26px;line-height:1.2}.chapter-editor-content .is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;height:0;color:var(--text-soft);pointer-events:none}html[data-theme=dark] .workspace-shell .public-shell,.workspace-shell[data-theme=dark] .public-shell,html[data-theme=dark] .workspace-shell .auth-shell,.workspace-shell[data-theme=dark] .auth-shell,html[data-theme=dark] .workspace-shell .auth-card,.workspace-shell[data-theme=dark] .auth-card,html[data-theme=dark] .workspace-shell .chapter-editor-content,.workspace-shell[data-theme=dark] .chapter-editor-content{color:var(--foreground)}html[data-theme=dark] .workspace-shell .field-stack input,.workspace-shell[data-theme=dark] .field-stack input,html[data-theme=dark] .workspace-shell .inline-create-form input,.workspace-shell[data-theme=dark] .inline-create-form input,html[data-theme=dark] .workspace-shell .empty-create-form input,.workspace-shell[data-theme=dark] .empty-create-form input{background:var(--surface-soft);color:var(--foreground)}html[data-theme=dark] .workspace-shell .auth-submit,.workspace-shell[data-theme=dark] .auth-submit{color:#171717;background:#d8d5ca;border-color:#d8d5ca}html[data-theme=dark] .workspace-shell .chapter-editor-content,.workspace-shell[data-theme=dark] .chapter-editor-content,html[data-theme=dark] .workspace-shell .chapter-editor-content h2,.workspace-shell[data-theme=dark] .chapter-editor-content h2{color:var(--foreground)}@media (max-width:760px){.public-trust-grid{grid-template-columns:1fr}.public-feature-strip{grid-template-columns:repeat(2,1fr)}.empty-create-form{grid-template-columns:1fr}.chapter-editor-content{min-height:320px;font-size:17px;line-height:1.7}}.chapter-row{gap:10px}.chapter-row-main,.chapter-row-actions button,.archive-toggle,.panel-button{font:inherit;border:0}.chapter-row-main{width:100%;min-width:0;color:inherit;cursor:pointer;text-align:left;background:0 0;gap:8px;padding:0;display:grid}.chapter-row-actions{gap:6px;display:flex}.chapter-row-actions button,.panel-button{border:1px solid var(--border);background:var(--surface);min-height:30px;color:var(--text-muted);cursor:pointer;border-radius:7px;padding:0 9px;font-size:12px;font-weight:700}.surface-close{border:1px solid var(--border);background:var(--surface);width:34px;height:34px;color:var(--text-muted);cursor:pointer;border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.surface-close:hover{color:var(--foreground);background:var(--surface-soft)}.mirror-folder-row{align-items:center;gap:10px;min-width:0;display:flex}.mirror-folder-path{font-family:var(--font-mono);color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12px;overflow:hidden}.mirror-toggle{cursor:pointer;align-items:center;gap:9px;font-size:13.5px;display:inline-flex}.mirror-toggle input{width:15px;height:15px;accent-color:var(--amber)}.mirror-toggle input:disabled{cursor:not-allowed}.chapter-row-actions button:disabled{cursor:not-allowed;opacity:.45}.archive-toggle{color:var(--text-muted);align-items:center;gap:6px;font-size:12px;font-weight:700;display:inline-flex}.archive-toggle input{width:14px;height:14px;accent-color:var(--sage-deep)}.save-state.error{color:#9a402d;font-weight:740}.target-meter{background:var(--surface-muted);border-radius:999px;width:min(220px,36vw);height:8px;display:block;position:relative;overflow:hidden}.target-meter span{border-radius:inherit;background:var(--sage-deep);height:100%;display:block}.chapter-details-panel,.version-panel{align-content:start}.metadata-form{gap:12px;display:grid}.metadata-form-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.metadata-form-actions .panel-button{flex:120px;min-width:0}.metadata-form label{color:var(--foreground);gap:6px;font-size:12px;font-weight:720;display:grid}.metadata-form input,.metadata-form select,.metadata-form textarea{border:1px solid var(--border);background:var(--surface-soft);width:100%;min-width:0;color:var(--foreground);border-radius:7px;outline:0;padding:9px 10px;font-size:13px;line-height:1.35}.theme-field{flex-direction:column;gap:8px;display:flex}.theme-chips{flex-wrap:wrap;gap:6px;display:flex}.theme-chip{border:1px solid var(--border);background:var(--surface-soft);color:var(--foreground);border-radius:999px;align-items:center;gap:5px;padding:3px 5px 3px 11px;font-size:12.5px;font-weight:560;display:inline-flex}.theme-chip-remove{width:17px;height:17px;color:var(--text-soft);cursor:pointer;background:0 0;border:0;border-radius:50%;justify-content:center;align-items:center;padding:0;font-size:15px;line-height:1;transition:background .14s,color .14s;display:inline-flex}.theme-chip-remove:hover{background:var(--surface-muted);color:var(--foreground)}.metadata-form label.atlas-flag{cursor:pointer;grid-template-columns:auto 1fr;grid-auto-flow:column;align-items:start;gap:10px}.metadata-form label.atlas-flag input[type=checkbox]{width:16px;min-width:16px;height:16px;accent-color:var(--pa-accent);cursor:pointer;margin-top:1px;padding:0}.metadata-form .atlas-flag-copy{gap:2px;display:grid}.metadata-form .atlas-flag-title{color:var(--foreground);font-size:12px;font-weight:720}.metadata-form .atlas-flag-hint{color:var(--pa-muted);font-size:11.5px;font-weight:500;line-height:1.35}.metadata-form .release-checklist-fields{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px 16px;display:grid}.metadata-form .release-checklist-fields label.archive-toggle{align-items:center;gap:8px;display:flex}.metadata-form .release-checklist-fields input[type=checkbox]{width:16px;min-width:16px;height:16px;min-height:16px;accent-color:var(--pa-accent);padding:0}.workspace-shell .release-copy-panel label{color:var(--pa-text);gap:6px;font-size:12px;font-weight:720;display:grid}.workspace-shell .release-copy-panel input,.workspace-shell .release-copy-panel textarea{border:1px solid var(--pa-border);background:var(--pa-panel-soft);width:100%;min-width:0;color:var(--pa-text);border-radius:7px;padding:9px 10px;font-size:13px;line-height:1.4}.workspace-shell .release-copy-panel textarea{resize:vertical}.metadata-form-row{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:12px;display:grid}@media (max-width:560px){.metadata-form-row{grid-template-columns:1fr}}.atlas-modal-title{align-items:center;gap:10px;display:inline-flex}.atlas-modal-title-dot{background:var(--entity-color,var(--pa-accent));border-radius:50%;flex:none;width:10px;height:10px}.metadata-form textarea{resize:vertical}.panel-button{justify-content:center;align-items:center;gap:7px;min-height:36px;text-decoration:none;display:inline-flex}.panel-button.primary{border-color:var(--sage-deep);background:var(--sage-deep);color:var(--surface)}.panel-button.danger{color:#8b3e2f;border-color:#c8beb1}.panel-message{color:var(--text-muted);margin:0;font-size:12px}.version-list{gap:10px;display:grid}.version-card{border:1px solid var(--border);background:var(--surface-soft);border-radius:7px;gap:9px;padding:11px;display:grid}.version-card div{justify-content:space-between;align-items:center;gap:10px;display:flex}.version-card strong{color:var(--foreground);font-size:12px}.version-card span{color:var(--text-soft);font-size:11px;font-weight:700}.version-card p{color:var(--text-muted);margin:0;font-size:12px;line-height:1.5}.workspace-shell .atlas-linkch-num{background:var(--pa-panel-muted,var(--pa-panel));color:var(--pa-soft);letter-spacing:.02em;border-radius:5px;margin-right:7px;padding:1px 6px;font-size:10px;font-weight:780;display:inline-block}.workspace-shell .atlas-linkch-open{color:var(--pa-accent);white-space:nowrap;flex:none;font-size:11.5px;font-weight:640;text-decoration:none}.workspace-shell .atlas-linkch-open:hover{text-decoration:underline}html[data-theme=dark] .workspace-shell .chapter-row-actions button,.workspace-shell[data-theme=dark] .chapter-row-actions button,html[data-theme=dark] .workspace-shell .metadata-form input,.workspace-shell[data-theme=dark] .metadata-form input,html[data-theme=dark] .workspace-shell .metadata-form select,.workspace-shell[data-theme=dark] .metadata-form select,html[data-theme=dark] .workspace-shell .metadata-form textarea,.workspace-shell[data-theme=dark] .metadata-form textarea,html[data-theme=dark] .workspace-shell .version-card,.workspace-shell[data-theme=dark] .version-card{background:var(--surface-soft);color:var(--foreground)}html[data-theme=dark] .workspace-shell .panel-button.primary,.workspace-shell[data-theme=dark] .panel-button.primary{border-color:var(--pa-accent-strong);background:var(--pa-accent-strong);color:var(--pa-bg)}html[data-theme=dark] .workspace-shell .panel-button.primary:hover,.workspace-shell[data-theme=dark] .panel-button.primary:hover{border-color:var(--pa-accent-strong);background:var(--pa-accent-strong);opacity:.88}html[data-theme=dark] .workspace-shell .target-meter span,.workspace-shell[data-theme=dark] .target-meter span{color:#171717;background:#d8d5ca;border-color:#d8d5ca}.workspace-shell[data-theme=light],.workspace-shell{--background:#f4f3ef;--foreground:#141414;--surface:#fbfaf6;--surface-soft:#eeede9;--surface-muted:#e3e2dd;--border:#d6d4ce;--border-strong:#bdbbb4;--text-muted:#60605d;--text-soft:#85847f;--sage:#3d3d3a;--sage-deep:#1d1d1b;--amber:#8e713d}.workspace-shell .topbar{background:#fbfaf6f5}.workspace-shell .brand-mark,.workspace-shell .topbar-button.primary{color:#fbfaf6;background:#1d1d1b;border-color:#1d1d1b}.workspace-shell .quick-open,.workspace-shell .primary-nav,.workspace-shell .context-panel,.workspace-shell .project-switcher,.workspace-shell .format-tools,.workspace-shell .comment-stack{background:var(--surface-soft)}.workspace-shell .avatar,.workspace-shell .account-avatar{background:var(--surface-muted);color:var(--foreground)}.workspace-shell .nav-item.active,.workspace-shell .context-tab.active,.workspace-shell .chapter-row:hover,.workspace-shell .chapter-row.active{color:#141414;background:#e2e1dc}.workspace-shell .context-block.warning{background:#f1eee7;border-color:#cfc8b9}html[data-theme=dark] .workspace-shell,.workspace-shell[data-theme=dark]{--background:#151515;--foreground:#eeece4;--surface:#1d1d1d;--surface-soft:#242424;--surface-muted:#313131;--border:#3b3b3b;--border-strong:#4d4d4d;--text-muted:#b9b8b0;--text-soft:#939393;--sage:#cfcbc0;--sage-deep:#f0ede4;--amber:#a98b55}html[data-theme=dark] .workspace-shell .topbar,.workspace-shell[data-theme=dark] .topbar,html[data-theme=dark] .workspace-shell .workspace-grid,.workspace-shell[data-theme=dark] .workspace-grid,html[data-theme=dark] .workspace-shell .left-rail,.workspace-shell[data-theme=dark] .left-rail,html[data-theme=dark] .workspace-shell .editor-pane,.workspace-shell[data-theme=dark] .editor-pane,html[data-theme=dark] .workspace-shell .editor-toolbar,.workspace-shell[data-theme=dark] .editor-toolbar,html[data-theme=dark] .workspace-shell .editor-footer,.workspace-shell[data-theme=dark] .editor-footer,html[data-theme=dark] .workspace-shell .chapter-section,.workspace-shell[data-theme=dark] .chapter-section,html[data-theme=dark] .workspace-shell .document-surface,.workspace-shell[data-theme=dark] .document-surface{background:var(--surface)}html[data-theme=dark] .workspace-shell .quick-open,.workspace-shell[data-theme=dark] .quick-open,html[data-theme=dark] .workspace-shell .primary-nav,.workspace-shell[data-theme=dark] .primary-nav,html[data-theme=dark] .workspace-shell .project-switcher,.workspace-shell[data-theme=dark] .project-switcher,html[data-theme=dark] .workspace-shell .format-tools,.workspace-shell[data-theme=dark] .format-tools,html[data-theme=dark] .workspace-shell .comment-stack,.workspace-shell[data-theme=dark] .comment-stack{background:var(--surface-soft)}html[data-theme=dark] .workspace-shell .brand-mark,.workspace-shell[data-theme=dark] .brand-mark{color:#171717;background:#eeece4}html[data-theme=dark] .workspace-shell .topbar-button.primary,.workspace-shell[data-theme=dark] .topbar-button.primary{color:#171717;background:#d8d5ca;border-color:#d8d5ca}html[data-theme=dark] .workspace-shell .avatar,.workspace-shell[data-theme=dark] .avatar,html[data-theme=dark] .workspace-shell .account-avatar,.workspace-shell[data-theme=dark] .account-avatar{background:var(--surface-muted);color:var(--foreground)}html[data-theme=dark] .workspace-shell .nav-item.active,.workspace-shell[data-theme=dark] .nav-item.active,html[data-theme=dark] .workspace-shell .context-tab.active,.workspace-shell[data-theme=dark] .context-tab.active,html[data-theme=dark] .workspace-shell .chapter-row:hover,.workspace-shell[data-theme=dark] .chapter-row:hover,html[data-theme=dark] .workspace-shell .chapter-row.active,.workspace-shell[data-theme=dark] .chapter-row.active,html[data-theme=dark] .workspace-shell .theme-toggle:hover,.workspace-shell[data-theme=dark] .theme-toggle:hover,html[data-theme=dark] .workspace-shell .menu-action:hover,.workspace-shell[data-theme=dark] .menu-action:hover{background:var(--pa-panel-muted);color:var(--foreground)}html[data-theme=dark] .workspace-shell .context-block.warning,.workspace-shell[data-theme=dark] .context-block.warning{background:#252525;border-color:#5c5447}html[data-theme=dark] .workspace-shell .switch-track[data-state=dark],.workspace-shell[data-theme=dark] .switch-track[data-state=dark]{background:#cfcbc0;border-color:#cfcbc0}.brand-lockup,.chapter-row{color:inherit;text-decoration:none}.library-pane{box-sizing:border-box;padding:0;display:block;overflow:auto}.library-dashboard{box-sizing:border-box;align-content:start;gap:18px;width:100%;min-width:0;min-height:100%;margin:0;display:grid}.library-header{justify-content:space-between;align-items:end;gap:18px;padding:4px 2px 0;display:flex}.library-header h1{color:var(--foreground);letter-spacing:0;margin:0;font-size:30px;line-height:1.05}.library-header p{color:var(--text-muted);margin:8px 0 0;font-size:13px}.library-create-form,.library-controls{grid-template-columns:minmax(180px,1.3fr) minmax(120px,.8fr) minmax(120px,.6fr) auto;align-items:center;gap:10px;display:grid}.library-controls{grid-template-columns:minmax(220px,1fr) minmax(130px,180px) minmax(130px,180px)}.library-create-form input,.library-create-form select,.library-controls select,.library-search{border:1px solid var(--border);background:var(--surface-soft);min-height:40px;color:var(--foreground);font:inherit;border-radius:7px}.library-create-form input,.library-create-form select,.library-controls select{width:100%;padding:0 11px}.library-create-message{min-height:18px;margin:-4px 2px 0}.library-search{align-items:center;gap:8px;padding:0 11px;display:flex}.library-search input{width:100%;min-width:0;height:100%;color:inherit;font:inherit;background:0 0;border:0;outline:0;line-height:1.2}.library-search svg{flex:none}.project-card-grid{box-sizing:border-box;grid-template-columns:repeat(auto-fill,minmax(216px,1fr));align-items:start;gap:26px 20px;width:100%;min-width:0;max-width:100%;display:grid}@media (max-width:560px){.project-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px}}.empty-action-row{flex-wrap:wrap;justify-content:center;gap:10px;margin-top:6px;display:flex}.project-card{box-sizing:border-box;background:0 0;border:0;flex-direction:column;gap:11px;min-width:0;padding:0;display:flex;position:relative}.project-card-cover-wrap{min-width:0;position:relative}.project-card-cover-button{cursor:pointer;background:0 0;border:0;border-radius:6px;width:100%;padding:0;display:block;position:relative}.project-card-cover-button .project-cover{transition:transform .14s,box-shadow .14s}.project-card-cover-button:hover .project-cover{transform:translateY(-3px);box-shadow:0 12px 26px #0000004d}.project-card-cover-button:focus-visible{outline:2px solid var(--project-accent,var(--sage-deep));outline-offset:3px}.project-cover-tag{color:#faf8f4;letter-spacing:.03em;text-transform:uppercase;background:#141311d1;border-radius:999px;padding:3px 8px;font-size:10px;font-weight:760;position:absolute;top:8px;left:8px}.project-cover-tag.archived{background:#604a3eeb}.project-card-body{flex-direction:column;gap:6px;min-width:0;display:flex}.project-card[data-accent=graphite]{--project-accent:#1d1d1b}.project-card[data-accent=clay]{--project-accent:#8f5d4d}.project-card[data-accent=moss]{--project-accent:#68715b}.project-card[data-accent=ink]{--project-accent:#49556b}.project-card[data-accent=ochre]{--project-accent:#9a7a42}.project-card-topline,.project-card-meta,.project-card-footer,.project-card-footer div{align-items:center;gap:8px;display:flex}.project-card-topline,.project-card-meta,.project-card-footer{flex-wrap:wrap;justify-content:space-between}.project-card-topline span:not(.project-accent),.project-card-meta span{color:var(--text-muted);text-transform:uppercase;font-size:11px;font-weight:760}.project-card h2{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.workspace-shell .project-card-body .project-card-meta{flex-wrap:nowrap;justify-content:flex-start}.workspace-shell .project-card-body .project-card-meta span{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}.workspace-shell .project-card-meta .project-card-status-dot{background:0 0;border:0;flex:none;margin:-2px;padding:2px;display:inline-flex}.workspace-shell .project-card-meta .project-card-sr{background:0 0;border:0;padding:0}.project-card-sr{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.workspace-shell .project-card-continue{min-width:0;color:var(--pa-soft);cursor:pointer;text-align:left;background:0 0;border:0;align-items:center;gap:6px;padding:0;font-family:inherit;font-size:11.5px;display:flex}.workspace-shell .project-card-continue:hover{color:var(--pa-text)}.workspace-shell .project-card-continue svg{flex:none}.workspace-shell .project-card-continue-text{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.workspace-shell .project-card-continue-age{color:var(--pa-soft);flex:none;margin-left:auto;padding-left:8px;font-size:10.5px}.project-card-menu{z-index:3;opacity:0;transition:opacity .14s;position:absolute;top:8px;right:8px}.project-card:hover .project-card-menu,.project-card:focus-within .project-card-menu{opacity:1}.project-card-menu:has([aria-expanded=true]){opacity:1}@media (hover:none){.project-card-menu{opacity:1}}.project-card-menu-trigger{color:#faf8f4;cursor:pointer;background:#141311b8;border:0;border-radius:999px;justify-content:center;align-items:center;width:28px;height:28px;padding:0;transition:background .14s;display:inline-flex}.project-card-menu-trigger:hover{background:#141311e6}.project-card p{min-height:42px;color:var(--text-muted);margin:0;font-size:13px;line-height:1.55}.project-card-progress{color:var(--text-muted);grid-template-columns:1fr auto;gap:8px;font-size:12px;font-weight:720;display:grid}.project-card-progress div{background:var(--surface-muted);border-radius:999px;grid-column:1/-1;height:8px;overflow:hidden}.project-card-progress div span{border-radius:inherit;background:var(--project-accent,var(--sage-deep));height:100%;display:block}.project-card-footer>span{color:var(--text-soft);font-size:12px}.project-accent{border:1px solid var(--border-strong);background:#1d1d1b;border-radius:999px;flex:none;width:12px;height:12px;display:inline-block}.project-accent.clay{background:#8f5d4d}.project-accent.moss{background:#68715b}.project-accent.ink{background:#49556b}.project-accent.ochre{background:#9a7a42}.library-rail-list,.library-stat-stack{gap:9px;display:grid}.library-rail-list{margin-top:10px}.library-rail-project{width:100%;color:inherit;text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;grid-template-columns:auto 1fr;align-items:center;gap:9px;padding:8px;display:grid}.library-rail-project:hover{border-color:var(--border);background:var(--surface-soft)}.library-rail-project span:last-child{gap:2px;min-width:0;display:grid}.library-rail-project strong,.library-rail-project small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.library-rail-project strong{color:var(--foreground);font-size:13px}.library-rail-project small,.library-stat-stack span{color:var(--text-muted);font-size:12px}.library-stat-stack strong{color:var(--foreground)}.workspace-shell .welcome-overlay{z-index:60;background:var(--pa-bg);place-items:center;padding:24px;display:grid;position:fixed;inset:0;overflow-y:auto}@supports (color:color-mix(in lab, red, red)){.workspace-shell .welcome-overlay{background:color-mix(in srgb, var(--pa-bg) 72%, #0009)}}.workspace-shell .welcome-overlay{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.workspace-shell .welcome-modal{border:1px solid var(--pa-border);border-radius:var(--pa-radius-lg);background:var(--pa-panel);gap:22px;width:min(560px,100%);margin:auto;padding:32px;display:grid;box-shadow:0 24px 60px -12px #00000073}.workspace-shell .welcome-head{gap:8px;display:grid}.workspace-shell .welcome-head h1{font-family:var(--font-heading,Georgia, serif);color:var(--pa-text);margin:0;font-size:1.5rem;line-height:1.2}.workspace-shell .welcome-privacy{color:var(--pa-muted);margin:0;font-size:.9rem;line-height:1.5}.workspace-shell .welcome-q{border:0;gap:13px;margin:0;padding:0;display:grid}.workspace-shell .welcome-q-label{color:var(--pa-text);margin:0;font-size:.9rem;font-weight:640}.workspace-shell .welcome-optional{color:var(--pa-soft);margin-left:4px;font-size:.78rem;font-weight:500}.workspace-shell .welcome-chips{flex-wrap:wrap;gap:8px;display:flex}.workspace-shell .welcome-chip{border:1px solid var(--pa-border);background:var(--pa-panel-soft);color:var(--pa-muted);transition:border-color var(--pa-transition), background var(--pa-transition), color var(--pa-transition);border-radius:999px;padding:8px 13px;font-size:.85rem;font-weight:560}.workspace-shell .welcome-chip:hover{border-color:var(--pa-border-strong);color:var(--pa-text)}.workspace-shell .welcome-chip.active{border-color:var(--pa-accent-strong);background:var(--pa-accent-strong)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .welcome-chip.active{background:color-mix(in srgb, var(--pa-accent-strong) 16%, var(--pa-panel-soft))}}.workspace-shell .welcome-chip.active{color:var(--pa-text)}.workspace-shell .welcome-actions{justify-content:space-between;align-items:center;gap:12px;margin-top:4px;display:flex}.workspace-shell .welcome-skip{color:var(--pa-muted);padding:8px 6px;font-size:.88rem;font-weight:560}.workspace-shell .welcome-skip:hover{color:var(--pa-text);text-underline-offset:2px;text-decoration:underline}.workspace-shell .welcome-continue{border-radius:var(--pa-radius-md);background:var(--pa-accent-fill);color:var(--pa-on-accent);padding:10px 20px;font-size:.9rem;font-weight:640}.workspace-shell .welcome-continue:hover{background:var(--pa-accent-fill-hover)}.starter-workspace-panel{text-align:center;align-content:center;justify-items:center;gap:22px;width:min(680px,100%);min-height:100%;margin:0 auto;padding:24px 0 48px;display:grid}.starter-workspace-panel .starter-copy p:not(.micro-label){margin:0 auto}.starter-workspace-panel .starter-format-grid{width:100%}.starter-import-row{justify-items:center;gap:12px;margin-top:6px;display:grid}.starter-import-row>p{color:var(--text-muted);margin:0;font-size:13px;line-height:1.5}.starter-import-actions{justify-content:center}.starter-copy{gap:8px;display:grid}.starter-copy h1{color:var(--foreground);letter-spacing:0;margin:0;font-size:36px;line-height:1.05}.starter-copy p:not(.micro-label){max-width:620px;color:var(--text-muted);margin:0;line-height:1.6}.starter-format-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:620px;display:grid}.workspace-shell .starter-format-card{text-align:left;border:1px solid var(--pa-border);background:var(--pa-panel);color:var(--foreground);font:inherit;cursor:pointer;border-radius:14px;flex-direction:column;align-items:flex-start;gap:6px;padding:18px 18px 16px;display:flex}.workspace-shell .starter-format-card:hover{border-color:var(--pa-border-strong)}.workspace-shell .starter-format-card:disabled{cursor:default;opacity:.55}.starter-format-card strong{font-size:15px;font-weight:720}.starter-format-card span{color:var(--text-muted);font-size:13px;line-height:1.5}@media (max-width:560px){.starter-format-grid{grid-template-columns:minmax(0,1fr)}}.workspace-shell .getting-started-card{gap:9px;margin:10px 0;padding:12px;display:grid}.getting-started-card .context-title-row h2{font-family:var(--font-sans);letter-spacing:0;margin:0;font-size:13px;font-weight:690;line-height:1.25}.getting-started-list{gap:7px;margin:0;padding:0;list-style:none;display:grid}.getting-started-item{color:var(--text-muted);align-items:center;gap:7px;font-size:12px;line-height:1.3;display:flex}.getting-started-item.done{color:var(--text-soft)}.getting-started-check{border:1px solid var(--pa-border-strong);width:14px;height:14px;color:var(--text-soft);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.getting-started-item.done .getting-started-check{border-color:#0000}.getting-started-dismiss{color:var(--text-soft);font:inherit;cursor:pointer;text-underline-offset:3px;background:0 0;border:0;justify-self:start;padding:0;font-size:11px;text-decoration:underline}.getting-started-dismiss:hover{color:var(--text-muted)}.account-danger-zone{border:1px solid var(--pa-border);border-radius:var(--pa-radius-md);margin-top:6px;padding:12px 14px}.account-danger-zone summary{cursor:pointer;gap:2px;list-style:none;display:grid}.account-danger-zone summary::-webkit-details-marker{display:none}.account-danger-zone summary strong{font-size:14px;font-weight:690}.account-danger-zone[open] summary{margin-bottom:12px}.account-danger-note{color:var(--text-muted);margin:0;font-size:13px;line-height:1.55}.starter-trust-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.starter-trust-grid span,.starter-nudge{border:1px solid var(--border);background:var(--surface-soft);color:var(--text-muted);border-radius:8px}.starter-trust-grid span{padding:12px;font-size:12px;font-weight:680}.starter-nudge{justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;display:flex}.starter-nudge strong{color:var(--foreground);font-size:14px;line-height:1.4;display:block}.starter-nudge p{color:var(--text-muted);margin:4px 0 0;font-size:12px;line-height:1.5}.library-empty{min-height:220px}html[data-theme=dark] .workspace-shell .starter-workspace-form input,.workspace-shell[data-theme=dark] .starter-workspace-form input,html[data-theme=dark] .workspace-shell .starter-workspace-form select,.workspace-shell[data-theme=dark] .starter-workspace-form select,html[data-theme=dark] .workspace-shell .starter-workspace-form,.workspace-shell[data-theme=dark] .starter-workspace-form,html[data-theme=dark] .workspace-shell .starter-trust-grid span,.workspace-shell[data-theme=dark] .starter-trust-grid span,html[data-theme=dark] .workspace-shell .starter-nudge,.workspace-shell[data-theme=dark] .starter-nudge,html[data-theme=dark] .workspace-shell .library-create-form input,.workspace-shell[data-theme=dark] .library-create-form input,html[data-theme=dark] .workspace-shell .library-create-form select,.workspace-shell[data-theme=dark] .library-create-form select,html[data-theme=dark] .workspace-shell .library-controls select,.workspace-shell[data-theme=dark] .library-controls select,html[data-theme=dark] .workspace-shell .library-search,.workspace-shell[data-theme=dark] .library-search,html[data-theme=dark] .workspace-shell .project-card,.workspace-shell[data-theme=dark] .project-card{background:var(--surface-soft);color:var(--foreground)}@media (max-width:980px){.library-pane{padding:0}.library-create-form,.library-controls,.starter-workspace-form,.starter-trust-grid{grid-template-columns:1fr}.starter-nudge{flex-direction:column;align-items:stretch}.library-header{flex-direction:column;align-items:start}}.workspace-shell,.workspace-shell[data-theme=light]{--text-soft:#676662;--danger:#8b3e2f;--danger-surface:#f4ebe6}html[data-theme=dark] .workspace-shell,.workspace-shell[data-theme=dark]{--text-soft:#b8b6ad;--danger:#f1b6a8;--danger-surface:#33231f}.project-label,.micro-label,.quick-open kbd,.chapter-due,.context-title-row span,.entity-row strong,.version-card span,.project-card-footer>span{color:var(--text-soft)}.save-state.error{color:var(--danger)}.panel-button.danger{border-color:var(--border);color:var(--text-muted);background:0 0}.panel-button.danger:hover{border-color:var(--danger)}@supports (color:color-mix(in lab, red, red)){.panel-button.danger:hover{border-color:color-mix(in srgb, var(--danger) 42%, var(--border))}}.panel-button.danger:hover,html[data-theme=dark] .workspace-shell .panel-button.danger:hover,.workspace-shell[data-theme=dark] .panel-button.danger:hover{background:var(--danger-surface);color:var(--danger)}html[data-theme=dark] .workspace-shell .topbar-button,.workspace-shell[data-theme=dark] .topbar-button,html[data-theme=dark] .workspace-shell .icon-button,.workspace-shell[data-theme=dark] .icon-button,html[data-theme=dark] .workspace-shell .format-tools button,.workspace-shell[data-theme=dark] .format-tools button,html[data-theme=dark] .workspace-shell .context-block,.workspace-shell[data-theme=dark] .context-block,html[data-theme=dark] .workspace-shell .comment-card,.workspace-shell[data-theme=dark] .comment-card,html[data-theme=dark] .workspace-shell .tab-row,.workspace-shell[data-theme=dark] .tab-row,html[data-theme=dark] .workspace-shell .account-popover,.workspace-shell[data-theme=dark] .account-popover,html[data-theme=dark] .workspace-shell .project-card,.workspace-shell[data-theme=dark] .project-card,html[data-theme=dark] .workspace-shell .library-search,.workspace-shell[data-theme=dark] .library-search,html[data-theme=dark] .workspace-shell .library-create-form input,.workspace-shell[data-theme=dark] .library-create-form input,html[data-theme=dark] .workspace-shell .library-create-form select,.workspace-shell[data-theme=dark] .library-create-form select,html[data-theme=dark] .workspace-shell .library-controls select,.workspace-shell[data-theme=dark] .library-controls select,html[data-theme=dark] .workspace-shell .metadata-form input,.workspace-shell[data-theme=dark] .metadata-form input,html[data-theme=dark] .workspace-shell .metadata-form select,.workspace-shell[data-theme=dark] .metadata-form select,html[data-theme=dark] .workspace-shell .metadata-form textarea,.workspace-shell[data-theme=dark] .metadata-form textarea,html[data-theme=dark] .workspace-shell .version-card,.workspace-shell[data-theme=dark] .version-card{border-color:var(--border);color:var(--foreground)}.library-controls .library-search{flex-wrap:nowrap;justify-content:flex-start;margin-top:0}.atlas-dashboard{box-sizing:border-box;align-content:start;gap:18px;width:min(100%,1120px);min-width:0;min-height:100%;margin:0 auto;display:grid}.atlas-create-form{grid-template-columns:minmax(170px,1fr) minmax(130px,170px) minmax(200px,1.2fr) auto;align-items:center;gap:10px;display:grid}.atlas-create-form input,.atlas-create-form select{border:1px solid var(--border);background:var(--surface-soft);width:100%;min-width:0;min-height:40px;color:var(--foreground);font:inherit;border-radius:7px;padding:0 11px}.atlas-controls{grid-template-columns:minmax(220px,1fr) minmax(130px,180px)}.atlas-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0;display:grid}.atlas-card{border:1px solid var(--border);background:var(--surface);border-radius:8px;gap:13px;min-width:0;padding:15px;display:grid}.atlas-card-type{align-items:center;gap:7px;display:inline-flex}.workspace-shell .atlas-card-type .atlas-card-type-dot{background:var(--entity-color,var(--pa-accent));border:0;border-radius:50%;flex:none;width:7px;height:7px;padding:0}.atlas-card h2{color:var(--foreground);letter-spacing:0;margin:0;font-size:20px;line-height:1.15}.atlas-card p{min-height:42px;color:var(--text-muted);margin:0;font-size:13px;line-height:1.55}.atlas-card-meta{color:var(--text-muted);text-transform:uppercase;flex-wrap:wrap;justify-content:space-between;gap:8px;font-size:11px;font-weight:760;display:flex}.atlas-link-card p{min-height:0}html[data-theme=dark] .workspace-shell .atlas-card,.workspace-shell[data-theme=dark] .atlas-card,html[data-theme=dark] .workspace-shell .atlas-create-form input,.workspace-shell[data-theme=dark] .atlas-create-form input,html[data-theme=dark] .workspace-shell .atlas-create-form select,.workspace-shell[data-theme=dark] .atlas-create-form select{border-color:var(--border);background:var(--surface-soft);color:var(--foreground)}@media (max-width:980px){.atlas-create-form,.atlas-controls,.atlas-card-grid{grid-template-columns:1fr}}.metadata-fieldset,.atlas-backlinks,.atlas-continuity-details,.atlas-state-list{gap:10px;display:grid}.metadata-fieldset{border-top:1px solid var(--border);padding-top:4px}.atlas-card-subtle{color:var(--text-muted);margin:-4px 0 0;font-size:12px}.atlas-state-chips{flex-wrap:wrap;gap:6px;display:flex}.atlas-state-chips span{border:1px solid var(--border);background:var(--surface-soft);min-height:24px;color:var(--foreground);border-radius:999px;align-items:center;padding:3px 8px;font-size:11px;font-weight:650;display:inline-flex}.workspace-shell .atlas-timeline{margin:6px 0 20px}.workspace-shell .atlas-timeline-head{margin-bottom:12px}.workspace-shell .atlas-timeline-head h2{margin:2px 0 0;font-size:1.05rem;font-weight:680}.workspace-shell .atlas-timeline-scroll{padding-bottom:4px;overflow-x:auto}.workspace-shell .atlas-timeline-axis,.workspace-shell .atlas-timeline-row{align-items:stretch;display:flex}.workspace-shell .atlas-timeline-rowhead-spacer,.workspace-shell .atlas-timeline-rowhead{flex:0 0 150px;width:150px}.workspace-shell .atlas-timeline-track{flex:auto;min-height:40px}.workspace-shell .atlas-timeline-axis-track{border-bottom:1px solid var(--pa-border);min-height:46px}.workspace-shell .atlas-timeline-tick{pointer-events:none;flex-direction:column;align-items:center;gap:4px;display:flex;position:absolute;top:0}.workspace-shell .atlas-timeline-ticklabel{text-align:center}.workspace-shell .atlas-timeline-tickmark{background:var(--pa-border);border-radius:1px;width:1px;height:6px}@supports (color:color-mix(in lab, red, red)){.workspace-shell .atlas-timeline-tickmark{background:color-mix(in srgb, var(--pa-border) 85%, transparent)}}.workspace-shell .atlas-timeline-ticklabel{flex-direction:column;gap:1px;max-width:88px;display:flex}.workspace-shell .atlas-timeline-colnum{letter-spacing:.04em;text-transform:uppercase;color:var(--pa-muted);font-size:11px;font-weight:680}.workspace-shell .atlas-timeline-coltitle{color:var(--pa-soft);white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.workspace-shell .atlas-timeline-more{border:1px solid var(--pa-border);color:var(--pa-muted);font:inherit;cursor:pointer;background:0 0;border-radius:8px;margin:12px 0 0 150px;padding:6px 12px;font-size:12px;font-weight:620}.workspace-shell .atlas-timeline-more:hover{color:var(--pa-text);background:var(--pa-panel-soft)}.workspace-shell .atlas-timeline-row{--entity-color:var(--pa-accent);align-items:center;min-height:48px}.workspace-shell .atlas-timeline-row+.atlas-timeline-row{border-top:1px solid var(--pa-border)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .atlas-timeline-row+.atlas-timeline-row{border-top:1px solid color-mix(in srgb, var(--pa-border) 55%, transparent)}}.workspace-shell .atlas-timeline-rowhead{color:var(--pa-text);cursor:pointer;text-align:left;font:inherit;background:0 0;border:0;align-items:center;gap:8px;padding:6px 10px 6px 0;display:inline-flex}.workspace-shell .atlas-timeline-dot{background:var(--entity-color);border-radius:50%;flex:none;width:8px;height:8px}.workspace-shell .atlas-timeline-name{white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:640;overflow:hidden}.workspace-shell .atlas-timeline-rowhead:hover .atlas-timeline-name{color:var(--entity-color)}.workspace-shell .atlas-timeline-track{align-items:center;position:relative}.workspace-shell .atlas-timeline-band{background:var(--entity-color);border-radius:8px;height:26px;position:absolute;top:50%;transform:translateY(-50%)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .atlas-timeline-band{background:color-mix(in srgb, var(--entity-color) 9%, transparent)}}.workspace-shell .atlas-timeline-band{z-index:0}.workspace-shell .atlas-timeline-line{background:var(--entity-color);border-radius:2px;height:2px;position:absolute;top:50%;transform:translateY(-50%)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .atlas-timeline-line{background:color-mix(in srgb, var(--entity-color) 32%, transparent)}}.workspace-shell .atlas-timeline-line{z-index:0}.workspace-shell .atlas-timeline-state{z-index:1;border:1px solid var(--entity-color);max-width:128px;padding:5px 10px;position:absolute;top:50%}@supports (color:color-mix(in lab, red, red)){.workspace-shell .atlas-timeline-state{border:1px solid color-mix(in srgb, var(--entity-color) 45%, var(--pa-border))}}.workspace-shell .atlas-timeline-state{background:var(--entity-color);border-radius:8px}@supports (color:color-mix(in lab, red, red)){.workspace-shell .atlas-timeline-state{background:color-mix(in srgb, var(--entity-color) 13%, var(--pa-panel))}}.workspace-shell .atlas-timeline-state{color:var(--pa-text);font:inherit;cursor:pointer;white-space:nowrap;text-overflow:ellipsis;font-size:12px;font-weight:560;transition:background .12s,border-color .12s;overflow:hidden}.workspace-shell .atlas-timeline-state:hover{background:var(--entity-color)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .atlas-timeline-state:hover{background:color-mix(in srgb, var(--entity-color) 22%, var(--pa-panel))}}.workspace-shell .atlas-timeline-state:hover{border-color:var(--entity-color)}.workspace-shell .atlas-timeline-dot-state{z-index:1;border:2px solid var(--pa-panel);background:var(--entity-color);cursor:pointer;border-radius:50%;width:13px;height:13px;padding:0;transition:box-shadow .12s,transform .12s;position:absolute;top:50%}.workspace-shell .atlas-timeline-dot-state:hover,.workspace-shell .atlas-timeline-dot-state:focus-visible{z-index:6;box-shadow:0 0 0 3px var(--entity-color)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .atlas-timeline-dot-state:hover,.workspace-shell .atlas-timeline-dot-state:focus-visible{box-shadow:0 0 0 3px color-mix(in srgb, var(--entity-color) 26%, transparent)}}.workspace-shell .atlas-timeline-dot-state:hover,.workspace-shell .atlas-timeline-dot-state:focus-visible{outline:none}.workspace-shell .atlas-timeline-hovercard{z-index:210;border:1px solid var(--pa-border);background:var(--pa-panel-raised);pointer-events:none;text-align:left;border-radius:11px;gap:4px;width:max-content;max-width:300px;padding:10px 12px;animation:.12s entity-cast-pop-in;display:grid;position:fixed;transform:translate(-50%,-100%);box-shadow:0 14px 40px -18px #0f142280,0 2px 8px -4px #0f142252}.workspace-shell .atlas-timeline-hovercard strong{color:var(--pa-text);font-size:13px;line-height:1.35}.workspace-shell .atlas-timeline-hovercard p{color:var(--pa-muted);margin:0;font-size:12.5px;line-height:1.5}.workspace-shell .atlas-timeline-hovercard .micro-label{color:var(--pa-soft)}.workspace-shell .atlas-connections{--entity-color:var(--pa-accent);gap:8px;margin-top:4px;display:grid}.workspace-shell .atlas-conn-empty{color:var(--pa-muted);margin:0;font-size:12.5px}.workspace-shell .atlas-conn-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.workspace-shell .atlas-conn-chip{border:1px solid var(--pa-border);flex-direction:column;display:flex}@supports (color:color-mix(in lab, red, red)){.workspace-shell .atlas-conn-chip{border:1px solid color-mix(in srgb, var(--pa-border) 55%, transparent)}}.workspace-shell .atlas-conn-chip{background:var(--pa-panel-soft);border-radius:9px;overflow:hidden}.workspace-shell .atlas-conn-chip-row{align-items:center;gap:8px;padding:5px 6px 5px 10px;display:flex}.workspace-shell .atlas-conn-dot{background:var(--entity-color);border-radius:50%;flex:none;width:8px;height:8px}.workspace-shell .atlas-conn-name{color:var(--pa-text);flex:none;font-size:13px;font-weight:640}.workspace-shell .atlas-conn-kind{flex:none}.workspace-shell .atlas-conn-kind .ui-dropdown-trigger{border:1px solid var(--pa-border);background:var(--pa-panel);width:auto;min-height:0;color:var(--kind-color,var(--pa-muted));border-radius:7px;gap:3px;padding:2px 5px 2px 8px;font-size:11px;font-weight:640;transition:color .14s,border-color .14s}.workspace-shell .atlas-conn-kind .ui-dropdown-caret{color:currentColor;opacity:.75;width:11px;height:11px}.workspace-shell .atlas-conn-kind.kind-neutral .ui-dropdown-trigger{color:var(--pa-muted)}.workspace-shell .atlas-conn-kind:not(.kind-neutral) .ui-dropdown-trigger{border-color:var(--kind-color)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .atlas-conn-kind:not(.kind-neutral) .ui-dropdown-trigger{border-color:color-mix(in srgb, var(--kind-color) 45%, var(--pa-border))}}.workspace-shell .atlas-conn-kind .ui-dropdown-trigger:focus-visible{outline:2px solid var(--pa-accent);outline-offset:1px}.workspace-shell .atlas-conn-label-input{border-radius:var(--pa-radius-sm);min-width:0;color:var(--pa-text);font:inherit;background:0 0;border:1px solid #0000;flex:auto;padding:0 4px;font-size:12.5px}.workspace-shell .atlas-conn-label-input:focus{border-color:var(--pa-accent);outline:none}.workspace-shell .atlas-conn-label-input::placeholder{color:var(--pa-soft);font-style:italic}.workspace-shell .atlas-conn-history-toggle{border:1px solid var(--pa-border);color:var(--pa-muted);font:inherit;cursor:pointer;white-space:nowrap;background:0 0;border-radius:999px;flex:none;padding:2px 9px;font-size:11px;font-weight:640;transition:color .14s,border-color .14s,background .14s}.workspace-shell .atlas-conn-history-toggle:hover{color:var(--pa-text)}.workspace-shell .atlas-conn-history-toggle.is-open{color:var(--pa-text);border-color:var(--pa-accent);background:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .atlas-conn-history-toggle.is-open{background:color-mix(in srgb, var(--pa-accent) 12%, transparent)}}.workspace-shell .atlas-conn-history{border-top:1px solid var(--pa-border);flex-direction:column;gap:8px;padding:9px 10px 11px;display:flex}@supports (color:color-mix(in lab, red, red)){.workspace-shell .atlas-conn-history{border-top:1px solid color-mix(in srgb, var(--pa-border) 55%, transparent)}}.workspace-shell .atlas-conn-history{background:var(--pa-panel)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .atlas-conn-history{background:color-mix(in srgb, var(--pa-panel) 55%, transparent)}}.workspace-shell .atlas-conn-events{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.workspace-shell .atlas-conn-events li{align-items:center;gap:8px;font-size:12px;display:flex}.workspace-shell .atlas-conn-event-ch{letter-spacing:.03em;text-transform:uppercase;width:46px;color:var(--pa-soft);flex:none;font-size:10px;font-weight:700}.workspace-shell .atlas-conn-event-kind{color:var(--kind-color,var(--pa-muted));flex:none;font-weight:660}.workspace-shell .atlas-conn-events li.kind-break .atlas-conn-event-kind{color:var(--pa-soft);text-decoration:line-through}.workspace-shell .atlas-conn-event-note{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--pa-muted);flex:auto;font-style:italic;overflow:hidden}.workspace-shell .atlas-conn-event-remove{width:20px;height:20px;color:var(--pa-soft);cursor:pointer;background:0 0;border:0;border-radius:5px;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.workspace-shell .atlas-conn-event-remove:hover{color:var(--pa-text);background:var(--pa-muted)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .atlas-conn-event-remove:hover{background:color-mix(in srgb, var(--pa-muted) 14%, transparent)}}.workspace-shell .atlas-conn-events-empty{color:var(--pa-soft);margin:0;font-size:12px;font-style:italic}.workspace-shell .atlas-conn-event-add{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.workspace-shell .atlas-conn-event-add input{border:1px solid var(--pa-border);background:var(--pa-panel);min-width:96px;color:var(--pa-text);font:inherit;border-radius:7px;flex:120px;padding:4px 8px;font-size:12px}.workspace-shell .atlas-conn-event-add .ui-dropdown{flex:none}.workspace-shell .atlas-conn-event-add .ui-dropdown-trigger{border:1px solid var(--pa-border);background:var(--pa-panel);min-height:0;color:var(--pa-text);border-radius:7px;padding:4px 8px;font-size:12px}.workspace-shell .atlas-conn-event-chapter{max-width:186px}.workspace-shell .atlas-conn-event-add .ui-dropdown-trigger:focus-visible,.workspace-shell .atlas-conn-event-add input:focus-visible{outline:2px solid var(--pa-accent);outline-offset:1px}.workspace-shell .atlas-conn-event-add .panel-button{flex:none;min-height:28px;padding:0 10px}.workspace-shell .atlas-conn-remove{width:24px;height:24px;color:var(--pa-muted);cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.workspace-shell .atlas-conn-remove:hover{color:var(--pa-text);background:var(--pa-panel-muted,var(--pa-panel))}.workspace-shell .atlas-conn-search{position:relative}.workspace-shell .atlas-conn-search-field{border:1px solid var(--pa-border);border-radius:var(--pa-radius-md);background:var(--pa-panel-soft);align-items:center;gap:8px;padding:8px 11px;transition:border-color .14s;display:flex}.workspace-shell .atlas-conn-search-field:focus-within{border-color:var(--pa-accent)}.workspace-shell .atlas-conn-search-field>svg{color:var(--pa-soft);flex:none}.workspace-shell .atlas-conn-search-field>input{min-width:0;color:var(--pa-text);font:inherit;background:0 0;border:0;outline:none;flex:auto;font-size:.9rem}.workspace-shell .atlas-conn-search-field>input:focus-visible{box-shadow:none;outline:none}.workspace-shell .atlas-conn-results{z-index:20;border:1px solid var(--pa-border);background:var(--pa-panel);border-radius:10px;max-height:220px;margin:0;padding:4px;list-style:none;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow-y:auto;box-shadow:0 16px 44px -18px #0f14228c}.workspace-shell .atlas-conn-result{--entity-color:var(--pa-accent);width:100%;color:var(--pa-text);cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;border-radius:7px;align-items:center;gap:8px;padding:7px 9px;font-size:13px;display:flex}.workspace-shell .atlas-conn-result:hover,.workspace-shell .atlas-conn-result.is-active{background:var(--pa-panel-soft)}.workspace-shell .atlas-conn-result-name{font-weight:560}.workspace-shell .atlas-conn-result-type{color:var(--pa-soft);text-transform:capitalize;margin-left:auto;font-size:11px}.workspace-shell .entity-character{--entity-color:#3f6bd6}.workspace-shell .entity-location{--entity-color:#2f9e8f}.workspace-shell .entity-faction{--entity-color:#8256c8}.workspace-shell .entity-item{--entity-color:#c08a2e}.workspace-shell .entity-term{--entity-color:#c56a4a}.workspace-shell .entity-note{--entity-color:#6b7280}html[data-theme=dark] .workspace-shell .entity-character,.workspace-shell[data-theme=dark] .entity-character{--entity-color:#7ea2f0}html[data-theme=dark] .workspace-shell .entity-location,.workspace-shell[data-theme=dark] .entity-location{--entity-color:#5cc7b6}html[data-theme=dark] .workspace-shell .entity-faction,.workspace-shell[data-theme=dark] .entity-faction{--entity-color:#b394ea}html[data-theme=dark] .workspace-shell .entity-item,.workspace-shell[data-theme=dark] .entity-item{--entity-color:#e0b25f}html[data-theme=dark] .workspace-shell .entity-term,.workspace-shell[data-theme=dark] .entity-term{--entity-color:#e2916f}html[data-theme=dark] .workspace-shell .entity-note,.workspace-shell[data-theme=dark] .entity-note{--entity-color:#9aa2b1}.workspace-shell .atlas-connections .entity-character{--entity-color:#3f6bd6}.workspace-shell .atlas-connections .entity-location{--entity-color:#2f9e8f}.workspace-shell .atlas-connections .entity-faction{--entity-color:#8256c8}.workspace-shell .atlas-connections .entity-item{--entity-color:#c08a2e}.workspace-shell .atlas-connections .entity-term{--entity-color:#c56a4a}.workspace-shell .atlas-connections .entity-note{--entity-color:#6b7280}html[data-theme=dark] .workspace-shell .atlas-connections .entity-character,.workspace-shell[data-theme=dark] .atlas-connections .entity-character{--entity-color:#7ea2f0}html[data-theme=dark] .workspace-shell .atlas-connections .entity-location,.workspace-shell[data-theme=dark] .atlas-connections .entity-location{--entity-color:#5cc7b6}html[data-theme=dark] .workspace-shell .atlas-connections .entity-faction,.workspace-shell[data-theme=dark] .atlas-connections .entity-faction{--entity-color:#b394ea}html[data-theme=dark] .workspace-shell .atlas-connections .entity-item,.workspace-shell[data-theme=dark] .atlas-connections .entity-item{--entity-color:#e0b25f}html[data-theme=dark] .workspace-shell .atlas-connections .entity-term,.workspace-shell[data-theme=dark] .atlas-connections .entity-term{--entity-color:#e2916f}html[data-theme=dark] .workspace-shell .atlas-connections .entity-note,.workspace-shell[data-theme=dark] .atlas-connections .entity-note{--entity-color:#9aa2b1}.workspace-shell .atlas-lens-tabs{border:0;border-bottom:1px solid var(--pa-border);background:0 0;border-radius:0;gap:22px;margin:0;padding:0;display:flex}.workspace-shell .atlas-lens-tab{color:var(--pa-muted);cursor:pointer;font:inherit;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;margin-bottom:-1px;padding:4px 2px 10px;font-size:13px;font-weight:620;transition:color .12s,border-color .12s}.workspace-shell .atlas-lens-tab:hover{color:var(--pa-text)}.workspace-shell .atlas-lens-tab.active{color:var(--pa-text);border-bottom-color:var(--pa-accent)}.workspace-shell .atlas-empty-lens{border:1px dashed var(--pa-border);color:var(--pa-muted);text-align:center;border-radius:12px;padding:28px}.workspace-shell .atlas-empty-lens h2{color:var(--pa-text);margin:4px 0 0;font-size:1.05rem}.workspace-shell .atlas-empty-lens p:not(.micro-label){margin:6px 0 0;max-width:46ch;margin-inline:auto}.workspace-shell .atlas-empty-lens .panel-button{margin-top:20px}.workspace-shell .atlas-constellation{gap:8px;display:grid}.workspace-shell .atlas-const-bar{align-items:center;gap:12px;min-height:34px;display:flex}.workspace-shell .atlas-const-hint{color:var(--pa-soft);margin:0;font-size:12.5px}.workspace-shell .atlas-const-focusname{color:var(--pa-muted);font-size:13px}.workspace-shell .atlas-const-focusname strong{color:var(--pa-text)}.workspace-shell .atlas-const-bar .panel-button.primary{margin-left:auto}.workspace-shell .atlas-const-body{align-items:stretch;gap:20px;max-width:730px;height:clamp(330px,46vh,430px);margin:0 auto;display:flex}.workspace-shell .atlas-const-body.solo{max-width:780px;height:clamp(400px,58vh,600px)}.workspace-shell .editor-pane>.atlas-dashboard>.atlas-const-fill{flex-direction:column;flex:auto;min-height:0;display:flex}.workspace-shell .atlas-const-fill .atlas-const-body.solo{flex:auto;max-width:none;height:auto;min-height:340px;margin:0}.workspace-shell .atlas-const-fill .atlas-const-stage{border:1px solid var(--pa-border);background-color:var(--pa-panel);border-radius:14px}@supports (color:color-mix(in lab, red, red)){.workspace-shell .atlas-const-fill .atlas-const-stage{background-color:color-mix(in srgb, var(--pa-panel) 50%, transparent)}}.workspace-shell .atlas-const-fill .atlas-const-stage{background-image:radial-gradient(circle, var(--pa-muted) 1px, transparent 1.5px)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .atlas-const-fill .atlas-const-stage{background-image:radial-gradient(circle, color-mix(in srgb, var(--pa-muted) 22%, transparent) 1px, transparent 1.5px)}}.workspace-shell .atlas-const-fill .atlas-const-stage{background-position:50%;background-size:24px 24px}.workspace-shell .atlas-const-fill .atlas-const-scrub{max-width:none;margin-left:0;margin-right:0}.workspace-shell .atlas-const-inspector{flex-direction:column;gap:15px;display:flex}.workspace-shell .atlas-map-inspect .atlas-const-inspector{margin-top:9px}.workspace-shell .atlas-const-stage{border:1px solid var(--pa-border);background-color:var(--pa-panel);border-radius:14px;flex:auto;min-width:0;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.workspace-shell .atlas-const-stage{background-color:color-mix(in srgb, var(--pa-panel) 50%, transparent)}}.workspace-shell .atlas-const-stage{background-image:radial-gradient(circle, var(--pa-muted) 1px, transparent 1.5px)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .atlas-const-stage{background-image:radial-gradient(circle, color-mix(in srgb, var(--pa-muted) 22%, transparent) 1px, transparent 1.5px)}}.workspace-shell .atlas-const-stage{background-position:50%;background-size:24px 24px}.workspace-shell .atlas-const-canvas{cursor:grab;touch-action:none;width:100%;height:100%;display:block}.workspace-shell .atlas-const-stage.panning .atlas-const-canvas{cursor:grabbing}.workspace-shell .atlas-const-probe{pointer-events:none;opacity:0;width:0;height:0;position:absolute;overflow:hidden}.workspace-shell .atlas-const-zoom{flex-direction:column;gap:4px;display:flex;position:absolute;bottom:8px;right:8px}.workspace-shell .atlas-const-zoom-btn{border:1px solid var(--pa-border);background:var(--pa-panel);border-radius:8px;justify-content:center;align-items:center;width:30px;height:30px;padding:0;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.workspace-shell .atlas-const-zoom-btn{background:color-mix(in srgb, var(--pa-panel) 82%, transparent)}}.workspace-shell .atlas-const-zoom-btn{color:var(--pa-muted);cursor:pointer;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition:color .14s,border-color .14s,background .14s}.workspace-shell .atlas-const-zoom-btn:hover:not(:disabled){color:var(--pa-text);border-color:var(--pa-border-strong)}.workspace-shell .atlas-const-zoom-btn:disabled{opacity:.4;cursor:default}.workspace-shell .atlas-const-zoom-btn:focus-visible{outline:2px solid var(--pa-accent);outline-offset:2px}.workspace-shell .atlas-const-expand{position:absolute;top:8px;right:8px}.workspace-shell .atlas-const-tools{align-items:center;gap:6px;margin-left:auto;display:inline-flex}.workspace-shell .atlas-const-tool{border:1px solid var(--pa-border);color:var(--pa-muted);font:inherit;cursor:pointer;background:0 0;border-radius:999px;flex:none;padding:4px 12px;font-size:11.5px;font-weight:640;transition:color .14s,border-color .14s,background .14s}.workspace-shell .atlas-const-tool:hover{color:var(--pa-text)}.workspace-shell .atlas-const-tool.is-on{color:var(--pa-text);border-color:var(--pa-accent);background:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .atlas-const-tool.is-on{background:color-mix(in srgb, var(--pa-accent) 13%, transparent)}}.workspace-shell .atlas-const-seg{border:1px solid var(--pa-border);background:var(--pa-panel-soft);border-radius:999px;gap:2px;padding:2px;display:inline-flex}.workspace-shell .atlas-const-seg button{color:var(--pa-muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:999px;padding:3px 11px;font-size:11.5px;font-weight:640;transition:color .14s,background .14s}.workspace-shell .atlas-const-seg button:hover{color:var(--pa-text)}.workspace-shell .atlas-const-seg button.is-on{color:var(--pa-text);background:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .atlas-const-seg button.is-on{background:color-mix(in srgb, var(--pa-accent) 16%, var(--pa-panel))}}.workspace-shell .atlas-const-ai{align-items:center;gap:5px;display:inline-flex}.workspace-shell .atlas-const-ai svg{color:var(--pa-accent)}.workspace-shell .rel-review{z-index:120;background:var(--pa-rail);color:var(--pa-text);flex-direction:column;animation:.22s both reader-fade-in;display:flex;position:fixed;inset:0}.workspace-shell .rel-review-bar{text-align:center;flex-direction:column;align-items:center;gap:0;padding:16px 24px 10px;display:flex}.workspace-shell .rel-review-bar .micro-label{margin:0}.workspace-shell .rel-review-title{margin:3px 0 0;font-size:1.15rem}:root[data-desktop-chrome] .rel-review-bar{-webkit-app-region:drag}.workspace-shell .rel-review-controls{z-index:3;align-items:center;gap:8px;display:flex;position:absolute;bottom:16px;left:16px}.workspace-shell .rel-review-state,.workspace-shell .rel-review-cover{text-align:center;flex-direction:column;flex:auto;justify-content:center;align-items:center;gap:14px;max-width:580px;margin:0 auto;padding:40px;display:flex}.workspace-shell .rel-review-cover h3{margin:0;font-size:1.4rem}.workspace-shell .rel-review-cover p,.workspace-shell .rel-review-state p{color:var(--pa-muted);max-width:48ch;margin:0;line-height:1.6}.workspace-shell .rel-review-spinner{border:2px solid var(--pa-border);border-top-color:var(--pa-accent);border-radius:50%;width:30px;height:30px;animation:.8s linear infinite rel-spin}@keyframes rel-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.workspace-shell .rel-review-spinner{animation:none}}.workspace-shell .rel-review-body{flex-direction:column;flex:auto;gap:22px;width:100%;max-width:760px;margin:0 auto;padding:20px 24px 60px;display:flex;overflow-y:auto}.workspace-shell .rel-review-lede{color:var(--pa-muted);margin:0;font-size:13.5px}.workspace-shell .rel-review-group{flex-direction:column;gap:10px;display:flex}.workspace-shell .rel-review-group .micro-label{margin:0}.workspace-shell .rel-review-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.workspace-shell .rel-review-item{border:1px solid var(--pa-border);background:var(--pa-panel-soft);border-radius:11px;align-items:flex-start;gap:12px;padding:11px 13px;display:flex}.workspace-shell .rel-review-item.kind-break{--kind-color:var(--pa-soft)}.workspace-shell .rel-review-swatch{background:var(--kind-color,var(--entity-color,var(--pa-accent)));border-radius:50%;flex:none;width:9px;height:9px;margin-top:4px}.workspace-shell .rel-review-copy{flex-direction:column;flex:auto;gap:3px;min-width:0;display:flex}.workspace-shell .rel-review-line{color:var(--pa-text);font-size:13.5px}.workspace-shell .rel-review-line strong{font-weight:660}.workspace-shell .rel-review-chapter{color:var(--pa-soft);font-size:12px}.workspace-shell .rel-review-note{color:var(--pa-muted);font-size:12.5px;font-style:italic}.workspace-shell .rel-review-buttons{flex:none;align-items:center;gap:6px;display:flex}.workspace-shell .rel-review-accept,.workspace-shell .rel-review-dismiss{border:1px solid var(--pa-border);font:inherit;cursor:pointer;color:var(--pa-muted);background:0 0;border-radius:999px;padding:4px 12px;font-size:12px;font-weight:640;transition:color .14s,border-color .14s,background .14s}.workspace-shell .rel-review-accept{border-color:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .rel-review-accept{border-color:color-mix(in srgb, var(--pa-accent) 45%, var(--pa-border))}}.workspace-shell .rel-review-accept{color:var(--pa-accent)}.workspace-shell .rel-review-accept:hover{background:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .rel-review-accept:hover{background:color-mix(in srgb, var(--pa-accent) 12%, transparent)}}.workspace-shell .rel-review-dismiss:hover{color:var(--pa-text)}.atlas-const-overlay{z-index:60;background:var(--pa-rail,var(--background));flex-direction:column;gap:12px;padding:18px 20px 20px;animation:.2s ease-out atlas-overlay-in;display:flex;position:fixed;inset:0}@keyframes atlas-overlay-in{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion:reduce){.atlas-const-overlay{animation:none}}.atlas-const-overlay .atlas-const-overlay-bar{text-align:center;flex-direction:column;align-items:center;gap:4px;display:flex}.atlas-const-overlay .atlas-const-overlay-bar .micro-label{margin:0}:root[data-desktop-chrome] .atlas-const-overlay .atlas-const-overlay-bar{-webkit-app-region:drag}.atlas-const-overlay .atlas-const-overlay-foot{flex-wrap:wrap;align-items:center;gap:10px 16px;display:flex}.atlas-const-overlay .atlas-const-overlay-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.atlas-const-overlay .atlas-const-overlay-actions .atlas-const-tools{margin-left:0}.atlas-const-overlay .atlas-const-overlay-foot .atlas-const-scrub{border-top:0;flex:auto;padding-top:0}.atlas-const-overlay .atlas-const-stage{flex:auto;min-height:0}.atlas-const-overlay .atlas-const-float{z-index:2;border:1px solid var(--pa-border);background:var(--pa-panel);border-radius:16px;flex-direction:column;gap:15px;width:264px;max-height:calc(100% - 164px);padding:16px 20px;display:flex;position:absolute;top:88px;right:38px;overflow-y:auto}@supports (color:color-mix(in lab, red, red)){.atlas-const-overlay .atlas-const-float{background:color-mix(in srgb, var(--pa-panel) 88%, transparent)}}.atlas-const-overlay .atlas-const-float{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 18px 40px -30px #00000080}.atlas-const-overlay .atlas-const-close-x,.atlas-const-overlay .atlas-const-float-grip{display:none}@media (max-width:700px){.atlas-const-overlay{padding:12px 14px 16px}.atlas-const-overlay .atlas-const-overlay-bar{flex-direction:column;align-items:stretch;gap:10px}.atlas-const-overlay .atlas-const-overlay-actions{flex-wrap:wrap}.atlas-const-overlay .atlas-const-overlay-actions .atlas-const-tools{flex-wrap:wrap;width:100%}.atlas-const-overlay .atlas-const-float{display:none}.atlas-const-overlay .atlas-const-float.has-detail{width:auto;max-width:none;max-height:46vh;padding-top:8px;padding-bottom:max(16px, env(safe-area-inset-bottom));border-radius:16px 16px 0 0;display:flex;inset:auto 0 0}.atlas-const-overlay .atlas-const-overlay-actions .atlas-const-close-btn{display:none}.atlas-const-overlay .atlas-const-overlay-bar{padding-inline:42px}.atlas-const-overlay .atlas-const-close-x{z-index:3;border:1px solid var(--pa-border);background:var(--pa-panel-soft);width:34px;height:34px;color:var(--pa-text);border-radius:10px;justify-content:center;align-items:center;display:inline-flex;position:absolute;top:12px;right:14px}.atlas-const-overlay .atlas-const-float-grip{background:var(--pa-border-strong);border-radius:999px;flex:none;width:36px;height:4px;margin:2px auto 10px;display:block}}.workspace-shell .atlas-const-aside{flex-direction:column;flex:0 0 250px;gap:16px;min-width:0;height:100%;display:flex;overflow-y:auto}.workspace-shell .atlas-const-aside-idle{color:var(--pa-soft);margin:0;font-size:12.5px;font-style:italic;line-height:1.55}.workspace-shell .atlas-const-detail{border:1px solid var(--pa-border);background:var(--pa-panel-soft);border-radius:10px;padding:11px 13px}.workspace-shell .atlas-const-detail-head{color:var(--pa-muted);align-items:center;gap:7px;margin:0 0 9px;font-size:12.5px;display:flex}.workspace-shell .atlas-const-detail-dot{background:var(--entity-color,var(--pa-accent));border-radius:50%;flex:none;width:9px;height:9px}.workspace-shell .atlas-const-detail-name{color:var(--pa-text);font-weight:660}.workspace-shell .atlas-const-detail-count{letter-spacing:.02em;color:var(--pa-soft);margin-left:auto;font-size:10.5px}@media (max-width:760px){.workspace-shell .atlas-const-fill{flex:0 auto}.workspace-shell .atlas-const-body,.workspace-shell .atlas-const-body.solo,.workspace-shell .atlas-const-fill .atlas-const-body.solo{flex-direction:column;height:auto;min-height:0}.workspace-shell .atlas-const-stage{width:100%;height:clamp(300px,52vh,460px)}.workspace-shell .atlas-const-canvas{height:100%}.workspace-shell .atlas-const-aside{flex:none;height:auto;max-height:260px}.workspace-shell .atlas-const-bar{flex-direction:column;flex-shrink:0;align-items:flex-start;gap:8px}.workspace-shell .atlas-const-tools{flex-wrap:wrap;margin-left:0}}.workspace-shell{--kind-ally:#2f9e6b;--kind-rival:#c94f2c;--kind-family:#8f57c8;--kind-love:#cc4f7d}html[data-theme=dark] .workspace-shell,.workspace-shell[data-theme=dark]{--kind-ally:#5cc78c;--kind-rival:#e2795a;--kind-family:#b98fe0;--kind-love:#e788a8}.workspace-shell .kind-neutral{--kind-color:var(--pa-muted)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .kind-neutral{--kind-color:color-mix(in srgb, var(--pa-muted) 55%, transparent)}}.workspace-shell .kind-ally{--kind-color:var(--kind-ally)}.workspace-shell .kind-rival{--kind-color:var(--kind-rival)}.workspace-shell .kind-family{--kind-color:var(--kind-family)}.workspace-shell .kind-love{--kind-color:var(--kind-love)}.workspace-shell .atlas-const-ties{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.workspace-shell .atlas-const-ties li{align-items:flex-start;gap:8px;display:flex}.workspace-shell .atlas-const-tie-dot{background:var(--entity-color,var(--pa-accent));border-radius:50%;flex:none;width:8px;height:8px;margin-top:4px}.workspace-shell .atlas-const-tie-body{flex-direction:column;gap:1px;min-width:0;display:flex}.workspace-shell .atlas-const-tie-body strong{color:var(--pa-text);font-size:12.5px}.workspace-shell .atlas-const-tie-rel{color:var(--kind-color,var(--pa-muted));font-size:11px;font-style:italic}.workspace-shell .atlas-const-ties li.kind-neutral .atlas-const-tie-rel{color:var(--pa-soft)}.workspace-shell .atlas-const-legend{flex-direction:column;gap:7px;margin:0;padding:0;list-style:none;display:flex}.workspace-shell .atlas-const-legend li{color:var(--pa-muted);align-items:center;gap:8px;font-size:11.5px;display:inline-flex}.workspace-shell .atlas-const-legend-swatch{background:var(--kind-color);border-radius:2px;flex:none;width:16px;height:3px}.workspace-shell .atlas-const-stage-note{text-align:center;color:var(--pa-soft);pointer-events:none;justify-content:center;align-items:center;margin:0;padding:0 28px;font-size:12.5px;display:flex;position:absolute;inset:0}.workspace-shell .atlas-const-scrub{border-top:1px solid var(--pa-border);align-items:center;gap:14px;max-width:780px;margin:12px auto 0;padding-top:13px;display:flex}.workspace-shell .atlas-const-scrub-all{border:1px solid var(--pa-border);color:var(--pa-muted);font:inherit;cursor:pointer;background:0 0;border-radius:999px;flex:none;padding:3px 12px;font-size:11.5px;font-weight:640;transition:color .14s,border-color .14s,background .14s}.workspace-shell .atlas-const-scrub-all:hover{color:var(--pa-text)}.workspace-shell .atlas-const-scrub-all.is-on{color:var(--pa-text);border-color:var(--pa-accent);background:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .atlas-const-scrub-all.is-on{background:color-mix(in srgb, var(--pa-accent) 13%, transparent)}}.workspace-shell .atlas-const-play{background:var(--pa-accent);width:30px;height:30px;color:var(--on-accent);cursor:pointer;border:1px solid #0000;border-radius:50%;flex:none;justify-content:center;align-items:center;padding:0;transition:filter .14s,transform .12s;display:inline-flex}.workspace-shell .atlas-const-play:hover{filter:brightness(1.07)}.workspace-shell .atlas-const-play:active{transform:scale(.94)}.workspace-shell .atlas-const-play:focus-visible{outline:2px solid var(--pa-accent);outline-offset:2px}.workspace-shell .atlas-const-scrub-range{min-width:0;accent-color:var(--pa-accent);cursor:pointer;flex:auto}.workspace-shell .atlas-const-scrub-label{text-align:right;white-space:nowrap;text-overflow:ellipsis;width:190px;color:var(--pa-muted);flex:none;font-size:12px;overflow:hidden}@media (max-width:760px){.workspace-shell .atlas-const-scrub{flex-wrap:wrap}.workspace-shell .atlas-const-scrub-label{text-align:left;flex:auto;width:auto}}.workspace-shell .atlas-constellation-empty{border:1px dashed var(--pa-border);text-align:center;color:var(--pa-muted);border-radius:12px;padding:32px}.workspace-shell .atlas-constellation-empty h2{color:var(--pa-text);margin:4px 0 6px;font-size:1.05rem}.workspace-shell .atlas-constellation-empty p:not(.micro-label){max-width:48ch;margin:0 auto}.workspace-shell .atlas-constellation-empty .panel-button{margin-top:20px}.workspace-shell .atlas-timeline-row.entity-character{--entity-color:#3f6bd6}.workspace-shell .atlas-timeline-row.entity-location{--entity-color:#2f9e8f}.workspace-shell .atlas-timeline-row.entity-faction{--entity-color:#8256c8}.workspace-shell .atlas-timeline-row.entity-item{--entity-color:#c08a2e}.workspace-shell .atlas-timeline-row.entity-term{--entity-color:#c56a4a}.workspace-shell .atlas-timeline-row.entity-note{--entity-color:#6b7280}html[data-theme=dark] .workspace-shell .atlas-timeline-row.entity-character,.workspace-shell[data-theme=dark] .atlas-timeline-row.entity-character{--entity-color:#7ea2f0}html[data-theme=dark] .workspace-shell .atlas-timeline-row.entity-location,.workspace-shell[data-theme=dark] .atlas-timeline-row.entity-location{--entity-color:#5cc7b6}html[data-theme=dark] .workspace-shell .atlas-timeline-row.entity-faction,.workspace-shell[data-theme=dark] .atlas-timeline-row.entity-faction{--entity-color:#b394ea}html[data-theme=dark] .workspace-shell .atlas-timeline-row.entity-item,.workspace-shell[data-theme=dark] .atlas-timeline-row.entity-item{--entity-color:#e0b25f}html[data-theme=dark] .workspace-shell .atlas-timeline-row.entity-term,.workspace-shell[data-theme=dark] .atlas-timeline-row.entity-term{--entity-color:#e2916f}html[data-theme=dark] .workspace-shell .atlas-timeline-row.entity-note,.workspace-shell[data-theme=dark] .atlas-timeline-row.entity-note{--entity-color:#9aa2b1}.atlas-group-list,.atlas-entry-group{gap:10px;display:grid}.atlas-entry-toggle{width:100%;color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;gap:10px;display:flex}.atlas-entry-toggle span:first-child{gap:2px;min-width:0;display:grid}.atlas-entry-toggle small{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.atlas-entry-toggle>span:last-child{color:var(--text-soft);text-transform:uppercase;font-size:11px;font-weight:700}.atlas-detail-copy{border:1px solid var(--border);background:var(--surface-soft);border-radius:7px;gap:4px;padding:10px;display:grid}.atlas-detail-copy p,.atlas-detail-copy small{margin:0}.atlas-detail-copy small{color:var(--text-muted)}.compact-form{gap:8px}.atlas-state-row{border:1px solid var(--border);background:var(--surface);border-radius:7px;gap:8px;padding:10px;display:grid}.state-row-actions{flex-wrap:wrap;gap:6px;display:flex}.version-list.compact{gap:8px}html[data-theme=dark] .atlas-state-chips span,html[data-theme=dark] .atlas-detail-copy,html[data-theme=dark] .atlas-state-row{border-color:var(--border);background:var(--surface-soft);color:var(--foreground)}.plan-dashboard{flex-direction:column;gap:18px;min-width:0;display:flex}.plan-create-form{grid-template-columns:minmax(160px,1.2fr) 140px 140px minmax(180px,1fr) auto}.plan-board{gap:18px;display:grid}.plan-arc{border:1px solid var(--border);background:var(--surface);border-radius:8px;gap:14px;padding:16px;display:grid}html[data-theme=dark] .workspace-shell .plan-arc,html[data-theme=dark] .workspace-shell .plan-beat-card,.workspace-shell[data-theme=dark] .plan-arc,.workspace-shell[data-theme=dark] .plan-beat-card{background:var(--surface-soft)}.plan-arc[data-accent=clay]{--arc-accent:#8b6f61}.plan-arc[data-accent=moss]{--arc-accent:#667260}.plan-arc[data-accent=ink]{--arc-accent:#4d5660}.plan-arc[data-accent=ochre]{--arc-accent:#9a7a40}.plan-arc[data-accent=graphite]{--arc-accent:#5f5f5f}.workspace-shell .plan-arc-title{align-items:center;gap:9px;display:flex}.workspace-shell .plan-arc-dot{background:var(--arc-accent,var(--pa-border-strong));border-radius:50%;flex:none;width:9px;height:9px}.plan-arc-header{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:14px;display:grid}.plan-arc-summary{cursor:pointer;list-style:none}.plan-arc-summary::-webkit-details-marker{display:none}.plan-arc-chevron{vertical-align:-2px;margin-right:5px;transition:transform .14s;display:inline-flex}.plan-arc:not([open]) .plan-arc-chevron{transform:rotate(-90deg)}details.plan-arc[open]>.plan-arc-summary .plan-arc-header{margin-bottom:4px}.plan-arc-header h2,.plan-beat-card h3{color:var(--pa-text);margin:0}.plan-arc-header p,.plan-beat-card p{color:var(--pa-muted);margin:6px 0 0}.plan-arc-actions,.state-row-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.plan-arc-actions .target-meter{width:96px}.plan-arc-progress{align-items:center;gap:9px;margin-right:10px;display:inline-flex}.plan-arc-progress-label{color:var(--pa-soft);white-space:nowrap;font-size:11.5px;font-weight:600}.plan-beat-create{grid-template-columns:minmax(140px,1fr) 130px minmax(160px,1.2fr) auto}.plan-beat-list{gap:10px;display:grid}.workspace-shell .plan-beat-topline{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.workspace-shell .plan-beat-status{text-transform:uppercase;letter-spacing:.04em;color:var(--pa-muted);align-items:center;gap:6px;font-size:11px;font-weight:760;display:inline-flex}.workspace-shell .plan-beat-archived{background:var(--pa-panel-muted);color:var(--pa-soft);border-radius:999px;padding:2px 8px;font-size:11px;font-weight:660}.workspace-shell .plan-beat-meta{flex-wrap:wrap;align-items:center;gap:6px 10px;display:flex}.workspace-shell .plan-beat-chapter{border:1px solid var(--pa-border);background:var(--pa-panel-soft);color:var(--pa-text);font:inherit;cursor:pointer;border-radius:999px;align-items:center;gap:5px;padding:3px 10px;font-size:11.5px;font-weight:600;transition:border-color .14s,color .14s;display:inline-flex}.workspace-shell .plan-beat-chapter:hover{border-color:var(--pa-border-strong);color:var(--pa-text)}.workspace-shell .plan-beat-chapter>svg{color:var(--pa-soft);flex:none}.workspace-shell .plan-beat-chapter:hover>svg{color:var(--pa-text)}.workspace-shell .plan-beat-nochapter{color:var(--pa-soft);font-size:11.5px;font-style:italic}.workspace-shell .plan-beat-words{color:var(--pa-soft);font-size:11px;font-weight:640}.workspace-shell .plan-arc-status{align-items:center;gap:6px;display:inline-flex}.workspace-shell .plan-beat-modal-title{align-items:center;gap:9px;display:inline-flex}.workspace-shell .plan-link-name{align-items:center;gap:7px;display:inline-flex}.workspace-shell .plan-link-dot{background:var(--entity-color,var(--pa-accent));border-radius:50%;flex:none;width:8px;height:8px}.plan-beat-card{border:1px solid var(--pa-border);background:var(--pa-panel-soft);border-radius:var(--pa-radius-md);gap:10px;padding:14px;display:grid}@media (max-width:860px){.plan-create-form,.plan-beat-create,.plan-arc-header{grid-template-columns:1fr}.plan-arc-actions,.state-row-actions{justify-content:flex-start}}.workspace-loading-shell{min-height:100vh}.workspace-loading-center{background:var(--surface);flex-direction:column;gap:14px;padding:36px;display:flex}.workspace-loading-copy{gap:6px;max-width:420px;display:grid}.workspace-loading-copy h1{color:var(--foreground);letter-spacing:0;margin:0;font-size:28px;line-height:1.12}.loading-line{background:var(--text-soft);border-radius:4px;height:14px}@supports (color:color-mix(in lab, red, red)){.loading-line{background:color-mix(in srgb, var(--text-soft) 20%, transparent)}}.loading-line.short{width:42%}.loading-line.eyebrow{width:96px;height:11px}.loading-line.title{width:min(420px,72%);height:34px}.loading-line.wide{width:min(720px,100%)}.loading-line.medium{width:min(460px,72%)}.progress-dashboard{flex-direction:column;gap:18px;min-width:0;display:flex}.progress-streak-badge{border:1px solid var(--border);background:var(--surface-soft);min-width:98px;color:var(--foreground);border-radius:8px;justify-items:center;gap:2px;padding:10px 12px;display:grid}.progress-streak-badge span{font-size:26px;font-weight:780;line-height:1}.progress-streak-badge small{color:var(--text-muted);text-transform:uppercase;font-size:11px;font-weight:720}.progress-card-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.progress-card,.progress-chart-card{border:1px solid var(--border);background:var(--surface);min-width:0;color:var(--foreground);border-radius:8px;gap:12px;padding:15px;display:grid}.progress-card-wide{grid-column:span 2}.progress-card-heading,.progress-breakdown-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.progress-card h2,.progress-card-heading h2,.progress-chart-card h2{color:var(--foreground);letter-spacing:0;margin:0;font-size:22px;line-height:1.15}.progress-snapshot-card{flex-direction:column;gap:8px;display:flex}.progress-snapshot-card p{color:var(--text-muted);margin:0;font-size:12.5px;line-height:1.45}.progress-snapshot-card .panel-button{align-self:flex-start;margin-top:auto}.snapshot-modal{flex-direction:column;gap:14px;display:flex}.snapshot-canvas{aspect-ratio:1;border:1px solid var(--border);border-radius:12px;width:100%;max-width:340px;height:auto;margin:0 auto;display:block;box-shadow:0 18px 40px -30px #00000080}.snapshot-hint{color:var(--text-muted);text-align:center;margin:0;font-size:12px;line-height:1.45}.progress-card-heading strong{color:var(--foreground);font-size:22px}.progress-card p,.progress-chart-card p{color:var(--text-muted);margin:0;font-size:13px;line-height:1.5}.progress-meter{background:var(--surface-muted);border-radius:999px;height:9px;overflow:hidden}.progress-meter span{border-radius:inherit;background:var(--foreground);height:100%;display:block}.progress-breakdown{gap:9px;display:grid}.progress-breakdown-row span{color:var(--text-muted);align-items:center;gap:7px;font-size:13px;display:inline-flex}.progress-breakdown-row strong{color:var(--foreground)}.progress-chart-card{gap:14px}.daily-writing-chart{grid-template-columns:repeat(14,minmax(18px,1fr));align-items:end;gap:8px;min-height:170px;padding-top:8px;display:grid}.daily-writing-day{grid-template-rows:1fr auto;align-items:end;gap:8px;min-width:0;height:150px;display:grid}.daily-writing-bar{border:1px solid var(--foreground);width:100%;min-height:6px;display:block}@supports (color:color-mix(in lab, red, red)){.daily-writing-bar{border:1px solid color-mix(in srgb, var(--foreground) 22%, var(--border))}}.daily-writing-bar{background:var(--foreground);border-radius:5px 5px 2px 2px}@supports (color:color-mix(in lab, red, red)){.daily-writing-bar{background:color-mix(in srgb, var(--foreground) 78%, var(--surface))}}.daily-writing-day small{color:var(--text-soft);text-align:center;text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}html[data-theme=dark] .workspace-shell .progress-card,.workspace-shell[data-theme=dark] .progress-card,html[data-theme=dark] .workspace-shell .progress-chart-card,.workspace-shell[data-theme=dark] .progress-chart-card,html[data-theme=dark] .workspace-shell .progress-streak-badge,.workspace-shell[data-theme=dark] .progress-streak-badge{border-color:var(--border);background:var(--surface-soft);color:var(--foreground)}html[data-theme=dark] .workspace-shell .progress-meter,.workspace-shell[data-theme=dark] .progress-meter{background:var(--surface-muted)}html[data-theme=dark] .workspace-shell .progress-meter span,.workspace-shell[data-theme=dark] .progress-meter span,html[data-theme=dark] .workspace-shell .daily-writing-bar,.workspace-shell[data-theme=dark] .daily-writing-bar{background:#cfcbc0}@media (max-width:1120px){.progress-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:720px){.progress-card-grid,.daily-writing-chart{grid-template-columns:1fr}.progress-card-wide{grid-column:auto}.daily-writing-day{grid-template-rows:auto;grid-template-columns:minmax(64px,auto) 1fr;align-items:center;height:auto}.daily-writing-bar{width:var(--bar-pct,100%);border-radius:2px 5px 5px 2px;justify-self:start;min-width:6px;height:12px!important}.daily-writing-day small{text-align:left;order:-1}}.file-import-control{cursor:pointer;width:fit-content;display:inline-flex;position:relative}.file-import-control input{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.file-import-control .panel-button{pointer-events:none}.release-dashboard,.review-dashboard{flex-direction:column;gap:18px;min-width:0;display:flex}.review-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.review-stat-card,.revision-task-card{border:1px solid var(--border);background:var(--surface);min-width:0;color:var(--foreground);border-radius:8px}.review-stat-card{gap:4px;padding:14px;display:grid}.review-stat-card strong{color:var(--foreground);font-size:26px;line-height:1}.review-stat-card span,.revision-task-meta span{color:var(--text-muted);font-size:12px}.review-create-form{grid-template-columns:minmax(180px,1.4fr) minmax(150px,1fr) 130px 130px auto}.revision-task-list{gap:12px;display:grid}.revision-task-card{gap:12px;padding:16px;display:grid}html[data-theme=dark] .workspace-shell .revision-task-card[data-priority=high],html[data-theme=dark] .workspace-shell .continuity-finding-card[data-priority=high],.workspace-shell[data-theme=dark] .revision-task-card[data-priority=high],.workspace-shell[data-theme=dark] .continuity-finding-card[data-priority=high],html[data-theme=light] .workspace-shell .revision-task-card[data-priority=high],html[data-theme=light] .workspace-shell .continuity-finding-card[data-priority=high],.workspace-shell[data-theme=light] .revision-task-card[data-priority=high],.workspace-shell[data-theme=light] .continuity-finding-card[data-priority=high]{border-left-color:var(--danger)}.workspace-shell .review-topline{flex-wrap:wrap;align-items:center;gap:8px 10px;display:flex}.workspace-shell .review-status{letter-spacing:.05em;text-transform:uppercase;color:var(--pa-muted);align-items:center;gap:6px;font-size:11px;font-weight:760;display:inline-flex}.workspace-shell .review-chip{background:var(--pa-panel-muted);color:var(--pa-soft);letter-spacing:.03em;text-transform:uppercase;border-radius:999px;padding:2px 9px;font-size:11px;font-weight:640}.workspace-shell .review-chip.is-archived{box-shadow:inset 0 0 0 1px var(--pa-border);background:0 0}.workspace-shell .review-topline-meta{color:var(--pa-soft);font-size:11px;font-weight:620}.workspace-shell .review-pill{letter-spacing:.04em;text-transform:uppercase;border-radius:999px;flex:none;justify-content:center;align-items:center;padding:3px 9px;font-size:11px;font-weight:720;line-height:1;display:inline-flex}.workspace-shell .review-pill.is-high{background:var(--danger-surface);color:var(--danger)}.workspace-shell .review-pill.is-mid{background:var(--pa-accent-soft);color:var(--pa-accent)}.workspace-shell .review-pill.is-normal{background:var(--pa-panel-muted);color:var(--pa-muted)}.workspace-shell .review-pill.is-low{color:var(--pa-soft);box-shadow:inset 0 0 0 1px var(--pa-border);background:0 0}.workspace-shell .review-chapter-chip{border:1px solid var(--pa-border);background:var(--pa-panel-soft);color:var(--pa-text);font:inherit;cursor:pointer;border-radius:999px;align-items:center;gap:5px;padding:3px 10px;font-size:11.5px;font-weight:600;transition:border-color .14s,color .14s;display:inline-flex}.workspace-shell .review-chapter-chip:hover{border-color:var(--pa-border-strong);color:var(--pa-text)}.workspace-shell .review-chapter-chip>svg{color:var(--pa-soft);flex:none}.workspace-shell .review-chapter-chip:hover>svg{color:var(--pa-text)}.workspace-shell .review-nochapter{color:var(--pa-soft);font-size:11.5px;font-style:italic}.workspace-shell .review-actions{justify-content:flex-end;gap:8px}.workspace-shell .review-actions>.review-reorder,.workspace-shell .review-actions>.review-actions-nav{margin-right:auto}.workspace-shell .review-actions-main,.workspace-shell .review-actions-nav{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.workspace-shell .review-reorder{display:inline-flex}.workspace-shell .review-reorder-btn{width:34px;min-height:var(--pa-control-h);border:1px solid var(--pa-border);background:var(--pa-panel-soft);color:var(--pa-soft);cursor:pointer;transition:background var(--pa-transition), border-color var(--pa-transition), color var(--pa-transition);justify-content:center;align-items:center;display:inline-flex}.workspace-shell .review-reorder-btn:first-child{border-radius:var(--pa-radius-md) 0 0 var(--pa-radius-md)}.workspace-shell .review-reorder-btn:last-child{border-radius:0 var(--pa-radius-md) var(--pa-radius-md) 0;margin-left:-1px}.workspace-shell .review-reorder-btn:hover:not(:disabled){background:var(--pa-panel-muted);border-color:var(--pa-border-strong);color:var(--pa-text)}.workspace-shell .review-reorder-btn:disabled{opacity:.4;cursor:default}.revision-task-body{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:14px;display:grid}.revision-task-body h2{color:var(--foreground);letter-spacing:0;margin:0;font-size:20px;line-height:1.2}.revision-task-body p{color:var(--text-muted);margin:6px 0 0;font-size:13px;line-height:1.5}.revision-task-meta{text-align:right;justify-items:end;gap:4px;display:grid}.revision-link-card .state-row-actions{justify-content:flex-start}html[data-theme=dark] .workspace-shell .review-stat-card,.workspace-shell[data-theme=dark] .review-stat-card,html[data-theme=dark] .workspace-shell .revision-task-card,.workspace-shell[data-theme=dark] .revision-task-card{border-color:var(--border);background:var(--surface-soft);color:var(--foreground)}@media (max-width:1120px){.review-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.review-create-form,.revision-task-body{grid-template-columns:1fr}.revision-task-meta{text-align:left;justify-items:start}}@media (max-width:720px){.review-summary-grid{grid-template-columns:1fr}}.quick-open-wrap{z-index:30;min-width:0;position:relative}.quick-open-wrap .quick-open{width:100%}.quick-open-popover{border:1px solid var(--border);background:var(--surface);border-radius:8px;max-height:min(520px,100vh - 96px);padding:8px;display:grid;position:absolute;top:calc(100% + 8px);left:0;right:0;overflow:auto;box-shadow:0 18px 50px #1717172e}.quick-open-result{width:100%;color:var(--foreground);text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px;display:grid}.quick-open-result.active,.quick-open-result:hover{border-color:var(--border);background:var(--surface-soft)}.quick-open-result span{gap:3px;min-width:0;display:grid}.quick-open-result strong,.quick-open-result small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.quick-open-result strong{color:var(--foreground);font-size:13px;line-height:1.25}.quick-open-result small,.quick-open-result em,.quick-open-empty{color:var(--text-muted);font-size:12px;line-height:1.35}.quick-open-result em{white-space:nowrap;justify-self:end;font-style:normal;font-weight:680}.quick-open-empty{padding:12px}html[data-theme=dark] .workspace-shell .quick-open-popover,.workspace-shell[data-theme=dark] .quick-open-popover{border-color:var(--border);background:var(--surface);box-shadow:0 18px 50px #0000005c}html[data-theme=dark] .workspace-shell .quick-open-result.active,.workspace-shell[data-theme=dark] .quick-open-result.active,html[data-theme=dark] .workspace-shell .quick-open-result:hover,.workspace-shell[data-theme=dark] .quick-open-result:hover{background:var(--surface-soft)}@media (max-width:860px){.quick-open-popover{position:fixed;top:60px;left:10px;right:10px}}@media (max-width:1180px){.workspace-shell .quick-open-wrap .quick-open{display:flex}}.account-panel-backdrop{z-index:40;background:#14141247;justify-content:flex-end;display:flex;position:fixed;inset:0}.account-panel{border-left:1px solid var(--border);background:var(--surface);width:min(460px,100vw);height:100vh;color:var(--foreground);grid-template-rows:auto minmax(0,1fr);display:grid;box-shadow:-10px 0 26px -8px #14141242}.account-panel-heading{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;padding:18px 18px 14px;display:flex}.account-panel-heading h2,.account-password-form h3{color:var(--foreground);margin:0;font-size:20px;line-height:1.15}.account-panel-scroll{align-content:start;gap:14px;min-height:0;padding:18px;display:grid;overflow:auto}.account-form,.account-trust-card{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;gap:14px;padding:14px;display:grid}.account-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.account-trust-card strong{color:var(--foreground);font-size:14px;display:block}.account-trust-card span{color:var(--text-muted);margin-top:4px;font-size:12px;line-height:1.5;display:block}.billing-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.billing-actions .panel-button:first-child:last-child,.billing-actions>span{grid-column:1/-1}.billing-actions>span{color:var(--text-muted);font-size:12px;line-height:1.45}.account-form .field-stack input,.account-form .field-stack select,.account-form .field-stack textarea{border:1px solid var(--border);background:var(--surface);width:100%;color:var(--foreground);border-radius:7px;padding:10px 11px}.account-form .field-stack textarea{resize:vertical;min-height:150px;line-height:1.5}.feedback-context-note{color:var(--text-muted);margin:-2px 0 0;font-size:12px;line-height:1.5}.account-form .field-stack input:disabled{color:var(--text-muted);cursor:not-allowed}.account-password-form{background:var(--surface)}.auth-switch.compact{margin-top:-4px}.field-stack select{font:inherit}html[data-theme=dark] .workspace-shell .account-panel,.workspace-shell[data-theme=dark] .account-panel,html[data-theme=dark] .workspace-shell .account-form,.workspace-shell[data-theme=dark] .account-form,html[data-theme=dark] .workspace-shell .account-trust-card,.workspace-shell[data-theme=dark] .account-trust-card,html[data-theme=dark] .workspace-shell .account-form .field-stack input,.workspace-shell[data-theme=dark] .account-form .field-stack input,html[data-theme=dark] .workspace-shell .account-form .field-stack select,.workspace-shell[data-theme=dark] .account-form .field-stack select{border-color:var(--border);background:var(--surface-soft);color:var(--foreground)}@media (max-width:620px){.account-panel-backdrop{justify-content:stretch}.account-panel{width:100vw}.account-form-grid{grid-template-columns:1fr}}.continuity-review-panel{border:1px solid var(--border);background:var(--surface);color:var(--foreground);border-radius:8px;gap:16px;padding:18px;display:grid}.continuity-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.continuity-finding-list{gap:10px}.continuity-finding-group{gap:10px;display:grid}.continuity-finding-group>.project-card-topline{border-bottom:1px solid var(--border);padding-bottom:9px}.continuity-finding-card{background:var(--surface-soft)}@media (max-width:560px){.continuity-review-panel>.context-title-row{flex-direction:column;align-items:stretch;gap:10px}}html[data-theme=dark] .workspace-shell .continuity-review-panel,.workspace-shell[data-theme=dark] .continuity-review-panel,html[data-theme=dark] .workspace-shell .continuity-finding-card,.workspace-shell[data-theme=dark] .continuity-finding-card{border-color:var(--border);background:var(--surface-soft);color:var(--foreground)}@media (max-width:1120px){.continuity-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:720px){.continuity-summary-grid{grid-template-columns:1fr}}.workspace-shell{--pa-rail-width:236px;--pa-sidebar-width:248px;--pa-sidebar-width-collapsed:56px;--pa-context-width:clamp(312px, 22vw, 352px);--pa-shell-row:56px;--pa-gutter:clamp(18px, 2.1vw, 34px);--pa-radius-xs:5px;--pa-radius-sm:7px;--pa-radius-md:8px;--pa-radius-lg:10px;--pa-control-h:40px;--pa-space-1:4px;--pa-space-2:8px;--pa-space-3:12px;--pa-space-4:16px;--pa-space-5:20px;--pa-font-label:.69rem;--pa-font-control:.82rem;--pa-font-body:.92rem;--pa-font-title:1.34rem;--pa-line-tight:1.15;--pa-line-body:1.45;--pa-transition:var(--dur-2) var(--ease-settle)}.workspace-shell,.workspace-shell[data-theme=dark],html[data-theme=dark] .workspace-shell,html[data-theme] .workspace-shell[data-theme=dark]{--background:#151515;--foreground:#ecebe9;--surface:#1d1d1d;--surface-soft:#232323;--surface-muted:#2b2b2b;--surface-elevated:#242424;--surface-focus:#202020;--border:#313131;--border-strong:#474747;--text-muted:#bcbcb9;--text-soft:#949492;--sage:#6f9bc0;--sage-deep:#f0f0ee;--amber:#6f9bc0;--danger:#efb3a5;--danger-surface:#34211e;--pa-bg:#151515;--pa-rail:#181818;--pa-topbar:#151515f5;--pa-panel:#1d1d1d;--pa-panel-soft:#232323;--pa-panel-muted:#262626;--pa-panel-raised:#242424;--pa-panel-focus:#202020;--pa-text:#ecebe9;--pa-muted:#bcbcb9;--pa-soft:#949492;--pa-border:#313131;--pa-border-strong:#474747;--pa-accent:#6f9bc0;--pa-accent-strong:#f0f0ee;--pa-accent-soft:#6f9bc024;--pa-accent-fill:#3f6a8f;--pa-accent-fill-hover:#497aa2;--pa-on-accent:#eef4f9;--pa-control-hover:#303030;--pa-focus:#7aa3c6;--pa-shadow:0 18px 44px #00000047;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.workspace-shell[data-theme=light],html[data-theme=light] .workspace-shell,html[data-theme] .workspace-shell[data-theme=light]{--background:#eeede7;--foreground:#1d1d1b;--surface:#faf8f1;--surface-soft:#efede5;--surface-muted:#e2ded3;--surface-elevated:#fffdf7;--surface-focus:#f3f2ea;--border:#d2cec3;--border-strong:#bcb6a7;--text-muted:#5f5e58;--text-soft:#65635b;--sage:#3a5a72;--sage-deep:#22221f;--amber:#3a5a72;--danger:#8d3f34;--danger-surface:#f4ded9;--pa-bg:#eeede7;--pa-rail:#e7e5dc;--pa-topbar:#eeede7f5;--pa-panel:#f7f5ee;--pa-panel-soft:#efede5;--pa-panel-muted:#e4e0d5;--pa-panel-raised:#fffdf7;--pa-panel-focus:#f1f1e8;--pa-text:#1d1d1b;--pa-muted:#5f5e58;--pa-soft:#65635b;--pa-border:#d2cec3;--pa-border-strong:#bcb6a7;--pa-accent:#3a5a72;--pa-accent-strong:#22221f;--pa-accent-soft:#3a5a721a;--pa-accent-fill:#3a5a72;--pa-accent-fill-hover:#32506a;--pa-on-accent:#f5f8fc;--pa-control-hover:#e3ddcf;--pa-focus:#3a5a72;--pa-shadow:0 18px 44px #34312817;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}.workspace-shell{grid-template-rows:var(--pa-shell-row) minmax(0, 1fr);background:var(--pa-bg);min-width:0;color:var(--pa-text);font-feature-settings:"kern";overflow-x:hidden}.workspace-shell *,.workspace-shell :before,.workspace-shell :after{min-width:0}.workspace-shell input,.workspace-shell select,.workspace-shell textarea,.workspace-shell button{max-width:100%;font:inherit}.workspace-shell select option,.workspace-shell select optgroup{background-color:var(--pa-panel);color:var(--pa-text)}.workspace-shell textarea{resize:vertical}.workspace-shell .topbar{height:var(--pa-shell-row);border-bottom:1px solid var(--pa-border);background:var(--pa-rail);-webkit-backdrop-filter:none;backdrop-filter:none;align-items:center;gap:12px;padding:0 16px;display:flex}html[data-theme=dark] .workspace-shell .topbar,.workspace-shell[data-theme=dark] .topbar{background:var(--pa-rail)}.workspace-shell .topbar.topbar-nav{padding:0}.workspace-shell .topbar.topbar-nav .view-nav-row{background:0 0;border-bottom:0;flex:1;min-width:0;height:100%}.workspace-shell .topbar:not(.topbar-nav){align-items:center;display:flex}.workspace-shell .topbar:not(.topbar-nav) .user-menu{margin-left:auto}.workspace-shell .brand-mark{border:1px solid var(--pa-border-strong);background:var(--pa-accent-strong);color:var(--pa-bg)}.workspace-shell .brand-name,.workspace-shell .project-switcher strong{color:var(--pa-text)}.workspace-shell .project-switcher,.workspace-shell .quick-open,.workspace-shell .topbar-button,.workspace-shell .avatar,.workspace-shell .account-popover,.workspace-shell .quick-open-popover{border-color:var(--pa-border);background:var(--pa-panel-soft);color:var(--pa-text);box-shadow:none}.workspace-shell .quick-open input,.workspace-shell input,.workspace-shell select,.workspace-shell textarea{color:var(--pa-text)}.workspace-shell input::placeholder,.workspace-shell textarea::placeholder{color:var(--pa-soft)}@supports (color:color-mix(in lab, red, red)){.workspace-shell input::placeholder,.workspace-shell textarea::placeholder{color:color-mix(in srgb, var(--pa-soft) 78%, transparent)}}.workspace-shell .topbar-button,.workspace-shell .panel-button,.workspace-shell .auth-submit,.workspace-shell .ui-button,.workspace-shell .ui-icon-button,.workspace-shell .icon-button,.workspace-shell .format-tools button,.workspace-shell .chapter-row-actions button{min-height:var(--pa-control-h);border-radius:var(--pa-radius-md);background:var(--pa-panel-soft);color:var(--pa-text);font-size:var(--pa-font-control);letter-spacing:.004em;white-space:nowrap;transition:background var(--pa-transition), border-color var(--pa-transition), color var(--pa-transition), box-shadow var(--pa-transition), transform var(--pa-transition);border:1px solid #0000;justify-content:center;align-items:center;gap:7px;padding-inline:15px;font-weight:580;display:inline-flex}.workspace-shell .topbar-button:active,.workspace-shell .panel-button:active,.workspace-shell .ui-button:active,.workspace-shell .auth-submit:active{transform:scale(.97)}.workspace-shell .topbar-button:hover,.workspace-shell .panel-button:hover,.workspace-shell .ui-button:hover,.workspace-shell .ui-icon-button:hover,.workspace-shell .icon-button:hover,.workspace-shell .chapter-row-actions button:hover{background:var(--pa-control-hover);border-color:#0000}.workspace-shell .topbar-button.primary,.workspace-shell .panel-button.primary,.workspace-shell .auth-submit,.workspace-shell .ui-button-primary{border-color:var(--pa-accent-strong);background:var(--pa-accent-strong);color:var(--pa-bg)}.workspace-shell .panel-button.danger,.workspace-shell .ui-button-danger{border-color:var(--pa-border);color:var(--pa-muted);background:0 0}.workspace-shell .panel-button.danger:hover:not(:disabled),.workspace-shell .ui-button-danger:hover:not(:disabled){border-color:var(--danger)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .panel-button.danger:hover:not(:disabled),.workspace-shell .ui-button-danger:hover:not(:disabled){border-color:color-mix(in srgb, var(--danger) 42%, var(--pa-border))}}.workspace-shell .panel-button.danger:hover:not(:disabled),.workspace-shell .ui-button-danger:hover:not(:disabled){background:var(--danger-surface);color:var(--danger)}.workspace-shell .panel-button.ghost,.workspace-shell .ui-button-ghost{color:var(--pa-muted);background:0 0;border-color:#0000}.workspace-shell .panel-button.ghost:hover,.workspace-shell .ui-button-ghost:hover{background:var(--pa-control-hover);color:var(--pa-text);border-color:#0000}.workspace-shell .panel-button.ghost.danger,.workspace-shell .ui-button-ghost.danger{color:var(--danger);background:0 0}.workspace-shell .ui-button-sm{min-height:34px;padding-inline:10px}.workspace-shell .ui-button-md{min-height:var(--pa-control-h);padding-inline:14px}.workspace-shell .left-rail,.workspace-shell .left-rail>.primary-nav,.workspace-shell .primary-nav{border-bottom:1px solid var(--pa-border);background:0 0;gap:6px;padding:16px 12px}.workspace-shell .nav-item,.workspace-shell .mobile-nav-item{color:var(--pa-muted);letter-spacing:0;font-weight:780}.workspace-shell .nav-item{border-radius:var(--pa-radius-sm);min-height:38px}.workspace-shell .nav-item:hover{background:var(--pa-panel-muted)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .nav-item:hover{background:color-mix(in srgb, var(--pa-panel-muted) 60%, transparent)}}.workspace-shell .nav-item:hover{color:var(--pa-text)}.workspace-shell .nav-item.active,.workspace-shell .mobile-nav-item.active,.workspace-shell .context-tab.active,.workspace-shell .context-chip.active{background:var(--pa-panel-muted);color:var(--pa-text)}.workspace-shell .nav-item.active:before{background:var(--pa-accent-strong)}.workspace-body{flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden}.workspace-body>.workspace-grid{flex:auto;min-height:0}.workspace-shell .view-nav-row{height:48px;padding:0 var(--pa-gutter);border-bottom:1px solid var(--pa-border);background:var(--pa-rail);align-items:center;gap:8px;display:flex}.workspace-shell .view-nav-back{border-radius:var(--pa-radius-sm);height:34px;color:var(--pa-muted);white-space:nowrap;flex:none;align-items:center;gap:7px;padding:0 12px;font-size:13px;font-weight:560;display:inline-flex}.workspace-shell .view-nav-back:hover{background:var(--pa-panel-muted)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .view-nav-back:hover{background:color-mix(in srgb, var(--pa-panel-muted) 60%, transparent)}}.workspace-shell .view-nav-back:hover{color:var(--pa-text)}.workspace-shell .view-nav-back:after{content:"";background:var(--pa-border);width:1px;height:22px;margin-left:6px}.workspace-shell .view-nav-tabs{scrollbar-width:none;align-items:center;gap:2px;min-width:0;display:flex;overflow-x:auto}.workspace-shell .view-nav-tabs::-webkit-scrollbar{display:none}.workspace-shell .view-nav-tab{border-radius:var(--pa-radius-sm);height:34px;color:var(--pa-muted);white-space:nowrap;transition:background var(--pa-transition), color var(--pa-transition);border:1px solid #0000;flex:none;align-items:center;padding:0 12px;font-size:14px;font-weight:450;display:inline-flex}.workspace-shell .view-nav-tab:not(.active):hover{background:var(--pa-panel-muted)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .view-nav-tab:not(.active):hover{background:color-mix(in srgb, var(--pa-panel-muted) 60%, transparent)}}.workspace-shell .view-nav-tab:not(.active):hover{color:var(--pa-text)}.workspace-shell .view-nav-tab.active{border-color:var(--pa-border);background:var(--pa-panel-raised);color:var(--pa-text);font-weight:450}.workspace-shell.focus-mode .view-nav-row{display:none}.workspace-shell .nav-glyph{color:currentColor;place-items:center;width:20px;height:20px;display:inline-grid}.workspace-shell .nav-glyph svg,.workspace-shell .panel-button svg,.workspace-shell .topbar-button svg,.workspace-shell .icon-button svg,.workspace-shell .format-tool svg,.workspace-shell .writer-focus-toggle svg{flex:none;width:18px;height:18px}.workspace-shell .editor-format-toolbar .format-tool{padding-inline:6px}.workspace-shell .chapter-section,.workspace-shell .context-panel{border-color:var(--pa-border)}.workspace-shell .context-panel{overflow-y:auto}.workspace-shell .chapter-row,.workspace-shell .library-rail-project,.workspace-shell .version-card,.workspace-shell .comment-card,.workspace-shell .context-block,.workspace-shell .ui-context-block,.workspace-shell .ui-panel,.workspace-shell .ui-record-card{border:1px solid var(--pa-border);border-radius:var(--pa-radius-md);background:var(--pa-panel-soft);color:var(--pa-text)}.workspace-shell .chapter-row:hover,.workspace-shell .chapter-row.active,.workspace-shell .library-rail-project:hover,.workspace-shell .ui-record-card:hover{border-color:var(--pa-border-strong);background:var(--pa-panel-muted)}.workspace-shell .chapter-row.active{border-color:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .chapter-row.active{border-color:color-mix(in srgb, var(--pa-accent) 45%, var(--pa-border))}}.workspace-shell .editor-pane,.workspace-shell .library-pane{background:var(--pa-bg)}.workspace-shell .editor-pane>:is(.plan-dashboard,.atlas-dashboard,.review-dashboard,.release-dashboard,.progress-dashboard,.export-dashboard),.workspace-shell .library-dashboard{gap:20px}.workspace-shell .editor-pane>:is(.atlas-dashboard,.plan-dashboard,.release-dashboard,.progress-dashboard,.review-dashboard,.export-dashboard,.outline-view){width:100%;max-width:100%;min-height:0;padding:18px var(--pa-gutter) 32px;flex-direction:column;flex:auto;display:flex;overflow:auto}.workspace-shell .library-dashboard{padding:18px var(--pa-gutter) 32px}.editor-pane>.library-dashboard{--workflow-accent:#a35c44}.editor-pane>.plan-dashboard{--workflow-accent:#3f7470}.editor-pane>.atlas-dashboard{--workflow-accent:#4a6a85}.editor-pane>.review-dashboard{--workflow-accent:#9c6a4a}.editor-pane>.release-dashboard{--workflow-accent:#5b7550}.editor-pane>.progress-dashboard{--workflow-accent:#56607e}.editor-pane>.export-dashboard{--workflow-accent:#6a6168}.workspace-shell .library-header,.workspace-shell .ui-section-header{border:1px solid var(--workflow-accent,var(--pa-accent));justify-content:space-between;align-items:flex-start;gap:16px;display:flex}@supports (color:color-mix(in lab, red, red)){.workspace-shell .library-header,.workspace-shell .ui-section-header{border:1px solid color-mix(in srgb, var(--workflow-accent,var(--pa-accent)) 30%, var(--pa-border))}}.workspace-shell .library-header,.workspace-shell .ui-section-header{border-radius:var(--pa-radius-lg);background:radial-gradient(circle at 0% 0%, var(--workflow-accent,var(--pa-accent)) 0%, transparent 38%), linear-gradient(135deg, var(--workflow-accent,var(--pa-accent)) 0%, var(--pa-panel) 68%, var(--pa-panel) 100%)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .library-header,.workspace-shell .ui-section-header{background:radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--workflow-accent,var(--pa-accent)) 14%, transparent) 0%, transparent 38%), linear-gradient(135deg, color-mix(in srgb, var(--workflow-accent,var(--pa-accent)) 9%, var(--pa-panel)) 0%, color-mix(in srgb, var(--pa-panel) 94%, var(--pa-panel-soft)) 68%, var(--pa-panel) 100%)}}.workspace-shell .library-header,.workspace-shell .ui-section-header{padding:14px 16px}.workspace-shell .library-header>div,.workspace-shell .ui-section-header>div{min-width:0}.workspace-shell .library-header h1,.workspace-shell .ui-section-header h2{overflow-wrap:anywhere;color:var(--pa-text);font-size:clamp(1.48rem,1.15rem + .75vw,2.1rem);font-weight:780;line-height:var(--pa-line-tight);margin:0}.workspace-shell .library-header p:not(.micro-label),.workspace-shell .project-card p,.workspace-shell .atlas-card p,.workspace-shell .plan-arc p,.workspace-shell .plan-beat-card p,.workspace-shell .revision-task-card p,.workspace-shell .progress-card p,.workspace-shell .export-card p,.workspace-shell .context-block p,.workspace-shell .ui-panel p{color:var(--pa-muted);line-height:var(--pa-line-body)}.workspace-shell .micro-label,.workspace-shell .project-label{color:var(--pa-soft);font-size:var(--pa-font-label);letter-spacing:.08em;font-weight:550}.workspace-shell .workflow-focus-panel,.workspace-shell .ui-panel-focus{border:1px solid var(--workflow-accent,var(--pa-accent));grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:16px;padding:18px;display:grid}@supports (color:color-mix(in lab, red, red)){.workspace-shell .workflow-focus-panel,.workspace-shell .ui-panel-focus{border:1px solid color-mix(in srgb, var(--workflow-accent,var(--pa-accent)) 36%, var(--pa-border))}}.workspace-shell .workflow-focus-panel,.workspace-shell .ui-panel-focus{border-radius:var(--pa-radius-lg);background:radial-gradient(circle at 0% 0%, var(--workflow-accent,var(--pa-accent)) 0%, transparent 34%), linear-gradient(135deg, var(--workflow-accent,var(--pa-accent)) 0%, var(--pa-panel) 58%, var(--pa-panel) 100%)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .workflow-focus-panel,.workspace-shell .ui-panel-focus{background:radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--workflow-accent,var(--pa-accent)) 20%, transparent) 0%, transparent 34%), linear-gradient(135deg, color-mix(in srgb, var(--workflow-accent,var(--pa-accent)) 14%, var(--pa-panel-focus)) 0%, color-mix(in srgb, var(--pa-panel) 92%, var(--pa-panel-soft)) 58%, var(--pa-panel) 100%)}}.workspace-shell .workflow-focus-panel,.workspace-shell .ui-panel-focus{box-shadow:var(--pa-shadow)}.workspace-shell .workflow-focus-main{gap:8px;min-width:0;display:grid}.workspace-shell .workflow-focus-main h2,.workspace-shell .progress-card h2,.workspace-shell .review-stat-card strong,.workspace-shell .project-card h2,.workspace-shell .atlas-card h2,.workspace-shell .plan-arc h2,.workspace-shell .revision-task-card h2{color:var(--pa-text)}.workspace-shell .workflow-focus-metrics,.workspace-shell .export-stat-grid,.workspace-shell .library-summary-strip,.workspace-shell .project-card-meta,.workspace-shell .project-card-topline,.workspace-shell .atlas-state-chips,.workspace-shell .revision-task-meta{flex-wrap:wrap;gap:8px;min-width:0;display:flex}.workspace-shell .library-header .library-summary-strip{margin-top:var(--pa-space-2)}.workspace-shell .workflow-focus-metrics span,.workspace-shell .library-summary-strip span,.workspace-shell .ui-metric-chip,.workspace-shell .project-card-meta span,.workspace-shell .atlas-state-chips span,.workspace-shell .revision-task-meta span,.workspace-shell .project-card-topline span,.workspace-shell .export-stat-grid span{border:1px solid var(--pa-border);border-radius:var(--pa-radius-sm);background:var(--pa-panel-muted);justify-content:space-between;align-items:center;gap:6px;min-width:0;padding:3px 7px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.workspace-shell .workflow-focus-metrics span,.workspace-shell .library-summary-strip span,.workspace-shell .ui-metric-chip,.workspace-shell .project-card-meta span,.workspace-shell .atlas-state-chips span,.workspace-shell .revision-task-meta span,.workspace-shell .project-card-topline span,.workspace-shell .export-stat-grid span{background:color-mix(in srgb, var(--pa-panel-muted) 72%, transparent)}}.workspace-shell .workflow-focus-metrics span,.workspace-shell .library-summary-strip span,.workspace-shell .ui-metric-chip,.workspace-shell .project-card-meta span,.workspace-shell .atlas-state-chips span,.workspace-shell .revision-task-meta span,.workspace-shell .project-card-topline span,.workspace-shell .export-stat-grid span{color:var(--pa-muted)}.workspace-shell .workflow-focus-metrics{grid-column:1/-1}.workspace-shell .workflow-focus-metrics span,.workspace-shell .export-stat-grid span,.workspace-shell .library-summary-strip span,.workspace-shell .ui-metric-chip{min-height:38px;padding:8px 10px}.workspace-shell .workflow-focus-metrics span{flex:160px}.workspace-shell .workflow-focus-metrics span strong,.workspace-shell .export-stat-grid span strong,.workspace-shell .library-summary-strip span strong,.workspace-shell .project-card-meta span strong{color:var(--pa-text);font-size:1.12rem;line-height:1}.workspace-shell .workflow-focus-actions,.workspace-shell .card-action-cluster,.workspace-shell .state-row-actions{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.workspace-shell .workflow-focus-actions,.workspace-shell .card-action-cluster{justify-content:flex-end}.workspace-shell .action-menu{min-width:max-content;display:inline-flex;position:relative}.workspace-shell .action-menu-trigger{cursor:pointer;color:var(--pa-muted);background:0 0;border-color:#0000;justify-content:center;align-items:center;list-style:none;display:inline-flex}.workspace-shell .action-menu-trigger:hover{background:var(--pa-control-hover);color:var(--pa-text)}.workspace-shell .action-menu-trigger::-webkit-details-marker{display:none}.workspace-shell .action-menu-list{z-index:25;border:1px solid var(--pa-border);border-radius:var(--pa-radius-md);background:var(--pa-panel);gap:1px;width:max-content;min-width:172px;padding:6px;display:grid;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 8px 22px -6px #00000052}.workspace-shell .action-menu-list>button,.workspace-shell .action-menu-list>a{border-radius:var(--pa-radius-sm);width:100%;min-height:30px;color:var(--pa-text);text-align:left;cursor:pointer;transition:background var(--dur-2) var(--ease-settle), color var(--dur-2) var(--ease-settle);background:0 0;border:0;align-items:center;gap:9px;padding:0 9px;font-size:13px;font-weight:640;line-height:1.3;text-decoration:none;display:flex}.workspace-shell .action-menu-list>button:hover,.workspace-shell .action-menu-list>a:hover,.workspace-shell .action-menu-list>button:focus-visible,.workspace-shell .action-menu-list>a:focus-visible{background:var(--pa-panel-raised)}.workspace-shell .action-menu-list>.danger{color:var(--danger)}.workspace-shell .action-menu-list>.danger:hover,.workspace-shell .action-menu-list>.danger:focus-visible{background:var(--danger)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .action-menu-list>.danger:hover,.workspace-shell .action-menu-list>.danger:focus-visible{background:color-mix(in srgb, var(--danger) 13%, transparent)}}.workspace-shell .action-menu-list>button:disabled,.workspace-shell .action-menu-list>button[aria-disabled=true]{opacity:.4;cursor:default}.workspace-shell .action-menu-list>button:disabled:hover,.workspace-shell .action-menu-list>button[aria-disabled=true]:hover{background:0 0}.workspace-shell .action-menu-list.is-anchored{z-index:60;position:fixed;bottom:auto;left:auto;right:auto}@media (max-width:700px){.workspace-shell .action-menu-list.is-anchored{width:auto;min-width:0;padding:8px 8px max(10px, env(safe-area-inset-bottom));border-radius:16px 16px 0 0;gap:4px;box-shadow:0 -12px 30px -12px #0006;inset:auto 0 0!important}.workspace-shell .action-menu-list.is-anchored>button,.workspace-shell .action-menu-list.is-anchored>a{min-height:44px;padding:0 12px;font-size:.95rem}}.workspace-shell .split-button{align-items:stretch;display:inline-flex}.workspace-shell .split-button-primary{border-top-right-radius:0;border-bottom-right-radius:0;flex:auto}.workspace-shell .split-button-caret{border-left:1px solid #ffffff40;border-top-left-radius:0;border-bottom-left-radius:0;flex:none;min-width:0;padding:0 7px}.workspace-shell .split-button-list{position:fixed;top:auto;right:auto}.workspace-shell .ui-dropdown{position:relative}.workspace-shell .ui-dropdown-trigger{cursor:pointer;text-align:left;justify-content:space-between;align-items:center;gap:8px;width:100%;padding:0 12px;transition:background .12s,border-color .12s;display:inline-flex}.workspace-shell .ui-dropdown-trigger:hover{border-color:var(--pa-border-strong);background:var(--pa-control-hover)}.workspace-shell .ui-dropdown-value{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.workspace-shell .ui-dropdown-caret{color:var(--pa-muted);flex:none;transition:transform .12s}.workspace-shell .ui-dropdown-trigger[aria-expanded=true] .ui-dropdown-caret{transform:rotate(180deg)}.workspace-shell .ui-dropdown-list{z-index:200;overscroll-behavior:contain;border:1px solid var(--pa-border);border-radius:var(--pa-radius-md);background:var(--pa-panel);max-height:288px;margin:0;padding:6px;list-style:none;position:fixed;overflow-y:auto;box-shadow:0 10px 26px -8px #0006}.workspace-shell .ui-dropdown-option{cursor:pointer;color:var(--pa-text);white-space:nowrap;border-radius:7px;justify-content:space-between;align-items:center;gap:12px;padding:8px 10px;font-size:.9rem;display:flex}.workspace-shell .ui-dropdown-option.active{background:var(--pa-panel-raised)}.workspace-shell .ui-dropdown-option.selected{font-weight:550}.workspace-shell .ui-dropdown-option.disabled{color:var(--pa-muted);cursor:default;opacity:.7}.workspace-shell .ui-dropdown-check{color:var(--pa-accent);flex:none}.workspace-shell .ui-dropdown-trigger[data-placeholder] .ui-dropdown-value{color:var(--pa-muted)}.workspace-shell .ui-dropdown-trigger:disabled{cursor:not-allowed;opacity:.55}.workspace-shell .ui-modal-backdrop{z-index:60;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0f0f0e80;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.workspace-shell .ui-modal{border:1px solid var(--pa-border);border-radius:var(--pa-radius-lg);background:var(--pa-panel);flex-direction:column;width:min(520px,100%);max-height:calc(100vh - 48px);display:flex;overflow:hidden;box-shadow:0 18px 48px -16px #00000080}.workspace-shell .ui-modal:focus{outline:none}.workspace-shell .ui-modal-head{border-bottom:1px solid var(--pa-border);flex-shrink:0;justify-content:space-between;align-items:flex-start;gap:16px;padding:16px 18px 13px;display:flex}.workspace-shell .ui-modal-head h2{margin:0;font-size:1.02rem;font-weight:700;line-height:1.2}.workspace-shell .ui-modal-titles .micro-label{margin-bottom:3px}.workspace-shell .ui-modal-close{width:30px;height:30px;color:var(--pa-muted);cursor:pointer;background:0 0;border:0;border-radius:8px;flex:none;justify-content:center;align-items:center;transition:background .12s,color .12s;display:inline-flex}.workspace-shell .ui-modal-close:hover{background:var(--pa-panel-raised);color:var(--pa-text)}.workspace-shell .ui-modal-body{flex-direction:column;gap:16px;min-height:0;padding:16px 18px 18px;display:flex;overflow-y:auto}.workspace-shell .ui-modal-foot{border-top:1px solid var(--pa-border);background:var(--pa-panel);flex-shrink:0;justify-content:flex-end;align-items:center;gap:10px;padding:12px 18px;display:flex}.workspace-shell .create-modal-trigger{border:1px solid var(--pa-border);border-radius:var(--pa-radius-lg);background:var(--pa-panel);width:100%;min-height:46px;color:var(--pa-text);text-align:left;cursor:pointer;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;transition:background .12s,border-color .12s;display:flex}.workspace-shell .create-modal-trigger:hover{background:var(--pa-panel-soft);border-color:var(--pa-border-strong)}.workspace-shell .create-modal-trigger>span{gap:2px;min-width:0;display:grid}.workspace-shell .create-modal-trigger strong{color:var(--pa-text);line-height:1.15}.workspace-shell .create-modal-trigger svg{color:var(--pa-muted);flex:none}.workspace-shell .modal-form{gap:14px;display:grid}.workspace-shell .modal-form .modal-intro{color:var(--pa-muted);margin:0;font-size:13px;line-height:1.5}.workspace-shell .modal-form textarea{border:1px solid var(--pa-border);background:var(--pa-panel-soft);min-height:78px;color:var(--pa-text);font:inherit;resize:vertical;border-radius:7px;padding:9px 12px;font-size:13px}.workspace-shell .modal-form textarea:focus{border-color:var(--pa-border-strong);outline:none}.workspace-shell .modal-form-actions{justify-content:flex-end;gap:10px;margin-top:2px;display:flex}.workspace-shell .library-controls,.workspace-shell .atlas-controls,.workspace-shell .release-queue-panel>.library-controls,.workspace-shell .continuity-controls{border:1px solid var(--pa-border);border-radius:var(--pa-radius-md);background:var(--pa-panel);gap:10px;padding:12px;overflow:hidden}.workspace-shell .library-search,.workspace-shell .ui-field,.workspace-shell .library-controls select,.workspace-shell .atlas-create-form input,.workspace-shell .atlas-create-form select,.workspace-shell .atlas-create-form textarea,.workspace-shell .plan-create-form input,.workspace-shell .plan-create-form select,.workspace-shell .plan-create-form textarea,.workspace-shell .review-create-form input,.workspace-shell .review-create-form select,.workspace-shell .review-create-form textarea,.workspace-shell .metadata-form input,.workspace-shell .metadata-form select,.workspace-shell .metadata-form textarea,.workspace-shell .compact-form input,.workspace-shell .compact-form select,.workspace-shell .compact-form textarea,.workspace-shell .inline-create-form input,.workspace-shell .inline-create-form select,.workspace-shell .inline-create-form textarea{min-height:var(--pa-control-h);border:1px solid var(--pa-border);border-radius:var(--pa-radius-sm);background:var(--pa-panel-soft);color:var(--pa-text);font-size:var(--pa-font-control)}.workspace-shell .library-search:focus-within,.workspace-shell .ui-field:focus,.workspace-shell .library-controls select:focus,.workspace-shell input:not([type=checkbox]):not([type=radio]):focus,.workspace-shell select:focus,.workspace-shell textarea:focus,html[data-theme=dark] .workspace-shell input:not([type=checkbox]):not([type=radio]):focus,.workspace-shell[data-theme=dark] input:not([type=checkbox]):not([type=radio]):focus,html[data-theme=dark] .workspace-shell select:focus,.workspace-shell[data-theme=dark] select:focus,html[data-theme=dark] .workspace-shell textarea:focus,.workspace-shell[data-theme=dark] textarea:focus,html[data-theme=dark] .workspace-shell .library-search:focus-within,.workspace-shell[data-theme=dark] .library-search:focus-within{border-color:var(--pa-accent)}html[data-theme=dark] .workspace-shell .command-palette-search input:focus,.workspace-shell[data-theme=dark] .command-palette-search input:focus,html[data-theme=dark] .workspace-shell .story-chat-input textarea:focus,.workspace-shell[data-theme=dark] .story-chat-input textarea:focus{border-color:#0000}.workspace-shell button:disabled,.workspace-shell .panel-button:disabled,.workspace-shell .ui-button:disabled,.workspace-shell .chapter-row-actions button:disabled{cursor:not-allowed;opacity:.52}.workspace-shell button:focus-visible,.workspace-shell a[href]:focus-visible,.workspace-shell summary:focus-visible,.workspace-shell input[type=checkbox]:focus-visible,.workspace-shell input[type=radio]:focus-visible,.workspace-shell [role=button]:focus-visible,.workspace-shell [tabindex]:not([tabindex="-1"]):focus-visible{outline:2px solid var(--pa-focus);outline-offset:2px}.workspace-shell .action-menu[open] .action-menu-trigger{background:var(--pa-control-hover);color:var(--pa-text);border-color:#0000}.workspace-shell .user-menu:focus-within .avatar{border-color:var(--pa-focus)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .user-menu:focus-within .avatar{border-color:color-mix(in srgb, var(--pa-focus) 72%, var(--pa-border-strong))}}.workspace-shell .user-menu:focus-within .avatar{background:var(--pa-panel-muted)}.workspace-shell .action-menu-list>button:focus-visible,.workspace-shell .action-menu-list>a:focus-visible,.workspace-shell .account-popover .menu-action:focus-visible,.workspace-shell .account-popover .theme-toggle:focus-visible,.workspace-shell .quick-open-result:focus-visible{outline-offset:2px}@media (prefers-reduced-motion:reduce){.workspace-shell,.workspace-shell *,.workspace-shell :before,.workspace-shell :after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.workspace-shell .project-card,.workspace-shell .atlas-card,.workspace-shell .plan-arc,.workspace-shell .plan-beat-card,.workspace-shell .revision-task-card,.workspace-shell .progress-card,.workspace-shell .export-card,.workspace-shell .release-slot-card,.workspace-shell .continuity-finding-card,.workspace-shell .primary-create-disclosure,.workspace-shell .library-import-panel,.workspace-shell .empty-workspace-panel,.workspace-shell .ui-empty-state,.workspace-shell .continuity-review-panel,.workspace-shell .progress-chart-card{border:1px solid var(--pa-border);border-radius:var(--pa-radius-lg);background:var(--pa-panel);box-shadow:none}.project-cover-tag.sample{background:var(--pa-accent-strong);color:var(--pa-bg)}.workspace-shell .sample-disclosure{border:1px solid var(--pa-border);border-radius:var(--pa-radius-lg);background:var(--pa-panel);width:100%;min-height:46px;color:var(--pa-text);text-align:left;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.workspace-shell .sample-disclosure:hover{border-color:var(--pa-border-strong)}.workspace-shell .sample-disclosure>span{gap:2px;display:grid}.workspace-shell .sample-disclosure strong{font-size:.95rem}.workspace-shell .sample-disclosure svg{width:18px;height:18px;color:var(--pa-muted);flex:none}.workspace-shell .starter-sample-cta{border:1px solid var(--pa-border);border-radius:var(--pa-radius-lg);background:var(--pa-panel);text-align:left;align-items:center;gap:12px;width:min(460px,100%);margin:2px auto 0;padding:13px 18px;display:inline-flex}.workspace-shell .starter-sample-cta:hover{border-color:var(--pa-border-strong)}.workspace-shell .starter-sample-cta svg{width:22px;height:22px;color:var(--pa-accent-strong);flex:none}.workspace-shell .starter-sample-cta span{gap:2px;display:grid}.workspace-shell .starter-sample-cta strong{color:var(--pa-text);font-size:.95rem}.workspace-shell .starter-sample-cta small{color:var(--pa-muted);font-size:.8rem;line-height:1.4}.workspace-shell .project-card,.workspace-shell .atlas-card,.workspace-shell .plan-arc,.workspace-shell .plan-beat-card,.workspace-shell .revision-task-card,.workspace-shell .progress-card,.workspace-shell .export-card,.workspace-shell .release-slot-card,.workspace-shell .continuity-finding-card,.workspace-shell .empty-workspace-panel,.workspace-shell .ui-empty-state,.workspace-shell .continuity-review-panel,.workspace-shell .progress-chart-card{padding:16px}.workspace-shell .progress-dashboard .progress-card{background:var(--pa-panel)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .progress-dashboard .progress-card{background:color-mix(in srgb, var(--pa-panel) 94%, var(--pa-panel-soft))}}.workspace-shell .progress-dashboard .progress-card:not(.progress-card-wide):not(.progress-goal-card) h2,.workspace-shell .progress-dashboard .progress-card:not(.progress-card-wide):not(.progress-goal-card) .progress-card-heading h2{font-size:clamp(1.12rem,.95rem + .55vw,1.52rem)}.workspace-shell .progress-dashboard .progress-card:not(.progress-card-wide):not(.progress-goal-card) p:not(.micro-label){font-size:.84rem}.workspace-shell .create-disclosure-summary{border-radius:var(--pa-radius-md);min-height:46px;color:var(--pa-text);cursor:pointer;background:0 0;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;list-style:none;display:flex}.workspace-shell .create-disclosure-summary::-webkit-details-marker{display:none}.workspace-shell .create-disclosure-summary::marker{content:""}.workspace-shell .create-disclosure-summary>span{gap:2px;min-width:0;display:grid}.workspace-shell .create-disclosure-summary strong{overflow-wrap:anywhere;color:var(--pa-text);line-height:1.15}.workspace-shell .create-disclosure-summary svg{flex:none}.workspace-shell .create-disclosure-body{gap:12px;padding:4px 14px 16px;display:grid}.workspace-shell .create-disclosure[open],.workspace-shell .primary-create-disclosure:hover{background:var(--pa-panel-soft)}.workspace-shell .release-platform-advanced{border-top:1px solid var(--pa-border);grid-column:1/-1;margin-top:2px;padding-top:10px}.workspace-shell .release-platform-advanced-summary{cursor:pointer;-webkit-user-select:none;user-select:none;letter-spacing:.07em;text-transform:uppercase;color:var(--pa-soft);padding:2px 0;font-size:.68rem;font-weight:700;list-style:none}.workspace-shell .release-platform-advanced-summary::-webkit-details-marker{display:none}.workspace-shell .release-platform-advanced-summary::marker{content:""}.workspace-shell .release-platform-advanced-summary:before{content:"▸";margin-right:7px}.workspace-shell .release-platform-advanced[open] .release-platform-advanced-summary:before{content:"▾"}.workspace-shell .release-platform-advanced-grid{gap:12px;margin-top:12px;display:grid}.workspace-shell .release-adv-numbers{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.workspace-shell .release-adv-field{gap:5px;min-width:0;display:grid}.workspace-shell .release-adv-field>span{letter-spacing:.05em;text-transform:uppercase;color:var(--pa-soft);font-size:.64rem;font-weight:700}.workspace-shell .release-adv-field>input{width:100%}.workspace-shell .release-adv-checks{flex-wrap:wrap;gap:9px 18px;display:flex}.workspace-shell .release-adv-checks .archive-toggle{align-items:center;gap:6px;min-height:0;display:inline-flex}.workspace-shell .release-adv-checks input[type=checkbox]{flex:none;width:15px;min-width:0;height:15px;min-height:0;margin:0}.workspace-shell .release-backlog-hint{color:var(--pa-muted);margin:4px 2px;font-size:.86rem}.workspace-shell .release-platform-create form.atlas-create-form{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.workspace-shell .book-release-status{border:1px solid var(--pa-border);background:var(--pa-panel-muted);color:var(--pa-text);letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;border-radius:999px;align-self:center;padding:4px 12px;font-size:.68rem;font-weight:700}.workspace-shell .book-release-status-launched{border-color:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .book-release-status-launched{border-color:color-mix(in srgb, var(--pa-accent) 55%, var(--pa-border))}}.workspace-shell .book-release-status-launched{color:var(--pa-accent)}.workspace-shell .book-launch-panel{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px 24px;display:flex}.workspace-shell .book-launch-form{flex-wrap:wrap;align-items:flex-end;gap:10px;display:flex}.workspace-shell .book-launch-form label,.workspace-shell .book-details-form label{gap:5px;min-width:0;display:grid}.workspace-shell .book-launch-form label>span,.workspace-shell .book-details-form label>span{letter-spacing:.05em;text-transform:uppercase;color:var(--pa-soft);font-size:.64rem;font-weight:700}.workspace-shell .book-launch-form input[type=date]{min-height:var(--pa-control-h);border:1px solid var(--pa-border);border-radius:var(--pa-radius-sm);background:var(--pa-panel-soft);color:var(--pa-text);font:inherit;font-size:var(--pa-font-control);box-sizing:border-box;padding:0 12px;transition:border-color .14s}.workspace-shell .book-launch-form input[type=date]:focus{border-color:var(--pa-accent);outline:none}html[data-theme=dark] .workspace-shell .book-launch-form input[type=date]:focus,.workspace-shell[data-theme=dark] .book-launch-form input[type=date]:focus{border-color:var(--pa-accent)}.workspace-shell input[type=date]::-webkit-calendar-picker-indicator{opacity:.55;cursor:pointer;transition:opacity .14s}.workspace-shell input[type=date]::-webkit-calendar-picker-indicator:hover{opacity:1}.workspace-shell .book-checklist-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:9px 18px;margin-top:12px;display:grid}.workspace-shell .book-checklist-item{align-items:center;gap:8px;display:inline-flex}.workspace-shell .book-checklist-item input[type=checkbox]{flex:none;width:15px;min-width:0;height:15px;min-height:0;margin:0}.workspace-shell .book-details-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px;display:grid}.workspace-shell .book-details-full{grid-column:1/-1}.workspace-shell .book-details-form input,.workspace-shell .book-details-form textarea{width:100%}.workspace-shell .book-details-form textarea{resize:vertical;min-height:96px}.workspace-shell .book-details-save{grid-column:1/-1;justify-self:start}.workspace-shell .context-panel{--context-panel-pad:12px;--context-panel-gap:10px;border-left:1px solid var(--pa-border);background:var(--surface)}.workspace-shell .context-panel>.tab-row,.workspace-shell .context-selector{border:1px solid var(--pa-border);border-radius:var(--pa-radius-md);background:var(--pa-panel);flex-wrap:wrap;justify-content:space-between;gap:3px;padding:4px;display:flex}.workspace-shell .context-tab,.workspace-shell .context-chip{border-radius:var(--pa-radius-sm);color:var(--pa-muted);font-size:var(--pa-font-control);font-weight:500}.workspace-shell .context-chip{white-space:nowrap;cursor:pointer;min-width:0;height:30px;transition:background var(--pa-transition), color var(--pa-transition);background:0 0;flex:none;padding:0 8px;font-size:.72rem}.workspace-shell .chapter-rail-tabs .context-tab{border:1px solid var(--pa-border);background:var(--pa-panel);justify-content:center;align-items:center;height:38px;transition:background .12s,color .12s,border-color .12s;display:inline-flex}.workspace-shell .chapter-rail-tabs .context-tab:not(.active):hover{background:var(--pa-panel-soft);color:var(--pa-text)}.workspace-shell .chapter-rail-tabs .context-tab.active{border-color:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .chapter-rail-tabs .context-tab.active{border-color:color-mix(in srgb, var(--pa-accent) 42%, transparent)}}.workspace-shell .chapter-rail-tabs .context-tab.active{background:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .chapter-rail-tabs .context-tab.active{background:color-mix(in srgb, var(--pa-accent) 16%, transparent)}}.workspace-shell .chapter-rail-tabs .context-tab.active{color:var(--pa-text)}html[data-theme=dark] .workspace-shell .chapter-rail-tabs .context-tab.active,.workspace-shell[data-theme=dark] .chapter-rail-tabs .context-tab.active{background:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){html[data-theme=dark] .workspace-shell .chapter-rail-tabs .context-tab.active,.workspace-shell[data-theme=dark] .chapter-rail-tabs .context-tab.active{background:color-mix(in srgb, var(--pa-accent) 16%, transparent)}}html[data-theme=dark] .workspace-shell .chapter-rail-tabs .context-tab.active,.workspace-shell[data-theme=dark] .chapter-rail-tabs .context-tab.active{color:var(--pa-text)}.workspace-shell .chapter-rail-tabs .context-tab svg{width:17px;height:17px}.workspace-shell .collapsible-count{background:var(--pa-panel-muted);color:var(--pa-soft);letter-spacing:0;border-radius:999px;margin-left:7px;margin-right:auto;padding:1px 7px;font-size:.7rem;font-weight:700}.workspace-shell .rail-card-heading{align-items:center;gap:6px;min-width:0;display:inline-flex}.workspace-shell .finding-card .state-row-actions{flex-wrap:wrap;gap:5px}.workspace-shell .finding-card .state-row-actions .panel-button{flex:1;min-width:0;height:30px;padding:0 8px;font-size:.73rem}.workspace-shell .finding-card .state-row-actions .rail-finding-fix{white-space:normal;flex:1 0 100%;height:auto;min-height:30px;padding:6px 10px}.workspace-shell .release-rail-card{flex-direction:column;gap:9px;display:flex}.workspace-shell .release-rail-note{-webkit-line-clamp:2;color:var(--pa-muted);-webkit-box-orient:vertical;margin:0;font-size:12.5px;line-height:1.45;display:-webkit-box;overflow:hidden}.workspace-shell .release-rail-checks{color:var(--pa-soft);align-items:center;gap:8px;font-size:11px;font-weight:660;display:flex}.workspace-shell .release-rail-checks .progress-meter{flex:auto;min-width:0;height:5px}.workspace-shell .release-rail-when{flex:none}.workspace-shell .release-rail-warnings{color:var(--pa-muted);flex-direction:column;gap:3px;margin:0;padding:0 0 0 12px;font-size:11.5px;line-height:1.4;list-style:none;display:flex}.workspace-shell .release-rail-warnings li{position:relative}.workspace-shell .release-rail-warnings li:before{content:"";background:var(--amber);border-radius:50%;width:4px;height:4px;position:absolute;top:.5em;left:-12px}.workspace-shell .release-rail-warnings li.is-more{color:var(--pa-soft);font-style:italic}.workspace-shell .release-rail-warnings li.is-more:before{background:var(--pa-soft)}.workspace-shell .release-rail-actions{align-items:center;gap:6px;display:flex}.workspace-shell .release-rail-actions .panel-button{flex:auto;min-width:0}.workspace-shell .release-rail-actions .action-menu-trigger{flex:none}.workspace-shell .finding-hint{color:var(--pa-soft);font-size:.78rem;line-height:1.45}.workspace-shell .finding-meta{margin-top:1px}.workspace-shell .context-block.warning,.workspace-shell .ui-context-block-warning,.workspace-shell .ui-panel-warning{border-color:var(--amber)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .context-block.warning,.workspace-shell .ui-context-block-warning,.workspace-shell .ui-panel-warning{border-color:color-mix(in srgb, var(--amber) 42%, var(--pa-border))}}.workspace-shell .context-block.warning,.workspace-shell .ui-context-block-warning,.workspace-shell .ui-panel-warning{background:var(--amber)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .context-block.warning,.workspace-shell .ui-context-block-warning,.workspace-shell .ui-panel-warning{background:color-mix(in srgb, var(--amber) 9%, var(--pa-panel))}}.workspace-shell .document-surface{border:1px solid var(--pa-border);border-radius:var(--pa-radius-lg);background:#f6f2e6}@supports (color:color-mix(in lab, red, red)){.workspace-shell .document-surface{background:color-mix(in srgb, #f6f2e6 96%, var(--pa-panel))}}.workspace-shell .document-surface{color:var(--pa-text);box-shadow:0 10px 26px -8px #0000004d}.workspace-shell .writer-command-bar{background:radial-gradient(circle at 0% 0%, var(--pa-accent) 0%, transparent 42%), var(--pa-bg);justify-content:space-between;align-items:center;gap:12px;min-height:52px;display:flex}@supports (color:color-mix(in lab, red, red)){.workspace-shell .writer-command-bar{background:radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--pa-accent) 8%, transparent) 0%, transparent 42%), var(--pa-bg)}}.workspace-shell .writer-command-actions .save-state{white-space:nowrap;margin-right:4px}.workspace-shell .writer-command-context{align-items:center;gap:11px;min-width:0;margin-right:auto;display:flex}.workspace-shell .writer-command-chapter{letter-spacing:.07em;text-transform:uppercase;color:var(--pa-soft);flex:none;font-size:.68rem;font-weight:700}.workspace-shell .writer-command-title{min-width:0;color:var(--pa-text);align-items:center;gap:8px;font-size:.95rem;font-weight:640;display:inline-flex;overflow:hidden}.workspace-shell .writer-command-title .status-dot{flex:none}.workspace-shell .writer-command-title-text{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.workspace-shell .save-dot-wrap{flex:none;align-items:center;padding-left:2px;display:inline-flex}.workspace-shell .save-dot{background:var(--pa-muted);border-radius:50%;width:9px;height:9px}@supports (color:color-mix(in lab, red, red)){.workspace-shell .save-dot{background:color-mix(in srgb, var(--pa-muted) 55%, transparent)}}.workspace-shell .save-dot{transition:background var(--dur-2,.22s) var(--ease-soft,ease)}.workspace-shell .save-dot-idle{background:var(--pa-muted)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .save-dot-idle{background:color-mix(in srgb, var(--pa-muted) 55%, transparent)}}.workspace-shell .save-dot-saving{background:var(--pa-accent);animation:1.1s ease-in-out infinite save-dot-pulse}.workspace-shell .save-dot-saved{background:var(--pa-accent)}.workspace-shell .save-dot-error{background:var(--danger)}.workspace-shell .save-dot-label{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@keyframes save-dot-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(.8)}}@media (prefers-reduced-motion:reduce){.workspace-shell .save-dot-saving{animation:none}}.workspace-shell .writer-command-main{gap:3px;min-width:0;display:grid}.workspace-shell .writer-command-main .micro-label,.workspace-shell .writer-document .doc-meta{margin:0}.workspace-shell .writer-target-summary{color:var(--pa-muted);font-size:var(--pa-font-control);gap:7px;font-weight:720;display:grid}.workspace-shell .writer-target-summary span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.workspace-shell .writer-target-meter{width:100%;max-width:220px}.workspace-shell .save-state-ready{color:var(--pa-muted)}.workspace-shell .save-state-saving{color:var(--pa-accent-strong)}.workspace-shell .save-state-error{color:var(--danger);font-weight:760}.workspace-shell .writer-document{width:min(100%, calc(var(--editor-page-width,680px) + 160px));min-height:min(820px,100vh - 154px);box-shadow:none;background:0 0;border:0;border-radius:0;margin-top:24px;padding:clamp(56px,7vh,92px) clamp(28px,5vw,72px) 72px}html[data-theme=dark] .workspace-shell .writer-document,.workspace-shell[data-theme=dark] .writer-document{color:var(--pa-text);box-shadow:none;background:0 0;border:0}.workspace-shell .writer-document-header{max-width:var(--editor-page-width,680px);margin-inline:auto;gap:10px;width:100%;margin-bottom:34px;display:grid}.workspace-shell .writer-document .doc-meta{color:var(--pa-soft);text-transform:uppercase;letter-spacing:.045em}.workspace-shell .writer-document h1{max-width:720px;color:var(--pa-text);font-size:3.35rem}.workspace-shell .writer-document .chapter-summary{color:var(--pa-muted);margin:0}.workspace-shell{--editor-font-scale:1}.workspace-shell[data-editor-font=small]{--editor-font-scale:.9}.workspace-shell[data-editor-font=large]{--editor-font-scale:1.1}.workspace-shell[data-editor-font=xlarge]{--editor-font-scale:1.22}.workspace-shell .writer-document .ProseMirror{max-width:var(--editor-page-width,680px);min-height:360px;color:var(--pa-text);font-family:var(--editor-font-family,var(--font-reading));font-size:calc(1.18rem * var(--editor-font-scale,1));line-height:var(--editor-line-height,1.85);outline:0;margin-inline:auto}.workspace-shell .writer-document .ProseMirror p{margin:0 0 var(--editor-para-space,1.15em);text-indent:var(--editor-indent,0);text-align:var(--editor-text-align,left)}.workspace-shell .writer-document .ProseMirror>p:first-child,.workspace-shell .writer-document .ProseMirror hr+p,.workspace-shell .writer-document .ProseMirror h1+p,.workspace-shell .writer-document .ProseMirror h2+p,.workspace-shell .writer-document .ProseMirror h3+p{text-indent:0}.workspace-shell .writer-footer{background:var(--pa-bg)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .writer-footer{background:color-mix(in srgb, var(--pa-bg) 92%, var(--pa-panel))}}.workspace-shell .writer-command-actions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.workspace-shell .writer-focus-toggle{border:1px solid var(--pa-border);border-radius:var(--pa-radius-sm);background:var(--pa-panel);height:38px;color:var(--pa-muted);font-size:var(--pa-font-control,.85rem);cursor:pointer;align-items:center;gap:7px;padding:0 13px;font-weight:640;transition:background .12s,color .12s,border-color .12s;display:inline-flex}.workspace-shell .writer-focus-toggle:hover{background:var(--pa-panel-soft);color:var(--pa-text)}.workspace-shell .writer-focus-toggle.active{border-color:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .writer-focus-toggle.active{border-color:color-mix(in srgb, var(--pa-accent) 42%, transparent)}}.workspace-shell .writer-focus-toggle.active{background:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .writer-focus-toggle.active{background:color-mix(in srgb, var(--pa-accent) 16%, transparent)}}.workspace-shell .writer-focus-toggle.active{color:var(--pa-text)}.workspace-shell .writer-focus-toggle[aria-disabled=true]{opacity:.45;cursor:default}.workspace-shell .writer-focus-toggle[aria-disabled=true]:hover{background:var(--pa-panel);color:var(--pa-muted)}.workspace-shell .writer-command-actions .writer-focus-toggle{justify-content:center;width:38px;padding:0}.workspace-shell .writer-command-actions .writer-focus-toggle.has-caret{gap:3px;width:auto;padding:0 8px 0 10px}.workspace-shell .writer-command-actions .writer-focus-toggle.has-caret svg:last-child{opacity:.65}.workspace-shell .writer-command-group{align-items:center;gap:6px;display:flex}.workspace-shell .writer-command-group+.writer-command-group{border-left:1px solid var(--pa-border);margin-left:9px;padding-left:9px}.workspace-shell .action-menu-list>button[aria-pressed=true]{color:var(--pa-accent)}.workspace-shell .action-menu-list .panel-button-keys{color:var(--pa-soft);white-space:nowrap;margin-left:auto;padding-left:14px;font-size:11.5px;font-weight:500}.workspace-shell .editor-format-toolbar{border:1px solid var(--pa-border);border-radius:var(--pa-radius-md);background:var(--pa-panel);flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:6px;margin:10px 12px 0;padding:6px;display:flex}.workspace-shell .editor-format-toolbar .format-tool-group{border-right:1px solid var(--pa-border);align-items:center;gap:2px;margin-right:4px;padding-right:8px;display:flex}.workspace-shell .editor-format-toolbar .format-tool-group:last-child{border-right:0;margin-right:0;padding-right:0}@media (min-width:861px){.workspace-shell .editor-format-toolbar{display:none}}.workspace-shell .editor-bubble-menu{border:1px solid var(--pa-border-strong);background:var(--pa-panel-raised);box-shadow:var(--pa-shadow);z-index:60;border-radius:11px;align-items:center;gap:2px;padding:5px;display:flex}.workspace-shell .editor-bubble-btn{min-width:31px;height:31px;color:var(--pa-text);cursor:pointer;background:0 0;border:none;border-radius:7px;justify-content:center;align-items:center;gap:5px;padding:0 6px;transition:background .12s,color .12s;display:inline-flex}.workspace-shell .editor-bubble-btn:hover{background:var(--pa-panel-muted)}.workspace-shell .editor-bubble-btn.active{background:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .editor-bubble-btn.active{background:color-mix(in srgb, var(--pa-accent) 20%, transparent)}}.workspace-shell .editor-bubble-btn.active{color:var(--pa-accent)}.workspace-shell .editor-bubble-btn svg{width:16px;height:16px}.workspace-shell .editor-bubble-ask{color:var(--pa-accent);padding:0 11px 0 8px;font-size:13px;font-weight:640}.workspace-shell .editor-bubble-sep{background:var(--pa-border-strong);width:1px;height:20px;margin:0 3px}.workspace-shell .editor-bubble-link{align-items:center;gap:6px;padding:1px;display:flex}.workspace-shell .editor-bubble-link-input{border:1px solid var(--pa-border);background:var(--pa-panel-soft);width:210px;height:30px;color:var(--pa-text);border-radius:7px;padding:0 10px;font-size:13px}.workspace-shell .editor-bubble-link-apply{border:1px solid var(--pa-accent-strong);border-radius:var(--pa-radius-sm);background:var(--pa-accent-strong);height:30px;color:var(--pa-bg);cursor:pointer;padding:0 12px;font-size:13px;font-weight:640;transition:opacity .12s}.workspace-shell .editor-plus-btn{border:1px solid var(--pa-border);background:var(--pa-panel);width:26px;height:26px;color:var(--pa-soft);cursor:pointer;border-radius:7px;justify-content:center;align-items:center;transition:background .12s,color .12s,border-color .12s;display:inline-flex}.workspace-shell .editor-plus-btn:hover{background:var(--pa-panel-muted);border-color:var(--pa-border-strong);color:var(--pa-text)}.editor-slash-menu{z-index:200;border:1px solid var(--pa-border-strong);background:var(--pa-panel-raised);width:244px;box-shadow:var(--pa-shadow);overscroll-behavior:contain;border-radius:11px;padding:6px;position:fixed;overflow-y:auto}.editor-slash-head{letter-spacing:.06em;text-transform:uppercase;color:var(--pa-soft);margin:2px 10px 6px;font-size:11px;font-weight:700}.editor-block-item{width:100%;color:var(--pa-text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:7px;align-items:center;gap:11px;padding:7px 10px;font-size:14px;display:flex}.editor-block-item.is-active{background:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.editor-block-item.is-active{background:color-mix(in srgb, var(--pa-accent) 15%, transparent)}}.editor-block-glyph{width:24px;color:var(--pa-muted);flex:none;justify-content:center;align-items:center;font-family:Georgia,Times New Roman,serif;font-size:13.5px;font-weight:600;display:inline-flex}.editor-block-item.is-active .editor-block-glyph{color:var(--pa-text)}.editor-block-label{flex:1;min-width:0}.editor-block-hint{color:var(--pa-soft);font-family:var(--font-mono,ui-monospace, monospace);flex:none;font-size:12px}@media (max-width:860px){.workspace-shell .editor-bubble-menu,.workspace-shell .editor-plus-menu,.editor-slash-menu{display:none!important}}.workspace-shell .editor-format-panel{z-index:55;border:1px solid var(--pa-border);border-radius:var(--pa-radius-lg);background:var(--pa-panel);flex-direction:column;width:min(340px,100vw - 28px);max-height:calc(100vh - 128px);display:flex;position:fixed;top:112px;right:14px;overflow:hidden;box-shadow:0 18px 48px -14px #00000080}.workspace-shell .editor-format-panel .fmt-head{border-bottom:1px solid var(--pa-border);flex-shrink:0;justify-content:space-between;align-items:flex-start;gap:12px;padding:14px 16px 12px;display:flex}.workspace-shell .editor-format-panel .fmt-head h2{margin:2px 0 0;font-size:1rem;font-weight:700;line-height:1.2}.workspace-shell .editor-format-panel .fmt-body{flex-direction:column;gap:15px;padding:15px 16px 18px;display:flex;overflow-y:auto}.workspace-shell .editor-format-panel .fmt-field{gap:7px;display:grid}.workspace-shell .editor-format-panel .fmt-label{color:var(--pa-text);font-size:12px;font-weight:680}.workspace-shell .editor-format-panel .fmt-seg{grid-auto-columns:1fr;grid-auto-flow:column;gap:6px;display:grid}.workspace-shell .editor-format-panel .fmt-seg-btn{border:1px solid var(--pa-border);background:var(--pa-panel-soft);min-height:40px;color:var(--pa-muted);cursor:pointer;font:inherit;border-radius:8px;justify-content:center;align-items:center;gap:4px;padding:0 6px;transition:background .12s,color .12s,border-color .12s;display:inline-flex}.workspace-shell .editor-format-panel .fmt-seg-btn:hover{color:var(--pa-text)}.workspace-shell .editor-format-panel .fmt-seg-btn.active{border-color:var(--pa-accent);background:var(--pa-panel);color:var(--pa-text);box-shadow:inset 0 0 0 1px var(--pa-accent)}.workspace-shell .editor-format-panel .fmt-ab{font-family:var(--font-serif), Georgia, serif;font-weight:600;line-height:1}.workspace-shell .editor-format-panel .fmt-seg-text{font-size:12px;font-weight:640}.workspace-shell .editor-format-panel .fmt-reset{border:1px solid var(--pa-border);color:var(--pa-muted);cursor:pointer;font:inherit;background:0 0;border-radius:8px;align-self:flex-start;align-items:center;gap:7px;margin-top:2px;padding:7px 12px;font-size:12px;font-weight:640;display:inline-flex}.workspace-shell .editor-format-panel .fmt-reset:hover{color:var(--pa-text);background:var(--pa-panel-soft)}.workspace-shell .link-tool-wrap{flex:none;display:inline-flex;position:relative}.workspace-shell .link-popover{z-index:40;border:1px solid var(--pa-border);border-radius:var(--pa-radius-md);background:var(--pa-panel);align-items:center;gap:6px;padding:6px;display:flex;position:absolute;top:calc(100% + 6px);left:0;box-shadow:0 12px 30px -10px #00000073}.workspace-shell .link-popover-input{border:1px solid var(--pa-border);background:var(--pa-panel-soft);width:min(240px,48vw);height:30px;color:var(--pa-text);font:inherit;border-radius:7px;padding:0 10px;font-size:13px}.workspace-shell .link-popover-input:focus{border-color:var(--pa-border-strong);outline:none}.workspace-shell .link-popover-btn{border:1px solid var(--pa-border);border-radius:var(--pa-radius-sm);background:var(--pa-panel-raised);height:30px;color:var(--pa-text);font:inherit;cursor:pointer;white-space:nowrap;padding:0 11px;font-size:12px;font-weight:650;transition:background .12s,border-color .12s,opacity .12s}.workspace-shell .link-popover-btn.primary{border-color:var(--pa-accent-strong);background:var(--pa-accent-strong);color:var(--pa-bg)}.workspace-shell .link-popover-btn.danger{color:var(--danger)}.workspace-shell .link-popover-btn.danger:hover{border-color:var(--danger)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .link-popover-btn.danger:hover{border-color:color-mix(in srgb, var(--danger) 42%, var(--pa-border))}}.workspace-shell .link-popover-btn.danger:hover{background:var(--danger-surface)}.workspace-shell .link-popover-btn:not(.danger):not(.primary):hover{border-color:var(--pa-border-strong);background:var(--pa-control-hover)}.workspace-shell .link-popover-btn.primary:hover{opacity:.88}.workspace-shell .link-popover-btn:disabled,.workspace-shell .editor-bubble-link-apply:disabled{opacity:.55;cursor:not-allowed}.workspace-shell .editor-bubble-link-apply:hover:not(:disabled){opacity:.88}.workspace-shell .format-tool{border-radius:var(--pa-radius-sm);min-width:34px;height:34px;color:var(--pa-muted);cursor:pointer;background:0 0;border:1px solid #0000;justify-content:center;align-items:center;padding:0 8px;transition:background .12s,color .12s,border-color .12s;display:inline-flex}.workspace-shell .format-tool:hover:not(:disabled){background:var(--pa-panel-soft);color:var(--pa-text)}.workspace-shell .format-tool.active{background:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .format-tool.active{background:color-mix(in srgb, var(--pa-accent) 18%, transparent)}}.workspace-shell .format-tool.active{border-color:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .format-tool.active{border-color:color-mix(in srgb, var(--pa-accent) 36%, transparent)}}.workspace-shell .format-tool.active{color:var(--pa-text)}.workspace-shell .format-tool:disabled{opacity:.38;cursor:default}.workspace-shell .format-tool-text{font-size:14px;font-weight:700;line-height:1}.workspace-shell .format-tool-text.bold{font-weight:850}.workspace-shell .format-tool-text.italic{font-style:italic;font-family:var(--font-reading)}.workspace-shell .format-tool-text.underline{text-underline-offset:2px;text-decoration:underline}.workspace-shell .format-tool-text.strike{text-decoration:line-through}.workspace-shell .writer-document .ProseMirror h1{font-family:var(--font-reading);margin:1.1em 0 .5em;font-size:1.61em;font-weight:600;line-height:1.2}.workspace-shell .writer-document .ProseMirror h2{font-family:var(--font-reading);margin:1em 0 .45em;font-size:1.27em;font-weight:600;line-height:1.25}.workspace-shell .writer-document .ProseMirror h3{font-family:var(--font-reading);margin:.9em 0 .4em;font-size:1.06em;font-weight:600;line-height:1.3}.workspace-shell .writer-document .ProseMirror ul,.workspace-shell .writer-document .ProseMirror ol{margin:0 0 1.15em;padding-left:1.5em;list-style-position:outside}.workspace-shell .writer-document .ProseMirror ul{list-style-type:disc}.workspace-shell .writer-document .ProseMirror ol{list-style-type:decimal}.workspace-shell .writer-document .ProseMirror li{margin:0 0 .35em}.workspace-shell .writer-document .ProseMirror li p{margin:0}.workspace-shell .writer-document .ProseMirror blockquote{border-left:3px solid var(--pa-accent);margin:0 0 1.15em;padding:.1em 0 .1em 1.1em}@supports (color:color-mix(in lab, red, red)){.workspace-shell .writer-document .ProseMirror blockquote{border-left:3px solid color-mix(in srgb, var(--pa-accent) 55%, var(--pa-border))}}.workspace-shell .writer-document .ProseMirror blockquote{color:var(--pa-muted);font-style:italic}.workspace-shell .writer-document .ProseMirror a{color:var(--pa-accent-strong,var(--pa-accent));text-underline-offset:2px;text-decoration:underline}.workspace-shell .writer-document .ProseMirror hr{border:0;border-top:1px solid var(--pa-accent);width:40%;min-width:120px;height:0;margin:1.5em auto}@supports (color:color-mix(in lab, red, red)){.workspace-shell .writer-document .ProseMirror hr{border-top:1px solid color-mix(in srgb, var(--pa-accent) 42%, var(--pa-border))}}.workspace-shell .writer-document .ProseMirror hr.ProseMirror-selectednode{border-top-color:var(--pa-accent);outline:none}.workspace-shell .writer-document[data-scene-divider=asterisks] .ProseMirror hr,.workspace-shell .writer-document[data-scene-divider=dots] .ProseMirror hr{text-align:center;width:auto;min-width:0;height:auto;color:var(--pa-muted);border:0}.workspace-shell .writer-document[data-scene-divider=asterisks] .ProseMirror hr:before{content:"* * *";font-family:var(--editor-font-family,var(--font-reading));letter-spacing:.35em}.workspace-shell .writer-document[data-scene-divider=dots] .ProseMirror hr:before{content:"•   •   •"}.workspace-shell .writer-document[data-scene-divider=blank] .ProseMirror hr{border:0;width:auto;min-width:0;height:0;margin:2.4em auto}.workspace-shell .writer-document .ProseMirror>.scene{position:relative}.workspace-shell .writer-document .ProseMirror>.scene+.scene{margin-top:1.7em;padding-top:1.7em}.workspace-shell .writer-document .ProseMirror>.scene+.scene:before{content:"";background:var(--pa-border);width:42px;height:1px;position:absolute;top:0;left:50%;transform:translate(-50%)}.workspace-shell .writer-document[data-scene-divider=asterisks] .ProseMirror>.scene+.scene:before,.workspace-shell .writer-document[data-scene-divider=dots] .ProseMirror>.scene+.scene:before{width:auto;height:auto;color:var(--pa-muted);font-family:var(--editor-font-family,var(--font-reading));background:0 0}.workspace-shell .writer-document[data-scene-divider=asterisks] .ProseMirror>.scene+.scene:before{content:"* * *";letter-spacing:.35em}.workspace-shell .writer-document[data-scene-divider=dots] .ProseMirror>.scene+.scene:before{content:"•  •  •"}.workspace-shell .writer-document[data-scene-divider=blank] .ProseMirror>.scene+.scene{margin-top:3em;padding-top:0}.workspace-shell .writer-document[data-scene-divider=blank] .ProseMirror>.scene+.scene:before{display:none}.workspace-shell .writer-document[data-scene-divider=framed] .ProseMirror{counter-reset:pa-scene}.workspace-shell .writer-document[data-scene-divider=framed] .ProseMirror>.scene{counter-increment:pa-scene;border-left:1px dashed var(--pa-border);padding-left:1.5em}.workspace-shell .writer-document[data-scene-divider=framed] .ProseMirror>.scene+.scene{margin-top:2.4em;padding-top:0}.workspace-shell .writer-document[data-scene-divider=framed] .ProseMirror>.scene:before{content:"Scene " counter(pa-scene);width:auto;height:auto;font-family:var(--font-ui,system-ui, sans-serif);letter-spacing:.09em;text-transform:uppercase;color:var(--pa-soft);background:0 0;margin:0 0 .7em -1.5em;font-size:.66rem;font-weight:600;display:block;position:static;transform:none}.workspace-shell .writer-document[data-scene-divider=framed] .ProseMirror>.scene[data-scene-pov]:before{content:"Scene " counter(pa-scene) "  · " attr(data-scene-pov)}.workspace-shell .writer-document[data-scene-divider=framed] .ProseMirror>.scene[data-scene-location]:before{content:"Scene " counter(pa-scene) "  · " attr(data-scene-location)}.workspace-shell .writer-document[data-scene-divider=framed] .ProseMirror>.scene[data-scene-pov][data-scene-location]:before{content:"Scene " counter(pa-scene) "  · " attr(data-scene-pov) "  · " attr(data-scene-location)}.workspace-shell .scene-rail{gap:12px;display:grid}.workspace-shell .scene-rail-summary{color:var(--pa-soft);justify-content:space-between;align-items:center;gap:8px;margin:0;font-size:12.5px;display:flex}.workspace-shell .scene-rail-collapse-all{color:var(--pa-soft);cursor:pointer;background:0 0;border:0;flex:none;padding:2px 4px;font-size:12px}.workspace-shell .scene-rail-collapse-all:hover{color:var(--pa-text)}.workspace-shell .scene-rail-add{justify-self:start}.workspace-shell .scene-rail-hint{color:var(--pa-muted);margin:0;font-size:12.5px;line-height:1.55}.workspace-shell .scene-card-list{gap:10px;display:grid}.workspace-shell .scene-card{border:1px solid var(--pa-border);border-radius:var(--pa-radius-lg);background:var(--pa-panel);gap:9px;padding:12px;display:grid}.workspace-shell .scene-card.dragging{opacity:.55}.workspace-shell .scene-card.collapsed{gap:0;padding:8px 12px}.workspace-shell .scene-card-head{align-items:center;gap:8px;display:flex}.workspace-shell .scene-card-head .outline-card-index{color:var(--pa-soft);font-size:11px;font-weight:600}.workspace-shell .scene-card-head .outline-card-grip{color:var(--pa-soft);opacity:.65}.workspace-shell .scene-card:hover .outline-card-grip{opacity:1}.workspace-shell .scene-card-collapse{color:var(--pa-soft);cursor:pointer;background:0 0;border:0;border-radius:5px;flex:none;padding:2px;display:inline-flex}.workspace-shell .scene-card:not(.collapsed) .scene-card-collapse{margin-left:auto}.workspace-shell .scene-card-collapse:hover{color:var(--pa-text);background:var(--pa-panel-soft)}.workspace-shell .scene-card-collapsed-title{text-overflow:ellipsis;white-space:nowrap;text-align:left;min-width:0;font-family:var(--font-heading);color:var(--pa-text);cursor:pointer;background:0 0;border:0;flex:0 auto;margin-right:auto;font-size:.9rem;font-weight:600;overflow:hidden}.workspace-shell .scene-card-words-mini{color:var(--pa-soft);flex:none;font-size:11px}.workspace-shell .scene-card-title{width:100%;color:var(--pa-text);font-family:var(--font-heading);background:0 0;border:0;padding:2px 0;font-size:.98rem;font-weight:600}.workspace-shell .scene-card-title::placeholder{color:var(--pa-soft);font-weight:500}.workspace-shell .scene-card-meta{gap:5px;display:grid}.workspace-shell .scene-card-meta label{grid-template-columns:42px minmax(0,1fr);align-items:center;gap:9px;min-width:0;display:grid}.workspace-shell .scene-card-meta label span{letter-spacing:.05em;text-transform:uppercase;color:var(--pa-soft);font-size:10px}.workspace-shell .scene-card-meta input{border:1px solid var(--pa-border);border-radius:var(--pa-radius-sm);background:var(--pa-panel-soft);width:100%;min-width:0;color:var(--pa-text);padding:5px 8px;font-size:12.5px}.workspace-shell .scene-card-meta input:focus{border-color:var(--pa-accent);outline:none}@supports (color:color-mix(in lab, red, red)){.workspace-shell .scene-card-meta input:focus{border-color:color-mix(in srgb, var(--pa-accent) 55%, var(--pa-border))}}.workspace-shell .scene-card-meta input:focus{background:var(--pa-panel-soft)}.workspace-shell .scene-card-meta input:placeholder-shown{background:0 0;border-color:#0000}.workspace-shell .scene-card-meta input:placeholder-shown:hover{border-color:var(--pa-border);background:var(--pa-panel-soft)}.workspace-shell .scene-card-foot{color:var(--pa-muted);flex-wrap:wrap;align-items:center;gap:8px;font-size:12px;display:flex}.workspace-shell .scene-card-meter{flex:1;min-width:44px}.workspace-shell .scene-card-actions{gap:8px;width:100%;display:flex}.workspace-shell .scene-card-actions .panel-button{white-space:nowrap;justify-content:center;align-items:center;gap:5px;padding:0 11px;display:inline-flex}.workspace-shell .scene-card-actions>.split-button{flex:auto}.workspace-shell .scene-card-actions>.scene-card-jump{flex:0 auto}.workspace-shell .scene-card-check:disabled,.workspace-shell .scene-card-extract:disabled{opacity:.6;cursor:progress}.workspace-shell .scene-card-jump{margin-left:0}.workspace-shell .scene-card-findings{color:var(--danger);background:var(--danger);border-radius:999px;align-items:center;gap:3px;margin-left:auto;padding:2px 7px;font-size:11px;font-weight:600;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.workspace-shell .scene-card-findings{background:color-mix(in srgb, var(--danger) 16%, transparent)}}.workspace-shell .atlas-card{--entity-color:var(--pa-accent);background:var(--pa-panel);border:1px solid var(--pa-border);border-radius:12px;margin-bottom:10px;overflow:hidden}.workspace-shell .atlas-card.open{border-color:var(--entity-color)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .atlas-card.open{border-color:color-mix(in srgb, var(--entity-color) 30%, var(--pa-border))}}.workspace-shell .atlas-card-head{text-align:left;cursor:pointer;width:100%;color:var(--pa-text);background:0 0;border:0;align-items:center;gap:9px;padding:11px 12px;display:flex}.workspace-shell .atlas-card-head:hover{background:var(--pa-panel-soft)}.workspace-shell .atlas-card-dot{background:var(--entity-color);border-radius:50%;flex:none;width:9px;height:9px}.workspace-shell .atlas-card-id{flex-direction:column;gap:1px;min-width:0;margin-right:auto;display:flex}.workspace-shell .atlas-card-id strong{color:var(--entity-color);font-size:14px;font-weight:600}.workspace-shell .atlas-card-id small{color:var(--pa-muted);white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.workspace-shell .atlas-card-head svg{color:var(--pa-soft);flex:none}.workspace-shell .atlas-card>.atlas-state-chips{margin:0;padding:0 12px 11px}.workspace-shell .atlas-card-body{padding:0 12px 12px}.workspace-shell .atlas-card-context{align-items:flex-start;gap:8px;display:flex}.workspace-shell .atlas-card-context p{color:var(--pa-muted);flex:1;margin:0;font-size:12.5px;line-height:1.5}.workspace-shell .atlas-icon-btn{color:var(--pa-soft);cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;padding:4px;display:inline-flex}.workspace-shell .atlas-icon-btn:hover{color:var(--pa-text);background:var(--pa-panel-soft)}.workspace-shell .atlas-spine-head{align-items:baseline;gap:7px;margin:14px 0 2px;display:flex}.workspace-shell .atlas-spine-head span:first-child{color:var(--pa-text);font-size:12px;font-weight:600}.workspace-shell .atlas-spine-count{color:var(--pa-soft);font-size:11px}.workspace-shell .atlas-spine{padding-left:18px;position:relative}.workspace-shell .atlas-spine:before{content:"";background:var(--pa-border);width:1px;position:absolute;top:8px;bottom:18px;left:4px}.workspace-shell .atlas-state{border-radius:8px;padding:7px 6px 7px 0;position:relative}.workspace-shell .atlas-state:not(.editing):hover{background:var(--pa-panel-soft)}.workspace-shell .atlas-state-node{background:var(--entity-color);width:9px;height:9px;box-shadow:0 0 0 3px var(--pa-panel);border-radius:50%;position:absolute;top:11px;left:-17px}.workspace-shell .atlas-state:hover .atlas-state-node{box-shadow:0 0 0 3px var(--pa-panel-soft)}.workspace-shell .add-state .atlas-state-node{border:1.5px dashed var(--pa-border-strong);background:0 0}.workspace-shell .atlas-state-line{align-items:center;gap:8px;display:flex}.workspace-shell .atlas-state-label{color:var(--pa-text);overflow-wrap:anywhere;min-width:0;font-size:13px;font-weight:500}.workspace-shell .atlas-scene-pill{color:var(--pa-accent);border:1px solid var(--pa-accent);flex:none;font-size:10.5px}@supports (color:color-mix(in lab, red, red)){.workspace-shell .atlas-scene-pill{border:1px solid color-mix(in srgb, var(--pa-accent) 40%, var(--pa-border))}}.workspace-shell .atlas-scene-pill{background:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .atlas-scene-pill{background:color-mix(in srgb, var(--pa-accent) 12%, transparent)}}.workspace-shell .atlas-scene-pill{white-space:nowrap;border-radius:999px;padding:1px 7px}.workspace-shell .atlas-state-acts{opacity:0;flex:none;gap:1px;margin-left:auto;transition:opacity .12s;display:flex}.workspace-shell .atlas-state:hover .atlas-state-acts,.workspace-shell .atlas-state:focus-within .atlas-state-acts{opacity:1}.workspace-shell .atlas-state-acts button{color:var(--pa-soft);cursor:pointer;background:0 0;border:0;border-radius:5px;padding:3px;display:inline-flex}.workspace-shell .atlas-state-acts button:hover:not(:disabled){color:var(--pa-text);background:var(--pa-panel)}.workspace-shell .atlas-state-acts button:disabled{opacity:.35;cursor:default}.workspace-shell .atlas-state-acts button.dgr:hover{color:var(--danger)}.workspace-shell .atlas-state-note{color:var(--pa-soft);margin:3px 0 0;font-size:12px;line-height:1.45}.workspace-shell .atlas-state-edit{gap:6px;padding:2px 0;display:grid}.workspace-shell .atlas-state-edit input,.workspace-shell .atlas-state-edit textarea{width:100%}.workspace-shell .atlas-state-edit-actions{justify-content:flex-end;gap:6px;display:flex}.workspace-shell .atlas-add-state{color:var(--pa-soft);cursor:pointer;background:0 0;border:0;align-items:center;gap:5px;padding:5px 2px;font-size:12.5px;display:inline-flex}.workspace-shell .atlas-add-state:hover{color:var(--pa-text)}.workspace-shell .atlas-card-foot{margin-top:8px;display:flex}.workspace-shell .atlas-unlink{color:var(--pa-soft);cursor:pointer;background:0 0;border:0;padding:4px 2px;font-size:12px}.workspace-shell .atlas-unlink:hover{color:var(--danger)}.workspace-shell.focus-mode{grid-template:"body"minmax(0,1fr)/minmax(0,1fr)}.workspace-shell.focus-mode .topbar,.workspace-shell.focus-mode .app-sidebar,.workspace-shell.focus-mode .left-rail,.workspace-shell.focus-mode .context-panel,.workspace-shell.focus-mode .context-handle,.workspace-shell.focus-mode .mobile-workspace-nav,.workspace-shell.focus-mode .mobile-context-strip,.workspace-shell.focus-mode .workspace-progress{display:none}.workspace-shell.focus-mode .editor-pane{grid-column:1/-1}:root[data-desktop-chrome] .workspace-shell.focus-mode .editor-pane{background:var(--pa-rail)}.workspace-shell.focus-mode .writer-command-bar,.workspace-shell.focus-mode .editor-format-toolbar,.workspace-shell.focus-mode .ai-compose-panel{width:min(100%, calc((var(--editor-page-width,680px) + 160px) * 1.08));margin-left:auto;margin-right:auto}:root[data-desktop-chrome] .workspace-shell.focus-mode .writer-command-bar{background:0 0;border:none;width:100%;height:0;min-height:0;margin:0;padding:0;overflow:visible}:root[data-desktop-chrome] .workspace-shell.focus-mode .writer-command-context{z-index:5;-webkit-app-region:drag;justify-content:center;padding:14px 160px 10px;position:fixed;top:0;left:0;right:0}:root[data-desktop-chrome] .workspace-shell.focus-mode .writer-command-actions{z-index:5;background:var(--pa-rail);border-radius:12px;justify-content:flex-start;gap:6px;padding:5px;position:fixed;bottom:16px;left:16px}@supports (color:color-mix(in lab, red, red)){:root[data-desktop-chrome] .workspace-shell.focus-mode .writer-command-actions{background:color-mix(in srgb, var(--pa-rail) 82%, transparent)}}:root[data-desktop-chrome] .workspace-shell.focus-mode .writer-command-actions{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid var(--pa-border);box-shadow:0 6px 18px #0000001a}:root[data-desktop-chrome] .workspace-shell.focus-mode .editor-pane{padding-top:48px}:root[data-desktop-chrome] .workspace-shell.focus-mode .editor-format-toolbar,:root[data-desktop-chrome] .workspace-shell.focus-mode .ai-compose-panel{width:min(calc((var(--editor-page-width,680px) + 160px) * 1.08), calc(100% - 340px))}:root[data-desktop-chrome] .workspace-shell.focus-mode .editor-footer{background:0 0;border-top:none;justify-content:center}.workspace-shell.focus-mode .editor-format-toolbar{margin-top:10px}.workspace-shell.focus-mode .writer-command-optional{display:none}.workspace-shell.focus-mode .writer-command-bar{min-height:44px;padding-top:12px}.workspace-shell.focus-mode .writer-target-summary{display:none}.workspace-shell.focus-mode .writer-document{width:min(100%, calc((var(--editor-page-width,680px) + 160px) * 1.08));margin-left:auto;margin-right:auto}.workspace-shell.focus-mode .writer-document-header,.workspace-shell.focus-mode .writer-document .ProseMirror{max-width:calc(var(--editor-page-width,680px) * 1.08)}.workspace-shell.focus-mode .writer-command-bar,.workspace-shell.focus-mode .editor-footer{transition:opacity .35s}.workspace-shell.focus-mode .writer-command-bar.is-faded,.workspace-shell.focus-mode .editor-footer.is-faded{opacity:0;pointer-events:none}.workspace-shell.focus-mode .writer-command-bar.is-faded:focus-within,.workspace-shell.focus-mode .editor-footer.is-faded:focus-within{opacity:1;pointer-events:auto}@property --focus-scroll-fade{syntax:"<length>";inherits:false;initial-value:0}.workspace-shell.focus-mode .editor-scroll{--focus-scroll-fade:0px;-webkit-mask-image:linear-gradient(to bottom, transparent 0, #000 var(--focus-scroll-fade));-webkit-mask-image:linear-gradient(to bottom, transparent 0, #000 var(--focus-scroll-fade));-webkit-mask-image:linear-gradient(to bottom, transparent 0, #000 var(--focus-scroll-fade));-webkit-mask-image:linear-gradient(to bottom, transparent 0, #000 var(--focus-scroll-fade));mask-image:linear-gradient(to bottom, transparent 0, #000 var(--focus-scroll-fade));transition:--focus-scroll-fade .2s}.workspace-shell.focus-mode .editor-scroll.is-scrolled{--focus-scroll-fade:32px}.workspace-shell .editor-pane{view-transition-name:editor-pane}::view-transition-old(root){animation-duration:var(--dur-4);animation-timing-function:var(--ease-settle)}::view-transition-new(root){animation-duration:var(--dur-4);animation-timing-function:var(--ease-settle)}::view-transition-old(editor-pane){animation-duration:var(--dur-4);animation-timing-function:var(--ease-settle)}::view-transition-new(editor-pane){animation-duration:var(--dur-4);animation-timing-function:var(--ease-settle)}.workspace-shell .empty-editor-prompt{border:1px solid var(--pa-border);border-radius:var(--pa-radius-md);background:var(--pa-panel-soft);color:var(--pa-muted);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;margin:24px 0;padding:14px 16px;display:grid}.workspace-shell .empty-editor-prompt>div{gap:4px;min-width:0;display:grid}.workspace-shell .empty-editor-prompt strong{color:var(--pa-text);font-size:.98rem;line-height:1.25}.workspace-shell .empty-editor-prompt span{color:var(--pa-muted);font-size:.9rem;line-height:1.45}.workspace-shell .editor-toolbar,.workspace-shell .editor-footer{border-color:var(--pa-border);background:var(--pa-bg)}.workspace-shell .format-tools{border-color:var(--pa-border);background:var(--pa-panel)}.workspace-shell .quick-open-wrap{z-index:30;position:relative}.workspace-shell .quick-open-popover{border:1px solid var(--pa-border);border-radius:var(--pa-radius-md);background:var(--pa-panel);max-height:min(520px,100vh - 96px);padding:8px;display:grid;position:absolute;top:calc(100% + 8px);left:0;right:0;overflow:auto;box-shadow:0 18px 50px #0000005c}.workspace-shell .quick-open-result{border-radius:var(--pa-radius-sm);width:100%;color:var(--pa-text);text-align:left;background:0 0;border:1px solid #0000;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px;display:grid}.workspace-shell .quick-open-result.active,.workspace-shell .quick-open-result:hover{border-color:var(--pa-border);background:var(--pa-panel-soft)}.workspace-shell .quick-open-result span,.workspace-shell .quick-open-result strong,.workspace-shell .quick-open-result small{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.workspace-shell .account-panel-backdrop{z-index:40;background:#14141247;justify-content:flex-end;display:flex;position:fixed;inset:0}.workspace-shell .account-panel{border-left:1px solid var(--pa-border);background:var(--pa-panel);width:min(460px,100vw);height:100vh;color:var(--pa-text);grid-template-rows:auto minmax(0,1fr);display:grid;box-shadow:-10px 0 26px -8px #14141242}.workspace-shell .account-panel-scroll{align-content:start;gap:14px;min-height:0;padding:18px;display:grid;overflow:auto}.workspace-shell .mobile-workspace-nav,.workspace-shell .mobile-context-strip{border-color:var(--pa-border);background:var(--pa-topbar);display:none}@media (min-width:861px){.workspace-grid{background:var(--pa-bg)}.workspace-shell:not(.focus-mode) .workspace-grid.context-open>.context-panel{display:flex}.workspace-grid.context-closed>.context-panel{display:none}}@media (max-width:860px){.workspace-shell .quick-open-wrap .quick-open{display:flex}.workspace-shell{grid-template-columns:minmax(0,1fr);grid-template-areas:none}.workspace-shell>.app-sidebar{display:none}.workspace-shell>.topbar,.workspace-shell>.workspace-body{grid-area:auto}.workspace-grid{grid-template-columns:minmax(0,1fr)!important}.workspace-shell .context-panel,.workspace-shell .context-handle,.workspace-shell .view-nav-row{display:none}.workspace-shell .mobile-workspace-nav,.workspace-shell .mobile-context-strip{display:flex}.workspace-shell .editor-pane,.workspace-shell .library-pane{min-width:0}.workspace-shell{grid-template-rows:auto auto auto minmax(0,1fr);width:100%;max-width:100%;overflow-x:hidden}.workspace-shell .topbar{grid-template-columns:auto minmax(0,1fr) auto;gap:8px;height:auto;min-height:52px;padding:6px 8px;overflow:hidden}.workspace-shell .brand-lockup{min-width:40px}.workspace-shell .brand-name,.workspace-shell .project-switcher,.workspace-shell .topbar-button{display:none!important}.workspace-shell .quick-open-wrap,.workspace-shell .quick-open{width:100%}.workspace-shell .quick-open{height:40px;padding-inline:10px}.workspace-shell .quick-open input{text-overflow:ellipsis;min-width:0;font-size:13px;overflow:hidden}.workspace-shell .quick-open kbd{display:none}.workspace-shell .quick-open-popover{position:fixed;top:58px;left:10px;right:10px}.workspace-shell .account-popover{width:min(280px,100vw - 20px);position:fixed;top:58px;left:auto;right:10px}.workspace-shell .mobile-workspace-nav{scroll-behavior:smooth;-webkit-overflow-scrolling:touch;scrollbar-width:none;border-bottom:1px solid var(--pa-border);grid-auto-columns:minmax(62px,1fr);grid-auto-flow:column;gap:4px;width:100%;padding:6px 8px;display:grid;overflow-x:auto}.workspace-shell .mobile-workspace-nav::-webkit-scrollbar{display:none}.workspace-shell .mobile-nav-item{border-radius:var(--pa-radius-sm);white-space:nowrap;place-items:center;gap:3px;width:100%;min-width:0;height:42px;padding:4px 5px;font-size:.75rem;display:grid}.workspace-shell .mobile-nav-item .nav-glyph,.workspace-shell .mobile-nav-item .nav-glyph svg{width:17px;height:17px}.workspace-shell .mobile-context-strip{border-bottom:1px solid var(--pa-border);grid-template-columns:minmax(0,1fr);gap:8px;padding:8px 10px;display:grid}.workspace-shell .mobile-context-main{gap:2px;display:grid}.workspace-shell .mobile-context-main strong,.workspace-shell .mobile-context-main small,.workspace-shell .mobile-context-controls select{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.workspace-shell .mobile-context-controls{gap:8px;display:grid}.workspace-shell .mobile-context-controls label{gap:4px;display:grid}.workspace-shell .mobile-context-controls label>span{display:none}.workspace-shell .mobile-context-controls select{border:1px solid var(--pa-border);border-radius:var(--pa-radius-sm);background:var(--pa-panel-soft);min-height:40px;color:var(--pa-text);padding-inline:10px}.workspace-shell .mobile-context-library,.workspace-shell .mobile-chapter-actions button{border:1px solid var(--pa-border);border-radius:var(--pa-radius-sm);background:var(--pa-panel-soft);min-height:40px;color:var(--pa-text);justify-content:center;align-items:center;gap:8px;font-weight:760;display:flex}.workspace-shell .mobile-chapter-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.workspace-shell .mobile-chapter-actions button.active{border-color:var(--pa-border-strong);background:var(--pa-panel-muted);color:var(--pa-text)}.workspace-shell .writer-command-bar{gap:8px;padding:8px 10px}.workspace-shell .writer-command-main{gap:2px}.workspace-shell .writer-command-main .micro-label,.workspace-shell .writer-target-summary{display:none}.workspace-shell .writer-document{width:100%;min-height:calc(100vh - 220px);box-shadow:none;border-left:0;border-right:0;border-radius:0;padding:22px 20px 52px}.workspace-shell .writer-document-header{gap:8px;margin-bottom:20px}.workspace-shell .writer-document h1{font-size:2.15rem}.workspace-shell .writer-document .ProseMirror{min-height:340px;font-size:calc(1.08rem * var(--editor-font-scale,1));line-height:1.75}.workspace-shell .writer-footer{grid-template-columns:auto minmax(80px,1fr) auto;gap:8px;padding-left:10px;padding-right:10px}.workspace-shell .editor-pane>:is(.plan-dashboard,.atlas-dashboard,.review-dashboard,.release-dashboard,.progress-dashboard,.export-dashboard),.workspace-shell .library-dashboard{padding:14px}.workspace-shell .library-header,.workspace-shell .workflow-focus-panel,.workspace-shell .library-controls,.workspace-shell .project-card,.workspace-shell .atlas-card,.workspace-shell .plan-arc,.workspace-shell .revision-task-card,.workspace-shell .progress-card,.workspace-shell .export-card{border-radius:var(--pa-radius-md)}.workspace-shell .library-header{gap:12px;padding:14px}.workspace-shell .library-header h1{font-size:clamp(1.72rem,8.5vw,2.45rem);line-height:1.02}.workspace-shell .workflow-focus-panel{grid-template-columns:minmax(0,1fr);gap:12px;padding:14px}.workspace-shell .workflow-focus-main{gap:6px}.workspace-shell .workflow-focus-main h2{font-size:clamp(1.38rem,5.8vw,2.05rem);line-height:1.05}.workspace-shell .workflow-focus-main p:not(.micro-label){font-size:.92rem;line-height:1.35}.workspace-shell .empty-editor-prompt{grid-template-columns:minmax(0,1fr);gap:10px;margin:18px 0;padding:12px}.workspace-shell .empty-editor-prompt .panel-button{width:100%}.workspace-shell .editor-toolbar{grid-template-columns:minmax(0,1fr);gap:10px;padding:10px 12px;display:grid}.workspace-shell .editor-status-row,.workspace-shell .editor-actions-row,.workspace-shell .format-tools{width:100%;min-width:0}.workspace-shell .format-tools{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.workspace-shell .format-tools button{text-overflow:ellipsis;width:100%;min-width:0;padding-inline:0;overflow:hidden}.workspace-shell .workflow-focus-metrics span,.workspace-shell .export-stat-grid span,.workspace-shell .library-summary-strip span,.workspace-shell .ui-metric-chip{min-height:36px;padding:7px 10px}.workspace-shell .library-controls,.workspace-shell .atlas-controls,.workspace-shell .release-queue-panel>.library-controls{grid-template-columns:1fr;display:grid}.workspace-shell .library-controls .library-search,.workspace-shell .library-controls select,.workspace-shell .atlas-controls .library-search,.workspace-shell .atlas-controls select{width:100%}.workspace-shell .workflow-focus-actions{grid-template-columns:1fr;gap:7px;display:grid}.workspace-shell .workflow-focus-actions .panel-button{width:100%;min-height:38px}.workspace-shell .project-card,.workspace-shell .atlas-card,.workspace-shell .plan-arc,.workspace-shell .revision-task-card,.workspace-shell .release-slot-card,.workspace-shell .export-card,.workspace-shell .progress-card{overflow:hidden}.workspace-shell .project-card h2,.workspace-shell .atlas-card h2,.workspace-shell .plan-arc h2,.workspace-shell .revision-task-card h2,.workspace-shell .release-slot-card h2,.workspace-shell .export-card h2{overflow-wrap:anywhere}.workspace-shell .progress-dashboard .progress-card-grid{grid-template-columns:1fr 1fr;gap:10px}:is(.workspace-shell .progress-dashboard .progress-card-wide,.workspace-shell .progress-dashboard .progress-status-card,.workspace-shell .progress-dashboard .progress-secondary-card,.workspace-shell .progress-dashboard .progress-chart-card,.workspace-shell .progress-dashboard .progress-card:has(.progress-breakdown)){grid-column:1/-1}}@media (max-width:520px){.workspace-shell .mobile-workspace-nav{grid-auto-columns:minmax(58px,1fr);gap:4px}.workspace-shell .editor-pane>:is(.plan-dashboard,.atlas-dashboard,.review-dashboard,.release-dashboard,.progress-dashboard,.export-dashboard),.workspace-shell .library-dashboard{padding-inline:12px}.workspace-shell .progress-dashboard .progress-card-grid{grid-template-columns:1fr}.workspace-shell .mobile-chapter-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.workspace-shell .mobile-chapter-actions button{min-height:36px;padding-left:4px;padding-right:4px;font-size:.72rem}}@media (max-width:420px){.workspace-shell .mobile-workspace-nav{grid-auto-columns:minmax(54px,1fr)}}.workspace-shell .review-decision-actions .panel-button.primary{min-width:168px}.workspace-shell .review-workflow-focus .workflow-focus-main h2{max-width:980px}.workspace-shell .continuity-summary-grid .review-stat-card{min-height:112px}.workspace-shell .progress-dashboard .progress-card-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}.workspace-shell .progress-dashboard .progress-card-wide{grid-column:span 4}.workspace-shell .progress-dashboard .progress-goal-card,.workspace-shell .progress-dashboard .progress-momentum-card,.workspace-shell .progress-dashboard .progress-structure-card,.workspace-shell .progress-dashboard .progress-secondary-card{grid-column:span 2}.workspace-shell .progress-dashboard .progress-momentum-card{background:var(--pa-panel)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .progress-dashboard .progress-momentum-card{background:color-mix(in srgb, var(--pa-panel) 88%, var(--pa-panel-soft))}}.workspace-shell .progress-dashboard .progress-structure-card{background:var(--pa-panel)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .progress-dashboard .progress-structure-card{background:color-mix(in srgb, var(--pa-panel) 96%, var(--pa-panel-muted))}}.workspace-shell .progress-dashboard .progress-card-wide h2{font-size:2rem}.workspace-shell .progress-dashboard .progress-card-wide .progress-meter,.workspace-shell .progress-dashboard .progress-goal-card .progress-meter,.workspace-shell .progress-workflow-focus .progress-meter{height:10px}.workspace-shell .progress-dashboard .daily-writing-chart{min-height:190px;padding-top:8px}.workspace-shell .progress-dashboard .daily-writing-bar{background:linear-gradient(180deg, var(--pa-accent-strong), var(--workflow-accent,var(--pa-accent)))}@supports (color:color-mix(in lab, red, red)){.workspace-shell .progress-dashboard .daily-writing-bar{background:linear-gradient(180deg, var(--pa-accent-strong), color-mix(in srgb, var(--workflow-accent,var(--pa-accent)) 72%, var(--pa-accent)))}}@media (max-width:1180px){.workspace-shell .progress-dashboard .progress-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-shell .progress-dashboard .progress-card-wide,.workspace-shell .progress-dashboard .progress-goal-card,.workspace-shell .progress-dashboard .progress-momentum-card,.workspace-shell .progress-dashboard .progress-structure-card,.workspace-shell .progress-dashboard .progress-secondary-card{grid-column:auto}}@media (max-width:860px){.workspace-shell .progress-dashboard .progress-card-grid{grid-template-columns:1fr}.workspace-shell .review-decision-actions .panel-button.primary,.workspace-shell .review-decision-actions .panel-button{min-width:0}.workspace-shell .continuity-summary-grid .review-stat-card{min-height:86px}.workspace-shell .progress-dashboard .progress-card-wide h2{font-size:1.65rem}}@media (max-width:520px){.workspace-shell .progress-dashboard .progress-card-grid{grid-template-columns:1fr}}.workspace-shell{--pa-warm:var(--amber);--pa-warm-soft:var(--amber)}@supports (color:color-mix(in lab, red, red)){.workspace-shell{--pa-warm-soft:color-mix(in srgb, var(--amber) 15%, transparent)}}.workspace-shell{--pa-warm-line:var(--amber)}@supports (color:color-mix(in lab, red, red)){.workspace-shell{--pa-warm-line:color-mix(in srgb, var(--amber) 42%, transparent)}}.workspace-shell{--comment-color:#c25d7a;--comment-line:var(--comment-color)}@supports (color:color-mix(in lab, red, red)){.workspace-shell{--comment-line:color-mix(in srgb, var(--comment-color) 45%, transparent)}}html[data-theme=dark] .workspace-shell,.workspace-shell[data-theme=dark]{--comment-color:#e089a3}.workspace-shell h1,.workspace-shell h2,.workspace-shell h3{font-family:var(--font-heading);letter-spacing:-.012em;font-weight:600}.public-copy h1{letter-spacing:-.02em;font-weight:600}.auth-card-heading h1,.empty-workspace-panel h1,.empty-workspace-panel h2,.auth-product-copy h2,.public-trust-grid h2,.trust-copy h2{font-weight:600}.workspace-shell .primary-nav{gap:3px}.workspace-shell .primary-nav .nav-item{border-radius:var(--pa-radius-md);color:var(--pa-muted);transition:background var(--pa-transition), color var(--pa-transition);gap:11px;font-weight:520;position:relative}.workspace-shell .primary-nav .nav-item .nav-glyph{color:var(--pa-soft);transition:color var(--pa-transition)}.workspace-shell .primary-nav .nav-item:hover{background:var(--pa-panel-soft);color:var(--pa-text)}.workspace-shell .primary-nav .nav-item:hover .nav-glyph{color:var(--pa-text)}.workspace-shell .primary-nav .nav-item.active{background:var(--pa-warm-soft);color:var(--pa-text);font-weight:600}.workspace-shell .primary-nav .nav-item.active .nav-glyph{color:var(--pa-warm)}.workspace-shell .primary-nav .nav-item.active:before{content:"";background:var(--pa-warm);border-radius:0 3px 3px 0;width:3px;height:17px;position:absolute;top:50%;left:-12px;transform:translateY(-50%)}.workspace-shell .format-tool.active,.workspace-shell .writer-focus-toggle.active{background:var(--pa-warm-soft);border-color:var(--pa-warm-line);color:var(--pa-text)}.workspace-shell .context-tab.active{color:var(--pa-text)}.workspace-shell .panel-button.primary,.workspace-shell .topbar-button.primary,.workspace-shell .ui-button-primary,.workspace-shell .auth-submit{box-shadow:0 1px 2px #00000012}.workspace-shell .panel-button.primary:hover,.workspace-shell .topbar-button.primary:hover,.workspace-shell .ui-button-primary:hover,.workspace-shell .auth-submit:hover{background:var(--pa-accent-strong);border-color:var(--pa-accent-strong);opacity:.88}.workspace-shell .panel-button.open{background:var(--pa-panel-soft);color:var(--pa-text);border-color:#0000}.workspace-shell .panel-button.open:hover{background:var(--pa-control-hover);border-color:#0000}.workspace-shell .project-card,.workspace-shell .atlas-card,.workspace-shell .review-stat-card,.workspace-shell .ui-panel{border-radius:var(--pa-radius-lg)}.workspace-shell .project-card{transition:border-color var(--pa-transition), box-shadow var(--pa-transition), transform var(--pa-transition)}.workspace-shell .project-card:hover{border-color:var(--pa-border-strong);box-shadow:var(--pa-shadow);transform:translateY(-2px)}.panel-button,.auth-submit,.secondary-link,.public-actions a{font-family:var(--font-ui);font-weight:580}.trust-copy a:hover{color:var(--amber)}.public-pricing-note{border:1px solid var(--border);background:var(--surface);border-radius:12px;gap:10px;width:min(960px,100vw - 48px);margin:24px auto 56px;padding:24px;display:grid}.public-pricing-note h2{color:var(--foreground);margin:0;font-size:22px;line-height:1.2}.public-pricing-note p{max-width:660px;color:var(--text-muted);margin:0;font-size:14px;line-height:1.6}.workspace-shell .chapter-row{grid-template-columns:22px minmax(0,1fr);align-items:center;gap:4px;padding:8px 10px}.workspace-shell .chapter-row-main{text-align:left;cursor:pointer;background:0 0;border:0;gap:6px;min-width:0;padding:0;display:grid}.workspace-shell .chapter-drag-handle{border-radius:var(--pa-radius-xs);width:22px;color:var(--pa-soft);cursor:grab;touch-action:none;transition:color var(--pa-transition), background var(--pa-transition);background:0 0;border:0;justify-content:center;align-self:stretch;align-items:center;padding:0;display:inline-flex}.workspace-shell .chapter-drag-handle:hover{color:var(--pa-text);background:var(--pa-panel-soft)}.workspace-shell .chapter-drag-handle:active{cursor:grabbing}.workspace-shell .chapter-drag-handle.is-placeholder{cursor:default}.workspace-shell .chapter-row.dragging{opacity:.95;background:var(--pa-panel-raised);box-shadow:var(--pa-shadow);z-index:5}.workspace-shell .quick-open-trigger{max-width:460px;min-height:var(--pa-control-h);border:1px solid var(--pa-border);border-radius:var(--pa-radius-md);background:var(--pa-panel-soft);color:var(--pa-soft);font-size:var(--pa-font-control);cursor:text;transition:border-color var(--pa-transition), background var(--pa-transition);flex:1;align-items:center;gap:9px;padding:0 12px;font-weight:500;display:inline-flex}.workspace-shell .quick-open-trigger:hover{border-color:var(--pa-border-strong);background:var(--pa-panel-muted)}.workspace-shell .quick-open-trigger>span{text-align:left;text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.workspace-shell .quick-open-trigger svg{flex:none;width:16px;height:16px}.workspace-shell .quick-open-trigger kbd{border:1px solid var(--pa-border);background:var(--pa-panel);color:var(--pa-muted);font-family:var(--font-ui);border-radius:5px;flex:none;padding:2px 7px;font-size:11px;font-weight:600}.command-palette-backdrop{z-index:80;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0d0d0d85;justify-content:center;align-items:flex-start;padding:clamp(48px,12vh,160px) 16px 16px;display:flex;position:fixed;inset:0}.command-palette{border:1px solid var(--pa-border-strong);background:var(--pa-panel-raised);border-radius:14px;flex-direction:column;width:min(640px,96vw);max-height:min(560px,76vh);display:flex;overflow:hidden;box-shadow:0 16px 44px -16px #00000080}.command-palette-search{border-bottom:1px solid var(--pa-border);align-items:center;gap:10px;padding:14px 16px;display:flex}.command-palette-search svg{width:18px;height:18px;color:var(--pa-soft);flex:none}.command-palette-search input{min-width:0;color:var(--pa-text);font-family:var(--font-ui);background:0 0;border:0;outline:0;flex:1;font-size:1.02rem}.command-palette-search input::placeholder{color:var(--pa-soft)}.command-palette-search kbd{border:1px solid var(--pa-border);color:var(--pa-soft);font-family:var(--font-ui);border-radius:5px;flex:none;padding:2px 7px;font-size:11px}.command-palette-results{flex-direction:column;gap:2px;padding:6px;display:flex;overflow-y:auto}.command-result{border-radius:var(--pa-radius-md);width:100%;color:var(--pa-text);text-align:left;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;gap:12px;padding:9px 12px;display:flex}.command-result.active{background:var(--pa-warm-soft)}.command-result-text{gap:2px;min-width:0;display:grid}.command-result-text strong{text-overflow:ellipsis;white-space:nowrap;font-size:.92rem;font-weight:600;overflow:hidden}.command-result-text small{color:var(--pa-muted);text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;overflow:hidden}.command-result em{color:var(--pa-soft);text-transform:uppercase;letter-spacing:.05em;flex:none;font-size:.68rem;font-style:normal;font-weight:600}.command-result.active em{color:var(--pa-warm)}.command-palette-empty{color:var(--pa-muted);text-align:center;padding:28px 16px;font-size:.9rem}.command-palette-footer{border-top:1px solid var(--pa-border);color:var(--pa-soft);gap:16px;padding:9px 16px;font-size:11px;display:flex}.command-palette-footer kbd{border:1px solid var(--pa-border);font-family:var(--font-ui);border-radius:4px;margin-right:3px;padding:1px 5px;font-size:10px}.quick-note-backdrop{z-index:80;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0d0d0d85;justify-content:center;align-items:flex-start;padding:clamp(48px,12vh,160px) 16px 16px;display:flex;position:fixed;inset:0}.quick-note-card{border:1px solid var(--pa-border-strong);background:var(--pa-panel-raised);border-radius:14px;flex-direction:column;width:min(640px,96vw);display:flex;overflow:hidden;box-shadow:0 16px 44px -16px #00000080}.quick-note-head{border-bottom:1px solid var(--pa-border);align-items:center;gap:10px;padding:14px 16px;display:flex}.quick-note-head svg{width:18px;height:18px;color:var(--pa-soft);flex:none}.quick-note-head kbd{border:1px solid var(--pa-border);color:var(--pa-soft);font-family:var(--font-ui);border-radius:5px;flex:none;margin-left:auto;padding:2px 7px;font-size:11px}.quick-note-context{min-width:0;color:var(--pa-muted);text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;overflow:hidden}.quick-note-project{max-width:240px}.quick-note-input{color:var(--pa-text);font-family:var(--font-ui);resize:none;background:0 0;border:0;outline:0;min-height:96px;max-height:40vh;padding:14px 16px;font-size:1.02rem;line-height:1.55}.quick-note-input::placeholder{color:var(--pa-soft)}.quick-note-empty{color:var(--pa-muted);text-align:center;margin:0;padding:28px 16px;font-size:.9rem}.quick-note-footer{border-top:1px solid var(--pa-border);color:var(--pa-soft);align-items:center;gap:16px;padding:9px 16px;font-size:11px;display:flex}.quick-note-footer kbd{border:1px solid var(--pa-border);font-family:var(--font-ui);border-radius:4px;margin-right:3px;padding:1px 5px;font-size:10px}.quick-note-save{margin-left:auto}.workspace-shell button:focus:not(:focus-visible),.workspace-shell a[href]:focus:not(:focus-visible),.workspace-shell summary:focus:not(:focus-visible),.workspace-shell [role=button]:focus:not(:focus-visible),.workspace-shell [tabindex]:not([tabindex="-1"]):focus:not(:focus-visible){outline:none}.workspace-shell button:focus-visible,.workspace-shell a[href]:focus-visible,.workspace-shell summary:focus-visible,.workspace-shell [role=button]:focus-visible,.workspace-shell [tabindex]:not([tabindex="-1"]):focus-visible{outline:2px solid var(--pa-warm);outline-offset:2px}.workspace-shell input:not([type=checkbox]):not([type=radio]):focus,.workspace-shell select:focus,.workspace-shell textarea:focus,.workspace-shell .ui-field:focus{border-color:var(--pa-accent);outline:none}.workspace-shell .command-palette-search input:focus{box-shadow:none;border-color:#0000}.workspace-shell button:focus,.workspace-shell a[href]:focus,.workspace-shell summary:focus,.workspace-shell [role=button]:focus,.workspace-shell [tabindex]:not([tabindex="-1"]):focus{box-shadow:none}.workspace-shell .ProseMirror .search-match{background:var(--pa-warm)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .ProseMirror .search-match{background:color-mix(in srgb, var(--pa-warm) 26%, transparent)}}.workspace-shell .ProseMirror .search-match{border-radius:2px}.workspace-shell .ProseMirror .search-match-current{background:var(--pa-warm)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .ProseMirror .search-match-current{background:color-mix(in srgb, var(--pa-warm) 52%, transparent)}}.workspace-shell .ProseMirror .search-match-current{box-shadow:0 0 0 1px var(--pa-warm)}.workspace-shell .ProseMirror .citation-flash{box-shadow:0 0 0 2px var(--pa-accent);border-radius:3px}@supports (color:color-mix(in lab, red, red)){.workspace-shell .ProseMirror .citation-flash{box-shadow:0 0 0 2px color-mix(in srgb, var(--pa-accent) 30%, transparent)}}.workspace-shell .ProseMirror .citation-flash{animation:2.6s forwards citation-flash}@keyframes citation-flash{0%{background:color-mix(in srgb, var(--pa-accent) 42%, transparent);box-shadow:0 0 0 3px color-mix(in srgb, var(--pa-accent) 34%, transparent)}12%{background:color-mix(in srgb, var(--pa-accent) 42%, transparent)}70%{background:color-mix(in srgb, var(--pa-accent) 26%, transparent)}to{background:0 0;box-shadow:0 0 0 2px #0000}}.workspace-shell .ProseMirror .entity-underline{--entity-color:var(--pa-accent);text-decoration:underline;-webkit-text-decoration-color:var(--entity-color);-webkit-text-decoration-color:var(--entity-color);-webkit-text-decoration-color:var(--entity-color);text-decoration-color:var(--entity-color)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .ProseMirror .entity-underline{-webkit-text-decoration-color:color-mix(in srgb, var(--entity-color) 62%, transparent);-webkit-text-decoration-color:color-mix(in srgb, var(--entity-color) 62%, transparent);-webkit-text-decoration-color:color-mix(in srgb, var(--entity-color) 62%, transparent);text-decoration-color:color-mix(in srgb, var(--entity-color) 62%, transparent)}}.workspace-shell .ProseMirror .entity-underline{text-underline-offset:3px;text-decoration-skip-ink:auto;cursor:help;text-decoration-thickness:1.5px;transition:text-decoration-color .12s,background .12s}.workspace-shell .ProseMirror .entity-underline:hover{-webkit-text-decoration-color:var(--entity-color);-webkit-text-decoration-color:var(--entity-color);-webkit-text-decoration-color:var(--entity-color);text-decoration-color:var(--entity-color);background:var(--entity-color)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .ProseMirror .entity-underline:hover{background:color-mix(in srgb, var(--entity-color) 12%, transparent)}}.workspace-shell .ProseMirror .entity-underline:hover{border-radius:2px}.workspace-shell .ProseMirror .entity-character{--entity-color:#3f6bd6}.workspace-shell .ProseMirror .entity-location{--entity-color:#2f9e8f}.workspace-shell .ProseMirror .entity-faction{--entity-color:#8256c8}.workspace-shell .ProseMirror .entity-item{--entity-color:#c08a2e}.workspace-shell .ProseMirror .entity-term{--entity-color:#c56a4a}.workspace-shell .ProseMirror .entity-note{--entity-color:#6b7280}html[data-theme=dark] .workspace-shell .ProseMirror .entity-character,.workspace-shell[data-theme=dark] .ProseMirror .entity-character{--entity-color:#7ea2f0}html[data-theme=dark] .workspace-shell .ProseMirror .entity-location,.workspace-shell[data-theme=dark] .ProseMirror .entity-location{--entity-color:#5cc7b6}html[data-theme=dark] .workspace-shell .ProseMirror .entity-faction,.workspace-shell[data-theme=dark] .ProseMirror .entity-faction{--entity-color:#b394ea}html[data-theme=dark] .workspace-shell .ProseMirror .entity-item,.workspace-shell[data-theme=dark] .ProseMirror .entity-item{--entity-color:#e0b25f}html[data-theme=dark] .workspace-shell .ProseMirror .entity-term,.workspace-shell[data-theme=dark] .ProseMirror .entity-term{--entity-color:#e2916f}html[data-theme=dark] .workspace-shell .ProseMirror .entity-note,.workspace-shell[data-theme=dark] .ProseMirror .entity-note{--entity-color:#9aa2b1}.pa-tooltip{z-index:210;border:1px solid var(--pa-border,#80808047);background:var(--pa-panel,#1d1d1d);max-width:min(280px,100vw - 24px);color:var(--pa-text,#ecebe9);pointer-events:none;border-radius:8px;align-items:baseline;gap:8px;padding:6px 10px;font-size:12.5px;line-height:1.35;animation:.11s pa-tooltip-in;display:flex;position:fixed;box-shadow:0 14px 40px -18px #0f142280,0 2px 8px -4px #0f142252}.pa-tooltip-label{font-weight:560}.pa-tooltip-keys{color:var(--pa-soft,#949492);white-space:nowrap;flex:none;font-size:11.5px}@keyframes pa-tooltip-in{0%{opacity:0;transform:scale(.985)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.pa-tooltip{animation:none}}.workspace-shell .entity-hover-card{z-index:60;border:1px solid var(--pa-border);background:var(--pa-panel);pointer-events:none;border-radius:11px;min-width:168px;max-width:300px;padding:11px 13px 12px;animation:.12s hover-card-in;position:fixed;box-shadow:0 14px 40px -18px #0f142280,0 2px 8px -4px #0f142252}@keyframes hover-card-in{0%{opacity:0;transform:scale(.985)}to{opacity:1;transform:none}}.workspace-shell .entity-hover-type{--entity-color:var(--pa-accent);background:var(--entity-color);border-radius:999px;margin-bottom:6px;padding:2px 8px;display:inline-block}@supports (color:color-mix(in lab, red, red)){.workspace-shell .entity-hover-type{background:color-mix(in srgb, var(--entity-color) 16%, transparent)}}.workspace-shell .entity-hover-type{color:var(--entity-color);letter-spacing:.04em;text-transform:uppercase;font-size:10.5px;font-weight:700}.workspace-shell .entity-hover-type.entity-character{--entity-color:#3f6bd6}.workspace-shell .entity-hover-type.entity-location{--entity-color:#2f9e8f}.workspace-shell .entity-hover-type.entity-faction{--entity-color:#8256c8}.workspace-shell .entity-hover-type.entity-item{--entity-color:#c08a2e}.workspace-shell .entity-hover-type.entity-term{--entity-color:#c56a4a}.workspace-shell .entity-hover-type.entity-note{--entity-color:#6b7280}html[data-theme=dark] .workspace-shell .entity-hover-type.entity-character,.workspace-shell[data-theme=dark] .entity-hover-type.entity-character{--entity-color:#7ea2f0}html[data-theme=dark] .workspace-shell .entity-hover-type.entity-location,.workspace-shell[data-theme=dark] .entity-hover-type.entity-location{--entity-color:#5cc7b6}html[data-theme=dark] .workspace-shell .entity-hover-type.entity-faction,.workspace-shell[data-theme=dark] .entity-hover-type.entity-faction{--entity-color:#b394ea}html[data-theme=dark] .workspace-shell .entity-hover-type.entity-item,.workspace-shell[data-theme=dark] .entity-hover-type.entity-item{--entity-color:#e0b25f}html[data-theme=dark] .workspace-shell .entity-hover-type.entity-term,.workspace-shell[data-theme=dark] .entity-hover-type.entity-term{--entity-color:#e2916f}html[data-theme=dark] .workspace-shell .entity-hover-type.entity-note,.workspace-shell[data-theme=dark] .entity-hover-type.entity-note{--entity-color:#9aa2b1}.workspace-shell .entity-hover-name{color:var(--pa-text);margin:0;font-size:14px;font-weight:700;line-height:1.25}.workspace-shell .entity-hover-summary{color:var(--pa-muted);-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:5px 0 0;font-size:12.5px;line-height:1.45;display:-webkit-box;overflow:hidden}.workspace-shell .ProseMirror .continuity-flag{--flag-color:#c56a4a;text-decoration-line:underline;text-decoration-style:wavy;-webkit-text-decoration-color:var(--flag-color);-webkit-text-decoration-color:var(--flag-color);-webkit-text-decoration-color:var(--flag-color);text-decoration-color:var(--flag-color)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .ProseMirror .continuity-flag{-webkit-text-decoration-color:color-mix(in srgb, var(--flag-color) 58%, transparent);-webkit-text-decoration-color:color-mix(in srgb, var(--flag-color) 58%, transparent);-webkit-text-decoration-color:color-mix(in srgb, var(--flag-color) 58%, transparent);text-decoration-color:color-mix(in srgb, var(--flag-color) 58%, transparent)}}.workspace-shell .ProseMirror .continuity-flag{text-underline-offset:3px;text-decoration-skip-ink:auto;cursor:help;text-decoration-thickness:1.2px;transition:text-decoration-color .12s,background .12s}.workspace-shell .ProseMirror .continuity-flag:hover{-webkit-text-decoration-color:var(--flag-color);-webkit-text-decoration-color:var(--flag-color);-webkit-text-decoration-color:var(--flag-color);text-decoration-color:var(--flag-color);background:var(--flag-color)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .ProseMirror .continuity-flag:hover{background:color-mix(in srgb, var(--flag-color) 11%, transparent)}}.workspace-shell .ProseMirror .continuity-flag:hover{border-radius:2px}.workspace-shell .ProseMirror .continuity-flag-high{--flag-color:#c2472f}.workspace-shell .ProseMirror .continuity-flag-medium{--flag-color:#c56a4a}.workspace-shell .ProseMirror .continuity-flag-low{--flag-color:#b0855c}html[data-theme=dark] .workspace-shell .ProseMirror .continuity-flag-high,.workspace-shell[data-theme=dark] .ProseMirror .continuity-flag-high{--flag-color:#e88a68}html[data-theme=dark] .workspace-shell .ProseMirror .continuity-flag-medium,.workspace-shell[data-theme=dark] .ProseMirror .continuity-flag-medium{--flag-color:#e2916f}html[data-theme=dark] .workspace-shell .ProseMirror .continuity-flag-low,.workspace-shell[data-theme=dark] .ProseMirror .continuity-flag-low{--flag-color:#d9b48c}.workspace-shell .ProseMirror .comment-anchor{background:var(--comment-color)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .ProseMirror .comment-anchor{background:color-mix(in srgb, var(--comment-color) 15%, transparent)}}.workspace-shell .ProseMirror .comment-anchor{border-bottom:2px solid var(--comment-color)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .ProseMirror .comment-anchor{border-bottom:2px solid color-mix(in srgb, var(--comment-color) 55%, transparent)}}.workspace-shell .ProseMirror .comment-anchor{cursor:pointer;border-radius:2px;transition:background .12s,border-color .12s}.workspace-shell .ProseMirror .comment-anchor:hover{background:var(--comment-color)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .ProseMirror .comment-anchor:hover{background:color-mix(in srgb, var(--comment-color) 26%, transparent)}}.workspace-shell .ProseMirror .comment-anchor:hover{border-bottom-color:var(--comment-color)}.workspace-shell .ProseMirror .comment-anchor-resolved{border-bottom:1px dashed var(--comment-color);background:0 0}@supports (color:color-mix(in lab, red, red)){.workspace-shell .ProseMirror .comment-anchor-resolved{border-bottom:1px dashed color-mix(in srgb, var(--comment-color) 42%, transparent)}}.workspace-shell .continuity-flag-card{--flag-accent:#c56a4a;z-index:60;border:1px solid var(--pa-border);background:var(--pa-panel);pointer-events:none;border-radius:11px;min-width:200px;max-width:320px;padding:11px 13px 12px;animation:.12s hover-card-in;position:fixed;box-shadow:0 14px 40px -18px #0f142280,0 2px 8px -4px #0f142252}.workspace-shell .continuity-flag-card.is-high{--flag-accent:#c2472f}.workspace-shell .continuity-flag-card.is-low{--flag-accent:#b0855c}html[data-theme=dark] .workspace-shell .continuity-flag-card.is-high,.workspace-shell[data-theme=dark] .continuity-flag-card.is-high{--flag-accent:#e88a68}html[data-theme=dark] .workspace-shell .continuity-flag-card,.workspace-shell[data-theme=dark] .continuity-flag-card{--flag-accent:#e2916f}html[data-theme=dark] .workspace-shell .continuity-flag-card.is-low,.workspace-shell[data-theme=dark] .continuity-flag-card.is-low{--flag-accent:#d9b48c}.workspace-shell .continuity-flag-eyebrow{letter-spacing:.07em;text-transform:uppercase;color:var(--flag-accent);align-items:center;gap:7px;font-size:10.5px;font-weight:700;display:inline-flex}.workspace-shell .continuity-flag-dot{background:var(--flag-accent);border-radius:50%;flex:none;width:8px;height:8px}.workspace-shell .continuity-flag-card-title{color:var(--pa-text);margin:5px 0 0;font-size:13.5px;font-weight:600;line-height:1.3}.workspace-shell .continuity-flag-card-detail{color:var(--pa-muted);margin:5px 0 0;font-size:12.5px;line-height:1.45}.workspace-shell .continuity-flag-card-fix{color:var(--pa-text);margin:7px 0 0;font-size:12.5px;line-height:1.45}.workspace-shell .writer-focus-toggle.is-working{opacity:1;color:var(--pa-text);cursor:progress}.workspace-shell .working-dots{align-items:flex-end;gap:2px;margin-left:3px;display:inline-flex}.workspace-shell .working-dots i{opacity:.22;background:currentColor;border-radius:50%;width:3px;height:3px;animation:1.1s ease-in-out infinite working-dot}.workspace-shell .working-dots i:nth-child(2){animation-delay:.15s}.workspace-shell .working-dots i:nth-child(3){animation-delay:.3s}@keyframes working-dot{0%,to{opacity:.22;transform:translateY(0)}45%{opacity:.95;transform:translateY(-2px)}}.workspace-shell .writer-focus-toggle.is-working svg{animation:1.6s ease-in-out infinite working-pulse}@keyframes working-pulse{0%,to{opacity:.5}50%{opacity:1}}@media (prefers-reduced-motion:reduce){.workspace-shell .working-dots i,.workspace-shell .writer-focus-toggle.is-working svg{animation:none}.workspace-shell .working-dots i{opacity:.6}}.workspace-shell .continuity-flag-card-fix:before{content:"Fix ";color:var(--flag-accent);letter-spacing:.06em;text-transform:uppercase;font-size:10px;font-weight:700}@keyframes entity-menu-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.workspace-shell .entity-menu{z-index:62;border:1px solid var(--pa-border);background:var(--pa-panel);border-radius:11px;min-width:190px;padding:5px;animation:.1s entity-menu-in;position:fixed;box-shadow:0 16px 44px -18px #0f14228c,0 2px 8px -4px #0f142257}.workspace-shell .entity-menu button{width:100%;color:var(--pa-text);cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;border-radius:7px;align-items:center;padding:8px 10px;font-size:12.5px;font-weight:560;display:flex}.workspace-shell .entity-menu button:hover{background:var(--pa-panel-soft)}.workspace-shell .entity-menu button.danger{color:#c15546}html[data-theme=dark] .workspace-shell .entity-menu button.danger,.workspace-shell[data-theme=dark] .entity-menu button.danger{color:#e2917f}.workspace-shell .entity-menu button.danger:hover{background:#c155461f}.workspace-shell .entity-menu-sep{background:var(--pa-border);height:1px;margin:4px 6px}.workspace-shell .chapter-cast{border-top:1px solid var(--pa-border);background:var(--pa-panel);align-items:center;gap:12px;min-height:38px;padding:6px 20px;display:flex}.workspace-shell .chapter-cast-label{letter-spacing:.05em;text-transform:uppercase;color:var(--pa-soft);flex:none;font-size:11px;font-weight:640}.workspace-shell .chapter-cast-chips{scrollbar-width:thin;align-items:center;gap:7px;min-width:0;padding-bottom:1px;display:flex;overflow-x:auto}.workspace-shell .chapter-cast-chip{--entity-color:var(--pa-accent);border:1px solid var(--pa-border);background:var(--pa-panel-soft);color:var(--pa-text);font:inherit;cursor:pointer;white-space:nowrap;border-radius:7px;flex:none;align-items:center;gap:6px;padding:4px 9px;font-size:12.5px;transition:border-color .12s,background .12s;display:inline-flex}.workspace-shell .chapter-cast-chip:hover{border-color:var(--entity-color)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .chapter-cast-chip:hover{border-color:color-mix(in srgb, var(--entity-color) 55%, var(--pa-border))}}.workspace-shell .chapter-cast-chip:hover{background:var(--entity-color)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .chapter-cast-chip:hover{background:color-mix(in srgb, var(--entity-color) 9%, var(--pa-panel-soft))}}.workspace-shell .chapter-cast-dot{background:var(--entity-color);border-radius:50%;flex:none;width:7px;height:7px}.workspace-shell .chapter-cast-count{color:var(--pa-soft);font-variant-numeric:tabular-nums;font-size:11px}.workspace-shell .chapter-cast-chip.entity-character{--entity-color:#3f6bd6}.workspace-shell .chapter-cast-chip.entity-location{--entity-color:#2f9e8f}.workspace-shell .chapter-cast-chip.entity-faction{--entity-color:#8256c8}.workspace-shell .chapter-cast-chip.entity-item{--entity-color:#c08a2e}.workspace-shell .chapter-cast-chip.entity-term{--entity-color:#c56a4a}.workspace-shell .chapter-cast-chip.entity-note{--entity-color:#6b7280}html[data-theme=dark] .workspace-shell .chapter-cast-chip.entity-character,.workspace-shell[data-theme=dark] .chapter-cast-chip.entity-character{--entity-color:#7ea2f0}html[data-theme=dark] .workspace-shell .chapter-cast-chip.entity-location,.workspace-shell[data-theme=dark] .chapter-cast-chip.entity-location{--entity-color:#5cc7b6}html[data-theme=dark] .workspace-shell .chapter-cast-chip.entity-faction,.workspace-shell[data-theme=dark] .chapter-cast-chip.entity-faction{--entity-color:#b394ea}html[data-theme=dark] .workspace-shell .chapter-cast-chip.entity-item,.workspace-shell[data-theme=dark] .chapter-cast-chip.entity-item{--entity-color:#e0b25f}html[data-theme=dark] .workspace-shell .chapter-cast-chip.entity-term,.workspace-shell[data-theme=dark] .chapter-cast-chip.entity-term{--entity-color:#e2916f}html[data-theme=dark] .workspace-shell .chapter-cast-chip.entity-note,.workspace-shell[data-theme=dark] .chapter-cast-chip.entity-note{--entity-color:#9aa2b1}.workspace-shell .entity-minimap{z-index:4;pointer-events:none;width:10px;position:absolute;top:10px;bottom:10px;right:4px}@media (max-width:700px){.workspace-shell .entity-minimap{display:none}}.workspace-shell .entity-minimap-tick{--entity-color:var(--pa-accent);background:var(--entity-color);opacity:.5;cursor:pointer;pointer-events:auto;border:0;border-radius:2px;width:10px;height:3px;margin:0;padding:0;transition:opacity .12s,width .12s;position:absolute;right:0;transform:translateY(-50%)}.workspace-shell .entity-minimap-tick:hover{opacity:1;width:16px}.workspace-shell .entity-minimap-tick.entity-character{--entity-color:#3f6bd6}.workspace-shell .entity-minimap-tick.entity-location{--entity-color:#2f9e8f}.workspace-shell .entity-minimap-tick.entity-faction{--entity-color:#8256c8}.workspace-shell .entity-minimap-tick.entity-item{--entity-color:#c08a2e}.workspace-shell .entity-minimap-tick.entity-term{--entity-color:#c56a4a}.workspace-shell .entity-minimap-tick.entity-note{--entity-color:#6b7280}html[data-theme=dark] .workspace-shell .entity-minimap-tick.entity-character,.workspace-shell[data-theme=dark] .entity-minimap-tick.entity-character{--entity-color:#7ea2f0}html[data-theme=dark] .workspace-shell .entity-minimap-tick.entity-location,.workspace-shell[data-theme=dark] .entity-minimap-tick.entity-location{--entity-color:#5cc7b6}html[data-theme=dark] .workspace-shell .entity-minimap-tick.entity-faction,.workspace-shell[data-theme=dark] .entity-minimap-tick.entity-faction{--entity-color:#b394ea}html[data-theme=dark] .workspace-shell .entity-minimap-tick.entity-item,.workspace-shell[data-theme=dark] .entity-minimap-tick.entity-item{--entity-color:#e0b25f}html[data-theme=dark] .workspace-shell .entity-minimap-tick.entity-term,.workspace-shell[data-theme=dark] .entity-minimap-tick.entity-term{--entity-color:#e2916f}html[data-theme=dark] .workspace-shell .entity-minimap-tick.entity-note,.workspace-shell[data-theme=dark] .entity-minimap-tick.entity-note{--entity-color:#9aa2b1}.workspace-shell .editor-format-panel .fmt-section-divider{background:var(--pa-border);height:1px;margin:3px 0 1px}.workspace-shell .editor-format-panel .fmt-section-label{margin:0}.workspace-shell .editor-format-panel .fmt-switch-field{display:grid}.workspace-shell .editor-format-panel .fmt-switch{cursor:pointer;align-items:center;gap:12px;display:flex}.workspace-shell .editor-format-panel .fmt-switch-copy{gap:2px;display:grid}.workspace-shell .editor-format-panel .fmt-switch-title{color:var(--pa-text);font-size:12.5px;font-weight:680}.workspace-shell .editor-format-panel .fmt-switch-hint{color:var(--pa-muted);font-size:11.5px;line-height:1.35}.workspace-shell .editor-format-panel .fmt-toggle{border:1px solid var(--pa-border);background:var(--pa-panel-soft);cursor:pointer;border-radius:999px;flex:none;width:40px;height:23px;padding:0;transition:background .14s,border-color .14s;position:relative}.workspace-shell .editor-format-panel .fmt-toggle.on{background:var(--pa-accent);border-color:var(--pa-accent)}.workspace-shell .editor-format-panel .fmt-toggle-knob{background:#fff;border-radius:50%;width:17px;height:17px;transition:transform .14s cubic-bezier(.2,.8,.2,1);position:absolute;top:2px;left:2px;box-shadow:0 1px 3px #0f14224d}.workspace-shell .editor-format-panel .fmt-toggle.on .fmt-toggle-knob{transform:translate(17px)}.workspace-shell .editor-format-panel .fmt-switch-field.is-disabled{opacity:.5}.workspace-shell .editor-format-panel .fmt-switch-field.is-disabled .fmt-switch,.workspace-shell .editor-format-panel .fmt-toggle:disabled{cursor:default}.workspace-shell .editor-find-bar{z-index:35;border:1px solid var(--pa-border);border-radius:var(--pa-radius-md);background:var(--pa-panel-raised);width:min(440px,100% - 32px);box-shadow:var(--pa-shadow);gap:6px;padding:8px;display:grid;position:absolute;top:10px;right:16px}.workspace-shell .editor-scroll-wrap:has(.track-widget) .editor-find-bar{top:48px}.workspace-shell .editor-find-bar .find-row{align-items:center;gap:6px;display:flex}.workspace-shell .editor-find-bar svg{flex:none;width:16px;height:16px}.workspace-shell .editor-find-bar .find-field{flex:1;align-items:center;min-width:150px;display:flex;position:relative}.workspace-shell .editor-find-bar .find-field input{border:1px solid var(--pa-border);border-radius:var(--pa-radius-sm);background:var(--pa-panel-soft);width:100%;height:32px;color:var(--pa-text);font-family:var(--font-ui);padding:0 52px 0 11px;font-size:.85rem}.workspace-shell .editor-find-bar .find-count{color:var(--pa-soft);font-variant-numeric:tabular-nums;font-size:.72rem;position:absolute;right:11px}.workspace-shell .editor-find-bar .find-btn,.workspace-shell .editor-find-bar .find-toggle{border-radius:var(--pa-radius-sm);min-width:32px;height:32px;color:var(--pa-muted);cursor:pointer;transition:background var(--pa-transition), color var(--pa-transition), border-color var(--pa-transition);background:0 0;border:1px solid #0000;justify-content:center;align-items:center;padding:0 7px;font-size:12px;font-weight:650;display:inline-flex}.workspace-shell .editor-find-bar .find-toggle{width:26px;min-width:26px}.workspace-shell .editor-find-bar .find-btn:hover:not(:disabled),.workspace-shell .editor-find-bar .find-toggle:hover{background:var(--pa-panel-soft);color:var(--pa-text)}.workspace-shell .editor-find-bar .find-btn.active,.workspace-shell .editor-find-bar .find-toggle.active{background:var(--pa-warm-soft);border-color:var(--pa-warm-line);color:var(--pa-text)}.workspace-shell .editor-find-bar .find-btn:disabled{opacity:.4;cursor:default}.workspace-shell .editor-find-bar .find-toggle.is-spacer{pointer-events:none;background:0 0;border:0}.workspace-shell .editor-find-bar .find-text-btn{border:1px solid var(--pa-border);border-radius:var(--pa-radius-sm);background:var(--pa-panel-soft);height:32px;color:var(--pa-text);font-family:var(--font-ui);cursor:pointer;transition:background var(--pa-transition);padding:0 13px;font-size:.8rem;font-weight:580}.workspace-shell .editor-find-bar .find-text-btn:hover:not(:disabled){background:var(--pa-panel-muted)}.workspace-shell .editor-find-bar .find-text-btn:disabled{opacity:.4;cursor:default}.workspace-shell .ProseMirror:focus,.workspace-shell .ProseMirror:focus-visible{box-shadow:none!important;outline:none!important}.workspace-shell .outline-view{flex-direction:column;gap:16px;min-width:0;display:flex}.workspace-shell .outline-create-form{align-items:center;gap:8px;max-width:460px;display:flex}.workspace-shell .outline-create-form input[name=title]{min-width:0;height:auto;min-height:var(--pa-control-h);flex:1;padding:0 11px}.workspace-shell .outline-create-form input[name=title]:focus{border-color:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .outline-create-form input[name=title]:focus{border-color:color-mix(in srgb, var(--pa-accent) 55%, var(--pa-border))}}.workspace-shell .outline-create-form input[name=title]:focus{outline:none}.workspace-shell .outline-grid{grid-template-columns:repeat(auto-fill,minmax(248px,1fr));align-items:stretch;gap:14px;display:grid}.workspace-shell .outline-grid-archived{opacity:.7;margin-top:8px}.workspace-shell .outline-list{grid-template-columns:repeat(auto-fill,minmax(min(430px,100%),1fr));align-items:stretch;gap:10px;display:grid}.workspace-shell .outline-row{border:1px solid var(--pa-border);border-radius:var(--pa-radius-md);background:var(--pa-panel);transition:border-color var(--pa-transition), box-shadow var(--pa-transition);flex-wrap:wrap;align-content:flex-start;align-items:center;gap:6px 10px;padding:10px 12px;display:flex}.workspace-shell .outline-row:hover{border-color:var(--pa-border-strong)}.workspace-shell .outline-row.active{border-color:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .outline-row.active{border-color:color-mix(in srgb, var(--pa-accent) 45%, var(--pa-border))}}.workspace-shell .outline-row.dragging{opacity:.85}.outline-row-main{flex:1;gap:2px;min-width:200px;display:grid}@media (max-width:620px){.outline-row-main{flex:60%;min-width:0}.workspace-shell .outline-list .outline-row .outline-card-status{order:3;margin-left:34px}.workspace-shell .outline-list .outline-row .outline-row-meta{align-items:center;gap:8px;justify-items:initial;flex:1;order:4;display:flex}}.workspace-shell .outline-row .outline-card-title{text-overflow:ellipsis;white-space:nowrap;font-size:.95rem;overflow:hidden}.outline-row-summary{color:var(--pa-soft);text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;line-height:1.4;overflow:hidden}.workspace-shell .outline-row .outline-card-status{color:var(--pa-soft);flex:none;font-size:.72rem;font-weight:600}.outline-row-meta{color:var(--pa-soft);white-space:nowrap;flex:none;justify-items:end;gap:4px;font-size:.72rem;display:grid}.outline-header-tools{align-items:center;gap:12px;display:flex}.outline-layout-toggle{border:1px solid var(--pa-border);background:var(--pa-panel-soft);border-radius:8px;gap:2px;padding:3px;display:inline-flex}.outline-layout-toggle button{width:30px;height:26px;color:var(--pa-muted);cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;display:inline-flex}.outline-layout-toggle button:hover{color:var(--pa-text)}.outline-layout-toggle button.active{background:var(--pa-panel);color:var(--pa-text);box-shadow:0 1px 2px #1414122e}.workspace-shell .outline-card{border:1px solid var(--pa-border);border-radius:var(--pa-radius-lg);background:var(--pa-panel);transition:border-color var(--pa-transition), box-shadow var(--pa-transition), transform var(--pa-transition);flex-direction:column;gap:9px;padding:14px;display:flex}.workspace-shell .outline-card:hover{border-color:var(--pa-border-strong);box-shadow:var(--pa-shadow)}.workspace-shell .outline-card.active{border-color:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .outline-card.active{border-color:color-mix(in srgb, var(--pa-accent) 45%, var(--pa-border))}}.workspace-shell .entity-cast{flex-wrap:wrap;gap:5px;display:flex}.workspace-shell .entity-cast-chip{border:1px solid var(--pa-border);background:var(--pa-panel-soft);max-width:100%;color:var(--pa-muted);border-radius:999px;align-items:center;gap:5px;padding:2px 9px 2px 6px;font-size:11px;font-weight:560;display:inline-flex}.workspace-shell .entity-cast-dot{background:var(--entity-color,var(--pa-accent));border-radius:50%;flex:none;width:7px;height:7px}.workspace-shell .entity-cast-more{background:var(--pa-panel-muted);color:var(--pa-soft);cursor:pointer;transition:background var(--pa-transition), color var(--pa-transition);border:0;border-radius:999px;align-items:center;padding:2px 9px;font-family:inherit;font-size:11px;font-weight:660;display:inline-flex}.workspace-shell .entity-cast-more:hover,.workspace-shell .entity-cast-more:focus-visible{background:var(--pa-control-hover);color:var(--pa-text)}.workspace-shell .entity-cast-overflow{display:inline-flex}.workspace-shell .entity-cast-popover{z-index:60;border:1px solid var(--pa-border);background:var(--pa-panel);pointer-events:none;border-radius:11px;flex-wrap:wrap;gap:5px;width:max-content;max-width:260px;padding:8px;animation:.12s entity-cast-pop-in;display:flex;position:fixed;transform:translate(-50%,-100%);box-shadow:0 14px 40px -18px #0f142280,0 2px 8px -4px #0f142252}@keyframes entity-cast-pop-in{0%{opacity:0;transform:translate(-50%,calc(4px - 100%))}to{opacity:1;transform:translate(-50%,-100%)}}.workspace-shell .outline-row .entity-cast{flex-wrap:nowrap;min-width:0}.workspace-shell .outline-row .entity-cast-chip{min-width:0}.workspace-shell .outline-row .entity-cast-overflow{flex:none}.workspace-shell .entity-cast-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.workspace-shell .entity-cast-popover .entity-cast-name{white-space:normal;overflow:visible}.workspace-shell .outline-card.dragging{opacity:.95;box-shadow:var(--pa-shadow);background:var(--pa-panel-raised);z-index:5}.workspace-shell .outline-card-head{color:var(--pa-soft);align-items:center;gap:8px;font-size:.72rem;font-weight:600;display:flex}.workspace-shell .outline-card-grip{border-radius:var(--pa-radius-xs);width:22px;height:22px;color:var(--pa-soft);cursor:grab;touch-action:none;background:0 0;border:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.workspace-shell .outline-card-grip svg{flex:none;width:16px;height:16px}.workspace-shell .outline-card-grip:hover{background:var(--pa-panel-soft);color:var(--pa-text)}.workspace-shell .outline-card-grip:active{cursor:grabbing}.workspace-shell .outline-card-grip.is-placeholder{cursor:default}.workspace-shell .outline-card-index{color:var(--pa-muted);font-variant-numeric:tabular-nums}.workspace-shell .outline-card-status{text-transform:uppercase;letter-spacing:.04em;align-items:center;gap:6px;margin-left:auto;display:inline-flex}.workspace-shell .outline-card-title{color:var(--pa-text);font-family:var(--font-heading);text-align:left;cursor:pointer;background:0 0;border:0;padding:0;font-size:1.05rem;font-weight:600;line-height:1.2}.workspace-shell .outline-card-title:hover{text-underline-offset:3px;text-decoration:underline}.workspace-shell .outline-card-summary{border:1px solid var(--pa-border);border-radius:var(--pa-radius-sm);background:var(--pa-panel-soft);width:100%;min-height:76px;color:var(--pa-muted);font-family:var(--font-ui);resize:vertical;padding:9px 10px;font-size:.84rem;line-height:1.5}.workspace-shell .outline-card-foot{color:var(--pa-soft);gap:6px;margin-top:auto;font-size:.74rem;display:grid}.workspace-shell .outline-empty{max-width:420px}.workspace-shell{--pa-track-ins:#1c6b4d;--pa-track-del:#a1543a}.workspace-shell[data-theme=dark]{--pa-track-ins:#7fc4a2;--pa-track-del:#d0916f}.workspace-shell .ProseMirror .track-insertion{color:var(--pa-track-ins);text-decoration:underline;-webkit-text-decoration-color:var(--pa-track-ins);-webkit-text-decoration-color:var(--pa-track-ins);-webkit-text-decoration-color:var(--pa-track-ins);text-decoration-color:var(--pa-track-ins)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .ProseMirror .track-insertion{-webkit-text-decoration-color:color-mix(in srgb, var(--pa-track-ins) 45%, transparent);-webkit-text-decoration-color:color-mix(in srgb, var(--pa-track-ins) 45%, transparent);-webkit-text-decoration-color:color-mix(in srgb, var(--pa-track-ins) 45%, transparent);text-decoration-color:color-mix(in srgb, var(--pa-track-ins) 45%, transparent)}}.workspace-shell .ProseMirror .track-insertion{text-underline-offset:2px}.workspace-shell .ProseMirror .track-deletion{color:var(--pa-track-del);text-decoration:line-through;-webkit-text-decoration-color:var(--pa-track-del);-webkit-text-decoration-color:var(--pa-track-del);-webkit-text-decoration-color:var(--pa-track-del);text-decoration-color:var(--pa-track-del)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .ProseMirror .track-deletion{-webkit-text-decoration-color:color-mix(in srgb, var(--pa-track-del) 60%, transparent);-webkit-text-decoration-color:color-mix(in srgb, var(--pa-track-del) 60%, transparent);-webkit-text-decoration-color:color-mix(in srgb, var(--pa-track-del) 60%, transparent);text-decoration-color:color-mix(in srgb, var(--pa-track-del) 60%, transparent)}}.workspace-shell .ProseMirror .track-deletion{opacity:.8}.workspace-shell .writer-document.track-clean .ProseMirror .track-deletion{display:none}.workspace-shell .writer-document.track-clean .ProseMirror .track-insertion{color:inherit;text-decoration:none}.workspace-shell .comments-panel .comments-list{gap:10px;display:grid}.workspace-shell .comments-empty{color:var(--pa-muted);justify-items:start;gap:8px;font-size:.86rem;line-height:1.5;display:grid}.workspace-shell .comments-empty strong{color:var(--foreground);font-weight:650}.workspace-shell .daily-writing-empty{min-height:104px;color:var(--pa-muted);align-content:center;justify-items:start;gap:8px;font-size:.86rem;line-height:1.5;display:grid}.workspace-shell .daily-writing-empty strong{font-family:var(--font-heading);color:var(--foreground);font-size:1.05rem;font-weight:600;line-height:1.2}.workspace-shell .comment-card{border:1px solid var(--pa-border);border-radius:var(--pa-radius-md);background:var(--pa-panel-soft);gap:8px;padding:11px;display:grid}.workspace-shell .comment-card.resolved{opacity:.62}.workspace-shell .comment-card.focused{border-color:var(--comment-color)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .comment-card.focused{border-color:color-mix(in srgb, var(--comment-color) 60%, var(--pa-border))}}.workspace-shell .comment-card.focused{box-shadow:0 0 0 1px var(--comment-color)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .comment-card.focused{box-shadow:0 0 0 1px color-mix(in srgb, var(--comment-color) 45%, transparent)}}.workspace-shell .comment-body-static{color:var(--pa-text);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:.86rem;line-height:1.45}.workspace-shell .comment-body-empty{color:var(--pa-muted);font-style:italic}.workspace-shell .comment-meta{color:var(--pa-muted);margin:0;font-size:.72rem;font-weight:650}.workspace-shell .comment-quote{color:var(--pa-muted);font-family:var(--font-reading);text-align:left;cursor:pointer;border:0;border-left:2px solid var(--comment-line);background:0 0;padding:0 0 0 8px;font-size:.84rem;font-style:italic;line-height:1.4}.workspace-shell .comment-quote:hover{color:var(--pa-text)}.workspace-shell .comment-body{border:1px solid var(--pa-border);border-radius:var(--pa-radius-sm);background:var(--pa-panel);width:100%;color:var(--pa-text);font-family:var(--font-ui);resize:vertical;padding:8px 9px;font-size:.85rem;line-height:1.45}.workspace-shell .comment-actions{flex-wrap:wrap;gap:6px;display:flex}.workspace-shell .comment-action{border:1px solid var(--pa-border);border-radius:var(--pa-radius-xs);color:var(--pa-muted);white-space:nowrap;cursor:pointer;transition:background var(--pa-transition), color var(--pa-transition);background:0 0;flex:none;padding:4px 10px;font-size:.76rem;font-weight:600}.workspace-shell .comment-action:hover{background:var(--pa-panel-muted);color:var(--pa-text)}.workspace-shell .comment-action.danger:hover{color:var(--danger)}.workspace-shell .comments-resolved-label{margin-top:6px}.project-cover{aspect-ratio:2/3;background:var(--pa-panel-muted);border-radius:6px;position:relative;overflow:hidden;box-shadow:0 3px 10px #0003}.project-cover img{object-fit:cover;width:100%;height:100%;display:block}.project-cover-placeholder{--cover-accent:#49556b;background:linear-gradient(155deg, var(--cover-accent) 0%, var(--cover-accent) 55%, var(--cover-accent) 100%);align-items:flex-end;padding:12px;display:flex}@supports (color:color-mix(in lab, red, red)){.project-cover-placeholder{background:linear-gradient(155deg, color-mix(in srgb, var(--cover-accent) 82%, white) 0%, var(--cover-accent) 55%, color-mix(in srgb, var(--cover-accent) 72%, black) 100%)}}.project-cover-placeholder[data-accent=graphite]{--cover-accent:#1d1d1b}.project-cover-placeholder[data-accent=clay]{--cover-accent:#8f5d4d}.project-cover-placeholder[data-accent=moss]{--cover-accent:#68715b}.project-cover-placeholder[data-accent=ink]{--cover-accent:#49556b}.project-cover-placeholder[data-accent=ochre]{--cover-accent:#9a7a42}.project-cover-title{font-family:var(--font-heading,Georgia, serif);color:#faf8f4;text-shadow:0 1px 3px #0000004d;-webkit-line-clamp:5;-webkit-box-orient:vertical;font-size:15px;font-weight:600;line-height:1.24;display:-webkit-box;overflow:hidden}.cover-preview-portrait{width:100%;max-width:164px}.workspace-shell .cover-field-block{gap:8px;margin-top:4px;display:grid}.workspace-shell .cover-field{display:grid;position:relative}.workspace-shell .cover-preview{border:1px solid var(--pa-border);border-radius:var(--pa-radius-md);background:var(--pa-panel-soft);justify-content:center;align-items:center;width:100%;height:150px;display:flex;overflow:hidden}.workspace-shell .cover-preview img{object-fit:cover;width:100%;height:100%;display:block}.workspace-shell .cover-placeholder{color:var(--pa-soft);justify-content:center;align-items:center;display:inline-flex}.workspace-shell .cover-placeholder svg{width:22px;height:22px}.workspace-shell .cover-hover-actions{opacity:0;pointer-events:none;background:#06070a99;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:12px;transition:opacity .16s;display:flex;position:absolute;inset:0}.workspace-shell .cover-field.is-empty .cover-hover-actions{opacity:1;pointer-events:auto;background:#06070a38}.workspace-shell .cover-field:hover .cover-hover-actions,.workspace-shell .cover-field:focus-within .cover-hover-actions{opacity:1;pointer-events:auto;background:#06070a99}@media (prefers-reduced-motion:reduce){.workspace-shell .cover-hover-actions{transition:none}}.workspace-shell .cover-locked-hint{text-align:center;color:var(--pa-muted);margin:8px 0 0;font-size:12px}.workspace-shell .cover-overlay-button{color:#fff;min-width:132px;font:inherit;cursor:pointer;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#ffffff24;border:1px solid #ffffff3d;border-radius:8px;padding:7px 14px;font-size:12.5px;font-weight:640;transition:background .14s,border-color .14s}.workspace-shell .cover-overlay-button:hover{background:#ffffff38;border-color:#ffffff61}.workspace-shell .cover-overlay-button:focus-visible{outline:2px solid var(--pa-focus);outline-offset:2px;box-shadow:0 0 0 4px #ffffff8c}.workspace-shell .cover-overlay-button:disabled{opacity:.6;cursor:default}.workspace-shell .cover-overlay-button.danger{color:#ffd9cf;background:#ff6a4d29;border-color:#ff9b836b}.workspace-shell .cover-overlay-button.danger:hover{background:#ff6a4d47}.toast-stack{z-index:9999;pointer-events:none;flex-direction:column;gap:10px;max-width:min(360px,100vw - 32px);display:flex;position:fixed;bottom:22px;right:22px}.toast{pointer-events:auto;border:1px solid var(--pa-border-strong);border-radius:var(--pa-radius-md);background:var(--pa-panel-raised);color:var(--pa-text);box-shadow:var(--pa-shadow);font-family:var(--font-ui);align-items:flex-start;gap:10px;padding:12px 12px 12px 14px;font-size:.86rem;line-height:1.4;animation:.22s cubic-bezier(.22,1,.36,1) toast-in;display:flex}.toast-success .toast-icon{color:var(--pa-accent)}.toast-error .toast-icon{color:var(--danger)}.toast-info .toast-icon{color:var(--amber)}.toast-milestone{background:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.toast-milestone{background:color-mix(in srgb, var(--pa-accent) 10%, var(--pa-panel-raised))}}.toast-milestone .toast-icon{color:var(--pa-accent)}.toast-icon{flex:none;margin-top:1px;display:inline-flex}.toast-message{word-break:break-word;flex:auto;min-width:0}.toast-dismiss{border-radius:var(--pa-radius-xs);width:22px;height:22px;color:var(--pa-muted);cursor:pointer;background:0 0;border:none;flex:none;justify-content:center;align-items:center;margin:-2px -2px 0 0;padding:0;transition:color .12s,background .12s;display:inline-flex}.toast-dismiss:hover{color:var(--pa-text);background:var(--pa-panel-muted)}.toast-dismiss:focus-visible{outline:2px solid var(--pa-focus);outline-offset:1px}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@media (max-width:600px){.toast-stack{max-width:none;bottom:16px;left:16px;right:16px}}@media (prefers-reduced-motion:reduce){.toast{animation:none}}.workspace-shell .daily-goal-editor{flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px;display:flex}.workspace-shell .daily-goal-editor label{font-family:var(--font-ui);color:var(--pa-muted);font-size:.78rem;font-weight:600}.workspace-shell .daily-goal-editor input[type=number]{border:1px solid var(--pa-border-strong);border-radius:var(--pa-radius-sm);background:var(--pa-panel-raised);width:96px;color:var(--pa-text);font-family:var(--font-ui);padding:6px 8px;font-size:.85rem}.workspace-shell .daily-goal-suffix{color:var(--pa-muted);font-size:.78rem}.workspace-shell .daily-goal-editor .ui-button[disabled]{opacity:.5;cursor:not-allowed}.workspace-shell .progress-streak-badge.goal-met,html[data-theme=dark] .workspace-shell .progress-streak-badge.goal-met,.workspace-shell[data-theme=dark] .progress-streak-badge.goal-met{border-color:var(--pa-accent)}.workspace-shell .progress-streak-badge.goal-met span{color:var(--pa-accent)}.workspace-shell .daily-writing-bar.met,html[data-theme=dark] .workspace-shell .daily-writing-bar.met,.workspace-shell[data-theme=dark] .daily-writing-bar.met{border-color:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .daily-writing-bar.met,html[data-theme=dark] .workspace-shell .daily-writing-bar.met,.workspace-shell[data-theme=dark] .daily-writing-bar.met{border-color:color-mix(in srgb, var(--pa-accent) 60%, var(--border))}}.workspace-shell .daily-writing-bar.met,html[data-theme=dark] .workspace-shell .daily-writing-bar.met,.workspace-shell[data-theme=dark] .daily-writing-bar.met{background:var(--pa-accent)}.workspace-shell .daily-writing-legend{color:var(--pa-muted);align-items:center;gap:4px;font-size:.74rem;display:inline-flex}.workspace-shell .daily-writing-key{background:var(--foreground);border-radius:3px;width:10px;height:10px;margin-left:10px;display:inline-block}@supports (color:color-mix(in lab, red, red)){.workspace-shell .daily-writing-key{background:color-mix(in srgb, var(--foreground) 78%, var(--surface))}}.workspace-shell .daily-writing-key{vertical-align:middle}.workspace-shell .daily-writing-key.met{background:var(--pa-accent);margin-left:0}.workspace-shell .atlas-empty .atlas-empty-types{flex-wrap:wrap;gap:6px;margin:4px 0 16px;display:flex}.workspace-shell .atlas-empty .atlas-empty-types span{border:1px solid var(--pa-border);background:var(--pa-panel-soft);color:var(--pa-muted);font-family:var(--font-ui);letter-spacing:.01em;border-radius:999px;padding:4px 10px;font-size:.74rem}@media (max-width:860px){.workspace-shell .quick-open-trigger kbd{display:none}}.workspace-shell .ai-compose-panel{border:1px solid var(--pa-border-strong);border-radius:var(--pa-radius-md);background:var(--pa-panel-raised);overscroll-behavior:contain;gap:10px;max-height:60vh;margin:10px 12px 16px;padding:16px;display:grid;overflow-y:auto}.workspace-shell .briefing-panel{z-index:34;border:1px solid var(--pa-border-strong);border-radius:var(--pa-radius-md);background:var(--pa-panel-raised);width:min(560px,100%);box-shadow:var(--pa-shadow);overscroll-behavior:contain;gap:13px;max-height:min(60vh,100% - 20px);margin-left:auto;margin-right:auto;padding:16px;display:grid;position:absolute;top:10px;left:16px;right:16px;overflow-y:auto}.workspace-shell .briefing-head{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.workspace-shell .briefing-head .micro-label{align-items:center;gap:5px;display:inline-flex}.workspace-shell .briefing-head strong{font-family:var(--font-heading);color:var(--pa-text);margin-top:2px;font-size:1rem;display:block}.workspace-shell .briefing-body{gap:14px;display:grid}.workspace-shell .briefing-section{gap:6px;display:grid}.workspace-shell .track-widget{z-index:30;justify-content:flex-end;max-width:calc(100% - 28px);display:flex;position:absolute;top:10px;right:16px}.workspace-shell .track-pill{border:1px solid var(--pa-accent);border-radius:999px;align-items:center;gap:6px;height:30px;padding:0 11px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.workspace-shell .track-pill{border:1px solid color-mix(in srgb, var(--pa-accent) 32%, var(--pa-border))}}.workspace-shell .track-pill{background:var(--pa-panel-raised);color:var(--pa-accent);cursor:pointer;transition:border-color .14s,background .14s;box-shadow:0 8px 20px -12px #0000008c}.workspace-shell .track-pill:hover{border-color:var(--pa-accent);background:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .track-pill:hover{background:color-mix(in srgb, var(--pa-accent) 8%, var(--pa-panel-raised))}}.workspace-shell .track-pill-count{font-family:var(--font-ui);font-variant-numeric:tabular-nums;font-size:12px;font-weight:700}.workspace-shell .track-card{border:1px solid var(--pa-border-strong);border-radius:var(--pa-radius-md);background:var(--pa-panel-raised);flex-direction:column;gap:10px;width:min(320px,80vw);max-height:min(58vh,440px);padding:12px;display:flex;overflow:hidden;box-shadow:0 18px 48px -16px #0000008c}.workspace-shell .track-card-head{flex:none;justify-content:space-between;align-items:center;gap:8px;display:flex}.workspace-shell .track-card-head .micro-label{align-items:center;gap:5px;display:inline-flex}.workspace-shell .track-card-foot{border-top:1px solid var(--pa-border);flex:none;justify-content:space-between;align-items:center;gap:8px;padding-top:8px;display:flex}.workspace-shell .track-card-note{color:var(--pa-soft);font-size:11px}.workspace-shell .track-empty{color:var(--pa-muted);margin:0;font-size:12.5px;line-height:1.5}.workspace-shell .panel-button.subtle{color:var(--pa-soft);padding:4px 8px;font-size:12px}.workspace-shell .panel-button.subtle:hover:not(:disabled){color:var(--pa-text)}.workspace-shell .track-panel-actions{flex-wrap:wrap;flex:none;gap:6px;display:flex}.workspace-shell .track-card .panel-button.active{background:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .track-card .panel-button.active{background:color-mix(in srgb, var(--pa-accent) 16%, transparent)}}.workspace-shell .track-card .panel-button.active{color:var(--pa-text)}.workspace-shell .track-list{overscroll-behavior:contain;flex:auto;gap:4px;min-height:0;margin:0;padding:2px 0;list-style:none;display:grid;overflow-y:auto}.workspace-shell .track-row{border-radius:8px;align-items:center;gap:6px;padding:2px;display:flex}.workspace-shell .track-row:hover{background:var(--pa-panel-soft)}.workspace-shell .track-row-jump{text-align:left;cursor:pointer;min-width:0;color:var(--pa-text);font:inherit;background:0 0;border:0;flex:auto;align-items:baseline;gap:7px;padding:5px 6px;display:flex}.workspace-shell .track-row-tag{font-family:var(--font-ui);text-align:center;flex:none;width:12px;font-size:13px;font-weight:700}.workspace-shell .track-row-insertion .track-row-tag{color:var(--pa-track-ins)}.workspace-shell .track-row-deletion .track-row-tag{color:var(--pa-track-del)}.workspace-shell .track-row-deletion .track-row-text{color:var(--pa-muted);text-decoration:line-through}.workspace-shell .track-row-text{text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:1.4;overflow:hidden}.workspace-shell .track-row-actions{flex:none;gap:2px;display:flex}.workspace-shell .track-mini{width:26px;height:26px;color:var(--pa-soft);cursor:pointer;background:0 0;border:0;border-radius:7px;justify-content:center;align-items:center;transition:background .12s,color .12s;display:inline-flex}.workspace-shell .track-mini-accept:hover{background:var(--pa-track-ins)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .track-mini-accept:hover{background:color-mix(in srgb, var(--pa-track-ins) 16%, transparent)}}.workspace-shell .track-mini-accept:hover{color:var(--pa-track-ins)}.workspace-shell .track-mini-reject:hover{background:var(--pa-track-del)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .track-mini-reject:hover{background:color-mix(in srgb, var(--pa-track-del) 16%, transparent)}}.workspace-shell .track-mini-reject:hover{color:var(--pa-track-del)}.workspace-shell .briefing-ai{background:var(--pa-accent);border-radius:10px;gap:10px;padding:12px 13px;display:grid}@supports (color:color-mix(in lab, red, red)){.workspace-shell .briefing-ai{background:color-mix(in srgb, var(--pa-accent) 6%, transparent)}}.workspace-shell .briefing-ai{border:1px solid var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .briefing-ai{border:1px solid color-mix(in srgb, var(--pa-accent) 20%, transparent)}}.workspace-shell .briefing-ai-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.workspace-shell .briefing-ai-hint{color:var(--pa-soft);margin:0;font-size:12.5px;line-height:1.55}.workspace-shell .briefing-ai-loading{color:var(--pa-muted);margin:0;font-size:13px;font-style:italic}.workspace-shell .briefing-ai-body{transition:opacity var(--pa-transition);gap:9px;display:grid}.workspace-shell .briefing-ai-working{gap:8px;display:grid}.workspace-shell .briefing-ai-skel{background:linear-gradient(90deg, var(--pa-accent) 30%, var(--pa-accent) 50%, var(--pa-accent) 70%);border-radius:999px;height:10px}@supports (color:color-mix(in lab, red, red)){.workspace-shell .briefing-ai-skel{background:linear-gradient(90deg, color-mix(in srgb, var(--pa-accent) 9%, transparent) 30%, color-mix(in srgb, var(--pa-accent) 20%, transparent) 50%, color-mix(in srgb, var(--pa-accent) 9%, transparent) 70%)}}.workspace-shell .briefing-ai-skel{background-size:200% 100%;animation:1.6s linear infinite briefing-ai-shimmer}.workspace-shell .briefing-ai-skel:first-of-type{width:94%}.workspace-shell .briefing-ai-skel:nth-of-type(2){width:85%}.workspace-shell .briefing-ai-skel:nth-of-type(3){width:56%}.workspace-shell .briefing-ai-body.is-redrafting{opacity:.45;pointer-events:none;position:relative}.workspace-shell .briefing-ai-body.is-redrafting:after{content:"";background:linear-gradient(100deg, transparent 32%, var(--pa-accent) 50%, transparent 68%);border-radius:8px;position:absolute;inset:-2px}@supports (color:color-mix(in lab, red, red)){.workspace-shell .briefing-ai-body.is-redrafting:after{background:linear-gradient(100deg, transparent 32%, color-mix(in srgb, var(--pa-accent) 16%, transparent) 50%, transparent 68%)}}.workspace-shell .briefing-ai-body.is-redrafting:after{background-size:220% 100%;animation:1.6s linear infinite briefing-ai-shimmer}@keyframes briefing-ai-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@media (prefers-reduced-motion:reduce){.workspace-shell .briefing-ai-skel,.workspace-shell .briefing-ai-body.is-redrafting:after{animation:none}}.workspace-shell .briefing-ai-recap,.workspace-shell .briefing-ai-focus{color:var(--pa-text);margin:0;font-size:13.5px;line-height:1.6}.workspace-shell .briefing-ai-tag{font-family:var(--font-ui);letter-spacing:.08em;text-transform:uppercase;color:var(--pa-accent);vertical-align:1px;margin-right:7px;font-size:11px;font-weight:550;display:inline-block}.workspace-shell .briefing-ai-watch{gap:5px;margin:2px 0 0;padding:0;list-style:none;display:grid}.workspace-shell .briefing-ai-watch li{color:var(--pa-muted);padding-left:15px;font-size:12.5px;line-height:1.5;position:relative}.workspace-shell .briefing-ai-watch li:before{content:"";background:var(--pa-accent);border-radius:50%;width:5px;height:5px;position:absolute;top:8px;left:3px}@supports (color:color-mix(in lab, red, red)){.workspace-shell .briefing-ai-watch li:before{background:color-mix(in srgb, var(--pa-accent) 60%, transparent)}}.workspace-shell .briefing-label{letter-spacing:.07em;text-transform:uppercase;color:var(--pa-soft);margin:0;font-size:10.5px;font-weight:700}.workspace-shell .briefing-empty,.workspace-shell .briefing-prev{color:var(--pa-muted);margin:0;font-size:13px;line-height:1.55}.workspace-shell .briefing-cast,.workspace-shell .briefing-beats,.workspace-shell .briefing-threads{gap:6px;margin:0;padding:0;list-style:none;display:grid}.workspace-shell .briefing-cast-row{--entity-color:var(--pa-accent);align-items:center;gap:8px;font-size:13px;display:flex}.workspace-shell .briefing-cast-dot{background:var(--entity-color);border-radius:50%;flex:none;width:7px;height:7px}.workspace-shell .briefing-cast-name{color:var(--pa-text);font-weight:600}.workspace-shell .briefing-cast-state{color:var(--pa-muted);text-align:right;margin-left:auto}.workspace-shell .briefing-cast-ch{color:var(--pa-soft);font-size:11.5px}.workspace-shell .briefing-beats li{gap:2px;font-size:13px;display:grid}.workspace-shell .briefing-beats strong{color:var(--pa-text);font-weight:600}.workspace-shell .briefing-beats span{color:var(--pa-muted);line-height:1.5}.workspace-shell .briefing-threads li{color:var(--pa-muted);--entity-color:var(--pa-accent);font-size:13px;line-height:1.5}.workspace-shell .briefing-threads strong{color:var(--pa-text);font-weight:600}.workspace-shell .briefing-threads .briefing-cast-dot{vertical-align:middle;margin-right:6px;display:inline-block}.workspace-shell .ai-compose-head{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.workspace-shell .ai-compose-head strong{font-family:var(--font-heading);color:var(--pa-text);font-size:1rem}.workspace-shell .ai-compose-close{border-radius:var(--pa-radius-sm);width:28px;height:28px;color:var(--pa-muted);cursor:pointer;background:0 0;border:none;flex:none;justify-content:center;align-items:center;transition:color .12s,background .12s;display:inline-flex}.workspace-shell .ai-compose-close:hover{color:var(--pa-text);background:var(--pa-panel-muted)}.workspace-shell .ai-compose-eyebrow{color:var(--pa-accent);align-items:center;gap:5px;display:inline-flex}.workspace-shell .ai-compose-eyebrow svg{width:13px;height:13px}.workspace-shell .ai-compose-bar{border:1px solid var(--pa-border-strong);border-radius:var(--pa-radius-md);background:var(--pa-panel);align-items:center;gap:6px;padding:5px 5px 5px 12px;transition:border-color .14s;display:flex}.workspace-shell .ai-compose-bar:focus-within{border-color:var(--pa-accent)}.workspace-shell .ai-compose-instruction{border:1px solid var(--pa-border-strong);border-radius:var(--pa-radius-sm);background:var(--pa-panel);width:100%;color:var(--pa-text);font-family:var(--font-ui);padding:9px 11px;font-size:.88rem}.workspace-shell .ai-compose-bar .ai-compose-instruction{background:0 0;border:none;flex:1;min-width:0;height:34px;padding:0}.workspace-shell .ai-compose-send{border:1px solid var(--pa-accent-strong);border-radius:var(--pa-radius-sm);background:var(--pa-accent-strong);height:34px;color:var(--pa-bg);cursor:pointer;flex:none;align-items:center;gap:6px;padding:0 15px;font-size:.85rem;font-weight:640;transition:background .12s,border-color .12s;display:inline-flex}.workspace-shell .ai-compose-send:hover:not(:disabled){background:var(--pa-accent-strong)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .ai-compose-send:hover:not(:disabled){background:color-mix(in srgb, var(--pa-accent-strong) 86%, var(--pa-warm))}}.workspace-shell .ai-compose-send:hover:not(:disabled){border-color:var(--pa-accent-strong)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .ai-compose-send:hover:not(:disabled){border-color:color-mix(in srgb, var(--pa-accent-strong) 86%, var(--pa-warm))}}.workspace-shell .ai-compose-send:disabled{opacity:.5;cursor:default}.workspace-shell .ai-compose-send svg{width:15px;height:15px}html[data-theme=dark] .workspace-shell .ai-compose-send,.workspace-shell[data-theme=dark] .ai-compose-send{border-color:var(--pa-accent-fill);background:var(--pa-accent-fill);color:var(--pa-on-accent)}html[data-theme=dark] .workspace-shell .ai-compose-send:hover:not(:disabled),.workspace-shell[data-theme=dark] .ai-compose-send:hover:not(:disabled){border-color:var(--pa-accent-fill-hover);background:var(--pa-accent-fill-hover)}.workspace-shell .ai-compose-modes{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.workspace-shell .ai-compose-mode{border:1px solid var(--pa-border);border-radius:var(--pa-radius-sm);background:var(--pa-panel-soft);height:34px;color:var(--pa-text);font-size:var(--pa-font-control,.85rem);cursor:pointer;align-items:center;gap:7px;padding:0 13px;font-weight:580;transition:background .12s,border-color .12s,color .12s;display:inline-flex}.workspace-shell .ai-compose-mode svg{width:15px;height:15px;color:var(--pa-soft)}.workspace-shell .ai-compose-mode:hover:not(:disabled){background:var(--pa-panel-muted);border-color:var(--pa-border-strong)}.workspace-shell .ai-compose-mode:hover:not(:disabled) svg{color:var(--pa-text)}.workspace-shell .ai-compose-mode:disabled{opacity:.5;cursor:default}.workspace-shell .ai-compose-mode-sep{background:var(--pa-border-strong);width:1px;height:22px;margin:0 3px}.workspace-shell .ai-compose-select-hint{color:var(--pa-soft);align-items:center;gap:5px;font-size:.78rem;font-style:italic;display:inline-flex}.workspace-shell .ai-compose-select-hint svg{width:13px;height:13px}.workspace-shell .ai-compose-actions{flex-wrap:wrap;gap:8px;display:flex}.workspace-shell .ai-compose-error{border-radius:var(--pa-radius-sm);background:var(--danger-surface);color:var(--danger);margin:0;padding:8px 10px;font-size:.84rem;line-height:1.45}.workspace-shell .revision-panel{border:1px solid var(--pa-border-strong);border-radius:var(--pa-radius-md);background:var(--pa-panel-raised);gap:12px;margin:10px 12px 16px;padding:16px;display:grid}.workspace-shell .revision-panel-head{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.workspace-shell .revision-panel-eyebrow{align-items:center;gap:5px;display:inline-flex}.workspace-shell .revision-panel-scene{color:var(--pa-muted);margin-top:2px;font-size:12.5px;display:block}.workspace-shell .revision-panel-controls{align-items:center;gap:8px;display:flex}.workspace-shell .revision-focus{flex:1;min-width:0}.workspace-shell .revision-run{flex:none}.workspace-shell .revision-panel-clean{color:var(--pa-muted);margin:0;font-size:13px;line-height:1.5}.workspace-shell .revision-review{gap:10px;display:grid}.workspace-shell .revision-pager{justify-content:space-between;align-items:center;gap:8px;display:flex}.workspace-shell .revision-pager-count{color:var(--pa-soft);letter-spacing:.02em;font-size:12px;font-weight:600}.workspace-shell .revision-pager-nav{border:1px solid var(--pa-border);border-radius:var(--pa-radius-sm);background:var(--pa-panel);width:28px;height:28px;color:var(--pa-muted);cursor:pointer;flex:none;justify-content:center;align-items:center;transition:border-color .12s,color .12s,background .12s;display:inline-flex}.workspace-shell .revision-pager-nav:hover:not(:disabled){color:var(--pa-text);border-color:var(--pa-border-strong)}.workspace-shell .revision-pager-nav:disabled{opacity:.4;cursor:default}.workspace-shell .revision-review-bulk{gap:6px;display:flex}.workspace-shell .revision-review .revision-edit.is-active{animation:.18s both revision-card-in}@keyframes revision-card-in{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}.workspace-shell .revision-shortcuts{color:var(--pa-soft);flex-wrap:wrap;align-items:center;gap:2px;margin:0;font-size:11px;display:flex}.workspace-shell .revision-shortcuts kbd{min-width:15px;color:var(--pa-muted);background:var(--pa-panel-soft);border:1px solid var(--pa-border);border-radius:4px;justify-content:center;align-items:center;margin:0 1px;padding:1px 4px;font-family:inherit;font-size:10px;font-weight:600;display:inline-flex}.workspace-shell .revision-edit{border:1px solid var(--pa-border);border-radius:var(--pa-radius-sm);background:var(--pa-panel);gap:7px;padding:11px 12px;display:grid}.workspace-shell .revision-edit.is-active{border-color:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .revision-edit.is-active{border-color:color-mix(in srgb, var(--pa-accent) 45%, var(--pa-border))}}.workspace-shell .revision-edit-tag{letter-spacing:.08em;text-transform:uppercase;color:var(--pa-accent);background:var(--pa-accent);border-radius:999px;justify-self:start;padding:2px 7px;font-size:11px;font-weight:550}@supports (color:color-mix(in lab, red, red)){.workspace-shell .revision-edit-tag{background:color-mix(in srgb, var(--pa-accent) 12%, transparent)}}.workspace-shell .revision-edit-tag-continuity{color:#c2472f;background:#c2472f1f}.workspace-shell .revision-edit-tag-pov{color:#7a5cc0;background:#7a5cc01f}.workspace-shell .revision-edit-tag-pacing{color:#b0855c;background:#b0855c24}.workspace-shell .revision-edit-diff{gap:4px;display:grid}.workspace-shell .revision-edit-old,.workspace-shell .revision-edit-new{border-radius:4px;margin:0;padding:4px 8px;font-size:13px;line-height:1.5}.workspace-shell .revision-edit-old{color:var(--pa-muted);text-decoration:line-through;-webkit-text-decoration-color:var(--danger);-webkit-text-decoration-color:var(--danger);-webkit-text-decoration-color:var(--danger);text-decoration-color:var(--danger)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .revision-edit-old{-webkit-text-decoration-color:color-mix(in srgb, var(--danger) 60%, transparent);-webkit-text-decoration-color:color-mix(in srgb, var(--danger) 60%, transparent);-webkit-text-decoration-color:color-mix(in srgb, var(--danger) 60%, transparent);text-decoration-color:color-mix(in srgb, var(--danger) 60%, transparent)}}.workspace-shell .revision-edit-old{background:var(--danger)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .revision-edit-old{background:color-mix(in srgb, var(--danger) 7%, transparent)}}.workspace-shell .revision-edit-new{color:var(--pa-text);background:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .revision-edit-new{background:color-mix(in srgb, var(--pa-accent) 9%, transparent)}}.workspace-shell .revision-edit-why{color:var(--pa-soft);margin:0;font-size:12px;line-height:1.45}.workspace-shell .revision-edit-actions{gap:6px;display:flex}.workspace-shell .ProseMirror .revision-mark{background:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .ProseMirror .revision-mark{background:color-mix(in srgb, var(--pa-accent) 9%, transparent)}}.workspace-shell .ProseMirror .revision-mark{box-shadow:0 0 0 1px var(--pa-accent);border-radius:2px}@supports (color:color-mix(in lab, red, red)){.workspace-shell .ProseMirror .revision-mark{box-shadow:0 0 0 1px color-mix(in srgb, var(--pa-accent) 16%, transparent)}}.workspace-shell .ProseMirror .revision-mark{transition:background .14s,box-shadow .14s}.workspace-shell .ProseMirror .revision-mark-active{background:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .ProseMirror .revision-mark-active{background:color-mix(in srgb, var(--pa-accent) 22%, transparent)}}.workspace-shell .ProseMirror .revision-mark-active{box-shadow:0 0 0 1px var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .ProseMirror .revision-mark-active{box-shadow:0 0 0 1px color-mix(in srgb, var(--pa-accent) 38%, transparent)}}.workspace-shell .ProseMirror .revision-mark-replacing{text-decoration:line-through;-webkit-text-decoration-color:var(--danger);-webkit-text-decoration-color:var(--danger);-webkit-text-decoration-color:var(--danger);text-decoration-color:var(--danger)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .ProseMirror .revision-mark-replacing{-webkit-text-decoration-color:color-mix(in srgb, var(--danger) 55%, transparent);-webkit-text-decoration-color:color-mix(in srgb, var(--danger) 55%, transparent);-webkit-text-decoration-color:color-mix(in srgb, var(--danger) 55%, transparent);text-decoration-color:color-mix(in srgb, var(--danger) 55%, transparent)}}.workspace-shell .ProseMirror .revision-mark-replacing{opacity:.7}.workspace-shell .ProseMirror .revision-ghost{color:var(--pa-accent);white-space:pre-wrap;font-style:italic}.workspace-shell .ProseMirror .revision-ghost:before{content:" →";opacity:.6;font-style:normal}.workspace-shell .ProseMirror .revision-flash{border-radius:2px;animation:.65s ease-out revision-flash-fade}@keyframes revision-flash-fade{0%{background:color-mix(in srgb, var(--pa-accent) 34%, transparent)}to{background:0 0}}.workspace-shell.revision-mode{--revision-rail-width:384px}.workspace-shell.revision-mode .app-sidebar,.workspace-shell.revision-mode .view-nav-row,.workspace-shell.revision-mode .writer-command-optional{opacity:.45;transition:opacity .24s}.workspace-shell.revision-mode .app-sidebar:hover,.workspace-shell.revision-mode .view-nav-row:hover{opacity:1}.workspace-shell.revision-mode .editor-scroll{padding-right:var(--revision-rail-width);transition:padding-right .24s}.workspace-shell.revision-mode .revision-panel{top:var(--pa-shell-row);width:var(--revision-rail-width);border:none;border-left:1px solid var(--pa-border-strong);background:var(--pa-panel-raised);overscroll-behavior:contain;z-index:30;border-radius:0;align-content:start;margin:0;padding:20px 18px;animation:.26s cubic-bezier(.22,1,.36,1) both revision-rail-in;position:fixed;bottom:0;right:0;overflow-y:auto;box-shadow:-22px 0 46px -34px #00000073}@keyframes revision-rail-in{0%{opacity:0;right:-16px}to{opacity:1;right:0}}.workspace-shell .revision-jump{gap:3px;margin-top:2px;display:grid}.workspace-shell .revision-jump-label{letter-spacing:.07em;text-transform:uppercase;color:var(--pa-soft);margin:4px 0 2px;font-size:10.5px;font-weight:700}.workspace-shell .revision-jump-row{border-radius:var(--pa-radius-sm);width:100%;color:var(--pa-muted);text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;align-items:center;gap:8px;padding:6px 8px;font-size:12px;transition:background .12s,color .12s,border-color .12s;display:flex}.workspace-shell .revision-jump-row:hover{background:var(--pa-panel-muted)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .revision-jump-row:hover{background:color-mix(in srgb, var(--pa-panel-muted) 60%, transparent)}}.workspace-shell .revision-jump-row:hover{color:var(--pa-text)}.workspace-shell .revision-jump-row.is-active{border-color:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .revision-jump-row.is-active{border-color:color-mix(in srgb, var(--pa-accent) 40%, var(--pa-border))}}.workspace-shell .revision-jump-row.is-active{background:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .revision-jump-row.is-active{background:color-mix(in srgb, var(--pa-accent) 10%, transparent)}}.workspace-shell .revision-jump-row.is-active{color:var(--pa-text)}.workspace-shell .revision-jump-dot{background:var(--pa-accent);border-radius:50%;flex:none;width:6px;height:6px}.workspace-shell .revision-jump-dot.cat-continuity{background:#c2472f}.workspace-shell .revision-jump-dot.cat-pov{background:#7a5cc0}.workspace-shell .revision-jump-dot.cat-pacing{background:#b0855c}.workspace-shell .revision-jump-text{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.workspace-shell .revision-jump-scene{letter-spacing:.07em;text-transform:uppercase;color:var(--pa-soft);margin:9px 0 1px;font-size:10px;font-weight:700}.workspace-shell .revision-jump-scene:first-child{margin-top:0}.workspace-shell .revision-edit-scene{letter-spacing:.07em;text-transform:uppercase;color:var(--pa-accent);margin:0 0 1px;font-size:10px;font-weight:700}.workspace-shell .revision-cost-hint{color:var(--pa-soft);margin:0;font-size:12px;line-height:1.45}.workspace-shell .revision-progress{gap:6px;display:grid}.workspace-shell .revision-progress-bar{background:var(--pa-accent);border-radius:999px;height:4px}@supports (color:color-mix(in lab, red, red)){.workspace-shell .revision-progress-bar{background:color-mix(in srgb, var(--pa-accent) 14%, transparent)}}.workspace-shell .revision-progress-bar{overflow:hidden}.workspace-shell .revision-progress-bar>span{background:var(--pa-accent);border-radius:999px;height:100%;transition:width .24s;display:block}.workspace-shell .revision-progress-label{color:var(--pa-muted);font-size:12px}.workspace-shell .scene-rail-actions{gap:6px;display:grid}.workspace-shell .ai-compose-result{gap:10px;display:grid}@property --compose-scroll-fade{syntax:"<length>";inherits:false;initial-value:0}.workspace-shell .ai-compose-output{border:1px solid var(--pa-border);border-radius:var(--pa-radius-sm);background:var(--pa-panel);max-height:320px;color:var(--pa-text);font-family:var(--font-reading);font-size:calc(.95rem * var(--editor-font-scale,1));white-space:pre-wrap;--compose-scroll-fade:0px;-webkit-mask-image:linear-gradient(to bottom, transparent 0, #000 var(--compose-scroll-fade));-webkit-mask-image:linear-gradient(to bottom, transparent 0, #000 var(--compose-scroll-fade));-webkit-mask-image:linear-gradient(to bottom, transparent 0, #000 var(--compose-scroll-fade));-webkit-mask-image:linear-gradient(to bottom, transparent 0, #000 var(--compose-scroll-fade));mask-image:linear-gradient(to bottom, transparent 0, #000 var(--compose-scroll-fade));padding:12px 14px;line-height:1.65;transition:--compose-scroll-fade .2s,border-color .2s,box-shadow .2s;overflow-y:auto}.workspace-shell .ai-compose-output.is-scrolled{--compose-scroll-fade:28px}@media (prefers-reduced-motion:reduce){.workspace-shell .ai-compose-output{transition:none}}.workspace-shell .ai-compose-output.is-streaming{border-color:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .ai-compose-output.is-streaming{border-color:color-mix(in srgb, var(--pa-accent) 48%, var(--pa-border))}}.workspace-shell .ai-compose-output.is-streaming{box-shadow:inset 0 0 0 1px var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .ai-compose-output.is-streaming{box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--pa-accent) 20%, transparent)}}.workspace-shell .ai-compose-output.is-streaming{transition:--compose-scroll-fade .2s,border-color .2s,box-shadow .2s}.workspace-shell .ai-compose-composing{color:var(--pa-soft);font-family:var(--font-ui);align-items:center;gap:9px;font-size:.85rem;display:inline-flex}.workspace-shell .ai-compose-composing-dots{gap:4px;display:inline-flex}.workspace-shell .ai-compose-composing-dots i{background:var(--pa-accent);border-radius:50%;width:6px;height:6px;animation:1.1s ease-in-out infinite ai-compose-pulse}.workspace-shell .ai-compose-composing-dots i:nth-child(2){animation-delay:.18s}.workspace-shell .ai-compose-composing-dots i:nth-child(3){animation-delay:.36s}@keyframes ai-compose-pulse{0%,80%,to{opacity:.3;transform:scale(.8)}40%{opacity:1;transform:scale(1)}}.workspace-shell .ai-compose-caret{vertical-align:text-bottom;background:var(--pa-accent);width:2px;height:1.05em;margin-left:1px;animation:1s steps(2,start) infinite ai-compose-blink;display:inline-block}@keyframes ai-compose-blink{0%,to{opacity:1}50%{opacity:0}}@media (prefers-reduced-motion:reduce){.workspace-shell .ai-compose-composing-dots i,.workspace-shell .ai-compose-caret{animation:none}}.workspace-shell .ai-compose-hint{color:var(--pa-muted);margin:0;font-size:.76rem}.workspace-shell .ai-ideas{gap:10px;display:grid}.workspace-shell .ai-ideas-list{gap:8px;max-height:360px;margin:0;padding:0;list-style:none;display:grid;overflow-y:auto}.workspace-shell .ai-idea{border:1px solid var(--pa-border);border-radius:var(--pa-radius-sm);background:var(--pa-panel);align-items:flex-start;gap:10px;padding:10px 12px;display:flex}.workspace-shell .ai-idea-text{flex:1;gap:3px;min-width:0;display:grid}.workspace-shell .ai-idea-text strong{font-family:var(--font-ui);color:var(--pa-text);font-size:.9rem}.workspace-shell .ai-idea-text span{color:var(--pa-muted);font-size:.84rem;line-height:1.5}.workspace-shell .ai-idea-copy{border:1px solid var(--pa-border-strong);border-radius:var(--pa-radius-sm);color:var(--pa-muted);cursor:pointer;background:0 0;flex:none;padding:4px 10px;font-size:.76rem;transition:color .12s,background .12s}.workspace-shell .ai-idea-copy:hover{color:var(--pa-text);background:var(--pa-panel-muted)}.workspace-shell .ai-idea-save:disabled{border-color:var(--pa-border);color:var(--pa-soft);cursor:default;background:0 0}.workspace-shell .ai-idea-save:disabled:hover{color:var(--pa-soft);background:0 0}.workspace-shell .atlas-extract-panel{border:1px solid var(--pa-border-strong);border-radius:var(--pa-radius-md);background:var(--pa-panel-raised);gap:12px;margin:0 0 14px;padding:14px;display:grid}.workspace-shell .atlas-extract-head{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.workspace-shell .atlas-extract-head strong{font-family:var(--font-heading);color:var(--pa-text);font-size:1rem}.workspace-shell .atlas-extract-list{gap:10px;max-height:420px;display:grid;overflow-y:auto}.workspace-shell .atlas-proposal{border:1px solid var(--pa-border);border-radius:var(--pa-radius-sm);background:var(--pa-panel);gap:10px;padding:10px 12px;display:flex}.workspace-shell .atlas-proposal.selected{border-color:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .atlas-proposal.selected{border-color:color-mix(in srgb, var(--pa-accent) 62%, var(--pa-border))}}.workspace-shell .atlas-extract-subhead{color:var(--pa-muted);justify-content:space-between;align-items:center;gap:10px;margin-top:-4px;font-size:12px;display:flex}.workspace-shell .atlas-extract-selectall{color:var(--pa-accent);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:12px;font-weight:640}.workspace-shell .atlas-extract-selectall:hover{text-decoration:underline}.workspace-shell .atlas-extract-selectall:disabled{opacity:.5;cursor:default;text-decoration:none}.workspace-shell .atlas-proposal-dot{background:var(--entity-color,var(--pa-accent));border-radius:50%;flex:none;width:8px;height:8px}.workspace-shell .atlas-proposal-conf{border:1px solid var(--pa-border);text-transform:capitalize;color:var(--pa-soft);border-radius:999px;padding:1px 8px;font-size:.68rem;font-weight:740}.workspace-shell .atlas-proposal-conf.conf-high{color:#2f9e6b;border-color:#2f9e6b}@supports (color:color-mix(in lab, red, red)){.workspace-shell .atlas-proposal-conf.conf-high{border-color:color-mix(in srgb, #2f9e6b 42%, var(--pa-border))}}.workspace-shell .atlas-proposal-conf.conf-medium{color:var(--pa-muted)}html[data-theme=dark] .workspace-shell .atlas-proposal-conf.conf-high,.workspace-shell[data-theme=dark] .atlas-proposal-conf.conf-high{color:#5cc78c;border-color:#5cc78c}@supports (color:color-mix(in lab, red, red)){html[data-theme=dark] .workspace-shell .atlas-proposal-conf.conf-high,.workspace-shell[data-theme=dark] .atlas-proposal-conf.conf-high{border-color:color-mix(in srgb, #5cc78c 42%, var(--pa-border))}}.workspace-shell .atlas-proposal-select{color:var(--pa-muted);justify-items:center;gap:4px;font-size:.7rem;display:grid}.workspace-shell .atlas-proposal-body{flex:1;gap:8px;min-width:0;display:grid}.workspace-shell .atlas-proposal-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.workspace-shell .atlas-proposal-name{border:1px solid var(--pa-border-strong);border-radius:var(--pa-radius-sm);background:var(--pa-panel-raised);min-width:140px;color:var(--pa-text);font-family:var(--font-ui);flex:1;padding:6px 9px;font-size:.9rem;font-weight:600}.workspace-shell .atlas-proposal-row select{border:1px solid var(--pa-border-strong);border-radius:var(--pa-radius-sm);background:var(--pa-panel-raised);color:var(--pa-text);padding:6px 9px;font-size:.82rem}.workspace-shell .atlas-proposal-flag{background:var(--pa-panel-muted);color:var(--pa-muted);border-radius:999px;padding:2px 8px;font-size:.72rem}.workspace-shell .atlas-proposal-summary{border:1px solid var(--pa-border);border-radius:var(--pa-radius-sm);background:var(--pa-panel-raised);width:100%;color:var(--pa-text);font-family:var(--font-ui);resize:vertical;padding:7px 10px;font-size:.86rem;line-height:1.5}.workspace-shell .atlas-proposal-quote{color:var(--pa-muted);font-family:var(--font-reading);margin:0;font-size:.82rem;font-style:italic}.workspace-shell .atlas-extract-actions{flex-wrap:wrap;gap:8px;display:flex}.workspace-shell .ai-key-field{gap:12px;display:grid}.workspace-shell .ai-key-status{font-family:var(--font-ui);color:var(--pa-text);align-items:center;gap:8px;font-size:.9rem;font-weight:600;display:inline-flex}.workspace-shell .ai-key-dot{background:var(--pa-muted);border-radius:999px;width:9px;height:9px}.workspace-shell .ai-key-dot.connected{background:var(--pa-accent)}.workspace-shell .ai-key-hint{color:var(--pa-muted);margin:0;font-size:.82rem;line-height:1.5}.workspace-shell .ai-key-connect{gap:10px;display:grid}.workspace-shell .ai-key-actions{flex-wrap:wrap;gap:8px;display:flex}.workspace-shell .continuity-review-actions{align-items:center;gap:10px}.workspace-shell .continuity-scan-progress{font-family:var(--font-ui);color:var(--pa-muted);font-size:.82rem}.workspace-shell .library-entry-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));align-items:stretch;gap:12px;display:grid}.workspace-shell .library-entry-grid>.create-modal-trigger,.workspace-shell .library-entry-grid>.sample-disclosure{height:100%}.workspace-shell .atlas-header-actions,.workspace-shell .view-header-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.workspace-shell .review-tabs{border:0;border-bottom:1px solid var(--pa-border);background:0 0;border-radius:0;gap:22px;padding:0;display:flex}.workspace-shell .review-tab{color:var(--pa-muted);font:inherit;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;align-items:center;gap:7px;margin-bottom:-1px;padding:4px 2px 10px;font-size:.85rem;font-weight:640;transition:color .12s,border-color .12s;display:inline-flex}.workspace-shell .review-tab:hover{color:var(--pa-text)}.workspace-shell .review-tab.active{color:var(--pa-text);border-bottom-color:var(--pa-accent)}.workspace-shell .review-tab-count{background:var(--pa-panel-raised);min-width:18px;color:var(--pa-muted);text-align:center;border-radius:999px;padding:1px 6px;font-size:.72rem;font-weight:700}.workspace-shell .review-tab.active .review-tab-count{background:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .review-tab.active .review-tab-count{background:color-mix(in srgb, var(--pa-accent) 18%, transparent)}}.workspace-shell .review-tab.active .review-tab-count{color:var(--pa-accent)}.workspace-shell .plan-tabs{border:0;border-bottom:1px solid var(--pa-border);background:0 0;border-radius:0;gap:22px;padding:0;display:flex}.workspace-shell .plan-tab{color:var(--pa-muted);font:inherit;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;align-items:center;gap:7px;margin-bottom:-1px;padding:4px 2px 10px;font-size:.85rem;font-weight:640;transition:color .12s,border-color .12s;display:inline-flex}.workspace-shell .plan-tab:hover{color:var(--pa-text)}.workspace-shell .plan-tab.active{color:var(--pa-text);border-bottom-color:var(--pa-accent)}.workspace-shell .plan-tab-count{background:var(--pa-panel-raised);min-width:18px;color:var(--pa-muted);text-align:center;border-radius:999px;padding:1px 6px;font-size:.72rem;font-weight:700}.workspace-shell .plan-tab.active .plan-tab-count{background:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .plan-tab.active .plan-tab-count{background:color-mix(in srgb, var(--pa-accent) 18%, transparent)}}.workspace-shell .plan-tab.active .plan-tab-count{color:var(--pa-accent)}.workspace-shell .idea-list{gap:10px;display:grid}.workspace-shell .idea-card{border:1px solid var(--pa-border);border-radius:var(--pa-radius-sm);background:var(--pa-panel);gap:8px;padding:12px 14px;display:grid}.workspace-shell .idea-card-promoted{border-style:dashed}.workspace-shell .idea-card-topline{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.workspace-shell .idea-card-source{background:var(--pa-panel-muted);color:var(--pa-muted);border-radius:999px;padding:2px 8px;font-size:.72rem}.workspace-shell .idea-card-promoted-badge{background:var(--pa-accent);border-radius:999px;padding:2px 8px}@supports (color:color-mix(in lab, red, red)){.workspace-shell .idea-card-promoted-badge{background:color-mix(in srgb, var(--pa-accent) 18%, transparent)}}.workspace-shell .idea-card-promoted-badge{color:var(--pa-accent);font-size:.72rem;font-weight:600}.workspace-shell .idea-card-age{color:var(--pa-soft);margin-left:auto;font-size:.75rem}.workspace-shell .idea-card-body{color:var(--pa-text);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:.92rem;line-height:1.55}.workspace-shell .idea-promote-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.workspace-shell .atlas-proposal-source{background:var(--pa-panel-muted);color:var(--pa-muted);border-radius:999px;padding:2px 8px;font-size:.72rem}.workspace-shell .ai-compose-source{font-family:var(--font-ui);color:var(--pa-muted);margin-top:2px;font-size:.74rem;display:block}.workspace-shell .writer-command-actions{flex-wrap:nowrap;row-gap:6px}.workspace-shell .writer-command-actions .writer-focus-toggle,.workspace-shell .writer-command-actions .ui-button{white-space:nowrap;flex:none}.workspace-shell .editor-pane{container-type:inline-size}.workspace-shell .editor-status-row>span{white-space:nowrap}.billing-shell{background:var(--background);min-height:100vh;color:var(--foreground);font-family:var(--font-ui)}.billing-topbar{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;padding:16px clamp(18px,4vw,40px);display:flex}.billing-brand{color:var(--foreground);align-items:center;gap:10px;font-weight:700;text-decoration:none;display:inline-flex}.billing-brand-mark{border:1px solid var(--border-strong);background:var(--sage-deep);width:30px;height:30px;color:var(--background);border-radius:7px;justify-content:center;align-items:center;font-size:12px;font-weight:800;display:inline-flex}.billing-back{color:var(--text-muted);font-size:.9rem;font-weight:600;text-decoration:none}.billing-back:hover{color:var(--foreground)}.billing-body{gap:26px;max-width:1060px;margin:0 auto;padding:clamp(24px,5vw,56px) clamp(18px,4vw,40px) 64px;display:grid}.billing-heading h1{font-family:var(--font-heading);margin:6px 0 10px;font-size:clamp(1.8rem,4vw,2.5rem)}.billing-sub{color:var(--text-muted);max-width:62ch;line-height:1.55}.billing-alert{border:1px solid var(--danger);background:var(--danger-surface);color:var(--foreground);border-radius:10px;padding:12px 16px;font-size:.92rem}.billing-status-card{border:1px solid var(--border);background:var(--surface-soft);border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;display:flex}.billing-status-card strong{margin-top:2px;font-size:1.05rem;display:block}.billing-status-line{color:var(--text-muted);margin-top:4px;font-size:.9rem}.billing-interval-toggle{border:1px solid var(--border);background:var(--surface-soft);border-radius:999px;gap:4px;width:fit-content;padding:4px;display:inline-flex}.billing-interval-toggle button{color:var(--text-muted);font:inherit;cursor:pointer;background:0 0;border:none;border-radius:999px;align-items:center;gap:8px;padding:8px 18px;font-weight:650;transition:background .14s,color .14s;display:inline-flex}.billing-interval-toggle button.active{background:var(--sage-deep);color:var(--background)}.billing-save-badge{text-transform:uppercase;letter-spacing:.04em;color:var(--amber);font-size:.7rem;font-weight:700}.billing-interval-toggle button.active .billing-save-badge{color:var(--background)}.billing-plan-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.billing-card{border:1px solid var(--border);background:var(--surface);border-radius:14px;flex-direction:column;gap:16px;padding:22px;display:flex}.billing-card.featured{border-color:var(--amber);box-shadow:0 0 0 1px var(--amber) inset}.billing-card.current{border-color:var(--border-strong)}.billing-card-titlerow{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.billing-card-titlerow h2{font-family:var(--font-heading);margin:0;font-size:1.3rem}.billing-card-tag{text-transform:uppercase;letter-spacing:.05em;background:var(--amber);color:var(--background);border-radius:999px;padding:3px 8px;font-size:.66rem;font-weight:700}.billing-card-tag.current{background:var(--surface-muted);color:var(--text-muted)}.billing-card-blurb{color:var(--text-muted);margin:6px 0 0;font-size:.9rem}.billing-card-price{font-family:var(--font-heading);align-items:baseline;gap:2px;margin:14px 0 0;display:flex}.billing-card-price .price-cur{font-size:1.5rem;font-weight:650}.billing-card-price .od{letter-spacing:-.01em;font-size:2rem;font-weight:650}.billing-card-price .price-per{color:var(--text-muted);font-size:.95rem;font-family:var(--font-ui);margin-left:3px}.billing-card-billed{min-height:1.05rem;color:var(--text-soft);margin:3px 0 0;font-size:.8rem}.billing-card-credits{color:var(--amber);margin-top:8px;font-size:.9rem;font-weight:650}.od-wrap{display:inline-flex;position:relative}.od-sr{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.od{font-variant-numeric:tabular-nums;line-height:1;display:inline-flex;overflow:hidden}.od-col{height:1em;overflow:hidden}.od-reel{will-change:transform;flex-direction:column;display:flex}.od-reel span{justify-content:center;align-items:center;height:1em;display:flex}@media (prefers-reduced-motion:reduce){.od-reel{transition:none!important}}.plan-free-strip{border:1px dashed var(--border-strong);background:0 0;border-radius:14px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-top:16px;padding:16px 22px;display:flex}.plan-free-strip .plan-free-copy{flex-direction:column;gap:3px;min-width:0;display:flex}.plan-free-strip .plan-free-title{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.plan-free-strip strong{font-family:var(--font-heading);font-size:1.1rem}.plan-free-strip p{color:var(--text-muted);margin:0;font-size:.9rem}.plan-free-strip .billing-card-cta{flex:none;width:auto}.billing-card-features{flex:1;gap:9px;margin:0;padding:0;list-style:none;display:grid}.billing-card-features li{color:var(--foreground);padding-left:22px;font-size:.9rem;line-height:1.4;position:relative}.billing-card-features li:before{content:"";border-left:2px solid var(--amber);border-bottom:2px solid var(--amber);width:9px;height:5px;position:absolute;top:6px;left:2px;transform:rotate(-45deg)}.billing-card-cta{border:1px solid var(--border-strong);background:var(--surface-soft);width:100%;color:var(--foreground);font:inherit;cursor:pointer;border-radius:9px;justify-content:center;align-items:center;padding:11px 16px;font-weight:650;transition:background .14s,opacity .14s;display:inline-flex}.billing-card-cta:hover:not(:disabled){background:var(--surface-muted)}.billing-card-cta.primary{background:var(--sage-deep);color:var(--background);border-color:var(--sage-deep)}.billing-card-cta.primary:hover:not(:disabled){opacity:.9;background:var(--sage-deep)}.billing-card-cta:disabled{opacity:.55;cursor:default}.billing-topups{border:1px solid var(--border);background:var(--surface-soft);border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;display:flex}.billing-topups strong{margin-top:2px;font-size:1.02rem;display:block}.billing-topup-buy{flex-wrap:wrap;align-items:stretch;gap:10px;display:flex}.billing-topup-pack{border:1px solid var(--border-strong);background:var(--surface);min-width:96px;color:var(--foreground);cursor:pointer;border-radius:10px;flex-direction:column;align-items:center;gap:2px;padding:12px 16px;transition:border-color .12s,background .12s;display:flex}.billing-topup-pack:hover{background:var(--surface-soft)}.billing-topup-pack:disabled{opacity:.55;cursor:default}.billing-topup-pack-price{font-size:1.1rem;font-weight:680}.billing-topup-pack-credits{color:var(--text-muted);font-size:.78rem}.billing-footnote{color:var(--text-muted);text-align:center;margin-top:4px;font-size:.85rem}@media (max-width:860px){.billing-plan-grid{grid-template-columns:minmax(0,1fr)}}.workspace-shell .share-panel{max-width:540px}.workspace-shell .share-invite-form{align-items:stretch;gap:10px;margin-bottom:18px;display:flex}.workspace-shell .share-invite-fields{flex:1;gap:8px;min-width:0;display:flex}.workspace-shell .share-invite-email{border:1px solid var(--pa-border-strong);border-radius:var(--pa-radius-sm);background:var(--pa-panel);min-width:0;height:40px;color:var(--pa-text);font:inherit;flex:1;padding:0 11px}.workspace-shell .share-role-select{background:0 0;border:0;padding:0}.workspace-shell .share-invite-form>.ui-button{height:40px}.workspace-shell .share-upgrade-note{border:1px solid var(--pa-border);border-radius:var(--pa-radius-md);background:var(--pa-panel-soft);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;padding:14px 16px;display:flex}.workspace-shell .share-upgrade-note p{color:var(--pa-text);margin:0}.workspace-shell .share-role-hint{color:var(--pa-muted);margin-bottom:16px}.workspace-shell .share-section{margin-top:16px}.workspace-shell .share-section .micro-label{margin-bottom:8px}.workspace-shell .share-member-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.workspace-shell .share-member{border:1px solid var(--pa-border);border-radius:var(--pa-radius-md);background:var(--pa-panel-soft);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.workspace-shell .share-member-id{gap:2px;min-width:0;display:grid}.workspace-shell .share-member-id strong{color:var(--pa-text)}.workspace-shell .share-member-id small{color:var(--pa-muted);font-size:.78rem}.workspace-shell .share-member-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.workspace-shell .share-role-badge{text-transform:uppercase;letter-spacing:.04em;color:var(--pa-muted);background:var(--pa-panel-muted);border-radius:999px;padding:4px 9px;font-size:.7rem;font-weight:700}.workspace-shell .share-footnote{color:var(--pa-muted);margin-top:16px;font-size:.82rem}.workspace-shell .invitations-banner{gap:10px;margin-bottom:18px;display:grid}.workspace-shell .invitation-row{border:1px solid var(--pa-accent);border-radius:var(--pa-radius-md);background:var(--pa-accent);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;padding:14px 18px;display:flex}@supports (color:color-mix(in lab, red, red)){.workspace-shell .invitation-row{background:color-mix(in srgb, var(--pa-accent) 8%, var(--pa-panel))}}.workspace-shell .invitation-row p{color:var(--pa-text);margin:0}.workspace-shell .invitation-actions{flex-wrap:wrap;gap:8px;display:flex}.workspace-shell .collaboration-carets__caret{box-sizing:border-box;word-break:normal;pointer-events:none;border-left:1px solid;border-right:1px solid;margin-left:-1px;margin-right:-1px;position:relative}.workspace-shell .collaboration-carets__label{font-family:var(--font-ui);white-space:nowrap;color:#fff;-webkit-user-select:none;user-select:none;pointer-events:none;z-index:20;border-radius:5px 5px 5px 0;padding:.12rem .4rem;font-size:.66rem;font-weight:650;line-height:1.1;position:absolute;top:-1.45em;left:-1px}.workspace-shell .collapsible-block>.collapsible-summary{cursor:pointer;font-family:var(--font-ui);font-size:var(--pa-font-label);text-transform:uppercase;letter-spacing:.05em;color:var(--pa-muted);justify-content:space-between;align-items:center;font-weight:700;list-style:none;display:flex}.workspace-shell .collapsible-block>.collapsible-summary::-webkit-details-marker{display:none}.workspace-shell .collapsible-block>.collapsible-summary:after{content:"−";color:var(--pa-muted);font-size:.95rem}.workspace-shell .collapsible-block:not([open])>.collapsible-summary:after{content:"+"}.workspace-shell .collapsible-block>:not(.collapsible-summary){margin-top:12px}.workspace-shell .presence-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.workspace-shell .presence-user{align-items:center;gap:8px;display:flex}.workspace-shell .presence-dot{border-radius:50%;flex:none;width:9px;height:9px}.workspace-shell .presence-name{color:var(--pa-text);text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:.85rem;overflow:hidden}.workspace-shell .presence-status{text-transform:uppercase;letter-spacing:.04em;color:#7bb38d;font-size:.64rem;font-weight:650}.workspace-shell .presence-empty{color:var(--pa-muted);margin:0;font-size:.85rem}.workspace-shell .presence-user.presence-away .presence-dot{opacity:.45}.workspace-shell .presence-user.presence-offline .presence-dot{opacity:.5}.workspace-shell .presence-user.presence-away .presence-status{color:var(--amber)}.workspace-shell .presence-user.presence-offline .presence-name{color:var(--pa-muted)}.workspace-shell .presence-user.presence-offline .presence-status{color:var(--pa-muted);text-transform:none;letter-spacing:0;font-weight:600}.app-loading{background:var(--background);min-height:100vh;color:var(--foreground);place-content:center;justify-items:center;gap:22px;display:grid}.app-loading-brand{align-items:center;gap:12px;animation:1.8s ease-in-out infinite app-loading-pulse;display:inline-flex}.app-loading-mark{border:1px solid var(--border-strong);background:var(--sage-deep);width:40px;height:40px;color:var(--background);font-family:var(--font-ui);border-radius:10px;justify-content:center;align-items:center;font-size:15px;font-weight:800;display:inline-flex}.app-loading-word{font-family:var(--font-heading);letter-spacing:-.01em;font-size:1.5rem;font-weight:600}.app-loading-bar{background:var(--surface-muted);border-radius:999px;width:180px;height:3px;overflow:hidden}.app-loading-bar span{border-radius:inherit;background:var(--amber);width:40%;height:100%;animation:1.15s ease-in-out infinite app-loading-slide;display:block}@keyframes app-loading-pulse{0%,to{opacity:1}50%{opacity:.5}}@keyframes app-loading-slide{0%{transform:translate(-130%)}to{transform:translate(330%)}}@media (prefers-reduced-motion:reduce){.app-loading-brand{animation:none}.app-loading-bar span{width:100%;animation:none}}.workspace-shell .continuity-finding-group{gap:8px;margin-bottom:16px;display:grid}.workspace-shell .continuity-finding-group>.project-card-topline{border-radius:var(--pa-radius-sm);border:1px solid var(--pa-border);background:var(--pa-panel-soft);padding:7px 12px}.brand-glyph,.preview-brand-glyph{flex:none;display:block}.brand-name,.billing-brand span{font-family:var(--font-heading);font-weight:600}.workspace-shell .collab-notice{border-radius:var(--pa-radius-md);border:1px solid var(--amber);align-items:center;gap:10px;margin-bottom:12px;padding:10px 16px;display:flex}@supports (color:color-mix(in lab, red, red)){.workspace-shell .collab-notice{border:1px solid color-mix(in srgb, var(--amber) 40%, var(--pa-border))}}.workspace-shell .collab-notice{background:var(--amber)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .collab-notice{background:color-mix(in srgb, var(--amber) 9%, var(--pa-panel))}}.workspace-shell .collab-notice{color:var(--pa-text);font-size:.86rem}.workspace-shell .collab-notice-dot{background:var(--amber);border-radius:50%;flex:none;width:8px;height:8px;animation:1.4s ease-in-out infinite collab-notice-pulse}@keyframes collab-notice-pulse{0%,to{opacity:1}50%{opacity:.35}}:root{--dur-1:.12s;--dur-2:.18s;--dur-3:.26s;--dur-4:.4s;--ease-settle:cubic-bezier(.22, 1, .36, 1);--ease-soft:cubic-bezier(.4, 0, .2, 1)}@keyframes motion-settle-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.motion-settle-in{animation:motion-settle-in var(--dur-3) var(--ease-settle) backwards}@keyframes motion-slide-in-right{0%{opacity:0;transform:translate(12px)}to{opacity:1;transform:none}}.motion-slide-in-right{animation:motion-slide-in-right var(--dur-3) var(--ease-settle) backwards}@keyframes motion-fade-in{0%{opacity:0}to{opacity:1}}.motion-fade-in{animation:motion-fade-in var(--dur-2) var(--ease-settle) backwards}.motion-lift{transition:transform var(--dur-2) var(--ease-settle), box-shadow var(--dur-2) var(--ease-settle), border-color var(--dur-2) var(--ease-settle)}.motion-lift:hover{transform:translateY(-2px)}.motion-press{transition:transform var(--dur-1) var(--ease-settle)}.motion-press:active{transform:scale(.97)}@media (prefers-reduced-motion:reduce){.motion-settle-in,.motion-slide-in-right,.motion-fade-in{animation:none}.motion-lift,.motion-press{transition:none}.motion-lift:hover,.motion-press:active,.workspace-shell .project-card:hover,.workspace-shell .topbar-button:active,.workspace-shell .panel-button:active,.workspace-shell .ui-button:active,.workspace-shell .auth-submit:active{transform:none}}*{scrollbar-width:thin;scrollbar-color:var(--text-muted,#8d8d8d) transparent}@supports (color:color-mix(in lab, red, red)){*{scrollbar-color:color-mix(in srgb, var(--text-muted,#8d8d8d) 38%, transparent) transparent}}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:var(--text-muted,#8d8d8d)}@supports (color:color-mix(in lab, red, red)){::-webkit-scrollbar-thumb{background:color-mix(in srgb, var(--text-muted,#8d8d8d) 34%, transparent)}}::-webkit-scrollbar-thumb{background-clip:padding-box;border:3px solid #0000;border-radius:999px}::-webkit-scrollbar-thumb:hover{background:var(--text-muted,#8d8d8d)}@supports (color:color-mix(in lab, red, red)){::-webkit-scrollbar-thumb:hover{background:color-mix(in srgb, var(--text-muted,#8d8d8d) 58%, transparent)}}::-webkit-scrollbar-thumb:hover{background-clip:padding-box}::-webkit-scrollbar-corner{background:0 0}.workspace-shell .workspace-grid{transition:grid-template-columns var(--dur-4) var(--ease-settle)}.workspace-shell .context-panel{box-sizing:border-box;width:var(--pa-context-width);justify-self:start}.workspace-shell .rail-toggle-button{justify-content:center;align-items:center;padding:8px 10px;display:inline-flex}.workspace-shell .rail-toggle-button svg{display:block}.workspace-shell .editor-pane>:is(.atlas-dashboard,.plan-dashboard,.review-dashboard,.progress-dashboard,.release-dashboard,.export-dashboard,.outline-view)>*{flex:none}@media (min-width:861px){.workspace-shell .ui-filter-bar{grid-template-columns:minmax(200px,1fr);grid-auto-columns:minmax(130px,180px);grid-auto-flow:column}}.workspace-shell .library-search:focus-within{border-color:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .library-search:focus-within{border-color:color-mix(in srgb, var(--pa-accent) 55%, var(--pa-border))}}.workspace-shell .library-search:focus-within{outline:none}.workspace-shell .library-search input:focus,.workspace-shell .library-search input:focus-visible{box-shadow:none;border:0;outline:none}.workspace-shell .inline-create-form input:focus,.workspace-shell .inline-create-form select:focus,.workspace-shell .inline-create-form textarea:focus,.workspace-shell .atlas-create-form input:focus,.workspace-shell .atlas-create-form select:focus,.workspace-shell .atlas-create-form textarea:focus{border-color:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .inline-create-form input:focus,.workspace-shell .inline-create-form select:focus,.workspace-shell .inline-create-form textarea:focus,.workspace-shell .atlas-create-form input:focus,.workspace-shell .atlas-create-form select:focus,.workspace-shell .atlas-create-form textarea:focus{border-color:color-mix(in srgb, var(--pa-accent) 55%, var(--pa-border))}}.workspace-shell .inline-create-form input:focus,.workspace-shell .inline-create-form select:focus,.workspace-shell .inline-create-form textarea:focus,.workspace-shell .atlas-create-form input:focus,.workspace-shell .atlas-create-form select:focus,.workspace-shell .atlas-create-form textarea:focus{outline:none}.workspace-shell .library-import-actions{flex-wrap:wrap;gap:10px;display:flex}.workspace-shell .begin-doors-panel{text-align:left;max-width:760px;margin:clamp(40px,9vh,88px) auto 0}.workspace-shell .begin-doors-sub{color:var(--pa-muted);margin:6px 0 26px}.workspace-shell .begin-doors{text-align:left;grid-template-columns:repeat(3,1fr);gap:14px;display:grid}.workspace-shell .begin-door{text-align:left;border:1px solid var(--pa-border);background:var(--pa-panel);cursor:pointer;border-radius:14px;flex-direction:column;align-items:flex-start;gap:10px;padding:22px 20px;display:flex}.workspace-shell .begin-door:hover{border-color:var(--pa-border-strong)}.workspace-shell .begin-door:disabled{cursor:default;opacity:.55}.workspace-shell .begin-door-icon{border-radius:11px;justify-content:center;align-items:center;width:42px;height:42px;display:flex}.workspace-shell .begin-door-icon svg{width:21px;height:21px}.workspace-shell .begin-door-title{font-family:var(--font-heading);color:var(--pa-text);font-size:16px}.workspace-shell .begin-door-desc{color:var(--pa-muted);font-size:13px;line-height:1.5}.workspace-shell .begin-door[data-door=plan] .begin-door-icon{color:#6fb8ad;background:#3f74702e}.workspace-shell .begin-door[data-door=ai] .begin-door-icon{background:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .begin-door[data-door=ai] .begin-door-icon{background:color-mix(in srgb, var(--pa-accent) 18%, transparent)}}.workspace-shell .begin-door[data-door=ai] .begin-door-icon{color:var(--pa-accent)}.workspace-shell .begin-door[data-door=write] .begin-door-icon{color:#86b07f;background:#7aa0742e}@media (max-width:720px){.workspace-shell .begin-doors{grid-template-columns:1fr}}.workspace-shell .editor-format-toolbar>*{flex:none}@keyframes motion-slide-up{0%{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}.workspace-shell .mobile-write-header,.workspace-shell .editor-format-toolbar .toolbar-compose-group,.workspace-shell .editor-format-toolbar .toolbar-format-group{display:none}@media (max-width:860px){.workspace-shell{grid-template-rows:auto minmax(0,1fr)}.workspace-shell .topbar{display:none}.workspace-shell .mobile-write-header{border-bottom:1px solid var(--pa-border);background:var(--pa-panel);align-items:center;gap:4px;padding:6px 8px;display:flex}.workspace-shell .mwh-icon,.workspace-shell .mwh-icon-spacer{width:40px;height:40px;color:var(--pa-text);cursor:pointer;background:0 0;border:none;border-radius:10px;flex:none;justify-content:center;align-items:center;display:inline-flex}.workspace-shell .mwh-icon svg{width:21px;height:21px}.workspace-shell .mwh-title{cursor:pointer;min-width:0;color:var(--pa-text);background:0 0;border:none;flex:1;justify-content:center;align-items:center;gap:6px;padding:6px 8px;font-size:14.5px;font-weight:640;display:inline-flex}.workspace-shell .mwh-title-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.workspace-shell .mwh-title svg{width:15px;height:15px;color:var(--pa-muted);flex:none}.workspace-shell .editor-footer{flex-flow:row;align-items:center;gap:10px;min-height:0;padding:7px 14px;font-size:12px}.workspace-shell .editor-footer>span{white-space:nowrap}.workspace-shell .editor-footer .writer-target-meter{flex:30px;min-width:24px;max-width:none}.workspace-shell .editor-footer .writer-target-group>span{display:none}.workspace-shell .editor-footer .writer-target-group{flex:40px;min-width:30px}.workspace-shell .editor-footer .writer-target-group .writer-target-meter{width:100%}.workspace-shell .editor-footer .writer-today-words{display:none}.workspace-shell .editor-footer .save-dot-wrap{gap:7px;margin-left:2px}.workspace-shell .editor-format-toolbar .format-tool{min-width:42px;height:38px;padding:0}.workspace-shell .plan-arc-header h2{margin-top:6px}.workspace-shell .plan-arc-actions{justify-content:flex-start}.workspace-shell .plan-arc-actions .target-meter{flex:1 0 calc(100% - 150px)}.workspace-shell .editor-format-toolbar{scrollbar-width:none;z-index:45;border:none;border-top:1px solid var(--pa-border);background:var(--pa-panel);padding-bottom:max(6px, env(safe-area-inset-bottom));border-radius:0;flex-wrap:nowrap;margin:0;display:flex;position:fixed;bottom:0;left:0;right:0;overflow:auto hidden}.workspace-shell .editor-format-toolbar::-webkit-scrollbar{display:none}.workspace-shell .workspace-grid.write-grid .editor-pane:not(.library-pane){padding-bottom:54px}.workspace-shell.kb-open .editor-footer,.workspace-shell .writer-command-bar{display:none}.workspace-shell .editor-format-toolbar .toolbar-compose-group{display:flex}.workspace-shell .toolbar-compose-group svg{color:var(--pa-accent)}.workspace-shell .editor-format-toolbar .toolbar-format-group{display:flex}.workspace-shell .editor-format-toolbar .toolbar-format-group .format-tool.active{color:var(--pa-accent)}.workspace-shell .editor-format-panel{border:0;border-top:1px solid var(--pa-border);z-index:62;overscroll-behavior:contain;width:100%;max-width:none;max-height:min(78vh,620px);padding-bottom:env(safe-area-inset-bottom);border-radius:16px 16px 0 0;inset:auto 0 0}.workspace-shell .link-popover{top:auto;left:10px;right:10px;bottom:calc(58px + env(safe-area-inset-bottom));z-index:62;position:fixed}.workspace-shell .link-popover-input{flex:auto;width:auto;min-width:0}.workspace-shell .link-popover .link-popover-btn{flex:none;width:auto;padding:0 12px;overflow:visible}.workspace-shell .context-panel.mobile-context-sheet-open{z-index:61;border:1px solid var(--pa-border);background:var(--pa-panel);width:100vw;max-width:none;max-height:88vh;animation:motion-slide-up var(--dur-4) var(--ease-settle) backwards;border-bottom:none;border-radius:18px 18px 0 0;flex-direction:column;align-items:stretch;padding-top:46px;position:fixed;bottom:0;left:0;right:0;overflow-y:auto;display:flex!important}.workspace-shell .context-panel.mobile-context-sheet-open .mobile-context-close{display:inline-flex}.mobile-context-backdrop{z-index:60;background:#080a0880;position:fixed;inset:0}}.workspace-shell .mobile-context-close{z-index:2;background:var(--pa-panel-muted);width:34px;height:34px;color:var(--pa-text);cursor:pointer;border:none;border-radius:9px;justify-content:center;align-items:center;display:none;position:absolute;top:9px;right:12px}.mobile-sheet-backdrop{z-index:62;background:#080a0880;align-items:flex-end;display:flex;position:fixed;inset:0}.workspace-shell .mobile-sheet{background:var(--pa-panel);border:1px solid var(--pa-border);width:100%;max-height:80vh;padding:6px 0 max(16px, env(safe-area-inset-bottom));animation:motion-slide-up var(--dur-4) var(--ease-settle) backwards;border-bottom:none;border-radius:18px 18px 0 0;overflow-y:auto}.workspace-shell .mobile-sheet-grip{background:var(--pa-border-strong);border-radius:2px;width:36px;height:4px;margin:6px auto 8px}.workspace-shell .mobile-sheet-list{flex-direction:column;padding:4px 8px;display:flex}.workspace-shell .mobile-sheet-item{cursor:pointer;color:var(--pa-text);text-align:left;background:0 0;border:none;border-radius:11px;align-items:center;gap:13px;padding:13px 14px;font-size:15px;font-weight:560;display:flex}.workspace-shell .mobile-sheet-item svg{width:19px;height:19px;color:var(--pa-muted);flex:none}.workspace-shell .mobile-sheet-item.active{background:var(--pa-panel-muted)}.workspace-shell .mobile-sheet-item.active svg{color:var(--pa-text)}.workspace-shell .mobile-sheet-num{text-align:center;width:22px;color:var(--pa-muted);font-variant-numeric:tabular-nums}.workspace-shell .mobile-sheet-divider{background:var(--pa-border);height:1px;margin:6px 16px}.workspace-shell .mobile-sheet-empty{color:var(--pa-muted);text-align:center;padding:18px}.workspace-shell .mobile-sheet-create{color:var(--pa-accent);font-weight:640}.workspace-shell .mobile-sheet-create svg{color:var(--pa-accent)}.workspace-shell .mobile-sheet-create:disabled{opacity:.5;cursor:default}.workspace-shell .mobile-comment-composer{z-index:70;padding:12px 14px max(12px, env(safe-area-inset-bottom));background:var(--pa-panel);border-top:1px solid var(--pa-border);flex-direction:column;gap:9px;animation:.16s ease-out atlas-overlay-in;display:flex;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -14px 34px -14px #00000073}.workspace-shell .mobile-comment-quote{color:var(--comment-color,var(--pa-muted));text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:12.5px;font-style:italic;overflow:hidden}.workspace-shell .mobile-comment-input{box-sizing:border-box;resize:none;border:1px solid var(--pa-border);background:var(--pa-panel-soft);width:100%;color:var(--pa-text);border-radius:10px;padding:10px 12px;font-family:inherit;font-size:15px;line-height:1.4}.workspace-shell .mobile-comment-actions{justify-content:flex-end;gap:8px;display:flex}@media (max-width:860px){.workspace-shell .mobile-write-header{max-height:80px;transition:max-height var(--dur-3) var(--ease-settle), opacity var(--dur-2) linear, padding var(--dur-3) var(--ease-settle);overflow:hidden}.workspace-shell:has(.ProseMirror:focus-within) .mobile-write-header{opacity:0;pointer-events:none;border-bottom-color:#0000;max-height:0;padding-top:0;padding-bottom:0}}.ask-story-trigger svg{color:var(--pa-accent)}.story-chat-backdrop{inset:var(--pa-shell-row,56px) 0 0 0;z-index:120;animation:story-chat-fade var(--dur-2,.22s) var(--ease-soft,ease);background:#00000047;position:fixed}@keyframes story-chat-fade{0%{opacity:0}to{opacity:1}}.story-chat-panel{top:var(--pa-shell-row,56px);z-index:121;width:min(var(--chat-width,430px), 94vw);height:calc(100vh - var(--pa-shell-row,56px));height:calc(100dvh - var(--pa-shell-row,56px));background:var(--pa-panel);border-left:1px solid var(--pa-border);flex-direction:column;display:flex;position:fixed;right:0;box-shadow:-10px 0 26px -8px #00000059}.story-chat-resize{z-index:3;cursor:ew-resize;touch-action:none;-webkit-user-select:none;user-select:none;width:8px;position:absolute;top:0;bottom:0;left:0}.story-chat-resize:hover{background:linear-gradient(to right, var(--pa-border-strong), transparent)}.story-chat-resize:focus-visible{background:linear-gradient(to right, var(--pa-accent), transparent)}@supports (color:color-mix(in lab, red, red)){.story-chat-resize:focus-visible{background:linear-gradient(to right, color-mix(in srgb, var(--pa-accent) 45%, transparent), transparent)}}@media (max-width:860px){.story-chat-resize{display:none}}.story-chat-head{border-bottom:1px solid var(--pa-border);justify-content:space-between;align-items:flex-start;gap:12px;padding:16px 16px 13px;display:flex}.story-chat-head-title strong{color:var(--pa-text);font-family:var(--font-heading);margin-top:2px;font-size:1.05rem;font-weight:600;line-height:1.2;display:block}.story-chat-head-actions{flex:none;align-items:center;gap:6px;display:flex}.story-chat-clear{color:var(--pa-muted);cursor:pointer;border-radius:var(--pa-radius-sm);background:0 0;border:0;padding:4px 6px;font-size:.78rem;font-weight:600}.story-chat-clear:hover{color:var(--pa-text);background:var(--pa-panel-muted)}@property --chat-scroll-fade{syntax:"<length>";inherits:false;initial-value:0}.story-chat-body{--chat-scroll-fade:0px;min-height:0;-webkit-mask-image:linear-gradient(to bottom, transparent 0, #000 var(--chat-scroll-fade));-webkit-mask-image:linear-gradient(to bottom, transparent 0, #000 var(--chat-scroll-fade));-webkit-mask-image:linear-gradient(to bottom, transparent 0, #000 var(--chat-scroll-fade));-webkit-mask-image:linear-gradient(to bottom, transparent 0, #000 var(--chat-scroll-fade));mask-image:linear-gradient(to bottom, transparent 0, #000 var(--chat-scroll-fade));flex-direction:column;flex:auto;gap:14px;padding:16px;transition:--chat-scroll-fade .2s;display:flex;overflow-y:auto}.story-chat-body.is-scrolled{--chat-scroll-fade:32px}@media (prefers-reduced-motion:reduce){.story-chat-body{transition:none}}.story-chat-msg{white-space:pre-wrap;word-break:break-word;max-width:92%;font-size:.9rem;line-height:1.58}.story-chat-msg-user{background:var(--pa-accent);border-radius:13px 13px 3px;align-self:flex-end;padding:9px 12px}@supports (color:color-mix(in lab, red, red)){.story-chat-msg-user{background:color-mix(in srgb, var(--pa-accent) 16%, var(--pa-panel-soft))}}.story-chat-msg-user{color:var(--pa-text)}.story-chat-msg-ai{width:100%;max-width:100%;color:var(--pa-text);white-space:normal;align-self:stretch}.story-chat-msg-ai .story-chat-para{margin:0 0 9px}.story-chat-msg-ai .story-chat-para:last-child{margin-bottom:0}.story-chat-list{margin:0 0 9px;padding-left:20px}.story-chat-list:last-child{margin-bottom:0}.story-chat-list li{margin-bottom:4px;line-height:1.5}.story-chat-list li:last-child{margin-bottom:0}.story-chat-msg-ai em{color:var(--pa-muted);font-style:italic}.story-chat-msg-ai .story-chat-quote{border-left:2px solid var(--pa-accent);margin:0 0 9px;padding:3px 0 3px 13px}@supports (color:color-mix(in lab, red, red)){.story-chat-msg-ai .story-chat-quote{border-left:2px solid color-mix(in srgb, var(--pa-accent) 45%, var(--pa-border))}}.story-chat-msg-ai .story-chat-quote{color:var(--pa-text)}@supports (color:color-mix(in lab, red, red)){.story-chat-msg-ai .story-chat-quote{color:color-mix(in srgb, var(--pa-text) 82%, var(--pa-muted))}}.story-chat-msg-ai .story-chat-quote{font-family:var(--font-reading);font-size:.98rem;line-height:1.5}.workspace-shell .story-chat-chip{vertical-align:baseline;background:var(--pa-accent);border:0;border-radius:6px;padding:0 6px;display:inline-block}@supports (color:color-mix(in lab, red, red)){.workspace-shell .story-chat-chip{background:color-mix(in srgb, var(--pa-accent) 14%, transparent)}}.workspace-shell .story-chat-chip{color:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .story-chat-chip{color:color-mix(in srgb, var(--pa-accent) 82%, var(--pa-text))}}.workspace-shell .story-chat-chip{cursor:pointer;white-space:nowrap;transition:background var(--pa-transition);font-size:.84em;font-weight:650;line-height:1.5}.workspace-shell .story-chat-chip:hover:not(:disabled){background:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .story-chat-chip:hover:not(:disabled){background:color-mix(in srgb, var(--pa-accent) 24%, transparent)}}.workspace-shell .story-chat-chip-passage{background:var(--pa-accent);padding-left:5px}@supports (color:color-mix(in lab, red, red)){.workspace-shell .story-chat-chip-passage{background:color-mix(in srgb, var(--pa-accent) 20%, transparent)}}.workspace-shell .story-chat-chip-passage{border-radius:6px}.workspace-shell .story-chat-chip-passage:hover:not(:disabled){background:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .story-chat-chip-passage:hover:not(:disabled){background:color-mix(in srgb, var(--pa-accent) 30%, transparent)}}.workspace-shell .story-chat-chip-passage:before{content:"“";color:var(--pa-accent);opacity:.95;margin-right:2px;font-weight:800}.workspace-shell .story-chat-chip:disabled{cursor:default;opacity:.6}.workspace-shell .story-chat-callout{border:1px solid var(--callout-hue);margin:0 0 10px;padding:9px 12px}@supports (color:color-mix(in lab, red, red)){.workspace-shell .story-chat-callout{border:1px solid color-mix(in srgb, var(--callout-hue) 34%, var(--pa-border))}}.workspace-shell .story-chat-callout{background:var(--callout-hue);border-radius:8px}@supports (color:color-mix(in lab, red, red)){.workspace-shell .story-chat-callout{background:color-mix(in srgb, var(--callout-hue) 6%, var(--pa-panel-soft))}}.workspace-shell .story-chat-callout-label{letter-spacing:.07em;text-transform:uppercase;color:var(--callout-hue);margin-bottom:3px;font-size:10px;font-weight:700}.workspace-shell .story-chat-callout-body{color:var(--pa-text);font-size:.88rem;line-height:1.55}.workspace-shell .story-chat-callout-flag{--callout-hue:#a35c44}.workspace-shell .story-chat-callout-idea{--callout-hue:var(--pa-accent)}.workspace-shell .story-chat-callout-note{--callout-hue:var(--pa-soft)}.workspace-shell .story-chat-answer-foot{flex-wrap:wrap;align-items:center;gap:7px 10px;margin-top:7px;display:flex}.workspace-shell .story-chat-truncated-note{color:var(--pa-soft);margin:6px 0 0;font-size:12px;font-style:italic}@media (hover:hover){.workspace-shell .story-chat-answer-foot{opacity:0;transition:opacity .13s}.workspace-shell .story-chat-msg-ai:hover .story-chat-answer-foot,.workspace-shell .story-chat-answer-foot:focus-within{opacity:1}}.workspace-shell .story-chat-foot-sources{flex-wrap:wrap;align-items:center;gap:6px;display:inline-flex}.workspace-shell .story-chat-foot-label{letter-spacing:.07em;text-transform:uppercase;color:var(--pa-soft);font-size:10px;font-weight:700}.workspace-shell .story-chat-foot-time{color:var(--pa-soft);white-space:nowrap;margin-left:auto;font-size:11px}.workspace-shell .story-chat-trail-chip{font-size:.76em;font-weight:620}.story-chat-typing{color:var(--pa-soft);animation:1.4s ease-in-out infinite chat-thinking-pulse}@keyframes chat-thinking-pulse{0%,to{opacity:.4}50%{opacity:1}}@media (prefers-reduced-motion:reduce){.story-chat-typing{animation:none}}.story-chat-error{align-items:center;gap:10px;margin:0;display:flex}.workspace-shell .story-chat-retry{border:1px solid var(--pa-accent);flex:none;padding:3px 10px}@supports (color:color-mix(in lab, red, red)){.workspace-shell .story-chat-retry{border:1px solid color-mix(in srgb, var(--pa-accent) 40%, var(--pa-border))}}.workspace-shell .story-chat-retry{color:var(--pa-accent);background:0 0;border-radius:6px}@supports (color:color-mix(in lab, red, red)){.workspace-shell .story-chat-retry{color:color-mix(in srgb, var(--pa-accent) 85%, var(--pa-text))}}.workspace-shell .story-chat-retry{font:inherit;cursor:pointer;font-size:12px;font-weight:640}.workspace-shell .story-chat-retry:hover{background:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .story-chat-retry:hover{background:color-mix(in srgb, var(--pa-accent) 12%, transparent)}}.workspace-shell .story-chat-code{background:var(--pa-panel-soft);border:1px solid var(--pa-border);border-radius:5px;padding:1px 5px;font-family:ui-monospace,SFMono-Regular,Cascadia Code,monospace;font-size:.86em}.workspace-shell .story-chat-action{color:var(--pa-soft);font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;padding:3px 9px;font-size:11.5px;font-weight:620;transition:background .12s,color .12s,border-color .12s}.workspace-shell .story-chat-action:hover{background:var(--pa-panel-soft);border-color:var(--pa-border);color:var(--pa-text)}.story-chat-msg-ai .story-chat-heading{color:var(--pa-text);font-family:var(--font-heading);margin:4px 0 6px;font-size:1.02rem;font-weight:700;line-height:1.3}.story-chat-msg-ai .story-chat-heading:first-child,.story-chat-msg-ai .story-chat-subheading:first-child{margin-top:0}.story-chat-msg-ai .story-chat-subheading{color:var(--pa-text);margin:4px 0;font-size:.9rem;font-weight:700;line-height:1.3}.story-chat-empty{color:var(--pa-muted);flex-direction:column;gap:14px;font-size:.9rem;line-height:1.55;display:flex}.story-chat-empty strong{color:var(--pa-text)}.story-chat-examples{flex-direction:column;gap:8px;display:flex}.story-chat-example{text-align:left;border:1px solid var(--pa-border);border-radius:var(--pa-radius-md);background:var(--pa-panel-soft);color:var(--pa-text);cursor:pointer;transition:border-color var(--pa-transition), background var(--pa-transition);padding:10px 12px;font-size:.86rem;line-height:1.4}.story-chat-example:hover{border-color:var(--pa-border-strong);background:var(--pa-control-hover)}.story-chat-input{border:1px solid var(--pa-border);border-radius:var(--pa-radius-md);background:var(--pa-panel-soft);align-items:flex-end;gap:8px;margin:4px 16px 14px;padding:6px 6px 6px 13px;transition:border-color .12s,box-shadow .12s;display:flex}.story-chat-input:focus-within{border-color:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.story-chat-input:focus-within{border-color:color-mix(in srgb, var(--pa-accent) 55%, var(--pa-border))}}.story-chat-input textarea{resize:none;min-width:0;min-height:22px;max-height:180px;color:var(--pa-text);font-family:var(--font-ui);background:0 0;border:0;outline:none;flex:auto;padding:6px 0;font-size:.9rem;line-height:1.45}.story-chat-input textarea::placeholder{color:var(--pa-soft)}.story-chat-input textarea:disabled{color:var(--pa-muted)}.workspace-shell .story-chat-input textarea:focus,.workspace-shell .story-chat-input textarea:focus-visible{box-shadow:none;border-color:#0000;outline:none}.workspace-shell .story-chat-send{border-radius:var(--pa-radius-sm);background:var(--pa-accent);color:#fff;cursor:pointer;border:0;flex:none;justify-content:center;align-items:center;width:32px;height:32px;padding:0;transition:background .12s,opacity .12s;display:inline-flex}.workspace-shell .story-chat-send:not(:disabled):hover{background:var(--pa-accent)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .story-chat-send:not(:disabled):hover{background:color-mix(in srgb, var(--pa-accent) 88%, #000)}}.workspace-shell .story-chat-send:disabled{background:var(--pa-border)}@supports (color:color-mix(in lab, red, red)){.workspace-shell .story-chat-send:disabled{background:color-mix(in srgb, var(--pa-border) 55%, var(--pa-panel-soft))}}.workspace-shell .story-chat-send:disabled{color:var(--pa-soft);cursor:default}.workspace-shell .story-chat-send.is-stop{background:var(--pa-panel-muted,var(--pa-panel));color:var(--pa-text);box-shadow:inset 0 0 0 1px var(--pa-border)}.story-chat-foot{color:var(--pa-soft);justify-content:space-between;align-items:baseline;gap:12px;margin:0;padding:0 16px 12px;font-size:.72rem;display:flex}.story-chat-grounding{text-overflow:ellipsis;white-space:nowrap;letter-spacing:.01em;min-width:0;overflow:hidden}.story-chat-foot-note{color:var(--pa-muted);flex:none}.story-chat-warming{color:var(--pa-accent);align-items:center;gap:7px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.story-chat-warming{color:color-mix(in srgb, var(--pa-accent) 78%, var(--pa-text))}}.story-chat-warming-dot{background:var(--pa-accent);border-radius:50%;width:6px;height:6px;animation:1.1s ease-in-out infinite story-warm-pulse}@keyframes story-warm-pulse{0%,to{opacity:.3;transform:scale(.8)}50%{opacity:1;transform:scale(1)}}.story-chat-warm-retry{font:inherit;letter-spacing:inherit;color:var(--pa-warm,#c08a2e);background:0 0;border:0;padding:0}@supports (color:color-mix(in lab, red, red)){.story-chat-warm-retry{color:color-mix(in srgb, var(--pa-warm,#c08a2e) 70%, var(--pa-text))}}.story-chat-warm-retry{text-underline-offset:2px;cursor:pointer;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.story-chat-locked{color:var(--pa-muted);flex-direction:column;align-items:flex-start;gap:12px;padding:28px 22px;font-size:.92rem;line-height:1.6;display:flex}.story-chat-locked-glyph{background:var(--pa-accent);border-radius:12px;justify-content:center;align-items:center;width:44px;height:44px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.story-chat-locked-glyph{background:color-mix(in srgb, var(--pa-accent) 15%, transparent)}}.story-chat-locked-glyph{color:var(--pa-accent)}.story-chat-locked strong{color:var(--pa-text);font-family:var(--font-heading);font-size:1.1rem;font-weight:600}.story-chat-locked .panel-button{margin-top:4px}@media (max-width:520px){.story-chat-panel{width:100vw;height:100dvh;top:0}.story-chat-backdrop{inset:0}.ask-story-trigger span{display:none}}:root{--focus-ring:#3a5a72}html[data-theme=dark]{--focus-ring:#6f9bc0}:is(a,button,input,select,textarea,summary,[role=button],[tabindex]):focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.ProseMirror:focus-visible,.chapter-editor-content:focus-visible{outline:0}.pull-atlas-mark{flex-shrink:0;display:inline-flex}.pull-atlas-mark img{object-fit:contain;width:100%;height:100%;display:block}.pull-atlas-mark .brand-mark-dark,html[data-theme=dark] .pull-atlas-mark .brand-mark-light,[data-theme=dark] .pull-atlas-mark .brand-mark-light{display:none}html[data-theme=dark] .pull-atlas-mark .brand-mark-dark,[data-theme=dark] .pull-atlas-mark .brand-mark-dark{display:block}.google-auth-button{border:1px solid var(--border);background:var(--surface);width:100%;min-height:44px;color:var(--foreground);font:inherit;cursor:pointer;border-radius:7px;justify-content:center;align-items:center;gap:10px;font-size:14px;font-weight:640;display:flex}.google-auth-button:hover{border-color:var(--text-muted)}.auth-divider{color:var(--text-soft);align-items:center;gap:12px;font-size:12px;display:flex}.auth-divider:before,.auth-divider:after{content:"";background:var(--border);flex:1;height:1px}.settings-dialog-backdrop{z-index:60;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#14141273;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.settings-dialog{border:1px solid var(--border);background:var(--surface);border-radius:12px;flex-direction:column;width:min(760px,100%);height:min(620px,100vh - 48px);display:flex;overflow:hidden;box-shadow:0 14px 40px -12px #14141259}.settings-dialog-head{border-bottom:1px solid var(--border);flex-shrink:0;justify-content:space-between;align-items:center;padding:13px 18px;display:flex}.settings-dialog-head h2{margin:0;font-size:15px;font-weight:720}.settings-dialog-body{flex:1;min-height:0;display:flex}.settings-tabs{border-right:1px solid var(--border);background:var(--surface-soft);flex-direction:column;flex-shrink:0;gap:2px;width:176px;padding:12px 10px;display:flex;overflow-y:auto}.settings-tab{color:var(--text-muted);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;align-items:center;gap:9px;padding:8px 10px;font-size:13px;font-weight:640;display:flex}.settings-tab:not(.active):hover{color:var(--foreground);background:var(--surface-soft)}.settings-tab.active{color:var(--foreground);background:var(--surface-muted);font-weight:640}.settings-content{flex:1;align-content:start;gap:18px;min-width:0;padding:18px 20px;display:grid;overflow-y:auto}.settings-help-note{color:var(--text-muted);margin:0;font-size:13px;line-height:1.55}.settings-help-links{gap:8px;margin:0;padding:0;list-style:none;display:grid}.settings-help-links a{color:var(--foreground);text-underline-offset:3px;font-size:13px;text-decoration:underline}.roadmap-shell{gap:28px;width:min(1040px,100%);margin:0 auto;display:grid}.roadmap-list{color:var(--text-muted);gap:9px;max-width:860px;margin:0;padding:0;font-size:16px;line-height:1.6;list-style:none;display:grid}@media (max-width:760px){.settings-dialog-backdrop{padding:0}.settings-dialog{border:0;border-radius:0;width:100%;height:100dvh}.settings-dialog-body{flex-direction:column}.settings-tabs{border-right:0;border-bottom:1px solid var(--border);scrollbar-width:none;flex-direction:row;width:100%;padding:8px 10px;overflow:auto hidden}.settings-tab{flex:none}}.writer-target-group{align-items:center;gap:8px;min-width:0;display:inline-flex}.writer-target-group .writer-target-meter{flex:none;width:140px}.writer-today-words{color:var(--pa-soft);flex:none}.writer-today-words.met{color:var(--pa-accent);font-weight:600}.writer-target-group>span{white-space:nowrap}.workspace-shell .writer-footer .save-dot-wrap{gap:7px}.save-state-text{white-space:nowrap}.workspace-shell .writer-command-actions{margin-left:auto}@media (max-width:860px){.workspace-shell .writer-footer .writer-reading-time{display:none}}.public-pricing-shell{grid-template-rows:none;align-content:start;gap:28px;width:min(100%,960px);margin:0 auto;padding:56px 24px;display:grid}.public-pricing-heading{gap:10px;max-width:640px;display:grid}.public-pricing-heading h1{margin:0;font-size:34px;line-height:1.12}.public-pricing-heading p:not(.micro-label){color:var(--text-muted);margin:0;line-height:1.6}a.billing-card-cta{text-decoration:none}@media (max-width:860px){.public-pricing-shell{padding:32px 16px}}.reader-root{z-index:120;--reader-bg:var(--pa-rail);--reader-fg:var(--pa-text);--reader-fg-soft:var(--pa-soft);--reader-rule:var(--pa-border);--reader-accent:var(--amber);background:var(--reader-bg);color:var(--reader-fg);font-family:var(--font-reading);flex-direction:column;animation:.24s both reader-fade-in;display:flex;position:fixed;inset:0}@keyframes reader-fade-in{0%{opacity:0}to{opacity:1}}.reader-progress{z-index:2;background:0 0;height:2px;position:absolute;top:0;left:0;right:0}:root[data-desktop-chrome=win] .reader-progress{right:var(--pa-titlebar-inset-right)}.reader-progress>span{background:var(--reader-accent);height:100%;transition:width .12s linear;display:block}.reader-root .reader-controls,.devread-root .devread-controls{transition:opacity .24s var(--ease-soft,ease)}@media (prefers-reduced-motion:reduce){.reader-root .reader-controls,.devread-root .devread-controls{transition:none}}.reader-root.chrome-hidden .reader-controls,.devread-root.chrome-hidden .devread-controls{opacity:0;pointer-events:none}.reader-root.chrome-hidden .reader-controls:focus-within,.devread-root.chrome-hidden .devread-controls:focus-within{opacity:1;pointer-events:auto}:is(.workspace-shell:has(.reader-root,.devread-root) .editor-format-toolbar,.workspace-shell:has(.reader-root,.devread-root) .mobile-write-header,.workspace-shell:has(.reader-root,.devread-root) .editor-footer){display:none}.reader-controls{z-index:3;background:var(--reader-bg);border-radius:12px;flex-direction:column;gap:4px;padding:5px;display:flex;position:absolute;bottom:16px;left:16px}@supports (color:color-mix(in lab, red, red)){.reader-controls{background:color-mix(in srgb, var(--reader-bg) 82%, transparent)}}.reader-controls{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid var(--reader-rule);box-shadow:0 6px 18px #0000001a}.reader-tool{width:34px;height:34px;color:var(--reader-fg-soft);font-family:var(--font-ui);cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;padding:0;font-size:14px;font-weight:600;transition:background .12s,color .12s;display:inline-flex}.reader-tool:hover:not(:disabled){background:var(--reader-fg)}@supports (color:color-mix(in lab, red, red)){.reader-tool:hover:not(:disabled){background:color-mix(in srgb, var(--reader-fg) 10%, transparent)}}.reader-tool:hover:not(:disabled){color:var(--reader-fg)}.reader-tool:disabled{opacity:.35;cursor:default}.reader-tool-lg{font-size:17px}.reader-controls .surface-close{margin-top:2px}.reader-scroll{overscroll-behavior:contain;scroll-behavior:smooth;flex:1;overflow-y:auto}.reader-measure{max-width:var(--reader-measure-width,44rem);font-size:var(--reader-font,118%);margin:0 auto;padding:2rem 1.5rem 6rem}.reader-cover{text-align:center;border-bottom:1px solid var(--reader-rule);flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:46vh;margin-bottom:3rem;display:flex}.reader-cover-eyebrow{font-family:var(--font-ui);letter-spacing:.22em;text-transform:uppercase;color:var(--reader-fg-soft);margin:0;font-size:11px}.reader-cover-title{margin:0;font-size:2.4em;font-weight:600;line-height:1.15}.reader-chapter{margin-top:3.5rem}.reader-chapter:first-of-type{margin-top:0}.reader-chapter-head{text-align:center;margin-bottom:2rem}.reader-chapter-num{font-family:var(--font-ui);letter-spacing:.18em;text-transform:uppercase;color:var(--reader-fg-soft);margin-bottom:6px;font-size:11px;display:block}.reader-chapter-title{margin:0;font-size:1.5em;font-weight:600;line-height:1.25}.reader-prose{line-height:1.75}.reader-prose p{margin:0 0 1.15em}.reader-prose em,.reader-prose i{font-style:italic}.reader-prose strong,.reader-prose b{font-weight:600}.reader-prose a{color:inherit;text-decoration:underline;-webkit-text-decoration-color:var(--reader-fg);-webkit-text-decoration-color:var(--reader-fg);-webkit-text-decoration-color:var(--reader-fg);text-decoration-color:var(--reader-fg)}@supports (color:color-mix(in lab, red, red)){.reader-prose a{-webkit-text-decoration-color:color-mix(in srgb, var(--reader-fg) 35%, transparent);-webkit-text-decoration-color:color-mix(in srgb, var(--reader-fg) 35%, transparent);-webkit-text-decoration-color:color-mix(in srgb, var(--reader-fg) 35%, transparent);text-decoration-color:color-mix(in srgb, var(--reader-fg) 35%, transparent)}}.reader-prose [data-comment-id],.reader-prose .comment-anchor{box-shadow:none;background:0 0}.reader-prose [data-scene-id]+[data-scene-id]:before{content:"❖";text-align:center;color:var(--reader-fg-soft);margin:1.8em 0;font-size:.85em;display:block}.reader-prose [data-scene-id]>:first-child{margin-top:0}.reader-empty{color:var(--reader-fg-soft);font-style:italic}.reader-empty-all{text-align:center;margin-top:4rem}.reader-end{text-align:center;color:var(--reader-fg-soft);margin-top:4rem;font-size:1.1em}.workspace-shell .devread-root{z-index:120;background:var(--pa-rail);color:var(--pa-text);flex-direction:column;animation:.22s both reader-fade-in;display:flex;position:fixed;inset:0}.workspace-shell .devread-controls{z-index:3;flex-direction:column;gap:6px;display:flex;position:absolute;bottom:16px;left:16px}.workspace-shell .devread-eyebrow{font-family:var(--font-ui);letter-spacing:.16em;text-transform:uppercase;color:var(--pa-soft);margin:0;font-size:10.5px}.workspace-shell .devread-report-head{margin:0 0 1.8rem}.workspace-shell .devread-report-title{font-family:var(--font-heading);color:var(--pa-text);margin:5px 0 0;font-size:1.95rem;line-height:1.08}.workspace-shell .devread-tool{border:1px solid var(--border);background:var(--surface);width:34px;height:34px;color:var(--text-muted);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;padding:0;transition:background .12s,color .12s;display:inline-flex}.workspace-shell .devread-tool:hover{background:var(--surface-soft);color:var(--foreground)}.workspace-shell .devread-scroll{overscroll-behavior:contain;flex:1;overflow-y:auto}.workspace-shell .devread-measure{max-width:44rem;margin:0 auto;padding:2.4rem 1.5rem 6rem}.workspace-shell .devread-overall{font-family:var(--font-reading);color:var(--pa-text);margin:0 0 2.2rem;font-size:1.15rem;line-height:1.62}.workspace-shell .devread-section{margin:0 0 1.9rem}.workspace-shell .devread-section-title{font-family:var(--font-ui);letter-spacing:.08em;text-transform:uppercase;color:var(--pa-accent);margin:0 0 .75rem;font-size:11.5px;font-weight:700}.workspace-shell .devread-notes{gap:.85rem;margin:0;padding:0;list-style:none;display:grid}.workspace-shell .devread-notes li{font-family:var(--font-reading);color:var(--pa-text);padding-left:18px;font-size:1.02rem;line-height:1.6;position:relative}.workspace-shell .devread-notes li:before{content:"";background:var(--pa-accent);border-radius:50%;width:6px;height:6px;position:absolute;top:.62em;left:2px}@supports (color:color-mix(in lab, red, red)){.workspace-shell .devread-notes li:before{background:color-mix(in srgb, var(--pa-accent) 55%, transparent)}}.workspace-shell .devread-foot{color:var(--pa-soft);margin:1.8rem 0 0;font-size:12.5px;font-style:italic;line-height:1.5}.workspace-shell .devread-cover{text-align:center;max-width:34rem;margin:9vh auto 0}.workspace-shell .devread-cover-eyebrow{font-family:var(--font-ui);letter-spacing:.16em;text-transform:uppercase;color:var(--pa-soft);margin:0 0 .6rem;font-size:11px}.workspace-shell .devread-cover-title{font-family:var(--font-heading);color:var(--pa-text);margin:0 0 1.1rem;font-size:2rem;font-weight:600;line-height:1.2}.workspace-shell .devread-cover-lead{color:var(--pa-muted);margin:0 0 1.8rem;font-size:1rem;line-height:1.65}.workspace-shell .devread-cta{background:var(--pa-accent-fill);min-height:40px;color:var(--pa-on-accent);font-family:var(--font-ui);cursor:pointer;transition:background var(--pa-transition);border:0;border-radius:10px;justify-content:center;align-items:center;padding:0 22px;font-size:14px;font-weight:600;display:inline-flex}.workspace-shell .devread-cta:hover{background:var(--pa-accent-fill-hover)}.workspace-shell .devread-cover-note{color:var(--pa-soft);margin:1rem 0 0;font-size:12px}.workspace-shell .devread-state{text-align:center;max-width:30rem;margin:13vh auto 0}.workspace-shell .devread-state-title{font-family:var(--font-heading);color:var(--pa-text);margin:0 0 .6rem;font-size:1.4rem}.workspace-shell .devread-state-sub{color:var(--pa-muted);margin:0;font-size:.95rem;line-height:1.55}.workspace-shell .devread-waiting{max-width:31rem;margin:0 auto;padding-top:8vh}.workspace-shell .devread-waiting .devread-state{margin:0 0 2.5rem}.workspace-shell .devread-sweep{--sweep-cycle:5.2s;gap:2px;margin:0 0 2.6rem;padding:0;list-style:none;display:grid}.workspace-shell .devread-sweep li{color:var(--pa-muted);opacity:.44;animation:devread-sweep var(--sweep-cycle) linear infinite;animation-delay:calc(var(--sweep-index,0) * (var(--sweep-cycle) / var(--sweep-rows,1)));border-radius:7px;align-items:baseline;gap:12px;padding:5px 10px;font-size:.92rem;display:flex}.workspace-shell .devread-sweep-ord{width:1.4rem;font-family:var(--font-ui);letter-spacing:.06em;color:var(--pa-soft);flex:none;font-size:10.5px;font-weight:700}.workspace-shell .devread-sweep-title{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-family:var(--font-reading);flex:auto;overflow:hidden}.workspace-shell .devread-sweep li.devread-sweep-more{color:var(--pa-soft);opacity:.45;padding-left:10px;font-size:.85rem;font-style:italic;animation:none}@keyframes devread-sweep{0%,to{opacity:.44;color:var(--pa-muted);background:0 0}6%{opacity:1;background:color-mix(in srgb, var(--pa-accent) 11%, transparent);color:var(--pa-text)}18%{opacity:.44;color:var(--pa-muted);background:0 0}}.workspace-shell .devread-skeleton{gap:11px;display:grid}.workspace-shell .devread-skel{background:linear-gradient(90deg, var(--pa-accent) 30%, var(--pa-accent) 50%, var(--pa-accent) 70%);border-radius:999px;height:10px}@supports (color:color-mix(in lab, red, red)){.workspace-shell .devread-skel{background:linear-gradient(90deg, color-mix(in srgb, var(--pa-accent) 8%, transparent) 30%, color-mix(in srgb, var(--pa-accent) 18%, transparent) 50%, color-mix(in srgb, var(--pa-accent) 8%, transparent) 70%)}}.workspace-shell .devread-skel{background-size:200% 100%;animation:1.9s linear infinite briefing-ai-shimmer}.workspace-shell .devread-skel:nth-child(3n+1){width:92%}.workspace-shell .devread-skel:nth-child(3n+2){width:78%}.workspace-shell .devread-skel:nth-child(3n+3){width:61%}@media (prefers-reduced-motion:reduce){.workspace-shell .devread-sweep li,.workspace-shell .devread-skel{animation:none}.workspace-shell .devread-sweep li{opacity:.6}}.diff-root{z-index:120;background:var(--diff-bg);color:var(--diff-fg);font-family:var(--font-reading);--reader-fg:var(--diff-fg);--reader-fg-soft:var(--diff-soft);--diff-bg:#f7f3ea;--diff-fg:#29241c;--diff-soft:#7c7263;--diff-rule:#e2dccd;--diff-add-fg:#1c6b4d;--diff-add-bg:#1c6b4d1f;--diff-del-fg:#a1543a;flex-direction:column;animation:.22s both reader-fade-in;display:flex;position:fixed;inset:0}html[data-theme=dark] .diff-root,.workspace-shell[data-theme=dark] .diff-root{--diff-bg:#1d1d1d;--diff-fg:#cdccc8;--diff-soft:#8a8984;--diff-rule:#2e2e2e;--diff-add-fg:#7fc4a2;--diff-add-bg:#7fc4a226;--diff-del-fg:#d0916f}.diff-bar{border-bottom:1px solid var(--diff-rule);flex:none;justify-content:space-between;align-items:center;gap:12px;padding:10px 18px;display:flex}.diff-bar-head{align-items:baseline;gap:8px;min-width:0;display:flex}.diff-eyebrow{font-family:var(--font-ui);letter-spacing:.16em;text-transform:uppercase;color:var(--diff-soft);margin:0;font-size:10.5px}.diff-bar-title{font-family:var(--font-ui);color:var(--diff-fg);white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:600;overflow:hidden}.diff-bar-right{flex:none;align-items:center;gap:12px;display:flex}.diff-legend{font-family:var(--font-ui);align-items:center;gap:12px;font-size:11.5px;display:flex}.diff-legend-item{color:var(--diff-soft);align-items:center;gap:5px;display:inline-flex}.diff-legend-item:before{content:"";border-radius:3px;width:10px;height:10px}.diff-legend-add:before{background:var(--diff-add-bg);box-shadow:inset 0 0 0 1px var(--diff-add-fg)}@supports (color:color-mix(in lab, red, red)){.diff-legend-add:before{box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--diff-add-fg) 45%, transparent)}}.diff-legend-del:before{box-shadow:inset 0 0 0 1px var(--diff-del-fg);background:0 0}@supports (color:color-mix(in lab, red, red)){.diff-legend-del:before{box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--diff-del-fg) 55%, transparent)}}.diff-root .reader-tool{font-size:13px}.diff-restore{border:1px solid var(--diff-rule);color:var(--diff-fg);padding:0 11px}.diff-restore:hover:not(:disabled){border-color:var(--diff-fg)}@supports (color:color-mix(in lab, red, red)){.diff-restore:hover:not(:disabled){border-color:color-mix(in srgb, var(--diff-fg) 32%, var(--diff-rule))}}.diff-restore:hover:not(:disabled){background:var(--diff-fg)}@supports (color:color-mix(in lab, red, red)){.diff-restore:hover:not(:disabled){background:color-mix(in srgb, var(--diff-fg) 6%, transparent)}}.diff-confirm{align-items:center;gap:6px;display:inline-flex}.diff-confirm-ask{font-family:var(--font-ui);color:var(--diff-soft);font-size:12px}.diff-confirm-yes{color:var(--diff-fg);background:var(--diff-fg)}@supports (color:color-mix(in lab, red, red)){.diff-confirm-yes{background:color-mix(in srgb, var(--diff-fg) 8%, transparent)}}.diff-confirm-yes:hover:not(:disabled){background:var(--diff-fg)}@supports (color:color-mix(in lab, red, red)){.diff-confirm-yes:hover:not(:disabled){background:color-mix(in srgb, var(--diff-fg) 15%, transparent)}}.diff-scroll{overscroll-behavior:contain;flex:1;overflow-y:auto}.diff-measure{max-width:36rem;margin:0 auto;padding:1.5rem 1.5rem 5rem}.diff-since{font-family:var(--font-ui);color:var(--diff-soft);margin:0 0 1.5rem;font-size:12.5px}.diff-stat-add{color:var(--diff-add-fg);font-weight:600}.diff-stat-del{color:var(--diff-del-fg);font-weight:600}.diff-nochange{color:var(--diff-soft);font-style:italic}.diff-prose{white-space:pre-wrap;font-size:1.05rem;line-height:1.75}.diff-prose .diff-add{color:var(--diff-add-fg);background:var(--diff-add-bg);border-radius:2px;padding:0 1px;text-decoration:none}.diff-prose .diff-del{text-decoration:line-through;-webkit-text-decoration-color:var(--diff-del-fg);-webkit-text-decoration-color:var(--diff-del-fg);-webkit-text-decoration-color:var(--diff-del-fg);text-decoration-color:var(--diff-del-fg)}@supports (color:color-mix(in lab, red, red)){.diff-prose .diff-del{-webkit-text-decoration-color:color-mix(in srgb, var(--diff-del-fg) 60%, transparent);-webkit-text-decoration-color:color-mix(in srgb, var(--diff-del-fg) 60%, transparent);-webkit-text-decoration-color:color-mix(in srgb, var(--diff-del-fg) 60%, transparent);text-decoration-color:color-mix(in srgb, var(--diff-del-fg) 60%, transparent)}}.diff-prose .diff-del{color:var(--diff-del-fg);opacity:.85}.workspace-shell .version-card-actions{gap:6px;display:flex}.workspace-shell .version-card-actions .panel-button{flex:1}.workspace-shell .version-save{width:100%;margin-bottom:10px}.rename-modal{flex-direction:column;gap:14px;display:flex}.rename-lead{color:var(--foreground);margin:0;font-size:14px;line-height:1.5}.rename-name{font-weight:600}.rename-old{color:var(--text-muted);text-decoration:line-through;-webkit-text-decoration-color:var(--text-muted);-webkit-text-decoration-color:var(--text-muted);-webkit-text-decoration-color:var(--text-muted);text-decoration-color:var(--text-muted)}@supports (color:color-mix(in lab, red, red)){.rename-old{-webkit-text-decoration-color:color-mix(in srgb, var(--text-muted) 55%, transparent);-webkit-text-decoration-color:color-mix(in srgb, var(--text-muted) 55%, transparent);-webkit-text-decoration-color:color-mix(in srgb, var(--text-muted) 55%, transparent);text-decoration-color:color-mix(in srgb, var(--text-muted) 55%, transparent)}}.rename-new{color:var(--pa-accent);font-weight:600}.rename-chapter-list{border-top:1px solid var(--surface-muted);border-bottom:1px solid var(--surface-muted);flex-direction:column;max-height:240px;margin:0;padding:4px 0;list-style:none;display:flex;overflow-y:auto}.rename-chapter-row{justify-content:space-between;align-items:baseline;gap:12px;padding:7px 2px;display:flex}.rename-chapter-row+.rename-chapter-row{border-top:1px solid var(--surface-muted)}@supports (color:color-mix(in lab, red, red)){.rename-chapter-row+.rename-chapter-row{border-top:1px solid color-mix(in srgb, var(--surface-muted) 60%, transparent)}}.rename-chapter-title{color:var(--foreground);text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:13.5px;overflow:hidden}.rename-chapter-count{font-family:var(--font-ui);font-variant-numeric:tabular-nums;color:var(--text-soft);background:var(--surface-soft);border-radius:999px;flex:none;padding:1px 9px;font-size:12px}.rename-note{color:var(--text-soft);margin:0;font-size:12.5px;line-height:1.5}.docs-shell{background:var(--background);min-height:100vh;color:var(--foreground)}.docs-topbar{z-index:20;background:var(--background);position:sticky;top:0}@supports (color:color-mix(in lab, red, red)){.docs-topbar{background:color-mix(in srgb, var(--background) 88%, transparent)}}.docs-topbar{-webkit-backdrop-filter:saturate(1.1)blur(8px);backdrop-filter:saturate(1.1)blur(8px);border-bottom:1px solid var(--border)}.docs-topbar-inner{width:var(--public-page-width);padding:12px var(--public-page-gutter);justify-content:space-between;align-items:center;gap:16px;margin:0 auto;display:flex}.docs-topbar .brand-lockup{color:var(--foreground);align-items:center;gap:9px;text-decoration:none;display:inline-flex}.docs-topbar-tag{letter-spacing:.04em;text-transform:uppercase;color:var(--amber);border:1px solid var(--amber);padding:2px 7px;font-size:11px;font-weight:650}@supports (color:color-mix(in lab, red, red)){.docs-topbar-tag{border:1px solid color-mix(in srgb, var(--amber) 40%, var(--border))}}.docs-topbar-tag{border-radius:999px}.docs-topbar-links{align-items:center;gap:18px;display:flex}.docs-topbar-links a{color:var(--text-muted);font-size:14px;font-weight:550;text-decoration:none}.docs-topbar-links a:hover{color:var(--foreground)}.docs-topbar-cta{background:var(--amber);border-radius:9px;padding:7px 14px;color:var(--on-accent)!important;font-weight:600!important}.docs-topbar-cta:hover{filter:brightness(1.05)}.docs-frame{width:var(--public-page-width);padding:0 var(--public-page-gutter);grid-template-columns:244px minmax(0,1fr);gap:clamp(20px,4vw,56px);margin:0 auto;display:grid}.docs-sidebar-toggle{display:none}.docs-sidebar-inner{flex-direction:column;align-self:start;gap:20px;max-height:calc(100vh - 61px);padding:24px 4px 40px;display:flex;position:sticky;top:61px;overflow-y:auto}.docs-filter{border:1px solid var(--border);background:var(--surface);width:100%;color:var(--foreground);font:inherit;border-radius:9px;padding:8px 11px;font-size:13.5px}.docs-filter::placeholder{color:var(--text-soft)}.docs-filter:focus-visible{outline:2px solid var(--amber)}@supports (color:color-mix(in lab, red, red)){.docs-filter:focus-visible{outline:2px solid color-mix(in srgb, var(--amber) 55%, transparent)}}.docs-filter:focus-visible{outline-offset:1px;border-color:var(--amber)}.docs-nav-group{flex-direction:column;gap:4px;display:flex}.docs-nav-group-title{letter-spacing:.08em;text-transform:uppercase;color:var(--text-soft);margin:0 0 4px;font-size:11px;font-weight:700}.docs-nav-group ul{flex-direction:column;gap:1px;margin:0;padding:0;list-style:none;display:flex}.docs-nav-link{color:var(--text-muted);border-left:2px solid #0000;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;padding:6px 10px;font-size:14px;line-height:1.35;text-decoration:none;transition:background .12s,color .12s;display:flex}a.docs-nav-link:hover{background:var(--surface);color:var(--foreground)}.docs-nav-link.is-active{background:var(--amber)}@supports (color:color-mix(in lab, red, red)){.docs-nav-link.is-active{background:color-mix(in srgb, var(--amber) 12%, transparent)}}.docs-nav-link.is-active{border-left-color:var(--amber);color:var(--foreground);font-weight:600}.docs-nav-link.is-soon{color:var(--text-soft);cursor:default}.docs-soon-tag{letter-spacing:.05em;text-transform:uppercase;color:var(--text-soft);background:var(--surface-muted);border-radius:999px;padding:1px 6px;font-size:9.5px;font-weight:700}.docs-filter-empty{color:var(--text-soft);padding:0 10px;font-size:13px}.docs-content{min-width:0;padding:32px 0 96px}.doc-article{grid-template-columns:minmax(0,1fr) 176px;align-items:start;gap:48px;display:grid}.doc-article-main{min-width:0;max-width:72ch}.doc-breadcrumb{color:var(--text-soft);margin:0 0 14px;font-size:13px}.doc-breadcrumb a{color:var(--text-muted);text-decoration:none}.doc-breadcrumb a:hover{color:var(--amber)}.doc-title{font-family:var(--font-heading);letter-spacing:-.015em;margin:0 0 12px;font-size:clamp(1.9rem,4vw,2.5rem);font-weight:600;line-height:1.1}.doc-lede{color:var(--text-muted);margin:0 0 28px;font-size:1.12rem;line-height:1.6}.doc-body{color:var(--foreground);font-size:1rem;line-height:1.72}.doc-body>*+*{margin-top:1.1em}.doc-body h2{font-family:var(--font-heading);letter-spacing:-.01em;margin:2.2em 0 .2em;scroll-margin-top:80px;font-size:1.4rem;font-weight:600}.doc-body h3{font-family:var(--font-heading);margin:1.7em 0 .1em;scroll-margin-top:80px;font-size:1.12rem;font-weight:600}.doc-body p{color:var(--foreground)}.doc-body a{color:var(--amber);text-underline-offset:2px;text-decoration:underline;text-decoration-thickness:1px}.doc-body a:hover{text-decoration-thickness:2px}.doc-body strong{font-weight:650}.doc-body ul,.doc-body ol{flex-direction:column;gap:.4em;padding-left:1.35em;display:flex}.doc-body li{padding-left:.2em}.doc-body li::marker{color:var(--text-soft)}.doc-body code{font-family:var(--font-mono,ui-monospace, "SF Mono", Menlo, monospace);background:var(--surface-muted);border-radius:5px;padding:1.5px 6px;font-size:.86em}.doc-body hr{border:0;border-top:1px solid var(--border);margin:2em 0}.doc-table{border-collapse:collapse;width:100%;margin:1.2em 0;font-size:.95rem}.doc-table th,.doc-table td{text-align:left;border-bottom:1px solid var(--border);padding:9px 12px}.doc-table th{letter-spacing:.04em;text-transform:uppercase;color:var(--text-soft);font-size:12px;font-weight:700}.doc-table tbody tr:last-child td{border-bottom:0}.doc-shortcuts td:last-child{text-align:right;white-space:nowrap}.doc-toc{align-self:start;font-size:13px;position:sticky;top:84px}.doc-toc-label{letter-spacing:.08em;text-transform:uppercase;color:var(--text-soft);margin:0 0 8px;font-size:11px;font-weight:700}.doc-toc ul{border-left:1px solid var(--border);flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.doc-toc a{color:var(--text-muted);border-left:1px solid #0000;margin-left:-1px;padding-left:12px;line-height:1.4;text-decoration:none;display:block}.doc-toc a:hover{color:var(--amber);border-left-color:var(--amber)}.doc-pager{border-top:1px solid var(--border);grid-template-columns:1fr 1fr;gap:14px;margin-top:56px;padding-top:28px;display:grid}.doc-pager-link{border:1px solid var(--border);background:var(--surface);border-radius:12px;flex-direction:column;gap:3px;padding:14px 16px;text-decoration:none;transition:border-color .12s;display:flex}.doc-pager-link:hover{border-color:var(--amber)}@supports (color:color-mix(in lab, red, red)){.doc-pager-link:hover{border-color:color-mix(in srgb, var(--amber) 50%, var(--border))}}.doc-pager-link.next{text-align:right}.doc-pager-dir{color:var(--text-soft);font-size:12px}.doc-pager-title{color:var(--foreground);font-size:15px;font-weight:600}.doc-callout{border:1px solid var(--border);background:var(--surface);border-left-width:3px;border-radius:12px;margin:1.4em 0;padding:14px 16px}.doc-callout-label{letter-spacing:.03em;margin:0 0 4px;font-size:12px;font-weight:700}.doc-callout-body{color:var(--text-muted);font-size:.95rem;line-height:1.6}.doc-callout-body>*+*{margin-top:.6em}.doc-callout-note{border-left-color:var(--amber)}.doc-callout-note .doc-callout-label{color:var(--amber)}.doc-callout-tip{border-left-color:var(--amber)}@supports (color:color-mix(in lab, red, red)){.doc-callout-tip{border-left-color:color-mix(in srgb, var(--amber) 70%, #3f9a6a)}}.doc-callout-tip .doc-callout-label{color:var(--amber)}@supports (color:color-mix(in lab, red, red)){.doc-callout-tip .doc-callout-label{color:color-mix(in srgb, var(--amber) 55%, #3f9a6a)}}.doc-callout-warning{border-left-color:#c9852b}.doc-callout-warning .doc-callout-label{color:#c9852b}.doc-body .doc-steps{counter-reset:doc-step;flex-direction:column;gap:14px;margin:1.4em 0;padding:0;list-style:none;display:flex}.doc-body .doc-step{counter-increment:doc-step;padding-left:42px;position:relative}.doc-body .doc-step:before{content:counter(doc-step);background:var(--amber);place-items:center;width:27px;height:27px;display:grid;position:absolute;top:-1px;left:0}@supports (color:color-mix(in lab, red, red)){.doc-body .doc-step:before{background:color-mix(in srgb, var(--amber) 14%, transparent)}}.doc-body .doc-step:before{color:var(--amber);font-size:13px;font-weight:700;font-family:var(--font-heading);border-radius:999px}.doc-step-title{margin:0 0 2px;font-weight:600}.doc-step-body{color:var(--text-muted);font-size:.95rem;line-height:1.6}.doc-step-body>*+*{margin-top:.5em}.doc-kbd{text-align:center;min-width:1.6em;font-family:var(--font-mono,ui-monospace, Menlo, monospace);color:var(--foreground);background:var(--surface);border:1px solid var(--border);border-bottom-width:2px;border-radius:6px;padding:1px 6px;font-size:.8em;line-height:1.5;display:inline-block}.doc-kbd-combo{white-space:nowrap;align-items:center;gap:3px;display:inline-flex}.doc-kbd-plus{color:var(--text-soft);margin:0 1px;font-size:.8em}.doc-figure{margin:1.6em 0}.doc-figure-frame{border:1px solid var(--border);background:var(--surface);border-radius:14px;overflow:hidden}.doc-figure figcaption{color:var(--text-soft);text-align:center;margin-top:8px;font-size:13px}.doc-figure-shot{padding:0;line-height:0}.doc-shot{width:100%;height:auto;display:block}.doc-shot-dark{display:none}@media (prefers-color-scheme:dark){.doc-shot-light{display:none}.doc-shot-dark{display:block}}:root[data-theme=light] .doc-shot-light{display:block}:root[data-theme=light] .doc-shot-dark,:root[data-theme=dark] .doc-shot-light{display:none}:root[data-theme=dark] .doc-shot-dark{display:block}.doc-tier{letter-spacing:.02em;vertical-align:middle;border-radius:999px;padding:1px 8px;font-size:11px;font-weight:700;display:inline-block}.doc-tier-free{background:var(--surface-muted);color:var(--text-muted)}.doc-tier-hobby{background:var(--amber)}@supports (color:color-mix(in lab, red, red)){.doc-tier-hobby{background:color-mix(in srgb, var(--amber) 14%, transparent)}}.doc-tier-hobby{color:var(--amber)}.doc-tier-pro{background:var(--amber);color:var(--on-accent)}.doc-tier-studio{color:var(--amber);border:1px solid var(--amber);background:0 0}@supports (color:color-mix(in lab, red, red)){.doc-tier-studio{border:1px solid color-mix(in srgb, var(--amber) 55%, var(--border))}}.doc-home{max-width:940px}.doc-home-head{padding:12px 0 8px}.doc-home-head h1{font-family:var(--font-heading);letter-spacing:-.02em;margin:8px 0 14px;font-size:clamp(2rem,5vw,2.8rem);font-weight:600;line-height:1.08}.doc-home-lede{max-width:62ch;color:var(--text-muted);margin:0;font-size:1.12rem;line-height:1.6}.doc-home-lede a{color:var(--amber);text-underline-offset:2px;text-decoration:underline}.doc-home-grid{grid-template-columns:repeat(auto-fill,minmax(258px,1fr));gap:16px;margin-top:36px;display:grid}.doc-home-card{border:1px solid var(--border);background:var(--surface);border-radius:16px;flex-direction:column;gap:8px;padding:20px 20px 22px;display:flex}.doc-home-card.is-soon{opacity:.72}.doc-home-card h2{font-family:var(--font-heading);margin:0;font-size:1.2rem;font-weight:600}.doc-home-card h2 a{color:var(--foreground);text-decoration:none}.doc-home-card h2 a:hover{color:var(--amber)}.doc-home-card>p{color:var(--text-muted);margin:0;font-size:.92rem;line-height:1.5}.doc-home-links{flex-direction:column;gap:5px;margin:4px 0 0;padding:0;list-style:none;display:flex}.doc-home-links a{color:var(--text-muted);font-size:14px;text-decoration:none}.doc-home-links a:hover{color:var(--amber)}.doc-home-soon{letter-spacing:.04em;text-transform:uppercase;color:var(--text-soft);margin:4px 0 0;font-size:12px;font-weight:650}.doc-home-more{color:var(--amber);margin-top:4px;font-size:13px;font-weight:600;text-decoration:none}.doc-home-more:hover{text-decoration:underline}@media (max-width:1080px){.doc-article{grid-template-columns:minmax(0,1fr)}.doc-toc{display:none}}@media (max-width:860px){.docs-frame{grid-template-columns:minmax(0,1fr)}.docs-topbar-links a:not(.docs-topbar-cta){display:none}.docs-topbar-cta{white-space:nowrap}}@media (max-width:480px){.docs-topbar .brand-name{display:none}.docs-sidebar{border-bottom:1px solid var(--border)}.docs-sidebar-toggle{text-align:left;width:100%;color:var(--foreground);font:inherit;cursor:pointer;background:0 0;border:0;margin-top:8px;padding:12px 4px;font-weight:600;display:block}.docs-sidebar-inner{max-height:none;padding-top:4px;display:none;position:static}.docs-sidebar.is-open .docs-sidebar-inner{display:flex}.doc-pager{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){.docs-nav-link,.doc-pager-link,.doc-body a{transition:none}}.product-video video,.product-video img{width:100%;height:auto;aspect-ratio:var(--video-ratio,1724 / 1080);object-fit:cover;background:var(--surface-soft);display:block}.product-video-still{border-top:1px solid var(--border);background:var(--surface-soft);color:var(--text-muted);text-align:center;padding:9px 14px;font-size:12.5px;text-decoration:none;display:block}.product-video-still:hover{color:var(--amber)}.pricing-currency-note{text-align:center;max-width:52ch;color:var(--text-muted);margin:18px auto 0;font-size:13px;line-height:1.55}.workspace-shell .context-panel .tab-row{border:0;border-bottom:1px solid var(--border);background:0 0;border-radius:0;padding:0 0 10px}.workspace-shell .context-panel .context-block,.workspace-shell .context-panel .comment-stack{background:0 0;border:0;border-radius:0;padding:2px}html[data-theme=dark] .workspace-shell .context-panel .tab-row,.workspace-shell[data-theme=dark] .context-panel .tab-row,html[data-theme=dark] .workspace-shell .context-panel .context-block,.workspace-shell[data-theme=dark] .context-panel .context-block,html[data-theme=dark] .workspace-shell .context-panel .comment-stack,.workspace-shell[data-theme=dark] .context-panel .comment-stack{background:0 0}.workspace-shell .context-panel .context-block+.context-block{border-top:1px solid var(--border);margin-top:2px;padding-top:16px}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}