:root{--ink:#1d1b3a;--brand:#7048e8;--fs:17px;--u:#7048e8}
*{box-sizing:border-box}html{font-size:var(--fs)}
body{margin:0;font-family:system-ui,"Segoe UI","Arial Hebrew",Arial,sans-serif;color:var(--ink);background:linear-gradient(160deg,#fff3bf 0%,#ffe3e3 30%,#e5dbff 65%,#d0ebff 100%) fixed;line-height:1.65;min-height:100vh}
a{color:#4c2fb5}:focus-visible{outline:4px solid #f76707;outline-offset:3px;border-radius:8px}
.skip{position:absolute;right:-999px;top:0;background:#000;color:#fff;padding:.6rem 1rem;z-index:99}.skip:focus{right:1rem}
header.top{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.95);box-shadow:0 3px 0 #0001}
.bar{display:flex;align-items:center;gap:.6rem;max-width:1180px;margin:auto;padding:.45rem .8rem;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:.5rem;font-weight:900;text-decoration:none;color:var(--ink);font-size:1.05rem}
.brand img{width:40px;height:40px;border-radius:50%;background:#fff;box-shadow:0 2px 0 #0002}
.tools{margin-inline-start:auto;display:flex;gap:.35rem}
.tools button{border:0;background:#f1f3f5;border-radius:12px;min-width:44px;min-height:44px;font-size:1rem;font-weight:800;cursor:pointer;color:var(--ink)}
.tools button:hover,.tools button[aria-pressed=true]{background:#e5dbff}
nav.main{max-width:1180px;margin:auto;padding:0 .6rem .45rem;display:flex;gap:.35rem;overflow-x:auto}
nav.main a{flex:none;text-decoration:none;color:var(--ink);font-weight:800;background:#f8f9fa;border:2px solid #e9ecef;border-radius:99px;padding:.35rem .8rem;min-height:44px;display:flex;align-items:center;font-size:.95rem}
nav.main a[aria-current=page]{background:var(--brand);color:#fff;border-color:var(--brand)}
main{max-width:1180px;margin:auto;padding:1rem .8rem 2rem}
.crumbs{font-size:.9rem;margin:.2rem 0 .8rem}.crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:.3rem;padding:0;margin:0}
.crumbs li+li::before{content:"‹";margin-inline-end:.3rem;color:#868e96}
.hero{background:linear-gradient(135deg,#5f3dc4,#c2255c 55%,#e8590c);color:#fff;border-radius:28px;padding:1.6rem 1.2rem;box-shadow:0 8px 0 #0002;text-shadow:0 1px 2px #0005}
.hero.u{background:linear-gradient(135deg,var(--u),#1d1b3a)}
.hero h1{font-size:clamp(1.5rem,5vw,2.5rem);margin:.2rem 0 .4rem;line-height:1.2}.hero p{font-size:1.08rem;margin:.2rem 0 1rem;max-width:780px}
.btns{display:flex;flex-wrap:wrap;gap:.6rem}
.btn{display:inline-flex;align-items:center;gap:.4rem;min-height:48px;padding:.5rem 1.1rem;border-radius:16px;font-weight:900;text-decoration:none;background:#fff;color:var(--ink);border:3px solid #1d1b3a;box-shadow:0 4px 0 #1d1b3a;font-size:1.02rem;cursor:pointer;font-family:inherit}
.btn:hover{transform:translateY(-1px)}.btn.p{background:#ffd43b}.btn.yt{background:#ffe3e3;border-color:#c92a2a;box-shadow:0 4px 0 #c92a2a;color:#a51111}.btn.sm{min-height:44px;padding:.3rem .8rem;font-size:.95rem}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:1rem;margin:1rem 0}
.card{background:#fff;border-radius:22px;padding:1rem 1.1rem;box-shadow:0 5px 0 #0001;border-top:8px solid var(--u)}
.card h2,.card h3{margin:.2rem 0 .4rem;line-height:1.3}.card p{margin:.3rem 0}
.card ol,.card ul{margin:.3rem 0;padding-right:1.2rem}
.ucard{text-decoration:none;color:inherit;display:block}.ucard .e{font-size:2.2rem}
.pill{display:inline-block;background:#f1f3f5;border-radius:99px;padding:.1rem .6rem;font-size:.85rem;font-weight:800;margin:.1rem}
.pill.t{background:#212529;color:#ffd43b}.pill.s{background:#d0ebff;color:#0b4a8a}
section.box{background:#fff;border-radius:22px;padding:1rem 1.2rem;margin:1rem 0;box-shadow:0 5px 0 #0001}
section.box>h2{margin:.1rem 0 .6rem;font-size:1.35rem;display:flex;gap:.4rem;align-items:center;flex-wrap:wrap}
.teach{border-right:8px solid #f59f00}.stud{border-right:8px solid #1c7ed6}
.edband{border-radius:16px;padding:.6rem 1rem;font-weight:900;margin:1.4rem 0 .4rem;font-size:1.15rem}
.edband.t{background:#212529;color:#ffd43b}.edband.s{background:#1c7ed6;color:#fff}
table{border-collapse:collapse;width:100%;margin:.4rem 0}td,th{border:1px solid #dee2e6;padding:.45rem .6rem;text-align:right;vertical-align:top}th{background:#f1f3f5}
.tw{overflow-x:auto}
dl.con{display:grid;grid-template-columns:minmax(110px,auto) 1fr;gap:.3rem .8rem;margin:.3rem 0}dl.con dt{font-weight:900;color:#5f3dc4}dl.con dd{margin:0}
details{background:#f8f9fa;border-radius:12px;padding:.4rem .8rem;margin:.4rem 0}summary{cursor:pointer;font-weight:800;min-height:40px;display:flex;align-items:center}
.ans{color:#a51111;font-weight:700}
.lvl{border-radius:16px;padding:.6rem .9rem;margin:.6rem 0}.lvl h3{margin:.1rem 0 .4rem}
.lvl.g{background:#ebfbee}.lvl.b{background:#e7f5ff}.lvl.c{background:#f3f0ff}
.mc{margin:.6rem 0}.mc .q{font-weight:800}.mc .opts{display:flex;flex-wrap:wrap;gap:.4rem;margin:.3rem 0}
.mc button{font-family:inherit;font-size:1rem;min-height:44px;border-radius:14px;border:2px solid #adb5bd;background:#fff;padding:.3rem .9rem;cursor:pointer;text-align:right}
.mc button.ok{background:#d3f9d8;border-color:#2b8a3e}.mc button.no{background:#ffe3e3;border-color:#c92a2a}
.mc .fb{min-height:1.4em;font-weight:800}
.src{background:#fff9db;border-right:6px solid #f59f00;border-radius:12px;padding:.7rem 1rem;margin:.5rem 0;white-space:pre-line}
.src .lb{display:block;font-size:.85rem;font-weight:900;color:#8a5a00;margin-bottom:.2rem}
.verify{background:#fff5f5;border:2px dashed #ff8787;border-radius:14px;padding:.6rem 1rem}
.video{display:flex;gap:1rem;align-items:center;flex-wrap:wrap;background:#1d1b3a;color:#fff;border-radius:22px;padding:1rem 1.2rem;margin:1rem 0}
.video .play{font-size:2.6rem;background:#ff6b6b;border-radius:18px;width:72px;height:72px;display:grid;place-items:center;flex:none}
.video .t{flex:1;min-width:200px}.video .t b{display:block;font-size:1.1rem}
.files{display:flex;flex-wrap:wrap;gap:.4rem;margin:.4rem 0}
.fl{display:inline-flex;gap:.35rem;align-items:center;text-decoration:none;font-weight:800;border-radius:14px;padding:.35rem .8rem;min-height:44px;border:2px solid #ced4da;background:#fff;color:var(--ink)}
.fl.st{border-color:#1c7ed6}.fl.te{border-color:#f59f00}
.pn{display:flex;justify-content:space-between;gap:.6rem;flex-wrap:wrap;margin:1.4rem 0}
footer{text-align:center;padding:1.5rem .8rem 2.5rem;font-size:.95rem}footer img{width:48px;height:48px;border-radius:50%;vertical-align:middle;background:#fff}
.tl{position:relative;margin:1rem 0;padding-right:1.6rem}.tl::before{content:"";position:absolute;right:.55rem;top:0;bottom:0;width:6px;border-radius:3px;background:linear-gradient(#f59f00,#7048e8,#0c8599)}
.tl li{list-style:none;position:relative;background:#fff;border-radius:16px;padding:.5rem .9rem;margin:.6rem 0;box-shadow:0 3px 0 #0001;border-right:6px solid var(--u)}
.tl li::before{content:"";position:absolute;right:-1.45rem;top:.9rem;width:16px;height:16px;border-radius:50%;background:var(--u);border:3px solid #fff}
.tl .y{font-weight:900;font-size:1.15rem;margin-inline-end:.4rem}
.filters{display:flex;flex-wrap:wrap;gap:.4rem;margin:.6rem 0}.filters button,.filters input{font-family:inherit;font-size:1rem;min-height:44px;border-radius:99px;border:2px solid #ced4da;background:#fff;padding:.2rem .9rem;cursor:pointer;font-weight:800}
.filters button[aria-pressed=true]{background:#1d1b3a;color:#fff}.filters input{cursor:text;font-weight:400;min-width:220px;border-radius:14px}
.quiz .bar2{height:14px;background:#e9ecef;border-radius:99px;overflow:hidden;margin:.5rem 0}.quiz .bar2 i{display:block;height:100%;background:linear-gradient(90deg,#40c057,#7048e8);width:0}
.big{font-size:1.25rem;font-weight:900}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.plan td:first-child{white-space:nowrap;font-weight:900}
@media (max-width:600px){header.top{position:static}.brand{font-size:.92rem}.brand img{width:34px;height:34px}dl.con{grid-template-columns:1fr}.hero{border-radius:20px;padding:1.2rem .9rem}.video .play{width:56px;height:56px;font-size:2rem}}
@media print{header.top,footer,.pn,.tools,nav{display:none}body{background:#fff}section.box{box-shadow:none;border:1px solid #ccc}}
.hero .pill{background:rgba(0,0,0,.3);color:#fff}
