:root {
	--auth-bg: #090b10;
	--auth-bg-soft: #12151c;
	--auth-panel: rgba(18, 21, 28, 0.92);
	--auth-panel-border: rgba(255, 255, 255, 0.08);
	--auth-input: rgba(255, 255, 255, 0.045);
	--auth-input-strong: rgba(255, 255, 255, 0.075);
	--auth-text: #f1f2f5;
	--auth-text-soft: #9095a1;
	--auth-text-muted: #6c707a;
	--auth-green: #28563a;
	--auth-green-strong: #3d8a5a;
	--auth-green-glow: rgba(61, 138, 90, 0.28);
	--auth-line: rgba(255, 255, 255, 0.12);
	--auth-danger: #ff8f8f;
	--auth-success: #98e0a6;
	--auth-radius: 26px;
	--auth-radius-small: 18px;
	--auth-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
	--auth-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
	min-height: 100%;
}

body.auth-body {
	font-family: var(--auth-font);
	background:
		radial-gradient(circle at top, rgba(61, 138, 90, 0.14), transparent 28%),
		radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.05), transparent 24%),
		var(--auth-bg);
	color: var(--auth-text);
}

body.auth-body a {
	color: inherit;
}

.auth-noise {
	position: fixed;
	inset: 0;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
	background-size: 32px 32px;
	mask-image: radial-gradient(circle at center, black, transparent 78%);
	opacity: 0.35;
}

.auth-shell,
.legal-shell {
	position: relative;
	z-index: 1;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px 20px;
}

.auth-panel,
.legal-card {
	width: min(100%, 820px);
	background: var(--auth-panel);
	border: 1px solid var(--auth-panel-border);
	border-radius: var(--auth-radius);
	box-shadow: var(--auth-shadow);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
}

.auth-panel {
	padding: 34px;
}

.auth-panel-login {
	max-width: 860px;
}

.auth-panel-password {
	max-width: 760px;
}

.auth-home-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 28px;
	font-size: 14px;
	color: var(--auth-text-soft);
	text-decoration: none;
}

.auth-home-link::before {
	content: "<";
	font-size: 12px;
	color: var(--auth-green-strong);
}

.auth-copy {
	margin-bottom: 28px;
}

.auth-eyebrow {
	margin: 0 0 10px;
	font-size: 12px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--auth-green-strong);
}

.auth-title {
	margin: 0;
	font-size: clamp(54px, 9vw, 88px);
	line-height: 1;
	letter-spacing: -0.08em;
	font-weight: 700;
}

.auth-title-small {
	font-size: clamp(40px, 7vw, 64px);
}

.auth-subtitle {
	margin: 18px 0 0;
	max-width: 620px;
	font-size: 16px;
	line-height: 1.8;
	color: var(--auth-text-soft);
}

.auth-form {
	display: grid;
	gap: 20px;
}

.auth-field {
	display: flex;
	align-items: center;
	min-height: 96px;
	padding: 0 24px;
	background: var(--auth-input);
	border: 1px solid rgba(255, 255, 255, 0.04);
	border-radius: var(--auth-radius-small);
	transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.auth-field:focus-within {
	border-color: rgba(61, 138, 90, 0.5);
	background: var(--auth-input-strong);
	transform: translateY(-1px);
}

.auth-field input {
	width: 100%;
	border: 0;
	outline: none;
	background: transparent;
	color: var(--auth-text);
	font-size: 22px;
	font-weight: 600;
	font-family: inherit;
}

.auth-field input::placeholder {
	color: var(--auth-text-muted);
	font-weight: 600;
}

.auth-field-inline {
	gap: 20px;
}

.auth-prefix {
	position: relative;
	padding-right: 22px;
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -0.04em;
	color: var(--auth-text);
}

.auth-prefix::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 0;
	width: 1px;
	height: 46px;
	background: var(--auth-line);
	transform: translateY(-50%);
}

.auth-field-code {
	gap: 24px;
}

.auth-code-button {
	flex-shrink: 0;
	min-width: 174px;
	padding-left: 28px;
	border: 0;
	border-left: 1px solid var(--auth-line);
	background: transparent;
	color: var(--auth-text);
	font-size: 20px;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	transition: color 0.25s ease, opacity 0.25s ease;
}

.auth-code-button:hover:not(:disabled) {
	color: var(--auth-success);
}

.auth-code-button:disabled {
	opacity: 0.42;
	cursor: not-allowed;
}

.auth-inline-meta,
.auth-error,
.auth-success {
	min-height: 24px;
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
}

.auth-inline-meta {
	color: var(--auth-text-soft);
}

.auth-inline-meta.is-success,
.auth-username-meta.is-success {
	color: var(--auth-success);
}

.auth-inline-meta.is-error,
.auth-username-meta.is-error {
	color: var(--auth-danger);
}

.auth-inline-meta.is-loading,
.auth-username-meta.is-loading {
	color: #d8dba4;
}

.auth-error {
	color: var(--auth-danger);
}

.auth-success {
	color: var(--auth-success);
}

.auth-agreement {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--auth-text-soft);
	cursor: pointer;
}

.auth-agreement input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.auth-checkbox {
	position: relative;
	flex-shrink: 0;
	width: 26px;
	height: 26px;
	border: 1.5px solid rgba(61, 138, 90, 0.9);
	border-radius: 4px;
	background: rgba(8, 10, 14, 0.5);
}

.auth-checkbox::after {
	content: "";
	position: absolute;
	left: 8px;
	top: 3px;
	width: 6px;
	height: 12px;
	border-right: 2px solid #041009;
	border-bottom: 2px solid #041009;
	transform: rotate(45deg) scale(0);
	transform-origin: center;
	transition: transform 0.15s ease;
}

.auth-agreement input:checked + .auth-checkbox {
	background: #10de83;
	box-shadow: 0 0 20px rgba(16, 222, 131, 0.18);
}

.auth-agreement input:checked + .auth-checkbox::after {
	transform: rotate(45deg) scale(1);
}

.auth-agreement-copy a {
	color: var(--auth-text);
	text-decoration: none;
	font-weight: 700;
}

.auth-submit {
	width: 100%;
	min-height: 96px;
	border: 0;
	border-radius: 0;
	background: linear-gradient(180deg, #3f8f58, #28563a);
	color: #07110b;
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -0.04em;
	font-family: inherit;
	cursor: pointer;
	transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.auth-submit:hover:not(:disabled) {
	transform: translateY(-1px);
	box-shadow: 0 22px 44px var(--auth-green-glow);
}

.auth-submit:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.auth-user-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px 22px;
	margin-bottom: 20px;
	border: 1px solid var(--auth-panel-border);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.025);
}

.auth-user-helper {
	margin: 0;
	font-size: 14px;
	line-height: 1.7;
	color: var(--auth-text-soft);
}

.auth-user-label,
.auth-label {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: var(--auth-text-muted);
}

.auth-required,
.auth-optional {
	margin-left: 8px;
	font-size: 11px;
	letter-spacing: 0.12em;
}

.auth-required {
	color: var(--auth-green-strong);
}

.auth-optional {
	color: var(--auth-text-muted);
}

.auth-field-stack {
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding-top: 18px;
	padding-bottom: 18px;
}

.auth-profile-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.auth-username-meta {
	margin-top: -8px;
}

.auth-password-rule {
	padding: 18px 22px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.04);
}

.auth-password-rule p {
	margin: 0 0 8px;
	font-weight: 700;
}

.auth-password-rule ul {
	margin: 0;
	padding-left: 18px;
	color: var(--auth-text-soft);
	line-height: 1.8;
}

.auth-action-row {
	display: grid;
	gap: 14px;
}

.auth-secondary-button {
	width: 100%;
	min-height: 62px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.03);
	color: var(--auth-text);
	font-size: 16px;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.auth-secondary-button:hover:not(:disabled) {
	transform: translateY(-1px);
	border-color: rgba(61, 138, 90, 0.4);
	background: rgba(61, 138, 90, 0.08);
}

.auth-secondary-button:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.legal-shell {
	flex-direction: column;
	gap: 24px;
}

.legal-header {
	width: min(100%, 820px);
}

.legal-card {
	padding: 32px;
	line-height: 1.9;
	color: var(--auth-text-soft);
}

.legal-card h2 {
	margin: 0 0 10px;
	font-size: 22px;
	line-height: 1.3;
	color: var(--auth-text);
}

.legal-card p {
	margin: 0 0 26px;
}

@media (max-width: 720px) {
	.auth-shell,
	.legal-shell {
		padding: 24px 14px;
	}

	.auth-panel,
	.legal-card {
		padding: 24px 18px;
		border-radius: 20px;
	}

	.auth-title {
		font-size: 54px;
	}

	.auth-field {
		min-height: 78px;
		padding: 0 18px;
	}

	.auth-field input {
		font-size: 18px;
	}

	.auth-profile-grid {
		grid-template-columns: 1fr;
	}

	.auth-prefix {
		font-size: 22px;
		padding-right: 18px;
	}

	.auth-prefix::after {
		height: 36px;
	}

	.auth-field-code {
		gap: 16px;
	}

	.auth-code-button {
		min-width: 130px;
		padding-left: 18px;
		font-size: 16px;
	}

	.auth-submit {
		min-height: 78px;
		font-size: 20px;
	}

	.auth-secondary-button {
		min-height: 56px;
	}
}

@media (max-width: 560px) {
	.auth-title {
		font-size: 46px;
	}

	.auth-field-inline,
	.auth-field-code {
		flex-wrap: wrap;
		align-items: center;
	}

	.auth-prefix {
		width: 100%;
		padding-right: 0;
		padding-bottom: 12px;
	}

	.auth-prefix::after {
		display: none;
	}

	.auth-code-button {
		width: 100%;
		padding: 16px 0 0;
		border-left: 0;
		border-top: 1px solid var(--auth-line);
		text-align: left;
	}

	.auth-agreement {
		align-items: flex-start;
	}
}

body.auth-password-body {
	position: relative;
	overflow-x: hidden;
	background: #f8fafc;
	color: #0f172a;
}

body.auth-password-body::before {
	content: "";
	position: fixed;
	inset: 0;
	background-image:
		radial-gradient(circle, rgba(255, 165, 0, 0.08) 1px, transparent 1px),
		repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255, 165, 0, 0.04) 39px, rgba(255, 165, 0, 0.04) 40px),
		repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255, 165, 0, 0.04) 39px, rgba(255, 165, 0, 0.04) 40px);
	background-size: 40px 40px, 40px 40px, 40px 40px;
	pointer-events: none;
	z-index: 0;
}

body.auth-password-body::after {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	background:
		radial-gradient(ellipse at 12% 8%, rgba(255, 165, 0, 0.06) 0%, transparent 50%),
		radial-gradient(ellipse at 90% 92%, rgba(255, 165, 0, 0.04) 0%, transparent 50%);
}

body.auth-password-body a {
	color: inherit;
}

body.auth-password-body .auth-noise {
	display: none;
}

body.auth-password-body .scan-overlay {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	overflow: hidden;
}

body.auth-password-body .scan-overlay::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 165, 0, 0.12), transparent);
	animation: auth-login-scan-line 8s linear infinite;
}

body.auth-password-body .nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	padding: 18px 0;
	transition: background 0.4s, padding 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}

body.auth-password-body .nav.scrolled {
	background: rgba(248, 250, 252, 0.85);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
	padding: 12px 0;
	box-shadow: 0 1px 0 #e2e8f0, 0 4px 24px rgba(0, 0, 0, 0.06);
}

body.auth-password-body .nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 40px;
}

body.auth-password-body .nav-logo {
	display: flex;
	align-items: center;
	text-decoration: none;
	transition: filter 0.3s;
}

body.auth-password-body .nav-logo:hover {
	filter: drop-shadow(0 0 10px rgba(255, 165, 0, 0.2));
}

body.auth-password-body .nav-links {
	display: flex;
	gap: 32px;
	list-style: none;
}

body.auth-password-body .nav-links a {
	color: #334155;
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 500;
	position: relative;
	padding: 4px 0;
}

body.auth-password-body .nav-links a::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 1.5px;
	background: #ffa500;
	transition: width 0.3s ease;
	border-radius: 1px;
}

body.auth-password-body .nav-links a:hover::after,
body.auth-password-body .nav-links a.active::after {
	width: 100%;
}

body.auth-password-body .nav-links a:hover,
body.auth-password-body .nav-links a.active {
	color: #0f172a;
}

body.auth-password-body .nav-cta {
	background: linear-gradient(135deg, #ffa500, #f57c00);
	color: #ffffff;
	border: none;
	padding: 10px 22px;
	border-radius: 24px;
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s;
	text-decoration: none;
	display: inline-block;
	letter-spacing: -0.01em;
	box-shadow: 0 0 16px rgba(255, 165, 0, 0.14);
	position: relative;
	overflow: hidden;
}

body.auth-password-body .nav-cta::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
	background-size: 200% 100%;
	transition: opacity 0.3s;
	opacity: 0;
}

body.auth-password-body .nav-cta:hover::after {
	opacity: 1;
	animation: auth-login-shimmer 1.2s ease infinite;
}

body.auth-password-body .nav-cta:hover {
	box-shadow: 0 0 28px rgba(255, 165, 0, 0.25);
	transform: translateY(-1px);
}

body.auth-password-body .nav-toggle {
	display: none;
	flex-direction: column;
	gap: 4px;
	cursor: pointer;
	padding: 4px;
	z-index: 101;
	background: none;
	border: none;
}

body.auth-password-body .nav-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: #0f172a;
	border-radius: 1px;
	transition: 0.25s ease;
}

body.auth-password-body .nav-toggle.active span:nth-child(1) {
	transform: rotate(45deg) translate(4px, 4px);
}

body.auth-password-body .nav-toggle.active span:nth-child(2) {
	opacity: 0;
}

body.auth-password-body .nav-toggle.active span:nth-child(3) {
	transform: rotate(-45deg) translate(4px, -4px);
}

body.auth-password-body .auth-shell {
	position: relative;
	z-index: 1;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 116px 20px 48px;
}

body.auth-password-body .auth-panel {
	width: min(100%, 1120px);
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(148, 163, 184, 0.22);
	border-radius: 28px;
	box-shadow: 0 24px 80px rgba(15, 23, 42, 0.08);
	backdrop-filter: blur(22px);
	-webkit-backdrop-filter: blur(22px);
	padding: 28px;
}

body.auth-password-body .auth-panel-password {
	max-width: 1120px;
}

body.auth-password-body .auth-password-layout {
	display: grid;
	grid-template-columns: minmax(300px, 0.95fr) minmax(420px, 1.05fr);
	gap: 24px;
}

body.auth-password-body .auth-password-intro {
	display: grid;
	align-content: start;
	gap: 24px;
	padding: 10px 8px 10px 4px;
}

body.auth-password-body .auth-home-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 0;
	font-size: 14px;
	color: #64748b;
	text-decoration: none;
}

body.auth-password-body .auth-home-link::before {
	content: "<";
	font-size: 12px;
	color: #ffa500;
}

body.auth-password-body .auth-copy {
	margin-bottom: 0;
}

body.auth-password-body .auth-eyebrow,
body.auth-password-body .auth-form-kicker {
	margin: 0 0 10px;
	font-size: 12px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: #ffa500;
	font-weight: 700;
}

body.auth-password-body .auth-title {
	margin: 0;
	font-size: clamp(42px, 5vw, 64px);
	line-height: 0.96;
	letter-spacing: -0.08em;
	font-weight: 800;
	color: #0f172a;
}

body.auth-password-body .auth-title-small {
	font-size: clamp(42px, 5vw, 64px);
}

body.auth-password-body .auth-subtitle {
	margin: 18px 0 0;
	max-width: 560px;
	font-size: 15px;
	line-height: 1.8;
	color: #475569;
}

body.auth-password-body .auth-user-card,
body.auth-password-body .auth-highlight-card,
body.auth-password-body .auth-password-form-panel,
body.auth-password-body .auth-password-rule {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.94));
	border: 1px solid rgba(226, 232, 240, 0.95);
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

body.auth-password-body .auth-user-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 22px 24px;
	margin-bottom: 0;
	border-radius: 20px;
}

body.auth-password-body .auth-user-helper {
	margin: 0;
	font-size: 14px;
	line-height: 1.7;
	color: #64748b;
}

body.auth-password-body .auth-user-label,
body.auth-password-body .auth-label {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: #94a3b8;
}

body.auth-password-body #currentUserPhone {
	font-size: 1.4rem;
	line-height: 1.2;
	color: #0f172a;
}

body.auth-password-body .auth-setup-highlights {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

body.auth-password-body .auth-highlight-card {
	position: relative;
	padding: 22px 20px 20px;
	border-radius: 20px;
	overflow: hidden;
}

body.auth-password-body .auth-highlight-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, rgba(255, 165, 0, 0), rgba(255, 165, 0, 0.5), rgba(255, 165, 0, 0));
}

body.auth-password-body .auth-highlight-index {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(255, 165, 0, 0.1);
	color: #f57c00;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	margin-bottom: 14px;
}

body.auth-password-body .auth-highlight-card h2 {
	margin: 0 0 8px;
	font-size: 1.05rem;
	letter-spacing: -0.02em;
	color: #0f172a;
}

body.auth-password-body .auth-highlight-card p,
body.auth-password-body .auth-form-header p {
	margin: 0;
	font-size: 14px;
	line-height: 1.75;
	color: #64748b;
}

body.auth-password-body .auth-password-form-panel {
	padding: 28px;
	border-radius: 24px;
}

body.auth-password-body .auth-form-header {
	margin-bottom: 22px;
}

body.auth-password-body .auth-form-header h2 {
	margin: 0 0 8px;
	font-size: 1.65rem;
	letter-spacing: -0.04em;
	color: #0f172a;
}

body.auth-password-body .auth-form {
	display: grid;
	gap: 16px;
}

body.auth-password-body .auth-field {
	display: flex;
	align-items: center;
	min-height: 82px;
	padding: 0 20px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 18px;
	transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

body.auth-password-body .auth-field:focus-within {
	border-color: rgba(255, 165, 0, 0.36);
	background: #ffffff;
	transform: translateY(-1px);
	box-shadow: 0 0 0 4px rgba(255, 165, 0, 0.08);
}

body.auth-password-body .auth-field-stack {
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding-top: 16px;
	padding-bottom: 16px;
}

body.auth-password-body .auth-field input {
	width: 100%;
	border: 0;
	outline: none;
	background: transparent;
	color: #0f172a;
	font-size: 18px;
	font-weight: 600;
	font-family: inherit;
}

body.auth-password-body .auth-field input::placeholder {
	color: #94a3b8;
	font-weight: 600;
}

body.auth-password-body .auth-required {
	color: #f57c00;
}

body.auth-password-body .auth-optional {
	color: #94a3b8;
}

body.auth-password-body .auth-profile-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

body.auth-password-body .auth-inline-meta,
body.auth-password-body .auth-error,
body.auth-password-body .auth-success {
	min-height: 24px;
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
}

body.auth-password-body .auth-inline-meta {
	color: #475569;
}

body.auth-password-body .auth-inline-meta.is-success,
body.auth-password-body .auth-username-meta.is-success {
	color: #10b981;
}

body.auth-password-body .auth-inline-meta.is-error,
body.auth-password-body .auth-username-meta.is-error,
body.auth-password-body .auth-error {
	color: #ef4444;
}

body.auth-password-body .auth-inline-meta.is-loading,
body.auth-password-body .auth-username-meta.is-loading {
	color: #d97706;
}

body.auth-password-body .auth-success {
	color: #10b981;
}

body.auth-password-body .auth-password-rule {
	padding: 20px 22px;
	border-radius: 18px;
}

body.auth-password-body .auth-password-rule p {
	margin: 0 0 8px;
	font-weight: 700;
	color: #0f172a;
}

body.auth-password-body .auth-password-rule ul {
	margin: 0;
	padding-left: 18px;
	color: #64748b;
	line-height: 1.8;
}

body.auth-password-body .auth-action-row {
	display: grid;
	gap: 12px;
}

body.auth-password-body .auth-submit {
	width: 100%;
	min-height: 58px;
	border: 0;
	border-radius: 18px;
	background: linear-gradient(135deg, #ffa500, #f57c00);
	color: #ffffff;
	font-size: 18px;
	font-weight: 800;
	letter-spacing: -0.04em;
	font-family: inherit;
	cursor: pointer;
	transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
	box-shadow: 0 0 18px rgba(255, 165, 0, 0.15);
}

body.auth-password-body .auth-submit:hover:not(:disabled) {
	transform: translateY(-2px);
	box-shadow: 0 0 36px rgba(255, 165, 0, 0.18);
}

body.auth-password-body .auth-submit:disabled,
body.auth-password-body .auth-secondary-button:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

body.auth-password-body .auth-secondary-button {
	width: 100%;
	min-height: 54px;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.75);
	color: #0f172a;
	font-size: 15px;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease, opacity 0.25s ease, box-shadow 0.25s ease;
}

body.auth-password-body .auth-secondary-button:hover:not(:disabled) {
	transform: translateY(-1px);
	border-color: rgba(255, 165, 0, 0.35);
	background: #ffffff;
	box-shadow: 0 10px 24px rgba(255, 165, 0, 0.08);
}

body.auth-password-body .desktop-only {
	display: inline-block;
}

@media (max-width: 960px) {
	body.auth-password-body .auth-password-layout {
		grid-template-columns: 1fr;
	}

	body.auth-password-body .auth-password-intro {
		padding: 0;
	}
}

@media (max-width: 768px) {
	body.auth-password-body .nav.scrolled {
		background: rgba(248, 250, 252, 0.92);
	}

	body.auth-password-body .nav-inner {
		padding: 0 24px;
	}

	body.auth-password-body .nav-links {
		display: none;
	}

	body.auth-password-body .nav-links.mobile-open {
		background: rgba(255, 251, 199, 0.97);
		backdrop-filter: blur(20px);
		display: flex;
		flex-direction: column;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		padding: 24px 32px;
		gap: 16px;
		border-top: 1px solid #e2e8f0;
		box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
	}

	body.auth-password-body .nav-toggle {
		display: flex;
	}

	body.auth-password-body .desktop-only {
		display: none;
	}

	body.auth-password-body .auth-shell {
		padding: 94px 14px 24px;
	}

	body.auth-password-body .auth-panel {
		padding: 18px;
	}

	body.auth-password-body .auth-password-form-panel {
		padding: 20px 16px;
	}

	body.auth-password-body .auth-title,
	body.auth-password-body .auth-title-small {
		font-size: 40px;
	}

	body.auth-password-body .auth-setup-highlights,
	body.auth-password-body .auth-profile-grid {
		grid-template-columns: 1fr;
	}

	body.auth-password-body .auth-field {
		min-height: 74px;
		padding: 0 16px;
	}
}

@media (max-width: 560px) {
	body.auth-password-body .auth-title,
	body.auth-password-body .auth-title-small {
		font-size: 34px;
	}

	body.auth-password-body .auth-panel {
		border-radius: 22px;
	}

	body.auth-password-body .auth-user-card,
	body.auth-password-body .auth-highlight-card,
	body.auth-password-body .auth-password-form-panel,
	body.auth-password-body .auth-password-rule {
		border-radius: 18px;
	}
}

body.auth-login-body {
	position: relative;
	overflow-x: hidden;
	background: #f8fafc;
	color: #0f172a;
}

body.auth-login-body::before {
	content: "";
	position: fixed;
	inset: 0;
	background-image:
		radial-gradient(circle, rgba(255, 165, 0, 0.08) 1px, transparent 1px),
		repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255, 165, 0, 0.04) 39px, rgba(255, 165, 0, 0.04) 40px),
		repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255, 165, 0, 0.04) 39px, rgba(255, 165, 0, 0.04) 40px);
	background-size: 40px 40px, 40px 40px, 40px 40px;
	pointer-events: none;
	z-index: 0;
}

body.auth-login-body::after {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	background:
		radial-gradient(ellipse at 10% 5%, rgba(255, 165, 0, 0.06) 0%, transparent 50%),
		radial-gradient(ellipse at 90% 95%, rgba(255, 165, 0, 0.04) 0%, transparent 50%);
}

body.auth-login-body a {
	color: inherit;
}

body.auth-login-body .auth-noise {
	display: none;
}

body.auth-login-body .scan-overlay {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	overflow: hidden;
}

body.auth-login-body .scan-overlay::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 165, 0, 0.12), transparent);
	animation: auth-login-scan-line 8s linear infinite;
}

@keyframes auth-login-scan-line {
	0% { top: -2%; opacity: 0; }
	5% { opacity: 1; }
	90% { opacity: 1; }
	100% { top: 102%; opacity: 0; }
}

body.auth-login-body .nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	padding: 18px 0;
	transition: background 0.4s, padding 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}

body.auth-login-body .nav.scrolled {
	background: rgba(248, 250, 252, 0.85);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
	padding: 12px 0;
	box-shadow: 0 1px 0 #e2e8f0, 0 4px 24px rgba(0, 0, 0, 0.06);
}

body.auth-login-body .nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 40px;
}

body.auth-login-body .nav-logo {
	display: flex;
	align-items: center;
	text-decoration: none;
	transition: filter 0.3s;
}

body.auth-login-body .nav-logo:hover {
	filter: drop-shadow(0 0 10px rgba(255, 165, 0, 0.2));
}

body.auth-login-body .nav-links {
	display: flex;
	gap: 32px;
	list-style: none;
}

body.auth-login-body .nav-links a {
	color: #334155;
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 500;
	position: relative;
	padding: 4px 0;
}

body.auth-login-body .nav-links a::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 1.5px;
	background: #ffa500;
	transition: width 0.3s ease;
	border-radius: 1px;
}

body.auth-login-body .nav-links a:hover::after,
body.auth-login-body .nav-links a.active::after {
	width: 100%;
}

body.auth-login-body .nav-links a:hover,
body.auth-login-body .nav-links a.active {
	color: #0f172a;
}

body.auth-login-body .nav-cta {
	background: linear-gradient(135deg, #ffa500, #f57c00);
	color: #ffffff;
	border: none;
	padding: 10px 22px;
	border-radius: 24px;
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s;
	text-decoration: none;
	display: inline-block;
	letter-spacing: -0.01em;
	box-shadow: 0 0 16px rgba(255, 165, 0, 0.14);
	position: relative;
	overflow: hidden;
}

body.auth-login-body .nav-cta::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
	background-size: 200% 100%;
	transition: opacity 0.3s;
	opacity: 0;
}

body.auth-login-body .nav-cta:hover::after {
	opacity: 1;
	animation: auth-login-shimmer 1.2s ease infinite;
}

body.auth-login-body .nav-cta:hover {
	box-shadow: 0 0 28px rgba(255, 165, 0, 0.25);
	transform: translateY(-1px);
}

body.auth-login-body .nav-toggle {
	display: none;
	flex-direction: column;
	gap: 4px;
	cursor: pointer;
	padding: 4px;
	z-index: 101;
	background: none;
	border: none;
}

body.auth-login-body .nav-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: #0f172a;
	border-radius: 1px;
	transition: 0.25s ease;
}

body.auth-login-body .nav-toggle.active span:nth-child(1) {
	transform: rotate(45deg) translate(4px, 4px);
}

body.auth-login-body .nav-toggle.active span:nth-child(2) {
	opacity: 0;
}

body.auth-login-body .nav-toggle.active span:nth-child(3) {
	transform: rotate(-45deg) translate(4px, -4px);
}

@keyframes auth-login-shimmer {
	0% { background-position: 200% center; }
	100% { background-position: -200% center; }
}

body.auth-login-body .auth-shell {
	position: relative;
	z-index: 1;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 100px 20px 48px;
}

body.auth-login-body .auth-panel {
	width: min(100%, 820px);
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 28px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	padding: 24px;
}

body.auth-login-body .auth-panel-login {
	max-width: 360px;
	width: 100%;
}

body.auth-login-body .auth-copy {
	margin-bottom: 20px;
}

body.auth-login-body .auth-eyebrow {
	margin: 0 0 10px;
	font-size: 12px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: #ffa500;
	font-weight: 700;
}

body.auth-login-body .auth-title {
	margin: 0;
	font-size: clamp(24px, 5vw, 34px);
	line-height: 1;
	letter-spacing: -0.08em;
	font-weight: 700;
	color: #0f172a;
}

body.auth-login-body .auth-subtitle {
	margin: 18px 0 0;
	max-width: 620px;
	font-size: 14px;
	line-height: 1.7;
	color: #334155;
}

body.auth-login-body .auth-form {
	display: grid;
	gap: 16px;
}

body.auth-login-body .auth-field {
	display: flex;
	align-items: center;
	min-height: 56px;
	padding: 0 18px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

body.auth-login-body .auth-field:focus-within {
	border-color: rgba(255, 165, 0, 0.36);
	background: #ffffff;
	transform: translateY(-1px);
}

body.auth-login-body .auth-field input {
	width: 100%;
	border: 0;
	outline: none;
	background: transparent;
	color: #0f172a;
	font-size: 18px;
	font-weight: 600;
	font-family: inherit;
}

body.auth-login-body .auth-field input::placeholder {
	color: #64748b;
	font-weight: 600;
}

body.auth-login-body .auth-field-inline {
	gap: 16px;
}

body.auth-login-body .auth-prefix {
	position: relative;
	padding-right: 22px;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.04em;
	color: #0f172a;
}

body.auth-login-body .auth-prefix::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 0;
	width: 1px;
	height: 46px;
	background: #e2e8f0;
	transform: translateY(-50%);
}

body.auth-login-body .auth-field-code {
	gap: 24px;
}

body.auth-login-body .auth-code-button {
	flex-shrink: 0;
	min-width: 174px;
	padding-left: 28px;
	border: 0;
	border-left: 1px solid #e2e8f0;
	background: transparent;
	color: #0f172a;
	font-size: 16px;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	transition: color 0.25s ease, opacity 0.25s ease;
}

body.auth-login-body .auth-code-button:hover:not(:disabled) {
	color: #ffa500;
}

body.auth-login-body .auth-inline-meta {
	color: #334155;
}

body.auth-login-body .auth-inline-meta.is-success {
	color: #10b981;
}

body.auth-login-body .auth-inline-meta.is-error,
body.auth-login-body .auth-error {
	color: #ef4444;
}

body.auth-login-body .auth-inline-meta.is-loading {
	color: #d97706;
}

body.auth-login-body .auth-success {
	color: #10b981;
}

body.auth-login-body .auth-agreement {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 15px;
	line-height: 1.6;
	color: #334155;
	cursor: pointer;
}

body.auth-login-body .auth-checkbox {
	position: relative;
	flex-shrink: 0;
	width: 26px;
	height: 26px;
	border: 1.5px solid #ffa500;
	border-radius: 4px;
	background: #ffffff;
}

body.auth-login-body .auth-checkbox::after {
	content: "";
	position: absolute;
	left: 8px;
	top: 3px;
	width: 6px;
	height: 12px;
	border-right: 2px solid #ffffff;
	border-bottom: 2px solid #ffffff;
	transform: rotate(45deg) scale(0);
	transform-origin: center;
	transition: transform 0.15s ease;
}

body.auth-login-body .auth-agreement input:checked + .auth-checkbox {
	background: #ffa500;
	box-shadow: 0 0 20px rgba(255, 165, 0, 0.18);
}

body.auth-login-body .auth-agreement-copy a {
	color: #0f172a;
	font-weight: 700;
}

body.auth-login-body .auth-submit {
	width: 100%;
	min-height: 56px;
	border: 0;
	border-radius: 0;
	background: linear-gradient(135deg, #ffa500, #f57c00);
	color: #ffffff;
	font-size: 18px;
	font-weight: 800;
	letter-spacing: -0.04em;
	font-family: inherit;
	cursor: pointer;
	transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
	box-shadow: 0 0 18px rgba(255, 165, 0, 0.15);
}

body.auth-login-body .auth-submit:hover:not(:disabled) {
	transform: translateY(-2px);
	box-shadow: 0 0 36px rgba(255, 165, 0, 0.18);
}

body.auth-login-body .desktop-only {
	display: inline-block;
}

@media (max-width: 768px) {
	body.auth-login-body .nav.scrolled {
		background: rgba(248, 250, 252, 0.92);
	}

	body.auth-login-body .nav-inner {
		padding: 0 24px;
	}

	body.auth-login-body .nav-links {
		display: none;
	}

	body.auth-login-body .nav-links.mobile-open {
		background: rgba(255, 251, 199, 0.97);
		backdrop-filter: blur(20px);
		display: flex;
		flex-direction: column;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		padding: 24px 32px;
		gap: 16px;
		border-top: 1px solid #e2e8f0;
		box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
	}

	body.auth-login-body .nav-toggle {
		display: flex;
	}

	body.auth-login-body .desktop-only {
		display: none;
	}
}

@media (max-width: 720px) {
	body.auth-login-body .auth-shell {
		padding: 90px 14px 24px;
	}

	body.auth-login-body .auth-panel {
		padding: 24px 18px;
	}

	body.auth-login-body .auth-panel-login {
		max-width: 340px;
	}

	body.auth-login-body .auth-title {
		font-size: 38px;
	}

	body.auth-login-body .auth-field {
		min-height: 48px;
		padding: 0 14px;
	}

	body.auth-login-body .auth-prefix {
		font-size: 18px;
		padding-right: 18px;
	}

	body.auth-login-body .auth-code-button {
		min-width: 130px;
		padding-left: 18px;
		font-size: 16px;
	}

	body.auth-login-body .auth-submit {
		min-height: 48px;
		font-size: 16px;
	}
}

@media (max-width: 560px) {
	body.auth-login-body .auth-title {
		font-size: 32px;
	}
}

/* ================================================================
   YOLKRON BRAND ART SYSTEM — AUTH / LEGAL / ONBOARDING
   Visual override only. Existing field IDs and interaction states remain.
   ================================================================ */
:root {
	--brand-yellow: #fed86e;
	--brand-green: #4ccb70;
	--brand-teal: #289b7c;
	--brand-gray: #7c7c7c;
	--brand-ink: #494949;
	--brand-black: #20211f;
	--brand-paper: #f4f0e7;
	--brand-paper-light: #fffdf8;
	--auth-bg: var(--brand-paper);
	--auth-bg-soft: #e9e3d8;
	--auth-panel: var(--brand-paper-light);
	--auth-panel-border: rgba(73, 73, 73, 0.14);
	--auth-input: rgba(255, 255, 255, 0.07);
	--auth-input-strong: rgba(255, 255, 255, 0.11);
	--auth-text: #ffffff;
	--auth-text-soft: rgba(255, 255, 255, 0.66);
	--auth-text-muted: rgba(255, 255, 255, 0.42);
	--auth-green: var(--brand-teal);
	--auth-green-strong: var(--brand-green);
	--auth-green-glow: rgba(76, 203, 112, 0.25);
	--auth-line: rgba(255, 255, 255, 0.15);
	--auth-success: var(--brand-green);
	--auth-radius: 64px;
	--auth-radius-small: 22px;
	--auth-shadow: 0 36px 100px rgba(32, 33, 31, 0.2);
	--auth-font: "Avenir Next", "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

body.auth-body {
	position: relative;
	overflow-x: hidden;
	background: var(--brand-paper);
	color: var(--brand-black);
	font-family: var(--auth-font);
	letter-spacing: -0.012em;
}

body.auth-body::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	background-image:
		linear-gradient(90deg, rgba(73, 73, 73, 0.045) 1px, transparent 1px),
		linear-gradient(rgba(73, 73, 73, 0.045) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
}

body.auth-body::after {
	content: "";
	position: fixed;
	right: -180px;
	bottom: -220px;
	width: 520px;
	height: 520px;
	border: 72px solid rgba(73, 73, 73, 0.08);
	border-top-color: transparent;
	border-radius: 50%;
	pointer-events: none;
	z-index: 0;
}

.scan-overlay::before {
	background: linear-gradient(90deg, transparent, rgba(76, 203, 112, 0.28), transparent) !important;
	animation-duration: 12s !important;
}

/* Shared floating navigation */
body.auth-body .nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	padding: 18px 0;
	background: transparent;
	box-shadow: none;
}

body.auth-body .nav.scrolled {
	padding: 10px 0;
	background: transparent;
	box-shadow: none;
}

body.auth-body .nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: min(1320px, calc(100% - 40px));
	min-height: 60px;
	margin: 0 auto;
	padding: 0 18px 0 14px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 999px;
	background: rgba(32, 33, 31, 0.82);
	box-shadow: 0 16px 50px rgba(32, 33, 31, 0.14);
	backdrop-filter: blur(22px) saturate(130%);
}

body.auth-body .nav.scrolled .nav-inner {
	border-color: rgba(73, 73, 73, 0.13);
	background: rgba(255, 253, 248, 0.93);
}

body.auth-body .nav-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-right: 8px;
	text-decoration: none;
	filter: none;
}

body.auth-body .nav-logo .logo-mark {
	width: 42px;
	height: 42px;
	object-fit: contain;
	filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.16));
	transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

body.auth-body .nav-logo .logo-wordmark {
	width: 174px;
	height: auto;
	filter: brightness(0) invert(1);
	opacity: 0.9;
	transition: filter 0.3s ease, opacity 0.3s ease;
}

body.auth-body .nav.scrolled .logo-wordmark {
	filter: none;
	opacity: 1;
}

body.auth-body .nav-logo:hover .logo-mark {
	transform: rotate(24deg) scale(1.08);
}

body.auth-body .nav-links {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.auth-body .nav-links a {
	display: block;
	padding: 9px 14px;
	border-radius: 999px;
	color: rgba(255, 255, 255, 0.68);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-decoration: none;
}

body.auth-body .nav-links a::after {
	display: none;
}

body.auth-body .nav.scrolled .nav-links a {
	color: #555650;
}

body.auth-body .nav-links a:hover,
body.auth-body .nav-links a.active {
	color: var(--brand-black);
	background: var(--brand-yellow);
}

body.auth-body .nav-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 20px;
	border: 0;
	border-radius: 999px;
	background: var(--brand-green);
	box-shadow: none;
	color: var(--brand-black);
	font-size: 0.85rem;
	font-weight: 700;
	text-decoration: none;
}

body.auth-body .nav-cta::after {
	display: none;
}

body.auth-body .nav-cta:hover {
	background: var(--brand-yellow);
	box-shadow: none;
	transform: rotate(-1deg) scale(1.02);
}

/* Login becomes a split editorial object. */
body.auth-login-body .auth-shell {
	min-height: 100svh;
	padding: 132px 24px 64px;
}

body.auth-login-body .auth-panel-login {
	display: grid;
	grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1.12fr);
	width: min(1120px, 100%);
	max-width: 1120px;
	padding: 0;
	border: 0;
	border-radius: 76px 14px 76px 76px;
	background: transparent;
	box-shadow: var(--auth-shadow);
	overflow: hidden;
}

body.auth-login-body .auth-panel-login .auth-copy {
	position: relative;
	min-height: 640px;
	margin: 0;
	padding: 72px 54px;
	background: var(--brand-yellow);
	color: var(--brand-black);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	overflow: hidden;
}

body.auth-login-body .auth-panel-login .auth-copy::before {
	content: "";
	position: absolute;
	left: -160px;
	top: -170px;
	width: 430px;
	height: 430px;
	border: 66px solid rgba(73, 73, 73, 0.18);
	border-right-color: transparent;
	border-radius: 50%;
}

body.auth-login-body .auth-panel-login .auth-copy::after {
	content: "";
	position: absolute;
	right: 42px;
	top: 48px;
	width: 72px;
	height: 72px;
	border-radius: 22px;
	background: var(--brand-green);
	transform: rotate(8deg);
}

body.auth-login-body .auth-panel-login .auth-eyebrow {
	position: relative;
	z-index: 1;
	color: var(--brand-teal);
}

body.auth-login-body .auth-panel-login .auth-title {
	position: relative;
	z-index: 1;
	font-size: clamp(4.6rem, 7vw, 7rem);
	line-height: 0.9;
	letter-spacing: -0.08em;
	color: var(--brand-black);
}

body.auth-login-body .auth-panel-login .auth-subtitle {
	position: relative;
	z-index: 1;
	color: rgba(32, 33, 31, 0.66);
}

body.auth-login-body .auth-panel-login .auth-form {
	padding: 72px 56px;
	background: var(--brand-black);
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 18px;
}

body.auth-login-body .auth-field {
	min-height: 80px;
	padding: 0 22px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 24px 24px 8px 24px;
	background: rgba(255, 255, 255, 0.06);
}

body.auth-login-body .auth-field:focus-within {
	border-color: var(--brand-green);
	background: rgba(255, 255, 255, 0.1);
	box-shadow: 0 0 0 4px rgba(76, 203, 112, 0.09);
}

body.auth-login-body .auth-field input,
body.auth-login-body .auth-prefix,
body.auth-login-body .auth-code-button,
body.auth-login-body .auth-agreement-copy a {
	color: #fff;
}

body.auth-login-body .auth-field input::placeholder,
body.auth-login-body .auth-agreement,
body.auth-login-body .auth-inline-meta {
	color: rgba(255, 255, 255, 0.48);
}

body.auth-login-body .auth-checkbox {
	border-color: var(--brand-green);
	background: transparent;
}

body.auth-login-body .auth-agreement input:checked + .auth-checkbox {
	background: var(--brand-green);
}

body.auth-login-body .auth-submit {
	min-height: 64px;
	border-radius: 999px;
	background: var(--brand-yellow);
	color: var(--brand-black);
	font-size: 18px;
	box-shadow: none;
}

body.auth-login-body .auth-submit:hover:not(:disabled) {
	background: var(--brand-green);
	box-shadow: none;
	transform: translateY(-2px) rotate(-0.5deg);
}

/* Onboarding keeps the same composition at a larger working scale. */
body.auth-password-body .auth-shell {
	min-height: 100svh;
	padding: 132px 24px 64px;
}

body.auth-password-body .auth-panel-password {
	width: min(1220px, 100%);
	max-width: 1220px;
	padding: 0;
	border: 0;
	border-radius: 76px 14px 76px 76px;
	background: transparent;
	box-shadow: var(--auth-shadow);
	overflow: hidden;
}

body.auth-password-body .auth-password-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
	gap: 0;
}

body.auth-password-body .auth-password-intro {
	position: relative;
	padding: 68px 54px;
	background: var(--brand-black);
	color: #fff;
	overflow: hidden;
}

body.auth-password-body .auth-password-intro::after {
	content: "";
	position: absolute;
	right: -190px;
	bottom: -190px;
	width: 440px;
	height: 440px;
	border: 64px solid rgba(254, 216, 110, 0.17);
	border-left-color: transparent;
	border-radius: 50%;
}

body.auth-password-body .auth-password-intro > * {
	position: relative;
	z-index: 1;
}

body.auth-password-body .auth-title,
body.auth-password-body .auth-title-small {
	color: #fff;
	font-size: clamp(3.2rem, 5vw, 5.5rem);
	line-height: 0.98;
	letter-spacing: -0.07em;
}

body.auth-password-body .auth-eyebrow,
body.auth-password-body .auth-form-kicker {
	color: var(--brand-green);
}

body.auth-password-body .auth-subtitle,
body.auth-password-body .auth-user-helper,
body.auth-password-body .auth-highlight-card p {
	color: rgba(255, 255, 255, 0.58);
}

body.auth-password-body .auth-home-link {
	color: rgba(255, 255, 255, 0.72);
}

body.auth-password-body .auth-user-card,
body.auth-password-body .auth-highlight-card {
	border-color: rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.055);
	color: #fff;
}

body.auth-password-body .auth-highlight-index {
	color: var(--brand-yellow);
}

body.auth-password-body .auth-password-form-panel {
	padding: 64px 54px;
	border: 0;
	border-radius: 0;
	background: var(--brand-paper-light);
	box-shadow: none;
}

body.auth-password-body .auth-form-header h2,
body.auth-password-body .auth-label,
body.auth-password-body .auth-password-rule p {
	color: var(--brand-black);
}

body.auth-password-body .auth-form-header p,
body.auth-password-body .auth-inline-meta,
body.auth-password-body .auth-password-rule ul {
	color: #66685f;
}

body.auth-password-body .auth-field {
	min-height: 76px;
	border: 1px solid rgba(73, 73, 73, 0.15);
	border-radius: 24px 24px 8px 24px;
	background: var(--brand-paper);
}

body.auth-password-body .auth-field:focus-within {
	border-color: var(--brand-teal);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(40, 155, 124, 0.08);
}

body.auth-password-body .auth-required {
	color: var(--brand-teal);
}

body.auth-password-body .auth-password-rule {
	border-color: rgba(73, 73, 73, 0.13);
	border-radius: 28px 8px 28px 28px;
	background: var(--brand-yellow);
}

body.auth-password-body .auth-submit {
	min-height: 60px;
	border-radius: 999px;
	background: var(--brand-black);
	color: #fff;
	box-shadow: none;
}

body.auth-password-body .auth-submit:hover:not(:disabled) {
	background: var(--brand-teal);
	box-shadow: none;
}

body.auth-password-body .auth-secondary-button {
	border-color: rgba(73, 73, 73, 0.16);
	border-radius: 999px;
	background: transparent;
	color: var(--brand-black);
}

/* Legal pages use a dark masthead and calm editorial reading surface. */
body.auth-legal-body .legal-shell {
	width: min(1120px, calc(100% - 40px));
	min-height: 100svh;
	margin: 0 auto;
	padding: 64px 0 96px;
	gap: 22px;
}

body.auth-legal-body .legal-header {
	position: relative;
	width: 100%;
	padding: 66px;
	border-radius: 76px 14px 76px 76px;
	background: var(--brand-black);
	color: #fff;
	overflow: hidden;
}

body.auth-legal-body .legal-header::after {
	content: "";
	position: absolute;
	right: -110px;
	top: -150px;
	width: 390px;
	height: 390px;
	border: 62px solid rgba(254, 216, 110, 0.18);
	border-bottom-color: transparent;
	border-radius: 50%;
}

.legal-brand {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 46px;
}

.legal-brand .logo-mark {
	width: 48px;
	height: 48px;
}

.legal-brand .logo-wordmark {
	width: 190px;
	filter: brightness(0) invert(1);
}

body.auth-legal-body .auth-home-link,
body.auth-legal-body .auth-eyebrow,
body.auth-legal-body .auth-title,
body.auth-legal-body .auth-subtitle {
	position: relative;
	z-index: 1;
}

body.auth-legal-body .auth-home-link {
	color: rgba(255, 255, 255, 0.66);
}

body.auth-legal-body .auth-eyebrow {
	color: var(--brand-green);
}

body.auth-legal-body .auth-title {
	color: #fff;
	font-size: clamp(4rem, 7vw, 7rem);
	letter-spacing: -0.08em;
}

body.auth-legal-body .auth-subtitle {
	max-width: 720px;
	color: rgba(255, 255, 255, 0.62);
}

body.auth-legal-body .legal-card {
	width: 100%;
	padding: 64px 66px;
	border: 1px solid rgba(73, 73, 73, 0.13);
	border-radius: 14px 76px 76px 76px;
	background: var(--brand-paper-light);
	box-shadow: none;
	color: #66685f;
}

body.auth-legal-body .legal-card h2 {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 16px;
	color: var(--brand-black);
	font-size: 1.5rem;
}

body.auth-legal-body .legal-card h2::before {
	content: "";
	width: 22px;
	height: 22px;
	border-radius: 7px;
	background: var(--brand-green);
	transform: rotate(8deg);
}

@media (max-width: 900px) {
	body.auth-login-body .auth-panel-login,
	body.auth-password-body .auth-password-layout {
		grid-template-columns: 1fr;
	}

	body.auth-login-body .auth-panel-login .auth-copy {
		min-height: 420px;
	}

	body.auth-password-body .auth-password-intro {
		padding-bottom: 80px;
	}
}

@media (max-width: 768px) {
	body.auth-body .nav {
		padding: 10px 12px;
	}

	body.auth-body .nav-inner {
		width: 100%;
		min-height: 56px;
		padding: 0 14px;
	}

	body.auth-body .nav-logo {
		gap: 8px;
		padding-right: 6px;
	}

	body.auth-body .nav-logo .logo-mark {
		width: 34px;
		height: 34px;
	}

	body.auth-body .nav-logo .logo-wordmark {
		width: 128px;
	}

	body.auth-body .nav-toggle {
		display: flex;
	}

	body.auth-body .nav-toggle span {
		background: #fff;
	}

	body.auth-body .nav.scrolled .nav-toggle span {
		background: var(--brand-black);
	}

	body.auth-body .nav-links {
		display: none;
	}

	body.auth-body .nav-links.mobile-open {
		position: absolute;
		top: 70px;
		left: 0;
		right: 0;
		display: flex;
		flex-direction: column;
		gap: 8px;
		padding: 22px;
		border: 1px solid rgba(73, 73, 73, 0.15);
		border-radius: 28px;
		background: rgba(255, 253, 248, 0.98);
		box-shadow: var(--auth-shadow);
	}

	body.auth-body .nav-links.mobile-open a {
		color: var(--brand-black);
	}

	body.auth-body .desktop-only {
		display: none;
	}

	body.auth-login-body .auth-shell,
	body.auth-password-body .auth-shell {
		padding: 104px 14px 28px;
	}

	body.auth-login-body .auth-panel-login,
	body.auth-password-body .auth-panel-password {
		border-radius: 52px 10px 52px 52px;
	}

	body.auth-login-body .auth-panel-login .auth-copy,
	body.auth-login-body .auth-panel-login .auth-form,
	body.auth-password-body .auth-password-intro,
	body.auth-password-body .auth-password-form-panel {
		padding: 42px 26px;
	}

	body.auth-login-body .auth-panel-login .auth-copy {
		min-height: 350px;
	}

	body.auth-login-body .auth-panel-login .auth-title,
	body.auth-password-body .auth-title,
	body.auth-password-body .auth-title-small {
		font-size: 3.4rem;
	}

	body.auth-password-body .auth-profile-grid,
	body.auth-password-body .auth-setup-highlights {
		grid-template-columns: 1fr;
	}

	body.auth-legal-body .legal-shell {
		width: calc(100% - 28px);
		padding: 14px 0 40px;
	}

	body.auth-legal-body .legal-header,
	body.auth-legal-body .legal-card {
		padding: 38px 26px;
		border-radius: 48px 9px 48px 48px;
	}

	body.auth-legal-body .auth-title {
		font-size: 3.6rem;
	}
}

@media (max-width: 520px) {
	body.auth-login-body .auth-field,
	body.auth-password-body .auth-field {
		min-height: 70px;
	}

	body.auth-login-body .auth-field-inline,
	body.auth-login-body .auth-field-code {
		flex-wrap: nowrap;
		align-items: center;
		gap: 12px;
	}

	body.auth-login-body .auth-field input {
		min-width: 0;
	}

	body.auth-login-body .auth-prefix {
		width: auto;
		padding: 0 16px 0 0;
	}

	body.auth-login-body .auth-prefix::after {
		display: block;
	}

	body.auth-login-body .auth-code-button {
		width: auto;
		min-width: 102px;
		padding: 0 0 0 14px;
		border-top: 0;
		border-left: 1px solid rgba(255, 255, 255, 0.16);
		font-size: 13px;
		text-align: center;
	}

	body.auth-login-body .auth-panel-login .auth-title,
	body.auth-password-body .auth-title,
	body.auth-password-body .auth-title-small,
	body.auth-legal-body .auth-title {
		font-size: 3rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.auth-body .nav-logo .logo-mark,
	.scan-overlay::before {
		animation: none !important;
		transition-duration: 0.01ms !important;
	}
}
