/* a11y.css - סרגל הנגישות (חבילת המעצבת physmath-accessibility-v1, 26.10).
   נטען אחרון ב-<head>, אחרי style.css ו-design/site.css (build_nav: with_a11y).
   **גודל הטקסט:** font-size על השורש בלבד, פעם אחת, לפי --fm-scale
   (a11y-state.js). כל גופן באתר ב-rem או em וגדל איתו: בלי zoom, בלי הכפלה
   תחת html.is-big ובלי px בגופן (verify_big.py).
   **הצבעים:** ב"צבעי האתר" הטוקנים של האתר (נייר או דיו) נשארים, והסרגל קורא
   אותם. בשלושת מצבי הניגודיות כל טוקן צבע של האתר ושל עמודי העיצוב (--pm-*)
   מקבל ערך מכאן; כהה וצהוב רק מבחירה מפורשת. בלי invert ובלי filter על העמוד. */
:root {
  --pm-a11y-bg: var(--bg, #F5F1E8); --pm-a11y-surface: var(--surface, #FFFCF5); --pm-a11y-text: var(--text, #494036);
  --pm-a11y-heading: var(--pm-heading, #745A44); --pm-a11y-muted: var(--text-muted, #746553); --pm-a11y-accent: var(--iris, #785334);
  --pm-a11y-line: var(--border, #DED3C2); --pm-a11y-soft: var(--iris-soft, #EDE5D6); --pm-a11y-on-accent: var(--on-accent, #FFFCF5);
  --pm-a11y-focus: var(--focus, #385E62); --pm-a11y-control: var(--ctl-border, #968570);
  --pm-a11y-tool-height: 0px; --pm-a11y-host-bottom-padding: var(--tabbar-h, 0px);
  font-size: calc(100% * var(--fm-scale, 1));
}

/* ── מצבי הניגודיות: כל טוקן צבע של האתר ── */
html:root[data-pm-a11y-theme="light"] {
  --pm-a11y-bg: #fff; --pm-a11y-surface: #fff; --pm-a11y-text: #171717; --pm-a11y-heading: #302419;
  --pm-a11y-muted: #39312A; --pm-a11y-accent: #503219; --pm-a11y-line: #737373; --pm-a11y-soft: #F1EBE3;
  --pm-a11y-on-accent: #fff; --pm-a11y-focus: #00546A;
  --text-calm: #2B241D; --text-strong: #3A2412; --frame-strong: #3A2412;
  --iris-deep: #3A2412; --iris-pale: #C9B49A; --border-strong: #555; --line-calm: #8C8C8C; --grid-line: #E1D8C8;
  --aqua: #2F492B; --aqua-deep: #233820; --aqua-soft: #E3EADF; --aqua-text: #2F492B; --aqua-line: #8FA486; --aqua-ink: #9DBB93;
  --lilac: #E6E0F9; --lilac-deep: #3F3466;
  --ink: #221B15; --ink-2: #3D332A; --ink-3: #5C3F26; --ink-line: rgba(255, 253, 250, .3); --on-ink: #fff; --on-ink-muted: #E8E0D4;
  --ok: #1D5A40; --ok-soft: #EAF6EF; --ok-line: #2B7757; --no: #7A3358; --no-soft: #F7E9F0; --no-line: #9B4A72; --no-on-ink: #E3A9C6;
  --lv1: #F3EEE5; --lv1-ink: #3A2716; --lv2: #EDE5D6; --lv2-ink: #3A2716; --lv3: #E1D3BD; --lv3-ink: #2B1D10; --lv4: #C9B49A; --lv4-ink: #1E140A;
  --mark1: #5D3FD3; --mark2: #0B7C7C; --mark3: #2E7D5B; --mark4: #574A80; --mark5: #8A5A2B; --out-scope: #B71C1C;
  --fg-ink: #2C2A26; --fg-ink2: #4A3F2C; --fg-ink3: #6B5F48; --fg-mute: #8A7F6A; --fg-blue: #5A7A9B; --fg-red: #8B3A2E;
  --fg-wood: #8A6A4A; --fg-tan: #B08968; --fg-green: #3D5A2E; --fg-paper: #FDFBF7; --fg-sand: #EFE7D6; --fg-sand2: #EAE3D4;
  --fg-sand3: #EEE7D6; --fg-line: #D9CFC0; --fg-line2: #E5DDCC;
  --logo-bark: #785334; --logo-leaf: #4E6749; --logo-leaf-hi: #6A8462; --logo-figure: #221B15; --logo-apple: #7A1F2E;
  --logo-bulb: #C8901E; --logo-ground: #D2C7B5; --gold: #F0B429; --gold-deep: #B7791F; --on-gold: #2B1D06; --newty-outline: transparent;
  color-scheme: light;
}
@media not print {
  html:root[data-pm-a11y-theme="dark"] {
    --pm-a11y-bg: #171B20; --pm-a11y-surface: #20262D; --pm-a11y-text: #F3F5F7; --pm-a11y-heading: #F5E8D7;
    --pm-a11y-muted: #D1D7DE; --pm-a11y-accent: #FFE0B2; --pm-a11y-line: #86929D; --pm-a11y-soft: #303A45;
    --pm-a11y-on-accent: #24201B; --pm-a11y-focus: #8EDCFF;
    --text-calm: #E4E8EC; --text-strong: #fff; --frame-strong: #F5E8D7;
    --iris-deep: #FFEBCC; --iris-pale: #C9A77E; --border-strong: #86929D; --line-calm: #5A6670; --grid-line: #3A444E;
    --aqua: #B9D9AE; --aqua-deep: #CFE6C6; --aqua-soft: rgba(185, 217, 174, .16); --aqua-text: #B9D9AE;
    --aqua-line: rgba(185, 217, 174, .5); --aqua-ink: #B9D9AE; --lilac: rgba(230, 224, 249, .16); --lilac-deep: #CFC2FF;
    --ink: #0E1114; --ink-2: #20262D; --ink-3: #303A45; --ink-line: rgba(255, 255, 255, .25); --on-ink: #F3F5F7; --on-ink-muted: #D1D7DE;
    --ok: #7FDCAA; --ok-soft: rgba(127, 220, 170, .18); --ok-line: rgba(127, 220, 170, .5);
    --no: #F0A6CB; --no-soft: rgba(240, 166, 203, .18); --no-line: rgba(240, 166, 203, .5); --no-on-ink: #F0A6CB;
    --lv1: rgba(255, 224, 178, .10); --lv1-ink: #FBEDDA; --lv2: rgba(255, 224, 178, .20); --lv2-ink: #FBEDDA;
    --lv3: rgba(255, 224, 178, .30); --lv3-ink: #FFF6EA; --lv4: #FFE0B2; --lv4-ink: #24201B;
    --mark1: #B9A6F5; --mark2: #8EDAD7; --mark3: #6CC69A; --mark4: #E6E0F9; --mark5: #CDAE85; --out-scope: #FF8A80;
    color-scheme: dark;
  }
  html:root[data-pm-a11y-theme="yellow"] {
    --pm-a11y-bg: #111; --pm-a11y-surface: #111; --pm-a11y-text: #FFF3A3; --pm-a11y-heading: #FFF3A3;
    --pm-a11y-muted: #FFF3A3; --pm-a11y-accent: #FFF3A3; --pm-a11y-line: #FFF3A3; --pm-a11y-soft: #292711;
    --pm-a11y-on-accent: #111; --pm-a11y-focus: #fff;
    --text-calm: #FFF3A3; --text-strong: #FFF3A3; --frame-strong: #FFF3A3;
    --iris-deep: #FFF3A3; --iris-pale: #FFF3A3; --border-strong: #FFF3A3; --line-calm: #8C8452; --grid-line: #3A3720;
    --aqua: #FFF3A3; --aqua-deep: #FFF3A3; --aqua-soft: #292711; --aqua-text: #FFF3A3; --aqua-line: #FFF3A3; --aqua-ink: #FFF3A3;
    --lilac: #292711; --lilac-deep: #FFF3A3;
    --ink: #000; --ink-2: #111; --ink-3: #292711; --ink-line: #FFF3A3; --on-ink: #FFF3A3; --on-ink-muted: #FFF3A3;
    --ok: #FFF3A3; --ok-soft: #292711; --ok-line: #FFF3A3; --no: #FFF3A3; --no-soft: #292711; --no-line: #FFF3A3; --no-on-ink: #FFF3A3;
    --lv1: #292711; --lv1-ink: #FFF3A3; --lv2: #292711; --lv2-ink: #FFF3A3; --lv3: #292711; --lv3-ink: #FFF3A3;
    --lv4: #FFF3A3; --lv4-ink: #111;
    --mark1: #B9A6F5; --mark2: #8EDAD7; --mark3: #6CC69A; --mark4: #E6E0F9; --mark5: #CDAE85; --out-scope: #FFF3A3;
    color-scheme: dark;
  }
  /* כהה וצהוב: השרטוטים והלוגו בגוונים של מצב הדיו, בהירים על רקע כהה */
  html:root:is([data-pm-a11y-theme="dark"], [data-pm-a11y-theme="yellow"]) {
    --fg-ink: #F5EFE5; --fg-ink2: #E4D9C9; --fg-ink3: #C7BBAA; --fg-mute: #A99C88; --fg-blue: #9DB8D3; --fg-red: #E3998B;
    --fg-wood: #C9A27E; --fg-tan: #D2B492; --fg-green: #AEC7A4; --fg-paper: #302820; --fg-sand: #3D342A; --fg-sand2: #463C31;
    --fg-sand3: #3D342A; --fg-line: #5E5347; --fg-line2: #4F453A;
    --logo-bark: #C49A6C; --logo-leaf: #9DBB93; --logo-leaf-hi: #B9D2AF; --logo-figure: #F5F1E8; --logo-apple: #D2606F;
    --logo-bulb: #E3AE3E; --logo-ground: rgba(255, 255, 255, .25); --gold: #E5A93B; --gold-deep: #8F6420; --on-gold: #1E150A;
    --newty-outline: #B9A6F5;
    --shadow: 0 1px 2px rgba(0, 0, 0, .25), 0 6px 20px rgba(0, 0, 0, .3);
    --shadow-lift: 0 4px 10px rgba(0, 0, 0, .35), 0 16px 38px rgba(0, 0, 0, .4);
  }
}
/* הדפסה היא תמיד נייר, גם בכהה ובצהוב */
@media print {
  html:root:is([data-pm-a11y-theme="dark"], [data-pm-a11y-theme="yellow"]) {
    --pm-a11y-bg: #fff; --pm-a11y-surface: #fff; --pm-a11y-text: #171717; --pm-a11y-heading: #302419;
    --pm-a11y-muted: #39312A; --pm-a11y-accent: #503219; --pm-a11y-line: #737373; --pm-a11y-soft: #F1EBE3;
    --pm-a11y-on-accent: #fff; --pm-a11y-focus: #00546A;
  }
}
/* הטוקנים של האתר ושל עמודי העיצוב (practice-page.css, ‏bridge.css) מקבלים את ערכי המצב */
html:root[data-pm-a11y-theme]:not([data-pm-a11y-theme="default"]) {
  --bg: var(--pm-a11y-bg); --paper: var(--pm-a11y-bg); --surface: var(--pm-a11y-surface); --text: var(--pm-a11y-text);
  --heading: var(--pm-a11y-heading); --text-heading: var(--pm-a11y-heading); --pm-heading: var(--pm-a11y-heading);
  --muted: var(--pm-a11y-muted); --text-muted: var(--pm-a11y-muted); --accent: var(--pm-a11y-accent); --iris: var(--pm-a11y-accent);
  --iris-soft: var(--pm-a11y-soft); --soft: var(--pm-a11y-soft); --line: var(--pm-a11y-line); --border: var(--pm-a11y-line);
  --on-accent: var(--pm-a11y-on-accent); --focus: var(--pm-a11y-focus);
  --pm-a11y-control: var(--pm-a11y-line); --ctl-border: var(--pm-a11y-line);
  --explain-bg: var(--pm-a11y-soft); --explain-line: var(--pm-a11y-line); --explain-text: var(--pm-a11y-text);
}
html:root[data-pm-a11y-theme]:not([data-pm-a11y-theme="default"]) .pm-page {
  --pm-bg: var(--pm-a11y-bg); --pm-surface: var(--pm-a11y-surface); --pm-text: var(--pm-a11y-text); --pm-heading: var(--pm-a11y-heading);
  --pm-muted: var(--pm-a11y-muted); --pm-accent: var(--pm-a11y-accent); --pm-hover: var(--iris-deep); --pm-on-accent: var(--pm-a11y-on-accent);
  --pm-line: var(--pm-a11y-line); --pm-strong-line: var(--pm-a11y-line); --pm-soft: var(--pm-a11y-soft); --pm-softest: var(--pm-a11y-soft);
  --pm-row-hover: var(--pm-a11y-soft); --pm-mark: var(--pm-a11y-accent); --pm-mark-bg: var(--pm-a11y-soft); --pm-exam: var(--pm-a11y-soft);
  --pm-exam-line: var(--pm-a11y-line); --pm-ink: var(--ink); --pm-on-ink: var(--on-ink); --pm-focus: var(--pm-a11y-focus);
}
/* כותרת עמוד הנושא בגוון קבוע (practice-page.css) */
html:root[data-pm-a11y-theme]:not([data-pm-a11y-theme="default"]) #hub-title { color: var(--pm-a11y-heading); }

/* ── החלונית ── */
.pm-a11y-panel, .pm-a11y-panel *, .pm-a11y-tools, .pm-a11y-tools * { box-sizing: border-box; }
.pm-a11y-panel { position: fixed; inset: 0 auto 0 0; margin: 0; width: min(420px, 100%); max-width: 100%; height: 100dvh; max-height: 100dvh; border: 0; border-right: 1px solid var(--pm-a11y-line); border-radius: 0; padding: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; background: var(--pm-a11y-surface); color: var(--pm-a11y-text); font-family: inherit; font-size: 1rem; line-height: 1.55; box-shadow: 15px 0 60px #382B2014; direction: rtl; }
.pm-a11y-panel::backdrop { background: #28221B38; }
.pm-a11y-panel button, .pm-a11y-panel select, .pm-a11y-tools button { font: inherit; color: inherit; min-height: 44px; cursor: pointer; touch-action: manipulation; }
.pm-a11y-panel button { border: 1px solid var(--pm-a11y-line); border-radius: 10px; padding: 9px 14px; background: var(--pm-a11y-surface); white-space: normal; }
.pm-a11y-panel button:hover, .pm-a11y-panel summary:hover { background: var(--pm-a11y-soft); }
.pm-a11y-panel [aria-disabled="true"], .pm-a11y-panel button:disabled { opacity: .45; cursor: default; }
.pm-a11y-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 24px 12px; }
.pm-a11y-head h2 { font-size: 1.5rem; color: var(--pm-a11y-heading); font-weight: 650; margin: 0; line-height: 1.4; }
.pm-a11y-panel .pm-a11y-close { width: 44px; height: 44px; min-width: 44px; display: grid; place-items: center; padding: 0; border: 0; background: var(--pm-a11y-soft); border-radius: 50%; }
.pm-a11y-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.pm-a11y-body { padding: 6px 24px 24px; }
.pm-a11y-label { font-weight: 600; font-size: 1rem; display: block; margin: 0 0 10px; }
.pm-a11y-size { display: grid; grid-template-columns: 1fr 1.3fr 1fr; border: 1px solid var(--pm-a11y-line); border-radius: 12px; overflow: hidden; direction: ltr; margin-bottom: 20px; }
.pm-a11y-size button { font-size: 1.3rem; border: 0; border-radius: 0; background: var(--pm-a11y-soft); padding: 8px; min-width: 44px; }
.pm-a11y-size output { display: grid; place-items: center; font-size: 1.05rem; font-weight: 650; white-space: nowrap; }
.pm-a11y-panel select { display: block; max-width: 100%; width: 100%; background: var(--pm-a11y-surface); border: 1px solid var(--pm-a11y-line); border-radius: 10px; padding: 10px 8px; min-width: 0; }
.pm-a11y-group { border-top: 1px solid var(--pm-a11y-line); margin-top: 16px; }
.pm-a11y-group summary { display: flex; align-items: center; gap: 10px; list-style: none; cursor: pointer; min-height: 60px; padding: 14px 0; font-size: 1rem; font-weight: 600; color: var(--pm-a11y-heading); }
.pm-a11y-group summary::-webkit-details-marker { display: none; }
.pm-a11y-group summary::after { content: '+'; margin-inline-start: auto; font-weight: 400; font-size: 1.3rem; line-height: 1; flex: none; }
.pm-a11y-group[open] summary::after { content: '−'; }
.pm-a11y-group summary svg { width: 21px; height: 21px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pm-a11y-group-content { padding: 0 0 10px; }
.pm-a11y-field { margin: 12px 0 18px; }
.pm-a11y-toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; min-height: 54px; padding: 10px 0; font-size: 1rem; }
.pm-a11y-toggle input { appearance: none; position: relative; width: 44px; min-width: 44px; height: 26px; margin: 0; border: 1px solid var(--pm-a11y-control); border-radius: 20px; background: var(--pm-a11y-soft); cursor: pointer; }
.pm-a11y-toggle input::before { content: ''; position: absolute; width: 18px; height: 18px; top: 3px; right: 3px; background: var(--pm-a11y-muted); border-radius: 50%; }
.pm-a11y-toggle input:checked { background: var(--pm-a11y-accent); border-color: var(--pm-a11y-accent); }
.pm-a11y-toggle input:checked::before { right: 21px; background: var(--pm-a11y-on-accent); }
.pm-a11y-note { font-size: .875rem; line-height: 1.6; color: var(--pm-a11y-muted); margin: 8px 0; }
.pm-a11y-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.pm-a11y-actions button { flex: 1 1 auto; }
.pm-a11y-panel .pm-a11y-main-action { background: var(--pm-a11y-accent); color: var(--pm-a11y-on-accent); border-color: var(--pm-a11y-accent); }
.pm-a11y-footer { border-top: 1px solid var(--pm-a11y-line); padding-top: 20px; margin-top: 16px; text-align: center; }
.pm-a11y-footer button { width: 100%; margin-bottom: 8px; }
.pm-a11y-footer a { color: var(--pm-a11y-muted); text-decoration: underline; text-underline-offset: 4px; display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; }
.pm-a11y-panel :is(button, a, input, select, summary):focus-visible, .pm-a11y-tools button:focus-visible { outline: 3px solid var(--pm-a11y-focus); outline-offset: 3px; }
.pm-a11y-sr { position: absolute !important; clip-path: inset(50%) !important; width: 1px !important; height: 1px !important; overflow: hidden !important; white-space: nowrap !important; }
body:has(.pm-a11y-panel[open]) { overflow: hidden; }
.pm-a11y-panel [hidden], .pm-a11y-tools[hidden], .pm-a11y-guide[hidden] { display: none !important; }
.pm-a11y-panel :is(button, select), .pm-a11y-size { border-color: var(--pm-a11y-control); }
@media (max-width: 360px) { .pm-a11y-head { padding: 20px 16px 12px; } .pm-a11y-body { padding-inline: 16px; } }

/* ── קריאה נוחה: האזורים שמסומנים data-pm-reading (הכותרת, main והתחתית, build_nav)
   והחלונית. רכיב שקובע גופן, גובה שורה או ריווח משלו מקבל אותם גם הוא (*).
   נוסחה (.mrun של Formulas.expand, השברים של הנוסחאון, ‏data-pm-math), KaTeX, קוד והשרטוטים מוחרגים. ── */
html.pm-a11y-font :is([data-pm-reading], .pm-a11y-panel),
html.pm-a11y-font :is([data-pm-reading], .pm-a11y-panel) :not(svg, svg *, .mrun, .mrun *, .msym, [data-pm-math], [data-pm-math] *, .katex, .katex *, code, pre) { font-family: Arial, "Segoe UI", sans-serif !important; }
html.pm-a11y-bold :is([data-pm-reading], .pm-a11y-panel) { font-weight: 650; }
html[data-pm-a11y-line="relaxed"] :is([data-pm-reading], .pm-a11y-panel),
html[data-pm-a11y-line="relaxed"] :is([data-pm-reading], .pm-a11y-panel) :not(svg *) { line-height: 1.8 !important; }
html[data-pm-a11y-line="spacious"] :is([data-pm-reading], .pm-a11y-panel),
html[data-pm-a11y-line="spacious"] :is([data-pm-reading], .pm-a11y-panel) :not(svg *) { line-height: 2 !important; }
html.pm-a11y-spacing :is([data-pm-reading], .pm-a11y-panel),
html.pm-a11y-spacing :is([data-pm-reading], .pm-a11y-panel) :not(svg *) { letter-spacing: .12em !important; word-spacing: .16em !important; }
html.pm-a11y-spacing [data-pm-reading] p { margin-block-end: 2em; }
html :is([data-pm-math], .mrun, .msym, .fml-frac, .fml-vec, math, mjx-container, .katex, code, pre),
html.pm-a11y-spacing :is([data-pm-reading], .pm-a11y-panel) :is([data-pm-math], .mrun, .msym, .fml-frac, .fml-vec, math, mjx-container, .katex, code, pre),
html.pm-a11y-spacing :is([data-pm-reading], .pm-a11y-panel) :is([data-pm-math], .mrun, .msym, .fml-frac, .fml-vec, math, mjx-container, .katex, code, pre) * { letter-spacing: normal !important; word-spacing: normal !important; }
html.pm-a11y-font :is([data-pm-math], math, mjx-container) { font-family: "Cambria Math", Cambria, serif !important; }

/* ── הדגשה וניווט ── */
html.pm-a11y-links a[href] { text-decoration: underline !important; text-underline-offset: .22em; text-decoration-thickness: 2px; }
html.pm-a11y-headings :is(h1, h2, h3, h4, h5, h6) { outline: 2px solid var(--pm-a11y-accent); outline-offset: 4px; border-radius: 2px; }
html.pm-a11y-focus :focus-visible { outline: 4px solid var(--pm-a11y-focus) !important; outline-offset: 4px !important; }
@media (pointer: fine) {
  html.pm-a11y-cursor, html.pm-a11y-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='48' viewBox='0 0 40 48'%3E%3Cpath d='M3 2L3 37L12 28L20 44L27 40L19 25L34 25Z' fill='white' stroke='black' stroke-width='3'/%3E%3C/svg%3E") 3 2, auto !important; }
}

/* ── ריכוז בקריאה: איור שסומן data-pm-decorative בלבד (לא שרטוט, נוסחה או ניוטי);
   visibility, כדי שהפריסה לא תקפוץ. צמצום תנועה: גם ב-JS (FMA11yState.reduceMotion). ── */
html.pm-a11y-decorations [data-pm-decorative] { visibility: hidden !important; }
html.pm-a11y-motion *, html.pm-a11y-motion *::before, html.pm-a11y-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ── עזר הקריאה: הקו או החלונית, והבקר בתחתית מעל הסרגל התחתון ── */
.pm-a11y-guide { position: fixed; left: 0; right: 0; top: var(--pm-guide-y, 45vh); height: 3px; background: var(--pm-a11y-focus); z-index: 2147483000; pointer-events: none; }
.pm-a11y-guide[data-mode="window"] { height: 96px; background: transparent; border-block: 2px solid var(--pm-a11y-focus); box-shadow: 0 0 0 100vmax #0005; }
.pm-a11y-tools { position: fixed; bottom: calc(12px + max(var(--tabbar-h, 0px), env(safe-area-inset-bottom))); left: 12px; right: 12px; max-width: 410px; z-index: 2147483001; display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; padding: 8px; background: var(--pm-a11y-surface); color: var(--pm-a11y-text); border: 1px solid var(--pm-a11y-line); border-radius: 14px; box-shadow: 0 3px 25px #0002; font-size: 1rem; }
.pm-a11y-tools button { min-width: 44px; border: 1px solid var(--pm-a11y-line); border-radius: 9px; background: var(--pm-a11y-soft); padding: 4px 10px; }
.pm-a11y-tools span { font-size: .875rem; padding-inline: 6px; }
body.pm-a11y-reading-tool { padding-bottom: calc(var(--pm-a11y-tool-height) + var(--pm-a11y-host-bottom-padding, 0px)) !important; }
/* שורת הפעולה בתרגיל עולה מעל הבקר, ולא מתחתיו */
body.pm-a11y-reading-tool .ex-actbar { bottom: var(--pm-a11y-tool-height) !important; }

@media (forced-colors: active) {
  .pm-a11y-toggle input { appearance: auto; }
  .pm-a11y-toggle input::before { display: none; }
  .pm-a11y-panel button { border: 1px solid ButtonText; }
  .pm-a11y-guide { border: 2px solid Highlight; background: transparent; }
  .pm-a11y-guide[data-mode="window"] { box-shadow: none; }
}
