/* EL-Haddad v37.1.0 — Admin clarity layer */
.eh10-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:14px 0 22px;animation:eh10-rise .45s cubic-bezier(.16,1,.3,1) both}
.eh10-card{display:grid;gap:3px;padding:16px 18px;border-radius:18px;background:#fff;border:1px solid #e3e9f1;
  box-shadow:0 1px 2px #17263b0a,0 10px 26px -14px #17263b24;transition:transform .25s cubic-bezier(.16,1,.3,1),box-shadow .25s}
.eh10-card:hover{transform:translateY(-1px);box-shadow:0 2px 4px #17263b0d,0 16px 34px -14px #17263b33}
.eh10-card b{font-size:28px;line-height:1.2;font-weight:800;color:#17263b}
.eh10-card span{font-size:14px;font-weight:800;color:#17263b}
.eh10-card small{font-size:12.5px;color:#5a6b82;line-height:1.6}
.eh10-card.is-main{background:linear-gradient(135deg,#1b2b44,#3a1530 55%,#bf1425 135%);border:0;color:#fff}
.eh10-card.is-main b,.eh10-card.is-main span{color:#fff}
.eh10-card.is-main small{color:#ffffffc7}
.eh10-card.is-warn b{color:#bf1425}
.eh10-rowsum{display:block;margin-top:6px;font-size:12.5px;font-weight:700;color:#5a6b82}
.eh10-rowsum.is-all{color:#bf1425}
@keyframes eh10-rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media (max-width:980px){.eh10-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:520px){.eh10-strip{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){.eh10-strip{animation:none}.eh10-card{transition:none}}

/* sort + quick filters */
.eh10-tools{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px;margin:0 0 14px;padding:12px 14px;border-radius:16px;background:#f5f7fb;border:1px solid #e3e9f1}
.eh10-sort{display:flex;align-items:center;gap:10px;font-weight:800;font-size:13.5px;color:#17263b}
.eh10-sort select{font:600 14px 'Tajawal','Segoe UI',sans-serif;padding:8px 14px;border-radius:12px;border:1px solid #d5dde8;background:#fff;color:#17263b}
.eh10-sort select:focus{outline:none;border-color:#e3a2aa;box-shadow:0 0 0 4px #bf14251a}
.eh10-chips{display:flex;flex-wrap:wrap;gap:8px}
.eh10-chips button{appearance:none;font:700 13.5px 'Tajawal','Segoe UI',sans-serif;padding:8px 14px;border-radius:999px;background:#fff;color:#17263b;
  border:1px solid #d5dde8;cursor:pointer;transition:background .2s,color .2s,border-color .2s,transform .2s cubic-bezier(.16,1,.3,1)}
.eh10-chips button:hover{border-color:#e3a2aa;transform:translateY(-1px)}
.eh10-chips button.is-on{background:#bf1425;border-color:#bf1425;color:#fff}
.eh10-chips button:focus-visible{outline:3px solid #bf142566;outline-offset:2px}
.eh10-note{flex-basis:100%;margin:0;font-size:13px;font-weight:700;color:#5a6b82}
tbody tr.eh10-hide{display:none!important}

/* ===== v37.2.0 — contacted mark, pager, brand colors ===== */
.eh10-contact{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px;font-size:12.5px;font-weight:700;color:#5a6b82}
.eh10-contact.is-done .eh10-contact-text{color:#17263b}
.eh10-contact button{appearance:none;font:700 12.5px 'Tajawal','Segoe UI',sans-serif;padding:5px 12px;border-radius:999px;background:#fff;color:#bf1425;
  border:1px solid #e3a2aa;cursor:pointer;transition:background .2s,transform .2s cubic-bezier(.16,1,.3,1)}
.eh10-contact button:hover:not(:disabled){background:#fff6f7;transform:translateY(-1px)}
.eh10-contact button:disabled{opacity:.6;cursor:wait}
.eh10-contact button:focus-visible{outline:3px solid #bf142566;outline-offset:2px}

.eh10-pager{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 18px;margin:16px 0 4px;padding:12px 14px;border-radius:16px;background:#f5f7fb;border:1px solid #e3e9f1}
.eh10-pager-info{font-weight:800;font-size:13.5px;color:#17263b}
.eh10-pages{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.eh10-pages button{appearance:none;min-width:38px;height:38px;padding:0 12px;font:700 14px 'Tajawal','Segoe UI',sans-serif;border-radius:12px;background:#fff;color:#17263b;
  border:1px solid #d5dde8;cursor:pointer;transition:border-color .2s,color .2s,transform .2s cubic-bezier(.16,1,.3,1)}
.eh10-pages button:hover:not(:disabled){border-color:#e3a2aa;color:#bf1425;transform:translateY(-1px)}
.eh10-pages button.is-on{background:#bf1425;border-color:#bf1425;color:#fff}
.eh10-pages button:disabled{opacity:.45;cursor:default}
.eh10-pages button:focus-visible{outline:3px solid #bf142566;outline-offset:2px}
.eh10-gap{color:#8393a8;padding:0 2px}
.eh10-size{display:flex;align-items:center;gap:8px;font-weight:800;font-size:13px;color:#17263b}
.eh10-size select{font:600 14px 'Tajawal','Segoe UI',sans-serif;padding:7px 12px;border-radius:12px;border:1px solid #d5dde8;background:#fff;color:#17263b}

/* ---- admin: no green, brand red (complete = navy so it stays distinguishable from "incomplete" red) ---- */
.alert-card.course-soon{background:#fff6f7!important;border-color:#f0c2c7!important}
.alert-card.course-soon svg,.alert-card.course-soon svg *{color:#bf1425!important}
.dot.green{background:#e11d2e!important}
.attention-badge.green{background:#fdecee!important;color:#a30f1f!important}
.dashboard-panel .table-wrap tbody tr.row-complete:not(.row-archived),
.dashboard-panel .table-wrap tbody tr.row-complete:not(.row-archived)>td{background-color:#eef2f8!important}
.dashboard-panel .table-wrap tr.row-complete:not(.row-archived) select.status-select{background-color:#dfe7f2!important;color:#17263b!important;border-color:#b9c7dc!important}
tr.row-complete,tr.row-complete.row-attention-red{border-right-color:#17263b!important}

/* specificity boost: the v36.4.5 manual-status colors are loaded later and also use !important */
html body .dashboard-panel .table-wrap tbody tr.row-complete:not(.row-archived):not(.x),
html body .dashboard-panel .table-wrap tbody tr.row-complete:not(.row-archived):not(.x)>td{background-color:#eef2f8!important}
html body .dashboard-panel .table-wrap tr.row-complete:not(.row-archived):not(.x) select.status-select{background-color:#dfe7f2!important;color:#17263b!important;border-color:#b9c7dc!important}
html body .dashboard-panel .table-wrap tr.row-complete:not(.row-archived):not(.x) select.status-select option{color:#17263b}
html body .dashboard-panel .table-wrap tbody tr.row-complete:not(.x),html body .dashboard-panel .table-wrap tbody tr.row-complete.row-attention-red:not(.x){border-right-color:#17263b!important}

html body tr.row-complete:not(.x):not(.y){border-right-color:#17263b!important}


/* ===== v37.3.0 — follow-up messages tool ===== */
.eh10-open-msg{appearance:none;margin-inline-start:auto;font:800 14px 'Tajawal','Segoe UI',sans-serif;padding:10px 18px;border-radius:999px;cursor:pointer;
  background:linear-gradient(135deg,#e11d2e,#bf1425);color:#fff;border:0;box-shadow:0 10px 22px -12px #bf1425;transition:transform .2s cubic-bezier(.16,1,.3,1),box-shadow .2s}
.eh10-open-msg:hover{transform:translateY(-1px);box-shadow:0 14px 26px -12px #bf1425}
.eh10-open-msg:focus-visible{outline:3px solid #bf142566;outline-offset:3px}
html.eh10-lock{overflow:hidden}
.eh10-modal{position:fixed;inset:0;z-index:10000;background:#0f1a2acc;backdrop-filter:blur(4px);display:grid;place-items:center;padding:20px;animation:eh10-fade .25s ease both}
.eh10-modal-panel{width:min(880px,100%);max-height:calc(100vh - 40px);display:flex;flex-direction:column;background:#fff;border-radius:24px;
  box-shadow:0 30px 80px -20px #000a;overflow:hidden;animation:eh10-rise .35s cubic-bezier(.16,1,.3,1) both}
.eh10-modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 24px;border-bottom:1px solid #e3e9f1}
.eh10-modal-head h2{margin:0;font-size:20px;font-weight:800;color:#17263b}
.eh10-modal-close{appearance:none;width:40px;height:40px;border-radius:12px;border:1px solid #d5dde8;background:#fff;color:#17263b;font-size:24px;line-height:1;cursor:pointer}
.eh10-modal-close:hover{border-color:#e3a2aa;color:#bf1425}
.eh10-modal-close:focus-visible{outline:3px solid #bf142566;outline-offset:2px}
.eh10-modal-note{margin:0;padding:12px 24px;background:#fff6f7;color:#6b1a24;font-size:13.5px;font-weight:600;line-height:1.8;border-bottom:1px solid #f0c2c7}
.eh10-modal-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;padding:12px 24px;border-bottom:1px solid #e3e9f1}
.eh10-msg-tabs{display:flex;flex-wrap:wrap;gap:6px}
.eh10-msg-tabs button{appearance:none;font:700 13px 'Tajawal','Segoe UI',sans-serif;padding:7px 14px;border-radius:999px;background:#fff;color:#17263b;border:1px solid #d5dde8;cursor:pointer}
.eh10-msg-tabs button.is-on{background:#bf1425;border-color:#bf1425;color:#fff}
.eh10-hide-recent{font-size:13px;font-weight:700;color:#5a6b82;display:flex;align-items:center;gap:6px;cursor:pointer}
.eh10-modal-body{padding:18px 24px 24px;overflow:auto;display:grid;gap:14px;background:#f5f7fb}
.eh10-msg{background:#fff;border:1px solid #e3e9f1;border-radius:18px;padding:16px;display:grid;gap:12px;box-shadow:0 1px 2px #17263b0a}
.eh10-msg.is-never{border-inline-start:5px solid #bf1425}
.eh10-msg.is-stalled{border-inline-start:5px solid #e3a2aa}
.eh10-msg.is-ending{border-inline-start:5px solid #17263b}
.eh10-msg-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.eh10-msg-who{display:grid;gap:3px;min-width:0}
.eh10-msg-who b{font-size:16px;color:#17263b}
.eh10-msg-who small{font-size:12.5px;color:#5a6b82;font-weight:600}
.eh10-msg-badge{flex:none;padding:4px 12px;border-radius:999px;background:#fdecee;color:#a30f1f;font-weight:800;font-size:12.5px}
.eh10-msg.is-ending .eh10-msg-badge{background:#e8edf5;color:#17263b}
.eh10-msg-text{width:100%;box-sizing:border-box;resize:vertical;font:500 14px/1.9 'Tajawal','Segoe UI',sans-serif;padding:12px 14px;border-radius:14px;border:1px solid #d5dde8;background:#fafbfd;color:#17263b}
.eh10-msg-text:focus{outline:none;border-color:#e3a2aa;box-shadow:0 0 0 4px #bf14251a;background:#fff}
.eh10-msg-actions{display:flex;flex-wrap:wrap;gap:8px}
.eh10-msg-actions button{appearance:none;font:700 13.5px 'Tajawal','Segoe UI',sans-serif;padding:9px 16px;border-radius:12px;background:#fff;color:#17263b;border:1px solid #d5dde8;cursor:pointer;
  transition:border-color .2s,color .2s,transform .2s cubic-bezier(.16,1,.3,1)}
.eh10-msg-actions button:hover:not(:disabled){border-color:#e3a2aa;color:#bf1425;transform:translateY(-1px)}
.eh10-msg-actions button:disabled{opacity:.5;cursor:not-allowed}
.eh10-msg-actions button:focus-visible{outline:3px solid #bf142566;outline-offset:2px}
.eh10-msg-actions .eh10-done{margin-inline-start:auto;color:#bf1425;border-color:#e3a2aa}
.eh10-msg-empty{text-align:center;color:#5a6b82;font-weight:700;padding:40px 10px;margin:0}
@keyframes eh10-fade{from{opacity:0}to{opacity:1}}
@media (max-width:640px){.eh10-modal{padding:0;place-items:end stretch}.eh10-modal-panel{max-height:94vh;border-radius:24px 24px 0 0}.eh10-open-msg{flex-basis:100%;margin-inline-start:0}
  .eh10-modal-head,.eh10-modal-bar,.eh10-modal-note,.eh10-modal-body{padding-inline:16px}}
@media (prefers-reduced-motion:reduce){.eh10-modal,.eh10-modal-panel{animation:none}}

.eh10-style{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;padding:12px 24px;border-bottom:1px solid #e3e9f1;background:#fff}
.eh10-style label{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:800;color:#17263b}
.eh10-style select,.eh10-style input{font:600 14px 'Tajawal','Segoe UI',sans-serif;padding:7px 12px;border-radius:12px;border:1px solid #d5dde8;background:#fff;color:#17263b}
.eh10-style input{min-width:210px}
.eh10-style select:focus,.eh10-style input:focus{outline:none;border-color:#e3a2aa;box-shadow:0 0 0 4px #bf14251a}
@media (max-width:640px){.eh10-style{padding-inline:16px}.eh10-style input{min-width:0;flex:1}}

.eh10-msg-who .eh10-warn{color:#a30f1f;font-weight:700}


/* click-to-copy phone */
.eh10-msg-actions .eh10-phone{display:inline-flex;align-items:center;gap:8px;background:#fff6f7;border-color:#f0c2c7;color:#17263b;font-weight:800}
.eh10-phone-num{font-size:15px;letter-spacing:.3px;color:#17263b;direction:ltr;unicode-bidi:isolate}
.eh10-phone-hint{font-size:12px;font-weight:700;color:#bf1425}
.eh10-msg-actions .eh10-phone:hover:not(:disabled){background:#fdecee;border-color:#e3a2aa}
.eh10-msg-actions .eh10-phone.is-copied{background:#bf1425;border-color:#bf1425}
.eh10-msg-actions .eh10-phone.is-copied .eh10-phone-num,.eh10-msg-actions .eh10-phone.is-copied .eh10-phone-hint{color:#fff}

.eh10-returned{margin:0;padding:10px 24px;background:#fff6f7;color:#6b1a24;font-size:13px;font-weight:700;border-bottom:1px solid #f0c2c7}
@media (max-width:640px){.eh10-returned{padding-inline:16px}}


/* ===== v37.4.1 — neat student rows: nothing hidden, big code first, everything laid out in three lines (wide screens only) ===== */
.eh10-mode{display:flex;align-items:center;gap:6px;font-weight:800;font-size:13px;color:#17263b}
.eh10-mode button{appearance:none;font:700 13px 'Tajawal','Segoe UI',sans-serif;padding:7px 14px;border-radius:999px;background:#fff;color:#17263b;border:1px solid #d5dde8;cursor:pointer}
.eh10-mode button.is-on{background:#17263b;border-color:#17263b;color:#fff}
.eh10-mode button:focus-visible{outline:3px solid #bf142566;outline-offset:2px}
@media (max-width:980px){.eh10-mode{display:none}}

.eh10-code-label{font-size:11px;font-weight:700;opacity:.85}
.eh10-code-num{font-size:22px;font-weight:800;letter-spacing:.5px;line-height:1.1}

@media (min-width:981px){
  html.eh10-neat body .dashboard-panel .table-wrap thead{display:none!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x){display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:12px 18px!important;
    padding:18px 22px!important;margin-bottom:14px!important;border-radius:20px!important;align-items:center!important;min-height:0!important;height:auto!important;
    box-shadow:0 1px 2px #17263b0a,0 10px 26px -16px #17263b2e!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x)>td{padding:0!important;border:0!important;background:transparent!important;min-width:0!important;margin:0!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x)>td:first-child{display:contents!important}
  /* the row keeps its manual-status tint (it used to live on the cells) */
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr.row-complete:not(.row-archived){background:#eef2f8!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr.row-incomplete:not(.row-archived){background:#fff1f3!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr.row-follow:not(.row-archived){background:#fff7e6!important}

  /* line 1: CODE | name | programs count | alerts | contact status | open/preview */
  html.eh10-neat .table-wrap tbody tr>td:first-child .eh88-code{grid-row:1;grid-column:1/span 2;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:2px;
    padding:10px 12px;border-radius:16px;background:#17263b;color:#fff;border:0;min-height:64px;text-align:center}
  html.eh10-neat .table-wrap tbody tr>td:first-child .eh88-code.eh10-nocode{background:#f1f4f9;color:#8393a8;border:1px dashed #cdd6e3}
  html.eh10-neat .table-wrap tbody tr>td:first-child .eh88-code.eh10-nocode .eh10-code-num{font-size:15px}
  html.eh10-neat .table-wrap tbody tr>td:first-child .student-link{grid-row:1;grid-column:3/span 3;font-size:20px!important;font-weight:800;text-align:start;justify-self:start}
  html.eh10-neat .table-wrap tbody tr>td:first-child>small{grid-row:1;grid-column:6/span 1;font-size:13px;color:#5a6b82;white-space:nowrap}
  html.eh10-neat .table-wrap tbody tr>td:first-child .attention-badges{grid-row:1;grid-column:7/span 2;display:flex;flex-wrap:wrap;gap:6px;margin:0}
  html.eh10-neat .table-wrap tbody tr>td:first-child .eh10-contact{grid-row:1;grid-column:9/span 2;margin:0;gap:6px}
  html.eh10-neat .table-wrap tbody tr>td[data-label="التفاصيل"]{grid-row:1;grid-column:11/span 2;display:flex!important;gap:8px;justify-content:flex-end;align-items:center}
  html.eh10-neat .table-wrap tbody tr>td[data-label="التفاصيل"]>*{flex:1 1 auto;width:auto!important;min-width:0}

  /* line 2: contacts | activity | programs | progress | manual status */
  html.eh10-neat .table-wrap tbody tr>td:first-child .admin-student-contacts{grid-row:2;grid-column:1/span 3;margin:0}
  html.eh10-neat .table-wrap tbody tr>td:first-child .eh88-activity{grid-row:2;grid-column:4/span 3;margin:0}
  html.eh10-neat .table-wrap tbody tr>td[data-label="البرامج"]{grid-row:2;grid-column:7/span 2}
  html.eh10-neat .table-wrap tbody tr>td[data-label="الإنجاز"]{grid-row:2;grid-column:9/span 2}
  html.eh10-neat .table-wrap tbody tr>td[data-label="الحالة اليدوية"]{grid-row:2;grid-column:11/span 2}

  /* line 3: dates band | next step */
  html.eh10-neat .table-wrap tbody tr>td:first-child .eh93-date-grid{grid-row:3;grid-column:1/span 9;margin:0!important;padding-top:12px!important;border-top:1px dashed #d5dde8!important}
  html.eh10-neat .table-wrap tbody tr>td[data-label="الخطوة التالية"]{grid-row:3;grid-column:10/span 3;padding-top:12px!important;border-top:1px dashed #d5dde8!important}

  /* small captions above the cells that lost their table header */
  html.eh10-neat .table-wrap tbody tr>td[data-label="البرامج"]::before,
  html.eh10-neat .table-wrap tbody tr>td[data-label="الإنجاز"]::before,
  html.eh10-neat .table-wrap tbody tr>td[data-label="الحالة اليدوية"]::before,
  html.eh10-neat .table-wrap tbody tr>td[data-label="الخطوة التالية"]::before{content:attr(data-label);display:block;font-size:11.5px;font-weight:800;color:#8393a8;margin-bottom:4px}
}
/* neat rows: boost placement of the name-cell children (older admin patches also place them, with !important) */
@media (min-width:981px){
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x)>td:first-child>.eh88-code{grid-row:1!important;grid-column:1/span 2!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x)>td:first-child>.student-link{grid-row:1!important;grid-column:3/span 3!important;width:auto!important;white-space:normal}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x)>td:first-child>small{grid-row:1!important;grid-column:6/span 1!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x)>td:first-child>.attention-badges{grid-row:1!important;grid-column:7/span 2!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x)>td:first-child>.eh10-contact{grid-row:1!important;grid-column:9/span 2!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x)>td:first-child>.admin-student-contacts{grid-row:2!important;grid-column:1/span 3!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x)>td:first-child>.eh88-activity{grid-row:2!important;grid-column:4/span 3!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x)>td:first-child>.eh93-date-grid{grid-row:3!important;grid-column:1/span 9!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x)>td[data-label="التفاصيل"]{grid-row:1!important;grid-column:11/span 2!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x)>td[data-label="البرامج"]{grid-row:2!important;grid-column:7/span 2!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x)>td[data-label="الإنجاز"]{grid-row:2!important;grid-column:9/span 2!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x)>td[data-label="الحالة اليدوية"]{grid-row:2!important;grid-column:11/span 2!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x)>td[data-label="الخطوة التالية"]{grid-row:3!important;grid-column:10/span 3!important}
}

/* neat rows: the student code is the first and boldest thing in the row */
@media (min-width:981px){
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x)>td:first-child>.eh88-code{
    justify-self:stretch!important;width:auto!important;max-width:none!important;min-height:72px!important;padding:10px 14px!important;
    background:#17263b!important;color:#fff!important;border:0!important;border-radius:18px!important;box-shadow:0 10px 20px -12px #17263b99!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x)>td:first-child>.eh88-code .eh10-code-label{color:#ffffffb8!important;font-size:12px!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x)>td:first-child>.eh88-code .eh10-code-num{color:#fff!important;font-size:30px!important;font-weight:800!important;letter-spacing:1px}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x)>td:first-child>.eh88-code.eh10-nocode{background:#f1f4f9!important;border:1px dashed #cdd6e3!important;box-shadow:none!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x)>td:first-child>.eh88-code.eh10-nocode .eh10-code-label{color:#8393a8!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x)>td:first-child>.eh88-code.eh10-nocode .eh10-code-num{color:#8393a8!important;font-size:16px!important;letter-spacing:0}
}

@media (min-width:981px){html.eh10-neat body .dashboard-panel .table-wrap tbody tr>td[data-label="التفاصيل"]::before{display:none!important}}


/* ===== v37.5.0 — admin page order: numbers -> what needs action -> list ===== */
/* (1) numbers: extra figures are hints inside the original cards */
.metrics .metric>div:nth-child(2){min-width:0}
.eh10-hint{display:block;margin-top:6px;font:700 12.5px/1.5 'Tajawal','Segoe UI',sans-serif;color:#5a6b82;text-align:start}
button.eh10-hint{appearance:none;background:none;border:0;padding:0;cursor:pointer;color:#bf1425;text-decoration:underline;text-underline-offset:3px}
button.eh10-hint:hover{color:#a30f1f}
button.eh10-hint:focus-visible{outline:3px solid #bf142566;outline-offset:2px;border-radius:6px}

/* (2) message tool next to the alerts */
.eh10-msgbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 20px;margin:14px 0 26px;padding:16px 20px;border-radius:20px;
  background:linear-gradient(135deg,#1b2b44,#3a1530 58%,#bf1425 140%);color:#fff;box-shadow:0 18px 40px -22px #bf1425b0}
.eh10-msgbar-copy{display:grid;gap:3px}
.eh10-msgbar-copy b{font-size:17px;font-weight:800}
.eh10-msgbar-copy span{font-size:13.5px;color:#ffffffc7;font-weight:600}
.eh10-msgbar .eh10-open-msg{margin:0;background:#fff;color:#bf1425;box-shadow:0 12px 24px -12px #0009;padding:12px 24px;font-size:15px}
.eh10-msgbar .eh10-open-msg:hover{box-shadow:0 16px 28px -12px #000a}

/* (3) one toolbar card: search + filters + sort + quick filters */
html body .dashboard-panel .toolbar{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:12px 14px!important;grid-template-columns:none!important;
  padding:16px 18px!important;margin:6px 0 16px!important;background:#fff!important;border:1px solid #e3e9f1!important;border-radius:22px!important;box-shadow:0 1px 2px #17263b0a,0 12px 30px -18px #17263b2e!important}
html body .dashboard-panel .toolbar>.search-box{flex:1 1 320px!important;width:auto!important;min-width:240px}
html body .dashboard-panel .toolbar>.filter-box{flex:0 1 190px!important;width:auto!important;min-width:150px}
html body .dashboard-panel .toolbar>.eh89-view-switch,html body .dashboard-panel .toolbar>.eh94-dates-switch{flex:0 0 auto!important;width:auto!important}
html body .dashboard-panel .toolbar>.primary-button{flex:0 0 auto!important;width:auto!important;order:9;margin-inline-start:auto}
html body .dashboard-panel .toolbar>.eh10-tools{flex:1 1 100%;order:10;margin:2px 0 0;padding:12px 0 0;border:0;border-top:1px dashed #d5dde8;border-radius:0;background:transparent}

/* (4) header: one "إدارة" menu */
.eh10-menu{position:relative;display:none}
.eh10-menu-pop{display:none;position:absolute;inset-inline-start:0;top:calc(100% + 8px);min-width:200px;padding:8px;background:#fff;border:1px solid #e3e9f1;border-radius:16px;
  box-shadow:0 20px 44px -18px #17263b66;z-index:60;flex-direction:column;gap:2px}
.eh10-menu.is-open .eh10-menu-pop{display:flex}
.eh10-menu-pop button{appearance:none;text-align:start;font:700 14px 'Tajawal','Segoe UI',sans-serif;padding:10px 14px;border:0;border-radius:10px;background:transparent;color:#17263b;cursor:pointer}
.eh10-menu-pop button:hover,.eh10-menu-pop button:focus-visible{background:#fdecee;color:#a30f1f;outline:none}
@media (min-width:901px){.eh10-menu{display:block}.eh10-nav-orig{display:none!important}}

/* (5) hero: less tall, same content */
html body .hero-admin{padding-block:20px!important}
html body .hero-admin h1{font-size:clamp(22px,2.4vw,30px)!important}

/* ===== v37.6.0 — polish: accessibility, contrast, brand colour ===== */
.eh10-sr{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.eh10-fx-muted{color:#56627a!important}
.eh10-fx-redtext{color:#c8101f!important}
.eh10-fx-nogreen{color:#a30f1f!important}
.eh10-fx-redbg{background-color:#d4141f!important;border-color:#d4141f!important;color:#fff!important}
.eh10-fx-redbg:hover:not(:disabled){background-color:#a30f1f!important;border-color:#a30f1f!important}
.eh10-fx-min{font-size:12px!important}

/* keyboard focus: always visible */
:where(button,a[href],select,input,textarea,[tabindex]):focus-visible{outline:3px solid #bf142566!important;outline-offset:2px}

/* tap targets */
.student-link{min-height:36px;padding-block:6px!important;display:inline-flex;align-items:center}
.admin-contact-actions a,.admin-student-contacts a{display:inline-flex;align-items:center;min-height:32px;padding-inline:4px}
.admin-contact-copy{min-width:36px!important;min-height:32px!important}
button.eh10-hint{min-height:32px;display:inline-flex;align-items:center}
.forgot-link{min-height:36px;padding:8px 10px!important}

/* remaining greens in the admin drawers -> brand */
.eh12-meta-success{color:#a30f1f!important;background:#fdecee!important;border-color:#f0c2c7!important}
.eh-subscription-date--course-end,.eh-duration-date--course-end{border-color:#f0c2c7!important}

/* our own low-contrast bits */
.eh7-badge{color:#56627a}
.eh10-nocode .eh10-code-label,.eh10-nocode .eh10-code-num{color:#56627a!important}
@media (max-width:520px){.eh10-hint{font-size:12px;line-height:1.4}}

/* boosted: older admin patches use !important on these */
html body .eh10-fx-redbg.eh10-fx-redbg,html body button.eh10-fx-redbg.eh10-fx-redbg{background-color:#d4141f!important;border-color:#d4141f!important;color:#fff!important}
html body .eh10-fx-redbg.eh10-fx-redbg:hover:not(:disabled){background-color:#a30f1f!important;border-color:#a30f1f!important}
html body button.admin-contact-copy.admin-contact-copy{min-height:32px!important;min-width:40px!important;height:auto!important;padding:5px 8px!important}
html body .hero-admin p,html body .hero-admin .hero-copy p{color:#56627a!important}
html body .hero-admin .eyebrow{color:#c8101f!important}
html body .brand span{color:#56627a!important}

.eh10-fx-redbg:hover:not(:disabled){filter:brightness(.88)}


.eh10-menu-toggle{white-space:nowrap}


/* ===== v37.7.0 — feedback, tooltips, proportion hints ===== */
.eh10-toast{position:fixed;inset-inline:0;bottom:24px;margin:auto;width:max-content;max-width:90vw;z-index:10001;background:#17263b;color:#fff;padding:12px 22px;border-radius:999px;
  font:700 14px 'Tajawal','Segoe UI',sans-serif;box-shadow:0 18px 40px -14px #000a;opacity:0;transform:translateY(12px);transition:opacity .3s,transform .3s}
.eh10-toast.is-in{opacity:1;transform:none}
.eh10-alert-hint{display:block;margin-top:6px;font:700 12px/1.4 'Tajawal','Segoe UI',sans-serif;color:#56627a}
.eh10-list-empty{margin:18px 0;padding:22px;text-align:center;border:1px dashed #cdd6e3;border-radius:18px;background:#f5f7fb;color:#56627a;font-weight:700}
@media (prefers-reduced-motion:reduce){.eh10-toast{transition:none}}

/* ===== v38.0.0 (phase A) — pace, priority tiers, daily queue ===== */
.eh10-pace{display:grid;gap:5px;margin-top:8px}
.eh10-risk{display:inline-block;justify-self:start;padding:3px 10px;border-radius:999px;font:800 12px/1.5 'Tajawal','Segoe UI',sans-serif;white-space:nowrap}
.eh10-risk.is-high{background:#bf1425;color:#fff}
.eh10-risk.is-mid{background:#fdecee;color:#a30f1f;border:1px solid #f0c2c7}
.eh10-risk.is-low{background:#f1f4f9;color:#56627a;border:1px solid #d5dde8}
.eh10-risk.is-ok{background:#fff;color:#17263b;border:1px solid #d5dde8}
.eh10-risk.is-done{background:#eef2f8;color:#17263b}
.eh10-risk.is-out{background:#fff;color:#56627a;border:1px dashed #cdd6e3}
.eh10-pace-line{font:700 12px/1.4 'Tajawal','Segoe UI',sans-serif;color:#56627a}
.eh10-pace-bar{position:relative;display:block;height:8px;border-radius:999px;background:#e9eef5;overflow:visible}
.eh10-pace-bar b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#e11d2e,#bf1425)}
.eh10-pace-bar u{position:absolute;top:-4px;bottom:-4px;width:3px;margin-inline-start:-1px;border-radius:2px;background:#17263b;text-decoration:none}
.eh10-why{font:600 12px/1.5 'Tajawal','Segoe UI',sans-serif;color:#a30f1f}
.eh10-msg-badges{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}
.eh10-msg-who .eh10-why{color:#a30f1f;font-weight:700}
.eh10-daily{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:10px 24px;background:#fff;border-bottom:1px solid #e3e9f1;font:700 13px 'Tajawal','Segoe UI',sans-serif;color:#17263b}
.eh10-daily-track{display:block;height:10px;border-radius:999px;background:#e9eef5;overflow:hidden}
.eh10-daily-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#e11d2e,#bf1425);transition:width .6s cubic-bezier(.16,1,.3,1)}
.eh10-daily.is-done .eh10-daily-track i{background:#17263b}
.eh10-daily select{font:700 13px 'Tajawal','Segoe UI',sans-serif;padding:5px 10px;border-radius:10px;border:1px solid #d5dde8;background:#fff;color:#17263b}
@media (max-width:640px){.eh10-daily{grid-template-columns:1fr;padding-inline:16px}}

/* ===== v38.1.0 (phase B) — stages, congratulations, results ===== */
.eh10-stage{padding:3px 10px;border-radius:999px;font:800 12px/1.5 'Tajawal','Segoe UI',sans-serif;background:#fff;color:#17263b;border:1px solid #d5dde8;white-space:nowrap}
.eh10-stage.is-2{border-color:#e3a2aa;color:#a30f1f}
.eh10-stage.is-3{background:#17263b;border-color:#17263b;color:#fff}
.eh10-attempts{color:#17263b;font-weight:700}
.eh10-msg.is-win{border-inline-start:5px solid #17263b}
.eh10-msg.is-win .eh10-msg-badge{background:#17263b;color:#fff}
.eh10-results{padding:10px 24px;background:#f5f7fb;border-bottom:1px solid #e3e9f1;font:700 13px 'Tajawal','Segoe UI',sans-serif;color:#17263b}
@media (max-width:640px){.eh10-results{padding-inline:16px}}

/* ===== v38.2.0 — student row card, redesigned: identity | info tiles | footer bar (nothing hidden) ===== */
@media (min-width:981px){
  /* shorthand used below: html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z) */
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z){
    grid-template-columns:repeat(12,minmax(0,1fr))!important;grid-template-rows:auto!important;grid-auto-flow:row!important;
    gap:10px 16px!important;padding:20px 22px 16px!important;align-items:start!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr[data-eh10-tier="high"]:not(.x):not(.y):not(.z){box-shadow:inset -6px 0 0 #bf1425,0 1px 2px #17263b0a,0 10px 26px -16px #17263b2e!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr[data-eh10-tier="mid"]:not(.x):not(.y):not(.z){box-shadow:inset -6px 0 0 #e3a2aa,0 1px 2px #17263b0a,0 10px 26px -16px #17263b2e!important}

  /* ---- identity block (right side): code · name · programs · alerts ---- */
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z)>td:first-child>.eh88-code{
    grid-row:1!important;grid-column:1/span 4!important;justify-self:start!important;width:auto!important;min-height:0!important;
    display:inline-flex!important;flex-direction:row!important;align-items:baseline!important;gap:8px!important;padding:6px 14px 7px!important;border-radius:12px!important;
    background:#17263b!important;color:#fff!important;box-shadow:none!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z)>td:first-child>.eh88-code .eh10-code-label{font-size:11.5px!important;font-weight:700!important;color:#ffffffb8!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z)>td:first-child>.eh88-code .eh10-code-num{font-size:19px!important;font-weight:800!important;letter-spacing:.8px!important;color:#fff!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z)>td:first-child>.eh88-code.eh10-nocode{background:#f1f4f9!important;border:1px dashed #cdd6e3!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z)>td:first-child>.eh88-code.eh10-nocode .eh10-code-label,
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z)>td:first-child>.eh88-code.eh10-nocode .eh10-code-num{color:#56627a!important;font-size:13px!important;letter-spacing:0!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z)>td:first-child>.student-link{
    grid-row:2!important;grid-column:1/span 4!important;font-size:21px!important;line-height:1.35!important;justify-self:start!important;padding:0!important;min-height:0!important;white-space:normal!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z)>td[data-label="البرامج"]{grid-row:3!important;grid-column:1/span 3!important;padding:0!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z)>td[data-label="البرامج"]::before{display:none!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z)>td:first-child>small{grid-row:3!important;grid-column:4/span 1!important;align-self:center!important;font-size:12.5px!important;color:#56627a!important;white-space:nowrap}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z)>td:first-child>.attention-badges{grid-row:4!important;grid-column:1/span 4!important;display:flex!important;flex-wrap:wrap!important;gap:6px!important;margin:0!important}

  /* ---- info tiles (left side): 2 x 2 ---- */
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z)>td:first-child>.admin-student-contacts,
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z)>td:first-child>.eh88-activity,
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z)>td[data-label="الإنجاز"],
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z)>td[data-label="الحالة اليدوية"],
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z)>td[data-label="الخطوة التالية"]{
    background:#f7f9fc!important;border:1px solid #e8edf4!important;border-radius:14px!important;padding:11px 14px!important;margin:0!important;align-self:stretch!important;min-height:0!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z)>td:first-child>.admin-student-contacts{grid-row:1/span 2!important;grid-column:5/span 4!important;display:grid!important;gap:6px!important;align-content:start}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z)>td:first-child>.eh88-activity{grid-row:1/span 2!important;grid-column:9/span 4!important;display:grid!important;gap:6px!important;align-content:start}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z)>td[data-label="الإنجاز"]{grid-row:3/span 2!important;grid-column:5/span 4!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z)>td[data-label="الحالة اليدوية"]{grid-row:3!important;grid-column:9/span 4!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z)>td[data-label="الخطوة التالية"]{grid-row:4!important;grid-column:9/span 4!important;border-top:1px solid #e8edf4!important}
  /* captions for the two tiles that had none */
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z)>td:first-child>.admin-student-contacts::before,
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z)>td:first-child>.eh88-activity::before{display:block;font:800 11.5px 'Tajawal','Segoe UI',sans-serif;color:#8393a8;margin-bottom:2px}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z)>td:first-child>.admin-student-contacts::before{content:"بيانات التواصل"}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z)>td:first-child>.eh88-activity::before{content:"النشاط"}

  /* ---- footer bar: dates · contact status · actions ---- */
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z)>td:first-child>.eh93-date-grid{
    grid-row:5!important;grid-column:1/span 7!important;display:flex!important;flex-wrap:wrap!important;gap:6px 8px!important;margin:6px 0 0!important;padding:12px 0 0!important;border-top:1px dashed #d5dde8!important;align-items:center}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z)>td:first-child>.eh93-date-grid .eh93-date{
    display:inline-flex!important;align-items:baseline;gap:6px;padding:5px 11px;border-radius:999px;background:#f1f4f9;font-size:12.5px;white-space:nowrap}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z)>td:first-child>.eh93-date-grid .eh93-date span{color:#56627a;font-weight:700}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z)>td:first-child>.eh93-date-grid .eh93-date b{color:#17263b;font-weight:800}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z)>td:first-child>.eh10-contact{
    grid-row:5!important;grid-column:8/span 3!important;margin:6px 0 0!important;padding:8px 0 0!important;border-top:1px dashed #d5dde8!important;align-self:end;justify-content:flex-end}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z)>td[data-label="التفاصيل"]{
    grid-row:5!important;grid-column:11/span 2!important;margin:6px 0 0!important;padding:8px 0 0!important;border-top:1px dashed #d5dde8!important;align-self:end}
}

/* row card: footer proportions + no stray caption on the actions cell */
@media (min-width:981px){
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z)>td:first-child>.eh93-date-grid{grid-column:1/span 6!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z)>td:first-child>.eh10-contact{grid-column:7/span 3!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z)>td[data-label="التفاصيل"]{grid-column:10/span 3!important;display:flex!important;gap:8px!important;justify-content:flex-start!important;align-items:center!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z)>td[data-label="التفاصيل"]::before{display:none!important;content:none!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z)>td[data-label="التفاصيل"]>*{flex:0 1 auto!important;width:auto!important}
}

/* ===== v38.3.0 — thinner student card (5 tiles in one row) + compact alert cards ===== */
@media (min-width:981px){
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z):not(.w){padding:14px 18px 12px!important;gap:8px 14px!important;margin-bottom:12px!important}
  /* row 1: code | name | programs | count | actions */
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z):not(.w)>td:first-child>.eh88-code{grid-row:1!important;grid-column:1/span 2!important;align-self:center!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z):not(.w)>td:first-child>.student-link{grid-row:1!important;grid-column:3/span 4!important;font-size:19px!important;align-self:center!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z):not(.w)>td[data-label="البرامج"]{grid-row:1!important;grid-column:7/span 2!important;align-self:center!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z):not(.w)>td:first-child>small{grid-row:1!important;grid-column:9/span 1!important;align-self:center!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z):not(.w)>td[data-label="التفاصيل"]{grid-row:1!important;grid-column:10/span 3!important;justify-content:flex-end!important;align-self:center!important;margin:0!important;padding:0!important;border-top:0!important}
  /* row 2: five tiles */
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z):not(.w)>td:first-child>.admin-student-contacts{grid-row:2!important;grid-column:1/span 2!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z):not(.w)>td:first-child>.eh88-activity{grid-row:2!important;grid-column:3/span 3!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z):not(.w)>td[data-label="الإنجاز"]{grid-row:2!important;grid-column:6/span 3!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z):not(.w)>td[data-label="الحالة اليدوية"]{grid-row:2!important;grid-column:9/span 2!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z):not(.w)>td[data-label="الخطوة التالية"]{grid-row:2!important;grid-column:11/span 2!important;border-top:1px solid #e8edf4!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z):not(.w)>td:first-child>.admin-student-contacts,
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z):not(.w)>td:first-child>.eh88-activity,
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z):not(.w)>td[data-label="الإنجاز"],
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z):not(.w)>td[data-label="الحالة اليدوية"],
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z):not(.w)>td[data-label="الخطوة التالية"]{padding:8px 12px!important}
  /* row 3: alerts | dates | contact */
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z):not(.w)>td:first-child>.attention-badges{grid-row:3!important;grid-column:1/span 3!important;align-self:center!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z):not(.w)>td:first-child>.eh93-date-grid{grid-row:3!important;grid-column:4/span 6!important;margin:0!important;padding:8px 0 0!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z):not(.w)>td:first-child>.eh10-contact{grid-row:3!important;grid-column:10/span 3!important;margin:0!important;padding:6px 0 0!important}
}

/* ---- alert cards: one compact row, clear severity, visible active state ---- */
html body .dashboard-panel .expiry-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}
@media (max-width:1100px){html body .dashboard-panel .expiry-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:520px){html body .dashboard-panel .expiry-grid{grid-template-columns:1fr!important}}
html body .dashboard-panel .expiry-grid .alert-card{
  display:grid!important;grid-template-columns:40px 1fr!important;align-items:center!important;gap:0 12px!important;text-align:start!important;
  min-height:0!important;padding:12px 16px!important;border-radius:16px!important;background:#fff!important;border:1px solid #e3e9f1!important;border-inline-start:5px solid #17263b!important;
  box-shadow:0 1px 2px #17263b0a!important;position:relative;cursor:pointer;transition:transform .2s cubic-bezier(.16,1,.3,1),box-shadow .2s,border-color .2s}
html body .dashboard-panel .expiry-grid .alert-card:hover{transform:translateY(-1px);box-shadow:0 10px 22px -14px #17263b55!important}
html body .dashboard-panel .expiry-grid .alert-card.expired{border-inline-start-color:#bf1425!important;background:#fff6f7!important}
html body .dashboard-panel .expiry-grid .alert-card.stalled{border-inline-start-color:#e3a2aa!important}
html body .dashboard-panel .expiry-grid .alert-card.active{outline:3px solid #bf142559;outline-offset:1px;background:#fff1f3!important}
html body .dashboard-panel .expiry-grid .alert-card.active::after{content:"✓ مفعّل";position:absolute;inset-block-start:8px;inset-inline-end:12px;font:800 11px 'Tajawal','Segoe UI',sans-serif;color:#a30f1f}
html body .dashboard-panel .expiry-grid .alert-card>svg{grid-row:1;grid-column:1;width:36px!important;height:36px!important;padding:8px;border-radius:12px;background:#f1f4f9;color:#17263b!important}
html body .dashboard-panel .expiry-grid .alert-card.expired>svg{background:#fdecee;color:#bf1425!important}
html body .dashboard-panel .expiry-grid .alert-card.stalled>svg{background:#fdecee;color:#a30f1f!important}
html body .dashboard-panel .expiry-grid .alert-card>div{grid-row:1;grid-column:2;display:grid!important;grid-template-columns:auto 1fr;grid-template-areas:"label label" "num hint";align-items:baseline;gap:0 10px;min-width:0}
html body .dashboard-panel .expiry-grid .alert-card>div>span{grid-area:label;font:700 13px/1.4 'Tajawal','Segoe UI',sans-serif!important;color:#17263b!important}
html body .dashboard-panel .expiry-grid .alert-card>div>strong{grid-area:num;font:800 28px/1.1 'Tajawal','Segoe UI',sans-serif!important;color:#17263b!important}
html body .dashboard-panel .expiry-grid .alert-card.expired>div>strong{color:#a30f1f!important}
html body .dashboard-panel .expiry-grid .alert-card>div>.eh10-alert-hint{grid-area:hint;margin:0;justify-self:end;font-size:12px}
/* the repeated "click to show students" sentence is kept for screen readers only */
html body .dashboard-panel .expiry-grid .alert-card>div>small:not(.eh10-alert-hint){position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
@media (prefers-reduced-motion:reduce){html body .dashboard-panel .expiry-grid .alert-card{transition:none}}

/* tile widths: contacts need room for e-mail addresses */
@media (min-width:981px){
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z):not(.w):not(.v)>td:first-child>.admin-student-contacts{grid-column:1/span 3!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z):not(.w):not(.v)>td:first-child>.eh88-activity{grid-column:4/span 2!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z):not(.w):not(.v)>td[data-label="الإنجاز"]{grid-column:6/span 3!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z):not(.w):not(.v)>td[data-label="الحالة اليدوية"]{grid-column:9/span 2!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z):not(.w):not(.v)>td[data-label="الخطوة التالية"]{grid-column:11/span 2!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z):not(.w):not(.v)>td:first-child>.admin-student-contacts .admin-contact-row{flex-wrap:nowrap!important;white-space:nowrap}
}

/* long e-mail addresses wrap inside the contacts tile instead of being cut */
@media (min-width:981px){
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr:not(.x):not(.y):not(.z):not(.w):not(.v):not(.u)>td:first-child>.admin-student-contacts .admin-contact-row{white-space:normal!important;flex-wrap:wrap!important;overflow-wrap:anywhere;min-width:0}
}

/* ===== v38.4.0 — "اكتمل" is green again; typed dates ===== */
/* complete = green (rows, the status select, the legend dot); everything else keeps the brand palette */
html body .dashboard-panel .table-wrap tbody tr.row-complete:not(.row-archived):not(.x):not(.y):not(.z):not(.w):not(.v):not(.u),
html.eh10-neat body .dashboard-panel .table-wrap tbody tr.row-complete:not(.row-archived):not(.x):not(.y):not(.z):not(.w):not(.v):not(.u){background:#eaf7ef!important}
html body .dashboard-panel .table-wrap tbody tr.row-complete:not(.row-archived):not(.x):not(.y):not(.z):not(.w):not(.v):not(.u)>td{background:transparent!important}
html body .dashboard-panel .table-wrap tr.row-complete:not(.row-archived):not(.x):not(.y):not(.z):not(.w):not(.v):not(.u) select.status-select{background-color:#ddf3e5!important;color:#17603f!important;border-color:#a2d9bb!important;font-weight:800}
html body .dashboard-panel .table-wrap tr.row-complete:not(.row-archived):not(.x):not(.y):not(.z):not(.w):not(.v):not(.u) select.status-select option{color:#17603f}
html body tr.row-complete:not(.x):not(.y):not(.z):not(.w):not(.v):not(.u),html body tr.row-complete.row-attention-red:not(.x):not(.y):not(.z):not(.w):not(.v):not(.u){border-right-color:#12805c!important}
html body .legend .dot.green{background:#29c790!important}
html body .dashboard-panel .table-wrap tbody tr.row-complete:not(.row-archived):not(.x):not(.y):not(.z):not(.w):not(.v):not(.u) .eh10-risk.is-done{background:#d9f0e3;color:#17603f}
html body .drawer select.status-select-complete,html body .drawer .status-complete{color:#17603f}

/* typed dates */
.eh99-date-display{display:none!important}
.eh7d-picker{display:flex!important;align-items:center;gap:6px}
.eh7d-text{flex:1 1 auto;min-width:0;height:44px;padding:0 12px;border:1px solid #d5dde8;border-radius:12px;background:#fff;color:#17263b;font:800 18px/1 'Tajawal','Segoe UI',sans-serif;letter-spacing:.6px;text-align:start}
.eh7d-picker .eh7d-text{border:0;background:transparent;box-shadow:none}
.eh7d-text::placeholder{color:#9aa6b8;font-weight:600;letter-spacing:0}
.eh7d-text:focus{outline:none;border-color:#e3a2aa;box-shadow:0 0 0 4px #bf14251a}
.eh7d-picker:focus-within{border-color:#e3a2aa!important;box-shadow:0 0 0 4px #bf14251a}
.eh7d-text.is-bad{border-color:#bf1425;background:#fff6f7}
.eh7d-cal{appearance:none;flex:none;width:40px;height:40px;border-radius:10px;border:1px solid #e3e9f1;background:#f5f7fb;color:#bf1425;font-size:18px;cursor:pointer}
.eh7d-cal:hover{background:#fdecee}
.eh7d-wrap{display:inline-flex;align-items:center;gap:6px;width:100%}
.eh7d-hidden{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;overflow:hidden!important}
.eh7d-hint{display:block;margin-top:4px;font:600 12px/1.5 'Tajawal','Segoe UI',sans-serif;color:#56627a}
.eh7d-msg{display:block;min-height:0;font:700 12.5px/1.5 'Tajawal','Segoe UI',sans-serif;color:#a30f1f}
.eh7d-msg:empty{display:none}
.eh7d-picker input.eh99-native-date{pointer-events:none!important}

.eh-duration-date--course-end,.eh-subscription-date--course-end{background:#fff6f7!important}


/* ===== v38.4.0 — student journey panel ===== */
.eh7j{margin:14px 16px 4px;padding:16px;border-radius:20px;background:#fff;border:1px solid #e3e9f1;box-shadow:0 1px 2px #17263b0a,0 10px 26px -18px #17263b2e}
.eh7j-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.eh7j-head h3{margin:0;font-size:17px;font-weight:800;color:#17263b}
.eh7j-toggle{appearance:none;font:800 13px 'Tajawal','Segoe UI',sans-serif;padding:7px 14px;border-radius:999px;background:#fff;color:#bf1425;border:1px solid #e3a2aa;cursor:pointer}
.eh7j-toggle:hover{background:#fff6f7}
.eh7j-chips{display:grid;grid-template-columns:repeat(auto-fit,minmax(118px,1fr));gap:8px}
.eh7j-chip{display:grid;gap:2px;padding:10px 12px;border-radius:14px;background:#f5f7fb;border:1px solid #e8edf4;min-width:0}
.eh7j-chip small{font:700 11.5px 'Tajawal','Segoe UI',sans-serif;color:#56627a}
.eh7j-chip b{font:800 15px/1.3 'Tajawal','Segoe UI',sans-serif;color:#17263b}
.eh7j-chip span{font:600 12px 'Tajawal','Segoe UI',sans-serif;color:#56627a}
.eh7j-detail{margin-top:14px;padding-top:12px;border-top:1px dashed #d5dde8}
.eh7j-filters{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
.eh7j-filters button{appearance:none;font:700 12.5px 'Tajawal','Segoe UI',sans-serif;padding:6px 13px;border-radius:999px;background:#fff;color:#17263b;border:1px solid #d5dde8;cursor:pointer}
.eh7j-filters button.is-on{background:#bf1425;border-color:#bf1425;color:#fff}
.eh7j-note{margin:0 0 10px;padding:8px 12px;border-radius:12px;background:#fff6f7;color:#6b1a24;font:600 12.5px/1.6 'Tajawal','Segoe UI',sans-serif}
.eh7j-month{margin:14px 0 6px;font:800 13px 'Tajawal','Segoe UI',sans-serif;color:#56627a;display:flex;align-items:center;gap:8px}
.eh7j-month::after{content:"";flex:1;height:1px;background:#e3e9f1}
.eh7j-item{display:grid;grid-template-columns:30px 1fr auto;gap:10px;align-items:start;padding:8px 0}
.eh7j-dot{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-size:14px;font-weight:800;background:#f1f4f9;color:#17263b}
.eh7j-item.is-progress .eh7j-dot{background:#fdecee;color:#bf1425}
.eh7j-item.is-contact .eh7j-dot{background:#17263b;color:#fff}
.eh7j-item.is-future .eh7j-dot{background:#fff;border:2px dashed #cdd6e3;color:#8393a8}
.eh7j-body{display:grid;gap:2px;min-width:0}
.eh7j-body b{font:700 14px/1.5 'Tajawal','Segoe UI',sans-serif;color:#17263b}
.eh7j-body small{font:600 12.5px/1.5 'Tajawal','Segoe UI',sans-serif;color:#56627a;overflow-wrap:anywhere}
.eh7j-when{font:600 12px 'Tajawal','Segoe UI',sans-serif;color:#56627a;white-space:nowrap;padding-top:3px}
.eh7j-more{appearance:none;margin-top:6px;font:700 13px 'Tajawal','Segoe UI',sans-serif;padding:8px 16px;border-radius:12px;background:#f5f7fb;color:#17263b;border:1px solid #e3e9f1;cursor:pointer}
.eh7j-empty{margin:8px 0;color:#56627a;font-weight:700}
@media (max-width:640px){.eh7j{margin-inline:10px}.eh7j-item{grid-template-columns:28px 1fr}.eh7j-when{grid-column:2}}

/* ===== v38.4 — compact 3-column student rows for medium widths (560-980px) ===== */
@media (min-width:560px) and (max-width:980px){
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]{display:grid!important;grid-template-columns:minmax(0,1fr) 190px 150px!important;
    grid-auto-flow:row!important;gap:6px 14px!important;padding:10px 14px!important;align-items:start!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]>td{display:block!important;padding:0!important;border:0!important;min-width:0}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]>td::before{display:none!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]>td[data-label="الطالب"]{grid-column:1!important;grid-row:1/span 3!important;display:grid!important;gap:5px!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]>td[data-label="كود الطالب"]{display:none!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]>td[data-label="البرامج"]{grid-column:2!important;grid-row:1!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]>td[data-label="الإنجاز"]{grid-column:2!important;grid-row:2/span 2!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]>td[data-label="الحالة اليدوية"]{grid-column:3!important;grid-row:1!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]>td[data-label="الخطوة التالية"]{grid-column:3!important;grid-row:2!important;font-size:12px!important;color:#56627a;line-height:1.4}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]>td[data-label="التفاصيل"]{grid-column:3!important;grid-row:3!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr[data-eh10-tier] .admin-student-contacts{display:flex!important;flex-wrap:wrap;gap:2px 16px;margin:0!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr[data-eh10-tier] .admin-contact-row{display:flex;gap:4px;align-items:center;margin:0!important;font-size:12px}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr[data-eh10-tier] .eh93-date-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;margin:0!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr[data-eh10-tier] .eh93-date{padding:4px 6px!important;border-radius:8px;display:grid;gap:0}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr[data-eh10-tier] .eh93-date span{font-size:10.5px!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr[data-eh10-tier] .eh93-date b{font-size:12px!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr[data-eh10-tier] .eh88-activity{display:flex!important;flex-wrap:wrap;gap:2px 14px;margin:0!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr[data-eh10-tier] td[data-label="الطالب"]>small{display:inline!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr[data-eh10-tier] .eh-student-row-actions{display:flex!important;gap:6px;flex-wrap:nowrap}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr[data-eh10-tier] .eh-student-row-actions>button{min-height:30px!important;padding:4px 10px!important;font-size:12.5px!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr[data-eh10-tier] .status-select{width:100%!important;min-height:32px!important;padding:2px 8px!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr[data-eh10-tier] .admin-program-list{display:flex;flex-wrap:wrap;gap:4px}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr[data-eh10-tier] .eh10-why{display:none}
}
@media (min-width:560px) and (max-width:980px){
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]>td[data-label="الطالب"]{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:5px 10px!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]>td[data-label="الطالب"]>.admin-student-contacts,
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]>td[data-label="الطالب"]>.eh93-date-grid,
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]>td[data-label="الطالب"]>.eh88-activity{flex:1 1 100%!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr[data-eh10-tier] .eh88-code{margin:0!important;padding:2px 8px!important;min-height:0!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr[data-eh10-tier] .eh10-code-num{font-size:20px!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr[data-eh10-tier] .student-link{font-size:16px!important;padding:0!important;min-height:0!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr[data-eh10-tier] .eh10-contact{display:flex!important;align-items:center;gap:8px;margin:0!important;padding:0!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr[data-eh10-tier] .eh10-contact button{min-height:26px!important;padding:2px 10px!important;font-size:12px!important}
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr[data-eh10-tier] .attention-badges{margin:0!important}
}
@media (min-width:560px) and (max-width:980px){
  html.eh10-neat body .dashboard-panel .table-wrap tbody tr[data-eh10-tier] .eh10-nocode .eh10-code-num{font-size:12px!important;font-weight:600!important;color:#56627a!important}
}

/* ===== v38.5 — compact one-line rows (toggle) ===== */
.eh10-density{appearance:none;font:700 13px 'Tajawal','Segoe UI',sans-serif;padding:8px 14px;border-radius:12px;background:#fff;color:#17263b;border:1px solid #d7deea;cursor:pointer;margin-inline-start:auto}
.eh10-density:hover{border-color:#bf1425;color:#bf1425}
@media (min-width:560px){
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]{display:grid!important;grid-template-columns:84px minmax(0,1.4fr) 130px minmax(120px,1fr) 120px 140px!important;
    grid-template-rows:auto!important;grid-auto-rows:auto!important;gap:4px 12px!important;padding:8px 14px!important;align-items:center!important;cursor:pointer;min-height:0!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]>td{display:block!important;padding:0!important;border:0!important;margin:0!important;min-width:0;grid-row:1!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]>td::before{display:none!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]>td[data-label="الطالب"]{display:contents!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]>td[data-label="كود الطالب"],
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]>td[data-label="الخطوة التالية"]{display:none!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier] .eh88-code{grid-column:1!important;grid-row:1!important;margin:0!important;padding:2px 6px!important;justify-self:start}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier] .eh10-code-num{font-size:16px!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier] .eh10-code-label{display:none!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier] .student-link{grid-column:2!important;grid-row:1!important;font-size:15px!important;text-align:start!important;padding:0!important;min-height:0!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;justify-self:start;max-width:100%}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]>td[data-label="البرامج"]{grid-column:3!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]>td[data-label="الإنجاز"]{grid-column:4!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]>td[data-label="الحالة اليدوية"]{grid-column:5!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]>td[data-label="التفاصيل"]{grid-column:6!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier] .admin-program-list{display:flex;gap:4px;flex-wrap:nowrap;overflow:hidden}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier] .progress-cell{display:flex!important;align-items:center;gap:8px;margin:0!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier] .progress-track{flex:1;min-width:40px}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier] td[data-label="الإنجاز"]>:not(.progress-cell){display:none!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier] .status-select{width:100%!important;min-height:30px!important;padding:0 6px!important;font-size:13px!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier] .eh-student-row-actions{display:flex!important;gap:6px;flex-wrap:nowrap}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier] .eh-student-row-actions>button{min-height:28px!important;padding:3px 10px!important;font-size:12.5px!important}
  /* details hidden until the row is opened */
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]>td[data-label="الطالب"]>:not(.student-link):not(.eh88-code){display:none!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier].eh10-open>td[data-label="الطالب"]>:not(.student-link):not(.eh88-code){display:flex!important;grid-column:1/-1!important;grid-row:auto!important;flex-wrap:wrap;gap:4px 16px;padding-top:6px;border-top:1px dashed #d7deea;margin:0!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier].eh10-open>td[data-label="الطالب"]>.eh93-date-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media (min-width:560px){
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]{grid-template-columns:72px minmax(0,1.7fr) 104px minmax(110px,.9fr) 108px 128px!important;gap:4px 10px!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]>td[data-label]::before,
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]>td[data-label]::after{content:none!important;display:none!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier] .admin-program-list{flex-direction:row!important;flex-wrap:nowrap!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier] .admin-program-list .program-tag:not(.active){display:none!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier] .program-tag{white-space:nowrap!important;padding:2px 8px!important;min-height:26px!important;font-size:12px!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier] .student-link{white-space:normal!important;line-height:1.35!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier] .eh10-nocode{padding:0!important;border:0!important;background:none!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier] .eh10-nocode .eh10-code-num{font-size:12px!important;font-weight:600!important;color:#8a94a8!important}
}

/* v38.5 boosted copy */
@media (min-width:560px){
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6){display:grid!important;grid-template-columns:84px minmax(0,1.4fr) 130px minmax(120px,1fr) 120px 140px!important;
    grid-template-rows:auto!important;grid-auto-rows:auto!important;gap:4px 12px!important;padding:8px 14px!important;align-items:center!important;cursor:pointer;min-height:0!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6)>td{display:block!important;padding:0!important;border:0!important;margin:0!important;min-width:0;grid-row:1!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6)>td::before{display:none!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6)>td[data-label="الطالب"]{display:contents!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6)>td[data-label="كود الطالب"],
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6)>td[data-label="الخطوة التالية"]{display:none!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6) .eh88-code{grid-column:1!important;grid-row:1!important;margin:0!important;padding:2px 6px!important;justify-self:start}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6) .eh10-code-num{font-size:16px!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6) .eh10-code-label{display:none!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6) .student-link{grid-column:2!important;grid-row:1!important;font-size:15px!important;text-align:start!important;padding:0!important;min-height:0!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;justify-self:start;max-width:100%}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6)>td[data-label="البرامج"]{grid-column:3!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6)>td[data-label="الإنجاز"]{grid-column:4!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6)>td[data-label="الحالة اليدوية"]{grid-column:5!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6)>td[data-label="التفاصيل"]{grid-column:6!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6) .admin-program-list{display:flex;gap:4px;flex-wrap:nowrap;overflow:hidden}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6) .progress-cell{display:flex!important;align-items:center;gap:8px;margin:0!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6) .progress-track{flex:1;min-width:40px}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6) td[data-label="الإنجاز"]>:not(.progress-cell){display:none!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6) .status-select{width:100%!important;min-height:30px!important;padding:0 6px!important;font-size:13px!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6) .eh-student-row-actions{display:flex!important;gap:6px;flex-wrap:nowrap}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6) .eh-student-row-actions>button{min-height:28px!important;padding:3px 10px!important;font-size:12.5px!important}
  /* details hidden until the row is opened */
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6)>td[data-label="الطالب"]>:not(.student-link):not(.eh88-code){display:none!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6).eh10-open>td[data-label="الطالب"]>:not(.student-link):not(.eh88-code){display:flex!important;grid-column:1/-1!important;grid-row:auto!important;flex-wrap:wrap;gap:4px 16px;padding-top:6px;border-top:1px dashed #d7deea;margin:0!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6).eh10-open>td[data-label="الطالب"]>.eh93-date-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media (min-width:560px){
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6){grid-template-columns:72px minmax(0,1.7fr) 104px minmax(110px,.9fr) 108px 128px!important;gap:4px 10px!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6)>td[data-label]::before,
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6)>td[data-label]::after{content:none!important;display:none!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6) .admin-program-list{flex-direction:row!important;flex-wrap:nowrap!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6) .admin-program-list .program-tag:not(.active){display:none!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6) .program-tag{white-space:nowrap!important;padding:2px 8px!important;min-height:26px!important;font-size:12px!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6) .student-link{white-space:normal!important;line-height:1.35!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6) .eh10-nocode{padding:0!important;border:0!important;background:none!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6) .eh10-nocode .eh10-code-num{font-size:12px!important;font-weight:600!important;color:#8a94a8!important}
}

@media (min-width:560px){
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6){grid-template-rows:minmax(34px,auto) auto!important;grid-auto-rows:auto!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier].eh10-open:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6)>td[data-label="الطالب"]>:not(.student-link):not(.eh88-code){grid-row:2!important;grid-column:1/-1!important;display:flex!important;flex-direction:row!important;align-items:center;justify-content:flex-start;position:static!important;width:auto!important;max-width:none!important;border:0!important;border-top:1px dashed #d7deea!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier](.eh10-open)>td[data-label="الطالب"]>:not(.student-link):not(.eh88-code){display:none!important}
}
@media (min-width:560px){
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier].eh10-open:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6)>td[data-label="الطالب"]>:not(.student-link):not(.eh88-code){grid-row:auto!important;margin:0!important}
}
@media (min-width:700px){
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6){grid-template-columns:72px minmax(0,1.4fr) minmax(220px,1fr) 104px minmax(110px,.8fr) 108px 128px!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6)>td[data-label="البرامج"]{grid-column:4!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6)>td[data-label="الإنجاز"]{grid-column:5!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6)>td[data-label="الحالة اليدوية"]{grid-column:6!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6)>td[data-label="التفاصيل"]{grid-column:7!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6)>td[data-label="الطالب"]>.eh88-activity:not(.q1):not(.q2):not(.q3):not(.q4),
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6).eh10-open>td[data-label="الطالب"]>.eh88-activity:not(.q1):not(.q2):not(.q3):not(.q4){display:flex!important;grid-column:3!important;grid-row:1!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:14px!important;padding:0!important;border:0!important;margin:0!important;align-items:center;white-space:nowrap;font-size:12.5px!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6) .eh88-activity .eh88-metric{display:inline-flex!important;gap:5px;align-items:baseline}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6) .eh88-activity .eh88-label{font-size:11px!important;color:#56627a}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6) .eh88-activity .eh88-value{font-size:12.5px!important;font-weight:800;color:#17263b}
}
@media (min-width:700px){
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6){grid-template-columns:70px minmax(140px,1.3fr) minmax(150px,.9fr) 92px minmax(84px,.7fr) 100px 122px!important;gap:4px 8px!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6)>td[data-label="الطالب"]>.eh88-activity:not(.q1):not(.q2):not(.q3):not(.q4),
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6).eh10-open>td[data-label="الطالب"]>.eh88-activity:not(.q1):not(.q2):not(.q3):not(.q4){flex-direction:column!important;align-items:flex-start!important;gap:1px!important;white-space:normal!important;line-height:1.35}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6) .eh88-activity .eh88-metric{display:flex!important;gap:5px;white-space:nowrap}
}

/* ===== v38.6 — compact phone cards (<560px) ===== */
@media (max-width:559px){
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6){display:grid!important;grid-template-columns:80px minmax(0,1fr) 128px!important;grid-template-rows:auto!important;grid-auto-rows:auto!important;gap:7px 8px!important;padding:10px 12px!important;align-items:center!important;cursor:pointer;min-height:0!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6)>td{display:block!important;padding:0!important;border:0!important;margin:0!important;min-width:0;width:auto!important;grid-row:auto!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6)>td::before,html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6)>td::after{content:none!important;display:none!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6)>td[data-label="الطالب"]{display:contents!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6)>td[data-label="كود الطالب"],html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6)>td[data-label="الخطوة التالية"]{display:none!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6) .eh88-code{grid-column:1!important;grid-row:1!important;margin:0!important;padding:2px 6px!important;justify-self:start;min-height:0!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6) .eh10-code-label{display:none!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6) .eh10-code-num{font-size:16px!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6) .eh10-nocode{padding:0!important;border:0!important;background:none!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6) .eh10-nocode .eh10-code-num{font-size:12px!important;font-weight:600!important;color:#8a94a8!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6) .student-link{grid-column:2/4!important;grid-row:1!important;font-size:15px!important;text-align:start!important;padding:0!important;min-height:0!important;line-height:1.35!important;justify-self:start;max-width:100%}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6)>td[data-label="الطالب"]>.eh88-activity:not(.q1):not(.q2):not(.q3):not(.q4){display:flex!important;grid-column:1/-1!important;grid-row:2!important;flex-direction:row!important;flex-wrap:wrap!important;gap:2px 14px!important;margin:0!important;padding:0!important;font-size:12px!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6) .eh88-activity .eh88-metric{display:inline-flex!important;gap:4px;align-items:baseline}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6) .eh88-activity .eh88-label{font-size:11px!important;color:#56627a}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6) .eh88-activity .eh88-value{font-size:12px!important;font-weight:800}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6)>td[data-label="الطالب"]>:not(.student-link):not(.eh88-code):not(.eh88-activity){display:none!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6)>td[data-label="البرامج"]{grid-column:1!important;grid-row:3!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6)>td[data-label="الإنجاز"]{grid-column:2/4!important;grid-row:3!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6)>td[data-label="الحالة اليدوية"]{grid-column:1/3!important;grid-row:4!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6)>td[data-label="التفاصيل"]{grid-column:3!important;grid-row:4!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6) .admin-program-list{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;overflow:hidden}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6) .admin-program-list .program-tag:not(.active){display:none!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6) .program-tag{white-space:nowrap!important;padding:2px 7px!important;min-height:26px!important;font-size:11.5px!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6) .progress-cell{display:flex!important;align-items:center;gap:8px;margin:0!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6) .progress-track{flex:1;min-width:40px}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6)>td[data-label="الإنجاز"]>:not(.progress-cell){display:none!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6) .status-select{width:100%!important;min-height:36px!important;padding:0 8px!important;font-size:13px!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6) .eh-student-row-actions{display:flex!important;gap:6px;flex-wrap:nowrap}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6) .eh-student-row-actions>button{min-height:36px!important;padding:4px 10px!important;font-size:12.5px!important;flex:1}
  /* open: details stacked under the card */
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6).eh10-open>td[data-label="الطالب"]>:not(.student-link):not(.eh88-code):not(.eh88-activity){display:flex!important;grid-column:1/-1!important;grid-row:auto!important;flex-wrap:wrap;gap:4px 14px;padding-top:7px;margin:0!important;border-top:1px dashed #d7deea!important;font-size:12.5px}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6).eh10-open>td[data-label="الطالب"]>.eh93-date-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6).eh10-open>td[data-label="الطالب"]>.admin-student-contacts{flex-direction:column;gap:3px}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6).eh10-open>td[data-label="الطالب"]>.admin-student-contacts a{overflow-wrap:anywhere}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6).eh10-open>td[data-label="الطالب"]>.eh10-contact{display:flex!important;align-items:center;gap:8px}
  html.eh10-neat.eh10-compact body .dashboard-panel .table-wrap tbody tr[data-eh10-tier]:not(.z1):not(.z2):not(.z3):not(.z4):not(.z5):not(.z6).eh10-open>td[data-label="الطالب"]>.eh10-contact button{min-height:36px!important}
}
