/* WhizdomAI brand font — matches whizdomai-platform-client-web (Poppins).
 *
 * LibreChat sets its UI font as `Inter, sans-serif` on `html,:host` and the
 * `.font-sans` utility (no !important). This file is injected via a <link> right
 * before </head>, so it loads AFTER LibreChat's base CSS: these equal-specificity
 * rules therefore win and replace Inter with Poppins.
 *
 * Only sans text is retargeted. Code blocks (`.font-mono` = Roboto Mono) and math
 * (KaTeX_* fonts) declare font-family on their own elements, so they are not matched
 * here and keep their monospace/math fonts. No !important is used precisely so those
 * element-level rules continue to win for code/math.
 */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

html,
:host,
.font-sans {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Ubuntu, 'Noto Sans', sans-serif;
}

/* Hide the model picker's header button.
 *
 * interface.modelSelect=false empties the picker's CONTENTS but does not stop the
 * button rendering -- rc3 has no render gate for it (every modelSelect usage in the
 * bundle only filters the options list). The result is a "Select a model" control
 * that opens an empty menu, which is confusing in a marketplace-only deployment.
 *
 * This is presentation-only and carries no security weight: the menu behind it is
 * already empty by config, so this hides an empty control rather than restricting
 * access to anything.
 *
 * data-testid is the stable hook (LibreChat ships it for its own e2e tests).
 * rebrand.sh asserts it still exists in the base image and fails the build if not,
 * so a future upgrade renaming it breaks loudly instead of silently un-hiding this.
 */
[data-testid='model-selector-button'] {
  display: none !important;
}
