/* Rellawings v43.5 — chapter forms only; no changes to story, forum or reader layouts. */
#rw25-chapter-form.rw435-chapter-form{background:transparent;border:0;padding:0;margin:0;gap:0;max-width:100%;}
#rw25-chapter-form .rw435-editor-main,#rw25-chapter-form .rw435-editor-extras{display:flex;flex-direction:column;gap:1.25rem;min-width:0;}
#rw25-chapter-form .rw435-editor-main{margin:1.15rem 0 0;}
#rw25-chapter-form .rw435-editor-extras{margin:0 0 1.25rem;}
#rw25-chapter-form .rw435-chapter-actions{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap;min-width:0;}
#rw25-chapter-form .rw435-quick-actions{padding:1.15rem 0;}
#rw25-chapter-form .rw435-chapter-actions>a:first-child{margin-right:auto;}
#rw25-chapter-form .rw435-chapter-actions>.btn{white-space:nowrap;}
#rw25-chapter-form .rw435-import-status:empty,#rw25-chapter-form .rw435-image-upload-status:empty{display:none;}
#rw25-chapter-form .rw435-import-status,#rw25-chapter-form .rw435-image-upload-status{color:var(--accent);font-size:.88rem;margin:0;}
#rw25-chapter-form .rw23-import-chapter{display:flex;flex-direction:column;gap:.65rem;min-width:0;}
#rw25-chapter-form .rw23-import-chapter input[type=file]{width:100%;max-width:100%;}
#rw25-chapter-form .rw23-import-chapter small{display:block;color:var(--muted);font-weight:400;}
#rw25-chapter-form .rw435-editor-extras>.rw18-frontmatter-panel{margin:0;}
#rw25-chapter-form .rw435-editor-extras>.form-grid{width:100%;}
@media(max-width:660px){
 #rw25-chapter-form .rw435-chapter-actions>.btn{flex:1 1 auto;min-width:calc(50% - .5rem);}
 #rw25-chapter-form .rw435-chapter-actions>a:first-child{margin-right:0;}
 #rw25-chapter-form .rw435-editor-main,#rw25-chapter-form .rw435-editor-extras{padding:1.05rem;}
}
@media(max-width:360px){#rw25-chapter-form .rw435-chapter-actions>.btn{min-width:100%;}}
