/* Scoped Science Explorer: image values are never changed by CSS. */
.inline-hist,.star-explorer,.star-layout,.star-panel {min-width:0;max-width:100%}
.inline-hist {margin:1rem 0;padding:1rem;border-radius:12px;background:#18212c}
.explorer-histogram label{display:inline-flex;flex-wrap:wrap;gap:.4rem;margin:.25rem .5rem .25rem 0}
.explorer-histogram select,.star-explorer select,.star-explorer input{max-width:100%;min-width:0}
.star-tools{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin:1rem 0}
.star-layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(220px,1fr);gap:1rem;align-items:start}
.star-stage{position:relative;overflow:hidden;background:#080d14;touch-action:none;aspect-ratio:1.49;min-width:0;width:100%;max-width:100%}
.star-stage svg{display:block;width:100%;height:100%;cursor:crosshair}
.star-panel{background:#18212c;padding:1rem;border-radius:12px;overflow-wrap:anywhere}
.star-hover{position:absolute;left:1rem;bottom:1rem;background:#18212c;color:#edf2f7;padding:.6rem;border:1px solid #93bce8;max-width:80%;pointer-events:none}
.star-detail dl{display:grid;grid-template-columns:1fr 1fr;gap:.4rem}.star-detail dd{margin:0;overflow-wrap:anywhere}
.star-overlay circle{vector-effect:non-scaling-stroke;stroke-width:1.3}.star-overlay circle.selected{stroke:#ffe09b;stroke-width:2.5}
.preset-link{display:inline-block;margin:.4rem;padding:.6rem .9rem;border:1px solid #536a83;border-radius:8px}
@media(max-width:850px){.star-layout{grid-template-columns:1fr}.star-stage{min-height:0}}@media print{.star-stage{overflow:visible}.star-tools{display:none}}
.star-cmd circle.selected{fill:#ffe09b;stroke:#edf2f7;stroke-width:2}
.star-tools label{display:flex;flex-wrap:wrap;gap:.35rem;min-width:0;max-width:100%}
.inline-hist .hist-chart{min-width:0;max-width:100%;overflow-x:auto}
