#layoutPlotExplorer { min-width:0; }
#layoutPlotExplorer .plot-explorer-toolbar { display:flex; align-items:end; justify-content:space-between; flex-wrap:wrap; gap:12px; margin:16px 0 10px; }
#layoutPlotExplorer .plot-explorer-picker { display:grid; gap:6px; flex:1 1 240px; max-width:380px; font-size:12px; font-weight:700; color:#334155; }
#layoutPlotExplorer select { width:100%; min-width:0; min-height:44px; border:1px solid #cbd9ea; border-radius:10px; background:#fff; color:#17334c; padding:9px 12px; font:inherit; font-size:14px; }
#layoutPlotExplorer .plot-explorer-actions { display:flex; flex-wrap:wrap; gap:6px; }
#layoutPlotExplorer button { min-width:44px; min-height:44px; border:1px solid #cbd9ea; border-radius:10px; background:#fff; color:#1e40af; padding:8px 12px; font-size:13px; font-weight:700; cursor:pointer; }
#layoutPlotExplorer button:hover { background:#edf5ff; border-color:#8eadd8; }
#layoutPlotExplorer button:disabled { opacity:.45; cursor:default; }
#layoutPlotExplorer :is(button,select):focus-visible { outline:3px solid #2563eb; outline-offset:3px; }
#layoutPlotExplorer .plot-explorer-hint { color:#64748b; font-size:12px; line-height:1.6; margin:0 0 12px; }
#layoutPlotExplorer .plot-landscape-canvas { height:clamp(320px,45vw,520px); min-height:320px; touch-action:none; cursor:grab; }
#layoutPlotExplorer .plot-landscape-canvas.is-dragging { cursor:grabbing; }
#layoutPlotExplorer svg { display:block; width:100%; height:100%; user-select:none; -webkit-user-select:none; }
#layoutPlotExplorer [data-plot-index] { cursor:pointer; outline:none; }
#layoutPlotExplorer [data-plot-index] :is(polygon,rect) { vector-effect:non-scaling-stroke; }
#layoutPlotExplorer [data-plot-index]:is(:hover,:focus-visible,[aria-pressed="true"]) :is(polygon,rect) { stroke:#0f172a; stroke-width:3px; fill-opacity:1; }
#layoutPlotExplorer [data-plot-index] text { pointer-events:none; }
#layoutPlotExplorer .plot-explorer-details { margin-top:12px; padding:16px; border:1px solid #dce6f2; border-radius:12px; background:#fff; color:#17334c; overflow-wrap:anywhere; }
#layoutPlotExplorer .plot-explorer-selection > span { display:block; font-size:10px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:#64748b; }
#layoutPlotExplorer .plot-explorer-selection h5 { margin:5px 0 6px; font-size:18px; font-weight:750; color:#17334c; }
#layoutPlotExplorer .plot-explorer-selection p { margin:0; font-size:13px; }
#layoutPlotExplorer dl:not([hidden]) { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin:16px 0 0; }
#layoutPlotExplorer dt { font-size:11px; color:#64748b; font-weight:500; margin-bottom:4px; }
#layoutPlotExplorer dd { font-size:14px; color:#17334c; font-weight:650; margin:0; }
#layoutPlotExplorer #layoutPlotGeometry:not([hidden]) { margin:14px 0 0; }
@media(max-width:767.98px) {
    #layoutPlotExplorer .plot-explorer-picker { max-width:none; flex-basis:100%; }
    #layoutPlotExplorer .plot-explorer-actions { width:100%; }
    #layoutPlotExplorer .plot-explorer-actions button:nth-last-child(-n+2) { flex:1; }
    #layoutPlotExplorer .plot-landscape-canvas { height:360px; }
    #layoutPlotExplorer dl:not([hidden]) { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
