/* NEO MARKET V12.8.36 — appearance-preserving loading + full-screen default + stable member AI */
:root{
  --neo-v12836-boot-bg:#041426;
  --neo-v12836-boot-surface:#092b49;
  --neo-v12836-boot-accent:#28d8ff;
  --neo-v12836-boot-text:#f8fcff;
}

/* Loading never falls back to a white/foreign shell while the saved appearance is being restored. */
#neoV12824BootLoader[data-neo-v12836-preserve="1"],
#neoV12824BootLoader{
  background:
    radial-gradient(circle at 78% 15%,color-mix(in srgb,var(--neo-v12836-boot-accent) 22%,transparent),transparent 38%),
    linear-gradient(145deg,var(--neo-v12836-boot-bg),color-mix(in srgb,var(--neo-v12836-boot-surface) 78%,var(--neo-v12836-boot-bg)))!important;
  color:var(--neo-v12836-boot-text)!important;
}
#neoV12824BootLoader .neo-v12824-boot-card{
  background:color-mix(in srgb,var(--neo-v12836-boot-surface) 82%,transparent)!important;
  color:var(--neo-v12836-boot-text)!important;
  border-color:color-mix(in srgb,var(--neo-v12836-boot-accent) 30%,transparent)!important;
}
#neoV12824BootLoader .neo-v12824-boot-logo{background:linear-gradient(145deg,var(--neo-v12836-boot-accent),color-mix(in srgb,var(--neo-v12836-boot-accent) 42%,#345cff))!important}
#neoV12824BootLoader .neo-v12824-boot-spinner{border-top-color:var(--neo-v12836-boot-accent)!important}
#pagePanel .loading-view[data-neo-v12836-preserve="1"],#pagePanel .loading-view{
  min-height:calc(100dvh - 176px)!important;
  background:linear-gradient(145deg,var(--neo-v12836-boot-bg),var(--neo-v12836-boot-surface))!important;
  color:var(--neo-v12836-boot-text)!important;
}
#pagePanel .loading-view .spinner{border-top-color:var(--neo-v12836-boot-accent)!important}

/* Neo Market is full viewport by default. CEO Design & Layout may publish another mode; V12.8.36 syncs it to all sessions. */
html[data-neo-market-viewport="full"] .site-shell{width:100%!important;max-width:none!important;min-height:100dvh!important}
html[data-neo-market-viewport="full"] .site-header,
html[data-neo-market-viewport="full"] .member-strip,
html[data-neo-market-viewport="full"] .main-stage,
html[data-neo-market-viewport="full"] .site-footer{width:100%!important;max-width:none!important}
html[data-neo-market-viewport="full"] .main-stage{flex:1 1 auto!important;margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important}
html[data-neo-market-viewport="full"] .page-panel{min-height:calc(100dvh - 154px)!important;border-left:0!important;border-right:0!important;border-radius:0!important}

/* Assistant keeps the same shell through re-render/loading; normal-user AI gets the exact same published geometry as CEO AI. */
body.neo-v12836-assistant-route .main-stage{margin-top:0!important}
body.neo-v12836-assistant-route .page-panel{min-height:calc(100dvh - 132px)!important}
body.neo-v12836-assistant-route .neo-ai-shell.neo-ai-v12829-live{
  min-height:calc(100dvh - 132px)!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  box-sizing:border-box!important;
}
.neo-ai-shell[data-neo-v12836-stable="1"]{
  animation:none!important;
  transition:none!important;
  contain:layout style;
}
.neo-ai-shell[data-neo-v12836-stable="1"] .neo-ai-v12829-side,
.neo-ai-shell[data-neo-v12836-stable="1"] .neo-ai-workspace,
.neo-ai-shell[data-neo-v12836-stable="1"] .neo-ai-workspace-panel{
  transition:none!important;
  animation:none!important;
}
