/* The campfire look for the app portal (the same look as kumbayai.com): black ground, the original indigo accent (orange was too strong for the eyes, 2026-11-02), Libre Franklin,
   leaf corners instead of round ones, filled panels instead of outlines, no glow. Loaded after style.css; it only sets the theme
   variables and a few shapes, so every page of the app follows. Preview branch: app-fire. */
@font-face { font-family: 'Libre Franklin'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/LibreFranklin-latin.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 {
  --bg: #0a0a0a; --panel: #151515; --panel-2: #1e1e1e; --line: #262626; --text: #efefef; --muted: #b0b0b0;
  --accent: #5e6ad2; --accent-ink: #9aa2f0; --on-accent: #ffffff; --ok: #4ade80; --bad: #f87171; --warn: #fbbf24;
  --code-bg: #101010; --font: 'Libre Franklin', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r-sm: 6px; --r: 10px; --r-lg: 18px;
}
:root[data-theme=light] {
  --bg: #efefef; --panel: #ffffff; --panel-2: #e4e4e4; --line: #d6d6d6; --text: #111111; --muted: #4a4a4a;
  --accent: #5e6ad2; --accent-ink: #4652c2; --on-accent: #ffffff; --ok: #16a34a; --bad: #dc2626; --warn: #b45309;
}
html, body { font-feature-settings: normal; }
h1, h2, h3, .brand, .card h2 { letter-spacing: -.02em; }
/* the leaf: one square corner pair, one round pair, like the buttons on the website */
button, a.download { border-radius: var(--r) 0 var(--r) 0; font-weight: 600; }
button.small { border-radius: 8px 0 8px 0; }
.card, .menu, .modal, dialog { border-radius: var(--r-lg) 0 var(--r-lg) 0; }
input, select, textarea { border-radius: 8px 0 8px 0; }
/* filled, not outlined */
.card { border: 0; }
input, select, textarea { border-color: transparent; background: var(--panel-2); }
:root[data-theme=light] input, :root[data-theme=light] select, :root[data-theme=light] textarea { background: var(--bg); }
input:focus, select:focus, textarea:focus { border-color: var(--accent-ink); box-shadow: none; outline: 3px solid var(--accent-ink); outline-offset: 2px; }
button.ghost { border-color: transparent; background: var(--panel-2); color: var(--text); }
button.ghost:hover:not(:disabled) { background: color-mix(in srgb, var(--text) 14%, var(--panel-2)); border-color: transparent; }
:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 2px; }
/* the sign-in portal: no glow behind the logo */
.signin-hero::before, :root[data-theme=light] .signin-hero::before { display: none; }
.signin-hero .signin-logo { filter: none; }
/* the "AI" in the logo stays orange whatever the accent is (Eyal 2026-11-02) */
.brand em, .brand span em { color: #f0a030; }
:root[data-theme=light] .brand em, :root[data-theme=light] .brand span em { color: #a02a05; }
a { color: var(--accent-ink); }
::selection { background: color-mix(in srgb, var(--accent) 55%, transparent); }

.kdash .primary { color: var(--on-accent); }
/* the Ask All icon is drawn with an inline indigo; give it the accent (kept in CSS so no script has to change) */
[style*="94, 106, 210"], [style*="#5e6ad2"] { background: var(--accent) !important; }
