:root { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #242220; background: #fff; font-size: 16px; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.login-shell { display: grid; grid-template-columns: minmax(360px, .92fr) minmax(480px, 1.08fr); min-height: 100vh; }
.login-brand { display: flex; flex-direction: column; justify-content: space-between; padding: 38px 44px 52px; background: #f6f5f3; }
.brand-lockup { display: flex; align-items: center; gap: 13px; }
.brand-mark { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 9px; background: #201e1c; color: #fff; font-size: 23px; font-weight: 800; }
.brand-lockup strong { display: block; font-size: 19px; line-height: 1.25; }
.brand-lockup small { display: block; margin-top: 2px; color: #8c8884; font-size: 12px; font-weight: 600; }
.brand-message { max-width: 520px; padding-bottom: 10vh; }
.eyebrow { margin: 0 0 18px; color: #8d8782; font-size: 12px; font-weight: 750; letter-spacing: .16em; }
.brand-message h1 { margin: 0 0 24px; font-size: clamp(32px, 3.4vw, 52px); line-height: 1.22; letter-spacing: -.035em; }
.brand-message > p:last-child { max-width: 460px; margin: 0; color: #6f6a66; font-size: 15px; line-height: 1.9; }
.login-panel { display: grid; place-items: center; padding: 48px 28px; }
.login-card { width: min(100%, 420px); }
.login-heading { margin-bottom: 28px; text-align: center; }
.login-card.registering .login-heading { margin-top: 39px; }
.login-heading h2 { margin: 0 0 9px; font-size: 28px; letter-spacing: -.025em; }
.login-heading p { margin: 0; color: #77716d; font-size: 14px; }
.google-button, .primary-button { display: flex; width: 100%; min-height: 48px; align-items: center; justify-content: center; gap: 11px; border-radius: 9px; font-weight: 650; }
.google-button { border: 1px solid #d9d5d1; background: #fff; color: #282522; }
.google-button:hover:not(:disabled) { background: #f7f6f5; }
.google-button:disabled { cursor: not-allowed; opacity: .52; }
.google-button svg { width: 19px; height: 19px; }
.status-hint { min-height: 20px; margin: 8px 0 0; color: #8a8581; font-size: 12px; text-align: center; }
.divider { display: flex; align-items: center; gap: 12px; margin: 21px 0; color: #9b9692; font-size: 12px; }
.divider::before, .divider::after { flex: 1; height: 1px; background: #e5e2df; content: ""; }
form { display: grid; gap: 15px; }
label { display: grid; gap: 7px; color: #4a4643; font-size: 13px; font-weight: 650; }
input { width: 100%; min-height: 47px; padding: 10px 12px; border: 1px solid #d9d5d1; border-radius: 8px; background: #fff; color: #242220; }
input:focus { border-color: #8d8883; outline: 3px solid rgb(73 68 64 / 10%); }
.primary-button { margin-top: 4px; border: 1px solid #201e1c; background: #201e1c; color: #fff; }
.primary-button:hover:not(:disabled) { background: #35312e; }
.primary-button:disabled { cursor: not-allowed; opacity: .38; }
.text-button { display: block; margin: 18px auto 0; border: 0; background: transparent; color: #4e4945; font-size: 13px; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-bottom: 30px; border-bottom: 1px solid #d9d5d1; }
.auth-tab { min-height: 46px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: #817b76; font-size: 14px; font-weight: 700; cursor: pointer; }
.auth-tab:hover { color: #24211f; }
.auth-tab.active { border-bottom-color: #201e1c; color: #24211f; }
.auth-form[hidden] { display: none; }
.register-form { margin-top: 0; }
.register-form[hidden] { display: none; }
.register-consent { margin: 39px 0; padding: 16px 18px; border: 1px solid #d9d5d1; border-radius: 8px; background: #f8f7f5; }
.register-consent > p { margin: 9px 0 0 30px; color: #817b76; font-size: 11px; line-height: 1.55; }
.consent-check { display: grid !important; grid-template-columns: 20px 1fr; align-items: start; gap: 10px !important; margin: 0; color: #3d3936 !important; font-size: 13px !important; font-weight: 700 !important; line-height: 1.65; }
.consent-check input { width: 20px; height: 20px; margin: 2px 0 0; }
.consent-check a { color: #24211f; font-weight: 650; text-underline-offset: 3px; }
.form-note { margin: -8px 0 0; color: #8a8581; font-size: 12px; }
.auth-message { margin: 18px 0 0; padding: 11px 13px; border: 1px solid #edc4b8; border-radius: 7px; background: #fff5f1; color: #953c28; font-size: 13px; }
.auth-message[hidden] { display: none; }
.legal-copy { margin: 28px 0 0; color: #96908b; font-size: 11px; line-height: 1.7; text-align: center; }
.legal-copy a { color: inherit; text-underline-offset: 2px; }
@media (max-width: 800px) {
  .login-shell { display: block; }
  .login-brand { min-height: auto; padding: 22px 24px; }
  .brand-message { display: none; }
  .login-panel { min-height: calc(100vh - 88px); padding: 38px 24px 54px; align-items: start; }
  .login-card { margin-top: 5vh; }
}
