/*
 * WoowBot AI Studio: the look of the admin screens.
 *
 * Owned by WoowBot Free; it is not part of the synced AI Studio core. It loads after the core's own
 * styles, on AI Studio screens only (see class-qcld-woowbot-studio-design.php), and every rule is scoped
 * to body.wpbot-studio-screen, so no other admin screen changes. System fonts, no images, no requests.
 *
 * Sections: 1 tokens, 2 page and header, 3 buttons, 4 form controls, 5 tabs, 6 badges and tags,
 * 7 notices, 8 dashboard cards, 9 tables, 10 settings, 11 asset library, 12 try-on, 13 previews and
 * bulk jobs, 14 the Image, Create and Video apps, 15 dialogs, 16 small screens and reduced motion.
 */

/* 1. Tokens -------------------------------------------------------------------------------------- */
body.wpbot-studio-screen {
	--wsd-brand: #a1408d;
	--wsd-brand-strong: #86306f;
	--wsd-brand-mid: #7a3a9e;
	--wsd-brand-deep: #5b2a86;
	--wsd-brand-soft: #f9eff7;
	--wsd-brand-ring: rgba(161, 64, 141, 0.22);
	--wsd-ink: #1f2430;
	--wsd-muted: #5b6475;
	--wsd-faint: #677186;
	--wsd-line: #e6e8ef;
	--wsd-line-strong: #d4d8e3;
	--wsd-canvas: #f4f5fa;
	--wsd-soft: #f7f8fc;
	--wsd-ok: #0b7a54;
	--wsd-ok-bg: #e6f6ef;
	--wsd-warn: #8a5300;
	--wsd-warn-bg: #fff4dc;
	--wsd-fail: #b3261e;
	--wsd-fail-bg: #fdecea;
	--wsd-info: #1d4f9f;
	--wsd-info-bg: #e8f0fe;
	--wsd-radius: 14px;
	--wsd-radius-sm: 10px;
	--wsd-shadow-sm: 0 1px 2px rgba(20, 24, 40, 0.05), 0 1px 3px rgba(20, 24, 40, 0.06);
	--wsd-shadow-md: 0 8px 24px rgba(20, 24, 40, 0.1);
	--wsd-shadow-lg: 0 24px 64px rgba(20, 24, 40, 0.28);
	--wsd-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	/* WordPress's own controls (primary buttons, focus rings, checked boxes) read these. */
	--wp-admin-theme-color: #a1408d;
	--wp-admin-theme-color--rgb: 161, 64, 141;
	--wp-admin-theme-color-darker-10: #86306f;
	--wp-admin-theme-color-darker-10--rgb: 134, 48, 111;
	--wp-admin-theme-color-darker-20: #6e2759;
	--wp-admin-theme-color-darker-20--rgb: 110, 39, 89;

	background: var(--wsd-canvas);
}

/* The Image, Create and Video apps and their dialogs set their own variables; these win over them. */
body.wpbot-studio-screen .wps-app,
body.wpbot-studio-screen .wps-dialog {
	--wps-accent: var(--wsd-brand);
	--wps-border: var(--wsd-line-strong);
	--wps-muted: var(--wsd-muted);
	--wps-soft: var(--wsd-soft);
}

/* 2. Page and header ------------------------------------------------------------------------------ */
body.wpbot-studio-screen #wpcontent,
body.wpbot-studio-screen #wpbody-content {
	background: transparent;
}

.wpbot-studio-screen .wpbot-studio-wrap {
	max-width: 100%;
	margin: 5px 0px 40px 0px;
	font-family: var(--wsd-font);
	color: var(--wsd-ink);
	font-size: 14px;
	line-height: 1.55;
}

.wpbot-studio-screen .wpbot-studio-wrap > .wpbot-studio-title {
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0 0 10px;
	padding: 20px 15px;
	overflow: hidden;
	border-radius: 10px;
	background: linear-gradient(120deg, var(--wsd-brand) 0%, var(--wsd-brand-mid) 55%, var(--wsd-brand-deep) 100%);
	box-shadow: var(--wsd-shadow-md);
	color: #fff;
	font-size: 25px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.wpbot-studio-screen .wpbot-studio-wrap > .wpbot-studio-title::before {
	content: "\f226";
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 13px;
	background: rgba(255, 255, 255, 0.18);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
	font: normal 24px/1 dashicons;
}

.wpbot-studio-screen .wpbot-studio-wrap > .wpbot-studio-title::after {
	content: "";
	position: absolute;
	top: -70px;
	right: -50px;
	width: 260px;
	height: 260px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0) 68%);
	pointer-events: none;
}

/* One icon per page, from the body class the PHP module adds. */
.wpbot-studio-page-settings .wpbot-studio-wrap > .wpbot-studio-title::before { content: "\f111"; }
.wpbot-studio-page-tryon .wpbot-studio-wrap > .wpbot-studio-title::before { content: "\f110"; }
.wpbot-studio-page-library .wpbot-studio-wrap > .wpbot-studio-title::before { content: "\f104"; }
.wpbot-studio-page-video .wpbot-studio-wrap > .wpbot-studio-title::before { content: "\f126"; }
.wpbot-studio-page-image .wpbot-studio-wrap > .wpbot-studio-title::before { content: "\f128"; }
.wpbot-studio-page-create .wpbot-studio-wrap > .wpbot-studio-title::before { content: "\f309"; }
.wpbot-studio-page-bulk_preview .wpbot-studio-wrap > .wpbot-studio-title::before { content: "\f233"; }

.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-subtitle {
	max-width: 78ch;
	margin: -4px 2px 20px;
	color: var(--wsd-muted);
	font-size: 14.5px;
	line-height: 1.6;
}

.wpbot-studio-screen .wpbot-studio-wrap > h2 {
	margin: 30px 2px 6px;
	padding: 0;
	color: var(--wsd-ink);
	font-size: 21px;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.3;
}

.wpbot-studio-screen .wpbot-studio-wrap > h3 {
	margin: 24px 2px 6px;
	color: var(--wsd-ink);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
}

.wpbot-studio-screen .wpbot-studio-wrap .description,
.wpbot-studio-screen .wps-dialog .description {
	color: var(--wsd-muted);
	font-size: 13px;
	font-style: normal;
	line-height: 1.6;
}

.wpbot-studio-screen .wpbot-studio-wrap > p.description {
	max-width: 90ch;
	margin: 2px 2px 14px;
}

.wpbot-studio-screen .wpbot-studio-wrap a {
	color: var(--wsd-brand);
	text-underline-offset: 2px;
}

.wpbot-studio-screen .wpbot-studio-wrap a:hover {
	color: var(--wsd-brand-strong);
}

/* 3. Buttons -------------------------------------------------------------------------------------- */
.wpbot-studio-screen .wpbot-studio-wrap .button:not(.button-link),
.wpbot-studio-screen .wps-dialog .button:not(.button-link) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 38px;
	padding: 0 16px;
	border: 1px solid var(--wsd-line-strong);
	border-radius: var(--wsd-radius-sm);
	background: #fff;
	box-shadow: var(--wsd-shadow-sm);
	color: var(--wsd-ink);
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.wpbot-studio-screen .wpbot-studio-wrap .button:not(.button-link):hover,
.wpbot-studio-screen .wpbot-studio-wrap .button:not(.button-link):focus,
.wpbot-studio-screen .wps-dialog .button:not(.button-link):hover,
.wpbot-studio-screen .wps-dialog .button:not(.button-link):focus {
	border-color: var(--wsd-brand);
	background: var(--wsd-brand-soft);
	color: var(--wsd-brand-strong);
}

.wpbot-studio-screen .wpbot-studio-wrap .button:focus-visible,
.wpbot-studio-screen .wps-dialog .button:focus-visible {
	outline: 0;
	box-shadow: 0 0 0 3px var(--wsd-brand-ring);
}

.wpbot-studio-screen .wpbot-studio-wrap .button:active,
.wpbot-studio-screen .wps-dialog .button:active {
	transform: translateY(1px);
}

.wpbot-studio-screen .wpbot-studio-wrap .button-primary,
.wpbot-studio-screen .wps-dialog .button-primary {
	border-color: var(--wsd-brand-strong);
	background: linear-gradient(180deg, #b24c9d 0%, var(--wsd-brand) 100%);
	box-shadow: 0 1px 2px rgba(110, 39, 89, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
	color: #fff;
}

.wpbot-studio-screen .wpbot-studio-wrap .button-primary:hover,
.wpbot-studio-screen .wpbot-studio-wrap .button-primary:focus,
.wpbot-studio-screen .wps-dialog .button-primary:hover,
.wpbot-studio-screen .wps-dialog .button-primary:focus {
	border-color: var(--wsd-brand-strong);
	background: linear-gradient(180deg, var(--wsd-brand) 0%, var(--wsd-brand-strong) 100%);
	color: #fff;
}

.wpbot-studio-screen .wpbot-studio-wrap .button-small,
.wpbot-studio-screen .wps-dialog .button-small {
	min-height: 32px;
	padding: 0 12px;
	font-size: 12.5px;
}

.wpbot-studio-screen .wpbot-studio-wrap .button[disabled],
.wpbot-studio-screen .wpbot-studio-wrap .button.disabled,
.wpbot-studio-screen .wps-dialog .button[disabled] {
	border-color: var(--wsd-line);
	background: var(--wsd-soft);
	box-shadow: none;
	color: var(--wsd-faint);
	cursor: not-allowed;
	transform: none;
}

.wpbot-studio-screen .wpbot-studio-wrap .button-link-delete,
.wpbot-studio-screen .wpbot-studio-wrap .wps-danger,
.wpbot-studio-screen .wps-dialog .wps-danger {
	border-color: #f0c5c1 !important;
	color: var(--wsd-fail) !important;
}

.wpbot-studio-screen .wpbot-studio-wrap .button-link-delete:hover,
.wpbot-studio-screen .wpbot-studio-wrap .wps-danger:hover,
.wpbot-studio-screen .wps-dialog .wps-danger:hover {
	background: var(--wsd-fail-bg) !important;
	border-color: var(--wsd-fail) !important;
}

.wpbot-studio-screen .wpbot-studio-wrap .button .dashicons {
	width: 16px;
	height: 16px;
	font-size: 16px;
	margin: 0;
}

.wpbot-studio-screen .wpbot-studio-wrap .button .dashicons::before {
	width: 16px;
	height: 16px;
	font-size: 16px;
	line-height: 16px;
}

/* 4. Form controls -------------------------------------------------------------------------------- */
.wpbot-studio-screen .wpbot-studio-wrap :is(input[type="text"], input[type="search"], input[type="number"], input[type="password"], input[type="email"], input[type="url"], input[type="date"], input[type="datetime-local"], select, textarea),
.wpbot-studio-screen .wps-dialog :is(input[type="text"], input[type="search"], input[type="number"], input[type="password"], input[type="email"], input[type="url"], input[type="date"], select, textarea) {
	min-height: 40px;
	padding: 0 12px;
	border: 1px solid var(--wsd-line-strong);
	border-radius: var(--wsd-radius-sm);
	background-color: #fff;
	box-shadow: none;
	color: var(--wsd-ink);
	font-size: 14px;
	line-height: 1.4;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wpbot-studio-screen .wpbot-studio-wrap select,
.wpbot-studio-screen .wps-dialog select {
	padding-right: 32px;
}

.wpbot-studio-screen .wpbot-studio-wrap textarea,
.wpbot-studio-screen .wps-dialog textarea {
	min-height: 96px;
	padding: 10px 12px;
}

.wpbot-studio-screen .wpbot-studio-wrap :is(input, select, textarea):focus,
.wpbot-studio-screen .wps-dialog :is(input, select, textarea):focus {
	border-color: var(--wsd-brand);
	box-shadow: 0 0 0 3px var(--wsd-brand-ring);
	outline: 0;
}

.wpbot-studio-screen .wpbot-studio-wrap :is(input, select, textarea)[disabled],
.wpbot-studio-screen .wps-dialog :is(input, select, textarea)[disabled] {
	background-color: var(--wsd-soft);
	color: var(--wsd-faint);
	cursor: not-allowed;
}

.wpbot-studio-screen .wpbot-studio-wrap .is-invalid {
	border-color: var(--wsd-fail) !important;
	background-color: #fff8f7 !important;
	box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.12) !important;
}

.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-required,
.wpbot-studio-screen .wpbot-studio-wrap .wpsc-required {
	color: var(--wsd-fail);
}

/* WordPress draws the check mark and radio dot in its own blue; use the brand colour instead. */
.wpbot-studio-screen .wpbot-studio-wrap input[type="checkbox"],
.wpbot-studio-screen .wpbot-studio-wrap input[type="radio"],
.wpbot-studio-screen .wps-dialog input[type="checkbox"],
.wpbot-studio-screen .wps-dialog input[type="radio"] {
	border-color: var(--wsd-line-strong);
	box-shadow: none;
}

.wpbot-studio-screen .wpbot-studio-wrap input[type="checkbox"] {
	border-radius: 5px;
}

.wpbot-studio-screen .wpbot-studio-wrap input[type="checkbox"]:checked,
.wpbot-studio-screen .wps-dialog input[type="checkbox"]:checked {
	border-color: var(--wsd-brand);
	background: var(--wsd-brand);
}

.wpbot-studio-screen .wpbot-studio-wrap input[type="checkbox"]:checked::before,
.wpbot-studio-screen .wps-dialog input[type="checkbox"]:checked::before {
	content: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M14.83 4.89l1.34.94-5.81 8.38H9.02L5.78 9.67l1.34-1.25 2.57 2.4z' fill='%23fff'/%3E%3C/svg%3E");
}

.wpbot-studio-screen .wpbot-studio-wrap input[type="radio"]:checked,
.wpbot-studio-screen .wps-dialog input[type="radio"]:checked {
	border-color: var(--wsd-brand);
}

.wpbot-studio-screen .wpbot-studio-wrap input[type="radio"]:checked::before,
.wpbot-studio-screen .wps-dialog input[type="radio"]:checked::before {
	background-color: var(--wsd-brand);
}

.wpbot-studio-screen .wpbot-studio-wrap :is(input[type="checkbox"], input[type="radio"]):focus,
.wpbot-studio-screen .wps-dialog :is(input[type="checkbox"], input[type="radio"]):focus {
	border-color: var(--wsd-brand);
	box-shadow: 0 0 0 3px var(--wsd-brand-ring);
}

.wpbot-studio-screen .wpbot-studio-wrap input[type="range"],
.wpbot-studio-screen .wpbot-studio-wrap progress,
.wpbot-studio-screen .wps-dialog input[type="range"] {
	accent-color: var(--wsd-brand);
}

/* 5. Tabs ----------------------------------------------------------------------------------------- */
.wpbot-studio-screen .wpbot-studio-wrap .nav-tab-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 22px;
	padding: 6px;
	border: 1px solid var(--wsd-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: var(--wsd-shadow-sm);
}

.wpbot-studio-screen .wpbot-studio-wrap .nav-tab {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	float: none;
	margin: 0;
	padding: 9px 16px;
	border: 0;
	border-radius: 11px;
	background: transparent;
	color: var(--wsd-muted);
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.wpbot-studio-screen .wpbot-studio-wrap a.nav-tab:hover,
.wpbot-studio-screen .wpbot-studio-wrap a.nav-tab:focus {
	background: var(--wsd-soft);
	color: var(--wsd-brand-strong);
	box-shadow: none;
}

.wpbot-studio-screen .wpbot-studio-wrap a.nav-tab:focus-visible {
	outline: 0;
	box-shadow: 0 0 0 3px var(--wsd-brand-ring);
}

.wpbot-studio-screen .wpbot-studio-wrap .nav-tab.nav-tab-active,
.wpbot-studio-screen .wpbot-studio-wrap a.nav-tab.nav-tab-active:hover,
.wpbot-studio-screen .wpbot-studio-wrap a.nav-tab.nav-tab-active:focus {
	background: linear-gradient(120deg, var(--wsd-brand), var(--wsd-brand-mid));
	box-shadow: 0 4px 12px rgba(161, 64, 141, 0.32);
	color: #fff;
}

.wpbot-studio-screen .wpbot-studio-wrap span.nav-tab {
	cursor: default;
}

/* 6. Badges and tags ------------------------------------------------------------------------------ */
.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-badge,
.wpbot-studio-screen .wpbot-studio-wrap .wps-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 11px;
	border-radius: 999px;
	background: var(--wsd-soft);
	color: var(--wsd-muted);
	font-size: 12px;
	font-weight: 600;
	line-height: 18px;
}

.wpbot-studio-screen .wpbot-studio-wrap :is(.wpbot-studio-badge, .wps-badge):is(.is-ok, .is-warn, .is-fail, .is-info)::before {
	content: "";
	flex: none;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
}

.wpbot-studio-screen .wpbot-studio-wrap :is(.wpbot-studio-badge, .wps-badge).is-ok {
	background: var(--wsd-ok-bg);
	color: var(--wsd-ok);
}

.wpbot-studio-screen .wpbot-studio-wrap :is(.wpbot-studio-badge, .wps-badge).is-warn {
	background: var(--wsd-warn-bg);
	color: var(--wsd-warn);
}

.wpbot-studio-screen .wpbot-studio-wrap :is(.wpbot-studio-badge, .wps-badge).is-fail {
	background: var(--wsd-fail-bg);
	color: var(--wsd-fail);
}

.wpbot-studio-screen .wpbot-studio-wrap :is(.wpbot-studio-badge, .wps-badge).is-info {
	background: var(--wsd-info-bg);
	color: var(--wsd-info);
}

.wpbot-studio-screen .wpbot-studio-tag,
.wpbot-studio-screen .wpbot-studio-wrap .wps-tag,
.wpbot-studio-screen .wpbot-studio-wrap .wpsc-type-badge {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--wsd-brand-soft);
	color: var(--wsd-brand-strong);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 16px;
	text-transform: uppercase;
	vertical-align: middle;
}

.wpbot-studio-screen .wpbot-studio-wrap .nav-tab .wpbot-studio-tag {
	margin: 0;
}

.wpbot-studio-screen .wpbot-studio-wrap .nav-tab-active .wpbot-studio-tag {
	background: rgba(255, 255, 255, 0.24);
	color: #fff;
}

.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-result.is-ok { color: var(--wsd-ok); }
.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-result.is-fail { color: var(--wsd-fail); }

/* 7. Notices and callouts ------------------------------------------------------------------------- */
.wpbot-studio-screen .wpbot-studio-wrap .notice:not([style]) {
	margin: 0 0 18px;
	padding: 14px 18px;
	border: 1px solid var(--wsd-line);
	border-left-width: 4px;
	border-radius: 12px;
	background: #fff;
	box-shadow: var(--wsd-shadow-sm);
}

.wpbot-studio-screen .wpbot-studio-wrap .notice:not([style]) p {
	margin: 0;
	padding: 0;
	font-size: 13.5px;
	line-height: 1.6;
}

.wpbot-studio-screen .wpbot-studio-wrap .notice-info:not([style]) { border-left-color: #4a86e8; background: #f6f9ff; }
.wpbot-studio-screen .wpbot-studio-wrap .notice-success:not([style]) { border-left-color: #1fa971; background: #f4fbf7; }
.wpbot-studio-screen .wpbot-studio-wrap .notice-warning:not([style]) { border-left-color: #e0a100; background: #fffaf0; }
.wpbot-studio-screen .wpbot-studio-wrap .notice-error:not([style]) { border-left-color: #d9473d; background: #fff7f6; }

.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-size-hint,
.wpbot-studio-screen .wpbot-studio-wrap .wps-size-hint {
	margin: 8px 0 0;
	padding: 10px 14px;
	border: 1px solid #cfe0fb;
	border-left: 4px solid #4a86e8;
	border-radius: 10px;
	background: #f6f9ff;
	font-size: 13px;
}

.wpbot-studio-screen .wpbot-studio-wrap .wps-problem,
.wpbot-studio-screen .wpbot-studio-wrap .wps-warning,
.wpbot-studio-screen .wpbot-studio-wrap .wps-checks {
	border-radius: 10px;
	font-size: 13px;
}

.wpbot-studio-screen .wpbot-studio-wrap .wps-problem {
	border: 1px solid #f3c9c5;
	border-left: 4px solid var(--wsd-fail);
	background: var(--wsd-fail-bg);
}

.wpbot-studio-screen .wpbot-studio-wrap .wps-warning,
.wpbot-studio-screen .wpbot-studio-wrap .wps-checks {
	border: 1px solid #f1dcaa;
	border-left: 4px solid #e0a100;
	background: var(--wsd-warn-bg);
}

/* 8. Dashboard cards ------------------------------------------------------------------------------ */
.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-cards {
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
	margin-top: 4px;
}

.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 24px 24px 22px;
	overflow: hidden;
	border: 1px solid var(--wsd-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: var(--wsd-shadow-sm);
	transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-card::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--wsd-brand), var(--wsd-brand-deep));
	opacity: 0.85;
}

.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-card:hover {
	border-color: var(--wsd-line-strong);
	box-shadow: var(--wsd-shadow-md);
	transform: translateY(-2px);
}

.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-card h2 {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 10px;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-card p {
	margin: 0 0 14px;
	color: var(--wsd-muted);
	font-size: 13.5px;
}

.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-card > p:last-child {
	margin: auto 0 0;
	padding-top: 6px;
}

.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-counts {
	gap: 8px;
}

/* 9. Tables --------------------------------------------------------------------------------------- */
.wpbot-studio-screen .wpbot-studio-wrap table.widefat {
	border: 1px solid var(--wsd-line);
	border-collapse: separate;
	border-radius: var(--wsd-radius);
	border-spacing: 0;
	background: #fff;
	box-shadow: var(--wsd-shadow-sm);
}

.wpbot-studio-screen .wpbot-studio-wrap table.widefat thead th {
	padding: 12px 16px;
	border-bottom: 1px solid var(--wsd-line);
	background: var(--wsd-soft);
	color: var(--wsd-muted);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.wpbot-studio-screen .wpbot-studio-wrap table.widefat td,
.wpbot-studio-screen .wpbot-studio-wrap table.widefat tbody th {
	padding: 14px 16px;
	border-bottom: 1px solid var(--wsd-line);
	vertical-align: top;
}

.wpbot-studio-screen .wpbot-studio-wrap table.widefat tbody tr:last-child > td,
.wpbot-studio-screen .wpbot-studio-wrap table.widefat tbody tr:last-child > th {
	border-bottom: 0;
}

.wpbot-studio-screen .wpbot-studio-wrap table.widefat.striped > tbody > :nth-child(odd) {
	background: transparent;
}

.wpbot-studio-screen .wpbot-studio-wrap table.widefat tbody tr:hover > td {
	background: #fcfbfe;
}

.wpbot-studio-screen .wpbot-studio-wrap table.form-table {
	width: 100%;
	margin: 12px 0 18px;
	border: 1px solid var(--wsd-line);
	border-collapse: separate;
	border-radius: var(--wsd-radius);
	border-spacing: 0;
	background: #fff;
	box-shadow: var(--wsd-shadow-sm);
}

.wpbot-studio-screen .wpbot-studio-wrap table.form-table th {
	width: 240px;
	padding: 18px 20px;
	border-bottom: 1px solid var(--wsd-line);
	color: var(--wsd-ink);
	font-size: 13.5px;
	font-weight: 600;
	vertical-align: top;
}

.wpbot-studio-screen .wpbot-studio-wrap table.form-table td {
	padding: 16px 20px;
	border-bottom: 1px solid var(--wsd-line);
	vertical-align: top;
}

.wpbot-studio-screen .wpbot-studio-wrap table.form-table tr:last-child > th,
.wpbot-studio-screen .wpbot-studio-wrap table.form-table tr:last-child > td {
	border-bottom: 0;
}

/* Rounded corners without overflow:hidden, so a wide table can still scroll on a small screen. */
.wpbot-studio-screen .wpbot-studio-wrap table.widefat thead tr:first-child > th:first-child { border-top-left-radius: 13px; }
.wpbot-studio-screen .wpbot-studio-wrap table.widefat thead tr:first-child > th:last-child { border-top-right-radius: 13px; }
.wpbot-studio-screen .wpbot-studio-wrap table.widefat tbody tr:last-child > :first-child { border-bottom-left-radius: 13px; }
.wpbot-studio-screen .wpbot-studio-wrap table.widefat tbody tr:last-child > :last-child { border-bottom-right-radius: 13px; }
.wpbot-studio-screen .wpbot-studio-wrap table.form-table tr:first-child > :first-child { border-top-left-radius: 13px; }
.wpbot-studio-screen .wpbot-studio-wrap table.form-table tr:first-child > :last-child { border-top-right-radius: 13px; }
.wpbot-studio-screen .wpbot-studio-wrap table.form-table tr:last-child > :first-child { border-bottom-left-radius: 13px; }
.wpbot-studio-screen .wpbot-studio-wrap table.form-table tr:last-child > :last-child { border-bottom-right-radius: 13px; }

.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-edit-row .form-table {
	margin: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-edit-row > td {
	background: var(--wsd-soft);
}

/* 10. Settings & Usage ---------------------------------------------------------------------------- */
.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-readiness {
	gap: 10px 12px;
	margin: 14px 0 6px;
	padding: 0;
	list-style: none;
}

.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-readiness li {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	max-width: 100%;
	margin: 0;
	padding: 9px 14px;
	border: 1px solid var(--wsd-line);
	border-radius: 12px;
	background: #fff;
	box-shadow: var(--wsd-shadow-sm);
}

.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-readiness li strong {
	white-space: nowrap;
}

.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-section-head {
	flex-wrap: wrap;
	margin: 30px 2px 8px;
}

.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-section-head h3 {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
}

.wpbot-studio-screen .wpbot-studio-wrap details.wpbot-studio-add-connection,
.wpbot-studio-screen .wpbot-studio-wrap details.wpbot-studio-advanced {
	margin: 18px 0;
	padding: 4px 20px;
	border: 1px solid var(--wsd-line);
	border-radius: var(--wsd-radius);
	background: #fff;
	box-shadow: var(--wsd-shadow-sm);
}

.wpbot-studio-screen .wpbot-studio-wrap details.wpbot-studio-add-connection > summary,
.wpbot-studio-screen .wpbot-studio-wrap details.wpbot-studio-advanced > summary {
	padding: 12px 0;
	color: var(--wsd-ink);
	font-size: 14.5px;
	font-weight: 700;
}

.wpbot-studio-screen .wpbot-studio-wrap details.wpbot-studio-add-connection[open] > summary,
.wpbot-studio-screen .wpbot-studio-wrap details.wpbot-studio-advanced[open] > summary {
	border-bottom: 1px solid var(--wsd-line);
	margin-bottom: 8px;
}

.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-add-row > td {
	border: 1px solid var(--wsd-brand-ring);
	background: #fff;
}

.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-task-table .wpbot-studio-field label,
.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-field > label,
.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-field > span:first-child {
	color: var(--wsd-ink);
	font-size: 12.5px;
	font-weight: 600;
}

.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-active-for .wpbot-studio-active-box {
	margin: 0 0 6px;
	font-size: 13px;
}

/* 11. Asset Library ------------------------------------------------------------------------------- */
.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-filters {
	gap: 10px 12px;
	margin: 0 0 14px;
	padding: 16px 18px;
	border: 1px solid var(--wsd-line);
	border-radius: var(--wsd-radius);
	background: #fff;
	box-shadow: var(--wsd-shadow-sm);
}

.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-filters label {
	color: var(--wsd-muted);
	font-size: 12.5px;
	font-weight: 600;
}

.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-filters :is(input, select) {
	min-height: 38px;
	font-weight: 400;
}

.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-library {
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 18px;
}

.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-asset {
	padding: 10px;
	border: 1px solid var(--wsd-line);
	border-radius: var(--wsd-radius);
	background: #fff;
	box-shadow: var(--wsd-shadow-sm);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-asset:hover {
	box-shadow: var(--wsd-shadow-md);
	transform: translateY(-2px);
}

.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-asset-media {
	border-radius: 10px;
	background: var(--wsd-soft);
}

.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-asset-check {
	top: 12px;
	left: 12px;
	padding: 3px 5px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.95);
	box-shadow: var(--wsd-shadow-sm);
}

.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-bulkbar {
	position: sticky;
	top: 44px;
	z-index: 20;
	gap: 10px 12px;
	padding: 10px 16px;
	border: 1px solid var(--wsd-line);
	border-radius: var(--wsd-radius);
	background: #fff;
	box-shadow: var(--wsd-shadow-md);
}

/* The note under the filters, and the empty state that follows the (hidden) status line. */
.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-filters + p.description {
	margin: 0 2px 14px;
}

.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-notice + p {
	margin: 8px 0 0;
	padding: 48px 24px;
	border: 1.5px dashed var(--wsd-line-strong);
	border-radius: var(--wsd-radius);
	background: #fff;
	color: var(--wsd-muted);
	font-size: 14.5px;
	text-align: center;
}

.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-notice:not([hidden]) {
	margin: 0 0 14px;
	padding: 12px 16px;
	border: 1px solid var(--wsd-line);
	border-radius: 12px;
	background: #fff;
	box-shadow: var(--wsd-shadow-sm);
}

/* 12. Try-On -------------------------------------------------------------------------------------- */
.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-tryon-cats {
	gap: 8px 22px;
	padding: 14px 16px;
	border: 1px solid var(--wsd-line);
	border-radius: 12px;
	background: #fff;
}

.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-tryon-models {
	gap: 18px;
}

.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-tryon-model {
	gap: 14px;
	padding: 14px;
	border: 1px solid var(--wsd-line);
	border-radius: var(--wsd-radius);
	background: #fff;
	box-shadow: var(--wsd-shadow-sm);
}

.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-tryon-model img {
	border-radius: 10px;
}

.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-tryon-stats {
	max-width: 560px;
}

/* 13. Previews and Bulk Jobs ---------------------------------------------------------------------- */
.wpbot-studio-screen .wpbot-studio-wrap .woowbot-pro-preview {
	margin: 18px 0;
	padding: 24px 26px;
	border: 1.5px dashed #d9b7d2;
	border-radius: 18px;
	background: linear-gradient(180deg, #fcf6fb 0%, #fff 55%);
	color: var(--wsd-muted);
}

.wpbot-studio-screen .wpbot-studio-wrap .woowbot-pro-preview .woowbot-pro-heading {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 8px;
	color: var(--wsd-ink);
	font-size: 19px;
	font-weight: 700;
}

.wpbot-studio-screen .wpbot-studio-wrap .woowbot-pro-badge {
	margin-left: 0;
	padding: 3px 10px;
	border-radius: 999px;
	background: linear-gradient(120deg, var(--wsd-brand), var(--wsd-brand-deep));
	box-shadow: 0 2px 6px rgba(161, 64, 141, 0.3);
	color: #fff;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 16px;
	text-transform: uppercase;
}

.wpbot-studio-screen .wpbot-studio-wrap .woowbot-pro-preview .description {
	max-width: 88ch;
	margin: 0 0 16px;
	font-size: 13.5px;
}

.wpbot-studio-screen .wpbot-studio-wrap .woowbot-pro-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-left: 6px;
	padding: 3px 12px;
	border-radius: 999px;
	background: var(--wsd-brand-soft);
	color: var(--wsd-brand-strong);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.wpbot-studio-screen .wpbot-studio-wrap .woowbot-pro-link:hover,
.wpbot-studio-screen .wpbot-studio-wrap .woowbot-pro-link:focus {
	background: var(--wsd-brand);
	color: #fff;
}

.wpbot-studio-screen .wpbot-studio-wrap .woowbot-pro-preview .nav-tab-wrapper {
	margin-bottom: 18px;
	opacity: 0.8;
}

.wpbot-studio-screen .wpbot-studio-wrap .woowbot-pro-fieldset {
	opacity: 0.85;
}

.wpbot-studio-screen .wpbot-studio-wrap .woowbot-pro-steps {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	counter-reset: wsd-step;
}

.wpbot-studio-screen .wpbot-studio-wrap .woowbot-pro-step {
	padding: 20px 22px;
	border: 1px solid var(--wsd-line);
	border-radius: var(--wsd-radius);
	background: #fff;
	box-shadow: var(--wsd-shadow-sm);
}

.wpbot-studio-screen .wpbot-studio-wrap .woowbot-pro-step h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	color: var(--wsd-ink);
	font-size: 15.5px;
	font-weight: 700;
}

.wpbot-studio-screen .wpbot-studio-wrap .woowbot-pro-step h3::before {
	counter-increment: wsd-step;
	content: counter(wsd-step);
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--wsd-brand-soft);
	color: var(--wsd-brand-strong);
	font-size: 12.5px;
	font-weight: 700;
}

.wpbot-studio-screen .wpbot-studio-wrap .woowbot-pro-fieldset p.woowbot-pro-field {
	display: block;
	margin: 0 0 14px;
}

.wpbot-studio-screen .wpbot-studio-wrap .woowbot-pro-field > label {
	display: block;
}

.wpbot-studio-screen .wpbot-studio-wrap .woowbot-pro-label {
	display: block;
	min-width: 0;
	margin: 0 0 5px;
	color: var(--wsd-ink);
	font-size: 12.5px;
	font-weight: 600;
}

.wpbot-studio-screen .wpbot-studio-wrap .woowbot-pro-fieldset :is(input[type="text"], input[type="number"], select) {
	width: 100%;
}

.wpbot-studio-screen .wpbot-studio-wrap .woowbot-pro-table {
	max-width: 760px;
}

/* 14. The Image, Create and Video apps ------------------------------------------------------------ */
.wpbot-studio-screen .wps-app h2 {
	font-size: 15px;
	font-weight: 700;
}

.wpbot-studio-screen .wps-app h3 {
	font-size: 13.5px;
	font-weight: 700;
}

.wpbot-studio-screen .wps-app .wps-panel,
.wpbot-studio-screen .wps-app .wps-topbar {
	padding: 18px 20px;
	border: 1px solid var(--wsd-line);
	border-radius: var(--wsd-radius);
	background: #fff;
	box-shadow: var(--wsd-shadow-sm);
}

.wpbot-studio-screen .wps-app .wps-topbar {
	gap: 14px 22px;
	margin-bottom: 16px;
}

.wpbot-studio-screen .wps-app .wps-main {
	gap: 16px;
}

.wpbot-studio-screen .wps-app .wps-field > label,
.wpbot-studio-screen .wps-app .wps-label {
	color: var(--wsd-ink);
	font-size: 12.5px;
	font-weight: 600;
}

.wpbot-studio-screen .wps-app .wps-sources,
.wpbot-studio-screen .wps-app .wps-slots,
.wpbot-studio-screen .wps-app .wps-apply,
.wpbot-studio-screen .wps-app .wpsc-edit {
	border-top-color: var(--wsd-line);
}

.wpbot-studio-screen .wps-app .wps-product-card img,
.wpbot-studio-screen .wps-app .wps-thumb-empty {
	border-radius: 10px;
}

.wpbot-studio-screen .wps-app .wps-tile {
	border: 2px solid transparent;
	border-radius: 12px;
	box-shadow: var(--wsd-shadow-sm);
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.wpbot-studio-screen .wps-app .wps-tile:hover {
	border-color: var(--wsd-line-strong);
	transform: translateY(-1px);
}

.wpbot-studio-screen .wps-app .wps-tile.is-active,
.wpbot-studio-screen .wps-app .wps-tile[aria-pressed="true"] {
	border-color: var(--wsd-brand);
	box-shadow: 0 0 0 3px var(--wsd-brand-ring);
}

.wpbot-studio-screen .wps-app .wps-tile-label {
	padding: 14px 8px 6px;
	background: linear-gradient(180deg, rgba(20, 24, 40, 0) 0%, rgba(20, 24, 40, 0.72) 100%);
	font-weight: 600;
}

.wpbot-studio-screen .wps-app .wps-stage {
	border-radius: var(--wsd-radius);
	background-color: #eceef5;
	box-shadow: inset 0 0 0 1px var(--wsd-line);
}

.wpbot-studio-screen .wps-app .wps-stage.is-checker {
	background-color: #fff;
}

.wpbot-studio-screen .wps-app .wps-stage-empty {
	color: var(--wsd-muted);
	font-size: 14px;
}

.wpbot-studio-screen .wps-app .wps-tabs {
	gap: 4px;
	margin: -2px 0 16px;
	padding: 4px;
	border: 0;
	border-radius: 12px;
	background: var(--wsd-soft);
	box-shadow: inset 0 0 0 1px var(--wsd-line);
}

.wpbot-studio-screen .wps-app .wps-tab {
	padding: 8px 6px;
	border: 0;
	border-radius: 9px;
	color: var(--wsd-muted);
	font-weight: 600;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.wpbot-studio-screen .wps-app .wps-tab:hover {
	color: var(--wsd-brand-strong);
}

.wpbot-studio-screen .wps-app .wps-tab.is-active {
	background: #fff;
	box-shadow: var(--wsd-shadow-sm);
	color: var(--wsd-brand-strong);
}

.wpbot-studio-screen .wps-app .wps-mode,
.wpbot-studio-screen .wps-app .wpsc-type {
	padding: 10px 14px;
	border: 1px solid var(--wsd-line-strong);
	border-radius: 12px;
	background: #fff;
	transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.wpbot-studio-screen .wps-app .wps-mode:hover,
.wpbot-studio-screen .wps-app .wpsc-type:not(.is-display-only):hover {
	border-color: var(--wsd-brand);
	background: var(--wsd-brand-soft);
}

.wpbot-studio-screen .wps-app .wps-mode.is-active,
.wpbot-studio-screen .wps-app .wpsc-type.is-active {
	border-color: var(--wsd-brand);
	background: var(--wsd-brand-soft);
	box-shadow: 0 0 0 1px var(--wsd-brand);
}

.wpbot-studio-screen .wps-app .wpsc-type.is-display-only {
	background: var(--wsd-soft);
}

.wpbot-studio-screen .wps-app .wps-result {
	padding: 8px;
	border: 2px solid var(--wsd-line);
	border-radius: 12px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.wpbot-studio-screen .wps-app .wps-result:hover {
	border-color: var(--wsd-line-strong);
	transform: translateY(-1px);
}

.wpbot-studio-screen .wps-app .wps-result.is-active {
	border-color: var(--wsd-brand);
	box-shadow: 0 0 0 3px var(--wsd-brand-ring);
}

.wpbot-studio-screen .wps-app .wps-result.is-failed {
	border-color: var(--wsd-fail);
}

.wpbot-studio-screen .wps-app .wps-result img {
	border-radius: 8px;
}

.wpbot-studio-screen .wps-app .wps-result-label {
	color: var(--wsd-ink);
}

.wpbot-studio-screen .wps-app .wps-generate {
	min-height: 48px;
	font-size: 15px;
}

.wpbot-studio-screen .wps-app .wps-request-text {
	border-radius: 10px;
}

.wpbot-studio-screen .wps-app .wps-checklist > li {
	border-bottom-color: var(--wsd-line);
}

.wpbot-studio-screen .wps-app .wps-checklist > li.has-warning {
	border-radius: 8px;
	background: var(--wsd-warn-bg);
}

.wpbot-studio-screen .wps-app .wps-pick,
.wpbot-studio-screen .wps-dialog .wps-pick {
	border-radius: 12px;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.wpbot-studio-screen .wps-app .wps-pick:hover,
.wpbot-studio-screen .wps-app .wps-pick:focus,
.wpbot-studio-screen .wps-dialog .wps-pick:hover,
.wpbot-studio-screen .wps-dialog .wps-pick:focus {
	border-color: var(--wsd-brand);
	background: var(--wsd-brand-soft);
}

.wpbot-studio-screen .wps-app .wps-count {
	color: var(--wsd-faint);
}

/* Pro previews nested in the apps' narrow columns: a smaller version of the page-level teaser. */
.wpbot-studio-screen .wps-app .woowbot-pro-preview {
	margin: 14px 0;
	padding: 14px 16px;
	border-radius: 14px;
}

.wpbot-studio-screen .wps-app .woowbot-pro-preview .woowbot-pro-heading {
	margin-bottom: 6px;
	font-size: 15px;
}

.wpbot-studio-screen .wps-app .woowbot-pro-preview .description {
	margin-bottom: 10px;
	font-size: 12.5px;
}

.wpbot-studio-screen .wps-app .woowbot-pro-link {
	margin-left: 0;
}

.wpbot-studio-screen .wps-app .wps-top-group .wps-field {
	min-width: 210px;
}

/* Create with AI: the numbered steps, the output type and the mode switch. */
.wpbot-studio-screen .wps-app .wpsc-layout {
	gap: 20px;
}

.wpbot-studio-screen .wps-app .wpsc-step-title {
	font-size: 15px;
	font-weight: 700;
}

.wpbot-studio-screen .wps-app .wpsc-step > summary::after {
	color: var(--wsd-brand);
}

.wpbot-studio-screen .wps-app .wpsc-step-summary {
	color: var(--wsd-muted);
}

.wpbot-studio-screen .wps-app .wpsc-step-summary.is-warning {
	color: var(--wsd-fail);
}

.wpbot-studio-screen .wps-app .wpsc-mode {
	padding: 4px;
	gap: 4px;
	border: 0;
	border-radius: 12px;
	background: var(--wsd-soft);
	box-shadow: inset 0 0 0 1px var(--wsd-line);
}

.wpbot-studio-screen .wps-app .wpsc-mode-tab {
	padding: 8px 20px;
	border: 0 !important;
	border-radius: 9px;
	background: transparent;
	color: var(--wsd-muted);
	font-weight: 600;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.wpbot-studio-screen .wps-app .wpsc-mode-tab.is-active {
	background: linear-gradient(120deg, var(--wsd-brand), var(--wsd-brand-mid));
	box-shadow: 0 3px 10px rgba(161, 64, 141, 0.3);
	color: #fff;
}

.wpbot-studio-screen .wps-app .wpsc-stage,
.wpbot-studio-screen .wps-app .wpsc-layer {
	border-radius: var(--wsd-radius);
}

.wpbot-studio-screen .wps-app .wpsc-layer {
	border-color: var(--wsd-line-strong);
	background: var(--wsd-soft);
}

.wpbot-studio-screen .wps-app .wpsc-style img,
.wpbot-studio-screen .wps-app .wpsc-product img,
.wpbot-studio-screen .wps-app .wpsc-vstart img {
	border-radius: 10px;
}

/* Video Studio */
.wpbot-studio-screen .wps-app .wpsv-stage {
	background: #161a24;
}

.wpbot-studio-screen .wps-app .wpsv-take video,
.wpbot-studio-screen .wps-app .wpsv-take-error {
	border-radius: 10px;
}

/* 15. Dialogs ------------------------------------------------------------------------------------- */
.wpbot-studio-screen .wps-dialog {
	padding: 26px 30px;
	border: 0;
	border-radius: 20px;
	box-shadow: var(--wsd-shadow-lg);
	color: var(--wsd-ink);
	font-family: var(--wsd-font);
}

.wpbot-studio-screen .wps-dialog::backdrop {
	background: rgba(20, 24, 40, 0.55);
	backdrop-filter: blur(3px);
}

.wpbot-studio-screen .wps-dialog h2 {
	margin: 0 0 12px;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.wpbot-studio-screen .wps-dialog .wps-dialog-buttons {
	margin-top: 22px;
	padding-top: 16px;
	border-top: 1px solid var(--wsd-line);
}

.wpbot-studio-screen .wps-dialog .wps-dialog-error {
	color: var(--wsd-fail);
}

/* 16. Small screens and reduced motion ------------------------------------------------------------ */
@media (max-width: 782px) {
	.wpbot-studio-screen .wpbot-studio-wrap {
		margin: 12px 10px 32px 10px;
	}

	.wpbot-studio-screen .wpbot-studio-wrap .woowbot-pro-steps {
		grid-template-columns: minmax(0, 1fr);
	}

	.wpbot-studio-screen .wpbot-studio-wrap table.widefat {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.wpbot-studio-screen .wpbot-studio-wrap > .wpbot-studio-title {
		gap: 12px;
		padding: 16px 18px;
		border-radius: 14px;
		font-size: 20px;
	}

	.wpbot-studio-screen .wpbot-studio-wrap > .wpbot-studio-title::before {
		width: 38px;
		height: 38px;
		font-size: 20px;
	}

	.wpbot-studio-screen .wpbot-studio-wrap .woowbot-pro-preview {
		padding: 18px 16px;
	}

	.wpbot-studio-screen .wpbot-studio-wrap table.form-table th {
		width: auto;
		padding-bottom: 4px;
		border-bottom: 0;
	}

	.wpbot-studio-screen .wpbot-studio-wrap .wpbot-studio-bulkbar {
		position: static;
	}

	.wpbot-studio-screen .wps-dialog {
		padding: 20px 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wpbot-studio-screen .wpbot-studio-wrap *,
	.wpbot-studio-screen .wps-app *,
	.wpbot-studio-screen .wps-dialog * {
		transition: none !important;
		animation: none !important;
	}
}
