:root {
  --udooz-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --udooz-ink: #12385a;
  --udooz-ink-muted: #234866;
  --udooz-paper: #fdfbf6;
  --udooz-line: #e3ddd1;
  --udooz-accent: #236945;
  --udooz-inset: clamp(16px, 4vw, 56px);
  --ui: var(--udooz-font);
  --display: var(--udooz-font);
  --mono: var(--udooz-font);
}

body { font-family: var(--udooz-font); }
button, input, select, textarea { font-family: inherit; }
body.menu-open { overflow: hidden; }

:is(#siteHeader, #mobileMenu, #mobileMenuBackdrop, #udoozFooter).udooz-shell,
:is(#siteHeader, #mobileMenu, #udoozFooter).udooz-shell :where(*) {
  all: revert;
  box-sizing: border-box;
  font-family: var(--udooz-font);
}

:is(#siteHeader, #mobileMenu, #mobileMenuBackdrop, #udoozFooter).udooz-shell[hidden],
:is(#siteHeader, #mobileMenu, #udoozFooter).udooz-shell [hidden] { display: none !important; }

:is(#siteHeader, #mobileMenu, #udoozFooter).udooz-shell :is(a, button):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

#siteHeader.udooz-shell {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 73px;
  padding: calc(12px + env(safe-area-inset-top, 0px)) max(var(--udooz-inset), env(safe-area-inset-right, 0px)) 12px max(var(--udooz-inset), env(safe-area-inset-left, 0px));
  border-bottom: 1px solid var(--udooz-line);
  background: var(--udooz-paper);
  color: var(--udooz-ink);
  font-size: 16px;
  line-height: 1.5;
}

#siteHeader.udooz-shell .brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: inherit;
  text-decoration: none;
}

#siteHeader.udooz-shell .brand-mark { display: block; width: 55px; height: 28px; }
#siteHeader.udooz-shell .brand-mark svg { display: block; width: 100%; height: 100%; }
#siteHeader.udooz-shell .brand-word { font-size: 28px; font-weight: 800; line-height: 1; }
#siteHeader.udooz-shell .brand-word::before { display: none; }

#siteHeader.udooz-shell .top-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-left: auto;
}

#siteHeader.udooz-shell .top-nav :is(a, button) {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--udooz-ink-muted);
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
}

#siteHeader.udooz-shell .top-nav :is(a, button):hover { background: #f1ede4; }
#siteHeader.udooz-shell .top-nav a.nav-cta:not(.nav-cta-secondary) { background: var(--udooz-accent); color: white; }
#siteHeader.udooz-shell .top-nav a.nav-cta-secondary { border-color: var(--udooz-accent); color: var(--udooz-accent); }
#siteHeader.udooz-shell .top-nav .nav-user-chip {
  max-width: 155px;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#siteHeader.udooz-shell .header-account {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 14px;
}

#siteHeader.udooz-shell .header-auth-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 5px 10px;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

#siteHeader.udooz-shell .nav-hamburger, #mobileMenu.udooz-shell .mobile-menu-close {
  flex: 0 0 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--udooz-line);
  border-radius: 9px;
  background: var(--udooz-paper);
  color: var(--udooz-ink);
  cursor: pointer;
}

#siteHeader.udooz-shell .nav-hamburger { flex-direction: column; gap: 4px; }
#siteHeader.udooz-shell .nav-hamburger span { display: block; width: 19px; height: 2px; border-radius: 1px; background: currentColor; }
#siteHeader.udooz-shell .nav-hamburger.is-open span { transform: none; opacity: 1; }

#mobileMenuBackdrop.udooz-shell { position: fixed; inset: 0; z-index: 180; background: rgb(18 56 90 / 24%); }
#mobileMenu.udooz-shell {
  position: fixed;
  inset: 82px var(--udooz-inset) 20px auto;
  z-index: 200;
  width: min(420px, calc(100% - 2 * var(--udooz-inset)));
  overflow: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  padding: 22px 24px 28px;
  border: 1px solid var(--udooz-line);
  border-radius: 16px;
  background: var(--udooz-paper);
  color: var(--udooz-ink);
  font-size: 16px;
  line-height: 1.45;
  box-shadow: 0 14px 44px rgb(18 56 90 / 18%);
}

#mobileMenu.udooz-shell.is-open { visibility: visible; }
#mobileMenu.udooz-shell .mobile-menu-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 5px; }
#mobileMenu.udooz-shell .mobile-menu-home { color: inherit; font-weight: 800; text-decoration: none; }
#mobileMenu.udooz-shell .mobile-menu-close { font-size: 25px; }
#mobileMenu.udooz-shell .mobile-menu-link {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--udooz-line);
  color: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  text-decoration: none;
}

#mobileMenu.udooz-shell :is(.mobile-menu-install, .mobile-menu-group-toggle) {
  width: 100%;
  border-block-start: 0;
  border-inline: 0;
  background: transparent;
  cursor: pointer;
}

#mobileMenu.udooz-shell .mobile-menu-group-toggle { display: flex; align-items: center; justify-content: space-between; }
#mobileMenu.udooz-shell .mobile-menu-group-toggle.is-open .mobile-menu-group-icon { transform: rotate(180deg); }
#mobileMenu.udooz-shell .mobile-menu-submenu { display: grid; gap: 9px; padding: 11px 0 11px 15px; }
#mobileMenu.udooz-shell .mobile-menu-sublink { color: var(--udooz-ink-muted); font-size: 14px; font-weight: 650; text-decoration: none; }
#mobileMenu.udooz-shell .mobile-menu-actions { display: grid; gap: 8px; margin-top: 15px; }
#mobileMenu.udooz-shell .mobile-menu-actions a {
  display: block;
  padding: 9px 12px;
  border: 1px solid var(--udooz-accent);
  border-radius: 8px;
  color: var(--udooz-accent);
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}

#mobileMenu.udooz-shell a.mobile-menu-cta:not(.mobile-menu-cta-secondary) { color: white; background: var(--udooz-accent); }
#mobileMenu.udooz-shell .mobile-user-chip { overflow-wrap: anywhere; color: var(--udooz-ink-muted); font-size: 12px; }
#mobileMenu.udooz-shell :is(.mobile-menu-link, .mobile-menu-sublink, .mobile-menu-home):hover { text-decoration: underline; }

#udoozFooter.udooz-shell {
  display: block;
  padding: 34px max(var(--udooz-inset), env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) max(var(--udooz-inset), env(safe-area-inset-left, 0px));
  color: var(--udooz-paper);
  background: var(--udooz-ink);
  font-size: 14px;
  line-height: 1.45;
}

#udoozFooter.udooz-shell a { color: inherit; text-decoration: none; }
#udoozFooter.udooz-shell a:hover { text-decoration: underline; }
#udoozFooter.udooz-shell .footer-inner { display: grid; grid-template-columns: minmax(160px, 1fr) minmax(0, 2fr); gap: 26px; }
#udoozFooter.udooz-shell .footer-brand { display: grid; align-content: start; gap: 5px; }
#udoozFooter.udooz-shell .footer-brand strong { font-size: 18px; font-weight: 800; }
#udoozFooter.udooz-shell .footer-brand span { color: var(--udooz-line); font-size: 13px; }
#udoozFooter.udooz-shell .footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
#udoozFooter.udooz-shell .footer-col { display: grid; align-content: start; gap: 8px; }
#udoozFooter.udooz-shell .footer-col-head { margin: 0; color: var(--udooz-line); font-size: 12px; font-weight: 750; }
#udoozFooter.udooz-shell .footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgb(255 255 255 / 20%);
  color: var(--udooz-line);
  font-size: 12px;
}

#udoozFooter.udooz-shell .footer-legal :is(a, small) { color: inherit; font-size: inherit; }
.udooz-related { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 20px 0 26px; font-size: 14px; }
.udooz-related a { font-weight: 650; }

.enterprise-job-editor { min-width: 0; margin: 0 0 1rem; }
.enterprise-job-editor legend { font-weight: 750; }
.enterprise-job-editor label { display: grid; gap: .3rem; margin-bottom: .75rem; }
.enterprise-job-editor :is(input, select, textarea) { min-width: 0; width: 100%; }
.enterprise-job-editor [hidden] { display: none !important; }

#siteHeader.udooz-shell .member-home { background: #12385a; color: #fff; }
#siteHeader.udooz-shell .member-account-menu { position: relative; }
#siteHeader.udooz-shell .member-account-menu summary { list-style: none; min-width: 32px; }
#siteHeader.udooz-shell .member-account-menu summary::-webkit-details-marker { display: none; }
#siteHeader.udooz-shell .member-account-options { position: absolute; right: 0; top: 100%; min-width: 155px; padding: 6px; background: #fff; border: 1px solid #829aa6; border-radius: 8px; }
#siteHeader.udooz-shell .member-account-options :is(a, button) { display: block; min-height: 44px; padding: .65rem; color: #12385a; font: inherit; text-decoration: none; border: 0; background: none; cursor: pointer; width: 100%; text-align: left; }
#siteHeader.udooz-shell .member-account-options :is(a, button):hover { background: #f1ede4; }
.member-dashboard section { margin-top: 1.5rem; }
.member-card { margin-bottom: .75rem; overflow-wrap: anywhere; }
.member-card h3 { margin-top: 0; }
.member-empty { padding: 1.5rem 0; text-align: center; }
.member-dot { display: inline-block; width: .6em; height: .6em; margin-inline-start: .3em; border-radius: 50%; background: #b52840; }
.member-unread { color: #9b1630; font-size: .85em; font-weight: 800; }

@media (max-width: 1050px) {
  #siteHeader.udooz-shell .top-nav { display: none; }
}

@media (max-width: 680px) {
  #siteHeader.udooz-shell { min-height: 65px; padding-block: calc(10px + env(safe-area-inset-top, 0px)) 10px; }
  #siteHeader.udooz-shell .brand-mark { width: 48px; height: 25px; }
  #siteHeader.udooz-shell .brand-word { font-size: 25px; }
  #mobileMenu.udooz-shell { inset: 0; width: 100%; border: 0; border-radius: 0; padding-top: calc(18px + env(safe-area-inset-top, 0px)); }
  #udoozFooter.udooz-shell .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  #udoozFooter.udooz-shell .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  #udoozFooter.udooz-shell .footer-copyright { flex-basis: 100%; }
}

@media (max-width: 460px) {
  #siteHeader.udooz-shell .header-account { gap: 4px; margin-left: auto; line-height: 1.2; }
}

@media print {
  :is(#siteHeader, #mobileMenu, #mobileMenuBackdrop, #udoozFooter).udooz-shell { display: none !important; }
}
