@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;600;700;800&display=swap');
/* index-v364-4cfec95303.css */
.study-onboarding{max-width:920px;margin:36px auto 0;padding:38px;border:1px solid #e7e9ef;border-radius:28px;background:#fff;box-shadow:0 22px 60px #1e273d14;text-align:center}.study-onboarding h1{margin:8px 0 0;font-size:34px;color:#20283a}.study-onboarding h1 strong{color:#f01e1f}.study-onboarding h2{margin:18px 0 8px;font-size:24px;color:#20283a}.study-onboarding>p{max-width:690px;margin:0 auto;color:#737c8f;line-height:1.9}.study-options{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:28px 0 18px}.study-option{border:1px solid #e3e6ed;border-radius:20px;padding:24px 18px;background:#fafbfc;color:#20283a;cursor:pointer;font:inherit;text-align:center;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.study-option:hover:not(:disabled){transform:translateY(-2px);border-color:#f01e1f;box-shadow:0 12px 28px #f01e1f14}.study-option:disabled{opacity:.65;cursor:wait}.study-option span,.study-option strong,.study-option small{display:block}.study-option span{color:#f01e1f;font-size:11px;font-weight:900}.study-option strong{margin:10px 0 8px;font-size:19px}.study-option small{color:#8b92a2}.friday-holiday{display:grid;gap:5px;padding:14px 16px;border-radius:15px;background:#fff7e8;color:#775015}.friday-holiday span{font-size:11px;line-height:1.7}.study-schedule-card{margin-top:18px;padding:18px;border:1px solid #e7eaf0;border-radius:18px;background:#fafbfc}.study-schedule-card-main{margin-top:18px;background:linear-gradient(135deg,#fbfbfc,#f7f8fa);border-color:#e3e6ed}.study-schedule-card-main .study-schedule-head strong{font-size:16px}.study-schedule-card-main .study-week-days{gap:10px;margin-top:16px}.study-schedule-card-main .study-day{min-height:76px;padding:14px 10px;display:grid;align-content:center}.study-schedule-card-main .study-day b{font-size:13px}.study-schedule-card-main .study-day span{font-size:10px}.study-schedule-card-main .study-week-summary{gap:10px;margin-top:12px}.study-schedule-card-main .study-week-summary>div{padding:13px 14px}.study-schedule-card-main .study-week-summary span{font-size:10px}.study-schedule-card-main .study-week-summary b{font-size:13px}.study-schedule-card-main .study-policy-note{margin-top:12px;padding-top:10px;border-top:1px solid #e5e8ee}.study-schedule-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.study-schedule-head span,.study-schedule-head strong{display:block}.study-schedule-head span{color:#8a92a3;font-size:10px;font-weight:800}.study-schedule-head strong{margin-top:4px;color:#20283a;font-size:14px}.study-schedule-head>small{padding:5px 8px;border-radius:999px;background:#eef7f1;color:#287252;font-size:9px;font-weight:900}.study-week-days{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:13px}.study-day{min-height:62px;padding:10px 8px;border:1px solid #e5e8ee;border-radius:12px;background:#fff;text-align:center}.study-day b,.study-day span{display:block}.study-day b{font-size:11px;color:#394358}.study-day span{margin-top:5px;font-size:9px;color:#8a92a3}.study-day.done{border-color:#cfe8da;background:#effaf5}.study-day.done span{color:#287252}.study-day.missed{border-color:#ffd6d9;background:#fff3f4}.study-day.missed span{color:#b42318}.study-day.today{border-color:#f5c9ca;box-shadow:0 0 0 2px #f01e1f0f}.study-day.today span{color:#d91416;font-weight:800}.study-week-summary{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.study-week-summary>div{padding:10px;border-radius:12px;background:#fff;border:1px solid #e8eaf0}.study-week-summary span,.study-week-summary b{display:block}.study-week-summary span{color:#8a92a3;font-size:9px}.study-week-summary b{margin-top:4px;color:#273047;font-size:11px}.study-policy-note,.friday-today{display:block;margin-top:10px;color:#737c8f;font-size:9px;line-height:1.7}.friday-today{padding:8px 10px;border-radius:10px;background:#fff7e8;color:#775015;font-weight:800}.study-admin-card select{width:100%;margin-top:7px;border:1px solid #dfe2ea;border-radius:11px;padding:10px;background:#fff;font:inherit}.study-admin-stats{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.study-admin-stats span{padding:8px 10px;border-radius:10px;background:#f5f6f8;color:#697184;font-size:10px}.study-admin-stats b{color:#20283a}@media(max-width:760px){.study-onboarding{margin-top:16px;padding:24px 18px;border-radius:22px}.study-onboarding h1{font-size:28px}.study-onboarding h2{font-size:20px}.study-options,.study-week-days,.study-week-summary{grid-template-columns:1fr}.study-schedule-card-main{padding:15px}.study-schedule-card-main .study-day{min-height:60px}}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.static{position:static}.table{display:table}.ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.login-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 20% 10%,#fff0f0 0,transparent 32%),#f7f7f7}.login-card{width:min(520px,100%);background:#fff;border:1px solid #e7e9f0;border-radius:28px;padding:32px;box-shadow:0 28px 80px #1620331f}.login-brand{display:flex;align-items:center;gap:16px;margin-bottom:34px}.login-logo{width:96px;height:70px;-o-object-fit:contain;object-fit:contain;flex:none}.login-brand strong,.login-brand span{display:block}.login-brand span{font-size:11px;color:#7d8495;margin-top:2px}.login-card h1{font-size:36px;margin:8px 0 10px;color:#12192b}.login-card>p{color:#7c8496;line-height:1.8;margin-bottom:22px}.login-card form label{display:flex;flex-direction:column;gap:7px;margin-top:13px;font-size:12px;color:#697184}.login-card input{font:inherit;border:1px solid #dfe2ea;border-radius:12px;padding:12px;background:#fff;outline:none}.login-card input:focus{border-color:#f01e1f;box-shadow:0 0 0 3px #7c5cff1a}.forgot-link{display:block;margin:14px auto 0;border:0;background:transparent;color:#d91416;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.forgot-panel{margin-top:14px;padding:14px;border:1px solid #e7e9ef;border-radius:14px;background:#fafbfc}.forgot-panel strong,.forgot-panel span,.forgot-panel small{display:block}.forgot-panel span{font-size:11px;color:#7d8495;line-height:1.6;margin:4px 0 10px}.forgot-panel input{width:100%;margin-bottom:8px}.forgot-panel small{margin-top:9px;color:#586174;line-height:1.6}.login-error{margin-top:12px;padding:10px 12px;background:#fee2e2;color:#b91c1c;border-radius:10px;font-size:12px}.demo-accounts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:24px}.demo-accounts>div{background:#f7f7f7;border:1px solid #e8eaf0;border-radius:14px;padding:12px}.demo-accounts b,.demo-accounts span,.demo-accounts small{display:block}.demo-accounts span{font-size:11px;color:#555f73;margin:5px 0;direction:ltr;text-align:right}.demo-accounts small{color:#f01e1f;font-weight:800}.demo-note{display:block;color:#959cab;line-height:1.6;margin-top:14px}@media(max-width:560px){.login-card{padding:22px}.login-card h1{font-size:30px}.demo-accounts{grid-template-columns:1fr}}:root{font-family:Segoe UI,Tahoma,Arial,sans-serif;color:#162033;background:#f7f7f7;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:#f7f7f7}.shell{min-height:100vh}.topbar{height:88px;box-shadow:0 8px 30px #00000009;padding:0 5vw;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid #e9eaf0;position:sticky;top:0;z-index:20}.brand,.top-actions,.hero-mini,.metric,.toolbar,.search-box,.filter-box,.big-progress,.section-title{display:flex;align-items:center}.brand{gap:14px;text-decoration:none;color:inherit}.brand-logo{width:92px;height:58px;-o-object-fit:contain;object-fit:contain;flex:none}.brand-mark{width:42px;height:42px;border-radius:13px;background:#151515;color:#fff;display:grid;place-items:center;font-weight:800;box-shadow:inset 0 -3px #f01e1f}.brand strong,.brand span{display:block}.brand span{font-size:11px;color:#7d8495;margin-top:2px}.top-actions{gap:10px}.date-pill,.ghost-button,.primary-button,.tiny-button{border:0;border-radius:12px;font:inherit}.date-pill{background:#f3f4f8;padding:10px 14px;color:#626b7e;display:flex;gap:7px;align-items:center;font-size:13px}.ghost-button{background:#fff;border:1px solid #dedfe7;padding:10px 14px;display:flex;gap:7px;align-items:center;cursor:pointer}.hero{padding:44px 5vw 34px;background:radial-gradient(circle at 12% 15%,rgba(240,30,31,.08),transparent 30%);display:flex;justify-content:space-between;gap:30px;align-items:center}.hero-admin{min-height:250px}.hero-copy{max-width:760px}.hero-copy h1{margin-bottom:10px;font-weight:900}.hero-copy h1 strong{font-weight:900}.hero-copy p{font-size:16px;line-height:1.8}.hero-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:22px}.hero-feature-grid span{display:flex;align-items:center;gap:8px;padding:11px 13px;border:1px solid #e7e9ef;border-radius:13px;background:#ffffffc7;color:#4f596c;font-size:12px;font-weight:700}.hero-feature-grid svg{color:#f01e1f;flex:none}.hero-code-card{min-width:320px;padding:20px 22px}.hero-code-card b{font-size:16px}.hero-code-card span{line-height:1.6}.eyebrow{color:#f01e1f;font-weight:800;font-size:12px;letter-spacing:.3px}.hero h1,.student-heading h1{font-size:48px;line-height:1.12;margin:9px 0 12px;color:#12192b}.hero p,.student-heading p,.muted{color:#7c8496}.hero-mini{gap:12px;background:#fff;border:1px solid #e9eaf0;padding:16px 18px;border-radius:18px;min-width:280px;box-shadow:0 12px 40px #19223a0f}.hero-mini svg{color:#f01e1f}.hero-mini b,.hero-mini span{display:block}.hero-mini span{font-size:12px;color:#80879a;margin-top:3px}.dashboard-panel{margin:0 5vw 70px;background:#121212;color:#fff;border-radius:28px;padding:24px;box-shadow:0 30px 70px #10182d26;position:relative;overflow:hidden}.dashboard-panel:after{content:"";position:absolute;bottom:0;left:0;right:0;height:5px;background:linear-gradient(90deg,#f01e1f,#ff5a5a)}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.metric{gap:12px;background:#1d1d1d;border:1px solid #303030;border-radius:18px;padding:18px}.metric-icon{width:42px;height:42px;border-radius:13px;background:#292929;display:grid;place-items:center;color:#f01e1f}.metric span,.metric strong{display:block}.metric span{font-size:12px;color:#9aa2b6}.metric strong{font-size:26px;margin-top:3px}.toolbar{gap:10px;margin:18px 0 14px;flex-wrap:wrap}.expiry-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}.alert-card{display:flex;align-items:center;gap:10px;padding:13px 15px;border:1px solid #f0dfb8;border-radius:15px;background:#fffaf0;text-align:right;font:inherit;cursor:pointer;color:#20283a;transition:.18s}.alert-card:hover,.alert-card.active{transform:translateY(-1px);box-shadow:0 8px 22px #1e273d14}.alert-card.active{outline:2px solid rgba(240,30,31,.16)}.alert-card svg{color:#b7791f;flex:none}.alert-card span,.alert-card strong,.alert-card small{display:block}.alert-card span{font-size:10px;color:#7d8495}.alert-card strong{font-size:24px;color:#20283a;margin-top:2px}.alert-card small{font-size:9px;color:#949bab;margin-top:2px}.alert-card.expired{background:#fff3f3;border-color:#ffd3d3}.alert-card.expired svg{color:#d91416}.alert-card.course-soon{background:#f5f9f7;border-color:#d8eadf}.alert-card.course-soon svg{color:#287252}.alert-card.stalled{background:#fff7ed;border-color:#fed7aa}.alert-card.stalled svg{color:#c26713}.search-box{flex:1;background:#1d1d1d;border:1px solid #383838;border-radius:13px;padding:0 13px}.search-box input{width:100%;background:transparent;border:0;outline:0;color:#fff;padding:13px;font:inherit}.filter-box{position:relative;background:#1d1d1d;border:1px solid #383838;border-radius:13px}.filter-box select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;color:#fff;border:0;outline:0;padding:12px 14px 12px 38px;font:inherit}.filter-box svg{position:absolute;left:12px;pointer-events:none}.primary-button{background:#f01e1f;color:#fff;padding:12px 16px;font-weight:700;display:inline-flex;align-items:center;gap:7px;cursor:pointer;box-shadow:0 8px 24px #f01e1f38}.full{width:100%;justify-content:center;margin-top:12px}.table-wrap{overflow:auto;border:1px solid #29334e;border-radius:16px}table{width:100%;border-collapse:collapse;min-width:980px}th{color:#939bb0;font-size:11px;font-weight:700;text-align:right;padding:13px 14px;background:#171717}td{padding:14px;border-top:1px solid #313131;font-size:13px;transition:.18s}td small{display:block;color:#818aa0;margin-top:4px}.student-link{background:none;border:0;color:#fff;font:inherit;font-weight:700;padding:0;cursor:pointer}.program-tag{display:inline-block;border-radius:20px;padding:7px 10px;font-size:11px;background:#272727}.program-tag.photoshop{color:#74a7ff}.program-tag.illustrator{color:#f8a85a}.program-tag.indesign{color:#ef78af}.admin-program-list{display:flex;flex-wrap:wrap;gap:6px;min-width:220px}.admin-program-tag{border:1px solid transparent;cursor:pointer;font:inherit}.admin-program-tag.active{border-color:currentColor;background:#333}.progress-cell{min-width:130px}.progress-cell b{font-size:12px}.progress-track{height:6px;background:#343434;border-radius:10px;margin-top:7px;overflow:hidden}.progress-track span{display:block;height:100%;background:linear-gradient(90deg,#f01e1f,#ff5a5a);border-radius:inherit}.status-select,.drawer select,.small-modal select,.small-modal input,.drawer input,.drawer textarea,.student-switch{font:inherit;border:1px solid #dfe2ea;border-radius:11px;padding:9px 11px;background:#fff;color:#273047;outline:none}.dashboard-panel .status-select{background:#242424;color:#fff;border-color:#404040}.tiny-button{padding:7px 10px;background:#2b2b2b;color:#dce1ef;cursor:pointer}.row-complete td{background:#153a2e!important}.row-incomplete td{background:#4a2226!important}.row-follow td{background:#4a3a18!important}.legend{display:flex;align-items:center;gap:18px;padding:15px 5px 2px;color:#a4abbd;font-size:12px}.legend span{display:flex;align-items:center;gap:6px}.legend-note{margin-right:auto}.dot{width:9px;height:9px;border-radius:50%;display:inline-block}.dot.green{background:#29c790}.dot.red{background:#f06070}.dot.yellow{background:#f3c24d}.empty{text-align:center;color:#8891a6;padding:34px}.standalone{margin:60px}.student-page{padding:48px 5vw 70px}.student-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:25px}.student-heading-card{align-items:center;padding:24px 28px;border:1px solid #e8eaf0;border-radius:22px;background:#fff;box-shadow:0 12px 35px #1e273d0d}.student-title-copy{width:100%}.student-heading h1{font-size:44px;font-weight:500;margin:8px 0 14px}.student-heading h1 strong{font-weight:900;color:#12192b}.welcome-text{font-weight:500}.student-meta-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:#7c8496;font-size:12px}.student-meta-row>span{padding:7px 10px;border-radius:999px;background:#f5f6f8}.student-program-pill{background:#fff1f1!important;color:#d91416!important;font-weight:800}.student-switch{min-width:230px}.program-nav{margin:0 0 14px;padding:14px 0;border-top:1px solid #eceef4}.program-nav-label{display:block;color:#8b92a2;font-size:12px;margin-bottom:9px}.program-nav-list{display:grid;gap:8px}.program-nav-button{width:100%;min-height:46px;border:1px solid #e2e5ec;border-radius:12px;background:#fff;color:#283148;padding:9px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;font:inherit;font-weight:700;text-align:right}.program-nav-button small{color:#8b92a2;font-size:11px;font-weight:700}.program-nav-button.active{border-color:#f01e1f;background:#fff1f1;color:#d91416}.program-nav-button.active small{color:#d91416}.student-brand-strip{display:flex;align-items:center;justify-content:center;gap:14px;margin:0 auto 20px;padding:12px 18px;width:-moz-max-content;width:max-content;max-width:100%;border:1px solid #eceef3;border-radius:18px;background:#fff;box-shadow:0 10px 28px #1e273d0d}.student-brand-strip img,.student-brand-strip>.logo-fallback{width:108px;height:58px;-o-object-fit:contain;object-fit:contain}.student-brand-strip strong,.student-brand-strip span{display:block}.student-brand-strip strong{font-size:18px;color:#12192b}.student-brand-strip span{margin-top:2px;font-size:11px;color:#858c9c}.student-grid{display:grid;grid-template-columns:2fr 1fr;gap:18px;align-items:start}.student-side-stack{display:grid;gap:18px;align-content:start}.student-main-card,.student-side-card,.lessons-card{background:#fff;border:1px solid #e8eaf0;border-radius:24px;padding:24px;box-shadow:0 12px 35px #1e273d0d}.student-main-card{display:flex;flex-direction:column}.student-side-card{align-self:start}.student-overview-card{background:#fff;border:1px solid #e8eaf0;border-radius:24px;padding:20px;box-shadow:0 12px 35px #1e273d0d}.overview-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}.overview-head span,.overview-head strong{display:block}.overview-head strong{margin-top:4px;color:#20283a;font-size:14px}.overview-head>b{font-size:28px;color:#f01e1f;line-height:1}.overview-progress{height:8px;margin-top:14px;border-radius:999px;background:#eceef3;overflow:hidden}.overview-progress>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#f01e1f,#f55)}.overview-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:12px}.overview-stats article{padding:10px 8px;border:1px solid #e7e9ef;border-radius:12px;background:#fafbfc;text-align:center}.overview-stats span,.overview-stats strong{display:block}.overview-stats span{font-size:9px;color:#8a92a3}.overview-stats strong{margin-top:4px;font-size:17px;color:#20283a}.overview-programs{display:grid;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid #eceef4}.overview-programs>div{display:grid;grid-template-columns:82px 1fr 36px;align-items:center;gap:8px;font-size:10px}.overview-programs>div>span{color:#4f596c;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.overview-programs>div>div{height:6px;border-radius:999px;background:#eceef3;overflow:hidden}.overview-programs i{display:block;height:100%;border-radius:inherit;background:#f01e1f}.overview-programs b{color:#20283a;text-align:left}.big-progress{gap:34px;padding:10px 4px 18px;align-items:center}.progress-copy{flex:1}.progress-bar-large{height:10px;margin-top:18px;border-radius:999px;background:#eef0f4;overflow:hidden}.progress-bar-large span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#f01e1f,#f55)}.ring{--progress: 0%;width:210px;height:210px;border-radius:50%;background:conic-gradient(#f01e1f var(--progress),#eceef4 0);display:grid;place-items:center;flex:none}.ring:before{content:"";width:164px;height:164px;border-radius:50%;background:#fff;position:absolute}.ring div{position:relative;text-align:center}.ring strong,.ring span{display:block}.ring strong{font-size:38px;line-height:1}.ring span{margin-top:6px;font-size:12px;color:#9299a9}.big-progress h2{font-size:34px;margin:7px 0}.big-progress p{color:#818899}.next-card{margin-top:20px;background:#121212;color:#fff;border-radius:18px;padding:18px}.next-card span,.next-card strong,.next-card small{display:block}.next-card span,.next-card small{color:#a3abc0;font-size:12px}.next-card strong{font-size:20px;margin:5px 0}.student-side-card h3{font-size:30px;margin:8px 0 28px}.mini-stat{padding:13px 0;border-top:1px solid #eceef4;display:flex;justify-content:space-between}.mini-stat span{color:#8b92a2}.timeline-block{margin-top:18px;padding-top:16px;border-top:1px solid #eceef4}.timeline-head{margin-bottom:10px}.timeline-head span,.timeline-head small{display:block}.timeline-head span{font-size:12px;font-weight:800;color:#323b50}.timeline-head small{margin-top:3px;color:#9299a8;font-size:10px;line-height:1.5}.timeline-cards{display:grid;gap:9px}.timeline-card{border:1px solid #e7eaf0;border-radius:14px;padding:12px 13px;background:#fafbfc}.timeline-card span,.timeline-card strong,.timeline-card small{display:block}.timeline-card span{font-size:10px;color:#8a92a3;font-weight:700}.timeline-card strong{font-size:15px;color:#20283a;margin-top:4px}.timeline-card.start-date{background:#f8f9fb}.timeline-card.follow-date{background:#fff7f7;border-color:#ffe0e0}.timeline-card.course-date{background:#f7faf8;border-color:#dcefe5}.countdown-badge{width:-moz-max-content;width:max-content;margin-top:7px;padding:4px 8px;border-radius:999px;background:#fff;color:#f01e1f;font-size:10px!important;font-weight:800;box-shadow:inset 0 0 0 1px #ffd8d8}.course-date .countdown-badge{color:#287252;box-shadow:inset 0 0 0 1px #cfe8da}.student-edit-note{margin-top:12px;padding:10px 12px;border-radius:12px;background:#f6f7f9;color:#7d8495;font-size:11px;line-height:1.6}.timeline-admin-card{background:#fff}.timeline-base{padding:10px 12px;border-radius:12px;background:#f7f8fa;color:#71798a;font-size:12px;margin-bottom:12px}.timeline-base b{color:#20283a}.timeline-admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.timeline-control{padding:12px;border:1px solid #e6e9ef;border-radius:14px;background:#fafbfc}.timeline-control label{gap:7px}.timeline-control select,.timeline-control input{width:100%;margin-top:7px}.timeline-control>small{display:block;margin-top:8px;color:#7f8797;font-size:10px;line-height:1.5}.lessons-card{margin-top:18px}.section-title h2{margin:4px 0 0}.section-title{justify-content:space-between}.section-title>span{color:#788093}.lesson-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:20px}.lesson{width:100%;border:1px solid #e3e5ec;background:#fff;border-radius:15px;padding:13px;display:flex;gap:10px;align-items:center;text-align:right;cursor:pointer;color:#283148;font:inherit;transition:border-color .18s ease,transform .18s ease}.lesson.editable:hover{border-color:#f01e1f}.lesson:disabled{opacity:1;cursor:default}.lesson>span{width:28px;height:28px;border-radius:9px;background:#f0f1f6;display:grid;place-items:center;font-weight:700}.lesson div{flex:1}.lesson b,.lesson small{display:block}.lesson small{color:#9299a8;margin-top:3px}.lesson.done{background:#f0faf6;border-color:#cfeee1}.lesson.done>span{background:#d9f4e9;color:#167a50}.lesson.done svg{color:#1eae78}.lesson.pending{background:#fff8e9}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#090d1994;display:flex;z-index:50;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.drawer{width:min(520px,92vw);height:100%;overflow:auto;background:#fff;padding:30px;margin-right:auto;position:relative}.modal{background:#fff;border-radius:24px;padding:26px;position:relative}.small-modal{width:min(430px,92vw);margin:auto}.close{position:absolute;left:20px;top:20px;border:0;background:#f1f2f6;width:38px;height:38px;border-radius:12px;display:grid;place-items:center;cursor:pointer}.drawer h2,.small-modal h2{font-size:30px;margin:8px 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px 0}.form-grid label,.small-modal label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#697184}.form-grid .wide{grid-column:1/-1}.drawer textarea{min-height:90px;resize:vertical}.drawer-lessons{border-top:1px solid #eceef4;padding-top:16px}.drawer-lesson{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid #f0f1f5;gap:12px}.drawer-lesson span{font-size:13px}.small-modal label{margin-top:14px}.toast{position:fixed;top:94px;left:24px;background:#121212;color:#fff;padding:12px 16px;border-radius:12px;z-index:80;box-shadow:0 12px 30px #0000002e}.auth-user{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#6d7483;font-size:12px}.lesson.readonly{cursor:default}.login-card b[dir=ltr]{display:inline-block;direction:ltr}.text-button{display:block;margin:16px auto 0;border:0;background:transparent;color:#777;cursor:pointer;font:inherit}.code-pill{display:inline-block;direction:ltr;background:#fff;color:#111;border-radius:9px;padding:6px 9px;font-weight:800;font-size:11px}.empty-code{background:#2b2b2b;color:#9da3af;font-weight:600}.access-card{margin:22px 0;padding:18px;border:1px solid #eceef3;border-radius:18px;background:#f8f8f8}.access-title{display:flex;align-items:center;gap:10px;margin-bottom:14px}.access-title svg{color:#f01e1f}.access-title b,.access-title small{display:block}.access-title small{color:#8a909d;margin-top:2px}.access-card label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#697184}.access-card input{font:inherit;border:1px solid #dfe2ea;border-radius:11px;padding:10px 11px;background:#fff;direction:ltr}.access-actions{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}.access-message{margin-top:10px;color:#5f6878;font-size:12px}.temp-password{margin-top:12px;background:#171717;color:#fff;border-radius:12px;padding:12px}.temp-password span,.temp-password strong{display:block}.temp-password span{color:#aab0ba;font-size:11px}.temp-password strong{margin-top:5px;font-size:16px;color:#fff}@media(max-width:900px){.topbar{height:auto;padding:14px 4vw;align-items:flex-start}.top-actions{flex-direction:column;align-items:stretch}.date-pill{display:none}.hero{padding:32px 4vw 24px;display:block}.hero h1{font-size:38px}.hero-feature-grid{grid-template-columns:1fr 1fr}.hero-mini{margin-top:18px}.hero-code-card{min-width:0;width:100%}.dashboard-panel{margin:0 4vw 50px;padding:16px;border-radius:20px}.metrics{grid-template-columns:1fr 1fr}.toolbar{flex-wrap:wrap}.search-box{flex-basis:100%}.student-grid{grid-template-columns:1fr}.lesson-grid{grid-template-columns:1fr 1fr}.student-page{padding:32px 4vw}.student-heading{display:block}.student-heading-card{padding:20px}.student-heading h1{font-size:38px}.student-switch{margin-top:15px;width:100%}}@media(max-width:560px){.brand span{display:none}.ghost-button{font-size:12px}.hero h1,.student-heading h1{font-size:32px}.hero-feature-grid{grid-template-columns:1fr}.student-heading-card{padding:18px}.student-meta-row{align-items:stretch}.student-meta-row>span{width:100%;text-align:center}.metrics{grid-template-columns:1fr}.metric{padding:14px}.toolbar .primary-button,.filter-box{flex:1}.lesson-grid{grid-template-columns:1fr}.big-progress{display:block}.ring{margin:0 auto 22px}.progress-copy{text-align:center}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.legend{flex-wrap:wrap}.legend-note{margin-right:0;width:100%}}.brand-logo{width:112px;height:64px;-o-object-fit:contain;object-fit:contain}.logo-fallback{display:inline-grid;place-items:center;color:#f01e1f;font-weight:900;text-align:center;line-height:1.1}.login-logo{width:180px;height:128px}.login-brand-centered{flex-direction:column;justify-content:center;text-align:center;gap:10px;margin-bottom:30px}.login-brand-centered strong{font-size:20px;color:#12192b}.login-brand-centered span{font-size:12px}.login-card form{margin-top:6px}.dashboard-panel{background:#fff;color:#162033;border:1px solid #e8eaf0;box-shadow:0 20px 55px #1e273d14}.metric{background:#fff;border-color:#e8eaf0}.metric-icon{background:#fff1f1}.metric span{color:#7d8495}.search-box,.filter-box{background:#fff;border-color:#dde1e9}.search-box input,.filter-box select{color:#273047}.search-box svg,.filter-box svg{color:#747d8f}.table-wrap{border-color:#e3e6ed;background:#fff}th{background:#f7f8fa;color:#747d8f}td{border-top-color:#eceef3;color:#273047}.student-link{color:#1d2638}.program-tag{background:#f2f3f6}.admin-program-tag.active{background:#fff;border-color:currentColor;box-shadow:0 0 0 2px #f01e1f0f}.progress-track{background:#e8eaf0}.dashboard-panel .status-select{background:#fff;color:#273047;border-color:#dfe2ea}.tiny-button{background:#f3f4f7;color:#273047;border:1px solid #e0e3ea}.code-pill{background:#f2f3f6;color:#20283a}.empty-code{background:#f2f3f6;color:#8c93a2}.row-complete td{background:#effaf5!important}.row-incomplete td{background:#fff1f2!important}.row-follow td{background:#fff9e9!important}.row-attention-orange td{background:#fffaf0!important}.row-attention-red td{background:#fff1f2!important}.row-archived td{opacity:.62;background:#f3f4f6!important}.archive-badge{color:#9a6b17;font-weight:800}.attention-badges{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}.attention-badge{display:inline-flex!important;align-items:center;width:-moz-max-content;width:max-content;padding:4px 7px;border-radius:999px;font-size:9px!important;font-weight:800}.attention-badge.red{background:#ffe5e7;color:#b42318}.attention-badge.orange{background:#fff0d8;color:#a85b12}.attention-badge.green{background:#e9f7ef;color:#287252}.legend{color:#737c8f}.steps-stack{display:grid;gap:10px;margin-top:20px}.current-card,.next-card{border-radius:18px;padding:18px}.current-card{background:#fff1f1;border:1px solid #ffd7d7;color:#20283a}.current-card span,.current-card strong,.current-card small,.next-card span,.next-card strong,.next-card small{display:block}.current-card span,.current-card small{color:#8d5e63;font-size:12px}.current-card strong,.next-card strong{font-size:20px;margin:5px 0}.journey-card{margin-top:18px;padding:16px 18px;border:1px solid #e7eaf0;border-radius:18px;background:linear-gradient(135deg,#fbfbfc,#f6f7f9)}.journey-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:18px}.journey-head span,.journey-head strong,.journey-head small{display:block}.journey-head span{font-size:11px;color:#8a92a3;font-weight:800}.journey-head strong{font-size:18px;color:#20283a;margin-top:3px}.journey-head small{font-size:10px;color:#8a92a3}.journey-track{height:8px;background:#e7e9ee;border-radius:999px;overflow:hidden}.journey-track>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#f01e1f,#f55)}.journey-points{display:grid;grid-template-columns:repeat(4,1fr);margin-top:10px}.journey-points div{text-align:center;color:#a0a6b2;font-size:10px;font-weight:800}.journey-points i{display:block;width:9px;height:9px;border-radius:50%;background:#d8dbe2;margin:0 auto 5px}.journey-points .reached{color:#d91416}.journey-points .reached i{background:#f01e1f;box-shadow:0 0 0 4px #fff1f1}.progress-insights{margin-top:18px;padding-top:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.progress-insights article{min-height:96px;border:1px solid #e8eaf0;border-radius:16px;padding:14px;background:#fafbfc}.progress-insights span,.progress-insights strong,.progress-insights small{display:block}.progress-insights span{font-size:11px;font-weight:800;color:#8a92a3}.progress-insights strong{font-size:30px;margin-top:5px;color:#20283a}.progress-insights small{margin-top:5px;font-size:10px;color:#8b92a2;line-height:1.5}.compact-insights article:first-child{background:#f7faf8;border-color:#dcefe5}.compact-insights article:nth-child(2){background:#f8f9fb}.compact-insights article:nth-child(3){background:#fff9ef;border-color:#f2e5bf}.danger-card{margin:24px 0 4px;padding:18px;border:1px solid #ffd4d4;border-radius:18px;background:#fff5f5}.danger-title{display:flex;align-items:flex-start;gap:10px;color:#a82020;margin-bottom:12px}.danger-title b,.danger-title small{display:block}.danger-title small{color:#9a6262;margin-top:3px;line-height:1.6}.danger-button{width:100%;border:0;border-radius:12px;background:#b42318;color:#fff;padding:12px 14px;font:inherit;font-weight:800;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}.danger-message{margin-top:10px;color:#b42318;font-size:12px}.archive-action-card{margin:20px 0;padding:16px;border:1px solid #e3e6ed;border-radius:16px;background:#f8f9fb;display:flex;align-items:center;justify-content:space-between;gap:12px}.archive-action-card>div{display:flex;align-items:flex-start;gap:9px}.archive-action-card svg{color:#8b6a18}.archive-action-card b,.archive-action-card small{display:block}.archive-action-card small{margin-top:3px;color:#7d8495;line-height:1.6}.viewer-note{margin:18px 0;padding:12px 14px;border:1px solid #e2e5ec;border-radius:13px;background:#f7f8fa;color:#697184;font-size:12px}.team-drawer{width:min(720px,96vw)}.team-create-card{margin:22px 0;padding:18px;border:1px solid #e7eaf0;border-radius:18px;background:#fafbfc}.team-form-grid{display:grid;grid-template-columns:1fr 1fr 160px;gap:10px}.team-form-grid label,.team-member-controls label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#697184}.team-form-grid input,.team-form-grid select,.team-member-controls input,.team-member-controls select{width:100%;font:inherit;border:1px solid #dfe2ea;border-radius:11px;padding:10px;background:#fff}.role-guide{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:18px}.role-guide span{padding:10px 12px;border-radius:12px;background:#f5f6f8;color:#697184;font-size:10px;line-height:1.6}.role-guide b{color:#20283a}.team-list{display:grid;gap:10px}.team-member{border:1px solid #e6e9ef;border-radius:16px;padding:14px;background:#fff}.team-member.inactive{opacity:.58}.team-member-head{display:flex;align-items:center;gap:10px}.team-avatar{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:#fff1f1;color:#f01e1f}.team-member-head>div:nth-child(2){flex:1}.team-member-head strong,.team-member-head span{display:block}.team-member-head span{font-size:10px;color:#8a92a3;margin-top:2px}.role-pill{padding:5px 8px!important;border-radius:999px;background:#f1f3f6;color:#4c5567!important;font-weight:800}.team-member-controls{display:grid;grid-template-columns:1fr 160px 140px;gap:10px;margin-top:12px}.team-active{justify-content:flex-end}.team-active input{width:auto!important}.team-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.danger-link{border:0;background:#fff1f1;color:#b42318;border-radius:10px;padding:9px 11px;font:inherit;font-size:11px;font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer}.activity-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px}.activity-grid article{padding:12px;border:1px solid #e7e9ef;border-radius:13px;background:#fafbfc}.activity-grid span,.activity-grid strong{display:block}.activity-grid span{font-size:10px;color:#8991a1}.activity-grid strong{font-size:12px;margin-top:4px;color:#273047}.program-manager-drawer{width:min(860px,97vw)}.program-create-card{padding:18px;border:1px solid #e7e9ef;border-radius:18px;background:#fafbfc;margin:20px 0}.program-create-card label{display:flex;flex-direction:column;gap:7px;margin:10px 0;font-size:11px;color:#697184}.program-create-card input,.program-create-card textarea{width:100%;border:1px solid #dfe2ea;border-radius:11px;padding:10px;background:#fff;font:inherit}.program-create-card textarea{min-height:110px;resize:vertical}.program-admin-list{display:grid;gap:12px}.program-admin-card{border:1px solid #e5e8ee;border-radius:18px;padding:16px;background:#fff}.program-admin-card.inactive{background:#f7f8fa}.program-admin-head{display:grid;grid-template-columns:40px 1fr 100px;gap:10px;align-items:end}.program-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#fff1f1;color:#f01e1f}.program-name-field{display:flex;flex-direction:column;gap:5px;font-size:10px;color:#7c8496}.program-name-field input{width:100%;border:1px solid #dfe2ea;border-radius:10px;padding:9px;font:inherit;font-weight:800}.program-active-toggle{font-size:11px;font-weight:800;display:flex;align-items:center;gap:6px;padding-bottom:9px}.program-lessons-head{display:flex;justify-content:space-between;align-items:center;margin:15px 0 8px}.program-lessons-head span{font-size:10px;color:#8a92a3}.program-lesson-editor{display:grid;gap:6px}.program-lesson-row{display:grid;grid-template-columns:28px minmax(0,1fr) 78px 34px 34px 34px;gap:6px;align-items:center}.program-lesson-row>span{font-size:10px;color:#8a92a3;text-align:center}.program-lesson-row>input{width:100%;border:1px solid #e0e3e9;border-radius:9px;padding:8px 9px;font:inherit;font-size:11px}.program-lesson-row button{height:32px;border:1px solid #e2e5eb;border-radius:8px;background:#f7f8fa;display:grid;place-items:center;cursor:pointer}.program-lesson-row button:disabled{opacity:.35}.program-lesson-row .lesson-remove{color:#b42318;background:#fff4f4}.program-lesson-row.inactive{opacity:.62;background:#f7f8fa;border-radius:10px;padding:4px}.lesson-active-toggle{display:flex;align-items:center;justify-content:center;gap:5px;font-size:9px;font-weight:800;color:#657084}.lesson-active-toggle input{width:auto}.lesson-status-badge{display:block;margin-top:3px;color:#9a6b17;font-size:9px}.drawer-lesson.inactive{opacity:.62;background:#faf8f2;padding-inline:8px;border-radius:9px}.merge-card{background:#f8faf9;border-color:#dfe9e3}.merge-card .access-actions select{min-width:220px;flex:1}.program-admin-actions{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:14px}.snapshot-list{margin-top:12px;display:grid;gap:7px;padding:10px;border:1px solid #e5e8ee;border-radius:13px;background:#fafbfc}.snapshot-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;background:#fff;border:1px solid #eceef2;border-radius:10px}.snapshot-row b,.snapshot-row small{display:block}.snapshot-row b{font-size:11px}.snapshot-row small{font-size:9px;color:#8a92a3;margin-top:3px}.settings-drawer{width:min(700px,96vw)}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}.settings-grid label{padding:13px;border:1px solid #e5e8ee;border-radius:14px;background:#fafbfc}.settings-grid label>span{display:block;font-size:11px;font-weight:800;color:#5f6878;margin-bottom:8px}.settings-grid label>div{display:flex;align-items:center;gap:8px}.settings-grid input{width:100%;border:1px solid #dfe2ea;border-radius:10px;padding:10px;font:inherit;background:#fff}.settings-grid small{color:#8a92a3;font-size:10px}.settings-security-note{display:flex;gap:9px;align-items:flex-start;padding:12px;border:1px solid #dfe8e2;border-radius:13px;background:#f4faf6}.settings-security-note svg{color:#287252;flex:none}.settings-security-note b,.settings-security-note span{display:block}.settings-security-note span{font-size:10px;color:#728075;margin-top:3px;line-height:1.6}.production-drawer{width:min(860px,97vw)}.ops-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.ops-tabs button{border:1px solid #e1e4eb;background:#f7f8fa;color:#5f6878;border-radius:11px;padding:9px 12px;font:inherit;font-size:11px;font-weight:800;display:flex;align-items:center;gap:6px;cursor:pointer}.ops-tabs button.active{background:#171717;color:#fff;border-color:#171717}.ops-tabs b{background:#f01e1f;color:#fff;border-radius:999px;padding:1px 6px}.ops-section{padding:18px;border:1px solid #e7e9ef;border-radius:18px;background:#fff}.ops-section h3{margin:0 0 5px}.ops-actions{display:flex;gap:9px;flex-wrap:wrap;margin:16px 0}.upload-button{border:1px solid #dedfe7;border-radius:12px;padding:10px 14px;display:flex;gap:7px;align-items:center;cursor:pointer;font-size:12px;font-weight:800;background:#fff}.upload-button input{display:none}.import-help{padding:11px 13px;background:#f6f7f9;border-radius:12px;color:#737c8f;font-size:11px;line-height:1.7;margin-bottom:14px}.ops-message{margin-top:14px;padding:11px 13px;border-radius:12px;background:#f2f4f7;color:#525d70;font-size:12px}.reset-request-list,.audit-list{display:grid;gap:8px;margin-top:14px}.reset-request-list article,.audit-list article{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid #e8eaf0;border-radius:13px;padding:11px 12px;background:#fafbfc}.reset-request-list strong,.reset-request-list small,.audit-list strong,.audit-list span,.audit-list b,.audit-list small{display:block}.reset-request-list small,.audit-list span,.audit-list small{font-size:10px;color:#8b92a2;margin-top:3px}.reset-request-list article>div:last-child{display:flex;gap:6px}.audit-list article>div:last-child{text-align:left}.audit-list b{font-size:10px;color:#394358}@media(max-width:760px){.topbar{flex-direction:column;align-items:stretch;gap:12px;padding:12px 4vw}.brand{justify-content:center}.brand-logo{width:96px;height:54px}.top-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}.top-actions .ghost-button{justify-content:center}.auth-user{grid-column:1/-1;max-width:none;text-align:center}.hero{padding-top:28px}.hero-mini{min-width:0;width:100%}.dashboard-panel{margin:0 3vw 36px;padding:12px}.toolbar{display:grid;grid-template-columns:1fr 1fr}.search-box{grid-column:1/-1}.toolbar .primary-button,.filter-box{width:100%;justify-content:center}.table-wrap{border:0;background:transparent;overflow:visible}.table-wrap table{min-width:0;display:block}.table-wrap thead{display:none}.table-wrap tbody{display:grid;gap:12px}.table-wrap tr{display:block;border:1px solid #e5e8ee;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 8px 22px #1e273d0d}.table-wrap td{display:grid;grid-template-columns:100px minmax(0,1fr);align-items:center;gap:10px;padding:11px 12px;border-top:1px solid #eef0f4!important;background:transparent!important}.table-wrap td:first-child{border-top:0!important}.table-wrap td:before{content:attr(data-label);font-size:11px;font-weight:800;color:#8b92a2}.table-wrap .admin-program-list{min-width:0}.table-wrap .status-select,.table-wrap .tiny-button{width:100%}.table-wrap .progress-cell{min-width:0}.student-page{padding:26px 4vw 44px}.student-heading p{line-height:1.8}.student-main-card,.student-side-card,.lessons-card,.student-overview-card{padding:18px;border-radius:18px}.student-side-stack{gap:14px}.student-brand-strip{width:100%;justify-content:center}.student-brand-strip img,.student-brand-strip>.logo-fallback{width:100px;height:54px}.ring{width:180px;height:180px}.ring:before{width:140px;height:140px}.ring strong{font-size:34px}.progress-insights{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:18px}.timeline-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.timeline-card{padding:11px}.drawer{width:100vw;max-width:100vw;padding:22px 18px}.timeline-admin-grid,.team-form-grid,.team-member-controls,.role-guide{grid-template-columns:1fr}.journey-head{display:block}.journey-head small{margin-top:5px}.expiry-grid{grid-template-columns:1fr 1fr}.activity-grid{grid-template-columns:1fr}.program-manager-drawer{width:100vw;max-width:100vw}.program-admin-head{grid-template-columns:36px 1fr}.program-active-toggle{grid-column:2}.program-lesson-row{grid-template-columns:24px minmax(0,1fr) 72px 30px 30px 30px}.settings-grid{grid-template-columns:1fr}.settings-drawer{width:100vw;max-width:100vw}.snapshot-row{align-items:stretch;flex-direction:column}.production-drawer{width:100vw;max-width:100vw}.reset-request-list article,.audit-list article,.archive-action-card{align-items:stretch;flex-direction:column}.reset-request-list article>div:last-child{width:100%}}@media(max-width:560px){.login-logo{width:150px;height:106px}.login-brand{gap:10px;margin-bottom:24px}.login-brand strong{font-size:18px}.brand strong{font-size:14px}.toolbar{grid-template-columns:1fr}.search-box{grid-column:auto}.top-actions{grid-template-columns:1fr}.auth-user{grid-column:auto}.current-card strong,.next-card strong{font-size:18px}.student-brand-strip{flex-direction:column;text-align:center;gap:6px}.student-brand-strip img,.student-brand-strip>.logo-fallback{width:96px;height:52px}.student-brand-strip strong{font-size:16px}.progress-insights{grid-template-columns:1fr 1fr}.progress-insights article{min-height:88px}.progress-insights strong{font-size:22px}.progress-insights .insight-date{font-size:13px}.timeline-cards{grid-template-columns:1fr}.overview-programs>div{grid-template-columns:72px 1fr 34px}.timeline-card{padding:12px 13px}.expiry-grid{grid-template-columns:1fr}.timeline-card strong{font-size:14px}.table-wrap td{grid-template-columns:88px minmax(0,1fr)}}

/* Student program enrollment manager */

.student-programs-card .access-title{margin-bottom:12px}
.student-programs-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:9px}
.student-programs-heading strong{font-size:12px;color:#1f2937}
.student-program-select-all{display:inline-flex!important;flex-direction:row!important;align-items:center;gap:6px!important;cursor:pointer;font-size:11px!important}
.student-program-select-all input,.student-enrollment-check input{width:17px!important;height:17px;min-width:17px;padding:0!important;accent-color:#e51a21;cursor:pointer;direction:unset!important}
.student-enrollments-list{display:grid;gap:8px}
.student-enrollment-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 12px;border:1px solid #e4e7ef;border-radius:13px;background:#fff;min-width:0}
.student-enrollment-check{display:flex!important;flex-direction:row!important;align-items:center;gap:10px!important;min-width:0;flex:1;cursor:pointer}
.student-enrollment-info{display:block;min-width:0;overflow-wrap:anywhere}
.student-enrollment-info b,.student-enrollment-info small{display:block}
.student-enrollment-info b{font-size:12px;color:#1f2937}
.student-enrollment-info small{font-size:10px;color:#8c95a5;margin-top:3px;line-height:1.5}
.student-program-remove{border:1px solid #f0c5c7;background:#fff7f7;color:#b4232b;border-radius:10px;padding:8px 10px;font:inherit;font-weight:800;font-size:11px;display:inline-flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;flex-shrink:0}
.student-program-remove:hover:not(:disabled){background:#ffe9e9}
.student-program-remove:disabled{opacity:.42;cursor:not-allowed}
.student-program-bulk{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:10px;padding:10px 11px;border:1px solid #f2d4d4;background:#fffafa;border-radius:12px}
.student-program-bulk span{font-size:11px;color:#784144}
.student-program-hint{display:block;margin-top:10px;font-size:10px;line-height:1.8;color:#7b6c3d}
.student-program-add-label{margin-top:18px;font-size:12px;font-weight:800;color:#343b49}
.student-programs-card .access-actions select{min-width:0;flex:1 1 130px}
.student-programs-card .access-actions .primary-button{display:inline-flex;justify-content:center;align-items:center;gap:6px;flex:1 1 130px;white-space:nowrap}
@media(max-width:480px){.student-enrollment-row{padding:9px;gap:6px}.student-program-remove{padding:8px;font-size:10px}.student-enrollment-info b{font-size:11px}.student-program-bulk{align-items:stretch}.student-program-bulk button{width:100%}}

.api-load-error{max-width:1500px;margin:18px auto;padding:15px 20px;border:1px solid #f4b8b8;background:#fff6f6;color:#981b1b;border-radius:12px;line-height:1.9;font-weight:600;direction:rtl;}

/* student-overview-v3641.css */

/* v36.4.1: Approved student diploma overview and enrollment wording. */
.student-page .overview-head{align-items:center;gap:16px}
.student-page .overview-head .eyebrow{font-size:12px;font-weight:800;line-height:1.6}
.student-page .overview-head strong{margin-top:5px;font-size:16px;line-height:1.6}
.student-page .overview-head>b{font-size:32px;line-height:1.2;flex-shrink:0}
.student-page .overview-stats{gap:9px;margin-top:16px}
.student-page .overview-stats article{padding:14px 8px;min-width:0}
.student-page .overview-stats span{font-size:11px;line-height:1.5}
.student-page .overview-stats strong{font-size:21px}
.student-page .overview-programs{gap:14px;margin-top:18px;padding-top:18px;align-content:space-evenly}
.student-page .overview-programs>div{grid-template-columns:minmax(90px,110px) minmax(0,1fr) 44px;gap:12px;min-height:44px;align-items:center;font-size:14px;line-height:1.55}
.student-page .overview-programs>div>span{font-size:14px;font-weight:800}
.student-page .overview-programs>div>b{font-size:13px;font-variant-numeric:tabular-nums}
.student-page .overview-programs>div>div{height:9px}
.student-programs-card .student-enrollment-info b{font-size:14px}
.student-programs-card .student-enrollment-info small{font-size:11px;line-height:1.6}
.student-programs-card .student-program-remove{font-size:12px}
.student-programs-card .access-title small{line-height:1.8}
@media(min-width:901px){
 .student-page .student-grid{align-items:stretch}
 .student-page .student-side-stack{display:flex;flex-direction:column;align-content:stretch;min-width:0;min-height:100%;gap:18px}
 .student-page .student-side-card{align-self:stretch;flex-shrink:0}
 .student-page .student-overview-card{display:flex;flex-direction:column;flex:1 1 auto;min-height:340px}
 .student-page .overview-programs{flex:1 1 auto}
}
@media(max-width:900px){
 .student-page .student-grid{align-items:start}
 .student-page .student-side-stack{display:grid;align-content:start}
}
@media(max-width:560px){
 .student-page .overview-head>b{font-size:27px}
 .student-page .overview-programs>div{grid-template-columns:minmax(74px,86px) minmax(0,1fr) 39px;min-height:40px;gap:8px;font-size:12px}
 .student-page .overview-programs>div>span{font-size:12px}
 .student-page .overview-programs>div>b{font-size:12px}
 .student-page .overview-stats strong{font-size:19px}
}

/* mobile-layout-fix-v3641.css */

/* EL-Haddad Academy v36.4.1 — targeted mobile layout repair.
   This block does not change desktop styling or any theme colors. */
.eh-mobile-menu-toggle{display:none}
@media (max-width:900px){
  .topbar.eh-mobile-nav{
    display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;
    gap:10px;padding:9px 4vw;min-height:65px;height:auto;
    flex-direction:initial;position:sticky;top:0;z-index:40;
  }
  .topbar.eh-mobile-nav .brand{min-width:0;justify-content:flex-start;gap:10px;overflow:hidden}
  .topbar.eh-mobile-nav .brand-logo{width:78px;height:48px;flex-shrink:0}
  .topbar.eh-mobile-nav .brand>div{min-width:0}
  .topbar.eh-mobile-nav .brand strong{font-size:clamp(12px,3.5vw,15px);line-height:1.35;overflow-wrap:anywhere}
  .eh-mobile-menu-toggle{
    display:inline-flex;align-items:center;justify-content:center;gap:5px;
    min-width:46px;min-height:44px;padding:8px 10px;border-radius:11px;
    border:1px solid #dedfe7;background:#fff;color:#162033;
    font:inherit;font-size:12px;font-weight:700;cursor:pointer;
  }
  .eh-mobile-menu-toggle:focus-visible{outline:3px solid #ec595d;outline-offset:2px}
  .topbar.eh-mobile-nav .top-actions{
    display:none;position:absolute;top:100%;right:0;left:0;width:100%;
    grid-template-columns:minmax(0,1fr);gap:8px;margin:0;
    padding:12px 4vw 16px;background:#fff;border:1px solid #e9eaf0;
    border-radius:0 0 18px 18px;box-shadow:0 18px 28px rgba(0,0,0,.12);
    max-height:calc(100vh - 68px);max-height:calc(100dvh - 68px);
    overflow-y:auto;overscroll-behavior:contain;
  }
  .topbar.eh-mobile-nav.eh-menu-open .top-actions{display:grid}
  .topbar.eh-mobile-nav .top-actions .ghost-button{
    width:100%;min-height:44px;justify-content:flex-start;text-align:right;
  }
  .topbar.eh-mobile-nav .auth-user{width:100%;max-width:none;text-align:center;grid-column:auto;padding:3px 0}
  .topbar.eh-mobile-nav .date-pill{display:none}
  .student-page .student-grid,.student-page .student-main-card{min-width:0}
  .student-page .big-progress{display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;gap:9px;text-align:center;padding:4px 0 12px}
  .student-page .ring{width:138px;height:138px;margin:0 auto 3px}
  .student-page .ring:before{width:106px;height:106px}
  .student-page .ring strong{font-size:25px}
  .student-page .progress-copy{width:100%;min-width:0;text-align:center}
  .student-page .big-progress h2{font-size:clamp(20px,5.2vw,27px);line-height:1.4;overflow-wrap:anywhere}
  .student-page .big-progress p{font-size:12px;line-height:1.7}
  .student-page .student-main-card{padding:16px}
}
@media(max-width:360px){
  .topbar.eh-mobile-nav .brand-logo{width:65px}
  .topbar.eh-mobile-nav .brand{gap:6px}
  .topbar.eh-mobile-nav .brand strong{font-size:11px}
  .eh-mobile-menu-toggle span{display:none}
}


/* ============================================================
   v36.4.1 Student progress mobile visual polish (CSS-only).
   Scope: mobile layout. No admin theme, React logic or API changes.
   ============================================================ */
@media (max-width: 900px) {
  /* Keep the white center exactly centered on the progress ring. */
  .student-page .ring {
    position: relative;
    isolation: isolate;
    box-shadow: none;
  }
  .student-page .ring::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
  }
  .student-page .ring > div {
    position: relative;
    z-index: 1;
  }
  .student-page .steps-stack .next-card {
    margin-top: 0;
  }
}

@media (max-width: 560px) {
  .student-page .student-grid {
    gap: 14px;
  }
  .student-page .student-main-card {
    padding: 16px;
    border-radius: 20px;
    min-width: 0;
  }
  .student-page .big-progress {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    align-items: center;
    justify-items: stretch;
    gap: 14px;
    padding: 2px 0 15px;
    text-align: right;
  }
  .student-page .big-progress .ring {
    width: 104px;
    height: 104px;
    margin: 0;
    justify-self: center;
  }
  .student-page .big-progress .ring::before {
    width: 80px;
    height: 80px;
  }
  .student-page .big-progress .ring strong {
    font-size: 23px;
    line-height: 1.15;
  }
  .student-page .big-progress .ring span {
    font-size: 10px;
    margin-top: 3px;
  }
  .student-page .big-progress .progress-copy {
    text-align: right;
    min-width: 0;
    width: 100%;
    align-self: center;
  }
  .student-page .big-progress .progress-copy .eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 800;
  }
  .student-page .big-progress .progress-copy h2 {
    margin: 5px 0;
    font-size: clamp(17px, 4.5vw, 21px);
    line-height: 1.45;
    overflow-wrap: anywhere;
  }
  .student-page .big-progress .progress-copy p {
    font-size: 11px;
    line-height: 1.65;
    margin: 4px 0 0;
  }
  .student-page .big-progress .progress-bar-large {
    height: 7px;
    margin-top: 10px;
  }
  .student-page .steps-stack {
    gap: 10px;
    margin-top: 6px;
  }
  .student-page .steps-stack .current-card,
  .student-page .steps-stack .next-card {
    border-radius: 14px;
    padding: 13px 15px;
    min-height: 0;
  }
  .student-page .steps-stack .current-card strong,
  .student-page .steps-stack .next-card strong {
    font-size: 17px;
    line-height: 1.45;
    margin: 3px 0;
  }
  .student-page .steps-stack .current-card span,
  .student-page .steps-stack .next-card span {
    font-size: 11px;
    line-height: 1.4;
  }
  .student-page .steps-stack .current-card small,
  .student-page .steps-stack .next-card small {
    font-size: 11px;
    line-height: 1.6;
  }
  .student-page .journey-card {
    margin-top: 13px;
    padding: 13px 14px;
    border-radius: 15px;
  }
  .student-page .progress-insights {
    gap: 8px;
    margin-top: 13px;
  }
  .student-page .progress-insights article {
    padding: 11px;
    border-radius: 13px;
    min-height: 82px;
  }

  /* Finished programs should show one completion notice, not two
     identical 'program completed' steps with outdated instructions. */
  .student-page .student-main-card:has(.big-progress .ring[style*="100%"])
    .steps-stack .next-card,
  .student-page .student-main-card:has(.big-progress .ring[style*="100%"])
    .steps-stack .current-card > span,
  .student-page .student-main-card:has(.big-progress .ring[style*="100%"])
    .steps-stack .current-card > small {
    display: none;
  }
  .student-page .student-main-card:has(.big-progress .ring[style*="100%"])
    .steps-stack .current-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 55px;
    text-align: center;
  }
  .student-page .student-main-card:has(.big-progress .ring[style*="100%"])
    .steps-stack .current-card::before {
    content: "\2713";
    display: inline-grid;
    place-items: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #f01e1f;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    flex: none;
  }
}

@media (max-width: 350px) {
  .student-page .big-progress {
    grid-template-columns: 91px minmax(0, 1fr);
    gap: 10px;
  }
  .student-page .big-progress .ring {
    width: 91px;
    height: 91px;
  }
  .student-page .big-progress .ring::before {
    width: 69px;
    height: 69px;
  }
  .student-page .big-progress .ring strong {
    font-size: 20px;
  }
  .student-page .big-progress .ring span {
    font-size: 9px;
  }
}

/* student-progress-mobile-polish-v3642.css */
/* EL-Haddad Academy v36.4.2 — Student progress ONLY, phone widths.
   This is an additive stylesheet. The original mobile menu, site theme,
   desktop styles, React code, settings, and database remain untouched. */
@media (max-width: 900px) {
  .student-page .ring {
    position: relative;
    isolation: isolate;
    box-shadow: none;
  }
  .student-page .ring::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
  }
  .student-page .ring > div {
    position: relative;
    z-index: 1;
  }
}
@media (max-width: 560px) {
  .student-page { padding: 18px 4vw 45px; }
  .student-page .student-heading-card {
    padding: 16px 18px;
    margin-bottom: 15px;
    border-radius: 19px;
  }
  .student-page .student-heading h1 {
    font-size: clamp(23px, 6vw, 28px);
    line-height: 1.48;
    margin: 8px 0 12px;
    overflow-wrap: anywhere;
  }
  .student-page .student-grid { gap: 14px; }
  .student-page .student-main-card {
    padding: 16px;
    border-radius: 19px;
    min-width: 0;
  }
  .student-page .big-progress {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    justify-items: stretch;
    text-align: right;
    padding: 3px 0 15px;
  }
  .student-page .big-progress .ring {
    width: 104px;
    height: 104px;
    margin: 0;
    justify-self: center;
  }
  .student-page .big-progress .ring::before {
    width: 80px;
    height: 80px;
  }
  .student-page .big-progress .ring strong {
    font-size: 22px;
    line-height: 1.15;
  }
  .student-page .big-progress .ring span {
    font-size: 10px;
    margin-top: 3px;
  }
  .student-page .big-progress .progress-copy {
    min-width: 0;
    width: 100%;
    text-align: right;
    align-self: center;
  }
  .student-page .big-progress .progress-copy .eyebrow {
    font-size: 11px;
    font-weight: 800;
  }
  .student-page .big-progress .progress-copy h2 {
    font-size: clamp(17px, 4.7vw, 21px);
    line-height: 1.45;
    margin: 5px 0;
    overflow-wrap: anywhere;
  }
  .student-page .big-progress .progress-copy p {
    font-size: 11px;
    line-height: 1.6;
    margin: 4px 0;
  }
  .student-page .big-progress .progress-bar-large {
    height: 7px;
    margin-top: 10px;
  }
  .student-page .steps-stack { gap: 10px; margin-top: 5px; }
  .student-page .steps-stack .current-card,
  .student-page .steps-stack .next-card {
    border-radius: 14px;
    padding: 13px 15px;
    min-height: 0;
    margin-top: 0;
  }
  .student-page .steps-stack .current-card strong,
  .student-page .steps-stack .next-card strong {
    font-size: 17px;
    line-height: 1.45;
    margin: 3px 0;
  }
  .student-page .steps-stack .current-card span,
  .student-page .steps-stack .next-card span,
  .student-page .steps-stack .current-card small,
  .student-page .steps-stack .next-card small {
    font-size: 11px;
    line-height: 1.5;
  }
  .student-page .journey-card { margin-top: 13px; padding: 13px; border-radius: 14px; }
  .student-page .progress-insights { gap: 8px; margin-top: 13px; }
  .student-page .progress-insights article { padding: 11px; border-radius: 12px; min-height: 82px; }

  /* When the program is 100%, only show one completion status.
     This is purely visual; it does not change completion records. */
  .student-page .student-main-card:has(.ring[style*="100%"]) .steps-stack .next-card,
  .student-page .student-main-card:has(.ring[style*="100%"]) .steps-stack .current-card > span,
  .student-page .student-main-card:has(.ring[style*="100%"] ) .steps-stack .current-card > small { display: none; }
  .student-page .student-main-card:has(.ring[style*="100%"] ) .steps-stack .current-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    text-align: center;
  }
}
@media (max-width: 350px) {
  .student-page .big-progress { grid-template-columns: 88px minmax(0, 1fr); gap: 10px; }
  .student-page .big-progress .ring { width: 88px; height: 88px; }
  .student-page .big-progress .ring::before { width: 68px; height: 68px; }
  .student-page .big-progress .ring strong { font-size: 19px; }
  .student-page .big-progress .ring span { font-size: 9px; }
}

/* admin-student-phone-v3643.css */
/* EL-Haddad Academy v36.4.3 — admin-only contact line under student names. */
.table-wrap td[data-label="الطالب"] .admin-student-phone {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-top: 5px;
  direction: rtl;
  font-size: 12px;
  line-height: 1.75;
}
.table-wrap .admin-student-phone-actions {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  vertical-align: middle;
}
.table-wrap .admin-student-phone-actions a {
  color: #d91416;
  font-size: 12px;
  font-weight: 800;
  direction: ltr;
  unicode-bidi: isolate;
  text-decoration: none;
  border-bottom: 1px dashed rgba(217,20,22,.48);
}
.table-wrap .admin-student-phone-actions a:hover { color: #ad0d10; border-bottom-style: solid; }
.table-wrap .admin-student-phone-actions a:focus-visible,
.table-wrap .admin-student-phone-copy:focus-visible { outline: 2px solid #f01e1f; outline-offset: 3px; }
.table-wrap .admin-student-phone-copy {
  cursor: pointer;
  border: 1px solid #ffd7d7;
  background: #fff;
  color: #c31d24;
  font: inherit;
  font-size: 10px;
  line-height: 1.35;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 9px;
}
.table-wrap .admin-student-phone-copy:hover { background: #fff1f1; }
.table-wrap .admin-student-phone-missing { color: #8c93a2; font-size: 11px; }
@media (max-width: 600px) {
  .table-wrap td[data-label="الطالب"] .admin-student-phone { margin-top: 5px; font-size: 12px; }
  .table-wrap .admin-student-phone-copy { min-height: 28px; }
}

/* admin-student-contacts-v3644.css */
/* EL-Haddad Academy — v36.4.4 — admin-only saved contact details. */
.table-wrap td[data-label="الطالب"] .admin-student-contacts {
  direction: rtl;
  display: grid;
  gap: 4px;
  max-width: 100%;
  margin: 7px 0 6px;
  font-size: 11.5px;
  line-height: 1.65;
}
.table-wrap .admin-contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px;
  min-width: 0;
  max-width: 100%;
}
.table-wrap .admin-contact-label { color: #677181; font-weight: 700; flex: none; }
.table-wrap .admin-contact-actions { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 6px; min-width: 0; max-width: 100%; }
.table-wrap .admin-contact-actions a, .table-wrap .admin-contact-raw {
  direction: ltr;
  unicode-bidi: isolate;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: #cc1820;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px dashed rgba(204,24,32,.35);
}
.table-wrap .admin-contact-actions a:hover { border-bottom-style: solid; }
.table-wrap .admin-contact-copy {
  font-size: 10px;
  cursor: pointer;
  color: #b71d23;
  border: 1px solid #f2c5ca;
  border-radius: 7px;
  background: #fff;
  padding: 1px 6px;
  line-height: 1.6;
}
.table-wrap .admin-contact-copy:hover { background: #fff1f2; }
.table-wrap .admin-contact-copy:focus-visible, .table-wrap .admin-contact-actions a:focus-visible { outline: 2px solid #e91f26; outline-offset: 2px; }
.table-wrap .admin-contact-missing { color: #97a0ae; font-size: 11px; }
@media (max-width: 600px) {
  .table-wrap td[data-label="الطالب"] .admin-student-contacts { font-size: 11.5px; }
  .table-wrap .admin-contact-row { gap: 4px; }
  .table-wrap .admin-contact-copy { min-height: 26px; }
}

/* admin-manual-status-colors-v3645.css */
/* EL-Haddad Academy v36.4.5 — Admin manual-status colors only.
   On the original dashboard CSS, automatic "attention" highlights appear after
   manual statuses and override their background. Explicit status must win.
   Does not alter values, API calls, alerts, or student pages. */

/* Rows reflect the exact manual status selected in the admin table.
   Keep archived rows neutral regardless of manual status. */
.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: #eaf7ef !important;
}
.dashboard-panel .table-wrap tbody tr.row-incomplete:not(.row-archived),
.dashboard-panel .table-wrap tbody tr.row-incomplete:not(.row-archived) > td {
  background-color: #fff0f2 !important;
}
.dashboard-panel .table-wrap tbody tr.row-follow:not(.row-archived),
.dashboard-panel .table-wrap tbody tr.row-follow:not(.row-archived) > td {
  background-color: #fff6dc !important;
}

/* The selected dropdown itself also carries the matching color. */
.dashboard-panel .table-wrap tr.row-complete:not(.row-archived) select.status-select {
  background-color: #ddf3e5 !important;
  color: #17603f !important;
  border-color: #a2d9bb !important;
  font-weight: 700;
}
.dashboard-panel .table-wrap tr.row-incomplete:not(.row-archived) select.status-select {
  background-color: #ffe3e7 !important;
  color: #a5192b !important;
  border-color: #f4abb5 !important;
  font-weight: 700;
}
.dashboard-panel .table-wrap tr.row-follow:not(.row-archived) select.status-select {
  background-color: #ffedbf !important;
  color: #84540d !important;
  border-color: #e9cc77 !important;
  font-weight: 700;
}

/* Preserve focus visibility and accessible native dropdown behaviour. */
.dashboard-panel .table-wrap select.status-select:focus-visible {
  outline: 2px solid #f01e1f;
  outline-offset: 2px;
}

/* admin-row-preview-status-neutral-v3646.css */
/* EL-Haddad Academy v36.4.6 — Admin status neutral and per-student preview. */
/* Selecting the dash (—) is an explicit "no manual status": keep the row WHITE
   even when an automatic late/follow-up alert exists. Do not hide alert badges. */
.dashboard-panel .table-wrap tbody tr:not(.row-complete):not(.row-incomplete):not(.row-follow):not(.row-archived),
.dashboard-panel .table-wrap tbody tr:not(.row-complete):not(.row-incomplete):not(.row-follow):not(.row-archived) > td {
  background-color: #ffffff !important;
}
.dashboard-panel .table-wrap tbody tr:not(.row-complete):not(.row-incomplete):not(.row-follow):not(.row-archived) select.status-select {
  background-color: #ffffff !important;
  color: #273047 !important;
  border-color: #dfe2ea !important;
  font-weight: 400;
}
/* The existing three status colors in v36.4.5 remain unchanged.
   Archived students retain their separate neutral archive appearance. */
.dashboard-panel .table-wrap .eh-student-row-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  justify-content: flex-start;
}
.dashboard-panel .table-wrap .eh-student-preview-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font: inherit;
  font-size: 11.5px;
  font-weight: 700;
  padding: 8px 10px;
  color: #cf1d24;
  background: #ffffff;
  border: 1px solid #f3c8cb;
  border-radius: 9px;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.3;
}
.dashboard-panel .table-wrap .eh-student-preview-button:hover { background: #fff2f2; border-color: #df7e85; }
.dashboard-panel .table-wrap .eh-student-preview-button:focus-visible { outline: 2px solid #f01e1f; outline-offset: 2px; }
/* Visible return link in read-only admin preview, even on small phones. */
.eh-preview-return-wrap { width: min(1120px, 92%); margin: 15px auto 7px; display: flex; justify-content: flex-start; }
.eh-preview-return-button { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; color: #c91d24; cursor: pointer; padding: 10px 14px; font: inherit; font-size: 13px; font-weight: 700; }
.eh-preview-return-button:hover { background: #fff4f4; border-color: #edb1b5; }
.eh-preview-return-button:focus-visible { outline: 2px solid #f01e1f; outline-offset: 2px; }
@media (max-width: 760px) {
  .dashboard-panel .table-wrap .eh-student-row-actions { justify-content: flex-start; }
  .dashboard-panel .table-wrap .eh-student-preview-button { min-height: 36px; }
  .dashboard-panel .table-wrap .eh-student-row-actions .tiny-button { width: auto; min-height: 36px; }
}

/* elhaddad-student-admin-v3656.css */
/* EL-Haddad Academy | v36.5.6 | Live student and admin UX
   New scoped layout. Does not alter React/API data or admin business logic. */

.student-page.eh56-original{display:none!important}
.eh56-portal{--eh56-red:#f01e24;--eh56-red2:#d5171d;--eh56-ink:#142138;--eh56-muted:#617087;--eh56-line:#e5e9f0;--eh56-green:#177d54;--eh56-shadow:0 10px 32px rgba(19,33,56,.045);direction:rtl;font-family:Tajawal,Tahoma,Arial,sans-serif!important;font-size:16px;line-height:1.5;color:var(--eh56-ink);width:min(1320px,100%);margin:0 auto 48px;padding:0 12px;box-sizing:border-box}
.eh56-portal *{box-sizing:border-box}.eh56-portal button{font:inherit;cursor:pointer}.eh56-portal h1,.eh56-portal h2,.eh56-portal p{margin:0}.eh56-portal h1,.eh56-portal h2{font-weight:800;line-height:1.35}.eh56-portal [lang=en],.eh56-portal .eh56-program-percent,.eh56-portal .eh56-ring strong,.eh56-portal .eh56-metrics b{font-family:'Segoe UI',Arial,sans-serif;font-weight:750;letter-spacing:0}
.eh56-portal button:focus-visible{outline:3px solid #f9a6ac;outline-offset:2px}.eh56-card{background:#fff;border:1px solid var(--eh56-line);border-radius:17px;box-shadow:var(--eh56-shadow);min-width:0}
.eh56-welcome{margin:12px 0 14px;min-height:132px;border:1px solid #f5dcdf;border-radius:21px;background:linear-gradient(105deg,#fff 12%,#fff0f1);padding:23px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px;overflow:hidden;position:relative}
.eh56-welcome:before{content:"";position:absolute;left:-75px;top:-105px;width:195px;height:195px;border:17px solid #ffe3e6;border-radius:50%;opacity:.7;pointer-events:none}.eh56-welcome> *{position:relative;z-index:1}.eh56-eyebrow{display:block;color:var(--eh56-red2);font-size:13px;font-weight:800;line-height:1.5}.eh56-welcome h1{font-size:clamp(23px,2.5vw,32px);margin:3px 0 12px;overflow-wrap:anywhere}.eh56-hero-meta{display:flex;flex-wrap:wrap;gap:8px}.eh56-hero-meta span{background:#fff;border:1px solid #e9eaf0;border-radius:50px;color:#56657e;padding:6px 11px;font-size:13px;font-weight:650}.eh56-hero-meta span:first-child{background:#fff1f3;border-color:#ffd3d9;color:#b32630}
.eh56-primary{border:0;color:#fff;background:var(--eh56-red);border-radius:11px;font-size:15px!important;font-weight:800!important;padding:13px 20px;min-height:45px;box-shadow:0 8px 16px #f01e2422;white-space:nowrap}.eh56-primary:hover{background:var(--eh56-red2)}
.eh56-tabs{display:flex;align-items:center;gap:7px;background:#fff;border:1px solid var(--eh56-line);padding:7px;border-radius:15px;box-shadow:var(--eh56-shadow);margin-bottom:14px;overflow-x:auto;scrollbar-width:thin}.eh56-tab{padding:11px 17px;border:1px solid transparent;border-radius:10px;background:#fff;color:#4c5b71;font-size:15px!important;font-weight:800!important;min-height:44px;white-space:nowrap}.eh56-tab.active{background:var(--eh56-red);color:#fff}.eh56-count{font:700 12px 'Segoe UI',Arial,sans-serif;background:#e8ebef;color:#526074;margin-right:6px;padding:3px 7px;border-radius:9px}.eh56-tab.active .eh56-count{background:#ffffff29;color:#fff}
.eh56-overview{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr) minmax(0,.96fr);gap:13px;align-items:stretch}.eh56-overview>.eh56-card{padding:20px 18px;display:flex;flex-direction:column;gap:0}.eh56-section-head{display:flex;align-items:center;justify-content:space-between;gap:13px;margin-bottom:12px}.eh56-section-head h2{font-size:21px;line-height:1.35;margin:3px 0}.eh56-section-head p{color:var(--eh56-muted);font-size:14px}.eh56-ring{width:96px;height:96px;border-radius:50%;flex:0 0 96px;background:conic-gradient(var(--eh56-red) calc(var(--value)*1%),#edeff3 0);display:grid;place-items:center}.eh56-ring>div{width:76px;height:76px;background:#fff;border-radius:50%;display:grid;place-content:center;text-align:center}.eh56-ring strong{font-size:22px;line-height:1.1}.eh56-ring small{color:var(--eh56-muted);font-size:12px}.eh56-subtext{font-size:14px;color:var(--eh56-muted);margin-bottom:8px!important}.eh56-bar{height:8px;background:#e8ebf0;border-radius:99px;overflow:hidden;flex:none}.eh56-bar>span{display:block;height:100%;border-radius:99px;background:var(--eh56-red)}.eh56-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:13px 0}.eh56-metrics>div{background:#f8f9fb;border:1px solid #eceef3;border-radius:11px;padding:9px 5px;text-align:center;display:grid;justify-items:center;gap:3px}.eh56-metrics b{font-size:20px}.eh56-metrics span{font-size:13px;color:var(--eh56-muted);font-weight:650}
.eh56-next-step{background:#fff2f3;border:1px solid #ffd9dc;border-radius:12px;padding:12px 14px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 12px;align-items:center;margin-top:auto}.eh56-next-step>span{font-size:13px;color:#a42d37}.eh56-next-step strong{font-size:16px;grid-column:1/2;overflow-wrap:anywhere}.eh56-next-step small{font-size:12px;color:var(--eh56-muted);grid-column:1/2}.eh56-next-step button{grid-row:1/4;grid-column:2}.eh56-outline{border:1px solid #f6bfc4;color:var(--eh56-red2);background:#fff;padding:9px 12px;font-size:13px!important;font-weight:800!important;border-radius:9px;white-space:nowrap;min-height:36px}.eh56-outline:hover{background:#fff3f4}.eh56-icon{border-radius:11px;background:#fff2f3;color:var(--eh56-red);font-size:22px;font-weight:800;display:grid;place-items:center;width:38px;height:38px;flex:none}
.eh56-next-date{padding:12px 14px;background:#f8f9fb;border:1px solid #ecedf2;border-radius:11px;margin:3px 0 12px;display:grid;gap:2px}.eh56-next-date span{font-size:13px;color:var(--eh56-muted)}.eh56-next-date strong{font-size:19px}.eh56-next-date small{font-size:12px;color:var(--eh56-muted)}.eh56-weekdays{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:11px}.eh56-weekday{display:grid;justify-items:center;gap:6px;border-radius:10px;border:1px solid var(--eh56-line);padding:10px 4px;text-align:center}.eh56-weekday b{font-size:14px}.eh56-weekday span{font-size:12px;color:#68758b}.eh56-weekday.done{background:#eff9f3;border-color:#cfecdc}.eh56-weekday.done span{color:#1b835a}.eh56-weekday.missed{background:#fff0f1;border-color:#fbd6d9}.eh56-weekday.missed span{color:#b72d36}.eh56-weekday.today,.eh56-weekday.future{background:#fff9ef;border-color:#f0e4c9}.eh56-attendance{margin-top:auto;padding:11px 0 0;border-top:1px solid var(--eh56-line);display:flex;justify-content:space-between;align-items:center;gap:9px}.eh56-attendance span{font-size:13px;color:var(--eh56-muted)}.eh56-attendance strong{font-size:17px}.eh56-link{color:var(--eh56-red2);border:0;background:transparent;font-size:13px!important;font-weight:800!important;text-align:right;padding:10px 0 0;align-self:flex-start}
.eh56-mini-program{margin:5px 0 13px}.eh56-mini-program>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:5px}.eh56-mini-program b{font-size:14px}.eh56-mini-program strong{font-family:'Segoe UI',Arial,sans-serif;font-size:13px}.eh56-mini-program .eh56-bar{height:7px}.eh56-bottom-row{margin-top:auto;border-top:1px solid var(--eh56-line);padding:12px 0 0;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#5d6b80;font-size:13px}.eh56-bottom-row strong{font-size:17px;color:var(--eh56-ink)}
.eh56-featured{padding:21px;margin-top:14px}.eh56-lessons-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.eh56-lesson{display:flex;align-items:center;gap:10px;min-height:66px;border-radius:11px;padding:10px 11px;background:#fff;border:1px solid var(--eh56-line);text-align:right;min-width:0;width:100%;color:var(--eh56-ink)}.eh56-lesson.done{background:#f0fbf5;border-color:#d1eddf}.eh56-lesson.pending{background:#fff9ef;border-color:#f2e3c6}.eh56-lesson-index{border-radius:8px;background:#f0f2f5;color:#506076;display:grid;place-items:center;width:30px;height:30px;flex:none;font:800 13px 'Segoe UI',Arial}.eh56-lesson.done .eh56-lesson-index{background:#d7f2e3;color:#177d54}.eh56-lesson-copy{min-width:0;flex:1;display:grid;gap:1px}.eh56-lesson-copy b{font-size:15px;font-weight:800;line-height:1.4;overflow-wrap:anywhere}.eh56-lesson-copy small{font-size:12.5px;color:var(--eh56-muted)}.eh56-lesson-state{font-size:18px;color:#147f56}.eh56-lesson.pending .eh56-lesson-state{color:#b17a20}.eh56-lesson:hover{border-color:#f7b2b7}.eh56-full{padding:23px;margin-bottom:15px}.eh56-wrap{flex-wrap:wrap}.eh56-filter{display:flex;gap:6px;flex-wrap:wrap}.eh56-filter button{border:1px solid var(--eh56-line);border-radius:9px;background:#fff;color:#45536a;padding:9px 14px;font-size:14px;font-weight:800}.eh56-filter button.active{border-color:#ffc2c7;background:#fff0f1;color:#c41d26}.eh56-schedule-view{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.85fr);gap:14px}.eh56-schedule-view .eh56-next-date{padding:19px}.eh56-schedule-view .eh56-next-date strong{font-size:23px}.eh56-schedule-view .eh56-weekday{padding:18px}.eh56-policy{font-size:14px;line-height:1.7;color:var(--eh56-muted);margin:15px 0!important}.eh56-datebox{display:grid;gap:5px;padding:13px;background:#f8f9fb;border:1px solid #eceef2;border-radius:11px;margin-top:9px}.eh56-datebox span{font-size:13px;color:var(--eh56-muted)}.eh56-datebox b{font-size:16px}.eh56-datebox small{font-size:12px;color:#bd2b34}.eh56-programs-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.eh56-program-card{border:1px solid var(--eh56-line);border-radius:13px;background:#fff;display:grid;align-content:start;gap:12px;text-align:right;padding:20px;min-width:0;color:var(--eh56-ink)}.eh56-program-card.selected{background:#fff9f9;border-color:#fbc5c8}.eh56-program-title{display:flex;align-items:center;gap:12px;min-width:0}.eh56-program-title b{font-size:17px;overflow-wrap:anywhere}.eh56-program-icon{width:40px;height:40px;display:grid;place-items:center;flex:none;border-radius:10px;background:#1d2a3b;color:#fff;font:bold 12px 'Segoe UI',Arial}.eh56-program-percent{font-size:28px}.eh56-program-card small{font-size:13px;color:var(--eh56-muted)}.eh56-timelines{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0}.eh56-timelines .eh56-datebox{margin:0}.eh56-empty,.eh56-muted{background:#f7f8fa;border:1px solid #ebeef2;padding:18px;border-radius:11px;color:#586981;font-size:15px}
/* Admin: improve density, legibility and grouping without changing controls or colors/status data */
.shell:has(.dashboard-panel) .hero-admin{padding:19px 25px;min-height:0;gap:15px;border-radius:17px}.shell:has(.dashboard-panel) .hero-admin .hero-copy h1{font-size:26px}.shell:has(.dashboard-panel) .hero-admin .hero-feature-grid{gap:8px;margin-top:8px}.shell:has(.dashboard-panel) .hero-admin .hero-mini{padding:12px 16px}.shell:has(.dashboard-panel) .dashboard-panel{border-radius:18px;padding:18px 19px}.shell:has(.dashboard-panel) .metrics{gap:11px}.shell:has(.dashboard-panel) .metric{border-radius:13px;min-height:84px}.shell:has(.dashboard-panel) .toolbar{gap:9px;margin:15px 0}.shell:has(.dashboard-panel) .table-wrap{border-radius:13px;overflow:auto}.shell:has(.dashboard-panel) .table-wrap th{font-size:13px;font-weight:800}.shell:has(.dashboard-panel) .table-wrap td{font-size:13.5px;line-height:1.65}.shell:has(.dashboard-panel) .student-link{font-size:14px;font-weight:800}.shell:has(.dashboard-panel) .status-select{font-size:13px;min-width:95px}.shell:has(.dashboard-panel) .admin-student-contacts{line-height:1.5}
@media(max-width:1150px){.eh56-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.eh56-programs-summary{grid-column:1/-1}.eh56-programs-summary .eh56-mini-program{display:inline-block;width:calc(33.333% - 15px);margin-left:12px;vertical-align:top}.eh56-schedule-view{grid-template-columns:1fr}.eh56-programs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:790px){.eh56-overview{grid-template-columns:1fr}.eh56-programs-summary{grid-column:auto}.eh56-programs-summary .eh56-mini-program{display:block;width:auto;margin-left:0}.eh56-lessons-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.eh56-timelines{grid-template-columns:1fr}.eh56-programs-grid{grid-template-columns:1fr}.eh56-welcome{padding:18px}.eh56-tabs{gap:5px}.eh56-tab{padding:10px 13px;font-size:14px!important}}
@media(max-width:560px){.eh56-portal{padding:0 10px 38px;font-size:15px}.eh56-welcome{display:grid;gap:13px;min-height:0;border-radius:16px;padding:18px}.eh56-welcome h1{font-size:23px}.eh56-primary{width:100%;padding:11px 15px}.eh56-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;padding:6px}.eh56-tab{min-height:43px;white-space:normal;padding:8px 5px;font-size:13px!important}.eh56-overview>.eh56-card{padding:15px}.eh56-ring{width:80px;height:80px;flex-basis:80px}.eh56-ring>div{width:64px;height:64px}.eh56-ring strong{font-size:20px}.eh56-section-head h2{font-size:19px}.eh56-next-step{grid-template-columns:1fr}.eh56-next-step button{grid-column:1;grid-row:auto;justify-self:start}.eh56-metrics{gap:5px}.eh56-metrics b{font-size:18px}.eh56-metrics span{font-size:12px}.eh56-lessons-grid{grid-template-columns:1fr}.eh56-featured,.eh56-full{padding:16px}.eh56-section-head{flex-wrap:wrap}.eh56-lesson-copy b{font-size:15px}.eh56-weekday b{font-size:13px}.eh56-weekday span{font-size:11.5px}.eh56-schedule-view .eh56-next-date strong{font-size:19px}.eh56-schedule-view .eh56-weekday{padding:11px 4px}}
@media(prefers-reduced-motion:reduce){.eh56-portal *{transition-duration:0s!important;scroll-behavior:auto!important}}

/* elhaddad-sections-icons-v3657.css */
/* EL-Haddad Academy v36.5.7 — student sections, accessible icons, program/status filters.
   Additive stylesheet. No backend or admin functional changes. */
.eh56-portal .eh57-icon{width:18px;height:18px;flex:0 0 18px;display:inline-block;vertical-align:middle;stroke:currentColor;stroke-width:1.9}
.eh56-portal .eh56-tab{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:800!important}
.eh56-portal .eh56-tab .eh57-icon{width:17px;height:17px;flex-basis:17px}
.eh56-portal .eh57-sections{padding:24px!important}
.eh56-portal .eh57-sections-toolbar{display:grid;gap:12px;margin:17px 0 12px}
.eh56-portal .eh57-program-tabs,.eh56-portal .eh57-lesson-filters{display:flex;flex-wrap:wrap;align-items:center;gap:9px}
.eh56-portal .eh57-program-tabs{border-bottom:1px solid #e6e9ef;padding-bottom:14px}
.eh56-portal .eh57-program-tab{min-height:46px;background:#fff;border:1px solid #dfe4eb;color:#34445b;border-radius:12px;padding:9px 14px;display:inline-flex;align-items:center;gap:9px;font-weight:800;font-size:15px;transition:background .18s,border-color .18s}
.eh56-portal .eh57-program-tab small{color:#67758b;font-weight:750;font-family:'Segoe UI',Arial,sans-serif;font-size:12px;background:#f3f5f8;padding:3px 7px;border-radius:8px}
.eh56-portal .eh57-program-tab.active{background:#fff0f1;border-color:#f01e24;color:#c01a21}
.eh56-portal .eh57-program-tab.active small{background:#ffe1e3;color:#a51922}
.eh56-portal .eh57-lesson-filters button{display:flex;align-items:center;gap:7px;min-height:41px;border:1px solid #e0e5ed;border-radius:10px;background:#fff;color:#475870;padding:8px 13px;font-size:14px;font-weight:800}
.eh56-portal .eh57-lesson-filters button.active{background:#ef1b23;color:white;border-color:#ef1b23;box-shadow:0 5px 12px #f01e2421}
.eh56-portal .eh57-lesson-filters .eh57-icon{width:16px;height:16px;flex-basis:16px}
.eh56-portal .eh57-meta-line{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;color:#6a778d;font-size:14px;margin:0 0 16px;font-weight:700}
.eh56-portal .eh57-update{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid #e5e8ee;border-radius:9px;padding:6px 10px;color:#405168;font-size:13px;font-weight:800}
.eh56-portal .eh57-update .eh57-icon{width:15px;height:15px;flex-basis:15px}
.eh56-portal .eh57-hint{display:flex;gap:7px;align-items:center;font-size:13px;color:#865b16;background:#fff9eb;border:1px solid #f1dfb8;padding:10px 12px;border-radius:10px;margin-bottom:14px!important}
.eh56-portal .eh57-no-results{grid-column:1/-1;text-align:center;display:flex;align-items:center;justify-content:center;gap:10px;padding:29px 15px;color:#607087;border:1px dashed #d9e0e9;border-radius:13px;background:#f9fafc}
.eh56-portal .eh57-lesson{min-height:82px;padding:13px!important;gap:12px;transition:background-color .18s,border-color .18s,box-shadow .18s}
.eh56-portal .eh57-lesson:hover{box-shadow:0 8px 20px rgba(19,33,56,.06)}
.eh56-portal .eh57-lesson .eh56-lesson-copy{gap:5px}
.eh56-portal .eh57-lesson .eh56-lesson-copy b{font-size:16px!important;line-height:1.45;font-weight:800}
.eh56-portal .eh57-lesson .eh56-lesson-copy small{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:13px!important;font-weight:700;color:#607087;line-height:1.45}
.eh56-portal .eh57-lesson .eh56-lesson-copy small .eh57-icon{width:14px;height:14px;flex-basis:14px}
.eh56-portal .eh57-lesson .eh57-dot{color:#9fa9b8}
.eh56-portal .eh57-lesson-status{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;color:#586a83;background:#f0f2f6;flex:0 0 29px}
.eh56-portal .eh57-lesson.done .eh57-lesson-status{color:#16815a;background:#dcf4e8}
.eh56-portal .eh57-lesson.pending .eh57-lesson-status{color:#a36d14;background:#fff0ce}
.eh56-portal .eh57-lesson-status .eh57-icon{width:17px;height:17px;flex-basis:17px}
.eh56-portal .eh57-lesson .eh56-lesson-index{font-family:'Segoe UI',Arial,sans-serif;font-size:13px;font-weight:800;flex:0 0 33px;height:33px;display:grid;place-items:center}
.eh56-portal .eh57-program-tab:focus-visible,.eh56-portal .eh57-lesson-filters button:focus-visible,.eh56-portal .eh57-lesson:focus-visible{outline:3px solid #f8a4aa;outline-offset:2px}
@media(max-width:790px){.eh56-portal .eh57-sections{padding:17px!important}.eh56-portal .eh57-program-tabs{flex-wrap:nowrap;overflow-x:auto;padding-bottom:12px;scrollbar-width:thin}.eh56-portal .eh57-program-tab{flex:0 0 auto;min-height:44px;padding:9px 12px}.eh56-portal .eh57-lesson-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.eh56-portal .eh57-lesson-filters button{justify-content:center;min-width:0;padding:8px 3px;font-size:12px}.eh56-portal .eh57-lesson-filters button .eh57-icon{display:none}}
@media(max-width:560px){.eh56-portal .eh57-lesson{min-height:75px;padding:11px!important}.eh56-portal .eh57-lesson .eh56-lesson-copy b{font-size:15px!important}.eh56-portal .eh57-lesson .eh56-lesson-copy small{font-size:12px!important}.eh56-portal .eh57-meta-line{font-size:12.5px}.eh56-portal .eh57-program-tab{font-size:14px}}
@media(prefers-reduced-motion:reduce){.eh56-portal .eh57-program-tab,.eh56-portal .eh57-lesson{transition:none}}

/* elhaddad-icons-v3657-preserved.css */
/* EL-Haddad Academy v36.5.7-preserved — recognizable Adobe program marks & consistent app icons.
  Local, no image downloads, no dependency on network. The red academy theme remains unchanged. */
.eh56-portal .eh57c-app{--brand-bg:#202d40;--brand-ink:#fff;display:inline-flex;align-items:center;justify-content:center;
  width:42px;height:42px;min-width:42px;flex:0 0 42px;border-radius:11px;
  background:var(--brand-bg);color:var(--brand-ink);box-shadow:inset 0 0 0 1px rgba(255,255,255,.07);
  vertical-align:middle;direction:ltr;isolation:isolate;user-select:none;overflow:hidden}
.eh56-portal .eh57c-app--small{width:25px;height:25px;min-width:25px;flex-basis:25px;border-radius:7px}
.eh56-portal .eh57c-app-mark{font-family:Arial,'Segoe UI',sans-serif;font-size:21px;line-height:1;font-weight:800;letter-spacing:-.9px}
.eh56-portal .eh57c-app--small .eh57c-app-mark{font-size:13.5px;letter-spacing:-.6px}
.eh56-portal .eh57c-app--photoshop{--brand-bg:#001e36;--brand-ink:#31a8ff}
.eh56-portal .eh57c-app--illustrator{--brand-bg:#330000;--brand-ink:#ff9a00}
.eh56-portal .eh57c-app--indesign{--brand-bg:#49021f;--brand-ink:#ff3366}
.eh56-portal .eh57c-app--aftereffects{--brand-bg:#00005b;--brand-ink:#9999ff}
.eh56-portal .eh57c-app--premiere{--brand-bg:#00005b;--brand-ink:#9999ff}
.eh56-portal .eh57c-app--mediaencoder{--brand-bg:#08034f;--brand-ink:#9a9bff}
.eh56-portal .eh57c-app--lightroom{--brand-bg:#001e36;--brand-ink:#31a8ff}
.eh56-portal .eh57c-app--audition{--brand-bg:#051e2d;--brand-ink:#66d6f6}
.eh56-portal .eh57c-app--animate{--brand-bg:#2c0719;--brand-ink:#ff6380}
.eh56-portal .eh57c-app--blender{--brand-bg:#173248;--brand-ink:#f49c21}
.eh56-portal .eh57c-app--cinema4d{--brand-bg:radial-gradient(circle at 67% 26%,#526ca1 0,#071b44 60%,#030b1b 100%);--brand-ink:#fff}
.eh56-portal .eh57c-app--cinema4d .eh57c-c4d{width:35px;height:35px;display:block}
.eh56-portal .eh57c-app--cinema4d.eh57c-app--small .eh57c-c4d{width:24px;height:24px}
.eh56-portal .eh57c-app--generic .eh57-icon{width:21px;height:21px;flex-basis:21px;color:white}
.eh56-portal .eh57c-app--generic.eh57c-app--small .eh57-icon{width:16px;height:16px;flex-basis:16px}
/* academy frame & red focus styling around original brand marks */
.eh56-portal .eh57c-app{outline:2px solid #f4f6f9;outline-offset:2px}
.eh56-portal .eh57-program-tab.active .eh57c-app{outline-color:#fbc5c8}
.eh56-portal .eh56-program-card.selected .eh57c-app{outline-color:#f8b1b7}
.eh56-portal .eh57-program-tab{gap:11px}
.eh56-portal .eh57-program-tab .eh57c-app{margin-inline-start:1px}
.eh56-portal .eh57-program-tab span[lang='en']{font-family:'Segoe UI',Arial,sans-serif;font-weight:800;letter-spacing:.02em}
.eh56-portal .eh56-program-title .eh57c-app{margin-inline-end:2px}
.eh56-portal .eh56-program-title b{font-family:'Segoe UI',Arial,sans-serif;font-weight:800}
.eh56-portal .eh57c-summary-program{display:flex;align-items:center;gap:9px;white-space:normal;line-height:1.3}
.eh56-portal .eh57c-summary-program .eh57c-app{margin-inline-end:0}
.eh56-portal .eh57c-hero-program{display:inline-flex;gap:9px;align-items:center;font-weight:800}
.eh56-portal .eh57c-heading-icon{display:grid;place-items:center;width:39px;height:39px;border-radius:11px;background:#fff0f1;color:#e52028}
.eh56-portal .eh57c-heading-icon .eh57-icon{width:23px;height:23px;flex-basis:23px}
/* stronger icon stroke, stable alignment for desktop and mobile */
.eh56-portal .eh57-icon{stroke-width:2.2}
.eh56-portal .eh56-tab .eh57-icon{width:18px;height:18px;flex-basis:18px}
@media(max-width:560px){
 .eh56-portal .eh57-program-tab{gap:9px}
 .eh56-portal .eh57c-app--small{width:23px;height:23px;min-width:23px;flex-basis:23px}
 .eh56-portal .eh57c-app--small .eh57c-app-mark{font-size:12px}
 .eh56-portal .eh56-program-title .eh57c-app{width:38px;height:38px;min-width:38px;flex-basis:38px}
}
/* Legacy hero span selectors must not restyle the nested product icon. */
.eh56-portal .eh56-hero-meta .eh57c-hero-program .eh57c-app{
 background:var(--brand-bg)!important;border:0!important;border-radius:7px!important;
 padding:0!important;color:var(--brand-ink)!important;display:inline-flex!important;
 width:25px;height:25px;min-width:25px;flex:0 0 25px;
}
.eh56-portal .eh56-hero-meta .eh57c-hero-program .eh57c-app-mark{
 background:transparent!important;border:0!important;padding:0!important;
 border-radius:0!important;color:inherit!important;font-size:13.5px!important;
}
/* Preserve v36.5.7 lesson-card design, with no application badge inside cards. */
.eh56-portal .eh57-lesson .eh56-lesson-copy small .eh57c-app{display:none!important}
.eh56-portal .eh57c-heading-icon{display:inline-flex;align-items:center;justify-content:center}
.eh56-portal .eh57c-hero-program{display:inline-flex;align-items:center;gap:8px}

/* elhaddad-student-focus-v3657.css */
/* v36.5.7 | Keyboard focus readability only. Student UI scoped. */
.eh56-portal button:focus-visible {
 outline:3px solid #c81926!important;
 outline-offset:3px!important;
}
.eh56-portal .eh56-lesson:focus-visible {
 box-shadow:0 0 0 3px rgba(200,25,38,.12);
}

/* elhaddad-diploma-progress-v36573.css */
/* EL-Haddad Academy v36.5.7.3 — diploma progress only.
   The program progress circle / bar and admin UI are untouched. */
.eh56-portal .eh73-diploma{
  margin-top:12px; padding:14px 15px 12px;
  border:1px solid #f5d8dc; border-radius:12px;
  background:linear-gradient(110deg,#fff 0%,#fff7f8 100%);
  display:grid;gap:9px;min-width:0;
}
.eh56-portal .eh73-diploma-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}
.eh56-portal .eh73-diploma-heading>div{display:grid;gap:2px;min-width:0}
.eh56-portal .eh73-diploma-heading span{color:#a23c43;font-size:12.5px;font-weight:750}
.eh56-portal .eh73-diploma-heading strong{color:#17233b;font-size:17px;line-height:1.45;font-weight:850}
.eh56-portal .eh73-diploma-value{font:800 24px/1.2 'Segoe UI',Arial,sans-serif;white-space:nowrap;color:#e51e27;font-variant-numeric:tabular-nums}
.eh56-portal .eh73-track{height:8px;border-radius:99px;background:#e9edf2;overflow:hidden}
.eh56-portal .eh73-track>span{display:block;height:100%;background:#f01e24;border-radius:inherit;transition:width .18s ease}
.eh56-portal .eh73-diploma p{margin:0;color:#66738a;font-size:13px;line-height:1.55;font-weight:650}
@media(max-width:660px){
  .eh56-portal .eh73-diploma{padding:12px}
  .eh56-portal .eh73-diploma-heading strong{font-size:15px}
  .eh56-portal .eh73-diploma-value{font-size:22px}
  .eh56-portal .eh73-diploma p{font-size:12.5px}
}
@media(prefers-reduced-motion:reduce){.eh56-portal .eh73-track>span{transition:none}}

/* elhaddad-real-dates-v36574.css */
/* EL-Haddad Academy v36.5.7.4 — actual program timeline, read from React only.
 * Scoped to Student HOME. No changes to main program progress circle, API or admin UI.
 */
.eh56-portal .eh74-details{
 margin-top:15px;padding-top:13px;border-top:1px solid #e9edf2;display:grid;gap:9px;
}
.eh56-portal .eh74-details-head{display:flex;justify-content:space-between;align-items:center;gap:9px;margin-bottom:2px}
.eh56-portal .eh74-details-head strong{font-size:15px;font-weight:800;color:#18263c}
.eh56-portal .eh74-kicker{font-size:12px;font-weight:800;color:#c52a32;line-height:1.5}
.eh56-portal .eh74-date-row{
 min-width:0;display:flex;align-items:center;justify-content:space-between;gap:12px;
 padding:12px 13px;border:1px solid #e7eaf0;border-radius:11px;background:#f8f9fb;
}
.eh56-portal .eh74-date-row.eh74-last{background:#fff7f8;border-color:#f8dce0}
.eh56-portal .eh74-date-copy{display:grid;gap:3px;min-width:0}
.eh56-portal .eh74-date-copy>span{font-size:12.5px;font-weight:700;color:#5d6b83}
.eh56-portal .eh74-date-copy>b{font-size:16px;line-height:1.4;font-weight:800;color:#17253b;overflow-wrap:anywhere}
.eh56-portal .eh74-date-copy>small{font-size:12px;line-height:1.45;font-weight:750;color:#b92f3b}
.eh56-portal .eh74-date-glyph{width:35px;height:35px;flex:0 0 35px;display:grid;place-items:center;background:#fff;border-radius:9px;color:#dd2932}
.eh56-portal .eh74-date-glyph .eh57-icon{width:19px;height:19px;flex-basis:19px}
.eh56-portal .eh74-followup{
 margin-top:15px;margin-bottom:7px;padding:13px 12px;min-width:0;
 display:flex;justify-content:space-between;align-items:center;gap:11px;
 background:#fff8f8;border:1px solid #f5dadf;border-radius:11px;
}
.eh56-portal .eh74-followup>div:first-child{display:grid;gap:3px}
.eh56-portal .eh74-followup strong{font-size:15px;font-weight:800;color:#1c293c}
.eh56-portal .eh74-followup-date{display:grid;justify-items:end;gap:3px;min-width:0;text-align:left}
.eh56-portal .eh74-followup-date>b{font-size:15px;line-height:1.4;color:#16263d;overflow-wrap:anywhere}
.eh56-portal .eh74-followup-date small{font-size:12px;color:#c52934;font-weight:800}
/* Preserve existing cards and content order; links remain reachable. */
.eh56-portal .eh56-programs-summary .eh56-link,
.eh56-portal .eh56-schedule .eh56-link{margin-top:auto}
@media(min-width:791px) and (max-width:1150px){
 .eh56-portal .eh74-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .eh56-portal .eh74-details-head{grid-column:1/-1}
}
@media(max-width:560px){
 .eh56-portal .eh74-followup{flex-wrap:wrap;align-items:start}
 .eh56-portal .eh74-followup-date{justify-items:start;text-align:right}
 .eh56-portal .eh74-date-row{padding:11px}
}

/* elhaddad-admin-ux-v36572.css */
/* EL-Haddad Academy — v36.5.7.2 | Admin UX refresh
 * Scoped exclusively to the admin panel. Preserve React data, native controls,
 * manual-status row colors, role permissions, and student portal. */

.shell:has(.dashboard-panel.eh72-admin) {
  --eh72-red:#f01e24;--eh72-ink:#18243b;--eh72-muted:#66758d;
  --eh72-line:#e4e9f0;--eh72-surface:#f7f8fa;
}
.shell:has(.dashboard-panel.eh72-admin) .hero-admin {
  margin: 12px max(3vw,18px) 14px!important; padding:18px 23px!important;
  border:1px solid #f4dfe1;border-radius:18px; min-height:0;
  box-shadow:0 8px 26px rgba(24,36,59,.035);
}
.shell:has(.dashboard-panel.eh72-admin) .hero-admin .hero-copy h1 {font-size:clamp(23px,2vw,29px);line-height:1.35;}
.shell:has(.dashboard-panel.eh72-admin) .hero-admin .hero-copy p {font-size:14px;line-height:1.65;}
.shell:has(.dashboard-panel.eh72-admin) .hero-admin .hero-feature-grid {gap:8px;margin-top:9px;}
.shell:has(.dashboard-panel.eh72-admin) .hero-admin .hero-feature-grid span {font-size:12px;padding:7px 10px;}
.shell:has(.dashboard-panel.eh72-admin) .hero-admin .hero-mini {padding:11px 14px;}
.dashboard-panel.eh72-admin {
  font-family:'Tajawal',Tahoma,Arial,sans-serif!important;
  background:#fff;color:var(--eh72-ink,#18243b);
  margin:0 max(3vw,18px) 42px!important;padding:21px 24px 22px!important;
  border:1px solid var(--eh72-line,#e4e9f0)!important;border-radius:21px!important;
  box-shadow:0 18px 48px rgba(29,44,71,.06)!important;overflow:visible;
}
.dashboard-panel.eh72-admin:after {height:0!important}
.dashboard-panel.eh72-admin * {box-sizing:border-box}
.dashboard-panel.eh72-admin button,.dashboard-panel.eh72-admin select,.dashboard-panel.eh72-admin input {font-family:inherit!important}
/* Section labels via CSS pseudo-elements: no inserted DOM nodes inside React. */
.dashboard-panel.eh72-admin .metrics::before,
.dashboard-panel.eh72-admin .expiry-grid::before,
.dashboard-panel.eh72-admin .toolbar::before {
  display:block;grid-column:1/-1;color:#172238;font-size:19px;font-weight:800;
  line-height:1.5;border-bottom:1px solid var(--eh72-line,#e4e9f0);
  padding:0 0 10px;margin:1px 0 5px;text-align:right;
}
.dashboard-panel.eh72-admin .metrics::before {content:"نظرة عامة"}
.dashboard-panel.eh72-admin .expiry-grid::before {content:"تنبيهات تحتاج مراجعة"}
.dashboard-panel.eh72-admin .toolbar::before {content:"الطلاب والمتابعة   ·   المعروض: " attr(data-eh72-count) " طالب"}
.dashboard-panel.eh72-admin .metrics {grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:25px}
.dashboard-panel.eh72-admin .metric {
  min-width:0;min-height:113px;padding:18px 16px;border-radius:16px;
  border:1px solid #e6ebf1;background:#fff;
  box-shadow:0 5px 18px rgba(34,49,77,.025);gap:11px;
}
.dashboard-panel.eh72-admin .metric-icon {width:44px;height:44px;flex:none;border-radius:13px;background:#fff0f1;color:#ee2029}
.dashboard-panel.eh72-admin .metric span {font-size:13.5px;line-height:1.5;color:#637188;font-weight:700}
.dashboard-panel.eh72-admin .metric strong {font-size:clamp(24px,2vw,31px);font-weight:800;color:#14233c;line-height:1.18;font-variant-numeric:tabular-nums}
.dashboard-panel.eh72-admin .expiry-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin:0 0 25px}
.dashboard-panel.eh72-admin .alert-card {
  min-width:0;min-height:107px;display:flex;align-items:center;gap:11px;text-align:right;
  border-radius:15px;padding:15px 13px;transition:box-shadow .12s,border-color .12s;
}
.dashboard-panel.eh72-admin .alert-card:hover {transform:none;box-shadow:0 6px 18px rgba(28,42,65,.085)}
.dashboard-panel.eh72-admin .alert-card.active {outline:2px solid #e52330;outline-offset:2px;box-shadow:0 0 0 4px #fff0f1}
.dashboard-panel.eh72-admin .alert-card>div {min-width:0;flex:1}
.dashboard-panel.eh72-admin .alert-card span {font-size:13px;line-height:1.45;font-weight:800;color:#45556a}
.dashboard-panel.eh72-admin .alert-card strong {font-size:28px;line-height:1.2;font-weight:800;margin-top:7px;font-variant-numeric:tabular-nums}
.dashboard-panel.eh72-admin .alert-card small {font-size:11.5px;color:#637188;margin-top:4px;line-height:1.4}
.dashboard-panel.eh72-admin .toolbar {
  display:grid;grid-template-columns:minmax(260px,1fr) 175px 175px 175px auto;
  align-items:stretch;gap:10px;margin:0 0 15px!important;
}
.dashboard-panel.eh72-admin .search-box,.dashboard-panel.eh72-admin .filter-box {
  min-width:0;background:#fff!important;border:1px solid #dfe5ed!important;border-radius:12px!important;
  min-height:45px;display:flex;align-items:center;box-shadow:none;
}
.dashboard-panel.eh72-admin .search-box {gap:7px;padding:0 13px!important}
.dashboard-panel.eh72-admin .search-box svg {flex:none;color:#66758d}
.dashboard-panel.eh72-admin .search-box input {font-size:14px;color:#172238!important;min-width:0;padding:11px 2px!important;background:transparent!important;outline:0}
.dashboard-panel.eh72-admin .search-box input::placeholder {color:#8793a7;opacity:1}
.dashboard-panel.eh72-admin .filter-box select {width:100%;min-height:43px;cursor:pointer;font-size:13.5px;font-weight:700;color:#273650!important;padding:10px 12px 10px 32px!important}
.dashboard-panel.eh72-admin .filter-box svg {left:11px;color:#66758d}
.dashboard-panel.eh72-admin .primary-button {min-width:130px;min-height:45px;border-radius:12px;padding:10px 15px;white-space:nowrap;font-size:14px;justify-content:center}
.dashboard-panel.eh72-admin .table-wrap {border:1px solid #e2e6ed;border-radius:16px;overflow-x:auto;background:#fff;box-shadow:none;}
.dashboard-panel.eh72-admin .table-wrap table {border-collapse:separate;border-spacing:0;min-width:1030px;width:100%}
.dashboard-panel.eh72-admin .table-wrap th {background:#f5f7fa;color:#52617a;font-size:13px;font-weight:800;padding:15px 13px;text-align:right;white-space:nowrap;border-bottom:1px solid #e1e6ed}
.dashboard-panel.eh72-admin .table-wrap td {font-size:14px;line-height:1.65;padding:17px 13px;border-top:0;border-bottom:1px solid #edf0f4;vertical-align:middle;color:#223047}
.dashboard-panel.eh72-admin .table-wrap tbody tr:last-child td {border-bottom:0}
.dashboard-panel.eh72-admin .table-wrap tbody tr:not(.row-complete):not(.row-follow):not(.row-incomplete):not(.row-attention-red):not(.row-attention-orange):hover td {background:#f8fafc}
.dashboard-panel.eh72-admin .student-link {font-size:15.5px;color:#152237;font-weight:800;line-height:1.5;text-align:right}
.dashboard-panel.eh72-admin .admin-contact-row {font-size:12.5px;line-height:1.6}
.dashboard-panel.eh72-admin .admin-contact-label {font-weight:700}
.dashboard-panel.eh72-admin .admin-contact-actions {overflow-wrap:anywhere}
.dashboard-panel.eh72-admin .attention-badge {font-size:11.5px;line-height:1.4}
.dashboard-panel.eh72-admin .code-pill {font-size:13px;font-weight:800;font-variant-numeric:tabular-nums}
.dashboard-panel.eh72-admin .admin-program-list {gap:6px;min-width:160px}
.dashboard-panel.eh72-admin .admin-program-tag {padding:7px 10px;min-height:32px;border-radius:99px;font-size:12.5px;line-height:1.3}
.dashboard-panel.eh72-admin .progress-cell b {display:block;font-size:14px;font-variant-numeric:tabular-nums;text-align:center;color:#19263c}
.dashboard-panel.eh72-admin .progress-track {height:7px;background:#e9edf3;border-radius:99px;margin-top:9px}
.dashboard-panel.eh72-admin .status-select {min-width:100px;min-height:41px;font-size:14px;font-weight:800;border-radius:10px;cursor:pointer}
.dashboard-panel.eh72-admin .tiny-button,.dashboard-panel.eh72-admin .eh-student-preview-button {font-size:13px;font-weight:800;min-height:36px;border-radius:9px}
.dashboard-panel.eh72-admin .eh-student-row-actions {display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.dashboard-panel.eh72-admin .legend {display:flex;gap:19px;flex-wrap:wrap;font-size:13px;color:#5a687d;padding:16px 4px 1px}
.dashboard-panel.eh72-admin .legend span {font-size:13px}
.dashboard-panel.eh72-admin .legend-note {margin-inline-start:auto;margin-right:0;font-size:12px;color:#6c7688}
.dashboard-panel.eh72-admin :is(button,select,input,a):focus-visible {outline:3px solid #be202c!important;outline-offset:3px!important}
@media(max-width:1260px){
 .dashboard-panel.eh72-admin .toolbar {grid-template-columns:minmax(250px,1fr) repeat(3,minmax(130px,1fr));}
 .dashboard-panel.eh72-admin .toolbar .primary-button {grid-column:1/-1;justify-self:start;}
}
@media(max-width:1000px){
 .dashboard-panel.eh72-admin .metrics,.dashboard-panel.eh72-admin .expiry-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
 .dashboard-panel.eh72-admin .toolbar {grid-template-columns:repeat(3,minmax(0,1fr))}
 .dashboard-panel.eh72-admin .toolbar .search-box {grid-column:1/-1}
 .dashboard-panel.eh72-admin .toolbar .primary-button {grid-column:1/-1;justify-self:stretch}
}
@media(max-width:760px){
 .dashboard-panel.eh72-admin {margin:0 12px 28px!important;padding:14px!important;border-radius:15px!important}
 .shell:has(.dashboard-panel.eh72-admin) .hero-admin {margin:7px 12px 10px!important;padding:16px!important}
 .dashboard-panel.eh72-admin .metrics,.dashboard-panel.eh72-admin .expiry-grid {gap:8px;margin-bottom:19px}
 .dashboard-panel.eh72-admin .metric {min-height:98px;padding:12px;gap:8px}
 .dashboard-panel.eh72-admin .metric-icon {width:35px;height:35px;border-radius:10px}
 .dashboard-panel.eh72-admin .metric span {font-size:12px}
 .dashboard-panel.eh72-admin .metric strong {font-size:24px}
 .dashboard-panel.eh72-admin .alert-card {min-height:110px;padding:12px 9px;gap:7px;align-items:flex-start}
 .dashboard-panel.eh72-admin .alert-card svg {width:17px;height:17px}
 .dashboard-panel.eh72-admin .alert-card span {font-size:12.5px}
 .dashboard-panel.eh72-admin .alert-card strong {font-size:24px;margin-top:5px}
 .dashboard-panel.eh72-admin .alert-card small {font-size:11px}
 .dashboard-panel.eh72-admin .toolbar {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .dashboard-panel.eh72-admin .toolbar .search-box {grid-column:1/-1}
 .dashboard-panel.eh72-admin .toolbar .filter-box {min-width:0}
 .dashboard-panel.eh72-admin .toolbar .primary-button {grid-column:1/-1}
 .dashboard-panel.eh72-admin .table-wrap {border:0;background:transparent;overflow:visible}
 .dashboard-panel.eh72-admin .table-wrap table {min-width:0;display:block}
 .dashboard-panel.eh72-admin .table-wrap tbody {gap:11px}
 .dashboard-panel.eh72-admin .table-wrap tr {border:1px solid #e4e8ef;border-radius:14px;overflow:hidden}
 .dashboard-panel.eh72-admin .table-wrap td {display:grid;grid-template-columns:86px minmax(0,1fr);gap:7px;align-items:start;font-size:13px;padding:10px 11px;border-bottom:1px solid #edf0f4}
 .dashboard-panel.eh72-admin .table-wrap td::before {font-size:12px;color:#536178}
 .dashboard-panel.eh72-admin .table-wrap td[data-label='الطالب'] {display:block;padding:14px}
 .dashboard-panel.eh72-admin .table-wrap td[data-label='الطالب']::before {display:none}
 .dashboard-panel.eh72-admin .table-wrap .admin-program-list {min-width:0}
 .dashboard-panel.eh72-admin .table-wrap .status-select {width:100%}
 .dashboard-panel.eh72-admin .legend {gap:10px}
 .dashboard-panel.eh72-admin .legend-note {width:100%;margin:0}
}
@media(max-width:375px){
 .dashboard-panel.eh72-admin .expiry-grid {grid-template-columns:1fr}
 .dashboard-panel.eh72-admin .toolbar .filter-box {grid-column:1/-1}
}
@media(prefers-reduced-motion:reduce){.dashboard-panel.eh72-admin *, .dashboard-panel.eh72-admin *::before,.dashboard-panel.eh72-admin *::after{transition:none!important;animation:none!important}}

/* elhaddad-final-readability-v36575.css */
/* EL-Haddad Academy — Final UI readability audit v36.5.7.5
   A deliberately narrow, reversible CSS-only improvement.
   No changes to student progress calculations, schedules, data, admin status colors,
   program selection, section recording, or React application logic.
*/

/* 1. Contrast: small white text on the earlier bright red fails the 4.5:1 AA threshold.
   Keep the academy red for progress tracks/accents, darken interactive red only. */
.eh56-portal .eh56-primary,
.eh56-portal .eh56-tab.active,
.eh56-portal .eh57-lesson-filters button.active {
  background-color:#d5171d !important;
  color:#fff !important;
}
.eh56-portal .eh57-lesson-filters button.active {border-color:#d5171d !important;}

/* 2. Visible, high-contrast keyboard focus. */
.eh56-portal :is(button,a,[tabindex]):focus-visible,
.dashboard-panel.eh72-admin :is(button,a,select,input,[tabindex]):focus-visible {
  outline:3px solid #a41120 !important;
  outline-offset:3px !important;
}

/* 3. Comfortable tap targets and readable captions on small screens. */
.eh56-portal :is(.eh56-outline,.eh56-link,.eh57-update),
.eh56-portal .eh57-lesson-filters button {min-height:44px;}
.eh56-portal .eh56-weekday span,
.eh56-portal .eh56-next-date small,
.eh56-portal .eh74-date-copy>small,
.eh56-portal .eh74-followup-date small {font-size:13px !important;line-height:1.5 !important;}
.eh56-portal .eh74-date-copy>span {font-size:13px !important;}
.dashboard-panel.eh72-admin .alert-card small {font-size:12.5px !important;line-height:1.5 !important;}

@media(max-width:560px){
  .eh56-portal .eh57-lesson-filters button {font-size:13px !important;}
  .eh56-portal .eh56-weekday {min-width:0;}
  .eh56-portal .eh56-weekday :is(b,span) {overflow-wrap:anywhere;}
  .eh56-portal .eh74-date-copy>b {font-size:16px;}
  .dashboard-panel.eh72-admin .admin-contact-row {font-size:13px;}
}

@media(prefers-reduced-motion:reduce){
  .eh56-portal *, .dashboard-panel.eh72-admin * {scroll-behavior:auto !important;}
}

/* elhaddad-admin-timeline-v36576.css */
/* EL-Haddad Academy - v36.5.7.6 - admin timeline only (isolated) */
.timeline-admin-card.eh-duration-ready .timeline-base {display:none}
.timeline-admin-card .eh-duration-overview {direction:rtl; margin:14px 0 16px; font-family:'Tajawal',system-ui,-apple-system,sans-serif}
.timeline-admin-card .eh-duration-overview__heading {display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.timeline-admin-card .eh-duration-overview__heading b {font-size:14px;font-weight:800;color:#152238}
.timeline-admin-card .eh-duration-overview__heading span {font-size:12px;color:#66758b;font-weight:600}
.timeline-admin-card .eh-duration-overview__grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.timeline-admin-card .eh-duration-date {background:#f8fafc;border:1px solid #e2e8f0;border-radius:13px;padding:13px 12px;min-width:0;display:flex;flex-direction:column;gap:6px;justify-content:space-between}
.timeline-admin-card .eh-duration-date--course-start,.timeline-admin-card .eh-duration-date--follow-start {background:#f8fafc}
.timeline-admin-card .eh-duration-date--course-end {background:#f3fbf7;border-color:#cfe9da}
.timeline-admin-card .eh-duration-date--follow-end {background:#fff6f6;border-color:#ffd8d9}
.timeline-admin-card .eh-duration-date__label {font-size:12px;font-weight:800;color:#56647b;line-height:1.5}
.timeline-admin-card .eh-duration-date__value {color:#152238;font-size:16px;font-weight:800;line-height:1.55;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.timeline-admin-card .eh-duration-date__meta {font-size:11.5px;color:#65758b;font-weight:650;line-height:1.5}
.timeline-admin-card .eh-duration-date--follow-end .eh-duration-date__value {color:#b4232b}
.timeline-admin-card .eh-duration-overview__notice {font-size:12px;color:#526176;background:#f5f7fa;border-radius:10px;padding:10px 11px;margin-top:10px;line-height:1.65}
.timeline-admin-card .timeline-admin-grid {gap:12px}
.timeline-admin-card .timeline-control {background:#fff}
.timeline-admin-card .timeline-control label {font-size:13px;font-weight:750}
.timeline-admin-card .timeline-control select,.timeline-admin-card .timeline-control input {min-height:42px;font-size:13px}
@media (max-width:380px){.timeline-admin-card .eh-duration-overview__grid{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){.timeline-admin-card .eh-duration-date {transition:none}}

/* elhaddad-subscription-auto-v36579.css */
/* EL-Haddad Academy v36.5.7.7: isolated admin-only subscription editor */
.timeline-admin-card.eh-subscription-ready .eh-duration-overview,
.timeline-admin-card.eh-subscription-ready .timeline-base,
.timeline-admin-card.eh-subscription-ready .timeline-admin-grid,
.timeline-admin-card.eh-subscription-ready > .access-actions {display:none !important}
.timeline-admin-card .eh-subscription-editor{font-family:'Tajawal',system-ui,sans-serif; direction:rtl; padding-top:12px; color:#1a2940}
.timeline-admin-card .eh-subscription-top{display:grid;grid-template-columns:minmax(0,1fr);gap:11px;margin:0 0 14px}
.timeline-admin-card .eh-subscription-field{display:flex;flex-direction:column;gap:7px;min-width:0}
.timeline-admin-card .eh-subscription-field>span{font-size:13px;font-weight:800;color:#334155}
.timeline-admin-card .eh-subscription-field input[type=date],
.timeline-admin-card .eh-subscription-field select{box-sizing:border-box;min-height:44px;width:100%;max-width:100%;background:#fff;border:1px solid #cbd5e1;border-radius:11px;padding:0 12px;font:700 14px 'Tajawal',system-ui,sans-serif;color:#0f172a;outline-offset:2px}
.timeline-admin-card .eh-subscription-field input[type=date]:focus-visible,
.timeline-admin-card .eh-subscription-field select:focus-visible{outline:2px solid #f00000;border-color:#f00000}
.timeline-admin-card .eh-subscription-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.timeline-admin-card .eh-subscription-brief{font-size:12px;color:#64748b;margin:4px 0 0;line-height:1.65}
.timeline-admin-card .eh-subscription-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:14px}
.timeline-admin-card .eh-subscription-date{border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc;padding:11px 10px;min-width:0;display:flex;flex-direction:column;gap:5px}
.timeline-admin-card .eh-subscription-date strong{font-size:12px;color:#526075}
.timeline-admin-card .eh-subscription-date b{font-size:15px;line-height:1.65;color:#14213d;overflow-wrap:anywhere}
.timeline-admin-card .eh-subscription-date--course-end{background:#f1faf5;border-color:#d0eadb}
.timeline-admin-card .eh-subscription-date--follow-end{background:#fff5f5;border-color:#ffcfd1}
.timeline-admin-card .eh-subscription-date--follow-end b{color:#ae1922}
.timeline-admin-card .eh-subscription-help{font-size:12px;color:#475569;line-height:1.75;background:#f3f6fb;padding:10px 11px;border-radius:11px;margin:12px 0}
.timeline-admin-card .eh-subscription-actions{display:flex;align-items:center;justify-content:flex-start;gap:10px;flex-wrap:wrap}
.timeline-admin-card .eh-subscription-save{border:0;border-radius:12px;padding:11px 21px;min-height:43px;color:white;background:#f00000;box-shadow:0 9px 20px #f0000020;font:800 14px 'Tajawal',system-ui,sans-serif;cursor:pointer}
.timeline-admin-card .eh-subscription-save:disabled{opacity:.55;cursor:not-allowed}
.timeline-admin-card .eh-subscription-reload{border:1px solid #cbd5e1;background:white;border-radius:10px;padding:10px 13px;font:700 13px 'Tajawal',system-ui,sans-serif;cursor:pointer}
.timeline-admin-card .eh-subscription-status{font-size:12px;line-height:1.65;min-height:20px;margin:10px 0 0;color:#4b5b73}
.timeline-admin-card .eh-subscription-status[data-kind=error]{color:#ae1922}
.timeline-admin-card .eh-subscription-status[data-kind=success]{color:#096b3e}
@media(max-width:400px){.timeline-admin-card .eh-subscription-pair{grid-template-columns:1fr}.timeline-admin-card .eh-subscription-date b{font-size:14px}}
/* v36579: 3 accessible dropdowns for each start date and sync toggle */
.timeline-admin-card .eh-subscription-date-field{border:1px solid #e2e8f0;border-radius:13px;padding:12px;background:#fff;min-width:0}
.timeline-admin-card .eh-subscription-date-heading{font-weight:800;font-size:13px;color:#1e293b;margin-bottom:9px}
.timeline-admin-card .eh-subscription-date-pickers{display:grid;grid-template-columns:minmax(0,0.8fr) minmax(0,1.25fr) minmax(0,1fr);gap:7px;min-width:0}
.timeline-admin-card .eh-subscription-date-part{display:flex;flex-direction:column;gap:5px;min-width:0}
.timeline-admin-card .eh-subscription-date-part>span{font-size:11px;font-weight:700;color:#64748b}
.timeline-admin-card .eh-subscription-date-part select{width:100%;min-width:0;box-sizing:border-box;border-radius:10px;border:1px solid #cbd5e1;background:white;min-height:44px;padding:3px 5px;font:700 13px 'Tajawal',system-ui,sans-serif;color:#0f172a;cursor:pointer}
.timeline-admin-card .eh-subscription-date-part select:focus-visible{outline:2px solid #f00000;outline-offset:1px}
.timeline-admin-card .eh-subscription-date-part select:disabled{opacity:.66;background:#f3f5f7;cursor:not-allowed}
.timeline-admin-card .eh-subscription-sync{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:800;color:#26364a;line-height:1.6;margin-bottom:11px;cursor:pointer}
.timeline-admin-card .eh-subscription-sync input{height:17px;width:17px;accent-color:#f00000;flex:none}
.timeline-admin-card .eh-subscription-editor .eh-subscription-top{gap:11px}
.timeline-admin-card .eh-subscription-editor .eh-subscription-pair{margin-top:2px}
@media(max-width:350px){.timeline-admin-card .eh-subscription-date-pickers{gap:4px}.timeline-admin-card .eh-subscription-date-part select{font-size:12px;padding:2px}}

/* v36579: Always visible diagnostic when Laravel compatibility is pending */
.timeline-admin-card .eh-subscription-compat{display:block;background:#fff6e8;color:#854d0e;border:1px solid #f7d5a8;border-radius:10px;padding:11px 12px;font:700 12px/1.85 'Tajawal',system-ui,sans-serif;margin:12px 0;overflow-wrap:anywhere}
.timeline-admin-card .eh-subscription-compat[hidden]{display:none!important}
.timeline-admin-card.eh-subscription-ready>.eh-subscription-editor{display:block!important}

/* elhaddad-student-list-v36589.css */
/* EL-Haddad Academy v36.5.8.9 — unified list / cards interface, RTL. */
.dashboard-panel{--eh89-red:#F00000;--eh89-line:#e1e6ef;--eh89-ink:#1f293b;--eh89-muted:#59677c}
.dashboard-panel .table-wrap{overflow:visible!important;background:transparent!important;border:0!important;border-radius:0!important}
.dashboard-panel .table-wrap table{display:block!important;min-width:0!important;width:100%!important;border:0!important;border-collapse:separate!important;border-spacing:0!important;table-layout:auto!important}
.dashboard-panel .table-wrap thead{display:block!important;margin-bottom:9px}
.dashboard-panel .table-wrap thead tr{display:grid!important;grid-template-columns:minmax(240px,2.55fr) minmax(155px,1.65fr) minmax(110px,1.05fr) minmax(125px,1.08fr) minmax(160px,1.48fr) minmax(130px,.95fr);gap:10px!important;padding:0 15px!important;align-items:center}
.dashboard-panel .table-wrap thead th{background:transparent!important;border:0!important;text-align:right!important;padding:8px 0!important;color:#58677a!important;font-size:12px!important;font-weight:800!important;white-space:nowrap!important}
.dashboard-panel .table-wrap thead th:nth-child(2),.dashboard-panel .table-wrap td[data-label="كود الطالب"]{display:none!important}
.dashboard-panel .table-wrap tbody{display:grid!important;gap:10px!important}
.dashboard-panel .table-wrap tbody tr[data-eh86-group-key]{display:grid!important;grid-template-columns:minmax(240px,2.55fr) minmax(155px,1.65fr) minmax(110px,1.05fr) minmax(125px,1.08fr) minmax(160px,1.48fr) minmax(130px,.95fr);gap:10px!important;align-items:center!important;min-height:100px!important;background:#fff!important;border:1px solid var(--eh89-line)!important;border-right:4px solid #d6dde8!important;border-radius:13px!important;box-shadow:0 2px 10px rgba(19,34,56,.035)!important;overflow:visible!important;transition:border-color .15s ease,box-shadow .15s ease!important}
.dashboard-panel .table-wrap tbody tr[data-eh86-group-key]:hover{border-color:#b8c5d5!important;box-shadow:0 4px 14px rgba(19,34,56,.06)!important}
.dashboard-panel .table-wrap tbody tr[data-eh86-group-key].row-follow:not(.row-archived){border-right-color:#efbf62!important}
.dashboard-panel .table-wrap tbody tr[data-eh86-group-key].row-complete:not(.row-archived){border-right-color:#49b488!important}
.dashboard-panel .table-wrap tbody tr[data-eh86-group-key].row-incomplete:not(.row-archived){border-right-color:#F00000!important}
.dashboard-panel .table-wrap tbody tr[data-eh86-group-key].row-archived{border-right-color:#9ba5b5!important;background:#f6f7fa!important}
.dashboard-panel .table-wrap tbody tr[data-eh86-group-key] > td{display:block!important;min-width:0!important;width:auto!important;height:auto!important;min-height:0!important;padding:13px 4px!important;border:0!important;background:transparent!important;box-shadow:none!important;vertical-align:middle!important;color:var(--eh89-ink)!important;font-size:12px!important;line-height:1.5!important;overflow-wrap:anywhere!important}
.dashboard-panel .table-wrap tbody tr[data-eh86-group-key] > td:first-child{padding-right:13px!important}
.dashboard-panel .table-wrap tbody tr[data-eh86-group-key] > td:last-child{padding-left:12px!important}
.dashboard-panel .table-wrap tbody tr[data-eh86-group-key] > td:before{display:none!important}
.dashboard-panel .table-wrap .student-link{font-size:15px!important;font-weight:850!important;color:#15233a!important;text-align:right!important;line-height:1.5!important;white-space:normal!important}
.dashboard-panel .table-wrap .eh88-code{margin:2px 0 7px!important;font-size:11px!important;font-weight:700!important;color:#65748b!important;line-height:1.4!important}
.dashboard-panel .table-wrap .admin-student-contacts{display:grid!important;gap:4px!important;margin:4px 0!important;font-size:11px!important;line-height:1.5!important}
.dashboard-panel .table-wrap .admin-contact-row{display:flex!important;flex-wrap:nowrap!important;gap:5px!important;align-items:center!important;min-width:0!important}
.dashboard-panel .table-wrap .admin-contact-label{font-size:10px!important;color:#64748b!important;white-space:nowrap!important}
.dashboard-panel .table-wrap .admin-contact-actions{display:flex!important;align-items:center!important;gap:5px!important;min-width:0!important}
.dashboard-panel .table-wrap .admin-contact-actions :is(a,span){font-size:11px!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:240px!important;white-space:nowrap!important;color:#b71927!important}
.dashboard-panel .table-wrap .admin-contact-copy{font-size:10px!important;padding:2px 5px!important;min-height:25px!important;white-space:nowrap!important}
.dashboard-panel .table-wrap td[data-label="الطالب"] > small{font-size:10px!important;color:#7a8799!important;margin:2px 0!important}
.dashboard-panel .table-wrap .eh88-activity{display:flex!important;gap:4px 12px!important;flex-wrap:wrap!important;margin-top:7px!important}
.dashboard-panel .table-wrap .eh88-metric{display:inline-flex!important;align-items:center!important;gap:4px!important;line-height:1.45!important;font-size:10.5px!important}
.dashboard-panel .table-wrap .eh88-label{color:#64748b!important;font-weight:600!important}
.dashboard-panel .table-wrap .eh88-value{color:#26364e!important;font-weight:800!important;font-size:10.5px!important}
.dashboard-panel .table-wrap .eh88-idle .eh88-value{color:#a4531c!important}
.dashboard-panel .table-wrap .attention-badges{display:flex!important;flex-wrap:wrap!important;gap:4px!important;margin-top:5px!important}
.dashboard-panel .table-wrap .attention-badge{font-size:10px!important;border-radius:6px!important;padding:3px 5px!important}
.dashboard-panel .table-wrap .admin-program-list{display:flex!important;gap:5px!important;flex-wrap:wrap!important;min-width:0!important}
.dashboard-panel .table-wrap .admin-program-tag{padding:6px 9px!important;font-size:11px!important;min-height:29px!important;border-radius:999px!important;white-space:nowrap!important}
.dashboard-panel .table-wrap .progress-cell{width:100%!important;min-width:0!important;max-width:145px!important;display:grid!important;gap:5px!important}
.dashboard-panel .table-wrap .progress-cell b{font-size:13px!important;font-weight:850!important}
.dashboard-panel .table-wrap .progress-track{height:7px!important;background:#e7ebf2!important;width:100%!important;min-width:0!important;border-radius:99px!important;overflow:hidden!important}
.dashboard-panel .table-wrap .progress-track span{height:100%!important;border-radius:99px!important;background:#F00000!important}
.dashboard-panel .table-wrap .status-select{font-size:12px!important;min-height:39px!important;min-width:105px!important;max-width:100%!important;border-radius:9px!important}
.dashboard-panel .table-wrap td[data-label="الخطوة التالية"]{font-size:12px!important;line-height:1.55!important;color:#43536b!important;max-height:84px!important;overflow:hidden!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:3!important;line-clamp:3!important}
.dashboard-panel .table-wrap .eh-student-row-actions{display:flex!important;gap:6px!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:wrap!important}
.dashboard-panel .table-wrap .eh-student-row-actions button{min-height:38px!important;padding:8px 10px!important;font-size:12px!important;border-radius:8px!important;font-weight:750!important}
.dashboard-panel .table-wrap .eh-student-row-actions .tiny-button{background:#F00000!important;color:#fff!important;border-color:#F00000!important}
.dashboard-panel .table-wrap :is(button,select,a):focus-visible{outline:3px solid #F00000!important;outline-offset:3px!important}
.dashboard-panel .eh89-view-switch{display:flex;gap:3px;align-items:center;padding:3px;border:1px solid #dce3ed;background:#f6f8fc;border-radius:11px;direction:rtl;flex-shrink:0}
.dashboard-panel .eh89-view-switch button{background:transparent;border:0;border-radius:8px;padding:8px 13px;min-height:37px;color:#51627b;font-size:12px;font-weight:800;cursor:pointer}
.dashboard-panel .eh89-view-switch button.active{background:#fff;color:#F00000;box-shadow:0 1px 5px rgba(17,24,39,.1)}
/* Cards: optional user preference on wide screens; default list remains efficient for comparison. */
@media(min-width:780px){
.dashboard-panel[data-eh89-view="cards"] .table-wrap thead{display:none!important}
.dashboard-panel[data-eh89-view="cards"] .table-wrap tbody{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:13px!important}
.dashboard-panel[data-eh89-view="cards"] .table-wrap tbody tr[data-eh86-group-key]{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:0!important;align-items:start!important;min-height:0!important;padding:4px 0!important}
.dashboard-panel[data-eh89-view="cards"] .table-wrap tbody tr[data-eh86-group-key] > td{padding:10px 12px!important;border-top:1px solid #edf0f5!important}
.dashboard-panel[data-eh89-view="cards"] .table-wrap tbody tr[data-eh86-group-key] > td:first-child{grid-column:1/-1!important;border-top:0!important}
.dashboard-panel[data-eh89-view="cards"] .table-wrap tbody tr[data-eh86-group-key] > td[data-label="البرامج"]{grid-column:1!important}
.dashboard-panel[data-eh89-view="cards"] .table-wrap tbody tr[data-eh86-group-key] > td[data-label="الإنجاز"]{grid-column:2!important}
.dashboard-panel[data-eh89-view="cards"] .table-wrap tbody tr[data-eh86-group-key] > td[data-label="الحالة اليدوية"]{grid-column:1!important}
.dashboard-panel[data-eh89-view="cards"] .table-wrap tbody tr[data-eh86-group-key] > td[data-label="الخطوة التالية"]{grid-column:2!important}
.dashboard-panel[data-eh89-view="cards"] .table-wrap tbody tr[data-eh86-group-key] > td[data-label="التفاصيل"]{grid-column:1/-1!important}
.dashboard-panel[data-eh89-view="cards"] .table-wrap tbody tr[data-eh86-group-key] > td:not(:first-child):not([data-label="كود الطالب"]):before{content:attr(data-label);display:block!important;font-size:10px!important;font-weight:800!important;color:#718096!important;margin-bottom:4px!important}
}
/* Smaller desktop and mobile: automatic single-column cards; no horizontal table. */
@media(max-width:1250px){
.dashboard-panel:not([data-eh89-view="cards"]) .table-wrap thead{display:none!important}
.dashboard-panel:not([data-eh89-view="cards"]) .table-wrap tbody{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
.dashboard-panel:not([data-eh89-view="cards"]) .table-wrap tbody tr[data-eh86-group-key]{grid-template-columns:repeat(2,minmax(0,1fr))!important;min-height:0!important;gap:0!important}
.dashboard-panel:not([data-eh89-view="cards"]) .table-wrap tbody tr[data-eh86-group-key] > td{padding:11px 12px!important;border-top:1px solid #edf0f5!important}
.dashboard-panel:not([data-eh89-view="cards"]) .table-wrap tbody tr[data-eh86-group-key] > td:first-child{grid-column:1/-1!important;border-top:0!important}
.dashboard-panel:not([data-eh89-view="cards"]) .table-wrap tbody tr[data-eh86-group-key] > td[data-label="البرامج"]{grid-column:1!important}
.dashboard-panel:not([data-eh89-view="cards"]) .table-wrap tbody tr[data-eh86-group-key] > td[data-label="الإنجاز"]{grid-column:2!important}
.dashboard-panel:not([data-eh89-view="cards"]) .table-wrap tbody tr[data-eh86-group-key] > td[data-label="الحالة اليدوية"]{grid-column:1!important}
.dashboard-panel:not([data-eh89-view="cards"]) .table-wrap tbody tr[data-eh86-group-key] > td[data-label="الخطوة التالية"]{grid-column:2!important}
.dashboard-panel:not([data-eh89-view="cards"]) .table-wrap tbody tr[data-eh86-group-key] > td[data-label="التفاصيل"]{grid-column:1/-1!important}
.dashboard-panel:not([data-eh89-view="cards"]) .table-wrap tbody tr[data-eh86-group-key] > td:not(:first-child):not([data-label="كود الطالب"]):before{content:attr(data-label);display:block!important;font-size:10px!important;font-weight:800!important;color:#718096!important;margin-bottom:5px!important}
}
@media(max-width:770px){
.dashboard-panel .table-wrap thead{display:none!important}
.dashboard-panel .table-wrap tbody,.dashboard-panel:not([data-eh89-view="cards"]) .table-wrap tbody,.dashboard-panel[data-eh89-view="cards"] .table-wrap tbody{grid-template-columns:minmax(0,1fr)!important}
.dashboard-panel .table-wrap tbody tr[data-eh86-group-key]{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important;min-height:0!important}
.dashboard-panel .table-wrap tbody tr[data-eh86-group-key] > td{padding:11px!important;border-top:1px solid #edf0f5!important}
.dashboard-panel .table-wrap tbody tr[data-eh86-group-key] > td:first-child{grid-column:1/-1!important;border-top:0!important}
.dashboard-panel .table-wrap tbody tr[data-eh86-group-key] > td[data-label="البرامج"]{grid-column:1!important}
.dashboard-panel .table-wrap tbody tr[data-eh86-group-key] > td[data-label="الإنجاز"]{grid-column:2!important}
.dashboard-panel .table-wrap tbody tr[data-eh86-group-key] > td[data-label="الحالة اليدوية"]{grid-column:1!important}
.dashboard-panel .table-wrap tbody tr[data-eh86-group-key] > td[data-label="الخطوة التالية"]{grid-column:2!important}
.dashboard-panel .table-wrap tbody tr[data-eh86-group-key] > td[data-label="التفاصيل"]{grid-column:1/-1!important}
.dashboard-panel .table-wrap tbody tr[data-eh86-group-key] > td:not(:first-child):not([data-label="كود الطالب"]):before{content:attr(data-label);display:block!important;font-size:10px!important;font-weight:800!important;color:#718096!important;margin-bottom:5px!important}
.dashboard-panel .eh89-view-switch{display:none!important}
}
@media(max-width:410px){
.dashboard-panel .table-wrap tbody tr[data-eh86-group-key] > td{padding:10px!important}
.dashboard-panel .table-wrap .admin-contact-actions :is(a,span){max-width:185px!important}
.dashboard-panel .table-wrap .admin-student-contacts{gap:4px!important}
.dashboard-panel .table-wrap .eh-student-row-actions{justify-content:stretch!important}
.dashboard-panel .table-wrap .eh-student-row-actions button{flex:1!important}
}
.dashboard-panel .table-wrap tbody tr[data-eh86-group-key] > td[data-label="كود الطالب"]{display:none!important}
@media(prefers-reduced-motion:reduce){.dashboard-panel .table-wrap *{transition:none!important;scroll-behavior:auto!important}}

/* elhaddad-admin-drawer-v36590.css */

/* EL-Haddad Academy v36.5.9.12 — student admin, RTL, calm high-contrast UI. */
:root{--eh12-red:#c6202a;--eh12-red-dark:#a9141f;--eh12-ink:#17263b;--eh12-muted:#63748b;--eh12-line:#e1e8f1;--eh12-paper:#ffffff;--eh12-bg:#f5f7fa}
.overlay:has(>aside.drawer.eh12-admin){justify-content:flex-start!important;align-items:stretch!important;padding:0!important;background:rgba(18,27,42,.55)!important;z-index:150!important}
.overlay>aside.drawer.eh12-admin{
 width:min(1040px,calc(100vw - 26px))!important;max-width:min(1040px,calc(100vw - 26px))!important;
 position:relative!important;box-sizing:border-box!important;flex:0 0 auto!important;
 margin:0 0 0 auto!important;border-radius:18px 0 0 18px!important;
 border:0!important;height:100dvh!important;max-height:100dvh!important;min-height:0!important;
 overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;
 background:var(--eh12-bg)!important;color:var(--eh12-ink)!important;
 padding:0 23px!important;direction:rtl;display:flex!important;flex-direction:column!important;align-items:stretch!important;
 box-shadow:-20px 0 48px rgba(15,25,40,.18)!important;scrollbar-gutter:stable;
}
.drawer.eh12-admin,.drawer.eh12-admin *:not(svg):not(path){font-family:'Tajawal','Segoe UI',Tahoma,Arial,sans-serif!important}
.drawer.eh12-admin,.drawer.eh12-admin *{box-sizing:border-box}
.drawer.eh12-admin > :is(.close,.eyebrow,h2,p.muted){display:none!important}
.drawer.eh12-admin > .eh12-header{position:sticky;top:0;z-index:15;order:0;flex:0 0 auto;margin:0 -23px 16px;padding:17px 24px 12px;background:#fff;border-bottom:1px solid #e8edf3;box-shadow:0 6px 17px rgba(17,30,48,.035)}
.drawer.eh12-admin .eh12-header-top{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.drawer.eh12-admin .eh12-head-copy{min-width:0;flex:1}
.drawer.eh12-admin .eh12-eyebrow{display:block;color:#7c8ca0;font-size:12px;font-weight:600;line-height:1.4}
.drawer.eh12-admin .eh12-title{font-size:23px!important;line-height:1.45;font-weight:800!important;margin:3px 0 8px!important;overflow-wrap:anywhere;color:#1b2940}
.drawer.eh12-admin .eh12-meta{display:flex;flex-wrap:wrap;gap:7px}
.drawer.eh12-admin .eh12-meta-chip{font-size:12.5px;font-weight:700;border-radius:999px;border:1px solid #dfe7f0;padding:4px 10px;color:#485a73;background:#f3f6fa;direction:auto}
.drawer.eh12-admin .eh12-meta-success{color:#1f7841;border-color:#d5ebdc;background:#edf9f0}
.drawer.eh12-admin .eh12-dismiss{width:37px;height:37px;display:grid;place-items:center;flex:0 0 auto;border:1px solid #dfe6ef;color:#52657b;background:#f7f9fc;border-radius:11px;font-size:24px!important;line-height:1;cursor:pointer}
.drawer.eh12-admin .eh12-dismiss:hover{color:#a81927;background:#fff1f2;border-color:#efcdd1}
.drawer.eh12-admin .eh12-nav{display:flex;gap:8px;align-items:center;margin-top:14px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#d9e0ea transparent;padding:0 0 8px;flex-wrap:nowrap}
.drawer.eh12-admin .eh12-nav button{display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;flex:0 0 auto;min-height:39px;padding:8px 15px;background:#fff;color:#52647a;border:1px solid #dce4ef;border-radius:10px;font-size:13.5px!important;font-weight:700!important;cursor:pointer;transition:background .15s,border-color .15s}
.drawer.eh12-admin .eh12-nav button:hover{background:#fff7f8;border-color:#e8cbd0;color:#b22230}
.drawer.eh12-admin .eh12-nav button.is-current{color:#fff!important;border-color:var(--eh12-red)!important;background:var(--eh12-red)!important;box-shadow:none}
.drawer.eh12-admin .eh12-nav .eh12-count{display:inline-flex;align-items:center;justify-content:center;border:1px solid #dce3ed;background:#f1f4f8;color:#47586e;border-radius:999px;min-width:22px;height:22px;padding:0 5px;font-size:12px;font-weight:800}
.drawer.eh12-admin .eh12-nav .is-current .eh12-count{background:rgba(255,255,255,.18);color:#fff;border-color:rgba(255,255,255,.3)}
.drawer.eh12-admin > [data-eh12-section]{order:3;flex:0 0 auto;width:100%!important;max-width:100%!important;min-width:0!important;margin:0 0 13px!important;border:1px solid var(--eh12-line)!important;background:#fff!important;border-radius:15px!important;padding:21px 23px!important;box-shadow:0 2px 8px rgba(21,37,58,.023)!important;align-self:stretch}
.drawer.eh12-admin[data-eh12-tab=basic] > [data-eh12-section]:not([data-eh12-section=basic]),
.drawer.eh12-admin[data-eh12-tab=study] > [data-eh12-section]:not([data-eh12-section=study]),
.drawer.eh12-admin[data-eh12-tab=programs] > [data-eh12-section]:not([data-eh12-section=programs]),
.drawer.eh12-admin[data-eh12-tab=account] > [data-eh12-section]:not([data-eh12-section=account]){display:none!important}
.drawer.eh12-admin > .form-grid[data-eh12-section=programs]{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:13px!important}
.drawer.eh12-admin > .archive-action-card[data-eh12-section=account]{display:flex!important;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:15px!important}
.drawer.eh12-admin :is(.access-title,.danger-title){display:flex;gap:12px;align-items:flex-start;margin:0 0 16px!important}
.drawer.eh12-admin .access-title svg{color:var(--eh12-red)!important;flex:0 0 auto;margin-top:2px;stroke-width:1.85}
.drawer.eh12-admin .access-title b,.drawer.eh12-admin .drawer-lessons > h3,.drawer.eh12-admin .archive-action-card b,.drawer.eh12-admin .danger-title b{font-size:17px!important;font-weight:800!important;line-height:1.45!important;color:var(--eh12-ink)!important}
.drawer.eh12-admin .access-title small,.drawer.eh12-admin .archive-action-card small,.drawer.eh12-admin .danger-title small{display:block;font-size:12.5px!important;line-height:1.7;color:#7a889a!important;font-weight:500!important}
.drawer.eh12-admin label{font-size:13.5px!important;line-height:1.7;color:#485b73;font-weight:600!important}
.drawer.eh12-admin :is(input,select,textarea){max-width:100%;font-size:14px!important;font-weight:600!important;color:#1e3047;background:#fff;border:1px solid #d9e2ed!important;border-radius:10px!important;min-height:42px;box-shadow:none!important}
.drawer.eh12-admin :is(input,select,textarea):focus-visible,.drawer.eh12-admin button:focus-visible{outline:2px solid #b92737!important;outline-offset:2px!important}
.drawer.eh12-admin :is(input,select,textarea):disabled{background:#f5f7fa;color:#66788c;opacity:.75}
.drawer.eh12-admin input[type=checkbox]{min-height:0!important;accent-color:var(--eh12-red)}
.drawer.eh12-admin textarea{min-height:100px;line-height:1.7;resize:vertical}
.drawer.eh12-admin .primary-button,.drawer.eh12-admin .eh12-general-save{border:1px solid var(--eh12-red)!important;background:var(--eh12-red)!important;color:white!important;border-radius:10px!important;min-height:42px;font-size:14px!important;font-weight:700!important;box-shadow:none!important;cursor:pointer}
.drawer.eh12-admin .primary-button:hover,.drawer.eh12-admin .eh12-general-save:hover{background:var(--eh12-red-dark)!important}
.drawer.eh12-admin :is(.primary-button,.eh12-general-save):disabled{opacity:.55;cursor:wait}
.drawer.eh12-admin .ghost-button{border:1px solid #dce4ee!important;color:#41556c!important;background:white!important;border-radius:10px!important;min-height:40px;font-size:13px!important;font-weight:600}
.drawer.eh12-admin .access-actions{display:flex;gap:10px;align-items:center;justify-content:flex-start;flex-wrap:wrap;margin-top:13px}
.drawer.eh12-admin .access-actions > :is(select,button){min-width:0}
.drawer.eh12-admin .access-actions button{flex:0 0 auto}
.drawer.eh12-admin > .student-programs-card{order:1!important}
.drawer.eh12-admin > .drawer-lessons{order:2!important}
.drawer.eh12-admin > .form-grid{order:3!important}
.drawer.eh12-admin > .study-admin-card{order:1!important}
.drawer.eh12-admin > .timeline-admin-card{order:2!important}
.drawer.eh12-admin > .student-identity-card{order:1!important}
.drawer.eh12-admin > :is(.archive-action-card,.merge-card,.danger-card){order:4!important}
.drawer.eh12-admin > .primary-button.full{display:none!important}
/* Enrollments: all linked programs stay visible; no hard-coded limited list. */
.drawer.eh12-admin .student-programs-heading{display:flex;flex-wrap:wrap;align-items:center;gap:10px;justify-content:space-between;margin:0 0 13px;padding:10px 13px;background:#f6f8fb;border:1px solid #e9eef5;border-radius:11px}
.drawer.eh12-admin .student-programs-heading strong{font-size:14px!important;font-weight:800;color:#283b54}
.drawer.eh12-admin .student-program-select-all{display:inline-flex;align-items:center;gap:7px}
.drawer.eh12-admin .student-enrollments-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px!important;max-height:none!important;height:auto!important;overflow:visible!important;margin-bottom:15px}
.drawer.eh12-admin .student-enrollment-row{position:relative;min-height:92px;overflow:visible!important;display:flex!important;justify-content:space-between;align-items:center;gap:12px!important;padding:14px 14px 23px!important;margin:0!important;background:#fff!important;border:1px solid #e0e7f0!important;border-radius:12px!important}
.drawer.eh12-admin .student-enrollment-row::after{content:'';position:absolute;right:14px;bottom:11px;height:4px;width:var(--eh12-progress,0%);max-width:calc(100% - 28px);background:linear-gradient(90deg,#e45a61,#b71c2b);border-radius:5px;transition:width .2s}
.drawer.eh12-admin .student-enrollment-row::before{content:'';position:absolute;right:14px;left:14px;bottom:11px;height:4px;background:#edf1f5;border-radius:5px}
.drawer.eh12-admin .student-enrollment-row::after{z-index:1}
.drawer.eh12-admin .student-enrollment-check{display:flex!important;align-items:center;gap:10px;min-width:0;flex:1;cursor:pointer}
.drawer.eh12-admin .student-enrollment-check::after{content:attr(data-hidden);display:none}
.drawer.eh12-admin .student-enrollment-info{position:relative;min-width:0;display:flex!important;flex-direction:column;gap:5px!important;overflow-wrap:anywhere}
.drawer.eh12-admin .student-enrollment-info b{font-size:16px!important;line-height:1.4;font-weight:800!important;color:#20324b}
.drawer.eh12-admin .student-enrollment-info small{font-size:12px!important;color:#587088!important;font-weight:700!important}
.drawer.eh12-admin .student-enrollment-row[data-eh12-icon] .student-enrollment-info::before{content:attr(data-eh12-icon);display:none}
.drawer.eh12-admin .student-program-remove{background:#fff7f7!important;border:1px solid #f2dfe0!important;color:#ad2734!important;border-radius:9px!important;min-height:35px;font-weight:700!important;font-size:12px!important;cursor:pointer}
.drawer.eh12-admin .student-program-remove:disabled{opacity:.45;cursor:not-allowed}
.drawer.eh12-admin .student-program-add-label{font-size:14px!important;font-weight:800!important;color:#2a4059;margin:8px 0 11px}
.drawer.eh12-admin .student-programs-card .access-actions{display:grid!important;grid-template-columns:minmax(0,1fr) 185px!important;gap:12px!important}
.drawer.eh12-admin .student-programs-card .access-actions select{width:100%!important;min-width:0}
.drawer.eh12-admin .student-programs-card .access-actions button{width:100%;max-width:100%;margin:0}
.drawer.eh12-admin .student-program-bulk{display:flex;gap:12px;flex-wrap:wrap;align-items:center;border-radius:10px;padding:12px 14px;background:#fff8ed;color:#935210;font-size:13px}
.drawer.eh12-admin .student-program-hint{font-size:12px!important;color:#7b8799}
/* Sections: two columns on large screens, one on narrow, always retains original selects. */
.drawer.eh12-admin .drawer-lessons{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px 13px!important}
.drawer.eh12-admin .drawer-lessons > h3,.drawer.eh12-admin .eh12-lessons-count{grid-column:1/-1;margin:0!important}
.drawer.eh12-admin .eh12-lessons-count{color:#677b92;font-size:13px;font-weight:700;margin-bottom:8px!important}
.drawer.eh12-admin .drawer-lesson{display:flex!important;align-items:center;justify-content:space-between;gap:8px!important;background:#f9fafc!important;border:1px solid #e8edf4!important;border-radius:10px!important;padding:11px 13px!important;min-height:58px}
.drawer.eh12-admin .drawer-lesson > span{font-size:13.5px!important;color:#2a4059;font-weight:600;flex:1;min-width:0;line-height:1.55}
.drawer.eh12-admin .drawer-lesson > select{width:116px!important;min-width:0;flex:0 0 116px;min-height:37px!important;font-size:12px!important}
.drawer.eh12-admin > .form-grid{padding-top:19px!important}
.drawer.eh12-admin > .form-grid label.wide{grid-column:1/-1}
/* Study: quieter banner, clear date selectors, duration groups, four equal outcomes. */
.drawer.eh12-admin .study-admin-card{max-width:none}
.drawer.eh12-admin .study-admin-stats{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.drawer.eh12-admin .timeline-admin-card.eh-subscription-ready > .eh-subscription-editor{display:block!important}
.drawer.eh12-admin .timeline-admin-card .eh99-editor{padding-top:0!important}
.drawer.eh12-admin .timeline-admin-card .eh99-editor .eh99-banner{padding:13px 16px!important;margin-bottom:17px!important;background:#fff7f8!important;border:1px solid #f5e5e8!important;gap:12px!important}
.drawer.eh12-admin .timeline-admin-card .eh99-editor .eh99-banner-icon{width:34px!important;height:34px!important;font-size:20px!important;background:#fff;border-radius:9px}
.drawer.eh12-admin .timeline-admin-card .eh99-editor .eh99-banner h3{font-size:15px!important;font-weight:800!important;margin:0 0 3px!important;color:#982533}
.drawer.eh12-admin .timeline-admin-card .eh99-editor .eh99-banner p{font-size:12.5px!important;line-height:1.55!important}
.drawer.eh12-admin .timeline-admin-card .eh99-editor .eh99-top{gap:14px!important}
.drawer.eh12-admin .timeline-admin-card .eh99-editor .eh99-field-heading{font-size:13.5px!important;font-weight:800!important;margin-bottom:8px!important}
.drawer.eh12-admin .timeline-admin-card .eh99-editor .eh99-date-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}
.drawer.eh12-admin .timeline-admin-card .eh99-editor .eh99-calendar-picker{height:48px!important;border-radius:10px!important;box-shadow:none!important}
.drawer.eh12-admin .timeline-admin-card .eh99-editor .eh99-date-display{font-size:15px!important;font-weight:800!important}
.drawer.eh12-admin .timeline-admin-card .eh99-editor .eh99-quick-button{min-height:40px;font-size:12px!important;font-weight:700!important;border-radius:9px}
.drawer.eh12-admin .timeline-admin-card .eh99-editor .eh99-custom-follow{background:#fcfdff!important;border:1px solid #e6ecf3!important;padding:12px 13px!important}
.drawer.eh12-admin .timeline-admin-card .eh99-editor .eh99-follow-toggle{color:#b92a37;text-decoration:none;font-size:13px!important;font-weight:700!important}
.drawer.eh12-admin .timeline-admin-card .eh99-editor .eh99-period{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px!important}
.drawer.eh12-admin .timeline-admin-card .eh99-editor .eh99-duration-card{border:1px solid #e4eaf1!important;background:#f9fafc!important;padding:14px 15px!important;gap:11px!important}
.drawer.eh12-admin .timeline-admin-card .eh99-editor .eh99-duration-title strong{font-size:14.5px!important;font-weight:800!important}
.drawer.eh12-admin .timeline-admin-card .eh99-editor .eh99-duration-title small{font-size:12px!important}
.drawer.eh12-admin .timeline-admin-card .eh99-editor .eh99-duration-controls{gap:7px}
.drawer.eh12-admin .timeline-admin-card .eh99-editor .eh99-duration-chip{font-size:12.5px!important;font-weight:700!important;border-radius:9px!important;padding:7px 12px!important;min-height:36px}
.drawer.eh12-admin .timeline-admin-card .eh99-editor .eh99-duration-chip.is-active{background:var(--eh12-red)!important;border-color:var(--eh12-red)!important;box-shadow:none!important}
.drawer.eh12-admin .timeline-admin-card .eh99-editor .eh99-duration-extra{border-radius:9px!important;font-size:12px!important;min-height:36px!important;max-width:155px!important}
.drawer.eh12-admin .timeline-admin-card .eh99-editor .eh99-date-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px!important;margin-top:17px!important}
.drawer.eh12-admin .timeline-admin-card .eh99-editor .eh99-date-grid > .eh-subscription-date{min-height:73px!important;padding:13px 15px!important;border-radius:11px!important}
.drawer.eh12-admin .timeline-admin-card .eh99-editor .eh99-date-grid > .eh-subscription-date strong{font-size:12px!important;font-weight:700!important}
.drawer.eh12-admin .timeline-admin-card .eh99-editor .eh99-date-grid > .eh-subscription-date b{font-size:16px!important;font-weight:800!important}
.drawer.eh12-admin .timeline-admin-card .eh99-editor .eh99-info{background:transparent!important;border:0!important;padding:7px 1px!important;margin:8px 0!important;font-size:12px!important;color:#708096!important}
.drawer.eh12-admin .timeline-admin-card .eh99-editor .eh99-status{min-height:43px!important;padding:8px 12px!important;font-size:12.5px!important;border-radius:10px!important}
.drawer.eh12-admin .timeline-admin-card .eh99-editor .eh99-status:before{font-size:19px}
/* Basic and account */
.drawer.eh12-admin .student-identity-card .eh11-name-label{display:block;font-size:14px!important}
.drawer.eh12-admin .student-identity-card input[type=text]{display:block;width:100%;margin-top:8px;font-size:17px!important}
.drawer.eh12-admin .eh11-identity-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px}
.drawer.eh12-admin .eh11-record-meta{font-size:12px;color:#6d7d90}
.drawer.eh12-admin .eh11-name-message{font-size:13px;color:#28754c;margin-top:12px}
.drawer.eh12-admin .activity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.drawer.eh12-admin .activity-grid article{border:1px solid #e6ecf3!important;border-radius:10px!important;background:#f8fafc!important;padding:15px!important}
.drawer.eh12-admin .activity-grid strong{font-size:14px!important}
.drawer.eh12-admin .danger-card{background:#fff8f9!important;border-color:#f2d5d9!important}
.drawer.eh12-admin .danger-card .danger-button{background:#b8252e!important;color:#fff!important;font-weight:700;border-radius:9px!important;box-shadow:none!important}
/* Compact footer never overlaps a card's inputs; scroll container adds natural bottom space. */
.drawer.eh12-admin > .eh12-footer{position:sticky;bottom:0;z-index:12;order:100;flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:13px;margin:10px -23px 0;padding:10px 23px calc(10px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e7ecf3;box-shadow:0 -6px 14px rgba(16,32,53,.04);min-height:58px}
.drawer.eh12-admin .eh12-footer-note{flex:1;font-size:12.5px;font-weight:600;color:#718096;line-height:1.6}
.drawer.eh12-admin .eh12-footer-note.is-dirty{color:#b31d2a;font-weight:700}
.drawer.eh12-admin .eh12-general-save{padding:9px 16px;white-space:nowrap}
.drawer.eh12-admin .eh12-general-save[hidden]{display:none!important}
.drawer.eh12-admin .eh12-footer-simple{min-height:51px}
@media(max-width:760px){
 .overlay>aside.drawer.eh12-admin{width:100vw!important;max-width:100vw!important;padding:0 12px!important;border-radius:0!important;scrollbar-gutter:auto!important}
 .drawer.eh12-admin>.eh12-header{margin:0 -12px 12px;padding:13px 14px 9px}
 .drawer.eh12-admin .eh12-title{font-size:19px!important}
 .drawer.eh12-admin .eh12-nav{gap:6px;margin-top:11px}
 .drawer.eh12-admin .eh12-nav button{font-size:12.5px!important;padding:8px 11px;min-height:36px}
 .drawer.eh12-admin > [data-eh12-section]{padding:16px 15px!important;margin-bottom:10px!important}
 .drawer.eh12-admin .student-enrollments-list{grid-template-columns:minmax(0,1fr)!important;gap:9px!important}
 .drawer.eh12-admin .drawer-lessons{grid-template-columns:minmax(0,1fr)!important}
 .drawer.eh12-admin .timeline-admin-card .eh99-editor .eh99-period{grid-template-columns:minmax(0,1fr)!important}
 .drawer.eh12-admin >.eh12-footer{margin:8px -12px 0;padding:9px 12px calc(9px + env(safe-area-inset-bottom))}
 .drawer.eh12-admin .eh12-footer-note{font-size:11px!important}
}
@media(max-width:480px){
 .drawer.eh12-admin .eh12-title{font-size:18px!important}
 .drawer.eh12-admin .eh12-nav{padding-bottom:6px}
 .drawer.eh12-admin > [data-eh12-section]{padding:14px 12px!important}
 .drawer.eh12-admin .student-programs-card .access-actions{grid-template-columns:minmax(0,1fr)!important}
 .drawer.eh12-admin .student-programs-card .access-actions button{width:100%}
 .drawer.eh12-admin > .form-grid{grid-template-columns:minmax(0,1fr)!important}
 .drawer.eh12-admin .timeline-admin-card .eh99-editor .eh99-date-row{grid-template-columns:minmax(0,1fr)!important}
 .drawer.eh12-admin .timeline-admin-card .eh99-editor .eh99-date-quick{display:flex;flex-wrap:wrap}
 .drawer.eh12-admin .timeline-admin-card .eh99-editor .eh99-date-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 .drawer.eh12-admin .timeline-admin-card .eh99-editor .eh99-date-grid>.eh-subscription-date{padding:11px 9px!important;min-height:69px!important}
 .drawer.eh12-admin .timeline-admin-card .eh99-editor .eh99-date-grid>.eh-subscription-date b{font-size:13.5px!important}
 .drawer.eh12-admin .eh12-general-save{font-size:12px!important;padding:8px 10px}
 .drawer.eh12-admin .eh12-footer-note{font-size:10.5px!important}
}
@media(prefers-reduced-motion:reduce){.drawer.eh12-admin *, .drawer.eh12-admin *::after{transition:none!important}}

/* v12 current-program indicator and immediate tab feedback */
.drawer.eh12-admin .eh12-nav button{transition:none!important}
.drawer.eh12-admin .student-enrollment-row[data-eh12-current="1"]{border-color:#e7bdc2!important;background:#fffafb!important}
.drawer.eh12-admin .student-enrollment-row[data-eh12-current="1"] .student-enrollment-info b::after{content:"البرنامج المفتوح";display:inline-block;margin-inline-start:9px;border:1px solid #f3d7dc;background:#fff0f2;color:#ad2734;padding:2px 7px;border-radius:7px;font-size:10px;font-weight:700;vertical-align:middle;white-space:nowrap}
@media(max-width:480px){.drawer.eh12-admin .student-enrollment-row[data-eh12-current="1"] .student-enrollment-info b::after{display:block;width:max-content;margin:5px 0 0}}


/* v36.5.9.13 — drawer pinned LEFT. The content remains Arabic RTL. */
.overlay:has(>aside.drawer.eh12-admin){justify-content:flex-start!important;align-items:stretch!important}
.overlay:has(>aside.drawer.eh12-admin)>aside.drawer.eh12-admin{
 position:fixed!important;inset-inline:auto!important;left:0!important;right:auto!important;top:0!important;bottom:0!important;
 margin:0!important;transform:none!important;border-radius:0 18px 18px 0!important;
 box-shadow:20px 0 45px rgba(15,25,40,.18)!important;direction:rtl!important;
}
/* Admin-only weekly schedule editor. No changes to the student's selection UI. */
.drawer.eh12-admin .eh93-admin-slot{margin-top:14px}
.drawer.eh12-admin .eh913-admin-editor{padding:17px;border:1px solid #e2e9f1;background:#f9fafc;border-radius:13px;display:grid;gap:13px;min-width:0}
.drawer.eh12-admin .eh913-editor-heading strong{font-size:16px!important;font-weight:800!important;color:#24354c}
.drawer.eh12-admin .eh913-editor-heading p{font-size:12.5px!important;line-height:1.75;color:#63748b;margin:5px 0 0}
.drawer.eh12-admin .eh913-day-list{display:grid;gap:9px}
.drawer.eh12-admin .eh913-day-row{display:grid;grid-template-columns:minmax(125px,1.2fr) minmax(110px,1fr) minmax(110px,1fr) auto;gap:10px;align-items:end;background:#fff;border:1px solid #e4eaf2;border-radius:11px;padding:11px}
.drawer.eh12-admin .eh913-day-row label{display:grid;gap:5px;min-width:0;font-size:12px!important;font-weight:700!important}
.drawer.eh12-admin .eh913-day-row :is(select,input){width:100%;min-width:0!important;height:41px!important;margin:0!important;font-size:14px!important;font-weight:600!important}
.drawer.eh12-admin .eh913-day-row input[type=time]{direction:ltr;text-align:center;font-variant-numeric:tabular-nums}
.drawer.eh12-admin .eh913-remove-day{height:41px;padding:0 12px;border:1px solid #f3cbd1;border-radius:9px;background:#fff5f6;color:#b62530;font-weight:700!important;cursor:pointer}
.drawer.eh12-admin .eh913-admin-actions{display:flex;gap:9px;align-items:center;justify-content:flex-start;flex-wrap:wrap}
.drawer.eh12-admin .eh913-add-day{padding:9px 15px;border:1px solid #cddaea;border-radius:9px;background:#fff;color:#284765;font-size:13px!important;font-weight:700!important;min-height:42px;cursor:pointer}
.drawer.eh12-admin .eh913-save{font-size:13.5px!important;font-weight:700!important;border-radius:9px!important}
.drawer.eh12-admin .eh913-add-day:disabled{opacity:.55;cursor:default}
.drawer.eh12-admin .eh913-admin-note{margin:0;font-size:12px!important;color:#6a7a8c;line-height:1.8}
.drawer.eh12-admin .eh913-admin-status{min-height:26px;font-size:12.5px!important;font-weight:700!important;line-height:1.7}
.drawer.eh12-admin .eh913-admin-status[data-state=ok]{color:#217846}
.drawer.eh12-admin .eh913-admin-status[data-state=error]{color:#ba2530}
.drawer.eh12-admin .eh913-admin-status[data-state=pending]{color:#95620c}
.drawer.eh12-admin .eh913-admin-status[data-state=info]{color:#436078}
.drawer.eh12-admin .eh913-open-editor{width:max-content;max-width:100%;font-size:13px!important}
@media(max-width:760px){
 .overlay:has(>aside.drawer.eh12-admin)>aside.drawer.eh12-admin{width:100vw!important;max-width:100vw!important;border-radius:0!important}
 .drawer.eh12-admin .eh913-day-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .drawer.eh12-admin .eh913-day-label{grid-column:1/-1}
 .drawer.eh12-admin .eh913-remove-day{grid-column:1/-1}
 .drawer.eh12-admin .eh913-admin-actions>button{flex:1}
}
@media(max-width:390px){.drawer.eh12-admin .eh913-admin-editor{padding:10px}.drawer.eh12-admin .eh913-day-row{padding:9px}}

/* elhaddad-readability-calm-v36591.css */
/*
 * EL-Haddad Academy | v36.5.9.1 | Readability & Calm UI
 * CSS ONLY: (1) text legibility within admin student list/cards
 *           (2) slightly calmer decorative surfaces on STUDENT portal
 * Does not alter structure, positioning, actions, status classifications,
 * dates, content, API, progress computations, or brand-primary controls.
 * Append this stylesheet AFTER existing styles in public/build/index.html.
 */

/* ===== 1. ADMIN STUDENT LIST: increase small text by ~1-2px ===== */
.dashboard-panel .table-wrap thead th {
  font-size:13px!important;
}
.dashboard-panel .table-wrap tbody tr[data-eh86-group-key] > td {
  font-size:13px!important;
  line-height:1.6!important;
}
.dashboard-panel .table-wrap .student-link {
  font-size:16.5px!important;
  line-height:1.5!important;
}
.dashboard-panel .table-wrap .eh88-code {
  font-size:12.5px!important;
  line-height:1.5!important;
}
.dashboard-panel .table-wrap .admin-student-contacts {
  font-size:12px!important;
  line-height:1.6!important;
}
.dashboard-panel .table-wrap .admin-contact-label {
  font-size:11.5px!important;
}
.dashboard-panel .table-wrap .admin-contact-actions :is(a,span) {
  font-size:12px!important;
  line-height:1.5!important;
}
.dashboard-panel .table-wrap .admin-contact-copy {
  font-size:11px!important;
}
.dashboard-panel .table-wrap td[data-label="الطالب"] > small {
  font-size:11.5px!important;
  color:#5e6c80!important;
}
.dashboard-panel .table-wrap .eh88-metric {
  font-size:12px!important;
  line-height:1.55!important;
}
.dashboard-panel .table-wrap .eh88-label {
  color:#52627a!important;
}
.dashboard-panel .table-wrap .eh88-value {
  font-size:12px!important;
}
.dashboard-panel .table-wrap .attention-badge {
  font-size:11.5px!important;
  line-height:1.45!important;
}
.dashboard-panel .table-wrap .admin-program-tag {
  font-size:12px!important;
}
.dashboard-panel .table-wrap .progress-cell b {
  font-size:14px!important;
}
.dashboard-panel .table-wrap .status-select {
  font-size:13px!important;
}
.dashboard-panel .table-wrap td[data-label="الخطوة التالية"] {
  font-size:13px!important;
  line-height:1.65!important;
}
.dashboard-panel .table-wrap .eh-student-row-actions button {
  font-size:13px!important;
}
.dashboard-panel .table-wrap tbody tr[data-eh86-group-key] > td:not(:first-child):not([data-label="كود الطالب"]):before {
  font-size:11.5px!important;
  color:#58677b!important;
}

/* ===== 2. STUDENT PORTAL: quieter backgrounds, same content and layout ===== */
/* Keep the brand red for active navigation, primary buttons, progress bars,
   progress ring and meaningful status indicators. */
.eh56-portal .eh56-welcome {
  background:linear-gradient(105deg,#fff 16%,#fbf9fa 100%)!important;
  border-color:#eae5e8!important;
}
.eh56-portal .eh56-welcome::before {
  border-color:#f2e9eb!important;
  opacity:.42!important;
}
.eh56-portal .eh56-hero-meta span:first-child {
  background:#fbf6f7!important;
  border-color:#eadce0!important;
  color:#a4454e!important;
}
.eh56-portal .eh56-icon {
  background:#fbf3f4!important;
}
.eh56-portal .eh56-next-step {
  background:#faf9fa!important;
  border-color:#eae2e5!important;
}
.eh56-portal .eh56-next-step > span {
  color:#994751!important;
}
.eh56-portal .eh56-outline {
  border-color:#e7cfd3!important;
  color:#a23b45!important;
}
.eh56-portal .eh56-outline:hover {
  background:#fbf6f7!important;
}
.eh56-portal .eh56-weekday.missed {
  background:#fff8f8!important;
  border-color:#efdfe1!important;
}
.eh56-portal .eh56-weekday.missed span {
  color:#a34750!important;
}
.eh56-portal .eh56-filter button.active {
  background:#fbf6f7!important;
  border-color:#e8d2d5!important;
  color:#a23b45!important;
}
.eh56-portal .eh56-program-card.selected {
  background:#fdfafb!important;
  border-color:#eadfe2!important;
}
.eh56-portal .eh73-diploma {
  background:linear-gradient(110deg,#fff 0%,#fcfafb 100%)!important;
  border-color:#eae0e3!important;
}
.eh56-portal .eh74-date-row.eh74-last,
.eh56-portal .eh74-followup {
  background:#fbfafb!important;
  border-color:#ece1e4!important;
}
.eh56-portal .eh81-followup-start {
  border-color:#e5e9ee!important;
  background:#f9fafc!important;
}
.eh56-portal .eh81-followup-start .eh81-icon {
  background:#fbf2f3!important;
}
.eh56-portal .eh82-learning-focus {
  background:#fafafb!important;
  border-color:#e8e4e7!important;
}
.eh56-portal .eh82-learning-focus .eh82-open:hover {
  background:#fbf6f7!important;
}
/* Completed lessons remain distinctly completed: only soften the wash. */
.eh56-portal .eh56-lesson.done {
  background:#f5fbf8!important;
  border-color:#dcebe3!important;
}
.eh56-portal .eh56-lesson.pending {
  background:#fcfaf6!important;
  border-color:#eee5d6!important;
}
/* Keep dates, numeric progress, alerts and active navigation clearly visible. */

/* elhaddad-flex-schedule-v36593.css */
/* EL-Haddad Academy 36.5.9.3 — no change to existing save handlers or progress widgets */
:root{--eh93-red:#d90000;--eh93-text:#1c2c42;--eh93-muted:#607186;--eh93-border:#dce4ee}
/* Admin drawer on the LEFT; Arabic contents retain RTL flow. Only student management drawer. */
.overlay:has(>aside.drawer.eh90-admin){justify-content:flex-end!important}
.overlay>aside.drawer.eh90-admin{position:fixed!important;top:0!important;left:0!important;right:auto!important;margin:0!important;
 border-radius:0 18px 18px 0!important;box-shadow:14px 0 50px rgba(25,35,55,.18)!important;direction:rtl!important}
/* Clear, compact record identity and subscription information */
.dashboard-panel .table-wrap td[data-label="الطالب"] .student-link{font-size:17px!important;line-height:1.55!important}
.dashboard-panel .table-wrap td[data-label="الطالب"] .eh88-code{font-size:13px!important}
.dashboard-panel .table-wrap td[data-label="الطالب"] .admin-contact-row,
.dashboard-panel .table-wrap td[data-label="الطالب"] .eh88-activity{font-size:12px!important}
.dashboard-panel .table-wrap td[data-label="الطالب"] .admin-contact-actions :is(a,span){font-size:12.5px!important}
.dashboard-panel .table-wrap td[data-label="الطالب"] .eh88-value{font-size:12px!important}
.eh93-date-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:8px 0 5px;grid-column:1/-1!important}
.eh93-date{min-width:0;display:grid;gap:3px;padding:7px 9px;background:#f9fafc;border:1px solid #e8edf4;border-radius:8px;text-align:right}
.eh93-date span{font-size:11.5px;font-weight:700;color:#64748b;line-height:1.45}
.eh93-date b{font-size:12.5px;color:#263b57;line-height:1.45;white-space:normal;overflow-wrap:anywhere}
.dashboard-panel .table-wrap .admin-program-list.eh93-program-stack{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:5px!important}
.dashboard-panel .table-wrap .eh93-program-stack .admin-program-tag{border-radius:9px!important;padding:6px 10px!important;font-size:12px!important}
.eh93-admin-current{border:1px solid #dce8f2;padding:12px;border-radius:11px;background:#f7fafc;margin-top:12px}
.eh93-admin-current b{font-size:14px;color:#253e58}
.eh93-admin-current p{margin:6px 0 0;color:#52687b;line-height:1.9;font-size:12px}
.eh93-admin-slot{margin-top:12px;display:grid;gap:8px}
.eh93-admin-slot .eh93-editor{margin-top:5px}
.eh93-admin-slot>.eh93-muted,.eh93-history{margin:0;color:#68778e;font-size:12px;line-height:1.7}
.eh93-enhanced-admin>label:has(select),.eh93-enhanced-admin>.study-admin-stats,.eh93-enhanced-admin>.access-actions{display:none!important}
/* Schedule selection replaces only the old first-time selector when API confirmed user is student */
body.eh93-hide-native-onboarding .student-page .study-onboarding{display:none!important}
.eh93-onboarding{max-width:920px;margin:30px auto;padding:0 16px}
.eh93-editor{padding:20px;max-width:100%;border:1px solid #e0e7f0;background:#fff;border-radius:18px;box-shadow:0 4px 22px rgba(25,43,69,.045);text-align:right;direction:rtl}
.eh93-editor-head strong{display:block;font-size:23px;line-height:1.5;color:var(--eh93-text)}
.eh93-editor-head p{color:var(--eh93-muted);font-size:14px;line-height:1.8;margin:5px 0 16px}
.eh93-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:15px}
.eh93-option{cursor:pointer;min-height:65px;border:1px solid var(--eh93-border);border-radius:12px;background:#fafbfd;color:#34455e;font:inherit;font-weight:800;font-size:13px;padding:12px;text-align:center;line-height:1.6}
.eh93-option.selected{border-color:#e3474f;background:#fff4f4;color:#af1720;box-shadow:inset 0 0 0 1px #e3474f}
.eh93-caption{display:block;margin:0 0 9px;font-weight:800;color:#33465f;font-size:13px}
.eh93-day-checks{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:12px}
.eh93-check{display:flex;align-items:center;gap:7px;border:1px solid #e2e8f1;border-radius:9px;padding:8px 10px;color:#2e425b;font-size:13px;font-weight:700;cursor:pointer;background:#fff}
.eh93-check:has(input:checked){background:#fff6f6;border-color:#eaa1a5}
.eh93-check:has(input:disabled){opacity:.48;cursor:not-allowed}
.eh93-check input{accent-color:#d90000;width:16px;height:16px}
.eh93-times{display:grid;gap:8px;margin:10px 0 14px}
.eh93-time-row{display:grid;grid-template-columns:minmax(95px,1fr) auto minmax(100px,1fr) auto minmax(100px,1fr);gap:8px;align-items:center;padding:10px;border-radius:10px;background:#f8fafc;border:1px solid #e7edf3;color:#4b5e76;font-size:12px}
.eh93-time-row strong{color:#223550;font-size:14px}
.eh93-time-row input{width:100%;min-width:0;padding:9px;border:1px solid #d5dfeb;border-radius:8px;background:white;color:#20334e;direction:ltr;text-align:center;font-size:14px;font-family:inherit}
.eh93-preview{border-right:3px solid #c7343d;padding:11px 13px;margin:10px 0;background:#f7f9fc;color:#2a405c;border-radius:8px;font-size:13px;line-height:2}
.eh93-buttons{display:flex;flex-wrap:wrap;gap:9px;justify-content:flex-start}
.eh93-primary,.eh93-secondary{font:inherit;cursor:pointer;font-weight:800;font-size:13px;padding:11px 17px;min-height:42px;border-radius:9px}
.eh93-primary{background:#d90000;border:1px solid #d90000;color:white}
.eh93-secondary{background:#fff;border:1px solid #d5deea;color:#2d425e}
.eh93-primary:disabled{opacity:.55;cursor:wait}
.eh93-message{margin:8px 0;min-height:20px;color:#a22d31;font-size:12px;font-weight:700;line-height:1.6}
.eh93-existing-offer{margin:14px 0;padding:14px;border:1px solid #dce4ec;border-radius:12px;background:#fafbfd;display:grid;gap:8px;direction:rtl}
.eh93-existing-offer strong{font-size:16px;color:#233b58}
.eh93-existing-offer p{margin:0;color:#5a6b80;font-size:13px;line-height:1.7}
.eh93-existing-offer button{justify-self:start}
body.eh93-modal-open{overflow:hidden}
.eh93-modal{position:fixed;z-index:4000;inset:0;background:rgba(18,29,46,.53);display:grid;place-items:center;padding:15px;direction:rtl}
.eh93-modal-panel{background:white;max-width:840px;width:100%;max-height:92dvh;overflow:auto;border-radius:20px;box-shadow:0 25px 65px rgba(12,20,36,.25);padding:18px;scrollbar-gutter:stable}
.eh93-modal-top{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:12px}
.eh93-modal-top strong{font-size:18px;color:#1e314b}
.eh93-modal .eh93-editor{box-shadow:none}
@media(max-width:700px){
 .overlay>aside.drawer.eh90-admin{width:100vw!important;max-width:100vw!important;border-radius:0!important}
 .eh93-modes{grid-template-columns:1fr!important}
 .eh93-time-row{grid-template-columns:1fr auto 1fr auto 1fr}
 .eh93-time-row strong{font-size:12px}
 .eh93-date-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .eh93-editor{padding:14px}
 .eh93-editor-head strong{font-size:20px}
}
@media(max-width:375px){.eh93-time-row{grid-template-columns:1fr auto 1fr;gap:6px}.eh93-time-row strong{grid-column:1/-1}.eh93-time-row span:nth-of-type(2){grid-column:2}.eh93-time-row input{padding:7px 3px;font-size:12px}.eh93-date-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.eh93-modal *{animation:none!important;transition:none!important}}

/* elhaddad-student-ux-v36596.css */
/* EL-Haddad Academy v36.5.9.6 — legibility pass on v36.5.9.5; only admin student cards; visual rules only. */
/* EL-Haddad Academy v36.5.9.4 — compact admin list based on original React rows.
   No API changes; native React controls, program choice, edits and actions are untouched. */
:root{--eh94-ink:#17263e;--eh94-muted:#556882;--eh94-line:#e1e7f0;--eh94-red:#d90000}
/* Compact the actual admin row; preserve backend-assigned status colors and row border. */
.dashboard-panel .table-wrap tbody tr[data-eh86-group-key]{
 position:relative!important;min-height:0!important;align-items:center!important;
 gap:10px!important;box-shadow:0 2px 10px rgba(25,38,60,.045)!important;
}
.dashboard-panel .table-wrap tbody tr[data-eh86-group-key] > td{
 min-height:0!important;align-self:center!important;padding:7px 4px!important;
 font-size:14px!important;line-height:1.5!important;
}
.dashboard-panel .table-wrap tbody tr[data-eh86-group-key] > td[data-label="الطالب"]{
 display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
 align-content:center!important;align-items:center!important;gap:3px 8px!important;
 padding:10px 4px 10px 8px!important;position:static!important;text-align:right!important;
}
.dashboard-panel .table-wrap td[data-label="الطالب"] > .student-link{
 grid-column:1!important;grid-row:1!important;justify-self:start!important;
 font-size:17px!important;line-height:1.45!important;font-weight:850!important;margin:0!important;
}
.dashboard-panel .table-wrap td[data-label="الطالب"] > .eh88-code{
 grid-column:2!important;grid-row:1!important;justify-self:end!important;
 display:inline-flex!important;align-items:center!important;margin:0!important;
 padding:3px 6px!important;border:1px solid #d8e1ef!important;border-radius:7px!important;
 background:#f2f6fb!important;color:#2d4667!important;font-size:13px!important;
 font-weight:800!important;line-height:1.4!important;white-space:nowrap!important;
}
.dashboard-panel .table-wrap td[data-label="الطالب"] > .admin-student-contacts{
 grid-column:1/-1!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;
 gap:1px!important;margin:1px 0!important;min-width:0!important;
}
.dashboard-panel .table-wrap td[data-label="الطالب"] .admin-contact-row{
 display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:5px!important;
 padding:1px 0!important;border:0!important;background:transparent!important;min-width:0!important;
}
.dashboard-panel .table-wrap td[data-label="الطالب"] .admin-contact-label{
 min-width:51px!important;color:#526782!important;font-size:12.5px!important;font-weight:750!important;
}
.dashboard-panel .table-wrap td[data-label="الطالب"] .admin-contact-actions{
 display:flex!important;align-items:center!important;flex:1!important;min-width:0!important;
 gap:5px!important;justify-content:flex-start!important;
}
.dashboard-panel .table-wrap td[data-label="الطالب"] .admin-contact-actions :is(a,span){
 font-size:13px!important;line-height:1.45!important;color:#8b2835!important;
 max-width:100%!important;min-width:0!important;text-overflow:ellipsis!important;
 overflow:hidden!important;white-space:nowrap!important;
}
.dashboard-panel .table-wrap td[data-label="الطالب"] .admin-contact-copy{
 padding:3px 6px!important;min-height:28px!important;font-size:11.5px!important;flex:none!important;
}
.dashboard-panel .table-wrap td[data-label="الطالب"] > .eh88-activity{
 grid-column:1/-1!important;display:flex!important;gap:2px 12px!important;
 flex-wrap:wrap!important;margin:0!important;padding:3px 0 0!important;
 border-top:1px solid #edf0f4!important;
}
.dashboard-panel .table-wrap td[data-label="الطالب"] .eh88-metric{
 display:inline-flex!important;gap:4px!important;align-items:center!important;line-height:1.45!important;
}
.dashboard-panel .table-wrap td[data-label="الطالب"] .eh88-label{font-size:12.5px!important;color:#536780!important;font-weight:650!important}
.dashboard-panel .table-wrap td[data-label="الطالب"] .eh88-value{font-size:13px!important;color:#26394f!important;font-weight:800!important}
.dashboard-panel .table-wrap td[data-label="الطالب"] > small{
 grid-column:1!important;margin:0!important;font-size:12px!important;line-height:1.3!important;
}
.dashboard-panel .table-wrap td[data-label="الطالب"] > .attention-badges{
 grid-column:1/-1!important;display:flex!important;flex-wrap:wrap!important;gap:3px!important;
 margin:0!important;
}
.dashboard-panel .table-wrap td[data-label="الطالب"] .attention-badge{font-size:11.5px!important;padding:3px 6px!important;line-height:1.45!important}
/* Remove the oversized 2x2 date cards; keep their real data in one compact horizontal band. */
.dashboard-panel .table-wrap .eh93-date-grid{
 display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
 gap:6px!important;min-width:0!important;margin:0!important;padding:0!important;
}
.dashboard-panel .table-wrap .eh93-date{
 min-width:0!important;display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;
 align-items:baseline!important;gap:4px!important;padding:0!important;
 background:transparent!important;border:0!important;border-radius:0!important;
}
.dashboard-panel .table-wrap .eh93-date span{font-size:12px!important;color:#526782!important;line-height:1.4!important;white-space:nowrap!important}
.dashboard-panel .table-wrap .eh93-date b{font-size:13px!important;color:#29425f!important;font-weight:800!important;line-height:1.4!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.dashboard-panel .table-wrap .admin-program-list.eh93-program-stack{
 flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important;gap:5px!important;
}
.dashboard-panel .table-wrap .admin-program-tag{font-size:12.5px!important;padding:5px 8px!important;min-height:31px!important;border-radius:8px!important}
.dashboard-panel .table-wrap .progress-cell{max-width:155px!important}
.dashboard-panel .table-wrap .progress-cell b{font-size:15px!important}
.dashboard-panel .table-wrap td[data-label="الخطوة التالية"]{
 line-height:1.55!important;font-size:13px!important;max-height:3.15em!important;
 -webkit-line-clamp:2!important;line-clamp:2!important;
}
.dashboard-panel .table-wrap .status-select{min-height:40px!important;font-size:13px!important}
.dashboard-panel .table-wrap .eh-student-row-actions{gap:5px!important;flex-wrap:wrap!important}
.dashboard-panel .table-wrap .eh-student-row-actions button{min-height:40px!important;font-size:13px!important;padding:7px 9px!important}
/* Date visibility is a personal display setting: hide only the visual dates, never their records. */
.dashboard-panel .eh94-dates-switch{border:1px solid #d9e2ee;background:#fff;border-radius:9px;min-height:36px;padding:8px 11px;font-size:13px;font-weight:750;color:#35506f;cursor:pointer;white-space:nowrap}
.dashboard-panel .eh94-dates-switch[aria-pressed="false"]{background:#f7f9fc;color:#65758b}
.dashboard-panel .eh94-dates-switch:focus-visible{outline:3px solid #3866b8;outline-offset:2px}
.dashboard-panel[data-eh94-dates="hide"] .table-wrap .eh93-date-grid{display:none!important}
/* Wide screens: dates are a second, low-height line across the whole student row. */
@media (min-width:1251px){
 .dashboard-panel:not([data-eh89-view="cards"]) .table-wrap tbody tr[data-eh86-group-key]:has(.eh93-date-grid){padding:4px 12px 34px!important}
 .dashboard-panel:not([data-eh89-view="cards"]) .table-wrap tbody tr[data-eh86-group-key]:not(:has(.eh93-date-grid)){padding:4px 12px!important}
 .dashboard-panel:not([data-eh89-view="cards"]) .table-wrap tbody tr[data-eh86-group-key] .eh93-date-grid{
   position:absolute!important;right:17px!important;left:17px!important;bottom:8px!important;
   border-top:1px solid #e9edf4!important;padding-top:7px!important;
 }
 .dashboard-panel:not([data-eh89-view="cards"])[data-eh94-dates="hide"] .table-wrap tbody tr[data-eh86-group-key]{padding-bottom:4px!important}
 .dashboard-panel:not([data-eh89-view="cards"]) .table-wrap thead tr{padding:0 15px!important}
 .dashboard-panel:not([data-eh89-view="cards"]) .table-wrap tbody tr[data-eh86-group-key] >td[data-label="الطالب"]{padding-right:4px!important}
}
/* Wide-screen optional cards: consistent two-column layout, never an empty over-tall row. */
@media (min-width:780px){
 .dashboard-panel[data-eh89-view="cards"] .table-wrap tbody tr[data-eh86-group-key]{padding:5px 4px!important;align-items:start!important}
 .dashboard-panel[data-eh89-view="cards"] .table-wrap .eh93-date-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px 10px!important;border-top:1px solid #ecf0f5!important;padding-top:7px!important}
 .dashboard-panel[data-eh89-view="cards"] .table-wrap .eh93-date{min-width:0!important}
 .dashboard-panel[data-eh89-view="cards"] .table-wrap tbody tr[data-eh86-group-key] >td[data-label="الطالب"]{padding:9px 12px!important}
}
/* Tablet and phones: each student is a readable card, with real dates in two columns. */
@media (max-width:1250px){
 .dashboard-panel .table-wrap tbody tr[data-eh86-group-key]{padding:0!important;align-items:start!important}
 .dashboard-panel .table-wrap tbody tr[data-eh86-group-key] >td[data-label="الطالب"]{padding:10px 12px!important;align-content:start!important}
 .dashboard-panel .table-wrap .eh93-date-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px 12px!important;border-top:1px solid #e8edf3!important;padding-top:7px!important;margin-top:2px!important;grid-column:1/-1!important}
 .dashboard-panel .table-wrap .eh93-date{display:grid!important;gap:0!important}
 .dashboard-panel .table-wrap .eh93-date span{font-size:12px!important}
 .dashboard-panel .table-wrap .eh93-date b{font-size:13px!important}
 .dashboard-panel .table-wrap td[data-label="الطالب"] > .eh88-activity{padding-top:5px!important}
}
@media(max-width:580px){
 .dashboard-panel .table-wrap td[data-label="الطالب"] > .student-link{font-size:16px!important}
 .dashboard-panel .table-wrap td[data-label="الطالب"] > .eh88-code{font-size:12.5px!important;max-width:100%!important;white-space:normal!important}
 .dashboard-panel .table-wrap td[data-label="الطالب"] .admin-contact-label{min-width:46px!important}
 .dashboard-panel .table-wrap td[data-label="الطالب"] .admin-contact-actions :is(a,span){font-size:12.6px!important}
 .dashboard-panel .table-wrap .eh93-date-grid{gap:7px!important}
 .dashboard-panel .table-wrap .eh93-date span{font-size:12px!important}
 .dashboard-panel .table-wrap .eh93-date b{font-size:12.8px!important}
 .dashboard-panel .eh94-dates-switch{font-size:12.5px;padding:7px 9px}
}
@media(max-width:380px){
 .dashboard-panel .table-wrap td[data-label="الطالب"] > .student-link{grid-column:1/-1!important}
 .dashboard-panel .table-wrap td[data-label="الطالب"] > .eh88-code{grid-column:1/-1!important;grid-row:2!important;justify-self:start!important}
 .dashboard-panel .table-wrap .eh93-date-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(prefers-reduced-motion:reduce){.dashboard-panel .table-wrap tbody tr[data-eh86-group-key]{transition:none!important}}
/* Align the count and alert on the same metadata row; contacts share a line on desktop. */
.dashboard-panel .table-wrap td[data-label="الطالب"] > small{grid-column:1!important;grid-row:3!important;align-self:center!important}
.dashboard-panel .table-wrap td[data-label="الطالب"] > .attention-badges{grid-column:2!important;grid-row:3!important;justify-content:flex-end!important;align-self:center!important}
.dashboard-panel .table-wrap td[data-label="الطالب"] > .eh88-activity{grid-column:1/-1!important;grid-row:4!important}
@media (min-width:1251px){
 .dashboard-panel:not([data-eh89-view="cards"]) .table-wrap td[data-label="الطالب"] > .admin-student-contacts{
  grid-template-columns:minmax(0,1fr) minmax(0,1.15fr)!important;gap:6px!important;
 }
 .dashboard-panel:not([data-eh89-view="cards"]) .table-wrap td[data-label="الطالب"] .admin-contact-label{min-width:0!important;font-size:11.7px!important}
 .dashboard-panel:not([data-eh89-view="cards"]) .table-wrap td[data-label="الطالب"] .admin-contact-copy{min-width:25px!important;font-size:11.3px!important}
}
/* On narrow layouts make next action a readable, complete strip above the buttons. */
@media(max-width:1250px){
 .dashboard-panel .table-wrap tbody tr[data-eh86-group-key] >td[data-label="الخطوة التالية"]{
   grid-column:1/-1!important;display:block!important;max-height:none!important;
   -webkit-line-clamp:unset!important;line-clamp:unset!important;
   white-space:normal!important;overflow-wrap:anywhere!important;
 }
 .dashboard-panel .table-wrap tbody tr[data-eh86-group-key] >td[data-label="الخطوة التالية"]::before{margin-bottom:2px!important}
}
@media(min-width:1251px){
 .dashboard-panel:not([data-eh89-view="cards"]) .table-wrap thead tr,
 .dashboard-panel:not([data-eh89-view="cards"]) .table-wrap tbody tr[data-eh86-group-key]{
   grid-template-columns:minmax(355px,3.35fr) minmax(145px,1.35fr) minmax(95px,.95fr) minmax(100px,1fr) minmax(140px,1.4fr) minmax(90px,.9fr)!important;
 }
 .dashboard-panel:not([data-eh89-view="cards"]) .table-wrap td[data-label="الطالب"] .admin-contact-actions{
   flex-wrap:nowrap!important;overflow:hidden!important;
 }
 .dashboard-panel:not([data-eh89-view="cards"]) .table-wrap td[data-label="الطالب"] .admin-contact-actions :is(a,span){
   display:block!important;flex:1!important;min-width:0!important;max-width:none!important;
   white-space:nowrap!important;text-overflow:ellipsis!important;overflow:hidden!important;
 }
 .dashboard-panel:not([data-eh89-view="cards"]) .table-wrap td[data-label="الطالب"] .admin-contact-actions .admin-contact-copy{
   flex:0 0 auto!important;
 }
}


/* === v36.5.9.5: Calm, distinguishable ADMIN status palette ===
   Scope limited to student list; no changes to student portal, forms, data, API,
   manual state values, layout geometry, or primary academy actions.
   Soft surfaces + visible coloured side-edge and legible dropdown text.
   "No status" stays neutral; archived stays neutral. */
.dashboard-panel .table-wrap tbody tr[data-eh86-group-key].row-complete:not(.row-archived){
  background:#F8FCFA!important;border-right-color:#9BBFAA!important;
}
.dashboard-panel .table-wrap tbody tr[data-eh86-group-key].row-follow:not(.row-archived){
  background:#FDFCF8!important;border-right-color:#D2BE93!important;
}
.dashboard-panel .table-wrap tbody tr[data-eh86-group-key].row-incomplete:not(.row-archived){
  background:#FFFAFA!important;border-right-color:#D6A9B0!important;
}
.dashboard-panel .table-wrap tbody tr[data-eh86-group-key].row-archived{
  background:#F7F8FA!important;border-right-color:#9DA8B5!important;
}
/* Legacy rules painted table cells; keep them transparent so row tint is uniform. */
.dashboard-panel .table-wrap tbody tr[data-eh86-group-key]:is(.row-complete,.row-follow,.row-incomplete,.row-archived) > td{
  background:transparent!important;
}
/* Native selector: all states remain distinct and readable. */
.dashboard-panel .table-wrap tbody tr[data-eh86-group-key].row-complete:not(.row-archived) select.status-select{
  background-color:#F0F8F3!important;color:#306147!important;border-color:#CFE4D7!important;
}
.dashboard-panel .table-wrap tbody tr[data-eh86-group-key].row-follow:not(.row-archived) select.status-select{
  background-color:#FFF8EA!important;color:#75571E!important;border-color:#E9DAC0!important;
}
.dashboard-panel .table-wrap tbody tr[data-eh86-group-key].row-incomplete:not(.row-archived) select.status-select{
  background-color:#FDF0F2!important;color:#853B48!important;border-color:#EACFD4!important;
}
.dashboard-panel .table-wrap tbody tr[data-eh86-group-key]:not(.row-complete):not(.row-follow):not(.row-incomplete):not(.row-archived) select.status-select{
  background-color:#FFF!important;color:#273047!important;border-color:#DDE4ED!important;
}
/* The attention alert is still noticeable but no longer visually aggressive. */
.dashboard-panel .table-wrap .attention-badge.red{
  background-color:#FAEEEE!important;color:#92434B!important;border:1px solid #F0D9DD!important;
}
.dashboard-panel .table-wrap .attention-badge.orange{
  background-color:#FCF6E9!important;color:#775A2C!important;border:1px solid #EEDFC6!important;
}
.dashboard-panel .table-wrap .attention-badge.green{
  background-color:#EFF8F2!important;color:#326A4C!important;border:1px solid #D7EBDD!important;
}
/* Highlight on keyboard navigation without making the whole row look dangerous. */
.dashboard-panel .table-wrap select.status-select:focus-visible{
  outline:2px solid #647EAC!important;outline-offset:2px!important;
}

/* 36.6: readable controls and keyboard focus, preserving existing brand/layout. */
.login-card input{font-size:16px!important}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #1866b7!important;outline-offset:3px}
.eh12-panel-anchor{padding:0!important;margin:0!important;border:0!important;min-height:0!important}
.eh3660-quality{border:1px solid #e4b37b;background:#fff8ed;color:#6c430c;border-radius:9px;padding:10px 12px;margin:10px 0;font-size:13px;line-height:1.8}
.eh3660-quality:empty{display:none}
.drawer .program-lesson input:not([type=checkbox]){font-size:16px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* 36.7: scoped presentation. The administration UI remains outside this scope. */
.eh56-portal.eh67-portal{--s-red:#bf1425;--s-ink:#17263b;--s-muted:#52637a;--s-line:#dce4ed;color:var(--s-ink);max-width:1240px;margin:20px auto 40px;direction:rtl;font-family:'Tajawal','Segoe UI',Tahoma,sans-serif;font-size:16px;line-height:1.65}
.eh67-portal *,.eh67-dialog *{box-sizing:border-box}
.eh67-portal [hidden]{display:none!important}
.eh67-portal :is(button,a){touch-action:manipulation}
.eh67-portal :is(h1,h2,p){margin:0}
.eh67-portal h1{font-size:26px!important;line-height:1.4}
.eh67-portal h2{font-size:21px!important;line-height:1.55}
.eh67-kicker{display:block;font-size:14px;font-weight:700;color:#8e1020;margin-bottom:4px}
.eh67-muted{font-size:14px;color:var(--s-muted,#52637a);line-height:1.8}
.eh67-welcome{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 2px 20px}
.eh67-program-badge{display:flex;align-items:center;gap:10px;font-weight:700;font-size:15px}
.eh67-portal .eh56-tabs{display:flex!important;justify-content:flex-start!important;gap:6px!important;padding:7px!important;margin:0 0 22px!important;border:1px solid var(--s-line)!important;border-radius:13px!important;background:#fff!important;box-shadow:none!important;overflow-x:auto}
.eh67-portal .eh56-tab{min-height:46px!important;display:flex!important;align-items:center;justify-content:center;gap:8px!important;flex:0 0 auto!important;padding:9px 18px!important;font-size:15px!important;color:var(--s-muted)!important;border:0!important;border-radius:8px!important;background:transparent!important;white-space:nowrap}
.eh67-portal .eh56-tab.active{background:var(--s-red)!important;color:#fff!important}
.eh67-home{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,1fr);gap:22px;align-items:start}
.eh67-main{min-width:0}
.eh67-next-card,.eh67-schedule-card,.eh67-surface,.eh67-upcoming,.eh67-subscription,.eh67-progress{background:#fff;border:1px solid var(--s-line);border-radius:14px;padding:24px;min-width:0;box-shadow:0 3px 15px #17263b04}
.eh67-next-card{border-top:4px solid var(--s-red);padding-top:20px}
.eh67-next-heading,.eh67-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.eh67-next-card h2{font-size:29px!important;font-weight:800;margin:8px 0 9px}
.eh67-next-card p{color:var(--s-muted);font-size:15px}
.eh67-next-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:24px}
.eh67-primary,.eh67-secondary,.eh67-text-button{appearance:none;font:700 15px/1.6 'Tajawal','Segoe UI',sans-serif;border-radius:9px;cursor:pointer;min-height:46px;padding:10px 18px;display:inline-flex;align-items:center;justify-content:center;gap:9px}
.eh67-primary{background:#bf1425;color:white;border:1px solid #bf1425}
.eh67-primary:hover{background:#9d0c1d;border-color:#9d0c1d}
.eh67-secondary{background:white;color:#9d0c1d;border:1px solid #b66b75}
.eh67-secondary:hover{background:#fff3f4}
.eh67-text-button{border:0;background:transparent;color:#9d0c1d;padding:6px 3px;text-decoration:underline;text-underline-offset:4px;font-size:14px}
.eh67-primary:disabled,.eh67-secondary:disabled{opacity:.65;cursor:wait}
.eh67-progress{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px 20px;margin-top:16px;padding:20px 24px}
.eh67-progress>div:first-child{display:grid;gap:2px}
.eh67-progress span{font-size:14px;color:var(--s-muted)}
.eh67-progress strong{font-size:17px}
.eh67-percent{font-size:25px;font-weight:800}
.eh67-track{display:block;width:100%;height:7px;background:#e7ebf1;border-radius:10px;overflow:hidden;grid-column:1/-1}
.eh67-track>span{height:100%;display:block;background:var(--s-red);border-radius:inherit}
.eh67-recent{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:13px 4px;color:var(--s-muted);font-size:14px}
.eh67-recent svg{color:#17613f;flex:none}
.eh67-upcoming{margin-top:16px;padding:20px 24px}
.eh67-section-title .eh57-icon{color:#a60f20;flex:none}
.eh67-lesson-list{display:grid;gap:10px}
.eh67-lesson{width:100%;text-align:right;display:flex;align-items:center;gap:14px;border:1px solid #dce4ed;background:#fff;color:var(--s-ink);padding:14px 16px;min-height:78px;border-radius:10px;font:inherit;cursor:pointer}
.eh67-lesson:hover{border-color:#bd7983;background:#fffafb}
.eh67-lesson.is-next{border-inline-start:4px solid #bf1425}
.eh67-lesson.is-done{background:#f2faf6;border-color:#c5dfd1}
.eh67-lesson.is-pending{background:#fffbef;border-color:#dfd0a5}
.eh67-lesson-index{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:7px;background:#f0f3f7;color:#40516a;font-size:14px;font-weight:800;direction:ltr}
.eh67-lesson-copy{min-width:0;flex:1}
.eh67-lesson-copy b{display:block;font-size:16px;font-weight:700;overflow-wrap:anywhere}
.eh67-lesson-copy small{display:block;font-size:14px;color:var(--s-muted);margin-top:3px}
.eh67-lesson>.eh57-icon{flex:none;color:#52637a;width:22px;height:22px}
.eh67-lesson.is-done>.eh57-icon{color:#17613f}
.eh67-next-date{padding-bottom:18px}
.eh67-next-date>span{display:block;font-size:14px;color:var(--s-muted)}
.eh67-next-date>strong{display:block;font-size:25px;font-weight:800;line-height:1.5;margin:6px 0}
.eh67-next-date p{font-size:19px;font-weight:700;color:#243c56}
.eh67-next-date small{font-size:13px;color:var(--s-muted)}
.eh67-weekdays{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.eh67-weekday{min-width:0;border:1px solid #dce4ed;background:#f7f9fb;padding:11px 5px;border-radius:8px;text-align:center}
.eh67-weekday b{display:block;font-size:14px}
.eh67-weekday span{font-size:13px;color:#52637a;display:block}
.eh67-weekday.done{background:#edf8f2;border-color:#bfdccc;color:#145c38}
.eh67-weekday.done span{color:#145c38}
.eh67-weekday.today{background:#fff8e7;border-color:#ddc889}
.eh67-weekday.missed{border-style:dashed;background:#fafafa}
.eh67-attendance{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:15px 0 10px;padding-top:14px;border-top:1px solid #e5eaf1;font-size:14px}
.eh67-schedule-card>.eh67-text-button{margin-top:8px}
.eh67-subscription{margin-top:22px;padding:0 22px}
.eh67-subscription summary{font-weight:700;min-height:58px;padding:16px 0;cursor:pointer;list-style-position:inside}
.eh67-subscription summary svg{vertical-align:middle;margin-inline:5px;width:19px;height:19px}
.eh67-date-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-bottom:16px}
.eh67-date-grid>div{display:grid;gap:3px;background:#f7f9fb;border-radius:8px;padding:14px}
.eh67-date-grid span,.eh67-date-grid small{font-size:14px;color:var(--s-muted)}
.eh67-subscription>p{padding-bottom:18px}
.eh67-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-bottom:18px}
.eh67-portal .eh57-program-tabs,.eh67-portal .eh57-lesson-filters{display:flex;gap:6px;flex-wrap:wrap;min-width:0}
.eh67-portal .eh57-program-tab,.eh67-portal .eh57-lesson-filters button{font-size:14px!important;min-height:44px!important;padding:9px 12px!important}
.eh67-schedule-view{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);gap:22px;align-items:start}
.eh67-schedule-view .eh67-surface p{margin-top:14px}
.eh67-program-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.eh67-program-grid.single-program{grid-template-columns:1fr}
.eh67-program-card{font:inherit;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;background:white;border:1px solid #dce4ed;border-radius:12px;padding:22px;text-align:right;color:var(--s-ink);cursor:pointer}
.eh67-program-card:hover{border-color:#b66b75;background:#fffafb}
.eh67-program-card>span:nth-child(2){display:grid;gap:5px}
.eh67-program-card small{font-size:14px;color:var(--s-muted)}
.eh67-program-card>strong{font-size:25px}
.eh67-notice{border:1px solid #b7d6c4;background:#eff9f3;color:#165335;padding:12px 16px;border-radius:10px;margin-bottom:16px;font-size:15px}
.eh67-notice button{font:inherit;font-weight:800;background:transparent;border:0;color:inherit;text-decoration:underline;cursor:pointer;min-height:44px;padding:6px 14px}
.eh67-notice.is-error,.eh67-dialog-status.is-error{color:#9e1424;background:#fff4f4;border-color:#dca6af}
.eh67-empty{padding:24px;color:#52637a}
.eh67-dialog-open{overflow:hidden}
.eh67-dialog{position:fixed;inset:0;z-index:300;background:#17263b80;display:grid;place-items:center;padding:20px;direction:rtl;font-family:'Tajawal','Segoe UI',Tahoma,sans-serif;color:#17263b}
.eh67-dialog-panel{position:relative;background:#fff;border-radius:16px;width:min(560px,100%);max-height:90dvh;overflow:auto;padding:34px;box-shadow:0 20px 70px #17263b33}
.eh67-dialog-panel h2{font-size:25px;line-height:1.6;margin:15px 0}
.eh67-dialog-panel>p{font-size:16px;line-height:1.8}
.eh67-dialog-panel>.eh67-primary{margin-top:16px;width:100%}
.eh67-dialog .eh67-close{position:static;display:block;margin-inline-start:auto;margin-bottom:8px;width:44px;height:44px;border:1px solid #c9d3df;background:#f7f9fb;border-radius:8px;color:#253953;font-size:28px;cursor:pointer}
.eh67-dialog-status{padding:10px 0;margin:8px 0;font-size:15px;color:#17613f;min-height:30px}
.eh67-portal .eh93-existing-offer{margin:16px 0 0!important;padding:14px!important;border-radius:10px!important;box-shadow:none!important;background:#f7f9fb!important}
.eh67-portal .eh93-existing-offer strong{font-size:16px!important}
.eh67-portal .eh93-existing-offer p{font-size:14px!important;color:#52637a!important}
.eh67-portal .eh73-diploma{margin-top:18px!important;padding:18px!important}
@media(max-width:850px){.eh67-home,.eh67-schedule-view{grid-template-columns:1fr}.eh67-schedule-card{order:1}.eh67-main{order:0}.eh67-program-grid{grid-template-columns:1fr}}
@media(max-width:540px){.eh56-portal.eh67-portal{margin:12px 0 28px;font-size:16px}.eh67-welcome{padding:5px 2px 14px;gap:8px}.eh67-portal h1{font-size:22px!important}.eh67-program-badge{font-size:13px;gap:6px}.eh67-portal .eh56-tabs{gap:2px!important;margin-bottom:16px!important;padding:4px!important;flex-wrap:wrap!important}.eh67-portal .eh56-tab{flex:1 1 calc(50% - 4px)!important;font-size:14px!important;min-height:46px!important;padding:8px!important}.eh67-next-card,.eh67-schedule-card,.eh67-surface,.eh67-upcoming{padding:18px}.eh67-next-card h2{font-size:25px!important}.eh67-next-actions{display:grid;grid-template-columns:1fr}.eh67-next-actions>button{width:100%}.eh67-progress{padding:18px;gap:10px}.eh67-progress strong{font-size:16px}.eh67-section-title{align-items:flex-start;flex-wrap:wrap}.eh67-lesson{padding:12px 10px;gap:10px}.eh67-lesson-copy b{font-size:16px}.eh67-lesson-copy small{font-size:13px}.eh67-date-grid{grid-template-columns:1fr}.eh67-weekdays{grid-template-columns:repeat(3,minmax(0,1fr))}.eh67-weekday span{font-size:12px}.eh67-subscription{padding-inline:16px}.eh67-dialog{padding:12px}.eh67-dialog-panel{padding:22px}.eh67-program-card{padding:16px;gap:10px}.eh67-toolbar{display:grid}.eh67-portal .eh57-program-tab,.eh67-portal .eh57-lesson-filters button{font-size:14px!important;min-height:44px!important}.eh67-attendance{align-items:flex-start;flex-wrap:wrap}}
@media(max-width:540px){.eh67-portal .eh56-tabs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.eh67-portal .eh56-tab{min-width:0!important;width:100%!important;white-space:normal!important;line-height:1.5!important}}
/* Restore visible account context in the home sidebar and a compact lesson grid. */
.eh67-sidebar{display:grid;gap:18px;min-width:0}
.eh67-account-program{display:block;margin-bottom:14px;font-size:18px}
.eh67-account-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:18px}
.eh67-account-counts>div{display:grid;text-align:center;background:#f7f9fc;border:1px solid var(--s-line);border-radius:9px;padding:8px}
.eh67-account-counts b{font-size:19px}.eh67-account-counts span{font-size:13px;color:var(--s-muted)}
.eh67-account-dates{display:grid;gap:10px;margin-bottom:14px}
.eh67-account-dates>div{display:grid;gap:3px;background:#f7f9fc;border:1px solid var(--s-line);border-radius:9px;padding:12px}
.eh67-account-dates span,.eh67-account-dates small{font-size:13px;color:var(--s-muted)}
.eh67-account-dates strong{font-size:16px}.eh67-account .eh67-muted{font-size:13px}
.eh67-sections .eh67-lesson-list{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.eh67-sections .eh67-lesson{height:100%;padding:14px 12px;gap:9px}
.eh67-sections .eh67-lesson-copy b{font-size:16px}
@media(max-width:1000px) and (min-width:541px){.eh67-sections .eh67-lesson-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.eh67-sidebar{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.eh67-sidebar .eh67-schedule-card{order:0}}
@media(max-width:540px){.eh67-sidebar,.eh67-sections .eh67-lesson-list{grid-template-columns:1fr}}
.eh67-account-dates .eh81-followup-start,.eh67-date-grid .eh81-followup-start{display:block!important;margin:0!important;background:#f7f9fc!important;border:1px solid var(--s-line)!important;padding:12px!important;border-radius:9px!important;box-shadow:none!important}.eh67-account-dates .eh81-info,.eh67-date-grid .eh81-info{display:grid;gap:3px}.eh67-account-dates .eh81-icon,.eh67-date-grid .eh81-icon{display:none!important}
.eh67-account-dates{grid-template-columns:repeat(2,minmax(0,1fr))}.eh67-account-dates .eh81-followup-start{order:0}.eh67-account-dates .eh81-label,.eh67-account-dates .eh81-note{font-size:13px!important;color:var(--s-muted)!important}.eh67-account-dates .eh81-date{font-size:16px!important;color:var(--s-ink)!important}@media(max-width:360px){.eh67-account-dates{grid-template-columns:1fr}}
/* 36.8: task-first responsive student home. */
.eh68-home{display:grid;gap:18px}.eh68-top{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(280px,1fr);gap:18px;align-items:stretch}
.eh68-top .eh67-schedule-card{padding:20px}.eh68-top .eh67-next-date{padding-bottom:12px}.eh68-top .eh67-next-date>strong{font-size:21px}.eh68-top .eh67-weekday{padding:8px 4px}.eh68-top .eh67-attendance{gap:8px}.eh68-top .eh67-attendance span{font-size:13px}
.eh68-continue{display:grid;grid-template-columns:minmax(0,1fr) 130px;gap:22px;align-items:center;padding:24px}.eh68-next-copy{min-width:0}.eh68-continue h2{font-size:26px!important;overflow-wrap:anywhere}.eh68-continue .eh67-next-actions{margin-top:18px}.eh68-continue .eh67-muted{display:block;margin-top:8px}
.eh68-progress-copy{display:grid;justify-items:center;text-align:center;gap:9px;font-size:14px;color:var(--s-muted)}.eh68-progress{position:relative;width:120px;height:120px;display:grid;place-items:center}.eh68-progress svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg);overflow:visible}.eh68-progress circle{fill:none;stroke-width:8}.eh68-ring-track{stroke:#e7ebf1}.eh68-ring-value{stroke:#bf1425;stroke-linecap:butt}.eh68-progress b{font-size:27px;color:var(--s-ink)}
.eh68-programs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.eh68-program{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid var(--s-line);border-radius:10px;padding:14px;background:#fff;color:var(--s-ink);font:inherit;text-align:start;cursor:pointer;min-width:0}.eh68-program>span:nth-child(2){display:grid;min-width:0}.eh68-program b{overflow-wrap:anywhere}.eh68-program small{font-size:13px;color:var(--s-muted)}.eh68-program.is-current{border-color:#bf1425;background:#fff8f9}.eh68-program:hover{border-color:#9d0c1d}.eh68-program .eh67-track{height:5px}.eh68-program>strong{font-size:16px}
.eh68-upcoming,.eh68-postponed{margin-top:0}.eh68-home .eh67-lesson-list{grid-template-columns:repeat(3,minmax(0,1fr))}.eh68-home .eh67-lesson{padding:12px;gap:9px;min-height:78px;height:100%}.eh68-home .eh67-lesson-copy b{font-size:16px}.eh68-home .eh67-lesson-copy small{font-size:13px}
.eh68-postponed{border-color:#dfd0a5}.eh68-followup{display:flex;gap:9px;align-items:center;flex-wrap:wrap;font-size:14px}.eh68-followup small{font-size:13px;color:var(--s-muted)}.eh68-subscription{padding:18px 20px}.eh68-subscription summary{cursor:pointer;min-height:44px;display:list-item;list-style-position:inside;font-size:14px;font-weight:700;color:#8e1020}.eh68-date-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:8px}.eh68-date-grid>div{min-width:0;overflow-wrap:anywhere}.eh68-date-grid strong{font-size:15px}.eh68-date-grid .eh81-label,.eh68-date-grid .eh81-note{font-size:13px!important;color:var(--s-muted)!important}.eh68-date-grid .eh81-date{font-size:15px!important;color:var(--s-ink)!important}
@media(max-width:1024px){.eh68-top{grid-template-columns:minmax(0,1.5fr) minmax(250px,1fr)}.eh68-continue{grid-template-columns:minmax(0,1fr) 96px;gap:14px;padding:20px}.eh68-progress{width:94px;height:94px}.eh68-progress b{font-size:24px}.eh68-continue h2{font-size:23px!important}.eh68-home .eh67-lesson-list{grid-template-columns:repeat(2,minmax(0,1fr))}.eh68-date-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.eh68-top{grid-template-columns:1fr}.eh68-top .eh67-schedule-card{order:0}.eh68-top .eh67-next-date>strong{font-size:21px}.eh68-programs{gap:8px}.eh68-program{padding:11px;gap:7px}.eh68-program .eh57c-app{width:28px;height:28px}.eh68-program>strong{font-size:14px}}
@media(max-width:540px){.eh68-home{gap:14px}.eh68-continue{grid-template-columns:minmax(0,1fr) 78px;gap:12px;padding:18px}.eh68-continue h2{font-size:21px!important}.eh68-next-copy>p{font-size:14px}.eh68-progress{width:76px;height:76px}.eh68-progress b{font-size:20px}.eh68-progress-copy{font-size:12px;gap:7px}.eh68-continue .eh67-next-actions{display:block}.eh68-continue .eh67-primary{width:100%;font-size:14px;padding:10px 8px}.eh68-continue .eh67-next-heading{margin-bottom:8px}.eh68-programs{grid-template-columns:1fr}.eh68-program{grid-template-columns:auto minmax(0,1fr) auto;padding:10px 12px}.eh68-program>span:nth-child(2){display:flex;align-items:center;justify-content:space-between;gap:8px}.eh68-home .eh67-lesson-list{grid-template-columns:1fr}.eh68-journey,.eh68-upcoming,.eh68-postponed{padding:16px}.eh68-subscription .eh67-section-title{display:grid;gap:6px}.eh68-subscription h2{font-size:18px!important}.eh68-followup{gap:4px 9px;font-size:14px}.eh68-date-grid{grid-template-columns:1fr}.eh67-portal .eh56-tabs{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:2px!important}.eh67-portal .eh56-tab{font-size:12px!important;flex-direction:column;gap:3px!important;padding:6px 3px!important;min-height:56px!important}.eh67-portal .eh56-tab .eh57-icon{width:18px;height:18px}.eh67-welcome{padding-bottom:12px}}
@media(prefers-reduced-motion:reduce){.eh68-progress *{animation:none!important;transition:none!important}}
.eh68-programs{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}@media(max-width:540px){.eh68-programs{grid-template-columns:1fr}}
.eh68-top .eh67-attendance{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.eh68-top .eh67-attendance strong{white-space:nowrap;font-size:14px}.eh68-top .eh67-attendance span{line-height:1.5}@media(min-width:761px) and (max-width:1024px){.eh68-top .eh67-schedule-card{padding:16px}.eh68-top .eh67-section-title h2{font-size:18px!important}.eh68-top .eh67-next-date>strong{font-size:18px}.eh68-top .eh67-next-date p{font-size:16px}.eh68-top .eh67-next-date>span,.eh68-top .eh67-next-date small{font-size:12px}.eh68-top .eh67-weekday b,.eh68-top .eh67-weekday span{font-size:12px;line-height:1.5}}
.eh68-continue.is-empty{grid-template-columns:1fr}
.eh68-followup.is-expired{color:#94182a;background:#fff3f4;border:1px solid #e8c8cc;border-radius:8px;padding:8px 12px}.eh68-followup.is-expired small{color:#94182a}.eh67-portal{scroll-margin-top:100px}
/* 36.8.1: limited refinements, without fixed page height or clipped content. */
.eh69-lesson-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.eh69-pending-button{font:700 14px/1.5 'Tajawal','Segoe UI',sans-serif;min-height:44px;padding:8px 12px;border:1px solid #b89b56;border-radius:8px;background:#fffbef;color:#6d4b0b;cursor:pointer}.eh69-pending-button:hover{background:#fff3ce}
.eh69-date-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:8px}.eh69-date-groups>section{min-width:0}.eh69-date-groups>section+section{border-inline-start:1px solid var(--s-line);padding-inline-start:18px}.eh69-date-groups h3{font-size:16px;line-height:1.5;margin:0 0 8px}.eh69-date-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}.eh69-date-items>div{display:grid;gap:3px;background:#f7f9fc;border:1px solid var(--s-line);border-radius:8px;padding:10px;min-width:0;overflow-wrap:anywhere}.eh69-date-items span,.eh69-date-items small{font-size:13px;color:var(--s-muted)}.eh69-date-items strong{font-size:15px}.eh69-date-items .eh81-label,.eh69-date-items .eh81-note{font-size:13px!important;color:var(--s-muted)!important}.eh69-date-items .eh81-date{font-size:15px!important;color:var(--s-ink)!important}
@media(max-width:640px){.eh69-date-groups{grid-template-columns:1fr}.eh69-date-groups>section+section{border-inline-start:0;border-top:1px solid var(--s-line);padding-inline-start:0;padding-top:14px}.eh69-date-items{grid-template-columns:1fr}.eh69-lesson-actions{gap:8px}}
/* Local composition review: bounded width and paired content, no forced viewport fit. */
@media(min-width:1100px){
.shell:has(>.eh67-portal .eh68-home){max-width:1360px;width:calc(100% - 64px);margin-inline:auto}
.eh56-portal.eh67-portal:has(.eh68-home){width:100%;max-width:1280px;margin:16px auto 28px;padding:0}
.eh67-portal:has(.eh68-home) .eh67-welcome{padding:0 2px 14px}.eh67-portal:has(.eh68-home) h1{font-size:25px!important}.eh67-portal:has(.eh68-home) .eh56-tabs{margin-bottom:16px!important}
.eh68-home{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch}
.eh68-top,.eh69-subscription{grid-column:1/-1}.eh68-top{grid-template-columns:minmax(0,1.65fr) minmax(340px,1fr);gap:16px}
.eh68-continue{padding:24px;grid-template-columns:104px minmax(0,1fr);gap:22px;align-content:center}.eh68-next-copy{grid-column:2;grid-row:1}.eh68-progress-copy{grid-column:1;grid-row:1}.eh68-progress{width:100px;height:100px}.eh68-progress b{font-size:26px}.eh68-continue h2{font-size:25px!important}.eh68-continue .eh67-next-heading{justify-content:flex-start;gap:10px}.eh68-continue .eh67-next-actions{margin-top:16px}
.eh68-top .eh67-schedule-card{padding:20px}.eh68-top .eh67-section-title{margin-bottom:10px}.eh68-top .eh67-next-date{padding-bottom:12px}.eh68-top .eh67-next-date>strong{font-size:20px}.eh68-top .eh67-next-date p{font-size:16px}.eh68-top .eh67-weekday{padding:8px 4px}.eh68-top .eh67-attendance{margin-top:12px;padding-top:10px}.eh68-top .eh67-attendance strong{font-size:14px}
.eh68-home>.eh68-journey,.eh68-home>.eh68-upcoming{margin:0;padding:20px;min-width:0}.eh68-home .eh67-section-title{margin-bottom:12px}.eh68-home .eh67-section-title h2{font-size:20px!important}
.eh68-programs{grid-template-columns:1fr;gap:9px}.eh68-program{grid-template-columns:32px minmax(0,1fr) auto;gap:6px 10px;padding:10px 12px;background:#fbfcfe}.eh68-program>span:nth-child(2){display:flex;align-items:center;justify-content:space-between;gap:12px}.eh68-program .eh57c-app{width:30px;height:30px}.eh68-program .eh67-track{height:4px}.eh68-program.is-current{background:#fff8f9}
.eh68-home .eh67-lesson-list{grid-template-columns:1fr;gap:9px}.eh68-home .eh67-lesson{padding:10px 12px;min-height:64px}.eh68-home .eh67-lesson-copy b{font-size:16px}.eh69-lesson-actions{gap:8px}.eh69-pending-button{font-size:13px;padding:7px 9px}
.eh69-subscription{padding:18px 20px}.eh69-subscription details[open]>summary{display:none}.eh69-subscription>.eh67-section-title{margin-bottom:12px}.eh69-date-groups{margin:0;gap:20px}.eh69-date-items>div{background:#f7f9fc;border:0}.eh69-subscription .eh81-followup-start{border:0!important}
}
@media(min-width:1100px){.eh68-top .eh67-schedule-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:10px 14px;padding:18px;align-content:center}.eh68-top .eh67-schedule-card>.eh67-section-title{grid-column:1/-1;margin:0}.eh68-top .eh67-next-date{grid-column:1;grid-row:2;padding:0}.eh68-top .eh67-next-date>strong{font-size:19px;margin:4px 0}.eh68-top .eh67-next-date>span,.eh68-top .eh67-next-date small{font-size:12px}.eh68-top .eh67-next-date p{font-size:16px}.eh68-top .eh67-weekdays{grid-column:2;grid-row:2;align-content:start}.eh68-top .eh67-weekday{padding:9px 3px}.eh68-top .eh67-weekday b,.eh68-top .eh67-weekday span{font-size:12px;line-height:1.5}.eh68-top .eh67-attendance{grid-column:1;grid-row:3;grid-template-columns:1fr;gap:2px;margin:0;padding:0;border:0}.eh68-top .eh67-attendance span{font-size:12px}.eh68-top .eh67-schedule-card>.eh67-text-button{grid-column:2;grid-row:3;justify-self:end;align-self:center;margin:0;min-height:44px}.eh68-continue{padding:20px 24px}.eh68-continue h2{font-size:24px!important}.eh68-program .eh57c-app{justify-self:center}.eh68-program{gap:7px 12px}}

/* Balanced home: useful counts without duplicate full-width cards. */
.eh70-state-counts{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 10px;font-size:12px;line-height:1.6;color:var(--s-muted);max-width:155px}.eh70-state-counts span{white-space:nowrap}.eh70-state-counts b{color:var(--s-ink)}
.eh70-diploma-total{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid var(--s-line);font-size:14px}.eh70-diploma-total>.eh67-track{grid-column:1/-1;height:5px}.eh70-diploma-total>strong{color:var(--s-ink)}
@media(max-width:540px){.eh70-state-counts{display:grid;gap:2px;font-size:12px}.eh68-progress-copy{align-self:center}.eh68-programs{grid-template-columns:1fr}.eh70-diploma-total{font-size:13px}}

.eh68-continue>.eh70-state-counts{grid-column:1/-1;display:flex;justify-content:flex-start;gap:8px 20px;max-width:none;border-top:1px solid var(--s-line);padding-top:10px;font-size:14px}.eh68-continue>.eh70-state-counts b{font-size:15px}
