:root {
    --orange: #f46b1b;
    --orange-dark: #d9540c;
    --ink: #1f2937;
    --muted: #6b7280;
    --line: #e5e7eb;
    --soft: #fff7ed;
    --danger: #b42318;
    --success: #157347;
}
* { box-sizing: border-box; }
html { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #fffaf6; color: var(--ink); }
body { margin: 0; min-height: 100vh; }
button, input { font: inherit; }
a { color: var(--orange-dark); }
.auth-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.auth-card { width: min(100%, 440px); background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px 22px; box-shadow: 0 18px 55px rgba(31, 41, 55, .08); }
.brand-mark { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; font-weight: 800; font-size: 24px; background: var(--orange); color: #fff; margin-bottom: 18px; }
h1 { font-size: 26px; line-height: 1.2; margin: 0 0 8px; }
.lead { color: var(--muted); margin: 0 0 22px; line-height: 1.55; }
.auth-form { display: grid; gap: 15px; }
.field { display: grid; gap: 7px; }
label { font-size: 14px; font-weight: 650; }
input { width: 100%; border: 1px solid #d1d5db; border-radius: 12px; padding: 12px 13px; color: var(--ink); background: #fff; outline: none; }
input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(244,107,27,.13); }
.button { border: 0; border-radius: 12px; min-height: 46px; padding: 11px 16px; background: var(--orange); color: #fff; font-weight: 750; cursor: pointer; }
.button:hover { background: var(--orange-dark); }
.button:disabled { opacity: .6; cursor: wait; }
.button.secondary { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.form-status { min-height: 20px; font-size: 14px; line-height: 1.45; }
.form-status.error { color: var(--danger); }
.form-status.success { color: var(--success); }
.field-error { color: var(--danger); font-size: 12px; min-height: 15px; }
.auth-links { margin-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.notice { background: var(--soft); border: 1px solid #fed7aa; border-radius: 12px; padding: 12px; margin: 0 0 18px; font-size: 14px; line-height: 1.5; }
.notice.error { background: #fff1f0; border-color: #fecaca; color: var(--danger); }
.notice.success { background: #f0fdf4; border-color: #bbf7d0; color: var(--success); }
.identity { background: #fafafa; border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 18px; }
.identity strong { display: block; margin-bottom: 4px; }
.muted { color: var(--muted); font-size: 13px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (min-width: 520px) { .auth-card { padding: 34px; } }
