:root {
  --bg: #d5d4d7;
  --panel: #dedde1;
  --panel-dark: #cac8cc;
  --panel-light: #e8e7ea;
  --plot-bg: #ffffff;
  --ink: #252329;
  --muted: #5f5864;
  --line: #b8b5bc;
  --accent: #746c79;
  --accent-2: #5b5360;
  --danger: #9c2f2f;
}

html.is-mocadb-team,
body.is-mocadb-team {
  background: #f2e9e9;
  --bg: #f2e9e9;
  --panel: #eadede;
  --panel-dark: #d8c7c8;
  --panel-light: #f6eeee;
  --plot-bg: #ffffff;
  --ink: #252329;
  --muted: #6f5151;
  --line: #baa0a0;
  --accent: #8b5f5f;
  --accent-2: #6f5151;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 14px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 20px;
  background: #746c79;
  border-bottom: 1px solid #5e5663;
  color: #f3f2f4;
}

html.is-mocadb-team .topbar,
body.is-mocadb-team .topbar {
  background: #d8c7c8;
  border-bottom-color: #9b7373;
  color: #4f2626;
}

.brand {
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0;
  line-height: 1.15;
  color: #000000;
}

.topbar-title-group {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.dataviz-home-link {
  color: #000000;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  opacity: 0.72;
}

.dataviz-home-link:hover,
.dataviz-home-link:focus {
  opacity: 1;
  text-decoration: underline;
}

html.is-mocadb-team .brand,
body.is-mocadb-team .brand {
  color: #4f2626;
}

html.is-mocadb-team .dataviz-home-link,
body.is-mocadb-team .dataviz-home-link {
  color: #4f2626;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #000000;
  font-size: 15px;
  font-weight: 650;
  max-width: 48vw;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 0 1 auto;
}

html.is-mocadb-team .status,
body.is-mocadb-team .status {
  color: #4f2626;
}

.status.error {
  color: var(--danger);
}

.status.loading {
  color: #000000;
}

.status.loading::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: 2px solid rgba(0, 0, 0, .22);
  border-top-color: #000000;
  border-radius: 50%;
  animation: status-spin .75s linear infinite;
}

html.is-mocadb-team .status.loading::before,
body.is-mocadb-team .status.loading::before {
  border-color: rgba(79, 38, 38, .22);
  border-top-color: #4f2626;
}

@keyframes status-spin {
  to {
    transform: rotate(360deg);
  }
}

.workspace {
  flex: 1;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  min-height: 0;
}

.controls {
  background: var(--panel-dark);
  border-right: 1px solid var(--line);
  padding: 0 14px 14px;
  overflow: auto;
}

.control-section {
  margin: 0 -14px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.control-section:last-child {
  border-bottom: 0;
}

.axes-section {
  background: #d3d1d6;
}

.filters-section {
  background: #c7c4ca;
}

.model-tracks-section {
  background: #d8d6db;
}

.rvb-filter-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.rvb-filter-actions button {
  width: 100%;
  min-width: 0;
  padding: 0 8px;
  font-size: 12px;
}

.options-section {
  background: #d8d6db;
}

html.is-mocadb-team .axes-section,
body.is-mocadb-team .axes-section {
  background: #e0cccc;
}

html.is-mocadb-team .filters-section,
body.is-mocadb-team .filters-section {
  background: #d3bbbb;
}

html.is-mocadb-team .model-tracks-section,
body.is-mocadb-team .model-tracks-section {
  background: #eadede;
}

html.is-mocadb-team .options-section,
body.is-mocadb-team .options-section {
  background: #eadede;
}

.axis-group h3 {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.2;
  color: var(--ink);
  font-weight: 750;
}

.quantity-filter-control {
  margin: 0 0 14px;
}

.association-highlight-status {
  margin-top: -4px;
  min-height: 16px;
}

.axis-divider {
  height: 1px;
  margin: 16px 0 14px;
  background: #aaa6af;
}

h2 {
  margin: 0 0 12px;
  font-size: 16px;
  text-transform: uppercase;
  color: #000000;
  font-weight: 800;
  letter-spacing: .04em;
}

label {
  display: block;
  margin: 10px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.field-label {
  display: block;
}

select,
input[type="text"],
input[type="number"],
textarea {
  display: block;
  width: 100%;
  margin-top: 4px;
  border: 1px solid #aaa6af;
  border-radius: 6px;
  background: #f1f0f2;
  color: var(--ink);
  font: inherit;
}

select,
input[type="text"],
input[type="number"] {
  height: 34px;
  padding: 0 9px;
}

textarea {
  min-height: 74px;
  padding: 8px 9px;
  line-height: 1.35;
  resize: vertical;
}

input[type="range"] {
  display: block;
  width: 100%;
  margin-top: 8px;
  accent-color: var(--accent);
}

.range-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.range-heading output {
  color: var(--ink);
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

select:focus,
input:focus,
textarea:focus {
  outline: 2px solid rgba(116, 108, 121, .28);
  border-color: var(--accent);
}

html.is-mocadb-team select:focus,
html.is-mocadb-team input:focus,
html.is-mocadb-team textarea:focus,
body.is-mocadb-team select:focus,
body.is-mocadb-team input:focus,
body.is-mocadb-team textarea:focus {
  outline-color: rgba(139, 95, 95, .3);
}

.axis-type-select {
  background: #cbc7cf;
  border-color: #827b88;
}

.checkline {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--ink);
  font-weight: 500;
}

.checkline.is-disabled {
  color: #77717b;
  opacity: .7;
}

.options-section label.is-disabled {
  color: #77717b;
  opacity: .72;
  cursor: not-allowed;
}

.options-section label.is-disabled select,
.options-section select:disabled {
  color: #77717b;
  background: #e7e3e8;
  border-color: #c8c1cc;
  box-shadow: none;
  cursor: not-allowed;
}

.checkline input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.checkline input:disabled {
  cursor: not-allowed;
}

.checkline span {
  min-width: 0;
  line-height: 1.25;
}

.disabled-field {
  color: #77717b;
  opacity: .7;
}

.designation-picker {
  position: relative;
  margin: 10px 0;
}

.designation-picker label {
  margin-bottom: 0;
}

.designation-results {
  position: absolute;
  z-index: 20;
  right: 0;
  left: 0;
  max-height: 220px;
  overflow: auto;
  margin-top: 4px;
  border: 1px solid #aaa6af;
  border-radius: 6px;
  background: #f5f4f6;
  box-shadow: 0 8px 18px rgba(37, 35, 41, .18);
}

.spectral-typing-page #spt-comparison-results {
  position: fixed;
  z-index: 80;
  right: auto;
  left: auto;
  max-width: calc(100vw - 24px);
}

.designation-result,
.designation-result-note {
  display: block;
  width: 100%;
  min-height: 30px;
  padding: 7px 9px;
  border: 0;
  border-bottom: 1px solid #dddade;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
}

.spectral-typing-page .spt-spectrum-result {
  min-height: 38px;
  line-height: 1.22;
  white-space: normal;
}

.spectral-typing-page .spt-spectrum-result span {
  display: block;
  overflow-wrap: anywhere;
}

.designation-result {
  cursor: pointer;
}

.designation-result:hover,
.designation-result:focus {
  background: #e5e2e8;
  outline: none;
}

.designation-result:disabled {
  cursor: default;
  color: var(--muted);
  background: #eceaee;
}

.designation-result-note {
  color: var(--muted);
  font-size: 12px;
}

.designation-selected {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
}

.designation-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 26px;
  gap: 5px;
  border: 1px solid #aaa6af;
  border-radius: 6px;
  background: #eceaee;
  color: var(--ink);
  padding: 3px 5px 3px 8px;
  font-size: 12px;
  font-weight: 650;
}

.designation-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.designation-chip button {
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 4px;
  background: #d5d2d8;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  line-height: 1;
}

.designation-chip button:hover,
.designation-chip button:focus {
  background: #c7c2ca;
  outline: none;
}

.advanced-highlight {
  margin: 8px 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.advanced-highlight summary {
  cursor: pointer;
  color: var(--ink);
}

.visual-area {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto minmax(92px, 1fr);
  row-gap: 6px;
  align-content: start;
  background: var(--panel);
  isolation: isolate;
  overflow: hidden;
}

.plot-frame {
  position: relative;
  z-index: 0;
  min-width: 0;
  min-height: 0;
  justify-self: center;
  width: 100%;
  height: clamp(420px, 62vh, 920px);
  background: var(--plot-bg);
}

#plot {
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  background: var(--plot-bg);
}

#plot .modebar {
  opacity: 1 !important;
  visibility: visible !important;
}

#gcmd-plot {
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  background: var(--plot-bg);
}

#gcmd-plot .modebar {
  opacity: 1 !important;
  visibility: visible !important;
}

.plot-loader {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  pointer-events: none;
  background: rgba(255, 255, 255, .62);
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, visibility .18s ease;
}

.plot-loader.is-visible {
  opacity: 1;
  visibility: visible;
}

.plot-loader-ring {
  width: 58px;
  height: 58px;
  border: 5px solid rgba(116, 108, 121, .18);
  border-top-color: var(--accent);
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .7);
  animation: status-spin .75s linear infinite;
}

.table-toolbar {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px 12px;
  padding: 9px 12px;
  background: var(--panel-light);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.plot-summary {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
  color: var(--muted);
  width: 100%;
}

.plot-hint {
  color: var(--muted);
}

.export-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 100%;
}

button {
  height: 32px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: #ffffff;
  padding: 0 12px;
  font-weight: 650;
  cursor: pointer;
}

button:hover {
  background: #5e5663;
}

button:disabled {
  cursor: wait;
  opacity: .62;
}

.export-actions button {
  height: 28px;
  padding: 0 8px;
  font-size: 12px;
  white-space: nowrap;
}

.selection-area {
  position: relative;
  z-index: 8;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  background: var(--panel-light);
  color: var(--muted);
}

.table-scroll {
  min-height: 0;
  overflow: auto;
}

.table-scroll > table {
  width: calc(100% - 24px);
  margin: 10px 12px;
}

.astrometry-symbol-cell {
  width: 54px;
  text-align: center;
}

.astrometry-table-symbol {
  display: inline-block;
  width: var(--atm-symbol-size);
  height: var(--atm-symbol-size);
  border: 1.4px solid rgba(255, 255, 255, .82);
  border-radius: 50%;
  background: var(--atm-symbol-color);
  box-shadow: 0 0 0 1px rgba(37, 35, 41, .22);
  opacity: var(--atm-symbol-opacity);
  vertical-align: middle;
}

.selection-table {
  overflow: auto;
  padding: 10px 12px;
}

.missing-oids {
  padding: 8px 12px 10px;
  border-top: 1px solid var(--line);
  color: #5f5864;
  font-size: 13px;
}

table {
  width: 100%;
  border-collapse: collapse;
  color: var(--ink);
  font-size: 12px;
}

th,
td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 6px 8px;
  white-space: nowrap;
}

th {
  position: sticky;
  top: 0;
  background: var(--panel);
  z-index: 1;
}

tbody tr:nth-child(even) {
  background: #eef0ee;
}

tbody tr:nth-child(odd) {
  background: #f8f9f8;
}

html.is-mocadb-team tbody tr:nth-child(even),
body.is-mocadb-team tbody tr:nth-child(even) {
  background: #f2e8e8;
}

html.is-mocadb-team tbody tr:nth-child(odd),
body.is-mocadb-team tbody tr:nth-child(odd) {
  background: #fbf7f7;
}

.report-link {
  display: inline-flex;
  align-items: center;
  height: 24px;
  border: 1px solid var(--accent);
  border-radius: 5px;
  background: #ffffff;
  color: var(--accent-2);
  padding: 0 8px;
  font-weight: 700;
  text-decoration: none;
}

.report-link:hover {
  background: var(--accent);
  color: #ffffff;
}

.url-help {
  border-top: 1px solid var(--line);
  background: #f4f4f3;
  color: var(--ink);
  padding: 20px 24px 28px;
}

.url-help h2 {
  margin-bottom: 8px;
}

.url-help h3 {
  margin: 18px 0 8px;
  font-size: 15px;
  font-weight: 750;
}

.url-help p,
.url-help li {
  max-width: 1180px;
  color: var(--muted);
}

.url-help ul {
  margin: 8px 0 12px;
  padding-left: 20px;
}

.url-help li {
  margin: 6px 0;
}

.url-help code {
  border: 1px solid #d4d2d8;
  border-radius: 4px;
  background: #ffffff;
  color: #252329;
  padding: 1px 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .92em;
}

.url-help table {
  margin: 8px 0 16px;
  max-width: 1180px;
  background: #ffffff;
  border: 1px solid var(--line);
}

.url-help th,
.url-help td {
  vertical-align: top;
  white-space: normal;
}

.url-help th {
  position: static;
  background: #dedde1;
}

.bulk-preload-panel {
  max-width: 1180px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.bulk-preload-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.cache-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.bulk-preload-status {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.bulk-preload-status.error {
  color: var(--danger);
}

.cache-status {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.cache-status.error {
  color: var(--danger);
}

.js-landing-page {
  min-height: 100vh;
  background: #f5f8fa;
  color: var(--ink);
}

.js-landing-shell {
  min-height: 100vh;
  background: #f5f8fa;
}

.js-landing-header {
  width: 100%;
  background: #dedde1;
  color: #000000;
  padding: 14px 30px;
}

.js-landing-header h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.js-landing-content {
  max-width: 980px;
  margin: 0;
  padding: 28px 30px 44px;
  line-height: 1.55;
}

.js-page-list {
  margin: 16px 0 22px;
  padding-left: 24px;
}

.js-page-list li {
  margin: 12px 0 16px;
}

.js-tool-description {
  max-width: 720px;
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.js-landing-content a {
  color: var(--accent-2);
  font-weight: 750;
}

.is-mocadb-team .js-landing-page,
.is-mocadb-team .js-landing-shell,
.js-landing-page.is-mocadb-team,
.js-landing-page.is-mocadb-team .js-landing-shell {
  background: #f2e9e9;
}

.is-mocadb-team .js-landing-header,
.js-landing-page.is-mocadb-team .js-landing-header {
  background: #d8c7c8;
  color: #4f2626;
  border-bottom: 1px solid #9b7373;
}

.gaia-cmd-workspace {
  grid-template-columns: 320px minmax(0, 1fr);
}

.gaia-cmd-visual-area {
  grid-template-rows: minmax(520px, 70vh) auto minmax(180px, 1fr);
  row-gap: 8px;
  overflow: auto;
}

.gaia-cmd-plot-frame {
  height: 100%;
  min-height: 520px;
}

.gaia-cmd-toolbar {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 10px 14px;
  background: var(--panel-light);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.gaia-cmd-summary {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.45;
}

.gaia-cmd-actions {
  flex: 0 0 auto;
  width: auto;
  justify-content: flex-end;
}

.gaia-cmd-table-area {
  min-height: 220px;
}

.spectral-workspace {
  grid-template-columns: 320px minmax(0, 1fr);
}

.spectral-visual-area {
  grid-template-rows: minmax(420px, 56vh) auto minmax(340px, 42vh) auto;
  row-gap: 8px;
  overflow: auto;
}

.spectral-plot-frame {
  height: 100%;
  min-height: 420px;
}

.spectral-chi2-frame {
  height: 100%;
  min-height: 340px;
}

#spt-plot,
#spt-chi2-plot {
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  background: var(--plot-bg);
}

.spectral-toolbar {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 10px 14px;
  background: var(--panel-light);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.spectral-summary {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.45;
}

.spectral-report-actions {
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
}

.spectral-report-row,
.spectral-export-row {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}

.spectral-report-row {
  flex-wrap: wrap;
}

.spectral-export-row {
  flex-wrap: nowrap;
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 1px;
}

.spectral-report-actions button {
  width: max-content;
}

.spectral-correction-info {
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f7f7f6;
  color: var(--muted);
  line-height: 1.45;
}

.spectral-correction-info strong {
  color: var(--ink);
}

.spectral-correction-info a {
  color: var(--accent-2);
  font-weight: 750;
}

.spectral-correction-formula {
  display: inline-block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 15px;
}

.selected-spectrum {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  min-height: 34px;
  margin-top: 8px;
  border: 1px solid #aaa6af;
  border-radius: 6px;
  background: #eceaee;
  color: var(--ink);
  padding: 8px 9px;
  font-size: 12px;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.selected-spectrum span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.selected-spectrum button {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 5px;
  padding: 0;
  line-height: 1;
  font-size: 14px;
}

.button-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  margin: 8px 0;
}

.button-grid button {
  min-width: 0;
  padding: 0 8px;
  font-size: 12px;
}

.spectral-nav-pad {
  display: grid;
  grid-template-columns: 30px 30px 30px;
  grid-template-rows: 30px 30px 30px;
  justify-content: center;
  gap: 5px;
  margin: 4px 0 10px;
}

.spectral-nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 5px;
  font-size: 16px;
  line-height: 1;
}

.spectral-nav-button span {
  transform: translateY(-1px);
}

.spectral-nav-button:disabled {
  opacity: 0.45;
}

.spectral-nav-up {
  grid-column: 2;
  grid-row: 1;
}

.spectral-nav-left {
  grid-column: 1;
  grid-row: 2;
}

.spectral-nav-right {
  grid-column: 3;
  grid-row: 2;
}

.spectral-nav-down {
  grid-column: 2;
  grid-row: 3;
}

.spectral-nav-center {
  align-self: center;
  justify-self: center;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8a8490;
  grid-column: 2;
  grid-row: 2;
}

.standard-marks {
  position: relative;
  height: 46px;
  margin: -2px 7px 8px;
}

.standard-mark,
.standard-mark-current {
  position: absolute;
  left: var(--pos);
  min-width: 1px;
  transform: translateX(-50%);
  font-weight: 750;
  line-height: 1;
  text-align: center;
}

.standard-mark {
  top: 0;
  height: 24px;
  color: #5f5864;
  font-size: 10px;
}

.standard-mark::before {
  content: "";
  display: block;
  width: 1px;
  height: 8px;
  margin: 0 auto 3px;
  background: #8a8490;
}

.standard-mark span,
.standard-mark-current span {
  display: block;
  max-width: 44px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.standard-mark-current {
  top: 22px;
  height: 22px;
  color: #000000;
  font-size: 11px;
}

.standard-mark-current::before {
  content: "";
  display: block;
  width: 2px;
  height: 10px;
  margin: 0 auto 3px;
  background: #000000;
}

#spt-reset-norm {
  width: 100%;
  margin: 2px 0 8px;
}

.spectral-management-section[hidden] {
  display: none;
}

.spectral-management-proposal {
  display: grid;
  gap: 3px;
  margin-bottom: 10px;
  line-height: 1.35;
}

#spt-push-spectral-type {
  width: 100%;
  margin-top: 4px;
}

.spectral-management-status {
  display: block;
  min-height: 18px;
  margin-top: 8px;
}

.spectral-url-help {
  padding-bottom: 34px;
}

#spt-clear-cache-status {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.astrometry-workspace {
  grid-template-columns: 320px minmax(0, 1fr);
}

.astrometry-visual-area {
  grid-template-rows: minmax(430px, 46vh) minmax(430px, 46vh) auto minmax(180px, 24vh);
  row-gap: 8px;
  overflow: auto;
}

.astrometry-plot-frame {
  height: 100%;
  min-height: 430px;
}

#atm-ra-plot,
#atm-dec-plot {
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  background: var(--plot-bg);
}

#atm-open-report {
  width: 100%;
  margin-top: 8px;
}

.mission-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 4px 0 10px;
}

.mission-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 260px;
  overflow: auto;
  padding-right: 2px;
}

.mission-check {
  min-height: 24px;
  margin: 0;
}

.mission-check span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calibration-method-list {
  max-height: 180px;
}

.calibration-method-check span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  overflow: visible;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
}

.calibration-method-check {
  align-items: flex-start;
}

.calibration-method-check input {
  flex: 0 0 auto;
  margin-top: 1px;
}

.astrometry-toolbar {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 10px 14px;
  background: var(--panel-light);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.astrometry-summary {
  min-width: 0;
  color: var(--muted);
  line-height: 1.45;
}

.astrometry-summary-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-bottom: 8px;
  color: var(--muted);
}

.astrometry-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr));
  gap: 18px 36px;
}

.astrometry-summary-section {
  min-width: 0;
}

.astrometry-summary-title {
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 13px;
}

.astrometry-summary-source {
  margin-left: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.astrometry-summary-line {
  display: grid;
  grid-template-columns: minmax(4.7em, max-content) minmax(0, 1fr);
  column-gap: 0.55em;
  align-items: baseline;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.astrometry-summary-subhead {
  display: block;
  grid-column: 1 / -1;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.astrometry-summary-symbol {
  color: var(--muted);
  font-weight: 650;
}

.astrometry-summary-value {
  min-width: 0;
}

.astrometry-summary-note {
  margin-top: 8px;
}

.astrometry-summary-calibration {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.astrometry-summary-calibration .astrometry-summary-line {
  grid-template-columns: minmax(12em, max-content) minmax(0, 1fr);
}

.astrometry-fit-actions {
  margin-top: 12px;
}

.astrometry-fit-controls {
  display: grid;
  gap: 5px;
  margin-top: 12px;
}

.astrometry-fit-controls label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.astrometry-fit-controls select {
  width: 100%;
}

#atm-clear-fit {
  width: 100%;
  margin-top: 2px;
}

#atm-fit-summary {
  margin-top: 8px;
  line-height: 1.35;
}

.astrometry-management-section[hidden] {
  display: none;
}

.astrometry-push-fields {
  display: grid;
  gap: 2px;
  margin: 8px 0;
}

.astrometry-push-fields label {
  margin: 6px 0;
}

.astrometry-push-actions {
  margin-top: 10px;
}

.astrometry-push-status {
  margin-top: 8px;
  line-height: 1.35;
}

.astrometry-push-status ul {
  margin: 4px 0 0 18px;
  padding: 0;
}

.astrometry-push-warning {
  margin-top: 6px;
  color: var(--danger);
}

.astrometry-actions {
  width: auto;
  flex: 0 0 auto;
  justify-content: flex-end;
}

.astrometry-table-area {
  min-height: 180px;
}

.astrometry-url-help {
  padding-bottom: 34px;
}

.spectra-workspace {
  grid-template-columns: 330px minmax(0, 1fr);
}

.spectra-visual-area {
  grid-template-rows: minmax(520px, 68vh) auto minmax(200px, 25vh);
  row-gap: 8px;
  overflow: auto;
}

.spectra-plot-frame {
  height: 100%;
  min-height: 520px;
}

#spe-plot {
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  background: var(--plot-bg);
}

html.is-management #spe-plot .modebar,
body.is-management #spe-plot .modebar {
  opacity: 1 !important;
  visibility: visible !important;
}

.spectra-selected-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.spectra-selected-list .plot-hint {
  min-height: 30px;
  display: flex;
  align-items: center;
}

.spectra-chip {
  width: 100%;
  justify-content: space-between;
}

.spectra-chip span {
  min-width: 0;
}

.spectra-token {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  min-width: 0;
  border: 1px solid #aaa6af;
  border-radius: 6px;
  background: #eceaee;
  color: var(--ink);
  padding: 8px;
  font-size: 12px;
}

.spectra-token-swatch {
  flex: 0 0 4px;
  align-self: stretch;
  min-height: 46px;
  border-radius: 3px;
  background: var(--swatch-color, #555555);
}

.spectra-token-body {
  display: grid;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
  line-height: 1.25;
}

.spectra-token-title {
  overflow-wrap: anywhere;
  font-weight: 750;
}

.spectra-token-meta {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.spectra-token-spectrum-name {
  color: #5e5a64;
}

.spectra-token button {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 5px;
  padding: 0;
  line-height: 1;
  font-size: 14px;
}

.spectra-toolbar {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 10px 14px;
  background: var(--panel-light);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.spectra-summary {
  min-width: 0;
  color: var(--muted);
  line-height: 1.45;
}

.spectra-actions {
  width: auto;
  flex: 0 0 auto;
  justify-content: flex-end;
}

.spectral-index-workspace {
  grid-template-columns: 330px minmax(0, 1fr);
}

.spectral-index-visual-area {
  grid-template-rows: minmax(520px, 68vh) auto minmax(230px, 28vh);
  row-gap: 8px;
  overflow: auto;
}

.spectral-index-plot-frame {
  height: 100%;
  min-height: 520px;
}

#sie-plot {
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  background: var(--plot-bg);
}

.spectral-index-toolbar {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 10px 14px;
  background: var(--panel-light);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.spectral-index-summary {
  min-width: 0;
  color: var(--muted);
  line-height: 1.45;
}

.spectral-index-actions {
  width: auto;
  flex: 0 0 auto;
  justify-content: flex-end;
}

.spectral-index-detail-area {
  min-height: 230px;
  overflow: auto;
}

.spectral-index-detail-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  gap: 12px;
  align-items: start;
}

.spectral-index-detail-grid > div {
  min-width: 0;
}

.spectral-index-detail-grid strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.spectral-index-definition-token {
  margin-top: 8px;
}

.spectral-index-definition-filter {
  min-height: 38px;
}

.spectral-index-definition-select {
  min-height: 38px;
}

.spectral-index-definition-result {
  min-height: 42px;
  line-height: 1.22;
  white-space: normal;
}

.spectral-index-definition-result span,
.spectral-index-definition-result small {
  display: block;
  overflow-wrap: anywhere;
}

.spectral-index-definition-result small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.sed-workspace {
  grid-template-columns: 340px minmax(0, 1fr);
}

.sed-visual-area {
  grid-template-rows: minmax(560px, 70vh) auto auto auto minmax(190px, 22vh);
  row-gap: 8px;
  overflow: auto;
}

.sed-plot-frame {
  height: 100%;
  min-height: 560px;
}

#sed-plot {
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  background: var(--plot-bg);
}

.sed-token-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.sed-inline-layer-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.sed-inline-layer-block h3 {
  margin: 0;
  color: #3f3a43;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sed-layer-tokens {
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-height: 34vh;
  overflow: auto;
  padding-right: 2px;
}

.sed-layer-token {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  height: auto !important;
  min-height: 38px;
  border: 1px solid #aaa6af;
  border-radius: 6px;
  background: #eceaee;
  color: var(--ink);
  padding: 7px 8px;
  text-align: left;
  font-size: 12px;
  white-space: normal;
}

.sed-layer-token.is-muted {
  opacity: 0.48;
}

.sed-layer-token.is-unavailable {
  opacity: 0.56;
  cursor: not-allowed;
}

.sed-layer-symbol {
  position: relative;
  flex: 0 0 34px;
  height: 18px;
  min-width: 34px;
  margin-top: 2px;
}

.sed-layer-symbol::before {
  content: "";
  position: absolute;
  left: 1px;
  right: 1px;
  top: 8px;
  height: 3px;
  border-radius: 3px;
  background: var(--swatch-color, #555555);
  opacity: 0.7;
}

.sed-layer-token.is-photometry .sed-layer-symbol::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--swatch-color, #555555);
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px var(--swatch-color, #555555);
}

.sed-layer-token.is-spectrum .sed-layer-symbol::before {
  top: 7px;
  height: 4px;
}

.sed-layer-token.is-template .sed-layer-symbol::before {
  background: repeating-linear-gradient(
    to right,
    var(--swatch-color, #222222) 0 7px,
    transparent 7px 11px
  );
}

.sed-layer-token.is-empirical .sed-layer-symbol::before {
  top: 6px;
  height: 6px;
  background: #101010;
}

.sed-layer-body {
  display: grid;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
  align-content: start;
}

.sed-layer-title,
.sed-layer-meta {
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.22;
}

.sed-layer-title {
  font-weight: 750;
}

.sed-layer-meta {
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.sed-toolbar {
  min-height: 66px;
}

.sed-flux-note {
  max-width: 460px;
  text-align: right;
}

.sed-bolometric-summary {
  min-height: 56px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f7f7f8;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  display: grid;
  gap: 4px;
}

.sed-bolometric-row {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 8px;
  align-items: baseline;
}

.sed-bolometric-label {
  color: var(--muted);
}

.sed-bolometric-value {
  min-width: 0;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.sed-bolometric-note {
  color: var(--muted);
  font-weight: 600;
}

.sed-selection-actions {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
}

.sed-selection-actions button {
  height: auto;
  min-height: 32px;
  white-space: normal;
  line-height: 1.2;
  padding: 6px 8px;
}

.sed-selection-toolbar {
  position: relative;
  z-index: 10;
  display: grid;
  gap: 6px;
  padding: 8px 14px;
  background: var(--panel-light);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sed-empirical-toolbar {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 8px 14px;
  background: var(--panel-light);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sed-empirical-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.sed-empirical-actions button {
  height: auto;
  min-height: 34px;
  white-space: normal;
  line-height: 1.2;
  padding: 6px 8px;
}

.spectra-table-area {
  min-height: 200px;
}

.spectra-download-links {
  width: auto;
}

#spe-reset-norm {
  width: 100%;
  margin-top: 2px;
}

.spectra-management-section[hidden] {
  display: none;
}

.spectra-ignore-summary {
  margin-bottom: 8px;
}

.spectra-ignore-traces {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}

.spectra-ignore-spectrum-list {
  display: grid;
  gap: 6px;
  max-height: 180px;
  overflow: auto;
}

.spectra-ignore-trace-choice {
  align-items: flex-start;
  gap: 8px;
  margin: 0;
}

.spectra-ignore-trace-choice .spectra-token-swatch {
  min-height: 22px;
}

.spectra-ignore-trace-actions {
  grid-template-columns: 1fr 1fr;
}

#spe-ignore-selected {
  width: 100%;
}

.spectra-ignore-status {
  display: block;
  margin-top: 8px;
  min-height: 18px;
}

.spectra-url-help {
  padding-bottom: 34px;
}

.xyzuvw-workspace {
  grid-template-columns: 340px minmax(0, 1fr);
}

.xyzuvw-frozen-workspace {
  grid-template-columns: minmax(0, 1fr);
}

.xyzuvw-visual-area {
  grid-template-rows: minmax(560px, 70vh) auto minmax(320px, 32vh);
  row-gap: 8px;
  overflow: auto;
}

.xyzuvw-plot-frame {
  height: 100%;
  min-height: 560px;
}

#xuv-plot {
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  background: var(--plot-bg);
}

.xyzuvw-three-plot-frame {
  overflow: hidden;
  background: #08090c;
}

.xuv-three-stage,
.xuv-three-canvas {
  position: relative;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #08090c;
}

.xuv-three-renderer,
.xuv-three-label-layer {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

.xuv-three-renderer {
  cursor: grab;
}

.xuv-three-renderer:active {
  cursor: grabbing;
}

.xuv-three-label-layer {
  pointer-events: none;
  overflow: hidden;
}

.xuv-three-label {
  position: absolute;
  color: #eaf7ff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .9), 0 0 7px rgba(0, 0, 0, .75);
  white-space: nowrap;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.xuv-three-label.is-radius {
  font-size: 9px;
  font-weight: 650;
}

.xuv-three-label.is-reference {
  color: #00a8ff;
}

.xuv-three-label.is-association {
  font-size: 10px;
}

.xuv-three-label.is-axis {
  text-shadow: 0 1px 2px rgba(255, 255, 255, .9);
}

.xuv-three-label.is-axis-tick {
  font-size: 9px;
  font-weight: 600;
}

.xuv-three-label.is-camera-target {
  color: #e12626;
  font-size: 10px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .95), 0 0 7px rgba(0, 0, 0, .8);
}

.xuv-three-label.is-muted {
  opacity: .55;
}

.xuv-three-legend {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
  max-width: min(560px, calc(100% - 20px));
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 7px;
  background: rgba(8, 9, 12, .72);
  backdrop-filter: blur(3px);
}

.xuv-three-legend button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  border-color: rgba(255, 255, 255, .18);
  border-radius: 5px;
  background: rgba(255, 255, 255, .08);
  color: #f2f7fb;
  padding: 0 7px;
  font-size: 11px;
  line-height: 1;
}

.xuv-three-legend button:hover {
  background: rgba(255, 255, 255, .16);
}

.xuv-three-legend button.is-muted {
  opacity: .42;
}

.xuv-three-swatch {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--swatch, #ffffff);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .45);
}

.xuv-three-age-scale {
  flex: 1 0 100%;
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 6px;
  color: rgba(242, 247, 251, .78);
  font-size: 10px;
  line-height: 1;
}

.xuv-three-age-scale i {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgb(150,0,90), rgb(0,0,200), rgb(0,25,255), rgb(0,152,255), rgb(44,255,150), rgb(151,255,0), rgb(255,234,0), rgb(255,111,0), rgb(255,0,0));
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .45);
}

.xuv-three-count {
  opacity: .62;
}

.xuv-three-tooltip {
  position: absolute;
  z-index: 6;
  width: max-content;
  max-width: 270px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 6px;
  background: rgba(8, 9, 12, .9);
  color: #f2f7fb;
  font-size: 12px;
  line-height: 1.35;
  pointer-events: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .35);
}

.xyz2-visual-area {
  position: relative;
}

.xyz2-plot-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  min-height: 0;
}

.xyz2-panel {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  background: var(--plot-bg);
}

.xyz2-panel-title {
  margin: 0;
  padding: 6px 10px;
  border-bottom: 1px solid var(--line);
  background: var(--panel-light);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.xyz2-plot-frame {
  min-height: 0;
}

#xuv-plot-xyz,
#xuv-plot-uvw {
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  background: var(--plot-bg);
}

.xyz2-plot-loader {
  position: absolute;
}

.xyzuvw-check-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 280px;
  overflow: auto;
  padding-right: 2px;
}

.xyzuvw-mtid-list {
  max-height: 210px;
}

.xyzuvw-check {
  min-height: 24px;
  margin: 0;
}

.xyzuvw-check span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xyzuvw-association-picker {
  margin-top: 10px;
}

.association-results {
  z-index: 70;
}

.association-selected {
  max-height: 170px;
  overflow: auto;
  padding-right: 2px;
}

.association-chip {
  width: 100%;
  justify-content: space-between;
}

.xyzuvw-toolbar {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 10px 14px;
  background: var(--panel-light);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.xyzuvw-summary {
  min-width: 0;
  color: var(--muted);
  line-height: 1.45;
}

.xyzuvw-three-hint {
  display: block;
}

.xyzuvw-action-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex: 0 0 auto;
}

.xyzuvw-action-row {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.xyzuvw-actions {
  width: auto;
  flex: 0 0 auto;
  justify-content: flex-end;
}

.xyzuvw-recenter-button,
.xyzuvw-standalone-button {
  height: 24px;
  padding: 0 8px;
  font-size: 12px;
  flex: 0 0 auto;
}

.xyzuvw-table-area {
  grid-template-rows: auto minmax(130px, 1fr) auto;
  min-height: 320px;
}

.xyzuvw-explanation {
  margin: 0 12px 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f7f7f6;
  color: var(--muted);
  line-height: 1.45;
}

.xyzuvw-explanation strong {
  color: var(--ink);
}

.xyzuvw-url-help {
  padding-bottom: 34px;
}

.tfage-workspace {
  grid-template-columns: 330px minmax(0, 1fr);
}

.tfage-visual-area {
  grid-template-rows: minmax(560px, 70vh) auto minmax(210px, 26vh);
  row-gap: 8px;
  overflow: auto;
}

.tfage-plot-frame {
  height: 100%;
  min-height: 560px;
}

#tfa-plot {
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  background: var(--plot-bg);
}

.tfage-toolbar {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 10px 14px;
  background: var(--panel-light);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tfage-summary {
  min-width: 0;
  color: var(--muted);
  line-height: 1.45;
}

.tfage-summary a {
  color: var(--accent-2);
  font-weight: 700;
  text-decoration-thickness: 1.5px;
}

.tfage-actions {
  width: auto;
  flex: 0 0 auto;
  justify-content: flex-end;
}

.tfage-table-area {
  min-height: 210px;
}

.tfage-table-area tbody tr[data-curve-key] {
  cursor: pointer;
}

.tfage-table-area tbody tr.is-focused td {
  background: #7f642c;
  color: #ffffff;
  font-weight: 750;
}

.curve-swatch {
  display: inline-block;
  width: 29px;
  height: 0;
  border-top: var(--swatch-width, 2px) solid var(--swatch-color, #555555);
  vertical-align: middle;
}

.table-color-line {
  width: 25px;
  --swatch-width: 3px;
}

.plot-table-marker-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  min-width: 42px;
  height: 22px;
  vertical-align: middle;
}

.plot-table-marker {
  position: relative;
  display: inline-block;
  width: var(--marker-size, 14px);
  height: var(--marker-size, 14px);
  border: var(--marker-border-width, 1.4px) solid var(--marker-edge, rgba(255, 255, 255, .82));
  background: var(--marker-fill, var(--marker-color, #555555));
  box-shadow: 0 0 0 1px rgba(37, 35, 41, .22);
  opacity: var(--marker-opacity, 1);
  vertical-align: middle;
}

.plot-table-marker.is-circle {
  border-radius: 50%;
}

.plot-table-marker.is-square {
  border-radius: 2px;
}

.plot-table-marker.is-triangle-up,
.plot-table-marker.is-star {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.plot-table-marker.is-triangle-up::before,
.plot-table-marker.is-triangle-up::after,
.plot-table-marker.is-star::before,
.plot-table-marker.is-star::after {
  content: "";
  position: absolute;
  display: block;
}

.plot-table-marker.is-triangle-up::before,
.plot-table-marker.is-star::before {
  inset: 0;
  background: var(--marker-edge, rgba(255, 255, 255, .82));
}

.plot-table-marker.is-triangle-up::after,
.plot-table-marker.is-star::after {
  inset: var(--marker-border-width, 1.4px);
  background: var(--marker-fill, var(--marker-color, #555555));
}

.plot-table-marker.is-triangle-up::before,
.plot-table-marker.is-triangle-up::after {
  clip-path: polygon(50% 4%, 96% 94%, 4% 94%);
}

.plot-table-marker.is-star::before,
.plot-table-marker.is-star::after {
  clip-path: polygon(50% 0%, 61% 34%, 98% 35%, 68% 56%, 79% 91%, 50% 70%, 21% 91%, 32% 56%, 2% 35%, 39% 34%);
}

.plot-table-marker.is-open.is-triangle-up::after,
.plot-table-marker.is-open.is-star::after {
  background: var(--panel-light);
}

.curve-swatch.is-dashed {
  border-top-style: dashed;
}

.curve-swatch.is-dotted {
  border-top-style: dotted;
}

.tfage-url-help {
  padding-bottom: 34px;
}

.mflows-workspace {
  grid-template-columns: 330px minmax(0, 1fr);
}

.mflows-visual-area {
  grid-template-rows: auto minmax(0, 1fr);
  row-gap: 8px;
  overflow: auto;
}

.mflows-toolbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 14px;
  background: var(--panel-light);
  border-bottom: 1px solid var(--line);
}

.mflows-summary {
  min-width: 0;
  color: var(--muted);
  line-height: 1.45;
}

.mflows-summary a,
#mflows-hint a,
.mflows-panel-info a {
  color: var(--accent-2);
  font-weight: 700;
  text-decoration-thickness: 1.5px;
}

.mflows-line-legend {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  vertical-align: baseline;
}

.mflows-line-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.mflows-line-legend-swatch {
  display: inline-block;
  width: 3px;
  height: 18px;
  border-radius: 2px;
  flex: 0 0 auto;
}

.mflows-line-legend-swatch.is-peak {
  background: #d33f49;
}

.mflows-line-legend-swatch.is-adopted {
  background: #4fa8cf;
}

.mflows-line-legend-swatch.is-full-forward {
  background: repeating-linear-gradient(
    to bottom,
    #7b3fb4 0,
    #7b3fb4 5px,
    transparent 5px,
    transparent 8px
  );
}

.mflows-actions {
  width: auto;
  flex: 0 0 auto;
  justify-content: flex-end;
}

.mflows-panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(430px, 1fr));
  gap: 12px;
  padding: 12px;
  align-items: start;
}

.mflows-panel-grid.is-compact {
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 9px;
}

.mflows-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #ffffff;
}

.mflows-panel-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  min-height: 36px;
  padding: 8px 10px 5px;
  border-bottom: 1px solid #dfdde2;
  background: #f3f2f4;
}

.mflows-panel-heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
}

.mflows-panel-grid.is-compact .mflows-panel-heading h3 {
  font-size: 14px;
}

.mflows-panel-role {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

.mflows-panel-plot {
  position: relative;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  height: 280px;
  min-height: 280px;
  overflow: hidden;
  background: #ffffff;
}

.mflows-panel-grid.is-loading .mflows-panel-plot::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  background: rgba(255, 255, 255, 0.62);
  pointer-events: none;
}

.mflows-panel-grid.is-loading .mflows-panel-plot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 6;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border: 3px solid rgba(0, 0, 0, 0.22);
  border-top-color: #000000;
  border-radius: 50%;
  animation: status-spin 0.75s linear infinite;
  pointer-events: none;
}

.mflows-panel-plot .plot-container,
.mflows-panel-plot .svg-container {
  max-width: 100% !important;
}

.mflows-panel-grid.is-compact .mflows-panel-plot {
  height: 230px;
  min-height: 230px;
}

.mflows-panel-info {
  min-height: 118px;
  padding: 8px 10px 10px;
  border-top: 1px solid #dfdde2;
  background: #fbfbfc;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  line-height: 1.35;
}

.mflows-panel-info .mflows-info-row {
  display: grid;
  grid-template-columns: minmax(92px, max-content) minmax(0, 1fr);
  gap: 7px;
  align-items: baseline;
  min-width: 0;
}

.mflows-panel-info .mflows-info-label {
  color: var(--muted);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 750;
}

.mflows-panel-info .mflows-info-value {
  min-width: 0;
  overflow-wrap: anywhere;
}

.mflows-run-metadata {
  margin: 0 12px 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #ffffff;
  overflow: hidden;
}

.mflows-run-metadata h2 {
  margin: 0;
  padding: 9px 12px;
  border-bottom: 1px solid #dfdde2;
  background: #f3f2f4;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.mflows-run-metadata-grid {
  display: grid;
  gap: 1px;
  background: #dfdde2;
}

.mflows-run-metadata-item {
  min-width: 0;
  padding: 10px 12px;
  background: #fbfbfc;
}

.mflows-run-metadata-item h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.25;
  font-weight: 800;
}

.mflows-run-metadata-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 6px 12px;
  margin-bottom: 8px;
}

.mflows-run-metadata-fields div,
.mflows-run-metadata-comments {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(86px, max-content) minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
}

.mflows-run-metadata-fields span,
.mflows-run-metadata-comments strong {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.mflows-run-metadata-fields strong,
.mflows-run-metadata-comments span {
  min-width: 0;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.mflows-empty {
  margin: 14px 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel-light);
  color: var(--muted);
  font-weight: 650;
}

.lrv-workspace {
  grid-template-columns: 330px minmax(0, 1fr);
}

.lrv-visual-area {
  grid-template-rows: minmax(520px, 62vh) auto minmax(240px, 28vh) minmax(360px, 42vh);
  row-gap: 8px;
  overflow: auto;
}

.lrv-top-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(520px, 1fr) minmax(280px, 32%);
  gap: 8px;
}

.lrv-plot-frame {
  height: 100%;
  min-height: 520px;
}

#lrv-plot {
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  background: var(--plot-bg);
}

.lrv-toolbar {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 10px 14px;
  background: var(--panel-light);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.lrv-summary {
  min-width: 0;
  color: var(--muted);
  line-height: 1.45;
}

.lrv-actions {
  width: auto;
  flex: 0 0 auto;
  justify-content: flex-end;
}

.lrv-info-area {
  grid-template-rows: auto auto minmax(100px, 1fr);
  min-height: 240px;
}

.lrv-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  padding: 10px 12px;
  background: var(--line);
}

.lrv-info-item {
  min-width: 0;
  background: #f7f7f6;
  padding: 7px 9px;
}

.lrv-info-item span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.lrv-info-item strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}

.lrv-detail-table {
  width: calc(100% - 24px);
  margin: 10px 12px;
}

.lrv-detail-table th {
  position: static;
  width: 220px;
  background: #dedde1;
}

.lrv-detail-table td {
  white-space: normal;
  overflow-wrap: anywhere;
}

.lrv-empty-detail {
  padding: 16px 12px;
  color: var(--muted);
}

.lrv-diagnostic-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}

.lrv-image-frame {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  background: var(--plot-bg);
  border-left: 1px solid var(--line);
  overflow: hidden;
}

.lrv-frame-title {
  height: 34px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: var(--panel-light);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.lrv-image-frame a {
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: auto;
}

.lrv-image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lrv-image-empty {
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 14px;
  color: var(--muted);
  text-align: center;
}

.lrv-url-help {
  padding-bottom: 34px;
}

.rvb-workspace {
  grid-template-columns: 340px minmax(0, 1fr);
}

.rvb-visual-area {
  grid-template-rows: minmax(560px, 64vh) auto minmax(310px, 36vh);
  row-gap: 8px;
  overflow: auto;
}

.rvb-top-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(520px, 1.08fr) minmax(430px, .92fr);
  gap: 8px;
}

.rvb-plot-frame {
  height: 100%;
  min-height: 560px;
}

#rvb-segment-plot {
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  background: var(--plot-bg);
}

.rvb-detail-panel {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  background: var(--plot-bg);
  border-left: 1px solid var(--line);
  overflow: hidden;
}

.rvb-tabbar {
  min-width: 0;
  display: grid;
  grid-template-rows: repeat(2, auto);
  overflow: hidden;
  background: var(--panel-light);
  border-bottom: 1px solid var(--line);
}

.rvb-tabbar-row {
  min-width: 0;
  display: flex;
  overflow-x: auto;
}

.rvb-tabbar-row + .rvb-tabbar-row {
  border-top: 1px solid var(--line);
}

.rvb-tabbar button {
  min-width: 72px;
  height: 38px;
  margin: 0;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  box-shadow: none;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.rvb-tabbar button.is-active {
  background: #ffffff;
  color: var(--ink);
}

.rvb-tab-panel {
  min-width: 0;
  min-height: 0;
  display: none;
  overflow: auto;
}

.rvb-tab-panel.is-active {
  display: block;
}

.rvb-tab-panel a {
  min-width: 0;
  min-height: 100%;
  display: grid;
  place-items: center;
  overflow: auto;
}

.rvb-image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.rvb-image-empty,
.rvb-empty-detail {
  min-height: 160px;
  display: grid;
  place-items: center;
  padding: 14px;
  color: var(--muted);
  text-align: center;
}

.rvb-posterior-panel {
  height: 100%;
  grid-template-rows: minmax(260px, 1fr) minmax(220px, .76fr);
  gap: 1px;
  background: var(--line);
}

.rvb-posterior-panel.is-active {
  display: grid;
}

.rvb-rebuilt-panel,
.rvb-rebuilt-corner-panel,
.rvb-lit-rv-panel {
  height: 100%;
  grid-template-rows: auto minmax(340px, 1fr) minmax(150px, auto);
  gap: 1px;
  background: var(--line);
}

.rvb-rebuilt-corner-panel,
.rvb-global-corner-panel,
.rvb-lit-rv-panel {
  grid-template-rows: auto minmax(0, 1fr);
}

.rvb-lit-rv-panel {
  grid-template-rows: auto minmax(260px, 1fr) minmax(230px, .85fr) auto;
}

.rvb-rebuilt-panel.is-active,
.rvb-rebuilt-corner-panel.is-active,
.rvb-global-corner-panel.is-active,
.rvb-lit-rv-panel.is-active {
  display: grid;
}

.rvb-tab-actions {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #ffffff;
}

.rvb-tab-actions button {
  height: 30px;
}

#rvb-posterior-plot,
#rvb-correlation-plot,
#rvb-rebuilt-corner-plot,
#rvb-global-corner-plot,
#rvb-rebuilt-fit-plot,
#rvb-lit-rv-plot,
#rvb-lit-rv-bias-plot {
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #ffffff;
}

.rvb-rebuilt-corner-panel .rvb-rebuilt-meta,
.rvb-global-corner-panel .rvb-rebuilt-meta {
  display: none;
}

.rvb-rebuilt-meta {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  background: #ffffff;
}

#rvb-lit-rv-meta {
  overflow: hidden;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rvb-lit-rv-summary {
  min-width: 0;
  padding: 8px 12px;
  background: #ffffff;
  color: var(--text);
  font-size: 12.5px;
  line-height: 1.45;
  border-top: 1px solid var(--line);
}

.rvb-lit-rv-summary strong {
  font-weight: 700;
}

.rvb-lit-rv-summary .muted {
  color: var(--muted);
}

.rvb-toolbar {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  background: var(--panel-light);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.rvb-summary {
  min-width: 0;
  flex: 1 1 auto;
  color: var(--muted);
  line-height: 1.45;
}

.rvb-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rvb-summary-row .plot-hint {
  min-width: 0;
}

.rvb-summary-row button {
  width: auto;
  height: 28px;
  flex: 0 0 auto;
  padding: 0 12px;
}

.rvb-actions {
  width: auto;
  flex: 0 0 auto;
  justify-content: flex-end;
  gap: 6px;
}

.rvb-actions button {
  height: 28px;
  padding: 0 10px;
}

.rvb-info-area {
  grid-template-rows: auto auto auto minmax(150px, 1fr);
  min-height: 310px;
}

.rvb-info-actions {
  display: flex;
  justify-content: flex-start;
  gap: 6px;
  padding: 8px 12px;
  background: var(--panel-light);
  border-top: 1px solid var(--line);
}

.rvb-info-actions button {
  height: 28px;
  padding: 0 10px;
}

.rvb-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1px;
  padding: 10px 12px;
  background: var(--line);
}

.rvb-info-item {
  min-width: 0;
  background: #f7f7f6;
  padding: 7px 9px;
}

.rvb-info-item span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.rvb-info-item strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}

.rvb-info-link {
  color: var(--accent);
  text-decoration: none;
}

.rvb-info-link:hover,
.rvb-info-link:focus {
  text-decoration: underline;
}

.rvb-segment-table,
.rvb-detail-table {
  width: calc(100% - 24px);
  margin: 10px 12px;
  border-collapse: collapse;
}

.rvb-segment-table th,
.rvb-detail-table th {
  background: #dedde1;
}

.rvb-segment-table td,
.rvb-detail-table td {
  white-space: normal;
  overflow-wrap: anywhere;
}

.rvb-spectrum-metadata-table th,
.rvb-spectrum-metadata-table td {
  vertical-align: top;
}

.rvb-spectrum-metadata-table td:nth-child(2) {
  white-space: pre-wrap;
}

.rvb-segment-row {
  cursor: pointer;
}

.rvb-segment-row.is-selected td {
  background: #edf0f1;
  color: #000000;
  font-weight: 700;
}

.rvb-segment-row.is-ignored td {
  color: #8f3838;
}

.rvb-url-help {
  padding-bottom: 34px;
}

.moranta26-workspace {
  grid-template-columns: 350px minmax(0, 1fr);
}

.moranta26-visual-area {
  grid-template-rows: auto auto auto minmax(340px, 34vh) minmax(330px, 34vh);
  row-gap: 8px;
  overflow: auto;
}

.moranta26-page .control-section {
  padding-top: 12px;
  padding-bottom: 12px;
}

.moranta26-page .control-section h2 {
  margin-bottom: 8px;
}

.moranta26-page label {
  margin: 8px 0;
}

.moranta26-multiselect {
  height: auto;
  min-height: 0;
  padding: 4px 0;
  line-height: 1.25;
}

.moranta26-multiselect option {
  padding: 4px 9px;
}

.moranta26-multiselect-compact {
  min-height: 124px;
}

.moranta26-multiselect-medium {
  min-height: 154px;
}

.moranta26-multiselect-tall {
  min-height: 244px;
}

.moranta26-period-frame,
.moranta26-lightcurve-frame,
.moranta26-small-frame {
  height: 100%;
  min-height: 330px;
}

.moranta26-period-frame {
  min-height: 520px;
}

.moranta26-toolbar,
.moranta26-star-area {
  border-top: 1px solid #c8c3ce;
  background: #f2f1f4;
}

.moranta26-toolbar {
  padding: 10px 14px;
}

.moranta26-summary {
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
}

.moranta26-star-area {
  display: grid;
  gap: 10px;
  padding: 12px 14px;
}

.moranta26-star-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  color: var(--ink);
  font-size: 13px;
}

.moranta26-star-summary span,
.moranta26-star-summary a {
  color: var(--muted);
  font-weight: 650;
}

.moranta26-lightcurve-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

.moranta26-table {
  max-height: 210px;
}

.moranta26-table .is-muted-row {
  color: #77727c;
  background: #eeeeef;
}

.moranta26-small-plots {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  min-height: 330px;
}

.group-hierarchy-workspace {
  grid-template-columns: 330px minmax(0, 1fr);
}

.group-hierarchy-visual-area {
  grid-template-rows: minmax(620px, 1fr) auto minmax(210px, 260px);
  row-gap: 8px;
}

.group-hierarchy-plot-frame {
  height: 100%;
  min-height: 620px;
  overflow: hidden;
}

#gh-plot {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  background: var(--plot-bg);
}

.group-hierarchy-button-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 10px;
}

.group-hierarchy-selected-summary {
  display: grid;
  gap: 4px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, .48);
}

.group-hierarchy-selected-summary strong {
  font-size: 18px;
  color: var(--ink);
}

.group-hierarchy-stat-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin-top: 10px;
}

.group-hierarchy-stat-list > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 9px;
  border-bottom: 1px solid rgba(88, 82, 94, .18);
  color: var(--muted);
}

.group-hierarchy-stat-list strong {
  color: var(--ink);
}

.group-hierarchy-legend {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}

.group-hierarchy-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 22px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
}

.group-hierarchy-legend-swatch {
  display: inline-block;
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  border: 1px solid rgba(74, 70, 80, .34);
  border-radius: 50%;
}

.group-hierarchy-link-list {
  display: grid;
  gap: 8px;
}

.group-hierarchy-link-list a,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: #ffffff;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.group-hierarchy-link-list a:hover,
.button-link:hover {
  background: var(--accent-2);
}

.button-link.is-disabled {
  pointer-events: none;
  opacity: .52;
}

.group-hierarchy-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel-light);
}

.group-hierarchy-summary {
  display: grid;
  gap: 2px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
}

.group-hierarchy-actions {
  width: auto;
  justify-content: flex-end;
}

.group-hierarchy-detail-area {
  min-height: 0;
}

.group-hierarchy-details {
  min-height: 0;
  overflow: auto;
  padding: 12px 14px 18px;
}

.group-hierarchy-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px 14px;
  margin: 0;
}

.group-hierarchy-field {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.group-hierarchy-field dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

.group-hierarchy-field dd {
  margin: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.group-hierarchy-children {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.gh-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.gh-chip {
  width: auto;
  height: 26px;
  padding: 0 8px;
  border-radius: 5px;
  font-size: 12px;
}

.moca-explorer-workspace {
  grid-template-columns: 330px minmax(0, 1fr);
}

.moca-explorer-visual-area {
  grid-template-rows: auto minmax(560px, 66vh) auto minmax(220px, 28vh);
  row-gap: 8px;
  overflow: auto;
}

.moca-explorer-viewbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 10px;
  background: var(--panel-light);
  border-bottom: 1px solid var(--line);
}

.moca-explorer-viewbar button {
  height: 28px;
  padding: 0 9px;
  border-color: #8c8492;
  background: #f3f2f4;
  color: var(--ink);
  font-size: 12px;
}

.moca-explorer-viewbar button:hover,
.moca-explorer-viewbar button.is-active {
  background: var(--accent);
  color: #ffffff;
}

.moca-explorer-plot-frame {
  height: 100%;
  min-height: 560px;
}

#mex-plot {
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  background: var(--plot-bg);
}

#mex-plot .modebar {
  opacity: 1 !important;
  visibility: visible !important;
}

.moca-explorer-toolbar {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 10px 14px;
  background: var(--panel-light);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.moca-explorer-summary {
  min-width: 0;
  color: var(--muted);
  line-height: 1.45;
}

.moca-explorer-actions {
  width: auto;
  flex: 0 0 auto;
  justify-content: flex-end;
}

.moca-explorer-table-area {
  min-height: 220px;
}

.moca-explorer-check-list {
  display: grid;
  gap: 2px;
  max-height: 220px;
  overflow: auto;
}

.moca-explorer-check-list .checkline {
  min-height: 24px;
  margin: 0;
}

.moca-explorer-page tbody tr.is-selected td {
  background: #7fa12a;
  color: #ffffff;
  font-weight: 750;
}

.moca-explorer-page tbody tr.is-selected .report-link {
  border-color: #ffffff;
}

.moca-explorer-url-help {
  padding-bottom: 34px;
}

.bd-evolution-workspace {
  grid-template-columns: 320px minmax(0, 1fr);
}

.bd-evolution-visual-area {
  grid-template-rows: minmax(560px, 64vh) auto minmax(240px, 1fr);
  row-gap: 0;
  overflow: auto;
}

.bd-evolution-plot-frame {
  height: 100%;
  min-height: 560px;
}

#bde-plot {
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  background: var(--plot-bg);
}

#bde-plot .modebar {
  opacity: 1 !important;
  visibility: visible !important;
}

.bd-evolution-toolbar {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 10px 14px;
  background: var(--panel-light);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.bd-evolution-summary {
  min-width: 0;
  color: var(--muted);
  line-height: 1.45;
}

.bd-evolution-actions {
  width: auto;
  flex: 0 0 auto;
  justify-content: flex-end;
}

.bd-evolution-table-area {
  min-height: 240px;
}

.bd-evolution-page tbody tr.is-selected td {
  background: #7fa12a;
  color: #ffffff;
  font-weight: 750;
}

.bd-evolution-page tbody tr.is-selected .report-link {
  border-color: #ffffff;
}

.bd-evolution-url-help {
  padding-bottom: 34px;
}

.banyan-sigma-workspace {
  grid-template-columns: 330px minmax(0, 1fr);
}

.banyan-sigma-visual-area {
  grid-template-rows: auto minmax(360px, 42vh) auto auto minmax(320px, 1fr);
  row-gap: 8px;
  overflow: auto;
}

.banyan-sigma-page .bsig-primary-action {
  width: 100%;
  margin: 4px 0 8px;
}

.bsig-summary-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 8px;
  padding: 10px;
  background: var(--panel-light);
  border-bottom: 1px solid var(--line);
}

.bsig-stat {
  min-width: 0;
  min-height: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f4f3f5;
  padding: 8px 10px;
}

.bsig-stat span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.bsig-stat strong {
  min-width: 0;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.banyan-sigma-plot-frame {
  height: 100%;
  min-height: 360px;
}

#bsig-prob-plot {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  background: var(--plot-bg);
}

#bsig-prob-plot .modebar {
  opacity: 1 !important;
  visibility: visible !important;
}

.bsig-toolbar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 14px;
  background: var(--panel-light);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.bsig-summary {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--muted);
}

.bsig-actions {
  justify-content: flex-end;
  width: auto;
}

.bsig-range-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 8px;
}

.bsig-range-grid label {
  min-width: 0;
  margin-top: 2px;
}

.bsig-range-grid input:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.bsig-info-box {
  margin: 0 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f4f3f5;
  color: var(--ink);
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.45;
}

.bsig-info-box p {
  margin: 0 0 8px;
}

.bsig-info-box p:last-child {
  margin-bottom: 0;
}

.bsig-info-box a {
  color: #004f85;
  font-weight: 750;
}

.bsig-info-box code {
  border: 1px solid #d2cfd5;
  border-radius: 4px;
  background: #ffffff;
  padding: 1px 4px;
  color: var(--ink);
  font-size: 12px;
}

.bsig-table-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  grid-template-rows: minmax(210px, 1fr) minmax(140px, .7fr);
  gap: 8px;
  padding: 0 8px 8px;
}

.bsig-result-area {
  grid-row: 1 / span 2;
}

.bsig-stored-area,
.bsig-observable-area,
.bsig-result-area {
  border: 1px solid var(--line);
}

.bsig-subtable-title {
  margin: 12px 12px 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.designation-result-note-inline {
  color: var(--muted);
  font-size: 11px;
}

.retrieval-workspace {
  grid-template-columns: 340px minmax(0, 1fr);
}

.retrieval-visual-area {
  grid-template-rows: minmax(460px, 54vh) auto minmax(360px, 1fr);
  row-gap: 8px;
  overflow: auto;
}

.retrieval-top-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(620px, 1fr) clamp(90px, 8vw, 130px);
  gap: 8px;
}

.retrieval-tp-frame,
.retrieval-contribution-frame {
  height: 100%;
  min-height: 460px;
}

#rex-tp-plot,
#rex-contribution-plot,
#rex-abundance-plot,
#rex-spectrum-plot,
#rex-corner-plot {
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  background: var(--plot-bg);
}

.retrieval-toolbar {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 10px 14px;
  background: var(--panel-light);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.retrieval-summary {
  min-width: 0;
  color: var(--muted);
  line-height: 1.45;
}

.retrieval-detail-area {
  min-height: 360px;
  grid-template-rows: auto minmax(0, 1fr);
}

.retrieval-tabbar {
  min-width: 0;
  display: flex;
  grid-template-rows: none;
  overflow-x: auto;
  background: var(--panel-light);
  border-bottom: 1px solid var(--line);
}

.retrieval-tabbar button {
  min-width: 112px;
  height: 38px;
  margin: 0;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  box-shadow: none;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.retrieval-tabbar button:hover,
.retrieval-tabbar button.is-active {
  background: #ffffff;
  color: var(--ink);
}

.retrieval-tabbar button:disabled,
.retrieval-tabbar button.is-disabled,
.retrieval-tabbar button:disabled:hover {
  cursor: not-allowed;
  opacity: .58;
  background: #e4dcdd;
  color: #8b7d81;
}

.retrieval-tab-panel {
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: auto;
  background: #ffffff;
}

.retrieval-tab-panel:not([hidden]) {
  display: grid;
}

.retrieval-abundance-frame,
.retrieval-spectrum-frame,
.retrieval-corner-frame {
  height: 100%;
  min-height: 340px;
}

.retrieval-detail-grid {
  min-width: 0;
  min-height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  padding: 8px;
  background: var(--line);
}

.retrieval-detail-grid > div {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  background: #ffffff;
  border: 1px solid var(--line);
}

.retrieval-detail-stack {
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
}

.retrieval-detail-grid strong {
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.retrieval-fundamental-panel {
  min-width: 0;
  min-height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 8px;
  padding: 8px;
  background: var(--line);
}

.retrieval-fundamental-panel > div {
  min-width: 0;
  background: #ffffff;
  border: 1px solid var(--line);
}

.retrieval-fundamental-panel > div:last-child {
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.retrieval-fundamental-panel strong {
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.retrieval-fundamental-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);
}

.retrieval-fundamental-card {
  min-width: 0;
  padding: 10px 12px;
  background: #ffffff;
}

.retrieval-fundamental-card span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.retrieval-fundamental-card strong {
  display: block;
  padding: 0;
  border: 0;
  margin-top: 4px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
}

.retrieval-fundamental-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.retrieval-selection-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}

.retrieval-selection-card div {
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, .42);
}

.retrieval-selection-card span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.retrieval-selection-card strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 12px;
  font-weight: 750;
}

.retrieval-card-link,
.retrieval-publication-link {
  color: #004f85;
  text-decoration: none;
}

.retrieval-card-link:hover,
.retrieval-card-link:focus,
.retrieval-publication-link:hover,
.retrieval-publication-link:focus {
  text-decoration: underline;
}

.retrieval-publication-bibcode {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.empty-note {
  min-height: 120px;
  display: grid;
  place-items: center;
  padding: 14px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 820px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand {
    font-size: 21px;
  }

  .status {
    max-width: 100%;
  }

  .workspace {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .controls {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    max-height: 48vh;
  }

  .visual-area {
    grid-template-rows: auto auto minmax(120px, 1fr);
  }

  .table-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .export-actions {
    justify-content: flex-start;
  }

  .spectral-workspace {
    grid-template-columns: 1fr;
  }

  .spectral-visual-area {
    grid-template-rows: 420px auto 360px auto;
  }

  .spectral-toolbar {
    flex-direction: column;
  }

  .spectral-report-actions {
    align-self: stretch;
    align-items: flex-end;
  }

  .astrometry-workspace {
    grid-template-columns: 1fr;
  }

  .astrometry-visual-area {
    grid-template-rows: 360px 360px auto 220px;
  }

  .astrometry-toolbar {
    flex-direction: column;
  }

  .astrometry-actions {
    justify-content: flex-start;
  }

  .spectra-workspace {
    grid-template-columns: 1fr;
  }

  .spectra-visual-area {
    grid-template-rows: 520px auto 240px;
  }

  .sed-visual-area {
    grid-template-rows: 560px auto auto auto 240px;
  }

  .sed-selection-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .sed-empirical-toolbar {
    grid-template-columns: minmax(0, 1fr);
  }

  .spectra-toolbar {
    flex-direction: column;
  }

  .spectra-actions,
  .spectra-download-links {
    justify-content: flex-start;
  }

  .spectral-index-workspace {
    grid-template-columns: 1fr;
  }

  .spectral-index-visual-area {
    grid-template-rows: 520px auto minmax(360px, auto);
  }

  .spectral-index-toolbar {
    flex-direction: column;
  }

  .spectral-index-actions {
    justify-content: flex-start;
  }

  .spectral-index-detail-grid {
    grid-template-columns: 1fr;
  }

  .xyzuvw-workspace {
    grid-template-columns: 1fr;
  }

  .xyzuvw-visual-area {
    grid-template-rows: 560px auto 340px;
  }

  .xyzuvw-toolbar {
    flex-direction: column;
  }

  .xyzuvw-actions {
    justify-content: flex-start;
  }

  .xyzuvw-action-stack {
    align-items: flex-start;
  }

  .xyzuvw-action-row {
    justify-content: flex-start;
  }

  .tfage-workspace {
    grid-template-columns: 1fr;
  }

  .tfage-visual-area {
    grid-template-rows: 560px auto 250px;
  }

  .tfage-toolbar {
    flex-direction: column;
  }

  .tfage-actions {
    justify-content: flex-start;
  }

  .mflows-workspace {
    grid-template-columns: 1fr;
  }

  .mflows-visual-area {
    grid-template-rows: auto minmax(0, 1fr);
  }

  .mflows-toolbar {
    position: static;
    flex-direction: column;
  }

  .mflows-actions {
    justify-content: flex-start;
  }

  .mflows-panel-grid,
  .mflows-panel-grid.is-compact {
    grid-template-columns: minmax(0, 1fr);
    padding: 8px;
  }

  .mflows-panel-plot,
  .mflows-panel-grid.is-compact .mflows-panel-plot {
    height: 260px;
    min-height: 260px;
  }

  .mflows-panel-info .mflows-info-row {
    grid-template-columns: minmax(78px, max-content) minmax(0, 1fr);
  }

  .lrv-workspace {
    grid-template-columns: 1fr;
  }

  .lrv-visual-area {
    grid-template-rows: auto auto minmax(260px, auto) minmax(680px, auto);
  }

  .lrv-top-grid,
  .lrv-diagnostic-grid {
    grid-template-columns: 1fr;
  }

  .lrv-plot-frame {
    min-height: 480px;
  }

  .lrv-selected-image-frame,
  .lrv-image-frame {
    min-height: 320px;
  }

  .lrv-toolbar {
    flex-direction: column;
  }

  .lrv-actions {
    justify-content: flex-start;
  }

  .rvb-workspace {
    grid-template-columns: 1fr;
  }

  .rvb-visual-area {
    grid-template-rows: auto auto minmax(420px, auto);
  }

  .rvb-top-grid {
    grid-template-columns: 1fr;
  }

  .rvb-plot-frame {
    min-height: 500px;
  }

  .rvb-detail-panel {
    min-height: 620px;
  }

  .rvb-toolbar {
    flex-direction: column;
  }

  .rvb-actions {
    justify-content: flex-start;
  }

  .moranta26-workspace {
    grid-template-columns: 1fr;
  }

  .moranta26-visual-area {
    grid-template-rows: auto auto auto minmax(320px, auto) auto;
  }

  .moranta26-lightcurve-controls,
  .moranta26-small-plots {
    grid-template-columns: 1fr;
  }

  .moranta26-period-frame {
    min-height: 460px;
  }

  .group-hierarchy-workspace {
    grid-template-columns: 1fr;
  }

  .group-hierarchy-visual-area {
    grid-template-rows: 560px auto minmax(260px, auto);
  }

  .group-hierarchy-plot-frame {
    min-height: 560px;
  }

  .group-hierarchy-toolbar {
    flex-direction: column;
  }

  .group-hierarchy-actions {
    justify-content: flex-start;
  }

  .moca-explorer-workspace {
    grid-template-columns: 1fr;
  }

  .moca-explorer-visual-area {
    grid-template-rows: auto 560px auto minmax(260px, auto);
  }

  .moca-explorer-plot-frame {
    min-height: 560px;
  }

  .moca-explorer-toolbar {
    flex-direction: column;
  }

  .moca-explorer-actions {
    justify-content: flex-start;
  }

  .bd-evolution-workspace {
    grid-template-columns: 1fr;
  }

  .bd-evolution-visual-area {
    grid-template-rows: 560px auto minmax(260px, auto);
  }

  .bd-evolution-plot-frame {
    min-height: 560px;
  }

  .bd-evolution-toolbar {
    flex-direction: column;
  }

  .bd-evolution-actions {
    justify-content: flex-start;
  }

  .banyan-sigma-workspace {
    grid-template-columns: 1fr;
  }

  .retrieval-workspace {
    grid-template-columns: 1fr;
  }

  .retrieval-visual-area {
    grid-template-rows: auto auto minmax(360px, auto);
  }

  .retrieval-top-grid,
  .retrieval-detail-grid {
    grid-template-columns: 1fr;
  }

  .retrieval-tp-frame,
  .retrieval-contribution-frame {
    min-height: 420px;
  }

  .retrieval-contribution-frame {
    min-height: 300px;
  }

  .retrieval-toolbar {
    flex-direction: column;
  }

  .banyan-sigma-visual-area {
    grid-template-rows: auto 420px auto auto minmax(520px, auto);
  }

  .bsig-summary-grid,
  .bsig-table-grid {
    grid-template-columns: 1fr;
  }

  .bsig-table-grid {
    grid-template-rows: repeat(3, minmax(260px, auto));
  }

  .bsig-result-area {
    grid-row: auto;
  }

  .bsig-toolbar {
    flex-direction: column;
  }

  .bsig-actions {
    justify-content: flex-start;
  }
}
