/* Show the complete selected-panel perimeter above the chart/iframe content. */
html[data-theme=dark]{--panel-selection:#eeeeee}
html[data-theme=light]{--panel-selection:#59616d}
html[data-theme] body:not(.embed) .stage>.card.panel-active::after{
 content:"";position:absolute;inset:0!important;width:auto!important;height:auto!important;margin:0;padding:0;
 box-sizing:border-box;border:2px solid var(--panel-selection)!important;border-radius:inherit;
 background:transparent!important;box-shadow:none!important;pointer-events:none;z-index:10;
}
/* Grey gutters stay visible while every chart surface remains black. */
html[data-theme=dark] body:not(.embed) .stage[class*=lay-]:not(.lay-1):not(.is-focused){background-color:#282828!important;background-image:none!important;gap:5px!important}
@media(max-width:767px),(max-width:1024px) and (max-height:500px) and (pointer:coarse){html[data-theme=dark] body:not(.embed) .stage[class*=lay-]:not(.lay-1):not(.is-focused){gap:3px!important}}
