[data-profile-kind="company"]{--identity-ink:#203950;--identity-edge:#d9c396;--identity-bg:#fffdf8;--identity-badge:#f2e6ca}
[data-profile-kind="person"]{--identity-ink:#1c594e;--identity-edge:#b6d7cb;--identity-bg:#f7fcfa;--identity-badge:#dbefe7}
:is(article,button,.fr-det,.auto-detail,.profile-modal)[data-profile-kind]:not([data-profile-kind=""]){
  background:var(--identity-bg);border-color:var(--identity-edge);box-shadow:inset 0 2px var(--identity-edge);
}
.profile-identity-heading{display:grid!important;grid-template-columns:54px minmax(0,1fr);gap:12px;align-items:center;text-align:left;min-width:0}
.profile-identity-heading strong,.profile-identity-heading small{display:block;overflow-wrap:anywhere}
.profile-identity-avatar{position:relative;display:grid!important;place-items:center;flex:0 0 54px;width:54px;height:54px;border-radius:13px;overflow:hidden;background:var(--identity-ink,#203950);color:white;font:750 16px/1 system-ui}
[data-profile-kind="person"] .profile-identity-avatar{border-radius:50%}
.profile-identity-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:white}
.profile-identity-avatar svg{width:26px;height:26px}
.profile-type-badge{display:inline-block!important;width:max-content;max-width:100%;margin-top:5px;padding:3px 8px;border-radius:6px;background:var(--identity-badge,#f2e6ca);color:var(--identity-ink,#203950);font:650 11px/1.35 system-ui;white-space:normal}
[data-profile-kind="person"] .profile-type-badge{border-radius:20px}
.client-local-provider>.profile-identity-heading{margin-bottom:8px}
.fr-row .profile-type-badge{margin:0 4px}

[data-profile-kind="company"]{--identity-ink:#172c46;--identity-edge:#d9c396;--identity-bg:#fffdf8;--identity-badge:#f2e6ca}
[data-profile-kind="person"]{--identity-ink:#226153;--identity-edge:#b6d7cb;--identity-bg:#f7fcfa;--identity-badge:#dbefe7}
[data-profile-kind="jobseeker"]{--identity-ink:#385483;--identity-edge:#c4d4eb;--identity-bg:#f8faff;--identity-badge:#e3eaf7}
.profile-identity-avatar{width:58px;height:58px;flex-basis:58px;border-radius:16px;background:var(--identity-ink,#172c46);color:#f0dba7;box-shadow:0 3px 9px #14233a12;isolation:isolate}
.profile-identity-avatar.identity-person{border-radius:50%;background:#226153;color:#e4f5ee}
.profile-identity-avatar.identity-jobseeker{border-radius:16px 16px 16px 5px;background:#385483;color:#edf2ff}
.profile-identity-avatar>svg{width:31px;height:31px;margin-bottom:4px}
.profile-identity-avatar>.identity-initials{position:absolute;right:3px;bottom:2px;min-width:17px;padding:2px 3px;color:inherit;background:#ffffff15;border-radius:4px;font:750 9px/1 system-ui;letter-spacing:.3px}
.profile-identity-avatar>img{z-index:1;object-fit:contain}
.profile-identity-heading{grid-template-columns:58px minmax(0,1fr);align-items:start}
.profile-identity-heading strong{font:750 18px/1.3 system-ui;margin:0 0 4px}
.profile-identity-heading small{font:450 14px/1.4 system-ui;color:#566578}
.profile-type-badge{font:650 14px/1.3 system-ui;padding:4px 8px;border-radius:7px}
.identity-profile-open{display:inline-flex;align-items:center;justify-content:center;max-width:100%;min-height:42px;margin-top:14px;padding:9px 15px;border:1px solid var(--identity-edge,#c6cfdc);border-radius:10px;background:var(--identity-ink,#172c46);color:white;font:650 14px/1.3 system-ui;cursor:pointer}
.identity-profile-open:focus-visible,.identity-dialog-close:focus-visible{outline:3px solid #b38b3e;outline-offset:3px}
.identity-profile-dialog{width:min(620px,calc(100% - 24px));max-height:90dvh;padding:22px;border:1px solid var(--identity-edge,#d9c396);border-radius:22px;background:var(--identity-bg,#fffdf8);color:#172c46;overflow-y:auto;box-sizing:border-box;box-shadow:0 24px 70px #14233a40}
.identity-profile-dialog::backdrop{background:#101e32a6}
.identity-dialog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px;font:600 14px/1.4 system-ui;color:#536176}
.identity-dialog-close{min-height:42px;padding:9px 13px;background:white;border:1px solid #d7dde5;border-radius:10px;color:#172c46;font:650 14px/1.3 system-ui;cursor:pointer}
.identity-dialog-heading{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:16px}
.identity-dialog-heading .profile-identity-avatar{width:76px;height:76px}
.identity-dialog-heading h2{font:750 clamp(22px,4vw,29px)/1.25 system-ui;margin:0;overflow-wrap:anywhere}
.identity-dialog-heading p{font:450 16px/1.4 system-ui;color:#566578;margin:6px 0 0}
.identity-profile-description{font:450 16px/1.6 system-ui;white-space:pre-line;overflow-wrap:anywhere;margin:22px 0}
.identity-profile-facts{display:grid;gap:0;margin:20px 0}
.identity-profile-facts>div{display:grid;grid-template-columns:minmax(110px,1fr) minmax(0,1.6fr);gap:14px;padding:11px 0;border-bottom:1px solid #d9dfe744}
.identity-profile-facts dt{font:600 14px/1.45 system-ui;color:#536176}.identity-profile-facts dd{margin:0;font:500 16px/1.45 system-ui;overflow-wrap:anywhere}
.identity-profile-address{font:450 16px/1.5 system-ui;overflow-wrap:anywhere}
.identity-profile-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}.identity-profile-actions a{min-height:44px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;padding:10px 15px;border-radius:10px;background:var(--identity-ink,#172c46);color:#fff;text-decoration:none;font:650 14px/1.4 system-ui;overflow-wrap:anywhere;max-width:100%}
.wk-list{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.wk-card{min-width:0;box-sizing:border-box;padding:18px!important;border:1px solid var(--identity-edge)!important;border-radius:17px!important;background:var(--identity-bg)!important}.wk-card .wk-top{gap:12px;align-items:flex-start}.wk-name{font-size:17px!important;line-height:1.35}.wk-card .wk-code{font-size:12px}.wk-card .wk-public-contact{display:flex;flex-wrap:wrap;gap:7px}.wk-card .wk-btn{max-width:100%;overflow-wrap:anywhere;white-space:normal}.wk-alert-mini,.wk-empty,.wk-alert{grid-column:1/-1}
.fr-mono:has(.profile-identity-avatar){background:none!important;width:44px!important;height:44px!important;padding:0!important;box-shadow:none!important}.fr-mono .profile-identity-avatar{width:44px;height:44px;border-radius:12px}.fr-mono .profile-identity-avatar>svg{width:26px;height:26px}.fr-mono .identity-initials{font-size:8px}
.pt-logo:has(.profile-identity-avatar){background:transparent!important;border:0!important;box-shadow:none!important}.pt-logo .profile-identity-avatar{width:64px;height:64px}.ad-card .profile-identity-heading{margin:12px 0}.ad-card .profile-identity-heading strong{font-size:16px}
@media(max-width:1100px){.wk-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.wk-list{grid-template-columns:minmax(0,1fr)}.identity-profile-dialog{padding:17px}.identity-dialog-heading{grid-template-columns:62px minmax(0,1fr);gap:12px}.identity-dialog-heading .profile-identity-avatar{width:62px;height:62px}.identity-profile-facts>div{grid-template-columns:1fr;gap:4px}.identity-profile-actions{flex-direction:column}}

/* Elife: original landscape logo visible in compact profile rubrics */
.profile-identity-avatar:has(img[src="reklama-elife-logo.webp"]){background:#fff!important;border:1px solid #e3e8df!important;border-radius:10px!important;overflow:hidden!important}
.profile-identity-avatar img[src="reklama-elife-logo.webp"]{width:100%!important;height:100%!important;object-fit:contain!important;background:#fff!important}
.fr-mono:has(img[src="reklama-elife-logo.webp"]){background:#fff!important;border:1px solid #e3e8df!important;overflow:hidden}

/* Keep each profile action on the bottom edge of its card. */
:is(.wk-card,.ad-card,.pt-card,.hr-item,.finder-result,.client-local-provider):has(> .identity-profile-open):not([hidden]):not(.section-item-unshown) {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  box-sizing: border-box;
  padding-bottom: 16px !important;
}
:is(.wk-card,.ad-card,.pt-card,.hr-item,.finder-result,.client-local-provider) > .identity-profile-open {
  order: 1;
  align-self: stretch;
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  margin: auto 0 0;
}
:is(.wk-card,.ad-card,.pt-card,.hr-item,.finder-result,.client-local-provider):has(> .identity-profile-open)::after {
  content: "";
  order: 0;
  height: 4px;
  flex: none;
}
.vehicle-profile-card-body > .vehicle-profile-actions { margin-top: auto; }
