@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Space+Grotesk:wght@400;500;600;700&display=swap";
/* [project]/app/globals.css [app-client] (css) */
:root {
  color: #e9eef7;
  font-synthesis: none;
  --muted: #8897ab;
  --red: #fc493f;
  --blue: #38bdf8;
  --space-cyan: #38bdf8;
  --space-purple: #c084fc;
  --space-amber: #fbbf24;
  --space-ruby: #f43f5e;
  background: #02040a;
  font-family: DM Sans, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

button, input, select {
  font: inherit;
}

button, a, input, select {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
  color: inherit;
}

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline-offset: 4px;
  outline: 2px solid #77baff;
}

button {
  border: 0;
}

.topbar {
  background: #0a1422;
  border-bottom: 1px solid #243043;
  align-items: center;
  gap: 26px;
  height: 86px;
  padding: 0 30px;
  display: flex;
}

.brand {
  color: inherit;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  display: flex;
}

.nasa {
  letter-spacing: -1px;
  background: #104895;
  border-radius: 50%;
  place-items: center;
  width: 49px;
  height: 49px;
  font-family: Georgia, serif;
  font-size: 16px;
  font-style: italic;
  font-weight: bold;
  display: grid;
  position: relative;
  overflow: visible;
}

.nasa:before {
  content: "";
  border: 1px solid #afc5e2;
  border-radius: 50%;
  width: 44px;
  height: 20px;
  position: absolute;
  transform: rotate(-35deg);
}

.nasa i {
  background: #ef4135;
  border-radius: 100%;
  width: 65px;
  height: 3px;
  position: absolute;
  transform: rotate(-35deg);
}

.brand-name {
  letter-spacing: 1px;
  font-family: Space Grotesk, sans-serif;
  font-size: 23px;
  font-weight: 600;
}

.brand-name > span {
  letter-spacing: 3.2px;
  color: #a2adbe;
  margin-top: 2px;
  font-family: DM Sans, sans-serif;
  font-size: 9px;
  display: block;
}

.header-divider {
  background: #2a3444;
  width: 1px;
  height: 31px;
}

.mission {
  color: var(--muted);
  font-size: 12px;
}

nav {
  color: #a5afbf;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  font-size: 11px;
  display: flex;
}

.demo-dot, .live-dot {
  vertical-align: middle;
  background: #78c4ac;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  display: inline-block;
}

.icon-button {
  background: none;
  border: 1px solid #3a4555;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  margin-left: 15px;
}

.share-button {
  background: #182638;
  border: 1px solid #314055;
  border-radius: 7px;
  margin-left: 13px;
  padding: 10px 15px;
  font-size: 12px;
}

.share-button:first-letter {
  margin-right: 10px;
}

main {
  height: calc(100dvh - 86px);
  min-height: 700px;
  display: flex;
}

.sidebar {
  background: #0d1726;
  border-right: 1px solid #253143;
  flex-direction: column;
  flex-shrink: 0;
  width: 354px;
  padding: 30px 26px 18px;
  display: flex;
  overflow: auto;
}

.eyebrow {
  letter-spacing: 1.9px;
  color: #94a5bc;
  font-size: 9px;
  font-weight: 600;
}

.intro .eyebrow {
  color: #fb766c;
  font-size: 8px;
}

h1 {
  letter-spacing: -1.3px;
  margin: 15px 0;
  font-family: Space Grotesk, sans-serif;
  font-size: 35px;
  font-weight: 500;
  line-height: 1.18;
}

h1 span {
  color: #a5c3e9;
}

.intro p {
  color: var(--muted);
  margin-bottom: 28px;
  font-size: 12px;
  line-height: 1.8;
}

form > label {
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 600;
  display: block;
}

.search-box {
  background: #131f30;
  border: 1px solid #334256;
  border-radius: 7px;
  align-items: center;
  gap: 9px;
  height: 43px;
  padding: 0 11px;
  display: flex;
}

.search-box > span {
  color: #93a5bd;
  font-size: 25px;
}

.search-box input {
  color: #fff;
  background: none;
  border: 0;
  outline: none;
  width: 100%;
  font-size: 11px;
}

.search-box button {
  color: #9baec7;
  background: #253348;
  border-radius: 4px;
  font-size: 15px;
}

.or {
  color: #65758c;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  font-size: 9px;
  display: flex;
}

.or span {
  background: #253044;
  flex: 1;
  height: 1px;
}

.coordinates {
  gap: 11px;
  display: flex;
}

.coordinates label {
  color: #94a3b7;
  width: 50%;
  font-size: 10px;
}

.coordinates label > span {
  float: right;
  color: #667a94;
}

.coordinates input {
  color: #e1e8f3;
  background: #111d2d;
  border: 1px solid #2b3a50;
  border-radius: 6px;
  width: 100%;
  margin-top: 7px;
  padding: 10px;
  font-family: monospace;
  font-size: 12px;
}

.primary {
  color: #fff;
  text-align: left;
  background: #ee443a;
  border: 1px solid #ff6b60;
  border-radius: 6px;
  width: 100%;
  margin-top: 14px;
  padding: 12px 15px;
  font-size: 11px;
  font-weight: 600;
}

.primary span {
  float: right;
  font-size: 16px;
}

.primary:hover {
  background: #ff574b;
}

.status {
  color: #a8bfdc;
  min-height: 12px;
  margin: 7px 0;
  font-size: 10px;
}

.section-label {
  letter-spacing: 1.6px;
  color: #8393aa;
  justify-content: space-between;
  margin: 18px 0 13px;
  font-size: 8px;
  display: flex;
}

.section-label > span {
  color: #8ea8cd;
}

.target {
  text-align: left;
  background: none;
  border: 1px solid #0000;
  border-radius: 7px;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 5px;
  padding: 10px;
  display: flex;
}

.target.active {
  background: #16243a;
  border-color: #314866;
}

.target:hover {
  background: #182538;
}

.target-thumb {
  color: #f4dfff;
  background: radial-gradient(#d2c3ff, #443c70 20%, #151c32 60%);
  border: 1px solid #495172;
  border-radius: 5px;
  place-items: center;
  width: 38px;
  height: 38px;
  font-size: 28px;
  display: grid;
}

.thumb-two {
  color: #ffddac;
  background: radial-gradient(#ddad75, #5a403e 20%, #1c2131 65%);
}

.thumb-three {
  color: #b8e5ff;
  background: radial-gradient(#83c4ed, #204253 20%, #121e2f 65%);
}

.target strong {
  font-size: 12px;
  font-weight: 500;
  display: block;
}

.target small {
  color: #8e9eb4;
  margin-top: 5px;
  font-size: 10px;
  display: block;
}

.target-arrow {
  color: #94accb;
  margin-left: auto;
}

.more-targets {
  gap: 14px;
  padding: 8px 0 6px;
  display: flex;
}

.more-targets button {
  color: #8497b1;
  background: none;
  font-size: 10px;
}

.discovery-note {
  border-top: 1px solid #263247;
  gap: 12px;
  margin-top: auto;
  padding: 15px 0;
  display: flex;
}

.discovery-note > span {
  color: #7b9bc5;
  font-size: 23px;
}

.discovery-note strong {
  color: #b4c4da;
  font-size: 10px;
  font-weight: 500;
}

.discovery-note p {
  color: #73859f;
  margin: 6px 0 0;
  font-size: 10px;
  line-height: 1.7;
}

footer {
  letter-spacing: 1px;
  color: #5b6d85;
  justify-content: space-between;
  padding-top: 8px;
  font-size: 7px;
  display: flex;
}

.sky {
  background: #050a13;
  flex: 1;
  min-width: 0;
  position: relative;
  overflow: hidden;
}

canvas {
  cursor: grab;
  touch-action: none;
  width: 100%;
  height: 100%;
  display: block;
}

canvas:active {
  cursor: grabbing;
}

.map-top {
  pointer-events: none;
  justify-content: space-between;
  align-items: center;
  display: flex;
  position: absolute;
  top: 25px;
  left: 27px;
  right: 26px;
}

.map-title {
  letter-spacing: 1.6px;
  color: #bcc9d9;
  font-size: 9px;
}

.map-title > .live-dot {
  background: #8aa9d2;
  margin-right: 9px;
}

.badge {
  letter-spacing: 1px;
  color: #9babc0;
  background: #101a2980;
  border: 1px solid #3b4559;
  border-radius: 3px;
  margin-left: 12px;
  padding: 5px 7px;
  font-size: 7px;
}

.map-coordinate {
  color: #62738d;
  letter-spacing: 1px;
  font-size: 8px;
  position: absolute;
  top: 74px;
  left: 28px;
}

.map-coordinate span {
  color: #8b9db6;
  margin-left: 12px;
  font-family: monospace;
}

.object-label {
  pointer-events: none;
  align-items: center;
  gap: 25px;
  display: flex;
  position: absolute;
  top: 39%;
  left: 49%;
}

.crosshair {
  border: 1px solid #e6776c;
  border-radius: 50%;
  width: 43px;
  height: 43px;
  display: block;
  position: relative;
  box-shadow: 0 0 15px #ef5b3420;
}

.crosshair:before, .crosshair:after {
  content: "";
  background: #ef9686;
  position: absolute;
}

.crosshair:before {
  width: 1px;
  height: 59px;
  top: -9px;
  left: 20px;
}

.crosshair:after {
  width: 59px;
  height: 1px;
  top: 20px;
  left: -9px;
}

.object-label > div {
  background: linear-gradient(90deg, #0c1426df, #0c142660);
  border-left: 2px solid #ed6256;
  padding: 10px 13px;
}

.object-type {
  color: #d39088;
  letter-spacing: 1.3px;
  font-size: 7px;
}

.object-label strong {
  margin-top: 5px;
  font-family: Space Grotesk, sans-serif;
  font-size: 20px;
  font-weight: 500;
  display: block;
}

.object-label small {
  color: #8c9db5;
  margin-top: 6px;
  font-size: 9px;
  display: block;
}

.map-tools {
  background: #121d2ce8;
  border: 1px solid #334053;
  border-radius: 7px;
  flex-direction: column;
  padding: 3px;
  display: flex;
  position: absolute;
  top: 132px;
  right: 26px;
}

.map-tools button {
  color: #b4c3d9;
  background: none;
  width: 33px;
  height: 35px;
  font-size: 22px;
}

.map-tools span {
  background: #314057;
  height: 1px;
  margin: 3px;
}

.map-tools button:hover {
  background: #26374e;
}

.compass {
  text-align: center;
  color: #7589a5;
  font-size: 9px;
  position: absolute;
  bottom: 296px;
  right: 31px;
}

.compass > div {
  color: #bfcede;
  font-size: 31px;
}

.layers-panel {
  background: #0e1928ed;
  border: 1px solid #354052;
  border-radius: 7px;
  width: 201px;
  padding: 13px;
  position: absolute;
  bottom: 264px;
  left: 27px;
}

.layers-panel > button {
  background: none;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  font-size: 11px;
  display: flex;
}

.layers-panel label {
  color: #acbad0;
  align-items: center;
  gap: 8px;
  margin-top: 13px;
  font-size: 9px;
  display: flex;
}

.layers-panel input {
  accent-color: #3979cb;
  width: 12px;
  height: 12px;
  margin: 0;
}

.layer-dot {
  border-radius: 50%;
  width: 5px;
  height: 5px;
  margin-left: 3px;
}

.red {
  background: #ee655e;
}

.blue {
  background: #5b9df1;
}

.white {
  background: #b8c4d6;
}

.map-bottom {
  color: #6f819b;
  justify-content: space-between;
  font-size: 8px;
  display: flex;
  position: absolute;
  bottom: 237px;
  left: 28px;
  right: 28px;
}

.timeline {
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  background: #101b2bec;
  border: 1px solid #344056;
  border-radius: 10px;
  padding: 21px 23px 16px;
  position: absolute;
  bottom: 24px;
  left: 26px;
  right: 26px;
  box-shadow: 0 10px 35px #0004;
}

.timeline-heading {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.timeline .eyebrow {
  letter-spacing: 1.6px;
  color: #8399b7;
  font-size: 7px;
}

h2 {
  margin: 8px 0 0;
  font-family: Space Grotesk, sans-serif;
  font-size: 17px;
  font-weight: 500;
}

h2 > span {
  color: #8d9eb5;
  border: 1px solid #344357;
  border-radius: 4px;
  margin-left: 9px;
  padding: 4px 6px;
  font-family: DM Sans, sans-serif;
  font-size: 8px;
}

.speed-label {
  color: #8a9bb4;
  font-size: 9px;
}

.speed-label select {
  color: #d1dced;
  background: #1b2a3e;
  border: 1px solid #35445b;
  border-radius: 4px;
  margin-left: 8px;
  padding: 5px;
  font-size: 10px;
}

.timeline-controls {
  align-items: center;
  gap: 20px;
  margin-top: 22px;
  display: flex;
}

.play {
  background: #ef4c42;
  border-radius: 50%;
  flex-shrink: 0;
  width: 37px;
  height: 37px;
  font-size: 12px;
}

.timeline-track {
  flex: 1;
  min-width: 0;
}

input[type="range"] {
  accent-color: #f16a5e;
  cursor: pointer;
  width: 100%;
  height: 3px;
  display: block;
}

.dates {
  letter-spacing: .6px;
  color: #8396b0;
  justify-content: space-between;
  margin-top: 13px;
  font-size: 7px;
  display: flex;
}

.loop {
  color: #7f98ba;
  background: none;
  padding: 0;
  font-size: 26px;
}

.loop.active {
  color: #ccdaef;
}

.timeline-foot {
  color: #9eafc6;
  border-top: 1px solid #29364b;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 12px;
  font-size: 8px;
  display: flex;
}

.timeline-foot .live-dot {
  background: #fa7a6d;
  width: 4px;
  height: 4px;
  margin-right: 6px;
}

.muted {
  color: #62758e;
  margin-left: 4px;
}

.timeline-foot > span:last-child {
  color: #657b98;
}

#toast {
  z-index: 10;
  background: #1c3048;
  border: 1px solid #476282;
  border-radius: 8px;
  padding: 13px 20px;
  font-size: 12px;
  display: none;
  position: fixed;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
}

dialog {
  color: #e7edf7;
  background: #111e30;
  border: 1px solid #415774;
  border-radius: 14px;
  max-width: 460px;
  padding: 32px;
}

dialog::backdrop {
  background: #000a;
}

dialog .icon-button {
  float: right;
}

dialog h2 {
  margin-top: 22px;
  font-size: 26px;
}

dialog p {
  color: #a5b5cb;
  font-size: 13px;
  line-height: 1.8;
}

@media (min-width: 1500px) {
  .sidebar {
    width: 385px;
    padding: 35px 32px;
  }

  .intro h1 {
    font-size: 40px;
  }

  .target {
    padding: 13px 10px;
  }

  .timeline {
    padding: 25px 28px;
    bottom: 30px;
  }

  .layers-panel {
    bottom: 280px;
  }

  .map-bottom {
    bottom: 249px;
  }
}

@media (max-width: 1050px) {
  .mission, .header-divider {
    display: none;
  }

  .sidebar {
    width: 305px;
    padding: 25px 20px;
  }

  .object-label {
    left: 42%;
  }

  .object-label small {
    display: none;
  }

  .object-label strong {
    font-size: 16px;
  }

  .object-type {
    font-size: 6px;
  }

  .timeline-foot > span:last-child {
    display: none;
  }

  .dates {
    font-size: 6px;
  }

  .timeline {
    padding: 18px 15px;
  }

  .timeline h2 > span {
    display: none;
  }

  .map-title .badge {
    margin: 10px 0;
    display: block;
  }

  .map-coordinate {
    top: 99px;
  }
}

@media (max-width: 700px) {
  .topbar {
    height: 72px;
    padding: 0 17px;
  }

  .brand-name {
    font-size: 19px;
  }

  .nasa {
    width: 40px;
    height: 40px;
  }

  nav > span {
    display: none;
  }

  .share-button {
    margin-left: 0;
    padding: 8px;
  }

  .share-button span {
    display: none;
  }

  .icon-button {
    margin-left: 0;
  }

  main {
    height: auto;
    min-height: 0;
    display: block;
  }

  .sidebar {
    width: 100%;
    padding: 24px 20px;
    overflow: visible;
  }

  .intro h1 {
    font-size: 31px;
  }

  .intro h1 br {
    display: none;
  }

  .intro p {
    margin: 10px 0 20px;
  }

  .intro p br {
    display: none;
  }

  .targets {
    margin-top: 3px;
  }

  .targets .target {
    vertical-align: top;
    gap: 8px;
    width: calc(50% - 3px);
    padding: 8px 5px;
    display: inline-flex;
  }

  .target small {
    font-size: 8px;
  }

  .target strong {
    font-size: 10px;
  }

  .target-thumb {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
  }

  .target-arrow, .discovery-note, footer {
    display: none;
  }

  .sky {
    height: 740px;
  }

  .map-top {
    left: 18px;
    right: 18px;
  }

  .map-coordinate {
    left: 18px;
  }

  .layers-panel {
    bottom: 264px;
    left: 18px;
  }

  .timeline {
    bottom: 18px;
    left: 12px;
    right: 12px;
  }

  .object-label {
    gap: 16px;
    top: 32%;
    left: 38%;
  }

  .object-label > div {
    max-width: 170px;
  }

  .map-tools {
    right: 18px;
  }

  .compass {
    right: 24px;
  }

  .map-bottom {
    font-size: 7px;
    left: 18px;
    right: 18px;
  }

  .timeline-heading h2 {
    font-size: 16px;
  }

  .dates {
    letter-spacing: 0;
    font-size: 6px;
  }

  .timeline-controls {
    gap: 13px;
  }

  .timeline-foot {
    font-size: 7px;
  }
}

main {
  height: 100dvh;
  min-height: 0;
  max-height: 100dvh;
  position: relative;
  overflow: hidden;
}

.sidebar {
  z-index: 5;
  width: 354px;
  padding-top: 95px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  box-shadow: 20px 0 60px #0005;
}

.nav-collapsed .sidebar {
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-100%);
}

.sky {
  width: 100%;
}

.search-dock {
  z-index: 6;
  background: #142237;
  border: 1px solid #3a4b64;
  border-radius: 9px;
  align-items: center;
  width: 314px;
  height: 48px;
  padding: 5px;
  display: flex;
  position: absolute;
  top: 20px;
  left: 20px;
  box-shadow: 0 5px 25px #0004;
}

.search-dock > button {
  background: none;
  border-right: 1px solid #34435a;
  flex-shrink: 0;
  width: 40px;
  height: 36px;
  font-size: 21px;
}

.search-dock form {
  flex: 1;
  align-items: center;
  min-width: 0;
  margin: 0;
  display: flex;
}

.search-dock input {
  color: #e9eef7;
  background: none;
  border: 0;
  width: 100%;
  min-width: 0;
  padding: 10px;
  font-size: 12px;
}

.search-dock form button {
  color: #a7bbd7;
  background: none;
  padding: 0 9px;
  font-size: 24px;
}

.map-top, .map-coordinate {
  left: 375px;
}

.map-tools #zoom-in, .map-tools #zoom-out, .map-tools > span {
  display: none;
}

.layers-panel {
  bottom: 277px;
}

.map-bottom {
  bottom: 251px;
}

.rotary-console {
  align-items: center;
  gap: 26px;
  width: 620px;
  max-width: calc(100% - 40px);
  padding: 22px 28px;
  display: flex;
  bottom: 24px;
  left: auto;
}

.knob-section {
  flex-direction: column;
  flex-shrink: 0;
  align-items: center;
  gap: 12px;
  display: flex;
}

.knob-section .eyebrow {
  letter-spacing: 1.3px;
  font-size: 8px;
}

.rotary {
  --angle: -135deg;
  --progress: 0deg;
  touch-action: none;
  cursor: grab;
  background: radial-gradient(circle,#18283c 57%,transparent 58%),conic-gradient(from 225deg,#ef6d61 0deg var(--progress),#3a485d var(--progress) 270deg,transparent 270deg);
  -webkit-user-select: none;
  user-select: none;
  border-radius: 50%;
  width: 122px;
  height: 122px;
  position: relative;
  box-shadow: 0 8px 20px #0005;
}

.rotary:active {
  cursor: grabbing;
}

.rotary:before {
  content: "";
  background: linear-gradient(145deg, #304159, #101b2c);
  border: 1px solid #4a5c76;
  border-radius: 50%;
  position: absolute;
  inset: 10px;
  box-shadow: inset 0 1px 3px #8aa1bc40, 0 3px 8px #0008;
}

.zoom-rotary {
  background: radial-gradient(circle,#18283c 57%,transparent 58%),conic-gradient(from 225deg,#74a9f3 0deg var(--progress),#3a485d var(--progress) 270deg,transparent 270deg);
}

.knob-pointer {
  transform: rotate(var(--angle));
  z-index: 2;
  pointer-events: none;
  position: absolute;
  inset: 15px;
}

.knob-pointer:before {
  content: "";
  background: #ff998e;
  border-radius: 3px;
  width: 3px;
  height: 15px;
  position: absolute;
  top: 0;
  left: calc(50% - 1.5px);
  box-shadow: 0 0 8px #ff7a6c80;
}

.zoom-rotary .knob-pointer:before {
  background: #91c1ff;
  box-shadow: 0 0 8px #82baff80;
}

.knob-value {
  pointer-events: none;
  justify-content: center;
  align-items: center;
  font-family: Space Grotesk, sans-serif;
  font-size: 23px;
  display: flex;
  position: absolute;
  inset: 0;
}

.knob-value b {
  font-weight: 500;
}

.knob-value small {
  color: #8296b1;
  margin-left: 4px;
  font-size: 11px;
}

.knob-caption {
  letter-spacing: 1px;
  color: #93a8c4;
  font-size: 8px;
}

.time-section .knob-caption {
  color: #e9b0a8;
}

.playback-panel {
  border-left: 1px solid #334158;
  flex: 1;
  min-width: 0;
  padding-left: 20px;
}

.playback-panel h2 {
  font-size: 17px;
}

.playback-panel p {
  color: #8a9db6;
  margin: 8px 0 13px;
  font-size: 10px;
}

.playback-buttons {
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
  display: flex;
}

.playback-buttons > button:not(.play):not(.loop) {
  background: #20324b;
  border-radius: 5px;
  width: 25px;
  height: 28px;
  font-size: 10px;
}

.playback-buttons .play {
  width: 40px;
  height: 40px;
}

.playback-buttons .loop {
  font-size: 25px;
}

.playback-panel .timeline-foot {
  margin-top: 12px;
  padding-top: 10px;
}

.playback-panel .muted {
  margin: 0;
  font-size: 8px;
}

.playback-panel .speed-label {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.timeline-foot {
  display: block;
}

.nav-collapsed .layers-panel {
  left: 27px;
}

body:not(.nav-collapsed) .layers-panel, body:not(.nav-collapsed) .map-bottom {
  left: 375px;
}

@media (max-width: 1050px) {
  .rotary-console {
    gap: 20px;
    width: 570px;
    padding: 20px;
  }

  .rotary {
    width: 110px;
    height: 110px;
  }

  .map-title {
    display: none;
  }

  .map-top {
    left: auto;
  }

  .sidebar {
    width: 354px;
  }

  .intro h1 {
    font-size: 35px;
  }
}

@media (max-width: 700px) {
  main {
    height: calc(100dvh - 72px);
    min-height: 0;
    display: flex;
  }

  .sky {
    height: 100%;
  }

  .search-dock {
    width: calc(100% - 140px);
    max-width: 314px;
    top: 14px;
    left: 12px;
  }

  .sidebar {
    width: min(354px, 100%);
    height: 100%;
    padding: 88px 20px 24px;
    overflow: auto;
  }

  .sidebar .targets .target {
    gap: 12px;
    width: 100%;
    padding: 10px;
    display: flex;
  }

  .sidebar .target strong {
    font-size: 12px;
  }

  .sidebar .target small {
    font-size: 10px;
  }

  .sidebar .target-thumb {
    width: 38px;
    height: 38px;
  }

  .map-top {
    top: 18px;
    right: 12px;
  }

  .map-coordinate {
    top: 83px;
    left: 18px;
  }

  .rotary-console {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    width: calc(100% - 24px);
    max-width: none;
    padding: 18px 14px;
    bottom: 16px;
    left: 12px;
    right: 12px;
  }

  .knob-section {
    gap: 9px;
  }

  .rotary {
    width: 112px;
    height: 112px;
  }

  .playback-panel {
    flex-basis: 130px;
    padding-left: 15px;
  }

  .playback-panel h2 {
    font-size: 14px;
  }

  .playback-panel p {
    font-size: 9px;
  }

  .layers-panel {
    width: 180px;
    bottom: 280px;
  }

  .map-bottom {
    bottom: 255px;
  }

  .compass {
    bottom: 290px;
  }

  .object-label {
    top: 29%;
  }

  .nav-collapsed .layers-panel, body:not(.nav-collapsed) .layers-panel, body:not(.nav-collapsed) .map-bottom {
    left: 18px;
  }
}

@media (max-width: 480px) {
  .rotary-console {
    gap: 20px;
    padding: 16px;
  }

  .knob-section {
    flex: 1;
  }

  .rotary {
    width: 116px;
    height: 116px;
  }

  .playback-panel {
    border-top: 1px solid #334158;
    border-left: 0;
    flex-basis: 100%;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 13px 0 0;
    display: grid;
  }

  .playback-panel > .eyebrow, .playback-panel > p, .playback-panel .timeline-foot {
    display: none;
  }

  .playback-panel h2 {
    margin: 0;
    font-size: 13px;
  }

  .playback-buttons {
    grid-area: 1 / 2 / 3;
    margin: 0;
  }

  .playback-panel .speed-label {
    justify-content: flex-start;
  }

  .playback-panel .speed-label select {
    padding: 3px;
  }

  .layers-panel {
    bottom: 340px;
  }

  .map-bottom {
    bottom: 317px;
  }

  .map-bottom > span:last-child {
    text-align: right;
    max-width: 165px;
  }

  .compass {
    bottom: 350px;
  }

  .object-label {
    top: 27%;
    left: 35%;
  }

  .map-tools {
    top: 100px;
  }
}

.rotary-console {
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: none;
  border: 0;
  padding: 0;
  display: contents;
  position: static;
}

.rotary-console .knob-section {
  gap: 0;
  display: block;
  position: absolute;
}

.rotary-console .time-section {
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
}

.rotary-console .zoom-section {
  top: 43%;
  right: 20px;
  transform: translateY(-50%);
}

.rotary-console .rotary {
  width: 320px;
  height: 320px;
  box-shadow: none;
  color: #c48d87;
  isolation: isolate;
  background: none;
  border: 0;
  border-radius: 50%;
}

.rotary-console .rotary:before {
  box-shadow: none;
  background: none;
  border: 1px dashed #c0807325;
  inset: 56px;
}

.rotary-console .zoom-rotary {
  color: #85abd1;
  width: 200px;
  height: 200px;
}

.scope-scale {
  width: 100%;
  height: 100%;
  transform: rotate(calc(0deg - var(--angle)));
  filter: drop-shadow(0 0 3px #000);
  pointer-events: none;
  transition: transform .16s ease-out;
  display: block;
  overflow: visible;
}

.scope-scale text {
  fill: currentColor;
  letter-spacing: 1px;
  font-family: DM Sans, sans-serif;
  font-size: 9px;
}

.zoom-rotary .scope-scale text {
  letter-spacing: 0;
  font-size: 14px;
}

.scope-index {
  pointer-events: none;
  background: #ff8d7e;
  border-radius: 2px;
  width: 4px;
  height: 24px;
  position: absolute;
  top: 0;
  left: calc(50% - 2px);
  box-shadow: 0 0 13px #f7776555;
}

.zoom-rotary .scope-index {
  background: #9dcfff;
  height: 16px;
  box-shadow: 0 0 13px #70b4ff55;
}

.scope-index:after {
  content: "";
  border-top: 6px solid #ff8d7e;
  border-left: 5px solid #0000;
  border-right: 5px solid #0000;
  position: absolute;
  top: 30px;
  left: -3px;
}

.zoom-rotary .scope-index:after {
  border-top-color: #9dcfff;
  top: 21px;
}

.rotary-console .knob-value {
  color: #f1e3df;
  text-shadow: 0 2px 8px #000;
  z-index: 2;
  flex-direction: column;
  gap: 8px;
  font-size: 22px;
}

.rotary-console .knob-value small {
  letter-spacing: 2px;
  color: #a88480;
  margin: 0;
  font-family: DM Sans, sans-serif;
  font-size: 8px;
}

.rotary-console .knob-value b {
  font-weight: 400;
}

.rotary-console .zoom-rotary .knob-value {
  color: #d4e7ff;
  font-size: 22px;
}

.rotary-console .zoom-rotary .knob-value small {
  color: #829fbc;
}

.rotary-console .playback-panel {
  white-space: nowrap;
  background: none;
  border: 0;
  align-items: center;
  gap: 18px;
  padding: 0;
  display: flex;
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
}

.rotary-console .playback-panel > .eyebrow, .rotary-console .playback-panel > h2, .rotary-console .playback-panel > p, .rotary-console .timeline-foot {
  display: none;
}

.rotary-console .playback-buttons {
  gap: 13px;
  margin: 0;
}

.rotary-console .playback-buttons > button:not(.play):not(.loop) {
  color: #9bafc7;
  background: none;
}

.rotary-console .play {
  background: #d9524799;
  border: 1px solid #f58875;
  width: 37px;
  height: 37px;
}

.rotary-console .speed-label {
  font-size: 9px;
}

.rotary-console .speed-label select {
  background: #10203980;
  border-color: #3a506880;
}

.layers-panel, .nav-collapsed .layers-panel {
  bottom: 45px;
  left: 25px;
}

.map-bottom {
  bottom: 17px;
  left: 25px;
  right: 25px;
}

.compass {
  bottom: 45px;
  right: 36px;
}

body:not(.nav-collapsed) .layers-panel, body:not(.nav-collapsed) .map-bottom {
  left: 375px;
}

@media (max-width: 1050px) {
  .rotary-console .time-section {
    left: 48%;
  }

  .rotary-console .time-section .rotary {
    width: 290px;
    height: 290px;
  }

  .rotary-console .zoom-section {
    top: 40%;
    right: 12px;
  }

  .rotary-console .zoom-rotary {
    width: 170px;
    height: 170px;
  }

  .layers-panel {
    width: 180px;
  }
}

@media (max-width: 700px) {
  .rotary-console .time-section {
    bottom: 68px;
    left: 50%;
  }

  .rotary-console .time-section .rotary {
    width: 280px;
    height: 280px;
  }

  .rotary-console .zoom-section {
    top: 29%;
    right: 8px;
    transform: none;
  }

  .rotary-console .zoom-rotary {
    width: 150px;
    height: 150px;
  }

  .rotary-console .zoom-rotary .knob-value {
    font-size: 18px;
  }

  .rotary-console .playback-panel {
    border: 0;
    flex-basis: auto;
    gap: 10px;
    padding: 0;
    display: flex;
    bottom: 18px;
    left: 50%;
  }

  .rotary-console .playback-buttons {
    gap: 8px;
    display: flex;
  }

  .layers-panel, .nav-collapsed .layers-panel, body:not(.nav-collapsed) .layers-panel {
    width: 165px;
    bottom: 380px;
    left: 14px;
  }

  .map-bottom, body:not(.nav-collapsed) .map-bottom {
    font-size: 6px;
    bottom: 4px;
    left: 14px;
  }

  .compass {
    bottom: 80px;
    right: 18px;
  }

  .rotary-console .knob-value {
    font-size: 20px;
  }

  .object-label {
    top: 26%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scope-scale {
    transition: none;
  }
}

.layers-panel, .nav-collapsed .layers-panel, body:not(.nav-collapsed) .layers-panel {
  z-index: 7;
  background: none;
  border: 0;
  border-radius: 9px;
  width: 120px;
  padding: 0;
  position: absolute;
  bottom: 30px;
  left: 18px;
}

.layers-panel > #layers-toggle {
  background: #142339ed;
  border: 1px solid #435671;
  border-radius: 9px;
  align-items: center;
  height: 47px;
  padding: 0 14px;
  font-size: 12px;
  box-shadow: 0 5px 20px #0005;
}

.layers-panel > #layers-toggle:hover, .layers-panel > #layers-toggle[aria-expanded="true"] {
  background: #213853;
  border-color: #7299c6;
}

.layers-panel #layers-content {
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background: #101e31f5;
  border: 1px solid #415775;
  border-radius: 14px;
  width: 345px;
  max-width: calc(100vw - 36px);
  padding: 24px;
  position: absolute;
  bottom: 60px;
  left: 0;
  box-shadow: 0 18px 60px #0009;
}

.layer-panel-heading {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.layer-panel-heading .eyebrow {
  color: #8ca7ca;
  font-size: 8px;
}

.layer-panel-heading h2 {
  margin-top: 8px;
  font-size: 23px;
}

.layer-panel-heading button {
  color: #b9cbe0;
  background: #22354c;
  border-radius: 50%;
  width: 29px;
  height: 29px;
  font-size: 20px;
}

.layer-description {
  color: #8fa3be;
  margin: 14px 0 20px;
  font-size: 11px;
  line-height: 1.6;
}

.layers-panel #layers-content label {
  cursor: pointer;
  border-top: 1px solid #2a3c54;
  gap: 12px;
  margin: 0;
  padding: 16px 0;
}

.layers-panel #layers-content input {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
}

.layers-panel #layers-content .layer-dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  margin: 0;
}

.layers-panel label strong {
  color: #d8e4f4;
  font-size: 12px;
  font-weight: 500;
  display: block;
}

.layers-panel label small {
  color: #8a9fb9;
  margin-top: 5px;
  font-size: 10px;
  line-height: 1.5;
  display: block;
}

.layer-panel-note {
  color: #728ba9;
  letter-spacing: .3px;
  border-top: 1px solid #2a3c54;
  padding-top: 15px;
  font-size: 9px;
}

@media (max-width: 700px) {
  .layers-panel, .nav-collapsed .layers-panel, body:not(.nav-collapsed) .layers-panel {
    width: 105px;
    bottom: 25px;
    left: 12px;
  }

  .layers-panel > #layers-toggle {
    height: 42px;
    padding: 0 10px;
    font-size: 11px;
  }

  .layers-panel #layers-content {
    max-width: calc(100vw - 24px);
    padding: 20px;
    bottom: 54px;
  }
}

.rotary-console .time-section {
  --time-size: max(920px,115vh);
  width: var(--time-size);
  height: var(--time-size);
  left: calc(var(--time-size) * -.43);
  bottom: calc(var(--time-size) * -.43);
  pointer-events: none;
  z-index: 2;
  position: absolute;
  transform: none;
}

.rotary-console .time-section #time-knob {
  pointer-events: none;
  cursor: ew-resize;
  isolation: auto;
  width: 100%;
  height: 100%;
}

.time-section .scope-scale {
  pointer-events: none;
  filter: drop-shadow(0 0 6px #000);
  color: #ba847c;
  transition: transform .12s ease-out;
}

.time-section .scope-scale line, .time-section .scope-scale text, .time-section .scope-scale circle {
  pointer-events: stroke;
  cursor: ew-resize;
}

.time-section .scope-scale text {
  letter-spacing: .45px;
  pointer-events: all;
  font-size: 4px;
}

.rotary-console .time-section .rotary:before {
  display: none;
}

.rotary-console .time-section .scope-index {
  width: 3px;
  height: 35px;
  transform-origin: 50% calc(var(--time-size) * .37);
  background: #ff9a87;
  top: 13%;
  left: calc(50% - 2px);
  transform: rotate(45deg);
}

.rotary-console .time-section .scope-index:after {
  top: 43px;
}

.rotary-console .time-section .knob-value {
  inset: auto;
  left: calc(var(--time-size) * .43 + 32px);
  bottom: calc(var(--time-size) * .43 + 100px);
  background: linear-gradient(90deg, #08111de6, #0000);
  border-left: 2px solid #e78c79;
  align-items: flex-start;
  gap: 7px;
  padding: 12px 16px;
  font-size: 25px;
  position: fixed;
}

.rotary-console .time-section .knob-value small {
  letter-spacing: 2px;
  font-size: 9px;
}

.rotary-console .playback-panel {
  z-index: 4;
  bottom: 33px;
  left: 180px;
  transform: none;
}

.layers-panel, .nav-collapsed .layers-panel, body:not(.nav-collapsed) .layers-panel {
  z-index: 7;
  bottom: 30px;
}

.rotary-console .zoom-section {
  z-index: 3;
}

.map-tools, .map-top, .search-dock {
  z-index: 4;
}

.map-bottom {
  pointer-events: none;
}

.rotary-console .time-section #time-knob:focus-visible {
  outline: none;
}

.rotary-console .time-section #time-knob:focus-visible .scope-scale {
  filter: drop-shadow(0 0 5px #ff9a87);
}

@media (max-width: 700px) {
  .rotary-console .time-section {
    --time-size: max(760px,110vh);
    left: calc(var(--time-size) * -.49);
    bottom: calc(var(--time-size) * -.46);
  }

  .rotary-console .time-section .knob-value {
    left: calc(var(--time-size) * .49 + 22px);
    bottom: calc(var(--time-size) * .46 + 100px);
    font-size: 22px;
  }

  .rotary-console .playback-panel {
    gap: 8px;
    bottom: 28px;
    left: 135px;
    transform: none;
  }

  .rotary-console .playback-buttons {
    gap: 7px;
  }

  .rotary-console .playback-panel .speed-label {
    font-size: 0;
  }

  .rotary-console .playback-panel .speed-label select {
    margin-left: 0;
    font-size: 10px;
  }

  .time-section .scope-scale text {
    font-size: 4.5px;
  }

  .rotary-console .time-section .scope-index {
    top: 13%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .time-section .scope-scale {
    transition: none;
  }
}

.rotary-console .time-section .knob-value {
  position: absolute;
}

.rotary-console .time-section .scope-index {
  transform: none;
}

.rotary-console .time-section {
  pointer-events: auto;
  z-index: 3;
  background: linear-gradient(#0c1724e6, #101d2df5);
  border-top: 1px solid #3d4a5b;
  width: 100%;
  height: 156px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  transform: none;
}

.time-ruler {
  --slot: 0;
  cursor: ew-resize;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  position: absolute;
  inset: 0;
}

.time-ruler:active {
  cursor: grabbing;
}

.ruler-window {
  height: 76px;
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #0000, #000 8% 92%, #0000);
  mask-image: linear-gradient(90deg, #0000, #000 8% 92%, #0000);
}

.time-scale {
  width: 800px;
  height: 70px;
  transform: translateX(calc(var(--slot) * -160px));
  will-change: transform;
  position: absolute;
  top: 0;
  left: 50%;
}

.ruler-tick {
  border-left: 1px solid #687e99;
  height: 14px;
  position: absolute;
  top: 6px;
}

.ruler-tick.medium {
  border-color: #9ba9bd;
  height: 23px;
}

.ruler-tick.major {
  border-left: 2px solid #e19a8e;
  height: 32px;
}

.ruler-tick > span {
  white-space: nowrap;
  letter-spacing: 1.5px;
  color: #c4b5b5;
  font-size: 10px;
  position: absolute;
  top: 43px;
  left: 0;
  transform: translateX(-50%);
}

.ruler-index {
  background: #ff8d7e;
  width: 2px;
  height: 42px;
  position: absolute;
  top: 0;
  left: calc(50% - 1px);
  box-shadow: 0 0 10px #ff85777a;
}

.ruler-index:after {
  content: "";
  border-top: 7px solid #ff8d7e;
  border-left: 5px solid #0000;
  border-right: 5px solid #0000;
  position: absolute;
  top: -1px;
  left: -4px;
}

.time-readout {
  pointer-events: none;
  color: #f5d7d1;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-family: Space Grotesk, sans-serif;
  font-size: 17px;
  display: flex;
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
}

.time-readout small {
  letter-spacing: 2px;
  color: #8fa1b7;
  font-family: DM Sans, sans-serif;
  font-size: 8px;
}

.time-readout b {
  font-weight: 400;
}

.time-ruler:focus-visible {
  outline-offset: -4px;
  outline: 2px solid #92bdf5;
}

.rotary-console .playback-panel {
  z-index: 4;
  gap: 14px;
  bottom: 17px;
  left: auto;
  right: 24px;
  transform: none;
}

.layers-panel, .nav-collapsed .layers-panel, body:not(.nav-collapsed) .layers-panel {
  z-index: 7;
  bottom: 20px;
  left: 18px;
}

.map-bottom, body:not(.nav-collapsed) .map-bottom {
  bottom: 171px;
  left: 18px;
  right: 18px;
}

.rotary-console .zoom-section {
  top: 43%;
  right: 20px;
}

.rotary-console .playback-panel .speed-label {
  font-size: 9px;
}

@media (max-width: 700px) {
  .rotary-console .time-section {
    width: 100%;
    height: 175px;
    bottom: 0;
    left: 0;
  }

  .rotary-console .playback-panel {
    gap: 7px;
    bottom: 12px;
    left: auto;
    right: 12px;
    transform: none;
  }

  .rotary-console .playback-buttons {
    gap: 5px;
  }

  .rotary-console .playback-panel .speed-label {
    font-size: 0;
  }

  .rotary-console .playback-panel .speed-label select {
    font-size: 10px;
  }

  .time-readout {
    gap: 4px;
    font-size: 15px;
    bottom: 66px;
  }

  .ruler-window {
    top: 8px;
  }

  .layers-panel, .nav-collapsed .layers-panel, body:not(.nav-collapsed) .layers-panel {
    bottom: 14px;
    left: 12px;
  }

  .map-bottom, body:not(.nav-collapsed) .map-bottom {
    bottom: 185px;
  }

  .compass {
    bottom: 205px;
  }

  .rotary-console .zoom-section {
    top: 31%;
    right: 8px;
  }
}

.rotary-console .time-section {
  background: none;
  border-top: 0;
}

.ruler-window {
  height: 100%;
  top: 0;
  -webkit-mask-image: none;
  mask-image: none;
}

.ruler-index {
  pointer-events: none;
  background: #ff9b87;
  height: 100%;
  top: 0;
  bottom: 0;
  box-shadow: 0 0 12px #ff857744;
}

.ruler-index:after {
  top: 0;
}

.time-readout {
  z-index: 1;
  background: #07111f80;
  border-radius: 5px;
  padding: 5px 10px;
}

.rotary-console .play, .rotary-console .playback-panel .speed-label select {
  background: none;
}

.layers-panel > #layers-toggle, .layers-panel > #layers-toggle:hover, .layers-panel > #layers-toggle[aria-expanded="true"] {
  box-shadow: none;
  background: none;
}

.layers-panel > #layers-toggle {
  text-shadow: 0 1px 5px #000;
}

.time-readout {
  text-shadow: 0 1px 6px #000, 0 0 12px #07111f;
  background: none;
}

.ruler-tick > span {
  text-shadow: 0 1px 5px #000;
}

.time-readout > span, .time-readout > small {
  background: #07111f00;
}

.rotary-console .time-section .time-ruler {
  background: none;
}

.rotary-console .playback-panel {
  justify-content: center;
  gap: 15px;
  bottom: 13px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}

.time-readout {
  gap: 4px;
  padding: 3px 10px;
  font-size: 16px;
  bottom: 65px;
}

.rotary-console .playback-panel .playback-buttons {
  margin: 0;
}

.rotary-console .playback-panel .speed-label {
  font-size: 9px;
  display: flex;
}

.rotary-console .playback-panel .speed-label select {
  margin-left: 7px;
}

.ruler-tick > span {
  top: 35px;
}

.time-scale {
  top: 6px;
}

.time-readout small {
  font-size: 7px;
}

@media (max-width: 700px) {
  .rotary-console .playback-panel {
    gap: 10px;
    bottom: 14px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .time-readout {
    font-size: 15px;
    bottom: 66px;
  }

  .rotary-console .playback-panel .speed-label {
    font-size: 0;
  }

  .rotary-console .playback-panel .speed-label select {
    margin-left: 0;
    font-size: 10px;
  }

  .layers-panel, .nav-collapsed .layers-panel, body:not(.nav-collapsed) .layers-panel {
    bottom: 185px;
  }
}

.time-scale {
  overflow: visible;
}

.ruler-tick.outside-range {
  opacity: .65;
  border-color: #65778e;
}

.ruler-tick.outside-range.major {
  border-color: #91a3bb;
  height: 27px;
}

.ruler-tick.range-end {
  filter: drop-shadow(0 0 4px #f8886b55);
  border-left: 2px solid #ffae94;
  height: 38px;
}

.ruler-tick.range-end:before {
  content: "";
  background: #ffae94;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  position: absolute;
  top: -1px;
  left: -4px;
}

.ruler-tick.range-end > span {
  color: #ffd3c3;
  top: 42px;
}

.ruler-tick.range-end small {
  text-align: center;
  color: #a99391;
  letter-spacing: 2px;
  margin-top: 5px;
  font-size: 7px;
  display: block;
}

.rotary-console .zoom-section {
  pointer-events: auto;
  width: 112px;
  height: 280px;
  position: absolute;
  top: 42%;
  right: 16px;
  transform: translateY(-50%);
}

.zoom-ruler {
  cursor: ns-resize;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  background: none;
  position: absolute;
  inset: 0;
}

.zoom-ruler:active {
  cursor: grabbing;
}

.zoom-ruler:focus-visible {
  outline-offset: 4px;
  border-radius: 8px;
  outline: 2px solid #89baff;
}

.zoom-ruler-window {
  position: absolute;
  inset: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#0000, #000 10% 90%, #0000);
  mask-image: linear-gradient(#0000, #000 10% 90%, #0000);
}

#zoom-scale {
  width: 65px;
  height: 340px;
  transform: translateY(calc(var(--zoom-offset) * -1px));
  will-change: transform;
  position: absolute;
  top: 50%;
  right: 0;
}

.zoom-tick {
  border-top: 1px solid #7089a6;
  width: 13px;
  position: absolute;
  right: 0;
}

.zoom-tick.major {
  border-color: #a4c4e7;
  width: 24px;
}

.zoom-tick > span {
  white-space: nowrap;
  color: #b1c9e5;
  text-shadow: 0 1px 5px #000;
  font-size: 10px;
  position: absolute;
  top: 0;
  right: 32px;
  transform: translateY(-50%);
}

.zoom-tick.range-end {
  border-top: 2px solid #9dcfff;
  width: 31px;
}

.zoom-tick.range-end:after {
  content: "";
  background: #9dcfff;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  position: absolute;
  top: -4px;
  right: 0;
}

.zoom-tick small {
  letter-spacing: 1.5px;
  color: #7e9aba;
  margin-top: 3px;
  font-size: 6px;
  display: block;
}

.zoom-tick.outside-range {
  opacity: .5;
}

.zoom-index {
  background: #aad7ff;
  width: 41px;
  height: 2px;
  position: absolute;
  top: 50%;
  right: 0;
  box-shadow: 0 0 9px #7ebcff70;
}

.zoom-index:after {
  content: "";
  border-top: 5px solid #0000;
  border-bottom: 5px solid #0000;
  border-right: 7px solid #aad7ff;
  position: absolute;
  top: -4px;
  right: 0;
}

.zoom-readout {
  color: #e1efff;
  text-shadow: 0 1px 7px #000;
  pointer-events: none;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-family: Space Grotesk, sans-serif;
  font-size: 19px;
  display: flex;
  position: absolute;
  top: 50%;
  right: 52px;
  transform: translateY(-50%);
}

.zoom-readout small {
  letter-spacing: 2px;
  color: #8faac7;
  font-family: DM Sans, sans-serif;
  font-size: 7px;
}

.zoom-readout {
  right: 78px;
}

.zoom-ruler-window {
  left: -12px;
}

.rotary-console .zoom-section {
  width: 138px;
}

@media (max-width: 700px) {
  .rotary-console .zoom-section {
    width: 120px;
    height: 220px;
    top: 35%;
    right: 10px;
    transform: translateY(-50%);
  }

  .zoom-readout {
    font-size: 16px;
    right: 75px;
  }
}

@media (max-width: 700px) {
  .rotary-console .zoom-section {
    right: 28px;
  }
}

.rotary-console .zoom-section {
  right: 110px;
}

@media (max-width: 700px) {
  .rotary-console .zoom-section {
    right: 65px;
  }
}

.rotary-console .half-section {
  pointer-events: auto;
  z-index: 3;
  background: none;
  border: 0;
  height: auto;
  position: absolute;
  bottom: 58px;
  overflow: visible;
  transform: none;
}

.rotary-console .time-section.half-section {
  width: 400px;
  height: 223px;
  left: calc(50% - 330px);
  right: auto;
}

.rotary-console .speed-section.half-section {
  width: 250px;
  height: 139px;
  left: calc(50% + 95px);
}

.rotary-console .time-section #time-knob, .half-dial {
  pointer-events: auto;
  cursor: grab;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  width: 100%;
  height: 100%;
  box-shadow: none;
  color: #e3a395;
  background: none;
  border-radius: 0;
  position: relative;
  inset: auto;
}

.half-dial:active {
  cursor: grabbing;
}

.half-dial svg {
  pointer-events: none;
  filter: drop-shadow(0 1px 4px #000);
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.half-dial text {
  fill: currentColor;
  letter-spacing: .4px;
  font: 9px DM Sans, sans-serif;
}

.half-indicator {
  color: #ff9d86;
}

.half-readout {
  white-space: nowrap;
  pointer-events: none;
  color: #f6d8d0;
  text-shadow: 0 1px 7px #000;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font: 19px Space Grotesk, sans-serif;
  display: flex;
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
}

.half-readout small {
  letter-spacing: 1.7px;
  color: #a19da5;
  font: 8px DM Sans, sans-serif;
}

.half-readout b {
  font-weight: 400;
}

.speed-section .half-indicator {
  color: #b0d6ff;
}

.speed-section .half-readout {
  color: #d8eaff;
  font-size: 22px;
}

.half-dial:focus-visible {
  outline-offset: 5px;
  border-radius: 180px 180px 6px 6px;
  outline: 2px solid #a0c8ff;
}

@media (max-width: 850px) {
  .rotary-console .time-section.half-section {
    width: 310px;
    height: 172px;
    left: calc(50% - 255px);
  }

  .rotary-console .speed-section.half-section {
    width: 190px;
    height: 106px;
    left: calc(50% + 70px);
  }

  .half-readout {
    font-size: 16px;
  }

  .half-readout small {
    font-size: 7px;
  }

  .map-bottom, body:not(.nav-collapsed) .map-bottom {
    bottom: 245px;
  }
}

@media (max-width: 550px) {
  .rotary-console .time-section.half-section {
    aspect-ratio: 1.8;
    width: 60%;
    height: auto;
    bottom: 72px;
    left: 8px;
  }

  .rotary-console .speed-section.half-section {
    aspect-ratio: 1.8;
    width: 34%;
    height: auto;
    bottom: 72px;
    left: auto;
    right: 8px;
  }

  .half-readout {
    gap: 3px;
    font-size: 13px;
    bottom: 0;
  }

  .half-readout small {
    letter-spacing: .8px;
    font-size: 6px;
  }

  .speed-section .half-readout {
    font-size: 16px;
  }

  .speed-section .half-readout small {
    font-size: 5px;
  }

  .rotary-console .playback-panel {
    bottom: 16px;
  }

  .layers-panel, .nav-collapsed .layers-panel, body:not(.nav-collapsed) .layers-panel {
    bottom: 230px;
  }

  .map-bottom, body:not(.nav-collapsed) .map-bottom {
    bottom: 212px;
  }

  .half-dial text {
    letter-spacing: 0;
    font-size: 11px;
  }
}

.half-dial svg {
  clip-path: inset(0);
  overflow: hidden;
}

.lens-ring {
  transform-origin: 180px 180px;
  transform: rotate(var(--ring-angle, 0deg));
  will-change: transform;
  transition: transform .26s cubic-bezier(.2, .8, .2, 1);
}

.half-dial.is-turning .lens-ring {
  transition: none;
}

.half-dial .half-indicator {
  filter: drop-shadow(0 0 4px #f975);
}

.speed-section .half-indicator {
  filter: drop-shadow(0 0 4px #9acaff55);
}

.half-dial.is-turning {
  cursor: grabbing;
}

.half-dial .half-readout {
  bottom: 0;
}

.half-dial text {
  font-size: 9px;
}

@media (prefers-reduced-motion: reduce) {
  .lens-ring {
    transition: none;
  }
}

.rotary-console .time-section.half-section {
  aspect-ratio: 1.8;
  pointer-events: none;
  width: min(900px, 100% - 48px);
  height: auto;
  bottom: 12px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}

.rotary-console .time-section #time-knob, .rotary-console .time-section #time-knob svg {
  pointer-events: none;
}

.rotary-console .time-section #time-knob .lens-ring line, .rotary-console .time-section #time-knob .lens-ring text, .rotary-console .time-section #time-knob .lens-ring circle {
  pointer-events: stroke;
  cursor: grab;
}

.rotary-console .time-section #time-knob .lens-ring text {
  pointer-events: all;
}

.rotary-console .time-section .half-readout small {
  letter-spacing: 2px;
  font-size: 9px;
}

.rotary-console .speed-section.half-section {
  aspect-ratio: 1.8;
  z-index: 4;
  width: 210px;
  height: auto;
  bottom: 52px;
  left: calc(50% + 95px);
  right: auto;
}

.rotary-console .playback-panel {
  z-index: 4;
  bottom: 52px;
  left: calc(50% - 90px);
  right: auto;
  transform: translateX(-50%);
}

.map-bottom, body:not(.nav-collapsed) .map-bottom {
  bottom: 18px;
}

@media (max-width: 1050px) {
  .rotary-console .time-section.half-section {
    width: calc(100% - 36px);
  }

  .rotary-console .speed-section.half-section {
    width: 170px;
    bottom: 44px;
    left: calc(50% + 65px);
  }

  .rotary-console .playback-panel {
    bottom: 44px;
    left: calc(50% - 75px);
  }

  .rotary-console .time-section .half-readout {
    font-size: 22px;
    bottom: 22%;
  }
}

@media (max-width: 700px) {
  .rotary-console .time-section.half-section {
    aspect-ratio: 1.8;
    width: calc(100% - 16px);
    bottom: 18px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .rotary-console .time-section .half-readout {
    gap: 4px;
    font-size: 17px;
    bottom: 25%;
  }

  .rotary-console .time-section .half-readout small {
    letter-spacing: 1px;
    font-size: 7px;
  }

  .rotary-console .speed-section.half-section {
    aspect-ratio: 1.8;
    width: 125px;
    bottom: 36px;
    left: calc(50% + 32px);
    right: auto;
  }

  .rotary-console .speed-section .half-readout {
    font-size: 16px;
  }

  .rotary-console .speed-section .half-readout small {
    font-size: 5px;
  }

  .rotary-console .playback-panel {
    gap: 5px;
    bottom: 36px;
    left: calc(50% - 65px);
  }

  .rotary-console .playback-buttons {
    gap: 3px;
  }

  .rotary-console .playback-buttons > button:not(.play):not(.loop) {
    width: 21px;
  }

  .rotary-console .play {
    width: 32px;
    height: 32px;
  }

  .layers-panel, .nav-collapsed .layers-panel, body:not(.nav-collapsed) .layers-panel {
    bottom: 260px;
  }

  .map-bottom, body:not(.nav-collapsed) .map-bottom {
    bottom: 5px;
  }
}

.half-dial svg {
  clip-path: polygon(50% 90%, 0 38%, 0 0, 100% 0, 100% 38%);
}

.rotary-console .time-section.half-section {
  aspect-ratio: 1.8;
  width: min(620px, 100% - 32px);
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.rotary-console .speed-section.half-section {
  aspect-ratio: 1.8;
  width: 240px;
  bottom: 54px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}

.rotary-console .speed-section .half-readout {
  font-size: 20px;
  bottom: 12%;
}

.rotary-console .playback-panel {
  bottom: 20px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}

.rotary-console .speed-section .half-readout small {
  font-size: 7px;
}

.layers-panel, .nav-collapsed .layers-panel, body:not(.nav-collapsed) .layers-panel {
  bottom: 35px;
}

@media (max-width: 700px) {
  .rotary-console .time-section.half-section {
    width: calc(100% - 20px);
    bottom: 12px;
  }

  .rotary-console .time-section .half-readout {
    gap: 3px;
    font-size: 16px;
    bottom: 43%;
  }

  .rotary-console .time-section .half-readout small {
    font-size: 6px;
  }

  .rotary-console .speed-section.half-section {
    width: 38%;
    bottom: 47px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .rotary-console .speed-section .half-readout {
    gap: 3px;
    font-size: 15px;
    bottom: 2%;
  }

  .rotary-console .speed-section .half-readout small {
    font-size: 5px;
  }

  .rotary-console .playback-panel {
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
  }

  .layers-panel, .nav-collapsed .layers-panel, body:not(.nav-collapsed) .layers-panel {
    bottom: 240px;
  }
}

.rotary-console .time-section.half-section {
  width: min(500px, 100% - 40px);
}

.rotary-console .speed-section.half-section {
  width: 160px;
  bottom: 48px;
}

.rotary-console .time-section .half-readout {
  font-size: 17px;
  bottom: 43%;
}

.rotary-console .speed-section .half-readout {
  gap: 3px;
  font-size: 16px;
  bottom: 3%;
}

.rotary-console .speed-section .half-readout small {
  letter-spacing: 1px;
  font-size: 5px;
}

@media (max-width: 700px) {
  .rotary-console .time-section.half-section {
    width: min(400px, 100% - 36px);
  }

  .rotary-console .speed-section.half-section {
    width: 120px;
    bottom: 45px;
  }

  .rotary-console .time-section .half-readout {
    font-size: 14px;
  }

  .rotary-console .speed-section .half-readout {
    font-size: 13px;
  }

  .rotary-console .speed-section .half-readout small {
    font-size: 4px;
  }
}

.rotary-console .half-section, .rotary-console .time-section #time-knob, .rotary-console .half-dial {
  pointer-events: none;
}

.rotary-console .half-dial svg, .rotary-console .time-section #time-knob svg {
  pointer-events: none;
  clip-path: none;
  overflow: visible;
}

.rotary-console .half-dial .dial-hit-area {
  pointer-events: stroke;
  cursor: grab;
  touch-action: none;
}

.rotary-console .half-dial.is-turning .dial-hit-area {
  cursor: grabbing;
}

.rotary-console .half-dial .half-indicator {
  pointer-events: none;
}

.rotary-console .half-dial .lens-ring line, .rotary-console .half-dial .lens-ring text, .rotary-console .half-dial .lens-ring circle {
  pointer-events: none !important;
}

.rotary-console .half-dial:has(.dial-hit-area:hover) .half-indicator {
  filter: drop-shadow(0 0 7px);
}

.rotary-console .half-dial .lens-ring {
  clip-path: none;
}

.rotary-console .zoom-section {
  aspect-ratio: 1.8;
  width: 210px;
  height: auto;
  top: 43%;
  right: 95px;
  transform: translateY(-50%);
}

.zoom-section .half-dial {
  color: #91b8e5;
  width: 100%;
  height: 100%;
}

.zoom-section .half-indicator {
  color: #b1d8ff;
}

.zoom-section .half-readout {
  color: #deedff;
  font-size: 19px;
  bottom: 2%;
}

.zoom-section .half-readout small {
  color: #8da9c7;
  font-size: 7px;
}

.zoom-section .lens-ring text {
  font-size: 10px;
}

.zoom-section .half-dial svg {
  clip-path: none;
}

@media (max-width: 700px) {
  .rotary-console .zoom-section {
    width: 155px;
    height: auto;
    top: 35%;
    right: 35px;
    transform: translateY(-50%);
  }

  .zoom-section .half-readout {
    font-size: 15px;
  }

  .zoom-section .half-readout small {
    font-size: 6px;
  }
}

.rotary-console .half-dial:focus:not(:focus-visible), .rotary-console .half-dial.is-turning:focus, .rotary-console .half-dial.is-turning:focus-visible {
  box-shadow: none;
  outline: none;
}

.search-dock {
  background: linear-gradient(135deg, #18283cf2, #101d30f2);
  border: 1px solid #3c4c62;
  border-radius: 12px;
  transition: border-color .18s, box-shadow .18s;
  box-shadow: 0 7px 24px #0004, inset 0 1px #ffffff08;
}

.search-dock:focus-within {
  border-color: #8fa7c2;
  box-shadow: 0 7px 24px #0004, 0 0 0 2px #9eb5d414;
}

.search-dock input, .search-dock input:focus, .search-dock input:focus-visible, .search-box input, .search-box input:focus, .search-box input:focus-visible {
  box-shadow: none;
  background: none;
  border: 0;
  border-radius: 0;
  outline: none;
}

.search-dock input {
  letter-spacing: .1px;
  color: #e8eff9;
  padding: 10px 12px;
  font-size: 12px;
}

.search-dock input::placeholder, .search-box input::placeholder {
  color: #8fa1ba;
  opacity: 1;
}

.search-dock > button {
  color: #b2c4dc;
  border-right-color: #35465f;
  border-radius: 7px 0 0 7px;
}

.search-dock form button {
  color: #bccfe8;
  border-radius: 8px;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  margin-right: 2px;
  padding: 0;
  transition: background .18s, color .18s;
}

.search-dock form button:hover {
  color: #fff;
  background: #2b405a;
}

.search-box {
  background: linear-gradient(135deg, #16263a, #111e30);
  border-radius: 9px;
  transition: border-color .18s, box-shadow .18s;
}

.search-box:focus-within {
  border-color: #8fa7c2;
  box-shadow: 0 0 0 2px #9eb5d414;
}

.search-box button {
  color: #c1d2e8;
  background: #253a53;
  border-radius: 5px;
  padding: 2px 6px;
}

.sidebar {
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  scrollbar-width: thin;
  scrollbar-color: #344d6d transparent;
  z-index: 5;
  background: linear-gradient(165deg, #132137f5, #0b1525fa 58%);
  border-right: 1px solid #3a4e6a;
  width: 354px;
  padding: 91px 22px 22px;
  transition: transform .24s, visibility .24s;
  box-shadow: 18px 0 60px #0006;
}

.nav-collapsed .sidebar {
  transform: translateX(-102%);
}

.sidebar .intro {
  padding: 0 3px 10px;
}

.sidebar .intro .eyebrow {
  letter-spacing: 1.8px;
  font-size: 8px;
}

.sidebar h1 {
  letter-spacing: -1px;
  margin: 13px 0;
  font-size: 32px;
  line-height: 1.2;
}

.sidebar .intro p {
  margin: 12px 0 16px;
  font-size: 11px;
}

.sidebar #search-form {
  background: #0a142366;
  border: 1px solid #2e415b;
  border-radius: 13px;
  padding: 17px 15px 10px;
}

.sidebar form > label {
  color: #c8d6e9;
  font-size: 10px;
}

.sidebar .coordinates {
  gap: 10px;
}

.sidebar .coordinates input {
  background: #14253a;
  border-color: #334b68;
  border-radius: 7px;
  padding: 10px 8px;
}

.sidebar .coordinates input:focus-visible {
  border-color: #93abc8;
  outline: none;
  box-shadow: 0 0 0 2px #9eb5d414;
}

.sidebar .primary {
  background: linear-gradient(120deg, #f05a4d, #ce3c36);
  border-color: #ef786b;
  border-radius: 8px;
  box-shadow: 0 4px 12px #c5352920;
}

.sidebar .primary:hover {
  filter: brightness(1.1);
}

.sidebar .status {
  font-size: 9px;
  line-height: 1.6;
}

.sidebar .section-label {
  color: #a0b0c6;
  margin-top: 24px;
}

.sidebar .target {
  background: #11203577;
  border-color: #23364d;
  border-radius: 10px;
  margin-bottom: 6px;
  padding: 11px 10px;
  transition: background .18s, border-color .18s;
}

.sidebar .target:hover {
  background: #22354e;
  border-color: #4a6589;
}

.sidebar .target.active {
  background: linear-gradient(110deg, #263d5b, #192a40);
  border-color: #617f9f;
  box-shadow: inset 3px 0 #e98073;
}

.sidebar .target-thumb {
  border-radius: 8px;
}

.sidebar .more-targets {
  gap: 8px;
}

.sidebar .more-targets button {
  color: #a9bed8;
  border: 1px solid #344963;
  border-radius: 6px;
  padding: 7px 9px;
  font-size: 9px;
}

.sidebar .discovery-note {
  margin-top: 22px;
  padding-top: 18px;
}

.search-dock {
  z-index: 8;
}

#nav-toggle {
  transition: background .18s, color .18s;
}

#nav-toggle:hover, #nav-toggle[aria-expanded="true"] {
  color: #fff;
  background: #334a64;
}

#nav-toggle:focus-visible {
  outline-offset: -3px;
  outline: 1px solid #adbed4;
}

.band-settings {
  background: linear-gradient(130deg, #182b43a6, #111e31b3);
  border: 1px solid #344b67;
  border-radius: 13px;
  margin-top: 17px;
  padding: 16px;
}

.band-heading {
  align-items: center;
  gap: 10px;
  display: flex;
}

.band-icon {
  color: #9dbfe8;
  background: #263d5b;
  border-radius: 7px;
  place-items: center;
  width: 32px;
  height: 35px;
  font-size: 20px;
  display: grid;
}

.band-heading h2 {
  color: #e3ecf8;
  margin: 0;
  font: 500 13px Space Grotesk, sans-serif;
}

.band-heading p {
  color: #91a6c1;
  margin: 5px 0 0;
  font-size: 9px;
}

.band-limit {
  color: #9db7d8;
  white-space: nowrap;
  border: 1px solid #405a7b;
  border-radius: 4px;
  margin-left: auto;
  padding: 4px 6px;
  font-size: 8px;
}

.band-settings > label {
  color: #b9c9df;
  justify-content: space-between;
  margin: 17px 0 8px;
  font-size: 10px;
  display: flex;
}

.band-settings > label span {
  color: #8faccf;
  font: 10px monospace;
}

.band-input-wrap {
  background: #0d1a2c;
  border: 1px solid #3b5474;
  border-radius: 8px;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 4px;
  display: flex;
}

.band-input-wrap:focus-within {
  border-color: #9bb3d1;
  box-shadow: 0 0 0 2px #a2b9d512;
}

.band-input-wrap input {
  appearance: textfield;
  color: #ecf2fa;
  text-align: center;
  background: none;
  border: 0;
  outline: none;
  flex: 1;
  width: 100%;
  min-width: 0;
  font: 18px Space Grotesk, sans-serif;
}

.band-input-wrap input::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}

.band-input-wrap input::-webkit-outer-spin-button {
  appearance: none;
  margin: 0;
}

.band-input-wrap input:focus-visible {
  outline: none;
}

.band-input-wrap > span {
  color: #819ab9;
  margin-right: 7px;
  font-size: 9px;
}

.band-input-wrap button {
  color: #c5d7ee;
  background: #213751;
  border-radius: 5px;
  flex-shrink: 0;
  width: 29px;
  height: 30px;
  font-size: 18px;
}

.band-input-wrap button:hover {
  background: #344f70;
}

.band-input-wrap button:disabled {
  opacity: .3;
  cursor: default;
}

.band-meter {
  background: #273d57;
  border-radius: 3px;
  height: 3px;
  margin-top: 13px;
  overflow: hidden;
}

.band-meter > span {
  background: linear-gradient(90deg, #4f87c9, #cf8b99, #f07f69);
  width: 100%;
  height: 100%;
  transition: width .16s;
  display: block;
}

.band-settings > p {
  color: #7891af;
  margin: 9px 0 0;
  font-size: 9px;
  line-height: 1.6;
}

.band-settings #band-status {
  color: #a6bdd8;
  font-size: 9px;
}

.band-input-wrap:has([aria-invalid="true"]) {
  border-color: #ed8b7d;
}

@media (max-width: 700px) {
  .sidebar {
    width: min(354px, 100%);
    padding: 88px 20px 22px;
  }

  .sidebar .intro h1 {
    font-size: 29px;
  }

  .sidebar .intro h1 br {
    display: none;
  }

  .sidebar .target {
    width: 100%;
  }

  .sidebar .discovery-note {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sidebar, .band-meter > span {
    transition: none;
  }
}

body:not(.nav-collapsed) .layers-panel {
  transition: left .24s;
  left: 372px;
}

.nav-collapsed .layers-panel {
  transition: left .24s;
  left: 18px;
}

.layers-panel {
  z-index: 4;
}

.sidebar {
  z-index: 5;
}

.layers-panel #layers-content {
  max-width: min(345px, 100vw - 405px);
}

@media (max-width: 700px) {
  body:not(.nav-collapsed) .layers-panel {
    visibility: hidden;
    pointer-events: none;
    left: 12px;
  }

  .nav-collapsed .layers-panel {
    visibility: visible;
    pointer-events: auto;
    left: 12px;
  }

  .layers-panel #layers-content {
    max-width: calc(100vw - 24px);
  }
}

body.nav-collapsed .layers-panel #layers-content {
  max-width: min(345px, 100vw - 36px);
}

@media (prefers-reduced-motion: reduce) {
  body:not(.nav-collapsed) .layers-panel, .nav-collapsed .layers-panel {
    transition: none;
  }
}

.sidebar {
  overscroll-behavior: contain;
  border-top: 1px solid #344b67;
  border-top-right-radius: 14px;
  height: auto;
  padding-top: 20px;
  scroll-padding-top: 20px;
  top: 84px;
  bottom: 0;
}

.search-dock {
  top: 20px;
}

@media (max-width: 700px) {
  .sidebar {
    border-top-right-radius: 12px;
    height: auto;
    padding-top: 18px;
    top: 76px;
    bottom: 0;
  }

  .search-dock {
    top: 14px;
  }
}

.band-input-wrap select {
  color: #d8e6f7;
  cursor: pointer;
  background: #0d1a2c;
  border: 0;
  border-radius: 4px;
  flex: 1;
  width: 100%;
  min-width: 0;
  height: 32px;
  padding: 0 4px;
  font-size: 11px;
}

.band-input-wrap select:focus-visible {
  outline: none;
}

.band-meter {
  border-radius: 2px;
  height: 7px;
  position: relative;
}

.band-meter:after {
  content: "";
  pointer-events: none;
  background: repeating-linear-gradient(90deg, #0000 0 calc(16.6667% - 3px), #111e31 calc(16.6667% - 3px) 16.6667%);
  position: absolute;
  inset: 0;
}

.band-meter > span {
  transition: width .15s;
}

.search-dock {
  transition: left .24s, width .24s, border-color .18s, box-shadow .18s;
}

.nav-collapsed .search-dock {
  left: 20px;
}

body:not(.nav-collapsed) .search-dock {
  width: min(314px, 100% - 390px);
  left: 372px;
}

.sidebar {
  border-top-right-radius: 14px;
  padding-top: 22px;
  top: 20px;
}

body:not(.nav-collapsed) .map-top {
  top: 84px;
}

body:not(.nav-collapsed) .map-coordinate {
  top: 137px;
}

@media (max-width: 700px) {
  .nav-collapsed .search-dock {
    width: calc(100% - 140px);
    left: 12px;
  }

  body:not(.nav-collapsed) .sidebar {
    width: 55%;
    padding: 18px 12px;
    top: 14px;
  }

  body:not(.nav-collapsed) .search-dock {
    width: calc(45% - 20px);
    left: calc(55% + 8px);
  }

  body:not(.nav-collapsed) .search-dock input {
    padding: 8px 5px;
    font-size: 10px;
  }

  body:not(.nav-collapsed) .search-dock > button {
    width: 30px;
  }

  body:not(.nav-collapsed) .search-dock form button {
    width: 23px;
    margin: 0;
    font-size: 19px;
  }

  body:not(.nav-collapsed) .sidebar .intro h1 {
    font-size: 24px;
  }

  body:not(.nav-collapsed) .sidebar #search-form {
    padding: 12px 8px;
  }

  body:not(.nav-collapsed) .sidebar .coordinates {
    flex-direction: column;
  }

  body:not(.nav-collapsed) .sidebar .coordinates label {
    width: 100%;
  }

  body:not(.nav-collapsed) .sidebar .target {
    gap: 7px;
    padding: 9px 5px;
  }

  body:not(.nav-collapsed) .sidebar .target-thumb {
    width: 28px;
    height: 30px;
  }

  body:not(.nav-collapsed) .sidebar .target strong {
    font-size: 10px;
  }

  body:not(.nav-collapsed) .sidebar .target small {
    font-size: 8px;
  }

  body:not(.nav-collapsed) .sidebar .band-settings {
    padding: 12px 8px;
  }

  body:not(.nav-collapsed) .sidebar .band-heading {
    flex-wrap: wrap;
  }

  body:not(.nav-collapsed) .sidebar .band-limit {
    display: none;
  }

  body:not(.nav-collapsed) .sidebar .more-targets {
    flex-wrap: wrap;
  }

  body:not(.nav-collapsed) .map-top {
    top: 78px;
  }

  body:not(.nav-collapsed) .map-coordinate {
    font-size: 6px;
    top: 135px;
    left: calc(55% + 8px);
  }

  body:not(.nav-collapsed) .map-coordinate span {
    margin: 5px 0 0;
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .search-dock {
    transition: none;
  }
}

.coordinate-control {
  z-index: 4;
  transition: left .24s;
  position: absolute;
  bottom: 92px;
  left: 18px;
}

.coordinate-control > #coordinates-toggle {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #d4e2f4;
  background: #102035b3;
  border: 1px solid #435671;
  border-radius: 9px;
  align-items: center;
  gap: 9px;
  height: 43px;
  padding: 0 14px;
  font-size: 11px;
  display: flex;
}

.coordinate-control > #coordinates-toggle > span {
  color: #a6c0df;
  font-size: 20px;
}

.coordinate-control > #coordinates-toggle:hover, .coordinate-control > #coordinates-toggle[aria-expanded="true"] {
  background: #213853;
  border-color: #829fbe;
}

#coordinate-panel {
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  background: #101e31f5;
  border: 1px solid #425c7d;
  border-radius: 12px;
  width: 300px;
  max-width: calc(100vw - 36px);
  padding: 18px;
  position: absolute;
  bottom: 55px;
  left: 0;
  box-shadow: 0 12px 40px #0008;
}

.coordinate-heading {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  display: flex;
}

.coordinate-heading h2 {
  margin: 0;
  font-size: 16px;
}

.coordinate-heading button {
  color: #b7cce6;
  background: #263b55;
  border-radius: 50%;
  place-items: center;
  width: 26px;
  height: 26px;
  font-size: 18px;
  display: grid;
}

#coordinate-panel .coordinates {
  gap: 10px;
}

#coordinate-panel .coordinates label {
  font-size: 10px;
  line-height: 1.5;
}

#coordinate-panel input:focus-visible {
  border-color: #a1b8d3;
  outline: none;
  box-shadow: 0 0 0 2px #9eb5d414;
}

#coordinate-panel .primary {
  text-align: center;
  border-radius: 7px;
  margin-top: 15px;
}

#coordinate-panel .primary span {
  float: none;
  margin-left: 12px;
}

#coordinate-panel .status {
  margin-bottom: 0;
  font-size: 9px;
  line-height: 1.6;
}

#coordinate-panel .status:empty {
  display: none;
}

body:not(.nav-collapsed) .coordinate-control {
  left: 372px;
}

body:not(.nav-collapsed) #coordinate-panel {
  max-width: min(300px, 100vw - 390px);
}

.sidebar .band-settings {
  margin-top: 10px;
}

@media (max-width: 700px) {
  .coordinate-control {
    bottom: 295px;
    left: 12px;
  }

  body:not(.nav-collapsed) .coordinate-control {
    visibility: hidden;
    pointer-events: none;
    left: 12px;
  }

  #coordinate-panel {
    width: 280px;
    max-width: calc(100vw - 24px);
  }

  .coordinate-control > #coordinates-toggle {
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .coordinate-control {
    transition: none;
  }
}

.search-dock, .nav-collapsed .search-dock, body:not(.nav-collapsed) .search-dock {
  width: min(390px, 100% - 180px);
  max-width: none;
  transition: border-color .18s, box-shadow .18s;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.navigation-toggle {
  z-index: 8;
  color: #c4d5ed;
  background: #15253bed;
  border: 1px solid #435773;
  border-radius: 10px;
  place-items: center;
  width: 46px;
  height: 48px;
  font-size: 22px;
  display: grid;
  position: absolute;
  top: 20px;
  left: 20px;
  box-shadow: 0 5px 20px #0004;
}

.navigation-toggle:hover, .navigation-toggle[aria-expanded="true"] {
  background: #2c435f;
}

.sidebar, body:not(.nav-collapsed) .sidebar {
  padding-top: 20px;
  top: 82px;
}

.map-coordinate, body:not(.nav-collapsed) .map-coordinate {
  top: 137px;
}

body:not(.nav-collapsed) .search-dock input {
  padding: 10px 12px;
  font-size: 12px;
}

body:not(.nav-collapsed) .search-dock form button {
  width: 34px;
  margin-right: 2px;
  font-size: 24px;
}

@media (max-width: 700px) {
  .search-dock, .nav-collapsed .search-dock, body:not(.nav-collapsed) .search-dock {
    width: calc(100% - 132px);
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
  }

  .navigation-toggle {
    width: 42px;
    height: 48px;
    top: 14px;
    left: 12px;
  }

  .sidebar, body:not(.nav-collapsed) .sidebar {
    top: 76px;
  }

  .map-top, body:not(.nav-collapsed) .map-top {
    top: 78px;
  }

  .map-coordinate, body:not(.nav-collapsed) .map-coordinate {
    top: 135px;
  }

  body:not(.nav-collapsed) .search-dock input {
    padding: 10px 8px;
    font-size: 11px;
  }
}

.band-control {
  z-index: 4;
  position: absolute;
  bottom: 35px;
  right: 20px;
}

.band-control > #bands-toggle {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #d4e2f4;
  background: #102035b3;
  border: 1px solid #435671;
  border-radius: 9px;
  align-items: center;
  gap: 9px;
  height: 44px;
  padding: 0 14px;
  font-size: 12px;
  display: flex;
}

#bands-button-value {
  color: #b8cfec;
  border: 1px solid #405979;
  border-radius: 4px;
  padding: 4px 6px;
  font: 10px Space Grotesk, sans-serif;
}

.band-control > #bands-toggle:hover, .band-control > #bands-toggle[aria-expanded="true"] {
  background: #213853;
  border-color: #829fbe;
}

#bands-panel {
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  background: #101e31f5;
  border: 1px solid #425c7d;
  border-radius: 12px;
  width: 310px;
  max-width: calc(100vw - 32px);
  padding: 17px;
  position: absolute;
  bottom: 57px;
  right: 0;
  box-shadow: 0 12px 40px #0008;
}

#bands-panel .band-settings {
  background: none;
  border: 0;
  margin: 0;
  padding: 0;
}

#bands-close {
  color: #c1d2e8;
  background: #263b55;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  font-size: 18px;
  position: absolute;
  top: 12px;
  right: 12px;
}

#bands-panel .band-limit {
  display: none;
}

#bands-panel .band-heading {
  padding-right: 25px;
}

.sidebar-coordinates {
  background: #0a142366;
  border: 1px solid #2e415b;
  border-radius: 13px;
  margin: 12px 0 0;
  padding: 17px 14px;
}

.sidebar .sidebar-coordinates #search-form {
  background: none;
  border: 0;
  padding: 0;
}

.sidebar-coordinates .coordinate-heading {
  margin-bottom: 14px;
}

.sidebar-coordinates .coordinate-heading h2 {
  font-size: 14px;
}

.sidebar-coordinates #search {
  display: none;
}

.sidebar .sidebar-coordinates .primary {
  margin-top: 14px;
}

.sidebar .sidebar-coordinates .status:empty {
  display: none;
}

@media (max-width: 700px) {
  .band-control {
    bottom: 26px;
    right: 12px;
  }

  .band-control > #bands-toggle {
    height: 42px;
    padding: 0 11px;
    font-size: 11px;
  }

  #bands-panel {
    width: 290px;
  }

  body:not(.nav-collapsed) .band-control {
    z-index: 4;
  }

  .sidebar-coordinates {
    padding: 14px 9px;
  }
}

body:not(.nav-collapsed) .navigation-toggle {
  width: 34px;
  height: 34px;
  box-shadow: none;
  background: #263c57;
  border-color: #435a77;
  border-radius: 8px;
  font-size: 20px;
  top: 94px;
  left: 294px;
}

body:not(.nav-collapsed) .sidebar {
  padding-top: 65px;
}

body:not(.nav-collapsed) .sidebar .intro {
  padding-top: 0;
}

@media (max-width: 700px) {
  body:not(.nav-collapsed) .navigation-toggle {
    width: 32px;
    height: 32px;
    top: 88px;
    left: calc(55% - 46px);
  }

  body:not(.nav-collapsed) .sidebar {
    padding-top: 58px;
  }
}

.map-tools {
  z-index: 4;
  top: 145px;
  right: 26px;
}

@media (max-width: 700px) {
  .map-tools {
    top: 140px;
    right: 12px;
  }

  .map-top, body:not(.nav-collapsed) .map-top {
    top: 78px;
    right: 12px;
  }
}

body:not(.nav-collapsed) .sidebar {
  border-top-right-radius: 14px;
  padding-top: 58px;
  top: 20px;
}

body:not(.nav-collapsed) .sidebar .intro .eyebrow {
  margin-top: 0;
}

.sidebar {
  scroll-padding-top: 16px;
}

@media (max-width: 700px) {
  body:not(.nav-collapsed) .sidebar {
    padding-top: 54px;
    top: 14px;
  }

  body:not(.nav-collapsed) .navigation-toggle {
    width: 30px;
    height: 30px;
    top: 25px;
    left: calc(55% - 44px);
  }
}

main {
  height: 100dvh;
  min-height: 0;
}

.floating-nasa {
  z-index: 8;
  color: #eef4ff;
  width: 49px;
  height: 49px;
  text-decoration: none;
  position: absolute;
  top: 18px;
  left: 20px;
}

.floating-nasa .nasa {
  box-shadow: 0 4px 20px #0005;
}

.navigation-toggle {
  top: 82px;
}

.map-actions {
  z-index: 8;
  align-items: center;
  gap: 10px;
  display: flex;
  position: absolute;
  top: 23px;
  right: 26px;
}

.map-actions .icon-button {
  background: #142339b3;
  border-color: #415671;
  width: 30px;
  height: 30px;
  margin: 0;
}

.map-actions .share-button {
  background: #142339b3;
  border-color: #415671;
  margin: 0;
  padding: 6px 10px;
  font-size: 17px;
}

.sidebar, body:not(.nav-collapsed) .sidebar, .nav-collapsed .navigation-toggle {
  top: 82px;
}

body:not(.nav-collapsed) .navigation-toggle {
  top: 94px;
}

.search-dock, .nav-collapsed .search-dock, body:not(.nav-collapsed) .search-dock {
  top: 20px;
}

@media (max-width: 700px) {
  main {
    height: 100dvh;
    min-height: 0;
  }

  .floating-nasa {
    width: 40px;
    height: 40px;
    top: 16px;
    left: 12px;
  }

  .floating-nasa .nasa {
    width: 40px;
    height: 40px;
  }

  .navigation-toggle, .nav-collapsed .navigation-toggle, .sidebar, body:not(.nav-collapsed) .sidebar {
    top: 76px;
  }

  body:not(.nav-collapsed) .navigation-toggle {
    top: 87px;
  }

  .map-actions {
    gap: 5px;
    top: 22px;
    right: 10px;
  }

  .map-actions .icon-button {
    width: 24px;
    height: 24px;
  }

  .map-actions .share-button {
    padding: 3px 6px;
    font-size: 14px;
  }

  .search-dock, .nav-collapsed .search-dock, body:not(.nav-collapsed) .search-dock {
    width: calc(100% - 152px);
    top: 14px;
    left: calc(50% - 6px);
  }
}

.sidebar, body:not(.nav-collapsed) .sidebar {
  border-top: 0;
  border-top-right-radius: 0;
  height: 100%;
  padding-top: 94px;
  top: 0;
  bottom: 0;
}

.floating-nasa {
  top: 20px;
  left: 22px;
}

body:not(.nav-collapsed) .floating-nasa {
  z-index: 8;
  top: 20px;
  left: 22px;
}

body:not(.nav-collapsed) .navigation-toggle {
  width: 32px;
  height: 32px;
  top: 27px;
  left: 294px;
}

.sidebar .intro {
  padding-top: 0;
}

.sidebar .intro .eyebrow {
  margin: 0;
}

.sidebar {
  border-right: 1px solid #3a4e6a;
}

@media (max-width: 700px) {
  .sidebar, body:not(.nav-collapsed) .sidebar {
    border-top-right-radius: 0;
    height: 100%;
    padding-top: 83px;
    top: 0;
    bottom: 0;
  }

  .floating-nasa, body:not(.nav-collapsed) .floating-nasa {
    top: 17px;
    left: 16px;
  }

  body:not(.nav-collapsed) .navigation-toggle {
    width: 30px;
    height: 30px;
    top: 21px;
    left: calc(55% - 44px);
  }
}

.sidebar {
  will-change: transform;
  background: linear-gradient(160deg, #15253afc, #0c1728fc 60%);
  transition: transform .38s cubic-bezier(.22, 1, .36, 1), visibility linear;
  box-shadow: 16px 0 50px #0005;
}

.nav-collapsed .sidebar {
  visibility: hidden;
  transition: transform .38s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .38s;
  transform: translateX(-102%);
}

.sidebar:before {
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, #7896bd40, #7896bd12);
  height: 1px;
  position: absolute;
  top: 79px;
  left: 20px;
  right: 20px;
}

.navigation-toggle, .nav-collapsed .navigation-toggle {
  background: #16283bce;
  border: 1px solid #425a76;
  border-radius: 9px;
  width: 34px;
  height: 34px;
  transition: left .38s cubic-bezier(.22, 1, .36, 1), top .38s cubic-bezier(.22, 1, .36, 1), background .22s, border-color .22s, box-shadow .22s;
  top: 27px;
  left: 88px;
  overflow: hidden;
  box-shadow: 0 3px 12px #0002;
}

body:not(.nav-collapsed) .navigation-toggle {
  background: #263d57;
  border-color: #4a6586;
  width: 34px;
  height: 34px;
  top: 27px;
  left: 294px;
}

.navigation-toggle .menu-glyph, .navigation-toggle .close-glyph {
  pointer-events: none;
  place-items: center;
  font-size: 20px;
  line-height: 1;
  transition: opacity .22s, transform .34s cubic-bezier(.22, 1, .36, 1);
  display: grid;
  position: absolute;
  inset: 0;
}

.navigation-toggle .menu-glyph {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.navigation-toggle .close-glyph {
  opacity: 0;
  transform: rotate(-70deg) scale(.6);
}

.navigation-toggle[aria-expanded="true"] .menu-glyph {
  opacity: 0;
  transform: rotate(70deg) scale(.6);
}

.navigation-toggle[aria-expanded="true"] .close-glyph {
  opacity: 1;
  transition-delay: 80ms;
  transform: rotate(0) scale(1);
}

.floating-nasa, body:not(.nav-collapsed) .floating-nasa {
  transition: filter .35s, transform .35s;
  top: 20px;
  left: 22px;
}

.floating-nasa:hover {
  filter: brightness(1.12);
  transform: scale(1.03);
}

body:not(.nav-collapsed) .floating-nasa .nasa {
  box-shadow: 0 4px 18px #0003, 0 0 22px #2463ad15;
}

.sidebar .intro {
  padding-bottom: 8px;
}

.sidebar .intro h1 {
  font-weight: 500;
}

.sidebar .sidebar-coordinates {
  box-shadow: inset 0 1px #ffffff04;
}

.sidebar .target {
  transition: background .2s, border-color .2s, transform .2s;
}

.sidebar .target:hover {
  transform: translateX(2px);
}

@media (max-width: 700px) {
  .navigation-toggle, .nav-collapsed .navigation-toggle {
    width: 30px;
    height: 30px;
    top: 21px;
    left: 73px;
  }

  body:not(.nav-collapsed) .navigation-toggle {
    width: 30px;
    height: 30px;
    top: 21px;
    left: calc(55% - 44px);
  }

  .floating-nasa, body:not(.nav-collapsed) .floating-nasa {
    top: 17px;
    left: 16px;
  }

  .sidebar:before {
    top: 70px;
    left: 14px;
    right: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sidebar, .nav-collapsed .sidebar, .navigation-toggle, .navigation-toggle .menu-glyph, .navigation-toggle .close-glyph, .floating-nasa, .sidebar .target {
    will-change: auto;
    transition: none;
  }
}

@media (max-width: 700px) {
  .nav-collapsed .navigation-toggle {
    top: 76px;
    left: 16px;
  }
}

.sidebar .floating-nasa, body:not(.nav-collapsed) .sidebar .floating-nasa {
  z-index: 1;
  position: absolute;
  top: 20px;
  left: 22px;
}

.navigation-toggle, .nav-collapsed .navigation-toggle {
  top: 20px;
  left: 20px;
}

.navigation-toggle .menu-glyph, .navigation-toggle .close-glyph {
  transition: opacity .14s, transform .14s;
}

.navigation-toggle[aria-expanded="true"] {
  box-shadow: none;
  background: none;
  border-color: #0000;
  transition: left .38s cubic-bezier(.22, 1, .36, 1), top .38s cubic-bezier(.22, 1, .36, 1), background .14s linear .38s, border-color .14s linear .38s;
}

.navigation-toggle[aria-expanded="true"] .menu-glyph {
  opacity: 0;
  transition: none;
  transform: scale(.85);
}

.navigation-toggle[aria-expanded="true"] .close-glyph {
  opacity: 1;
  transition: opacity .14s .38s, transform .14s .38s;
  transform: none;
}

.navigation-toggle[aria-expanded="false"] .close-glyph {
  opacity: 0;
  transition: none;
}

.navigation-toggle[aria-expanded="false"] .menu-glyph {
  opacity: 1;
  transition: opacity .14s .25s;
  transform: none;
}

body:not(.nav-collapsed) .navigation-toggle {
  box-shadow: none;
  background: none;
  border-color: #0000;
}

.navigation-toggle[aria-expanded="true"]:hover {
  background: #263d57;
}

.nav-collapsed .search-dock, body:not(.nav-collapsed) .search-dock {
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 700px) {
  .sidebar .floating-nasa, body:not(.nav-collapsed) .sidebar .floating-nasa {
    top: 17px;
    left: 16px;
  }

  .navigation-toggle, .nav-collapsed .navigation-toggle {
    top: 20px;
    left: 12px;
  }

  body:not(.nav-collapsed) .navigation-toggle {
    top: 21px;
    left: calc(55% - 44px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .navigation-toggle[aria-expanded="true"], .navigation-toggle[aria-expanded="true"] .close-glyph, .navigation-toggle[aria-expanded="false"] .menu-glyph {
    transition: none;
  }
}

body.nav-opening .navigation-toggle, body.nav-opening .navigation-toggle:focus, body.nav-opening .navigation-toggle:focus-visible {
  opacity: 0;
  box-shadow: none;
  pointer-events: none;
  background: none;
  border-color: #0000;
  outline: none;
}

.navigation-toggle {
  opacity: 1;
  outline-offset: 3px;
}

body:not(.nav-opening) .navigation-toggle:focus:not(:focus-visible) {
  outline: none;
}

.navigation-toggle[aria-expanded="true"] .close-glyph {
  transition: opacity .14s, transform .14s;
}

.layers-panel, .nav-collapsed .layers-panel, body:not(.nav-collapsed) .layers-panel {
  z-index: 7;
  visibility: visible;
  pointer-events: auto;
  width: 120px;
  transition: none;
  inset: 20px 20px auto auto;
}

.layers-panel #layers-content, body.nav-collapsed .layers-panel #layers-content, body:not(.nav-collapsed) .layers-panel #layers-content {
  width: 345px;
  max-width: calc(100vw - 40px);
  inset: 59px 0 auto auto;
}

.map-top, body:not(.nav-collapsed) .map-top {
  top: 84px;
}

@media (max-width: 700px) {
  .layers-panel, .nav-collapsed .layers-panel, body:not(.nav-collapsed) .layers-panel {
    visibility: visible;
    pointer-events: auto;
    width: 82px;
    inset: 14px 12px auto auto;
  }

  .layers-panel > #layers-toggle {
    height: 43px;
    padding: 0 9px;
    font-size: 10px;
  }

  .layers-panel > #layers-toggle #layers-chevron {
    display: none;
  }

  .layers-panel #layers-content, body.nav-collapsed .layers-panel #layers-content, body:not(.nav-collapsed) .layers-panel #layers-content {
    max-width: calc(100vw - 24px);
    inset: 54px 0 auto auto;
  }

  .search-dock, .nav-collapsed .search-dock, body:not(.nav-collapsed) .search-dock {
    width: calc(100% - 172px);
    left: calc(50% - 12px);
  }
}

body:not(.nav-collapsed) .navigation-toggle {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: none;
}

.nav-collapsed .navigation-toggle {
  visibility: visible;
  opacity: 1;
  transition: opacity .18s;
}

.navigation-toggle[aria-expanded="false"] .menu-glyph {
  transition: none;
}

#sidebar-close {
  color: #cfdef0;
  cursor: pointer;
  z-index: 2;
  background: #263d57;
  border: 1px solid #435a76;
  border-radius: 8px;
  place-items: center;
  width: 32px;
  height: 32px;
  font-size: 22px;
  line-height: 1;
  transition: background .16s, border-color .16s;
  display: grid;
  position: absolute;
  top: 27px;
  right: 22px;
}

#sidebar-close:hover {
  background: #36516f;
  border-color: #829fbd;
}

#sidebar-close:focus:not(:focus-visible) {
  outline: none;
}

#sidebar-close:focus-visible {
  outline-offset: 3px;
  outline: 2px solid #b3cbe8;
}

@media (max-width: 700px) {
  #sidebar-close {
    width: 30px;
    height: 30px;
    top: 21px;
    right: 14px;
  }
}

.band-control {
  z-index: 9;
  pointer-events: none;
  position: absolute;
  bottom: 24px;
  left: 18px;
  right: 18px;
}

.band-control > #bands-toggle {
  pointer-events: auto;
  text-shadow: 0 1px 4px #000;
  background: radial-gradient(at 70% 20%, #6686a9a0, #0000 45%), radial-gradient(circle at 28% 40%, #eff4ff 0 1px, #0000 2px), radial-gradient(circle at 70% 25%, #f0d4ff 0 2px, #b282c14a 4px, #0000 15px), linear-gradient(135deg, #263047, #0b192c);
  border: 2px solid #647c9b;
  border-radius: 10px;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0;
  width: 106px;
  height: 80px;
  padding: 10px;
  display: flex;
  position: absolute;
  bottom: 0;
  right: 0;
  box-shadow: 0 5px 18px #0007;
}

.band-control > #bands-toggle > span:last-child {
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
}

#bands-button-value {
  background: #11203390;
  border: 0;
  padding: 2px 4px;
  font-size: 9px;
}

.band-control:has(#bands-toggle[aria-expanded="true"]) > #bands-toggle {
  visibility: hidden;
}

#bands-panel {
  pointer-events: auto;
  background: #0f1c2df2;
  border: 1px solid #435773;
  border-radius: 13px;
  width: 100%;
  max-width: none;
  padding: 17px 18px 13px;
  position: relative;
  bottom: 0;
  left: 0;
  right: auto;
  box-shadow: 0 12px 40px #0009;
}

.band-tray-heading {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  display: flex;
}

.band-tray-heading .eyebrow {
  letter-spacing: 1.6px;
  font-size: 7px;
}

.band-tray-heading h2 {
  margin-top: 5px;
  font-size: 17px;
}

.band-tray-heading h2 > span {
  color: #8da4c1;
  border: 0;
  margin-left: 9px;
  padding: 0;
  font-size: 10px;
}

#bands-close {
  background: #253a54;
  border-radius: 7px;
  flex-shrink: 0;
  width: 29px;
  height: 29px;
  position: static;
}

.band-card-list {
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: #516c8e #1a2b41;
  gap: 12px;
  padding: 3px 3px 10px;
  display: flex;
  overflow-x: auto;
}

.band-card {
  text-align: left;
  color: #fff;
  scroll-snap-align: start;
  background: radial-gradient(ellipse at 65% 15%,var(--cloud),transparent 65%),radial-gradient(circle at 23% 26%,#f5eeff 0 1px,transparent 2px),radial-gradient(circle at 75% 48%,#fff 0 1px,transparent 2px),radial-gradient(circle at 47% 30%,#eef4ff 0 2px,#c2acff55 4px,transparent 15px),radial-gradient(circle at 85% 15%,#fff 0 1px,transparent 2px),linear-gradient(150deg,#15263b,#080e1b);
  --cloud: #436d9c90;
  border: 2px solid #415471;
  border-radius: 8px;
  flex: 1 0 150px;
  height: 108px;
  padding: 10px;
  transition: border-color .18s, transform .18s;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 -50px 30px -15px #030914cc;
}

.band-card:hover {
  border-color: #99b6d9;
  transform: translateY(-2px);
}

.band-card-top {
  letter-spacing: 1.5px;
  color: #d2ddee;
  font-size: 7px;
}

.band-card-bottom {
  position: absolute;
  bottom: 10px;
  left: 10px;
}

.band-card-bottom strong {
  font-size: 13px;
  font-weight: 500;
  display: block;
}

.band-card-bottom small {
  color: #afc1d9;
  margin-top: 4px;
  font-size: 9px;
  display: block;
}

.band-check {
  text-align: center;
  background: #e88676;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 11px;
  line-height: 18px;
  display: none;
  position: absolute;
  top: 8px;
  right: 9px;
}

.band-card[aria-pressed="true"] .band-check {
  display: block;
}

.band-preview-2 {
  --cloud: #6569a6b0;
}

.band-preview-3 {
  --cloud: #906b9bb0;
}

.band-preview-4 {
  --cloud: #ac7186a0;
}

.band-preview-5 {
  --cloud: #ac846ba0;
}

.band-preview-6 {
  --cloud: #8a9cbbb0;
}

#bands-panel #band-status {
  color: #b1c4dd;
  margin: 0;
  font-size: 9px;
  line-height: 1.6;
  display: inline;
}

.band-tray-note {
  float: right;
  color: #778faa;
  margin-top: 3px;
  font-size: 8px;
}

@media (max-width: 700px) {
  .band-control {
    bottom: 18px;
    left: 12px;
    right: 12px;
  }

  .band-control > #bands-toggle {
    width: 92px;
    height: 75px;
  }

  #bands-panel {
    width: 100%;
    padding: 14px 12px 12px;
  }

  .band-card {
    flex: 0 0 145px;
    height: 103px;
  }

  .band-card-list {
    gap: 9px;
  }

  .band-tray-note {
    float: none;
    margin-top: 5px;
    display: block;
  }

  .band-tray-heading h2 > span {
    display: none;
  }

  .band-tray-heading {
    margin-bottom: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .band-card {
    transition: none;
  }
}

#bands-panel {
  opacity: 0;
  visibility: hidden;
  transform-origin: 100% 100%;
  pointer-events: none;
  transition: opacity .24s, transform .32s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .32s;
  transform: translateY(24px) scale(.985);
}

.band-control.is-open #bands-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .24s, transform .32s cubic-bezier(.22, 1, .36, 1), visibility;
  transform: translateY(0) scale(1);
}

.band-control > #bands-toggle {
  opacity: 1;
  visibility: visible;
  transition: opacity .18s, transform .24s;
  transform: translateY(0);
}

.band-control.is-open > #bands-toggle {
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  transform: translateY(8px);
}

.band-control:has(#bands-toggle[aria-expanded="true"]) > #bands-toggle {
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  transform: translateY(8px);
}

@media (prefers-reduced-motion: reduce) {
  #bands-panel, .band-control.is-open #bands-panel, .band-control > #bands-toggle {
    transition: none;
    transform: none;
  }
}

.band-control {
  bottom: 20px;
  left: 18px;
  right: 20px;
}

.band-control > #bands-toggle {
  width: auto;
  min-width: auto;
  height: 42px;
  text-shadow: none;
  outline-offset: 3px;
  background: #142337ed;
  border: 1px solid #5b708b;
  border-radius: 10px;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  box-shadow: 0 5px 20px #0006;
}

.band-control > #bands-toggle:focus:not(:focus-visible) {
  outline: none;
}

.band-control > #bands-toggle > span:first-child {
  color: #acc8e8;
  font-size: 19px;
}

.bands-toggle-icon {
  border-right: 1px solid #3c516d;
  padding-right: 8px;
}

.bands-miniatures {
  gap: 3px;
  display: flex;
}

.bands-miniatures i {
  background: radial-gradient(circle at 40% 35%, #fff 0 1px, #0000 2px), radial-gradient(at 65% 30%, #719ed5, #182641 75%);
  border: 1px solid #8da9c24a;
  border-radius: 3px;
  width: 23px;
  height: 25px;
}

.bands-miniatures i:nth-child(2) {
  background: radial-gradient(circle at 60% 35%, #fff 0 1px, #0000 2px), radial-gradient(at 40% 20%, #bf8fba, #25304c 75%);
}

.bands-miniatures i:nth-child(3) {
  background: radial-gradient(circle at 50% 55%, #fff 0 1px, #0000 2px), radial-gradient(at 60% 30%, #d6a38e, #35344b 75%);
}

.bands-toggle-label {
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  display: flex;
}

.bands-chevron {
  color: #bed0e6;
  margin-left: 3px;
  font-size: 18px;
}

#bands-button-value {
  color: #c0d5f0;
  background: #293e59;
  border-radius: 4px;
  padding: 3px 4px;
  font: 9px Space Grotesk, sans-serif;
}

.band-control > #bands-toggle > span:last-child {
  font-size: 18px;
  font-weight: 400;
}

.band-control.is-open > #bands-toggle {
  transform: translateY(5px);
}

#bands-panel {
  background: linear-gradient(145deg, #17273bf5, #0e1b2cf5);
  border-color: #4a607c;
  border-radius: 14px;
  padding: 17px 18px 12px;
}

.band-tray-actions {
  align-items: center;
  gap: 12px;
  display: flex;
}

.band-tray-actions #bands-all {
  color: #c5d9f1;
  cursor: pointer;
  background: #253e5b;
  border: 1px solid #4c6a8e;
  border-radius: 6px;
  padding: 7px 11px;
  font-size: 10px;
}

.band-tray-actions #bands-all:disabled {
  opacity: .45;
  cursor: default;
}

.band-card {
  border-color: #3f536e;
  border-radius: 9px;
  flex-basis: 155px;
  height: 122px;
}

.band-card[aria-pressed="true"] {
  border-color: #8dbbe9;
  box-shadow: 0 0 0 1px #8dbbe92a, inset 0 -50px 30px -15px #030914cc;
}

.band-card[aria-pressed="false"] {
  filter: saturate(.55);
}

.band-card[aria-pressed="false"]:hover {
  filter: none;
}

.band-check {
  color: #14263d;
  background: #b0cff1;
  border: 1px solid #d9ebff;
  box-shadow: 0 2px 8px #0004;
}

.band-card-top {
  color: #b5cce7;
  font-size: 8px;
}

.band-card-bottom strong {
  font-size: 13px;
}

.band-card-bottom small {
  color: #9db4d0;
  font-size: 9px;
}

.band-tray-footer {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 2px;
  display: flex;
}

.band-tray-note {
  float: none;
  margin: 0;
  font-size: 8px;
}

.band-card-list {
  padding-bottom: 12px;
}

.band-tray-heading h2 > span {
  color: #97afcb;
  font-size: 10px;
}

#bands-close {
  background: #29405c;
  border: 1px solid #3d5675;
}

.compass {
  bottom: 88px;
}

@media (max-width: 700px) {
  .band-control {
    bottom: 18px;
    left: 12px;
    right: 12px;
  }

  .band-control > #bands-toggle {
    gap: 8px;
    width: auto;
    min-width: auto;
    height: 40px;
    padding: 6px 10px;
  }

  .bands-miniatures i {
    width: 20px;
    height: 23px;
  }

  .band-control > #bands-toggle > span:first-child {
    font-size: 17px;
  }

  .band-tray-heading {
    gap: 10px;
  }

  .band-tray-actions {
    gap: 7px;
  }

  .band-tray-actions #bands-all {
    padding: 6px 7px;
    font-size: 9px;
  }

  .band-card {
    flex-basis: 145px;
    height: 112px;
  }

  .band-tray-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }

  #bands-panel {
    padding: 14px 12px 11px;
  }
}

.sidebar .sidebar-coordinates {
  box-shadow: none;
  background: #111d2c;
  border-color: #2c3b4e;
}

.sidebar .sidebar-coordinates .coordinates input {
  color: #dce5ef;
  box-shadow: none;
  background: #182637;
  border-color: #344457;
}

.sidebar .sidebar-coordinates .coordinates label {
  color: #94a3b5;
}

.sidebar .sidebar-coordinates .coordinate-heading h2 {
  color: #dce5ef;
}

.sidebar .sidebar-coordinates .primary {
  color: #edf2f8;
  box-shadow: none;
  filter: none;
  background: #34485f;
  border: 1px solid #4b6078;
}

.sidebar .sidebar-coordinates .primary:hover {
  filter: none;
  background: #405872;
  border-color: #68809a;
}

.sidebar .sidebar-coordinates .primary:active {
  background: #2d3e52;
}

.sidebar .sidebar-coordinates .status {
  color: #91a3b9;
}

.rotary-console .zoom-section {
  transform-origin: center;
  transform: translateY(-50%) rotate(90deg);
}

@media (max-width: 700px) {
  .rotary-console .zoom-section {
    transform: translateY(-50%) rotate(90deg);
  }
}

@media (max-width: 700px) {
  .rotary-console .zoom-section {
    transform: translateY(-50%) rotate(180deg);
  }
}

.rotary-console .zoom-section {
  transform: translateY(-50%) rotate(270deg);
}

@media (max-width: 700px) {
  .rotary-console .zoom-section {
    transform: translateY(-50%) rotate(270deg);
  }
}

.rotary-console .zoom-section {
  right: -43px;
  transform: translateY(-50%) rotate(270deg);
}

.zoom-section .half-readout {
  transform-origin: center;
  gap: 5px;
  bottom: 8%;
  transform: translateX(-50%) rotate(90deg);
}

.zoom-section .zoom-scale-label {
  transform-box: fill-box;
  transform-origin: center;
  transform: rotate(calc(90deg - var(--ring-angle, 0deg)));
}

.rotary-console .zoom-section #zoom-knob:focus, .rotary-console .zoom-section #zoom-knob:focus-visible, .rotary-console .zoom-section #zoom-knob.is-turning {
  box-shadow: none;
  outline: none;
}

.zoom-section .half-dial:focus-visible .half-indicator {
  filter: drop-shadow(0 0 5px #a5cfff);
}

@media (max-width: 700px) {
  .rotary-console .zoom-section {
    right: -32px;
    transform: translateY(-50%) rotate(270deg);
  }

  .zoom-section .half-readout {
    gap: 3px;
    bottom: 6%;
  }
}

#bands-panel {
  scrollbar-width: thin;
  max-height: calc(100dvh - 105px);
  overflow-y: auto;
}

.band-modes {
  background: #0d1a2b;
  border: 1px solid #344b66;
  border-radius: 8px;
  gap: 4px;
  margin-bottom: 14px;
  padding: 4px;
  display: inline-flex;
}

.band-modes button {
  color: #8fa7c4;
  background: none;
  border-radius: 5px;
  padding: 8px 13px;
  font-size: 11px;
}

.band-modes button[aria-pressed="true"] {
  color: #e5effc;
  background: #2b425e;
}

.detector-list {
  scrollbar-width: thin;
  gap: 10px;
  padding: 2px 2px 10px;
  display: flex;
  overflow-x: auto;
}

.detector-card {
  text-align: left;
  background: radial-gradient(ellipse at 85% 0,var(--cloud, #5076a940),transparent 70%),#142439;
  color: #d9e6f7;
  border: 1px solid #3c516b;
  border-radius: 8px;
  flex: 1 0 135px;
  padding: 13px;
  position: relative;
}

.detector-card[aria-pressed="true"] {
  background-color: #213b58;
  border-color: #a3c7ee;
  box-shadow: inset 0 -2px #a3c7ee;
}

.detector-card strong {
  font-size: 12px;
  font-weight: 500;
  display: block;
}

.detector-card small {
  color: #8fa9c8;
  margin-top: 7px;
  font-size: 10px;
  display: block;
}

.detector-selection-count {
  color: #b6cce6;
  margin-top: 13px;
  font-size: 9px;
  display: block;
}

.detector-band-heading {
  color: #b3c9e3;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 9px 0 12px;
  font-size: 11px;
  display: flex;
}

.detector-band-heading button {
  color: #bfd3ec;
  background: #253e5a;
  border: 1px solid #3e5b7c;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 10px;
}

.detector-band-grid {
  grid-template-columns: repeat(17, minmax(34px, 1fr));
  gap: 6px;
  margin-bottom: 16px;
  display: grid;
}

.individual-band {
  cursor: pointer;
  color: #8fa9c8;
  background: #132338;
  border: 1px solid #344b67;
  border-radius: 6px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  min-height: 53px;
  display: flex;
  position: relative;
}

.individual-band input {
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  margin: 0;
  position: absolute;
  inset: 0;
}

.individual-band > span {
  font: 13px Space Grotesk, sans-serif;
}

.individual-band small {
  color: #748fab;
  font-size: 8px;
}

.individual-band:has(input:checked) {
  color: #edf5ff;
  background: #2b4766;
  border-color: #9dbfe7;
}

.individual-band:has(input:checked) small {
  color: #c0d5ee;
}

.individual-band:has(input:focus-visible) {
  outline-offset: 2px;
  outline: 2px solid #c0d9f7;
}

.stack-description {
  flex-direction: column;
  gap: 7px;
  margin: 5px 0 22px;
  display: flex;
}

.stack-description strong {
  font-size: 14px;
  font-weight: 500;
}

.stack-description > span {
  color: #8ba3c0;
  font-size: 11px;
}

.stack-controls {
  align-items: center;
  gap: 24px;
  display: flex;
}

.stack-controls > input {
  accent-color: #9dbfe7;
  flex: 1;
}

.stack-controls label {
  white-space: nowrap;
  color: #9eb7d3;
  font-size: 11px;
}

.stack-controls input[type="number"] {
  color: #e6f0fc;
  background: #132338;
  border: 1px solid #4c6583;
  border-radius: 6px;
  width: 68px;
  margin-right: 5px;
  padding: 9px;
  font-size: 14px;
}

.stack-controls input[aria-invalid="true"] {
  border-color: #e49687;
}

.stack-limits {
  color: #7894b6;
  justify-content: space-between;
  margin: 12px 100px 25px 0;
  font-size: 9px;
  display: flex;
}

.band-tray-footer {
  border-top: 1px solid #2d425b;
  padding-top: 10px;
}

#bands-panel .band-tray-heading {
  margin-bottom: 15px;
}

@media (max-width: 1000px) {
  .detector-band-grid {
    grid-template-columns: repeat(9, minmax(32px, 1fr));
  }
}

@media (max-width: 700px) {
  .detector-card {
    flex: 0 0 125px;
    padding: 11px;
  }

  .band-modes {
    display: flex;
  }

  .band-modes button {
    flex: 1;
    padding: 8px;
    font-size: 10px;
  }

  .detector-band-grid {
    grid-template-columns: repeat(6, minmax(30px, 1fr));
    gap: 5px;
  }

  .individual-band {
    min-height: 47px;
  }

  .detector-band-heading {
    font-size: 10px;
  }

  .detector-band-heading button {
    padding: 6px 8px;
    font-size: 9px;
  }

  .stack-controls {
    gap: 12px;
  }

  .band-tray-footer {
    gap: 6px;
  }

  #bands-panel {
    max-height: calc(100dvh - 80px);
  }
}

.search-feedback {
  z-index: 10;
  color: #b9cce5;
  pointer-events: none;
  background: #112035db;
  border-radius: 6px;
  max-width: min(460px, 100% - 32px);
  padding: 7px 12px;
  font-size: 10px;
  line-height: 1.5;
  position: absolute;
  top: 76px;
  left: 50%;
  transform: translateX(-50%);
}

.search-feedback:empty {
  display: none;
}

#stel-canvas, #sky-canvas, .stel-canvas, .webgl-sky {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  inset: 0;
}

.search-dock, body:not(.nav-collapsed) .search-dock {
  width: min(390px, 100% - 32px);
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.search-options {
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  scrollbar-width: thin;
  background: #101d2ff5;
  border: 1px solid #40536e;
  border-radius: 12px;
  max-height: calc(100dvh - 110px);
  padding: 15px;
  position: absolute;
  top: 58px;
  left: 0;
  right: 0;
  overflow-y: auto;
  box-shadow: 0 15px 45px #0008;
}

.search-options-heading {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  display: flex;
}

.search-options-heading button {
  color: #c1d3eb;
  background: #263a52;
  border-radius: 6px;
  width: 25px;
  height: 25px;
  font-size: 18px;
}

.search-targets {
  flex-direction: column;
  gap: 3px;
  display: flex;
}

.search-targets > button {
  text-align: left;
  background: none;
  border-radius: 7px;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 10px 7px;
  display: flex;
}

.search-targets > button > span:first-child {
  color: #9dbce3;
  font-size: 22px;
}

.search-targets > button > span:last-child {
  color: #8aa5c8;
  margin-left: auto;
}

.search-targets strong {
  font-size: 12px;
  font-weight: 500;
  display: block;
}

.search-targets small {
  color: #8ea5c1;
  margin-top: 4px;
  font-size: 9px;
  display: block;
}

.search-dock .compact-coordinates {
  border-top: 1px solid #2d415c;
  margin-top: 12px;
  padding: 15px 0 0;
  display: block;
}

.compact-coordinates .coordinates {
  margin-top: 14px;
}

.search-dock .compact-coordinates input {
  color: #d9e6f7;
  background: #14263b;
  border: 1px solid #354b68;
  border-radius: 6px;
  outline: none;
  padding: 9px;
}

.search-dock .compact-coordinates input:focus {
  border-color: #91aacb;
}

.search-dock .compact-coordinates .primary {
  color: #e3eefb;
  text-align: center;
  background: #344b65;
  border: 1px solid #4f6987;
  width: 100%;
  height: auto;
  margin: 13px 0 0;
  padding: 10px;
  font-size: 11px;
}

.map-title {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: #101e30cc;
  border: 1px solid #2d415a;
  border-radius: 6px;
  align-items: center;
  padding: 6px 10px;
  display: flex;
}

.map-top, body:not(.nav-collapsed) .map-top {
  top: 20px;
  left: 210px;
  right: 25px;
}

.map-coordinate, body:not(.nav-collapsed) .map-coordinate {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 5;
  background: #101e30cc;
  border: 1px solid #2d415a;
  border-radius: 6px;
  padding: 6px 12px;
  top: 80px;
  left: 20px;
}

.map-tools {
  top: 88px;
}

.map-bottom, body:not(.nav-collapsed) .map-bottom {
  bottom: 18px;
  left: 18px;
}

.search-feedback {
  top: 78px;
}

@media (max-width: 900px) {
  .map-title {
    display: none;
  }

  .map-top, body:not(.nav-collapsed) .map-top {
    top: 84px;
  }

  .map-coordinate, body:not(.nav-collapsed) .map-coordinate {
    top: 89px;
    left: 18px;
  }

  .map-tools {
    top: 140px;
  }
}

@media (max-width: 700px) {
  .search-dock, body:not(.nav-collapsed) .search-dock {
    width: calc(100% - 28px);
    top: 14px;
    left: 50%;
  }

  .search-feedback {
    top: 73px;
  }

  .search-options {
    max-height: calc(100dvh - 100px);
  }

  .map-coordinate, body:not(.nav-collapsed) .map-coordinate {
    font-size: 8px;
    top: 90px;
    left: 18px;
  }

  .map-coordinate span, body:not(.nav-collapsed) .map-coordinate span {
    margin-left: 8px;
    display: inline;
  }

  .map-top, body:not(.nav-collapsed) .map-top {
    top: 80px;
    right: 14px;
  }

  .map-tools {
    top: 140px;
  }
}

.rotary-console .playback-panel .playback-buttons {
  justify-content: center;
  align-items: center;
  gap: 12px;
  display: flex;
}

.rotary-console .playback-buttons > button {
  text-align: center;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  padding: 0;
  line-height: 1;
  display: flex;
}

.rotary-console .playback-buttons > button:not(.play):not(.loop) {
  width: 32px;
  height: 36px;
  font-size: 12px;
}

.rotary-console .playback-buttons > .play {
  width: 38px;
  height: 38px;
  font-size: 12px;
}

.rotary-console .playback-buttons > .loop {
  width: 32px;
  height: 36px;
  font-size: 26px;
}

.rotary-console .playback-buttons > .play[aria-label="Play observations"] {
  padding-left: 2px;
}

@media (max-width: 700px) {
  .rotary-console .playback-panel .playback-buttons {
    gap: 9px;
  }

  .rotary-console .playback-buttons > button:not(.play):not(.loop), .rotary-console .playback-buttons > .loop {
    width: 28px;
    height: 34px;
  }
}

.rotary-console .time-section .half-readout {
  gap: 5px;
  font-size: 17px;
  bottom: 62%;
}

.rotary-console .time-section .half-readout small {
  font-size: 7px;
}

.rotary-console .speed-section.half-section {
  bottom: 68px;
}

.rotary-console .speed-section .half-readout {
  gap: 5px;
  bottom: 3%;
}

.rotary-console .speed-section .half-readout small {
  letter-spacing: 1px;
  font-size: 6px;
  line-height: 1.4;
}

.rotary-console .playback-panel {
  bottom: 16px;
}

.rotary-console .playback-panel .playback-buttons {
  gap: 12px;
  position: relative;
}

.rotary-console .playback-buttons > .loop {
  margin: 0;
  position: absolute;
  top: 50%;
  left: calc(100% + 12px);
  transform: translateY(-50%);
}

@media (max-width: 700px) {
  .rotary-console .time-section.half-section {
    width: min(440px, 100% - 20px);
  }

  .rotary-console .time-section .half-readout {
    gap: 3px;
    font-size: 14px;
    bottom: 67%;
  }

  .rotary-console .time-section .half-readout small {
    font-size: 6px;
  }

  .rotary-console .speed-section .half-readout {
    gap: 4px;
    bottom: 3%;
  }

  .rotary-console .speed-section .half-readout small {
    font-size: 5px;
  }

  .rotary-console .playback-panel .playback-buttons {
    gap: 9px;
  }

  .rotary-console .playback-buttons > .loop {
    left: calc(100% + 9px);
  }

  .rotary-console .playback-panel {
    bottom: 78px;
  }

  .rotary-console .speed-section.half-section {
    bottom: 129px;
  }

  .rotary-console .time-section.half-section {
    bottom: 74px;
  }

  .search-feedback {
    max-width: calc(100% - 32px);
    top: 182px;
  }
}

.map-coordinate, .map-title, .map-bottom, .compass, .atlas-note {
  font-family: Segoe UI, Arial, sans-serif;
}

.map-coordinate, body:not(.nav-collapsed) .map-coordinate {
  letter-spacing: .06em;
  color: #a8bbd2;
  font-size: 12px;
  line-height: 1.6;
}

.map-coordinate span, body:not(.nav-collapsed) .map-coordinate span {
  font-variant-numeric: tabular-nums;
  color: #dae6f5;
  letter-spacing: .025em;
  font-size: 13px;
  font-weight: 600;
}

.map-title {
  letter-spacing: .12em;
  font-size: 13px;
  font-weight: 600;
}

.map-title .badge {
  letter-spacing: .06em;
  padding: 7px 10px;
  font-size: 10px;
}

.map-bottom {
  font-size: 11px;
  line-height: 1.5;
}

.compass > span {
  letter-spacing: .04em;
  font-size: 15px;
  font-weight: 600;
}

.compass small {
  font-size: 11px;
}

.atlas-note {
  font-size: 13px;
  line-height: 1.5;
}

.atlas-note span {
  font-size: 11px;
}

@media (max-width: 700px) {
  .map-coordinate, body:not(.nav-collapsed) .map-coordinate {
    font-size: 10px;
  }

  .map-coordinate span, body:not(.nav-collapsed) .map-coordinate span {
    margin-left: 7px;
    font-size: 11px;
  }

  .map-bottom {
    font-size: 10px;
  }

  .atlas-note {
    font-size: 12px;
  }

  .atlas-note span {
    font-size: 10px;
  }
}

.search-coordinate-hint {
  color: #a8bbd2;
  border-top: 1px solid #2d415c;
  margin: 12px 0 0;
  padding-top: 12px;
  font-size: 12px;
  line-height: 1.6;
}

.rotary-console .time-section .half-readout {
  gap: 6px;
  line-height: 1.2;
  top: -38px;
  bottom: auto;
}

.rotary-console .time-section .half-readout > span {
  display: block;
}

.rotary-console .time-section .half-readout small {
  line-height: 1.4;
  display: block;
}

@media (max-width: 700px) {
  .rotary-console .time-section .half-readout {
    gap: 5px;
    top: -34px;
    bottom: auto;
  }
}

.fov-control {
  z-index: 5;
  background: #102035e8;
  border: 1px solid #354e6a;
  border-radius: 9px;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  font: 12px Segoe UI, Arial, sans-serif;
  display: flex;
  position: absolute;
  bottom: 48px;
  left: 20px;
}

.fov-control label {
  color: #c6d9ef;
  font-weight: 600;
}

.fov-control input {
  color: #e6effb;
  background: #1a3049;
  border: 1px solid #49637f;
  border-radius: 5px;
  outline: none;
  width: 76px;
  min-width: 0;
  padding: 6px;
}

.fov-control input:focus {
  border-color: #a1bedf;
}

.fov-control > span {
  color: #9fb5ce;
}

.fov-control button {
  color: #e5effb;
  background: #2b4561;
  border-radius: 5px;
  padding: 7px 9px;
  font-size: 11px;
}

.fov-control .fov-help {
  white-space: nowrap;
  text-shadow: 0 1px 4px #000;
  font-size: 10px;
  position: absolute;
  bottom: calc(100% + 5px);
  left: 0;
}

.fov-control input[aria-invalid="true"] {
  border-color: #ee998d;
}

@media (max-width: 700px) {
  .fov-control {
    gap: 6px;
    padding: 7px 9px;
    font-size: 11px;
    top: 180px;
    bottom: auto;
    left: 14px;
  }

  .fov-control input {
    width: 70px;
  }

  .fov-control .fov-help {
    font-size: 9px;
  }
}

.search-history {
  border-top: 1px solid #2d415c;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
  padding-top: 12px;
  display: flex;
}

.search-history .eyebrow {
  flex-basis: 100%;
  line-height: 1.5;
}

.search-history button {
  color: #c8d9ed;
  background: #1b3047;
  border: 1px solid #405872;
  border-radius: 6px;
  padding: 7px 10px;
  font: 11px Segoe UI, Arial, sans-serif;
}

.search-history button:hover {
  background: #2a435e;
}

.search-coordinate-hint {
  color: #a6bed8;
  border-top: 1px solid #2d415c;
  margin-bottom: 0;
  padding-top: 12px;
  font-size: 12px;
  line-height: 1.6;
}

.search-feedback[hidden] {
  display: none;
}

.image-math {
  z-index: 5;
  background: #102035ed;
  border: 1px solid #354e6a;
  border-radius: 9px;
  max-width: 270px;
  padding: 10px;
  font: 12px Segoe UI, Arial, sans-serif;
  position: absolute;
  top: 125px;
  left: 20px;
}

.image-math label {
  color: #c6d9ef;
  align-items: center;
  gap: 10px;
  margin: 4px 0;
  display: flex;
}

.image-math select {
  color: #e6effb;
  background: #1a3049;
  border: 1px solid #49637f;
  border-radius: 5px;
  max-width: 160px;
  padding: 6px;
}

.image-math figure {
  margin: 10px 0 0;
}

.image-math canvas {
  width: 200px;
  height: 200px;
  image-rendering: pixelated;
  background: #000;
  display: block;
}

.image-math figcaption {
  color: #a6bed8;
  margin-top: 7px;
  font-size: 10px;
  line-height: 1.6;
}

.fov-control .fov-help {
  white-space: normal;
  min-width: 220px;
}

:is(.search-dock:has(.search-options:not([hidden])) ~ .sky .image-math, .search-dock:has(.search-options:not([hidden])) ~ .sky .fov-control) {
  visibility: hidden;
}

@media (max-width: 700px) {
  .image-math {
    top: 235px;
    left: 14px;
  }

  .image-math canvas {
    width: 150px;
    height: 150px;
  }
}

.image-math-toggle {
  z-index: 7;
  color: #d9e6f6;
  background: #15283e;
  border: 1px solid #3b536d;
  border-radius: 9px;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  font: 14px Segoe UI, Arial, sans-serif;
  display: flex;
  position: absolute;
  top: 20px;
  left: 20px;
  box-shadow: 0 4px 18px #0004;
}

.image-math-toggle span {
  font-size: 12px;
}

.image-math-backdrop {
  z-index: 11;
  opacity: 0;
  visibility: hidden;
  background: #0005;
  border: 0;
  transition: opacity .3s, visibility .3s;
  position: absolute;
  inset: 0;
}

.image-math-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.image-math {
  z-index: 12;
  visibility: hidden;
  background: #101e30;
  border: 0;
  border-right: 1px solid #38516c;
  border-radius: 0;
  width: min(340px, 100% - 35px);
  max-width: none;
  max-height: 100%;
  padding: 25px 22px;
  transition: transform .32s cubic-bezier(.22, .68, 0, 1), visibility .32s;
  position: absolute;
  inset: 0 auto 0 0;
  overflow-y: auto;
  transform: translateX(-105%);
  box-shadow: 12px 0 35px #0005;
}

.image-math.is-open {
  visibility: visible;
  transform: translateX(0);
}

.image-math header {
  border-bottom: 1px solid #2b4059;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 23px;
  display: flex;
}

.image-math h2 {
  margin: 8px 0 0;
  font-size: 23px;
  font-weight: 600;
}

.image-math header button {
  color: #d6e5f7;
  background: #243b54;
  border-radius: 7px;
  width: 34px;
  height: 34px;
  font-size: 22px;
}

.image-math-description, .image-math-note {
  color: #9fb5ce;
  margin: 15px 0 22px;
  font-size: 12px;
  line-height: 1.7;
}

.image-math label {
  justify-content: space-between;
  margin: 15px 0;
}

.image-math select {
  width: 65%;
  max-width: 185px;
  padding: 10px;
}

.image-math figure {
  margin-top: 25px;
}

.image-math canvas {
  aspect-ratio: 1;
  width: 100%;
  height: auto;
}

.image-math figcaption {
  padding-top: 10px;
  font-size: 11px;
  line-height: 1.8;
}

.image-math-note {
  border-top: 1px solid #2b4059;
  margin-top: 25px;
  padding-top: 20px;
}

.search-dock:has(.search-options:not([hidden])) ~ .sky .image-math {
  visibility: hidden;
}

@media (max-width: 700px) {
  .image-math-toggle {
    padding: 10px 12px;
    top: 78px;
    left: 14px;
  }

  .image-math {
    top: 0;
    left: 0;
  }

  .image-math canvas {
    width: 100%;
    height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .image-math, .image-math-backdrop {
    transition: none;
  }
}

.image-math label {
  color: #b8cce3;
  letter-spacing: .02em;
  flex-direction: column;
  align-items: stretch;
  gap: 9px;
  margin: 22px 0;
  font-size: 12px;
  font-weight: 500;
  display: flex;
}

.image-math select {
  appearance: none;
  color: #e1ecf8;
  cursor: pointer;
  background-color: #182b41;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%239bb4d0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 14px center;
  background-repeat: no-repeat;
  border: 1px solid #3b526e;
  border-radius: 9px;
  outline: none;
  width: 100%;
  max-width: none;
  min-height: 46px;
  padding: 12px 40px 12px 14px;
  font: 14px Segoe UI, Arial, sans-serif;
  transition: border-color .18s, background-color .18s, box-shadow .18s;
}

.image-math select:hover {
  background-color: #1e344d;
  border-color: #607b99;
}

.image-math select:focus-visible {
  border-color: #a3b9d1;
  outline: none;
  box-shadow: 0 0 0 3px #a3b9d11a;
}

.image-math select option {
  color: #e1ecf8;
  background: #182b41;
}

.image-math header button:hover {
  background: #344f6d;
}

.image-math-description {
  margin-bottom: 26px;
}

.image-math-toggle:hover {
  background: #203850;
  border-color: #607b99;
}

@media (prefers-reduced-motion: reduce) {
  .image-math select {
    transition: none;
  }
}

.image-math header button {
  width: auto;
  min-width: 52px;
  padding: 8px 10px;
  font-size: 12px;
}

.rotary-console .zoom-section.map-zoom-controls {
  aspect-ratio: auto;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  z-index: 5;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: auto;
  background: #101c2cf2;
  border: 1px solid #2d4158;
  border-radius: 8px;
  flex-direction: column;
  align-items: center;
  width: 40px;
  height: auto;
  display: flex;
  position: absolute;
  top: 50%;
  right: 24px;
  overflow: hidden;
  box-shadow: 0 4px 18px #00000073;
  transform: translateY(-50%) !important;
}

.map-zoom-controls button {
  color: #dbe7f7;
  cursor: pointer;
  background: none;
  border: 0;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  transition: background-color .15s, color .15s, opacity .15s;
  display: flex;
}

.map-zoom-controls button:active:not(:disabled) {
  background: #253d5c;
}

.map-zoom-controls button:disabled {
  opacity: .3;
  cursor: not-allowed;
}

.map-zoom-controls .zoom-divider {
  background: #27394f;
  width: 26px;
  height: 1px;
  margin: 0;
}

@media (max-width: 700px) {
  .rotary-console .zoom-section.map-zoom-controls {
    width: 36px;
    top: 38%;
    right: 14px;
    transform: translateY(-50%) !important;
  }

  .map-zoom-controls button {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .map-zoom-controls .zoom-divider {
    width: 22px;
  }
}

.search-dock, body:not(.nav-collapsed) .search-dock {
  z-index: 10;
  -webkit-backdrop-filter: blur(30px) saturate(190%) contrast(105%);
  border: 1px solid #ffffff1a;
  border-radius: 9999px;
  align-items: center;
  padding: 0 14px;
  transition: width .35s cubic-bezier(.16, 1, .3, 1), height .35s cubic-bezier(.16, 1, .3, 1), padding .3s, background .25s, border-color .25s, box-shadow .25s;
  display: flex;
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: inset 0 1px 1px #ffffff26, inset 0 -1px 1px #0006, 0 8px 30px #0009, 0 2px 6px #00000059;
  background: linear-gradient(135deg, #ffffff0d 0%, #ffffff03 100%), #060b14e6 !important;
  width: min(220px, 100% - 32px) !important;
  height: 40px !important;
}

.search-dock:focus-within, .search-dock.is-searching, body:not(.nav-collapsed) .search-dock:focus-within, body:not(.nav-collapsed) .search-dock.is-searching {
  padding: 0 16px;
  box-shadow: inset 0 1px 1.5px #ffffff40, inset 0 -1px 1px #00000080, 0 0 0 3px #38bdf82e, 0 16px 48px #000000bf;
  background: linear-gradient(135deg, #ffffff14 0%, #ffffff05 100%), #040810f5 !important;
  border-color: #38bdf873 !important;
  width: min(460px, 100% - 32px) !important;
  height: 46px !important;
}

.search-dock:has(input:not(:placeholder-shown)) {
  padding: 0 16px;
  box-shadow: inset 0 1px 1.5px #ffffff40, inset 0 -1px 1px #00000080, 0 0 0 3px #38bdf82e, 0 16px 48px #000000bf;
  background: linear-gradient(135deg, #ffffff14 0%, #ffffff05 100%), #040810f5 !important;
  border-color: #38bdf873 !important;
  width: min(460px, 100% - 32px) !important;
  height: 46px !important;
}

.search-dock form {
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
}

.search-glass-icon {
  color: #dcebffa6;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  transition: color .2s;
  display: flex;
}

.search-dock:focus-within .search-glass-icon, .search-dock.is-searching .search-glass-icon {
  color: #82b6ff;
}

.search-dock input {
  color: #fff;
  letter-spacing: -.2px;
  background: none;
  border: none;
  outline: none;
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, SF Pro Text, SF Pro Display, Segoe UI, Roboto, sans-serif;
  font-size: 13.5px;
  font-weight: 400;
}

.search-dock input::placeholder {
  color: #b9cde68c;
}

.search-clear-btn {
  color: #ebf5ffd9;
  cursor: pointer;
  background: #ffffff2e;
  border: none;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  padding: 0;
  font-size: 11px;
  line-height: 1;
  transition: background .15s, color .15s;
  display: flex;
}

.search-clear-btn:hover {
  color: #fff;
  background: #ffffff4d;
}

.search-options {
  -webkit-backdrop-filter: blur(36px) saturate(190%) contrast(105%);
  scrollbar-width: thin;
  background: linear-gradient(145deg, #ffffff1a 0%, #ffffff05 100%), #0c1624c7;
  border: 1px solid #ffffff29;
  border-radius: 20px;
  max-height: calc(100dvh - 120px);
  padding: 16px;
  position: absolute;
  top: 56px;
  left: 0;
  right: 0;
  overflow-y: auto;
  box-shadow: inset 0 1px 1px #ffffff47, 0 24px 60px #0009;
}

.search-targets > button {
  border-radius: 12px;
  transition: background-color .15s, transform .1s;
}

@media (max-width: 700px) {
  .search-dock, body:not(.nav-collapsed) .search-dock {
    width: calc(100% - 24px);
    height: 44px;
    padding: 0 14px;
    top: 14px;
  }
}

.image-math {
  width: min(460px, 100% - 25px) !important;
}

.advanced-tabs-nav {
  background: #0f172a99;
  border: 1px solid #ffffff14;
  border-radius: 8px;
  gap: 6px;
  margin-bottom: 20px;
  padding: 4px;
  display: flex;
  overflow-x: auto;
}

.adv-tab-btn {
  color: #94a3b8;
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border: 0;
  border-radius: 6px;
  flex: 1;
  min-width: fit-content;
  padding: 7px 10px;
  font-size: 11.5px;
  font-weight: 500;
  transition: all .15s;
}

.adv-tab-btn:hover {
  color: #f1f5f9;
  background: #ffffff0d;
}

.adv-tab-btn.active {
  color: #38bdf8;
  background: #38bdf81f;
  border: 1px solid #38bdf840;
  font-weight: 600;
}

.tab-pane {
  animation: .2s ease-out fadeIn;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(3px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.spectral-viewer {
  flex-direction: column;
  gap: 12px;
  display: flex;
}

.spectral-header {
  justify-content: space-between;
  align-items: flex-start;
  display: flex;
}

.spectral-header h3 {
  color: #f8fafc;
  margin: 3px 0 0;
  font-size: 16px;
  font-weight: 600;
}

.spectral-header h3 span {
  color: #94a3b8;
  margin-left: 6px;
  font-size: 12px;
  font-weight: 400;
}

.toggle-molecules {
  color: #94a3b8;
  cursor: pointer;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  display: flex;
}

.toggle-molecules input {
  accent-color: #38bdf8;
}

.spectral-chart-wrap {
  background: #090e17;
  border: 1px solid #1e293b;
  border-radius: 8px;
  width: 100%;
  padding: 6px;
  box-shadow: inset 0 2px 8px #00000080;
}

.spectral-svg {
  width: 100%;
  height: 180px;
  display: block;
}

.spectral-readout {
  color: #cbd5e1;
  background: #0f172a80;
  border: 1px solid #ffffff14;
  border-radius: 7px;
  padding: 10px 12px;
  font-size: 11.5px;
  line-height: 1.5;
}

.readout-active {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  display: flex;
}

.readout-badge {
  color: #0f172a;
  background: #f59e0b;
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 10px;
  font-weight: 700;
}

.readout-idle {
  color: #94a3b8;
  justify-content: space-between;
  font-size: 11px;
  display: flex;
}

.external-catalog-panel {
  flex-direction: column;
  gap: 14px;
  display: flex;
}

.catalog-header {
  justify-content: space-between;
  align-items: flex-start;
  display: flex;
}

.catalog-header h4 {
  color: #f8fafc;
  margin: 3px 0 0;
  font-size: 16px;
  font-weight: 600;
}

.catalog-toggles {
  gap: 8px;
  display: flex;
}

.catalog-pill {
  color: #94a3b8;
  cursor: pointer;
  background: #ffffff0a;
  border: 1px solid #ffffff1f;
  border-radius: 6px;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 600;
  transition: all .15s;
  display: flex;
}

.catalog-pill .dot {
  border-radius: 50%;
  width: 7px;
  height: 7px;
}

.gaia-dot {
  background: #38bdf8;
  box-shadow: 0 0 6px #38bdf8;
}

.wise-dot {
  background: #c084fc;
  box-shadow: 0 0 6px #c084fc;
}

.catalog-pill.gaia-pill.active {
  color: #e0f2fe;
  background: #38bdf826;
  border-color: #38bdf8;
}

.catalog-pill.wise-pill.active {
  color: #f3e8ff;
  background: #c084fc26;
  border-color: #c084fc;
}

.catalog-matches-list {
  flex-direction: column;
  gap: 10px;
  display: flex;
}

.catalog-match-card {
  background: #0f172a8c;
  border: 1px solid #ffffff14;
  border-radius: 8px;
  padding: 12px;
}

.gaia-card {
  border-left: 3px solid #38bdf8;
}

.wise-card {
  border-left: 3px solid #c084fc;
}

.match-card-top {
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  display: flex;
}

.mission-tag {
  text-transform: uppercase;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 9px;
  font-weight: 700;
}

.mission-tag.gaia {
  color: #fff;
  background: #0284c7;
}

.mission-tag.wise {
  color: #fff;
  background: #9333ea;
}

.match-name {
  color: #f1f5f9;
  flex: 1;
  font-size: 12.5px;
  font-weight: 600;
}

.match-jump-btn {
  color: #e2e8f0;
  cursor: pointer;
  background: #ffffff14;
  border: 1px solid #ffffff26;
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 10.5px;
}

.match-jump-btn:hover {
  color: #0f172a;
  background: #38bdf8;
}

.match-card-body {
  color: #94a3b8;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  display: flex;
}

.match-card-body strong {
  color: #e2e8f0;
}

.catalog-pin {
  z-index: 4;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  pointer-events: auto;
  cursor: pointer;
  background: #0f172ad9;
  border: 1px solid #fff3;
  border-radius: 12px;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  animation: 2s ease-in-out infinite pulsePin;
  display: flex;
  position: absolute;
  box-shadow: 0 4px 12px #00000080;
}

@keyframes pulsePin {
  0%, 100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.catalog-pin-dot {
  border-radius: 50%;
  width: 6px;
  height: 6px;
}

.catalog-pin-text {
  color: #f8fafc;
  letter-spacing: .03em;
  font-size: 10px;
  font-weight: 700;
}

.gaia-pin {
  border-color: #38bdf899;
}

.wise-pin {
  border-color: #c084fc99;
}

.overlay-toggle-btn {
  color: #94a3b8;
  font-size: 11px !important;
  font-weight: 700 !important;
}

.overlay-toggle-btn.active {
  color: #0f172a !important;
  background: #38bdf8 !important;
  border-color: #7dd3fc !important;
}

.metadata-panel {
  flex-direction: column;
  gap: 16px;
  display: flex;
}

.metadata-header h4 {
  color: #f8fafc;
  margin: 3px 0 0;
  font-size: 16px;
  font-weight: 600;
}

.metadata-grid {
  flex-direction: column;
  gap: 14px;
  display: flex;
}

.metadata-section {
  background: #0f172a8c;
  border: 1px solid #ffffff14;
  border-radius: 8px;
  padding: 12px;
}

.metadata-section h5 {
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #38bdf8;
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
}

.metadata-section dl {
  flex-direction: column;
  gap: 8px;
  margin: 0;
  display: flex;
}

.metadata-section dl > div {
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  font-size: 11px;
  display: flex;
}

.metadata-section dt {
  color: #94a3b8;
  white-space: nowrap;
}

.metadata-section dd {
  text-align: right;
  color: #e2e8f0;
  margin: 0;
}

.quality-pill {
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 10px;
  font-weight: 600;
}

.quality-pill.nominal {
  color: #4ade80;
  background: #22c55e26;
  border: 1px solid #4ade804d;
}

.flags-list {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
  display: flex;
}

.flag-badge {
  color: #cbd5e1;
  background: #ffffff0d;
  border: 1px solid #ffffff1a;
  border-radius: 3px;
  padding: 1px 5px;
  font-size: 9.5px;
}

.wcs-code code {
  color: #a5b4fc;
  text-align: right;
  font-family: monospace;
  font-size: 10px;
  display: block;
}

.band-compare-panel {
  flex-direction: column;
  gap: 14px;
  display: flex;
}

.compare-header h4 {
  color: #f8fafc;
  margin: 3px 0 0;
  font-size: 16px;
  font-weight: 600;
}

.compare-subtitle {
  color: #94a3b8;
  margin: 4px 0 0;
  font-size: 11px;
  line-height: 1.5;
}

.compare-presets-section {
  background: #080e1cb3;
  border: 1px solid #ffffff14;
  border-radius: 8px;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  display: flex;
}

.presets-label {
  letter-spacing: 1px;
  color: #7dd3fc;
  font-size: 9px;
  font-weight: 700;
}

.compare-preset-pills {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}

.preset-pill {
  color: #cbd5e1;
  cursor: pointer;
  white-space: nowrap;
  background: #0f172ad9;
  border: 1px solid #38bdf840;
  border-radius: 6px;
  padding: 5px 8px;
  font-size: 10px;
  transition: all .16s;
}

.preset-pill:hover {
  color: #f0f9ff;
  background: #38bdf826;
  border-color: #38bdf8;
  transform: translateY(-1px);
}

.preset-pill.active {
  color: #fff;
  background: linear-gradient(135deg, #38bdf840, #c084fc33);
  border-color: #38bdf8;
  box-shadow: 0 0 10px #38bdf84d;
}

.compare-channels-card {
  background: #080e1cb3;
  border: 1px solid #ffffff14;
  border-radius: 10px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 10px;
  display: grid;
}

.channel-box {
  background: #0f172ad9;
  border: 1px solid #ffffff1a;
  border-radius: 8px;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 8px 10px;
  display: flex;
}

.channel-box.channel-a {
  border-left: 3px solid #38bdf8;
}

.channel-box.channel-b {
  border-left: 3px solid #fbbf24;
}

.channel-box-header {
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  display: flex;
}

.channel-tag {
  letter-spacing: .8px;
  white-space: nowrap;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 8.5px;
  font-weight: 700;
}

.channel-tag.tag-a {
  color: #38bdf8;
  background: #38bdf826;
  border: 1px solid #38bdf84d;
}

.channel-tag.tag-b {
  color: #fbbf24;
  background: #fbbf2426;
  border: 1px solid #fbbf244d;
}

.channel-wl {
  color: #e2e8f0;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 600;
}

.channel-box select {
  color: #f1f5f9;
  cursor: pointer;
  background: #0b1526;
  border: 1px solid #ffffff24;
  border-radius: 6px;
  outline: none;
  width: 100%;
  padding: 6px 8px;
  font-size: 11.5px;
}

.channel-box select:focus {
  border-color: #38bdf8;
}

.channel-stats {
  color: #94a3b8;
  justify-content: space-between;
  font-size: 9.5px;
  display: flex;
}

.channel-stats strong {
  color: #cbd5e1;
}

.channel-swap-col {
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 4px;
  display: flex;
}

.swap-btn {
  color: #94a3b8;
  cursor: pointer;
  background: #1e293bcc;
  border: 1px solid #ffffff26;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  font-size: 13px;
  transition: all .2s;
  display: flex;
}

.swap-btn:hover {
  color: #38bdf8;
  background: #38bdf833;
  border-color: #38bdf8;
  transform: rotate(180deg);
}

.ratio-display {
  text-align: center;
  flex-direction: column;
  align-items: center;
  display: flex;
}

.ratio-display .metric-title {
  letter-spacing: .5px;
  color: #7dd3fc;
  white-space: nowrap;
  font-size: 7.5px;
  font-weight: 700;
}

.ratio-num {
  color: #f8fafc;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.1;
}

.ratio-delta {
  color: #4ade80;
  font-size: 9px;
  font-weight: 600;
}

.compare-mode-tabs {
  background: #050810cc;
  border: 1px solid #ffffff14;
  border-radius: 8px;
  gap: 6px;
  padding: 4px;
  display: flex;
}

.mode-tab-btn {
  color: #94a3b8;
  cursor: pointer;
  text-align: center;
  background: none;
  border: 0;
  border-radius: 5px;
  flex: 1;
  padding: 6px 8px;
  font-size: 10.5px;
  font-weight: 500;
  transition: all .16s;
}

.mode-tab-btn:hover {
  color: #e2e8f0;
  background: #ffffff0d;
}

.mode-tab-btn.active {
  color: #38bdf8;
  background: #38bdf833;
  font-weight: 600;
  box-shadow: 0 0 10px #38bdf833;
}

.split-comparison-container {
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
  display: flex;
}

.split-viewport {
  border: 1px solid #ffffff26;
  border-radius: 8px;
  height: 120px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px #0006;
}

.split-layer {
  align-items: flex-end;
  padding: 8px 10px;
  display: flex;
  position: absolute;
  inset: 0;
}

.split-layer-label {
  color: #fff;
  text-shadow: 0 1px 3px #000c;
  font-size: 10px;
  font-weight: 700;
}

.split-layer-label.right {
  margin-left: auto;
}

.split-divider-line {
  pointer-events: none;
  background: #fff;
  width: 2px;
  position: absolute;
  top: 0;
  bottom: 0;
  box-shadow: 0 0 8px #fffc;
}

.split-slider-ctrl {
  color: #94a3b8;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  display: flex;
}

.split-slider-ctrl input[type="range"] {
  accent-color: #38bdf8;
  flex: 1;
}

.blink-comparator-container {
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
  display: flex;
}

.blink-viewport {
  border: 1px solid #ffffff26;
  border-radius: 8px;
  align-items: flex-end;
  height: 120px;
  padding: 8px 10px;
  transition: background .15s;
  display: flex;
  overflow: hidden;
  box-shadow: 0 4px 15px #0006;
}

.blink-phase-indicator .blink-tag {
  color: #fff;
  text-shadow: 0 1px 3px #000;
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
}

.blink-tag.active-a {
  background: #38bdf8cc;
}

.blink-tag.active-b {
  background: #fbbf24d9;
}

.blink-controls-row {
  align-items: center;
  gap: 8px;
  display: flex;
}

.blink-toggle-btn {
  color: #f1f5f9;
  cursor: pointer;
  background: #1e293b;
  border: 1px solid #38bdf84d;
  border-radius: 6px;
  flex: 1;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 600;
  transition: all .16s;
}

.blink-toggle-btn.is-blinking {
  color: #38bdf8;
  background: #38bdf840;
  border-color: #38bdf8;
  box-shadow: 0 0 12px #38bdf84d;
}

.blink-speed-select label {
  color: #94a3b8;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  display: flex;
}

.blink-speed-select select {
  color: #e2e8f0;
  background: #0f172a;
  border: 1px solid #ffffff24;
  border-radius: 4px;
  padding: 4px 6px;
  font-size: 10px;
}

.blink-manual-btn {
  color: #cbd5e1;
  cursor: pointer;
  background: #0f172a;
  border: 1px solid #ffffff24;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 10px;
}

.composite-container {
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
  display: flex;
}

.composite-viewport {
  border: 1px solid #ffffff26;
  border-radius: 8px;
  align-items: flex-end;
  height: 120px;
  padding: 8px 10px;
  display: flex;
  overflow: hidden;
  box-shadow: 0 4px 15px #0006;
}

.composite-legend {
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background: #000000b3;
  border-radius: 5px;
  flex-direction: column;
  gap: 3px;
  padding: 5px 8px;
  display: flex;
}

.legend-chip {
  font-size: 9.5px;
  font-weight: 600;
}

.diagnostic-card {
  background: #0f172ad9;
  border: 1px solid #ffffff1a;
  border-radius: 8px;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  display: flex;
}

.diagnostic-header {
  color: #f8fafc;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  display: flex;
}

.diagnostic-badge {
  letter-spacing: .8px;
  border: 1px solid;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 8.5px;
  font-weight: 700;
}

.diagnostic-body {
  color: #94a3b8;
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
}

.compare-apply-actions {
  border-top: 1px solid #ffffff14;
  flex-direction: column;
  gap: 6px;
  padding-top: 8px;
  display: flex;
}

.actions-label {
  letter-spacing: 1px;
  color: #7dd3fc;
  font-size: 9px;
  font-weight: 700;
}

.action-buttons-row {
  gap: 6px;
  display: flex;
}

.apply-btn {
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  border: 1px solid #0000;
  border-radius: 6px;
  flex: 1;
  padding: 7px 8px;
  font-size: 10.5px;
  font-weight: 600;
  transition: all .16s;
}

.apply-btn.apply-a {
  color: #38bdf8;
  background: #38bdf826;
  border-color: #38bdf866;
}

.apply-btn.apply-a:hover {
  color: #fff;
  background: #38bdf840;
}

.apply-btn.apply-b {
  color: #fbbf24;
  background: #fbbf2426;
  border-color: #fbbf2466;
}

.apply-btn.apply-b:hover {
  color: #fff;
  background: #fbbf2440;
}

.apply-btn.apply-both {
  color: #c084fc;
  background: #c084fc26;
  border-color: #c084fc66;
}

.apply-btn.apply-both:hover {
  color: #fff;
  background: #c084fc40;
}

.apply-feedback-pill {
  color: #4ade80;
  text-align: center;
  background: #4ade801a;
  border: 1px solid #4ade8040;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 10px;
}

.target-icon-badge {
  background: #0f172abf;
  border: 1px solid #ffffff1f;
  border-radius: 9px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  transition: all .2s;
  display: flex;
  box-shadow: 0 2px 6px #0006;
}

.search-targets > button:hover .target-icon-badge {
  border-color: #ffffff4d;
  transform: scale(1.08);
}

.brown-dwarf-badge {
  background: radial-gradient(circle at 35% 35%, #c084fc40, #0f172ad9);
  border-color: #c084fc59;
}

.motion-star-badge {
  background: radial-gradient(circle at 35% 35%, #38bdf840, #0f172ad9);
  border-color: #38bdf859;
}

.variable-star-badge {
  background: radial-gradient(circle at 35% 35%, #fbbf2440, #0f172ad9);
  border-color: #fbbf2459;
}

.search-history-container {
  border-bottom: 1px solid #ffffff14;
  margin-bottom: 16px;
  padding-bottom: 14px;
}

.search-history-header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  display: flex;
}

.clear-history-button {
  color: #94a3b8;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 4px;
  padding: 3px 6px;
  font-size: 11px;
  transition: all .15s;
}

.clear-history-button:hover {
  color: #f87171;
  background: #f871711f;
}

.search-history-list {
  flex-direction: column;
  gap: 4px;
  display: flex;
}

.search-history-row {
  border-radius: 10px;
  align-items: center;
  gap: 6px;
  transition: background .15s;
  display: flex;
}

.search-history-row:hover {
  background: #ffffff0f;
}

.history-entry-button {
  text-align: left;
  color: inherit;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 8px;
  flex: 1;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  display: flex;
}

.history-text strong {
  color: #f1f5f9;
  font-size: 12.5px;
  font-weight: 600;
  display: block;
}

.history-text small {
  color: #94a3b8;
  margin-top: 2px;
  font-size: 10px;
  display: block;
}

.history-jump {
  color: #64748b;
  margin-left: auto;
  padding-right: 4px;
  font-size: 12px;
}

.history-entry-button:hover .history-jump {
  color: #38bdf8;
}

.history-delete-btn {
  color: #64748b;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  margin-right: 6px;
  font-size: 11px;
  transition: all .15s;
  display: flex;
}

.history-delete-btn:hover {
  color: #f87171;
  background: #f8717126;
}

.coord-badge {
  background: radial-gradient(circle at 35% 35%, #38bdf833, #0f172ad9) !important;
  border-color: #38bdf84d !important;
}

:root {
  --space-void: #02040a;
  --space-obsidian: #050813;
  --space-obsidian-glass: #050810eb;
  --space-card: #080c16d1;
  --space-border: #ffffff1f;
  --space-border-active: #38bdf873;
  --space-cyan: #38bdf8;
  --space-cyan-glow: #38bdf859;
  --space-purple: #c084fc;
  --space-purple-glow: #c084fc59;
  --space-amber: #fbbf24;
  --space-amber-glow: #fbbf2459;
  --space-ruby: #f43f5e;
  --space-ruby-glow: #f43f5e73;
  --space-starlight: #f8fafc;
  --muted: #94a3b8;
  --blue: #38bdf8;
}

body {
  color: #f1f5f9 !important;
  background-color: #02040a !important;
}

main {
  background: radial-gradient(circle at 50% 30%, #060c18 0%, #02040a 70%) !important;
}

.sky {
  background: #010307 !important;
}

.topbar {
  background: #04070ef2 !important;
  border-bottom: 1px solid #38bdf826 !important;
}

.nasa {
  background: #071536 !important;
  box-shadow: 0 0 16px #38bdf840, 0 4px 12px #000c !important;
}

.floating-nasa .nasa {
  background: #071536 !important;
  box-shadow: 0 0 18px #38bdf840, 0 4px 15px #000000b3 !important;
}

.map-title {
  color: #e2e8f0 !important;
  text-shadow: 0 1px 4px #000000e6 !important;
  font-family: Space Grotesk, sans-serif !important;
}

.map-title > .live-dot {
  background: #38bdf8 !important;
  box-shadow: 0 0 10px #38bdf8, 0 0 20px #38bdf899 !important;
}

.map-title .badge {
  color: #7dd3fc !important;
  text-shadow: 0 0 8px #38bdf866 !important;
  -webkit-backdrop-filter: blur(8px) !important;
  backdrop-filter: blur(8px) !important;
  background: #060a14d9 !important;
  border: 1px solid #38bdf847 !important;
}

.map-coordinate {
  color: #94a3b8 !important;
  -webkit-backdrop-filter: blur(14px) !important;
  backdrop-filter: blur(14px) !important;
  letter-spacing: 1.2px !important;
  background: #050810d9 !important;
  border: 1px solid #38bdf840 !important;
  border-radius: 7px !important;
  align-items: center !important;
  padding: 5px 12px !important;
  display: flex !important;
  box-shadow: 0 4px 18px #0009 !important;
}

.map-coordinate span {
  color: #38bdf8 !important;
  text-shadow: 0 0 10px #38bdf866 !important;
  font-weight: 600 !important;
}

.map-tools {
  -webkit-backdrop-filter: blur(16px) !important;
  backdrop-filter: blur(16px) !important;
  background: #050810eb !important;
  border: 1px solid #ffffff24 !important;
  border-radius: 9px !important;
  box-shadow: 0 8px 32px #000000bf, 0 0 18px #38bdf81a !important;
}

.map-tools button {
  color: #94a3b8 !important;
  justify-content: center !important;
  align-items: center !important;
  width: 38px !important;
  height: 38px !important;
  transition: all .18s !important;
  display: flex !important;
}

.map-tools button svg {
  pointer-events: none !important;
  display: block !important;
}

.map-tools button:hover {
  color: #38bdf8 !important;
  background: #38bdf829 !important;
}

.map-tools span {
  background: #ffffff1a !important;
}

.map-tools button[aria-pressed="true"] {
  color: #38bdf8 !important;
  background: #38bdf826 !important;
}

.overlay-toggle-btn.active {
  color: #020617 !important;
  background: linear-gradient(135deg, #0284c7, #38bdf8) !important;
  border-color: #7dd3fc !important;
  box-shadow: 0 0 12px #38bdf899 !important;
}

.rotary-console .zoom-section.map-zoom-controls {
  -webkit-backdrop-filter: blur(16px) !important;
  backdrop-filter: blur(16px) !important;
  background: #050810eb !important;
  border: 1px solid #ffffff24 !important;
  box-shadow: 0 8px 30px #000000bf, 0 0 16px #38bdf81a !important;
}

.map-zoom-controls button {
  color: #94a3b8 !important;
}

.map-zoom-controls button:hover:not(:disabled) {
  color: #38bdf8 !important;
  background: #38bdf829 !important;
}

.map-zoom-controls button:active:not(:disabled) {
  color: #fff !important;
  background: #38bdf84d !important;
}

.map-zoom-controls .zoom-divider {
  background: #ffffff1a !important;
}

.crosshair {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 18px #38bdf873, inset 0 0 10px #38bdf840 !important;
}

.crosshair:before, .crosshair:after {
  background: #7dd3fc !important;
  box-shadow: 0 0 8px #38bdf8 !important;
}

.object-label > div {
  -webkit-backdrop-filter: blur(14px) !important;
  backdrop-filter: blur(14px) !important;
  background: linear-gradient(90deg, #050810f0, #0508108c) !important;
  border-left: 2px solid #38bdf8 !important;
  border-radius: 0 8px 8px 0 !important;
  box-shadow: 0 6px 24px #000000bf, 0 0 15px #38bdf826 !important;
}

.object-type {
  color: #38bdf8 !important;
  letter-spacing: 1.5px !important;
  text-shadow: 0 0 8px #38bdf866 !important;
}

.object-label strong {
  color: #f8fafc !important;
  font-family: Space Grotesk, sans-serif !important;
}

.band-control > #bands-toggle {
  -webkit-backdrop-filter: blur(16px) !important;
  backdrop-filter: blur(16px) !important;
  color: #e2e8f0 !important;
  background: #050810eb !important;
  border: 1px solid #ffffff24 !important;
  box-shadow: 0 8px 25px #000000b3, 0 0 18px #c084fc1f !important;
}

.band-control > #bands-toggle:hover, .band-control > #bands-toggle[aria-expanded="true"] {
  background: #0a0f1cf5 !important;
  border-color: #c084fc80 !important;
  box-shadow: 0 0 20px #c084fc38 !important;
}

#bands-button-value {
  color: #c084fc !important;
  text-shadow: 0 0 8px #c084fc73 !important;
  background: #c084fc2e !important;
  border: 1px solid #c084fc73 !important;
}

.band-modes button {
  color: #94a3b8 !important;
  background: #ffffff0d !important;
  border: 1px solid #ffffff1a !important;
  transition: all .15s !important;
}

.band-modes button[aria-pressed="true"] {
  color: #f8fafc !important;
  background: linear-gradient(135deg, #a855f759, #38bdf840) !important;
  border-color: #a855f780 !important;
  box-shadow: 0 0 14px #a855f74d !important;
}

.detector-card {
  background: #0f172aa6 !important;
  border: 1px solid #ffffff14 !important;
}

.detector-card[aria-pressed="true"] {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 16px #38bdf859 !important;
}

.image-math-toggle {
  -webkit-backdrop-filter: blur(16px) !important;
  backdrop-filter: blur(16px) !important;
  color: #e2e8f0 !important;
  background: #050810eb !important;
  border: 1px solid #ffffff24 !important;
  box-shadow: 0 6px 20px #000000b3, 0 0 16px #38bdf81a !important;
}

.image-math {
  -webkit-backdrop-filter: blur(28px) !important;
  backdrop-filter: blur(28px) !important;
  background: #03060df7 !important;
  border-right: 1px solid #38bdf838 !important;
  box-shadow: 20px 0 60px #000000e6, 0 0 40px #38bdf814 !important;
}

.image-math header {
  border-bottom: 1px solid #ffffff1a !important;
}

.image-math header button {
  color: #e2e8f0 !important;
  background: #ffffff14 !important;
  border: 1px solid #ffffff1f !important;
}

.image-math header button:hover {
  color: #38bdf8 !important;
  background: #ffffff26 !important;
  border-color: #38bdf873 !important;
}

.rotary-console .time-section #time-knob, .rotary-console .time-section .half-dial {
  color: #f59e0b !important;
}

.rotary-console .time-section .half-indicator {
  color: #fbbf24 !important;
  filter: drop-shadow(0 0 8px #fbbf24b3) !important;
}

.rotary-console .time-section .half-readout {
  color: #fef3c7 !important;
  text-shadow: 0 2px 10px #000, 0 0 16px #f59e0b73 !important;
}

.rotary-console .time-section .half-readout small {
  color: #d97706 !important;
  letter-spacing: 2px !important;
}

.speed-section .half-dial {
  color: #38bdf8 !important;
}

.speed-section .half-indicator {
  color: #38bdf8 !important;
  filter: drop-shadow(0 0 8px #38bdf8b3) !important;
}

.speed-section .half-readout {
  color: #e0f2fe !important;
  text-shadow: 0 2px 10px #000, 0 0 16px #38bdf873 !important;
}

.speed-section .half-readout small {
  color: #0284c7 !important;
  letter-spacing: 2px !important;
}

.playback-buttons > button:not(.play):not(.loop) {
  color: #cbd5e1 !important;
  background: #060a14d9 !important;
  border: 1px solid #ffffff1f !important;
  border-radius: 6px !important;
  transition: all .15s !important;
}

.playback-buttons > button:not(.play):not(.loop):hover {
  color: #38bdf8 !important;
  background: #38bdf829 !important;
  border-color: #38bdf866 !important;
}

.playback-buttons .play {
  color: #fff !important;
  background: linear-gradient(135deg, #f43f5e, #f97316) !important;
  border: 1px solid #fb7185 !important;
  transition: transform .15s, box-shadow .15s !important;
  box-shadow: 0 0 18px #f43f5e99, 0 4px 14px #000000b3 !important;
}

.playback-buttons .play:hover {
  transform: scale(1.08) !important;
  box-shadow: 0 0 26px #f43f5ed9 !important;
}

.playback-buttons .loop {
  color: #94a3b8 !important;
  transition: all .15s !important;
}

.playback-buttons .loop.active {
  color: #38bdf8 !important;
  text-shadow: 0 0 10px #38bdf8b3 !important;
}

.search-dock, body:not(.nav-collapsed) .search-dock {
  background: linear-gradient(135deg, #ffffff0d 0%, #ffffff03 100%), #04070ef0 !important;
  border: 1px solid #ffffff1f !important;
  box-shadow: inset 0 1px 1px #ffffff26, 0 8px 30px #000c, 0 0 15px #38bdf814 !important;
}

.search-dock:focus-within, .search-dock.is-searching, body:not(.nav-collapsed) .search-dock:focus-within, body:not(.nav-collapsed) .search-dock.is-searching {
  background: linear-gradient(135deg, #ffffff14 0%, #ffffff05 100%), #02050bfa !important;
  border-color: #38bdf880 !important;
  box-shadow: inset 0 1px 1.5px #ffffff40, 0 0 0 3px #38bdf833, 0 16px 48px #000000d9, 0 0 25px #38bdf826 !important;
}

.search-dock:has(input:not(:placeholder-shown)) {
  background: linear-gradient(135deg, #ffffff14 0%, #ffffff05 100%), #02050bfa !important;
  border-color: #38bdf880 !important;
  box-shadow: inset 0 1px 1.5px #ffffff40, 0 0 0 3px #38bdf833, 0 16px 48px #000000d9, 0 0 25px #38bdf826 !important;
}

.search-glass-icon {
  color: #38bdf8 !important;
}

.search-options {
  background: linear-gradient(145deg, #ffffff12 0%, #ffffff03 100%), #04070ef2 !important;
  border: 1px solid #ffffff24 !important;
  box-shadow: inset 0 1px 1px #fff3, 0 24px 60px #000000d9, 0 0 30px #38bdf814 !important;
}

.search-options .eyebrow {
  color: #38bdf8 !important;
  letter-spacing: 2px !important;
  text-shadow: 0 0 8px #38bdf866 !important;
  font-weight: 700 !important;
}

.search-coordinate-hint {
  color: #94a3b8 !important;
  border-top-color: #ffffff1a !important;
}

.search-targets > button:hover {
  background: linear-gradient(90deg, #38bdf81f, #a855f714) !important;
}

.map-top {
  pointer-events: none !important;
  z-index: 6 !important;
  justify-content: space-between !important;
  align-items: center !important;
  display: flex !important;
  position: absolute !important;
  top: 20px !important;
  left: 20px !important;
  right: 20px !important;
}

.map-top-left {
  pointer-events: auto !important;
  align-items: center !important;
  gap: 12px !important;
  display: flex !important;
}

.map-title {
  -webkit-backdrop-filter: blur(16px) !important;
  backdrop-filter: blur(16px) !important;
  color: #e2e8f0 !important;
  letter-spacing: 1.2px !important;
  pointer-events: auto !important;
  background: #060a14e0 !important;
  border: 1px solid #ffffff24 !important;
  border-radius: 9px !important;
  align-items: center !important;
  height: 38px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  font-family: Space Grotesk, sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  box-shadow: 0 4px 18px #0009 !important;
}

.map-title > .live-dot {
  background: #38bdf8 !important;
  margin-right: 9px !important;
  box-shadow: 0 0 10px #38bdf8, 0 0 18px #38bdf899 !important;
}

.map-title .badge {
  color: #7dd3fc !important;
  letter-spacing: 1px !important;
  background: #38bdf81f !important;
  border: 1px solid #38bdf84d !important;
  border-radius: 4px !important;
  margin-left: 9px !important;
  padding: 3px 7px !important;
  font-size: 9px !important;
}

.image-math-toggle {
  -webkit-backdrop-filter: blur(16px) !important;
  backdrop-filter: blur(16px) !important;
  color: #cbd5e1 !important;
  letter-spacing: .3px !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  background: #060a14e0 !important;
  border: 1px solid #ffffff24 !important;
  border-radius: 9px !important;
  align-items: center !important;
  gap: 7px !important;
  height: 38px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  font-family: Space Grotesk, sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
  transition: all .2s !important;
  display: inline-flex !important;
  position: static !important;
  box-shadow: 0 4px 18px #0009 !important;
}

.image-math-toggle:hover {
  color: #38bdf8 !important;
  background: #38bdf826 !important;
  border-color: #38bdf873 !important;
  box-shadow: 0 0 18px #38bdf840 !important;
}

.map-coordinate, .map-top-left .map-coordinate {
  color: #94a3b8 !important;
  -webkit-backdrop-filter: blur(16px) !important;
  backdrop-filter: blur(16px) !important;
  letter-spacing: 1.2px !important;
  z-index: 6 !important;
  pointer-events: none !important;
  background: #050810e0 !important;
  border: 1px solid #38bdf847 !important;
  border-radius: 9px !important;
  align-items: center !important;
  height: 38px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  font-size: 11px !important;
  display: inline-flex !important;
  position: static !important;
  box-shadow: 0 4px 18px #0009 !important;
}

@media (max-width: 900px) {
  .map-title {
    display: none !important;
  }
}

.math-band-picker-container {
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  background: #060a14bf;
  border: 1px solid #ffffff1f;
  border-radius: 12px;
  margin: 18px 0;
  padding: 14px;
  box-shadow: 0 4px 20px #00000080;
}

.math-picker-header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  display: flex;
}

.math-active-count {
  color: #38bdf8;
  letter-spacing: .5px;
  background: #38bdf826;
  border: 1px solid #38bdf84d;
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
}

.band-date-picker {
  flex-direction: column;
  gap: 10px;
  display: flex;
}

.picker-detector-header {
  background: #0f172aa6;
  border: 1px solid #ffffff14;
  border-radius: 8px;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  display: flex;
}

.picker-nav-btn {
  color: #cbd5e1;
  cursor: pointer;
  background: #ffffff0f;
  border: 1px solid #ffffff1f;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  font-size: 16px;
  line-height: 1;
  transition: all .15s;
  display: flex;
}

.picker-nav-btn:hover {
  color: #38bdf8;
  background: #38bdf833;
  border-color: #38bdf866;
}

.picker-detector-title {
  text-align: center;
  flex-direction: column;
  align-items: center;
  display: flex;
}

.picker-detector-title strong {
  color: #f8fafc;
  font-family: Space Grotesk, sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.picker-detector-title small {
  color: #94a3b8;
  letter-spacing: .3px;
  font-size: 10px;
}

.picker-detector-strip {
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  display: grid;
}

.picker-det-tab {
  color: #94a3b8;
  cursor: pointer;
  background: #ffffff0a;
  border: 1px solid #ffffff14;
  border-radius: 6px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 6px 2px;
  transition: all .15s;
  display: flex;
  position: relative;
}

.picker-det-tab:hover {
  color: #f1f5f9;
  background: #ffffff14;
}

.picker-det-tab.active {
  color: #38bdf8;
  background: #38bdf829;
  border-color: #38bdf8;
  font-weight: 700;
  box-shadow: 0 0 10px #38bdf840;
}

.det-tab-num {
  font-size: 11px;
}

.det-tab-badge {
  color: #e0f2fe;
  background: #38bdf84d;
  border-radius: 3px;
  margin-top: 2px;
  padding: 1px 4px;
  font-size: 8px;
  font-weight: 600;
}

.picker-det-tab.active .det-tab-badge {
  color: #020617;
  background: #38bdf8;
}

.picker-bands-grid {
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
  margin: 4px 0;
  display: grid;
}

.picker-band-cell {
  color: #94a3b8;
  cursor: pointer;
  background: #ffffff08;
  border: 1px solid #ffffff14;
  border-radius: 6px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 6px 2px;
  transition: all .15s;
  display: flex;
}

.picker-band-cell:hover {
  color: #f1f5f9;
  background: #38bdf81a;
  border-color: #38bdf84d;
  transform: translateY(-1px);
}

.picker-band-cell.selected {
  color: #fff;
  background: linear-gradient(135deg, #38bdf84d, #a855f740);
  border-color: #38bdf8;
  box-shadow: 0 0 10px #38bdf859;
}

.picker-band-local {
  font-family: Space Grotesk, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
}

.picker-band-wl {
  opacity: .85;
  margin-top: 2px;
  font-size: 8.5px;
}

.picker-band-global {
  opacity: .6;
  font-family: monospace;
  font-size: 7.5px;
}

.picker-band-cell.selected .picker-band-global {
  opacity: .9;
  color: #e0f2fe;
}

.picker-actions-bar {
  gap: 8px;
  margin-top: 4px;
  display: flex;
}

.picker-action-btn {
  color: #cbd5e1;
  cursor: pointer;
  text-align: center;
  background: #ffffff0d;
  border: 1px solid #ffffff1a;
  border-radius: 6px;
  flex: 1;
  padding: 6px 8px;
  font-size: 10.5px;
  font-weight: 500;
  transition: all .15s;
}

.picker-action-btn:hover {
  color: #38bdf8;
  background: #38bdf826;
  border-color: #38bdf859;
}

.survey-all-btn {
  color: #c084fc;
  background: #a855f71f;
  border-color: #a855f74d;
}

.survey-all-btn:hover {
  color: #f3e8ff;
  background: #a855f738;
  border-color: #a855f780;
}

.picker-selection-summary {
  color: #94a3b8;
  border-top: 1px solid #ffffff14;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  font-size: 10px;
  display: flex;
}

.picker-selection-summary strong {
  color: #38bdf8;
}

.picker-det-summary {
  color: #c084fc;
  font-weight: 600;
}

.image-math-backdrop {
  z-index: 99 !important;
  -webkit-backdrop-filter: blur(4px) !important;
  backdrop-filter: blur(4px) !important;
  background: #000000a6 !important;
  position: fixed !important;
  inset: 0 !important;
}

.image-math {
  z-index: 100 !important;
  background: #060b14 !important;
  border-right: 1px solid #38bdf840 !important;
  flex-direction: column !important;
  width: min(500px, 100% - 30px) !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  padding: 0 !important;
  display: flex !important;
  position: fixed !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  overflow: hidden !important;
  box-shadow: 20px 0 60px #000000f2, 0 0 40px #38bdf81f !important;
}

.image-math header {
  z-index: 2 !important;
  background: #060b14 !important;
  border-bottom: 1px solid #ffffff14 !important;
  flex-shrink: 0 !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 20px 24px 16px !important;
  display: flex !important;
}

.image-math .advanced-tabs-nav {
  z-index: 2 !important;
  flex-shrink: 0 !important;
  margin: 14px 24px 8px !important;
}

.advanced-drawer-content {
  overscroll-behavior: contain !important;
  scroll-behavior: smooth !important;
  scrollbar-width: thin !important;
  scrollbar-color: #38bdf859 #080e1c66 !important;
  flex: 1 !important;
  min-height: 0 !important;
  padding: 8px 24px 36px !important;
  overflow: hidden auto !important;
}

.advanced-drawer-content::-webkit-scrollbar {
  width: 6px !important;
}

.advanced-drawer-content::-webkit-scrollbar-track {
  background: #060b1480 !important;
  border-radius: 999px !important;
}

.advanced-drawer-content::-webkit-scrollbar-thumb {
  background: #38bdf859 !important;
  border: 1px solid #ffffff0f !important;
  border-radius: 999px !important;
}

.advanced-drawer-content::-webkit-scrollbar-thumb:hover {
  background: #38bdf8b3 !important;
  box-shadow: 0 0 10px #38bdf880 !important;
}

#bands-panel.bands-large-screen {
  -webkit-backdrop-filter: blur(32px) saturate(180%) !important;
  backdrop-filter: blur(32px) saturate(180%) !important;
  z-index: 60 !important;
  scrollbar-width: thin !important;
  scrollbar-color: #c084fc59 #080e1c66 !important;
  background: #050810f5 !important;
  border: 1px solid #c084fc52 !important;
  border-radius: 16px !important;
  width: min(800px, 100vw - 120px) !important;
  max-width: none !important;
  max-height: calc(100dvh - 110px) !important;
  padding: 20px 24px 16px !important;
  position: fixed !important;
  inset: auto auto 64px 50% !important;
  overflow-y: auto !important;
  transform: translateX(-50%) !important;
  box-shadow: 0 24px 60px #000000f2, 0 0 35px #c084fc26 !important;
}

.band-picker-large-view {
  flex-direction: column !important;
  gap: 14px !important;
  margin-top: 6px !important;
  display: flex !important;
}

.picker-bands-grid.large-grid {
  grid-template-columns: repeat(6, 1fr) !important;
  gap: 8px !important;
  margin: 6px 0 !important;
  display: grid !important;
}

.picker-bands-grid.large-grid .picker-band-cell {
  color: #94a3b8 !important;
  cursor: pointer !important;
  background: #ffffff0a !important;
  border: 1px solid #ffffff1a !important;
  border-radius: 8px !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  min-height: 56px !important;
  padding: 8px 4px !important;
  transition: all .18s !important;
  display: flex !important;
  position: relative !important;
}

.picker-bands-grid.large-grid .picker-band-cell input {
  opacity: 0 !important;
  cursor: pointer !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  position: absolute !important;
  inset: 0 !important;
}

.picker-bands-grid.large-grid .picker-band-cell:hover {
  color: #f1f5f9 !important;
  background: #38bdf824 !important;
  border-color: #38bdf873 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px #00000080 !important;
}

.picker-bands-grid.large-grid .picker-band-cell.selected {
  color: #fff !important;
  background: linear-gradient(135deg, #38bdf859, #c084fc4d) !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 0 14px #38bdf866, inset 0 1px #fff3 !important;
}

.picker-bands-grid.large-grid .picker-band-local {
  font-family: Space Grotesk, sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
}

.picker-bands-grid.large-grid .picker-band-wl {
  opacity: .9 !important;
  margin-top: 3px !important;
  font-size: 10px !important;
}

.picker-bands-grid.large-grid .picker-band-global {
  opacity: .7 !important;
  font-family: monospace !important;
  font-size: 8.5px !important;
}

.picker-bands-grid.large-grid .picker-band-cell.selected .picker-band-global {
  opacity: 1 !important;
  color: #e0f2fe !important;
}

.band-stack-large-view {
  flex-direction: column;
  gap: 16px;
  padding: 16px 0;
  display: flex;
}

@media (max-width: 900px) {
  #bands-panel.bands-large-screen {
    width: calc(100vw - 24px) !important;
    padding: 16px !important;
    right: -12px !important;
  }

  .picker-bands-grid.large-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 6px !important;
  }
}

.picker-bands-grid .picker-band-cell span, .picker-bands-grid.large-grid .picker-band-cell span {
  pointer-events: none !important;
}

.picker-bands-grid .picker-band-cell input, .picker-bands-grid.large-grid .picker-band-cell input {
  opacity: 0 !important;
  cursor: pointer !important;
  z-index: 2 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  position: absolute !important;
  inset: 0 !important;
}

.image-math.is-open {
  background: #060b14 !important;
  box-shadow: 15px 0 45px #000000d9 !important;
}

:is(body:has(#image-math-sidebar.is-open) .map-coordinate, body:has(#image-math-sidebar.is-open) .image-math-toggle) {
  visibility: hidden !important;
}

html, body, main, .sky {
  height: 100dvh !important;
  min-height: 0 !important;
  max-height: 100dvh !important;
  overflow: hidden !important;
}

@media (max-height: 850px) {
  .rotary-console .time-section.half-section, .rotary-console .speed-section.half-section, .rotary-console .playback-panel {
    transform-origin: bottom !important;
    transform: translateX(-50%) scale(.84) !important;
  }

  .map-bottom {
    font-size: 10px !important;
    bottom: 8px !important;
  }

  .band-control {
    bottom: 14px !important;
  }

  .band-control > #bands-toggle {
    height: 38px !important;
    padding: 6px 10px !important;
  }

  #bands-panel.bands-large-screen {
    max-height: calc(100dvh - 90px) !important;
    padding: 14px 18px 12px !important;
    bottom: 56px !important;
  }

  .picker-bands-grid.large-grid {
    gap: 6px !important;
  }

  .picker-bands-grid.large-grid .picker-band-cell {
    min-height: 48px !important;
    padding: 5px 3px !important;
  }

  .picker-det-tab {
    padding: 6px 4px !important;
  }
}

@media (max-height: 740px) {
  .rotary-console .time-section.half-section, .rotary-console .speed-section.half-section, .rotary-console .playback-panel {
    transform-origin: bottom !important;
    transform: translateX(-50%) scale(.74) !important;
  }

  .map-top-left {
    top: 14px !important;
    left: 14px !important;
  }

  .image-math-toggle, .map-coordinate {
    height: 34px !important;
    padding: 6px 10px !important;
    font-size: 11.5px !important;
  }

  .search-dock {
    height: 42px !important;
    top: 14px !important;
  }

  .map-tools {
    top: 64px !important;
    right: 14px !important;
  }

  .map-zoom-controls {
    right: 14px !important;
  }

  #bands-panel.bands-large-screen {
    max-height: calc(100dvh - 80px) !important;
    bottom: 48px !important;
  }
}

@media (max-width: 1366px) {
  .map-top-left {
    gap: 8px !important;
  }

  .search-dock {
    width: min(290px, 24vw) !important;
  }

  .map-coordinate {
    padding: 6px 10px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 1180px) {
  .search-dock {
    width: min(260px, 22vw) !important;
  }

  #bands-panel.bands-large-screen {
    width: calc(100vw - 80px) !important;
  }
}

.bands-toggle-icon, .bands-chevron {
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.bands-toggle-icon svg, .bands-chevron svg {
  flex-shrink: 0;
}

.field-ruler {
  --ruler-accent: #38bdf8;
  z-index: 4;
  pointer-events: none;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  width: 96px;
  display: flex;
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-38%);
}

.field-ruler-window {
  pointer-events: auto;
  color: #b6c4d6;
  width: 74px;
  height: 220px;
  box-shadow: none;
  cursor: grab;
  touch-action: none;
  filter: drop-shadow(0 1px 3px #000) drop-shadow(0 0 6px #000c);
  background: none;
  border: 0;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.field-ruler.is-sliding .field-ruler-window {
  cursor: grabbing;
}

.field-ruler-window:focus {
  outline: none;
}

.field-ruler-window:focus-visible {
  outline-offset: 3px;
  outline: 2px solid #a0c8ff;
}

.field-ruler-window svg {
  pointer-events: none;
  display: block;
  -webkit-mask-image: linear-gradient(#0000 0, #000 24% 76%, #0000 100%);
  mask-image: linear-gradient(#0000 0, #000 24% 76%, #0000 100%);
}

.field-ruler-tape {
  transition: transform .18s cubic-bezier(.2, .8, .2, 1);
}

.field-ruler.is-sliding .field-ruler-tape {
  transition: none;
}

.field-ruler-tape text {
  fill: currentColor;
  letter-spacing: .3px;
  font: 9px DM Sans, sans-serif;
}

.field-ruler-tape .field-ruler-limit {
  fill: var(--ruler-accent);
  font-weight: 700;
}

.field-ruler-frames {
  fill: var(--ruler-accent);
  opacity: .35;
  transition: opacity .2s;
}

.field-ruler.in-frames .field-ruler-frames {
  opacity: .9;
  filter: drop-shadow(0 0 4px var(--ruler-accent));
}

.field-ruler-needle {
  color: var(--ruler-accent);
  filter: drop-shadow(0 0 6px #38bdf8bf);
}

.field-ruler-window:hover .field-ruler-needle {
  filter: drop-shadow(0 0 9px var(--ruler-accent));
}

.field-ruler-readout {
  color: #e0f2fe;
  text-shadow: 0 2px 10px #000, 0 0 14px #38bdf866;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font: 16px Space Grotesk, sans-serif;
  display: flex;
}

.field-ruler-readout small {
  letter-spacing: 2px;
  color: #0284c7;
  font: 6px DM Sans, sans-serif;
}

.field-ruler-note {
  pointer-events: auto;
  text-align: center;
  color: #7f93ad;
  text-shadow: 0 1px 6px #000;
  max-width: 96px;
  font: 9px / 1.35 DM Sans, sans-serif;
}

.field-ruler.in-frames .field-ruler-note {
  color: #bae6fd;
}

.field-ruler.in-frames[data-tone="warn"] .field-ruler-note {
  color: #fda4af;
}

.dial-progress path {
  fill: none;
  stroke-width: 3px;
  stroke-linecap: round;
}

.dial-progress-track {
  stroke: #ffffff14;
}

.dial-progress-loaded {
  stroke: #f59e0b73;
  transition: d .3s;
}

.dial-progress-cleaned {
  stroke: #fbbf24;
  filter: drop-shadow(0 0 3px #fbbf24cc);
  transition: d .3s;
}

.rotary-console .time-section .half-readout:has(.load-status) {
  top: -50px;
}

.rotary-console .time-section .half-readout small.load-status {
  pointer-events: auto;
  cursor: help;
  letter-spacing: 1.2px !important;
  color: #fcd34d !important;
}

.rotary-console .time-section .half-readout small.load-status[data-tone="busy"]:before {
  content: "";
  vertical-align: middle;
  background: currentColor;
  border-radius: 50%;
  width: 5px;
  height: 5px;
  margin-right: 6px;
  animation: 1.1s ease-in-out infinite load-pulse;
  display: inline-block;
}

.rotary-console .time-section .half-readout small.load-status[data-tone="ok"] {
  color: #a3a3a3 !important;
}

.rotary-console .time-section .half-readout small.load-status[data-tone="warn"] {
  color: #fda4af !important;
}

@keyframes load-pulse {
  50% {
    opacity: .25;
  }
}

@media (prefers-reduced-motion: reduce) {
  .field-ruler-tape, .dial-progress path {
    transition: none;
  }

  .rotary-console .time-section .half-readout small.load-status:before {
    animation: none;
  }
}

@media (max-width: 700px) {
  .field-ruler {
    top: 34%;
    right: 8px;
  }
}

.sr-only {
  clip: rect(0 0 0 0);
  white-space: nowrap;
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
}

.band-control.is-open > #bands-toggle {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.sky .band-control {
  z-index: 30;
}

.band-pop {
  --band: #c084fc;
  --band-soft: #c084fc29;
  --line: #ffffff1f;
  z-index: 31;
  scrollbar-width: thin;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  color: #cbd5e1;
  pointer-events: auto;
  opacity: 0;
  visibility: hidden;
  transform-origin: 100% 100%;
  background: #050810f0;
  border: 1px solid #ffffff24;
  border-radius: 12px;
  flex-direction: column;
  gap: 12px;
  width: 340px;
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 140px);
  padding: 14px;
  font: 12px DM Sans, sans-serif;
  transition: opacity .18s, transform .22s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .22s;
  display: flex;
  position: absolute;
  bottom: 54px;
  right: 0;
  overflow-y: auto;
  transform: translateY(8px);
  box-shadow: 0 12px 36px #000000bf, 0 0 18px #c084fc1a;
}

.band-control.is-open .band-pop {
  opacity: 1;
  visibility: visible;
  transition: opacity .18s, transform .22s cubic-bezier(.22, 1, .36, 1), visibility;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .band-pop, .band-control.is-open .band-pop {
    transition: none;
    transform: none;
  }
}

.band-pop-head {
  align-items: center;
  gap: 10px;
  display: flex;
}

.band-pop-title {
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--band);
  font: 600 10px Space Grotesk, sans-serif;
}

.band-pop-meta {
  color: #94a3b8;
  font-size: 11px;
}

.band-pop-close {
  color: #94a3b8;
  background: none;
  border-radius: 6px;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-left: auto;
  display: grid;
}

.band-pop-close:hover {
  color: #f8fafc;
  background: #ffffff14;
}

.band-pop-stepper {
  align-items: center;
  gap: 6px;
  display: flex;
}

.band-pop-stepper > button {
  border: 1px solid var(--line);
  color: #cbd5e1;
  background: #ffffff0a;
  border-radius: 7px;
  place-items: center;
  width: 34px;
  height: 34px;
  display: grid;
}

.band-pop-stepper > button:hover:not(:disabled) {
  background: var(--band-soft);
  color: var(--band);
  border-color: #c084fc73;
}

.band-pop-stepper > button:disabled {
  opacity: .35;
  cursor: default;
}

.band-pop-number input {
  text-align: center;
  background: var(--band-soft);
  color: #f3e8ff;
  appearance: textfield;
  border: 1px solid #c084fc73;
  border-radius: 7px;
  width: 64px;
  height: 34px;
  font: 600 18px ui-monospace, SFMono-Regular, Menlo, monospace;
}

.band-pop-number input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.band-pop-number input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.band-pop-field input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.band-pop-field input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.band-pop-number input[aria-invalid="true"] {
  border-color: #f43f5e;
}

.band-pop-wavelength {
  color: #f8fafc;
  letter-spacing: -.3px;
  margin-left: auto;
  font: 500 20px Space Grotesk, sans-serif;
}

.band-pop-wavelength small {
  color: #94a3b8;
  margin-left: 3px;
  font-size: 11px;
}

.band-pop-error {
  color: #fda4af;
  margin: -6px 0 0;
  font-size: 11px;
}

.band-pop-error:empty {
  display: none;
}

.band-ruler {
  padding-top: 2px;
  position: relative;
}

.band-ruler svg {
  width: 100%;
  height: 30px;
  display: block;
  overflow: visible;
}

.band-ruler line {
  stroke: #475569;
  stroke-width: 1.2px;
  vector-effect: non-scaling-stroke;
}

.band-ruler line.on {
  stroke: #94a3b8;
}

.band-ruler .band-ruler-marker {
  stroke: var(--band);
  fill: var(--band);
  stroke-width: 2px;
  filter: drop-shadow(0 0 4px #c084fcb3);
}

.band-ruler input[type="range"] {
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 34px;
  margin: 0;
  position: absolute;
  inset: 0 0 auto;
}

.band-ruler:has(input:focus-visible) svg {
  outline-offset: 3px;
  border-radius: 3px;
  outline: 2px solid #77baff;
}

.band-ruler-labels {
  text-align: center;
  letter-spacing: 1px;
  color: #64748b;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 5px;
  font: 600 9px Space Grotesk, sans-serif;
  display: grid;
}

.band-ruler-labels .on {
  color: var(--band);
}

.band-ruler-ends {
  color: #64748b;
  justify-content: space-between;
  margin-top: 2px;
  font-size: 9px;
  display: flex;
}

.band-pop-window {
  border: 0;
  border-top: 1px solid var(--line);
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 12px 0 0;
  display: flex;
}

.band-pop-window legend {
  float: left;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 8px;
  padding: 0;
  font: 600 10px Space Grotesk, sans-serif;
}

.band-pop-window legend + * {
  clear: both;
}

.band-pop-segments {
  border: 1px solid var(--line);
  background: #ffffff0a;
  border-radius: 8px;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  padding: 3px;
  display: grid;
}

.band-pop-segments label {
  position: relative;
}

.band-pop-segments input {
  opacity: 0;
  cursor: pointer;
  margin: 0;
  position: absolute;
  inset: 0;
}

.band-pop-segments span {
  text-align: center;
  color: #94a3b8;
  border-radius: 5px;
  padding: 6px 0;
  font-size: 11px;
  transition: background .15s, color .15s;
  display: block;
}

.band-pop-segments label:hover span {
  color: #f8fafc;
}

.band-pop-segments input:checked + span {
  background: var(--band-soft);
  color: #f3e8ff;
  box-shadow: inset 0 0 0 1px #c084fc73;
}

.band-pop-segments input:focus-visible + span {
  outline-offset: 1px;
  outline: 2px solid #77baff;
}

.band-pop-centre {
  align-items: center;
  gap: 8px;
  display: flex;
}

.band-pop-centre > label {
  color: #94a3b8;
  font-size: 11px;
}

.band-pop-field {
  border: 1px solid var(--line);
  background: #ffffff0a;
  border-radius: 7px;
  align-items: center;
  gap: 4px;
  height: 30px;
  padding: 0 8px;
  display: inline-flex;
}

.band-pop-field:focus-within {
  border-color: #c084fc8c;
}

.band-pop-field input {
  color: #f8fafc;
  appearance: textfield;
  background: none;
  border: 0;
  outline: none;
  width: 46px;
  font: 13px ui-monospace, SFMono-Regular, Menlo, monospace;
}

.band-pop-field small {
  color: #64748b;
  font-size: 10px;
}

.band-pop-reset {
  color: #94a3b8;
  text-underline-offset: 3px;
  background: none;
  margin-left: auto;
  font-size: 11px;
  -webkit-text-decoration: underline #94a3b866;
  text-decoration: underline #94a3b866;
}

.band-pop-reset:hover {
  color: #f8fafc;
}

.band-pop-note {
  color: #64748b;
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .band-pop {
    width: calc(100vw - 24px);
  }
}

.map-top-right {
  pointer-events: none;
  flex-direction: column;
  align-items: flex-end;
  margin-left: auto;
  display: flex;
  position: relative;
}

.map-top-right > * {
  pointer-events: auto;
}

.frame-filter-switch {
  background: #050810eb;
  border: 1px solid #ffffff24;
  border-radius: 9px;
  gap: 3px;
  padding: 3px;
  display: flex;
}

.frame-filter-switch button {
  color: #94a3b8;
  white-space: nowrap;
  background: none;
  border-radius: 6px;
  padding: 7px 11px;
  font-size: 11px;
}

.frame-filter-switch button:hover {
  color: #f8fafc;
  background: #ffffff0f;
}

.frame-filter-switch button[aria-pressed="true"] {
  color: #38bdf8;
  background: #38bdf826;
}

.frame-filter-key {
  color: #cbd5e1;
  background: #050810f0;
  border: 1px solid #ffffff24;
  border-radius: 9px;
  width: 270px;
  margin-top: 8px;
  padding: 10px 12px;
  font-size: 11px;
  line-height: 1.5;
  position: absolute;
  top: 100%;
  right: 58px;
}

.frame-filter-key ul {
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.frame-filter-key li {
  align-items: flex-start;
  gap: 8px;
  display: flex;
}

.frame-filter-key li.is-dim {
  color: #94a3b8;
}

.frame-filter-key li.is-dim .frame-filter-swatch {
  opacity: .35;
}

.frame-filter-swatch {
  border-radius: 2px;
  outline: 1px solid #fff6;
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 3px;
}

.frame-filter-key p {
  margin: 0;
}

.frame-filter-key ul + p {
  color: #94a3b8;
  border-top: 1px solid #ffffff1a;
  margin-top: 8px;
  padding-top: 8px;
}

@media (max-width: 700px) {
  .map-top-right {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
  }

  .frame-filter-key {
    width: min(270px, 100vw - 100px);
  }

  body:has(.frame-filter-key) .search-feedback {
    visibility: hidden;
  }
}

@media (pointer: coarse) {
  .frame-filter-switch button {
    min-height: 36px;
  }
}

/*# sourceMappingURL=app_globals_0yg4wg8plh8sv.css.map*/