@font-face {
  font-family: Manrope;
  src: url("/fonts/manrope-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("/fonts/manrope-semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("/fonts/manrope-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
}
@font-face {
  font-family: Space;
  src: url("/fonts/space-grotesk.ttf") format("truetype");
  font-weight: 500 700;
  font-display: swap;
}
:root {
  --bg: #0b101b;
  --sidebar: #0e1420;
  --surface: #111925;
  --surface-2: #151e2c;
  --line: #202b3a;
  --muted: #7e8ba0;
  --subtle: #526078;
  --text: #e9edf3;
  --mint: #8ce6cd;
  --amber: #eebd7d;
  --purple: #b9a9f2;
  font-family: Manrope, Arial, sans-serif;
  font-size: 13px;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
  background: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition:
    background 0.18s,
    color 0.18s,
    border-color 0.18s;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 4px;
}
a {
  color: inherit;
  text-decoration: none;
}
button:hover:not(:disabled) {
  color: #fff;
}
h1,
h2,
h3,
p {
  margin: 0;
}
button .icon {
  flex-shrink: 0;
}
.icon {
  width: 19px;
  height: 19px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.muted {
  color: var(--muted) !important;
}
.mint {
  color: var(--mint) !important;
}
.amber {
  color: var(--amber) !important;
}
.mono,
.eyebrow,
.side-label,
.coordinate,
.section-heading,
.scene-corner,
.live-label {
  font-family: Space, Manrope, monospace;
}
.workspace {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 232px;
  flex-shrink: 0;
  background: var(--sidebar);
  border-right: 1px solid var(--line);
  padding: 31px 18px 0;
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  color: var(--mint);
  width: max-content;
}
.brand > .icon {
  width: 36px;
  height: 36px;
  stroke-width: 1.2;
}
.brand > span {
  font-family: Space, sans-serif;
  color: #f0f5f8;
  font-size: 28px;
  letter-spacing: 5px;
  font-weight: 700;
  line-height: 1;
}
.brand small {
  display: block;
  font-family: Manrope;
  font-size: 7px;
  letter-spacing: 2.15px;
  color: #788b9f;
  margin-top: 7px;
}
.workspace-switch {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 16px 9px;
  margin: 28px 0 29px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #141c29;
}
.workspace-avatar {
  width: 32px;
  height: 33px;
  border: 1px solid #374d55;
  background: #223c3c;
  color: #bce8d7;
  border-radius: 7px;
  text-align: center;
  line-height: 31px;
  position: relative;
  font-family: Space;
  font-size: 15px;
}
.workspace-avatar span {
  width: 6px;
  height: 6px;
  background: var(--mint);
  position: absolute;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #141c29;
}
.workspace-switch strong {
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.workspace-switch small {
  display: block;
  color: var(--muted);
  font-size: 8px;
  margin-top: 4px;
}
.workspace-switch > .icon {
  width: 12px;
  margin-left: auto;
  color: #718094;
}
.side-label {
  font-size: 9px;
  letter-spacing: 1.6px;
  color: #67758b;
  padding: 0 12px;
  margin-bottom: 13px;
}
.main-nav {
  display: grid;
  gap: 5px;
}
.main-nav > button {
  height: 43px;
  justify-content: start;
  text-align: left;
  padding: 0 13px;
  border-radius: 7px;
  color: #9aa7b8;
  font-size: 11px;
  gap: 12px;
}
.main-nav > button.active {
  background: linear-gradient(90deg, #213b3b, #172b30);
  color: var(--mint);
  box-shadow: inset 2px 0 0 var(--mint);
}
.main-nav > button:hover {
  background: #1c2635;
}
.main-nav .icon {
  width: 17px;
}
.nav-shortcut {
  margin-left: auto;
  color: #719b91;
  font-size: 10px;
  font-family: Space;
}
.count {
  margin-left: auto;
  border: 1px solid #2b3647;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 9px;
  color: #a0adbd;
}
.project-label {
  margin-top: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}
.tiny-button {
  padding: 0;
  color: var(--muted);
}
.tiny-button .icon {
  width: 15px;
  height: 15px;
}
.project-nav {
  display: grid;
  gap: 6px;
  max-height: 31vh;
  overflow-y: auto;
  scrollbar-width: thin;
}
.project-nav > button {
  height: 37px;
  justify-content: start;
  padding: 0 12px;
  text-align: left;
  gap: 10px;
  color: #a4b0bf;
  font-size: 11px;
  border-radius: 6px;
}
.project-nav > button > span:nth-child(2) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.project-nav > button:hover,
.project-nav > button.active {
  background: #1c2635;
  color: #e8edf4;
}
.project-mini {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 23px;
  height: 23px;
  border-radius: 5px;
  background: color-mix(in srgb, var(--project-color) 10%, transparent);
  color: var(--project-color);
}
.project-mini .icon {
  width: 14px;
  height: 14px;
}
.project-status {
  display: block;
  border-radius: 50%;
  height: 5px;
  width: 5px;
  background: #4c5b70;
  margin-left: auto;
  flex-shrink: 0;
}
.project-status.working {
  background: var(--mint);
}
.project-status.needs_input {
  background: var(--amber);
}
.project-status.review {
  background: var(--purple);
}
.project-status.error {
  background: #ed8a91;
}
.add-project {
  justify-content: start;
  color: #68788d;
  font-size: 10px;
  padding: 14px 12px;
  gap: 11px;
}
.add-project .icon {
  width: 15px;
}
.side-bottom {
  margin-top: auto;
  padding-top: 25px;
}
.connection-card {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 13px 12px;
  background: #111a27;
}
.connection-card > div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.connection-card .icon {
  width: 16px;
  color: #8b9daf;
}
.connection-card strong {
  font-size: 9px;
  font-weight: 500;
}
.connection-dot {
  display: block;
  background: #e8ad78;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  margin-left: auto;
}
.connection-dot.online {
  background: var(--mint);
  box-shadow: 0 0 8px #8ce6cd40;
}
.connection-card small {
  display: block;
  color: #677b8d;
  font-size: 8px;
  margin: 7px 0 0 24px;
}
.settings-button {
  width: 100%;
  justify-content: start;
  gap: 10px;
  color: #99a7b9;
  font-size: 10px;
  padding: 21px 10px;
}
.settings-button > .icon {
  width: 16px;
}
.settings-button > .icon:last-child {
  width: 12px;
  margin-left: auto;
  color: #57657b;
}
.profile {
  border-top: 1px solid var(--line);
  width: 100%;
  justify-content: start;
  padding: 17px 8px;
  gap: 10px;
}
.profile-avatar,
.top-avatar {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, #b9b2a4, #626d69);
  color: #111c22;
  font-family: Space;
  font-size: 14px;
}
.profile strong {
  display: block;
  text-align: left;
  font-size: 10px;
  font-weight: 600;
}
.profile small {
  display: block;
  font-size: 8px;
  color: var(--muted);
  text-align: left;
  margin-top: 3px;
}
.profile > .icon {
  margin-left: auto;
  color: #6a7c90;
  width: 13px;
}
.main {
  margin-left: 232px;
  width: calc(100% - 232px);
  min-width: 0;
}
.topbar {
  height: 72px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 31px;
  background: #0d131f;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 10px;
  color: #7f8fa3;
}
.breadcrumb-icon .icon {
  width: 17px;
}
.breadcrumb > .icon {
  width: 12px;
  color: #48596f;
}
.breadcrumb strong {
  font-size: 10px;
  color: #b5c0ce;
  font-weight: 500;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.private-badge {
  font-size: 9px;
  color: #9ca9b9;
  display: flex;
  align-items: center;
  gap: 5px;
}
.private-badge .icon {
  width: 12px;
  height: 12px;
}
.top-separator {
  height: 15px;
  width: 1px;
  background: var(--line);
}
#utc-clock {
  font-size: 12px;
  color: #b3bfce;
  letter-spacing: 0.5px;
}
#utc-clock small {
  font-size: 8px;
  color: #53637a;
  margin-left: 3px;
}
.help-button {
  border: 1px solid #48556b;
  border-radius: 50%;
  width: 17px;
  height: 17px;
  color: #91a0b3;
  font-size: 10px;
  padding: 0;
}
.top-avatar {
  width: 28px;
  height: 28px;
  font-size: 12px;
}
.main-body {
  padding: 31px 31px 0;
  max-width: 2100px;
  margin: auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 27px;
}
.eyebrow {
  display: block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1.7px;
  color: #8291a7;
}
.eyebrow > span {
  color: #3c4c63;
  padding: 0 5px;
}
h1 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -1.1px;
  line-height: 1.4;
  margin-top: 9px;
}
.heading-star {
  font-size: 21px;
  color: #8ce6cd;
  display: inline-block;
  margin-left: 11px;
  vertical-align: top;
  margin-top: 3px;
}
.page-heading p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}
.primary {
  border-radius: 6px;
  background: var(--mint);
  color: #152e2d;
  padding: 11px 17px;
  font-weight: 700;
  font-size: 10px;
  border: 1px solid var(--mint);
  height: 39px;
}
.primary:hover:not(:disabled) {
  background: #acffe6;
  color: #0a2824;
}
.primary .icon {
  width: 16px;
  height: 16px;
}
.secondary {
  background: #192331;
  border: 1px solid #2d3a4d;
  color: #bcc8d6;
  font-size: 10px;
  border-radius: 6px;
  padding: 11px 15px;
  min-height: 38px;
}
.secondary:hover:not(:disabled) {
  background: #233242;
  border-color: #466172;
}
.secondary .icon {
  width: 15px;
}
.full {
  width: 100%;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
}
.view-tabs {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 25px;
}
.view-tabs button {
  height: 100%;
  position: relative;
  color: #7e8ba1;
  font-size: 10px;
  padding: 0 0 12px;
  gap: 8px;
}
.view-tabs .icon {
  width: 15px;
  height: 15px;
}
.view-tabs .active {
  color: var(--mint);
}
.view-tabs .active:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--mint);
}
.toolbar-right {
  display: flex;
  gap: 18px;
  padding-bottom: 12px;
}
.subtle-button {
  font-size: 9px;
  color: #8493a7;
  padding: 0;
}
.subtle-button .icon {
  width: 14px;
  height: 14px;
}
.subtle-button.enabled {
  color: var(--mint);
}
.content-area {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 284px;
  min-height: 570px;
  height: calc(100vh - 377px);
  max-height: 850px;
  border-bottom: 1px solid var(--line);
}
.universe {
  position: relative;
  overflow: hidden;
  min-height: 530px;
  background: radial-gradient(ellipse at 50% 57%, #15222e85 0, transparent 65%);
  border-right: 1px solid var(--line);
}
.universe:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 80px 20px #0b101b66;
}
.space-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.23;
  background-image: radial-gradient(circle, #8b9aaf 1px, transparent 1px);
  background-size: 39px 39px;
  mask-image: radial-gradient(ellipse at center, #000, transparent 78%);
}
.space-grid:before {
  content: "";
  position: absolute;
  inset: 13% -20% -40%;
  border-radius: 50%;
  border: 1px solid #65718740;
  transform: scaleY(0.55);
  box-shadow:
    0 0 0 70px #67748806,
    0 0 0 71px #67748812,
    0 0 0 150px #67748805,
    0 0 0 151px #67748810;
}
.coordinate {
  position: absolute;
  top: 22px;
  left: 23px;
  z-index: 2;
  display: flex;
  gap: 17px;
  color: #718399;
  font-size: 8px;
  letter-spacing: 1px;
}
.coordinate span {
  color: #3c4c61;
}
.scene-summary {
  display: flex;
  position: absolute;
  top: 51px;
  left: 23px;
  z-index: 2;
  gap: 24px;
  pointer-events: none;
}
.scene-summary > div {
  display: flex;
  align-items: center;
  gap: 7px;
}
.scene-summary strong {
  font-family: Space;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -1px;
  color: #c4cdda;
}
.scene-summary span {
  color: #718299;
  font-size: 8px;
  max-width: 62px;
  line-height: 1.5;
}
.scene-corner {
  position: absolute;
  right: 20px;
  top: 24px;
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 10px;
  font-size: 7px;
  letter-spacing: 0.9px;
  color: #53657b;
  pointer-events: none;
  z-index: 2;
}
.live-label {
  color: #85b9ac;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 7px;
}
.live-label > i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--mint);
}
#scene-container {
  position: absolute;
  inset: 48px -25px 45px;
  z-index: 1;
}
#scene-container canvas {
  width: 100%;
  height: 100%;
  touch-action: none;
}
.scene-bottom {
  position: absolute;
  bottom: 51px;
  left: 22px;
  right: 21px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 3;
  pointer-events: none;
}
.scene-hint {
  display: flex;
  gap: 9px;
  color: #91a2b6;
  font-size: 8px;
  align-items: center;
  line-height: 1.6;
}
.scene-hint > .icon {
  width: 20px;
  height: 20px;
  color: #5e768c;
}
.scene-hint small {
  display: block;
  color: #4c6178;
  font-size: 7px;
}
.camera-controls {
  display: flex;
  align-items: center;
  border: 1px solid #29394d;
  background: #131c29d9;
  border-radius: 7px;
  height: 33px;
  padding: 0 3px;
  pointer-events: auto;
}
.camera-controls button {
  width: 27px;
  padding: 5px;
  color: #91a1b4;
}
.camera-controls button:hover {
  background: #2a3a4d;
}
.camera-controls .icon {
  width: 13px;
  height: 13px;
}
.camera-controls span {
  font-size: 8px;
  color: #8797ac;
  min-width: 28px;
  text-align: center;
  font-family: Space;
}
.camera-controls span:empty {
  width: 1px;
  min-width: 1px;
  height: 13px;
  background: #2c3a4d;
  margin: 0 3px;
}
.scene-legend {
  position: absolute;
  bottom: 18px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 3;
  color: #63778d;
  font-size: 7px;
  pointer-events: none;
}
.scene-legend > span {
  display: flex;
  gap: 5px;
  align-items: center;
}
.scene-legend i {
  width: 4px;
  height: 4px;
  background: var(--dot);
  border-radius: 50%;
}
.details-panel {
  padding: 22px 22px 17px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #334357 transparent;
  background: linear-gradient(180deg, #101723, #0f1721);
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 17px;
}
.panel-heading > .icon {
  width: 16px;
  height: 16px;
  color: #61788d;
}
.panel-heading .eyebrow {
  font-size: 8px;
  letter-spacing: 1.3px;
  color: #6f8297;
}
.command-icon {
  height: 74px;
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 19px;
}
.command-icon > .icon {
  width: 52px;
  height: 52px;
  color: var(--mint);
  stroke-width: 1;
}
.command-icon span {
  width: 53px;
  height: 53px;
  border-radius: 50%;
  background: #89e5cc;
  filter: blur(32px);
  position: absolute;
  opacity: 0.1;
  left: 0;
  top: 15px;
}
.details-panel h2 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.4;
  margin-top: 10px;
  overflow-wrap: anywhere;
}
.panel-description {
  font-size: 10px;
  color: #8191a5;
  line-height: 1.9;
  margin-top: 8px;
}
.panel-rule {
  border-bottom: 1px solid var(--line);
  margin: 23px 0;
}
.section-heading {
  color: #788ba2;
  letter-spacing: 1px;
  font-size: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 17px;
}
.section-heading > span {
  font-family: Space;
  font-size: 9px;
  color: #5c7087;
}
.host-list {
  display: grid;
  gap: 18px;
}
.host-row {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.host-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 29px;
  width: 29px;
  border-radius: 6px;
  background: #172231;
  border: 1px solid #233043;
  color: #8fa4b8;
}
.host-icon > .icon {
  width: 16px;
  height: 16px;
}
.host-row strong {
  font-size: 10px;
  display: block;
  color: #c5ceda;
  font-weight: 500;
}
.host-row small {
  font-size: 8px;
  display: block;
  margin-top: 4px;
  color: #5f738a;
}
.host-row > i {
  display: block;
  width: 5px;
  height: 5px;
  background: #526174;
  border-radius: 50%;
  margin-left: auto;
}
.host-row > i.online {
  background: var(--mint);
  box-shadow: 0 0 7px #8ce6cd40;
}
.overview-row {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  margin-bottom: 14px;
  color: #6f8299;
}
.overview-row strong {
  font-size: 9px;
  font-weight: 500;
  color: #b9c5d2;
}
.context-note {
  display: flex;
  align-items: start;
  gap: 9px;
  background: #15232980;
  border: 1px solid #273b3c;
  border-radius: 6px;
  padding: 12px 10px;
  font-size: 9px;
  line-height: 1.8;
  color: #7d9c9c;
  margin-top: 22px;
}
.context-note .icon {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  color: #749e96;
}
.panel-connect {
  font-size: 9px;
  justify-content: space-between;
  padding: 17px 0 1px;
  width: 100%;
  color: #98b5b2;
}
.panel-connect > .icon {
  width: 14px;
}
.activity-strip {
  margin-top: 20px;
}
.strip-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6d849b;
}
.strip-heading > .icon {
  width: 15px;
  height: 15px;
}
.strip-heading > strong {
  font-weight: 500;
  font-size: 10px;
  color: #b3c1d0;
}
.strip-heading > button {
  margin-left: auto;
  font-size: 9px;
  color: #7b91a5;
  gap: 5px;
}
.strip-heading > button > .icon {
  width: 13px;
}
#activity-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  padding: 13px 0 6px;
}
.event-row {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 12px 0;
  min-width: 0;
}
.event-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: #1e343444;
  color: #8cbaa9;
  border: 1px solid #25453d55;
  flex-shrink: 0;
}
.event-icon .icon {
  width: 14px;
  height: 14px;
}
.event-row > div {
  min-width: 0;
}
.event-row strong {
  display: block;
  font-size: 9px;
  font-weight: 500;
  color: #abbacb;
  line-height: 1.7;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.event-row small {
  display: block;
  color: #536b84;
  font-size: 8px;
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.event-row time {
  color: #61778f;
  margin-left: auto;
  font-size: 8px;
  font-family: Space;
  flex-shrink: 0;
}
.app-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding: 15px 0 17px;
  margin-top: 13px;
  font-size: 8px;
  color: #576e85;
}
.app-footer > span:first-child {
  display: flex;
  gap: 6px;
  align-items: center;
}
.app-footer i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--amber);
}
.app-footer i.online {
  background: var(--mint);
}
.app-footer > span:last-child {
  font-family: Space;
  letter-spacing: 1px;
  color: #75899c;
}
.app-footer b {
  font-weight: 400;
  color: var(--mint);
  margin-left: 3px;
}
.footer-version {
  color: #40576e;
  letter-spacing: 0;
}
.icon-button {
  width: 25px;
  height: 25px;
  padding: 4px;
  color: #8394a8;
}
.icon-button .icon {
  width: 15px;
}
.icon-button:hover {
  background: #243246;
  border-radius: 5px;
}
.mobile-menu {
  display: none;
}
.demo-banner {
  padding: 11px 15px;
  border: 1px solid #655032;
  background: #2b251b;
  color: #dfbc82;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.demo-banner > .icon {
  width: 15px;
  height: 15px;
}
.demo-banner button {
  margin-left: auto;
  color: #f5d8a7;
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.demo-badge {
  font-size: 7px;
  font-weight: 500;
  background: #4d3c25;
  color: #e0bc80;
  border: 1px solid #6b5435;
  display: inline-flex;
  align-items: center;
  padding: 2px 5px;
  border-radius: 3px;
  letter-spacing: 0.7px;
  line-height: 1.3;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  color: #93a3b8;
  white-space: nowrap;
}
.status i {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: currentColor;
}
.status.working {
  color: var(--mint);
}
.status.review {
  color: var(--purple);
}
.status.needs_input {
  color: var(--amber);
}
.status.error {
  color: #ef929a;
}
.status.queued {
  color: #a6b7ce;
}
.status.completed {
  color: var(--mint);
}
.source-badge {
  padding: 4px 6px;
  color: #7f92a9;
  border: 1px solid #2c3a4b;
  border-radius: 4px;
  font-size: 7px;
  line-height: 1.5;
}
.project-emblem {
  width: 51px;
  height: 51px;
  position: relative;
  background: color-mix(in srgb, var(--project-color) 9%, transparent);
  color: var(--project-color);
  border: 1px solid color-mix(in srgb, var(--project-color) 24%, transparent);
  border-radius: 12px;
  margin: 26px 0 19px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-emblem > .icon {
  width: 27px;
  height: 27px;
  stroke-width: 1;
}
.project-title-line {
  display: flex;
  align-items: center;
  gap: 8px;
}
.project-title-line h2 {
  margin: 0;
  font-size: 20px;
}
.project-state-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 17px;
  gap: 4px;
}
.detail-meta {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.detail-meta > span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #71869d;
  font-size: 9px;
}
.detail-meta > .icon,
.detail-meta .icon {
  width: 13px;
  height: 13px;
  color: #576e86;
}
.stale-warning {
  font-size: 8px;
  color: #d0ad79;
  line-height: 1.8;
  background: #4233233d;
  border: 1px solid #59473263;
  padding: 8px;
  margin-top: 13px;
  border-radius: 5px;
}
.detail-tabs {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  margin: 26px 0 18px;
}
.detail-tabs button {
  font-size: 9px;
  padding: 0 0 12px;
  color: #7a8ba1;
  position: relative;
  gap: 5px;
}
.detail-tabs button.active {
  color: var(--mint);
}
.detail-tabs button.active:after {
  content: "";
  height: 2px;
  background: var(--mint);
  bottom: -1px;
  position: absolute;
  left: 0;
  right: 0;
}
.detail-tabs small {
  font-family: Space;
  font-size: 8px;
  background: #233e3c;
  color: #a2d4c3;
  padding: 1px 4px;
  border-radius: 3px;
}
.agent-card {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 9px;
  padding: 12px 9px;
  margin-bottom: 9px;
  width: 100%;
  background: #17212e;
  border: 1px solid #263548;
  border-radius: 7px;
  text-align: left;
}
.agent-card:hover {
  background: #203144;
  border-color: #4e6c7d;
}
.agent-avatar {
  width: 31px;
  height: 34px;
  position: relative;
  border: 1px solid #324253;
  border-radius: 7px;
  background: color-mix(in srgb, var(--project-color) 12%, #152433);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--project-color);
  flex-shrink: 0;
}
.agent-avatar .icon {
  width: 18px;
  height: 18px;
}
.agent-avatar i {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8e9caa;
  border: 1px solid #101c2b;
}
.agent-avatar i.working {
  background: var(--mint);
}
.agent-card-info {
  min-width: 0;
  flex: 1;
}
.agent-card-info strong {
  font-size: 10px;
  display: block;
  font-weight: 600;
  color: #c8d5e2;
}
.agent-card-info small {
  font-size: 8px;
  display: block;
  color: #6c839b;
  margin-top: 3px;
}
.agent-task {
  font-size: 8px;
  color: #829bb1;
  line-height: 1.6;
  margin-top: 8px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  white-space: nowrap;
}
.agent-card > .icon {
  width: 12px;
  color: #6f839c;
}
.source-note {
  font-size: 8px;
  line-height: 1.8;
  color: #668099;
  display: flex;
  gap: 7px;
  margin: 22px 0 15px;
}
.source-note .icon {
  width: 13px;
  height: 13px;
  margin-top: 2px;
}
.agent-facts {
  margin: 0;
}
.agent-facts dt {
  font-size: 8px;
  color: #627b94;
  margin-top: 17px;
  margin-bottom: 6px;
}
.agent-facts dd {
  font-size: 11px;
  line-height: 1.8;
  color: #b5c5d7;
  margin: 0;
  overflow-wrap: anywhere;
}
.agent-facts ~ .primary {
  margin-top: 17px;
}
.task-row {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  margin-bottom: 8px;
}
.task-row strong {
  display: block;
  margin: 9px 0;
  color: #b6c8d7;
  font-size: 10px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.task-row small {
  font-size: 8px;
  color: #658099;
}
.result-row {
  display: flex;
  gap: 9px;
  padding: 12px 0;
}
.result-row > .icon {
  color: var(--mint);
  width: 14px;
  height: 14px;
}
.result-row strong {
  font-size: 10px;
  line-height: 1.6;
}
.result-row p {
  font-size: 9px;
  color: #7b95ac;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.result-row small {
  font-size: 8px;
  color: #647b94;
}
.empty-state {
  padding: 25px 10px;
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  color: #6c859e;
}
.empty-state > .icon {
  width: 26px;
  height: 26px;
  margin-bottom: 13px;
  stroke-width: 1;
  color: #53708b;
}
.empty-state strong {
  font-size: 11px;
  font-weight: 500;
  color: #9fb2c7;
}
.empty-state p {
  font-size: 9px;
  line-height: 1.9;
  margin-top: 7px;
  max-width: 250px;
}
.alternative-view {
  padding: 25px 25px 20px 0;
  overflow: auto;
  scrollbar-width: thin;
  border-right: 1px solid var(--line);
}
.list-heading {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  padding: 6px 15px 17px;
  color: #617892;
  font-family: Space;
  font-size: 8px;
  letter-spacing: 1px;
}
.project-list-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 12px;
  width: 100%;
  text-align: left;
  padding: 22px 15px;
  border: 1px solid var(--line);
  border-radius: 7px;
  margin-bottom: 10px;
  background: #101a28;
}
.project-list-row:hover {
  background: #172536;
  border-color: #335367;
}
.project-list-row > span:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
}
.project-list-row .project-mini {
  width: 32px;
  height: 32px;
}
.project-list-row .project-mini .icon {
  width: 19px;
  height: 19px;
}
.project-list-row strong {
  display: block;
  font-size: 11px;
  color: #cad6e3;
  font-weight: 500;
}
.project-list-row small {
  display: block;
  font-size: 8px;
  color: #7089a2;
  margin-top: 6px;
}
.project-list-row > .icon {
  width: 12px;
  color: #627d97;
}
.alt-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 23px;
}
.alt-title h2 {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.5px;
}
.alternative-view > .event-row {
  border-bottom: 1px solid #1c2b3d;
  padding: 18px 3px;
}
.alternative-view .event-row strong {
  white-space: normal;
}
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.team-project {
  background: #101925;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}
.team-project .section-heading {
  font-size: 9px;
  letter-spacing: 0.3px;
}
.connection-map {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.connection-map > .host-row {
  border: 1px solid var(--line);
  padding: 17px 13px;
  border-radius: 7px;
  background: #121e2a;
}
.integration-explainer {
  margin-top: 35px;
  background: linear-gradient(135deg, #18323540, transparent);
  padding: 25px 23px;
  border: 1px solid #273d45;
  border-radius: 9px;
}
.integration-explainer h2 {
  font-weight: 500;
  font-size: 19px;
  line-height: 1.7;
  margin: 13px 0;
}
.integration-explainer p {
  font-size: 11px;
  line-height: 2;
  color: #8ba2b7;
  max-width: 450px;
}
.flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 25px 0;
}
.flow > span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  color: #a5c4c8;
}
.flow > span > .icon {
  width: 19px;
  height: 19px;
  color: #7cd5c1;
}
.flow > .icon {
  width: 16px;
  height: 16px;
  color: #59728a;
}
.integration-explainer > .secondary {
  margin-top: 20px;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  background: #050b14b3;
  backdrop-filter: blur(9px);
  z-index: 100;
}
.modal {
  width: 460px;
  max-width: 100%;
  max-height: 90vh;
  overflow: auto;
  background: linear-gradient(145deg, #172332, #101924);
  border: 1px solid #33495c;
  border-radius: 15px;
  padding: 27px;
  box-shadow: 0 25px 120px #0009;
  scrollbar-width: thin;
}
.modal.wide {
  width: 550px;
}
.modal-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.modal-heading h2 {
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.6px;
}
.modal-intro {
  font-size: 11px;
  line-height: 1.9;
  color: #94a9bc;
  margin-bottom: 23px;
}
.modal label,
.login-card label {
  display: block;
  font-size: 10px;
  color: #a8bbca;
  margin-bottom: 18px;
}
input:not([type="radio"]):not([type="checkbox"]),
textarea,
select {
  display: block;
  width: 100%;
  padding: 11px 13px;
  background: #0d1723;
  border: 1px solid #2b4054;
  border-radius: 6px;
  color: #dfedf5;
  outline: none;
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.6;
  transition: border 0.2s;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #70b9ad !important;
  box-shadow: 0 0 0 2px #89e5cc0f;
}
input::placeholder,
textarea::placeholder {
  color: #4f6980;
}
textarea {
  resize: vertical;
  min-height: 80px;
}
select {
  cursor: pointer;
}
.color-options {
  display: flex;
  gap: 13px;
  margin-top: 13px;
}
.color-options label {
  margin: 0 !important;
  position: relative;
}
.color-options input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.color-options span {
  width: 27px;
  height: 27px;
  background: var(--swatch);
  border-radius: 50%;
  display: block;
  border: 5px solid #172332;
  box-shadow: 0 0 0 1px transparent;
}
.color-options input:checked + span {
  box-shadow: 0 0 0 1px var(--swatch);
}
.color-options input:focus-visible + span {
  outline: 2px solid white;
  outline-offset: 4px;
}
.form-error {
  color: #f69e9e;
  font-size: 10px;
  line-height: 1.8;
  margin-bottom: 12px;
}
.help-rows {
  display: grid;
  gap: 25px;
  margin: 28px 0;
}
.help-rows > div {
  display: flex;
  align-items: center;
  gap: 16px;
}
.help-rows > div > .icon {
  width: 26px;
  height: 26px;
  color: var(--mint);
  stroke-width: 1;
}
.help-rows strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #c2d6e3;
}
.help-rows small {
  display: block;
  color: #7b97ae;
  font-size: 10px;
  line-height: 1.7;
  margin-top: 5px;
}
.integration-badge {
  color: var(--mint);
  display: flex;
  align-items: center;
  gap: 9px;
  background: #1f393b66;
  padding: 12px;
  border-radius: 7px;
  margin-bottom: 19px;
}
.setup-steps {
  padding-left: 20px;
  margin: 25px 0;
  color: #bdd3df;
}
.setup-steps li {
  padding-left: 5px;
  margin-bottom: 22px;
  font-size: 11px;
}
.setup-steps p {
  font-size: 10px;
  color: #819db3;
  margin: 7px 0;
  line-height: 1.9;
}
code {
  font-family: monospace;
  font-size: 0.95em;
  color: #a7cabb;
  background: #0b172280;
  border: 1px solid #29413e55;
  border-radius: 3px;
  padding: 2px 4px;
}
.form-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.agent-checks {
  max-height: 200px;
  overflow: auto;
  padding: 0 0 5px;
}
.agent-checks > label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid #2b4052;
  border-radius: 5px;
  margin-bottom: 8px;
  background: #0f1c29;
}
.agent-checks input {
  accent-color: var(--mint);
}
.agent-checks strong {
  font-size: 11px;
  font-weight: 500;
}
.agent-checks small {
  display: block;
  font-size: 9px;
  color: #6e8a9f;
  margin-top: 4px;
}
.modal form > .context-note {
  margin: 5px 0 19px;
}
.access-list {
  margin-bottom: 24px;
}
.access-row {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #223447;
}
.access-row > span:nth-child(2) {
  flex: 1;
}
.access-row strong {
  font-size: 11px;
  display: block;
  font-weight: 500;
}
.access-row small {
  display: block;
  font-size: 9px;
  color: #7e97aa;
  margin-top: 5px;
}
.access-row > .icon {
  width: 18px;
  color: #83bfae;
}
.text-danger {
  font-size: 9px;
  color: #df9396;
}
.profile-summary {
  text-align: center;
  padding: 20px 10px 35px;
}
.profile-summary > .icon {
  color: var(--mint);
  width: 42px;
  height: 42px;
  stroke-width: 1;
}
.profile-summary h3 {
  font-size: 20px;
  font-weight: 500;
  margin: 20px 0 10px;
}
.profile-summary p {
  font-size: 11px;
  line-height: 1.9;
  color: #8aa4b8;
}
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 20px);
  padding: 15px 23px;
  border: 1px solid #3c625e;
  background: #182b31;
  color: #d5e9e6;
  border-radius: 9px;
  z-index: 200;
  font-size: 12px;
  box-shadow: 0 10px 40px #0005;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s;
  max-width: 90vw;
  text-align: center;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
[hidden] {
  display: none !important;
}
.login-shell {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at 22% 55%,
      #17343788 0,
      #101c2c70 25%,
      transparent 60%
    ),
    #0b111d;
}
.login-brand {
  position: absolute;
  left: 50px;
  top: 39px;
  z-index: 2;
}
.login-card {
  position: relative;
  margin: 130px 0 120px 36%;
  width: 390px;
  z-index: 2;
}
.login-card > .eyebrow {
  color: #84cbb8;
  font-size: 9px;
  letter-spacing: 2px;
}
.login-card h1 {
  font-size: 39px;
  line-height: 1.4;
  margin: 18px 0 16px;
  letter-spacing: -1.6px;
}
.login-card > p {
  color: #849bb0;
  font-size: 12px;
  line-height: 2;
}
.login-divider {
  height: 1px;
  background: linear-gradient(90deg, #324655, transparent);
  margin: 30px 0 23px;
}
.secure-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #b4c7d6;
  font-size: 11px;
  margin-bottom: 20px;
}
.secure-label .icon {
  width: 16px;
  height: 16px;
  color: #8ce6cd;
}
.login-tabs {
  display: flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid #253b4d;
  background: #0b1522;
  border-radius: 7px;
  margin-bottom: 24px;
}
.login-tabs > button {
  flex: 1;
  padding: 9px 6px;
  font-size: 10px;
  color: #668198;
  border-radius: 4px;
}
.login-tabs .icon {
  width: 13px;
  height: 13px;
}
.login-tabs > button.active {
  background: #1c343b;
  color: #a4dece;
}
.login-card .primary {
  height: 43px;
  margin-top: 3px;
}
.login-card .login-note {
  font-size: 9px;
  line-height: 1.9;
  margin-top: 18px;
  color: #5f7a90;
}
.login-footer {
  position: absolute;
  bottom: 28px;
  left: 50px;
  right: 50px;
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 1.7px;
  color: #4d667d;
}
.login-footer > span:last-child {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  letter-spacing: 0;
}
.login-footer .icon {
  width: 12px;
  height: 12px;
}
.login-orbit {
  position: absolute;
  left: -70px;
  top: 50%;
  width: 58vw;
  height: 58vw;
  transform: translateY(-50%);
  pointer-events: none;
}
.orbit-ring {
  position: absolute;
  inset: 15%;
  border: 1px solid #67bca82a;
  border-radius: 50%;
  transform: rotate(-35deg) scaleY(0.5);
  box-shadow: 0 0 50px #75dfc708;
}
.ring-two {
  inset: 6%;
  transform: rotate(-35deg) scaleY(0.5);
}
.ring-three {
  inset: 24%;
  transform: rotate(-35deg) scaleY(0.5);
}
.login-planet {
  position: absolute;
  inset: 35%;
  background: radial-gradient(
    circle at 35% 28%,
    #8cd6c155,
    #183a41 45%,
    #0a1422 78%
  );
  border: 1px solid #73c8b742;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    -20px -15px 90px #74d9bd0c,
    inset -15px -15px 40px #080f1c;
}
.login-planet > .icon {
  width: 50%;
  height: 50%;
  stroke-width: 0.5;
  color: #80d8c399;
}
.orbital-dot {
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #adcdbf;
  box-shadow: 0 0 30px #b4e6cd22;
}
.dot-one {
  left: 18%;
  top: 58%;
  width: 26px;
  height: 26px;
  background: linear-gradient(120deg, #e8c79a, #4a5254 90%);
}
.dot-two {
  right: 16%;
  top: 28%;
  width: 16px;
  height: 16px;
  background: linear-gradient(120deg, #b3d4e5, #334355);
}
@media (min-width: 1600px) {
  .sidebar {
    width: 252px;
    padding-left: 22px;
    padding-right: 22px;
  }
  .main {
    margin-left: 252px;
    width: calc(100% - 252px);
  }
  .main-body {
    padding: 35px 38px 0;
  }
  .topbar {
    padding: 0 38px;
  }
  .content-area {
    grid-template-columns: minmax(0, 1fr) 310px;
    height: calc(100vh - 385px);
    min-height: 610px;
  }
  .details-panel {
    padding: 25px 26px;
  }
  .scene-summary {
    gap: 30px;
  }
  .scene-summary strong {
    font-size: 23px;
  }
  .scene-summary span {
    font-size: 9px;
  }
  .host-list {
    gap: 22px;
  }
  .host-row strong {
    font-size: 11px;
  }
  .panel-description {
    font-size: 11px;
  }
  .overview-row {
    font-size: 10px;
  }
  .overview-row strong {
    font-size: 10px;
  }
  .panel-rule {
    margin: 26px 0;
  }
  .command-icon {
    margin-top: 24px;
  }
  .details-panel h2 {
    font-size: 20px;
  }
  .main-nav > button,
  .project-nav > button {
    font-size: 12px;
  }
  .workspace-switch strong {
    font-size: 11px;
  }
}
@media (max-width: 1250px) {
  .sidebar {
    width: 202px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .main {
    margin-left: 202px;
    width: calc(100% - 202px);
  }
  .brand {
    gap: 9px;
  }
  .brand > span {
    font-size: 24px;
  }
  .brand > .icon {
    width: 30px;
  }
  .brand small {
    font-size: 6px;
  }
  .main-body {
    padding: 25px 22px 0;
  }
  .topbar {
    padding: 0 22px;
  }
  .content-area {
    grid-template-columns: minmax(0, 1fr) 255px;
    min-height: 550px;
  }
  .details-panel {
    padding: 20px 17px;
  }
  .scene-hint {
    display: none;
  }
  .scene-bottom {
    justify-content: end;
  }
  .scene-summary {
    gap: 15px;
    left: 15px;
  }
  .scene-summary strong {
    font-size: 17px;
  }
  .scene-summary span {
    font-size: 7px;
  }
  .scene-corner {
    display: none;
  }
  .scene-legend {
    gap: 10px;
    left: 15px;
    font-size: 6px;
  }
  .host-list {
    gap: 16px;
  }
  .top-actions {
    gap: 15px;
  }
  .connection-card {
    padding: 12px 8px;
  }
  .connection-card strong {
    font-size: 8px;
  }
  .settings-button {
    font-size: 9px;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1000px) {
  .sidebar {
    width: 188px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .main {
    margin-left: 188px;
    width: calc(100% - 188px);
  }
  .content-area {
    grid-template-columns: minmax(0, 1fr) 228px;
    height: 620px;
  }
  .details-panel {
    padding: 19px 13px;
  }
  .main-body {
    padding: 23px 18px 0;
  }
  .topbar {
    padding: 0 18px;
  }
  .page-heading h1 {
    font-size: 23px;
  }
  .page-heading p {
    font-size: 9px;
  }
  .page-heading > .primary {
    font-size: 9px;
    padding: 10px;
  }
  .panel-description {
    font-size: 9px;
  }
  .details-panel h2 {
    font-size: 16px;
  }
  .toolbar-right {
    gap: 14px;
  }
  .subtle-button {
    font-size: 8px;
  }
  .view-tabs {
    gap: 17px;
  }
  .view-tabs button {
    font-size: 9px;
  }
  .scene-summary {
    gap: 14px;
  }
  .scene-summary > div {
    flex-direction: column;
    align-items: start;
    gap: 3px;
  }
  .scene-summary span {
    max-width: none;
  }
  .scene-legend {
    flex-wrap: wrap;
    max-width: 250px;
    row-gap: 7px;
  }
  .breadcrumb {
    gap: 10px;
    font-size: 8px;
  }
  .breadcrumb strong {
    font-size: 8px;
  }
  .private-badge {
    display: none;
  }
  .top-separator {
    display: none;
  }
  .top-actions {
    gap: 13px;
  }
  .project-list-row {
    grid-template-columns: 1fr 85px;
  }
  .project-list-row > small,
  .project-list-row > .icon {
    display: none;
  }
  .list-heading {
    grid-template-columns: 1fr 85px;
  }
  .list-heading > span:last-child {
    display: none;
  }
  .connection-map {
    grid-template-columns: 1fr;
  }
  .flow {
    flex-wrap: wrap;
    gap: 10px;
  }
  .integration-explainer {
    padding: 18px 13px;
  }
  .alternative-view {
    padding-right: 15px;
  }
  .event-row strong {
    font-size: 8px;
  }
  .login-card {
    margin-left: 35%;
    width: 360px;
  }
  .login-orbit {
    left: -150px;
    width: 80vw;
    height: 80vw;
  }
  .login-card h1 {
    font-size: 35px;
  }
}
@media (max-width: 800px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 232px;
    box-shadow: 20px 0 100px #0006;
  }
  .sidebar-open .sidebar {
    transform: translateX(0);
  }
  .main {
    margin-left: 0;
    width: 100%;
  }
  .mobile-menu {
    display: flex;
  }
  .breadcrumb-icon {
    display: none;
  }
  .topbar {
    height: 60px;
  }
  .main-body {
    padding: 24px 20px 0;
  }
  .content-area {
    grid-template-columns: minmax(0, 1fr) 245px;
    min-height: 590px;
    height: calc(100vh - 335px);
  }
  .details-panel {
    padding: 20px 16px;
  }
  .page-heading {
    margin-bottom: 21px;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .page-heading p {
    font-size: 10px;
  }
  .content-area .universe {
    min-height: 520px;
  }
  .toolbar-right {
    gap: 15px;
  }
  .subtle-button {
    font-size: 9px;
  }
  .view-tabs button {
    font-size: 10px;
  }
  .top-actions {
    gap: 18px;
  }
  .private-badge {
    display: flex;
    font-size: 8px;
  }
  .breadcrumb {
    font-size: 9px;
  }
  .breadcrumb strong {
    font-size: 9px;
  }
  .login-card {
    margin-left: 20%;
    width: 350px;
  }
  .login-orbit {
    left: -230px;
    width: 95vw;
    height: 95vw;
    opacity: 0.55;
  }
  .login-brand {
    left: 25px;
    top: 30px;
  }
  .login-footer {
    left: 25px;
    right: 25px;
  }
  .login-footer > span:last-child {
    display: none;
  }
}
@media (max-width: 600px) {
  .main-body {
    padding: 24px 16px 0;
  }
  .topbar {
    padding: 0 13px;
  }
  .breadcrumb {
    gap: 8px;
  }
  .breadcrumb > span:nth-child(3),
  .breadcrumb > .icon {
    display: none;
  }
  .top-actions {
    gap: 12px;
  }
  .top-actions .private-badge {
    display: none;
  }
  .top-avatar {
    height: 25px;
    width: 25px;
  }
  .top-actions .help-button {
    display: none;
  }
  .page-heading {
    align-items: start;
    gap: 12px;
  }
  .page-heading .eyebrow {
    font-size: 7px;
    letter-spacing: 1.5px;
  }
  .page-heading h1 {
    font-size: 23px;
    margin-top: 9px;
    white-space: nowrap;
  }
  .page-heading p {
    font-size: 9px;
    max-width: 210px;
    line-height: 1.8;
    margin-top: 4px;
  }
  .heading-star {
    font-size: 17px;
    margin-left: 5px;
  }
  .page-heading > .primary {
    font-size: 0;
    padding: 0;
    width: 34px;
    height: 34px;
    margin-top: 24px;
    flex-shrink: 0;
    gap: 0;
  }
  .page-heading > .primary > .icon {
    width: 18px;
    height: 18px;
  }
  .toolbar {
    height: 48px;
  }
  .toolbar-right {
    gap: 13px;
  }
  .toolbar-right .subtle-button {
    font-size: 0;
    gap: 0;
    width: 26px;
    height: 23px;
  }
  .toolbar-right .subtle-button > .icon {
    width: 17px;
    height: 17px;
  }
  .toolbar-right .subtle-button.enabled {
    background: #223b3c;
    border-radius: 4px;
  }
  .view-tabs {
    gap: 25px;
  }
  .view-tabs button {
    font-size: 10px;
    gap: 6px;
  }
  .content-area {
    display: flex;
    flex-direction: column;
    height: auto;
    max-height: none;
    min-height: 0;
  }
  .universe {
    height: 480px !important;
    min-height: 480px !important;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    flex-shrink: 0;
  }
  .scene-summary {
    top: 50px;
    left: 14px;
    gap: 26px;
  }
  .scene-summary > div {
    flex-direction: row;
    align-items: center;
    gap: 6px;
  }
  .scene-summary strong {
    font-size: 20px;
  }
  .scene-summary span {
    font-size: 7px;
    max-width: 55px;
  }
  .coordinate {
    left: 14px;
    top: 23px;
  }
  .scene-corner {
    display: flex;
    top: 24px;
    right: 15px;
  }
  .scene-corner > span:last-child {
    display: none;
  }
  .scene-bottom {
    bottom: 45px;
    right: 13px;
  }
  .scene-legend {
    bottom: 19px;
    left: 14px;
    max-width: 95%;
    font-size: 6px;
    gap: 12px;
  }
  .camera-controls {
    height: 29px;
  }
  .details-panel {
    overflow: visible;
    padding: 24px 21px;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    margin-top: 20px;
    border-top: 1px solid var(--line);
    border-radius: 8px 8px 0 0;
  }
  .details-panel h2 {
    font-size: 22px;
  }
  .panel-description {
    font-size: 11px;
  }
  .command-icon {
    margin-top: 17px;
    height: 60px;
  }
  .host-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 20px;
  }
  .host-row {
    gap: 8px;
  }
  .host-row strong {
    font-size: 10px;
  }
  .host-row small {
    font-size: 7px;
  }
  .host-row > i {
    margin-left: 0;
    flex-shrink: 0;
  }
  .overview-row {
    font-size: 10px;
  }
  .overview-row strong {
    font-size: 10px;
  }
  .details-panel .context-note {
    font-size: 10px;
  }
  .panel-connect {
    font-size: 10px;
  }
  .section-heading {
    font-size: 9px;
  }
  .activity-strip {
    margin-top: 25px;
  }
  #activity-preview {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .event-row strong {
    font-size: 9px;
  }
  .app-footer {
    font-size: 7px;
    flex-wrap: wrap;
    row-gap: 8px;
  }
  .app-footer > span:first-child {
    flex-basis: 75%;
  }
  .app-footer > span:nth-child(2) {
    order: 3;
    flex-basis: 100%;
    margin-left: 10px;
  }
  .app-footer > span:last-child {
    margin-left: auto;
  }
  .alternative-view {
    padding: 23px 0;
    max-height: 600px;
    border-right: 0;
  }
  .connection-map {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .connection-map .host-row {
    padding: 12px 8px;
  }
  .connection-map .host-row > i {
    margin-left: auto;
  }
  .integration-explainer {
    padding: 23px 18px;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .list-heading {
    grid-template-columns: 1fr 100px;
  }
  .project-list-row {
    grid-template-columns: 1fr 100px;
  }
  .project-list-row strong {
    font-size: 12px;
  }
  .project-list-row small {
    font-size: 9px;
  }
  .detail-meta {
    display: flex;
    justify-content: space-between;
  }
  .project-emblem {
    margin: 22px 0 16px;
  }
  .agent-card-info strong {
    font-size: 12px;
  }
  .agent-card-info small,
  .agent-task {
    font-size: 10px;
  }
  .agent-card {
    padding: 13px;
  }
  .detail-tabs button {
    font-size: 11px;
  }
  .source-note {
    font-size: 10px;
  }
  .stale-warning {
    font-size: 10px;
  }
  .modal-backdrop {
    padding: 15px;
  }
  .modal {
    padding: 23px 20px;
    max-height: 90dvh;
  }
  .modal-heading h2 {
    font-size: 19px;
  }
  .form-two {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .modal label {
    font-size: 11px;
  }
  .modal-intro {
    font-size: 12px;
  }
  .modal .context-note {
    font-size: 10px;
  }
  .primary,
  .secondary {
    font-size: 11px;
  }
  .demo-banner {
    font-size: 9px;
    line-height: 1.8;
    flex-wrap: wrap;
  }
  .demo-banner > button {
    font-size: 9px;
  }
  .login-shell {
    align-items: start;
    min-height: 100dvh;
  }
  .login-card {
    margin: 155px 26px 100px;
    width: auto;
    max-width: 390px;
    flex: 1;
  }
  .login-card h1 {
    font-size: 35px;
    letter-spacing: -1.4px;
  }
  .login-card > p {
    font-size: 12px;
  }
  .login-orbit {
    left: -200px;
    top: 170px;
    width: 150vw;
    height: 150vw;
    opacity: 0.2;
    transform: none;
  }
  .login-card > .eyebrow {
    font-size: 8px;
  }
  .login-brand {
    left: 17px;
    top: 30px;
  }
  .login-footer {
    left: 28px;
    bottom: 22px;
  }
  .login-card .login-note {
    font-size: 10px;
  }
  .login-tabs > button {
    font-size: 11px;
  }
  .login-card label {
    font-size: 11px;
  }
  .login-card .primary {
    font-size: 12px;
  }
  #toast {
    font-size: 11px;
    bottom: 18px;
    min-width: 75vw;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
/* Comfortable reading sizes without taking space from the colony. */
@media (min-width: 1001px) {
  .main-nav > button,
  .project-nav > button {
    font-size: 12px;
  }
  .workspace-switch strong {
    font-size: 11px;
  }
  .workspace-switch small {
    font-size: 9px;
  }
  .side-label {
    font-size: 10px;
  }
  .settings-button {
    font-size: 11px;
  }
  .connection-card strong {
    font-size: 10px;
  }
  .connection-card small {
    font-size: 9px;
  }
  .profile strong {
    font-size: 11px;
  }
  .profile small {
    font-size: 9px;
  }
  .breadcrumb,
  .breadcrumb strong {
    font-size: 11px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .eyebrow {
    font-size: 10px;
  }
  .primary {
    font-size: 11px;
  }
  .view-tabs button {
    font-size: 11px;
  }
  .subtle-button {
    font-size: 10px;
  }
  .panel-description {
    font-size: 11px;
  }
  .host-row strong {
    font-size: 12px;
  }
  .host-row small {
    font-size: 9px;
  }
  .overview-row,
  .overview-row strong {
    font-size: 10px;
  }
  .context-note {
    font-size: 10px;
  }
  .panel-connect {
    font-size: 10px;
  }
  .section-heading {
    font-size: 9px;
  }
  .panel-heading .eyebrow {
    font-size: 9px;
  }
  .detail-meta > span {
    font-size: 10px;
  }
  .detail-tabs button {
    font-size: 10px;
  }
  .agent-card-info strong {
    font-size: 11px;
  }
  .agent-card-info small,
  .agent-task {
    font-size: 9px;
  }
  .source-note {
    font-size: 9px;
  }
  .event-row strong {
    font-size: 10px;
  }
  .event-row small {
    font-size: 9px;
  }
  .status {
    font-size: 10px;
  }
  .source-badge {
    font-size: 8px;
  }
  .strip-heading > strong {
    font-size: 11px;
  }
  .app-footer {
    font-size: 9px;
  }
}
