.oe-edit-access { padding: 8px 112px 20px 24px; text-align: right; background:#f4f2ee; color:#183f41; font:14px/1.4 Rubik,Arial,sans-serif; }
.oe-edit-access button { border:0; background:none; color:inherit; cursor:pointer; min-height:44px; padding:8px; font:inherit; }
.oe-editable { position:relative; }
.oe-edit-pencil { position:absolute; right:0; top:0; transform:translateY(-55%); z-index:3; width:44px; height:44px; border:1px solid currentColor; border-radius:50%; background:var(--oe-paper,#fff); color:var(--oe-base,#183f41); font:24px/1 Arial,sans-serif; cursor:pointer; box-shadow:0 2px 8px #0002; }
#oe-edit-dialog { box-sizing:border-box; width:min(560px,calc(100% - 32px)); max-height:90dvh; padding:32px 24px; border:0; border-radius:6px; background:#f4f2ee; color:#183f41; font:16px/1.5 Rubik,Arial,sans-serif; }
#oe-edit-dialog::backdrop { background:#071c2bb3; }
#oe-edit-dialog h2 { font-size:26px; line-height:1.2; margin:0 40px 24px 0; }
#oe-edit-dialog label { display:block; margin:16px 0; font-weight:500; }
#oe-edit-dialog input,#oe-edit-dialog textarea { display:block; box-sizing:border-box; width:100%; padding:12px; margin-top:6px; border:1px solid #70827f; border-radius:0; color:#183f41; background:#fff; font:inherit; min-height:44px; }
#oe-edit-dialog textarea { min-height:200px; resize:vertical; }
#oe-edit-dialog button { min-height:44px; padding:10px 16px; cursor:pointer; font:inherit; border:1px solid #183f41; background:#fff; color:#183f41; }
#oe-edit-dialog button:disabled { opacity:.5; cursor:wait; }
#oe-edit-dialog button[type=submit] { background:#183f41; color:#fff; }
#oe-edit-dialog .oe-edit-actions { display:flex; gap:12px; margin-top:24px; }
#oe-edit-dialog .oe-edit-close { position:absolute; top:12px; right:12px; }
#oe-edit-dialog .oe-edit-close button { border:0; background:transparent; font-size:26px; }
#oe-edit-dialog fieldset { border:1px solid #70827f; margin:16px 0; min-width:0; padding:12px; }
#oe-edit-dialog [role=status] { margin:16px 0 0; }
#oe-edit-dialog .oe-edit-excerpt { min-height:90px; }
#oe-edit-dialog .oe-article-choice { display:block; width:100%; text-align:left; margin-top:12px; }
.oe-articles-control { min-height:44px; margin-bottom:16px; padding:8px 14px; font:inherit; cursor:pointer; }
#oe-edit-dialog:has(#oe-article-body) { width:min(840px,calc(100% - 24px)); }
@media(max-width:600px) { #oe-edit-dialog:has(#oe-article-body) { width:100%; max-height:100dvh; height:100dvh; margin:0; border-radius:0; } }
.oe-image-previews { display:grid; grid-template-columns:1.6fr 1fr; gap:12px; background:#e5e9ef; padding:12px; }
.oe-image-previews img { width:100%; object-fit:cover; aspect-ratio:16/9; align-self:center; }
.oe-image-previews img+img { aspect-ratio:3/4; }
#oe-edit-dialog input[type=range] { padding:0; }
.wp-block-image.oe-editable > .oe-edit-pencil { top:12px; right:12px; transform:none; }
.oe-portrait .oe-edit-pencil { pointer-events:auto; top:40px; right:32px; }

.oe-brochure-update { display:inline-flex; align-items:center; min-height:48px; margin-top:16px; padding:12px 20px; border:1px solid currentColor; background:var(--oe-paper,#f4f2ee); color:var(--oe-base,#183f41); font:500 16px/1.4 Rubik,Arial,sans-serif; cursor:pointer; }
#oe-edit-dialog .oe-brochure-radio { display:flex; align-items:center; gap:12px; min-height:44px; }
#oe-edit-dialog .oe-brochure-radio input { width:20px; min-height:20px; height:20px; margin:0; flex-shrink:0; }
#oe-edit-dialog [hidden] { display:none!important; }
#oe-edit-dialog details { margin-block:20px; }
#oe-edit-dialog summary { min-height:44px; cursor:pointer; font-weight:500; }
#oe-edit-dialog .oe-brochure-field textarea { min-height:90px; }
#oe-edit-dialog .oe-brochure-field { margin-bottom:28px; }
#oe-edit-dialog .oe-brochure-field button { font-size:13px; padding:4px 10px; }
.oe-brochure-photo { width:100%; max-height:260px; object-fit:contain; }
.oe-brochure-preview-cover { display:block; width:100%; max-height:480px; object-fit:contain; margin-block:16px; }
#oe-edit-dialog select { display:block; width:100%; min-height:44px; padding:8px; font:inherit; }
#oe-edit-dialog .oe-brochure-mode-actions { position:sticky; bottom:-32px; padding-block:12px; background:#f4f2ee; z-index:5; }
#oe-edit-dialog .oe-video-poster-preview { display:block; width:100%; aspect-ratio:16/9; object-fit:cover; object-position:center 32%; margin-block:16px; }
