.scenario-grid--empty {
    grid-template-columns: 1fr;
}

.scenario--empty {
    padding-bottom: 28px;
}

.scenario .role-count {
    color: var(--muted);
    font-size: .8125rem;
    margin-top: -12px;
    margin-bottom: 20px;
}

.scenario-image {
    aspect-ratio: 16 / 9;
    background: var(--pale);
    border-bottom: 1px solid var(--line);
    margin: -28px -27px 22px;
    overflow: hidden;
}

.scenario-image img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.roles li.is-empty {
    color: var(--muted);
}

.login-section {
    background: #f5f9f9;
    border-top: 1px solid var(--line);
    padding-top: 75px;
    padding-bottom: 80px;
}

.login-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
    align-items: start;
    gap: 70px;
}

.login-copy p:last-child {
    color: var(--muted);
    max-width: 560px;
    margin: 0;
}

.login-panel {
    background: #fff;
    border: 1px solid var(--line);
    padding: 30px;
}

.login-panels {
    display: grid;
    gap: 18px;
}

.signup-panel h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.signup-panel .eyebrow {
    color: var(--deep-teal);
    margin-bottom: 12px;
}

.panel-intro {
    color: var(--muted);
    font-size: .9375rem;
    line-height: 1.6;
    margin: 0 0 16px;
}

.signup-features {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    display: grid;
    font-size: .875rem;
    gap: 8px;
    line-height: 1.45;
    list-style: none;
    margin: 0 0 18px;
    padding: 14px 0;
}

.signup-features li::before {
    color: var(--deep-teal);
    content: "✓";
    font-weight: 700;
    margin-right: 8px;
}

.auth-message {
    border: 1px solid #f0b8b8;
    background: #fff4f4;
    color: #8a1f1f;
    font-size: .9375rem;
    line-height: 1.5;
    margin: 0 0 18px;
    padding: 12px 14px;
}

.auth-message--success {
    background: #eef8f1;
    border-color: #aad9b8;
    color: #21633a;
}

.form-field {
    display: grid;
    gap: 7px;
    margin-bottom: 16px;
}

.form-field label {
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .02em;
}

.form-field input {
    appearance: none;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--navy);
    font: inherit;
    min-height: 48px;
    padding: 10px 13px;
    width: 100%;
}

.form-field input:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(23, 169, 154, .16);
    outline: 0;
}

.terms-row {
    align-items: flex-start;
    color: var(--muted);
    display: flex;
    font-size: .8125rem;
    gap: 10px;
    line-height: 1.45;
    margin: 0 0 18px;
}

.terms-row input {
    margin-top: 4px;
}

.terms-row a {
    color: var(--navy);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 50px;
}

.password-toggle {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--muted);
    cursor: pointer;
    display: flex;
    height: 48px;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 0;
    width: 48px;
}

.login-panel .button {
    border: 0;
    cursor: pointer;
    justify-content: center;
    width: 100%;
}

.login-links {
    display: flex;
    justify-content: flex-end;
    margin: -2px 0 18px;
}

.login-links a {
    color: var(--muted);
    font-size: .875rem;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.login-links a:hover {
    color: var(--deep-teal);
}

.modal {
    color: var(--navy);
}

.modal .form-control {
    border-color: var(--line);
    border-radius: 0;
    min-height: 48px;
}

.modal .btn-primary {
    background: var(--navy);
    border-color: var(--navy);
    border-radius: 0;
}

@media(max-width:780px) {
    .login-wrap {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .login-section {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .login-panel {
        padding: 22px;
    }
}
