@font-face{font-family:Cairo;font-style:normal;font-weight:400 800;font-display:swap;src:url(cairo-ar.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:Cairo;font-style:normal;font-weight:400 800;font-display:swap;src:url(cairo-lat.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
html,body,#root{margin:0;min-height:100%}body{background:var(--ds-page)}.qb-root{--qb-green: #2f9e6e;--qb-green-deep: #0f5e45;--qb-green-soft: #e6f5ed;--qb-teal: #1a9e9a;--qb-teal-bright: #5ee0d6;--qb-teal-soft: #e0f5f4;--qb-blue: #3b7fd0;--qb-blue-soft: #e5eefb;--qb-coral: #e9674d;--qb-coral-soft: #fdebe6;--qb-amber: #f0b13a;--qb-amber-soft: #fdf3dc;--qb-purple: #8e6bbf;--qb-purple-soft: #f0eafa;--qb-rose: #c94f7c;--qb-rose-soft: #fbe9f1;--qb-ink: #1f2a26;--qb-mut: #5d6b65;display:flex;flex-direction:column;gap:20px;color:var(--qb-ink);font-family:inherit}.qb-root *{box-sizing:border-box}.qb-root button{font:inherit;cursor:pointer}.qb-hero{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 20px;border-radius:24px;color:#fff;background:radial-gradient(circle at 15% 20%,rgba(94,224,214,.35),transparent 45%),radial-gradient(circle at 90% 90%,rgba(240,177,58,.28),transparent 40%),linear-gradient(135deg,#0f5e45,#1a8a68 55%,#1a9e9a);overflow:hidden}.qb-hero h1{margin:8px 0 6px;font-size:26px;line-height:1.25;font-weight:600;letter-spacing:0}.qb-hero p{margin:0;font-size:14px;line-height:24px;opacity:.92;max-width:460px}.qb-badge{display:inline-block;padding:4px 12px;border-radius:999px;background:#ffffff2e;font-size:12px}.qb-robot{flex:none;width:92px;height:92px;animation:qb-float 4s ease-in-out infinite}@keyframes qb-float{50%{transform:translateY(-6px)}}.qb-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.qb-stat{display:flex;flex-direction:column;align-items:center;gap:4px;padding:12px 6px;border-radius:18px;background:var(--qb-green-soft);text-align:center}.qb-stat:nth-child(2){background:var(--qb-blue-soft)}.qb-stat:nth-child(3){background:var(--qb-amber-soft)}.qb-stat:nth-child(4){background:var(--qb-coral-soft)}.qb-stat strong{font-size:24px;line-height:40px;font-weight:600}.qb-stat span{font-size:12px;color:var(--qb-mut);line-height:16px}.qb-ring{position:relative;display:grid;place-items:center}.qb-ring b{position:absolute;font-size:13px;font-weight:600}.qb-h{margin:6px 0 -6px;font-size:18px;font-weight:600}.qb-units,.qb-terms{display:grid;gap:10px}@media(min-width:720px){.qb-terms{grid-template-columns:repeat(3,1fr)}}.qb-unit{display:flex;align-items:center;gap:14px;width:100%;padding:14px;text-align:start;border:2px solid transparent;border-radius:20px;background:var(--s);color:var(--qb-ink);transition:transform .15s,border-color .15s,box-shadow .15s;min-height:64px}.qb-unit:hover{transform:translateY(-2px)}.qb-unit.is-on{border-color:var(--c);box-shadow:0 6px 18px #00000014}.qb-unit-num{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:var(--c);color:#fff;font-size:18px;font-weight:600}.qb-unit b{display:block;font-size:15px;line-height:22px}.qb-unit small{display:block;font-size:12px;color:var(--qb-mut);line-height:18px}.qb-chips{display:flex;flex-wrap:wrap;gap:8px}.qb-chip{min-height:44px;padding:8px 14px;border-radius:999px;border:1.5px solid #d9e6df;background:#fff;color:var(--qb-ink);font-size:13px;transition:all .15s}.qb-chip.is-on{background:var(--qb-green);border-color:var(--qb-green);color:#fff}.qb-kinds{display:grid;gap:10px;grid-template-columns:1fr}.qb-kind{display:flex;align-items:center;gap:12px;padding:12px 14px;min-height:64px;text-align:start;border-radius:18px;border:2px solid #e5eee9;background:#fff;color:var(--qb-ink);transition:all .15s}.qb-kind.is-on{border-color:var(--c);background:color-mix(in srgb,var(--c) 9%,#fff)}.qb-kind-ic{flex:none;display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:color-mix(in srgb,var(--c) 16%,#fff);color:var(--c)}.qb-kind.is-on .qb-kind-ic{background:var(--c);color:#fff}.qb-kind b{display:block;font-size:14px;line-height:22px}.qb-kind small{display:block;font-size:12px;color:var(--qb-mut);line-height:18px}.qb-go{min-height:52px;padding:12px 26px;border:0;border-radius:16px;background:linear-gradient(135deg,#1a8a68,#2f9e6e);color:#fff;font-size:16px;font-weight:600;box-shadow:0 6px 16px #2f9e6e59;transition:transform .15s,opacity .15s}.qb-go:hover:not(:disabled){transform:translateY(-1px)}.qb-go:disabled{opacity:.45;box-shadow:none;cursor:default}.qb-ghost{min-height:52px;padding:12px 18px;border-radius:16px;border:1.5px solid #cfe0d7;background:#fff;color:var(--qb-ink);font-size:14px}.qb-note{margin:0;font-size:12px;color:var(--qb-mut);line-height:20px;text-align:center}.qb-card{animation:qb-in .35s ease;border-radius:24px;border:2px solid var(--s);background:#fff;padding:16px;display:flex;flex-direction:column;gap:14px;box-shadow:0 10px 30px #0000000d;border-top:6px solid var(--c)}@keyframes qb-in{0%{opacity:0;transform:translateY(10px)}}.qb-card-top{display:flex;flex-wrap:wrap;gap:6px}.qb-tag{padding:4px 10px;border-radius:999px;font-size:12px;line-height:18px;background:#f1f5f3;color:var(--qb-mut)}.qb-tag-unit{background:var(--s);color:var(--c);font-weight:600}.qb-lvl-think{background:var(--qb-amber-soft);color:#9a6a05}.qb-lvl-apply{background:var(--qb-blue-soft);color:#28629f}.qb-qn{margin:0;font-size:12px;color:var(--qb-mut)}.qb-q{margin:-8px 0 0;font-size:18px;line-height:30px;font-weight:600;letter-spacing:0;font-family:inherit}.qb-opts{display:grid;gap:10px}.qb-opts.is-tf{grid-template-columns:1fr 1fr}.qb-opt{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:10px 12px;text-align:start;border:2px solid #e1ebe6;border-radius:16px;background:#fff;color:var(--qb-ink);font-size:15px;line-height:24px;transition:all .18s}.qb-opt:hover:not(:disabled){border-color:var(--c);background:var(--s);transform:translate(-2px)}.qb-opt-l{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#eef4f1;font-weight:600;font-size:14px}.qb-opt.is-right{border-color:var(--qb-green);background:#e3f6ec;animation:qb-pop .35s}.qb-opt.is-right .qb-opt-l{background:var(--qb-green);color:#fff}.qb-opt.is-wrong{border-color:var(--qb-coral);background:var(--qb-coral-soft);animation:qb-shake .35s}.qb-opt.is-wrong .qb-opt-l{background:var(--qb-coral);color:#fff}.qb-opt.is-dim{opacity:.55}@keyframes qb-pop{50%{transform:scale(1.02)}}@keyframes qb-shake{25%{transform:translate(5px)}75%{transform:translate(-5px)}}.qb-expl{border-radius:18px;padding:14px;animation:qb-in .3s ease}.qb-expl.is-ok{background:#e3f6ec}.qb-expl.is-bad{background:#fff2dd}.qb-expl p{margin:6px 0 0;font-size:14px;line-height:24px}.qb-expl-h{display:flex;align-items:center;gap:8px;font-weight:600;font-size:15px}.qb-expl.is-ok .qb-expl-h{color:var(--qb-green-deep)}.qb-expl.is-bad .qb-expl-h{color:#a35a00}.qb-ta{width:100%;padding:14px;border-radius:16px;border:2px solid #dce8e2;font:inherit;font-size:15px;line-height:26px;resize:vertical;color:var(--qb-ink);background:#fbfdfc}.qb-ta:focus{outline:none;border-color:var(--c)}.qb-grade{display:flex;flex-direction:column;gap:12px;animation:qb-in .35s ease}.qb-grade-h{display:flex;align-items:center;gap:14px;padding:12px;border-radius:18px;background:var(--qb-green-soft)}.qb-grade-h strong{display:block;font-size:16px}.qb-grade-h small{color:var(--qb-mut);font-size:12px}.qb-grade-note{margin:0;padding:10px 12px;border-radius:12px;background:var(--qb-amber-soft);font-size:13px}.qb-pts{list-style:none;margin:0;padding:0;display:grid;gap:8px}.qb-pts li{display:flex;gap:8px;align-items:flex-start;padding:10px 12px;border-radius:14px;font-size:14px;line-height:22px}.qb-pts li svg{flex:none;margin-top:2px}.qb-pts .is-hit{background:#e3f6ec;color:var(--qb-green-deep)}.qb-pts .is-miss{background:var(--qb-coral-soft);color:#a23b26}.qb-model{padding:14px;border-radius:18px;background:var(--qb-blue-soft)}.qb-model b{color:#28629f}.qb-model p{margin:6px 0 0;font-size:14px;line-height:26px}.qb-fine{margin:0;font-size:12px;color:var(--qb-mut)}.qb-actions{display:flex;gap:10px;justify-content:space-between;flex-wrap:wrap}.qb-actions .qb-go{flex:1 1 160px}@media(min-width:768px){.qb-hero{padding:30px 32px}.qb-hero h1{font-size:34px}.qb-robot{width:128px;height:128px}.qb-units,.qb-kinds{grid-template-columns:repeat(2,1fr)}.qb-card{padding:24px}.qb-q{font-size:21px;line-height:34px}}@media(max-width:400px){.qb-stats{grid-template-columns:repeat(2,1fr)}.qb-opts.is-tf{grid-template-columns:1fr}.qb-robot{width:72px;height:72px}.qb-hero h1{font-size:22px}}@media(prefers-reduced-motion:reduce){.qb-root *{animation:none!important;transition:none!important}}.qb-thinking{display:flex;align-items:center;gap:8px;margin:12px 0;padding:12px 14px;border-radius:14px;background:var(--qb-teal-soft);color:var(--qb-green-deep);font-weight:600}.qb-thinking i{width:9px;height:9px;border-radius:50%;background:var(--qb-teal);animation:qbp 1s infinite ease-in-out}.qb-thinking i:nth-child(2){animation-delay:.15s;background:var(--qb-amber)}.qb-thinking i:nth-child(3){animation-delay:.3s;background:var(--qb-coral)}@keyframes qbp{0%,80%,to{transform:scale(.6);opacity:.5}40%{transform:scale(1.1);opacity:1}}.qb-sec{margin:12px 0;padding:12px 14px;border-radius:14px;border-inline-start:5px solid var(--qb-teal);background:var(--qb-teal-soft)}.qb-sec.is-bad{border-color:var(--qb-coral);background:var(--qb-coral-soft)}.qb-sec.is-miss{border-color:var(--qb-amber);background:#fff7e3}.qb-sec>b{display:block;margin-bottom:6px}.qb-wrong{margin-top:8px;padding-top:8px;border-top:1px dashed rgba(0,0,0,.12)}.qb-wrong:first-of-type{border-top:0;padding-top:0}.qb-wrong blockquote{margin:0 0 6px;padding:6px 10px;border-radius:10px;background:#ffffffb3;font-style:normal;color:#8a3b2a}.qb-wrong p{margin:4px 0}@media(prefers-reduced-motion:reduce){.qb-thinking i{animation:none}}:root{--ds-page: #fcfbf9;color-scheme:light only}html,body{color-scheme:light only}html{-webkit-text-size-adjust:100%}body{font-family:Cairo,Tajawal,Segoe UI,Tahoma,Noto Naskh Arabic,sans-serif;line-height:1.7;color:#1f2a26}.qb-shell{max-width:980px;margin:0 auto;padding:64px 14px 48px}.qb-tools{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.qb-tool{display:flex;flex-direction:column;gap:4px;padding:14px;text-align:start;border:2px solid transparent;border-radius:18px;background:var(--s);color:var(--qb-ink);transition:transform .15s;border-top:5px solid var(--c)}.qb-tool:hover{transform:translateY(-2px)}.qb-tool b{font-size:15px;font-weight:700}.qb-tool small{font-size:12px;color:var(--qb-mut);line-height:18px}.qb-notice{margin:0;padding:10px 14px;border-radius:14px;background:var(--qb-amber-soft);font-size:14px}.qb-weak{padding:14px;border-radius:18px;background:#fff;border:1px solid rgba(0,0,0,.08);display:grid;gap:8px}.qb-weak-r{display:grid;grid-template-columns:1fr 90px 40px;gap:10px;align-items:center;font-size:13px}.qb-weak-b{height:8px;border-radius:8px;background:#00000014;overflow:hidden}.qb-weak-b i{display:block;height:100%;background:var(--qb-coral);border-radius:8px}.qb-weak-r em{font-style:normal;font-weight:600;text-align:end}.qb-link{align-self:center;border:0;background:none;color:var(--qb-mut);text-decoration:underline;font-size:13px;padding:6px}@media(max-width:640px){.qb-tools{grid-template-columns:1fr}.qb-stats{grid-template-columns:repeat(2,1fr)}}.qb-bot-fab{position:fixed;z-index:50;inset-inline-start:14px;bottom:14px;display:flex;align-items:center;gap:8px;padding:12px 16px;border:0;border-radius:999px;background:linear-gradient(135deg,#0f5e45,#1a9e9a);color:#fff;font-weight:700;font-size:15px;box-shadow:0 8px 22px #0f5e4559;cursor:pointer;font-family:inherit}.qb-bot{position:fixed;z-index:60;inset-inline-start:12px;bottom:12px;width:min(400px,calc(100vw - 24px));height:min(560px,calc(100dvh - 24px));display:flex;flex-direction:column;border-radius:22px;background:#fff;box-shadow:0 14px 44px #00000047;overflow:hidden;font-family:inherit;color:#1f2a26}.qb-bot-h{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;background:linear-gradient(135deg,#0f5e45,#1a8a68 60%,#1a9e9a);color:#fff}.qb-bot-h b{display:block;font-size:16px}.qb-bot-h small{font-size:12px;opacity:.9}.qb-bot-h button{border:0;background:#fff3;color:#fff;width:34px;height:34px;border-radius:50%;font-size:16px;cursor:pointer}.qb-bot-body{flex:1;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:10px;background:#f6faf8}.qb-bot-welcome p{margin:0 0 10px;font-size:14px}.qb-bot-sug{display:grid;gap:8px}.qb-bot-sug button{text-align:start;padding:10px 12px;border-radius:14px;border:1px solid #cfe6dc;background:#fff;font:inherit;font-size:13px;color:#0f5e45;cursor:pointer}.qb-bot-m{max-width:92%;padding:10px 13px;border-radius:16px;font-size:14px;line-height:1.75;overflow-wrap:anywhere}.qb-bot-m p{margin:0 0 4px}.qb-bot-m p:last-child{margin-bottom:0}.qb-bot-m.is-me{align-self:flex-start;background:#0f5e45;color:#fff;border-end-start-radius:4px}.qb-bot-m.is-bot{align-self:flex-end;background:#fff;border:1px solid #dcebe4;border-end-end-radius:4px}.qb-bot-li{display:flex;gap:8px;margin:2px 0}.qb-bot-gap{height:6px}.qb-bot-think{margin:0;padding:4px 6px;background:none}.qb-bot-f{display:flex;gap:8px;padding:10px;border-top:1px solid #e3eee8;background:#fff;align-items:flex-end}.qb-bot-f textarea{flex:1;resize:none;border:1px solid #cfe0d8;border-radius:14px;padding:10px 12px;font:inherit;font-size:14px;max-height:100px;min-height:44px}.qb-bot-f button{height:44px;padding:0 16px;border:0;border-radius:14px;background:#2f9e6e;color:#fff;font:inherit;font-weight:700;cursor:pointer}.qb-bot-f button:disabled{opacity:.45;cursor:default}.qb-bot-foot{display:flex;justify-content:space-between;gap:8px;padding:6px 12px 10px;font-size:11px;color:#5d6b65;background:#fff}.qb-bot-foot button{border:0;background:none;color:#5d6b65;text-decoration:underline;font:inherit;font-size:11px;cursor:pointer}.qb-ex{display:flex;flex-direction:column;gap:14px}.qb-h2{margin:6px 0 -4px;font-size:15px;font-weight:600}.qb-ex-bar{position:sticky;top:0;z-index:20;display:grid;grid-template-columns:1fr auto;gap:6px 12px;align-items:center;padding:12px 14px 0;border-radius:18px;background:linear-gradient(135deg,#0f5e45,#1a8a68);color:#fff;overflow:hidden}.qb-ex-bar.is-warn{background:linear-gradient(135deg,#b9770e,#e0952a)}.qb-ex-bar.is-crit{background:linear-gradient(135deg,#b3321f,#e9674d);animation:qbp2 1s infinite}@keyframes qbp2{50%{opacity:.85}}.qb-ex-bar-t b{display:block;font-size:16px}.qb-ex-bar-t small{font-size:12px;opacity:.92}.qb-ex-clock{display:flex;flex-direction:column;align-items:center;line-height:1.2}.qb-ex-clock span{font-size:11px;opacity:.9}.qb-ex-clock strong{font-size:28px;font-weight:800;font-variant-numeric:tabular-nums}.qb-ex-clock.big{margin:14px auto;padding:14px 28px;border-radius:18px;background:var(--qb-blue-soft);color:#1d4f8a}.qb-ex-clock.big strong{font-size:40px}.qb-ex-prog{grid-column:1 / -1;height:5px;margin:6px -14px 0;background:#ffffff40}.qb-ex-prog i{display:block;height:100%;background:#fff;transition:width .5s linear}.qb-ex-grid{display:flex;flex-wrap:wrap;gap:6px}.qb-ex-grid button{width:38px;height:38px;border-radius:12px;border:2px solid #d6e3dc;background:#fff;font:inherit;font-weight:600;color:#1f2a26;cursor:pointer}.qb-ex-grid button.is-ans{background:#e6f5ed;border-color:#2f9e6e}.qb-ex-grid button.is-cur{outline:3px solid #1a9e9a;outline-offset:1px}.qb-opt.is-pick{border-color:#1a9e9a;background:#e0f5f4;box-shadow:0 0 0 2px #1a9e9a inset}.qb-ex-submit{padding:14px;border-radius:16px;border:2px dashed #2f9e6e;background:#fff;color:#0f5e45;font:inherit;font-weight:700;cursor:pointer}.qb-ex-state{text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px;padding:28px 18px}.qb-ex-state h2{margin:0;font-size:24px}.qb-ex-state p{margin:0}.qb-ex-state.is-wait h2{color:#1d4f8a}.qb-ex-state.is-closed h2{color:#b3321f}.qb-ex-state.is-open h2{color:#0f5e45}.qb-badge-g{background:#2f9e6e;color:#fff}.qb-ex-facts{list-style:none;margin:4px 0;padding:0;display:grid;gap:4px}.qb-ex-wait{padding:30px 16px}.qb-ex-home{align-self:center}.qb-modal{position:fixed;inset:0;z-index:80;display:grid;place-items:center;background:#00000073;padding:16px}.qb-modal-c{width:min(420px,100%);padding:20px;border-radius:20px;background:#fff}.qb-modal-c h3{margin:0 0 8px}.qb-ex-score{display:flex;align-items:center;gap:16px;padding:18px;border-radius:22px;background:linear-gradient(135deg,#e6f5ed,#e0f5f4)}.qb-ex-score h2{margin:0 0 4px;font-size:20px}.qb-ex-big{margin:0;font-size:18px}.qb-ex-sub{margin:4px 0 0;font-size:13px;color:var(--qb-mut)}.qb-ex-ring{flex:none;display:grid;place-items:center;width:96px;height:96px;border-radius:50%;background:conic-gradient(var(--rc) calc(var(--p) * 360deg),rgba(0,0,0,.08) 0);position:relative}.qb-ex-ring:before{content:"";position:absolute;inset:9px;border-radius:50%;background:#fff}.qb-ex-ring b{position:relative;font-size:22px}.qb-ex-ring.g{--rc: #2f9e6e}.qb-ex-ring.a{--rc: #f0b13a}.qb-ex-ring.c{--rc: #e9674d}.qb-rev.is-ok{border-inline-start:6px solid #2f9e6e}.qb-rev.is-part{border-inline-start:6px solid #f0b13a}.qb-rev.is-bad{border-inline-start:6px solid #e9674d}.qb-lvl-ok{background:#e6f5ed;color:#0f5e45}.qb-lvl-no{background:#fdebe6;color:#a8321f}.qb-opt:disabled{cursor:default}div.qb-opt{cursor:default}.qb-privacy{margin:0;padding:8px 12px;border-radius:12px;background:#f3f6f4;color:#5d6b65;font-size:12px;line-height:20px}.qb-bot-foot{align-items:flex-start}.qb-hero-lite{padding-block:26px}.qb-subj-grid,.qb-sec-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.qb-subj,.qb-secc{box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--c) 35%,transparent);position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-height:150px;padding:16px;text-align:start;border:2px solid transparent;border-radius:24px;background:var(--s);color:var(--qb-ink);transition:transform .18s,box-shadow .18s;animation:qb-rise .26s both}.qb-subj:hover,.qb-secc:hover:not(:disabled){transform:translateY(-3px);box-shadow:0 10px 22px #00000017}.qb-subj:active,.qb-secc:active:not(:disabled){transform:scale(.97)}.qb-subj-ic{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:var(--c);color:#fff;font-size:20px;font-weight:700}.qb-subj b,.qb-secc b{font-size:18px;line-height:26px}.qb-secc b{font-size:15px}.qb-subj small,.qb-secc small{font-size:12px;line-height:18px;color:var(--qb-mut)}.qb-soon{position:absolute;top:12px;inset-inline-end:12px;font-style:normal;font-size:11px;padding:2px 8px;border-radius:999px;background:#fff;color:var(--qb-mut)}.qb-secc{min-height:132px}.qb-secc-ic{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:var(--c);color:#fff}.qb-secc.is-off{opacity:.55;cursor:not-allowed}.qb-bar{display:flex;align-items:center;gap:12px;position:sticky;top:0;z-index:5;padding:10px 4px;background:#fff}.qb-bar h2{margin:0;font-size:18px}.qb-back{min-height:44px;padding:8px 14px;border-radius:999px;border:1.5px solid #d9e6df;background:#fff;color:var(--qb-ink);font-size:14px}.qb-search{width:100%;min-height:48px;padding:10px 14px;border-radius:16px;border:2px solid #dce8e2;font:inherit;font-size:15px}.qb-acc{border-radius:18px;background:#f6faf8;border:1.5px solid #e3ede8;overflow:hidden}.qb-acc-h{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:56px;padding:12px 14px;border:0;background:transparent;color:var(--qb-ink);text-align:start;font-size:15px;font-weight:600}.qb-acc-h small{color:var(--qb-mut);font-weight:400}.qb-acc-b{display:grid;gap:8px;padding:0 12px 12px;animation:qb-rise .3s both}.qb-concept{padding:10px 12px;border-radius:14px;background:#fff}.qb-concept b{color:var(--qb-green-deep)}.qb-concept p{margin:4px 0 0;font-size:14px;line-height:24px}@keyframes qb-rise{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.qb-subj,.qb-secc,.qb-acc-b{animation:none}}.qb-prog{height:6px;border-radius:999px;background:#e8f0ec;overflow:hidden}.qb-prog i{display:block;height:100%;background:var(--qb-green);transition:width .4s ease}@media(min-width:720px){.qb-sec-grid{grid-template-columns:repeat(3,1fr)}}@media(min-width:1000px){.qb-subj-grid{grid-template-columns:repeat(4,1fr)}.qb-subj{min-height:190px}}@media(max-width:359px){.qb-subj-grid,.qb-sec-grid{grid-template-columns:1fr}.qb-subj,.qb-secc{min-height:110px}}@media(max-width:420px){.qb-subj,.qb-secc{padding:12px}.qb-subj b{font-size:16px}}.qb-shell{padding-bottom:env(safe-area-inset-bottom)}.qb-chipacc{margin-top:10px;min-height:40px;padding:6px 16px;border-radius:999px;border:1.5px solid rgba(255,255,255,.7);background:#ffffff26;color:#fff;font-size:14px}.qb-cert{width:100%;height:auto;border-radius:12px;border:1px solid #e3ede8;margin-top:12px}.qb-dl{display:block;text-align:center;margin-top:10px;text-decoration:none}.qb-table{display:grid;gap:6px}.qb-trow{display:grid;grid-template-columns:2fr 1fr 1fr 2fr;gap:8px;align-items:center;padding:8px 10px;border-radius:12px;background:#f6faf8;font-size:14px}@media(max-width:520px){.qb-trow{grid-template-columns:1fr 1fr}}.qb-opt-in{display:flex;gap:8px;align-items:center;margin-top:12px;font-size:14px}.qb-opt-in input{width:20px;height:20px}.qb-outc{padding:10px 12px;border-radius:14px;background:var(--qb-amber-soft)}.qb-outc ul{margin:6px 0 0;padding-inline-start:20px;font-size:14px;line-height:24px}.qb-menubtn{position:fixed;inset-inline-start:14px;top:14px;z-index:60;width:48px;height:48px;border-radius:14px;border:1.5px solid #d9e6df;background:#fff;color:var(--qb-ink);font-size:20px;box-shadow:0 4px 14px #00000014}.qb-drawer-bg{position:fixed;inset:0;z-index:70;background:#00000059}.qb-drawer{position:fixed;inset-inline-start:0;top:0;bottom:0;z-index:80;width:min(78vw,300px);background:#fff;padding:16px;display:flex;flex-direction:column;gap:6px;transform:translate(105%);transition:transform .25s ease;box-shadow:4px 0 24px #00000026}[dir=rtl] .qb-drawer{transform:translate(105%)}.qb-drawer.is-open{transform:none!important}.qb-drawer-h{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.qb-drawer-x{width:40px;height:40px;border-radius:12px;border:1px solid #d9e6df;background:#fff;font-size:18px}.qb-drawer-i{min-height:52px;text-align:start;padding:12px 14px;border-radius:14px;border:0;background:transparent;color:var(--qb-ink);font-size:15px}.qb-drawer-i:active{background:#f0f6f2}.qb-load{display:flex;flex-direction:column;align-items:center;gap:12px;padding:64px 18px;text-align:center}.qb-load p{margin:0;font-size:16px;color:var(--qb-ink)}.qb-load small{color:#5d7568;font-size:13px}.qb-spin{width:40px;height:40px;border-radius:50%;border:4px solid #dbe8e1;border-top-color:var(--qb-green);animation:qb-spin .8s linear infinite}@keyframes qb-spin{to{transform:rotate(360deg)}}.qb-print-head{display:none}.qb-print-btn{border-style:dashed}@media print{body *{visibility:hidden!important}.qb-print-area,.qb-print-area *{visibility:visible!important}.qb-print-area{position:absolute;inset-inline-start:0;top:0;width:100%;padding:0!important;margin:0!important;background:#fff!important}.qb-print-area .qb-chips,.qb-print-area .qb-notice,.qb-print-btn,.qb-print-area .qb-bar{display:none!important}.qb-print-head{display:block!important;margin:0 0 10px;border-bottom:2px solid #000;padding-bottom:6px}.qb-print-head b{display:block;font-size:15pt}.qb-print-head span{display:block;font-size:10pt;margin-top:2px}.qb-print-head small{display:block;font-size:8pt;color:#444;margin-top:4px}.qb-print-area .qb-acc{box-shadow:none!important;border:1px solid #999!important;margin:0 0 10px!important;break-inside:auto}.qb-print-area .qb-acc-h{background:#eee!important;color:#000!important;border-radius:0!important}.qb-print-area .qb-acc-b{display:block!important;padding:6px 8px!important}.qb-print-area .qb-concept{break-inside:avoid;page-break-inside:avoid;box-shadow:none!important;margin-bottom:8px!important}.qb-print-area .qb-concept p{background:#f2f2f2!important}@page{margin:12mm}}.qb-hubsearch{margin:4px 0 14px}.qb-hubsearch .qb-search{margin:0 0 10px}.qb-hits{background:#fff;border:1px solid #e7ecef;border-radius:14px;padding:12px 14px}.qb-hits-n{margin:0 0 10px;font-size:13px;color:#667}.qb-hit-g{margin-bottom:12px}.qb-hit-g h4{margin:0 0 6px;font-size:14px;color:#0f6b52}.qb-hit-g h4 small{color:#8a97a0;font-weight:500;margin-inline-start:4px}.qb-hit{display:flex;gap:8px;width:100%;text-align:start;background:#f7faf9;border:1px solid #e7ecef;border-radius:10px;padding:8px 10px;margin-bottom:6px;font:inherit;font-size:13.5px;color:#223;cursor:pointer;line-height:1.6}.qb-hit:hover{background:#eef7f3;border-color:#bfe3d5}.qb-hit-l{flex:0 0 auto;font-size:11.5px;color:#0f6b52;background:#e3f4ec;border-radius:6px;padding:1px 6px;height:fit-content}.qb-hit-more{display:block;font-size:12px;color:#8a97a0}.qb-webform{display:flex;gap:8px;margin:6px 0 10px}.qb-webform .qb-search{margin:0;flex:1 1 auto}.qb-webgo{flex:0 0 auto;border:0;border-radius:12px;padding:0 18px;font:inherit;font-weight:700;color:#fff;background:var(--qb-green-deep);cursor:pointer}.qb-webgo:disabled{opacity:.55;cursor:default}.qb-webres{margin-top:12px}.qb-webcard{background:#fff;border:1px solid #e7ecef;border-radius:14px;padding:12px 14px;margin-bottom:10px}.qb-webcard a{color:#0f6b52;text-decoration:none;font-size:15px;line-height:1.5}.qb-webcard a:hover{text-decoration:underline}.qb-webhost{display:block;color:#8a97a0;font-size:12px;margin:3px 0 6px;direction:ltr;text-align:start}.qb-webcard p{margin:0;font-size:13.5px;line-height:1.75;color:#334}.qb-vid{display:inline-flex;align-self:flex-start;width:fit-content;max-width:100%;align-items:center;gap:7px;margin:6px 0 10px;padding:10px 16px;border-radius:999px;background:var(--qb-coral-soft);color:#b8402a;border:1.5px solid rgba(233,103,77,.38);font-weight:700;font-size:14.5px;line-height:1.4;text-decoration:none}.qb-vid:hover{background:#fbd9d0}.qb-vid span{font-size:11px;opacity:.85}.qb-topnav{display:none}@media(min-width:800px){.qb-topnav{display:flex;align-items:center;justify-content:space-between;gap:12px;position:fixed;inset-inline:0;top:0;height:58px;padding:0 24px;background:#fcfbf9f0;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid #e6efe9;z-index:45}.qb-brand{border:0;background:none;font:inherit;font-weight:700;font-size:15px;color:#0f5e45;padding:8px 4px}.qb-topnav-l{display:flex;gap:4px}.qb-topnav-i{min-height:40px;padding:6px 14px;border-radius:999px;border:0;background:none;font:inherit;font-size:14px;color:#1f2a26}.qb-topnav-i:hover{background:#eef5f0}.qb-menubtn{display:none}.qb-bar,.qb-ex-bar{top:58px}.qb-shell{padding-top:80px}}.qb-foot{margin-top:30px;padding:18px 4px 8px;border-top:1px solid #e6efe9;display:grid;gap:8px;justify-items:center}.qb-foot-l{display:flex;flex-wrap:wrap;gap:4px 14px;justify-content:center}.qb-foot-l a{color:#0f5e45;font-size:13px;text-decoration:none;padding:8px 4px}.qb-foot-l a:hover{text-decoration:underline}.qb-foot p{margin:0;font-size:12px;color:#5d6b65;text-align:center;line-height:1.9}.qb-steps{display:grid;gap:10px;grid-template-columns:1fr}@media(min-width:720px){.qb-steps{grid-template-columns:repeat(3,1fr)}}.qb-step{display:flex;gap:12px;align-items:flex-start;padding:14px;border-radius:18px;background:#fff;border:1.5px solid #e6efe9}.qb-step>span{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--qb-green-soft);color:var(--qb-green-deep);font-weight:700}.qb-step b{display:block;font-size:15px;line-height:24px}.qb-step small{display:block;font-size:12.5px;color:#5d6b65;line-height:1.8}.qb-hub-g{display:grid;gap:8px}.qb-hub-g .qb-h2{margin:4px 2px 0;font-size:15px;color:#0f5e45}.qb-note{font-size:13px}.qb-chip{font-size:14px}.qb-theme{min-height:40px;min-width:44px;padding:6px 12px;border-radius:999px;border:1.5px solid #d9e6df;background:#fff;font:inherit;font-size:15px;line-height:1}.qb-theme:hover{background:#eef5f0}.qb-drawer-theme{margin-top:4px;border:1.5px dashed #d9e6df}html[data-theme=dark]{color-scheme:dark}html[data-theme=dark],html[data-theme=dark] body{background:#0e1513;color:#e9f2ee}html[data-theme=dark] .qb-root{--qb-green-soft: #14302a;--qb-teal-soft: #0f3230;--qb-blue-soft: #16283e;--qb-coral-soft: #3a231d;--qb-amber-soft: #32280f;--qb-purple-soft: #241c34;--qb-rose-soft: #341b26;--qb-ink: #e9f2ee;--qb-mut: #9db3ab}html[data-theme=dark] .qb-card{background:#16211e;color:#e9f2ee;box-shadow:0 10px 30px #00000059}html[data-theme=dark] .qb-chip,html[data-theme=dark] .qb-kind,html[data-theme=dark] .qb-ghost,html[data-theme=dark] .qb-opt,html[data-theme=dark] .qb-search,html[data-theme=dark] .qb-back,html[data-theme=dark] .qb-step,html[data-theme=dark] .qb-weak,html[data-theme=dark] .qb-modal-c,html[data-theme=dark] .qb-menubtn,html[data-theme=dark] .qb-drawer,html[data-theme=dark] .qb-drawer-x,html[data-theme=dark] .qb-ex-grid button,html[data-theme=dark] .qb-ex-submit,html[data-theme=dark] .qb-hits,html[data-theme=dark] .qb-webcard,html[data-theme=dark] .qb-bot,html[data-theme=dark] .qb-bot-f,html[data-theme=dark] .qb-bot-foot,html[data-theme=dark] .qb-bot-m.is-bot,html[data-theme=dark] .qb-concept,html[data-theme=dark] .qb-bar,html[data-theme=dark] .qb-theme{background:#16211e;color:#e9f2ee;border-color:#2a3835}html[data-theme=dark] .qb-theme:hover{background:#1c2b27}html[data-theme=dark] .qb-ta{background:#131d1b;color:#e9f2ee;border-color:#2a3835}html[data-theme=dark] .qb-acc{background:#131d1b;border-color:#26332f}html[data-theme=dark] .qb-tag,html[data-theme=dark] .qb-opt-l,html[data-theme=dark] .qb-privacy,html[data-theme=dark] .qb-trow,html[data-theme=dark] .qb-hit,html[data-theme=dark] .qb-soon{background:#1c2b27;color:#c8d8d2}html[data-theme=dark] .qb-hit{border-color:#2a3835}html[data-theme=dark] .qb-hit:hover{background:#22332e}html[data-theme=dark] .qb-hit-l{background:#17332a;color:#7fe0b8}html[data-theme=dark] .qb-hit-g h4{color:#7fe0b8}html[data-theme=dark] .qb-bot-body{background:#0f1816}html[data-theme=dark] .qb-expl.is-ok,html[data-theme=dark] .qb-opt.is-right,html[data-theme=dark] .qb-ex-grid button.is-ans,html[data-theme=dark] .qb-pts .is-hit,html[data-theme=dark] .qb-lvl-ok{background:#17332a}html[data-theme=dark] .qb-expl.is-bad{background:#35291a}html[data-theme=dark] .qb-opt.is-wrong,html[data-theme=dark] .qb-pts .is-miss,html[data-theme=dark] .qb-lvl-no{background:#3a231d}html[data-theme=dark] .qb-opt.is-pick{background:#0f3230}html[data-theme=dark] .qb-ex-score{background:linear-gradient(135deg,#14302a,#0f3230)}html[data-theme=dark] .qb-ex-ring:before{background:#16211e}html[data-theme=dark] .qb-ex-ring{background:conic-gradient(var(--rc) calc(var(--p) * 360deg),rgba(255,255,255,.12) 0)}html[data-theme=dark] .qb-prog{background:#223330}html[data-theme=dark] .qb-weak-b{background:#ffffff1f}html[data-theme=dark] .qb-wrong{border-top-color:#ffffff24}html[data-theme=dark] .qb-wrong blockquote{background:#ffffff14;color:#ffb1a0}html[data-theme=dark] .qb-thinking,html[data-theme=dark] .qb-expl.is-ok .qb-expl-h{color:#7fe0b8}html[data-theme=dark] .qb-expl.is-bad .qb-expl-h{color:#f0b866}html[data-theme=dark] .qb-lvl-think{background:#32280f;color:#f0c874}html[data-theme=dark] .qb-lvl-apply{background:#16283e;color:#8fc0ff}html[data-theme=dark] .qb-lvl-no{color:#ff9b82}html[data-theme=dark] .qb-model b{color:#8fc0ff}html[data-theme=dark] .qb-vid{color:#ff9b82;border-color:#e9674d80}html[data-theme=dark] .qb-vid:hover{background:#45291f}html[data-theme=dark] .qb-bot-sug button{background:#16211e;border-color:#2a3835;color:#7fe0b8}html[data-theme=dark] .qb-bot-f textarea{background:#131d1b;color:#e9f2ee;border-color:#2a3835}html[data-theme=dark] .qb-foot-l a{color:#7fe0b8}html[data-theme=dark] .qb-foot p{color:#9db3ab}html[data-theme=dark] .qb-topnav{background:#0e1513f0;border-bottom-color:#26332f}html[data-theme=dark] .qb-brand{color:#7fe0b8}html[data-theme=dark] .qb-topnav-i{color:#e9f2ee}html[data-theme=dark] .qb-topnav-i:hover{background:#1c2b27}html[data-theme=dark] .qb-step>span{background:#14302a;color:#7fe0b8}html[data-theme=dark] .qb-hub-g .qb-h2{color:#7fe0b8}html[data-theme=dark] .qb-outc{color:#e9f2ee}html[data-theme=dark] .qb-notice{color:#f0dcb4}html[data-theme=dark] .qb-concept b{color:#7fe0b8}html[data-theme=dark] .qb-card-top .qb-tag-unit{background:#1c2b27}@media print{html[data-theme=dark] body,html[data-theme=dark] .qb-print-area,html[data-theme=dark] .qb-print-area *{background:#fff!important;color:#000!important}}html[data-theme=dark] .qb-foot{border-top-color:#26332f}html[data-theme=dark] .qb-drawer-theme{border-color:#2a3835}html[data-theme=dark] .qb-chip:hover{background:#1c2b27}html[data-theme=dark] .qb-search::placeholder{color:#7f938c}.qb-dash{display:flex;flex-direction:column;gap:10px;padding:14px;border-radius:22px;background:linear-gradient(180deg,#fff,#f7fbf9);border:1.5px solid #e2eee8}.qb-dash-h{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.qb-dash-h b{font-size:16px}.qb-dash-h small{font-size:12px;color:var(--qb-mut)}.qb-dash-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.qb-dash-s{display:flex;flex-direction:column;align-items:center;gap:2px;padding:10px 4px;border-radius:16px;background:var(--qb-green-soft);text-align:center}.qb-dash-s.is-b{background:var(--qb-blue-soft)}.qb-dash-s.is-c{background:var(--qb-amber-soft)}.qb-dash-s.is-d{background:var(--qb-purple-soft)}.qb-dash-s strong{font-size:22px;line-height:30px;font-weight:600}.qb-dash-s strong em{font-size:13px;font-style:normal;color:var(--qb-mut)}.qb-dash-s span{font-size:11px;line-height:15px;color:var(--qb-mut)}.qb-chart-w{display:flex;flex-direction:column;gap:4px}.qb-chart-h{font-size:11px;color:var(--qb-mut)}.qb-chart{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;align-items:end}.qb-chart-c{display:grid;grid-template-rows:42px auto;justify-items:center;gap:4px;min-width:0}.qb-chart-t{position:relative;width:100%;max-width:34px;height:42px;background:#e8f0ec;border-radius:8px;overflow:hidden}.qb-chart-t i{position:absolute;bottom:0;left:0;width:100%;background:#d7e5de;border-radius:8px 8px 0 0;transition:height .4s ease}.qb-chart-c.is-on .qb-chart-t i{background:linear-gradient(180deg,#2f9e6e,#1a9e9a)}.qb-chart-c em{font-style:normal;font-size:10px;line-height:1.2;text-align:center;color:var(--qb-mut)}.qb-continue{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:56px;padding:10px 14px;border-radius:18px;border:2px solid var(--qb-teal);background:var(--qb-teal-soft);color:var(--qb-ink);text-align:start}.qb-continue small{display:block;font-size:11px;color:var(--qb-mut)}.qb-continue b{font-size:14px}.qb-continue i{font-style:normal;font-size:22px;color:var(--qb-teal)}.qb-timer{display:flex;flex-direction:column;gap:8px;padding:12px;border-radius:18px;background:var(--qb-blue-soft)}.qb-timer-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.qb-timer-mid{flex:1 1 120px;display:flex;flex-direction:column;gap:4px;min-width:0}.qb-timer-mid b{font-size:13px}.qb-timer-mid small{font-size:11px;line-height:15px;color:var(--qb-mut)}.qb-timer-btn{min-height:40px;padding:6px 16px;border-radius:12px;border:0;background:linear-gradient(135deg,#1a8a68,#2f9e6e);color:#fff;font-size:13px;font-weight:600}.qb-timer-btn.is-stop{background:#fff;color:var(--qb-ink);border:1.5px solid #cfe0d7}.qb-timer-btn.is-ghost{background:none;color:var(--qb-mut);text-decoration:underline;padding:6px 4px}.qb-timer-h b{font-size:14px;display:block}.qb-timer-h small{font-size:11px;color:var(--qb-mut)}.qb-timer-t{font-size:34px;font-weight:600;letter-spacing:1px;text-align:center;font-variant-numeric:tabular-nums}.qb-timer-b{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.qb-timer-go{min-height:44px;padding:8px 18px;font-size:14px}.qb-timer .qb-prog{background:#ffffffbf}.qb-cards-h{display:flex;align-items:center;justify-content:space-between;font-size:13px;color:var(--qb-mut)}.qb-flip{display:block;width:100%;min-height:250px;padding:18px 16px;border-radius:24px;border:2px solid var(--qb-purple-soft);border-top:6px solid var(--qb-purple);background:linear-gradient(160deg,#fff,#f7f3fd);text-align:center;color:var(--qb-ink);box-shadow:0 10px 28px #0000000f;transition:transform .15s}.qb-flip:active{transform:scale(.99)}.qb-flip span{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:200px}.qb-flip small{font-size:12px;color:var(--qb-mut)}.qb-flip b{font-size:24px;line-height:36px;font-weight:600}.qb-flip p{margin:0;font-size:15px;line-height:26px;text-align:start}.qb-flip em{font-style:normal;font-size:11px;color:var(--qb-purple)}.qb-flip.is-back{background:linear-gradient(160deg,#f0eafa,#fff);border-color:var(--qb-purple)}.qb-cards-b{display:grid;grid-template-columns:1fr 1fr;gap:10px}.qb-cards-b .qb-go,.qb-cards-b .qb-ghost{min-height:52px}@media(max-width:420px){.qb-dash-grid{grid-template-columns:repeat(2,1fr)}}.qb-install{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 14px;border-radius:18px;background:var(--qb-amber-soft);border:1.5px solid #f0d79a}.qb-install span{flex:1 1 180px;display:flex;flex-direction:column;gap:2px;min-width:0}.qb-install b{font-size:14px}.qb-install small{font-size:11px;line-height:15px;color:var(--qb-mut)}.qb-install-b{min-height:40px;padding:6px 18px;font-size:13px}html[data-theme=dark] .qb-dash{background:#16211e;border-color:#26332f}html[data-theme=dark] .qb-chart-t{background:#1c2b27}html[data-theme=dark] .qb-chart-t i{background:#2a3a35}html[data-theme=dark] .qb-continue{color:#e9f2ee}html[data-theme=dark] .qb-timer{background:#16283e}html[data-theme=dark] .qb-timer-btn.is-stop{background:#16211e;color:#e9f2ee;border-color:#2a3835}html[data-theme=dark] .qb-install{border-color:#4a3c18}html[data-theme=dark] .qb-timer .qb-prog{background:#0f1a26}html[data-theme=dark] .qb-flip{background:#16211e;border-color:#2a3835;color:#e9f2ee;box-shadow:0 10px 28px #00000059}html[data-theme=dark] .qb-flip.is-back{background:#241c34;border-color:var(--qb-purple)}
/* === look B === */
html[data-theme=dark]{color-scheme:dark;--b-bg:#071310;--b-pnl:#0e1f1a;--b-pnl2:#12261f;--b-ln:rgba(255,255,255,.08);--b-txt:#eaf5f0;--b-mut:#8fa8a0;--b-acc:#22c58b;--b-acc2:#7ee2b8;--b-on:#04120d}
html[data-theme=dark],html[data-theme=dark] body{background:radial-gradient(900px 420px at 85% -10%,rgba(34,197,139,.16),transparent 70%),#071310;color:#eaf5f0}
html[data-theme=dark] .qb-root{--qb-ink:#eaf5f0;--qb-mut:#8fa8a0;--qb-green:#22c58b;--qb-green-deep:#0e9c68;--qb-green-soft:#12261f;--qb-teal:#1fc7a8;--qb-teal-bright:#7ee2b8;--qb-teal-soft:#102b25;--qb-blue:#7aa2ff;--qb-blue-soft:#132236;--qb-coral:#ff8f6b;--qb-coral-soft:#2a1a14;--qb-amber:#f0b429;--qb-amber-soft:#2a2110;--qb-purple:#a98bff;--qb-purple-soft:#1e1830;--qb-rose:#ff7fa8;--qb-rose-soft:#2a1620;color:#eaf5f0}
html[data-theme=dark] .qb-card,html[data-theme=dark] .qb-dash,html[data-theme=dark] .qb-modal-c{background:#0e1f1a;border:1px solid rgba(255,255,255,.08);border-radius:20px;box-shadow:0 12px 32px rgba(0,0,0,.38);color:#eaf5f0}
html[data-theme=dark] .qb-card{border-top:6px solid var(--c)}
html[data-theme=dark] .qb-topnav{background:rgba(7,19,16,.88);backdrop-filter:blur(12px);border-bottom:1px solid rgba(255,255,255,.08)}
html[data-theme=dark] .qb-brand{color:#7ee2b8}
html[data-theme=dark] .qb-topnav-i{color:#cfe6dd}
html[data-theme=dark] .qb-topnav-i:hover{color:#fff;background:rgba(34,197,139,.12)}
html[data-theme=dark] .qb-go{background:linear-gradient(160deg,#2ee39c,#0e9c68);color:#04120d;font-weight:800;border:0;border-radius:14px;box-shadow:0 10px 26px rgba(34,197,139,.28)}
html[data-theme=dark] .qb-go:disabled{opacity:.45;box-shadow:none}
html[data-theme=dark] .qb-chip{background:#12261f;border:1px solid rgba(255,255,255,.1);color:#d7ece3;border-radius:12px}
html[data-theme=dark] .qb-chip.is-on{background:linear-gradient(160deg,#2ee39c,#0e9c68);color:#04120d;border-color:transparent;font-weight:700}
html[data-theme=dark] .qb-search{background:#12261f;border:1px solid rgba(255,255,255,.1);color:#eaf5f0;border-radius:14px}
html[data-theme=dark] .qb-search::placeholder{color:#7f978f}
html[data-theme=dark] .qb-back{background:#12261f;border-color:rgba(255,255,255,.1);color:#cfe6dd}
html[data-theme=dark] .qb-hero{background:linear-gradient(150deg,#123026,#0c1d18 60%);border:1px solid rgba(34,197,139,.22);border-radius:22px}
html[data-theme=dark] .qb-badge{background:rgba(34,197,139,.16);color:#9df0c9}
html[data-theme=dark] .qb-dash-s{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:16px;color:#eaf5f0}
html[data-theme=dark] .qb-dash-s strong{color:#fff;font-weight:800}
html[data-theme=dark] .qb-dash-s span,html[data-theme=dark] .qb-dash-s em{color:#8fa8a0}
html[data-theme=dark] .qb-dash-h b{color:#fff}
html[data-theme=dark] .qb-prog{background:rgba(255,255,255,.08)}
html[data-theme=dark] .qb-prog i{background:linear-gradient(90deg,#2ee39c,#0e9c68)}
html[data-theme=dark] .qb-chart-t{background:rgba(255,255,255,.06)}
html[data-theme=dark] .qb-chart-t i{background:rgba(255,255,255,.16)}
html[data-theme=dark] .qb-chart-c.is-on .qb-chart-t i{background:linear-gradient(180deg,#2ee39c,#0e9c68);box-shadow:0 6px 18px rgba(34,197,139,.3)}
html[data-theme=dark] .qb-chart-h,html[data-theme=dark] .qb-chart-c em{color:#8fa8a0}
html[data-theme=dark] .qb-continue{background:rgba(34,197,139,.1);border:1px solid rgba(34,197,139,.35);color:#eaf5f0;border-radius:16px}
html[data-theme=dark] .qb-continue small{color:#8fa8a0}
html[data-theme=dark] .qb-continue b{color:#fff}
html[data-theme=dark] .qb-timer{background:#0e1f1a;border:1px solid rgba(255,255,255,.08)}
html[data-theme=dark] .qb-timer-t{color:#7ee2b8}
html[data-theme=dark] .qb-timer-btn{background:#12261f;border-color:rgba(255,255,255,.1);color:#d7ece3}
html[data-theme=dark] .qb-timer-btn.is-stop{background:rgba(255,143,107,.16);color:#ffb1a0;border-color:rgba(255,143,107,.35)}
html[data-theme=dark] .qb-foot{border-top:1px solid rgba(255,255,255,.08)}
html[data-theme=dark] .qb-foot-l a,html[data-theme=dark] .qb-foot p{color:#8fa8a0}
html[data-theme=dark] .qb-menubtn{background:#12261f;border-color:rgba(255,255,255,.12);color:#eaf5f0}
.qb-botbar{display:none}
@media(max-width:799px){
 .qb-botbar{display:flex;position:fixed;inset:auto 0 0 0;z-index:58;justify-content:space-around;align-items:center;padding:8px 6px 12px;background:rgba(10,24,20,.96);border-top:1px solid rgba(255,255,255,.1);backdrop-filter:blur(10px)}
 .qb-botbar button{display:flex;flex-direction:column;align-items:center;gap:3px;background:none;border:0;color:#8fa8a0;font-size:10.5px;font-family:inherit;padding:2px 6px}
 .qb-botbar button.is-on{color:#7ee2b8}
 .qb-botbar svg{width:21px;height:21px}
 .qb-shell{padding-bottom:96px}
}
html[data-theme=light] .qb-botbar{background:rgba(255,255,255,.97);border-top:1px solid #e6efe9}
html[data-theme=light] .qb-botbar button{color:#5d6b65}
html[data-theme=light] .qb-botbar button.is-on{color:#1a8a68}
html[data-theme=dark] .qb-install{background:rgba(240,180,41,.1);border-color:rgba(240,180,41,.28);color:#f3dfae}
html[data-theme=dark] .qb-install small{color:#cbb98a}
html[data-theme=dark] .qb-link{color:#f0c874}
html[data-theme=dark] .qb-step{background:#12261f;border-color:rgba(255,255,255,.08);color:#dfeee7}
html[data-theme=dark] .qb-step b{color:#fff}
html[data-theme=dark] .qb-step small{color:#93a8a1}
html[data-theme=dark] .qb-notice{background:rgba(240,180,41,.12);color:#f3dfae}
html[data-theme=dark] .qb-tag{background:rgba(255,255,255,.06);color:#b9cdc6}
html[data-theme=dark] .qb-sec{background:rgba(34,197,139,.08);color:#dfeee7}
html[data-theme=dark] .qb-note,html[data-theme=dark] .qb-sub,html[data-theme=dark] .qb-root small{color:#93a8a1}
html[data-theme=dark] .qb-secc small{color:#b7cbc3}
html[data-theme=dark] .qb-secc b{color:#fff}
html[data-theme=dark] .qb-hub-g h3,html[data-theme=dark] .qb-hits-n,html[data-theme=dark] .qb-hit-g h4{color:#c9dcd4}
html[data-theme=dark] .qb-subj small{color:#b7cbc3}
html[data-theme=dark] .qb-opt{background:#12261f;border-color:rgba(255,255,255,.1);color:#eaf5f0}
html[data-theme=dark] .qb-q{color:#fff}
html[data-theme=dark] .qb-stat{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08)}
html[data-theme=dark] .qb-stat strong{color:#fff}
html[data-theme=dark] .qb-stat span{color:#93a8a1}
html[data-theme=dark] .qb-stat .qb-ring b{color:#fff}
html[data-theme=dark] .qb-tool{background:#12261f;border:1px solid rgba(255,255,255,.08);border-top:3px solid var(--c)}
html[data-theme=dark] .qb-tool b{color:#fff}
html[data-theme=dark] .qb-tool small{color:#a9bfb7}
html[data-theme=dark] .qb-weak{background:#0e1f1a;border-color:rgba(255,255,255,.08)}

/* === look C — ألوان حيّة، حركة، وخط أوضح === */
:root{--qb-ink:#0f1f19;--lc-mint:#2ee39c;--lc-deep:#0e9c68;--lc-amber:#f5b640;--lc-coral:#ff7a59;--lc-violet:#8b7bf7}

html{font-size:17px}
body{font-size:16.5px;line-height:1.95}

.qb-q{font-size:20.5px;line-height:1.75;font-weight:800;color:#0f1f19}
.qb-note{font-size:14px;line-height:1.9}
.qb-root small{font-size:13.5px;line-height:1.85}

/* كروت ملوّنة وحيّة */
.qb-card{
  border-radius:26px;
  padding:18px;
  border:2px solid #e6f0ea;
  border-top:7px solid var(--c, var(--lc-deep));
  background:linear-gradient(180deg,color-mix(in srgb,var(--c,#2ee39c) 9%,#fff),#fff 42%);
  box-shadow:0 14px 34px rgba(15,31,25,.07);
  animation:qb-rise .4s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes qb-rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes qb-pop{0%{transform:scale(.82);opacity:0}60%{transform:scale(1.05)}100%{transform:scale(1);opacity:1}}
@keyframes qb-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@keyframes qb-shine{0%{background-position:0% 50%}100%{background-position:200% 50%}}

/* أسئلة أوضح وأكبر */
.qb-opt{
  font-size:16.5px;line-height:1.7;font-weight:600;min-height:64px;padding:14px 16px;
  border-radius:20px;border:2px solid #e1ebe6;background:#fff;
  box-shadow:0 3px 0 rgba(15,31,25,.04);
  transition:transform .16s,border-color .16s,box-shadow .16s,background .16s;
  animation:qb-rise .34s both;
}
.qb-opt:hover{transform:translateY(-2px);border-color:var(--lc-mint);box-shadow:0 10px 22px rgba(14,156,104,.14)}
.qb-opt:active{transform:scale(.985)}
.qb-opt:nth-child(2){animation-delay:.03s}
.qb-opt:nth-child(3){animation-delay:.06s}
.qb-opt:nth-child(4){animation-delay:.09s}
.qb-opt:nth-child(5){animation-delay:.12s}

/* أزرار حيّة */
.qb-go{
  font-size:17px;font-weight:800;border-radius:18px;min-height:54px;
  background:linear-gradient(135deg,#37e6a4,#0e9c68);
  box-shadow:0 10px 24px rgba(14,156,104,.3);
  transition:transform .14s,box-shadow .14s,filter .14s;
}
.qb-go:hover{filter:brightness(1.04);transform:translateY(-1px)}
.qb-go:active{transform:scale(.97)}
.qb-chip{font-size:14px;font-weight:600;min-height:46px;border-radius:16px;transition:all .15s}
.qb-chip:active{transform:scale(.96)}
.qb-chip.is-on{background:linear-gradient(135deg,#37e6a4,#0e9c68);color:#04120d;border-color:transparent;box-shadow:0 6px 16px rgba(14,156,104,.25)}

/* ترويسة اليوم */
.qb-hero{border-radius:26px;box-shadow:0 16px 36px rgba(9,60,45,.18)}

/* مهام الخطة */
.qb-task{display:flex;flex-direction:column;gap:10px;padding:14px;border-radius:22px;border:2px solid #e6f0ea;background:#fff;animation:qb-rise .32s both;transition:border-color .2s,background .2s}
.qb-task-top{display:flex;gap:10px;align-items:flex-start}
.qb-task-time{min-width:96px;font-size:13.5px;font-weight:800;color:#0e9c68;background:#e9faf2;border-radius:12px;padding:4px 8px;text-align:center}
.qb-task-body{flex:1}
.qb-task-body b{font-size:15.5px}
.qb-task-body small{display:block;opacity:.85;margin-top:2px}
.qb-task.is-done{border-color:#9ee7c6;background:linear-gradient(180deg,#e9fbf2,#fff)}
.qb-task.is-miss{border-color:#ffd2c4;background:linear-gradient(180deg,#fff2ec,#fff)}
.qb-task-btns{display:flex;gap:8px}
.qb-yes{flex:1;min-height:50px;border:0;border-radius:16px;font-weight:800;font-size:15.5px;color:#04120d;background:linear-gradient(135deg,#3ce9a8,#0e9c68);box-shadow:0 8px 18px rgba(14,156,104,.26);transition:transform .14s}
.qb-yes:active{transform:scale(.97)}
.qb-no{min-height:50px;padding:0 16px;border-radius:16px;border:2px solid #ffd2c4;background:#fff;color:#a3402a;font-weight:700;font-size:14px}
.qb-no:active{transform:scale(.97)}

/* شريط التحفيز */
.qb-motiv{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:14px 16px;border-radius:22px;background:linear-gradient(135deg,#fff8e8,#ffeede);border:2px solid #ffe0b8;font-weight:800;font-size:15px;color:#6b4a12;animation:qb-rise .35s both}
.qb-motiv b{font-size:19px;color:#0e9c68}
.qb-motiv .qb-flame{animation:qb-float 2.2s ease-in-out infinite;display:inline-block}

/* رسالة التشجيع */
.qb-praise{position:fixed;left:0;right:0;top:76px;margin:0 auto;width:min(92%,430px);z-index:70;
  background:linear-gradient(135deg,#3ce9a8,#0e9c68);color:#04120d;font-weight:800;font-size:18px;text-align:center;
  padding:16px 18px;border-radius:22px;box-shadow:0 18px 44px rgba(14,156,104,.38);animation:qb-pop .34s both}
.qb-nudge{position:fixed;left:0;right:0;top:76px;margin:0 auto;width:min(92%,430px);z-index:70;
  background:linear-gradient(135deg,#fff6e4,#ffe9cf);color:#6b4a12;font-weight:700;font-size:15.5px;line-height:1.8;text-align:center;
  padding:16px 18px;border-radius:22px;border:2px solid #ffd8a3;box-shadow:0 18px 44px rgba(120,80,10,.18);animation:qb-pop .34s both}
.qb-burst{position:fixed;left:50%;bottom:120px;z-index:69;pointer-events:none;font-size:22px;animation:qb-fly .95s ease-out forwards}
@keyframes qb-fly{0%{opacity:1;transform:translate(-50%,0) scale(.7)}100%{opacity:0;transform:translate(calc(-50% + var(--dx,0px)),-140px) scale(1.25)}}

/* أرقام وإحصاءات أوضح */
.qb-stat strong{font-size:22px}
.qb-stat span{font-size:12.5px}
.qb-secc b{font-size:16px}

/* جداول المواعيد */
.qb-lesson-row{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px;padding:8px;border-radius:16px;background:#f7fbf9;border:1.5px solid #e6f0ea}
.qb-kind-pill{font-size:12.5px;font-weight:800;padding:2px 10px;border-radius:999px;background:#e9faf2;color:#0e7a52}

@media (prefers-reduced-motion:reduce){
  .qb-card,.qb-opt,.qb-task,.qb-motiv,.qb-praise,.qb-nudge{animation:none!important}
  .qb-motiv .qb-flame{animation:none}
}

/* الوضع الليلي */
html[data-theme=dark] .qb-card{background:linear-gradient(180deg,rgba(46,227,156,.07),#0b1a15 45%);border-color:rgba(255,255,255,.08)}
html[data-theme=dark] .qb-q{color:#f2fbf7}
html[data-theme=dark] .qb-opt{background:#0f241d;border-color:rgba(255,255,255,.1)}
html[data-theme=dark] .qb-task{background:#0f241d;border-color:rgba(255,255,255,.09)}
html[data-theme=dark] .qb-task.is-done{background:linear-gradient(180deg,rgba(46,227,156,.12),#0f241d)}
html[data-theme=dark] .qb-task.is-miss{background:linear-gradient(180deg,rgba(255,122,89,.12),#0f241d)}
html[data-theme=dark] .qb-task-time{background:rgba(46,227,156,.14);color:#8ff0c4}
html[data-theme=dark] .qb-motiv{background:linear-gradient(135deg,#1c2a1f,#182018);border-color:rgba(245,182,64,.28);color:#f0dcb4}
html[data-theme=dark] .qb-nudge{background:linear-gradient(135deg,#1f2a20,#241f18);border-color:rgba(245,182,64,.3);color:#f0dcb4}
html[data-theme=dark] .qb-lesson-row{background:#0e201a;border-color:rgba(255,255,255,.08)}

/* خيارات الإجابة: ألوان واضحة وحروف بارزة */
.qb-opt{padding:12px 14px}
.qb-opt-l{
  flex:0 0 42px;width:42px;height:42px;display:grid;place-items:center;border-radius:14px;
  font-weight:900;font-size:18px;color:#fff;
  background:linear-gradient(140deg,#37e6a4,#0e9c68);
  box-shadow:0 6px 14px rgba(14,156,104,.28);
}
.qb-opt:nth-child(2) .qb-opt-l{background:linear-gradient(140deg,#a99bff,#6f5ae8);box-shadow:0 6px 14px rgba(111,90,232,.28)}
.qb-opt:nth-child(3) .qb-opt-l{background:linear-gradient(140deg,#ffc65c,#ef9d10);box-shadow:0 6px 14px rgba(239,157,16,.28)}
.qb-opt:nth-child(4) .qb-opt-l{background:linear-gradient(140deg,#ff9a7d,#ef5f36);box-shadow:0 6px 14px rgba(239,95,54,.28)}
.qb-opt-t{font-size:16.5px;font-weight:700;line-height:1.7}
.qb-opt:hover{border-color:#bff0da;background:linear-gradient(180deg,#f4fffa,#fff)}

/* زر الإجابة */
.qb-go:disabled{filter:grayscale(.25);opacity:.55;box-shadow:none}

/* === look D: حيوية وحركة ورسومات === */
@keyframes qb-aurora{0%{transform:translate3d(0,0,0) scale(1)}100%{transform:translate3d(-14px,10px,0) scale(1.08)}}
@keyframes qb-sheen{0%{background-position:0% 50%}100%{background-position:220% 50%}}
@keyframes qb-twinkle{0%,100%{opacity:.35;transform:scale(.85) rotate(-6deg)}50%{opacity:1;transform:scale(1.15) rotate(6deg)}}
@keyframes qb-orb{0%{transform:translate3d(0,0,0)}100%{transform:translate3d(10px,18px,0)}}
@keyframes qb-sweep{0%{inset-inline-start:-70%}55%,100%{inset-inline-start:120%}}
@keyframes qb-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@keyframes qb-pop{0%{transform:scale(.6);opacity:0}60%{transform:scale(1.08)}100%{transform:scale(1);opacity:1}}
@keyframes qb-tap{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@keyframes qb-glow{0%,100%{box-shadow:0 8px 18px rgba(14,156,104,.22)}50%{box-shadow:0 12px 26px rgba(14,156,104,.36)}}

/* الهيدر: ألوان متحركة + نجوم */
.qb-hero-lite{position:relative;overflow:hidden;isolation:isolate}
.qb-hero-lite::before{content:'';position:absolute;inset:-30% -12% auto;height:230px;z-index:0;
  background:radial-gradient(58% 68% at 22% 28%,rgba(46,227,156,.34),transparent 70%),radial-gradient(50% 62% at 82% 8%,rgba(255,199,88,.36),transparent 70%),radial-gradient(46% 56% at 62% 88%,rgba(122,178,255,.28),transparent 72%);
  animation:qb-aurora 13s ease-in-out infinite alternate}
.qb-hero-lite::after{content:'';position:absolute;inset:0;z-index:0;opacity:.55;pointer-events:none;
  background-image:radial-gradient(rgba(14,156,104,.18) 1px,transparent 1.7px);background-size:15px 15px;
  -webkit-mask-image:linear-gradient(180deg,#000,transparent 72%);mask-image:linear-gradient(180deg,#000,transparent 72%)}
.qb-hero-text{position:relative;z-index:2}
.qb-hero-text h1{background:linear-gradient(92deg,#fff,#ffe6a8 42%,#fff 68%,#c8ffea);-webkit-background-clip:text;background-clip:text;color:transparent;background-size:240% 100%;animation:qb-sheen 8s linear infinite}
.qb-joy{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden;border-radius:inherit}
.qb-joy-sp{position:absolute;color:#f0a92e;font-size:18px;animation:qb-twinkle 3.6s ease-in-out infinite}
.qb-joy-sp.is-1{top:14px;inset-inline-end:20px}
.qb-joy-sp.is-2{top:70px;inset-inline-end:58px;font-size:12px;animation-delay:1.1s}
.qb-joy-sp.is-3{bottom:26px;inset-inline-start:24px;font-size:14px;animation-delay:1.9s}
.qb-joy-orb{position:absolute;border-radius:50%;filter:blur(16px);opacity:.45;animation:qb-orb 10s ease-in-out infinite alternate}
.qb-joy-orb.is-a{width:130px;height:130px;background:#2ee39c;inset-inline-end:-34px;top:-34px}
.qb-joy-orb.is-b{width:96px;height:96px;background:#ffc758;inset-inline-start:-26px;bottom:-26px;animation-delay:2.4s}

/* تحية متغيّرة */
.qb-joy-hi{display:inline-flex;flex-direction:column;gap:3px;margin:12px 0 8px;padding:9px 13px;border-radius:18px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.28)}
.qb-joy-hi span{font-size:18.5px;font-weight:900;color:#fff;letter-spacing:0;text-shadow:0 2px 10px rgba(0,0,0,.22)}
.qb-joy-hi small{font-size:13.5px;font-weight:700;color:rgba(255,255,255,.94)}

/* كروت المواد: لمعة + أيقونة بتتنفس */
.qb-subj{position:relative;overflow:hidden;transition:transform .22s ease,box-shadow .22s ease}
.qb-subj::after{content:'';position:absolute;top:-10%;bottom:-10%;width:55%;inset-inline-start:-70%;pointer-events:none;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.6),transparent);transform:skewX(-14deg);animation:qb-sweep 6s ease-in-out infinite}
.qb-subj:nth-child(2)::after{animation-delay:1.1s}
.qb-subj:nth-child(3)::after{animation-delay:2.2s}
.qb-subj:nth-child(4)::after{animation-delay:3.3s}
.qb-subj:hover{transform:translateY(-4px) scale(1.015);box-shadow:0 16px 30px rgba(14,156,104,.16)}
.qb-subj-ic{display:inline-block;animation:qb-bob 3.8s ease-in-out infinite}
.qb-subj:nth-child(2) .qb-subj-ic{animation-delay:.6s}
.qb-subj:nth-child(3) .qb-subj-ic{animation-delay:1.2s}
.qb-subj:nth-child(4) .qb-subj-ic{animation-delay:1.8s}

/* أرقام لوحة اليوم */
.qb-dash-s{position:relative;overflow:hidden}
.qb-dash-s strong{display:inline-block;animation:qb-pop .55s cubic-bezier(.2,.9,.3,1.2) both}
.qb-dash-s.is-a strong{animation-delay:.05s}
.qb-dash-s.is-b strong{animation-delay:.12s}
.qb-dash-s.is-c strong{animation-delay:.19s}
.qb-dash-s.is-d strong{animation-delay:.26s}

/* أزرار: لمعة ونبض لطيف */
.qb-yes{position:relative;overflow:hidden;animation:qb-glow 3.2s ease-in-out infinite}
.qb-yes::after{content:'';position:absolute;top:-20%;bottom:-20%;width:45%;inset-inline-start:-60%;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.55),transparent);transform:skewX(-16deg);animation:qb-sweep 4.6s ease-in-out infinite}
.qb-continue{position:relative;overflow:hidden}
.qb-continue::after{content:'';position:absolute;top:-20%;bottom:-20%;width:40%;inset-inline-start:-60%;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.45),transparent);transform:skewX(-16deg);animation:qb-sweep 6.5s ease-in-out infinite}

/* الشريط السفلي */
.qb-botbar button.is-on{animation:qb-tap 2.8s ease-in-out infinite}

/* وضع ليلي */
html[data-theme=dark] .qb-hero-lite::before{opacity:.55}
html[data-theme=dark] .qb-joy-hi span{color:#fff}
html[data-theme=dark] .qb-joy-hi small{color:rgba(255,255,255,.92)}
html[data-theme=dark] .qb-subj::after{background:linear-gradient(100deg,transparent,rgba(255,255,255,.14),transparent)}

@media (prefers-reduced-motion:reduce){
  .qb-hero-lite::before,.qb-hero-text h1,.qb-joy-sp,.qb-joy-orb,.qb-subj::after,.qb-subj-ic,
  .qb-dash-s strong,.qb-yes,.qb-yes::after,.qb-continue::after,.qb-botbar button.is-on{animation:none!important}
}

/* === look E: غرفة المذاكرة === */
.qb-room{padding-bottom:96px}
.qb-rm-demo{margin:8px 0 0;padding:8px 12px;border-radius:12px;background:#fff4d6;border:1px solid #ffe0a3;color:#7a5410;font-size:13px;font-weight:800;text-align:center}

.qb-rm-hero{position:relative;overflow:hidden;margin-top:12px;padding:18px 16px;border-radius:24px;color:#fff;
  background:radial-gradient(circle at 12% 18%,rgba(94,224,214,.32),transparent 46%),radial-gradient(circle at 88% 86%,rgba(240,177,58,.3),transparent 42%),linear-gradient(135deg,#0f5e45,#1a8a68 58%,#1a9e9a)}
.qb-rm-hero h3{margin:8px 0 4px;font-size:21px}
.qb-rm-hero p{margin:0;font-size:14px;line-height:1.8;color:rgba(255,255,255,.94)}
.qb-rm-live{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.28);font-size:12.5px;font-weight:800}
.qb-rm-live i{width:8px;height:8px;border-radius:50%;background:#7dffc0;box-shadow:0 0 0 0 rgba(125,255,192,.7);animation:qb-rm-pulse 2s ease-out infinite}
@keyframes qb-rm-pulse{0%{box-shadow:0 0 0 0 rgba(125,255,192,.65)}70%{box-shadow:0 0 0 10px rgba(125,255,192,0)}100%{box-shadow:0 0 0 0 rgba(125,255,192,0)}}
.qb-rm-hero-art{position:absolute;inset-inline-start:12px;bottom:10px;display:flex;gap:2px;opacity:.28;pointer-events:none}
.qb-rm-hero-art span{font-size:18px;animation:qb-bob 4s ease-in-out infinite}
.qb-rm-hero-t{padding-bottom:22px}

.qb-rm-start{display:flex;flex-direction:column;align-items:center;gap:2px;width:100%;margin:14px 0 4px;padding:15px;border:0;border-radius:20px;color:#fff;font-family:inherit;cursor:pointer;
  background:linear-gradient(135deg,#2ee39c,#0e9c68);box-shadow:0 12px 24px rgba(14,156,104,.28);animation:qb-glow 3.2s ease-in-out infinite}
.qb-rm-start b{font-size:19px}
.qb-rm-start small{font-size:12.5px;opacity:.95}
.qb-rm-start.is-sm{margin:0;flex:1;padding:12px}

.qb-rm-form{display:flex;flex-direction:column;gap:14px}
.qb-rm-l{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:800;color:#17553f}
.qb-rm-l small{font-weight:600;font-size:12px;color:#6b8a7c}
.qb-rm-l .qb-chips{margin:0}
.qb-rm-form-btns{display:flex;gap:8px;align-items:center}
.qb-rm-err{margin:0;color:#a3402a;font-weight:800;font-size:13px}

.qb-rm-me{padding:16px;border-radius:24px;border:2px solid #bff0da;background:linear-gradient(180deg,#f1fdf8,#fff);display:flex;flex-direction:column;gap:10px;align-items:center;margin-top:14px}
.qb-rm-me-top{display:flex;align-items:center;gap:10px;width:100%}
.qb-rm-me-id{flex:1;display:flex;flex-direction:column;gap:2px}
.qb-rm-me-id b{font-size:17px}
.qb-rm-me-id small{font-size:12.5px;color:#5c7d70;font-weight:700}
.qb-rm-clock{font-size:44px;font-weight:900;letter-spacing:1px;color:#0e9c68;font-variant-numeric:tabular-nums}
.qb-rm-dots{display:flex;gap:6px}
.qb-rm-dots i{width:26px;height:6px;border-radius:999px;background:#dcece5}
.qb-rm-dots i.is-on{background:linear-gradient(90deg,#2ee39c,#0e9c68)}
.qb-rm-me-btns{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}

.qb-rm-av{position:relative;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;color:#fff;font-weight:900;flex:none;box-shadow:0 6px 14px rgba(14,60,45,.18)}

.qb-rm-wrap{margin-top:18px}
.qb-rm-h{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:8px}
.qb-rm-h b{font-size:17px}
.qb-rm-h small{font-size:12.5px;color:#6b8a7c;font-weight:700}
.qb-rm-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.qb-rm-desk{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;padding:14px 10px 12px;border-radius:20px;border:2px solid #e6f0ea;background:#fff;font-family:inherit;cursor:pointer;text-align:center;animation:qb-rise .3s both}
.qb-rm-desk b{font-size:15px}
.qb-rm-desk small{font-size:12px;color:#6b8a7c;font-weight:700}
.qb-rm-desk em{font-size:11.5px;font-style:normal;color:#8a9c93;font-weight:700}
.qb-rm-desk.break{border-color:#ffe0a3;background:linear-gradient(180deg,#fffaf0,#fff)}
.qb-rm-desk:active{transform:scale(.985)}
.qb-rm-st{display:inline-block;padding:2px 9px;border-radius:999px;font-size:11.5px;font-weight:800}
.qb-rm-st.focus{background:#e6fbf1;color:#0b7a52}
.qb-rm-st.break{background:#fff3d8;color:#8a5c0c}

.qb-rm-top{margin-top:20px}
.qb-rm-board{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.qb-rm-board li{display:flex;align-items:center;gap:10px;padding:11px 13px;border-radius:16px;background:#fff;border:1.5px solid #e9f1ec;font-size:14px}
.qb-rm-board li.is-1{border-color:#ffdf9e;background:linear-gradient(90deg,#fffaf0,#fff)}
.qb-rm-board li.is-2{border-color:#e3e8ef;background:linear-gradient(90deg,#f8fafc,#fff)}
.qb-rm-board li.is-3{border-color:#ffe0cd;background:linear-gradient(90deg,#fff8f3,#fff)}
.qb-rm-rank{min-width:26px;text-align:center;font-weight:900;color:#5c7d70}
.qb-rm-board b{flex:1;min-width:0;font-size:14.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.qb-rm-min{font-weight:800;color:#0e9c68;font-size:13px;white-space:nowrap;flex:none}
.qb-rm-board small{font-size:11.5px;color:#8a9c93;font-weight:700;white-space:nowrap;flex:none}

.qb-rm-pop-bg{position:fixed;inset:0;z-index:80;background:rgba(8,32,24,.42);display:flex;align-items:flex-end;justify-content:center;animation:qb-fade .18s both}
.qb-rm-pop{width:min(100%,460px);margin:0 8px 12px;padding:18px;border-radius:24px;background:#fff;display:flex;flex-direction:column;align-items:center;gap:8px;animation:qb-rise .22s both}
.qb-rm-pop>b{font-size:18px}
.qb-rm-pop-rows{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:4px 0 6px}
.qb-rm-pop-rows>div{background:#f5faf7;border-radius:14px;padding:9px 11px;display:flex;flex-direction:column;gap:2px}
.qb-rm-pop-rows small{font-size:11.5px;color:#6b8a7c;font-weight:700}
.qb-rm-pop-rows span{font-size:14px;font-weight:800;color:#123f2f}

/* بطاقة الغرفة في الرئيسية */
.qb-rm-banner{display:flex;align-items:center;gap:12px;width:100%;margin:14px 0 4px;padding:14px 16px;border:2px solid #bff0da;border-radius:22px;background:linear-gradient(120deg,#eafaf2,#f7fffb);font-family:inherit;cursor:pointer;text-align:start;animation:qb-rise .35s both}
.qb-rm-banner-ic{font-size:26px;animation:qb-bob 3.6s ease-in-out infinite}
.qb-rm-banner-t{flex:1;display:flex;flex-direction:column;gap:2px}
.qb-rm-banner-t b{font-size:16px;color:#0b5f43}
.qb-rm-banner-t small{font-size:12.5px;color:#5c7d70;font-weight:700}
.qb-rm-banner>i{font-style:normal;font-size:20px;color:#0e9c68;font-weight:900}

html[data-theme=dark] .qb-rm-form,
html[data-theme=dark] .qb-rm-desk,
html[data-theme=dark] .qb-rm-board li,
html[data-theme=dark] .qb-rm-pop{background:#0f241d;border-color:rgba(255,255,255,.1)}
html[data-theme=dark] .qb-rm-l{color:#c9e8da}
html[data-theme=dark] .qb-rm-l small,
html[data-theme=dark] .qb-rm-me-id small,
html[data-theme=dark] .qb-rm-h small,
html[data-theme=dark] .qb-rm-desk small{color:#9db6ab}
html[data-theme=dark] .qb-rm-me{background:linear-gradient(180deg,#10281f,#0d211a);border-color:rgba(46,227,156,.24)}
html[data-theme=dark] .qb-rm-clock{color:#7dffc0}
html[data-theme=dark] .qb-rm-dots i{background:rgba(255,255,255,.12)}
html[data-theme=dark] .qb-rm-pop-rows>div{background:#132b22}
html[data-theme=dark] .qb-rm-pop-rows span{color:#dff6ea}
html[data-theme=dark] .qb-rm-banner{background:linear-gradient(120deg,#10281f,#0d211a);border-color:rgba(46,227,156,.24)}
html[data-theme=dark] .qb-rm-banner-t b{color:#9df0c9}
html[data-theme=dark] .qb-rm-banner-t small{color:#9db6ab}
html[data-theme=dark] .qb-rm-demo{background:#3a2e10;border-color:#5c4a17;color:#ffe0a3}

@media (prefers-reduced-motion:reduce){
  .qb-rm-live i,.qb-rm-hero-art span,.qb-rm-start,.qb-rm-banner-ic,.qb-rm-desk{animation:none!important}
}

/* === look F: تدريب إنجليزي === */
.qb-ed{padding-bottom:96px}
.qb-ed-hero{margin-top:12px;padding:16px;border-radius:24px;border:2px solid #d9e9ff;background:linear-gradient(135deg,#eef6ff,#f7fbff 60%,#f3fff9)}
.qb-ed-hero>b{font-size:19px;color:#124a6b}
.qb-ed-hero p{margin:6px 0 10px;font-size:14px;line-height:1.8;color:#3c5b6d}
.qb-ed-goal{display:flex;flex-direction:column;gap:6px;margin-bottom:10px}
.qb-ed-goal span{font-size:13.5px;font-weight:800;color:#124a6b}
.qb-ed-bar{height:10px;border-radius:999px;background:#dfeefb;overflow:hidden}
.qb-ed-bar i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#3ea0ff,#0e9c68);transition:width .4s ease}
.qb-ed-chips{margin:0}
.qb-ed-start{display:flex;flex-direction:column;align-items:center;gap:2px;width:100%;margin:14px 0 4px;padding:15px;border:0;border-radius:20px;color:#fff;font-family:inherit;cursor:pointer;
  background:linear-gradient(135deg,#3ea0ff,#0e7ad6);box-shadow:0 12px 24px rgba(14,122,214,.26)}
.qb-ed-start b{font-size:19px}
.qb-ed-start small{font-size:12.5px;opacity:.95}

.qb-ed-q{display:flex;flex-direction:column;gap:12px}
.qb-ed-qtop{display:flex;align-items:center;justify-content:space-between}
.qb-ed-qtop small{font-size:12.5px;font-weight:800;color:#6b8a7c}
.qb-ed-qtop span{font-size:11.5px;font-weight:800;color:#0e7ad6;background:#eaf4ff;border-radius:999px;padding:3px 10px}
.qb-ed-txt{margin:0;font-size:17px;font-weight:800;line-height:1.9;color:#123f2f}
.qb-ed-base{margin:0;font-size:13px;color:#5c7d70;font-weight:700}
.qb-ed-fb{padding:12px 14px;border-radius:18px;border:2px solid #dcece5;background:#f6fbf8;display:flex;flex-direction:column;gap:6px}
.qb-ed-fb b{font-size:15.5px}
.qb-ed-fb p{margin:0;font-size:14px;line-height:1.8}
.qb-ed-fb.is-ok{border-color:#9ee7c6;background:linear-gradient(180deg,#e9fbf2,#fff)}
.qb-ed-fb.is-bad{border-color:#ffd2c4;background:linear-gradient(180deg,#fff2ec,#fff)}
.qb-ed-fb.is-warn{border-color:#ffe0a3;background:linear-gradient(180deg,#fff9ec,#fff)}
.qb-ed-ans{font-weight:800;color:#0b7a52;font-size:15px}

.qb-ed-built{min-height:52px;display:flex;flex-wrap:wrap;gap:6px;padding:10px;border-radius:16px;border:2px dashed #bcd9ea;background:#f7fbff;align-items:flex-start}
.qb-ed-hintline{font-size:12.5px;color:#7b95a6;font-weight:700}
.qb-ed-pool{display:flex;flex-wrap:wrap;gap:6px}
.qb-ed-w{padding:8px 12px;border-radius:12px;border:1.5px solid #d6e6f2;background:#fff;font-family:inherit;font-size:14.5px;font-weight:700;cursor:pointer}
.qb-ed-w.is-on{background:#e9f4ff;border-color:#8cc4ee}
.qb-ed-w:active{transform:scale(.97)}

.qb-ed-parts{display:flex;flex-wrap:wrap;gap:6px}
.qb-ed-part{padding:9px 12px;border-radius:12px;border:1.5px solid #d6e6f2;background:#fff;font-family:inherit;font-size:14.5px;font-weight:700;cursor:pointer}
.qb-ed-part.is-bad{border-color:#f3a08a;background:#fff1ec;color:#a3402a}
.qb-ed-part.is-ok{border-color:#9ee7c6;background:#e9fbf2;color:#0b7a52}

.qb-ed-done{display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.qb-ed-done b{font-size:18px}
.qb-ed-done-btns{display:flex;gap:8px}

.qb-ed-write{display:flex;flex-direction:column;gap:10px}
.qb-ed-ta{width:100%;padding:12px;border-radius:14px;border:2px solid #d6e6f2;font-family:inherit;font-size:15px;line-height:1.7;resize:vertical;background:#fff;color:#123f2f}
.qb-ed-ta:focus{outline:none;border-color:#8cc4ee}
.qb-ed-write-btns{display:flex;gap:8px;flex-wrap:wrap}
.qb-ed-issues{list-style:none;margin:4px 0 0;padding:0;display:flex;flex-direction:column;gap:8px}
.qb-ed-issues li{display:flex;flex-direction:column;gap:2px;padding:9px 11px;border-radius:12px;background:#fff;border:1.5px solid #e9f1ec}
.qb-ed-issues li b{font-size:13.5px;color:#a3402a}
.qb-ed-issues li span{font-size:13.5px;color:#33564a}
.qb-ed-issues li em{font-size:13px;font-style:normal;color:#0b7a52;font-weight:700}
.qb-ed-ai{padding:12px 14px;border-radius:18px;border:2px solid #cfe3ff;background:linear-gradient(180deg,#f2f8ff,#fff);display:flex;flex-direction:column;gap:6px}
.qb-ed-ai>b{font-size:15.5px;color:#124a6b}
.qb-ed-ai p{margin:0;font-size:14px;line-height:1.8}
.qb-ed-better{font-weight:700}

html[data-theme=dark] .qb-ed-hero{background:linear-gradient(135deg,#10222e,#0f1f28);border-color:rgba(120,180,255,.22)}
html[data-theme=dark] .qb-ed-hero>b,
html[data-theme=dark] .qb-ed-goal span{color:#a8d6ff}
html[data-theme=dark] .qb-ed-hero p{color:#b6cddb}
html[data-theme=dark] .qb-ed-bar{background:#1b2f3d}
html[data-theme=dark] .qb-ed-txt{color:#dff6ea}
html[data-theme=dark] .qb-ed-base{color:#9db6ab}
html[data-theme=dark] .qb-ed-ta{background:#0f241d;border-color:rgba(255,255,255,.12);color:#e8f6ef}
html[data-theme=dark] .qb-ed-w,
html[data-theme=dark] .qb-ed-part{background:#0f241d;border-color:rgba(255,255,255,.12);color:#e8f6ef}
html[data-theme=dark] .qb-ed-built{background:#10281f;border-color:rgba(255,255,255,.14)}
html[data-theme=dark] .qb-ed-fb{background:#10281f;border-color:rgba(255,255,255,.12)}
html[data-theme=dark] .qb-ed-ai{background:linear-gradient(180deg,#10222e,#0d1c25);border-color:rgba(120,180,255,.22)}
html[data-theme=dark] .qb-ed-ai>b{color:#a8d6ff}
html[data-theme=dark] .qb-ed-issues li{background:#10281f;border-color:rgba(255,255,255,.1)}
html[data-theme=dark] .qb-ed-issues li span{color:#c9e8da}

/* لوحة الاختيارات */
.qb-ed-opts-panel{display:flex;flex-direction:column;gap:14px}
.qb-ed-l{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:800;color:#17553f}
.qb-ed-l .qb-chips{margin:0}
.qb-ed-topicchips{max-height:none}
.qb-ed-count{margin:0;font-size:13.5px;font-weight:700;color:#3c5b6d}
html[data-theme=dark] .qb-ed-l{color:#c9e8da}
html[data-theme=dark] .qb-ed-count{color:#b6cddb}
.qb-ed-quit{margin-inline-start:auto;border:0;background:none;color:#8a9c93;font-family:inherit;font-size:12px;font-weight:800;cursor:pointer;text-decoration:underline;padding:0}
.qb-ed-qtop{gap:8px}

/* GRE */
.qb-gr-hero{background:linear-gradient(135deg,#eef3ff,#f8f9ff 60%,#f3fff9);border-color:#dbe4ff}
.qb-gr-passage{padding:13px 14px;border-radius:16px;border:2px solid #e3e9f5;background:#fbfcff;font-size:14.5px;line-height:1.85;color:#22323f}
.qb-gr-sehint{margin:0;font-size:13px;font-weight:800;color:#8a5c0c;background:#fff7e6;border-radius:12px;padding:7px 11px}
html[data-theme=dark] .qb-gr-passage{background:#101c26;border-color:rgba(255,255,255,.12);color:#d7e6ef}
html[data-theme=dark] .qb-gr-hero{background:linear-gradient(135deg,#101a2b,#0f1f28);border-color:rgba(120,150,255,.22)}

/* === look G: تدريب JRE (Judgment · Reasoning · Evidence) === */
.qb-jre{padding-bottom:96px}
.qb-jre-hero{margin-top:12px;padding:16px;border-radius:24px;border:2px solid #e2dcff;background:linear-gradient(135deg,#f2eeff,#fbf9ff 55%,#eef8ff)}
.qb-jre-hero>b{display:block;font-size:17.5px;color:#3d2c7a;line-height:1.6}
.qb-jre-hero p{margin:6px 0 0;font-size:14px;line-height:1.9;color:#4f4a6b}
.qb-jre-units{margin:10px 0 4px}

.qb-jre-q{display:flex;flex-direction:column;gap:12px}
.qb-jre-head{display:flex;flex-direction:column;gap:4px}
.qb-jre-head b{font-size:18px;color:#221a4a}
.qb-jre-tag{align-self:flex-start;font-size:11.5px;font-weight:800;color:#5b3fd6;background:#efebff;border-radius:999px;padding:4px 10px}
.qb-jre-en{margin:0;font-family:"Segoe UI",system-ui,-apple-system,Arial,sans-serif;font-size:16px;line-height:2;color:#20263a;background:#f8f9ff;border:1.5px solid #e4e7f7;border-radius:18px;padding:14px}
.qb-jre-task{display:flex;flex-direction:column;gap:6px;padding:12px 14px;border-radius:18px;border:2px dashed #cfc6ff;background:#fbfaff}
.qb-jre-task>b{font-size:13px;color:#5b3fd6}
.qb-jre-task .qb-jre-en{background:#fff;border-color:#e7e3ff}
.qb-jre-task small{font-size:12.5px;color:#6d678c;font-weight:700}

.qb-jre-write{display:flex;flex-direction:column;gap:10px}
.qb-jre-write label b{font-size:15.5px;color:#221a4a}
.qb-jre-rubric{font-family:"Segoe UI",system-ui,Arial,sans-serif;font-size:12.5px;line-height:1.7;color:#5b3fd6;background:#f4f1ff;border-radius:12px;padding:8px 10px;text-align:left}
.qb-jre-write textarea{width:100%;box-sizing:border-box;border:2px solid #ded9f5;border-radius:16px;padding:12px;font-family:"Segoe UI",system-ui,Arial,sans-serif;font-size:15px;line-height:1.9;resize:vertical;background:#fff;color:#20263a}
.qb-jre-write textarea:focus{outline:none;border-color:#8f7bff;box-shadow:0 0 0 4px #efeaff}
.qb-jre-row{display:flex;gap:8px;flex-wrap:wrap}
.qb-jre-btn{flex:1 1 150px;padding:14px;border:0;border-radius:18px;font-family:inherit;font-size:16px;font-weight:800;color:#fff;cursor:pointer;
  background:linear-gradient(135deg,#7b5cff,#5b3fd6);box-shadow:0 12px 24px rgba(91,63,214,.24)}
.qb-jre-btn:active{transform:scale(.98)}
.qb-jre-btn[disabled]{opacity:.6;cursor:default}
.qb-jre-btn.ghost{background:#fff;color:#5b3fd6;border:2px solid #d8d0ff;box-shadow:none}
.qb-jre-count{align-self:flex-end;font-size:12px;color:#8b86a8;font-weight:700}

.qb-jre-res{display:flex;flex-direction:column;gap:10px}
.qb-jre-score{display:flex;align-items:baseline;gap:8px}
.qb-jre-score b{font-size:26px;color:#3d2c7a}
.qb-jre-score span{font-size:13px;color:#6d678c;font-weight:700}
.qb-jre-elems{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.qb-jre-elems li{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border-radius:14px;border:1.5px solid #e6e6f2;background:#fafaff}
.qb-jre-elems li i{flex:0 0 24px;height:24px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-weight:800;font-size:13px;color:#fff;background:#b9b4cf}
.qb-jre-elems li.ok{border-color:#9ee7c6;background:#f0fbf5}
.qb-jre-elems li.ok i{background:#0e9c68}
.qb-jre-elems li.no{border-color:#ffd2c4;background:#fff6f2}
.qb-jre-elems li.no i{background:#e5714f}
.qb-jre-elems li div{display:flex;flex-direction:column;gap:2px}
.qb-jre-elems li b{font-size:14.5px;color:#221a4a}
.qb-jre-elems li span{font-size:13px;line-height:1.8;color:#55506f;unicode-bidi:plaintext}

.qb-jre-ai{display:flex;flex-direction:column;gap:10px;border:2px solid #d6e8ff;background:linear-gradient(180deg,#f4faff,#fff)}
.qb-jre-ai.off{border-color:#ffe0a3;background:linear-gradient(180deg,#fff9ec,#fff)}
.qb-jre-ai-h{display:flex;align-items:center;justify-content:space-between}
.qb-jre-ai-h b{font-size:16px;color:#124a6b}
.qb-jre-ai-h span{font-size:13px;font-weight:800;color:#0e7ad6;background:#eaf4ff;border-radius:999px;padding:4px 10px}
.qb-jre-ai p{margin:0;font-size:14px;line-height:1.9;color:#3c5b6d}
.qb-jre-better{display:flex;flex-direction:column;gap:6px}
.qb-jre-better b{font-size:13px;color:#0b7a52}

.qb-jre-model{display:flex;flex-direction:column;gap:8px;border:2px solid #cdebd9;background:linear-gradient(180deg,#f4fdf8,#fff)}
.qb-jre-model b{font-size:16px;color:#0b6b47}
.qb-jre-model small{font-size:12.5px;color:#5c7d70;font-weight:700}
.qb-jre-next{margin:14px 0 4px;display:flex}

html[data-theme=dark] .qb-jre-hero{border-color:#3a3560;background:linear-gradient(135deg,#241f45,#1c1a33)}
html[data-theme=dark] .qb-jre-hero>b{color:#cfc4ff}
html[data-theme=dark] .qb-jre-hero p{color:#b3aed0}
html[data-theme=dark] .qb-jre-head b,html[data-theme=dark] .qb-jre-write label b,html[data-theme=dark] .qb-jre-elems li b{color:#eae7ff}
html[data-theme=dark] .qb-jre-en{background:#1b1c2b;border-color:#333650;color:#e6e8f5}
html[data-theme=dark] .qb-jre-task{background:#221f3a;border-color:#4b3f8f}
html[data-theme=dark] .qb-jre-task .qb-jre-en{background:#181828;border-color:#3a3a55}
html[data-theme=dark] .qb-jre-task small{color:#a9a3c8}
html[data-theme=dark] .qb-jre-rubric{background:#241f45;color:#c9bdff}
html[data-theme=dark] .qb-jre-write textarea{background:#181828;border-color:#3a3a55;color:#e9e9f5}
html[data-theme=dark] .qb-jre-elems li{background:#1b1c2b;border-color:#333650}
html[data-theme=dark] .qb-jre-elems li span{color:#b6b1cd}
html[data-theme=dark] .qb-jre-ai{background:#17202b;border-color:#2c4a63}
html[data-theme=dark] .qb-jre-ai p{color:#b9c9d6}
html[data-theme=dark] .qb-jre-model{background:#14231c;border-color:#2c5442}
html[data-theme=dark] .qb-jre-model b{color:#8fe0b8}

/* === look H: غرفة المذاكرة كغرفة مرسومة + كروت البيت === */
.qb-room2{padding-bottom:110px}
.qb-room-full{margin-inline-start:auto;padding:8px 12px;border:0;border-radius:12px;background:#e8f6ef;color:#0b6b47;font-family:inherit;font-size:12.5px;font-weight:800;cursor:pointer}

.qb-scene{position:relative;margin-top:10px;border-radius:26px;overflow:hidden;box-shadow:0 18px 40px rgba(11,79,62,.22);background:#0b4f3e}
.qb-scene-wall{position:relative;height:196px;padding:14px;background:
  radial-gradient(120% 80% at 15% 0%, rgba(255,255,255,.16), transparent 60%),
  linear-gradient(180deg,#12795c,#0f6b51 62%,#0b5240)}
.qb-win{position:absolute;top:18px;width:88px;height:74px;border-radius:12px;border:6px solid #f4fbf7;background:linear-gradient(180deg,#bfe9ff,#eafaff);box-shadow:0 8px 18px rgba(0,0,0,.18);display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;overflow:hidden}
.qb-win span{display:block;border-right:3px solid #f4fbf7;border-bottom:3px solid #f4fbf7}
.qb-win span:nth-child(2n){border-right:0}
.qb-win span:nth-child(n+3){border-bottom:0}
.qb-win.is-a{right:18px;width:104px;height:84px;top:20px}
.qb-win.is-b{right:118px}
.qb-plant{position:absolute;bottom:0;right:26px;width:44px;height:56px}
.qb-plant::before{content:"";position:absolute;bottom:0;left:8px;width:28px;height:20px;border-radius:0 0 10px 10px;background:#c1704a}
.qb-plant span{position:absolute;bottom:16px;left:18px;width:12px;height:34px;border-radius:60% 40% 55% 45%;background:#2fae74;transform-origin:bottom center}
.qb-plant span:nth-child(1){transform:rotate(-28deg)}
.qb-plant span:nth-child(2){height:40px;background:#3ecf8a}
.qb-plant span:nth-child(3){transform:rotate(26deg);background:#249b64}
.qb-live-pill{position:absolute;top:12px;left:12px;display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;background:rgba(255,255,255,.16);color:#eafff5;font-size:12.5px;font-weight:800;backdrop-filter:blur(4px)}
.qb-live-pill i{width:8px;height:8px;border-radius:50%;background:#7dffb0;box-shadow:0 0 0 0 rgba(125,255,176,.7);animation:qb-live 1.8s infinite}
@keyframes qb-live{0%{box-shadow:0 0 0 0 rgba(125,255,176,.7)}70%{box-shadow:0 0 0 8px rgba(125,255,176,0)}100%{box-shadow:0 0 0 0 rgba(125,255,176,0)}}

.qb-board{position:absolute;bottom:10px;left:12px;width:54%;max-width:230px;padding:6px 8px;border-radius:12px;border:5px solid #a9744a;background:linear-gradient(180deg,#0d3b2c,#0a2f23);color:#eafff5;box-shadow:0 10px 20px rgba(0,0,0,.28)}
.qb-board>b{display:block;font-size:10.5px;color:#9ff0c6;margin-bottom:3px;letter-spacing:.2px}
.qb-board ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.qb-board li{display:flex;align-items:center;gap:5px;font-size:10.5px;line-height:1.3}
.qb-board li b{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:72px}
.qb-board li em{font-style:normal;margin-inline-start:auto;color:#9ff0c6;font-weight:800}
.qb-board-rank{width:16px;height:16px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.14);font-size:10px;font-weight:800}
.qb-board li.is-1 .qb-board-rank{background:#ffd76e;color:#5a3b00}
.qb-board li.is-2 .qb-board-rank{background:#dfe7ef;color:#39434d}
.qb-board li.is-3 .qb-board-rank{background:#f0b68a;color:#5a2f12}
.qb-board-empty{margin:0;font-size:10.5px;color:#a9d8c4}

.qb-scene-floor{position:relative;padding:14px 12px 18px;background:
  repeating-linear-gradient(90deg, rgba(0,0,0,.07) 0 2px, transparent 2px 44px),
  linear-gradient(180deg,#d9a86a,#c08f52 60%,#a97b45)}
.qb-desks{display:grid;grid-template-columns:1fr 1fr;gap:12px 10px}
.qb-desk{position:relative;display:flex;flex-direction:column;align-items:center;padding:0;border:0;background:none;font-family:inherit;cursor:pointer}
.qb-desk-av{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.9);box-shadow:0 6px 14px rgba(60,35,10,.28);font-size:22px;color:#0b6b47;border:3px solid #fff}
.qb-desk.is-me .qb-desk-av{border-color:#7dffb0;box-shadow:0 0 0 4px rgba(125,255,176,.35),0 6px 14px rgba(60,35,10,.28)}
.qb-desk-card{margin-top:-8px;width:100%;padding:14px 8px 8px;border-radius:14px;background:linear-gradient(180deg,#eafff5,#c9f4e0);box-shadow:0 8px 16px rgba(60,35,10,.22);display:flex;flex-direction:column;align-items:center;gap:1px}
.qb-desk-card b{font-size:12.5px;color:#123f2f;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.qb-desk-card small{font-size:10.5px;color:#5c7d70;font-weight:700}
.qb-desk-t{margin-top:3px;font-size:12px;font-weight:800;padding:2px 8px;border-radius:999px;background:#e8f6ef;color:#0b6b47;font-variant-numeric:tabular-nums}
.qb-desk.break .qb-desk-card{background:linear-gradient(180deg,#fff3d6,#ffe2ac)}
.qb-desk.break .qb-desk-t{background:#fff0d0;color:#8a5a12}
.qb-desk-top{display:block;width:112%;height:10px;margin-top:-2px;border-radius:6px;background:linear-gradient(180deg,#8a5a2b,#6d4420);box-shadow:0 6px 10px rgba(60,35,10,.3)}
.qb-desk.is-me .qb-desk-top{background:linear-gradient(180deg,#2fae74,#0b6b47)}
.qb-desk.is-empty{opacity:.72}
.qb-desk.is-empty .qb-desk-av{background:#f3e0c2;color:#7a5a35;border-style:dashed;border-color:#b99367;font-size:20px}
.qb-desk.is-empty .qb-desk-card{background:linear-gradient(180deg,#f3e0c2,#e6cda4);box-shadow:inset 0 0 0 2px rgba(122,90,53,.18)}
.qb-desk.is-empty .qb-desk-card b{color:#6b4a22}
.qb-desk-me-tag{position:absolute;top:-6px;left:50%;transform:translateX(-50%);z-index:2;padding:2px 10px;border-radius:999px;background:#0b6b47;color:#fff;font-size:10.5px;font-weight:800;box-shadow:0 4px 10px rgba(11,107,71,.35)}
.qb-scene-off{margin:10px 0 0;text-align:center;font-size:13px;font-weight:700;color:#4a3212;background:rgba(255,255,255,.6);border-radius:12px;padding:8px}

.qb-seat-btn{display:flex;flex-direction:column;align-items:center;gap:2px;width:100%;margin:14px 0 4px;padding:16px;border:0;border-radius:20px;color:#fff;font-family:inherit;cursor:pointer;background:linear-gradient(135deg,#19c07a,#0b6b47);box-shadow:0 14px 28px rgba(11,107,71,.3)}
.qb-seat-btn b{font-size:19px}
.qb-seat-btn small{font-size:12.5px;opacity:.95}

.qb-join2{display:flex;flex-direction:column;gap:10px;margin-top:12px;padding:16px;border-radius:24px;color:#eafff5;background:linear-gradient(160deg,#0f6b51,#0b4f3e 70%,#093f32);box-shadow:0 16px 32px rgba(9,63,50,.28)}
.qb-join2-h{font-size:17px;color:#9ff0c6}
.qb-join2-l{display:flex;flex-direction:column;gap:6px;font-size:13.5px;font-weight:800;color:#d8fff0}
.qb-join2-l input{width:100%;box-sizing:border-box;padding:11px 12px;border-radius:14px;border:2px solid rgba(255,255,255,.24);background:rgba(255,255,255,.12);color:#fff;font-family:inherit;font-size:15px;font-weight:700}
.qb-join2-l input::placeholder{color:rgba(255,255,255,.55)}
.qb-join2 .qb-chip{background:rgba(255,255,255,.12);color:#eafff5;border-color:rgba(255,255,255,.24)}
.qb-join2 .qb-chip.is-on{background:#19c07a;color:#04301f;border-color:#7dffb0}
.qb-join2-btns{display:flex;gap:8px}
.qb-join2-go{flex:2;padding:14px;border:0;border-radius:16px;font-family:inherit;font-size:16px;font-weight:800;color:#04301f;cursor:pointer;background:linear-gradient(135deg,#7dffb0,#19c07a)}
.qb-join2-x{flex:1;padding:14px;border:2px solid rgba(255,255,255,.3);border-radius:16px;background:transparent;color:#eafff5;font-family:inherit;font-size:14px;font-weight:800;cursor:pointer}
.qb-join2-note{font-size:11.5px;color:#b9e7d5;line-height:1.7}
.qb-rm-err{margin:0;font-size:12.5px;font-weight:800;color:#ffd0c0}

.qb-mybar{position:sticky;bottom:8px;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding:12px 14px;border-radius:20px;color:#04301f;background:linear-gradient(135deg,#9ff0c6,#19c07a);box-shadow:0 14px 28px rgba(11,107,71,.3)}
.qb-mybar.break{background:linear-gradient(135deg,#ffe6a8,#ffc35c)}
.qb-mybar-l{display:flex;flex-direction:column;line-height:1.25}
.qb-mybar-l b{font-size:26px;font-variant-numeric:tabular-nums}
.qb-mybar-l small{font-size:11.5px;font-weight:800;opacity:.8}
.qb-mybar-btns{display:flex;gap:6px}
.qb-mybar-btns button{padding:9px 12px;border:0;border-radius:12px;background:rgba(255,255,255,.75);color:#0b4f3e;font-family:inherit;font-size:13px;font-weight:800;cursor:pointer}

.qb-top2{margin-top:14px;padding:14px;border-radius:22px;color:#fff;background:linear-gradient(160deg,#5b3fd6,#3b2a8f)}
.qb-top2-h{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:8px}
.qb-top2-h b{font-size:16px;color:#e9e4ff}
.qb-top2-h small{font-size:11.5px;color:#c8bfff}
.qb-top2-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:5px}
.qb-top2-list li{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:12px;background:rgba(255,255,255,.1);font-size:13px}
.qb-top2-list li b{font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.qb-top2-rank{width:22px;text-align:center;font-weight:800}
.qb-top2-min{margin-inline-start:auto;font-weight:800;color:#b9ffe0}
.qb-top2-list li small{color:#cfc7ff;font-weight:700}
.qb-top2-list li.is-1{background:linear-gradient(90deg,rgba(255,215,110,.35),rgba(255,255,255,.1))}
.qb-top2-list li.is-2{background:linear-gradient(90deg,rgba(223,231,239,.3),rgba(255,255,255,.1))}
.qb-top2-list li.is-3{background:linear-gradient(90deg,rgba(240,182,138,.3),rgba(255,255,255,.1))}
.qb-top2-empty{margin:0;font-size:12.5px;color:#d8d0ff}
.qb-top2 .qb-note{color:#cfc7ff;margin-top:8px}

.qb-done2{margin-top:12px;padding:16px;border-radius:22px;color:#04301f;background:linear-gradient(135deg,#9ff0c6,#19c07a);box-shadow:0 14px 28px rgba(11,107,71,.28)}
.qb-done2 b{font-size:17px}
.qb-done2 p{margin:6px 0 10px;font-size:13.5px;font-weight:700}
.qb-done2-x{padding:10px 18px;border:0;border-radius:12px;background:rgba(255,255,255,.8);color:#0b4f3e;font-family:inherit;font-size:14px;font-weight:800;cursor:pointer}

/* الشاشة الكبيرة */
.qb-scene:fullscreen{width:100%;height:100%;display:flex;flex-direction:column;border-radius:0;background:#0b4f3e}
.qb-scene:fullscreen .qb-scene-wall{height:30vh}
.qb-scene:fullscreen .qb-win{display:none}
.qb-scene:fullscreen .qb-scene-floor{flex:1;display:flex;align-items:flex-start}
.qb-scene:fullscreen .qb-desks{width:100%;grid-template-columns:repeat(3,1fr);gap:18px}

/* الوضع الليلي */
html[data-theme=dark] .qb-room-full{background:#16352b;color:#9ff0c6}
html[data-theme=dark] .qb-desk-card{background:linear-gradient(180deg,#1b2a24,#16211d)}
html[data-theme=dark] .qb-desk-card b{color:#eafff5}
html[data-theme=dark] .qb-desk-card small{color:#a9c8ba}
html[data-theme=dark] .qb-desk-t{background:#173a2c;color:#9ff0c6}
html[data-theme=dark] .qb-desk.is-empty .qb-desk-card{background:rgba(255,255,255,.08)}
html[data-theme=dark] .qb-desk.is-empty .qb-desk-card b{color:#9fb3a8}

/* كروت البيت */
.qb-room-card{position:relative;display:flex;align-items:center;gap:12px;width:100%;margin:12px 0 4px;padding:12px;border:0;border-radius:24px;font-family:inherit;text-align:right;cursor:pointer;overflow:hidden;color:#eafff5;background:linear-gradient(135deg,#12795c,#0b4f3e);box-shadow:0 16px 32px rgba(11,79,62,.26)}
.qb-room-card-prev{position:relative;flex:0 0 108px;height:76px;border-radius:16px;overflow:hidden;background:linear-gradient(180deg,#12795c 0 58%,#c08f52 58% 100%);box-shadow:inset 0 0 0 2px rgba(255,255,255,.18)}
.qb-room-card-prev i{position:absolute;display:block}
.qb-room-card-prev .w{top:8px;right:10px;width:34px;height:24px;border-radius:5px;background:linear-gradient(180deg,#bfe9ff,#eafaff);box-shadow:0 0 0 3px #f4fbf7}
.qb-room-card-prev .d1{bottom:10px;right:14px;width:34px;height:22px;border-radius:6px;background:#fff}
.qb-room-card-prev .d2{bottom:10px;right:58px;width:34px;height:22px;border-radius:6px;background:#9ff0c6}
.qb-room-card-t{display:flex;flex-direction:column;gap:2px;flex:1}
.qb-room-card-t b{font-size:17px}
.qb-room-card-t small{font-size:12px;color:#c6f4e0;line-height:1.6}
.qb-room-card>em{font-style:normal;font-size:22px;opacity:.8}

.qb-drills{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0 4px}
.qb-drill{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:14px;border:0;border-radius:20px;font-family:inherit;text-align:right;cursor:pointer;color:#fff;box-shadow:0 12px 24px rgba(20,20,60,.18)}
.qb-drill.is-gre{background:linear-gradient(140deg,#3ea0ff,#0e5fbf)}
.qb-drill.is-jre{background:linear-gradient(140deg,#7b5cff,#4a2fc0)}
.qb-drill b{font-size:16px}
.qb-drill small{font-size:11.5px;opacity:.92;line-height:1.6}

.qb-fs-bar{display:none}
.qb-scene:fullscreen .qb-fs-bar{display:flex;align-items:center;gap:8px;position:absolute;top:10px;right:12px;z-index:9}
.qb-fs-time{font-size:24px;font-weight:800;color:#04301f;background:linear-gradient(135deg,#9ff0c6,#19c07a);padding:6px 14px;border-radius:14px;font-variant-numeric:tabular-nums}
.qb-fs-time.break{background:linear-gradient(135deg,#ffe6a8,#ffc35c)}
.qb-fs-bar button{padding:9px 12px;border:0;border-radius:12px;background:rgba(255,255,255,.85);color:#0b4f3e;font-family:inherit;font-size:13px;font-weight:800;cursor:pointer}
.qb-fs-bar .qb-fs-exit{background:#0b3b2e;color:#9ff0c6}

/* === look I: هدف اليوم + تقرير الأسبوع + أصوات هادية + تصفيق صامت === */
.qb-goal{margin-top:12px;padding:14px;border-radius:22px;color:#eafff5;background:linear-gradient(160deg,#12795c,#0b4f3e);box-shadow:0 14px 28px rgba(11,79,62,.22)}
.qb-goal.is-done{background:linear-gradient(160deg,#1fbe7c,#0b6b47)}
.qb-goal-h{display:flex;align-items:center;justify-content:space-between;gap:8px}
.qb-goal-h b{font-size:16px;color:#eafff5}
.qb-goal-h button{padding:6px 12px;border:0;border-radius:999px;background:rgba(255,255,255,.16);color:#eafff5;font-family:inherit;font-size:12px;font-weight:800;cursor:pointer}
.qb-goal-num{display:flex;align-items:baseline;gap:8px;margin-top:10px}
.qb-goal-num b{font-size:26px;font-variant-numeric:tabular-nums;line-height:1}
.qb-goal-num small{font-size:12.5px;color:#bfeeda;font-weight:700}
.qb-goal-medal{margin-inline-start:auto;font-size:28px;line-height:1;animation:qb-pop .7s ease-out}
.qb-goal-bar{position:relative;height:16px;margin-top:10px;border-radius:999px;background:rgba(255,255,255,.18);overflow:hidden}
.qb-goal-bar i{position:absolute;inset-inline-start:0;top:0;bottom:0;border-radius:999px;background:linear-gradient(90deg,#7dffb0,#19c07a);transition:width .6s ease}
.qb-goal.is-done .qb-goal-bar i{background:linear-gradient(90deg,#ffe9a3,#ffc93c)}
.qb-goal-note{margin:9px 0 0;font-size:12.5px;line-height:1.6;color:#cdeee0;font-weight:700}
.qb-goal-edit{margin-top:10px;padding:12px;border-radius:18px;background:#0a3b2e;color:#eafff5;display:flex;flex-direction:column;gap:10px;box-shadow:inset 0 0 0 2px rgba(125,255,176,.18)}
.qb-goal-edit>b{font-size:13.5px;color:#eafff5}
.qb-goal-chips{display:flex;flex-wrap:wrap;gap:8px}
.qb-goal-chips button{padding:9px 14px;border:0;border-radius:12px;background:rgba(255,255,255,.14);color:#eafff5;font-family:inherit;font-weight:800;font-size:13px;cursor:pointer}
.qb-goal-chips button.is-on{background:#19c07a;color:#04301f}
.qb-goal-save{align-self:flex-start;padding:9px 18px;border:0;border-radius:12px;background:#19c07a;color:#04301f;font-family:inherit;font-weight:800;font-size:13px;cursor:pointer}

.qb-snd{display:flex;align-items:center;gap:8px;margin-top:12px;padding:10px 12px;border-radius:18px;background:#fff6e6;box-shadow:0 8px 18px rgba(60,35,10,.12)}
.qb-snd>b{font-size:12.5px;color:#6b4a22;white-space:nowrap}
.qb-snd-chips{margin-inline-start:auto;display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.qb-snd-chips button{padding:6px 10px;border:0;border-radius:999px;background:#f3e2c4;color:#6b4a22;font-family:inherit;font-size:11.5px;font-weight:800;cursor:pointer}
.qb-snd-chips button.is-on{background:#0b6b47;color:#eafff5}

.qb-week{margin-top:14px;padding:14px;border-radius:22px;background:#fff6e6;box-shadow:0 10px 24px rgba(60,35,10,.14);color:#4a3212}
.qb-week-h{display:flex;align-items:baseline;justify-content:space-between}
.qb-week-h b{font-size:16px;color:#3b2a12}
.qb-week-h small{font-size:11.5px;color:#8a6b45;font-weight:700}
.qb-week-bars{display:flex;flex-direction:column;gap:10px;margin-top:12px}
.qb-week-row{display:grid;grid-template-columns:70px 1fr auto;align-items:center;gap:8px}
.qb-week-row>span{font-size:12.5px;font-weight:800;color:#4a3212;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.qb-week-track{height:12px;border-radius:999px;background:#efdcbd;overflow:hidden}
.qb-week-track i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#19c07a,#0b6b47)}
.qb-week-row em{font-style:normal;font-size:12px;font-weight:800;color:#0b6b47;font-variant-numeric:tabular-nums}
.qb-week-row.is-zero>span,.qb-week-row.is-zero em{color:#a08a6a}
.qb-week-hl{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.qb-week-hl div{padding:10px;border-radius:14px;background:#fffdf8;box-shadow:inset 0 0 0 2px #f0dcc0}
.qb-week-hl small{display:block;font-size:11px;color:#8a6b45;font-weight:800;margin-bottom:2px}
.qb-week-hl b{font-size:13.5px;color:#3b2a12}
.qb-week-advice{margin:10px 0 0;font-size:12.5px;line-height:1.75;font-weight:700;color:#5c4a2f}
.qb-week-empty{margin:10px 0 0;font-size:12.5px;line-height:1.7;font-weight:700;color:#7a5a35}

.qb-desk-wrap{position:relative}
.qb-desk-wrap>.qb-desk{width:100%}
.qb-clap{position:absolute;top:-8px;left:-6px;z-index:4;width:34px;height:34px;display:grid;place-items:center;border:0;border-radius:50%;background:#fff;box-shadow:0 6px 14px rgba(60,35,10,.26);font-size:17px;line-height:1;cursor:pointer}
.qb-clap:active{transform:scale(.9)}
.qb-clap-fly{position:absolute;top:-4px;left:50%;z-index:5;padding:3px 10px;border-radius:999px;background:#fff;color:#3b2a12;font-size:13px;font-weight:800;white-space:nowrap;pointer-events:none;box-shadow:0 8px 18px rgba(60,35,10,.28);animation:qb-clapfly 3s ease-out forwards}
@keyframes qb-clapfly{0%{opacity:0;transform:translate(-50%,8px) scale(.7)}18%{opacity:1;transform:translate(-50%,-4px) scale(1.15)}100%{opacity:0;transform:translate(-50%,-62px) scale(1)}}
@keyframes qb-pop{0%{transform:scale(.4)}60%{transform:scale(1.18)}100%{transform:scale(1)}}

@media (min-width:700px){
  .qb-desks{max-width:560px;margin-inline:auto}
  .qb-scene:fullscreen .qb-desks{max-width:none}
  .qb-goal,.qb-snd,.qb-week,.qb-top2{width:100%;max-width:720px;margin-inline:auto}
  .qb-goal,.qb-snd{margin-top:12px}
}

/* === look J: دفتر الأخطاء (مراجعة متباعدة) === */
.qb-mistcard{display:flex;align-items:center;gap:12px;width:100%;margin-top:10px;padding:14px 16px;border:0;border-radius:20px;font-family:inherit;text-align:start;cursor:pointer;color:#3b2a12;background:linear-gradient(135deg,#ffe7c2,#ffd08a);box-shadow:0 12px 26px rgba(120,70,20,.18)}
.qb-mistcard-i{font-size:26px;line-height:1}
.qb-mistcard-t{display:flex;flex-direction:column;gap:2px;flex:1}
.qb-mistcard-t b{font-size:16px;color:#5a3b00}
.qb-mistcard-t small{font-size:12px;color:#7a5a2a;font-weight:700;line-height:1.5}
.qb-mistcard em{font-style:normal;font-size:22px;color:#8a5a12}

.qb-mist-hero{margin-top:12px;padding:16px;border-radius:22px;background:linear-gradient(160deg,#fff6e6,#ffe9c9);box-shadow:0 12px 26px rgba(120,70,20,.14);color:#4a3212;display:flex;flex-direction:column;gap:12px;align-items:stretch}
.qb-mist-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;text-align:center}
.qb-mist-stats div{padding:10px 6px;border-radius:16px;background:#fffdf8;box-shadow:inset 0 0 0 2px #f2ddbd}
.qb-mist-stats b{display:block;font-size:24px;color:#0b6b47;font-variant-numeric:tabular-nums;line-height:1.1}
.qb-mist-stats small{font-size:11.5px;color:#7a5a2a;font-weight:800}
.qb-mist-note{margin:0;font-size:12.5px;line-height:1.8;font-weight:700;color:#5c4a2f}
.qb-mist-clear{margin:0;padding:10px 12px;border-radius:14px;background:#e9f7ef;color:#0b6b47;font-size:13px;font-weight:800}
.qb-mist-sec{margin-top:16px}
.qb-mist-sec h3{margin:0 0 8px;font-size:15px;color:#3b2a12}
.qb-mist-list{display:flex;flex-direction:column;gap:7px}
.qb-mist-row{display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:14px;background:#fff6e6;box-shadow:0 6px 14px rgba(120,70,20,.1);font-size:12.5px}
.qb-mist-row.is-done{opacity:.72}
.qb-mist-txt{flex:1;color:#4a3212;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.qb-mist-row em{font-style:normal;font-weight:800;color:#8a5a12;font-size:11.5px;white-space:nowrap}
.qb-mist-sub{padding:3px 9px;border-radius:999px;font-size:11px;font-weight:800;white-space:nowrap;background:#efe3cc;color:#6b4a22}
.qb-mist-sub.is-prog{background:#dff3ec;color:#0b6b47}
.qb-mist-sub.is-hist{background:#e6e9ff;color:#3b3a8f}
.qb-mist-sub.is-ar{background:#ffe6ee;color:#a3255a}
.qb-mist-sub.is-en{background:#e4f0ff;color:#1f4f8f}
.qb-mist-empty{margin-top:16px;padding:14px;border-radius:16px;background:#f4ece0;color:#6b4a22;font-size:13px;font-weight:700;line-height:1.8}

.qb-mist-bar{display:flex;align-items:center;justify-content:space-between;margin-top:10px;font-size:12.5px;font-weight:800;color:#5c4a2f}
.qb-mist-ok{color:#0b6b47}
.qb-mist-prog{height:10px;margin-top:6px;border-radius:999px;background:#efe0c6;overflow:hidden}
.qb-mist-prog i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#19c07a,#0b6b47);transition:width .4s ease}
.qb-mist-card2{margin-top:12px;padding:14px;border-radius:20px;background:#fffdf8;box-shadow:0 10px 24px rgba(60,35,10,.12)}
.qb-mist-meta{display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:11.5px;font-weight:800;color:#7a5a2a;margin-bottom:8px}
.qb-mist-flash{margin:10px 0 0;padding:10px 12px;border-radius:14px;background:#eef7ff;color:#1f4f8f;font-size:12.5px;font-weight:800}
.qb-mist-done{margin-top:14px;padding:18px;border-radius:22px;background:linear-gradient(160deg,#eafff5,#c9f4e0);box-shadow:0 12px 26px rgba(11,107,71,.16);color:#123f2f;display:flex;flex-direction:column;gap:10px}
.qb-mist-done b{font-size:18px}
.qb-mist-done p{margin:0;font-size:13px;line-height:1.8;font-weight:700;color:#2f5c4a}

.qb-mist-card2 .qb-opt-t{flex:1;font-size:16px;font-weight:700;text-align:center}

/* === look K: امتحان تجريبي + تقرير نقاط الضعف === */
.qb-mockcard-home{display:flex;align-items:center;gap:12px;width:100%;margin-top:10px;padding:14px 16px;border:0;border-radius:20px;font-family:inherit;text-align:start;cursor:pointer;color:#0b2f3a;background:linear-gradient(135deg,#d8f3ee,#a9e3dc);box-shadow:0 12px 26px rgba(10,90,80,.18)}
.qb-mockcard-home .qb-mockcard-i{font-size:26px;line-height:1}
.qb-mockcard-home .qb-mockcard-t{display:flex;flex-direction:column;gap:2px;flex:1}
.qb-mockcard-home .qb-mockcard-t b{font-size:16px;color:#08493f}
.qb-mockcard-home .qb-mockcard-t small{font-size:12px;color:#1d6a5e;font-weight:700;line-height:1.5}
.qb-mockcard-home em{font-style:normal;font-size:22px;color:#0d5f52}

.qb-mockgrid{display:grid;grid-template-columns:1fr;gap:12px;margin:14px 0}
@media(min-width:700px){.qb-mockgrid{grid-template-columns:1fr 1fr}}
.qb-mockcard{display:flex;flex-direction:column;gap:6px;padding:16px;border-radius:22px;background:linear-gradient(160deg,#fff,#f7fbfa);box-shadow:0 12px 26px rgba(20,60,55,.12),inset 0 0 0 2px var(--s,#e6f2ee)}
.qb-mockcard-ic{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;font-size:19px;font-weight:800;color:var(--c,#0b6b47);background:var(--s,#e6f2ee)}
.qb-mockcard b{font-size:17px;color:#173b34}
.qb-mockcard small{font-size:12px;font-weight:700;color:#5d7a72;line-height:1.6}
.qb-mockcard-last{font-size:12px;font-weight:800;color:#0b6b47;background:#e9f7ef;border-radius:12px;padding:7px 10px}
.qb-mockcard .qb-go{margin-top:6px;width:100%}

.qb-weak{margin-top:16px;padding:14px;border-radius:20px;background:linear-gradient(160deg,#fff7f4,#ffece6);box-shadow:0 12px 26px rgba(120,50,20,.12)}
.qb-weak-h{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:6px}
.qb-weak-h b{font-size:16px;color:#5a2a12}
.qb-weak-h small{font-size:11.5px;font-weight:800;color:#8a5a3a}
.qb-weak-ok{margin:8px 0 0;padding:12px;border-radius:14px;background:#e9f7ef;color:#0b6b47;font-size:13px;font-weight:800;line-height:1.7}
.qb-weak-row{padding:10px 12px;margin-top:8px;border-radius:16px;background:#fffdfb;box-shadow:inset 0 0 0 2px #f7e0d5}
.qb-weak-row.is-worst{box-shadow:inset 0 0 0 2px #f0a08a}
.qb-weak-top{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.qb-weak-n{font-size:13px;font-weight:800;color:#4a2414;line-height:1.5}
.qb-weak-v{font-size:11.5px;font-weight:800;color:#8a5a3a;white-space:nowrap;font-variant-numeric:tabular-nums}
.qb-weak-bar{height:8px;margin-top:7px;border-radius:999px;background:#f3e2d9;overflow:hidden}
.qb-weak-bar i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#f2a48b,#e5714f)}
.qb-weak-go{margin-top:9px;padding:8px 14px;border:0;border-radius:999px;font-family:inherit;font-size:12.5px;font-weight:800;color:#fff;background:#c9502f;cursor:pointer}

/* === look K: أدوات المذاكرة (تنبيه + أوفلاين) === */
.qb-tools2{margin-top:16px;padding:14px;border-radius:22px;background:linear-gradient(160deg,#f3fbf9,#e6f5f1);box-shadow:0 12px 26px rgba(15,80,70,.12)}
.qb-tools2-h{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:8px}
.qb-tools2-h b{font-size:15px;color:#0b4a3f}
.qb-tools2-h small{font-size:11.5px;font-weight:800;color:#5d7f78}
.qb-tool2{display:flex;align-items:center;gap:10px;padding:11px 12px;margin-top:8px;border-radius:16px;background:#fff;box-shadow:inset 0 0 0 2px #dff0eb}
.qb-tool2-ic{font-size:20px;line-height:1}
.qb-tool2-t{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
.qb-tool2-t b{font-size:13.5px;color:#123f36}
.qb-tool2-t small{font-size:11.5px;font-weight:700;color:#5d7f78;line-height:1.55}
.qb-tool2-time{padding:6px 8px;border-radius:10px;border:0;background:#eef7f4;font-family:inherit;font-size:13px;font-weight:800;color:#0b4a3f;box-shadow:inset 0 0 0 2px #d5e9e3}
.qb-tool2-b{padding:8px 12px;border:0;border-radius:999px;font-family:inherit;font-size:12px;font-weight:800;color:#fff;background:#0e7a63;cursor:pointer;white-space:nowrap}
.qb-tool2-b:disabled{opacity:.65}
.qb-sw{width:50px;height:28px;flex:none;border:0;border-radius:999px;background:#cfe0dc;position:relative;cursor:pointer;transition:background .2s}
.qb-sw i{position:absolute;top:3px;right:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.2);transition:transform .2s}
.qb-sw.is-on{background:#0e7a63}
.qb-sw.is-on i{transform:translateX(-22px)}
.qb-tools2-f{display:flex;align-items:center;gap:10px;margin-top:10px;flex-wrap:wrap}
.qb-tools2-off{font-size:11.5px;font-weight:800;color:#a3560f;background:#ffe9c9;border-radius:999px;padding:4px 10px}
.qb-tools2-msg{margin:8px 0 0;padding:9px 11px;border-radius:12px;background:#e9f7ef;color:#0b6b47;font-size:12.5px;font-weight:800;line-height:1.7}
.qb-tools2-note{margin:10px 0 0;font-size:11.5px;line-height:1.8;font-weight:700;color:#5d7f78}
.qb-offbar{position:fixed;bottom:0;left:0;right:0;z-index:9998;padding:9px 14px;text-align:center;font-family:Cairo,system-ui,sans-serif;font-size:12.5px;font-weight:800;color:#3b2a12;background:linear-gradient(90deg,#ffd08a,#ffe7c2);box-shadow:0 -6px 18px rgba(120,70,20,.18)}

/* === look K: بحث سريع + نسخة احتياطية === */
.qb-searchcard{display:flex;align-items:center;gap:12px;width:100%;margin-top:10px;padding:14px 16px;border:0;border-radius:20px;font-family:inherit;text-align:start;cursor:pointer;color:#2a1b46;background:linear-gradient(135deg,#e9e3ff,#cfc4f7);box-shadow:0 12px 26px rgba(60,40,120,.18)}
.qb-searchcard-i{font-size:24px;line-height:1}
.qb-searchcard .qb-mockcard-t b{color:#3a2668}
.qb-searchcard .qb-mockcard-t small{color:#5c4a8f}
.qb-searchcard em{font-style:normal;font-size:22px;color:#4a3480}
.qb-search-in{width:100%;margin-top:10px;padding:13px 14px;border:0;border-radius:16px;background:#fff;box-shadow:inset 0 0 0 2px #d9d2f0;font-family:inherit;font-size:15px;font-weight:700;color:#2a1b46}
.qb-search-in:focus{outline:0;box-shadow:inset 0 0 0 2px #7c63d6}
.qb-search-load{display:flex;align-items:center;gap:8px;margin-top:10px;font-size:12.5px;font-weight:800;color:#5c4a8f}
.qb-search-n{margin:10px 0 0;font-size:12.5px;font-weight:800;color:#4a3480}
.qb-search-g{margin-top:14px}
.qb-search-g h3{margin:0 0 6px;font-size:14px;color:#2a1b46}
.qb-search-g h3 small{font-size:11.5px;color:#7a6a9f;font-weight:800}
.qb-search-row{display:flex;align-items:flex-start;gap:8px;width:100%;margin-top:6px;padding:10px 11px;border:0;border-radius:14px;background:#fff;box-shadow:0 6px 14px rgba(60,40,120,.1);font-family:inherit;text-align:start;cursor:pointer}
.qb-search-tag{flex:none;padding:3px 8px;border-radius:999px;font-size:10.5px;font-weight:800;background:#eee9fb;color:#4a3480;white-space:nowrap}
.qb-search-tag.is-practice{background:#dff3ec;color:#0b6b47}
.qb-search-tag.is-essay{background:#ffe6ee;color:#a3255a}
.qb-search-tag.is-solved{background:#e6e9ff;color:#3b3a8f}
.qb-search-tag.is-outc{background:#fff1d6;color:#8a5a12}
.qb-search-txt{display:flex;flex-direction:column;gap:3px;min-width:0}
.qb-search-txt b{font-size:13px;font-weight:700;color:#2b2340;line-height:1.6}
.qb-search-txt small{font-size:11px;font-weight:800;color:#7a6a9f}
.qb-bk-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:12px 0;text-align:center}
.qb-bk-stats div{padding:9px 4px;border-radius:14px;background:#fff;box-shadow:inset 0 0 0 2px #e7e0f6}
.qb-bk-stats b{display:block;font-size:18px;color:#3a2668;font-variant-numeric:tabular-nums}
.qb-bk-stats small{font-size:10.5px;font-weight:800;color:#6a5a8f}
.qb-bk-file{margin:8px 0;font-family:inherit;font-size:12.5px;font-weight:700;color:#3a2668}
.qb-bk-msg{margin-top:10px;padding:10px 12px;border-radius:12px;background:#e9f7ef;color:#0b6b47;font-size:12.5px;font-weight:800;line-height:1.7}

/* === look L: خطة اليوم — تايم لاين + صلوات === */
.qb-plan-next{margin:6px 0 0;padding:9px 12px;border-radius:14px;background:#e9f7ef;color:#0b6b47;font-size:13px;font-weight:800}
.qb-plan-warn{margin-top:8px;padding:10px 12px;border-radius:14px;background:#fff1d6;color:#8a4a12;font-size:12.5px;font-weight:800;line-height:1.7}
.qb-plan-warn p{margin:0}
.qb-pray{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:6px}
.qb-pray-i{display:flex;flex-direction:column;gap:3px;font-size:11.5px;font-weight:800;color:#4a6a62}
.qb-tl{margin-top:14px;padding:12px;border-radius:18px;background:#f7fbfa;box-shadow:inset 0 0 0 2px #e3f0ec}
.qb-tl-h{display:block;font-size:13.5px;color:#0b4a3f;margin-bottom:8px}
.qb-tl-row{display:flex;align-items:flex-start;gap:8px;padding:6px 0;border-bottom:1px dashed #dceae6}
.qb-tl-row:last-child{border-bottom:0}
.qb-tl-t{flex:none;width:52px;font-size:11.5px;font-weight:800;color:#4a6a62;font-variant-numeric:tabular-nums}
.qb-tl-d{flex:none;width:10px;height:10px;margin-top:4px;border-radius:50%;background:#b9d8d0}
.qb-tl-b{display:flex;flex-direction:column;gap:2px;min-width:0}
.qb-tl-b b{font-size:12.5px;color:#123f36;font-weight:800}
.qb-tl-b small{font-size:11px;font-weight:700;color:#5d7f78;line-height:1.5}
.qb-tl-row.is-commit .qb-tl-d{background:#e8a33d}
.qb-tl-row.is-prayer .qb-tl-d{background:#7c63d6}
.qb-tl-row.is-study .qb-tl-d{background:#0e9a6c}
.qb-tl-row.is-break .qb-tl-d{background:#c9d6d2}
.qb-tl-row.is-break .qb-tl-b b{color:#6b8079;font-weight:700}
.qb-tl-row.is-prayer .qb-tl-b b{color:#4a3480}
.qb-tl-row.is-commit .qb-tl-b b{color:#8a5a12}

/* === look M: عدّاد الامتحان + تقدمي + تركيز === */
.qb-count{margin-top:10px;padding:12px 14px;border-radius:20px;background:linear-gradient(135deg,#0e4a3f,#0b6b47);color:#eafaf4;box-shadow:0 12px 26px rgba(6,50,40,.22)}
.qb-count-t{display:flex;align-items:baseline;gap:8px}
.qb-count-t b{font-size:30px;line-height:1;color:#ffd98a;font-variant-numeric:tabular-nums}
.qb-count-t span{font-size:13px;font-weight:800}
.qb-count-s{margin-top:6px;font-size:11.5px;font-weight:700;color:#bfe6d9;line-height:1.6}
.qb-count-b{display:flex;gap:8px;margin-top:9px}
.qb-count-b button{flex:1;padding:8px 6px;border:0;border-radius:12px;font-family:inherit;font-size:12px;font-weight:800;color:#08382f;background:#d8f3ee;cursor:pointer}
.qb-psub{margin-top:8px;padding:10px 12px;border-radius:16px;background:#fff;box-shadow:inset 0 0 0 2px var(--s,#e6f2ee)}
.qb-psub-h{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.qb-psub-h b{font-size:13.5px;color:#173b34}
.qb-psub-h small{font-size:11.5px;font-weight:800;color:#5d7a72}
.qb-psub-bar{height:9px;margin-top:7px;border-radius:999px;background:#eef5f2;overflow:hidden}
.qb-psub-bar i{display:block;height:100%;border-radius:999px;background:var(--c,#0e9a6c)}
.qb-chart{display:flex;align-items:flex-end;gap:6px;height:120px;margin-top:8px;padding:8px;border-radius:16px;background:#f7fbfa;box-shadow:inset 0 0 0 2px #e3f0ec}
.qb-chart-c{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;gap:3px}
.qb-chart-c i{width:70%;border-radius:8px 8px 3px 3px;background:linear-gradient(180deg,#2ee39c,#0e9a6c);min-height:4px}
.qb-chart.is-focus .qb-chart-c i{background:linear-gradient(180deg,#8d7bf0,#5b46c8)}
.qb-chart-v{font-size:10px;font-weight:800;color:#4a6a62}
.qb-chart-c small{font-size:10px;font-weight:800;color:#6b8079}
.qb-mocks-list{margin-top:8px}
.qb-mocks-row{display:flex;align-items:center;gap:8px;padding:8px 10px;margin-top:6px;border-radius:12px;background:#fff;box-shadow:0 4px 10px rgba(20,60,55,.08);font-size:12.5px}
.qb-mocks-row b{color:#0b6b47;font-size:14px}
.qb-mocks-row small{color:#5d7a72;font-weight:700}
.qb-badges{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}
.qb-badge{padding:10px;border-radius:16px;background:#f4f7f6;box-shadow:inset 0 0 0 2px #e3ece9;display:flex;flex-direction:column;gap:3px;text-align:center;opacity:.75}
.qb-badge.is-got{background:linear-gradient(160deg,#fff6e0,#ffe7b8);box-shadow:inset 0 0 0 2px #f0c974;opacity:1}
.qb-badge-i{font-size:22px}
.qb-badge b{font-size:12.5px;color:#3b2a12}
.qb-badge small{font-size:10.5px;font-weight:700;color:#6b5a3a;line-height:1.5}
.qb-badge-p{height:5px;margin-top:4px;border-radius:99px;background:#e3ece9;overflow:hidden}
.qb-badge-p i{display:block;height:100%;background:#0e9a6c}
.qb-focus-wrap{margin-top:12px;padding:16px;border-radius:22px;background:linear-gradient(160deg,#f2f0ff,#e4dfff);display:flex;flex-direction:column;align-items:center;gap:12px}
.qb-focus-ring{width:190px;height:190px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:conic-gradient(#5b46c8 calc(var(--p,0)*360deg),#d8d2f5 0);position:relative}
.qb-focus-ring::before{content:'';position:absolute;inset:12px;border-radius:50%;background:#fff}
.qb-focus-ring b{position:relative;font-size:38px;color:#3a2a80;font-variant-numeric:tabular-nums}
.qb-focus-ring small{position:relative;font-size:12px;font-weight:800;color:#6a5a9f}
.qb-focus-chips{justify-content:center}
.qb-focus-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:14px;text-align:center}
.qb-focus-stats div{padding:9px 4px;border-radius:14px;background:#fff;box-shadow:inset 0 0 0 2px #e7e0f6}
.qb-focus-stats b{display:block;font-size:17px;color:#3a2a80;font-variant-numeric:tabular-nums}
.qb-focus-stats small{font-size:10px;font-weight:800;color:#6a5a8f}

/* === look N: صفحة الدرس + النجمة === */
.qb-les-crumb{font-size:11.5px;font-weight:800;color:#6b8079}
.qb-les-chips{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0 4px}
.qb-les-chips span{padding:4px 10px;border-radius:999px;background:#eef7f4;color:#0b4a3f;font-size:11px;font-weight:800}
.qb-les-ul{margin:6px 0 0;padding-inline-start:18px;font-size:13px;line-height:1.9;color:#2b3f39}
.qb-les-con{display:flex;flex-direction:column;gap:8px;margin-top:6px}
.qb-les-c{padding:11px 12px;border-radius:16px;background:#fff;box-shadow:inset 0 0 0 2px #e3f0ec}
.qb-les-c b{font-size:13.5px;color:#0b4a3f}
.qb-les-c p{margin:4px 0 0;font-size:12.5px;line-height:1.9;color:#3c4f49;font-weight:600}
.qb-les-q{margin-top:12px;padding:12px;border-radius:16px;background:#fbfdfc;box-shadow:inset 0 0 0 2px #e6f1ee}
.qb-les-qh{display:flex;align-items:center;justify-content:space-between;gap:8px}
.qb-les-qh b{font-size:12.5px;color:#0b4a3f}
.qb-star{width:34px;height:34px;flex:none;border:0;border-radius:50%;background:#eef7f4;color:#b9cfc8;font-size:17px;line-height:1;cursor:pointer}
.qb-star.is-on{background:#fff1c9;color:#e0a111}
.qb-les-step{margin-top:6px;padding:9px 11px;border-radius:12px;background:#eef2ff;color:#3a3a80;font-size:12px;line-height:1.9;font-weight:700}
.qb-les-star{padding:10px 12px;margin-top:6px;border-radius:14px;background:#fff6e0;box-shadow:inset 0 0 0 2px #f0d79a;display:flex;flex-direction:column;gap:4px}
.qb-les-star b{font-size:12.5px;color:#4a3a12;font-weight:800;line-height:1.6}
.qb-les-star small{font-size:11.5px;font-weight:700;color:#6b5a2a}

/* === look O: سؤال اليوم + مراجعة الليل + ورقة المراجعة === */
.qb-qod{margin-top:12px;padding:14px;border-radius:20px;background:linear-gradient(160deg,#eef4ff,#dfe9ff);box-shadow:0 12px 26px rgba(30,60,120,.14)}
.qb-qod-h{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:6px}
.qb-qod-h b{font-size:15px;color:#1d3a72}
.qb-qod-h small{font-size:11px;font-weight:800;color:#5b6f9a}
.qb-qod .qb-q{font-size:14px}
.qb-qod-f{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px;font-size:11.5px;font-weight:800;color:#4a5f8a}
.qb-night-bar{height:7px;margin:10px 0;border-radius:99px;background:#e7e0f6;overflow:hidden}
.qb-night-bar i{display:block;height:100%;background:linear-gradient(90deg,#8d7bf0,#5b46c8);transition:width .25s}
.qb-sheet{margin:12px;padding:18px;border-radius:14px;background:#fff;box-shadow:0 8px 20px rgba(0,0,0,.08);color:#111}
.qb-sheet-h h1{margin:0;font-size:19px;color:#0b4a3f}
.qb-sheet-h p{margin:4px 0 14px;font-size:11.5px;color:#555;font-weight:700}
.qb-sheet-q{padding:10px 0;border-top:1px solid #e3e3e3}
.qb-sheet-qh{display:flex;flex-direction:column;gap:3px}
.qb-sheet-qh b{font-size:13px;line-height:1.7}
.qb-sheet-qh span{font-size:10.5px;color:#777;font-weight:700}
.qb-sheet-q ul{margin:6px 0;padding-inline-start:18px;font-size:12px;line-height:1.8}
.qb-sheet-q ul li.is-ans{font-weight:800;color:#0b6b47}
.qb-sheet-e{margin:0;font-size:11.5px;line-height:1.8;color:#333}
.qb-sheet-f{margin-top:14px;padding-top:10px;border-top:1px solid #e3e3e3;font-size:10px;color:#888;text-align:center}
@media print{
  .qb-topnav,.qb-botbar,.qb-no-print,.qb-menu-btn,.qb-install{display:none !important}
  .qb-sheet{box-shadow:none;margin:0;padding:0}
  .qb-root,.qb-ex{background:#fff !important}
}

/* === look P: كلمة اليوم + التحدي === */
.qb-word{margin-top:10px;border-radius:18px;background:linear-gradient(135deg,#e7f2ff,#d3e6ff);box-shadow:0 10px 22px rgba(30,70,130,.14);overflow:hidden}
.qb-word-h{display:flex;align-items:center;gap:10px;width:100%;padding:12px 14px;border:0;background:none;font-family:inherit;text-align:start;cursor:pointer}
.qb-word-t{display:flex;flex-direction:column;gap:1px;flex:1;min-width:0}
.qb-word-t small{font-size:10.5px;font-weight:800;color:#4a6a9a}
.qb-word-t b{font-size:17px;color:#123a6b}
.qb-word-m{font-size:11.5px;font-weight:800;color:#2f5f96;text-align:end;max-width:45%}
.qb-word-h em{font-style:normal;font-size:18px;color:#3a6a9a}
.qb-word-b{padding:0 14px 12px}
.qb-word-s{margin:0 0 8px;padding:10px;border-radius:12px;background:#fff;font-size:12.5px;line-height:1.8;color:#173a63;font-weight:700}
.qb-word-q{margin:0 0 6px;font-size:12px;font-weight:800;color:#2f5f96}
.qb-word-a{margin:8px 0 0;padding:9px 11px;border-radius:12px;font-size:12px;font-weight:800;line-height:1.8}
.qb-word-a.is-ok{background:#e9f7ef;color:#0b6b47}
.qb-word-a.is-bad{background:#ffe9e3;color:#a3402a}

/* === look P: تقرير + توقع + مقارنة === */
.qb-week2{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:8px;text-align:center}
.qb-week2 div{padding:10px 6px;border-radius:14px;background:#fff;box-shadow:inset 0 0 0 2px #e7f0ed}
.qb-week2 b{display:block;font-size:20px;color:#0b4a3f;font-variant-numeric:tabular-nums}
.qb-week2 small{display:block;font-size:10px;font-weight:800;color:#5d7a72;line-height:1.4}
.qb-week2 em{font-style:normal;display:block;margin-top:4px;font-size:10.5px;font-weight:800}
.qb-week2 em.is-up{color:#0b6b47}
.qb-week2 em.is-down{color:#b4472e}
.qb-week2 em.is-flat{color:#7a8a86}
.qb-pred{margin-top:8px;padding:14px;border-radius:18px;background:linear-gradient(160deg,#eef7f4,#dcf0e8);text-align:center}
.qb-pred b{display:block;font-size:34px;color:#0b6b47;font-variant-numeric:tabular-nums}
.qb-pred small{display:block;font-size:12px;font-weight:800;color:#3c6a5e}
.qb-pred p{margin:8px 0 0;font-size:11.5px;font-weight:700;color:#5d7a72;line-height:1.8}
.qb-rep-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}
.qb-rep-grid div{padding:10px;border-radius:10px;background:#f4f7f6;text-align:center}
.qb-rep-grid b{display:block;font-size:20px;color:#0b4a3f}
.qb-rep-grid small{font-size:10.5px;color:#555;font-weight:700}
.qb-report h2{margin:14px 0 6px;font-size:14px;color:#0b4a3f}
.qb-rep-ul{margin:0;padding-inline-start:18px;font-size:12px;line-height:1.9;color:#222}

/* === look P2: صلاة + مستويات + ثيمات === */
.qb-pray-card{display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px;border-radius:18px;border:2px solid #e2ece7;background:#fff;text-align:start;color:var(--qb-ink);min-height:60px}
.qb-pray-card b{display:block;font-size:14px;line-height:22px;color:#0b4a3f}
.qb-pray-card small{display:block;font-size:11.5px;font-weight:700;color:#5d7a72;line-height:1.7}
.qb-pray-card em{margin-inline-start:auto;font-style:normal;font-size:22px;color:#9bb0a8}
.qb-pray-ic{flex:none;display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#eef6f2;font-size:20px}
.qb-pray-card.is-now{background:linear-gradient(135deg,#fdf0d9,#fbe2c4);border-color:#f0c98a;animation:qb-pray-pulse 2.4s ease-in-out infinite}
.qb-pray-card.is-now b{color:#8a5a12}
.qb-pray-card.is-now small{color:#8a6a3a}
.qb-pray-card.is-now .qb-pray-ic{background:#fff3dd}
.qb-pray-card.is-soft{background:#f7faf8}
@keyframes qb-pray-pulse{50%{box-shadow:0 0 0 6px rgba(240,177,58,.16)}}
.qb-lvl{padding:14px;border-radius:20px;background:linear-gradient(150deg,#eef7f4,#e2f2ea);border:2px solid #d6e9df}
.qb-lvl-top{display:flex;align-items:center;gap:10px}
.qb-lvl-badge{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:linear-gradient(135deg,#1a8a68,#0f5e45);color:#fff;font-size:20px;font-weight:800}
.qb-lvl-top b{display:block;font-size:15px;color:#0b4a3f}
.qb-lvl-top small{display:block;font-size:11px;font-weight:700;color:#4e6d64;line-height:1.6}
.qb-lvl-top em{margin-inline-start:auto;font-style:normal;font-size:12px;font-weight:800;color:#0b6b47;background:#fff;padding:4px 10px;border-radius:999px}
.qb-lvl-bar{margin-top:10px;height:12px;border-radius:999px;background:#fff;overflow:hidden;box-shadow:inset 0 0 0 1px #d6e9df}
.qb-lvl-bar i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2f9e6e,#5ee0d6)}
.qb-lvl-note{margin:8px 0 0;font-size:11px;font-weight:700;color:#5d7a72;line-height:1.8}
.qb-thp{padding:14px;border-radius:20px;background:#fff;border:2px solid #e6efeb}
.qb-thp .qb-h2{margin:0 0 8px;font-size:15px;color:#0b4a3f}
.qb-thp-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.qb-thp-b{min-height:44px;padding:8px 16px;border-radius:999px;border:1.5px solid #d9e6df;background:#f7faf8;font-size:13px;font-weight:800;color:#0b4a3f}
.qb-thp-b.is-on{background:#0f5e45;color:#fff;border-color:#0f5e45}
.qb-thp-sw{flex:1 1 30%;min-height:46px;border:0;border-radius:14px;color:#fff;font-size:12.5px;font-weight:800;box-shadow:0 4px 12px rgba(0,0,0,.12);opacity:.95}
.qb-thp-sw.is-on{outline:3px solid #0b4a3f;outline-offset:2px}
.qb-thp-sw.is-lock{filter:grayscale(.55);opacity:.7}
html[data-theme="dark"] .qb-pray-card,html[data-theme="dark"] .qb-thp{background:#16211e;border-color:#2a3835}
html[data-theme="dark"] .qb-pray-card b,html[data-theme="dark"] .qb-thp .qb-h2{color:#cfe9df}
html[data-theme="dark"] .qb-pray-card.is-now{background:linear-gradient(135deg,#3a2d12,#4a3a1a);border-color:#7a5f22}
html[data-theme="dark"] .qb-pray-card.is-now b{color:#ffd98a}
html[data-theme="dark"] .qb-lvl{background:linear-gradient(150deg,#14302a,#173a30);border-color:#26543f}
html[data-theme="dark"] .qb-lvl-top b{color:#cfe9df}
html[data-theme="dark"] .qb-lvl-bar{background:#0e1a17}
/* أكسنتات */
html[data-accent="blue"] .qb-root{--qb-green:#3b7fd0;--qb-green-deep:#1e4f8f;--qb-green-soft:#e5eefb;--qb-teal:#1a9e9a}
html[data-accent="blue"] .qb-hero{background:radial-gradient(circle at 15% 20%,rgba(94,224,214,.3),transparent 45%),radial-gradient(circle at 90% 90%,rgba(240,177,58,.25),transparent 40%),linear-gradient(135deg,#1e4f8f,#2b6cb8 55%,#3b7fd0)}
html[data-accent="purple"] .qb-root{--qb-green:#8e6bbf;--qb-green-deep:#5b3f8a;--qb-green-soft:#f0eafa;--qb-teal:#a98bd6}
html[data-accent="purple"] .qb-hero{background:radial-gradient(circle at 15% 20%,rgba(230,200,255,.3),transparent 45%),radial-gradient(circle at 90% 90%,rgba(240,177,58,.22),transparent 40%),linear-gradient(135deg,#4a2f74,#6f4aa5 55%,#8e6bbf)}
html[data-accent="sunset"] .qb-root{--qb-green:#e9674d;--qb-green-deep:#a8412c;--qb-green-soft:#fdebe6;--qb-teal:#f0b13a}
html[data-accent="sunset"] .qb-hero{background:radial-gradient(circle at 15% 20%,rgba(255,214,150,.35),transparent 45%),radial-gradient(circle at 90% 90%,rgba(120,30,60,.3),transparent 40%),linear-gradient(135deg,#a8412c,#d4553a 55%,#e9674d)}
html[data-accent="sea"] .qb-root{--qb-green:#1a9e9a;--qb-green-deep:#0d6b68;--qb-green-soft:#e0f5f4;--qb-teal:#5ee0d6}
html[data-accent="sea"] .qb-hero{background:radial-gradient(circle at 15% 20%,rgba(94,224,214,.4),transparent 45%),radial-gradient(circle at 90% 90%,rgba(20,60,120,.3),transparent 40%),linear-gradient(135deg,#0d6b68,#14918d 55%,#1a9e9a)}

/* === look P3: جدول الأسبوع === */
.qb-wk{display:grid;gap:8px}
.qb-wk-d{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:16px;background:#fff;border:2px solid #e7f0ed}
.qb-wk-d.is-today{border-color:#2f9e6e;background:#f2faf6}
.qb-wk-day{flex:none;width:64px;text-align:center}
.qb-wk-day b{display:block;font-size:12.5px;color:#0b4a3f}
.qb-wk-day small{display:block;font-size:10.5px;font-weight:700;color:#7a8a86}
.qb-wk-body{flex:1;min-width:0}
.qb-wk-body b{display:block;font-size:13.5px;color:#123c33}
.qb-wk-body small{display:block;font-size:11.5px;font-weight:700;color:#5d7a72;line-height:1.7}
.qb-wk-go{flex:none;min-height:38px;padding:6px 14px;border:0;border-radius:12px;background:#0f5e45;color:#fff;font-size:12px;font-weight:800}
html[data-theme="dark"] .qb-wk-d{background:#16211e;border-color:#2a3835}
html[data-theme="dark"] .qb-wk-d.is-today{background:#14302a;border-color:#2f9e6e}
html[data-theme="dark"] .qb-wk-body b,html[data-theme="dark"] .qb-wk-day b{color:#cfe9df}

/* === look P4: ساعات المذاكرة === */
.qb-hours{display:flex;align-items:center;gap:10px;width:100%;padding:12px 14px;border-radius:18px;border:2px solid #e6efeb;background:linear-gradient(140deg,#fff,#f4faf7);text-align:start;color:var(--qb-ink)}
.qb-hours-i{flex:none;display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#eef6f2;font-size:19px}
.qb-hours-t b{display:block;font-size:13.5px;color:#0b4a3f;line-height:22px}
.qb-hours-t small{display:block;font-size:11px;font-weight:700;color:#5d7a72;line-height:1.7}
.qb-hours em{margin-inline-start:auto;font-style:normal;font-size:22px;color:#9bb0a8}
html[data-theme="dark"] .qb-hours{background:#16211e;border-color:#2a3835}
html[data-theme="dark"] .qb-hours-t b{color:#cfe9df}

/* === look P5: آية + هدف الأسبوع + مهمة التركيز === */
.qb-ayah{border-radius:20px;padding:14px;background:linear-gradient(150deg,#f3f8f4,#eaf4ee);border:2px solid #dcebe2;text-align:center}
.qb-ayah-a b{display:block;font-size:17px;line-height:1.9;color:#0b4a3f;font-weight:700}
.qb-ayah-a small{display:block;font-size:11px;font-weight:800;color:#6b8a7f;margin-top:2px}
.qb-ayah-h{margin-top:10px;font-size:12px;font-weight:700;color:#4e6d64;line-height:1.8}
.qb-ayah-h span{color:#c99b2e;margin-inline-end:6px}
.qb-goalw{display:grid;gap:8px;margin-top:8px}
.qb-goalw-r{display:flex;align-items:center;gap:8px;font-size:11.5px;font-weight:800;color:#3c6a5e}
.qb-goalw-r span{flex:none;width:132px}
.qb-goalw-b{flex:1;height:10px;border-radius:999px;background:#e9f2ee;overflow:hidden}
.qb-goalw-b i{display:block;height:100%;border-radius:999px}
.qb-goalw-r em{flex:none;font-style:normal;width:36px;text-align:end}
.qb-focus-task{display:flex;align-items:center;gap:10px;width:100%;padding:12px 14px;border-radius:18px;background:#eef7f4;border:2px solid #d6e9df;text-align:start;color:var(--qb-ink)}
.qb-focus-task span{font-size:20px}
.qb-focus-task b{display:block;font-size:13px;color:#0b4a3f;line-height:1.8}
.qb-focus-task small{display:block;font-size:11px;font-weight:700;color:#5d7a72}
html[data-theme="dark"] .qb-ayah{background:linear-gradient(150deg,#14302a,#173a30);border-color:#26543f}
html[data-theme="dark"] .qb-ayah-a b{color:#cfe9df}
html[data-theme="dark"] .qb-focus-task{background:#14302a;border-color:#26543f}
html[data-theme="dark"] .qb-focus-task b{color:#cfe9df}

/* === look P6: صوت + اختصارات === */
.qb-speak{margin-inline-start:auto;min-height:34px;padding:4px 12px;border-radius:999px;border:1.5px solid #d9e6df;background:#fff;font:inherit;font-size:12px;font-weight:800;color:#0b4a3f}
.qb-speak:hover{background:#eef5f0}
html[data-theme="dark"] .qb-speak{background:#16211e;border-color:#2a3835;color:#cfe9df}

/* === look P7: أدوات السؤال === */
.qb-qtools{display:flex;align-items:flex-start;gap:8px}
.qb-qtools .qb-q{flex:1;margin:0}
.qb-qtools .qb-speak{flex:none;margin-top:2px}
.qb-hint-keys{margin:6px 0 0;font-size:10.5px;font-weight:700;color:#8aa19a;text-align:center}

/* === look P8: خريطة الإتقان === */
.qb-heat{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:8px}
.qb-heat-c{padding:8px 6px;border-radius:12px;text-align:center;min-height:56px;display:flex;flex-direction:column;justify-content:center;gap:2px}
.qb-heat-c b{font-size:10.5px;line-height:1.5;font-weight:800;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.qb-heat-c small{font-size:10px;font-weight:800;opacity:.85}
.qb-heat-c.is-strong{background:#d9f2e4;color:#0b6b47}
.qb-heat-c.is-mid{background:#fdf0d0;color:#8a5a12}
.qb-heat-c.is-weak{background:#fbdcd5;color:#a8412c}
html[data-theme="dark"] .qb-heat-c.is-strong{background:#123c2c;color:#7fe0b8}
html[data-theme="dark"] .qb-heat-c.is-mid{background:#3a2d12;color:#ffd98a}
html[data-theme="dark"] .qb-heat-c.is-weak{background:#3a1e18;color:#ffb0a0}

/* === look P9: أصعب الأسئلة === */
.qb-hard{display:grid;gap:8px;margin-top:8px}
.qb-hard-r{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border-radius:14px;background:#fff;border:2px solid #f0e2de}
.qb-hard-n{flex:none;display:grid;place-items:center;min-width:30px;height:30px;border-radius:10px;background:#fbdcd5;color:#a8412c;font-size:13px;font-weight:800}
.qb-hard-r b{display:block;font-size:12.5px;line-height:1.7;color:#222}
.qb-hard-r small{display:block;font-size:10.5px;font-weight:700;color:#7a8a86;margin-top:2px}
html[data-theme="dark"] .qb-hard-r{background:#16211e;border-color:#3a231d}
html[data-theme="dark"] .qb-hard-r b{color:#e9f2ee}

/* === look P10: خريطة المنهج === */
.qb-map{display:grid;gap:14px}
.qb-map-s{background:#fff;border:2px solid #e7f0ed;border-radius:20px;padding:12px}
.qb-map-sh{display:flex;align-items:baseline;gap:8px;margin-bottom:8px}
.qb-map-sh b{font-size:16px;color:#0b4a3f}
.qb-map-sh small{font-size:11px;font-weight:800;color:#7a8a86}
.qb-map-u{margin-top:10px}
.qb-map-uh{font-size:12px;font-weight:800;color:#3c6a5e;margin-bottom:6px}
.qb-map-l{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.qb-map-i{display:flex;align-items:center;gap:6px;min-height:44px;padding:6px 8px;border-radius:12px;border:1.5px solid #e2ece7;background:#f8fbf9;text-align:start;font:inherit;color:#1f2a26}
.qb-map-i span{flex:1;font-size:11px;font-weight:700;line-height:1.5;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.qb-map-i small{flex:none;font-size:10px;font-weight:800;opacity:.8}
.qb-map-i.is-none{background:#f8fbf9;color:#6b7a76}
.qb-map-i.is-strong{background:#d9f2e4;border-color:#b6e3cb;color:#0b6b47}
.qb-map-i.is-mid{background:#fdf0d0;border-color:#f0dca8;color:#8a5a12}
.qb-map-i.is-weak{background:#fbdcd5;border-color:#f3c3b8;color:#a8412c}
html[data-theme="dark"] .qb-map-s{background:#16211e;border-color:#2a3835}
html[data-theme="dark"] .qb-map-sh b{color:#cfe9df}
html[data-theme="dark"] .qb-map-i{background:#131d1b;border-color:#2a3835;color:#cfe9df}
html[data-theme="dark"] .qb-map-i.is-strong{background:#123c2c;color:#7fe0b8}
html[data-theme="dark"] .qb-map-i.is-mid{background:#3a2d12;color:#ffd98a}
html[data-theme="dark"] .qb-map-i.is-weak{background:#3a1e18;color:#ffb0a0}

/* === look P11: ملخص الدرس + موعد المراجعة === */
.qb-revchip{margin:8px 0 0;font-size:11.5px;font-weight:800;color:#3c6a5e;background:#eef7f4;border:1.5px solid #d6e9df;border-radius:12px;padding:6px 10px;display:inline-block}
.qb-revchip b{color:#0b6b47}
.qb-lsum h2{font-size:14px;color:#0b4a3f;margin:14px 0 6px}
@media print{.qb-no-print{display:none !important}}

/* === look P12: زر ليه؟ === */
.qb-why{margin-top:8px;min-height:44px;padding:8px 14px;border-radius:14px;border:1.5px solid #d9e6df;background:#fff;font:inherit;font-size:12.5px;font-weight:800;color:#0b4a3f}
.qb-why:hover{background:#eef5f0}
html[data-theme="dark"] .qb-why{background:#16211e;border-color:#2a3835;color:#cfe9df}

/* === look P13: مقارنة + تنبيه درس قديم + وضع هادي === */
.qb-cmp{display:grid;gap:8px;margin-top:8px}
.qb-cmp-r{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:800;color:#3c6a5e}
.qb-cmp-r > span{flex:none;width:64px}
.qb-cmp-bars{flex:1;display:flex;align-items:flex-end;gap:6px;height:44px}
.qb-cmp-bars i{flex:1;border-radius:8px 8px 0 0;min-height:4px}
.qb-cmp-bars i.is-old{background:#cfe0d7}
.qb-cmp-bars i.is-new{background:#2f9e6e}
.qb-cmp-r em{flex:none;font-style:normal;width:64px;text-align:end}
.qb-cmp-r em small{display:block;font-size:10px;color:#0b6b47}
.qb-stale{display:flex;align-items:center;gap:10px;width:100%;padding:12px 14px;border-radius:18px;border:2px solid #f0dca8;background:#fdf6e3;text-align:start;color:var(--qb-ink)}
.qb-stale span{font-size:20px}
.qb-stale b{display:block;font-size:13px;color:#8a5a12;line-height:1.8}
.qb-stale small{display:block;font-size:11px;font-weight:700;color:#8a6a3a}
.qb-stale em{margin-inline-start:auto;font-style:normal;font-size:22px;color:#c9a45f}
html[data-quiet="1"] .qb-root *{animation:none !important;transition:none !important}
html[data-quiet="1"] .qb-hero,html[data-quiet="1"] .qb-lvl,html[data-quiet="1"] .qb-ayah{background:#f4f7f6 !important}
html[data-quiet="1"] .qb-joy-sp,html[data-quiet="1"] .qb-joy-orb,html[data-quiet="1"] .qb-robot{display:none !important}

/* === look P14: صفحات معلومات + خط + امتحان + تشيك ليست === */
.qb-info-ul li{margin-bottom:8px}
.qb-new{display:grid;gap:10px;margin-top:10px}
.qb-new-r{padding:12px;border-radius:14px;background:#f7faf8;border:2px solid #e7f0ed}
.qb-new-r b{font-size:12.5px;color:#0b6b47}
.qb-new-r p{margin:6px 0 0;font-size:12px;line-height:1.9;color:#333}
html[data-font="s"] .qb-root{font-size:14px}
html[data-font="l"] .qb-root{font-size:18px}
html[data-font="l"] .qb-q{font-size:20px}
html[data-font="l"] .qb-opt{font-size:17px}
html[data-exam="1"] .qb-joy-sp,html[data-exam="1"] .qb-joy-orb,html[data-exam="1"] .qb-robot{display:none !important}
html[data-exam="1"] .qb-root *{animation:none !important}
.qb-wk-check{flex:none;width:40px;min-height:40px;border-radius:12px;border:2px solid #d6e9df;background:#fff;font-size:16px;font-weight:800;color:#0b6b47}
.qb-wk-check.is-on{background:#2f9e6e;border-color:#2f9e6e;color:#fff}
.qb-mic{min-height:44px;padding:8px 14px;border-radius:14px;border:1.5px solid #d9e6df;background:#fff;font-size:16px}
.qb-mic.is-on{background:#fdebe6;border-color:#e9674d}
html[data-theme="dark"] .qb-wk-check{background:#16211e;border-color:#2a3835;color:#cfe9df}

/* === look Q: كمّل من حيث وقفت + التثبيت + وضع الضيف === */
.qb-cont{display:flex;flex-direction:column;gap:8px;margin:14px 0}
.qb-cont-i{display:flex;align-items:center;gap:12px;width:100%;text-align:right;background:var(--qb-card,#fff);border:1px solid rgba(0,0,0,.08);border-radius:16px;padding:12px 14px;font-family:inherit;cursor:pointer;box-shadow:0 2px 8px rgba(20,40,30,.05)}
.qb-cont-i:active{transform:scale(.99)}
.qb-cont-i i{margin-inline-start:auto;font-style:normal;font-size:20px;color:#8a8f98}
.qb-cont-t{display:flex;flex-direction:column;gap:2px}
.qb-cont-t small{font-size:12px;color:#7b818a}
.qb-cont-t b{font-size:15px;color:var(--qb-ink,#16221c)}
.qb-cont-dot{width:12px;height:12px;border-radius:50%;flex:0 0 12px}
.qb-cont-dot.is-prog{background:var(--qb-teal,#0f9d8f)}
.qb-cont-dot.is-hist{background:var(--qb-amber,#e8a33d)}
.qb-cont-dot.is-ar{background:var(--qb-coral,#e2685a)}
.qb-cont-dot.is-en{background:var(--qb-blue,#3d7ee8)}
.qb-ins-steps{display:flex;flex-direction:column;gap:12px;margin:14px 0}
.qb-ins-step{display:grid;grid-template-columns:34px 1fr 76px;gap:10px;align-items:center;background:var(--qb-card,#fff);border:1px solid rgba(0,0,0,.08);border-radius:18px;padding:12px 14px;box-shadow:0 3px 12px rgba(20,40,30,.06)}
.qb-ins-n{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-weight:800;color:#fff;background:linear-gradient(140deg,var(--qb-green,#1f9d55),var(--qb-teal,#0f9d8f))}
.qb-ins-txt b{display:block;font-size:15px;margin-bottom:3px}
.qb-ins-txt p{margin:0;font-size:13px;line-height:1.6;color:#5d646d}
.qb-ins-art{position:relative;height:66px;border-radius:12px;background:linear-gradient(160deg,#eef7f2,#e2f0ff);border:1px solid rgba(0,0,0,.06);overflow:hidden}
.qb-ins-art-bar{position:absolute;inset:6px 8px auto 8px;height:8px;border-radius:4px;background:rgba(15,157,143,.35)}
.qb-ins-art-b{position:absolute;right:8px;bottom:10px;width:26px;height:16px;border-radius:5px;background:rgba(232,163,61,.75)}
.qb-ins-art-b2{position:absolute;left:8px;bottom:10px;width:18px;height:10px;border-radius:4px;background:rgba(61,126,232,.45)}
.qb-ins-art-arrow{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:22px;font-weight:800;color:var(--qb-green,#1f9d55);opacity:.85}
.qb-ins-art.is-share .qb-ins-art-arrow{content:'↑'}
.qb-ins-art.is-list .qb-ins-art-bar{inset:8px 8px auto 8px;height:34px;background:repeating-linear-gradient(180deg,rgba(15,157,143,.25) 0 6px,transparent 6px 12px)}
.qb-ins-art.is-add .qb-ins-art-arrow{color:var(--qb-coral,#e2685a)}
.qb-ins-art.is-dots .qb-ins-art-arrow{content:'⋮';font-size:24px;left:auto;right:10px;top:16px;transform:none}
.qb-share{width:100%;margin-top:8px}
.qb-drawer-note{margin:6px 14px 12px;font-size:12px;line-height:1.6;color:#6b727b}
.qb-drawer-i.is-on{background:rgba(31,157,85,.12);color:var(--qb-green,#1f9d55);font-weight:700}
[data-guest="1"] .qb-cert-share-note{display:none}
/* الشارة فوق Summit كانت أبيض على أبيض في الترويسة الخضراء */
.qb-hero-text .qb-badge{background:rgba(255,255,255,.18);color:#fff;border:1px solid rgba(255,255,255,.35);font-weight:700;letter-spacing:0}
/* === look R: الشرح التفصيلي للسؤال === */
.qb-xp{margin-top:10px}
.qb-xp-b{width:100%;min-height:46px;border-radius:14px;border:1.5px dashed rgba(31,157,85,.55);background:rgba(31,157,85,.07);color:#146c43;font-family:inherit;font-weight:700;font-size:14px;cursor:pointer}
.qb-xp-p{margin-top:10px;display:flex;flex-direction:column;gap:10px;background:#fbfdfb;border:1px solid rgba(0,0,0,.07);border-radius:16px;padding:12px 14px}
.qb-xp-s b{display:block;font-size:13px;color:#0f7a4f;margin-bottom:4px}
.qb-xp-s p{margin:0;font-size:14px;line-height:1.75;color:#26302b}
.qb-xp-s ul{margin:0;padding-inline-start:18px}
.qb-xp-s li{font-size:13.5px;line-height:1.7;color:#2b342f;margin-bottom:4px}
.qb-xp-s li em{font-style:normal;font-weight:700;color:#8a4b12}
.qb-xp-s.is-rule{background:rgba(61,126,232,.07);border-radius:12px;padding:10px 12px}
.qb-xp-s.is-rule b{color:#2a5ea8}
.qb-xp-s.is-trap{background:rgba(232,163,61,.10);border-radius:12px;padding:10px 12px}
.qb-xp-s.is-trap b{color:#8a5a12}

/* === look Q: لوحة «اشرح السؤال بالتفصيل» — تصميم مرجع شرح امتحان يوم ٣ === */
.qb-xp{margin:10px 0 2px}
.qb-xp-b{width:100%;border:0;border-radius:14px;padding:13px 16px;font:800 15px/1.5 inherit;color:#fff;
  background:linear-gradient(135deg,#7c4dff,#4f2ee8);box-shadow:0 6px 16px rgba(79,46,232,.28);cursor:pointer}
.qb-xp-b:active{transform:translateY(1px)}
.qb-xp-p{margin-top:10px;display:flex;flex-direction:column;gap:9px}
.xp-card{border-radius:13px;padding:11px 12px;font-size:14px;line-height:1.75;direction:rtl;text-align:right;
  border:1px solid transparent;box-shadow:0 2px 8px rgba(16,24,40,.06)}
.xp-txt{display:inline;color:#1f2937}
.xp-okh{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:6px;font-size:15px}
.xp-okh b{color:#14532d;font-weight:800}
.xp-line{display:flex;flex-wrap:wrap;align-items:flex-start;gap:6px}
.xp-pill{display:inline-block;border-radius:999px;padding:2px 10px;font-size:12.5px;font-weight:800;color:#fff;white-space:nowrap}
.xp-pill.ok{background:#2f7d55}
.xp-pill.rule{background:#2f5f9e}
.xp-pill.trap{background:#b5761a}
.xp-tagok{display:inline-block;background:#2f7d55;color:#fff;border-radius:999px;padding:2px 11px;font-size:12.5px;font-weight:800}
.xp-ok{background:#e8f5ee;border-color:#b7e0c8}
.xp-bads{display:flex;flex-direction:column;gap:8px}
.xp-bad{background:#fdecec;border-color:#f6c9c9;display:flex;align-items:flex-start;gap:8px}
.xp-bad .xp-txt{color:#7f1d1d}
.xp-bad b{color:#8f2b2b}
.xp-rsn{display:block;margin-top:3px;color:#7f1d1d;font-weight:500}
.xp-x{color:#d94141;font-weight:900;font-size:15px;line-height:1.6;flex:0 0 auto}
.xp-rule{background:#e9f1fb;border-color:#c3d8f2}
.xp-rule .xp-txt{color:#1e3a5f}
.xp-trap{background:#fff4dd;border-color:#f3d9a0}
.xp-trap .xp-txt{color:#6b4708}
@media (max-width:420px){
  .xp-card{font-size:13.5px;padding:10px 11px}
  .qb-xp-b{font-size:14.5px;padding:12px 14px}
}

.xp-ltr{unicode-bidi:isolate;direction:ltr;display:inline}

.xp-opt{unicode-bidi:isolate;display:block;text-align:left}

/* اتجاه نص السؤال: العربي RTL والإنجليزي LTR تلقائيًا (يمنع تنقّل علامات الترقيم في الأسئلة الإنجليزية) */
.qb-q, .qb-qtools h3, .qb-why, .qb-rep-ul b, .qb-hit { unicode-bidi: plaintext; }

.qb-pass{border:1px solid #d9d1f5;background:#f7f4ff;border-radius:14px;margin:10px 0;padding:0}
.qb-pass>summary{cursor:pointer;padding:10px 12px;font-weight:700;color:#4b2ea8;list-style:none}
.qb-pass>summary::-webkit-details-marker{display:none}
.qb-pass[open]>summary{border-bottom:1px solid #e6e0fb}
.qb-pass-b{padding:10px 12px 12px;max-height:320px;overflow:auto}
.qb-pass-b p{margin:0 0 8px;line-height:1.75;font-size:15px;color:#222}
.qb-pass-b .qb-verse{font-size:16.5px;line-height:2.05;font-weight:600;text-align:center;letter-spacing:0;margin:0 0 6px}


.qb-pass-src{padding:7px 12px;font-size:12.5px;line-height:1.6;color:#8a6a12;background:#fff8e4;border-bottom:1px solid #f2e4bd}

.qb-done{display:inline-flex;align-items:center;gap:8px;border:2px dashed #b9c4cf;background:#fff;color:#334;border-radius:12px;padding:8px 12px;font:inherit;font-weight:700;cursor:pointer}
.qb-done .qb-done-m{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;border:2px solid #b9c4cf;font-size:14px;line-height:1}
.qb-done.is-on{border-style:solid;border-color:#1f8a4c;background:#e8f7ee;color:#136c3a}
.qb-done.is-on .qb-done-m{background:#1f8a4c;border-color:#1f8a4c;color:#fff}
.qb-done.is-sm{padding:5px 9px;font-size:13px;border-radius:10px}
.qb-les-done{margin:8px 0 14px}
.qb-done-tick{display:inline-grid;place-items:center;width:18px;height:18px;margin-inline-start:6px;border-radius:50%;background:#1f8a4c;color:#fff;font-size:12px;font-weight:800;vertical-align:middle}


.qb-pay{min-height:100vh;display:grid;place-items:center;padding:18px;background:linear-gradient(180deg,#f6fbf7,#eef4ff)}
.qb-pay-c{width:min(560px,100%);background:#fff;border:1px solid #e3e8ee;border-radius:20px;padding:20px;box-shadow:0 10px 30px rgba(16,40,60,.08)}
.qb-pay-top h1{margin:6px 0 8px;font-size:23px;color:#123}
.qb-pay-top p{margin:0 0 14px;color:#456;line-height:1.8}
.qb-pay-badge{display:inline-block;background:#1f8a4c;color:#fff;border-radius:999px;padding:3px 12px;font-weight:800;font-size:13px}
.qb-pay-price{display:flex;align-items:baseline;gap:10px;background:#e8f7ee;border:1px solid #bfe6cd;border-radius:14px;padding:12px 14px;margin-bottom:14px}
.qb-pay-price b{font-size:26px;color:#136c3a}
.qb-pay-price span{color:#2c6b47;font-weight:700}
.qb-pay-box{border:1px dashed #cfd8e3;border-radius:14px;padding:12px 14px;margin-bottom:12px}
.qb-pay-box h3{margin:0 0 6px;font-size:16px;color:#123}
.qb-pay-box p{margin:0 0 8px;color:#456;line-height:1.7;font-size:14px}
.qb-pay-wallet{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#f4f7fb;border-radius:12px;padding:8px 12px}
.qb-pay-wallet bdi{font-size:20px;font-weight:800;letter-spacing:1px;color:#123}
.qb-copy{border:1px solid #cfd8e3;background:#fff;border-radius:10px;padding:6px 10px;font:inherit;font-weight:700;cursor:pointer;color:#123}
.qb-pay-in{display:flex;gap:8px;flex-wrap:wrap}
.qb-pay-in input{flex:1;min-width:200px;border:1.5px solid #cfd8e3;border-radius:12px;padding:10px 12px;font:inherit;font-size:16px;letter-spacing:1px;text-align:center}
.qb-pay-go{border:0;border-radius:12px;background:#1f8a4c;color:#fff;font:inherit;font-weight:800;padding:10px 18px;cursor:pointer}
.qb-pay-msg{margin:8px 0 0;font-weight:700;font-size:14px}
.qb-pay-msg.is-bad{color:#b42318}
.qb-pay-msg.is-ok{color:#136c3a}
.qb-pay-note{margin:0;color:#6b7a8c;font-size:13px;line-height:1.7}
.qb-trialbar{position:fixed;inset-inline-start:12px;inset-block-end:12px;z-index:60;display:flex;align-items:center;gap:10px;background:#123;color:#fff;border-radius:999px;padding:7px 12px;font-size:13px;font-weight:700;box-shadow:0 6px 18px rgba(0,0,0,.18)}
.qb-trialbar button{border:0;background:transparent;color:#fff;font-size:16px;line-height:1;cursor:pointer}
@media print{.qb-trialbar{display:none}}
/* استجابة فورية للضغط + منع تأخير اللمس على الموبايل */
.qb-chip,.qb-go,.qb-ghost,.qb-unit,.qb-kind,.qb-tool,.qb-acc-h,.qb-back,.qb-opt,.qb-secc,.qb-subj,.qb-drawer-i,.qb-flip,.qb-copy,.qb-pay-go,.qb-continue,.qb-hit,.qb-topnav-i{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.qb-chip:active,.qb-ghost:active,.qb-unit:active,.qb-kind:active,.qb-tool:active,.qb-acc-h:active,.qb-back:active,.qb-opt:active,.qb-drawer-i:active,.qb-copy:active,.qb-continue:active,.qb-topnav-i:active{transform:scale(.97)}
.qb-chip:active{background:#eaf4ee}
.qb-go:active,.qb-pay-go:active{transform:scale(.97);filter:brightness(.94)}
.qb-unit:active,.qb-kind:active,.qb-tool:active,.qb-acc-h:active{background:#f4faf7}
.qb-glink{display:block;text-align:center;text-decoration:none;line-height:44px}
.qb-ghost[disabled]{opacity:.6}
html[data-theme=dark] .qb-chip:active,html[data-theme=dark] .qb-unit:active,html[data-theme=dark] .qb-kind:active,html[data-theme=dark] .qb-tool:active,html[data-theme=dark] .qb-acc-h:active{background:#1c2b27}

/* ===== أكمل النص بالكلمات (cloze) + الترجمة ===== */
.qb-cz-box{display:flex;flex-direction:column;gap:8px;padding:12px;border-radius:18px;background:var(--qb-amber-soft);border:1.5px solid #f0d79a}
.qb-cz-box-h{font-size:13px;color:#8a6412}
.qb-cz-words{display:flex;flex-wrap:wrap;gap:8px;direction:ltr}
.qb-cz-w{min-height:40px;padding:6px 14px;border-radius:999px;border:1.5px solid #d9c58a;background:#fff;color:#1f2a26;font-size:14px;line-height:1.4;transition:transform .12s,opacity .12s}
.qb-cz-w:hover:not(:disabled){transform:translateY(-1px)}
.qb-cz-w.is-used{opacity:.35;text-decoration:line-through;cursor:default}
.qb-cz-p{margin:0;padding:14px;border-radius:18px;background:#fbfdfc;border:1.5px dashed #cfe0d7;font-size:16px;line-height:2.1;color:var(--qb-ink)}
.qb-cz-b{display:inline-flex;align-items:center;gap:6px;min-width:104px;min-height:36px;margin:0 3px;padding:2px 10px;border-radius:10px;border:1.5px solid #cfe0d7;border-bottom-width:2.5px;background:#fff;color:#3d4b45;font-size:15px;line-height:1.6;vertical-align:baseline;justify-content:center}
.qb-cz-b.has{background:var(--qb-blue-soft);border-color:var(--qb-blue);color:#1d4f8a;font-weight:600}
.qb-cz-b.is-active{border-color:var(--qb-teal);box-shadow:0 0 0 3px #1a9e9a33}
.qb-cz-b.is-right{background:#e3f6ec;border-color:var(--qb-green);color:var(--qb-green-deep);font-weight:700}
.qb-cz-b.is-wrong{background:var(--qb-coral-soft);border-color:var(--qb-coral);color:#a23b26;font-weight:700}
.qb-cz-n{flex:none;display:inline-grid;place-items:center;width:20px;height:20px;border-radius:6px;background:#eef4f1;color:#5d6b65;font-size:11px;font-weight:700}
.qb-cz-expl{display:grid;gap:10px}
.qb-cz-x{padding:12px 14px;border-radius:16px;background:#f6faf8;border-inline-start:5px solid #cfe0d7}
.qb-cz-x.is-ok{background:#e9f7f0;border-color:var(--qb-green)}
.qb-cz-x.is-bad{background:#fff2dd;border-color:var(--qb-amber)}
.qb-cz-x b{display:block;font-size:14px;line-height:24px}
.qb-cz-x p{margin:6px 0 0;font-size:14px;line-height:26px}
.qb-cz-mine{font-weight:400;color:#a35a00}
html[data-theme=dark] .qb-cz-box{background:#32280f;border-color:#4a3c18}
html[data-theme=dark] .qb-cz-box-h{color:#f0c874}
html[data-theme=dark] .qb-cz-w{background:#16211e;border-color:#4a3c18;color:#e9f2ee}
html[data-theme=dark] .qb-cz-p{background:#131d1b;border-color:#2a3835;color:#e9f2ee}
html[data-theme=dark] .qb-cz-b{background:#16211e;border-color:#2a3835;color:#d7ece3}
html[data-theme=dark] .qb-cz-b.has{background:#16283e;border-color:#3b7fd0;color:#8fc0ff}
html[data-theme=dark] .qb-cz-n{background:#1c2b27;color:#9db3ab}
html[data-theme=dark] .qb-cz-x{background:#131d1b;border-color:#2a3835}
html[data-theme=dark] .qb-cz-x.is-ok{background:#17332a;border-color:#2f9e6e}
html[data-theme=dark] .qb-cz-x.is-bad{background:#35291a;border-color:#f0b13a}

/* تحدي ١ ضد ١ */
.qb-duel-code{font-size:34px;letter-spacing:10px;font-weight:600;text-align:center;padding:14px 8px;border-radius:18px;background:var(--qb-coral-soft);color:var(--qb-coral);direction:ltr;unicode-bidi:isolate;margin:6px 0 10px}
.qb-duel-top{display:flex;align-items:center;justify-content:center;gap:12px;font-size:15px;color:var(--qb-mut)}
.qb-duel-top b{font-size:22px;color:var(--qb-ink);margin-inline-start:6px}
.qb-duel-me,.qb-duel-op{display:inline-flex;align-items:center;gap:2px;padding:6px 14px;border-radius:999px;background:#00000008}
.qb-duel-vs{font-size:12px;opacity:.7}
.qb-duel-bar{height:10px;border-radius:999px;background:#00000012;overflow:hidden}
.qb-duel-bar i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--qb-teal),var(--qb-green));transition:width .25s linear}
.qb-duel-bar i.is-low{background:linear-gradient(90deg,var(--qb-coral),#c9402b)}
.qb-duel-count{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:52vh;text-align:center}
.qb-duel-count b{font-size:96px;line-height:1;font-weight:600;color:var(--qb-coral);animation:qb-pulse .85s ease-in-out infinite}
.qb-duel-count small{font-size:14px;color:var(--qb-mut)}
@keyframes qb-pulse{50%{transform:scale(1.12);opacity:.75}}
.qb-duel-rev{margin-top:12px;display:flex;flex-direction:column;gap:10px}
.qb-duel-rev-r{padding:12px 14px;border-radius:16px;background:#00000006}
.qb-duel-rev-q{margin:0 0 6px;font-weight:600;line-height:1.7}
.qb-duel-rev-a{margin:0 0 4px;font-size:14px;color:var(--qb-green)}
.qb-duel-rev-e{margin:0;font-size:13px;color:var(--qb-mut);line-height:1.9}
[data-theme="dark"] .qb-duel-me,[data-theme="dark"] .qb-duel-op,[data-theme="dark"] .qb-duel-rev-r{background:#ffffff12}
[data-theme="dark"] .qb-duel-bar{background:#ffffff1f}
/* === رحلة الطالب: وصلت لحد فين + كمّل من هنا === */
.qb-jr{display:flex;flex-direction:column;gap:10px;padding:14px;border-radius:22px;background:linear-gradient(180deg,#fff,#f7fbf9);border:1.5px solid #e2eee8}
.qb-jr-h{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.qb-jr-h b{font-size:16px}
.qb-jr-h small{font-size:12px;color:var(--qb-mut)}
.qb-jr-row{display:flex;flex-direction:column;gap:7px;padding:11px 12px;border-radius:16px;background:#fff;border:1.5px solid #e8f1ec}
.qb-jr-top{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.qb-jr-top b{font-size:14px}
.qb-jr-top small{font-size:12px;line-height:18px;color:var(--qb-mut);flex:1 1 120px;min-width:0}
.qb-jr-dot{width:10px;height:10px;border-radius:50%;flex:0 0 auto}
.qb-jr-bar{height:8px;border-radius:999px;background:#e8f0ec;overflow:hidden}
.qb-jr-bar i{display:block;height:100%;border-radius:999px;transition:width .45s ease}
.qb-jr-bot{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.qb-jr-bot small{font-size:11.5px;color:var(--qb-mut)}
.qb-jr-go{min-height:36px;padding:6px 14px;border-radius:12px;border:0;background:linear-gradient(135deg,#1a8a68,#2f9e6e);color:#fff;font:600 13px/1.4 inherit;cursor:pointer}
.qb-jr-go.is-done{background:var(--qb-teal-soft);color:var(--qb-green-deep);border:1.5px solid var(--qb-teal)}
.qb-jr-go:active{transform:translateY(1px)}

.qb-jr-hero{display:flex;flex-direction:column;gap:9px;margin:0 0 12px;padding:13px 14px;border-radius:20px;background:linear-gradient(180deg,#f2fbf8,#eaf7f2);border:1.5px solid #cfe9df}
.qb-jr-hero-t{display:flex;flex-direction:column;gap:2px}
.qb-jr-hero-t small{font-size:11.5px;color:var(--qb-mut)}
.qb-jr-hero-t b{font-size:15px;line-height:23px}
.qb-jr-hero-t span{font-size:11.5px;color:var(--qb-mut)}

.qb-jr-big{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:58px;padding:10px 14px;border-radius:16px;border:0;background:linear-gradient(135deg,#12876a,#2f9e6e);color:#fff;text-align:start;cursor:pointer;box-shadow:0 6px 16px rgba(26,138,104,.22)}
.qb-jr-big span{display:flex;flex-direction:column;gap:1px;min-width:0}
.qb-jr-big small{font-size:11px;opacity:.85}
.qb-jr-big b{font-size:14.5px;line-height:21px}
.qb-jr-big i{font-style:normal;font-size:24px;opacity:.9;flex:0 0 auto}
.qb-jr-big:active{transform:translateY(1px)}
.qb-jr-done{margin:0;font-size:12.5px;color:var(--qb-green-deep);font-weight:600}

.qb-jr-next{display:flex;flex-direction:column;gap:9px;margin:18px 0 6px;padding:13px 14px;border-radius:20px;background:#f7fbf9;border:1.5px solid #e2eee8}
.qb-jr-next-h{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.qb-jr-next-h b{font-size:14.5px}
.qb-jr-next-h small{font-size:11.5px;color:var(--qb-mut)}
.qb-jr-next-b{display:flex;gap:8px;flex-wrap:wrap}
.qb-jr-next-b .qb-ghost{flex:1 1 140px;min-height:40px}

html[data-theme="dark"] .qb-jr{background:#16211e;border-color:#26332f}
html[data-theme="dark"] .qb-jr-row{background:#111c19;border-color:#26332f}
html[data-theme="dark"] .qb-jr-bar{background:#22302c}
html[data-theme="dark"] .qb-jr-hero{background:#12201c;border-color:#26443a}
html[data-theme="dark"] .qb-jr-go.is-done{background:#12312a;color:#9fe7c8}
html[data-theme="dark"] .qb-jr-next{background:#16211e;border-color:#26332f}
html[data-theme="dark"] .qb-jr-done{color:#9fe7c8}
@media (max-width:420px){
  .qb-jr{padding:12px;gap:9px}
  .qb-jr-go{min-height:34px;font-size:12.5px}
  .qb-jr-big b{font-size:13.5px}
}

/* === كويز الخطة الدراسية === */
.pq-count{display:flex;align-items:baseline;gap:8px;margin-bottom:8px;padding:12px 14px;border-radius:16px;background:var(--qb-amber-soft);border:1.5px solid #f0d79a}
.pq-count b{font-size:15px}
.pq-count span{font-size:12px;color:var(--qb-mut)}
.pq-step{display:flex;flex-direction:column;gap:10px;margin-top:14px}
.pq-sel{display:flex;flex-direction:column;gap:5px;font-size:13px;font-weight:600}
.pq-sel select{min-height:44px;padding:8px 10px;border-radius:12px;border:1.5px solid #cfe0d7;background:#fff;font:600 13px/1.4 inherit;color:var(--qb-ink)}
.pq-opt{display:flex;flex-direction:column;gap:3px;text-align:start;padding:12px 14px;border-radius:14px;border:1.5px solid #e2eee8;background:#fff;cursor:pointer}
.pq-opt b{font-size:14px}
.pq-opt small{font-size:11.5px;color:var(--qb-mut);line-height:1.6}
.pq-opt.is-on{border-color:var(--qb-teal);background:var(--qb-teal-soft)}
.pq-nav{display:flex;gap:8px;margin-top:6px}
.pq-nav .qb-go,.pq-nav .qb-ghost{flex:1 1 0;min-height:46px}
.pq-week{margin-top:12px;padding:11px 12px;border-radius:16px;background:#fff;border:1.5px solid #e8f1ec;display:flex;flex-direction:column;gap:6px}
.pq-week-h{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;border-bottom:1px solid #eef5f1;padding-bottom:6px}
.pq-week-h b{font-size:14px}
.pq-week-h small{font-size:11.5px;color:var(--qb-mut)}
.pq-week-h em{margin-inline-start:auto;font-style:normal;font-size:11.5px;color:var(--qb-mut)}
.pq-row{display:flex;align-items:center;gap:8px;width:100%;text-align:start;padding:8px 6px;border:0;border-radius:10px;background:none;cursor:pointer}
.pq-row:hover{background:#f5faf7}
.pq-row .pq-tag{flex:0 0 auto;font-size:10.5px;font-weight:700;padding:2px 8px;border-radius:999px;background:var(--qb-blue-soft);color:var(--qb-blue)}
.pq-row.is-weak .pq-tag{background:var(--qb-coral-soft);color:#b8402a}
.pq-row.is-ahead .pq-tag{background:var(--qb-green-soft);color:var(--qb-green-deep)}
.pq-row .pq-t{flex:1 1 auto;font-size:13px;line-height:1.6;min-width:0}
.pq-row small{font-size:11px;color:var(--qb-mut);flex:0 0 auto}
.pq-start{margin-top:14px}
html[data-theme="dark"] .pq-sel select{background:#111c19;border-color:#26332f;color:#e9f2ee}
html[data-theme="dark"] .pq-opt{background:#111c19;border-color:#26332f}
html[data-theme="dark"] .pq-week{background:#111c19;border-color:#26332f}
html[data-theme="dark"] .pq-week-h{border-color:#22302c}
.qb-jr-plan{border:0;background:var(--qb-teal-soft);color:var(--qb-green-deep);font:700 12px/1.4 inherit;padding:7px 12px;border-radius:999px;cursor:pointer}
html[data-theme="dark"] .qb-jr-plan{background:#12312a;color:#9fe7c8}

/* شريط حصص المواد في رأس الأسبوع */
.pq-week-s { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; }
.pq-week-s span { font-size: 11px; color: #4a5568; background: #eef2f7; border-radius: 999px; padding: 2px 8px; }
.pq-more { margin-top: 18px; }
.pq-link { background: none; border: 0; color: #1f6feb; font: inherit; cursor: pointer; padding: 0; text-decoration: underline; }
