:root {
	--bg: #eef0f4;
	--card: #ffffff;
	--line: #d3d7dd;
	--text: #1f2430;
	--muted: #6b7280;
	--accent: #c98a00;
	--bad: #b42318;
	--bad-soft: #fde8e6;
	--info-soft: #eef4ff;
	--info: #1d4ed8;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; font-size: 16px; min-height: 100vh; }
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.auth-card { width: 100%; max-width: 400px; }
.auth-card h1 { font-size: 22px; font-weight: 600; text-align: center; margin: 0 0 18px; }
.auth-tile { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 18px; margin-bottom: 14px; }
.auth-tile p { margin: 0 0 12px; line-height: 1.45; }
.auth-tile p:last-child { margin-bottom: 0; }
.auth-button, .auth-tile button, .auth-tile input {
	display: block; width: 100%; font: inherit; font-size: 16px; padding: 11px 14px; border-radius: 8px; border: 1px solid var(--line);
	text-align: center; text-decoration: none; color: var(--text); background: #eceef2; cursor: pointer;
}
.auth-tile input { text-align: left; background: #fff; cursor: text; margin-bottom: 10px; }
.auth-tile input:focus { outline: 2px solid #fff4d6; border-color: var(--accent); }
.auth-primary { background: var(--accent) !important; border-color: var(--accent) !important; color: #fff !important; font-weight: 600; }
.auth-primary:hover { filter: brightness(1.07); }
.auth-button:hover, .auth-tile button:hover { border-color: var(--accent); }
.auth-button[disabled], .auth-tile button[disabled] { opacity: .6; cursor: wait; }
.auth-row { display: flex; gap: 8px; }
.auth-row input { flex: 1; margin-bottom: 0; }
.auth-row button { width: auto; flex: none; padding-left: 18px; padding-right: 18px; }
.auth-divider { text-align: center; margin: 2px 0 14px; color: var(--muted); font-size: 14px; }
.auth-hint { text-align: center; font-size: 14px; color: var(--muted); margin: 0 0 10px; }
.auth-small { text-align: center; font-size: 14px; margin-top: 12px; }
.auth-small a { color: inherit; }
.auth-note { border-radius: 8px; padding: 11px 14px; margin-bottom: 14px; font-size: 15px; background: var(--info-soft); color: var(--info); }
.auth-note.bad { background: var(--bad-soft); color: var(--bad); }
.auth-centre { text-align: center; }
.hidden { display: none !important; }
