/* Modern Student/Parent Dashboard UI - Fix 8 */
.wlsm-shortcode-shell,.wlsm,.wlsm-container,.wlsm-lesson-viewer-shell,.jconfirm{--wlsm-modern-primary:#2563eb;--wlsm-modern-accent:#06b6d4;--wlsm-modern-ink:#0f172a;--wlsm-modern-muted:#64748b;--wlsm-modern-line:#e2e8f0;--wlsm-modern-card:rgba(255,255,255,.94);--wlsm-modern-bg:#f6f8fc;--wlsm-modern-shadow:0 18px 45px rgba(15,23,42,.10);--wlsm-modern-shadow-soft:0 10px 28px rgba(15,23,42,.08);--wlsm-modern-radius:22px;--wlsm-modern-primary-soft:#eff6ff;--wlsm-modern-danger:#dc2626}.wlsm-logged-in-info,.wlsm-container-student,.wlsm-container-parent,.wlsm-container .wlsm-content-area,.wlsm-navigation-header,.wlsm-navigation-links,.wlsm-student-dashboard{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}.wlsm-logged-in-info{max-width:1440px;margin:0 auto 18px!important;padding:14px 18px;border:1px solid rgba(226,232,240,.9);border-radius:999px;background:rgba(255,255,255,.78);box-shadow:0 12px 35px rgba(15,23,42,.06);backdrop-filter:blur(14px)}.wlsm-logged-in-text{color:var(--wlsm-modern-muted);font-weight:700}.wlsm-logout-link{margin-inline-start:10px;color:var(--wlsm-modern-primary)!important;font-weight:800;text-decoration:none!important}.wlsm-container.wlsm-container-student,.wlsm-container.wlsm-container-parent{position:relative;max-width:1440px;margin:0 auto;padding:22px;border-radius:30px;background:radial-gradient(circle at top left,rgba(37,99,235,.16),transparent 30%),radial-gradient(circle at top right,rgba(6,182,212,.14),transparent 26%),linear-gradient(180deg,#fff 0%,var(--wlsm-modern-bg) 100%);box-shadow:0 22px 70px rgba(15,23,42,.10);border:1px solid rgba(226,232,240,.95);overflow:hidden}.wlsm-container.wlsm-container-student:before,.wlsm-container.wlsm-container-parent:before{content:"";position:absolute;inset:0 0 auto 0;height:180px;pointer-events:none;background:linear-gradient(135deg,rgba(37,99,235,.96),rgba(6,182,212,.86));opacity:.08}.wlsm-navigation-header{position:relative;display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px!important;padding:22px 24px!important;border-radius:26px;color:#fff;background:linear-gradient(135deg,rgba(15,23,42,.96),rgba(30,64,175,.95));box-shadow:var(--wlsm-modern-shadow);border:1px solid rgba(255,255,255,.14);overflow:hidden}.wlsm-navigation-header:after{content:"";position:absolute;width:260px;height:260px;border-radius:999px;inset-inline-end:-90px;top:-110px;background:rgba(255,255,255,.10);pointer-events:none}.wlsm-navigation-header h3{position:relative;z-index:1;margin:0!important;color:#fff!important;font-size:clamp(1.25rem,2.5vw,1.85rem)!important;line-height:1.2;font-weight:900;letter-spacing:-.03em}.wlsm-navigation-header h3 i{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;margin-inline-end:10px;border-radius:14px;background:rgba(255,255,255,.14)}.wlsm-select-student,.wlsm-student-selector select,.wlsm-container select,.wlsm-container input[type="text"],.wlsm-container input[type="email"],.wlsm-container input[type="password"],.wlsm-container input[type="date"],.wlsm-container input[type="number"],.wlsm-container textarea{min-height:44px;border-radius:14px!important;border:1px solid var(--wlsm-modern-line)!important;background:#fff!important;color:var(--wlsm-modern-ink)!important;box-shadow:0 1px 2px rgba(15,23,42,.04);outline:none!important}.wlsm-container input:focus,.wlsm-container select:focus,.wlsm-container textarea:focus{border-color:rgba(37,99,235,.55)!important;box-shadow:0 0 0 4px rgba(37,99,235,.12)!important}.wlsm-container .wlsm-navigation-links{position:relative;z-index:1;width:22.5%!important;min-width:250px;float:left;padding:12px!important;margin:0!important;border-radius:24px;background:rgba(255,255,255,.78);border:1px solid rgba(226,232,240,.92);box-shadow:var(--wlsm-modern-shadow-soft);backdrop-filter:blur(16px)}[dir="rtl"] .wlsm-container .wlsm-navigation-links,.rtl .wlsm-container .wlsm-navigation-links,body.rtl .wlsm-container .wlsm-navigation-links{float:right}.wlsm-container .wlsm-navigation-links li{margin:0 0 8px!important;border:0!important;border-radius:16px!important}.wlsm-navigation-links li a{display:flex!important;align-items:center;gap:11px;min-height:48px;padding:12px 14px!important;color:var(--wlsm-modern-ink)!important;background:transparent!important;border:1px solid transparent!important;border-radius:16px!important;box-shadow:none!important;font-size:.96rem!important;font-weight:800!important}.wlsm-navigation-links li a i{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;flex:0 0 34px;border-radius:12px;color:var(--wlsm-modern-primary);background:var(--wlsm-modern-primary-soft)}.wlsm-navigation-links li a:hover,.wlsm-navigation-links li a:focus,.wlsm-navigation-links li a.active{color:#fff!important;background:linear-gradient(135deg,var(--wlsm-modern-primary),var(--wlsm-modern-accent))!important;transform:translateY(-1px);box-shadow:0 12px 26px rgba(37,99,235,.25)!important}.wlsm-navigation-links li a:hover i,.wlsm-navigation-links li a:focus i,.wlsm-navigation-links li a.active i{color:#fff;background:rgba(255,255,255,.18)}.wlsm-container .wlsm-content-area{position:relative;z-index:1;width:calc(77.5% - 18px)!important;float:right;min-height:640px!important;padding:24px!important;border:1px solid rgba(226,232,240,.95)!important;border-radius:24px!important;background:rgba(255,255,255,.86)!important;color:var(--wlsm-modern-ink)!important;box-shadow:var(--wlsm-modern-shadow-soft)!important;backdrop-filter:blur(16px)}[dir="rtl"] .wlsm-container .wlsm-content-area,.rtl .wlsm-container .wlsm-content-area,body.rtl .wlsm-container .wlsm-content-area{float:left}.wlsm-container:after,.wlsm-container-student:after,.wlsm-container-parent:after{content:"";display:block;clear:both}.wlsm-st-main-title,.wlsm-container .wlsm-st-details-heading,.wlsm-container h1,.wlsm-container h2,.wlsm-container h3,.wlsm-container h4{color:var(--wlsm-modern-ink);letter-spacing:-.02em}.wlsm-st-main-title,.wlsm-container .wlsm-st-details-heading{margin:0 0 18px!important;padding-bottom:14px!important;border-bottom:1px solid var(--wlsm-modern-line)!important;font-weight:900!important}.wlsm-card,.wlsm-profile-card,.wlsm-container .wlsm-st-details,.wlsm-container .wlsm-parent-student-section,.wlsm-container .card,.wlsm-container .wlsm-st-attendance-section,.wlsm-container .wlsm-notice-section,.wlsm-container .wlsm-fee-invoices-section,.wlsm-container .wlsm-school-section,.wlsm-container .wlsm-student-detail-section,.wlsm-container .wlsm-table-section,.wlsm-container .wlsm-form-section{border:1px solid rgba(226,232,240,.95)!important;border-radius:var(--wlsm-modern-radius)!important;background:var(--wlsm-modern-card)!important;box-shadow:var(--wlsm-modern-shadow-soft)!important;overflow:hidden}.wlsm-profile-header{display:flex;align-items:center;gap:18px;padding:24px!important;background:linear-gradient(135deg,#1e293b,#1d4ed8)!important;color:#fff!important}.wlsm-student-photo,.wlsm-student-photo-default{width:88px!important;height:88px!important;border-radius:24px!important;object-fit:cover;border:4px solid rgba(255,255,255,.80)!important;box-shadow:0 16px 34px rgba(15,23,42,.28)}.wlsm-student-photo-default{display:flex;align-items:center;justify-content:center;color:#fff;font-size:2.2rem;font-weight:900;background:linear-gradient(135deg,var(--wlsm-modern-primary),var(--wlsm-modern-accent))}.wlsm-student-meta .wlsm-badge,.wlsm-badge{display:inline-flex;flex-direction:column;align-items:flex-start;gap:4px;padding:0!important;border:0!important;background:transparent!important;color:inherit!important;box-shadow:none!important}.wlsm-student-meta .wlsm-badge h4{color:#fff!important;margin:0 0 4px!important;font-size:1.4rem!important;font-weight:900}.wlsm-profile-body,.wlsm-card-body,.wlsm-container .card-body{padding:22px!important}.wlsm-container .wlsm-st-details-list li,.wlst-st-list li{display:flex;justify-content:space-between;gap:12px;padding:12px 0!important;border-bottom:1px dashed rgba(148,163,184,.35)!important}.wlsm-st-details-list-key{color:var(--wlsm-modern-muted)!important;font-weight:800!important}.wlsm-st-details-list-value{color:var(--wlsm-modern-ink)!important;font-weight:800;text-align:end}.wlsm-container table,.wlsm-container .table{width:100%;border-collapse:separate!important;border-spacing:0!important;overflow:hidden;border-radius:18px;background:#fff}.wlsm-container table thead th,.wlsm-container .table thead th{color:#fff!important;background:linear-gradient(135deg,#1e293b,#2563eb)!important;border:0!important;font-weight:900!important;padding:13px 14px!important}.wlsm-container table td,.wlsm-container table th,.wlsm-container .table td,.wlsm-container .table th{border-color:rgba(226,232,240,.9)!important;padding:12px 14px!important;vertical-align:middle!important}.wlsm-container table tbody tr:nth-child(even),.wlsm-container .table tbody tr:nth-child(even){background:#f8fafc}.wlsm-container table tbody tr:hover,.wlsm-container .table tbody tr:hover{background:var(--wlsm-modern-primary-soft)}.wlsm-container .button,.wlsm-container button,.wlsm-container input[type="submit"],.wlsm-container .btn,.wlsm-container .wlsm-btn,.wlsm-container a.btn,.wlsm-container a[class*="btn"],.wlsm-container .wlsm-st-view-homework,.wlsm-container .wlsm-st-view-study-material,.wlsm-container .wlsm-st-view-notice,.wlsm-container .wlsm-st-view-event,.wlsm-container .wlsm-st-submit-homework,.jconfirm .jconfirm-box .jconfirm-buttons button{min-height:40px;border:0!important;border-radius:13px!important;color:#fff!important;background:linear-gradient(135deg,var(--wlsm-modern-primary),var(--wlsm-modern-accent))!important;box-shadow:0 10px 22px rgba(37,99,235,.22)!important;padding:10px 15px!important;font-weight:900!important;text-decoration:none!important}.wlsm-alert,.wlsm-container .alert{border-radius:18px!important;border:1px solid rgba(226,232,240,.90)!important;box-shadow:var(--wlsm-modern-shadow-soft)}.jconfirm .jconfirm-bg{background:rgba(15,23,42,.58)!important;backdrop-filter:blur(8px)}.jconfirm .jconfirm-box{border-radius:24px!important;overflow:hidden!important;border:1px solid rgba(226,232,240,.92)!important;box-shadow:0 28px 80px rgba(15,23,42,.28)!important}.jconfirm .jconfirm-box div.jconfirm-title-c{padding:22px 24px 10px!important;border-bottom:1px solid rgba(226,232,240,.75)}.jconfirm .jconfirm-box div.jconfirm-title-c .jconfirm-title{color:var(--wlsm-modern-ink)!important;font-size:1.25rem!important;font-weight:950!important}.jconfirm .jconfirm-box div.jconfirm-content-pane{padding:18px 24px 24px!important}.jconfirm .jconfirm-box .jconfirm-content{color:var(--wlsm-modern-ink)!important;line-height:1.75}.jconfirm .jconfirm-box .jconfirm-closeIcon{top:18px!important;inset-inline-end:18px!important;width:36px!important;height:36px!important;line-height:36px!important;border-radius:12px;color:var(--wlsm-modern-muted)!important;background:#f8fafc}.jconfirm .jconfirm-box .jconfirm-closeIcon:hover{color:#fff!important;background:var(--wlsm-modern-danger)}@media (max-width:1024px){.wlsm-container .wlsm-navigation-links,.wlsm-container .wlsm-content-area{width:100%!important;float:none!important}.wlsm-container .wlsm-navigation-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:16px!important}.wlsm-container .wlsm-navigation-links li{margin-bottom:0!important}}@media (max-width:720px){.wlsm-container.wlsm-container-student,.wlsm-container.wlsm-container-parent{padding:14px;border-radius:22px}.wlsm-navigation-header{flex-direction:column;align-items:stretch;padding:18px!important;border-radius:22px}.wlsm-container .wlsm-navigation-links{grid-template-columns:1fr;padding:10px!important}.wlsm-container .wlsm-content-area{padding:16px!important;border-radius:20px!important}.wlsm-profile-header{flex-direction:column;align-items:flex-start}.wlsm-container .wlsm-st-details-list li{flex-direction:column;gap:5px}.wlsm-st-details-list-value{text-align:start}}[dir="rtl"] .wlsm-navigation-links li a,.rtl .wlsm-navigation-links li a,body.rtl .wlsm-navigation-links li a{text-align:right}

/* Fix 9: Premium viewer for homework, lessons and study materials */
.jconfirm .jconfirm-box{width:min(1120px,94vw)!important;max-width:94vw!important;border-radius:28px!important;overflow:hidden!important}.jconfirm .jconfirm-box div.jconfirm-title-c{padding:22px 30px 14px!important;background:linear-gradient(135deg,#f8fbff,#eef6ff)!important;border-bottom:1px solid rgba(191,219,254,.85)!important}.jconfirm .jconfirm-box div.jconfirm-title-c .jconfirm-title{font-size:1.45rem!important;font-weight:950!important;color:#0f172a!important;letter-spacing:-.03em}.jconfirm .jconfirm-box .jconfirm-closeIcon{top:18px!important;right:22px!important;width:40px!important;height:40px!important;line-height:40px!important;border-radius:14px!important;background:#fff!important;color:#64748b!important;box-shadow:0 8px 20px rgba(15,23,42,.08)!important}.jconfirm .jconfirm-box div.jconfirm-content-pane{max-height:78vh!important;overflow:auto!important;padding:24px 30px 30px!important}.jconfirm .jconfirm-box .jconfirm-content{line-height:1.8!important;color:#0f172a!important}.wlsm-study-material-data{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px!important;margin:0!important;padding:0!important;list-style:none!important}.wlsm-study-material-data>li{position:relative;display:block!important;margin:0!important;padding:18px 18px 18px 20px!important;border:1px solid rgba(226,232,240,.95)!important;border-radius:20px!important;background:linear-gradient(180deg,#fff,#f8fafc)!important;box-shadow:0 10px 26px rgba(15,23,42,.06)!important;color:#0f172a!important}.wlsm-study-material-data>li:first-child{grid-column:1/-1;padding:24px!important;background:radial-gradient(circle at top left,rgba(37,99,235,.16),transparent 35%),linear-gradient(135deg,#f8fbff,#eef6ff)!important;border-color:rgba(191,219,254,.95)!important}.wlsm-study-material-data>li:first-child .wlsm-font-bold{display:block!important;margin-bottom:8px;color:#2563eb!important;font-size:.86rem!important;text-transform:uppercase;letter-spacing:.04em}.wlsm-study-material-data>li:first-child span:last-child{display:block;color:#0f172a!important;font-size:1.7rem!important;font-weight:950!important;line-height:1.25!important;letter-spacing:-.035em}.wlsm-study-material-data>li .wlsm-font-bold{display:inline-flex!important;align-items:center;gap:7px;margin-bottom:7px;color:#64748b!important;font-weight:950!important}.wlsm-study-material-data>li .wlsm-font-bold:before{content:"";display:inline-block;width:9px;height:9px;border-radius:99px;background:linear-gradient(135deg,#2563eb,#06b6d4)}.wlsm-study-material-data>li span:not(.wlsm-font-bold),.wlsm-study-material-data>li>a{font-weight:800;color:#0f172a!important;word-break:break-word}.wlsm-study-material-data>li:has(.wlsm-study-material-attachments),.wlsm-study-material-data>li:has(.responsive-iframe){grid-column:1/-1}.wlsm-study-material-attachments{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px!important;margin:10px 0 0!important;padding:0!important;list-style:none!important}.wlsm-study-material-attachments li{list-style:none!important;margin:0!important;padding:0!important}.wlsm-study-material-attachments a,.wlsm-study-material-data a.wlsm-st-track-asset,.wlsm-study-material-data a[target="_blank"]{display:inline-flex!important;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:11px 15px!important;border-radius:14px!important;background:linear-gradient(135deg,#2563eb,#06b6d4)!important;color:#fff!important;text-decoration:none!important;font-weight:950!important;box-shadow:0 12px 28px rgba(37,99,235,.22)!important}.wlsm-study-material-attachments a:before,.wlsm-study-material-data a.wlsm-st-track-asset:before{content:"\f0c6";font-family:"Font Awesome 5 Free";font-weight:900}.wlsm-study-material-data .container{width:100%!important;max-width:100%!important;padding:0!important;margin:8px 0 0!important}.wlsm-study-material-data iframe.responsive-iframe{width:100%!important;min-height:560px!important;border:1px solid rgba(226,232,240,.95)!important;border-radius:18px!important;box-shadow:0 12px 28px rgba(15,23,42,.08)!important;background:#fff}.wlsm-study-material-data hr{display:none!important}.rtl .wlsm-study-material-data>li .wlsm-font-bold:before,body.rtl .wlsm-study-material-data>li .wlsm-font-bold:before,[dir="rtl"] .wlsm-study-material-data>li .wlsm-font-bold:before{margin-left:7px;margin-right:0}@media (max-width:760px){.jconfirm .jconfirm-box{width:96vw!important}.jconfirm .jconfirm-box div.jconfirm-title-c{padding:18px 18px 10px!important}.jconfirm .jconfirm-box div.jconfirm-content-pane{padding:18px!important}.wlsm-study-material-data{grid-template-columns:1fr}.wlsm-study-material-data>li:first-child span:last-child{font-size:1.35rem!important}.wlsm-study-material-data iframe.responsive-iframe{min-height:380px!important}}

/* Fix 11: Smart Lesson Viewer + Modern Lesson Library + Notebook integration */
.wlsm-modern-lesson-library{--lesson-primary:#2563eb;--lesson-accent:#06b6d4;--lesson-ink:#0f172a;--lesson-muted:#64748b;--lesson-line:#e2e8f0;--lesson-soft:#eff6ff;--lesson-card:#fff;--lesson-shadow:0 18px 45px rgba(15,23,42,.10);--lesson-radius:24px}.wlsm-lesson-library-header{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:0 0 20px;padding:24px;border:1px solid rgba(191,219,254,.9);border-radius:28px;background:radial-gradient(circle at top left,rgba(37,99,235,.20),transparent 35%),linear-gradient(135deg,#f8fbff,#eef6ff);box-shadow:0 14px 34px rgba(37,99,235,.10)}.wlsm-lesson-library-kicker{display:inline-flex;margin-bottom:7px;padding:7px 12px;border-radius:999px;background:#dbeafe;color:#1d4ed8;font-weight:950;font-size:.78rem;letter-spacing:.04em;text-transform:uppercase}.wlsm-lesson-library-header h2{margin:0!important;color:var(--lesson-ink)!important;font-size:clamp(1.55rem,3vw,2.25rem)!important;font-weight:950!important;letter-spacing:-.045em}.wlsm-lesson-library-header p{margin:8px 0 0!important;color:var(--lesson-muted);font-weight:700;max-width:760px}.wlsm-lesson-library-stat{min-width:140px;text-align:center;border-radius:24px;background:#fff;border:1px solid rgba(226,232,240,.94);padding:16px;box-shadow:0 12px 28px rgba(15,23,42,.06)}.wlsm-lesson-library-stat strong{display:block;font-size:2.1rem;line-height:1;color:var(--lesson-primary);font-weight:950}.wlsm-lesson-library-stat span{display:block;margin-top:6px;color:var(--lesson-muted);font-weight:800;font-size:.86rem}.wlsm-lesson-filter-card{margin:0 0 22px!important;padding:18px!important;border:1px solid rgba(226,232,240,.95);border-radius:24px;background:rgba(255,255,255,.88);box-shadow:0 12px 30px rgba(15,23,42,.07)}.wlsm-lesson-library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:18px;margin-top:12px}.wlsm-lesson-card{position:relative;display:flex;flex-direction:column;min-height:250px;padding:20px;border:1px solid rgba(226,232,240,.94);border-radius:28px;background:linear-gradient(180deg,#fff,#f8fafc);box-shadow:0 16px 36px rgba(15,23,42,.08);overflow:hidden;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.wlsm-lesson-card:before{content:"";position:absolute;inset:0 0 auto 0;height:6px;background:linear-gradient(90deg,var(--lesson-primary),var(--lesson-accent))}.wlsm-lesson-card:hover{transform:translateY(-4px);box-shadow:0 22px 50px rgba(37,99,235,.16);border-color:rgba(37,99,235,.28)}.wlsm-lesson-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.wlsm-lesson-card-icon{display:inline-flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:18px;background:linear-gradient(135deg,var(--lesson-primary),var(--lesson-accent));color:#fff;font-size:1.35rem;box-shadow:0 12px 26px rgba(37,99,235,.22)}.wlsm-lesson-card-type{padding:6px 11px;border-radius:999px;background:#eef6ff;color:#1d4ed8;font-weight:950;font-size:.75rem;letter-spacing:.04em}.wlsm-lesson-card h3{margin:0 0 12px!important;color:var(--lesson-ink)!important;font-size:1.18rem!important;line-height:1.25!important;font-weight:950!important;letter-spacing:-.03em}.wlsm-lesson-card-meta{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.wlsm-lesson-card-meta span{display:inline-flex;align-items:center;gap:6px;padding:7px 9px;border-radius:999px;background:#f1f5f9;color:#334155;font-size:.78rem;font-weight:850}.wlsm-lesson-card-meta i{color:var(--lesson-primary)}.wlsm-lesson-card-excerpt{margin:0 0 16px!important;color:var(--lesson-muted)!important;line-height:1.65;font-weight:650}.wlsm-lesson-card-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:auto}.wlsm-lesson-view-btn{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 15px!important;border-radius:14px!important;background:linear-gradient(135deg,var(--lesson-primary),var(--lesson-accent))!important;color:#fff!important;font-weight:950!important;text-decoration:none!important;box-shadow:0 12px 26px rgba(37,99,235,.22)!important}.wlsm-lesson-notebook-badge{display:inline-flex;align-items:center;gap:7px;padding:9px 11px;border-radius:999px;background:#ecfeff;color:#0e7490;font-weight:950;font-size:.78rem}.wlsm-modern-pagination{display:flex;justify-content:center;gap:8px;margin-top:24px}.wlsm-modern-pagination a,.wlsm-modern-pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;border-radius:13px;border:1px solid rgba(226,232,240,.95);background:#fff;color:#0f172a;text-decoration:none!important;font-weight:900}.wlsm-modern-pagination span,.wlsm-modern-pagination a:hover{background:linear-gradient(135deg,var(--lesson-primary),var(--lesson-accent));color:#fff;border-color:transparent}.wlsm-modern-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:220px;border:1px dashed rgba(148,163,184,.55);border-radius:26px;background:#f8fafc;color:#64748b}.wlsm-modern-empty-state i{font-size:2.6rem;margin-bottom:12px;color:#2563eb}.wlsm-modern-empty-state p{margin:0;font-weight:900}.wlsm-smart-viewer{--smart-primary:#2563eb;--smart-accent:#06b6d4;--smart-ink:#0f172a;--smart-muted:#64748b;--smart-line:#e2e8f0;--smart-soft:#eff6ff;display:flex;flex-direction:column;gap:18px}.wlsm-smart-hero{display:flex;gap:18px;align-items:flex-start;padding:26px;border:1px solid rgba(191,219,254,.92);border-radius:28px;background:radial-gradient(circle at top left,rgba(37,99,235,.22),transparent 32%),linear-gradient(135deg,#f8fbff,#eef6ff);box-shadow:0 16px 38px rgba(37,99,235,.12)}.wlsm-smart-hero-icon{display:inline-flex;align-items:center;justify-content:center;width:62px;height:62px;flex:0 0 62px;border-radius:22px;background:linear-gradient(135deg,var(--smart-primary),var(--smart-accent));color:#fff;font-size:1.55rem;box-shadow:0 14px 32px rgba(37,99,235,.24)}.wlsm-smart-kicker{display:inline-flex;margin-bottom:8px;padding:7px 12px;border-radius:999px;background:#dbeafe;color:#1d4ed8;font-weight:950;font-size:.76rem;letter-spacing:.04em;text-transform:uppercase}.wlsm-smart-hero h2{margin:0 0 12px!important;color:var(--smart-ink)!important;font-size:clamp(1.55rem,3vw,2.35rem)!important;line-height:1.18!important;font-weight:950!important;letter-spacing:-.045em}.wlsm-smart-badges{display:flex;flex-wrap:wrap;gap:9px}.wlsm-smart-badges span{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border-radius:999px;background:#fff;border:1px solid rgba(226,232,240,.95);color:#334155;font-weight:850;box-shadow:0 8px 20px rgba(15,23,42,.05)}.wlsm-smart-badges strong{color:#64748b;font-weight:950;margin-inline-end:2px}.wlsm-smart-panel{padding:22px;border:1px solid rgba(226,232,240,.95);border-radius:26px;background:#fff;box-shadow:0 12px 30px rgba(15,23,42,.07)}.wlsm-smart-panel h3{display:flex;align-items:center;gap:9px;margin:0 0 14px!important;color:#0f172a!important;font-size:1.12rem!important;font-weight:950!important}.wlsm-smart-panel h3 i{color:var(--smart-primary)}.wlsm-smart-richtext{color:#334155;font-size:1rem;font-weight:650;line-height:1.85}.wlsm-smart-richtext p:last-child{margin-bottom:0}.wlsm-smart-resource-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px}.wlsm-smart-resource-card{position:relative;grid-column:auto;padding:18px;border:1px solid rgba(226,232,240,.95);border-radius:22px;background:linear-gradient(180deg,#fff,#f8fafc);box-shadow:0 10px 26px rgba(15,23,42,.06);overflow:hidden}.wlsm-smart-resource-notebook,.wlsm-smart-resource-pdf,.wlsm-smart-resource-video,.wlsm-smart-resource-image{grid-column:1/-1}.wlsm-smart-resource-head{display:flex;align-items:center;gap:13px;margin-bottom:14px}.wlsm-smart-resource-icon{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:16px;background:linear-gradient(135deg,#1d4ed8,#06b6d4);color:#fff;font-size:1.2rem;box-shadow:0 12px 26px rgba(37,99,235,.20)}.wlsm-smart-resource-head strong{display:block;color:#0f172a;font-weight:950;line-height:1.3;word-break:break-word}.wlsm-smart-resource-meta{margin-top:3px;color:#64748b;font-weight:850;font-size:.82rem}.wlsm-smart-resource-actions{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:12px}.wlsm-smart-file-btn{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 14px!important;border-radius:14px!important;background:linear-gradient(135deg,#2563eb,#06b6d4)!important;color:#fff!important;font-weight:950!important;text-decoration:none!important;box-shadow:0 12px 26px rgba(37,99,235,.22)!important;border:0!important}.wlsm-smart-file-btn.secondary{background:#f1f5f9!important;color:#0f172a!important;box-shadow:none!important;border:1px solid #e2e8f0!important}.wlsm-smart-inline-preview{margin-top:12px;border:1px solid rgba(226,232,240,.95);border-radius:20px;background:#f8fafc;overflow:hidden}.wlsm-smart-inline-preview img{display:block;width:100%;max-height:620px;object-fit:contain;background:#fff}.wlsm-smart-inline-preview video,.wlsm-smart-inline-preview audio{display:block;width:100%;background:#0f172a}.wlsm-smart-inline-preview iframe{display:block;width:100%;min-height:680px;border:0;background:#fff}.wlsm-smart-notebook-preview{margin-top:14px;border:1px solid rgba(191,219,254,.95);border-radius:24px;background:#eef6ff;padding:12px;overflow:hidden}.wlsm-notebook-preview-head{display:flex;align-items:center;gap:10px;margin-bottom:10px;padding:10px 12px;border-radius:16px;background:#fff;color:#0f172a;font-weight:950}.wlsm-notebook-preview-head i{color:#2563eb}.wlsm-smart-empty-resource{grid-column:1/-1;padding:18px;border-radius:18px;background:#f8fafc;color:#64748b;font-weight:850;text-align:center}.wlsm-smart-empty-resource i{color:#2563eb}.jconfirm .jconfirm-box{width:min(1240px,96vw)!important;max-width:96vw!important}.jconfirm .jconfirm-box div.jconfirm-content-pane{max-height:82vh!important}.rtl .wlsm-smart-hero,body.rtl .wlsm-smart-hero,[dir="rtl"] .wlsm-smart-hero,.rtl .wlsm-smart-resource-head,body.rtl .wlsm-smart-resource-head,[dir="rtl"] .wlsm-smart-resource-head{text-align:right}@media (max-width:760px){.wlsm-lesson-library-header,.wlsm-smart-hero{flex-direction:column}.wlsm-lesson-library-stat{width:100%}.wlsm-lesson-library-grid,.wlsm-smart-resource-grid{grid-template-columns:1fr}.wlsm-smart-panel{padding:16px}.wlsm-smart-hero{padding:20px}.wlsm-smart-inline-preview iframe{min-height:420px}.wlsm-notebook-root.wpns-root{min-height:520px!important}}

/* Fix 12: larger smart viewers for Lessons, Homework and Study Materials */
.jconfirm.wlsm-learning-viewer-large .jconfirm-box,
.jconfirm .jconfirm-box{
  width:min(1720px,97vw)!important;
  max-width:97vw!important;
  border-radius:30px!important;
}
.jconfirm .jconfirm-box div.jconfirm-content-pane{
  max-height:90vh!important;
}
.jconfirm .jconfirm-box div.jconfirm-content{
  min-height:72vh!important;
  overflow:visible!important;
}
.wlsm-smart-viewer{
  min-height:72vh;
}
.wlsm-smart-notebook-preview{
  min-height:78vh;
}
.wlsm-smart-notebook-preview .wpns-root,
.wlsm-notebook-root.wpns-root{
  min-height:76vh!important;
  height:76vh!important;
  max-height:76vh!important;
}
.wlsm-smart-inline-preview iframe{
  min-height:78vh!important;
}
.wlsm-smart-inline-preview video{
  min-height:52vh;
  max-height:78vh;
}
@media (max-width: 900px){
  .jconfirm .jconfirm-box{width:98vw!important;max-width:98vw!important;border-radius:22px!important;}
  .jconfirm .jconfirm-box div.jconfirm-content{min-height:66vh!important;}
  .wlsm-smart-notebook-preview .wpns-root,.wlsm-notebook-root.wpns-root{height:68vh!important;min-height:68vh!important;max-height:68vh!important;}
}

.wlsm-lesson-results-host{width:100%}
.wlsm-lesson-results-host.wlsm-is-loading{position:relative}
.wlsm-lesson-viewer-shell{position:fixed;inset:0;z-index:99998;display:none}
.wlsm-lesson-viewer-shell.is-open{display:block}
.wlsm-lesson-viewer-shell::before{content:'';position:absolute;inset:0;background:rgba(15,23,42,.35);backdrop-filter:blur(1px)}
.wlsm-lesson-viewer-content{position:relative;z-index:100000}
.wlsm-lesson-viewer-close{position:fixed;top:18px;right:18px;z-index:100001;width:48px;height:48px;border:0;border-radius:999px;background:#fff;color:#0f172a;font-size:30px;line-height:1;cursor:pointer;box-shadow:0 12px 35px rgba(15,23,42,.22)}
body.wlsm-lesson-viewer-open{overflow:hidden}
.wlsm-lesson-viewer-open .wlsm-smart-viewer{overflow:auto}
.wlsm-lesson-viewer-open .wlsm-smart-viewer .dw-pdfva{max-height:none}
@media(max-width:768px){.wlsm-lesson-viewer-close{top:12px;right:12px;width:42px;height:42px;font-size:28px}}


/* DWorld v15: force learning viewers to use the full screen width even inside WordPress containers/shortcodes. */
:where(.dw-pdfva,
.wlsm-pptv,
.wlsm-ead-document-viewer,
.wlsm-universal-file-viewer,
.wlsm-notebook-root.wpns-root,
.wpns-root.wpns-viewer-root,
.wlsm-smart-notebook-preview .wpns-root) {
  width: 100vw !important;
  max-width: 100vw !important;
  min-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  box-sizing: border-box !important;
  clear: both;
}

@supports (width: 100dvw) {
  :where(.dw-pdfva,
  .wlsm-pptv,
  .wlsm-ead-document-viewer,
  .wlsm-universal-file-viewer,
  .wlsm-notebook-root.wpns-root,
  .wpns-root.wpns-viewer-root,
  .wlsm-smart-notebook-preview .wpns-root) {
    width: 100dvw !important;
    max-width: 100dvw !important;
    min-width: 100dvw !important;
    margin-left: calc(50% - 50dvw) !important;
    margin-right: calc(50% - 50dvw) !important;
  }
}

:where(.dw-pdfva:fullscreen,
.wlsm-pptv.wlsm-pptv-fullscreen,
.wpns-root.wpns-is-fullscreen,
.wlsm-viewer-fullscreen) {
  width: 100vw !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  left: 0 !important;
  right: 0 !important;
}

/* Keep plugin and theme wrappers from clipping the full-bleed viewers. */
:where(.wlsm-container.wlsm-container-student,
.wlsm-container.wlsm-container-parent,
.wlsm-container .wlsm-content-area,
.wlsm-smart-viewer,
.wlsm-smart-panel,
.wlsm-smart-resource-grid,
.wlsm-smart-resource-card,
.wlsm-smart-notebook-preview,
.wlsm-smart-inline-preview,
.wlsm-lesson-viewer-content,
.jconfirm .jconfirm-box,
.jconfirm .jconfirm-box div.jconfirm-content,
.jconfirm .jconfirm-box div.jconfirm-content-pane) {
  overflow: visible !important;
}

/* Elementor/Astra safe: keep viewer overflow changes inside School Management wrappers only. */
:where(.wlsm-container,
.wlsm-content-area,
.wlsm-smart-viewer,
.wlsm-smart-panel,
.wlsm-smart-resource-grid,
.wlsm-smart-resource-card,
.wlsm-smart-notebook-preview,
.wlsm-smart-inline-preview,
.wlsm-lesson-viewer-content):has(:where(.dw-pdfva,
.wlsm-pptv,
.wpns-root,
.wlsm-ead-document-viewer,
.wlsm-universal-file-viewer)) {
  overflow: visible !important;
}

/* =========================================================
   Student / Parent inner tabs premium refresh
   Scope: tab contents only. Navigation/dashboard shell unchanged.
   ========================================================= */
.wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons),
.wlsm-container-parent .wlsm-content-area,
.wlsm-container-parent .wlsm-parent-students{
	--wlsm-tab-primary:#2563eb;
	--wlsm-tab-accent:#06b6d4;
	--wlsm-tab-purple:#7c3aed;
	--wlsm-tab-ink:#0f172a;
	--wlsm-tab-muted:#64748b;
	--wlsm-tab-line:#e2e8f0;
	--wlsm-tab-soft:#eff6ff;
	--wlsm-tab-card:#ffffff;
	--wlsm-tab-radius:26px;
	--wlsm-tab-shadow:0 18px 45px rgba(15,23,42,.10);
	position:relative;
	padding:24px;
	border:1px solid rgba(191,219,254,.74);
	border-radius:32px;
	background:
		radial-gradient(circle at top right,rgba(37,99,235,.13),transparent 34%),
		radial-gradient(circle at bottom left,rgba(6,182,212,.12),transparent 30%),
		linear-gradient(135deg,#fbfdff,#f5f9ff 54%,#eef7ff);
	box-shadow:0 20px 55px rgba(15,23,42,.08);
	overflow:hidden;
}

.wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons)::before,
.wlsm-container-parent .wlsm-content-area::before,
.wlsm-container-parent .wlsm-parent-students::before{
	content:"";
	position:absolute;
	inset:0 0 auto 0;
	height:6px;
	background:linear-gradient(90deg,var(--wlsm-tab-primary),var(--wlsm-tab-accent),var(--wlsm-tab-purple));
	opacity:.92;
}

.wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons) *,
.wlsm-container-parent .wlsm-content-area *,
.wlsm-container-parent .wlsm-parent-students *{
	box-sizing:border-box;
}

.wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons) .wlsm-st-main-title,
.wlsm-container-parent .wlsm-content-area .wlsm-st-main-title,
.wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons) .wlsm-registration-header,
.wlsm-container-parent .wlsm-content-area .wlsm-registration-header{
	position:relative;
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:16px;
	margin:0 0 20px!important;
	padding:22px 24px!important;
	border:1px solid rgba(191,219,254,.90);
	border-radius:28px;
	background:
		radial-gradient(circle at top left,rgba(37,99,235,.18),transparent 36%),
		linear-gradient(135deg,#ffffff,#eef6ff);
	box-shadow:0 14px 36px rgba(37,99,235,.10);
}

.wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons) .wlsm-st-main-title > span:first-child,
.wlsm-container-parent .wlsm-content-area .wlsm-st-main-title > span:first-child,
.wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons) .wlsm-registration-title,
.wlsm-container-parent .wlsm-content-area .wlsm-registration-title{
	display:inline-flex!important;
	align-items:center;
	gap:11px;
	margin:0!important;
	color:var(--wlsm-tab-ink)!important;
	font-size:clamp(1.25rem,2vw,1.75rem)!important;
	font-weight:950!important;
	line-height:1.25!important;
	letter-spacing:-.035em;
}

.wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons) .wlsm-st-main-title > span:first-child::before,
.wlsm-container-parent .wlsm-content-area .wlsm-st-main-title > span:first-child::before,
.wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons) .wlsm-registration-title::before,
.wlsm-container-parent .wlsm-content-area .wlsm-registration-title::before{
	content:"\f5da";
	font-family:"Font Awesome 5 Free";
	font-weight:900;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width:46px;
	height:46px;
	border-radius:16px;
	background:linear-gradient(135deg,var(--wlsm-tab-primary),var(--wlsm-tab-accent));
	color:#fff;
	font-size:1.08rem;
	box-shadow:0 12px 26px rgba(37,99,235,.23);
}

.wlsm-section-study-materials .wlsm-st-main-title > span:first-child::before{content:"\f5da"!important;}
.wlsm-section-homeworks .wlsm-registration-title::before{content:"\f0ae"!important;}
.wlsm-section-events .wlsm-st-main-title > span:first-child::before{content:"\f073"!important;}
.wlsm-section-noticeboard .wlsm-st-main-title > span:first-child::before{content:"\f0a1"!important;}
.wlsm-section-attendance .wlsm-st-main-title > span:first-child::before{content:"\f133"!important;}
.wlsm-section-class-time-table .wlsm-st-main-title > span:first-child::before{content:"\f017"!important;}
.wlsm-section-exams-time-table .wlsm-st-main-title > span:first-child::before{content:"\f5c0"!important;}
.wlsm-section-meetings .wlsm-registration-title::before{content:"\f03d"!important;}
.wlsm-section-books-issued .wlsm-st-main-title > span:first-child::before{content:"\f02d"!important;}
.wlsm-section-leave-request .wlsm-registration-title::before{content:"\f0e0"!important;}
.wlsm-section-fee-invoices .wlsm-st-main-title > span:first-child::before{content:"\f571"!important;}
.wlsm-section-payment-history .wlsm-st-main-title > span:first-child::before{content:"\f1da"!important;}

.wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons) .wlsm-registration-content,
.wlsm-container-parent .wlsm-content-area .wlsm-registration-content,
.wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons) [class*="wlsm-st-"][class$="-section"],
.wlsm-container-parent .wlsm-content-area [class*="wlsm-st-"][class$="-section"]{
	position:relative;
	margin-bottom:20px;
	padding:20px!important;
	border:1px solid rgba(226,232,240,.96);
	border-radius:var(--wlsm-tab-radius);
	background:rgba(255,255,255,.92);
	box-shadow:0 14px 34px rgba(15,23,42,.07);
	backdrop-filter:blur(8px);
}

.wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons) .wlst-st-list,
.wlsm-container-parent .wlsm-content-area .wlst-st-list,
.wlsm-section-homeworks .wlsm-homework-list{
	list-style:none!important;
	padding:0!important;
	margin:0!important;
	display:grid;
	gap:14px;
}

.wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons) .wlst-st-list > li,
.wlsm-container-parent .wlsm-content-area .wlst-st-list > li,
.wlsm-section-homeworks .wlsm-homework-item{
	position:relative;
	padding:18px 20px!important;
	margin:0!important;
	border:1px solid rgba(226,232,240,.94)!important;
	border-radius:22px!important;
	background:linear-gradient(180deg,#ffffff,#f8fbff)!important;
	box-shadow:0 12px 28px rgba(15,23,42,.06)!important;
	overflow:hidden;
	transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}

.wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons) .wlst-st-list > li::before,
.wlsm-container-parent .wlsm-content-area .wlst-st-list > li::before,
.wlsm-section-homeworks .wlsm-homework-item::before{
	content:"";
	position:absolute;
	inset:0 auto 0 0;
	width:5px;
	background:linear-gradient(180deg,var(--wlsm-tab-primary),var(--wlsm-tab-accent));
	border-radius:999px;
}

.rtl .wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons) .wlst-st-list > li::before,
body.rtl .wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons) .wlst-st-list > li::before,
[dir="rtl"] .wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons) .wlst-st-list > li::before,
.rtl .wlsm-container-parent .wlsm-content-area .wlst-st-list > li::before,
body.rtl .wlsm-container-parent .wlsm-content-area .wlst-st-list > li::before,
[dir="rtl"] .wlsm-container-parent .wlsm-content-area .wlst-st-list > li::before,
.rtl .wlsm-section-homeworks .wlsm-homework-item::before,
body.rtl .wlsm-section-homeworks .wlsm-homework-item::before,
[dir="rtl"] .wlsm-section-homeworks .wlsm-homework-item::before{
	inset:0 0 0 auto;
}

.wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons) .wlst-st-list > li:hover,
.wlsm-container-parent .wlsm-content-area .wlst-st-list > li:hover,
.wlsm-section-homeworks .wlsm-homework-item:hover{
	transform:translateY(-3px);
	box-shadow:0 20px 44px rgba(37,99,235,.13)!important;
	border-color:rgba(37,99,235,.26)!important;
}

.wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons) .wlst-st-list > li > span,
.wlsm-container-parent .wlsm-content-area .wlst-st-list > li > span{
	display:flex;
	align-items:center;
	gap:10px 12px;
	justify-content:space-between;
	flex-wrap:wrap;
	width:100%;
	color:var(--wlsm-tab-muted);
	font-weight:750;
}

.wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons) .wlsm-font-bold,
.wlsm-container-parent .wlsm-content-area .wlsm-font-bold,
.wlsm-section-homeworks .wlsm-homework-title{
	color:var(--wlsm-tab-ink)!important;
	font-weight:950!important;
}

.wlsm-section-homeworks .wlsm-homework-title{
	font-size:1.05rem!important;
	line-height:1.35!important;
	margin:0 0 12px!important;
}

.wlsm-homework-subject,
.wlsm-st-study-material-subject,
.wlsm-st-study-material-date,
.wlsm-st-study-material-author,
.wlsm-st-event-date,
.wlsm-st-event-author,
.wlsm-st-notice-date,
.wlsm-st-exam-date,
.wlsm-homework-date,
.wlsm-homework-due,
.wlsm-homework-teacher,
.wlsm-homework-attachment,
.wlsm-meeting-type{
	display:inline-flex!important;
	align-items:center;
	gap:6px;
	padding:7px 10px!important;
	border-radius:999px!important;
	border:1px solid rgba(226,232,240,.92);
	background:#f1f5f9!important;
	color:#334155!important;
	font-size:.78rem!important;
	font-weight:850!important;
	line-height:1.1;
}

.wlsm-homework-subject,
.wlsm-st-study-material-subject{
	background:#ecfeff!important;
	border-color:#bae6fd!important;
	color:#0369a1!important;
}

.wlsm-homework-due,
.wlsm-st-exam-date{
	background:#fff1f2!important;
	border-color:#fecdd3!important;
	color:#e11d48!important;
}

.wlsm-st-event-date,
.wlsm-st-study-material-date,
.wlsm-homework-date,
.wlsm-st-notice-date{
	background:#eff6ff!important;
	border-color:#bfdbfe!important;
	color:#1d4ed8!important;
}

.wlsm-homework-attachment{
	background:#f0fdf4!important;
	border-color:#bbf7d0!important;
	color:#15803d!important;
}

.wlsm-section-homeworks .wlsm-homework-meta{
	display:flex!important;
	flex-wrap:wrap!important;
	align-items:center!important;
	gap:9px!important;
	margin:0!important;
}

.wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons) a:not(.page-numbers),
.wlsm-container-parent .wlsm-content-area a:not(.page-numbers),
.wlsm-section-homeworks .wlsm-submit-homework-btn,
.wlsm-section-homeworks .wlsm-view-homework-btn,
.wlsm-section-homeworks .wlsm-edit-homework-btn{
	text-decoration:none!important;
	transition:transform .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease;
}

.wlsm-section-study-materials .wlsm-st-view-study-material,
.wlsm-section-events .wlsm-st-events .wlsm-st-track-asset,
.wlsm-section-homeworks .wlsm-submit-homework-btn,
.wlsm-section-homeworks .wlsm-view-homework-btn,
.wlsm-section-homeworks .wlsm-edit-homework-btn,
.wlsm-section-meetings .wlsm-join-btn,
.wlsm-section-exams-time-table a[class*="-print-exam-results"],
.wlsm-section-exams-time-table a[class*="-view-academic-report"],
.wlsm-section-class-time-table a[class*="print-class-time-table"],
.wlsm-section-payment-history a[class*="print-invoice-payment"],
.wlsm-section-leave-request .wlsm-st-submit-btn,
.wlsm-section-attendance #wlsm-view-attendance-btn{
	display:inline-flex!important;
	align-items:center!important;
	justify-content:center!important;
	gap:8px!important;
	min-height:40px!important;
	padding:10px 15px!important;
	border:0!important;
	border-radius:14px!important;
	background:linear-gradient(135deg,var(--wlsm-tab-primary),var(--wlsm-tab-accent))!important;
	color:#fff!important;
	font-size:.86rem!important;
	font-weight:950!important;
	box-shadow:0 12px 26px rgba(37,99,235,.22)!important;
}

.wlsm-section-study-materials .wlsm-st-view-study-material::before,
.wlsm-section-events .wlsm-st-events .wlsm-st-track-asset::before,
.wlsm-section-homeworks .wlsm-view-homework-btn::before{
	content:"\f06e";
	font-family:"Font Awesome 5 Free";
	font-weight:900;
}

.wlsm-section-homeworks .wlsm-submit-homework-btn::before,
.wlsm-section-homeworks .wlsm-edit-homework-btn::before{
	content:"\f574";
	font-family:"Font Awesome 5 Free";
	font-weight:900;
}

.wlsm-section-study-materials .wlsm-st-view-study-material:hover,
.wlsm-section-events .wlsm-st-events .wlsm-st-track-asset:hover,
.wlsm-section-homeworks .wlsm-submit-homework-btn:hover,
.wlsm-section-homeworks .wlsm-view-homework-btn:hover,
.wlsm-section-homeworks .wlsm-edit-homework-btn:hover,
.wlsm-section-meetings .wlsm-join-btn:hover{
	transform:translateY(-2px);
	box-shadow:0 18px 34px rgba(37,99,235,.30)!important;
	color:#fff!important;
}

.wlsm-section-noticeboard .wlsm-st-notices a.wlsm-st-track-asset{
	display:inline-flex!important;
	align-items:center;
	gap:10px;
	color:var(--wlsm-tab-ink)!important;
	font-weight:950!important;
	font-size:1.02rem!important;
}

.wlsm-section-noticeboard .wlsm-st-notices p{
	width:100%;
	margin:8px 0 0!important;
	padding:12px 14px;
	border-radius:16px;
	background:#f8fafc;
	color:var(--wlsm-tab-muted)!important;
	font-weight:700;
	line-height:1.75;
}

.wlsm-section-noticeboard .wlsm-st-notice-new{
	max-height:28px;
	filter:drop-shadow(0 7px 12px rgba(239,68,68,.25));
}

.wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons) .wlsm-table-section,
.wlsm-container-parent .wlsm-content-area .wlsm-table-section,
.wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons) .table-responsive,
.wlsm-container-parent .wlsm-content-area .table-responsive{
	border-radius:22px;
	overflow:auto;
	background:#fff;
}

.wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons) table,
.wlsm-container-parent .wlsm-content-area table{
	width:100%!important;
	border-collapse:separate!important;
	border-spacing:0!important;
	border:1px solid rgba(226,232,240,.95)!important;
	border-radius:22px!important;
	overflow:hidden!important;
	box-shadow:0 12px 28px rgba(15,23,42,.06)!important;
	background:#fff!important;
}

.wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons) table thead th,
.wlsm-container-parent .wlsm-content-area table thead th,
.wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons) table tfoot th,
.wlsm-container-parent .wlsm-content-area table tfoot th{
	padding:14px 16px!important;
	border:0!important;
	background:linear-gradient(135deg,#eff6ff,#ecfeff)!important;
	color:#1d4ed8!important;
	font-weight:950!important;
	font-size:.86rem!important;
	text-align:inherit!important;
}

.wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons) table td,
.wlsm-container-parent .wlsm-content-area table td{
	padding:14px 16px!important;
	border-color:rgba(226,232,240,.88)!important;
	color:#334155!important;
	font-weight:650;
	vertical-align:middle!important;
}

.wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons) table tbody tr:hover td,
.wlsm-container-parent .wlsm-content-area table tbody tr:hover td{
	background:#f8fbff!important;
}

.wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons) input[type="text"],
.wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons) input[type="email"],
.wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons) input[type="number"],
.wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons) select,
.wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons) textarea,
.wlsm-container-parent .wlsm-content-area input[type="text"],
.wlsm-container-parent .wlsm-content-area input[type="email"],
.wlsm-container-parent .wlsm-content-area input[type="number"],
.wlsm-container-parent .wlsm-content-area select,
.wlsm-container-parent .wlsm-content-area textarea{
	border:1px solid rgba(203,213,225,.95)!important;
	border-radius:16px!important;
	background:#fff!important;
	box-shadow:0 8px 20px rgba(15,23,42,.04)!important;
	padding:11px 13px!important;
	color:#0f172a!important;
}

.wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons) input:focus,
.wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons) select:focus,
.wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons) textarea:focus,
.wlsm-container-parent .wlsm-content-area input:focus,
.wlsm-container-parent .wlsm-content-area select:focus,
.wlsm-container-parent .wlsm-content-area textarea:focus{
	outline:none!important;
	border-color:rgba(37,99,235,.55)!important;
	box-shadow:0 0 0 4px rgba(37,99,235,.12),0 10px 24px rgba(15,23,42,.06)!important;
}

.wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons) .wlsm-text-center,
.wlsm-container-parent .wlsm-content-area .wlsm-text-center,
.wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons) .wlsm-no-notices,
.wlsm-container-parent .wlsm-content-area .wlsm-no-notices,
.wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons) .wlsm-alert,
.wlsm-container-parent .wlsm-content-area .wlsm-alert{
	border:1px dashed rgba(148,163,184,.55)!important;
	border-radius:24px!important;
	background:linear-gradient(180deg,#fff,#f8fafc)!important;
	color:var(--wlsm-tab-muted)!important;
	padding:28px!important;
	box-shadow:0 12px 28px rgba(15,23,42,.05)!important;
}

.wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons) .page-numbers,
.wlsm-container-parent .wlsm-content-area .page-numbers{
	display:inline-flex!important;
	align-items:center;
	justify-content:center;
	min-width:38px;
	height:38px;
	padding:0 12px!important;
	margin:2px;
	border-radius:13px!important;
	border:1px solid rgba(226,232,240,.95)!important;
	background:#fff!important;
	color:#0f172a!important;
	font-weight:900!important;
	text-decoration:none!important;
}

.wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons) .page-numbers.current,
.wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons) .page-numbers:hover,
.wlsm-container-parent .wlsm-content-area .page-numbers.current,
.wlsm-container-parent .wlsm-content-area .page-numbers:hover{
	background:linear-gradient(135deg,var(--wlsm-tab-primary),var(--wlsm-tab-accent))!important;
	color:#fff!important;
	border-color:transparent!important;
}

.wlsm-container-parent .wlsm-parent-students{
	display:grid;
	gap:20px;
}

.wlsm-container-parent .wlsm-parent-student-section,
.wlsm-container-parent .wlsm-parent-student-entity{
	position:relative;
	padding:20px!important;
	border:1px solid rgba(226,232,240,.95);
	border-radius:28px;
	background:rgba(255,255,255,.94);
	box-shadow:0 14px 34px rgba(15,23,42,.07);
	overflow:hidden;
}

.wlsm-container-parent .wlsm-parent-student-links{
	list-style:none!important;
	padding:0!important;
	margin:18px 0 0!important;
	display:grid;
	grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
	gap:12px;
}

.wlsm-container-parent .wlsm-parent-student-links li{margin:0!important;padding:0!important;}
.wlsm-container-parent .wlsm-parent-student-links li a{
	display:flex!important;
	align-items:center;
	justify-content:center;
	min-height:48px;
	padding:12px 14px!important;
	border:1px solid rgba(191,219,254,.88);
	border-radius:18px;
	background:linear-gradient(180deg,#fff,#eff6ff);
	color:#1d4ed8!important;
	font-weight:950!important;
	text-align:center;
	box-shadow:0 10px 22px rgba(37,99,235,.08);
}

.wlsm-container-parent .wlsm-parent-student-links li a:hover{
	transform:translateY(-2px);
	background:linear-gradient(135deg,var(--wlsm-tab-primary),var(--wlsm-tab-accent));
	color:#fff!important;
}

.rtl .wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons),
body.rtl .wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons),
[dir="rtl"] .wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons),
.rtl .wlsm-container-parent .wlsm-content-area,
body.rtl .wlsm-container-parent .wlsm-content-area,
[dir="rtl"] .wlsm-container-parent .wlsm-content-area,
.rtl .wlsm-container-parent .wlsm-parent-students,
body.rtl .wlsm-container-parent .wlsm-parent-students,
[dir="rtl"] .wlsm-container-parent .wlsm-parent-students{
	direction:rtl;
	text-align:right;
}

@media (max-width:760px){
	.wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons),
	.wlsm-container-parent .wlsm-content-area,
	.wlsm-container-parent .wlsm-parent-students{
		padding:16px;
		border-radius:24px;
	}
	.wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons) .wlsm-st-main-title,
	.wlsm-container-parent .wlsm-content-area .wlsm-st-main-title,
	.wlsm-container-student .wlsm-content-area:not(.wlsm-section-dashboard):not(.wlsm-section-lessons) .wlsm-registration-header,
	.wlsm-container-parent .wlsm-content-area .wlsm-registration-header,
	.wlsm-section-homeworks .wlsm-homework-header{
		flex-direction:column;
		align-items:flex-start;
	}
	.wlsm-container-parent .wlsm-parent-student-links{
		grid-template-columns:1fr;
	}
}

/* Explicit wrappers that carry extra utility classes after the -section name. */
.wlsm-st-attendance-section,
.wlsm-st-class-time-table-section,
.wlsm-st-exams-time-table-section,
.wlsm-st-exams-results-section,
.wlsm-st-pending-fee-invoices-section,
.wlsm-st-payment-history-section,
.wlsm-st-tickets-section,
.wlsm-st-books-issued-section,
.wlsm-st-meetings-section,
.wlsm-st-leave-request-section{
	position:relative;
	margin-bottom:20px;
	padding:20px!important;
	border:1px solid rgba(226,232,240,.96);
	border-radius:26px;
	background:rgba(255,255,255,.92);
	box-shadow:0 14px 34px rgba(15,23,42,.07);
	backdrop-filter:blur(8px);
}

/* Desktop full-width dashboard override: applies only on computer screens. */
@media (min-width: 1024px) {
	body .wlsm-logged-in-info,
	body .wlsm-container.wlsm-container-student,
	body .wlsm-container.wlsm-container-parent {
		width: calc(100vw - 40px) !important;
		max-width: none !important;
		margin-left: calc(50% - 50vw + 20px) !important;
		margin-right: calc(50% - 50vw + 20px) !important;
		box-sizing: border-box !important;
	}
}


/* Integrated dashboard header user/profile controls - Fix 9 */
.wlsm-account-topbar{
	min-height:88px;
	align-items:center!important;
	gap:18px!important;
}
.wlsm-account-topbar .wlsm-header-left,
.wlsm-account-topbar .wlsm-header-actions,
.wlsm-account-topbar .wlsm-header-user-card,
.wlsm-account-topbar .wlsm-header-logout{
	position:relative;
	z-index:2;
}
.wlsm-account-topbar .wlsm-header-left{
	min-width:0;
	flex:1 1 auto;
}
.wlsm-account-topbar .wlsm-header-actions{
	display:flex;
	align-items:center;
	justify-content:flex-end;
	gap:12px;
	flex:0 0 auto;
	max-width:68%;
}
.wlsm-account-topbar .wlsm-student-selector{
	min-width:230px;
	max-width:310px;
}
.wlsm-account-topbar .wlsm-select-student{
	width:100%;
	min-height:46px!important;
	border-radius:16px!important;
	border-color:rgba(255,255,255,.32)!important;
	background:rgba(255,255,255,.95)!important;
	box-shadow:0 16px 34px rgba(15,23,42,.14)!important;
	font-weight:850!important;
}
.wlsm-header-user-card{
	display:flex;
	align-items:center;
	gap:10px;
	min-width:0;
	max-width:260px;
	padding:8px 12px 8px 8px;
	border:1px solid rgba(255,255,255,.22);
	border-radius:18px;
	background:rgba(255,255,255,.13);
	box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 16px 34px rgba(15,23,42,.16);
	backdrop-filter:blur(14px);
}
.wlsm-user-avatar{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width:42px;
	height:42px;
	flex:0 0 42px;
	border-radius:15px;
	color:#1e3a8a;
	background:linear-gradient(135deg,#ffffff,#dbeafe);
	font-weight:950;
	font-size:1.02rem;
	box-shadow:0 12px 24px rgba(15,23,42,.16);
}
.wlsm-user-meta{
	display:flex;
	flex-direction:column;
	min-width:0;
	line-height:1.1;
}
.wlsm-user-label{
	font-size:.68rem;
	font-weight:900;
	letter-spacing:.06em;
	text-transform:uppercase;
	color:rgba(255,255,255,.70);
}
.wlsm-user-name{
	max-width:170px;
	overflow:hidden;
	text-overflow:ellipsis;
	white-space:nowrap;
	font-size:.96rem;
	font-weight:950;
	color:#fff;
}
.wlsm-header-logout{
	display:inline-flex!important;
	align-items:center!important;
	justify-content:center!important;
	gap:8px!important;
	min-height:46px!important;
	padding:0 16px!important;
	border:1px solid rgba(255,255,255,.28)!important;
	border-radius:16px!important;
	color:#fff!important;
	background:linear-gradient(135deg,rgba(239,68,68,.96),rgba(244,63,94,.92))!important;
	box-shadow:0 16px 34px rgba(225,29,72,.26)!important;
	font-size:.92rem!important;
	font-weight:950!important;
	text-decoration:none!important;
	white-space:nowrap;
	transition:transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.wlsm-header-logout:hover,
.wlsm-header-logout:focus{
	transform:translateY(-2px);
	filter:saturate(1.05);
	box-shadow:0 20px 40px rgba(225,29,72,.34)!important;
	color:#fff!important;
}
.wlsm-header-logout i{
	font-size:.95rem;
}
.rtl .wlsm-account-topbar .wlsm-header-actions,
body.rtl .wlsm-account-topbar .wlsm-header-actions,
[dir="rtl"] .wlsm-account-topbar .wlsm-header-actions{
	justify-content:flex-start;
}
.rtl .wlsm-header-user-card,
body.rtl .wlsm-header-user-card,
[dir="rtl"] .wlsm-header-user-card{
	padding:8px 8px 8px 12px;
}
@media (max-width:900px){
	.wlsm-account-topbar .wlsm-header-actions{
		max-width:none;
		width:100%;
		flex-wrap:wrap;
		justify-content:flex-start;
	}
	.wlsm-account-topbar .wlsm-student-selector{
		flex:1 1 100%;
		max-width:none;
	}
	.wlsm-header-user-card{
		flex:1 1 auto;
		max-width:none;
	}
}
@media (max-width:520px){
	.wlsm-account-topbar{
		min-height:0;
	}
	.wlsm-account-topbar .wlsm-header-actions{
		gap:10px;
	}
	.wlsm-user-name{
		max-width:125px;
	}
	.wlsm-header-logout{
		width:100%;
	}
}

/* Custom: colourful student/parent dashboard icons and sharper NEW notice badge. */
.wlsm-container .wlsm-navigation-links li a i{
  width:36px!important;
  height:36px!important;
  flex:0 0 36px!important;
  border-radius:12px!important;
  color:#fff!important;
  background:linear-gradient(135deg,#2563eb,#06b6d4)!important;
  box-shadow:0 12px 24px rgba(37,99,235,.22)!important;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease!important;
}
.wlsm-container .wlsm-navigation-links li a:hover i,
.wlsm-container .wlsm-navigation-links li a:focus i{
  transform:translateY(-1px);
}
.wlsm-container .wlsm-navigation-links .wlsm-nav-item-dashboard a i{background:linear-gradient(135deg,#2563eb,#06b6d4)!important;box-shadow:0 12px 24px rgba(37,99,235,.24)!important;}
.wlsm-container .wlsm-navigation-links .wlsm-nav-item-fee-invoices a i{background:linear-gradient(135deg,#10b981,#14b8a6)!important;box-shadow:0 12px 24px rgba(16,185,129,.24)!important;}
.wlsm-container .wlsm-navigation-links .wlsm-nav-item-fee-structure a i{background:linear-gradient(135deg,#0ea5e9,#2563eb)!important;box-shadow:0 12px 24px rgba(14,165,233,.24)!important;}
.wlsm-container .wlsm-navigation-links .wlsm-nav-item-payment-history a i{background:linear-gradient(135deg,#8b5cf6,#6366f1)!important;box-shadow:0 12px 24px rgba(139,92,246,.24)!important;}
.wlsm-container .wlsm-navigation-links .wlsm-nav-item-study-materials a i{background:linear-gradient(135deg,#2563eb,#3b82f6)!important;box-shadow:0 12px 24px rgba(37,99,235,.24)!important;}
.wlsm-container .wlsm-navigation-links .wlsm-nav-item-lessons a i{background:linear-gradient(135deg,#7c3aed,#a855f7)!important;box-shadow:0 12px 24px rgba(124,58,237,.24)!important;}
.wlsm-container .wlsm-navigation-links .wlsm-nav-item-homework a i{background:linear-gradient(135deg,#f97316,#ea580c)!important;box-shadow:0 12px 24px rgba(249,115,22,.24)!important;}
.wlsm-container .wlsm-navigation-links .wlsm-nav-item-school-calendar a i{background:linear-gradient(135deg,#8b5cf6,#7c3aed)!important;box-shadow:0 12px 24px rgba(139,92,246,.24)!important;}
.wlsm-container .wlsm-navigation-links .wlsm-nav-item-noticeboard a i{background:linear-gradient(135deg,#ef4444,#dc2626)!important;box-shadow:0 12px 24px rgba(239,68,68,.24)!important;}
.wlsm-container .wlsm-navigation-links .wlsm-nav-item-events a i{background:linear-gradient(135deg,#8b5cf6,#a855f7)!important;box-shadow:0 12px 24px rgba(139,92,246,.24)!important;}
.wlsm-container .wlsm-navigation-links .wlsm-nav-item-class-time-table a i{background:linear-gradient(135deg,#7c3aed,#8b5cf6)!important;box-shadow:0 12px 24px rgba(124,58,237,.24)!important;}
.wlsm-container .wlsm-navigation-links .wlsm-nav-item-live-classes a i{background:linear-gradient(135deg,#ef4444,#f43f5e)!important;box-shadow:0 12px 24px rgba(239,68,68,.24)!important;}
.wlsm-container .wlsm-navigation-links .wlsm-nav-item-books-issued a i{background:linear-gradient(135deg,#06b6d4,#2563eb)!important;box-shadow:0 12px 24px rgba(6,182,212,.24)!important;}
.wlsm-container .wlsm-navigation-links .wlsm-nav-item-exams-time-table a i{background:linear-gradient(135deg,#f59e0b,#f97316)!important;box-shadow:0 12px 24px rgba(245,158,11,.24)!important;}
.wlsm-container .wlsm-navigation-links .wlsm-nav-item-exam-admit-card a i{background:linear-gradient(135deg,#06b6d4,#0891b2)!important;box-shadow:0 12px 24px rgba(6,182,212,.24)!important;}
.wlsm-container .wlsm-navigation-links .wlsm-nav-item-exam-results a i{background:linear-gradient(135deg,#f97316,#ea580c)!important;box-shadow:0 12px 24px rgba(249,115,22,.24)!important;}
.wlsm-container .wlsm-navigation-links .wlsm-nav-item-certificates a i{background:linear-gradient(135deg,#eab308,#f59e0b)!important;box-shadow:0 12px 24px rgba(234,179,8,.24)!important;}
.wlsm-container .wlsm-navigation-links .wlsm-nav-item-attendance a i{background:linear-gradient(135deg,#10b981,#059669)!important;box-shadow:0 12px 24px rgba(16,185,129,.24)!important;}
.wlsm-container .wlsm-navigation-links .wlsm-nav-item-leave-request a i{background:linear-gradient(135deg,#10b981,#14b8a6)!important;box-shadow:0 12px 24px rgba(16,185,129,.24)!important;}
.wlsm-container .wlsm-navigation-links .wlsm-nav-item-tickets a i{background:linear-gradient(135deg,#f97316,#f43f5e)!important;box-shadow:0 12px 24px rgba(249,115,22,.24)!important;}
.wlsm-container .wlsm-navigation-links .wlsm-nav-item-settings a i{background:linear-gradient(135deg,#64748b,#475569)!important;box-shadow:0 12px 24px rgba(100,116,139,.24)!important;}
.wlsm-container .wlsm-navigation-links li a.active i{
  background:rgba(255,255,255,.20)!important;
  color:#fff!important;
  box-shadow:none!important;
}

.wlsm-container-parent .wlsm-parent-student-links li a{
  justify-content:flex-start!important;
  gap:11px!important;
  min-height:58px!important;
  padding:11px 13px!important;
  border-color:rgba(226,232,240,.96)!important;
  background:linear-gradient(180deg,#fff,#f8fafc)!important;
  color:#0f172a!important;
  text-align:start!important;
  box-shadow:0 12px 26px rgba(15,23,42,.07)!important;
}
.wlsm-container-parent .wlsm-parent-student-links li a:hover,
.wlsm-container-parent .wlsm-parent-student-links li a:focus{
  transform:translateY(-2px);
  background:#fff!important;
  color:#0f172a!important;
  border-color:rgba(37,99,235,.22)!important;
  box-shadow:0 16px 34px rgba(15,23,42,.11)!important;
}
.wlsm-container-parent .wlsm-parent-link-icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:36px!important;
  height:36px!important;
  flex:0 0 36px!important;
  border-radius:12px!important;
  color:#fff!important;
  background:linear-gradient(135deg,#2563eb,#06b6d4)!important;
  box-shadow:0 12px 24px rgba(37,99,235,.22)!important;
}
.wlsm-container-parent .wlsm-parent-link-icon i{
  color:#fff!important;
  line-height:1!important;
  margin:0!important;
}
.wlsm-container-parent .wlsm-parent-link-id-card .wlsm-parent-link-icon{background:linear-gradient(135deg,#2563eb,#06b6d4)!important;box-shadow:0 12px 24px rgba(37,99,235,.24)!important;}
.wlsm-container-parent .wlsm-parent-link-fee-invoices .wlsm-parent-link-icon{background:linear-gradient(135deg,#10b981,#14b8a6)!important;box-shadow:0 12px 24px rgba(16,185,129,.24)!important;}
.wlsm-container-parent .wlsm-parent-link-fee-structure .wlsm-parent-link-icon{background:linear-gradient(135deg,#0ea5e9,#2563eb)!important;box-shadow:0 12px 24px rgba(14,165,233,.24)!important;}
.wlsm-container-parent .wlsm-parent-link-payment-history .wlsm-parent-link-icon{background:linear-gradient(135deg,#8b5cf6,#6366f1)!important;box-shadow:0 12px 24px rgba(139,92,246,.24)!important;}
.wlsm-container-parent .wlsm-parent-link-noticeboard .wlsm-parent-link-icon{background:linear-gradient(135deg,#ef4444,#dc2626)!important;box-shadow:0 12px 24px rgba(239,68,68,.24)!important;}
.wlsm-container-parent .wlsm-parent-link-class-time-table .wlsm-parent-link-icon{background:linear-gradient(135deg,#8b5cf6,#7c3aed)!important;box-shadow:0 12px 24px rgba(139,92,246,.24)!important;}
.wlsm-container-parent .wlsm-parent-link-exam-results .wlsm-parent-link-icon{background:linear-gradient(135deg,#f97316,#ea580c)!important;box-shadow:0 12px 24px rgba(249,115,22,.24)!important;}
.wlsm-container-parent .wlsm-parent-link-attendance .wlsm-parent-link-icon{background:linear-gradient(135deg,#10b981,#059669)!important;box-shadow:0 12px 24px rgba(16,185,129,.24)!important;}
.wlsm-container-parent .wlsm-parent-link-tickets .wlsm-parent-link-icon{background:linear-gradient(135deg,#2563eb,#3b82f6)!important;box-shadow:0 12px 24px rgba(37,99,235,.24)!important;}

.wlsm-st-notice-new{
  height:16px!important;
  width:auto!important;
  max-height:none!important;
  vertical-align:middle!important;
  image-rendering:auto!important;
  filter:drop-shadow(0 6px 10px rgba(139,92,246,.18))!important;
}
.wlsm-section-noticeboard .wlsm-st-notice-new,
.wlsm-student-notices-card .wlsm-st-notice-new{
  height:18px!important;
}

/* DWorld fix: lessons shortcode full-width page + readable filters + text NEW notice badge. */
.wlsm-grid.wlsm-lesson-shortcode-wrap,
.wlsm-lesson-shortcode-wrap.wlsm-modern-lesson-library{
  display:block!important;
  grid-template-columns:none!important;
  width:100vw!important;
  max-width:100vw!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  padding:clamp(18px,3vw,54px)!important;
  box-sizing:border-box!important;
  overflow:visible!important;
  clear:both!important;
}
@supports (width:100dvw){
  .wlsm-grid.wlsm-lesson-shortcode-wrap,
  .wlsm-lesson-shortcode-wrap.wlsm-modern-lesson-library{
    width:100dvw!important;
    max-width:100dvw!important;
    margin-left:calc(50% - 50dvw)!important;
    margin-right:calc(50% - 50dvw)!important;
  }
}
.entry-content:has(.wlsm-lesson-shortcode-wrap),
.site-content:has(.wlsm-lesson-shortcode-wrap),
.content-area:has(.wlsm-lesson-shortcode-wrap),
.elementor-widget-container:has(.wlsm-lesson-shortcode-wrap){
  overflow:visible!important;
  max-width:none!important;
}
.wlsm-lesson-shortcode-wrap .wlsm-lesson-library-header,
.wlsm-lesson-shortcode-wrap .wlsm-lesson-filter-card,
.wlsm-lesson-shortcode-wrap .wlsm-lesson-results-host{
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
}
.wlsm-lesson-shortcode-wrap .wlsm-lesson-filter-card{
  padding:clamp(18px,2vw,30px)!important;
  margin:0 0 26px!important;
}
.wlsm-lesson-shortcode-wrap .wlsm-lesson-filter-card .wlsm-row{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr))!important;
  gap:16px!important;
  margin:0!important;
  align-items:end!important;
}
.wlsm-lesson-shortcode-wrap .wlsm-lesson-filter-card .wlsm-form-group,
.wlsm-lesson-shortcode-wrap .wlsm-lesson-filter-card .wlsm-col-2,
.wlsm-lesson-shortcode-wrap .wlsm-lesson-filter-card .wlsm-col-4,
.wlsm-lesson-shortcode-wrap .wlsm-lesson-filter-card .wlsm-col-6,
.wlsm-lesson-shortcode-wrap .wlsm-lesson-filter-card .wlsm-col-12{
  width:100%!important;
  max-width:none!important;
  flex:none!important;
  padding:0!important;
  margin:0!important;
  box-sizing:border-box!important;
}
.wlsm-lesson-shortcode-wrap .wlsm-lesson-filter-card label{
  display:block!important;
  margin:0 0 8px!important;
  color:#334155!important;
  font-size:.9rem!important;
  font-weight:900!important;
  line-height:1.35!important;
  text-align:start!important;
}
.wlsm-lesson-shortcode-wrap .wlsm-lesson-filter-card select,
.wlsm-lesson-shortcode-wrap .wlsm-lesson-filter-card .wlsm-form-control{
  width:100%!important;
  min-width:0!important;
  min-height:52px!important;
  padding:0 42px 0 14px!important;
  border-radius:16px!important;
  font-size:.96rem!important;
  font-weight:800!important;
  line-height:1.35!important;
  white-space:normal!important;
  text-overflow:clip!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}
[dir="rtl"] .wlsm-lesson-shortcode-wrap .wlsm-lesson-filter-card select,
body.rtl .wlsm-lesson-shortcode-wrap .wlsm-lesson-filter-card select,
.rtl .wlsm-lesson-shortcode-wrap .wlsm-lesson-filter-card select,
[dir="rtl"] .wlsm-lesson-shortcode-wrap .wlsm-lesson-filter-card .wlsm-form-control,
body.rtl .wlsm-lesson-shortcode-wrap .wlsm-lesson-filter-card .wlsm-form-control,
.rtl .wlsm-lesson-shortcode-wrap .wlsm-lesson-filter-card .wlsm-form-control{
  padding-left:42px!important;
  padding-right:14px!important;
  text-align:right!important;
}
.wlsm-lesson-shortcode-wrap .wlsm-lesson-filter-card .SumoSelect{
  display:block!important;
  width:100%!important;
  min-width:0!important;
}
.wlsm-lesson-shortcode-wrap .wlsm-lesson-filter-card .SumoSelect>.CaptionCont{
  min-height:52px!important;
  border:1px solid var(--lesson-line,#e2e8f0)!important;
  border-radius:16px!important;
  background:#fff!important;
  box-sizing:border-box!important;
}
.wlsm-lesson-shortcode-wrap .wlsm-lesson-filter-card .SumoSelect>.CaptionCont>span{
  display:flex!important;
  align-items:center!important;
  min-height:50px!important;
  padding:0 42px 0 14px!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  color:#0f172a!important;
  font-weight:800!important;
  line-height:1.35!important;
}
[dir="rtl"] .wlsm-lesson-shortcode-wrap .wlsm-lesson-filter-card .SumoSelect>.CaptionCont>span,
body.rtl .wlsm-lesson-shortcode-wrap .wlsm-lesson-filter-card .SumoSelect>.CaptionCont>span,
.rtl .wlsm-lesson-shortcode-wrap .wlsm-lesson-filter-card .SumoSelect>.CaptionCont>span{
  padding-left:42px!important;
  padding-right:14px!important;
  text-align:right!important;
}
.wlsm-lesson-shortcode-wrap .wlsm-lesson-filter-card .SumoSelect>.CaptionCont>label{
  width:38px!important;
  margin:0!important;
}
[dir="rtl"] .wlsm-lesson-shortcode-wrap .wlsm-lesson-filter-card .SumoSelect>.CaptionCont>label,
body.rtl .wlsm-lesson-shortcode-wrap .wlsm-lesson-filter-card .SumoSelect>.CaptionCont>label,
.rtl .wlsm-lesson-shortcode-wrap .wlsm-lesson-filter-card .SumoSelect>.CaptionCont>label{
  right:auto!important;
  left:0!important;
}
.wlsm-lesson-shortcode-wrap .wlsm-lesson-filter-card .SumoSelect>.optWrapper>.options li label{
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  line-height:1.45!important;
}
.wlsm-lesson-shortcode-wrap .wlsm-lesson-filter-card > .wlsm-form-group.wlsm-col-2{
  display:flex!important;
  justify-content:flex-end!important;
  margin-top:18px!important;
}
.wlsm-lesson-shortcode-wrap #wlsm-get-student-lesson-btn{
  min-width:170px!important;
  min-height:48px!important;
  border-radius:16px!important;
}
.wlsm-lesson-shortcode-wrap .wlsm-lesson-library-grid{
  grid-template-columns:repeat(auto-fill,minmax(320px,1fr))!important;
  gap:22px!important;
  width:100%!important;
}
.wlsm-st-notice-new{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  vertical-align:middle!important;
  min-width:44px!important;
  height:24px!important;
  padding:0 10px!important;
  margin-inline-start:8px!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,#ef4444,#f97316)!important;
  color:#fff!important;
  font-size:11px!important;
  font-weight:950!important;
  line-height:1!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  box-shadow:0 8px 16px rgba(239,68,68,.24)!important;
  filter:none!important;
}

/* DWorld fix: integrated staff name + logout inside lessons shortcode hero. */
.wlsm-lesson-shortcode-wrap .wlsm-lesson-library-heading{
  flex:1 1 auto!important;
  min-width:0!important;
}
.wlsm-lesson-shortcode-wrap .wlsm-lesson-library-topline{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:12px!important;
  flex-wrap:wrap!important;
  margin:0 0 8px!important;
}
.wlsm-lesson-shortcode-wrap .wlsm-lesson-library-topline .wlsm-lesson-library-kicker{
  margin-bottom:0!important;
}
.wlsm-lesson-shortcode-wrap .wlsm-lesson-staff-actions{
  display:inline-flex!important;
  align-items:center!important;
  gap:24px!important;
  flex-wrap:wrap!important;
  min-width:0!important;
}
.wlsm-lesson-shortcode-wrap .wlsm-lesson-staff-main-actions{
  display:inline-flex!important;
  align-items:center!important;
  gap:10px!important;
  flex-wrap:wrap!important;
  min-width:0!important;
}
.wlsm-lesson-shortcode-wrap .wlsm-lesson-staff-user-card{
  max-width:280px!important;
  min-height:46px!important;
  padding:7px 12px 7px 7px!important;
  border-radius:17px!important;
  border:1px solid rgba(255,255,255,.36)!important;
  background:linear-gradient(135deg,#1e3a8a,#2563eb 58%,#06b6d4)!important;
  box-shadow:0 14px 30px rgba(37,99,235,.20)!important;
  color:#fff!important;
}
.wlsm-lesson-shortcode-wrap .wlsm-lesson-staff-user-card .wlsm-user-avatar{
  width:40px!important;
  height:40px!important;
  flex:0 0 40px!important;
  border-radius:14px!important;
  color:#1e40af!important;
  background:linear-gradient(135deg,#fff,#dbeafe)!important;
}
.wlsm-lesson-shortcode-wrap .wlsm-lesson-staff-user-card .wlsm-user-label{
  color:rgba(255,255,255,.78)!important;
}
.wlsm-lesson-shortcode-wrap .wlsm-lesson-staff-user-card .wlsm-user-name{
  max-width:190px!important;
  color:#fff!important;
  font-size:1.05rem!important;
  line-height:1.15!important;
}
.wlsm-lesson-shortcode-wrap .wlsm-lesson-staff-manage{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  min-height:46px!important;
  padding:0 18px!important;
  border-radius:17px!important;
  border:1px solid rgba(255,255,255,.32)!important;
  color:#fff!important;
  background:linear-gradient(135deg,#0ea5e9,#7c3aed)!important;
  box-shadow:0 14px 30px rgba(14,165,233,.24)!important;
  font-size:.92rem!important;
  font-weight:950!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  transition:transform .22s ease, box-shadow .22s ease, filter .22s ease!important;
}
.wlsm-lesson-shortcode-wrap .wlsm-lesson-staff-manage:hover,
.wlsm-lesson-shortcode-wrap .wlsm-lesson-staff-manage:focus{
  transform:translateY(-2px)!important;
  filter:saturate(1.05)!important;
  box-shadow:0 18px 38px rgba(124,58,237,.30)!important;
  color:#fff!important;
}
.wlsm-lesson-shortcode-wrap .wlsm-lesson-staff-logout{
  min-height:46px!important;
  padding:0 16px!important;
  border-radius:17px!important;
  background:linear-gradient(135deg,#ef4444,#e11d48)!important;
  box-shadow:0 14px 30px rgba(225,29,72,.24)!important;
  margin-inline-start:10px!important;
}
[dir="rtl"] .wlsm-lesson-shortcode-wrap .wlsm-lesson-library-topline,
body.rtl .wlsm-lesson-shortcode-wrap .wlsm-lesson-library-topline,
.rtl .wlsm-lesson-shortcode-wrap .wlsm-lesson-library-topline{
  justify-content:flex-start!important;
}
[dir="rtl"] .wlsm-lesson-shortcode-wrap .wlsm-lesson-staff-user-card,
body.rtl .wlsm-lesson-shortcode-wrap .wlsm-lesson-staff-user-card,
.rtl .wlsm-lesson-shortcode-wrap .wlsm-lesson-staff-user-card{
  padding:7px 7px 7px 12px!important;
}
@media (max-width:760px){
  .wlsm-lesson-shortcode-wrap .wlsm-lesson-library-topline,
  .wlsm-lesson-shortcode-wrap .wlsm-lesson-staff-actions,
  .wlsm-lesson-shortcode-wrap .wlsm-lesson-staff-main-actions{
    width:100%!important;
  }
  .wlsm-lesson-shortcode-wrap .wlsm-lesson-staff-user-card{
    flex:1 1 auto!important;
    max-width:none!important;
  }
  .wlsm-lesson-shortcode-wrap .wlsm-lesson-staff-logout{
    flex:0 0 auto!important;
  }
}

@media (max-width:760px){
  .wlsm-grid.wlsm-lesson-shortcode-wrap,
  .wlsm-lesson-shortcode-wrap.wlsm-modern-lesson-library{
    padding:14px!important;
  }
  .wlsm-lesson-shortcode-wrap .wlsm-lesson-filter-card .wlsm-row,
  .wlsm-lesson-shortcode-wrap .wlsm-lesson-library-grid{
    grid-template-columns:1fr!important;
  }
  .wlsm-lesson-shortcode-wrap .wlsm-lesson-filter-card > .wlsm-form-group.wlsm-col-2,
  .wlsm-lesson-shortcode-wrap #wlsm-get-student-lesson-btn{
    width:100%!important;
  }
}

/* Language switcher as a compact action button next to Logout. */
.wlsm-language-switcher-pill{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  min-height:46px!important;
  padding:0 15px!important;
  border:1px solid rgba(255,255,255,.34)!important;
  border-radius:16px!important;
  color:#fff!important;
  background:linear-gradient(135deg,#2563eb,#06b6d4)!important;
  box-shadow:0 16px 34px rgba(37,99,235,.24)!important;
  font-size:.92rem!important;
  font-weight:950!important;
  line-height:1!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  transition:transform .22s ease, box-shadow .22s ease, filter .22s ease!important;
}
.wlsm-language-switcher-pill:hover,
.wlsm-language-switcher-pill:focus{
  transform:translateY(-2px)!important;
  filter:saturate(1.06)!important;
  color:#fff!important;
  box-shadow:0 20px 40px rgba(37,99,235,.32)!important;
  text-decoration:none!important;
}
.wlsm-language-switcher-pill .wlsm-language-switcher-icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:22px!important;
  height:22px!important;
  border-radius:9px!important;
  background:rgba(255,255,255,.18)!important;
  font-size:14px!important;
  line-height:1!important;
}
.wlsm-account-topbar .wlsm-language-switcher-pill,
.wlsm-lesson-shortcode-wrap .wlsm-language-switcher-pill{
  flex:0 0 auto!important;
}
.wlsm-lesson-shortcode-wrap .wlsm-lesson-staff-language{
  min-height:46px!important;
  border-radius:17px!important;
  margin-inline-start:10px!important;
}
.wlsm-logged-in-info .wlsm-language-switcher-pill,
.wlsm-staff-lesson-denied-user .wlsm-language-switcher-pill{
  min-height:34px!important;
  padding:0 12px!important;
  border-radius:12px!important;
  font-size:.84rem!important;
  vertical-align:middle!important;
  margin-inline:8px!important;
}
@media (max-width:520px){
  .wlsm-account-topbar .wlsm-language-switcher-pill{
    flex:1 1 auto!important;
  }
}

.wlsm-external-url-icon{background:linear-gradient(135deg,#f59e0b,#ef4444)!important;color:#fff!important;}

/* External URL resource visual distinction */
.wlsm-smart-resource-card[data-resource-kind="link"] .wlsm-smart-toggle-symbol,
.wlsm-smart-resource-card[data-resource-kind="link"] .wlsm-smart-toggle-symbol i,
.wlsm-smart-resource-link .wlsm-smart-toggle-symbol {
    background: linear-gradient(135deg,#f59e0b,#ef4444)!important;
    color:#ffffff!important;
}
.wlsm-smart-resource-card[data-resource-kind="link"] .wlsm-smart-toggle-symbol {
    border-color:#f59e0b!important;
}

/* Force all external URL resource cards to use orange icon */
.wlsm-smart-viewer .wlsm-smart-resource-card.wlsm-smart-resource-link .wlsm-smart-resource-icon,
.wlsm-smart-viewer .wlsm-smart-resource-card[data-resource-kind="link"] .wlsm-smart-resource-icon {
    background: linear-gradient(135deg,#f59e0b,#ef4444)!important;
    color:#ffffff!important;
    box-shadow:0 12px 26px rgba(245,158,11,.28)!important;
}


/* v20: Force all external URL resources orange regardless of generated card classes */
.wlsm-smart-viewer a[href^="http://"],
.wlsm-smart-viewer a[href^="https://"],
.wlsm-smart-viewer a[href^="//"] {
    --wlsm-external-orange:#f59e0b;
}
.wlsm-smart-viewer .wlsm-smart-resource-toggle:has(a[href^="http"]),
.wlsm-smart-viewer .wlsm-smart-resource-toggle:has(a[href^="//"]) {
    border-color:#f59e0b!important;
}
.wlsm-smart-viewer .wlsm-smart-resource-toggle:has(a[href^="http"]) .wlsm-smart-resource-icon,
.wlsm-smart-viewer .wlsm-smart-resource-toggle:has(a[href^="//"]) .wlsm-smart-resource-icon,
.wlsm-smart-viewer .wlsm-smart-resource-toggle:has(a[href^="http"]) .wlsm-smart-toggle-symbol,
.wlsm-smart-viewer .wlsm-smart-resource-toggle:has(a[href^="//"]) .wlsm-smart-toggle-symbol {
    background:linear-gradient(135deg,#f59e0b,#ef4444)!important;
    color:#fff!important;
}

/* Weekly Agenda */
.wlsm-container .wlsm-navigation-links .wlsm-nav-item-weekly-agenda a i{background:linear-gradient(135deg,#0ea5e9,#0284c7)!important;box-shadow:0 12px 24px rgba(14,165,233,.24)!important;}
.wlsm-container-parent .wlsm-parent-link-weekly-agenda .wlsm-parent-link-icon{background:linear-gradient(135deg,#0ea5e9,#0284c7)!important;box-shadow:0 12px 24px rgba(14,165,233,.24)!important;}
.wlsm-section-weekly-agenda .wlsm-st-main-title > span:first-child::before{content:"\f073"!important;}

/* NSIS Mobile PDF/Dashboard refinement - mobile only */
@media (max-width:720px){
.wlsm-navigation-header h3{font-size:1.15rem!important}
.wlsm-student-meta,.wlsm-student-meta *{max-width:100%!important}
.wlsm-student-meta h4,.wlsm-student-meta .wlsm-badge h4{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;word-break:break-word!important;line-height:1.35!important}
.wlsm-profile-header{overflow:hidden!important}
.wlsm-profile-header .wlsm-student-meta{min-width:0!important;width:100%!important}
}


/* Final48 mobile list repair: keep academic content cards readable on phones and respect LTR/RTL */
.wlsm-section-study-materials .wlst-st-list > li,
.wlsm-section-homeworks .wlsm-homework-item,
.wlsm-container-parent .wlsm-section-study-materials .wlst-st-list > li,
.wlsm-container-parent .wlsm-section-homeworks .wlsm-homework-item{display:block!important;}
.wlsm-section-study-materials .wlst-st-list > li > .wlsm-study-item-copy,.wlsm-container-parent .wlsm-section-study-materials .wlst-st-list > li > .wlsm-study-item-copy{display:block!important;width:100%!important;min-width:0!important;color:var(--wlsm-tab-ink)!important;text-align:start!important;unicode-bidi:plaintext;}
.wlsm-section-study-materials .wlsm-study-item-title,.wlsm-section-homeworks .wlsm-homework-title{display:block!important;margin:0 0 10px!important;color:var(--wlsm-tab-ink)!important;font-size:1.04rem!important;line-height:1.45!important;font-weight:950!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;text-align:start!important;unicode-bidi:plaintext;}
.wlsm-section-study-materials .wlsm-study-item-copy .wlsm-content-read-status,.wlsm-section-homeworks .wlsm-homework-title .wlsm-content-read-status{display:inline-flex;vertical-align:middle;margin-inline-start:6px;}
.wlsm-section-study-materials .wlsm-st-study-material-subject,.wlsm-section-study-materials .wlsm-st-study-material-date,.wlsm-section-study-materials .wlsm-st-study-material-author,.wlsm-section-homeworks .wlsm-homework-subject,.wlsm-section-homeworks .wlsm-homework-date,.wlsm-section-homeworks .wlsm-homework-due,.wlsm-section-homeworks .wlsm-homework-teacher,.wlsm-section-homeworks .wlsm-homework-attachment{white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;text-align:start!important;unicode-bidi:plaintext;max-width:100%;}
.wlsm-section-study-materials .wlsm-st-study-material-subject,.wlsm-section-study-materials .wlsm-st-study-material-date,.wlsm-section-study-materials .wlsm-st-study-material-author{display:inline-flex!important;margin:0 8px 8px 0!important;vertical-align:top;}
.rtl .wlsm-section-study-materials .wlsm-st-study-material-subject,.rtl .wlsm-section-study-materials .wlsm-st-study-material-date,.rtl .wlsm-section-study-materials .wlsm-st-study-material-author,body.rtl .wlsm-section-study-materials .wlsm-st-study-material-subject,body.rtl .wlsm-section-study-materials .wlsm-st-study-material-date,body.rtl .wlsm-section-study-materials .wlsm-st-study-material-author,[dir="rtl"] .wlsm-section-study-materials .wlsm-st-study-material-subject,[dir="rtl"] .wlsm-section-study-materials .wlsm-st-study-material-date,[dir="rtl"] .wlsm-section-study-materials .wlsm-st-study-material-author{margin:0 0 8px 8px!important;}
.wlsm-section-study-materials .wlsm-file-fold,.wlsm-section-homeworks .wlsm-file-fold{width:100%!important;margin-top:12px!important;padding-top:10px!important;}
.wlsm-section-study-materials .wlsm-file-fold > summary,.wlsm-section-homeworks .wlsm-file-fold > summary{display:flex!important;align-items:center!important;gap:8px!important;width:100%!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;text-align:start!important;unicode-bidi:plaintext;}
.wlsm-section-study-materials .wlsm-st-view-study-material,.wlsm-section-homeworks .wlsm-view-homework-btn{white-space:nowrap!important;flex-shrink:0;}
@media (max-width: 767px){.wlsm-section-study-materials .wlst-st-list > li,.wlsm-section-homeworks .wlsm-homework-item{padding:14px 14px 14px 16px!important;}.rtl .wlsm-section-study-materials .wlst-st-list > li,body.rtl .wlsm-section-study-materials .wlst-st-list > li,[dir="rtl"] .wlsm-section-study-materials .wlst-st-list > li,.rtl .wlsm-section-homeworks .wlsm-homework-item,body.rtl .wlsm-section-homeworks .wlsm-homework-item,[dir="rtl"] .wlsm-section-homeworks .wlsm-homework-item{padding:14px 16px 14px 14px!important;}.wlsm-section-study-materials .wlsm-study-item-title,.wlsm-section-homeworks .wlsm-homework-title{font-size:.98rem!important;line-height:1.5!important;}.wlsm-section-homeworks .wlsm-homework-meta{gap:8px!important;}.wlsm-section-study-materials .wlsm-file-fold > summary,.wlsm-section-homeworks .wlsm-file-fold > summary{justify-content:space-between!important;}}


/* Final55: Student/Parent Class Timetable - polished responsive layout */
.wlsm-container-student .wlsm-st-class-time-table-section,
.wlsm-container-parent .wlsm-st-class-time-table-section{
	overflow-x:auto!important;
	overflow-y:hidden!important;
	-webkit-overflow-scrolling:touch;
	scrollbar-gutter:stable;
}

.wlsm-container-student .wlsm-st-class-time-table,
.wlsm-container-parent .wlsm-st-class-time-table{
	width:100%!important;
	min-width:max-content;
	margin:0!important;
	border-collapse:collapse!important;
	table-layout:auto!important;
	background:#fff;
}

.wlsm-container-student .wlsm-st-class-time-table th,
.wlsm-container-student .wlsm-st-class-time-table td,
.wlsm-container-parent .wlsm-st-class-time-table th,
.wlsm-container-parent .wlsm-st-class-time-table td{
	box-sizing:border-box!important;
	padding:12px 10px!important;
	vertical-align:middle!important;
	text-align:center!important;
	line-height:1.25!important;
	word-break:normal!important;
	overflow-wrap:normal!important;
	hyphens:none!important;
}

.wlsm-container-student .wlsm-st-class-time-table thead th,
.wlsm-container-parent .wlsm-st-class-time-table thead th{
	height:116px;
	background:#f5f6f8!important;
	font-weight:800!important;
	text-align:center!important;
	vertical-align:middle!important;
}

.wlsm-container-student .wlsm-st-class-time-table .wlsm-class-timetable-day-heading,
.wlsm-container-student .wlsm-st-class-time-table .wlsm-class-timetable-day-cell,
.wlsm-container-parent .wlsm-st-class-time-table .wlsm-class-timetable-day-heading,
.wlsm-container-parent .wlsm-st-class-time-table .wlsm-class-timetable-day-cell{
	min-width:110px!important;
	font-weight:800!important;
	text-align:center!important;
	vertical-align:middle!important;
	white-space:nowrap!important;
}

.wlsm-container-student .wlsm-st-class-time-table .wlsm-class-timetable-period-heading,
.wlsm-container-parent .wlsm-st-class-time-table .wlsm-class-timetable-period-heading{
	min-width:106px!important;
	text-align:center!important;
	vertical-align:middle!important;
}

.wlsm-container-student .wlsm-st-class-time-table .wlsm-class-timetable-period-label,
.wlsm-container-parent .wlsm-st-class-time-table .wlsm-class-timetable-period-label{
	display:block!important;
	margin:0 0 6px!important;
	font-size:15px!important;
	line-height:1.1!important;
	font-weight:800!important;
	text-align:center!important;
	white-space:nowrap!important;
}

.wlsm-container-student .wlsm-st-class-time-table .wlsm-class-timetable-slot-time,
.wlsm-container-student .wlsm-st-class-time-table .wlsm-class-timetable-break-time,
.wlsm-container-parent .wlsm-st-class-time-table .wlsm-class-timetable-slot-time,
.wlsm-container-parent .wlsm-st-class-time-table .wlsm-class-timetable-break-time{
	direction:ltr!important;
	unicode-bidi:isolate!important;
	font-size:12px!important;
	line-height:1.08!important;
	font-weight:700!important;
	text-align:center!important;
}

.wlsm-container-student .wlsm-st-class-time-table .wlsm-class-timetable-time-start,
.wlsm-container-student .wlsm-st-class-time-table .wlsm-class-timetable-time-separator,
.wlsm-container-student .wlsm-st-class-time-table .wlsm-class-timetable-time-end,
.wlsm-container-parent .wlsm-st-class-time-table .wlsm-class-timetable-time-start,
.wlsm-container-parent .wlsm-st-class-time-table .wlsm-class-timetable-time-separator,
.wlsm-container-parent .wlsm-st-class-time-table .wlsm-class-timetable-time-end{
	display:block!important;
	text-align:center!important;
	white-space:nowrap!important;
}

.wlsm-container-student .wlsm-st-class-time-table .wlsm-class-timetable-routine-cell,
.wlsm-container-parent .wlsm-st-class-time-table .wlsm-class-timetable-routine-cell{
	min-width:106px!important;
	text-align:center!important;
	vertical-align:middle!important;
}

.wlsm-container-student .wlsm-st-class-time-table .wlsm-class-timetable-routine-cell .clearfix,
.wlsm-container-parent .wlsm-st-class-time-table .wlsm-class-timetable-routine-cell .clearfix{
	display:block!important;
	text-align:center!important;
}

.wlsm-container-student .wlsm-st-class-time-table .wlsm-class-timetable-subject,
.wlsm-container-student .wlsm-st-class-time-table .wlsm-class-timetable-subject-label,
.wlsm-container-parent .wlsm-st-class-time-table .wlsm-class-timetable-subject,
.wlsm-container-parent .wlsm-st-class-time-table .wlsm-class-timetable-subject-label{
	float:none!important;
	display:block!important;
	width:auto!important;
	margin:0!important;
	font-weight:700!important;
	text-align:center!important;
	line-height:1.22!important;
}

.wlsm-container-student .wlsm-st-class-time-table .wlsm-class-timetable-teacher,
.wlsm-container-student .wlsm-st-class-time-table .wlsm-class-timetable-room-number,
.wlsm-container-parent .wlsm-st-class-time-table .wlsm-class-timetable-teacher,
.wlsm-container-parent .wlsm-st-class-time-table .wlsm-class-timetable-room-number{
	margin-top:5px!important;
	text-align:center!important;
	line-height:1.2!important;
}

.wlsm-container-student .wlsm-st-class-time-table .wlsm-class-timetable-teacher em,
.wlsm-container-parent .wlsm-st-class-time-table .wlsm-class-timetable-teacher em{
	display:block!important;
	text-align:center!important;
}

.wlsm-container-student .wlsm-st-class-time-table .wlsm-class-timetable-break-heading,
.wlsm-container-parent .wlsm-st-class-time-table .wlsm-class-timetable-break-heading{
	min-width:138px!important;
	padding:8px!important;
	background:#fff8df!important;
	border-color:#e2b64d!important;
	color:#624600!important;
	text-align:center!important;
	vertical-align:middle!important;
}

.wlsm-container-student .wlsm-st-class-time-table .wlsm-class-timetable-break-heading > div,
.wlsm-container-parent .wlsm-st-class-time-table .wlsm-class-timetable-break-heading > div{
	margin:0!important;
	padding:8px 9px!important;
	text-align:center!important;
}

.wlsm-container-student .wlsm-st-class-time-table .wlsm-class-timetable-break-heading strong,
.wlsm-container-parent .wlsm-st-class-time-table .wlsm-class-timetable-break-heading strong{
	display:block!important;
	margin-bottom:5px!important;
	font-size:14px!important;
	line-height:1.1!important;
	font-weight:800!important;
	text-align:center!important;
	white-space:nowrap!important;
}

.wlsm-container-student .wlsm-st-class-time-table .wlsm-class-timetable-break-cell,
.wlsm-container-parent .wlsm-st-class-time-table .wlsm-class-timetable-break-cell{
	min-width:138px!important;
	padding:10px 8px!important;
	background:#fffdf4!important;
	border-color:#e2b64d!important;
	text-align:center!important;
	vertical-align:middle!important;
}

.wlsm-container-student .wlsm-st-class-time-table .wlsm-class-timetable-break-card,
.wlsm-container-parent .wlsm-st-class-time-table .wlsm-class-timetable-break-card{
	display:flex!important;
	align-items:center!important;
	justify-content:center!important;
	min-height:46px;
	margin:0!important;
	padding:8px 10px!important;
	text-align:center!important;
}

.wlsm-container-student .wlsm-st-class-time-table .wlsm-class-timetable-break-card strong,
.wlsm-container-parent .wlsm-st-class-time-table .wlsm-class-timetable-break-card strong{
	display:block!important;
	font-weight:800!important;
	text-align:center!important;
	white-space:nowrap!important;
}

/* Keep the visual flow correct in both dashboard directions while all content stays centered. */
.wlsm-container-student .wlsm-st-class-time-table,
.wlsm-container-parent .wlsm-st-class-time-table{
	direction:inherit;
}

@media (max-width:760px){
	.wlsm-container-student .wlsm-st-class-time-table-section,
	.wlsm-container-parent .wlsm-st-class-time-table-section{
		padding:10px!important;
		border-radius:18px;
	}

	.wlsm-container-student .wlsm-st-class-time-table,
	.wlsm-container-parent .wlsm-st-class-time-table{
		width:max-content!important;
		min-width:100%!important;
	}

	.wlsm-container-student .wlsm-st-class-time-table th,
	.wlsm-container-student .wlsm-st-class-time-table td,
	.wlsm-container-parent .wlsm-st-class-time-table th,
	.wlsm-container-parent .wlsm-st-class-time-table td{
		padding:10px 8px!important;
	}

	.wlsm-container-student .wlsm-st-class-time-table thead th,
	.wlsm-container-parent .wlsm-st-class-time-table thead th{
		height:108px;
	}

	.wlsm-container-student .wlsm-st-class-time-table .wlsm-class-timetable-period-heading,
	.wlsm-container-student .wlsm-st-class-time-table .wlsm-class-timetable-routine-cell,
	.wlsm-container-parent .wlsm-st-class-time-table .wlsm-class-timetable-period-heading,
	.wlsm-container-parent .wlsm-st-class-time-table .wlsm-class-timetable-routine-cell{
		min-width:96px!important;
	}

	.wlsm-container-student .wlsm-st-class-time-table .wlsm-class-timetable-break-heading,
	.wlsm-container-student .wlsm-st-class-time-table .wlsm-class-timetable-break-cell,
	.wlsm-container-parent .wlsm-st-class-time-table .wlsm-class-timetable-break-heading,
	.wlsm-container-parent .wlsm-st-class-time-table .wlsm-class-timetable-break-cell{
		min-width:124px!important;
	}

	.wlsm-container-student .wlsm-st-class-time-table .wlsm-class-timetable-day-heading,
	.wlsm-container-student .wlsm-st-class-time-table .wlsm-class-timetable-day-cell,
	.wlsm-container-parent .wlsm-st-class-time-table .wlsm-class-timetable-day-heading,
	.wlsm-container-parent .wlsm-st-class-time-table .wlsm-class-timetable-day-cell{
		position:sticky;
		left:0;
		z-index:4;
		min-width:94px!important;
		background:#fff!important;
		box-shadow:2px 0 0 rgba(226,232,240,.95);
	}

	.wlsm-container-student .wlsm-st-class-time-table .wlsm-class-timetable-day-heading,
	.wlsm-container-parent .wlsm-st-class-time-table .wlsm-class-timetable-day-heading{
		z-index:6;
		background:#f5f6f8!important;
	}

	.rtl .wlsm-container-student .wlsm-st-class-time-table .wlsm-class-timetable-day-heading,
	.rtl .wlsm-container-student .wlsm-st-class-time-table .wlsm-class-timetable-day-cell,
	.rtl .wlsm-container-parent .wlsm-st-class-time-table .wlsm-class-timetable-day-heading,
	.rtl .wlsm-container-parent .wlsm-st-class-time-table .wlsm-class-timetable-day-cell,
	body.rtl .wlsm-container-student .wlsm-st-class-time-table .wlsm-class-timetable-day-heading,
	body.rtl .wlsm-container-student .wlsm-st-class-time-table .wlsm-class-timetable-day-cell,
	body.rtl .wlsm-container-parent .wlsm-st-class-time-table .wlsm-class-timetable-day-heading,
	body.rtl .wlsm-container-parent .wlsm-st-class-time-table .wlsm-class-timetable-day-cell,
	[dir="rtl"] .wlsm-container-student .wlsm-st-class-time-table .wlsm-class-timetable-day-heading,
	[dir="rtl"] .wlsm-container-student .wlsm-st-class-time-table .wlsm-class-timetable-day-cell,
	[dir="rtl"] .wlsm-container-parent .wlsm-st-class-time-table .wlsm-class-timetable-day-heading,
	[dir="rtl"] .wlsm-container-parent .wlsm-st-class-time-table .wlsm-class-timetable-day-cell{
		left:auto;
		right:0;
		box-shadow:-2px 0 0 rgba(226,232,240,.95);
	}
}
