.os-auth { min-height: 100dvh; display: grid; place-items: center; padding: 32px 20px; color: var(--text); }
.os-auth > * { position: relative; z-index: 1; }
.os-auth__surface { position: relative; width: min(100%, 440px); padding: 32px; border: 1px solid var(--os-glass-border); border-radius: var(--os-radius-surface); background: var(--os-glass-strong); backdrop-filter: blur(var(--os-glass-blur)); box-shadow: var(--os-shadow); }
.os-auth__identity { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
.os-auth__logo { width: 52px; height: 52px; object-fit: contain; }
.os-auth__identity strong { display: block; font-size: 20px; }
.os-auth__identity span { color: var(--text-secondary); font-size: 13px; }
.os-auth h1 { font-size: 32px; line-height: 1.25; margin: 0 0 8px; }
.os-auth h1 + p { margin: 0 0 28px; color: var(--text-secondary); }
.os-auth form { display: flex; flex-direction: column; }
.os-auth label { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.os-auth input { width: 100%; min-width: 0; min-height: 48px; padding: 12px; border: 1px solid var(--os-glass-border); border-radius: var(--os-radius-control); color: var(--text); background: var(--os-data-surface-strong); font: inherit; font-size: 16px; }
.os-auth input[name='email'] { margin-bottom: 20px; }
.os-auth__password { display: flex; position: relative; }
.os-auth__password input { padding-right: 56px; }
.os-auth__password button { position: absolute; right: 2px; top: 2px; display: grid; place-items: center; width: 44px; height: 44px; color: var(--text-secondary); border: 0; border-radius: 10px; background: transparent; }
.os-auth__password button:hover { background: var(--os-glass-control-hover); }
.os-auth :is(input, button):focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.os-auth__feedback { min-height: 64px; padding: 12px 0; font-size: 14px; line-height: 20px; color: var(--text-secondary); }
.os-auth__feedback[role='alert'] { color: var(--os-red); }
.os-auth__submit { width: 100%; min-height: 48px; justify-content: center; }
.os-auth__submit:hover:not(:disabled) { filter: brightness(1.05); }
.os-auth__submit:active:not(:disabled) { filter: brightness(.95); }
.os-auth button:disabled { cursor: wait; }
.os-secondary-action.os-auth__sign-out { min-height: 44px; }
.os-auth__sign-out:hover { background: var(--os-glass-control-hover); }
.os-auth__sign-out:active { background: var(--os-data-surface-strong); border-color: var(--os-gold); }
.os-auth__sign-out:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.os-auth__access { display: flex; align-items: flex-start; gap: 8px; margin: 24px 0 0; font-size: 13px; line-height: 20px; color: var(--text-secondary); }
.os-auth__access svg { flex: 0 0 auto; }
.os-account-identity { overflow-wrap: anywhere; }
@media (max-width: 480px) { .os-auth { padding: 24px 16px; } .os-auth__surface { padding: 24px; } }
@media (prefers-reduced-motion: reduce) { .os-auth *, .os-auth *::before, .os-auth *::after { animation: none; transition: none; } }
@supports not (backdrop-filter: blur(1px)) { .os-auth__surface { background: var(--os-glass-opaque-fallback); } }
:root[data-transparency='reduced'] .os-auth__surface { background: var(--os-glass-opaque-fallback); backdrop-filter: none; }
