.pdexec-public {
    padding-block: 24px 56px;
}

.pdexec-directory {
    overflow: hidden;
    border: 1px solid #d4e2f1;
    border-radius: 24px;
    background: #f8fbfd;
}

.pdexec-banner {
    display: block;
    width: 100%;
    height: clamp(124px, 16vw, 216px);
    object-fit: cover;
    object-position: center;
    border-bottom: 1px solid #d4e2f1;
}

.pdexec-directory-content {
    padding: clamp(16px, 3vw, 36px);
}

.pdexec-directory-heading {
    margin-bottom: 26px;
    padding-bottom: 16px;
    border-bottom: 1px solid #d4e2f1;
    text-align: center;
}

.pdexec-directory-heading h1 {
    margin: 0;
    color: #171717;
    font: 600 clamp(26px, 2.6vw, 34px)/1.16 var(--serif, Georgia, serif);
}

.pdexec-directory-heading p {
    margin: 8px 0 0;
    color: #40546b;
}

.pdexec-empty {
    margin: 0 auto;
    max-width: 70ch;
    text-align: center;
}

.pdexec-catalogue-filters {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) auto;
    align-items: end;
    gap: 12px;
    margin-bottom: 22px;
}

.pdexec-catalogue-filters label {
    display: grid;
    gap: 5px;
    min-width: 0;
    color: #132a49;
    font-weight: 700;
}

.pdexec-catalogue-filters select {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 7px 10px;
    border: 1px solid #72869e;
    border-radius: 8px;
    background: #fff;
    color: #132a49;
    font: inherit;
    font-weight: 400;
}

.pdexec-filter-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 14px;
}

.pdexec-profiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.pdexec-profile:only-child {
    grid-column: 1 / -1;
    width: min(100%, 58rem);
    justify-self: center;
}

.pdexec-test-badge {
    display: inline-block;
    margin: 0 0 6px;
    padding: 3px 8px;
    border-radius: 6px;
    background: #fff0d5;
    color: #644000;
    font-size: 14px;
    font-weight: 700;
}

.pdexec-profile {
    container: executor-card / inline-size;
    display: grid;
    align-content: start;
    gap: 14px;
    min-width: 0;
    border: 1px solid #aec7e9;
    border-radius: 14px;
    padding: clamp(18px, 2.6vw, 28px);
    background: #fcfcfd;
}

.pdexec-identity {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

.pdexec-avatar {
    display: grid;
    place-items: center;
    min-height: 88px;
    border: 1px solid #d4e2f1;
    border-radius: 12px;
    background: #edf4ff;
    color: #132a49;
    font: 600 25px/1 var(--serif, Georgia, serif);
}

img.pdexec-avatar {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center top;
}

.pdexec-profile h2,
.pdexec-review h3 {
    margin: 0;
    color: #171717;
    font-size: clamp(20px, 2.3vw, 28px);
    overflow-wrap: anywhere;
}

.pdexec-profile h3 {
    margin: 0;
    font-size: 16px;
}

.pdexec-profile h2 {
    font-size: clamp(20px, 8cqi, 25px);
    line-height: 1.16;
}

.pdexec-facts {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 0;
}

.pdexec-facts > div {
    max-width: 100%;
    min-width: 0;
}

.pdexec-facts dt,
.pdexec-hint,
.pdexec-review-status {
    color: #586c82;
    font-size: 14px;
}

.pdexec-facts dd {
    margin: 2px 0 0;
    color: #132a49;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.pdexec-facts dt,
.pdexec-facts dd {
    line-height: 1.35;
}

@container executor-card (min-width: 400px) {
    .pdexec-identity {
        grid-template-columns: 120px minmax(0, 1fr);
        grid-template-rows: auto 1fr;
        gap: 10px clamp(12px, 2vw, 24px);
        align-items: start;
    }

    .pdexec-identity > .pdexec-avatar {
        grid-row: span 2;
        aspect-ratio: 1;
        object-position: center;
    }

    .pdexec-profile h2 {
        font-size: clamp(20px, 2.3vw, 28px);
    }

    .pdexec-facts {
        grid-column: 2;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px 14px;
    }
}

.pdexec-practice {
    margin: 8px 0 0;
    line-height: 1.58;
    overflow-wrap: anywhere;
    white-space: pre-line;
}

.pdexec-card-section {
    min-width: 0;
    padding-top: 12px;
    border-top: 1px solid #d4e2f1;
}

.pdexec-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.pdexec-tags li {
    max-width: 100%;
    padding: 4px 9px;
    border-radius: 7px;
    background: #edf4ff;
    color: #17385d;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.pdexec-disclosure > summary {
    min-height: 44px;
    align-content: center;
    padding-block: 7px;
    color: #0c429e;
    font-weight: 600;
    cursor: pointer;
}

.pdexec-disclosure:not([open]) > summary > .pdexec-open,
.pdexec-disclosure[open] > summary > .pdexec-closed {
    display: none;
}

.pdexec-description > summary {
    padding-top: 0;
    list-style: none;
}

.pdexec-description > summary::-webkit-details-marker {
    display: none;
}

.pdexec-description .pdexec-practice {
    display: block;
    color: #273847;
    font-weight: 400;
}

.pdexec-summary-action {
    display: block;
    margin-top: 7px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pdexec-account {
    max-width: 900px;
}

.pdexec-account-header {
    display: grid;
    justify-items: start;
    gap: 8px;
    margin-bottom: 24px;
}

.pdexec-account-header h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 32px);
}

.lid-crm-main > [data-pdexec-workspace][hidden] {
    display: none !important;
}

.lid-crm-sidebar [data-pdexec-link] {
    text-decoration: none;
}

.pdexec-panel {
    margin-bottom: 16px;
    padding: clamp(16px, 3vw, 28px);
    border: 1px solid #d4e2f1;
    border-radius: 14px;
    background: #fcfcfd;
}

.pdexec-form {
    display: grid;
    gap: 9px;
    justify-items: start;
    margin-top: 16px;
}

.pdexec-form > p {
    margin: 0;
}

.pdexec-form label {
    color: #132a49;
    font-weight: 700;
}

.pdexec-fields {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 12px;
    width: 100%;
    margin-top: 4px;
}

.pdexec-fields > div {
    display: grid;
    gap: 8px;
}

.pdexec-form input:not([type="hidden"]),
.pdexec-form select,
.pdexec-form textarea {
    width: 100%;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #72869e;
    border-radius: 8px;
    font: inherit;
    color: #132a49;
}

.pdexec-form textarea {
    resize: vertical;
}

.pdexec-direction-field,
.pdexec-direction-group {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.pdexec-direction-field {
    margin-block: 8px;
}

.pdexec-direction-field > legend {
    margin-bottom: 8px;
    color: #132a49;
    font-size: 16px;
    font-weight: 700;
}

.pdexec-direction-group + .pdexec-direction-group {
    margin-top: 12px;
}

.pdexec-direction-group > legend {
    margin-bottom: 5px;
    color: #40546b;
    font-size: 14px;
    font-weight: 600;
}

.pdexec-choice-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.pdexec-choice {
    position: relative;
    max-width: 100%;
    cursor: pointer;
}

.pdexec-form .pdexec-choice input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.pdexec-choice span {
    display: flex;
    box-sizing: border-box;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 6px 10px;
    border: 1px solid #aabbd0;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.pdexec-choice span::before {
    content: "+";
    color: #0c429e;
    font-weight: 700;
}

.pdexec-choice input:checked + span {
    border-color: #135bcc;
    background: #edf4ff;
    color: #0c429e;
    font-weight: 700;
}

.pdexec-choice input:checked + span::before {
    content: "✓";
}

.pdexec-choice input:focus-visible + span {
    outline: 3px solid #135bcc;
    outline-offset: 2px;
}

.pdexec-photo-field {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    width: 100%;
    margin-top: 8px;
}

.pdexec-photo-field > div:only-child {
    grid-column: 1 / -1;
}

.pdexec-preview {
    display: block;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #d4e2f1;
}

.pdexec-photo-field .pdexec-hint {
    margin: 4px 0 0;
}

.pdexec-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid #135bcc;
    border-radius: 8px;
    background: #135bcc;
    color: #fff;
    font: 700 15px/1.3 Arial, sans-serif;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
}

.pdexec-button:hover {
    background: #0c429e;
    color: #fff;
}

.pdexec-button-secondary {
    color: #0c429e;
    background: #fff;
    border-color: #aec7e9;
}

.pdexec-button-secondary:hover {
    background: #edf4ff;
    color: #0c429e;
}

.pdexec-account :focus-visible,
.pdexec-public :focus-visible {
    outline: 3px solid #135bcc;
    outline-offset: 3px;
}

.pdexec-filters,
.pdexec-pagination,
.pdexec-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
}

.pdexec-filters {
    margin-bottom: 16px;
}

.pdexec-filters a[aria-current] {
    color: #132a49;
    font-weight: 700;
}

.pdexec-pagination {
    justify-content: center;
    margin-top: 20px;
}

.pdexec-withdraw {
    margin-top: 16px;
}

.pdexec-notice,
.pdexec-review-note {
    padding: 12px 14px;
    border-radius: 8px;
    background: #edf4ff;
    color: #132a49;
    overflow-wrap: anywhere;
    white-space: pre-line;
}

.pdexec-notice-error {
    color: #8a2933;
    background: #fff1f0;
}

.pdexec-review details {
    margin-top: 12px;
}

.pdexec-review summary {
    cursor: pointer;
}

@media (max-width: 760px) {
    .pdexec-profiles {
        grid-template-columns: minmax(0, 1fr);
    }

    .pdexec-directory {
        border-radius: 16px;
    }

    .pdexec-catalogue-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .pdexec-directory-content {
        padding-inline: 12px;
    }

    .pdexec-profile {
        padding: 14px;
    }
}

@media (max-width: 420px) {
    .pdexec-catalogue-filters,
    .pdexec-fields {
        grid-template-columns: minmax(0, 1fr);
    }
}
