:root{--blue:#0F4C81;--teal:#1F7A8C;--mint:#55C1A7;--bg:#F6F8FB;--card:#fff;--text:#172033;--muted:#64748b;--line:#e6edf5;--shadow:0 18px 45px rgba(15,76,129,.12)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif}a{text-decoration:none;color:inherit}.lesc-public{min-height:100vh}.lesc-login-wrap{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:30px;background:linear-gradient(135deg,#eef8fb,#f8fbff)}.lesc-login-shell{width:min(540px,100%);text-align:center}.lesc-login-shell h1{font-size:38px;line-height:1.05;color:var(--blue);margin:0 0 26px;font-weight:900}.lesc-login-card{background:#fff;border-radius:26px;padding:34px;box-shadow:var(--shadow);border:1px solid var(--line);text-align:left}.lesc-login-card h2{text-align:center;margin:0 0 20px}.login-username label,.login-password label{font-weight:800;color:#334155}.lesc-login-card input[type=text],.lesc-login-card input[type=password],.lesc-form input,.lesc-form textarea{width:100%;border:1px solid #dbe6ef;border-radius:14px;padding:14px 16px;margin:8px 0 16px;background:#f8fafc;font-size:16px}.login-submit input,.lesc-btn{display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--blue),var(--teal));color:#fff!important;border:0;border-radius:14px;padding:13px 20px;font-weight:900;cursor:pointer;box-shadow:0 10px 24px rgba(15,76,129,.22)}.login-submit input{width:100%;font-size:16px}.lesc-login-note{color:var(--muted);line-height:1.6;margin:24px auto 0;max-width:520px}.lesc-app{display:flex;min-height:100vh}.lesc-sidebar{width:280px;background:#0b365c;color:#fff;padding:24px;position:sticky;top:0;height:100vh}.lesc-brand{display:flex;align-items:center;gap:12px;margin-bottom:34px}.lesc-logo-dot{width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,var(--mint),#fff)}.lesc-nav{display:flex;flex-direction:column;gap:10px}.lesc-nav a{padding:13px 14px;border-radius:14px;color:#d9eef8;font-weight:800}.lesc-nav a:hover{background:rgba(255,255,255,.12);color:#fff}.lesc-main{flex:1;min-width:0}.lesc-topbar{height:74px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:5}.lesc-mobile-menu{display:none}.lesc-user-pill{background:#eef8fb;color:var(--blue);border-radius:999px;padding:10px 16px;font-weight:900}.lesc-page{padding:30px;max-width:1180px;margin:0 auto}.lesc-hero{background:linear-gradient(135deg,var(--blue),var(--teal));color:#fff;border-radius:28px;padding:34px;margin-bottom:24px;box-shadow:var(--shadow)}.lesc-hero h1{font-size:34px;margin:0 0 8px}.lesc-hero p{margin:0;opacity:.9}.lesc-grid{display:grid;gap:18px}.lesc-grid.four{grid-template-columns:repeat(4,1fr)}.lesc-stat,.lesc-panel,.lesc-course-card{background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:0 10px 28px rgba(17,24,39,.06)}.lesc-stat{padding:22px}.lesc-stat strong{display:block;font-size:28px;color:var(--blue)}.lesc-stat span{color:var(--muted);font-weight:800}.lesc-panel{padding:24px;margin-top:20px}.lesc-panel h2{margin:0 0 16px}.lesc-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.lesc-info-grid p{margin:0;background:#f8fafc;border:1px solid var(--line);border-radius:16px;padding:14px}.lesc-info-grid b{display:block;color:#334155}.lesc-info-grid span{display:block;color:#64748b;margin-top:5px;min-height:20px}.muted{color:var(--muted)}.lesc-big-action{display:inline-flex;margin-top:22px;background:var(--mint);color:#073b4c;border-radius:18px;padding:16px 22px;font-weight:1000}.lesc-course-list{display:grid;gap:18px}.lesc-course-card{display:grid;grid-template-columns:220px 1fr;overflow:hidden}.lesc-course-thumb{min-height:155px;background:#dcebf3}.lesc-course-thumb img{width:100%;height:100%;object-fit:cover;display:block}.lesc-course-info{padding:22px}.lesc-course-info h3{margin:0 0 8px;font-size:23px}.lesc-course-info p{color:#475569;line-height:1.55;margin:0 0 12px}.lesc-course-meta{font-weight:900;color:var(--teal);margin-bottom:14px}.lesc-success{background:#e8fff7;border:1px solid #a7f3d0;color:#065f46;padding:14px 16px;border-radius:16px;margin-bottom:18px;font-weight:900}.lesc-form label{display:block;font-weight:900;margin-bottom:6px}.lesc-back{display:inline-flex;margin-bottom:18px;color:var(--blue);font-weight:900}.lesc-training-viewer{padding:0;overflow:hidden}.lesc-training-viewer iframe{width:100%;height:75vh;border:0;background:#fff}.admin-bar .lesc-topbar{top:32px}@media(max-width:900px){.lesc-app{display:block}.lesc-sidebar{height:auto;width:100%;position:relative}.lesc-nav{display:grid;grid-template-columns:repeat(3,1fr)}.lesc-grid.four,.lesc-info-grid{grid-template-columns:1fr}.lesc-course-card{grid-template-columns:1fr}.lesc-page{padding:18px}.lesc-topbar{padding:0 16px}.lesc-login-shell h1{font-size:30px}}@media(max-width:520px){.lesc-nav{grid-template-columns:1fr 1fr}.lesc-hero h1{font-size:26px}.lesc-login-card{padding:24px}}

.lesc-completion-list p{display:flex;gap:14px;align-items:center;justify-content:space-between;border-bottom:1px solid #e7eef6;padding:12px 0}.lesc-mini-link{font-weight:800;color:#0f4c81;text-decoration:none}
.lesc-filter-row{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 20px}.lesc-filter-row a{background:#fff;border:1px solid #d9e5ee;border-radius:999px;padding:9px 14px;text-decoration:none;color:#0f4c81;font-weight:700}.lesc-course-kicker{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:#1f7a8c;margin-bottom:4px}.lesc-complete-badge{display:inline-flex;align-items:center;background:#e9fbf5;color:#0d684e;border:1px solid #bfeedd;border-radius:999px;padding:7px 11px;margin:6px 8px 8px 0;font-size:13px;font-weight:800}.lesc-btn.secondary{background:#eef6fa;color:#0f4c81;box-shadow:none}.lesc-training-summary{margin-bottom:18px}.lesc-pill{display:inline-flex;background:#fff;border:1px solid #d9e5ee;border-radius:999px;color:#0f4c81;padding:8px 12px;font-weight:800}.lesc-open-file{margin-top:14px}.lesc-training-viewer iframe{width:100%;min-height:72vh;border:0;border-radius:18px;background:#f6f8fb}.wp-admin .lesc-admin-wrap h1{color:#0f4c81;font-weight:800}

/* Sprint 3: Messaging + compliance polish */
.lesc-message-list{display:grid;gap:16px}.lesc-message-card{border:1px solid var(--line);background:#fff;border-radius:18px;padding:18px}.lesc-message-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.lesc-message-head h3{margin:0;color:var(--blue)}.lesc-message-head span{border-radius:999px;padding:7px 11px;background:#eef6fa;color:var(--blue);font-weight:900;font-size:13px}.lesc-message-card.answered .lesc-message-head span{background:#e8fff7;color:#065f46}.lesc-message-date{margin:6px 0 14px;color:var(--muted);font-size:13px}.lesc-message-body,.lesc-message-reply{border-radius:14px;padding:14px;margin-top:10px}.lesc-message-body{background:#f8fafc;border:1px solid #e6edf5}.lesc-message-reply{background:#eaf8f6;border:1px solid #bfebe3}.lesc-message-body p,.lesc-message-reply p{margin:8px 0 0;line-height:1.6}.lesc-compliance-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:18px}.lesc-compliance-card{border-radius:18px;padding:16px;border:1px solid var(--line);background:#fff;display:grid;gap:8px}.lesc-compliance-card b{display:block}.lesc-compliance-card span{display:block;color:#64748b;font-size:13px}.lesc-compliance-card strong{display:inline-flex;width:max-content;border-radius:999px;padding:7px 10px;font-size:13px}.lesc-compliance-card p{margin:0;color:#334155}.lesc-compliance-card em{font-style:normal;color:#64748b;font-weight:800}.lesc-compliance-card.good{background:#f0fdf7}.lesc-compliance-card.good strong{background:#dcfce7;color:#166534}.lesc-compliance-card.soon{background:#fffbeb}.lesc-compliance-card.soon strong{background:#fef3c7;color:#92400e}.lesc-compliance-card.expired{background:#fef2f2}.lesc-compliance-card.expired strong{background:#fee2e2;color:#991b1b}.lesc-compliance-card.missing strong{background:#e2e8f0;color:#334155}@media(max-width:900px){.lesc-compliance-grid{grid-template-columns:1fr}}

/* Sprint 4: Live editable profile fields */
.lesc-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.lesc-section-head h2{margin:0}.lesc-field-box{margin:0;background:#f8fafc;border:1px solid var(--line);border-radius:16px;padding:14px}.lesc-field-box b{display:block;color:#334155;margin-bottom:7px}.lesc-field-box span{display:block;color:#64748b;min-height:22px;line-height:1.45}.lesc-field-box input,.lesc-field-box textarea{width:100%;border:1px solid #d6e3ee;border-radius:12px;background:#fff;padding:12px 13px;font-size:15px;color:#172033;outline:none}.lesc-field-box input:focus,.lesc-field-box textarea:focus{border-color:var(--teal);box-shadow:0 0 0 3px rgba(31,122,140,.12)}.lesc-profile-form .lesc-btn{margin-left:8px}.lesc-btn.secondary{background:#eef6fa!important;color:#0f4c81!important;box-shadow:none!important}@media(max-width:700px){.lesc-section-head{align-items:flex-start;flex-direction:column}.lesc-profile-form .lesc-btn{margin-left:0;margin-right:8px;margin-bottom:8px}}

/* v1.5 frontend editable profile/compliance polish */
.lesc-section-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px;flex-wrap:wrap}
.lesc-section-head h2{margin:0}
.lesc-field-box input,.lesc-field-box textarea{width:100%;margin-top:10px;border:1px solid #cfe0ee;border-radius:14px;padding:13px 14px;font:inherit;color:#16233a;background:#fff;box-sizing:border-box;outline:none}
.lesc-field-box input:focus,.lesc-field-box textarea:focus{border-color:#1f7a8c;box-shadow:0 0 0 4px rgba(31,122,140,.12)}
.lesc-field-box span:empty:before{content:'Click Edit to add';color:#8a98aa;font-weight:500}
.lesc-edit-note{margin:-6px 0 22px;color:#64748b;font-weight:600}
.lesc-success{background:#ecfdf5;border:1px solid #bbf7d0;color:#166534;padding:14px 18px;border-radius:16px;margin:0 0 20px;font-weight:700}
@media(max-width:800px){.lesc-section-head{align-items:flex-start}.lesc-section-head .lesc-btn{width:100%;text-align:center;margin-top:6px}}
/* Sprint 5: Course management frontend */
.lesc-course-meta{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 16px}.lesc-course-meta span{background:#eef6fa;border:1px solid #dbeaf2;color:#0f4c81;border-radius:999px;padding:7px 10px;font-size:13px;font-weight:900}.lesc-course-view-pills{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.lesc-course-content{padding:22px;line-height:1.7}.lesc-materials-panel{margin-top:18px}.lesc-material-links{display:flex;gap:12px;flex-wrap:wrap}.lesc-training-viewer .lesc-open-file{padding:0 22px 22px}.lesc-training-viewer iframe+ .lesc-open-file{margin-top:18px}.lesc-course-card .lesc-btn{margin-top:4px}

/* Sprint 6 assignment frontend */
.lesc-assignment-line{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0 14px}
.lesc-assignment-line span{display:inline-flex;align-items:center;border-radius:999px;background:#eef6ff;color:#0f4c81;font-weight:800;font-size:.86rem;padding:7px 10px}

/* Sprint 8: Signup option on homepage */
.lesc-auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:10px;background:#f1f7fb;border:1px solid var(--line);border-radius:16px;padding:7px;margin:-8px 0 22px}
.lesc-auth-tabs a{display:flex;align-items:center;justify-content:center;border-radius:12px;padding:11px 12px;font-weight:900;color:var(--blue);text-decoration:none}
.lesc-auth-tabs a.active{background:#fff;box-shadow:0 8px 20px rgba(15,76,129,.10);color:#0b365c}
.lesc-auth-note,.lesc-switch-note{color:var(--muted);line-height:1.5;text-align:center;margin:0 0 16px}
.lesc-switch-note{margin:14px 0 0;font-weight:700}
.lesc-switch-note a{color:var(--blue);font-weight:900;text-decoration:none}
.lesc-signup-form p{margin:0 0 14px;text-align:left}
.lesc-signup-form label{display:block;font-weight:900;margin-bottom:7px;color:#334155}
.lesc-signup-form input{width:100%;border:1px solid #d6e3ee;border-radius:14px;background:#f8fafc;padding:13px 14px;font-size:15px;color:#172033;outline:none;box-sizing:border-box}
.lesc-signup-form input:focus{border-color:var(--teal);box-shadow:0 0 0 3px rgba(31,122,140,.12);background:#fff}
.lesc-btn-full{width:100%;justify-content:center;text-align:center}
.lesc-error{background:#fef2f2;border:1px solid #fecaca;color:#991b1b;border-radius:14px;padding:12px 14px;margin:0 0 16px;font-weight:800;text-align:left}


/* v2.2 Alison-style course cards */
.lesc-course-list{display:grid;gap:20px}.lesc-course-card.lesc-alison-card{display:grid;grid-template-columns:210px minmax(0,1fr);align-items:stretch;background:#fff;border:1px solid #dfeaf3;border-radius:22px;overflow:hidden;box-shadow:0 12px 32px rgba(15,76,129,.08);transition:transform .18s ease,box-shadow .18s ease}.lesc-course-card.lesc-alison-card:hover{transform:translateY(-2px);box-shadow:0 18px 42px rgba(15,76,129,.14)}.lesc-alison-card .lesc-course-thumb{min-height:175px;background:#eaf4f8}.lesc-alison-card .lesc-course-thumb img{width:100%;height:100%;object-fit:cover;display:block}.lesc-alison-card .lesc-course-info{padding:22px 24px;display:flex;flex-direction:column;align-items:flex-start}.lesc-alison-card .lesc-course-kicker{font-size:12px;line-height:1;text-transform:uppercase;letter-spacing:.08em;color:#1f7a8c;font-weight:900;margin-bottom:8px}.lesc-alison-card h3{font-size:25px;line-height:1.18;color:#172033;margin:0 0 10px}.lesc-alison-card .lesc-course-summary{font-size:16px;line-height:1.6;color:#475569;margin:0 0 14px;max-width:760px}.lesc-alison-card .lesc-course-meta{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px}.lesc-alison-card .lesc-course-meta span{background:#eef6fa;border:1px solid #dbeaf2;color:#0f4c81;border-radius:999px;padding:7px 11px;font-size:13px;font-weight:900}.lesc-assignment-line{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}.lesc-assignment-line span{background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;padding:7px 11px;color:#334155;font-size:13px;font-weight:800}.lesc-course-actions{margin-top:auto}.lesc-course-actions .lesc-btn{min-width:150px}.lesc-panel .lesc-course-list{margin-top:12px}@media(max-width:720px){.lesc-course-card.lesc-alison-card{grid-template-columns:1fr}.lesc-alison-card .lesc-course-thumb{height:190px}.lesc-alison-card h3{font-size:22px}}

/* Sprint 8: Interactive Course Player */
.lesc-card-progress{width:100%;margin:2px 0 16px;display:flex;align-items:center;gap:12px}.lesc-card-progress div{height:10px;flex:1;background:#edf4f8;border-radius:999px;overflow:hidden}.lesc-card-progress span{display:block;height:100%;background:linear-gradient(90deg,#0F4C81,#55C1A7);border-radius:999px}.lesc-card-progress b{font-size:13px;color:#0f4c81;white-space:nowrap}.lesc-player-shell{display:grid;grid-template-columns:300px minmax(0,1fr);gap:24px;align-items:start}.lesc-player-nav{position:sticky;top:24px;background:#fff;border:1px solid #dfeaf3;border-radius:24px;box-shadow:0 14px 38px rgba(15,76,129,.09);padding:20px}.lesc-player-brand{text-transform:uppercase;letter-spacing:.12em;font-size:12px;font-weight:900;color:#1f7a8c;margin-bottom:10px}.lesc-player-nav h3{font-size:22px;line-height:1.2;margin:0 0 16px;color:#172033}.lesc-player-mini-progress{display:flex;align-items:center;gap:10px;margin:0 0 18px}.lesc-player-mini-progress div{height:9px;background:#edf4f8;border-radius:999px;overflow:hidden;flex:1}.lesc-player-mini-progress span{display:block;height:100%;background:linear-gradient(90deg,#0F4C81,#55C1A7)}.lesc-player-mini-progress b{color:#0f4c81;font-size:13px}.lesc-player-nav nav{display:grid;gap:8px}.lesc-player-nav nav a{display:grid;grid-template-columns:24px 1fr;gap:8px;align-items:center;padding:11px 12px;border:1px solid transparent;border-radius:14px;color:#475569;text-decoration:none;font-weight:800;line-height:1.25}.lesc-player-nav nav a:hover{background:#f8fbff;border-color:#e4edf5}.lesc-player-nav nav a.active{background:#eef8fb;border-color:#cce6ec;color:#0f4c81}.lesc-player-nav nav a.done{color:#166534}.lesc-player-main{min-width:0}.lesc-player-top{background:linear-gradient(135deg,#0F4C81,#1F7A8C);border-radius:26px;color:#fff;padding:28px;display:grid;grid-template-columns:1fr 260px;gap:24px;align-items:center;box-shadow:0 18px 45px rgba(15,76,129,.18);margin-bottom:20px}.lesc-player-top p{margin:0 0 8px;opacity:.86;font-weight:900}.lesc-player-top h1{margin:0;font-size:34px;line-height:1.1;color:#fff}.lesc-player-progress span{display:block;text-align:right;font-weight:900;margin-bottom:10px}.lesc-player-progress div{height:12px;background:rgba(255,255,255,.25);border-radius:999px;overflow:hidden}.lesc-player-progress b{display:block;height:100%;background:#fff;border-radius:999px}.lesc-lesson-card{background:#fff;border:1px solid #dfeaf3;border-radius:26px;box-shadow:0 14px 38px rgba(15,76,129,.08);padding:30px}.lesc-lesson-meta{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}.lesc-lesson-meta span{background:#eef6fa;border:1px solid #dbeaf2;color:#0f4c81;border-radius:999px;padding:8px 12px;font-size:13px;font-weight:900}.lesc-lesson-content{font-size:18px;line-height:1.75;color:#334155}.lesc-lesson-content p{margin:0 0 18px}.lesc-lesson-content ul{margin:0 0 18px 22px}.lesc-lesson-content li{margin:8px 0}.lesc-material-strip{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px;padding-top:20px;border-top:1px solid #e6edf4}.lesc-player-actions{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:20px}.lesc-player-actions form{margin:0}.lesc-back{display:inline-flex;margin-bottom:16px;color:#0f4c81;font-weight:900;text-decoration:none}@media(max-width:980px){.lesc-player-shell{grid-template-columns:1fr}.lesc-player-nav{position:relative;top:auto}.lesc-player-top{grid-template-columns:1fr}.lesc-player-progress span{text-align:left}}@media(max-width:600px){.lesc-player-top{padding:22px}.lesc-player-top h1{font-size:27px}.lesc-lesson-card{padding:22px}.lesc-player-actions{align-items:stretch;flex-direction:column}.lesc-player-actions .lesc-btn,.lesc-player-actions button{width:100%;justify-content:center}.lesc-lesson-content{font-size:16px}}

/* v2.4 full manual lesson content */
.lesc-lesson-content h2{font-size:28px;margin:0 0 18px;color:#10213b;line-height:1.15}
.lesc-lesson-content h3{font-size:22px;margin:26px 0 12px;color:#0f4c81}
.lesc-lesson-content p{font-size:18px;line-height:1.72;color:#26364f;margin:0 0 14px}
.lesc-lesson-content ul,.lesc-lesson-content ol{font-size:18px;line-height:1.7;color:#26364f;margin:0 0 18px 24px}
.lesc-lesson-content li{margin:4px 0}
.lesc-ack-box{margin-top:28px;padding:24px;border:1px solid #dce8f4;border-radius:18px;background:#f8fbfe}
.lesc-ack-line{height:1px;background:#1e293b;margin:22px 0 10px;max-width:620px}


/* v2.5 final quiz */
.lesc-quiz-shell{max-width:980px;margin:0 auto}.lesc-quiz-hero{background:linear-gradient(135deg,#0F4C81,#1F7A8C);color:#fff;border-radius:26px;padding:30px;box-shadow:0 18px 45px rgba(15,76,129,.18);margin-bottom:22px}.lesc-quiz-hero p{margin:0 0 8px;opacity:.85;text-transform:uppercase;letter-spacing:.12em;font-weight:900}.lesc-quiz-hero h1{color:#fff;margin:0 0 14px;font-size:36px;line-height:1.08}.lesc-quiz-hero span{display:inline-flex;background:rgba(255,255,255,.16);padding:8px 12px;border-radius:999px;font-weight:900}.lesc-quiz-card{background:#fff;border:1px solid #dfeaf3;border-radius:26px;box-shadow:0 14px 38px rgba(15,76,129,.08);padding:30px}.lesc-quiz-card h2{font-size:28px;line-height:1.25;margin:0 0 22px;color:#172033}.lesc-quiz-progress{margin:0 0 24px}.lesc-quiz-progress span{display:block;font-weight:900;color:#0f4c81;margin-bottom:10px}.lesc-quiz-progress div{height:12px;background:#eef4f8;border-radius:999px;overflow:hidden}.lesc-quiz-progress b{display:block;height:100%;background:linear-gradient(90deg,#0F4C81,#55C1A7);border-radius:999px}.lesc-quiz-form{display:grid;gap:14px}.lesc-choice{display:flex;gap:12px;align-items:flex-start;border:1px solid #dfeaf3;background:#f8fbff;border-radius:18px;padding:16px 18px;font-size:18px;line-height:1.4;cursor:pointer}.lesc-choice:hover{border-color:#55C1A7;background:#f1fbfa}.lesc-choice input{margin-top:5px;transform:scale(1.25)}.lesc-score{font-size:74px;font-weight:1000;letter-spacing:-.06em;color:#0f4c81;line-height:1;margin:10px 0 12px}.lesc-quiz-card.result.passed{border-color:#bbf7d0}.lesc-quiz-card.result.failed{border-color:#fecaca}.lesc-quiz-card.result p{font-size:18px;color:#475569;line-height:1.6}


/* v2.8 training readability + smaller topic sidebar */
.lesc-player-shell{grid-template-columns:230px minmax(0,1fr);gap:18px}
.lesc-player-nav{padding:14px;border-radius:18px}
.lesc-player-brand{font-size:10px;margin-bottom:8px}
.lesc-player-nav h3{font-size:17px;margin-bottom:12px;line-height:1.2}
.lesc-player-mini-progress{margin-bottom:12px}
.lesc-player-nav nav{gap:5px}
.lesc-player-nav nav a{grid-template-columns:18px 1fr;padding:8px 9px;border-radius:11px;font-size:12px;line-height:1.18;gap:6px}
.lesc-player-top h1{font-size:38px}
.lesc-lesson-card{padding:38px}
.lesc-lesson-content{font-size:22px;line-height:1.82;color:#223047}
.lesc-lesson-content h2{font-size:36px;line-height:1.12;margin-bottom:22px}
.lesc-lesson-content h3{font-size:28px;line-height:1.2;margin:34px 0 14px}
.lesc-lesson-content p{font-size:22px;line-height:1.82;margin-bottom:18px;color:#223047}
.lesc-lesson-content ul,.lesc-lesson-content ol{font-size:22px;line-height:1.82;margin-left:30px;color:#223047}
.lesc-lesson-content li{margin:8px 0}
.lesc-lesson-content strong,.lesc-lesson-content b{font-weight:900;color:#111827}
.lesc-quiz-limit{margin-top:18px;padding:16px 18px;border-radius:16px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;font-weight:900}
@media(max-width:980px){.lesc-player-shell{grid-template-columns:1fr}.lesc-player-nav nav a{font-size:14px}.lesc-lesson-content,.lesc-lesson-content p,.lesc-lesson-content ul,.lesc-lesson-content ol{font-size:20px}.lesc-lesson-content h2{font-size:31px}.lesc-lesson-content h3{font-size:25px}}
@media(max-width:600px){.lesc-lesson-card{padding:24px}.lesc-lesson-content,.lesc-lesson-content p,.lesc-lesson-content ul,.lesc-lesson-content ol{font-size:18px}.lesc-lesson-content h2{font-size:27px}.lesc-lesson-content h3{font-size:22px}}

/* v3.0 Medication quiz open-answer field */
.lesc-text-answer{display:block;margin:22px 0;}
.lesc-text-answer span{display:block;font-weight:900;color:#10223a;margin-bottom:10px;}
.lesc-text-answer textarea{width:100%;border:2px solid #dbe8f2;border-radius:18px;padding:18px 20px;font-size:18px;line-height:1.55;color:#152238;background:#fbfdff;outline:none;box-sizing:border-box;}
.lesc-text-answer textarea:focus{border-color:#1a7890;box-shadow:0 0 0 4px rgba(26,120,144,.12);}
.lesc-answer-hint{font-size:15px;color:#64748b;margin-top:-8px;margin-bottom:18px;}

/* v3.1 Employee Training Checklist */
.lesc-training-checklist{margin-top:24px;margin-bottom:24px}
.lesc-checklist-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}
.lesc-checklist-card{border:1px solid #dfeaf3;border-radius:22px;background:#fff;box-shadow:0 12px 30px rgba(15,76,129,.07);padding:20px;display:flex;flex-direction:column;gap:14px}
.lesc-checklist-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.lesc-checklist-title h3{margin:0;font-size:20px;line-height:1.15;color:#172033}
.lesc-check-status{display:inline-flex;border-radius:999px;padding:7px 10px;font-weight:900;font-size:12px;white-space:nowrap}
.lesc-check-status.completed{background:#dcfce7;color:#166534}.lesc-check-status.in_progress{background:#fef3c7;color:#92400e}.lesc-check-status.not_started{background:#dbeafe;color:#1e40af}.lesc-check-status.quiz_needed{background:#ede9fe;color:#5b21b6}.lesc-check-status.ack_needed{background:#fff7ed;color:#9a3412}.lesc-check-status.failed,.lesc-check-status.overdue{background:#fee2e2;color:#991b1b}
.lesc-check-progress{display:flex;align-items:center;gap:10px}.lesc-check-progress div{height:10px;background:#edf4f8;border-radius:999px;overflow:hidden;flex:1}.lesc-check-progress span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#0F4C81,#55C1A7)}.lesc-check-progress b{font-weight:900;color:#0f4c81;font-size:13px}
.lesc-checklist-card ul{list-style:none;padding:0;margin:0;display:grid;gap:8px}.lesc-checklist-card li{font-weight:800;color:#334155;background:#f8fbff;border:1px solid #e6edf4;border-radius:14px;padding:10px 12px}.lesc-checklist-card li.done{background:#f0fdf4;border-color:#bbf7d0;color:#166534}.lesc-checklist-card li.ready{background:#fff7ed;border-color:#fed7aa;color:#9a3412}
.lesc-check-due{margin:0;color:#64748b;font-weight:700}.lesc-checklist-card .lesc-btn{align-self:flex-start;margin-top:auto}
@media(max-width:600px){.lesc-checklist-title{flex-direction:column}.lesc-checklist-card .lesc-btn{width:100%;justify-content:center}}

/* v3.2 Admin Frontend Portal */
.lesc-admin-portal .admin-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;background:linear-gradient(135deg,#073b63,#178596);color:#fff;border-radius:28px;padding:34px 38px;box-shadow:0 24px 60px rgba(7,59,99,.18)}
.lesc-admin-portal .admin-hero h1{color:#fff;margin:6px 0 8px;font-size:42px;line-height:1.05}
.lesc-admin-portal .admin-hero p{color:rgba(255,255,255,.88);margin:0;max-width:760px;font-size:18px;line-height:1.55}
.lesc-kicker{display:inline-block;text-transform:uppercase;letter-spacing:.18em;font-size:12px;font-weight:900;color:#bff3ee}
.lesc-admin-name{background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.22);border-radius:999px;padding:12px 18px;font-weight:900;white-space:nowrap;color:#fff}
.lesc-admin-portal-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0 24px}
.lesc-admin-portal-tabs a{padding:12px 16px;border:1px solid #d9e8f2;border-radius:999px;background:#fff;color:#0c4775;font-weight:900;text-decoration:none;box-shadow:0 12px 25px rgba(7,59,99,.06)}
.lesc-admin-portal-tabs a.active,.lesc-admin-portal-tabs a:hover{background:#0c5684;color:#fff;border-color:#0c5684}
.lesc-admin-portal-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin-bottom:24px}
.lesc-admin-portal-stat{background:#fff;border:1px solid #dbe9f3;border-radius:22px;padding:20px;box-shadow:0 16px 40px rgba(9,49,83,.08)}
.lesc-admin-portal-stat strong{display:block;font-size:32px;line-height:1;color:#10233d;margin-bottom:8px}
.lesc-admin-portal-stat span{display:block;color:#43536a;font-weight:900}
.lesc-admin-portal-stat em{display:block;color:#6d7b8f;font-style:normal;font-size:12px;margin-top:4px}
.lesc-admin-portal-grid{display:grid;grid-template-columns:1.45fr .85fr;gap:20px;align-items:start}
.lesc-admin-actions{display:flex;flex-wrap:wrap;gap:12px}
.lesc-admin-portal-table-wrap{width:100%;overflow:auto;border:1px solid #dbe9f3;border-radius:20px;background:#fff}
.lesc-admin-portal-table{width:100%;border-collapse:separate;border-spacing:0;min-width:820px}
.lesc-admin-portal-table th{background:#f4f9fc;color:#31435a;font-size:13px;text-transform:uppercase;letter-spacing:.06em;text-align:left;padding:14px 16px;border-bottom:1px solid #dbe9f3;white-space:nowrap}
.lesc-admin-portal-table td{padding:16px;border-bottom:1px solid #edf4f8;vertical-align:middle;color:#18263d}
.lesc-admin-portal-table tr:last-child td{border-bottom:0}
.lesc-admin-portal-table td strong{display:block;color:#10233d;font-weight:900}
.lesc-admin-portal-table td small{display:block;color:#718096;margin-top:4px;font-weight:700}
.lesc-admin-pill{display:inline-flex;align-items:center;gap:6px;border-radius:999px;background:#e7eef5;color:#334155;padding:7px 11px;font-weight:900;font-size:12px;white-space:nowrap}
.lesc-admin-pill.completed,.lesc-admin-pill.active,.lesc-admin-pill.good{background:#dcfce7;color:#166534}
.lesc-admin-pill.failed,.lesc-admin-pill.expired,.lesc-admin-pill.overdue{background:#fee2e2;color:#991b1b}
.lesc-admin-pill.in_progress,.lesc-admin-pill.quiz_needed,.lesc-admin-pill.ack_needed,.lesc-admin-pill.soon,.lesc-admin-pill.open{background:#fef3c7;color:#92400e}
.lesc-admin-pill.not_started,.lesc-admin-pill.assigned,.lesc-admin-pill.draft{background:#e0f2fe;color:#075985}
.lesc-admin-portal-list{display:grid;gap:10px}
.lesc-admin-portal-list article{display:flex;justify-content:space-between;gap:16px;align-items:center;border:1px solid #dbe9f3;background:#fbfdff;border-radius:16px;padding:14px}
.lesc-admin-portal-list article strong{display:block;color:#10233d;font-weight:900}
.lesc-admin-portal-list article span{display:block;color:#6b7a90;font-size:13px;font-weight:700;margin-top:3px}
@media(max-width:1200px){.lesc-admin-portal-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.lesc-admin-portal-grid{grid-template-columns:1fr}}
@media(max-width:720px){.lesc-admin-portal .admin-hero{display:block;padding:26px}.lesc-admin-portal .admin-hero h1{font-size:32px}.lesc-admin-name{display:inline-block;margin-top:16px}.lesc-admin-portal-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.lesc-admin-portal-tabs{overflow:auto;flex-wrap:nowrap;padding-bottom:4px}.lesc-admin-portal-tabs a{white-space:nowrap}}

/* v3.3 Admin Portal Overflow / Cutoff Fixes */
html,body{max-width:100%;overflow-x:hidden}
.lesc-app{width:100%;max-width:100%;overflow-x:hidden}
.lesc-main{min-width:0;width:calc(100% - 280px);max-width:100%;overflow-x:hidden}
.lesc-page{width:100%;max-width:100%;box-sizing:border-box}
.lesc-sidebar{flex:0 0 280px;min-width:280px;overflow-y:auto;overflow-x:hidden}
.lesc-brand strong{display:block;line-height:1.15;overflow-wrap:anywhere;word-break:normal}
.lesc-nav a{display:block;line-height:1.25;overflow-wrap:anywhere;white-space:normal}
.lesc-topbar{max-width:100%;min-width:0;gap:16px}.lesc-topbar>*{min-width:0}.lesc-user-pill{max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lesc-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;min-width:0}.lesc-section-head h2{min-width:0;overflow-wrap:anywhere}
.lesc-panel{min-width:0;max-width:100%;overflow:hidden}.lesc-admin-portal{min-width:0;max-width:100%}
.lesc-admin-portal .admin-hero{min-width:0;max-width:100%;overflow:hidden}.lesc-admin-portal .admin-hero>div{min-width:0}.lesc-admin-portal .admin-hero h1,.lesc-admin-portal .admin-hero p{overflow-wrap:anywhere}
.lesc-admin-name{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lesc-admin-portal-stats{grid-template-columns:repeat(auto-fit,minmax(155px,1fr));max-width:100%}
.lesc-admin-portal-stat{min-width:0}.lesc-admin-portal-stat span{overflow-wrap:anywhere;line-height:1.15}
.lesc-admin-portal-grid{grid-template-columns:minmax(0,1fr) minmax(250px,360px);max-width:100%}
.lesc-admin-portal-grid>.lesc-panel{min-width:0}
.lesc-admin-portal-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.lesc-admin-portal-table{width:100%;min-width:0;table-layout:fixed;border-collapse:separate;border-spacing:0}
.lesc-admin-portal-table th,.lesc-admin-portal-table td{padding:14px 12px;white-space:normal;overflow-wrap:anywhere;word-break:normal;line-height:1.25}
.lesc-admin-portal-table th{font-size:12px;letter-spacing:.04em}.lesc-admin-portal-table td small{overflow-wrap:anywhere}
.lesc-admin-portal-table td:nth-child(1){width:26%}.lesc-admin-portal-table td:nth-child(2){width:22%}.lesc-admin-portal-table td:nth-child(3){width:18%}.lesc-admin-portal-table td:nth-child(4),.lesc-admin-portal-table td:nth-child(5),.lesc-admin-portal-table td:nth-child(6),.lesc-admin-portal-table td:nth-child(7){width:auto}
.lesc-admin-pill{white-space:normal;max-width:100%;text-align:center;justify-content:center;line-height:1.15}
.lesc-admin-portal-list article{min-width:0;flex-wrap:wrap}.lesc-admin-portal-list article>div{min-width:0}.lesc-admin-portal-list article strong,.lesc-admin-portal-list article span{overflow-wrap:anywhere}
.lesc-mini-link{display:inline-block;margin:2px 6px 2px 0;white-space:nowrap}
@media(max-width:1280px){.lesc-admin-portal-grid{grid-template-columns:1fr}.lesc-admin-portal-table th,.lesc-admin-portal-table td{font-size:14px;padding:12px 10px}.lesc-admin-portal-table th{font-size:11px}}
@media(max-width:900px){.lesc-main{width:100%}.lesc-sidebar{width:100%;min-width:0;flex-basis:auto;height:auto}.lesc-page{padding:18px}.lesc-admin-portal-table{min-width:760px;table-layout:auto}.lesc-admin-portal-table th,.lesc-admin-portal-table td{white-space:normal}}
@media(max-width:720px){.lesc-admin-portal-table-wrap{border-radius:16px}.lesc-admin-portal-table{min-width:680px}.lesc-admin-portal-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.lesc-admin-portal .admin-hero{gap:12px}.lesc-user-pill{max-width:180px}}
@media(max-width:520px){.lesc-admin-portal-stats{grid-template-columns:1fr}.lesc-admin-portal-table{min-width:640px}.lesc-section-head .lesc-btn{width:100%;justify-content:center}}

/* v3.5 Compliance Center Filters + Name/Course Grouping */
.lesc-compliance-center-panel .lesc-section-head{margin-bottom:18px}
.lesc-portal-compliance-filters{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,1fr) auto auto;gap:12px;align-items:end;margin:0 0 22px;padding:16px;border:1px solid #dbe9f3;background:#f7fbfe;border-radius:20px}
.lesc-portal-compliance-filters label{display:grid;gap:7px;min-width:0;font-weight:900;color:#10233d}
.lesc-portal-compliance-filters label span{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#51677e}
.lesc-portal-compliance-filters select{width:100%;min-width:0;border:1px solid #d4e6f1;background:#fff;border-radius:14px;padding:12px 14px;font-weight:800;color:#14233d;outline:none}
.lesc-portal-compliance-filters .lesc-btn{height:48px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}
.lesc-compliance-grouped-table .lesc-employee-group-row td{background:#eef7fb!important;padding:12px 16px;border-top:1px solid #dbe9f3;border-bottom:1px solid #dbe9f3}
.lesc-compliance-grouped-table .lesc-employee-group-row div{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-width:0}
.lesc-compliance-grouped-table .lesc-employee-group-row strong{font-size:16px;color:#0c4d7c;font-weight:1000}
.lesc-compliance-grouped-table .lesc-employee-group-row small{font-size:13px;color:#60758b;font-weight:800;overflow-wrap:anywhere}
.lesc-compliance-grouped-table .lesc-name-cell strong{display:none}
.lesc-compliance-grouped-table .lesc-name-cell small{display:none}
.lesc-compliance-grouped-table .lesc-course-cell strong{display:block;line-height:1.2;overflow-wrap:anywhere}
.lesc-compliance-grouped-table th:nth-child(1),.lesc-compliance-grouped-table td:nth-child(1){width:16%}
.lesc-compliance-grouped-table th:nth-child(2),.lesc-compliance-grouped-table td:nth-child(2){width:28%}
.lesc-compliance-grouped-table th:nth-child(3),.lesc-compliance-grouped-table td:nth-child(3){width:18%}
@media(max-width:1100px){.lesc-portal-compliance-filters{grid-template-columns:1fr 1fr}.lesc-portal-compliance-filters .lesc-btn{width:100%}}
@media(max-width:720px){.lesc-portal-compliance-filters{grid-template-columns:1fr}.lesc-compliance-grouped-table{min-width:760px}.lesc-portal-compliance-filters .lesc-btn{height:auto;min-height:48px}}

/* v3.6 Compliance filter fix: filters now work instantly without needing a reload */
.lesc-filter-count{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 8px;color:#60758b;font-weight:900;white-space:nowrap}
.lesc-no-filter-results td{font-weight:900;color:#60758b;text-align:center;background:#fbfdff!important}
@media(max-width:1100px){.lesc-filter-count{justify-content:flex-start;min-height:24px}}


/* v4.0 Abuse/Neglect/Exploitation electronic acknowledgement */
.lesc-callout{border-left:6px solid #0f4c81;background:#f2f8fc;border-radius:18px;padding:22px 24px;margin:24px 0;color:#172033;font-size:22px;line-height:1.65;box-shadow:0 12px 25px rgba(15,76,129,.06)}
.lesc-ack-box{margin-top:28px;border:1px solid #dceaf3;background:#f8fcff;border-radius:24px;padding:26px;box-shadow:0 16px 40px rgba(15,76,129,.06)}
.lesc-ack-box h2{font-size:30px;margin:0 0 8px;color:#10233d}.lesc-ack-box p{font-size:18px;line-height:1.55;color:#52637a;margin:0 0 18px}
.lesc-ack-form{display:grid;gap:18px}.lesc-ack-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.lesc-ack-grid label{display:grid;gap:8px;font-weight:900;color:#10233d}.lesc-ack-grid label span{font-size:13px;text-transform:uppercase;letter-spacing:.07em;color:#52637a}
.lesc-ack-grid input{width:100%;box-sizing:border-box;border:2px solid #dbe8f2;border-radius:16px;background:#fff;padding:14px 16px;font-size:17px;color:#172033;outline:none}.lesc-ack-grid input:focus{border-color:#1a7890;box-shadow:0 0 0 4px rgba(26,120,144,.12)}.lesc-ack-statement{width:100%;min-height:132px;border:2px solid #dbe8f2;border-radius:18px;background:#fff;padding:16px 18px;font-size:17px;line-height:1.55;color:#172033;resize:vertical}.lesc-post-quiz-ack{margin-top:24px}.lesc-saved-note{font-weight:900;color:#0f4c81!important}
.lesc-saved-note{display:inline-flex;align-items:center;background:#dcfce7;color:#166534;border-radius:999px;padding:9px 14px!important;font-weight:900;margin:0!important;font-size:14px!important}
@media(max-width:760px){.lesc-ack-grid{grid-template-columns:1fr}.lesc-callout{font-size:18px}.lesc-ack-box{padding:20px}.lesc-ack-box h2{font-size:24px}}

/* v4.3 dashboard compliance layout: TB test + renewal on one line, fingerprint underneath */
.lesc-dashboard-compliance-fields{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
.lesc-dashboard-compliance-fields .lesc-field-full{grid-column:1 / -1;max-width:calc(50% - 7px)}
.lesc-dashboard-compliance-cards{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
.lesc-dashboard-compliance-cards .lesc-compliance-card:first-child{grid-column:1 / -1;max-width:calc(50% - 7px)}
.lesc-dashboard-compliance-cards .lesc-compliance-card:last-child{grid-column:1 / -1;max-width:calc(50% - 7px)}
@media(max-width:900px){
  .lesc-dashboard-compliance-fields,.lesc-dashboard-compliance-cards{grid-template-columns:1fr}
  .lesc-dashboard-compliance-fields .lesc-field-full,
  .lesc-dashboard-compliance-cards .lesc-compliance-card:first-child,
  .lesc-dashboard-compliance-cards .lesc-compliance-card:last-child{max-width:100%}
}


/* v4.4 dashboard compliance cleanup: show compliance dates once only */
.lesc-dashboard-compliance-cards{display:none!important;}

/* v4.6 acknowledgement visibility fix */
.lesc-ack-locked{background:#fff7ed;border-color:#fed7aa;box-shadow:0 16px 40px rgba(146,64,14,.08)}
.lesc-ack-locked h2{color:#9a3412!important}
.lesc-ack-locked .lesc-ack-statement{background:#fffaf3;color:#64748b;opacity:.95}

/* v5.0 Heat Illness lesson tables */
.lesc-lesson-table{width:100%;border-collapse:separate;border-spacing:0;margin:22px 0;border:1px solid #dbe9f3;border-radius:18px;overflow:hidden;background:#fff;font-size:18px;line-height:1.45}
.lesc-lesson-table th{background:#eef7fb;color:#10233d;text-align:left;font-weight:1000;text-transform:uppercase;letter-spacing:.05em;font-size:13px;padding:14px 16px;border-bottom:1px solid #dbe9f3}
.lesc-lesson-table td{padding:15px 16px;border-bottom:1px solid #e7f0f7;color:#172033;vertical-align:top}
.lesc-lesson-table tr:last-child td{border-bottom:0}
@media(max-width:760px){.lesc-lesson-table{display:block;overflow-x:auto;font-size:16px}.lesc-lesson-table th,.lesc-lesson-table td{min-width:160px}}


/* v5.1 Question Chat System */
.lesc-question-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.lesc-question-preview-list .lesc-mini-link{font-weight:900;text-decoration:none;color:var(--blue);background:#eef6fa;border-radius:999px;padding:8px 12px}.lesc-admin-chat-panel{overflow:hidden}.lesc-chat-workspace{display:grid;grid-template-columns:minmax(250px,330px) minmax(0,1fr);gap:18px;align-items:start}.lesc-chat-inbox{border:1px solid #dbe9f3;border-radius:22px;background:#f8fbfe;overflow:hidden}.lesc-chat-inbox-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 16px;border-bottom:1px solid #dbe9f3}.lesc-chat-inbox-head h3{margin:0}.lesc-chat-inbox-head span{color:#6b7a90;font-weight:900}.lesc-chat-inbox-item{display:block;padding:14px 16px;border-bottom:1px solid #e4eef7;text-decoration:none;color:#10233d}.lesc-chat-inbox-item:last-child{border-bottom:0}.lesc-chat-inbox-item:hover,.lesc-chat-inbox-item.active{background:#eaf8fb}.lesc-chat-inbox-item strong{display:block;font-weight:950;overflow-wrap:anywhere}.lesc-chat-inbox-item span,.lesc-chat-inbox-item em{display:block;color:#6b7a90;font-size:13px;font-style:normal;font-weight:800;margin-top:4px;overflow-wrap:anywhere}.lesc-chat-main{min-width:0}.lesc-chat-thread{border:1px solid #dbe9f3;border-radius:24px;background:#fff;overflow:hidden}.lesc-chat-thread-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:20px;border-bottom:1px solid #e4eef7;background:linear-gradient(180deg,#f8fbfe,#fff)}.lesc-chat-thread-head h2{margin:3px 0 4px;color:#10233d;overflow-wrap:anywhere}.lesc-chat-thread-head p{margin:0;color:#6b7a90;font-weight:800}.lesc-chat-head-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.lesc-chat-status{display:inline-flex;align-items:center;border-radius:999px;padding:8px 12px;font-weight:950;background:#eaf3fb;color:#0f4e80}.lesc-chat-status.open{background:#fff3cd;color:#854d0e}.lesc-chat-status.answered{background:#dcfce7;color:#166534}.lesc-chat-status.closed{background:#e2e8f0;color:#334155}.lesc-chat-messages{display:grid;gap:14px;padding:20px;background:#fbfdff}.lesc-chat-bubble{max-width:78%;border:1px solid #dbe9f3;border-radius:20px;padding:14px 16px;background:#fff;box-shadow:0 8px 24px rgba(15,35,61,.05)}.lesc-chat-bubble.mine{justify-self:end;background:#eaf8f6;border-color:#bfe8e1}.lesc-chat-bubble.office.theirs,.lesc-chat-bubble.employee.theirs{justify-self:start}.lesc-chat-meta{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:8px}.lesc-chat-meta strong{color:#0f4e80}.lesc-chat-meta span{font-size:12px;color:#708098;font-weight:800}.lesc-chat-bubble p{margin:0;line-height:1.65;overflow-wrap:anywhere}.lesc-chat-reply-form{border-top:1px solid #e4eef7;padding:20px;background:#fff}.lesc-chat-reply-form label{display:block;font-weight:900;color:#10233d}.lesc-chat-reply-form label span{display:block;margin-bottom:8px}.lesc-chat-reply-form textarea{width:100%;box-sizing:border-box;border:1px solid #dbe9f3;border-radius:18px;padding:14px;font:inherit;min-height:130px;resize:vertical;background:#f8fbfe}.lesc-chat-reply-form .lesc-btn{margin-top:12px}.lesc-employee-chat-list{display:grid;gap:14px;margin-bottom:18px}.lesc-employee-chat-list .lesc-message-card{display:block;text-decoration:none;color:inherit}.lesc-employee-chat-list .lesc-message-card.active{border-color:#188a9b;box-shadow:0 0 0 3px rgba(24,138,155,.12)}@media(max-width:980px){.lesc-chat-workspace{grid-template-columns:1fr}.lesc-chat-bubble{max-width:100%}.lesc-chat-thread-head{flex-direction:column}.lesc-chat-head-actions{justify-content:flex-start}.lesc-question-actions{justify-content:flex-start}}




/* v5.3 Required employee document uploads */
.lesc-error{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;padding:14px 16px;border-radius:16px;margin-bottom:18px;font-weight:800;line-height:1.55}
.lesc-document-panel{overflow:visible}.lesc-document-intro{margin:-4px 0 18px!important;line-height:1.55}.lesc-document-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.lesc-document-box{background:#f8fafc;border:1px solid var(--line);border-radius:18px;padding:16px;min-width:0}.lesc-document-box.uploaded{background:#f8fffc;border-color:#c7f0df}.lesc-document-box.missing{background:#fbfdff}.lesc-document-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.lesc-document-top b{font-size:16px;color:#334155;overflow-wrap:anywhere}.lesc-document-top span{display:inline-flex;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:1000;background:#e2e8f0;color:#334155;white-space:nowrap}.lesc-document-box.uploaded .lesc-document-top span{background:#dcfce7;color:#166534}.lesc-document-box p{margin:0 0 8px;color:#60758b;line-height:1.45;overflow-wrap:anywhere}.lesc-document-box em{display:block;color:#8090a3;font-style:normal;font-size:13px;font-weight:800;margin-bottom:10px}.lesc-upload-label{display:grid;gap:8px;margin-top:12px;font-weight:900;color:#10233d}.lesc-upload-label span{font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:#52637a}.lesc-upload-label input[type=file]{width:100%;border:1px dashed #bcd2e4;border-radius:14px;background:#fff;padding:12px;font:inherit;color:#334155}.lesc-mini-link{display:inline-flex;align-items:center;justify-content:center;background:#eef6fa;color:#0f4c81!important;border-radius:999px;padding:8px 12px;font-weight:1000;text-decoration:none}.lesc-mini-link:hover{background:#dff1f8}@media(max-width:760px){.lesc-document-grid{grid-template-columns:1fr}.lesc-document-top{align-items:flex-start;flex-direction:column}.lesc-document-top span{white-space:normal}}

/* v5.5 - AJAX document uploads: stay in place, no page refresh */
.lesc-document-message{display:none;margin:0 0 16px;padding:12px 14px;border-radius:14px;font-weight:900;line-height:1.45}.lesc-document-message.is-info{display:block;background:#eef6fa;color:#0f4c81;border:1px solid #cde8f4}.lesc-document-message.is-success{display:block;background:#ecfdf5;color:#166534;border:1px solid #bbf7d0}.lesc-document-message.is-error{display:block;background:#fff1f2;color:#991b1b;border:1px solid #fecdd3}.lesc-document-panel .lesc-upload-control{display:none}.lesc-document-panel.lesc-documents-editing .lesc-upload-control{display:grid}.lesc-document-panel.lesc-documents-editing .lesc-document-box{border-style:dashed}.lesc-document-panel input[type=file]:disabled{opacity:.65;cursor:wait}.lesc-document-box.uploaded .lesc-doc-status{background:#dcfce7;color:#166534}.lesc-document-box.missing .lesc-doc-status{background:#e2e8f0;color:#334155}


/* v5.6 - Admin employee document tracking center */
.lesc-document-admin-stats{grid-template-columns:repeat(4,minmax(0,1fr));margin:0 0 18px!important}
.lesc-admin-documents-panel .lesc-section-head{align-items:flex-start}.lesc-admin-documents-panel .lesc-section-head p{margin:4px 0 0;max-width:760px;line-height:1.45}
.lesc-admin-documents-list{display:grid;gap:18px;margin-top:18px}.lesc-admin-document-employee{background:#fff;border:1px solid #dbe9f3;border-radius:22px;box-shadow:0 14px 34px rgba(15,76,129,.07);overflow:hidden}.lesc-admin-document-employee-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 22px;border-bottom:1px solid #e6edf5;background:#f8fbff}.lesc-admin-document-employee-head h3{margin:0;color:#10233d;font-size:24px;line-height:1.15}.lesc-admin-document-employee-head p{margin:6px 0 0;color:#64748b;font-weight:800;overflow-wrap:anywhere}.lesc-admin-document-summary{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.lesc-admin-document-summary span{display:inline-flex;border-radius:999px;padding:8px 11px;font-weight:1000;font-size:13px}.lesc-admin-document-summary .uploaded{background:#dcfce7;color:#166534}.lesc-admin-document-summary .missing{background:#fee2e2;color:#991b1b}.lesc-admin-document-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px}.lesc-admin-document-card{border:1px solid #dbe9f3;border-radius:18px;padding:16px;background:#f8fafc;min-width:0}.lesc-admin-document-card.uploaded{background:#f8fffc;border-color:#bcebd7}.lesc-admin-document-card.missing{background:#fffafa;border-color:#f5d5d5}.lesc-admin-document-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.lesc-admin-document-card-top strong{font-size:16px;color:#334155;overflow-wrap:anywhere}.lesc-admin-document-card-top span{white-space:nowrap;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:1000}.lesc-admin-document-card.uploaded .lesc-admin-document-card-top span{background:#dcfce7;color:#166534}.lesc-admin-document-card.missing .lesc-admin-document-card-top span{background:#fee2e2;color:#991b1b}.lesc-admin-document-card p{margin:0 0 8px;color:#475569;line-height:1.45;overflow-wrap:anywhere}.lesc-admin-document-card em{display:block;font-style:normal;color:#8090a3;font-size:13px;font-weight:800;margin-bottom:10px}.lesc-empty-state{border:1px solid #dbe9f3;border-radius:18px;padding:20px;background:#f8fbff;color:#334155}.lesc-empty-state strong{display:block;font-size:20px;color:#10233d}.lesc-empty-state p{margin:8px 0 0;color:#64748b}@media(max-width:900px){.lesc-document-admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.lesc-admin-document-grid{grid-template-columns:1fr}.lesc-admin-document-employee-head{flex-direction:column}.lesc-admin-document-summary{justify-content:flex-start}}@media(max-width:560px){.lesc-document-admin-stats{grid-template-columns:1fr}.lesc-admin-document-card-top{align-items:flex-start;flex-direction:column}.lesc-admin-document-card-top span{white-space:normal}}

/* v5.7 Completed Assignments record center */
.lesc-record-filters{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,1fr) auto;gap:14px;align-items:end;margin:20px 0 22px;padding:18px;border:1px solid #d8e6f1;border-radius:20px;background:#f8fbfd;box-shadow:0 8px 24px rgba(15,76,129,.04)}
.lesc-record-filters label{display:flex;flex-direction:column;gap:7px;font-weight:800;color:#24354c}
.lesc-record-filters select{width:100%;min-height:48px;border:1px solid #ccddea;border-radius:13px;background:#fff;padding:0 42px 0 14px;color:#17243a;transition:border-color .18s ease,box-shadow .18s ease}.lesc-record-filters select:focus{outline:0;border-color:#2b8ba0;box-shadow:0 0 0 4px rgba(43,139,160,.13)}.lesc-record-filter-actions{display:flex;align-items:center;gap:10px}.lesc-record-filter-actions .lesc-btn{min-height:48px;white-space:nowrap}.lesc-record-filter-count{grid-column:1/-1;display:flex;align-items:center;min-height:24px;color:#60758b;font-weight:850;font-size:14px}.lesc-record-filters.is-filtered .lesc-record-filter-count{color:#0f5c73}.lesc-record-filter-empty{margin:0 0 22px}
.lesc-record-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:24px}
.lesc-record-stats .lesc-admin-portal-stat{min-width:0}
.lesc-completed-record-groups{display:grid;gap:22px;min-width:0}
.lesc-completed-employee-group{max-width:100%;min-width:0;border:1px solid #d8e6f1;border-radius:22px;background:#fff;box-shadow:0 12px 34px rgba(15,76,129,.07);overflow:hidden}
.lesc-completed-employee-head{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:22px 24px;background:linear-gradient(135deg,#f8fcff,#edf7fb);border-bottom:1px solid #d8e6f1}
.lesc-completed-employee-head>div{min-width:0}
.lesc-completed-employee-head h3{margin:0 0 5px;font-size:24px;color:#10223c;overflow-wrap:anywhere}
.lesc-completed-employee-head p{margin:0;color:#64748b;overflow-wrap:anywhere}
.lesc-record-download-all{flex:0 0 auto;gap:8px;border:1px solid #c9e0ec!important;background:#fff!important;color:#0f4c81!important;box-shadow:0 8px 20px rgba(15,76,129,.08)!important;white-space:nowrap}
.lesc-record-download-all:hover{background:#eaf6fb!important;border-color:#9fc9dc!important;transform:translateY(-1px)}
.lesc-completed-record-table-wrap{max-width:100%;overflow-x:auto;overflow-y:hidden;border:0;border-radius:0}
.lesc-completed-record-table{width:100%;min-width:0!important;table-layout:fixed}
.lesc-completed-record-table col.course-col{width:21%}
.lesc-completed-record-table col.completed-col{width:20%}
.lesc-completed-record-table col.score-col{width:13%}
.lesc-completed-record-table col.attempt-col{width:9%}
.lesc-completed-record-table col.records-col{width:37%}
.lesc-completed-record-table th,.lesc-completed-record-table td{padding:18px 16px;vertical-align:middle;white-space:normal;overflow-wrap:anywhere}
.lesc-completed-record-table th:last-child,.lesc-completed-record-table td:last-child{min-width:0;width:auto}
.lesc-completed-record-table tbody tr:nth-child(even){background:#fbfdff}
.lesc-completed-record-table tbody tr:hover{background:#f6fbfe}
.lesc-record-actions{display:grid;grid-template-columns:1fr;gap:9px;width:100%;min-width:0}
.lesc-record-actions .lesc-mini-link{display:flex;align-items:center;justify-content:flex-start;gap:9px;width:100%;min-width:0;padding:10px 12px;border:1px solid transparent;border-radius:12px;text-decoration:none;font-weight:900;line-height:1.25;white-space:normal;overflow-wrap:anywhere;box-shadow:none;transition:background .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease}
.lesc-record-actions .lesc-mini-link>span:first-child{flex:0 0 auto;font-size:15px;line-height:1}
.lesc-record-actions .lesc-mini-link>span:last-child{min-width:0}
.lesc-record-actions .lesc-record-action.quiz{background:#edf7fd;color:#0b5688!important;border-color:#cfe8f7}
.lesc-record-actions .lesc-record-action.quiz:hover{background:#dff1fb;border-color:#a9d6ec;transform:translateY(-1px)}
.lesc-record-actions .lesc-record-action.acknowledgement{background:#ecfbf8;color:#12695f!important;border-color:#c8eee7}
.lesc-record-actions .lesc-record-action.acknowledgement:hover{background:#dff7f2;border-color:#9edfd4;transform:translateY(-1px)}
.lesc-record-actions .lesc-record-action.combined{background:linear-gradient(135deg,#0f4c81,#1f7a8c);color:#fff!important;border-color:#0f4c81;box-shadow:0 8px 18px rgba(15,76,129,.18)}
.lesc-record-actions .lesc-record-action.combined:visited,.lesc-record-actions .lesc-record-action.combined:focus{color:#fff!important}
.lesc-record-actions .lesc-record-action.combined:hover{background:linear-gradient(135deg,#0b3d69,#176a79);color:#fff!important;transform:translateY(-1px);box-shadow:0 10px 22px rgba(15,76,129,.24)}
.lesc-empty-state{padding:38px;text-align:center;border:1px dashed #cbdde9;border-radius:18px;background:#f8fbfd}
.lesc-empty-state h3{margin:0 0 8px}
@media(max-width:1180px){.lesc-completed-record-table col.course-col{width:22%}.lesc-completed-record-table col.completed-col{width:19%}.lesc-completed-record-table col.score-col{width:12%}.lesc-completed-record-table col.attempt-col{width:9%}.lesc-completed-record-table col.records-col{width:38%}.lesc-completed-record-table th,.lesc-completed-record-table td{padding:15px 12px;font-size:14px}.lesc-record-actions .lesc-mini-link{font-size:13px;padding:9px 10px}}
@media(max-width:1000px){.lesc-record-filters{grid-template-columns:1fr 1fr}.lesc-record-filter-actions{grid-column:1/-1}.lesc-record-stats{grid-template-columns:1fr 1fr}.lesc-completed-employee-head{align-items:flex-start;flex-direction:column}.lesc-record-download-all{white-space:normal}.lesc-completed-record-table{min-width:820px!important;table-layout:fixed}}
@media(max-width:650px){.lesc-record-filters,.lesc-record-stats{grid-template-columns:1fr}.lesc-record-filter-actions{grid-column:auto;display:grid;grid-template-columns:1fr 1fr}.lesc-record-filters .lesc-btn{width:100%}.lesc-completed-employee-head{padding:18px}.lesc-record-download-all{width:100%;justify-content:center}.lesc-completed-record-table{min-width:760px!important}.lesc-record-actions .lesc-mini-link{font-size:12px}}

/* v6.0 Vitamins reference guide */
.lesc-training-figure{margin:24px 0;padding:16px;border:1px solid #d7e6ef;border-radius:18px;background:#f8fbfd;text-align:center}.lesc-training-figure img{display:block;width:100%;max-width:850px;height:auto;margin:0 auto;border-radius:12px}.lesc-training-figure figcaption{margin-top:10px;color:#63748c;font-size:14px}


/* v6.2 Constipation Prevention competency confirmation */
.lesc-competency-list{display:grid;gap:8px;margin:14px 0 22px!important;padding-left:22px!important}.lesc-competency-list li{line-height:1.55}.lesc-competency-confirm{display:flex!important;align-items:flex-start;gap:12px;margin:18px 0;padding:16px 18px;border:1px solid #cfe5ef;border-radius:16px;background:#f3fbfd;color:#18324d;font-weight:900;line-height:1.5}.lesc-competency-confirm input{width:20px;height:20px;margin-top:2px;flex:0 0 auto;accent-color:#177f91}.lesc-competency-confirm span{display:block}.lesc-ack-box#constipation-acknowledgement{scroll-margin-top:28px}


/* v6.3 Heat Illness assessment and acknowledgement */
.lesc-quiz-section-label{display:inline-flex;align-items:center;margin:0 0 14px;padding:8px 12px;border-radius:999px;background:#eaf6fb;color:#0f4c81;font-size:13px;font-weight:1000;letter-spacing:.08em;text-transform:uppercase}
.lesc-ack-grid select{width:100%;box-sizing:border-box;border:2px solid #dbe8f2;border-radius:16px;background:#fff;padding:14px 16px;font-size:17px;color:#172033;outline:none}
.lesc-ack-grid select:focus{border-color:#1a7890;box-shadow:0 0 0 4px rgba(26,120,144,.12)}

/* v6.6 - Document downloads and manual in-person completion entry */
.lesc-document-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:8px}.lesc-document-actions .lesc-mini-link.download{background:#ecfbf8;color:#12695f!important;border:1px solid #bfeadf}.lesc-document-actions .lesc-mini-link.download:hover{background:#ddf7f1}.lesc-admin-document-card .lesc-document-actions{margin-top:10px}.lesc-manual-completion-panel{margin:0 0 22px;padding:20px;border:1px solid #d8e6f1;border-radius:20px;background:linear-gradient(135deg,#f8fcff,#f2fbfd);box-shadow:0 10px 28px rgba(15,76,129,.05)}.lesc-manual-completion-panel h3{margin:0;color:#10233d;font-size:22px}.lesc-manual-completion-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:16px}.lesc-manual-completion-form label{display:flex;flex-direction:column;gap:7px;font-weight:900;color:#24354c}.lesc-manual-completion-form label span{font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:#52637a}.lesc-manual-completion-form input,.lesc-manual-completion-form select,.lesc-manual-completion-form textarea{width:100%;box-sizing:border-box;border:1px solid #cbddeb;border-radius:14px;background:#fff;padding:12px 14px;font:inherit;color:#10233d}.lesc-manual-completion-form textarea{resize:vertical}.lesc-manual-completion-form input[type=file]{padding:10px;border-style:dashed}.lesc-manual-completion-form small{display:block;color:#60758b;font-weight:700;line-height:1.4}.lesc-manual-completion-form .wide{grid-column:1/-1}.lesc-manual-completion-actions{display:flex;justify-content:flex-start}.lesc-record-actions .lesc-record-action.manual-score{background:#fff7ed;color:#9a3412!important;border-color:#fed7aa}.lesc-record-actions .lesc-record-action.manual-score:hover{background:#ffedd5;border-color:#fdba74;transform:translateY(-1px)}.lesc-record-actions .lesc-record-action.manual-score-download{background:#fef3c7;color:#92400e!important;border-color:#fde68a}.lesc-record-actions .lesc-record-action.manual-score-download:hover{background:#fde68a;border-color:#fcd34d;transform:translateY(-1px)}@media(max-width:980px){.lesc-manual-completion-form{grid-template-columns:1fr 1fr}}@media(max-width:650px){.lesc-document-actions{display:grid;grid-template-columns:1fr}.lesc-document-actions .lesc-mini-link{width:100%}.lesc-manual-completion-form{grid-template-columns:1fr}}

/* v6.7 employee duplicate cleanup tools */
.lesc-employee-tools{display:flex;gap:12px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.lesc-employee-tools form{margin:0;display:inline-flex}
.lesc-admin-portal-table td:last-child{min-width:170px;max-width:260px;white-space:normal}
.lesc-admin-portal-table td:last-child .lesc-mini-link{display:inline-flex;margin:4px 6px 4px 0;white-space:nowrap}
@media (max-width:900px){.lesc-employee-tools{justify-content:flex-start;width:100%}.lesc-employee-tools .lesc-btn{width:100%;justify-content:center}}

/* v6.8: Admin course time tracking */
.lesc-course-time-filters{
  display:grid;
  grid-template-columns: minmax(220px,1fr) minmax(220px,1fr) auto auto;
  gap:18px;
  align-items:end;
  border:1px solid var(--line, #d8e8f4);
  border-radius:22px;
  padding:22px;
  margin:0 0 24px;
  background:#f8fcff;
}
.lesc-course-time-filters label{display:flex;flex-direction:column;gap:8px;font-weight:800;color:#17223a;}
.lesc-course-time-filters label span{font-size:14px;text-transform:uppercase;letter-spacing:.08em;color:#314056;}
.lesc-course-time-filters select{min-height:52px;border:1px solid #cfe2f1;border-radius:14px;padding:0 14px;background:#fff;font-size:16px;color:#17223a;}
.lesc-course-time-stats{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:18px;margin:0 0 24px;}
.lesc-course-time-stats>div{background:#fff;border:1px solid #dbeaf5;border-radius:22px;padding:24px;box-shadow:0 12px 30px rgba(15,54,90,.06);}
.lesc-course-time-stats strong{display:block;font-size:34px;line-height:1;color:#082341;margin-bottom:8px;}
.lesc-course-time-stats span{font-weight:800;color:#50627a;}
.lesc-course-time-table-wrap{overflow:auto;}
.lesc-course-time-table th,.lesc-course-time-table td{vertical-align:middle;}
.lesc-course-time-table td small{display:block;color:#6e8097;font-weight:700;margin-top:4px;line-height:1.25;}
.lesc-time-value{display:inline-flex;align-items:center;justify-content:center;min-width:92px;border-radius:999px;padding:9px 13px;background:#e9f7ff;color:#064f81;font-weight:900;border:1px solid #c7e7f8;}
.lesc-course-time-note{margin-top:14px;}
@media (max-width: 1000px){
  .lesc-course-time-filters{grid-template-columns:1fr;}
  .lesc-course-time-stats{grid-template-columns:repeat(2,minmax(160px,1fr));}
}
@media (max-width: 640px){
  .lesc-course-time-stats{grid-template-columns:1fr;}
}


/* v7.0 Resource Library */
.lesc-dashboard-actions{display:flex;gap:16px;flex-wrap:wrap;align-items:center;margin-top:22px}.lesc-dashboard-actions .lesc-big-action{margin-top:0}.lesc-big-action.resource{background:linear-gradient(135deg,#0f6f8d,#14a09a);color:#fff}.lesc-resource-intro-panel{margin-bottom:18px}.lesc-resource-filters{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 20px}.lesc-resource-library-list{display:flex;flex-direction:column;gap:24px}.lesc-resource-category h2{margin:0 0 14px;font-size:28px;color:#10213a}.lesc-resource-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.lesc-resource-card{background:#fff;border:1px solid #d7e8f5;border-radius:24px;padding:24px;box-shadow:0 16px 42px rgba(15,49,78,.07);display:flex;flex-direction:column;gap:14px}.lesc-resource-card-top span{display:block;text-transform:uppercase;letter-spacing:.16em;color:#157b8f;font-weight:900;font-size:12px;margin-bottom:6px}.lesc-resource-card-top strong{display:block;font-size:22px;line-height:1.15;color:#10213a}.lesc-resource-card p{font-size:17px;line-height:1.6;margin:0;color:#304159}.lesc-resource-card em{font-style:normal;color:#687891;font-weight:700}.lesc-resource-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:auto}.lesc-resource-coming-soon{display:inline-flex;align-items:center;border-radius:999px;background:#eef6fb;color:#0b4a75;font-weight:900;padding:12px 16px}.lesc-resource-admin-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:22px}.lesc-resource-admin-panel{background:#fff;border:1px solid #d7e8f5;border-radius:24px;padding:24px}.lesc-resource-admin-panel h3{margin:0 0 6px;font-size:24px;color:#10213a}.lesc-resource-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.lesc-resource-admin-form label{display:flex;flex-direction:column;gap:7px;font-weight:900;color:#304159}.lesc-resource-admin-form input,.lesc-resource-admin-form textarea,.lesc-resource-admin-form select{width:100%;border:1px solid #bed6e8;border-radius:14px;padding:12px 14px;background:#fff;color:#10213a;font:inherit}.lesc-resource-admin-wide{grid-column:1/-1}.lesc-resource-admin-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.lesc-resource-admin-item{border:1px solid #d7e8f5;border-radius:18px;padding:16px;margin-top:14px;background:#f8fbfd}.lesc-resource-admin-item summary{cursor:pointer;display:flex;justify-content:space-between;gap:16px;align-items:center}.lesc-resource-admin-item summary strong{font-size:18px;color:#10213a}.lesc-resource-admin-item summary span{color:#667891;font-weight:800}.lesc-resource-delete-form{margin-top:10px}.lesc-mini-link.danger{border:0;background:#fff0f0;color:#a42121;border-radius:999px;padding:10px 14px;font-weight:900;cursor:pointer}@media(max-width:900px){.lesc-resource-grid,.lesc-resource-admin-layout,.lesc-resource-admin-grid{grid-template-columns:1fr}.lesc-resource-admin-item summary{align-items:flex-start;flex-direction:column}}
.lesc-forgot-row{text-align:center;margin:14px 0 0}.lesc-forgot-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 18px;border-radius:999px;background:#eef8fb;border:1px solid #d7e8f3;color:var(--blue)!important;font-weight:900;text-decoration:none;box-shadow:0 8px 20px rgba(15,76,129,.08);transition:transform .15s ease,box-shadow .15s ease,background .15s ease}.lesc-forgot-btn:hover{background:#e5f4fa;box-shadow:0 12px 26px rgba(15,76,129,.14);transform:translateY(-1px)}

/* v7.3: Password visibility toggle */
.lesc-password-wrap{position:relative;display:block;width:100%;}
.lesc-login-card .lesc-password-wrap input[type=password],
.lesc-login-card .lesc-password-wrap input[type=text]{padding-right:86px!important;margin-bottom:16px;}
.lesc-password-toggle{position:absolute;right:10px;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;min-width:60px;min-height:34px;padding:7px 12px;border:0;border-radius:999px;background:#eef8fb;color:var(--blue);font-weight:900;cursor:pointer;box-shadow:0 4px 12px rgba(15,76,129,.08);}
.lesc-password-toggle:hover{background:#e1f1f8;}
.lesc-password-toggle:focus{outline:3px solid rgba(31,122,140,.25);outline-offset:2px;}

/* v7.4 - Branded WordPress forgot-password/reset-password screens */
body.login,
body.login-action-lostpassword,
body.login-action-retrievepassword,
body.login-action-checkemail,
body.login-action-rp,
body.login-action-resetpass{
    min-height:100vh;
    background:linear-gradient(135deg,#eef8fb,#f8fbff)!important;
    color:#172033;
    font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}
body.login #login{
    width:min(540px,calc(100% - 34px));
    padding:54px 0 34px;
}
body.login #login h1{
    display:none;
}
body.login .lesc-wp-reset-brand{
    text-align:center;
    margin:0 auto 22px;
}
body.login .lesc-reset-logo-dot{
    width:58px;
    height:58px;
    border-radius:18px;
    margin:0 auto 18px;
    background:linear-gradient(135deg,#55C1A7,#ffffff);
    box-shadow:0 14px 30px rgba(15,76,129,.12);
    border:1px solid rgba(15,76,129,.08);
}
body.login .lesc-wp-reset-brand h1{
    display:block!important;
    margin:0 0 24px;
    color:#0F4C81;
    font-size:38px;
    line-height:1.05;
    font-weight:1000;
    letter-spacing:-.03em;
}
body.login .lesc-wp-reset-brand h2{
    margin:0 0 8px;
    color:#172033;
    font-size:26px;
    line-height:1.15;
    font-weight:1000;
}
body.login .lesc-wp-reset-brand p{
    margin:0 auto;
    max-width:440px;
    color:#64748b;
    font-size:16px;
    line-height:1.55;
    font-weight:650;
}
body.login form{
    margin-top:18px;
    padding:34px;
    background:#fff;
    border:1px solid #dbe6ef;
    border-radius:26px;
    box-shadow:0 18px 45px rgba(15,76,129,.12);
}
body.login form p:first-child{
    margin-top:0;
}
body.login label{
    display:block;
    margin-bottom:8px;
    color:#172033;
    font-size:16px;
    font-weight:850;
}
body.login input[type="text"],
body.login input[type="email"],
body.login input[type="password"]{
    width:100%;
    min-height:54px;
    margin:0 0 16px;
    padding:14px 16px;
    border:1px solid #dbe6ef;
    border-radius:14px;
    background:#f8fafc;
    color:#172033;
    font-size:16px;
    box-shadow:none;
    outline:none;
}
body.login input[type="text"]:focus,
body.login input[type="email"]:focus,
body.login input[type="password"]:focus{
    border-color:#93c5d8;
    box-shadow:0 0 0 4px rgba(31,122,140,.12);
    background:#fff;
}
body.login .button-primary,
body.login .wp-core-ui .button-primary,
body.login input[type="submit"]{
    width:100%;
    min-height:50px;
    border:0!important;
    border-radius:14px!important;
    background:linear-gradient(135deg,#0F4C81,#1F7A8C)!important;
    color:#fff!important;
    font-weight:1000;
    text-shadow:none!important;
    box-shadow:0 10px 24px rgba(15,76,129,.22)!important;
}
body.login .button-primary:hover,
body.login .button-primary:focus{
    filter:brightness(.98);
    transform:translateY(-1px);
}
body.login .submit{
    margin:8px 0 0!important;
    padding:0!important;
}
body.login .message,
body.login .notice,
body.login #login_error{
    border-left:4px solid #0F4C81;
    border-radius:16px;
    background:#fff;
    color:#172033;
    padding:16px 18px;
    box-shadow:0 12px 28px rgba(15,76,129,.08);
    font-size:15px;
    line-height:1.45;
}
body.login .success,
body.login .notice-success{
    border-left-color:#55C1A7;
}
body.login #nav,
body.login #backtoblog{
    text-align:center;
    margin:16px 0 0;
    padding:0;
    color:#64748b;
}
body.login #nav a,
body.login #backtoblog a{
    color:#0F4C81!important;
    font-weight:900;
    text-decoration:none;
}
body.login #nav a:hover,
body.login #backtoblog a:hover{
    color:#1F7A8C!important;
}
body.login .language-switcher{
    margin-top:20px;
}
body.login .privacy-policy-page-link{
    margin:22px 0 0;
}
body.login .wp-pwd{
    position:relative;
}
body.login .wp-hide-pw{
    top:7px!important;
    right:8px!important;
    color:#0F4C81!important;
    border:0!important;
    background:#eef8fb!important;
    border-radius:10px!important;
}
body.login .lesc-wp-password-wrap{
    display:block;
    position:relative;
}
body.login .lesc-wp-password-wrap input{
    padding-right:86px!important;
}
body.login .lesc-wp-password-toggle{
    position:absolute;
    top:9px;
    right:9px;
    height:36px;
    min-width:64px;
    border:0;
    border-radius:10px;
    background:#eef8fb;
    color:#0F4C81;
    font-weight:1000;
    cursor:pointer;
}
body.login .description,
body.login .indicator-hint,
body.login .pw-weak{
    color:#64748b;
    font-size:14px;
    line-height:1.45;
}
body.login #pass-strength-result{
    border-radius:12px;
    margin:0 0 14px;
    padding:9px 12px;
    font-weight:900;
}
@media(max-width:560px){
    body.login #login{padding-top:32px}
    body.login .lesc-wp-reset-brand h1{font-size:30px}
    body.login form{padding:24px;border-radius:22px}
}

/* v7.5 - remove decorative logo square from WordPress password reset pages */
body.login .lesc-reset-logo-dot{display:none!important;}
body.login .lesc-wp-reset-brand h1{margin-top:0!important;}


/* v7.6 employee login clarity */
.lesc-error-box{background:#fff1f2;border:1px solid #fecdd3;color:#991b1b;border-radius:16px;padding:14px 16px;margin:14px 0;font-weight:900}
.lesc-employee-admin-table td{vertical-align:top}
.lesc-employee-admin-table td small{display:block;margin-top:5px;color:#64748b;line-height:1.25}
.lesc-employee-admin-table .lesc-mini-link{display:inline-flex;margin:6px 6px 0 0;white-space:nowrap}

/* v7.7: Onboarding Forms + Employee Handbook signature center */
.lesc-big-action.onboarding{background:linear-gradient(135deg,#0F4C81,#1F7A8C);color:#fff!important}
.lesc-onboarding-stats,.lesc-onboarding-admin-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 22px}.lesc-onboarding-admin-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.lesc-onboarding-stats>div,.lesc-onboarding-admin-stats>div{background:#fff;border:1px solid #d7e8f5;border-radius:22px;padding:22px;box-shadow:0 12px 30px rgba(15,49,78,.06)}.lesc-onboarding-stats strong,.lesc-onboarding-admin-stats strong{display:block;color:#0f4c81;font-size:36px;line-height:1;font-weight:1000}.lesc-onboarding-stats span,.lesc-onboarding-admin-stats span{display:block;margin-top:8px;color:#4b5f77;font-weight:900}.lesc-onboarding-list,.lesc-onboarding-employee-groups{display:flex;flex-direction:column;gap:24px}.lesc-onboarding-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.lesc-onboarding-card{background:#fff;border:1px solid #d7e8f5;border-radius:24px;padding:24px;box-shadow:0 16px 42px rgba(15,49,78,.07);display:flex;flex-direction:column;gap:14px}.lesc-onboarding-card.signed{border-color:#bdebd7;background:linear-gradient(135deg,#ffffff,#f3fff8)}.lesc-onboarding-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.lesc-onboarding-card-head span{display:block;text-transform:uppercase;letter-spacing:.14em;color:#157b8f;font-weight:1000;font-size:12px;margin-bottom:6px}.lesc-onboarding-card-head strong{display:block;font-size:23px;line-height:1.15;color:#10213a}.lesc-onboarding-card p{font-size:17px;line-height:1.6;margin:0;color:#304159}.lesc-onboarding-card em{font-style:normal;color:#687891;font-weight:800}.lesc-onboarding-sign-form{display:flex;flex-direction:column;gap:14px;margin-top:8px;padding:18px;border-radius:18px;background:#f7fbfe;border:1px solid #d7e8f5}.lesc-check{display:flex!important;align-items:flex-start;gap:10px;font-weight:900;color:#22344d;line-height:1.45}.lesc-check input{width:19px;height:19px;margin-top:2px;accent-color:#157b8f;flex:0 0 auto}.lesc-onboarding-sign-grid{display:grid;grid-template-columns:2fr 1fr;gap:12px}.lesc-onboarding-sign-grid label,.lesc-onboarding-admin-form label{display:flex;flex-direction:column;gap:7px;font-weight:900;color:#304159}.lesc-onboarding-sign-grid span,.lesc-onboarding-admin-form label span{font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:#52637a}.lesc-onboarding-sign-grid input,.lesc-onboarding-admin-form input,.lesc-onboarding-admin-form textarea,.lesc-onboarding-admin-form select{width:100%;box-sizing:border-box;border:1px solid #bed6e8;border-radius:14px;background:#fff;padding:12px 14px;font:inherit;color:#10213a}.lesc-onboarding-signed-box{display:grid;gap:4px;margin-top:8px;padding:16px 18px;border:1px solid #bfecd7;border-radius:18px;background:#ecfff6;color:#163a2a}.lesc-onboarding-signed-box strong{font-size:16px}.lesc-onboarding-signed-box span,.lesc-onboarding-signed-box em{color:#32634e;font-weight:800}.lesc-onboarding-admin-layout{margin-top:18px}.lesc-onboarding-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.lesc-onboarding-admin-grid .wide{grid-column:1/-1}.lesc-toggle-line{flex-direction:row!important;align-items:center!important;gap:10px;border:1px solid #d7e8f5;border-radius:14px;background:#f8fbfd;padding:12px 14px}.lesc-toggle-line input{width:18px!important;height:18px!important;accent-color:#157b8f}.lesc-onboarding-records-panel{margin-top:22px}.lesc-onboarding-employee-group{border:1px solid #d7e8f5;border-radius:24px;overflow:hidden;background:#fff;box-shadow:0 16px 42px rgba(15,49,78,.07)}.lesc-onboarding-employee-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px 24px;background:linear-gradient(135deg,#f8fcff,#eef8fb);border-bottom:1px solid #d7e8f5}.lesc-onboarding-employee-head strong{display:block;font-size:24px;color:#10213a}.lesc-onboarding-employee-head span{display:block;color:#63748c;font-weight:800;margin-top:4px}.lesc-doc-status.uploaded{background:#dffbea;color:#146c3f}@media(max-width:1000px){.lesc-onboarding-stats,.lesc-onboarding-admin-stats,.lesc-onboarding-grid,.lesc-onboarding-admin-grid{grid-template-columns:1fr}.lesc-onboarding-sign-grid{grid-template-columns:1fr}.lesc-onboarding-card-head,.lesc-onboarding-employee-head{align-items:flex-start;flex-direction:column}}

/* Demo package safeguards */
.lesc-demo-watermark{position:fixed;left:50%;bottom:14px;transform:translateX(-50%);z-index:99999;max-width:min(920px,calc(100vw - 28px));padding:10px 16px;border-radius:999px;background:#7f1d1d;color:#fff;font-size:12px;line-height:1.35;font-weight:900;letter-spacing:.01em;text-align:center;box-shadow:0 10px 30px rgba(0,0,0,.22)}
.lesc-demo-inline{margin:0 0 18px;padding:12px 14px;border:1px solid #fecaca;border-radius:14px;background:#fff1f2;color:#991b1b;font-size:13px;line-height:1.5;font-weight:800}
.lesc-demo-chip{display:inline-flex;margin-top:8px;padding:5px 9px;border-radius:999px;background:#fff1f2;color:#fecaca;font-size:11px;font-weight:1000;letter-spacing:.08em;text-transform:uppercase}
@media(max-width:600px){.lesc-demo-watermark{bottom:8px;border-radius:14px;font-size:10px;padding:8px 10px}}

/* v8.1 builder-created course modules/chapters */
.lesc-player-module-title{margin:12px 2px 5px;padding:9px 8px 5px;border-top:1px solid #e5edf3;display:grid;gap:2px}.lesc-player-module-title:first-child{margin-top:0;border-top:0}.lesc-player-module-title span{font-size:9px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:#7890a4}.lesc-player-module-title strong{font-size:12px;line-height:1.25;color:#253047}.lesc-player-locked{display:grid;grid-template-columns:18px 1fr;gap:6px;align-items:center;padding:8px 9px;border-radius:11px;color:#9aa8b5;font-size:12px;font-weight:800;line-height:1.18;background:#f7f9fb}.lesc-chapter-media{margin:24px 0 0;padding-top:22px;border-top:1px solid #e6edf4}.lesc-chapter-media img{display:block;max-width:100%;height:auto;border-radius:16px;border:1px solid #e1e9f0}.lesc-chapter-media video,.lesc-chapter-media iframe{display:block;width:100%;max-width:100%;min-height:420px;border:0;border-radius:16px;background:#0f172a}.lesc-chapter-media.file{display:flex;gap:10px;flex-wrap:wrap}.lesc-lesson-card #builder-acknowledgement{margin-top:28px}
@media(max-width:600px){.lesc-chapter-media video,.lesc-chapter-media iframe{min-height:220px}.lesc-player-module-title strong{font-size:13px}.lesc-player-locked{font-size:13px}}
