html.sh-auth-open,
html.sh-auth-open body {
	overflow: hidden;
}
.sh-auth-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.sh-auth-modal[hidden] { display: none !important; }
.sh-auth-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,.68);
}
.sh-auth-dialog {
	position: relative;
	z-index: 2;
	width: min(440px, 100%);
	background: #fff;
	border-radius: 18px;
	padding: 30px;
	box-shadow: 0 24px 80px rgba(0,0,0,.28);
	font-family: Arial,sans-serif;
}
.sh-auth-close {
	position: absolute;
	right: 14px;
	top: 10px;
	border: 0;
	background: transparent;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	color: #555;
}
.sh-auth-brand {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .16em;
	color: #2563eb;
	margin-bottom: 8px;
}
.sh-auth-dialog h2 {
	margin: 0 0 7px;
	font-size: 25px;
	color: #111827;
}
.sh-auth-subtitle {
	margin: 0 0 20px;
	color: #6b7280;
	font-size: 14px;
	line-height: 1.5;
}
.sh-auth-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 5px;
	background: #f3f4f6;
	padding: 4px;
	border-radius: 10px;
	margin-bottom: 18px;
}
.sh-auth-tabs button {
	border: 0;
	background: transparent;
	padding: 10px;
	border-radius: 7px;
	cursor: pointer;
	font-weight: 700;
	color: #6b7280;
}
.sh-auth-tabs button.active {
	background: #fff;
	color: #111827;
	box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.sh-auth-form { display: none; }
.sh-auth-form.active { display: block; }
.sh-auth-form label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: #374151;
	margin-bottom: 14px;
}
.sh-auth-form input {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin-top: 7px;
	padding: 12px 13px;
	border: 1px solid #d1d5db;
	border-radius: 9px;
	background: #fff;
	font-size: 15px;
}
.sh-auth-form small {
	display: block;
	margin-top: 5px;
	font-weight: 400;
	color: #6b7280;
}
.sh-auth-submit {
	width: 100%;
	border: 0;
	border-radius: 9px;
	background: #111827;
	color: #fff;
	padding: 13px 16px;
	font-weight: 800;
	cursor: pointer;
}
.sh-auth-submit:disabled { opacity: .6; cursor: wait; }
.sh-auth-error {
	margin: 8px 0 14px;
	padding: 10px 12px;
	border-radius: 8px;
	background: #fff1f2;
	color: #b42318;
	font-size: 13px;
	line-height: 1.4;
}
.sh-auth-footer {
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px solid #eee;
	color: #9ca3af;
	font-size: 11px;
	text-align: center;
}
