.sc-wordai-seo-scan-page {
	max-width: 1280px;
}

.sc-wordai-seo-scan-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 260px;
	gap: 18px;
	align-items: stretch;
	margin: 18px 0;
}

.sc-wordai-seo-scan-hero > div:first-child,
.sc-wordai-seo-usage-card,
.sc-wordai-seo-table-card {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.sc-wordai-seo-scan-hero > div:first-child {
	padding: 24px;
}

.sc-wordai-seo-scan-eyebrow,
.sc-wordai-seo-usage-label {
	display: block;
	margin-bottom: 6px;
	color: #287a62;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.sc-wordai-seo-scan-hero h1 {
	margin: 0 0 8px;
	color: #111827;
	font-size: 24px;
	line-height: 1.25;
}

.sc-wordai-seo-scan-hero p {
	max-width: 760px;
	margin: 0;
	color: #4b5563;
	font-size: 14px;
	line-height: 1.6;
}

.sc-wordai-seo-usage-card {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 20px;
}

.sc-wordai-seo-usage-card strong {
	color: #111827;
	font-size: 28px;
	line-height: 1;
}

.sc-wordai-seo-usage-card small {
	margin-top: 8px;
	color: #6b7280;
}

.sc-wordai-seo-usage-card a {
	margin-top: 12px;
	font-weight: 700;
	text-decoration: none;
}

.sc-wordai-seo-integration-card {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr) auto;
	gap: 14px;
	align-items: center;
	padding: 16px 18px;
	border: 1px solid #a7f3d0;
	border-radius: 8px;
	background: #f0fdf4;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.sc-wordai-seo-integration-card.has-conflict {
	border-color: #fdba74;
	background: #fff7ed;
}

.sc-wordai-seo-integration-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 8px;
	background: #287a62;
	color: #fff;
	font-size: 18px;
}

.has-conflict .sc-wordai-seo-integration-icon {
	background: #c2410c;
}

.sc-wordai-seo-integration-label {
	display: block;
	margin-bottom: 3px;
	color: #4b5563;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
}

.sc-wordai-seo-integration-copy strong {
	display: block;
	color: #111827;
	font-size: 15px;
}

.sc-wordai-seo-integration-copy p {
	margin: 4px 0 0;
	color: #4b5563;
	font-size: 13px;
	line-height: 1.45;
}

.sc-wordai-seo-owner-control {
	display: grid;
	grid-template-columns: minmax(180px, 240px) auto;
	gap: 7px;
	align-items: end;
}

.sc-wordai-seo-owner-control label {
	grid-column: 1 / -1;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
}

.sc-wordai-seo-owner-control select,
.sc-wordai-seo-owner-control .button {
	min-height: 36px;
}

.sc-wordai-seo-owner-state {
	display: inline-flex;
	gap: 7px;
	align-items: center;
	color: #166534;
	font-weight: 800;
}

.sc-wordai-seo-tabs,
.sc-wordai-seo-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin: 14px 0;
}

.sc-wordai-seo-tab {
	min-height: 38px;
	padding: 0 16px;
	border: 1px solid #c3c4c7;
	border-radius: 7px;
	background: #fff;
	color: #1f2937;
	font-weight: 700;
	cursor: pointer;
}

.sc-wordai-seo-tab.is-active {
	border-color: #287a62;
	background: #ecfdf5;
	color: #14532d;
}

.sc-wordai-seo-search {
	position: relative;
	flex: 1 1 280px;
	max-width: 420px;
}

.sc-wordai-seo-search i {
	position: absolute;
	top: 50%;
	left: 12px;
	color: #6b7280;
	transform: translateY(-50%);
}

.sc-wordai-seo-search input {
	width: 100%;
	min-height: 38px;
	padding-left: 36px;
	border-radius: 7px;
}

.sc-wordai-seo-toolbar select {
	min-height: 38px;
	border-radius: 7px;
}

.sc-wordai-seo-toolbar .button,
.sc-wordai-seo-pagination .button,
.sc-wordai-seo-table .button {
	display: inline-flex;
	gap: 7px;
	align-items: center;
	justify-content: center;
	min-height: 34px;
}

.sc-wordai-seo-table tr.is-wordai-focus-row td {
	background: #fff7ed !important;
	box-shadow: inset 3px 0 0 #f59e0b;
	transition: background 0.2s ease;
}

.sc-wordai-seo-schedule-open {
	margin-left: auto;
	border-color: #1d5f4c !important;
	background: #287a62 !important;
	color: #fff !important;
	font-weight: 700;
}

.sc-wordai-seo-schedule-open:hover,
.sc-wordai-seo-schedule-open:focus {
	background: #1f6a54 !important;
	color: #fff !important;
}

.sc-wordai-seo-schedule-summary {
	margin: 12px 0;
}

.sc-wordai-seo-job-card {
	display: flex;
	gap: 16px;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	border: 1px solid #bfdbfe;
	border-radius: 8px;
	background: #eff6ff;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
	color: #1e3a8a;
}

.sc-wordai-seo-job-card.is-running {
	border-color: #fed7aa;
	background: #fff7ed;
	color: #92400e;
}

.sc-wordai-seo-job-card.is-finished {
	border-color: #bbf7d0;
	background: #f0fdf4;
	color: #166534;
}

.sc-wordai-seo-job-card.is-cancelled,
.sc-wordai-seo-job-card.is-failed {
	border-color: #fecaca;
	background: #fef2f2;
	color: #991b1b;
}

.sc-wordai-seo-job-main {
	flex: 1 1 auto;
	min-width: 0;
}

.sc-wordai-seo-job-main strong {
	display: block;
	margin: 4px 0 6px;
	color: #111827;
	font-size: 14px;
}

.sc-wordai-seo-job-status {
	display: inline-flex;
	align-items: center;
	min-height: 22px;
	padding: 0 9px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.78);
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
}

.sc-wordai-seo-job-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	color: inherit;
	font-size: 12px;
}

.sc-wordai-seo-job-progress {
	height: 7px;
	margin: 10px 0 6px;
	overflow: hidden;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.14);
}

.sc-wordai-seo-job-progress span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: #287a62;
}

.sc-wordai-seo-job-cancel {
	display: inline-flex !important;
	gap: 7px;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

.sc-wordai-seo-schedule-modal {
	color: #1f2937;
}

.sc-wordai-seo-schedule-intro {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin-bottom: 16px;
	padding: 14px;
	border: 1px solid #dbeafe;
	border-radius: 8px;
	background: #eff6ff;
}

.sc-wordai-seo-schedule-intro i {
	margin-top: 3px;
	color: #2563eb;
	font-size: 18px;
}

.sc-wordai-seo-schedule-intro strong {
	display: block;
	margin-bottom: 4px;
	color: #111827;
}

.sc-wordai-seo-schedule-intro p {
	margin: 0;
	color: #4b5563;
	line-height: 1.5;
}

.sc-wordai-seo-schedule-form {
	display: grid;
	gap: 14px;
}

.sc-wordai-seo-schedule-form label,
.sc-wordai-seo-schedule-form fieldset {
	display: grid;
	gap: 6px;
	margin: 0;
}

.sc-wordai-seo-schedule-form label > span,
.sc-wordai-seo-schedule-form legend {
	color: #111827;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.sc-wordai-seo-schedule-form select,
.sc-wordai-seo-schedule-form input[type="datetime-local"] {
	width: 100%;
	min-height: 38px;
	border-radius: 7px;
}

.sc-wordai-seo-schedule-types {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.sc-wordai-seo-schedule-types label {
	display: inline-flex;
	gap: 7px;
	align-items: center;
	padding: 8px 10px;
	border: 1px solid #d1d5db;
	border-radius: 7px;
	background: #fff;
	font-weight: 700;
}

.sc-wordai-seo-schedule-upgrade {
	display: flex;
	gap: 9px;
	align-items: center;
	margin-top: 14px;
	padding: 12px;
	border: 1px solid #bfdbfe;
	border-radius: 8px;
	background: #eff6ff;
	color: #1e3a8a;
	font-size: 13px;
}

.sc-wordai-seo-schedule-upgrade a {
	flex: 0 0 auto;
	font-weight: 800;
	text-decoration: none;
}

.sc-wordai-seo-feedback {
	margin: 12px 0;
	padding: 12px 14px;
	border-radius: 7px;
	font-weight: 600;
}

.sc-wordai-seo-feedback.is-success {
	border: 1px solid #86efac;
	background: #f0fdf4;
	color: #166534;
}

.sc-wordai-seo-feedback.is-error {
	border: 1px solid #fecaca;
	background: #fef2f2;
	color: #991b1b;
}

.sc-wordai-seo-feedback.is-info {
	border: 1px solid #bfdbfe;
	background: #eff6ff;
	color: #1e40af;
}

.sc-wordai-seo-table-card {
	margin-top: 14px;
	overflow: hidden;
}

.sc-wordai-seo-table-head {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	align-items: center;
	padding: 18px 20px;
	border-bottom: 1px solid #e5e7eb;
}

.sc-wordai-seo-table-head h2 {
	margin: 0 0 4px;
	color: #111827;
	font-size: 17px;
}

.sc-wordai-seo-table-head p {
	margin: 0;
	color: #6b7280;
	font-size: 13px;
}

.sc-wordai-seo-page-size {
	display: flex;
	gap: 8px;
	align-items: center;
	font-weight: 700;
}

.sc-wordai-seo-table-wrap {
	overflow-x: hidden;
}

.sc-wordai-seo-table {
	border: 0;
	table-layout: fixed;
	width: 100% !important;
	min-width: 0;
}

.sc-wordai-seo-table th {
	font-size: 12px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.sc-wordai-seo-table td,
.sc-wordai-seo-table th {
	box-sizing: border-box;
	padding: 12px;
	vertical-align: top;
	overflow-wrap: anywhere;
}

.sc-wordai-seo-table .column-title {
	width: 34%;
}

.sc-wordai-seo-table th:nth-child(2),
.sc-wordai-seo-table td:nth-child(2) {
	width: 11%;
}

.sc-wordai-seo-table th:nth-child(3),
.sc-wordai-seo-table td:nth-child(3) {
	width: 7%;
}

.sc-wordai-seo-table th:nth-child(4),
.sc-wordai-seo-table td:nth-child(4) {
	width: 14%;
}

.sc-wordai-seo-table th:nth-child(5),
.sc-wordai-seo-table td:nth-child(5) {
	width: 13%;
}

.sc-wordai-seo-table th.column-actions,
.sc-wordai-seo-table td.column-actions {
	width: 168px;
	min-width: 168px;
	text-align: center;
	white-space: nowrap;
	overflow-wrap: normal;
}

.sc-wordai-seo-table .column-title strong a {
	display: inline-block;
	max-width: 100%;
	color: #111827;
	font-size: 13px;
	line-height: 1.35;
	overflow-wrap: anywhere;
	text-decoration: none;
}

.sc-wordai-seo-table .column-title strong a:hover,
.sc-wordai-seo-table .column-title strong a:focus {
	color: #2563eb;
	text-decoration: underline;
}

.sc-wordai-seo-row-meta,
.sc-wordai-seo-muted {
	color: #6b7280;
	font-size: 12px;
}

.sc-wordai-seo-status,
.sc-wordai-seo-score {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	font-weight: 800;
}

.sc-wordai-seo-status {
	min-height: 24px;
	padding: 0 10px;
	font-size: 11px;
}

.sc-wordai-seo-status.is-scanned {
	background: #dcfce7;
	color: #166534;
}

.sc-wordai-seo-status.is-recheck {
	background: #fef3c7;
	color: #92400e;
}

.sc-wordai-seo-status.is-unscanned {
	background: #f3f4f6;
	color: #374151;
}

.sc-wordai-seo-score {
	width: 44px;
	height: 44px;
	border: 3px solid #d1d5db;
	background: #fff;
	color: #374151;
}

.sc-wordai-seo-score.is-excellent {
	border-color: #16a34a;
	color: #166534;
}

.sc-wordai-seo-score.is-good {
	border-color: #22c55e;
	color: #15803d;
}

.sc-wordai-seo-score.is-needs_improvement {
	border-color: #f59e0b;
	color: #92400e;
}

.sc-wordai-seo-score.is-poor {
	border-color: #ef4444;
	color: #991b1b;
}

.sc-wordai-seo-score.is-empty {
	border-style: dashed;
	color: #9ca3af;
}

.sc-wordai-seo-details {
	margin-top: 8px;
}

.sc-wordai-seo-details summary {
	color: #2563eb;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
}

.sc-wordai-seo-details-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 8px;
	padding: 10px;
	border-radius: 7px;
	background: #f9fafb;
}

.sc-wordai-seo-details-grid b {
	display: block;
	margin-bottom: 4px;
	color: #111827;
	font-size: 12px;
}

.sc-wordai-seo-details-grid ul {
	margin: 0;
	padding-left: 0;
	color: #374151;
	font-size: 12px;
	line-height: 1.45;
	list-style: none;
}

.sc-wordai-seo-details-grid li {
	position: relative;
	margin: 0 0 6px;
	padding-left: 15px;
}

.sc-wordai-seo-details-grid li::before {
	content: "";
	position: absolute;
	top: 0.62em;
	left: 0;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #287a62;
	transform: translateY(-50%);
}

.sc-wordai-seo-advice {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	margin-top: 10px;
	padding: 9px 10px;
	border-radius: 7px;
	font-size: 12px;
	line-height: 1.45;
}

.sc-wordai-seo-advice i {
	flex: 0 0 auto;
	margin-top: 2px;
	font-size: 13px;
}

.sc-wordai-seo-advice a {
	font-weight: 800;
	text-decoration: none;
}

.sc-wordai-seo-advice a:hover,
.sc-wordai-seo-advice a:focus {
	text-decoration: underline;
}

.sc-wordai-seo-advice--upgrade {
	border: 1px solid #bfdbfe;
	background: #eff6ff;
	color: #1e3a8a;
}

.sc-wordai-seo-advice--upgrade i,
.sc-wordai-seo-advice--upgrade a {
	color: #1d4ed8;
}

.sc-wordai-seo-advice--edit {
	border: 1px solid #fed7aa;
	background: #fff7ed;
	color: #92400e;
}

.sc-wordai-seo-advice--edit i,
.sc-wordai-seo-advice--edit a {
	color: #c2410c;
}

.sc-wordai-seo-table td.column-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: nowrap;
	gap: 6px;
}

.sc-wordai-seo-table .column-actions .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 34px;
	width: 34px;
	min-width: 34px;
	height: 32px;
	min-height: 32px;
	padding: 0;
	font-size: 0;
	line-height: 1;
	white-space: nowrap;
	overflow: visible;
	text-align: center;
}

.sc-wordai-seo-table .column-actions .button i {
	flex: 0 0 auto;
	font-size: 13px;
	line-height: 1;
	margin: 0;
}

.sc-wordai-seo-table .column-actions .button span {
	display: none !important;
}

.sc-wordai-seo-proposal-provider {
	display: flex;
	gap: 10px;
	align-items: center;
	margin-bottom: 14px;
	padding: 11px 12px;
	border: 1px solid #a7f3d0;
	border-radius: 7px;
	background: #f0fdf4;
	color: #166534;
}

.sc-wordai-seo-proposal-row {
	display: grid;
	grid-template-columns: 130px repeat(2, minmax(0, 1fr));
	gap: 10px;
	align-items: stretch;
	padding: 10px 0;
	border-top: 1px solid #e5e7eb;
}

.sc-wordai-seo-proposal-row > strong {
	padding-top: 8px;
	color: #111827;
	font-size: 12px;
}

.sc-wordai-seo-proposal-row > div {
	min-width: 0;
	padding: 8px 10px;
	border-radius: 6px;
	background: #f8fafc;
}

.sc-wordai-seo-proposal-row > div:last-child {
	background: #ecfdf5;
}

.sc-wordai-seo-proposal-row span {
	display: block;
	margin-bottom: 4px;
	color: #6b7280;
	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;
}

.sc-wordai-seo-proposal-row p {
	margin: 0;
	color: #1f2937;
	font-size: 12px;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

.sc-wordai-seo-proposal-empty {
	color: #9ca3af !important;
	font-style: italic;
	font-weight: 400 !important;
	text-transform: none !important;
}

.sc-wordai-seo-loading,
.sc-wordai-seo-empty {
	padding: 26px !important;
	color: #6b7280;
	text-align: center;
}

.sc-wordai-seo-pagination {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	align-items: center;
	padding: 14px 20px;
	border-top: 1px solid #e5e7eb;
}

.sc-wordai-seo-pagination span {
	color: #374151;
	font-weight: 700;
}

@media (max-width: 960px) {
	.sc-wordai-seo-scan-hero {
		grid-template-columns: 1fr;
	}

	.sc-wordai-seo-table-head,
	.sc-wordai-seo-job-card,
	.sc-wordai-seo-pagination {
		align-items: flex-start;
		flex-direction: column;
	}

	.sc-wordai-seo-details-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 782px) {
	.sc-wordai-seo-integration-card {
		grid-template-columns: 42px minmax(0, 1fr);
	}

	.sc-wordai-seo-owner-control,
	.sc-wordai-seo-owner-state {
		grid-column: 1 / -1;
	}

	.sc-wordai-seo-owner-control {
		grid-template-columns: 1fr;
	}

	.sc-wordai-seo-table thead {
		display: none;
	}

	.sc-wordai-seo-table,
	.sc-wordai-seo-table tbody,
	.sc-wordai-seo-table tr,
	.sc-wordai-seo-table td {
		display: block;
		width: 100% !important;
		min-width: 0 !important;
	}

	.sc-wordai-seo-table tr {
		box-sizing: border-box;
		padding: 12px;
		border-bottom: 1px solid #e5e7eb;
		background: #fff;
	}

	.sc-wordai-seo-table td {
		padding: 6px 0;
		border: 0;
	}

	.sc-wordai-seo-table .column-title {
		padding-top: 0;
	}

	.sc-wordai-seo-table .column-actions {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		padding-top: 10px;
	}

	.sc-wordai-seo-table .column-actions .button {
		width: 100%;
		min-width: 0;
	}

	.sc-wordai-seo-proposal-row {
		grid-template-columns: 1fr;
	}

	.sc-wordai-seo-proposal-row > strong {
		padding-top: 0;
	}
}
