:root {
  color-scheme: dark;
  --bg: #030711;
  --bg-deep: #01030a;
  --panel: rgba(7, 17, 34, .94);
  --panel-soft: rgba(11, 27, 47, .68);
  --line: rgba(116, 227, 255, .22);
  --line-strong: rgba(116, 227, 255, .56);
  --text: #edf8ff;
  --muted: rgba(237, 248, 255, .74);
  --dim: rgba(237, 248, 255, .5);
  --cyan: #74e3ff;
  --cyan-bright: #c9f7ff;
  --amber: #ffd179;
  --violet: #c6a0ff;
  --green: #91efbd;
  --red: #ff8b92;
  --forbidden: #7566a8;
  --allowed: #16364d;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-width: 0;
  overflow-x: hidden;
  background: var(--bg);
}

body:has(#lpoApp) {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 48% -10%, rgba(58, 111, 176, .25), transparent 36rem),
    linear-gradient(rgba(116, 227, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 227, 255, .03) 1px, transparent 1px),
    var(--bg-deep);
  background-size: auto, 32px 32px, 32px 32px, auto;
  font-family: "SFMono-Regular", "Cascadia Code", "Roboto Mono", "Noto Sans Mono", "Yu Gothic UI", monospace;
  line-height: 1.55;
}

#lpoApp button,
#lpoApp input,
#lpoApp output {
  font: inherit;
}

#lpoApp button,
#lpoApp input[type="range"],
#lpoApp input[type="checkbox"] {
  accent-color: var(--cyan);
}

#lpoApp button {
  min-width: 0;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--text);
  background: rgba(2, 12, 27, .92);
  cursor: pointer;
  letter-spacing: .04em;
  text-align: center;
}

#lpoApp button:hover:not(:disabled) {
  border-color: var(--line-strong);
  background: rgba(25, 67, 94, .58);
}

#lpoApp button:focus-visible,
#lpoApp a:focus-visible,
#lpoApp input:focus-visible,
#lpoCanvas:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

#lpoApp button:active:not(:disabled) {
  transform: translateY(1px);
}

#lpoApp button:disabled,
#lpoApp input:disabled,
#lpoApp [aria-disabled="true"] {
  opacity: .48;
  cursor: not-allowed;
}

#lpoApp button:disabled:active {
  transform: none;
}

#lpoApp button.button-primary {
  border-color: rgba(255, 209, 121, .72);
  color: #161007;
  background: var(--amber);
  font-weight: 700;
}

#lpoApp button.button-primary:hover:not(:disabled) {
  border-color: #fff0c4;
  background: #ffe2a6;
}

#lpoApp #playButton[aria-pressed="true"] {
  border-color: rgba(116, 227, 255, .82);
  color: #06131b;
  background: var(--cyan);
  box-shadow: 0 0 0 1px rgba(116, 227, 255, .18);
}

body > .skip-link {
  position: fixed;
  top: 0;
  left: max(8px, env(safe-area-inset-left));
  z-index: 2147483647;
  padding: 10px 14px;
  border: 2px solid var(--cyan);
  border-radius: 4px;
  color: #f2f1df;
  background: #080907;
  font: 700 .9rem/1.3 "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  text-decoration: none;
  transform: translateY(-150%);
}

body > .skip-link:focus,
body > .skip-link:focus-visible {
  top: max(8px, env(safe-area-inset-top));
  outline: 3px solid rgba(116, 227, 255, .36);
  outline-offset: 2px;
  transform: translateY(0);
}

#lpoApp.site-frame {
  width: min(1480px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 42px;
}

#lpoApp .site-header {
  padding: 4px 0 20px;
  border-bottom: 1px solid var(--line);
}

#lpoApp .prototype-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  min-width: 0;
  margin: 0;
  color: var(--dim);
  font-size: .78rem;
  line-height: 1.5;
}

#lpoApp .prototype-breadcrumb a,
#lpoApp .section-nav a,
#lpoApp .site-footer a,
#lpoApp .noscript-notice a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}

#lpoApp .prototype-breadcrumb a:hover,
#lpoApp .section-nav a:hover,
#lpoApp .site-footer a:hover,
#lpoApp .noscript-notice a:hover {
  color: var(--cyan-bright);
}

#lpoApp .header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
  margin-top: 18px;
}

#lpoApp .brand {
  display: inline-flex;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

#lpoApp .brand-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  color: var(--amber);
  font-size: .78rem;
  letter-spacing: .05em;
  box-shadow: 0 0 20px rgba(116, 227, 255, .12);
}

#lpoApp .brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

#lpoApp .brand-copy strong {
  overflow-wrap: anywhere;
  font-size: .98rem;
  letter-spacing: .07em;
}

#lpoApp .brand-copy small {
  color: var(--dim);
  font-size: .67rem;
  letter-spacing: .1em;
}

#lpoApp .section-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0 18px;
  min-width: 0;
  color: var(--muted);
  font-size: .75rem;
  letter-spacing: .12em;
}

#lpoApp .section-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

#lpoApp .hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 340px);
  gap: 26px;
  align-items: end;
  min-width: 0;
  padding: 44px 0 30px;
}

#lpoApp .hero-copy,
#lpoApp .status-rack,
#lpoApp .observation-panel,
#lpoApp .control-panel,
#lpoApp .note-card,
#lpoApp .preset-grid > *,
#lpoApp .camera-grid > *,
#lpoApp .action-grid > * {
  min-width: 0;
}

#lpoApp .kicker {
  margin: 0 0 8px;
  color: var(--cyan);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

#lpoApp h1,
#lpoApp h2,
#lpoApp h3,
#lpoApp p,
#lpoApp dd,
#lpoApp dt,
#lpoApp button,
#lpoApp label,
#lpoApp li,
#lpoApp a {
  overflow-wrap: anywhere;
}

#lpoApp h1,
#lpoApp h2,
#lpoApp h3 {
  margin: 0;
  font-weight: 650;
}

#lpoApp h1 {
  color: var(--cyan-bright);
  font-size: 3rem;
  line-height: 1.08;
  letter-spacing: .04em;
}

#lpoApp .hero-subtitle {
  margin: 7px 0 0;
  color: var(--amber);
  font-size: clamp(.95rem, 1.8vw, 1.3rem);
  letter-spacing: .07em;
}

#lpoApp .hero-lead {
  display: grid;
  gap: 4px;
  max-width: 880px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: .9rem;
}

#lpoApp .status-rack {
  display: grid;
  gap: 6px;
  align-self: stretch;
  align-content: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  color: var(--muted);
  background: linear-gradient(145deg, rgba(20, 43, 72, .78), rgba(2, 9, 21, .86));
  font-size: .72rem;
  letter-spacing: .055em;
}

#lpoApp .status-rack strong {
  color: var(--cyan-bright);
  font-size: .82rem;
}

#lpoApp .status-label {
  color: var(--amber);
  font-size: .66rem;
  letter-spacing: .14em;
}

#lpoApp .live-message {
  padding-top: 6px;
  border-top: 1px solid rgba(116, 227, 255, .15);
  color: var(--amber);
}

#lpoApp .observatory-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 370px);
  gap: 18px;
  align-items: start;
  min-width: 0;
}

#lpoApp .observation-panel,
#lpoApp .control-panel,
#lpoApp .note-card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, var(--panel), rgba(2, 8, 20, .96));
  box-shadow: 0 0 34px rgba(76, 166, 240, .06);
}

#lpoApp .observation-panel {
  padding: 18px;
}

#lpoApp .control-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
}

#lpoApp .panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  margin-bottom: 14px;
}

#lpoApp .compact-heading {
  margin-bottom: 0;
}

#lpoApp .panel-heading > div {
  min-width: 0;
}

#lpoApp .panel-heading h2 {
  color: var(--text);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  letter-spacing: .04em;
}

#lpoApp .stage-readout {
  display: grid;
  flex: 0 0 auto;
  gap: 2px;
  min-width: 116px;
  max-width: 42%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: rgba(1, 12, 28, .8);
  text-align: right;
}

#lpoApp .stage-readout span,
#lpoApp .readout-list dt {
  color: var(--dim);
  font-size: .62rem;
  letter-spacing: .13em;
}

#lpoApp .stage-readout strong {
  color: var(--amber);
  font-size: .72rem;
  font-weight: 500;
}

#lpoApp .panel-index {
  padding-top: 4px;
  color: var(--amber);
  font-size: .62rem;
  letter-spacing: .13em;
  white-space: nowrap;
}

#lpoApp .stage {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 480px;
  border: 1px solid rgba(116, 227, 255, .36);
  background:
    radial-gradient(circle at 50% 48%, rgba(42, 91, 148, .23), transparent 48%),
    linear-gradient(rgba(116, 227, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 227, 255, .025) 1px, transparent 1px),
    #01040b;
  background-size: auto, 28px 28px, 28px 28px, auto;
}

#lpoCanvas {
  display: block;
  width: 100%;
  height: clamp(480px, 52vw, 680px);
  min-height: 480px;
  max-height: 72vh;
  cursor: crosshair;
  touch-action: pan-y pinch-zoom;
}

#lpoApp .gesture-zone {
  position: absolute;
  z-index: 2;
  display: block;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: transparent;
  touch-action: none;
  pointer-events: auto;
  user-select: none;
  cursor: grab;
}

#lpoApp .gesture-zone[hidden],
#lpoApp:is(.is-loading, .is-context-lost, .is-failed) .gesture-zone,
#lpoApp[data-graphics-state="loading"] .gesture-zone,
#lpoApp[data-graphics-state="lost"] .gesture-zone,
#lpoApp[data-graphics-state="failed"] .gesture-zone {
  display: none;
  pointer-events: none;
}

#lpoCanvas.is-dragging + .gesture-zone {
  cursor: grabbing;
}
#lpoCanvas.is-dragging,
#lpoApp.is-dragging #lpoCanvas {
  cursor: grabbing;
}

#lpoApp .stage-hud {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(237, 248, 255, .64);
  font-size: .63rem;
  letter-spacing: .12em;
  pointer-events: none;
}

#lpoApp .fallback {
  position: absolute;
  z-index: 3;
  inset: 50% 20px auto;
  margin: 0;
  padding: 14px;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 139, 146, .68);
  color: #ffd9d4;
  background: rgba(44, 7, 17, .94);
  text-align: center;
}

#lpoApp .stage:has(.fallback:not([hidden])) #lpoCanvas {
  opacity: .16;
}

#lpoApp:is(.is-loading, [data-graphics-state="loading"]) .stage,
#lpoApp .stage.is-loading {
  border-color: rgba(255, 209, 121, .6);
}

#lpoApp:is(.is-loading, [data-graphics-state="loading"]) #statusRender {
  color: var(--amber);
}

#lpoApp:is(.is-context-lost, [data-graphics-state="lost"]) .stage,
#lpoApp .stage.is-context-lost {
  border-color: rgba(198, 160, 255, .72);
  box-shadow: inset 0 0 0 1px rgba(198, 160, 255, .12);
}

#lpoApp:is(.is-context-lost, [data-graphics-state="lost"]) #statusRender {
  color: var(--violet);
}

#lpoApp:is(.is-failed, [data-graphics-state="failed"]) .stage,
#lpoApp .stage.is-failed {
  border-color: rgba(255, 139, 146, .78);
}

#lpoApp:is(.is-failed, [data-graphics-state="failed"]) #statusRender {
  color: var(--red);
}

#lpoApp .stage-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  min-width: 0;
  margin-top: 12px;
  color: var(--muted);
  font-size: .68rem;
  letter-spacing: .07em;
}

#lpoApp .stage-legend span {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
}

#lpoApp .legend-swatch {
  display: inline-block;
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

#lpoApp .legend-primary {
  border: 1px solid #fff0bf;
  background: var(--amber);
  box-shadow: 0 0 8px rgba(255, 209, 121, .68);
}

#lpoApp .legend-secondary {
  border: 1px solid var(--cyan-bright);
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(116, 227, 255, .68);
}

#lpoApp .legend-collinear {
  border: 2px solid var(--amber);
  background: transparent;
}

#lpoApp .legend-triangular {
  border: 2px solid var(--violet);
  background: rgba(198, 160, 255, .18);
  transform: rotate(45deg);
}

#lpoApp .legend-boundary {
  border: 1px solid var(--cyan-bright);
  border-radius: 2px;
  background: transparent;
  box-shadow: 0 0 6px rgba(116, 227, 255, .32);
}

#lpoApp .legend-forbidden {
  border: 1px solid var(--violet);
  border-radius: 2px;
  background: var(--forbidden);
}

#lpoApp .legend-allowed {
  border: 1px solid var(--cyan);
  border-radius: 2px;
  background: var(--allowed);
}

#lpoApp .legend-probe {
  border: 1px solid var(--green);
  background: var(--green);
  box-shadow: 0 0 8px rgba(145, 239, 189, .64);
}

#lpoApp .canvas-help {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-left: 2px solid var(--cyan);
  color: var(--dim);
  background: rgba(2, 10, 23, .72);
  font-size: .67rem;
  line-height: 1.65;
}

#lpoApp .canvas-help strong {
  color: var(--cyan-bright);
}

#lpoApp .control-group,
#lpoApp .readout-list {
  min-width: 0;
  margin: 0;
  border: 1px solid rgba(116, 227, 255, .16);
  background: var(--panel-soft);
}

#lpoApp .control-group {
  display: grid;
  gap: 9px;
  padding: 13px;
}

#lpoApp .primary-controls {
  border-left: 2px solid var(--cyan);
}

#lpoApp .probe-controls {
  border-left: 2px solid var(--violet);
}

#lpoApp .control-group h3 {
  margin: -2px 0 2px;
  padding: 0;
  color: var(--cyan);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .14em;
}

#lpoApp .probe-controls h3 {
  color: var(--violet);
}

#lpoApp .preset-controls {
  gap: 8px;
}

#lpoApp .preset-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

#lpoApp .preset-button {
  display: grid;
  gap: 2px;
  align-content: center;
  min-height: 60px;
  padding: 8px 9px;
  text-align: left;
}

#lpoApp .preset-button.is-active,
#lpoApp .preset-button[aria-pressed="true"],
#lpoApp .camera-button.is-active,
#lpoApp .camera-button[aria-pressed="true"] {
  border-color: rgba(255, 209, 121, .7);
  background: rgba(255, 209, 121, .11);
  box-shadow: inset 3px 0 0 var(--amber);
}

#lpoApp .preset-button strong {
  color: var(--text);
  font-size: .72rem;
  letter-spacing: .07em;
}

#lpoApp .preset-button small {
  color: var(--dim);
  font-size: .61rem;
  line-height: 1.4;
}

#lpoApp .camera-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

#lpoApp .camera-button {
  min-height: 48px;
  padding-inline: 7px;
  font-size: .62rem;
  line-height: 1.35;
}

#lpoApp .range-label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  color: var(--muted);
  font-size: .7rem;
}

#lpoApp .range-label span {
  min-width: 0;
}

#lpoApp .range-label output {
  flex: 0 0 auto;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

#lpoApp input[type="range"] {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

#lpoApp input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border: 1px solid rgba(116, 227, 255, .3);
  border-radius: 999px;
  background: rgba(116, 227, 255, .18);
}

#lpoApp input[type="range"]::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  margin-top: -8px;
  appearance: none;
  border: 2px solid #08101d;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 1px rgba(255, 209, 121, .7);
}

#lpoApp input[type="range"]::-moz-range-track {
  height: 4px;
  border: 1px solid rgba(116, 227, 255, .3);
  border-radius: 999px;
  background: rgba(116, 227, 255, .18);
}

#lpoApp input[type="range"]::-moz-range-progress {
  height: 4px;
  border-radius: 999px;
  background: rgba(116, 227, 255, .5);
}

#lpoApp input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 2px solid #08101d;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 1px rgba(255, 209, 121, .7);
}

#lpoApp .range-endpoints {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
  color: var(--dim);
  font-size: .58rem;
}

#lpoApp .range-endpoints span {
  flex: 1 1 0;
  min-width: 0;
}

#lpoApp .range-endpoints span:nth-child(2) {
  text-align: center;
}

#lpoApp .range-endpoints span:last-child {
  text-align: right;
}

#lpoApp .control-hint,
#lpoApp .small-note {
  margin: 0;
  color: var(--dim);
  font-size: .67rem;
  line-height: 1.65;
}

#lpoApp .display-options {
  gap: 7px;
}

#lpoApp .check-option {
  display: flex;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 1px solid rgba(116, 227, 255, .17);
  color: var(--muted);
  cursor: pointer;
  font-size: .7rem;
  letter-spacing: .04em;
}

#lpoApp .check-option:has(input:checked) {
  border-color: rgba(255, 209, 121, .56);
  color: var(--text);
  background: rgba(255, 209, 121, .08);
}

#lpoApp .check-option input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
}

#lpoApp .check-option input:checked + span {
  color: var(--text);
}

#lpoApp .action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

#lpoApp .action-grid button {
  min-height: 50px;
  padding-inline: 7px;
  font-size: .68rem;
}

#lpoApp .readout-list {
  display: grid;
  gap: 0;
  padding: 0;
}

#lpoApp .readout-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto);
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 9px 12px;
  border-bottom: 1px solid rgba(116, 227, 255, .11);
}

#lpoApp .readout-list div:first-child {
  border-left: 2px solid var(--amber);
  background: rgba(255, 209, 121, .045);
}

#lpoApp .readout-list div:last-child {
  border-bottom: 0;
}

#lpoApp .readout-list dd {
  min-width: 0;
  margin: 0;
  color: var(--text);
  font-size: .72rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
  overflow-wrap: anywhere;
}

#lpoApp #statusGate {
  color: var(--amber);
  font-weight: 700;
}

#lpoApp .gate-label,
#lpoApp .region-label {
  padding: 3px 6px;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(2, 10, 23, .86);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .06em;
}

#lpoApp .gate-label.is-open,
#lpoApp .region-label.is-allowed {
  border-color: rgba(145, 239, 189, .7);
  color: #c9ffe0;
  background: rgba(20, 74, 49, .82);
}

#lpoApp .gate-label.is-closed,
#lpoApp .region-label.is-forbidden {
  border-color: rgba(198, 160, 255, .7);
  color: #eadbff;
  background: rgba(57, 36, 86, .86);
}

#lpoApp .notes {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

#lpoApp .notes-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#lpoApp .notes-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#lpoApp .note-card {
  padding: 18px;
}

#lpoApp .note-card h2 {
  color: var(--text);
  font-size: clamp(1rem, 1.8vw, 1.28rem);
  line-height: 1.35;
}

#lpoApp .note-card p,
#lpoApp .note-card li {
  color: var(--muted);
  font-size: .77rem;
  line-height: 1.8;
}

#lpoApp .note-card p {
  margin: 12px 0 0;
}

#lpoApp .note-card ol,
#lpoApp .note-card ul {
  margin: 12px 0 0;
  padding-left: 1.35em;
}

#lpoApp .note-card li + li {
  margin-top: 6px;
}

#lpoApp .note-card strong {
  color: var(--cyan-bright);
  font-weight: 600;
}

#lpoApp .note-emphasis {
  color: var(--amber) !important;
}

#lpoApp .formula-card {
  background: linear-gradient(145deg, rgba(18, 31, 57, .96), rgba(3, 10, 24, .98));
}

#lpoApp .formula {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin-top: 14px;
  padding: 12px;
  border-left: 2px solid var(--amber);
  background: rgba(0, 4, 12, .66);
}

#lpoApp .formula code {
  display: block;
  min-width: 0;
  color: var(--cyan-bright);
  font-size: .8rem;
  white-space: normal;
  overflow-wrap: anywhere;
}

#lpoApp .limit-list {
  list-style: "—  ";
}

#lpoApp .noscript-notice {
  position: relative;
  z-index: 4;
  margin: 18px;
  padding: 14px;
  border: 1px solid rgba(255, 139, 146, .68);
  color: #ffd9d4;
  background: rgba(44, 7, 17, .9);
  font-size: .78rem;
}

#lpoApp .noscript-notice strong {
  color: #fff0ec;
}

#lpoApp .noscript-notice p {
  margin: 8px 0 0;
  color: rgba(255, 226, 222, .82);
}

#lpoApp .noscript-notice a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

#lpoApp .site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 18px;
  min-width: 0;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: .68rem;
}

#lpoApp .site-footer > span {
  color: var(--muted);
}

#lpoApp .site-footer > a,
#lpoApp .public-site-footer-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

#lpoApp .public-site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
  min-width: 0;
  margin-left: auto;
}

@media (max-width: 980px) {
  #lpoApp .hero {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  #lpoApp .status-rack {
    max-width: 560px;
  }

  #lpoApp .observatory-layout {
    grid-template-columns: 1fr;
  }

  #lpoApp .notes-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #lpoApp .notes-three .note-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  #lpoApp.site-frame {
    width: min(100% - 20px, 1480px);
    padding-top: 14px;
  }

  #lpoApp .header-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  #lpoApp .section-nav {
    justify-content: flex-start;
    column-gap: 14px;
  }

  #lpoApp .hero {
    padding: 30px 0 22px;
  }

  #lpoApp h1 {
    font-size: 2rem;
  }

  #lpoApp .hero-lead {
    font-size: .78rem;
  }

  #lpoApp .observation-panel,
  #lpoApp .control-panel,
  #lpoApp .note-card {
    padding: 13px;
  }

  #lpoApp .panel-heading {
    gap: 10px;
  }

  #lpoApp .stage-readout {
    min-width: 96px;
    max-width: 46%;
    padding: 7px;
  }

  #lpoApp .stage {
    min-height: 460px;
  }

  #lpoCanvas {
    height: min(118vw, 560px);
    min-height: 460px;
    max-height: none;
  }

  #lpoApp .stage-hud {
    display: grid;
    gap: 2px;
    font-size: .55rem;
  }

  #lpoApp .stage-legend {
    gap: 7px 12px;
    font-size: .61rem;
  }

  #lpoApp .canvas-help {
    font-size: .63rem;
  }

  #lpoApp .preset-grid,
  #lpoApp .camera-grid,
  #lpoApp .action-grid,
  #lpoApp .notes-three,
  #lpoApp .notes-two {
    grid-template-columns: 1fr;
  }

  #lpoApp .notes-three .note-card:last-child {
    grid-column: auto;
  }

  #lpoApp .notes {
    gap: 12px;
  }

  #lpoApp .readout-list div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  #lpoApp .readout-list dd {
    text-align: left;
  }

  #lpoApp .range-label {
    align-items: flex-start;
  }

  #lpoApp .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  #lpoApp .public-site-footer-nav {
    margin-left: 0;
  }
}

@media (max-width: 430px) {
  #lpoApp .panel-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  #lpoApp .stage-readout {
    min-width: 0;
    max-width: 112px;
  }

  #lpoApp .range-label {
    display: grid;
    gap: 3px;
  }

  #lpoApp .range-label output {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  #lpoApp button:active {
    transform: none;
  }
}
