[hidden] { display: none !important; }
.auth-page { min-height: 100dvh; display: grid; place-items: center; padding: 2rem 1.25rem; background: var(--color-bg-secondary); }
.auth { width: min(100%, 30rem); padding: 2.5rem; background: white; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.auth-logo { display: block; width: 140px; height: auto; margin: 0 0 1.75rem; }
.auth-eyebrow { color: var(--color-text-secondary); font-size: .875rem; margin-bottom: .5rem; }
.auth h1 { font-size: 2rem; color: var(--color-primary); margin: 0 0 1.5rem; }
.auth p { line-height: 1.5; }
.auth label { display: block; margin: 1.5rem 0 .5rem; font-weight: 600; }
.auth input[type=email] { width: 100%; min-height: 3rem; padding: .75rem; border: 1px solid var(--color-border); border-radius: var(--radius-md); font: inherit; }
.auth input:focus-visible, .auth button:focus-visible, .wsw-konto button:focus-visible { outline: 3px solid var(--color-primary-light); outline-offset: 3px; }
.auth input[aria-invalid=true] { border-color: #a42323; }
.auth .auth-hint { font-size: .875rem; color: var(--color-text-secondary); margin: .6rem 0 1.5rem; }
.auth button { min-height: 2.75rem; padding: .75rem 1rem; background: var(--color-primary); color: white; font: inherit; font-weight: 600; border: 0; border-radius: var(--radius-md); cursor: pointer; }
.auth button:disabled { opacity: .65; cursor: wait; }
.auth .auth-msg { min-height: 1.5em; font-size: .9rem; color: #8e2828; overflow-wrap: anywhere; }
.auth strong { overflow-wrap: anywhere; }
.auth-code { padding: 0; margin: 1.5rem 0; border: 0; }
.auth-code legend { margin-bottom: .75rem; font-weight: 600; }
.auth-code-fields { display: flex; gap: .5rem; }
.auth-code-digit { width: calc((100% - 2.5rem) / 6); min-width: 0; height: 3.5rem; border: 1px solid var(--color-border); border-radius: var(--radius-md); text-align: center; font: 1.5rem var(--font-family-base); }
.auth .auth-code-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.auth-alternatives { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.auth .auth-link { background: transparent; color: var(--color-primary); padding: .6rem 0; margin-right: .75rem; text-decoration: underline; font-size: .875rem; font-weight: 400; }
.wsw-konto { position: fixed; top: .5rem; right: .75rem; z-index: 50; display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: .6rem; max-width: calc(100% - 1.5rem); padding: .35rem .65rem; border: 1px solid var(--color-border, #d5d5d5); border-radius: .375rem; background: #fff; color: #595654; font: .75rem var(--font-family-base, sans-serif); }
.wsw-konto-email { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: min(55vw, 20rem); }
.wsw-konto-rolle { background: #093d79; color: white; border-radius: .25rem; padding: .2rem .4rem; }
.wsw-konto form { margin: 0; }
.wsw-konto button { border: 0; padding: .25rem; background: none; font: inherit; color: #093d79; text-decoration: underline; cursor: pointer; }
.phone[data-wsw-role] .teilnahme-kennung { top: max(4rem, calc(env(safe-area-inset-top) + 3.5rem)); }
body[data-wsw-role=user] [data-admin-only] { display: none !important; }
@media (max-width: 480px) { .auth { padding: 1.5rem; } .auth-page { padding: 1rem; } .auth-logo { width: 110px; } }
@media print { .wsw-konto { display: none; } }
