@page{size:A4;margin:0}
*{box-sizing:border-box}
body{margin:0;background:#e9e4d8;font-family:Heebo,'Noto Sans Hebrew',sans-serif;color:#1d2b53;font-size:20px;line-height:1.5}
.bar{position:sticky;top:0;z-index:5;background:#1d2b53;color:#fff;display:flex;gap:10px;align-items:center;justify-content:center;padding:10px;flex-wrap:wrap}
.bar a,.bar button{font:inherit;font-size:20px;background:#f2b632;color:#1d2b53;border:0;border-radius:999px;padding:8px 18px;font-weight:700;text-decoration:none;cursor:pointer}
.page{width:210mm;max-width:100%;min-height:297mm;margin:16px auto;background:#fffdf8;padding:12mm 13mm 22mm;position:relative;box-shadow:0 4px 18px #0002;overflow:hidden}
.page:before{content:"";position:absolute;inset:6mm;border:2px solid #f2b632;border-radius:14px;pointer-events:none}
.ph{display:flex;align-items:center;gap:14px;border-bottom:3px solid #f2b632;padding-bottom:8px;margin-bottom:10px;position:relative}
.ph .lg{width:64px;height:64px;border-radius:50%;object-fit:cover;border:2px solid #f2b632}
.ph .ht{flex:1}.ph .k{font-size:20px;color:#b5651d;font-weight:700}
.ph h1{margin:0;font-size:36px;line-height:1.1;font-family:'Frank Ruhl Libre',serif}
.ph .sub{font-size:20px;color:#55607e}
.pn{width:46px;height:46px;border-radius:50%;background:#1d2b53;color:#f2b632;display:grid;place-items:center;font-weight:800;font-size:22px}
.fields{display:flex;gap:14px;flex-wrap:wrap;margin:6px 0 10px}.fields i{display:inline-block;width:170px;border-bottom:2px dotted #1d2b53}.fields i.s{width:90px}
.tk{display:flex;align-items:center;gap:10px;font-size:24px;margin:14px 0 6px;color:#1d2b53}
.tk b{background:#e8743b;color:#fff;border-radius:10px;min-width:36px;height:36px;display:grid;place-items:center}
.tk em{margin-inline-start:auto;font-style:normal;font-size:20px;background:#fff1d0;border-radius:999px;padding:2px 12px}
.intro{display:flex;gap:14px;align-items:center;background:#1d2b53;color:#fff;border-radius:14px;padding:10px}
.intro img{width:190px;border-radius:10px}.intro p{margin:0}
.story{background:#fff7e3;border-radius:14px;padding:6px 18px;border-inline-start:6px solid #f2b632}
.story h3{margin:6px 0;font-family:'Frank Ruhl Libre',serif;font-size:26px}.story p{margin:6px 0}
.ln{border-bottom:1.5px solid #9aa3bd;height:34px}
.qs{padding-inline-start:28px;margin:4px 0}.qs li{margin-bottom:6px}.q em{font-style:normal;color:#b5651d}
.ins{margin:2px 0 8px;color:#3a4566}
.bank{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:8px}.bank span,.wl span{border:2px dashed #e8743b;border-radius:10px;padding:2px 14px;font-weight:700;background:#fff}
.fill li{margin-bottom:8px}
.wsw{display:flex;gap:16px;align-items:flex-start}
.ws{border-collapse:collapse;direction:rtl}.ws td{width:42px;height:42px;text-align:center;border:1.5px solid #c9cfe0;font-size:24px;font-weight:700}
.ws.sm td{width:30px;height:30px;font-size:18px}.ws td.on{background:#f2b632}
.wl{display:flex;flex-wrap:wrap;gap:8px;align-content:flex-start;flex:1}.wl img{width:100%;border-radius:12px;margin-top:8px}
.mt{width:100%;border-collapse:collapse}.mt td{padding:5px 6px;border-bottom:1px solid #e3e0d6;vertical-align:top}.mt .w{font-weight:800;white-space:nowrap}.mt .b{width:60px;color:#9aa3bd}
.frame{border:3px dashed #e8743b;border-radius:16px;padding:8px;background:#fff}.menora{width:100%;height:auto;display:block}
.frame.small{height:330px;display:flex;align-items:flex-end;justify-content:center;padding-bottom:10px;color:#9aa3bd}
.wr span{font-weight:800;font-family:'Frank Ruhl Libre',serif;font-size:24px}
.rds{display:grid;grid-template-columns:1fr 1fr;gap:10px}.rd{background:#fff7e3;border-radius:14px;padding:8px 12px;border:2px solid #f2b632}.rd p{margin:4px 0}.rd.math{grid-column:1/-1;background:#eef1fa;border-color:#1d2b53}
.ans i{display:inline-block;width:150px;border-bottom:2px dotted #1d2b53}
.refl{display:flex;gap:12px;align-items:flex-start}.refl img{width:150px;border-radius:12px}.refl ol{flex:1;margin:0;padding-inline-start:24px}.refl li{margin-bottom:4px}
.scale{margin:10px 0;display:flex;flex-wrap:wrap;gap:10px;align-items:center}.scale div{display:flex;gap:8px}.scale b{width:40px;height:40px;border-radius:50%;border:2px solid #e8743b;display:grid;place-items:center}
.tipbox{background:#1d2b53;color:#fff;border-radius:12px;padding:8px 14px}
.key .keyg{display:grid;grid-template-columns:1.25fr 1fr;gap:16px}.key h3{margin:8px 0 2px;color:#b5651d;font-size:22px}.key p,.key li{margin:2px 0}.small{font-size:20px}
.nik{font-family:'Frank Ruhl Libre','Noto Serif Hebrew',serif;font-size:28px;line-height:1.9}
.mg .story p{margin:2px 0}.opts{display:flex;gap:12px;flex-wrap:wrap}.opts span{border:2px solid #1d2b53;border-radius:999px;padding:0 16px}
.pm{width:100%;border-collapse:collapse}.pm td{padding:4px}.pm img{width:150px;border-radius:10px;display:block;margin-inline-start:auto}.pm .pw{font-weight:700;width:34%}.pm .dots{border-bottom:2px dotted #c9cfe0}
.pf{position:absolute;bottom:9mm;inset-inline:13mm;display:flex;gap:10px;align-items:center;justify-content:center;font-size:20px;color:#55607e;border-top:1px solid #e3e0d6;padding-top:4px}
.pf img{width:34px;height:34px;border-radius:50%}
@media screen and (max-width:820px){.page{min-height:0;padding:14px 14px 70px}.page:before{inset:5px}.wsw,.refl,.intro{flex-direction:column}.ws td{width:30px;height:30px;font-size:19px}.key .keyg,.rds{grid-template-columns:1fr}.intro img,.refl img{width:100%}}
@media print{body{background:#fff}.bar{display:none}.page{margin:0;box-shadow:none;page-break-after:always;height:297mm}}
.ln{height:31px}.ws td{width:38px;height:38px}.mt td{padding:3px 6px}.wl img{max-width:230px}
.rd{padding:6px 12px}.rd p{line-height:1.4}.refl img{width:120px}
.key .keyg{grid-template-columns:1.7fr 1fr;gap:12px}.key h3{margin:4px 0 0}.key p,.key li{line-height:1.35}.ws.sm td{width:26px;height:26px;font-size:20px}
.nik{line-height:1.7}.pm img{width:104px}.frame.small{height:190px}.mg .tk{margin:8px 0 4px}
@media print{.page{min-height:297mm}}.ws td{width:36px;height:36px}.key .ph{margin-bottom:4px}.key h3{font-size:21px}
.wl img{max-width:170px}.mt td{padding:2px 6px;line-height:1.35}
