
:root{--uc:#12a37a;--ink:#1d2b53;--bg:#f6f8fc;--card:#fff;--ok:#2b8a3e;--bad:#e03131}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:"Rubik","Assistant","Segoe UI","Noto Sans Hebrew",Arial,sans-serif;background:var(--bg);color:var(--ink);font-size:18px;line-height:1.55;min-height:100vh;display:flex;flex-direction:column}
button,input,textarea{font:inherit;color:inherit}
button{cursor:pointer;-webkit-tap-highlight-color:transparent}
a{color:#3b5bdb}
.top{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:8px;padding:8px 12px;background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.06)}
.hb{border:0;background:#eef2ff;border-radius:12px;font-size:22px;width:46px;height:46px}
.brand{flex:1;text-decoration:none;color:var(--ink);font-weight:700;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pts{background:#fff3bf;border-radius:999px;padding:6px 12px;font-size:17px;white-space:nowrap}
main{flex:1;width:100%;max-width:760px;margin:0 auto;padding:14px 14px 24px}
.foot{display:flex;align-items:center;justify-content:center;gap:10px;padding:14px;background:#fff;border-top:1px solid #e9ecef;font-size:15px;color:#555}
.foot img{border-radius:50%;object-fit:cover}
h1{font-size:28px;margin:6px 0;line-height:1.25}
h2.atitle{font-size:24px;margin:8px 0 12px;line-height:1.3}
h2.atitle small.lv{font-size:18px}
h3{margin:4px 0 8px}
.small{font-size:15px;color:#555}
.center{text-align:center}
.hero{text-align:center;background:linear-gradient(135deg,#d3f9d8,#dbe4ff 55%,#ffe8cc);border-radius:24px;padding:22px 16px 16px;margin-bottom:14px}
.hero-emo{font-size:44px;letter-spacing:6px}
.hero p{margin:4px 0}
.prog{display:block;height:10px;background:#e9ecef;border-radius:99px;overflow:hidden;margin:8px 0 4px}
.prog.big{height:14px;max-width:420px;margin:10px auto 4px}
.prog i{display:block;height:100%;background:var(--uc);border-radius:99px;transition:width .4s}
.hero .prog i{background:linear-gradient(90deg,#12a37a,#3b5bdb,#e8590c)}
.hello{text-align:center;margin:4px 0 12px}
.card{background:var(--card);border-radius:18px;padding:16px;margin:12px 0;box-shadow:0 2px 12px rgba(29,43,83,.07)}
.namecard label{display:block;font-weight:700;margin-bottom:8px}
.row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.row input{flex:1;min-width:140px}
input,textarea{width:100%;border:2px solid #dee2e6;border-radius:12px;padding:11px 12px;background:#fff;font-size:18px}
input:focus,textarea:focus{outline:none;border-color:var(--uc)}
label{display:block;font-weight:600;margin:10px 0 4px}
.units{display:grid;gap:12px}
.unit-card{display:flex;align-items:center;gap:14px;text-align:right;border:3px solid;background:#fff;border-radius:20px;padding:14px;box-shadow:0 3px 14px rgba(0,0,0,.06)}
.unit-card .ue{font-size:46px}
.unit-card .ut{flex:1;display:flex;flex-direction:column}
.unit-card b{font-size:20px}
.unit-card small{color:#555;font-size:15px}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}
.tile{background:#fff;border:0;border-radius:18px;padding:14px 8px;font-weight:700;font-size:16px;box-shadow:0 2px 10px rgba(0,0,0,.06);min-height:92px}
.tile span{display:block;font-size:32px}
.legend{font-size:15px;background:#fff;border-radius:14px;padding:10px 12px}
.support{background:#e6fcf5;border-right:6px solid #12a37a;border-radius:14px;padding:12px 14px;margin:14px 0;font-size:16px}
.back{border:0;background:none;color:#3b5bdb;font-size:17px;padding:8px 0;font-weight:600}
.uhead{text-align:center;background:#fff;border-radius:22px;padding:14px;border-top:8px solid var(--uc);margin-bottom:10px}
.uhead .ue{font-size:50px}
.acts{display:grid;gap:10px}
.act{display:flex;align-items:center;gap:12px;background:#fff;border:2px solid #e9ecef;border-radius:16px;padding:12px 14px;text-align:right;min-height:64px}
.act.done{border-color:var(--uc);background:#f4fbf7}
.act .an{font-size:28px;width:38px;text-align:center}
.act .at{flex:1;font-weight:600;display:flex;flex-direction:column}
.act small{font-weight:400;color:#666;font-size:14px}
.act .ar{font-size:26px;color:#adb5bd}
.btn{display:inline-block;border:0;background:var(--uc);color:#fff;font-weight:700;border-radius:14px;padding:14px 20px;font-size:18px;margin:8px 0;min-height:52px;text-decoration:none;text-align:center}
.btn.sm{padding:10px 16px;font-size:17px;min-height:46px}
.btn.ghost{background:#eef2ff;color:#3b5bdb}
.btn:disabled{opacity:.55}
.link{border:0;background:none;color:#3b5bdb;text-decoration:underline;font-size:16px;padding:8px 4px}
.intro{font-size:17px}
.card.intro{background:#fff9db}
.info p{margin:8px 0}
ol.big li,ul.big li{margin:6px 0;font-size:18px}
.quote{background:#f1f3f5;border-radius:12px;padding:10px 12px;font-weight:600}
.story{background:#fffdf5;border:2px dashed #ffd43b}
.story .stt{font-weight:700;margin-bottom:4px}
.story p{margin:8px 0;font-size:18px;line-height:1.7}
.q .qt{font-weight:700;margin-bottom:10px;font-size:18px}
.qn{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:var(--uc);color:#fff;font-size:15px}
.opts{display:grid;gap:8px}
.opts.row3{grid-template-columns:repeat(3,1fr)}
.opt{border:2px solid #dee2e6;background:#fff;border-radius:14px;padding:12px 14px;text-align:right;font-size:17px;min-height:52px;transition:transform .1s}
.opt.sm{padding:9px 8px;text-align:center;font-size:15px;min-height:44px}
.opt:active{transform:scale(.98)}
.opt.sel{border-color:#3b5bdb;background:#edf2ff}
.opt.ck::before{content:"⬜ "}
.opt.ck.sel::before{content:"☑️ "}
.opt.ok{border-color:var(--ok);background:#ebfbee}
.opt.bad{border-color:var(--bad);background:#fff5f5;animation:shake .3s}
.opt:disabled{color:inherit;opacity:1}
.opt.bad:disabled{opacity:.6}
.ex{margin-top:10px;border-radius:12px;padding:10px 12px;font-size:16px}
.ex.ok{background:#ebfbee;color:#1b5e20}
.ex.bad{background:#fff5f5;color:#a61e1e}
.msg{margin:8px 0;padding:8px 2px;font-weight:600}
.msg.ok{color:var(--ok)}
.msg.bad{color:var(--bad)}
.donebar{position:sticky;bottom:10px;z-index:15;background:#fff;border:3px solid var(--uc);border-radius:18px;padding:12px 14px;margin:16px 0;box-shadow:0 8px 24px rgba(0,0,0,.15);text-align:center;animation:pop .35s}
.donebar .btn{width:100%}
@keyframes pop{from{transform:scale(.85);opacity:0}to{transform:none;opacity:1}}
@keyframes shake{0%,100%{transform:none}25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}
.shake{animation:shake .25s}
.bank{display:flex;flex-wrap:wrap;gap:8px;padding:10px;background:#fff;border-radius:16px;box-shadow:0 2px 10px rgba(0,0,0,.08);margin-bottom:10px}
.sticky{position:sticky;top:64px;z-index:10}
.bank.hint{outline:3px dashed var(--uc)}
.chip{border:2px solid var(--uc);background:#fff;border-radius:999px;padding:8px 14px;font-size:17px;font-weight:600;min-height:44px}
.chip.on{background:var(--uc);color:#fff}
.chip.used{opacity:.35}
.mrows{display:grid;gap:8px}
.mrow{background:#fff;border:2px solid #e9ecef;border-radius:14px;padding:10px 12px;font-size:17px}
.mrow > div{margin-top:6px}
.mrow.inl{line-height:2.3}
.mrow.ok{border-color:var(--ok);background:#ebfbee}
.mrow.bad{border-color:var(--bad);background:#fff5f5}
.slot{border:2px dashed #adb5bd;background:#f8f9fa;border-radius:10px;padding:4px 14px;min-width:96px;min-height:40px;font-weight:700;font-size:17px}
.slot.filled{border-style:solid;border-color:var(--uc);background:#fff}
.slot.act{outline:3px solid #ffd43b}
.tools{display:grid;gap:8px}
.tool{display:flex;align-items:center;gap:8px;background:#fff;border:2px solid #e9ecef;border-radius:14px;padding:8px 10px;font-size:16px}
.tool > span:first-child,.tool .own{flex:1}
.tool.v{border-color:var(--ok);background:#ebfbee}
.tool.s{border-color:#f59f00;background:#fff9db}
.tb{display:flex;gap:6px}
.mk{width:46px;height:46px;border-radius:12px;border:2px solid #dee2e6;background:#fff;font-size:22px;font-weight:700}
.tool.v .mk[data-m=v]{background:var(--ok);color:#fff;border-color:var(--ok)}
.tool.s .mk[data-m=s]{background:#f59f00;color:#fff;border-color:#f59f00}
.tip{background:#e7f5ff}
.smap{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:center}
.sbox{background:#fff;border-radius:14px;padding:10px;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.sbox textarea{margin-top:6px;font-size:16px}
.me{grid-column:1/-1;text-align:center;font-size:26px;font-weight:700;background:#fff0f6;border-radius:50%;width:96px;height:96px;margin:0 auto;display:flex;flex-direction:column;justify-content:center;line-height:1.1}
.checks{list-style:none;padding:0;margin:8px 0;font-size:15px}
.checks li{color:#666}.checks li.y{color:var(--ok);font-weight:600}
.ta{margin-top:4px}
.num{max-width:140px}
.taps{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}
.taps.sent{flex-direction:column}
.tw{border:2px solid #e9ecef;background:#fff;border-radius:10px;padding:6px 8px;font-size:17px;text-align:right}
.taps.words .tw{padding:4px 6px;min-height:40px}
.tw.sel{background:#fff3bf;border-color:#f59f00}
.tw.ok{background:#d3f9d8;border-color:var(--ok)}
.tw.bad{background:#ffe3e3;border-color:var(--bad)}
.tw:disabled{color:inherit}
.br{flex-basis:100%;height:6px}
.chain{display:flex;flex-direction:column;align-items:stretch;margin-top:12px}
.link.start,.chain .link{background:#f1f3f5;border-radius:12px;padding:10px;text-align:center;font-weight:600;text-decoration:none;color:var(--ink)}
.chain .link.start{background:#ffe8cc}
.chain .link.on{background:#ebfbee;border:2px solid var(--ok)}
.arr{text-align:center;font-size:20px;color:#adb5bd}
.curclue{background:#fff3bf;border-radius:12px;padding:10px 12px;font-size:16px;margin-bottom:10px;box-shadow:0 2px 8px rgba(0,0,0,.08)}
.cw{display:grid;gap:3px;max-width:440px;margin:0 auto 10px;direction:rtl}
.cc{position:relative;aspect-ratio:1;background:#fff;border:2px solid #495057;border-radius:6px}
.cc.blk{background:transparent;border-color:transparent}
.cc input{position:absolute;inset:0;width:100%;height:100%;border:0;background:transparent;text-align:center;font-size:22px;font-weight:700;padding:0;border-radius:4px}
.cc.hl{background:#fff9db}
.cc.ok{background:#d3f9d8}.cc.bad{background:#ffe3e3}
.cn{position:absolute;top:1px;right:3px;font-size:11px;font-weight:700;color:#3b5bdb;pointer-events:none;z-index:2}
.clues h3{font-size:18px;margin:14px 0 6px}
.clue{display:block;width:100%;text-align:right;border:0;background:#fff;border-radius:10px;padding:10px 12px;margin:5px 0;font-size:16px}
.clue.on{background:#fff3bf}
.wlist{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
.wlist span{background:#fff;border-radius:999px;padding:5px 12px;font-weight:600;border:2px solid #dee2e6;font-size:16px}
.wlist span.f{text-decoration:line-through;background:#d3f9d8;border-color:var(--ok);color:#2b8a3e}
.ws{display:grid;grid-template-columns:repeat(10,1fr);gap:3px;max-width:460px;margin:0 auto;direction:rtl}
.wc{aspect-ratio:1;border:1px solid #ced4da;background:#fff;border-radius:6px;font-size:19px;font-weight:700;padding:0}
.wc.sel{background:#ffd43b!important;outline:3px solid #f59f00}
.maze{display:grid;max-width:360px;margin:0 auto;background:#fff;border:3px solid #1d2b53;border-radius:6px}
.mc{aspect-ratio:1;border:0 solid #1d2b53;display:flex;align-items:center;justify-content:center;font-size:22px}
.mc.p{background:#fff3bf}
.mc.st{background:#d3f9d8}
.mstart{text-align:center;max-width:360px;margin:0 auto;direction:ltr;text-align:right;font-weight:700;color:#2b8a3e}
.pad{display:grid;grid-template-columns:repeat(3,72px);gap:8px;justify-content:center;margin:14px 0;direction:ltr}
.pad button{height:64px;border-radius:16px;border:0;background:#edf2ff;font-size:28px}
.dils{display:grid;gap:12px}
.dil{perspective:900px;cursor:pointer;min-height:190px}
.dil .inner{position:relative;width:100%;min-height:190px;transition:transform .5s;transform-style:preserve-3d}
.dil.flip .inner{transform:rotateY(180deg)}
.front,.back{position:absolute;inset:0;backface-visibility:hidden;-webkit-backface-visibility:hidden;border-radius:18px;padding:16px;display:flex;flex-direction:column;justify-content:center;text-align:center;box-shadow:0 3px 14px rgba(0,0,0,.1)}
.front{background:linear-gradient(135deg,#edf2ff,#fff)}
.back{background:#fff9db;transform:rotateY(180deg)}
.de{font-size:40px}
.front p,.back p{margin:6px 0;font-weight:600}
.front small,.back small{color:#777}
.steps{display:grid;gap:6px;margin:10px 0}
.step{display:flex;align-items:center;gap:10px;text-align:right;border:2px solid #e9ecef;background:#fff;border-radius:12px;padding:10px 12px;font-size:16px;min-height:50px;width:100%;margin:4px 0}
.step span{display:inline-flex;width:28px;height:28px;flex:none;align-items:center;justify-content:center;border-radius:50%;background:#e9ecef;font-weight:700}
.step.on{border-color:var(--ok);background:#ebfbee}
.step.on span{background:var(--ok);color:#fff}
.step small{color:#666}
.tally{display:grid;gap:8px;margin-top:10px}
.trow{display:flex;gap:6px;align-items:center}
.trow input{flex:1;min-width:0}
.cnt{width:46px;height:46px;border-radius:12px;border:0;background:#f1f3f5;font-size:24px;font-weight:700;flex:none}
.cnt.plus{background:var(--uc);color:#fff}
.tn{min-width:30px;text-align:center;font-size:20px}
.bar{display:grid;grid-template-columns:1fr;gap:2px;margin:8px 0}
.bar div{height:22px;background:#f1f3f5;border-radius:8px;overflow:hidden}
.bar i{display:block;height:100%;background:var(--uc)}
.big{font-size:19px}
.cboard{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.cb{border:3px solid #dee2e6;background:#fff;border-radius:14px;padding:8px 6px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:2px;min-height:150px}
.cb .ce{font-size:28px}
.cb b{font-size:14px;line-height:1.2}
.cb small{font-size:11.5px;color:#555;line-height:1.3}
.cb .cl{font-size:13px}
.cb.lv-m{background:#fff9db;border-color:#f59f00}
.cb.on{border-color:var(--uc);background:#e6fcf5;box-shadow:0 0 0 3px var(--uc) inset}
.cb.lv-m.on{background:#fff3bf}
.selfl{display:grid;gap:8px}
.sr{background:#fff;border-radius:14px;padding:10px 12px}
.sr p{margin:0 0 6px;font-weight:600}
.so{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.contract{background:#fffdf5;border:2px solid #f59f00}
table.trk{width:100%;border-collapse:collapse;margin-top:8px;font-size:15px}
.trk th,.trk td{text-align:center;padding:3px}
.tk{width:100%;min-width:36px;height:44px;border-radius:10px;border:2px solid #dee2e6;background:#fff;font-size:20px;font-weight:700}
.tk.on{background:var(--ok);color:#fff;border-color:var(--ok)}
.certpv img{width:100%;border-radius:12px;box-shadow:0 4px 16px rgba(0,0,0,.15);margin-top:8px}
.files{display:grid;gap:10px;margin:10px 0}
.filebtn{display:grid;grid-template-columns:52px 1fr;grid-template-rows:auto auto;align-items:center;background:#fff;border-radius:16px;padding:14px;text-decoration:none;color:var(--ink);box-shadow:0 2px 10px rgba(0,0,0,.07);border-right:6px solid #3b5bdb}
.filebtn span{grid-row:1/3;font-size:34px}
.filebtn b{font-size:19px}
.filebtn small{color:#666}
table.plan{width:100%;border-collapse:collapse;font-size:16px}
.plan td{border-bottom:1px solid #e9ecef;padding:8px 4px;vertical-align:top}
.plan td:first-child{white-space:nowrap;font-weight:700;color:var(--uc);width:56px}
.win{text-align:center;font-weight:700}
.toast{position:fixed;left:50%;bottom:80px;transform:translate(-50%,30px);background:#1d2b53;color:#fff;padding:12px 18px;border-radius:14px;opacity:0;transition:.3s;z-index:50;max-width:90vw;text-align:center}
.toast.show{opacity:1;transform:translate(-50%,0)}
@media (min-width:700px){.units{grid-template-columns:repeat(3,1fr)}.unit-card{flex-direction:column;text-align:center}.grid2{grid-template-columns:repeat(3,1fr)}.cb small{font-size:13px}.cb b{font-size:16px}.dils{grid-template-columns:repeat(3,1fr)}.dil,.dil .inner{min-height:240px}}
@media print{.top,.foot .hb,.pad,.btn{display:none}}
