.ml-setup {
	max-width: 760px;
	margin: 24px auto 40px;
}

.ml-setup__progress {
	display: flex;
	gap: 4px;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.ml-setup__dot {
	flex: 1;
	margin: 0;
	text-align: center;
	font-size: 12px;
	color: #787c82;
}

.ml-setup__dot a,
.ml-setup__dot > span {
	display: block;
	color: inherit;
	text-decoration: none;
}

.ml-setup__dot::before {
	content: "";
	display: block;
	height: 4px;
	margin-bottom: 8px;
	border-radius: 2px;
	background: #dcdcde;
}

.ml-setup__dot.is-done::before {
	background: #00a32a;
}

.ml-setup__dot.is-current::before {
	background: #2271b1;
}

.ml-setup__dot.is-current {
	color: #1d2327;
	font-weight: 600;
}

.ml-setup__dot.is-done a {
	color: #1d2327;
}

.ml-setup__num {
	display: none;
}

.ml-setup__card {
	padding: 32px 40px;
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
}

.ml-setup__card h2 {
	margin: 0 0 12px;
	font-size: 24px;
	line-height: 1.3;
}

.ml-setup__eyebrow {
	margin: 0 0 6px;
	color: #2271b1;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.ml-setup__lead {
	font-size: 15px;
	line-height: 1.6;
}

.ml-setup__features {
	margin: 20px 0;
}

.ml-setup__features li {
	position: relative;
	margin-bottom: 12px;
	padding-left: 28px;
	font-size: 14px;
	line-height: 1.55;
}

.ml-setup__features li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #00a32a;
	font-weight: 700;
}

.ml-setup__what {
	margin: 0 0 24px;
	padding: 12px 16px;
	background: #f0f6fc;
	border-left: 4px solid #2271b1;
	border-radius: 0 4px 4px 0;
}

.ml-setup__what-label {
	display: block;
	margin-bottom: 2px;
	color: #2271b1;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.ml-setup__what p {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
}

.ml-setup__field {
	margin-bottom: 20px;
}

.ml-setup__field > label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
	font-size: 14px;
}

.ml-setup__field .regular-text {
	width: 100%;
	max-width: 480px;
}

.ml-setup__row {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
}

.ml-setup__choices {
	display: grid;
	gap: 8px;
}

.ml-setup__choice {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 10px 14px;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	cursor: pointer;
}

.ml-setup__choice:has(input:checked) {
	border-color: #2271b1;
	background: #f6fbff;
	box-shadow: 0 0 0 1px #2271b1;
}

.ml-setup__choice input[type="radio"] {
	margin-top: 3px;
}

.ml-setup__choice small,
.ml-setup__toggle small {
	display: block;
	margin-top: 2px;
	color: #50575e;
	font-size: 13px;
	line-height: 1.5;
}

.ml-setup__toggle {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin-bottom: 18px;
	cursor: pointer;
}

.ml-setup__toggle input {
	position: absolute;
	opacity: 0;
}

.ml-setup__switch {
	flex: 0 0 36px;
	height: 20px;
	margin-top: 1px;
	border-radius: 10px;
	background: #c3c4c7;
	position: relative;
	transition: background .15s;
}

.ml-setup__switch::after {
	content: "";
	position: absolute;
	top: 2px;
	left: 2px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #fff;
	transition: transform .15s;
}

.ml-setup__toggle input:checked + .ml-setup__switch {
	background: #2271b1;
}

.ml-setup__toggle input:checked + .ml-setup__switch::after {
	transform: translateX(16px);
}

.ml-setup__toggle input:focus-visible + .ml-setup__switch {
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px #2271b1;
}

.ml-setup__hint {
	margin: 20px 0;
	padding: 10px 14px;
	background: #fcf9e8;
	border-radius: 4px;
	font-size: 13px;
	line-height: 1.55;
}

.ml-setup__hint::before {
	content: "💡 ";
}

.ml-setup__logo {
	display: flex;
	gap: 8px;
	align-items: center;
	flex-wrap: wrap;
}

.ml-setup__logo-preview {
	max-height: 40px;
	max-width: 160px;
	padding: 6px 10px;
	border-radius: 4px;
}

.ml-setup__pages {
	width: 100%;
	border-collapse: collapse;
	margin-top: 8px;
}

.ml-setup__pages th {
	padding: 6px 8px;
	text-align: left;
	font-size: 12px;
	color: #50575e;
	font-weight: 600;
}

.ml-setup__pages td {
	padding: 8px;
	border-top: 1px solid #f0f0f1;
	vertical-align: middle;
}

.ml-setup__pages td:first-child {
	width: 24px;
}

.ml-setup__pages .regular-text {
	width: 100%;
}

.ml-setup__url {
	color: #787c82;
	font-size: 12px;
	word-break: break-all;
}

.ml-setup__tip {
	display: inline-block;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #dcdcde;
	color: #1d2327;
	font-size: 11px;
	line-height: 16px;
	text-align: center;
	cursor: help;
}

.ml-setup__results {
	margin: 12px 0;
	padding: 10px 14px;
	background: #f6f7f7;
	border-radius: 4px;
}

.ml-setup__results li {
	margin: 4px 0;
}

.ml-setup__results li span {
	display: inline-block;
	width: 18px;
	font-weight: 700;
	color: #00a32a;
}

.ml-setup__results li.is-error span {
	color: #d63638;
}

.ml-setup__results em {
	margin-left: 6px;
	color: #50575e;
	font-style: normal;
	font-size: 12px;
}

.ml-setup__module {
	margin-bottom: 16px;
	padding: 16px 16px 0;
	border: 1px solid #dcdcde;
	border-radius: 6px;
}

.ml-setup__summary {
	margin: 16px 0;
}

.ml-setup__summary li {
	display: flex;
	gap: 10px;
	align-items: baseline;
	padding: 8px 0;
	border-bottom: 1px solid #f0f0f1;
}

.ml-setup__summary strong {
	flex: 0 0 200px;
}

.ml-setup__value {
	flex: 1;
	color: #50575e;
	word-break: break-word;
}

.ml-setup__mark {
	width: 16px;
	font-weight: 700;
	color: #00a32a;
}

.ml-setup__summary .is-off .ml-setup__mark {
	color: #a7aaad;
}

.ml-setup__nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 32px;
	padding-top: 20px;
	border-top: 1px solid #f0f0f1;
}

.ml-setup__notice {
	margin: 0 0 20px;
	padding: 10px 14px;
	border-left: 4px solid #00a32a;
	background: #edfaef;
}

.ml-setup__notice.is-warning {
	border-color: #dba617;
	background: #fcf9e8;
}

.ml-setup__notice.is-error {
	border-color: #d63638;
	background: #fcf0f1;
}

.ml-setup__skip {
	text-align: center;
}

.ml-setup__skip a {
	color: #787c82;
}

@media (max-width: 782px) {
	.ml-setup__card {
		padding: 20px;
	}

	.ml-setup__label {
		display: none;
	}

	.ml-setup__dot.is-current .ml-setup__label {
		display: inline;
	}

	.ml-setup__summary li {
		flex-wrap: wrap;
	}

	.ml-setup__summary strong {
		flex-basis: 100%;
	}
}
