.cefwjc-admin {
	--cefwjc-accent: #2271b1;
	--cefwjc-accent-soft: #eef6fc;
	--cefwjc-border: #d9e2ec;
	--cefwjc-surface: #ffffff;
	--cefwjc-surface-muted: #f7fafc;
	--cefwjc-text-muted: #5c6b7a;
	max-width: 1220px;
	margin-top: 18px;
}

.cefwjc-admin__hero {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	padding: 28px 32px;
	margin: 16px 0 20px;
	border: 1px solid var(--cefwjc-border);
	border-radius: 18px;
	background: linear-gradient(135deg, #ffffff 0%, #f3f8fd 52%, #eef6fc 100%);
	box-shadow: 0 10px 30px rgba(32, 55, 78, 0.08);
}

.cefwjc-admin__hero h1 {
	margin: 0;
	font-size: 30px;
	line-height: 1.2;
}

.cefwjc-admin__lead {
	max-width: 720px;
	margin: 10px 0 0;
	font-size: 14px;
	color: var(--cefwjc-text-muted);
}

.cefwjc-admin__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

.cefwjc-admin__badge {
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(34, 113, 177, 0.09);
	color: var(--cefwjc-accent);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.cefwjc-admin__hero-icon {
	flex: 0 0 auto;
	width: 82px;
	height: 82px;
	border-radius: 22px;
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, #2271b1 0%, #5aa1da 100%);
	color: #fff;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 12px 24px rgba(34, 113, 177, 0.22);
}

.cefwjc-admin__hero-icon .dashicons {
	font-size: 38px;
	width: 38px;
	height: 38px;
}

.cefwjc-admin__page-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.cefwjc-admin__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 310px;
	gap: 20px;
	align-items: start;
}

.cefwjc-card,
.cefwjc-sidecard {
	background: var(--cefwjc-surface);
	border: 1px solid var(--cefwjc-border);
	border-radius: 18px;
	box-shadow: 0 8px 26px rgba(35, 52, 69, 0.06);
}

.cefwjc-card {
	overflow: hidden;
	margin-bottom: 20px;
}

.cefwjc-card__header {
	padding: 22px 24px 8px;
}

.cefwjc-card__header h2,
.cefwjc-sidecard h3 {
	margin: 0;
	font-size: 18px;
	line-height: 1.3;
}

.cefwjc-card__header p,
.cefwjc-sidecard p {
	margin: 8px 0 0;
	color: var(--cefwjc-text-muted);
}

.cefwjc-card .form-table {
	margin: 0;
	padding: 4px 24px 0;
	border-collapse: separate;
	border-spacing: 0;
}

.cefwjc-card .form-table th,
.cefwjc-card .form-table td {
	padding-top: 18px;
	padding-bottom: 18px;
	border-top: 1px solid #edf2f7;
	vertical-align: top;
}

.cefwjc-card .form-table tbody tr:first-child th,
.cefwjc-card .form-table tbody tr:first-child td {
	border-top: 0;
}

.cefwjc-card .form-table th {
	width: 260px;
	font-weight: 600;
}

.cefwjc-card .form-table select {
	min-width: 180px;
	border-radius: 8px;
}

.cefwjc-card .description {
	margin-top: 8px;
	max-width: 560px;
	color: var(--cefwjc-text-muted);
}

.cefwjc-checkbox {
	display: inline-flex;
	align-items: flex-start;
	gap: 10px;
	max-width: 560px;
	font-weight: 500;
}

.cefwjc-checkbox input {
	margin-top: 2px;
}

.cefwjc-checkbox span {
	display: inline-block;
	color: var(--cefwjc-text-muted);
	font-weight: 400;
}

.cefwjc-card__footer {
	display: flex;
	justify-content: flex-end;
	padding: 18px 24px 24px;
	border-top: 1px solid #edf2f7;
	background: var(--cefwjc-surface-muted);
}

.cefwjc-card__footer .button-primary {
	min-height: 40px;
	padding: 0 18px;
	border-radius: 10px;
	font-weight: 600;
}

.cefwjc-admin__sidebar {
	display: grid;
	gap: 16px;
}

.cefwjc-sidecard {
	padding: 20px;
}

.cefwjc-sidecard h3 {
	margin-bottom: 14px;
}

.cefwjc-sidecard--highlight {
	background: linear-gradient(180deg, #fafdff 0%, #eef6fc 100%);
}

.cefwjc-sidecard--support {
	background: linear-gradient(180deg, #fffdf6 0%, #fff5d9 100%);
}

.cefwjc-sidecard--support .button {
	width: 100%;
	justify-content: center;
}

.cefwjc-support-card__body {
	padding: 8px 24px 28px;
}

.cefwjc-support-card__body p {
	margin: 0 0 18px;
	max-width: 720px;
	color: #24313d;
}

.cefwjc-support-card__body .button-hero {
	min-height: 44px;
	padding: 0 22px;
	border-radius: 10px;
	font-weight: 600;
}

.cefwjc-sidecard ul,
.cefwjc-help-list {
	margin: 14px 0 0 18px;
}

.cefwjc-sidecard li,
.cefwjc-help-list li {
	margin-bottom: 10px;
	color: #24313d;
}

.cefwjc-help-steps {
	list-style: none;
	margin: 6px 24px 24px;
	padding: 0;
	counter-reset: cefwjc-help-step;
	display: grid;
	gap: 14px;
}

.cefwjc-help-steps li {
	position: relative;
	margin: 0;
	padding: 16px 18px 16px 72px;
	border: 1px solid #dce7f2;
	border-radius: 16px;
	background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
	color: #24313d;
	font-size: 16px;
	line-height: 1.55;
	box-shadow: 0 6px 18px rgba(35, 52, 69, 0.04);
}

.cefwjc-help-steps li::before {
	counter-increment: cefwjc-help-step;
	content: counter(cefwjc-help-step);
	position: absolute;
	top: 50%;
	left: 18px;
	width: 36px;
	height: 36px;
	border-radius: 12px;
	transform: translateY(-50%);
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, #2271b1 0%, #5aa1da 100%);
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	box-shadow: 0 8px 18px rgba(34, 113, 177, 0.18);
}

.cefwjc-feature-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.cefwjc-feature-list li {
	position: relative;
	margin: 0;
	padding: 12px 14px 12px 44px;
	border: 1px solid #dce7f2;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.72);
	line-height: 1.55;
}

.cefwjc-feature-list li::before {
	content: "";
	position: absolute;
	top: 14px;
	left: 14px;
	width: 18px;
	height: 18px;
	border-radius: 999px;
	background: linear-gradient(135deg, #2271b1 0%, #5aa1da 100%);
	box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.9);
}

.cefwjc-feature-list--recommend li::before {
	background: linear-gradient(135deg, #1f9d55 0%, #67c587 100%);
}

.cefwjc-card--narrow {
	max-width: 820px;
}

.cefwjc-card .notice.inline {
	margin: 0 24px 24px;
}

@media screen and (max-width: 960px) {
	.cefwjc-admin__layout {
		grid-template-columns: 1fr;
	}

	.cefwjc-admin__hero {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media screen and (max-width: 782px) {
	.cefwjc-admin__hero {
		padding: 22px;
		border-radius: 14px;
	}

	.cefwjc-card .form-table,
	.cefwjc-card .form-table tbody,
	.cefwjc-card .form-table tr,
	.cefwjc-card .form-table th,
	.cefwjc-card .form-table td {
		display: block;
		width: 100%;
	}

	.cefwjc-card .form-table th,
	.cefwjc-card .form-table td {
		padding-right: 0;
	}

	.cefwjc-card .form-table select {
		width: 100%;
		max-width: none;
	}

	.cefwjc-admin__tabs .nav-tab {
		margin-bottom: -1px;
	}

	.cefwjc-card__footer {
		justify-content: stretch;
	}

	.cefwjc-card__footer .button-primary {
		width: 100%;
		text-align: center;
	}
}
