:root {
	font-family: 'DM Sans',sans-serif;
	color: #17151f;
	background: #f5f5f8
}

.components-reconnect-first-attempt-visible,
.components-reconnect-repeated-attempt-visible,
.components-reconnect-failed-visible,
.components-pause-visible,
.components-resume-failed-visible,
.components-rejoining-animation {
	display: none
}

#components-reconnect-modal.components-reconnect-show:not(.components-reconnect-retrying):not(.components-reconnect-failed):not(.components-reconnect-paused):not(.components-reconnect-resume-failed) .components-reconnect-first-attempt-visible,
#components-reconnect-modal.components-reconnect-show:not(.components-reconnect-failed):not(.components-reconnect-paused):not(.components-reconnect-resume-failed) .components-rejoining-animation,
#components-reconnect-modal.components-reconnect-retrying:not(.components-reconnect-failed):not(.components-reconnect-paused):not(.components-reconnect-resume-failed) .components-reconnect-repeated-attempt-visible,
#components-reconnect-modal.components-reconnect-failed:not(.components-reconnect-paused):not(.components-reconnect-resume-failed) .components-reconnect-failed-visible,
#components-reconnect-modal.components-reconnect-paused:not(.components-reconnect-resume-failed) .components-pause-visible,
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible {
	display: block
}

#components-reconnect-modal {
	width: min(420px, calc(100vw - 32px));
	margin: auto;
	padding: 0;
	border: 1px solid #ffffff29;
	border-radius: 26px;
	color: #f6f4ff;
	background: linear-gradient(145deg,#29213f,#171426 75%);
	box-shadow: 0 28px 90px #0e091f6b,0 0 0 1px #ffffff0a inset;
	opacity: 0;
	overflow: hidden;
	transition: display .35s allow-discrete,overlay .35s allow-discrete;
	animation: components-reconnect-modal-fade-out .35s both
}

	#components-reconnect-modal[open] {
		animation: components-reconnect-modal-slide-up .55s cubic-bezier(.16,1,.3,1),components-reconnect-modal-fade-in .35s ease-out;
		animation-fill-mode: both
	}

	#components-reconnect-modal::backdrop {
		background: #0d0a18a3;
		backdrop-filter: blur(9px);
		animation: components-reconnect-modal-fade-in .35s ease-out
	}

@keyframes components-reconnect-modal-slide-up {
	0% {
		transform: translateY(30px) scale(.95)
	}

	100% {
		transform: translateY(0)
	}
}

@keyframes components-reconnect-modal-fade-in {
	0% {
		opacity: 0
	}

	100% {
		opacity: 1
	}
}

@keyframes components-reconnect-modal-fade-out {
	0% {
		opacity: 1
	}

	100% {
		opacity: 0
	}
}

.components-reconnect-container {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding: 36px 30px 30px
}

	.components-reconnect-container::before {
		content: "VIZION";
		margin-bottom: 4px;
		color: #aaa0ff;
		font: 700 10px/1 'Space Grotesk',sans-serif;
		letter-spacing: 3px
	}

#components-reconnect-modal p {
	margin: 0;
	text-align: center;
	color: #cbc7dc;
	font: 500 14px/1.6 'DM Sans',sans-serif
}

#components-reconnect-modal button {
	border: 0;
	border-radius: 12px;
	padding: 11px 28px;
	background: #7867ff;
	color: #fff;
	font: 700 13px 'DM Sans',sans-serif;
	cursor: pointer;
	box-shadow: 0 8px 22px #7867ff4d;
	transition: transform .2s ease,background .2s ease
}

	#components-reconnect-modal button:hover {
		background: #8d80ff;
		transform: translateY(-1px)
	}

	#components-reconnect-modal button:focus-visible {
		outline: 3px solid #b1a8ff99;
		outline-offset: 3px
	}

	#components-reconnect-modal button:active {
		background: #6758e8
	}

.components-rejoining-animation {
	position: relative;
	width: 72px;
	height: 72px
}

	.components-rejoining-animation div {
		position: absolute;
		border: 3px solid #8f83ff;
		border-radius: 50%;
		opacity: 1;
		animation: components-rejoining-animation 1.5s cubic-bezier(0,.2,.8,1) infinite
	}

		.components-rejoining-animation div:nth-child(2) {
			animation-delay: -.5s
		}

@keyframes components-rejoining-animation {
	0%,4.9% {
		top: 36px;
		left: 36px;
		width: 0;
		height: 0;
		opacity: 0
	}

	5% {
		top: 36px;
		left: 36px;
		width: 0;
		height: 0;
		opacity: 1
	}

	100% {
		top: 0;
		left: 0;
		width: 72px;
		height: 72px;
		opacity: 0
	}
}

@media(max-width: 480px) {
	.components-reconnect-container {
		padding: 30px 22px 24px
	}
}

@media(prefers-reduced-motion: reduce) {
	#components-reconnect-modal,
	#components-reconnect-modal[open],
	#components-reconnect-modal::backdrop,
	.components-rejoining-animation div {
		animation-duration: .01ms;
		animation-iteration-count: 1
	}
}

@media(max-width: 600px) {
	.vizion-shell .vizion-topbar > .topbar-member {
		display: inline-flex !important;
		max-width: 128px;
		font-size: 0;
		overflow: hidden
	}

	.vizion-shell .topbar-member .topbar-profile-link {
		display: block;
		max-width: 88px;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		font-size: 11px
	}

	.vizion-shell .topbar-member .membership-avatar {
		width: 27px;
		height: 27px
	}
}

* {
	box-sizing: border-box
}

.vizion-shell.theme-aurora {
	--theme-accent: #ef5da8;
	--theme-accent-strong: #7657ff;
	--theme-surface: #fffafc;
	--theme-sidebar: #241d38;
	--theme-text: #211b31;
	--theme-muted: #81778f;
	--membership-card: #fffafc;
	--membership-border: #f2dce8;
	--membership-advanced-card: #fff7ec;
	--membership-advanced-border: #e5bc63;
	--membership-selected: #fff0f8;
	--membership-disabled: #f7eff4;
	--membership-hint: #81778f;
	--membership-button: linear-gradient(100deg,#7657ff,#ef5da8);
	--membership-button-text: #fff;
	--membership-standard-avatar: #eeecff;
	--membership-standard-avatar-text: #7668d8;
	--membership-premium-avatar: #fff0c9;
	--membership-premium-avatar-text: #b86b16;
	background: radial-gradient(circle at 82% 8%, #ffd9ee 0, transparent 28%), #fff8fc;
	color: var(--theme-text)
}

	.vizion-shell.theme-aurora .vizion-sidebar {
		background: linear-gradient(180deg, #241d38, #35224d);
		border-right: 0
	}

		.vizion-shell.theme-aurora .vizion-sidebar nav a,
		.vizion-shell.theme-aurora .vizion-admin-link {
			color: #cfc4df
		}

			.vizion-shell.theme-aurora .vizion-sidebar nav a.active,
			.vizion-shell.theme-aurora .vizion-sidebar nav a:hover,
			.vizion-shell.theme-aurora .vizion-admin-link:hover {
				color: #fff;
				background: #ffffff1c
			}

	.vizion-shell.theme-aurora .vizion-brand {
		background: linear-gradient(135deg, var(--theme-accent-strong), var(--theme-accent));
		box-shadow: 0 10px 28px #ef5da866
	}

	.vizion-shell.theme-aurora .content-card,
	.vizion-shell.theme-aurora .control-card,
	.vizion-shell.theme-aurora .preview-card {
		border-color: #f2dce8;
		box-shadow: 0 18px 50px #9d4b7818
	}

	.vizion-shell.theme-aurora .primary-button {
		background: linear-gradient(100deg, var(--theme-accent-strong), var(--theme-accent));
		border: 0
	}

	.vizion-shell.theme-aurora .eyebrow {
		color: var(--theme-accent)
	}

.vizion-shell.theme-noir {
	--theme-accent: #8ff0d0;
	--theme-accent-strong: #58b9ff;
	--theme-surface: #151a23;
	--theme-sidebar: #090c12;
	--theme-text: #edf3f8;
	--theme-muted: #8c9aaa;
	--membership-card: #151a23;
	--membership-border: #354253;
	--membership-advanced-card: #252419;
	--membership-advanced-border: #a28a48;
	--membership-selected: #1b3340;
	--membership-disabled: #111720;
	--membership-hint: #aebbc8;
	--membership-button: linear-gradient(100deg,#58b9ff,#8ff0d0);
	--membership-button-text: #071018;
	--membership-standard-avatar: #24334a;
	--membership-standard-avatar-text: #88bfff;
	--membership-premium-avatar: #493f23;
	--membership-premium-avatar-text: #ffd77c;
	background: #0f131a;
	color: var(--theme-text)
}

	.vizion-shell.theme-noir .vizion-sidebar {
		background: var(--theme-sidebar);
		border-right-color: #27303c
	}

		.vizion-shell.theme-noir .vizion-sidebar nav a,
		.vizion-shell.theme-noir .vizion-admin-link {
			color: #8190a0
		}

			.vizion-shell.theme-noir .vizion-sidebar nav a.active,
			.vizion-shell.theme-noir .vizion-sidebar nav a:hover,
			.vizion-shell.theme-noir .vizion-admin-link:hover {
				color: var(--theme-accent);
				background: #8ff0d014
			}

	.vizion-shell.theme-noir .vizion-brand {
		background: linear-gradient(135deg, #58b9ff, #8ff0d0);
		color: #091018;
		box-shadow: 0 10px 28px #58b9ff40
	}

	.vizion-shell.theme-noir .vizion-topbar,
	.vizion-shell.theme-noir .muted,
	.vizion-shell.theme-noir .page-heading p {
		color: var(--theme-muted)
	}

	.vizion-shell.theme-noir .content-card,
	.vizion-shell.theme-noir .control-card,
	.vizion-shell.theme-noir .preview-card {
		background: var(--theme-surface);
		border-color: #2b3542;
		box-shadow: 0 18px 50px #0008
	}

	.vizion-shell.theme-noir .form-control,
	.vizion-shell.theme-noir textarea {
		background: #0e131b;
		color: var(--theme-text);
		border-color: #334152
	}

	.vizion-shell.theme-noir .form-select {
		background: #0e131b;
		color: var(--theme-text);
		border-color: #334152
	}

		.vizion-shell.theme-noir .form-select option {
			background: #0e131b;
			color: var(--theme-text)
		}

	.vizion-shell.theme-noir .form-control::placeholder,
	.vizion-shell.theme-noir textarea::placeholder {
		color: #718091;
		opacity: 1
	}

	.vizion-shell.theme-noir .primary-button {
		background: linear-gradient(100deg, #58b9ff, #8ff0d0);
		color: #071018;
		border: 0
	}

	.vizion-shell.theme-noir .eyebrow {
		color: var(--theme-accent)
	}

	.vizion-shell.theme-noir .choice {
		background: #202a36;
		border: 1px solid #334152;
		color: #aebbc8
	}

		.vizion-shell.theme-noir .choice.selected,
		.vizion-shell.theme-noir .choice:hover {
			background: #58b9ff;
			border-color: #58b9ff;
			color: #071018
		}

	.vizion-shell.theme-noir .secondary-button {
		background: #202a36;
		border: 1px solid #334152;
		color: #8ff0d0
	}

		.vizion-shell.theme-noir .secondary-button:hover {
			background: #2a3a4a;
			border-color: #58b9ff
		}

	.vizion-shell.theme-noir .primary-button:disabled {
		background: #202a36;
		border: 1px solid #334152;
		color: #718091
	}

	.vizion-shell.theme-noir .credit-pill {
		background: #151a23;
		border-color: #334152;
		color: #8ff0d0
	}

		.vizion-shell.theme-noir .credit-pill:hover {
			background: #202a36;
			border-color: #58b9ff
		}

	.vizion-shell.theme-noir .empty-state {
		color: #8c9aaa
	}

		.vizion-shell.theme-noir .empty-state i {
			color: #8ff0d0
		}

		.vizion-shell.theme-noir .empty-state h2 {
			color: #edf3f8
		}

		.vizion-shell.theme-noir .empty-state p {
			color: #8c9aaa
		}

body {
	margin: 0
}

html:has(.vizion-shell),
.vizion-shell {
	scrollbar-color: #a99beb transparent;
	scrollbar-width: thin
}

	html:has(.vizion-shell)::-webkit-scrollbar,
	.vizion-shell ::-webkit-scrollbar {
		width: 10px;
		height: 10px
	}

	html:has(.vizion-shell)::-webkit-scrollbar-track,
	.vizion-shell ::-webkit-scrollbar-track {
		background: transparent
	}

	html:has(.vizion-shell)::-webkit-scrollbar-thumb,
	.vizion-shell ::-webkit-scrollbar-thumb {
		border: 3px solid transparent;
		border-radius: 999px;
		background: #a99beb;
		background-clip: padding-box
	}

		html:has(.vizion-shell)::-webkit-scrollbar-thumb:hover,
		.vizion-shell ::-webkit-scrollbar-thumb:hover {
			background: #7657ff;
			background-clip: padding-box
		}

	html:has(.vizion-shell)::-webkit-scrollbar-corner,
	.vizion-shell ::-webkit-scrollbar-corner {
		background: transparent
	}

h1:focus, h2:focus, h3:focus {
	outline: 0 !important;
	box-shadow: none !important
}

.vizion-shell {
	display: flex;
	min-height: 100vh
}

.vizion-sidebar {
	width: 92px;
	background: #fff;
	border-right: 1px solid #ebeaf0;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 22px 12px;
	position: fixed;
	inset: 0 auto 0 0;
	z-index: 5
}

.vizion-brand {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 14px;
	background: #5541ee;
	color: #fff;
	font: 700 21px 'Space Grotesk';
	text-decoration: none;
	box-shadow: 0 8px 20px #5541ee40
}

	.vizion-brand img {
		width: 100%;
		height: 100%;
		padding: 6px;
		object-fit: contain;
		border-radius: inherit;
	}

	.vizion-brand span {
		color: #b9b1ff
	}

.vizion-sidebar nav {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 42px;
	width: 100%
}

	.vizion-sidebar nav a, .vizion-admin-link {
		color: #9b9aa6;
		text-decoration: none;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 6px;
		font-size: 10px;
		padding: 10px 2px;
		border-radius: 13px
	}

		.vizion-sidebar nav a i, .vizion-admin-link i {
			font-size: 19px
		}

		.vizion-sidebar nav a.active, .vizion-sidebar nav a:hover, .vizion-admin-link:hover {
			color: #5541ee;
			background: #f0eeff
		}

.vizion-admin-link {
	margin-top: auto
}

.vizion-main {
	margin-left: 92px;
	flex: 1;
	min-width: 0;
	padding: 54px clamp(24px,6vw,90px)
}

h1, h2, h3 {
	font-family: 'Space Grotesk',sans-serif;
	margin: 0
}

.page-heading, .admin-heading {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 30px
}

	.page-heading h1, .admin-heading h1 {
		font-size: 36px;
		letter-spacing: -1px;
		margin: 8px 0
	}

	.page-heading p, .admin-heading p {
		color: #85838f;
		margin: 0
	}

.eyebrow {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 2px;
	color: #5541ee
}

.credit-pill, .admin-badge {
	background: #fff;
	border: 1px solid #ebeaf0;
	border-radius: 999px;
	padding: 11px 16px;
	text-decoration: none;
	color: #5541ee;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer
}

.workspace-grid {
	display: grid;
	grid-template-columns: minmax(310px,390px) 1fr;
	gap: 28px;
	align-items: start
}

.control-card, .preview-card, .content-card, .auth-card {
	background: #fff;
	border: 1px solid #ebeaf0;
	border-radius: 24px;
	box-shadow: 0 12px 30px #24202d08
}

.control-card {
	padding: 26px
}

.preview-card {
	min-height: 660px;
	padding: 28px
}

	.control-card h2, .preview-card h2, .content-card h2 {
		font-size: 20px
	}

.muted {
	color: #92909c;
	font-size: 13px
}

.upload-zone {
	margin: 20px 0;
	min-height: 150px;
	border: 1.5px dashed #d7d4e5;
	border-radius: 18px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: #777486;
	position: relative;
	text-align: center
}

	.upload-zone i {
		font-size: 26px;
		color: #5541ee
	}

	.upload-zone span {
		font-size: 12px;
		color: #aaa7b3
	}

	.upload-zone input {
		position: absolute;
		inset: 0;
		opacity: 0;
		cursor: pointer
	}

.field-label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	margin: 18px 0 8px
}

.choice-grid {
	display: grid;
	grid-template-columns: repeat(2,1fr);
	gap: 8px
}

	.choice-grid.three {
		grid-template-columns: repeat(3,1fr)
	}

	.choice-grid.four {
		grid-template-columns: repeat(4,1fr)
	}

.model-appearance {
	display: grid;
	gap: 8px
}

.choice {
	border: 0;
	background: #f7f7fa;
	color: #777486;
	border-radius: 10px;
	padding: 10px 5px;
	font-size: 12px;
	cursor: pointer
}

	.choice.selected, .choice:hover {
		background: #5541ee;
		color: #fff
	}

.form-control, .form-select {
	border: 1px solid #e4e2eb;
	border-radius: 10px;
	padding: 11px;
	width: 100%;
	font: inherit;
	font-size: 13px
}

.primary-button, .secondary-button {
	border: 0;
	border-radius: 12px;
	padding: 13px 16px;
	font: 600 13px inherit;
	cursor: pointer
}

.primary-button {
	background: #5541ee;
	color: #fff;
	width: 100%;
	margin-top: 22px
}

	.primary-button:disabled {
		background: #b9b4f5;
		cursor: not-allowed
	}

.secondary-button {
	background: #f0eeff;
	color: #5541ee
}

.primary-button.inline {
	display: inline-block;
	width: auto;
	text-decoration: none
}

.status-message {
	font-size: 12px;
	color: #5541ee;
	background: #f0eeff;
	padding: 10px;
	border-radius: 10px;
	margin-top: 12px
}

	.status-message.error {
		color: #c03955;
		background: #fff0f2
	}

.card-title {
	display: flex;
	justify-content: space-between
}

.icon-button {
	border: 0;
	background: transparent;
	color: #bbb;
	font-size: 17px
}

.preview-empty, .empty-state {
	text-align: center;
	color: #a5a3af;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 520px
}

	.preview-empty i, .empty-state i {
		font-size: 48px;
		color: #d4d2dc;
		margin-bottom: 18px
	}

	.preview-empty h3, .empty-state h2 {
		color: #5f5d69;
		font-size: 19px
	}

	.preview-empty p, .empty-state p {
		font-size: 13px
	}

.content-card {
	padding: 32px
}

.pack-grid {
	display: grid;
	grid-template-columns: repeat(3,1fr);
	gap: 18px
}

.pack {
	border: 1px solid #ebeaf0;
	border-radius: 18px;
	padding: 22px
}

.pack-label {
	color: #5541ee;
	font-size: 12px;
	font-weight: 700
}

.pack h2 {
	font-size: 25px;
	margin: 12px 0
}

.pack strong {
	font-size: 24px;
	display: block;
	margin: 20px 0
}

.topbar-member {
	display: inline-flex;
	align-items: center;
	gap: 8px
}

.membership-avatar, .membership-static-avatar {
	display: inline-grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	flex: 0 0 auto;
	outline: none
}

	.membership-avatar svg, .membership-static-avatar svg {
		width: 100%;
		height: 100%;
		fill: none;
		stroke: currentColor;
		stroke-width: 2;
		stroke-linecap: round;
		stroke-linejoin: round
	}

	.membership-avatar.standard, .membership-static-avatar.standard {
		color: var(--membership-standard-avatar-text);
		background: var(--membership-standard-avatar)
	}

	.membership-avatar.premium, .membership-static-avatar.premium {
		color: var(--membership-premium-avatar-text);
		background: var(--membership-premium-avatar)
	}

	.membership-avatar .avatar-mark, .membership-static-avatar .avatar-mark {
		stroke-width: 1.8
	}

	.membership-avatar:hover, .membership-avatar:focus-visible {
		box-shadow: 0 0 0 3px #5541ee30
	}

.membership-heading {
	align-items: center
}

.membership-current {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	border: 1px solid var(--membership-border);
	border-radius: 16px;
	background: var(--membership-card)
}

	.membership-current > div {
		display: grid;
		gap: 2px
	}

	.membership-current small {
		font-size: 10px;
		letter-spacing: 1.5px;
		color: #9995a5
	}

	.membership-current strong {
		font-size: 14px
	}

	.membership-current span {
		font-size: 11px;
		color: var(--membership-hint)
	}

.membership-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(500px, 1fr);
	gap: 24px;
	align-items: start
}

.membership-benefits, .membership-offers {
	min-width: 0
}

.membership-comparison {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-top: 22px
}

.membership-plan {
	border: 1px solid var(--membership-border);
	border-radius: 18px;
	padding: 20px;
	min-width: 0;
	background: var(--membership-card)
}

	.membership-plan.advanced {
		border-color: var(--membership-advanced-border);
		background: var(--membership-advanced-card)
	}

.membership-plan-title {
	display: flex;
	align-items: center;
	gap: 10px
}

	.membership-plan-title h3 {
		font-size: 19px
	}

	.membership-plan-title small {
		color: var(--membership-hint);
		font-size: 11px
	}

.membership-plan ul {
	list-style: none;
	padding: 0;
	margin: 18px 0 0;
	display: grid;
	gap: 11px;
	font-size: 13px
}

.membership-plan li::before {
	content: '✓';
	color: #5541ee;
	font-weight: 700;
	margin-right: 8px
}

.membership-plan.advanced li::before {
	color: #b86b16
}

.membership-offers h2 {
	margin-top: 8px
}

.membership-period-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: 20px
}

.membership-period {
	display: grid;
	align-content: space-between;
	gap: 14px;
	min-height: 164px;
	padding: 16px;
	border: 1px solid var(--membership-border);
	border-radius: 15px;
	min-width: 0;
	background: var(--membership-card);
	transition: border-color .18s ease, background .18s ease, transform .18s ease
}

	.membership-period.selected {
		border-color: var(--theme-accent-strong);
		background: var(--membership-selected);
		transform: translateY(-2px)
	}

	.membership-period.disabled {
		background: var(--membership-disabled);
		color: var(--membership-hint)
	}

	.membership-period > div {
		display: grid;
		gap: 3px;
		min-width: 0
	}

.membership-period-name {
	color: #5541ee;
	font-size: 12px;
	font-weight: 700
}

.membership-period strong {
	font-size: 21px
}

.membership-period small {
	color: var(--membership-hint);
	font-size: 11px
}

.membership-period .primary-button {
	width: 100%;
	min-width: 108px;
	min-height: 44px;
	margin: 0;
	background: var(--membership-button);
	color: var(--membership-button-text)
}

	.membership-period .primary-button:disabled {
		background: var(--membership-disabled);
		border: 1px solid var(--membership-border);
		color: var(--membership-hint)
	}

.membership-empty {
	margin-top: 20px;
	padding: 18px;
	border: 1px solid var(--membership-border);
	border-radius: 12px;
	background: var(--membership-disabled);
	color: var(--membership-hint);
	font-size: 13px
}

.choice.premium-only {
	opacity: .58
}

.video-segmented button.premium-only {
	opacity: .58
}

.vizion-shell.theme-noir .membership-period-name {
	color: #8ff0d0
}

.vizion-shell.theme-orbit .membership-current, .vizion-shell.theme-orbit .membership-plan, .vizion-shell.theme-orbit .membership-period {
	box-shadow: 0 10px 24px #1d4f8a0d
}

.vizion-shell.theme-orbit .membership-period-name {
	color: #1677ff
}

@media(max-width: 1000px) {
	.membership-layout {
		grid-template-columns: 1fr
	}

	.membership-period-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr))
	}
}

@media(max-width: 800px) {
	.membership-heading {
		align-items: stretch;
		flex-direction: column;
		gap: 18px
	}

	.membership-current {
		width: 100%
	}

	.membership-layout {
		gap: 16px
	}

	.membership-comparison {
		grid-template-columns: 1fr
	}

	.membership-period-grid {
		grid-template-columns: 1fr
	}

	.membership-period .primary-button {
		min-height: 42px
	}

	.topbar-member {
		gap: 5px
	}
}

@media(max-width: 600px) {
	.membership-current {
		padding: 10px 12px
	}

		.membership-current span {
			font-size: 10px
		}

	.membership-plan, .membership-period {
		padding: 16px
	}

		.membership-period .primary-button {
			width: 100%;
			margin-top: 4px
		}

		.membership-plan ul {
			font-size: 12px
		}
}

.profile-grid {
	display: flex;
	gap: 24px;
	align-items: center
}

.avatar-large {
	width: 72px;
	height: 72px;
	border-radius: 24px;
	display: grid;
	place-items: center;
	background: #5541ee;
	color: #fff;
	font-size: 30px
}

.auth-card {
	max-width: 420px;
	margin: 10vh auto;
	padding: 38px
}

	.auth-card h1 {
		font-size: 30px;
		margin: 12px 0
	}

	.auth-card .form-control {
		margin-top: 14px
	}

.auth-footer {
	text-align: center;
	color: #92909c;
	font-size: 13px;
	margin-top: 24px
}

	.auth-footer a {
		color: #5541ee
	}

.admin-shell {
	display: flex;
	min-height: 100vh;
	background: #f5f5f8
}

.admin-sidebar {
	width: 250px;
	background: #201d2b;
	color: #bcb8ca;
	padding: 28px 18px;
	display: flex;
	flex-direction: column
}

	.admin-sidebar .vizion-brand {
		margin-bottom: 34px
	}

.admin-caption {
	font-size: 11px;
	letter-spacing: 2px;
	color: #777187;
	margin: 0 12px 16px
}

.admin-sidebar nav {
	display: flex;
	flex-direction: column;
	gap: 5px
}

	.admin-sidebar nav a, .admin-back {
		color: #bcb8ca;
		text-decoration: none;
		padding: 12px 14px;
		border-radius: 10px;
		font-size: 13px
	}

		.admin-sidebar nav a i {
			width: 24px
		}

		.admin-sidebar nav a:hover, .admin-back:hover {
			background: #342f45;
			color: #fff
		}

.admin-back {
	margin-top: auto
}

.admin-main {
	flex: 1;
	padding: 58px clamp(24px,6vw,90px)
}

.admin-stats {
	display: grid;
	grid-template-columns: repeat(4,1fr);
	gap: 16px;
	margin-bottom: 24px
}

	.admin-stats > div {
		background: #fff;
		border: 1px solid #ebeaf0;
		border-radius: 16px;
		padding: 18px
	}

	.admin-stats span {
		display: block;
		color: #92909c;
		font-size: 12px
	}

	.admin-stats strong {
		display: block;
		font: 700 25px 'Space Grotesk';
		margin-top: 12px
	}

	.admin-stats .ok {
		color: #1a9a72;
		font-size: 16px
	}

.admin-callouts {
	display: grid;
	grid-template-columns: repeat(3,1fr);
	gap: 14px;
	margin-top: 24px
}

	.admin-callouts div {
		background: #f7f7fa;
		border-radius: 14px;
		padding: 18px;
		display: flex;
		flex-direction: column;
		gap: 6px
	}

	.admin-callouts i {
		color: #5541ee;
		font-size: 20px
	}

	.admin-callouts span {
		font-size: 12px;
		color: #92909c
	}

.empty-state.compact {
	min-height: 230px
}

@media(max-width:800px) {
	.vizion-sidebar {
		width: 68px;
		padding: 16px 8px
	}

		.vizion-sidebar nav a span, .vizion-admin-link span {
			display: none
		}

	.vizion-main {
		margin-left: 68px;
		padding: 28px 16px
	}

	.workspace-grid {
		grid-template-columns: minmax(0,1fr)
	}

	.preview-card {
		min-height: 340px
	}

	.pack-grid, .admin-callouts {
		grid-template-columns: 1fr
	}

	.admin-sidebar {
		width: 68px;
		padding: 18px 8px
	}

		.admin-sidebar .admin-caption, .admin-sidebar nav a:not(:has(i)) {
			display: none
		}

		.admin-sidebar .vizion-brand {
			font-size: 15px
		}

		.admin-sidebar nav a {
			padding: 12px;
			text-align: center
		}

	.admin-main {
		padding: 28px 16px
	}

	.admin-stats {
		grid-template-columns: repeat(2,1fr)
	}

	.page-heading, .admin-heading {
		align-items: flex-start;
		gap: 12px;
		flex-direction: column
	}

		.page-heading h1, .admin-heading h1 {
			font-size: 30px
		}
}

.frontend-auth-shell {
	min-height: 100vh;
	display: grid;
	place-items: center;
	padding: 24px;
	background: radial-gradient(circle at 20% 10%,#ebe8ff 0,#f5f5f8 42%,#f5f5f8 100%)
}

.frontend-auth-card {
	width: min(460px,100%);
	padding: 38px;
	background: #fff;
	border: 1px solid #ebeaf0;
	border-radius: 28px;
	box-shadow: 0 24px 70px #24202d14
}

.frontend-auth-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #9a96aa;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1.7px;
	margin-bottom: 46px
}

	.frontend-auth-brand .vizion-brand {
		flex: none
	}

.frontend-auth-card h1 {
	font-size: 31px;
	margin: 12px 0
}

.frontend-auth-card .form-control {
	margin-top: 14px
}

.turnstile-panel {
	margin: 16px 0 18px;
	padding: 10px 12px;
	border: 1px solid #e5e1f5;
	border-radius: 14px;
	background: linear-gradient(135deg,#faf9ff,#f5f3ff);
	transition: border-color .2s ease,background .2s ease,box-shadow .2s ease
}

.turnstile-assurance {
	display: flex;
	align-items: center;
	gap: 11px;
	color: #514b63
}

	.turnstile-assurance > span:last-child {
		display: grid;
		gap: 2px
	}

	.turnstile-assurance strong {
		font-size: 12px;
		font-weight: 700
	}

	.turnstile-assurance small {
		color: #9893a7;
		font-size: 10px
	}

.turnstile-icon {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 11px;
	background: #ebe8ff;
	color: #6250e8;
	font-size: 14px
}

	.turnstile-icon .fa-circle-check {
		display: none
	}

.turnstile-widget {
	width: 100%;
	overflow: hidden;
	border-radius: 11px;
	margin-inline: auto;
	max-width: 300px
}

.turnstile-panel.is-active .turnstile-widget,
.turnstile-panel.is-error .turnstile-widget {
	margin-top: 10px
}

.turnstile-panel.is-active {
	border-color: #cfc8fa;
	box-shadow: 0 8px 22px #5541ee12
}

.turnstile-panel.is-verified {
	border-color: #bce8d7;
	background: linear-gradient(135deg,#f5fffa,#eefbf6)
}

	.turnstile-panel.is-verified .turnstile-icon {
		background: #dff7ec;
		color: #16845f
	}

		.turnstile-panel.is-verified .turnstile-icon .fa-shield-halved {
			display: none
		}

		.turnstile-panel.is-verified .turnstile-icon .fa-circle-check {
			display: inline-block
		}

	.turnstile-panel.is-verified .turnstile-widget {
		display: none
	}

.turnstile-panel.is-error {
	border-color: #f0c7d0;
	background: #fff7f8
}

	.turnstile-panel.is-error .turnstile-icon {
		background: #fde8ec;
		color: #c03955
	}

.auth-code-row {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 10px;
	margin-top: 14px
}

	.auth-code-row .form-control {
		margin-top: 0
	}

	.auth-code-row .secondary-button {
		white-space: nowrap
	}

.auth-link {
	border: 0;
	background: transparent;
	color: #5541ee;
	padding: 0;
	cursor: pointer;
	font: inherit
}

.admin-auth-shell {
	min-height: 100vh;
	display: grid;
	place-items: center;
	padding: 24px;
	background: linear-gradient(135deg,#201d2b,#342f45)
}

.admin-auth-card {
	width: min(460px,100%);
	padding: 42px;
	background: #fff;
	border-radius: 24px;
	box-shadow: 0 24px 70px #09081070
}

	.admin-auth-card h1 {
		font-size: 30px;
		margin: 12px 0
	}

	.admin-auth-card p {
		color: #777486;
		font-size: 13px;
		line-height: 1.7
	}

.admin-auth-mark {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 40px;
	color: #201d2b
}

	.admin-auth-mark .vizion-brand {
		box-shadow: 0 8px 20px #5541ee55
	}

	.admin-auth-mark strong, .admin-auth-mark small {
		display: block
	}

	.admin-auth-mark strong {
		font: 700 19px 'Space Grotesk';
		letter-spacing: 2px
	}

	.admin-auth-mark small {
		font-size: 9px;
		color: #938da5;
		letter-spacing: 1.5px;
		margin-top: 3px
	}

.admin-auth-card .form-control {
	margin-top: 14px
}

.admin-login-button {
	width: 100%;
	border: 0;
	border-radius: 11px;
	padding: 13px 16px;
	margin-top: 22px;
	background: #201d2b;
	color: #fff;
	font: 600 13px inherit;
	cursor: pointer
}

	.admin-login-button:disabled {
		opacity: .65;
		cursor: not-allowed
	}

.admin-back-button {
	display: block;
	text-align: center;
	margin-top: 18px;
	color: #777486;
	font-size: 12px;
	text-decoration: none
}

	.admin-back-button:hover {
		color: #5541ee
	}

.creative-heading {
	align-items: center
}

.page-heading-copy h1 span {
	color: #5541ee
}

.heading-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: flex-end
}

	.heading-meta > span {
		font-size: 11px;
		color: #92909c;
		white-space: nowrap
	}

		.heading-meta > span i {
			color: #5541ee;
			margin-right: 5px
		}

.creative-intro {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	max-width: 720px
}

	.creative-intro h2 {
		font-size: 24px;
		margin: 2px 0 8px
	}

	.creative-intro p {
		color: #85838f;
		line-height: 1.7;
		margin: 0;
		font-size: 14px
	}

.creative-icon {
	width: 54px;
	height: 54px;
	display: grid;
	place-items: center;
	flex: none;
	border-radius: 17px;
	color: #fff;
	background: linear-gradient(135deg,#5541ee,#8e7dff);
	box-shadow: 0 10px 24px #5541ee30
}

	.creative-icon.studio {
		background: linear-gradient(135deg,#d45084,#ff9e76);
		box-shadow: 0 10px 24px #d4508430
	}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(3,1fr);
	gap: 14px;
	margin: 30px 0
}

	.feature-grid > div {
		display: flex;
		flex-direction: column;
		gap: 8px;
		padding: 18px;
		border: 1px solid #ebeaf0;
		border-radius: 16px;
		background: #fafafd
	}

	.feature-grid i {
		color: #5541ee;
		font-size: 17px
	}

	.feature-grid strong {
		font: 600 14px 'Space Grotesk',sans-serif;
		color: #34313f
	}

	.feature-grid span {
		font-size: 12px;
		line-height: 1.5;
		color: #92909c
	}

.studio-banner {
	display: flex;
	flex-direction: column;
	gap: 9px;
	margin: 30px 0;
	padding: 24px;
	border-radius: 18px;
	background: linear-gradient(120deg,#f0eeff,#fff4f0)
}

	.studio-banner strong {
		font: 600 20px 'Space Grotesk',sans-serif;
		color: #34313f
	}

	.studio-banner p {
		margin: 0;
		color: #85838f;
		font-size: 13px
	}

.creative-heading {
	align-items: center
}

.page-heading-copy h1 span {
	color: #5541ee
}

.heading-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: flex-end
}

	.heading-meta > span {
		font-size: 11px;
		color: #92909c;
		white-space: nowrap
	}

		.heading-meta > span i {
			color: #5541ee;
			margin-right: 5px
		}

.creative-intro {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	max-width: 720px
}

	.creative-intro h2 {
		font-size: 24px;
		margin: 2px 0 8px
	}

	.creative-intro p {
		color: #85838f;
		line-height: 1.7;
		margin: 0;
		font-size: 14px
	}

.creative-icon {
	width: 54px;
	height: 54px;
	display: grid;
	place-items: center;
	flex: none;
	border-radius: 17px;
	color: #fff;
	background: linear-gradient(135deg,#5541ee,#8e7dff);
	box-shadow: 0 10px 24px #5541ee30
}

	.creative-icon.studio {
		background: linear-gradient(135deg,#d45084,#ff9e76);
		box-shadow: 0 10px 24px #d4508430
	}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(3,1fr);
	gap: 14px;
	margin: 30px 0
}

	.feature-grid > div {
		display: flex;
		flex-direction: column;
		gap: 8px;
		padding: 18px;
		border: 1px solid #ebeaf0;
		border-radius: 16px;
		background: #fafafd
	}

	.feature-grid i {
		color: #5541ee;
		font-size: 17px
	}

	.feature-grid strong {
		font: 600 14px 'Space Grotesk',sans-serif;
		color: #34313f
	}

	.feature-grid span {
		font-size: 12px;
		line-height: 1.5;
		color: #92909c
	}

.studio-banner {
	display: flex;
	flex-direction: column;
	gap: 9px;
	margin: 30px 0;
	padding: 24px;
	border-radius: 18px;
	background: linear-gradient(120deg,#f0eeff,#fff4f0)
}

	.studio-banner strong {
		font: 600 20px 'Space Grotesk',sans-serif;
		color: #34313f
	}

	.studio-banner p {
		margin: 0;
		color: #85838f;
		font-size: 13px
	}

@media(max-width:800px) {
	.creative-heading .heading-meta {
		justify-content: flex-start
	}

	.feature-grid {
		grid-template-columns: 1fr
	}

	.creative-intro h2 {
		font-size: 20px
	}
}

.vizion-shell.theme-orbit {
	--theme-accent: #ff7a59;
	--theme-accent-strong: #1677ff;
	--theme-surface: #ffffff;
	--theme-sidebar: #10233b;
	--theme-text: #132238;
	--theme-muted: #65768a;
	--membership-card: #fff;
	--membership-border: #dce4ee;
	--membership-advanced-card: #fffaf0;
	--membership-advanced-border: #e5b747;
	--membership-selected: #eaf4ff;
	--membership-disabled: #edf2f6;
	--membership-hint: #65768a;
	--membership-button: linear-gradient(100deg,#1677ff,#ff7a59);
	--membership-button-text: #fff;
	--membership-standard-avatar: #e6f1ff;
	--membership-standard-avatar-text: #1677ff;
	--membership-premium-avatar: #fff0c9;
	--membership-premium-avatar-text: #a85d0b;
	background: radial-gradient(circle at 84% 4%, #d9edff 0, transparent 28%), #f4f8fb;
	color: var(--theme-text)
}

	.vizion-shell.theme-orbit .vizion-sidebar {
		inset: 0 0 auto;
		width: 100%;
		height: 78px;
		flex-direction: row;
		align-items: center;
		padding: 12px clamp(16px, 4vw, 56px);
		background: #ffffffec;
		border: 0;
		border-bottom: 1px solid #d9e7f3;
		box-shadow: 0 10px 30px #2b5a7d12;
		backdrop-filter: blur(18px)
	}

	.vizion-shell.theme-orbit .vizion-brand {
		width: 46px;
		height: 46px;
		border-radius: 15px;
		background: linear-gradient(135deg, #1677ff, #ff7a59);
		color: #ffffff;
		box-shadow: 0 10px 24px #1677ff40
	}

		.vizion-shell.theme-orbit .vizion-brand span {
			color: #ffe2d9
		}

	.vizion-shell.theme-orbit .vizion-sidebar nav {
		flex: 1;
		flex-direction: row;
		align-items: center;
		justify-content: center;
		gap: 5px;
		width: auto;
		margin: 0 20px
	}

		.vizion-shell.theme-orbit .vizion-sidebar nav a,
		.vizion-shell.theme-orbit .vizion-admin-link {
			flex-direction: row;
			align-items: center;
			gap: 8px;
			padding: 10px 11px;
			border-radius: 12px;
			color: #60738a;
			font-size: 12px;
			font-weight: 600
		}

			.vizion-shell.theme-orbit .vizion-sidebar nav a i,
			.vizion-shell.theme-orbit .vizion-admin-link i {
				font-size: 15px
			}

			.vizion-shell.theme-orbit .vizion-sidebar nav a.active,
			.vizion-shell.theme-orbit .vizion-sidebar nav a:hover,
			.vizion-shell.theme-orbit .vizion-admin-link:hover {
				background: #fff0eb;
				color: #ed684b
			}

	.vizion-shell.theme-orbit .vizion-admin-link {
		margin: 0
	}

	.vizion-shell.theme-orbit .vizion-main {
		width: 100%;
		margin-left: 0;
		padding: 116px clamp(24px, 6vw, 90px) 54px
	}

	.vizion-shell.theme-orbit .content-card,
	.vizion-shell.theme-orbit .control-card,
	.vizion-shell.theme-orbit .preview-card {
		background: var(--theme-surface);
		border-color: #dce9f3;
		box-shadow: 0 18px 50px #2b5a7d12
	}

	.vizion-shell.theme-orbit .page-heading p,
	.vizion-shell.theme-orbit .vizion-topbar,
	.vizion-shell.theme-orbit .muted {
		color: var(--theme-muted)
	}

	.vizion-shell.theme-orbit .eyebrow {
		color: var(--theme-accent)
	}

	.vizion-shell.theme-orbit .page-heading-copy h1 span {
		color: #1677ff
	}

	.vizion-shell.theme-orbit .heading-meta > span i {
		color: #ff7a59
	}

	.vizion-shell.theme-orbit .primary-button {
		background: linear-gradient(100deg, #1677ff, #ff7a59);
		color: #ffffff;
		border: 0
	}

		.vizion-shell.theme-orbit .primary-button:disabled {
			background: #dce9f3;
			border-color: #dce9f3;
			color: #8aa0b7
		}

	.vizion-shell.theme-orbit .secondary-button {
		background: #edf4fa;
		border: 1px solid #d7e5f0;
		color: #1677ff
	}

		.vizion-shell.theme-orbit .secondary-button:hover {
			background: #dcecff;
			border-color: #1677ff
		}

	.vizion-shell.theme-orbit .credit-pill {
		background: #ffffff;
		border-color: #d7e5f0;
		color: #1677ff
	}

		.vizion-shell.theme-orbit .credit-pill:hover {
			background: #edf4fa;
			border-color: #1677ff
		}

	.vizion-shell.theme-orbit .choice {
		background: #edf4fa;
		border: 1px solid #d7e5f0;
		color: #52677e
	}

		.vizion-shell.theme-orbit .choice.selected,
		.vizion-shell.theme-orbit .choice:hover {
			background: #1677ff;
			border-color: #1677ff;
			color: #ffffff
		}

.orbit-mobile-brand {
	display: none
}

@media(max-width:800px) {
	.vizion-shell.theme-orbit .vizion-topbar {
		position: fixed;
		inset: 0 0 auto;
		z-index: 6;
		min-height: 64px;
		margin: 0;
		padding: 10px 16px;
		background: #ffffffed;
		border-bottom: 1px solid #d9e7f3;
		box-shadow: 0 8px 24px #2b5a7d12;
		backdrop-filter: blur(18px)
	}

	.vizion-shell.theme-orbit .vizion-main {
		width: auto;
		padding: 88px 16px 28px
	}

	.vizion-shell.theme-orbit .workspace-grid {
		gap: 18px
	}

	.vizion-shell.theme-orbit .control-card,
	.vizion-shell.theme-orbit .preview-card,
	.vizion-shell.theme-orbit .content-card {
		border-radius: 20px
	}

	.vizion-shell.theme-orbit .preview-empty,
	.vizion-shell.theme-orbit .empty-state {
		min-height: 360px
	}

	.vizion-shell.theme-orbit .orbit-mobile-brand {
		display: grid;
		flex: none;
		width: 38px;
		height: 38px;
		margin-right: 9px;
		border-radius: 12px;
		font-size: 17px
	}

	.vizion-shell.theme-orbit .vizion-menu-button {
		display: inline-flex;
		align-items: center;
		gap: 7px;
		margin-right: auto;
		border: 1px solid #d7e5f0;
		border-radius: 999px;
		background: #edf4fa;
		color: #1677ff;
		padding: 8px 12px;
		font: 600 12px inherit;
		cursor: pointer
	}

	.vizion-shell.theme-orbit .vizion-sidebar {
		inset: 0 0 auto;
		width: 100%;
		height: auto;
		max-height: calc(100vh - 12px);
		padding: 78px 16px 16px;
		align-items: stretch;
		transform: translateY(-100%);
		transition: transform .2s ease;
		box-shadow: 0 14px 32px #2b5a7d24;
		overflow-y: auto
	}

		.vizion-shell.theme-orbit .vizion-sidebar.is-open {
			transform: translateY(0)
		}

		.vizion-shell.theme-orbit .vizion-sidebar > .vizion-brand {
			display: none
		}

		.vizion-shell.theme-orbit .vizion-sidebar nav {
			flex-direction: column;
			align-items: stretch;
			gap: 4px;
			margin: 0
		}

			.vizion-shell.theme-orbit .vizion-sidebar nav a,
			.vizion-shell.theme-orbit .vizion-admin-link {
				justify-content: flex-start;
				padding: 12px 14px;
				font-size: 12px
			}

	.vizion-shell.theme-orbit .vizion-admin-link {
		margin-top: 12px
	}
}

@media(max-width:600px) {
	.vizion-shell.theme-orbit .vizion-topbar {
		gap: 8px;
		min-height: 64px;
		padding: 10px 12px
	}

		.vizion-shell.theme-orbit .vizion-topbar > span {
			display: none
		}

	.vizion-shell.theme-orbit .vizion-main {
		padding: 82px 12px 24px
	}

	.vizion-shell.theme-orbit .orbit-mobile-brand {
		margin-right: 0
	}

	.vizion-shell.theme-orbit .vizion-menu-button {
		margin-right: auto
	}

	.vizion-shell.theme-orbit .sign-in-button,
	.vizion-shell.theme-orbit .sign-out-button {
		padding: 8px 11px;
		white-space: nowrap
	}

	.vizion-shell.theme-orbit .page-heading {
		gap: 8px;
		margin-bottom: 22px
	}

		.vizion-shell.theme-orbit .page-heading h1 {
			font-size: 28px
		}

	.vizion-shell.theme-orbit .creative-heading .heading-meta {
		width: 100%;
		justify-content: flex-start;
		gap: 8px
	}

	.vizion-shell.theme-orbit .control-card,
	.vizion-shell.theme-orbit .preview-card {
		padding: 20px
	}

	.vizion-shell.theme-orbit .content-card {
		padding: 18px
	}

	.vizion-shell.theme-orbit .upload-zone {
		min-height: 132px;
		margin: 16px 0
	}

	.vizion-shell.theme-orbit .preview-empty,
	.vizion-shell.theme-orbit .empty-state {
		min-height: 320px
	}

	.vizion-shell:is(.theme-aurora, .theme-noir) .vizion-topbar {
		gap: 8px
	}

		.vizion-shell:is(.theme-aurora, .theme-noir) .vizion-topbar > span {
			display: none
		}

	.vizion-shell:is(.theme-aurora, .theme-noir) .vizion-main {
		width: auto;
		padding: 20px 12px 24px
	}

	.vizion-shell:is(.theme-aurora, .theme-noir) .sign-in-button,
	.vizion-shell:is(.theme-aurora, .theme-noir) .sign-out-button {
		padding: 8px 11px;
		white-space: nowrap
	}

	.vizion-shell:is(.theme-aurora, .theme-noir) .page-heading {
		gap: 8px;
		margin-bottom: 22px
	}

		.vizion-shell:is(.theme-aurora, .theme-noir) .page-heading h1 {
			font-size: 28px
		}

	.vizion-shell:is(.theme-aurora, .theme-noir) .creative-heading .heading-meta {
		width: 100%;
		justify-content: flex-start;
		gap: 8px
	}

	.vizion-shell:is(.theme-aurora, .theme-noir) .workspace-grid {
		gap: 18px
	}

	.vizion-shell:is(.theme-aurora, .theme-noir) .control-card,
	.vizion-shell:is(.theme-aurora, .theme-noir) .preview-card,
	.vizion-shell:is(.theme-aurora, .theme-noir) .content-card {
		border-radius: 20px
	}

	.vizion-shell:is(.theme-aurora, .theme-noir) .control-card,
	.vizion-shell:is(.theme-aurora, .theme-noir) .preview-card {
		padding: 20px
	}

	.vizion-shell:is(.theme-aurora, .theme-noir) .content-card {
		padding: 18px
	}

	.vizion-shell:is(.theme-aurora, .theme-noir) .upload-zone {
		min-height: 132px;
		margin: 16px 0
	}

	.vizion-shell:is(.theme-aurora, .theme-noir) .preview-empty,
	.vizion-shell:is(.theme-aurora, .theme-noir) .empty-state {
		min-height: 320px
	}

	.vizion-shell.theme-noir .vizion-menu-button {
		background: #151a23;
		border-color: #334152;
		color: #8ff0d0
	}
}

.control-card > h2 {
	margin-top: 0
}

.upload-summary {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 10px 0 8px;
	color: #5541ee;
	font-size: 13px
}

	.upload-summary .clear-upload {
		margin-left: auto;
		border: 0;
		background: transparent;
		color: #92909c;
		cursor: pointer
	}

.upload-thumbnails {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 8px 0 14px
}

.upload-thumbnail {
	position: relative;
	width: 86px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 10px;
	color: #777486
}

	.upload-thumbnail img {
		width: 86px;
		height: 86px;
		object-fit: cover;
		border-radius: 10px;
		border: 1px solid #ebeaf0
	}

	.upload-thumbnail span {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap
	}

.thumbnail-remove {
	position: absolute;
	top: 4px;
	right: 4px;
	width: 22px;
	height: 22px;
	border: 0;
	border-radius: 50%;
	background: #201d2bcc;
	color: #fff;
	display: grid;
	place-items: center;
	cursor: pointer
}

.recent-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 12px
}

.recent-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px;
	border: 1px solid #ebeaf0;
	border-radius: 12px;
	background: #fff
}

	.recent-row.selected {
		border-color: #5541ee;
		background: #f8f7ff
	}

.recent-row-main {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	flex: 1;
	border: 0;
	background: transparent;
	text-align: left;
	cursor: pointer
}

	.recent-row-main img, .recent-placeholder {
		width: 58px;
		height: 58px;
		flex: none;
		border-radius: 8px;
		object-fit: cover;
		background: #f0eeff;
		display: grid;
		place-items: center;
		color: #5541ee
	}

.recent-summary {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 3px
}

	.recent-summary strong {
		font-size: 13px
	}

	.recent-summary small {
		color: #92909c;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap
	}

.recent-prompt {
	max-width: 420px
}

.recent-status {
	font-size: 11px;
	white-space: nowrap;
	color: #5541ee
}

	.recent-status.succeeded {
		color: #1a9a72
	}

	.recent-status.failed, .recent-status.canceled {
		color: #c03955
	}

	.recent-status small {
		display: block;
		text-align: center;
		color: #92909c
	}

.recent-actions {
	display: flex;
	gap: 4px
}

	.recent-actions .icon-button {
		width: 30px;
		height: 30px;
		padding: 0;
		display: grid;
		place-items: center;
		cursor: pointer
	}

.recent-creations {
	margin-top: 20px
}

	.recent-creations .card-title h2 {
		font-size: 20px
	}

@media(max-width:600px) {
	.recent-row {
		align-items: flex-start
	}

	.recent-status {
		margin-left: auto
	}

	.recent-actions {
		flex-direction: column
	}

	.recent-prompt {
		max-width: 180px
	}
}

.admin-topbar-left {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	text-align: left
}

	.admin-topbar-left .admin-heading {
		margin: 0;
		align-items: flex-start;
		flex: 1
	}

	.admin-topbar-left > span {
		margin-top: 8px
	}

	.admin-topbar-left .admin-sign-out {
		margin-top: 0
	}

.form-hint {
	display: block;
	color: #92909c;
	font-size: 11px;
	line-height: 1.5;
	margin-top: 4px
}

.vizion-sidebar-backdrop {
	display: none
}

.vizion-menu-button {
	display: none
}

@media(max-width:800px) {
	.vizion-main {
		width: 100%;
		margin-left: 0;
		padding: 28px 16px
	}

	.vizion-sidebar {
		width: min(280px,84vw);
		padding: 16px;
		align-items: stretch;
		transform: translateX(-100%);
		transition: transform .2s ease;
		box-shadow: none
	}

		.vizion-sidebar.is-open {
			transform: translateX(0);
			box-shadow: 12px 0 30px #24202d18
		}

		.vizion-sidebar .vizion-brand {
			align-self: flex-start
		}

		.vizion-sidebar nav {
			margin-top: 28px
		}

			.vizion-sidebar nav a, .vizion-admin-link {
				flex-direction: row;
				justify-content: flex-start;
				gap: 12px;
				padding: 12px 14px;
				font-size: 12px
			}

				.vizion-sidebar nav a span, .vizion-admin-link span {
					display: inline;
					font-size: 12px;
					letter-spacing: 0
				}

	.vizion-sidebar-backdrop {
		display: block;
		visibility: hidden;
		position: fixed;
		inset: 0;
		z-index: 4;
		border: 0;
		padding: 0;
		background: #17131f66;
		opacity: 0;
		pointer-events: none;
		transition: opacity .2s ease,visibility .2s ease
	}

		.vizion-sidebar-backdrop.is-visible {
			visibility: visible;
			opacity: 1;
			pointer-events: auto
		}

	.vizion-menu-button {
		display: inline-flex;
		align-items: center;
		gap: 7px;
		margin-right: auto;
		border: 1px solid #ebeaf0;
		border-radius: 999px;
		background: #fff;
		color: #5541ee;
		padding: 8px 12px;
		font: 600 12px inherit;
		cursor: pointer
	}
}
