/* Proti Proudu — light theme matching protiproudu.cz:
   white page, black text, Work Sans, pale-yellow (#f7e67d) pill buttons
   that always carry black text. */
/* Self-hosted (assets/, served by /api/branding/*) rather than fetched from
   Google Fonts: a third-party @import is another render-blocking round trip
   before any glyph paints, and it leaks visitor IPs to Google. Work Sans is a
   variable font, so one file per subset covers all three weights. */
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/api/branding/work-sans-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;
}

/* Czech diacritics (ě š č ř ž ů …) live in latin-ext, so it is not optional. */
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/api/branding/work-sans-latin-ext.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #ffffff;
  --panel: #fafafa;
  --panel-raised: #f3f3ef;
  --border: #e4e4de;
  --text: #0a0a0a;
  --muted: #8b8b8b;
  --accent: #f7e67d;
  --accent-soft: rgba(247, 230, 125, 0.35);
  color-scheme: light;
}

body {
  font-family:
    'Work Sans',
    'Inter',
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
}

/* The dark theme uses --accent as a text colour; pale yellow is unreadable
   on white, so these fall back to the site's black/gray pairing. */
.sidebar-title {
  color: var(--text);
}

/* The small-screen top bar becomes a yellow brand surface — black text,
   like every yellow surface on protiproudu.cz. */
.mobile-header {
  background: var(--accent);
}

.mobile-title,
.menu-button {
  color: var(--text);
}

.menu-button:hover {
  background: rgb(0 0 0 / 8%);
}

.episode-guests,
.video-guests {
  color: #8a7300;
}

/* Base link styling colours in-answer links with --accent; pale yellow is
   unreadable on white, so reuse the dark gold (AA on white, on-brand). */
.message-assistant .message-content a {
  color: #8a7300;
}

.streaming-cursor {
  color: var(--text);
}

/* Yellow surfaces carry black text on protiproudu.cz, never white. */
.chat-input button {
  color: var(--text);
  border-radius: 999px;
}

.citation-pill:hover {
  color: var(--text);
}
