/* Scoped UI colors from existing component selectors. Book art and reader preferences are preserved. */
/* administration.css */
.editorial-theme .admin-tabs a{background:#F1EEE3;border:1px solid #CCD1C1;}
.editorial-theme .admin-table th{color:#153D34;}
.editorial-theme .site-admin .errorlist{color:#9F3129;}
.editorial-theme .admin-stats article{background:#FFFCF5;border:1px solid #CCD1C1;}
.editorial-theme .admin-stats span,.editorial-theme .admin-stats small{color:#52635A;}
.editorial-theme .admin-stats strong{color:#153D34;}
.editorial-theme .admin-form-heading p,.editorial-theme .admin-form-heading small{color:#52635A;}
.editorial-theme .admin-save span{color:#153D34;}
.editorial-theme .site-announcement{border:1px solid #CCD1C1;background:#FFFCF5;}
/* beginner.css */
.editorial-theme .tool-help,.editorial-theme .field small,.editorial-theme .creation-save-status,.editorial-theme .creation-track p,.editorial-theme .panel-tip{color:#52635A;}
.editorial-theme .simple-start .creation-actions .text-button{color:#153D34;}
.editorial-theme .optional-label{color:#153D34;}
.editorial-theme .start-summary{background:#FFFCF5;}
.editorial-theme .creation-optional summary,.editorial-theme .library-organize > summary,.editorial-theme .writing-comfort summary,.editorial-theme .export-optional-review > summary,.editorial-theme .account-preferences summary,.editorial-theme .ai-more-actions summary,.editorial-theme .ai-context-control summary,.editorial-theme .cover-extra-brief summary{color:#153D34;}
.editorial-theme .studio-topline .structure-link{color:#153D34;}
.editorial-theme .writing-focus .writing-panel{border:1px solid #CCD1C1;}
.editorial-theme .first-step-guide p{color:#153D34;}
.editorial-theme .studio-shell .writing-panel input.chapter-title-input{color:#153D34;}
.editorial-theme .writing-panel .manuscript-input{color:#153D34;}
.editorial-theme .writing-panel .manuscript-input::placeholder{color:#52635A;}
.editorial-theme .writing-panel .first-step-guide{background:#F1EEE3;color:#153D34;}
.editorial-theme .writing-panel .first-step-guide p,.editorial-theme .writing-panel .tool-help,.editorial-theme .writing-panel .writing-comfort p,.editorial-theme .writing-panel .writing-comfort label{color:#52635A;}
.editorial-theme .writing-panel .writing-comfort summary{color:#153D34;}
.editorial-theme .writing-panel .writing-comfort select{color:#153D34;background:#F1EEE3;border-color:#CCD1C1;}
.editorial-theme .writing-next-steps{color:#153D34;}
.editorial-theme .writing-next-steps a{color:#153D34;}
.editorial-theme .writing-comfort p{color:#153D34;}
.editorial-theme .continue-book{border:1px solid #CCD1C1;background:#FFFCF5;}
.editorial-theme .continue-book p{color:#153D34;}
.editorial-theme .book-collection-choice summary{color:#153D34;}
.editorial-theme .ai-simple-actions button[aria-pressed=true]{border-color:#CCD1C1;background:#B94D2B;}
.editorial-theme .ai-selection,.editorial-theme .ai-cost{color:#153D34;}
.editorial-theme .ai-cost,.editorial-theme .cover-cost-summary{border:1px solid #CCD1C1;background:#FFFCF5;}
.editorial-theme .cover-cost-summary p{color:#153D34;}
.editorial-theme .cover-font-sample{color:#153D34;}
/* billing.css */
.editorial-theme .plan-card{border:1px solid #CCD1C1;background:#FFFCF5;}
.editorial-theme .plan-featured{border-color:#CCD1C1;box-shadow:none;}
/* cover-editor.css */
.editorial-theme .cover-editor{border:1px solid #CCD1C1;background:#FFFCF5;}
.editorial-theme .cover-editor-canvas{border:1px solid #CCD1C1;box-shadow:none;background:#FFFCF5;}
.editorial-theme .cover-editor-controls input[type=range]{accent-color:#CCD1C1;}
.editorial-theme .cover-editor-controls output{color:#153D34;}
.editorial-theme .cover-editor-global{border:1px solid #CCD1C1;background:#FFFCF5;}
/* dark-theme.css */
.editorial-theme ::selection{background:#FFFCF5;color:#153D34;}
.editorial-theme :focus-visible{outline-color:#CCD1C1;}
.editorial-theme .skip-link{background:#FFFCF5;color:#153D34;}
.editorial-theme .site-header,.editorial-theme .site-footer{background:#FFFCF5;}
.editorial-theme .site-header{box-shadow:none;}
.editorial-theme .button{background:#B94D2B;border-color:#CCD1C1;color:#153D34;box-shadow:none;}
.editorial-theme .button:hover{background:#B94D2B;border-color:#CCD1C1;}
.editorial-theme .button-secondary{background:#FFFCF5;border-color:#CCD1C1;color:#153D34;}
.editorial-theme .button-secondary:hover{background:#FFFCF5;color:#153D34;}
.editorial-theme .header-nav a:not(.button):hover,.editorial-theme .text-button:hover{color:#153D34;}
.editorial-theme .hero:before{background:#FFFCF5;}
.editorial-theme .hero-copy h1{color:#153D34;}
.editorial-theme .hero-copy h1 em{color:#153D34;}
.editorial-theme .hero-copy > p,.editorial-theme .hero-foot{color:#153D34;}
.editorial-theme .eyebrow{color:#153D34;}
.editorial-theme .tiny-check{background:#FFFCF5;color:#153D34;}
.editorial-theme .hero-library-art{background:#FFFCF5;border:1px solid #CCD1C1;box-shadow:none;}
.editorial-theme .steps-section{background:#FFFCF5;}
.editorial-theme .steps-grid article{background:#FFFCF5;border-color:#CCD1C1;}
.editorial-theme .step-number{color:#153D34;}
.editorial-theme .cover-showcase{background:#FFFCF5;}
.editorial-theme .cover-showcase-feature{border:1px solid #CCD1C1;background:#FFFCF5;box-shadow:none;}
.editorial-theme .cover-showcase-feature:after{background:#FFFCF5;}
.editorial-theme .cover-showcase-feature figcaption{color:#52635A;}
.editorial-theme .cover-showcase-feature figcaption > span:last-child{color:#52635A;}
.editorial-theme .showcase-card,.editorial-theme .cover-template-card{border-color:#CCD1C1;box-shadow:none;}
.editorial-theme .showcase-card:hover,.editorial-theme .cover-template-card:hover{border-color:#CCD1C1;}
.editorial-theme .showcase-card strong,.editorial-theme .cover-template-card h3{color:#153D34;}
.editorial-theme .book-card:hover{box-shadow:none;border-color:#CCD1C1;}
.editorial-theme .book-collection-form button,.editorial-theme .collection-actions button{background:#FFFCF5;border-color:#CCD1C1;color:#153D34;}
.editorial-theme .book-collection-form button:hover,.editorial-theme .collection-actions button:hover:not(:disabled){background:#FFFCF5;}
.editorial-theme .move-controls button{background:#FFFCF5;border-color:#CCD1C1;color:#153D34;}
.editorial-theme .move-controls button:hover:not(:disabled){background:#FFFCF5;}
.editorial-theme .status-pill,.editorial-theme .count-badge,.editorial-theme .book-label,.editorial-theme .ai-character-result{background:#E8EBDD;color:#153D34;}
.editorial-theme .book-ai-link,.editorial-theme .download-link,.editorial-theme .ai-accepted-actions a{background:#FFFCF5;border-color:#CCD1C1;color:#153D34;}
.editorial-theme .book-ai-link:hover,.editorial-theme .ai-accepted-actions a:hover{background:#FFFCF5;}
.editorial-theme .field input,.editorial-theme .field textarea,.editorial-theme .compact-form input,.editorial-theme .compact-form textarea,.editorial-theme .compact-form select,.editorial-theme .search-form input,.editorial-theme .library-controls input,.editorial-theme .library-controls select,.editorial-theme .creation-form .field select,.editorial-theme .relation-fields input,.editorial-theme .relation-fields textarea,.editorial-theme .ai-compose select,.editorial-theme .ai-compose textarea,.editorial-theme .ai-decision input,.editorial-theme .ai-plan-edit textarea,.editorial-theme .ai-memory input,.editorial-theme .ai-memory select,.editorial-theme .ai-memory textarea,.editorial-theme .collection-create input,.editorial-theme .collection-item input,.editorial-theme .book-collection-form select,.editorial-theme .import-chapter input,.editorial-theme .review-checklist-form textarea,.editorial-theme input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),.editorial-theme textarea,.editorial-theme select{border-color:#CCD1C1;color:#153D34;}
.editorial-theme input::placeholder,.editorial-theme textarea::placeholder{color:#52635A;}
.editorial-theme input:focus,.editorial-theme textarea:focus,.editorial-theme select:focus{border-color:#CCD1C1;}
.editorial-theme .field-error,.editorial-theme .save-error{color:#9F3129;}
.editorial-theme .flash{background:#FFFCF5;color:#153D34;}
.editorial-theme .flash.error{background:#FAE8DF;color:#9F3129;}
.editorial-theme .search-form button{background:#B94D2B;border-color:#CCD1C1;}
.editorial-theme .auth-tabs a.active{color:#153D34;}
.editorial-theme .google-auth-form .button-secondary:disabled{background:#FFFCF5;border-color:#CCD1C1;color:#153D34;}
.editorial-theme .local-login-guide,.editorial-theme .editor-recovery,.editorial-theme .ai-studio-banner,.editorial-theme .ai-memory,.editorial-theme .author-suggestion-panel,.editorial-theme .suggestion-compare,.editorial-theme .source-reference,.editorial-theme .continuity-alert,.editorial-theme .structure-next,.editorial-theme .ai-journey span,.editorial-theme .ai-suggestion,.editorial-theme .ai-unavailable,.editorial-theme .ai-stale,.editorial-theme .ai-next-card{background:#FAEFD8;border-color:#CCD1C1;}
.editorial-theme .local-login-guide p,.editorial-theme .ai-studio-banner p{color:#153D34;}
.editorial-theme .ai-studio-banner,.editorial-theme .ai-memory summary,.editorial-theme .ai-plan-edit summary{color:#153D34;}
.editorial-theme .ai-memory summary,.editorial-theme .ai-plan-edit summary{color:#153D34;}
.editorial-theme .ai-context-text,.editorial-theme .ai-manuscript,.editorial-theme .ai-plan-edit,.editorial-theme .ai-character-picks{background:#FFFCF5;}
.editorial-theme .ai-text-compare h5{color:#153D34;}
.editorial-theme .ai-stale{color:#795018;}
.editorial-theme .ai-next-card{background:#FFFCF5;}
.editorial-theme .ai-journey span{color:#153D34;}
.editorial-theme .source-focus-note,.editorial-theme .review-done{background:#FFFCF5;color:#153D34;}
.editorial-theme .source-focus-note.review-focus-error{background:#FAE8DF;color:#9F3129;}
.editorial-theme .creation-draft-card .text-button{color:#153D34;}
.editorial-theme .version-compare-page h3{color:#153D34;}
.editorial-theme .reference-item p{color:#153D34;}
.editorial-theme .structure-next a{color:#153D34;}
.editorial-theme .structure-next p{color:#153D34;}
.editorial-theme .character-avatar{background:#FFFCF5;color:#153D34;}
.editorial-theme .export-advisory{color:#795018;}
.editorial-theme .export-ready{color:#153D34;}
.editorial-theme .studio-topline{background:#F1EEE3;}
.editorial-theme .chapter-panel,.editorial-theme .tools-panel{background:#F1EEE3;}
.editorial-theme .chapter-link{color:#153D34;}
.editorial-theme .chapter-link.selected{background:#E8EBDD;color:#153D34;}
.editorial-theme .panel-tip{color:#52635A;}
.editorial-theme .writing-panel{background:#F1EEE3;color:#153D34;}
.editorial-theme .writing-panel .chapter-title-input,.editorial-theme .writing-panel .manuscript-input{color:#153D34;}
.editorial-theme .writing-panel .editor-path,.editorial-theme .writing-panel .editor-bottom{color:#153D34;}
.editorial-theme .writing-panel .panel-label{color:#153D34;}
.editorial-theme .writing-panel .save-status{color:#153D34;}
.editorial-theme .writing-panel .save-error{color:#9F3129;}
.editorial-theme .writing-panel .editor-bottom{border-color:#CCD1C1;}
.editorial-theme .reader-index{background:#F1EEE3;}
.editorial-theme .cover-source input[type=radio]{accent-color:#CCD1C1;}
.editorial-theme .cover-context-preview summary{color:#153D34;}
.editorial-theme .cover-context-preview pre{background:#FFFCF5;}
.editorial-theme .cover-option-card{border:1px solid #CCD1C1;}
.editorial-theme .cover-option-copy h3{color:#153D34;}
.editorial-theme .current-cover-frame{box-shadow:none;}
.editorial-theme .cover-inspiration > summary{color:#153D34;}
@media (max-width: 720px){.editorial-theme .cover-showcase-feature:after{background:#FFFCF5;}
.editorial-theme .chapter-link{background:#FFFCF5;}
}
@media print{body.editorial-theme{background:#FFFCF5;color:#153D34;}
.editorial-theme .writing-panel{background:#F1EEE3;color:#153D34;}
}
/* illustrated.css */
.editorial-theme .illustrated-header p,.editorial-theme .illustrated-intro{color:#153D34;}
.editorial-theme .illustrated-nav a{border:1px solid #CCD1C1;}
.editorial-theme .illustrated-card{background:#FFFCF5;border:1px solid #CCD1C1;}
.editorial-theme .illustrated-form small,.editorial-theme .illustrated-form .helptext,.editorial-theme .reference-card p{color:#52635A;}
.editorial-theme .illustrated-form .errorlist{color:#9F3129;}
.editorial-theme .reference-thumb{background:#FFFCF5;}
.editorial-theme .page-list li{background:#FFFCF5;}
.editorial-theme .page-list [aria-current]{color:#153D34;}
.editorial-theme .page-picture{background:#FFFCF5;}
.editorial-theme .illustrated-preview{border:2px solid #CCD1C1;}
.editorial-theme .style-sample{border:1px solid #CCD1C1;color:#153D34;background:#FFFCF5;}
.editorial-theme .style-sample[aria-pressed=true]{outline:3px solid #CCD1C1;}
.editorial-theme .sample-custom,.editorial-theme .sample-pending{border:1px dashed #CCD1C1;background:#FFFCF5;}
.editorial-theme .sample-custom small,.editorial-theme .sample-pending small,.editorial-theme .sample-custom-note{color:#52635A;}
.editorial-theme .sample-pending{background:#FFFCF5;}
.editorial-theme .illustrated-sheet{background:#FFFCF5;color:#153D34;box-shadow:none;}
.editorial-theme .illustrated-sheet h2{color:#153D34;}
.editorial-theme .sheet-number{color:#153D34;}
.editorial-theme .missing-picture{border:2px dashed #CCD1C1;}
.editorial-theme .illustrated-shell a:focus-visible,.editorial-theme .illustrated-shell button:focus-visible,.editorial-theme .illustrated-shell summary:focus-visible{outline:3px solid #CCD1C1;}
/* member-header.css */
.editorial-theme .site-header.member-header{background:#FFFCF5;}
.editorial-theme .member-header .header-primary a[aria-current="page"]{color:#153D34;}
.editorial-theme .header-credits{border:1px solid #CCD1C1;background:#FFFCF5;color:#153D34;}
.editorial-theme .header-credits:hover{background:#FFFCF5;border-color:#CCD1C1;}
.editorial-theme .header-credits-blocked{border-color:#CCD1C1;color:#795018;}
.editorial-theme .header-account > summary{border:1px solid #CCD1C1;color:#153D34;}
.editorial-theme .header-account[open] > summary{background:#FFFCF5;border-color:#CCD1C1;}
.editorial-theme .header-account-panel{border:1px solid #CCD1C1;background:#F1EEE3;box-shadow:none;}
.editorial-theme .header-account-panel a,.editorial-theme .header-account-panel button{color:#153D34;}
.editorial-theme .header-account-panel a:hover,.editorial-theme .header-account-panel button:hover{background:#B94D2B;color:#153D34;}
.editorial-theme .member-balance{border:1px solid #CCD1C1;background:#FFFCF5;}
.editorial-theme .member-balance-total span{color:#153D34;}
.editorial-theme .member-balance-total strong{color:#153D34;}
.editorial-theme .member-balance-detail p{color:#52635A;}
.editorial-theme .member-balance-detail small{color:#52635A;}
.editorial-theme .member-balance-detail a{color:#52635A;}
/* professional.css */
.editorial-theme .button{background:#B94D2B;border-color:#CCD1C1;}
.editorial-theme .button:hover{background:#B94D2B;border-color:#CCD1C1;}
.editorial-theme .button-secondary:hover{border-color:#CCD1C1;}
.editorial-theme :focus-visible{outline:3px solid #CCD1C1;}
.editorial-theme .professional-home .hero-copy p{color:#153D34;}
.editorial-theme .product-demo{border:1px solid #CCD1C1;background:#FFFCF5;color:#153D34;box-shadow:none;}
.editorial-theme .demo-top{background:#FFFCF5;color:#153D34;}
.editorial-theme .demo-dots{color:#153D34;}
.editorial-theme .demo-badge{color:#153D34;}
.editorial-theme .demo-tabs{background:#F1EEE3;}
.editorial-theme .demo-tabs button{color:#153D34;}
.editorial-theme .demo-tabs button[aria-pressed=true]{color:#153D34;background:#E8EBDD;border-bottom-color:#CCD1C1;}
.editorial-theme .demo-content h2{color:#153D34;}
.editorial-theme .demo-content p{color:#153D34;}
.editorial-theme .demo-content .eyebrow{color:#153D34;}
.editorial-theme .demo-content textarea{background:#FFFCF5;color:#153D34;border:1px solid #CCD1C1;}
.editorial-theme .demo-content small{color:#52635A;}
.editorial-theme .demo-content .button-secondary{background:#FFFCF5;color:#153D34;border-color:#CCD1C1;}
.editorial-theme .demo-comparison p{background:#FFFCF5;}
.editorial-theme .demo-comparison p + p{border-color:#CCD1C1;}
.editorial-theme .demo-bottom{background:#F1EEE3;color:#153D34;}
.editorial-theme .professional-home .steps-section{background:#FFFCF5;}
.editorial-theme .professional-home .steps-grid article{background:#FFFCF5;border:1px solid #CCD1C1;}
.editorial-theme .professional-home .step-number{color:#153D34;}
.editorial-theme .showcase-more > summary{color:#153D34;}
.editorial-theme .home-final{background:#FFFCF5;}
.editorial-theme .help-number{color:#52635A;}
.editorial-theme .professional-plans .plan-featured{border:2px solid #CCD1C1;background:#FFFCF5;}
.editorial-theme .plan-cycle label{border:1px solid #CCD1C1;}
.editorial-theme .plan-cycle label:has(input:checked){background:#E8EBDD;border-color:#CCD1C1;}
.editorial-theme .plan-cycle input{accent-color:#CCD1C1;}
.editorial-theme .plan-checkout summary{color:#153D34;}
.editorial-theme .plan-cycle-detail{color:#52635A;}
.editorial-theme .credit-calculator output{color:#153D34;}
.editorial-theme .professional-studio .writing-panel{background:#F1EEE3;color:#153D34;}
.editorial-theme .professional-studio .writing-panel input.chapter-title-input,.editorial-theme .professional-studio .writing-panel .manuscript-input{color:#153D34;}
.editorial-theme .professional-studio .writing-panel .manuscript-input::placeholder{color:#52635A;}
.editorial-theme .professional-studio .writing-panel :is(.editor-path,.editorial-theme .tool-help,.editorial-theme .writing-comfort p,.editorial-theme .writing-comfort label,.editorial-theme .word-reference){color:#52635A;}
.editorial-theme .professional-studio .writing-panel .writing-comfort summary{color:#153D34;}
.editorial-theme .professional-studio .writing-panel :is(.editor-bottom,.editorial-theme .writing-next-steps summary){color:#153D34;}
.editorial-theme .professional-studio .writing-panel .save-status{color:#153D34;}
.editorial-theme .professional-studio .writing-panel .save-status.save-error{color:#9F3129;}
.editorial-theme .professional-studio .chapter-link.selected{background:#E8EBDD;border-left-color:#CCD1C1;}
.editorial-theme .writing-assistant summary span{color:#153D34;}
body.editorial-theme.writing-light .professional-studio{background:#FFFCF5;color:#153D34;}
body.editorial-theme.writing-light .professional-studio :is(.writing-panel,.editorial-theme .chapter-panel,.editorial-theme .writing-assistant,.editorial-theme .tools-panel,.editorial-theme .studio-topline,.editorial-theme .writing-actions,.editorial-theme .first-step-guide,.editorial-theme .tool-card,.editorial-theme .writing-comfort){background:#F1EEE3;color:#153D34;border-color:#CCD1C1;}
body.editorial-theme.writing-light .professional-studio :is(h1,.editorial-theme h2,.editorial-theme h3,.editorial-theme input,.editorial-theme textarea,.editorial-theme select,.editorial-theme .chapter-link,.editorial-theme .chapter-title-input,.editorial-theme .manuscript-input,.editorial-theme .panel-add){background:#F1EEE3;color:#153D34;border-color:#CCD1C1;}
body.editorial-theme.writing-light .professional-studio :is(.tool-help,.editorial-theme .panel-label,.editorial-theme .editor-path,.editorial-theme .writing-comfort summary,.editorial-theme .save-status,.editorial-theme .panel-tip,.editorial-theme .topline-meta,.editorial-theme .chapter-link small,.editorial-theme .editor-bottom,.editorial-theme .word-reference,.editorial-theme .writing-assistant summary span){color:#52635A;}
body.editorial-theme.writing-light .professional-studio :is(a,.editorial-theme .text-button,.editorial-theme .tools-panel summary,.editorial-theme .chapter-panel summary,.editorial-theme .writing-assistant summary){color:#153D34;}
body.editorial-theme.writing-light .professional-studio .chapter-link.selected{background:#E8EBDD;}
body.editorial-theme.writing-light .professional-studio .button-secondary{background:#FFFCF5;color:#153D34;border-color:#CCD1C1;}
body.editorial-theme.writing-light .professional-studio .button.button{color:#153D34;}
body.editorial-theme.writing-light .professional-studio .writing-panel :is(.writing-comfort p,.editorial-theme .writing-comfort label,.editorial-theme .writing-next-steps summary,.editorial-theme .editor-bottom){color:#153D34;}
body.editorial-theme.writing-light .professional-studio .writing-panel .save-status{color:#153D34;}
body.editorial-theme.writing-light .professional-studio .writing-panel .save-status.save-error{color:#9F3129;}
body.editorial-theme.writing-light .professional-studio .ai-selection{color:#153D34;}
body.editorial-theme.writing-light .professional-studio .spelling-panel{background:#F1EEE3;color:#153D34;border-color:#CCD1C1;}
body.editorial-theme.writing-light .professional-studio .spelling-panel summary{color:#153D34;}
.editorial-theme .site-header{background:#FFFCF5;}
.editorial-theme .sample-card{background:#FFFCF5;border:1px solid #CCD1C1;}
.editorial-theme .sample-card img{background:#FFFCF5;}
.editorial-theme .sample-card p{color:#153D34;}
.editorial-theme .sample-toc{background:#FFFCF5;}
.editorial-theme .book-workflow a{border:1px solid #CCD1C1;}
.editorial-theme .topup-grid article,.editorial-theme .project-budget-grid article{border:1px solid #CCD1C1;}
.editorial-theme .project-budget-grid strong{color:#153D34;}
/* site.css */
.editorial-theme .skip-link{background:#FFFCF5;}
.editorial-theme :focus-visible{outline:3px solid #CCD1C1;}
.editorial-theme .site-header{background:#FFFCF5;}
.editorial-theme .button{color:#153D34;box-shadow:none;}
.editorial-theme .button-secondary{background:#FFFCF5;border:1px solid #CCD1C1;}
.editorial-theme .site-footer{background:#FFFCF5;}
.editorial-theme .hero-copy>p{color:#153D34;}
.editorial-theme .hero-foot{color:#153D34;}
.editorial-theme .tiny-check{background:#FFFCF5;}
.editorial-theme .hero-art{background:#FFFCF5;box-shadow:none;}
.editorial-theme .art-halo{border:1px solid #CCD1C1;box-shadow:none;}
.editorial-theme .art-page{background:#FFFCF5;border:1px solid #CCD1C1;}
.editorial-theme .art-page-left{box-shadow:none;}
.editorial-theme .art-page-right{box-shadow:none;}
.editorial-theme .art-rule{background:#FFFCF5;}
.editorial-theme .art-note{color:#153D34;}
.editorial-theme .steps-section{background:#FFFCF5;color:#153D34;}
.editorial-theme .section-heading p{color:#153D34;}
.editorial-theme .steps-grid article{background:#FFFCF5;border:1px solid #CCD1C1;}
.editorial-theme .step-number{color:#153D34;}
.editorial-theme .steps-grid p{color:#153D34;}
.editorial-theme .auth-decoration{color:#153D34;}
.editorial-theme .form-card{background:#FFFCF5;box-shadow:none;}
.editorial-theme .field input,.editorial-theme .field textarea,.editorial-theme .compact-form input,.editorial-theme .compact-form textarea,.editorial-theme .compact-form select,.editorial-theme .search-form input{border:1px solid #CCD1C1;background:#FFFCF5;}
.editorial-theme .field input:focus,.editorial-theme .field textarea:focus,.editorial-theme .compact-form input:focus,.editorial-theme .compact-form textarea:focus,.editorial-theme .compact-form select:focus,.editorial-theme .search-form input:focus{box-shadow:none;}
.editorial-theme .field-error{color:#9F3129;}
.editorial-theme .flash{background:#FFFCF5;color:#153D34;box-shadow:none;}
.editorial-theme .flash.error{background:#FAE8DF;color:#9F3129;}
.editorial-theme .search-form button{color:#153D34;}
.editorial-theme .book-card{background:#FFFCF5;}
.editorial-theme .book-card:hover{box-shadow:none;}
.editorial-theme .status-pill{background:#E8EBDD;color:#153D34;}
.editorial-theme .empty-state{background:#FFFCF5;border:1px dashed #CCD1C1;}
.editorial-theme .studio-topline{background:#F1EEE3;}
.editorial-theme .chapter-panel,.editorial-theme .tools-panel{background:#F1EEE3;}
.editorial-theme .chapter-link{color:#153D34;}
.editorial-theme .chapter-link.selected{background:#E8EBDD;color:#153D34;}
.editorial-theme .panel-tip{color:#52635A;}
.editorial-theme .save-status{color:#153D34;}
.editorial-theme .save-error{color:#9F3129;}
.editorial-theme .manuscript-input{color:#153D34;}
.editorial-theme .tool-card{border:1px solid #CCD1C1;background:#FFFCF5;}
.editorial-theme .count-badge{background:#E8EBDD;}
.editorial-theme .reference-item p{color:#153D34;}
.editorial-theme .download-link{background:#FFFCF5;color:#153D34;}
@media(max-width:720px){.editorial-theme .chapter-link{background:#FFFCF5;}
}
.editorial-theme .book-cover.has-cover{background:#FFFCF5;}
.editorial-theme .import-chapter input{border:1px solid #CCD1C1;}
.editorial-theme .suggestion-compare{background:#FFFCF5;}
.editorial-theme .structure-intro>div{background:#FFFCF5;}
.editorial-theme .structure-card{background:#FFFCF5;}
.editorial-theme .move-controls button{border:1px solid #CCD1C1;background:#FFFCF5;}
.editorial-theme .move-controls button:hover:not(:disabled){background:#FFFCF5;}
.editorial-theme .structure-plan textarea,.editorial-theme .structure-plan input{border:1px solid #CCD1C1;}
.editorial-theme .structure-add{background:#FFFCF5;border:1px dashed #CCD1C1;}
.editorial-theme .fact-card{background:#FFFCF5;}
.editorial-theme .fact-card.fact-warning{border-color:#CCD1C1;background:#FAEFD8;}
.editorial-theme .fact-card>p{color:#153D34;}
.editorial-theme .fact-card .warning-note{background:#FAEFD8;color:#795018;}
.editorial-theme .source-reference{background:#FFFCF5;}
.editorial-theme .source-reference q{color:#153D34;}
.editorial-theme .fact-edit-form input,.editorial-theme .fact-edit-form select,.editorial-theme .fact-edit-form textarea{border:1px solid #CCD1C1;}
.editorial-theme .archive-button{color:#153D34;}
.editorial-theme .reference-box{background:#FFFCF5;}
.editorial-theme .continuity-alert{background:#E8EBDD;border:1px solid #CCD1C1;color:#153D34;}
.editorial-theme .archived-facts{background:#FFFCF5;}
.editorial-theme .library-controls input,.editorial-theme .library-controls select{border:1px solid #CCD1C1;background:#FFFCF5;}
.editorial-theme .library-controls input:focus,.editorial-theme .library-controls select:focus{outline:3px solid #CCD1C1;}
.editorial-theme .image-manage-card{background:#FFFCF5;}
.editorial-theme .image-manage-card>img{background:#FFFCF5;}
.editorial-theme .image-actions .text-button{color:#153D34;}
.editorial-theme .archived-images{background:#FFFCF5;}
.editorial-theme .current-cover{box-shadow:none;}
.editorial-theme .cover-version{background:#FFFCF5;}
.editorial-theme .cover-version img{background:#FFFCF5;}
.editorial-theme .cover-focus-form{background:#FFFCF5;}
.editorial-theme .reader-index{background:#F1EEE3;}
.editorial-theme .reader-subtitle{color:#153D34;}
.editorial-theme .reader-synopsis{color:#153D34;}
.editorial-theme .character-card{background:#FFFCF5;}
.editorial-theme .character-avatar{background:#FFFCF5;}
.editorial-theme .character-field input,.editorial-theme .character-field textarea{border:1px solid #CCD1C1;}
.editorial-theme .character-current-portrait{background:#E8EBDD;}
.editorial-theme .character-portrait-version img{background:#FFFCF5;}
.editorial-theme .creation-progress span{background:#FFFCF5;}
.editorial-theme .creation-progress span[aria-current=step]{background:#E8EBDD;border-color:#CCD1C1;color:#153D34;}
.editorial-theme .creation-form .field select{border:1px solid #CCD1C1;background:#FFFCF5;}
.editorial-theme .creation-choice label{border:1px solid #CCD1C1;}
.editorial-theme .creation-choice label:has(input:checked){background:#E8EBDD;border-color:#CCD1C1;}
.editorial-theme .creation-track{background:#FFFCF5;}
.editorial-theme .creation-track p{color:#153D34;}
.editorial-theme .creation-cover-option{background:#FFFCF5;}
.editorial-theme .creation-cover-option:has(input:checked){box-shadow:none;}
.editorial-theme .creation-cover-option:focus-within{outline:3px solid #CCD1C1;}
.editorial-theme .creation-cover-option input{background:#FFFCF5;}
.editorial-theme .creation-cover-option img{background:#FFFCF5;}
.editorial-theme .relation-fields select,.editorial-theme .relation-fields input,.editorial-theme .relation-fields textarea{border:1px solid #CCD1C1;background:#FFFCF5;}
.editorial-theme .relation-card{background:#FFFCF5;}
.editorial-theme .relation-card-head button{color:#153D34;}
.editorial-theme .relation-card>p{color:#153D34;}
.editorial-theme .creation-save-status.save-error{color:#9F3129;}
.editorial-theme .creation-draft-card{background:#FFFCF5;}
.editorial-theme .creation-draft-card .text-button{color:#153D34;}
.editorial-theme .creation-help-dialog{background:#FFFCF5;box-shadow:none;}
.editorial-theme .creation-help-dialog::backdrop{background:#FFFCF5;}
.editorial-theme .creation-help-dialog p{color:#52635A;}
.editorial-theme .creation-help-close{background:#FFFCF5;}
.editorial-theme .first-step-guide{background:#FFFCF5;border:1px solid #CCD1C1;}
.editorial-theme .first-step-guide p{color:#153D34;}
.editorial-theme .first-step-plan-link{color:#153D34;}
.editorial-theme .relation-card.relation-warning{border-color:#CCD1C1;background:#FAEFD8;}
.editorial-theme .relation-card .warning-note,.editorial-theme .tool-card .warning-note{background:#FAEFD8;color:#795018;}
.editorial-theme .tool-card .reference-item q{color:#153D34;}
.editorial-theme .review-checklist-form fieldset label{color:#153D34;}
.editorial-theme .review-checklist-form textarea{border:1px solid #CCD1C1;}
.editorial-theme .review-done{background:#FFFCF5;color:#153D34;}
.editorial-theme .structure-next{border:1px solid #CCD1C1;background:#FFFCF5;}
.editorial-theme .structure-next a{color:#153D34;}
.editorial-theme .structure-next p{color:#153D34;}
.editorial-theme .import-chapter details p{background:#FFFCF5;}
.editorial-theme .import-chapter .import-exclude{color:#153D34;}
.editorial-theme .import-chapter .import-exclude input[type=checkbox]{accent-color:#CCD1C1;}
.editorial-theme .version-compare-page h3{color:#153D34;}
.editorial-theme .compare-title-card,.editorial-theme .compare-row,.editorial-theme .compare-full details{background:#FFFCF5;}
.editorial-theme .source-focus-note{background:#FFFCF5;color:#153D34;}
.editorial-theme .source-focus-note.review-focus-error{background:#FAE8DF;color:#9F3129;}
.editorial-theme .author-suggestion-panel{background:#F1EEE3;}
.editorial-theme .export-review-summary>div,.editorial-theme .export-review-section{background:#FFFCF5;}
.editorial-theme .export-advisory{color:#795018;}
.editorial-theme .export-ready{color:#153D34;}
.editorial-theme .google-auth-form .button-secondary:disabled{background:#FFFCF5;color:#153D34;border-color:#CCD1C1;}
.editorial-theme .account-connect{background:#FFFCF5;}
.editorial-theme .editor-recovery{border:1px solid #CCD1C1;background:#E8EBDD;}
.editorial-theme .book-label{background:#E8EBDD;color:#153D34;}
.editorial-theme .library-collections{background:#FFFCF5;}
.editorial-theme .collection-create input,.editorial-theme .collection-item input,.editorial-theme .book-collection-form select{background:#FFFCF5;}
.editorial-theme .collection-actions button{background:#FFFCF5;}
.editorial-theme .book-collection-form{background:#FFFCF5;}
.editorial-theme .book-collection-form button{background:#B94D2B;}
.editorial-theme .suggestion-history-card{background:#FFFCF5;}
.editorial-theme .suggestion-history-compare>div{background:#FFFCF5;}
.editorial-theme .hero-cover-art{background:#FFFCF5;}
.editorial-theme .hero-cover{box-shadow:none;border:4px solid #CCD1C1;}
.editorial-theme .hero-cover-art .art-note{background:#FFFCF5;}
.editorial-theme .cover-showcase{background:#FFFCF5;}
.editorial-theme .showcase-card,.editorial-theme .cover-template-card{background:#FFFCF5;box-shadow:none;}
.editorial-theme .auth-cover-art img{border:3px solid #CCD1C1;box-shadow:none;}
.editorial-theme .local-login-guide{border:1px solid #CCD1C1;background:#FFFCF5;}
.editorial-theme .local-login-guide p{color:#153D34;}
.editorial-theme .ai-studio-banner{background:#FFFCF5;color:#153D34;}
.editorial-theme .book-ai-link{background:#FFFCF5;border:1px solid #CCD1C1;color:#153D34;}
.editorial-theme .ai-journey span{border:1px solid #CCD1C1;background:#E8EBDD;color:#153D34;}
.editorial-theme .ai-unavailable{border:1px solid #CCD1C1;background:#FFFCF5;}
.editorial-theme .ai-compose select,.editorial-theme .ai-compose textarea,.editorial-theme .ai-decision input{border:1px solid #CCD1C1;background:#FFFCF5;}
.editorial-theme .ai-side .tool-card{background:#FFFCF5;}
.editorial-theme .ai-proposal{background:#FFFCF5;box-shadow:none;}
.editorial-theme .ai-status{background:#FFFCF5;color:#153D34;}
.editorial-theme .ai-suggestion{border:1px solid #CCD1C1;background:#FFFCF5;}
.editorial-theme .ai-suggestion h4{color:#153D34;}
.editorial-theme .ai-manuscript{background:#FFFCF5;}
.editorial-theme .ai-image img{background:#FFFCF5;}
.editorial-theme .ai-empty{background:#FFFCF5;}
.editorial-theme .pagination a{background:#FFFCF5;}
.editorial-theme .ai-memory{border:1px solid #CCD1C1;background:#E8EBDD;}
.editorial-theme .ai-memory summary{color:#153D34;}
.editorial-theme .ai-memory input,.editorial-theme .ai-memory select,.editorial-theme .ai-memory textarea{border:1px solid #CCD1C1;background:#E8EBDD;}
.editorial-theme .ai-text-compare h5{color:#153D34;}
.editorial-theme .ai-text-compare .ai-manuscript{border:1px solid #CCD1C1;}
.editorial-theme .ai-stale{background:#FAEFD8;color:#795018;}
.editorial-theme .ai-character-picks{border:1px solid #CCD1C1;}
.editorial-theme .ai-character-result{background:#FFFCF5;color:#153D34;}
.editorial-theme .ai-plan-edit{border:1px solid #CCD1C1;}
.editorial-theme .ai-plan-edit summary{color:#153D34;}
.editorial-theme .ai-plan-edit fieldset{border:1px solid #CCD1C1;}
.editorial-theme .ai-plan-edit textarea{border:1px solid #CCD1C1;background:#FFFCF5;}
.editorial-theme .ai-accepted-actions a{border:1px solid #CCD1C1;color:#153D34;background:#FFFCF5;}
.editorial-theme .ai-accepted-actions a:hover,.editorial-theme .ai-accepted-actions a:focus-visible{border-color:#CCD1C1;background:#FFFCF5;}
.editorial-theme .ai-next-card{border:1px solid #CCD1C1;background:#FFFCF5;box-shadow:none;}
/* spelling.css */
.editorial-theme .spelling-panel{border:1px solid #CCD1C1;background:#F1EEE3;color:#153D34;}
.editorial-theme #spelling-count{color:#153D34;}
.editorial-theme .spelling-toolbar input{accent-color:#CCD1C1;}
.editorial-theme .spelling-body .tool-help{color:#52635A;}
.editorial-theme .spelling-suggestions{border:1px solid #CCD1C1;background:#FFFCF5;}
.editorial-theme .spelling-panel .text-button{color:#153D34;}
.editorial-theme .spelling-error{text-decoration-color:#CCD1C1;}
body.editorial-theme.writing-light .spelling-error{text-decoration-color:#CCD1C1;}
body.editorial-theme.writing-light .spelling-panel #spelling-count{color:#153D34;}
body.editorial-theme.writing-light .spelling-body .tool-help{color:#52635A;}
body.editorial-theme.writing-light .spelling-suggestions{background:#FFFCF5;color:#153D34;border-color:#CCD1C1;}
body.editorial-theme.writing-light .spelling-panel .text-button{color:#153D34;}

/* Editorial elegante — shared visual system, local fonts only. */
@font-face{font-family:GSL Editorial;src:url('fonts/CrimsonText-Regular.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:GSL Editorial;src:url('fonts/CrimsonText-Bold.ttf') format('truetype');font-style:normal;font-weight:700;font-display:swap}
body.editorial-theme{--ink:#092E29;--ink-dark:#092E29;--muted:#52635A;--violet:#285B4A;--violet-dark:#173E34;--cream:#F7F1E6;--paper:#FFFCF5;--line:#CCD1C1;--surface:#FFFCF5;--surface-raised:#F1EEE3;--input:#FFFEFA;--teal:#285B4A;--brand:#B94D2B;--serif:'GSL Editorial',Georgia,serif;--sans:system-ui,-apple-system,'Segoe UI',sans-serif;background:var(--cream)!important;color:var(--ink)!important;font-family:var(--sans);line-height:1.65;color-scheme:light}
.editorial-theme ::selection{background:#CDD1B9;color:#092E29}
.editorial-theme h1,.editorial-theme h2{font-family:var(--serif)!important;font-weight:400;letter-spacing:-.025em;color:#092E29!important;line-height:1.1}
.editorial-theme h3,.editorial-theme h4{color:#153D34!important;line-height:1.35}
.editorial-theme p,.editorial-theme li{overflow-wrap:break-word}
.editorial-theme .muted,.editorial-theme .lead,.editorial-theme .tool-help,.editorial-theme .helptext{color:#52635A!important}
.editorial-theme a:not(.button):not(.button-secondary){text-underline-offset:4px}
.editorial-theme a:not(.button):not(.button-secondary):hover{text-decoration:underline;color:#173E34!important}
.editorial-theme :focus-visible{outline:3px solid #923C24!important;outline-offset:4px}
.editorial-theme .skip-link{background:#092E29!important;color:#FFFCF5!important;z-index:1000}
.editorial-theme .button,.editorial-theme button[type=submit]:not(.text-button):not(.button-secondary):not(.spell-suggestion){background:#B94D2B!important;border-color:#B94D2B!important;color:#FFFFFF!important;box-shadow:none!important}
.editorial-theme .button:hover,.editorial-theme button[type=submit]:not(.text-button):not(.button-secondary):hover{background:#9D3F24!important;border-color:#9D3F24!important;color:#fff!important}
.editorial-theme .button,.editorial-theme .button-secondary{border-radius:999px;min-height:46px;padding:12px 23px;line-height:1.35;gap:12px;white-space:normal;text-align:center}
.editorial-theme .button-small{min-height:44px;padding:10px 17px}
.editorial-theme .button-secondary{background:transparent!important;border:1px solid #315F4E!important;color:#173E34!important;box-shadow:none!important}
.editorial-theme .button-secondary:hover{background:#E8EBDD!important;color:#092E29!important}
.editorial-theme button:disabled,.editorial-theme input:disabled,.editorial-theme select:disabled{cursor:not-allowed}
.editorial-theme button,.editorial-theme summary{min-height:44px}
.editorial-theme .button:disabled,.editorial-theme .button-secondary:disabled{background:#E4E5DA!important;border-color:#9DA997!important;color:#52635A!important;opacity:.8}
.editorial-theme input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.editorial-theme textarea,.editorial-theme select{background:#FFFEFA!important;color:#153D34!important;border-color:#7C8E7E!important;accent-color:#285B4A;min-width:0}
.editorial-theme input::placeholder,.editorial-theme textarea::placeholder{color:#627166!important;opacity:1}
.editorial-theme input:focus,.editorial-theme textarea:focus,.editorial-theme select:focus{outline:2px solid #285B4A!important;outline-offset:2px;box-shadow:none!important}
.editorial-theme input[type=checkbox],.editorial-theme input[type=radio]{accent-color:#285B4A;min-height:18px;min-width:18px}
.editorial-theme .field-error,.editorial-theme .errorlist,.editorial-theme .save-error{color:#9F3129!important}
.editorial-theme .site-header.member-header{background:#F7F1E6!important;border-bottom:1px solid #D7D8C9;box-shadow:none!important;padding-block:12px;min-height:80px}
.editorial-theme .header-inner{max-width:1240px}
.editorial-theme .brand{letter-spacing:-.05em;color:#092E29!important}
.editorial-theme .brand span span{color:#285B4A!important}
.editorial-theme .header-primary,.editorial-theme .header-actions{color:#173E34!important;font-size:.85rem}
.editorial-theme .member-header .header-primary a[aria-current=page]{color:#173E34!important;border-color:#B94D2B}
.editorial-theme .header-credits{background:#E8EBDD!important;color:#173E34!important;border-color:#CDD1B9!important;border-radius:12px}
.editorial-theme .header-credits strong,.editorial-theme .header-credits span{color:#173E34!important}
.editorial-theme .header-account>summary{color:#173E34!important;border-color:#CCD1C1}
.editorial-theme .header-account-panel{background:#FFFCF5!important;color:#153D34!important;border-color:#CCD1C1;box-shadow:0 15px 35px #092E2915!important}
.editorial-theme .header-account-panel a,.editorial-theme .header-account-panel button{color:#153D34!important}
.editorial-theme .header-account-panel a:hover,.editorial-theme .header-account-panel button:hover{background:#E8EBDD!important}
.editorial-theme .editorial-preview-note{padding:7px 20px;text-align:center;background:#E8EBDD;color:#385447;font-size:.72rem;letter-spacing:.02em;border-bottom:1px solid #D7D8C9}
.editorial-theme .site-footer{background:#F1EEE3!important;color:#52635A!important;border-color:#CCD1C1;padding:32px max(24px,calc((100% - 1176px)/2));margin-top:48px;font-size:.82rem;align-items:start}
.editorial-theme .site-footer nav{gap:10px 22px}
.editorial-theme .eyebrow,.editorial-theme .panel-label{color:#3C6552!important;letter-spacing:.14em}
.editorial-theme em{color:#B94D2B!important;font-family:var(--serif)}
.editorial-theme .form-card,.editorial-theme .empty-state,.editorial-theme .book-card,.editorial-theme .tool-card,.editorial-theme .plan-card,.editorial-theme .illustrated-card,.editorial-theme .admin-panel{border-color:#CCD1C1!important;box-shadow:none!important;border-radius:16px}
.editorial-theme .page-heading h1,.editorial-theme .page-shell>h1,.editorial-theme .billing-page h1{font-size:clamp(2.4rem,4.6vw,4rem);max-width:900px}
.editorial-theme .page-shell{padding-top:42px}
.editorial-theme .status-pill,.editorial-theme .count-badge,.editorial-theme .book-label{background:#E8EBDD!important;color:#285B4A!important}
.editorial-theme .member-balance{background:#E8EBDD!important;border-color:#CDD1B9!important}
.editorial-theme .member-balance-total strong{color:#092E29!important}
.editorial-theme .member-balance-total span,.editorial-theme .member-balance-detail p,.editorial-theme .member-balance-detail small,.editorial-theme .member-balance-detail a{color:#385447!important}
.editorial-theme .auth-intro h1{font-family:var(--serif);font-size:clamp(2.4rem,4.2vw,4rem)}
.editorial-theme .auth-decoration{color:#CDD1B9!important}
.editorial-theme .auth-tabs a.active{border-color:#B94D2B;color:#173E34!important}
.editorial-theme .chapter-panel,.editorial-theme .tools-panel,.editorial-theme .studio-topline{background:#F1EEE3!important;border-color:#CCD1C1;color:#173E34!important}
.editorial-theme .chapter-link{color:#385447!important}
.editorial-theme .chapter-link.selected{background:#DFE5D7!important;color:#153D34!important;border-left:3px solid #285B4A}
.editorial-theme .chapter-link strong{color:#153D34!important}
.editorial-theme .writing-panel{background:#FFFCF5!important;color:#153D34!important}
.editorial-theme .writing-panel .chapter-title-input,.editorial-theme .writing-panel .manuscript-input{background:transparent!important;color:#153D34!important;border:0!important;box-shadow:none!important}
.editorial-theme .chapter-title-input{font-family:var(--serif);font-size:clamp(2rem,3vw,2.8rem);font-weight:400}
.editorial-theme .manuscript-input{font:1.08rem/1.95 Georgia,serif;padding-bottom:24px}
.editorial-theme .writing-panel .editor-path,.editorial-theme .writing-panel .editor-bottom{color:#52635A!important}
.editorial-theme .writing-panel .save-status{color:#285B4A!important}
.editorial-theme .tools-panel h2,.editorial-theme .chapter-panel h2{font-size:1.5rem}
.editorial-theme .tool-card>summary{color:#173E34!important}
.editorial-theme .ai-compose,.editorial-theme .ai-proposal,.editorial-theme .ai-empty{background:#FFFCF5!important;border-color:#CCD1C1!important}
.editorial-theme .ai-memory,.editorial-theme .ai-next-card,.editorial-theme .ai-studio-banner,.editorial-theme .ai-unavailable{background:#E8EBDD!important;border-color:#BFC9B6!important}
.editorial-theme .ai-memory summary,.editorial-theme .ai-plan-edit summary{color:#173E34!important}
.editorial-theme .style-sample[aria-pressed=true]{outline-color:#285B4A}
.editorial-theme .sample-custom,.editorial-theme .sample-pending{background:#E8EBDD!important;border-color:#9DA997;color:#385447!important}
.editorial-theme .sample-custom small,.editorial-theme .sample-pending small{color:#52635A!important}
.editorial-theme .illustrated-sheet{box-shadow:0 8px 24px #092E2910}
.editorial-theme .reader-page:not([data-reader-theme=dark]){--reader-accent:#285B4A;--reader-line:#CCD1C1}
.editorial-theme .reader-manuscript :is(h1,h2,h3,h4){color:var(--reader-text)!important;font-family:var(--reader-font)!important}
.editorial-theme .reader-manuscript .muted{color:var(--reader-muted)!important}
.editorial-theme .reader-index{background:#F1EEE3!important}
.editorial-theme .reader-preferences{background:#F1EEE3!important;color:#153D34!important;border-color:#CCD1C1!important}
.editorial-theme .reader-preferences legend,.editorial-theme .reader-settings-grid label{color:#153D34!important}
.editorial-theme .reader-preferences .reader-setting-status{color:#52635A!important}
.editorial-theme .reader-start-link{color:#285B4A!important;min-height:44px;padding-block:8px}
.editorial-theme .cover-editor-global,.editorial-theme .cover-text-controls{background:#FFFCF5!important;border-color:#CCD1C1!important;color:#153D34!important}
.editorial-theme .cover-text-controls legend{color:#153D34!important}
.editorial-theme .book-ai-link,.editorial-theme .download-link{min-height:44px;display:flex;align-items:center;padding:10px 18px;border-radius:12px}
.editorial-theme .plan-featured{border-color:#B94D2B!important;box-shadow:0 0 0 1px #B94D2B!important}
.editorial-theme .plan-card .plan-price{color:#092E29!important;font-family:var(--serif);font-weight:700;font-size:2.2rem}
.editorial-theme .demo-top{background:#173E34!important;color:#FFFCF5!important}
.editorial-theme .demo-top .demo-badge,.editorial-theme .demo-top .demo-dots{color:#E8EBDD!important}
.editorial-theme .demo-tabs button[aria-pressed=true]{background:#FFFCF5!important;color:#173E34!important;border-color:#B94D2B}
.editorial-theme .demo-tabs,.editorial-theme .demo-bottom{background:#E8EBDD!important;color:#385447!important}
.editorial-theme .demo-content,.editorial-theme .product-demo{background:#FFFCF5!important;color:#153D34!important;border-color:#CCD1C1}
.editorial-theme .cover-sample-type,.editorial-theme .cover-sample-type strong,.editorial-theme .cover-sample-type small,.editorial-theme .cover-sample-type span,.editorial-theme .cover-option-type,.editorial-theme .cover-option-type strong,.editorial-theme .cover-option-type small,.editorial-theme .cover-option-type span,.editorial-theme .book-cover-lettering,.editorial-theme .book-cover-lettering strong,.editorial-theme .book-cover-lettering small,.editorial-theme .demo-book,.editorial-theme .demo-book strong,.editorial-theme .demo-book span,.editorial-theme .demo-book small{color:#fff!important}
.editorial-theme .editorial-home{overflow:clip}
.editorial-theme .editorial-hero{display:grid;grid-template-columns:1.03fr 1fr;gap:60px;align-items:center;padding-block:74px 86px;min-height:650px}
.editorial-theme .editorial-hero h1{font:400 clamp(3.6rem,5.7vw,5.5rem)/.99 var(--serif)!important;letter-spacing:-.035em;margin:22px 0;max-width:480px}
.editorial-theme .editorial-hero h1 em{font-style:italic;color:#092E29!important;display:block}
.editorial-theme .editorial-hero .hero-description{color:#52635A!important;max-width:490px;font-size:1.04rem;line-height:1.75}
.editorial-theme .editorial-hero .hero-actions{margin:30px 0 20px;flex-wrap:wrap;gap:12px}
.editorial-theme .editorial-hero .hero-foot{font-size:.78rem;max-width:440px;color:#52635A!important;display:block}
.editorial-theme .editorial-hero .hero-foot span{color:#B94D2B;margin-right:7px}
.editorial-theme .editorial-books{position:relative;min-height:460px;margin:0;display:flex;justify-content:center;align-items:center;gap:0;padding:28px 26px 55px}
.editorial-theme .editorial-books:before{content:'';position:absolute;inset:10% -8% 2%;border-radius:50%;background:radial-gradient(ellipse,#EDDCC5 0%,#F1E7D5 43%,transparent 70%);z-index:0}
.editorial-theme .editorial-book{position:relative;width:42%;aspect-ratio:2/3;flex:none;box-shadow:8px 12px 24px #092E2925;transform:rotate(-10deg) translate(18px,30px);border-radius:2px 4px 4px 2px;border-left:5px solid #5F5342;margin:0;overflow:hidden}
.editorial-theme .editorial-book:nth-child(2){transform:rotate(9deg) translate(-8px,-17px);z-index:2;width:45%}
.editorial-theme .editorial-book img{display:block;width:100%;height:100%;object-fit:cover}
.editorial-theme .editorial-book:after{content:'';position:absolute;inset:0;background:linear-gradient(#092E2940,transparent 25%,#092E2910 45%,#092E29D9)}
.editorial-theme .editorial-book-copy{position:absolute;inset:auto 10% 9%;z-index:3;text-align:center;color:#fff}
.editorial-theme .editorial-book-copy strong{display:block;font:400 clamp(1.1rem,2vw,1.9rem)/1.05 var(--serif);color:#fff!important;margin-bottom:15px}
.editorial-theme .editorial-book-copy small{font-size:.56rem;letter-spacing:.14em;text-transform:uppercase;color:#fff!important}
.editorial-theme .editorial-books>figcaption{position:absolute;bottom:0;left:0;right:0;text-align:center;font-size:.72rem;color:#52635A}
.editorial-theme .editorial-process{background:#F1EEE3;padding-block:62px;border-block:1px solid #E0DFD1}
.editorial-theme .editorial-heading{display:flex;justify-content:space-between;align-items:end;gap:32px;margin-bottom:34px}
.editorial-theme .editorial-heading h2{font-size:clamp(2.3rem,3.6vw,3.4rem);margin:10px 0 12px}
.editorial-theme .editorial-heading p{max-width:520px;margin-bottom:0;color:#52635A!important}
.editorial-theme .editorial-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:42px}
.editorial-theme .editorial-steps article{display:grid;grid-template-columns:54px 1fr;column-gap:18px;align-items:start}
.editorial-theme .editorial-step-icon{display:grid;place-items:center;width:54px;height:54px;background:#F2D0B6;border-radius:50%;font:400 1.55rem var(--serif);color:#153D34}
.editorial-theme .editorial-steps article:nth-child(2) .editorial-step-icon{background:#CDD1B9}
.editorial-theme .editorial-steps article:nth-child(3) .editorial-step-icon{background:#E5D9BE}
.editorial-theme .editorial-steps h3{font:400 1.8rem/1.1 var(--serif);margin:1px 0 10px}
.editorial-theme .editorial-steps p{font-size:.88rem;color:#52635A!important;line-height:1.75}
.editorial-theme .editorial-samples{padding-block:72px}
.editorial-theme .editorial-sample-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:35px}
.editorial-theme .editorial-sample-card{display:grid;grid-template-columns:105px 1fr;gap:20px;align-items:start;padding-block:18px;border-top:1px solid #CCD1C1;min-width:0}
.editorial-theme .editorial-sample-card img{width:105px;height:150px;object-fit:cover;box-shadow:4px 7px 15px #092E2915;border-radius:2px}
.editorial-theme .editorial-sample-card h3{font:400 1.6rem/1.1 var(--serif);margin:8px 0 10px}
.editorial-theme .editorial-sample-card p{font-size:.8rem;color:#52635A!important}
.editorial-theme .editorial-sample-card .sample-open{display:inline-block;font-size:.8rem;font-weight:650;margin-top:8px}
.editorial-theme .editorial-demo{display:grid;grid-template-columns:.8fr 1.2fr;gap:70px;align-items:center;padding-block:25px 75px}
.editorial-theme .editorial-demo h2{font-size:clamp(2.4rem,3.6vw,3.5rem);margin:15px 0 22px}
.editorial-theme .editorial-demo p{color:#52635A!important}
.editorial-theme .editorial-home .cover-showcase{background:transparent!important;border-top:1px solid #CCD1C1;padding-block:58px}
.editorial-theme .editorial-home .showcase-card{background:transparent!important;border:0!important;box-shadow:none!important}
.editorial-theme .editorial-home .showcase-card figcaption{border:0!important;padding:18px 12px}
.editorial-theme .editorial-home .showcase-card .cover-sample{box-shadow:5px 10px 18px #092E2920;transform:none;border-left-color:#5F5342}
.editorial-theme .editorial-home .cover-sample-copy strong{font-family:var(--serif);color:#fff!important}
.editorial-theme .editorial-home .showcase-more>summary{color:#173E34!important;border-color:#9DA997}
.editorial-theme .home-values article{border-color:#CCD1C1!important}
.editorial-theme .home-final{background:#E8EBDD!important;padding:62px 24px;border-color:#CCD1C1}
.editorial-theme .home-final h2{font-size:clamp(2.5rem,4.4vw,4rem);max-width:780px;margin:0 auto 18px}
.editorial-theme .home-final p{color:#52635A!important}
@media(min-width:1250px){.editorial-theme .wrap{max-width:1240px;padding-inline:32px}}
@media(max-width:1050px){.editorial-theme .editorial-hero{gap:30px;padding-block:58px;min-height:0}.editorial-theme .editorial-books{min-height:390px;padding-inline:12px}.editorial-theme .editorial-hero h1{font-size:clamp(3.1rem,6vw,4.6rem)!important}.editorial-theme .editorial-sample-grid{gap:24px}.editorial-theme .editorial-sample-card{grid-template-columns:85px 1fr;gap:14px}.editorial-theme .editorial-sample-card img{width:85px;height:125px}.editorial-theme .editorial-demo{gap:35px}}
@media(max-width:760px){.editorial-theme .editorial-hero{grid-template-columns:1fr;padding-block:42px 42px;gap:16px}.editorial-theme .editorial-hero h1{font-size:clamp(3rem,11vw,4.5rem)!important;max-width:540px}.editorial-theme .editorial-hero .hero-description{font-size:1rem}.editorial-theme .editorial-books{max-width:460px;width:100%;min-height:360px;justify-self:center;margin-top:10px;padding:20px 36px 45px}.editorial-theme .editorial-book-copy strong{font-size:1.65rem}.editorial-theme .editorial-heading{align-items:start;flex-direction:column;gap:15px}.editorial-theme .editorial-steps,.editorial-theme .editorial-sample-grid,.editorial-theme .editorial-demo{grid-template-columns:1fr;gap:28px}.editorial-theme .editorial-process,.editorial-theme .editorial-samples{padding-block:40px}.editorial-theme .editorial-sample-card{grid-template-columns:105px 1fr;gap:23px}.editorial-theme .editorial-sample-card img{width:105px;height:150px}.editorial-theme .editorial-demo{padding-block:0 48px}.editorial-theme .hero-actions>.button,.editorial-theme .hero-actions>.button-secondary{flex:1;min-width:140px}.editorial-theme .site-footer{flex-direction:column;padding-inline:20px}.editorial-theme .editorial-preview-note{font-size:.65rem;padding-inline:12px}.editorial-theme .writing-panel{padding-inline:20px}.editorial-theme .form-card{padding:24px}.editorial-theme .site-header.member-header{padding-inline:16px}}
@media(max-width:380px){.editorial-theme .wrap{padding-inline:18px}.editorial-theme .editorial-hero h1{font-size:3rem!important}.editorial-theme .editorial-books{min-height:310px;padding-inline:23px}.editorial-theme .editorial-book-copy strong{font-size:1.35rem}.editorial-theme .editorial-book-copy small{font-size:.48rem}.editorial-theme .header-primary{font-size:.78rem}.editorial-theme .hero-actions{display:grid;grid-template-columns:1fr}.editorial-theme .editorial-steps{gap:20px}.editorial-theme .editorial-hero .hero-actions>.button{width:100%}.editorial-theme .button,.editorial-theme .button-secondary{padding-inline:17px}}
@media(max-width:760px){
  .editorial-theme .professional-studio .studio-topline,.editorial-theme .professional-studio .book-workflow,.editorial-theme .professional-studio .writing-actions{display:flex;flex-wrap:nowrap;overflow-x:auto;max-width:100%;min-width:0;gap:8px;scrollbar-width:thin;scroll-padding-inline:16px;overscroll-behavior-inline:contain}
  .editorial-theme .professional-studio .studio-topline{height:auto;min-height:46px;padding:5px 16px}
  .editorial-theme .professional-studio .studio-topline>a{flex:0 0 auto;white-space:nowrap;min-height:40px;display:inline-flex;align-items:center}
  .editorial-theme .professional-studio .book-workflow,.editorial-theme .professional-studio .writing-actions{padding:7px 16px;margin:0}
  .editorial-theme .professional-studio .book-workflow>a,.editorial-theme .professional-studio .writing-actions>a,.editorial-theme .professional-studio .writing-actions>button{flex:0 0 auto;white-space:nowrap;min-height:44px;padding:8px 14px;font-size:.8rem;display:inline-flex;align-items:center}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.editorial-theme *{transition:none!important;animation:none!important}}
@media print{.editorial-preview-note{display:none}.editorial-theme{background:#fff!important;color:#111!important}.editorial-theme .site-header,.editorial-theme .site-footer{display:none}}

/* Honor the pre-existing writing-light preference; only the writing surface changes. */
body.editorial-theme:not(.writing-light) .professional-studio #chapter-editor{background:#153D34;border-radius:10px;padding:18px 20px}
body.editorial-theme:not(.writing-light) .professional-studio .writing-panel .chapter-title-input,body.editorial-theme:not(.writing-light) .professional-studio .writing-panel .manuscript-input{background:transparent!important;color:#FFFCF5!important;caret-color:#FFFCF5}
body.editorial-theme:not(.writing-light) .professional-studio #chapter-editor .visually-hidden{color:#FFFCF5!important}
body.editorial-theme:not(.writing-light) .professional-studio #chapter-editor :is(input,textarea)::placeholder{color:#CDD1B9!important}
body.editorial-theme:not(.writing-light) .professional-studio #chapter-editor :is(input,textarea):focus{outline-color:#F2D0B6!important}
body.editorial-theme:not(.writing-light) .professional-studio #chapter-editor .editor-divider{background:#CDD1B9}
.reference-home .header-actions .button{color:#FFFFFF!important}
