/* Unified NeLeSo overlay for status, docs and inherited sub-portals.
   This file is injected after each portal theme and therefore uses important
   only where upstream root tokens would otherwise win. */

@font-face{font-family:'Geist';font-style:normal;font-weight:100 900;font-display:swap;src:url('/dcs-branding/fonts/geist-latin-wght-normal.woff2') format('woff2')}
@font-face{font-family:'Geist Mono';font-style:normal;font-weight:100 900;font-display:swap;src:url('/dcs-branding/fonts/geist-mono-latin-wght-normal.woff2') format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url('/dcs-branding/fonts/geist-latin-wght-normal.woff2') format('woff2')}
@font-face{font-family:'Source Serif 4';font-style:normal;font-weight:100 900;font-display:swap;src:url('/dcs-branding/fonts/geist-latin-wght-normal.woff2') format('woff2')}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:100 900;font-display:swap;src:url('/dcs-branding/fonts/geist-mono-latin-wght-normal.woff2') format('woff2')}

.dcs-lang-switch{
  position:fixed!important;top:10px!important;right:16px!important;z-index:9998!important;
  display:inline-flex!important;align-items:center!important;gap:2px!important;
  border:1px solid #ebebeb!important;border-radius:9999px!important;padding:2px!important;
  background:rgba(255,255,255,.94)!important;backdrop-filter:blur(8px)!important;
  font-family:'Geist',system-ui,sans-serif!important;font-size:12px!important;font-weight:600!important;
  box-shadow:0 1px 2px rgba(0,0,0,.04)!important
}
.dcs-lang-switch button{border:0!important;background:transparent!important;color:#666!important;
  padding:4px 12px!important;border-radius:9999px!important;cursor:pointer!important;font:inherit!important;line-height:1.2!important}
.dcs-lang-switch button.active{background:#0a72ef!important;color:#fff!important}
.dcs-lang-switch button:not(.active):hover{color:#005fcc!important}

:root:not([data-design-system="neleso"]){
  --brand-25:#f5f9ff!important;--brand-50:#edf5ff!important;--brand-100:#dbeaff!important;
  --brand-200:#bedcff!important;--brand-300:#91c5ff!important;--brand-400:#5aa6ff!important;
  --brand-500:#2787fa!important;--brand-600:#0a72ef!important;--brand-700:#005fcc!important;
  --brand-800:#084da3!important;--brand-900:#0c417f!important;--brand-950:#082950!important;

  --button-primary-bg:#0a72ef!important;--button-primary-bg-hover:#005fcc!important;
  --button-primary-fg:#fff!important;--button-primary-border:#0a72ef!important;
  --button-accent-bg:#0a72ef!important;--button-accent-bg-hover:#005fcc!important;
  --button-accent-fg:#fff!important;--button-accent-border:#0a72ef!important;
  --badge-brand-bg:#edf5ff!important;--badge-brand-fg:#005fcc!important;--badge-brand-border:#91c5ff!important;

  --accent:#0a72ef!important;--accent-hover:#005fcc!important;--accent-muted:rgba(10,114,239,.08)!important;
  --bg-page:#fff!important;--bg-surface:#fff!important;--bg-surface-hover:#f5f5f5!important;
  --text-primary:#171717!important;--text-secondary:#666!important;--border-subtle:#ebebeb!important;
  --radius-sm:6px;--radius-md:8px;--radius-lg:8px;
  --font-sans:'Geist',system-ui,-apple-system,'Segoe UI',sans-serif;
  --font-serif:'Geist',system-ui,-apple-system,'Segoe UI',sans-serif;
  --font-mono:'Geist Mono',ui-monospace,SFMono-Regular,Menlo,monospace
}

:root:not([data-design-system="neleso"]) body{background:#fff!important;font-family:'Geist',system-ui,-apple-system,'Segoe UI',sans-serif!important;color:#171717}
:root:not([data-design-system="neleso"]) :is(h1,h2,h3,h4){font-family:'Geist',system-ui,-apple-system,'Segoe UI',sans-serif!important;letter-spacing:-.025em}
:root:not([data-design-system="neleso"]) :is(code,pre,.mono){font-family:'Geist Mono',ui-monospace,SFMono-Regular,Menlo,monospace!important}
:root:not([data-design-system="neleso"]) :focus-visible{outline:2px solid #0a72ef!important;outline-offset:2px}

:root[data-design-system="neleso"] .dcs-lang-switch{display:none!important}
