/* Metallic blue logo only. Preserve the original header footprint and shared styles. */
.site-header .brand-link {
  width: 160px;
  height: 160px;
  align-items: center;
  justify-content: center;
}
.site-header .brand-logo {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
}
@media (max-width: 1100px) {
  .site-header .brand-link {
    width: 120px;
    height: 120px;
  }
}

/* Shared enterprise navigation, isolated from page and dashboard components. */
:root { --aiof-nav-height:80px; }
.site-header.aiof-enterprise-nav {
  position:sticky; top:0; z-index:200; flex-shrink:0; isolation:isolate;
  height:var(--aiof-nav-height); border-bottom:1px solid rgba(145,188,227,.16);
  background:rgba(11,14,20,.9); color:#e8ecf3;
  font:500 14px/1.4 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  transition:background-color .16s ease,border-color .16s ease;
}
.site-header.aiof-enterprise-nav.is-scrolled { background:rgba(11,14,20,.97); border-bottom-color:rgba(145,188,227,.28); }
.aiof-enterprise-nav .nav-shell { width:calc(100% - 32px); max-width:1200px; height:100%; margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.aiof-enterprise-nav .nav-brand { display:flex; align-items:center; justify-content:center; flex-shrink:0; width:56px; height:56px; }
.site-header.aiof-enterprise-nav .brand-logo { display:block; width:56px; height:56px; object-fit:contain; }
.aiof-enterprise-nav a,.aiof-enterprise-nav a:visited { color:#d6deec; text-decoration:none; }
.aiof-enterprise-nav button { font:inherit; color:inherit; cursor:pointer; }
.aiof-enterprise-nav :is(a,button):focus-visible { outline:2px solid #91bce3; outline-offset:3px; }
.aiof-enterprise-nav .nav-content { display:flex; align-items:center; gap:24px; height:100%; min-width:0; }
.aiof-enterprise-nav ul { list-style:none; padding:0; margin:0; }
.aiof-enterprise-nav .nav-list { display:flex; align-items:center; gap:10px; height:100%; }
.aiof-enterprise-nav .nav-list > li { display:flex; align-items:center; height:100%; }
.aiof-enterprise-nav .nav-link,.aiof-enterprise-nav .nav-disclosure { display:inline-flex; align-items:center; gap:7px; min-height:44px; padding:10px; border:0; border-radius:6px; background:transparent; color:#d6deec; font:inherit; white-space:nowrap; }
.aiof-enterprise-nav :is(.nav-link,.nav-disclosure):hover { color:#fff; background:rgba(145,188,227,.08); }
.aiof-enterprise-nav :is(.nav-link[aria-current="page"],.nav-disclosure.is-section-active) { color:#e9c287; text-decoration:underline !important; text-underline-offset:8px; text-decoration-thickness:1px !important; }
.aiof-enterprise-nav .nav-chevron { width:12px; height:12px; flex-shrink:0; transition:transform .16s ease; }
.aiof-enterprise-nav .nav-disclosure[aria-expanded="true"] .nav-chevron { transform:rotate(180deg); }
.aiof-enterprise-nav .nav-dropdown { position:relative; }
.aiof-enterprise-nav .nav-dropdown-panel { position:absolute; top:100%; left:0; display:grid; gap:4px; width:340px; max-width:calc(100vw - 32px); padding:10px; border:1px solid rgba(145,188,227,.23); border-radius:0 0 12px 12px; background:#101827; box-shadow:0 16px 32px rgba(0,0,0,.22); }
.aiof-enterprise-nav .nav-dropdown-panel li { min-width:0; }
.aiof-enterprise-nav .nav-dropdown-panel a { display:block; min-height:44px; padding:12px; border-radius:6px; white-space:normal; overflow-wrap:break-word; }
.aiof-enterprise-nav .nav-dropdown-panel a:hover,.aiof-enterprise-nav .nav-dropdown-panel a:focus-visible { background:rgba(145,188,227,.09); color:#fff; }
.aiof-enterprise-nav .nav-dropdown-panel a[aria-current="page"] { background:rgba(220,169,83,.09); color:#e9c287; }
.aiof-enterprise-nav .nav-dropdown-panel strong { display:block; font-size:.94rem; line-height:1.4; font-weight:600; }
.aiof-enterprise-nav .nav-dropdown-panel span { display:block; color:#aebbd0; font-size:.8rem; line-height:1.5; margin-top:5px; }
.aiof-enterprise-nav .nav-resources-panel { width:270px; }
.aiof-enterprise-nav .nav-languages { display:flex; align-items:center; gap:5px; white-space:nowrap; }
.aiof-enterprise-nav .nav-languages :is(a,.nav-language-current,.nav-language-unavailable) { display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; padding:8px 4px; font-size:.8rem; }
.aiof-enterprise-nav .nav-language-current { color:#e9c287; font-weight:700; }
.aiof-enterprise-nav .nav-language-unavailable { color:#8190a6; cursor:not-allowed; }
.aiof-enterprise-nav .nav-language-divider { color:#8190a6; }
.aiof-enterprise-nav .nav-languages a:hover { color:#fff; text-decoration:underline !important; text-underline-offset:4px; }
.aiof-enterprise-nav .nav-quote,.aiof-enterprise-nav .nav-quote:visited { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:11px 16px; border:1px solid #dca953; border-radius:7px; background:#dca953; color:#0b111d; font-weight:650; white-space:nowrap; }
.aiof-enterprise-nav .nav-quote:hover { background:#e9bd76; border-color:#e9bd76; color:#0b111d; }
.aiof-enterprise-nav .nav-mobile-toggle { display:none; align-items:center; justify-content:center; width:44px; height:44px; padding:10px; border:1px solid #536078; border-radius:7px; background:transparent; color:#d6deec; }
.aiof-enterprise-nav .nav-mobile-toggle svg { width:22px; height:22px; }
.aiof-enterprise-nav .nav-mobile-toggle .nav-close-icon { display:none; }
.aiof-enterprise-nav .nav-mobile-toggle[aria-expanded="true"] .nav-menu-icon { display:none; }
.aiof-enterprise-nav .nav-mobile-toggle[aria-expanded="true"] .nav-close-icon { display:block; }
.aiof-enterprise-nav [hidden] { display:none !important; }
.aiof-enterprise-nav .nav-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
/* The public SOC demo retains its own app shell, sidebar and controls. */
.aiof-soc-shell #app,.aiof-soc-shell #app > .sidebar,.aiof-soc-shell #app > .main,.aiof-soc-shell #app > .rightpanel { height:calc(100dvh - var(--aiof-nav-height)); }
.aiof-soc-shell #boot-screen { top:var(--aiof-nav-height); z-index:150; }
@media(max-width:1100px) {
 :root { --aiof-nav-height:72px; }
 .aiof-enterprise-nav .nav-brand,.site-header.aiof-enterprise-nav .brand-logo { width:48px; height:48px; }
 .aiof-enterprise-nav .nav-mobile-toggle { display:inline-flex; }
 .aiof-enterprise-nav .nav-content { display:none; position:absolute; top:100%; left:0; right:0; height:auto; max-height:calc(100dvh - var(--aiof-nav-height)); overflow-y:auto; overscroll-behavior:contain; padding:12px 16px 20px; border-bottom:1px solid rgba(145,188,227,.23); background:#0e1522; box-shadow:0 18px 28px rgba(0,0,0,.18); }
 .aiof-enterprise-nav.is-open .nav-content { display:flex; flex-direction:column; align-items:stretch; gap:14px; }
 .aiof-enterprise-nav .nav-list { display:block; height:auto; }
 .aiof-enterprise-nav .nav-list > li { display:block; height:auto; }
 .aiof-enterprise-nav .nav-link,.aiof-enterprise-nav .nav-disclosure { display:flex; width:100%; min-height:48px; justify-content:space-between; padding:12px; }
 .aiof-enterprise-nav .nav-dropdown-panel { position:static; width:100%; max-width:none; margin:0 0 8px; border:0; border-left:1px solid rgba(145,188,227,.25); border-radius:0; padding:0 0 0 10px; background:transparent; box-shadow:none; }
 .aiof-enterprise-nav .nav-languages { justify-content:flex-start; padding:0 8px; border-top:1px solid rgba(145,188,227,.16); }
 .aiof-enterprise-nav .nav-languages :is(a,.nav-language-current,.nav-language-unavailable) { min-width:44px; }
 .aiof-enterprise-nav .nav-quote { width:100%; }
}
@media(max-width:900px) {
 .aiof-soc-shell #app > .sidebar { top:var(--aiof-nav-height); }
}
@media(prefers-reduced-motion:reduce) {
 .site-header.aiof-enterprise-nav,.aiof-enterprise-nav .nav-chevron { transition:none; }
}

/* Homepage news emphasis, using the existing corporate palette. */
.aiof-home .aiof-enterprise-nav .nav-news-highlight { color:#e9c287; border:1px solid rgba(233,194,135,.5); background:rgba(233,194,135,.07); }
.aiof-home .aiof-enterprise-nav .nav-news-highlight:hover { color:#fff; border-color:#e9c287; }
