.auth-card__brand,
.unsubscribe-page__brand {
	width: min(100%, clamp(128px, 20vw, 176px));
	height: auto;
}

.auth-card__brand img,
.unsubscribe-page__brand img {
	display: block;
	width: 100%;
	height: auto;
}

.auth-card__brand:focus-visible {
	border-radius: 8px;
}

.auth-card a.auth-card__social:link,
.auth-card a.auth-card__social:visited,
.auth-card a.auth-card__social:hover,
.auth-card a.auth-card__social:focus-visible {
	color: inherit;
	text-decoration: none;
}

.auth-card__bot-field {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.auth-card__turnstile {
	width: 100%;
	min-width: 0;
	margin-block: -8px;
}

.auth-card__turnstile .cf-turnstile {
	display: flex;
	width: 100%;
	min-width: 0;
	justify-content: center;
}

.auth-card__turnstile iframe {
	max-width: 100%;
	border-radius: 12px;
}

.auth-card [data-auth-password-toggle][hidden] {
	display: none;
}

.auth-card__field-error {
	color: #c41f1f;
	font-size: 13px;
	line-height: 1.4;
}

.auth-card__checkbox + .auth-card__field-error {
	margin-top: -8px;
}

/* Short authentication screens keep one background across the full viewport. */
.design-layout-page--auth .layout-specimen__region--main,
.design-layout-page--auth .layout-specimen__canvas,
.design-layout-page--auth .auth-layout__screen {
	min-height: 100vh;
	min-height: 100dvh;
}

.design-layout-page--auth .layout-specimen__canvas {
	padding-block: 0;
}

/* Unsubscribe is a standalone Auth screen without the website header. */
#unsubscribe-layout,
#unsubscribe-layout .layout-specimen__canvas {
	padding-block: 0;
}

#unsubscribe-layout .layout-specimen__canvas {
	min-height: 0;
}

#unsubscribe-layout .unsubscribe-page__screen {
	min-height: 100vh;
	min-height: 100dvh;
}

@media (max-height: 480px) {
	#unsubscribe-layout .unsubscribe-page__screen {
		padding-block: 16px;
	}
}
