/* CODUINO — local Barlow Semi Condensed typography */
:root {
  --coduino-ui-font: 'Barlow Semi Condensed', Arial, sans-serif;
}

html, body {
  font-family: var(--coduino-ui-font) !important;
}

/* Apply Barlow to the complete application UI, including inline-styled controls. */
body *:not(.fa):not(.fas):not(.far):not(.fab):not(.fa-solid):not(.fa-regular):not(.fa-brands):not(.fa-sharp) {
  font-family: var(--coduino-ui-font) !important;
}

/* Blockly canvas, toolbox, flyout, editable fields, and category labels. */
.blocklyText,
.blocklyEditableText,
.blocklyNonEditableText,
.blocklyDropdownText,
.blocklyHtmlInput,
.blocklyTreeLabel,
.blocklyFlyoutLabelText,
.blocklyToolboxCategoryLabel,
.blocklyWidgetDiv input,
.blocklyWidgetDiv textarea {
  font-family: var(--coduino-ui-font) !important;
}

/* Keep source code and serial output monospaced for readability. */
pre, pre *,
code, code *,
.dock-code-preview,
#codeOutput, #codeEditor,
#hardwareSerialOutput,
.CodeMirror, .CodeMirror *,
.cm-editor, .cm-editor *,
.monaco-editor, .monaco-editor *,
.ace_editor, .ace_editor * {
  font-family: Consolas, 'Courier New', monospace !important;
}

/* Keep simulator icons on the bundled local Font Awesome 5 font.
   Do not use the Font Awesome 6 fallback: that font is not bundled offline. */
.fa-solid,
.fas {
  font-family: "Coduino Font Awesome" !important;
  font-style: normal !important;
  font-weight: 900 !important;
  font-variant: normal !important;
}
