:root {
  --side-nav-width: 142px;
  color-scheme: light;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #17212b;
  background: #ffffff;
}

html {
  overflow-x: auto;
}

body {
  margin: 0;
  min-width: 320px;
  max-width: 100%;
  overflow-x: visible;
  background: #ffffff;
}

a {
  color: #075ea8;
}

a:visited {
  color: #5941a9;
}

.product-header {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 10px 16px;
  color: #ffffff;
  background: #14213d;
  border-bottom: 4px solid #6fd0c2;
  position: sticky;
  top: 0;
  z-index: 60;
}

.product-header img {
  flex: 0 0 64px;
}

.product-header h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: 0;
}

.product-header p {
  margin: 4px 0 0;
  color: #d8e7f0;
}

.product-title {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}

.product-header .activity-status {
  max-width: 72rem;
  margin-top: 6px;
  padding-left: 9px;
  color: #d8e7f0;
  border-left: 4px solid #8db4ca;
  font-size: 13px;
  line-height: 1.35;
}

.product-header .activity-status-ok {
  color: #dff8ef;
  border-left-color: #6fd0c2;
}

.product-header .activity-status-warning {
  color: #fff0c2;
  border-left-color: #f3bd4f;
}

.inline-activity-status {
  font: inherit;
}

.inline-activity-status.activity-status-ok {
  color: darkgreen;
}

.inline-activity-status.activity-status-warning {
  color: #a30d0d;
  font-weight: 600;
}

#nav-toggle,
#header-toggle {
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid #8db4ca;
  border-radius: 6px;
  color: #ffffff;
  background: #203b58;
  font-size: 24px;
  cursor: pointer;
}

#header-toggle { margin-left: auto; font-size: 18px; }
#nav-toggle { margin-left: 0; display: none; }
.header-collapsed .product-header { min-height: 0; padding-block: 4px; }
.header-collapsed .product-header img,
.header-collapsed .product-header .product-title { display: none; }

.site-layout {
  border-collapse: separate;
  display: block;
  width: 100%;
  max-width: 100%;
  table-layout: auto;
}

.site-layout > colgroup {
  display: none;
}

.site-layout > tbody {
  align-items: start;
  display: grid;
  grid-template-columns: var(--side-nav-width) minmax(0, 1fr);
  width: 100%;
}

.site-layout > tbody > tr {
  display: contents;
}

.site-layout > tbody > tr > td {
  min-width: 0;
}

.site-layout-nav-column {
  width: var(--side-nav-width);
}

.site-layout-content-column {
  width: auto;
}

.site-layout > tbody > tr > td:first-child {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
}

.top-nav-spacer,
.site-layout > tbody > tr:first-child > td:first-child {
  grid-column: 1;
  grid-row: 1;
}

.top-nav,
.site-layout > tbody > tr:first-child > td:last-child {
  grid-column: 2;
  grid-row: 1;
  padding: 7px 12px;
  background: #eaf3f7 !important;
  border-bottom: 1px solid #b8ccd7;
  position: sticky;
  top: var(--sticky-header-height, 100px);
  z-index: 50;
}

.site-content,
.site-layout > tbody > tr:nth-child(2) > td:last-child {
  grid-column: 2;
  grid-row: 2;
  box-sizing: border-box;
  min-width: 0;
  max-width: calc(100vw - var(--side-nav-width));
  padding: 12px;
  vertical-align: top;
  white-space: normal;
  overflow: visible;
  overflow-wrap: anywhere;
}

.site-content img,
.site-layout > tbody > tr:nth-child(2) > td:last-child img {
  max-width: 100%;
  height: auto;
}

.site-content h1,
.site-content h2,
.site-content h3,
.site-content p,
.site-content li,
.site-layout > tbody > tr:nth-child(2) > td:last-child h1,
.site-layout > tbody > tr:nth-child(2) > td:last-child h2,
.site-layout > tbody > tr:nth-child(2) > td:last-child h3,
.site-layout > tbody > tr:nth-child(2) > td:last-child p,
.site-layout > tbody > tr:nth-child(2) > td:last-child li {
  box-sizing: border-box;
  width: auto !important;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.site-content img[align="right"],
.site-layout > tbody > tr:nth-child(2) > td:last-child img[align="right"] {
  width: auto;
  max-width: 30vw;
}

.site-content pre,
.site-layout > tbody > tr:nth-child(2) > td:last-child pre {
  max-width: 100%;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.nav-collapsed-before-paint .site-layout,
.nav-collapsed .site-layout {
  display: block;
  width: 100%;
  max-width: 100%;
  table-layout: auto;
}

.nav-collapsed-before-paint .site-layout > colgroup,
.nav-collapsed .site-layout > colgroup {
  display: none;
}

.nav-collapsed-before-paint .site-layout > tbody,
.nav-collapsed .site-layout > tbody {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
}

.nav-collapsed-before-paint .site-layout > tbody > tr,
.nav-collapsed .site-layout > tbody > tr {
  display: contents;
}

.nav-collapsed-before-paint .site-layout > tbody > tr > td:first-child,
.nav-collapsed .site-layout > tbody > tr > td:first-child {
  display: none;
}

.nav-collapsed-before-paint .site-layout > tbody > tr > td:last-child,
.nav-collapsed .site-layout > tbody > tr > td:last-child,
.nav-collapsed-before-paint .top-nav,
.nav-collapsed .top-nav,
.nav-collapsed-before-paint .site-content,
.nav-collapsed .site-content,
.nav-collapsed-before-paint .site-layout > tbody > tr:nth-child(2) > td:last-child,
.nav-collapsed .site-layout > tbody > tr:nth-child(2) > td:last-child {
  display: block;
  box-sizing: border-box;
  grid-column: 1;
  width: 100%;
  max-width: 100vw;
}

.side-nav {
  align-self: start !important;
  align-content: start !important;
  place-self: start stretch !important;
  box-sizing: border-box;
  grid-column: 1;
  grid-row: 2;
  justify-self: stretch;
  margin-top: 0;
  margin-block-start: 0 !important;
  width: 100%;
  min-width: 0;
  max-width: none;
  padding: 10px;
  position: sticky;
  top: calc(var(--sticky-header-height, 100px) + var(--sticky-top-nav-height, 42px));
  vertical-align: top !important;
  background: #edf7f5 !important;
  border-right: 1px solid #b8d8d2;
  line-height: 1.55;
  z-index: 40;
}

.side-nav-inner {
  align-self: start;
  margin-top: 0;
  position: static;
  max-height: none;
  overflow-y: visible;
  font-size: 0;
  line-height: 0;
  z-index: 40;
}

.side-nav-inner > a {
  display: block;
  padding: 0;
  font-size: clamp(10.5px, 1.45vh, 14px);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.side-nav-inner > br {
  display: none;
}

.side-nav-collapse {
  align-items: center;
  background: transparent;
  border: 1px solid #8db4ca;
  border-radius: 5px;
  color: #244760;
  cursor: pointer;
  display: none;
  gap: 0.3rem;
  margin: 0 0 0.65rem;
  padding: 0.25rem 0.45rem;
  width: 100%;
  font-size: 13px;
  line-height: 1.3;
}

.side-nav-collapse span {
  font-size: 1.25rem;
  line-height: 1;
}

@media (max-width: 600px) {
  #nav-toggle {
    display: block;
  }

  .side-nav-collapse {
    display: flex;
  }
}

.station-list-cell { white-space: nowrap !important; }
.station-list-details { position: relative; white-space: nowrap; }
.station-list-details > summary { cursor: pointer; color: #0064a6; white-space: nowrap; }
.station-list-content {
  position: absolute; right: 0; top: 100%; z-index: 40;
  width: min(32rem, 75vw); max-height: 15rem; overflow: auto;
  padding: .6rem; border: 1px solid #8db4ca; background: white;
  box-shadow: 0 3px 9px #0003; white-space: normal;
}
.station-list-content code { white-space: normal; }
.station-list-content a { display: inline-block; margin: .15rem; }

.history-page-links {
  color: #526774;
  font-size: 0.9em;
  white-space: nowrap;
}

.residual-mini-preview {
  background: #c8c8c8;
  border: 1px solid #8db4ca;
  border-radius: 5px;
  box-shadow: 0 4px 14px rgba(22, 43, 61, 0.2);
  padding: 4px;
  position: fixed;
  pointer-events: none;
  z-index: 1000;
}

td.residual-preview-cell-active {
  background: #c8c8c8 !important;
}

.residual-object-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 430px), 1fr));
}

.residual-object {
  border-top: 2px solid #3f7e83;
  min-width: 0;
  padding-top: 0.75rem;
}

.residual-object.residual-chart-expanded {
  grid-column: 1 / -1;
}

.residual-object.residual-chart-expanded canvas {
  height: min(72vh, 780px);
}

.chart-touch-shell { position: relative; min-width: 0; width: 100%; }
.chart-touch-shell > .stuff-space-overlay-controls { top: 12px; max-width: 100%; flex-wrap: wrap; justify-content: center; }
.chart-touch-shell.chart-touch-expanded > .stuff-space-overlay-controls { display: none; }
.chart-touch-bar { position: absolute; right: 10px; bottom: 42px; z-index: 4; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: .5rem; padding: .35rem; background: #e9f2f3; color: #17212b; max-width: calc(100% - 20px); }
.chart-touch-space > .chart-touch-bar { bottom: 176px; background: transparent; padding: 0; }
.chart-touch-space > .chart-touch-bar > button:not(:focus), .chart-touch-space > .chart-touch-bar > details:not(:focus-within) { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; overflow: hidden; clip-path: inset(50%); }
.chart-touch-space > .chart-touch-bar > a:not([hidden]) { background: #e9f2f3; }
.chart-touch-bar button, .chart-touch-bar summary, .chart-touch-bar a { box-sizing: border-box; min-height: 44px; padding: .65rem; cursor: pointer; }
.chart-touch-bar details { max-width: 32rem; }
.chart-touch-bar p { margin: .4rem; }
.chart-touch-expanded { position: fixed !important; inset: 0 !important; width: 100% !important; height: 100% !important; height: 100dvh !important; z-index: 2147483000; background: #18364b; display: flex; flex-direction: column; padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); box-sizing: border-box; overscroll-behavior: contain; }
.chart-touch-expanded > .chart-touch-bar { flex: 0 0 auto; max-height: 40%; overflow-y: auto; }
.chart-touch-expanded > canvas { flex: 1 1 0; min-height: 0 !important; height: 0 !important; min-width: 0 !important; max-width: none !important; width: 100% !important; margin: 0 !important; }
canvas:fullscreen {
  background: #fff;
  height: 100vh !important;
  max-width: none !important;
  width: 100vw !important;
}

.residual-object h2 {
  margin: 0 0 0.35rem;
}

.residual-object canvas {
  display: block;
  height: auto;
  max-width: 100%;
  width: 100%;
}

.residual-chart-shell {
  position: relative;
}

.residual-fullscale-toggle {
  background: #f6dddd;
  border-color: #b54b4b;
  color: #8d2020;
  font-size: 0.78rem;
  position: absolute;
  right: 0.4rem;
  top: 0.25rem;
  z-index: 2;
}

.residual-fullscale-toggle[aria-pressed="true"] {
  background: #d5e8dc;
  border-color: #477b59;
  color: #245535;
}

.residual-chart-tooltip {
  background: rgba(18, 39, 63, 0.96);
  border-radius: 4px;
  color: #ffffff;
  font-size: 0.82rem;
  line-height: 1.35;
  max-width: min(330px, calc(100vw - 16px));
  padding: 0.4rem 0.55rem;
  pointer-events: none;
  position: fixed;
  white-space: nowrap;
  z-index: 1100;
}

.residual-station-key {
  border-top: 2px solid #3f7e83;
  margin-top: 1.5rem;
  padding-top: 0.8rem;
}

.residual-station-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.8rem;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
}

.residual-station-item {
  align-items: center;
  display: inline-flex;
  gap: 0.35rem;
  min-width: 5.4rem;
  padding: 0.15rem 0.3rem;
  white-space: nowrap;
}

.residual-station-item.is-active {
  background: #d2d6d8;
  border-radius: 4px;
  font-weight: 700;
}

.residual-station-swatch {
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  display: inline-block;
  height: 0.8rem;
  min-height: 0.8rem;
  min-width: 0.8rem;
  padding: 0;
  width: 0.8rem;
}

.close-ephemeris-table .minimum-row td,
.close-ephemeris-table .minimum-flank-row td {
  background: #d9efd8 !important;
}

.nav-collapsed .side-nav {
  display: none;
}

table.sortable th {
  cursor: pointer;
}

.site-content table:not(.site-layout) > thead > tr > th,
.site-content table:not(.site-layout) > thead > tr > td,
.site-layout > tbody > tr:nth-child(2) > td:last-child table:not(.site-layout) > thead > tr > th,
.site-layout > tbody > tr:nth-child(2) > td:last-child table:not(.site-layout) > thead > tr > td {
  position: sticky;
  top: calc(var(--sticky-header-height, 100px) + var(--sticky-top-nav-height, 42px));
  z-index: 30;
  background-clip: padding-box;
}

.managed-table {
  width: max-content;
  max-width: none;
  border-collapse: separate;
  border-spacing: 0;
}

.table-scroll {
  box-sizing: border-box;
  width: max-content;
  min-width: 100%;
  max-width: none;
  overflow-x: visible;
  overflow-y: visible;
  overscroll-behavior-inline: auto;
}

.managed-table-block {
  min-width: 0;
  max-width: none;
  overflow: visible;
}

.data-table:not(.managed-table) {
  max-width: 100%;
}

.managed-table th,
.managed-table td {
  box-sizing: border-box;
  max-width: 38rem;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  border-right: 1px solid #c6d5de;
  border-bottom: 1px solid #c6d5de;
}

.managed-table th {
  position: sticky;
  top: calc(var(--sticky-header-height, 100px) + var(--sticky-top-nav-height, 42px));
  z-index: 3;
  padding-right: 10px;
  color: #ffffff;
  background: #203b58;
  cursor: pointer;
  user-select: none;
}

.matrix-table.managed-table th a,
.matrix-table.managed-table th a:visited {
  color: #ffffff;
  text-decoration-color: #9ee6d8;
  text-decoration-thickness: 2px;
}

.matrix-table.managed-table th a:hover,
.matrix-table.managed-table th a:focus-visible {
  color: #fff3a6;
  text-decoration-color: #fff3a6;
}

.matrix-table.managed-table tbody tr:nth-child(even) td {
  background: #e1e8ed;
}

.matrix-table.managed-table th:first-child,
.matrix-table.managed-table td:first-child {
  position: sticky;
  left: 0;
}

.matrix-table.managed-table th:first-child {
  z-index: 5;
}

.matrix-table.managed-table td:first-child {
  z-index: 2;
  background: #ffffff;
  box-shadow: 1px 0 0 #9fb4c0;
}

.matrix-table.managed-table tbody tr:nth-child(even) td:first-child {
  background: #e1e8ed;
}

.matrix-heatmap-caption {
  background: #edf5f5;
  border: 1px solid #9cbec1;
  caption-side: top;
  color: #18344d;
  padding: 0.55rem 0.7rem;
  text-align: left;
}

.matrix-heatmap-caption label { margin-left: 0.65rem; white-space: nowrap; }
.matrix-heatmap-scale { margin-left: 0.65rem; white-space: nowrap; }
.matrix-heatmap-scale i, .matrix-heatmap-scale b {
  border: 1px solid #668b91;
  display: inline-block;
  height: 0.8rem;
  vertical-align: -0.1rem;
  width: 1.4rem;
}
.matrix-heatmap-scale i { background: #f1f5f6; }
.matrix-heatmap-scale b { background: rgb(20 123 126); }
.matrix-heatmap-enabled tbody td[data-heatmap-value] {
  font-weight: 600;
}
.matrix-table .matrix-hover-row > * { outline: 1px solid rgba(212,154,36,0.65); }
.matrix-table .matrix-hover-column { box-shadow: inset 0 0 0 2px rgba(212,154,36,0.72); }
.matrix-table td.matrix-below-minimum { opacity: 0.35; }
.matrix-heatmap-caption input[type="search"] { max-width: 10rem; }

/* Percentage columns need a definite containing width. A max-content wrapper
   creates a cyclic intrinsic size and can grow to 1,000,000px in Chromium. */
.table-scroll:has(> .stations-table) {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.stations-table.managed-table {
  width: 100%;
  max-width: 100%;
  table-layout: fixed;
}

.stations-table.managed-table th,
.stations-table.managed-table td {
  width: auto !important;
  min-width: 0 !important;
  max-width: none;
  padding: 4px 3px;
  white-space: normal;
  overflow-wrap: anywhere;
}

.stations-table.managed-table th:nth-child(1) { width: 10% !important; }
.stations-table.managed-table th:nth-child(2) { width: 29% !important; }
.stations-table.managed-table th:nth-child(3) { width: 10% !important; }
.stations-table.managed-table th:nth-child(4) { width: 12% !important; }
.stations-table.managed-table th:nth-child(5) { width: 12% !important; }
.stations-table.managed-table th:nth-child(6) { width: 27% !important; }

.stations-table.managed-table .column-resizer {
  display: none;
}

.stations-table.managed-table td:last-child a {
  display: inline-block;
  margin-right: 0.35rem;
  white-space: nowrap;
}

.actual-object-table .sticky-no,
.actual-object-table .sticky-design {
  position: sticky;
  z-index: 4;
  background-clip: padding-box;
}

.actual-object-table th.sticky-no,
.actual-object-table th.sticky-design {
  z-index: 32;
  background: #203b58;
}

.actual-object-table .sticky-no {
  left: 0;
}

.actual-object-table .sticky-design {
  left: var(--sticky-no-width, 0px);
  box-shadow: 2px 0 3px rgba(20, 33, 61, 0.22);
}

.earth-event-badge {
  display: inline-block;
  margin: 2px 0 0 3px;
  padding: 1px 5px;
  border: 1px solid #845d00;
  border-radius: 999px;
  color: #402b00;
  background: #ffe39a;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.earth-event-detail {
  display: block;
  margin: 3px 0 1px 3px;
  color: #493a16;
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.25;
  white-space: normal;
}

.earth-event-detail time,
.earth-event-detail span {
  display: block;
}

.earth-event-detail time {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.operational-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 9px;
  margin: 10px 0;
}

.operational-card {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #b8ccd7;
  border-left: 4px solid #3f7e83;
  border-radius: 5px;
  background: #f5f8fa;
}

.operational-card.is-fallback {
  border-left-color: #c07c16;
  background: #fff8eb;
}

.operational-card h3,
.operational-card p {
  margin: 0;
}

.operational-stage-card {
  grid-column: 1 / -1;
}

.operational-card progress,
.status-stage-card progress {
  display: block;
  width: 100%;
  height: 0.7rem;
  margin-top: 8px;
  accent-color: #2c8c86;
}

.operational-stage-card.is-active {
  border-color: #d49a24;
  background: #fff9e9;
}

.operational-card h3 {
  font-size: 15px;
}

.operational-card p {
  margin-top: 4px;
  color: #4c5c68;
  font-size: 12px;
}

.stations-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
}

.stations-search {
  box-sizing: border-box;
  width: min(28rem, 100%);
  min-height: 34px;
  padding: 5px 8px;
  border: 1px solid #7895a6;
  border-radius: 5px;
  font: inherit;
}

.stations-result {
  color: #4c5c68;
}

.badids-table.managed-table {
  width: 100%;
  max-width: 100%;
  table-layout: fixed;
  font-size: 12px;
}

.badids-table.managed-table th,
.badids-table.managed-table td {
  width: auto !important;
  min-width: 0 !important;
  max-width: none;
  white-space: normal;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.badids-table.managed-table th {
  padding: 5px 3px;
  line-height: 1.2;
}

.badids-chart-dashboard {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
  margin: 20px 0 26px;
  padding-top: 16px;
  border-top: 2px solid #3f7e83;
}

.badids-jump-links {
  margin: 16px 0 8px;
  padding: 8px 10px;
  border-left: 4px solid #3f7e83;
  background: #eef7f7;
}

#badids-station-table,
#badids-chart-title {
  scroll-margin-top: 18px;
}

.badids-chart-back {
  margin-bottom: 8px;
}

.badids-text-summary {
  grid-column: 1 / -1;
  padding: 12px 14px;
  border-left: 4px solid #3f7e83;
  background: #eef7f7;
}

.badids-summary-label {
  font-weight: 700;
}

.badids-text-summary ul {
  margin: 6px 0 0;
  padding-left: 1.35rem;
}

.badids-text-summary li + li {
  margin-top: 4px;
}

.badids-selection {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid #b8ccd7;
  border-radius: 5px;
  background: #f7fafb;
}

.badids-sample-filter {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.badids-sample-filter > span:first-child {
  font-weight: 700;
}

.badids-sample-filter button,
.badids-selection button {
  min-height: 30px;
  padding: 4px 8px;
  border: 1px solid #8ea8b8;
  border-radius: 5px;
  background: #ffffff;
  font: inherit;
  cursor: pointer;
}

.badids-sample-filter button[aria-pressed="true"] {
  color: #ffffff;
  background: #203b58;
  border-color: #203b58;
}

[data-badids-filter-result] {
  color: #4c5c68;
}

.badids-selection button {
  white-space: nowrap;
}

.badids-table tbody tr[data-station-code] {
  cursor: pointer;
}

.badids-table tbody tr[data-station-code]:focus-visible,
.badids-table tbody tr.badids-selected-row {
  outline: 3px solid #d49a24;
  outline-offset: -3px;
}

.badids-chart-card canvas.is-selectable {
  cursor: crosshair;
}

.badids-chart-heading,
.badids-chart-primary {
  grid-column: 1 / -1;
}

.badids-chart-heading h2,
.badids-chart-card h3 {
  margin: 0 0 6px;
}

.badids-chart-heading p,
.badids-chart-card p {
  margin: 0 0 10px;
  color: #4c5c68;
}

.badids-chart-card {
  min-width: 0;
  padding: 14px;
  background: #f7fafb;
  border: 1px solid #c6d5de;
  border-radius: 8px;
}

.badids-chart-card canvas {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 330px;
  background: #ffffff;
  border: 1px solid #d6e1e7;
  border-radius: 5px;
}

.badids-chart-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.badids-chart-toolbar button {
  min-height: 30px;
  padding: 4px 8px;
  color: #17212b;
  background: #ffffff;
  border: 1px solid #8ea8b8;
  border-radius: 5px;
  font: inherit;
  cursor: pointer;
}

.badids-chart-toolbar button:hover,
.badids-chart-toolbar button:focus-visible {
  background: #dceef0;
  border-color: #3f7e83;
}

.badids-chart-tooltip {
  position: fixed;
  z-index: 80;
  max-width: 280px;
  padding: 7px 9px;
  color: #ffffff;
  background: #17212b;
  border-radius: 5px;
  box-shadow: 0 3px 12px rgb(0 0 0 / 25%);
  font-size: 12px;
  pointer-events: none;
}

.good-observatories-table.managed-table {
  width: min(100%, 760px);
}

.good-observatories-table.managed-table th:first-child,
.good-observatories-table.managed-table td:first-child {
  width: 7rem;
}

.download-meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: baseline;
  color: #4c5c68;
}

.download-size,
.download-modified {
  color: #4c5c68;
  white-space: nowrap;
}

.download-sha256 {
  flex-basis: 100%;
  overflow-wrap: anywhere;
}

.download-sha256 code {
  font-size: 0.9em;
  overflow-wrap: anywhere;
}

.download-hash-toggle {
  min-height: 34px;
  margin: 0 0 10px;
  padding: 5px 9px;
  color: #17212b;
  background: #f5f8fa;
  border: 1px solid #8ea8b8;
  border-radius: 5px;
  font: inherit;
  cursor: pointer;
}

.download-hash-toggle:hover,
.download-hash-toggle:focus-visible,
.download-hash-toggle[aria-pressed="true"] {
  background: #dceef0;
  border-color: #3f7e83;
}

.unknown-station {
  color: #4c5c68;
  font-style: italic;
  white-space: nowrap;
}

.crossids-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 10px 0;
}

.crossids-search {
  box-sizing: border-box;
  min-width: min(24rem, 100%);
  min-height: 34px;
  padding: 5px 8px;
  border: 1px solid #7895a6;
  border-radius: 5px;
  font: inherit;
}

.crossids-years,
.crossids-paging,
.crossids-quick-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.crossids-quick-filter {
  padding-left: 7px;
  border-left: 1px solid #c6d5de;
}

.crossids-controls button {
  min-height: 32px;
  padding: 4px 9px;
  color: #17212b;
  background: #f5f8fa;
  border: 1px solid #8ea8b8;
  border-radius: 5px;
  font: inherit;
  cursor: pointer;
}

.crossids-controls button:hover,
.crossids-controls button:focus-visible {
  background: #dceef0;
  border-color: #3f7e83;
}

.crossids-controls button[aria-pressed="true"] {
  color: #ffffff;
  background: #203b58;
  border-color: #203b58;
}

.crossids-result {
  flex-basis: 100%;
  margin: 0;
  color: #4c5c68;
}

.crossids-export-all {
  font-weight: 700;
}

.crossids-export-status {
  flex-basis: 100%;
  margin: 0;
  color: #34545f;
}

.stuff-dashboard {
  margin: 18px 0 26px;
  border-top: 2px solid #3f7e83;
}

.stuff-dashboard > h2 {
  margin-top: 16px;
}

.stuff-dashboard > h2:not(:first-child) {
  padding-top: 18px;
  border-top: 2px solid #3f7e83;
}

.stuff-chart-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 620px), 1fr));
  gap: 18px 24px;
}

.stuff-chart-section {
  min-width: 0;
  padding-top: 12px;
  border-top: 1px solid #c6d5de;
}

.stuff-chart-section--wide {
  grid-column: 1 / -1;
}

.stuff-chart-section h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.stuff-chart-section p {
  min-height: 2.7em;
  margin: 0 0 7px;
  color: #4c5c68;
}

.stuff-close-approach-table {
  margin-top: 2rem;
}

.stuff-lunar-distance-table {
  margin-top: 2rem;
}

.moon-validation-status {
  border: 1px solid currentColor;
  border-radius: 0.25rem;
  display: inline-block;
  font-weight: 700;
  padding: 0.12rem 0.35rem;
  white-space: nowrap;
}

.moon-validation-status.is-valid {
  background: #e8f7ed;
  color: #176b37;
}

.moon-validation-status.is-invalid {
  background: #fff1f1;
  color: #9b1c1c;
}

.moon-validation-status:focus-visible {
  outline: 3px solid #1b6ca8;
  outline-offset: 2px;
}

.stuff-close-approach-table .table-scroll {
  max-width: none;
  overflow-x: visible;
}

.close-ephemeris-summary {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 0.25rem 0.8rem;
}

.close-ephemeris-summary dt {
  font-weight: 700;
}

.close-ephemeris-summary dd {
  margin: 0;
}

.close-ephemeris-scroll pre {
  margin: 0;
  min-width: max-content;
  padding: 0.8rem;
}

.close-ephemeris-scroll mark {
  background: #ffe38c;
  display: inline-block;
  font-weight: 700;
  width: 100%;
}

.stuff-close-filters {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0.8rem 0;
}

.stuff-close-filters label {
  display: grid;
  font-size: 0.85rem;
  gap: 0.2rem;
}

.stuff-close-filters input {
  min-width: 10rem;
}

.stuff-data-quality {
  margin-top: 1.5rem;
}

.stuff-sky-controls {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 0.55rem;
}

.stuff-sky-controls button[aria-pressed="true"] {
  background: var(--navy);
  color: #fff;
}

.actual-sky-map {
  float: right;
  box-sizing: border-box;
  width: 30%;
  margin: 0 0 1rem 1.25rem;
  padding: 0.25rem;
  border: 1px solid #c6d5de;
  border-radius: 0.55rem;
  background: #f7fbfc;
}

.actual-sky-map h2 {
  margin-top: 0;
  font-size: 1.15rem;
}

.actual-sky-map p {
  margin: 0.35rem 0 0.65rem;
}

.actual-sky-map canvas {
  display: block;
  width: 100%;
  height: 180px;
  background: #eaf3f7;
}

.stuff-space-controls {
  display: grid;
  gap: 0.55rem;
  padding: 0.75rem;
}

.stuff-space-controls span {
  color: #60717d;
  font-variant-numeric: tabular-nums;
}

.stuff-space-workspace {
  display: grid;
  grid-template-columns: minmax(13rem, 17rem) minmax(38rem, 1fr) minmax(17rem, 21rem);
  gap: 0.85rem;
  align-items: start;
  margin-top: 0.65rem;
}

.stuff-space-intro,
.stuff-space-inspector {
  border: 1px solid #bfd1dc;
  border-radius: 6px;
  background: #f7fafb;
  box-shadow: 0 2px 7px rgb(21 55 77 / 8%);
}

.stuff-space-intro {
  padding: 0.85rem;
}

.stuff-space-intro h4 {
  margin: 0 0 0.65rem;
  color: #173b59;
}

.stuff-space-intro p {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.stuff-space-main {
  min-width: 0;
}

.stuff-space-toolbar,
.stuff-space-button-row,
.stuff-space-button-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.stuff-space-toolbar {
  margin-bottom: 0.55rem;
  padding: 0.5rem;
  border: 1px solid #c9d8e1;
  border-radius: 5px;
  background: #eef5f7;
}

.stuff-space-toolbar select {
  max-width: 9rem;
}

.stuff-space-inspector details > summary {
  padding: 0.7rem 0.8rem;
  color: #173b59;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
}

.stuff-space-inspector details[open] > summary {
  border-bottom: 1px solid #bfd1dc;
}

.stuff-space-controls fieldset {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
  margin: 0;
  padding: 0.6rem;
  border: 1px solid #cedce4;
  border-radius: 5px;
  background: #fff;
}

.stuff-space-controls legend {
  padding: 0 0.25rem;
  color: #294d66;
  font-weight: 700;
}

.stuff-space-controls label {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.stuff-space-controls input[type="datetime-local"],
.stuff-space-controls input[type="number"],
.stuff-space-controls select {
  min-width: 0;
  max-width: 100%;
}

.stuff-space-target-select {
  flex: 1 1 9rem;
}

.stuff-space-button-row > button {
  flex: 1 1 auto;
}

.stuff-space-button-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stuff-space-timeline {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem 0.75rem;
  align-items: center;
  margin-top: 0.55rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid #c9d8e1;
  border-radius: 5px;
  background: #eef5f7;
}

.stuff-space-timeline input[type="range"],
.stuff-space-timeline [data-space-scale] {
  grid-column: 1 / -1;
  width: 100%;
}

.stuff-space-timeline output,
.stuff-space-timeline span {
  color: #435f71;
  font: 0.82rem/1.3 ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-variant-numeric: tabular-nums;
}

.stuff-space-controls output[data-space-pan-output] {
  color: #60717d;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}

/* Higher specificity than the later generic chart/scroll-container rules. */
.chart-touch-shell canvas[data-stuff-chart="earthMoon3d"] {
  background: #18364b;
  touch-action: none;
  cursor: grab;
}

.stuff-space-stage {
  position: relative;
  min-width: 0;
}

.stuff-space-overlay-controls {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 50%;
  display: flex;
  gap: 7px;
  transform: translateX(-50%);
  perspective: 520px;
}

.stuff-space-overlay-controls button {
  min-width: 64px;
  padding: 6px 9px;
  color: #eef7fb;
  font-weight: 700;
  border: 1px solid rgba(212, 154, 36, 0.75);
  border-radius: 3px;
  background: rgba(7, 22, 36, 0.78);
  box-shadow: 0 5px 8px rgba(0, 0, 0, 0.38);
  transform: rotateX(18deg) translateZ(2px);
  transform-origin: bottom center;
}

.stuff-space-overlay-controls button:active {
  transform: rotateX(18deg) translateY(2px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.55), inset 0 1px 3px rgba(0, 0, 0, 0.28);
}

.stuff-space-stage.space-canvas-hud .stuff-space-overlay-controls {
  visibility: hidden;
  pointer-events: none;
}

.stuff-space-help {
  position: absolute;
  z-index: 5;
  max-width: 260px;
  padding: 5px 7px;
  color: #eef7fb;
  font: 11px/1.3 system-ui, sans-serif;
  pointer-events: none;
  border: 1px solid rgba(212, 154, 36, 0.7);
  border-radius: 3px;
  background: rgba(7, 22, 36, 0.92);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.42);
}

.stuff-space-context-menu {
  background: rgba(18, 39, 63, 0.98);
  border: 1px solid #d49a24;
  border-radius: 5px;
  box-shadow: 0 8px 24px rgb(0 0 0 / 35%);
  color: #fff;
  display: grid;
  gap: 0.25rem;
  min-width: 175px;
  padding: 0.45rem;
  position: fixed;
  z-index: 1300;
}
.stuff-space-context-menu[hidden] { display: none; }
.stuff-space-context-menu strong { padding: 0.2rem 0.35rem; }
.stuff-space-context-menu a, .stuff-space-context-menu button {
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  font: inherit;
  padding: 0.35rem;
  text-align: left;
  text-decoration: none;
}
.stuff-space-context-menu a:hover, .stuff-space-context-menu button:hover { background: rgb(255 255 255 / 14%); }

.stuff-space-edge-legend {
  margin: 0.45rem 0 0;
  padding: 0.45rem 0.6rem;
  border-left: 4px solid #d49a24;
  background: #eef5f6;
}

.stuff-space-intro .stuff-space-edge-legend {
  margin-bottom: 0;
  font-size: 0.84rem;
}

@media (max-width: 1350px) {
  .stuff-space-workspace {
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 21rem);
  }

  .stuff-space-intro {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1100px) {
  .stuff-space-workspace {
    grid-template-columns: minmax(0, 1fr);
  }

  .stuff-space-intro,
  .stuff-space-main,
  .stuff-space-inspector {
    grid-column: 1;
  }

  .stuff-space-overlay-controls {
    gap: 3px;
    transform: translateX(-50%) scale(0.82);
    transform-origin: top center;
  }
}
[data-space-lod-output],
[data-space-trail-status] {
  padding: 0.15rem 0.35rem;
  border-radius: 3px;
  background: #eef5f6;
  color: #334b5c;
  font-size: 0.82rem;
}

.submission-hover-card {
  position: fixed;
  z-index: 1500;
  max-width: min(34rem, calc(100vw - 16px));
  max-height: min(28rem, calc(100vh - 16px));
  overflow: auto;
  padding: 0.55rem;
  color: #17212b;
  border: 1px solid #52758c;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 7px 22px rgb(0 0 0 / 28%);
  font-size: 0.86rem;
}
.submission-hover-card[hidden] { display: none; }
.submission-hover-card strong { display: block; margin-bottom: 0.35rem; }
.submission-hover-card table { border-collapse: collapse; white-space: nowrap; }
.submission-hover-card th,
.submission-hover-card td { padding: 0.2rem 0.45rem; border: 1px solid #c6d5de; text-align: left; }
.submission-hover-card th { background: #e9f2f3; }

.submission-object { scroll-margin-top: 13rem; }
.submission-object:target {
  outline: 3px solid rgb(212 154 36 / 70%);
  outline-offset: 0.35rem;
  background: rgb(241 223 177 / 22%);
}

.submission-object-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(520px, 1.35fr);
  gap: 1rem;
  align-items: start;
}
.submission-object-chart {
  min-width: 0;
  border: 1px solid #c6d5de;
  background: #fff;
  padding: 0.55rem;
}
.submission-object-chart canvas { width: 100%; }
.submission-chart-summary { display: block; margin-top: 0.35rem; color: #526574; }
.submission-history-table .submission-uncertainty-value {
  min-width: 9.5ch;
  white-space: nowrap;
  font-family: Consolas, "Courier New", monospace;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 1100px) {
  .submission-object-layout { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .stuff-space-overlay-controls { gap: 3px; }
  .stuff-space-overlay-controls button { min-width: 0; padding: 5px 6px; font-size: 0.78rem; }
}

canvas[data-stuff-chart="earthMoon3d"]:active {
  cursor: grabbing;
}

.chart-source {
  font-size: 0.82rem !important;
}

.stuff-history-select {
  display: inline-flex;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
}

.stuff-observability-controls,
.badids-compare {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin: 0.65rem 0;
}

.stuff-observability-controls select,
.badids-compare select {
  max-width: min(32rem, 100%);
}

[data-badids-comparison] {
  flex-basis: 100%;
  overflow-x: visible;
}

.badids-comparison-table {
  width: max-content;
  min-width: 34rem;
}

.stuff-chart-section canvas {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 290px;
  background: #ffffff;
  border: 1px solid #c6d5de;
  touch-action: pan-y;
}

.stuff-chart-section canvas:focus-visible,
.stuff-chart-canvas-scroll:focus-visible {
  outline: 3px solid #d49a24;
  outline-offset: 2px;
}

.stuff-chart-canvas-scroll {
  box-sizing: border-box;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-gutter: stable;
}

.stuff-chart-canvas-scroll canvas {
  touch-action: pan-x pan-y;
}

.stuff-chart-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.stuff-chart-toolbar button {
  min-height: 30px;
  padding: 4px 8px;
  color: #17212b;
  background: #ffffff;
  border: 1px solid #8ea8b8;
  border-radius: 5px;
  font: inherit;
  cursor: pointer;
}

.stuff-chart-toolbar button:hover,
.stuff-chart-toolbar button:focus-visible {
  background: #dceef0;
  border-color: #3f7e83;
}

.stuff-chart-tooltip {
  position: fixed;
  z-index: 20;
  max-width: min(24rem, calc(100vw - 20px));
  padding: 5px 7px;
  color: #ffffff;
  background: #17212b;
  border-radius: 4px;
  font-size: 12px;
  pointer-events: none;
}

.stuff-prediction-player {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.65rem 0;
}
.stuff-prediction-player input[type="range"] { flex: 1 1 100%; width: 100%; }
.stuff-prediction-player button[aria-pressed="true"],
button[data-space-stereo][aria-pressed="true"],
button[data-space-controls-toggle][aria-pressed="true"],
button[data-prediction-stereo][aria-pressed="true"] {
  background: #203b58;
  color: #fff;
  border-color: #d49a24;
  box-shadow: inset 0 0 0 2px #d49a24;
  font-weight: bold;
}

.interactive-view-tools { display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:8px 0; max-width:100%; }
.interactive-view-tools input { max-width:100%; width:170px; }
.interactive-view-tools button { min-height:36px; }
.interactive-view-tools small { flex-basis:100%; }
.interactive-view-tools [data-space-age] { padding:4px 8px; border:1px solid #60717d; border-radius:4px; }
.interactive-view-tools [data-age-state="stale"],
.interactive-view-tools [data-age-state="unknown"],
.interactive-view-tools [data-age-state="future"] { color:#713600; background:#fff0ce; border-color:#a56700; }
.prediction-legend { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 0.35rem 0; }
.prediction-legend span::before, .prediction-purpose::before {
  border-radius: 50%; content: ""; display: inline-block; height: 0.65rem; margin-right: 0.28rem; width: 0.65rem;
}
.prediction-variants::before { background: #2c8c86; }
.prediction-nominal::before { background: #111; }
.prediction-p50::before { background: #d49a24; }
.prediction-p90::before { background: #3874b8; }
.prediction-p95::before { background: #c9513a; }

.managed-table .numeric-column {
  text-align: right;
}

.managed-table .column-hidden {
  display: none;
}

.column-detail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.2rem;
  min-height: 1.2rem;
  margin-left: 0.18rem;
  border: 1px solid currentColor;
  border-radius: 3px;
  line-height: 1;
  text-decoration: none;
  vertical-align: middle;
}

.column-resizer {
  position: absolute;
  top: 0;
  right: -3px;
  bottom: 0;
  width: 8px;
  cursor: col-resize;
  touch-action: none;
}

.table-toolbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin: 5px 0;
}

.table-toolbar button {
  min-height: 30px;
  padding: 4px 9px;
  color: #17212b;
  background: #f5f8fa;
  border: 1px solid #8ea8b8;
  border-radius: 5px;
  font: inherit;
  cursor: pointer;
}

.table-profile-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-right: 4px;
  color: #4c5c68;
  font-size: 12px;
}

.table-profile-select,
.crossids-page-size {
  min-height: 30px;
  padding: 3px 7px;
  border: 1px solid #8ea8b8;
  border-radius: 5px;
  color: #17212b;
  background: #ffffff;
  font: inherit;
}

.table-toolbar button:hover,
.table-toolbar button:focus-visible {
  background: #dceef0;
  border-color: #3f7e83;
}

.column-panel {
  position: absolute;
  top: 34px;
  left: 0;
  z-index: 8;
  min-width: 190px;
  max-height: 60vh;
  padding: 7px;
  overflow-y: auto;
  color: #17212b;
  background: #ffffff;
  border: 1px solid #7895a6;
  box-shadow: 0 4px 12px rgba(20, 33, 61, 0.18);
}

.column-panel label {
  display: block;
  padding: 3px 2px;
  white-space: nowrap;
}

.column-panel-row {
  cursor: grab;
}

.column-panel-row:hover,
.column-panel-row:focus-visible {
  background: #dceef0;
  outline: 1px solid #3f7e83;
}

.column-panel-row.column-panel-dragging {
  opacity: 0.55;
  cursor: grabbing;
}

.column-panel input {
  margin-right: 7px;
}

th,
td {
  padding: 2px;
}

.text-page {
  max-width: 1100px;
}

.cli-table {
  border-collapse: collapse;
  width: 100%;
}

.cli-table th,
.cli-table td {
  padding: 7px;
  text-align: left;
  vertical-align: top;
  border: 1px solid #b8ccd7;
}

.cli-table th {
  color: #ffffff;
  background: #203b58;
}

code {
  font-family: Consolas, "Courier New", monospace;
}

.standard-ephemeris-page {
  max-width: none;
}

.standard-ephemeris-text {
  box-sizing: border-box;
  display: block;
  width: max-content;
  min-width: 100%;
  margin: 12px 0;
  padding: 10px;
  color: #dceaf0;
  background: #142b3d;
  border: 1px solid #7895a6;
  font: 13px/1.42 Consolas, "Courier New", monospace;
  white-space: pre;
}

.object-timeline-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 7px;
  margin: 12px 0;
}

.object-timeline-controls label {
  display: grid;
  gap: 2px;
}

.object-timeline-table {
  width: max-content;
  max-width: none;
  border-collapse: collapse;
}

.object-timeline-table th,
.object-timeline-table td {
  padding: 4px 6px;
  text-align: left;
  vertical-align: top;
  border: 1px solid #b8ccd7;
}

.object-timeline-table th {
  color: #fff;
  background: #203b58;
}

.timeline-event,
.identity-pair-badge {
  display: inline-block;
  border-radius: 999px;
  white-space: nowrap;
}

.timeline-event {
  padding: 1px 7px;
  font-weight: 700;
}

.timeline-event-arrival {
  color: #134d49;
  background: #b9dcda;
}

.timeline-event-departure {
  color: #6a3510;
  background: #f1dfb1;
}

.identity-pair-badge {
  margin: 2px 0 0 6px;
  padding: 1px 7px;
  color: #123f46;
  background: linear-gradient(90deg, #b9dcda, #f1dfb1);
  border: 1px solid #2c8c86;
  font-size: 11px;
  font-weight: 700;
  cursor: help;
}

.identity-possible {
  color: #6a3510;
  border-style: dashed;
}

@media (max-width: 768px) {
  .product-header h1 {
    font-size: 22px;
  }

  .product-header p {
    margin-top: 3px;
  }

  .product-header .product-title > p:first-of-type {
    display: none;
  }

  .product-header .activity-status {
    max-width: calc(100vw - 124px);
    font-size: 12px;
  }

  .inline-activity-status {
    display: inline-block;
    max-width: calc(100vw - 174px);
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .site-content h1,
  .site-content h2,
  .site-content h3,
  .site-content p,
  .site-content li,
  .site-layout > tbody > tr:nth-child(2) > td:last-child h1,
  .site-layout > tbody > tr:nth-child(2) > td:last-child h2,
  .site-layout > tbody > tr:nth-child(2) > td:last-child h3,
  .site-layout > tbody > tr:nth-child(2) > td:last-child p,
  .site-layout > tbody > tr:nth-child(2) > td:last-child li {
    max-width: calc(100vw - 166px);
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .site-content img[align="right"],
  .site-layout > tbody > tr:nth-child(2) > td:last-child img[align="right"] {
    float: none;
    display: block;
    width: auto;
    max-width: 30vw;
    margin: 0 0 12px;
  }

  .nav-collapsed .site-content h1,
  .nav-collapsed .site-content h2,
  .nav-collapsed .site-content h3,
  .nav-collapsed .site-content p,
  .nav-collapsed .site-content li,
  .nav-collapsed .site-layout > tbody > tr:nth-child(2) > td:last-child h1,
  .nav-collapsed .site-layout > tbody > tr:nth-child(2) > td:last-child h2,
  .nav-collapsed .site-layout > tbody > tr:nth-child(2) > td:last-child h3,
  .nav-collapsed .site-layout > tbody > tr:nth-child(2) > td:last-child p,
  .nav-collapsed .site-layout > tbody > tr:nth-child(2) > td:last-child li {
    max-width: calc(100vw - 32px);
  }

  .nav-collapsed .site-content img[align="right"],
  .nav-collapsed .site-layout > tbody > tr:nth-child(2) > td:last-child img[align="right"] {
    max-width: 30vw;
  }

  .stations-table.managed-table {
    font-size: 10px;
  }

  .stations-table.managed-table th,
  .stations-table.managed-table td {
    padding: 3px 2px;
  }

  .badids-table.managed-table {
    font-size: 11px;
    min-width: 54rem;
  }

  .badids-chart-dashboard {
    grid-template-columns: minmax(0, 1fr);
  }

  .badids-chart-heading,
  .badids-chart-primary {
    grid-column: auto;
  }

  .badids-chart-card canvas {
    height: 290px;
  }

  .crossids-search {
    width: 100%;
    min-width: 0;
  }

  .crossids-quick-filter {
    padding-left: 0;
    border-left: 0;
  }

  .stuff-chart-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .stuff-chart-section p {
    min-height: 0;
  }

  .stuff-chart-section canvas {
    height: 260px;
  }
}

/* Local candidate, deliberately scoped to Interactive, never generic tables. */
.stuff-space-workspace { display:flex !important; flex-direction:column; gap:.65rem; }
.stuff-space-main { order:0; width:100%; }
.stuff-space-inspector { order:1; width:100%; }
.stuff-space-controls { display:grid !important; grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)); gap:.5rem; align-items:start; }
.stuff-space-controls > fieldset { min-width:0; margin:0; padding:.4rem .6rem; }
.stuff-space-controls > fieldset[hidden] { display:none !important; }
.stuff-space-controls label { margin:.2rem 0; gap:.3rem; }
.stuff-space-controls input:not([type=checkbox]):not([type=range]), .stuff-space-controls select { max-width:100%; min-width:0; }
.stuff-space-controls .stuff-space-button-row, .stuff-space-controls .stuff-space-button-grid { gap:.25rem; margin:.2rem 0; }
.stuff-space-controls output { font-size:.8rem; line-height:1.25; }
.space-frame-limit { display:flex; flex-direction:column; align-items:stretch !important; }
.space-frame-limit input { width:100%; }
.space-object-picker { width:min(360px,85vw); max-height:80dvh; padding:14px; border:1px solid #76c9e8; border-radius:8px; background:#071d2a; color:#e5edf2; }
.space-object-picker::backdrop { background:rgba(0,0,0,.35); }
.space-object-picker > * { display:block; box-sizing:border-box; width:100%; margin:5px 0; }
.space-object-picker-list { max-height:52dvh; overflow-y:auto; overscroll-behavior:contain; }
.space-object-picker-list button { display:block; width:100%; min-height:36px; text-align:left; }
.space-object-picker-list button[aria-pressed=true] { background:#245674; color:white; }
canvas[data-stuff-chart="earthMoon3d"] { cursor:grab; }
.stuff-space-intro { order:2; width:100%; box-sizing:border-box; }
.stuff-space-main > .stuff-space-toolbar,
.stuff-space-main > .stuff-space-timeline,
.stuff-space-view-tools { display:none; }
.stuff-space-main > .interactive-view-tools { margin:.25rem 0; }
.stuff-space-main > .interactive-view-tools .interactive-view-note { display:none; }
.stuff-space-stage { overflow:hidden; border:1px solid #76c9e8; border-radius:8px; background:#020b12; }
canvas[data-stuff-chart="earthMoon3d"] { width:100%; height:clamp(440px,68vh,900px) !important; background:#020b12; }
.chart-expanded canvas[data-stuff-chart="earthMoon3d"] { height:100% !important; }
@media(max-width:600px) {
  canvas[data-stuff-chart="earthMoon3d"] { height:76svh !important; min-height:480px; }
  .stuff-space-workspace { gap:.4rem; }
}
@media(min-width:2200px) {
  canvas[data-stuff-chart="earthMoon3d"] { height:calc((100vw - 220px)*9/21) !important; max-height:82vh; }
}
