/* he-rtl.css: Hebrew twins of the English pages (html[lang="he"][dir="rtl"]).
   The English styles stay the single source of truth; this file only adds the
   Hebrew font and mirrors what the English CSS fixes to the left or right. */

/* Hebrew glyphs in Heebo, wherever the English stack names Inter. Latin
   letters keep the real Inter faces, so English content looks unchanged. */
@font-face {
    font-family: 'Inter';
    src: url('/fonts/heebo-hebrew.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
    font-family: 'Heebo-he';
    src: url('/fonts/heebo-hebrew.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
    unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
html[lang="he"] body { font-family: 'Inter', 'Heebo-he', system-ui, -apple-system, sans-serif; }

/* The English body pins direction: ltr and text-align: left. */
html[dir="rtl"] body { direction: rtl; text-align: right; }

/* English content (prompts, code) keeps left-to-right reading. */
html[dir="rtl"] pre,
html[dir="rtl"] code,
html[dir="rtl"] textarea,
html[dir="rtl"] .prompt-content,
html[dir="rtl"] .prompt-text { direction: ltr; text-align: left; unicode-bidi: isolate; }
