/* Static-mode shim for the Glasswall docs mirror (no runtime JavaScript). */
:root { color-scheme: light; }
html, body { background-color: #ffffff !important; }

@media (max-width: 996px) {
  .navbar__toggle { display: none !important; }
  .theme-doc-sidebar-container {
    display: block !important; position: static !important; width: 100% !important;
    max-height: none !important; margin: 0 0 1rem !important; border-right: 0 !important;
  }
  .theme-doc-sidebar-container > div { position: static !important; width: 100% !important; height: auto !important; }
}

/* Co-brand lockup: glasswall logo + APAC PARTNER subtitle */
.gw-cobrand-logo--safeware { height: 22px !important; width: auto !important; }
.gw-cobrand-logo--glasswall { height: 24px !important; width: auto !important; }
.gw-cobrand-gw { display: inline-flex !important; flex-direction: column; align-items: flex-start; line-height: 1; }
.gw-cobrand-apac { font-size: 8px; letter-spacing: .2em; color: #9fb0c9; text-transform: uppercase; margin-top: 3px; font-weight: 600; }

/* Unified banner: show the product nav links alongside the co-brand lockup,
   matching the products landing page. Breathing room after the lockup. */
.theme-layout-navbar-left .navbar__brand { margin-right: 26px !important; }
.theme-layout-navbar-left a.navbar__link { font-size: .95rem; }
@media (max-width: 996px) {
  /* No JS toggle in static mode — avoid a cramped/overlapping row on narrow screens. */
  .theme-layout-navbar-left a.navbar__link,
  .theme-layout-navbar-left a.navbar__item { display: none !important; }
}

/* 'Safeware website' nav link: readable hover + external-link icon */
a.navbar__link[href^="https://safeware.ai"]{ color:#cbd5e1 !important; }
a.navbar__link[href^="https://safeware.ai"]:hover{ color:#ffffff !important; }
a.navbar__link[href^="https://safeware.ai"]::after{
  content:""; display:inline-block; width:12px; height:12px; margin-left:6px; vertical-align:-1px;
  background:currentColor;
  -webkit-mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14 3h7v7h-2V6.41l-9.29 9.3-1.42-1.42L17.59 5H14V3zM5 5h6v2H7v10h10v-4h2v6H5V5z"/></svg>') center/contain no-repeat;
  mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14 3h7v7h-2V6.41l-9.29 9.3-1.42-1.42L17.59 5H14V3zM5 5h6v2H7v10h10v-4h2v6H5V5z"/></svg>') center/contain no-repeat;
}
