html{color-scheme:light;scroll-padding-block:1rem}body,html{background:var(--ui-bg)}body{min-width:0}button,input,select,textarea{max-inline-size:100%}button,summary{white-space:normal;overflow-wrap:anywhere}input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:1rem}input,select,textarea{min-width:0}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,textarea:focus-visible{outline:2px solid var(--ui-accent);outline-offset:4px}button:disabled{opacity:.5}::-moz-selection{background:#f1ded0;color:var(--ui-text)}::selection{background:#f1ded0;color:var(--ui-text)}*{scrollbar-color:#9eb7aa #f3f7f4;scrollbar-width:thin}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:#f3f7f4}::-webkit-scrollbar-thumb{background:#9eb7aa;border:2px solid #f3f7f4;border-radius:8px}.product-header.writing-home-header{min-height:5.5rem;height:auto;gap:1.5rem;padding:1rem clamp(1.5rem,3.3vw,4rem);background:transparent}.celadon-wordmark,.product-header .writing-home-logo{color:var(--ui-text)!important;font:700 2.5rem/1.2 var(--story-font);letter-spacing:.08em;text-decoration:none;flex-shrink:0}.product-header .writing-home-logo{padding-left:1rem;border-left:2px solid var(--ui-accent)}.product-header .product-main-navigation{margin-right:auto;margin-left:clamp(1rem,4vw,5rem);gap:clamp(1rem,2.8vw,3rem);flex-wrap:wrap}.product-header .product-main-navigation>a{position:relative;min-height:2.75rem;color:var(--ui-text)!important;font-size:1rem;font-weight:500}.product-main-navigation>a[aria-current=page]:after{content:"";position:absolute;inset:auto 0 0;height:2px;background:var(--ui-accent)}.product-account-navigation{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:.75rem}.product-header .account-badge{min-height:2.75rem;gap:1rem;padding:.25rem}.product-header .account-badge b{width:2.75rem;height:2.75rem;color:var(--ui-text);background:#cfdfd6}.account-badge span{color:var(--ui-text);font-size:1rem}.admin-header-link{font-size:.875rem!important}.account-studio-shell,.creative-entry-shell,.narrative-home{position:relative;isolation:isolate;background:var(--ui-bg)}.account-studio-shell:before,.creative-entry-shell:before,.narrative-home:before{content:"";position:fixed;left:0;bottom:0;width:clamp(8rem,17.5vw,19rem);height:min(100dvh,48rem);background:var(--celadon-sidebar-art) left bottom /100% auto no-repeat;-webkit-mask-image:linear-gradient(180deg,transparent,#000 8rem);mask-image:linear-gradient(180deg,transparent,#000 8rem);pointer-events:none;z-index:-1}.narrative-home .writing-home-main{width:auto;max-width:none;min-height:calc(100dvh - 5.5rem);margin:0 0 0 clamp(8rem,17.5vw,19rem);padding:clamp(2rem,4vw,4.5rem) clamp(2rem,7.3vw,7.5rem) 4rem;background:var(--ui-surface);border-radius:7.5rem 0 0 0}.narrative-home .writing-home-start h1{font-size:clamp(1.75rem,3vw,3rem);line-height:1.4;letter-spacing:.015em}.narrative-home .writing-home-intro{margin:1rem 0 2rem;font-size:1rem}.flow-canvas>.story-composer,.story-composer,.writing-home-start .story-composer{border:0;border-radius:0;padding:0;background:transparent;grid-template-columns:minmax(0,1fr) auto;gap:1.25rem 1.5rem}.composer-tabs{gap:2rem}.composer-tabs>*{padding:.5rem 1rem 1rem;font-size:1.125rem}.story-composer .writing-idea-input textarea{min-height:7rem;background:#fcfdfc;border-color:var(--ui-border);border-radius:.625rem;padding:1rem 1rem 2rem}.writing-idea-input>span{font-size:1rem}.composer-core-config{gap:1.25rem}.composer-core-config label{font-size:1rem;gap:.75rem}.composer-core-config input,.composer-core-config select{border-color:var(--ui-border);min-height:3rem;font-size:1rem}.composer-duration{font-size:1rem;white-space:normal}.composer-settings>summary{border:0;font-size:1rem;padding:.5rem 0}.composer-professional summary,.composer-settings select{font-size:1rem}.composer-submit{flex-direction:column-reverse;gap:.75rem;align-items:stretch}.composer-submit>span{font-size:.875rem;text-align:center}.composer-submit .writing-create-button{width:100%;min-height:3.25rem;padding:.75rem 1.25rem;border-radius:.625rem;background:var(--ui-accent);font-size:1.125rem}.composer-examples{border:0;order:1;padding:0}.composer-submit{order:2}.composer-examples button,.composer-examples>span{font-size:.875rem}.narrative-home .writing-home-recent-heading h2{font-size:1.5rem}.narrative-home .writing-project-row{min-height:4rem;padding:1rem 0;gap:1.5rem;grid-template-columns:minmax(0,1fr) minmax(6rem,auto) minmax(6rem,auto)}.narrative-home .writing-project-row:hover{padding-left:0;background:#f7faf8}.project-description strong{font-size:1.125rem}.project-description small,.project-row-action,.writing-project-row time{font-size:.875rem}.home-empty{padding:1rem 0}.creative-entry-shell .flow-canvas{margin:0 0 0 clamp(3rem,9vw,10rem);width:auto;min-height:calc(100dvh - 5.5rem);padding:3rem clamp(1.5rem,8vw,9rem) 4rem;border-radius:7.5rem 0 0 0;background:var(--ui-surface)}.creative-entry-shell .flow-steps{display:none}.creative-entry-shell .start-heading h1{font-size:clamp(1.75rem,2.8vw,2.75rem)}.creative-entry-shell .start-heading p{font-size:1rem}.creative-entry-shell .rewrite-form{border:0;border-radius:0;padding:0;gap:1.5rem}.creative-entry-shell .source-input textarea{min-height:13rem;padding:1rem;font-size:1rem;background:#fcfdfc;border-color:var(--ui-border)}.rewrite-instruction input,.rewrite-instruction>span,.source-input>label:not(.file-pick){font-size:1rem}.source-footer .file-pick{min-height:2.75rem;padding-block:.5rem}.creative-entry-shell .rewrite-modes{display:flex;flex-wrap:wrap;align-items:stretch;gap:.5rem 1.5rem}.creative-entry-shell .rewrite-modes button{flex:1 1 9rem;min-height:3rem;padding:.75rem 0;border:0;border-bottom:2px solid transparent;border-radius:0;text-align:left;background:transparent}.creative-entry-shell .rewrite-modes button.selected{background:transparent;border-bottom-color:var(--ui-accent);box-shadow:none}.rewrite-modes button strong{font-size:1rem}.rewrite-modes button span{font-size:.875rem}.creative-entry-shell .flow-primary{min-height:3.25rem;font-size:1rem;border-radius:.625rem}.reconstruction-result .result-options{grid-template-columns:minmax(0,1fr);gap:.75rem;counter-reset:reconstruction-option}.reconstruction-result .result-options article{position:relative;padding:1.5rem 1.5rem 1.5rem 5rem;border:0;border-bottom:1px solid var(--ui-border);border-radius:.625rem;counter-increment:reconstruction-option}.reconstruction-result .result-options article:before{content:counter(reconstruction-option,decimal-leading-zero);position:absolute;left:1.25rem;top:1.5rem;color:var(--ui-accent);font:2rem/1.2 var(--story-font)}.reconstruction-result .result-options article.selected{background:var(--ui-accent-soft);box-shadow:inset 3px 0 var(--ui-accent)}.reconstruction-result .result-options h3{font:700 1.5rem/1.4 var(--story-font);margin:.25rem 0 .75rem}.reconstruction-result .result-options p{font-size:1rem}.reconstruction-result .result-options button{align-self:flex-start;font-size:1rem}.simple-studio-shell.narrative-studio-shell{--workspace-nav-width:clamp(15rem,21.6vw,21.5rem);--workspace-gutter:clamp(1.5rem,5.7vw,6rem);grid-template-columns:var(--workspace-nav-width) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);background:var(--ui-bg)}.simple-studio-shell.narrative-studio-shell.has-ai-command{grid-template-rows:auto minmax(0,1fr) auto}.narrative-studio-shell .simple-studio-header{grid-column:1/-1;grid-row:1;min-height:4rem;height:auto;gap:1rem;padding:.625rem clamp(1rem,3.3vw,3rem);background:var(--ui-bg);border:0}.celadon-workspace-brand{display:flex;align-items:center;gap:1.5rem;flex-shrink:0}.celadon-wordmark{font-size:2.25rem}.celadon-back-link{min-height:2.75rem;display:flex;align-items:center;padding-left:1.5rem;border-left:1px solid var(--ui-border-strong);font-size:.875rem;color:var(--ui-text);text-decoration:none}.celadon-back-link:before{content:"←";margin-right:.625rem}.simple-brand-group{gap:1rem}.narrative-studio-shell .simple-brand-group>strong{display:none}.simple-header-actions{align-items:center;flex-wrap:wrap;justify-content:flex-end}.simple-header-actions>button{min-height:2.75rem;font-size:1rem}.narrative-studio-shell .studio-mobile-account{display:flex;align-items:center;gap:.75rem;order:5}.studio-mobile-account .account-badge{min-height:2.75rem;padding:.25rem}.simple-studio-header .account-badge span{display:inline;color:var(--ui-text);font-size:1rem}.simple-studio-header .account-badge b{display:grid;background:#cfdfd6}.narrative-studio-shell .core-mode-nav.studio-index{grid-column:1;grid-row:2/-1;border:0;padding:3.25rem clamp(1rem,3vw,3rem) 1.5rem;isolation:isolate;background:var(--ui-bg)}.studio-index:before{content:"";position:absolute;inset:0;background:var(--celadon-sidebar-art) left bottom /100% auto no-repeat;-webkit-mask-image:linear-gradient(180deg,transparent,#000 45%);mask-image:linear-gradient(180deg,transparent,#000 45%);z-index:-1;pointer-events:none}.studio-index>.studio-index-back,.studio-index>.studio-index-brand{display:none}.studio-project-title{font:700 clamp(1.375rem,1.8vw,2rem)/1.5 var(--story-font);margin:0 0 1.5rem;overflow-wrap:anywhere}.studio-content-index{position:relative;scrollbar-gutter:stable}.studio-content-index>h2{display:none}.studio-content-index>div>button{min-height:3rem;padding:.625rem 1rem;margin:0 0 .25rem;font-size:1rem;border-left:3px solid transparent;border-radius:0;gap:.625rem}.studio-content-index>div>button.active{color:var(--ui-accent);border-left-color:var(--ui-accent);background:linear-gradient(90deg,#f3e9e1,transparent)}.studio-content-index>div>button>svg{display:none}.studio-index-episodes{position:relative;margin:1rem 0 1.5rem .6rem;padding-left:.625rem;border-color:#9eb7aa}.studio-index-episodes button{min-height:3rem;padding:.625rem .25rem .625rem .75rem;margin:0;grid-template-columns:auto minmax(0,1fr);gap:.25rem .5rem;font-size:.875rem;border-radius:0;position:relative}.studio-index-episodes button:before{content:"";position:absolute;left:-.9rem;top:1.1rem;width:.625rem;height:.625rem;background:var(--ui-bg);border:1px solid #7f9f92;border-radius:50%}.studio-index-episodes button.active:before{background:var(--ui-accent);border-color:var(--ui-accent)}.studio-index-episodes button.active{background:transparent}.studio-index-episodes button strong{font-size:.875rem;font-weight:500}.studio-index-episodes button small{grid-column:2;font-size:.75rem}.studio-index-account{border:0;padding:.75rem 0 0}.studio-index-account .account-badge,.studio-index-account .admin-header-link{background:#edf4ef!important}.narrative-studio-shell .simple-studio-main{border-radius:7.5rem 0 0 0;background:var(--ui-surface);scroll-padding-block:2rem}.simple-studio-shell.narrative-studio-shell.is-focused{grid-template-columns:minmax(0,1fr)}.simple-studio-shell.narrative-studio-shell.is-focused .ai-command-bar,.simple-studio-shell.narrative-studio-shell.is-focused .simple-studio-main{grid-column:1}.simple-studio-shell.narrative-studio-shell.is-compact-shell{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr)}.simple-studio-shell.narrative-studio-shell.is-compact-shell.has-ai-command{grid-template-rows:auto auto minmax(0,1fr) auto}.simple-studio-shell.narrative-studio-shell.is-compact-shell .simple-studio-main{grid-column:1;grid-row:3}.simple-studio-shell.narrative-studio-shell.is-compact-shell .ai-command-bar{grid-column:1;grid-row:4}.narrative-studio-shell .simple-content,.simple-studio-shell.screenplay-workspace .simple-content{width:calc(100% - 2 * var(--workspace-gutter));max-width:none;padding:3.5rem 0 3rem;margin-inline:auto}.narrative-studio-shell .simple-screenplay-header{width:100%;max-width:var(--reader-measure,48rem);margin:0 0 1.5rem;border:0;padding-bottom:0}.simple-stage-heading h1,.studio-screenplay-title h1{font-size:clamp(1.5rem,2.5vw,2.5rem);letter-spacing:.01em}.simple-stage-heading p{font-size:1rem}.studio-current-episode{color:var(--ui-muted);font-size:.875rem}.narrative-studio-shell .ai-reader-toolbar{border-bottom:0;margin-bottom:1.5rem;font-size:.875rem}.narrative-studio-shell .ai-reader-scenes{width:100%;max-width:var(--reader-measure);margin:0}.narrative-studio-shell .ai-reader-scene>header{border:0;margin-bottom:1.25rem}.narrative-studio-shell .ai-reader-scene{border:0;padding-bottom:1.5rem;margin-bottom:1.5rem}.narrative-studio-shell .ai-reader-scene-cast{color:var(--ui-muted)}.simple-studio-shell .simple-direction-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:0;counter-reset:story-direction}.simple-studio-shell .simple-direction-grid article{counter-increment:story-direction;position:relative;padding:1.5rem 1rem 1.5rem 5rem;border:0;border-bottom:1px solid var(--ui-border);border-radius:.5rem}.simple-studio-shell .simple-direction-grid article:before{content:counter(story-direction,decimal-leading-zero);position:absolute;left:1rem;top:1.5rem;color:var(--ui-accent);font:2rem/1.4 var(--story-font)}.simple-studio-shell .simple-direction-grid article.selected{background:var(--ui-accent-soft);box-shadow:inset 3px 0 var(--ui-accent)}.simple-studio-shell .simple-direction-grid h2{font:700 1.5rem/1.5 var(--story-font);margin-top:.25rem}.simple-studio-shell .simple-direction-grid p{font-size:1rem}.simple-studio-shell .simple-direction-grid small{display:none}.studio-story-columns{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:3rem}.studio-story-columns h2{font-family:var(--story-font)}.studio-story-columns dl>div{border-color:var(--ui-border)}.studio-story-columns dd,.studio-story-columns dt{font-size:1rem;background:transparent}.studio-character{background:#eff5f1;padding:.75rem 1rem;border:0}.simple-studio-shell .simple-episode-list{border:0;gap:0}.simple-studio-shell .simple-episode-list>article{border:0;border-left:1px solid #bb8d71;border-radius:0;margin-left:.75rem;padding-left:.75rem}.simple-studio-shell .simple-episode-list>article.selected{border-radius:.625rem;background:var(--ui-accent-soft);box-shadow:none}.episode-outline-row{padding:1rem .5rem!important}.simple-studio-shell .episode-number{color:var(--ui-accent);font-family:var(--story-font)}.simple-studio-shell .episode-summary strong{font:700 1.25rem/1.5 var(--story-font)}.simple-studio-shell .studio-outline-detail{background:transparent!important}.outline-main-actions button,.quiet-action,.simple-primary,.story-development-editor button{font-size:1rem;border-radius:.625rem}.narrative-studio-shell .ai-command-bar{padding:.75rem var(--workspace-gutter) max(.75rem,env(safe-area-inset-bottom));background:var(--ui-surface);border:0;box-shadow:none;max-height:40dvh;overflow-y:auto}.ai-command-frame{padding:.75rem 1rem;background:#eff5f1;border-radius:.875rem}.ai-command-bar form>button{min-width:0;padding-inline:1rem;font-size:1rem}.ai-command-bar textarea{font-size:1rem;border-color:var(--ui-border)}.ai-command-options button{font-size:.875rem}.memory-refresh:has(.post-writing-recovery:not([open])){display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.25rem 1rem;padding:.5rem 1rem;margin-bottom:1rem}.memory-refresh:has(.post-writing-recovery:not([open]))>p{margin:0}.memory-refresh .post-writing-recovery>summary{min-height:2.75rem;padding-block:.625rem}.narrative-studio-shell .simple-utility-drawer{inset:4rem 0 0 auto;width:min(42rem,55vw);border:0;border-radius:2rem 0 0 0;box-shadow:-1rem 0 3rem #193d3610;max-height:calc(100dvh - 4rem)}.narrative-studio-shell .utility-header{background:var(--ui-surface)!important;padding:1.5rem 2rem}.utility-header h2{font:700 1.75rem/1.4 var(--story-font)}.narrative-studio-shell .utility-content{padding:1.5rem 2rem}.narrative-studio-shell .simple-drawer-scrim{background:#193d361a!important}.ai-reader-settings-fields button,.utility-content :is(button,input,textarea,select){font-size:1rem;min-height:2.75rem}.version-list article{padding-block:1rem}.version-list article strong{font-size:1rem}.export-panel>button,.version-create button{border-radius:.625rem}.narrative-studio-shell .ai-reader-settings-panel{background:#f3f8f4;border-color:var(--ui-border);border-radius:1rem;box-shadow:0 .75rem 2rem #193d3610;max-height:min(70dvh,40rem);overflow:auto}.ai-reader-settings-panel h3{font:700 1.25rem/1.4 var(--story-font)}.studio-revision-surface .assistant-change-preview article>div:not(.candidate-item-actions){border-radius:.75rem}.studio-revision-surface .assistant-change-preview article>div.after{background:#eaf2ec}.celadon-revision-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(18rem,.9fr);gap:2rem;align-items:start}.celadon-revision-manuscript{min-width:0}.celadon-revision-manuscript .ai-reader-toolbar{display:none}.celadon-revision-notes{min-width:0;position:sticky;top:0;max-height:75dvh;overflow:auto;padding:1.25rem;background:#eef5ef;border-radius:1rem;scrollbar-gutter:stable}.celadon-revision-notes .assistant-change-preview article{grid-template-columns:minmax(0,1fr);gap:1rem}.celadon-revision-notes .assistant-change-preview article>*{grid-column:1}.celadon-revision-notes .assistant-change-preview article>div:not(.candidate-item-actions){background:white;padding:1rem}.celadon-revision-notes .assistant-change-preview article>div.after{background:#e0eee4}.celadon-revision-notes .assistant-change-preview footer,.celadon-revision-notes .candidate-item-actions{flex-wrap:wrap;gap:.5rem}.celadon-revision-notes .assistant-change-preview footer{background:#eef5ef;position:static}.celadon-revision-notes .assistant-change-preview footer button{flex:1 1 7rem;min-width:0}.issue-revision-preview,.project-check-overview,.project-review-report,.screenplay-checks{color:var(--ui-text);background:var(--ui-surface)}.reconstruction-plan-dialog,.writing-materials-dialog{border-color:var(--ui-border);border-radius:1.25rem;max-width:min(42.5rem,calc(100vw - 2rem));max-height:calc(100dvh - 2rem)}.version-restore-dialog{width:min(34rem,calc(100vw - 2rem));max-width:calc(100vw - 2rem);max-height:calc(100dvh - 2rem);overflow:auto;padding:0;border:1px solid var(--ui-border);border-radius:1.25rem;color:var(--ui-text);background:var(--ui-surface)}.version-restore-dialog::backdrop{background:#193d3633}.version-restore-body,.version-restore-dialog>header{padding:1.5rem}.version-restore-dialog h2{font:600 1.75rem/1.5 var(--story-font);margin:.5rem 0 0}.version-restore-body{border-top:1px solid var(--ui-border);font-size:1rem;line-height:1.85;overflow-wrap:anywhere}.version-restore-dialog .version-restore-body>strong{font:600 1.125rem/1.8 var(--story-font)}.version-restore-dialog>footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.75rem;padding:1rem 1.5rem;background:#f1f6f2}.version-restore-dialog>footer button{padding:.625rem 1rem;min-height:2.75rem;font-size:1rem}.reconstruction-plan-dialog::backdrop,.writing-materials-dialog::backdrop{background:#193d3633}.reconstruction-plan-dialog button,.writing-materials-dialog button,.writing-materials-dialog select{font-size:1rem}.auth-page{position:relative;isolation:isolate;min-height:100dvh;display:grid;grid-template-columns:37.5% minmax(0,1fr);align-items:stretch;gap:0;padding:0;background:var(--ui-bg)}.auth-page:before{content:"";position:absolute;inset:25dvh 0 0;background:var(--celadon-landscape) left bottom /auto 100% no-repeat;-webkit-mask-image:linear-gradient(180deg,transparent,#000 20%);mask-image:linear-gradient(180deg,transparent,#000 20%);pointer-events:none;z-index:-1}.auth-welcome{width:100%;max-width:none;margin:0;padding:clamp(3rem,13vw,13rem) clamp(1.5rem,5.2vw,5.25rem) 2rem;align-self:stretch;display:flex;flex-direction:column;justify-content:flex-start}.auth-brand{display:block;margin-bottom:2rem;padding-left:1.25rem;border-left:2px solid var(--ui-accent);font:700 clamp(3.5rem,6vw,6rem)/1.3 var(--story-font);letter-spacing:.08em}.auth-welcome h2{font:400 clamp(1.125rem,1.6vw,1.5rem)/1.9 var(--story-font);margin:0}.auth-welcome p{font:400 clamp(1rem,1.5vw,1.375rem)/1.9 var(--story-font);margin-top:.5rem}.auth-page .auth-card{width:100%;margin-top:3.75rem;padding:clamp(3rem,11.8vw,11.75rem) clamp(2rem,10vw,10rem) 4rem;border:0;border-radius:10rem 0 0 0;box-shadow:none;background:var(--ui-surface);align-self:stretch;display:flex;flex-direction:column;justify-content:flex-start}.auth-card>:is(header,form,footer){width:100%;max-width:38rem;margin-inline:auto}.auth-card header b{display:none}.auth-card h1{font:700 clamp(2rem,3vw,3rem)/1.4 var(--story-font);letter-spacing:.02em}.auth-card header{margin-bottom:3rem}.auth-card header p{display:none}.auth-card form{gap:1.5rem}.auth-card label{font-size:1rem;font-weight:500}.auth-card input{height:auto;min-height:3.5rem;padding:.875rem 1rem;background:#fafcfb;border-color:var(--ui-border);border-radius:.625rem;font-size:1rem}.auth-card .auth-password-field input{padding-right:4.5rem}.auth-password-field>button{top:.375rem;min-height:2.75rem;font-size:.875rem;background:transparent}.auth-card form>button{height:auto;min-height:3.5rem;margin-top:.75rem;padding:.875rem 1rem;font-size:1.125rem;font-weight:500;border-radius:.625rem}.auth-card footer{margin-top:3rem;font-size:.875rem;line-height:1.8}.account-studio-shell .utility-shell{min-height:calc(100dvh - 5.5rem);grid-template-columns:clamp(12rem,18vw,18rem) minmax(0,1fr);background:transparent}.utility-sidebar{padding:2rem 1.25rem;border:0;background:transparent}.utility-sidebar a{min-height:3rem;padding:.75rem 1rem;border-radius:0;font-size:1rem}.utility-sidebar svg{display:none}.account-studio-shell .utility-main{width:100%;max-width:none;margin:0;padding:3rem clamp(1.5rem,4vw,4rem) 5rem;border-radius:4rem 0 0 0;background:var(--ui-surface)}.utility-page-heading h1{font-size:clamp(1.75rem,2.6vw,2.5rem)}.utility-page-heading p{font-size:1rem}.account-profile{padding:2rem 0;border-top:0;gap:2rem}.account-profile h2{font:700 1.75rem/1.5 var(--story-font)}.account-avatar{width:4.5rem;height:4.5rem;background:#e1ece4;font:1.75rem var(--story-font);border:0}.account-credit-total strong{font:400 3.5rem/1.25 var(--story-font);color:var(--ui-accent)}.account-credit-total span,.account-username{font-size:.875rem}.account-ledger-heading h2,.admin-users-heading h2{font-family:var(--story-font)}.account-ledger-columns,.account-ledger-row{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(4rem,.55fr) minmax(4rem,.65fr)}.account-ledger-row{min-height:4rem;font-size:1rem}.account-ledger-columns{background:#f1f6f3;font-size:.875rem}.account-ledger-table,.admin-users-table{overflow:visible;border-top:0}.account-ledger-heading p,.account-ledger-note{font-size:.875rem}.admin-studio-create{padding:0 0 2rem;border:0;border-bottom:1px solid var(--ui-border);border-radius:0;background:transparent;box-shadow:none}.admin-studio-create form{grid-template-columns:repeat(3,minmax(0,1fr)) minmax(6rem,.7fr) auto;gap:1.25rem}.admin-studio-create label{font-weight:500}.admin-studio-create input{font-weight:400}.admin-studio-create button,.admin-studio-create input,.admin-studio-create label{font-size:1rem}.admin-adjust-field input,.admin-studio-create input{height:auto;min-height:3rem;padding:.75rem;border-color:var(--ui-border)}.admin-studio-create button,.admin-user-row>button{height:auto;min-height:3rem}.admin-user-row,.admin-users-columns{min-width:0;max-width:100%;grid-template-columns:minmax(0,1.2fr) minmax(4rem,.55fr) minmax(5rem,.7fr) minmax(0,1fr) minmax(5.5rem,.65fr);gap:.75rem}.admin-user-row>*,.admin-users-columns>*{padding:.75rem .375rem;min-width:0}.managed-identity strong{white-space:normal;overflow:visible;font-size:.875rem;overflow-wrap:anywhere}.managed-identity small{font-size:.75rem;overflow-wrap:anywhere}.admin-user-row>button{font-size:.875rem;padding:.625rem}.model-provider-grid{display:flex;flex-wrap:wrap;gap:.5rem 1rem;border-bottom:1px solid var(--ui-border);margin-bottom:2rem}.model-provider-grid .model-provider-card{flex:1 1 7rem;display:flex;flex-direction:column;align-items:flex-start;padding:.75rem .5rem;min-height:0;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;box-shadow:none}.model-provider-card .model-monogram{display:none}.model-provider-grid .model-provider-card.selected{border-bottom-color:var(--ui-accent);background:transparent;box-shadow:none}.model-provider-card strong{font-size:1rem}.model-config-panel{border:0;border-radius:0}.model-activation,.model-config-panel>header{padding:1.5rem 0}.model-config-panel form{padding:0}.model-runtime-note{background:#eff5f1;border:0;border-radius:.75rem}.model-form-grid{gap:1.5rem}.model-action-buttons button,.model-form-grid input,.model-form-grid label{font-size:1rem}.model-form-grid input{min-height:3rem;height:auto;padding:.75rem;border-color:var(--ui-border)}.model-activation,.model-save-row{flex-wrap:wrap;gap:1rem}.model-action-buttons{flex-wrap:wrap;gap:.75rem}.model-audit{background:transparent;border:0}@media (max-width:1199px){.admin-studio-create form{grid-template-columns:repeat(2,minmax(0,1fr))}.celadon-revision-layout{grid-template-columns:minmax(0,1fr)}.celadon-revision-manuscript{display:none}.celadon-revision-notes{position:static;max-height:none;overflow:visible}.narrative-home .writing-home-main{margin-left:8rem;padding-inline:2.5rem}.creative-entry-shell .flow-canvas{margin-left:3rem;padding-inline:2.5rem}.studio-story-columns{gap:1.5rem}.simple-header-actions{gap:.25rem}.simple-header-actions>button{padding-inline:.5rem}.account-studio-shell .utility-shell{grid-template-columns:12rem minmax(0,1fr)}.admin-users-columns{display:none}.admin-user-row{grid-template-columns:minmax(0,1fr) minmax(5rem,auto);gap:.75rem;padding-block:1rem}.admin-user-row .admin-adjust-field{grid-row:2}.admin-user-row>button{grid-column:1/-1;justify-self:start}}@media (max-height:599px),(max-width:1023px){.simple-studio-shell.narrative-studio-shell{grid-template-columns:minmax(0,1fr)}.narrative-studio-shell .ai-command-bar,.narrative-studio-shell .simple-studio-main{grid-column:1}.narrative-studio-shell .core-mode-nav.studio-index{display:none}.narrative-studio-shell .core-mode-nav.studio-index.is-open{display:flex;position:fixed;inset:0 auto 0 0;width:min(21rem,88vw);height:100dvh;grid-row:auto;z-index:65;padding:1.5rem 1rem}.studio-index.is-open>.studio-index-brand{display:block;font-size:2rem;margin-bottom:1.5rem}.studio-index.is-open>.studio-index-back{display:flex;margin:0 0 1rem}.narrative-studio-shell .studio-index-close{display:grid;position:absolute;top:1rem;right:.5rem;width:2.75rem;height:2.75rem;color:var(--ui-text);background:transparent;border:0}.studio-index-toggle{display:inline-flex;align-items:center;gap:.5rem;min-height:2.75rem;min-width:2.75rem;background:transparent;border:0;color:var(--ui-text)}.celadon-workspace-brand{display:none}.narrative-studio-shell .simple-brand-group>strong{display:block;max-width:none;white-space:normal;overflow-wrap:anywhere;font-size:1.125rem}.narrative-studio-shell .simple-brand-group{flex:1}.narrative-studio-shell .simple-studio-main{border-radius:2rem 0 0 0}.narrative-studio-shell .simple-content,.simple-studio-shell.screenplay-workspace .simple-content{padding-top:2rem}.narrative-studio-shell .simple-utility-drawer{width:min(38rem,calc(100vw - 1rem))}.studio-story-columns{grid-template-columns:minmax(0,1fr)}}@media (max-width:899px){.product-header .product-main-navigation{margin-left:.5rem;gap:.875rem}.product-header.writing-home-header{gap:1rem}.narrative-home .writing-home-main{margin-left:3rem;padding-inline:2rem;border-top-left-radius:4rem}.account-studio-shell .utility-shell{display:block}.utility-sidebar{padding:.75rem 1.25rem}.utility-sidebar nav{display:flex;flex-wrap:wrap;gap:.5rem;position:static}.utility-sidebar a{padding:.5rem .75rem;border:0;border-bottom:2px solid transparent}.utility-sidebar a.active{border-bottom-color:var(--ui-accent)}.account-studio-shell .utility-main{padding:2rem 1.5rem 3rem;border-radius:2rem 0 0 0}.account-profile{grid-template-columns:minmax(0,1fr) auto;gap:1.25rem}.account-credit-total{grid-column:2;grid-row:1;padding-left:1.25rem}.account-logout{grid-column:1/-1;justify-self:start}.account-ledger-columns{display:none}.account-ledger-row{grid-template-columns:minmax(0,1fr) auto;gap:.5rem 1rem;padding-block:1.25rem}.account-ledger-row>*{padding:0}.account-ledger-row time{grid-column:1;grid-row:2;font-size:.875rem}.account-ledger-row b{grid-column:2;grid-row:1}.account-ledger-row>span{grid-column:2;grid-row:2;color:var(--ui-muted)}.account-ledger-row>span:before{content:"余额 "}.model-form-grid{grid-template-columns:minmax(0,1fr)}}@media (max-width:767px){.product-header.writing-home-header{min-height:4.5rem;padding:.75rem 1.25rem;flex-wrap:wrap;gap:.5rem 1rem}.product-header .writing-home-logo{font-size:2rem;padding-left:0;border:0}.product-main-navigation{display:none!important}.product-account-navigation{margin-left:auto}.product-header .account-badge{gap:.5rem}.product-header .account-badge b{width:2.25rem;height:2.25rem}.narrative-home{background-size:auto 36rem;background-attachment:scroll}.narrative-home .writing-home-main{margin:0;padding:0;background:transparent;border-radius:0}.narrative-home .writing-home-start{position:relative;isolation:isolate}.narrative-home .writing-home-start:before{content:"";position:absolute;top:.5rem;right:0;width:7rem;height:10rem;background:var(--celadon-landscape) left bottom /auto 10rem no-repeat;-webkit-mask-image:linear-gradient(270deg,#000,transparent);mask-image:linear-gradient(270deg,#000,transparent);z-index:-1;pointer-events:none}.narrative-home .writing-home-start h1{font-size:1.75rem;max-width:16ch;padding:1.5rem 1.25rem 0}.narrative-home .writing-home-intro{margin:.75rem 0 0;padding:0 1.25rem 1.75rem}.flow-canvas>.story-composer,.story-composer,.writing-home-start .story-composer{grid-template-columns:minmax(0,1fr);padding:0;gap:1rem}.narrative-home .writing-home-start .story-composer{padding:1.75rem 1.25rem 2rem;border-radius:3rem 0 0 0;background:var(--ui-surface)}.narrative-home .writing-home-recent{margin:0;padding:0 1.25rem 3rem;background:var(--ui-surface)}.composer-tabs{gap:.5rem}.composer-tabs>*{padding:.5rem .625rem .75rem;font-size:1rem}.composer-core-config{gap:1rem;align-items:flex-start}.composer-core-config label{display:grid;gap:.5rem;flex:1 1 6.5rem}.composer-core-config label :is(select,input){width:100%;max-width:100%}.composer-duration{width:100%}.composer-settings{grid-column:1}.composer-submit .writing-create-button{font-size:1rem}.narrative-home .writing-project-row{grid-template-columns:minmax(0,1fr) auto;gap:.625rem;padding:1rem 0}.narrative-home .writing-project-row:hover{padding-left:0}.project-description{display:grid;gap:.25rem}.project-description strong{font-size:1.125rem}.project-row-action{font-size:.875rem}.creative-entry-shell .flow-canvas{margin:0;padding:2rem 1.25rem 3rem;border-radius:3rem 0 0 0}.creative-entry-shell .rewrite-modes{gap:.5rem 1rem}.creative-entry-shell .rewrite-modes button{flex-basis:calc(50% - 1rem)}.reconstruction-result .result-options article{padding-left:3.75rem}.reconstruction-result .result-options article:before{left:.5rem}.narrative-studio-shell .simple-studio-header{padding:.5rem;flex-wrap:wrap;gap:.25rem}.simple-header-actions{gap:0;margin-left:auto}.narrative-studio-shell .simple-brand-group{flex:1 1 10rem;min-width:min(100%,10rem)}.narrative-studio-shell .simple-brand-group>strong{flex:1;min-width:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.simple-header-actions>button{min-width:2.75rem;min-height:2.75rem;padding:.625rem}.simple-header-actions>button>span{display:none}.simple-studio-header .account-badge span{font-size:.875rem}.simple-studio-header .account-badge b{display:none}.narrative-studio-shell .simple-content,.simple-studio-shell.screenplay-workspace .simple-content{width:calc(100% - 2.5rem);padding-top:1.75rem}.simple-stage-heading h1,.studio-screenplay-title h1{font-size:1.5rem}.simple-stage-heading{gap:1rem;flex-wrap:wrap}.simple-studio-shell .simple-direction-grid article{padding:1.25rem .5rem 1.25rem 3.75rem}.simple-studio-shell .simple-direction-grid article:before{left:.5rem;top:1.25rem}.studio-story-columns dl>div{grid-template-columns:minmax(0,1fr)}.studio-story-columns dd,.studio-story-columns dt{padding:.5rem 0}.episode-outline-toggle{grid-template-columns:2rem minmax(0,1fr)!important}.episode-expand-label,.episode-status{grid-column:2;justify-self:start}.episode-write-button{font-size:.875rem}.ai-command-frame,.studio-revision-surface .assistant-change-preview article{grid-template-columns:minmax(0,1fr)}.ai-command-frame{gap:.5rem;padding:.625rem}.ai-command-options{grid-column:1}.ai-command-bar form{grid-template-columns:minmax(0,1fr) minmax(5rem,auto);gap:.5rem}.ai-command-bar form>button{min-height:2.75rem}.narrative-studio-shell .ai-command-bar{padding:.5rem .75rem max(.5rem,env(safe-area-inset-bottom))}.narrative-studio-shell .ai-reader-toolbar{margin-bottom:.75rem;gap:.25rem}.ai-command-options{flex-wrap:wrap;overflow:visible}.ai-command-options button{white-space:normal}.narrative-studio-shell .simple-utility-drawer{inset:0;width:100%;max-height:100dvh;border-radius:0}.narrative-studio-shell .utility-content,.narrative-studio-shell .utility-header{padding:1rem 1.25rem}.narrative-studio-shell .ai-reader-settings-panel{max-height:70dvh}.auth-page{display:flex;flex-direction:column;padding-top:0;background-size:auto 34rem}.auth-welcome{padding:2rem 1.5rem;display:block}.auth-brand{font-size:2.5rem;margin-bottom:1rem;padding-left:.875rem}.auth-welcome h2{font-size:1.125rem}.auth-welcome p{font-size:1rem;margin-bottom:0}.auth-page .auth-card{flex:1;min-height:0;margin:0;padding:2.5rem 1.5rem 3rem;border-radius:3rem 0 0 0}.auth-card header{margin-bottom:1.5rem}.auth-card h1{font-size:2rem}.auth-card header p{margin-bottom:1.5rem}.auth-card footer{margin-top:2rem}.account-ledger-heading,.admin-users-heading{align-items:flex-start;flex-wrap:wrap}.admin-studio-create form{grid-template-columns:minmax(0,1fr)}.admin-user-row{grid-template-columns:minmax(0,1fr) auto}.admin-user-row .admin-adjust-field{grid-column:1/-1;grid-row:auto;padding:.25rem 0}.admin-user-row>button{justify-self:stretch}.managed-identity{gap:.5rem}.model-action-buttons{display:flex;flex-direction:column;align-items:stretch;width:100%}.model-action-buttons .model-primary{margin:0}.model-provider-grid .model-provider-card{flex:1 1 6.5rem}}@media (max-height:599px){.narrative-studio-shell .simple-studio-header{max-height:35dvh;overflow-y:auto}.narrative-studio-shell .ai-command-bar{max-height:30dvh}.auth-welcome{padding-bottom:2rem}.auth-page .auth-card{padding-top:2.5rem;padding-bottom:2.5rem}}.simple-story-stage>:is(.simple-idea-box,.studio-direction-history){display:inline-block;vertical-align:top;max-width:100%;margin:.5rem 1.5rem .5rem 0;border-bottom:1px solid var(--ui-border)}.simple-story-stage>:is(.simple-idea-box,.studio-direction-history)[open]{display:block;margin-right:0}.narrative-studio-shell .simple-content>.post-writing-notice{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1rem;padding:.75rem 1rem}.narrative-studio-shell .simple-content>.post-writing-notice>p{flex:1 1 25rem;margin:0}.narrative-studio-shell .simple-content>.post-writing-notice>button{flex:0 1 auto;margin:0}.simple-story-stage>:is(.simple-idea-box,.studio-direction-history)>summary{font-size:1rem}.studio-story-lead{position:relative;margin-block:2rem;padding:clamp(1.5rem,3vw,3rem);background:linear-gradient(115deg,#edf4ef,#f8faf8);border-radius:.25rem 2rem .25rem .25rem}.studio-story-eyebrow{display:block;color:var(--ui-accent);font:600 .875rem/1.7 var(--ui-font);letter-spacing:.12em}.studio-story-lead .studio-story-premise{margin:.75rem 0 1rem;max-width:46em;font-size:clamp(1.125rem,1.65vw,1.5rem);line-height:1.9;overflow-wrap:anywhere}.studio-story-lead .studio-material-status{margin-bottom:0}.studio-story-columns{border-top:0;padding-top:.75rem;gap:clamp(1.5rem,4vw,4rem)}.studio-story-columns>section{min-width:0}.studio-story-columns h2{display:flex;align-items:center;gap:.75rem;font-size:1.375rem}.studio-story-columns h2:before{content:"";width:1.5rem;height:2px;background:var(--ui-accent);flex:0 0 auto}.studio-story-columns dl>div{display:block;padding-block:1rem}.studio-story-columns dt{margin-bottom:.5rem;color:var(--ui-muted);font-size:.875rem}.studio-story-columns dd{margin:0;line-height:1.9;overflow-wrap:anywhere}.studio-character{margin-block:.75rem;padding:.5rem 1rem;background:#f2f6f3;border-radius:.75rem}.studio-character>summary{padding:.625rem 0;min-height:2.75rem;font-size:1.125rem;font-family:var(--story-font)}.studio-character[open]{background:#eaf2ec}.studio-character>p{line-height:1.8;margin-block:.75rem}.studio-story-next{margin-top:2rem;border-bottom:0;padding-block:1.5rem;gap:1rem}.story-development-entry{border-top-style:dashed}.story-development-panel>header{padding-bottom:1.5rem}.story-development-panel h2{font-family:var(--story-font);font-size:clamp(1.5rem,2vw,2rem)}.story-development-fields>details{padding:.25rem 0}.story-development-fields>details>summary{font:600 1.125rem/1.8 var(--story-font);padding:1rem .25rem}.story-development-group-fields{background:#f6f9f6;padding:0 1.25rem;border-radius:.75rem}.story-development-field label{font-size:1rem}.simple-episode-list .episode-outline-row{align-items:start;gap:1rem;padding-block:1.5rem!important}.simple-episode-list .episode-outline-toggle{background:transparent;border:0}.simple-episode-list .episode-number{font-size:1.875rem;line-height:1.2;font-weight:400}.simple-episode-list .episode-summary{gap:.625rem}.simple-episode-list .episode-summary>span{line-height:1.8}.simple-episode-list .episode-summary>small{line-height:1.7;color:var(--ui-muted)}.simple-episode-list .episode-status{border-radius:.25rem;background:#edf4ef;color:var(--ui-text)}.simple-episode-list .episode-status.outline_ready{background:#f5f0e9;color:var(--ui-accent)}.simple-episode-list .studio-outline-detail{margin:0 1rem 1.25rem 3.75rem;padding:1rem 0;border:0;border-top:1px solid var(--ui-border);border-radius:0;gap:1.25rem 2rem}.studio-outline-detail>div>span{color:var(--ui-accent);font-size:.875rem}.studio-outline-detail p{margin-top:.5rem;line-height:1.8}.project-review-control{max-width:none;margin-block:2rem}.project-review-heading{gap:1.25rem;align-items:flex-start}.project-check-overview>h2,.project-review-heading h2{font:600 1.5rem/1.5 var(--story-font)}.project-review-empty{margin-block:1.5rem;padding:clamp(1.25rem,3vw,2.5rem);background:#f1f6f2;border-radius:.25rem 2rem .25rem .25rem}.project-review-empty h3{margin:.75rem 0;font:400 clamp(1.25rem,2vw,1.75rem)/1.6 var(--story-font)}.project-review-empty p{max-width:48rem;color:var(--ui-muted);font-size:1rem}.project-review-start{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1.25rem;padding-top:1rem}.project-review-start>:is(.completion-quote,[role=alert],.post-writing-notice){flex-basis:100%;min-width:0}.project-review-start>.continuity-disclaimer{flex:1 1 16rem}.project-review-report{border:0;padding:1.5rem 0}.project-review-summary{font:400 1.25rem/1.9 var(--story-font)}.project-review-findings{padding-left:1.5rem}.project-review-findings>li{padding:1.25rem 0;border-bottom:1px solid var(--ui-border)}.project-check-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;background:#f1f6f2;border:0;border-radius:.75rem;padding:1.25rem}.project-check-metrics>div{min-width:0;border:0;background:transparent}.project-check-metrics dd{font:400 2rem/1.5 var(--story-font);margin:.5rem 0 0}.project-check-metrics dd span{font:400 .875rem/1.7 var(--ui-font)}.project-check-episodes>li{border:0;border-bottom:1px solid var(--ui-border);border-radius:0;padding:1.5rem 0;background:transparent}.project-review-inventory>summary{font-size:1rem}@media (max-width:767px){.studio-story-lead{padding:1.25rem;margin-block:1.25rem;border-top-right-radius:1.5rem}.studio-story-columns{grid-template-columns:minmax(0,1fr)}.studio-story-next{flex-wrap:wrap}.studio-story-next>button{width:100%}.story-development-group-fields{grid-template-columns:minmax(0,1fr);padding-inline:1rem}.simple-episode-list .studio-outline-detail{margin-left:1rem;grid-template-columns:minmax(0,1fr)}.simple-episode-list .episode-number{font-size:1.5rem}.project-review-empty{padding:1.25rem}.project-review-heading{flex-wrap:wrap}.project-check-metrics{gap:.5rem;padding:1rem .75rem}.project-check-metrics dd{font-size:1.625rem}}.simple-direction-grid article em{display:block;color:var(--ui-accent);font:400 1.125rem/1.8 var(--story-font)}.simple-direction-grid article>button{min-height:2.75rem;border-radius:.625rem;padding:.625rem 1rem;font-size:1rem}.reconstruction-result h2,.simple-direction-grid article h2{text-wrap:balance}.reconstruction-result>header{gap:1rem;flex-wrap:wrap;align-items:flex-start;padding-block:1.5rem;border-bottom:1px solid var(--ui-border)}.creative-entry-shell .reconstruction-result>header h2{font:600 clamp(1.5rem,2.2vw,2rem)/1.6 var(--story-font)}.reconstruction-result>header>button{min-height:2.75rem;font-size:1rem;border-radius:.625rem}.creative-entry-shell .reconstruction-analysis .analysis-card{padding:1.5rem;margin-block:1.5rem;background:#eff5f1;border:0;border-radius:.25rem 1.5rem .25rem .25rem}.creative-entry-shell .reconstruction-analysis h3{font:600 1.375rem/1.6 var(--story-font)}.creative-entry-shell .reconstruction-plan-dialog h3,.creative-entry-shell .reconstruction-result .result-options h3{font-family:var(--story-font)}.narrative-studio-shell .simple-utility-drawer .utility-header h2{font:600 1.625rem/1.5 var(--story-font)}.reconstruction-analysis :is(p,dd){font-size:1rem;line-height:1.9}.reconstruction-analysis :is(summary,button),.reconstruction-plan>summary{min-height:2.75rem;font-size:1rem}.reconstruction-finding{border:0;border-top:1px solid var(--ui-border);padding-block:1.25rem}.reconstruction-original pre,.reconstruction-quote blockquote{padding:1rem;background:#f4f8f5;border:0;border-left:2px solid var(--ui-accent);border-radius:0 .625rem .625rem 0;font-size:1rem;line-height:1.9}.reconstruction-next{padding:1.5rem 0;border-top:1px solid var(--ui-border);gap:1.25rem}.reconstruction-result .result-options article>small{color:var(--ui-muted)}.reconstruction-plan-dialog>header,.writing-materials-dialog>header{padding:1.5rem;border-bottom:1px solid var(--ui-border);gap:1rem}.reconstruction-plan-dialog h3,.writing-materials-dialog h2{font:600 1.625rem/1.5 var(--story-font)}.reconstruction-plan-dialog-body{padding:1.5rem;gap:1.5rem}.reconstruction-plan-dialog-body>section{border-top:1px solid var(--ui-border);padding-top:1rem}.reconstruction-plan-dialog-body h4{color:var(--ui-accent);font-size:1.125rem}.reconstruction-plan-dialog-body dd{font-size:1rem;line-height:1.85}.writing-materials-body{padding:1.5rem}.writing-materials-body>p:first-child{margin-top:0;color:var(--ui-muted)}.writing-materials-body>details{margin-top:1rem;padding:.75rem 1rem;background:#f2f7f3;border-radius:.75rem}.writing-materials-body>details>summary{color:var(--ui-text);font-weight:600}.writing-materials-body article{border:0;border-top:1px solid var(--ui-border);border-radius:0;padding:1rem 0;background:transparent}.writing-materials-body blockquote{border:0;border-left:2px solid var(--ui-accent);background:white;padding:.75rem 1rem;margin-inline:0}.writing-materials-dialog>footer{padding:1rem 1.5rem;background:#f5f8f5;gap:.75rem}.writing-materials-dialog>footer button{border-radius:.625rem}.utility-content>.story-reference>.story-reference-intro{font-size:1rem;line-height:1.85;color:var(--ui-muted)}.story-reference-section>summary{min-height:3rem;padding-block:.875rem;font-size:1rem}.story-reference-section dl{line-height:1.85}.story-reference-section dt{color:var(--ui-muted);font-size:.875rem}.story-reference-section dd{font-size:1rem}.story-reference-status{border:0;border-left:2px solid var(--ui-accent);border-radius:0 .5rem .5rem 0;background:#f1f6f2}.story-character{background:#f4f8f5;padding:.5rem 1rem;border:0;border-radius:.75rem;margin-block:.75rem}.story-character>summary{font:600 1.125rem/1.8 var(--story-font)}.author-fact-editor,.author-fact-review{border:0;border-radius:.75rem;padding:1.25rem;background:#f1f6f2}.author-fact-card,.author-fact-history{border:0;border-top:1px solid var(--ui-border);border-radius:0;padding:1.25rem 0}.author-fact-recovery button,.author-facts :is(button,label){font-size:1rem}.author-facts h4{font-family:var(--story-font);font-size:1.25rem}.author-fact-comparison>div{padding-left:1rem;border-left:2px solid var(--ui-border-strong)}.screenplay-source-search :is(button,input,select){font-size:1rem}.version-create{padding:1rem;background:#eff5f1;border-radius:.75rem;gap:.75rem}.version-create input{border-color:var(--ui-border);border-radius:.625rem}.version-list{padding-top:.75rem}.version-list article{position:relative;gap:1rem;padding:1.25rem 0 1.25rem 1.25rem;border:0;border-left:1px solid var(--ui-border-strong);border-bottom:1px solid var(--ui-border);border-radius:0;background:transparent}.version-list article:before{content:"";position:absolute;left:-.25rem;top:1.75rem;width:.5rem;height:.5rem;border-radius:50%;background:var(--ui-accent)}.version-list article small{display:block;margin-top:.5rem;color:var(--ui-muted);line-height:1.7;overflow-wrap:anywhere}.version-list article button,.version-more{min-height:2.75rem;font-size:1rem}.export-utility>p{margin-block:1.5rem;color:var(--ui-muted);font-size:1rem;line-height:1.9}.simple-utility-drawer .export-utility>button{padding:1.5rem;border:1px solid var(--ui-border);border-radius:.75rem;background:#f4f8f5;min-height:6rem;text-align:left}.export-utility>button:not(:disabled):hover{border-color:var(--ui-accent);background:#edf4ef}.export-utility>button strong{font:600 1.375rem/1.5 var(--story-font)}.export-utility>button span{margin-top:.5rem;font-size:1rem;line-height:1.75;color:var(--ui-muted)}.export-utility .last-export{padding:1.25rem 0;background:transparent;border:0;border-top:1px solid var(--ui-border)}.script-edit-actions{flex-wrap:wrap;gap:.75rem}.is-document-editing .script-edit-hint{padding:.875rem 1rem;background:#f0f6f2;border-left:2px solid var(--ui-accent);border-radius:0 .625rem .625rem 0;font-size:1rem;line-height:1.8}.is-document-editing [contenteditable=true]{border-radius:.25rem;text-decoration:underline;text-decoration-color:#a7bbaf;text-underline-offset:.25em}.is-document-editing [contenteditable=true]:focus{outline:2px solid var(--ui-accent);outline-offset:3px;background:#f6f9f6}.manuscript-menu-content{border-color:var(--ui-border);border-radius:.75rem;box-shadow:0 .5rem 2rem #193d3610;background:var(--ui-surface)}.manuscript-brief-content h3{color:var(--ui-accent);font-size:1rem}.manuscript-menu-content :is(p,button){font-size:1rem;line-height:1.8}.job-progress-card,.rewrite-recovery{border:0;border-left:3px solid var(--ui-accent);border-radius:0 1rem 1rem 0;background:#eff5f1;padding:1.25rem;color:var(--ui-text)}.job-progress-card>div>span{color:var(--ui-accent);font-size:.875rem}.job-progress-card strong{font:600 1.25rem/1.6 var(--story-font)}.job-progress-card small,.rewrite-recovery p{font-size:1rem;line-height:1.8}.job-progress-card button,.rewrite-recovery-actions :is(button,a){min-height:2.75rem;font-size:1rem;border-radius:.625rem}.job-progress-track{height:.375rem;border-radius:1rem;background:#dce9e0}.job-progress-track i{background:var(--ui-accent);border-radius:inherit}@media (max-width:767px){.reconstruction-next,.reconstruction-result>header{flex-direction:column;align-items:stretch}.reconstruction-next .flow-primary{width:100%}.reconstruction-plan-dialog>header,.writing-materials-dialog>header{padding:1rem;flex-wrap:wrap}.reconstruction-plan-dialog-body,.writing-materials-body{padding:1rem}.reconstruction-plan-dialog-body{grid-template-columns:minmax(0,1fr)}.writing-materials-dialog>footer{padding:1rem}.writing-materials-dialog>footer button{flex:1 1 10rem}.export-utility>button{padding:1.25rem}.version-create{padding:.875rem}}.simple-studio-shell .simple-screenplay-actions>button:disabled{min-height:1.75rem;padding:.25rem 0;border:0!important;background:transparent!important;color:var(--ui-muted)!important;font-size:.75rem;font-weight:400;opacity:1}@media (max-width:1023px){.account-credit-total strong{font-size:2.25rem}}@media (min-width:1024px) and (pointer:fine){.product-header.writing-home-header{min-height:4.25rem;padding:.625rem 2rem;gap:1.25rem}.product-header .writing-home-logo{font-size:2rem;padding-left:.75rem}.product-header .product-main-navigation{margin-left:2rem;gap:1.75rem}.product-header .product-main-navigation>a{font-size:.875rem;min-height:2.25rem}.product-header .account-badge{gap:.625rem;min-height:2.25rem}.product-header .account-badge b{width:2rem;height:2rem}.account-badge span,.simple-studio-header .account-badge span{font-size:.875rem}.account-studio-shell:before,.creative-entry-shell:before,.narrative-home:before{width:clamp(8rem,13vw,13rem)}.narrative-home .writing-home-main{min-height:calc(100dvh - 4.25rem);margin-left:clamp(8rem,13vw,13rem);padding:2.5rem clamp(2.5rem,5vw,5rem) 3rem;border-top-left-radius:4.5rem}.narrative-home .writing-home-start h1{font-size:2.125rem;font-weight:500}.narrative-home .writing-home-intro{margin:.625rem 0 1.5rem;font-size:.875rem}.flow-canvas>.story-composer,.story-composer,.writing-home-start .story-composer{gap:1rem 1.25rem}.composer-tabs{gap:1.5rem}.composer-tabs>*{font-size:.9375rem;padding:.375rem .75rem .625rem}.story-composer .writing-idea-input textarea{min-height:6rem;padding:.75rem .875rem 1.75rem;font-size:.9375rem}.composer-core-config label,.composer-duration,.composer-settings>summary,.writing-idea-input>span{font-size:.8125rem}.composer-core-config{gap:1rem}.composer-core-config label{gap:.5rem}.composer-core-config input,.composer-core-config select{min-height:2.25rem;height:auto;padding-block:.375rem;font-size:.875rem}.composer-professional summary,.composer-settings select{font-size:.875rem}.composer-submit{flex-direction:row;align-items:center;justify-content:space-between;gap:1rem}.composer-submit>span{text-align:left;font-size:.75rem}.composer-submit .writing-create-button{width:auto;min-width:12rem;min-height:2.5rem;padding:.5rem 1.25rem;font-size:.9375rem}.composer-examples button,.composer-examples>span{font-size:.8125rem}.narrative-home .writing-home-recent{margin-top:2rem}.narrative-home .writing-home-recent-heading h2{font-size:1.125rem}.narrative-home .writing-project-row{min-height:3.125rem;padding:.75rem 0;gap:1rem}.project-description strong{font-size:.9375rem}.project-description span,.project-row-action,.project-updated{font-size:.8125rem}.creative-entry-shell .flow-canvas{min-height:calc(100dvh - 4.25rem);padding:2.25rem clamp(2rem,5vw,5rem) 3rem;border-top-left-radius:4.5rem}.creative-entry-shell .start-heading h1{font-size:1.875rem;font-weight:500}.creative-entry-shell .start-heading p,.rewrite-instruction>span,.source-input>label:not(.file-pick){font-size:.875rem}.creative-entry-shell .source-input textarea{min-height:11rem;font-size:.9375rem}.creative-entry-shell .rewrite-form{gap:1.125rem}.rewrite-modes button strong{font-size:.875rem}.reconstruction-note,.rewrite-modes button span,.rewrite-scope-note,.rights-check{font-size:.8125rem;line-height:1.7}.creative-entry-shell .flow-primary{min-height:2.5rem;font-size:.875rem}.simple-studio-shell.narrative-studio-shell{--workspace-nav-width:14rem;--workspace-gutter:clamp(2rem,3.5vw,3.5rem)}.narrative-studio-shell .simple-studio-header{min-height:3.5rem;padding:.375rem 1.5rem}.celadon-wordmark{font-size:1.875rem}.celadon-workspace-brand{gap:1rem}.celadon-back-link{padding-left:1rem;min-height:2rem;font-size:.8125rem}.simple-header-actions>button{min-height:2rem;padding:.375rem .5rem;font-size:.8125rem}.studio-mobile-account .account-badge{min-height:2rem}.narrative-studio-shell .core-mode-nav.studio-index{padding:2rem 1.25rem 1rem}.studio-project-title{font-size:1.125rem;margin-bottom:1.125rem}.studio-content-index>div>button{min-height:2.5rem;font-size:.875rem;padding:.5rem .75rem}.studio-index-episodes{margin-block:.75rem 1rem}.studio-index-episodes button{min-height:2.5rem;padding-block:.375rem;gap:.125rem .375rem}.studio-index-episodes button:before{top:.8125rem;width:.5rem;height:.5rem}.studio-index-episodes button strong{font-size:.8125rem}.narrative-studio-shell .simple-studio-main{border-top-left-radius:4.5rem}.narrative-studio-shell .simple-content,.simple-studio-shell.screenplay-workspace .simple-content{padding-top:2rem;padding-bottom:2rem}.simple-stage-heading h1{font-size:1.75rem;font-weight:500}.studio-screenplay-title h1{font-size:2rem}.simple-stage-heading p{font-size:.875rem}.simple-stage-heading{padding-bottom:1.125rem;margin-bottom:1.25rem}.outline-main-actions button,.quiet-action,.simple-primary,.story-development-editor button{min-height:2.25rem;padding:.5rem .875rem;font-size:.875rem}.narrative-studio-shell .ai-reader-toolbar{margin-bottom:1rem;padding-bottom:.5rem;gap:.5rem}.manuscript-menu-content button,.narrative-studio-shell .ai-reader-toolbar :is(button,summary){min-height:2rem;font-size:.8125rem;padding:.375rem .625rem}.simple-studio-shell .simple-screenplay-actions>button:disabled{min-height:1.75rem;padding:.25rem 0;border:0!important;background:transparent!important;color:var(--ui-muted)!important;font-size:.75rem;font-weight:400;opacity:1}.narrative-studio-shell .ai-command-bar{padding:.5rem var(--workspace-gutter)}.ai-command-frame{padding:.5rem .75rem;gap:.25rem .75rem}.ai-command-bar textarea{min-height:2.5rem;height:2.5rem;padding:.5rem .75rem;font-size:.875rem}.ai-command-bar form{gap:.625rem}.ai-command-bar form>button{min-height:2.5rem;padding:.5rem .875rem;font-size:.875rem}.ai-command-options button{min-height:1.75rem;padding:.25rem .5rem;font-size:.75rem}.ai-command-heading>.ai-command-scope{font-size:.75rem}.memory-refresh .post-writing-recovery>summary{min-height:2rem;padding-block:.375rem}.post-writing-notice,.studio-current-episode,.studio-material-status{font-size:.75rem}.studio-story-lead{padding:1.5rem;margin-block:1.5rem;border-top-right-radius:1.25rem}.studio-story-lead .studio-story-premise{font-size:1.25rem;line-height:1.8}.studio-story-eyebrow{font-size:.75rem}.studio-story-columns{gap:2rem}.studio-story-columns h2{font-size:1.125rem}.studio-character>p,.studio-story-columns dd{font-size:.875rem;line-height:1.8}.studio-character>summary{font-size:1rem;min-height:2.25rem;padding-block:.375rem}.simple-story-stage>:is(.simple-idea-box,.studio-direction-history)>summary{font-size:.8125rem;min-height:2rem;padding-block:.5rem}.simple-studio-shell .simple-direction-grid article{padding:1.125rem 1rem 1.125rem 3.75rem}.simple-studio-shell .simple-direction-grid article:before{left:.75rem;top:1.25rem;font-size:1.5rem}.simple-studio-shell .simple-direction-grid h2{font-size:1.25rem}.simple-direction-grid article>button,.simple-studio-shell .simple-direction-grid p{font-size:.875rem}.simple-direction-grid article em{font-size:1rem}.simple-episode-list .episode-outline-row{padding-block:1rem!important}.simple-studio-shell .episode-summary strong{font-size:1.125rem}.episode-summary>span,.studio-outline-detail p{font-size:.875rem}.project-check-overview>h2,.project-review-heading h2{font-size:1.25rem}.project-review-empty{padding:1.5rem}.project-review-empty h3{font-size:1.375rem}.project-review-empty p{font-size:.875rem}.project-review-control{margin-block:1.5rem}.narrative-studio-shell .simple-utility-drawer{top:3.5rem;width:min(36rem,48vw);max-height:calc(100dvh - 3.5rem);border-top-left-radius:1.5rem}.narrative-studio-shell .utility-header{padding:1.125rem 1.25rem}.narrative-studio-shell .simple-utility-drawer .utility-header h2{font-size:1.25rem}.narrative-studio-shell .utility-content{padding:1.25rem}.utility-content :is(p,dd,label,input,select,textarea,button),.utility-content>.story-reference>.story-reference-intro{font-size:.875rem}.utility-content :is(button,input,select){min-height:2.25rem}.story-reference-section>summary{min-height:2.5rem;padding-block:.625rem;font-size:.875rem}.story-reference-section dt{font-size:.75rem}.author-facts h4{font-size:1.125rem}.narrative-studio-shell .ai-reader-settings-panel{padding:1.25rem;border-radius:.75rem}.ai-reader-settings-panel h3{font-size:1.125rem}.ai-reader-settings-fields button{min-height:2.25rem;font-size:.875rem}.version-create{padding:.875rem}.version-list article{padding-block:1rem}.version-list article strong{font-size:.875rem}.export-utility>p{margin-block:1.125rem}.simple-utility-drawer .export-utility>button{padding:1rem 1.125rem;min-height:5rem}.export-utility>button strong{font-size:1.125rem}.export-utility>button span{font-size:.8125rem}.version-restore-dialog h2,.writing-materials-dialog h2{font-size:1.375rem}.version-restore-body,.writing-materials-dialog :is(p,label,select){font-size:.875rem}.version-restore-body,.version-restore-dialog>header,.writing-materials-dialog :is(header,footer){padding:1.125rem 1.25rem}.version-restore-dialog footer button,.writing-materials-dialog button{min-height:2.25rem;font-size:.875rem}.auth-brand{font-size:4rem}.auth-page .auth-card{padding-top:clamp(4rem,8vw,8rem);border-top-left-radius:5rem}.auth-card h1{font-size:2rem}.auth-card header{margin-bottom:2rem}.auth-card form>button,.auth-card input{min-height:2.75rem;font-size:1rem;padding-block:.625rem}.account-studio-shell .utility-shell{min-height:calc(100dvh - 4.25rem);grid-template-columns:12rem minmax(0,1fr)}.utility-sidebar{padding:1.5rem 1rem}.utility-sidebar a{min-height:2.5rem;font-size:.875rem;padding:.5rem .75rem}.account-studio-shell .utility-main{padding:2rem clamp(2rem,3.5vw,3.5rem) 3rem;border-top-left-radius:3rem}.utility-page-heading h1{font-size:1.75rem;font-weight:500}.utility-page-heading p{font-size:.875rem}.account-profile{padding:1.25rem 0;gap:1.25rem}.account-avatar,.account-profile h2{font-size:1.25rem}.account-avatar{width:3rem;height:3rem}.account-credit-total strong{font-size:2.25rem}.account-credit-total span,.account-username{font-size:.75rem}.account-ledger-heading h2,.admin-users-heading h2{font-size:1.25rem}.account-ledger-row{min-height:2.875rem;font-size:.875rem}.account-ledger-columns,.account-ledger-heading p,.account-ledger-note{font-size:.75rem}.admin-studio-create form,.model-form-grid{gap:1rem}.admin-adjust-field input,.admin-studio-create :is(label,input,button),.model-action-buttons button,.model-form-grid :is(label,input){font-size:.875rem}.admin-adjust-field input,.admin-studio-create :is(input,button),.model-action-buttons button,.model-form-grid input{min-height:2.25rem;padding-block:.5rem}.model-provider-card strong{font-size:.875rem}.model-runtime-note{padding:1rem}.creative-entry-shell .reconstruction-result>header h2{font-size:1.625rem}.creative-entry-shell .reconstruction-analysis .analysis-card{padding:1.25rem;margin-block:1.125rem}.creative-entry-shell .reconstruction-analysis h3{font-size:1.125rem}.reconstruction-analysis :is(p,dd),.reconstruction-result .result-options p{font-size:.875rem}.creative-entry-shell .reconstruction-result .result-options h3{font-size:1.25rem}.reconstruction-result .result-options article{padding:1.25rem 1rem 1.25rem 3.75rem}.reconstruction-result .result-options article:before{font-size:1.5rem;left:.75rem}}.narrative-home .writing-home-start{max-width:72rem}.narrative-home .writing-home-intro{margin-bottom:1.25rem}.narrative-home .story-composer{gap:.75rem 1.25rem}.narrative-home .story-composer .composer-tabs{margin-bottom:.25rem}.narrative-home .story-composer .writing-idea-input{gap:.5rem}.narrative-home .composer-examples{order:0;margin-top:-.25rem}.narrative-home .composer-examples button{text-decoration:none}.narrative-home .composer-examples button:hover{color:var(--ui-accent);text-decoration:underline}.narrative-home .composer-core-config,.narrative-home .composer-settings{order:1}.narrative-home .composer-submit{padding-top:.5rem}.narrative-home .writing-home-recent{border-top:1px solid var(--ui-border);padding-top:1.5rem;margin-top:2rem}.writing-home-recent-heading>div:first-child{display:grid;gap:.25rem}.project-library-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:.75rem}.writing-home-recent-heading p{font-size:.8125rem;color:var(--ui-muted);margin:0}.project-library-search{display:flex;flex-wrap:nowrap;align-items:center;gap:.5rem .75rem;padding:.75rem 0}.project-library-tools>button{display:flex;align-items:center;gap:.5rem;min-height:2.75rem;padding:.5rem 0;border:0;background:transparent;color:var(--ui-accent);font:.875rem/1.5 var(--ui-font);cursor:pointer}.project-library-search label{font-size:.8125rem;color:var(--ui-muted)}.narrative-home .project-library-search input{width:min(15rem,100%);min-height:2.75rem;padding:.5rem .75rem;border:1px solid var(--ui-border);border-radius:.5rem;background:var(--ui-surface);color:var(--ui-text);font:1rem/1.5 var(--ui-font)}.project-library-search>span{font-size:.75rem;color:var(--ui-muted);white-space:nowrap}.project-library-search button{min-height:2.75rem;border:0;background:transparent;color:var(--ui-accent);font-size:.875rem;padding:.5rem}.narrative-home .writing-project-row{grid-template-columns:minmax(0,1fr) minmax(7rem,auto) minmax(6rem,auto) minmax(5rem,auto)}.project-saved-progress{color:var(--ui-muted);font-size:.8125rem;overflow-wrap:anywhere}@media (min-width:1024px) and (pointer:fine){.narrative-home .project-library-search input{min-height:2.25rem;font-size:.875rem}.project-library-search button{min-height:2.25rem}.narrative-home .composer-examples button{min-height:2rem}}@media (max-width:767px){.narrative-home .writing-project-row{grid-template-columns:minmax(0,1fr) auto;gap:.5rem 1rem}.writing-project-row .project-description{grid-row:1;grid-column:1}.writing-project-row .project-saved-progress{grid-row:2;grid-column:1}.writing-project-row time{grid-row:1;grid-column:2}.writing-project-row .project-row-action{grid-row:2;grid-column:2}.writing-home-recent-heading{flex-wrap:wrap}.project-library-tools{width:100%;justify-content:space-between}.project-library-search{flex:1 1 15rem}.narrative-home .project-library-search input{flex:1 1 10rem;width:100%}}.panel-intro{color:var(--ui-muted);font-size:.875rem;line-height:1.8;margin:0 0 1.25rem}.version-panel .version-create{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.75rem;padding:0 0 1.5rem;border:0;border-radius:0;background:transparent;align-items:end}.version-create label{display:grid;gap:.5rem;font-size:.875rem;min-width:0}.version-create .version-name-label{color:var(--ui-text);font-size:.875rem}.version-name-label small{margin-left:.5rem;color:var(--ui-muted);font-size:.75rem;font-weight:400}.version-create input{width:100%;min-width:0;min-height:2.75rem;padding:.625rem .75rem;border:1px solid var(--ui-border-strong);border-radius:.5rem;background:var(--ui-surface);color:var(--ui-text);font:1rem/1.5 var(--ui-font)}.version-history-heading{display:flex;gap:.75rem;align-items:baseline;font-size:1rem;margin:0;padding-top:1rem;border-top:1px solid var(--ui-border)}.version-history-heading>span{color:var(--ui-muted);font-size:.75rem;font-weight:400}.version-list article>div{min-width:0;overflow-wrap:anywhere}.export-format-options{display:grid;gap:.75rem}.export-format-options h3{font-size:1rem;margin:.5rem 0}.export-format-options>button{display:grid;grid-template-columns:3.5rem minmax(0,1fr) 1rem;gap:1rem;align-items:center;min-height:5rem;padding:1rem;text-align:left;border:1px solid var(--ui-border);border-radius:.625rem;color:var(--ui-text);background:var(--ui-surface)}.export-format-options>button:not(:disabled):hover{border-color:var(--ui-accent);background:#f3f7f4}.export-format-options button .export-format-tag{display:grid;place-items:center;margin:0;min-height:3.5rem;border-radius:.5rem;background:#edf4ef;color:var(--ui-accent);font:600 .75rem/1.5 var(--ui-font)}.export-format-options .export-format-description{display:grid;gap:.25rem;min-width:0;margin:0}.export-format-options .export-format-description strong{font:600 1rem/1.5 var(--ui-font)}.export-format-options .export-format-description>span{color:var(--ui-muted);font-size:.8125rem;line-height:1.7;margin:0}.export-format-options svg{width:1rem;height:1rem}.export-review-details{border-bottom:1px solid var(--ui-border);padding-bottom:.75rem}.export-review-details>summary,.story-reference-guide>summary{min-height:2.75rem;padding-block:.625rem;font-size:.875rem;color:var(--ui-muted);cursor:pointer}.story-reference-guide p{font-size:.875rem;line-height:1.8}.story-reference-guide{margin-bottom:.5rem}.account-studio-shell .account-profile{border:0;border-bottom:1px solid var(--ui-border);border-radius:0;background:transparent}.account-profile .account-identity{grid-column:1;grid-row:1}.account-profile .account-credit-total{grid-column:2;grid-row:1}.account-identity>div:last-child{min-width:0}.account-identity :is(h2,p){overflow-wrap:anywhere}.model-config-panel h2{font-size:1.25rem}.model-runtime-note{font-size:.875rem;line-height:1.8}@media (min-width:1024px) and (pointer:fine){.version-create input{min-height:2.25rem;font-size:.875rem}.version-panel .version-create>button{min-height:2.25rem}}@media (max-width:899px){.account-studio-shell .account-profile{grid-template-columns:minmax(0,1fr) auto;padding:1.25rem 0;gap:.75rem 1rem;min-height:0}.account-profile .account-identity{gap:.625rem}.account-profile .account-avatar{width:2.75rem;height:2.75rem;font-size:1.125rem}.account-profile h2{font-size:1.125rem;line-height:1.5}.account-profile .account-username{font-size:.75rem}.account-profile .account-credit-total{padding-left:.75rem;min-width:4.5rem;border-left:1px solid var(--ui-border)}.account-credit-total strong{font-size:2rem}.account-profile .account-logout{grid-column:1/-1;grid-row:2;min-height:2.75rem;justify-self:end;font-size:.875rem}.account-ledger-row{font-size:.875rem;padding-block:.875rem;gap:.375rem .75rem}.account-ledger-row time{font-size:.75rem}}@media (max-width:479px){.version-panel .version-create{grid-template-columns:minmax(0,1fr)}.version-panel .version-create>button{justify-self:stretch}.export-format-options>button{grid-template-columns:2.75rem minmax(0,1fr) 1rem;padding:.875rem;gap:.75rem}.export-format-options button .export-format-tag{min-height:2.75rem}.utility-sidebar a{font-size:.875rem}}.episode-writing-actions{position:relative;display:flex;flex-wrap:wrap;gap:.5rem .875rem;align-items:center}.episode-writing-actions>button{min-height:2.75rem;padding:.625rem 1rem}.episode-writing-actions .episode-batch-options{position:static}.episode-writing-actions .episode-batch-options>button,.episode-writing-actions .episode-batch-options>p{max-width:26rem}.writing-materials-cost{color:var(--ui-text);font-weight:600}@media (min-width:1024px) and (pointer:fine){.episode-writing-actions>button{min-height:2.25rem;font-size:.875rem;padding-block:.5rem}}.episode-batch-options{text-align:left;min-width:0;max-width:28rem}.episode-batch-options>summary{cursor:pointer;color:var(--ui-muted);min-height:2.75rem;padding:.625rem .25rem;font:.875rem/1.5 var(--ui-font)}.episode-batch-options p{font-size:.875rem;line-height:1.8}.ai-command-heading>small{display:block;color:var(--ui-muted);font:.75rem/1.5 var(--ui-font)}.ai-reader-passage>.script-selection-ai{display:inline-flex;align-items:center;min-height:2.75rem;margin-top:.5rem;padding:.5rem .875rem;border:1px solid var(--ui-border-strong);border-radius:.5rem;background:var(--ui-surface);color:var(--ui-accent);font:.875rem/1.5 var(--ui-font);cursor:pointer}@media (min-width:1024px) and (pointer:fine){.ai-reader-passage>.script-selection-ai{min-height:2.25rem;font-size:.8125rem}}.story-stage-actions{display:flex;position:relative;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:.5rem 1rem}.story-rethink>summary{min-height:2.75rem;padding:.625rem .25rem;color:var(--ui-muted);cursor:pointer;font-size:.875rem}.story-rethink>div{position:absolute;right:0;top:100%;z-index:30;width:min(22rem,100%);padding:1rem;border:1px solid var(--ui-border);border-radius:.75rem;background:var(--ui-surface);box-shadow:0 .75rem 2rem #193d361a}.story-rethink p{font-size:.875rem;line-height:1.8;margin:0 0 .75rem}.simple-story-stage:has(.story-stage-actions) .studio-story-next{display:none}.narrative-studio-shell .simple-studio-main{border-top-left-radius:2.5rem}.narrative-studio-shell .studio-screenplay-title{display:flex;align-items:baseline;gap:.25rem .75rem;flex-wrap:wrap}.narrative-studio-shell .studio-screenplay-title h1{margin:0}.narrative-studio-shell .studio-screenplay-title>span:last-child{flex-basis:100%}.narrative-studio-shell .simple-screenplay-header{max-width:none;margin-bottom:.75rem}.narrative-studio-shell .simple-screenplay-actions{margin-top:.5rem}.narrative-studio-shell .ai-reader-toolbar{margin-bottom:1rem;padding-bottom:.5rem;border-bottom:1px solid var(--ui-border);gap:.375rem .75rem}.post-writing-notice:focus{outline:2px solid var(--ui-accent);outline-offset:3px}@media (min-width:1024px) and (pointer:fine){.story-rethink button,.story-stage-actions>button{min-height:2.25rem;font-size:.875rem;padding:.5rem .875rem}.story-rethink>summary{min-height:2.25rem;padding-block:.5rem}}@media (max-width:767px){.story-stage-actions{width:100%;justify-content:flex-start}.narrative-studio-shell .simple-studio-main{border-top-left-radius:1.5rem}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,:after,:before{transition:none!important;animation:none!important}}