.pg-directory {
    --pg-navy: #102746;
    --pg-text: #405575;
    --pg-blue: #115bd0;
    --pg-line: #dbe5f2;
    --pg-surface: #f2f5fa;
    --pg-shadow: 0 3px 6px #142c4c06, 0 12px 28px #142c4c08;
    color: var(--pg-navy);
    background: var(--pg-surface);
    font: 16px/1.5 "Segoe UI", Arial, sans-serif;
    overflow-wrap: anywhere;
}
.pg-directory *, .pg-directory *::before, .pg-directory *::after { box-sizing: border-box; }
.pg-directory [hidden] { display: none !important; }
.pg-directory :is(h1,h2,h3,h4,p,dl,dd,ul) { margin: 0; }
.pg-directory :is(h1,h2,h3,h4) { color: var(--pg-navy); font-family: inherit; font-weight: 750; line-height: 1.2; }
.pg-directory a { color: #0b53b9; text-decoration: none; }
.pg-directory :is(a,button,input,textarea,select):focus-visible { outline: 2px solid #2578ec; outline-offset: 3px; }
.pg-wrap { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.pg-hero {
    color: white;
    background:
        linear-gradient(90deg, #102a4e 0%, #113675 45%, #1457b933 100%),
        repeating-linear-gradient(90deg, #b3d9ff1a 0 1px, transparent 1px 29px),
        repeating-linear-gradient(0deg, #b3d9ff1a 0 1px, transparent 1px 29px),
        #145cc8;
}
.pg-hero-inner { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding-block: 39px 62px; }
.pg-hero h1 { color: white; font-size: clamp(31px, 4vw, 49px); letter-spacing: -.035em; }
.pg-hero p { margin-top: 12px; color: #e3edff; font-size: clamp(15px, 1.5vw, 18px); }
.pg-directory .pg-button {
    display: inline-flex; justify-content: center; align-items: center; min-height: 42px; padding: 9px 17px;
    border: 1px solid transparent; border-radius: 9px; color: #fff; background: var(--pg-blue);
    font-family: inherit; font-weight: 700; font-size: 14px; line-height: 1.35; text-align: center; text-transform: none; cursor: pointer;
}
.pg-directory .pg-button:hover { color: #fff; background: #0b48ac; }
.pg-directory a.pg-button { text-decoration: none; }
.pg-directory .pg-button:disabled { opacity: .55; cursor: default; }
.pg-directory .pg-white { background: white; color: #104b9f; flex-shrink: 0; }
.pg-directory .pg-white:hover, .pg-directory .pg-secondary:hover { color: #0e47a0; background: #e0edff; }
.pg-directory .pg-secondary { color: #124f9e; background: #eef5ff; border-color: #dbe8fb; }
.pg-panel { background: #fff; border: 1px solid var(--pg-line); border-radius: 16px; box-shadow: var(--pg-shadow); }
.pg-catalog { position: relative; margin-top: -31px; padding-bottom: 44px; }
.pg-filters { padding: 20px 23px 17px; }
.pg-filters h2 { margin-bottom: 14px; font-size: 20px; }
.pg-advanced { margin-top: 14px; }
.pg-advanced summary { width: fit-content; cursor: pointer; color: #0b53b9; font-size: 14px; font-weight: 700; }
.pg-advanced .pg-filter-grid { margin-top: 12px; }
.pg-quick-filters { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; margin-top: 13px; }
.pg-directory .pg-quick { border: 1px solid #c4d8f6; border-radius: 999px; padding: 6px 12px; cursor: pointer; background: #edf4ff; color: #104e9c; font: 700 13px/1.4 "Segoe UI", Arial, sans-serif; text-transform: none; }
.pg-directory .pg-quick[aria-pressed=true] { background: #115bd0; color: #fff; border-color: #115bd0; }
.pg-advanced:not([open]) .pg-advanced-hide, .pg-advanced[open] .pg-advanced-show { display: none; }
.pg-filter-grid, .pg-form-grid { display: grid; gap: 13px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pg-filter-grid label, .pg-field { display: block; min-width: 0; color: var(--pg-navy); font-size: 13px; font-weight: 650; }
.pg-directory :is(input:not([type=checkbox]):not([type=hidden]), select, textarea) {
    box-sizing: border-box; width: 100%; min-width: 0; margin: 4px 0 0; border: 1px solid #d2e0f4; border-radius: 8px;
    background: #f6f8fc; padding: 8px 10px; min-height: 40px; color: var(--pg-navy); font: 400 14px/1.35 "Segoe UI", Arial, sans-serif; box-shadow: none;
}
.pg-directory textarea { resize: vertical; }
.pg-directory .pg-file { display: flex; align-items: center; min-height: 42px; overflow: hidden; position: relative;
    margin-top: 4px; padding: 5px 8px; border-radius: 8px; border: 1px solid #d2e0f4; background: #f6f8fc; }
.pg-directory .pg-file > span { color: var(--pg-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 400; }
.pg-directory .pg-file b { display: inline-block; padding: 3px 7px; margin-right: 4px; border-radius: 5px; background: #e4efff; color: #104b9f; }
.pg-directory .pg-file input[type=file] { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.pg-directory .pg-file:focus-within { outline: 2px solid #2578ec; outline-offset: 3px; }
.pg-directory input[type=checkbox] { accent-color: var(--pg-blue); margin: 0; width: 16px; height: 16px; flex-shrink: 0; }
.pg-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 15px; margin-top: 15px; }
.pg-actions a, .pg-back { font-size: 14px; font-weight: 700; }
.pg-filters .pg-actions { padding-top: 13px; border-top: 1px solid var(--pg-line); }
.pg-sort { display: flex; flex: 0 1 258px; align-items: center; gap: 10px; margin-right: auto; min-width: 0; max-width: 100%; color: var(--pg-navy); font-size: 13px; font-weight: 700; }
.pg-sort > label { flex: none; white-space: nowrap; overflow-wrap: normal; word-break: normal; }
.pg-directory .pg-sort select { flex: 1 1 auto; margin: 0; min-width: 0; width: 0; }
.pg-directory .pg-count { color: var(--pg-text); margin: 21px 0 12px; font-size: 14px; }
.pg-count strong { color: var(--pg-navy); }
.pg-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pg-card, .pg-profile-card { overflow: hidden; }
.pg-card { display: flex; flex-direction: column; min-width: 0; }
.pg-card-cover { position: relative; background: linear-gradient(130deg, #dfeafb, #c0d7f1); overflow: hidden; aspect-ratio: 4 / 5; flex-shrink: 0; }
.pg-card > .pg-card-cover { aspect-ratio: 1; margin: 14px 14px 0; border-radius: 12px; background: #e8edf4; }
.pg-directory .pg-card-cover img { position: absolute; object-position: center; display: block; max-width: none; }
.pg-directory .pg-photo-backdrop {
    inset: -48px; width: calc(100% + 96px); height: calc(100% + 96px);
    object-fit: cover; filter: blur(26px) saturate(.78) brightness(.95); pointer-events: none;
}
.pg-directory .pg-portrait { inset: 0; width: 100%; height: 100%; object-fit: contain; }
.pg-directory .pg-card .pg-portrait { object-fit: cover; object-position: 50% 25%; }
.pg-initials { height: 100%; display: grid; place-items: center; color: #1c5596; font-size: clamp(33px, 6vw, 65px); font-weight: 700; letter-spacing: -.07em; }
.pg-badges { position: absolute; top: 13px; left: 13px; right: 13px; display: flex; gap: 6px; flex-wrap: wrap; }
.pg-badge { width: fit-content; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; background: #eaf3ff; color: #104e9c; font-size: 12px; font-weight: 700; }
.pg-badge::before { content: ''; width: 7px; height: 7px; background: #2577e9; border-radius: 100%; }
.pg-looking, .pg-verified { color: #146344; background: #e8f7ef; }
.pg-looking::before { background: #25845d; }
.pg-verified { margin-top: 10px; }
.pg-verified::before { display: none; }
.pg-card-body { padding: 17px 18px 14px; }
.pg-card .pg-card-body { display: flex; flex: 1; flex-direction: column; text-align: center; }
.pg-directory .pg-card .pg-card-body h2 { font-size: clamp(18px, 2vw, 22px); line-height: 1.22; letter-spacing: -.02em; margin: 0; }
.pg-directory .pg-card h2 a { color: var(--pg-navy); text-decoration: none; }
.pg-directory .pg-card h2 a:hover { text-decoration: underline; }
.pg-card-body p { margin-top: 6px; color: var(--pg-text); font-size: 14px; }
.pg-card-body .pg-role { font-size: 15px; font-weight: 700; }
.pg-card .pg-role { color: #074eae; }
.pg-card .pg-card-company { color: var(--pg-navy); font-weight: 700; }
.pg-card .pg-card-address { font-size: 13px; margin: auto 0 8px; padding-top: 6px; }
.pg-directory .pg-card-skills { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin: 0 0 8px; padding: 0; }
.pg-card-skills li { padding: 3px 6px; border-radius: 5px; background: #edf4ff; color: #124f9e; font-size: 11px; font-weight: 700; }
.pg-card .pg-badges { position: static; justify-content: center; margin-bottom: 6px; }
.pg-card .pg-badge { font-size: 11px; padding: 4px 8px; }
.pg-directory .pg-card-body .pg-profile-views { color: var(--pg-text); font-size: 12px; font-weight: 650; font-variant-numeric: tabular-nums; }
.pg-card .pg-card-body .pg-profile-views { margin: 0 0 12px; }
.pg-directory .pg-card a.pg-card-link { display: grid; place-items: center; padding: 8px 12px; min-height: 40px; border: 1px solid #1760d5; border-radius: 9px; color: #074eae; font-size: 14px; font-weight: 750; text-decoration: none; }
.pg-directory .pg-card-link:hover { background: #edf4ff; }
.pg-directory .pg-empty { color: var(--pg-text); padding: 24px; }
.pg-profile { padding-block: 25px 40px; }
.pg-profile-grid { display: grid; grid-template-columns: minmax(245px, 31.2%) minmax(0, 1fr); align-items: start; gap: 24px; margin-top: 20px; }
.pg-profile-card .pg-card-body { padding: 22px 24px 24px; text-align: center; }
.pg-directory .pg-profile-card .pg-card-body h1 { font-size: clamp(21px, 2.4vw, 27px); line-height: 1.2; letter-spacing: -.025em; margin: 0; }
.pg-directory .pg-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 13px; border-top: 1px solid var(--pg-line); margin-top: 18px; padding-top: 14px; font-size: 14px; text-align: left; }
.pg-profile-address { grid-column: 1 / -1; border-top: 1px solid var(--pg-line); margin-top: 3px; padding-top: 9px; }
.pg-details dt { color: var(--pg-text); font-size: 13px; }
.pg-details dd { font-weight: 700; }
.pg-download { width: 100%; margin-top: 18px; }
.pg-cv-button { width: 100%; margin-top: 8px; }
.pg-profile-content { display: grid; gap: 15px; }
.pg-profile-section { padding: 19px 24px; color: var(--pg-text); }
.pg-profile-section h2 { display: flex; align-items: center; gap: 9px; margin-bottom: 11px; font-size: 22px; }
.pg-profile-section h2::before { content: ''; width: 9px; height: 18px; border-radius: 4px; background: #3284ee; }
.pg-entry { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 12px; font-size: 14px; }
.pg-entry + .pg-entry { padding-top: 10px; margin-top: 10px; border-top: 1px solid #e5edf6; }
.pg-entry strong { color: var(--pg-navy); }
.pg-entry time { align-self: start; padding: 4px 7px; border-radius: 6px; background: #eff4fa; font-size: 12px; font-weight: 650; }
.pg-entry-detail { grid-column: 1 / -1; }
.pg-directory .pg-skills { display: flex; flex-wrap: wrap; list-style: none; padding: 0; gap: 8px; }
.pg-skills li { border: 1px solid #dbe8fb; border-radius: 6px; background: #edf4ff; color: #124f9e; font-weight: 700; font-size: 13px; padding: 6px 10px; }
.pg-directory .pg-dialog {
    position: fixed; inset: 0; width: min(670px, calc(100% - 26px)); max-height: calc(100% - 30px); margin: auto; padding: 0;
    border: 1px solid var(--pg-line); border-radius: 17px; color: var(--pg-navy); background: #fff; box-shadow: 0 24px 65px #0b224852; overscroll-behavior: contain;
}
.pg-dialog::backdrop { background: #102b56a0; }
html:has(.pg-dialog[open]) { overflow: hidden; }
.pg-dialog-inner { position: relative; padding: 25px 28px; }
.pg-dialog h2 { font-size: 26px; padding-right: 36px; }
.pg-dialog h3 { font-size: 18px; margin: 14px 0 11px; }
.pg-dialog h4 { font-size: 15px; }
.pg-dialog p { font-size: 14px; color: var(--pg-text); }
.pg-dialog [data-pg-progress] { margin-top: 6px; font-size: 13px; }
.pg-dialog progress { width: 100%; height: 8px; accent-color: var(--pg-blue); }
.pg-directory .pg-close {
    position: absolute; top: 17px; right: 17px; border: 0; border-radius: 8px; width: 36px; height: 36px; padding: 0;
    background: #edf3fb; color: #334e71; font: 24px/1 "Segoe UI", sans-serif; cursor: pointer;
}
.pg-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pg-field span { color: var(--pg-blue); }
.pg-wide { grid-column: 1 / -1; }
.pg-tick:has(.pg-looking-input), .pg-checks[data-pg-skills] { grid-column: 1 / -1; }
[data-pg-experience] { margin-top: 14px; }
[data-pg-experience] .pg-repeat { margin-top: 14px; }
.pg-checks[data-pg-skills] { display: flex; flex-wrap: wrap; gap: 7px 16px; }
.pg-checks[data-pg-skills] .pg-tick { margin: 0; }
.pg-checks[data-pg-declarations] { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,225px),1fr)); gap: 8px 12px; margin-top: 8px; }
.pg-checks[data-pg-declarations] .pg-tick { margin: 0; align-items: flex-start; }
.pg-checks[data-pg-declarations] input { margin-top: 2px; }
.pg-tick { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 500; }
.pg-checks, .pg-repeat-row { min-width: 0; padding: 8px 12px 12px; border: 1px solid var(--pg-line); border-radius: 8px; margin: 0; }
.pg-checks legend, .pg-repeat-row legend { font-size: 13px; font-weight: 700; padding-inline: 4px; }
.pg-checks .pg-tick + .pg-tick { margin-top: 6px; }
.pg-repeat + .pg-repeat, .pg-consent { margin-top: 14px; }
.pg-repeat-row { margin-bottom: 10px; }
.pg-directory .pg-link { border: 0; color: #0b53b9; background: none; padding: 3px 0; font: 650 13px "Segoe UI", sans-serif; cursor: pointer; text-transform: none; }
.pg-repeat-row .pg-link { margin-top: 8px; }
.pg-document, .pg-review > div { background: #f3f7fd; padding: 13px; border: 1px solid var(--pg-line); border-radius: 8px; margin-top: 13px; }
.pg-document p { margin-block: 6px; }
.pg-alert { margin-top: 10px; padding: 9px 11px; border-radius: 8px; background: #fff0f0; color: #9a2525; font-size: 14px; }
.pg-info { background: #e9f3ff; color: #1b528e; white-space: pre-line; }
.pg-review > div h4 { display: inline; margin-right: 12px; }
.pg-review dl { display: grid; gap: 4px; margin-top: 5px; font-size: 13px; }
.pg-review dl > div { display: grid; gap: 5px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.pg-review dd { white-space: pre-line; font-weight: 650; }
.pg-form-actions { border-top: 1px solid var(--pg-line); padding-top: 13px; }
.pg-form-actions [data-pg-prev] { margin-right: auto; }
.pg-success { margin-top: 12px; }
.pg-success p { margin-bottom: 8px; }
.pg-success strong { color: #146344; }
.pg-success .pg-button { margin-top: 10px; }
.pg-trap { position: absolute; left: -10000px; top: 0; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 1120px) {
    .pg-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .pg-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pg-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
    .pg-wrap { width: calc(100% - 28px); }
    .pg-hero-inner { align-items: flex-start; flex-direction: column; gap: 15px; padding-block: 27px 53px; }
    .pg-profile-grid, .pg-cards { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .pg-card-cover { max-height: 480px; }
    .pg-filters, .pg-profile-section, .pg-profile-card .pg-card-body { padding: 15px; }
    .pg-dialog-inner { padding: 19px 15px; }
}
@media (max-width: 410px) {
    .pg-form-grid { grid-template-columns: minmax(0, 1fr); }
    .pg-form-grid .pg-wide { grid-column: auto; }
    .pg-entry { grid-template-columns: minmax(0, 1fr); }
    .pg-entry time { justify-self: start; }
}
