
.new-user{margin:24px 0;padding:22px;background:white;border:1px solid #dce5df;border-radius:12px}.new-user>summary{font-weight:700;color:#3e7236;font-size:16px}.registration-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.new-user fieldset{border:1px solid #dce5df;border-radius:7px;padding:16px}.new-user legend{font-size:14px;font-weight:600}.new-user .system-option{display:flex;align-items:center;gap:10px;margin:12px 0}.system-option input{width:20px;height:20px;margin:0}.new-user select{display:block;width:100%;padding:14px;border:1px solid #d9e2dc;border-radius:7px;margin-top:9px;font:inherit;background:#fcfdfc;color:#193e53}.new-user .primary{max-width:260px;margin-bottom:0}@media(max-width:620px){.registration-fields{grid-template-columns:1fr}}

.system-choice + .system-choice{border-top:1px solid #dce5df;margin-top:12px;padding-top:8px}
.access-row select,.account-controls input{display:block;width:100%;min-width:0;margin-top:4px;padding:8px;border:1px solid #d9e2dc;border-radius:6px;color:#193e53;background:white;font:inherit}
.access-row label{min-width:0}
.account-controls{display:flex;gap:16px;flex-wrap:wrap;margin-top:12px;padding-top:12px;border-top:1px solid #dce5df}
.account-controls details{flex:0 1 280px}
.account-controls summary{cursor:pointer;color:#285638;font-weight:600}
.account-controls form button{margin-top:8px}
[hidden]{display:none!important}

.login-card label.remember-choice{display:flex;align-items:center;gap:8px;margin-bottom:0}
.login-card .remember-choice input{width:18px;height:18px;margin:0}
.login-card .remember-hint{margin:6px 0 16px}

.access-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    cursor: pointer;
}
.access-switch-input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
}
.access-switch-track {
    display: inline-flex;
    align-items: center;
    width: 42px;
    height: 24px;
    padding: 2px;
    border: 1px solid currentColor;
    border-radius: 999px;
    background: #e8eeea;
}
.access-switch-track::before {
    content: "";
    width: 18px;
    height: 18px;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: white;
}
.access-switch-input:checked ~ .access-switch-track {
    justify-content: flex-end;
    color: #255038;
    background: #bee1bd;
}
.access-switch-input:not(:checked) ~ .access-switch-off,
.access-switch-input:checked ~ .access-switch-on {
    font-weight: 700;
}
.access-switch-input:focus-visible ~ .access-switch-track {
    outline: 3px solid #285638;
    outline-offset: 3px;
}
@media (max-width: 760px) {
    .access-row { flex-wrap: wrap; }
    .access-row [data-access-profile] { flex-basis: 100%; }
}

/* Errors are shown after an attempted save, not on untouched fields. */
.field-invalid { border: 2px solid #b42318 !important; outline-color: #b42318; }
.field-error { display: block; color: #b42318; font-size: .875rem; font-weight: 600; margin-top: .25rem; }
