/* Match the Escape editor's single-column form and contextual photo controls. */
.editor-page{max-width:1000px}.editor-page .editor-fields{display:grid;grid-template-columns:1fr;gap:25px;margin:0}.editor-page .editor-fields label{margin:0;gap:10px;font-size:17px;font-weight:700}
.freeform-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px;border:1px solid #cbdbe1;border-radius:10px 10px 0 0;background:#f5faff}.freeform-toolbar button,.photo-context button{padding:9px 14px;border:1px solid #bbcdd7;border-radius:6px;background:white;color:#193640;cursor:pointer}.freeform-toolbar span{margin-left:auto;font-size:14px}
#freeform-body{min-height:500px;padding:28px;border:1px solid #cbdbe1;border-top:0;border-radius:0 0 10px 10px;background:white;outline:none;line-height:1.9;overflow-wrap:anywhere}#freeform-body:focus{box-shadow:0 0 0 2px #a7dbf5}#freeform-body p,.post-freeform p{white-space:pre-wrap;margin:0 0 24px}#freeform-body h2{font-size:24px;font-weight:700;background:#e5f4ff;border-left:4px solid #52a8d6;padding:16px 20px;margin:28px 0 20px}#freeform-body img{display:block;max-width:100%;height:auto;margin:auto}#freeform-body figure{margin:22px 0;cursor:pointer}#freeform-body figure[data-selected],#freeform-body figure:focus{outline:3px solid #4b9dce;outline-offset:4px}
.photo-context{position:sticky;bottom:12px;z-index:5;display:flex;flex-wrap:wrap;gap:8px;align-items:end;padding:16px;background:#edf7ff;border:1px solid #7db6da;border-radius:10px;box-shadow:0 4px 24px #10203022}.editor-page [hidden]{display:none!important}.photo-context label{flex:1;min-width:180px;margin:0}.photo-context input{display:block;width:100%;padding:10px;border:1px solid #abc;border-radius:6px}#freeform-body[contenteditable=false]{opacity:.75}
.editor-page .editor-actions{position:static;display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none}.editor-page .editor-actions #delete-button{margin-left:auto;background:none;border:0;text-decoration:underline}.editor-page .editor-actions button{min-height:48px}
.post-freeform{line-height:1.85}.post-freeform h2{background:#e0f2fe;color:#0c4a6e;font-size:1.3rem;font-weight:750;border-left:4px solid #38bdf8;padding:14px 18px;margin:30px 0 18px}.post-freeform img{max-width:100%;height:auto;display:block}.post-freeform figure{margin:24px 0 36px}
@media(max-width:640px){#freeform-body{padding:18px;min-height:400px}#freeform-body h2{font-size:21px}.photo-context{bottom:0}.editor-page .editor-actions{gap:10px}.editor-page .editor-actions #delete-button{flex-basis:100%;text-align:right}.freeform-toolbar span{flex-basis:100%;margin-left:0}}
/* Draft and publish use the same single-column interaction as Escape. */
.editor-page{padding-block:32px 90px}.editor-page h1{font-size:46px;letter-spacing:-.055em;line-height:1.3;margin:8px 0 16px}.editor-page .editor-intro{color:#52657b;font-size:17px}.editor-page input,.editor-page select{min-height:48px}.editor-page .editor-hint{color:#52657b;font-size:14px;line-height:1.8;margin:8px 0}.editor-page #editor-message{color:#52657b;margin:24px 0 14px;min-height:25px}.editor-page .editor-error{background:#fff0ee;border:1px solid #edb2aa;color:#8d2922;border-radius:5px;padding:15px 18px;margin-top:25px}.editor-page #photo-error:empty{display:none}.editor-page #save-draft{background:#fff;border:1px solid #163f68;color:#163f68;box-shadow:none}.editor-page #save-draft:hover{background:#f5faff}.editor-page [disabled]{cursor:wait;opacity:.65}
@media(max-width:640px){.editor-page{padding-block:22px 65px}.editor-page h1{font-size:34px;margin-top:6px}.editor-page .editor-intro{font-size:15px}.editor-page .editor-actions>#save-draft,.editor-page .editor-actions>#publish-button{flex:1;padding:12px 15px;font-size:15px}.freeform-toolbar #body-count{flex-basis:auto;margin-left:auto}}

/* Match the reference editor header and grid rhythm without changing site branding. */
.editor-page .board-crumb{gap:10px;margin-bottom:38px;overflow-wrap:anywhere}.editor-page .board-heading{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-bottom:38px;padding:0}.editor-page .board-heading p:not(.eyebrow){color:#52657b;font-size:17px}.editor-page .board-heading .eyebrow{color:#225b91;font-size:13px;font-weight:800;letter-spacing:.08em;display:flex;align-items:center;gap:10px;margin:0 0 22px}.editor-page .board-heading .text-link{flex-shrink:0}.editor-page .text-link:hover{text-decoration:underline}.editor-page #freeform-body{font-size:18px}.editor-page .photo-context label{margin:0}
@media(max-width:640px){.editor-page .board-crumb{font-size:12px;margin-bottom:28px}.editor-page .board-heading{align-items:flex-start;gap:16px;margin-bottom:28px}.editor-page .board-heading p:not(.eyebrow){font-size:15px}.editor-page #freeform-body{font-size:17px}}

.editor-page.wrap{width:calc(100% - 112px)}.editor-page .editor-actions>#save-draft,.editor-page .editor-actions>#publish-button{padding:13px 25px;display:inline-flex;justify-content:center;align-items:center;font-weight:750;font-size:15px}
@media(max-width:1150px){.editor-page.wrap{width:calc(100% - 64px)}}
@media(max-width:640px){.editor-page.wrap{width:calc(100% - 40px)}.editor-page .editor-actions>#save-draft,.editor-page .editor-actions>#publish-button{padding:12px 15px}}
@media(max-width:360px){.editor-page.wrap{width:calc(100% - 32px)}}
