.auth-main { max-width: 600px; padding: 32px 20px; margin: auto; }
.auth-card { background: white; border: 1px solid #d3e5da; border-radius: 24px; padding: clamp(24px,5vw,40px); box-shadow: 0 16px 55px #163e3512; }
.auth-card h1 { font-size: 2.1rem; margin: 12px 0; line-height: 1.2; }
.auth-card p { line-height: 1.6; }
.auth-modes { display: flex; gap: 8px; margin: 24px 0; }
.auth-modes button, #copy-recovery { border: 1px solid #b3cdbf; border-radius: 12px; background: #eff8f3; color: #173f35; padding: 12px 16px; cursor: pointer; font: inherit; }
.auth-modes [aria-pressed="true"] { background: #173f35; color: white; }
#auth-form { display: grid; gap: 10px; }
.auth-card label { font-size: 1rem; font-weight: 650; }
.auth-card input:not([type="checkbox"]) { width: 100%; min-height: 48px; padding: 12px; border: 1px solid #aac6b7; border-radius: 10px; font: inherit; }
.auth-card input:focus-visible, .auth-card button:focus-visible { outline: 3px solid #b88a24; outline-offset: 3px; }
.auth-card small { font-size: .875rem; line-height: 1.5; color: #45685c; margin-bottom: 12px; }
.auth-card .auth-check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; margin: 12px 0; line-height: 1.5; }
.auth-check input { margin-top: 5px; flex-shrink: 0; }
.auth-recover { background: none; border: 0; color: #215947; text-decoration: underline; font: inherit; cursor: pointer; margin-top: 20px; padding: 6px 0; text-align: left; }
#auth-message { margin: 0; color: #8b3020; }
#recovery-code { display: block; overflow-wrap: anywhere; padding: 18px; background: #eff8f3; font-size: 1.05rem; margin: 16px 0; user-select: all; }
.auth-card .primary-action { cursor: pointer; border: 0; font: inherit; justify-content: center; }
.auth-card button:disabled { opacity: .55; cursor: not-allowed; }
.auth-footnote { text-align: center; color: #45685c; line-height: 1.6; font-size: .9rem; }
#recovery-input-wrap label { display: block; margin-bottom: 10px; }
