@font-face{font-family:Instrument;src:url(instrument.woff2) format("woff2");font-style:normal;font-weight:400 700;font-display:swap}
@font-face{font-family:Plex;src:url(plex.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:Sorani;src:url(arabic-Regular.woff) format("woff");font-weight:400 550;font-display:swap}
@font-face{font-family:Sorani;src:url(arabic-Bold.woff) format("woff");font-weight:600 900;font-display:swap}
:root{--paper:#fdfdfc;--rail:#f9f9f8;--surface:#f1f0ef;--ink:#21201c;--muted:#63635e;--body:#374151;--rule:#e2e1de;--control:#bcbbb5;--hover:#e9e8e6;--brand:#f53003;--action:#c42602;--active:#ffe2dd;--link:#c42602;--sans:Instrument,Sorani,system-ui,sans-serif;--mono:Plex,ui-monospace,monospace;color-scheme:light}
:root[data-theme=dark]{--paper:#000;--rail:#080808;--surface:#121212;--ink:#fafafa;--muted:#b8b8b8;--body:#dedede;--rule:#303030;--control:#737373;--hover:#1b1b1b;--brand:#ff6248;--action:#ff806c;--active:#30130e;--link:var(--action);color-scheme:dark}
@font-face{font-family:NRT;src:url(nrt-regular.woff) format("woff");font-style:normal;font-weight:400;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+200C-200D,U+FB50-FDFF,U+FE70-FEFF}
@font-face{font-family:Rabar21;src:url(rabar-021.woff) format("woff");font-style:normal;font-weight:400;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+200C-200D,U+FB50-FDFF,U+FE70-FEFF}
:root[dir=rtl]{--sans:Instrument,NRT,Sorani,system-ui,sans-serif}
html[dir=rtl] :is(h1,h2,h3,.chapter-copy strong):not(:lang(en)){font-family:Instrument,Rabar21,NRT,Sorani,sans-serif}
html[dir=rtl] :is(.course-meta,.trace-figure figcaption,.trace-figure table){font-family:Plex,NRT,Sorani,monospace}
.theme-switch,.language-switch{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:none;color:var(--ink);background:var(--paper);border:1px solid var(--rule);border-radius:6px;min-height:38px;font:500 14px/1.5 var(--sans);text-decoration:none;padding:4px 9px}
.theme-switch{width:38px;padding:6px}.theme-switch svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6}.theme-switch:hover,.language-switch:hover{background:var(--hover);text-decoration:none}.theme-switch .sun,:root[data-theme=dark] .theme-switch .moon{display:none}:root[data-theme=dark] .theme-switch .sun{display:block}
html[dir=rtl] :is(h1,h2,h3,strong,.brand,.eyebrow,.navitem,.tag){letter-spacing:normal}
html[dir=rtl] pre,html[dir=rtl] code,html[dir=rtl] output,html[dir=rtl] #editor,html[dir=rtl] #stdin,html[dir=rtl] #output{direction:ltr;unicode-bidi:isolate;text-align:left}
