/* NOVA AI V1 - sidebar header + existing sidebar footer logo only */
#nova-logo-sidebar {
  box-sizing: border-box;
  display: flex;
  flex: 0 0 auto;
  width: 100%;
  min-height: 84px;
  padding: 4px 12px;
  align-items: center;
  justify-content: center;
  user-select: none;
}
#nova-logo-sidebar img {
  display: block;
  width: 100%;
  max-width: 246px;
  height: auto;
  max-height: 77px;
  object-fit: contain;
}
#nova-logo-sidebar.nova-logo-compact {
  min-height: 56px;
  padding: 6px;
}
#nova-logo-sidebar.nova-logo-compact img {
  width: 40px;
  height: 40px;
}
#nova-logo-footer {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
  user-select: none;
}
#nova-logo-footer img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: auto;
  object-fit: contain;
}
#nova-logo-footer.nova-logo-compact { display: none; }


/* NOVA AI V1 - global Sora typography (self-hosted, OFL licensed) */
/* Official Google Fonts Sora variable font: regular text 400, heavier headings as defined in the UI. */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('/nova-brand/assets/fonts/sora-latin-ext-variable.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('/nova-brand/assets/fonts/sora-latin-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --nova-font-family: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
/* Apply Sora to every UI label, including dynamically rendered dialogs, sidebars, editor inputs and controls.
   Keep SVG icon glyphs, diagrams, syntax-highlighted code and mathematical formulae functional. */
html,
body,
body :not(svg):not(svg *):not(pre):not(pre *):not(code):not(code *):not(kbd):not(samp):not(.katex):not(.katex *):not(.monaco-editor):not(.monaco-editor *):not(.cm-editor):not(.cm-editor *):not([class*="iconfont"]):not([class*="iconfont"] *) {
  font-family: var(--nova-font-family) !important;
}
body :is(code, code *, pre, pre *, kbd, samp, .monaco-editor, .monaco-editor *, .cm-editor, .cm-editor *) {
  font-family: ui-monospace, 'SFMono-Regular', Menlo, Monaco, Consolas, monospace !important;
  font-weight: 400 !important;
}


/* NOVA AI V1: only home-page greeting mascot; keep all other images unchanged. */
img[data-nova-home-mascot='true'] {
  width: 90px !important;
  height: 90px !important;
  top: 13px !important;
  left: 49px !important;
  right: auto !important;
  object-fit: contain !important;
  object-position: 50% 100% !important;
  pointer-events: none !important;
  user-select: none !important;
}
@media (max-width: 800px) {
  img[data-nova-home-mascot='true'] {
    width: 68px !important;
    height: 68px !important;
    top: 14px !important;
    left: 42px !important;
  }
}
