/* These controls exist in the editor DOM, never in the exported document. */
.preview-editable {cursor:pointer;outline-offset:3px;border-radius:3px;touch-action:manipulation;}
.preview-editable:hover,.preview-editable:focus-visible {outline:2px solid #2f5bff;background-color:rgba(47,91,255,.1);}
.cover .preview-editable:hover,.closing .preview-editable:hover {outline-color:#ff9f1c;}
.preview-edit-layer {position:absolute;inset:0;pointer-events:none;z-index:3;}
.preview-edit-zone {position:absolute;pointer-events:auto;cursor:pointer;touch-action:manipulation;padding:0;border:0;border-radius:3px;background:transparent;min-width:0;min-height:0;}
.preview-edit-zone:hover,.preview-edit-zone:focus-visible {outline:2px solid #2f5bff;outline-offset:2px;background:rgba(47,91,255,.12);}
.preview-link-edit {display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;min-width:28px;padding:5px;border:1px solid #c4d1f1;border-radius:7px;background:#fff;color:#2045d4;cursor:pointer;vertical-align:middle;touch-action:manipulation;box-shadow:0 1px 5px #10235724;}
.preview-link-edit svg {width:16px;height:16px;flex:none;}
.preview-link-edit:hover,.preview-link-edit:focus-visible {background:#eaf0ff;outline:2px solid #2f5bff;outline-offset:2px;}
.preview-edit-layer .preview-link-edit {position:absolute;pointer-events:auto;transform:translateY(-65%);}
.editor .preview-field-selected {outline:3px solid #2f5bff!important;outline-offset:3px;box-shadow:0 0 0 7px #2f5bff18!important;}
.editor .upload-field:has(.preview-field-selected) {outline:3px solid #2f5bff;outline-offset:3px;}
.editor .upload-field {position:relative;}
.editor .upload-field input[type=file] {display:block;position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;}
.editor .upload-field:focus-within {outline:3px solid #2f5bff;outline-offset:3px;}
.preview-edit-hint {font-size:13px;color:#52627d;margin:8px 0 0;}
@media print {.preview-edit-layer,.preview-link-edit,.preview-edit-hint {display:none!important;} .preview-editable {outline:none!important;background-color:transparent!important;}}
