#body > .auth-card {
	box-sizing: border-box;
	width: 100%;
	max-width: 420px;
	margin: 28px auto 18px;
	padding: 32px 32px 26px;
	text-align: left;
	background: var(--bg);
	border: 1px solid var(--border-light);
	border-radius: 14px;
	box-shadow: 0 1px 2px var(--shadow), 0 12px 32px var(--shadow);
	font-family: Arial, Helvetica, sans-serif;
	color: var(--text);
}
#body .auth-card h1 {
	display: block;
	margin: 0 0 6px;
	padding: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 24px;
	font-weight: bold;
	letter-spacing: -0.2px;
	text-align: left;
}
.auth-sub {
	margin: 0 0 24px;
	color: var(--text-muted);
	font-size: 15px;
	line-height: 1.5;
}
.auth-chip {
	display: inline-block;
	margin: 0 0 12px;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--bg-accent-soft);
	color: var(--accent-dark);
	font-size: 12px;
	font-weight: bold;
	letter-spacing: 0.3px;
	text-transform: uppercase;
}
.auth-field {
	margin: 0 0 18px;
}
.auth-label-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 6px;
}
.auth-field label {
	display: block;
	margin: 0 0 6px;
	color: var(--text-soft);
	font-size: 14px;
	font-weight: bold;
}
.auth-label-row label {
	margin: 0;
}
.auth-label-row a {
	color: var(--link);
	font-size: 13px;
	text-decoration: none;
}
.auth-label-row a:hover {
	text-decoration: underline;
}
.auth-input-wrap {
	position: relative;
}
.auth-input {
	box-sizing: border-box;
	width: 100%;
	height: 46px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid var(--border);
	border-radius: 8px;
	background: var(--bg);
	color: var(--text);
	font-size: 16px;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.auth-input-wrap .auth-input {
	padding-right: 68px;
}
.auth-input:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 3px var(--bg-accent-soft);
}
.auth-reveal {
	position: absolute;
	top: 50%;
	right: 6px;
	transform: translateY(-50%);
	padding: 6px 10px;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: var(--text-muted);
	font-size: 13px;
	cursor: pointer;
}
.auth-reveal:hover,
.auth-reveal:focus-visible {
	background: var(--bg-tab);
	color: var(--text);
}
.auth-submit {
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: 46px;
	margin: 6px 0 0;
	border: 0;
	border-radius: 8px;
	background: var(--primary);
	color: var(--text-inverse);
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	transition: background-color 0.15s;
}
.auth-submit:hover {
	background: var(--primary-hover);
}
.auth-submit:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px var(--bg-accent-soft);
}
.auth-alert {
	margin: 0 0 18px;
	padding: 11px 14px;
	border: 1px solid var(--danger);
	border-radius: 8px;
	background: var(--bg-danger-soft);
	color: var(--text);
	font-size: 14px;
	line-height: 1.5;
}
.auth-alert-ok {
	border-color: var(--success);
	background: var(--bg-success-soft);
}
.auth-alert a {
	color: var(--link);
}
.auth-card p {
	font-size: 15px;
	line-height: 1.55;
}
.auth-hint {
	margin: -8px 0 18px;
	color: var(--text-muted);
	font-size: 13px;
	line-height: 1.5;
}
.auth-help {
	margin: 22px 0 0;
	border-top: 1px solid var(--border-faint);
	padding-top: 16px;
}
.auth-help summary {
	color: var(--text-soft);
	font-size: 14px;
	cursor: pointer;
	list-style: none;
}
.auth-help summary::-webkit-details-marker {
	display: none;
}
.auth-help summary::before {
	content: "+";
	display: inline-block;
	width: 18px;
	color: var(--accent-dark);
	font-weight: bold;
}
.auth-help[open] summary::before {
	content: "\2212";
}
.auth-help-body {
	padding: 10px 0 0 18px;
	color: var(--text-muted);
	font-size: 14px;
	line-height: 1.55;
}
.auth-help-body p {
	margin: 0 0 10px;
	font-size: 14px;
}
.auth-help-body ul {
	margin: 0 0 10px;
	padding-left: 18px;
}
#body .auth-help-body img {
	display: block;
	width: 100%;
	height: auto;
	margin: 6px 0 12px;
	padding: 0;
	border: 1px solid var(--border-light);
	border-radius: 8px;
}
.auth-foot {
	margin: 18px 0 0;
	color: var(--text-muted);
	font-size: 14px;
	text-align: center;
}
.auth-foot a,
.auth-back a {
	color: var(--link);
	text-decoration: none;
}
.auth-foot a:hover,
.auth-back a:hover {
	text-decoration: underline;
}
.auth-back {
	margin: 18px 0 0;
	font-size: 14px;
	text-align: center;
}
.auth-note {
	max-width: 420px;
	margin: 0 auto;
	color: var(--text-muted);
	font-size: 13px;
}
.auth-choices {
	display: grid;
	gap: 12px;
}
#body .auth-choice {
	display: block;
	padding: 16px 18px;
	border: 1px solid var(--border-light);
	border-radius: 10px;
	background: var(--bg);
	color: var(--text);
	text-decoration: none;
	transition: border-color 0.15s, box-shadow 0.15s;
}
#body .auth-choice:hover,
#body .auth-choice:focus-visible {
	border-color: var(--primary);
	box-shadow: 0 0 0 3px var(--bg-accent-soft);
	outline: none;
}
.auth-choice strong {
	display: block;
	margin: 0 0 4px;
	font-size: 17px;
}
.auth-choice span {
	display: block;
	color: var(--text-muted);
	font-size: 14px;
}
@media (max-width: 480px) {
	#body > .auth-card {
		width: auto;
		margin: 16px 16px 14px;
		padding: 24px 20px 20px;
		border-radius: 12px;
	}
	.auth-note {
		padding: 0 16px;
	}
}
a.auth-submit {
	line-height: 46px;
	text-align: center;
	text-decoration: none;
}
.auth-muted {
	color: var(--text-muted);
}
#body .auth-card form {
	width: auto;
	margin: 0;
	padding: 0;
}
#body .auth-card form input.auth-input {
	width: 100%;
	margin: 0;
}
