* {
  box-sizing: border-box;
}
:root {
  font:
    15px/1.5 'Inter',
    'Segoe UI',
    Arial,
    sans-serif;
  --ink: #22221f;
  --paper: #f4f3ed;
  --dim: #63665f;
  --line: #d6d6cc;
  --night: #111416;
  --accent: #ffaf7c;
  --side: clamp(20px, 5.5vw, 100px);
  --action-height: 2.8rem;
  --mono: 'IBM Plex Mono', Consolas, monospace;
}
body {
  margin: 0;
  background: #0c1219;
  color: var(--ink);
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 14px;
  transition:
    background 0.18s,
    border-color 0.18s,
    transform 0.18s;
}
button:hover {
  background: var(--button-hover-bg, #dedfd5);
  border-color: var(--button-hover-border, #999e91);
}
:is(.profile-page, .observatory, .top, .access-screen, dialog, .registry, .management) {
  --button-hover-bg: #2b3d40;
  --button-hover-border: #799492;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--focus, #f4bd8d);
  outline-offset: -2px;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2 {
  line-height: 1.04;
  letter-spacing: -0.055em;
  font-weight: 520;
}
h1 {
  font-size: clamp(46px, 5.6vw, 94px);
}
h2 {
  font-size: clamp(26px, 2.5vw, 40px);
}
small {
  font-size: 12px;
}
strong {
  font-weight: 620;
}
label {
  font-weight: 540;
}
code,
pre {
  font-family: var(--mono);
}
.primary {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  border-radius: 7px;
  font-weight: 600;
  padding: 11px 19px;
}
.primary:hover {
  background: #45473f;
  border-color: #45473f;
}
.muted {
  color: var(--dim);
}
.error {
  color: #a33519;
  overflow-wrap: anywhere;
}
.error:empty {
  display: none;
}
.wide {
  padding-inline: var(--side);
  max-width: 2000px;
  margin: auto;
}
.top {
  position: relative;
  z-index: 4;
  background: #101315;
  color: #f6f5f0;
  border-bottom: 1px solid #ffffff1c;
  display: flex;
  align-items: center;
  min-height: 76px;
  padding: 0 var(--side);
  gap: clamp(20px, 5vw, 85px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 35px;
  line-height: 1;
  font-weight: 650;
  letter-spacing: -2.7px;
}
.brand i {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: block;
  transform: rotate(-32deg);
  background: repeating-linear-gradient(to bottom, #fbb68c 0 3px, transparent 3px 5px);
}
.lockup,
.account,
.top nav,
.actions,
.catalog-title,
.identity,
.row-actions {
  display: flex;
  align-items: center;
}
.lockup {
  gap: 16px;
}
.lockup small,
.smallcaps {
  font: 11px var(--mono);
  color: #b7bcb5;
  letter-spacing: 0.07em;
}
.lockup small {
  border-left: 1px solid #ffffff34;
  padding: 5px 0 5px 15px;
}
.top nav {
  align-self: stretch;
  gap: 24px;
}
.top nav button {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #aeb5b4;
  font-weight: 520;
}
.top nav .current,
.top nav button:hover {
  color: white;
  background: none;
}
.top nav .current:after {
  content: '';
  height: 3px;
  position: absolute;
  bottom: 0;
  width: 100%;
  left: 0;
  background: #edaa80;
}
.account {
  margin-left: auto;
  gap: 14px;
}
.account button,
.scene button,
.entry button {
  border-color: #ffffff3b;
}
.account button {
  font-size: 13px;
  color: #e9e9e1;
}
.account button:hover,
.scene-link:hover,
.back:hover {
  background: #ffffff18;
}
.account button:last-child {
  border: 0;
  color: #b9bfb9;
  padding-inline: 0;
}
.avatar,
.usericon {
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 33px;
  height: 33px;
  font-size: 13px;
  font-weight: 650;
}
.avatar {
  background: #3c3b35;
  color: #ffe2c8;
  border: 1px solid #666054;
}
.usericon {
  background: #e2e3db;
  color: #4c5246;
}
.eyebrow,
.smallcaps {
  text-transform: uppercase;
  font: 11px/1.5 var(--mono);
  letter-spacing: 0.15em;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #efc5a8;
}
.eyebrow i {
  width: 7px;
  height: 7px;
  background: #ffa270;
  border-radius: 50%;
  box-shadow: 0 0 9px #e9955d66;
}
.scene,
.entry,
.admin-head {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #111315;
  color: #f4f1e9;
}
.sky {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 73% 68%, #87543c66, transparent 42%),
    radial-gradient(ellipse at 99% 2%, #596c7347, transparent 52%),
    linear-gradient(112deg, #0d0f11 3%, #141516 40%, #242123 83%, #121516);
}
.sky canvas {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.68;
}
.trajectory {
  position: absolute;
  top: 50%;
  left: 65%;
  width: 98%;
  height: 73%;
  border-radius: 50%;
  border: 1px solid #d8b48d50;
  transform: translate(-50%, -50%) rotate(-23deg);
}
.trajectory.far {
  width: 153%;
  height: 135%;
  transform: translate(-50%, -50%) rotate(16deg);
  border-color: #d4d7d52b;
}
.world {
  flex: none;
  width: var(--size);
  height: var(--size);
  aspect-ratio: 1;
  display: inline-block;
  background: url('/atlas.png') center/contain no-repeat;
  filter: hue-rotate(var(--hue));
  pointer-events: none;
}
.scene {
  min-height: clamp(445px, 54vh, 640px);
  display: flex;
  align-items: center;
  padding: 48px var(--side);
}
.scene-title {
  position: relative;
  z-index: 2;
  max-width: 38%;
  pointer-events: none;
}
.scene-title button {
  pointer-events: auto;
}
.scene-title h1 {
  margin: 18px 0 30px;
  text-wrap: balance;
  overflow-wrap: anywhere;
  font-weight: 470;
}
.hero-stats,
.metrics {
  display: flex;
  align-items: center;
}
.hero-stats > div {
  display: grid;
  gap: 3px;
  padding-right: 24px;
}
.hero-stats > div + div {
  border-left: 1px solid #ffffff39;
  padding-left: 24px;
}
.hero-stats strong,
.metrics b {
  font-weight: 460;
  font-size: 32px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.hero-stats span,
.metrics span {
  color: #c3c3ba;
  font-size: 13px;
}
.scene-link,
.back,
.endpoint {
  color: #ffd1ab;
}
.scene-link {
  margin-top: 26px;
  border-radius: 30px;
  font-size: 14px;
  background: #ffffff08;
}
.back {
  border: none;
  padding: 0;
  font-size: 13px;
}
.endpoint {
  display: inline-block;
  margin-top: 24px;
  font-size: 13px;
}
.space-art {
  position: absolute;
  inset: 0 2% 0 39%;
}
.central-world,
.space-node {
  position: absolute;
  transform: translate(-50%, -50%);
}
.central-world {
  left: 50%;
  top: 51%;
  line-height: 0;
}
.central-world .world {
  width: clamp(190px, 24vw, 370px);
  height: auto;
}
.space-node {
  display: grid;
  justify-items: center;
  left: var(--x);
  top: var(--y);
  padding: 0;
  line-height: 1;
  background: none;
  border: 0;
  border-radius: 50%;
  color: white;
  max-width: 100%;
}
.space-node:hover {
  background: none;
}
.space-node .world {
  transition: transform 0.35s;
}
.space-node:hover .world {
  transform: scale(1.025);
}
.featured .world {
  width: clamp(280px, 31vw, 520px);
  height: auto;
  filter: hue-rotate(var(--hue)) drop-shadow(-9px -4px 26px #cd7a481a);
}
.space-node span {
  white-space: nowrap;
  max-width: min(250px, 21vw);
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  position: absolute;
  top: 87%;
  margin-top: 8px;
  padding: 8px 12px;
  background: #141719ec;
  border: 1px solid #e1c2a15c;
  border-radius: 5px;
  font: 12px var(--mono);
  color: #f7e9db;
}
.space-node span b {
  color: #ffbf8d;
}
.space-node:hover span {
  border-color: var(--accent);
}
.featured span {
  top: 75%;
  left: 4%;
  font:
    500 15px 'Segoe UI',
    sans-serif;
  padding: 9px 15px;
}
.moon {
  border-radius: 50%;
  width: 22px;
  height: 22px;
  background: url('/atlas.png') center/cover;
  filter: grayscale(0.85);
  box-shadow: 0 0 12px #ffa96933;
}
.pager {
  display: flex;
  align-items: center;
  gap: 10px;
  position: absolute;
  right: var(--side);
  bottom: 14px;
  font: 12px var(--mono);
  color: white;
}
.pager button {
  background: #171716;
  border-radius: 5px;
}
.scene.compact {
  min-height: 210px;
}
.compact .scene-title {
  max-width: 100%;
}
.compact .scene-title h1 {
  font-size: 45px;
  margin: 10px 0 16px;
}
.compact .scene-link,
.compact .endpoint {
  display: none;
}
.compact .hero-stats > div {
  display: flex;
  align-items: baseline;
  gap: 9px;
}
.compact .hero-stats strong {
  font-size: 21px;
}
.catalog,
.paper {
  padding-block: 32px 60px;
}
.catalog-title,
.actions,
.row-actions {
  gap: 10px;
}
.list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.count,
.tag,
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  line-height: 1.35;
  border-radius: 20px;
  padding: 4px 9px;
}
.count {
  background: #e5e5dc;
  font: 12px var(--mono);
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #cbcfc4;
  background: #fbfbf6;
  border-radius: 7px;
  padding: 0 12px;
  color: #676b62;
  height: 40px;
}
.search i {
  width: 13px;
  height: 13px;
  border: 1.5px solid;
  border-radius: 50%;
  position: relative;
}
.search i:after {
  content: '';
  position: absolute;
  width: 6px;
  height: 1.5px;
  background: currentColor;
  transform: rotate(45deg);
  top: 10px;
  left: 9px;
}
.search input {
  background: none;
  border: 0;
  color: var(--ink);
  width: 160px;
  padding: 7px 0;
  outline-offset: 1px;
  font-size: 13px;
}
.segmented {
  display: flex;
  background: #e8e9e0;
  border-radius: 7px;
  padding: 3px;
  border: 1px solid #d9dbd1;
}
.segmented button {
  border: 0;
  border-radius: 5px;
  padding: 6px 12px;
  font-size: 13px;
}
.segmented .selected {
  background: #fff;
  box-shadow: 0 1px 4px #17251624;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr));
  gap: 12px;
}
.resource-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fcfcf6;
  padding: 18px;
  text-align: left;
  border-radius: 10px;
}
.resource-card span,
.identity > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.resource-card strong,
.identity strong {
  overflow-wrap: anywhere;
}
.resource-card small,
.identity small,
.sheet td > small {
  color: var(--dim);
  display: block;
}
.resource-card > b {
  margin-left: auto;
  font-weight: 400;
  color: var(--dim);
}
.history {
  margin-top: 38px;
}
.sheet {
  background: #fcfcf7;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: auto;
}
.sheet table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.sheet th {
  background: #eeefe7;
  font-size: 12px;
  letter-spacing: 0.01em;
  color: #565c50;
  font-weight: 560;
  white-space: nowrap;
}
.sheet td,
.sheet th {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.sheet tr:last-child td {
  border-bottom: 0;
}
.sheet td {
  font-size: 14px;
  overflow-wrap: anywhere;
}
.sheet td > small.error {
  color: #a33519;
}
.sheet button {
  font-size: 13px;
  padding: 6px 10px;
  white-space: nowrap;
}
.sheet .text-link {
  border: 0;
  padding: 0;
  font-weight: 620;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
}
.empty {
  color: var(--dim);
  padding: 24px;
}
.tag {
  background: #eaece4;
  color: #4f5748;
  margin: 2px;
}
.status {
  background: #dfeee2;
  color: #265f3d;
  font-weight: 550;
  white-space: nowrap;
}
.status:before {
  content: '';
  border-radius: 50%;
  width: 6px;
  height: 6px;
  background: currentColor;
}
.status.bad {
  background: #f8e3d7;
  color: #9c411f;
}
.status.idle {
  background: #e8e7dd;
  color: #666350;
}
.identity,
.row-actions {
  gap: 11px;
}
.row-actions {
  justify-content: flex-end;
  flex-wrap: wrap;
}
.glyph {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: #eae8dc;
  color: #5d513b;
  font: 20px var(--mono);
  flex: none;
}
.admin-head {
  padding: 45px 0 37px;
}
.admin-head h1 {
  font-size: clamp(40px, 4.6vw, 78px);
  margin: 14px 0 28px;
}
.admin-art {
  position: absolute;
  z-index: -1;
  right: 4%;
  top: 0;
  width: 42%;
  height: 100%;
  overflow: hidden;
}
.admin-art .world {
  width: 100%;
  height: auto;
  transform: translateY(7%) rotate(-22deg);
}
.metrics {
  gap: 35px;
}
.metrics > div {
  display: flex;
  gap: 9px;
  align-items: baseline;
}
.metrics b {
  font-size: 23px;
}
.paper {
  padding-top: 0;
}
.admin-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  gap: 26px;
  margin-bottom: 28px;
}
.admin-tabs button {
  border: 0;
  border-radius: 0;
  border-bottom: 3px solid transparent;
  padding: 21px 0 14px;
  font-size: 15px;
  color: var(--dim);
}
.admin-tabs button:hover {
  background: none;
  color: var(--ink);
}
.admin-tabs .selected {
  color: var(--ink);
  border-bottom-color: #a84f2d;
  font-weight: 600;
}
.admin-tabs small {
  margin-left: 3px;
  font: 11px var(--mono);
  color: var(--dim);
}
.entry {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 110px var(--side) 85px;
}
.entry .top {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  background: transparent;
  justify-content: space-between;
  min-height: 85px;
}
.entry-art {
  position: absolute;
  z-index: -1;
  left: 72%;
  top: 52%;
  transform: translate(-50%, -50%);
  line-height: 0;
}
.entry-art .world {
  width: min(54vw, 76vh, 930px);
  height: auto;
  filter: drop-shadow(-10px -6px 52px #db784627);
}
.entry-panel {
  width: min(390px, 42vw);
  margin-left: 3vw;
}
.entry-panel h1 {
  font-size: clamp(50px, 5.6vw, 94px);
  margin: 14px 0 30px;
}
.signin label,
dialog form label,
dialog > label, .dialog-scroll > label {
  display: grid;
  gap: 6px;
  margin: 13px 0;
  font-size: 13px;
}
.signin input,
dialog input:not([type='checkbox']),
dialog textarea,
dialog select {
  background: #fff;
  border: 1px solid #bdbfb6;
  border-radius: 6px;
  padding: 10px 12px;
  width: 100%;
  color: #222;
}
.signin input {
  background: #14181beb;
  border-color: #777977;
  color: #fff;
  min-height: 45px;
}
.signin input::placeholder {
  color: #a5a9a3;
}
.enter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 20px;
  background: #f7b28b;
  color: #231e19;
  border: 0;
}
.enter:hover {
  background: #ffc6a1;
}
.signin .error {
  color: #ffae96;
}
.entry-footer {
  position: absolute;
  bottom: 25px;
  left: var(--side);
  right: var(--side);
  border-top: 1px solid #ffffff30;
  padding-top: 12px;
  display: flex;
  gap: 16px;
  color: #dfcbbd;
  font: 11px var(--mono);
}
.entry-footer span {
  color: #b9bab3;
}
dialog {
  width: min(560px, 95vw);
  padding: 26px;
  max-height: 90svh;
  overflow: auto;
  border: 1px solid #c6c7bc;
  border-radius: 14px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 28px 100px #0006;
}
dialog::backdrop {
  background: #1014199e;
  backdrop-filter: blur(5px);
}
dialog header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 17px;
  margin-bottom: 19px;
}
dialog h2 {
  font-size: 27px;
  overflow-wrap: anywhere;
}
dialog header button {
  border-radius: 50%;
  width: 34px;
  height: 34px;
  line-height: 1;
  padding: 0;
  font-size: 22px;
}
dialog pre,
dialog textarea {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 13px/1.55 var(--mono);
}
dialog pre:not(:empty) {
  background: #e8e9df;
  border-radius: 7px;
  padding: 12px;
}
dialog textarea {
  min-height: 100px;
}
dialog details {
  margin: 15px 0;
}
dialog summary {
  cursor: pointer;
}
dialog fieldset {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px 14px;
  margin: 17px 0;
}
dialog legend {
  font-size: 13px;
  color: var(--dim);
}
dialog input[type='checkbox'] {
  accent-color: #6d563c;
}
dialog .actions {
  flex-wrap: wrap;
}
dialog button.primary {
  margin-top: 8px;
}
#notice:not(:empty) {
  z-index: 9;
  position: fixed;
  left: 50%;
  bottom: 23px;
  transform: translateX(-50%);
  background: #252923;
  color: white;
  border-radius: 8px;
  padding: 10px 18px;
  box-shadow: 0 8px 30px #1417112a;
}
@media (min-width: 1600px) {
  .scene-title {
    max-width: 42%;
  }
  .scene-title h1 {
    font-size: 96px;
  }
  .space-art {
    right: 5%;
  }
}
@media (max-width: 900px) {
  .top {
    gap: 22px;
  }
  .top nav {
    gap: 15px;
  }
  .lockup small {
    display: none;
  }
  .account {
    gap: 9px;
  }
  .scene {
    min-height: 420px;
  }
  .scene-title h1 {
    font-size: 54px;
  }
  .list-head {
    flex-wrap: wrap;
  }
  .admin-art {
    right: -9%;
    width: 50%;
  }
  .space-node span {
    font-size: 11px;
  }
  .entry-panel {
    margin: 0;
  }
  .metrics {
    gap: 22px;
  }
}
@media (max-width: 650px) {
  :root {
    --side: 18px;
  }
  .top {
    min-height: 64px;
    gap: 14px;
    flex-wrap: wrap;
    padding-block: 12px 0;
  }
  .brand {
    font-size: 29px;
    gap: 8px;
  }
  .brand i {
    width: 24px;
    height: 24px;
  }
  .account {
    order: 1;
    gap: 8px;
  }
  .account button {
    font-size: 12px;
    padding: 6px 8px;
  }
  .avatar {
    width: 27px;
    height: 27px;
  }
  .top nav {
    order: 2;
    width: 100%;
    gap: 23px;
    min-height: 39px;
  }
  .top nav button {
    font-size: 14px;
  }
  .scene {
    padding: 22px var(--side) 0;
    display: block;
    min-height: 0;
  }
  .scene-title {
    max-width: 100%;
  }
  .scene-title h1 {
    font-size: clamp(39px, 10vw, 58px);
    margin: 9px 0 14px;
  }
  .hero-stats > div {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding-right: 12px;
  }
  .hero-stats > div + div {
    padding-left: 12px;
  }
  .hero-stats strong {
    font-size: 18px;
  }
  .hero-stats span {
    font-size: 11px;
  }
  .scene-link,
  .endpoint {
    margin-top: 12px;
    font-size: 12px;
  }
  .space-art {
    position: relative;
    inset: auto;
    width: 100%;
    height: 260px;
    margin: 6px auto 15px;
  }
  .featured .world {
    width: 205px;
  }
  .minor .world {
    width: 48px;
    height: auto;
  }
  .central-world .world {
    width: 152px;
  }
  .space-node span {
    max-width: 110px;
    padding: 4px 7px;
    font-size: 10px;
  }
  .featured span {
    font-size: 12px;
  }
  .moon {
    width: 17px;
    height: 17px;
  }
  .scene.compact {
    padding-bottom: 22px;
    min-height: 0;
  }
  .pager {
    bottom: 4px;
  }
  .pager button {
    padding: 2px 8px;
  }
  .list-head {
    gap: 12px;
    margin-bottom: 14px;
  }
  .actions {
    gap: 7px;
    flex-wrap: wrap;
  }
  .catalog,
  .paper {
    padding-bottom: 32px;
  }
  .catalog {
    padding-top: 22px;
  }
  .search {
    height: 35px;
    padding-inline: 9px;
  }
  .search input {
    width: 132px;
    font-size: 12px;
  }
  .segmented button {
    font-size: 12px;
    padding: 4px 9px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .resource-card {
    padding: 12px;
  }
  .admin-head {
    padding: 24px 0;
  }
  .admin-head h1 {
    max-width: 66%;
    margin: 10px 0 18px;
  }
  .admin-art {
    right: -22%;
    width: 62%;
    top: 16%;
  }
  .metrics {
    gap: 14px;
    flex-wrap: wrap;
  }
  .metrics > div {
    display: grid;
    gap: 1px;
  }
  .metrics span {
    font-size: 11px;
  }
  .metrics b {
    font-size: 18px;
  }
  .admin-tabs {
    gap: 16px;
    overflow: auto;
    margin-bottom: 20px;
  }
  .admin-tabs button {
    font-size: 13px;
    white-space: nowrap;
    padding-top: 15px;
  }
  .admin-tabs small {
    font-size: 10px;
  }
  .paper .actions .primary {
    padding: 8px 10px;
    font-size: 12px;
  }
  .sheet th,
  .sheet td {
    padding: 10px;
    font-size: 12px;
  }
  .row-actions {
    justify-content: flex-start;
  }
  .entry {
    align-items: flex-end;
    min-height: max(710px, 100svh);
    padding: 285px 22px 73px;
  }
  .entry .top {
    min-height: 64px;
    padding-block: 0;
  }
  .entry-panel {
    width: 100%;
    max-width: 430px;
    position: relative;
    margin: auto auto 0;
  }
  .entry-panel h1 {
    font-size: 48px;
    margin: 8px 0 16px;
  }
  .entry-art {
    top: 165px;
    left: 70%;
  }
  .entry-art .world {
    width: min(62vw, 245px);
  }
  .entry-footer {
    bottom: 15px;
  }
  .signin label {
    margin: 9px 0;
  }
  .entry-panel .eyebrow {
    color: #ffd6b8;
  }
  .entry .sky {
    background: radial-gradient(ellipse at 85% 20%, #624132, transparent 50%), #111416;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
.form-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  position: sticky;
  bottom: -26px;
  padding: 15px 0 0;
  margin-top: 18px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.form-footer .primary {
  margin-top: 0;
}
dialog form .choice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0;
  padding: 8px;
  border-radius: 5px;
  background: #e9ebe2;
}
.choice input {
  width: 16px;
  height: 16px;
}
.auth-settings {
  padding: 12px 14px;
  background: #e9ebe2;
  border-radius: 7px;
}
.auth-settings small {
  color: var(--dim);
}
.sky canvas {
  animation: drift 65s ease-in-out infinite alternate;
}
@keyframes drift {
  from {
    transform: scale(1.03) translateX(-0.6%);
  }
  to {
    transform: scale(1.04) translateX(0.6%);
  }
}
@media (max-width: 650px) {
  .paper .sheet table,
  .paper .sheet tbody,
  .paper .sheet tr {
    display: block;
  }
  .paper .sheet thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .paper .sheet tr {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
  }
  .paper .sheet tr:last-child {
    border: 0;
  }
  .paper .sheet td {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    border: none;
    padding: 4px 0;
  }
  .paper .sheet td:not(:first-child)[data-label]:not([data-label='']):before {
    content: attr(data-label);
    font-size: 11px;
    color: var(--dim);
    margin-right: 4px;
  }
  .paper .sheet td:last-child:not(:empty) {
    padding-top: 9px;
  }
  .paper .sheet td:first-child {
    font-size: 15px;
    margin-bottom: 7px;
  }
}
.observatory {
  --edge: #a2bec52e;
  --cyan: #9df4e7;
  display: grid;
  grid-template-columns: clamp(210px, 17.5vw, 290px) minmax(0, 1fr);
  background: #0c1219;
  color: #eaf0f1;
  min-height: calc(100svh - 76px);
}
.flight-nav {
  min-width: 0;
  background: linear-gradient(145deg, #192128, #0e151d 60%);
  border-right: 1px solid var(--edge);
  display: flex;
  flex-direction: column;
  max-height: calc(100svh - 76px);
  position: sticky;
  top: 0;
}
.flight-nav-head {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 26px 20px 16px;
}
.flight-nav-head h2 {
  font-size: 21px;
  letter-spacing: -0.04em;
  font-weight: 570;
}
.scope-mark {
  width: 23px;
  height: 23px;
  border: 1px solid #b1e6df;
  border-radius: 50%;
  position: relative;
}
.scope-mark:before,
.scope-mark:after {
  content: '';
  position: absolute;
  inset: 5px -3px;
  border: 1px solid #8ad4cc;
  border-radius: 50%;
  transform: rotate(-41deg);
}
.scope-mark:after {
  inset: 8px;
  background: #f6b48e;
  border: 0;
}
.flight-scroll {
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #49545c transparent;
  padding: 0 12px 18px;
}
.nav-caption,
.result-caption,
.instrument-caption {
  color: #aec0ca;
  font: 10px/1.5 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-caption {
  display: flex;
  justify-content: space-between;
  margin: 18px 8px 9px;
}
.nav-caption span {
  color: #dce6e5;
}
.system-link,
.project-choice,
.orbit-result {
  width: 100%;
  text-align: left;
  color: #d6e0e3;
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
}
.system-link {
  font-size: 13px;
  padding: 9px 12px;
  margin-bottom: 5px;
}
.system-link:before {
  content: '◎';
  font: 21px var(--mono);
  color: #e3b492;
  display: inline-block;
  width: 29px;
  text-align: center;
}
.project-choice {
  font-size: 13px;
  letter-spacing: -0.01em;
  padding: 8px 9px;
  margin: 2px 0;
}
.project-choice .world {
  width: 30px;
  height: 30px;
}
.project-choice span,
.orbit-result span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.project-choice small {
  flex: none;
  white-space: nowrap;
  text-align: right;
  font-variant-numeric: tabular-nums;
  margin-left: auto;
  color: #b1c3ca;
  font: 11px var(--mono);
}
.project-choice.chosen,
.system-link.chosen {
  background: #94c4bf13;
  border-color: #92ded139;
  color: #d8fff6;
}
.project-choice:hover,
.system-link:hover,
.orbit-result:hover {
  background: #b6cecc11;
  border-color: #a1c1c733;
}
.nav-search {
  margin: 20px 4px 0;
  padding-top: 18px;
  border-top: 1px solid var(--edge);
}
.nav-search label {
  font-size: 12px;
  color: #c2cecf;
}
.nav-search input {
  display: block;
  width: 100%;
  background: #0d141a;
  color: #eef4f5;
  border: 1px solid #3d4e59;
  border-radius: 6px;
  padding: 9px 11px;
  margin-top: 7px;
  font-size: 12px;
}
.nav-search input::placeholder {
  color: #97a7ae;
}
.result-caption {
  margin: 15px 4px 6px;
  letter-spacing: 0.08em;
}
.orbit-result {
  font: 11px/1.5 var(--mono);
  gap: 8px;
  padding: 7px 5px;
}
.orbit-result i,
.signal-dot,
.instrument-caption i {
  flex: none;
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px #81f1df55;
}
.orbit-result i {
  width: 4px;
  height: 4px;
  background: #819aa2;
}
.orbit-result[aria-pressed='true'] {
  color: var(--cyan);
  background: #9ad9cf10;
}
.orbit-result[aria-pressed='true'] i {
  background: var(--cyan);
}
.fleet-count {
  margin-top: auto;
  border-top: 1px solid var(--edge);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #bac8ce;
}
.fleet-count b {
  margin-left: auto;
  font: 13px var(--mono);
  color: #f0f5f2;
}
.viewport {
  min-width: 0;
}
.orbit-stage {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  height: clamp(480px, calc(100svh - 127px), 1200px);
  background: #0a1016;
}
.orbit-stage:after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 100px #06101c50;
}
.orbit-stage canvas {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  touch-action: none;
  cursor: grab;
}
.map-heading {
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: clamp(19px, 2.7vw, 50px);
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  z-index: 1;
  background: linear-gradient(#0b121bae, transparent);
}
.instrument-caption {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #a3d0cd;
}
.map-heading h1 {
  color: #f1f4f2;
  font-size: clamp(32px, 3.7vw, 72px);
  font-weight: 470;
  letter-spacing: -0.055em;
  max-width: 72vw;
  overflow-wrap: anywhere;
  margin: 8px 0;
}
.map-heading p {
  font: 12px var(--mono);
  color: #c1c7c8;
}
.view-toggle,
.camera button {
  pointer-events: auto;
  background: #101820d9;
  color: #cfdfdf;
  border: 1px solid var(--edge);
  font-size: 12px;
  white-space: nowrap;
}
.view-toggle:hover,
.camera button:hover {
  background: #2b393f;
  border-color: #80aca9;
}
.camera {
  display: flex;
  align-items: center;
  gap: 2px;
  position: absolute;
  bottom: 18px;
  right: 22px;
  z-index: 1;
  background: #0c151dd9;
  border: 1px solid #54656e;
  border-radius: 8px;
  padding: 3px;
}
.camera button {
  width: 30px;
  border: 0;
  padding: 5px 3px;
  font: 15px var(--mono);
}
.camera [data-camera='reset'] {
  width: 46px;
  font-size: 11px;
}
.camera i {
  height: 15px;
  border-left: 1px solid #647a8259;
}
.selection {
  border-block: 1px solid var(--edge);
  background: linear-gradient(110deg, #19242b, #0f1820);
  padding: 17px clamp(14px, 2.5vw, 40px);
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 88px;
}
.selection-body {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.selection-body .instrument-caption {
  font-size: 9px;
}
.selection-body strong {
  font-size: clamp(17px, 1.5vw, 23px);
  font-weight: 560;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}
.selection-body small {
  color: #b1bdc3;
}
.selection-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  background: #0d161c;
  border-radius: 10px;
  border: 1px solid #46545d;
}
.selection-icon .world {
  width: 37px;
  height: 37px;
}
.radar-pip {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 1px solid #7bb1af;
  display: grid;
  place-items: center;
}
.radar-pip:before {
  content: '';
  width: 8px;
  height: 8px;
  background: #96ffea;
  border-radius: 50%;
  box-shadow: 0 0 12px #96ffea99;
}
.launch {
  margin-left: auto;
  flex: none;
  border-color: #b4eadd;
  background: #b9eee2;
  color: #102923;
  font-weight: 620;
  font-size: 13px;
}
.launch:hover {
  background: #d7fff5;
}
.run-history {
  padding: 12px 22px;
  color: #c2cdd2;
  font-size: 13px;
}
.run-history summary {
  cursor: pointer;
}
.run-history summary span {
  margin-left: 7px;
  font: 11px var(--mono);
  color: #9bd4ce;
}
.run-history .sheet {
  color: var(--ink);
  margin-top: 10px;
}
.table-view {
  padding-block: 30px;
}
.table-view h1 {
  font-size: clamp(32px, 4vw, 56px);
}
.table-view > button {
  margin-bottom: 20px;
}
@media (max-width: 999px) {
  .observatory {
    grid-template-columns: minmax(0, 1fr);
  }
  .flight-nav {
    position: static;
    display: block;
    max-height: none;
    border-right: 0;
    border-bottom: 1px solid var(--edge);
  }
  .flight-nav-head,
  .fleet-count,
  .flight-scroll > .nav-caption {
    display: none;
  }
  .flight-scroll {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    padding: 7px 12px;
  }
  .system-link,
  .project-choice {
    width: auto;
    margin: 0;
    padding: 4px 7px;
    gap: 5px;
    font-size: 11px;
  }
  .system-link:before {
    width: auto;
    font-size: 14px;
  }
  .project-choice .world {
    width: 19px;
    height: 19px;
  }
  .project-choice small {
    font-size: 9px;
  }
  .nav-search {
    display: flex;
    align-items: center;
    position: relative;
    gap: 9px;
    margin: 3px 0 0;
    padding: 5px 0 0;
    width: 100%;
    border: 0;
  }
  .nav-search label {
    font-size: 11px;
    white-space: nowrap;
  }
  .nav-search input {
    margin: 0;
    font-size: 12px;
    padding: 6px 9px;
  }
  .nav-search #orbit-results {
    display: none;
  }
  .nav-search:focus-within #orbit-results:not(:empty) {
    display: block;
    position: absolute;
    z-index: 7;
    top: 100%;
    left: 0;
    right: 0;
    background: #151e25;
    border: 1px solid var(--edge);
    border-radius: 6px;
    padding: 5px 10px;
    max-height: 180px;
    overflow: auto;
  }
  .orbit-stage {
    height: clamp(390px, 60svh, 720px);
  }
  .map-heading {
    padding: 16px;
  }
  .map-heading h1 {
    font-size: clamp(26px, 5.8vw, 42px);
  }
  .map-heading p {
    font-size: 10px;
  }
  .view-toggle {
    padding: 5px 9px;
    font-size: 11px;
  }
  .camera {
    bottom: 8px;
    right: 10px;
  }
  .selection {
    padding: 11px;
    gap: 9px;
    flex-wrap: wrap;
  }
  .selection-body {
    flex: 1;
    min-width: 150px;
  }
  .selection-body small {
    font-size: 11px;
  }
  .launch {
    font-size: 11px;
  }
  .selection-icon {
    width: 36px;
    height: 36px;
  }
  .selection-icon .world {
    width: 31px;
    height: 31px;
  }
  .flight-scroll {
    overflow: visible;
  }
  .orbit-stage:after {
    box-shadow: inset 0 0 40px #06101c44;
  }
}
/* The orbital chart, its catalog and the instrument inspector share one palette. */
.observatory .flight-nav {
  background: linear-gradient(154deg, #211e1c, #121517 52%, #0c1216);
}
.observatory .flight-nav-head {
  padding-bottom: 16px;
  border-bottom: 1px solid #ac9a822e;
}
.observatory .selection {
  background: linear-gradient(110deg, #292420, #13191c 70%);
  border-color: #84786c55;
}
.observatory .launch,
.inspector button.primary {
  background: #ffd0a3;
  border-color: #efc090;
  color: #332117;
  border-radius: 20px;
  padding: 10px 17px;
}
.observatory .map-heading {
  padding: 25px clamp(18px, 2.8vw, 48px);
  background: linear-gradient(#0b1012cf, transparent);
}
.observatory .map-heading h1 {
  font-weight: 380;
  letter-spacing: -0.06em;
  font-size: clamp(32px, 3.6vw, 65px);
}
.map-switches,
.catalog-layers {
  display: flex;
  align-items: center;
  gap: 5px;
  pointer-events: auto;
}
.map-switches {
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.catalog-layers {
  border: 1px solid #ada18b59;
  background: #15191be8;
  border-radius: 22px;
  padding: 3px;
}
.catalog-layers button {
  border: 0;
  border-radius: 20px;
  padding: 5px 10px;
  font: 11px/1.5 var(--mono);
  color: #c9c8bf;
}
.catalog-layers button:hover,
.catalog-layers .chosen {
  background: #423b33;
  color: #ffe0bd;
}
.registry {
  min-height: calc(100svh - 76px);
  background: #111517;
  color: #eeede5;
}
.registry > header {
  padding: 40px var(--side) 24px;
  background:
    radial-gradient(ellipse at 86% 120%, #504032, transparent 52%),
    linear-gradient(125deg, #161a1d, #232222);
  border-bottom: 1px solid #bfa78744;
}
.registry .list-head {
  margin: 10px 0 0;
}
.registry h1 {
  font-size: clamp(40px, 4.3vw, 76px);
  font-weight: 410;
}
.registry header button,
.registry-pages button {
  border-color: #786f60;
  color: #f0d9c0;
  border-radius: 22px;
  font-size: 13px;
}
.registry header button:hover,
.registry-pages button:hover {
  background: #40382e;
}
.registry-back {
  margin-top: 14px;
}
.registry-inner {
  padding: 24px var(--side) 60px;
}
.registry-toolbar,
.registry-pages {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}
.registry-toolbar .search {
  margin-left: auto;
}
.registry .sheet {
  background: #181e21;
  border-color: #42484a;
  border-radius: 9px;
}
.registry .sheet th {
  background: #22292b;
  color: #b6c1bd;
  padding: 13px 17px;
  border-color: #465052;
  font: 11px/1.4 var(--mono);
}
.registry .sheet td {
  border-color: #3c4344;
  padding: 12px 17px;
  color: #d6dcd6;
  font-size: 13px;
}
.registry .sheet tbody tr:hover {
  background: #252c2c;
}
.registry .sheet button:hover {
  color: #ffd5aa;
  background: #393b34;
}
.registry .sheet tr:last-child td {
  border: 0;
}
.registry .run-history .sheet {
  color: #e2e6df;
}
.registry-name {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 160px;
}
.registry-name i,
.tool-symbol {
  display: grid;
  place-items: center;
  background: #dcb38414;
  color: #efcba1;
  border: 1px solid #c0a98b41;
  border-radius: 9px;
  width: 33px;
  height: 33px;
  flex: none;
  font:
    16px Georgia,
    serif;
}
.registry .text-link {
  font-weight: 540;
  color: #fff0dd;
}
.provider-pill {
  border-color: #877864;
  color: #f2d1b0;
  border-radius: 20px;
}
.registry-pages {
  justify-content: flex-end;
  font: 12px var(--mono);
  color: #bbc2ba;
  margin-top: 14px;
}
.registry-pages span {
  margin-right: auto;
}
.registry .search,
.inspector input[type='search'] {
  background: #111719;
  border: 1px solid #536064;
  color: #cfd8d8;
}
.registry .search input {
  color: #fff;
}
dialog.inspector {
  margin: 0 0 0 auto;
  inset: 0 0 0 auto;
  width: min(490px, 100vw);
  height: 100svh;
  max-height: 100svh;
  max-width: 100vw;
  border: 0;
  border-left: 1px solid #6b6760;
  border-radius: 0;
  padding: 27px;
  background: radial-gradient(ellipse at 90% -12%, #624331 0, transparent 40%), #141a1e;
  color: #eef0e9;
  box-shadow: -20px 0 100px #0006;
  color-scheme: dark;
}
dialog.inspector::backdrop {
  background: #04070b50;
  backdrop-filter: blur(1.5px);
}
.inspector header {
  border-color: #69655f;
  margin-bottom: 12px;
  align-items: flex-start;
}
.inspector header h2 {
  font-size: clamp(25px, 2.7vw, 43px);
  font-weight: 440;
  letter-spacing: -0.045em;
}
.inspector header button {
  border-color: #7e817c;
  flex: none;
}
.inspector-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 13px 0;
  color: #efba90;
  font: 10px var(--mono);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.inspector-kicker i {
  background: #efb084;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.inspect-desc {
  color: #c5cbc8;
  line-height: 1.6;
  font-size: 14px;
}
.inspect-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px 18px;
  padding: 18px 0;
  margin: 12px 0;
  border-block: 1px solid #464d4e;
}
.inspect-facts > div:first-child {
  grid-column: 1/-1;
}
.inspect-facts small,
.library-tool small,
.param-field small,
.inspector-library > small {
  display: block;
  color: #adb7ba;
  font-size: 12px;
}
.inspect-facts b {
  font-weight: 500;
  overflow-wrap: anywhere;
}
.inspector h3 {
  font-weight: 530;
  font-size: 19px;
  letter-spacing: -0.03em;
  margin: 17px 0 9px;
}
.inspector input[type='search'] {
  width: 100%;
  border-radius: 7px;
  padding: 10px 12px;
  margin: 4px 0 6px;
}
.library-tool {
  display: flex;
  gap: 12px;
  align-items: center;
  text-align: left;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #39444a;
  border-radius: 0;
  padding: 12px 4px;
  color: #f4f1e9;
}
.library-tool:hover,
.inspector button:not(.primary):hover {
  background: #343a38;
  border-color: #6a756e;
}
.library-tool > span:nth-child(2) {
  min-width: 0;
  flex: 1;
}
.library-tool strong {
  display: block;
  font: 13px var(--mono);
  overflow-wrap: anywhere;
}
.library-tool small {
  line-height: 1.4;
  margin-top: 4px;
}
.library-tool > b {
  color: #edc59c;
  font-weight: 450;
}
.library-pages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
  color: #d5cdbf;
  font: 12px var(--mono);
}
.inspector button {
  border-color: #566267;
}
.inspector .parent-mcp {
  font-size: 12px;
  margin: 0 0 14px;
  color: #f0c19e;
  border-radius: 20px;
}
.inspector #tool-params {
  border-top: 1px solid #545750;
  margin: 18px 0;
  padding-top: 4px;
}
.inspector #tool-params details {
  padding: 10px;
  background: #20272a;
  border-radius: 7px;
}
.inspector #tool-params input,
.inspector #tool-params select,
.inspector #args,
.inspector pre:not(:empty) {
  background: #0e1417;
  border-color: #536067;
  color: #c9e6db;
}
.param-field em {
  color: #e6a579;
}
.inspector #output:not(:empty) {
  padding: 16px;
  border-left: 2px solid #98d7bd;
}
@media (max-width: 900px) {
  .map-switches {
    max-width: 190px;
  }
  .map-heading h1 {
    max-width: 45vw;
  }
  .registry .sheet th,
  .registry .sheet td {
    padding: 10px;
  }
  .registry-inner {
    padding-inline: 16px;
  }
}
@media (max-width: 650px) {
  .observatory .map-heading {
    display: block;
    padding: 12px 14px 0;
  }
  .observatory .map-heading h1 {
    font-size: 27px;
    margin: 4px 0;
    max-width: 100%;
  }
  .map-switches {
    max-width: none;
    justify-content: flex-start;
    gap: 6px;
    margin-top: 8px;
  }
  .catalog-layers button {
    font-size: 10px;
    padding: 3px 6px;
  }
  .registry > header {
    padding-block: 25px 18px;
  }
  .registry .list-head {
    align-items: start;
    flex-wrap: wrap;
  }
  .registry-toolbar {
    flex-wrap: wrap;
  }
  .registry-toolbar .search {
    margin: 0;
  }
  .registry-name {
    min-width: 130px;
  }
  .registry-inner {
    padding-inline: 12px;
  }
  .registry .sheet th,
  .registry .sheet td {
    padding: 9px 8px;
  }
  .registry .sheet td {
    font-size: 12px;
  }
  dialog.inspector {
    padding: 20px;
  }
  .registry .sheet .provider-pill {
    white-space: normal;
  }
  .registry .sheet {
    scrollbar-width: thin;
  }
}
.satellite-banner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 92px;
  padding: 8px 18px;
  background: linear-gradient(110deg, #273431, #192328 68%);
  border: 1px solid #485553;
  border-radius: 8px;
}
.satellite-device {
  display: grid;
  place-items: center;
  position: relative;
  flex: 0 0 78px;
  height: 58px;
  transform: rotate(-24deg);
}
.satellite-device::before,
.satellite-device::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 19px;
  border: 1px solid #94b9b5;
  background:
    repeating-linear-gradient(90deg, transparent 0 7px, #95b0ac 7px 8px),
    repeating-linear-gradient(0deg, #3e626b 0 8px, #adc3b9 8px 9px);
}
.satellite-device::before {
  left: 0;
}
.satellite-device::after {
  right: 0;
}
.satellite-device i {
  width: 16px;
  height: 26px;
  background: linear-gradient(90deg, #746650, #ddcfad 40%, #968874 85%);
  border: 1px solid #d7caae;
  box-shadow: 0 2px 7px #0b1319;
}
.satellite-banner .inspector-kicker {
  margin: 0 0 7px;
}
.sync-state {
  color: #a6dfc4;
  font-size: 14px;
}
.sync-state::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  margin: 0 7px 2px 0;
}
.sync-state.warning {
  color: #efb58b;
}
dialog.inspector.docked {
  position: fixed;
  z-index: 6;
  top: 0;
  overflow-y: auto;
  width: clamp(320px, 28vw, 445px);
  max-height: 100dvh;
  height: 100dvh;
  overscroll-behavior: contain;
}
@media (min-width: 1000px) {
  body:has(dialog.docked[open]) .observatory {
    margin-right: clamp(320px, 28vw, 445px);
  }
  body:has(dialog.docked[open]) .map-heading h1 {
    font-size: clamp(26px, 3vw, 44px);
  }
}
@media (max-width: 999px) {
  dialog.inspector.docked {
    inset: auto 0 0;
    margin: 0;
    width: 100%;
    height: min(52dvh, 540px);
    border-left: 0;
    border-top: 1px solid #6b6760;
    border-radius: 16px 16px 0 0;
    padding: 16px 20px;
  }
  .docked .satellite-banner {
    min-height: 66px;
  }
  .docked header h2 {
    font-size: 24px;
  }
}
/* Shared console surfaces and controls */
:root {
  --console: #11191d;
  --raised: #182226;
  --field: #10181c;
  --rule: #354247;
  --field-rule: #56666b;
  --text: #e9eeeb;
  --secondary: #aebbbd;
  --focus: #f2bc8f;
  --edge-radius: 8px;
}
.management,
.registry,
dialog {
  --ink: var(--text);
  --paper: var(--console);
  --dim: var(--secondary);
  --line: var(--rule);
  color: var(--text);
  color-scheme: dark;
  background: var(--console);
}
.management {
  min-height: calc(100svh - 70px);
}
.management .admin-head {
  padding: clamp(26px, 4vw, 62px) 0;
  border-bottom: 1px solid var(--rule);
}
.management .admin-head h1 {
  font-size: clamp(34px, 4.4vw, 68px);
  margin: 0;
  font-weight: 420;
}
.management .admin-art {
  width: 48%;
  right: 2%;
  opacity: 0.8;
}
.management .admin-art .world {
  transform: translateY(-27%) rotate(-18deg);
}
.admin-tabs {
  margin-bottom: 24px;
  overflow: auto;
}
.admin-tabs button {
  white-space: nowrap;
}
.admin-tabs .selected {
  border-bottom-color: var(--focus);
}
.management .sheet,
.registry .sheet,
.run-history .sheet {
  background: var(--console);
  border: 1px solid var(--rule);
  border-radius: var(--edge-radius);
  color: var(--text);
}
.management .sheet th,
.registry .sheet th,
.run-history .sheet th {
  background: #1d292d;
  color: #afbdc0;
  border-color: var(--rule);
  font-weight: 560;
}
.management .sheet td,
.registry .sheet td,
.run-history .sheet td {
  border-color: var(--rule);
}
.management tbody tr:hover,
.registry tbody tr:hover {
  background: #182327;
}
.management .tag {
  background: #223035;
  color: #cfdddb;
}
.management .glyph,
.management .usericon {
  background: #263136;
  color: #e1b995;
}
.management .status {
  background: #1c362e;
  color: #a7dfbd;
}
.management .status.bad,
.management .error,
dialog .error {
  color: #ffb3a0;
}
.management .status.bad {
  background: #3b2622;
}
.management .status.idle {
  background: #33302b;
  color: #e6cc99;
}
.management button:not(.primary):not(.selected):hover,
dialog button:not(.primary):hover {
  background: #273237;
  color: #faf5ed;
}
.management .primary,
dialog .primary,
.inspector button.primary {
  border: 1px solid transparent;
  background: #f3bf93;
  color: #281c15;
  border-radius: var(--edge-radius);
  padding: 10px 15px;
}
.management .primary:hover,
dialog .primary:hover {
  background: #ffd3ab;
  color: #201a16;
}
.management .list-head .actions {
  flex-wrap: wrap;
}
.management .sheet td:nth-child(2),
.project-choice small {
  font-variant-numeric: tabular-nums;
}
.observatory .project-choice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) max-content;
  text-align: left;
}
.observatory .project-choice small {
  font-size: 10px;
  letter-spacing: 0;
}
.add-planet {
  display: block;
  width: 100%;
  margin: 12px 0 15px;
  text-align: left;
  background: #1c292c;
  color: #e6eee8;
  border-color: #425351;
}
.map-switches .view-toggle {
  white-space: nowrap;
}
.crew-row {
  width: 100%;
  text-align: left;
  margin: 2px 0;
  border: 0;
  border-left: 2px solid #ae8462;
  border-radius: 0;
  color: #e1e9e5;
}
.crew-row b,
.crew-row small {
  display: block;
  overflow-wrap: anywhere;
}
.crew-row small,
.field-note {
  color: var(--secondary);
  font-size: 12px;
}
#crew {
  margin-top: 15px;
}
#crew h3 {
  font-size: 14px;
}
dialog {
  width: min(600px, calc(100vw - 28px));
  padding: 24px;
  border: 1px solid #465459;
  border-radius: 14px;
  scrollbar-color: #546368 var(--console);
  scrollbar-width: thin;
  box-shadow: 0 28px 100px #0008;
}
dialog::backdrop {
  background: #050a10a8;
  backdrop-filter: blur(4px);
}
dialog header {
  border-color: var(--rule);
  margin-bottom: 16px;
}
dialog header h2 {
  font-weight: 480;
  letter-spacing: -0.04em;
}
dialog header button {
  border: 0;
  color: var(--secondary);
  background: #223034;
  flex: none;
}
dialog[open]:has(.editor-form) {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  max-height: min(85dvh, 900px);
}
dialog:has(.editor-form) header {
  margin: 0;
  padding: 18px 23px;
  flex: none;
}
.editor-form {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.editor-fields {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  padding: 4px 23px 18px;
}
dialog .form-footer {
  flex: none;
  position: static;
  margin: 0;
  padding: 12px 23px;
  background: var(--raised);
  border-top: 1px solid var(--rule);
}
dialog .form-footer .primary {
  margin: 0;
}
dialog .editor-fields label,
.inspector label.param-field {
  font-weight: 500;
  color: #ccd6d7;
}
dialog .editor-fields :is(#feed-mapping, #mapping):not([hidden]) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 16px;
}
dialog .editor-fields :is(#feed-mapping, #mapping) label:first-of-type,
dialog .editor-fields :is(#feed-mapping, #mapping) label:last-of-type {
  grid-column: 1/-1;
}
dialog fieldset {
  border: 0;
  padding: 0;
  min-width: 0;
  margin: 22px 0 0;
}
dialog legend {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  padding: 0;
  margin-bottom: 3px;
}
dialog .auth-settings,
dialog #tool-params details {
  border: 0;
  background: #1d292d;
  color: var(--text);
  border-radius: var(--edge-radius);
  padding: 10px 12px;
}
dialog form .choice {
  background: #1a2428;
  padding: 9px 11px;
  color: var(--secondary);
}
dialog .choice:has(:checked) {
  background: #273631;
  color: #dfede3;
}
dialog input[type='checkbox'] {
  accent-color: #c7c8a6;
}
dialog input:not([type='checkbox']),
dialog select,
dialog textarea,
.signin input,
.nav-search input,
.inspector #tool-params :is(input, select, textarea),
.search,
.registry .search {
  border: 1px solid var(--field-rule);
  border-radius: var(--edge-radius);
  background: var(--field);
  color: var(--text);
  box-shadow: none;
  color-scheme: dark;
}
dialog input:not([type='checkbox']),
dialog select,
.signin input,
.nav-search input {
  min-height: 40px;
}
dialog :is(select, textarea, input):focus-visible,
.signin input:focus-visible,
.nav-search input:focus-visible,
.inspector #tool-params :is(input, select, textarea):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: -2px;
  border-color: transparent;
  box-shadow: none;
}
.search:focus-within,
.registry .search:focus-within,
.inspector .library-search:focus-within {
  outline: 2px solid var(--focus);
  outline-offset: -2px;
  border-color: transparent;
}
.search input,
.registry .search input,
dialog.inspector .library-search input[type='search'] {
  background: transparent;
  border: 0;
  outline: 0;
  box-shadow: none;
  color: var(--text);
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  flex: 1;
}
.search {
  height: 40px;
  min-width: 0;
  cursor: text;
}
.search i {
  flex: none;
  color: var(--secondary);
}
:is(input, textarea)::placeholder {
  color: #91a1a5;
  opacity: 1;
}
dialog pre:not(:empty) {
  background: var(--field);
  color: #b9d9cd;
}
dialog input[type='file'] {
  padding: 6px;
  font-size: 12px;
}
dialog input[type='file']::file-selector-button {
  padding: 6px 10px;
  background: #263338;
  color: var(--text);
  border: none;
  border-radius: 5px;
  margin-right: 10px;
  cursor: pointer;
}
#import-json {
  min-height: 126px;
  resize: vertical;
}
.import-preview:not(:empty),
.crew-detail:not([hidden]) {
  display: block;
  color: #a8daca;
  font: 12px/1.5 var(--mono);
  padding: 8px 0;
}
.import-preview.error:not(:empty) {
  color: #ffb3a0;
}
.field-note {
  line-height: 1.6;
}
.connect-name {
  color: #f2c7a5;
  font-weight: 600;
}
.endpoint-field {
  display: flex;
  gap: 8px;
}
.endpoint-field input {
  min-width: 0;
}
.project-connection > label {
  display: block;
  margin: 18px 0 6px;
  color: var(--secondary);
  font-size: 13px;
}
.project-connection textarea {
  display: block;
  font: 12px/1.65 var(--mono);
  resize: vertical;
  min-height: 9em;
}
.project-connection .copy-status {
  display: block;
  color: var(--secondary);
  font-size: 13px;
}
.project-connection .copy-status:not(:empty) { margin-top: 8px; }
.select-control {
  position: relative;
  display: block;
  min-width: 0;
}
.select-control::after {
  content: '';
  position: absolute;
  inset-inline-end: 16px;
  top: 50%;
  width: 7px;
  height: 7px;
  border: solid var(--secondary);
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
dialog .select-control select {
  display: block;
  appearance: none;
  padding-inline-end: 40px;
  text-overflow: ellipsis;
  cursor: pointer;
}
.select-control:focus-within::after { border-color: var(--focus); }
@media (forced-colors: active) {
  dialog .select-control select { appearance: auto; padding-inline-end: 10px; }
  .select-control::after { display: none; }
}
dialog.inspector {
  background: var(--console);
  border-left-color: var(--rule);
  padding: 0 24px 22px;
  scrollbar-width: thin;
}
dialog.inspector header {
  position: sticky;
  top: 0;
  background: var(--console);
  padding: 18px 0 14px;
  z-index: 2;
  margin: 0;
  font-size: 20px;
  border-color: var(--rule);
}
dialog.inspector header h2 {
  font-size: clamp(23px, 2.1vw, 34px);
  line-height: 1.12;
}
.server-portrait {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: flex-end;
  isolation: isolate;
  padding: 14px 16px;
  height: 104px;
  overflow: hidden;
  margin: 16px 0;
  background:
    radial-gradient(ellipse at 22% 90%, #304549, transparent 65%),
    repeating-linear-gradient(0deg, transparent 0 19px, #79938a12 20px),
    repeating-linear-gradient(90deg, transparent 0 19px, #79938a12 20px), #162226;
  border-radius: 8px;
}
.server-portrait::before {
  content: '';
  position: absolute;
  width: 150px;
  height: 56px;
  left: -10px;
  top: 20px;
  transform: rotate(-22deg);
  border: 1px solid #9fb8ab40;
  border-radius: 50%;
  z-index: -1;
}
.server-portrait .satellite-device {
  position: absolute;
  left: 34px;
  top: 22px;
  width: 78px;
  transform: rotate(-26deg) scale(1.25);
}
.server-portrait .sync-state {
  font: 11px var(--mono);
  background: #142321da;
  padding: 4px 8px;
  border-radius: 4px;
}
.server-facts {
  margin: 0;
  display: grid;
  gap: 9px;
}
.server-facts div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
}
.server-facts dt {
  font-size: 12px;
  color: var(--secondary);
}
.server-facts dd {
  margin: 0;
  text-align: right;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.inspector .inspect-desc {
  margin: 14px 0 0;
  color: var(--secondary);
  font-size: 13px;
}
.inspector-library {
  margin-top: 18px;
  border-top: 1px solid var(--rule);
}
.inspector-library h3 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 18px;
}
.inspector-library h3 span {
  color: #b5c9c8;
  font: 12px var(--mono);
}
.inspector .library-search {
  margin: 10px 0;
  width: 100%;
  background: var(--field);
}
.inspector .library-tool {
  border-radius: 0;
  padding: 10px 2px;
  border: 0;
  border-bottom: 1px solid #2e3a40;
  background: transparent;
}
.inspector .tool-symbol {
  background: transparent;
  color: #dab999;
  width: 22px;
}
.library-tool small {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
dialog.server-panel[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  padding-bottom: 0;
}
.server-content {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  padding: 0 5px 16px 0;
}
.server-actions {
  padding: 10px 0 max(10px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--rule);
}
.inspector .depart-button {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 46px;
  padding: 5px 14px;
  text-align: left;
  color: #ffd7b7;
  border: 1px solid #765749;
  border-radius: 8px;
  background: linear-gradient(105deg, #352620, #201e1e 75%);
}
.inspector .depart-button:hover {
  color: #ffead8;
  border-color: #d89c76;
  background: #382924;
}
.event-horizon {
  display: inline-grid;
  place-items: center;
  position: relative;
  width: 42px;
  aspect-ratio: 1.65;
  flex: none;
  transform: rotate(-16deg);
  transition: transform .25s ease-out;
}
.event-horizon::before, .event-horizon::after {
  content: '';
  grid-area: 1 / 1;
  border-radius: 50%;
}
.event-horizon::before {
  width: 49%;
  aspect-ratio: 1;
  background: #0c0d10;
  box-shadow: inset 0 1.6px 1px #fff0cf, inset 1px 3px 2px #e58e61, 0 -2px 7px #e38b554d;
}
.event-horizon::after {
  width: 95%;
  height: 26%;
  border: 1px solid #b67b56;
  border-top-color: transparent;
  border-bottom: 2px solid #ffdbac;
  box-shadow: 0 2px 3px #e28c5640;
}
@media (prefers-reduced-motion: no-preference) {
  .depart-button:is(:hover,:focus-visible) .event-horizon { transform: rotate(-26deg) scale(1.06); }
}
#departure-dialog {
  width: min(455px, calc(100vw - 28px));
  color: #eeeae4;
  background: radial-gradient(ellipse at top left, #372922, transparent 64%), #151a1c;
  border-color: #635045;
}
#departure-form { display: block; }
.departure-heading { display: flex; align-items: center; gap: 18px; }
.departure-heading .event-horizon { width: 68px; }
.departure-heading h2 { margin: 0; font-weight: 510; line-height: 1.12; letter-spacing: -.035em; }
.departure-command {
  display: grid;
  gap: 5px;
  margin: 20px 0 14px;
  padding: 12px 14px;
  background: #0d1113;
  border-inline-start: 2px solid #c89573;
  color: #ccd3cf;
  font: 13px/1.5 var(--mono);
  overflow-wrap: anywhere;
}
.departure-command b { color: #edb18c; }
#departure-description { margin: 18px 0; color: #c4c9c8; line-height: 1.5; }
.departure-manifest { margin: 0; }
.departure-manifest div {
  display: grid;
  grid-template-columns: 7em minmax(0,1fr);
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid #383d3c;
}
.departure-manifest dt { color: #a6afad; }
.departure-manifest dd { margin: 0; overflow-wrap: anywhere; }
#departure-form .error:empty { display: none; }
#departure-form footer { display: flex; justify-content: flex-end; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
#departure-form footer button { min-height: 44px; }
#departure-form .departure-submit { background: #edb18c; color: #231a16; border-color: transparent; font-weight: 600; }
#departure-form .departure-submit:hover { background: #ffd2b1; }
#departure-form button:disabled { opacity: .68; cursor: wait; }
.orbit-activity {
  position: absolute;
  z-index: 1;
  right: clamp(12px, 1.8vw, 30px);
  bottom: 74px;
  width: min(288px, calc(100% - 24px));
  color: #e5edeb;
  background: #10191def;
  border: 1px solid #45565a;
  border-radius: 10px;
  box-shadow: 0 8px 32px #05090d55;
}
.orbit-activity summary {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 560;
}
.orbit-activity summary::-webkit-details-marker { display: none; }
.orbit-activity summary span { margin-left: auto; color: #a4d6cd; font: 12px var(--mono); }
.orbit-activity summary::after {
  content: '';
  width: 6px;
  height: 6px;
  border: solid #acc2c0;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
}
.orbit-activity[open] summary::after { transform: rotate(225deg); }
.activity-entries {
  max-height: min(30dvh, 260px);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  border-top: 1px solid #344348;
}
.activity-entries > p { margin: 0; padding: 14px; color: #b4c3c6; font-size: 13px; }
.activity-entries .activity-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: 100%;
  gap: 4px 8px;
  padding: 11px 14px;
  border: 0;
  border-radius: 0;
  text-align: left;
  background: transparent;
  color: #e0e9e8;
}
.activity-entry + .activity-entry { border-top: 1px solid #344348; }
.activity-entries .activity-entry:hover { background: #243033; }
.activity-entry :is(strong,span) { overflow-wrap: anywhere; }
.activity-entry :is(small,time) { align-self: center; text-align: right; font: 11px var(--mono); }
.activity-entry span { color: #acc6c4; font-size: 12px; }
.activity-entry small { color: #b3bdbd; }
.activity-entry .activity-live { color: #9de4d8; white-space: nowrap; }
.activity-live::before { content: ''; display: inline-block; width: .5em; height: .5em; margin-right: .45em; border-radius: 50%; background: currentColor; }
body:has(dialog.docked[open]) .orbit-activity { visibility: hidden; }
@media (max-width: 999px) {
  .orbit-activity { bottom: 52px; right: 10px; width: min(254px, calc(100% - 20px)); }
  .activity-entries { max-height: 150px; }
}
@media (max-width: 760px) {
  .add-planet {
    width: auto;
    margin: 0;
    padding: 4px 8px;
    font-size: 11px;
  }
  .project-choice span {
    max-width: 15em;
  }
  .management .admin-tabs {
    gap: 14px;
  }
  .management .list-head .actions {
    width: 100%;
  }
  .management .list-head .search {
    flex: 1;
    min-width: 160px;
  }
  .server-portrait {
    height: 78px;
  }
  .server-portrait .satellite-device {
    top: 11px;
  }
  .map-switches {
    max-width: 100%;
  }
}
@media (max-width: 480px) {
  dialog .editor-fields :is(#feed-mapping, #mapping):not([hidden]) {
    display: block;
  }
  dialog:has(.editor-form) header,
  .editor-fields,
  .form-footer {
    padding-inline: 16px;
  }
  dialog.inspector.docked {
    padding: 0 16px 16px;
  }
  .server-portrait {
    margin: 10px 0;
  }
  .server-facts div {
    gap: 8px;
  }
}
@media (forced-colors: active) {
  .search:focus-within,
  input:focus-visible,
  button:focus-visible,
  select:focus-visible,
  textarea:focus-visible {
    outline: 2px solid Highlight;
    outline-offset: -2px;
  }
}
.top {
  padding-inline: clamp(14px, 1.55vw, 28px);
  gap: clamp(18px, 3vw, 48px);
  background: #101719;
  min-height: 66px;
}
.brand {
  letter-spacing: -0.038em;
  font-size: clamp(17px, 1.55vw, 25px);
  gap: 8px;
  white-space: nowrap;
  font-weight: 530;
}
.brand span b {
  font-weight: 690;
}
.brand i {
  width: 37px;
  height: 37px;
  flex: none;
  transform: none;
  border-radius: 0;
  background: transparent url('/mark.svg') center/contain no-repeat;
}
.top nav {
  gap: clamp(12px, 1.8vw, 28px);
}
.top nav .current:after {
  height: 2px;
}
.system-link::before {
  content: '';
  width: 29px;
  height: 24px;
  background:
    radial-gradient(circle at 50% 50%, #ffd5a0 0 3px, transparent 3.7px),
    radial-gradient(circle at 82% 22%, #b3e2dc 0 2px, transparent 2.5px),
    radial-gradient(ellipse at center, transparent 43%, #92beb8 46% 51%, transparent 56%);
  transform: rotate(-28deg);
}
.access-screen {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-content: center;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 395px);
  gap: 7vw;
  padding: 100px 9vw 70px;
  min-height: 100svh;
  color: var(--text);
  background: #0b1116;
}
.access-screen .top {
  padding: 0 clamp(16px, 3vw, 48px);
  min-height: 68px;
}
.access-screen .sky {
  opacity: 0.66;
}
.access-art {
  position: absolute;
  z-index: -1;
  left: -7%;
  bottom: -38vw;
  width: 73vw;
  pointer-events: none;
}
.access-art .world {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 -15px 55px #b6744840);
}
.access-form {
  grid-column: 2;
  padding: 28px 0 26px;
  align-self: center;
  border-top: 1px solid #b08e75;
}
.access-form h1 {
  font-size: clamp(26px, 2.3vw, 40px);
  font-weight: 490;
  margin: 0 0 24px;
}
.access-form .enter {
  margin-top: 24px;
  background: #f2c399;
  color: #251d17;
  padding: 11px 15px;
}
.signin label[hidden] {
  display: none;
}
.top .account-profile { display: inline-flex; align-items: center; gap: 8px; padding: 3px 10px 3px 3px; }
.handbook { min-height: calc(100dvh - 66px); background: #10171a; color: #e5ece9; }
.handbook-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(30px, 5vw, 68px) max(6vw, calc((100vw - 1080px) / 2));
  background: linear-gradient(106deg, #142428, #10191d 62%, #283034);
  border-bottom: 1px solid #394446;
}
.handbook-hero::after {
  position: absolute;
  content: '';
  z-index: -1;
  right: 4%;
  top: -60%;
  width: clamp(240px, 37vw, 510px);
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: .82;
  background: radial-gradient(circle at 20% 25%, transparent 15%, #060c10e8 77%), url('/surface-lunar.webp') center/cover;
  box-shadow: -2px -1px 10px #92b9c148;
}
.crew-ident, .crew-layout {
  width: min(1080px, 90%);
  margin-inline: auto;
}
.crew-ident {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: clamp(18px, 4vw, 46px);
  min-height: clamp(168px, 23vh, 230px);
  padding: 22px clamp(20px, 4vw, 52px);
  border: 1px solid #445152;
  border-radius: 16px;
  background: linear-gradient(101deg, #152427 15%, #19292b 59%, #302822);
}
.profile-page { padding-block: clamp(22px, 4vw, 52px) 64px; }
.crew-ident::after {
  content: ''; position: absolute; z-index: -1; inset: 0 0 0 46%;
  background: linear-gradient(90deg,#1a292c, transparent 89%), url('/surface-copper.webp') center 38%/cover;
  opacity: .65;
}
.crew-emblem {
  position: relative; flex: none; display: grid; place-items: center;
  width: clamp(64px,7vw,92px); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid #baa189; background: radial-gradient(at 30% 16%,#414c49,#112127 80%);
  font-size: clamp(26px,3vw,46px); font-weight: 500; color: #ffd6b0;
}
.crew-emblem::after {
  content: ''; position: absolute; width: 126%; height: 43%; border: 1px solid #b299777d;
  border-radius: 50%; transform: rotate(-36deg); pointer-events: none;
}
.crew-ident p { color: #a9c5c2; margin: 0 0 6px; font-size: 14px; }
.crew-ident h1 { margin: 0 0 9px; font-size: clamp(32px,5vw,66px); font-weight: 520; letter-spacing: -.05em; line-height: 1; overflow-wrap: anywhere; }
.crew-ident span { color: #d7e4e1; }
.crew-layout { display: grid; grid-template-columns: minmax(0,1.75fr) minmax(0,1fr); gap: clamp(24px,5vw,72px); margin-top: 32px; }
.crew-layout h2 { margin: 0; font-size: clamp(21px,2.1vw,29px); font-weight: 520; letter-spacing: -.035em; }
.credential-section, .crew-projects { border-top: 1px solid #3c4b4e; padding: 22px 0; }
.credential-head, .factor-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.credential-head .account-issue { margin: 0; border-radius: 8px; min-height: 42px; }
.profile-empty { margin-block: 18px 0; padding: 18px 20px; background: #192529; border-radius: 10px; }
.profile-page .credential-section p { color: #afc1c2; font-size: 15px; line-height: 1.55; margin: 8px 0; }
.factor-line { margin-top: 20px; }
.factor-state { color: #c9dbd7; font-size: 13px; }
.credential-section a { color: #b5d6ce; }
.crew-projects h2 small { color: #9eb2af; font: 14px var(--mono); margin-inline-start: 6px; }
.crew-projects .profile-projects a { width: 100%; padding: 12px 0; border-bottom: 1px solid #2e3c40; }
.crew-projects .profile-projects span { min-width: 0; overflow-wrap: anywhere; }
.crew-projects .profile-projects small { display: block; margin-top: 3px; color: #a6b8b9; font: 12px var(--mono); }
.profile-projects b { margin-left: auto; }
.top .account .logout-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--action-height); min-width: 40px; padding: 0 12px; border-radius: 8px;
  color: #c0cdce; border: 1px solid #415054; background: transparent;
}
.logout-button i { display: grid; place-items: center; width: 15px; height: 16px; border: 1.5px solid currentColor; border-right: 0; border-radius: 3px 0 0 3px; font: 16px/1 var(--mono); text-indent: 6px; }
.top .account .logout-button:hover { background: #352822; color: #ffd4ab; border-color: #976e58; }
.map-switches .create-planet {
  display: inline-flex; align-items: center; gap: 8px; border-radius: 8px;
  border: 1px solid #e9b58d; padding: 9px 14px; min-height: 37px;
  background: #efbf98; color: #25201c; font-size: 12px; font-weight: 550;
}
.map-switches .create-planet:hover { background: #ffdab9; }
.create-planet i {
  position: relative; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid currentColor;
  background: linear-gradient(currentColor 0 0) center/7px 1.5px no-repeat,linear-gradient(currentColor 0 0) center/1.5px 7px no-repeat;
}
.planet-actions { display: flex; flex-wrap: wrap; pointer-events: auto; gap: 4px 12px; margin-top: 8px; }
.planet-actions button { color: #d9e6e4; padding: 5px 0; border: 0; background: transparent; font-size: 13px; text-decoration: underline; text-decoration-color: #667b7b; text-underline-offset: 4px; }
.planet-actions .danger-text { color: #efb796; text-decoration-color: #8d6b59; }
.orbit-stage .map-description { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; font-size: 14px; line-height: 1.45; max-width: 48ch; }
.destruction-target { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.destruction-target strong, .destruction-target small { display: block; overflow-wrap: anywhere; }
.destruction-target small { color: var(--secondary); font-family: var(--mono); margin-top: 3px; }
dialog .form-footer button.destructive { background: #eeaf88; color: #261a14; }
#app:has(.observatory) { min-height: 100dvh; display: flex; flex-direction: column; }
#app:has(.observatory) > #content { display: flex; flex-direction: column; flex: 1; }
#content > .observatory { flex: 1; }
@media (min-width: 1000px) {
  #app:has(.observatory) { height: max(540px, 100dvh); }
  #app:has(.observatory) > .top { flex: none; }
  #app:has(.observatory) > #content, #content > .observatory { min-height: 0; }
  .observatory .flight-nav { max-height: 100%; min-height: 0; }
  .observatory .viewport { display: flex; flex-direction: column; min-height: 0; }
  .observatory .orbit-stage { height: auto; min-height: 0; flex: 1; }
}
.launch-code { display: grid; justify-items: start; gap: 7px; margin: 14px 0; color: #d6e4e1; }
.launch-code small { font-weight: 400; color: #b2c6c2; }
.launch-code .code-rail {
  --cell: clamp(31px, 7vw, 45px);
  display: block; width: calc(6 * var(--cell)); max-width: 100%; overflow: hidden;
  border-radius: 6px; border-bottom: 2px solid #87b9ae;
  background: repeating-linear-gradient(90deg, #182b30 0 calc(var(--cell) - 3px), transparent calc(var(--cell) - 3px) var(--cell));
}
#app .launch-code input, dialog .launch-code input {
  display: block; box-sizing: border-box; width: calc(7 * var(--cell)); max-width: none;
  height: 54px; margin: 0; padding: 0 0 0 calc((var(--cell) - 1ch) / 2 - 1px);
  font: 600 24px/1 var(--mono); font-variant-numeric: tabular-nums;
  letter-spacing: calc(var(--cell) - 1ch); border: 0; outline: none;
  border-radius: 5px; color: #d9fff2; background: transparent; caret-color: #ffce9f;
}
.code-rail:focus-within { outline: 2px solid #edbc95; outline-offset: -2px; box-shadow: 0 0 18px #76cbba24; }
.login-policy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 0; border-top: 1px solid var(--rule); }
.login-policy p { color: var(--secondary); }
.login-restart { margin: 4px 0; color: #d0e0db; }
.orbit-directory { display: grid; gap: 6px; margin-block: 15px; }
.orbit-directory button { display: flex; justify-content: space-between; gap: 12px; align-items: center; text-align: left; overflow-wrap: anywhere; }
.orbit-directory small, .orbit-choices small { color: var(--secondary); }
.orbit-choices { max-height: 35dvh; overflow: auto; scrollbar-width: thin; }
.orbit-choices small { display: block; }
.security-actions, .orbit-batch { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-block: 12px; }
.orbit-choices .choice[hidden], #login-code[hidden] { display: none; }
.management .list-head .actions > button,
.management .row-actions > button,
.observatory .map-switches > button,
.top .account > button,
dialog .form-footer > button,
dialog .actions > button,
#departure-form footer > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--action-height);
  padding-block: 0;
  line-height: 1.2;
}
.management .list-head .actions > .search { min-height: var(--action-height); }
dialog header .dialog-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  align-self: center;
}
.dialog-close::before, .dialog-close::after {
  content: '';
  grid-area: 1 / 1;
  width: 14px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transform: rotate(45deg);
}
.dialog-close::after { transform: rotate(-45deg); }
@media (max-width: 740px) {
  .crew-layout { grid-template-columns: 1fr; gap: 0; margin-top: 20px; }
  .top .account .logout-button span { display: none; }
  .map-switches .create-planet { min-height: 31px; padding: 5px 9px; font-size: 12px; }
}
.handbook-hero > div { max-width: 78%; overflow-wrap: anywhere; }
.handbook-hero p { color: #b3cec8; margin: 0 0 12px; font-size: 14px; }
.handbook-hero h1 { margin: 0 0 10px; font-size: clamp(40px, 6vw, 78px); line-height: 1; font-weight: 480; letter-spacing: -.05em; }
.handbook-hero span { color: #ccd7d4; }
.handbook-layout {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 680px);
  gap: clamp(28px, 6vw, 94px);
  max-width: 1080px;
  margin-inline: auto;
  padding: clamp(24px, 4vw, 50px) 0 60px;
  width: 88%;
}
.handbook-side { align-self: start; position: sticky; top: 20px; }
.handbook-side h2 { font-size: 17px; margin: 0 0 14px; }
.handbook-side a { display: block; color: #b7c9c7; text-decoration: none; padding: 7px 0; }
.handbook a:hover { color: #ffc59b; text-decoration: underline; }
.handbook-side p { color: #adbdbe; margin: 4px 0; }
.handbook-side strong { display: block; color: #d5e7df; font-size: 15px; margin-bottom: 7px; }
.handbook-reading section { border-top: 1px solid #364347; padding: 22px 0 26px; scroll-margin: 24px; }
.handbook-reading h2 { margin: 0; font-size: clamp(22px, 2vw, 32px); font-weight: 520; letter-spacing: -.03em; }
.handbook-reading p { font-size: 16px; line-height: 1.65; color: #bfcacb; margin: 10px 0 0; }
.handbook .account-issue { background: #e9b08c; color: #211b18; border-color: transparent; margin-top: 16px; }
.profile-page button {
  min-height: var(--action-height);
  color: #e8f2ef;
  background: #1b292d;
  border: 1px solid #708482;
  border-radius: 8px;
}
.profile-page button:is(:hover,:focus-visible) {
  color: #f5fffb;
  background: #304443;
  border-color: #9fbab4;
}
.profile-page button:active { color: white; background: #253736; }
.profile-page .account-issue { color: #251b16; background: #efba94; border-color: #efba94; margin: 0; }
.profile-page .account-issue:is(:hover,:focus-visible) { color: #201710; background: #ffd7b5; border-color: #ffd7b5; }
.profile-page button:focus-visible { outline: 2px solid #ffd1ab; outline-offset: 2px; }
.personal-keys, .profile-projects { padding: 0; list-style: none; }
.personal-keys li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.personal-keys small { display: block; color: #adbdbe; margin-top: 4px; }
.profile-projects a { display: inline-flex; align-items: center; gap: 12px; padding: 7px 0; color: #c6dcd8; text-decoration: none; }
@media (max-width: 720px) {
  .handbook-layout { grid-template-columns: 1fr; gap: 20px; }
  .handbook-side { position: static; }
  .manual .handbook-side a { display: inline-block; margin-right: 16px; }
  .handbook-hero::after { right: -80px; opacity: .5; }
}
.setup-secret {
  letter-spacing: 0.08em;
  user-select: all;
}
.observatory .map-heading h1.project-title,
.registry h1.project-title,
body:has(dialog.docked[open]) .map-heading h1.project-title {
  font-size: clamp(23px, 2.35vw, 39px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
  min-width: 0;
}
.map-heading > div:has(.project-title) { min-width: 0; }
.auth-enrollment {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 20px;
  color: #edf4f1;
  padding-block: 6px 12px;
}
.enrollment-qr {
  max-width: 100%;
  padding: 5px;
  border: 1px solid #9c7962;
  border-radius: 9px;
  background: #192125;
}
.enrollment-qr svg {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 3px;
  shape-rendering: crispEdges;
}
.enrollment-qr svg rect { fill: #fff4e4; }
.enrollment-qr svg path { fill: #101e22; }
.enrollment-instructions { flex: 1 1 150px; min-width: 0; overflow-wrap: anywhere; }
.enrollment-instructions strong { font-size: 18px; font-weight: 560; }
.auth-enrollment p { color: #c6d1d1; line-height: 1.45; margin: 7px 0; }
.enrollment-instructions small { color: #e7b78f; font-family: var(--mono, monospace); }
.auth-enrollment .manual-enrollment {
  flex-basis: 100%;
  min-width: 0;
  padding: 0;
  background: transparent;
  color: #d2e4df;
  border: 0;
}
.manual-enrollment summary { cursor: pointer; padding-block: 5px; }
.manual-enrollment .setup-secret { white-space: pre-wrap; overflow-wrap: anywhere; }
.profile-site,
.profile-prompt {
  font-size: 13px;
  margin: 10px 0;
  overflow-wrap: anywhere;
}
.profile-site a {
  color: #b8d7ca;
}
.profile-prompt {
  color: #b7c7c8;
  white-space: pre-wrap;
}
.inspector .profile-edit {
  font-size: 12px;
  color: #b8c8c7;
  margin: 8px 0 0;
}
@media (max-width: 900px) {
  .top .lockup small {
    display: none;
  }
  .top {
    gap: 16px;
  }
  .access-screen {
    gap: 6vw;
    padding-inline: 6vw;
  }
}
@media (max-width: 650px) {
  .top {
    flex-wrap: wrap;
    padding-block: 8px 0;
    gap: 5px 10px;
  }
  .top .account {
    gap: 6px;
  }
  .top .brand i {
    width: 28px;
    height: 28px;
  }
  .top .avatar {
    display: none;
  }
  .top nav {
    gap: 20px;
  }
  .access-screen {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 21px;
    padding: 82px 7vw 36px;
  }
  .access-art {
    width: 105vw;
    bottom: -52vw;
    left: -24%;
    opacity: 0.42;
  }
  .access-form {
    width: 100%;
    max-width: 420px;
    align-self: start;
    padding: 18px 0;
    background: linear-gradient(90deg, #0d1318bd, transparent);
  }
  .access-form h1 {
    font-size: 24px;
    margin-bottom: 12px;
  }
  .access-screen .top {
    display: flex;
    align-items: center;
  }
  .access-screen .top .brand {
    font-size: 16px;
  }
}

.mobile-projects, .observatory .map-switches > .mobile-commands { display: none; }
.site-menu { display: none; }
#site-links { display: contents; }

@media (max-width: 999px) {
  #app > .top { position: relative; z-index: 5; min-height: 52px; padding: 4px 14px; align-items: center; }
  .site-menu {
    margin-left: auto; display: inline-flex; align-items: center; gap: 9px;
    min-height: 42px; padding: 0 9px; border: 0; color: var(--text); background: transparent;
  }
  .site-menu i {
    width: 17px; height: 12px; border-block: 1.5px solid currentColor;
    background: linear-gradient(currentColor 0 0) center / 100% 1.5px no-repeat;
  }
  #site-links { display: none; }
  .site-menu[aria-expanded=true] + #site-links {
    display: grid; position: absolute; top: 100%; right: 10px; width: min(264px, calc(100% - 20px));
    padding: 6px; border: 1px solid var(--field-rule); border-radius: 10px;
    background: var(--console); box-shadow: 0 12px 32px #05090d80;
  }
  #site-links nav, #site-links .account { display: grid; order: initial; gap: 0; margin: 0; width: 100%; }
  #site-links .account { border-top: 1px solid var(--rule); padding-top: 4px; margin-top: 4px; }
  #site-links button { justify-content: start; min-height: 44px; padding: 0 12px; border: 0; text-align: start; background: transparent; }
  #site-links .current { border-radius: 5px; background: #233136; color: #ffe1c6; }
  #site-links .current::after { display: none; }
  #site-links .logout-button span { display: inline; }
  dialog.inspector[open] {
    position: fixed; inset: 0; margin: 0; width: 100%; max-width: none; height: 100dvh;
    max-height: none; border: 0; border-radius: 0; padding: env(safe-area-inset-top) 16px max(12px, env(safe-area-inset-bottom));
    overscroll-behavior: contain;
  }
  body:has(dialog.inspector[open]) { overflow: hidden; }
  dialog.server-panel[open] { padding-bottom: 0; }
  dialog.inspector header h2 { font-size: clamp(21px,5vw,26px); min-width: 0; overflow-wrap: anywhere; }
  dialog.inspector .dialog-close { min-width: 40px; min-height: 40px; }
  #content > .observatory,
  .observatory .viewport { display: flex; flex-direction: column; min-height: 0; }
  .observatory .viewport { flex: 1; }
  .flight-nav { position: relative; z-index: 3; }
  .flight-scroll { position: relative; padding: 6px 12px; gap: 8px; }
  .mobile-projects, .observatory .map-switches > .mobile-commands {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 38px; padding: 0 12px;
    background: var(--raised); color: var(--text); border: 1px solid var(--rule); border-radius: 7px;
  }
  .mobile-projects::after {
    content: ''; width: 6px; height: 6px; margin-top: -3px;
    border: solid var(--secondary); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
  }
  .mobile-projects[aria-expanded=true]::after { transform: rotate(225deg); margin-top: 3px; }
  #project-links { display: none; }
  .mobile-projects[aria-expanded=true] + #project-links {
    display: grid; position: absolute; z-index: 3; top: 100%; inset-inline: 12px;
    max-height: min(50dvh, 340px); overflow: auto; padding: 6px; isolation: isolate;
    border: 1px solid var(--field-rule); background: var(--console); border-radius: 8px;
    box-shadow: 0 12px 28px #05090d70;
  }
  #project-links .nav-caption { display: none; }
  #project-links button { width: 100%; min-height: 40px; padding-inline: 10px; font-size: 14px; }
  #project-links .project-choice small { font-size: 11px; }
  .flight-scroll .nav-search { position: static; flex: 1; min-width: 0; margin: 0; padding: 0; }
  .nav-search:focus-within #orbit-results:not(:empty) { inset-inline: 12px; }
  .nav-search .orbit-result { min-height: 40px; }
  .nav-search label { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  .flight-scroll .nav-search input { width: 100%; min-width: 0; height: 38px; }
  .flight-scroll #crew:not([hidden]) { flex-basis: 100%; margin: 0; max-height: 20dvh; overflow: auto; }
  .orbit-stage {
    flex: 1; display: grid; grid-template: auto minmax(290px, 1fr) auto / minmax(0, 1fr);
    height: auto; min-height: min(72svh, 660px);
  }
  .orbit-stage canvas, .orbit-stage .camera { grid-area: 2 / 1; }
  .observatory .map-heading {
    grid-area: 1 / 1; position: relative; display: block; padding: 12px 14px 10px;
    background: #10191e; border-bottom: 1px solid var(--rule);
  }
  .map-heading .instrument-caption { display: none; }
  .observatory .map-heading h1 { max-width: none; margin: 0; line-height: 1.15; font-size: 25px; }
  .map-heading p { margin: 4px 0 0; font-size: 11px; }
  .map-heading .map-switches { justify-content: flex-start; max-width: none; margin-top: 9px; gap: 6px; }
  .map-heading .planet-actions, .map-heading .map-switches > [data-act=orbits],
  .map-heading:has(.mobile-commands) .map-switches > [data-act=newPlanet] { display: none; }
  .observatory .map-switches > button { min-height: 36px; padding-inline: 10px; font-size: 13px; }
  .mobile-command-list { display: grid; gap: 6px; }
  .mobile-command-list button { min-height: 44px; text-align: start; }
  .mobile-command-list .danger-text { color: #f3b59b; }
  .orbit-stage .camera { position: relative; inset: auto; align-self: end; justify-self: end; z-index: 1; margin: 10px 12px; }
  .camera button { min-width: 36px; min-height: 36px; }
  .orbit-stage .orbit-activity {
    grid-area: 3 / 1; position: static; width: auto; border: 0; border-top: 1px solid var(--rule);
    border-radius: 0; background: var(--console); box-shadow: none;
  }
  .orbit-activity summary { min-height: 42px; padding: 8px 16px; }
  .orbit-activity .activity-entries { max-height: 23dvh; overflow: auto; }
}

@media (max-width: 650px) {
  #app > .top { gap: 0 8px; }
  .top .account > button { min-height: 36px; }
  .top nav { min-height: 36px; align-items: stretch; }
  .top nav button { min-height: 36px; }
  .registry > header { padding: 14px 14px 12px; }
  .registry .list-head { margin-top: 5px; align-items: center; gap: 6px; }
  .registry-back { margin-top: 8px; }
  .registry-inner { padding: 12px 12px 32px; }
  .registry-toolbar { gap: 8px; margin-bottom: 10px; }
  .registry-toolbar .catalog-layers button { min-height: 32px; padding-inline: 8px; font-size: 12px; }
  .registry-toolbar .search { flex: 1 1 135px; min-width: 0; }
  .registry-toolbar .search input { width: 100%; min-width: 0; }
  .registry-inner > .sheet :is(table, tbody) { display: block; width: 100%; }
  .registry-inner > .sheet thead { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  .registry-inner > .sheet tr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 14px; padding: 7px 12px 10px; border-bottom: 1px solid var(--rule); }
  .registry-inner > .sheet tr:last-child { border-bottom: 0; }
  .registry-inner > .sheet td { display: block; min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere; padding: 0; border: 0; }
  .registry-inner > .sheet td:first-child { flex-basis: 100%; }
  .registry-inner > .sheet td:not(:first-child)::before { content: attr(data-label) ' '; color: var(--secondary); font-size: 11px; }
  .registry .registry-name { gap: 8px; min-width: 0; }
  .registry-name i { width: 26px; height: 26px; flex: none; }
  .registry-inner .text-link { min-height: 38px; text-align: start; overflow-wrap: anywhere; }
  .management .admin-head { padding: 15px 0; min-height: 0; }
  .management .admin-head h1 { font-size: 27px; margin: 0; }
  .management .admin-tabs { margin-bottom: 12px; gap: 12px; }
  .management .list-head { align-items: stretch; gap: 8px; }
  .management .actions .search { flex-basis: 100%; }
  .management .actions .search input { width: 100%; }
  .management .paper .sheet tr { padding: 9px 12px; }
  .profile-page { padding: 14px 0 32px; }
  .crew-ident, .crew-layout { width: calc(100% - 28px); }
  .crew-ident { min-height: 96px; padding: 14px 18px; gap: 16px; }
  .crew-emblem { width: 47px; font-size: 22px; }
  .crew-ident h1 { font-size: 28px; margin-bottom: 4px; }
  .crew-layout { margin-top: 14px; }
  .credential-section, .crew-projects { padding: 15px 0; }
  .profile-empty { padding: 10px 12px; }
  .handbook-hero { padding: 20px 16px; }
  .handbook-hero h1 { font-size: 36px; }
  .handbook-layout { width: calc(100% - 32px); padding-block: 16px; gap: 16px; }
  .handbook-reading section { padding: 15px 0; }
  .handbook-reading p { font-size: 15px; line-height: 1.55; }
  dialog[open]:has(.editor-form) { max-height: calc(100dvh - 24px); }
  dialog:has(.editor-form) header { padding: 12px 16px; }
  dialog .form-footer { padding: 10px 16px max(10px, env(safe-area-inset-bottom)); }
  .editor-fields { padding-bottom: 10px; }
  dialog input:not([type=checkbox]), dialog textarea, dialog select, .signin input, .nav-search input { font-size: 16px; }
}

.object-name { display: grid; gap: 6px; }
.orbit-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.orbit-tools input { flex: 1 1 170px; min-width: 0; }
.orbit-directory button > span:first-child { display: grid; gap: 3px; min-width: 0; }
.orbit-directory button > span:last-child { white-space: nowrap; color: #b6d6d1; font: 12px var(--mono); }
.orbit-directory button small { font-size: 12px; }
.editor-fields .orbit-selected { display: flex; align-items: center; gap: 8px; }
.orbit-count { display: block; color: #acd1cc; font: 12px var(--mono); margin-block: 8px; }
#dialog[open]:has(> .dialog-scroll), #departure-dialog[open] {
  display: flex; flex-direction: column; overflow: hidden; padding: 0;
}
#dialog:has(> .dialog-scroll) > header, #departure-dialog > header {
  position: static; flex: none; margin: 0; padding: 14px 20px; gap: 14px;
  background: var(--console); border-bottom: 1px solid var(--rule);
}
#dialog > header h2, #departure-dialog > header h2 { min-width: 0; overflow-wrap: anywhere; }
.dialog-scroll, #departure-form {
  min-height: 0; padding: 16px 20px; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin;
}
#departure-dialog .event-horizon { width: 36px; flex-shrink: 0; }
#departure-dialog .dialog-close { margin-inline-start: auto; }
.object-name > div { display: flex; align-items: center; justify-content: space-between; gap: 4px 12px; flex-wrap: wrap; }
.object-name .suggest-name { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 2px 4px; border: 0; background: transparent; color: #9de4d8; font-size: .82rem; }
.object-name .suggest-name:hover { color: #d5fff5; text-decoration: underline; }

#site-links nav button { display: inline-flex; align-items: center; gap: 8px; }
#site-links nav svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
#site-links .account-profile[aria-current=page] { background: #31302b; color: #ffd4ab; }
#site-links nav .current::after { display: none; }
@media (min-width: 1000px) {
  #app > .top { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; }
  #site-links nav { margin: 0; align-self: center; padding: 3px; gap: 3px; background: #10191c; border: 1px solid #344145; border-radius: 12px; }
  #site-links nav button { height: 36px; min-height: 36px; padding: 0 14px; border-radius: 8px; font-size: 14px; color: #bdcac9; }
  #site-links nav button:hover { background: #213034; color: #eff7f5; }
  #site-links nav .current { background: #3b3029; color: #ffd0a3; }
  #site-links .account { justify-self: end; gap: 6px; }
}
.management .admin-tabs {
  display: inline-flex; max-width: 100%; gap: 3px; padding: 3px; margin: 15px 0 18px;
  border: 1px solid #344448; border-radius: 10px; background: #0d1518; vertical-align: middle;
}
.management .admin-tabs button {
  display: inline-flex; flex: none; align-items: center; gap: 7px; justify-content: center; min-height: 38px;
  padding: 0 13px; border: 0; border-radius: 6px; color: #bccaca; font-size: 14px; background: transparent;
}
.management .admin-tabs button:hover { color: #f2faf8; background: #1b292d; }
.management .admin-tabs button.selected { color: #d6fff5; background: #263c3d; }
.management .admin-tabs small { margin: 0; padding: 2px 5px; border-radius: 4px; background: #1d2a2e; color: #b8caca; font-variant-numeric: tabular-nums; }
.management .admin-tabs .selected small { color: #b8eadf; background: #354f50; }
:is(#site-links, .management .admin-tabs) button:focus-visible { outline: 2px solid #f2bb8f; outline-offset: -2px; }
@media (max-width: 650px) {
  .management .admin-tabs { margin: 10px 0 14px; }
  .management .admin-tabs button { gap: 3px; padding: 0 6px; font-size: 12px; min-height: 40px; }
}
