.snd-serp-tool,
.snd-serp-tool * {
	box-sizing: border-box;
}

.snd-serp-tool {
	--snd-serp-text: #15211c;
	--snd-serp-muted: #68756f;
	--snd-serp-green: #176b51;
	--snd-serp-green-dark: #10543f;
	--snd-serp-green-soft: #eaf5f0;
	--snd-serp-blue: #416e83;
	--snd-serp-border: #e0e7e3;
	--snd-serp-bg: #f7f9f7;
	--snd-serp-white: #fff;
	width: 100%;
	color: var(--snd-serp-text);
}

.snd-serp-tool__header {
	margin-bottom: 25px;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 35px;
}

.snd-serp-tool__header > div {
	max-width: 720px;
}

.snd-serp-tool__eyebrow {
	margin-bottom: 10px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--snd-serp-green);
	font-size: 10px;
	line-height: 1;
	font-weight: 700;
	letter-spacing: .85px;
	text-transform: uppercase;
}

.snd-serp-tool__eyebrow::before {
	content: "";
	width: 22px;
	height: 1px;
	background: currentColor;
}

.snd-serp-tool__title {
	margin: 0 !important;
	color: var(--snd-serp-text) !important;
	font-size: clamp(28px, 3vw, 39px) !important;
	line-height: 1.16 !important;
	font-weight: 700 !important;
	letter-spacing: -1.2px !important;
}

.snd-serp-tool__intro {
	max-width: 660px;
	margin: 11px 0 0 !important;
	color: var(--snd-serp-muted) !important;
	font-size: 12px !important;
	line-height: 1.7 !important;
}

.snd-serp-tool__privacy {
	flex: 0 0 auto;
	padding: 9px 11px;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--snd-serp-green);
	background: var(--snd-serp-green-soft);
	border: 1px solid #d7e8df;
	border-radius: 999px;
	font-size: 9px;
	line-height: 1;
	font-weight: 700;
}

.snd-serp-tool__privacy svg {
	width: 15px;
	height: 15px;
}

.snd-serp-tool__grid {
	display: grid;
	grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
	gap: 15px;
}

.snd-serp-editor,
.snd-serp-preview-panel {
	padding: 22px;
	background: var(--snd-serp-white);
	border: 1px solid var(--snd-serp-border);
	border-radius: 17px;
	box-shadow: 0 8px 25px rgba(26, 46, 37, .025);
}

.snd-serp-editor__top,
.snd-serp-preview-panel__top {
	min-height: 35px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}

.snd-serp-editor__top > strong,
.snd-serp-preview-panel__top > strong {
	color: var(--snd-serp-text);
	font-size: 12px;
	line-height: 1.3;
	font-weight: 700;
}

.snd-serp-reset {
	padding: 6px 8px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #68756f;
	background: transparent;
	border: 0;
	border-radius: 7px;
	font: inherit;
	font-size: 9px;
	font-weight: 600;
	cursor: pointer;
}

.snd-serp-reset:hover,
.snd-serp-reset:focus-visible {
	color: var(--snd-serp-green);
	background: var(--snd-serp-green-soft);
}

.snd-serp-reset svg {
	width: 14px;
	height: 14px;
}

.snd-serp-fields {
	margin-top: 18px;
	display: grid;
	gap: 15px;
}

.snd-serp-field {
	display: block;
}

.snd-serp-field__label-row {
	margin-bottom: 7px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
}

.snd-serp-field > .snd-serp-field__label {
	margin-bottom: 7px;
	display: block;
}

.snd-serp-field__label {
	color: #405048;
	font-size: 10px;
	line-height: 1.3;
	font-weight: 700;
}

.snd-serp-counter {
	color: #87928d;
	font-size: 9px;
	line-height: 1;
	font-weight: 600;
}

.snd-serp-counter.is-good {
	color: var(--snd-serp-green);
}

.snd-serp-counter.is-warning {
	color: #a16a1f;
}

.snd-serp-counter.is-error {
	color: #b44343;
}

.snd-serp-field input,
.snd-serp-field textarea {
	width: 100%;
	margin: 0 !important;
	padding: 12px 13px !important;
	color: var(--snd-serp-text) !important;
	background: #fff !important;
	border: 1px solid #dce5e0 !important;
	border-radius: 10px !important;
	outline: 0;
	box-shadow: none !important;
	font: inherit;
	font-size: 11px;
	line-height: 1.55;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.snd-serp-field input {
	min-height: 43px;
}

.snd-serp-field textarea {
	min-height: 108px;
	resize: vertical;
}

.snd-serp-field input::placeholder,
.snd-serp-field textarea::placeholder {
	color: #98a29d;
	opacity: 1;
}

.snd-serp-field input:focus,
.snd-serp-field textarea:focus {
	border-color: var(--snd-serp-green) !important;
	box-shadow: 0 0 0 3px rgba(23, 107, 81, .075) !important;
}

.snd-serp-field__hint {
	min-height: 14px;
	margin-top: 5px;
	display: block;
	color: #8b9690;
	font-size: 8px;
	line-height: 1.4;
}

.snd-serp-field__hint.is-valid {
	color: var(--snd-serp-green);
}

.snd-serp-field__hint.is-invalid {
	color: #b44343;
}

.snd-serp-meter {
	height: 3px;
	margin-top: 6px;
	display: block;
	overflow: hidden;
	background: #edf1ef;
	border-radius: 99px;
}

.snd-serp-meter > span {
	width: 0;
	height: 100%;
	display: block;
	background: #9ea9a3;
	border-radius: inherit;
	transition: width .2s ease, background-color .2s ease;
}

.snd-serp-meter > span.is-good {
	background: var(--snd-serp-green);
}

.snd-serp-meter > span.is-warning {
	background: #b58136;
}

.snd-serp-meter > span.is-error {
	background: #b44343;
}

.snd-serp-device-tabs {
	padding: 3px;
	display: inline-flex;
	background: #f2f5f3;
	border-radius: 8px;
}

.snd-serp-device-tabs button {
	min-height: 29px;
	padding: 0 9px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: #6c7972;
	background: transparent;
	border: 0;
	border-radius: 6px;
	font: inherit;
	font-size: 8px;
	font-weight: 600;
	cursor: pointer;
}

.snd-serp-device-tabs button.is-active {
	color: var(--snd-serp-green);
	background: #fff;
	box-shadow: 0 2px 7px rgba(26, 46, 37, .06);
}

.snd-serp-device-tabs svg {
	width: 13px;
	height: 13px;
}

.snd-google-canvas {
	min-height: 253px;
	margin-top: 18px;
	padding: 34px 30px;
	display: flex;
	align-items: flex-start;
	background: #f7f8f8;
	border: 1px solid #e7ece9;
	border-radius: 12px;
}

.snd-google-result {
	width: min(600px, 100%);
	transition: max-width .2s ease;
}

.snd-google-result.is-mobile {
	max-width: 360px;
}

.snd-google-source {
	display: flex;
	align-items: center;
	gap: 10px;
}

.snd-google-favicon {
	flex: 0 0 auto;
	width: 29px;
	height: 29px;
	display: grid;
	place-items: center;
	color: #fff;
	background: var(--snd-serp-green);
	border-radius: 50%;
	font-size: 11px;
	font-weight: 700;
}

.snd-google-source strong,
.snd-google-source small {
	display: block;
	overflow-wrap: anywhere;
}

.snd-google-source strong {
	color: #202124;
	font-size: 11px;
	line-height: 1.35;
	font-weight: 500;
}

.snd-google-source small {
	margin-top: 1px;
	color: #4d5156;
	font-size: 9px;
	line-height: 1.35;
}

.snd-google-title {
	margin-top: 9px;
	color: #1a0dab;
	font-size: 19px;
	line-height: 1.25;
	font-weight: 400;
	overflow-wrap: anywhere;
}

.snd-google-description {
	margin-top: 5px;
	color: #4d5156;
	font-size: 12px;
	line-height: 1.55;
	overflow-wrap: anywhere;
}

.snd-google-result.is-mobile .snd-google-title {
	font-size: 18px;
}

.snd-serp-checks {
	margin-top: 13px;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 7px;
}

.snd-serp-check {
	padding: 9px;
	display: grid;
	grid-template-columns: 7px minmax(0, 1fr);
	column-gap: 7px;
	background: #f8faf9;
	border: 1px solid #e7ece9;
	border-radius: 8px;
}

.snd-serp-check > span {
	width: 7px;
	height: 7px;
	margin-top: 3px;
	grid-row: 1 / 3;
	background: #a7b0ab;
	border-radius: 50%;
}

.snd-serp-check.is-good > span {
	background: var(--snd-serp-green);
}

.snd-serp-check.is-warning > span {
	background: #b58136;
}

.snd-serp-check.is-error > span {
	background: #b44343;
}

.snd-serp-check strong {
	color: #35443d;
	font-size: 8px;
	line-height: 1.3;
	font-weight: 700;
}

.snd-serp-check small {
	margin-top: 2px;
	color: #7b8781;
	font-size: 7px;
	line-height: 1.35;
}

.snd-serp-copy {
	width: 100%;
	min-height: 41px;
	margin-top: 13px;
	padding: 0 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: #fff;
	background: var(--snd-serp-green);
	border: 1px solid var(--snd-serp-green);
	border-radius: 9px;
	font: inherit;
	font-size: 10px;
	font-weight: 700;
	cursor: pointer;
	transition: background-color .2s ease, transform .2s ease;
}

.snd-serp-copy:hover,
.snd-serp-copy:focus-visible {
	background: var(--snd-serp-green-dark);
	transform: translateY(-1px);
}

.snd-serp-copy.is-copied {
	background: #245f88;
	border-color: #245f88;
}

.snd-serp-copy svg {
	width: 15px;
	height: 15px;
}

.snd-serp-tool button:focus-visible,
.snd-serp-tool input:focus-visible,
.snd-serp-tool textarea:focus-visible {
	outline: 2px solid var(--snd-serp-green);
	outline-offset: 2px;
}

@media (max-width: 900px) {
	.snd-serp-tool__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 650px) {
	.snd-serp-tool__header {
		align-items: flex-start;
		flex-direction: column;
		gap: 16px;
	}

	.snd-serp-editor,
	.snd-serp-preview-panel {
		padding: 17px;
		border-radius: 14px;
	}

	.snd-google-canvas {
		min-height: 235px;
		padding: 25px 18px;
	}

	.snd-serp-checks {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 430px) {
	.snd-serp-preview-panel__top {
		align-items: flex-start;
		flex-direction: column;
	}

	.snd-serp-device-tabs {
		width: 100%;
	}

	.snd-serp-device-tabs button {
		flex: 1;
		justify-content: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.snd-serp-tool *,
	.snd-serp-tool *::before,
	.snd-serp-tool *::after {
		transition: none !important;
	}
}
