.identity-shell {
    display: grid;
    min-height: calc(100vh - 280px);
    padding: 24px 0;
    place-items: center;
}

.identity-card {
    width: min(100%, 560px);
    padding: clamp(28px, 5vw, 48px);
    border-radius: 28px;
}

.identity-card h1 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: -.045em;
}

.identity-card form {
    margin-top: 28px;
}

.identity-card .form-control,
.identity-card .btn {
    min-height: 48px;
    border-radius: 13px;
}

.identity-back-link {
    display: inline-flex;
    min-height: 44px;
    margin-top: 22px;
    align-items: center;
    font-weight: 750;
}

.identity-actions-stack {
    display: flex;
    margin-top: 26px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.identity-actions-stack .identity-back-link {
    margin-top: 0;
}

.identity-otp {
    text-align: center;
    font-size: 1.45rem !important;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: .35em;
}

.identity-otp-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.identity-otp-row .btn {
    white-space: nowrap;
}

.identity-copy-status {
    display: block;
    min-height: 20px;
    margin-top: 7px;
    color: var(--muted);
}

@media (max-width: 480px) {
    .identity-otp-row {
        grid-template-columns: 1fr;
    }
}
