@import url('/css/fonts/nunito.css');
:root {
  color-scheme: dark;
  --ground: #080f14;
  --panel: #111e25;
  --ink: #f3f0df;
  --soft: #c2d5de;
  --cyan: #aaf3ff;
  --line: #45616e;
  --accent: #00e1ff;
  --gold: #ffe4a7;
  font: 600 16px/1.45 Nunito, system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
select,
input {
  min-height: 44px;
  border: 1px solid var(--line);
  background: #14232b;
  border-radius: 8px;
}
button,
select {
  cursor: pointer;
}
button {
  padding: 8px 14px;
  font-weight: 800;
}
button:hover,
select:hover {
  border-color: var(--gold);
  color: var(--gold);
}
button:disabled {
  cursor: default;
  color: #9db0ba;
  background: #15212a;
  border-color: #344652;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible,
.graph:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}
button[aria-pressed='true'] {
  background: var(--cyan);
  color: #08151b;
  border-color: var(--cyan);
}
a {
  color: var(--cyan);
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.masthead {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 92px;
  padding: 14px 28px;
  border-bottom: 1px solid #344a57;
  background: #101a20;
  z-index: 4;
}
.brand {
  display: block;
  flex: none;
  padding: 10px 8px;
}
.wordmark {
  font-size: 26px;
  width: max-content;
  --hue: 188;
}
.wordmark .nb {
  animation: none !important;
}
.atlas-title {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}
.atlas-title h1 {
  font-size: 23px;
  line-height: 1.2;
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.atlas-title p {
  font-size: 16px;
  color: var(--soft);
  margin: 3px 0 0;
}
.version-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.version-label > span {
  color: var(--soft);
}
select {
  padding: 8px 32px 8px 12px;
  max-width: 300px;
}
.icon-button {
  width: 44px;
  flex: none;
  padding: 0;
  font-size: 23px;
  border-radius: 50%;
}
.toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 28px;
  z-index: 3;
  border-bottom: 1px solid #253b47;
  background: #0b151c;
}
.search-wrap {
  position: relative;
  flex: 0 1 320px;
  min-width: 130px;
}
.search-wrap input {
  width: 100%;
  padding: 9px 15px;
}
.search-wrap input::placeholder {
  color: var(--soft);
}
#search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  min-width: 280px;
  background: #12232e;
  border: 1px solid var(--line);
  padding: 7px;
  max-height: 60vh;
  overflow: auto;
  border-radius: 10px;
  box-shadow: 0 12px 35px #0008;
}
#search-results button {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 3px 0;
  border: 0;
  background: transparent;
}
#search-results small {
  font-size: 16px;
  font-weight: 600;
  color: var(--soft);
}
#search-results p {
  padding: 6px 12px;
}
.view-switch {
  display: flex;
  gap: 2px;
  margin-left: auto;
}
.view-switch button {
  border-radius: 0;
}
.view-switch button:first-child {
  border-radius: 24px 0 0 24px;
}
.view-switch button:last-child {
  border-radius: 0 24px 24px 0;
}
.counts {
  margin: 0 0 0 10px;
  white-space: nowrap;
  color: var(--soft);
}
.workspace {
  display: flex;
  position: relative;
  min-height: 0;
  flex: 1;
}
.graph {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
  background-color: #080f14;
  background-image: radial-gradient(#49616a 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: 0 0;
}
/* The map is a drag surface; labels must never start a text selection. */
.graph,
.graph * {
  -webkit-user-select: none;
  user-select: none;
}
.graph.dragging {
  cursor: grabbing;
}
.world {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 0 0;
  will-change: transform;
}
.world svg {
  position: absolute;
  top: 0;
  left: 0;
  overflow: visible;
  pointer-events: none;
}
.connection {
  fill: none;
  stroke: #536c79;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  transition: stroke 120ms;
}
.connection.active {
  stroke: var(--cyan);
  stroke-width: 3;
}
.connection.back-link {
  stroke-dasharray: 5 7;
}
.connection.dim {
  opacity: 0.13;
}
.family-heading {
  position: absolute;
  font-size: 30px;
  font-weight: 900;
  color: var(--soft);
  white-space: nowrap;
  letter-spacing: -0.02em;
}
.menu-node {
  position: absolute;
  display: block;
  padding: 0;
  border-radius: 14px;
  text-align: left;
  overflow: visible;
  background: #12202a;
  border: 2px solid #577582;
  min-height: 0;
  box-shadow: 0 0 0 6px #080f14, 0 0 0 7px #334c59;
  transform-origin: center;
  cursor: pointer;
}
.menu-node:hover {
  border-color: var(--gold);
  box-shadow: 0 0 0 6px #080f14, 0 0 0 8px var(--gold);
  z-index: 1;
}
.menu-node.selected {
  border-color: var(--cyan);
  box-shadow: 0 0 0 5px #080f14, 0 0 0 7px #aaf3ff, 0 0 0 13px #080f14, 0 0 0 15px #456c7a;
  z-index: 2;
}
.menu-node.dim {
  opacity: 0.15;
  pointer-events: none;
}
.menu-node.neighbor {
  border-color: #aaf3ff;
}
.node-shot {
  width: 100%;
  height: calc(100% - 58px);
  display: block;
  object-fit: contain;
  border-radius: 12px 12px 0 0;
  background: #02060a;
  pointer-events: none;
}
.node-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 58px;
  padding: 10px 16px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
}
.node-label strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 900;
}
.node-label small {
  font-size: 16px;
  color: var(--soft);
  font-weight: 700;
}
.no-shot {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  min-height: 130px;
  background: repeating-linear-gradient(135deg, #12232c, #12232c 10px, #142832 10px, #142832 11px);
  color: #dbe8ec;
  text-align: center;
  padding: 20px;
  font-size: 18px;
}
.no-shot span {
  font-size: 16px;
}
.map-controls {
  position: absolute;
  bottom: 28px;
  left: 24px;
  display: flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid #45616e;
  border-radius: 12px;
  background: #0d1a22;
  z-index: 2;
  cursor: default;
}
.map-controls button {
  padding-inline: 12px;
}
.map-controls button:first-child,
.map-controls button:nth-child(3) {
  font-size: 24px;
  width: 44px;
  padding: 0;
}
.map-controls output {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  color: var(--soft);
}
.map-hint {
  position: absolute;
  left: 24px;
  top: 14px;
  margin: 0;
  color: var(--soft);
  background: #080f14;
  padding: 6px 10px;
  border-radius: 5px;
  pointer-events: none;
}
.minimap {
  position: absolute;
  bottom: 28px;
  right: 24px;
  width: 200px;
  height: 138px;
  padding: 0;
  background: #0c1921;
  border-color: #577582;
  border-radius: 10px;
  overflow: hidden;
  z-index: 2;
}
.minimap canvas {
  display: block;
  width: 100%;
  height: 112px;
}
.minimap span {
  display: block;
  font-size: 16px;
  line-height: 24px;
  background: #13232c;
}
.map-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  padding: 30px;
  pointer-events: none;
}
.map-empty h2 {
  font-size: 30px;
  margin: 8px 0 0;
}
.map-empty p {
  max-width: 560px;
  margin: 0;
  color: var(--soft);
}
.orbit-mark {
  width: 64px;
  height: 64px;
  border: 2px solid #aaf3ff;
  border-radius: 50%;
  box-shadow: 0 0 0 7px #080f14, 0 0 0 9px #668894, 0 0 0 16px #080f14, 0 0 0 18px #355465;
}
.detail {
  width: 385px;
  flex: none;
  overflow: auto;
  padding: 20px 24px 40px;
  border-left: 1px solid #49616d;
  background: #101b23;
  scrollbar-color: #496979 #101b23;
}
.detail-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.detail-top > button:first-child {
  border: 0;
  background: transparent;
  padding-left: 0;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 16px;
  font-weight: 900;
  color: var(--cyan);
  margin: 0 0 7px;
}
.detail h2 {
  font-size: 31px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}
.detail p {
  color: var(--soft);
}
#node-description {
  margin: 0 0 18px;
}
.detail-preview {
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: #03070b;
  border-radius: 12px;
}
.detail-preview img {
  width: 100%;
  max-height: 250px;
  display: block;
  object-fit: contain;
}
.detail-actions {
  display: flex;
  gap: 8px;
  margin: 14px 0 20px;
  flex-wrap: wrap;
}
.detail-actions button:first-child {
  background: var(--cyan);
  color: #09151c;
  border-color: var(--cyan);
}
.route {
  font-size: 16px;
  border-block: 1px solid #3a515f;
  margin-block: 18px;
  padding-block: 13px;
  line-height: 1.8;
}
.route button {
  display: inline;
  padding: 0;
  min-height: 32px;
  background: none;
  border: 0;
  border-radius: 0;
  color: var(--cyan);
}
.route span {
  color: var(--soft);
  margin-inline: 6px;
}
.destinations {
  margin-top: 22px;
}
.destinations h3 {
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 8px;
}
.destination {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #344a57;
  border-radius: 0;
}
.destination span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.destination small {
  font-size: 16px;
  font-weight: 600;
  color: var(--soft);
}
.destination b {
  font-size: 23px;
  color: var(--cyan);
  font-weight: 500;
}
.empty-connections {
  font-size: 16px;
  margin: 0;
  color: var(--soft);
}
.provenance {
  margin-top: 28px;
  border-top: 1px solid #344a57;
  padding-top: 14px;
}
.provenance summary {
  cursor: pointer;
  min-height: 40px;
  font-weight: 800;
}
.provenance p {
  font-size: 16px;
  margin: 8px 0;
  overflow-wrap: anywhere;
}
.provenance code {
  font-family: inherit;
  color: var(--ink);
}
.inspect {
  flex: 1;
  min-width: 0;
  min-height: 0;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: auto;
  background: #050a0e;
}
.inspect-image {
  position: relative;
  flex: none;
  max-width: 100%;
  line-height: 0;
  box-shadow: 0 0 0 1px #45616e, 0 0 0 6px #0d1b23, 0 0 0 7px #2c4553;
}
.inspect-image {
  overflow: hidden;
  border-radius: 8px;
}
.inspect-scene {
  position: absolute;
}
.inspect-scene > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
}
.inspect-image .no-shot {
  line-height: 1.45;
  width: 100%;
  height: 100%;
}
.framing-controls {
  display: flex;
  gap: 4px;
  margin-bottom: 22px;
  flex: none;
}
.framing-controls button:first-child {
  border-radius: 24px 0 0 24px;
}
.framing-controls button:last-child {
  border-radius: 0 24px 24px 0;
}
.hotspot {
  position: absolute;
  border: 2px solid transparent;
  background: transparent;
  min-height: 0;
  padding: 0;
  border-radius: 8px;
  color: #07151c;
  box-shadow: none;
  overflow: visible;
}
.hotspot:hover,
.hotspot:focus-visible {
  background: #aaf3ff20;
  border-color: #ffe4a7;
  z-index: 2;
}
.hotspot span {
  display: none;
}
.hotspot-shapes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.hotspot-polygon {
  fill: transparent;
  stroke: transparent;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  pointer-events: all;
  cursor: pointer;
}
.hotspot-polygon:hover,
.hotspot-polygon:focus-visible {
  fill: #aaf3ff20;
  stroke: #ffe4a7;
  outline: none;
}
.workspace.inspecting .detail-preview,
.workspace.inspecting #inspect-selected {
  display: none;
}
.workspace.inspecting #outgoing {
  max-height: 30vh;
  overflow: auto;
  scrollbar-color: #496979 #101b23;
}
.workspace.inspecting .detail-top {
  margin-bottom: 12px;
}
.workspace.inspecting .detail-actions {
  margin: 10px 0;
}
.workspace.inspecting .route {
  margin-block: 12px;
  padding-block: 8px;
}
.workspace.inspecting .annotations {
  margin-top: 20px;
}
.arrivals summary {
  font-weight: 900;
  cursor: pointer;
  min-height: 40px;
}
#inspect-caption {
  margin: 20px 0 0;
  color: var(--soft);
  font-size: 16px;
  line-height: 1.4;
  text-align: center;
  max-width: 750px;
}
.statusbar {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  padding: 9px 28px;
  background: #12212a;
  border-top: 1px solid #344b57;
  font-size: 16px;
  color: var(--soft);
  z-index: 3;
}
.statusbar span:last-child {
  text-align: right;
}
dialog {
  background: #101e27;
  color: var(--ink);
  border: 1px solid #66808f;
  border-radius: 16px;
  max-width: 640px;
  max-height: 85dvh;
  padding: 30px;
  overflow: auto;
}
dialog::backdrop {
  background: #02070cbb;
}
dialog form {
  float: right;
}
dialog h2 {
  font-size: 28px;
}
dialog p,
dialog dd {
  color: var(--soft);
}
dialog dt {
  font-weight: 900;
  margin-top: 20px;
}
dialog dd {
  margin: 4px 0 0;
}
.reduced-motion * {
  scroll-behavior: auto !important;
}
@media (max-width: 1100px) {
  .masthead {
    gap: 20px;
    padding-inline: 20px;
  }
  .atlas-title p {
    display: none;
  }
  .version-label > span {
    display: none;
  }
  .counts {
    display: none;
  }
  .detail {
    width: 340px;
    padding-inline: 20px;
  }
  .map-controls #focus-node {
    display: none;
  }
  .minimap {
    width: 150px;
    height: 113px;
    right: 16px;
  }
  .minimap canvas {
    height: 87px;
  }
  .map-controls {
    left: 16px;
  }
  .map-hint {
    max-width: calc(100% - 30px);
    left: 10px;
    font-size: 16px;
  }
}
@media (max-width: 760px) {
  .masthead {
    min-height: 80px;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
  }
  .brand {
    padding: 7px;
  }
  .wordmark {
    font-size: 21px;
  }
  .atlas-title {
    border: 0;
    padding: 0;
  }
  .atlas-title h1 {
    font-size: 20px;
  }
  .version-label {
    order: 3;
    flex: 1;
    margin: 0;
  }
  .version-label select {
    width: 100%;
    max-width: none;
  }
  .masthead > #help-toggle {
    margin-left: auto;
  }
  .toolbar {
    padding: 9px 12px;
    gap: 7px;
    flex-wrap: wrap;
  }
  .search-wrap {
    flex: 1;
    min-width: 130px;
  }
  .family-label {
    flex: 1;
  }
  .family-label select {
    width: 100%;
    max-width: 100%;
  }
  .view-switch {
    flex: none;
  }
  .view-switch button {
    padding-inline: 12px;
  }
  .workspace:has(.detail:not([hidden])) {
    flex-direction: column;
  }
  .detail {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: min(350px, 90vw);
    z-index: 3;
    box-shadow: -15px 0 35px #0007;
  }
  .workspace.inspecting {
    flex-direction: column;
  }
  .workspace.inspecting .inspect {
    padding: 16px;
    flex: 1;
    min-height: 220px;
  }
  .workspace.inspecting .detail {
    position: relative;
    width: 100%;
    max-height: 42%;
    border-left: 0;
    border-top: 1px solid #49616d;
    box-shadow: none;
    padding: 12px 20px 30px;
  }
  .workspace.inspecting .detail-preview,
  .workspace.inspecting #inspect-selected {
    display: none;
  }
  .workspace.inspecting .detail-top {
    margin-bottom: 10px;
  }
  .workspace.inspecting .detail h2 {
    font-size: 25px;
  }
  .workspace.inspecting #node-description {
    margin-bottom: 8px;
  }
  .map-hint {
    max-width: calc(100% - 20px);
    font-size: 16px;
    top: 8px;
  }
  .map-controls {
    bottom: 14px;
    left: 12px;
    gap: 2px;
    padding: 4px;
  }
  .map-controls output {
    min-width: 50px;
  }
  .map-controls button {
    padding-inline: 10px;
  }
  .minimap {
    right: 12px;
    bottom: 84px;
    width: 130px;
    height: 93px;
  }
  .minimap canvas {
    height: 67px;
  }
  .statusbar {
    padding: 8px 12px;
    line-height: 1.25;
  }
  .statusbar span:first-child {
    display: none;
  }
  .statusbar span:last-child {
    text-align: left;
  }
  .inspect-image {
    max-height: 100%;
  }
  #inspect-caption {
    margin-top: 12px;
  }
  .detail-actions {
    margin: 10px 0;
  }
  .destinations {
    margin-top: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.annotations {
  border-top: 1px solid #344a57;
  padding-top: 20px;
  margin-top: 24px;
}
.annotations label {
  display: block;
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 8px;
}
.annotations textarea {
  width: 100%;
  resize: vertical;
  min-height: 100px;
  background: #09141c;
  border: 1px solid #587786;
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  font: 600 16px/1.5 Nunito, system-ui, sans-serif;
}
.annotations textarea::placeholder {
  color: var(--soft);
}
.annotations textarea:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}
.annotations p {
  font-size: 16px;
  margin: 7px 0 12px;
}
.note-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.compact-node {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 32px;
  box-shadow: 0 0 0 4px #080f14, 0 0 0 5px #334c59;
}
.compact-node .node-label {
  height: auto;
  flex: 1;
  display: block;
  padding: 0;
  font-size: 19px;
  min-width: 0;
}
.compact-node .node-label strong {
  display: block;
  white-space: normal;
}
.compact-node .node-label small {
  display: block;
  font-size: 16px;
}
.action-symbol {
  font-size: 26px;
  color: var(--cyan);
  line-height: 1;
  flex: none;
}
.compact-node.selected {
  box-shadow: 0 0 0 4px #080f14, 0 0 0 6px #aaf3ff;
}
.compact-node .node-label small {
  color: var(--soft);
}

.atlas-title #capture-badge {
  display: block;
  font-size: 16px;
  color: var(--soft);
}
.family-heading {
  font-size: 38px;
  color: var(--cyan);
}
.connection {
  opacity: 0.6;
}
.connection.active {
  opacity: 1;
}
.connection.dim {
  opacity: 0.1;
}

@media (max-width: 760px) {
  #inspect-caption {
    display: none;
  }
  .framing-controls {
    margin-bottom: 16px;
  }
  .workspace.inspecting .inspect {
    padding: 16px 12px;
  }
}

/* Selected nodes keep their screenshot backing; the ring carries selection. */
.graph {
  /* Keyboard focus must not scroll the viewport independently of our camera. */
  overflow: clip;
}
.menu-node[aria-pressed="true"] {
  background: #12202a;
  color: var(--ink);
}
.menu-node.selected .node-label strong {
  font-size: 44px;
}
.menu-node.selected .node-label small {
  font-size: 30px;
}
.compact-node.selected .node-label strong {
  font-size: 48px;
}

.map-editions { display:flex; gap:14px; font-size:13px; margin-top:3px; }
.map-editions a { color:var(--soft); text-decoration:none; }
.map-editions a[aria-current="page"] { color:var(--cyan); text-decoration:underline; text-underline-offset:3px; }
.connection.dominant { stroke:var(--gold); stroke-width:3; opacity:1; }

.branch-toggle {
  position: absolute;
  padding: 4px 12px;
  border: 2px solid #6ca5b8;
  border-radius: 24px;
  background: #102430;
  color: var(--cyan);
  font-weight: 800;
  line-height: 1;
}

/* The consumer overview gives the screens the viewport, not the chrome. */
body[data-map="consumer"] .masthead { min-height:66px; padding:8px 20px; gap:20px; }
body[data-map="consumer"] #capture-badge { display:none; }
body[data-map="consumer"] .toolbar { padding:8px 20px; }
body[data-map="consumer"][data-overview="true"] .minimap,
body[data-map="consumer"][data-overview="true"] .map-hint { display:none; }

/* App at a glance: the pictures themselves are the navigation. */
.consumer-card { background: #02060a; transition: transform 180ms ease-out, box-shadow 180ms; }
.consumer-card.preview { z-index: 5; border-color: var(--gold); box-shadow: 0 0 0 5px #080f14, 0 0 0 7px var(--gold); }
.consumer-card .card-select { position:absolute; inset:0; width:100%; height:100%; padding:0; border:0; border-radius:12px; background:transparent; color:var(--ink); }
.consumer-card .card-select[aria-pressed="true"] {background:transparent;color:var(--ink)}
.consumer-card .card-select:focus-visible { outline:3px solid var(--gold); outline-offset:8px; }
.consumer-card .node-label {position:absolute; bottom:0; width:100%; display:flex; justify-content:center; font-size:26px; font-weight:800; white-space:nowrap; padding:4px; background:#12202a; border-radius:0 0 12px 12px; pointer-events:none}
.consumer-card.selected .node-label {font-size:28px;}
.card-picture {position:absolute; pointer-events:none;}
.card-picture img {width:100%;height:100%;display:block;pointer-events:none;}
.world .card-hotspots {position:absolute; inset:0; width:100%; height:100%; overflow:hidden; pointer-events:none;}
.card-hotspot {fill:transparent; stroke:transparent; stroke-width:2px; vector-effect:non-scaling-stroke; cursor:pointer; pointer-events:none;}
.consumer-card.selected .card-hotspot, .consumer-card.preview .card-hotspot {pointer-events:all;}
.card-hotspot:hover, .card-hotspot:focus-visible {fill:#ffe4a718;stroke:var(--gold);outline:none;}
.glance-nav {position:absolute;z-index:8;top:12px;left:12px;right:12px;display:flex;gap:12px;align-items:center;pointer-events:none;font-size:18px;}
.glance-nav button {pointer-events:auto;min-height:44px;}
.glance-nav strong {color:var(--ink);background:#080f14ee;padding:8px 12px;border-radius:20px;}
.glance-nav span {margin-left:auto;background:#080f14ee;padding:8px 12px;border-radius:20px;color:var(--ink);font-size:16px;font-weight:600;}
body[data-map="consumer"] .family-label, body[data-map="consumer"] .view-switch {display:none;}
body[data-map="consumer"] .minimap {display:none;}
body[data-map="consumer"] .statusbar {font-size:16px;}
body[data-map="consumer"] .map-hint {font-size:16px;font-weight:600;}
body[data-embed="true"] .masthead, body[data-embed="true"] .toolbar, body[data-embed="true"] .statusbar {display:none;}
body[data-embed="true"] .graph {touch-action:pan-y;}
body[data-embed="true"] .workspace {height:100%;}
body[data-embed="true"] .graph {border:0;}
@media(max-width:760px) {
  body[data-map="consumer"] .map-hint {display:none;}
  .glance-nav {gap:6px;font-size:16px;}
  .glance-nav strong {padding:8px;}
  .glance-nav span {font-size:16px;padding:8px;}
  body[data-map="consumer"] .map-controls {gap:4px;left:8px;right:8px;bottom:12px;justify-content:center;}
  body[data-map="consumer"] .map-controls button {font-size:16px;min-height:44px;padding:6px 8px;}
}
@media(prefers-reduced-motion:reduce) { .consumer-card {transition:none;} }
body[data-map="consumer"] .toolbar, body[data-map="consumer"] .statusbar, body[data-map="consumer"] .map-hint {display:none;}
