.esl-portal{--esl-blue:#0b3f8f;--esl-sky:#eef5ff;--esl-red:#a51d2d;--esl-text:#172033;--esl-muted:#667085;max-width:1180px;margin:24px auto;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--esl-text)}
.esl-portal *{box-sizing:border-box}.esl-brand{text-align:center;padding:32px 20px 18px}.esl-brand h2,.esl-dashboard-head h2{margin:10px 0 6px;font-size:clamp(25px,4vw,38px);line-height:1.15}.esl-brand p,.esl-dashboard-head p{margin:0;color:var(--esl-muted)}
.esl-badge{display:inline-flex;padding:7px 12px;border-radius:999px;background:var(--esl-blue);color:#fff;font-size:12px;font-weight:800;letter-spacing:.06em}.esl-auth-tabs{display:flex;justify-content:center;gap:8px;margin:8px 0 18px}.esl-tab{border:1px solid #cfd8e6;background:#fff;border-radius:9px;padding:10px 18px;font-weight:700;cursor:pointer}.esl-tab.is-active{background:var(--esl-blue);color:#fff;border-color:var(--esl-blue)}
.esl-auth-grid{max-width:600px;margin:auto}.esl-auth-panel{display:none;background:#fff;border:1px solid #dfe6ef;border-radius:18px;padding:26px;box-shadow:0 14px 40px rgba(12,48,93,.09)}.esl-auth-panel.is-active{display:block}.esl-auth-panel h3{margin:0 0 20px}.esl-form{display:grid;gap:15px}.esl-form label{display:grid;gap:7px;font-size:14px;font-weight:700}.esl-form input,.esl-form select,.esl-filters input,.esl-filters select{width:100%;border:1px solid #cbd5e1;border-radius:9px;padding:11px 12px;background:#fff;font:inherit;color:inherit}.esl-form input:focus,.esl-form select:focus,.esl-filters input:focus,.esl-filters select:focus{outline:3px solid rgba(11,63,143,.13);border-color:var(--esl-blue)}.esl-form .esl-check{display:flex;grid-template-columns:auto 1fr;align-items:flex-start;font-weight:500}.esl-check input{width:auto;margin-top:3px}.esl-terms{font-size:12px!important;color:#4b5563}.esl-help{font-size:12px;color:var(--esl-muted);margin:0}
.esl-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;border-radius:9px;padding:10px 15px;text-decoration:none!important;font-weight:750;font-size:14px;cursor:pointer}.esl-button-primary{background:var(--esl-blue);color:#fff!important}.esl-button-light{background:#fff;color:var(--esl-blue)!important}.esl-button-outline{background:#fff;color:var(--esl-blue)!important;border:1px solid #9bb2d4}.esl-button:hover{filter:brightness(.96)}
.esl-message{padding:14px 16px;border-radius:10px;margin:0 0 18px}.esl-success{background:#eaf8ef;color:#166534;border:1px solid #b8e3c7}.esl-error{background:#fff0f0;color:#9f1239;border:1px solid #fecdd3}.esl-warning{background:#fff8e7;color:#854d0e;border:1px solid #fde68a}.esl-info{background:#eef5ff;color:#1e4c8a;border:1px solid #cbdcf5}
.esl-account-switch{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:20px 0}.esl-account-switch p{margin:5px 0;line-height:1.55}.esl-account-switch small{display:block;color:#475569}.esl-switch-actions{display:flex;flex:0 0 auto;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.esl-dashboard-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;padding:28px;border-radius:18px;background:linear-gradient(135deg,#0b3f8f,#1768c0);color:#fff;margin-bottom:20px}.esl-dashboard-head p{color:#d9e8ff}.esl-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.esl-expiry{font-size:13px;background:rgba(255,255,255,.16);padding:8px 10px;border-radius:8px}
.esl-notices{margin:18px 0}.esl-notices h3,.esl-library-section h3{margin:0 0 12px}.esl-notice{border-left:4px solid #f59e0b;background:#fffbeb;padding:13px 15px;margin:8px 0;border-radius:0 10px 10px 0}.esl-notice p{margin:5px 0}.esl-library-section{margin-top:24px}.esl-library-title{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:16px}.esl-library-title h3{font-size:24px;margin:0}.esl-library-title p{margin:4px 0 0;color:var(--esl-muted)}.esl-filters{display:grid;grid-template-columns:minmax(180px,1fr) minmax(160px,.7fr);gap:8px;max-width:500px;width:100%}
.esl-file-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.esl-file-card{display:grid;grid-template-columns:54px 1fr auto;gap:14px;align-items:center;border:1px solid #dde5ef;background:#fff;border-radius:14px;padding:17px;box-shadow:0 6px 22px rgba(19,45,80,.05)}.esl-pdf-icon{display:flex;align-items:center;justify-content:center;width:52px;height:62px;border-radius:8px;background:#fee2e2;color:#991b1b;font-size:12px;font-weight:900}.esl-file-content h4{margin:5px 0 6px;font-size:16px;line-height:1.3}.esl-file-content p{margin:2px 0;color:var(--esl-muted);font-size:12px}.esl-file-content .esl-limit{color:#475569}.esl-category{display:inline-flex;background:var(--esl-sky);color:var(--esl-blue);border-radius:999px;padding:4px 8px;font-size:10px;font-weight:800}.esl-file-actions{display:grid;gap:7px;min-width:104px}.esl-empty{padding:30px;text-align:center;border:1px dashed #bac6d6;border-radius:12px;color:var(--esl-muted)}
.esl-material-section{margin:20px 0 26px}.esl-section-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid #dbe7f6;padding:0 2px 10px;margin-bottom:13px}.esl-section-heading>div{display:flex;align-items:center;gap:9px}.esl-section-heading span{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:8px;background:var(--esl-blue);color:#fff;font-weight:850}.esl-section-heading h4{margin:0;font-size:20px}.esl-section-heading small{color:var(--esl-muted);font-weight:700}.esl-section-empty{padding:20px;background:#fafcff}
.esl-dashboard-tabs{display:flex;gap:8px;overflow:auto;padding:5px;margin:18px 0 6px;background:#edf4ff;border:1px solid #d6e3f5;border-radius:13px}.esl-dashboard-tab{flex:1;min-width:150px;border:0;background:transparent;color:var(--esl-blue);border-radius:9px;padding:12px 16px;font:inherit;font-size:14px;font-weight:800;cursor:pointer;white-space:nowrap}.esl-dashboard-tab.is-active{background:var(--esl-blue);color:#fff;box-shadow:0 5px 14px rgba(11,63,143,.2)}.esl-dashboard-panel{display:none}.esl-dashboard-panel.is-active{display:block}.esl-learning-section{margin-top:24px}.esl-content-filter{max-width:360px;width:100%}.esl-content-filter input{width:100%;border:1px solid #cbd5e1;border-radius:9px;padding:11px 12px;background:#fff;font:inherit;color:inherit}.esl-content-filter input:focus{outline:3px solid rgba(11,63,143,.13);border-color:var(--esl-blue)}
.esl-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.esl-post-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid #dde5ef;background:#fff;border-radius:14px;box-shadow:0 6px 22px rgba(19,45,80,.06)}.esl-post-thumb{display:block;aspect-ratio:16/9;background:#eaf2ff;overflow:hidden}.esl-post-thumb img{display:block;width:100%;height:100%;object-fit:cover}.esl-content-icon{display:flex;align-items:center;justify-content:center;min-height:112px;background:linear-gradient(135deg,#e7f0ff,#cfe1ff);color:var(--esl-blue);font-size:18px;font-weight:900;letter-spacing:.08em}.esl-content-icon.is-video{background:linear-gradient(135deg,#fff0f3,#ffd8e0);color:#a51d2d}.esl-post-content{display:flex;flex:1;flex-direction:column;align-items:flex-start;padding:17px}.esl-post-content h4{margin:8px 0 5px;font-size:17px;line-height:1.35}.esl-post-date{margin:0;color:var(--esl-muted);font-size:12px}.esl-post-excerpt{margin:10px 0 16px;color:#4b5563;font-size:13px;line-height:1.55}.esl-post-content .esl-button{margin-top:auto;width:100%}
.esl-post-category-group{margin:20px 0 30px}.esl-youtube-grid{display:grid;gap:20px}.esl-youtube-card{overflow:hidden;border:1px solid #dbe4ef;background:#fff;border-radius:16px;box-shadow:0 8px 28px rgba(19,45,80,.07)}.esl-youtube-player{position:relative;aspect-ratio:16/9;min-height:200px;background:#111}.esl-youtube-player iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.esl-youtube-info{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px}.esl-youtube-info h4{margin:7px 0 4px;font-size:19px}.esl-youtube-info p{margin:0;color:var(--esl-muted);font-size:13px}.esl-youtube-info .esl-button{flex:0 0 auto}.esl-legacy-recordings{margin-top:30px}
@media(max-width:900px){.esl-file-grid{grid-template-columns:1fr}.esl-library-title{align-items:stretch;flex-direction:column}.esl-filters{max-width:none}}
@media(max-width:900px){.esl-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.esl-content-filter{max-width:none}}
@media(max-width:620px){.esl-portal{margin:12px}.esl-auth-panel{padding:20px}.esl-dashboard-head{align-items:flex-start;flex-direction:column;padding:22px}.esl-head-actions{justify-content:flex-start}.esl-dashboard-tabs{justify-content:flex-start}.esl-dashboard-tab{flex:0 0 auto;min-width:145px}.esl-filters{grid-template-columns:1fr}.esl-file-card{grid-template-columns:44px 1fr}.esl-pdf-icon{width:42px;height:52px}.esl-file-actions{grid-column:1/-1;grid-template-columns:1fr 1fr}.esl-file-actions .esl-button:only-child{grid-column:1/-1}.esl-post-grid{grid-template-columns:1fr}.esl-youtube-info{align-items:stretch;flex-direction:column}.esl-youtube-info .esl-button{width:100%}.esl-account-switch{align-items:stretch;flex-direction:column}.esl-switch-actions{justify-content:stretch}.esl-switch-actions .esl-button{width:100%}}
.esl-subcategory-group{margin:16px 0 24px;padding:14px;border:1px solid #e2eaf4;border-radius:14px;background:#f9fbfe}.esl-subcategory-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}.esl-subcategory-heading>div{display:flex;align-items:center;gap:9px}.esl-subcategory-heading span{display:inline-flex;border-radius:999px;background:#e7f0ff;color:var(--esl-blue);padding:4px 8px;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.04em}.esl-subcategory-heading h5{margin:0;font-size:17px;color:#1f2937}.esl-subcategory-heading small{color:var(--esl-muted);font-size:11px;font-weight:700}.esl-subcategory-badge{display:inline-flex;margin-left:5px;border-radius:999px;background:#fff3cd;color:#7a5300;padding:4px 8px;font-size:10px;font-weight:800}
.esl-course-picker{margin:0;border:1px solid #cbd5e1;border-radius:10px;padding:13px}.esl-course-picker legend{padding:0 6px;font-size:14px;font-weight:800}.esl-course-picker legend small,.esl-course-picker>small{color:var(--esl-muted);font-weight:500}.esl-course-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:6px 0 10px}.esl-course-option{display:flex!important;grid-template-columns:none!important;align-items:center!important;gap:8px!important;border:1px solid #d8e2ef;border-radius:9px;padding:10px 11px;background:#fff;font-weight:650!important;cursor:pointer}.esl-course-option:hover{border-color:#8aa9d1;background:#f6faff}.esl-course-option input{width:auto!important;margin:0!important;flex:0 0 auto}.esl-course-access-panel{margin:20px 0}.esl-course-access-head h3{margin:0 0 5px;font-size:24px}.esl-course-access-head p{margin:0;color:var(--esl-muted);line-height:1.55}.esl-course-status-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0}.esl-course-status-card{border:1px solid #dbe4ef;border-radius:14px;padding:17px;background:#fff}.esl-course-status-card.is-approved{border-left:5px solid #16803c}.esl-course-status-card.is-pending{border-left:5px solid #d97706}.esl-course-status-card h4{margin:0 0 12px}.esl-course-chips{display:flex;flex-wrap:wrap;gap:8px}.esl-course-chip,.esl-muted-chip{display:inline-flex;align-items:center;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:750}.esl-course-chip.is-approved{background:#eaf8ef;color:#166534}.esl-course-chip.is-pending{background:#fff7e6;color:#92400e}.esl-muted-chip{background:#f1f5f9;color:#64748b}.esl-course-request-form{border:1px solid #d5e2f3;border-radius:14px;padding:18px;background:#f7fbff}.esl-course-request-form h4{margin:0 0 5px}.esl-course-request-form p{margin:0 0 10px;color:var(--esl-muted)}
@media(max-width:620px){.esl-course-options,.esl-course-status-grid{grid-template-columns:1fr}}
