.ednc-controller-placeholder {
    display: none !important;
}

/*
 * EDNC V5 intentionally does not hide arbitrary targets globally.
 * Target visibility is applied by the controller after its conditions are known.
 * This prevents a generic CSS rule from accidentally hiding content from users,
 * crawlers, or accessibility tools.
 */


.ednc-content-variant[hidden] { display: none !important; }


/* EDNC V8 audit markers are intentionally non-visual. */
[data-ednc-audit="active"]{--ednc-audit-active:1;}


/* EDNC V9 audit markers are intentionally non-visual. */
[data-ednc-audit="active"]{--ednc-audit-active:1;}


/* EDNC V10.5: keep the controller selectable inside Elementor editor.
 * Frontend behavior remains display:none; only the editor gets a visual
 * interaction surface so the widget controls can be opened normally.
 */
body.elementor-editor-active .ednc-controller-placeholder,
body.elementor-editor-preview .ednc-controller-placeholder {
    display: block !important;
    min-height: 44px;
    width: 100%;
    box-sizing: border-box;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    border: 1px dashed rgba(128,128,128,.65);
    background: rgba(128,128,128,.10);
}

body.elementor-editor-active .ednc-controller-placeholder::before,
body.elementor-editor-preview .ednc-controller-placeholder::before {
    content: "Display None Controller — Editor";
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    font-size: 12px;
    line-height: 1.4;
    font-family: sans-serif;
    color: rgba(128,128,128,.95);
    pointer-events: none;
}

/* EDNC V10.8 Live Debug Inspector. Opt-in only. */
.ednc-debug-inspector{position:fixed;right:16px;bottom:16px;z-index:2147483000;width:min(420px,calc(100vw - 32px));max-height:52vh;overflow:auto;box-sizing:border-box;padding:12px;border:1px solid rgba(0,0,0,.18);border-radius:8px;background:rgba(255,255,255,.98);color:#222;box-shadow:0 8px 30px rgba(0,0,0,.18);font:12px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.ednc-debug-inspector-title{font-weight:700;margin-bottom:4px}.ednc-debug-inspector-meta{opacity:.72;margin-bottom:8px}.ednc-debug-rule{padding:8px 0;border-top:1px solid rgba(0,0,0,.1)}.ednc-debug-rule-head{font-weight:600}.ednc-debug-rule-detail{margin-top:2px;opacity:.78;word-break:break-word}.ednc-debug-rule.ednc-state-pass{border-left:3px solid #2e7d32;padding-left:8px}.ednc-debug-rule.ednc-state-fail{border-left:3px solid #c62828;padding-left:8px}.ednc-debug-rule.ednc-state-warning{border-left:3px solid #ef6c00;padding-left:8px}.ednc-debug-rule.ednc-state-disabled{border-left:3px solid #777;padding-left:8px}
