:root {
  color-scheme: dark;
  --bg: #080f1c;
  --panel: #101d2c;
  --panel-2: #152438;
  --border: #304459;
  --subtle: #a3b7c4;
  --text: #eaf4f4;
  --mint: #9ceddd;
  --cyan: #8fe0f2;
  --violet: #a6b0ff;
  --amber: #f8b886;
  --mono: "IBM Plex Mono", monospace;
  --display: "Space Grotesk", sans-serif;
  --body: "DM Sans", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
.map-node:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}
::selection {
  background: #39766f;
  color: white;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
[hidden] {
  display: none !important;
}
.site-shell {
  overflow: hidden;
  background:
    radial-gradient(ellipse 35% 20% at 89% 4%, #203c42 0%, transparent 100%),
    radial-gradient(ellipse 26% 25% at 1% 37%, #112d35 0%, transparent 100%),
    var(--bg);
}
.topbar,
.hero,
.metrics,
.explorer,
.routes,
.catalog,
.footer {
  max-width: 1440px;
  margin: auto;
}
.topbar {
  height: 83px;
  padding: 0 5%;
  display: flex;
  align-items: center;
  gap: 6%;
  border-bottom: 1px solid #283b44;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 700 17px var(--display);
  letter-spacing: 0.15em;
  white-space: nowrap;
}
.brand-slash {
  color: var(--mint);
  padding: 0 2px;
}
.brand-mark {
  height: 28px;
  width: 28px;
  position: relative;
  display: block;
  transform: rotate(-24deg);
}
.brand-mark span {
  position: absolute;
  display: block;
  border: 1.5px solid var(--mint);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bg);
}
.brand-mark span:nth-child(1) {
  left: 0;
  top: 9px;
}
.brand-mark span:nth-child(2) {
  right: 0;
  top: 1px;
}
.brand-mark span:nth-child(3) {
  right: 0;
  bottom: 1px;
}
.brand-mark:before,
.brand-mark:after {
  content: "";
  position: absolute;
  left: 7px;
  width: 18px;
  height: 1px;
  background: var(--mint);
  transform-origin: left;
}
.brand-mark:before {
  top: 13px;
  transform: rotate(-29deg);
}
.brand-mark:after {
  top: 15px;
  transform: rotate(29deg);
}
.top-nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
}
.top-nav a {
  font-size: 13px;
  color: #b4c9c9;
}
.top-nav a:hover,
.footer a:hover {
  color: var(--mint);
}
.nav-tag,
.eyebrow,
.section-index,
.panel-toolbar,
.map-hint,
.map-footer,
.record-number,
.inspector-id,
.inspector-section h4,
.insight strong,
.route-top,
.route-bottom,
.route-progress > span,
.catalog-bar,
.source-foot,
.search-meta {
  font: 500 11px/1.5 var(--mono);
  letter-spacing: 0.1em;
}
.nav-tag {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--mint);
  border: 1px solid #36575c;
  padding: 8px 12px;
}
.signal-dot {
  display: inline-block;
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 14px #9cedddaa;
  flex: none;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 0.96fr;
  min-height: 565px;
  padding: 85px 5% 78px;
  gap: 34px;
  align-items: center;
  position: relative;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#38626b55 0.8px, transparent 1px);
  background-size: 27px 27px;
  mask-image: linear-gradient(90deg, transparent 24%, #000 80%);
  pointer-events: none;
}
.hero-copy,
.hero-visual {
  z-index: 1;
}
.eyebrow {
  color: var(--mint);
  margin: 0 0 18px;
}
.eyebrow-line {
  display: inline-block;
  width: 26px;
  height: 1px;
  background: var(--mint);
  vertical-align: middle;
  margin-right: 9px;
}
.hero h1,
h2,
h3,
p {
  margin-top: 0;
}
.hero h1 {
  font: 600 clamp(3.5rem, 5.6vw, 6.3rem) / 1.04 var(--display);
  letter-spacing: -0.07em;
  margin: 0 0 27px;
  max-width: 850px;
}
.hero h1 em {
  font-style: normal;
  color: var(--mint);
}
.hero-lead {
  font-size: 17px;
  color: #adc4c5;
  max-width: 580px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  border: 1px solid var(--border);
  padding: 12px 19px;
  color: var(--text);
  font: 600 13px var(--display);
  transition:
    transform 0.18s,
    border-color 0.18s,
    background 0.18s;
}
.button:hover {
  transform: translateY(-2px);
  border-color: var(--mint);
}
.button.primary {
  background: var(--mint);
  color: #10262a;
  border-color: var(--mint);
}
.button.primary:hover {
  background: #b8f8ea;
}
.button.text {
  border: 0;
  padding-left: 0;
  color: var(--mint);
}
.hero-visual {
  position: relative;
  justify-self: center;
  width: min(100%, 590px);
}
.hero-visual svg {
  width: 100%;
  filter: drop-shadow(0 0 27px #509ca433);
}
.hero-visual text {
  font: 500 11px var(--mono);
  fill: #b6d7d4;
  letter-spacing: 0.1em;
}
.visual-caption {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #436368;
  padding-top: 11px;
  color: #92b8bb;
  font: 500 10px var(--mono);
  letter-spacing: 0.12em;
}
.visual-caption span {
  color: #698991;
}
.metrics {
  min-height: 117px;
  border-block: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.7fr;
  align-items: center;
  padding: 24px 5%;
  gap: 12px;
}
.metrics > div:not(:first-child) {
  border-left: 1px solid var(--border);
  padding-left: 40px;
}
.metrics strong {
  display: block;
  font: 600 30px/1.1 var(--display);
  color: #e7f8f0;
  letter-spacing: -0.05em;
}
.metrics span:not(.signal-dot) {
  display: block;
  color: #91a9aa;
  font-size: 12px;
  margin-top: 5px;
}
.metrics .metric-copy {
  font-size: 12px;
  color: #a8c3c3;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.6;
}
.metric-copy .signal-dot {
  height: 5px;
  width: 5px;
}
.explorer,
.routes,
.catalog {
  padding: 100px 5% 0;
  scroll-margin-top: 24px;
}
.explorer {
  padding-inline: clamp(12px, 1.5vw, 28px);
}
.section-top {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 37px;
}
.section-top h2 {
  font: 600 clamp(2rem, 3.2vw, 3.4rem) / 1.08 var(--display);
  letter-spacing: -0.05em;
  margin: 0 0 12px;
}
.section-top p:not(.eyebrow) {
  color: var(--subtle);
  margin: 0;
}
.section-index {
  color: #73969d;
  white-space: nowrap;
  margin-top: 3px;
}
.explorer-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.searchbox {
  height: 49px;
  min-width: 340px;
  max-width: 520px;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #3c5661;
  background: #13232b;
  padding: 0 15px;
  color: var(--mint);
}
.searchbox > span:first-child {
  font-size: 25px;
  line-height: 1;
}
.searchbox input,
.catalog-bar input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: white;
}
.searchbox input::placeholder,
.catalog-bar input::placeholder {
  color: #78939b;
}
.searchbox kbd {
  border: 1px solid #46616a;
  padding: 1px 6px;
  color: #799aa0;
  font: 11px var(--mono);
}
.filter-row {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.filter {
  background: transparent;
  color: #9bb3b5;
  border: 1px solid transparent;
  padding: 9px 10px;
  font: 500 12px var(--body);
}
.filter.active {
  background: #1e393d;
  border-color: #416568;
  color: var(--mint);
}
.filter:hover {
  color: var(--mint);
}
.search-results {
  position: absolute;
  z-index: 7;
  margin-top: -11px;
  width: min(520px, 90vw);
  background: #172932;
  border: 1px solid #4c757b;
  box-shadow: 0 20px 50px #0009;
  padding: 10px;
}
.search-meta {
  color: var(--mint);
  padding: 9px 12px;
}
.search-results button,
.catalog-items button {
  border: 0;
  background: transparent;
  color: var(--text);
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 10px 12px;
}
.search-results button:hover,
.catalog-items button:hover {
  background: #254047;
}
.search-results strong,
.catalog-items strong {
  display: block;
  font: 600 14px var(--display);
}
.search-results small,
.catalog-items small {
  display: block;
  color: #92abad;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 370px;
}
.result-dot,
.legend {
  height: 9px;
  width: 9px;
  border-radius: 50%;
  display: inline-block;
  flex: none;
  background: var(--mint);
}
.result-dot.vm,
.legend.vm {
  background: #f8bf80;
}
.result-dot.containerization,
.legend.containerization {
  background: #75e0d4;
}
.result-dot.docker,
.legend.docker {
  background: #86bff5;
}
.result-dot.kubernetes,
.legend.kubernetes {
  background: #c4b0fa;
}
.result-dot.source,
.legend.source {
  background: #839ba7;
}
.result-arrow {
  margin-left: auto;
  color: var(--mint);
}
.search-empty {
  color: var(--subtle);
  padding: 15px;
}
.explorer-grid {
  border: 1px solid #36515a;
  background: #0e1b23;
}
.map-panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: clamp(720px, 88vh, 1200px);
}
.panel-toolbar {
  height: 55px;
  border-bottom: 1px solid #29414b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  color: #a4c2c5;
  gap: 12px;
}
.panel-toolbar > span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.map-tools {
  display: flex;
  gap: 7px;
  flex: none;
}
.map-tools button {
  background: #183039;
  border: 1px solid #33535c;
  color: #b9d1d0;
  min-width: 28px;
  height: 28px;
  font: 500 11px var(--mono);
}
.map-tools button:hover {
  border-color: var(--mint);
}
.map-canvas {
  flex: 1;
  min-height: 0;
  position: relative;
  background: radial-gradient(
    circle at 48% 48%,
    #1b3741 0,
    #11252e 31%,
    #0b1921 75%
  );
  overflow: hidden;
}
.map-canvas:before {
  position: absolute;
  content: "";
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(#47687119 1px, transparent 1px),
    linear-gradient(90deg, #47687119 1px, transparent 1px),
    radial-gradient(#77a6a419 1px, transparent 1px);
  background-size:
    65px 65px,
    65px 65px,
    13px 13px;
}
.map-canvas canvas {
  width: 100%;
  height: 100%;
  min-height: 0;
  position: relative;
  touch-action: none;
  display: block;
}
.map-tooltip {
  position: absolute;
  z-index: 4;
  max-width: 235px;
  padding: 8px 12px;
  color: #e5f9f4;
  background: #112c35;
  border: 1px solid #79b4ac;
  border-radius: 6px;
  box-shadow: 0 8px 25px #0008;
  pointer-events: none;
  font-size: 12px;
}
.map-tooltip[hidden] {
  display: none;
}
.map-preview {
  position: absolute;
  z-index: 5;
  top: 18px;
  right: 18px;
  width: min(360px, calc(100% - 36px));
  max-height: calc(100% - 48px);
  overflow: auto;
  padding: 19px 20px;
  border: 1px solid #65918b;
  background: #10262bea;
  box-shadow: 0 14px 50px #0009;
  backdrop-filter: blur(14px);
  scrollbar-color: #456c6b transparent;
}
.map-preview[hidden] {
  display: none;
}
.preview-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.preview-heading button {
  border: 0;
  background: transparent;
  color: #bbd8d2;
  cursor: pointer;
  font-size: 23px;
  line-height: 1;
}
.preview-heading button:hover,
.preview-heading button:focus-visible {
  color: #fff;
}
.preview-kicker {
  color: var(--mint);
  font: 10px var(--mono);
  letter-spacing: 0.09em;
  margin: 21px 0 8px;
}
.map-preview h3 {
  font: 600 23px/1.14 var(--display);
  margin: 0 0 6px;
  overflow-wrap: anywhere;
}
.preview-id {
  font: 10px var(--mono);
  color: #8caeb0;
  overflow-wrap: anywhere;
  margin: 0 0 17px;
}
.preview-preface {
  color: #d5e7e3;
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 19px;
}
.preview-meta {
  display: flex;
  gap: 13px;
  border-top: 1px solid #36535a;
  padding-top: 12px;
  color: var(--mint);
  font: 11px var(--mono);
}
.preview-sources {
  color: #9fbab9;
  font-size: 11px;
  line-height: 1.5;
  margin: 12px 0 18px;
}
.preview-why {
  border-top: 1px solid #36535a;
  margin: 0 0 18px;
}
.dynamic-proof {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding: 16px;
  border: 1px solid #bb8461;
  background: linear-gradient(125deg, #47332b, #182c31);
  color: #f4e3cd;
}
.dynamic-proof .preview-kicker {
  margin: 0;
  color: #ffd09b;
}
.dynamic-proof strong {
  color: #fff;
  font: 600 16px/1.3 var(--display);
}
.dynamic-proof > span:not(.preview-kicker),
.dynamic-proof small {
  color: #d4c1ad;
  font: 10px/1.5 var(--mono);
}
.dynamic-proof b {
  display: block;
  padding: 9px 11px;
  border-left: 2px solid #ffae86;
  background: #0c1c26;
  color: #fff0c7;
  font: 500 13px/1.5 var(--mono);
  overflow-wrap: anywhere;
}
.dynamic-proof p {
  margin: 0;
  color: #f0e1d3;
  font-size: 11px;
  line-height: 1.55;
}
.dynamic-proof em {
  font-style: normal;
  color: #ffca9f;
  font-weight: 700;
}
.preview-why .preview-kicker {
  display: block;
  margin: 16px 0 7px;
}
.preview-why > p {
  color: #93b2b1;
  font: 10px/1.5 var(--mono);
  margin: 10px 0 0;
}
.preview-link {
  display: grid;
  gap: 5px;
  width: 100%;
  padding: 10px 4px;
  border: 0;
  border-bottom: 1px solid #36535a;
  background: transparent;
  color: #eaf8f4;
  text-align: left;
  cursor: pointer;
}
.preview-link:hover,
.preview-link:focus-visible {
  background: #224047;
  outline-color: var(--mint);
}
.preview-link-top,
.relation-style {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 10px var(--mono);
  color: #b5ced0;
}
.preview-link strong {
  font: 600 12px/1.3 var(--display);
}
.preview-link-reason {
  color: #cee2dd;
  font-size: 11px;
  line-height: 1.45;
}
.preview-link small {
  color: #91b2b2;
  font: 10px var(--mono);
}
.line-sample {
  display: inline-block;
  flex: none;
  overflow: visible;
}
#preview-read {
  width: 100%;
  cursor: pointer;
  border: 1px solid #79b9aa;
  background: #214940;
  color: #f0fff8;
  text-align: left;
  padding: 11px 13px;
  font: 600 12px var(--body);
}
#preview-read:hover,
#preview-read:focus-visible {
  background: #2b6152;
}
.map-hint {
  position: absolute;
  bottom: 14px;
  left: 18px;
  color: #75969e;
  pointer-events: none;
}
.map-footer {
  min-height: 56px;
  border-top: 1px solid #29414b;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 18px;
  color: #a6bdc0;
  flex-wrap: wrap;
}
.map-footer span {
  white-space: nowrap;
}
.map-footer .legend {
  margin-right: 6px;
}
.map-count {
  margin-left: auto;
  color: #7298a0;
}
.domain-key,
.relation-key-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}
.domain-key {
  padding: 9px 0;
}
.key-title {
  color: #b7dcd2;
  font: 600 10px var(--mono);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.domain-item,
.relation-key-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #b5cbcc;
  font: 10px var(--mono);
  white-space: nowrap;
}
.domain-item i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--domain-color);
  box-shadow: 0 0 9px var(--domain-color);
}
.layer-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid #29414b;
  border-radius: 999px;
  background: transparent;
  color: #b5cbcc;
  font: 10px var(--mono);
  white-space: nowrap;
  cursor: pointer;
}
.layer-toggle i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--domain-color);
}
.layer-toggle[aria-pressed="false"] {
  opacity: 0.4;
}
.layer-toggle[aria-pressed="false"] i {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--domain-color);
}
.layer-toggle:hover,
.layer-toggle:focus-visible {
  border-color: #6f8f97;
  opacity: 1;
}
.layer-count {
  color: #6f8f97;
}
.layer-all {
  color: #d5ff70;
}
.relation-key {
  padding: 10px 18px;
  border-top: 1px solid #29414b;
  background: #10252d;
}
.relation-key summary {
  cursor: pointer;
}
.relation-key-items {
  gap: 8px 22px;
  margin-top: 10px;
}
.relation-key-item {
  gap: 8px;
}
.key-note {
  font: 10px/1.5 var(--mono);
  color: #90aeb0;
}
.inspector {
  border-top: 1px solid #36515a;
  min-width: 0;
  scroll-margin-top: 18px;
}
.inspector-empty {
  padding: 43px 28px;
}
.inspector-orbit {
  display: inline-grid;
  place-items: center;
  border: 1px solid #385b66;
  border-radius: 50%;
  width: 88px;
  height: 88px;
  font: 44px var(--display);
  color: var(--mint);
  margin: 23px 0 32px;
  box-shadow:
    0 0 0 20px #1b394129,
    0 0 0 40px #1b394118;
}
.inspector-empty h3,
.inspector-content h3 {
  font: 600 29px/1.12 var(--display);
  letter-spacing: -0.04em;
}
.inspector-empty p:not(.eyebrow),
.inspector-section > p {
  color: #a1b7b9;
  line-height: 1.7;
  font-size: 13px;
}
.starter-links {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 33px;
  display: grid;
}
.starter-links button {
  color: var(--mint);
  text-align: left;
  background: none;
  border: 0;
  padding: 10px 0;
  font-size: 13px;
}
.inspector-content {
  padding: clamp(28px, 4vw, 65px);
  max-width: 1280px;
  margin: 0 auto;
}
.inspector-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin-bottom: 19px;
}
.label-chip {
  color: #b9e5e2;
  background: #214047;
  border: 1px solid #427178;
  padding: 5px 8px;
  font: 11px var(--mono);
}
.label-chip.thermo {
  color: var(--amber);
  background: #422f28;
  border-color: #755345;
}
.label-chip.chemistry {
  color: var(--violet);
  background: #2e2d45;
  border-color: #595681;
}
.record-number {
  color: #7f9fa3;
}
.inspector-content h3 {
  margin: 0 0 6px;
  overflow-wrap: anywhere;
}
.inspector-id {
  color: #829ca3;
  margin: 0 0 8px;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.clear-focus {
  background: transparent;
  border: 1px solid #426168;
  color: #bce5dc;
  font: 11px var(--mono);
  padding: 7px 10px;
  margin: 0 0 22px;
  cursor: pointer;
}
.clear-focus:hover,
.clear-focus:focus-visible {
  border-color: var(--mint);
}
.clear-focus kbd {
  margin-left: 8px;
  color: #8caeb0;
}
.insight {
  display: flex;
  gap: 13px;
  border: 1px solid #4a786f;
  background: #19372f;
  padding: 15px;
  margin-bottom: 26px;
}
.insight-icon {
  color: var(--mint);
  font-size: 22px;
  line-height: 1;
}
.insight strong {
  color: var(--mint);
}
.insight p {
  font-size: 13px;
  margin: 7px 0 0;
  color: #e0eee7;
  line-height: 1.65;
}
.inspector-section {
  padding: 20px 0;
  border-top: 1px solid var(--border);
}
.inspector-section h4 {
  color: #d5e8e5;
  margin: 0 0 13px;
  display: flex;
  justify-content: space-between;
}
.inspector-section h4 span {
  color: #92aeae;
}
.inspector-section > p {
  margin-bottom: 0;
}
.inspector-section .example {
  margin-top: 14px;
  color: #c6dad0;
}
.inspector-section .example b {
  color: var(--mint);
}
.inspector-section .provenance-warning {
  color: var(--amber);
}
.source-variant {
  padding: 14px 0;
  border-top: 1px solid #314b52;
}
.source-variant h5 {
  margin: 0 0 5px;
  color: var(--mint);
  font-size: 13px;
}
.perspective {
  border-left: 2px solid #527b79;
  padding: 5px 0 8px 12px;
  margin: 10px 0;
  line-height: 1.5;
  font-size: 12px;
}
.perspectives-grid,
.source-record-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(15px, 2vw, 32px);
}
.source-record-grid .source-variant {
  border: 1px solid #31505a;
  background: #142a31;
  padding: 22px;
  min-width: 0;
  align-self: start;
}
.perspective strong {
  display: block;
  color: #a7dad3;
  margin-bottom: 4px;
}
.inspector-section h5 {
  color: #c8ddda;
  font-size: 11px;
  text-transform: uppercase;
  margin: 22px 0 9px;
}
.perspective-link {
  width: 100%;
  display: block;
  text-align: left;
  background: transparent;
  border: 0;
  border-top: 1px solid #30505a;
  color: #bce5dc;
  padding: 10px 3px;
  font-size: 12px;
  cursor: pointer;
}
.perspective-link small {
  display: block;
  color: #9fb8b8;
  margin-top: 5px;
  line-height: 1.45;
}
.perspective-link:hover {
  background: #1d353d;
}
.source-variant a {
  color: var(--mint);
}
.source-file,
.connection-note {
  color: #92aaae;
  font-size: 11px;
  overflow-wrap: anywhere;
}
.source-field {
  padding: 9px 0;
  border-top: 1px solid #294048;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.source-field strong {
  display: block;
  margin-bottom: 5px;
  color: #a9c8c8;
}
.value-list {
  padding-left: 18px;
  margin: 6px 0;
}
.value-list li {
  padding: 2px 0;
}
.value-object {
  margin: 8px 0;
  padding-left: 11px;
  border-left: 1px solid #395d61;
}
.value-object div {
  padding: 4px 0;
}
.value-object dt {
  color: #a1c5c0;
  font-size: 11px;
}
.value-object dd {
  margin: 3px 0 0;
}
.field-empty {
  color: #84a0a4;
  font-style: italic;
}
.field-value {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 11px/1.6 var(--mono);
}
.claim-list {
  border-left: 2px solid #668e8a;
  padding-left: 12px;
  font-size: 11px;
}
.claim {
  padding: 6px 0;
}
.claim p {
  margin: 5px 0;
}
.claim small {
  color: #8facb4;
  overflow-wrap: anywhere;
}
.related-material {
  border: 1px solid #31505a;
  margin: 14px 0;
  padding: 10px 12px;
}
.related-material summary {
  color: #bce5dc;
  cursor: pointer;
  font-size: 12px;
}
.study-record {
  border-top: 1px solid #31505a;
  margin-top: 10px;
  padding: 10px 0;
}
.study-record h6 {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--mint);
}
.study-sequence {
  line-height: 2;
  font-size: 12px;
  color: #c3d5d2;
}
.study-sequence button {
  background: transparent;
  border: 0;
  color: var(--mint);
  text-decoration: underline;
  cursor: pointer;
}
.document-context {
  margin-top: 12px;
  border: 1px solid #315057;
  padding: 9px;
}
.document-context summary {
  cursor: pointer;
  color: #bce5dc;
  font-size: 11px;
}
.document-context pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 470px;
  overflow: auto;
  font: 11px/1.55 var(--mono);
}
.relation-entry {
  border-bottom: 1px solid #284048;
}
.relation-entry button {
  border-bottom: 0;
}
.relation-proof {
  color: #89aaa8;
  font-size: 11px;
  padding: 0 4px 10px 37px;
  overflow-wrap: anywhere;
}
.relation-proof p {
  margin: 5px 0;
}
.neighbor-description {
  color: #c3d5d2;
  line-height: 1.5;
}
.relation-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.relation-entry {
  border: 1px solid #31505a;
  padding: 8px 12px;
  background: #12262e;
  min-width: 0;
}
.relation-list button {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 11px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #284048;
  background: transparent;
  color: var(--text);
  padding: 11px 2px;
}
.relation-list button:hover {
  background: #1d353d;
}
.relation-list small,
.relation-list strong {
  display: block;
  line-height: 1.4;
}
.relation-list small {
  font-size: 11px;
  color: #91a9ad;
}
.relation-style {
  display: flex;
  margin-bottom: 4px;
}
.relation-list strong {
  font: 600 13px var(--display);
}
.relation-direction,
.relation-arrow {
  color: var(--mint);
  font: 14px var(--mono);
}
.relation-arrow {
  margin-left: auto;
}
.overflow-note {
  font: 11px var(--mono);
  color: var(--subtle);
}
.inspector-section .source-labels {
  color: var(--mint);
  margin-bottom: 12px;
}
.raw-record {
  border: 1px solid var(--border);
  padding: 10px 12px;
}
.raw-record summary {
  cursor: pointer;
  font: 12px var(--mono);
  color: #b3d4d3;
  display: flex;
  justify-content: space-between;
}
.raw-record pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 11px/1.55 var(--mono);
  color: #b9c8ce;
  max-height: 420px;
  overflow: auto;
}
.routes {
  padding-top: 128px;
}
.route-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.route-card {
  border: 1px solid #3b565d;
  background: linear-gradient(145deg, #142832, #0c1b23);
  color: var(--text);
  text-align: left;
  padding: 20px;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.route-card:hover {
  transform: translateY(-5px);
  border-color: var(--mint);
}
.route-top,
.route-bottom {
  display: flex;
  justify-content: space-between;
  color: #a8c0c1;
}
.route-top span:last-child {
  font-size: 18px;
  color: var(--mint);
}
.route-art {
  height: 63px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}
.route-art:before {
  content: "";
  position: absolute;
  left: 7px;
  right: 12px;
  top: 50%;
  height: 1px;
  background: #557177;
}
.route-art i {
  height: 13px;
  width: 13px;
  background: var(--mint);
  border: 3px solid #152d34;
  border-radius: 50%;
  position: relative;
  z-index: 1;
}
.route-card.amber .route-art i {
  background: var(--amber);
}
.route-card.violet .route-art i {
  background: var(--violet);
}
.route-card.cyan .route-art i {
  background: var(--cyan);
}
.route-card strong {
  font: 600 23px/1.2 var(--display);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.route-subtitle {
  font-size: 13px;
  color: #a4bbbd;
  line-height: 1.5;
}
.route-bottom {
  margin-top: auto;
  padding-top: 22px;
  font-size: 10px;
  border-top: 1px solid #2e4851;
  margin-top: 20px;
}
.route-bottom span {
  color: var(--mint);
}
.route-detail {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 25px;
  border: 1px solid #476d70;
  background: #153038;
  margin-top: 18px;
  padding: 35px;
}
.route-detail h3 {
  font: 600 33px var(--display);
  margin-bottom: 8px;
}
.route-detail p:not(.eyebrow) {
  color: #c5d8d5;
  max-width: 600px;
}
.route-detail small {
  color: #a5c6c4;
}
.route-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 25px;
}
.button.outline {
  background: transparent;
  border-color: #658b88;
}
.route-progress {
  display: grid;
  gap: 3px;
}
.route-progress > span {
  color: var(--mint);
  margin-bottom: 6px;
}
.route-progress button {
  text-align: left;
  background: #1a3840;
  border: 1px solid transparent;
  color: #abc7c5;
  padding: 8px 12px;
  font: 12px var(--body);
}
.route-progress button.current {
  border-color: var(--mint);
  color: white;
}
.route-progress button b {
  color: var(--mint);
  font: 11px var(--mono);
  margin-right: 15px;
}
.catalog {
  padding-top: 128px;
  padding-bottom: 120px;
}
.catalog-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr;
  gap: 18px;
}
.catalog-list,
.source-card {
  border: 1px solid var(--border);
  background: #101f27;
}
.catalog-bar {
  height: 60px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 18px;
  color: var(--mint);
}
.catalog-bar input {
  border: 1px solid #39555b;
  background: #152c34;
  height: 35px;
  padding: 0 10px;
  max-width: 270px;
}
.catalog-bar span {
  margin-left: auto;
  color: #809da3;
  white-space: nowrap;
}
.catalog-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 4px;
  padding: 11px;
  max-height: 580px;
  overflow: auto;
  scrollbar-color: #3c5f63 transparent;
}
.catalog-items button {
  border-bottom: 1px solid #253c45;
}
.catalog-items small {
  max-width: 235px;
}
.catalog-items button > span:last-child {
  margin-left: auto;
  color: var(--mint);
}
.button.more {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--border);
  background: transparent;
  color: var(--mint);
  padding: 16px;
}
.source-card {
  padding: 31px;
}
.source-glyph {
  font: 600 52px var(--mono);
  color: var(--mint);
  margin-bottom: 12px;
}
.source-card h3 {
  font: 600 30px var(--display);
  letter-spacing: -0.04em;
  margin: 0 0 12px;
}
.source-card > p:not(.eyebrow) {
  color: #9db7b8;
  font-size: 13px;
  line-height: 1.7;
}
.source-links {
  border-top: 1px solid #36525b;
  margin-top: 20px;
}
.source-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid #36525b;
  padding: 13px 0;
  color: #d3eae3;
  font: 11px/1.5 var(--mono);
}
.source-links a:hover {
  color: var(--mint);
}
.source-links a span:first-child {
  overflow-wrap: anywhere;
}
.source-card .source-foot {
  font-size: 10px;
  color: #769499;
  margin-top: 22px;
}
.footer {
  border-top: 1px solid var(--border);
  padding: 31px 5% 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #8faeae;
  font-size: 12px;
}
.footer a:last-child {
  color: var(--mint);
}
@media (max-width: 1120px) {
  .top-nav {
    display: none;
  }
  .nav-tag {
    margin-left: auto;
  }
  .route-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero h1 {
    font-size: clamp(3.2rem, 5.5vw, 5rem);
  }
  .map-footer {
    gap: 10px;
    font-size: 10px;
  }
}
@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 75px;
    padding-bottom: 52px;
  }
  .hero-visual {
    max-width: 500px;
  }
  .metrics {
    grid-template-columns: repeat(3, 1fr);
  }
  .metrics .metric-copy {
    grid-column: 1/-1;
    border-left: 0;
    padding-left: 0;
  }
  .map-panel {
    height: clamp(690px, 88vh, 920px);
  }
  .map-canvas,
  .map-canvas canvas {
    min-height: 0;
  }
  .inspector {
    border-top: 1px solid var(--border);
  }
  .relation-list {
    grid-template-columns: 1fr;
  }
  .perspectives-grid,
  .source-record-grid {
    grid-template-columns: 1fr;
  }
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  .source-card {
    order: -1;
  }
  .route-detail {
    grid-template-columns: 1fr;
  }
  .explorer,
  .routes,
  .catalog {
    padding-top: 80px;
  }
}
@media (max-width: 570px) {
  .topbar {
    height: 70px;
  }
  .brand {
    font-size: 13px;
  }
  .nav-tag {
    font-size: 9px;
    padding: 6px;
  }
  .hero {
    padding-top: 63px;
  }
  .hero h1 {
    font-size: clamp(3rem, 12vw, 4rem);
  }
  .hero-lead {
    font-size: 15px;
  }
  .hero-visual {
    margin-top: 5px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
    padding-top: 23px;
    padding-bottom: 23px;
    gap: 23px;
  }
  .metrics > div:not(:first-child) {
    padding-left: 16px;
  }
  .metrics > div:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
  .metrics .metric-copy {
    padding-left: 0;
  }
  .section-top h2 {
    font-size: 2.1rem;
  }
  .section-index {
    display: none;
  }
  .explorer-controls {
    display: block;
  }
  .searchbox {
    min-width: 0;
    width: 100%;
    margin-bottom: 12px;
  }
  .filter-row {
    gap: 0;
  }
  .filter {
    font-size: 11px;
    padding: 7px;
  }
  .map-canvas,
  .map-canvas canvas {
    min-height: 0;
  }
  .map-panel {
    height: clamp(730px, 95vh, 1050px);
  }
  .map-preview {
    top: auto;
    bottom: 12px;
    right: 12px;
    width: min(320px, calc(100% - 24px));
    max-height: min(65%, 390px);
  }
  .panel-toolbar {
    font-size: 9px;
  }
  .map-hint {
    font-size: 8px;
  }
  .map-footer {
    height: auto;
    padding: 12px;
    gap: 9px;
  }
  .map-footer .map-count {
    width: 100%;
    margin-left: 0;
  }
  .relation-key {
    display: block;
    padding: 10px 12px;
  }
  .relation-key-items {
    margin-top: 8px;
    gap: 7px 13px;
  }
  .route-list {
    grid-template-columns: 1fr;
  }
  .route-card {
    min-height: 235px;
  }
  .catalog-items {
    grid-template-columns: 1fr;
  }
  .catalog-bar {
    gap: 7px;
  }
  .catalog-bar label {
    display: none;
  }
  .catalog-bar span {
    font-size: 9px;
  }
  .catalog-bar input {
    max-width: 190px;
  }
  .footer {
    flex-wrap: wrap;
  }
  .footer > a {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* DADA / developer workbench: a restrained instrument, not a marketing skin. */
:root {
  --bg: #101211;
  --panel: #161a17;
  --panel-2: #1e241f;
  --border: #343c34;
  --subtle: #a8b1a5;
  --text: #eaf0e7;
  --mint: #d5ff70;
  --cyan: #8cd0ef;
  --violet: #c8b6ff;
  --amber: #f4c482;
  --mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  --display: var(--mono);
  --body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
html {
  scroll-padding-top: 20px;
}
body {
  font-size: 14px;
}
.site-shell {
  background: var(--bg);
  overflow: clip;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 100;
  background: var(--mint);
  color: var(--bg);
  padding: 12px;
}
.skip-link:focus {
  top: 12px;
}
.topbar,
.hero,
.metrics,
.explorer,
.routes,
.catalog,
.footer {
  max-width: 1600px;
}
.topbar {
  height: 68px;
  padding: 0 3%;
  gap: 32px;
  border-color: var(--border);
}
.brand {
  font: 600 17px var(--mono);
  letter-spacing: -0.06em;
  gap: 10px;
}
.brand-mark {
  transform: none;
  width: 22px;
  height: 22px;
}
.top-nav {
  gap: 26px;
}
.top-nav a {
  font: 12px var(--mono);
  color: var(--subtle);
}
.nav-tag {
  font-size: 10px;
  color: var(--subtle);
}
.signal-dot {
  background: var(--mint);
  box-shadow: none;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 6%;
  padding: 48px 3% 38px;
  align-items: center;
  min-height: 0;
}
.eyebrow {
  font: 10px/1.6 var(--mono);
  letter-spacing: 0.13em;
  color: var(--subtle);
  margin: 0 0 16px;
}
.terminal-prompt {
  font-size: 16px;
  color: var(--mint);
  margin-right: 8px;
}
h1 {
  font: 500 clamp(28px, 3.25vw, 50px)/1.15 var(--mono);
  letter-spacing: -0.065em;
  margin: 0 0 18px;
}
h1 em {
  font-style: normal;
  color: var(--mint);
}
.hero-lead {
  font-size: 14px;
  max-width: 520px;
  color: var(--subtle);
  line-height: 1.7;
  margin: 0;
}
.hero-actions {
  gap: 12px;
  margin-top: 23px;
}
.button {
  border-radius: 3px;
  font: 12px var(--mono);
  min-height: 42px;
  padding: 12px 17px;
}
.button.primary {
  background: var(--mint);
  color: #15200b;
  border: 1px solid var(--mint);
  box-shadow: none;
}
.button.primary:hover {
  background: #e1ff9d;
}
.button.text {
  color: var(--text);
  font-size: 11px;
  padding-left: 8px;
}
.terminal-card {
  border: 1px solid var(--border);
  background: #0c0f0d;
  border-radius: 5px;
  box-shadow: 6px 6px 0 #1a2019;
  min-width: 0;
}
.terminal-title {
  height: 37px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1c211c;
  border-bottom: 1px solid var(--border);
  padding: 0 15px;
  color: var(--subtle);
  font: 10px var(--mono);
}
.terminal-title i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  margin-right: 9px;
}
.terminal-body {
  padding: 17px 20px 13px;
  font: 11px/1.6 var(--mono);
}
.code-comment {
  color: #a0a99c;
  margin: 0 0 10px;
}
.query-line {
  color: #e0e9da;
  overflow-wrap: anywhere;
  font-size: 12px;
  margin: 0 0 14px;
}
.code-keyword {
  color: var(--violet);
}
.code-accent {
  color: var(--mint);
}
.quick-relations {
  display: grid;
  gap: 3px;
}
.quick-relations button {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 8px;
  text-align: left;
  background: transparent;
  border: 0;
  border-top: 1px solid #252d25;
  padding: 9px 0;
  color: var(--text);
  font: 11px/1.5 var(--mono);
  align-items: center;
  min-height: 38px;
}
.quick-relations button:hover {
  background: #1c281b;
}
.quick-relations .line-no {
  color: #8b9785;
}
.quick-relations .query-relation {
  color: #b7c5ae;
  font-size: 10px;
}
.query-provenance {
  color: var(--mint);
  font-size: 9px;
}
.terminal-end {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  color: #a1ac9c;
  font-size: 9px;
}
.terminal-end kbd {
  margin-left: auto;
  font: inherit;
}
.metrics {
  margin: 0 3%;
  max-width: none;
  border-block: 1px solid var(--border);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.5fr;
  background: transparent;
}
.metrics > div {
  padding: 17px 20px;
  border-right: 1px solid var(--border);
  gap: 9px;
  display: flex;
  align-items: baseline;
}
.metrics > div:first-child {
  padding-left: 0;
}
.metrics strong {
  font: 500 23px var(--mono);
  color: var(--text);
}
.metrics span {
  font: 10px/1.5 var(--mono);
  color: var(--subtle);
}
.metrics .metric-copy {
  border: 0;
  font-size: 10px;
  align-items: center;
}
.metrics .metric-copy .signal-dot {
  flex: 0 0 5px;
}
.explorer,
.routes,
.catalog {
  padding: 34px 3% 0;
}
.section-top {
  margin-bottom: 19px;
  align-items: flex-end;
}
.section-top .eyebrow {
  margin-bottom: 8px;
}
.section-top h2 {
  font: 500 22px/1.3 var(--mono);
  letter-spacing: -0.045em;
  margin: 0 0 8px;
}
.section-top p:not(.eyebrow) {
  font-size: 12px;
  max-width: 760px;
  color: var(--subtle);
  margin: 0;
}
.section-index {
  font-size: 11px;
  color: #8e9d84;
}
.explorer-controls {
  gap: 16px;
  margin-bottom: 16px;
}
.searchbox {
  height: 46px;
  background: #181e18;
  border: 1px solid #495641;
  border-radius: 3px;
  flex: 1;
}
.searchbox input {
  font: 12px var(--mono);
  color: var(--text);
}
input::placeholder {
  color: #a7b19f;
}
.searchbox > span {
  color: var(--mint);
}
.filter-row {
  gap: 5px;
}
.filter {
  font: 10px var(--mono);
  border-radius: 3px;
  padding: 10px 12px;
  background: #181e18;
  color: var(--subtle);
  border-color: var(--border);
  min-height: 40px;
}
.filter.active {
  background: #26331b;
  color: var(--mint);
  border-color: #637b3e;
}
.search-results {
  z-index: 20;
  background: var(--panel);
  border: 1px solid var(--border);
}
.search-results strong {
  font-family: var(--mono);
}
.search-results small {
  color: var(--subtle);
}
.workspace-tabs {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-bottom: 0;
  background: #0c0f0d;
  min-height: 40px;
  font: 10px var(--mono);
  color: var(--subtle);
}
.workspace-tabs > a,
.workspace-tabs > .active {
  padding: 13px 20px;
  border-right: 1px solid var(--border);
}
.workspace-tabs > .active {
  border-top: 2px solid var(--mint);
  color: var(--mint);
  background: var(--panel);
}
.workspace-tabs > a:hover {
  color: var(--mint);
}
.workspace-language {
  margin-left: auto;
  padding-right: 16px;
  font-size: 9px;
}
.explorer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 0;
  align-items: stretch;
  border: 1px solid var(--border);
}
.map-panel {
  min-width: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #101510;
  overflow: hidden;
}
.panel-toolbar {
  height: 44px;
  min-height: 44px;
  padding: 0 14px;
  background: #171d17;
  border-color: var(--border);
  font-size: 9px;
}
.map-tools {
  gap: 4px;
}
.map-tools button {
  min-height: 30px;
  border-radius: 2px;
  background: #202920;
  border-color: var(--border);
  color: var(--text);
}
.map-canvas {
  height: 490px;
  min-height: 0;
  background: radial-gradient(#364032 1px, transparent 1px);
  background-size: 20px 20px;
}
.map-canvas:before,
.map-canvas:after {
  display: none;
}
#network {
  height: 100%;
  width: 100%;
  display: block;
  touch-action: none;
}
.map-hint {
  font-size: 8px;
  letter-spacing: 0.04em;
  padding: 8px 10px;
  background: #101510ed;
  color: #b1bfa9;
  bottom: 10px;
}
.map-footer {
  padding: 12px 14px;
  background: #141b14;
  border-color: var(--border);
  gap: 10px;
  flex-wrap: wrap;
}
.map-count {
  font-size: 9px;
  color: var(--subtle);
}
.domain-key {
  gap: 10px;
}
.domain-item {
  font-size: 9px;
}
.key-title {
  font-size: 8px;
  color: #adbba6;
}
.relation-key {
  background: #171d17;
  padding: 12px 14px;
  border-color: var(--border);
}
.relation-key-items {
  gap: 8px 14px;
}
.relation-key-item {
  font-size: 9px;
}
.key-note {
  font-size: 10px;
  color: #a5b19f;
}
.connection-pane {
  border-left: 1px solid var(--border);
  background: var(--panel);
  min-width: 0;
  max-height: 738px;
  overflow: auto;
  scrollbar-color: #4c5c43 #171d17;
}
.pane-title {
  height: 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 18px;
  border-bottom: 1px solid var(--border);
  font: 9px var(--mono);
  color: var(--subtle);
}
.selection-empty {
  padding: 25px 22px;
  color: var(--subtle);
}
.empty-code {
  font: 42px var(--mono);
  color: #b4c3a8;
  display: block;
  padding: 18px 0 28px;
}
.selection-empty h3 {
  font: 17px var(--mono);
  color: var(--text);
  line-height: 1.4;
}
.selection-empty p {
  font-size: 12px;
}
.quick-starts {
  display: grid;
  margin: 24px 0;
}
.quick-starts button {
  display: flex;
  justify-content: space-between;
  color: var(--text);
  font: 12px var(--mono);
  background: none;
  border: 0;
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  text-align: left;
}
.quick-starts button:hover {
  color: var(--mint);
}
.shortcut-help {
  display: flex;
  gap: 9px;
  align-items: center;
}
.shortcut-help kbd {
  border: 1px solid var(--border);
  padding: 2px 5px;
}
.connection-pane .map-preview {
  position: static;
  inset: auto;
  width: auto;
  max-width: none;
  max-height: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  padding: 18px;
  overflow: visible;
}
.map-preview h3 {
  font: 500 25px var(--mono);
  letter-spacing: -0.05em;
}
.map-preview p {
  color: #b9c4b2;
}
.preview-id {
  font-size: 10px;
  color: var(--mint) !important;
}
.preview-heading {
  gap: 8px;
}
.preview-meta {
  font-size: 10px;
}
.preview-preface {
  font-size: 12px;
  line-height: 1.65;
}
.preview-link {
  background: #1d251c;
  border-color: #3b4935;
  border-radius: 3px;
  padding: 10px;
}
.preview-link:hover {
  background: #293524;
}
.preview-link strong {
  font: 12px var(--mono);
  color: var(--text);
}
.preview-link-reason {
  font-size: 11px;
  color: #c2ccb9;
}
.preview-link small {
  color: #aebca4;
}
.preview-kicker {
  font-size: 9px;
  color: #a8b69e;
}
.dynamic-proof {
  background: #192718;
  border-color: #4e6940;
}
.dynamic-proof p {
  font-size: 11px;
}
.preview-link-top {
  font-size: 9px;
}
#preview-read {
  background: var(--mint);
  color: #15200b;
  border: 0;
  border-radius: 3px;
  min-height: 40px;
}
.connection-trail {
  background: #d5ff70;
  color: #203017;
  font: 10px/1.6 var(--mono);
  padding: 10px 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.connection-trail > span {
  font-weight: 700;
}
.connection-trail button {
  background: none;
  border: 0;
  border-bottom: 1px solid #758e4a;
  color: inherit;
  font: inherit;
  padding: 2px 0;
}
.inspector {
  margin-top: 24px;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--panel);
  max-height: none;
  overflow: visible;
}
.inspector-empty {
  padding: 22px 25px;
  display: block;
}
.inspector-orbit {
  display: none;
}
.inspector-empty h3 {
  font-size: 19px;
}
.inspector-empty p {
  max-width: 700px;
}
.inspector-content {
  padding: 25px;
}
.inspector h3 {
  font-family: var(--mono);
  font-size: 27px;
}
.inspector-section {
  border-color: var(--border);
}
.source-record-grid,
.perspectives-grid {
  gap: 15px;
}
.source-variant,
.perspective,
.relation-entry {
  background: #1a2119;
  border-color: var(--border);
  border-radius: 3px;
}
.source-field,
.relation-proof {
  overflow-wrap: anywhere;
}
.relation-entry button {
  color: var(--text);
}
.source-file,
.source-foot,
.connection-note {
  color: var(--subtle);
}
.relation-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.relation-proof {
  font-size: 12px;
}
.inspector-id {
  color: var(--mint);
}
.label-chip {
  border-radius: 2px;
}
.source-field strong,
.source-field div {
  color: var(--subtle);
}
.source-field strong {
  color: #d7e2ce;
}
.inspector-section details {
  background: #111710;
}
.raw-record pre,
.document-raw pre {
  background: #0c0f0d;
  color: #d0dfbf;
  max-height: 450px;
  overflow: auto;
}
.record-number {
  color: #b4c3a8;
}
.clear-focus {
  color: var(--subtle);
}
.routes,
.catalog {
  padding-top: 60px;
}
.route-list {
  gap: 12px;
}
.route-card {
  background: #181e18;
  border: 1px solid var(--border);
  border-radius: 3px;
  box-shadow: none;
  padding: 20px;
}
.route-card:hover {
  background: #202a1e;
  border-color: #79935d;
  transform: none;
}
.route-card strong {
  font: 500 16px/1.4 var(--mono);
}
.route-top,
.route-bottom {
  font-size: 9px;
  color: var(--subtle);
}
.route-art {
  height: 33px;
}
.route-subtitle {
  font-size: 12px;
  color: var(--subtle);
}
.route-detail {
  background: var(--panel);
  border-color: var(--border);
  border-radius: 3px;
}
.route-progress button {
  background: #1d251a;
  color: var(--text);
}
.catalog-layout {
  gap: 22px;
}
.catalog-list,
.source-card {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 3px;
}
.catalog-bar {
  background: #20281d;
  border-color: var(--border);
}
.catalog-bar input {
  font: 11px var(--mono);
  background: #111710;
  color: var(--text);
  border-color: var(--border);
}
.catalog-items button {
  background: none;
  border-color: var(--border);
  min-height: 62px;
}
.catalog-items button:hover {
  background: #283421;
}
.catalog-items strong {
  font: 12px var(--mono);
  color: var(--text);
}
.catalog-items small {
  color: var(--subtle);
}
.source-card {
  background: #1a2217;
}
.source-glyph {
  color: var(--mint);
  font-family: var(--mono);
}
.source-card h3 {
  font-family: var(--mono);
  font-size: 24px;
}
.source-card p {
  color: var(--subtle);
}
.source-links a {
  font-size: 11px;
  overflow-wrap: anywhere;
  color: #d1e0c4;
  border-color: #3e4b37;
}
.footer {
  padding: 42px 3%;
  margin-top: 52px;
  border-color: var(--border);
  font: 10px var(--mono);
  color: var(--subtle);
}
.more {
  color: var(--mint);
  border-color: var(--border);
  background: #182115;
}
.search-meta {
  color: var(--subtle);
}
@media (min-width: 1600px) {
  .metrics {
    max-width: 1504px;
    margin-inline: auto;
  }
}
@media (max-width: 1100px) {
  .nav-tag {
    display: none;
  }
  .hero {
    gap: 25px;
  }
  .explorer-controls {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-row {
    flex-wrap: wrap;
  }
  .searchbox {
    flex: none;
  }
  .explorer-grid {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
  .metrics {
    grid-template-columns: repeat(3, 1fr);
  }
  .metrics .metric-copy {
    grid-column: 1/-1;
    padding: 10px 0;
    border-top: 1px solid var(--border);
  }
  .metrics > div:nth-child(3) {
    border-right: 0;
  }
  .workspace-language {
    display: none;
  }
}
@media (max-width: 760px) {
  .topbar {
    height: auto;
    min-height: 66px;
    padding: 16px 5%;
    gap: 18px;
    flex-wrap: wrap;
  }
  .top-nav {
    gap: 18px;
  }
  .top-nav a {
    font-size: 10px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 32px 5%;
    gap: 28px;
  }
  .hero h1 {
    font-size: clamp(25px, 6vw, 40px);
  }
  .hero-lead {
    font-size: 13px;
  }
  .terminal-body {
    padding: 15px;
  }
  .terminal-card {
    box-shadow: 4px 4px 0 #20271e;
  }
  .metrics {
    margin-inline: 5%;
  }
  .metrics > div {
    padding: 14px 10px;
    display: block;
  }
  .metrics strong {
    font-size: 22px;
    display: block;
  }
  .metrics span {
    font-size: 9px;
  }
  .metrics .metric-copy {
    display: flex;
  }
  .explorer,
  .routes,
  .catalog {
    padding-inline: 5%;
  }
  .section-top h2 {
    font-size: 20px;
  }
  .section-index {
    display: none;
  }
  .workspace-tabs {
    flex-wrap: wrap;
  }
  .workspace-tabs > a,
  .workspace-tabs > .active {
    padding: 12px 10px;
    font-size: 9px;
  }
  .explorer-grid {
    grid-template-columns: 1fr;
  }
  .connection-pane {
    border-left: 0;
    border-top: 1px solid var(--border);
    max-height: none;
  }
  .map-canvas {
    height: 390px;
  }
  .map-hint {
    font-size: 7px;
    max-width: 90%;
    white-space: normal;
  }
  .map-footer {
    align-items: flex-start;
  }
  .map-count {
    white-space: normal;
  }
  .selection-empty {
    padding: 20px;
  }
  .empty-code {
    display: none;
  }
  .quick-starts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 20px;
    margin: 12px 0;
  }
  .connection-pane .map-preview {
    padding: 20px;
  }
  .preview-why {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .preview-why > .preview-kicker,
  .preview-why > p {
    grid-column: 1/-1;
  }
  .preview-link {
    margin: 0;
  }
  .relation-list {
    grid-template-columns: 1fr;
  }
  .source-record-grid,
  .perspectives-grid {
    grid-template-columns: 1fr;
  }
  .inspector-content {
    padding: 18px;
  }
  .route-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .route-card {
    padding: 15px;
  }
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  .catalog-bar {
    flex-wrap: wrap;
    gap: 10px;
  }
  .catalog-bar input {
    width: 100%;
    flex-basis: 100%;
    order: 3;
  }
  .footer {
    padding-inline: 5%;
    gap: 20px;
    flex-wrap: wrap;
  }
  .hero-actions {
    flex-wrap: wrap;
  }
  .terminal-end kbd {
    font-size: 8px;
  }
}
@media (max-width: 420px) {
  .top-nav {
    width: 100%;
    margin: 0;
    justify-content: space-between;
  }
  .brand {
    font-size: 17px;
  }
  .route-list {
    grid-template-columns: 1fr;
  }
  .preview-why {
    grid-template-columns: 1fr;
  }
  .filter {
    font-size: 9px;
    padding: 10px;
  }
  .panel-toolbar {
    padding: 8px;
    gap: 7px;
    height: auto;
    flex-wrap: wrap;
  }
  .panel-toolbar > span {
    font-size: 8px;
  }
  .map-tools {
    margin-left: auto;
  }
  .terminal-end {
    flex-wrap: wrap;
  }
  .terminal-end kbd {
    margin-left: 0;
  }
  .query-line {
    font-size: 10px;
  }
  .metrics > div {
    padding-inline: 6px;
  }
  .metrics span {
    font-size: 8px;
  }
  .workspace-tabs > a,
  .workspace-tabs > .active {
    font-size: 8px;
    padding: 12px 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Rendered-review corrections: compact introduction and reachable mobile navigation. */
.hero h1 {
  font: 500 clamp(28px, 3.05vw, 47px)/1.16 var(--mono);
  letter-spacing: -0.065em;
  margin: 0 0 18px;
}
.hero h1 em {
  font-style: normal;
}
.hero:before {
  display: none;
}
.top-nav {
  display: flex;
}
.hero .hero-lead {
  font-size: 14px;
  line-height: 1.7;
}
.hero .hero-actions {
  margin-top: 22px;
}
@media (max-width: 760px) {
  .hero h1 {
    font-size: clamp(26px, 5.7vw, 39px);
  }
  .hero .hero-lead {
    font-size: 13px;
  }
  .hero {
    padding-block: 26px;
  }
  .hero .hero-actions {
    margin-top: 18px;
  }
  .top-nav {
    display: flex;
  }
  .hero-actions .button.text {
    padding-left: 0;
  }
  .query-provenance {
    font-size: 10px;
  }
  .map-tools button {
    min-height: 36px;
  }
  .map-preview .preview-preface {
    font-size: 13px;
  }
}

.domain-item,
.relation-key-item,
.map-count {
  font-size: 11px;
}
.key-title {
  font-size: 10px;
}
.key-note {
  font-size: 11px;
}
.map-hint {
  font-size: 10px;
}
.dynamic-proof #active-edge-evidence {
  display: block;
  width: 100%;
  min-height: 38px;
  margin-top: 12px;
  padding: 8px;
  background: #293e1d;
  color: #e7ffcd;
  border: 1px solid #728856;
  border-radius: 3px;
  font: 11px var(--mono);
}
.map-preview .dynamic-proof {
  border-left: 3px solid var(--mint);
}
@media (max-width: 760px) {
  .map-hint {
    font-size: 9px;
  }
  .domain-key {
    flex-wrap: wrap;
  }
  .map-count {
    font-size: 10px;
  }
  .relation-key-item {
    font-size: 10px;
  }
}

.source-file a,
.source-field a,
.relation-proof a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ambiguous-link {
  padding: 14px;
  border: 1px solid var(--amber);
  margin-bottom: 12px;
}
.ambiguous-link button {
  margin: 5px;
  padding: 8px;
  border: 1px solid var(--border);
  background: var(--panel-2);
  color: var(--text);
}

#edge-focus[aria-pressed="true"] {
  border-color: #6d874a;
  color: var(--mint);
  background: #26361c;
}
.relation-entry:focus {
  outline: 2px solid var(--mint);
  outline-offset: 4px;
}

/* Ten-source integration · Pimp My Skill · SolutionsAsService · https://github.com/SolutionsAsService */
.result-dot.operating_system, .route-card.operating_system .route-art i { background: #f0d575; }
.label-chip.operating_system { color: #f0d575; }
.result-dot.optical_disc_image, .route-card.optical_disc_image .route-art i { background: #efa7cd; }
.label-chip.optical_disc_image { color: #efa7cd; }
.result-dot.python_language, .route-card.python_language .route-art i { background: #91d795; }
.label-chip.python_language { color: #91d795; }
.result-dot.sandbox_computer_security, .route-card.sandbox_computer_security .route-art i { background: #f49f83; }
.label-chip.sandbox_computer_security { color: #f49f83; }
.result-dot.system_image, .route-card.system_image .route-art i { background: #83d5e2; }
.label-chip.system_image { color: #83d5e2; }
.result-dot.volume_computing, .route-card.volume_computing .route-art i { background: #b5c6ef; }
.label-chip.volume_computing { color: #b5c6ef; }
.result-dot.neutral, .route-card.neutral .route-art i { background: #a1a9b4; }
.label-chip.neutral { color: #a1a9b4; }
.result-dot.docker, .route-card.docker .route-art i { background: #86bff5; }
.label-chip.docker { color: #86bff5; }
.result-dot.containerization, .route-card.containerization .route-art i { background: #75e0d4; }
.label-chip.containerization { color: #75e0d4; }
.result-dot.kubernetes, .route-card.kubernetes .route-art i { background: #c4b0fa; }
.label-chip.kubernetes { color: #c4b0fa; }
.result-dot.virtual_machine, .route-card.virtual_machine .route-art i { background: #f8bf80; }
.label-chip.virtual_machine { color: #f8bf80; }
.route-source-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.route-unresolved { color: #f8bf80; }
.route-progress button small { display: block; font-size: 11px; }

/* SolutionsAsService — focused connection controls. */
.panel-toolbar { flex-wrap: wrap; gap: 10px; }
.map-tools { flex-wrap: wrap; gap: 6px; }
.map-tools button { min-height: 36px; }
.map-tools button:disabled { opacity: .45; cursor: default; }
#network:focus-visible { outline: 2px solid var(--accent, #d2fb83); outline-offset: -3px; }
.map-tooltip, .map-hint { pointer-events: none; }
.connection-browser { margin-top: 18px; border-top: 1px solid #384632; padding-top: 12px; }
.connection-browser h4 { margin: 0 0 12px; color: #e9ffd0; }
.connection-browser label { display: block; color: #bdcbb5; font-size: 12px; margin: 10px 0; }
.connection-browser input, .connection-browser select { box-sizing: border-box; width: 100%; min-width: 0; padding: 10px; margin-top: 5px; background: #121b10; color: #edffd8; border: 1px solid #546449; border-radius: 4px; font: inherit; }
#connection-match-count { font-size: 11px; color: #d2fb83; }
#connection-results { max-height: 460px; overflow: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.connection-card { padding: 12px 8px; border-bottom: 1px solid #35442d; overflow-wrap: anywhere; }
.connection-card p { font-size: 12px; line-height: 1.5; margin: 6px 0; }
.connection-card small { display: block; font-size: 10px; color: #b3c1ac; margin: 5px 0; }
.connection-card button { width: 100%; text-align: left; min-height: 38px; padding: 8px; background: #1c2a16; color: #e7ffc9; border: 1px solid #4b5e3e; border-radius: 4px; cursor: pointer; }
.connection-card button[aria-pressed="true"] { border-color: #d2fb83; background: #304323; }
.connection-card .connection-neighbor { font-weight: 650; }
.duplicate-note { border-left: 2px solid #9baf88; padding-left: 7px; }
@media (max-width: 600px) { .map-tools { width: 100%; } .map-tools button { flex: 1 1 auto; min-height: 42px; } #connection-results { max-height: 360px; } }

.in-place-evidence { border-top: 1px solid #4b6046; margin-top:12px; padding-top:12px; overflow-wrap:anywhere; }
.in-place-evidence code { display:block; margin:8px 0; color:#d5ff70; }
.in-place-evidence pre { white-space:pre-wrap; max-height:220px; overflow:auto; font-size:11px; }

/* A native selector scales to all source documents without a wall of chips. */
.source-filter-buttons { display: none; }
.source-select-label { display:flex; align-items:center; gap:12px; max-width:100%; }
#source-select { max-width:min(480px, 65vw); padding:10px; background:#18201e; color:#e8f2ed; border:1px solid #5b756a; border-radius:5px; }
#source-filter-summary { font-size:12px; color:#b4c7bd; }
#node-key { max-height:130px; overflow:auto; }

/* Progressive details: connections first, explicit evidence state, usable touch targets. */
.detail-status { margin: 14px 0; padding: 12px; border: 1px solid #a88d53; border-radius: 6px; background: #28261b; color: #eee0b6; font-size: 12px; line-height: 1.5; }
.detail-status p { margin: 6px 0; }
.detail-status.ready { border-color: #425b41; color: #cbe6b9; background: #1b281c; }
.detail-status button, #connection-reset { min-height: 42px; border: 1px solid #7b936a; border-radius: 4px; padding: 8px 12px; color: #e8ffd9; background: #243420; cursor: pointer; }
.connection-group { position: sticky; top: 0; z-index: 1; margin: 0; padding: 10px 8px; color: #d2fb83; background: #18221a; font-size: 12px; }
.relation-help { color: #c0ceba; font-size: 12px; line-height: 1.6; margin: 12px 0; }
.relation-help summary { cursor: pointer; padding: 6px 0; }
.connection-card button { min-height: 44px; }
.connection-pane, .map-preview, .explorer-grid > * { min-width: 0; }
.dynamic-proof { margin-top: 20px; }
.preview-preface { max-height: 150px; overflow: auto; }
#map-preview { overflow-anchor: none; }
@media (max-width: 900px) {
  .explorer-grid { display: flex; flex-direction: column; }
  .connection-pane { width: 100%; max-height: none; }
  .map-preview { max-height: none; overflow: visible; }
  .connection-browser { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 0 12px; }
  .connection-browser h4, .connection-browser > label:first-of-type, .relation-help, #connection-reset, #connection-match-count, #connection-results { grid-column: 1 / -1; }
  #connection-results { max-height: 55vh; }
  .map-canvas { height: 420px; }
}
@media (max-width: 420px) {
  .connection-browser { display: block; }
  #source-select { max-width: 68vw; }
  .map-canvas { height: 340px; }
  .preview-heading, .preview-meta { flex-wrap: wrap; }
}

/* Prevent the 37-domain legend and wrapped toolbar from squeezing the canvas to zero. */
.panel-toolbar { height: auto; flex: 0 0 auto; padding-top: 8px; padding-bottom: 8px; }
.map-canvas { flex: 1 0 340px; min-height: 340px; }
.map-footer { flex: 0 0 auto; }
#domain-key { max-height: 88px; overflow: auto; }
.relation-key { flex: 0 0 auto; max-height: 150px; overflow: auto; }
@media (max-width: 900px) {
  .map-panel { height: auto; overflow: visible; }
  .map-canvas { flex: 0 0 420px; height: 420px; min-height: 420px; }
}
@media (max-width: 420px) {
  .map-canvas { flex-basis: 340px; height: 340px; min-height: 340px; }
}

/* Evidence-first workbench: a compact index, not a promotional landing page. */
.hero { padding-top: 30px; padding-bottom: 28px; gap: 36px; }
.hero h1 { font-size: clamp(28px, 3.1vw, 44px); line-height: 1.14; letter-spacing: -.035em; }
.hero .hero-lead { max-width: 56ch; font-size: 15px; }
.hero .hero-actions { margin-top: 18px; }
.terminal-card { box-shadow: none; border-radius: 3px; }
.terminal-body { padding: 16px 20px; }
.query-line { font-size: 15px; }
.section-top { margin-bottom: 20px; }
.relationship-permalink { display: inline-block; margin-top: 12px; text-decoration: underline; text-underline-offset: 3px; font-size: 12px; }
#active-relationship:focus { outline: 2px solid var(--mint); outline-offset: 4px; }
.evidence-fields > summary, .in-place-evidence > details > summary { cursor: pointer; padding: 8px 0; }
.connection-card small { font-size: 11px; }
.connection-card .connection-neighbor { background: transparent; border-color: transparent; padding-left: 0; color: var(--cyan); }
.connection-card .connection-neighbor:hover { text-decoration: underline; }
.connection-card:has(button[aria-pressed="true"]) { border-left: 2px solid var(--mint); background: var(--panel-2); }
select:focus-visible, summary:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
@media (max-width: 760px) {
  .hero { padding-top: 20px; gap: 20px; }
  .hero h1 { font-size: 30px; }
  .terminal-body { padding: 12px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Keep archived/overview distinctions readable inside narrow map footers. */
.map-footer .map-count { white-space: normal; overflow-wrap: anywhere; max-width: 100%; min-width: 0; }
