/* Shared 3D host. Page themes may style their own controls and inspector. */
:where([data-kb-neuro-scene]) {
    position: relative;
    overflow: hidden;
    color: var(--kb-neuro-ink, var(--text-primary));
}
:where([data-kb-neuro-scene]) .kb-neuro__stage { position: absolute; inset: 0; }
:where([data-kb-neuro-scene]) .kb-neuro__stage:focus-visible { outline: 2px solid var(--kb-neuro-accent, var(--accent)); outline-offset: -2px; }
:where([data-kb-neuro-scene]) .kb-neuro__hint,
:where([data-kb-neuro-scene]) .kb-neuro__path,
:where([data-kb-neuro-scene]) .kb-neuro__card {
    position: absolute;
    max-width: calc(100% - 1.5rem);
    padding: .45rem .65rem;
    border-radius: var(--radius-md, .5rem);
    background: var(--kb-neuro-bg, var(--bg-card));
    font-size: .78rem;
    line-height: 1.4;
}
:where([data-kb-neuro-scene]) .kb-neuro__hint { bottom: .65rem; left: .75rem; display: flex; flex-wrap: wrap; gap: .2rem .65rem; pointer-events: none; }
:where([data-kb-neuro-scene]) .kb-neuro__path { top: .75rem; left: .75rem; }
:where([data-kb-neuro-scene]) .kb-neuro__card { top: .75rem; right: .75rem; max-height: 70%; overflow: auto; }
[data-kb-neuro-scene] [hidden] { display: none; }
