/* Shared static document artwork. The scoped mobile cover below uses a
 * negative replaced-SVG anchor and native fixed reading; other covers and
 * interior reading retain the existing static controller. */
html[data-communio-document-cover]{background:transparent!important;margin:0!important;padding:0!important;overflow:visible!important;overscroll-behavior:none;scroll-behavior:auto!important;scrollbar-width:none}
html[data-communio-document-cover] body.single-memorial{position:relative!important;margin:0!important;padding:0!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
html[data-communio-document-cover] #communio-document-artwork{position:absolute!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;overflow:visible!important;pointer-events:none!important;z-index:0!important;transform:none;translate:none;animation:none!important;transition:none!important}
html[data-communio-document-cover]:not([data-communio-native-cover]) #communio-document-artwork{transform:none!important;translate:none!important}
.communio-document-reading-window{position:relative!important;width:100%!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;overflow:clip!important;z-index:1;touch-action:pinch-zoom}
.communio-document-composition{position:absolute!important;width:var(--communio-document-raw-width)!important;height:var(--communio-document-raw-height)!important;transform:scale(var(--communio-document-fit,1));transform-origin:0 0}
html[data-communio-document-cover="cover"] body.single-memorial .communio-document-composition>.memorial-main-inicio{width:var(--communio-document-raw-width)!important;height:var(--communio-document-raw-height)!important;min-height:var(--communio-document-raw-height)!important;max-height:none!important;max-width:none!important;margin:0!important;left:0!important;top:0!important;position:relative!important;transform:none!important;translate:none!important;scale:none!important;overflow:visible!important}
html[data-communio-document-sampling] .communio-document-composition{transform:none!important}
.communio-document-interior-window{position:relative;width:100%;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y pinch-zoom;background:transparent;z-index:1;scrollbar-width:thin}
html[data-communio-document-paint="ready"]:not([data-communio-document-sampling]) body.single-memorial{background:transparent!important}
html[data-communio-document-paint="ready"]:not([data-communio-document-sampling]) [data-communio-document-background]{background:transparent!important;background-image:none!important}
html[data-communio-document-paint="ready"]:not([data-communio-document-sampling]) [data-communio-document-before]::before,
html[data-communio-document-paint="ready"]:not([data-communio-document-sampling]) [data-communio-document-after]::after{visibility:hidden!important}
html[data-communio-document-paint="ready"]:not([data-communio-document-sampling]) [data-communio-document-photo]{background:transparent!important;box-shadow:none!important;border-color:transparent!important}
html[data-communio-document-paint="ready"]:not([data-communio-document-sampling]) [data-communio-document-photo] img{opacity:0!important}
html[data-communio-document-cover] body.single-memorial #communio-menu-canonical:not(.is-open){left:0!important;top:0!important;width:0!important;height:0!important;overflow:visible!important;container-type:normal!important;isolation:auto!important}
html[data-communio-document-cover] body.single-memorial #communio-menu-canonical:not(.is-open) .cm-toggle{position:fixed!important;left:auto!important;top:calc(var(--cm-box-top,0px) + var(--communio-preview-visible-top,0px) + max(12px,env(safe-area-inset-top)))!important;right:max(12px,env(safe-area-inset-right))!important}
html[data-communio-document-cover="cover"] .communio-header-interior{display:none!important}
.communio-cover-document-proof{position:fixed;left:12px;top:calc(64px + env(safe-area-inset-top,0px));z-index:100000;width:fit-content;max-width:calc(100vw - 24px);margin:0;padding:8px;background:#fffdf8;border:1px solid #c8cfc9;border-radius:8px;color:var(--mem-text,#293d40);font:12px/1.4 system-ui,sans-serif}
.communio-cover-document-proof pre{white-space:pre-wrap;overflow-wrap:anywhere}
.communio-cover-document-proof button{padding:8px;border:1px solid currentColor;border-radius:6px;font:inherit}


/* Native reading is fixed at a zero-size origin, preserving its original HTML
 * hierarchy. Only the replaced SVG's negative layout box is animated: its
 * visible image is ink overflow and cannot grow the document scroll range. */
.communio-document-native-scene{position:fixed!important;left:0!important;top:0!important;width:0!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;overflow:visible!important;animation:none!important;transform:none!important;translate:none!important;z-index:1!important}
.communio-document-native-scene>[data-communio-native-host]{width:var(--communio-native-page-width)!important;max-width:none!important;height:var(--communio-native-page-height)!important;min-height:0!important;max-height:none!important;padding:0!important;margin:0!important;border:0!important;overflow:visible!important}
.communio-document-native-travel{height:var(--communio-native-document-height)!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;pointer-events:none!important;overflow:clip!important}
html[data-communio-document-cover][data-communio-native-cover] #communio-document-artwork{transform-box:border-box!important;transform-origin:0 0!important;animation:communio-document-native-anchor 1s linear both!important;animation-timeline:scroll(root)!important;animation-range:0px 4096px!important}
@keyframes communio-document-native-anchor{from{transform:translateY(0)}to{transform:translateY(4096px)}}
html[data-communio-native-cover],html[data-communio-native-cover] body.single-memorial{touch-action:pan-y pinch-zoom!important;overscroll-behavior-y:none!important}
html[data-communio-native-cover] .communio-document-reading-window{touch-action:pan-y pinch-zoom!important}
