/* NEXUS Chat — overlay CSS (image amont inchangée). Pas de jargon OSS. */
@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@600;700;800&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap");

:root {
  --nexus-primary: #0b7bff;
  --nexus-primary-dark: #0058e0;
  --nexus-accent: #0a5ad4;
  --nexus-violet: #8b5cf6;
  --nexus-violet-600: #7c3aed;
  --nexus-surface-dark: #0a0e1a;
  --nexus-surface-dark-deep: #05060f;
  --nexus-bg: #ffffff;
  --nexus-surface-alt: #e8edf5;
  --nexus-fg: #12151c;
  --nexus-fg-muted: #5f6675;
  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

html,
body {
  font-family: var(--font-body);
}

h1,
h2,
h3,
.font-display {
  font-family: var(--font-display);
}

/* Favicon / mark déjà montés ; masquer les wordmarks amont restants. */
img[alt="NEXUS"],
img[src*="librechat"],
img[src*="NEXUS"] {
  display: none !important;
}

/* Pied de page : CUSTOM_FOOTER env (« Propulsé par XSCALE Technologies »). */
a[href*="librechat.ai"],
a[href*="github.com/danny-avila"] {
  display: none !important;
}

/* Coque CMO : Espace NEXUS — Chat | Conformité (sous-titre Preuves routeur). */
.nexus-shell-nav {
  position: sticky;
  top: 0;
  z-index: 4000;
  display: flex;
  gap: 16px;
  align-items: center;
  min-height: 48px;
  padding: 6px 14px;
  background: #0a0e1a;
  color: #e8edf5;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-bottom: 1px solid #1a2233;
}

.nexus-shell-product {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  line-height: 1.15;
  min-width: 4.5rem;
}

.nexus-shell-product strong {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.nexus-shell-product span {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8b93a7;
}

.nexus-shell-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.nexus-shell-sep {
  color: #5f6675;
  font-weight: 500;
  user-select: none;
}

.nexus-shell-nav a {
  color: #c5cddb;
  text-decoration: none;
  min-height: 36px;
  padding: 4px 12px;
  border-radius: 8px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
}

.nexus-shell-tab-label {
  line-height: 1.2;
}

.nexus-shell-tab-sub {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #8b93a7;
  line-height: 1.2;
}

.nexus-shell-nav a:hover {
  background: #12182a;
  color: #ffffff;
}

.nexus-shell-nav a:hover .nexus-shell-tab-sub {
  color: #c5cddb;
}

.nexus-shell-nav a[aria-current="page"] {
  background: #0b7bff;
  color: #ffffff;
}

.nexus-shell-nav a[aria-current="page"] .nexus-shell-tab-sub {
  color: #dbeafe;
}

body.nexus-shell-padded {
  padding-top: 0;
}
