:root { --ink:#29221d; --muted:#786b61; --gold:#b57a3b; --line:#e8d9ca; --cream:#f7f0e8; --font-ios:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Helvetica Neue","Segoe UI",sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: radial-gradient(circle at 18% 12%,#fff 0,#fbf6f0 32%,#ead9c8 100%); font-family: var(--font-ios); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.auth-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.auth-page::before { position: fixed; inset: 0; content: ""; pointer-events: none; background: linear-gradient(120deg,rgba(181,122,59,.07),transparent 45%); }
.auth-card { position: relative; width: min(440px,100%); padding: 34px; border: 1px solid rgba(181,122,59,.25); border-radius: 22px; background: rgba(255,255,255,.94); box-shadow: 0 28px 80px rgba(61,42,27,.18); }
.auth-brand { display: flex; align-items: center; gap: 15px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.auth-brand img { width: 142px; max-height: 52px; object-fit: contain; object-position: left center; }
.auth-brand span { padding-left: 14px; border-left: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.auth-form { display: grid; gap: 15px; padding-top: 26px; }
.auth-form[hidden], .auth-loading[hidden], .auth-form label[hidden] { display: none; }
.auth-eyebrow { margin: 0; color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.auth-form h1 { margin: -7px 0 0; font: 700 34px var(--font-ios); letter-spacing: -.035em; }
.auth-form > p:not(.auth-eyebrow) { margin: -7px 0 4px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.auth-form label { color: var(--muted); font-size: 11px; font-weight: 700; }
.auth-form input { width: 100%; margin-top: 6px; padding: 12px 13px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; outline: none; font: 14px var(--font-ios); }
.auth-form button { font-family: var(--font-ios); }
.auth-form input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(181,122,59,.12); }
.auth-form button { margin-top: 4px; padding: 13px 16px; border: 0; border-radius: 11px; color: #fff; background: linear-gradient(135deg,#bd8449,#8d592b); font-weight: 800; cursor: pointer; }
.auth-form button:disabled { opacity: .55; cursor: wait; }
.auth-loading { padding: 32px 0 10px; color: var(--muted); text-align: center; font-size: 12px; }
.auth-message { padding: 10px 12px; border-radius: 9px; color: #28624d; background: #e4f3eb; font-size: 11px; }
.auth-message.error { color: #8f3434; background: #fdebea; }
.auth-message[hidden] { display: none; }
.auth-footer { display: block; margin-top: 25px; color: #9b8c80; text-align: center; font-size: 9px; }
@media (max-width:520px) { .auth-card { padding: 25px 20px; }.auth-brand { flex-direction: column; align-items: flex-start; }.auth-brand span { padding: 0; border: 0; } }
