:root {
    color-scheme: light;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #182d34;
    background: #f3f6f5;
    font-synthesis: none;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
}

.access-shell {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.75rem;
    width: 100%;
    max-width: 33rem;
    min-height: 100vh;
    min-height: 100svh;
    margin-inline: auto;
    padding: 2.5rem 1.25rem;
}

.brand-header {
    padding-inline: 0.25rem;
}

.brand {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 750;
    letter-spacing: -0.055em;
    line-height: 1.2;
}

.brand span {
    color: #12685d;
}

.brand-caption {
    margin: 0.375rem 0 0;
    color: #52636a;
    font-size: 0.875rem;
}

.access-card {
    min-width: 0;
    padding: clamp(1.5rem, 5vw, 2.5rem);
    border: 1px solid #d8e2df;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 0.75rem 2.5rem -1.5rem rgb(24 45 52 / 20%);
    overflow-wrap: anywhere;
}

.eyebrow {
    margin: 0 0 0.625rem;
    color: #12685d;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-size: clamp(1.5rem, 5vw, 1.875rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.2;
}

.intro {
    margin: 0.75rem 0 1.75rem;
    color: #52636a;
    font-size: 0.9375rem;
}

.login-form {
    display: grid;
    gap: 1.25rem;
    min-width: 0;
}

.field {
    display: grid;
    gap: 0.5rem;
    min-width: 0;
}

label {
    font-size: 0.875rem;
    font-weight: 650;
}

input,
button {
    font: inherit;
}

input:not([type="hidden"]) {
    width: 100%;
    min-width: 0;
    min-height: 3rem;
    padding: 0.75rem 0.875rem;
    border: 1px solid #7c8f94;
    border-radius: 0.625rem;
    color: #182d34;
    background: #fff;
    font-size: 1rem;
    line-height: 1.5;
}

.button {
    display: block;
    width: 100%;
    min-height: 3rem;
    padding: 0.75rem 1rem;
    border: 1px solid transparent;
    border-radius: 0.625rem;
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.5;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    cursor: pointer;
}

.button-primary {
    margin-top: 0.25rem;
    color: #fff;
    background: #12685d;
}

.button-primary:hover {
    background: #0c5048;
}

.button-secondary {
    border-color: #7c8f94;
    color: #182d34;
    background: #fff;
}

.button-secondary:hover {
    background: #edf4f1;
}

input:focus,
button:focus {
    outline: 3px solid #12685d;
    outline-offset: 3px;
}

.form-error {
    margin: 0;
    padding: 0.875rem 1rem;
    border: 1px solid #b9483e;
    border-inline-start-width: 3px;
    border-radius: 0.625rem;
    color: #852c24;
    background: #fff4f1;
    font-size: 0.9375rem;
}

.status {
    display: inline-block;
    max-width: 100%;
    margin: 0 0 1rem;
    padding: 0.25rem 0.625rem;
    border: 1px solid #c4dfd6;
    border-radius: 0.375rem;
    color: #126052;
    background: #edf7f2;
    font-size: 0.8125rem;
    font-weight: 650;
}

.identity {
    margin: 0 0 1.75rem;
    padding: 1rem;
    border: 1px solid #d8e2df;
    border-radius: 0.625rem;
    background: #f8faf9;
}

.identity dt {
    margin-bottom: 0.375rem;
    color: #52636a;
    font-size: 0.8125rem;
}

.identity dd {
    margin: 0;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.access-footer {
    color: #52636a;
    font-size: 0.8125rem;
    text-align: center;
    overflow-wrap: anywhere;
}

@media (max-width: 24rem) {
    .access-shell {
        gap: 1.25rem;
        padding: 1.5rem 1rem;
    }
}

@media (forced-colors: active) {
    .button,
    .status {
        border-color: ButtonText;
    }
}
