/* theory-plus.css – לוח המוכנות, חלון ההגשה ודף התוצאות של מבחן התיאוריה */
html body #thReady#thReady{background:linear-gradient(135deg,#0E2A27 0%,#0E4A43 60%,#0E6E68 100%);color:#fff;border-radius:26px;padding:22px;margin:0 0 18px;display:flex;flex-direction:column;gap:18px;box-shadow:0 24px 50px -28px rgba(14,74,67,.7)}
html body #thReady#thReady[hidden]{display:none!important}
html body .thr-top{display:flex;gap:20px;align-items:center;flex-wrap:wrap}
html body .thr-g{width:128px;height:128px;flex:0 0 128px;border-radius:50%;background:conic-gradient(#3FE0B0 calc(var(--p)*1%),rgba(255,255,255,.12) 0);display:flex;align-items:center;justify-content:center}
html body .thr-g>span{width:104px;height:104px;border-radius:50%;background:#0E2F2B;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1}
html body .thr-g b{font:900 34px Rubik,Arial;color:#fff}html body .thr-g small{font:700 12px Assistant,Arial;color:#A8D8CC;margin-top:4px}
html body .thr-v{flex:1 1 260px;display:flex;flex-direction:column;gap:6px;min-width:0}
html body .thr-v>small{font:700 13px Assistant,Arial;color:#3FE0B0}
html body #thReady#thReady .thr-v h2{margin:0!important;font:900 clamp(26px,4vw,36px)/1.1 Rubik,Arial!important;color:#fff!important}
html body .thr-v p{margin:0;font:600 15.5px Assistant,Arial;color:#D2ECE5}
html body .thr-day{display:flex;align-items:center;gap:10px;margin-top:6px;font:600 14px Assistant,Arial;color:#D2ECE5}
html body .thr-day b{color:#fff}html body .thr-day i{flex:1;max-width:220px;height:8px;border-radius:9px;background:rgba(255,255,255,.14);overflow:hidden}html body .thr-day em{display:block;height:100%;background:#FFC94A;border-radius:9px}
html body .thr-cta{display:flex;flex-direction:column;gap:8px;flex:0 1 240px}
html body .thr-b{min-height:50px;border-radius:15px;border:0;padding:0 18px;font:800 16px Assistant,Arial;cursor:pointer}
html body .thr-b.p{background:#3FE0B0;color:#06231B;box-shadow:0 10px 24px rgba(63,224,176,.3)}
html body .thr-b.g{background:rgba(255,255,255,.1);color:#fff;border:1px solid rgba(255,255,255,.25)}
html body .thr-path{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}
html body .thr-path button{width:100%;height:100%;text-align:right;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:16px;padding:12px;display:flex;flex-direction:column;gap:5px;color:#fff;cursor:pointer;font:inherit}
html body .thr-path li.cur button{background:rgba(63,224,176,.16);border-color:#3FE0B0;box-shadow:0 0 0 3px rgba(63,224,176,.18)}
html body .thr-path li.done button{background:rgba(63,224,176,.1)}
html body .thr-n{width:28px;height:28px;border-radius:50%;background:rgba(255,255,255,.14);display:flex;align-items:center;justify-content:center;font:800 14px Rubik,Arial}
html body .thr-path li.cur .thr-n,html body .thr-path li.done .thr-n{background:#3FE0B0;color:#06231B}
html body .thr-path b{font:800 14.5px Assistant,Arial}html body .thr-path small{font:600 12px Assistant,Arial;color:#A8D8CC}
html body .thr-path i{height:5px;border-radius:9px;background:rgba(255,255,255,.14);overflow:hidden;margin-top:auto}html body .thr-path em{display:block;height:100%;background:#3FE0B0}
html body .thr-ch{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px 16px;font:600 13.5px Assistant,Arial;color:#A8C7BF}
html body .thr-ch li.ok{color:#3FE0B0}
html body .thchal{background:#FFF4D6;color:#5A3A00;border:1px solid #F3D27A;border-radius:16px;padding:12px 16px;margin:0 0 12px;font:600 15px Assistant,Arial}
@media(max-width:1100px){html body .thr-path{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:860px){html body .thr-path{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){html body #thReady#thReady{padding:16px;border-radius:22px}html body .thr-g{width:100px;height:100px;flex-basis:100px}html body .thr-g>span{width:80px;height:80px}html body .thr-g b{font-size:26px}html body .thr-cta{flex:1 1 100%}html body .thr-path{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* submit dialog */
html body #dlg#dlg{position:fixed;inset:0;z-index:200;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(8,20,18,.55);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
html body #dlg#dlg[hidden]{display:none!important}
html body #dlg#dlg>.card{width:min(460px,100%);border-radius:24px;padding:24px 22px 20px;background:#fff;box-shadow:0 30px 70px -20px rgba(0,0,0,.45);border:0;display:flex;flex-direction:column;gap:14px;animation:thPop .18s ease-out}
@keyframes thPop{from{transform:translateY(10px) scale(.97);opacity:0}to{transform:none;opacity:1}}
html body #dlg#dlg #dlgT{margin:0;font:900 24px Rubik,Arial;color:#0F2A26;display:flex;align-items:center;gap:10px}
html body #dlg#dlg[data-kind=submit] #dlgT::before{content:"";width:40px;height:40px;flex:0 0 40px;border-radius:12px;background:#E3F2EE url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E6E68' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='4' width='14' height='17' rx='2'/%3E%3Cpath d='M9 4V3h6v1M9 12l2 2 4-4'/%3E%3C/svg%3E") center/24px no-repeat}
html body #dlg#dlg #dlgP{margin:0;font:600 15px/1.6 Assistant,Arial;color:#4A5A55;display:flex;flex-direction:column;gap:12px}
html body #dlg#dlg .sb-bar{display:block;height:10px;border-radius:9px;background:#EAF0EE;overflow:hidden}html body #dlg#dlg .sb-bar i{display:block;height:100%;background:#0E6E68;border-radius:9px}
html body #dlg#dlg .sb-st{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
html body #dlg#dlg .sb-st>span{background:#F4F7F6;border-radius:14px;padding:10px 6px;display:flex;flex-direction:column;align-items:center;font:700 12px Assistant,Arial;color:#5B6B66;text-align:center}
html body #dlg#dlg .sb-st b{font:900 22px Rubik,Arial;color:#12211D}
html body #dlg#dlg .sb-st .ok{background:#E6F4EE}html body #dlg#dlg .sb-st .ok b{color:#0A5A48}
html body #dlg#dlg .sb-st .warn{background:#FDF0DC}html body #dlg#dlg .sb-st .warn b{color:#9A4A04}
html body #dlg#dlg .sb-st .flag{background:#EEE8FD}html body #dlg#dlg .sb-st .flag b{color:#5B3CC4}
html body #dlg#dlg .sb-note{font:600 14px Assistant,Arial;color:#4A5A55}
html body #dlg#dlg .ctrl{display:flex;flex-direction:row-reverse;gap:10px;margin-top:4px!important}
html body #dlg#dlg .ctrl .btn{flex:1;min-height:52px;border-radius:15px;font:800 16px Assistant,Arial}
@media(max-width:420px){html body #dlg#dlg .sb-st{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* results */
html body #vRes#vRes .rx.rx{display:flex!important;gap:24px!important;align-items:center!important;flex-wrap:wrap!important;border-radius:26px!important;padding:24px!important;margin-bottom:16px!important;color:#fff!important;background:linear-gradient(135deg,#0E2A27,#0E6E68)!important;box-shadow:0 24px 50px -28px rgba(14,74,67,.7)!important}
html body #vRes#vRes .rx.rx.fail{background:linear-gradient(135deg,#2A1A12,#7A3E1A)!important}
html body #vRes#vRes .rx .rx-time{width:100%!important;margin:0!important;font:700 14px Assistant,Arial!important;color:#FFE1B0!important}
html body #vRes#vRes .rx .rx-ring{width:150px!important;height:150px!important;flex:0 0 150px!important;border-radius:50%!important;position:relative!important;background:conic-gradient(var(--rc,#3FE0B0) calc(var(--p)*1%),rgba(255,255,255,.14) 0)!important;display:flex!important;align-items:center!important;justify-content:center!important}
html body #vRes#vRes .rx.rx.fail .rx-ring{--rc:#FFB36B!important}
html body #vRes#vRes .rx .rx-ring>span{width:122px!important;height:122px!important;border-radius:50%!important;background:rgba(0,0,0,.28)!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;line-height:1!important}
html body #vRes#vRes .rx .rx-ring b{font:900 46px Rubik,Arial!important;color:#fff!important}html body #vRes#vRes .rx .rx-ring small{font:700 13px Assistant,Arial!important;color:rgba(255,255,255,.75)!important;margin-top:4px!important}
html body #vRes#vRes .rx .rx-txt{flex:1 1 280px!important;display:flex!important;flex-direction:column!important;gap:10px!important;min-width:0!important}
html body #vRes#vRes .rx .rx-badge{align-self:flex-start!important;background:rgba(255,255,255,.14)!important;border-radius:999px!important;padding:4px 12px!important;font:800 13px Assistant,Arial!important}
html body #vRes#vRes .rx .rx-txt h2{margin:0!important;font:900 clamp(24px,3.6vw,32px)/1.15 Rubik,Arial!important;color:#fff!important}
html body #vRes#vRes .rx .rx-st{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
html body #vRes#vRes .rx .rx-st>span{background:rgba(255,255,255,.1)!important;border-radius:12px!important;padding:6px 12px!important;font:700 13px Assistant,Arial!important;display:flex!important;align-items:baseline!important;gap:6px!important}
html body #vRes#vRes .rx .rx-st b{font:900 20px Rubik,Arial!important}html body #vRes#vRes .rx .rx-st .g b{color:#7CF0CC!important}html body #vRes#vRes .rx .rx-st .r b{color:#FFB3A7!important}html body #vRes#vRes .rx .rx-st .y b{color:#FFE08A!important}
html body #vRes#vRes .rx .rx-meter{position:relative!important;display:block!important;height:10px!important;border-radius:9px!important;background:rgba(255,255,255,.14)!important}
html body #vRes#vRes .rx .rx-meter i{display:block!important;height:100%!important;border-radius:9px!important;background:var(--rc,#3FE0B0)!important}html body #vRes#vRes .rx.rx.fail .rx-meter i{background:#FFB36B!important}
html body #vRes#vRes .rx .rx-meter em{position:absolute!important;top:-4px!important;bottom:-4px!important;width:3px!important;border-radius:2px!important;background:#fff!important;transform:translateX(50%)!important}
html body #vRes#vRes .rx .rx-note{margin:0!important;font:600 13px Assistant,Arial!important;color:rgba(255,255,255,.75)!important}
html body #vRes#vRes .rx .rx-chal{align-self:flex-start!important;min-height:46px!important;padding:0 18px!important;border-radius:14px!important;background:#25D366!important;color:#06301A!important;font:800 15px Assistant,Arial!important;display:inline-flex!important;align-items:center!important;text-decoration:none!important}
html body #vRes#vRes .sec h2{font:900 21px Rubik,Arial!important;color:#12211D!important;margin:6px 0 10px!important}
html body #vRes#vRes .wi{border-radius:18px!important;border:1px solid #E3E9E7!important;background:#fff!important;padding:16px!important;display:flex;flex-direction:column;gap:6px}
html body #vRes#vRes .wi .q{font:800 16px Assistant,Arial!important;color:#12211D!important}
html body #vRes#vRes .wi .y,html body #vRes#vRes .wi .c{border-radius:10px;padding:7px 10px;font:700 14.5px Assistant,Arial!important}
html body #vRes#vRes .wi .y{background:#FBE4E4;color:#9B1C1C!important}html body #vRes#vRes .wi .c{background:#E6F4EE;color:#0A5A48!important}
html body #vRes#vRes .wi .y::before{content:"✗  "}html body #vRes#vRes .wi .c::before{content:"✓  "}
html body #vRes#vRes .wi .e{font:500 14px/1.6 Assistant,Arial!important;color:#4A5A55!important}
@media(max-width:560px){html body #vRes#vRes .rx.rx{padding:18px!important;gap:16px!important;justify-content:center!important}html body #vRes#vRes .rx .rx-ring{width:124px!important;height:124px!important;flex-basis:124px!important}html body #vRes#vRes .rx .rx-ring>span{width:100px!important;height:100px!important}html body #vRes#vRes .rx .rx-ring b{font-size:38px!important}}

html body #vRes#vRes .rx .rx-share{display:flex!important;flex-wrap:wrap!important;gap:8px!important;align-items:center!important}
html body #vRes#vRes .rx .rx-sh2{min-height:46px!important;padding:0 16px!important;border-radius:14px!important;background:rgba(255,255,255,.12)!important;color:#fff!important;border:1px solid rgba(255,255,255,.3)!important;font:800 15px Assistant,Arial!important;display:inline-flex!important;align-items:center!important;text-decoration:none!important;cursor:pointer!important}
