#varApp {
	--vr-ink: #0f172a;
	--vr-line: #e2e8f0;
	--vr-primary: #3b82f6;
	--vr-primary-hover: #2563eb;
	--vr-soft: #eff6ff;
	--vr-mid: #dbeafe;
	--vr-radius: 0.375rem;
	--vr-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
}

#varApp .vr-shell {
	background:
		radial-gradient(1200px 420px at 10% -10%, rgba(59, 130, 246, 0.16), transparent 55%),
		radial-gradient(900px 360px at 100% 0%, rgba(37, 99, 235, 0.08), transparent 50%);
	border: 1px solid var(--vr-line);
	border-radius: var(--vr-radius);
	box-shadow: var(--vr-shadow);
	overflow: hidden;
	height: 100%;
}

#varApp .vr-panel {
	background: rgba(255, 255, 255, 0.92);
	height: 100%;
}

#varApp .vr-label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	color: #334155;
	margin-bottom: 0.375rem;
}

#varApp .vr-hint {
	font-size: 0.8125rem;
	line-height: 1.5;
	color: #475569;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: var(--vr-radius);
	padding: 0.65rem 0.85rem;
}

#varApp .vr-input {
	font-variant-numeric: tabular-nums;
	resize: vertical;
	min-height: 7.5rem;
}

#varApp .vr-input::placeholder {
	font-size: 0.875rem;
	font-weight: 400;
	color: #94a3b8;
}

#varApp .vr-input:focus {
	border-color: #3b82f6 !important;
	box-shadow: 0 0 0 1px #3b82f6;
}

#varApp .vr-mode {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.5rem;
	padding: 0.35rem;
	border-radius: 999px;
	background: var(--vr-soft);
	border: 1px solid var(--vr-mid);
}

#varApp .vr-mode-btn {
	min-height: 2.5rem;
	padding: 0.35rem 0.5rem;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: #475569;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.25;
	cursor: pointer;
	transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}

#varApp .vr-mode-btn:hover {
	background: rgba(255, 255, 255, 0.7);
}

#varApp .vr-mode-btn.is-active {
	background: #fff;
	color: var(--vr-primary-hover);
	box-shadow: 0 1px 3px rgba(37, 99, 235, 0.18);
}

#varApp .vr-mode-btn:focus-visible {
	outline: 2px solid #3b82f6;
	outline-offset: 2px;
}

#varApp .vr-submit {
	height: 3rem;
	padding: 0 1.5rem;
	border: 0;
	border-radius: 0.5rem;
	background: var(--vr-primary);
	color: #fff;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 1px 2px rgba(37, 99, 235, 0.25);
	transition: background-color 200ms ease;
}

#varApp .vr-submit:hover {
	background: var(--vr-primary-hover);
}

#varApp .vr-submit:focus-visible {
	outline: 2px solid #1d4ed8;
	outline-offset: 2px;
}

#varApp .vr-clear {
	height: 3rem;
	padding: 0 1.5rem;
	border: 1px solid #d1d5db;
	border-radius: 0.5rem;
	background: #fff;
	color: #374151;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 200ms ease, border-color 200ms ease;
}

#varApp .vr-clear:hover {
	background: #f9fafb;
	border-color: #9ca3af;
}

#varApp .vr-clear:focus-visible {
	outline: 2px solid #9ca3af;
	outline-offset: 2px;
}

#varApp .vr-empty {
	border: 1px dashed #e5e7eb;
	background: #f9fafb;
	border-radius: var(--vr-radius);
	color: #9ca3af;
}

#varApp .vr-highlight {
	border: 1px solid #bfdbfe;
	border-radius: var(--vr-radius);
	background: var(--vr-soft);
	padding: 1.1rem 1.15rem;
	margin-bottom: 0.75rem;
}

#varApp .vr-highlight-label {
	font-size: 0.8125rem;
	font-weight: 600;
	color: #475569;
}

#varApp .vr-highlight-value {
	margin-top: 0.4rem;
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.15;
	color: var(--vr-primary-hover);
	font-variant-numeric: tabular-nums;
	word-break: break-all;
}

#varApp .vr-metrics {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
}

#varApp .vr-metric {
	border: 1px solid #e2e8f0;
	border-radius: var(--vr-radius);
	background: #fff;
	padding: 1rem 1.1rem;
}

#varApp .vr-metric-label {
	font-size: 0.8125rem;
	font-weight: 600;
	color: #475569;
}

#varApp .vr-metric-value {
	margin-top: 0.4rem;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--vr-ink);
	font-variant-numeric: tabular-nums;
	word-break: break-all;
}

#varApp .vr-note {
	margin-top: 0.85rem;
	font-size: 0.75rem;
	line-height: 1.5;
	color: #64748b;
}

#varApp .vr-notes {
	background: #fff;
	border: 1px solid var(--vr-line);
	border-radius: var(--vr-radius);
	box-shadow: var(--vr-shadow);
}

#varApp .vr-notes h2 {
	font-size: 1.25rem;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 0.75rem;
}

#varApp .vr-notes h3 {
	font-size: 1rem;
	font-weight: 600;
	color: #0f172a;
	margin-bottom: 0.75rem;
}

#varApp .vr-notes p,
#varApp .vr-notes li {
	font-size: 0.875rem;
	line-height: 1.7;
	color: #475569;
}

#varApp .vr-notes ol,
#varApp .vr-notes ul {
	margin-bottom: 2rem;
}

#varApp .vr-notes p {
	margin-bottom: 2rem;
}

#varApp .vr-notes p:last-child {
	margin-bottom: 0;
}

#varApp .vr-notes strong {
	color: #334155;
	font-weight: 600;
}

@media (min-width: 640px) {
	#varApp .vr-metrics {
		grid-template-columns: 1fr 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	#varApp .vr-mode-btn,
	#varApp .vr-submit,
	#varApp .vr-clear {
		transition: none;
	}
}
