.creation-studio{--studio-ink:#20233b;--studio-muted:#717588;--studio-accent:#315d7c;--studio-accent-soft:#eff3f6;--studio-border:#e6e7ef;--studio-surface:#fff;--studio-background:#f6f7fb;width:100%;min-width:0;color:var(--studio-ink);margin:0 auto;padding:32px 36px 56px}.creation-studio a,.creation-studio button,.creation-studio summary{-webkit-tap-highlight-color:transparent}.creation-studio :is(a,button,summary):focus-visible{outline:2px solid var(--studio-accent);outline-offset:4px}.creation-studio p{line-height:1.75}.creation-studio .field label{color:var(--studio-ink);font-size:13px;font-weight:600}.creation-studio .field input,.creation-studio .field textarea{border:1px solid var(--studio-border);background:var(--studio-surface);box-shadow:none;border-radius:9px;font-size:14px;line-height:1.8}.creation-studio .field textarea{resize:vertical;min-height:120px}.creation-studio .field input:focus,.creation-studio .field textarea:focus{border-color:var(--studio-accent)}.creation-studio .studio-primary{background:var(--studio-accent);color:#fff;border-radius:9px;gap:8px;min-height:44px;padding-inline:20px;font-size:13px;font-weight:600}.creation-studio .studio-primary[data-disabled=true]{opacity:.5}.creation-kicker{color:var(--studio-accent);letter-spacing:.025em;align-items:center;gap:7px;font-size:12px;font-weight:600;display:inline-flex}.studio-icon-tile{width:40px;height:40px;color:var(--studio-accent);background:var(--studio-accent-soft);border-radius:11px;flex:none;justify-content:center;align-items:center;display:inline-flex}.story-intro{padding:0 0 20px}.story-intro h1{letter-spacing:-.04em;margin:0 0 8px;font-size:clamp(24px,2.2vw,30px);font-weight:650;line-height:1.45}.story-intro h1 em{color:var(--studio-accent);font-style:normal}.story-intro>p{color:var(--studio-muted);margin:0;font-size:13px}.studio-steps{border:1px solid var(--studio-border);background:var(--studio-surface);border-radius:13px;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-bottom:20px;padding:14px 20px;display:grid}.studio-steps>span{color:var(--studio-muted);align-items:center;gap:12px;font-size:13px;display:flex}.studio-steps b{border:1px solid var(--studio-border);background:var(--studio-background);border-radius:50%;flex:none;justify-content:center;align-items:center;width:34px;height:34px;font-size:11px;font-weight:600;display:inline-flex}.studio-steps small{color:var(--studio-muted);margin-top:4px;font-size:11px;font-weight:400;display:block}.studio-steps [aria-current=step]{color:var(--studio-accent);font-weight:650}.studio-steps [aria-current=step] b{color:#fff;border-color:var(--studio-accent);background:var(--studio-accent);box-shadow:0 0 0 5px var(--studio-accent-soft)}.studio-steps [data-complete=true] b{color:var(--studio-accent);background:var(--studio-accent-soft);border-color:var(--studio-accent-soft)}.new-story-studio{max-width:960px}.new-story-layout{grid-template-columns:minmax(0,1fr);align-items:start;gap:22px;display:grid}.story-form-card,.studio-plan,.studio-next-chapter{border:1px solid var(--studio-border);background:var(--studio-surface);border-radius:16px;min-width:0;padding:26px;overflow:hidden;box-shadow:0 3px 16px #20233b03}.story-form-card>.form-draft-notice,.studio-plan-body>.form-draft-notice{margin-bottom:16px}.studio-card-heading{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px;display:flex}.studio-card-heading h2{letter-spacing:-.02em;margin:3px 0 7px;font-size:19px;font-weight:650;line-height:1.5}.studio-card-heading p{color:var(--studio-muted);margin:0;font-size:12px}.story-idea-field textarea{background:#fcfdfe!important;min-height:184px!important;padding:16px!important}.idea-field-meta{color:var(--studio-muted);justify-content:space-between;gap:18px;margin:9px 0 24px;font-size:11px;line-height:1.6;display:flex}.idea-field-meta>span:last-child{font-variant-numeric:tabular-nums;flex-shrink:0}.studio-preferences{border-top:1px solid var(--studio-border);border-bottom:1px solid var(--studio-border)}.studio-preferences>summary{cursor:pointer;min-height:60px;color:var(--studio-ink);align-items:center;gap:9px;font-size:13px;font-weight:600;list-style:none;display:flex}.studio-preferences>summary::-webkit-details-marker{display:none}.studio-plan-chapter>summary::-webkit-details-marker{display:none}.studio-task-history>summary::-webkit-details-marker{display:none}.studio-preferences>summary>:last-child{margin-left:auto;transition:transform .2s}.studio-preferences[open]>summary>:last-child{transform:rotate(90deg)}.studio-preferences small{color:var(--studio-muted);margin-left:12px;font-size:11px;font-weight:400}.studio-preferences-fields{grid-template-columns:minmax(0,1fr) 150px;gap:16px;padding:8px 0 24px;display:grid}.style-preference{grid-column:1/-1}.story-submit-row{justify-content:space-between;align-items:center;gap:20px;padding-top:24px;display:flex}.studio-budget{color:var(--studio-muted);align-items:flex-start;gap:9px;display:flex}.studio-budget>:first-child{color:var(--studio-accent);flex:none;margin-top:3px}.studio-budget p{margin:0;font-size:12px;line-height:1.6}.studio-budget p strong{color:var(--studio-accent);font-size:15px}.studio-budget small{margin-top:4px;font-size:10px;display:block}.story-submit-row>button{flex-shrink:0}.story-inspirations{margin-top:34px}.inspiration-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:14px;display:flex}.inspiration-heading h2{margin:0;font-size:14px;font-weight:600}.inspiration-heading>span{color:var(--studio-muted);font-size:11px}.inspiration-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.creation-studio .inspiration-card{border:1px solid var(--studio-border);background:var(--studio-surface);white-space:normal;text-align:left;border-radius:13px;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:10px;width:100%;height:auto;min-height:172px;padding:19px 20px;transition:border-color .2s,box-shadow .2s;display:flex}.creation-studio .inspiration-card:hover{border-color:#acc5d9;box-shadow:0 5px 18px #315d7c09}.inspiration-genre{background:var(--studio-accent-soft);color:var(--studio-accent);border-radius:4px;align-self:flex-start;padding:3px 7px;font-size:10px;line-height:1.4}.inspiration-card:nth-child(2) .inspiration-genre{color:#357a71;background:#e8f4ef}.inspiration-card:nth-child(3) .inspiration-genre{color:#8f6742;background:#f7eedf}.inspiration-card strong{color:var(--studio-ink);justify-content:space-between;gap:8px;font-size:13px;font-weight:600;display:flex}.inspiration-card strong>:last-child{color:#939da5}.inspiration-copy{color:var(--studio-muted);font-size:11px;font-weight:400;line-height:1.9}.writing-studio{box-sizing:border-box;flex-direction:column;width:100%;max-width:100%;height:100vh;min-height:100vh;padding:16px 24px;display:flex;overflow:hidden}.writing-studio-heading{flex-shrink:0;justify-content:space-between;align-items:center;gap:24px;margin-bottom:16px;display:flex}.writing-studio-heading>div{min-width:0}.studio-back{color:var(--studio-muted);align-items:center;gap:5px;padding-block:5px;font-size:11px;display:inline-flex}.writing-studio-heading h1{overflow-wrap:anywhere;letter-spacing:-.035em;margin:9px 0 7px;font-size:24px;font-weight:650}.writing-studio-heading p{color:var(--studio-muted);margin:0;font-size:12px}.studio-outline-link{border:1px solid var(--studio-border);background:var(--studio-surface);border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:8px 13px;font-size:11px;transition:border-color .2s;display:inline-flex}.studio-outline-link:hover{border-color:var(--studio-accent);color:var(--studio-accent)}.writing-studio .studio-steps{flex-shrink:0;margin-bottom:16px;padding:12px 20px}.writing-studio-layout{flex:1;grid-template-columns:208px minmax(0,1fr);align-items:stretch;gap:16px;min-height:0;display:grid;overflow:hidden}.studio-directory{border:1px solid var(--studio-border);background:var(--studio-surface);border-radius:12px;flex-direction:column;min-height:0;display:flex;overflow:hidden}.studio-directory>:not(.studio-chapter-list){flex-shrink:0}.studio-directory-heading{align-items:center;gap:8px;padding:20px 16px;display:flex}.studio-directory h2{margin:0;font-size:13px;font-weight:600}.studio-directory-overview{background:var(--studio-accent-soft);min-height:44px;color:var(--studio-accent);border-radius:7px;align-items:center;gap:7px;margin:0 8px 14px;padding:11px 9px;font-size:11px;display:flex}.studio-directory-overview>:last-child{flex-shrink:0;margin-left:auto}.studio-directory-label{border-top:1px solid var(--studio-border);color:var(--studio-muted);justify-content:space-between;padding:15px 16px 10px;font-size:10px;display:flex}.studio-chapter-list{overscroll-behavior:contain;scrollbar-gutter:stable;flex:1;min-height:0;padding:0 8px 12px;overflow-y:auto}.studio-chapter-list a{border-radius:7px;gap:9px;padding:11px 8px;transition:background .2s;display:flex}.studio-chapter-list a:hover{background:var(--studio-background)}.chapter-index{color:#969aac;font-variant-numeric:tabular-nums;margin-top:2px;font-size:10px}.studio-chapter-list a>span:last-child{min-width:0}.studio-chapter-list strong{overflow-wrap:anywhere;font-size:12px;font-weight:500;line-height:1.5;display:block}.studio-chapter-list small{color:var(--studio-muted);margin-top:5px;font-size:11px;display:block}.studio-chapter-list small[data-saved=true]{color:#318477}.studio-directory-progress{border-top:1px solid var(--studio-border);padding:15px}.studio-directory-progress>span{color:var(--studio-muted);justify-content:space-between;font-size:10px;display:flex}.studio-directory-progress strong{color:var(--studio-accent);font-weight:500}.studio-directory-progress progress{appearance:none;background:var(--studio-accent-soft);border:0;border-radius:8px;width:100%;height:5px;margin-top:9px;display:block;overflow:hidden}.studio-directory-progress progress::-webkit-progress-bar{background:var(--studio-accent-soft)}.studio-directory-progress progress::-webkit-progress-value{background:var(--studio-accent);border-radius:8px}.studio-directory-progress progress::-moz-progress-bar{background:var(--studio-accent)}.studio-directory-empty{text-align:center;min-height:210px;color:var(--studio-muted);flex-direction:column;justify-content:center;align-items:center;padding:20px 16px 36px;display:flex}.studio-directory-empty>:first-child{color:#adc0cf}.studio-directory-empty p{color:var(--studio-ink);margin:13px 0 7px;font-size:12px}.studio-directory-empty small{font-size:10px;line-height:1.8}.studio-writing-main{overscroll-behavior:contain;scrollbar-gutter:stable;flex-direction:column;gap:16px;min-width:0;min-height:0;display:flex;overflow-y:auto}.studio-writing-main>*{flex-shrink:0}.studio-writing-main:has(>.studio-plan){scrollbar-gutter:auto;overflow:hidden}.studio-plan{flex-direction:column;flex:1;min-height:0;padding:0;display:flex;overflow:hidden}.studio-plan>.studio-card-heading{flex-shrink:0;margin:0;padding:16px 24px}.studio-plan .studio-card-heading h2{margin-top:9px;font-size:21px}.plan-sections{border-bottom:1px solid var(--studio-border);flex-shrink:0;gap:4px;padding:0 16px;display:flex}.plan-sections button{min-width:0;height:44px;color:var(--studio-muted);white-space:nowrap;background:0 0;border-radius:0;flex:1;padding:0 7px;font-size:11px}.plan-sections button[aria-pressed=true]{color:var(--studio-accent);box-shadow:inset 0 -2px var(--studio-accent);font-weight:600}.studio-plan-body{overscroll-behavior:contain;scrollbar-gutter:stable;flex:1;min-height:0;padding:24px;overflow-y:auto}.studio-plan-body>.form-stack{gap:20px}.studio-plan-body .field textarea{min-height:120px;font-size:14px}.studio-confirm-footer{border-top:1px solid var(--studio-border);background:#fcfdfe;flex-wrap:wrap;flex-shrink:0;justify-content:space-between;align-items:center;gap:18px;padding:20px 24px;display:flex}.studio-confirm-footer .error-text{flex-basis:100%;margin:0}.studio-confirm-footer .studio-primary{margin-left:auto;padding-inline:15px;font-size:11px}.studio-character-list{gap:18px;display:grid}.studio-character{border:1px solid var(--studio-border);border-radius:10px;overflow:hidden}.studio-character-heading{background:var(--studio-background);align-items:center;gap:10px;padding:14px;display:flex}.studio-character-heading>span{background:var(--studio-accent-soft);width:28px;height:28px;color:var(--studio-accent);border-radius:7px;place-items:center;font-size:10px;display:grid}.studio-character-heading h3{margin:0;font-size:13px;font-weight:600}.studio-character-heading small{max-width:45%;color:var(--studio-muted);margin-left:auto;font-size:10px}.studio-character-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:16px;display:grid}.studio-character-fields .character-detail{grid-column:1/-1}.studio-section-heading{justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:16px;display:flex}.studio-section-heading h3{margin:0;font-size:13px;font-weight:600}.studio-section-heading span{color:var(--studio-muted);font-size:10px}.studio-plan-chapter{border:1px solid var(--studio-border);border-radius:8px;margin-top:9px}.studio-plan-chapter>summary{cursor:pointer;align-items:center;gap:11px;min-height:50px;padding:12px 13px;list-style:none;display:flex}.studio-plan-chapter>summary>span{color:var(--studio-accent);font-size:10px}.studio-plan-chapter strong{overflow-wrap:anywhere;font-size:12px;font-weight:500}.studio-plan-chapter>summary>:last-child{color:var(--studio-muted);flex-shrink:0;margin-left:auto}.studio-plan-chapter[open]>summary>:last-child{transform:rotate(90deg)}.studio-plan-chapter .form-stack{gap:16px;padding:10px 16px 18px}.studio-next-chapter .next-chapter-count{max-width:200px;margin-bottom:22px}.studio-next-chapter>.studio-budget{padding:15px 0 22px}.studio-active-notice{background:#f2f5f8;border:1px solid #dce5ec;border-radius:12px;align-items:center;gap:13px;padding:18px;display:flex}.studio-active-notice strong{font-size:13px;font-weight:600}.studio-active-notice p{color:var(--studio-muted);margin:4px 0 0;font-size:11px}.studio-live-dot{background:var(--studio-accent);border-radius:50%;flex-shrink:0;width:7px;height:7px;margin-left:auto;box-shadow:0 0 0 4px #315d7c14}.studio-task-history{border:1px solid var(--studio-border);background:var(--studio-surface);border-radius:11px}.studio-task-history>summary{cursor:pointer;align-items:center;gap:8px;min-height:56px;padding:16px 20px;font-size:12px;list-style:none;display:flex}.studio-task-history>summary small{color:var(--studio-muted);margin-left:auto;font-size:10px}.studio-task-history[open]>summary{border-bottom:1px solid var(--studio-border)}.studio-task-history>div{padding:12px}.writing-studio .embedded-job{border:1px solid var(--studio-border);background:var(--studio-surface);border-radius:12px;min-width:0;padding:24px}.writing-studio .embedded-job .page-heading{flex-wrap:wrap;align-items:flex-start;gap:14px;margin:0 0 12px}.writing-studio .embedded-job .eyebrow{color:var(--studio-accent);margin-bottom:7px;font-size:10px}.writing-studio .embedded-job .page-heading h2{margin:0;font-size:18px}.writing-studio .embedded-job .page-heading>span{background:var(--studio-accent-soft);color:var(--studio-accent);border-radius:5px;padding:5px 9px;font-size:10px}.writing-studio .embedded-job>.muted{color:var(--studio-muted);font-size:10px}.writing-studio .embedded-job .candidate-section{margin-top:18px;padding:22px 0 0}.writing-studio .embedded-job .candidate-section h2{margin-bottom:12px;font-size:13px;line-height:1.6}.writing-studio .embedded-job .candidate-section h3{font-size:17px;font-weight:600}.writing-studio .embedded-job .candidate-section .muted{font-size:11px}.writing-studio .embedded-job .candidate-section pre{background:#fcfbf8;border:1px solid #edeff1;border-radius:8px;padding:24px;font-family:Songti SC,Noto Serif SC,SimSun,serif;font-size:15px;line-height:2.2}.writing-studio .embedded-job .job-actions{gap:8px;margin:18px 0 0;font-size:11px}.writing-studio .embedded-job .job-actions:empty{display:none}.writing-studio .embedded-job .job-actions button{border-radius:8px;min-height:40px;font-size:11px}.writing-studio .embedded-job .notice{border-radius:8px;padding:12px 14px;font-size:12px}@media (max-width:1300px){.writing-studio-layout{grid-template-columns:174px minmax(0,1fr)}}@media (max-width:1180px){.creation-studio{padding:28px 24px 48px}.new-story-layout{grid-template-columns:minmax(0,1fr)}.story-intro h1{font-size:30px}.inspiration-grid{gap:12px}.creation-studio .inspiration-card{padding:16px}.writing-studio-layout{grid-template-columns:160px minmax(0,1fr);gap:16px}.studio-outline-link{flex-wrap:wrap;max-width:190px}}@media (max-width:900px){.writing-studio-layout{grid-template-columns:minmax(0,1fr)}.studio-writing-main{grid-row:1}.studio-directory{grid-row:2}.studio-directory-empty{min-height:120px}.studio-chapter-list{max-height:250px}.studio-steps{gap:14px;padding:18px}.studio-steps small{font-size:10px}.studio-steps>span{gap:9px;font-size:12px}.studio-steps b{width:29px;height:29px}.inspiration-grid{grid-template-columns:1fr}.creation-studio .inspiration-card{min-height:0}}@media (max-width:600px){.creation-studio{padding:22px 16px 40px}.story-intro{padding:3px 0 22px}.story-intro h1{font-size:26px;line-height:1.6}.story-intro h1 em{display:block}.story-intro>p{font-size:12px}.studio-steps,.writing-studio .studio-steps{gap:10px;padding:17px 12px}.studio-steps>span{text-align:center;flex-direction:column;align-items:center;gap:10px;font-size:11px}.studio-steps small{display:none}.story-form-card,.studio-next-chapter{padding:20px 16px}.studio-card-heading{gap:12px;margin-bottom:20px}.studio-card-heading h2{font-size:17px}.studio-card-heading .studio-icon-tile{width:32px;height:32px}.idea-field-meta{gap:10px;font-size:10px}.studio-preferences small{margin:4px 0 0;font-size:10px;display:block}.studio-preferences>summary{padding-block:12px}.studio-preferences-fields{grid-template-columns:1fr}.story-submit-row{flex-direction:column;align-items:stretch;gap:18px}.studio-budget small{font-size:11px}.story-inspirations{margin-top:28px}.writing-studio-heading{flex-direction:column;align-items:flex-start;gap:17px}.writing-studio-heading h1{font-size:23px}.studio-outline-link{max-width:none}.studio-plan>.studio-card-heading{padding:20px 16px}.studio-plan .studio-card-heading h2{font-size:19px}.studio-plan-body{min-height:0;padding:20px 16px}.plan-sections{gap:0;padding-inline:8px}.plan-sections button{padding-inline:3px;font-size:10px}.studio-confirm-footer{padding:18px 16px}.studio-confirm-footer .studio-primary{width:100%}.studio-character-fields{grid-template-columns:1fr}.studio-section-heading{flex-direction:column;align-items:flex-start;gap:6px}.studio-active-notice{gap:10px;padding:15px}.studio-active-notice>.studio-icon-tile{display:none}.writing-studio .embedded-job{padding:18px 16px}.writing-studio .embedded-job .candidate-section pre{padding:17px 14px;font-size:14px}}@media (prefers-reduced-motion:reduce){.creation-studio *,.creation-studio :before,.creation-studio :after{transition:none!important}}.studio-mobile-sections{display:none}@media (max-width:900px){.writing-studio{padding:16px}.writing-studio-heading{flex-direction:row;align-items:center;gap:12px;margin-bottom:12px}.writing-studio-heading h1{-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-block:4px 0;font-size:20px;display:-webkit-box;overflow:hidden}.writing-studio-heading .studio-outline-link{max-width:130px;min-height:44px;font-size:12px}.writing-studio-heading .studio-outline-link>svg{display:none}.writing-studio .studio-steps{margin-bottom:12px;padding:10px}.writing-studio .studio-steps>span{flex-direction:row;gap:6px}.studio-mobile-sections{flex-shrink:0;gap:8px;margin-bottom:12px;display:flex}.studio-mobile-sections .button{flex:1;font-size:12px}.studio-mobile-sections [aria-pressed=true]{color:var(--studio-accent);background:var(--studio-accent-soft)}.writing-studio-layout{flex-direction:column;display:flex}.studio-directory,.studio-writing-main{flex:1}.writing-studio[data-mobile-section=writing] .studio-directory,.writing-studio[data-mobile-section=directory] .studio-writing-main{display:none}.studio-chapter-list{max-height:none}.studio-plan>.studio-card-heading{padding:12px 16px}.studio-plan .studio-card-heading h2{margin-top:4px;font-size:17px}.studio-plan-body{padding:16px}.studio-confirm-footer{gap:10px;padding:12px 16px}}@media (max-height:640px){.studio-directory{overscroll-behavior:contain;overflow-y:auto}.studio-chapter-list{flex:1 0 140px;min-height:140px}.writing-studio .studio-steps{display:none}.studio-plan{overscroll-behavior:contain;overflow-y:auto}.studio-plan-body{flex:none;overflow:visible}.studio-confirm-footer{position:sticky;bottom:0}}
