:root {
	--blt-vs-blue: #011f78;
	--blt-vs-coral: #ff8a94;
	--blt-vs-yellow: #ffe073;
	--blt-vs-teal: #2eb3db;
	--blt-vs-teal-light: #bee7f4;
	--blt-vs-blue-light: #b3c6fe;
	--blt-vs-neutral-light: #d9d9d9;
	--blt-vs-neutral-dark: #404040;
	--blt-vs-white: #ffffff;
	--blt-vs-radius-sm: 0.8rem;
	--blt-vs-radius-lg: 1.8rem;
	--blt-vs-shadow: 0 18px 40px rgba(1, 31, 120, 0.12);
	--blt-vs-board-shadow: 0 24px 54px rgba(1, 31, 120, 0.14);
}

.blt-vs-shell,
.blt-vs-app {
	font-family: Outfit, Arial, sans-serif;
	color: var(--blt-vs-blue);
}

.blt-vs-shell {
	background: transparent;
	border-radius: 0;
	padding: 0;
	box-shadow: none;
}

.blt-vs-shell__header {
	display: flex;
	justify-content: space-between;
	gap: 1.5rem;
	align-items: flex-start;
	margin-bottom: 1.5rem;
}

.blt-vs-shell__eyebrow,
.blt-vs-panel__eyebrow,
.blt-vs-canvas__eyebrow {
	margin: 0 0 0.5rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--blt-vs-teal);
}

.blt-vs-shell__title,
.blt-vs-panel__title,
.blt-vs-canvas__title,
.blt-vs-board-header__title,
.blt-vs-card__title,
.blt-vs-template__title,
.blt-vs-slot-card__title {
	font-family: Cocon, "Trebuchet MS", sans-serif;
	margin: 0;
	color: var(--blt-vs-blue);
}

.blt-vs-shell__title {
	font-size: clamp(2rem, 2vw + 1.3rem, 3rem);
}

.blt-vs-shell__copy {
	max-width: 48rem;
	margin: 0.8rem 0 0;
	font-size: 1rem;
	line-height: 1.55;
}

.blt-vs-shell__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	justify-content: flex-end;
}

.blt-vs-shell__badge,
.blt-vs-card__tag,
.blt-vs-template__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.45rem 0.8rem;
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 700;
}

.blt-vs-shell__badge {
	background: rgba(255, 224, 115, 0.46);
}

.blt-vs-app {
	display: grid;
	grid-template-columns: minmax(28rem, 34rem) minmax(0, 1fr);
	gap: 1.5rem;
	align-items: start;
}

.blt-vs-panel,
.blt-vs-canvas {
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(1, 31, 120, 0.12);
	border-radius: var(--blt-vs-radius-lg);
	box-shadow: var(--blt-vs-shadow);
}

.blt-vs-panel {
	padding: 1.25rem;
	display: grid;
	gap: 1rem;
}

.blt-vs-panel__title,
.blt-vs-canvas__title {
	font-size: 1.8rem;
}

.blt-vs-panel__copy,
.blt-vs-canvas__copy {
	margin-top: 0.55rem;
	margin-bottom: 1rem;
	line-height: 1.5;
}

.blt-vs-search {
	position: relative;
	margin: 0;
}

.blt-vs-search input {
	width: 100%;
	height: 2.75rem;
	padding: 0.65rem 0.85rem;
	border-radius: 0.35rem;
	border: 1px solid rgba(1, 31, 120, 0.18);
	background: var(--blt-vs-white);
	color: var(--blt-vs-blue);
	font-size: 0.95rem;
	box-shadow: inset 0 1px 2px rgba(1, 31, 120, 0.04);
}

.blt-vs-search input:focus,
.blt-vs-select:focus {
	outline: 2px solid rgba(46, 179, 219, 0.4);
	border-color: var(--blt-vs-teal);
}

.blt-vs-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.5rem;
	margin: 0;
}

.blt-vs-tab {
	appearance: none;
	border: 1px solid rgba(1, 31, 120, 0.14);
	border-radius: 0;
	padding: 0.65rem 0.75rem;
	background: rgba(1, 31, 120, 0.05);
	color: var(--blt-vs-blue);
	cursor: pointer;
	font-weight: 700;
	font-size: 0.9rem;
	line-height: 1.2;
}

.blt-vs-tab.is-active {
	border-color: var(--blt-vs-teal);
	background: rgba(46, 179, 219, 0.14);
}

.blt-vs-tab-panel,
.blt-vs-library,
.blt-vs-templates {
	display: grid;
	gap: 1rem;
}

.blt-vs-source-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem;
	align-items: start;
}

.blt-vs-source-pagination {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.65rem;
}

.blt-vs-source-pagination__label {
	font-size: 0.82rem;
	font-weight: 700;
	white-space: nowrap;
}

.blt-vs-select-label {
	font-size: 0.9rem;
	font-weight: 700;
}

.blt-vs-select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	min-width: 13rem;
	height: 2.75rem;
	padding: 0.65rem 2.5rem 0.65rem 0.85rem;
	border-radius: 0.35rem;
	border: 1px solid rgba(1, 31, 120, 0.18);
	background-color: var(--blt-vs-white);
	background-image:
		linear-gradient(45deg, transparent 50%, rgba(1, 31, 120, 0.85) 50%),
		linear-gradient(135deg, rgba(1, 31, 120, 0.85) 50%, transparent 50%);
	background-position:
		calc(100% - 1rem) 1.15rem,
		calc(100% - 0.7rem) 1.15rem;
	background-size: 0.35rem 0.35rem, 0.35rem 0.35rem;
	background-repeat: no-repeat;
	color: var(--blt-vs-blue);
	font-family: Outfit, Arial, sans-serif;
	font-size: 0.94rem;
	font-weight: 700;
	line-height: 1.2;
	box-shadow: inset 0 1px 2px rgba(1, 31, 120, 0.04);
}

.blt-vs-select option {
	color: var(--blt-vs-blue);
}

.blt-vs-card,
.blt-vs-template {
	border-radius: 1.25rem;
	padding: 1rem;
	border: 1px solid rgba(1, 31, 120, 0.12);
	background: linear-gradient(180deg, rgba(190, 231, 244, 0.28), rgba(255, 255, 255, 0.92));
}

.blt-vs-card {
	cursor: grab;
}

.blt-vs-card__title,
.blt-vs-template__title,
.blt-vs-slot-card__title {
	font-size: 1.2rem;
	margin-bottom: 0;
}

.blt-vs-template__description {
	margin: 0 0 0.75rem;
	font-size: 0.92rem;
	line-height: 1.5;
}

.blt-vs-template__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.blt-vs-card__media,
.blt-vs-slot-card__media {
	display: grid;
	place-items: center;
	border-radius: 1rem;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(1, 31, 120, 0.08);
}

.blt-vs-card__media,
.blt-vs-card__media--library {
	aspect-ratio: 1;
	margin-bottom: 0.75rem;
}

.blt-vs-card__media img,
.blt-vs-slot-card__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	padding: 0.5rem;
	box-sizing: border-box;
}

.blt-vs-card__media--placeholder,
.blt-vs-slot-card__media--placeholder {
	background: linear-gradient(180deg, rgba(255, 224, 115, 0.12), rgba(255, 255, 255, 0.96));
}

.blt-vs-card__media__placeholder,
.blt-vs-slot-card__media__placeholder {
	padding: 1rem;
	text-align: center;
	font-weight: 700;
	line-height: 1.3;
	color: rgba(1, 31, 120, 0.72);
}

.blt-vs-template__actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem;
	margin-top: 0.85rem;
}

.blt-vs-template__badge {
	background: rgba(255, 224, 115, 0.38);
}

.blt-vs-button {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: var(--blt-vs-radius-sm);
	padding: 0.8rem 1rem;
	font-size: 0.94rem;
	font-weight: 700;
	background: var(--blt-vs-teal);
	color: var(--blt-vs-white);
	cursor: pointer;
	text-decoration: none;
}

.blt-vs-button:hover,
.blt-vs-button:focus {
	filter: brightness(0.96);
}

.blt-vs-button:disabled {
	opacity: 0.45;
	cursor: not-allowed;
	filter: none;
}

.blt-vs-button--ghost {
	background: rgba(1, 31, 120, 0.08);
	color: var(--blt-vs-blue);
}

.blt-vs-button--coral {
	background: var(--blt-vs-coral);
	color: var(--blt-vs-blue);
}

.blt-vs-button--small {
	padding: 0.55rem 0.75rem;
	font-size: 0.82rem;
}

.blt-vs-canvas {
	padding: 1.25rem;
}

.blt-vs-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.85rem;
	margin-bottom: 1rem;
}

.blt-vs-toolbar__group {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	align-items: center;
}

.blt-vs-page-label {
	font-weight: 700;
	font-size: 0.9rem;
	line-height: 1;
}

.blt-vs-stage {
	padding: 1rem;
	background:
		linear-gradient(135deg, rgba(255, 224, 115, 0.16), transparent 20rem),
		linear-gradient(315deg, rgba(46, 179, 219, 0.12), transparent 18rem),
		#f4f8ff;
	border-radius: 1.35rem;
}

.blt-vs-page {
	width: 100%;
	max-width: 840px;
	margin: 0 auto;
	background: var(--blt-vs-white);
	border-radius: 1.35rem;
	box-shadow: var(--blt-vs-board-shadow);
	border: 1px solid rgba(1, 31, 120, 0.12);
	position: relative;
	overflow: hidden;
}

.blt-vs-board {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 33rem;
}

.blt-vs-board-panel {
	position: absolute;
	top: 6%;
	bottom: 11%;
	width: 7%;
	border-radius: 0.25rem;
	overflow: hidden;
	display: none;
}

.blt-vs-board-panel--left {
	left: 4.5%;
}

.blt-vs-board-panel--right {
	right: 4.5%;
}

.blt-vs-board-panel__svg {
	display: block;
	width: 100%;
	height: 100%;
}

.blt-vs-board-panel--plain {
	background: rgba(46, 179, 219, 0.12);
}

.blt-vs-board-header {
	position: absolute;
	left: 16%;
	right: 12%;
	top: 5.5%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	align-items: center;
}

.blt-vs-page--nine-icon-board .blt-vs-board-header {
	left: 23%;
	right: 8%;
}

.blt-vs-board-sun {
	position: absolute;
	top: 4.25%;
	right: 4.5%;
	width: clamp(4.5rem, 6.5vw, 7rem);
	pointer-events: none;
}

.blt-vs-board-sun__image {
	display: block;
	width: 100%;
	height: auto;
}

.blt-vs-board-kangaroo {
	position: absolute;
	left: 3%;
	bottom: 4.5%;
	width: clamp(3.25rem, 5vw, 5.75rem);
	pointer-events: none;
	z-index: 0;
}

.blt-vs-board-kangaroo__image {
	display: block;
	width: 100%;
	height: auto;
}

.blt-vs-screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.blt-vs-board-header__input {
	appearance: none;
	-webkit-appearance: none;
	border: 0;
	border-color: transparent !important;
	background: transparent;
	background-color: transparent !important;
	padding: 0;
	margin: 0;
	width: min(100%, 18rem);
	font-family: Cocon, "Trebuchet MS", sans-serif;
	font-size: clamp(1.35rem, 1.3vw + 0.9rem, 2rem);
	line-height: 1.1;
	color: var(--blt-vs-blue);
	box-shadow: none !important;
}

.blt-vs-board-header__title {
	margin: 0;
	width: min(100%, 18rem);
	font-family: Cocon, "Trebuchet MS", sans-serif;
	font-size: clamp(1.35rem, 1.3vw + 0.9rem, 2rem);
	line-height: 1.1;
	color: var(--blt-vs-blue);
}

.blt-vs-board-header__input:focus {
	outline: none !important;
	border: 0 !important;
	box-shadow: none !important;
}

.blt-vs-board-footer {
	position: absolute;
	right: 2.5%;
	bottom: 4.8%;
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	gap: 0.9rem;
	color: var(--blt-vs-blue);
}

.blt-vs-board-footer__copy {
	text-align: right;
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 1.35;
}

.blt-vs-board-footer__brand {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	line-height: 1;
}

.blt-vs-board-footer__brand-logo {
	display: block;
	width: auto;
	height: 2.8rem;
	max-width: 14.5rem;
}

.blt-vs-board-cut-line {
	position: absolute;
	left: 50%;
	top: 4%;
	bottom: 4%;
	border-left: 1px dashed rgba(1, 31, 120, 0.35);
}

.blt-vs-connector {
	position: absolute;
	height: 1rem;
	transform-origin: left center;
	display: flex;
	align-items: center;
	gap: 0;
	pointer-events: none;
	z-index: 1;
}

.blt-vs-connector__line {
	flex: 1 1 auto;
	height: 0.75rem;
	background: var(--blt-vs-blue);
	border-radius: 0;
}

.blt-vs-connector__head {
	flex: 0 0 auto;
	width: 0;
	height: 0;
	border-top: 0.85rem solid transparent;
	border-bottom: 0.85rem solid transparent;
	border-left: 1.3rem solid var(--blt-vs-blue);
	margin-left: -1px;
}

.blt-vs-slot {
	position: absolute;
	border-radius: 1.45rem;
	border: 3px solid rgba(1, 31, 120, 0.74);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(190, 231, 244, 0.18));
	padding: 0.75rem;
	display: flex;
	align-items: stretch;
	justify-content: stretch;
	box-sizing: border-box;
	z-index: 2;
}

.blt-vs-slot.is-over {
	border-color: var(--blt-vs-teal);
	box-shadow: 0 0 0 5px rgba(46, 179, 219, 0.14);
}

.blt-vs-slot__label,
.blt-vs-slot-card__label {
	position: absolute;
	top: 0.55rem;
	left: 0.75rem;
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: rgba(1, 31, 120, 0.52);
}

.blt-vs-slot__empty {
	width: 100%;
	border-radius: 1rem;
	display: grid;
	place-items: center;
	text-align: center;
	padding: 1.25rem;
	font-size: 0.95rem;
	color: rgba(1, 31, 120, 0.58);
	background: rgba(255, 255, 255, 0.76);
}

.blt-vs-slot-card {
	width: 100%;
	height: 100%;
	background: linear-gradient(180deg, rgba(255, 224, 115, 0.18), rgba(255, 255, 255, 0.95));
	border-radius: 1rem;
	padding: 0.65rem;
	border: 1px solid rgba(1, 31, 120, 0.14);
	display: flex;
	align-items: stretch;
	justify-content: center;
	cursor: grab;
	box-sizing: border-box;
}

.blt-vs-slot-card__media {
	flex: 1 1 auto;
	min-height: 0;
	width: 100%;
	height: 100%;
	background: transparent;
	border: 0;
	border-radius: 0.8rem;
}

.blt-vs-empty-library {
	padding: 1rem;
	border-radius: 1rem;
	background: rgba(1, 31, 120, 0.05);
}

@media (max-width: 1024px) {
	.blt-vs-app {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.blt-vs-shell {
		padding: 1rem;
	}

	.blt-vs-shell__header {
		flex-direction: column;
	}

	.blt-vs-tabs {
		grid-template-columns: 1fr;
	}

	.blt-vs-source-grid {
		grid-template-columns: 1fr;
	}

	.blt-vs-stage {
		padding: 0.5rem;
	}

	.blt-vs-page {
		border-radius: 1rem;
	}

	.blt-vs-board {
		min-height: 24rem;
	}

	.blt-vs-board-footer__copy {
		display: none;
	}
}

@media print {
	@page {
		size: A4 landscape;
		margin: 0;
	}

	html,
	body {
		margin: 0;
		padding: 0;
		width: auto;
		height: auto;
		overflow: visible;
		background: #fff;
	}

	body {
		background: #fff !important;
	}

	.blt-vs-shell {
		box-shadow: none;
		padding: 0;
		background: var(--blt-vs-white);
		border-radius: 0;
		width: 297mm;
		min-height: 210mm;
		margin: 0;
		overflow: visible;
	}

	.blt-vs-panel,
	.blt-vs-shell__header,
	.blt-vs-toolbar,
	.blt-vs-canvas__eyebrow,
	.blt-vs-canvas__title,
	.blt-vs-canvas__copy {
		display: none !important;
	}

	.blt-vs-app {
		display: block;
		width: 297mm;
		margin: 0;
	}

	.blt-vs-canvas {
		border: 0;
		box-shadow: none;
		padding: 0;
		width: 297mm;
		margin: 0;
		background: #fff;
	}

	.blt-vs-stage {
		background: var(--blt-vs-white);
		padding: 0;
		border-radius: 0;
		width: 297mm;
		margin: 0;
		display: block;
	}

	.blt-vs-page {
		width: 297mm !important;
		height: 210mm !important;
		max-width: none;
		margin: 0;
		box-shadow: none;
		border: 0;
		border-radius: 0;
		box-sizing: border-box;
		aspect-ratio: auto !important;
		overflow: hidden;
		break-inside: avoid;
		page-break-inside: avoid;
		break-after: auto;
		page-break-after: auto;
	}

	.blt-vs-board {
		width: 297mm;
		height: 210mm;
		min-height: 0;
	}

	.blt-vs-page:not(:last-child) {
		break-after: page;
		page-break-after: always;
	}

	.blt-vs-slot {
		break-inside: avoid;
		page-break-inside: avoid;
	}

	.blt-vs-slot-card {
		background: #fffdf6;
	}
}
