.identity-entry,
.staff-login {
    border: 1px solid var(--glass-border, #e5dbe1);
    background: var(--glass-surface, var(--glass-fallback, #fffcfd));
    box-shadow: var(--glass-shadow, inset 0 1px #fff, 0 8px 30px rgb(58 28 41 / 5%));
    -webkit-backdrop-filter: var(--glass-filter, none);
    backdrop-filter: var(--glass-filter, none);
}
.identity-entry {
    width: min(100%, 37rem);
    margin: clamp(1rem, 6vw, 4rem) auto;
    padding: clamp(1.25rem, 5vw, 2.75rem);
    border-radius: 16px;
}
.identity-entry h1 { margin-top: .35rem; }
.identity-entry form, .identity-section form, .identity-list form { display: grid; gap: 1rem; }
.identity-entry form { margin: 1.5rem 0; }
.identity-entry label, .identity-section label, .identity-list label { display: block; }
.identity-section label input:not([type=checkbox]), .identity-list select, .identity-entry input { display: block; width: 100%; }
.identity-entry form button, .identity-section form button, .identity-list form button { justify-self: start; }
.identity-entry dt { color: #65555c; }
.identity-entry dd { margin: .25rem 0 1.25rem; }
.identity-entry .secret { font-family: ui-monospace, monospace; overflow-wrap: anywhere; }
.identity-list { list-style: none; padding: 0; }
.identity-list li, .identity-section { border-bottom: 1px solid #dfd7da; padding: 1rem 0; }
.identity-list li > span { margin-left: 1rem; }
.identity-section summary, .identity-list summary { cursor: pointer; padding: .5rem 0; color: #833451; }
.identity-list form, .identity-section form { margin-top: 1rem; max-width: 38rem; }
.identity-entry form[hidden] { display: none; }

.staff-login {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    width: min(100%, 69rem);
    min-height: clamp(27rem, min(44vw, 63svh), 35rem);
    margin-inline: auto;
    padding: clamp(3px, .5vw, 6px);
    border-radius: 16px;
}
.staff-login__body {
    display: grid;
    place-items: center;
    padding: clamp(2rem, 5vw, 4.5rem);
}
.staff-login__content { width: min(100%, 24.5rem); }
.staff-login__mark {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    background: #f8eaf0;
    color: var(--accent, #833451);
}
.staff-login h1 {
    margin: 0;
    font-family: inherit;
    font-size: clamp(1.85rem, 3vw, 2.65rem);
    line-height: 1.35;
}
.staff-login form {
    display: block;
    margin: clamp(1.4rem, 2.4vw, 2rem) 0 .25rem;
}
.staff-login form button {
    width: 100%;
    min-height: 3.25rem;
    gap: .55rem;
}
.staff-login form button svg { flex: none; }
.staff-login form [role=status] { margin: 0; color: #5c555a; }
.staff-login form [role=status]:not(:empty) { margin-top: .65rem; }
.staff-login__enroll {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .7em;
    min-height: 44px;
    padding: .35rem;
    font-size: .925rem;
    font-weight: var(--weight-emphasis);
    letter-spacing: var(--tracking-emphasis);
    text-decoration: none;
}
.staff-login__enroll:hover { text-decoration: underline; }
.staff-login__enroll::after {
    content: "";
    width: .45em;
    height: .45em;
    border-top: 1.5px solid;
    border-right: 1.5px solid;
    transform: rotate(45deg);
}
.staff-login__help {
    margin-top: 1.3rem;
    border-top: 1px solid #e3dce0;
}
.staff-login__help summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75em;
    min-height: 44px;
    padding: .85rem 0 .3rem;
    color: #5c555a;
    list-style: none;
    font-size: .925rem;
    cursor: pointer;
}
.staff-login__help summary:hover { color: var(--accent, #833451); }
.staff-login__help summary::-webkit-details-marker { display: none; }
.staff-login__help summary::after {
    content: "";
    flex: none;
    width: .5em;
    height: .5em;
    margin-right: .25em;
    border-right: 1.5px solid;
    border-bottom: 1.5px solid;
    transform: rotate(45deg);
}
.staff-login__help[open] summary::after { transform: rotate(225deg); }
.staff-login__help p {
    margin: .4rem 0 0;
    color: #5c555a;
    font-size: .925rem;
    line-height: 1.8;
}
.staff-login__art {
    position: relative;
    overflow: hidden;
    border-radius: 0 11px 11px 0;
    background: #f0d6dc;
}
.staff-login__art img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 46% 50%;
}
@media (min-width: 621px) and (max-width: 800px) {
    .staff-login { grid-template-columns: minmax(0, 53fr) minmax(0, 47fr); }
    .staff-login__body { padding-inline: clamp(1.45rem, 3.7vw, 2rem); }
}
@media (max-width: 620px) {
    .staff-login { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .staff-login__art {
        grid-row: 1;
        height: clamp(6.5rem, 28vw, 10rem);
        border-radius: 11px 11px 0 0;
    }
    .staff-login__art img { object-position: 50% 50%; }
    .staff-login__body { padding: 1.6rem clamp(1.2rem, 6vw, 2.25rem) 1.35rem; }
    .staff-login__mark { width: 38px; height: 38px; border-radius: 10px; margin-bottom: .9rem; }
    .staff-login__mark svg { width: 22px; height: 22px; }
    .staff-login h1 { font-size: clamp(1.65rem, 7vw, 2.1rem); }
    .staff-login form { margin-top: 1.25rem; }
    .staff-login__help { margin-top: .8rem; }
}
