/* ==========================================================================
   Usage Directions: Layered Entry Stack
   ========================================================================== */
.xht-entry-stack {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 1120px;
	min-height: 430px;
	margin: 0 auto;
	padding: 10px 0 4px;
	color: #0f172a;
}

.xht-entry-stack::before {
	content: "";
	position: absolute;
	inset: 20px 8px;
	z-index: 0;
	border-radius: 28px;
	background-image: radial-gradient(
		rgba(148, 163, 184, 0.3) 0.8px,
		transparent 0.8px
	);
	background-size: 30px 30px;
	mask-image: linear-gradient(
		135deg,
		rgba(0, 0, 0, 0.72),
		rgba(0, 0, 0, 0.08) 72%
	);
	-webkit-mask-image: linear-gradient(
		135deg,
		rgba(0, 0, 0, 0.72),
		rgba(0, 0, 0, 0.08) 72%
	);
	opacity: 0.52;
	pointer-events: none;
}

.xht-entry-panel {
	position: relative;
	z-index: 1;
	min-width: 0;
	overflow: hidden;
	border-radius: 28px;
	transition:
		border-color 260ms ease,
		box-shadow 260ms ease,
		transform 260ms ease;
}

.xht-entry-panel::before,
.xht-entry-panel::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.xht-entry-panel--manual {
	flex: 0 1 585px;
	border: 1px solid rgba(219, 234, 254, 0.9);
	background: linear-gradient(
			135deg,
			rgba(219, 234, 254, 0.92),
			rgba(255, 255, 255, 0.98) 42%,
			rgba(237, 233, 254, 0.88)
		),
		#fff;
	padding: 44px 142px 44px 42px;
	box-shadow:
		0 16px 42px rgba(15, 23, 42, 0.06),
		inset -80px 0 90px rgba(199, 210, 254, 0.2);
	transform-origin: center left;
}

.xht-entry-panel--manual::before {
	background: linear-gradient(
			135deg,
			rgba(37, 99, 235, 0.14),
			transparent 43%
		),
		linear-gradient(315deg, rgba(124, 58, 237, 0.14), transparent 52%),
		linear-gradient(90deg, transparent 52%, rgba(165, 180, 252, 0.34) 100%);
	opacity: 0.95;
}

.xht-entry-panel--manual::after {
	top: 0;
	right: 0;
	bottom: auto;
	left: auto;
	width: 42%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(238, 242, 255, 0.62) 46%,
		rgba(196, 181, 253, 0.42)
	);
}

.xht-entry-panel--manual:hover {
	transform: translateY(-1px);
}

.xht-entry-panel--auto {
	z-index: 2;
	flex: 0 1 620px;
	margin-left: -124px;
	border: 1px solid rgba(100, 116, 139, 0.5);
	background: linear-gradient(
			135deg,
			rgba(15, 23, 42, 0.98),
			rgba(11, 17, 32, 0.98) 48%,
			rgba(24, 19, 45, 0.98)
		),
		#0b1120;
	padding: 38px 44px;
	color: #f8fafc;
	box-shadow:
		-38px 0 66px -22px rgba(15, 23, 42, 0.58),
		0 24px 58px rgba(15, 23, 42, 0.18),
		inset 18px 0 28px rgba(2, 6, 23, 0.42),
		inset 1px 0 0 rgba(226, 232, 240, 0.12);
	transform-origin: center right;
}

.xht-entry-panel--auto::before {
	background: linear-gradient(
			135deg,
			rgba(168, 85, 247, 0.3),
			transparent 42%
		),
		linear-gradient(225deg, rgba(37, 99, 235, 0.18), transparent 56%);
	opacity: 0.96;
}

.xht-entry-panel--auto::after {
	background-image: linear-gradient(
			rgba(255, 255, 255, 0.045) 1px,
			transparent 1px
		),
		linear-gradient(90deg, rgba(255, 255, 255, 0.038) 1px, transparent 1px);
	background-size: 38px 38px;
	mask-image: linear-gradient(
		135deg,
		rgba(0, 0, 0, 0.42),
		rgba(0, 0, 0, 0.08) 68%
	);
	-webkit-mask-image: linear-gradient(
		135deg,
		rgba(0, 0, 0, 0.42),
		rgba(0, 0, 0, 0.08) 68%
	);
	opacity: 0.8;
}

.xht-entry-panel--auto:hover,
.xht-entry-panel--auto:focus-within {
	border-color: rgba(148, 163, 184, 0.68);
	box-shadow:
		-42px 0 74px -20px rgba(15, 23, 42, 0.62),
		0 28px 70px rgba(15, 23, 42, 0.2),
		inset 20px 0 30px rgba(2, 6, 23, 0.48),
		inset 1px 0 0 rgba(226, 232, 240, 0.16);
	transform: translate3d(0, -2px, 0) scale(1.004);
}

.xht-entry-panel__topline,
.xht-entry-panel__header,
.xht-entry-panel h3,
.xht-entry-panel p,
.xht-entry-panel__list {
	position: relative;
	z-index: 2;
}

.xht-entry-panel__topline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 22px;
}

.xht-entry-panel__header {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 22px;
}

.xht-entry-panel__topline .xht-entry-panel__header {
	margin-bottom: 0;
}

.xht-entry-panel__icon {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 34px;
	height: 34px;
	border: 1px solid rgba(191, 219, 254, 0.62);
	border-radius: 999px;
	background: rgba(219, 234, 254, 0.58);
	color: #2563eb;
	box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
}

.xht-entry-panel--auto .xht-entry-panel__icon {
	width: 40px;
	height: 40px;
	border-color: rgba(168, 85, 247, 0.34);
	background: rgba(168, 85, 247, 0.18);
	color: #c4b5fd;
	box-shadow: 0 0 24px rgba(168, 85, 247, 0.22);
}

.xht-entry-panel__eyebrow {
	color: #2563eb;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1;
	text-transform: uppercase;
}

.xht-entry-panel--auto .xht-entry-panel__eyebrow {
	color: #c4b5fd;
}

.xht-entry-panel__chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 24px;
	border: 1px solid rgba(148, 163, 184, 0.28);
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.68);
	padding: 0 10px;
	color: #cbd5e1;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

.xht-entry-panel__chip::before {
	content: "";
	display: block;
	width: 6px;
	height: 6px;
	border-radius: 999px;
	background: #22c55e;
	box-shadow: 0 0 14px rgba(34, 197, 94, 0.62);
}

.xht-entry-panel h3 {
	margin: 0;
	color: #0f172a;
	font-size: 28px;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.08;
}

.xht-entry-panel--auto h3 {
	color: #fff;
	font-size: 42px;
	font-weight: 900;
	text-shadow: 0 0 28px rgba(168, 85, 247, 0.22);
}

.xht-entry-panel p {
	max-width: 370px;
	margin: 14px 0 0;
	color: #64748b;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.68;
}

.xht-entry-panel--auto p {
	max-width: 490px;
	color: #94a3b8;
	font-size: 14px;
	line-height: 1.72;
}

.xht-entry-panel__list {
	display: grid;
	gap: 18px;
	margin-top: 34px;
}

.xht-entry-panel--auto .xht-entry-panel__list {
	gap: 14px;
	margin-top: 28px;
}

.xht-entry-card {
	--xht-entry-tone: #64748b;
	--xht-entry-soft: rgba(100, 116, 139, 0.1);
	--xht-entry-border: rgba(100, 116, 139, 0.18);
	--xht-entry-glow: rgba(100, 116, 139, 0.18);

	position: relative;
	z-index: 2;
	display: flex;
	align-items: flex-start;
	gap: 14px;
	width: 100%;
	min-width: 0;
	appearance: none;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
	transition:
		background 220ms ease,
		border-color 220ms ease,
		box-shadow 220ms ease,
		color 220ms ease,
		transform 220ms ease;
}

.xht-entry-card:hover,
.xht-entry-card:focus {
	color: inherit;
	text-decoration: none;
}

.xht-entry-card:focus-visible {
	outline: 3px solid rgba(37, 99, 235, 0.22);
	outline-offset: 4px;
}

.xht-entry-panel--auto .xht-entry-card:focus-visible {
	outline-color: rgba(196, 181, 253, 0.42);
}

.xht-entry-card--manual {
	align-items: center;
	max-width: 370px;
	min-height: 54px;
}

.xht-entry-card--auto {
	overflow: hidden;
	min-height: 84px;
	border: 0;
	border-radius: 18px;
	background: rgba(30, 41, 59, 0.5);
	padding: 16px;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.045),
		0 14px 28px rgba(15, 23, 42, 0.1);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.xht-entry-card--auto.is-navigable {
	padding-right: 56px;
}

.xht-entry-card--manual + .xht-entry-card--manual::before {
	content: "";
	position: absolute;
	top: -9px;
	left: 0;
	width: 100%;
	height: 1px;
	background: linear-gradient(
		90deg,
		rgba(15, 23, 42, 0.16),
		rgba(37, 99, 235, 0.1) 42%,
		rgba(124, 58, 237, 0.06) 68%,
		transparent
	);
	opacity: 0.78;
	pointer-events: none;
}

.xht-entry-card--manual:hover,
.xht-entry-card--manual:focus-visible {
	color: var(--xht-entry-tone);
	transform: translateX(2px);
}

.xht-entry-card--auto:hover,
.xht-entry-card--auto:focus-visible {
	background: rgba(30, 41, 59, 0.76);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.075),
		0 18px 34px rgba(15, 23, 42, 0.18);
	transform: translateX(2px);
}

.xht-entry-card--auto.is-navigable:hover,
.xht-entry-card--auto.is-navigable:focus-visible {
	background: rgba(30, 41, 59, 0.84);
}

.xht-entry-card__icon {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(226, 232, 240, 0.82);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.78);
	color: #94a3b8;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.055);
	transition:
		background 220ms ease,
		border-color 220ms ease,
		box-shadow 220ms ease,
		color 220ms ease,
		transform 220ms ease;
}

.xht-entry-card--manual:hover .xht-entry-card__icon,
.xht-entry-card--manual:focus-visible .xht-entry-card__icon {
	border-color: var(--xht-entry-border);
	background: var(--xht-entry-soft);
	color: var(--xht-entry-tone);
	box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.xht-entry-card--auto .xht-entry-card__icon {
	width: 48px;
	height: 48px;
	border-color: rgba(71, 85, 105, 0.68);
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.78);
	color: var(--xht-entry-tone);
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.28);
}

.xht-entry-card--auto:hover .xht-entry-card__icon,
.xht-entry-card--auto:focus-visible .xht-entry-card__icon {
	border-color: var(--xht-entry-border);
	background: var(--xht-entry-soft);
	box-shadow: 0 0 28px var(--xht-entry-glow);
	transform: scale(1.04);
}

.xht-entry-card__body {
	position: relative;
	z-index: 1;
	display: grid;
	min-width: 0;
	gap: 5px;
}

.xht-entry-card__body strong {
	color: #334155;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.24;
	transition: color 220ms ease;
}

.xht-entry-card--manual:hover .xht-entry-card__body strong,
.xht-entry-card--manual:focus-visible .xht-entry-card__body strong {
	color: var(--xht-entry-tone);
}

.xht-entry-card__body span {
	color: #64748b;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.52;
}

.xht-entry-card--auto .xht-entry-card__body {
	gap: 7px;
	padding-top: 1px;
}

.xht-entry-card--auto .xht-entry-card__body strong {
	color: #f8fafc;
	font-size: 17px;
	text-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
}

.xht-entry-card--auto:hover .xht-entry-card__body strong,
.xht-entry-card--auto:focus-visible .xht-entry-card__body strong {
	color: var(--xht-entry-tone);
}

.xht-entry-card--auto .xht-entry-card__body span {
	color: #94a3b8;
	font-size: 13px;
	line-height: 1.58;
}

.xht-entry-card--auto .xht-entry-card__action-cue {
	position: absolute;
	top: 50%;
	right: 20px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 18px;
	height: 18px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: rgba(226, 232, 240, 0.55);
	opacity: 0.7;
	transform: translate(-3px, -50%);
	transition:
		color 220ms ease,
		opacity 220ms ease,
		transform 220ms ease;
}

.xht-entry-card--auto.is-navigable:hover .xht-entry-card__action-cue,
.xht-entry-card--auto.is-navigable:focus-visible .xht-entry-card__action-cue {
	color: var(--xht-entry-tone);
	opacity: 1;
	transform: translate(0, -50%);
}

@media (prefers-reduced-motion: reduce) {
	.xht-entry-card--auto .xht-entry-card__action-cue,
	.xht-entry-card--auto.is-navigable:hover .xht-entry-card__action-cue,
	.xht-entry-card--auto.is-navigable:focus-visible
		.xht-entry-card__action-cue {
		transition: none;
		transform: translate(0, -50%);
	}
}

.xht-entry-card--manual .xht-entry-card__action-cue--hint {
	position: absolute;
	top: 50%;
	right: 16px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 18px;
	height: 18px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #94a3b8;
	opacity: 0;
	transform: translate(-2px, -50%);
	transition:
		color 220ms ease,
		opacity 220ms ease,
		transform 220ms ease;
	pointer-events: none;
}

.xht-entry-card--manual:hover .xht-entry-card__action-cue--hint,
.xht-entry-card--manual:focus-visible .xht-entry-card__action-cue--hint {
	color: var(--xht-entry-tone);
	opacity: 1;
	transform: translate(0, -50%);
}

@media (prefers-reduced-motion: reduce) {
	.xht-entry-card--manual .xht-entry-card__action-cue--hint,
	.xht-entry-card--manual:hover .xht-entry-card__action-cue--hint,
	.xht-entry-card--manual:focus-visible .xht-entry-card__action-cue--hint {
		transition: none;
		transform: translate(0, -50%);
	}
}

.xht-entry-card--blue {
	--xht-entry-tone: #2563eb;
	--xht-entry-soft: rgba(219, 234, 254, 0.86);
	--xht-entry-border: rgba(147, 197, 253, 0.68);
	--xht-entry-glow: rgba(37, 99, 235, 0.18);
}

.xht-entry-card--teal {
	--xht-entry-tone: #0f766e;
	--xht-entry-soft: rgba(204, 251, 241, 0.82);
	--xht-entry-border: rgba(94, 234, 212, 0.58);
	--xht-entry-glow: rgba(20, 184, 166, 0.2);
}

.xht-entry-card--indigo {
	--xht-entry-tone: #4f46e5;
	--xht-entry-soft: rgba(224, 231, 255, 0.86);
	--xht-entry-border: rgba(165, 180, 252, 0.64);
	--xht-entry-glow: rgba(79, 70, 229, 0.2);
}

.xht-entry-card--purple {
	--xht-entry-tone: #c4b5fd;
	--xht-entry-soft: rgba(124, 58, 237, 0.18);
	--xht-entry-border: rgba(196, 181, 253, 0.36);
	--xht-entry-glow: rgba(168, 85, 247, 0.24);
}

.xht-entry-card--pink {
	--xht-entry-tone: #f9a8d4;
	--xht-entry-soft: rgba(236, 72, 153, 0.16);
	--xht-entry-border: rgba(249, 168, 212, 0.32);
	--xht-entry-glow: rgba(236, 72, 153, 0.22);
}

.xht-entry-card--amber {
	--xht-entry-tone: #fbbf24;
	--xht-entry-soft: rgba(245, 158, 11, 0.16);
	--xht-entry-border: rgba(251, 191, 36, 0.34);
	--xht-entry-glow: rgba(245, 158, 11, 0.22);
}

@media (prefers-reduced-motion: reduce) {
	.xht-entry-panel,
	.xht-entry-card,
	.xht-entry-card__icon {
		transition: none;
	}

	.xht-entry-panel:hover,
	.xht-entry-panel:focus-within,
	.xht-entry-card:hover,
	.xht-entry-card:focus-visible,
	.xht-entry-card--auto:hover .xht-entry-card__icon,
	.xht-entry-card--auto:focus-visible .xht-entry-card__icon {
		transform: none;
	}
}

@media (max-width: 1120px) {
	.xht-entry-panel--manual {
		padding-right: 112px;
	}

	.xht-entry-panel--auto {
		margin-left: -92px;
	}
}

@media (max-width: 960px) {
	.xht-entry-stack {
		align-items: stretch;
		flex-direction: column;
		gap: 16px;
		min-height: 0;
		padding-top: 0;
	}

	.xht-entry-stack::before {
		inset: 10px;
	}

	.xht-entry-panel {
		flex: none;
		width: 100%;
	}

	.xht-entry-panel--manual {
		padding: 30px;
	}

	.xht-entry-panel--auto {
		margin-left: 0;
		padding: 30px;
	}

	.xht-entry-panel h3 {
		font-size: 26px;
	}

	.xht-entry-panel--auto h3 {
		font-size: 34px;
	}

	.xht-entry-card--manual,
	.xht-entry-panel p {
		max-width: none;
	}
}

@media (max-width: 782px) {
	.xht-entry-panel {
		border-radius: 22px;
	}

	.xht-entry-panel--manual,
	.xht-entry-panel--auto {
		padding: 24px;
	}

	.xht-entry-panel__topline {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
		margin-bottom: 20px;
	}

	.xht-entry-panel__list,
	.xht-entry-panel--auto .xht-entry-panel__list {
		gap: 14px;
		margin-top: 24px;
	}

	.xht-entry-card--auto {
		border-radius: 16px;
		padding: 14px;
	}
}

@media (max-width: 480px) {
	.xht-entry-stack {
		gap: 14px;
	}

	.xht-entry-panel--manual,
	.xht-entry-panel--auto {
		padding: 20px;
	}

	.xht-entry-panel h3 {
		font-size: 24px;
	}

	.xht-entry-panel--auto h3 {
		font-size: 30px;
	}

	.xht-entry-panel p,
	.xht-entry-panel--auto p {
		font-size: 13px;
		line-height: 1.62;
	}

	.xht-entry-card {
		gap: 12px;
	}

	.xht-entry-card__icon {
		width: 38px;
		height: 38px;
	}

	.xht-entry-card--auto .xht-entry-card__icon {
		width: 42px;
		height: 42px;
	}

	.xht-entry-card--auto .xht-entry-card__body strong {
		font-size: 16px;
	}
}
