.cyment-menu {
  position: relative;
  color: #19372a;
  flex: 0 0 auto;
}
.cyment-menu summary {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .8rem;
  border: 1px solid #cdded3;
  border-radius: .65rem;
  background: #fff;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.cyment-menu summary::-webkit-details-marker { display: none; }
.cyment-menu[open] summary, .cyment-menu summary:hover { background: #eaf5ee; }
.cyment-menu-icon {
  width: 1rem;
  height: .65rem;
  border-block: 2px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center/100% 2px no-repeat;
}
.cyment-menu-panel {
  position: absolute;
  z-index: 20;
  inset-inline-end: 0;
  inset-block-start: calc(100% + .5rem);
  width: min(16rem, 88vw);
  border: 1px solid #d7e4db;
  border-radius: .75rem;
  background: #fff;
  box-shadow: 0 12px 28px #142b2026;
  padding: .3rem;
}
.cyment-menu-group { padding: .25rem; }
.cyment-menu-user { display: none; }
.cyment-menu-group + .cyment-menu-group { border-top: 1px solid #e1ece5; }
.cyment-menu-panel a {
  display: block;
  padding: .5rem .65rem;
  color: inherit;
  text-decoration: none;
  border-radius: .4rem;
}
.cyment-menu-panel a:hover, .cyment-menu-panel a[aria-current] { background: #eaf5ee; }
.cyment-menu-languages { display: flex; gap: .25rem; }
.hub-admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem .6rem;
  border-bottom: 1px solid #d7e4db;
  margin-bottom: 1rem;
}
.hub-admin-tabs a {
  color: #36594a;
  text-decoration: none;
  padding: .65rem .7rem;
  border-bottom: 3px solid transparent;
}
.hub-admin-tabs a[aria-current], .hub-admin-tabs a:hover { border-color: #16843c; color: #155b35; }
.hub-admin-tabs a[aria-current] { font-weight: 600; }
.hub-field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: .75rem; }
.hub-field-grid label { display: grid; gap: .3rem; }
.hub-field-grid input { min-width: 0; }
@media (max-width: 550px) {
  .site-header-right .user-pill { display: none; }
  .cyment-menu-user { display: block; margin: .4rem .65rem; font-weight: 600; overflow-wrap: anywhere; }
  .header-text p { display: none; }
}

/* Shared compact administration tabs: same top position in every admin view. */
.hub-admin-tabs-compact {
  margin: 0 0 .65rem;
  gap: .2rem .5rem;
  align-items: center;
}
.hub-admin-tabs-compact a {
  padding: .45rem .75rem .5rem;
}

/* Accessible, high-contrast main navigation and signed-in identity, 2026 refresh */
.cyment-icon-sprite{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.cym-nav-icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.cyment-menu summary{padding:.55rem .82rem;gap:.6rem;min-height:40px;border-radius:10px;transition:background-color .15s,border-color .15s,box-shadow .15s}
.cyment-menu summary:focus-visible{outline:2px solid #16843c;outline-offset:2px}
.cyment-menu[open] summary{border-color:#81b99c;box-shadow:0 0 0 3px #e5f4ea}
.cyment-menu-chevron{width:14px;height:14px;color:#688477;transition:transform .15s}
.cyment-menu[open] .cyment-menu-chevron{transform:rotate(180deg)}
.cyment-menu-panel{width:min(310px,calc(100vw - 24px));border:1px solid #dce8df;border-radius:14px;padding:7px;box-shadow:0 18px 48px #132c1e30,0 3px 10px #132c1e12}
.cyment-menu-user-card{display:flex;align-items:center;gap:11px;border-radius:10px;background:#f2f7f3;padding:11px 12px;margin-bottom:5px;min-width:0}
.cyment-user-avatar{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:11px;color:#176442;background:#e0f0e5;flex:none}
.cyment-menu-user-details{display:flex;flex-direction:column;min-width:0;gap:2px}
.cyment-menu-user-caption{font-size:11px;line-height:1.3;color:#667d6d}
.cyment-menu-user-details strong{font-size:14px;color:#1a432f;overflow-wrap:anywhere}
.cyment-menu-group{padding:7px 4px}
.cyment-menu-group+.cyment-menu-group{border-top:1px solid #edf1ed}
.cyment-menu-group-label{font-size:10.5px;text-transform:uppercase;letter-spacing:.09em;font-weight:700;color:#789084;padding:3px 12px 7px}
.cyment-menu-panel .cyment-menu-link{display:flex;align-items:center;gap:11px;min-height:42px;padding:7px 10px;font-size:13.5px;font-weight:550;border-radius:9px;transition:background-color .15s,color .15s}
.cyment-menu-link-icon{display:inline-grid;place-items:center;flex:none;width:30px;height:30px;border-radius:8px;color:#357254;background:#eef5f0}
.cyment-menu-link:hover .cyment-menu-link-icon,.cyment-menu-link:focus-visible .cyment-menu-link-icon{background:#d8ecdf;color:#155e3b}
.cyment-menu-panel .cyment-menu-link:hover,.cyment-menu-panel .cyment-menu-link:focus-visible{background:#eaf5ee;color:#155e3b}
.cyment-menu-language-row{display:flex;align-items:center;gap:8px;justify-content:space-between;padding:6px 9px 9px}
.cyment-menu-language-label{display:inline-flex;align-items:center;gap:8px;color:#36594a;font-size:13px;font-weight:550}
.cyment-menu-language-label .cym-nav-icon{width:16px;height:16px}
.cyment-menu-languages{display:inline-flex;gap:2px;padding:3px;background:#f1f5f2;border-radius:9px}
.cyment-menu-panel .cyment-menu-languages a{font-size:12px;font-weight:650;padding:6px 9px;border-radius:7px;white-space:nowrap}
.cyment-menu-panel .cyment-menu-languages a[aria-current=true]{background:white;color:#155e3b;box-shadow:0 1px 3px #183a2726}
.cyment-menu-panel .cyment-menu-logout{color:#9b4238}
.cyment-menu-logout .cyment-menu-link-icon{color:#9b4238;background:#fff0ee}
.cyment-menu-panel .cyment-menu-logout:hover{background:#fff0ee;color:#8e352e}
.site-header-right .user-pill{display:inline-flex;align-items:center;gap:8px;max-width:230px;border:1px solid #d9e8dd;border-radius:999px;padding:5px 10px;background:#f4f8f5;color:#244b35;font-size:12.5px;font-weight:600}
.site-header-right .user-pill .user-pill-icon{display:inline-grid;place-items:center;flex:none;width:24px;height:24px;border-radius:50%;color:#216d47;background:#e1efe5}
.site-header-right .user-pill .user-pill-icon .cym-nav-icon{width:14px;height:14px}
.site-header-right .user-pill .user-pill-label{font-size:11px;font-weight:500;color:#677f6e}
.site-header-right .user-pill .user-pill-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
@media(max-width:550px){.site-header-right .user-pill{display:none}.cyment-menu-panel .cyment-menu-user-card{display:flex}}
@media(prefers-reduced-motion:reduce){.cyment-menu summary,.cyment-menu-chevron,.cyment-menu-panel .cyment-menu-link{transition:none}}


/* Mobile navigation must be anchored to the visible viewport, not the
   left-aligned header menu summary (whose right-aligned popup clipped offscreen). */
.cyment-mobile-menu-backdrop[hidden]{display:none!important}
.cyment-mobile-menu-backdrop{display:none}
.cyment-mobile-menu-heading{display:none}
@media (max-width:800px){
  body.cyment-mobile-menu-open{overflow:hidden}
  .cyment-mobile-menu-backdrop:not([hidden]){
    display:block;position:fixed;inset:0;z-index:1090;
    background:rgba(12,32,24,.45);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)
  }
  .cyment-menu[open]{z-index:1100}
  .cyment-menu .cyment-menu-panel{
    position:fixed;z-index:1101;
    inset-inline-start:12px;inset-inline-end:12px;
    top:max(12px,env(safe-area-inset-top));
    bottom:auto;
    width:auto;max-width:none;
    max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    overflow-y:auto;overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    padding:9px;border-radius:16px;
  }
  .cyment-mobile-menu-heading{
    display:flex;align-items:center;justify-content:space-between;
    gap:12px;padding:3px 5px 10px 12px;font-size:15px;
    font-weight:750;color:#1a432f
  }
  .cyment-mobile-menu-close{
    display:inline-grid;place-items:center;
    width:44px;height:44px;flex:none;border:1px solid #dce8df;
    border-radius:11px;background:#f2f7f3;color:#244b35;
    font:inherit;font-size:23px;cursor:pointer
  }
  .cyment-mobile-menu-close:focus-visible{outline:3px solid #16843c;outline-offset:2px}
  .cyment-menu-panel .cyment-menu-link{min-height:48px;padding:9px 12px;font-size:15px}
  .cyment-menu-group{padding:8px 4px}
  .cyment-menu-language-row{flex-wrap:wrap}
}
@supports not (height:100dvh){
  @media(max-width:800px){
    .cyment-menu .cyment-menu-panel{max-height:calc(100vh - 24px)}
  }
}

/* Report activity indicator, shared by all IntranetHub pages. */
.cym-tracker-bell{display:inline-flex;position:relative;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid #d9e8df;border-radius:9px;color:#1d6644;background:#f7faf8;text-decoration:none;flex:none}
.cym-tracker-bell:hover{background:#edf7f0}
.cym-notification-count{position:absolute;top:-7px;right:-7px;display:flex;min-width:17px;height:17px;align-items:center;justify-content:center;padding:0 2px;border-radius:15px;color:#fff;background:#b83232;font-size:.65rem;font-weight:750;line-height:1}
.cym-notification-count[hidden],.cym-nav-count[hidden]{display:none!important}
.cym-nav-count{color:#207e4c;font-weight:750;font-size:.75rem}
