[hidden] { display: none !important; }
* { box-sizing: border-box; }
body { font-family: Arial, sans-serif; background: #f3f5f7; color: #172b3a; margin: 0; padding: 24px; line-height: 1.5; }
main { max-width: 696px; margin: 24px auto; background: white; padding: 28px; border-radius: 12px; }
main.registration { max-width: 596px; }
h1 { line-height: 1.2; overflow-wrap: anywhere; }
label { display: block; font-weight: bold; margin-bottom: 6px; }
input { width: 100%; min-width: 0; padding: 12px; border: 1px solid #aab7c2; border-radius: 6px; font: inherit; }
button, .nav-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 20px; background: #155e75; color: white; border: 1px solid #155e75; border-radius: 6px; font: inherit; cursor: pointer; text-decoration: none; }
a { color: #155e75; }
nav, .account-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
nav { margin-bottom: 24px; }
.nav-button.secondary, .password-toggle { color: #155e75; background: white; }
.field { margin: 20px 0; }
.invitation-field { background: #fff4dc; border: 2px solid #a65b00; padding: 16px; border-radius: 8px; }
.invitation-field label { color: #743d00; }
.invitation-field input { border: 2px solid #a65b00; background: #fffdf7; text-transform: uppercase; letter-spacing: .12em; }
.invitation-field .helptext { color: #623b0a; }
.password-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: stretch; }
.password-toggle { min-width: 72px; padding: 10px 12px; }
.helptext { display: block; margin-top: 6px; color: #475569; }
.helptext ul { padding-inline-start: 22px; }
.errorlist { color: #b42318; padding-inline-start: 22px; }
.message { padding: 12px; background: #e5f5eb; }
.logout, .account-actions { margin-top: 24px; }
:focus-visible { outline: 3px solid #186fe0; outline-offset: 3px; }
@media (max-width: 540px) { body { padding: 12px; } main { margin: 8px auto; padding: 20px 16px; } .invitation-field { padding: 12px; } }
