[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; }
.signup .signup-navigation { justify-content: space-between; margin-bottom: 22px; }
.signup .signup-navigation a { text-decoration: none; }
.signup h1 { margin-bottom: 8px; }
.signup .signup-introduction { color: var(--anabitas-muted, #475569); margin-block: 12px 20px; }
.signup .signup-plan { padding: 14px 16px; border: 1px solid var(--anabitas-line, #dce1e7); border-radius: 8px; background: var(--anabitas-hover, #edf3fa); }
.signup .signup-plan > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; }
.signup .signup-plan p { margin: 4px 0 0; font-size: .875rem; }
.signup .signup-password-help { margin-top: 8px; font-size: .875rem; }
.signup summary { cursor: pointer; }
.signup .signup-company { margin-block: 20px; padding-block: 12px; border-block: 1px solid var(--anabitas-line, #dce1e7); }
.signup .signup-company > summary { color: var(--anabitas-green, #155e75); }
.signup .signup-check-field { margin-block: 14px; }
.signup .signup-check { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: .875rem; font-weight: 400; }
.signup .signup-check input[type=checkbox] { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; padding: 0; }
.signup .signup-check span { min-width: 0; overflow-wrap: anywhere; }
.signup .signup-document-language { margin-inline-start: 28px; font-size: .8125rem; }
.signup .signup-submit { width: 100%; }
.signup .signup-errors { margin-top: 18px; padding: 12px 16px; border: 1px solid #b42318; border-radius: 6px; background: #fff5f4; color: #8e1e16; }
.signup .signup-errors p { margin: 0; }
.signup .signup-errors > ul { margin-bottom: 0; padding-inline-start: 20px; }
.signup .signup-errors .errorlist { padding: 0; list-style: none; }
.signup input[aria-invalid=true] { border-color: #b42318; }
@media (max-width: 540px) { body { padding: 12px; } main { margin: 8px auto; padding: 20px 16px; } .invitation-field { padding: 12px; } }
