:root {
  --plum: #583665;
  --plum-deep: #341A4F;
  --mauve: #86698C;
  --lilac: #BFA7CF;
  --lilac-soft: #ECE5F1;
  --blush: #EDB9C4;
  --blush-soft: #FBEEF0;
  --pearl: #FCF9F9;
  --white: #FFFFFF;
  --line: #ECE3EE;
  --ink: #341A4F;
  --ink-soft: #86698C;
  --reading: #583665;
  --math: #BFA7CF;
  --science: #D69BAC;
  /* لوحة الألوان المعتمدة: #341A4F #583665 #86698C #BFA7CF #D69BAC #EDB9C4 #E9C1B1 #DCC2B9 مع الأبيض */
  --rose: #D69BAC;
  --rose-soft: #F7E6EB;
  --raspberry: #D69BAC;
  --berry: #583665;
  --dusty: #D69BAC;
  --wine: #86698C;
  --orchid: #EDB9C4;
  /* درجات بنفسجية للتقرير */
  --amethyst: #86698C;
  --violet-soft: #DFD3E7;
  /* لحمي فاتح وبيج وردي */
  --peach: #E9C1B1;
  --peach-soft: #F8EDE8;
  --beige-rose: #DCC2B9;
  /* نخلة وسيفان داخل إكليل غار مع شريط السدو: علامة مائية في منتصف التقارير */
  --deco-nakhla: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 200 208%22 width=%22400%22 height=%22416%22%3E%3Ccircle cx=%22100%22 cy=%22104%22 r=%2292%22 fill=%22none%22 stroke=%22%23BFA7CF%22 stroke-width=%222%22/%3E%3Ccircle cx=%22100%22 cy=%22104%22 r=%2286%22 fill=%22none%22 stroke=%22%2386698C%22 stroke-width=%221%22 stroke-dasharray=%222 5%22/%3E%3Cellipse cx=%22128.5%22 cy=%22174.5%22 rx=%224.6%22 ry=%2211.0%22 transform=%22rotate(96.0 128.5 174.5)%22 fill=%22%2386698C%22/%3E%3Cellipse cx=%22141.1%22 cy=%22167.9%22 rx=%224.5%22 ry=%2210.6%22 transform=%22rotate(85.3 141.1 167.9)%22 fill=%22%2386698C%22/%3E%3Cellipse cx=%22152.3%22 cy=%22159.2%22 rx=%224.3%22 ry=%2210.2%22 transform=%22rotate(74.5 152.3 159.2)%22 fill=%22%2386698C%22/%3E%3Cellipse cx=%22161.6%22 cy=%22148.5%22 rx=%224.1%22 ry=%229.8%22 transform=%22rotate(63.8 161.6 148.5)%22 fill=%22%2386698C%22/%3E%3Cellipse cx=%22168.8%22 cy=%22136.2%22 rx=%224.0%22 ry=%229.5%22 transform=%22rotate(53.1 168.8 136.2)%22 fill=%22%2386698C%22/%3E%3Cellipse cx=%22173.6%22 cy=%22122.9%22 rx=%223.8%22 ry=%229.1%22 transform=%22rotate(42.4 173.6 122.9)%22 fill=%22%2386698C%22/%3E%3Cellipse cx=%22175.8%22 cy=%22108.8%22 rx=%223.6%22 ry=%228.7%22 transform=%22rotate(31.6 175.8 108.8)%22 fill=%22%2386698C%22/%3E%3Cellipse cx=%22175.4%22 cy=%2294.6%22 rx=%223.5%22 ry=%228.3%22 transform=%22rotate(20.9 175.4 94.6)%22 fill=%22%2386698C%22/%3E%3Cellipse cx=%22172.4%22 cy=%2280.7%22 rx=%223.3%22 ry=%227.9%22 transform=%22rotate(10.2 172.4 80.7)%22 fill=%22%2386698C%22/%3E%3Cellipse cx=%22166.8%22 cy=%2267.7%22 rx=%223.2%22 ry=%227.5%22 transform=%22rotate(-0.5 166.8 67.7)%22 fill=%22%2386698C%22/%3E%3Cellipse cx=%22158.8%22 cy=%2255.9%22 rx=%223.0%22 ry=%227.1%22 transform=%22rotate(-11.3 158.8 55.9)%22 fill=%22%2386698C%22/%3E%3Cpath d=%22M123.5 176.3 A76 76 0 0 0 148.9 45.8%22 fill=%22none%22 stroke=%22%2386698C%22 stroke-width=%222.4%22 stroke-linecap=%22round%22/%3E%3Cellipse cx=%2271.5%22 cy=%22174.5%22 rx=%224.6%22 ry=%2211.0%22 transform=%22rotate(84.0 71.5 174.5)%22 fill=%22%2386698C%22/%3E%3Cellipse cx=%2258.9%22 cy=%22167.9%22 rx=%224.5%22 ry=%2210.6%22 transform=%22rotate(94.7 58.9 167.9)%22 fill=%22%2386698C%22/%3E%3Cellipse cx=%2247.7%22 cy=%22159.2%22 rx=%224.3%22 ry=%2210.2%22 transform=%22rotate(105.5 47.7 159.2)%22 fill=%22%2386698C%22/%3E%3Cellipse cx=%2238.4%22 cy=%22148.5%22 rx=%224.1%22 ry=%229.8%22 transform=%22rotate(116.2 38.4 148.5)%22 fill=%22%2386698C%22/%3E%3Cellipse cx=%2231.2%22 cy=%22136.2%22 rx=%224.0%22 ry=%229.5%22 transform=%22rotate(126.9 31.2 136.2)%22 fill=%22%2386698C%22/%3E%3Cellipse cx=%2226.4%22 cy=%22122.9%22 rx=%223.8%22 ry=%229.1%22 transform=%22rotate(137.6 26.4 122.9)%22 fill=%22%2386698C%22/%3E%3Cellipse cx=%2224.2%22 cy=%22108.8%22 rx=%223.6%22 ry=%228.7%22 transform=%22rotate(148.4 24.2 108.8)%22 fill=%22%2386698C%22/%3E%3Cellipse cx=%2224.6%22 cy=%2294.6%22 rx=%223.5%22 ry=%228.3%22 transform=%22rotate(159.1 24.6 94.6)%22 fill=%22%2386698C%22/%3E%3Cellipse cx=%2227.6%22 cy=%2280.7%22 rx=%223.3%22 ry=%227.9%22 transform=%22rotate(169.8 27.6 80.7)%22 fill=%22%2386698C%22/%3E%3Cellipse cx=%2233.2%22 cy=%2267.7%22 rx=%223.2%22 ry=%227.5%22 transform=%22rotate(180.5 33.2 67.7)%22 fill=%22%2386698C%22/%3E%3Cellipse cx=%2241.2%22 cy=%2255.9%22 rx=%223.0%22 ry=%227.1%22 transform=%22rotate(191.3 41.2 55.9)%22 fill=%22%2386698C%22/%3E%3Cpath d=%22M76.5 176.3 A76 76 0 0 1 51.1 45.8%22 fill=%22none%22 stroke=%22%2386698C%22 stroke-width=%222.4%22 stroke-linecap=%22round%22/%3E%3Cg transform=%22translate(100 106) scale(.94) translate(-100 -112)%22%3E%3Cpath d=%22M136.0 145.0 Q92.0 156.0 36.0 104.0 Q86.0 143.0 131.0 139.0 Z%22 fill=%22%23BFA7CF%22 stroke=%22%2386698C%22 stroke-width=%221.2%22 stroke-linejoin=%22round%22/%3E%3Cpath d=%22M129.0 147.5 L139.0 137.5%22 stroke=%22%23583665%22 stroke-width=%223.4%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M136.0 145.0 L145.0 155.0%22 stroke=%22%23341A4F%22 stroke-width=%224.2%22 stroke-linecap=%22round%22/%3E%3Ccircle cx=%22146.5%22 cy=%22156.5%22 r=%222.8%22 fill=%22%23D69BAC%22/%3E%3Cpath d=%22M64.0 145.0 Q108.0 156.0 164.0 104.0 Q114.0 143.0 69.0 139.0 Z%22 fill=%22%23BFA7CF%22 stroke=%22%2386698C%22 stroke-width=%221.2%22 stroke-linejoin=%22round%22/%3E%3Cpath d=%22M61.0 137.5 L71.0 147.5%22 stroke=%22%23583665%22 stroke-width=%223.4%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M64.0 145.0 L55.0 155.0%22 stroke=%22%23341A4F%22 stroke-width=%224.2%22 stroke-linecap=%22round%22/%3E%3Ccircle cx=%2253.5%22 cy=%22156.5%22 r=%222.8%22 fill=%22%23D69BAC%22/%3E%3Cpath d=%22M92.5 128.0 Q100 131.2 107.5 128.0 L107.1 122.4 Q100 125.4 92.9 122.4 Z%22 fill=%22%23583665%22/%3E%3Cpath d=%22M92.8 121.8 Q100 125.0 107.2 121.8 L106.8 116.2 Q100 119.2 93.2 116.2 Z%22 fill=%22%2386698C%22/%3E%3Cpath d=%22M93.2 115.6 Q100 118.8 106.8 115.6 L106.4 110.0 Q100 113.0 93.6 110.0 Z%22 fill=%22%23583665%22/%3E%3Cpath d=%22M93.5 109.4 Q100 112.6 106.5 109.4 L106.0 103.8 Q100 106.8 94.0 103.8 Z%22 fill=%22%2386698C%22/%3E%3Cpath d=%22M93.9 103.2 Q100 106.4 106.1 103.2 L105.7 97.6 Q100 100.6 94.3 97.6 Z%22 fill=%22%23583665%22/%3E%3Cpath d=%22M94.2 97.0 Q100 100.2 105.8 97.0 L105.3 91.4 Q100 94.4 94.7 91.4 Z%22 fill=%22%2386698C%22/%3E%3Cpath d=%22M94.6 90.8 Q100 94.0 105.4 90.8 L105.0 85.2 Q100 88.2 95.0 85.2 Z%22 fill=%22%23583665%22/%3E%3Cpath d=%22M95.0 84.6 Q100 87.8 105.0 84.6 L104.6 79.0 Q100 82.0 95.4 79.0 Z%22 fill=%22%2386698C%22/%3E%3Cpath d=%22M95.3 78.4 Q100 81.6 104.7 78.4 L104.3 72.8 Q100 75.8 95.7 72.8 Z%22 fill=%22%23583665%22/%3E%3Cpath d=%22M95.7 72.2 Q100 75.4 104.3 72.2 L103.9 66.6 Q100 69.6 96.1 66.6 Z%22 fill=%22%2386698C%22/%3E%3Cpath d=%22M100.0 68.0 L95.8 67.9 L91.7 68.1 L87.5 68.8 L83.4 69.7 L79.2 71.1 L75.1 72.8 L70.9 74.8 L66.7 77.2 L62.6 80.0 L58.4 83.1 L54.3 86.7 L50.1 90.5%22 fill=%22none%22 stroke=%22%23583665%22 stroke-width=%222.6%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M91.7 68.1 L88.1 76.3%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M91.7 68.1 L86.8 63.3%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M87.5 68.8 L84.8 76.6%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M87.5 68.8 L82.6 64.8%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M83.4 69.7 L81.4 77.1%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M83.4 69.7 L78.5 66.6%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M79.2 71.1 L77.9 78.0%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M79.2 71.1 L74.5 68.7%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M75.1 72.8 L74.3 79.1%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M75.1 72.8 L70.7 71.1%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M70.9 74.8 L70.5 80.6%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M70.9 74.8 L66.9 73.8%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M66.7 77.2 L66.7 82.3%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M66.7 77.2 L63.2 76.8%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M62.6 80.0 L62.7 84.5%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M62.6 80.0 L59.6 80.0%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M58.4 83.1 L58.7 86.9%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M58.4 83.1 L56.0 83.5%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M54.3 86.7 L54.6 89.8%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M54.3 86.7 L52.4 87.3%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M100.0 68.0 L96.4 66.0 L92.8 64.3 L89.2 62.8 L85.6 61.4 L82.0 60.4 L78.3 59.5 L74.7 58.9 L71.1 58.4 L67.5 58.2 L63.9 58.3 L60.3 58.5 L56.7 59.0%22 fill=%22none%22 stroke=%22%2386698C%22 stroke-width=%222.6%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M92.8 64.3 L86.2 69.7%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M92.8 64.3 L91.6 57.8%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M89.2 62.8 L83.4 68.1%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M89.2 62.8 L87.8 56.9%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M85.6 61.4 L80.5 66.7%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M85.6 61.4 L83.9 56.3%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M82.0 60.4 L77.6 65.5%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M82.0 60.4 L80.2 56.0%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M78.3 59.5 L74.7 64.4%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M78.3 59.5 L76.5 55.8%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M74.7 58.9 L71.7 63.5%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M74.7 58.9 L72.8 55.9%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M71.1 58.4 L68.7 62.7%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M71.1 58.4 L69.3 56.2%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M67.5 58.2 L65.7 62.1%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M67.5 58.2 L65.8 56.7%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M63.9 58.3 L62.6 61.7%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M63.9 58.3 L62.4 57.3%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M60.3 58.5 L59.4 61.5%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M60.3 58.5 L59.1 58.2%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M100.0 68.0 L97.9 65.0 L95.9 62.1 L93.8 59.4 L91.8 56.7 L89.7 54.2 L87.7 51.8 L85.6 49.4 L83.6 47.2 L81.5 45.1 L79.5 43.2 L77.4 41.3 L75.4 39.5%22 fill=%22none%22 stroke=%22%23583665%22 stroke-width=%222.6%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M95.9 62.1 L88.1 63.8%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M95.9 62.1 L98.7 56.1%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M93.8 59.4 L86.7 61.1%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M93.8 59.4 L96.3 53.9%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M91.8 56.7 L85.3 58.5%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M91.8 56.7 L93.9 51.8%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M89.7 54.2 L83.9 56.1%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M89.7 54.2 L91.5 49.8%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M87.7 51.8 L82.5 53.7%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M87.7 51.8 L89.2 48.0%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M85.6 49.4 L81.2 51.4%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M85.6 49.4 L86.8 46.2%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M83.6 47.2 L79.8 49.2%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M83.6 47.2 L84.5 44.6%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M81.5 45.1 L78.4 47.0%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M81.5 45.1 L82.2 43.2%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M79.5 43.2 L77.0 45.0%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M79.5 43.2 L80.0 41.8%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M77.4 41.3 L75.6 43.0%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M77.4 41.3 L77.7 40.6%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M100.0 68.0 L99.5 65.1 L99.0 62.2 L98.4 59.3 L97.9 56.5 L97.4 53.7 L96.9 51.0 L96.4 48.3 L95.8 45.7 L95.3 43.1 L94.8 40.5 L94.3 38.0 L93.7 35.5%22 fill=%22none%22 stroke=%22%2386698C%22 stroke-width=%222.6%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M99.0 62.2 L91.7 60.4%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M99.0 62.2 L104.7 58.0%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M98.4 59.3 L91.8 57.8%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M98.4 59.3 L103.6 55.6%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M97.9 56.5 L91.9 55.2%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M97.9 56.5 L102.6 53.2%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M97.4 53.7 L92.0 52.7%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M97.4 53.7 L101.6 50.9%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M96.9 51.0 L92.0 50.3%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M96.9 51.0 L100.6 48.6%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M96.4 48.3 L92.1 47.8%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M96.4 48.3 L99.6 46.4%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M95.8 45.7 L92.2 45.5%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M95.8 45.7 L98.6 44.2%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M95.3 43.1 L92.3 43.1%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M95.3 43.1 L97.6 42.0%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M94.8 40.5 L92.4 40.8%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M94.8 40.5 L96.6 39.9%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M94.3 38.0 L92.4 38.5%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M94.3 38.0 L95.7 37.8%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M100.0 68.0 L100.5 65.1 L101.0 62.2 L101.6 59.3 L102.1 56.5 L102.6 53.7 L103.1 51.0 L103.6 48.3 L104.2 45.7 L104.7 43.1 L105.2 40.5 L105.7 38.0 L106.3 35.5%22 fill=%22none%22 stroke=%22%23583665%22 stroke-width=%222.6%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M101.0 62.2 L95.3 58.0%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M101.0 62.2 L108.3 60.4%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M101.6 59.3 L96.4 55.6%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M101.6 59.3 L108.2 57.8%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M102.1 56.5 L97.4 53.2%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M102.1 56.5 L108.1 55.2%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M102.6 53.7 L98.4 50.9%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M102.6 53.7 L108.0 52.7%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M103.1 51.0 L99.4 48.6%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M103.1 51.0 L108.0 50.3%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M103.6 48.3 L100.4 46.4%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M103.6 48.3 L107.9 47.8%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M104.2 45.7 L101.4 44.2%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M104.2 45.7 L107.8 45.5%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M104.7 43.1 L102.4 42.0%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M104.7 43.1 L107.7 43.1%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M105.2 40.5 L103.4 39.9%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M105.2 40.5 L107.6 40.8%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M105.7 38.0 L104.3 37.8%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M105.7 38.0 L107.6 38.5%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M100.0 68.0 L102.1 65.0 L104.1 62.1 L106.2 59.4 L108.2 56.7 L110.3 54.2 L112.3 51.8 L114.4 49.4 L116.4 47.2 L118.5 45.1 L120.5 43.2 L122.6 41.3 L124.6 39.5%22 fill=%22none%22 stroke=%22%2386698C%22 stroke-width=%222.6%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M104.1 62.1 L101.3 56.1%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M104.1 62.1 L111.9 63.8%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M106.2 59.4 L103.7 53.9%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M106.2 59.4 L113.3 61.1%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M108.2 56.7 L106.1 51.8%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M108.2 56.7 L114.7 58.5%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M110.3 54.2 L108.5 49.8%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M110.3 54.2 L116.1 56.1%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M112.3 51.8 L110.8 48.0%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M112.3 51.8 L117.5 53.7%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M114.4 49.4 L113.2 46.2%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M114.4 49.4 L118.8 51.4%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M116.4 47.2 L115.5 44.6%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M116.4 47.2 L120.2 49.2%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M118.5 45.1 L117.8 43.2%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M118.5 45.1 L121.6 47.0%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M120.5 43.2 L120.0 41.8%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M120.5 43.2 L123.0 45.0%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M122.6 41.3 L122.3 40.6%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M122.6 41.3 L124.4 43.0%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M100.0 68.0 L103.6 66.0 L107.2 64.3 L110.8 62.8 L114.4 61.4 L118.0 60.4 L121.7 59.5 L125.3 58.9 L128.9 58.4 L132.5 58.2 L136.1 58.3 L139.7 58.5 L143.3 59.0%22 fill=%22none%22 stroke=%22%23583665%22 stroke-width=%222.6%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M107.2 64.3 L108.4 57.8%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M107.2 64.3 L113.8 69.7%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M110.8 62.8 L112.2 56.9%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M110.8 62.8 L116.6 68.1%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M114.4 61.4 L116.1 56.3%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M114.4 61.4 L119.5 66.7%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M118.0 60.4 L119.8 56.0%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M118.0 60.4 L122.4 65.5%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M121.7 59.5 L123.5 55.8%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M121.7 59.5 L125.3 64.4%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M125.3 58.9 L127.2 55.9%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M125.3 58.9 L128.3 63.5%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M128.9 58.4 L130.7 56.2%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M128.9 58.4 L131.3 62.7%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M132.5 58.2 L134.2 56.7%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M132.5 58.2 L134.3 62.1%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M136.1 58.3 L137.6 57.3%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M136.1 58.3 L137.4 61.7%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M139.7 58.5 L140.9 58.2%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M139.7 58.5 L140.6 61.5%22 stroke=%22%23583665%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M100.0 68.0 L104.2 67.9 L108.3 68.1 L112.5 68.8 L116.6 69.7 L120.8 71.1 L124.9 72.8 L129.1 74.8 L133.3 77.2 L137.4 80.0 L141.6 83.1 L145.7 86.7 L149.9 90.5%22 fill=%22none%22 stroke=%22%2386698C%22 stroke-width=%222.6%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M108.3 68.1 L113.2 63.3%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M108.3 68.1 L111.9 76.3%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M112.5 68.8 L117.4 64.8%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M112.5 68.8 L115.2 76.6%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M116.6 69.7 L121.5 66.6%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M116.6 69.7 L118.6 77.1%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M120.8 71.1 L125.5 68.7%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M120.8 71.1 L122.1 78.0%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M124.9 72.8 L129.3 71.1%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M124.9 72.8 L125.7 79.1%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M129.1 74.8 L133.1 73.8%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M129.1 74.8 L129.5 80.6%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M133.3 77.2 L136.8 76.8%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M133.3 77.2 L133.3 82.3%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M137.4 80.0 L140.4 80.0%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M137.4 80.0 L137.3 84.5%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M141.6 83.1 L144.0 83.5%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M141.6 83.1 L141.3 86.9%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M145.7 86.7 L147.6 87.3%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M145.7 86.7 L145.4 89.8%22 stroke=%22%2386698C%22 stroke-width=%221.7%22 stroke-linecap=%22round%22/%3E%3Ccircle cx=%2291.4%22 cy=%2273.0%22 r=%222.2%22 fill=%22%23D69BAC%22/%3E%3Ccircle cx=%2294.0%22 cy=%2275.4%22 r=%222.2%22 fill=%22%23D69BAC%22/%3E%3Ccircle cx=%2296.6%22 cy=%2273.0%22 r=%222.2%22 fill=%22%23D69BAC%22/%3E%3Ccircle cx=%22103.4%22 cy=%2273.0%22 r=%222.2%22 fill=%22%23D69BAC%22/%3E%3Ccircle cx=%22106.0%22 cy=%2275.4%22 r=%222.2%22 fill=%22%23D69BAC%22/%3E%3Ccircle cx=%22108.6%22 cy=%2273.0%22 r=%222.2%22 fill=%22%23D69BAC%22/%3E%3Ccircle cx=%22100%22 cy=%2268%22 r=%224%22 fill=%22%23341A4F%22/%3E%3C/g%3E%3Crect x=%2256%22 y=%22192%22 width=%2288%22 height=%2210%22 rx=%222%22 fill=%22%23583665%22/%3E%3Cpath d=%22M56 202 L61.0 192 L66 202 Z%22 fill=%22%23D69BAC%22/%3E%3Cpath d=%22M61.0 195.0 L63.0 198.2 L61.0 201.4 L59.0 198.2 Z%22 fill=%22%23583665%22/%3E%3Cpath d=%22M66 202 L71.0 192 L76 202 Z%22 fill=%22%23D69BAC%22/%3E%3Cpath d=%22M71.0 195.0 L73.0 198.2 L71.0 201.4 L69.0 198.2 Z%22 fill=%22%23583665%22/%3E%3Cpath d=%22M76 202 L81.0 192 L86 202 Z%22 fill=%22%23D69BAC%22/%3E%3Cpath d=%22M81.0 195.0 L83.0 198.2 L81.0 201.4 L79.0 198.2 Z%22 fill=%22%23583665%22/%3E%3Cpath d=%22M86 202 L91.0 192 L96 202 Z%22 fill=%22%23D69BAC%22/%3E%3Cpath d=%22M91.0 195.0 L93.0 198.2 L91.0 201.4 L89.0 198.2 Z%22 fill=%22%23583665%22/%3E%3Cpath d=%22M96 202 L101.0 192 L106 202 Z%22 fill=%22%23D69BAC%22/%3E%3Cpath d=%22M101.0 195.0 L103.0 198.2 L101.0 201.4 L99.0 198.2 Z%22 fill=%22%23583665%22/%3E%3Cpath d=%22M106 202 L111.0 192 L116 202 Z%22 fill=%22%23D69BAC%22/%3E%3Cpath d=%22M111.0 195.0 L113.0 198.2 L111.0 201.4 L109.0 198.2 Z%22 fill=%22%23583665%22/%3E%3Cpath d=%22M116 202 L121.0 192 L126 202 Z%22 fill=%22%23D69BAC%22/%3E%3Cpath d=%22M121.0 195.0 L123.0 198.2 L121.0 201.4 L119.0 198.2 Z%22 fill=%22%23583665%22/%3E%3Cpath d=%22M126 202 L131.0 192 L136 202 Z%22 fill=%22%23D69BAC%22/%3E%3Cpath d=%22M131.0 195.0 L133.0 198.2 L131.0 201.4 L129.0 198.2 Z%22 fill=%22%23583665%22/%3E%3C/svg%3E");
  --deco-sadu: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2256%22 height=%2218%22 viewBox=%220 0 56 18%22%3E%3Crect y=%220%22 width=%2256%22 height=%222%22 fill=%22%23EDB9C4%22 fill-opacity=%22.5%22/%3E%3Crect y=%2216%22 width=%2256%22 height=%222%22 fill=%22%23EDB9C4%22 fill-opacity=%22.5%22/%3E%3Cpath d=%22M0 9 L7 4 L14 9 L7 14 Z M28 9 L35 4 L42 9 L35 14 Z%22 fill=%22%23BFA7CF%22 fill-opacity=%22.55%22/%3E%3Cpath d=%22M14 9 L21 4 L28 9 L21 14 Z M42 9 L49 4 L56 9 L49 14 Z%22 fill=%22none%22 stroke=%22%23EDB9C4%22 stroke-opacity=%22.6%22 stroke-width=%221.2%22/%3E%3Ccircle cx=%227%22 cy=%229%22 r=%221.4%22 fill=%22%23EDB9C4%22/%3E%3Ccircle cx=%2235%22 cy=%229%22 r=%221.4%22 fill=%22%23EDB9C4%22/%3E%3C/svg%3E");
  --radius-lg: 22px;
  --radius: 14px;
  --radius-sm: 9px;
  --font-ui: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
  --font-display: 'Reem Kufi', 'IBM Plex Sans Arabic', sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  position: relative;
  background: var(--pearl);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.7;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--plum); }
:focus-visible { outline: 3px solid var(--lilac); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.35; margin: 0; color: var(--plum-deep); }
h1 { font-size: 30px; }
h2 { font-size: 21px; }
h3 { font-size: 17px; }
p { margin: 0; }
.muted { color: var(--ink-soft); }
.small { font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- الإطار العام ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 14px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: rgba(252, 249, 249, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.menu-btn {
  width: 44px; height: 44px; border-radius: 13px; border: 1px solid var(--line);
  background: var(--white); display: grid; place-items: center; cursor: pointer;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--plum); position: relative; content: '';
}
.menu-btn span::before { position: absolute; top: -6px; }
.menu-btn span::after { position: absolute; top: 6px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand img { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--plum-deep); }
.brand-sub { font-size: 12.5px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .spacer { flex: 1; }
.agent-pill {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-soft);
  padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); white-space: nowrap;
}
.agent-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--lilac); }
.agent-pill.busy i { background: var(--plum); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(52, 26, 79, 0.35); z-index: 40;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.drawer {
  position: fixed; top: 0; bottom: 0; right: 0; z-index: 50; width: min(320px, 86vw);
  background: var(--plum); color: var(--white);
  transform: translateX(100%); transition: transform .25s ease;
  display: flex; flex-direction: column; padding: 22px 18px;
}
body.drawer-open .drawer { transform: none; }
body.drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; align-items: center; gap: 12px; padding-bottom: 20px; margin-bottom: 14px; border-bottom: 1px solid rgba(237, 185, 196, .18); }
.drawer-head img { width: 54px; height: 54px; border-radius: 16px; box-shadow: 0 0 0 2px rgba(237, 185, 196, .35); }
.drawer-head .name { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--white); }
.drawer-head .who { font-size: 12.5px; color: var(--blush); line-height: 1.5; }
.close-btn { margin-inline-start: auto; background: none; border: 0; color: var(--blush); font-size: 26px; cursor: pointer; line-height: 1; padding: 4px 8px; }
.nav { display: flex; flex-direction: column; gap: 4px; }
.nav a {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 13px;
  color: var(--blush); text-decoration: none; font-weight: 500;
}
.nav a svg { width: 21px; height: 21px; flex: none; }
.nav a:hover { background: rgba(237, 185, 196, .1); color: var(--white); }
.nav a[aria-current="page"] { background: var(--blush); color: var(--plum); }
.nav .count { margin-inline-start: auto; font-size: 12px; background: var(--white); color: var(--plum); border-radius: 999px; padding: 0 8px; min-width: 24px; text-align: center; }
.drawer-foot { margin-top: auto; font-size: 13px; color: var(--lilac); }
.drawer-foot button { background: none; border: 1px solid rgba(237, 185, 196, .35); color: var(--blush); border-radius: 10px; padding: 8px 14px; cursor: pointer; width: 100%; }

main { padding: clamp(18px, 4vw, 40px); max-width: 1180px; margin: 0 auto; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.page-head p { margin-top: 4px; }

/* ---------- عناصر مشتركة ---------- */
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 26px); }
.panel + .panel, .stack > * + * { margin-top: 20px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.grid-2 > * { margin-top: 0 !important; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--white);
  color: var(--plum); font-weight: 500; cursor: pointer; text-decoration: none; min-height: 44px;
}
.btn:hover { border-color: var(--lilac); background: var(--blush-soft); }
.btn.primary { background: var(--plum); border-color: var(--plum); color: var(--white); }
.btn.primary:hover { background: var(--plum-deep); }
.btn.soft { background: var(--blush); border-color: var(--blush); }
.btn:disabled { opacity: .55; cursor: progress; }
.btn.small { padding: 6px 12px; min-height: 36px; font-size: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; padding: 3px 11px; border-radius: 999px; background: var(--lilac-soft); color: var(--plum); white-space: nowrap; }
.chip.blush { background: var(--blush); }
.chip.solid { background: var(--plum); color: var(--white); }
.chip.outline { background: transparent; border: 1px solid var(--lilac); color: var(--mauve); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  border: 1px solid var(--line); border-radius: 11px; padding: 10px 12px; background: var(--white); color: var(--ink); font-size: 15px; min-height: 44px;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--mauve); box-shadow: 0 0 0 3px var(--lilac-soft); }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.tabs { display: inline-flex; padding: 4px; gap: 4px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.tabs button { border: 0; background: none; padding: 8px 16px; border-radius: 10px; cursor: pointer; color: var(--ink-soft); font-weight: 500; }
.tabs button[aria-pressed="true"] { background: var(--plum); color: var(--white); }
.notice { padding: 14px 16px; border-radius: var(--radius); background: var(--blush-soft); color: var(--plum); font-size: 14.5px; }
.notice.strong { background: var(--plum); color: var(--white); }
.empty { text-align: center; padding: 44px 16px; color: var(--ink-soft); }
.empty h3 { margin-bottom: 6px; }
.loading { padding: 60px 0; text-align: center; color: var(--ink-soft); }
.toast {
  position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 80;
  background: var(--plum-deep); color: var(--white); padding: 12px 20px; border-radius: 14px; font-size: 15px;
  box-shadow: 0 10px 30px rgba(52, 26, 79, .25); max-width: calc(100vw - 32px);
}
.toast.error { background: var(--white); color: var(--plum-deep); border: 2px solid var(--plum); }
table.list { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.list th { text-align: right; font-weight: 500; color: var(--ink-soft); padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.list td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table-wrap { overflow-x: auto; }

/* ---------- لوحة المتابعة ---------- */
.standing {
  background: var(--plum); color: var(--white); border-radius: 28px;
  padding: clamp(20px, 4vw, 34px); position: relative; overflow: hidden;
}
.standing::after {
  content: ''; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  left: -120px; top: -150px; border: 46px solid rgba(237, 185, 196, .07); pointer-events: none;
}
.standing h2 { color: var(--white); font-size: 23px; }
.standing .lead { color: var(--blush); margin-top: 4px; max-width: 62ch; }
.subjects { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; margin-top: 26px; }
.subject-col { background: rgba(255, 255, 255, .06); border: 1px solid rgba(237, 185, 196, .16); border-radius: 20px; padding: 18px; }
.subject-col .s-name { font-family: var(--font-display); font-size: 20px; color: var(--white); }
.subject-col .s-latest { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; }
.subject-col .s-latest b { font-family: var(--font-display); font-size: 40px; font-weight: 600; color: var(--blush); line-height: 1.1; }
.subject-col .s-latest span { font-size: 13px; color: var(--lilac); }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 130px; margin-top: 16px; padding-bottom: 2px; border-bottom: 1px solid rgba(237, 185, 196, .2); }
.bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; }
.bar i { display: block; width: 100%; max-width: 42px; border-radius: 10px 10px 4px 4px; background: rgba(191, 167, 207, .55); min-height: 4px; }
.bar.mock i { background: var(--blush); }
.bar.empty i { background: transparent; border: 1.5px dashed rgba(237, 185, 196, .45); height: 40%; }
.bar em { font-style: normal; font-size: 12.5px; color: var(--white); }
.bar-labels { display: flex; gap: 10px; margin-top: 6px; }
.bar-labels span { flex: 1; text-align: center; font-size: 12px; color: var(--lilac); }
.s-delta { margin-top: 12px; font-size: 13.5px; color: var(--blush); min-height: 22px; }

.overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; margin: 20px 0; }
.ov { padding: 18px 20px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit; }
.ov b { font-family: var(--font-display); font-size: 30px; font-weight: 600; color: var(--plum); line-height: 1.2; }
.ov.attention { background: var(--blush); border-color: var(--blush); }
.ov small { color: var(--ink-soft); font-size: 13.5px; }

.class-chart { display: flex; flex-direction: column; gap: 14px; }
.class-row { display: grid; grid-template-columns: 70px 1fr 56px; align-items: center; gap: 12px; font-size: 14.5px; }
.class-row .track { height: 14px; border-radius: 999px; background: var(--blush-soft); overflow: hidden; }
.class-row .track i { display: block; height: 100%; border-radius: 999px; }
.class-row b { font-weight: 600; text-align: left; color: var(--plum); }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--ink-soft); }
.legend span::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-inline-end: 6px; background: var(--c); vertical-align: middle; }
.grouped { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: end; height: 190px; padding-top: 10px; border-bottom: 1px solid var(--line); }
.group { display: flex; align-items: flex-end; justify-content: center; gap: 5px; height: 100%; }
.group i { width: 26%; max-width: 26px; border-radius: 8px 8px 3px 3px; min-height: 3px; position: relative; }
.group i[data-v]::after { content: attr(data-v); position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font-size: 11px; color: var(--ink-soft); font-style: normal; white-space: nowrap; }
.group-labels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; text-align: center; font-size: 13.5px; color: var(--ink-soft); margin-top: 8px; }
.bands { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: var(--blush-soft); margin-top: 8px; }
.bands i:nth-child(1) { background: var(--lilac); }
.bands i:nth-child(2) { background: var(--mauve); }
.bands i:nth-child(3) { background: var(--plum); }
.teacher-q { display: flex; flex-direction: column; }
.teacher-q > div { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.teacher-q > div:last-child { border-bottom: 0; }
.avatar { width: 38px; height: 38px; border-radius: 12px; background: var(--blush); color: var(--plum); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; flex: none; }
.teacher-q .meta { flex: 1; min-width: 0; }
.teacher-q .meta p:last-child { font-size: 13px; color: var(--ink-soft); }
.score-ring { font-family: var(--font-display); font-weight: 600; color: var(--plum); font-size: 18px; }

/* ---------- الشواهد ---------- */
.review-list { display: flex; flex-direction: column; gap: 12px; }
.review-item {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center;
  padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; text-decoration: none; color: inherit;
}
.review-item:hover { border-color: var(--lilac); }
.review-item .grade-badge {
  width: 64px; height: 64px; border-radius: 18px; background: var(--blush-soft); display: grid; place-items: center; text-align: center;
  font-family: var(--font-display); color: var(--plum); font-size: 22px; font-weight: 600; line-height: 1;
}
.review-item .grade-badge small { display: block; font-family: var(--font-ui); font-size: 11px; color: var(--ink-soft); margin-top: 4px; font-weight: 400; }
.review-item h3 { font-size: 16px; font-family: var(--font-ui); font-weight: 600; overflow-wrap: anywhere; }
.review-item p { font-size: 14px; color: var(--ink-soft); margin-top: 2px; }
.review-item .chips { margin-top: 8px; }
@media (max-width: 620px) {
  .review-item { grid-template-columns: 52px 1fr; }
  .review-item .grade-badge { width: 52px; height: 52px; font-size: 18px; }
  .review-item .go { display: none; }
}

.review-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
@media (max-width: 960px) { .review-layout { grid-template-columns: 1fr; } }
.side-card { position: sticky; top: 90px; }
.rubric { display: flex; flex-direction: column; gap: 14px; }
.rubric-row .top { display: flex; justify-content: space-between; gap: 10px; font-size: 14.5px; }
.rubric-row .top b { white-space: nowrap; }
.dots { display: flex; gap: 5px; margin-top: 6px; }
.dots i { flex: 1; height: 8px; border-radius: 999px; background: var(--blush-soft); }
.dots i.on { background: var(--plum); }
.rubric-row p { font-size: 13.5px; color: var(--ink-soft); margin-top: 6px; }
.big-score { text-align: center; padding: 10px 0 16px; }
.big-score b { font-family: var(--font-display); font-size: 52px; color: var(--plum); line-height: 1; }
.big-score span { display: block; font-size: 13px; color: var(--ink-soft); margin-top: 6px; }
.edit-list .field textarea { min-height: 140px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.code-row { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px; overflow-wrap: anywhere; }
.code-row:last-child { border-bottom: 0; }
.grade-table input, .grade-table select { border: 1px solid var(--line); border-radius: 9px; padding: 6px 8px; min-height: 38px; background: var(--white); width: 100%; font-size: 14px; }
.grade-table input[type="number"] { width: 82px; }
.grade-table tr.issue td { background: var(--blush-soft); }
.issue-text { font-size: 12.5px; color: var(--plum); }

/* ---------- Telegram ---------- */
.verdict { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.verdict-mark { width: 92px; height: 92px; border-radius: 26px; background: var(--blush); display: grid; place-items: center; font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--plum); text-align: center; line-height: 1.3; flex: none; }
.verdict p { max-width: 64ch; }
.level-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.level { padding: 16px; border-radius: 16px; background: var(--pearl); border: 1px solid var(--line); }
.idea { padding: 14px 0; border-bottom: 1px solid var(--line); }
.idea:last-child { border-bottom: 0; }
ul.clean { margin: 0; padding-inline-start: 20px; }
ul.clean li + li { margin-top: 6px; }

/* ---------- الدخول ---------- */
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--plum); }
.login-card { width: min(430px, 100%); background: var(--white); border-radius: 28px; padding: 34px 30px; text-align: center; }
.login-card img { width: 84px; height: 84px; margin: 0 auto 14px; display: block; }
.login-card h1 { font-size: 25px; }
.login-card .who { color: var(--ink-soft); font-size: 14px; margin: 6px 0 24px; line-height: 1.7; }
.login-card form { display: flex; flex-direction: column; gap: 12px; text-align: right; }
.login-card .error { color: var(--plum); background: var(--blush); border-radius: 10px; padding: 8px 12px; font-size: 14px; }

/* ---------- تقرير الطباعة ---------- */
.print-page { background: var(--white); max-width: 820px; margin: 0 auto; padding: 40px; border-radius: 18px; border: 1px solid var(--line); }
.print-head { display: flex; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 3px solid var(--plum); }
.print-head img { width: 64px; height: 64px; }
.print-head .t { flex: 1; }
.print-head h1 { font-size: 22px; }
.print-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 24px; margin: 20px 0; font-size: 14.5px; }
.print-meta b { color: var(--plum); font-weight: 600; }
.print-section { margin-top: 22px; break-inside: avoid; }
.print-section h2 { font-size: 17px; padding: 6px 14px; background: var(--blush-soft); border-radius: 10px; margin-bottom: 10px; }
.print-section li { margin-bottom: 6px; }
.print-sign { margin-top: 40px; display: flex; justify-content: space-between; font-size: 14.5px; gap: 20px; }
.print-tools { max-width: 820px; margin: 0 auto 16px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
@media print {
  body { background: var(--white); }
  .topbar, .drawer, .drawer-backdrop, .print-tools, .toast { display: none !important; }
  main { padding: 0; max-width: none; }
  .print-page { border: 0; padding: 0; border-radius: 0; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

@media (max-width: 560px) {
  h1 { font-size: 24px; }
  .agent-pill { display: none; }
  .brand-sub { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- شريط تقدّم الوكلاء وتنبيه الرصيد ---------- */
.agent-progress, .balance-alert { position: sticky; top: 69px; z-index: 15; padding: 10px clamp(16px, 4vw, 40px); }
.agent-progress { background: var(--plum); color: var(--white); }
.balance-alert { background: var(--blush); color: var(--plum-deep); border-bottom: 1px solid var(--lilac); }
.balance-alert .progress-inner { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.progress-inner { max-width: 1180px; margin: 0 auto; }
.progress-text { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; font-size: 14.5px; }
.progress-text b { font-weight: 600; }
.progress-text span { color: var(--blush); overflow-wrap: anywhere; }
.progress-track { height: 6px; border-radius: 999px; background: rgba(237, 185, 196, .25); margin-top: 8px; overflow: hidden; }
.progress-track i { display: block; height: 100%; border-radius: 999px; background: var(--blush); transition: width .4s; }
.progress-track i.indeterminate { animation: slide 1.4s ease-in-out infinite; }
@keyframes slide { 0% { transform: translateX(120%); } 100% { transform: translateX(-340%); } }
.batch { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.batch + .batch { margin-top: 12px; }
.batch-head { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; }
.batch-steps { display: grid; gap: 6px; margin-top: 10px; font-size: 14px; }
.batch-steps div { display: flex; gap: 10px; }
.batch-steps b { min-width: 80px; color: var(--plum); font-weight: 600; }

/* ---------- الاختبارات التجريبية ---------- */
.exam-head { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; padding: 16px 18px; border-radius: 18px; background: var(--blush-soft); }
.exam-head h3 { font-size: 19px; }
.exam-avg { text-align: center; }
.exam-avg b { display: block; font-family: var(--font-display); font-size: 34px; color: var(--plum); line-height: 1.1; }
.exam-avg span { font-size: 12.5px; color: var(--ink-soft); }
.rank-list { list-style: none; margin: 0; padding: 0; }
.rank-list li { display: grid; grid-template-columns: 34px 1fr auto 60px; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.rank-list li:last-child { border-bottom: 0; }
.rank-list .rank { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--lilac-soft); color: var(--plum); font-weight: 600; font-size: 13px; }
.rank-list .who small { display: block; color: var(--ink-soft); font-size: 12.5px; }
.rank-list b { font-weight: 500; color: var(--ink-soft); font-size: 13.5px; white-space: nowrap; }
.rank-list .pct { font-weight: 600; color: var(--plum); text-align: left; }

/* ---------- زخرفة الخلفية: خريطة المملكة ونخلة منقّطتان، وشريط مستوحى من نسيج السدو ---------- */
body::before, body::after { content: ''; position: fixed; pointer-events: none; z-index: -1; }
/* خلفية الموقع: صقر فارد جناحيه على قمم الجبال، من مربعات صغيرة شفافة تذوب نحو اليسار */
body::before { right: 0; bottom: 0; width: min(1150px, 92vw); aspect-ratio: 8 / 5; background: url('/bg-falcon.svg') no-repeat right bottom / contain; opacity: .12; }
body::after { display: none; }
html { background:
  radial-gradient(circle at 92% 10%, rgba(223, 211, 231, .6), transparent 30%),
  radial-gradient(circle at 5% 92%, rgba(191, 167, 207, .35), transparent 32%), var(--pearl);
  background-attachment: fixed; min-height: 100%; }
body { background: transparent; }
.topbar { background: rgba(252, 249, 249, 0.84); }
.panel { background: rgba(255, 255, 255, .9); }
.panel-head h2::after { content: ''; display: block; width: 34px; height: 3px; border-radius: 3px; margin-top: 6px; background: linear-gradient(to left, var(--plum), var(--lilac)); }

/* البطاقة الرئيسية: البرقوقي الأساسي، مع الصقر المنقّط الفاتح وشريط السدو */
.standing::before { content: ''; position: absolute; right: 0; bottom: 0; width: min(760px, 75%); aspect-ratio: 8 / 5; pointer-events: none;
  background: url('/bg-falcon-light.svg') no-repeat right bottom / contain; opacity: .14; }
.standing::after { border-color: rgba(237, 185, 196, .06); }
.standing > * { position: relative; }
.najdi-band { height: 18px; margin: 22px -34px -34px; background-image: var(--deco-sadu); background-repeat: repeat-x; background-position: bottom; opacity: .8; }
.bar.mock i { background: var(--blush); }

/* القائمة الجانبية وصفحة الدخول بالبرقوقي الأساسي مع زخرفة فاتحة */
.drawer::before { content: ''; position: absolute; left: 0; right: 0; bottom: 70px; height: 260px; pointer-events: none;
  background: url('/bg-falcon-light.svg') no-repeat right bottom / 320px auto; opacity: .14; }
.drawer > * { position: relative; }
.login-wrap { position: relative; overflow: hidden; }
.login-wrap::before { content: ''; position: absolute; right: 0; bottom: 0; width: min(1150px, 100%); aspect-ratio: 8 / 5; background: url('/bg-falcon-light.svg') no-repeat right bottom / contain; opacity: .16; }
.login-wrap::after { display: none; }
.login-card { position: relative; z-index: 1; box-shadow: 0 30px 80px rgba(52, 26, 79, .35); }

/* الألوان الوردية الإضافية: داخل لوحة المتابعة فقط */
.dash .overview .ov:nth-child(1) { background: linear-gradient(160deg, var(--rose-soft), var(--blush)); border-color: var(--blush); }
.dash .overview .ov:nth-child(1) b { color: var(--raspberry); }
.dash .overview .ov:nth-child(2) { background: linear-gradient(160deg, var(--white), var(--lilac-soft)); }
.dash .overview .ov:nth-child(2) b { color: var(--mauve); }
.dash .overview .ov:nth-child(3) { background: linear-gradient(160deg, var(--white), var(--rose-soft)); }
.dash .overview .ov:nth-child(3) b { color: var(--wine); }
.dash .exam-head { background: linear-gradient(120deg, var(--rose-soft), var(--lilac-soft)); }
.dash .exam-avg b { color: var(--raspberry); }
.dash .grid-2 > div:first-child .rank-list .rank { background: var(--plum); color: var(--white); }
.dash .grid-2 > div:last-child .rank-list .rank { background: var(--rose-soft); color: var(--raspberry); }
.dash .grid-2 > div:last-child .rank-list .pct { color: var(--raspberry); }
.dash .bands i:nth-child(1) { background: var(--dusty); }
.dash .legend span[style*="--lilac"]::before { background: var(--dusty); }
.dash .avatar { background: linear-gradient(150deg, var(--rose-soft), var(--blush)); color: var(--raspberry); }
.dash .teacher-q > div:nth-child(3n+2) .avatar { background: var(--lilac-soft); color: var(--mauve); }
.dash .teacher-q > div:nth-child(3n) .avatar { background: #F6E9EE; color: var(--wine); }
.dash .subject-col:nth-child(3) .s-latest b { color: #EDB9C4; }
.dash .standing .bar.mock i { background: linear-gradient(to top, var(--rose), var(--blush)); }

@media (max-width: 760px) { body::before { width: 100vw; opacity: .12; } }
@media print { body::before, body::after, .standing::before, .najdi-band { display: none !important; } html { background: #fff; } }

/* ---------- تقرير المعلمة المصمَّم (PDF وصورة) ---------- */
.rp { --rp-w: 820px; position: relative; background: var(--white); max-width: var(--rp-w); margin: 0 auto; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); color: var(--ink); font-family: var(--font-ui); font-size: 14.5px; line-height: 1.75; box-shadow: 0 18px 50px -30px rgba(52, 26, 79, .45); }
.rp::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: var(--deco-nakhla) no-repeat center 55% / 58% auto; opacity: .09; }
.rp > * { position: relative; z-index: 1; }
.rp h1, .rp h2, .rp h3 { font-family: var(--font-display); color: var(--plum-deep); margin: 0; }
.rp-hero { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "brand score" "teacher score"; gap: 18px 24px; padding: 30px 34px 40px; color: var(--white);
  background: radial-gradient(90% 120% at 0% 0%, rgba(214, 155, 172, .32), transparent 55%), radial-gradient(80% 120% at 100% 100%, rgba(233, 193, 177, .22), transparent 60%), linear-gradient(135deg, var(--plum-deep), var(--plum) 50%, var(--amethyst)); }
.rp-hero::after { content: ""; position: absolute; inset: 0; background: url('/bg-falcon-light.svg') no-repeat right -20px bottom 12px / 460px auto; opacity: .16; pointer-events: none; }
.rp-hero.solo { grid-template-areas: "brand score"; align-items: center; padding-bottom: 34px; }
.rp-hero.solo h1 { font-size: 27px; }
.rp-brand { grid-area: brand; display: flex; gap: 14px; align-items: center; position: relative; z-index: 1; }
.rp-brand img { width: 54px; height: 54px; border-radius: 14px; background: var(--white); padding: 4px; }
.rp-brand h1 { color: var(--white); font-size: 25px; line-height: 1.3; }
.rp-kicker, .rp-sub { margin: 0; font-size: 12.5px; color: var(--peach); }
.rp-teacher { grid-area: teacher; position: relative; z-index: 1; display: flex; flex-direction: column; gap: 2px; padding: 12px 18px; border-radius: 16px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); width: fit-content; min-width: 260px; max-width: 100%; }
.rp-teacher span { font-size: 12px; color: var(--peach); }
.rp-teacher b { font-family: var(--font-display); font-size: 21px; font-weight: 700; line-height: 1.45; }
.rp-teacher small { font-size: 12.5px; color: var(--rose-soft); }
.rp-score { grid-area: score; position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.rp-ring { width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--lilac) 0, var(--rose) calc(var(--p) * 1%), rgba(255, 255, 255, .14) calc(var(--p) * 1%)); }
.rp-ring b { width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; background: var(--plum-deep); font-family: var(--font-display); font-size: 30px; color: var(--white); }
.rp-level { font-size: 13px; font-weight: 600; padding: 3px 14px; border-radius: 999px; background: var(--white); color: var(--plum); }
.rp-level.top { background: var(--rose); color: var(--white); }
.rp-level.low { background: var(--peach); color: var(--plum-deep); }
.rp-sadu { position: absolute; inset: auto 0 0 0; height: 12px; background: var(--deco-sadu, linear-gradient(90deg, var(--rose), var(--lilac))) repeat-x center / auto 12px; opacity: .9; }
.rp-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 20px 34px 4px; }
.rp-meta div { background: rgba(248, 237, 232, .7); border: 1px solid var(--beige-rose); border-radius: 14px; padding: 9px 13px; display: flex; flex-direction: column; }
.rp-meta span { font-size: 11.5px; color: var(--ink-soft); }
.rp-meta b { font-size: 14px; color: var(--plum-deep); font-weight: 600; }
.rp-summary, .rp-rubric, .rp-card { margin: 18px 34px 0; break-inside: avoid; }
.rp h2 { font-size: 18px; display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.rp h2::before { content: ""; width: 6px; height: 20px; border-radius: 4px; background: linear-gradient(var(--rose), var(--plum)); }
.rp-summary p { margin: 0; padding: 14px 18px; background: rgba(251, 238, 240, .75); border-radius: 16px; border-inline-start: 4px solid var(--rose); }
.rp-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.rp-tags span { font-size: 12px; padding: 2px 12px; border-radius: 999px; background: var(--violet-soft); color: var(--plum); }
.rp-tags span:nth-child(3n+2) { background: var(--blush); }
.rp-tags span:nth-child(3n) { background: var(--peach); }
.rp-rubric { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.rp-rubric h2 { grid-column: 1 / -1; margin-bottom: 0; }
.rp-crit { border: 1px solid var(--violet-soft); border-radius: 14px; padding: 10px 14px; background: rgba(255, 255, 255, .5); break-inside: avoid; }
.rp-crit-head { display: flex; align-items: center; gap: 10px; }
.rp-crit-head b { flex: 1; font-size: 13.5px; color: var(--plum-deep); }
.rp-crit-head em { font-style: normal; font-size: 12px; color: var(--ink-soft); white-space: nowrap; }
.rp-dots { display: inline-flex; gap: 4px; direction: ltr; }
.rp-dots i { width: 16px; height: 8px; border-radius: 6px; background: var(--violet-soft); }
.rp-dots i.on { background: linear-gradient(90deg, var(--plum), var(--amethyst)); }
.rp-crit p { margin: 6px 0 0; font-size: 12.5px; line-height: 1.7; color: var(--ink-soft); }
.rp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; margin: 0 34px; }
.rp-grid .rp-card { margin: 18px 0 0; }
.rp-card { border-radius: 18px; padding: 14px 18px 8px; background: rgba(255, 255, 255, .5); border: 1px solid var(--violet-soft); }
.rp-card h3 { display: flex; align-items: center; gap: 8px; font-size: 16.5px; margin-bottom: 6px; }
.rp-ic { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; color: var(--white); background: var(--plum); }
.rp-ic svg { width: 16px; height: 16px; }
.rp-card.strong { background: rgba(236, 229, 241, .55); border-color: var(--violet-soft); }
.rp-card.grow { background: rgba(248, 237, 232, .75); border-color: var(--beige-rose); }
.rp-card.grow .rp-ic { background: var(--dusty); }
.rp-card.advice { background: linear-gradient(135deg, rgba(237, 185, 196, .75), rgba(223, 211, 231, .6)); border-color: var(--blush); }
.rp-card.advice .rp-ic { background: var(--rose); }
.rp-card ol { margin: 0; padding-inline-start: 20px; }
.rp-card li { margin-bottom: 6px; }
.rp-card li::marker { color: var(--rose); font-weight: 700; }
.rp-foot { display: flex; flex-direction: column; gap: 14px; margin: 26px 34px 0; padding: 18px 0 26px; border-top: 1px dashed var(--lilac); }
.rp-signs { display: grid; grid-template-columns: repeat(min(var(--n), 4), minmax(0, 230px)); justify-content: space-between; gap: 14px 18px; align-items: end; }
.rp-file { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-soft); word-break: break-word; }
.rp-file .rp-ic { background: var(--violet-soft); color: var(--plum); width: 24px; height: 24px; flex: none; }
.rp-sign { display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 0; font-size: 12.5px; color: var(--ink-soft); }
.rp-sign b { min-height: 1.6em; text-align: center; }
.rp-sign b { font-family: var(--font-display); font-size: 16px; color: var(--plum-deep); }
.rp-sign i { font-style: normal; margin-top: 26px; padding-top: 4px; border-top: 1px solid var(--lilac); width: 100%; text-align: center; font-size: 11.5px; }
.rp-export .rp { box-shadow: none; border: 0; border-radius: 0; margin: 0; }
/* تقرير الاختبار التجريبي */
.ex .rp-teacher b { font-size: 19px; }
.ex-bands { display: flex; height: 16px; border-radius: 999px; overflow: hidden; background: var(--violet-soft); }
.ex-bands i { display: block; height: 100%; }
.ex-bands .low { background: var(--peach); } .ex-bands .mid { background: var(--amethyst); } .ex-bands .high { background: var(--plum); }
.ex-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; font-size: 12.5px; color: var(--ink-soft); }
.ex-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-inline-end: 6px; vertical-align: middle; }
.ex-legend .low::before { background: var(--peach); } .ex-legend .mid::before { background: var(--amethyst); } .ex-legend .high::before { background: var(--plum); }
.ex-classes { display: grid; gap: 8px; }
.ex-class { display: grid; grid-template-columns: 70px 1fr 64px; grid-template-areas: "c t v" ". s s"; align-items: center; gap: 2px 12px; padding: 8px 12px; border-radius: 14px; background: rgba(255, 255, 255, .55); border: 1px solid var(--violet-soft); }
.ex-class .c { grid-area: c; font-weight: 600; color: var(--plum-deep); }
.ex-class .track { grid-area: t; height: 12px; border-radius: 999px; background: var(--blush-soft); overflow: hidden; }
.ex-class .track i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--rose), var(--amethyst) 60%, var(--plum)); }
.ex-class b { grid-area: v; font-family: var(--font-display); color: var(--plum-deep); }
.ex-class small { grid-area: s; font-size: 11.5px; color: var(--ink-soft); }
.ex-rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ex-rank li { display: grid; grid-template-columns: 24px 1fr auto; grid-template-areas: "n w p" "n w e"; align-items: center; gap: 0 10px; padding: 6px 10px; border-radius: 12px; background: rgba(255, 255, 255, .6); }
.ex-rank .n { grid-area: n; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--white); background: var(--plum); }
.ex-rank.low .n { background: var(--dusty); }
.ex-rank .who { grid-area: w; font-size: 13px; color: var(--plum-deep); line-height: 1.4; }
.ex-rank .who small { display: block; font-size: 11px; color: var(--ink-soft); }
.ex-rank b { grid-area: p; font-family: var(--font-display); color: var(--plum); }
.ex-rank em { grid-area: e; font-style: normal; font-size: 11px; color: var(--ink-soft); text-align: left; }
.rp-card.missing { background: rgba(220, 194, 185, .6); border-color: var(--beige-rose); }
.rp-card.missing .rp-ic { background: var(--wine); }
.ex-miss { display: grid; grid-template-columns: 90px 1fr; gap: 10px; padding: 6px 0; border-top: 1px dashed var(--beige-rose); font-size: 12.5px; }
.ex-miss:first-of-type { border-top: 0; }
.ex-miss b { color: var(--plum-deep); }
.ex-miss span { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.ex-miss em { font-style: normal; padding: 1px 10px; border-radius: 999px; background: rgba(255, 255, 255, .7); }
.ex-miss em small { color: var(--ink-soft); margin-inline-start: 6px; font-size: 10.5px; }
.ex-table { width: 100%; border-collapse: collapse; font-size: 12.5px; background: rgba(255, 255, 255, .6); border-radius: 12px; overflow: hidden; }
.ex-table th { background: var(--plum); color: var(--white); font-weight: 600; padding: 6px 8px; text-align: right; }
.ex-table td { padding: 4px 8px; border-bottom: 1px solid var(--violet-soft); }
.ex-table tr.high td:last-child { color: var(--plum); font-weight: 700; }
.ex-table tr.low td { background: rgba(248, 237, 232, .8); }
.ex-table tr.none td { color: var(--ink-soft); background: rgba(220, 194, 185, .5); }
.ex-edit { max-width: 820px; margin: 0 auto 6px; }
.ex-all { break-before: auto; }
@media (max-width: 720px) {
  .rp-hero { grid-template-columns: 1fr; grid-template-areas: "brand" "score" "teacher"; padding: 24px 20px 34px; }
  .rp-meta { grid-template-columns: 1fr 1fr; padding: 16px 20px 0; }
  .rp-summary, .rp-rubric, .rp-card { margin-inline: 20px; }
  .rp-rubric, .rp-grid { grid-template-columns: 1fr; }
  .rp-grid { margin: 0 20px; }
  .rp-foot { margin-inline: 20px; }
  .rp-signs { grid-template-columns: 1fr 1fr; }
}
@media print {
  @page { size: A4; margin: 10mm 0 6mm; }
  @page :first { margin-top: 0; }
  .rp { max-width: none; border: 0; border-radius: 0; box-shadow: none; font-size: 13px; line-height: 1.65; }
  .rp-hero { padding: 20px 30px 28px; gap: 12px 24px; }
  .rp-ring { width: 112px; height: 112px; } .rp-ring b { width: 88px; height: 88px; font-size: 26px; }
  .rp-summary, .rp-rubric, .rp-card { margin-top: 12px; }
  .rp-grid .rp-card { margin-top: 12px; }
  .rp-crit { padding: 8px 12px; } .rp-crit p { font-size: 11.5px; }
  .rp-card li { margin-bottom: 3px; }
  .rp-foot { margin-top: 12px; padding: 10px 0 0; break-inside: avoid; }
  .rp-sign i { margin-top: 16px; }
  .rp-foot { gap: 8px; }
  .rp-meta { gap: 8px; }
  .rp-meta { padding-top: 14px; }
  .rp h2 { font-size: 16px; margin-bottom: 6px; }
  main { padding-bottom: 0 !important; }
  .rp-meta div { padding: 6px 12px; }
  .rp-summary p { padding: 10px 14px; }
  .rp-crit p { line-height: 1.5; margin-top: 3px; }
  .rp-crit { padding: 6px 12px; }
  .rp-card { padding: 10px 16px 4px; }
  .rp-rubric { gap: 8px 12px; }
  .rp-tags { margin-top: 6px; }
  .rp, .rp::before, .rp-hero, .rp-ring, .rp-dots i.on, .rp-card.advice, .rp-summary p { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* كشوف لم تدخل الاختبار */
.waiting { margin-bottom: 20px; padding: 14px 16px; border-radius: 16px; background: var(--peach-soft); border: 1px solid var(--beige-rose); }
.waiting h3 { font-size: 16px; margin-bottom: 8px; }
.waiting li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; padding: 8px 0; border-top: 1px dashed var(--beige-rose); }
.waiting li:first-child { border-top: 0; }
.waiting .w-name { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-weight: 600; color: var(--plum-deep); word-break: break-word; }
.waiting .w-why { grid-column: 1; display: flex; flex-wrap: wrap; gap: 6px; }
.waiting li > .btn { grid-column: 2; grid-row: 1 / span 2; }
.rp-card.notes { background: rgba(236, 229, 241, .7); border-color: var(--lilac); }
.rp-card.notes .rp-ic { background: var(--plum-deep); }
.rp-summary > p { margin: 0; }

.rp-card.tg { background: rgba(236, 229, 241, .65); border-color: var(--lilac); }
.rp-card.tg .rp-ic { background: var(--mauve); }
