/* inter-cyrillic-ext-400-normal */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/inter-cyrillic-ext-400-normal-BQZuk6qB.woff2) format('woff2'), url(/assets/inter-cyrillic-ext-400-normal-DQukG94-.woff) format('woff');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
/* inter-cyrillic-400-normal */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/inter-cyrillic-400-normal-obahsSVq.woff2) format('woff2'), url(/assets/inter-cyrillic-400-normal-HOLc17fK.woff) format('woff');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
/* inter-greek-ext-400-normal */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/inter-greek-ext-400-normal-DGGRlc-M.woff2) format('woff2'), url(/assets/inter-greek-ext-400-normal-KugGGMne.woff) format('woff');
  unicode-range: U+1F00-1FFF;
}
/* inter-greek-400-normal */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/inter-greek-400-normal-B4URO6DV.woff2) format('woff2'), url(/assets/inter-greek-400-normal-q2sYcFCs.woff) format('woff');
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
}
/* inter-vietnamese-400-normal */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/inter-vietnamese-400-normal-DMkecbls.woff2) format('woff2'), url(/assets/inter-vietnamese-400-normal-Bbgyi5SW.woff) format('woff');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}
/* inter-latin-ext-400-normal */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/inter-latin-ext-400-normal-C1nco2VV.woff2) format('woff2'), url(/assets/inter-latin-ext-400-normal-77YHD8bZ.woff) format('woff');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* inter-latin-400-normal */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/inter-latin-400-normal-C38fXH4l.woff2) format('woff2'), url(/assets/inter-latin-400-normal-CyCys3Eg.woff) format('woff');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
.vrt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-2);
	border: 1px solid transparent;
	border-radius: var(--radius);
	font-weight: 500;
	cursor: pointer;
	transition:
		background var(--duration-fast) var(--ease-out-expo),
		box-shadow var(--duration-fast) var(--ease-out-expo),
		transform var(--duration-fast) var(--ease-out-expo),
		border-color var(--duration-fast) var(--ease-out-expo),
		color var(--duration-fast) var(--ease-out-expo);
	white-space: nowrap;
}
.vrt-btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}
/* Sizes */
.vrt-btn--sm {
	padding: var(--space-1) var(--space-2);
	font-size: var(--text-xs);
	letter-spacing: 0.01em;
}
.vrt-btn--md {
	padding: var(--space-2) var(--space-3);
	font-size: var(--text-sm);
	letter-spacing: 0.01em;
}
.vrt-btn--lg {
	padding: 11px var(--space-4);
	font-size: var(--text-sm);
	letter-spacing: 0.04em;
}
/* Variants */
.vrt-btn--primary {
	background: linear-gradient(180deg, var(--accent-hover) 0%, var(--accent) 100%);
	color: #1a1208;
	border-color: color-mix(in srgb, var(--accent) 70%, transparent);
	box-shadow:
		var(--elevation-1),
		inset 0 1px 0 rgba(255, 255, 255, 0.18);
	font-weight: 600;
}
.vrt-btn--primary:hover:not(:disabled) {
	background: linear-gradient(180deg, #e8c98e 0%, var(--accent-hover) 100%);
	box-shadow:
		var(--elevation-2),
		inset 0 1px 0 rgba(255, 255, 255, 0.22);
	transform: translateY(-1px);
}
.vrt-btn--primary:active:not(:disabled) {
	transform: translateY(0);
	box-shadow: var(--elevation-1);
}
.vrt-btn--secondary {
	background: var(--bg-input);
	color: var(--text-main);
	border-color: var(--border-subtle);
	box-shadow: inset 0 1px 0 var(--border-metal);
}
.vrt-btn--secondary:hover:not(:disabled) {
	background: var(--bg-hover);
	border-color: color-mix(in srgb, var(--accent) 35%, var(--border-subtle));
	color: var(--text-main);
}
.vrt-btn--ghost {
	background: transparent;
	color: var(--text-muted);
	border-color: transparent;
}
.vrt-btn--ghost:hover:not(:disabled) {
	background: var(--bg-input);
	color: var(--text-main);
	border-color: var(--border);
}
.vrt-btn--danger {
	background: var(--danger);
	color: white;
	border-color: color-mix(in srgb, var(--danger) 70%, transparent);
	box-shadow: var(--elevation-1);
}
.vrt-btn--danger:hover:not(:disabled) {
	background: #dc2626;
	box-shadow: var(--elevation-2);
	transform: translateY(-1px);
}
.vrt-btn--danger-outline {
	background: var(--bg-input);
	color: color-mix(in srgb, var(--danger) 78%, var(--text-main));
	border-color: color-mix(in srgb, var(--danger) 48%, var(--border-subtle));
	box-shadow: inset 0 1px 0 var(--border-metal);
}
.vrt-btn--danger-outline:hover:not(:disabled) {
	background: color-mix(in srgb, var(--danger) 12%, var(--bg-input));
	border-color: color-mix(in srgb, var(--danger) 78%, var(--border-subtle));
	color: #fecaca;
}
/* Loader */
.vrt-btn__loader {
	width: 12px;
	height: 12px;
	border: 2px solid currentColor;
	border-top-color: transparent;
	border-radius: 50%;
	animation: vrt-spin 0.8s linear infinite;
}
@keyframes vrt-spin {
	to {
		transform: rotate(360deg);
	}
}
/* Input */
.vrt-input {
	width: 100%;
	padding: var(--space-2) var(--space-3);
	background: var(--bg-input);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	color: var(--text-main);
	font-size: var(--text-sm);
	transition:
		border-color var(--duration-fast) var(--ease-out-expo),
		box-shadow var(--duration-fast) var(--ease-out-expo);
}
.vrt-input:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 28%, transparent);
}
.vrt-field-control > .vrt-input-wrapper {
	flex: 1;
	min-width: 0;
}
.vrt-field-control > .vrt-input,
.vrt-field-control > input.vrt-input {
	flex: 1;
	min-width: 0;
}
.vrt-field-control > .vrt-text-input,
.vrt-field-control > input.vrt-text-input {
	flex: 1;
	min-width: 0;
}
.vrt-input--error {
	border-color: var(--danger);
}
.vrt-input--error:focus {
	box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}
/* Separator */
.vrt-separator {
	width: 100%;
	height: 1px;
	background: var(--border, var(--bg-input));
	margin: 6px 0;
	flex-shrink: 0;
}
.vrt-separator--vertical {
	width: 1px;
	height: auto;
	align-self: stretch;
	margin: 0 6px;
}
/* TextInput (compact, used in function-plugin rows) */
.vrt-text-input {
	width: 100%;
	min-width: 0;
	flex: 1;
	height: 22px;
	padding: 0 6px;
	box-sizing: border-box;
	background: var(--bg-deep);
	border: 1px solid var(--border-subtle);
	border-radius: 0;
	color: var(--text-main);
	font-size: 11px;
	font-family: inherit;
	transition: border-color 0.15s;
}
.vrt-text-input:focus {
	outline: none;
	border-color: var(--primary);
}
.vrt-text-input::placeholder {
	color: var(--text-dim);
}
.vrt-text-input--multiline {
	height: auto;
	min-height: 22px;
	padding: 4px 6px;
	resize: vertical;
}
.vrt-text-input--error {
	border-color: var(--danger);
}
/* Card */
.vrt-card {
	background: var(--bg-panel);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	padding: var(--space-4);
	box-shadow:
		var(--elevation-1),
		inset 0 1px 0 var(--border-metal);
}
.vrt-card--with-header {
	padding: 0;
	overflow: hidden;
}
.vrt-card__header {
	padding: 12px 14px;
	border-bottom: 1px solid var(--border);
	background: var(--bg-header);
	color: var(--text-main);
	font-size: var(--text-md);
	font-weight: 600;
}
.vrt-card__body {
	padding: var(--space-4);
}
.vrt-card--elevated {
	box-shadow:
		var(--elevation-2),
		inset 0 1px 0 var(--border-metal);
}
/* ControlBar */
.vrt-control-bar {
	display: grid;
	grid-template-columns: minmax(220px, 0.68fr) minmax(0, 1.32fr);
	gap: 10px;
	align-items: stretch;
	width: 100%;
	min-width: 0;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	background: var(--bg-deep);
	padding: 10px;
	box-shadow: inset 0 1px 0 var(--border-metal);
}
.vrt-control-bar--compact {
	grid-template-columns: 1fr;
}
.vrt-control-bar__summary,
.vrt-control-bar__main,
.vrt-control-bar__identity {
	display: flex;
	min-width: 0;
	flex-direction: column;
}
.vrt-control-bar__summary {
	justify-content: space-between;
	gap: 9px;
}
.vrt-control-bar__identity {
	gap: 2px;
}
.vrt-control-bar__eyebrow,
.vrt-control-bar-group__label,
.vrt-control-bar-field > span {
	color: var(--text-dim);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.vrt-control-bar__title {
	overflow: hidden;
	color: var(--text-main);
	font-size: 16px;
	font-weight: 650;
	line-height: 1.2;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.vrt-control-bar__subtitle {
	overflow: hidden;
	color: var(--text-muted);
	font-size: 11px;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.vrt-control-bar__stats {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	min-width: 0;
}
.vrt-control-stat {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	max-width: 100%;
	min-height: 22px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--bg-input);
	padding: 2px 8px;
	white-space: nowrap;
}
.vrt-control-stat__label {
	color: var(--text-faint);
	font-size: 10px;
	font-weight: 500;
}
.vrt-control-stat__value {
	overflow: hidden;
	color: var(--text-main);
	font-size: 11px;
	font-weight: 650;
	text-overflow: ellipsis;
}
.vrt-control-stat--active {
	border-color: color-mix(in srgb, var(--success) 38%, var(--border));
	color: var(--success);
}
.vrt-control-stat--active .vrt-control-stat__value {
	color: var(--success);
}
.vrt-control-stat--warning {
	border-color: color-mix(in srgb, var(--warning) 40%, var(--border));
}
.vrt-control-stat--warning .vrt-control-stat__value {
	color: var(--warning);
}
.vrt-control-stat--danger {
	border-color: color-mix(in srgb, var(--danger) 50%, var(--border));
}
.vrt-control-stat--danger .vrt-control-stat__value {
	color: var(--danger);
}
.vrt-control-stat--muted {
	opacity: 0.72;
}
.vrt-control-bar__main {
	justify-content: space-between;
	gap: 8px;
}
.vrt-control-bar__content {
	min-width: 0;
}
.vrt-control-bar__actions {
	display: flex;
	align-items: stretch;
	justify-content: flex-end;
	gap: 8px;
	flex-wrap: wrap;
	min-width: 0;
}
.vrt-control-bar-group {
	display: flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-sm);
	background: color-mix(in srgb, var(--bg-panel) 74%, transparent);
	padding: 4px;
}
.vrt-control-bar-group__controls {
	display: flex;
	align-items: center;
	gap: 5px;
	flex-wrap: wrap;
	min-width: 0;
}
.vrt-control-bar-field {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 4px;
}
@media (max-width: 760px) {
	.vrt-control-bar {
		grid-template-columns: 1fr;
	}

	.vrt-control-bar__actions {
		justify-content: flex-start;
	}

	.vrt-control-bar-group {
		width: 100%;
		align-items: flex-start;
		flex-direction: column;
	}
}
/* Asset card */
.vrt-asset-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	cursor: grab;
	border: 1px solid #3f3f46;
	border-radius: 0;
	background: #1c1c1f;
	color: var(--text-main);
	user-select: none;
}
.vrt-asset-card:hover {
	border-color: #a1a1aa;
	transform: translateY(-1px);
}
.vrt-asset-card:active {
	cursor: grabbing;
	border-color: #60a5fa;
	transform: translateY(0);
}
.vrt-asset-card__preview {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 64px;
	padding: 6px;
	background: #111113;
}
.vrt-asset-card__preview svg,
.vrt-asset-card__preview img {
	width: 52px;
	height: 52px;
	display: block;
	object-fit: contain;
}
.vrt-asset-card__fallback {
	color: #52525b;
	font-size: 20px;
}
.vrt-asset-card__label {
	padding: 3px 4px;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-align: center;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
	text-transform: uppercase;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.vrt-asset-card--mini {
	width: 34px;
	height: 34px;
	flex-shrink: 0;
	border: 0;
	background: #111113;
	color: #d4d4d8;
	font-size: inherit;
	font-weight: inherit;
	align-self: auto;
}
.vrt-asset-card--mini:hover,
.vrt-asset-card--mini:active {
	transform: none;
}
.vrt-asset-card--mini .vrt-asset-card__preview {
	min-height: 0;
	padding: 0;
	background: #0f0f12;
}
.vrt-asset-card--mini .vrt-asset-card__preview > svg,
.vrt-asset-card--mini .vrt-asset-card__preview > img {
	width: 24px;
	height: 24px;
}
.vrt-asset-card--mini .vrt-asset-card__fallback {
	color: #71717a;
	font-size: 13px;
	font-weight: 800;
}
.vrt-asset-card--mini .vrt-asset-card__label {
	width: 100%;
	height: 10px;
	box-sizing: border-box;
	display: block;
	padding: 0 2px;
	font-size: 7px;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 10px;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.55);
}
/* Form field wrapper */
.vrt-field {
	display: flex;
	flex-direction: column;
	gap: 5px;
	width: 100%;
}
.vrt-label {
	font-size: var(--text-sm);
	font-weight: 500;
	color: var(--text-muted);
}
/* Badge */
.vrt-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 2px 8px;
	border-radius: 99px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
	border: 1px solid transparent;
}
.vrt-badge::before {
	content: "●";
	font-size: 8px;
	line-height: 1;
}
.vrt-badge--online,
.vrt-badge--active {
	background: rgba(34, 197, 94, 0.15);
	border-color: rgba(34, 197, 94, 0.35);
	color: #4ade80;
}
.vrt-badge--offline,
.vrt-badge--inactive {
	background: transparent;
	border-color: var(--border);
	color: var(--text-muted);
}
.vrt-badge--warning {
	background: rgba(234, 179, 8, 0.15);
	border-color: rgba(234, 179, 8, 0.35);
	color: #facc15;
}
/* Panel */
.vrt-panel {
	display: flex;
	flex-direction: column;
	background: var(--bg-panel);
	border: 1px solid var(--border);
	overflow: hidden;
}
.vrt-right-panel {
	width: 300px;
	min-width: 200px;
	flex-shrink: 0;
	border-left: 1px solid var(--border);
}
.vrt-panel__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-2);
	padding: var(--space-3);
	background: var(--bg-header);
	border-bottom: 1px solid var(--border);
	font-size: var(--text-sm);
	font-weight: 600;
	color: var(--text-muted);
}
.vrt-panel__header-title {
	flex: 0 0 auto;
}
.vrt-panel__header-action {
	flex: 0 1 auto;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: var(--space-2);
}
.vrt-panel__content {
	flex: 1;
	overflow: auto;
	padding: var(--space-2);
}
/* Toggle */
.vrt-toggle {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	cursor: pointer;
}
.vrt-toggle__input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}
.vrt-toggle__track {
	position: relative;
	width: 26px;
	height: 14px;
	background: var(--bg-input);
	border: 1px solid var(--border);
	border-radius: 7px;
	transition: all 0.15s;
}
.vrt-toggle__track::after {
	content: "";
	position: absolute;
	top: 1px;
	left: 1px;
	width: 10px;
	height: 10px;
	background: var(--text-muted);
	border-radius: 50%;
	transition:
		transform 0.15s,
		background 0.15s;
}
.vrt-toggle__input:checked + .vrt-toggle__track {
	background: var(--primary);
	border-color: var(--primary);
}
.vrt-toggle__input:checked + .vrt-toggle__track::after {
	transform: translateX(12px);
	background: white;
}
.vrt-toggle__input:focus + .vrt-toggle__track {
	box-shadow: 0 0 0 2px var(--primary-dim);
}
.vrt-toggle__label {
	font-size: var(--text-sm);
	color: var(--text-muted);
}
/* ToggleButton (OFF/ON button style) */
.vrt-toggle-btn {
	flex: 1;
	min-width: 0;
	height: 22px;
	border: 1px solid var(--border-subtle);
	background: var(--bg-input);
	color: var(--text-dim);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	transition:
		background var(--duration-fast) var(--ease-out-expo),
		border-color var(--duration-fast) var(--ease-out-expo),
		color var(--duration-fast) var(--ease-out-expo);
}
.vrt-toggle-btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}
.vrt-toggle-btn--off:hover:not(:disabled) {
	background: var(--bg-hover);
	border-color: var(--border-subtle);
	color: var(--text-muted);
}
.vrt-toggle-btn--on {
	background: var(--accent);
	border-color: var(--accent);
	color: #1a1208;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.vrt-toggle-btn--on:hover:not(:disabled) {
	background: var(--accent-hover);
	border-color: var(--accent-hover);
}
/* ActivationToggle (compact square on/off indicator) */
.vrt-activation-toggle {
	position: relative;
	width: 15px;
	height: 15px;
	flex: 0 0 15px;
	border: 1px solid rgba(201, 169, 110, 0.78);
	border-radius: 3px;
	background: var(--accent);
	cursor: pointer;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
	transition:
		background var(--duration-fast) var(--ease-out-expo),
		border-color var(--duration-fast) var(--ease-out-expo),
		filter var(--duration-fast) var(--ease-out-expo),
		box-shadow var(--duration-fast) var(--ease-out-expo);
}
.vrt-activation-toggle::before {
	content: "";
	position: absolute;
	inset: -6px;
}
.vrt-activation-toggle:hover:not(:disabled) {
	filter: brightness(1.08);
}
.vrt-activation-toggle:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}
.vrt-activation-toggle--off {
	border-color: rgba(148, 163, 184, 0.55);
	background: var(--bg-input);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
/* ── FieldRow ─────────────────────────────────────────────────────────── */
.vrt-field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 6px;
	padding: 3px 10px;
	min-height: 26px;
	width: 100%;
}
.vrt-field-label {
	display: flex;
	align-items: baseline;
	gap: 4px;
	min-width: 0;
	color: var(--text-dim);
	font-size: 11px;
	font-weight: 500;
	white-space: nowrap;
}
.vrt-field-label__text {
	min-width: 0;
	flex: 1 1 auto;
	overflow: hidden;
	text-overflow: ellipsis;
}
.vrt-field-label__meta {
	min-width: 0;
	flex: 0 1 auto;
	overflow: hidden;
	color: var(--text-faint);
	font-size: 10px;
	font-weight: 400;
	text-overflow: ellipsis;
}
.vrt-field-control {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 4px;
}
.vrt-field-label--draggable {
	cursor: ew-resize;
	user-select: none;
}
.vrt-field-label--modified {
	color: var(--primary-hover);
}
.animatable-animate-dot--disabled {
	cursor: default;
	pointer-events: none;
	border-color: transparent;
}
.function-plugin-color {
	width: 34px;
	height: 22px;
	padding: 0;
	border: 1px solid var(--border-subtle);
	background: var(--bg-deep);
	cursor: pointer;
	flex-shrink: 0;
}
.function-plugin-color-value {
	flex: 1 1 0;
	min-width: 0;
	color: var(--text-dim);
	font-size: 10px;
	font-family: "Consolas", "Courier New", monospace;
	text-transform: uppercase;
}
/* ── TripleFieldRow / PairFieldRow ─────────────────────────────────────── */
.vrt-triple-field {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 3px 10px;
	width: 100%;
	min-height: 26px;
}
.vrt-triple-field__title-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 6px;
	height: 14px;
}
.vrt-triple-field__title {
	background: none;
	border: none;
	padding: 0;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0;
	color: var(--text-dim);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-align: left;
	cursor: default;
	font-family: inherit;
}
.vrt-triple-field__title--button {
	cursor: default;
}
.vrt-triple-field__title--modified {
	color: var(--primary-hover);
}
.vrt-triple-field__title--button.vrt-triple-field__title--modified {
	cursor: pointer;
}
.vrt-triple-field__title--button.vrt-triple-field__title--modified:hover {
	color: var(--primary-light);
}
.vrt-triple-field__title-control {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 4px;
}
.vrt-triple-field__body {
	display: flex;
	gap: 2px;
	width: 100%;
}
.vrt-triple-field__axis {
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 1px;
}
.vrt-triple-field__axis .vrt-field-label--draggable {
	width: 8px;
	min-width: 8px;
	text-align: center;
	flex-shrink: 0;
	font-size: 10px;
	font-weight: 600;
	color: var(--text-dim);
	padding: 2px 0;
	border-radius: 2px;
}
.vrt-triple-field__axis .vrt-field-label--modified {
	color: var(--primary-hover);
}
.vrt-triple-field__axis .vrt-toggle-btn {
	min-width: 0;
}
.vrt-bool-axis-label {
	flex-shrink: 0;
	font-size: 10px;
	font-weight: 600;
	color: var(--text-dim);
	text-align: left;
	padding: 2px 0;
	border-radius: 2px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.vrt-triple-field__axis .vrt-bool-axis-btn {
	flex: 1;
	min-width: 0;
}
/* ── PanelSection ─────────────────────────────────────────────────────── */
.panel-section {
	border-bottom: 1px solid var(--bg-input);
}
.panel-section:last-child {
	border-bottom: none;
}
.panel-section__trigger {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 6px 12px;
	background: transparent;
	border: none;
	cursor: pointer;
	color: var(--text-main);
}
.panel-section__trigger:hover {
	background-color: var(--bg-input);
}
.panel-section__title-wrap {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-width: 0;
}
.panel-section__title {
	font-weight: 600;
	font-size: 12px;
	letter-spacing: 0.02em;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.panel-section--off .panel-section__title {
	color: var(--text-dim);
}
.panel-section--off .panel-section__body {
	opacity: 0.62;
}
.panel-section__chevron {
	color: var(--text-dim);
	transition: transform 200ms;
	flex-shrink: 0;
}
.panel-section__chevron--open {
	transform: rotate(180deg);
}
.panel-section__body {
	padding: 0;
}
/* ── Section ──────────────────────────────────────────────────────────── */
.vrt-section {
	border-bottom: 1px solid var(--bg-input);
}
.vrt-section:last-child {
	border-bottom: none;
}
.vrt-section__title {
	padding: 6px 10px 4px;
	font-size: 11px;
	font-weight: 600;
	color: var(--text-muted);
	letter-spacing: 0.02em;
}
.vrt-section__body {
	padding: 0;
}
/* ── NumInput ──────────────────────────────────────────────────────────── */
.num-input-label {
	cursor: ew-resize;
	user-select: none;
	flex-shrink: 0;
	position: relative;
	display: inline-flex;
	align-items: center;
}
.num-input-animate-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	border: 1px solid var(--accent);
	background: transparent;
	cursor: pointer;
	opacity: 0;
	transition:
		opacity 150ms,
		background 150ms;
	flex-shrink: 0;
	margin-right: 3px;
}
.num-input-field:hover .num-input-animate-dot {
	opacity: 1;
}
.num-input-animate-dot:hover {
	background: var(--accent);
}
.num-input-control {
	display: flex;
	align-items: stretch;
	justify-content: flex-end;
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	max-width: 100%;
}
.vrt-triple-field__axis .num-input-control {
	flex: 1;
	min-width: 0;
	width: 100%;
}
.num-input-value {
	color: var(--accent);
	transition: color 100ms;
	padding: 2px 6px;
	border-radius: 0;
	font-size: 11px;
	height: auto;
}
.num-input-control .num-input-value {
	margin-right: 0;
	height: 22px;
	padding: 0 6px;
	line-height: 22px;
	min-width: 0;
	flex: 1 1 0;
	width: 0;
	max-width: 100%;
}
.num-input-value:focus {
	color: var(--text-main);
}
.num-input-value:disabled {
	opacity: 0.45;
	cursor: default;
}
.num-input-stepper {
	display: flex;
	flex-direction: column;
	flex: 0 0 12px;
	width: 12px;
	min-width: 12px;
	margin: 2px 2px 2px 0;
}
.num-input-step {
	flex: 1 1 0;
	min-height: 0;
	padding: 0;
	border: 1px solid var(--border-subtle);
	border-left: 0;
	border-radius: 0;
	background: var(--bg-input);
	color: var(--text-dim);
	font-size: 7px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}
.num-input-step--up {
	border-bottom: 0;
}
.num-input-step:hover:not(:disabled) {
	background: var(--border-subtle);
	color: var(--text-main);
}
.num-input-step:active:not(:disabled) {
	background: var(--primary-dim);
	color: var(--primary-light);
}
.num-input-step:disabled {
	opacity: 0.35;
	cursor: default;
}
.num-input-step svg {
	pointer-events: none;
}
.num-input-field {
	display: flex;
	align-items: center;
	gap: 4px;
}
.num-input-field--no-label {
	flex: 1;
	min-width: 0;
	width: 100%;
	max-width: 100%;
}
/* ── NumInput — integrated frame ──────────────────────────────────────────
   The value + stepper share a single border so the arrows read as part of the
   input, not a detached box. High-specificity selectors so this wins over the
   per-variant overrides regardless of stylesheet order. */
.num-input-field .num-input-control {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--bg-input);
	overflow: hidden;
}
.num-input-field .num-input-control:focus-within {
	border-color: var(--primary);
	box-shadow: 0 0 0 2px var(--primary-dim);
}
.num-input-field .num-input-control .num-input-value {
	border: 0;
	background: transparent;
	box-shadow: none;
	border-radius: 0;
	margin: 0;
}
.num-input-field .num-input-control .num-input-value:focus {
	border: 0;
	box-shadow: none;
	outline: none;
}
.num-input-field .num-input-control .num-input-stepper {
	margin: 0;
	border-left: 1px solid var(--border);
}
.num-input-field .num-input-control .num-input-step {
	border: 0;
}
.num-input-field .num-input-control .num-input-step--up {
	border-bottom: 1px solid var(--border);
}
/* ── Select — custom dropdown ──────────────────────────────────────── */
.vrt-select {
	position: relative;
	display: inline-flex;
	flex: 1;
	min-width: 0;
}
.vrt-select__trigger {
	display: flex;
	align-items: center;
	width: 100%;
	min-width: 0;
	height: 22px;
	padding: 0;
	background: var(--bg-input);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	color: var(--text-main);
	font: inherit;
	font-size: 11px;
	line-height: 1;
	cursor: pointer;
	outline: none;
	text-align: left;
}
.vrt-select__trigger:hover:not(:disabled) {
	background: var(--bg-hover);
}
.vrt-select__trigger:focus-visible,
.vrt-select--open .vrt-select__trigger {
	border-color: var(--accent);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 28%, transparent);
}
.vrt-select__trigger:disabled {
	opacity: 0.45;
	cursor: default;
}
.vrt-select__value {
	flex: 1;
	min-width: 0;
	padding: 0 7px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.vrt-select__chevron {
	flex-shrink: 0;
	width: 17px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-faint);
	pointer-events: none;
	transition: transform 0.15s;
}
.vrt-select--open .vrt-select__chevron {
	transform: rotate(180deg);
	color: var(--primary-light);
}
.vrt-select__trigger:hover:not(:disabled) .vrt-select__chevron {
	color: var(--text-dim);
}
/* Dropdown overlay */
.vrt-select__dropdown {
	position: fixed;
	z-index: 2147483000;
	width: max-content;
	max-width: min(360px, calc(100vw - 12px));
	max-height: 220px;
	overflow-y: auto;
	padding: 3px;
	background: var(--bg-panel);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-md);
	box-shadow: var(--elevation-3);
	animation: vrt-dropdown-in 0.12s var(--ease-out-expo);
	isolation: isolate;
}
.vrt-select__dropdown::-webkit-scrollbar {
	width: 3px;
}
.vrt-select__dropdown::-webkit-scrollbar-thumb {
	background: var(--border);
	border-radius: 2px;
}
.vrt-select__option {
	display: flex;
	align-items: center;
	width: 100%;
	padding: 4px 7px;
	font-size: var(--text-sm);
	color: var(--text-main);
	background: transparent;
	border: none;
	border-radius: var(--radius-sm);
	cursor: pointer;
	text-align: left;
}
.vrt-select__option:hover,
.vrt-select__option--focused {
	background: var(--bg-hover);
}
.vrt-select__option--selected {
	background: var(--primary-dim);
}
.vrt-select__option--selected:hover,
.vrt-select__option--selected.vrt-select__option--focused {
	background: color-mix(in srgb, var(--primary-dim) 85%, white);
}
.vrt-select__option:disabled {
	opacity: 0.3;
	cursor: default;
}
@keyframes vrt-dropdown-in {
	from {
		opacity: 0;
		transform: translateY(-3px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
/* ── DropdownMenu (Radix-based) ───────────────────────────────────── */
[data-radix-popper-content-wrapper] {
	z-index: 2147483000;
	isolation: isolate;
}
.vrt-dropdown-menu-content {
	min-width: 160px;
	padding: 4px;
	background: var(--bg-panel);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
	animation: vrt-dropdown-in 0.12s ease-out;
	z-index: 2147483000;
}
.vrt-dropdown-menu-item {
	display: flex;
	align-items: center;
	width: 100%;
	padding: 6px 10px;
	font-size: var(--text-sm);
	color: var(--text-main);
	background: transparent;
	border: none;
	border-radius: var(--radius);
	cursor: pointer;
	text-align: left;
	outline: none;
}
.vrt-dropdown-menu-item:hover,
.vrt-dropdown-menu-item[data-highlighted] {
	background: var(--bg-hover);
	outline: none;
}
.vrt-dropdown-menu-item--danger {
	color: var(--danger);
}
.vrt-dropdown-menu-item--danger:hover,
.vrt-dropdown-menu-item--danger[data-highlighted] {
	background: rgba(239, 68, 68, 0.12);
}
.vrt-dropdown-menu-item[data-disabled] {
	opacity: 0.35;
	cursor: default;
}
.vrt-dropdown-menu-separator {
	height: 1px;
	margin: 4px 8px;
	background: var(--border);
}
/* ── AppStatusMenu ─────────────────────────────────────────────────────── */
.vrt-app-status-trigger {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 100%;
	padding: 0 10px;
	border-right: 1px solid var(--border);
	cursor: pointer;
	flex-shrink: 0;
	user-select: none;
	outline: none;
	background: transparent;
	transition: background 0.12s;
}
.vrt-app-status-trigger:hover,
.vrt-app-status-trigger:focus-visible {
	background: var(--bg-hover);
}
.vrt-app-status-trigger__brand {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	font-weight: 800;
	font-size: 11px;
	letter-spacing: 1px;
	color: var(--text-main);
	white-space: nowrap;
}
.vrt-app-status-trigger__brand-text {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.vrt-app-status-trigger__app {
	font-weight: 400;
}
.vrt-app-status-trigger--odin .vrt-app-status-trigger__app {
	color: var(--odin-accent);
}
.vrt-app-status-trigger--tyr .vrt-app-status-trigger__app {
	color: var(--tyr-accent);
}
.vrt-app-status-trigger--bragi .vrt-app-status-trigger__app {
	color: var(--bragi-accent);
}
.vrt-app-status-trigger--mimir .vrt-app-status-trigger__app {
	color: var(--mimir-accent);
}
.vrt-app-status-trigger--ymir .vrt-app-status-trigger__app {
	color: var(--ymir-accent);
}
.vrt-status-pill {
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	flex-shrink: 0;
}
.vrt-status-pill--connected {
	background: var(--success);
	box-shadow: 0 0 5px color-mix(in srgb, var(--success) 50%, transparent);
}
.vrt-status-pill--disconnected {
	background: var(--danger);
}
.vrt-app-status-content {
	min-width: 220px;
}
.vrt-app-status-section-label {
	padding: 8px 12px 2px;
	font-size: 10px;
	font-weight: 600;
	color: var(--text-dim);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.vrt-app-status-row {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 3px 12px;
	font-size: 12px;
}
.vrt-app-status-row__label {
	flex: 1;
	color: var(--text-muted);
}
.vrt-app-status-row__value {
	color: var(--text-main);
	font-size: 11px;
	max-width: 130px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.vrt-app-status-row__value--ok {
	color: var(--success);
}
.vrt-app-status-row__value--err {
	color: var(--danger);
}
/* About dialog */
.vrt-about-dialog {
	max-width: 360px;
}
.vrt-about-dialog__logo {
	display: flex;
	align-items: center;
	gap: 14px;
}
.vrt-about-dialog__title {
	font-size: 17px;
	font-weight: 800;
	letter-spacing: 0.5px;
}
.vrt-about-dialog__title-app {
	font-size: 14px;
	font-weight: 600;
	color: var(--text-muted);
	letter-spacing: 0.3px;
}
.vrt-about-dialog__sub {
	font-size: 11px;
	color: var(--text-dim);
	margin-top: 3px;
	letter-spacing: 0.4px;
}
.vrt-about-dialog__tagline {
	margin-top: 14px;
	font-size: 12px;
	color: var(--text-muted);
	line-height: 1.5;
}
.vrt-about-dialog__links {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 14px;
	padding: 12px;
	background: var(--bg-deep);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
}
.vrt-about-dialog__link {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: var(--text-muted);
	text-decoration: none;
	transition: color 0.12s;
}
.vrt-about-dialog__link:hover {
	color: var(--text-main);
}
.vrt-about-dialog__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	gap: 6px;
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid var(--border);
	font-size: 11px;
	color: var(--text-dim);
}
.vrt-about-dialog__footer-dot {
	opacity: 0.4;
}
/* ── Transform Controls ────────────────────────────────────────────────── */
.transform-fields {
	padding: 6px 0 8px;
	display: flex;
	flex-direction: column;
	gap: 0;
}
.transform-separator {
	background-color: var(--bg-input);
	margin: 6px 10px;
	width: calc(100% - 20px);
}
.transform-group {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 2px 0;
}
.transform-section-label {
	background: none;
	border: none;
	padding: 0;
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--text-dim);
	text-align: left;
	cursor: default;
}
.transform-section-label--modified {
	color: var(--primary-hover);
	cursor: pointer;
}
.transform-section-label--modified:hover {
	color: var(--primary-light);
}
.transform-row {
	display: flex;
	gap: 4px;
}
.property-field {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
}
.property-field .num-input-label {
	font-size: 10px;
	font-weight: 600;
	color: var(--text-dim);
	width: 14px;
	text-align: center;
	padding: 2px 0;
	border-radius: 2px;
}
.property-field .num-input-label:hover {
	color: var(--text-main);
	background-color: var(--border-subtle);
}
.property-field .num-input-label--modified {
	color: var(--primary-hover);
}
.property-field .num-input-label--modified:hover {
	color: var(--primary-light);
	background-color: var(--primary-dim);
}
.property-field .num-input-value {
	flex: 1;
	min-width: 0;
	height: 12px;
	text-align: right;
	margin: 2px;
}
.transform-btn-row {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 3px 10px 4px;
}
.transform-btn-row-label {
	font-size: 10px;
	font-weight: 600;
	color: var(--text-dim);
	width: 18px;
	flex-shrink: 0;
	text-align: left;
}
.transform-btn-group {
	display: flex;
	gap: 2px;
}
.transform-btn-group--full {
	width: calc(100% - 20px);
	margin: 3px 10px 4px;
}
.transform-btn-group--full .transform-btn--wide {
	flex: 1;
}
.transform-btn {
	padding: 2px 5px;
	font-size: 10px;
	font-weight: 600;
	background: var(--bg-input);
	border: 1px solid var(--border-subtle);
	border-radius: 0;
	color: var(--text-dim);
	cursor: pointer;
	white-space: nowrap;
	transition:
		background 120ms,
		color 120ms,
		border-color 120ms;
}
.transform-btn:hover:not(:disabled) {
	background: var(--border-subtle);
	color: var(--text-main);
}
.transform-btn--active {
	background: var(--primary-dim);
	border-color: var(--primary);
	color: var(--primary-hover);
}
.transform-btn--active:hover {
	background: var(--primary-dim);
	color: var(--primary-light);
}
.transform-btn--disabled,
.transform-btn:disabled {
	color: var(--border-subtle);
	border-color: var(--bg-input);
	cursor: not-allowed;
	opacity: 0.6;
}
.transform-tabs {
	display: flex;
	gap: 2px;
}
.transform-tab-btn {
	flex: 1;
	padding: 3px 0;
	font-size: 10px;
	font-weight: 600;
	background: var(--bg-input);
	border: 1px solid var(--border-subtle);
	border-radius: 0;
	color: var(--text-dim);
	cursor: pointer;
	text-align: center;
	transition:
		background 120ms,
		color 120ms;
}
.transform-tab-btn:hover {
	background: var(--border-subtle);
	color: var(--text-main);
}
.transform-tab-btn--active {
	background: var(--primary-dim);
	border-color: var(--primary);
	color: var(--primary-hover);
}
.transform-tab-btn--active:hover {
	background: var(--primary-dim);
	color: var(--primary-light);
}
/* ── YmirFileInfo ──────────────────────────────────────────────────────── */
.vrt-file-info {
	display: flex;
	flex-direction: column;
	height: 100%;
}
.vrt-file-info__header {
	padding: 6px 12px;
	font-size: 12px;
	font-weight: 600;
	color: var(--text-main);
	border-bottom: 1px solid var(--border);
	flex-shrink: 0;
}
.vrt-file-info__body {
	flex: 1;
	overflow-y: auto;
	padding: 10px;
}
.vrt-file-info__body::-webkit-scrollbar {
	width: 3px;
}
.vrt-file-info__body::-webkit-scrollbar-thumb {
	background: var(--border-subtle);
	border-radius: 2px;
}
.vrt-file-info__empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	gap: 8px;
	color: var(--text-dim);
	font-size: 12px;
	text-align: center;
}
.vrt-file-info__empty span {
	font-size: 24px;
}
.vrt-file-info__preview {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 8px 0;
}
.vrt-file-info__thumb {
	max-width: 120px;
	max-height: 120px;
	object-fit: contain;
	border-radius: 4px;
}
.vrt-file-info__icon {
	font-size: 36px;
}
.vrt-file-info__no-thumb {
	font-size: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.vrt-file-info__name {
	font-size: 13px;
	font-weight: 600;
	color: var(--text-main);
	text-align: center;
	padding: 4px 0 10px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.vrt-file-info__table {
	width: 100%;
	border-collapse: collapse;
}
.vrt-file-info__table tr {
	border-bottom: 1px solid var(--bg-input);
}
.vrt-file-info__table td {
	padding: 4px 0;
	font-size: 10px;
	vertical-align: top;
}
.vrt-file-info__table td:first-child {
	color: var(--text-dim);
	width: 80px;
	flex-shrink: 0;
}
.vrt-file-info__table td:last-child {
	color: var(--text-main);
	word-break: break-all;
}
.vrt-file-info__id {
	font-family: monospace;
	font-size: 9px;
	color: var(--accent);
}
.vrt-file-info__copy-btn {
	background: none;
	border: 1px solid var(--border-subtle);
	color: var(--text-dim);
	cursor: pointer;
	font-size: 10px;
	padding: 1px 5px;
	border-radius: 2px;
	line-height: 1.2;
}
.vrt-file-info__copy-btn:hover {
	background: var(--bg-hover);
	color: var(--text-main);
}
.vrt-file-info__actions {
	display: flex;
	gap: 4px;
	padding-top: 10px;
	flex-wrap: wrap;
}
.vrt-file-info__btn {
	flex: 1;
	padding: 4px 8px;
	font-size: 10px;
	font-weight: 600;
	background: var(--bg-input);
	border: 1px solid var(--border-subtle);
	border-radius: 0;
	color: var(--text-muted);
	cursor: pointer;
	text-align: center;
	white-space: nowrap;
	transition:
		background 120ms,
		color 120ms;
}
.vrt-file-info__btn:hover {
	background: var(--border-subtle);
	color: var(--text-main);
}
.vrt-file-info__btn--accent {
	border-color: var(--primary);
	color: var(--primary-hover);
}
.vrt-file-info__btn--accent:hover {
	background: var(--primary-dim);
	color: var(--primary-light);
}
.vrt-file-info__btn--danger {
	border-color: transparent;
	color: #f87171;
}
.vrt-file-info__btn--danger:hover {
	background: rgba(239, 68, 68, 0.15);
	color: #fca5a5;
}
/* ── Animatable fields (Select, TextInput, Toggle) ──────────────────────── */
.animatable-field {
	display: flex;
	align-items: center;
	gap: 6px;
	width: 100%;
	min-height: 22px;
}
.animatable-field-label {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	font-size: var(--text-xs);
	color: var(--text-muted);
	user-select: none;
	cursor: default;
}
.animatable-animate-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	border: 1px solid var(--accent);
	background: transparent;
	cursor: pointer;
	opacity: 0;
	transition:
		opacity 150ms,
		background 150ms;
	flex-shrink: 0;
	margin-right: 3px;
}
.animatable-field:hover .animatable-animate-dot {
	opacity: 1;
}
.animatable-animate-dot:hover {
	background: var(--accent);
}
.vrt-field-row:hover .animatable-animate-dot,
.vrt-triple-field__title-row:hover .animatable-animate-dot {
	opacity: 1;
}
.animatable-select {
	flex: 1;
	min-width: 0;
	height: 22px;
	background: var(--bg-deep);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-sm);
	color: var(--text-main);
	font-size: var(--text-xs);
	padding: 0 4px;
	cursor: pointer;
}
.animatable-select:focus {
	border-color: var(--accent);
	outline: none;
}
.animatable-select:disabled {
	opacity: 0.45;
	cursor: default;
}
.animatable-text-input {
	flex: 1;
	min-width: 0;
	height: 22px;
	background: var(--bg-deep);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-sm);
	color: var(--text-main);
	font-size: var(--text-xs);
	padding: 0 6px;
}
.animatable-text-input:focus {
	border-color: var(--accent);
	outline: none;
}
.animatable-text-input:disabled {
	opacity: 0.45;
	cursor: default;
}
.animatable-toggle-row {
	flex: 1;
	display: flex;
	align-items: center;
}
.animatable-toggle-row input[type="checkbox"] {
	width: 14px;
	height: 14px;
	accent-color: var(--accent);
	cursor: pointer;
}
.animatable-toggle-row input[type="checkbox"]:disabled {
	opacity: 0.45;
	cursor: default;
}
/* ── StageToolbar ───────────────────────────────────────────────────────── */
.stage-toolbar {
	display: flex;
	align-items: center;
	gap: 2px;
	padding: 3px 6px;
	background: var(--bg-dark);
	flex-shrink: 0;
	min-height: 30px;
	overflow-x: auto;
}
.stage-tb-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 3px;
	background: none;
	border: none;
	color: var(--text-muted);
	cursor: pointer;
	padding: 3px 5px;
	border-radius: 0;
	font-size: 11px;
	white-space: nowrap;
}
.stage-tb-btn:hover:not(:disabled) {
	background: var(--border-subtle);
	color: var(--text-main);
}
.stage-tb-btn:disabled {
	opacity: 0.3;
	cursor: default;
}
.stage-tb-btn.active {
	color: var(--primary-hover);
}
.stage-tb-play {
	color: var(--primary-hover);
}
.stage-tb-play.active {
	color: var(--accent-hover);
}
.stage-tb-all {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.05em;
	padding: 2px 6px;
}
.stage-tb-all.active {
	color: #fff;
	background: var(--primary-hover);
}
.stage-tb-label {
	font-weight: 600;
	letter-spacing: 0.03em;
}
.stage-tb-sep {
	width: 1px;
	height: 16px;
	background: var(--border-subtle);
	margin: 0 3px;
	flex-shrink: 0;
}
.stage-tb-set-key {
	color: var(--accent-hover);
	border: 1px solid #78350f;
	border-radius: 0;
	padding: 2px 7px;
	gap: 4px;
	font-weight: 600;
}
.stage-tb-set-key:hover:not(:disabled) {
	background: #451a03;
	border-color: var(--accent-hover);
	color: #fde68a;
}
.stage-tb-set-key:disabled {
	color: var(--text-faint);
	border-color: var(--bg-input);
	opacity: 1;
}
.stage-time-secs {
	font-family: monospace;
	font-size: 11px;
	color: var(--text-dim);
}
.stage-num-field {
	display: flex;
	align-items: center;
	gap: 2px;
	min-width: 58px;
}
.stage-num-field .num-input-label {
	min-width: 14px;
	padding: 1px 2px;
	border-radius: 0;
	color: var(--text-dim);
	font-size: 10px;
	font-weight: 600;
	text-align: center;
	text-transform: uppercase;
}
.stage-num-field .num-input-label:hover {
	background: var(--border-subtle);
	color: var(--text-main);
}
.stage-num-field .num-input-value {
	flex: 1;
	min-width: 0;
	width: 52px;
	height: 14px;
	margin: 2px;
	text-align: right;
	font-variant-numeric: tabular-nums;
}
.stage-num-field--time .num-input-value {
	width: 58px;
}
.stage-speed-group {
	display: flex;
	gap: 1px;
}
.stage-speed-btn {
	padding: 2px 4px;
	font-size: 10px;
}
/* ── Segment button group (radio-style) ──────────────────────────── */
.vrt-segmented-group,
.geo-seg-group {
	display: flex;
	gap: 3px;
	width: auto;
	margin: 3px 10px 4px;
}
.transform-btn-row .vrt-segmented-group {
	flex: 1;
	margin: 0;
}
.vrt-segmented-btn,
.geo-seg-btn {
	flex: 1;
	background: var(--bg-input);
	border: 1px solid var(--border-subtle);
	border-radius: 0;
	color: var(--text-dim);
	cursor: pointer;
	font-size: var(--text-xs);
	padding: 3px 0;
	text-align: center;
	transition:
		background 120ms,
		color 120ms,
		border-color 120ms;
}
.vrt-segmented-btn--active,
.geo-seg-btn--active {
	background: var(--primary-dim);
	border-color: var(--primary);
	color: var(--primary-hover);
}
.vrt-segmented-btn:hover:not(.vrt-segmented-btn--active):not(:disabled),
.geo-seg-btn:hover:not(.geo-seg-btn--active):not(:disabled) {
	border-color: var(--text-dim);
	color: var(--text-muted);
}
.vrt-segmented-btn:disabled,
.geo-seg-btn:disabled {
	color: var(--border-subtle);
	border-color: var(--bg-input);
	cursor: not-allowed;
	opacity: 0.6;
}
/* ── Checkbox ──────────────────────────────────────────────────────── */
.vrt-checkbox {
	width: 16px;
	height: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 1.5px solid var(--border-subtle);
	border-radius: 3px;
	cursor: pointer;
	flex-shrink: 0;
	transition:
		background 0.12s,
		border-color 0.12s;
}
.vrt-checkbox:hover {
	border-color: var(--text-faint);
}
.vrt-checkbox[data-state="checked"] {
	background: var(--primary);
	border-color: var(--primary);
}
.vrt-checkbox:focus-visible {
	outline: none;
	box-shadow: 0 0 0 2px var(--primary-dim);
}
.vrt-checkbox-indicator {
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
}
.vrt-checkbox-label {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	cursor: pointer;
	color: var(--text-main);
	font-size: var(--text-sm);
	min-height: 24px;
	user-select: none;
}
.vrt-checkbox-label:hover {
	color: var(--text-main);
}
.vrt-context-menu {
	min-width: 180px;
	background: var(--bg-deep, #1a1a2e);
	border: 1px solid var(--border-color, #2a2a3e);
	border-radius: 4px;
	padding: 4px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 12px;
}
.vrt-context-menu__item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 8px;
	background: transparent;
	border: 0;
	border-radius: 3px;
	color: var(--text-primary, #e0e0e0);
	text-align: left;
	cursor: pointer;
	font: inherit;
	line-height: 1.2;
}
.vrt-context-menu__item:hover:not(:disabled),
.vrt-context-menu__item--active:not(:disabled) {
	background: var(--bg-hover, rgba(255, 255, 255, 0.06));
}
.vrt-context-menu__item--disabled {
	color: var(--text-dim, #6a6a7a);
	cursor: not-allowed;
}
.vrt-context-menu__item--destructive {
	color: var(--accent, #e94560);
}
.vrt-context-menu__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}
.vrt-context-menu__label {
	flex: 1;
	white-space: nowrap;
}
/* ── Diagnostics primitives (Sparkline, HopBreakdownMeter, WaterfallBar, LatencyKPI, LiveLogStream) ── */
.vrt-sparkline {
	display: inline-flex;
	align-items: center;
	color: var(--primary, #60a5fa);
	line-height: 0;
}
.vrt-hop-meter {
	display: flex;
	width: 100%;
	border-radius: 4px;
	overflow: hidden;
	background: var(--bg-input, #0f172a);
	box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.15);
}
.vrt-hop-meter__segment {
	position: relative;
	display: flex;
	align-items: center;
	padding: 0 6px;
	min-width: 2px;
	color: #0b1220;
	font-size: 10px;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	transition: filter 0.12s ease;
}
.vrt-hop-meter__segment:hover {
	filter: brightness(1.12);
}
.vrt-hop-meter__segment--slack {
	background: transparent;
	color: var(--text-dim, #94a3b8);
}
.vrt-hop-meter__segment--hotspot {
	box-shadow: inset 0 0 0 2px rgba(244, 63, 94, 0.85);
}
.vrt-hop-meter__label {
	text-shadow: 0 0 2px rgba(15, 23, 42, 0.45);
}
.vrt-waterfall {
	display: grid;
	grid-template-columns: var(--vrt-waterfall-label-w, 140px) 1fr 80px;
	gap: 4px;
	font-size: 11px;
	font-family: ui-monospace, "JetBrains Mono", Menlo, monospace;
	color: var(--text-main, #e2e8f0);
}
.vrt-waterfall__header {
	display: contents;
	font-weight: 600;
	color: var(--text-dim, #94a3b8);
}
.vrt-waterfall__header-bar {
	display: flex;
	justify-content: space-between;
	padding: 0 4px;
}
.vrt-waterfall__row {
	display: contents;
}
.vrt-waterfall__label {
	display: flex;
	align-items: center;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	padding-right: 6px;
}
.vrt-waterfall__track {
	position: relative;
	background: var(--bg-input, #0f172a);
	border-radius: 3px;
	box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.12);
	align-self: center;
	height: 100%;
}
.vrt-waterfall__bar {
	position: absolute;
	top: 2px;
	bottom: 2px;
	border-radius: 2px;
	opacity: 0.92;
}
.vrt-waterfall__bar--hotspot {
	box-shadow: 0 0 0 1.5px rgba(244, 63, 94, 0.85);
}
.vrt-waterfall__offset {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	color: var(--text-dim, #94a3b8);
}
.vrt-latency-kpi {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 96px;
	padding: 10px 12px;
	border-radius: 6px;
	background: var(--bg-panel, #1e293b);
	box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.12);
}
.vrt-latency-kpi__label {
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--text-dim, #94a3b8);
}
.vrt-latency-kpi__value {
	font-size: 22px;
	font-weight: 700;
	color: var(--text-main, #f8fafc);
	line-height: 1.1;
}
.vrt-latency-kpi__unit {
	font-size: 12px;
	margin-left: 3px;
	color: var(--text-dim, #94a3b8);
}
.vrt-latency-kpi__empty {
	color: var(--text-dim, #94a3b8);
}
.vrt-latency-kpi__delta {
	font-size: 11px;
	font-weight: 600;
}
.vrt-latency-kpi__delta--good {
	color: #34d399;
}
.vrt-latency-kpi__delta--bad {
	color: #f87171;
}
.vrt-latency-kpi__delta--neutral {
	color: var(--text-dim, #94a3b8);
}
.vrt-latency-kpi__caption {
	font-size: 10px;
	color: var(--text-dim, #94a3b8);
}
.vrt-latency-kpi--good {
	box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.35);
}
.vrt-latency-kpi--warn {
	box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.45);
}
.vrt-latency-kpi--bad {
	box-shadow: inset 0 0 0 1px rgba(244, 63, 94, 0.55);
}
.vrt-latency-kpi--neutral {
	box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.18);
}
.vrt-log-stream {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-family: ui-monospace, "JetBrains Mono", Menlo, monospace;
	font-size: 11px;
	color: var(--text-main, #e2e8f0);
}
.vrt-log-stream__toolbar {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}
.vrt-log-stream__btn {
	padding: 3px 8px;
	border-radius: 4px;
	border: 1px solid rgba(148, 163, 184, 0.25);
	background: var(--bg-input, #0f172a);
	color: var(--text-main, #e2e8f0);
	cursor: pointer;
	font-size: 11px;
}
.vrt-log-stream__btn:hover {
	border-color: rgba(148, 163, 184, 0.5);
}
.vrt-log-stream__btn--active {
	background: var(--primary, #3b82f6);
	border-color: var(--primary, #3b82f6);
	color: #fff;
}
.vrt-log-stream__chips {
	display: flex;
	gap: 3px;
}
.vrt-log-stream__chip {
	padding: 2px 7px;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	border: 1px solid rgba(148, 163, 184, 0.25);
	background: transparent;
	color: var(--text-dim, #94a3b8);
	cursor: pointer;
	opacity: 0.55;
}
.vrt-log-stream__chip--active {
	opacity: 1;
}
.vrt-log-stream__chip--error.vrt-log-stream__chip--active {
	border-color: #f43f5e;
	color: #fda4af;
}
.vrt-log-stream__chip--warn.vrt-log-stream__chip--active {
	border-color: #f59e0b;
	color: #fcd34d;
}
.vrt-log-stream__chip--info.vrt-log-stream__chip--active {
	border-color: #60a5fa;
	color: #93c5fd;
}
.vrt-log-stream__chip--debug.vrt-log-stream__chip--active {
	border-color: #a78bfa;
	color: #c4b5fd;
}
.vrt-log-stream__chip--unknown.vrt-log-stream__chip--active {
	border-color: #94a3b8;
	color: #cbd5e1;
}
.vrt-log-stream__filter {
	flex: 1;
	min-width: 120px;
	padding: 3px 8px;
	border-radius: 4px;
	border: 1px solid rgba(148, 163, 184, 0.25);
	background: var(--bg-input, #0f172a);
	color: var(--text-main, #e2e8f0);
	font-size: 11px;
}
.vrt-log-stream__extra {
	margin-left: auto;
}
.vrt-log-stream__body {
	overflow-y: auto;
	background: var(--bg-input, #0f172a);
	border-radius: 4px;
	padding: 4px 0;
	box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.12);
}
.vrt-log-stream__empty {
	padding: 12px;
	text-align: center;
	color: var(--text-dim, #94a3b8);
}
/* Valholl Console — shared command palette and correlated outcome history. */
.vrt-command-console {
	display: flex;
	flex-direction: column;
	gap: 12px;
	height: 100%;
	min-height: 0;
	min-width: 0;
	color: var(--text-main, #e2e8f0);
}
.vrt-command-console__main {
	display: flex;
	flex: 2 1 0;
	flex-direction: column;
	gap: 12px;
	min-height: 0;
	overflow: hidden;
}
.vrt-command-console__header,
.vrt-command-console__history-header,
.vrt-command-console__command-heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}
.vrt-command-console__eyebrow {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--text-faint, #64748b);
}
.vrt-command-console__header strong,
.vrt-command-console__history-header strong {
	font-size: 13px;
	font-weight: 600;
}
.vrt-command-console__target {
	display: inline-flex;
	border: 1px solid var(--border-soft, #2a313b);
	background: var(--bg-deep, #0b0d10);
}
.vrt-command-console__output {
	border: 0;
	border-right: 1px solid var(--border-soft, #2a313b);
	padding: 4px 7px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--text-dim, #94a3b8);
	background: transparent;
	cursor: pointer;
}
.vrt-command-console__output:last-child {
	border-right: 0;
}
.vrt-command-console__output--active {
	color: #111827;
	background: var(--primary, #f59e0b);
}
.vrt-command-console__output:disabled {
	cursor: default;
}
.vrt-command-console__terminal {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	min-height: 32px;
	border: 1px solid var(--border-soft, #2a313b);
	background: var(--bg-deep, #0b0d10);
}
.vrt-command-console__terminal-prompt {
	padding-left: 9px;
	color: var(--primary, #f59e0b);
	font: 700 15px var(--font-mono, ui-monospace, monospace);
}
.vrt-command-console__terminal input {
	min-width: 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--text-main, #e2e8f0);
	padding: 7px 8px;
	font: 11px var(--font-mono, ui-monospace, monospace);
}
.vrt-command-console__terminal input::placeholder {
	color: var(--text-faint, #64748b);
}
.vrt-command-console__terminal button {
	align-self: stretch;
	border: 0;
	border-left: 1px solid var(--border-soft, #2a313b);
	background: var(--bg-hover, #1b212a);
	color: var(--text-main, #e2e8f0);
	padding: 0 11px;
	font: 650 10px var(--font-sans, sans-serif);
	cursor: pointer;
}
.vrt-command-console__terminal button:hover:not(:disabled) {
	background: color-mix(in srgb, var(--primary, #f59e0b) 16%, var(--bg-hover, #1b212a));
}
.vrt-command-console__terminal button:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}
.vrt-command-console__terminal-help {
	margin-top: -8px;
	color: var(--text-faint, #64748b);
	font: 9px var(--font-mono, ui-monospace, monospace);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.vrt-command-console__terminal-error {
	margin-top: -4px;
}
.vrt-command-console__body {
	flex: 1 1 0;
	display: grid;
	grid-template-columns: minmax(180px, 0.72fr) minmax(0, 1.28fr);
	min-height: 0;
	border: 1px solid var(--border-soft, #2a313b);
	background: var(--bg-panel, #12161c);
}
.vrt-command-console__palette {
	display: flex;
	flex-direction: column;
	min-width: 0;
	border-right: 1px solid var(--border-soft, #2a313b);
	background: var(--bg-deep, #0b0d10);
}
.vrt-command-console__search {
	width: 100%;
	box-sizing: border-box;
	border: 0;
	border-bottom: 1px solid var(--border-soft, #2a313b);
	padding: 8px 10px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 11px;
	outline: none;
}
.vrt-command-console__search:focus {
	box-shadow: inset 0 -1px 0 var(--primary, #f59e0b);
}
.vrt-command-console__command-list {
	min-height: 0;
	flex: 1 1 0;
	overflow: auto;
}
.vrt-command-console__command {
	display: flex;
	flex-direction: column;
	gap: 2px;
	width: 100%;
	padding: 8px 10px;
	border: 0;
	border-bottom: 1px solid rgba(148, 163, 184, 0.08);
	background: transparent;
	color: inherit;
	text-align: left;
	cursor: pointer;
}
.vrt-command-console__command:hover {
	background: var(--bg-hover, #1b212a);
}
.vrt-command-console__command--selected {
	background: color-mix(in srgb, var(--primary, #f59e0b) 13%, transparent);
	box-shadow: inset 2px 0 0 var(--primary, #f59e0b);
}
.vrt-command-console__command-label {
	font-size: 12px;
	font-weight: 600;
}
.vrt-command-console__command-meta {
	color: var(--text-faint, #64748b);
	font-size: 10px;
}
.vrt-command-console__command-detail {
	min-width: 0;
	padding: 14px;
}
.vrt-command-console__command-title {
	font-size: 14px;
	font-weight: 650;
}
.vrt-command-console__command-heading p,
.vrt-command-console__advanced p {
	margin: 4px 0 0;
	color: var(--text-dim, #94a3b8);
	font-size: 11px;
	line-height: 1.45;
}
.vrt-command-console__risk {
	flex: 0 0 auto;
	padding: 3px 5px;
	border: 1px solid currentColor;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.05em;
}
.vrt-command-console__risk--read {
	color: #86efac;
}
.vrt-command-console__risk--maintenance {
	color: #93c5fd;
}
.vrt-command-console__risk--preview {
	color: #c4b5fd;
}
.vrt-command-console__risk--on-air {
	color: #fcd34d;
}
.vrt-command-console__risk--advanced {
	color: #fda4af;
}
.vrt-command-console__aliases {
	margin-top: 10px;
	color: var(--text-faint, #64748b);
	font-family: var(--font-mono, ui-monospace, monospace);
	font-size: 10px;
}
.vrt-command-console__fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin-top: 16px;
}
.vrt-command-console__field-hint {
	font-size: 10px;
	color: var(--text-faint, #64748b);
}
.vrt-command-console__field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	color: var(--text-dim, #94a3b8);
	font-size: 10px;
}
.vrt-command-console__field input,
.vrt-command-console__field select {
	min-width: 0;
	height: 26px;
	border: 1px solid var(--border-soft, #2a313b);
	background: var(--bg-deep, #0b0d10);
	color: inherit;
	padding: 0 7px;
	font: inherit;
	font-size: 11px;
	outline: none;
}
.vrt-command-console__field input:focus,
.vrt-command-console__field select:focus {
	border-color: var(--primary, #f59e0b);
}
.vrt-command-console__guard,
.vrt-command-console__advanced {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-top: 14px;
	padding: 9px 10px;
	border: 1px solid rgba(245, 158, 11, 0.38);
	color: #fcd34d;
	background: rgba(245, 158, 11, 0.08);
	font-size: 11px;
	line-height: 1.4;
}
.vrt-command-console__advanced strong {
	color: #fcd34d;
	font-size: 11px;
}
.vrt-command-console__error,
.vrt-command-console__outcome {
	margin-top: 10px;
	padding: 7px 9px;
	font-size: 11px;
	line-height: 1.4;
}
.vrt-command-console__error,
.vrt-command-console__outcome--error {
	color: #fecdd3;
	background: rgba(244, 63, 94, 0.1);
	border: 1px solid rgba(244, 63, 94, 0.32);
}
.vrt-command-console__outcome--success {
	color: #bbf7d0;
	background: rgba(34, 197, 94, 0.1);
	border: 1px solid rgba(34, 197, 94, 0.28);
}
.vrt-command-console__response {
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px solid rgba(187, 247, 208, 0.18);
}
.vrt-command-console__receipt {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-top: 6px;
	color: var(--text-dim, #94a3b8);
	font: 9px var(--font-mono, ui-monospace, monospace);
}
.vrt-command-console__receipt span:first-child {
	color: #86efac;
	font-weight: 700;
	text-transform: uppercase;
}
.vrt-command-console__receipt code {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.vrt-command-console__response-label {
	color: var(--text-dim);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.vrt-command-console__response pre {
	max-height: 150px;
	margin: 5px 0 0;
	overflow: auto;
	color: inherit;
	font: 10px / 1.45 var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
	white-space: pre-wrap;
	word-break: break-word;
}
.vrt-command-console__execute,
.vrt-command-console__refresh {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	border: 1px solid var(--primary, #f59e0b);
	color: #111827;
	background: var(--primary, #f59e0b);
	cursor: pointer;
	font: inherit;
	font-size: 11px;
	font-weight: 650;
}
.vrt-command-console__execute {
	margin-top: 14px;
	min-height: 28px;
	padding: 0 10px;
}
.vrt-command-console__execute:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}
.vrt-command-console__history {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	min-height: 0;
	overflow: hidden;
	border-top: 1px solid var(--border-soft, #2a313b);
	padding-top: 10px;
}
.vrt-command-console__history-stream {
	flex: 1 1 0;
	min-height: 0;
}
.vrt-command-console__history-stream .vrt-log-stream__body {
	flex: 1 1 0;
	height: auto !important;
	min-height: 0;
}
.vrt-command-console__refresh {
	padding: 5px 8px;
}
.vrt-command-console__empty {
	padding: 14px;
	color: var(--text-faint, #64748b);
	font-size: 11px;
}
@media (max-width: 620px) {
	.vrt-command-console__body {
		grid-template-columns: 1fr;
	}
	.vrt-command-console__palette {
		max-height: 160px;
		border-right: 0;
		border-bottom: 1px solid var(--border-soft, #2a313b);
	}
	.vrt-command-console__fields {
		grid-template-columns: 1fr;
	}
}
.vrt-log-row {
	display: grid;
	grid-template-columns: 88px auto 1fr;
	gap: 8px;
	padding: 2px 8px;
	align-items: baseline;
}
.vrt-log-row--expandable {
	width: 100%;
	border: 0;
	background: transparent;
	font: inherit;
	text-align: left;
	cursor: pointer;
}
.vrt-log-row:hover {
	background: rgba(148, 163, 184, 0.06);
}
.vrt-log-row--expanded {
	background: rgba(148, 163, 184, 0.1);
}
.vrt-log-row--expandable:focus-visible {
	outline: 1px solid var(--primary, #f59e0b);
	outline-offset: -1px;
}
.vrt-log-row__time {
	color: var(--text-dim, #94a3b8);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.vrt-log-row__tag {
	color: #93c5fd;
	font-weight: 600;
	white-space: nowrap;
}
.vrt-log-row__message {
	word-break: break-word;
}
.vrt-log-row__details {
	margin: 2px 8px 6px;
	padding: 7px 9px;
	border-left: 2px solid var(--primary, #f59e0b);
	background: rgba(15, 23, 42, 0.45);
	color: var(--text-dim, #94a3b8);
}
.vrt-log-row__details-label {
	margin-bottom: 4px;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--text-faint, #64748b);
}
.vrt-log-row__details pre {
	margin: 0;
	white-space: pre-wrap;
	word-break: break-word;
	font: inherit;
	font-size: 10px;
	line-height: 1.45;
}
.vrt-log-row--info {
	color: #e2e8f0;
}
.vrt-log-row--debug {
	color: #c4b5fd;
}
.vrt-log-row--warn {
	color: #fcd34d;
}
.vrt-log-row--error {
	color: #fda4af;
}
/* SaveAs dialog (used by Heimdall, Odin, future Tyr) */
.vrt-saveas-dialog {
	width: min(96vw, 360px);
	max-height: min(86vh, 540px);
	padding: 14px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.vrt-saveas-dialog__body {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	min-height: 0;
	flex: 1;
}
.vrt-saveas-dialog__name-row {
	display: flex;
	align-items: center;
	gap: 4px;
}
.vrt-saveas-dialog__name-row > .vrt-input-wrapper {
	flex: 1;
	min-width: 0;
}
.vrt-saveas-dialog__name-input {
	height: 24px;
	padding: 0 7px;
	font-size: 12px;
}
.vrt-saveas-dialog__ext {
	color: var(--text-dim);
	font-size: 11px;
}
.vrt-saveas-dialog__hint {
	color: var(--text-dim);
	font-size: 10px;
	font-weight: 500;
}
.vrt-saveas-dialog__dir-label {
	color: var(--text-dim);
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
}
.vrt-saveas-dialog__tree {
	height: 180px;
	overflow: auto;
	border: 1px solid var(--border);
	background: var(--bg-deep);
	display: flex;
	flex-direction: column;
}
.vrt-saveas-dialog__empty {
	padding: 14px;
	color: var(--text-dim);
	font-size: 11px;
	text-align: center;
}
.vrt-saveas-dialog__error {
	color: var(--danger);
	font-size: 11px;
	padding: 6px 8px;
	background: rgba(233, 69, 96, 0.1);
	border-radius: var(--radius);
}
.vrt-saveas-dir-node {
	display: flex;
	flex-direction: column;
}
.vrt-saveas-dir-row {
	display: flex;
	align-items: stretch;
	height: 24px;
	padding-right: 6px;
	color: var(--text-muted);
	background: transparent;
	border: none;
	width: 100%;
	text-align: left;
	font: inherit;
	cursor: default;
	user-select: none;
	gap: 2px;
}
.vrt-saveas-dir-row:hover {
	background: var(--bg-elevated, #1c1c1f);
	color: var(--text-primary);
}
.vrt-saveas-dir-row--active {
	background: var(--accent-muted);
	color: var(--accent);
}
.vrt-saveas-dir-row--project {
	font-weight: 600;
}
.vrt-saveas-dir-chevron {
	width: 18px;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--text-dim);
	cursor: pointer;
	padding: 0;
	background: transparent;
	border: none;
	border-radius: 3px;
	transition:
		transform 0.12s ease,
		color 0.12s ease;
}
.vrt-saveas-dir-chevron:hover:not(:disabled) {
	color: var(--text-primary);
	background: rgba(255, 255, 255, 0.05);
}
.vrt-saveas-dir-chevron:disabled {
	cursor: progress;
	color: var(--text-dim);
}
.vrt-saveas-dir-chevron--open {
	transform: rotate(90deg);
}
.vrt-saveas-dir-select {
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 4px;
	color: inherit;
	background: transparent;
	border: none;
	padding: 0;
	font: inherit;
	text-align: left;
	cursor: pointer;
	overflow: hidden;
}
.vrt-saveas-dir-icon {
	width: 14px;
	height: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--accent);
	flex-shrink: 0;
}
.vrt-saveas-dir-icon--project {
	color: var(--accent-hover, #d9b97e);
}
.vrt-saveas-dir-name {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 11px;
}
.vrt-saveas-dialog__actions {
	display: flex;
	justify-content: flex-end;
	gap: 6px;
	margin-top: var(--space-3);
}
/* ── Table (generic grid-based data table) ───────────────────────────── */
.vrt-table {
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 0;
	flex: 1;
	background: var(--bg-panel, var(--bg-secondary, #18181b));
	font-size: 12px;
	color: var(--text-primary, #e0e0e0);
}
.vrt-table--comfortable {
	font-size: 13px;
}
.vrt-table:focus {
	outline: none;
}
.vrt-table__header,
.vrt-table__row {
	display: grid;
	align-items: center;
	min-width: 0;
}
.vrt-table__header {
	padding: 4px 8px;
	background: var(--bg-header, #18181b);
	border-bottom: 1px solid var(--border-color, #27272a);
	color: var(--text-dim, #94a3b8);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	flex-shrink: 0;
}
.vrt-table--comfortable .vrt-table__header {
	padding: 7px 10px;
}
.vrt-table__header-cell {
	display: flex;
	align-items: center;
	gap: 4px;
	min-width: 0;
	padding: 0 6px;
	overflow: hidden;
	color: inherit;
	user-select: none;
}
.vrt-table__header-cell--drag {
	padding: 0;
}
.vrt-table__header-cell:first-child {
	padding-left: 0;
}
.vrt-table__header-cell:last-child {
	padding-right: 0;
}
.vrt-table__header-cell--sortable {
	cursor: pointer;
}
.vrt-table__header-cell--sortable:hover {
	color: var(--text-primary, #e0e0e0);
}
.vrt-table__header-cell--active {
	color: var(--text-primary, #e0e0e0);
}
.vrt-table__header-label {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.vrt-table__sort-indicator {
	display: inline-flex;
	align-items: center;
	color: var(--accent, #60a5fa);
}
.vrt-table__sort-indicator--idle {
	opacity: 0.25;
}
.vrt-table__cell {
	min-width: 0;
	padding: 0 6px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.vrt-table__cell--drag {
	display: flex;
	justify-content: center;
	overflow: visible;
}
.vrt-table__cell:first-child {
	padding-left: 0;
}
.vrt-table__cell:last-child {
	padding-right: 0;
}
.vrt-table__cell--left {
	text-align: left;
}
.vrt-table__cell--center {
	text-align: center;
}
.vrt-table__cell--right {
	display: flex;
	text-align: right;
	justify-content: flex-end;
}
.vrt-table__cell--center {
	display: flex;
	text-align: center;
	justify-content: center;
}
.vrt-table__row {
	min-height: 28px;
	padding: 4px 8px;
	background: transparent;
	border-bottom: 1px solid var(--border-color, #1f1f23);
	color: var(--text-primary, #e0e0e0);
	cursor: pointer;
	user-select: none;
	transition: background 0.12s;
}
.vrt-table--reorderable .vrt-table__row {
	position: relative;
}
.vrt-table--comfortable .vrt-table__row {
	min-height: 38px;
	padding: 7px 10px;
}
.vrt-table__row-group {
	min-width: 0;
}
.vrt-table--static .vrt-table__row {
	cursor: default;
	user-select: text;
}
.vrt-table--interactive .vrt-table__row:hover,
.vrt-table--static .vrt-table__row:hover {
	background: var(--bg-hover, rgba(255, 255, 255, 0.04));
}
.vrt-table__drag-handle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 24px;
	margin: -2px 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--text-dim, #6a6a7a);
	cursor: grab;
	opacity: 0.58;
	transition:
		color 0.12s,
		opacity 0.12s,
		transform 0.12s;
}
.vrt-table__drag-handle:hover,
.vrt-table__drag-handle:focus-visible {
	color: var(--accent, #f59e0b);
	opacity: 1;
	outline: none;
}
.vrt-table__drag-handle:active {
	cursor: grabbing;
	transform: scale(0.96);
}
.vrt-table__row--dragging {
	opacity: 0.42;
}
.vrt-table__row--drop-before::before,
.vrt-table__row--drop-after::after {
	position: absolute;
	left: 8px;
	right: 8px;
	z-index: 1;
	height: 2px;
	border-radius: 999px;
	background: var(--accent, #f59e0b);
	content: "";
}
.vrt-table__row--drop-before::before {
	top: 0;
}
.vrt-table__row--drop-after::after {
	bottom: 0;
}
.vrt-table__row--selected {
	background: var(--bg-active, rgba(96, 165, 250, 0.16));
}
.vrt-table__row--selected:hover {
	background: var(--bg-active-hover, rgba(96, 165, 250, 0.22));
}
.vrt-table__row--accent {
	box-shadow: inset 3px 0 0 var(--accent, #22c55e);
}
.vrt-table__row--warning {
	box-shadow: inset 3px 0 0 var(--warning, #f59e0b);
}
.vrt-table__row--danger {
	box-shadow: inset 3px 0 0 var(--danger, #ef4444);
}
.vrt-table__row--accent-strong {
	box-shadow: inset 3px 0 0 var(--accent-strong, #60a5fa);
}
.vrt-table__empty {
	padding: 16px;
	color: var(--text-dim, #94a3b8);
	text-align: center;
	font-size: 12px;
}
.vrt-table__expanded-row {
	padding: 10px 12px 12px;
	border-bottom: 1px solid var(--border-color, #1f1f23);
	background: var(--bg-active, rgba(96, 165, 250, 0.08));
	color: var(--text-primary, #e0e0e0);
}
/* ── EnginePicker (compact URL-bound engine select for Preview / settings) */
.vrt-engine-picker {
	display: flex;
	width: 100%;
}
.vrt-engine-picker .vrt-select__trigger {
	min-height: 30px;
	padding: 4px 8px;
	font-size: 12px;
}
.vrt-engine-picker .vrt-select__option {
	font-size: 12px;
}
/* ── Dropdown triggers + EngineSelector ─────────────────────────────── */
.vrt-dropdown-trigger-button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 24px;
	padding: 0 8px;
	background: var(--bg-tertiary, #1c1c24);
	border: 1px solid var(--border-color, #2a2a3e);
	border-radius: 4px;
	color: var(--text-primary, #e0e0e0);
	font: inherit;
	font-size: 11px;
	font-weight: 600;
	cursor: pointer;
	transition:
		background 0.12s,
		border-color 0.12s;
}
.vrt-dropdown-trigger-button:hover:not(:disabled) {
	background: var(--bg-hover, rgba(255, 255, 255, 0.06));
	border-color: var(--text-dim, #6a6a7a);
}
.vrt-dropdown-trigger-button:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}
.vrt-dropdown-trigger-button--open {
	border-color: var(--accent, #60a5fa);
	box-shadow: 0 0 0 1px var(--accent, #60a5fa);
}
.vrt-dropdown-trigger-button__content {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
}
.vrt-dropdown-trigger-button__chevron {
	display: inline-flex;
	align-items: center;
	color: var(--text-dim, #6a6a7a);
	transition: transform 0.15s;
}
.vrt-dropdown-trigger-button--open .vrt-dropdown-trigger-button__chevron {
	transform: rotate(180deg);
}
.vrt-dropdown-trigger-button[data-state="open"] .vrt-dropdown-trigger-button__chevron {
	transform: rotate(180deg);
}
.vrt-engine-selector {
	position: relative;
	display: inline-flex;
}
.vrt-engine-selector__trigger {
	min-width: 0;
}
.vrt-engine-selector__role {
	display: inline-flex;
	align-items: baseline;
	gap: 4px;
	min-width: 0;
}
.vrt-engine-selector__role-label {
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--text-dim, #6a6a7a);
	text-transform: uppercase;
}
.vrt-engine-selector__role--program .vrt-engine-selector__role-label {
	color: var(--accent, #60a5fa);
}
.vrt-engine-selector__role--preview .vrt-engine-selector__role-label {
	color: #2f9e6e;
}
.vrt-engine-selector__role-name {
	max-width: 110px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.vrt-engine-selector__divider {
	width: 1px;
	height: 14px;
	background: var(--border-color, #2a2a3e);
}
.vrt-engine-selector__menu {
	display: flex;
	flex-direction: column;
	max-height: 360px;
	overflow: hidden;
	background: var(--bg-panel, #1a1a2e);
	border: 1px solid var(--border-color, #2a2a3e);
	border-radius: 6px;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}
.vrt-engine-selector__menu-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 6px 10px;
	background: var(--bg-tertiary, #1c1c24);
	border-bottom: 1px solid var(--border-color, #2a2a3e);
	color: var(--text-dim, #94a3b8);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	flex-shrink: 0;
}
.vrt-engine-selector__menu-action {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 5px;
	border: 1px solid transparent;
	border-radius: 3px;
	background: transparent;
	color: var(--text-secondary, #b0b0b8);
	font: inherit;
	font-size: 10px;
	cursor: pointer;
}
.vrt-engine-selector__menu-action:hover:not(:disabled) {
	border-color: var(--border-color, #2a2a3e);
	background: var(--bg-hover, rgba(255, 255, 255, 0.08));
	color: var(--text-primary, #e0e0e0);
}
.vrt-engine-selector__menu-action:disabled {
	opacity: 0.45;
	cursor: wait;
}
.vrt-engine-selector__menu-info {
	padding: 7px 10px;
	border-bottom: 1px solid var(--border-color, #2a2a3e);
	background: color-mix(in srgb, var(--bg-tertiary, #1c1c24) 55%, transparent);
}
.vrt-engine-selector__menu-info > div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
}
.vrt-engine-selector__menu-info span,
.vrt-engine-selector__menu-info small {
	color: var(--text-dim, #94a3b8);
	font-size: 10px;
}
.vrt-engine-selector__menu-info strong {
	font-size: 11px;
	font-variant-numeric: tabular-nums;
}
.vrt-engine-selector__menu-info small {
	display: block;
	margin-top: 3px;
	line-height: 1.3;
}
.vrt-engine-selector__menu-info--warning strong {
	color: var(--warning, #f59e0b);
}
.vrt-engine-selector__menu-info--danger strong {
	color: var(--danger, #f14668);
}
.vrt-engine-selector__empty {
	padding: 16px;
	color: var(--text-dim, #94a3b8);
	text-align: center;
	font-size: 12px;
}
.vrt-engine-selector__list {
	list-style: none;
	margin: 0;
	padding: 4px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	overflow-y: auto;
}
.vrt-engine-selector__row {
	display: grid;
	grid-template-columns: 8px 1fr;
	gap: 10px;
	padding: 6px 8px;
	background: transparent;
	transition: background 0.12s;
}
.vrt-engine-selector__row:hover {
	background: var(--bg-hover, rgba(255, 255, 255, 0.05));
}
.vrt-engine-selector__row--program {
	box-shadow: inset 2px 0 0 var(--accent, #60a5fa);
}
.vrt-engine-selector__row--preview {
	box-shadow: inset 2px 0 0 #2f9e6e;
}
.vrt-engine-selector__status {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--text-dim, #6a6a7a);
	align-self: center;
}
.vrt-engine-selector__status--online {
	background: #48c78e;
}
.vrt-engine-selector__status--offline {
	background: #f14668;
}
.vrt-engine-selector__main {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.vrt-engine-selector__name-row {
	display: flex;
	align-items: center;
	gap: 8px;
}
.vrt-engine-selector__name {
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.vrt-engine-selector__status-pill {
	display: inline-flex;
	align-items: center;
	padding: 1px 5px;
	border-radius: 99px;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.04em;
	background: var(--bg-tertiary, #1c1c24);
	color: var(--text-dim, #6a6a7a);
}
.vrt-engine-selector__status-pill--online {
	background: rgba(72, 199, 142, 0.18);
	color: #48c78e;
}
.vrt-engine-selector__status-pill--offline {
	background: rgba(241, 70, 104, 0.18);
	color: #f14668;
}
.vrt-engine-selector__meta-inline {
	color: var(--text-dim, #94a3b8);
	font-size: 10px;
	font-variant-numeric: tabular-nums;
	margin-left: auto;
}
.vrt-engine-selector__roles {
	display: flex;
	gap: 12px;
}
.vrt-engine-selector__radio {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	cursor: pointer;
	color: var(--text-dim, #94a3b8);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.vrt-engine-selector__radio input {
	margin: 0;
	width: 12px;
	height: 12px;
	accent-color: var(--accent, #60a5fa);
	cursor: pointer;
}
.vrt-engine-selector__radio--program {
	color: var(--accent, #60a5fa);
}
.vrt-engine-selector__radio--preview {
	color: #2f9e6e;
}
.vrt-engine-selector__radio--active {
	color: var(--text-primary, #e0e0e0);
}
.vrt-engine-selector__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-top: 2px;
}
.vrt-engine-selector__action {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	height: 22px;
	padding: 0 7px;
	background: var(--bg-tertiary, #1c1c24);
	border: 1px solid var(--border-color, #2a2a3e);
	color: var(--text-secondary, #b0b0b8);
	font-size: 10px;
	font-weight: 600;
	cursor: pointer;
}
.vrt-engine-selector__action:hover:not(:disabled) {
	background: var(--bg-hover, rgba(255, 255, 255, 0.08));
	color: var(--text-primary, #e0e0e0);
}
.vrt-engine-selector__action:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}
.vrt-engine-selector__action--destructive {
	color: var(--danger, #ef4444);
}
.vrt-engine-selector__action--destructive:hover:not(:disabled) {
	background: rgba(239, 68, 68, 0.12);
	color: var(--danger, #ef4444);
}
.vrt-engine-selector__action-icon {
	display: inline-flex;
	align-items: center;
}
:root {
	/* Typography */
	--font-sans: "Inter", system-ui, -apple-system, sans-serif;

	/* ── Backgrounds — warm charcoal ───────────────────────────── */
	--bg-dark: #111214;
	--bg-panel: #1a1b1f;
	--bg-header: #14151a;
	--bg-deep: #0b0c0f;
	--bg-input: #252830;
	--bg-hover: #1e2024;

	/* Tyr compatibility aliases */
	--bg-primary: var(--bg-deep);
	--bg-secondary: var(--bg-panel);
	--bg-tertiary: var(--bg-header);

	/* ── Text — warm ivory ─────────────────────────────────────── */
	--text-main: #e8e5e0;
	--text-muted: #9c998f;
	--text-dim: #696660;
	--text-faint: #4e4b46;

	/* Tyr text compatibility */
	--text-primary: var(--text-main);
	--text-secondary: var(--text-muted);

	/* ── Accent — brushed gold ─────────────────────────────────── */
	--accent: #c9a96e;
	--accent-hover: #d9b97e;
	--accent-muted: #3d3224;

	/* Tyr accent alias */
	--accent-primary: var(--accent);

	/* ── Primary — interactive blue (Thor/links) ───────────────── */
	--primary: #3b82f6;
	--primary-hover: #60a5fa;
	--primary-light: #93c5fd;
	--primary-dim: #1e3a5f;

	/* ── Status ────────────────────────────────────────────────── */
	--success: #22c55e;
	--warning: #eab308;
	--danger: #ef4444;
	--info: #3b82f6;

	/* ── Per-app accent color ramps ────────────────────────────── */
	--odin-accent: #c9a96e;
	--odin-accent-hover: #d9b97e;
	--odin-accent-muted: #3d3224;
	--odin-gradient-1: #c9a96e;
	--odin-gradient-2: #a68a52;

	--tyr-accent: #ef4444;
	--tyr-accent-hover: #f87171;
	--tyr-accent-muted: #7f1d1d;
	--tyr-gradient-1: #ef4444;
	--tyr-gradient-2: #dc2626;

	--thor-accent: #3b82f6;
	--thor-accent-hover: #60a5fa;
	--thor-accent-muted: #1e3a5f;
	--thor-gradient-1: #3b82f6;
	--thor-gradient-2: #2563eb;

	--bragi-accent: #06b6d4;
	--bragi-accent-hover: #22d3ee;
	--bragi-accent-muted: #164e63;
	--bragi-gradient-1: #06b6d4;
	--bragi-gradient-2: #0891b2;

	--ymir-accent: #10b981;
	--ymir-accent-hover: #34d399;
	--ymir-accent-muted: #064e3b;
	--ymir-gradient-1: #10b981;
	--ymir-gradient-2: #059669;

	--mimir-accent: #a855f7;
	--mimir-accent-hover: #c084fc;
	--mimir-accent-muted: #581c87;
	--mimir-gradient-1: #a855f7;
	--mimir-gradient-2: #9333ea;

	--loki-accent: #f97316;
	--loki-accent-hover: #fb923c;
	--loki-accent-muted: #7c2d12;
	--loki-gradient-1: #f97316;
	--loki-gradient-2: #ea580c;

	--heimdall-accent: #d4a017;
	--heimdall-accent-hover: #f5b400;
	--heimdall-accent-muted: #5c4400;
	--heimdall-gradient-1: #d4a017;
	--heimdall-gradient-2: #b8860b;
	--heimdall-teal: #0e7490;
	--heimdall-teal-soft: rgba(14, 116, 144, 0.18);

	/* ── Structure ─────────────────────────────────────────────── */
	--border: #2a2b30;
	--border-subtle: #3a3b42;
	--border-focus: var(--accent);
	--border-color: var(--border);
	--border-metal: rgba(255, 255, 255, 0.07);

	/* ── Layout — shared app chrome dimensions ────────────────── */
	--app-header-height: 32px;
	--app-status-bar-height: 30px;

	--radius-sm: 2px;
	--radius: 3px;
	--radius-md: 6px;
	--radius-lg: 12px;

	/* ── Typography — SPA-comfortable baseline ─────────────────── */
	/* Note: Odin overrides these in its own scoped CSS */
	--text-2xs: 10px;
	--text-xs: 11px;
	--text-sm: 13px;
	--text-base: 14px;
	--text-md: 16px;

	/* ── Spacing (4px grid) ────────────────────────────────────── */
	--space-1: 4px;
	--space-2: 8px;
	--space-3: 12px;
	--space-4: 16px;

	/* ── Elevation shadows ─────────────────────────────────────── */
	--elevation-1: 0 1px 2px rgba(0, 0, 0, 0.4);
	--elevation-2: 0 4px 12px rgba(0, 0, 0, 0.35), 0 1px 3px rgba(0, 0, 0, 0.2);
	--elevation-3: 0 8px 32px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.25);
	--elevation-dialog: 0 24px 80px rgba(0, 0, 0, 0.65), 0 4px 16px rgba(0, 0, 0, 0.3);

	/* ── Easing curves ─────────────────────────────────────────── */
	--ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
	--ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
	--duration-fast: 110ms;
	--duration-base: 200ms;
	--duration-slow: 350ms;

	/* ── Layout ────────────────────────────────────────────────── */
	--header-height: 40px;
	--panel-width: 280px;
	--panel-min-width: 200px;
}
*,
*::before,
*::after {
	box-sizing: border-box;
}
html,
body,
#root {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	background-color: var(--bg-dark);
	color: var(--text-main);
	font-family: var(--font-sans);
	font-size: var(--text-base);
	line-height: 1.5;
}
button,
input,
select,
textarea {
	font-family: inherit;
	font-size: inherit;
}
/* Scrollbar - Inspirado en el StageTimeline */
::-webkit-scrollbar {
	width: 6px;
	height: 6px;
}
::-webkit-scrollbar-track {
	background: transparent;
}
::-webkit-scrollbar-thumb {
	background: var(--text-faint);
	border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover,
::-webkit-scrollbar-thumb:active {
	background: var(--text-dim);
}
/* Opcional: fondo en el track al hacer hover en el contenedor */
*:hover::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.02);
	border-radius: 3px;
}
/* Tabs */
.vrt-tabs-root {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 0;
}
.vrt-tabs-list {
	display: flex;
	border-bottom: 1px solid var(--border);
	background-color: var(--bg-header);
	flex-shrink: 0;
}
.vrt-tabs-trigger {
	flex: 1;
	padding: 8px 0;
	font-size: var(--text-sm);
	color: #a1a1aa;
	background: transparent;
	border: none;
	border-right: 1px solid var(--border);
	cursor: pointer;
	text-align: center;
}
.vrt-tabs-trigger:last-child {
	border-right: none;
}
.vrt-tabs-trigger[data-state="active"] {
	color: var(--text-main);
	background-color: var(--bg-panel);
	font-weight: 500;
	border-bottom: 2px solid var(--accent);
}
.vrt-tabs-content {
	flex: 1;
	min-height: 0;
	padding: 10px;
	overflow: auto;
}
.vrt-tabs-content[data-state="active"] {
	display: block;
}
/* Ymir Tree */
.vrt-ymir-tree {
	min-width: 100px;
	min-height: 100%;
}
.vrt-ymir-tree--root-droptarget {
	box-shadow: inset 0 -2px 0 #3b82f6;
}
.vrt-ymir-tree-row {
	display: flex;
	align-items: center;
	gap: 3px;
	padding: 3px 4px 3px 0;
	cursor: pointer;
	user-select: none;
	border-left: 2px solid transparent;
	margin: 0 2px;
	white-space: nowrap;
	font-size: 11px;
}
.vrt-ymir-tree-row:hover {
	background: #1c1c1e;
}
.vrt-ymir-tree-row--active {
	background: #162132;
	color: #93c5fd;
}
.vrt-ymir-tree-row--droptarget {
	background: #1e3a5f;
	outline: 1px dashed #3b82f6;
	outline-offset: -1px;
}
.vrt-ymir-tree-row--drop-inside {
	background: #1e3a5f;
	outline: 1px dashed #3b82f6;
	outline-offset: -1px;
}
.vrt-ymir-tree-row--drop-before {
	box-shadow: inset 0 2px 0 #3b82f6;
}
.vrt-ymir-tree-row--drop-after {
	box-shadow: inset 0 -2px 0 #3b82f6;
}
.vrt-ymir-tree-row--project {
	color: #a1a1aa;
	font-weight: 500;
}
.vrt-ymir-tree-chevron {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--text-dim, #71717a);
	width: 22px;
	height: 22px;
	margin: -2px 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 3px;
	flex-shrink: 0;
	cursor: pointer;
}
.vrt-ymir-tree-chevron:hover {
	color: var(--text-main, #e4e4e7);
	background: var(--bg-hover);
}
.vrt-ymir-tree-chevron:disabled {
	cursor: default;
	opacity: 0.55;
}
.vrt-ymir-tree-chevron--spacer {
	pointer-events: none;
}
.vrt-ymir-tree-color-mark {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	flex-shrink: 0;
	margin-left: 2px;
	margin-right: 2px;
}
.vrt-ymir-tree-icon {
	font-size: 11px;
	flex-shrink: 0;
}
.vrt-ymir-tree-label {
	flex: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 11px;
	color: #d4d4d8;
}
.vrt-ymir-tree-rename-input {
	flex: 1;
	font-size: 11px;
	font-family: inherit;
	background: #1e1e27;
	border: 1px solid #3b82f6;
	color: #e4e4e7;
	border-radius: 0;
	padding: 1px 5px;
	outline: none;
	min-width: 0;
}
/* Ymir File List */
.vrt-ymir-file-list {
	flex: 1;
	overflow-y: auto;
	position: relative;
}
.vrt-ymir-file-list:focus,
.vrt-ymir-file-icons:focus {
	outline: none;
}
.vrt-ymir-file-list-header {
	display: grid;
	grid-template-columns: 1fr 46px 110px 64px;
	padding: 3px 8px;
	background: #18181b;
	border-bottom: 1px solid #27272a;
	font-size: 9px;
	font-weight: 600;
	color: #52525b;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	flex-shrink: 0;
}
.vrt-ymir-file-row {
	display: grid;
	grid-template-columns: 1fr 46px 110px 64px;
	align-items: center;
	padding: 5px 8px;
	cursor: pointer;
	border-bottom: 1px solid #1c1c20;
	user-select: none;
}
.vrt-ymir-file-row:hover {
	background: #1c1c24;
}
.vrt-ymir-file-row--active {
	background: var(--primary-dim);
	box-shadow:
		inset 3px 0 0 var(--primary),
		inset 0 0 0 1px color-mix(in srgb, var(--primary) 58%, transparent);
}
.vrt-ymir-file-row--active:hover {
	background: color-mix(in srgb, var(--primary) 18%, var(--bg-hover));
}
.vrt-ymir-file-row--active .vrt-ymir-file-name {
	color: var(--text-main);
	font-weight: 600;
}
.vrt-ymir-file-row--dragging,
.vrt-ymir-file-icon-cell--dragging {
	opacity: 0.55;
}
.vrt-ymir-file-drag-count {
	position: absolute;
	top: 5px;
	right: 8px;
	z-index: 4;
	padding: 3px 7px;
	border: 1px solid var(--primary);
	border-radius: 999px;
	background: var(--bg-deep);
	color: var(--primary-hover);
	pointer-events: none;
	font-size: 10px;
	font-weight: 700;
	box-shadow: var(--elevation-1);
}
.vrt-ymir-file-drag-preview {
	position: fixed;
	top: -1000px;
	left: -1000px;
	padding: 5px 8px;
	border: 1px solid var(--primary);
	border-radius: 5px;
	background: var(--bg-panel);
	color: var(--text-main);
	font:
		700 11px Inter,
		sans-serif;
}
.vrt-ymir-file-name {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: #d4d4d8;
	display: flex;
	align-items: center;
}
.vrt-ymir-file-name span:last-child {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.vrt-ymir-file-icon {
	font-size: 13px;
	margin-right: 6px;
	flex-shrink: 0;
}
.vrt-ymir-file-thumb {
	width: 28px;
	height: 28px;
	object-fit: cover;
	border-radius: 3px;
	margin-right: 6px;
	flex-shrink: 0;
	background: #27272a;
	border: 1px solid #3f3f46;
}
.vrt-ymir-file-ext {
	font-size: 9px;
	color: #52525b;
	text-align: right;
}
.vrt-ymir-file-date {
	font-size: 9px;
	color: #52525b;
	text-align: right;
}
.vrt-ymir-file-size {
	font-size: 9px;
	color: #52525b;
	text-align: right;
}
/* Icons grid view */
.vrt-ymir-file-icons {
	flex: 1;
	overflow-y: auto;
	position: relative;
	padding: 8px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-content: flex-start;
}
.vrt-ymir-file-icon-cell {
	width: 84px;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 6px 4px;
	border-radius: 5px;
	cursor: pointer;
	user-select: none;
	border: 1px solid transparent;
}
.vrt-ymir-file-icon-cell:hover {
	background: #1c1c24;
	border-color: #27272a;
}
.vrt-ymir-file-icon-cell--active {
	background: #1e2a3a;
	border-color: #3b82f6;
}
.vrt-ymir-file-icon-preview {
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 3px;
	background: #18181b;
	border-radius: 4px;
	border: 1px solid #27272a;
}
.vrt-ymir-file-icon-emoji {
	font-size: 28px;
}
.vrt-ymir-file-icon-thumb {
	max-width: 56px;
	max-height: 56px;
	object-fit: contain;
	border-radius: 2px;
}
.vrt-ymir-file-icon-label {
	font-size: 9px;
	color: #d4d4d8;
	text-align: center;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 100%;
	line-height: 1.3;
}
/* Ymir Browser (mega component) */
.vrt-ymir-browser {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #09090b;
	color: #d4d4d8;
	font-size: 11px;
	font-family: inherit;
	overflow: hidden;
}
.vrt-ymir-browser__header {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 0 8px;
	height: 34px;
	background: #18181b;
	border-bottom: 1px solid #27272a;
	flex-shrink: 0;
}
.vrt-ymir-browser__header-title {
	font-size: 11px;
	font-weight: 600;
	color: #a1a1aa;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.vrt-ymir-browser__body {
	display: flex;
	flex: 1;
	min-height: 0;
	overflow: hidden;
}
.vrt-ymir-browser__tree {
	width: 145px;
	min-width: 100px;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	background: #0d0d10;
	overflow-y: auto;
	overflow-x: hidden;
}
.vrt-ymir-browser__files {
	flex: 1;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	background: #09090b;
}
.vrt-ymir-browser__footer {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 5px 6px;
	border-top: 1px solid #27272a;
	background: #0d0d10;
	flex-shrink: 0;
}
.vrt-ymir-browser__footer-input {
	flex: 1;
	min-width: 0;
	background: #27272a;
	border: 1px solid #3f3f46;
	color: #d4d4d8;
	font-size: 11px;
	padding: 3px 6px;
	border-radius: 4px;
	outline: none;
	font-family: inherit;
}
.vrt-ymir-browser__footer-input:focus {
	border-color: #3b82f6;
}
.vrt-ymir-browser__btn {
	display: flex;
	align-items: center;
	gap: 3px;
	font-size: 10px;
	font-weight: 600;
	background: #18181b;
	color: #a1a1aa;
	border: 1px solid #3f3f46;
	padding: 3px 8px;
	border-radius: 0;
	cursor: pointer;
	font-family: inherit;
	transition: all 0.12s;
	flex-shrink: 0;
	white-space: nowrap;
}
.vrt-ymir-browser__btn:hover:not(:disabled) {
	background: #27272a;
	color: #e4e4e7;
	border-color: #52525b;
}
.vrt-ymir-browser__btn:disabled {
	opacity: 0.35;
	cursor: default;
}
.vrt-ymir-browser__btn--accent {
	background: #1e293b;
	border-color: #334155;
	color: #93c5fd;
}
.vrt-ymir-browser__btn--accent:hover:not(:disabled) {
	background: #1d4ed8;
	color: #fff;
	border-color: #60a5fa;
}
/* Ymir status badge */
.vrt-ymir-status {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 2px 6px;
	border-radius: 10px;
	font-size: 10px;
	font-weight: 500;
	flex-shrink: 0;
}
.vrt-ymir-status__dot {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	flex-shrink: 0;
}
.vrt-ymir-status--unknown {
	background: #18181b;
	color: #71717a;
}
.vrt-ymir-status--connecting {
	background: #1c1a0d;
	color: #d97706;
}
.vrt-ymir-status--connected {
	background: #0d1f12;
	color: #4ade80;
}
.vrt-ymir-status--disconnected {
	background: #1f0d0d;
	color: #f87171;
}
.vrt-ymir-status--unknown .vrt-ymir-status__dot {
	background: #52525b;
}
.vrt-ymir-status--connecting .vrt-ymir-status__dot {
	background: #ca8a04;
	animation: av-pulse 1s ease-in-out infinite;
}
.vrt-ymir-status--connected .vrt-ymir-status__dot {
	background: #16a34a;
}
.vrt-ymir-status--disconnected .vrt-ymir-status__dot {
	background: #dc2626;
}
@keyframes av-pulse {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0.3;
	}
}
/* Ymir context menu */
.vrt-ymir-context-menu {
	position: fixed;
	z-index: 10000;
	min-width: 150px;
	background: #18181b;
	border: 1px solid #3f3f46;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
	padding: 4px;
}
.vrt-ymir-context-menu__item {
	width: 100%;
	display: flex;
	align-items: center;
	background: transparent;
	border: 0;
	color: #d4d4d8;
	font-size: 11px;
	font-family: inherit;
	text-align: left;
	padding: 5px 7px;
	cursor: pointer;
}
.vrt-ymir-context-menu__item:hover {
	background: #27272a;
}
.vrt-ymir-context-menu__item--danger {
	color: #fca5a5;
}
.vrt-ymir-context-menu__item--danger:hover {
	background: #3f1515;
	color: #fecaca;
}
.vrt-ymir-context-menu__section {
	border-top: 1px solid #27272a;
	margin-top: 4px;
	padding-top: 5px;
}
.vrt-ymir-context-menu__label {
	color: #71717a;
	font-size: 9px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 0 7px 5px;
}
/* Ymir filter tabs */
.vrt-ymir-filter-tabs {
	display: flex;
	gap: 2px;
	padding: 4px 6px;
	background: #0d0d10;
	border-bottom: 1px solid #27272a;
	flex-shrink: 0;
}
.vrt-ymir-filter-btn {
	background: transparent;
	border: 1px solid transparent;
	color: #71717a;
	font-size: 10px;
	font-weight: 700;
	padding: 2px 6px;
	border-radius: 0;
	cursor: pointer;
	font-family: inherit;
	transition: all 0.1s;
	letter-spacing: 0.02em;
}
.vrt-ymir-filter-btn:hover {
	background: #27272a;
	color: #d4d4d8;
}
.vrt-ymir-filter-btn--active {
	background: #1e293b;
	border-color: #3b82f6;
	color: #93c5fd;
}
/* error banner */
.vrt-ymir-error-banner {
	padding: 4px 6px;
	background: #1f0d0d;
	color: #fca5a5;
	font-size: 10px;
	border-bottom: 1px solid #3f1515;
	flex-shrink: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
/* Ymir browser placeholder/empty states */
.vrt-ymir-placeholder {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	color: #3f3f46;
	font-size: 11px;
	height: 100%;
}
.vrt-ymir-placeholder span {
	font-size: 24px;
}
.vrt-ymir-placeholder small {
	font-size: 9px;
	color: #27272a;
}
.vrt-ymir-loading {
	padding: 10px;
	color: #3f3f46;
	font-size: 10px;
	text-align: center;
}
/* Dialog */
.vrt-dialog-overlay {
	position: fixed;
	inset: 0;
	z-index: 10000;
	background: rgba(0, 0, 0, 0.6);
}
.vrt-dialog-content {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 10001;
	width: 90%;
	max-width: 450px;
	max-height: 85vh;
	padding: 24px;
	background: var(--bg-panel);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.vrt-dialog-close {
	position: absolute;
	top: 16px;
	right: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	color: var(--text-muted);
	background: transparent;
	border: none;
	border-radius: var(--radius);
	cursor: pointer;
}
.vrt-dialog-close:hover {
	color: var(--text-main);
	background: var(--bg-hover);
}
.vrt-dialog-header {
	margin-bottom: 16px;
}
.vrt-dialog-body {
	flex: 1 1 auto;
	min-height: 0;
	overflow: auto;
}
.vrt-dialog-title {
	font-size: var(--text-md);
	font-weight: 600;
	color: var(--text-main);
}
.vrt-dialog-description {
	margin-top: 8px;
	font-size: var(--text-sm);
	color: var(--text-muted);
}
.vrt-dialog-footer {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 24px;
}
.vrt-confirm-dialog {
	max-width: 380px;
	padding: 18px;
}
.vrt-confirm-dialog .vrt-dialog-header {
	margin-bottom: 0;
	padding-right: 18px;
}
.vrt-confirm-dialog .vrt-dialog-description {
	line-height: 1.45;
}
.vrt-confirm-dialog .vrt-dialog-footer {
	margin-top: 18px;
}
/* Radio */
.vrt-radio-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.vrt-radio-item {
	width: 18px;
	height: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bg-input);
	border: 1px solid var(--border);
	border-radius: 50%;
	cursor: pointer;
}
.vrt-radio-item[data-state="checked"] {
	border-color: var(--primary);
}
.vrt-radio-indicator {
	color: var(--primary);
}
/* Slider */
.vrt-slider {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	height: 20px;
	cursor: pointer;
}
.vrt-slider-track {
	position: relative;
	flex-grow: 1;
	height: 4px;
	background: var(--bg-input);
	border-radius: 2px;
}
.vrt-slider-range {
	position: absolute;
	height: 100%;
	background: var(--primary);
	border-radius: 2px;
}
.vrt-slider-thumb {
	display: block;
	width: 16px;
	height: 16px;
	background: var(--text-main);
	border: 2px solid var(--primary);
	border-radius: 50%;
	cursor: grab;
}
.vrt-slider-thumb:hover {
	background: var(--primary);
}
.vrt-slider-thumb:focus {
	outline: none;
	box-shadow: 0 0 0 2px var(--primary-dim);
}
/* ScrollArea */
.vrt-scroll-area {
	width: 100%;
	height: 100%;
	overflow: hidden;
}
.vrt-scroll-area-viewport {
	width: 100%;
	height: 100%;
	border-radius: inherit;
}
.vrt-scrollbar {
	display: flex;
	user-select: none;
	touch-action: none;
	padding: 2px;
	background: transparent;
}
.vrt-scrollbar[data-orientation="vertical"] {
	width: 8px;
}
.vrt-scrollbar[data-orientation="horizontal"] {
	flex-direction: column;
	height: 8px;
}
.vrt-scroll-area-thumb {
	flex: 1;
	background: var(--border-subtle);
	border-radius: 4px;
}
.vrt-scroll-area-thumb:hover {
	background: var(--text-faint);
}
.vrt-scroll-area-corner {
	background: var(--bg-panel);
}
/* Panel */
.vrt-panel {
	display: flex;
	flex-direction: column;
	background: var(--bg-panel);
	border: 1px solid var(--border);
	overflow: hidden;
}
.vrt-panel__header {
	padding: var(--space-3);
	background: var(--bg-header);
	border-bottom: 1px solid var(--border);
	font-size: var(--text-sm);
	font-weight: 600;
	color: var(--text-muted);
}
.vrt-panel__content {
	flex: 1;
	min-height: 0;
	overflow: auto;
	padding: var(--space-2);
	display: flex;
	flex-direction: column;
}
.vrt-panel__footer {
	padding: var(--space-2) var(--space-3);
	background: var(--bg-header);
	border-top: 1px solid var(--border);
}
.vrt-panel--docked-left {
	width: 280px;
	min-width: 200px;
	flex-shrink: 0;
	border-right: 1px solid var(--border);
}
.vrt-panel--docked-right {
	width: 300px;
	min-width: 200px;
	flex-shrink: 0;
	border-left: 1px solid var(--border);
}
/* SidePanel */
.vrt-side-panel {
	flex-shrink: 0;
}
.vrt-side-panel--left {
	border-right: 1px solid var(--border);
}
.vrt-side-panel--right {
	border-left: 1px solid var(--border);
}
.vrt-side-panel__header {
	font-size: var(--text-xs);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: var(--text-muted);
}
/* ── Unified YmirBrowser Enhancements ─────────────────────────────────── */
.vrt-ymir-nav-group {
	display: flex;
	align-items: center;
	gap: 2px;
	margin-right: 8px;
}
.vrt-ymir-nav-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	background: transparent;
	border: 1px solid transparent;
	color: var(--text-muted);
	cursor: pointer;
	border-radius: 3px;
	transition: all 0.15s ease;
}
.vrt-ymir-nav-btn:hover:not(:disabled) {
	background: var(--bg-hover);
	color: var(--text-main);
	border-color: var(--border-subtle);
}
.vrt-ymir-nav-btn:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}
.vrt-ymir-divider {
	width: 1px;
	height: 18px;
	background: var(--border);
	margin: 0 6px;
}
/* Search Box */
.vrt-ymir-search-box {
	position: relative;
	display: flex;
	align-items: center;
	width: 160px;
	margin-right: 8px;
}
.vrt-ymir-search-icon {
	position: absolute;
	left: 8px;
	color: var(--text-dim);
	pointer-events: none;
}
.vrt-ymir-search-box input {
	width: 100%;
	height: 24px;
	background: var(--bg-input);
	border: 1px solid var(--border);
	color: var(--text-main);
	padding: 0 24px 0 24px;
	font-size: var(--text-xs);
	border-radius: var(--radius);
	outline: none;
	transition: all 0.15s ease;
}
.vrt-ymir-search-box input:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 2px var(--primary-dim);
	background: var(--bg-deep);
}
.vrt-ymir-search-clear {
	position: absolute;
	right: 6px;
	background: transparent;
	border: none;
	color: var(--text-dim);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2px;
	border-radius: 50%;
}
.vrt-ymir-search-clear:hover {
	color: var(--text-main);
	background: var(--bg-hover);
}
/* Segmented View Mode Controller */
.vrt-ymir-segmented {
	display: flex;
	background: var(--bg-deep);
	border: 1px solid var(--border);
	padding: 2px;
	border-radius: var(--radius);
	margin-right: 4px;
}
.vrt-ymir-segmented-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 20px;
	background: transparent;
	border: none;
	color: var(--text-dim);
	cursor: pointer;
	border-radius: var(--radius-sm);
	transition: all 0.15s ease;
}
.vrt-ymir-segmented-btn:hover {
	color: var(--text-muted);
}
.vrt-ymir-segmented-btn--active {
	background: var(--bg-input);
	color: var(--primary-hover);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
/* Breadcrumbs Bar */
.vrt-ymir-breadcrumbs-bar {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 0 12px;
	height: 26px;
	background: var(--bg-deep);
	border-bottom: 1px solid var(--border);
	flex-shrink: 0;
	font-size: var(--text-2xs);
	color: var(--text-dim);
	overflow-x: auto;
	white-space: nowrap;
}
.vrt-ymir-breadcrumbs-sep {
	color: var(--text-faint);
}
.vrt-ymir-breadcrumb-item {
	background: transparent;
	border: none;
	padding: 2px 4px;
	color: var(--text-muted);
	font-size: var(--text-xs);
	cursor: pointer;
	border-radius: var(--radius-sm);
	transition: all 0.12s ease;
}
.vrt-ymir-breadcrumb-item:hover {
	background: var(--bg-hover);
	color: var(--text-main);
}
.vrt-ymir-breadcrumb-item--active {
	color: var(--text-main);
	font-weight: 500;
	cursor: default;
	background: transparent;
}
/* Integrated Properties Slideout Sidebar */
.vrt-ymir-browser__info-panel {
	width: 280px;
	border-left: 1px solid var(--border);
	background: var(--bg-panel);
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	animation: vrt-slide-in 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes vrt-slide-in {
	from {
		transform: translateX(100%);
	}
	to {
		transform: translateX(0);
	}
}
/* Styled info panels */
.vrt-ymir-browser__info-panel .vrt-file-info {
	height: 100%;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}
.vrt-ymir-browser__info-panel .vrt-file-info__header {
	padding: 10px 12px;
	background: var(--bg-header);
	border-bottom: 1px solid var(--border);
	font-weight: 600;
	color: var(--text-muted);
	text-transform: uppercase;
	font-size: var(--text-xs);
}
.vrt-ymir-browser__info-panel .vrt-file-info__body {
	flex: 1;
	overflow-y: auto;
	padding: 12px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
/* Enhancements on Toggle button active state */
.vrt-ymir-browser__btn--toggled {
	background: var(--bg-input);
	border-color: var(--primary);
	color: var(--primary-hover);
}
/* High Fidelity Cards View Enhancements */
.vrt-ymir-file-icon-cell {
	position: relative;
	width: 90px;
	height: 102px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	background: var(--bg-panel);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	padding: 8px;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}
.vrt-ymir-file-icon-cell:hover {
	background: var(--bg-hover);
	border-color: var(--border-subtle);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.vrt-ymir-file-icon-cell--active {
	background: var(--primary-dim);
	border-color: var(--primary);
	box-shadow: 0 0 0 1px var(--primary);
}
.vrt-ymir-file-icon-preview {
	position: relative;
	width: 100%;
	height: 60px;
	background: var(--bg-deep);
	border-radius: var(--radius);
	border: 1px solid var(--border);
	margin-bottom: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
/* Cards Format Badges */
.vrt-ymir-file-card-tag {
	position: absolute;
	bottom: 3px;
	right: 3px;
	font-size: 8px;
	font-weight: 800;
	padding: 1px 4px;
	border-radius: 2px;
	color: #fff;
	background: #475569;
	letter-spacing: 0.05em;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
.vrt-ymir-file-card-tag.tag-odin {
	background: #d97706; /* Amber for Scenes */
}
.vrt-ymir-file-card-tag.tag-odinobj {
	background: #7c3aed; /* Violet for Objects (Transition Logic) */
}
.vrt-ymir-file-card-tag.tag-png,
.vrt-ymir-file-card-tag.tag-jpg,
.vrt-ymir-file-card-tag.tag-jpeg,
.vrt-ymir-file-card-tag.tag-webp {
	background: #0891b2; /* Cyan for Images */
}
.vrt-ymir-file-card-tag.tag-gltf,
.vrt-ymir-file-card-tag.tag-glb,
.vrt-ymir-file-card-tag.tag-fbx,
.vrt-ymir-file-card-tag.tag-obj {
	background: #2563eb; /* Blue for Geometry */
}
.vrt-ymir-file-card-tag.tag-mp3,
.vrt-ymir-file-card-tag.tag-ogg,
.vrt-ymir-file-card-tag.tag-wav {
	background: #ca8a04; /* Yellow for Audio */
}
.vrt-ymir-file-card-tag.tag-ttf,
.vrt-ymir-file-card-tag.tag-otf,
.vrt-ymir-file-card-tag.tag-woff,
.vrt-ymir-file-card-tag.tag-woff2 {
	background: #db2777; /* Pink for Fonts */
}
.vrt-ymir-file-icon-label {
	font-size: var(--text-xs);
	color: var(--text-main);
	width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-align: center;
}
/* Drag & Drop Overlays */
.vrt-ymir-dragover {
	position: relative;
	background: var(--bg-hover);
	border: 2px dashed var(--primary);
	border-radius: var(--radius-md);
	animation: pulse-border 1.5s infinite;
}
.vrt-ymir-dragover .vrt-ymir-placeholder {
	pointer-events: none;
}
@keyframes pulse-border {
	0%,
	100% {
		border-color: var(--primary);
	}
	50% {
		border-color: var(--primary-hover);
	}
}
.vrt-ymir-sort-header {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	transition: color 0.15s ease;
}
.vrt-ymir-sort-header:hover {
	color: var(--text-main);
}
.vrt-ymir-sort-header--active {
	color: var(--primary-hover);
}
/* Color grid context menu buttons */
.vrt-ymir-color-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 6px;
	padding: 8px;
	margin-top: 4px;
}
.vrt-ymir-color-btn {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 1px solid var(--border-subtle, #3f3f46);
	cursor: pointer;
	padding: 0;
	transition:
		transform 0.1s ease,
		border-color 0.1s ease;
}
.vrt-ymir-color-btn:hover {
	transform: scale(1.2);
	border-color: var(--text-muted, #a1a1aa);
}
.vrt-ymir-color-btn--active {
	border-color: #fff;
	box-shadow: 0 0 0 1.5px var(--primary, #3b82f6);
}
/* biome-ignore-all lint/complexity/noImportantStyles: login submit button must override app-wide button styles
/* Reusable admin/control-panel patterns for ValhollRT apps. */

.vrt-app-container {
	display: flex;
	min-height: 100vh;
	background: var(--bg-dark);
	color: var(--text-main);
}

.vrt-sidebar {
	width: 250px;
	background: var(--bg-panel);
	border-right: 1px solid var(--border);
	padding: 20px 0;
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
}

.vrt-sidebar-brand {
	border-bottom: 1px solid var(--border);
	margin-bottom: 8px;
}

.vrt-sidebar-brand .vrt-app-status-trigger {
	height: auto;
	width: 100%;
	padding: 16px 20px 14px;
	border-right: none;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
}

.vrt-nav-item {
	display: block;
	width: 100%;
	padding: 12px 20px;
	background: transparent;
	border: none;
	color: var(--text-muted);
	font: inherit;
	font-size: 0.95rem;
	font-weight: 500;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
	transition:
		background 0.15s,
		color 0.15s,
		border-color 0.15s;
}

.vrt-nav-item:hover,
.vrt-nav-item.active {
	color: var(--text-main);
	background: var(--bg-hover);
	border-right: 3px solid var(--accent);
}

.vrt-nav-item--logout {
	margin-top: 0;
	color: var(--danger);
	border-top: 1px solid var(--border);
}

.vrt-nav-item--logout:hover {
	background: rgba(239, 68, 68, 0.1);
	border-right-color: var(--danger);
}

.vrt-main-content {
	flex: 1;
	padding: 40px;
	overflow-y: auto;
	min-width: 0;
}

.vrt-page-title {
	margin: 0 0 30px;
	font-size: 1.8rem;
	font-weight: 700;
}

.vrt-grid-2,
.vrt-grid-3 {
	display: grid;
	gap: 20px;
}

.vrt-grid-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vrt-grid-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vrt-form {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.vrt-form-grid-2 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 15px;
}

.vrt-form-actions {
	display: flex;
	justify-content: flex-end;
	margin-top: 10px;
}

.vrt-toast {
	position: fixed;
	top: 20px;
	right: 40px;
	z-index: 100;
	padding: 15px 25px;
	border-radius: var(--radius-md);
	color: white;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.vrt-toast--success {
	background: var(--success);
}

.vrt-toast--error {
	background: var(--danger);
}

.vrt-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.vrt-text-muted {
	color: var(--text-muted);
}

.vrt-empty-state {
	padding: 20px;
	color: var(--text-muted);
	text-align: center;
}

.vrt-inline-actions {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 12px;
}

.vrt-stat-number {
	margin: 0;
	color: var(--accent);
	font-size: 2.5rem;
}

.vrt-admin-kpi-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 16px;
}

.vrt-admin-kpi {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 6px;
	padding: 14px 16px;
	background: var(--bg-panel);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition:
		background 0.12s,
		border-color 0.12s,
		transform 0.12s;
}

.vrt-admin-kpi:hover,
.vrt-admin-kpi:focus-visible {
	background: var(--bg-hover);
	border-color: color-mix(in srgb, var(--accent) 42%, var(--border));
	outline: none;
	transform: translateY(-1px);
}

.vrt-admin-kpi--good {
	border-color: color-mix(in srgb, var(--success) 32%, var(--border));
}

.vrt-admin-kpi--warn {
	border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
}

.vrt-admin-kpi--bad {
	border-color: color-mix(in srgb, var(--danger) 35%, var(--border));
}

.vrt-admin-kpi__label {
	color: var(--text-muted);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.vrt-admin-kpi strong {
	color: var(--text-main);
	font-size: 2rem;
	line-height: 1;
}

.vrt-admin-kpi span:last-child {
	min-width: 0;
	overflow: hidden;
	color: var(--text-muted);
	font-size: 0.78rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.vrt-admin-dashboard-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
	gap: 16px;
	margin-bottom: 16px;
}

.vrt-admin-dashboard-grid .vrt-panel,
.vrt-admin-dashboard-overview,
.vrt-admin-work-panel {
	border-radius: var(--radius-md);
}

.vrt-admin-dashboard-grid .vrt-panel__content,
.vrt-admin-dashboard-overview .vrt-panel__content,
.vrt-admin-work-panel .vrt-panel__content {
	padding: 0;
}

.vrt-admin-filter-bar,
.vrt-audit-filter-bar {
	display: grid;
	grid-template-columns: minmax(180px, 1.2fr) 130px 190px 190px 90px auto;
	gap: 10px;
	align-items: end;
	padding: 14px 16px;
	border-bottom: 1px solid var(--border);
	background: var(--bg-deep);
}

.vrt-admin-filter-actions,
.vrt-audit-filter-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	min-width: 0;
	padding-bottom: 1px;
}

.vrt-admin-filter-bar--logs {
	grid-template-columns: 140px 150px minmax(220px, 1fr) auto;
}

.vrt-admin-filter-bar--diagnostics {
	grid-template-columns: minmax(220px, 1.2fr) 130px auto;
}

.vrt-admin-panel-body {
	padding: 14px 16px 16px;
}

.vrt-admin-section-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.vrt-admin-section-toolbar > span {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 0.82rem;
}

.vrt-admin-health-list,
.vrt-admin-plan-list {
	display: grid;
	gap: 8px;
	padding: 12px 14px 14px;
}

.vrt-admin-plan-card-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.vrt-admin-health-row,
.vrt-admin-plan-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-width: 0;
	padding: 8px 10px;
	background: var(--bg-deep);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	font-size: 0.85rem;
}

.vrt-admin-health-row span:first-child,
.vrt-admin-plan-row span:first-child {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.vrt-admin-action-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	padding: 12px 14px 14px;
}

.vrt-admin-inline-controls {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 104px auto;
	align-items: center;
	gap: 8px;
	width: 100%;
	min-width: 0;
}

.vrt-admin-renewal {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px;
}

.vrt-admin-renewal strong {
	font-size: 0.95rem;
}

.vrt-admin-renewal span {
	color: var(--text-muted);
	font-size: 0.85rem;
}

.vrt-admin-workspace-strip {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	padding: 14px;
}

.vrt-admin-workspace-tile {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 7px;
	padding: 12px;
	background: var(--bg-deep);
	border: 1px solid var(--border);
	border-radius: var(--radius);
}

.vrt-admin-workspace-tile strong,
.vrt-admin-workspace-tile span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.vrt-admin-workspace-tile span {
	color: var(--text-muted);
	font-size: 0.78rem;
}

.vrt-admin-diagnostics-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	border-bottom: 1px solid var(--border);
	color: var(--text-muted);
	font-size: 0.84rem;
}

.vrt-admin-diagnostics-summary span {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.vrt-admin-diagnostics-kpis {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	padding: 14px 16px 12px;
}

.vrt-admin-diagnostics-hop,
.vrt-admin-diagnostics-trend {
	display: flex;
	gap: 8px;
	padding: 0 16px 14px;
}

.vrt-admin-diagnostics-hop {
	flex-direction: column;
}

.vrt-admin-diagnostics-hop .vrt-text-muted,
.vrt-admin-diagnostics-trend .vrt-text-muted {
	font-size: 11px;
}

.vrt-admin-diagnostics-trend {
	align-items: center;
}

.vrt-admin-signal-list {
	display: grid;
	gap: 8px;
	padding: 12px 14px 14px;
}

.vrt-admin-signal-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	min-width: 0;
	padding: 8px 10px;
	background: var(--bg-deep);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	font-size: 0.85rem;
}

.vrt-admin-signal-row strong,
.vrt-admin-signal-row span {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.vrt-admin-signal-row span {
	color: var(--text-muted);
	font-size: 0.78rem;
}

.vrt-row-actions {
	display: flex;
	gap: 6px;
	flex-shrink: 0;
}

.vrt-item-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 14px 16px;
	background: var(--bg-deep);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
}

.vrt-item-card__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.vrt-item-card__title {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 0.95rem;
	font-weight: 600;
}

.vrt-item-card__meta {
	color: var(--text-muted);
	font-size: 0.85rem;
}

.vrt-item-card__row {
	display: flex;
	align-items: center;
	gap: 8px;
}

.vrt-item-card--selectable {
	cursor: pointer;
	transition:
		background 0.12s,
		border-color 0.12s;
}

.vrt-item-card--selectable:hover {
	border-color: var(--text-muted);
}

.vrt-item-card--selected {
	background: color-mix(in srgb, var(--accent) 6%, var(--bg-deep));
	border-color: var(--accent);
}

.vrt-user-detail,
.vrt-admin-detail-rows {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-top: 10px;
	margin-top: 4px;
	border-top: 1px solid var(--border);
}

.vrt-user-detail__row,
.vrt-admin-detail-row {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 0.85rem;
}

.vrt-user-detail__label,
.vrt-admin-detail-row__label {
	width: 80px;
	flex-shrink: 0;
	color: var(--text-muted);
	font-size: 11px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.vrt-user-detail__value,
.vrt-admin-detail-row__control {
	flex: 1;
	min-width: 0;
}

.vrt-user-detail__value {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: var(--text-main);
}

.vrt-admin-detail-row__control {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--text-main);
}

.vrt-url-row {
	display: flex;
	align-items: center;
	gap: 6px;
}

.vrt-url-input {
	flex: 1;
	min-width: 0;
	font-family: Consolas, "Courier New", monospace;
	font-size: 0.72rem;
}

.vrt-admin-table {
	min-height: 240px;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	overflow: hidden;
}

.vrt-admin-table--bounded {
	max-height: calc(100vh - 300px);
	min-height: 320px;
	overflow: auto;
}

.vrt-admin-table--bounded .vrt-table__header {
	position: sticky;
	top: 0;
	z-index: 2;
}

.vrt-admin-table--detail {
	min-height: 0;
	max-height: 260px;
	overflow: auto;
}

.vrt-admin-table--detail .vrt-table__empty {
	min-height: 76px;
}

.vrt-admin-table__mono {
	font-family: Consolas, "Courier New", monospace;
	font-size: 0.78rem;
}

.vrt-admin-table__ellipsis {
	display: block;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.vrt-admin-table__name {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.vrt-admin-table__name strong,
.vrt-admin-table__name span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.vrt-admin-table__name span {
	color: var(--text-muted);
	font-size: 0.78rem;
}

.vrt-admin-table__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	min-width: 0;
}

.vrt-admin-table__detail {
	display: grid;
	gap: 10px;
}

.vrt-admin-invite-block {
	display: grid;
	flex: 1;
	min-width: 0;
	gap: 8px;
}

.vrt-admin-invite-block__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.vrt-admin-table__detail-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 8px;
}

.vrt-admin-table__detail-item {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.vrt-admin-table__detail-label {
	color: var(--text-muted);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.vrt-admin-table__detail-value {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: var(--text-main);
	font-size: 0.82rem;
}

.vrt-feature-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-top: 4px;
}

.vrt-feature-tag {
	padding: 1px 7px;
	background: var(--bg-hover);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	color: var(--text-muted);
	font-family: Consolas, monospace;
	font-size: 0.7rem;
}

.vrt-feature-tag--on {
	background: rgba(245, 158, 11, 0.12);
	border-color: rgba(245, 158, 11, 0.35);
	color: var(--accent-hover);
}

.vrt-inline-edit {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 12px;
	background: var(--bg-hover);
	border-radius: var(--radius);
}

.vrt-inline-edit__actions {
	display: flex;
	gap: 8px;
}

.vrt-temp-password {
	margin-top: 20px;
	padding: 16px;
	background: rgba(34, 197, 94, 0.08);
	border: 1px solid rgba(34, 197, 94, 0.45);
	border-radius: var(--radius-md);
}

.vrt-temp-password__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 12px;
}

.vrt-temp-password__title {
	color: var(--text-main);
	font-size: 0.95rem;
	font-weight: 700;
}

.vrt-temp-password__meta,
.vrt-temp-password__hint {
	color: var(--text-muted);
	font-size: 0.85rem;
}

.vrt-temp-password__meta {
	margin-top: 3px;
}

.vrt-temp-password__close {
	width: 28px;
	height: 28px;
	background: transparent;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	color: var(--text-muted);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

.vrt-temp-password__close:hover {
	background: var(--bg-hover);
	color: var(--text-main);
}

.vrt-temp-password__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
	align-items: center;
}

.vrt-temp-password__input {
	font-family: Consolas, "Courier New", monospace;
	font-size: 1.1rem;
	letter-spacing: 0;
}

.vrt-temp-password__hint {
	margin: 10px 0 0;
}

.vrt-login-shell {
	--vrt-login-bg:
		linear-gradient(120deg, rgba(201, 169, 110, 0.08), transparent 34%),
		linear-gradient(235deg, rgba(201, 169, 110, 0.05), transparent 42%),
		linear-gradient(145deg, #09090b 0%, #101218 48%, #15110a 100%);
	--vrt-login-panel: linear-gradient(135deg, #2a1f0a 0%, #1a1410 50%, #0d0f14 100%);
	--vrt-login-panel-soft: rgba(201, 169, 110, 0.15);
	--vrt-login-focus: var(--accent);
	min-height: 100vh;
	position: relative;
	display: grid;
	place-items: center;
	overflow: hidden;
	background: var(--bg-dark);
	padding: 24px;
	isolation: isolate;
}

.vrt-login-shell::before {
	position: absolute;
	inset: 0;
	z-index: -2;
	background: var(--vrt-login-bg);
	background-size: 180% 180%;
	content: "";
	animation: vrt-login-gradient-shift 16s ease-in-out infinite;
}

.vrt-login-shell--mimir {
	--vrt-login-bg:
		linear-gradient(120deg, rgba(168, 85, 247, 0.08), transparent 36%),
		linear-gradient(235deg, rgba(168, 85, 247, 0.05), transparent 44%),
		linear-gradient(145deg, #080807 0%, #100b14 54%, #14100a 100%);
	--vrt-login-panel: linear-gradient(135deg, #1f112e 0%, #110d1a 50%, #0d0f14 100%);
	--vrt-login-panel-soft: rgba(168, 85, 247, 0.15);
	--vrt-login-focus: #a855f7;
	--vrt-login-accent: #7c3aed;
	--vrt-login-accent-hover: #8b5cf6;
}

.vrt-login-shell--odin {
	--vrt-login-bg:
		linear-gradient(120deg, rgba(201, 169, 110, 0.08), transparent 36%),
		linear-gradient(235deg, rgba(201, 169, 110, 0.05), transparent 44%),
		linear-gradient(145deg, #0c0a06 0%, #14110a 56%, #0d0f14 100%);
	--vrt-login-panel: linear-gradient(135deg, #2a1f0a 0%, #1a1410 50%, #0d0f14 100%);
	--vrt-login-panel-soft: rgba(201, 169, 110, 0.15);
	--vrt-login-focus: #c9a96e;
	--vrt-login-accent: #c9a96e;
	--vrt-login-accent-hover: #d9b97e;
}

.vrt-login-shell--tyr {
	--vrt-login-bg:
		linear-gradient(120deg, rgba(120, 30, 30, 0.12), transparent 36%),
		linear-gradient(235deg, rgba(160, 40, 50, 0.06), transparent 44%),
		linear-gradient(145deg, #0b0f12 0%, #160f12 52%, #071312 100%);
	--vrt-login-panel: linear-gradient(135deg, #2e1111 0%, #1a0d0d 50%, #0d0f14 100%);
	--vrt-login-panel-soft: rgba(233, 69, 96, 0.18);
	--vrt-login-focus: var(--accent, #e94560);
	--vrt-login-accent: #e94560;
	--vrt-login-accent-hover: #ff5a73;
}

.vrt-login-shell--bragi {
	--vrt-login-bg:
		linear-gradient(120deg, rgba(6, 182, 212, 0.08), transparent 36%),
		linear-gradient(235deg, rgba(6, 182, 212, 0.05), transparent 44%),
		linear-gradient(145deg, #041018 0%, #0b1324 54%, #06140e 100%);
	--vrt-login-panel: linear-gradient(135deg, #0a1f26 0%, #0d161a 50%, #0d0f14 100%);
	--vrt-login-panel-soft: rgba(6, 182, 212, 0.15);
	--vrt-login-focus: #06b6d4;
	--vrt-login-accent: #06b6d4;
	--vrt-login-accent-hover: #22d3ee;
}

.vrt-login-shell--heimdall {
	--vrt-login-bg:
		linear-gradient(120deg, rgba(212, 160, 23, 0.2), transparent 36%),
		linear-gradient(235deg, rgba(212, 160, 23, 0.08), transparent 44%),
		linear-gradient(145deg, #14100a 0%, #18130b 56%, #0d0f14 100%);
	--vrt-login-panel: linear-gradient(135deg, #2a210c 0%, #18130b 50%, #0d0f14 100%);
	--vrt-login-panel-soft: rgba(212, 160, 23, 0.2);
	--vrt-login-focus: var(--heimdall-accent);
	--vrt-login-accent: var(--heimdall-accent);
	--vrt-login-accent-hover: var(--heimdall-accent-hover);
}

.vrt-login-frame {
	width: min(100%, 880px);
	min-height: 540px;
	display: grid;
	grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
	overflow: hidden;
	background: rgba(9, 9, 11, 0.74);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--radius-md);
	box-shadow:
		0 30px 90px rgba(0, 0, 0, 0.5),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(28px);
}

.vrt-login-pane {
	min-width: 0;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.vrt-login-pane--form {
	gap: 24px;
	padding: 44px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
}

.vrt-login-pane--visual {
	align-items: flex-start;
	gap: 18px;
	padding: 44px;
	overflow: hidden;
	background: var(--vrt-login-panel);
	background-size: 220% 220%;
	color: white;
	animation: vrt-login-gradient-shift 9s ease-in-out infinite;
}

.vrt-login-pane--visual::before {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 75%),
		linear-gradient(315deg, rgba(0, 0, 0, 0.16), transparent 85%);
	content: "";
}

.vrt-login-pane--visual::after {
	position: absolute;
	inset: 16px;
	border-radius: var(--radius-md);
	content: "";
}

.vrt-login-heading,
.vrt-login-form,
.vrt-login-visual-copy,
.vrt-login-visual-action,
.vrt-login-visual-mark {
	position: relative;
	z-index: 1;
}

.vrt-login-heading {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.vrt-login-kicker {
	color: var(--vrt-login-focus);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

.vrt-login-title {
	margin: 0;
	color: var(--text-main);
	font-size: 28px;
	font-weight: 800;
	line-height: 1.12;
}

.vrt-login-sub {
	margin: 0;
	color: var(--text-muted);
	font-size: 13px;
	line-height: 1.45;
}

.vrt-login-form {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.vrt-login-form .vrt-input {
	min-height: 40px;
	background: rgba(9, 9, 11, 0.82);
	border-color: rgba(255, 255, 255, 0.12);
}

.vrt-login-form .vrt-input:focus {
	border-color: var(--vrt-login-focus);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--vrt-login-focus) 35%, transparent);
}

.vrt-login-submit,
button.vrt-btn.vrt-login-submit {
	width: 100%;
	min-height: 42px;
	margin-top: 2px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: linear-gradient(
		180deg,
		var(--vrt-login-accent-hover, var(--accent-hover)) 0%,
		var(--vrt-login-accent, var(--accent)) 100%
	) !important;
	border-color: color-mix(in srgb, var(--vrt-login-accent, var(--accent)) 70%, transparent) !important;
	color: var(--vrt-login-submit-fg, #1a0d0d) !important;
	font-weight: 600;
	text-shadow: none;
}

.vrt-login-shell--tyr,
.vrt-login-shell--mimir,
.vrt-login-shell--bragi,
.vrt-login-shell--heimdall {
	--vrt-login-submit-fg: #ffffff;
}

.vrt-login-submit .vrt-btn__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: inherit;
	margin: 0;
	padding: 0;
}

.vrt-login-submit:hover:not(:disabled) {
	background: linear-gradient(
		180deg,
		color-mix(in srgb, var(--vrt-login-accent-hover, var(--accent-hover)) 75%, white) 0%,
		var(--vrt-login-accent-hover, var(--accent-hover)) 100%
	);
}

.vrt-login-error {
	padding: 10px 12px;
	background: rgba(239, 68, 68, 0.12);
	border: 1px solid rgba(239, 68, 68, 0.4);
	border-radius: var(--radius);
	color: #fca5a5;
	font-size: 12px;
	line-height: 1.4;
}

.vrt-login-known-user {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 14px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--radius);
}

.vrt-login-known-user__name {
	font-size: 13px;
	font-weight: 600;
	color: #e2e8f0;
}

.vrt-login-known-user__email {
	font-size: 11px;
	color: rgba(255, 255, 255, 0.4);
}

.vrt-login-known-user__switch {
	margin-top: 4px;
	padding: 0;
	background: none;
	border: none;
	font-size: 11px;
	color: rgba(255, 255, 255, 0.45);
	cursor: pointer;
	text-align: left;
	text-decoration: underline;
	transition: color 0.15s;
}

.vrt-login-known-user__switch:hover {
	color: rgba(255, 255, 255, 0.85);
}

.vrt-login-post {
	margin: 0;
	text-align: center;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.45);
}

.vrt-login-post a {
	color: rgba(255, 255, 255, 0.55);
	text-decoration: none;
	transition: color 0.15s;
}

.vrt-login-post a:hover {
	color: rgba(255, 255, 255, 0.9);
	text-decoration: underline;
}

.vrt-login-visual-mark {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: var(--radius-md);
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
	color: white;
}

.vrt-login-visual-copy {
	max-width: 310px;
	margin-top: auto;
}

.vrt-login-visual-title {
	font-size: 26px;
	font-weight: 800;
	line-height: 1.12;
	text-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

.vrt-login-visual-copy p {
	margin: 12px 0 0;
	color: rgba(255, 255, 255, 0.86);
	font-size: 13px;
	line-height: 1.5;
}

.vrt-login-visual-action {
	margin-top: 10px;
	color: white;
	border-color: rgba(255, 255, 255, 0.32);
	background: rgba(255, 255, 255, 0.1);
}

.vrt-login-visual-action:hover {
	background: rgba(255, 255, 255, 0.18);
}

/* ── Register form extras ───────────────────────────────────────────────── */

.vrt-login-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.vrt-login-hint {
	display: block;
	margin-top: 4px;
	font-size: 11px;
	color: rgba(255, 255, 255, 0.38);
	line-height: 1.4;
}

.vrt-login-terms {
	margin: 0;
	font-size: 11px;
	color: rgba(255, 255, 255, 0.32);
	line-height: 1.5;
}

.vrt-login-post-link {
	align-self: center;
	padding: 0;
	background: none;
	border: none;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.45);
	cursor: pointer;
	text-decoration: none;
	transition: color 0.15s;
}

.vrt-login-post-link:hover {
	color: rgba(255, 255, 255, 0.9);
	text-decoration: underline;
}

/* ── Register success screen ────────────────────────────────────────────── */

.vrt-login-success {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	text-align: center;
	padding: 8px 0;
}

.vrt-login-success__icon {
	color: var(--vrt-login-focus);
	flex-shrink: 0;
}

.vrt-login-success__title {
	font-size: 20px;
	font-weight: 800;
	color: var(--text-main);
	line-height: 1.15;
}

.vrt-login-success__message {
	margin: 0;
	font-size: 13px;
	color: var(--text-muted);
	line-height: 1.55;
	max-width: 300px;
}

.vrt-login-success__hint {
	margin: 0;
	font-size: 11px;
	color: rgba(255, 255, 255, 0.3);
	line-height: 1.5;
}

.vrt-login-success__resend {
	margin-top: 2px;
}

.vrt-login-success__resend-done {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.45);
}

/* ── Engine picker step ─────────────────────────────────────────────────── */

.vrt-engine-picker-desc {
	margin: 8px 0 0;
	color: var(--text-secondary, #94a3b8);
	font-size: 0.92rem;
}

.vrt-engine-picker-status {
	margin: 16px 0;
	color: var(--text-secondary, #94a3b8);
	font-size: 0.9rem;
}

.vrt-engine-picker-empty {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 8px;
}

.vrt-engine-picker-list {
	list-style: none;
	padding: 0;
	margin: 18px 0 6px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-height: 52vh;
	overflow-y: auto;
}

.vrt-engine-picker-item {
	width: 100%;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto auto;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border: 1px solid var(--border-color, #334155);
	border-radius: 10px;
	background: var(--surface-2, rgba(15, 23, 42, 0.55));
	color: var(--text-primary, #e2e8f0);
	cursor: pointer;
	text-align: left;
	font-family: inherit;
	transition:
		border-color 0.15s ease,
		background 0.15s ease;
}

.vrt-engine-picker-item:hover,
.vrt-engine-picker-item:focus-visible {
	border-color: var(--accent, #38bdf8);
	background: var(--surface-3, rgba(30, 41, 59, 0.7));
	outline: none;
}

.vrt-engine-picker-item--selected {
	border-color: var(--accent, #38bdf8);
	background: color-mix(in srgb, var(--accent, #38bdf8) 14%, var(--surface-2, rgba(15, 23, 42, 0.55)));
}

.vrt-engine-picker-name {
	font-weight: 600;
	font-size: 0.95rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.vrt-engine-picker-spec {
	color: var(--text-secondary, #94a3b8);
	font-size: 0.82rem;
	font-variant-numeric: tabular-nums;
}

.vrt-engine-picker-current {
	color: var(--accent, #38bdf8);
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.vrt-engine-picker-dot {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 2px 8px;
	border-radius: 999px;
}

.vrt-engine-picker-dot--online {
	color: #052e16;
	background: #4ade80;
}

.vrt-engine-picker-dot--offline {
	color: var(--text-secondary, #94a3b8);
	background: var(--surface-3, rgba(30, 41, 59, 0.7));
	border: 1px solid var(--border-color, #334155);
}

.vrt-engine-picker-link {
	background: none;
	border: none;
	color: var(--text-secondary, #94a3b8);
	font-size: 0.85rem;
	cursor: pointer;
	text-decoration: underline;
}

.vrt-engine-picker-link:hover {
	color: var(--text-primary, #e2e8f0);
}

.vrt-engine-picker-logout {
	margin-top: 14px;
	align-self: flex-start;
}

@keyframes vrt-login-gradient-shift {
	0% {
		background-position: 0% 50%;
	}

	50% {
		background-position: 100% 50%;
	}

	100% {
		background-position: 0% 50%;
	}
}

@media (max-width: 900px) {
	.vrt-grid-2,
	.vrt-grid-3 {
		grid-template-columns: 1fr;
	}

	.vrt-admin-kpi-grid,
	.vrt-admin-dashboard-grid,
	.vrt-admin-plan-card-grid,
	.vrt-admin-workspace-strip {
		grid-template-columns: 1fr;
	}

	.vrt-admin-action-grid,
	.vrt-admin-inline-controls,
	.vrt-admin-filter-bar,
	.vrt-audit-filter-bar,
	.vrt-form-grid-2 {
		grid-template-columns: 1fr;
	}

	.vrt-main-content {
		padding: 24px;
	}

	.vrt-login-shell {
		padding: 16px;
	}

	.vrt-login-frame {
		width: min(100%, 430px);
		min-height: 0;
		grid-template-columns: 1fr;
	}

	.vrt-login-pane--visual {
		min-height: 176px;
		order: -1;
		padding: 26px;
	}

	.vrt-login-pane--form {
		padding: 28px;
	}

	.vrt-login-visual-copy {
		margin-top: 14px;
	}

	.vrt-login-visual-title {
		font-size: 22px;
	}

	.vrt-login-title {
		font-size: 24px;
	}
}

/* ── Logs tab (Mimir.Admin) ─────────────────────────────────────────────── */
.vrt-logs-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
}

.vrt-logs-status {
	display: flex;
	gap: 1rem;
	font-size: 0.78rem;
	color: var(--vrt-text-muted, #7f8a99);
	padding: 10px 16px 8px;
}

.vrt-logs-list {
	height: min(68vh, 720px);
	margin: 0 16px;
	overflow-y: auto;
	border: 1px solid var(--vrt-border, #30363d);
	border-radius: 6px;
	background: var(--vrt-bg-deep, #0d1117);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 12px;
	padding: 4px 6px;
}

.vrt-logs-row {
	display: grid;
	grid-template-columns: 92px 80px 50px 200px 1fr auto;
	gap: 6px;
	padding: 3px 4px;
	border-radius: 3px;
	cursor: pointer;
	color: #c9d1d9;
}

.vrt-logs-row:hover {
	background: rgba(255, 255, 255, 0.04);
}

.vrt-logs-row--error {
	color: #ff6b6b;
}
.vrt-logs-row--warn {
	color: #ffd166;
}
.vrt-logs-row--info {
	color: #c9d1d9;
}
.vrt-logs-row--debug {
	color: #7f8a99;
}

.vrt-logs-row__ts {
	color: #7f8a99;
	white-space: nowrap;
}
.vrt-logs-row__app {
	color: #58a6ff;
	text-transform: uppercase;
	font-weight: 600;
}
.vrt-logs-row__lvl {
	font-weight: 700;
	letter-spacing: 0.5px;
}
.vrt-logs-row__cat {
	color: #a371f7;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.vrt-logs-row__msg {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.vrt-logs-row__trace {
	color: #3fb950;
	cursor: pointer;
	padding: 0 4px;
	border: 1px solid #2ea043;
	border-radius: 3px;
	font-size: 11px;
}

.vrt-logs-row__detail {
	grid-column: 1 / -1;
	margin: 6px 0 4px;
	padding: 8px;
	background: rgba(255, 255, 255, 0.04);
	border-radius: 4px;
	white-space: pre-wrap;
	color: #c9d1d9;
	max-height: 360px;
	overflow: auto;
}

.vrt-logs-footnote {
	margin: 0;
	padding: 10px 16px 14px;
	font-size: 0.8rem;
}

/* ── Login visual custom (cara del dios) ───────────────────────────── */

.vrt-login-visual-custom {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	height: 100%;
	min-height: 100%;
	padding: 40px 32px;
	position: relative;
	overflow: hidden;
}

.vrt-login-pane--visual > .vrt-login-visual-custom {
	height: 100%;
}

.vrt-login-visual-custom__head {
	width: 100%;
	max-width: 340px;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	flex: 1;
	filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.7));
	animation: vrt-login-head-float 7s ease-in-out infinite;
}

@keyframes vrt-login-head-float {
	0%,
	100% {
		transform: translateY(0) scale(1);
	}
	50% {
		transform: translateY(-10px) scale(1.03);
	}
}

.vrt-login-visual-custom__copy {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	width: 100%;
}

.vrt-login-visual-custom__brand {
	display: flex;
	align-items: center;
	gap: 14px;
	text-align: left;
}

.vrt-login-visual-custom__brand-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.vrt-login-visual-custom__name {
	color: var(--text-main);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.1;
}

.vrt-login-visual-custom__text {
	margin: 0;
	color: var(--text-muted);
	font-size: 12px;
	line-height: 1.5;
}

.vrt-login-visual-custom__mark {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1;
	width: 100%;
	max-width: 340px;
	position: relative;
	z-index: 2;
}

.vrt-login-visual-custom__mark img {
	width: 100%;
	height: auto;
	filter: drop-shadow(0 16px 48px rgba(0, 0, 0, 0.7));
}

.vrt-login-visual-custom__panteon {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	align-content: center;
	justify-items: center;
	align-items: center;
	padding: 32px;
	gap: 16px;
	opacity: 0.18;
	filter: saturate(0.7);
	z-index: 1;
	pointer-events: none;
}

.vrt-login-visual-custom__panteon-mark {
	width: 100%;
	max-width: 64px;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	filter: grayscale(0.4);
}

.vrt-login-visual-custom__text {
	margin: 0;
	color: var(--text-muted);
	font-size: 12px;
	line-height: 1.5;
}

@media (max-width: 900px) {
	.vrt-login-visual-custom {
		padding: 24px 20px;
		min-height: 240px;
	}
	.vrt-login-visual-custom__head {
		max-width: 200px;
	}
}
/* ── Bragi — Operator room ───────────────────────────────────────────
 * Uses @valhollrt/ui design tokens. No hardcoded palette.
 * ─────────────────────────────────────────────────────────────────── */

:root {
	color-scheme: dark;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;

	/* Bragi overrides global accent to cyan */
	--accent: var(--bragi-accent);
	--accent-hover: var(--bragi-accent-hover);
	--accent-muted: var(--bragi-accent-muted);
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	height: 100dvh;
	overflow: hidden;
	background: var(--bg-dark);
	color: var(--text-main);
}

html,
#root {
	height: 100%;
	overflow: hidden;
}

h1,
h2,
h3 {
	margin: 0;
	letter-spacing: -0.01em;
}

/* ── App shell ───────────────────────────────────────────────────── */

.app-shell {
	display: flex;
	flex-direction: column;
	height: 100dvh;
	min-height: 0;
	overflow: hidden;
}

/* ── Topbar ──────────────────────────────────────────────────────── */

.topbar {
	position: sticky;
	top: 0;
	z-index: 40;
	display: flex;
	align-items: center;
	gap: 16px;
	border-bottom: 1px solid var(--border);
	background: var(--bg-header);
	padding: 0 20px 0 0;
	height: var(--app-header-height, 32px);
	flex-shrink: 0;
}

.topbar-engine-selector {
	width: min(520px, 48vw);
	min-width: 280px;
}

/* ── Workspace grid ──────────────────────────────────────────────── */

.workspace {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: minmax(0, 1fr) auto;
	grid-template-areas:
		"room"
		"log";
	gap: 1px;
	flex: 1;
	min-height: 0;
	overflow: hidden;
	background: var(--border);
}

/* ── Panels ──────────────────────────────────────────────────────── */

.panel {
	background: var(--bg-panel);
	padding: 16px;
	overflow: hidden;
}

.panel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
}

.panel-head h2 {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-dim);
}

.panel-head-meta {
	font-size: 11px;
	color: var(--text-faint);
}

.room-panel {
	grid-area: room;
	display: flex;
	flex-direction: column;
	gap: 14px;
	overflow-y: auto;
	min-width: 0;
}
.log-panel {
	grid-area: log;
	position: sticky;
	bottom: 0;
	z-index: 30;
	padding: 0;
	max-height: 200px;
	display: flex;
	flex-direction: column;
	min-height: 34px;
}

.log-panel .panel-head {
	padding: 0 16px;
	margin-bottom: 0;
	border-bottom: 1px solid var(--border);
}

.log-lines {
	flex: 1;
	overflow-y: auto;
	padding: 6px 16px 10px;
	font-family: ui-monospace, monospace;
	font-size: 11px;
	color: var(--text-dim);
	line-height: 1.6;
}

.log-lines > div + div {
	border-top: 1px solid var(--border);
	padding-top: 2px;
	margin-top: 2px;
}

/* ── Room panel ──────────────────────────────────────────────────── */

.bragi-engine-selector {
	width: min(520px, 100%);
}

/* Actions toolbar — two rows: primary + secondary */
.actions-primary {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

.actions-secondary {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	padding-top: 8px;
	border-top: 1px solid var(--border);
}

.director-strip {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 6px;
}

.director-strip__item {
	min-width: 0;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	background: var(--bg-deep);
	padding: 7px 8px;
}

.director-strip__item span {
	display: block;
	color: var(--text-faint);
	font-size: 10px;
	text-transform: uppercase;
}

.director-strip__item strong {
	display: block;
	overflow: hidden;
	color: var(--text-main);
	font-size: 12px;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Transcript */
.room-signal-panels {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	min-width: 0;
}

.transcript-panel {
	display: flex;
	flex-direction: column;
	gap: 8px;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	background: var(--bg-deep);
	padding: 10px;
	min-width: 0;
}

.transcript-panel--voice {
	border-color: color-mix(in srgb, var(--accent) 42%, var(--border));
}

.transcript-panel--test,
.transcript-panel--bus {
	border-color: color-mix(in srgb, #f59e0b 42%, var(--border));
}

.transcript-panel--agent {
	border-color: color-mix(in srgb, var(--accent) 28%, var(--border));
}

.transcript-panel--error {
	border-color: color-mix(in srgb, #f87171 62%, var(--border));
}

.transcript-panel__head,
.transcript-panel__meta,
.transcript-line {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-width: 0;
}

.transcript-panel__title,
.transcript-panel__state {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
	color: var(--text-dim);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.transcript-panel__head-actions {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}

.transcript-panel__settings {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--bg-panel);
	color: var(--text-dim);
	cursor: pointer;
}

.transcript-panel__settings:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.transcript-panel__state {
	flex-shrink: 0;
	color: var(--text-faint);
}

.transcript-panel--voice .transcript-panel__state {
	color: var(--accent);
}

.transcript-panel--test .transcript-panel__state,
.transcript-panel--bus .transcript-panel__state {
	color: #f59e0b;
}

.transcript-panel--agent .transcript-panel__state {
	color: var(--accent);
}

.transcript-panel--error .transcript-panel__state {
	color: #f87171;
}

.transcript-panel__last {
	overflow: hidden;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--bg-panel);
	padding: 7px 8px;
	color: var(--text-main);
	cursor: default;
	font-size: 12px;
	line-height: 1.4;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.transcript-panel__hint {
	overflow: hidden;
	color: var(--text-faint);
	font-size: 10px;
	line-height: 1.35;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.transcript-panel__agent {
	display: grid;
	grid-template-columns: minmax(64px, 0.45fr) minmax(92px, 0.55fr) minmax(0, 1fr);
	align-items: center;
	gap: 6px;
	min-width: 0;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: color-mix(in srgb, var(--bg-panel) 74%, var(--bg-deep));
	padding: 5px 7px;
	font-size: 10px;
}

.transcript-panel__agent span,
.transcript-panel__agent strong,
.transcript-panel__agent em {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.transcript-panel__agent span {
	color: var(--text-faint);
}

.transcript-panel__agent strong {
	color: var(--accent);
	font-weight: 600;
}

.transcript-panel__agent em {
	color: var(--text-dim);
	font-style: normal;
	text-align: right;
}

.transcript-panel__meta {
	color: var(--text-faint);
	font-size: 10px;
}

.transcript-panel__lines {
	display: flex;
	flex-direction: column;
	gap: 4px;
	max-height: 112px;
	overflow: hidden;
}

.transcript-line {
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: color-mix(in srgb, var(--bg-panel) 72%, var(--bg-deep));
	padding: 5px 7px;
}

.transcript-line__speaker {
	flex: 0 0 90px;
	overflow: hidden;
	color: var(--text-faint);
	font-size: 10px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.transcript-line__text {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	color: var(--text-dim);
	font-size: 11px;
	text-align: right;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bragi-runtime-dialog {
	width: min(680px, calc(100vw - 32px));
	max-width: min(680px, calc(100vw - 32px));
	max-height: min(760px, calc(100dvh - 32px));
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-gutter: stable;
}

.bragi-runtime-simple {
	display: grid;
	gap: 8px;
	margin-top: 12px;
}

.bragi-runtime-source {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	margin-top: 10px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--bg-deep);
	padding: 8px;
	min-width: 0;
}

.bragi-runtime-source > div {
	display: grid;
	gap: 2px;
	min-width: 0;
	padding-left: 16px;
	position: relative;
}

.bragi-runtime-source > div::before {
	content: "";
	position: absolute;
	top: 5px;
	left: 0;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--text-dim);
}

.bragi-runtime-source span,
.bragi-runtime-source strong,
.bragi-runtime-source em {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bragi-runtime-source span {
	color: var(--text-dim);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.bragi-runtime-source strong {
	color: var(--text-main);
	font-size: 13px;
	font-weight: 800;
}

.bragi-runtime-source em {
	color: var(--text-faint);
	font-size: 10px;
	font-style: normal;
}

.bragi-runtime-source b {
	border: 1px solid var(--border);
	border-radius: 3px;
	background: var(--bg-panel);
	color: var(--text-dim);
	padding: 2px 6px;
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
}

.bragi-runtime-source--installed {
	border-color: color-mix(in srgb, var(--ok) 36%, var(--border));
}

.bragi-runtime-source--installed > div::before {
	background: var(--ok);
	box-shadow: 0 0 8px color-mix(in srgb, var(--ok) 60%, transparent);
}

.bragi-runtime-source--workspace {
	border-color: color-mix(in srgb, var(--accent) 42%, var(--border));
}

.bragi-runtime-source--workspace > div::before {
	background: var(--accent);
	box-shadow: 0 0 8px color-mix(in srgb, var(--accent) 55%, transparent);
}

.bragi-runtime-source--offline > div::before {
	background: var(--warn);
}

.bragi-runtime-download {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.bragi-runtime-summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 8px;
	min-width: 0;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--bg-deep);
	padding: 8px;
}

.bragi-runtime-summary--ready {
	border-color: color-mix(in srgb, var(--ok) 36%, var(--border));
}

.bragi-runtime-summary > div {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.bragi-runtime-summary span,
.bragi-runtime-summary strong,
.bragi-runtime-summary em {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bragi-runtime-summary span {
	color: var(--text-dim);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.bragi-runtime-summary strong {
	color: var(--text-main);
	font-size: 13px;
	font-weight: 700;
}

.bragi-runtime-summary em {
	color: var(--text-faint);
	font-size: 10px;
	font-style: normal;
}

.bragi-runtime-primary-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 6px;
}

.bragi-runtime-dialog__body {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin-top: 12px;
}

.bragi-runtime-dialog__body--collapsed {
	display: none;
}

.bragi-runtime-status {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin-top: 10px;
}

.bragi-runtime-process {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 8px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--bg-deep);
	padding: 6px 8px;
	min-width: 0;
}

.bragi-runtime-process::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--text-dim);
	grid-column: 1;
	grid-row: 1;
}

.bragi-runtime-process span {
	padding-left: 14px;
	overflow: hidden;
	color: var(--text-dim);
	font-size: 11px;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
	grid-column: 1;
	grid-row: 1;
}

.bragi-runtime-process strong {
	color: var(--text);
	font-size: 11px;
	font-weight: 700;
	grid-column: 2;
	grid-row: 1;
}

.bragi-runtime-process--run::before {
	background: var(--ok);
	box-shadow: 0 0 8px color-mix(in srgb, var(--ok) 60%, transparent);
}

.bragi-runtime-process--stopped::before {
	background: var(--warn);
}

.bragi-runtime-field {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.bragi-runtime-field--wide {
	grid-column: 1 / -1;
}

.bragi-runtime-field span,
.bragi-runtime-toggle span,
.bragi-runtime-dialog__actions span {
	overflow: hidden;
	color: var(--text-dim);
	font-size: 11px;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bragi-runtime-toggle {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 8px;
	min-width: 0;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--bg-deep);
	padding: 5px 7px;
}

.bragi-runtime-stt-status {
	display: grid;
	grid-template-columns: minmax(0, 1fr) repeat(6, auto);
	grid-column: 1 / -1;
	align-items: center;
	gap: 6px 8px;
	min-width: 0;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--bg-deep);
	padding: 6px 8px;
}

.bragi-runtime-stt-status span {
	overflow: hidden;
	color: var(--text-dim);
	font-size: 11px;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bragi-runtime-stt-status strong {
	grid-column: 2 / -1;
	color: var(--text);
	font-size: 11px;
	font-weight: 700;
	text-align: right;
}

.bragi-runtime-stt-status em {
	grid-column: 1 / -1;
	grid-row: 2;
	overflow: hidden;
	color: var(--text-faint);
	font-size: 10px;
	font-style: normal;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bragi-runtime-stt-status .vrt-button {
	grid-row: 3;
	justify-self: end;
}

.bragi-runtime-file-input {
	display: none;
}

.bragi-runtime-dialog__body .num-input-field {
	min-width: 0;
	width: 100%;
}

.bragi-runtime-dialog__body .num-input-label {
	width: 60px;
	overflow: hidden;
	color: var(--text-dim);
	font-size: 11px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bragi-runtime-dialog__actions {
	position: sticky;
	bottom: -1px;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1fr) repeat(2, auto);
	align-items: center;
	gap: 8px;
	margin-top: 12px;
	padding-top: 10px;
	border-top: 1px solid var(--border);
	background: var(--bg-panel);
}

.bragi-runtime-rehearsal {
	display: grid;
	gap: 4px;
	margin-top: 10px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--bg-deep);
	padding: 6px;
}

.bragi-runtime-check {
	display: grid;
	grid-template-columns: minmax(120px, 0.8fr) auto minmax(0, 1.4fr);
	align-items: center;
	gap: 8px;
	min-width: 0;
	color: var(--text-dim);
	font-size: 11px;
}

.bragi-runtime-check span,
.bragi-runtime-check em {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bragi-runtime-check strong {
	border-radius: 3px;
	padding: 1px 5px;
	background: color-mix(in srgb, var(--ok) 18%, transparent);
	color: var(--ok);
	font-size: 10px;
	font-style: normal;
	font-weight: 800;
}

.bragi-runtime-check--fail strong {
	background: color-mix(in srgb, var(--danger) 18%, transparent);
	color: var(--danger);
}

.bragi-runtime-log {
	display: grid;
	gap: 2px;
	max-height: 130px;
	overflow: auto;
	margin-top: 10px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--bg-deep);
	padding: 6px;
	color: var(--text-dim);
	font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
	font-size: 10px;
	line-height: 1.35;
}

.bragi-runtime-log div {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Remote room commands */
.remote-command-panel {
	display: flex;
	flex-direction: column;
	gap: 8px;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	background: var(--bg-deep);
	padding: 10px;
	min-width: 0;
}

.remote-command-panel--run {
	border-color: color-mix(in srgb, #f59e0b 58%, var(--border));
}

.remote-command-panel--tyr {
	border-color: color-mix(in srgb, var(--accent) 24%, var(--border));
}

.remote-command-panel--error {
	border-color: color-mix(in srgb, #f87171 62%, var(--border));
}

.remote-command-panel__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	color: var(--text-faint);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.remote-command-panel__title {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
	color: var(--text-dim);
	font-size: 11px;
	letter-spacing: 0;
	text-transform: none;
}

.remote-command-panel__body {
	display: grid;
	gap: 4px;
	min-width: 0;
	color: var(--text-faint);
	font-size: 11px;
}

.remote-command-panel__body span,
.remote-command-panel__body strong {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.remote-command-panel__body strong {
	color: var(--text-main);
	font-size: 12px;
}

/* Meet room */
.meet-room {
	display: flex;
	flex: 1;
	min-height: 180px;
	flex-direction: column;
	gap: 8px;
}

.operator-meet {
	flex: 0 0 auto;
	min-height: min(58vh, 620px);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	background: color-mix(in srgb, var(--bg-deep) 76%, var(--bg-panel));
	padding: 10px;
}

.meet-room__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.meet-room__title {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 2px;
}

.meet-room__title h3 {
	color: var(--text-main);
	font-size: 12px;
	font-weight: 600;
}

.meet-room__title span {
	overflow: hidden;
	color: var(--text-dim);
	font-size: 11px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.meet-room__controls {
	display: flex;
	flex-shrink: 0;
	gap: 6px;
}

.meet-toolbar {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	flex-wrap: wrap;
}

.meet-room__status {
	overflow: hidden;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	background: var(--bg-deep);
	padding: 6px 8px;
	color: var(--text-muted);
	font-size: 12px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.participant-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 8px;
	min-height: 100px;
	flex: 1;
	align-content: start;
}

.guest-meet .participant-grid {
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.empty {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 80px;
	border: 1px dashed var(--border);
	border-radius: var(--radius-md);
	color: var(--text-faint);
	font-size: 12px;
}

/* ── Slot roster ─────────────────────────────────────────────────── */

.slot-roster {
	display: flex;
	flex-direction: column;
	gap: 10px;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	background: var(--bg-deep);
	padding: 10px;
}

.slot-roster__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.slot-roster__head h3 {
	color: var(--text-main);
	font-size: 12px;
	font-weight: 600;
}

.slot-roster__head span {
	color: var(--text-dim);
	font-size: 11px;
}

.slot-roster__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
	gap: 8px;
}

.slot-card {
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	background: var(--bg-panel);
	padding: 10px;
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	gap: 9px;
	min-width: 0;
}

.slot-card__index {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--bg-dark);
	color: var(--accent);
	font-size: 12px;
	font-weight: 700;
}

.slot-card__main {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 8px;
}

.slot-card__fields {
	display: grid;
	grid-template-columns: minmax(92px, 1fr) minmax(120px, 1.4fr) 86px;
	gap: 8px;
}

.guest-fields {
	display: grid;
	grid-template-columns: 1fr 1fr 80px;
	gap: 8px;
}

.slot-card__footer {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
	min-width: 0;
}

.slot-card__status {
	display: flex;
	flex: 1;
	min-width: 0;
	flex-direction: column;
	gap: 5px;
}

.guest-field-label {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 11px;
	color: var(--text-dim);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.guest-footer {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.guest-info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.guest-badges {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

.guest-link {
	overflow: hidden;
	color: var(--accent);
	font-family: ui-monospace, monospace;
	font-size: 10px;
	text-overflow: ellipsis;
	white-space: nowrap;
	opacity: 0.6;
}

.guest-actions {
	display: flex;
	gap: 6px;
	flex-shrink: 0;
}

.slot-card__actions {
	display: flex;
	gap: 6px;
	flex-shrink: 0;
	flex-wrap: wrap;
	justify-content: flex-end;
}

/* ── Participant tile ────────────────────────────────────────────── */

.participant-tile {
	display: flex;
	min-width: 0;
	min-height: 0;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	background: var(--bg-deep);
}

.participant-tile--local {
	border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
}

.participant-tile--speaking {
	border-color: var(--accent);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent);
}

.participant-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 6px 9px;
	color: var(--text-dim);
	font-size: 11px;
	border-bottom: 1px solid var(--border);
}

.participant-title span {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.participant-flags {
	display: flex;
	flex-shrink: 0;
	gap: 4px;
}

.participant-flags small {
	border-radius: 999px;
	background: var(--bg-elevated);
	padding: 1px 5px;
	color: var(--text-faint);
	font-size: 9px;
	text-transform: uppercase;
}

.participant-video {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: var(--bg-dark);
	min-height: 180px;
}

.participant-video video {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--bg-dark);
	object-fit: cover;
}

.participant-empty-video {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	color: var(--text-faint);
	font-size: 11px;
}

.participant-audio {
	display: none;
}

.participant-meta {
	display: flex;
	gap: 5px;
	border-top: 1px solid var(--border);
	padding: 5px 7px;
	color: var(--text-faint);
	font-size: 10px;
	text-transform: uppercase;
}

.participant-actions {
	border-top: 1px solid var(--border);
	padding: 7px;
	background: color-mix(in srgb, var(--bg-panel) 72%, transparent);
}

.slot-actions {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.slot-actions__row {
	display: grid;
	grid-template-columns: minmax(110px, 1fr) auto auto;
	gap: 5px;
	align-items: center;
}

.slot-actions__meta {
	overflow: hidden;
	color: var(--text-faint);
	font-size: 10px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* ── Guest shell (join page) ─────────────────────────────────────── */

.guest-shell {
	display: grid;
	min-height: 100vh;
	place-items: center;
	padding: 20px;
	background: var(--bg-dark);
}

.guest-join {
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: min(960px, 100%);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--bg-panel);
	padding: 24px;
}

.guest-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--text-main);
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
}

.guest-join h1 {
	font-size: 18px;
	font-weight: 600;
}

.guest-join p {
	margin: 0;
	color: var(--text-muted);
	font-size: 13px;
}

.guest-join-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 11px;
	color: var(--text-dim);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.guest-join .meet-room {
	margin-top: 8px;
}

/* ── Responsive ──────────────────────────────────────────────────── */

@media (max-width: 860px) {
	.topbar {
		gap: 8px;
		padding-right: 8px;
	}

	.topbar-engine-selector {
		width: min(100%, 360px);
		min-width: 0;
	}

	.workspace {
		grid-template-columns: 1fr;
		grid-template-areas:
			"room"
			"log";
	}

	.slot-card__fields,
	.room-signal-panels,
	.guest-fields {
		grid-template-columns: 1fr;
	}

	.slot-actions__row {
		grid-template-columns: 1fr;
	}

	.meet-toolbar,
	.slot-card__actions {
		justify-content: flex-start;
	}

	.slot-card {
		grid-template-columns: 1fr;
	}

	.participant-grid,
	.slot-roster__grid {
		grid-template-columns: 1fr;
	}
}
