/* B: a left-edge tab on desktop, a bottom-left disclosure on small screens. */
.section-navigation.has-compact-navigation,
.recruit-page .editorial-index.has-compact-navigation { position: relative; top: auto; z-index: 5; }
.compact-navigation { position: fixed; z-index: 19; top: calc(50% + (var(--header-visible-height) + var(--site-header-top)) / 2); left: 0; transform: translateY(-50%); translate: -16px 0; color: #173e3d; opacity: 0; visibility: hidden; pointer-events: none; filter: drop-shadow(0 8px 20px rgb(12 57 51 / 12%)); transition: opacity .28s, visibility .28s, translate .4s cubic-bezier(.22,1,.36,1), top .25s; }
.compact-navigation.is-visible { opacity: 1; visibility: visible; pointer-events: auto; translate: 0 0; }
.compact-navigation__toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px; width: 62px; min-height: 196px; padding: 18px 11px; border: 1px solid #174443; border-radius: 0 14px 14px 0; background: #174443; color: #fff; font: inherit; line-height: 1.4; cursor: pointer; transition: background .25s, border-color .25s; }
.compact-navigation__toggle:hover { background: #007f73; border-color: #007f73; }
.compact-navigation__label { writing-mode: vertical-rl; font-size: 12px; letter-spacing: .18em; white-space: nowrap; }
.compact-navigation__count { font: 500 11px/1.4 Poppins, sans-serif; white-space: nowrap; }
.compact-navigation__plus { position: relative; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; background: #fff; color: #174443; transition: rotate .35s; }
.compact-navigation__plus::before, .compact-navigation__plus::after { content: ''; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; background: currentColor; transform: translate(-50%,-50%); }
.compact-navigation__plus::after { transform: translate(-50%,-50%) rotate(90deg); }
.compact-navigation.is-open .compact-navigation__plus { rotate: 135deg; }
.compact-navigation__panel { position: absolute; left: calc(100% + 10px); top: 50%; width: 340px; max-height: calc(100dvh - var(--header-visible-height) - var(--site-header-top) - 48px); overflow-y: auto; overscroll-behavior: contain; padding: 24px; border: 1px solid #bcd7ce; border-radius: 8px 8px 24px 8px; background: #fff; opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-14px,-50%); transition: opacity .23s, transform .36s cubic-bezier(.22,1,.36,1), visibility .36s; }
.compact-navigation.is-open .compact-navigation__panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(0,-50%); }
.compact-navigation__panel header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 15px; margin-bottom: 8px; border-bottom: 1px solid #d5e4de; }
.compact-navigation__panel header strong { font-size: 15px; }
.compact-navigation__panel header small { font: 500 10px/1.4 Poppins,sans-serif; letter-spacing: .14em; color: #65857d; }
.compact-navigation__links { display: grid; gap: 4px; }
.compact-navigation__links a { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 10px 12px; border-radius: 6px; color: #173e3d; text-decoration: none; font-size: 13px; font-weight: 700; line-height: 1.6; transition: background .2s, color .2s; }
.compact-navigation__links a span { font: 500 11px/1.4 Poppins,sans-serif; color: #548276; }
.compact-navigation__links a::after { content: '↗'; margin-left: auto; font-size: 16px; }
.compact-navigation__links a:hover { background: #173e3d; color: #fff; }
.compact-navigation__links a:hover span { color: #fff; }
.compact-navigation__links a[aria-current] { background: #def1e9; color: #006b60; text-decoration: underline; text-underline-offset: 5px; }
.compact-navigation__links a[aria-current] span { color: #006b60; }
.compact-navigation__panel > p { margin: 14px 0 0; font-size: 10px; line-height: 1.7; color: #678279; }
.compact-navigation__toggle:focus-visible, .compact-navigation__links a:focus-visible { outline: 3px solid #ff6b5f; outline-offset: 3px; }
@media (max-width: 780px), (max-height: 500px) {
  .compact-navigation { top: auto; bottom: max(20px, env(safe-area-inset-bottom)); left: 12px; transform: none; }
  .compact-navigation__toggle { flex-direction: row; width: auto; min-height: 50px; padding: 9px 13px; gap: 10px; border-radius: 8px 8px 18px 8px; }
  .compact-navigation__label { writing-mode: horizontal-tb; font-size: 11px; }
  .compact-navigation__panel { top: auto; bottom: calc(100% + 10px); left: 0; width: min(340px, calc(100vw - 24px)); max-height: calc(100dvh - var(--header-visible-height) - var(--site-header-top) - 110px - env(safe-area-inset-bottom)); padding: 16px; transform: translate(0,10px); }
  .compact-navigation.is-open .compact-navigation__panel { transform: translate(0,0); }
  .compact-navigation__links { gap: 3px; }
  .compact-navigation__links a { min-height: 48px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .compact-navigation, .compact-navigation * { transition: none !important; }
}
