/* The map's organisation profile, usable without leaving the careers list. */
.jobs-page .careers-profile {
  position:fixed; inset:var(--profile-top,calc(var(--header-height) + 12px)) auto auto var(--profile-left,16px);
  width:380px; max-width:calc(100vw - 32px); z-index:650;
  max-height:var(--profile-max-height,calc(100dvh - var(--header-height) - 24px));
  overscroll-behavior:contain; background:var(--theme-panel,#fff); color:var(--ink);
  border:1px solid var(--line); border-radius:10px;
  animation:careers-profile-in .12s ease-out;
}
@keyframes careers-profile-in { from { opacity:0; } to { opacity:1; } }
.careers-profile .profile-actions-top {
  position:sticky; top:0; min-height:44px; padding:0 10px;
  background:var(--theme-panel,#fff); z-index:2;
}
.careers-profile .profile-close { margin-left:auto; width:44px; height:44px; }
.careers-profile .profile-hero { padding:3px 16px 10px; }
.careers-profile .profile-hero h2 { font-size:20px; line-height:1.18; letter-spacing:-.3px; margin-top:4px; }
.careers-profile .profile-identity { gap:10px; }
.careers-profile .profile-identity > .organisation-avatar { width:40px; height:40px; }
.careers-profile .profile-type { margin-top:3px; }
.careers-profile .profile-primary-actions { margin-top:10px; gap:7px; }
.careers-profile .profile-primary-actions :is(.profile-contact-primary,.profile-website) { padding:8px 10px; }
.careers-profile .profile-links { margin-top:8px; }
.careers-profile .profile-section { padding:10px 16px; }
.careers-profile .profile-section > h3 { margin-bottom:6px; }
.careers-profile :is(.profile-description,.profile-location) { line-height:1.5; }
.careers-profile .profile-background { padding-top:0; padding-bottom:0; }
.careers-profile :is(.profile-about,.profile-more-contacts) > summary { padding:10px 0; }
.careers-profile .profile-background-content { padding-bottom:10px; }
.careers-profile .profile-footer { padding:2px 16px; }
.careers-company[aria-expanded="true"] { color:var(--blue); text-decoration:underline; text-underline-offset:3px; }
@media(max-width:650px) {
  .jobs-page .careers-profile { inset:calc(var(--header-height) + 8px) 10px max(10px,env(safe-area-inset-bottom)); width:auto; max-width:none; max-height:none; }
}
@media(prefers-reduced-motion:reduce) { .careers-profile { animation:none; } }
