.lead.small { font-size: 14px; }
body { overflow-x: hidden; }
.overview-view { width: min(1440px, calc(100% - 32px)); }
.overview-heading { display: flex; justify-content: space-between; gap: 36px; align-items: end; margin-bottom: 22px; padding: 0 8px; }
.overview-heading h1 { margin: 5px 0 0; font-size: clamp(30px, 3.3vw, 46px); line-height: 1; }
.overview-heading p { max-width: 560px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; text-align: right; text-wrap: pretty; }
.knowledge-workspace { display: grid; grid-template-columns: 208px minmax(690px, 1fr) 284px; min-height: 920px; overflow: hidden; border: 1px solid #c9c1b3; background: #f1eee4; }
.knowledge-nav { padding: 24px 16px; border-right: 1px solid #c9c1b3; background: #f3f0e7; }
.knowledge-brand { display: grid; gap: 5px; padding: 0 8px 18px; border-bottom: 1px solid #d8d0c1; }
.knowledge-brand small { color: var(--muted); font-size: 10px; letter-spacing: .12em; }
.knowledge-brand b { font-family: Georgia, "Noto Serif SC", serif; font-size: 20px; font-weight: 400; }
.concept-node-search { display: grid; gap: 6px; padding: 14px 8px 12px; border-bottom: 1px solid #d8d0c1; }
.concept-node-search label { color: var(--muted); font-size: 11px; }
.concept-node-search div { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.concept-node-search input { min-width: 0; height: 38px; padding: 0 9px; border: 1px solid #c9c1b3; border-right: 0; border-radius: 10px 0 0 10px; background: #faf7ef; color: var(--ink); font-size: 12px; }
.concept-node-search button { padding: 0 10px; border: 1px solid #6f6a60; border-radius: 0 10px 10px 0; background: #6f6a60; color: #faf7ef; font-size: 11px; cursor: pointer; }
.knowledge-nav nav { display: grid; margin-top: 10px; }
.knowledge-nav nav button { display: grid; grid-template-columns: 8px 1fr auto; min-height: 44px; gap: 8px; align-items: center; margin: 0; padding: 10px 8px; border: 0; border-left: 2px solid transparent; background: transparent; color: var(--muted); font-size: 13px; line-height: 1.35; text-align: left; cursor: pointer; transition: background .22s ease, color .22s ease, transform .22s ease; }
.knowledge-nav nav button[data-focus-question], .knowledge-nav nav button[data-concept-reset], .knowledge-nav nav button[data-concept-guide], .knowledge-nav nav button[data-jump-view] { grid-template-columns: 1fr auto; }
.knowledge-nav nav button[data-concept-lens] { grid-template-columns: 1fr; }
.knowledge-nav nav button[data-concept-path] { grid-template-columns: 1fr auto; }
.concept-region-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 2px 8px 4px; }
.knowledge-nav nav .concept-region-nav button { grid-template-columns: 1fr auto; min-height: 44px; padding: 8px; border: 1px solid #d4ccbf; border-left-width: 1px; border-radius: 12px; background: #f8f4eb; }
.knowledge-nav nav .concept-region-nav button:hover, .knowledge-nav nav .concept-region-nav button.active { transform: none; border-color: #b9563f; background: #eadfd2; }
.knowledge-nav nav button:hover, .knowledge-nav nav button.active { transform: translateX(2px); background: #eadfd2; color: var(--ink); }
.knowledge-nav nav button.active { border-left-color: #be543b; }
.knowledge-nav nav i { width: 7px; height: 7px; border-radius: 50%; background: #aaa397; }
.knowledge-nav nav button.active i { background: #be543b; }
.knowledge-nav nav b { font-size: 11px; font-variant-numeric: tabular-nums; }
.nav-label { padding: 20px 8px 7px; color: var(--muted); font-size: 10px; letter-spacing: .1em; }
.knowledge-main { min-width: 0; }
.knowledge-main > header { display: flex; justify-content: space-between; align-items: center; min-height: 62px; margin: 0; padding: 0 18px; border-bottom: 1px solid #c9c1b3; background: #f3f0e7; }
.knowledge-main > header div { display: flex; gap: 12px; align-items: baseline; }
.knowledge-main > header span { color: var(--muted); font-size: 11px; }
.knowledge-main > header b { font-size: 14px; font-weight: 600; }
.knowledge-main > header button, .knowledge-inspector button { padding: 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: var(--green); font-size: 12px; cursor: pointer; }
.graph-header-actions { justify-content: flex-end; }
.graph-header-actions:empty { display: none; }
.knowledge-graph-shell { position: relative; }
.knowledge-stage { position: relative; min-height: 760px; margin: 0; overflow: hidden; background: #efede4; cursor: grab; isolation: isolate; outline: none; overscroll-behavior: contain; touch-action: none; }
.knowledge-stage:focus-visible { box-shadow: inset 0 0 0 1px #b6503a99; }
.knowledge-stage.is-panning { cursor: grabbing; user-select: none; }
.knowledge-stage.is-panning * { cursor: grabbing !important; }
.knowledge-stage::before { position: absolute; inset: 0; z-index: 0; background-image: radial-gradient(circle, #837b6d2b .8px, transparent .9px); background-size: 24px 24px; content: ""; opacity: .6; mask-image: radial-gradient(ellipse at 52% 48%, #000 0 18%, transparent 73%); pointer-events: none; }
.knowledge-camera { position: absolute; inset: 0; z-index: 1; transform-origin: 0 0; will-change: transform; }
.knowledge-camera.is-animated { transition: transform .58s cubic-bezier(.22, .8, .22, 1); }
.knowledge-camera svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.knowledge-tools { position: absolute; bottom: 14px; left: 14px; z-index: 10; display: flex; width: max-content; max-width: calc(100% - 28px); gap: 12px; align-items: center; padding: 7px 8px 7px 11px; border: 1px solid #c3bbad; background: #f5f1e8e8; color: #746e63; box-shadow: 0 8px 22px #776b5a18; font-size: 11px; backdrop-filter: blur(8px); cursor: default; }
.knowledge-zoom-controls { display: flex; align-items: center; border-left: 1px solid #d2c9ba; }
.knowledge-zoom-controls button { min-width: 32px; min-height: 30px; padding: 0 8px; border: 0; border-left: 1px solid #d2c9ba; background: transparent; color: #4b473f; font-size: 14px; cursor: pointer; transition: background .2s ease, color .2s ease, transform .16s ease; }
.knowledge-zoom-controls button:first-child { border-left: 0; }
.knowledge-zoom-controls button:last-child { min-width: auto; font-size: 11px; }
.knowledge-zoom-controls button:hover, .knowledge-zoom-controls button:focus-visible { background: #e7ded1; color: #9b4331; outline: none; }
.knowledge-zoom-controls button:active { transform: scale(.94); }
.knowledge-zoom-controls output { min-width: 48px; padding: 0 7px; color: #777064; font-size: 10px; text-align: center; font-variant-numeric: tabular-nums; }
.domain-hull { fill: #d8d3c74d; stroke: #9b9487; stroke-width: 1.1; cursor: pointer; pointer-events: visiblePainted; transition: opacity .28s ease, fill .28s ease, stroke .28s ease, stroke-width .28s ease; vector-effect: non-scaling-stroke; }
.domain-hull:hover { fill: #e1dbcf91; stroke: #756f64; stroke-width: 1.45; }
.domain-hull.active { fill: #e8dcd0b8; stroke: #b6503a; stroke-width: 1.7; }
.domain-hull.muted, .domain-hull.lens-muted { opacity: .22; }
.knowledge-relation { cursor: pointer; transition: opacity .28s ease; }
.knowledge-relation path:not(.relation-hit) { fill: none; stroke: #777268; stroke-width: .9; opacity: .48; transition: stroke .24s ease, stroke-width .24s ease, opacity .24s ease; vector-effect: non-scaling-stroke; }
.knowledge-relation .relation-hit { fill: none; stroke: transparent; stroke-width: 16; pointer-events: stroke; }
.knowledge-relation:hover path:not(.relation-hit) { stroke: #a84a37; stroke-width: 1.45; opacity: .88; }
.knowledge-relation.active path:not(.relation-hit), .knowledge-relation:focus-visible path:not(.relation-hit) { stroke: #c64f36; stroke-width: 2.2; opacity: 1; }
.knowledge-relation.muted { opacity: .12; }
.evolution-shell { position: relative; background: #f5f1e8; }
.evolution-timebar { display: flex; min-height: 78px; justify-content: space-between; gap: 22px; align-items: center; padding: 12px 16px 12px 20px; border-bottom: 1px solid #cbc3b5; background: #f7f4ec; }
.evolution-timebar > div:first-child { display: grid; flex: 0 0 auto; gap: 4px; }
.evolution-timebar > div:first-child b { color: #38352f; font-family: Georgia, "Noto Serif SC", serif; font-size: 17px; font-weight: 400; }
.evolution-timebar > div:first-child span { color: #777064; font-size: 12px; line-height: 1.4; }
.timeline-control { display: flex; min-width: 0; gap: 7px; align-items: center; }
.timeline-control button { min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid #c9c0b1; border-radius: 13px; background: #fbf8f0; color: #514c43; font-size: 13px; cursor: pointer; transition: border-color .18s ease, background .18s ease, color .18s ease, transform .16s ease; }
.timeline-control button:hover, .timeline-control button:focus-visible { border-color: #b8553e; background: #f2e8dc; color: #913e2d; outline: none; }
.timeline-control button:active { transform: scale(.96); }
.timeline-control button[data-timeline-now] { min-width: 78px; }
.timeline-control label { display: grid; grid-template-columns: auto minmax(150px, 230px) 66px; gap: 9px; align-items: center; min-height: 44px; padding: 0 11px; border: 1px solid #d4ccbf; border-radius: 13px; background: #f1ede4; color: #70695e; font-size: 12px; }
.timeline-control input[type="range"] { width: 100%; min-width: 120px; accent-color: #ae4d38; cursor: ew-resize; }
.timeline-control output { color: #514b42; font-size: 12px; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.evolution-stage { min-height: 760px; background: #f1eee5; }
.evolution-stage::before { background-image: linear-gradient(90deg, #877f7020 1px, transparent 1px), linear-gradient(#877f7015 1px, transparent 1px); background-size: 32px 32px; opacity: .45; mask-image: linear-gradient(90deg, transparent 0, #000 17%, #000 100%); }
.evolution-stage .knowledge-camera { min-width: 100%; min-height: 100%; }
.evolution-lane { transition: opacity .25s ease; }
.evolution-lane rect { stroke: none; transition: fill .25s ease, opacity .25s ease; }
.evolution-lane line { stroke: #837c702e; stroke-width: 1; vector-effect: non-scaling-stroke; }
.evolution-lane.lane-energy-resources rect { fill: #dcebdc; }
.evolution-lane.lane-compute-infrastructure rect { fill: #dfe8ec; }
.evolution-lane.lane-semiconductor rect { fill: #eee6d1; }
.evolution-lane.lane-model-token rect { fill: #e9e1ed; }
.evolution-lane.lane-application rect { fill: #f0dfd9; }
.evolution-lane.active rect { opacity: 1; }
.evolution-lane.muted { opacity: .34; }
.evolution-history-zone { fill: #e5d9c4; opacity: .16; pointer-events: none; }
.evolution-forecast-zone { fill: #faf8f2; fill-opacity: .55; stroke: #8e8677; stroke-width: 1; stroke-dasharray: 7 7; vector-effect: non-scaling-stroke; pointer-events: none; }
.evolution-time-tick line { stroke: #716b613f; stroke-width: 1; stroke-dasharray: 2 6; vector-effect: non-scaling-stroke; }
.evolution-time-tick text { fill: #625c52; font-family: ui-sans-serif, system-ui, -apple-system, "PingFang SC", sans-serif; font-size: 14px; font-weight: 650; letter-spacing: .03em; }
.evolution-time-tick.forecast text { fill: #8d7766; }
.evolution-now-line { stroke: #b24f3a; stroke-width: 1.7; vector-effect: non-scaling-stroke; }
.evolution-now-label { fill: #9e4532; font-family: ui-sans-serif, system-ui, -apple-system, "PingFang SC", sans-serif; font-size: 12px; font-weight: 650; }
.evolution-cursor-line { stroke: #2f5948; stroke-width: 2; stroke-dasharray: 5 5; vector-effect: non-scaling-stroke; }
.evolution-gap-note, .evolution-forecast-note { fill: #746d61; font-family: ui-sans-serif, system-ui, -apple-system, "PingFang SC", sans-serif; font-size: 12px; }
.evolution-forecast-note { fill: #8e624f; }
.evolution-domain { position: absolute; left: 12px; top: var(--y); z-index: 5; display: grid; grid-template-columns: 30px 1fr; width: 170px; min-height: 58px; padding: 7px 12px 7px 10px; transform: translateY(-50%); border: 0; border-left: 3px solid #8c857a; border-radius: 0 16px 16px 0; background: #f8f5eee8; color: #4b473f; box-shadow: 0 4px 14px #665d4e12; text-align: left; cursor: pointer; backdrop-filter: blur(7px); transition: opacity .25s ease, background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease; }
.evolution-domain small { grid-row: 1 / 3; align-self: center; color: #8a8377; font-family: Georgia, serif; font-size: 13px; }
.evolution-domain b { align-self: end; font-family: Georgia, "Noto Serif SC", serif; font-size: var(--domain-label-size, 15px); font-weight: 400; line-height: 1.15; text-wrap: balance; }
.evolution-domain span { align-self: start; color: #898276; font-size: var(--domain-sub-label-size, 11px); line-height: 1.4; }
.evolution-domain.domain-energy-resources { border-left-color: #58936c; }
.evolution-domain.domain-compute-infrastructure { border-left-color: #5f8496; }
.evolution-domain.domain-semiconductor { border-left-color: #bc8b39; }
.evolution-domain.domain-model-token { border-left-color: #8d6b99; }
.evolution-domain.domain-application { border-left-color: #bd6557; }
.evolution-domain:hover, .evolution-domain:focus-visible, .evolution-domain.active { transform: translateY(-50%) translateX(4px); background: #fffaf1; color: #8d3f2f; box-shadow: 0 8px 22px #6a55431e; outline: none; }
.evolution-domain.muted, .evolution-domain.lens-muted { opacity: .3; }
.evolution-node-anchor path { fill: none; stroke: #6f685d50; stroke-width: 1; stroke-dasharray: 2 3; vector-effect: non-scaling-stroke; }
.evolution-node-anchor circle { fill: #6c665d; opacity: .68; }
.evolution-node { position: absolute; left: var(--x); top: var(--y); z-index: 6; display: grid; grid-template-columns: 9px minmax(0, 1fr); width: 112px; min-height: 44px; gap: 7px; align-items: center; padding: 6px 8px; transform: translate(-50%, -50%); border: 1px solid #ada599; border-radius: 15px; background: #faf7f0f2; color: #3d3933; box-shadow: 0 5px 15px #645a4b16; text-align: left; cursor: pointer; backdrop-filter: blur(7px); transition: opacity .25s ease, transform .22s cubic-bezier(.22, .8, .22, 1), border-color .2s ease, color .2s ease, box-shadow .2s ease; }
.evolution-node.company-node { width: 110px; }
.evolution-node > i { width: 8px; height: 8px; border: 2px solid #8d867b; border-radius: 50%; background: #f9f5ed; }
.evolution-node > span { display: grid; min-width: 0; gap: 2px; }
.evolution-node b { overflow: hidden; font-family: Georgia, "Noto Serif SC", serif; font-size: var(--node-label-size, 12.5px); font-weight: 600; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.evolution-node small { display: block; overflow: hidden; color: #7e776c; font-size: var(--node-label-long-size, 10.5px); line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.evolution-node.status-verified { border-color: #6f997e; }
.evolution-node.status-verified > i { border-color: #397354; background: #dcebdd; }
.evolution-node.status-candidate > i { border-color: #8c6f98; background: #ebe0ee; }
.evolution-node.status-missing { border-style: dashed; border-color: #b16b60; }
.evolution-node.status-missing > i { border-color: #ad5143; background: #f2ded8; }
.evolution-node.hub { border-color: #897e70; box-shadow: 0 6px 17px #62564624; }
.evolution-node:hover, .evolution-node:focus-visible, .evolution-node.active { z-index: 9; transform: translate(-50%, -50%) translateY(-3px); border-color: #b6503a; color: #8e3e2e; box-shadow: 0 0 0 3px #f3eadb, 0 10px 24px #75524029; outline: none; }
.evolution-node.active { background: #fff9ef; }
.evolution-node.muted { opacity: .14; }
.evolution-node.domain-muted { opacity: .24; }
.evolution-node.active { opacity: 1; }
.evolution-prior { z-index: 5; width: 108px; min-height: 40px; border-style: dashed; border-color: #9f9587; background: #f0eadff0; box-shadow: none; }
.evolution-prior > i { width: 7px; height: 7px; border-color: #908779; background: #e3dbce; }
.evolution-prior b { font-size: var(--node-label-size, 11.5px); }
.evolution-prior small { font-size: var(--node-label-long-size, 10px); }
.company-evolution-trail path { fill: none; stroke: #a96250; stroke-width: 1.3; stroke-dasharray: 4 4; opacity: .58; vector-effect: non-scaling-stroke; }
.company-evolution-trail circle { fill: #a55240; opacity: .72; }
.spatial-timebar { display: grid; grid-template-columns: minmax(260px, 1fr) auto; min-height: 128px; gap: 10px 18px; align-items: center; }
.spatial-timebar > div:first-child { align-self: center; }
.spatial-view-controls { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 7px; align-items: center; padding-top: 9px; border-top: 1px solid #ded6c9; }
.spatial-view-controls button { min-height: 44px; padding: 0 13px; border: 1px solid #c9c0b1; border-radius: 12px; background: #faf7f0; color: #675f54; font-size: 13px; cursor: pointer; transition: border-color .18s ease, background .18s ease, color .18s ease; }
.spatial-view-controls button:hover, .spatial-view-controls button:focus-visible, .spatial-view-controls button.active { border-color: #9f4b38; background: #eee3d6; color: #8e3e2e; outline: none; }
.spatial-view-controls button[data-spatial-mode] { font-weight: 650; }
.spatial-view-controls output { margin-left: auto; color: #756e63; font-size: 11px; font-variant-numeric: tabular-nums; }
.spatial-view-controls output.is-bird-view { color: #8e3e2e; font-weight: 700; }
.spatial-stage { min-height: 760px; background: radial-gradient(circle at 68% 35%, #fffaf0 0, #f3efe5 46%, #e9e5dc 100%); cursor: default; }
.spatial-stage::before { background-image: radial-gradient(circle, #6f685b20 .8px, transparent .9px); background-size: 22px 22px; opacity: .42; mask-image: radial-gradient(ellipse at 58% 46%, #000 0 38%, transparent 82%); }
.spatial-stage.is-single-layer { min-height: clamp(720px, 76vh, 980px); background: radial-gradient(circle at 52% 42%, #fffaf2 0, #f2ede2 52%, #e7e2d8 100%); }
.spatial-stage.is-single-layer::before { background-size: 20px 20px; opacity: .58; mask-image: none; }
.spatial-stage.is-rotatable { cursor: grab; }
.spatial-stage.is-orbiting { cursor: grabbing; user-select: none; }
.spatial-plane { stroke: #756e623d; stroke-width: 1; vector-effect: non-scaling-stroke; transition: opacity .22s ease; }
.spatial-plane.plane-energy-resources { fill: #d9eadb99; }
.spatial-plane.plane-compute-infrastructure { fill: #dce8ed99; }
.spatial-plane.plane-semiconductor { fill: #efe4c899; }
.spatial-plane.plane-model-token { fill: #e9dfee99; }
.spatial-plane.plane-application { fill: #f0dcd699; }
.spatial-forecast-plane { fill: #fffaf1a8; stroke: #8e796b; stroke-width: 1; stroke-dasharray: 7 7; vector-effect: non-scaling-stroke; }
.spatial-grid-line, .spatial-depth-grid { fill: none; stroke: #6e675a3d; stroke-width: 1; stroke-dasharray: 2 6; vector-effect: non-scaling-stroke; }
.spatial-grid-line.forecast { stroke: #9a725e5c; }
.spatial-depth-grid { stroke-dasharray: 3 5; }
.spatial-axis { fill: none; stroke: #4b4740; stroke-width: 1.45; vector-effect: non-scaling-stroke; }
.spatial-anchor-line { fill: none; stroke: #71695c70; stroke-width: 1; stroke-dasharray: 2 3; vector-effect: non-scaling-stroke; }
.spatial-company-trail { fill: none; stroke: #a15341; stroke-width: 1.25; stroke-dasharray: 4 4; opacity: .58; vector-effect: non-scaling-stroke; }
.spatial-labels text { fill: #665f54; font-family: ui-sans-serif, system-ui, -apple-system, "PingFang SC", sans-serif; font-size: 12px; }
.spatial-labels .spatial-time-label { font-size: 13px; font-weight: 650; }
.spatial-labels .spatial-influence-label { fill: #8c5f4e; font-size: 10px; }
.spatial-labels .spatial-axis-label { fill: #453f37; font-size: 12px; font-weight: 700; }
.spatial-domain { position: absolute; left: var(--x); top: var(--y); z-index: 8; display: grid; grid-template-columns: 25px 1fr auto; min-width: 168px; min-height: 48px; gap: 6px; align-items: center; padding: 6px 10px; transform: translate(-50%, -50%) scale(var(--spatial-marker-scale, 1)); border: 1px solid #b7afa2; border-left: 3px solid #8f877a; border-radius: 16px; background: #faf7eff2; color: #4b473f; box-shadow: 0 5px 16px #5e54461a; text-align: left; cursor: pointer; backdrop-filter: blur(7px); transition: opacity .22s ease, transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.spatial-domain small { color: #8a8174; font-family: Georgia, serif; font-size: 12px; }
.spatial-domain b { font-family: Georgia, "Noto Serif SC", serif; font-size: var(--spatial-domain-label-size, 14px); font-weight: 400; line-height: 1.15; }
.spatial-domain span { color: #8a8174; font-size: var(--spatial-domain-sub-label-size, 10px); }
.spatial-domain.domain-energy-resources { border-left-color: #58936c; }
.spatial-domain.domain-compute-infrastructure { border-left-color: #5f8496; }
.spatial-domain.domain-semiconductor { border-left-color: #bc8b39; }
.spatial-domain.domain-model-token { border-left-color: #8d6b99; }
.spatial-domain.domain-application { border-left-color: #bd6557; }
.spatial-domain:hover, .spatial-domain:focus-visible, .spatial-domain.active { transform: translate(-50%, -50%) translateY(-3px) scale(var(--spatial-marker-scale, 1)); border-color: #ad4b37; box-shadow: 0 0 0 3px #f1e8da, 0 9px 23px #6b514025; outline: none; }
.spatial-domain.muted, .spatial-domain.lens-muted { opacity: .24; }
.spatial-node { position: absolute; left: var(--x); top: var(--y); display: block; width: 44px; height: 44px; padding: 0; transform: translate(-50%, -50%) scale(var(--depth-scale, 1)) scale(var(--spatial-marker-scale, 1)); transform-origin: center; border: 0; border-radius: 50%; background: transparent; color: #3d3933; text-align: left; cursor: pointer; transition: opacity .22s ease, filter .2s ease, transform .2s ease; }
.spatial-sphere { position: absolute; inset: 7px; display: grid; place-items: center; width: 30px; height: 30px; border: 1.5px solid var(--layer-color, #81796c); border-radius: 50%; background: radial-gradient(circle at 30% 25%, #fff 0 10%, color-mix(in srgb, var(--layer-color, #81796c) 67%, white) 40%, color-mix(in srgb, var(--layer-color, #81796c) 78%, #332f2b) 100%); box-shadow: inset -5px -6px 10px #3e39342e, 0 5px 12px #50483c35; color: #fff; font-size: 9px; font-style: normal; font-variant-numeric: tabular-nums; }
.spatial-sphere::after { position: absolute; inset: -7px; border: 1px solid color-mix(in srgb, var(--layer-color, #81796c) 25%, transparent); border-radius: 50%; content: ""; }
.spatial-node.influence-structural_proxy .spatial-sphere { border-color: var(--layer-color, #80594c); }
.spatial-node.influence-missing .spatial-sphere { border-style: dashed; border-width: 2px; background: radial-gradient(circle at 32% 28%, #fff 0 24%, color-mix(in srgb, var(--layer-color, #81796c) 13%, white) 62%, color-mix(in srgb, var(--layer-color, #81796c) 32%, white) 100%); color: #766e62; box-shadow: inset -3px -4px 8px #6e65571f, 0 4px 10px #50483c20; }
.spatial-node.status-verified .spatial-sphere { box-shadow: 0 0 0 3px #dceadd, inset -5px -6px 10px #3e39342e, 0 5px 12px #50483c35; }
.spatial-node.status-missing .spatial-sphere { border-color: #a75549; }
.spatial-node-label { position: absolute; top: 50%; left: 40px; display: grid; width: 104px; min-width: 0; gap: 2px; padding: 3px 5px; transform: translateY(-50%); border: 1px solid transparent; border-radius: 9px; background: transparent; text-shadow: 0 1px 0 #fff, 0 0 5px #fff; transition: width .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.spatial-stage.is-dense .spatial-node-label { opacity: .16; }
.spatial-stage.is-dense .spatial-node:hover .spatial-node-label, .spatial-stage.is-dense .spatial-node:focus-visible .spatial-node-label, .spatial-stage.is-dense .spatial-node.active .spatial-node-label { opacity: 1; }
.spatial-stage.is-single-layer.is-dense .spatial-node-label { opacity: .68; }
.spatial-stage.is-zoomed-out .spatial-node-label { opacity: 0; pointer-events: none; }
.spatial-node.label-left .spatial-node-label { right: 40px; left: auto; text-align: right; }
.spatial-node-label b, .spatial-node-label small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spatial-node-label b { font-family: Georgia, "Noto Serif SC", serif; font-size: var(--spatial-node-label-size, 13px); font-weight: 600; line-height: 1.2; }
.spatial-node-label small { display: none; color: #6f685d; font-size: var(--spatial-node-label-long-size, 11px); line-height: 1.3; }
.spatial-node:hover, .spatial-node:focus-visible, .spatial-node.active { z-index: 1000 !important; filter: drop-shadow(0 7px 10px #6046342e); outline: none; }
.spatial-node:hover .spatial-node-label, .spatial-node:focus-visible .spatial-node-label, .spatial-node.active .spatial-node-label { width: 184px; border-color: #b8ac9b; background: #fffaf2f7; box-shadow: 0 6px 18px #5d534525; text-shadow: none; }
.spatial-node:hover .spatial-node-label small, .spatial-node:focus-visible .spatial-node-label small, .spatial-node.active .spatial-node-label small { display: block; }
.spatial-node:hover .spatial-sphere, .spatial-node:focus-visible .spatial-sphere, .spatial-node.active .spatial-sphere { box-shadow: 0 0 0 4px #f6ecdc, 0 0 0 6px #ad4b37, inset -5px -6px 10px #3e39342e, 0 7px 16px #50483c40; }
.spatial-node.active .spatial-node-label { border-color: #ad4b37; background: #fff9ef; color: #873c2e; }
.spatial-node.muted { opacity: .12; }
.spatial-node.active { opacity: 1; }
.spatial-prior { opacity: .68; }
.spatial-prior .spatial-sphere { inset: 10px; width: 24px; height: 24px; border-style: dashed; background: radial-gradient(circle at 30% 25%, #fff 0 13%, #e9e0d3 52%, #ada294 100%); }
.spatial-prior .spatial-node-label, .spatial-prior.label-left .spatial-node-label { top: 42px; right: auto; left: 50%; width: 74px; padding: 2px; transform: translateX(-50%); border: 0; background: transparent; text-align: center; }
.spatial-prior:hover .spatial-node-label, .spatial-prior:focus-visible .spatial-node-label, .spatial-prior.active .spatial-node-label { width: 128px; border: 1px dashed #b8ac9b; background: #fffaf2f7; }
.spatial-axis-key { position: absolute; top: 14px; right: 14px; z-index: 30; display: grid; width: 190px; gap: 7px; padding: 11px 13px; border: 1px solid #c8bfb1; border-radius: 16px; background: #faf7eff0; color: #665f55; box-shadow: 0 7px 20px #594e4017; font-size: 11px; backdrop-filter: blur(8px); pointer-events: none; }
.spatial-axis-key span { display: grid; grid-template-columns: 20px 1fr; gap: 7px; align-items: center; }
.spatial-axis-key b { color: #93432f; font-family: Georgia, serif; font-size: 15px; }
.spatial-axis-key small { padding-top: 7px; border-top: 1px solid #ded5c7; color: #7d7569; font-size: 10px; line-height: 1.45; }
.spatial-table-view { min-height: 660px; padding: 18px; background: #f3efe7; }
.spatial-table-note { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; margin-bottom: 14px; padding: 0 2px; }
.spatial-table-note b { font-family: Georgia, "Noto Serif SC", serif; font-size: 18px; font-weight: 400; }
.spatial-table-note span { color: #756e63; font-size: 12px; }
.spatial-table-view table { background: #faf7ef; }
.spatial-table-view th { white-space: nowrap; }
.spatial-table-view td { max-width: 250px; font-size: 12px; line-height: 1.45; vertical-align: top; }
.spatial-table-view td:first-child button { padding: 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: #245c45; cursor: pointer; text-align: left; }
.spatial-table-view td:nth-child(4) { color: #8d432f; font-weight: 650; }
.knowledge-core, .knowledge-domain, .knowledge-node { position: absolute; left: var(--x, 50%); top: var(--y, 48.4%); transform: translate(-50%, -50%); }
.knowledge-core { z-index: 2; display: grid; place-items: center; width: 126px; height: 126px; border: 0; border-radius: 50%; background: #faf2df; color: #443f36; box-shadow: 0 14px 35px #8b7d602c, inset 0 0 0 1px #cabd9d; text-align: center; }
.knowledge-core small, .knowledge-core span { font-size: 8px; color: #8a806e; }
.knowledge-core b { font-family: Georgia, "Noto Serif SC", serif; font-size: 21px; font-weight: 400; }
.knowledge-domain { z-index: 3; display: grid; place-items: center; min-width: 180px; padding: 0; border: 0; background: transparent; color: #444039; cursor: pointer; transition: opacity .28s ease, color .28s ease; }
.knowledge-domain:hover, .knowledge-domain.active { transform: translate(-50%, -50%); color: #a74632; }
.knowledge-domain.muted, .knowledge-domain.lens-muted { opacity: .24; }
.knowledge-domain span { margin-top: 3px; color: #857f74; font-family: Georgia, serif; font-size: var(--domain-sub-label-size, 10.5px); font-style: italic; letter-spacing: .015em; }
.knowledge-domain b { font-family: Georgia, "Noto Serif SC", serif; font-size: var(--domain-label-size, 18.5px); font-weight: 400; letter-spacing: .01em; }
.knowledge-node { z-index: 4; display: grid; place-items: center; width: var(--node-size, 60px); height: var(--node-size, 60px); padding: 5px; border: 1.2px solid #888277; border-radius: 50%; background: #f2efe6e8; color: #403d37; box-shadow: 0 5px 16px #7f75641a; cursor: pointer; transition: opacity .28s ease, transform .28s cubic-bezier(.22, .8, .22, 1), border-color .24s ease, color .24s ease, box-shadow .24s ease; }
.knowledge-node span { display: block; overflow: hidden; max-width: calc(var(--node-size, 60px) - 10px); font-family: Georgia, "Noto Serif SC", serif; font-size: var(--node-label-size, 12.5px); font-weight: 500; line-height: 1.12; overflow-wrap: anywhere; text-align: center; text-wrap: balance; }
.knowledge-node.label-long span { font-size: var(--node-label-long-size, 11.3px); line-height: 1.08; }
.knowledge-node:hover, .knowledge-node:focus-visible { z-index: 6; transform: translate(-50%, -50%) scale(1.08); border-color: #b95740; color: #8f3e2e; box-shadow: 0 0 0 4px #efe8d9, 0 9px 24px #7f5f4d26; outline: none; }
.knowledge-node.active { z-index: 7; transform: translate(-50%, -50%) scale(1.12); border: 1.7px solid #c64f36; color: #8f3e2e; box-shadow: 0 0 0 4px #efe8d9, 0 10px 28px #8f4a362b; }
.knowledge-node.muted { opacity: .13; }
.knowledge-node.domain-muted { opacity: .22; }
.knowledge-node.active { opacity: 1; }
.knowledge-ask { padding: 12px 16px 14px; border-top: 1px solid #c9c1b3; background: #f3f0e7; }
.ask-context { display: flex; flex-wrap: wrap; gap: 7px 12px; align-items: center; margin-bottom: 9px; color: var(--muted); font-size: 11px; }
.ask-context b { color: var(--ink); font-size: 12px; }
.ask-context button { padding: 4px 8px; border: 1px solid #c9c1b3; background: transparent; color: var(--muted); font-size: 11px; cursor: pointer; }
.ask-input { display: grid; grid-template-columns: 1fr auto; }
.knowledge-ask input { min-width: 0; padding: 12px 14px; border: 1px solid #aaa397; background: #f7f4ec; font-size: 14px; }
.knowledge-ask .ask-input button { padding: 0 18px; border: 1px solid #302e29; background: #302e29; color: #f5f1e7; font-size: 13px; cursor: pointer; }
.knowledge-ask p { margin: 9px 0 0; color: var(--green); font-size: 12px; line-height: 1.55; }
.knowledge-inspector { align-self: stretch; margin: 0; padding: 24px 18px; border-left: 1px solid #c9c1b3; background: #f3f0e7; }
.knowledge-inspector h3 { margin: 6px 0 12px; font-size: 24px; }
.knowledge-inspector p, .knowledge-inspector small { display: block; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.62; }
.knowledge-inspector dl { margin: 16px 0; }
.knowledge-inspector dl div { padding: 10px 0; border-top: 1px solid #ded5c6; font-size: 12px; }
.knowledge-inspector dt { margin-bottom: 4px; color: var(--muted); }
.knowledge-inspector dd { margin: 0; line-height: 1.45; }
.inspector-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.inspector-actions a { color: var(--green); font-size: 12px; text-underline-offset: 3px; }
.graph-next { display: grid; margin: 20px 0; border-bottom: 1px solid #ded5c6; }
.graph-next > b { padding-bottom: 8px; color: #524e46; font-size: 12px; font-weight: 600; }
.knowledge-inspector .graph-next button { display: grid; gap: 3px; padding: 10px 0; border: 0; border-top: 1px solid #ded5c6; background: transparent; color: var(--ink); text-align: left; cursor: pointer; transition: color .2s ease, padding-left .2s ease; }
.knowledge-inspector .graph-next button:hover, .knowledge-inspector .graph-next button:focus-visible { padding-left: 5px; color: #a74632; outline: none; }
.graph-next button span, .graph-next button small { color: var(--muted); font-size: 10.5px; line-height: 1.35; }
.graph-next button strong { font-size: 12.5px; font-weight: 500; line-height: 1.4; }
.graph-next-empty { margin: 18px 0; padding: 10px 0; border-top: 1px solid #ded5c6; border-bottom: 1px solid #ded5c6; color: var(--muted); font-size: 11px; }
.inspector-guide { display: grid; gap: 8px; margin-top: 30px; padding-top: 14px; border-top: 1px solid #c9c1b3; }
.inspector-guide b { font-size: 12px; }
.inspector-guide span { color: var(--muted); font-size: 12px; line-height: 1.55; }
.domain-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 12px 0; }
.domain-tags span { padding: 5px 8px; border: 1px solid #c9c1b3; background: transparent; font-size: 11.5px; }
.knowledge-path-view { min-height: 620px; padding: 28px 24px; background: #efede4; }
.path-steps { display: grid; grid-template-columns: repeat(5, minmax(150px, 1fr)); overflow-x: auto; border: 1px solid #c9c1b3; }
.path-steps button { display: grid; min-height: 170px; padding: 18px; border: 0; border-right: 1px solid #c9c1b3; background: transparent; color: var(--muted); text-align: left; cursor: pointer; }
.path-steps button:last-child { border-right: 0; }
.path-steps button.active { border-top: 2px solid #c64f36; background: #f5f1e7; color: var(--ink); }
.path-steps small { font-family: Georgia, serif; font-size: 28px; }
.path-steps span { align-self: end; font-size: 12.5px; line-height: 1.5; }
.path-focus { display: grid; grid-template-columns: 1fr 260px; gap: 45px; margin-top: 36px; padding: 34px; border: 1px solid #c9c1b3; }
.path-focus > div > span, .path-focus aside span, .path-focus aside small { display: block; color: var(--muted); font-size: 11.5px; line-height: 1.6; }
.path-focus h3 { margin: 12px 0; font-size: 28px; }
.path-focus p { font-size: 14px; line-height: 1.7; }
.path-focus aside { display: grid; gap: 12px; align-content: start; padding-left: 20px; border-left: 1px solid #c9c1b3; }
.industry-stack { border-top: 1px solid var(--ink); }
.layer { display: grid; grid-template-columns: 48px minmax(210px, .75fr) minmax(230px, 1fr) minmax(250px, 1.15fr) 130px; gap: 22px; align-items: center; min-height: 138px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.layer-index { align-self: start; color: var(--muted); font-family: Georgia, serif; font-size: 22px; }
.layer-title > span { color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.layer-title h3 { margin: 5px 0 8px; font-size: 27px; }
.layer-title p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.layer-title small { display: block; margin-top: 8px; color: var(--amber); font-size: 11px; line-height: 1.5; }
.layer-segments, .layer-entities { display: flex; flex-wrap: wrap; gap: 6px; }
.layer-segments span { padding: 6px 8px; border: 1px solid var(--line); font-size: 12px; }
.layer-entities span { color: #3f443f; font-size: 12.5px; }
.layer-entities span:not(:last-child)::after { content: " ·"; color: var(--line); }
.layer-state { display: grid; gap: 4px; justify-items: start; padding-left: 16px; border-left: 1px solid var(--line); }
.layer-state > b { font-size: 24px; font-variant-numeric: tabular-nums; }
.layer-state > span { color: var(--muted); font-size: 11px; }
.coverage { padding: 3px 5px; background: var(--soft); color: var(--amber); font-size: 11px; }
.layer-state button { margin-top: 7px; padding: 0; border: 0; border-bottom: 1px solid; background: none; color: var(--green); font-size: 12px; cursor: pointer; }
.capital-band { display: grid; grid-template-columns: .8fr 1.2fr; gap: 5%; margin-top: 22px; padding: 24px; border-radius: 22px; background: #e8e1d4; color: #39372f; }
.capital-band > div:first-child span, .capital-band > div:first-child b { display: block; }
.capital-band > div:first-child span { color: #7f786a; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.capital-band > div:first-child b { margin-top: 7px; font-family: Georgia, serif; font-size: 19px; font-weight: 400; }
.capital-band > div:last-child { display: flex; flex-wrap: wrap; gap: 7px; align-content: center; }
.capital-band > div:last-child span { padding: 7px 10px; border: 0; border-radius: 12px; background: #f8f4eb; color: #5f594d; font-size: 12px; }
.flow-legend { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 18px; border-top: 1px solid var(--ink); }
.flow-legend div { padding: 14px 14px 14px 0; border-bottom: 1px solid var(--line); }
.flow-legend b, .flow-legend span { display: block; font-size: 12px; }
.flow-legend span { margin-top: 5px; color: var(--muted); line-height: 1.4; }
.layer-filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 32px 0 20px; }
.layer-filters button { padding: 7px 9px; border: 1px solid var(--line); background: transparent; font-size: 10px; cursor: pointer; }
.layer-filters button.active { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.event-meta { display: flex; gap: 15px; padding: 10px 0 0 128px; color: var(--muted); font-size: 10px; }
.world-view { width: calc(100% - 24px); max-width: none; padding-top: 18px; }
.world-heading { display: flex; justify-content: space-between; gap: 32px; align-items: end; padding: 0 4px 12px; }
.world-heading h2 { margin: 3px 0 0; font-size: clamp(24px, 2.2vw, 34px); }
.world-heading p { max-width: 560px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; text-align: right; }
.map-shell { position: relative; min-height: calc(100vh - 160px); overflow: hidden; border: 1px solid #50615d55; border-radius: 18px; background: #d9e5e2; box-shadow: 0 22px 60px #243c3530; }
.map-toolbar { position: absolute; top: 14px; left: 14px; z-index: 5; width: 224px; max-height: calc(100% - 28px); overflow-y: auto; padding: 14px; border: 1px solid #ffffffa6; border-radius: 16px; background: #f6f5f0cc; box-shadow: inset 0 1px #fff, 0 14px 42px #253a3426; backdrop-filter: blur(20px) saturate(130%); }
.perspective { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 24px; }
.perspective button { min-height: 44px; padding: 8px 4px; border: 1px solid #c8cec9; background: #ffffff70; color: #56645f; font-size: 11px; cursor: pointer; transition: background .2s ease, color .2s ease, box-shadow .2s ease; }
.perspective button:first-child { border-radius: 11px 0 0 11px; }
.perspective button:last-child { border-radius: 0 11px 11px 0; }
.perspective button.active { border-color: #465853; background: #34443f; color: #f8faf8; box-shadow: 0 6px 18px #263b3538; }
.map-region-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 18px; }
.map-region-filters button { display: flex; min-height: 44px; justify-content: space-between; gap: 6px; align-items: center; padding: 7px 9px; border: 1px solid #c9c1b3; border-radius: 12px; background: #faf7ef; color: #655f56; font-size: 11px; cursor: pointer; transition: border-color .18s ease, background .18s ease, color .18s ease; }
.map-region-filters button:hover, .map-region-filters button:focus-visible, .map-region-filters button.active { border-color: #9d4937; background: #ede2d5; color: #873d2e; outline: none; }
.map-region-filters b { color: inherit; font-size: 10px; font-variant-numeric: tabular-nums; }
.map-node-picker { display: grid; gap: 6px; margin-bottom: 18px; color: var(--muted); font-size: 10px; }
.map-node-picker > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.map-node-picker input { min-width: 0; height: 42px; padding: 0 8px; border: 1px solid var(--line); border-right: 0; background: #faf7ef; color: var(--ink); font-size: 11px; }
.map-node-picker button { padding: 0 9px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font-size: 10px; cursor: pointer; }
.map-layer-list { display: grid; }
.map-layer-list label { display: grid; grid-template-columns: 18px 8px 1fr auto; gap: 8px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; font-size: 10px; }
.map-layer-list input { margin: 0; }
.map-layer-list i { width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 9px currentColor; }
.map-layer-list b { font-variant-numeric: tabular-nums; }
.map-stage { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(circle at 55% 38%, #e6f0ed 0, #c8d8d4 68%, #afc2bc 100%); isolation: isolate; }
.map-stage::after { position: absolute; inset: 0; z-index: 2; background: radial-gradient(ellipse at 52% 44%, transparent 35%, #263b3526 100%); content: ""; pointer-events: none; mix-blend-mode: multiply; }
.map-camera-hint { position: absolute; right: 58px; bottom: 15px; z-index: 5; max-width: calc(100% - 90px); padding: 7px 10px; border: 1px solid #ffffff82; border-radius: 999px; background: #f5f7f3bd; color: #53625d; box-shadow: 0 7px 22px #263b3521; font-size: 10px; line-height: 1; white-space: nowrap; pointer-events: none; backdrop-filter: blur(12px); }
#worldMap { position: absolute; inset: 0; }
.map-stage[data-map-mode="stacked"] #worldMap .maplibregl-canvas { filter: saturate(.92) brightness(.93) contrast(.94); }
.map-loading { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; padding: 30px; background: #e5e8e3; color: var(--muted); font-size: 12px; text-align: center; }
.map-loading[hidden] { display: none; }
.map-loading.error { color: var(--red); }
.height-axis { position: absolute; top: 50%; left: 254px; z-index: 4; display: grid; gap: 13px; transform: translateY(-50%); pointer-events: none; }
.height-axis span { position: relative; min-width: 94px; padding: 5px 8px 5px 17px; border: 1px solid color-mix(in srgb, var(--layer-color) 52%, transparent); border-radius: 8px; background: #f7faf6a8; color: #4b5954; box-shadow: 0 0 16px color-mix(in srgb, var(--layer-color) 30%, transparent); font-size: 8px; backdrop-filter: blur(8px); }
.height-axis span::before { position: absolute; top: 50%; left: 6px; width: 6px; height: 6px; transform: translateY(-50%); border-radius: 50%; background: var(--layer-color); box-shadow: 0 0 10px var(--layer-color); content: ""; }
.map-detail { position: absolute; top: 14px; right: 14px; z-index: 5; width: min(285px, calc(100% - 250px)); max-height: calc(100% - 28px); overflow: auto; padding: 18px; border: 1px solid #ffffffa6; border-radius: 16px; background: #f6f5f0d9; box-shadow: inset 0 1px #fff, 0 14px 42px #253a3426; backdrop-filter: blur(20px) saturate(130%); }
.node-identity { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; }
.node-logo-fallback { grid-area: 1 / 1; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--soft); font-family: Georgia, serif; }
.node-logo { grid-area: 1 / 1; width: 44px; height: 44px; padding: 7px; border: 1px solid var(--line); background: white; object-fit: contain; }
.node-logo.failed { display: none; }
.node-identity h3 { margin-top: 3px; }
.map-detail h3 { margin: 8px 0 15px; font-size: 27px; }
.map-detail > p { color: var(--muted); font-size: 11px; line-height: 1.55; }
.map-detail dl { margin: 22px 0; }
.map-detail dl div { display: grid; grid-template-columns: 55px 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 10px; }
.map-detail dt { color: var(--muted); }
.map-detail dd { margin: 0; line-height: 1.45; }
.map-detail a { color: var(--green); font-size: 11px; }
.map-focus-button { width: 100%; min-height: 38px; margin-top: 2px; border: 1px solid #61736d; border-radius: 10px; background: #43554f; color: #f7faf8; font-size: 11px; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.map-focus-button:hover, .map-focus-button:focus-visible { background: #2f443d; box-shadow: 0 0 0 3px #fff, 0 0 18px #3a8c7055; outline: none; }
.map-focus-button:active { transform: scale(.985); }
.map-legend { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 14px; color: var(--muted); font-size: 9px; }
.map-legend span { display: flex; gap: 6px; align-items: center; }
.map-legend i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.map-legend .official { background: var(--green); }
.map-legend .candidate { background: #8e63b8; }
.map-legend .directory { background: #7c8580; }
.map-legend .missing { background: var(--red); }
.maplibregl-ctrl-attrib { font-size: 9px; }
.geo-logo-marker { position: relative; display: grid; place-items: center; width: 29px; height: 29px; padding: 0; border: 1px solid #ffffffeb; border-radius: 10px; background: #f8faf8f2; box-shadow: 0 0 0 2px color-mix(in srgb, var(--layer-color) 74%, transparent), 0 0 16px color-mix(in srgb, var(--layer-color) 62%, transparent), 0 7px 16px #17292345; cursor: pointer; transition: width .2s ease, height .2s ease, filter .2s ease, box-shadow .2s ease; backdrop-filter: blur(6px); }
.geo-logo-marker::before { position: absolute; inset: -7px; content: ""; }
.geo-logo-marker::after { position: absolute; top: calc(100% + 2px); left: 50%; width: 1px; height: var(--layer-lift, 0); background: linear-gradient(to bottom, color-mix(in srgb, var(--layer-color) 72%, transparent), transparent); box-shadow: 0 0 7px var(--layer-color); content: ""; opacity: .68; pointer-events: none; }
.geo-logo-marker[hidden] { display: none; }
.geo-logo-marker:hover, .geo-logo-marker:focus-visible { filter: brightness(1.08) saturate(1.15); box-shadow: 0 0 0 3px #ffffffed, 0 0 24px var(--layer-color), 0 9px 22px #17292352; outline: none; }
.geo-logo-marker.is-focused { width: 38px; height: 38px; border-radius: 12px; box-shadow: 0 0 0 3px #ffffffed, 0 0 0 6px color-mix(in srgb, var(--layer-color) 72%, transparent), 0 0 34px var(--layer-color), 0 12px 28px #17292366; }
.geo-logo-marker span, .geo-logo-marker img { grid-area: 1 / 1; }
.geo-logo-marker span { font-size: 10px; font-weight: 700; }
.geo-logo-marker img { width: 20px; height: 20px; object-fit: contain; }
.geo-logo-marker.is-focused img { width: 27px; height: 27px; }
.geo-logo-marker img.failed { display: none; }
.geo-logo-marker.status-official_snapshot { box-shadow: 0 0 0 2px #f4f3ee, 0 0 0 4px var(--green), 0 5px 15px #171a1840; }
.geo-logo-marker.status-missing_metric { border-style: dashed; border-color: var(--red); }
.pipeline-bars { display: grid; gap: 13px; }
.pipeline-bars > div { display: grid; grid-template-columns: 90px 1fr 42px; gap: 12px; align-items: center; font-size: 12px; }
.pipeline-bars i { height: 18px; background: var(--soft); overflow: hidden; }
.pipeline-bars i b { display: block; height: 100%; background: var(--green); }
.pipeline-bars strong { text-align: right; font-variant-numeric: tabular-nums; }
.path-section { margin-top: 65px; }
.path-title { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); font-size: 12px; }
.path-title span { color: var(--muted); }
.hop-list { margin-top: 25px; }
.hop-list > div { display: grid; grid-template-columns: 28px 1fr 24px 1fr 170px; gap: 14px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.hop-list > div > span { color: var(--muted); }
.hop-list i { color: var(--muted); font-style: normal; }
.hop-list small { text-align: right; color: var(--muted); }
.boundary { padding: 15px; border-left: 3px solid var(--amber); background: var(--soft); font-size: 12px; }
.table-tools label { display: grid; gap: 6px; color: var(--muted); font-size: 11px; }
.table-tools > span { color: var(--muted); font-size: 12px; }
.event-list summary { display: flex; gap: 18px; }
.event-list summary span { min-width: 110px; color: var(--green); font-size: 11px; }
.source-table { border-top: 1px solid var(--ink); }
.source-table article { display: grid; grid-template-columns: 210px 1fr 190px; gap: 28px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.source-table article b, .source-table article small { display: block; }
.source-table article small { margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.source-table article p { margin: 0; font-size: 12px; line-height: 1.55; }
.source-table article > div:last-child { text-align: right; }
.source-table a { display: block; margin-top: 8px; color: var(--green); font-size: 11px; }

/* GPU industry galaxy: WebGL points + a single collision-aware label canvas. */
.galaxy-workspace { --galaxy-ink: #26312d; --galaxy-muted: #68756f; --galaxy-panel: #f7f5ef; --galaxy-panel-strong: #fbfaf6; --galaxy-line: #c9c5ba; --galaxy-accent: #b8664b; position: relative; grid-template-columns: 188px minmax(0, 1fr); min-height: 0; background: #e5ece8; }
.galaxy-workspace .knowledge-nav { position: absolute; inset: 0 auto 0 0; z-index: 4; width: 188px; height: auto; min-height: 0; max-height: none; overflow-y: auto; background: #f1eee5; scrollbar-width: thin; }
.galaxy-workspace .knowledge-main { grid-column: 2; min-width: 0; }
.galaxy-workspace .knowledge-main > header { border-color: var(--galaxy-line); background: var(--galaxy-panel); color: var(--galaxy-ink); }
.galaxy-workspace .knowledge-main > header span { color: var(--galaxy-muted); }
.galaxy-workspace .evolution-shell { background: #edf2ef; }
.galaxy-timebar { min-height: 112px; border-color: var(--galaxy-line); background: var(--galaxy-panel); color: var(--galaxy-ink); }
.galaxy-timebar > div:first-child b { color: var(--galaxy-ink); font-size: 18px; }
.galaxy-timebar > div:first-child span { color: var(--galaxy-muted); }
.galaxy-timebar .timeline-control button, .galaxy-timebar .timeline-control label, .galaxy-timebar .spatial-view-controls button { border-color: #c9c5ba; background: var(--galaxy-panel-strong); color: #4f5d57; }
.galaxy-timebar .timeline-control output { color: var(--galaxy-ink); }
.galaxy-timebar .timeline-control input[type="range"] { accent-color: var(--galaxy-accent); }
.galaxy-timebar .spatial-view-controls { border-color: #d0ccc1; }
.galaxy-timebar .spatial-view-controls button:hover, .galaxy-timebar .spatial-view-controls button:focus-visible, .galaxy-timebar .spatial-view-controls button.active { border-color: #bd7359; background: #eadfd7; color: #593426; }
.galaxy-stage { position: relative; min-height: clamp(720px, 76vh, 980px); overflow: hidden; background: radial-gradient(circle at 50% 42%, #4b5552 0, #394240 52%, #303837 100%); cursor: grab; isolation: isolate; outline: none; touch-action: none; }
.galaxy-stage::before { position: absolute; inset: 0; z-index: 0; background-image: radial-gradient(circle at 18% 22%, #dbece536 0 1px, transparent 1.5px), radial-gradient(circle at 72% 31%, #f0d9b72d 0 1px, transparent 1.4px), radial-gradient(circle at 54% 76%, #dbcbea30 0 1px, transparent 1.5px); background-size: 83px 83px, 127px 127px, 169px 169px; content: ""; opacity: .48; pointer-events: none; }
.galaxy-stage:focus-visible { box-shadow: inset 0 0 0 2px var(--galaxy-accent); }
.galaxy-stage.is-interacting { cursor: grabbing; user-select: none; }
.galaxy-webgl, .galaxy-labels { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.galaxy-webgl { z-index: 1; }
.galaxy-labels { z-index: 2; pointer-events: none; }
.galaxy-toolbar { position: absolute; top: 16px; left: 16px; z-index: 5; display: flex; gap: 5px; padding: 5px; border: 1px solid #43574f2b; border-radius: 15px; background: #fbfaf4e8; box-shadow: 0 10px 32px #41564c24; backdrop-filter: blur(12px); }
.galaxy-toolbar button, .galaxy-zoom button { min-height: 38px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: #4e5c56; font-size: 12px; cursor: pointer; }
.galaxy-toolbar button:hover, .galaxy-toolbar button:focus-visible, .galaxy-zoom button:hover, .galaxy-zoom button:focus-visible { background: #b8664b17; color: #402e27; outline: none; }
.galaxy-zoom { position: absolute; right: 16px; bottom: 16px; z-index: 5; display: grid; grid-template-columns: 38px minmax(110px, 180px) 38px 54px; gap: 6px; align-items: center; padding: 5px; border: 1px solid #43574f2b; border-radius: 15px; background: #fbfaf4ed; box-shadow: 0 10px 32px #41564c24; backdrop-filter: blur(12px); }
.galaxy-zoom button { min-width: 38px; padding: 0; font-size: 17px; }
.galaxy-zoom input { width: 100%; accent-color: var(--galaxy-accent); cursor: ew-resize; }
.galaxy-zoom output { color: var(--galaxy-muted); font-size: 11px; text-align: center; font-variant-numeric: tabular-nums; }
.galaxy-key { position: absolute; bottom: 16px; left: 16px; z-index: 4; display: grid; max-width: min(510px, calc(100% - 430px)); gap: 4px; padding: 10px 13px; border: 1px solid #43574f24; border-radius: 13px; background: #fbfaf4db; color: #52605a; font-size: 11px; line-height: 1.45; backdrop-filter: blur(10px); pointer-events: none; }
.galaxy-key b { color: var(--galaxy-ink); font-size: 12px; }
.galaxy-key span { color: var(--galaxy-muted); }
.galaxy-tooltip { position: absolute; z-index: 7; display: grid; width: 198px; gap: 4px; padding: 10px 12px; border: 1px solid #43574f30; border-radius: 13px; background: #fbfaf5f2; color: var(--galaxy-ink); box-shadow: 0 12px 34px #40554b2e; font-size: 12px; pointer-events: none; backdrop-filter: blur(12px); }
.galaxy-tooltip[hidden] { display: none; }
.galaxy-tooltip b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.galaxy-tooltip span { overflow: hidden; color: var(--galaxy-muted); text-overflow: ellipsis; white-space: nowrap; }
.galaxy-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.galaxy-fallback { position: absolute; inset: 0; z-index: 10; place-content: center; justify-items: center; gap: 10px; background: #edf3eff2; color: var(--galaxy-ink); text-align: center; }
.galaxy-fallback:not([hidden]) { display: grid; }
.galaxy-fallback span { color: var(--galaxy-muted); font-size: 12px; }
.galaxy-fallback button { min-height: 42px; padding: 0 14px; border: 1px solid #bd7359; border-radius: 12px; background: #d98c6e; color: #38251e; cursor: pointer; }
.galaxy-inspector { position: absolute; top: 184px; right: 14px; z-index: 6; width: 274px; max-height: 590px; overflow: auto; margin: 0; padding: 18px 16px; border: 1px solid #43574f30; border-radius: 17px; background: #fbfaf5ed; color: var(--galaxy-ink); box-shadow: 0 16px 46px #40554b30; backdrop-filter: blur(15px); scrollbar-width: thin; }
.galaxy-inspector.is-compact { width: 250px; max-height: 218px; }
.galaxy-inspector.is-compact dl, .galaxy-inspector.is-compact .inspector-guide { display: none; }
.galaxy-inspector h3 { color: var(--galaxy-ink); font-size: 22px; }
.galaxy-inspector p, .galaxy-inspector small, .galaxy-inspector dt { color: var(--galaxy-muted); }
.galaxy-inspector dl div, .galaxy-inspector .graph-next button, .galaxy-inspector .inspector-guide { border-color: #43574f1f; }
.galaxy-inspector dd, .galaxy-inspector .graph-next button { color: #35443e; }
.galaxy-inspector button, .galaxy-inspector a { color: #9d513b; }
.galaxy-inspector .inspector-guide span { color: var(--galaxy-muted); }
.galaxy-node-identity { position: relative; width: 42px; height: 42px; margin-bottom: 14px; }
.galaxy-node-identity span, .galaxy-node-identity img { position: absolute; inset: 0; width: 42px; height: 42px; border: 1px solid #43574f24; border-radius: 12px; background: #f5f3ed; }
.galaxy-node-identity span { display: grid; place-items: center; color: #1d2638; font-size: 10px; font-weight: 700; }
.galaxy-node-identity img { z-index: 1; object-fit: contain; padding: 5px; }
.galaxy-node-identity img.failed { display: none; }

/* Industry cosmos: the scene is primary; glass controls recede when the user pauses. */
body:has(#app.cosmos-view) { overflow: hidden; background: #151b21; }
body:has(#app.cosmos-view) > header { position: fixed; top: 14px; left: 50%; z-index: 20; grid-template-columns: auto minmax(0, 1fr); width: min(760px, calc(100% - 40px)); min-height: 58px; padding: 7px 12px; transform: translateX(-50%); border: 1px solid #d9f0f53b; border-radius: 19px; background: linear-gradient(135deg, #7898a52b, #17232c8f 43%, #0e171f75); color: #edf7f9; box-shadow: inset 0 1px #ffffff3b, inset 22px 0 48px #91d9e70b, 0 18px 60px #050a0f42; backdrop-filter: blur(32px) saturate(160%); transition: opacity .42s ease, transform .55s cubic-bezier(.22, 1, .36, 1); }
body:has(#app.cosmos-view) > header .freshness { display: none; }
body:has(#app.cosmos-view) > header .primary-nav { border-color: #dcebf021; background: #0d151b42; }
body:has(#app.cosmos-view) > header .primary-nav button, body:has(#app.cosmos-view) > header .nav-panel button { color: #b9c8ce; }
body:has(#app.cosmos-view) > header .primary-nav button:hover, body:has(#app.cosmos-view) > header .nav-panel button:hover { color: #f4fafb; }
body:has(#app.cosmos-view) > header .primary-nav button.active { background: #e9f1f2e8; color: #1a242a; box-shadow: 0 5px 18px #050a0f35; }
body:has(#app.cosmos-view) > header .nav-panel button.active { background: #dce8ea1c; color: #f5fafb; }
body:has(#app.cosmos-view) > footer { display: none; }
body:has(.cosmos-stage.is-ui-idle) > header { opacity: 0; transform: translate(-50%, -145%); pointer-events: none; }
#app.cosmos-view { width: 100%; max-width: none; height: 100dvh; min-height: 100dvh; margin: 0; padding: 0; }
.cosmos-workspace { --cosmos-ink: #eff8fa; --cosmos-muted: #afc0c7; --cosmos-panel: linear-gradient(135deg, #7796a52b 0%, #17232c73 38%, #0f18205c 100%); --cosmos-panel-strong: linear-gradient(135deg, #7aa1b233 0%, #202f3a91 42%, #111b246b 100%); --cosmos-line: #cceaf13b; --cosmos-accent: #f0b26e; position: relative; width: 100%; height: 100dvh; min-height: 100dvh; overflow: hidden; border: 0; border-radius: 0; background: #151b21; font-family: Geist, "SF Pro Display", "PingFang SC", system-ui, sans-serif; }
.cosmos-workspace::before { position: absolute; inset: -22%; z-index: 3; background: repeating-conic-gradient(from 7deg at 50% 51%, transparent 0 3.75deg, #bde9f21e 3.82deg 3.88deg, transparent 3.96deg 7.4deg), radial-gradient(ellipse at 50% 51%, transparent 0 34%, #b7e7ef10 55%, transparent 78%); content: ""; opacity: .08; transform: scale(.88) rotate(0deg); transform-origin: 50% 51%; pointer-events: none; mix-blend-mode: screen; -webkit-mask-image: radial-gradient(ellipse at 50% 51%, transparent 0 34%, #000 57%, #0008 76%, transparent 93%); mask-image: radial-gradient(ellipse at 50% 51%, transparent 0 34%, #000 57%, #0008 76%, transparent 93%); animation: cosmos-voyage-lines 26s linear infinite; transition: opacity .8s ease, filter .8s ease; }
.cosmos-workspace::after { position: absolute; inset: -12%; z-index: 4; background: radial-gradient(ellipse at 50% 48%, #bdeaf011 0 13%, transparent 42%), radial-gradient(circle at 29% 34%, #71b5d21c, transparent 23%), radial-gradient(circle at 72% 68%, #d89a6518, transparent 21%), linear-gradient(108deg, transparent 24%, #def8ff12 45%, transparent 58%); content: ""; opacity: .5; transform: translate3d(-1.2%, -.8%, 0) scale(1.04); pointer-events: none; mix-blend-mode: screen; animation: cosmos-glass-caustic 18s ease-in-out infinite alternate; }
.cosmos-workspace:has(.cosmos-stage.is-ui-idle)::before { opacity: .16; filter: blur(.25px) saturate(1.25); }
.cosmos-workspace:has(.cosmos-stage.is-interacting)::before { opacity: .26; filter: blur(.4px) saturate(1.45); animation-duration: 9s; }
.cosmos-workspace:has(.cosmos-stage.is-interacting)::after { opacity: .74; animation-duration: 7s; }
.cosmos-stage.galaxy-stage { width: 100%; height: 100dvh; min-height: 100dvh; background: radial-gradient(ellipse at 51% 47%, #24343f 0, #17242e 31%, #0d1821 63%, #080f16 100%); }
.cosmos-stage.galaxy-stage::before { inset: -14%; background: radial-gradient(ellipse at 30% 27%, #2e718c2b 0, #1b4a6014 29%, transparent 58%), radial-gradient(ellipse at 72% 68%, #4b5b631f 0, #23354012 31%, transparent 61%), radial-gradient(ellipse at 51% 49%, #31576a24 0, #162c3812 36%, transparent 67%), linear-gradient(124deg, #10222c73 0%, transparent 38%, #07101866 100%); background-size: auto; opacity: .76; filter: blur(18px) saturate(.82); transform: translate3d(-1.2%, -.8%, 0) scale(1.04); mix-blend-mode: screen; animation: cosmos-nebula-drift 24s ease-in-out infinite alternate; }
.cosmos-stage.galaxy-stage::after { position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse at 50% 48%, #6da8ba12 0 13%, transparent 44%), radial-gradient(ellipse at 18% 78%, #244d6418, transparent 38%), radial-gradient(ellipse at 82% 18%, #46535a12, transparent 34%), linear-gradient(180deg, #050b111f 0%, transparent 22% 72%, #04090f80 100%), radial-gradient(ellipse at center, transparent 45%, #03080d75 100%); content: ""; pointer-events: none; animation: cosmos-depth-breathe 12s ease-in-out infinite alternate; }
.cosmos-stage .galaxy-webgl { filter: saturate(1.18) contrast(1.04) drop-shadow(0 0 9px #a6dbea18); transition: filter .6s ease; }
.cosmos-stage .galaxy-labels { filter: drop-shadow(0 5px 14px #07101870); }
.cosmos-stage.is-interacting .galaxy-webgl { filter: saturate(1.35) contrast(1.07) brightness(1.04) drop-shadow(0 0 13px #b8eafd2b); }
.cosmos-stage > .cosmos-hud, .cosmos-search, .cosmos-time-filter, .cosmos-layer-filter, .cosmos-camera.galaxy-toolbar, .cosmos-inspector, .cosmos-legend, .cosmos-zoom.galaxy-zoom { transition: opacity .42s ease, transform .56s cubic-bezier(.22, 1, .36, 1), border-color .25s ease, background-color .25s ease; will-change: opacity, transform; }
.cosmos-stage > .cosmos-hud { position: absolute; top: 18px; left: 18px; z-index: 6; display: grid; grid-template-columns: minmax(170px, 1fr) auto; width: min(430px, calc(100% - 36px)); min-height: 0; gap: 13px; align-items: start; margin: 0; padding: 15px 16px 13px; border: 1px solid var(--cosmos-line); border-radius: 18px; background: var(--cosmos-panel); color: var(--cosmos-ink); box-shadow: inset 0 1px #ffffff36, inset 18px 0 42px #8bd4e70a, 0 18px 56px #050a0f38; backdrop-filter: blur(30px) saturate(155%); }
.cosmos-hud > div { display: grid; gap: 3px; }
.cosmos-hud > div span { color: #e8b277; font-size: 10px; font-weight: 650; letter-spacing: .13em; }
.cosmos-hud > div b { font-size: 17px; font-weight: 600; letter-spacing: -.025em; }
.cosmos-hud > div small { color: var(--cosmos-muted); font-size: 11px; line-height: 1.45; }
.cosmos-hud > div .cosmos-live-news { display: flex; gap: 7px; align-items: center; margin-top: 3px; color: #c8e6eb; }
.cosmos-live-news::before { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: #79c8d9; box-shadow: 0 0 8px #79c8d9a6; content: ""; }
.cosmos-live-news[data-status="loading"]::before { background: #aab9be; box-shadow: none; }
.cosmos-live-news[data-status="stale"] { color: #e8c38e; }
.cosmos-live-news[data-status="stale"]::before { background: #e4ad64; box-shadow: 0 0 8px #e4ad6494; }
.cosmos-live-news[data-status="failed"] { color: #e7aaa4; }
.cosmos-live-news[data-status="failed"]::before { background: #d6756b; box-shadow: 0 0 8px #d6756b8c; }
.cosmos-hud dl { display: grid; grid-template-columns: repeat(4, minmax(58px, auto)); gap: 0; margin: 0; }
.cosmos-hud dl div { min-width: 0; padding: 2px 11px; border-left: 1px solid var(--cosmos-line); }
.cosmos-hud dl div:first-child { padding-left: 0; border-left: 0; }
.cosmos-hud dt, .cosmos-hud dd { margin: 0; font-variant-numeric: tabular-nums; }
.cosmos-hud dt { color: var(--cosmos-muted); font-size: 10px; white-space: nowrap; }
.cosmos-hud dd { margin-top: 4px; color: var(--cosmos-ink); font-size: 16px; font-weight: 600; }
.cosmos-search { position: absolute; top: 166px; left: 18px; z-index: 7; display: grid; grid-template-columns: minmax(160px, 238px) auto; border-radius: 13px; box-shadow: inset 0 1px #ffffff1a, 0 14px 40px #050a0f30; backdrop-filter: blur(24px) saturate(140%); }
.cosmos-search input, .cosmos-search button { min-height: 40px; border: 1px solid var(--cosmos-line); color: var(--cosmos-ink); }
.cosmos-search input { min-width: 0; padding: 0 13px; border-right: 0; border-radius: 13px 0 0 13px; background: linear-gradient(135deg, #7694a42b, #10192170); outline: none; }
.cosmos-search input::placeholder { color: #a8b7bd; }
.cosmos-search input:focus { border-color: #e7b172a6; box-shadow: inset 0 0 0 1px #e7b17285; }
.cosmos-search button { padding: 0 14px; border-radius: 0 13px 13px 0; background: #e7edf01a; cursor: pointer; }
.cosmos-search button:hover, .cosmos-search button:focus-visible { background: #bd7e444f; outline: none; }
.cosmos-time-filter { position: absolute; top: 218px; left: 18px; z-index: 7; display: flex; max-width: calc(100% - 410px); overflow-x: auto; padding: 3px; border: 1px solid var(--cosmos-line); border-radius: 12px; background: linear-gradient(135deg, #7596a424, #10192168); box-shadow: inset 0 1px #ffffff24, 0 8px 24px #07101824; backdrop-filter: blur(24px) saturate(150%); }
.cosmos-time-filter button { flex: 0 0 auto; min-height: 28px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: #afc1c7; font: 600 10px/1 Geist, "PingFang SC", system-ui, sans-serif; cursor: pointer; white-space: nowrap; }
.cosmos-time-filter button:hover, .cosmos-time-filter button:focus-visible { background: #ffffff10; color: #f2f8f9; outline: none; }
.cosmos-time-filter button.active { background: #dce9ebe8; color: #18242a; box-shadow: 0 4px 13px #050a0f2e, inset 0 1px #fff; }
.cosmos-layer-filter { position: absolute; top: 262px; left: 18px; z-index: 7; display: flex; max-width: calc(100% - 410px); justify-content: start; gap: 6px; overflow-x: auto; padding: 0; }
.cosmos-layer-filter button { flex: 0 0 auto; min-height: 36px; padding: 0 12px; border: 1px solid var(--cosmos-line); border-radius: 12px; background: linear-gradient(135deg, #7da2b126, #10192063); color: #cfdbdf; font-size: 11px; cursor: pointer; box-shadow: inset 0 1px #ffffff2b, 0 8px 24px #07101824; backdrop-filter: blur(24px) saturate(150%); }
.cosmos-layer-filter button:hover, .cosmos-layer-filter button:focus-visible, .cosmos-layer-filter button.active { border-color: #edb77991; background: #a166394f; color: #fff4e6; outline: none; }
.cosmos-camera.galaxy-toolbar { top: 18px; right: 18px; left: auto; max-width: calc(100% - 860px); overflow-x: auto; border-color: var(--cosmos-line); background: var(--cosmos-panel); box-shadow: inset 0 1px #ffffff1b, 0 14px 44px #050a0f30; backdrop-filter: blur(24px) saturate(140%); }
.cosmos-camera.galaxy-toolbar button { flex: 0 0 auto; color: #d4dfe3; white-space: nowrap; }
.cosmos-camera.galaxy-toolbar button:hover, .cosmos-camera.galaxy-toolbar button:focus-visible { background: #ffffff12; color: #fff5e7; }
.cosmos-camera [data-cosmos-events][aria-pressed="true"] { border-color: #76d1e66e; background: #34748a52; color: #effcff; box-shadow: inset 0 1px #d8f9ff24, 0 0 20px #55bdd526; }
.cosmos-camera [data-cosmos-events][aria-pressed="false"] { color: #94a4aa; }
.cosmos-inspector { position: absolute; top: 80px; right: 18px; z-index: 7; width: 340px; max-height: min(590px, calc(100% - 190px)); overflow: auto; padding: 18px; border: 1px solid var(--cosmos-line); border-radius: 18px; background: var(--cosmos-panel); color: var(--cosmos-ink); box-shadow: inset 0 1px #ffffff38, inset -22px -18px 50px #07101824, 0 20px 62px #050a0f3d; backdrop-filter: blur(34px) saturate(160%); scrollbar-width: thin; }
.cosmos-inspector:not(.is-open) { opacity: 0; transform: translateX(24px); pointer-events: none; }
.cosmos-inspector h3 { margin: 7px 0 10px; color: var(--cosmos-ink); font-family: inherit; font-size: 21px; font-weight: 650; line-height: 1.18; letter-spacing: -.025em; }
.cosmos-inspector p { margin: 0 0 14px; color: var(--cosmos-muted); font-size: 12px; line-height: 1.55; }
.cosmos-detail-kind { color: #e0ad75; font-size: 10px; letter-spacing: .08em; }
.cosmos-object-heading { display: flex; gap: 11px; align-items: center; margin-bottom: 10px; }
.cosmos-object-heading > div { flex: 1 1 auto; min-width: 0; }
.cosmos-object-heading h3 { margin: 4px 0 0; }
.cosmos-favorite-toggle { display: inline-flex; flex: 0 0 auto; gap: 5px; align-items: center; min-height: 32px; padding: 0 9px; border: 1px solid #d9e8eb38; border-radius: 10px; background: #edf7f70a; color: #c8d4d7; font: 600 11px/1 Geist, "PingFang SC", system-ui, sans-serif; cursor: pointer; }
.cosmos-favorite-toggle > span:first-child { color: #aeb9bb; font-size: 15px; line-height: 1; }
.cosmos-favorite-toggle:hover, .cosmos-favorite-toggle:focus-visible { border-color: #f4cf7f8f; background: #a878343a; color: #fff5d9; outline: none; }
.cosmos-favorite-toggle[aria-pressed="true"] { border-color: #ffd884a8; background: #b680394d; color: #fff5d9; box-shadow: 0 0 18px #f1bf5f28, inset 0 1px #fff2c844; }
.cosmos-favorite-toggle[aria-pressed="true"] > span:first-child { color: #ffe7a1; text-shadow: 0 0 9px #ffd56bbd; }
.cosmos-object-logo, .cosmos-peer-logo, .product-logo { position: relative; display: grid; flex: 0 0 auto; place-items: center; overflow: hidden; border: 1px solid #9ba9a34a; background: #f3f2ec; color: #34433d; font-weight: 750; }
.cosmos-object-logo { width: 44px; height: 44px; border-radius: 12px; }
.cosmos-peer-logo { width: 30px; height: 30px; border-radius: 9px; }
.cosmos-object-logo i, .cosmos-peer-logo i, .product-logo i { font-size: 10px; font-style: normal; }
.cosmos-object-logo img, .cosmos-peer-logo img, .product-logo img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 5px; background: #f3f2ec; object-fit: contain; }
.cosmos-object-logo img.failed, .cosmos-peer-logo img.failed, .product-logo img.failed { display: none; }
.cosmos-inspector dl { display: grid; gap: 0; margin: 0 0 14px; }
.cosmos-inspector dl div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--cosmos-line); }
.cosmos-inspector dt, .cosmos-inspector dd { margin: 0; font-size: 11px; line-height: 1.4; }
.cosmos-inspector dt { color: #aab9c0; }
.cosmos-inspector dd { color: #e5edef; overflow-wrap: anywhere; }
.cosmos-inspector a { color: #f0bd82; font-size: 12px; text-decoration: none; border-bottom: 1px solid #f0bd8288; }
.cosmos-signal-grade { display: inline-flex; gap: 7px; align-items: center; color: #dbe5e7; font-weight: 600; }
.cosmos-signal-grade i { width: 7px; height: 7px; border-radius: 50%; background: #8ca1a7; box-shadow: 0 0 0 3px #8ca1a71b; }
.cosmos-signal-grade.tier-1 { color: #d7ebed; }
.cosmos-signal-grade.tier-1 i { width: 8px; height: 8px; background: #a6dce4; box-shadow: 0 0 6px #a6dce49c, 0 0 0 4px #a6dce421; }
.cosmos-signal-grade.tier-2 { color: #eef6df; }
.cosmos-signal-grade.tier-2 i { width: 9px; height: 9px; background: #dff0aa; box-shadow: 0 0 9px #dff0aacc, 0 0 0 5px #dff0aa26; }
.cosmos-signal-grade.tier-3 { color: #fff2cd; }
.cosmos-signal-grade.tier-3 i { width: 10px; height: 10px; background: #fff3c7; box-shadow: 0 0 12px #ffe49ce8, 0 0 0 6px #ffe49c2e; }
.cosmos-peer-section { margin: 4px 0 16px; padding-top: 13px; border-top: 1px solid var(--cosmos-line); }
.cosmos-peer-section > header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.cosmos-peer-section > header b { font-size: 13px; }
.cosmos-peer-section > header span { color: var(--cosmos-muted); font-size: 10px; }
.cosmos-corporate-section { margin: 4px 0 16px; padding-top: 13px; border-top: 1px solid #8edbb277; }
.cosmos-corporate-section > header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.cosmos-corporate-section > header b { font-size: 13px; }.cosmos-corporate-section > header span,.cosmos-corporate-section > small { color: var(--cosmos-muted); font-size: 9px; line-height: 1.5; }
.cosmos-corporate-section > div { display: flex; align-items: center; gap: 5px; overflow-x: auto; padding-bottom: 7px; }
.cosmos-corporate-section i { color: #8edbb2; font-style: normal; }.cosmos-corporate-section button { padding: 6px 8px; border: 1px solid #8edbb25c; border-radius: 999px; background: #15332c99; color: #e6fff4; font-size: 9px; white-space: nowrap; cursor: pointer; }.cosmos-corporate-section button:disabled { border-color: #f1c58280; background: #5d4a2c88; color: #fff2d8; cursor: default; }
.cosmos-corporate-section .cosmos-corporate-children { padding-top: 8px; border-top: 1px dashed #8edbb244; }.cosmos-corporate-children strong { color: var(--cosmos-muted); font-size: 9px; font-weight: 600; }
.cosmos-peer-list { display: grid; max-height: 245px; overflow: auto; scrollbar-width: thin; }
.cosmos-peer-list > button { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 9px; align-items: center; min-width: 0; padding: 8px 3px; border: 0; border-bottom: 1px solid var(--cosmos-line); background: transparent; color: var(--cosmos-ink); text-align: left; cursor: pointer; }
.cosmos-peer-list > button:hover, .cosmos-peer-list > button:focus-visible { background: #ffffff0b; outline: none; }
.cosmos-peer-list > button > span { min-width: 0; }
.cosmos-peer-list b, .cosmos-peer-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cosmos-peer-list b { font-size: 12px; }
.cosmos-peer-list small { margin-top: 3px; color: var(--cosmos-muted); font-size: 10px; }
.cosmos-analysis-link { width: 100%; min-height: 38px; margin-top: 10px; border: 1px solid #8bcdf17a; border-radius: 10px; background: #315268; color: #effaff; font-size: 11px; cursor: pointer; }
.cosmos-analysis-link:hover, .cosmos-analysis-link:focus-visible { border-color: #a8dcf6; background: #3a6179; outline: none; }
.cosmos-source-link { display: inline-block; }
.cosmos-empty-detail b { font-size: 15px; }
.cosmos-empty-detail p { margin-top: 8px; }
.cosmos-legend { position: absolute; bottom: 18px; left: 18px; z-index: 6; display: flex; flex-wrap: wrap; max-width: min(980px, calc(100% - 400px)); gap: 8px 13px; align-items: center; padding: 9px 12px; border: 1px solid var(--cosmos-line); border-radius: 13px; background: linear-gradient(135deg, #769baa24, #111b2368); color: #dce8eb; font-size: 11px; box-shadow: inset 0 1px #ffffff2f, 0 12px 34px #0710182b; backdrop-filter: blur(26px) saturate(150%); pointer-events: none; }
.cosmos-legend span { display: flex; gap: 6px; align-items: center; white-space: nowrap; }
.cosmos-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.cosmos-legend i.object { background: #75a5b9; }
.cosmos-legend i.cosmos-layer-dot { display: inline-block; width: 8px; height: 8px; min-height: 0; padding: 0; border: 1px solid var(--layer-rim); border-radius: 50%; background: var(--layer-core); box-shadow: 0 0 0 3px color-mix(in srgb, var(--layer-rim) 18%, transparent), 0 0 8px color-mix(in srgb, var(--layer-core) 45%, transparent); }
.cosmos-legend i.cosmos-layer-dot.energy { --layer-core: #5eb98a; --layer-rim: #a4edc4; }
.cosmos-legend i.cosmos-layer-dot.compute { --layer-core: #5aa6c6; --layer-rim: #9fdcef; }
.cosmos-legend i.cosmos-layer-dot.chip { --layer-core: #cf9a52; --layer-rim: #f1c887; }
.cosmos-legend i.cosmos-layer-dot.model { --layer-core: #9675b8; --layer-rim: #c7abe0; }
.cosmos-legend i.cosmos-layer-dot.application { --layer-core: #cf707e; --layer-rim: #efa5af; }
.cosmos-legend i.favorite { display: inline-grid; width: 14px; height: 14px; place-items: center; background: transparent; color: #ffe298; font-size: 13px; line-height: 1; text-shadow: 0 0 8px #ffd56ba8; }
.cosmos-legend i.event { background: #e0a15e; box-shadow: 0 0 0 3px #e0a15e26; }
.cosmos-legend i.signal.s1 { background: #a6dce4; box-shadow: 0 0 5px #a6dce48f, 0 0 0 2px #a6dce421; }
.cosmos-legend i.signal.s2 { width: 9px; height: 9px; background: #dff0aa; box-shadow: 0 0 8px #dff0aab8, 0 0 0 3px #dff0aa24; }
.cosmos-legend i.signal.s3 { width: 11px; height: 11px; background: #fff3c7; box-shadow: 0 0 11px #ffe49cdb, 0 0 0 4px #ffe49c2b; }
.cosmos-legend i.relation { width: 22px; height: 1px; border-radius: 0; background: #e5ae70; }
.cosmos-legend i.peer { width: 22px; height: 2px; border-radius: 0; background: #85cdf1; }
.cosmos-legend small { color: #aeb8b3; line-height: 1.35; }
.cosmos-zoom.galaxy-zoom { right: 18px; bottom: 18px; border-color: var(--cosmos-line); background: linear-gradient(135deg, #769baa2b, #111b2373); box-shadow: inset 0 1px #ffffff32, 0 14px 44px #050a0f38; backdrop-filter: blur(28px) saturate(155%); }
.cosmos-zoom.galaxy-zoom button { color: #d5e0e3; }
.cosmos-zoom.galaxy-zoom output { color: #c1cdd1; }
.cosmos-stage .galaxy-tooltip { border-color: var(--cosmos-line); background: #172129c7; color: #f1f6f7; box-shadow: inset 0 1px #ffffff1a, 0 16px 46px #050a0f4f; backdrop-filter: blur(18px); }
.cosmos-stage .galaxy-tooltip span { color: #bdc6c1; }
.cosmos-stage .galaxy-fallback { background: #202a31f2; color: #f1f4f2; }
.cosmos-stage .galaxy-fallback span { color: #bdc6c1; }
.cosmos-stage.is-ui-idle > .cosmos-hud { opacity: 0; transform: translate(-20px, -24px); pointer-events: none; }
.cosmos-stage.is-ui-idle > .cosmos-search, .cosmos-stage.is-ui-idle > .cosmos-time-filter, .cosmos-stage.is-ui-idle > .cosmos-layer-filter, .cosmos-stage.is-ui-idle > .cosmos-legend { opacity: 0; transform: translateX(-28px); pointer-events: none; }
.cosmos-stage.is-ui-idle > .cosmos-camera, .cosmos-stage.is-ui-idle > .cosmos-inspector, .cosmos-stage.is-ui-idle > .cosmos-zoom { opacity: 0; transform: translateX(28px); pointer-events: none; }
.cosmos-stage.is-ui-idle { cursor: none; }
.cosmos-camera [data-cosmos-immersive][aria-pressed="true"] { background: #c47d424a; color: #fff2df; }
.cosmos-workspace:fullscreen { width: 100vw; height: 100dvh; background: #151b21; }

@keyframes cosmos-nebula-drift {
  0% { transform: translate3d(-1.2%, -.8%, 0) scale(1.04); }
  100% { transform: translate3d(1%, .7%, 0) scale(1.075); }
}

@keyframes cosmos-voyage-lines {
  0% { transform: scale(.88) rotate(0deg); }
  50% { transform: scale(1.02) rotate(2.8deg); }
  100% { transform: scale(.88) rotate(5.6deg); }
}

@keyframes cosmos-glass-caustic {
  0% { transform: translate3d(-1.2%, -.8%, 0) scale(1.04) rotate(-1deg); filter: hue-rotate(-4deg); }
  100% { transform: translate3d(1.4%, 1%, 0) scale(1.08) rotate(1deg); filter: hue-rotate(6deg); }
}

@keyframes cosmos-depth-breathe {
  0% { opacity: .72; transform: scale(1); }
  100% { opacity: .96; transform: scale(1.018); }
}

@media (max-width: 1500px) and (min-width: 901px) {
  body:has(#app.cosmos-view) > header { width: min(680px, calc(100% - 40px)); }
  .cosmos-stage > .cosmos-hud { top: 88px; }
  .cosmos-search { top: 236px; }
  .cosmos-time-filter { top: 288px; max-width: calc(100% - 390px); }
  .cosmos-layer-filter { top: 332px; max-width: calc(100% - 390px); }
  .cosmos-camera.galaxy-toolbar { top: 88px; max-width: 520px; }
  .cosmos-inspector { top: 150px; }
}

/* Product landscape: one evidence-led matrix, not a stack of dashboard cards. */
.product-landscape { margin: 0 0 82px; scroll-margin-top: 110px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.product-landscape-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; padding: 22px 0 18px; }
.product-landscape-heading h2 { margin: 8px 0 0; font-size: clamp(32px, 3.2vw, 42px); }
.product-landscape-status { display: flex; gap: 7px; align-items: baseline; min-width: 176px; padding-bottom: 5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.product-landscape-status b { font-size: 30px; font-weight: 520; line-height: 1; }
.product-landscape-status span { color: var(--muted); font-size: 11px; }
.product-landscape-status i { margin-left: 3px; padding: 3px 6px; border: 1px solid #96602e55; border-radius: 999px; color: var(--amber); font-size: 9px; font-style: normal; letter-spacing: .06em; text-transform: uppercase; }
.product-landscape-thesis { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 5px 26px; padding: 20px 0; border-top: 1px solid var(--line); }
.product-landscape-thesis > b { grid-row: 1 / 3; color: var(--green); font-size: 12px; }
.product-landscape-thesis p { max-width: 920px; margin: 0; font-size: 16px; line-height: 1.65; }
.product-landscape-thesis small { color: var(--muted); font-size: 11px; line-height: 1.55; }
.product-matrix { overflow: auto; border-top: 1px solid var(--ink); }
.product-matrix table { min-width: 1240px; table-layout: fixed; }
.product-matrix th, .product-matrix td { text-align: left; vertical-align: top; }
.product-matrix th { position: sticky; top: 0; z-index: 1; padding: 11px 12px; background: var(--paper); }
.product-matrix th:nth-child(1) { width: 220px; }
.product-matrix th:nth-child(2) { width: 205px; }
.product-matrix th:nth-child(3) { width: 245px; }
.product-matrix th:nth-child(4) { width: 275px; }
.product-matrix th:nth-child(5) { width: 300px; }
.product-matrix td { padding: 15px 12px; }
.product-matrix tr.subject td { background: #e9eee8; }
.product-matrix p, .product-matrix small { display: block; margin: 0; line-height: 1.5; }
.product-matrix p { color: #343a36; font-size: 12px; }
.product-matrix small { margin-top: 6px; color: var(--muted); font-size: 10px; }
.product-matrix td > i, .product-matrix td > strong { display: inline-block; margin-bottom: 7px; font-size: 10px; font-style: normal; letter-spacing: .03em; }
.product-matrix td > i { color: var(--green); }
.product-matrix td > strong { color: var(--amber); }
.product-identity { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; }
.product-logo { width: 40px; height: 40px; border-radius: 11px; border-color: #43574f24; }
.product-identity > span { display: grid; gap: 3px; min-width: 0; }
.product-identity > span > b, .product-identity > span > small, .product-identity a { display: block; }
.product-identity > span > b { font-size: 13px; }
.product-identity > span > small { margin: 0; line-height: 1.35; }
.product-identity a { width: max-content; margin-top: 5px; color: var(--green); font-size: 10px; text-decoration: none; }
.product-landscape-boundary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .65fr); gap: 34px; padding: 18px 0 20px; color: var(--muted); }
.product-landscape-boundary b { color: var(--ink); font-size: 11px; }
.product-landscape-boundary p { display: flex; flex-wrap: wrap; gap: 6px; margin: 9px 0 0; }
.product-landscape-boundary p span { padding: 4px 8px; border: 1px solid var(--line); border-radius: 999px; font-size: 10px; }
.product-landscape-boundary > small { line-height: 1.55; }
.research-brief-heading { margin-top: 10px; }

@media (prefers-reduced-transparency: reduce) {
  body:has(#app.cosmos-view) > header, .cosmos-stage > .cosmos-hud, .cosmos-search input, .cosmos-time-filter, .cosmos-layer-filter button, .cosmos-camera.galaxy-toolbar, .cosmos-inspector, .cosmos-legend, .cosmos-zoom.galaxy-zoom { background: #202a31; backdrop-filter: none; }
  .cosmos-workspace::before, .cosmos-workspace::after { opacity: .035; mix-blend-mode: normal; }
}

@media (prefers-reduced-motion: reduce) {
  .cosmos-workspace::before, .cosmos-workspace::after, .cosmos-workspace *, .cosmos-workspace *::before, .cosmos-workspace *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
}

@media (max-width: 900px) {
  body > header { grid-template-columns: 1fr; gap: 0; padding: 10px 16px 0; }
  body > header .brand { padding-bottom: 8px; }
  body > header nav { width: 100%; white-space: nowrap; }
  body > header nav button { flex: 0 0 auto; padding: 8px 10px; }
  body > main { width: calc(100% - 32px); padding: 32px 0 64px; }
  .overview-heading { display: block; }
  .overview-heading p { margin-top: 10px; text-align: left; }
  .knowledge-workspace { grid-template-columns: 1fr; }
  .knowledge-nav { display: block; overflow-x: auto; padding: 10px; border-right: 0; border-bottom: 1px solid var(--line); }
  .galaxy-workspace .knowledge-nav { position: relative; inset: auto; width: auto; height: auto; overflow-y: hidden; }
  .knowledge-brand, .knowledge-nav .nav-label { display: none; }
  .concept-node-search { position: sticky; left: 0; width: min(300px, 84vw); margin-bottom: 8px; padding: 0; border: 0; }
  .knowledge-nav nav { display: flex; width: max-content; margin: 0; gap: 5px; padding: 0; }
  .knowledge-nav nav button, .knowledge-nav nav button:first-child, .knowledge-nav nav button[data-jump-view], .knowledge-nav nav button[data-concept-path] { display: flex; grid-template-columns: none; gap: 6px; flex: 0 0 auto; padding: 7px 9px; border: 1px solid #c9c1b3; white-space: nowrap; }
  .knowledge-nav nav button.active { border-color: #be543b; }
  .knowledge-main { max-width: 100%; overflow: visible; }
  .knowledge-main.graph-mode > header, .knowledge-graph-shell, .knowledge-stage { width: 100%; }
  .knowledge-main.graph-mode { overscroll-behavior-x: contain; }
  .evolution-timebar { position: static; width: 100%; }
  .spatial-timebar { grid-template-columns: 1fr; }
  .spatial-view-controls { grid-column: 1; }
  .timeline-control label { grid-template-columns: auto minmax(140px, 1fr) 64px; }
  .knowledge-tools { position: sticky; top: 14px; bottom: auto; left: 14px; margin: 14px 14px -59px; padding-left: 8px; }
  .knowledge-tools > span { display: none; }
  .knowledge-ask { position: sticky; left: 0; width: auto; }
  .knowledge-stage, .spatial-stage { min-height: 620px; }
  .spatial-node-label { width: 94px; }
  .knowledge-path-view { padding: 22px 16px; }
  .path-focus { grid-template-columns: 1fr; gap: 20px; margin-top: 22px; padding: 24px 18px; }
  .path-focus h3 { font-size: 22px; line-height: 1.25; overflow-wrap: anywhere; }
  .path-focus aside { padding: 18px 0 0; border-top: 1px solid #c9c1b3; border-left: 0; }
  .knowledge-inspector { border-top: 1px solid var(--line); border-left: 0; }
  .galaxy-workspace { display: grid; grid-template-columns: 1fr; min-height: 0; }
  .galaxy-workspace .knowledge-main { grid-column: 1; }
  .galaxy-workspace .galaxy-inspector { position: static; width: auto; max-height: none; border: 0; border-top: 1px solid #222b43; border-radius: 0; box-shadow: none; }
  .galaxy-stage { min-height: 72vh; }
  .galaxy-key { max-width: calc(100% - 32px); margin-bottom: 62px; }
  body:has(#app.cosmos-view) > header { top: 8px; grid-template-columns: 1fr; width: calc(100% - 20px); min-height: 0; gap: 3px; padding: 8px 10px; }
  body:has(#app.cosmos-view) > header .brand { display: none; }
  #app.cosmos-view { width: 100%; height: 100dvh; min-height: 100dvh; padding: 0; }
  .cosmos-workspace { height: 100dvh; min-height: 100dvh; border-radius: 0; }
  .cosmos-stage.galaxy-stage { height: 100dvh; min-height: 100dvh; }
  .cosmos-stage > .cosmos-hud { top: 108px; right: auto; left: 10px; grid-template-columns: 1fr; width: min(390px, calc(100% - 20px)); display: grid; gap: 8px; padding: 11px 12px; }
  .cosmos-hud > div small { display: none; }
  .cosmos-hud > div b { font-size: 16px; }
  .cosmos-hud dl { grid-template-columns: repeat(4, 1fr); }
  .cosmos-hud dl div { min-width: 0; padding: 0 8px; }
  .cosmos-hud dl div:first-child { border-left: 0; }
  .cosmos-hud dd { font-size: 14px; }
  .cosmos-search { top: 218px; left: 10px; grid-template-columns: minmax(130px, 210px) auto; }
  .cosmos-time-filter { top: 269px; left: 10px; max-width: min(560px, calc(100% - 20px)); }
  .cosmos-layer-filter { top: 313px; left: 10px; max-width: min(560px, calc(100% - 20px)); }
  .cosmos-camera.galaxy-toolbar { top: 218px; right: 10px; left: auto; max-width: min(500px, calc(100% - 310px)); }
  .cosmos-inspector { display: none; top: auto; right: 10px; bottom: 126px; left: auto; width: min(350px, calc(100% - 20px)); max-height: min(46vh, 350px); }
  .cosmos-inspector.is-open { display: block; }
  .cosmos-legend { display: none; }
  .cosmos-zoom.galaxy-zoom { display: none; }
  .product-landscape-heading { align-items: start; }
  .product-landscape-thesis, .product-landscape-boundary { grid-template-columns: 1fr; gap: 10px; }
  .product-landscape-thesis > b { grid-row: auto; }
  .layer { grid-template-columns: 32px 1fr; gap: 12px; }
  .layer-segments, .layer-entities, .layer-state { grid-column: 2; }
  .layer-state { grid-template-columns: auto auto auto; align-items: center; justify-content: start; border-left: 0; padding-left: 0; }
  .layer-state button { grid-column: 1 / -1; }
  .capital-band, .flow-legend { grid-template-columns: 1fr; }
  .flow-legend { border-top: 0; }
  .event-meta { padding-left: 0; flex-wrap: wrap; }
  .world-view { width: calc(100% - 28px); padding-top: 24px; }
  .world-heading { display: block; }
  .world-heading p { margin-top: 8px; text-align: left; }
  .map-shell { display: grid; min-height: 0; border-right: 0; border-left: 0; }
  .map-toolbar { position: static; width: auto; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); box-shadow: none; background: transparent; backdrop-filter: none; }
  .map-layer-list { grid-template-columns: 1fr 1fr; gap: 0 12px; }
  .map-stage { position: relative; min-height: 62vh; }
  .map-camera-hint { right: 10px; bottom: 10px; max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; }
  .height-axis { left: 10px; transform: translateY(-50%) scale(.88); transform-origin: left center; }
  .map-detail { position: static; width: auto; max-height: none; padding: 18px 0; border: 0; border-top: 1px solid var(--line); box-shadow: none; background: transparent; backdrop-filter: none; }
  .hop-list > div { grid-template-columns: 25px 1fr 20px 1fr; }
  .hop-list small { grid-column: 2 / -1; text-align: left; }
  .source-table article { grid-template-columns: 1fr; gap: 10px; }
  .source-table article > div:last-child { text-align: left; }
}

@media (max-width: 600px) {
  .cosmos-camera.galaxy-toolbar { top: 361px; right: 10px; left: 10px; max-width: none; }
  .cosmos-inspector { width: calc(100% - 20px); }
  .overview-view { width: calc(100% - 20px); }
  .overview-heading { padding: 0 2px; }
  .overview-heading h1 { font-size: 31px; }
  .overview-heading p { font-size: 13px; }
  .knowledge-main.graph-mode > header, .knowledge-graph-shell, .knowledge-stage, .evolution-timebar { width: 100%; }
  .evolution-timebar { min-height: 118px; align-items: start; gap: 10px; padding: 12px 14px; }
  .evolution-timebar > div:first-child { grid-template-columns: 1fr; gap: 5px; align-items: start; }
  .evolution-timebar > div:first-child span { font-size: 13px; }
  .timeline-control { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; width: 100%; }
  .timeline-control label { grid-template-columns: 1fr 60px; grid-column: 1 / -1; grid-row: 1; width: 100%; }
  .timeline-control label span { display: none; }
  .timeline-control button[data-timeline-shift="-0.25"] { grid-column: 1; grid-row: 2; }
  .timeline-control button[data-timeline-shift="0.25"] { grid-column: 3; grid-row: 2; }
  .timeline-control button[data-timeline-now] { grid-column: 2; grid-row: 2; }
  .spatial-view-controls { gap: 8px; }
  .spatial-view-controls output { width: 100%; margin-left: 0; }
  .evolution-stage, .spatial-stage { min-height: 560px; }
  .spatial-axis-key { top: auto; right: 10px; bottom: 10px; width: min(190px, calc(100% - 20px)); }
  .spatial-axis-key small { display: none; }
  .spatial-node-label { display: none; }
  .spatial-node:hover .spatial-node-label, .spatial-node:focus-visible .spatial-node-label, .spatial-node.active .spatial-node-label { display: grid; width: 156px; }
  .spatial-table-view { min-height: 0; padding: 12px; }
  .spatial-table-note { display: grid; gap: 6px; }
  .spatial-table-note span { font-size: 14px; line-height: 1.5; }
  .spatial-table-view td { font-size: 14px; }
  .evolution-domain { width: 150px; }
  .evolution-node { width: 126px; }
  .knowledge-tools { top: 128px; }
  .galaxy-toolbar { top: 10px; left: 10px; max-width: calc(100% - 20px); overflow-x: auto; }
  .galaxy-zoom { right: 10px; bottom: 10px; left: 10px; grid-template-columns: 38px minmax(80px, 1fr) 38px 50px; }
  .galaxy-key { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .knowledge-camera.is-animated, .evolution-domain, .evolution-node, .spatial-domain, .spatial-node, .spatial-node-label, .timeline-control button, .knowledge-zoom-controls button { transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Cosmos control audit: one adaptive dock, one camera rail, and an always reachable UI toggle. */
.cosmos-control-dock { position: absolute; top: 108px; left: 18px; z-index: 9; display: grid; width: min(430px, calc(100% - 36px)); gap: 9px; transition: opacity .36s ease, transform .48s cubic-bezier(.22, 1, .36, 1); }
.cosmos-control-dock .cosmos-hud { position: relative; inset: auto; display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; gap: 12px; margin: 0; padding: 14px 15px 13px; border: 1px solid var(--cosmos-line); border-radius: 18px; background: var(--cosmos-panel); color: var(--cosmos-ink); box-shadow: inset 0 1px #ffffff36, inset 18px 0 42px #8bd4e70a, 0 18px 56px #050a0f38; backdrop-filter: blur(30px) saturate(155%); }
.cosmos-control-dock .cosmos-hud dl { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cosmos-control-dock .cosmos-hud dl div { padding: 2px 9px; }
.cosmos-control-dock .cosmos-hud dt { overflow: hidden; text-overflow: ellipsis; }
.cosmos-control-dock .cosmos-search { position: relative; inset: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; width: 100%; box-shadow: inset 0 1px #ffffff1a, 0 10px 28px #050a0f2b; }
.cosmos-control-dock .cosmos-search input { width: 100%; }
.cosmos-search-status { display: none; grid-column: 1 / -1; margin-top: 6px; padding: 7px 10px; border: 1px solid var(--cosmos-line); border-radius: 9px; background: #111b23d9; color: #c7d8dd; font-size: 11px; line-height: 1.4; box-shadow: 0 8px 24px #050a0f35; }
.cosmos-search-status:not(:empty) { display: block; }
.cosmos-search-status[data-state="success"] { border-color: #83d2b06e; color: #c8f2df; }
.cosmos-search-status[data-state="error"] { border-color: #e59d8875; color: #ffd2c8; }
.cosmos-control-dock .cosmos-time-filter, .cosmos-control-dock .cosmos-layer-filter { position: relative; inset: auto; width: 100%; max-width: none; overscroll-behavior-inline: contain; scrollbar-width: none; }
.cosmos-control-dock .cosmos-time-filter::-webkit-scrollbar, .cosmos-control-dock .cosmos-layer-filter::-webkit-scrollbar, .cosmos-camera.galaxy-toolbar::-webkit-scrollbar { display: none; }
.cosmos-control-dock .cosmos-layer-filter { gap: 5px; }
.cosmos-control-dock button, .cosmos-camera.galaxy-toolbar button, .cosmos-ui-toggle { transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .12s ease; }
.cosmos-control-dock button:active, .cosmos-camera.galaxy-toolbar button:active, .cosmos-ui-toggle:active { transform: scale(.97); }
.cosmos-control-dock button:focus-visible, .cosmos-camera.galaxy-toolbar button:focus-visible, .cosmos-ui-toggle:focus-visible { outline: 2px solid #f2c185; outline-offset: 2px; }
.cosmos-camera.galaxy-toolbar { top: 108px; right: 18px; left: auto; z-index: 9; max-width: calc(100% - 548px); overflow-x: auto; overscroll-behavior-inline: contain; }
.cosmos-camera [data-camera-view][aria-pressed="true"] { background: #dce9ebe8; color: #18242a; box-shadow: inset 0 1px #fff, 0 4px 14px #050a0f35; }
.cosmos-camera [data-cosmos-links][aria-pressed="true"] { border-color: #e5b47466; background: #8d603544; color: #fff1df; }
.cosmos-ui-toggle { position: absolute; top: 110px; left: 462px; z-index: 30; min-height: 42px; padding: 0 12px; border: 1px solid var(--cosmos-line); border-radius: 12px; background: #17242dd9; color: #e3edf0; font: 600 11px/1 Geist, "PingFang SC", system-ui, sans-serif; box-shadow: inset 0 1px #ffffff27, 0 10px 30px #050a0f38; cursor: pointer; backdrop-filter: blur(20px) saturate(145%); }
.cosmos-ui-toggle:hover { border-color: #e9bb8282; background: #263640e8; color: #fff5e9; }
.cosmos-inspector { top: 169px; }
.cosmos-stage.is-ui-idle > .cosmos-control-dock { opacity: 0; transform: translateX(-26px); pointer-events: none; }
.cosmos-stage.is-ui-idle > .cosmos-camera, .cosmos-stage.is-ui-idle > .cosmos-inspector, .cosmos-stage.is-ui-idle > .cosmos-zoom { opacity: 0; transform: translateX(26px); pointer-events: none; }
.cosmos-stage.is-ui-idle > .cosmos-legend { opacity: 0; transform: translateY(20px); pointer-events: none; }
.cosmos-stage.is-ui-idle:not(.is-immersive) { cursor: grab; }
.cosmos-stage.is-ui-idle.is-immersive { cursor: none; }

@media (max-width: 1500px) and (min-width: 901px) {
  .cosmos-control-dock { top: 104px; left: 14px; width: min(390px, calc(100% - 28px)); }
  .cosmos-control-dock .cosmos-hud { padding: 12px 13px; }
  .cosmos-control-dock .cosmos-hud > div small[data-cosmos-phase] { display: none; }
  .cosmos-camera.galaxy-toolbar { top: 104px; right: 14px; max-width: calc(100% - 520px); }
  .cosmos-ui-toggle { top: 106px; left: 418px; }
  .cosmos-inspector { top: 162px; right: 14px; }
}

@media (max-width: 900px) {
  .cosmos-control-dock { top: 100px; left: 10px; width: min(420px, calc(100% - 20px)); gap: 7px; }
  .cosmos-control-dock .cosmos-hud { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 11px 12px; }
  .cosmos-control-dock .cosmos-hud > div small[data-cosmos-phase] { display: none; }
  .cosmos-control-dock .cosmos-hud > div .cosmos-live-news { display: flex; }
  .cosmos-control-dock .cosmos-hud dl { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cosmos-control-dock .cosmos-hud dl div { padding: 0 7px; }
  .cosmos-control-dock .cosmos-search { grid-template-columns: minmax(0, 1fr) 64px; }
  .cosmos-control-dock .cosmos-time-filter, .cosmos-control-dock .cosmos-layer-filter { width: 100%; max-width: 100%; }
  .cosmos-control-dock .cosmos-time-filter button { min-height: 34px; font-size: 11px; }
  .cosmos-control-dock .cosmos-layer-filter button { min-height: 38px; font-size: 11px; }
  .cosmos-camera.galaxy-toolbar { top: auto; right: 10px; bottom: 10px; left: 10px; max-width: none; padding: 5px; }
  .cosmos-camera.galaxy-toolbar button { min-height: 42px; padding-inline: 13px; }
  .cosmos-ui-toggle { top: auto; right: 10px; bottom: 66px; left: auto; min-height: 40px; }
  .cosmos-inspector { top: auto; right: 10px; bottom: 68px; width: min(350px, calc(100% - 20px)); max-height: min(45vh, 360px); }
}

@media (max-width: 600px) {
  .cosmos-control-dock { top: 94px; right: 10px; width: auto; max-height: calc(100dvh - 214px); overflow-y: auto; padding-right: 1px; scrollbar-width: thin; }
  .cosmos-control-dock .cosmos-hud > div b { font-size: 15px; }
  .cosmos-control-dock .cosmos-hud > div span { font-size: 9px; }
  .cosmos-control-dock .cosmos-hud dl div { padding-inline: 5px; }
  .cosmos-control-dock .cosmos-hud dt { font-size: 9px; }
  .cosmos-control-dock .cosmos-hud dd { font-size: 13px; }
  .cosmos-control-dock .cosmos-search input, .cosmos-control-dock .cosmos-search button { min-height: 44px; }
  .cosmos-control-dock .cosmos-time-filter button, .cosmos-control-dock .cosmos-layer-filter button { min-height: 40px; }
  .cosmos-camera.galaxy-toolbar { top: auto; right: 10px; bottom: 10px; left: 10px; max-width: none; }
  .cosmos-camera.galaxy-toolbar button { min-height: 44px; }
  .cosmos-ui-toggle { right: 10px; bottom: 68px; min-height: 42px; }
  .cosmos-inspector { bottom: 68px; width: calc(100% - 20px); }
}
