:root {
	color-scheme: dark;
	--bg: #0c0710;
	--panel: #140d19;
	--line: #292232;
	--text: #f1ecf7;
	--muted: #958ba5;
	--gold: #efbd77;
	--purple: #b19bd5;
	--mono: "JetBrains Mono", monospace;
}
* {
	box-sizing: border-box;
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 13px Inter, sans-serif;
	overflow: hidden;
}
button,
a,
input {
	-webkit-tap-highlight-color: transparent;
}
button {
	font: inherit;
	cursor: pointer;
}
a {
	color: inherit;
	text-decoration: none;
}
button {
	color: inherit;
	background: transparent;
	border: 0;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 4px;
}
button:disabled {
	opacity: 0.45;
	cursor: wait;
}
.atlas-header {
	height: 86px;
	margin: 0 32px;
	border-bottom: 1px solid var(--line);
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.brand {
	display: flex;
	gap: 12px;
	align-items: center;
	font: 12px var(--mono);
	letter-spacing: .08em;
}
.brand-mark {
	display: grid;
	place-items: center;
	width: 34px;
	height: 40px;
	border: 1px solid #7d5434;
	color: var(--gold);
	font: 24px Georgia, serif;
}
.brand small {
	display: block;
	font-size: 9px;
	letter-spacing: .2em;
	color: var(--muted);
	margin-top: 5px;
}
.atlas-title {
	font: 17px var(--mono);
	letter-spacing: .25em;
}
.atlas-title span {
	display: block;
	text-align: center;
	font-size: 8px;
	color: var(--muted);
	margin-top: 6px;
	letter-spacing: .3em;
}
.quiet-link {
	font-size: 11px;
	color: var(--muted);
}
.quiet-link span {
	color: var(--gold);
	margin-left: 15px;
}
.atlas {
	display: grid;
	grid-template-columns: 244px minmax(0, 1fr) 252px;
	gap: 18px;
	height: calc(100dvh - 203px);
	padding: 32px 32px 0;
}
.atlas-sidebar {
	display: flex;
	flex-direction: column;
	min-height: 0;
}
.eyebrow,
.section-heading {
	font: 9px var(--mono);
	letter-spacing: .16em;
	color: var(--muted);
}
.live-dot {
	display: inline-block;
	width: 5px;
	height: 5px;
	margin-right: 8px;
	background: #91bea4;
	border-radius: 50%;
	box-shadow: 0 0 9px #91bea450;
}
h1 {
	font-size: 34px;
	line-height: 1.14;
	letter-spacing: -1.4px;
	font-weight: 500;
	margin: 25px 0 14px;
}
.intro,
.muted {
	font-size: 12px;
	line-height: 1.8;
	color: var(--muted);
}
.stats {
	display: flex;
	gap: 40px;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	padding: 22px 0;
	margin: 22px 0 26px;
}
.stats strong {
	display: block;
	font: 25px var(--mono);
	letter-spacing: -1px;
}
.stats span {
	display: block;
	font: 8px var(--mono);
	letter-spacing: .16em;
	color: var(--muted);
	margin-top: 9px;
}
.section-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
}
.text-button {
	font: 10px var(--mono);
	color: var(--gold);
	padding: 4px;
}
.domain-list {
	overflow: auto;
	min-height: 80px;
	scrollbar-width: thin;
}
.domain-row {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 12px 9px;
	border-left: 2px solid transparent;
	text-align: left;
	color: #bdb4c9;
	font-size: 11px;
}
.domain-row i {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--domain);
}
.domain-row span {
	flex: 1;
}
.domain-row small {
	font: 9px var(--mono);
	color: var(--muted);
}
.domain-row:hover,
.domain-row.active {
	background: #b19bd50a;
	color: var(--text);
	border-color: var(--domain);
}
.sidebar-bottom {
	margin-top: auto;
	padding-top: 20px;
}
.sidebar-bottom > a {
	display: flex;
	justify-content: space-between;
	color: var(--muted);
	padding: 8px 0;
	font-size: 10px;
}
.legend {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 20px;
	font-size: 9px;
	color: var(--muted);
}
.legend i {
	display: inline-block;
	width: 5px;
	height: 5px;
	margin-right: 5px;
}
.entity-dot {
	background: #b19bd5;
	border-radius: 50%;
}
.memory-dot {
	background: var(--gold);
	border-radius: 50%;
}
.document-dot {
	background: #af8bc8;
}
.atlas-stage {
	position: relative;
	min-width: 0;
	background: radial-gradient(ellipse at 50% 48%, #241a363f, transparent 65%);
	overflow: hidden;
}
.stage-top,
.stage-bottom {
	position: absolute;
	left: 10px;
	right: 10px;
	z-index: 3;
	display: flex;
	justify-content: space-between;
	align-items: center;
	pointer-events: none;
}
.stage-top {
	top: 0;
}
.stage-bottom {
	bottom: 6px;
}
.view-tabs,
.camera-tools {
	display: flex;
	pointer-events: auto;
	background: #0c0710c9;
	border: 1px solid var(--line);
}
.view-tabs button {
	font: 9px var(--mono);
	padding: 10px 13px;
	color: var(--muted);
}
.view-tabs button.active {
	color: var(--gold);
	background: #efbd770c;
}
.stage-top > span,
.coordinates {
	font: 8px var(--mono);
	letter-spacing: .13em;
	color: #847990;
}
.coordinates b {
	color: #c8bfd1;
	font-weight: 400;
}
.camera-tools button {
	padding: 9px 11px;
	font-size: 15px;
	min-width: 34px;
}
.camera-tools button span {
	font: 9px var(--mono);
	margin-left: 5px;
}
.camera-tools button:hover,
.camera-tools button[aria-pressed="true"] {
	color: var(--gold);
	background: #efbd770c;
}
#atlas-canvas,
#atlas-labels {
	position: absolute;
	inset: 40px 0 40px;
}
#atlas-canvas {
	touch-action: none;
}
#atlas-labels {
	pointer-events: none;
	overflow: hidden;
}
.node-label {
	position: absolute;
	max-width: 145px;
	padding: 4px 6px;
	font: 9px var(--mono);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	background: #0c0710b8;
	border-left: 1px solid var(--label);
	color: #c8bdd5;
	transform: translate(9px, -50%);
}
.inspector {
	border-left: 1px solid var(--line);
	padding-left: 22px;
	overflow: auto;
	scrollbar-width: thin;
}
.focus-symbol {
	font-size: 64px;
	color: #6b587d;
	margin: 30px 0 12px;
	font-weight: 400;
}
.inspector h2 {
	font-size: 21px;
	font-weight: 500;
	line-height: 1.3;
	overflow-wrap: anywhere;
	margin: 16px 0;
}
.detail-divider {
	height: 1px;
	background: var(--line);
	margin: 25px 0;
}
.node-row {
	display: flex;
	align-items: center;
	gap: 9px;
	text-align: left;
	padding: 12px 0;
	width: 100%;
	border-bottom: 1px solid #29223288;
}
.node-row .node-index {
	font: 9px var(--mono);
	color: #655773;
}
.node-row span:nth-child(2) {
	flex: 1;
	font-size: 11px;
	line-height: 1.5;
	overflow-wrap: anywhere;
}
.node-row small {
	font: 9px var(--mono);
	color: var(--muted);
}
.node-row:hover {
	color: var(--gold);
}
.node-type {
	color: var(--gold);
	font: 9px var(--mono);
	letter-spacing: .13em;
	margin-top: 28px;
}
.node-summary {
	color: #bcb1c9;
	line-height: 1.8;
	font-size: 12px;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}
.detail-link {
	display: inline-block;
	margin: 18px 0;
	font: 10px var(--mono);
	color: var(--gold);
}
.atlas-search {
	position: fixed;
	left: calc(50% + 4px);
	bottom: 25px;
	width: min(690px, calc(100vw - 590px));
	transform: translateX(-50%);
	z-index: 7;
}
.atlas-search form {
	display: flex;
	align-items: center;
	border: 1px solid #4e3c5e;
	background: #15101eea;
	height: 54px;
	backdrop-filter: blur(15px);
}
.search-icon {
	font-size: 25px;
	color: var(--gold);
	padding: 0 16px;
}
.atlas-search input {
	min-width: 0;
	flex: 1;
	border: 0;
	background: transparent;
	color: var(--text);
	font: 12px Inter, sans-serif;
	outline: none;
}
.atlas-search input::placeholder {
	color: var(--muted);
}
kbd {
	padding: 3px 6px;
	border: 1px solid var(--line);
	color: #736580;
	font: 10px var(--mono);
	margin: 0 14px;
}
.atlas-search form button {
	height: 100%;
	background: #efbd77;
	color: #21150f;
	font-size: 10px;
	font-weight: 600;
	padding: 0 18px;
}
.atlas-search form button span {
	margin-left: 12px;
}
.search-caption {
	display: flex;
	gap: 15px;
	justify-content: space-between;
	color: #83748e;
	font: 8px var(--mono);
	line-height: 1.5;
	margin-top: 10px;
}
.search-caption > span:last-child {
	white-space: nowrap;
}
.search-results {
	position: absolute;
	bottom: 88px;
	left: 0;
	right: 0;
	max-height: 300px;
	overflow: auto;
	background: #15101ff5;
	border: 1px solid #4e3c5e;
	padding: 8px 16px;
	backdrop-filter: blur(16px);
}
#atlas-state {
	position: absolute;
	inset: 45px 0;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 14px;
	background: #0c0710da;
	z-index: 4;
	text-align: center;
	padding: 25px;
}
#atlas-state[hidden] {
	display: none;
}
#atlas-state strong {
	font-weight: 500;
}
#atlas-state > span:last-child {
	font-size: 11px;
	color: var(--muted);
}
.loading-orbit {
	height: 40px;
	width: 40px;
	border: 1px solid #473351;
	border-top-color: var(--gold);
	border-radius: 50%;
	animation: orbit 1.2s linear infinite;
}
@keyframes orbit {
	to {
		transform: rotate(360deg);
	}
}
@media (prefers-reduced-motion: reduce) {
	* {
		animation: none !important;
		scroll-behavior: auto !important;
	}
}
@media (min-width: 1600px) {
	.atlas {
		grid-template-columns: 260px minmax(0, 1fr) 280px;
		gap: 32px;
		padding-top: 44px;
	}
	.atlas-header {
		height: 96px;
	}
	.atlas {
		height: calc(100dvh - 225px);
	}
	h1 {
		font-size: 40px;
	}
	.domain-row {
		padding: 15px 9px;
	}
	.atlas-search {
		bottom: 32px;
	}
}
@media (max-width: 1100px) {
	.atlas {
		grid-template-columns: 190px minmax(0, 1fr);
		gap: 12px;
		padding: 24px 20px 0;
	}
	.atlas-header {
		margin: 0 20px;
	}
	.inspector {
		position: absolute;
		right: 20px;
		top: 140px;
		bottom: 140px;
		width: 250px;
		background: #140d19ed;
		z-index: 6;
		padding: 20px;
		border: 1px solid var(--line);
		display: none;
	}
	.inspector.selected {
		display: block;
	}
	.atlas-search {
		left: calc(50% + 85px);
		width: calc(100vw - 275px);
	}
	h1 {
		font-size: 30px;
	}
	.stage-top > span {
		display: none;
	}
	.stats {
		gap: 24px;
	}
	.search-caption > span:last-child {
		display: none;
	}
}
@media (max-width: 650px) {
	.atlas-header {
		height: 68px;
		margin: 0 16px;
	}
	.brand {
		font-size: 10px;
	}
	.brand-mark {
		width: 27px;
		height: 32px;
	}
	.atlas-title {
		font-size: 13px;
	}
	.atlas-title span {
		font-size: 6px;
	}
	.quiet-link {
		font-size: 0;
	}
	.quiet-link span {
		font-size: 20px;
	}
	.atlas {
		display: block;
		height: calc(100dvh - 173px);
		padding: 0;
	}
	.atlas-sidebar {
		position: absolute;
		z-index: 5;
		left: 16px;
		right: 16px;
		top: 82px;
		display: block;
	}
	.atlas-sidebar h1,
	.intro,
	.stats,
	.sidebar-bottom,
	.atlas-sidebar > .eyebrow,
	.atlas-sidebar > .section-heading {
		display: none;
	}
	.domain-list {
		display: flex;
		min-height: 0;
		overflow: auto;
		gap: 4px;
		padding-bottom: 6px;
	}
	.domain-row {
		width: auto;
		white-space: nowrap;
		padding: 8px;
		border-left: 0;
		border-bottom: 1px solid transparent;
	}
	.domain-row small {
		display: none;
	}
	.atlas-stage {
		height: 100%;
		padding: 0;
		margin-top: 55px;
	}
	.stage-top {
		top: 0;
		left: 16px;
	}
	.stage-bottom {
		left: 16px;
		right: 16px;
		bottom: 35px;
	}
	.coordinates {
		font-size: 7px;
	}
	.camera-tools button {
		padding: 10px 9px;
	}
	.camera-tools button span {
		display: none;
	}
	.atlas-search {
		left: 16px;
		right: 16px;
		bottom: 17px;
		width: auto;
		transform: none;
	}
	.atlas-search form {
		height: 50px;
	}
	.atlas-search form button {
		padding: 0 10px;
		font-size: 9px;
	}
	.atlas-search form button span,
	kbd {
		display: none;
	}
	.search-icon {
		padding: 0 10px;
	}
	.atlas-search input {
		font-size: 11px;
	}
	.search-caption {
		font-size: 7px;
	}
	.inspector {
		top: auto;
		left: 16px;
		right: 16px;
		width: auto;
		bottom: 104px;
		max-height: 42dvh;
		box-shadow: 0 -15px 50px #0008;
	}
	.node-label {
		font-size: 8px;
		max-width: 105px;
	}
	#atlas-canvas,
	#atlas-labels {
		inset: 35px 0 60px;
	}
}

.node-row small {
	max-width: 100px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	flex-shrink: 0;
}
.domain-list {
	scrollbar-color: #403448 transparent;
}
.atlas-search form:focus-within {
	border-color: var(--gold);
}
/* Cinematic command deck. Panels float over one continuous projection volume. */
:root {
	--bg: #0a030f;
	--panel: #160721;
	--line: #b366e825;
	--text: #efdcfc;
	--muted: #9475aa;
	--gold: #f2b777;
	--purple: #b966f3;
}
body {
	background: radial-gradient(
		ellipse at 52% 48%,
		#250b37 0%,
		#100418 45%,
		#08020d 85%
	);
}
body:before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 5;
	background: repeating-linear-gradient(
		0deg,
		transparent 0px,
		transparent 3px,
		#c97bff03 4px
	);
	box-shadow: inset 0 0 160px #0009;
}
.atlas-header {
	position: relative;
	z-index: 8;
	height: 76px;
	margin: 0 28px;
	border-bottom: 1px solid #ac59e52b;
	background: linear-gradient(90deg, transparent, #240b3544, transparent);
}
.atlas-title {
	font-size: 13px;
	letter-spacing: .48em;
	color: #dbb6f4;
}
.atlas-title span {
	color: #825a9d;
	letter-spacing: .3em;
}
.brand-mark {
	border-color: #be77ef66;
	color: #dca9ff;
	box-shadow: 0 0 20px #b64cff18;
}
.atlas {
	display: block;
	height: calc(100dvh - 160px);
	padding: 0;
}
.atlas-stage {
	position: fixed;
	inset: 76px 0 95px;
	min-width: 0;
	z-index: 1;
	overflow: hidden;
}
#atlas-canvas,
#atlas-labels {
	position: absolute;
	inset: 0;
}
.atlas-sidebar {
	position: fixed;
	left: 28px;
	top: 112px;
	bottom: 115px;
	width: 212px;
	z-index: 4;
	padding: 18px 16px;
	background: linear-gradient(100deg, #13051cee, #17062288 80%, transparent);
	border-left: 1px solid #be67fa40;
	border-top: 1px solid #be67fa30;
	backdrop-filter: blur(8px);
}
h1 {
	font: 500 32px / 1.05 var(--mono);
	letter-spacing: .05em;
	margin: 22px 0 12px;
	text-shadow: 0 0 25px #b242ff33;
}
h1 em {
	font-style: normal;
	font-weight: 400;
	color: #ae5ee5;
	letter-spacing: .18em;
}
.intro {
	font: 8px / 1.8 var(--mono);
	letter-spacing: .14em;
}
.stats {
	gap: 30px;
	margin: 20px 0;
	padding: 18px 0;
}
.stats strong {
	font-size: 24px;
	color: #e8c7ff;
	text-shadow: 0 0 15px #c46eff55;
}
.stats span {
	font-size: 7px;
	letter-spacing: .09em;
}
.domain-row {
	font: 10px var(--mono);
	min-height: 35px;
}
.domain-row.active {
	background: linear-gradient(90deg, #b449ff20, transparent);
	border-color: #c675ff;
}
.domain-row small {
	color: #8f6da6;
}
.inspector {
	position: fixed;
	right: 28px;
	top: 112px;
	bottom: 145px;
	width: 224px;
	z-index: 4;
	padding: 18px 16px;
	background: linear-gradient(270deg, #13051cee, #17062288 85%, transparent);
	border-right: 1px solid #be67fa40;
	border-top: 1px solid #be67fa30;
	backdrop-filter: blur(8px);
}
.inspector h2 {
	font: 500 17px / 1.4 var(--mono);
	letter-spacing: .02em;
}
.focus-symbol {
	font-size: 65px;
	color: #b86feb;
	text-shadow: 0 0 35px #b244ff66;
	margin: 28px 0;
}
.node-row {
	font-size: 10px;
	border-bottom-color: #b36ae51a;
}
.node-row small {
	font-size: 8px;
}
.node-index {
	color: #955ebb;
}
.detail-divider {
	background: #b36ae525;
}
.stage-top {
	position: absolute;
	top: 28px;
	left: 275px;
	right: 275px;
	z-index: 3;
}
.view-tabs {
	border-color: #a858df35;
	background: #12061a88;
}
.view-tabs button {
	font-size: 9px;
	letter-spacing: .08em;
}
.view-tabs button.active {
	color: #dcaaff;
	background: #a858df13;
}
#scope-label {
	font-size: 8px;
	letter-spacing: .18em;
	color: #80589b;
}
.stage-bottom {
	left: 275px;
	right: 275px;
	bottom: 18px;
	z-index: 3;
}
.coordinates {
	font-size: 8px;
	letter-spacing: .18em;
	color: #8e61ad;
}
.camera-tools {
	border-color: #be67fa35;
	background: #13051dbb;
	backdrop-filter: blur(10px);
}
.node-label {
	font: 9px var(--mono);
	padding: 5px 8px;
	background: #11031bc9;
	border-left: 1px solid #c175f5;
	color: #e4bdff;
	box-shadow: 0 0 12px #b64cff12;
	letter-spacing: .035em;
}
.atlas-search {
	position: fixed;
	z-index: 9;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	width: min(650px, calc(100% - 48px));
	margin: 0;
}
#search-form {
	background: #14051ee8;
	border: 1px solid #bc5cff50;
	box-shadow: 0 0 35px #ae3aff0a;
	backdrop-filter: blur(16px);
}
#recall-button {
	background: #2a113c;
	color: #e1b5ff;
	border-left: 1px solid #bc5cff50;
}
#recall-button:hover {
	background: #43205b;
}
.search-caption {
	font-size: 8px;
	color: #7a5891;
}
.search-results {
	background: #170622f5;
	border-color: #a858df55;
}
.holo-reticle {
	position: absolute;
	left: 50%;
	top: 50%;
	width: min(67vw, 760px);
	height: min(67vw, 760px);
	transform: translate(-50%, -50%);
	border: 1px solid #be79ee0c;
	border-radius: 50%;
	pointer-events: none;
}
.holo-reticle:before,
.holo-reticle:after {
	content: "";
	position: absolute;
	inset: 15px;
	border: 1px dashed #b269e514;
	border-radius: 50%;
}
.holo-reticle:after {
	inset: 35px;
	border-style: solid;
	border-color: transparent #ab60df20;
	transform: rotate(35deg);
}
.holo-reticle span {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: -22px;
	font: 8px var(--mono);
	letter-spacing: .4em;
	color: #774d95;
	white-space: nowrap;
}
.holo-reticle span + span {
	top: auto;
	bottom: -22px;
}
@media (min-width: 1500px) {
	.atlas-sidebar {
		width: 230px;
	}
	.inspector {
		width: 235px;
	}
	h1 {
		font-size: 36px;
	}
}
@media (max-width: 1100px) {
	.atlas-sidebar {
		width: 185px;
		left: 18px;
	}
	.stage-top,
	.stage-bottom {
		left: 225px;
		right: 25px;
	}
	.inspector:not(.selected) {
		display: none;
	}
	.inspector.selected {
		right: 18px;
		top: 140px;
		bottom: 145px;
		width: 240px;
	}
	.holo-reticle {
		left: 58%;
	}
}
@media (max-width: 650px) {
	.atlas-header {
		height: 62px;
		margin: 0 16px;
	}
	.atlas-title {
		font-size: 10px;
		letter-spacing: .2em;
	}
	.atlas-title span {
		display: none;
	}
	.brand small {
		font-size: 7px;
	}
	.quiet-link {
		font-size: 9px;
	}
	.atlas-stage {
		inset: 116px 0 100px;
	}
	.atlas-sidebar {
		top: 66px;
		left: 0;
		right: 0;
		bottom: auto;
		width: auto;
		height: 44px;
		padding: 0 12px;
		background: #11041a88;
		border: 0;
		backdrop-filter: none;
	}
	.atlas-sidebar > .eyebrow,
	.atlas-sidebar h1,
	.atlas-sidebar .intro,
	.atlas-sidebar .stats,
	.atlas-sidebar .section-heading,
	.sidebar-bottom {
		display: none;
	}
	.domain-list {
		display: flex;
		flex-direction: row;
		overflow-x: auto;
		gap: 4px;
		height: 44px;
		scrollbar-width: none;
	}
	.domain-row {
		flex: none;
		min-height: 36px;
		font-size: 9px;
		padding: 8px;
	}
	.stage-top {
		top: 8px;
		left: 16px;
		right: 16px;
	}
	.stage-bottom {
		left: 16px;
		right: 16px;
		bottom: 12px;
	}
	.holo-reticle {
		left: 50%;
		width: 88vw;
		height: 88vw;
	}
	.holo-reticle span {
		font-size: 6px;
	}
	.inspector.selected {
		top: auto;
		bottom: 103px;
		right: 12px;
		left: 12px;
		width: auto;
		max-height: 42dvh;
		background: #160522f5;
	}
	.atlas-search {
		bottom: 18px;
		width: calc(100% - 24px);
	}
	.search-caption {
		font-size: 7px;
	}
	.search-caption > span + span {
		display: none;
	}
	.node-label {
		font-size: 8px;
	}
	.coordinates {
		font-size: 7px;
	}
	#scope-label {
		display: none;
	}
}

.holo-reticle {
	z-index: 2;
	opacity: 0.6;
}
.atlas-stage:after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(
		ellipse at center,
		transparent 30%,
		#0a021055 75%,
		#0a0210 100%
	);
	z-index: 1;
}
#atlas-labels {
	z-index: 2;
}
.atlas-stage {
	height: auto;
	margin: 0;
}
.guide-toggle {
	pointer-events: auto;
	color: #e9c48d;
	border: 1px solid #d9ae6555;
	background: #1c1323dd;
	padding: 9px 13px;
	font: 10px var(--mono);
}
.insight-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
	padding: 14px 10px;
	margin: 10px 0;
	text-align: left;
	border: 1px solid #b369e72b;
	background: linear-gradient(120deg, #34154966, #19082544);
	transition: background .2s, border-color .2s;
}
.insight-card:hover {
	border-color: #ba7ae7;
	background: #341549aa;
}
.insight-card strong {
	font-size: 13px;
	color: #f4e5ff;
}
.insight-card > span:last-child {
	font-size: 10px;
	line-height: 1.6;
	color: #b69fc6;
}
.insight-card .eyebrow {
	font-size: 8px;
	color: #deb67a;
}
.guide-intro,
.guide-finding {
	font-size: 11px;
	line-height: 1.7;
	color: #c5add6;
}
.guide-finding {
	padding: 12px 0;
	border-top: 1px solid #ab78ce30;
	color: #e0c69e;
}
.guide-action {
	display: block;
	width: 100%;
	margin: 8px 0;
	padding: 11px 8px;
	border: 1px solid #af76d63b;
	font-size: 11px;
	text-align: left;
	color: #d0ace9;
}
.guide-action:hover {
	background: #bf72f51a;
}
.guide-action:disabled {
	opacity: 0.4;
	cursor: default;
}
.guide-legend {
	font-size: 10px;
	line-height: 1.7;
	color: #c0aacf;
	padding: 12px 0;
}
.guide-legend summary {
	cursor: pointer;
	color: #efcf9f;
}
.map-hint {
	position: absolute;
	bottom: 72px;
	left: 50%;
	transform: translateX(-50%);
	max-width: 560px;
	width: calc(100% - 560px);
	z-index: 3;
	background: #15071fe8;
	border-left: 2px solid #b86eeb;
	padding: 12px 16px;
	font: 11px / 1.6 Inter, sans-serif;
	color: #d6c0e6;
	pointer-events: none;
}
.map-hint:empty {
	display: none;
}
.domain-caption {
	border-left-width: 2px;
}
.inspector .muted {
	font-size: 10px;
}
@media (max-width: 1100px) {
	.map-hint {
		width: calc(100% - 265px);
		left: auto;
		right: 20px;
		transform: none;
	}
	.stage-top {
		gap: 10px;
	}
}
@media (max-width: 650px) {
	.map-hint {
		width: calc(100% - 32px);
		left: 16px;
		right: 16px;
		bottom: 64px;
		font-size: 9px;
		padding: 8px 10px;
		max-height: 64px;
		overflow: hidden;
	}
	.guide-toggle {
		padding: 9px;
		font-size: 9px;
	}
	.stage-top {
		justify-content: space-between;
	}
	.insight-card {
		padding: 10px;
	}
	.inspector.selected {
		max-height: 48dvh;
	}
}

#render-quality {
	background: #14061d;
	color: #cfb8df;
	border: 0;
	border-right: 1px solid #be67fa35;
	font: 10px var(--mono);
	padding: 8px;
	max-width: 86px;
}

/* Meaning sits beside the projection; the hologram remains the main object. */
.atlas-sidebar h1 {
	font-size: 26px;
}
.atlas-sidebar .intro {
	font-size: 11px;
	line-height: 1.7;
	letter-spacing: 0;
	text-transform: none;
}
.meaning-card {
	position: absolute;
	top: 78px;
	left: 275px;
	z-index: 3;
	width: 260px;
	padding: 16px 18px;
	border-left: 1px solid #c480f3;
	background: linear-gradient(100deg, #14051eee, #14051e88);
}
.meaning-card h2 {
	font: 500 21px / 1.25 Inter, sans-serif;
	margin: 10px 0;
	color: #f1e5fa;
}
.meaning-card p {
	font-size: 11px;
	line-height: 1.7;
	color: #af90c4;
	margin: 0 0 12px;
}
.meaning-fact {
	display: flex;
	flex-direction: column;
	gap: 5px;
	border-top: 1px solid #b983df33;
	padding-top: 12px;
}
.meaning-fact strong {
	font-size: 12px;
	color: #eee3f5;
	overflow-wrap: anywhere;
}
.meaning-relation {
	color: #edbd77;
	font-size: 11px;
	padding-left: 12px;
	border-left: 1px solid #edbd7766;
}
.meaning-open {
	border: 0;
	background: none;
	color: #edbd77;
	text-align: left;
	padding: 10px 0 0;
	font-size: 11px;
	cursor: pointer;
}
.meaning-open:hover {
	color: #fff0d8;
}
.node-label-kind {
	display: block;
	font: 8px / 1.5 var(--mono);
	color: #a684bd;
	margin-top: 3px;
	letter-spacing: 0;
}
.core-meaning {
	border-color: #e8bf80;
	color: #ffe1b3;
	background: #14061ee0;
}
.domain-caption {
	border-left-color: var(--label);
}
@media (max-width: 1100px) {
	.meaning-card {
		left: 225px;
		width: 230px;
		top: 72px;
	}
}
@media (max-width: 650px) {
	.meaning-card {
		left: 16px;
		right: 16px;
		top: 48px;
		width: auto;
		padding: 10px 12px;
		pointer-events: auto;
	}
	.meaning-card h2 {
		font-size: 16px;
		margin: 5px 0;
	}
	.meaning-card p {
		font-size: 10px;
		margin-bottom: 0;
	}
	.meaning-fact {
		display: none;
	}
	.node-label-kind {
		font-size: 7px;
	}
}

.core-meaning {
	max-width: 230px;
}
.domain-caption {
	max-width: 180px;
}
.node-label-kind {
	overflow: hidden;
	text-overflow: ellipsis;
}
.meaning-card[hidden] {
	display: none;
}

.meaning-relation::before {
	content: "\2193  ";
}

.relationship-caption {
	color: #ffe2ab;
	border-color: #ffc574;
	background: #1b1711e8;
	max-width: 235px;
	font-size: 11px;
}
.relationship-caption .node-label-kind {
	color: #c5b492;
}

.core-readout {
	position: absolute;
	z-index: 4;
	left: 50%;
	top: 49%;
	transform: translate(-50%, -50%);
	width: 246px;
	padding: 22px 20px;
	text-align: center;
	background: radial-gradient(
		ellipse,
		#12041cf5 45%,
		#12041cbf 75%,
		transparent 100%
	);
	border-top: 1px solid #cb8af866;
	border-bottom: 1px solid #cb8af866;
}
.core-readout[hidden] {
	display: none;
}
.core-readout h2 {
	font: 500 20px / 1.25 Inter, sans-serif;
	color: #f4e5ff;
	margin: 10px 0 16px;
	overflow-wrap: anywhere;
	max-height: 76px;
	overflow: hidden;
}
.core-metrics {
	display: flex;
	justify-content: center;
	gap: 24px;
}
.core-metrics strong {
	display: block;
	font: 24px var(--mono);
	color: #e1b5ff;
}
.core-metrics span {
	display: block;
	font-size: 9px;
	color: #b498c8;
	margin-top: 4px;
}
.core-summary {
	font: 11px / 1.6 Inter, sans-serif;
	color: #c4afd2;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 14px 0 8px;
}
.core-action {
	color: #f6ce8e;
	font-size: 11px;
	line-height: 1.5;
	padding: 6px;
	max-width: 100%;
}
.core-action:hover {
	color: #fff3d9;
	text-decoration: underline;
}
@media (max-width: 650px) {
	.core-readout {
		width: 192px;
		padding: 12px;
		top: 49%;
	}
	.core-readout h2 {
		font-size: 16px;
		margin: 7px 0;
	}
	.core-metrics strong {
		font-size: 19px;
	}
	.core-summary {
		font-size: 10px;
		-webkit-line-clamp: 2;
		margin: 8px 0;
	}
	.core-readout .eyebrow {
		font-size: 7px;
	}
	.core-metrics {
		gap: 12px;
	}
}

#memory-dialog {
	padding: 0;
	border: 1px solid #b670e755;
	background: #150620;
	color: #ead9f6;
	width: min(420px, calc(100% - 32px));
	max-height: 80vh;
	overflow: auto;
	box-shadow: 0 0 70px #ad36ff20;
}
#memory-dialog::backdrop {
	background: #0b0212b8;
	backdrop-filter: blur(7px);
}
#memory-dialog .core-readout {
	position: static;
	transform: none;
	width: 100%;
	padding: 32px;
	background: none;
	border: 0;
	text-align: center;
}
#memory-dialog .core-summary {
	display: block;
	overflow: visible;
	max-height: none;
	white-space: pre-wrap;
}
#memory-dialog .core-readout h2 {
	max-height: none;
	overflow: visible;
}
.memory-close {
	display: block;
	margin: 10px 12px 0 auto;
	padding: 6px 10px;
	color: #b79cca;
	font-size: 11px;
}
.memory-trigger {
	position: absolute;
	z-index: 5;
	left: 50%;
	bottom: 155px;
	transform: translateX(-50%);
	padding: 8px 14px;
	background: #12041bb8;
	border: 1px solid #c67df844;
	color: #dbb5f6;
	font: 10px var(--mono);
}
.memory-trigger:hover {
	border-color: #d8a1ff;
	color: #fff;
}
@media (max-width: 650px) {
	.memory-trigger {
		bottom: 180px;
		font-size: 9px;
	}
	#memory-dialog .core-readout {
		padding: 24px;
	}
}

/* MOBIL AUDIT kolo 4: viewport-fit=cover a ziadna safe-area -> hlavicka pod status barom,
   vyhladavanie pod 3-tlacidlovym nav barom. Body = ramec v bezpecnej zone a (transform)
   containing block pre VSETKY fixne prvky, takze ich top/bottom sa pocitaju od safe-area
   bez prepisovania kazdeho breakpointu. Na desktope su insety 0 = bez zmeny. */
html {
	background: var(--bg);
}
body {
	position: fixed;
	top: env(safe-area-inset-top, 0px);
	right: env(safe-area-inset-right, 0px);
	bottom: env(safe-area-inset-bottom, 0px);
	left: env(safe-area-inset-left, 0px);
	transform: translateZ(0);
}
