:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #263f34; background: #f6faf5; }
* { box-sizing: border-box; }
.auth-page { margin: 0; min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 28px 18px; }
.auth-card { width: min(100%, 440px); padding: 34px; background: white; border: 1px solid #dbe5db; border-radius: 24px; box-shadow: 0 12px 60px #243e3010; }
.auth-logo { display: block; border-radius: 20px; margin-bottom: 24px; }
.auth-eyebrow { font-size: 10px; letter-spacing: .15em; color: #778c7b; margin: 0 0 10px; }
.auth-card h1 { font-size: 26px; line-height: 1.5; margin: 0 0 12px; letter-spacing: -.02em; }
.auth-description { font-size: 14px; line-height: 1.8; color: #6b7d6f; margin-bottom: 28px; }
.auth-card label { display: block; margin: 20px 0 8px; font-size: 13px; font-weight: 600; }
.auth-card input:not([type="hidden"]) { width: 100%; border: 1px solid #ccd8ce; border-radius: 10px; padding: 13px 12px; font: inherit; font-size: 16px; background: #fbfdfb; }
.auth-card input:focus { outline: 2px solid #62977e; outline-offset: 2px; }
.auth-submit { width: 100%; margin-top: 26px; padding: 14px; font: inherit; font-size: 15px; border: 0; border-radius: 10px; background: #285f50; color: white; cursor: pointer; }
.auth-submit:hover { background: #1d4b3e; }
.auth-submit:focus-visible { outline: 3px solid #8db49e; outline-offset: 3px; }
.auth-note, .auth-local { font-size: 12px; color: #7a8b7e; line-height: 1.8; }
.auth-note { margin-top: 22px; }
.auth-local { margin-top: 26px; padding-top: 18px; border-top: 1px solid #e9eee7; }
.auth-error { color: #9b3a33; background: #fff4ef; border-radius: 8px; padding: 12px; font-size: 13px; line-height: 1.7; }
.qinfra-session-tools { display: flex; align-items: center; gap: 8px; }
.qinfra-session-tools button { border: 1px solid #d3dfd4; background: #f7faf5; color: #42614d; padding: 6px 10px; border-radius: 7px; font: inherit; font-size: 11px; cursor: pointer; }
.qinfra-update-notice { position: fixed; z-index: 20; bottom: 12px; left: 50%; transform: translateX(-50%); max-width: calc(100vw - 24px); padding: 12px 16px; background: white; border: 1px solid #cadacb; border-radius: 12px; box-shadow: 0 5px 25px #183e3220; color: #285f50; font-size: 13px; }
@media (max-width:600px) { .auth-card { padding: 26px 22px; } .auth-card h1 { font-size: 24px; } .qinfra-session-tools { gap: 4px; } .qinfra-session-tools button { padding: 5px 7px; font-size: 10px; } }
@media (display-mode:standalone) { .qinfra-install { display: none !important; } }
