*{box-sizing:border-box}html,body{margin:0;padding:0}
body{font-family:"Assistant","Rubik","Noto Sans Hebrew","Arial Hebrew",Arial,sans-serif;color:#111;background:#eef1f6;line-height:1.45;font-size:15px}
.bar{max-width:210mm;margin:0 auto;padding:10px 12px;display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between}
.bar a,.bar button{font:inherit;font-weight:700;color:#fff;background:#1f3a73;border:0;border-radius:999px;padding:8px 16px;text-decoration:none;cursor:pointer}
.bar button{background:#8cc63f;color:#10203f}
.sheet{width:100%;max-width:210mm;margin:0 auto 14px;background:#fff;padding:12mm 12mm 10mm;border-top:6px solid #1f3a73;box-shadow:0 2px 10px rgba(0,0,0,.08);overflow-wrap:anywhere}
.top{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;flex-wrap:wrap;border-bottom:2px solid #111;padding-bottom:4px;margin-bottom:6px}
.top h1{font-size:20px;margin:0;line-height:1.2}.tag{font-size:12px;border:1.5px solid #111;border-radius:999px;padding:1px 9px;white-space:nowrap;font-weight:700}
.who{display:flex;gap:10px;flex-wrap:wrap;font-size:13px;margin:4px 0 6px}.who span{flex:1 1 90px;border-bottom:1px solid #111;padding-bottom:2px}
.hook{border:2px solid #111;border-radius:10px;padding:6px 10px;margin:6px 0}.hook b{display:block}
.q{font-weight:800;font-size:16px;margin-top:3px}
h2{font-size:15px;margin:8px 0 3px;padding:2px 8px;background:#1f3a73;color:#fff;border-radius:6px;display:inline-block}
h3{font-size:14px;margin:8px 0 3px;border-bottom:1.5px dashed #111}
ol.steps{margin:2px 0 4px;padding-inline-start:22px}ol.steps li{margin:1px 0}
.passage{border-inline-start:4px solid #111;padding:4px 10px;background:#f6f7f9;margin:4px 0;font-size:15px}
.example{font-size:13.5px;border:1.5px dashed #111;border-radius:8px;padding:3px 8px;margin:4px 0}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:6px 12px}
.ex{border:1.2px solid #999;border-radius:8px;padding:5px 8px;break-inside:avoid;page-break-inside:avoid;min-width:0}
.ex.wide{grid-column:1/-1}
.ex .n{font-weight:800}.ex p{margin:0 0 3px}
.opts{list-style:none;margin:0;padding:0}.opts li{margin:2px 0}.opts li::before{content:"◯ ";font-size:13px}
.tf{display:flex;justify-content:space-between;gap:6px;border-bottom:1px dotted #999;padding:2px 0;font-size:14px}.tf i{font-style:normal;white-space:nowrap;font-size:12.5px}
.ln{border-bottom:1px solid #111;height:8.5mm}
.ln.s{height:7mm}
table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px}td,th{border:1px solid #111;padding:3px 4px;vertical-align:top;overflow-wrap:anywhere}
th{background:#eef1f6}td.e{height:9mm}
.ws{border-collapse:collapse;margin:3px auto;width:auto;table-layout:auto}.ws td{width:7.2mm;height:7.2mm;text-align:center;vertical-align:middle;font-size:15px;font-weight:700;padding:0}
.ws.big td{width:9mm;height:9mm;font-size:19px}
.wl{font-size:13px;text-align:center}
.bxs{display:inline-flex;gap:2px;vertical-align:middle;flex-wrap:wrap}.bx{display:inline-block;width:6.5mm;height:7mm;border:1.2px solid #111;text-align:center;font-weight:700;line-height:7mm}.gap{display:inline-block;width:4mm}
.clue{display:flex;justify-content:space-between;align-items:center;gap:6px;flex-wrap:wrap;border-bottom:1px dotted #999;padding:2px 0;font-size:13.5px}
.chips{display:flex;flex-wrap:wrap;gap:5px}.chip{border:1.5px solid #111;border-radius:6px;padding:0 8px;font-weight:700}
.concept{border:2.5px double #111;border-radius:10px;padding:6px 10px;margin:6px 0}
.self td{text-align:center}.self td:first-child{text-align:start}
.foot{margin-top:6px;font-size:11px;border-top:1px solid #111;padding-top:3px}
.teacher h1{font-size:19px}.teacher ul{margin:2px 0;padding-inline-start:18px}.teacher li{margin:1px 0}.teacher{font-size:13.5px}
.cols{display:grid;grid-template-columns:1fr 1fr;gap:4px 14px}
.key{font-size:12.5px}.key b{display:inline-block;min-width:16px}
.lvl{font-size:12px;font-weight:700}
@media screen and (max-width:640px){.grid,.cols{grid-template-columns:1fr}.sheet{padding:14px 12px;font-size:15px}.ws td{width:8vw;height:8vw;font-size:4.2vw}.ws.big td{width:10vw;height:10vw}}
@page{size:A4;margin:7mm 9mm}
@media print{body{background:#fff;font-size:12.6px;line-height:1.35}.bar{display:none}.sheet{box-shadow:none;margin:0;padding:0;border-top:3px solid #111;max-width:none;page-break-after:always;break-after:page}
.sheet:last-of-type{page-break-after:auto;break-after:auto}h2{background:none;color:#111;border:1.5px solid #111}th{background:none}.passage{background:none}
.top h1{font-size:17px}.q{font-size:14px}.passage{font-size:13px}.ln{height:7mm}.ln.s{height:6.4mm}td.e{height:7.5mm}.ex{padding:3px 6px}
.full .passage,.full .ex,.full{font-size:13.4px}}

.ex1 .opts{display:flex;flex-wrap:wrap;gap:2px 16px}
@media print{.ws td{width:6.4mm;height:6.4mm;font-size:13.5px}.ws.big td{width:8mm;height:8mm;font-size:17px}.self{font-size:11px}.self td,.self th{padding:1px 3px}.concept{padding:4px 8px;margin:4px 0}h2{margin:5px 0 2px}h3{margin:5px 0 2px}.hook{padding:4px 8px}}
@media print{.student.none,.student.instr{font-size:12.1px}.student.none .passage,.student.instr .passage{font-size:12.6px}.student .ln{height:6.6mm}}
.selfrow{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:13px;margin:2px 0}.selfrow span{white-space:nowrap}.selfrow .sc{letter-spacing:6px;font-weight:700}
.legend{font-size:11.5px;margin:0}
@media print{.student .ln{height:6.3mm}.student .ln.s{height:6mm}.who{margin:2px 0 3px}.example{margin:2px 0}}
@media print{.student.none{font-size:11.7px}.student.none .passage{font-size:12.3px}.student.none .ex{padding:2px 6px}.student.none .grid{gap:4px 10px}}
@media print{.student .foot{margin-top:2px;padding-top:1px;font-size:10px}.student .selfrow{margin:0}}
@media print{.student.full{font-size:14.2px}.student.full .passage{font-size:15px}.student.full .tf{font-size:14.2px}.student.full .clue{font-size:14px}}
@media print{.ga .student.full,.ga .student.full .tf,.ga .student.full .clue{font-size:16px}.ga .student.full .passage{font-size:16.5px}}
