.editor-panel{padding:20px;border:2px solid #24584e;background:#f2f6ef;border-radius:10px;margin-bottom:24px}.editor-panel label{display:block;font-weight:600;margin-top:12px}.editor-panel textarea{display:block;width:100%;max-width:100%;min-height:60px;font:inherit;padding:8px;border:1px solid #abbbae;border-radius:5px}.editor-panel button,#page-editor>button{padding:10px 14px;background:#24584e;color:white;border:0;border-radius:5px;cursor:pointer}.editor-panel button:disabled{opacity:.5;cursor:wait}.editor-panel .editor-controls{display:flex;flex-wrap:wrap;gap:10px;margin:15px 0}.editor-panel [role=status]{font-weight:600}.editor-panel select{max-width:100%;padding:10px}[data-page-field][contenteditable=true]{outline:2px dashed #668775;outline-offset:3px;cursor:text}[data-page-field][contenteditable=true]:focus{outline:3px solid #dcae43}#page-editor [hidden]{display:none!important}
#page-editor{width:calc(100% - 40px);max-width:1120px;margin:34px auto 20px;text-align:left;flex-shrink:0;font:14px/1.5 system-ui;color:#18323c}#page-editor:has(>.editor-entry[hidden]):not(:has(.editor-panel:not([hidden]))){display:none}#page-editor>.editor-entry{background:transparent;color:#5d6d70;font-size:12px;padding:5px 0;text-decoration:underline;text-underline-offset:3px}.section-edit{display:block;margin:0 0 14px;padding:5px 9px;border:1px dashed #668775;border-radius:4px;background:#f2f6ef;color:#24584e;font:600 12px system-ui;cursor:pointer}.hero>.section-edit{flex-shrink:0}.editor-panel{margin:0}.editor-dialog{width:min(600px,calc(100% - 24px));max-height:80vh;overflow:auto;padding:24px;border:1px solid #668775;border-radius:12px;color:#18323c;background:#fffef9}.editor-dialog::backdrop{background:#14263388}.editor-dialog h2{font-size:24px}.editor-dialog label{display:block;font-weight:600;margin:14px 0}.editor-dialog textarea{display:block;width:100%;min-height:65px;margin-top:6px;padding:10px;font:400 16px/1.5 system-ui;border:1px solid #abbbae;border-radius:5px;resize:vertical}.editor-dialog button{padding:10px 14px;background:#24584e;color:white;border:0;border-radius:5px;cursor:pointer}.editor-dialog .editor-controls{display:flex;gap:10px;flex-wrap:wrap}.editor-dialog [role=status]{color:#6e5426}.editor-dialog button:disabled{opacity:.5}.hero:has(>.section-edit){flex-wrap:wrap}.hero>.section-edit{flex-basis:100%;text-align:left}.actions>.section-edit{flex-basis:100%;text-align:left}
#page-editor *{box-sizing:border-box}#page-editor h2{font:700 24px/1.3 Georgia,serif;letter-spacing:normal}#page-editor p{font:14px/1.5 system-ui;max-width:none;color:inherit}#page-editor .editor-dialog{position:fixed;margin:auto}#page-editor textarea{color:#18323c;background:white}#page-editor [hidden]{display:none!important}

#page-editor .rich-field{margin:18px 0}#page-editor .rich-label{font:600 14px/1.5 system-ui;margin-bottom:6px}#page-editor .rich-toolbar{display:flex;flex-wrap:wrap;gap:5px;padding:8px;background:#edf2eb;border:1px solid #a6b7aa;border-radius:6px 6px 0 0}#page-editor .rich-toolbar button,#page-editor .rich-toolbar select{padding:5px 8px;font:13px/1.4 system-ui;min-height:32px;max-width:100%}#page-editor .rich-input{min-height:80px;max-height:280px;overflow:auto;overflow-wrap:anywhere;white-space:pre-wrap;padding:12px;border:1px solid #a6b7aa;border-top:0;border-radius:0 0 6px 6px;background:white;color:#18323c;outline-offset:2px}#page-editor .rich-input:focus{outline:2px solid #24584e}#page-editor .editor-dialog{width:min(760px,calc(100% - 24px))}#page-editor .rich-input span{color:inherit}
.section-edit{position:relative;z-index:2}
