:root { font-family: 'Segoe UI', Arial, sans-serif; color: #26323c; background: #edf0f2; color-scheme: light; }
* { box-sizing: border-box; }
body.auth-page { margin: 0; min-height: 100dvh; display: grid; place-items: center; padding: 28px 18px; }
.auth-card { width: min(100%, 450px); background: white; border: 1px solid #ccd3d9; border-top: 4px solid #176c87; padding: 36px; box-shadow: 0 12px 40px #202a3312; }
.auth-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 32px; color: #202a33; letter-spacing: 2px; font-size: 23px; }
.auth-brand span { border: 1px solid #64717c; padding: 10px 7px; font-size: 14px; letter-spacing: 0; }
.auth-brand small { display: block; font-size: 9px; letter-spacing: 1.2px; margin-top: 4px; }
.auth-card h1 { font-size: 24px; margin: 0 0 10px; font-weight: 600; }
.auth-card p { font-size: 14px; line-height: 1.6; color: #64717c; }
.auth-card label { display: block; font-size: 13px; font-weight: 600; margin: 20px 0 7px; }
.auth-card input { width: 100%; padding: 12px; font: inherit; border: 1px solid #aab7c1; border-radius: 3px; }
.auth-card input:focus-visible, .auth-card button:focus-visible, .auth-card a:focus-visible { outline: 2px solid #176c87; outline-offset: 3px; }
.auth-card button { width: 100%; margin-top: 24px; padding: 13px; border: 0; border-radius: 3px; background: #176c87; color: white; font: inherit; font-weight: 600; cursor: pointer; }
.auth-card button:disabled { opacity: .6; cursor: wait; }
.auth-card a { color: #176c87; font-size: 14px; }
.auth-status { min-height: 1.5em; margin-bottom: 0; }
.auth-status[data-error="true"] { color: #a43320; }
.auth-back { display: inline-block; margin-top: 20px; }
.auth-tools { display: flex; align-items: center; gap: 12px; font: 12px 'Segoe UI', sans-serif; }
.auth-tools a { color: inherit; text-decoration: none; }
.auth-tools button { color: inherit; background: transparent; border: 1px solid #81909c; border-radius: 3px; padding: 5px 9px; font: inherit; cursor: pointer; }
@media (max-width: 760px) { .auth-tools { gap: 6px; font-size: 11px; } .auth-tools .auth-username { display: none; } .topbar .top-right { gap: 9px; } .auth-card { padding: 26px; } }
@media print { .auth-tools { display: none; } }
