[data-instrument] {
  --cr-ground:#0b1412; --cr-panel:#111e19; --cr-line:#34483a;
  --cr-ink:#e5eddf; --cr-soft:#b9c9ba; --cr-signal:#c6f871;
  --cr-beam:#a9e7bf; --cr-warm:#f5bc88;
  --cr-mono:'IBM Plex Mono',Consolas,monospace;
  min-width:0; container-type:inline-size;
}
.cr { color:var(--cr-ink); background:var(--cr-ground); border:1px solid var(--cr-line); color-scheme:dark; text-align:left; line-height:1.45; }
.cr *, .cr *::before, .cr *::after { box-sizing:border-box; }
.cr :is(p,h3,h4,dl,dt,dd) { margin:0; }
.cr :is(button,input,select) { font:inherit; }
.cr :is(button,select) { cursor:pointer; }
.cr :is(button,select,input,svg):focus-visible { outline:2px solid var(--cr-signal); outline-offset:3px; }
.cr-panel-head, .cr-preset, .cr-switch, .cr-island-key, .cr-plot-labels, .cr-plot-foot, .cr-control>div, .cr-face { display:flex; align-items:center; }
.cr-preset { gap:8px; color:var(--cr-soft); font-size:12px; white-space:nowrap; }
.cr-preset select,.cr-face select { max-width:120px; min-height:34px; color:#e0ead9; background:#121c16; border:1px solid #50674e; padding:4px 7px; border-radius:2px; }
.cr-panels { display:grid; grid-template-columns:minmax(0,1.86fr) minmax(250px,1fr); }
.cr-scope,.cr-atlas { min-width:0; padding:19px clamp(13px,1.7vw,26px) 17px; }
.cr-scope { background:radial-gradient(ellipse at 35% 32%, #1a2b20 0, #111e18 75%); }
.cr-atlas { border-left:1px solid var(--cr-line); background:#111d17; }
.cr-panel-head, .cr-plot-labels, .cr-plot-foot, .cr-control>div { justify-content:space-between; gap:6px; }
.cr-panel-head { min-height:33px; gap:9px; }
.cr-panel-head h4 { color:var(--cr-ink); font:650 16px/1.3 var(--sans,'Segoe UI',sans-serif); letter-spacing:0; }
.cr-status { color:var(--cr-signal); font-size:13px; font-weight:650; font-variant-numeric:tabular-nums; }
.cr[data-state=unstable] .cr-status,.cr[data-state=boundary] .cr-status { color:var(--cr-warm); }
.cr[data-state=confocal] .cr-status { color:#b2d8f8; }
.cr-switch { border:1px solid #415641; background:#101a14; }
.cr-switch button { border:0; border-radius:0; color:var(--cr-soft); background:transparent; padding:6px 11px; font-size:12px; line-height:1.2; min-height:31px; }
.cr-switch button[aria-pressed=true] { background:#334632; color:#e0ffb9; }
.cr-switch button:disabled { color:#7f8c80; cursor:default; }
.cr-plot-labels, .cr-plot-foot, .cr-map-tip, .cr-map-unit, .cr-island-key { font-size:12px; color:var(--cr-soft); }
.cr-plot-labels { margin:16px 0 0; }
.cr-plot-foot { margin:2px 0 15px; }
.cr-plot-foot output, .cr-plot-foot>span { color:#cbdac9; font:11px var(--cr-mono); }
.cr-plot, .cr-map { display:block; width:100%; height:auto; user-select:none; }
.cr-plot { touch-action:pan-y; }
.cr-plot[role=slider],.cr-map { cursor:crosshair; }
.cr-map { max-height:233px; touch-action:none; }
.cr svg text { font:10px var(--cr-mono); fill:#aabca9; }
.cr-plot .cr-mirror-label { font-size:11px; font-weight:600; fill:#e3ead7; }
.cr-grid,.cr-map-grid { fill:none; stroke:#465a45; stroke-dasharray:2 5; stroke-width:.8; }
.cr-axis { stroke:#6b8265; stroke-width:1; }
.cr-edge,.cr-inner,.cr-ray,.cr-mirror,.cr-probe,.cr-waist,.cr-crosshair,.cr-boundary { fill:none; }
.cr-edge { stroke:#a5f4bf; stroke-width:2; stroke-linecap:round; }
.cr-inner { stroke:#8bcd9e; opacity:.26; stroke-width:.8; }
.cr-ray { stroke:var(--cr-warm); stroke-width:1.5; }
.cr-mirror { stroke:#d8e4cf; stroke-width:3.6; stroke-linecap:round; }
.cr-section-axis {stroke:#5f7964; stroke-width:1; stroke-dasharray:2 5;}
.cr-crystal { pointer-events:none; stroke-linejoin:round; }
.cr-crystal-span { fill:#b69bde; opacity:.075; pointer-events:none; }
.cr-crystal-body { stroke:#c6bad9; stroke-width:.85; }
.cr-crystal-face { fill:#e4dbff; fill-opacity:.24; }
.cr-crystal-cut { fill:none; stroke:#c3afe1; stroke-width:.8; opacity:.75; }
.cr-crystal-light { stroke:#c4f2de; stroke-width:1.2; opacity:.86; }
.cr-crystal-glint { fill:none; stroke:#f2ffec; stroke-width:2; stroke-dasharray:18 125; opacity:0; }
@keyframes cr-crystal-traverse {
  0% { stroke-dashoffset:20; opacity:0; }
  12% { opacity:.9; }
  45%,100% { stroke-dashoffset:-106; opacity:0; }
}
@media (prefers-reduced-motion:no-preference) {
  html:not([data-motion=off]) .cr-crystal-glint { animation:cr-crystal-traverse 4s linear infinite; }
}
.cr-mirror-plane {fill:none;stroke:#b3c5af;stroke-width:1.4;}
.cr-radial-unit {font-size:10px;fill:var(--cr-soft);}
.cr-waist { stroke:#a3cfaf; stroke-dasharray:2 5; opacity:.58; }
.cr-probe { stroke:var(--cr-warm); stroke-width:1; stroke-dasharray:4 3; }
.cr-point,.cr-map-dot { fill:#eaffc4; }
.cr-flight-tail { stroke:#ffb675; stroke-width:2.7; stroke-linecap:round; }
.cr-flight-glow { fill:#ffc389; opacity:.29; }
.cr-flight-core,.cr-impact-core { fill:#fff6d8; }
.cr-impact-ring { fill:none; stroke:#ffd1a3; stroke-width:1.2; }
.cr-mirror.cr-hit { stroke:#ffcf95; }
.cr-transport[hidden] { display:none; }
.cr-transport { margin:-1px 0 15px; }
.cr-transport-line { height:2px; background:#394334; }
.cr-transport-line span { display:block; width:100%; height:100%; background:var(--cr-warm); transform:scaleX(0); transform-origin:left; }
.cr-transport-row { display:flex; align-items:center; flex-wrap:wrap; gap:6px; margin-top:8px; }
.cr-transport-row button { min-height:30px; color:#ebd1ae; background:#272a20; border:1px solid #766348; padding:4px 8px; font-size:12px; }
.cr-transport-row button:disabled { color:#a79e90; border-color:#555447; cursor:default; }
.cr-transport-row output { margin-left:auto; color:#deceb2; font-size:12px; font-variant-numeric:tabular-nums; }
.cr-readings { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border-top:1px solid var(--cr-line); padding-top:13px; gap:7px; }
.cr-readings dt { color:#adbdad; font-size:12px; }
.cr-readings dd { color:#edf4e6; font:400 clamp(16px,1.5vw,24px)/1.5 var(--cr-mono); letter-spacing:-.055em; white-space:nowrap; font-variant-numeric:tabular-nums; }
.cr-readings dd small { color:#b5c5b2; font:11px var(--cr-mono); letter-spacing:0; }
.cr-island-key { gap:6px; font-size:12px; }
.cr-island-key i { width:11px; height:8px; background:#355533; border:1px solid #88ad74; }
.cr-map-unit { margin:13px 0 -1px; font:11px var(--cr-mono); }
.cr-map-back { fill:#14201a; stroke:#42563f; stroke-width:1; }
.cr-island { fill:#314c32; }
.cr-boundary { stroke:#95bb79; stroke-width:1.25; }
.cr-map-grid { stroke:#98ae86; opacity:.49; }
.cr-crosshair { stroke:#c1d4ac; stroke-width:.75; stroke-dasharray:4 3; }
.cr-map-ring { stroke:#dbf8ac; stroke-width:1.3; fill:#101b14; }
.cr-map-tip { margin:8px 0 0; font-size:12px; }
.cr-controls { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(14px,3vw,45px); padding:16px clamp(14px,2.1vw,30px) 8px; border-top:1px solid var(--cr-line); background:#17251a; }
.cr-control { min-width:0; }
.cr-control label,.cr-face { font-size:13px; color:#e0ead9; }
.cr-control label b { color:#adc49f; font:12px var(--cr-mono); padding-left:3px; }
.cr-control output { font:13px var(--cr-mono); color:#dcf4ba; }
.cr-control input { display:block; width:100%; height:29px; margin:1px 0 0; padding:0; appearance:none; background:transparent; cursor:ew-resize; }
.cr-control input:disabled { opacity:.35; cursor:default; }
.cr-control input::-webkit-slider-runnable-track { height:3px; background:linear-gradient(90deg,#a8da78 var(--fill),#455746 var(--fill)); }
.cr-control input::-webkit-slider-thumb { appearance:none; width:9px; height:14px; border:1px solid #344326; background:#d0f49d; margin-top:-5.5px; }
.cr-control input::-moz-range-track { height:3px; background:#455746; }
.cr-control input::-moz-range-progress { height:3px; background:#a8da78; }
.cr-control input::-moz-range-thumb { width:9px; height:14px; border:0; border-radius:0; background:#d0f49d; }
.cr-report { display:flex; gap:13px 26px; align-items:center; flex-wrap:wrap; padding:4px clamp(14px,2.1vw,30px) 14px; background:#17251a; }
.cr-report p { flex:1 1 255px; color:#b9c9b6; font-size:12px; }
.cr-face { gap:7px; cursor:pointer; white-space:nowrap; }
@container (max-width:750px) {
  .cr-panels { grid-template-columns:minmax(0,1.45fr) minmax(215px,1fr); }
  .cr-scope,.cr-atlas { padding-inline:12px; }
  .cr-readings { grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px 12px; }
}
@container (max-width:580px) {
  .cr-panels { display:flex; flex-direction:column; }
  .cr-atlas { border-left:0; border-top:1px solid var(--cr-line); padding-block:12px; }
  .cr-map { max-height:182px; }
  .cr-map-unit { margin-top:2px; }
  .cr-map-tip { text-align:center; margin-top:3px; }
  .cr-controls { grid-template-columns:1fr; gap:6px; }
  .cr-control { display:grid; grid-template-columns:minmax(115px,.72fr) minmax(60px,1fr); gap:13px; align-items:center; }
  .cr-control input { height:30px; }
  .cr-readings { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .cr-readings dt { font-size:10px; }
  .cr-plot-labels { margin-top:10px; }
  .cr-preset { font-size:0; gap:0; }
  .cr-preset select { font-size:12px; }
  .cr-report { gap:6px; }
}
@container (max-width:340px) {
  .cr-status { font-size:11px; }.cr-switch button { padding-inline:7px; }
  .cr-readings { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
