.public-copy-editor { width:100%; min-width:0; box-sizing:border-box; color:#1c2622; background:#fff; border:1px solid #b7c4bc; border-radius:8px; overflow:hidden; text-align:left; }
.public-copy-editor:focus-within { outline:2px solid #33745d; outline-offset:1px; }
.public-copy-editor .pell-actionbar { display:flex; flex-wrap:wrap; align-items:center; gap:3px; padding:5px; background:#f3f6f3; border-bottom:1px solid #ccd6ce; }
.public-copy-editor .pell-button, .public-copy-editor select { appearance:auto; display:inline-flex; justify-content:center; align-items:center; width:auto; height:32px; min-width:32px; min-height:0; margin:0; padding:3px 7px; border:1px solid transparent; border-radius:4px; box-shadow:none; background:transparent; color:#25392d; font:500 14px/1.3 system-ui,sans-serif; cursor:pointer; text-transform:none; }
/* Organizer themes give every button a heavy CTA treatment. Keep editing
   commands compact, including when a narrow form needs a second toolbar row. */
body .public-copy-editor .pell-actionbar button.pell-button {
    min-height:32px !important; height:32px !important; padding:3px 8px !important;
    margin:0 !important; border:1px solid transparent !important; border-radius:4px !important;
    background:#f3f6f3 !important; color:#25392d !important; box-shadow:none !important;
    font:500 14px/1.3 system-ui,sans-serif !important; transform:none !important;
}
body .public-copy-editor .pell-actionbar button.pell-button:is(:hover,:focus-visible,.pell-button-selected) {
    border-color:#a8bbac !important; background:#dbe8de !important;
}
body .public-copy-editor .pell-actionbar select { appearance:auto; box-sizing:border-box; width:auto; min-width:0; height:32px; padding:3px 7px; border:1px solid #c5cec7; border-radius:4px; background:white; color:#25392d; font:500 14px/1.3 system-ui,sans-serif; }
.public-copy-editor .pell-button:is(:hover,:focus-visible,.pell-button-selected) { background:#dbe8de; border-color:#a8bbac; }
.public-copy-editor .pell-content { min-height:4em; padding:12px; line-height:1.5; text-align:start; overflow-wrap:anywhere; outline:none; }
.public-copy-editor .pell-content:empty::before { content:attr(data-placeholder); color:#646e68; pointer-events:none; }
.public-copy-editor .pell-content p { margin:0 0 .55em; }
.public-copy-editor .pell-content img { max-width:100%; height:auto; }
.public-copy-editor[data-ready] + [data-public-copy-fallback] { display:none; }
textarea[data-public-copy-editor][hidden] { display:none !important; }
.public-copy-editor.photo-drag-over .pell-content { outline:2px dashed #33745d; outline-offset:-3px; background:#edf5ef; }
.public-copy-photo-status { padding:0 12px 8px; color:#52665a; font:13px/1.4 system-ui,sans-serif; }
.public-copy-photo-status:empty { display:none; }
.public-copy-photo-status.has-error { color:#8d271f; }
.public-copy-validation { padding:4px 12px; color:#8d271f; font:14px/1.4 system-ui,sans-serif; }
.public-copy-editor input[type=file][hidden] { display:none !important; }
.public-copy-editor .pell-content [data-public-copy-button] { display:inline-block; background:#224539; color:white; padding:8px 16px; border-radius:6px; text-decoration:none; }
.public-copy-source { position:absolute!important; width:1px!important; height:1px!important; min-height:0!important; opacity:0!important; padding:0!important; overflow:hidden!important; pointer-events:none!important; clip-path:inset(50%); }
.public-copy-dialog { box-sizing:border-box; width:min(25rem,calc(100% - 2rem)); max-height:90vh; margin:auto; padding:1.25rem; border:1px solid #afbeb4; border-radius:10px; background:white; color:#1c2622; }
.public-copy-dialog::backdrop { background:rgba(20,30,24,.45); }
.public-copy-dialog h3 { margin:0 0 1rem; font:700 24px/1.25 system-ui,sans-serif; color:#181c25; }
.public-copy-dialog label { display:grid; gap:4px; margin:0 0 28px; color:#353b46; font:400 16px/1.5 system-ui,sans-serif; }
.public-copy-dialog input { box-sizing:border-box; width:100%; height:50px; margin:0; padding:10px 16px; border:1px solid #c6d0df; border-radius:4px; background:#fafbfc; color:#303641; font:inherit; }
.public-copy-dialog__actions {
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-end;
    gap:8px;
    margin-top:16px;
}
.public-copy-dialog .public-copy-dialog__actions button {
    appearance:none;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:auto;
    min-width:88px;
    min-height:44px;
    margin:0;
    padding:8px 18px;
    border:2px solid #224539;
    border-radius:8px;
    background:#fff;
    color:#224539;
    font:700 15px/1.3 system-ui,sans-serif;
    cursor:pointer;
}
.public-copy-dialog__actions button[type="submit"] { background:#224539; color:#fff; }
.public-copy-dialog__actions button[type="button"]:hover { background:#edf5ef; }
.public-copy-dialog__actions button[type="submit"]:enabled:hover { background:#173127; }
.public-copy-dialog__actions button:focus-visible { outline:3px solid #254eba; outline-offset:2px; }
.public-copy-dialog__actions button[type="submit"]:disabled { opacity:1; background:#e4e9e6; color:#49574f; border-color:#829087; cursor:wait; }
.public-copy-dialog [role=alert]:empty { display:none; }
