@media screen and (max-width: 1000px) {
    #container-specialist-profile {
        margin-bottom: 0;
    }

    #container-specialist-profile > .form-title {
        height: 56px;
    }

    #specialist-profile-back {
        padding: 0;
        left: 12px;
        top: 18px;
    }

    #container-specialist-profile .specialist-profile-form-title {
        height: 52px;
        padding: 0 16px;
    }

    .specialist-profile-help_header {
        right: 16px;
    }

    .specialist-profile-card_form,
    .specialist-profile-access-form {
        padding: 16px 16px 18px;
    }

    .specialist-profile-card_form {
        gap: 16px;
    }

    .specialist-profile-access-form {
        gap: 14px;
    }

    .specialist-profile-access-group + .specialist-profile-access-group {
        padding-top: 14px;
    }

    .specialist-conclusion-mode-preview {
        width: 100%;
        padding: 10px 12px;
    }

    .specialist-profile-access-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .specialist-profile-access-row_packages {
        width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
    }

    .specialist-profile-status-toolbar {
        align-items: stretch;
        gap: 6px;
    }

    .specialist-profile-status-toggle {
        gap: 4px;
        padding: 3px;
        border-radius: 16px;
    }

    .specialist-profile-status-toggle__button {
        min-height: 38px;
        padding: 6px 8px;
        border-radius: 12px;
    }

    .specialist-profile-status-toggle__label {
        font-size: 12px;
    }

    .specialist-profile-status-toggle__button::after {
        left: 0;
        bottom: calc(100% + 8px);
        transform: translateY(4px);
        max-width: min(220px, calc(100vw - 64px));
        text-align: left;
    }

    .specialist-profile-status-toggle__button::before {
        left: 20px;
        transform: rotate(45deg);
    }

    .specialist-profile-status-toggle__button:hover::after,
    .specialist-profile-status-toggle__button:focus-visible::after {
        transform: translateY(0);
    }

    .specialist-profile-status-delete {
        flex-basis: 38px;
        width: 38px;
        min-height: 38px;
        border-radius: 12px;
    }

    .specialist-profile-status-delete__icon {
        width: 16px;
        height: 16px;
    }

    .specialist-profile-help::after {
        right: 0;
    }

    #container-specialist-profile .specialist-modal__diagnostics-container {
        gap: 12px;
    }

    .specialist-profile-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .specialist-profile-actions button {
        width: 100%;
    }
}
