/* Recurt desktop global navigation v1 — desktop-only replacement header. */
.recurt-desktop-global-header,
.recurt-desktop-global-header * { box-sizing: border-box; }
.recurt-desktop-global-header {
  display: grid;
  grid-template-columns: minmax(190px, 1.05fr) minmax(270px, 1.2fr) 170px minmax(400px, 1.65fr) auto;
  align-items: center;
  column-gap: clamp(12px, 1.4vw, 26px);
  position: fixed;
  inset: 0 0 auto;
  z-index: 1100;
  width: 100%;
  height: 88px;
  padding: 0 clamp(22px, 1.7vw, 34px);
  background: #fff;
  border-bottom: 1px solid #e7ebf2;
  box-shadow: 0 2px 9px rgba(20, 35, 70, .035);
  color: #172b4d;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}
body.recurt-has-desktop-global-header > .header-avt { display: none !important; }
.rdh-identity { position: relative; min-width: 0; }
.rdh-profile-trigger {
  display: inline-flex; align-items: center; gap: 9px; max-width: 100%;
  min-height: 46px; padding: 4px 8px 4px 0; border: 0; background: transparent;
  color: #172b4d; cursor: pointer; font: 600 13px/1.25 Inter, "Segoe UI", Arial, sans-serif;
}
.rdh-profile-trigger > svg { width: 14px; height: 14px; fill: none; stroke: #344767; stroke-width: 1.6; flex: 0 0 auto; }
.rdh-avatar-wrap { width: 36px; height: 36px; position: relative; display: inline-flex; flex: 0 0 36px; }
.rdh-avatar { width: 36px; height: 36px; display: block; border-radius: 50% !important; object-fit: cover; border: 1px solid #dce4f1; background: #f4f7fb; }

.rdh-profile-menu {
  position: absolute; top: calc(100% + 12px); left: 0; z-index: 1200;
  width: 218px; padding: 7px; border: 1px solid #e8edf4; border-radius: 12px;
  background: #fff; box-shadow: 0 14px 38px rgba(18, 35, 65, .14);
}
.rdh-profile-menu[hidden] { display: none !important; }
.rdh-profile-menu a { display: flex; align-items: center; min-height: 42px; padding: 0 12px; border-radius: 8px; color: #263954; text-decoration: none; font-size: 13px; font-weight: 550; }
.rdh-profile-menu a:hover { background: #f3f6fb; color: #2457a6; }
.rdh-primary { display: flex; align-items: center; min-width: 0; gap: clamp(12px, 1.4vw, 26px); }
.rdh-primary a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; white-space: nowrap; color: #203653; text-decoration: none; font-size: 13px; font-weight: 600; }
.rdh-primary a:hover { color: #2460b5; }
.rdh-primary svg { width: 28px; height: 28px; padding: 5px; border-radius: 8px; background: #edf3ff; fill: none; stroke: #285da7; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 28px; }
.rdh-brand { display: flex; align-items: center; justify-content: center; min-width: 0; }
.rdh-brand img { display: block; width: 164px; max-width: 100%; max-height: 52px; object-fit: contain; }
.rdh-primary-right { justify-content: flex-end; }
.rdh-quick-actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.rdh-action { position: relative; display: inline-flex; width: 28px; height: 38px; align-items: center; justify-content: center; color: #687386; text-decoration: none; }
.rdh-action svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.rdh-action:hover { color: #2457a6; }
.rdh-notification-dot { position: absolute; width: 9px; height: 9px; top: 4px; right: 1px; border: 1.5px solid #fff; border-radius: 50%; background: #e53935; }
.rdh-notification-dot[hidden] { display: none !important; }
.rdh-bell-link[data-unread-count]::after { content: attr(data-unread-count); position: absolute; top: -3px; right: -8px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: #e53935; color: #fff; font: 700 9px/16px Inter, Arial, sans-serif; text-align: center; }
.recurt-presence-online { position: relative; }
.recurt-presence-online::after { content: ""; position: absolute; width: 11px; height: 11px; right: -1px; bottom: -1px; border: 2px solid #fff; border-radius: 50%; background: #16a34a; }
.rdh-avatar-wrap { position: relative; }
@media (max-width: 1400px) {
  .recurt-desktop-global-header { grid-template-columns: minmax(160px, .9fr) minmax(240px, 1.15fr) 140px minmax(340px, 1.5fr) auto; column-gap: 12px; padding-inline: 18px; }
  .rdh-primary { gap: 12px; }
  .rdh-primary a { font-size: 12px; gap: 6px; }
  .rdh-brand img { width: 142px; }
  .rdh-quick-actions { gap: 9px; }
}
@media (max-width: 1100px) {
  .recurt-desktop-global-header { grid-template-columns: minmax(145px, .8fr) minmax(210px, 1fr) 116px minmax(290px, 1.3fr) auto; }
  .rdh-primary a span { display: none; }
  .rdh-primary { justify-content: center; }
}
@media (max-width: 991px) {
  .recurt-desktop-global-header { display: none !important; }
  body.recurt-has-desktop-global-header > .header-avt { display: flex !important; }
}

.rdh-avatar-wrap.recurt-presence-online::after {
  content: ""; position: absolute; width: 11px; height: 11px; right: -1px; bottom: -1px;
  border: 2px solid #fff; border-radius: 50%; background: #16a34a;
}
.recurt-connect-avatar-wrap {
  display: block; position: relative; width: 104px; height: 104px;
  margin: -53px auto 10px; border-radius: 50%;
}
.recurt-connect-avatar-wrap .recurt-connect-avatar {
  display: block; position: static; width: 104px; height: 104px; margin: 0;
}
.recurt-public-avatar { position: relative; }

body.recurt-desktop-no-original-header { padding-top: 88px !important; }

.rdh-sidebar-link { border: 0; padding: 0; background: transparent; cursor: pointer; }
.rdh-site-menu {
  position: absolute; top: 72px; right: 100px; z-index: 1200; width: 190px;
  padding: 7px; border: 1px solid #e8edf4; border-radius: 12px; background: #fff;
  box-shadow: 0 14px 38px rgba(18,35,65,.14);
}
.rdh-site-menu[hidden] { display: none !important; }
.rdh-site-menu a { display: flex; align-items: center; min-height: 40px; padding: 0 11px; border-radius: 8px; color: #263954; text-decoration: none; font-size: 13px; font-weight: 550; }
.rdh-site-menu a:hover { background: #f3f6fb; color: #2457a6; }

.rf-avatar.recurt-presence-online,
.rf-comment-avatar.recurt-presence-online,
.rf-member-popover-avatar.recurt-presence-online { position: relative; }
