/* Scoped to explicit visual-editor overrides. No defaults for existing site elements. */
.mb-section{position:relative;min-height:240px;padding:clamp(24px,5vw,80px);isolation:isolate}.mb-node{position:relative;box-sizing:border-box;max-width:100%;white-space:pre-line}.mb-node:is(button,a){display:inline-flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer}.mb-node img,.mb-node video,.mb-node canvas,.mb-node object{display:block;width:100%;height:100%;object-fit:cover}.mb-media{width:100%;min-height:160px}.mb-background{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden;border-radius:inherit}.mb-background>.mb-film,.mb-background>img,.mb-text-fill>.mb-film{position:absolute;inset:0;width:100%;height:100%;overflow:hidden}.mb-background img,.mb-film :is(video,canvas){width:100%;height:100%;max-width:none;object-fit:var(--mb-fit,cover);object-position:var(--mb-x,50%) var(--mb-y,50%);transform:scale(var(--mb-zoom,1));transform-origin:var(--mb-x,50%) var(--mb-y,50%)}.mb-film .service-film-player{position:absolute;inset:0;width:100%;height:100%;overflow:hidden}.mb-film :is(video,canvas){position:absolute;inset:0;opacity:1}.mb-film .service-film-placeholder{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.mb-film :is(video,canvas)[data-ready="1"]~.service-film-placeholder{display:none}.mb-text-fill{position:absolute;inset:0;pointer-events:none;overflow:hidden;mask-size:100% 100%;-webkit-mask-size:100% 100%}.mb-text-fill.mb-fixed .mb-film{position:fixed;inset:0;width:100vw;height:100vh}.mb-symbol{display:inline-flex;align-items:center;gap:.4em}.mb-symbol-mark{display:inline-block}.mb-dialog{width:min(1000px,calc(100vw - 32px));max-height:calc(100dvh - 32px);border:1px solid #ffffff30;border-radius:22px;background:#0b1423;color:#f5f5f7;padding:30px;overflow:auto}.mb-dialog::backdrop{background:#000b}.mb-dialog-close{position:sticky;float:right;top:0;z-index:3}.mb-pdf{width:100%;height:75vh;border:0}.mb-preview-selected{outline:2px solid #4f93ff!important;outline-offset:3px!important}.mb-preview-hover{outline:1px dashed #8bb9ff!important;outline-offset:2px!important}.mb-preview-label{position:fixed;z-index:2147483647;left:8px;bottom:8px;max-width:calc(100vw - 16px);padding:6px 10px;background:#175bcc;color:#fff;font:12px/1.4 Arial,sans-serif;border-radius:6px;pointer-events:none}.mb-node:focus-visible{outline:2px solid #8bb9ff;outline-offset:4px}@media(prefers-reduced-motion:reduce){.mb-node,.mb-section{animation:none!important;transition:none!important}}

[data-mb-crop]:is(img,video,canvas),[data-mb-crop] :is(img,video,canvas){object-fit:var(--mb-crop-fit,cover)!important;object-position:var(--mb-crop-x,50%) var(--mb-crop-y,50%)!important;transform:scale(var(--mb-crop-zoom,1))!important;transform-origin:var(--mb-crop-x,50%) var(--mb-crop-y,50%)!important}

.mb-snapshot{max-width:100%;box-sizing:border-box}.mb-portable-film{position:relative;overflow:hidden}.mb-portable-film>.service-film-player{position:absolute;inset:0;width:100%;height:100%}

/* Owner preview only: isolate gestures from native swiping and show the picked element. */
html.mb-editor-pick body{user-select:none;-webkit-user-select:none}html.mb-editor-pick img,html.mb-editor-pick a{-webkit-user-drag:none}html.mb-editor-drag,html.mb-editor-drag body,html.mb-editor-drag body *{touch-action:none!important;cursor:move!important}html.mb-editor-pick .mb-preview-element-selected{outline:3px solid #ffbd59!important;outline-offset:3px!important}html.mb-editor-pick .mb-preview-selected{outline:1px dashed #4f93ff!important}

/* Media must receive editor clicks even when the public carousel delegates them to links. */
html.mb-editor-pick .wheel-card img:not(.mb-background img):not(.mb-text-fill img){pointer-events:auto!important}
