.jwai-app {
	--jwai-navy: #0d2240;
	--jwai-blue: #1769e0;
	--jwai-blue-dark: #0f52bd;
	--jwai-cyan: #23b4d7;
	--jwai-ink: #162033;
	--jwai-muted: #667085;
	--jwai-line: #e4e9f1;
	--jwai-soft: #f5f7fb;
	--jwai-white: #ffffff;
	--jwai-danger: #c4322b;
	--jwai-success: #0a8f62;
	width: min(100%, 1280px);
	margin: 40px auto;
	color: var(--jwai-ink);
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

.jwai-app *,
.jwai-app *::before,
.jwai-app *::after {
	box-sizing: border-box;
}

.jwai-app [hidden] {
	display: none !important;
}

.jwai-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	overflow: hidden;
	padding: 42px 48px;
	border-radius: 24px 24px 0 0;
	background:
		radial-gradient(circle at 88% 12%, rgba(35, 180, 215, 0.28), transparent 28%),
		linear-gradient(125deg, #0b1d36 0%, #113661 64%, #15568b 100%);
	color: #fff;
}

.jwai-hero::after {
	position: absolute;
	right: -70px;
	bottom: -160px;
	width: 360px;
	height: 360px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 50%;
	content: "";
	box-shadow: 0 0 0 45px rgba(255, 255, 255, 0.025), 0 0 0 90px rgba(255, 255, 255, 0.02);
	pointer-events: none;
}

.jwai-hero > * {
	position: relative;
	z-index: 1;
}

.jwai-eyebrow {
	display: block;
	margin-bottom: 8px;
	color: #70ddf4;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.jwai-hero h2 {
	max-width: 700px;
	margin: 0;
	color: #fff;
	font-size: clamp(32px, 4vw, 54px);
	font-weight: 760;
	letter-spacing: -0.045em;
	line-height: 1.02;
}

.jwai-hero p {
	max-width: 650px;
	margin: 14px 0 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 17px;
}

.jwai-provider-badge {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 9px;
	padding: 9px 14px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(10px);
	color: rgba(255, 255, 255, 0.9);
	font-size: 13px;
	font-weight: 700;
}

.jwai-provider-badge span,
.jwai-live-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #43e5a0;
	box-shadow: 0 0 0 4px rgba(67, 229, 160, 0.12);
}

.jwai-stepper {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-right: 1px solid var(--jwai-line);
	border-left: 1px solid var(--jwai-line);
	background: #fff;
}

.jwai-stepper span {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 15px;
	color: #98a2b3;
	font-size: 13px;
	font-weight: 750;
}

.jwai-stepper span + span {
	border-left: 1px solid var(--jwai-line);
}

.jwai-stepper span::after {
	position: absolute;
	right: 50%;
	bottom: 0;
	left: 50%;
	height: 3px;
	border-radius: 3px 3px 0 0;
	background: var(--jwai-blue);
	content: "";
	transition: right 220ms ease, left 220ms ease;
}

.jwai-stepper span.is-active {
	color: var(--jwai-navy);
}

.jwai-stepper span.is-active::after {
	right: 20%;
	left: 20%;
}

.jwai-stepper b {
	display: inline-grid;
	width: 24px;
	height: 24px;
	place-items: center;
	border: 1px solid #d7dee9;
	border-radius: 50%;
	color: inherit;
	font-size: 11px;
}

.jwai-stepper .is-active b {
	border-color: #cfe0fb;
	background: #eaf2ff;
	color: var(--jwai-blue);
}

.jwai-form {
	display: grid;
	grid-template-columns: minmax(360px, 0.82fr) minmax(480px, 1.18fr);
	min-height: 720px;
	border: 1px solid var(--jwai-line);
	border-radius: 0 0 24px 24px;
	background: var(--jwai-white);
	box-shadow: 0 28px 80px rgba(21, 42, 76, 0.12);
}

.jwai-panel {
	min-width: 0;
}

.jwai-controls {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 38px;
	border-right: 1px solid var(--jwai-line);
}

.jwai-section-heading {
	display: flex;
	align-items: flex-start;
	gap: 13px;
}

.jwai-section-heading > span {
	display: grid;
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	place-items: center;
	border-radius: 10px;
	background: #eaf2ff;
	color: var(--jwai-blue);
	font-size: 11px;
	font-weight: 850;
}

.jwai-section-heading h3 {
	margin: 0;
	color: var(--jwai-navy);
	font-size: 18px;
	font-weight: 780;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.jwai-section-heading p {
	margin: 4px 0 0;
	color: var(--jwai-muted);
	font-size: 13px;
}

.jwai-divider {
	height: 1px;
	margin: 2px 0;
	background: var(--jwai-line);
}

.jwai-field {
	position: relative;
	display: grid;
	gap: 7px;
}

.jwai-field > label {
	color: #344054;
	font-size: 13px;
	font-weight: 720;
}

.jwai-field input[type="text"],
.jwai-field input[type="email"],
.jwai-field input[type="search"],
.jwai-field select,
.jwai-field textarea {
	width: 100%;
	min-height: 46px;
	margin: 0;
	padding: 10px 13px;
	border: 1px solid #d6dde8;
	border-radius: 11px;
	outline: 0;
	background: #fff;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.03);
	color: var(--jwai-ink);
	font: inherit;
	font-size: 14px;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.jwai-field input:focus,
.jwai-field select:focus,
.jwai-field textarea:focus {
	border-color: #77a8ed;
	box-shadow: 0 0 0 4px rgba(23, 105, 224, 0.1);
}

.jwai-field textarea {
	min-height: 88px;
	resize: vertical;
}

.jwai-input-icon {
	position: relative;
}

.jwai-input-icon svg {
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 14px;
	width: 18px;
	height: 18px;
	transform: translateY(-50%);
	fill: none;
	stroke: #7c8799;
	stroke-linecap: round;
	stroke-width: 1.8;
	pointer-events: none;
}

.jwai-input-icon input[type="search"] {
	padding-left: 42px;
}

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

.jwai-product-results {
	position: absolute;
	z-index: 50;
	top: calc(100% + 6px);
	right: 0;
	left: 0;
	max-height: 330px;
	overflow: auto;
	border: 1px solid #d7dee9;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 20px 50px rgba(15, 34, 64, 0.18);
}

.jwai-result-option {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 11px 13px;
	border: 0;
	border-bottom: 1px solid #edf0f5;
	background: transparent;
	color: var(--jwai-ink);
	text-align: left;
	cursor: pointer;
	transition: background 140ms ease;
}

.jwai-result-option:last-child {
	border-bottom: 0;
}

.jwai-result-option:hover,
.jwai-result-option:focus {
	outline: 0;
	background: #f4f7fc;
}

.jwai-result-option.is-message {
	color: var(--jwai-muted);
	font-size: 13px;
	cursor: default;
}

.jwai-result-thumb {
	display: grid;
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	place-items: center;
	overflow: hidden;
	border: 1px solid #edf0f5;
	border-radius: 9px;
	background: #fff;
}

.jwai-result-thumb img {
	display: block;
	max-width: 42px;
	max-height: 42px;
	object-fit: contain;
}

.jwai-result-text {
	min-width: 0;
	flex: 1;
	overflow-wrap: anywhere;
	font-size: 13px;
	font-weight: 680;
}

.jwai-result-arrow {
	color: #98a2b3;
	font-size: 17px;
}

.jwai-dropzone {
	display: flex;
	align-items: center;
	gap: 13px;
	min-height: 84px;
	padding: 13px;
	border: 1.5px dashed #bdc9da;
	border-radius: 13px;
	background: #f9fbfe;
	cursor: pointer;
	transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.jwai-dropzone:hover,
.jwai-dropzone.is-dragging {
	border-color: var(--jwai-blue);
	background: #f1f6ff;
	transform: translateY(-1px);
}

.jwai-dropzone.has-file {
	border-style: solid;
	border-color: #8fd8bc;
	background: #f1fbf7;
}

.jwai-dropzone input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.jwai-upload-icon {
	display: grid;
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	place-items: center;
	border-radius: 12px;
	background: #e8f1ff;
	color: var(--jwai-blue);
}

.jwai-upload-icon svg {
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.jwai-drop-copy {
	display: grid;
	min-width: 0;
	gap: 2px;
}

.jwai-drop-copy strong {
	color: #344054;
	font-size: 13px;
}

.jwai-drop-copy small {
	color: var(--jwai-muted);
	font-size: 11px;
	font-weight: 500;
}

.jwai-logo-file {
	min-width: 0;
	margin-left: auto;
	overflow: hidden;
	color: var(--jwai-success);
	font-size: 11px;
	font-weight: 750;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.jwai-switch-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 14px;
	border: 1px solid var(--jwai-line);
	border-radius: 12px;
	background: #fff;
	cursor: pointer;
}

.jwai-switch-row > span {
	display: grid;
	gap: 2px;
}

.jwai-switch-row strong {
	color: #344054;
	font-size: 13px;
}

.jwai-switch-row small {
	color: var(--jwai-muted);
	font-size: 11px;
	font-weight: 500;
}

.jwai-switch-row input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.jwai-switch-row i {
	position: relative;
	flex: 0 0 42px;
	width: 42px;
	height: 24px;
	border-radius: 999px;
	background: #d5dce7;
	transition: background 160ms ease;
}

.jwai-switch-row i::after {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 5px rgba(15, 34, 64, 0.2);
	content: "";
	transition: transform 160ms ease;
}

.jwai-switch-row input:checked + i {
	background: var(--jwai-blue);
}

.jwai-switch-row input:checked + i::after {
	transform: translateX(18px);
}

.jwai-switch-row input:focus-visible + i {
	box-shadow: 0 0 0 4px rgba(23, 105, 224, 0.14);
}

.jwai-switch-row.is-locked {
	cursor: not-allowed;
}

.jwai-switch-row input[aria-disabled="true"] + i {
	cursor: not-allowed;
	opacity: 0.65;
}

.jwai-carrier-note {
	margin: -4px 0 16px;
	padding: 11px 13px;
	border: 1px solid #c8dcf7;
	border-radius: 10px;
	background: #f1f7ff;
	color: #224f86;
	font-size: 12px;
	line-height: 1.5;
}

.jwai-placement-options {
	display: grid;
	gap: 14px;
}

.jwai-placement-options[hidden] {
	display: none !important;
}

.jwai-details {
	border: 1px solid var(--jwai-line);
	border-radius: 12px;
	background: #fff;
}

.jwai-details summary {
	padding: 11px 14px;
	color: #475467;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
}

.jwai-details[open] summary {
	border-bottom: 1px solid var(--jwai-line);
}

.jwai-details .jwai-field {
	padding: 14px;
}

.jwai-consent {
	margin: 0;
	color: var(--jwai-muted);
	font-size: 11px;
	line-height: 1.45;
}

.jwai-recaptcha {
	min-height: 78px;
}

.jwai-altcha {
	display: block;
	width: 100%;
	max-width: 100%;
	min-height: 50px;
}

.jwai-recaptcha-notice {
	margin: 0;
	color: #b42318;
	font-size: 12px;
}

.jwai-button,
.jwai-download,
.jwai-new-generation,
.jwai-change-product {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 46px;
	margin: 0;
	padding: 11px 18px;
	border: 0;
	border-radius: 11px;
	font: inherit;
	font-size: 13px;
	font-weight: 760;
	text-decoration: none;
	cursor: pointer;
	transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.jwai-button {
	width: 100%;
	background: linear-gradient(135deg, var(--jwai-blue), var(--jwai-blue-dark));
	box-shadow: 0 9px 24px rgba(23, 105, 224, 0.22);
	color: #fff;
}

.jwai-button svg,
.jwai-download svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

.jwai-button:hover,
.jwai-download:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 28px rgba(23, 105, 224, 0.3);
	color: #fff;
}

.jwai-button:disabled {
	opacity: 0.7;
	cursor: wait;
	transform: none;
}

.jwai-button.is-loading svg {
	animation: jwai-arrow 1s ease-in-out infinite;
}

@keyframes jwai-arrow {
	50% { transform: translateX(4px); }
}

.jwai-message {
	min-height: 19px;
	margin-top: -10px;
	font-size: 12px;
	font-weight: 680;
	text-align: center;
}

.jwai-message[data-type="error"] { color: var(--jwai-danger); }
.jwai-message[data-type="loading"] { color: var(--jwai-blue); }
.jwai-message[data-type="success"] { color: var(--jwai-success); }

.jwai-studio {
	position: relative;
	display: flex;
	min-height: 720px;
	flex-direction: column;
	padding: 24px;
	background:
		linear-gradient(rgba(210, 218, 230, 0.32) 1px, transparent 1px),
		linear-gradient(90deg, rgba(210, 218, 230, 0.32) 1px, transparent 1px),
		#f5f7fa;
	background-size: 24px 24px;
}

.jwai-studio-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 18px;
	padding: 10px 13px;
	border: 1px solid rgba(215, 222, 233, 0.82);
	border-radius: 11px;
	background: rgba(255, 255, 255, 0.88);
	backdrop-filter: blur(8px);
	box-shadow: 0 4px 15px rgba(25, 45, 78, 0.05);
}

.jwai-studio-toolbar > div {
	display: flex;
	align-items: center;
	gap: 9px;
}

.jwai-studio-toolbar strong {
	color: #344054;
	font-size: 12px;
}

.jwai-image-size {
	color: var(--jwai-muted);
	font-size: 11px;
	font-weight: 650;
}

.jwai-product-stage {
	position: relative;
	display: flex;
	min-height: 500px;
	flex: 1;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 28px;
	border: 1px solid rgba(215, 222, 233, 0.88);
	border-radius: 18px;
	background:
		radial-gradient(circle at center, #fff 0%, rgba(255, 255, 255, 0.92) 42%, rgba(247, 249, 252, 0.9) 100%);
	box-shadow: 0 16px 45px rgba(30, 48, 78, 0.08);
}

.jwai-empty-state {
	display: grid;
	max-width: 310px;
	justify-items: center;
	text-align: center;
}

.jwai-empty-state > span {
	display: grid;
	width: 74px;
	height: 74px;
	margin-bottom: 18px;
	place-items: center;
	border: 1px solid #dce5f2;
	border-radius: 22px;
	background: #f1f6fd;
	color: #7a9ac4;
}

.jwai-empty-state svg {
	width: 34px;
	height: 34px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.35;
}

.jwai-empty-state strong {
	color: #344054;
	font-size: 15px;
}

.jwai-empty-state p {
	margin: 6px 0 0;
	color: var(--jwai-muted);
	font-size: 12px;
}

.jwai-image-shell {
	position: relative;
	max-width: 100%;
	line-height: 0;
}

.jwai-product-image {
	display: block;
	max-width: 100%;
	max-height: 560px;
	width: auto;
	height: auto;
	filter: drop-shadow(0 18px 24px rgba(22, 32, 51, 0.13));
	user-select: none;
}

.jwai-logo-box {
	position: absolute;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	min-height: 0;
	border: 0;
	outline: 1.5px solid var(--jwai-blue);
	border-radius: 4px;
	background: rgba(23, 105, 224, 0.08);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.8), 0 4px 14px rgba(23, 105, 224, 0.16);
	cursor: move;
	touch-action: none;
}

.jwai-logo-box:focus-visible,
.jwai-logo-box.is-moving {
	outline: 3px solid rgba(23, 105, 224, 0.2);
	outline-offset: 2px;
}

.jwai-logo-box img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	pointer-events: none;
	user-select: none;
}

.jwai-logo-box small {
	position: absolute;
	top: -21px;
	left: -1px;
	padding: 2px 6px;
	border-radius: 4px 4px 0 0;
	background: var(--jwai-blue);
	color: #fff;
	font-size: 8px;
	font-weight: 800;
	line-height: 16px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.jwai-resize-handle {
	position: absolute;
	right: -5px;
	bottom: -5px;
	width: 11px;
	height: 11px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: var(--jwai-blue);
	box-shadow: 0 1px 4px rgba(15, 34, 64, 0.25);
	cursor: nwse-resize;
}

.jwai-product-stage.is-generating .jwai-image-shell {
	opacity: 0.28;
	filter: blur(2px);
}

.jwai-product-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 14px;
	padding: 12px 14px;
	border: 1px solid rgba(215, 222, 233, 0.85);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.9);
}

.jwai-product-meta > div {
	display: grid;
	min-width: 0;
	gap: 2px;
}

.jwai-product-meta span {
	color: var(--jwai-muted);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.jwai-product-meta strong {
	overflow: hidden;
	color: #344054;
	font-size: 12px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.jwai-change-product {
	min-height: 32px;
	padding: 6px 10px;
	background: #eef4fc;
	color: var(--jwai-blue);
	font-size: 11px;
}

.jwai-progress-card {
	position: absolute;
	z-index: 10;
	top: 50%;
	left: 50%;
	width: min(360px, calc(100% - 56px));
	padding: 30px;
	transform: translate(-50%, -50%);
	border: 1px solid rgba(255, 255, 255, 0.9);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 24px 70px rgba(15, 34, 64, 0.2);
	backdrop-filter: blur(14px);
	text-align: center;
}

.jwai-progress-visual {
	display: flex;
	justify-content: center;
	gap: 7px;
	margin-bottom: 16px;
}

.jwai-progress-visual span {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--jwai-blue);
	animation: jwai-pulse 1.2s infinite ease-in-out;
}

.jwai-progress-visual span:nth-child(2) { animation-delay: 0.16s; }
.jwai-progress-visual span:nth-child(3) { animation-delay: 0.32s; }

@keyframes jwai-pulse {
	0%, 80%, 100% { opacity: 0.28; transform: scale(0.75); }
	40% { opacity: 1; transform: scale(1); }
}

.jwai-progress-card strong {
	display: block;
	color: var(--jwai-navy);
	font-size: 16px;
}

.jwai-progress-card p {
	margin: 5px 0 16px;
	color: var(--jwai-muted);
	font-size: 12px;
}

.jwai-progress-track {
	overflow: hidden;
	height: 4px;
	border-radius: 99px;
	background: #e7edf5;
}

.jwai-progress-track i {
	display: block;
	width: 45%;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--jwai-blue), var(--jwai-cyan));
	animation: jwai-track 1.5s infinite ease-in-out;
}

@keyframes jwai-track {
	from { transform: translateX(-110%); }
	to { transform: translateX(330%); }
}

.jwai-result {
	position: absolute;
	z-index: 12;
	inset: 24px;
	overflow: auto;
	padding: 22px;
	border: 1px solid var(--jwai-line);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 20px 60px rgba(15, 34, 64, 0.16);
}

.jwai-result-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}

.jwai-result-head > div {
	display: grid;
	gap: 1px;
}

.jwai-result-head span:first-child {
	color: var(--jwai-muted);
	font-size: 10px;
	font-weight: 750;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.jwai-result-head strong {
	color: var(--jwai-navy);
	font-size: 18px;
}

.jwai-success-check {
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	border-radius: 50%;
	background: #e7f8f1;
	color: var(--jwai-success);
	font-weight: 850;
}

.jwai-result > img {
	display: block;
	width: 100%;
	max-height: 520px;
	object-fit: contain;
	border: 1px solid #edf0f5;
	border-radius: 13px;
	background: var(--jwai-soft);
}

.jwai-result-actions {
	display: flex;
	gap: 10px;
	margin-top: 16px;
}

.jwai-download {
	flex: 1;
	background: var(--jwai-blue);
	color: #fff;
}

.jwai-app a.jwai-download,
.jwai-app a.jwai-download:link,
.jwai-app a.jwai-download:visited,
.jwai-app a.jwai-download:hover,
.jwai-app a.jwai-download:focus,
.jwai-app a.jwai-download:active {
	color: #fff !important;
	text-decoration: none;
}

.jwai-app a.jwai-download svg,
.jwai-app a.jwai-download svg path {
	fill: none !important;
	stroke: #fff !important;
}

.jwai-new-generation {
	border: 1px solid #d7dee9;
	background: #fff;
	color: #344054;
}

.jwai-new-generation:hover,
.jwai-change-product:hover {
	background: #f3f6fa;
}

@media (max-width: 960px) {
	.jwai-app {
		margin: 20px auto;
	}

	.jwai-form {
		grid-template-columns: 1fr;
	}

	.jwai-controls {
		border-right: 0;
		border-bottom: 1px solid var(--jwai-line);
	}

	.jwai-studio {
		min-height: 680px;
	}
}

@media (max-width: 640px) {
	.jwai-app {
		font-size: 15px;
	}

	.jwai-hero {
		align-items: flex-start;
		flex-direction: column;
		padding: 30px 24px;
		border-radius: 18px 18px 0 0;
	}

	.jwai-hero h2 {
		font-size: 34px;
	}

	.jwai-provider-badge {
		align-self: flex-start;
	}

	.jwai-stepper span {
		gap: 6px;
		padding: 12px 6px;
		font-size: 11px;
	}

	.jwai-stepper b {
		width: 21px;
		height: 21px;
	}

	.jwai-form {
		border-radius: 0 0 18px 18px;
	}

	.jwai-controls,
	.jwai-studio {
		padding: 22px 18px;
	}

	.jwai-grid-2 {
		grid-template-columns: 1fr;
	}

	.jwai-product-stage {
		min-height: 400px;
		padding: 20px 12px;
	}

	.jwai-product-image {
		max-height: 440px;
	}

	.jwai-result {
		inset: 18px;
		padding: 16px;
	}

	.jwai-result-actions {
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jwai-app *,
	.jwai-app *::before,
	.jwai-app *::after {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

.jwai-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.jwai-mode-switch {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	border: 0;
}

.jwai-mode-option {
	position: relative;
	display: block;
	cursor: pointer;
}

.jwai-placement-switch {
	margin: 16px 0;
}

.jwai-placement-switch legend {
	margin-bottom: 10px;
}

.jwai-mode-option > input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.jwai-mode-option > span {
	display: flex;
	gap: 12px;
	align-items: center;
	height: 100%;
	padding: 14px;
	border: 1px solid #d8dde5;
	border-radius: 12px;
	background: #fff;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.jwai-mode-option strong,
.jwai-mode-option small {
	display: block;
}

.jwai-mode-option input:checked + span {
	border-color: #f4c400;
	box-shadow: 0 0 0 2px rgba(244, 196, 0, .22);
}

.jwai-mode-option input:focus-visible + span {
	outline: 2px solid #111;
	outline-offset: 2px;
}

.jwai-mode-option input:disabled + span {
	cursor: not-allowed;
	opacity: .55;
}

.jwai-bodegon-carousel {
	display: grid;
	gap: 12px;
}

.jwai-bodegon-viewport {
	overflow: hidden;
	border-radius: 14px;
}

.jwai-bodegon-track {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
	transition: transform .35s ease;
}

.jwai-bodegon-slide {
	flex: 0 0 100%;
	min-width: 0;
}

.jwai-bodegon-card {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	cursor: pointer;
	text-align: left;
	color: inherit;
	font: inherit;
}

.jwai-bodegon-card:focus-visible {
	outline: 2px solid #111;
	outline-offset: 2px;
	border-radius: 12px;
}

.jwai-bodegon-thumb {
	display: grid;
	place-items: center;
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border: 1px solid #d8dde5;
	border-radius: 12px;
	background: #f2f3f5;
}

.jwai-bodegon-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.jwai-bodegon-text {
	display: block;
	padding: 0 4px;
	font-weight: 700;
}

.jwai-bodegon-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
}

.jwai-bodegon-arrow {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border: 1px solid #d8dde5;
	border-radius: 50%;
	background: #fff;
	color: #102a4c;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	transition: border-color .2s ease, background .2s ease;
}

.jwai-bodegon-arrow:hover {
	border-color: #f4c400;
	background: #fff8e0;
}

.jwai-bodegon-arrow:focus-visible {
	outline: 2px solid #111;
	outline-offset: 2px;
}

.jwai-bodegon-dots {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.jwai-bodegon-dot {
	width: 9px;
	height: 9px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #cbd2dc;
	cursor: pointer;
	transition: background .2s ease, transform .2s ease;
}

.jwai-bodegon-dot.is-active {
	background: #f4c400;
	transform: scale(1.25);
}

.jwai-bodegon-count {
	margin: 0;
	text-align: center;
	color: #667085;
	font-size: 12px;
}

.jwai-bodegon-empty {
	padding: 14px;
	border-radius: 10px;
	background: #f6f7f8;
}

/* Scope controls to the studio so theme button styles do not colour the slider. */
.jwai-app .jwai-bodegon-track {
	gap: 0;
	margin: 0;
	padding: 0;
}

.jwai-app .jwai-bodegon-slide {
	margin: 0;
	padding: 3px;
	list-style: none;
}

.jwai-app .jwai-bodegon-card,
.jwai-app .jwai-bodegon-card:hover,
.jwai-app .jwai-bodegon-card:focus {
	gap: 0;
	overflow: hidden;
	padding: 0;
	border: 1px solid var(--jwai-line);
	border-radius: 14px;
	background: #fff;
	color: var(--jwai-ink);
	box-shadow: none;
	text-transform: none;
	letter-spacing: normal;
}

.jwai-app .jwai-bodegon-card[aria-pressed="true"] {
	border-color: var(--jwai-blue);
	box-shadow: 0 0 0 2px rgba(23, 105, 224, .12);
}

.jwai-app .jwai-bodegon-thumb {
	aspect-ratio: 16 / 9;
	padding: 12px;
	border: 0;
	border-radius: 0;
	background: #f7f9fc;
}

.jwai-app .jwai-bodegon-thumb img {
	min-width: 0;
	min-height: 0;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.jwai-app .jwai-bodegon-text {
	padding: 14px 16px;
	border-top: 1px solid var(--jwai-line);
	font-size: 14px;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

.jwai-app .jwai-bodegon-arrow {
	display: grid;
	width: 42px;
	min-width: 42px;
	height: 42px;
	min-height: 42px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--jwai-line);
	background: #fff;
	color: var(--jwai-navy);
	box-shadow: 0 2px 6px rgba(13, 34, 64, .06);
	font-size: 24px;
	line-height: 1;
}

.jwai-app .jwai-bodegon-arrow:hover,
.jwai-app .jwai-bodegon-arrow:focus-visible {
	border-color: var(--jwai-blue);
	background: #edf4ff;
	color: var(--jwai-blue);
}

.jwai-app .jwai-bodegon-dot {
	width: 24px;
	min-width: 24px;
	height: 24px;
	min-height: 24px;
	margin: 0;
	padding: 0;
	border: 7px solid #fff;
	border-radius: 50%;
	background: #cbd2dc;
	box-shadow: none;
}

.jwai-app .jwai-bodegon-dot.is-active {
	background: var(--jwai-blue);
	transform: none;
}

.jwai-app[data-jwai-mode="bodegon"] .jwai-studio {
	min-height: 0;
	justify-content: flex-start;
}

.jwai-app[data-jwai-mode="bodegon"] .jwai-product-stage {
	min-height: 0;
	flex: 0 0 auto;
	width: 100%;
	aspect-ratio: 16 / 10;
	padding: 14px;
}

.jwai-app[data-jwai-mode="bodegon"] .jwai-image-shell {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-width: 0;
}

.jwai-app[data-jwai-mode="bodegon"] .jwai-product-image {
	width: 100%;
	height: 100%;
	max-height: 100%;
	object-fit: contain;
	filter: none;
}

@media (max-width: 640px) {
	.jwai-app[data-jwai-mode="bodegon"] .jwai-product-stage {
		padding: 8px;
	}
}

@media (max-width: 640px) {
	.jwai-mode-switch {
		grid-template-columns: 1fr;
	}
}
