@import url("/shop.css");
@import url("/shop-ranges.css");
@import url("/application-stories.css");

/* Sentinel v0.7 — official wordmark and grouped solution navigation. */
.site-header .brand,.site-footer .brand{gap:0}
.site-header .brand>img,.site-footer .brand>img{width:158px;height:auto;max-height:54px;object-fit:contain}
#solutionsMenu>a{min-height:64px}
#solutionsMenu a[aria-current=page]{background:#183344;color:var(--accent)}
#solutionsMenu a[aria-current=page] b{color:var(--accent)}

.mobile-solutions{border-bottom:1px solid #263e4d}
.mobile-solutions>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:54px;padding:13px 0;list-style:none;cursor:pointer;color:#eef7fa;font-size:19px;font-weight:550;line-height:1.5;-webkit-tap-highlight-color:transparent}
.mobile-solutions>summary::-webkit-details-marker{display:none}
.mobile-solutions>summary::after{content:'';flex:none;width:8px;height:8px;margin-right:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg)}
.mobile-solutions[open]>summary{color:var(--accent)}
.mobile-solutions[open]>summary::after{transform:translateY(2px) rotate(225deg)}
.mobile-solutions>summary:focus-visible{outline:2px solid var(--accent);outline-offset:4px;border-radius:3px}
.mobile-solution-links{display:flex;flex-direction:column;gap:0;margin:0 0 12px 3px;padding:0 0 0 16px;border-left:1px solid #41646e}
.mobile-solution-links>a{display:flex;align-items:center;min-height:46px;padding:11px 10px;color:#bcd5df;font-size:16px;font-weight:500;line-height:1.5;border-radius:4px}
.mobile-solution-links>a:hover,.mobile-solution-links>a:focus-visible,.mobile-solution-links>a[aria-current=page]{color:var(--accent);background:#132c3b}

@media(max-width:680px){
 .site-header .brand>img,.site-footer .brand>img{width:128px;max-height:45px}
 .mobile-solutions>summary{font-size:18px;min-height:53px}
}

/* The storefront sits next to the basket on every customer-facing page. */
.site-header .header-shop-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 7px;
  min-height: 44px;
  padding: 4px 7px;
  color: var(--ink);
  border-radius: 6px;
  line-height: 1.2;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.header-shop-link .ui-icon, .mobile-shop-link .ui-icon {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.site-header .header-shop-link:is(:hover,:focus-visible,[aria-current="page"]) {
  background: var(--panel);
  color: var(--accent);
}
.header-shop-link:focus-visible {outline: 2px solid var(--accent); outline-offset: 2px;}
.mobile-main-links .mobile-shop-link {display:flex; align-items:center; gap:10px;}
#platformMenu a[aria-current="page"] {background:var(--panel-raised); color:var(--accent);}
#platformMenu a[aria-current="page"] b,
.desktop-nav .nav-group:has(#platformMenu a[aria-current="page"]) > button,
.mobile-platform:has(a[aria-current="page"]) > summary {color:var(--accent);}

@media (max-width: 680px) {
  .site-header .header-shop-link {width:34px; padding:0;}
  .site-header .header-shop-link span {display:none;}
}
/* Five full-size touch targets share the narrow header. The labelled assistant
   remains in the menu; its portrait is the shortcut on the smallest screens. */
@media (max-width: 480px) {
  #siteHeader.site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 4px;
    padding-inline: clamp(6px, 2vw, 12px);
  }
  #siteHeader .brand {
    width: 100%;
    max-width: 120px;
    min-width: 0;
  }
  #siteHeader .brand > img {width: 100%; max-width: 100%; height: auto;}
  #siteHeader .header-actions {
    display: grid;
    grid-template-columns: repeat(5, 44px);
    gap: 1px;
    align-items: center;
  }
  #siteHeader .header-actions > * {
    box-sizing: border-box;
    width: 44px;
    min-width: 0;
    height: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0;
  }
  #siteHeader .sentinel-adviser-launcher .sb-launcher-label {display: none;}
  #siteHeader .sentinel-adviser-launcher .sb-avatar {--sb-size: 32px;}
}
