@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800&display=swap');
:root{--navy:#173b63;--blue:#347db7;--blue2:#eaf3fb;--ink:#26394d;--muted:#78899a;--line:#e5edf4;--bg:#f3f6fa;--green:#17835f;--red:#b54b58}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Vazirmatn,Tahoma,sans-serif;font-size:14px}a{color:inherit;text-decoration:none}.topbar{height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 28px}.brand{display:flex;align-items:center;gap:12px;color:var(--navy)}.brand b,.brand small{display:block}.brand small{font-size:11px;color:var(--muted);margin-top:3px}.brand-icon{width:42px;height:42px;background:var(--blue2);color:var(--blue);border-radius:13px;display:grid;place-items:center;font-size:22px;font-weight:800}.top-actions{display:flex;gap:22px;align-items:center;font-size:12px;color:#637589}.logout{color:var(--red)}.layout{display:flex;min-height:calc(100vh - 110px)}.sidebar{width:245px;flex:none;background:#fff;border-left:1px solid var(--line);padding:22px 14px}.side-label{font-size:10px;color:#a0acb8;padding:5px 12px 13px}.sidebar a{display:block;padding:11px 12px;border-radius:9px;color:#52677b;font-size:12px;margin:3px 0}.sidebar a:hover{background:var(--blue2);color:var(--navy)}.content{flex:1;min-width:0;padding:28px 32px;max-width:1500px;margin:auto;width:100%}h1{font-size:22px;color:var(--navy);margin:0 0 20px}h2{font-size:16px;color:var(--navy);margin:0 0 16px}h3{font-size:15px;color:var(--navy);margin:0 0 8px}.welcome{background:linear-gradient(115deg,#173b63,#397fb5);color:white;border-radius:18px;padding:27px 30px;display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.welcome h1{color:white;margin:7px 0;font-size:23px}.welcome p{margin:0;color:#d8e8f5;font-size:12px}.eyebrow{font-size:11px;color:#a9cce6}.welcome-symbol{font-size:46px;opacity:.75}.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:13px;margin-bottom:20px}.stat-card{background:white;border:1px solid var(--line);border-radius:14px;padding:17px}.stat-card span{display:block;color:var(--muted);font-size:11px}.stat-card b{display:block;font-size:26px;color:var(--navy);margin-top:6px}.panel{background:white;border:1px solid var(--line);border-radius:15px;padding:21px;margin-bottom:17px;box-shadow:0 4px 15px rgba(24,59,96,.025)}.panel small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.panel-head,.row-between{display:flex;align-items:center;justify-content:space-between;gap:15px}.grid-two{display:grid;grid-template-columns:1fr 1fr;gap:17px}.list-row{padding:12px 0;border-bottom:1px solid var(--line)}.list-row:last-child{border:0}.list-row b{display:block;font-size:13px}.text-link{display:inline-block;color:var(--blue);font-size:12px;margin-top:12px}.quick-links{display:flex;flex-wrap:wrap;gap:10px}.quick-links a{background:var(--blue2);color:var(--navy);padding:13px 16px;border-radius:10px;font-size:12px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.form-grid label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#5b6f83}.form-grid input,.form-grid select,.form-grid textarea,select,input,textarea{font-family:inherit}.form-grid input,.form-grid select,.form-grid textarea,.content>section select{border:1px solid #dce5ed;border-radius:9px;padding:10px 11px;font-size:12px;background:white;color:var(--ink);min-width:0}.form-grid textarea{min-height:75px}.wide{grid-column:1/-1}.btn{display:inline-block;border:0;border-radius:9px;padding:10px 17px;background:#edf2f7;color:#52677b;font:inherit;font-size:12px;cursor:pointer}.btn.primary{background:var(--blue);color:white}.btn.danger{background:#fff0f1;color:var(--red)}.btn.small{padding:7px 11px;font-size:10px}.btn.full{width:100%;margin-top:20px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px;min-width:520px}th,td{text-align:right;padding:12px;border-bottom:1px solid var(--line)}th{background:#f7f9fb;color:#718194;font-weight:600}.notice{padding:12px 15px;border-radius:10px;margin-bottom:17px;font-size:12px;background:#e9f7f1;color:var(--green)}.notice.error{background:#fff0f1;color:var(--red)}.pill{display:inline-block;padding:5px 9px;border-radius:30px;background:#edf4fa;color:#3b719e;font-size:10px}.muted{color:var(--muted);font-size:12px}.inline-form{display:flex;gap:6px}.check-grid{display:flex;gap:9px;flex-wrap:wrap;margin-top:9px}.check-option{display:flex!important;flex-direction:row!important;align-items:center;background:#f6f9fc;padding:9px;border-radius:8px}.attendance-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.attendance-row span{flex:1}.narrow{max-width:650px}.footer{text-align:center;color:#9aa7b4;font-size:10px;padding:16px}.login-screen{min-height:100vh;display:grid;place-items:center;padding:18px;background:linear-gradient(135deg,#edf4fb,#f9fbfd)}.login-box{width:min(420px,100%);background:white;padding:34px;border-radius:19px;box-shadow:0 15px 50px rgba(23,59,99,.1)}.login-box .big{width:58px;height:58px;font-size:28px;margin:auto}.login-box h1{text-align:center;font-size:20px;margin:15px 0 4px}.login-box p{text-align:center;color:var(--muted);font-size:12px;margin:0 0 24px}.login-box label{display:block;color:#5c6e80;font-size:12px;margin:13px 0 6px}.login-box input{width:100%;border:1px solid #dce5ed;border-radius:9px;padding:12px;font-size:13px}
@media(max-width:850px){.sidebar{width:205px}.content{padding:22px 18px}.top-actions{gap:12px}}
/* فقط پنل کارمند Mobile First و کاملاً ریسپانسیو است؛ پنل‌های مدیریتی عمداً دسکتاپ‌محور باقی می‌مانند. */
@media(max-width:700px){body.role-employee{background:#f1f5f9}.role-employee .topbar{height:62px;padding:0 13px}.role-employee .brand{gap:8px}.role-employee .brand-icon{width:36px;height:36px}.role-employee .brand b{font-size:11px}.role-employee .brand small{font-size:9px}.role-employee .top-actions a:not(.logout){display:none}.role-employee .top-actions{font-size:11px}.role-employee .layout{display:block;min-height:calc(100vh - 90px)}.role-employee .sidebar{display:none}.role-employee .content{padding:14px 11px}.role-employee h1{font-size:19px}.role-employee .welcome{padding:18px 16px;border-radius:15px;margin-bottom:13px}.role-employee .welcome h1{font-size:18px;margin:6px 0}.role-employee .welcome p{font-size:10px;line-height:1.9}.role-employee .welcome-symbol{font-size:32px}.role-employee .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:13px}.role-employee .stat-card{padding:12px;border-radius:12px}.role-employee .stat-card span{font-size:10px}.role-employee .stat-card b{font-size:22px}.role-employee .grid-two{grid-template-columns:1fr;gap:0}.role-employee .panel{padding:15px 13px;border-radius:13px;margin-bottom:12px}.role-employee .panel h2{font-size:14px}.role-employee .panel h3{font-size:14px}.role-employee .panel p{font-size:11px;line-height:1.9}.role-employee .btn{min-height:42px}.role-employee .form-grid{grid-template-columns:1fr}.role-employee .form-grid label{font-size:11px}.role-employee .form-grid input,.role-employee .form-grid select,.role-employee .form-grid textarea{font-size:16px;min-height:43px}.role-employee .table-wrap{overflow-x:auto}.role-employee .quick-links{display:grid;grid-template-columns:1fr 1fr}.role-employee .quick-links a{text-align:center;padding:12px 7px;font-size:10px}.role-employee .footer{font-size:9px}}

.mobile-nav{display:none}
@media(max-width:700px){.role-employee .mobile-nav{display:flex;position:fixed;z-index:50;bottom:0;right:0;left:0;height:62px;background:#fff;border-top:1px solid #e4ebf2;justify-content:space-around;align-items:center;padding:4px 3px calc(4px + env(safe-area-inset-bottom));box-shadow:0 -4px 18px rgba(20,55,90,.07)}.role-employee .mobile-nav a{display:flex;flex:1;min-width:0;flex-direction:column;align-items:center;gap:2px;color:#58718a;font-size:17px}.role-employee .mobile-nav small{font-size:8px;white-space:nowrap}.role-employee .content{padding-bottom:82px}.role-employee .footer{padding-bottom:72px}}

/* اصلاح یکپارچگی صفحات داخلی پنل مدیریت */
.sidebar a.active{background:var(--blue2);color:var(--navy);font-weight:700;border-right:3px solid var(--blue)}
.content label{font-size:12px;color:#5b6f83}
.content input:not([type=checkbox]):not([type=radio]):not([type=file]),.content select,.content textarea{font-family:Vazirmatn,Tahoma,sans-serif;border:1px solid #dce5ed;border-radius:9px;padding:10px 11px;font-size:12px;background:#fff;color:var(--ink);min-width:0;max-width:100%}
.content button,.content .btn{font-family:Vazirmatn,Tahoma,sans-serif}
.content input[type=file]{max-width:100%;font-family:Vazirmatn,Tahoma,sans-serif;font-size:12px}
.content form>label{display:flex;flex-direction:column;gap:7px}
.content .panel>form:not(.form-grid){display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.content .panel>form:not(.form-grid) select{min-width:230px}
.content .table-wrap{width:100%;border:1px solid var(--line);border-radius:11px}
.content table{min-width:620px}
.content th:first-child,.content td:first-child{border-right:0}
.content .inline-form{align-items:center;flex-wrap:wrap}
.content .attendance-row{display:flex;flex-direction:row;gap:12px}
.content .attendance-row input{accent-color:var(--blue)}
/* Supervisor management additions */
.btn.danger{background:#fff0f0;color:#b42318;border:1px solid #f2caca}.table-wrap{overflow-x:auto}.table-wrap table{width:100%;border-collapse:collapse;min-width:680px}.table-wrap th,.table-wrap td{padding:12px 10px;text-align:right;border-bottom:1px solid #e9edf2;vertical-align:middle}.table-wrap th{background:#f6f8fb;color:#475467;font-weight:700}.table-wrap td small{display:block;color:#667085;margin-top:4px}.panel fieldset{border:1px solid #e4e7ec;border-radius:14px;margin:14px 0;padding:16px}.panel legend{padding:0 8px;font-weight:700}.progress{height:9px;background:#edf0f5;border-radius:20px;overflow:hidden;margin:7px 0 14px}.progress span{display:block;height:100%;background:linear-gradient(90deg,#5676c8,#27a58b);border-radius:20px}.survey-bars{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px;margin:8px 0 18px}.survey-bars small{font-size:12px;color:#667085}.quick-links{display:flex;gap:10px;flex-wrap:wrap}.quick-links a{padding:10px 14px;border:1px solid #e4e7ec;border-radius:10px;background:#fafbfc;color:inherit;text-decoration:none}@media(max-width:700px){.table-wrap table{min-width:720px}.survey-bars{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v4 enhancements */
.filter-row{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.filter-row label{min-width:180px;flex:1}.modal-backdrop{display:none;position:fixed;inset:0;background:#101827aa;z-index:1000;align-items:center;justify-content:center;padding:18px}.modal-card{background:#fff;color:#182333;border-radius:16px;padding:22px;max-width:850px;width:100%;max-height:85vh;overflow:auto;box-shadow:0 18px 60px #0004}.metric{border:0;background:#eef3fa;color:#24558c;border-radius:8px;padding:7px 10px;cursor:pointer;font-weight:700}.staff-option[hidden]{display:none}.staff-option small{display:block;color:#758195}.chip-list{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}

.survey-area-card{background:linear-gradient(180deg,#fff,#f8faff);border:1px solid #dfe7f2!important;border-radius:16px!important;padding:18px!important}.survey-area-card legend{color:#314c70;font-size:15px}.survey-area-card label{margin:10px 0}.survey-area-card .btn.small{margin:5px 0 10px}.survey-report{border:1px solid #e7edf5;border-radius:14px;padding:14px;margin:12px 0;background:#fbfcfe}

/* بهبود انتخاب تاریخ شمسی و چیدمان سؤال‌ها */
.jalali-picker{display:flex;gap:8px;min-width:220px}.jalali-picker select{flex:1;min-width:0}.survey-question-row{display:flex;flex-direction:column;gap:6px;margin:12px 0;padding:10px;border:1px solid #e4e7ec;border-radius:10px}.check-score-item{border:1px solid #e1e5eb;border-radius:12px;padding:14px;margin:12px 0}.score-options{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}.score-options label{display:flex;align-items:center;gap:5px}.score-options span{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid #cbd5e1;border-radius:9px}.checklist-score-form{max-width:850px}.

/* Employee dashboard and learning pages */
.alert-stack{background:#fff7f7;border:1px solid #fecaca;border-radius:18px;padding:18px;margin:18px 0}.alert-stack h2{margin:0 0 12px;color:#991b1b}.alert-red{display:flex;align-items:center;gap:10px;color:#991b1b;background:#fee2e2;border-radius:12px;padding:12px;margin:8px 0;font-weight:700}.alert-red span{display:inline-flex;width:25px;height:25px;align-items:center;justify-content:center;border-radius:50%;background:#dc2626;color:#fff}.progress-overview,.pdp-hero,.employee-page-hero{border-radius:22px;padding:24px;margin:18px 0;background:linear-gradient(125deg,#102c4c,#245b78);color:#fff;box-shadow:0 12px 30px #102c4c22}.progress-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.progress-heading h2,.pdp-hero h1,.employee-page-hero h1{color:#fff;margin:6px 0}.progress-heading>strong{font-size:34px}.progress-track{height:12px;border-radius:20px;background:#ffffff38;overflow:hidden;margin:18px 0}.progress-track i{display:block;height:100%;border-radius:20px;background:linear-gradient(90deg,#f4c66a,#fff0b3)}.progress-comparison{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.progress-comparison>div{background:#ffffff18;border:1px solid #ffffff25;border-radius:13px;padding:12px}.progress-comparison small,.progress-comparison b{display:block}.progress-comparison b{font-size:20px;margin-top:5px}.dashboard-feature{min-height:210px}.pdp-hero{background:linear-gradient(125deg,#283d63,#536c91)}.pdp-hero-top{display:flex;justify-content:space-between;align-items:center}.pdp-course-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.pdp-select-card,.pdp-course-card{display:flex;align-items:center;gap:12px;padding:15px;border:1px solid #e1e7ef;border-radius:15px;background:#fff}.pdp-select-card input{width:19px;height:19px}.pdp-course-card{margin:10px 0}.pdp-course-card small{display:block;color:#667085;margin-top:5px}.pdp-course-check{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#e8f7ef;color:#13834d;font-weight:900}.employee-page-hero{background:linear-gradient(120deg,#254c70,#3d7890)}.class-card{background:#fff;border:1px solid #e4eaf1;border-radius:20px;padding:20px;margin:16px 0;box-shadow:0 8px 24px #183b5610}.class-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.class-card-head h2{margin:10px 0 4px}.class-tag{display:inline-block;padding:5px 10px;border-radius:20px;background:#edf4fb;color:#315a7c;font-size:12px}.class-info-table{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:#e5eaf0;border:1px solid #e5eaf0;border-radius:13px;overflow:hidden;margin:18px 0}.class-info-table>div{background:#f9fbfd;padding:12px}.class-info-table small,.class-info-table b{display:block}.class-info-table small{color:#667085;margin-bottom:6px}.exam-schedule{background:#f7f9fc;border-radius:14px;padding:14px;margin-top:12px}.exam-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 4px;border-top:1px solid #e5eaf0}.exam-row small{display:block;color:#667085;margin-top:5px}.status-done{color:#16834b;font-weight:700}.status-missing{color:#b42318;font-weight:700}.status-wait{color:#667085;font-size:13px}.inline-alert{background:#fff1f0;color:#a12a24;padding:10px 12px;border-radius:10px;margin-top:12px}.inline-alert a{font-weight:700;color:#9b1c16;text-decoration:underline}.effectiveness-personal-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:18px 0}.effectiveness-personal-grid article{background:#fff;border:1px solid #e4eaf1;border-radius:16px;padding:17px;box-shadow:0 6px 18px #12354b0c}.effectiveness-personal-grid small,.effectiveness-personal-grid b,.effectiveness-personal-grid span{display:block}.effectiveness-personal-grid small{color:#52677c}.effectiveness-personal-grid b{font-size:25px;color:#1f5275;margin:12px 0}.effectiveness-personal-grid span{font-size:12px;color:#667085}@media(max-width:800px){.class-info-table{grid-template-columns:repeat(2,1fr)}.effectiveness-personal-grid{grid-template-columns:repeat(2,1fr)}.progress-comparison{grid-template-columns:1fr}.progress-heading{align-items:flex-start}.progress-heading>strong{font-size:28px}}@media(max-width:430px){.class-card{padding:14px}.class-card-head{flex-direction:column}.effectiveness-personal-grid{grid-template-columns:1fr 1fr}.pdp-hero,.employee-page-hero,.progress-overview{padding:18px}}

/* سنامد v7 */
.brand b{font-size:15px}.brand small{font-size:10px;color:#71849a}.pdp-course-card{display:flex;align-items:center;gap:12px;background:linear-gradient(120deg,#173b63,#347db7);color:#fff;border:0;border-radius:13px;padding:14px 16px;margin:9px 0;box-shadow:0 7px 18px rgba(23,59,99,.13)}.pdp-course-card b,.pdp-course-card small{color:#fff!important}.pdp-course-content{flex:1;min-width:0}.pdp-course-content b{display:block;color:#fff!important}.pdp-course-content small{display:block;color:#e1effa!important}.pdp-course-card .pill{background:rgba(255,255,255,.17);color:#fff;border:1px solid rgba(255,255,255,.24)}.pdp-course-check{width:28px;height:28px;border-radius:50%;background:rgba(255,255,255,.18);display:grid;place-items:center;color:#fff}.pdp-select-card{background:linear-gradient(120deg,#f3f8fd,#e8f2fb)!important;border:1px solid #d4e4f2!important;border-radius:12px!important;padding:13px!important;color:#173b63!important}.pdp-select-card b{color:#173b63!important}.pdp-select-card small{color:#a05a13!important}.mandatory-label{font-weight:700;color:#9b5a12!important}.dashboard-feature{background:linear-gradient(125deg,#173b63,#347db7);color:#fff;border:0;box-shadow:0 9px 24px rgba(23,59,99,.14)}.dashboard-feature h2,.dashboard-feature h3,.dashboard-feature b,.dashboard-feature .text-link{color:#fff!important}.dashboard-feature p,.dashboard-feature small{color:#e0edf8!important}.dashboard-feature .list-row{border-color:rgba(255,255,255,.18)}.dashboard-feature .text-link{opacity:.95}.class-card-v7{padding:20px;border-radius:17px;background:linear-gradient(145deg,#fff,#f6faff);border:1px solid #dce8f3;box-shadow:0 8px 22px rgba(23,59,99,.06);margin-bottom:18px}.class-steps{display:grid;gap:9px;margin-top:17px}.class-step{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid #e2eaf2;border-radius:12px;background:#fff;min-width:0}.class-step>span{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:#eaf1f7;color:#58738d;font-weight:800;flex:none}.class-step>div{flex:1;min-width:0}.class-step b{display:block;color:#274766;font-size:12px}.class-step small{display:block;color:#7b8da0;font-size:10px;margin-top:4px}.class-step em{font-style:normal;font-size:10px;color:#7b8da0}.class-step.done{border-color:#cce9dc;background:#f4fbf7}.class-step.done>span{background:#d7f2e3;color:#16734f}.class-step.done em{color:#16734f}.class-step.active{border-color:#a9cce8;background:#f1f8fe}.class-step.active>span{background:#347db7;color:#fff}.class-step.locked{opacity:.72}.learning-content-card{border-right:4px solid #347db7}.learning-body{padding:12px;background:#f5f8fb;border-radius:10px;line-height:2}.pdp-admin-row small{display:block;color:#71849a}
@media(max-width:700px){.role-employee .class-step{align-items:flex-start;flex-wrap:wrap}.role-employee .class-step>div{min-width:calc(100% - 55px)}.role-employee .class-step .btn,.role-employee .class-step em{margin-right:41px}.role-employee .pdp-course-card{align-items:flex-start;flex-wrap:wrap}.role-employee .pdp-course-card .pill{margin-right:40px}}

.cert-tabs{display:flex;gap:8px;margin:0 0 15px}.cert-tabs a{padding:11px 18px;border-radius:10px;background:#eaf2f9;color:#355c7d;font-size:12px}.cert-tabs a.active{background:linear-gradient(120deg,#173b63,#347db7);color:#fff;box-shadow:0 6px 15px rgba(23,59,99,.14)}

.cert-hero{background:linear-gradient(115deg,#173b63,#397fb5);color:#fff;border-radius:18px;padding:24px 28px;margin-bottom:16px}.cert-hero h1{color:#fff;margin:8px 0}.cert-hero p{color:#e1edf7;margin:0;font-size:12px}.cert-hero .eyebrow{color:#c0d9ed}

.dept-progress-row{display:grid;grid-template-columns:180px 1fr 65px;gap:14px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}.dept-progress-row b{display:block;font-size:12px}.dept-progress-row small{display:block;color:var(--muted);font-size:10px}.dept-progress-track{height:10px;border-radius:20px;background:#edf2f7;overflow:hidden}.dept-progress-track span{height:100%;display:block;background:linear-gradient(90deg,#347db7,#17835f);border-radius:20px}.dept-progress-row strong{font-size:12px;color:var(--navy)}@media(max-width:700px){.dept-progress-row{grid-template-columns:1fr 55px}.dept-progress-track{grid-column:1/2;grid-row:2}.dept-progress-row strong{grid-column:2;grid-row:1/3}}

/* سنامد v8 — بهبود یکپارچه اجزای تعاملی و فرم‌ها */
.sidebar a.active{background:var(--blue2);color:var(--navy);font-weight:800;border-right:3px solid var(--blue)}
.module-tabs{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 18px;padding:7px;background:#eaf1f8;border-radius:13px;width:max-content;max-width:100%}
.module-tabs a{padding:10px 18px;border-radius:9px;color:#52677b;font-size:12px;font-weight:700}
.module-tabs a.active{background:linear-gradient(135deg,#173b63,#397fb5);color:#fff;box-shadow:0 5px 14px rgba(23,59,99,.18)}
.exam-question-card{border:1px solid #dce7f1;border-radius:15px;padding:18px 20px;margin:0 0 15px;background:linear-gradient(145deg,#fff,#f8fbfe);min-width:0}
.exam-question-card legend{padding:6px 13px;border-radius:8px;background:#eaf3fb;color:var(--navy);font-weight:800;font-size:12px}
.exam-question-text{font-size:14px;font-weight:700;line-height:2;color:#243e58;margin:8px 0 16px}
.exam-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.exam-option{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid #e0e8f0;border-radius:11px;background:#fff;cursor:pointer;transition:.18s;line-height:1.8;min-width:0}
.exam-option:hover{border-color:#75a8d2;background:#f2f8fd}
.exam-option input{accent-color:var(--blue);width:17px;height:17px;flex:none}
.option-letter{width:27px;height:27px;display:grid;place-items:center;border-radius:8px;background:#edf3f8;color:#315d83;font-size:11px;font-weight:800;flex:none}
.exam-score{display:inline-block!important;color:#16815f!important;font-weight:800;font-size:12px!important;background:#e9f7f1;border-radius:7px;padding:4px 8px;margin-top:7px!important}
.class-step .text-link{display:block;margin-top:5px;font-size:11px}
.exam-result-summary{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.exam-result-summary>div{background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.18);border-radius:12px;padding:10px 16px;min-width:120px}
.exam-result-summary small{display:block;color:#dcebf7;font-size:10px}
.exam-result-summary strong{display:block;color:white;font-size:18px;margin-top:4px}
.exam-review-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:19px;margin-bottom:15px;box-shadow:0 4px 15px rgba(24,59,96,.025)}
.exam-review-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.exam-review-card h3{line-height:2;margin:8px 0 16px}
.review-option{cursor:default}
.review-option.is-correct{border-color:#6fc29e;background:#effaf4;color:#146b4a}
.review-option.is-selected-wrong{border-color:#e6a1a8;background:#fff4f4;color:#a33b49}
.review-mark{margin-right:auto;font-size:10px;font-weight:800;color:var(--green);white-space:nowrap}
.is-selected-wrong .review-mark{color:var(--red)}
.exam-explanation{background:#f3f7fb;border-right:3px solid var(--blue);padding:12px 14px;border-radius:8px;margin-top:14px;line-height:2;font-size:12px}
.filter-row{align-items:end;gap:12px;flex-wrap:wrap}
.filter-row label{min-width:170px;flex:1}
.filter-row input,.filter-row select{width:100%;border:1px solid #dce5ed;border-radius:9px;padding:10px 11px;background:#fff;color:var(--ink);font:inherit;font-size:12px}
.teacher-picker-label{display:flex;flex-direction:column;gap:7px}
.teacher-picker-label input{border:1px solid #dce5ed;border-radius:9px;padding:10px 11px}
.teacher-picker-label select{width:100%}
.multi-select-box{border:1px solid #dce5ed;border-radius:12px;padding:12px;background:#fbfdff}
.multi-select-box summary{cursor:pointer;color:var(--navy);font-weight:800;padding:4px 0 10px}
.multi-select-box summary small{display:inline;color:var(--muted);font-weight:400;margin-right:8px}
.multi-select-box>input[type=search]{width:100%;border:1px solid #dce5ed;border-radius:9px;padding:10px;margin:4px 0 12px;font:inherit}
.checklist-score-form{display:grid;gap:11px}
.check-score-item{border:1px solid #dfe8f0;border-radius:13px;padding:15px 16px;margin:0;background:#fbfdff;min-width:0}
.check-score-item legend{font-size:13px;font-weight:700;color:#2c4965;padding:0 7px;line-height:2}
.score-options{display:flex;gap:9px;flex-wrap:wrap;margin-top:8px}
.score-options label{display:flex;align-items:center;gap:6px;border:1px solid #e0e8f0;border-radius:9px;background:#fff;padding:8px 12px;cursor:pointer}
.score-options input{accent-color:var(--blue)}
.score-options span{font-weight:800;color:var(--navy)}
.survey-area-card{background:#f8fbfe;border:1px solid #dce7f1!important;border-radius:14px!important;padding:18px!important;margin:14px 0!important}
.survey-area-card legend{font-weight:800;color:var(--navy);padding:0 8px}
.survey-area-card>label{display:flex;flex-direction:column;gap:7px;margin:12px 0;font-size:12px;color:#536b82}
.survey-area-card input{border:1px solid #dce5ed;border-radius:9px;padding:10px 12px;width:100%;font:inherit}
.survey-question-row{background:#fff;padding:12px;border:1px solid #e7edf3;border-radius:10px}
.survey-question-row input{margin-top:7px}
.survey-editor-panel>form>label{display:block;margin:12px 0}
.icon-action{border:0;background:#eaf3fb;color:var(--navy);border-radius:9px;width:36px;height:34px;cursor:pointer;font-size:16px}
.pdp-modal-table td{vertical-align:middle}
.pdp-modal-table .inline-form{display:flex;gap:5px}
.modal-card{max-height:88vh;overflow:auto}
.exam-review-card .pill,.pdp-modal-table .pill{white-space:nowrap}
.calendar-filter-panel{background:linear-gradient(135deg,#fff,#f4f8fc)}
.calendar-filter-panel .jalali-picker{display:flex;gap:5px}
.calendar-filter-panel .jalali-picker select{min-width:0;flex:1}
@media(max-width:760px){.exam-options{grid-template-columns:1fr}.exam-question-card{padding:14px}.exam-result-summary>div{flex:1;min-width:95px}.module-tabs{width:100%}.module-tabs a{flex:1;text-align:center}.filter-row label{min-width:100%;}.pdp-modal-table{min-width:650px}}
.score-options label{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:52px;min-height:42px;padding:0 12px;border:1px solid #d9e4ee;border-radius:10px;background:#fff;cursor:pointer}
.score-options input{position:absolute;opacity:0;inset:0;width:100%;height:100%;cursor:pointer}
.score-options span{display:inline-flex;align-items:center;justify-content:center;width:auto;height:auto;min-width:20px;border:0;border-radius:0;background:transparent;font-size:14px}
.score-options label:has(input:checked){background:#eaf3fb;border-color:var(--blue);box-shadow:0 0 0 2px rgba(52,125,183,.1)}
.score-options label:has(input:checked) span{color:var(--blue);font-size:16px}
.base-items{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:9px;margin-top:14px}
.base-item{display:flex;align-items:center;gap:6px;padding:8px;background:#f7fafd;border:1px solid var(--line);border-radius:10px}
.base-item input[name=base_name]{min-width:0;flex:1;border:1px solid #dce5ed;border-radius:8px;padding:8px;font:inherit;font-size:12px}
.modal-course-search{width:100%;margin:8px 0;padding:10px;border:1px solid #dce5ed;border-radius:9px;font:inherit}

.pill.warning{background:#fff5df;color:#9a6a13}.pill.muted{background:#eef2f6;color:#66798a}#metricAnalysis{white-space:pre-wrap;line-height:2;background:#f7fafd;padding:13px;border-radius:10px}#metricCourses{white-space:pre-wrap;line-height:2;background:#f7fafd;padding:13px;border-radius:10px}

/* اصلاح نهایی چیدمان صفحات و فرم‌های فیلتر */
.content{align-self:flex-start;margin:0 auto;padding-top:20px}.content>h1:first-child{margin-top:0}.filter-row{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.filter-row label{display:flex;flex-direction:column;gap:7px;min-width:190px;flex:1}.filter-row input,.filter-row select,.inline-form input,.inline-form select{min-height:42px;max-width:100%;font-family:inherit}.inline-form{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.inline-form input{min-width:180px}.exam-options{grid-template-columns:1fr}.exam-question-card{display:block;width:100%}.exam-option{width:100%;text-align:right}.exam-option span:last-child{overflow-wrap:anywhere}.calendar-filter-panel .filter-row{display:flex;gap:12px;align-items:flex-end}.calendar-filter-panel .filter-row label{min-width:180px;flex:1}@media(max-width:760px){.content{padding:16px 12px 90px}.filter-row label,.calendar-filter-panel .filter-row label{min-width:100%}.inline-form{width:100%}.inline-form input{flex:1;min-width:0}}

.dashboard-chart{margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}.dashboard-chart h3{margin-bottom:14px}.chart-bar-row{display:grid;grid-template-columns:150px minmax(80px,1fr) 65px;gap:12px;align-items:center;margin:11px 0}.chart-bar-row>span{font-size:12px;color:#52677b}.chart-bar-row>b{font-size:12px;color:var(--navy);text-align:left}.chart-bar-track{height:12px;background:#edf2f7;border-radius:20px;overflow:hidden}.chart-bar-track i{display:block;height:100%;border-radius:20px;background:linear-gradient(90deg,#347db7,#17835f)}@media(max-width:650px){.chart-bar-row{grid-template-columns:90px minmax(50px,1fr) 52px;gap:7px}.chart-bar-row>span,.chart-bar-row>b{font-size:10px}}


/* نسخه ۱۰: اصلاحات تکمیلی فرم‌ها، محتوای کلاس و مودال اثربخشی */
.survey-editor-panel{width:100%;max-width:none}
.survey-editor-panel form{display:flex;flex-direction:column;align-items:stretch;width:100%;gap:14px}
#survey-areas{display:flex;flex-direction:column;gap:16px;width:100%}
.survey-area-card{display:block;width:100%;max-width:none;margin:0!important;padding:22px!important;background:linear-gradient(145deg,#fff,#f5f9fd)!important;border:1px solid #d8e4ef!important;border-radius:16px!important;box-shadow:0 5px 18px rgba(27,62,96,.05)}
.survey-area-card legend{font-weight:800;color:#1d456b;padding:0 10px}
.survey-area-card>label,.survey-area-card .survey-question-row{display:flex!important;flex-direction:column!important;width:100%;max-width:none;gap:8px;margin:12px 0;padding:13px;background:#fff;border:1px solid #e1e9f1;border-radius:11px}
.survey-area-card input[type=text],.survey-area-card input:not([type=hidden]){width:100%;max-width:none;min-height:44px}
.survey-area-card .btn{align-self:flex-start}
.survey-editor-actions{display:flex;justify-content:flex-end;gap:12px;position:sticky;bottom:10px;z-index:10;padding:14px;background:rgba(255,255,255,.96);border:1px solid #e2eaf2;border-radius:14px;box-shadow:0 8px 28px rgba(22,52,83,.12);backdrop-filter:blur(8px)}
.calendar-filter-panel .filter-row{display:grid;grid-template-columns:repeat(2,minmax(180px,260px)) auto auto;align-items:end;gap:12px}
.calendar-filter-panel .filter-row label{min-width:0!important;max-width:260px!important;width:100%;flex:none!important}
.calendar-filter-panel .jalali-picker{width:100%;min-width:0}
.calendar-filter-panel .jalali-picker select{min-width:0;width:33.33%}
.asset-library-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:10px;margin-top:14px}
.asset-library-item{display:flex!important;align-items:center;gap:10px;padding:12px;border:1px solid #dce6ef;border-radius:11px;background:#fff;min-width:0}
.asset-library-item input{flex:none}
.asset-library-item span{min-width:0}
.asset-library-item strong,.asset-library-item small{display:block;overflow-wrap:anywhere}
.remote-assets-box{padding:18px;border:1px dashed #9eb9d0;border-radius:14px;background:#f5f9fd}
.class-accordion{padding:0;overflow:hidden}
.class-accordion details{width:100%}
.class-card-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 20px;cursor:pointer;list-style:none;background:linear-gradient(115deg,#fff,#f4f8fc)}
.class-card-summary::-webkit-details-marker{display:none}
.class-card-summary .class-card-head{flex:1;margin:0;align-items:center}
.class-card-summary .class-card-head h2{margin:7px 0 3px}
.class-expand-hint{white-space:nowrap;color:#28618e;font-size:11px;background:#eaf3fa;padding:8px 12px;border-radius:20px}
.class-accordion[open] .class-card-summary,.class-accordion details[open] .class-card-summary{border-bottom:1px solid #e2eaf1}
.class-accordion-body{padding:18px 20px}
.modal-card{border:1px solid #dce6ef;background:linear-gradient(180deg,#fff,#f8fbfe);color:#24384d;border-radius:18px;padding:24px;max-width:960px;box-shadow:0 24px 80px rgba(10,30,50,.28)}
.modal-card h3{padding:12px 14px;background:#eaf2f9;border-radius:10px;color:#204d74;margin:14px 0}
.modal-card table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid #e1e9f0;border-radius:12px;overflow:hidden}
.modal-card th{background:#eaf2f9;color:#315878}
.modal-card td,.modal-card th{padding:12px;border-bottom:1px solid #e8eef4}
.modal-card tr:nth-child(even) td{background:#f8fbfd}
.modal-card details{background:#fff;border:1px solid #e1e9f0;border-radius:12px;padding:13px 16px;margin:10px 0}
.modal-card details summary{cursor:pointer;color:#244d70;font-weight:700}
.modal-card details p{padding:9px 12px;margin:8px 0;background:#f5f8fb;border-radius:8px}
.modal-card .detail-table-wrap{overflow:auto;margin:12px 0}
.modal-card .detail-person-card{padding:14px;border:1px solid #e1e9f0;border-radius:12px;background:#fff;margin:10px 0}
@media(max-width:760px){.calendar-filter-panel .filter-row{grid-template-columns:1fr 1fr}.calendar-filter-panel .filter-row label{max-width:none!important}.calendar-filter-panel .filter-row .btn{width:100%}.class-card-summary{align-items:flex-start;padding:14px}.class-card-summary .class-card-head{flex-direction:column;align-items:flex-start}.class-expand-hint{font-size:10px}.class-accordion-body{padding:14px}.survey-editor-actions{bottom:6px}.asset-library-grid{grid-template-columns:1fr}}

body.role-employee .dashboard-chart .chart-bar-row>span,body.role-employee .dashboard-chart .chart-bar-row>b,body.role-headnurse .dashboard-chart .chart-bar-row>span,body.role-headnurse .dashboard-chart .chart-bar-row>b{color:#fff!important}

#groupBox{display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid #dce7f0;border-radius:12px;background:#f7fafd}#mandatoryGroup{width:100%;min-height:44px;border:1px solid #cddbe8;border-radius:9px;padding:10px;background:#fff;color:#24384d;font:inherit}

.custom-exam-schedule-fields{padding:14px;border:1px solid #dce7f0;border-radius:12px;background:#f7fafd}.custom-exam-schedule-fields input[type=datetime-local]{width:100%;min-width:0}


/* نسخه ۱۱: فیلتر تقویم شمسی و دامنه الزام دوره */
.calendar-filter-panel{padding:22px 24px!important;border:1px solid #dce7f1!important;border-radius:18px!important;background:linear-gradient(145deg,#fff 0%,#f5f9fd 100%)!important;box-shadow:0 8px 24px rgba(27,62,96,.055)!important}
.calendar-filter-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}
.calendar-filter-heading h2{margin:5px 0 0;color:#1e4568}
.calendar-filter-eyebrow{font-size:10px;font-weight:800;color:#7b91a6;letter-spacing:.2px}
.calendar-filter-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#e7f0f8;color:#2d628e;font-size:22px}
.calendar-filter-form{display:flex;flex-direction:column;gap:18px}
.calendar-filter-fields{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:14px;max-width:920px}
.calendar-filter-field{display:flex!important;flex-direction:column!important;gap:8px!important;min-width:0!important;margin:0!important;color:#526b82;font-size:12px;font-weight:700}
.calendar-filter-field select{width:100%;height:48px;min-height:48px;padding:0 14px;border:1px solid #d5e1ec;border-radius:11px;background:#fff;color:#243e56;font:inherit;font-size:13px;outline:none;transition:border-color .18s,box-shadow .18s}
.calendar-filter-field select:focus{border-color:#6b9fc9;box-shadow:0 0 0 3px rgba(68,132,184,.12)}
.calendar-filter-actions{display:flex;align-items:center;justify-content:flex-start;gap:10px;padding-top:15px;border-top:1px solid #e4ecf3}
.calendar-filter-actions .btn{min-width:132px;min-height:42px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px}
.calendar-clear-btn{background:#fff!important;border:1px solid #d8e2eb!important;color:#62778b!important}
.course-editor-panel .mandatory-target-wrap{display:flex;flex-direction:column;gap:8px;padding:14px 16px;border:1px solid #d9e5ef;border-radius:13px;background:linear-gradient(145deg,#f8fbfe,#f1f6fa);transition:opacity .2s,background .2s}
.course-editor-panel .mandatory-target-wrap>span{font-weight:800;color:#244c70}
.course-editor-panel .mandatory-target-select{width:100%;min-height:46px;padding:9px 12px;border:1px solid #cbd9e6;border-radius:10px;background:#fff;color:#24384d;font:inherit}
.course-editor-panel .mandatory-target-select:disabled{background:#e9eef3;color:#91a0ae;border-color:#e0e6ec;cursor:not-allowed}
.course-editor-panel .mandatory-target-wrap.is-disabled{opacity:.66;background:#f5f7f9}
.course-editor-panel .course-form-actions{display:flex;gap:10px;align-items:center}
@media(max-width:760px){.calendar-filter-panel{padding:17px!important}.calendar-filter-fields{grid-template-columns:1fr;gap:11px}.calendar-filter-actions{display:grid;grid-template-columns:1fr 1fr}.calendar-filter-actions .btn{width:100%;min-width:0}.calendar-filter-heading{margin-bottom:14px}}
/* Supervisor dashboard and training-demand analytics */
.supervisor-progress-panel{padding:24px 26px;background:linear-gradient(135deg,#fff 0%,#f5f9fd 100%);border:1px solid #dce7f1;box-shadow:0 10px 28px rgba(35,75,110,.07)}
.supervisor-progress-panel .progress-heading{align-items:center}.supervisor-progress-panel .progress-heading>strong{font-size:34px;color:#23699a;font-weight:900}
.supervisor-progress-panel .progress-track{height:15px;border-radius:20px;background:#e6edf4;overflow:hidden;margin-top:17px}.supervisor-progress-panel .progress-track i,.mini-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#3989c5,#53b6a4);box-shadow:0 2px 8px rgba(44,126,170,.22)}
.supervisor-dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:18px 0}.ranking-panel{padding:21px 22px}.panel-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-title-row h2{margin:0}.panel-title-row .muted{margin:5px 0 0;font-size:12px}.ranking-item{padding:15px 0;border-bottom:1px solid #edf1f5}.ranking-item:last-child{border-bottom:0;padding-bottom:2px}.ranking-meta{display:flex;justify-content:space-between;align-items:center;gap:10px}.ranking-meta>b{display:flex;align-items:center;gap:9px}.ranking-meta>strong{color:#2475a6;font-size:14px}.rank-number{display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;border-radius:8px;background:#eaf2f8;color:#28658e;font-size:12px;font-weight:800}.mini-progress{height:8px;background:#edf2f6;border-radius:12px;overflow:hidden;margin:10px 0 6px}.ranking-item>small{color:#8493a1;font-size:11px}.frequency-entry{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 23px;background:linear-gradient(110deg,#f8fbff,#f4faf8)}.frequency-entry h2{margin:0 0 5px}.frequency-entry p{margin:0}.frequency-page-head{display:flex;align-items:center;justify-content:space-between;gap:18px}.frequency-page-head h2{margin:4px 0 8px}.frequency-page-head p{margin:0}.frequency-total{min-width:100px;text-align:center;padding:12px;border-radius:15px;background:#edf5fb;color:#246c99}.frequency-total b{display:block;font-size:27px}.frequency-total small{font-size:11px}.frequency-filters{align-items:end}.frequency-count{display:inline-flex;min-width:36px;justify-content:center;padding:5px 10px;border-radius:9px;background:#eaf5ef;color:#25845b;font-size:15px}.frequency-table tbody tr:hover{background:#f8fbfd}.checklist-person-select{max-width:560px;margin:18px 0;padding:16px;border:1px solid #dce6ef;border-radius:13px;background:#f8fbfd}.checklist-person-select label{display:flex;flex-direction:column;gap:8px;font-weight:700;color:#526b82}.checklist-person-select select{width:100%;min-height:48px;border:1px solid #d2deea;border-radius:10px;padding:8px 12px;background:#fff;font:inherit;color:#263f56}
.sidebar a.active{background:linear-gradient(100deg,#e7f1f9,#f0f7fb);color:#176b9f;border-right:4px solid #3b8fc2;font-weight:800;box-shadow:inset 0 0 0 1px rgba(59,143,194,.08)}
@media(max-width:850px){.supervisor-dashboard-grid{grid-template-columns:1fr}.frequency-entry,.frequency-page-head{align-items:stretch;flex-direction:column}.frequency-entry .btn{width:100%;text-align:center}.frequency-total{align-self:flex-start}}

.frequency-title-button{border:0;background:transparent;color:#256f9c;font:inherit;font-weight:800;cursor:pointer;text-align:right;padding:0}.frequency-title-button:hover{text-decoration:underline}.frequency-modal-card{width:min(920px,94vw);max-height:88vh;overflow:auto}.frequency-modal-card h2{margin:12px 0 6px}

/* نسخه ۱۳: کارت‌های پیشرفت با هویت بصری هماهنگ با خوش‌آمدگویی */
.supervisor-progress-panel,.supervisor-dashboard-grid .ranking-panel{background:linear-gradient(115deg,#173b63,#397fb5);color:#fff;border:1px solid rgba(255,255,255,.12);box-shadow:0 12px 30px rgba(23,59,99,.16)}
.supervisor-progress-panel h2,.supervisor-dashboard-grid .ranking-panel h2,.supervisor-progress-panel p,.supervisor-dashboard-grid .ranking-panel .muted,.supervisor-dashboard-grid .ranking-item>small{color:#e5f1fb}
.supervisor-progress-panel .eyebrow{color:#b9d8ef}.supervisor-progress-panel .progress-heading>strong,.supervisor-dashboard-grid .ranking-meta>strong{color:#fff}
.supervisor-progress-panel .progress-track,.supervisor-dashboard-grid .mini-progress{background:rgba(255,255,255,.22)}
.supervisor-dashboard-grid .mini-progress i,.supervisor-progress-panel .progress-track i{background:linear-gradient(90deg,#f5d889,#fff0b5);box-shadow:0 2px 9px rgba(255,231,164,.25)}
.supervisor-dashboard-grid .ranking-item{border-color:rgba(255,255,255,.16)}.supervisor-dashboard-grid .rank-number{background:rgba(255,255,255,.17);color:#fff}
.supervisor-dashboard-grid .text-link{color:#fff;text-decoration:underline;text-underline-offset:3px}
.teacher-courses-btn{border:0;cursor:pointer;min-width:38px;min-height:36px;border-radius:10px;background:#eaf3fb;color:#286b9a;font-size:20px}.teacher-courses-btn:hover{background:#d8eaf8;transform:translateY(-1px)}
.teacher-courses-modal{max-width:620px}.teacher-modal-heading{display:flex;align-items:center;gap:13px;margin:15px 0 20px}.teacher-modal-heading h2{margin:0 0 5px}.teacher-modal-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(135deg,#173b63,#397fb5);color:white;font-size:25px}.teacher-course-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}.teacher-course-row{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #e2eaf1;border-radius:11px;background:#f8fbfe;min-width:0}.teacher-course-row span{width:25px;height:25px;flex:none;display:grid;place-items:center;border-radius:8px;background:#e3eef7;color:#286b9a;font-size:11px;font-weight:800}.teacher-course-row b{font-size:12px;color:#29465f}.empty-state{padding:24px;text-align:center;background:#f7fafc;border-radius:12px;color:#718194;font-size:12px}
@media(max-width:650px){.teacher-course-list{grid-template-columns:1fr}.supervisor-dashboard-grid{grid-template-columns:1fr}}


/* نسخه ۱۴: نمایش کامل کارکنان و هویت بصری یکپارچه‌تر */
.multi-select-box{background:linear-gradient(145deg,#f2f7fc 0%,#eaf2fa 100%);border:1px solid #cfdeec;box-shadow:inset 0 1px 0 rgba(255,255,255,.9)}
.multi-select-box[open]{padding-bottom:16px}
.check-grid{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;gap:7px!important;max-height:460px;overflow-y:auto;padding:5px 3px 5px 8px}
.check-option.staff-option{display:flex!important;width:100%;min-height:44px;background:linear-gradient(100deg,#fff,#f5f9fd)!important;border:1px solid #e0e9f1;border-radius:10px;padding:10px 12px!important;box-shadow:0 2px 7px rgba(25,62,96,.035)}
.check-option.staff-option:hover{border-color:#a9c5dc;background:#edf5fc!important}
.check-option.staff-option input{flex:none;width:17px;height:17px;accent-color:var(--blue)}
.check-option.staff-option span{display:flex;flex-direction:column;gap:3px;line-height:1.7}
.check-option.staff-option small{display:block;color:#8293a4;font-size:10px}
/* رنگ پس‌زمینه هماهنگ در کارت‌ها و پنل‌های محتوایی */
.panel{background:linear-gradient(145deg,#ffffff 0%,#f5f9fd 100%);border-color:#e0eaf3;box-shadow:0 6px 20px rgba(24,59,96,.045)}
.stat-card{background:linear-gradient(145deg,#ffffff 0%,#edf4fb 100%);border-color:#dce8f2}
.content>section.panel:nth-of-type(even){background:linear-gradient(135deg,#f2f7fc 0%,#eaf2f9 100%)}
.list-row{background:rgba(255,255,255,.45);padding:12px 13px;border-radius:10px;margin:5px 0;border:1px solid rgba(216,229,240,.8)}
.filter-row input,.filter-row select,.form-grid input,.form-grid select,.form-grid textarea{background:linear-gradient(180deg,#fff,#f7fafd)}

/* Shared pale-blue surface inspired by the supervisor PDP ranking cards */
.panel,.stat-card,.ranking-panel,.dashboard-feature,.class-card,.frequency-entry,.checklist-person-select{background:linear-gradient(135deg,#ffffff 0%,#f5f9fd 100%);border-color:#dce7f1}
.ranking-item{margin:8px 0;padding:13px 14px;background:#f5f9fd;border:1px solid #e3edf5;border-radius:13px}
.ranking-item:last-child{padding-bottom:13px;border-bottom:1px solid #e3edf5}
.question-bank-status{font-size:13px;font-weight:800;white-space:nowrap}
.question-bank-status.has-bank{color:#16834b}
.question-bank-status.no-bank{color:#c62828}
.question-item{background:linear-gradient(135deg,#fff 0%,#f5f9fd 100%);border:1px solid #dce7f1}
.question-item-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.question-item-heading h3{margin:0}
.question-text-label{display:block;width:100%}
.question-textarea{display:block;width:100%;min-height:125px;resize:vertical;line-height:1.9;padding:13px 14px}
.staff-dropdown{position:relative;background:#f5f9fd;border:1px solid #dce7f1;border-radius:14px;padding:0;overflow:visible}
.staff-dropdown>summary{cursor:pointer;padding:14px 16px;font-weight:800;list-style:none}
.staff-dropdown>summary::-webkit-details-marker{display:none}
.staff-dropdown>summary:after{content:'⌄';float:left;color:#367ca8;font-size:20px}
.staff-dropdown-content{padding:0 14px 14px}
.staff-inline-search{width:100%;margin:4px 0 12px}
.staff-select-all{display:flex!important;align-items:center;gap:9px;padding:10px 12px;background:#eaf3fa;border:1px solid #d5e5f1;border-radius:10px;margin-bottom:8px}
.staff-select-all input{width:18px;height:18px}
.staff-list{max-height:260px;overflow:auto;display:flex;flex-direction:column;gap:5px;padding:4px}
.staff-list .staff-option{display:flex;align-items:center;gap:10px;padding:9px 10px;margin:0;border-radius:9px;background:#fff;border:1px solid #e8eef4}
.staff-list .staff-option[hidden],.staff-list .staff-initial-hidden{display:none!important}
.staff-list .staff-option span{display:flex;flex-direction:column;gap:3px}
.staff-list .staff-option small{color:#718096;font-size:11px}
.staff-dropdown-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.jalali-picker-selects{display:grid;grid-template-columns:1fr 1.2fr .8fr;gap:7px;margin-top:6px}
.jalali-picker-selects select{min-width:0;width:100%;}
.exam-time-input{margin-top:7px}
@media(max-width:600px){.question-item-heading{align-items:flex-start}.staff-dropdown-actions .btn{flex:1}.jalali-picker-selects{grid-template-columns:1fr 1fr 1fr}}

/* انتخاب جستجوپذیر دوره و مدرس در تقویم آموزشی */
.searchable-picker{position:relative;width:100%;min-width:0}
.searchable-picker-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:46px;padding:10px 13px;border:1px solid #cbd9e6;border-radius:10px;background:#fff;color:#24384d;font:inherit;text-align:right;cursor:pointer}
.searchable-picker-trigger:hover,.searchable-picker-trigger:focus{border-color:#4c86b4;outline:0;box-shadow:0 0 0 3px rgba(76,134,180,.14)}
.searchable-picker-trigger.picker-invalid{border-color:#c62828}
.picker-chevron{color:#55738e;font-size:18px;flex:none}
.searchable-picker-menu{position:absolute;z-index:80;top:calc(100% + 6px);right:0;left:0;padding:10px;background:#fff;border:1px solid #cbd9e6;border-radius:12px;box-shadow:0 14px 34px rgba(13,39,66,.2)}
.searchable-picker-menu[hidden]{display:none!important}
.searchable-picker-search{width:100%;height:42px;padding:8px 11px;border:1px solid #d5e0e9;border-radius:9px;background:#f8fbfe;color:#24384d;font:inherit;margin-bottom:8px}
.searchable-picker-options{display:flex;flex-direction:column;gap:5px;max-height:250px;overflow-y:auto}
.searchable-picker-option{display:block;width:100%;padding:10px 11px;border:1px solid #e5edf4;border-radius:8px;background:#fff;color:#29445e;text-align:right;font:inherit;cursor:pointer}
.searchable-picker-option:hover,.searchable-picker-option[aria-selected=true]{background:#eaf2f9;border-color:#a9c3d9;color:#173b63;font-weight:800}
.searchable-picker-option[hidden]{display:none!important}
.searchable-picker-hint{display:block;color:#71869a!important;font-size:10px;margin:8px 2px 0}
.searchable-picker-native{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;opacity:0!important;pointer-events:none!important}
@media(max-width:650px){.searchable-picker-menu{max-height:70vh}.searchable-picker-options{max-height:42vh}}

/* خوانایی آیتم‌های انتخاب‌شده در فهرست‌های روشن داخل کادرهای تیره */
.panel .staff-option,.panel .staff-option span,.panel .staff-option small,.multi-select-box .staff-option,.multi-select-box .staff-option span,.multi-select-box .staff-option small{color:#29445e!important}
.panel .staff-option{background:linear-gradient(100deg,#fff,#f5f9fd)!important}


/* سنامد v18: تعادل رنگی؛ سطوح روشن، تأکید سرمه‌ای محدود و کنتراست متناسب */
.panel,.stat-card,.question-item,.multi-select-box,.staff-dropdown,.class-card,.class-card-v7,
.frequency-entry,.checklist-person-select,.course-editor-panel,.survey-report,.check-score-item,
.effectiveness-personal-grid article,.learning-content-card,.ranking-panel{
 background:linear-gradient(145deg,#ffffff 0%,#f7fafd 100%)!important;
 color:#26394d!important;border:1px solid #e0e9f1!important;
 box-shadow:0 5px 18px rgba(24,59,96,.045)!important
}
.panel h1,.panel h2,.panel h3,.panel h4,.panel p,.panel label,.panel b,.panel strong,.panel span,
.stat-card h1,.stat-card h2,.stat-card h3,.stat-card p,.stat-card b,.stat-card strong,
.question-item h3,.question-item label,.multi-select-box summary,.staff-dropdown summary,
.course-editor-panel h2,.course-editor-panel h3,.course-editor-panel label,
.survey-report h2,.survey-report h3,.survey-report p,.survey-report label,
.check-score-item h3,.check-score-item label,.effectiveness-personal-grid article b,
.class-card h1,.class-card h2,.class-card h3,.class-card p,.class-card b,.class-card small,
.class-card-v7 h1,.class-card-v7 h2,.class-card-v7 h3,.class-card-v7 p,.class-card-v7 b,
.learning-content-card h2,.learning-content-card h3{color:#26394d!important}
.panel .muted,.panel small,.stat-card .muted,.question-item .muted,.staff-dropdown small,
.class-card .muted,.class-card-v7 .muted{color:#718397!important}
/* تنها کارت‌های رتبه‌بندی داشبورد، به‌عنوان بخش شاخص، سرمه‌ای باقی می‌مانند */
.supervisor-dashboard-grid .ranking-panel{background:linear-gradient(135deg,#173b63,#28547d)!important;color:#fff!important;border:1px solid rgba(255,255,255,.13)!important}
.supervisor-dashboard-grid .ranking-panel h2,.supervisor-dashboard-grid .ranking-panel p,
.supervisor-dashboard-grid .ranking-panel .muted,.supervisor-dashboard-grid .ranking-panel .ranking-item,
.supervisor-dashboard-grid .ranking-panel .ranking-item b,.supervisor-dashboard-grid .ranking-panel .ranking-item small,
.supervisor-dashboard-grid .ranking-panel .ranking-meta>strong{color:#f5f9fd!important}
.supervisor-dashboard-grid .ranking-panel .ranking-item{background:transparent!important;border-color:rgba(255,255,255,.17)!important}
.supervisor-dashboard-grid .ranking-panel .rank-number{background:rgba(255,255,255,.17)!important;color:#fff!important}
.supervisor-progress-panel{background:linear-gradient(145deg,#fff,#f5f9fd)!important;color:#26394d!important}
.supervisor-progress-panel h2,.supervisor-progress-panel p,.supervisor-progress-panel .eyebrow{color:#26394d!important}
.supervisor-progress-panel .progress-heading>strong{color:#23699a!important}
/* کارت‌های انتخاب PDP و سوابق کلاس روشن و خوانا */
.pdp-select-card{background:linear-gradient(120deg,#f5f9fd,#eaf2f9)!important;border:1px solid #d7e4ef!important;color:#173b63!important}
.pdp-select-card b{color:#173b63!important}.pdp-select-card small{color:#8b641f!important}
.pdp-course-card{background:linear-gradient(120deg,#f5f9fd,#eaf2f9)!important;border:1px solid #d7e4ef!important;color:#26394d!important;box-shadow:none!important}
.pdp-course-card b{color:#173b63!important}.pdp-course-card small{color:#718397!important}
.pdp-course-card .pill{background:#e4f0f8;color:#285c83;border:0}
.class-info-table>div{background:#fff!important;color:#26394d!important}
.class-info-table small{color:#718397!important}.class-info-table b{color:#26394d!important}
.exam-schedule,.learning-body{background:#f5f8fb!important;color:#26394d!important;border:1px solid #e1e9f0!important}
.survey-area-card,.survey-question-row{background:#fff!important;color:#26394d!important;border-color:#dfe8f0!important}
.survey-area-card legend,.survey-area-card label,.survey-question-row label{color:#26394d!important}
.class-step,.class-step.done,.class-step.active{background:#fff!important;color:#26394d!important;border-color:#e1e9f0!important}
.class-step b{color:#274766!important}.class-step small,.class-step em{color:#718397!important}
/* انتخاب دوره‌های PDP در یک منوی بازشونده و جستجوپذیر */
.pdp-course-picker{border:1px solid #d8e4ef;border-radius:14px;background:#fff;overflow:visible}
.pdp-course-picker>summary{cursor:pointer;list-style:none;padding:14px 16px;color:#173b63;font-weight:800;display:flex;align-items:center;justify-content:space-between;gap:12px}
.pdp-course-picker>summary::-webkit-details-marker{display:none}
.pdp-course-picker>summary small{color:#7b8da0;font-weight:400}
.pdp-course-picker-body{padding:0 14px 14px}
.pdp-course-search{width:100%;height:44px;border:1px solid #d5e1ec;border-radius:10px;padding:9px 12px;background:#f8fbfe;color:#26394d;font:inherit;margin-bottom:10px}
.pdp-course-picker-list{display:flex;flex-direction:column;gap:7px;max-height:310px;overflow-y:auto;padding:2px 3px}
.pdp-course-picker-option{display:flex!important;flex-direction:row!important;align-items:center;gap:10px;padding:11px 12px!important;border:1px solid #e4ebf2;border-radius:10px;background:#fff!important;color:#29445e!important;cursor:pointer}
.pdp-course-picker-option[hidden]{display:none!important}
.pdp-course-picker-option input{width:18px;height:18px;flex:none;accent-color:#347db7}
.pdp-course-picker-option span{display:flex;flex-direction:column;gap:3px}.pdp-course-picker-option b{color:#29445e!important}.pdp-course-picker-option small{color:#8b641f!important}
.pdp-picker-hint{display:block;color:#7b8da0!important;font-size:10px;margin:9px 3px 0}
.course-visibility-wrap{display:flex;flex-direction:column;gap:8px;padding:14px 16px;border:1px solid #d9e5ef;border-radius:13px;background:linear-gradient(145deg,#f8fbfe,#f1f6fa)}
.course-visibility-wrap>span{font-weight:800;color:#244c70}.course-visibility-wrap small{color:#718397!important}
.course-visibility-wrap.is-disabled{opacity:.55}

/* Version 19: multi-group course visibility picker */
.course-visibility-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:7px;max-height:190px;overflow:auto;padding:10px;background:#fff;border:1px solid #d5e1ec;border-radius:10px}
.course-visibility-groups label{display:flex;align-items:center;gap:8px;padding:7px 9px;border:1px solid #e5edf4;border-radius:8px;background:#fbfdff;color:#29445e;font-weight:600;cursor:pointer}
.course-visibility-groups label:has(input:checked){background:#eaf3fb;border-color:#9fc1df}
.course-visibility-groups input{width:17px;height:17px;accent-color:#2875ad}
.course-visibility-wrap.is-disabled .course-visibility-groups{background:#edf1f5}
.course-visibility-wrap.is-disabled .course-visibility-groups label{cursor:not-allowed}


/* Version 20: یکپارچه‌سازی تم سفید، شیری و متن مشکی در تمام صفحات */
:root{--navy:#111111;--blue:#555555;--blue2:#f5f1e8;--ink:#111111;--muted:#333333;--line:#e2edf5;--bg:#ffffff;--green:#111111;--red:#111111}
html,body{background:#fff!important;color:#111!important}
body,body *{color:#111!important}
.topbar,.sidebar,.content,.login-screen,.login-box{background:#fff!important;color:#111!important}
h1,h2,h3,h4,p,small,b,strong,label,th,td,a,span,legend,summary{color:#111!important}
.panel,.stat-card,.modal-card,.exam-question-card,.exam-review-card,.survey-area-card,.survey-report,.class-card-v7,.class-step,.class-info-table>div,.pdp-course-card,.pdp-select-card,.course-visibility-wrap,.course-visibility-groups,.checklist-person-select,.asset-library-item,.remote-assets-box,.frequency-entry,.frequency-total,.ranking-panel,.supervisor-progress-panel,.cert-hero,.welcome,.dashboard-feature,.cert-tabs a,.exam-schedule,.learning-body,.survey-question-row,.detail-person-card{background:#f4f9fd!important;background-image:none!important;border:1px solid #e2edf5!important;color:#111!important;box-shadow:none!important}
.panel{background:#f4f9fd!important}
.stat-card,.modal-card,.login-box{background:#f8fbfe!important}
.sidebar a,.quick-links a,.module-tabs,.module-tabs a,.btn,.btn.primary,.btn.danger,.metric,.pill,.notice,.frequency-count,.rank-number,.class-expand-hint,.exam-question-card legend,.modal-card h3,.modal-card th,.survey-area-card legend,.option-letter,.exam-explanation,.cert-tabs a.active,.employee-cert-status,.external-cert-linked{background:#edf5fb!important;color:#111!important;border-color:#e0ebf4!important;box-shadow:none!important}
.sidebar a.active,.module-tabs a.active{background:#e7f1f9!important;border-right-color:#777!important}
.btn:hover,.quick-links a:hover,.sidebar a:hover{background:#e5f0f8!important;color:#111!important}
.welcome h1,.welcome p,.welcome .eyebrow,.dashboard-feature h2,.dashboard-feature h3,.dashboard-feature b,.dashboard-feature p,.dashboard-feature small,.dashboard-feature .text-link,.cert-hero h1,.cert-hero p,.cert-hero .eyebrow,.pdp-course-card b,.pdp-course-card small,.pdp-course-card .pill,.pdp-course-check{color:#111!important}
.pdp-course-card,.pdp-select-card,.class-step.done,.class-step.active,.survey-area-card,.exam-question-card,.exam-review-card,.class-card-v7{background:#f4f9fd!important}
.table-wrap,table{background:#fff!important;border-color:#e2edf5!important}
th,.table-wrap th{background:#edf5fb!important;color:#111!important}
td,.table-wrap td{background:transparent!important;color:#111!important;border-color:#e7eff6!important}
tr:nth-child(even) td{background:#f8fbfe!important}
.content input,.content select,.content textarea,.form-grid input,.form-grid select,.form-grid textarea,.pdp-course-search,.calendar-filter-field select{background:#fff!important;color:#111!important;border-color:#dce8f1!important}
input::placeholder,textarea::placeholder{color:#555!important}
.pill.success,.pill.warning,.pill.muted,.notice.success,.notice.error,.btn.danger{background:#edf5fb!important;color:#111!important}
.progress,.mini-progress,.chart-bar-track,.dept-progress-track{background:#e5f0f8!important}
.progress span,.mini-progress i,.chart-bar-track i,.dept-progress-track span{background:#777!important}
.frequency-title-button,.text-link,.brand,.brand b,.brand small,.top-actions,.logout{color:#111!important}
.cert-tabs a.active{background:#e5f0f8!important}
.sidebar a.active{border-right:3px solid #777!important}
.ranking-item,.ranking-item b,.ranking-item small,.ranking-meta>strong,.ranking-panel .muted,.ranking-panel h2,.ranking-panel .rank-number{color:#111!important;background:transparent!important;border-color:#e2edf5!important}
.external-cert-admin-card{display:flex;flex-direction:column;gap:12px}.external-cert-admin-head,.employee-external-cert-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.external-cert-admin-head small,.employee-external-cert-head small{display:block}.cert-review-actions{align-self:flex-start}.cert-link-form{display:flex;align-items:end;gap:10px;flex-wrap:wrap;padding:12px;background:#f4f9fd;border:1px solid #e2dbcf;border-radius:12px}.cert-link-form label{display:flex;flex-direction:column;gap:7px;min-width:min(360px,100%);flex:1}.cert-link-form select{min-width:240px}.external-cert-linked{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px;border-radius:12px}.external-cert-linked small{flex-basis:100%}.employee-external-cert{display:flex;flex-direction:column;gap:10px}.employee-cert-status{padding:12px;border:1px solid #e2edf5;border-radius:11px;line-height:1.9}.employee-cert-status p{margin:5px 0}.external-pdp-label{font-weight:800!important}.frequency-participation{display:inline-block;padding:5px 10px;border-radius:9px;background:#edf5fb;font-weight:800}


/* Version 21: replace the warm ivory surfaces with an extremely pale, cool blue */
:root{--navy:#111111;--blue:#111111;--blue2:#f4f9fd;--ink:#111111;--muted:#333333;--line:#e2edf5;--bg:#ffffff;--green:#111111;--red:#111111}
html,body,.topbar,.sidebar,.content,.login-screen,.login-box{background-color:#fff!important;color:#111!important}
body,body *{color:#111!important}
.panel,.stat-card,.modal-card,.exam-question-card,.exam-review-card,.survey-area-card,.survey-report,.class-card-v7,.class-step,.class-info-table>div,.pdp-course-card,.pdp-select-card,.course-visibility-wrap,.course-visibility-groups,.checklist-person-select,.asset-library-item,.remote-assets-box,.frequency-entry,.frequency-total,.ranking-panel,.supervisor-progress-panel,.cert-hero,.welcome,.dashboard-feature,.cert-tabs a,.exam-schedule,.learning-body,.survey-question-row,.detail-person-card{
 background:#f4f9fd!important;background-image:none!important;border-color:#e2edf5!important;color:#111!important;box-shadow:none!important
}
.panel{background:#f4f9fd!important}
.stat-card,.modal-card,.login-box{background:#f8fbfe!important}
.sidebar a,.quick-links a,.module-tabs,.module-tabs a,.btn,.btn.primary,.btn.danger,.metric,.pill,.notice,.frequency-count,.rank-number,.class-expand-hint,.exam-question-card legend,.modal-card h3,.modal-card th,.survey-area-card legend,.option-letter,.exam-explanation,.cert-tabs a.active,.employee-cert-status,.external-cert-linked{
 background:#edf5fb!important;color:#111!important;border-color:#e0ebf4!important;box-shadow:none!important
}
.sidebar a.active,.module-tabs a.active{background:#e7f1f9!important;border-right-color:#9bbbd3!important}
.btn:hover,.quick-links a:hover,.sidebar a:hover{background:#e5f0f8!important;color:#111!important}
.pdp-course-card,.pdp-select-card,.class-step.done,.class-step.active,.survey-area-card,.exam-question-card,.exam-review-card,.class-card-v7{background:#f4f9fd!important}
.table-wrap,table{background:#fff!important;border-color:#e2edf5!important}
th,.table-wrap th{background:#edf5fb!important;color:#111!important}
td,.table-wrap td{background:transparent!important;color:#111!important;border-color:#e7eff6!important}
tr:nth-child(even) td{background:#f8fbfe!important}
.content input,.content select,.content textarea,.form-grid input,.form-grid select,.form-grid textarea,.pdp-course-search,.calendar-filter-field select{background:#fff!important;color:#111!important;border-color:#dce8f1!important}
input::placeholder,textarea::placeholder{color:#555!important}
.pill.success,.pill.warning,.pill.muted,.notice.success,.notice.error,.btn.danger{background:#edf5fb!important;color:#111!important}
.progress,.mini-progress,.chart-bar-track,.dept-progress-track{background:#e8f1f8!important}
.progress span,.mini-progress i,.chart-bar-track i,.dept-progress-track span{background:#9bbbd3!important}
.ranking-item,.ranking-item b,.ranking-item small,.ranking-meta>strong,.ranking-panel .muted,.ranking-panel h2,.ranking-panel .rank-number{color:#111!important;background:transparent!important;border-color:#e2edf5!important}
.cert-link-form{background:#f4f9fd!important;border-color:#e2edf5!important}
.external-cert-linked,.employee-cert-status{background:#edf5fb!important;border-color:#e2edf5!important}
.frequency-participation{background:#edf5fb!important}
.course-visibility-groups label{background:#f8fbfe!important;border-color:#e2edf5!important}
.course-visibility-groups label:has(input:checked){background:#eaf3fa!important;border-color:#cbddeb!important}
.course-visibility-wrap.is-disabled .course-visibility-groups{background:#f1f6fa!important}
.pdp-course-picker{background:#fff!important;border-color:#e2edf5!important}
.pdp-course-picker-option{background:#f8fbfe!important;border-color:#e2edf5!important}
.pdp-course-picker-option:hover{background:#edf5fb!important}

/* V23: active employee navigation and actionable task counters */
.sidebar a{display:flex;align-items:center;justify-content:space-between;gap:8px}
.nav-task-badge{display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:19px;padding:0 5px;border-radius:20px;background:#d92d42!important;color:#fff!important;font-size:10px;font-weight:800;line-height:1;box-shadow:0 1px 4px rgba(140,20,40,.16)}
.mobile-nav a{position:relative}
.mobile-nav a.active{color:#176b9f!important;font-weight:800;background:#edf6fc;border-radius:10px;padding:4px 7px}
.mobile-nav a.active:after{content:'';position:absolute;bottom:-3px;width:22px;height:3px;border-radius:3px;background:#76a9cf}
.mobile-nav .nav-task-badge{position:absolute;top:-3px;right:calc(50% - 22px);min-width:16px;height:16px;font-size:9px}
@media(min-width:701px){.mobile-nav .nav-task-badge{display:none}}

/* V23: task counters and active mobile navigation */
.sidebar a,.mobile-nav a{position:relative}
.nav-task-badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;margin-inline-start:7px;border-radius:20px;background:#d93636!important;color:#fff!important;font:700 10px/1 Tahoma,sans-serif;vertical-align:middle;box-shadow:0 1px 3px rgba(0,0,0,.12)}
.mobile-nav .nav-task-badge{position:absolute;top:2px;right:calc(50% + 2px);margin:0;min-width:16px;height:16px;font-size:9px}
.mobile-nav a.active{color:#176b9f!important;background:#eaf3fa;border-radius:10px;padding:4px 8px}
.mobile-nav a.active small{color:#176b9f!important;font-weight:800}
.sidebar a.active{background:#e7f1f9!important;color:#111!important;border-right:4px solid #9bbbd3!important;font-weight:800}
/* Hospital branding logo: preserve its aspect ratio in every role header. */
.topbar .brand{min-width:0;}
.topbar .hospital-brand-logo{display:block;width:48px;height:48px;max-width:48px;max-height:48px;object-fit:contain;object-position:center;flex:0 0 48px;padding:3px;background:#f4f9fd;border:1px solid #e3edf5;border-radius:12px;}
@media(max-width:700px){.role-employee .topbar .hospital-brand-logo{width:42px;height:42px;max-width:42px;max-height:42px;flex-basis:42px;padding:2px;border-radius:10px;}}

/* Universal searchable, scrollable select controls */
.smart-select{position:relative;width:100%;min-width:0;display:block}
.smart-select-native{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;opacity:0!important;pointer-events:none!important}
.smart-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;padding:9px 12px;border:1px solid #cbd9e6;border-radius:10px;background:#fff;color:#111;font:inherit;text-align:right;cursor:pointer}
.smart-select-trigger:focus,.smart-select.open .smart-select-trigger{outline:0;border-color:#77a9ce;box-shadow:0 0 0 3px rgba(119,169,206,.16)}
.smart-select-trigger .smart-select-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.smart-select-menu{position:absolute;z-index:1200;top:calc(100% + 5px);right:0;left:0;padding:9px;background:#fff;border:1px solid #d6e4ef;border-radius:12px;box-shadow:0 14px 32px rgba(20,45,70,.18)}
.smart-select-menu[hidden]{display:none!important}
.smart-select-search{width:100%;height:40px;margin:0 0 8px;padding:8px 10px;border:1px solid #d5e0e9;border-radius:8px;background:#f4f9fd;color:#111;font:inherit}
.smart-select-options{display:flex;flex-direction:column;gap:4px;max-height:250px;overflow-y:auto;overscroll-behavior:contain}
.smart-select-option{width:100%;padding:9px 10px;border:1px solid transparent;border-radius:8px;background:#fff;color:#111;text-align:right;font:inherit;cursor:pointer}
.smart-select-option:hover,.smart-select-option[aria-selected=true]{background:#edf6fc;border-color:#d7e8f5}
.smart-select-option[hidden]{display:none!important}
.smart-select-empty{padding:10px;color:#64748b;text-align:center;font-size:12px}
.smart-select-error{display:none;color:#b42318;font-size:12px;margin-top:5px}.smart-select.invalid .smart-select-error{display:block}
.password-reset-backdrop{position:fixed;inset:0;z-index:5000;background:rgba(15,30,45,.5);display:flex;align-items:center;justify-content:center;padding:18px}
.password-reset-backdrop[hidden]{display:none!important}.password-reset-dialog{width:min(100%,430px);padding:22px;border-radius:18px;background:#fff;box-shadow:0 20px 60px rgba(0,0,0,.2);color:#111}.password-reset-dialog h2{margin-top:0}

/* v26: searchable selects follow the PDP picker interaction and visual rhythm */
.smart-select{display:block;width:100%;min-width:0;margin-top:3px}
.smart-select-trigger{min-height:46px;border:1px solid #d5e1ec;border-radius:10px;background:#f8fbfe;color:#111;padding:10px 13px;font-size:inherit;line-height:1.6}
.smart-select-trigger:hover{border-color:#a9c6dc;background:#f4f9fd}
.smart-select-menu{padding:10px;background:#fff;border:1px solid #d5e1ec;border-radius:12px;box-shadow:0 12px 30px rgba(22,48,72,.14)}
.smart-select-search{height:44px;margin-bottom:10px;background:#f8fbfe;border-color:#d5e1ec;border-radius:10px;padding:9px 12px}
.smart-select-options{max-height:280px;overflow-y:auto;padding:2px;gap:5px;scrollbar-width:thin;overscroll-behavior:contain}
.smart-select-option{min-height:40px;padding:9px 12px;text-align:right;border:1px solid #edf2f6;border-radius:9px;background:#fff;color:#111;line-height:1.6}
.smart-select-option:hover,.smart-select-option[aria-selected=true]{background:#edf6fc;border-color:#d5e7f4;color:#111}
.smart-select-option:disabled{opacity:.45;cursor:not-allowed}
.smart-select-error{padding:4px 8px;background:#fff5f5;border-radius:7px}
.password-reset-success{text-align:center;max-width:390px}
.reset-success-icon{width:58px;height:58px;margin:0 auto 12px;border-radius:50%;display:grid;place-items:center;background:#eaf6ef;color:#16834a;font-size:34px;font-weight:900}
.password-reset-success p{line-height:2;color:#334155}
.password-reset-success .btn{min-width:130px;justify-content:center}

/* V27: employee panel final mobile navigation and text behavior */
@media(max-width:700px){.role-employee .top-actions a:not(.logout):not([href="/account.php"]){display:none!important}.role-employee .top-actions a[href="/account.php"]{display:inline-flex!important;align-items:center;padding:7px 9px;border-radius:9px;background:#eaf3fa;color:#245b78;font-weight:700}.role-employee .mobile-nav a{font-size:16px}.role-employee .mobile-nav small{font-size:8px}.role-employee .mobile-nav{justify-content:space-evenly}.role-employee .mobile-nav a{flex:1}}
.role-employee{ -webkit-user-select:none;user-select:none}.role-employee input,.role-employee textarea,.role-employee select,[contenteditable="true"]{-webkit-user-select:text;user-select:text}
.role-employee .progress-overview{background:#f4f9fd!important;background-image:none!important;border:1px solid #e2edf5!important;color:#111!important;box-shadow:none!important}.role-employee .progress-overview .progress-heading h2,.role-employee .progress-overview .progress-heading .eyebrow,.role-employee .progress-overview .progress-heading p,.role-employee .progress-overview .progress-comparison small,.role-employee .progress-overview .progress-comparison b{color:#111!important}.role-employee .progress-overview .progress-track{background:#dceaf5}.role-employee .progress-overview .progress-track i{background:#79add2}.role-employee .progress-overview .progress-comparison>div{background:#eaf3fa;border:1px solid #dceaf5}
.role-employee .pdp-hero,.role-employee .employee-page-hero{background:#fff!important;color:#111!important;border:0!important;box-shadow:none!important;padding:4px 2px 10px!important;margin:4px 0 12px!important;border-radius:0!important}.role-employee .pdp-hero h1,.role-employee .employee-page-hero h1,.role-employee .pdp-hero .eyebrow,.role-employee .employee-page-hero .eyebrow{color:#111!important}.role-employee .pdp-course-card{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px 13px!important;background:#f4f9fd!important;border:1px solid #dceaf5!important;border-radius:13px!important;color:#111!important}.role-employee .pdp-course-content{min-width:0;overflow:hidden}.role-employee .pdp-course-content b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;color:#111!important}.role-employee .pdp-course-content small{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;color:#62778a!important;font-size:10px}.role-employee .pdp-course-card .pill{white-space:nowrap;background:#e5f0f8!important;color:#285c83!important;border:0!important;font-size:9px}.role-employee .pdp-course-check{background:#e3eff8!important;color:#285c83!important}.role-employee .ranking-top-item{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;padding:13px 10px;border-bottom:1px solid #e5edf4}.role-employee .ranking-top-item:last-child{border-bottom:0}.role-employee .ranking-top-number{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:#e6f1f9;color:#245b78;font-weight:800}.role-employee .ranking-top-name{min-width:0}.role-employee .ranking-top-name b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.role-employee .ranking-top-name small{display:block;color:#708397;font-size:10px;margin-top:3px}.role-employee .ranking-top-pct{font-weight:800;color:#245b78}

@media(max-width:700px){.role-employee .pdp-course-card .pill{margin:0!important;align-self:center}.role-employee .pdp-course-content small+small{display:block}.role-employee .pdp-hero h1{font-size:19px;margin:0 0 12px}.role-employee .employee-page-hero h1{font-size:19px;margin:0 0 12px}}

/* Login remember-me control */
.login-box .remember-me-row{display:flex;align-items:center;justify-content:flex-start;gap:9px;margin:8px 0 14px;font-size:14px;color:#111;cursor:pointer}
.login-box .remember-me-row input{width:18px;height:18px;accent-color:#78aaca}


/* V30: accessible, polished remember-me checkbox */
.login-box .remember-me-row{
 display:flex!important;align-items:center!important;justify-content:flex-start!important;
 gap:11px!important;width:100%;margin:14px 0 4px!important;padding:11px 13px;
 border:1px solid #dceaf5;border-radius:11px;background:#f4f9fd;
 color:#172b3d!important;font-size:13px!important;font-weight:600;line-height:1.5;cursor:pointer;
}
.login-box .remember-me-row input[type="checkbox"]{
 appearance:auto;width:19px!important;height:19px!important;min-width:19px;flex:0 0 19px;
 margin:0!important;padding:0!important;accent-color:#6f9fbe;cursor:pointer;
}
.login-box .remember-me-row span{display:inline-block;color:#172b3d!important}
.login-box .remember-me-row:focus-within{outline:2px solid #b8d4e8;outline-offset:2px}
