:root { font-family: system-ui, sans-serif; color: #252019; background: #f7f4ed; line-height: 1.5; }
* { box-sizing: border-box; }
body { margin: 0; padding: clamp(24px, 9vh, 88px) 16px; }
.auth-card { width: min(100%, 450px); margin-inline: auto; padding: clamp(20px, 6vw, 36px); border: 1px solid #d9d1c1; border-radius: 12px; background: #fffefa; overflow-wrap: anywhere; }
.auth-brand { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 650; }
h1 { margin: 20px 0 12px; font-size: clamp(25px, 6vw, 32px); line-height: 1.16; }
p { margin: 0 0 14px; }
form { margin: 18px 0 0; }
label { display: block; font-weight: 600; }
input:not([type=hidden]) { display: block; width: 100%; min-height: 44px; margin: 6px 0 0; padding: 10px; border: 1px solid #8b806f; border-radius: 5px; background: #fff; color: inherit; font: inherit; }
button, .auth-button { display: block; width: 100%; min-height: 44px; padding: 9px 14px; border: 1px solid #2d2921; border-radius: 5px; background: #2d2921; color: #fff; font: inherit; font-weight: 650; text-align: center; text-decoration: none; cursor: pointer; }
.auth-button, .auth-secondary { display: block; margin-top: 12px; }
.auth-secondary button { color: #2d2921; background: transparent; }
a { color: #513d27; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid #7b532b; outline-offset: 3px; }
.errorlist { padding-inline-start: 20px; color: #922c1d; }
.helptext { display: block; margin-top: 6px; color: #5f5243; font-size: 14px; }
.auth-qr { display: block; border: 1px solid #d9d1c1; background: #fff; }
details { margin-top: 12px; }
summary { cursor: pointer; }
.auth-codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; padding: 0; list-style: none; }
