@font-face {
  font-family: AtlasSystem;
  src: local("Inter"), local("Arial");
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #090c10;
  --panel: #111519;
  --line: #283038;
  --text: #e9eeee;
  --muted: #929ca4;
  --accent: #6ad7c8;
  font-family: AtlasSystem, Arial, sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
}
* {
  box-sizing: border-box;
  letter-spacing: 0;
}
body {
  margin: 0;
  overflow: hidden;
}
button,
input,
a {
  -webkit-tap-highlight-color: transparent;
}
button,
input {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: wait;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
button {
  border-radius: 4px;
}
button:hover {
  color: #fff;
}
button[hidden],
[hidden] {
  display: none !important;
}
svg.lucide {
  width: 17px;
  height: 17px;
  stroke-width: 1.6;
  flex-shrink: 0;
}
.atlas-header {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 26px;
  border-bottom: 1px solid var(--line);
  background: #101317;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid #7c8c8e;
  font-family: Georgia, serif;
  color: #a5e5d7;
  font-size: 24px;
  line-height: 1;
}
.brand-divider {
  height: 19px;
  width: 1px;
  background: #3b4349;
  margin: 0 5px;
}
.product-name {
  font-size: 11px;
  color: #9da8af;
  font-weight: 500;
}
.atlas-header nav {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
  font-size: 12px;
}
.atlas-header nav a {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
}
.atlas-header nav a[aria-current] {
  color: #d9eeee;
  border-color: var(--accent);
}
.atlas-header nav svg {
  width: 13px;
}
.release-state {
  font:
    10px ui-monospace,
    monospace;
  color: #99a5ab;
}
.release-state:before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7b848c;
  margin-right: 8px;
}
.release-state.is-ready:before {
  background: var(--accent);
}
.atlas-app {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
  height: calc(100dvh - var(--atlas-header-height, 64px));
  min-height: 420px;
}
.universe {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--bg);
}
#graph {
  position: absolute;
  inset: 0;
  cursor: grab;
}
#graph canvas {
  display: block;
}
#graph .scene-container {
  position: absolute !important;
  inset: 0;
}
.atlas-heading {
  position: absolute;
  top: 27px;
  left: 30px;
  pointer-events: none;
  max-width: calc(100% - 365px);
}
.atlas-heading a {
  pointer-events: auto;
}
.eyebrow {
  font:
    9px ui-monospace,
    monospace;
  font-weight: 500;
  color: #9aadae;
  margin: 0 0 14px;
}
.atlas-heading h1 {
  font-size: 29px;
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 12px;
  white-space: nowrap;
}
.atlas-heading h1 span {
  color: var(--accent);
}
.atlas-counts {
  font:
    10px ui-monospace,
    monospace;
  color: #8b989f;
  line-height: 1.6;
  margin: 0;
}
.atlas-purpose {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.5;
  text-wrap: balance;
}
.search {
  position: absolute;
  top: 30px;
  right: 26px;
  width: 260px;
  height: 41px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 5px 0 13px;
  background: #14191eee;
  border: 1px solid #303940;
  border-radius: 5px;
  z-index: 6;
}
.search > svg {
  color: #92a4aa;
  width: 15px;
}
.search input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #dce4e6;
  font-size: 12px;
  outline: none;
}
.search input::placeholder {
  color: #8b9a9f;
}
.icon-button {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #9aabb2;
}
.icon-button:hover,
.icon-button[aria-pressed="true"] {
  background: #233037;
  color: var(--accent);
}
.search-results {
  position: absolute;
  left: 0;
  right: 0;
  top: 47px;
  max-height: min(440px, 65dvh);
  overflow: auto;
  background: #151a1f;
  border: 1px solid #3a454d;
  border-radius: 5px;
  padding: 5px 12px;
  box-shadow: 0 16px 35px #0009;
}
.search-results .concept-row {
  padding: 12px 0;
}
.search-results .concept-row strong {
  font-size: 12px;
}
.no-results {
  font-size: 12px;
  color: var(--muted);
  padding: 8px;
}
.view-controls {
  position: absolute;
  top: 88px;
  right: 26px;
  z-index: 3;
}
.release-discover {
  position: absolute;
  top: 145px;
  right: 18px;
  z-index: 4;
  width: 226px;
  border: 1px solid #35444a;
  border-left: 2px solid #9aefc0;
  border-radius: 5px;
  background: #10181de9;
  box-shadow: 0 12px 28px #0005;
}
.release-discover-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 8px 11px;
  border: 0;
  background: transparent;
  text-align: left;
}
.release-discover-toggle small {
  display: block;
  margin-bottom: 2px;
  color: #93a8aa;
  font-size: 9px;
}
.release-discover-toggle strong {
  color: #c8f1d9;
  font-size: 13px;
  font-weight: 600;
}
.release-discover-toggle svg {
  transition: transform 160ms ease;
}
.release-discover-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.release-discover-body {
  max-height: min(36vh, 320px);
  overflow: auto;
  padding: 0 11px 9px;
  scrollbar-width: thin;
}
.release-discover-links {
  margin: 0 0 8px;
  color: #899da0;
  font: 9px ui-monospace, monospace;
}
.release-topic {
  border-top: 1px solid #2a383d;
  padding: 8px 0 5px;
}
.release-topic h3 {
  margin: 0 0 5px;
  color: var(--topic-color, #9babb0);
  font-size: 9px;
  font-weight: 600;
}
.release-node {
  display: block;
  width: 100%;
  padding: 5px 0 5px 9px;
  border: 0;
  border-left: 1px solid var(--topic-color, #5f9c83);
  border-radius: 0;
  background: transparent;
  color: #d7e5df;
  font-size: 11px;
  line-height: 1.3;
  text-align: left;
  overflow-wrap: anywhere;
}
.release-node:hover {
  background: #1d2b2b;
}
.release-discover-all {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
  padding: 6px 0 1px;
  border: 0;
  background: transparent;
  color: #a5dacc;
  font-size: 10px;
}
.release-discover-all svg {
  width: 12px;
}
.segmented {
  display: flex;
  border: 1px solid #283138;
  background: #11171bd9;
  padding: 3px;
  border-radius: 5px;
}
.segmented button {
  min-height: 29px;
  padding: 0 11px;
  background: transparent;
  border: 0;
  color: #92a0a6;
  font-size: 10px;
  white-space: nowrap;
}
.segmented button[aria-pressed="true"] {
  background: #27333a;
  color: #e2eeec;
}
.family-labels,
.node-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.family-label,
.node-label {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: auto;
  white-space: nowrap;
  will-change: transform;
}
.family-label {
  padding: 7px 11px;
  background: #0b1015e8;
  border: 0;
  border-left: 2px solid var(--family-color);
  border-radius: 0;
  text-align: left;
  box-shadow: 0 0 16px #090c10;
}
.family-label:hover {
  background: #1e292e;
}
.family-label-name {
  font-size: 12px;
  color: var(--family-color);
  font-weight: 600;
  display: block;
}
.family-label small {
  display: block;
  font:
    9px ui-monospace,
    monospace;
  color: #829399;
  margin-top: 5px;
}
.node-label {
  font-size: 10px;
  border: 1px solid #34444b;
  padding: 6px 9px;
  background: #111b21ee;
  color: #beced1;
  max-width: 235px;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 2px 8px #0008;
}
.node-label.is-selected {
  border-color: #8ac6bc;
  color: #e8ffff;
}
.graph-tools {
  position: absolute;
  left: 24px;
  bottom: 76px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 4px;
  border: 1px solid #2b363e;
  background: #12191ede;
  border-radius: 5px;
  z-index: 4;
}
.graph-tools > span {
  height: 1px;
  background: var(--line);
  margin: 2px 5px;
}
.graph-tools .icon-button {
  width: 32px;
  height: 32px;
}
.back-to-all {
  position: absolute;
  top: 142px;
  left: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 5px 10px;
  background: #172126e6;
  border: 1px solid #34464e;
  color: #c0d3d5;
  font-size: 10px;
  z-index: 3;
}
.back-to-all svg {
  width: 13px;
}
.atlas-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 24px;
  border-top: 1px solid #263039;
  background: #10161bdc;
  font:
    9px ui-monospace,
    monospace;
  color: #96a7ac;
}
.atlas-bottom > span {
  flex: 1;
  line-height: 1.5;
}
.edge-key {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.edge-key [data-edge-key] {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.research-edge-key {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.research-edge-key i {
  width: 18px;
  border-top: 1px dashed #e8c474;
}
.key-line {
  width: 20px;
  height: 1px;
  background: #9aafb0;
}
.key-open {
  width: 5px;
  height: 5px;
  background: #f2df9a;
  border-radius: 50%;
  margin-left: 9px;
}
.map-note {
  position: absolute;
  z-index: 8;
  bottom: 62px;
  right: 15px;
  width: min(350px, calc(100% - 30px));
  padding: 22px;
  background: #192128;
  border: 1px solid #46555c;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.7;
  color: #b5c6ca;
  box-shadow: 0 10px 40px #0009;
}
.map-note strong {
  font-size: 14px;
  color: #e9eeee;
}
.map-note #release-note {
  font:
    10px ui-monospace,
    monospace;
  overflow-wrap: anywhere;
}
.map-note button {
  background: #2b3b43;
  border: 1px solid #4b6068;
  padding: 6px 15px;
}
.loading {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 15px;
  background: #090c10;
}
.loading strong {
  font-size: 14px;
  font-weight: 400;
  color: #d7e4e3;
}
.loading > span:last-child {
  font:
    10px ui-monospace,
    monospace;
  color: #8a9ba3;
  max-width: 80%;
  text-align: center;
  overflow-wrap: anywhere;
}
.loading-symbol {
  width: 24px;
  height: 24px;
  border: 1px solid #2e5150;
  border-top-color: #86e6d4;
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
}
.loading.is-error .loading-symbol {
  animation: none;
  border-color: #e49787;
}
.loading a {
  font-size: 12px;
  text-decoration: underline;
  color: var(--accent);
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.wiki {
  min-width: 0;
  border-left: 1px solid #30383e;
  background: var(--panel);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.wiki-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  padding: 0 22px;
  height: 56px;
  border-bottom: 1px solid #293037;
}
.wiki-bar > span {
  display: flex;
  gap: 10px;
  align-items: center;
  font:
    10px ui-monospace,
    monospace;
  color: #a0aeb3;
}
.wiki-bar > span svg {
  color: #83ada7;
  width: 15px;
}
.wiki-content {
  padding: 28px 25px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #35444b transparent;
  flex: 1;
  min-height: 0;
}
.wiki-content .eyebrow {
  font-size: 9px;
  color: #809392;
  margin-bottom: 15px;
}
.wiki h2 {
  font-size: 29px;
  line-height: 1.23;
  font-weight: 400;
  margin: 0 0 15px;
  overflow-wrap: anywhere;
}
.wiki-intro {
  font-size: 12px;
  line-height: 1.8;
  color: #92a0a6;
  margin: 0;
}
.wiki .atlas-project-title {
  margin: 4px 0 20px;
  font-size: clamp(27px, 2.3vw, 32px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -.025em;
}
.atlas-project-title span { display: block; letter-spacing: inherit; }
.atlas-project-title span:last-child { color: #a8d9cd; }
.atlas-project-intro {
  margin: 0;
  color: #a7b6bd;
  font-size: 14px;
  line-height: 1.75;
  text-wrap: pretty;
}
.wiki .atlas-project-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  padding: 10px 0;
  border-bottom: 1px solid #45685f;
  color: #b3f2dc;
  font-size: 13px;
  font-weight: 500;
}
.atlas-explore, .atlas-research-loop { margin: 25px 0; padding-top: 22px; border-top: 1px solid var(--line); }
.atlas-explore h3, .atlas-research-loop h3 { margin: 0 0 10px; font-size: 15px; line-height: 1.4; font-weight: 500; }
.atlas-explore p, .atlas-research-loop p { margin: 0; color: #a7b6bd; font-size: 13px; line-height: 1.7; }
.atlas-connection-key { display: flex; align-items: center; gap: 12px; margin: 13px 0; color: #b3dfd2; font-size: 11px; line-height: 1.5; }
.atlas-connection-key > span:not(.atlas-connection-arrow) { display: flex; align-items: center; gap: 7px; }
.atlas-connection-key > span:not(.atlas-connection-arrow)::before { content: ""; width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: currentColor; }
.atlas-connection-arrow { color: #749e9c; font-size: 20px; }
.atlas-explore .atlas-interaction-hint { color: #91a5ad; font-size: 12px; }
.atlas-research-loop .atlas-loop-return { color: #a8d9cd; font-size: 12px; }
.atlas-details { border-top: 1px solid var(--line); }
.atlas-details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 0;
  color: #b5c7ca;
  font-size: 12px;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
}
.atlas-details > summary::-webkit-details-marker { display: none; }
.atlas-details > summary::after { content: "+"; color: #86b9ad; font-size: 18px; font-weight: 400; }
.atlas-details[open] > summary::after { content: "−"; }
.atlas-details[open] { padding-bottom: 22px; }
.atlas-details + .atlas-details { border-bottom: 1px solid var(--line); }
.atlas-overview > .research-link { margin-top: 24px; }
.wiki-divider {
  height: 1px;
  background: var(--line);
  margin: 25px 0;
}
.section-label {
  font:
    9px ui-monospace,
    monospace;
  color: #8fa4a7;
  font-weight: 400;
  margin: 0 0 13px;
}
.family-index {
  display: grid;
}
.family-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 45px;
  border: 0;
  border-bottom: 1px solid #242d33;
  background: transparent;
  border-radius: 0;
  text-align: left;
  padding: 8px 0;
}
.family-row:hover {
  background: #1b252b;
}
.family-number {
  font:
    8px ui-monospace,
    monospace;
  color: #788b92;
  width: 15px;
}
.family-swatch {
  width: 5px;
  height: 5px;
  flex-shrink: 0;
  border-radius: 50%;
  margin-right: 3px;
}
.family-row strong {
  font-size: 11px;
  font-weight: 400;
  line-height: 1.45;
  flex: 1;
}
.family-row small {
  font:
    9px ui-monospace,
    monospace;
  color: #95a5ac;
}
.family-row svg {
  width: 12px;
  color: #74838b;
}
.concept-row {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: 0;
  border-bottom: 1px solid #293238;
  border-radius: 0;
  text-align: left;
  padding: 13px 0;
}
.concept-row:hover strong {
  color: var(--accent);
}
.concept-row > span {
  min-width: 0;
}
.concept-row strong {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 400;
  color: #d1dce0;
  overflow-wrap: anywhere;
}
.concept-row small {
  display: block;
  font-size: 9px;
  line-height: 1.4;
  color: #879aa2;
  margin-top: 5px;
}
.concept-row svg {
  width: 13px;
  color: #7d9298;
}
.wiki-footnote {
  font:
    9px ui-monospace,
    monospace;
  color: #798d93;
  margin: 24px 0 0;
}
.muted {
  font-size: 12px;
  line-height: 1.6;
  color: #96a5ab;
}
.domain-names {
  font-size: 11px;
  line-height: 1.9;
  color: #adbec2;
}
.article-family {
  font-size: 10px;
  padding: 0;
  background: none;
  border: 0;
  text-align: left;
  margin-bottom: 16px;
}
.wiki h2.article-title {
  font-size: 25px;
  line-height: 1.3;
  margin-bottom: 19px;
}
.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 10px;
  color: #98a9ad;
  margin-bottom: 25px;
}
.status-closed {
  color: #9ed9be;
}
.status-closed:before,
.status-open:before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  margin-right: 6px;
}
.status-open {
  color: #edcc7d;
}

.research-question[aria-pressed="true"] {
  background: #182626;
  box-shadow: inset 2px 0 #edc66d;
}
.research-question strong {
  overflow-wrap: anywhere;
}
.research-question-list {
  margin-top: 16px;
}
.selection-summary {
  position: absolute;
  left: 82px;
  bottom: 66px;
  max-width: min(520px, calc(100% - 110px));
  z-index: 5;
  pointer-events: none;
  padding: 10px 0;
  background: #090c10e8;
}
.selection-mode {
  display: block;
  margin-top: 5px;
  color: #94b1b0;
  font: 9px/1.5 ui-monospace, monospace;
}
.scene-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}
.release-change-note {
  font:
    9px/1.4 ui-monospace,
    monospace;
  color: #93bab0;
  white-space: nowrap;
  margin-left: auto;
}
.bundle-index-more summary {
  padding: 13px 0;
  font-size: 11px;
  color: #9eb9b6;
  cursor: pointer;
}
.research-marker-label {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: auto;
  text-align: left;
  width: 185px;
  padding: 7px 9px;
  background: #11181ee8;
  border: 0;
  border-left: 2px solid #e8c474;
  color: #f0dbad;
  font:
    11px/1.5 Arial,
    sans-serif;
  overflow-wrap: anywhere;
}
.research-marker-label small {
  display: block;
  margin-top: 5px;
  color: #a3b5b8;
  font:
    8px/1.5 ui-monospace,
    monospace;
}
.research-path {
  display: grid;
  justify-items: start;
  gap: 7px;
  padding: 16px 0;
  margin-bottom: 12px;
  border-bottom: 1px solid #29373e;
  font-size: 12px;
}
.research-path svg {
  width: 12px;
  height: 14px;
  color: #bca97b;
}
.research-path small {
  color: #9dafb6;
  font-size: 10px;
}
.bundle-label {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: auto;
  background: #0c171bdd;
  border: 0;
  border-bottom: 1px solid #547e82;
  color: #a7c4c8;
  padding: 3px 6px;
  font:
    9px/1.4 ui-monospace,
    monospace;
}
.bundle-label:hover {
  color: #e5fff6;
  border-color: #8cd5c8;
}
.scene-tooltip {
  position: absolute;
  z-index: 9;
  width: 280px;
  max-width: calc(100% - 32px);
  padding: 10px 12px;
  pointer-events: none;
  background: #10191ff2;
  border-left: 2px solid #7ec3bd;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.bundle-relation {
  border-bottom: 1px solid #29373e;
  padding: 12px 0;
}
.bundle-relation .concept-row {
  border: 0;
  padding: 7px 0;
}
.bundle-relation > svg {
  width: 13px;
  color: #6aadb0;
}
.selection-summary strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.selection-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 14px;
  font:
    10px/1.5 ui-monospace,
    monospace;
  margin-top: 7px;
}
.node-label {
  border-color: var(--node-accent, #395457);
  color: var(--node-accent, #dbe6e8);
}
@media (max-width: 700px) {
  .selection-summary {
    display: none;
  }
  .release-change-note {
    max-width: 80px;
    white-space: normal;
    font-size: 8px;
  }
  .research-marker-label {
    width: 145px;
    font-size: 10px;
  }
}
button.research-link {
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.wiki-tabs {
  display: flex;
  border-bottom: 1px solid #334148;
  margin: 0 0 24px;
  gap: 22px;
}
.wiki-tabs button {
  font-size: 11px;
  padding: 12px 0;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: none;
  color: #97a8ae;
}
.wiki-tabs button[aria-selected="true"] {
  color: #e3efee;
  border-bottom-color: var(--accent);
}
.article-copy {
  font-size: 14px;
  line-height: 1.85;
  color: #d7e1e3;
  overflow-wrap: anywhere;
}
.theorem {
  margin: 20px 0 12px;
  padding: 7px 0 7px 14px;
  border-left: 2px solid #7db4a9;
  font:
    15px/1.7 Georgia,
    serif;
  color: #b9d2cc;
}
.source-label {
  font:
    9px/1.6 ui-monospace,
    monospace;
  color: #879ba1;
}
.spaced {
  margin-top: 28px;
}
.connection-counts {
  display: flex;
  gap: 13px;
}
.connection-counts button {
  padding: 7px 0;
  border: 0;
  border-bottom: 1px solid #526f70;
  background: none;
  border-radius: 0;
  font-size: 11px;
  color: #bdcfce;
}
.structural-fact {
  font-size: 12px;
  line-height: 1.8;
  color: #a1b3b8;
}
.document-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  line-height: 1.6;
  color: #b5d6d0;
  padding: 12px 0;
  border-bottom: 1px solid #2b373c;
  overflow-wrap: anywhere;
}
.document-link svg {
  width: 13px;
}
.article-audit {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font:
    10px/1.7 ui-monospace,
    monospace;
  color: #899ea5;
  overflow-wrap: anywhere;
}
.article-audit summary {
  cursor: pointer;
}
.research-link {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #97b0b5;
  margin-top: 23px;
}
.research-link svg {
  width: 12px;
}
.upstream {
  color: #edc66d;
}
.downstream {
  color: #6ad7c8;
}
@media (min-width: 1700px) {
  .wiki-content {
    padding: 34px 30px;
  }
  .family-row {
    min-height: 49px;
  }
  .family-row strong {
    font-size: 12px;
  }
  .atlas-heading h1 {
    font-size: 34px;
  }
}
@media (max-width: 1150px) {
  .release-discover {
    right: 18px;
    top: 143px;
  }
  .atlas-heading {
    left: 22px;
    max-width: none;
  }
  .atlas-heading h1 {
    font-size: 24px;
  }
  .atlas-counts {
    font-size: 9px;
  }
  .search {
    width: 210px;
    right: 18px;
    top: 26px;
  }
  .view-controls {
    top: 91px;
    right: 18px;
  }
  .segmented button {
    padding: 0 8px;
    font-size: 9px;
  }
  .atlas-heading .eyebrow {
    font-size: 8px;
  }
  .wiki-content {
    padding: 25px 20px;
  }
  .wiki h2 {
    font-size: 26px;
  }
  .atlas-bottom {
    padding: 8px 16px;
    gap: 7px;
  }
  .edge-key {
    font-size: 8px;
  }
  .atlas-header {
    padding: 0 20px;
  }
  .atlas-heading {
    max-width: calc(100% - 220px);
  }
  .atlas-heading h1 {
    white-space: normal;
  }
}
@media (max-width: 900px) {
  .release-discover {
    top: 285px;
    right: 20px;
    width: min(278px, calc(100% - 90px));
  }
  .atlas-header nav {
    gap: 20px;
  }
  .release-state {
    display: none;
  }
  .atlas-app {
    grid-template-columns: minmax(0, 1fr) 290px;
  }
  .search {
    top: 185px;
    width: calc(100% - 40px);
    right: 20px;
  }
  .view-controls {
    top: 237px;
    left: 20px;
    right: auto;
  }
  .atlas-heading {
    max-width: calc(100% - 44px);
    top: 20px;
  }
  .atlas-heading h1 {
    font-size: 23px;
    margin-bottom: 7px;
  }
  .atlas-heading .eyebrow {
    margin-bottom: 10px;
  }
  .back-to-all {
    top: 245px;
    left: 20px;
  }
  .family-label-name {
    font-size: 10px;
  }
  .family-label small {
    font-size: 8px;
  }
  .edge-key {
    display: none;
  }
}
@media (max-width: 700px) {
  .release-discover {
    top: auto;
    bottom: 56px;
    right: 15px;
    width: min(252px, calc(100% - 85px));
  }
  .release-discover-body {
    max-height: min(25vh, 160px);
  }
  body {
    overflow: auto;
  }
  .atlas-header {
    height: 55px;
    padding: 0 16px;
    gap: 12px;
  }
  .brand {
    font-size: 17px;
    gap: 7px;
  }
  .brand-mark {
    width: 24px;
    height: 24px;
    font-size: 21px;
  }
  .brand-divider,
  .product-name {
    display: none;
  }
  .atlas-header nav {
    gap: 16px;
    font-size: 11px;
  }
  .atlas-header nav a:last-child {
    display: none;
  }
  .atlas-app {
    height: auto;
    min-height: 0;
    display: block;
  }
  .universe {
    height: calc(78dvh - var(--atlas-header-height, 55px));
    min-height: 470px;
  }
  .atlas-heading {
    top: 19px;
    left: 19px;
  }
  .atlas-heading h1 {
    font-size: 25px;
  }
  .atlas-counts {
    font-size: 8px;
  }
  .search {
    top: 160px;
    height: 37px;
    right: 19px;
    left: 19px;
    width: auto;
  }
  .view-controls {
    top: 207px;
    left: 19px;
  }
  .segmented button {
    font-size: 9px;
    min-height: 26px;
    padding: 0 12px;
  }
  .back-to-all {
    top: 191px;
    left: 19px;
  }
  .graph-tools {
    left: 14px;
    bottom: 67px;
    gap: 0;
  }
  .graph-tools .icon-button {
    width: 29px;
    height: 29px;
  }
  .atlas-bottom {
    min-height: 48px;
    font-size: 8px;
    padding: 6px 15px;
  }
  .family-label {
    padding: 5px 6px;
  }
  .family-label-name {
    font-size: 9px;
  }
  .family-label small {
    font-size: 7px;
  }
  .family-label {
    border-left-width: 1px;
  }
  .wiki {
    border-left: 0;
    border-top: 1px solid #30383e;
    min-height: 400px;
  }
  .wiki-bar {
    height: 49px;
    padding: 0 20px;
  }
  .wiki-content {
    padding: 25px 23px;
    overflow: visible;
  }
  .wiki.has-selection {
    position: fixed;
    z-index: 15;
    bottom: 0;
    left: 0;
    right: 0;
    height: 57dvh;
    min-height: 0;
    box-shadow: 0 -15px 40px #0006;
  }
  .wiki.has-selection .wiki-content {
    overflow: auto;
  }
  .wiki.has-selection .wiki-bar {
    height: 43px;
  }
  .wiki.has-selection h2.article-title {
    font-size: 23px;
  }
  .family-row {
    min-height: 45px;
  }
  .family-row strong {
    font-size: 12px;
  }
  .node-label {
    font-size: 9px;
    max-width: 170px;
  }
  .map-note {
    bottom: 60px;
  }
  .search-results {
    max-height: 330px;
  }
  .atlas-header nav a {
    font-size: 11px;
  }
}
@media (max-width: 700px) {
  body.concept-open {
    overflow: hidden;
  }
  .concept-open .universe {
    height: calc(43dvh - var(--atlas-header-height, 55px));
    min-height: 0;
  }
  .concept-open .atlas-heading,
  .concept-open .view-controls,
  .concept-open .atlas-bottom {
    display: none;
  }
  .concept-open .release-discover {
    display: none;
  }
  .concept-open .graph-tools {
    bottom: 12px;
  }
  .concept-open
    .graph-tools
    > :not(#previous-view):not(#zoom-in):not(#zoom-out) {
    display: none;
  }
  .concept-open .search {
    top: 12px;
  }
  .concept-open .back-to-all {
    top: 60px;
  }
  .concept-open .wiki {
    height: 57dvh;
  }
  .concept-open .search-results {
    max-height: 210px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* Full released DAG, with connectivity-based layout and complete edge rendering. */
.theory-guide { display: flex; align-items: center; gap: 12px; margin-top: 12px; color: #9ab3b2; font-size: 11px; line-height: 1.6; pointer-events: none; }
.theory-guide svg { width: 12px; height: 12px; }
.dag-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 24px 0 16px; }
.dag-facts > div { display: flex; flex-direction: column; min-width: 0; padding: 12px; background: #152026; border: 1px solid #293b44; border-radius: 4px; }
.dag-facts dd { order: -1; margin: 0 0 6px; font: 22px/1.3 ui-monospace, monospace; font-variant-numeric: tabular-nums; color: #b3f2dc; }
.dag-facts dt { color: #9badb4; font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.dag-connectivity { padding: 12px; border-left: 2px solid #64777e; background: #111c22; color: #9badb4; font-size: 10px; line-height: 1.7; }
.dag-connectivity p { margin: 0; }
.dag-connectivity p + p { margin-top: 6px; }
.wiki-content .dag-connectivity .research-link { margin-top: 10px; }
.dag-isolated-label { position: absolute; top: 0; left: 0; pointer-events: auto; padding: 8px 11px; border: 1px solid #40555d; border-left: 2px solid #8aadb9; background: #10191ff2; color: #bdcdd2; text-align: left; white-space: nowrap; }
.dag-isolated-label strong { display: block; font-size: 10px; font-weight: 500; }
.dag-isolated-label small { display: block; margin-top: 3px; color: #91a4ab; font-size: 9px; }
.wiki-content button.research-link { font-size: 11px; line-height: 1.6; }
.theory-scope { color: #94a8ad; font-size: 11px; line-height: 1.7; margin: 22px 0 8px; }
.dag-components { border-top: 1px solid #2a383e; margin-top: 25px; padding-top: 20px; font-size: 11px; }
.dag-components summary { cursor: pointer; color: #c0d2d3; }
.dag-component { display: block; width: 100%; background: none; border: 0; border-bottom: 1px solid #243238; padding: 13px 0; text-align: left; font-size: 11px; line-height: 1.6; }
.dag-component strong, .dag-component small { display: block; overflow-wrap: anywhere; }
.dag-component small { color: #8ca1a9; margin-top: 4px; }
.dag-admission { font-size: 11px; line-height: 1.7; color: #9cafb6; }
.dag-color-key { display: grid; gap: 9px; list-style: none; padding: 0; margin: 15px 0; color: #b6c7cd; font-size: 12px; }
.dag-color-key li { display: flex; align-items: center; gap: 9px; line-height: 1.5; }
.dag-color-key li::before { content: ""; width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: var(--key-color); }
.article-audit p, .declaration-receipts code { overflow-wrap: anywhere; }
.declaration-receipts li { padding: 8px 0; }
.dag-import-join { margin: 20px 0; font-size: 12px; }
.theory-mode .node-label { max-width: 190px; font-size: 9px; line-height: 1.45; background: #10191fe8; border-color: #385052; }
.theory-mode .back-to-all { top: 185px; }
@media (max-width: 1150px) and (min-width: 701px) { .theory-guide { font-size: 10px; gap: 8px; } }
@media (max-width: 900px) and (min-width: 701px) { .theory-mode .back-to-all { top: 285px; } }
@media (max-width: 700px) { .theory-guide { gap: 8px; font-size: 10px; } .theory-mode .node-label { max-width: 145px; font-size: 8px; } .segmented button { padding: 0 10px; } .theory-mode .back-to-all { top: 248px; } }
@media (max-width: 700px) { .concept-open.theory-mode .back-to-all { top: 60px; } }
@media (max-width: 380px) {
  .atlas-heading .atlas-title h1 { font-size: 22px; }
  .atlas-purpose { font-size: 12px; }
  .search { top: 196px; }
  .view-controls { top: 243px; }
  .graph-tools { flex-direction: row; }
  .graph-tools > span { width: 1px; height: 19px; margin: 5px 3px; }
  .release-discover { bottom: 112px; }
  .theory-mode .back-to-all { top: 284px; }
  .concept-open.theory-mode .back-to-all { top: 60px; }
}

/* A wider spatial canvas, with compact reading guidance and anchored landmarks. */
.wiki .atlas-project-title { font-size: 26px; margin: 0 0 14px; }
.atlas-project-intro { font-size: 12px; line-height: 1.8; }
.wiki .atlas-project-link { margin-top: 10px; padding: 6px 0; font-size: 11px; }
.atlas-explore { margin: 20px 0 16px; padding-top: 16px; }
.atlas-explore h3 { font-size: 12px; }
.atlas-explore p { font-size: 11px; line-height: 1.8; }
.atlas-explore .atlas-interaction-hint { font-size: 11px; }
.atlas-research-loop { margin: 0 0 16px; padding: 12px 0; }
.dag-navigation { position: absolute; bottom: 66px; right: 24px; display: flex; align-items: center; gap: 14px; padding: 8px 12px; background: #0d171eeb; border: 1px solid #2e454e; border-radius: 4px; font-size: 10px; color: #95b3bf; }
.dag-navigation button { border: 0; background: none; padding: 3px 0; color: #b3f2dc; font-size: 10px; }
.dag-navigation button span { margin-left: 6px; }
.label-leaders { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: hidden; }
.label-leaders path { fill: none; stroke-width: .8; opacity: .65; }
.node-label, .theory-mode .node-label { border-radius: 3px; border: 1px solid #344d59; border-left: 2px solid var(--node-accent, #81c7d1); background: #0c1821ed; padding: 7px 10px; max-width: 205px; font-size: 11px; line-height: 1.4; text-align: left; box-shadow: 0 3px 18px #0005; }
.node-label strong { display: block; font-size: inherit; font-weight: 500; white-space: normal; text-wrap: balance; }
.node-label small { display: block; font-size: 9px; color: #8faebb; margin-top: 4px; }
.node-label:hover { background: #1b3442; border-color: var(--node-accent, #81c7d1); }
.theory-guide { color: #a5c5ca; max-width: 460px; line-height: 1.7; }
.dag-facts { gap: 8px; margin: 18px 0; }
.dag-facts > div { padding: 10px 0; background: transparent; border: 0; border-bottom: 1px solid #293b44; border-radius: 0; }
.dag-facts dd { font-size: 23px; }
@media (max-width: 900px) and (min-width: 701px) { .atlas-app { grid-template-columns: minmax(0, 1fr) 270px; } }
@media (max-width: 700px) {
  .dag-navigation { bottom: 57px; right: 15px; gap: 8px; padding: 7px 9px; font-size: 9px; max-width: calc(100% - 86px); flex-wrap: wrap; }
  .dag-navigation button { font-size: 10px; }
  .theory-mode .node-label, .node-label { max-width: 150px; font-size: 10px; padding: 6px 8px; }
  .node-label small { font-size: 8px; }
}

.import-tooltip { max-width: 290px; padding: 5px; white-space: normal; text-align: left; font-size: 11px; line-height: 1.6; }
.import-tooltip strong, .import-tooltip span, .import-tooltip small { display: block; }
.import-tooltip strong { color: #efc66e; font-weight: 500; }
.import-tooltip span { color: #8fe5d4; }
.import-tooltip small { color: #9eb6c0; font-size: 10px; margin-top: 5px; }

@media (max-width: 380px) {
  .dag-navigation { bottom: 66px; max-width: 125px; padding: 7px 9px; }
  .dag-navigation #camera-scope { display: none; }
  .graph-tools { bottom: 65px; }
  .graph-tools #toggle-bundles, .graph-tools #toggle-changes { display: none; }
  .theory-mode .node-label { max-width: 134px; }
}

@media (min-width: 701px) and (max-width: 1150px) {
  .theory-mode .node-label { max-width: 170px; font-size: 10px; padding: 6px 8px; }
}

/* Progressive exploration preview: quiet overview, detail after intent. */
.atlas-heading .eyebrow, .atlas-purpose, .theory-guide { display: none !important; }
.atlas-heading { top: 28px; }
.atlas-heading .atlas-title h1 { font-size: 30px; }
.atlas-heading .atlas-logo { width: 37px; height: 37px; }
.atlas-counts { margin-top: 12px; max-width: 360px; }
.explore-path { position: absolute; top: 138px; left: 30px; display: flex; align-items: center; gap: 10px; z-index: 3; color: #607e8b; font-size: 10px; }
.explore-path button { background: none; border: 0; padding: 4px 0; font-size: 11px; color: #a5bbc4; }
.explore-path button:last-child { color: #b4e9dd; }
@media (min-width: 901px) {
  body:not(.theory-mode) .back-to-all { top: 178px; }
}
.node-label, .theory-mode .node-label { max-width: 182px; padding: 5px 8px; font-size: 10px; border: 0; border-left: 1px solid var(--node-accent); border-radius: 0; box-shadow: none; background: #0a141cd9; }
.node-label strong { font-weight: 400; }
.node-label small { padding-top: 3px; }
.label-leaders path { opacity: .3; }
.node-label.is-entrance::after { content: '↗'; color: var(--node-accent); margin-left: 8px; }
.node-label.is-entrance strong { display: inline; }
.family-label { padding: 5px 9px; border-left-width: 1px; box-shadow: none; }
.family-label-name { font-size: 11px; font-weight: 400; }
.scene-tooltip strong, .scene-tooltip span { display: block; font-size: 11px; line-height: 1.7; }
.scene-tooltip strong { font-weight: 400; color: #efc66e; }
.scene-tooltip span { color: #8fe5d4; }
.explore-path, .node-label { transition: background-color .15s; }
.atlas-verified { margin: 0 0 12px; color: #9bd4c5; font-size: 11px; line-height: 1.6; }
.atlas-verified::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 7px; border-radius: 50%; background: #6ad7c8; vertical-align: 2px; }
.atlas-research-loop { margin: 18px 0; padding: 16px 0; border-block: 1px solid #293c43; }
.atlas-research-loop h3 { margin: 0; font-size: 13px; color: #b5ddd3; }
.atlas-loop-diagram { display: block; width: 100%; max-width: 360px; height: auto; margin: 12px auto 10px; overflow: visible; }
.atlas-loop-paths path { stroke: #659c91; stroke-width: 1.2; }
.atlas-loop-paths path:last-child { stroke: #afae81; }
.atlas-loop-node rect { fill: #101e28; stroke: #4e6f85; stroke-width: 1; }
.atlas-loop-ai rect { fill: #112923; stroke: #5eaa90; }
.atlas-loop-lean rect { fill: #29271c; stroke: #a99460; }
.atlas-loop-name { fill: #cee3e9; font: 12px ui-sans-serif, system-ui, sans-serif; }
.atlas-loop-ai .atlas-loop-name { fill: #a7e5ce; }
.atlas-loop-lean .atlas-loop-name { fill: #e6d2a1; }
.atlas-loop-action { fill: #92aab6; font: 10px ui-sans-serif, system-ui, sans-serif; }
.atlas-loop-center { fill: #b1d1c8; font: 11px ui-sans-serif, system-ui, sans-serif; }
.atlas-research-loop .atlas-loop-return { font-size: 10px; line-height: 1.6; text-align: center; }
.dag-legend { position: absolute; bottom: 82px; left: 68px; z-index: 4; width: 278px; max-width: calc(100% - 90px); padding: 12px; background: #0b151ded; border: 1px solid #2a414e; border-radius: 6px; }
.dag-legend-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dag-legend-title { margin: 0; color: #cadbe1; font-size: 11px; line-height: 1.5; }
.dag-legend-description, .dag-legend-hint { margin: 3px 0 0; color: #819ba9; font-size: 9px; line-height: 1.5; }
.dag-legend-bands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; margin: 9px 0; }
.dag-legend-band { display: flex; align-items: center; gap: 7px; min-width: 0; min-height: 31px; padding: 6px 7px; border: 1px solid #263b49; border-radius: 3px; background: #101f29; text-align: left; }
.dag-legend-band strong { font: 10px ui-monospace, monospace; color: #bdcfd9; }
.dag-legend-band small { margin-left: auto; color: #758e9d; font-size: 9px; font-variant-numeric: tabular-nums; }
.dag-legend-band:last-child:nth-child(odd) { grid-column: 1 / -1; }
.dag-legend-lines { display: flex; gap: 16px; margin: 7px 0; color: #8fa8b7; font-size: 9px; }
.dag-legend-lines > span { display: flex; align-items: center; gap: 6px; }
.dag-legend-lines svg { width: 28px; height: 14px; overflow: visible; }
.dag-legend-lines path { fill: none; stroke: #91b7c7; stroke-width: 1; }
.dag-legend-lines > span:last-child path { stroke: #587583; }
.dag-legend-swatch { flex: 0 0 6px; height: 6px; border-radius: 50%; background: var(--legend-color); }
.dag-legend-band:hover, .dag-legend-band[aria-pressed="true"] { border-color: var(--legend-color); background: color-mix(in srgb, var(--legend-color) 12%, #0b151d); }
.dag-legend-band[aria-pressed="true"] strong { color: var(--legend-color); }
.dag-legend-band:disabled { opacity: .4; cursor: default; }
.dag-legend-reset { border: 0; padding: 2px 0; background: none; color: #9bd4c5; font-size: 9px; }
.dag-legend :is(button):focus-visible { outline: 2px solid #b3f2dc; outline-offset: 2px; }
.dag-role-key { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.dag-role-key span { color: #a0b8c5; font-size: 10px; }
.dag-role-key span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--legend-color); }
@media (max-width: 900px) and (min-width: 701px) {
  .atlas-heading { top: 22px; } .atlas-heading .atlas-title h1 { font-size: 24px; }
  .search { top: 118px; } .view-controls { top: 170px; } .explore-path { top: 219px; left: 22px; }
}
@media (max-width: 700px) {
  .atlas-heading { top: 20px; } .atlas-heading .atlas-title h1 { font-size: 26px; }
  .atlas-counts { margin-top: 10px; }
  .search { top: 108px; } .view-controls { top: 156px; }
  .explore-path { top: 204px; left: 20px; }
  .concept-open .explore-path { top: 60px; right: 20px; left: auto; }
  .concept-open .back-to-all { display: none !important; }
  .dag-legend { left: 56px; bottom: 86px; width: 248px; max-width: calc(100% - 72px); padding: 9px; }
  .dag-legend-description, .dag-legend-hint { font-size: 8px; }
  .dag-legend-band { min-height: 29px; padding: 5px; gap: 5px; }
  .dag-legend-band strong { font-size: 9px; }
  .dag-legend-band small { font-size: 8px; }
  .concept-open .dag-legend { left: 56px; bottom: 12px; width: max-content; max-width: calc(100% - 70px); }
  .concept-open .dag-legend-title { display: none; }
  .concept-open .dag-role-key { margin: 0; }
}
@media (max-width: 380px) {
  .atlas-heading .atlas-title h1 { font-size: 23px; }
  .atlas-counts { font-size: 7px; }
  .explore-path { top: 200px; }
  .dag-legend { bottom: 118px; left: 15px; width: 272px; max-width: calc(100% - 30px); }
  .concept-open .dag-legend { left: 118px; right: 12px; width: auto; max-width: none; }
}
