/* Shared product directory: fixed desktop rail and compact mobile drawer. */
.hl-product-navigation {
  --hl-rail-navy: #10364a;
  --hl-rail-deep: #0c2b3e;
  --hl-rail-orange: #f58b3a;
  position: fixed;
  inset: 0;
  z-index: 2147482000;
  pointer-events: none;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}
.hl-product-navigation *, .hl-product-navigation *::before, .hl-product-navigation *::after { box-sizing: border-box; }
.hl-product-navigation [hidden] { display: none !important; }
.hl-product-navigation button, .hl-product-navigation a { font-family: inherit; -webkit-tap-highlight-color: transparent; }
.hl-product-navigation button { cursor: pointer; }
.hl-product-navigation a { text-decoration: none; }
.hl-product-navigation :focus-visible { outline: 3px solid #f9ac70; outline-offset: -3px; }
.hl-product-rail {
  position: absolute;
  top: 128px;
  bottom: 20px;
  left: 0;
  display: flex;
  flex-direction: column;
  width: 180px;
  margin: 0;
  padding: 0;
  border: 1px solid #365262;
  border-left: 0;
  border-radius: 0 6px 6px 0;
  background: var(--hl-rail-deep);
  color: #fff;
  pointer-events: auto;
  overflow: hidden;
  box-shadow: 3px 4px 18px rgb(7 32 45 / 12%);
}
.hl-product-rail__heading { position: relative; flex: none; padding: 18px 15px 14px; border-bottom: 1px solid #365262; }
.hl-product-rail__title { display: block; margin: 0; color: #fff; font-size: 16px; font-weight: 700; line-height: 1.4; letter-spacing: .04em; }
.hl-product-rail__intro { display: block; margin: 5px 0 0; color: #b9ced9; font-size: 11px; line-height: 1.5; }
.hl-product-rail__nav { min-height: 0; flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #698693 var(--hl-rail-deep); }
.hl-product-rail__nav::-webkit-scrollbar { width: 4px; }
.hl-product-rail__nav::-webkit-scrollbar-thumb { background: #698693; border-radius: 4px; }
.hl-product-rail__list { display: block; margin: 0; padding: 5px 0; list-style: none; }
.hl-product-rail__item { display: block; margin: 0; padding: 0; }
.hl-product-rail__link {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 12px;
  gap: 2px 4px;
  align-items: center;
  min-height: 52px;
  margin: 0;
  padding: 8px 13px 8px 15px;
  border: 0;
  border-left: 3px solid transparent;
  border-bottom: 1px solid rgb(179 208 222 / 10%);
  border-radius: 0;
  color: #edf5f8;
  background: transparent;
}
.hl-product-rail__name { min-width: 0; color: inherit; font-size: 13px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.hl-product-rail__name-compact { display: none; }
.hl-product-rail__arrow { grid-column: 2; grid-row: 1; color: #9fb9c6; font-size: 18px; font-weight: 400; line-height: 1; text-align: right; }
.hl-product-rail__link:hover, .hl-product-rail__link[aria-current="page"] { border-left-color: var(--hl-rail-orange); background: #1d455a; color: #fff; }
.hl-product-rail__link[aria-current="page"] .hl-product-rail__arrow { color: var(--hl-rail-orange); }
.hl-product-rail__footer { flex: none; display: block; padding: 14px 10px; border-top: 1px solid #365262; background: var(--hl-rail-navy); color: #ffd0ad; font-size: 12px; font-weight: 600; line-height: 1.5; text-align: center; }
.hl-product-rail__footer:hover { background: #214d63; color: #fff; }
.hl-product-rail__close, .hl-product-toggle, .hl-product-backdrop { display: none; }

@media (min-width: 1000px) {
  body.hl-has-product-navigation #chat-call-button { left: 196px !important; }
  .hl-product-rail__heading { padding: 10px 15px; }
  .hl-product-rail__title { font-size: 16px; line-height: 20px; }
  .hl-product-rail__intro { margin-top: 4px; font-size: 10px; line-height: 14px; }
  .hl-product-rail__link { min-height: 38px; padding: 4px 13px 4px 15px; row-gap: 0; border-bottom: 0; box-shadow: inset 0 -1px rgb(179 208 222 / 10%); }
  .hl-product-rail__name { font-size: 14px; line-height: 18px; }
  .hl-product-rail__name-full.has-compact { display: none; }
  .hl-product-rail__name-compact { display: inline; }
}
@media (min-width: 1000px) and (max-width: 1639px) {
  body.hl-has-product-navigation { padding-left: 180px !important; }
  .hl-product-rail { top: 16px; bottom: 16px; }
}
@media (min-width: 1640px) and (max-height: 945px) {
  .hl-product-rail { top: max(16px, calc(100dvh - 824px)); }
}
/* The homepage header needs its compact menu before the left rail reduces its room. */
@media (min-width: 721px) and (max-width: 1180px) {
  body.hl-home-navigation .site-header .menu-toggle { display: flex; flex: 0 0 42px; flex-direction: column; gap: 5px; justify-content: center; align-items: center; width: 42px; height: 42px; background: none; border: 1px solid #e2e9ed; border-radius: 3px; }
  body.hl-home-navigation .site-header .menu-toggle span { height: 1.5px; background: #10364a; width: 17px; }
  body.hl-home-navigation .site-header #site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 16px 20px 22px; border-top: 1px solid #e3ebef; box-shadow: 0 15px 20px #10364a10; grid-template-columns: 1fr 1fr; gap: 6px 15px; font-size: 13px; }
  body.hl-home-navigation .site-header #site-nav.is-open { display: grid; }
  body.hl-home-navigation .site-header #site-nav > a { padding: 14px; }
  body.hl-home-navigation .site-header #site-nav > .nav-quote { justify-content: space-between; padding: 14px; }
}
@media (max-width: 999px) {
  .hl-product-toggle {
    position: absolute;
    left: 0;
    top: 44%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 29px;
    min-width: 0;
    height: 102px;
    margin: 0;
    padding: 8px 4px;
    border: 1px solid #5a788a;
    border-left: 0;
    border-radius: 0 5px 5px 0;
    background: var(--hl-rail-deep);
    color: #fff;
    box-shadow: 2px 2px 10px rgb(12 43 62 / 16%);
    pointer-events: auto;
  }
  .hl-product-toggle__text { display: block; writing-mode: vertical-rl; letter-spacing: 2px; font-size: 12px; font-weight: 600; line-height: 1; }
  .hl-product-toggle__arrow { font-size: 17px; line-height: 1; color: #ffb276; }
  .hl-product-backdrop { position: absolute; inset: 0; display: block; margin: 0; padding: 0; border: 0; border-radius: 0; background: rgb(6 25 38 / 52%); opacity: 0; visibility: hidden; transition: opacity .18s ease, visibility .18s ease; }
  .hl-product-rail { top: 0; bottom: 0; width: min(310px, 86vw); border-top: 0; border-bottom: 0; border-radius: 0; transform: translateX(-100%); visibility: hidden; transition: transform .2s ease, visibility .2s ease; }
  .hl-product-rail__heading { padding: calc(20px + env(safe-area-inset-top, 0px)) 20px 17px; }
  .hl-product-rail__title { font-size: 20px; }
  .hl-product-rail__intro { margin-top: 6px; font-size: 12px; }
  .hl-product-rail__close { position: absolute; top: calc(13px + env(safe-area-inset-top, 0px)); right: 10px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 3px; background: transparent; color: #fff; font-size: 30px; line-height: 1; font-weight: 400; }
  .hl-product-rail__close:hover { background: #214d63; }
  .hl-product-rail__link { min-height: 48px; padding: 9px 21px 9px 20px; }
  .hl-product-rail__name { font-size: 15px; line-height: 21px; }
  .hl-product-rail__footer { padding: 17px 12px calc(17px + env(safe-area-inset-bottom, 0px)); font-size: 14px; }
  .hl-product-navigation.is-open .hl-product-backdrop { opacity: 1; visibility: visible; pointer-events: auto; }
  .hl-product-navigation.is-open .hl-product-rail { transform: translateX(0); visibility: visible; }
  .hl-product-navigation.is-open .hl-product-toggle { visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .hl-product-rail, .hl-product-backdrop { transition: none; }
}
@media print {
  .hl-product-navigation { display: none !important; }
  body.hl-has-product-navigation { padding-left: 0 !important; }
}
