.editor-panel{position:relative}.intelligence-popup{position:absolute;z-index:40;left:3.5rem;right:1rem;bottom:2rem;max-height:min(14rem,40vh);overflow:auto;background:#132233;border:1px solid #67bda9;border-radius:6px;box-shadow:0 8px 24px #0008}.intelligence-popup[hidden]{display:none}.intelligence-popup button{display:block;text-align:left;width:100%;white-space:normal;border:0;border-radius:0;background:transparent;font:inherit;font-size:12px}.intelligence-popup button[aria-selected=true]{background:#285247;color:#fff}
/* The textarea stays above the colour layer and receives selection and input.
   Hit testing can still locate the command spans painted underneath it. */
.source-layer #source-colours{pointer-events:auto}
.intelligence-tooltip{position:fixed;z-index:45;max-width:min(360px,calc(100vw - 16px));padding:8px 10px;border:1px solid var(--line);border-radius:6px;background:var(--panel);color:var(--text);box-shadow:0 4px 16px #0005;pointer-events:none;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.intelligence-tooltip[hidden]{display:none}
.intelligence-tooltip code{display:block;margin-bottom:4px;font-weight:700;white-space:normal}
