[hidden]{display:none!important}
:root{--navy:#004177;--navy2:#0b5a9c;--navyd:#002b52;--gold:#b08a4e;--bg:#f7f3ea;--card:#fff;--ink:#1b2430;--muted:#59616e;--line:#e4dccb;--soft:#f2eee4;
--ex:#dcefe2;--ex-i:#1d5a35;--pr:#e3edf8;--pr-i:#123f6e;--dv:#fbecd2;--dv-i:#7a4a0c;--sp:#f9dedd;--sp-i:#8b1f1b}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,"SF Arabic","Geeza Pro","Segoe UI",Tahoma,sans-serif;font-size:15px;line-height:1.6}
/* ===== الإطار: علامة المدرسة ===== */
.brand{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none}
.brand img{height:42px;width:42px;object-fit:contain;background:#fff;border-radius:10px;padding:3px}
.brand>span{display:flex;flex-direction:column;line-height:1.35}.brand .t{font-weight:700;font-size:15.5px}.brand .s{font-size:12px;opacity:.85}
.who{display:flex;flex-direction:column;font-size:13px;line-height:1.4}.who span{opacity:.8;font-size:12px}
form.lo{margin:0}form.lo button{background:none;border:0;font:inherit;cursor:pointer;color:inherit;padding:8px 0;text-decoration:underline;min-height:40px}
.demo{background:#fff4d6;color:#6b4e00;text-align:center;font-size:12.5px;padding:5px 16px}
main{max-width:1180px;margin:0 auto;padding:22px 20px 110px}

/* الإدارة والمشرفة: قائمة جانبية مجمّعة */
.shell{display:flex;min-height:100vh;align-items:stretch}
.side{flex:0 0 248px;background:var(--navy);color:#fff;padding:20px 12px;display:flex;flex-direction:column;gap:18px;position:sticky;top:0;height:100vh;overflow-y:auto}
.side .brand{padding:0 6px}
.side nav,.mnav nav{display:flex;flex-direction:column;gap:14px}
.grp{display:flex;flex-direction:column;gap:2px}
.grp .gl{font-size:12px;color:#9dbbd8;padding:0 12px 2px}
.side nav a,.mnav nav a{color:#fff;text-decoration:none;min-height:40px;display:flex;align-items:center;padding:0 12px;border-radius:10px;font-size:14.5px}
.side nav a:hover,.mnav nav a:hover{background:rgba(255,255,255,.12)}
.side nav a.on,.mnav nav a.on{background:#fff;color:var(--navy);font-weight:700}
.sfoot{margin-top:auto;border-top:1px solid rgba(255,255,255,.18);padding:12px 12px 0;display:flex;align-items:center;justify-content:space-between;gap:8px}
.mainwrap{flex:1 1 auto;min-width:0;display:flex;flex-direction:column}
.mainwrap main{width:100%}
.mhead{display:none}
@media (max-width:900px){
  .side{display:none}
  .mhead{display:flex;align-items:center;justify-content:space-between;gap:10px;background:var(--navy);color:#fff;padding:10px 14px;position:relative}
  .mnav>summary{list-style:none;cursor:pointer;border:1px solid rgba(255,255,255,.4);border-radius:10px;padding:0 14px;min-height:44px;display:flex;align-items:center;font-weight:600}
  .mnav>summary::-webkit-details-marker{display:none}
  .mnav[open]>nav{position:absolute;inset-inline:0;top:100%;z-index:30;background:var(--navy);padding:12px;box-shadow:0 12px 24px rgba(0,0,0,.18)}
}

/* المعلمة: رأس بسيط وشريط سفلي */
.thead{background:var(--navy);color:#fff}
.thead .top{max-width:1180px;margin:0 auto;padding:10px 16px;display:flex;align-items:center;gap:12px}
.tnav{margin-inline-start:auto;display:flex;gap:4px}
.tnav a{color:#fff;text-decoration:none;padding:0 14px;min-height:40px;display:flex;align-items:center;border-radius:10px}
.tnav a.on,.tnav a:hover{background:rgba(255,255,255,.16)}
.acct{position:relative;margin-inline-start:auto}.tnav+.acct{margin-inline-start:0}
.acct>summary{list-style:none;cursor:pointer}.acct>summary::-webkit-details-marker{display:none}
.acct .av{width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.45);display:flex;align-items:center;justify-content:center;font-weight:700}
.acct .menu{position:absolute;inset-inline-end:0;top:52px;z-index:40;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:14px;min-width:220px;padding:12px;box-shadow:0 12px 28px rgba(0,0,0,.14);display:flex;flex-direction:column;gap:2px}
.acct .menu .who{padding:0 6px 8px;border-bottom:1px solid var(--line);margin-bottom:4px}
.acct .menu a{color:var(--ink);text-decoration:none;min-height:42px;display:flex;align-items:center;padding:0 8px;border-radius:8px}.acct .menu a:hover{background:var(--soft)}
.acct .menu form.lo button{color:var(--navy2);padding:8px}
.tabbar{display:none}
@media (max-width:900px){
  .tnav{display:none}
  .tabbar{display:grid;grid-template-columns:repeat(3,1fr);position:fixed;bottom:0;inset-inline:0;z-index:20;background:#fff;border-top:1px solid var(--line);height:68px;padding-bottom:env(safe-area-inset-bottom)}
  .tabbar a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:var(--muted);text-decoration:none;font-size:12.5px;font-weight:600}
  .tabbar a.on{color:var(--navy);font-weight:700}
  body.tlayout main{padding-bottom:120px}
  body:has(.sticky) .tabbar{display:none}
}
h1{font-size:21px;margin:0 0 12px;color:var(--navy)}h2{font-size:17px;margin:0 0 10px;color:var(--navy)}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin-bottom:16px}
.card{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:16px;margin-bottom:14px}
.stat .n{font-size:27px;font-weight:700;color:var(--navy)}.stat .l{color:var(--muted);font-size:13px}
table{width:100%;border-collapse:collapse;font-size:14px}
th,td{padding:8px 10px;border-bottom:1px solid var(--line);text-align:right;vertical-align:top}
th{background:#f7f9fb;color:var(--muted);font-weight:600;font-size:13px}
.scroll{overflow-x:auto}.nw{white-space:nowrap}
a{color:var(--navy2)}
.chip{display:inline-block;border-radius:999px;padding:1px 10px;font-size:12.5px;font-weight:600;white-space:nowrap}
.chip.excellent{background:var(--ex);color:var(--ex-i)}.chip.proficient{background:var(--pr);color:var(--pr-i)}
.chip.developing{background:var(--dv);color:var(--dv-i)}.chip.support{background:var(--sp);color:var(--sp-i)}
.chip.st{background:#eceef1;color:#4a5260}.chip.none{color:#9aa3ae}
.muted{color:var(--muted);font-size:13px}
.tag{font-size:12px;background:#eef2f7;border-radius:6px;padding:1px 8px;color:var(--muted)}
.tag.warn{background:#fff1e0;color:#8a4b00}
pre{background:#0f1b2a;color:#e8f0f8;padding:12px;border-radius:8px;direction:ltr;text-align:left}
dl{display:grid;grid-template-columns:max-content 1fr;gap:6px 14px;margin:0}dt{color:var(--muted)}dd{margin:0}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border-radius:10px;border:1px solid var(--navy);background:var(--navy);color:#fff;font:inherit;font-weight:600;cursor:pointer;text-decoration:none}
.btn.ghost{background:#fff;color:var(--navy)}
.btn:disabled{opacity:.5;cursor:default}
.err{background:#fde8e7;color:#8b1f1b;border-radius:8px;padding:10px 12px;margin-bottom:12px}
input[type=text],input[type=password]{width:100%;min-height:44px;border:1px solid var(--line);border-radius:10px;padding:0 12px;font:inherit;background:#fff}
label{display:block;font-weight:600;margin:10px 0 4px}
.login{max-width:420px;margin:24px auto}
.task{display:block;text-decoration:none;color:inherit}
.task:hover{border-color:var(--navy2)}
.bar{height:6px;background:#e9edf2;border-radius:99px;overflow:hidden;margin-top:6px}.bar i{display:block;height:100%;background:var(--navy2)}

/* شاشة التقويم */
.jcard summary{cursor:pointer;font-weight:600;color:var(--navy)}
.srow{background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px 12px;margin-bottom:8px}
.srow.done{border-color:#cfd9e4}
.srow .nm{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:8px}
.srow .nm b{font-size:15px}
.lv{display:grid;grid-template-columns:repeat(4,1fr) 44px;gap:6px}
.lv button{min-height:44px;border-radius:10px;border:1px solid var(--line);background:#fff;font:inherit;font-size:13.5px;font-weight:600;color:var(--ink);cursor:pointer;padding:0 4px;line-height:1.2}
.lv button[data-v=excellent][aria-pressed=true]{background:var(--ex);color:var(--ex-i);border-color:#9fcaae}
.lv button[data-v=proficient][aria-pressed=true]{background:var(--pr);color:var(--pr-i);border-color:#a8c3e2}
.lv button[data-v=developing][aria-pressed=true]{background:var(--dv);color:var(--dv-i);border-color:#e5c48d}
.lv button[data-v=support][aria-pressed=true]{background:var(--sp);color:var(--sp-i);border-color:#e3a8a5}
.lv .more{font-size:18px}.lv .more[aria-pressed=true]{background:#e6e9ee;border-color:#9aa3ae}
.states{display:none;grid-template-columns:repeat(2,1fr);gap:6px;margin-top:6px}
.states.open{display:grid}
.states button{min-height:40px;border-radius:10px;border:1px dashed #c4ccd6;background:#f8f9fb;font:inherit;font-size:13px;cursor:pointer}
.states button[aria-pressed=true]{background:#e6e9ee;border-style:solid;font-weight:700}
.obs2{margin-top:8px;padding-top:8px;border-top:1px dashed var(--line)}
.obs2 .muted{margin-bottom:4px}
.sticky{position:fixed;inset-inline:0;bottom:0;background:#fff;border-top:1px solid var(--line);padding:10px 16px;box-shadow:0 -4px 14px rgba(0,0,0,.05)}
.sticky .in{max-width:1100px;margin:0 auto;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.sticky .prog{font-weight:600;margin-inline-end:auto}
.toast{position:fixed;top:12px;inset-inline:12px;max-width:520px;margin:0 auto;background:#1d2430;color:#fff;border-radius:10px;padding:10px 14px;display:none;z-index:9}
.toast.show{display:block}.toast.bad{background:#8b1f1b}
@media (max-width:520px){.lv{gap:4px;grid-template-columns:repeat(4,1fr) 40px}.lv button{font-size:12.5px;min-height:48px}main{padding-inline:10px}}

.narrow{max-width:760px;margin-inline:auto}
.sticky .in{max-width:760px}
.srow.locked .lv,.srow.locked .states{opacity:.45;pointer-events:none}

/* المستخدمون والإسناد */
.ok{background:#e4f3e9;color:#1d5a35;border-radius:8px;padding:10px 12px;margin-bottom:12px}
.grid2{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:14px}
.grid2 .card{margin-bottom:0}.grid2{margin-bottom:14px}
select{width:100%;min-height:44px;border:1px solid var(--line);border-radius:10px;padding:0 10px;font:inherit;background:#fff}
label.chk{display:flex;align-items:center;gap:8px;font-weight:600}
label.chk input{width:20px;height:20px}
.asg{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.asg form{display:inline}
.lnk{background:none;border:0;color:var(--navy2);font:inherit;font-size:13px;cursor:pointer;padding:0;text-decoration:underline}
details summary.lnk{list-style:none;display:inline}
form.inl{display:flex;gap:6px;margin-top:6px}form.inl input{min-width:150px}form.inl .btn{min-height:40px}
@media (max-width:640px){
  .utable,.utable tbody,.utable tr,.utable td{display:block;width:100%}
  .utable tr:first-child{display:none}
  .utable tr{border-bottom:1px solid var(--line);padding:10px 0}
  .utable td{border:0;padding:2px 0;white-space:normal}
  .utable td[data-l]{display:grid;grid-template-columns:84px 1fr;gap:8px}
  .utable td[data-l]::before{content:attr(data-l);color:var(--muted);font-size:13px}
  .utable td.un{font-size:15px;margin-bottom:4px}
  .card.scroll:has(.utable){overflow:visible}
}

/* الطلاب والصور والسنوات */
.avatar{width:36px;height:36px;border-radius:50%;object-fit:cover;flex:none;display:inline-flex;align-items:center;justify-content:center;background:#e3edf8;color:var(--navy);font-weight:700;font-size:15px}
.avatar.lg{width:72px;height:72px;font-size:28px}
.phead{display:flex;gap:14px;align-items:center;margin-bottom:12px}.phead h1{margin:0}
.who2{display:flex;gap:8px;align-items:center}
td.av{width:44px}
.chips{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 12px}.chips .tag{text-decoration:none;padding:4px 10px}.chips .tag.on{background:var(--navy);color:#fff}
.tag.ok2{background:#e4f3e9;color:#1d5a35}
.warnbox{background:#fff8ec;border-color:#f1d7a8}
.warnbox ul{margin:0 0 10px;padding-inline-start:20px}
form.inl.wrap{flex-wrap:wrap;align-items:center}
form.inl select,form.inl input[type=text]{width:auto;flex:1;min-width:160px}
input[type=file]{font:inherit;max-width:100%}
.acts{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.phup{display:inline}
.bad{color:#8b1f1b;font-size:13px}
.kind{display:inline-block;border-radius:999px;padding:1px 10px;font-size:12.5px;font-weight:600;background:#eef2f7;color:var(--muted)}
.kind.k-new{background:#e4f3e9;color:#1d5a35}.kind.k-promote{background:#e3edf8;color:#123f6e}
.kind.k-error{background:#f9dedd;color:#8b1f1b}.kind.k-other_class,.kind.k-archived{background:#fbecd2;color:#7a4a0c}
.stat.k-error .n{color:#8b1f1b}.stat.k-new .n{color:#1d5a35}
.dec{display:flex;gap:14px;flex-wrap:wrap;margin-top:6px}.dec label{font-weight:600;display:flex;gap:6px;align-items:center;margin:0}
.btn.danger{color:#8b1f1b;border-color:#e3a8a5}
.srow .nm .avatar{width:34px;height:34px}
details.card summary{cursor:pointer}
.grid.mini{grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px}
.grid.mini .card{padding:10px 12px;margin:0}.grid.mini .n{font-size:22px}
.utable td .kind{justify-self:start}
@media (max-width:640px){.utable td[data-l]>*{justify-self:start}.utable td[data-l] .dec,.utable td[data-l] form{justify-self:stretch}}
@media (max-width:640px){
  .utable td[data-l]{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:6px}
  .utable td[data-l]::before{flex:0 0 84px}
  .utable td[data-l]>div,.utable td[data-l]>form{flex:1 1 0;min-width:0}
}

/* مراجعة التقارير والإرسال */
.rhead{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.rhead h1{margin:0}
.rv3{display:flex;gap:16px;flex-wrap:wrap;align-items:flex-start;margin-top:12px}
.rvlist{flex:1 1 230px;max-width:290px;padding:8px;display:flex;flex-direction:column;gap:2px}
.rvlist .muted{padding:4px 8px}
.rvi{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px;border-radius:10px;text-decoration:none;color:inherit;font-size:14px}
.rvi:hover{background:#f3f6fa}.rvi.on{background:#e3edf8;outline:1px solid #a8c3e2;font-weight:700}
.rvprev{flex:0 1 430px;min-width:0;display:flex;flex-direction:column;align-items:center;gap:8px}
.rvbar{display:flex;justify-content:space-between;width:100%;max-width:414px}
.phone{width:414px;max-width:100%;height:900px;border:12px solid #1d2430;border-radius:36px;overflow-y:auto;overflow-x:hidden;background:#EFECE4}
.phone .rpt{width:100%}
.rvside{flex:1 1 320px;min-width:280px;display:flex;flex-direction:column;gap:12px}
.rvside .card{margin:0}.rvside h3{font-size:15px;color:var(--navy);margin:10px 0 6px}
.checks{list-style:none;margin:0 0 10px;padding:0;display:flex;flex-direction:column;gap:7px;font-size:13.5px}
.checks li{display:flex;gap:8px;align-items:flex-start}
.checks li>span{flex:none;width:22px;height:22px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:12px}
.checks .okc>span{background:#e4f3e9;color:#1d5a35}.checks .warn>span{background:#fbecd2;color:#7a4a0c}.checks .bad>span{background:#f9dedd;color:#8b1f1b}
.checks .bad{color:#8b1f1b}
textarea{width:100%;border:1px solid var(--line);border-radius:10px;padding:10px;font:inherit;resize:vertical;margin-bottom:8px}
.btn.warnbtn{border-color:#c27a12;color:#7a4a0c}
.btn:disabled{opacity:.45}
.rv2{display:flex;gap:16px;flex-wrap:wrap;align-items:flex-start}.rv2>.card{flex:999 1 560px;min-width:0}.rv2>aside{flex:1 1 300px;min-width:280px}
tr.off td{background:#fbf8f2;color:var(--muted)}
pre.wa{white-space:pre-wrap;font:inherit;background:#eef2f7;border-radius:12px;padding:12px;direction:rtl;text-align:right;color:var(--ink);margin:8px 0}
.card.msg .btn{margin-top:4px}
.chip.support{background:var(--sp);color:var(--sp-i)}

/* الدورات */
.grid2.tight{gap:4px 16px;margin-bottom:0}
input[type=date]{width:100%;min-height:44px;border:1px solid var(--line);border-radius:10px;padding:0 10px;font:inherit;background:#fff}
.skgrp{border-top:1px solid var(--line);padding:8px 0}.skgrp h3{font-size:14px;color:var(--navy);margin:4px 0}
.skgrp label.chk{font-weight:500;margin:4px 0}
.cyc{display:flex;flex-direction:column;gap:2px}

/* الملاحظة ولمسة التميز في شاشة التقويم */
.extras{display:flex;gap:8px;margin-top:8px;flex-wrap:wrap}
.xbtn{min-height:36px;border-radius:999px;border:1px solid var(--line);background:#fff;font:inherit;font-size:13px;padding:0 12px;cursor:pointer;color:var(--ink);display:inline-flex;align-items:center;gap:4px}
.xbtn[aria-expanded=true]{background:#e3edf8;border-color:#a8c3e2}
.xbtn .dot{color:var(--navy2);font-size:10px}
.xpanel{margin-top:8px;padding:10px;background:#f7f9fb;border-radius:10px;display:flex;flex-direction:column;gap:6px}
.xpanel textarea{margin:0;background:#fff}.xpanel select{min-height:40px}
.xpanel .btn{align-self:flex-start;min-height:40px}
.phr{display:flex;flex-wrap:wrap;gap:6px}
.chipbtn{border:1px dashed #c4ccd6;background:#fff;border-radius:999px;padding:4px 10px;font:inherit;font-size:12.5px;cursor:pointer}
.goal .ghead{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.goal details{margin-top:6px}.goal summary.lnk{display:inline}
.rv{display:flex;flex-direction:column;gap:4px;margin-top:8px}.rv .btn{align-self:flex-start}
.gres{margin:8px 0}

/* لوحة المتابعة وصفحة الفصل */
.big{font-size:22px;font-weight:700;color:var(--navy);margin-top:6px}
.tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin:10px 0 12px}
.tabs a{gap:6px;padding:10px 16px;text-decoration:none;color:var(--muted);font-weight:600;border-bottom:3px solid transparent;min-height:44px;display:inline-flex;align-items:center}
.tabs a[aria-selected=true]{color:var(--navy);border-bottom-color:var(--navy)}
.dist{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}
.notes{border-top:1px dashed var(--line);margin-top:8px;padding-top:6px}.notes h3{font-size:14px;color:var(--navy);margin:4px 0}
.nt{padding:6px 0;border-bottom:1px solid #f0f2f5}.nt p{margin:2px 0}
.jlist{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:4px 16px;margin-top:8px}
.jr{display:flex;justify-content:space-between;gap:6px;align-items:center;padding:3px 0;border-bottom:1px dotted var(--line);font-size:13.5px}
.skc .rhead{align-items:flex-start}
a.card.stat{color:inherit}
/* اختيار مهارات الدورة: مجمّعة بالصف ثم المادة */
details.skgrade{border:1px solid var(--line);border-radius:12px;padding:6px 12px;margin:10px 0;background:#fff}
details.skgrade>summary{cursor:pointer;padding:6px 0;list-style-position:inside}
details.skgrade[open]>summary{border-bottom:1px solid var(--line);margin-bottom:4px}
label.chk.small{font-size:13px;font-weight:500}label.chk.small input{width:16px;height:16px}
label.chk.dim{opacity:.6}
.filters{display:flex;flex-wrap:wrap;gap:8px;align-items:end;margin:8px 0 14px}.filters>div{min-width:140px;flex:1}
.filters select{width:100%}
/* التذييل: الحقوق ورقم الإصدار */
.foot{text-align:center;color:var(--muted);font-size:12px;padding:18px 16px 26px;border-top:1px solid var(--line);margin-top:24px}
.foot span{display:block}.foot .ver{margin-top:4px;opacity:.85}
@media print{.foot{display:none}}
/* المواد المقيَّمة في الدورة: مفاتيح تشغيل لكل مادة */
.subjrow{border-top:1px solid var(--line);padding:10px 0}.subjrow h3{font-size:14px;color:var(--navy);margin:2px 0}
.toggles{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
label.tgl{display:inline-flex;margin:0;cursor:pointer}
label.tgl input{position:absolute;opacity:0;width:1px;height:1px}
label.tgl span{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:6px 14px;border:1px solid var(--line);border-radius:999px;background:#f3f4f6;color:var(--muted);font-weight:600;text-decoration:line-through}
label.tgl input:checked+span{background:#e8f0f8;border-color:var(--navy);color:var(--navy);text-decoration:none}
label.tgl input:checked+span::before{content:"✓"}
label.tgl input:focus-visible+span{outline:2px solid var(--navy);outline-offset:2px}
label.tgl input:disabled+span{opacity:.6;cursor:default}
.skgrp.off h3{color:var(--muted)}
/* ===== المعلمة: تقويمي ===== */
.cyhead{background:var(--navyd);color:#fff;border-radius:16px;padding:14px 16px;margin-bottom:14px;display:flex;flex-direction:column;gap:6px}
.cyhead.off{background:#fff;color:var(--ink);border:1px solid var(--line)}
.cyhead.late{background:#5c3708}
.cyr{display:flex;align-items:center;justify-content:space-between;gap:8px}.cyr b{font-size:16px}
.cyhead .pill{background:var(--gold);color:#1f1405;font-weight:700;font-size:13px;border-radius:999px;padding:2px 12px;white-space:nowrap}
.cys{font-size:13px;color:#c9dcee}.cyhead.off span{color:var(--muted);font-size:13px}
.cyp{display:flex;align-items:center;gap:10px}.cyp .bar{flex:1;background:#24527e;margin:0}.cyp .bar i{background:#fff}.cyp span{font-size:13px;font-weight:600;white-space:nowrap}
.alertrow{display:flex;align-items:center;gap:12px;background:#fff4e5;border:1px solid #ebc98f;border-radius:14px;padding:12px 14px;margin-bottom:14px;color:#5c3708}
.alertrow>div{flex:1;display:flex;flex-direction:column}.alertrow>div span{font-size:13px;color:#6b4a1a}
.alertrow a{font-weight:700;min-height:44px;display:flex;align-items:center}
.card.start{display:flex;flex-direction:column;gap:8px;border-radius:16px;padding:18px}
.card.start .eyebrow{font-size:13px;font-weight:700;color:#7a5a26}
.card.start h2{font-size:18px;line-height:1.5;margin:0}
.card.start .btn{min-height:48px;font-size:16px;margin-top:4px}
.card.start.done .eyebrow{color:#1d5a35}
.secth{margin:18px 0 6px}.secth h2{margin:0}
.tgroup{margin-bottom:12px}.tgroup h3{font-size:14px;color:var(--muted);margin:10px 4px 6px;font-weight:600}
.trow{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px 14px;margin-bottom:8px;text-decoration:none;color:var(--ink)}
.trow:hover{border-color:#b9ae97}
.trow .ring{flex:none;width:46px;height:46px;border-radius:50%;background:var(--pr);color:var(--pr-i);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:12.5px}
.trow.full .ring{background:#1d5a35;color:#fff}
.trow .tx{flex:1;display:flex;flex-direction:column;min-width:0}.trow .tx span{font-size:13px;color:var(--muted)}.trow.full .tx span{color:#1d5a35}
.trow .chev{flex:none;color:var(--muted)}
/* ===== شاشة الحكم: مفتاح مستويات واحد، والخيارات خلف ⋯ ===== */
.srow{border-radius:14px;padding:12px}
.srow .nm{flex-wrap:nowrap;align-items:center;gap:10px}
.srow .nm .avatar{width:40px;height:40px;flex:none}
.srow .nmt{flex:1;min-width:0;display:flex;flex-direction:column}
.srow .nmi{display:flex;flex-wrap:wrap;gap:4px}.srow .nmi:empty{display:none}
.srow .more{flex:none;width:44px;height:44px;border-radius:10px;border:1px solid var(--line);background:#fff;color:var(--muted);font-size:18px;cursor:pointer}
.srow .more[aria-expanded=true]{border-color:var(--navy);background:#eaf1f8;color:var(--navy)}
.srow .more[aria-pressed=true]{background:var(--soft);border-color:#9aa3ae}
.lv{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;background:var(--soft);border-radius:12px;padding:4px}
.lv button{border:0;background:transparent;border-radius:9px;min-height:46px}
.lv button[data-v=excellent]{color:var(--ex-i)}.lv button[data-v=proficient]{color:var(--pr-i)}
.lv button[data-v=developing]{color:var(--dv-i)}.lv button[data-v=support]{color:var(--sp-i)}
.lv button[data-v=excellent][aria-pressed=true]{background:#1d5a35;color:#fff}
.lv button[data-v=proficient][aria-pressed=true]{background:#123f6e;color:#fff}
.lv button[data-v=developing][aria-pressed=true]{background:#7a4a0c;color:#fff}
.lv button[data-v=support][aria-pressed=true]{background:#8b1f1b;color:#fff}
.srow[data-obs1=support]{border-color:#c98c89}
.obs2 .lv{margin-top:4px}
.opts{border-top:1px dashed var(--line);margin-top:10px;padding-top:10px;display:flex;flex-direction:column;gap:6px}
.opts .extras{margin-top:0}
.opts .states{display:grid;margin-top:0}
.stlabel{margin-top:4px}
.jcard summary{cursor:pointer;line-height:1.6}
.sticky .pbar{display:flex;align-items:center;gap:10px;flex:1 1 220px}.sticky .pbar .bar{flex:1;margin:0}
.sticky .in .btn{flex:1 1 260px;min-height:50px}
@media (max-width:520px){.lv{grid-template-columns:repeat(4,minmax(0,1fr))}.lv button{font-size:12.5px;min-height:48px}}
/* ===== المشرفة: ما ينتظرك ===== */
.inbox-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:10px;margin-bottom:16px}
.inbox-head h1{font-size:26px;margin:0}
.pills{display:flex;flex-wrap:wrap;gap:6px}
.pillb{background:#fff;border:1px solid var(--line);border-radius:999px;padding:4px 12px;font-size:13px}
.inbox{display:flex;flex-wrap:wrap;gap:20px;align-items:flex-start}
.inbox-list{flex:3 1 480px;min-width:0;display:flex;flex-direction:column;gap:10px}
.inbox-aside{flex:2 1 280px;min-width:0;display:flex;flex-direction:column;gap:12px}
.inbox-task{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px 18px;display:flex;flex-wrap:wrap;align-items:center;gap:14px}
.inbox-task .num{flex:none;width:50px;height:50px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:19px}
.num.navy{background:var(--navy);color:#fff}.num.red{background:var(--sp);color:var(--sp-i)}.num.gold{background:#f2e8d6;color:#6b4a1a}
.num.blue{background:var(--pr);color:var(--pr-i)}.num.green{background:var(--ex);color:var(--ex-i)}
.inbox-task .it{flex:1 1 220px;display:flex;flex-direction:column}.inbox-task .it b{font-size:16px}.inbox-task .it span{font-size:13.5px;color:var(--muted)}
.trate{display:flex;flex-direction:column;gap:4px}.trh{display:flex;justify-content:space-between;gap:8px;font-size:14px}
.trh .bad{color:var(--sp-i);font-weight:700}.trh .good{color:var(--ex-i);font-weight:700}.trate .bar{margin:0}
/* ===== المدير: يحتاج قرارك ومراحل الدورة ===== */
.decision{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:10px 0;border-top:1px solid #efe9dc}
.decision>span{flex:1 1 320px}.decision:first-of-type{border-top:0}
.cyccard{display:flex;flex-direction:column;gap:10px}.cyccard .cyn{font-size:18px;color:var(--navy)}.cyccard .big{margin:0}
.cycgrid{grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}
.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;font-size:12.5px;text-align:center;color:var(--muted)}
.steps li{display:flex;flex-direction:column;gap:6px}.steps li span{height:6px;border-radius:3px;background:#ece7dc}
.steps li.done{color:var(--ex-i);font-weight:600}.steps li.done span{background:#1d5a35}
.steps li.cur{color:var(--navy);font-weight:700}.steps li.cur span{background:var(--navy)}
/* إعداد الدورة بخطوات */
.wsteps{list-style:none;margin:0 0 16px;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:8px}
.wsteps a{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px 12px;text-decoration:none;color:var(--ink);min-height:56px}
.wsteps .n{flex:none;width:30px;height:30px;border-radius:50%;background:var(--soft);display:flex;align-items:center;justify-content:center;font-weight:700}
.wsteps .tx{display:flex;flex-direction:column;line-height:1.35}.wsteps .tx span{font-size:12.5px;color:var(--muted)}
.wsteps li.done .n{background:#1d5a35;color:#fff}
.wsteps li.cur a{background:var(--navy);border-color:var(--navy);color:#fff}.wsteps li.cur .n{background:#fff;color:var(--navy)}.wsteps li.cur .tx span{color:#c9dcee}
.wnav{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:6px}
.rvprog{display:flex;align-items:center;gap:10px;font-size:14px}.rvprog .bar{width:150px;margin:0;background:#ece7dc}.rvprog .bar i{background:#1d5a35}
.rvprog .bar{display:block}
tr.hl td{background:#fff8ec}
input.nin{width:110px;text-align:center}
/* السلوك والتعلّم: تقويم المعلمات وحسم الرائدة (2026-11-23) */
.bcard{background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px 14px;margin-bottom:12px}
.bcard.done{border-color:#cfd9e4}
.bcard .nm{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:6px}
.bcard .nm b{font-size:15px;flex:1}
.brow,.frow{padding:8px 0;border-top:1px solid var(--line)}
.bname{display:block;font-weight:600;font-size:14px;margin-bottom:6px}
.fhead{display:flex;gap:8px;align-items:center;justify-content:space-between}
.frow.gap{background:#fff8ec;margin:0 -14px;padding:8px 14px}
.seg{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) 44px;gap:6px}
.seg label{position:relative;display:block;cursor:pointer}
.seg input{position:absolute;opacity:0;width:1px;height:1px}
.seg span{display:flex;align-items:center;justify-content:center;min-height:44px;border:1px solid var(--line);border-radius:10px;font-size:13px;font-weight:600;text-align:center;padding:0 4px;line-height:1.2;background:#fff}
.seg input:focus-visible+span{outline:2px solid var(--navy);outline-offset:2px}
.seg .lv-excellent input:checked+span{background:var(--ex);color:var(--ex-i);border-color:#9fcaae}
.seg .lv-proficient input:checked+span{background:var(--pr);color:var(--pr-i);border-color:#a8c3e2}
.seg .lv-developing input:checked+span{background:var(--dv);color:var(--dv-i);border-color:#e5c48d}
.seg .lv-support input:checked+span{background:var(--sp);color:var(--sp-i);border-color:#e3a8a5}
.seg .clr input:checked+span{background:#f1f3f5}
.rchips{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 8px}
.rchip{font-size:12px;border-radius:999px;padding:3px 9px;background:#f1f3f5}
.rchip.lv-excellent{background:var(--ex);color:var(--ex-i)}.rchip.lv-proficient{background:var(--pr);color:var(--pr-i)}
.rchip.lv-developing{background:var(--dv);color:var(--dv-i)}.rchip.lv-support{background:var(--sp);color:var(--sp-i)}
.flabel{font-size:12.5px;margin-bottom:4px}
.ftal{border-top:1px solid var(--line);padding:8px 0}
.ftal label.chk{align-items:flex-start;margin:6px 0}
.btal{border-top:1px solid var(--line);padding-top:8px}
.btal summary{cursor:pointer;font-weight:600;font-size:13.5px;color:var(--navy)}
.btal select,.btal textarea{margin-top:6px}
.tag.ok{background:var(--ex);color:var(--ex-i)}

/* الروضة: مقياس بثلاث درجات (قرار 2026-11-30) */
.lv.k3{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:520px){.lv.k3{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* ملاحظات المعلمات على البطاقات (المراجعة بالاستخدام) */
.fbbox{margin-top:10px;border-top:1px dashed var(--line);padding-top:8px}
.fbform{display:grid;gap:6px;margin-top:6px}
.fbitem{margin-top:8px;padding:8px 10px;border-radius:10px;background:#fff8ec;border:1px solid #f0dcb4}
.fbitem.done{background:var(--soft);border-color:var(--line)}
.fbres{display:flex;gap:6px;margin-top:6px}.fbres input{flex:1}
