.wtai-owner-dashboard {
	--wtai-owner-bg: #f6f8fc;
	--wtai-owner-card: #ffffff;
	--wtai-owner-border: #dce6f0;
	--wtai-owner-ink: #101828;
	--wtai-owner-muted: #546179;
	--wtai-owner-blue: #1f63f4;
	--wtai-owner-green: #0f9d58;
	--wtai-owner-orange: #d86d00;
	--wtai-owner-purple: #6046c7;
	--wtai-owner-teal: #077987;
	box-sizing: border-box;
	color: var(--wtai-owner-ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.5;
	max-width: 100%;
	overflow-wrap: anywhere;
}

.wtai-owner-dashboard *,
.wtai-owner-dashboard *::before,
.wtai-owner-dashboard *::after {
	box-sizing: inherit;
}

.wtai-owner-dashboard a,
.wtai-owner-dashboard button,
.wtai-owner-dashboard input,
.wtai-owner-dashboard select,
.wtai-owner-dashboard textarea {
	font: inherit;
}

.wtai-owner-dashboard button {
	min-width: 0;
}

.wtai-owner-dashboard [hidden] {
	display: none !important;
}

.wtai-owner-app-step39 {
	background: var(--wtai-owner-bg);
	border: 1px solid var(--wtai-owner-border);
	border-radius: 10px;
	box-shadow: 0 24px 70px rgba(19, 35, 63, 0.08);
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	margin: 0;
	min-height: 720px;
	overflow: clip;
	width: 100%;
}

.wtai-owner-sidebar {
	background: linear-gradient(180deg, #061d35 0%, #062742 100%);
	color: #ffffff;
	display: grid;
	grid-template-rows: auto auto 1fr;
	gap: 28px;
	padding: 30px 20px;
}

.wtai-owner-brand {
	align-items: center;
	display: flex;
	gap: 12px;
	min-width: 0;
}

.wtai-owner-brand-mark {
	align-items: center;
	background: linear-gradient(135deg, #21d4fd, #2563eb);
	border-radius: 16px;
	color: #ffffff;
	display: inline-flex;
	flex: 0 0 auto;
	font-weight: 900;
	height: 52px;
	justify-content: center;
	width: 52px;
}

.wtai-owner-brand strong {
	color: #ffffff;
	display: block;
	font-size: 21px;
	line-height: 1.1;
}

.wtai-owner-brand span:not(.wtai-owner-brand-mark) {
	color: #d7e6fb;
	display: block;
	font-size: 13px;
}

.wtai-owner-nav {
	display: grid;
	gap: 9px;
}

.wtai-owner-nav a {
	border-radius: 9px;
	color: #f3f7ff;
	font-weight: 750;
	min-width: 0;
	overflow-wrap: anywhere;
	padding: 12px 14px;
	text-decoration: none;
}

.wtai-owner-nav a:hover,
.wtai-owner-nav a:focus,
.wtai-owner-nav a.is-active,
.wtai-owner-nav a[aria-current="page"] {
	background: #2563eb;
	box-shadow: 0 10px 26px rgba(37, 99, 235, 0.28);
	color: #ffffff;
	outline: none;
}

.wtai-owner-sidebar-card {
	align-self: end;
	background: rgba(14, 165, 117, 0.14);
	border: 1px solid rgba(92, 225, 170, 0.28);
	border-radius: 10px;
	display: grid;
	gap: 6px;
	padding: 14px;
}

.wtai-owner-sidebar-card strong,
.wtai-owner-sidebar-card span {
	display: block;
}

.wtai-owner-sidebar-card span {
	color: #d7e6fb;
	font-size: 13px;
}

.wtai-owner-main {
	align-content: start;
	display: grid;
	gap: 20px;
	min-width: 0;
	padding: 30px 36px;
}

.wtai-owner-workspace {
	display: none;
	gap: 18px;
	min-width: 0;
	outline: none;
}

.wtai-owner-workspace-home,
.wtai-owner-app-enhanced .wtai-owner-section-active {
	display: grid;
}

.wtai-owner-topbar,
.wtai-owner-page-header {
	align-items: center;
	display: flex;
	gap: 20px;
	justify-content: space-between;
	min-width: 0;
}

.wtai-owner-page-header {
	align-items: flex-start;
	display: grid;
}

.wtai-owner-topbar h1,
.wtai-owner-page-header h1 {
	color: var(--wtai-owner-ink);
	font-size: 30px;
	line-height: 1.1;
	margin: 0 0 6px;
}

.wtai-owner-topbar p,
.wtai-owner-page-header p {
	color: var(--wtai-owner-muted);
	margin: 0;
}

.wtai-owner-user-chip {
	align-items: center;
	display: flex;
	gap: 10px;
	min-width: max-content;
}

.wtai-owner-avatar {
	align-items: center;
	background: #e7eefb;
	border-radius: 999px;
	color: #173154;
	display: inline-flex;
	font-weight: 900;
	height: 44px;
	justify-content: center;
	width: 44px;
}

.wtai-owner-user-chip strong,
.wtai-owner-user-chip span {
	display: block;
}

.wtai-owner-user-chip span {
	color: var(--wtai-owner-muted);
	font-size: 13px;
}

.wtai-owner-card,
.wtai-owner-hero {
	background: var(--wtai-owner-card);
	border: 1px solid var(--wtai-owner-border);
	border-radius: 10px;
	box-shadow: 0 16px 42px rgba(18, 38, 69, 0.08);
	min-width: 0;
	padding: 22px;
}

.wtai-owner-card h2,
.wtai-owner-hero h2 {
	color: var(--wtai-owner-ink);
	line-height: 1.16;
	margin: 0 0 10px;
}

.wtai-owner-card h2 {
	font-size: 20px;
}

.wtai-owner-card p,
.wtai-owner-hero p {
	color: var(--wtai-owner-muted);
	margin: 0;
}

.wtai-owner-step39-hero {
	align-items: center;
	background:
		radial-gradient(circle at 72% 42%, rgba(37, 99, 235, 0.12), transparent 22%),
		linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
	display: grid;
	gap: 26px;
	grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.65fr);
	min-height: 250px;
}

.wtai-owner-step39-hero h2 {
	font-size: 34px;
	line-height: 1.12;
	margin-bottom: 14px;
}

.wtai-owner-step39-hero h2 strong,
.wtai-owner-step39-hero p strong,
.wtai-owner-progress strong {
	color: var(--wtai-owner-green);
}

.wtai-owner-kicker {
	color: var(--wtai-owner-blue);
	font-size: 12px;
	font-weight: 850;
	letter-spacing: 0;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.wtai-owner-watch-line {
	align-items: center;
	display: flex;
	gap: 8px;
	margin-top: 14px;
}

.wtai-owner-watch-line::before {
	background: #e6f0ff;
	border-radius: 999px;
	content: "";
	display: inline-flex;
	flex: 0 0 auto;
	height: 22px;
	width: 22px;
}

.wtai-owner-hero-proof {
	background: #ffffff;
	border: 1px solid var(--wtai-owner-border);
	border-radius: 10px;
	display: grid;
	gap: 6px;
	justify-self: end;
	min-width: 210px;
	padding: 20px;
}

.wtai-owner-hero-proof span,
.wtai-owner-hero-proof small {
	color: var(--wtai-owner-muted);
	font-weight: 700;
}

.wtai-owner-hero-proof strong {
	color: var(--wtai-owner-green);
	font-size: 34px;
	line-height: 1;
}

.wtai-owner-hero-proof em {
	background: #eef4ff;
	border-radius: 999px;
	color: var(--wtai-owner-blue);
	font-size: 12px;
	font-style: normal;
	font-weight: 850;
	padding: 5px 9px;
	width: max-content;
}

.wtai-owner-preview-strip {
	align-items: center;
	background: #ffffff;
	border: 1px solid var(--wtai-owner-border);
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(18, 38, 69, 0.05);
	color: #344157;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 12px 14px;
}

.wtai-owner-preview-pill {
	background: #e9f2ff;
	border: 1px solid #cfe0ff;
	border-radius: 999px;
	color: var(--wtai-owner-blue);
	display: inline-flex;
	font-size: 12px;
	font-weight: 850;
	line-height: 1.2;
	padding: 6px 10px;
	white-space: nowrap;
}

.wtai-owner-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.wtai-owner-button,
.wtai-owner-link,
.wtai-owner-filter-row button,
.wtai-owner-mode-card,
.wtai-owner-prompt-button {
	align-items: center;
	border: 0;
	border-radius: 9px;
	cursor: pointer;
	display: inline-flex;
	font-weight: 800;
	justify-content: center;
	line-height: 1.2;
	min-height: 40px;
	padding: 10px 14px;
	text-decoration: none;
}

.wtai-owner-button-primary {
	background: var(--wtai-owner-green);
	color: #ffffff;
}

.wtai-owner-button-primary:hover,
.wtai-owner-button-primary:focus {
	background: #0b7f46;
	color: #ffffff;
}

.wtai-owner-button-secondary,
.wtai-owner-link,
.wtai-owner-filter-row button,
.wtai-owner-mode-card,
.wtai-owner-prompt-button {
	background: #ffffff;
	border: 1px solid #d8e2ef;
	color: #102341;
}

.wtai-owner-button-secondary:hover,
.wtai-owner-button-secondary:focus,
.wtai-owner-link:hover,
.wtai-owner-link:focus,
.wtai-owner-prompt-button:hover,
.wtai-owner-prompt-button:focus {
	background: #f1f6ff;
	color: #102341;
}

.wtai-owner-button[disabled],
.wtai-owner-link[disabled],
.wtai-owner-mode-card[disabled],
.wtai-owner-filter-row button[disabled] {
	cursor: not-allowed;
	opacity: 0.86;
}

.wtai-owner-lane-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(5, minmax(150px, 1fr));
}

.wtai-owner-lane-card {
	align-content: start;
	display: grid;
	gap: 12px;
	min-width: 0;
}

.wtai-owner-lane-head {
	align-items: center;
	display: flex;
	gap: 12px;
}

.wtai-owner-lane-head > span {
	border-radius: 999px;
	display: inline-flex;
	flex: 0 0 auto;
	height: 38px;
	width: 38px;
}

.wtai-owner-lane-head h2 {
	color: var(--wtai-owner-ink);
	font-size: 18px;
	line-height: 1.15;
	margin: 0;
}

.wtai-owner-lane-head strong {
	display: block;
	font-size: 26px;
	line-height: 1;
}

.wtai-owner-lane-fixed .wtai-owner-lane-head > span,
.wtai-owner-lane-fixed .wtai-owner-lane-head strong {
	background: #dff7eb;
	color: var(--wtai-owner-green);
}

.wtai-owner-lane-ready .wtai-owner-lane-head > span,
.wtai-owner-lane-ready .wtai-owner-lane-head strong {
	background: #e5efff;
	color: var(--wtai-owner-blue);
}

.wtai-owner-lane-approval .wtai-owner-lane-head > span,
.wtai-owner-lane-approval .wtai-owner-lane-head strong {
	background: #fff1dc;
	color: var(--wtai-owner-orange);
}

.wtai-owner-lane-developer .wtai-owner-lane-head > span,
.wtai-owner-lane-developer .wtai-owner-lane-head strong {
	background: #eeeaff;
	color: var(--wtai-owner-purple);
}

.wtai-owner-lane-watching .wtai-owner-lane-head > span,
.wtai-owner-lane-watching .wtai-owner-lane-head strong {
	background: #def8fb;
	color: var(--wtai-owner-teal);
}

.wtai-owner-clean-list {
	display: grid;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.wtai-owner-clean-list li {
	color: #273449;
	font-size: 14px;
	line-height: 1.35;
	min-width: 0;
	overflow-wrap: anywhere;
	padding-left: 20px;
	position: relative;
}

.wtai-owner-clean-list li::before {
	background: #d9f6e7;
	border-radius: 999px;
	content: "";
	height: 8px;
	left: 0;
	position: absolute;
	top: 0.55em;
	width: 8px;
}

.wtai-owner-home-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wtai-owner-progress {
	background: #f0fbf5;
	border-radius: 10px;
	display: grid;
	gap: 4px;
	margin-top: 14px;
	padding: 14px;
}

.wtai-owner-progress strong {
	font-size: 28px;
	line-height: 1;
}

.wtai-owner-filter-row,
.wtai-owner-mode-grid,
.wtai-owner-prompts {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.wtai-owner-context-panel {
	background: #f8fbff;
	border: 1px solid var(--wtai-owner-border);
	border-radius: 10px;
	display: grid;
	gap: 10px;
	margin-bottom: 18px;
	padding: 14px;
}

.wtai-owner-context-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.wtai-owner-context-chip {
	background: #ffffff;
	border: 1px solid #d8e2ef;
	border-radius: 999px;
	color: #173154;
	display: inline-flex;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
	padding: 8px 11px;
}

.wtai-owner-mode-card {
	border-radius: 10px;
	flex: 1 1 210px;
	min-height: 86px;
}

.wtai-owner-mission-list {
	display: grid;
	gap: 14px;
}

.wtai-owner-mission-card {
	align-items: center;
	display: grid;
	gap: 14px;
	grid-template-columns: minmax(0, 1fr) auto auto auto;
}

.wtai-owner-status {
	background: #eef4ff;
	border-radius: 999px;
	color: var(--wtai-owner-blue);
	font-size: 12px;
	font-weight: 850;
	padding: 6px 10px;
	white-space: nowrap;
}

.wtai-owner-safe-note {
	color: var(--wtai-owner-muted);
	font-size: 13px;
	margin: 0;
}

.wtai-owner-form-field {
	display: grid;
	gap: 7px;
	margin: 0 0 16px;
}

.wtai-owner-form-field span {
	color: #334155;
	font-weight: 800;
}

.wtai-owner-dashboard textarea,
.wtai-owner-dashboard select {
	background: #ffffff;
	border: 1px solid #d8e2ef;
	border-radius: 10px;
	color: #16243a;
	padding: 11px 12px;
	width: 100%;
}

.wtai-owner-dashboard textarea {
	resize: vertical;
}

.wtai-owner-ask-form {
	display: grid;
	gap: 12px;
	margin-top: 16px;
}

.wtai-owner-ask-response {
	background: #f8fbff;
	border: 1px solid var(--wtai-owner-border);
	border-radius: 10px;
	margin-top: 16px;
	padding: 16px;
}

.wtai-owner-text {
	color: #273449;
}

.wtai-owner-developer-card {
	display: grid;
	gap: 14px;
}

.wtai-owner-dev-spec {
	display: grid;
	gap: 8px 14px;
	grid-template-columns: minmax(140px, 0.35fr) minmax(0, 1fr);
	margin: 0;
}

.wtai-owner-dev-spec dt {
	color: var(--wtai-owner-muted);
	font-weight: 800;
}

.wtai-owner-dev-spec dd {
	color: #273449;
	margin: 0;
	min-width: 0;
	overflow-wrap: anywhere;
}

.wtai-owner-bottom-bar {
	align-items: center;
	background: #ffffff;
	border: 1px solid var(--wtai-owner-border);
	border-radius: 10px;
	color: #23324a;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	padding: 14px 18px;
}

.wtai-owner-access {
	background: var(--wtai-owner-bg);
	border: 1px solid var(--wtai-owner-border);
	border-radius: 10px;
	padding: 24px;
}

.wtai-owner-access .wtai-owner-card {
	margin: 0 auto;
	max-width: 520px;
}

@media (max-width: 1180px) {
	.wtai-owner-app-step39 {
		grid-template-columns: 240px minmax(0, 1fr);
	}

	.wtai-owner-main {
		padding: 24px;
	}

	.wtai-owner-lane-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wtai-owner-home-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wtai-owner-mission-card {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 860px) {
	.wtai-owner-app-step39 {
		display: block;
		overflow: visible;
	}

	.wtai-owner-sidebar {
		position: sticky;
		top: 0;
		z-index: 20;
	}

	body.admin-bar .wtai-owner-sidebar {
		top: 46px;
	}

	.wtai-owner-main {
		padding: 18px;
	}

	.wtai-owner-topbar,
	.wtai-owner-page-header,
	.wtai-owner-bottom-bar {
		align-items: stretch;
		display: grid;
	}

	.wtai-owner-topbar h1,
	.wtai-owner-page-header h1 {
		font-size: 25px;
	}

	.wtai-owner-nav {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		overflow-x: visible;
	}

	.wtai-owner-nav a {
		white-space: normal;
	}

	.wtai-owner-step39-hero,
	.wtai-owner-home-grid,
	.wtai-owner-lane-grid,
	.wtai-owner-dev-spec {
		grid-template-columns: 1fr;
	}

	.wtai-owner-preview-strip {
		align-items: flex-start;
		display: grid;
	}

	.wtai-owner-step39-hero h2 {
		font-size: 28px;
	}

	.wtai-owner-hero-proof {
		justify-self: stretch;
	}
}

@media (max-width: 560px) {
	.wtai-owner-sidebar {
		padding: 18px;
	}

	.wtai-owner-brand strong {
		font-size: 18px;
	}

	.wtai-owner-nav {
		grid-template-columns: 1fr;
	}

	.wtai-owner-card,
	.wtai-owner-hero {
		padding: 16px;
	}

	.wtai-owner-actions,
	.wtai-owner-filter-row,
	.wtai-owner-mode-grid,
	.wtai-owner-prompts {
		display: grid;
	}

	.wtai-owner-button,
	.wtai-owner-link,
	.wtai-owner-filter-row button,
	.wtai-owner-mode-card,
	.wtai-owner-prompt-button {
		width: 100%;
	}
}
