
*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:'Heebo','Noto Sans Hebrew','Noto Sans Arabic',system-ui,sans-serif;background:#f4f6fc;color:#1f2a44;overflow-x:hidden}
body.ar{font-family:'Noto Sans Arabic','Segoe UI',Tahoma,system-ui,sans-serif}
header{background:#24346b;color:#fff;padding:14px 16px;text-align:center}header img{height:44px;background:#fff;border-radius:8px;padding:3px 6px}
header h1{margin:6px 0 2px;font-size:1.45rem}header p{margin:0;opacity:.85;font-size:.95rem}
main{max-width:760px;margin:0 auto;padding:14px}
.card{background:#fff;border-radius:14px;padding:16px;box-shadow:0 2px 8px rgba(36,52,107,.08);margin-bottom:14px}
h2{font-size:1.1rem;margin:0 0 10px;color:#24346b}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px}
.chip{border:2px solid #c9d1e6;background:#fff;border-radius:12px;padding:10px;font:inherit;font-size:1rem;cursor:pointer;color:inherit;text-align:center;min-height:48px}
.chip.on{border-color:#e17055;background:#fff2ee;font-weight:700}
.row{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.row .chip{flex:1 1 90px}
.go{display:block;width:100%;background:#e17055;color:#fff;border:0;border-radius:12px;padding:14px;font:inherit;font-size:1.2rem;font-weight:700;cursor:pointer}
.go.sec{background:#24346b}
.top{display:flex;justify-content:space-between;align-items:center;font-size:.95rem;margin-bottom:8px;gap:8px}
.bar{height:8px;background:#e3e8f5;border-radius:4px;overflow:hidden;margin-bottom:12px}.bar i{display:block;height:100%;background:#e17055;width:0}
.tm{font-weight:700;color:#c0392b;min-width:48px;text-align:center}
.qt{font-size:1.15rem;font-weight:600;margin:0 0 10px;line-height:1.5}
.fig{text-align:center;margin:8px 0 12px;overflow-x:auto}.fig svg{max-width:100%;height:auto}
.fig>svg{max-height:260px;width:auto;max-width:100%}
.opts{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.opt{border:2px solid #c9d1e6;background:#fff;border-radius:12px;padding:10px;font:inherit;font-size:1.05rem;cursor:pointer;color:inherit;display:flex;align-items:center;gap:8px;min-height:52px;text-align:start}
.opt b{color:#e17055;min-width:1.2em}.opt.svg{flex-direction:column;justify-content:center}.opt.svg svg{width:100%;max-width:120px;height:auto}
.opt.ok{border-color:#27ae60;background:#eaf7ef}.opt.bad{border-color:#c0392b;background:#fdecea}.opt:disabled{cursor:default}
.fb{margin-top:12px;border-radius:12px;padding:12px;display:none;line-height:1.55}.fb.ok{background:#eaf7ef;display:block}.fb.bad{background:#fdecea;display:block}
.num{display:flex;gap:8px}.num input{flex:1;font:inherit;font-size:1.3rem;padding:10px;border:2px solid #c9d1e6;border-radius:12px;text-align:center;min-width:0;direction:ltr}
.nser{display:flex;gap:6px;justify-content:center;flex-wrap:wrap;font-size:1.35rem;font-weight:700;direction:ltr}.nser b{border:2px solid #9aa7c7;border-radius:8px;padding:2px 10px;min-width:44px;text-align:center}
.qm{color:#e17055}table.mach{margin:0 auto;border-collapse:collapse;font-size:1.1rem}table.mach th,table.mach td{border:2px solid #9aa7c7;padding:4px 10px;text-align:center}table.mach th{background:#eef2fb}
.an{font-size:1.35rem;font-weight:700}.an i{color:#e17055;font-style:normal;padding:0 6px}.sent{font-size:1.15rem}.ex{font-size:1.6rem;font-weight:700;direction:ltr}
.eqs{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}.eqs svg{height:56px;width:auto}
.pics{display:inline-block;direction:ltr;text-align:left}.pe{font-size:1.35rem;font-weight:700;display:flex;align-items:center;gap:6px;margin:4px 0}.pe svg{width:34px;height:34px}
.psg{background:#fbfcff;border:2px solid #e3e8f5;border-radius:12px;padding:10px 14px;margin-bottom:12px;font-size:1.15rem;line-height:1.9}.psg h3{margin:0 0 6px;text-align:center;color:#24346b}
.tog{background:none;border:0;color:#24346b;text-decoration:underline;font:inherit;cursor:pointer;padding:0;margin-bottom:8px}
.big{direction:ltr;font-size:2.4rem;font-weight:800;text-align:center;color:#24346b;margin:6px 0}
.mi{border-top:1px solid #e3e8f5;padding:10px 0}.mi:first-child{border-top:0}
.foot{font-size:.85rem;color:#5a6a8a;text-align:center;padding:10px 14px 24px}.foot a{color:#24346b}
.hide{display:none}
@media(max-width:420px){.opts{gap:6px}.opt{padding:8px;font-size:1rem}header h1{font-size:1.25rem}}
