/* "שאלה לדוגמה לפי כיתה": the picture of a question, drawn by gq.js from a spec
   (series, pairs, matrices) or an image from the media library. Loaded by the
   new home page only, every rule under body.v2 .gq. Bridge afb72106, 11.11.2026. */
body.v2 .gq .gq-fig{margin:0 0 18px;padding:12px;background:var(--paper2,#f6f1e6);border:1px solid var(--rule,#d9d6cc);border-radius:8px;max-width:100%;overflow:hidden}
body.v2 .gq .gq-img{padding:8px;text-align:center}
body.v2 .gq .gq-img img{display:block;max-width:100%;height:auto;max-height:520px;margin:0 auto;border-radius:4px}
body.v2 .gq .gq-mx{display:grid;gap:8px;align-items:center;margin:0 auto;width:100%}
body.v2 .gq .gq-mx.grid{gap:0;border:2px solid #1a1a1a;background:#fff}
body.v2 .gq .gq-mx.grid .gq-c{border:0;border-radius:0;outline:1px solid #1a1a1a}
body.v2 .gq .gq-c{display:flex;align-items:center;justify-content:center;min-width:0;background:#fff;border:1.5px solid #1a1a1a;border-radius:4px;overflow:hidden}
body.v2 .gq .gq-c.bare{border-color:transparent;background:transparent}
body.v2 .gq .gq-c svg{display:block;width:100%;height:100%;overflow:visible}
body.v2 .gq .gq-c svg text{font-family:inherit}
body.v2 .gq .gq-c.ask{font-size:clamp(22px,4.4vw,34px);font-weight:800;color:var(--ink2,#0a1b3a);background:#fff}
body.v2 .gq .gq-sep{font-size:clamp(18px,3.6vw,26px);font-weight:800;color:var(--ink2,#0a1b3a);text-align:center;padding:0 1px;line-height:1}
/* drawn answers: a row of picture buttons, the letter in the corner */
body.v2 .gq .gq-ans.pics{gap:8px;margin-inline:auto;width:100%}
body.v2 .gq .gq-ans.pics button{position:relative;flex-direction:column;justify-content:center;gap:4px;min-height:0;padding:22px 6px 6px;text-align:center}
body.v2 .gq .gq-ans.pics button .l{position:absolute;top:3px;inset-inline-start:4px;flex:none;width:20px;height:20px;font-size:12px;border-width:1px}
body.v2 .gq .gq-ans.pics .gq-c{width:100%;border:0;background:transparent;pointer-events:none}
body.v2 .gq .gq-ans.pics button[aria-pressed="true"]{border-color:var(--ink2,#0a1b3a);border-width:2px}
body.v2 .gq .gq-ans.pics button.ok{background:#e3f4ea;border-color:#146c3c}
body.v2 .gq .gq-ans.pics button.bad{background:#fde4e1;border-color:#c0261c}
body.v2 .gq .gq-ans.pics button.ok .gq-c,body.v2 .gq .gq-ans.pics button.bad .gq-c{background:#fff;border-radius:4px}
@media (max-width:620px){
  body.v2 .gq .gq-fig{padding:8px}
  body.v2 .gq .gq-mx{gap:5px}
  body.v2 .gq .gq-ans.pics{gap:6px}
  body.v2 .gq .gq-ans.pics button{padding:20px 3px 4px}
}
@media (forced-colors:active){
  body.v2 .gq .gq-c,body.v2 .gq .gq-mx.grid{border-color:CanvasText}
}
