/* No wrappers or dimensions are added to the theme's images. */
/* The plane is part of the document/container, never the viewport. */
.erecode-ai-layer[data-eai-owned="layer"] {
    all: initial;
    position: absolute !important;
    inset: auto !important;
    top: 0 !important;
    left: 0 !important;
    display: block !important;
    width: 1px !important;
    height: 1px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    pointer-events: none !important;
    z-index: var(--erecode-ai-z-index, 100) !important;
    overflow: visible !important;
    transform: none !important;
    translate: none !important;
    scale: none !important;
    rotate: none !important;
    transition: none !important;
    animation: none !important;
    contain: layout style;
}
/* Override the layer reset during preview-session revalidation. */
.erecode-ai-layer[data-eai-owned="layer"][hidden] {
    display: none !important;
}
.erecode-ai-layer[data-eai-owned="layer"] .erecode-ai-badge {
    all: initial;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    width: max-content;
    max-width: calc(100vw - 16px);
    min-height: 24px;
    padding: 5px 9px !important;
    margin: 0 !important;
    border: 1px solid rgba(255, 255, 255, .38) !important;
    border-radius: 999px !important;
    background: var(--erecode-ai-background, rgba(20, 24, 29, .94)) !important;
    color: var(--erecode-ai-color, #fff) !important;
    font: 500 var(--erecode-ai-font-size, 12px) / 1.25 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    text-transform: none !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-decoration: none !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .18) !important;
    pointer-events: none !important;
    visibility: hidden;
    transform-origin: 0 0 !important;
    translate: none !important;
    scale: none !important;
    rotate: none !important;
    transition: none !important;
    animation: none !important;
}
.erecode-ai-layer[data-eai-owned="layer"] .erecode-ai-full,
.erecode-ai-layer[data-eai-owned="layer"] .erecode-ai-short {
    all: unset;
    font: inherit;
    color: inherit;
}
.erecode-ai-layer[data-eai-owned="layer"] .erecode-ai-short {
    display: none;
}
.erecode-ai-layer[data-eai-owned="layer"] .erecode-ai-compact {
    min-height: 20px;
    padding: 3px 5px !important;
    font-size: 10px !important;
}
.erecode-ai-layer[data-eai-owned="layer"] .erecode-ai-round:not(.erecode-ai-compact) {
    min-height: 20px;
    padding: 3px 7px !important;
    font-size: 10px !important;
}
.erecode-ai-layer[data-eai-owned="layer"] .erecode-ai-compact .erecode-ai-short {
    display: inline;
}
.erecode-ai-layer[data-eai-owned="layer"] .erecode-ai-compact .erecode-ai-full {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
@media print {
    .erecode-ai-layer[data-eai-owned="layer"] { display: none !important; }
}
