/* Profile verified-email UX. Scoped to /account/profile/ content only. */
.dp-dashboard__content--profile > .dp-dashboard__next-step {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    justify-content: stretch;
    gap: 18px;
    padding: 24px;
}

.dp-dashboard__content--profile > .dp-dashboard__next-step > div:first-child {
    max-width: 720px;
}

.dp-dashboard__content--profile > .dp-dashboard__next-step .dp-dashboard__profile-grid {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.dp-dashboard__content--profile > .dp-dashboard__next-step .dp-dashboard__profile-grid > form {
    display: grid;
    align-content: start;
    gap: 12px;
    min-width: 0;
    height: 100%;
    padding: 16px;
    border: 1px solid rgba(49, 87, 213, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.76);
}

.dp-dashboard__content--profile > .dp-dashboard__next-step .dp-dashboard__inline-actions {
    align-self: end;
    margin-top: 0;
}

.dp-dashboard__content--profile > section.dp-dashboard__profile-form {
    display: grid;
    gap: 14px;
    padding: 22px 24px;
    border: 1px solid var(--dp-border);
    border-radius: 18px;
    background: var(--dp-surface);
    box-shadow: 0 12px 30px rgba(23, 32, 51, 0.06);
}

.dp-dashboard__content--profile > section.dp-dashboard__profile-form .dp-dashboard__section-heading {
    align-items: center;
    margin-bottom: 0;
}

.dp-dashboard__content--profile > section.dp-dashboard__profile-form .dp-dashboard__section-heading h2 {
    margin: 0 0 4px;
}

.dp-dashboard__content--profile > section.dp-dashboard__profile-form .dp-dashboard__section-heading p,
.dp-dashboard__content--profile > section.dp-dashboard__profile-form > .dp-dashboard__status-text {
    margin: 0;
}

.dp-dashboard__content--profile > section.dp-dashboard__profile-form > details {
    margin-top: 2px;
}

.dp-dashboard__content--profile > section.dp-dashboard__profile-form > details > summary {
    width: fit-content;
    list-style: none;
}

.dp-dashboard__content--profile > section.dp-dashboard__profile-form > details > summary::-webkit-details-marker {
    display: none;
}

.dp-dashboard__content--profile > section.dp-dashboard__profile-form > details[open] {
    padding-top: 2px;
}

.dp-dashboard__content--profile > section.dp-dashboard__profile-form > details[open] > .dp-dashboard__status-text {
    margin: 14px 0 0;
}

.dp-dashboard__content--profile > section.dp-dashboard__profile-form > details .dp-dashboard__profile-grid {
    margin-top: 14px;
}

.dp-dashboard__content--profile > section.dp-dashboard__profile-form > details .dp-dashboard__profile-grid > form,
.dp-dashboard__content--profile > section.dp-dashboard__profile-form > details .dp-dashboard__email-change-sent {
    display: grid;
    align-content: start;
    gap: 12px;
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--dp-border);
    border-radius: 16px;
    background: #fbfcff;
}

.dp-dashboard__content--profile > section.dp-dashboard__profile-form > details .dp-dashboard__email-change-sent {
    align-content: center;
}

.dp-dashboard__content--profile > section.dp-dashboard__profile-form > details .dp-dashboard__email-change-sent strong {
    font-size: 16px;
    line-height: 1.25;
}

.dp-dashboard__content--profile > section.dp-dashboard__profile-form > details .dp-dashboard__email-change-sent p {
    margin: 0;
    color: var(--dp-muted);
}

.dp-dashboard__content--profile > section.dp-dashboard__profile-form > details .dp-dashboard__inline-actions {
    margin-top: 0;
}

.dp-dashboard__content--profile > section.dp-dashboard__profile-form > details .dp-dashboard__email-change-edit-button {
    width: fit-content;
    margin-top: 2px;
}

.dp-dashboard__content--profile > .dp-dashboard__notice[hidden] {
    display: none !important;
}

@media (max-width: 860px) {
    .dp-dashboard__content--profile > .dp-dashboard__next-step,
    .dp-dashboard__content--profile > section.dp-dashboard__profile-form {
        padding: 20px;
    }

    .dp-dashboard__content--profile > .dp-dashboard__next-step .dp-dashboard__profile-grid,
    .dp-dashboard__content--profile > section.dp-dashboard__profile-form > details .dp-dashboard__profile-grid {
        grid-template-columns: 1fr;
    }

    .dp-dashboard__content--profile > .dp-dashboard__next-step .dp-ui-button,
    .dp-dashboard__content--profile > .dp-dashboard__next-step .dp-dashboard__button,
    .dp-dashboard__content--profile > section.dp-dashboard__profile-form > details .dp-ui-button,
    .dp-dashboard__content--profile > section.dp-dashboard__profile-form > details .dp-dashboard__button,
    .dp-dashboard__content--profile > section.dp-dashboard__profile-form > details > summary,
    .dp-dashboard__content--profile > section.dp-dashboard__profile-form > details .dp-dashboard__email-change-edit-button {
        width: 100%;
        white-space: normal;
    }

    .dp-dashboard__content--profile > section.dp-dashboard__profile-form .dp-dashboard__section-heading {
        align-items: flex-start;
    }
}
