/* Kerrasi start flow and the 4 ابتدائي path (16/11/2026). Kit tokens from docs/app-study/drawings/start-flow/kit.css
   (identity kit 02/11), scoped to .kf / .k4 so the older app pages keep theirs. Dark = the kit's dark tokens. */
.kf,.k4{--teal:#13B5A5;--deep:#0C8C80;--deeper:#086B62;--ink:#12302C;--amber:#FFB81F;--amberd:#E69500;--paper:#FFFFFF;--surface:#FFFFFF;--tedge:#A9CDDD;--tlip:#6F9BB0;--offlip:#CBDDE3;--tealx:#086B62;--ambx:#7A4E00;--redx:#A92A22;--rule:#BFDDEB;--rules:#E3EEF3;--red:#FF5A4F;--tealt:#DDF4F0;--ambt:#FFF0C7;--grey:#526C68;--lock:#DCE7E6;
 --T:'Baloo Bhaijaan 2','Geeza Pro',system-ui,sans-serif;--B:'Readex Pro','Geeza Pro',system-ui,sans-serif;
 background:transparent;color:var(--ink);font-family:var(--B);direction:rtl;-webkit-tap-highlight-color:transparent}
[data-theme=dark] .kf,[data-theme=dark] .k4{--paper:#0F1C1B;--surface:#182B29;--ink:#EAF4F2;--grey:#A3BAB6;--rule:#4D706B;--rules:#243A37;--tedge:#4D706B;--tlip:#2E4A46;--offlip:#1B2D2B;--tealt:#10443D;--ambt:#46381B;--lock:#263835;--tealx:#8FE6DA;--ambx:#FFD27A;--redx:#FF9E96}
html.kf-on body>*:not(#kf){display:none!important}
html.kf-on,html.kf-on body{background-color:var(--kfbg,#EDF7F5);margin:0}  /* 17/11: the maths-signs page of ui.css shows through */
[data-theme=dark].kf-on{--kfbg:#0F1C1B}
.kf *,.k4 *{box-sizing:border-box}
:where(.kf,.k4) button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
.kf :focus-visible,.k4 :focus-visible{outline:3px solid var(--amberd);outline-offset:3px;border-radius:12px}
:where(.kf,.k4) :where(h1,h2,p,ol,ul){margin:0;padding:0}
.ic{flex:none;display:inline-block;vertical-align:middle}
.kf .m,.k4 .m{font-family:var(--T);font-weight:700;unicode-bidi:isolate;direction:ltr;display:inline-block;white-space:nowrap}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.hd{font:800 24px/1.3 var(--T)}.hd.c{text-align:center}.hd.xl{font-size:34px}.hd.xl2{font-size:30px}.hd.xl3{font-size:28px}
.sub{font:400 14px/1.6 var(--B);color:var(--grey)}.sub.ink{font-size:16px;color:var(--ink)}.sub.up{margin-top:-8px}.sub.lg{font-size:17px}
.hint{font:500 13.5px/1.5 var(--B);color:var(--grey);text-align:center}.hint.st{text-align:start}
.kept{display:flex;align-items:center;justify-content:center;gap:6px;font:500 13.5px var(--B);color:var(--grey);margin-top:10px}
:is(.kf,.k4) .btn{height:54px;min-height:44px;border-radius:16px;background:var(--deep)!important;color:#fff!important;font:800 20px var(--T)!important;display:flex;align-items:center;justify-content:center;gap:8px;box-shadow:0 5px 0 var(--deeper);margin-bottom:5px;padding:0 18px;white-space:nowrap;width:100%;transition:transform .08s}
:is(.kf,.k4) .btn:active{transform:translateY(3px);box-shadow:0 2px 0 var(--deeper)}
:is(.kf,.k4) .btn:disabled{background:var(--rules)!important;color:var(--grey)!important;box-shadow:0 5px 0 var(--offlip);cursor:default;transform:none}
:is(.kf,.k4) .btn.wh{background:var(--surface)!important;color:var(--deep)!important;box-shadow:0 5px 0 var(--rule);border:2px solid var(--rule)}
/* phone */
.kf.mob .phone{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;max-width:560px;margin:0 auto}
.fb{height:56px;flex:none;display:flex;align-items:center;gap:12px;padding:0 14px}
.fb .bk{width:44px;height:44px;display:grid;place-items:center;color:var(--grey);flex:none;border-radius:12px}
.prog{flex:1;display:flex;gap:5px}.prog i{flex:1;height:8px;border-radius:4px;background:var(--rules)}.prog i.d{background:var(--teal)}
.plink{flex:none;min-height:44px;display:flex;align-items:center;gap:6px;padding:0 12px;border-radius:13px;border:2px solid var(--rule)!important;font:700 14px var(--T)!important;color:var(--deep)!important;white-space:nowrap}
.sc{flex:1;padding:12px 16px;display:flex;flex-direction:column;gap:12px}
.f2{flex:none;padding:10px 18px 30px;position:sticky;bottom:0;background:var(--paper)}
.qh{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px}
.yf{position:relative;display:block;align-self:center;margin-top:18px}
.yf input{position:absolute;inset:0;width:100%;height:100%;opacity:0;font-size:16px;border:0;caret-color:transparent;cursor:text}
.dg{display:flex;gap:10px;justify-content:center;direction:ltr}
.dg b{width:66px;height:80px;border-radius:16px;border:2px solid var(--tedge);border-bottom-width:5px;background:var(--surface);display:grid;place-items:center;font:800 38px var(--T);color:var(--ink)}
.dg b.cur{border-color:var(--deep);border-bottom-color:var(--deeper)}
.yf:focus-within .dg b.cur:empty::after{content:'';width:3px;height:38px;border-radius:2px;background:var(--deep);animation:kfc 1s steps(1) infinite}
.yf:focus-within .dg{outline:3px solid var(--amberd);outline-offset:6px;border-radius:18px}
@keyframes kfc{50%{opacity:0}}
.gerr{min-height:0;font:600 14.5px/1.55 var(--B);color:var(--redx);text-align:center}.gerr:empty{display:none}
.gp{flex:1}
.kp{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;direction:ltr}
.kp button{height:56px;border-radius:12px;background:var(--surface);border:2px solid var(--tedge);border-bottom:5px solid var(--tlip);font:700 26px var(--T);display:grid;place-items:center;color:var(--ink)}
.kp button:active{border-bottom-width:2px;transform:translateY(3px)}
.kp .w{grid-column:span 2}.kp .f{background:var(--rules);font-size:22px}
.dimm{position:fixed;inset:0;background:rgba(18,48,44,.5);z-index:7}
.bs{position:fixed;left:0;right:0;bottom:0;background:var(--surface);border-radius:26px 26px 0 0;padding:18px 18px 34px;z-index:8;max-width:560px;margin:0 auto;animation:kfup .22s ease-out}
.bs .qh{gap:6px}.bcol{display:flex;flex-direction:column;gap:12px;margin-top:16px}
@keyframes kfup{from{transform:translateY(40px);opacity:0}}
.who{display:flex;align-items:center;gap:14px;padding:16px;border-radius:18px;border:2px solid var(--tedge)!important;border-bottom-width:5px!important;background:var(--surface)!important;text-align:start;width:100%}
.who b{font:800 21px var(--T);display:block}.who .ico{width:56px;height:56px;border-radius:16px;background:var(--tealt);color:var(--deep);display:grid;place-items:center;flex:none}
.grp{font:700 14px var(--T);color:var(--grey);margin:6px 2px -4px}
.yrs{display:grid;gap:8px;grid-template-columns:repeat(5,1fr)}
.ch{height:66px;border-radius:14px;border:2px solid var(--tedge)!important;border-bottom-width:5px!important;background:var(--surface)!important;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.1}
.ch b{font:800 24px var(--T)}.ch small{font:600 11px var(--B);color:var(--grey)}
.ch.on{background:var(--deep)!important;border-color:var(--deeper)!important;color:#fff}.ch.on small{color:#fff}
.ch.soon{background:var(--lock)!important;border-color:transparent!important;color:var(--grey);cursor:default}.ch.soon small{font-size:10.5px}
.ch.mine{border:2px dashed var(--amberd)!important;background:var(--ambt)!important;color:var(--ambx);cursor:default}.ch.mine small{color:var(--ambx)}
.info{display:flex;gap:8px;align-items:flex-start;padding:10px 12px;border-radius:14px;background:var(--ambt);color:var(--ambx);font:600 14.5px/1.55 var(--B)}
.books{display:flex;flex-direction:column;gap:12px}
.lb{display:flex;align-items:center;gap:12px;padding:14px;border-radius:16px;border:2px solid var(--tedge)!important;border-bottom-width:5px!important;background:var(--surface)!important;text-align:start;width:100%}
.lb .bn{width:52px;height:60px;border-radius:6px 10px 10px 6px;background:var(--deep);box-shadow:inset -7px 0 0 var(--amber);color:#fff;font:800 22px var(--T);display:grid;place-items:center;flex:none}
.lb b{font:800 19px var(--T);display:block}.lb.on{border-color:var(--deep)!important;border-bottom-color:var(--deeper)!important;background:var(--tealt)!important}
.soonrow{display:flex;flex-wrap:wrap;gap:6px}.soonrow i{font:600 12.5px var(--B);font-style:normal;padding:4px 9px;border-radius:9px;background:var(--lock);color:var(--grey)}
.big{display:flex;flex-direction:column;align-items:center;gap:8px}
.pname{text-align:center;font:800 20px var(--T);margin-top:-6px}
.pk{display:grid;gap:12px 6px;justify-items:center}
.pk button{position:relative;border-radius:50%;line-height:0;min-width:44px;min-height:44px}
.pk button.on::after{content:'';position:absolute;inset:-5px;border-radius:50%;box-shadow:0 0 0 3.5px var(--deep)}
.cols{display:flex;gap:10px;justify-content:center}
.cols button{width:44px;height:44px;border-radius:50%;display:block;border:5px solid var(--paper)!important}
.cols button.on{box-shadow:0 0 0 3px var(--deep)}
.fld{border:2px solid var(--tedge);border-bottom-width:5px;border-radius:14px;background:var(--surface);height:56px;width:100%;padding:0 14px;font:600 20px var(--B);color:var(--ink);outline:0}
.kf .fld:focus,.kf .fld:focus-visible{outline:0;border-color:var(--deep);border-bottom-color:var(--deeper)}
.kf [tabindex="-1"]:focus,.k4 [tabindex="-1"]:focus{outline:0}
/* desktop (the drawing's 1280 px frames) */
.kf.desk{min-height:100vh;display:flex;flex-direction:column}
.site{height:64px;flex:none;display:flex;align-items:center;gap:10px;padding:0 32px;border-bottom:2px solid var(--rules);background:var(--paper)}.site>b{font:800 22px var(--T)}
.site nav{margin-inline-start:auto;display:flex;gap:10px;align-items:center}
.logo{width:34px;height:40px;border-radius:5px 9px 9px 5px;background:var(--deep);box-shadow:inset -6px 0 0 var(--amber);color:#fff;font:800 20px var(--T);display:grid;place-items:center;text-decoration:none}
.wb{flex:1;display:grid;grid-template-columns:340px 1fr;min-height:calc(100vh - 64px)}.wb.solo{grid-template-columns:1fr}
.side{background:var(--tealt);padding:34px 30px;display:flex;flex-direction:column;gap:22px;align-items:center}
.steps{list-style:none;align-self:stretch;display:flex;flex-direction:column;gap:6px;margin:0;padding:0}
.steps li{display:flex;align-items:center;gap:10px;font:700 16px var(--T);color:var(--grey);padding:8px 10px;border-radius:12px}
.steps li i{width:28px;height:28px;border-radius:50%;border:2px solid var(--rule);display:grid;place-items:center;font:800 14px var(--T);font-style:normal;flex:none}
.steps li.d i{background:var(--teal);border-color:var(--teal);color:#fff}.steps li.c{background:var(--surface);color:var(--ink)}.steps li.c i{border-color:var(--deep);color:var(--deep)}
.side .kept{margin-top:auto}
.main{padding:36px 64px 32px;display:flex;flex-direction:column;gap:14px;width:100%;max-width:820px;justify-self:center;justify-content:center}
.desk .dgw{align-self:flex-start}.desk .yf{margin-top:4px}.desk .gerr{text-align:start}
.wbtns{display:flex;gap:12px;margin-top:18px;align-items:center}.wbtns .btn{width:auto;min-width:220px;margin:0}
.desk .who{max-width:520px}.whos{display:flex;flex-direction:column;gap:14px;margin-top:8px}
.desk .books{max-width:560px}
.pnrow{display:flex;align-items:center;gap:22px}.pncol{flex:1;display:flex;flex-direction:column;gap:8px}
.pnrow2{display:flex;gap:16px;align-items:center}
.desk .pk{gap:14px 10px}
.desk .dimm{z-index:7}
.desk .bs{left:50%;right:auto;bottom:auto;top:50%;transform:translate(-50%,-50%);width:440px;border-radius:24px;padding:28px 32px;animation:none}
@media (prefers-reduced-motion:reduce){.bs,.yf:focus-within .dg b.cur:empty::after{animation:none}.btn{transition:none}}
@media (max-width:360px){.dg b{width:58px;height:72px;font-size:34px}.yrs{gap:6px}.ch b{font-size:21px}}

/* ---------- 4 ابتدائي path (/app/4ap/) ---------- */
.k4{min-height:100vh}
.k4 .tb2{height:60px;display:flex;align-items:center;gap:10px;padding:0 14px;border-bottom:2px solid var(--rules);position:sticky;top:0;background:var(--paper);z-index:3}
.k4 .tb2 .nm{font:800 19px var(--T);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:46vw}
.k4 .me{display:flex;align-items:center;gap:10px;min-height:44px;border-radius:24px;padding-inline-end:6px}
.yrc{margin-inline-start:auto;height:36px;padding:0 12px;border-radius:8px 11px 11px 8px;background:var(--deep);box-shadow:inset -7px 0 0 var(--amber),0 4px 0 var(--deeper);color:#fff;font:800 16px var(--T);display:flex;align-items:center;white-space:nowrap}
.k4 .site .yrc{margin:0}.k4 .site .nm{font:800 18px var(--T)}
.k4 .pg{padding:12px 16px 40px;display:flex;flex-direction:column;gap:8px;max-width:1100px;margin:0 auto}
.cont{display:flex;align-items:center;gap:12px;padding:12px;border-radius:16px;background:var(--tealt);color:var(--ink);text-decoration:none;min-height:68px}
.cont b{font:800 17px var(--T);display:block}.cont .go{margin-inline-start:auto;width:44px;height:44px;border-radius:50%;background:var(--deep);color:#fff;display:grid;place-items:center;flex:none}
.cont>.ic{color:var(--deep)}
.k4 h1.hd{font-size:22px;margin-top:8px}
@media (min-width:900px){.k4 h1.hd{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}}
.cr{display:flex;align-items:center;gap:10px;padding:12px 4px;border-bottom:1.5px solid var(--rules);font:700 16px var(--T)}
.cr .n{width:30px;height:30px;border-radius:9px;background:var(--tealt);color:var(--tealx);display:grid;place-items:center;flex:none}
.cr small{margin-inline-start:auto;font:500 13px var(--B);color:var(--grey)}
.k4 .ord{display:none}
.ls{display:flex;align-items:center;gap:10px;padding:9px 4px 9px 0;padding-inline-start:40px;font:500 15px var(--B);border-bottom:1px solid var(--rules);color:var(--ink);text-decoration:none;min-height:46px;width:100%;text-align:start}
.ls .pl{margin-inline-start:auto;color:var(--deep);flex:none}.ls.dn .pl{color:var(--teal)}
.ls:hover .t{text-decoration:underline}
.k4 ol.lsn{list-style:none}
.k4 .rw{display:flex;align-items:center;gap:10px;padding:10px 2px;border-bottom:1.5px solid var(--rules);font:600 15px var(--B);min-height:54px;flex-wrap:wrap;color:var(--ink);text-decoration:none}
.k4 .rw small{margin-inline-start:auto;font:500 13.5px var(--B);color:var(--grey)}.k4 .rw>.ic{color:var(--deep)}
.k4 .rw .ed{font:700 14px var(--T);color:var(--tealx);background:var(--tealt);padding:6px 12px;border-radius:11px;min-height:36px;display:inline-flex;align-items:center}
.k4 .rw .yw{flex-basis:100%;font:500 12.5px/1.5 var(--B);color:var(--grey);padding-inline-start:32px;margin-top:-6px}
.k4 a.rw:hover .ed{background:var(--teal);color:#fff}
.k4 .rw.last{border:0}
.k4 .bs .hd{font-size:21px;text-align:center;margin-bottom:6px}
.k4 .x{position:absolute;inset-inline-end:10px;top:10px;width:44px;height:44px;display:grid;place-items:center;color:var(--grey);border-radius:12px}
.k4 .bs{position:fixed}
@media (min-width:900px){
 .k4 .tb2{display:none}
 .k4 .pg{padding:28px 64px 48px;gap:10px}
 .k4 .cols2{display:grid;grid-template-columns:1fr 1fr;gap:6px 40px;align-items:start}
 .k4 .ord{display:inline}
 .k4 .bs{left:50%;right:auto;bottom:auto;top:50%;transform:translate(-50%,-50%);width:460px;border-radius:24px;padding:28px 32px;animation:none}
}
@media (max-width:899px){.k4 .site{display:none}}

/* ---------- «جاهز» (parent's ending) and «كتبي» (/app/home/, 16/11) ---------- */
.qh.rdy{gap:10px;margin:auto 0}.qh.rdy .hd{max-width:22ch}.sub.c{text-align:center}
.f2.bcol{margin-top:0;gap:12px}
.desk .qh.rdy{margin:0}.desk .qh.rdy .hd{font-size:30px}.wbtns.c{justify-content:center}
.k4 .tohome{display:flex;align-items:center;gap:4px;min-height:44px;padding:0 10px 0 12px;border-radius:13px;border:2px solid var(--rule);font:700 15px var(--T);color:var(--deep);text-decoration:none;white-space:nowrap;flex:none}
.k4 .ib{width:44px;height:44px;display:grid;place-items:center;border-radius:13px;border:2px solid var(--rule);color:var(--deep);flex:none}
.k4 .tb2 .yrc{margin-inline-start:auto}
.kh h1.hd{position:static!important;width:auto!important;height:auto!important;overflow:visible!important;clip:auto!important;font-size:26px;margin:6px 2px 0}
.kh .hh{font:800 19px var(--T);margin:16px 2px 2px}
.kh .soonl{display:flex;gap:8px;align-items:center;font:600 15.5px/1.6 var(--B);color:var(--grey);margin:2px 2px 4px}
.shelf{display:grid;gap:12px}
.bkc{border-radius:18px;border:2px solid var(--tedge);border-bottom-width:5px;background:var(--surface);display:flex;flex-direction:column;gap:12px;padding:12px 14px 14px}
.bko{display:flex;align-items:center;gap:14px;color:var(--ink);text-decoration:none;min-height:68px;border-radius:12px}
.cov{width:56px;height:68px;border-radius:6px 11px 11px 6px;background:var(--deep);box-shadow:inset -8px 0 0 var(--amber);color:#fff;font:800 27px var(--T);display:grid;place-items:center;flex:none}
.bko b{font:800 20px var(--T);display:block}.bko .sub{display:block;line-height:1.5}.bko .ic.fw{margin-inline-start:auto;color:var(--grey)}
.bko:hover b{text-decoration:underline}
.bar{height:10px;border-radius:5px;background:var(--rules);overflow:hidden}.bar i{display:block;height:100%;background:var(--teal);border-radius:5px;min-width:10px}.bar i[style="width:0%"]{min-width:0}
.bkc .btn{margin:0 0 5px}
.bkc.sm{padding:8px 12px;gap:0}.bkc.sm .cov{width:46px;height:56px;font-size:23px}.bkc.sm .bko{min-height:58px}.bkc.sm .bko b{font-size:18px}
.k4 .tb2 .tohome~.me .nm{max-width:28vw}
/* 17/11 v8: «فضاء الوليّ» in the top bar of every learner page: the top-bar button style, a lock and the words (never an icon alone) */
.k4 .pz{gap:6px;padding:0 12px}.k4 .pz .ic{flex:none}
@media (max-width:899px){.k4 .tb2{gap:8px;padding:0 12px}.k4 .tb2 .pz{font-size:14px;padding:0 10px;gap:4px}.k4 .tb2 .nm{max-width:30vw}.k4 .tb2 .tohome~.me .nm{max-width:22vw}.k4:not(.kh) .tb2 .yrc{display:none}.k4:not(.kh) .tb2 .pz{margin-inline-start:auto}}   /* the 4AP path: its heading names the year */
@media (min-width:900px){.kh h1.hd{font-size:30px}.kh .pg{max-width:860px}.shelf{grid-template-columns:repeat(2,1fr)}.shelf.one{grid-template-columns:1fr}}

/* 16/11: the role buttons on the first screen (pressed = chosen; tap again to undo) */
.plink[aria-pressed="true"]{background:var(--tealt)!important;border-color:var(--deep)!important;color:var(--tealx)!important}
/* 17/11: .btn above is scoped to the flow, so the start page's own .btn (the gate's «ادخل») is no longer painted white on white */
.kf.mob .sc:has(.roles){justify-content:center;padding-bottom:40px}
/* 17/11 journey study: «مَن سيستعمل كرّاسي؟» (two equal cards + two small links) and the parent password */
.roles{display:grid;gap:14px;margin-top:6px}
.who.rl{min-height:104px;padding:18px}.who.rl .ico{width:64px;height:64px;border-radius:18px}.who.rl b{font-size:23px}.who.rl .sub{font-size:15px}
.who.rl[data-who="parent"] .ico{background:var(--ambt);color:var(--ambx)}
.alt{display:flex;justify-content:center;flex-wrap:wrap;gap:4px 18px;margin-top:2px}
.tl{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 10px;font:700 16px var(--T)!important;color:var(--deep)!important;text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:2px;background:none!important}
[data-theme=dark] .kf .tl,[data-theme=dark] .kf .eye{color:var(--tealx)!important}
.gerr.st{text-align:start}
.tl.st{align-self:flex-start;padding:0}
.lkc{width:72px;height:72px;border-radius:20px;background:var(--tealt);color:var(--deep);display:grid;place-items:center;margin-bottom:6px}
.pwb{display:flex;flex-direction:column;gap:8px;margin-top:8px}
.lbl{font:700 17px var(--T);color:var(--ink)}
.pwf{position:relative}.pwf .fld{padding-left:100px;font-family:var(--B);letter-spacing:.5px}
.eye{position:absolute;left:6px;top:4px;height:44px;min-width:84px;padding:0 12px;border-radius:11px;font:700 15px var(--T)!important;color:var(--deep)!important;background:var(--tealt)!important}
.pwb .gerr{min-height:0;margin:0}.pwb .gerr:empty{display:none}
.pwd{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.desk .pwb{max-width:460px}
.desk .roles{grid-template-columns:1fr 1fr;max-width:680px;width:100%;margin:14px auto 4px}
.desk .who.rl{max-width:none;flex-direction:column;justify-content:center;text-align:center;min-height:210px;gap:12px}
.desk .who.rl .ico{width:80px;height:80px;border-radius:22px}
.desk .wb.solo .main{align-items:center}.desk .wb.solo .main .kept{margin-top:16px}
.wbtns.rdyb{flex-wrap:wrap}.wbtns.rdyb .tl{flex-basis:100%}
@media (hover:hover){.who.rl:hover{border-color:var(--deep)!important}.tl:hover{color:var(--deeper)!important}}
.dbk{align-self:flex-start;display:flex;align-items:center;gap:4px;min-height:44px;padding:0 6px 0 12px;margin:0 -6px 4px;border-radius:12px;color:var(--grey)!important;font:700 16px var(--T)!important}

/* 17/11: «تصفّح سنوات أخرى» under the 4AP title: a pill, not a full-width bar */
.hd + .tohome.more{display:inline-flex;width:auto;margin:-4px 0 16px}

/* 17/11 owner: the same maths-signs page and big-card gradient as ui.css, for the pages that load only this file («كتبي», «دروسي») */
:root{--kpat:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360' fill='none' stroke-linecap='round' stroke-linejoin='round' stroke-width='3'%3E%3Cg transform='translate%2840 52%29 rotate%286%29' stroke='%23F0A400' stroke-opacity='0.55'%3E%3Cpath d='M-9 0h18M0-9v18'/%3E%3C/g%3E%3Cg transform='translate%28250 40%29 rotate%28-8%29' stroke='%230C8C80' stroke-opacity='0.34'%3E%3Cpath d='M0-10l11 19h-22z'/%3E%3C/g%3E%3Cg transform='translate%28150 140%29 rotate%2812%29' stroke='%23F0A400' stroke-opacity='0.55'%3E%3Ccircle r='8'/%3E%3C/g%3E%3Cg transform='translate%28330 170%29 rotate%28-14%29' stroke='%230C8C80' stroke-opacity='0.34'%3E%3Cpath d='M-7-7l14 14M7-7l-14 14'/%3E%3C/g%3E%3Cg transform='translate%2860 250%29 rotate%28-14%29' stroke='%230C8C80' stroke-opacity='0.34'%3E%3Cpath d='M-10-4h20M-10 4h20'/%3E%3C/g%3E%3Cg transform='translate%28230 300%29 rotate%2818%29' stroke='%23F0A400' stroke-opacity='0.55'%3E%3Cpath d='M-10 0h20'/%3E%3Ccircle cy='-7' r='1.6'/%3E%3Ccircle cy='7' r='1.6'/%3E%3C/g%3E%3Cg transform='translate%28120 330%29 rotate%28-14%29' stroke='%23E5322D' stroke-opacity='0.28'%3E%3Cpath d='M0-10l11 19h-22z'/%3E%3C/g%3E%3Cg transform='translate%28300 90%29 rotate%286%29' stroke='%230C8C80' stroke-opacity='0.34'%3E%3Cpath d='M-9 0h18M0-9v18'/%3E%3C/g%3E%3Cg transform='translate%2820 150%29 rotate%2818%29' stroke='%23E5322D' stroke-opacity='0.28'%3E%3Cpath d='M-7-7l14 14M7-7l-14 14'/%3E%3C/g%3E%3C/svg%3E");--kgrad:linear-gradient(160deg,transparent 45%,rgba(19,181,165,.10) 100%)}
:root[data-theme=dark]{--kpat:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360' fill='none' stroke-linecap='round' stroke-linejoin='round' stroke-width='3'%3E%3Cg transform='translate%2840 52%29 rotate%286%29' stroke='%23FBBF24' stroke-opacity='0.2'%3E%3Cpath d='M-9 0h18M0-9v18'/%3E%3C/g%3E%3Cg transform='translate%28250 40%29 rotate%28-8%29' stroke='%2314B8A6' stroke-opacity='0.18'%3E%3Cpath d='M0-10l11 19h-22z'/%3E%3C/g%3E%3Cg transform='translate%28150 140%29 rotate%2812%29' stroke='%23FBBF24' stroke-opacity='0.2'%3E%3Ccircle r='8'/%3E%3C/g%3E%3Cg transform='translate%28330 170%29 rotate%28-14%29' stroke='%2314B8A6' stroke-opacity='0.18'%3E%3Cpath d='M-7-7l14 14M7-7l-14 14'/%3E%3C/g%3E%3Cg transform='translate%2860 250%29 rotate%28-14%29' stroke='%2314B8A6' stroke-opacity='0.18'%3E%3Cpath d='M-10-4h20M-10 4h20'/%3E%3C/g%3E%3Cg transform='translate%28230 300%29 rotate%2818%29' stroke='%23FBBF24' stroke-opacity='0.2'%3E%3Cpath d='M-10 0h20'/%3E%3Ccircle cy='-7' r='1.6'/%3E%3Ccircle cy='7' r='1.6'/%3E%3C/g%3E%3Cg transform='translate%28120 330%29 rotate%28-14%29' stroke='%23F87171' stroke-opacity='0.15'%3E%3Cpath d='M0-10l11 19h-22z'/%3E%3C/g%3E%3Cg transform='translate%28300 90%29 rotate%286%29' stroke='%2314B8A6' stroke-opacity='0.18'%3E%3Cpath d='M-9 0h18M0-9v18'/%3E%3C/g%3E%3Cg transform='translate%2820 150%29 rotate%2818%29' stroke='%23F87171' stroke-opacity='0.15'%3E%3Cpath d='M-7-7l14 14M7-7l-14 14'/%3E%3C/g%3E%3C/svg%3E");--kgrad:linear-gradient(160deg,transparent 45%,rgba(20,184,166,.13) 100%)}
:root body:has(.k4){background-image:var(--kpat);background-size:360px 360px}
:root .bkc{background-image:var(--grad,var(--kgrad))}
