/* SININBE EDU Universal Learning Viewer — isolated styles v2.8.0 */
#ni-learning-library .ni-ic{background:rgba(240,180,41,.12);color:var(--gold)}
#ni-learning-library.active .ni-ic{background:rgba(34,211,178,.18);color:var(--primary)}
.edu-ls-modal{padding:10px!important}
.edu-ls-box{width:min(1500px,100%)!important;height:min(94dvh,980px)!important;max-width:1500px!important;max-height:94dvh!important;padding:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;border-radius:20px!important}
.edu-ls-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border-bottom:1px solid var(--border);background:linear-gradient(135deg,rgba(34,211,178,.07),rgba(240,180,41,.04));flex:0 0 auto}
.edu-ls-head-main{display:flex;align-items:center;gap:12px;min-width:0}.edu-ls-head-icon{width:42px;height:42px;border-radius:13px;display:flex;align-items:center;justify-content:center;background:rgba(34,211,178,.12);color:var(--primary);font-size:1.05rem;flex:0 0 auto}.edu-ls-head h2{margin:0;color:var(--text-primary);font-size:1rem;font-weight:950}.edu-ls-head p{margin:3px 0 0;color:var(--text-muted);font-size:.65rem;line-height:1.5}.edu-ls-head-actions{display:flex;gap:7px;flex:0 0 auto}.edu-ls-icon-btn{width:36px;height:36px;border-radius:10px;border:1px solid var(--border);background:rgba(255,255,255,.04);color:var(--text-secondary);cursor:pointer;display:flex;align-items:center;justify-content:center}.edu-ls-icon-btn:hover{color:var(--primary);border-color:rgba(34,211,178,.35);background:rgba(34,211,178,.08)}
.edu-ls-toolbar{display:flex;align-items:center;gap:10px;padding:10px 14px;border-bottom:1px solid var(--border);flex:0 0 auto}.edu-ls-search{display:flex;align-items:center;gap:8px;border:1px solid var(--border-strong);border-radius:11px;background:rgba(255,255,255,.035);padding:0 11px;min-height:40px;flex:1;min-width:0}.edu-ls-search i{color:var(--text-muted);font-size:.72rem}.edu-ls-search input{border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;color:var(--text-primary)!important;width:100%;min-width:0;padding:0!important;font-size:.72rem!important}.edu-ls-summary{font-size:.63rem;color:var(--text-muted);white-space:nowrap;font-weight:850}
.edu-ls-main{position:relative;display:grid;grid-template-columns:minmax(0,1fr);min-height:0;flex:1;overflow:hidden}.edu-ls-content{overflow:auto;padding:14px;display:grid;gap:10px;align-content:start;scrollbar-gutter:stable}.edu-ls-empty{padding:40px 20px;text-align:center;border:1px dashed var(--border-strong);border-radius:16px;color:var(--text-muted);font-size:.72rem}.edu-ls-loading{display:flex;align-items:center;justify-content:center;gap:8px;padding:40px;color:var(--text-muted);font-size:.72rem}
.edu-ls-subject{border:1px solid var(--border);border-radius:16px;background:rgba(255,255,255,.025);overflow:hidden}.edu-ls-subject-head{display:flex;align-items:center;gap:10px;padding:12px 13px;cursor:pointer;user-select:none}.edu-ls-subject-head:hover{background:rgba(255,255,255,.025)}.edu-ls-subject-mark{width:38px;height:38px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:rgba(34,211,178,.10);color:var(--primary);font-weight:950;flex:0 0 auto}.edu-ls-subject-title{flex:1;min-width:0}.edu-ls-subject-title strong{display:block;color:var(--text-primary);font-size:.78rem;font-weight:950}.edu-ls-subject-title small{display:block;color:var(--text-muted);font-size:.57rem;margin-top:2px}.edu-ls-subject-count{font-size:.58rem;color:var(--text-muted);padding:4px 8px;border:1px solid var(--border);border-radius:999px;white-space:nowrap}.edu-ls-chevron{transition:transform .2s;color:var(--text-muted)}.edu-ls-subject.open .edu-ls-chevron{transform:rotate(180deg)}.edu-ls-subject-body{display:none;padding:0 12px 12px}.edu-ls-subject.open .edu-ls-subject-body{display:grid;gap:9px}
.edu-ls-methodology{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid rgba(240,180,41,.24);background:rgba(240,180,41,.055);border-radius:13px;padding:10px}.edu-ls-methodology .edu-ls-item-icon{color:var(--gold)}
.edu-ls-level{border:1px solid var(--border);border-radius:13px;overflow:hidden;background:rgba(4,10,24,.18)}.edu-ls-level-head{display:flex;align-items:center;gap:9px;padding:10px 11px;cursor:pointer}.edu-ls-level-head:hover{background:rgba(255,255,255,.02)}.edu-ls-level-index{min-width:34px;height:30px;padding:0 8px;border-radius:9px;display:flex;align-items:center;justify-content:center;background:rgba(167,139,250,.10);color:#a78bfa;font-weight:950;font-size:.65rem}.edu-ls-level-title{flex:1;min-width:0}.edu-ls-level-title strong{display:block;color:var(--text-primary);font-size:.7rem}.edu-ls-level-title small{display:block;color:var(--text-muted);font-size:.55rem;margin-top:1px}.edu-ls-level-body{display:none;padding:0 10px 10px;gap:7px}.edu-ls-level.open .edu-ls-level-body{display:grid}.edu-ls-level .edu-ls-chevron{font-size:.62rem}.edu-ls-level.open>.edu-ls-level-head .edu-ls-chevron{transform:rotate(180deg)}
.edu-ls-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;border:1px solid var(--border);border-radius:11px;padding:9px;background:rgba(255,255,255,.022)}.edu-ls-item.is-exam{border-style:dashed;border-color:rgba(240,180,41,.32);background:rgba(240,180,41,.04);margin-top:3px}.edu-ls-item.unavailable{opacity:.72}.edu-ls-item-icon{width:30px;height:30px;border-radius:9px;display:flex;align-items:center;justify-content:center;background:rgba(34,211,178,.09);color:var(--primary);font-size:.75rem}.edu-ls-item-main{min-width:0}.edu-ls-item-main strong{display:block;color:var(--text-primary);font-size:.67rem;font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.edu-ls-item-main span{display:block;color:var(--text-muted);font-size:.54rem;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.edu-ls-item-actions{display:flex;align-items:center;gap:5px;flex-wrap:wrap;justify-content:flex-end}.edu-ls-action{height:30px;min-width:30px;border-radius:8px;border:1px solid var(--border);background:rgba(255,255,255,.04);color:var(--text-secondary);cursor:pointer;padding:0 8px;display:inline-flex;align-items:center;justify-content:center;gap:5px;font-size:.56rem;font-weight:900}.edu-ls-action:hover{border-color:rgba(34,211,178,.32);color:var(--primary);background:rgba(34,211,178,.08)}.edu-ls-action.complete{color:#86efac;border-color:rgba(134,239,172,.25);background:rgba(34,197,94,.08)}.edu-ls-action.done{background:rgba(34,197,94,.16);border-color:rgba(34,197,94,.38);color:#bbf7d0}.edu-ls-action.danger{color:#fca5a5;border-color:rgba(248,113,113,.25)}.edu-ls-action[disabled]{opacity:.42;cursor:not-allowed}.edu-ls-admin-inline{display:flex;gap:5px;margin-inline-start:auto}.edu-ls-progress-dot{width:7px;height:7px;border-radius:50%;background:var(--border-strong);display:inline-block}.edu-ls-progress-dot.viewed{background:#60a5fa}.edu-ls-progress-dot.completed{background:#22c55e}
.edu-ls-manager{position:absolute;inset-block:0;inset-inline-end:0;width:min(390px,92vw);background:var(--surface,#071126);border-inline-start:1px solid var(--border);box-shadow:-18px 0 50px rgba(0,0,0,.28);transform:translateX(calc(100% + 20px));transition:transform .22s ease;z-index:8;overflow:auto;padding:12px}.edu-ls-manager.open{transform:translateX(0)}[dir="rtl"] .edu-ls-manager{box-shadow:18px 0 50px rgba(0,0,0,.28);transform:translateX(calc(-100% - 20px))}[dir="rtl"] .edu-ls-manager.open{transform:translateX(0)}.edu-ls-manager-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:3px 2px 10px}.edu-ls-manager-head strong{color:var(--text-primary);font-size:.78rem}.edu-ls-manager-head button{border:0;background:transparent;color:var(--text-muted);cursor:pointer}.edu-ls-manager-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:10px}.edu-ls-manager-tabs button{border:1px solid var(--border);border-radius:9px;background:rgba(255,255,255,.03);color:var(--text-muted);padding:8px;font-size:.62rem;font-weight:900;cursor:pointer}.edu-ls-manager-tabs button.active{color:var(--primary);border-color:rgba(34,211,178,.34);background:rgba(34,211,178,.08)}.edu-ls-manager-form{display:grid;gap:9px}.edu-ls-manager-form label{display:grid;gap:5px}.edu-ls-manager-form label>span{font-size:.58rem;color:var(--text-muted);font-weight:850}.edu-ls-manager-form input,.edu-ls-manager-form select{width:100%;border:1px solid var(--border-strong);background:rgba(255,255,255,.045);color:var(--text-primary);border-radius:9px;min-height:39px;padding:8px 10px;font-size:.68rem;outline:none;box-sizing:border-box}.edu-ls-manager-form input:focus,.edu-ls-manager-form select:focus{border-color:rgba(34,211,178,.45);box-shadow:0 0 0 3px rgba(34,211,178,.07)}.edu-ls-file-hint{font-size:.54rem;color:var(--text-muted);line-height:1.55}.edu-ls-save-btn{justify-content:center;gap:7px}.edu-ls-form-state{font-size:.58rem;min-height:18px;color:var(--text-muted)}.edu-ls-form-state.ok{color:#86efac}.edu-ls-form-state.err{color:#fca5a5}
.edu-lsv-modal{padding:8px!important}.edu-lsv-box{width:min(1480px,100%)!important;height:min(96dvh,1050px)!important;max-width:1480px!important;max-height:96dvh!important;padding:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;border-radius:18px!important;position:relative}.edu-lsv-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 13px;border-bottom:1px solid var(--border);background:rgba(4,9,22,.96);z-index:4}.edu-lsv-title-wrap{display:flex;align-items:center;gap:9px;min-width:0}.edu-lsv-type{width:34px;height:34px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:rgba(34,211,178,.10);color:var(--primary)}.edu-lsv-title-wrap>div:last-child{min-width:0}.edu-lsv-title-wrap strong{display:block;color:var(--text-primary);font-size:.75rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.edu-lsv-title-wrap span{display:block;color:var(--text-muted);font-size:.54rem;margin-top:2px}.edu-lsv-actions{display:flex;align-items:center;gap:5px}.edu-lsv-actions button{width:32px;height:32px;border-radius:9px;border:1px solid var(--border);background:rgba(255,255,255,.04);color:var(--text-secondary);cursor:pointer}.edu-lsv-actions button:hover{color:var(--primary)}#edu-lsv-page{font-size:.62rem;color:var(--text-muted);min-width:48px;text-align:center}.edu-lsv-stage{position:relative;flex:1;min-height:0;overflow:auto;background:#111827;padding:18px;display:flex;align-items:flex-start;justify-content:center;overscroll-behavior:contain;user-select:none;-webkit-user-select:none}.edu-lsv-stage iframe{width:100%;height:100%;border:0;background:#fff;border-radius:8px}.edu-lsv-stage video{display:block;max-width:100%;max-height:100%;margin:auto;border-radius:10px;background:#000}.edu-lsv-stage audio{width:min(720px,95%);margin:auto}.edu-lsv-stage img.edu-lsv-image{display:block;max-width:100%;max-height:100%;object-fit:contain;margin:auto;border-radius:8px}.edu-lsv-text,.edu-lsv-doc{width:min(980px,100%);min-height:100%;background:#fff;color:#1f2937;border-radius:10px;padding:28px;box-sizing:border-box;line-height:1.8;white-space:pre-wrap;direction:auto;user-select:none}.edu-lsv-doc p{margin:0 0 1em}.edu-lsv-sheet{width:100%;background:#fff;border-radius:9px;padding:10px;overflow:auto}.edu-lsv-sheet-tabs{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:8px}.edu-lsv-sheet-tabs button{border:1px solid #d1d5db;background:#f8fafc;color:#334155;border-radius:7px;padding:6px 9px;cursor:pointer}.edu-lsv-sheet-tabs button.active{background:#e2e8f0;font-weight:800}.edu-lsv-sheet table{border-collapse:collapse;width:max-content;min-width:100%;font-family:Space Grotesk,sans-serif!important}.edu-lsv-sheet td,.edu-lsv-sheet th{border:1px solid #dbe2ea;padding:6px 8px;color:#1f2937;font-size:12px;white-space:nowrap}.edu-lsv-pdf{display:block;width:min(1000px,100%);height:100%;min-height:0}.edu-lsv-pdf embed,.edu-lsv-pdf-frame{display:block;width:100%;height:100%;min-height:620px;border:0;border-radius:8px;background:#fff}.edu-lsv-slide-wrap{width:min(1100px,100%);margin:auto}.edu-lsv-slide{position:relative;width:100%;aspect-ratio:16/9;background:#fff;box-shadow:0 12px 40px rgba(0,0,0,.35);overflow:hidden}.edu-lsv-slide-el{position:absolute;overflow:hidden;box-sizing:border-box;white-space:pre-wrap;line-height:1.15}.edu-lsv-slide-el img{width:100%;height:100%;object-fit:contain}.edu-lsv-watermark{position:absolute;inset:52px 0 32px;z-index:3;pointer-events:none;overflow:hidden;opacity:.055;background-repeat:repeat;mix-blend-mode:multiply}.edu-lsv-watermark::before{content:attr(data-text);position:absolute;inset:0;display:flex;align-items:center;justify-content:center;transform:rotate(-28deg);font-size:clamp(28px,6vw,78px);font-weight:950;color:#fff;letter-spacing:.08em;white-space:nowrap}.edu-lsv-stage>*{position:relative;z-index:2}.edu-lsv-foot{display:flex;align-items:center;justify-content:center;gap:7px;padding:7px 12px;border-top:1px solid var(--border);color:var(--text-muted);font-size:.55rem;background:rgba(4,9,22,.96);z-index:4}.edu-lsv-foot i{color:var(--primary)}.edu-lsv-error{margin:auto;color:#fca5a5;text-align:center;font-size:.72rem;line-height:1.7}.edu-lsv-spinner{margin:auto;color:var(--text-muted);display:flex;gap:8px;align-items:center}
.edu-tp-pane.active{display:flex!important;flex-direction:column;gap:10px;min-height:0;overflow:hidden}.edu-tp-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.edu-tp-head h3{margin:0;color:var(--text-primary);font-size:.85rem}.edu-tp-head p{margin:4px 0 0!important}.edu-tp-filters{display:grid;grid-template-columns:minmax(180px,.75fr) minmax(180px,.75fr) minmax(240px,1.5fr);gap:8px}.edu-tp-filters label{display:grid;gap:4px}.edu-tp-filters label span{font-size:.56rem;color:var(--text-muted);font-weight:850}.edu-tp-filters select{border:1px solid var(--border-strong);background:rgba(255,255,255,.04);color:var(--text-primary);border-radius:10px;min-height:40px;padding:7px 9px}.edu-tp-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.edu-tp-card{border:1px solid var(--border);border-radius:12px;padding:10px;background:rgba(255,255,255,.025)}.edu-tp-card strong{display:block;color:var(--text-primary);font-size:.83rem}.edu-tp-card span{display:block;color:var(--text-muted);font-size:.55rem;margin-top:3px}.edu-tp-content{flex:1;min-height:0;overflow:auto;display:grid;gap:9px;align-content:start}.edu-tp-subject{border:1px solid var(--border);border-radius:13px;background:rgba(255,255,255,.025);overflow:hidden}.edu-tp-subject-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border-bottom:1px solid var(--border)}.edu-tp-subject-head strong{color:var(--text-primary);font-size:.7rem}.edu-tp-subject-head span{font-size:.56rem;color:var(--text-muted)}.edu-tp-levels{display:grid;gap:6px;padding:9px}.edu-tp-level{display:grid;grid-template-columns:minmax(110px,.8fr) repeat(4,minmax(70px,.45fr));align-items:center;gap:7px;border:1px solid var(--border);border-radius:9px;padding:8px}.edu-tp-level strong{font-size:.62rem;color:var(--text-primary)}.edu-tp-metric{font-size:.55rem;color:var(--text-muted);text-align:center}.edu-tp-meter{height:6px;border-radius:99px;background:rgba(255,255,255,.08);overflow:hidden;margin-top:4px}.edu-tp-meter span{display:block;height:100%;background:var(--primary);border-radius:inherit}.edu-tp-exam-ok{color:#86efac}.edu-tp-exam-no{color:var(--text-muted)}
#app[data-theme="light"] .edu-ls-subject,#app[data-theme="light"] .edu-ls-level,#app[data-theme="light"] .edu-ls-item,#app[data-theme="light"] .edu-ls-manager,#app[data-theme="light"] .edu-tp-card,#app[data-theme="light"] .edu-tp-subject{background:#fff!important}.edu-ls-manager[data-theme="light"]{background:#fff!important}.edu-lsv-box[data-theme="light"] .edu-lsv-head,.edu-lsv-box[data-theme="light"] .edu-lsv-foot{background:#fff!important}.edu-lsv-box[data-theme="light"] .edu-lsv-stage{background:#e7edf5!important}
@media(max-width:900px){.edu-ls-box{height:96dvh!important;max-height:96dvh!important}.edu-ls-head p{display:none}.edu-ls-toolbar{flex-wrap:wrap}.edu-ls-summary{width:100%;white-space:normal}.edu-tp-filters{grid-template-columns:1fr 1fr}.edu-tp-filters .edu-ls-search{grid-column:1/-1}.edu-tp-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.edu-tp-level{grid-template-columns:1fr repeat(2,minmax(70px,.5fr))}.edu-tp-level .edu-tp-hide-tablet{display:none}}
@media(max-width:600px){.edu-ls-modal,.edu-lsv-modal{padding:0!important}.edu-ls-box,.edu-lsv-box{height:100dvh!important;max-height:100dvh!important;border-radius:0!important}.edu-ls-head{padding:10px}.edu-ls-head-icon{width:36px;height:36px}.edu-ls-content{padding:9px}.edu-ls-subject-head{padding:10px}.edu-ls-item,.edu-ls-methodology{grid-template-columns:auto minmax(0,1fr)}.edu-ls-item-actions{grid-column:1/-1;justify-content:flex-end}.edu-ls-methodology .edu-ls-item-actions{grid-column:1/-1}.edu-ls-action{height:32px}.edu-lsv-stage{padding:8px}.edu-lsv-pdf embed,.edu-lsv-pdf-frame{min-height:calc(100dvh - 135px)}.edu-tp-filters{grid-template-columns:1fr}.edu-tp-filters .edu-ls-search{grid-column:auto}.edu-tp-summary{grid-template-columns:1fr 1fr}.edu-tp-level{grid-template-columns:1fr 1fr}.edu-tp-level .edu-tp-hide-mobile{display:none}.edu-tp-pane.active{overflow:auto!important}}

/* ══════════════════════════════════════════════════════════════
   v2.5.52 — responsive library layout hardening
   Prevent implicit CSS-grid tracks from shrinking subject cards to
   thin strips when many subjects are present in a fixed-height modal.
   ══════════════════════════════════════════════════════════════ */
.edu-ls-modal.show{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  padding:clamp(6px,1.1vw,14px)!important;
}
.edu-ls-box{
  width:min(1500px,calc(100vw - 12px))!important;
  height:min(94dvh,980px)!important;
  max-width:1500px!important;
  max-height:calc(100dvh - 12px)!important;
  min-width:0!important;
  min-height:0!important;
  box-sizing:border-box!important;
}
.edu-ls-head,
.edu-ls-toolbar,
.edu-ls-main,
.edu-ls-content,
.edu-ls-subject,
.edu-ls-subject-head,
.edu-ls-subject-body,
.edu-ls-level,
.edu-ls-level-head,
.edu-ls-level-body,
.edu-ls-item,
.edu-ls-methodology{
  box-sizing:border-box!important;
}
.edu-ls-head{min-width:0!important;overflow:visible!important}
.edu-ls-head-main{flex:1 1 auto!important;overflow:hidden!important}
.edu-ls-head-main>div:last-child{min-width:0!important;overflow:hidden!important}
.edu-ls-head h2,.edu-ls-head p{max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.edu-ls-toolbar{min-width:0!important}
.edu-ls-main{
  display:block!important;
  flex:1 1 auto!important;
  width:100%!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  overflow:hidden!important;
}
.edu-ls-content{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  align-content:normal!important;
  justify-content:flex-start!important;
  gap:10px!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-height:100%!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  padding:14px!important;
  scrollbar-gutter:stable!important;
  overscroll-behavior:contain!important;
}
.edu-ls-subject{
  display:block!important;
  flex:0 0 auto!important;
  width:100%!important;
  min-width:0!important;
  min-height:64px!important;
  height:auto!important;
  max-height:none!important;
  overflow:hidden!important;
}
.edu-ls-subject-head{
  display:flex!important;
  flex:0 0 auto!important;
  align-items:center!important;
  width:100%!important;
  min-width:0!important;
  min-height:62px!important;
  height:auto!important;
  max-height:none!important;
  padding:11px 13px!important;
  gap:10px!important;
  overflow:visible!important;
  line-height:1.25!important;
}
.edu-ls-subject-mark{
  width:40px!important;
  min-width:40px!important;
  height:40px!important;
  min-height:40px!important;
  flex:0 0 40px!important;
  overflow:hidden!important;
}
.edu-ls-subject-title{
  display:block!important;
  flex:1 1 auto!important;
  min-width:0!important;
  width:auto!important;
  overflow:hidden!important;
}
.edu-ls-subject-title strong{
  display:block!important;
  min-height:1em!important;
  line-height:1.35!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.edu-ls-subject-title small{
  display:block!important;
  min-height:1em!important;
  line-height:1.35!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.edu-ls-subject-count,.edu-ls-chevron,.edu-ls-admin-inline,.edu-ls-subject-head>.edu-ls-action{
  flex:0 0 auto!important;
}
.edu-ls-subject-body{
  width:100%!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
}
.edu-ls-subject.open .edu-ls-subject-body{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:9px!important;
  padding:0 12px 12px!important;
}
.edu-ls-methodology,
.edu-ls-level{
  flex:0 0 auto!important;
  width:100%!important;
  min-width:0!important;
  min-height:52px!important;
  height:auto!important;
  max-height:none!important;
}
.edu-ls-methodology{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  align-items:center!important;
}
.edu-ls-level{display:block!important;overflow:hidden!important}
.edu-ls-level-head{
  display:flex!important;
  align-items:center!important;
  width:100%!important;
  min-width:0!important;
  min-height:52px!important;
  height:auto!important;
  max-height:none!important;
  padding:10px 11px!important;
  overflow:visible!important;
}
.edu-ls-level-title{flex:1 1 auto!important;min-width:0!important;overflow:hidden!important}
.edu-ls-level-title strong,.edu-ls-level-title small{display:block!important;line-height:1.35!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.edu-ls-level-body{width:100%!important;min-width:0!important;height:auto!important;max-height:none!important;overflow:visible!important}
.edu-ls-level.open .edu-ls-level-body{
  display:flex!important;
  flex-direction:column!important;
  gap:7px!important;
  padding:0 10px 10px!important;
}
.edu-ls-item{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  align-items:center!important;
  width:100%!important;
  min-width:0!important;
  min-height:50px!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
}
.edu-ls-item-main{min-width:0!important;overflow:hidden!important}
.edu-ls-item-main strong,.edu-ls-item-main span{line-height:1.35!important}
.edu-ls-item-actions{min-width:0!important}
.edu-ls-manager{
  max-width:calc(100% - 12px)!important;
  min-height:0!important;
  box-sizing:border-box!important;
}

@media (min-width:1600px){
  .edu-ls-box{width:min(1580px,calc(100vw - 24px))!important;max-width:1580px!important}
  .edu-ls-content{padding:16px!important;gap:11px!important}
}
@media (max-width:900px){
  .edu-ls-modal.show{padding:5px!important}
  .edu-ls-box{width:calc(100vw - 10px)!important;height:calc(100dvh - 10px)!important;max-height:calc(100dvh - 10px)!important}
  .edu-ls-head{padding:11px 12px!important}
  .edu-ls-toolbar{padding:9px 11px!important;gap:7px!important}
  .edu-ls-content{padding:10px!important;gap:8px!important}
  .edu-ls-subject{min-height:60px!important}
  .edu-ls-subject-head{min-height:58px!important;padding:9px 10px!important}
  .edu-ls-subject-mark{width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important;flex-basis:36px!important}
}
@media (max-width:600px){
  .edu-ls-modal.show{padding:0!important}
  .edu-ls-box{width:100vw!important;height:100dvh!important;max-width:100vw!important;max-height:100dvh!important;border-radius:0!important}
  .edu-ls-head{gap:8px!important;padding:9px!important}
  .edu-ls-head-main{gap:8px!important}
  .edu-ls-head h2{font-size:.88rem!important}
  .edu-ls-head-actions{gap:4px!important}
  .edu-ls-icon-btn{width:34px!important;height:34px!important;min-width:34px!important}
  .edu-ls-toolbar{display:grid!important;grid-template-columns:minmax(0,1fr)!important;padding:8px!important}
  .edu-ls-summary{width:100%!important;white-space:normal!important;line-height:1.35!important}
  .edu-ls-content{padding:8px!important;gap:7px!important;scrollbar-gutter:auto!important}
  .edu-ls-subject{min-height:58px!important;border-radius:13px!important}
  .edu-ls-subject-head{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;min-height:56px!important;gap:8px!important;padding:8px 9px!important}
  .edu-ls-subject-head>.edu-ls-action{grid-column:3!important;grid-row:1!important}
  .edu-ls-subject-count{display:none!important}
  .edu-ls-subject-head>.edu-ls-chevron{grid-column:3!important;grid-row:1!important;margin-inline-start:34px!important}
  .edu-ls-subject-title strong{font-size:.72rem!important}
  .edu-ls-subject-title small{font-size:.54rem!important}
  .edu-ls-subject.open .edu-ls-subject-body{padding:0 8px 8px!important;gap:7px!important}
  .edu-ls-methodology,.edu-ls-item{grid-template-columns:auto minmax(0,1fr)!important;gap:8px!important}
  .edu-ls-methodology .edu-ls-item-actions,.edu-ls-item .edu-ls-item-actions{grid-column:1/-1!important;justify-content:flex-end!important;width:100%!important}
  .edu-ls-level-head{min-height:50px!important;padding:8px 9px!important}
  .edu-ls-level.open .edu-ls-level-body{padding:0 7px 7px!important}
  .edu-ls-item{min-height:48px!important;padding:8px!important}
  .edu-ls-manager{inset:0!important;width:100%!important;max-width:100%!important;border-inline-start:0!important;border-radius:0!important;padding:10px!important}
}
@media (max-width:390px){
  .edu-ls-head p{display:none!important}
  .edu-ls-head-icon{width:34px!important;height:34px!important;min-width:34px!important}
  .edu-ls-head-actions .edu-ls-icon-btn{width:32px!important;height:32px!important;min-width:32px!important}
  .edu-ls-subject-mark{width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important;flex-basis:34px!important}
  .edu-ls-action{min-width:32px!important;padding:0 7px!important}
}
@media (max-height:620px) and (min-width:601px){
  .edu-ls-box{height:calc(100dvh - 8px)!important;max-height:calc(100dvh - 8px)!important}
  .edu-ls-head{padding:8px 11px!important}
  .edu-ls-head-icon{width:34px!important;height:34px!important}
  .edu-ls-head p{display:none!important}
  .edu-ls-toolbar{padding:7px 10px!important}
  .edu-ls-search{min-height:36px!important}
  .edu-ls-content{padding:8px 10px!important;gap:7px!important}
  .edu-ls-subject{min-height:54px!important}
  .edu-ls-subject-head{min-height:52px!important;padding:7px 10px!important}
  .edu-ls-subject-mark{width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important;flex-basis:34px!important}
}

/* v2.5.54 — local PDF.js reader. Never delegates PDF rendering to the browser. */
.edu-lsv-pdf-local{display:flex!important;flex-direction:column!important;width:min(1120px,100%)!important;height:100%!important;min-height:0!important;background:#dce3ec!important;border-radius:10px!important;overflow:hidden!important}
.edu-lsv-pdf-tools{display:flex!important;align-items:center!important;gap:6px!important;flex:0 0 auto!important;min-height:44px!important;padding:6px 9px!important;background:#f8fafc!important;border-bottom:1px solid #cbd5e1!important;color:#334155!important;position:sticky!important;top:0!important;z-index:4!important}
.edu-lsv-pdf-tools button{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:32px!important;height:32px!important;border:1px solid #cbd5e1!important;border-radius:8px!important;background:#fff!important;color:#334155!important;cursor:pointer!important}
.edu-lsv-pdf-tools button:disabled{opacity:.35!important;cursor:not-allowed!important}.edu-lsv-pdf-tools button:not(:disabled):hover{color:#0f766e!important;border-color:#5eead4!important}
.edu-lsv-pdf-tools span{font:700 12px/1.2 Space Grotesk,sans-serif!important;white-space:nowrap!important}.edu-lsv-pdf-spacer{flex:1 1 auto!important}
.edu-lsv-pdf-scroll{flex:1 1 auto!important;min-height:0!important;overflow:auto!important;display:flex!important;align-items:flex-start!important;justify-content:center!important;padding:12px!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important}
#edu-lsv-pdf-canvas{display:block!important;max-width:none!important;background:#fff!important;box-shadow:0 5px 22px rgba(15,23,42,.22)!important;border-radius:2px!important}
@media(max-width:600px){
 .edu-lsv-pdf-local{width:100%!important;height:100%!important;border-radius:0!important}
 .edu-lsv-pdf-tools{min-height:42px!important;padding:5px 7px!important;gap:4px!important}
 .edu-lsv-pdf-tools button{width:31px!important;height:31px!important}
 .edu-lsv-pdf-scroll{padding:7px!important;justify-content:flex-start!important}
 .edu-lsv-stage:has(.edu-lsv-pdf-local){padding:0!important;overflow:hidden!important}
}

/* ══════════════════════════════════════════════════════════════
   v2.5.54 — stable controls, responsive interactive HTML lessons,
   mobile-safe internal viewer, and non-overlapping library cards.
   ══════════════════════════════════════════════════════════════ */
.edu-ls-subject-controls,.edu-ls-level-controls{
  display:flex!important;align-items:center!important;justify-content:flex-end!important;
  gap:6px!important;flex:0 0 auto!important;min-width:0!important;
}
.edu-ls-level-controls .edu-ls-admin-inline{margin:0!important;display:flex!important;align-items:center!important;gap:5px!important;flex:0 0 auto!important}
.edu-ls-toggle-chip{
  width:32px!important;height:32px!important;min-width:32px!important;flex:0 0 32px!important;
  border:1px solid var(--border)!important;border-radius:9px!important;background:rgba(255,255,255,.035)!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;color:var(--text-muted)!important;
  box-sizing:border-box!important;pointer-events:none!important;
}
.edu-ls-subject .edu-ls-subject-head .edu-ls-chevron,.edu-ls-level .edu-ls-level-head .edu-ls-chevron{transform:none!important;margin:0!important;transition:transform .2s ease!important}
.edu-ls-subject.open>.edu-ls-subject-head .edu-ls-chevron{transform:rotate(180deg)!important}
.edu-ls-level.open>.edu-ls-level-head .edu-ls-chevron{transform:rotate(180deg)!important}
.edu-ls-subject-upload{width:32px!important;min-width:32px!important;padding:0!important;flex:0 0 32px!important}
.edu-ls-subject-count{flex:0 0 auto!important}

.edu-lsv-stage.is-html,.edu-lsv-stage.is-pdf{padding:0!important;overflow:hidden!important;align-items:stretch!important;justify-content:stretch!important}
.edu-lsv-html-shell{position:relative!important;display:flex!important;flex:1 1 auto!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;background:#fff!important;overflow:hidden!important;z-index:2!important}
.edu-lsv-html-frame{display:block!important;flex:1 1 auto!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;border:0!important;border-radius:0!important;background:#fff!important}
.edu-lsv-html-loading{position:absolute!important;inset:0!important;z-index:2!important;display:flex!important;align-items:center!important;justify-content:center!important;color:#64748b!important;background:#fff!important;font-size:1.15rem!important;pointer-events:none!important}
.edu-lsv-stage.is-media{align-items:center!important;justify-content:center!important}
.edu-lsv-stage.is-media video,.edu-lsv-stage.is-media audio{max-width:100%!important;max-height:100%!important}

.edu-lsv-box,.edu-ls-box{box-sizing:border-box!important}
.edu-lsv-head{min-width:0!important;flex:0 0 auto!important}
.edu-lsv-title-wrap{flex:1 1 auto!important;min-width:0!important;overflow:hidden!important}
.edu-lsv-actions{flex:0 0 auto!important;min-width:0!important;white-space:nowrap!important}
.edu-lsv-stage{min-width:0!important;width:100%!important;box-sizing:border-box!important}
.edu-lsv-foot{flex:0 0 auto!important;min-height:34px!important;box-sizing:border-box!important}

/* PDF.js 3.x legacy build: classic scripts avoid .mjs MIME/module failures on mobile hosts. */
.edu-lsv-stage.is-pdf .edu-lsv-pdf-local{width:100%!important;max-width:100%!important;border-radius:0!important}
.edu-lsv-pdf-tools{box-sizing:border-box!important;max-width:100%!important;overflow:hidden!important}
.edu-lsv-pdf-scroll{box-sizing:border-box!important;max-width:100%!important}

@media(max-width:600px){
  .edu-ls-subject-head{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important}
  .edu-ls-subject-controls{grid-column:3!important;grid-row:1!important;gap:5px!important}
  .edu-ls-subject-count{display:none!important}
  .edu-ls-level-head{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;gap:7px!important}
  .edu-ls-level-controls{grid-column:3!important;grid-row:1!important;gap:4px!important}
  .edu-ls-level-controls .edu-ls-admin-inline{gap:4px!important}
  .edu-ls-toggle-chip,.edu-ls-subject-upload,.edu-ls-level-controls .edu-ls-action{width:31px!important;height:31px!important;min-width:31px!important;flex-basis:31px!important;padding:0!important}
  .edu-lsv-modal.show{padding:0!important;align-items:stretch!important;justify-content:stretch!important}
  .edu-lsv-box{width:100vw!important;height:100dvh!important;max-width:100vw!important;max-height:100dvh!important;border-radius:0!important}
  @supports(height:100svh){.edu-lsv-box{height:100svh!important;max-height:100svh!important}}
  .edu-lsv-head{padding:8px 9px!important;gap:7px!important;min-height:58px!important}
  .edu-lsv-title-wrap{gap:7px!important}
  .edu-lsv-type{width:34px!important;height:34px!important;min-width:34px!important;flex:0 0 34px!important}
  .edu-lsv-actions{gap:4px!important}
  .edu-lsv-actions button{width:34px!important;height:34px!important;min-width:34px!important;padding:0!important}
  .edu-lsv-title-wrap strong{font-size:.74rem!important}
  .edu-lsv-title-wrap span{font-size:.52rem!important}
  .edu-lsv-stage{padding:8px!important}
  .edu-lsv-stage.is-html,.edu-lsv-stage.is-pdf{padding:0!important}
  .edu-lsv-foot{padding:6px 8px!important;font-size:.52rem!important;line-height:1.35!important;text-align:center!important}
  .edu-lsv-pdf-tools{min-height:42px!important;padding:5px 6px!important;gap:4px!important;flex-wrap:nowrap!important}
  .edu-lsv-pdf-tools button{width:30px!important;height:30px!important;min-width:30px!important;padding:0!important}
  .edu-lsv-pdf-tools span{font-size:11px!important}
  .edu-lsv-pdf-scroll{padding:6px!important;justify-content:flex-start!important}
}
@media(max-width:360px){
  .edu-ls-head{padding:7px!important}.edu-ls-head-main{gap:6px!important}.edu-ls-head-icon{width:31px!important;height:31px!important;min-width:31px!important}.edu-ls-head h2{font-size:.8rem!important}
  .edu-ls-head-actions{gap:3px!important}.edu-ls-head-actions .edu-ls-icon-btn{width:30px!important;height:30px!important;min-width:30px!important}
  .edu-ls-subject-head{padding:7px!important;gap:6px!important}.edu-ls-subject-controls{gap:3px!important}.edu-ls-toggle-chip,.edu-ls-subject-upload{width:29px!important;height:29px!important;min-width:29px!important;flex-basis:29px!important}
  .edu-lsv-head{padding:6px!important;min-height:50px!important}.edu-lsv-type{width:30px!important;height:30px!important;min-width:30px!important;flex-basis:30px!important}.edu-lsv-actions button{width:30px!important;height:30px!important;min-width:30px!important}.edu-lsv-title-wrap span{display:none!important}
  .edu-lsv-pdf-tools{padding:4px!important;gap:2px!important}.edu-lsv-pdf-tools button{width:28px!important;height:28px!important;min-width:28px!important}.edu-lsv-pdf-tools #edu-lsv-pdf-zoom{display:none!important}.edu-lsv-pdf-spacer{min-width:2px!important}
  .edu-lsv-foot{font-size:.48rem!important;min-height:28px!important;padding:4px 6px!important}
}
@media(max-width:280px){
  .edu-ls-head-icon{display:none!important}.edu-ls-head h2{font-size:.72rem!important}.edu-ls-icon-btn{width:27px!important;height:27px!important;min-width:27px!important}.edu-ls-toolbar{padding:5px!important}.edu-ls-content{padding:5px!important}
  .edu-ls-subject-mark{width:30px!important;min-width:30px!important;height:30px!important;min-height:30px!important;flex-basis:30px!important}.edu-ls-subject-title strong{font-size:.64rem!important}.edu-ls-subject-title small{font-size:.48rem!important}
  .edu-lsv-title-wrap strong{font-size:.62rem!important}.edu-lsv-type{display:none!important}.edu-lsv-actions button{width:27px!important;height:27px!important;min-width:27px!important}.edu-lsv-pdf-tools span#edu-lsv-pdf-count{font-size:9px!important}.edu-lsv-pdf-tools button{width:25px!important;height:25px!important;min-width:25px!important}.edu-lsv-foot span{display:none!important}
}

/* Ultra-narrow displays (small embedded browsers / smart watches). */
@media(max-width:240px){
  .edu-ls-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:4px!important;padding:5px!important}
  .edu-ls-head-main{min-width:0!important;gap:4px!important}.edu-ls-head-icon,.edu-ls-head p{display:none!important}
  .edu-ls-head h2{font-size:.64rem!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
  .edu-ls-head-actions{gap:2px!important}.edu-ls-head-actions .edu-ls-icon-btn{width:24px!important;height:24px!important;min-width:24px!important;border-radius:7px!important;font-size:.58rem!important}
  .edu-ls-toolbar{padding:4px!important}.edu-ls-search{min-height:31px!important;padding:0 7px!important}.edu-ls-search input{font-size:.58rem!important}.edu-ls-summary{font-size:.48rem!important}
  .edu-ls-content{padding:4px!important;gap:5px!important}.edu-ls-subject-head{grid-template-columns:26px minmax(0,1fr) auto!important;padding:5px!important;gap:4px!important;min-height:44px!important}
  .edu-ls-subject-mark{width:26px!important;min-width:26px!important;height:26px!important;min-height:26px!important;flex-basis:26px!important;border-radius:8px!important;font-size:.62rem!important}
  .edu-ls-subject-title strong{font-size:.56rem!important}.edu-ls-subject-title small{font-size:.43rem!important}.edu-ls-subject-controls{gap:2px!important}
  .edu-ls-toggle-chip,.edu-ls-subject-upload{width:24px!important;height:24px!important;min-width:24px!important;flex-basis:24px!important;border-radius:7px!important;font-size:.52rem!important}
  .edu-lsv-head{min-height:42px!important;padding:4px!important;gap:3px!important}.edu-lsv-title-wrap strong{font-size:.55rem!important}.edu-lsv-actions{gap:2px!important}.edu-lsv-actions button{width:24px!important;height:24px!important;min-width:24px!important;border-radius:6px!important}
  .edu-lsv-pdf-tools{min-height:34px!important;padding:3px!important;gap:1px!important}.edu-lsv-pdf-tools button{width:22px!important;height:22px!important;min-width:22px!important;border-radius:5px!important}.edu-lsv-pdf-tools span{font-size:8px!important}.edu-lsv-pdf-scroll{padding:3px!important}
  .edu-lsv-foot{min-height:22px!important;padding:2px 4px!important;font-size:.42rem!important}
}

/* v2.5.66 — fidelity-safe local document rendering */
#edu-lsv-pdf-canvas{
  width:auto!important;
  height:auto!important;
  max-width:none!important;
  max-height:none!important;
  min-width:0!important;
  flex:0 0 auto!important;
  transform:none!important;
  transform-origin:center top!important;
  zoom:1!important;
  image-rendering:auto!important;
  object-fit:contain!important;
}
.edu-lsv-pdf-scroll{
  contain:layout paint!important;
}
.edu-lsv-stage.is-pdf{
  contain:layout paint!important;
}
.edu-lsv-stage.is-pdf canvas,
.edu-lsv-stage.is-pdf .edu-lsv-pdf-local{
  letter-spacing:normal!important;
  word-spacing:normal!important;
  font-stretch:normal!important;
}
.edu-lsv-stage.is-media video,
.edu-lsv-stage.is-media img,
.edu-lsv-slide-el img{
  object-fit:contain!important;
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:100%!important;
  aspect-ratio:auto!important;
}

/* ══════════════════════════════════════════════════════════════
   v2.5.66 — one consolidated HTML file per level.
   Each level is a direct-open card. Administrative actions live in
   a compact three-dot menu instead of crowding the level title.
   ══════════════════════════════════════════════════════════════ */
.edu-ls-level-list{
  display:flex!important;
  flex-direction:column!important;
  gap:8px!important;
  width:100%!important;
  min-width:0!important;
}
.edu-ls-item.is-methodology{
  border-color:rgba(240,180,41,.28)!important;
  background:linear-gradient(135deg,rgba(240,180,41,.065),rgba(34,211,178,.025))!important;
}
.edu-ls-item.is-methodology .edu-ls-item-icon{
  color:var(--gold)!important;
  background:rgba(240,180,41,.11)!important;
}
.edu-ls-level-card{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:stretch!important;
  gap:7px!important;
  width:100%!important;
  min-width:0!important;
  border:1px solid var(--border)!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.025)!important;
  padding:6px!important;
  box-sizing:border-box!important;
  overflow:visible!important;
  transition:border-color .18s ease,background .18s ease,transform .18s ease!important;
}
.edu-ls-level-card:hover{
  border-color:rgba(34,211,178,.28)!important;
  background:rgba(34,211,178,.035)!important;
}
.edu-ls-level-card.has-content:hover{transform:translateY(-1px)!important}
.edu-ls-level-main{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto auto!important;
  align-items:center!important;
  gap:10px!important;
  width:100%!important;
  min-width:0!important;
  min-height:58px!important;
  border:0!important;
  border-radius:10px!important;
  background:transparent!important;
  color:inherit!important;
  padding:7px 9px!important;
  text-align:start!important;
  cursor:pointer!important;
  box-sizing:border-box!important;
}
.edu-ls-level-card.no-content .edu-ls-level-main{cursor:default!important}
.edu-ls-level-index{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:42px!important;
  height:38px!important;
  padding:0 9px!important;
  border-radius:11px!important;
  background:linear-gradient(135deg,rgba(167,139,250,.14),rgba(34,211,178,.08))!important;
  color:#a78bfa!important;
  font-size:.67rem!important;
  font-weight:950!important;
  line-height:1!important;
  flex:0 0 auto!important;
  box-sizing:border-box!important;
}
.edu-ls-level-copy{
  display:block!important;
  min-width:0!important;
  overflow:hidden!important;
}
.edu-ls-level-copy>strong{
  display:block!important;
  min-width:0!important;
  color:var(--text-primary)!important;
  font-size:.73rem!important;
  font-weight:950!important;
  line-height:1.35!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.edu-ls-level-copy>small{
  display:block!important;
  min-width:0!important;
  margin-top:3px!important;
  color:var(--text-muted)!important;
  font-size:.55rem!important;
  line-height:1.4!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.edu-ls-level-badges{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:5px!important;
  margin-top:5px!important;
}
.edu-ls-level-badge{
  display:inline-flex!important;
  align-items:center!important;
  gap:4px!important;
  max-width:100%!important;
  border:1px solid var(--border)!important;
  border-radius:999px!important;
  padding:3px 7px!important;
  color:var(--text-muted)!important;
  background:rgba(255,255,255,.03)!important;
  font-size:.49rem!important;
  font-weight:850!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.edu-ls-level-badge.exam{color:var(--gold)!important;border-color:rgba(240,180,41,.25)!important;background:rgba(240,180,41,.06)!important}
.edu-ls-level-badge.viewed{color:#93c5fd!important;border-color:rgba(96,165,250,.28)!important;background:rgba(59,130,246,.08)!important}
.edu-ls-level-badge.done{color:#86efac!important;border-color:rgba(34,197,94,.30)!important;background:rgba(34,197,94,.09)!important}
.edu-ls-level-status{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:28px!important;
  height:28px!important;
  border-radius:50%!important;
  font-size:.66rem!important;
  flex:0 0 28px!important;
}
.edu-ls-level-status.ready{color:#34d399!important;background:rgba(16,185,129,.11)!important}
.edu-ls-level-status.missing{color:var(--text-muted)!important;background:rgba(148,163,184,.08)!important}
.edu-ls-level-open-icon{
  color:var(--text-muted)!important;
  font-size:.62rem!important;
  opacity:.75!important;
  flex:0 0 auto!important;
}
.edu-ls-level-card.no-content .edu-ls-level-open-icon{opacity:.22!important}
.edu-ls-level-more{
  align-self:center!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:38px!important;
  min-width:38px!important;
  height:38px!important;
  border:1px solid var(--border)!important;
  border-radius:11px!important;
  background:rgba(255,255,255,.035)!important;
  color:var(--text-secondary)!important;
  cursor:pointer!important;
  box-sizing:border-box!important;
}
.edu-ls-level-more:hover,.edu-ls-level-more:focus-visible{
  color:var(--primary)!important;
  border-color:rgba(34,211,178,.35)!important;
  background:rgba(34,211,178,.08)!important;
  outline:0!important;
}
.edu-ls-level-menu{
  position:fixed!important;
  z-index:2147483000!important;
  display:none!important;
  width:min(290px,calc(100vw - 20px))!important;
  max-height:min(70dvh,520px)!important;
  overflow:auto!important;
  padding:8px!important;
  border:1px solid var(--border-strong,#334155)!important;
  border-radius:14px!important;
  background:var(--surface,#071126)!important;
  box-shadow:0 18px 55px rgba(0,0,0,.42)!important;
  box-sizing:border-box!important;
  direction:inherit!important;
}
.edu-ls-level-menu.show{display:grid!important;gap:5px!important}
.edu-ls-level-menu-title{
  padding:7px 9px 9px!important;
  border-bottom:1px solid var(--border)!important;
  color:var(--text-primary)!important;
  font-size:.67rem!important;
  font-weight:950!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.edu-ls-level-menu button{
  display:grid!important;
  grid-template-columns:24px minmax(0,1fr)!important;
  align-items:center!important;
  gap:8px!important;
  width:100%!important;
  min-height:39px!important;
  border:0!important;
  border-radius:9px!important;
  background:transparent!important;
  color:var(--text-secondary)!important;
  padding:8px 9px!important;
  text-align:start!important;
  font-family:inherit!important;
  font-size:.62rem!important;
  font-weight:850!important;
  cursor:pointer!important;
}
.edu-ls-level-menu button i{text-align:center!important;color:var(--primary)!important}
.edu-ls-level-menu button:hover,.edu-ls-level-menu button:focus-visible{background:rgba(34,211,178,.08)!important;color:var(--text-primary)!important;outline:0!important}
.edu-ls-level-menu button.danger{color:#fca5a5!important}
.edu-ls-level-menu button.danger i{color:#f87171!important}
.edu-ls-level-menu button.danger:hover{background:rgba(248,113,113,.09)!important}
.edu-ls-level-menu button[disabled]{opacity:.4!important;cursor:not-allowed!important}
#app[data-theme="light"] .edu-ls-level-card{background:#fff!important}
#app[data-theme="light"] .edu-ls-level-card:hover{background:#f5fffc!important}
#app[data-theme="light"] .edu-ls-level-menu,.edu-ls-level-menu[data-theme="light"]{background:#fff!important;border-color:#dbe4ee!important;box-shadow:0 18px 50px rgba(15,23,42,.18)!important}
#app[data-theme="light"] .edu-ls-level-menu button{color:#334155!important}
#app[data-theme="light"] .edu-ls-level-menu-title{color:#0f172a!important}

@media(max-width:600px){
  .edu-ls-level-card{grid-template-columns:minmax(0,1fr) auto!important;gap:5px!important;padding:5px!important;border-radius:12px!important}
  .edu-ls-level-main{grid-template-columns:auto minmax(0,1fr) auto!important;gap:8px!important;min-height:55px!important;padding:6px!important}
  .edu-ls-level-open-icon{display:none!important}
  .edu-ls-level-index{min-width:38px!important;height:36px!important;padding:0 7px!important;border-radius:10px!important}
  .edu-ls-level-copy>strong{font-size:.69rem!important}
  .edu-ls-level-copy>small{font-size:.52rem!important}
  .edu-ls-level-more{width:36px!important;min-width:36px!important;height:36px!important;border-radius:10px!important}
  .edu-ls-level-status{width:25px!important;height:25px!important;flex-basis:25px!important}
  .edu-ls-level-menu.mobile{
    left:10px!important;right:10px!important;bottom:10px!important;top:auto!important;
    width:auto!important;max-width:none!important;max-height:min(70dvh,520px)!important;
    border-radius:17px!important;padding:9px!important;
  }
  .edu-ls-level-menu.mobile button{min-height:44px!important;font-size:.66rem!important}
}
@media(max-width:360px){
  .edu-ls-level-main{grid-template-columns:auto minmax(0,1fr)!important}
  .edu-ls-level-status{display:none!important}
  .edu-ls-level-badges{display:none!important}
}

/* v2.5.66 — subject-first file rows: no upload control on collapsed subjects,
   methodology above levels, one HTML file per level, and one exam row after each level. */
.edu-ls-subject-controls{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  flex:0 0 auto!important;
}
.edu-ls-subject-head>.edu-ls-subject-upload,
.edu-ls-subject-controls>.edu-ls-subject-upload{
  display:none!important;
}
.edu-ls-subject-body{
  min-width:0!important;
}
.edu-ls-subject.open .edu-ls-subject-body{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:10px!important;
  padding:0 12px 12px!important;
}
.edu-ls-level-list{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:8px!important;
  min-width:0!important;
}
.edu-ls-item{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:10px!important;
  min-width:0!important;
  padding:9px 10px!important;
  border-radius:13px!important;
  box-sizing:border-box!important;
}
.edu-ls-item.is-methodology{
  border:1px solid rgba(240,180,41,.30)!important;
  background:linear-gradient(135deg,rgba(240,180,41,.08),rgba(240,180,41,.025))!important;
}
.edu-ls-item.is-level-content{
  border:1px solid var(--border)!important;
  background:rgba(255,255,255,.025)!important;
}
.edu-ls-item.is-exam{
  position:relative!important;
  margin:0 18px 4px!important;
  border:1px dashed rgba(240,180,41,.38)!important;
  background:rgba(240,180,41,.045)!important;
}
.edu-ls-item.is-exam::before,
.edu-ls-item.is-exam::after{
  content:""!important;
  position:absolute!important;
  inset-inline-start:18px!important;
  width:1px!important;
  height:8px!important;
  background:rgba(240,180,41,.28)!important;
}
.edu-ls-item.is-exam::before{top:-9px!important}
.edu-ls-item.is-exam::after{bottom:-9px!important}
.edu-ls-item-open{
  min-width:0!important;
  width:100%!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  align-items:center!important;
  gap:10px!important;
  border:0!important;
  background:transparent!important;
  color:inherit!important;
  padding:0!important;
  margin:0!important;
  text-align:start!important;
  font-family:inherit!important;
  cursor:pointer!important;
}
.edu-ls-item-open[disabled]{
  cursor:default!important;
  opacity:1!important;
}
.edu-ls-item-open:not([disabled]):hover .edu-ls-item-main strong,
.edu-ls-item-open:not([disabled]):focus-visible .edu-ls-item-main strong{
  color:var(--primary)!important;
}
.edu-ls-item-open:focus-visible{
  outline:2px solid rgba(34,211,178,.28)!important;
  outline-offset:4px!important;
  border-radius:9px!important;
}
.edu-ls-item-main{
  display:block!important;
  min-width:0!important;
}
.edu-ls-item-main strong,
.edu-ls-item-main span{
  display:block!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.edu-ls-item-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:6px!important;
  min-width:0!important;
  flex-wrap:wrap!important;
}
.edu-ls-item-actions .edu-ls-action{
  min-height:33px!important;
  height:33px!important;
  min-width:33px!important;
  padding:0 9px!important;
  border-radius:9px!important;
  white-space:nowrap!important;
}
.edu-ls-item-actions .edu-ls-action span{
  display:inline!important;
}
.edu-ls-item-actions .edu-ls-action[disabled]{
  opacity:.36!important;
}
.edu-ls-item.is-level-content .edu-ls-level-index{
  min-width:46px!important;
  height:38px!important;
  padding:0 9px!important;
  border-radius:10px!important;
  font-size:.68rem!important;
  flex:0 0 auto!important;
}
.edu-ls-item.is-exam .edu-ls-item-icon{
  color:var(--gold)!important;
  background:rgba(240,180,41,.10)!important;
}
#app[data-theme="light"] .edu-ls-item.is-level-content{
  background:#fff!important;
}
#app[data-theme="light"] .edu-ls-item.is-methodology{
  background:linear-gradient(135deg,#fffaf0,#fff)!important;
}
#app[data-theme="light"] .edu-ls-item.is-exam{
  background:#fffdf7!important;
}
@media(max-width:760px){
  .edu-ls-subject.open .edu-ls-subject-body{
    padding:0 8px 8px!important;
    gap:8px!important;
  }
  .edu-ls-item{
    grid-template-columns:minmax(0,1fr)!important;
    gap:8px!important;
    padding:9px!important;
  }
  .edu-ls-item-actions{
    width:100%!important;
    justify-content:flex-end!important;
  }
  .edu-ls-item-actions .edu-ls-action{
    flex:0 0 auto!important;
  }
  .edu-ls-item.is-exam{
    margin:0 8px 3px!important;
  }
}
@media(max-width:480px){
  .edu-ls-subject-count{display:none!important}
  .edu-ls-item-open{gap:8px!important}
  .edu-ls-item-main strong{font-size:.67rem!important}
  .edu-ls-item-main span{font-size:.52rem!important}
  .edu-ls-item-actions{
    display:grid!important;
    grid-template-columns:repeat(auto-fit,minmax(78px,1fr))!important;
    gap:5px!important;
  }
  .edu-ls-item-actions .edu-ls-action{
    width:100%!important;
    min-width:0!important;
    padding:0 5px!important;
    font-size:.51rem!important;
  }
  .edu-ls-item-actions .edu-ls-action span{
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .edu-ls-item.is-exam{
    margin-inline:4px!important;
  }
}
@media(max-width:320px){
  .edu-ls-item-actions .edu-ls-action span{display:none!important}
  .edu-ls-item-actions .edu-ls-action{height:32px!important;min-height:32px!important}
  .edu-ls-item.is-level-content .edu-ls-level-index{min-width:38px!important;height:34px!important;padding:0 6px!important}
}

/* v2.5.66 — direct native file picker upload state. */
.edu-ls-action.is-uploading{opacity:.7;pointer-events:none;position:relative}
.edu-ls-action.is-uploading i{animation:eduLsSpin .8s linear infinite}
@keyframes eduLsSpin{to{transform:rotate(360deg)}}


/* v2.5.66 — protected viewer header alignment and uncluttered controls. */
.edu-lsv-head{
  box-sizing:border-box!important;
  min-width:0!important;
  min-height:58px!important;
  padding:9px 12px!important;
  align-items:center!important;
}
.edu-lsv-modal[dir="rtl"] .edu-lsv-head{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  column-gap:10px!important;
}
.edu-lsv-modal[dir="rtl"] .edu-lsv-actions{grid-column:1!important;grid-row:1!important;justify-self:start!important;direction:ltr!important}
.edu-lsv-modal[dir="rtl"] .edu-lsv-title-wrap{grid-column:2!important;grid-row:1!important;justify-self:stretch!important;direction:rtl!important;text-align:right!important}
.edu-lsv-modal[dir="ltr"] .edu-lsv-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  column-gap:10px!important;
}
.edu-lsv-modal[dir="ltr"] .edu-lsv-title-wrap{grid-column:1!important;grid-row:1!important;justify-self:stretch!important;direction:ltr!important;text-align:left!important}
.edu-lsv-modal[dir="ltr"] .edu-lsv-actions{grid-column:2!important;grid-row:1!important;justify-self:end!important;direction:ltr!important}
.edu-lsv-actions{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:6px!important;
  min-width:0!important;
  min-height:36px!important;
  margin:0!important;
  padding:0!important;
  line-height:1!important;
}
.edu-lsv-actions button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 34px!important;
  width:34px!important;
  min-width:34px!important;
  height:34px!important;
  min-height:34px!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
  line-height:1!important;
  vertical-align:middle!important;
}
.edu-lsv-actions button i{display:block!important;line-height:1!important;margin:0!important;transform:none!important}
.edu-lsv-title-wrap{max-width:100%!important;min-width:0!important;overflow:hidden!important}
.edu-lsv-title-wrap>div:last-child{min-width:0!important;overflow:hidden!important}
.edu-lsv-title-wrap strong,.edu-lsv-title-wrap span{max-width:100%!important}
@media(max-width:600px){
  .edu-lsv-head{min-height:54px!important;padding:7px 8px!important}
  .edu-lsv-actions{gap:5px!important;min-height:34px!important}
  .edu-lsv-actions button{flex-basis:32px!important;width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important}
}
@media(max-width:300px){
  .edu-lsv-head{column-gap:5px!important;padding:5px!important}
  .edu-lsv-actions{gap:3px!important}
  .edu-lsv-actions button{flex-basis:28px!important;width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important}
}

/* ══════════════════════════════════════════════════════════════
   v2.7.0 — fast, responsive universal learning viewer.
   ══════════════════════════════════════════════════════════════ */
.edu-lsv-modal.show{display:flex!important;align-items:center!important;justify-content:center!important;padding:10px!important;overflow:hidden!important}
.edu-lsv-box{height:calc(100vh - 20px)!important;max-height:calc(100vh - 20px)!important}
.edu-lsv-box{width:min(1680px,calc(100vw - 20px))!important;height:calc(100dvh - 20px)!important;max-width:1680px!important;max-height:calc(100dvh - 20px)!important;min-width:0!important;min-height:0!important;border-radius:18px!important;transition:width .16s ease,height .16s ease,border-radius .16s ease!important}
.edu-lsv-modal.is-expanded{padding:0!important}
.edu-lsv-modal.is-expanded .edu-lsv-box{height:100vh!important;max-height:100vh!important}
.edu-lsv-modal.is-expanded .edu-lsv-box{width:100vw!important;height:100dvh!important;max-width:100vw!important;max-height:100dvh!important;border:0!important;border-radius:0!important}
@supports(height:100svh){.edu-lsv-modal.is-expanded .edu-lsv-box{height:100svh!important;max-height:100svh!important}}
.edu-lsv-stage.is-image,.edu-lsv-stage.is-code,.edu-lsv-stage.is-program,.edu-lsv-stage.is-html,.edu-lsv-stage.is-media,.edu-lsv-stage.is-pdf,.edu-lsv-stage.is-office{padding:0!important;overflow:hidden!important;display:block!important;contain:layout paint!important}
.edu-lsv-format-tools{min-height:46px;display:flex;align-items:center;gap:7px;padding:6px 9px;border-bottom:1px solid #d9e2ec;background:#f7fafc;color:#334155;flex:0 0 auto;box-sizing:border-box}
.edu-lsv-format-tools button,.edu-lsv-sheet-tools button{width:34px;height:34px;min-width:34px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#334155;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.edu-lsv-format-tools button:hover,.edu-lsv-format-tools button.active,.edu-lsv-sheet-tools button:hover{border-color:#2dd4bf;color:#0f766e;background:#f0fdfa}
.edu-lsv-format-tools>span{font:750 11px/1.2 Space Grotesk,sans-serif;white-space:nowrap}.edu-lsv-tool-note{margin-inline-start:auto!important;color:#64748b!important;display:inline-flex;align-items:center;gap:6px}

/* Image: real scroll dimensions make vertical and horizontal dragging reliable. */
.edu-lsv-image-reader{width:100%;height:100%;min-height:0;display:flex;flex-direction:column;background:#07101d}
.edu-lsv-image-scroll{position:relative;flex:1;min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;touch-action:none;-webkit-overflow-scrolling:touch;cursor:default;scrollbar-gutter:stable;background:radial-gradient(circle at center,rgba(51,65,85,.46),rgba(2,6,23,.92));outline:0}
.edu-lsv-image-scroll.can-pan{cursor:grab}.edu-lsv-image-scroll.dragging{cursor:grabbing!important}
.edu-lsv-image-canvas{position:relative;display:flex;align-items:center;justify-content:center;min-width:100%;min-height:100%;padding:16px;box-sizing:border-box}
.edu-lsv-stage .edu-lsv-image-reader img.edu-lsv-image{display:block!important;flex:0 0 auto!important;max-width:none!important;max-height:none!important;min-width:0!important;min-height:0!important;width:auto;height:auto;margin:auto!important;object-fit:fill!important;border-radius:7px;box-shadow:0 18px 55px rgba(0,0,0,.44);user-select:none;-webkit-user-drag:none;pointer-events:none}

/* Source and HTML preview workbench. */
.edu-lsv-code-workbench{position:relative;width:100%;height:100%;min-height:0;display:flex;flex-direction:column;background:#07101d;color:#dce7f5}
.edu-lsv-code-tools{background:#0d1929!important;border-color:rgba(148,163,184,.17)!important;color:#cbd5e1!important}
.edu-lsv-code-tools button{width:auto!important;min-width:40px!important;padding:0 11px!important;gap:7px!important;background:rgba(255,255,255,.04)!important;border-color:rgba(148,163,184,.20)!important;color:#9fb2c6!important;font:800 11px/1 Space Grotesk,sans-serif!important}
.edu-lsv-code-tools button.active{background:rgba(45,212,191,.12)!important;border-color:rgba(45,212,191,.40)!important;color:#5eead4!important}.edu-lsv-code-tools button span{display:inline}
.edu-lsv-code-language{margin-inline-start:auto!important;color:#7890a8!important}.edu-lsv-code-wrap{padding:0!important;width:34px!important;min-width:34px!important}
.edu-lsv-code-panel{display:none;flex:1;min-height:0}.edu-lsv-code-panel.active{display:block}
.edu-lsv-code-view{overflow:auto;background:#07101d;direction:ltr;text-align:left;tab-size:2;scrollbar-gutter:stable}
.edu-lsv-code-lines{counter-reset:line;margin:0;padding:14px 0 28px;min-width:max-content;list-style:none;font:500 13px/1.62 ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;color:#d8e4f0}
.edu-lsv-code-lines li{counter-increment:line;display:grid;grid-template-columns:58px minmax(max-content,1fr);min-height:21px;padding-inline-end:20px}
.edu-lsv-code-lines li::before{content:counter(line);position:sticky;left:0;padding:0 14px 0 8px;text-align:right;color:#496177;background:#07101d;border-inline-end:1px solid rgba(148,163,184,.10);user-select:none}
.edu-lsv-code-lines code{display:block;padding-inline-start:15px;white-space:pre;color:inherit;background:transparent;font:inherit}
.edu-lsv-code-view.is-wrapped .edu-lsv-code-lines{min-width:100%}.edu-lsv-code-view.is-wrapped .edu-lsv-code-lines li{grid-template-columns:58px minmax(0,1fr)}.edu-lsv-code-view.is-wrapped .edu-lsv-code-lines code{white-space:pre-wrap;overflow-wrap:anywhere}
.edu-lsv-code-lines .tok-comment{color:#64809a;font-style:italic}.edu-lsv-code-lines .tok-tag,.edu-lsv-code-lines .tok-keyword{color:#5eead4}.edu-lsv-code-lines .tok-string{color:#f0c674}.edu-lsv-code-lines .tok-number{color:#c4a7e7}.edu-lsv-code-lines .is-truncated code{color:#fbbf24}
.edu-lsv-html-preview{background:#fff;overflow:hidden}.edu-lsv-html-preview.active{display:block!important}.edu-lsv-html-preview iframe{width:100%!important;height:100%!important;border:0!important;border-radius:0!important;background:#fff!important}
.edu-lsv-source-note{position:absolute;inset-inline:12px;bottom:10px;z-index:3;width:max-content;max-width:calc(100% - 24px);padding:5px 8px;border-radius:7px;background:rgba(15,23,42,.78);color:#7890a8;font-size:10px;pointer-events:none}

/* Source files in the educational library never expose their code. Only HTML
   receives the direct rendered lesson above; non-renderable formats show this
   neutral visual state. */
.edu-lsv-program-visual{width:100%;height:100%;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:28px;text-align:center;background:radial-gradient(circle at 50% 35%,rgba(45,212,191,.12),rgba(2,6,23,.96) 58%);color:#dce7f5;box-sizing:border-box}
.edu-lsv-program-icon{width:64px;height:64px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(45,212,191,.35);border-radius:20px;background:rgba(45,212,191,.10);color:#5eead4;font-size:1.45rem;box-shadow:0 18px 50px rgba(0,0,0,.24)}
.edu-lsv-program-visual strong{max-width:min(620px,90%);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:900 15px/1.4 Space Grotesk,sans-serif}.edu-lsv-program-visual>span:not(.edu-lsv-program-icon){padding:4px 9px;border-radius:999px;background:rgba(148,163,184,.12);color:#94a3b8;font:800 10px/1 Space Grotesk,sans-serif;letter-spacing:.08em}.edu-lsv-program-visual p{max-width:560px;margin:2px 0 0;color:#8fa4b8;font:600 12px/1.7 Space Grotesk,sans-serif}

/* Media begins buffering immediately and remains centred at every viewport size. */
.edu-lsv-media-shell{position:relative;width:100%;height:100%;min-height:0;display:flex;align-items:center;justify-content:center;background:#000;overflow:hidden}
.edu-lsv-media-shell video{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;margin:auto!important;border-radius:0!important;background:#000;object-fit:contain!important}
.edu-lsv-media-shell audio{width:min(760px,calc(100% - 28px))!important;margin:auto!important}
.edu-lsv-media-loading{position:absolute;inset:0;z-index:1;display:flex;align-items:center;justify-content:center;gap:9px;color:#9fb2c6;background:radial-gradient(circle,rgba(15,23,42,.74),#000);font-size:12px;pointer-events:none}.edu-lsv-media-shell.ready .edu-lsv-media-loading{display:none}

/* Internal Office readers. */
.edu-lsv-word-reader{width:100%;min-height:100%;padding:18px 12px 40px;background:#dfe6ee;overflow:auto;box-sizing:border-box}.edu-lsv-word-meta{width:min(900px,100%);margin:0 auto 8px;display:flex;align-items:center;gap:7px;color:#475569;font-size:11px;font-weight:800}.edu-lsv-word-meta i{color:#2563eb}
.edu-lsv-word-reader .edu-lsv-doc{width:min(900px,100%)!important;min-height:1100px!important;margin:0 auto!important;padding:clamp(28px,6vw,72px)!important;border-radius:3px!important;box-shadow:0 9px 30px rgba(15,23,42,.18)!important;font:400 15px/1.8 Space Grotesk,sans-serif!important;user-select:none!important}
.edu-lsv-sheet{display:flex!important;flex-direction:column!important;width:100%!important;height:100%!important;min-height:0!important;padding:0!important;border-radius:0!important;overflow:hidden!important;background:#fff!important}
.edu-lsv-sheet-tools{display:flex;align-items:center;gap:6px;min-height:46px;padding:6px 9px;border-bottom:1px solid #dbe2ea;background:#f8fafc;color:#334155;flex:0 0 auto}.edu-lsv-sheet-search{display:flex;align-items:center;gap:7px;flex:1;max-width:420px;min-width:100px;height:34px;padding:0 10px;border:1px solid #cbd5e1;border-radius:9px;background:#fff}.edu-lsv-sheet-search i{color:#64748b}.edu-lsv-sheet-search input{width:100%;min-width:0;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;color:#0f172a!important;font-size:12px!important}.edu-lsv-sheet-tools>span{min-width:38px;text-align:center;color:#64748b;font:700 11px Space Grotesk,sans-serif}
.edu-lsv-sheet-tabs{flex:0 0 auto;margin:0!important;padding:6px 8px!important;border-bottom:1px solid #dbe2ea;background:#f1f5f9;overflow-x:auto;flex-wrap:nowrap!important}.edu-lsv-sheet-tabs button{white-space:nowrap}
#edu-lsv-sheet-table{flex:1;min-height:0;overflow:hidden}.edu-lsv-sheet-grid{width:100%;height:100%;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.edu-lsv-sheet-grid table{font-size:calc(12px * var(--sheet-zoom,1))!important;min-width:max-content!important;width:max-content!important}.edu-lsv-sheet-grid th,.edu-lsv-sheet-grid td{height:calc(31px * var(--sheet-zoom,1));min-width:calc(92px * var(--sheet-zoom,1));padding:calc(5px * var(--sheet-zoom,1)) calc(8px * var(--sheet-zoom,1))!important;background:#fff}.edu-lsv-sheet-grid thead th{position:sticky;top:0;z-index:3;background:#eef2f7;color:#475569}.edu-lsv-sheet-grid .edu-lsv-sheet-row{position:sticky;left:0;z-index:2;min-width:44px!important;background:#eef2f7;color:#64748b;text-align:center}.edu-lsv-sheet-grid .edu-lsv-sheet-corner{position:sticky;left:0;top:0;z-index:4;min-width:44px!important;background:#e2e8f0}
.edu-lsv-slide-wrap{width:min(1280px,100%)!important;max-height:100%!important;margin:auto!important}.edu-lsv-slide{border-radius:4px!important}

#app[data-theme="light"] .edu-lsv-code-workbench,#app[data-theme="light"] .edu-lsv-code-view,#app[data-theme="light"] .edu-lsv-code-lines li::before{background:#0b1422!important}
@media(max-width:700px){
  .edu-lsv-box{height:100vh!important;max-height:100vh!important}
  .edu-lsv-modal.show{padding:0!important}.edu-lsv-box{width:100vw!important;height:100dvh!important;max-width:100vw!important;max-height:100dvh!important;border-radius:0!important}.edu-lsv-foot{display:none!important}.edu-lsv-watermark{inset-block-end:0!important}
  .edu-lsv-format-tools{min-height:42px;padding:4px 6px;gap:4px}.edu-lsv-format-tools button,.edu-lsv-sheet-tools button{width:31px;height:31px;min-width:31px}.edu-lsv-tool-note{display:none!important}
  .edu-lsv-code-tools button{min-width:34px!important;padding:0 8px!important}.edu-lsv-code-language{max-width:110px;overflow:hidden;text-overflow:ellipsis}.edu-lsv-code-lines{font-size:11px}.edu-lsv-code-lines li{grid-template-columns:43px minmax(max-content,1fr)}.edu-lsv-code-lines li::before{padding-inline:5px 9px}.edu-lsv-code-lines code{padding-inline-start:10px}
  .edu-lsv-word-reader{padding:8px 5px 24px}.edu-lsv-word-reader .edu-lsv-doc{min-height:calc(100dvh - 120px)!important;padding:25px 20px!important;font-size:13px!important}
  .edu-lsv-sheet-tools{min-height:42px;padding:4px 6px}.edu-lsv-sheet-search{height:31px}.edu-lsv-sheet-grid th,.edu-lsv-sheet-grid td{min-width:calc(76px * var(--sheet-zoom,1))}
}
@media(max-width:380px){.edu-lsv-code-tools button span{display:none}.edu-lsv-code-language{font-size:9px!important;max-width:82px}.edu-lsv-format-tools>span#edu-lsv-image-zoom{min-width:35px;text-align:center}.edu-lsv-sheet-tools>span{display:none}.edu-lsv-sheet-search{max-width:none}}

/* ══════════════════════════════════════════════════════════════
   v2.8.1 — one reader shell for the library and messaging.
   Messaging keeps download/source access; library protection is unchanged.
   ══════════════════════════════════════════════════════════════ */
.edu-lsv-actions>a{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 34px!important;width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important;
  margin:0!important;padding:0!important;box-sizing:border-box!important;border:1px solid var(--border)!important;
  border-radius:9px!important;background:rgba(255,255,255,.04)!important;color:var(--text-secondary)!important;
  text-decoration:none!important;line-height:1!important;
}
.edu-lsv-actions>a:hover,.edu-lsv-actions>a:focus-visible{color:var(--primary)!important;border-color:rgba(45,212,191,.45)!important;background:rgba(45,212,191,.09)!important;outline:0!important}
.edu-lsv-actions>a.hidden{display:none!important}
.edu-lsv-actions>a i{display:block!important;line-height:1!important;margin:0!important}
.edu-lsv-modal.is-message-attachment .edu-lsv-watermark{display:none!important}
.edu-lsv-modal.is-message-attachment .edu-lsv-stage.is-code,
.edu-lsv-modal.is-message-attachment .edu-lsv-stage.is-code *,
.edu-lsv-modal.is-message-attachment .edu-lsv-word-reader,
.edu-lsv-modal.is-message-attachment .edu-lsv-word-reader *{user-select:text!important;-webkit-user-select:text!important}
.edu-lsv-modal.is-message-attachment .edu-lsv-foot i{color:#38bdf8!important}
.edu-lsv-code-lines,.edu-lsv-code-lines code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace!important}
.edu-lsv-code-empty{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px;text-align:center;background:#f8fafc;color:#64748b;box-sizing:border-box}
.edu-lsv-code-empty i{font-size:1.7rem;color:#14b8a6}.edu-lsv-code-empty strong{max-width:620px;font-size:13px;line-height:1.7}

/* External Office attachments render inside the same large modal. DOCX and
   spreadsheets use local parsers; this shell is the in-platform fallback. */
.edu-lsv-office-online{position:relative;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;background:#eef2f7}
.edu-lsv-office-online>iframe{position:absolute;inset:0;z-index:1;display:block;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;border:0!important;border-radius:0!important;background:#fff!important}
.edu-lsv-office-loading{position:absolute;inset:0;z-index:3;display:flex;align-items:center;justify-content:center;gap:9px;background:#eef2f7;color:#64748b;font-size:12px}
.edu-lsv-office-fallback{position:absolute;inset:0;z-index:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;padding:24px;text-align:center;color:#64748b;background:radial-gradient(circle at 50% 35%,#fff,#e8eef5);box-sizing:border-box}
.edu-lsv-office-fallback>i{font-size:2.2rem;color:#14b8a6}.edu-lsv-office-fallback>span{max-width:560px;font-size:13px;line-height:1.7}
.edu-lsv-office-fallback>a{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:0 14px;border:1px solid #99f6e4;border-radius:10px;background:#f0fdfa;color:#0f766e;text-decoration:none;font-size:12px;font-weight:800}
.edu-lsv-office-online.is-loaded .edu-lsv-office-loading{display:none}.edu-lsv-office-online.is-failed>iframe{display:none!important}.edu-lsv-office-online.is-failed .edu-lsv-office-fallback{z-index:2}
.edu-lsv-modal.is-message-attachment .edu-lsv-word-reader .edu-lsv-doc{user-select:text!important;-webkit-user-select:text!important}

/* Coarse pointers need generous controls without penalising watch layouts. */
@media(pointer:coarse) and (min-width:361px){
  .edu-lsv-actions button,.edu-lsv-actions>a,.edu-lsv-format-tools button,.edu-lsv-sheet-tools button,.edu-lsv-pdf-tools button{min-width:40px!important;width:40px!important;min-height:40px!important;height:40px!important}
  .edu-lsv-format-tools,.edu-lsv-sheet-tools,.edu-lsv-pdf-tools{min-height:50px!important}
}
@media(hover:none){
  .edu-lsv-actions button:active,.edu-lsv-actions>a:active,.edu-lsv-format-tools button:active,.edu-lsv-pdf-tools button:active{background:rgba(45,212,191,.16)!important;color:var(--primary)!important}
}

/* Phone and narrow tablet. */
@media(max-width:700px){
  .edu-lsv-actions>a{flex-basis:32px!important;width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important}
  .edu-lsv-office-fallback{padding:15px}.edu-lsv-office-fallback>span{font-size:11px}
  .edu-lsv-code-empty{padding:14px}.edu-lsv-code-empty strong{font-size:11px}
}
@media(max-width:360px){.edu-lsv-actions>a{flex-basis:30px!important;width:30px!important;min-width:30px!important;height:30px!important;min-height:30px!important}.edu-lsv-title-wrap{gap:5px!important}}
@media(max-width:280px), (max-height:280px){
  .edu-lsv-title-wrap span,.edu-lsv-type,.edu-lsv-foot{display:none!important}
  .edu-lsv-head{min-height:36px!important;padding:3px 4px!important;column-gap:3px!important}
  .edu-lsv-actions{gap:2px!important;min-height:28px!important}
  .edu-lsv-actions button,.edu-lsv-actions>a{flex-basis:27px!important;width:27px!important;min-width:27px!important;height:27px!important;min-height:27px!important;border-radius:6px!important}
  .edu-lsv-title-wrap strong{font-size:.55rem!important}
  .edu-lsv-format-tools,.edu-lsv-sheet-tools,.edu-lsv-pdf-tools{min-height:32px!important;padding:2px 3px!important;gap:2px!important}
  .edu-lsv-format-tools button,.edu-lsv-sheet-tools button,.edu-lsv-pdf-tools button{width:25px!important;min-width:25px!important;height:25px!important;min-height:25px!important;border-radius:5px!important}
  .edu-lsv-code-language,.edu-lsv-source-note,.edu-lsv-tool-note{display:none!important}
  .edu-lsv-code-lines{font-size:9px!important}.edu-lsv-code-lines li{grid-template-columns:30px minmax(max-content,1fr)!important}.edu-lsv-code-lines li::before{padding-inline:3px 5px!important}.edu-lsv-code-lines code{padding-inline-start:6px!important}
  .edu-lsv-word-reader{padding:3px!important}.edu-lsv-word-reader .edu-lsv-doc{padding:12px 9px!important;font-size:10px!important;min-height:calc(100dvh - 40px)!important}
  .edu-lsv-image-canvas{padding:5px}.edu-lsv-media-shell audio{width:calc(100% - 8px)!important}
}
@media(max-width:240px){.edu-lsv-actions button,.edu-lsv-actions>a{flex-basis:24px!important;width:24px!important;min-width:24px!important;height:24px!important;min-height:24px!important}.edu-lsv-actions>a#edu-lsv-download{display:none!important}.edu-lsv-code-tools button{min-width:25px!important;padding:0 5px!important}}

/* Landscape devices with little vertical room. */
@media(max-height:520px) and (min-width:500px){
  .edu-lsv-modal.show{padding:0!important}.edu-lsv-box{width:100vw!important;height:100dvh!important;max-width:100vw!important;max-height:100dvh!important;border-radius:0!important}
  .edu-lsv-head{min-height:44px!important;padding:4px 8px!important}.edu-lsv-foot{display:none!important}
  .edu-lsv-actions button,.edu-lsv-actions>a{width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important}
}

/* Large monitors and televisions: larger focus targets and readable metadata. */
@media(min-width:1800px) and (min-height:900px){
  .edu-lsv-box{width:min(2200px,calc(100vw - 48px))!important;max-width:2200px!important;height:calc(100dvh - 48px)!important;max-height:calc(100dvh - 48px)!important}
  .edu-lsv-head{min-height:72px!important;padding:12px 16px!important}.edu-lsv-type{width:44px!important;height:44px!important;font-size:1.05rem!important}
  .edu-lsv-title-wrap strong{font-size:1rem!important}.edu-lsv-title-wrap span{font-size:.72rem!important}
  .edu-lsv-actions button,.edu-lsv-actions>a{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;font-size:1rem!important}
  .edu-lsv-format-tools,.edu-lsv-sheet-tools,.edu-lsv-pdf-tools{min-height:58px!important}.edu-lsv-format-tools button,.edu-lsv-sheet-tools button,.edu-lsv-pdf-tools button{width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important}
  .edu-lsv-code-lines{font-size:16px!important}.edu-lsv-foot{font-size:.72rem!important;min-height:42px!important}
}
@media(min-width:1800px){.edu-lsv-actions button:focus-visible,.edu-lsv-actions>a:focus-visible,.edu-lsv-format-tools button:focus-visible,.edu-lsv-pdf-tools button:focus-visible{outline:3px solid #5eead4!important;outline-offset:3px!important}}
@media(prefers-reduced-motion:reduce){.edu-lsv-box,.edu-lsv-actions button,.edu-lsv-actions>a,.edu-lsv-format-tools button{transition:none!important;animation:none!important}}


/* v3.0.2 library subject and multilingual level management */
.edu-ls-manager-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.edu-ls-manager-tabs button{min-width:0;line-height:1.25;white-space:normal}
.edu-ls-language-field{position:relative}
.edu-ls-manager-form input[readonly]{opacity:.78;cursor:not-allowed;background:rgba(255,255,255,.025)}
.edu-ls-subject-action{
  width:32px;height:32px;min-width:32px;flex:0 0 32px;padding:0;border:1px solid var(--border);
  border-radius:9px;background:rgba(255,255,255,.035);color:var(--text-secondary);cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;transition:.16s ease;
}
.edu-ls-subject-action:hover{color:var(--primary);border-color:rgba(34,211,178,.38);background:rgba(34,211,178,.09)}
.edu-ls-subject-action.danger{color:#fca5a5;border-color:rgba(248,113,113,.24)}
.edu-ls-subject-action.danger:hover{color:#fecaca;border-color:rgba(248,113,113,.46);background:rgba(248,113,113,.10)}
.edu-ls-subject-action i{font-size:.67rem;pointer-events:none}
#edu-ls-subject-form .edu-ls-save-btn,#edu-ls-level-form .edu-ls-save-btn{min-height:40px}
@media(max-width:600px){
  .edu-ls-manager{width:min(420px,96vw)!important;padding:10px!important}
  .edu-ls-manager-tabs{gap:4px!important}
  .edu-ls-manager-tabs button{padding:8px 4px!important;font-size:.56rem!important}
  .edu-ls-subject-action{width:31px!important;height:31px!important;min-width:31px!important;flex-basis:31px!important}
}
@media(max-width:360px){
  .edu-ls-subject-action{width:29px!important;height:29px!important;min-width:29px!important;flex-basis:29px!important}
  .edu-ls-subject-action i{font-size:.61rem!important}
  .edu-ls-manager-tabs button{font-size:.51rem!important;padding:7px 2px!important}
}
@media(max-width:280px){
  .edu-ls-subject-controls{gap:2px!important}
  .edu-ls-subject-action,.edu-ls-toggle-chip{width:27px!important;height:27px!important;min-width:27px!important;flex-basis:27px!important}
}

/* v3.0.2 — precise inline library administration */
.edu-ls-subject-title-line{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  min-width:0!important;
}
.edu-ls-subject-title-line>strong{
  flex:0 1 auto!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.edu-ls-subject-pencil,
.edu-ls-level-pencil,
.edu-ls-level-more{
  width:30px!important;
  height:30px!important;
  min-width:30px!important;
  flex:0 0 30px!important;
  padding:0!important;
  border:1px solid var(--border)!important;
  border-radius:9px!important;
  background:rgba(255,255,255,.035)!important;
  color:var(--text-secondary)!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  cursor:pointer!important;
  box-sizing:border-box!important;
  transition:border-color .16s ease,background .16s ease,color .16s ease,transform .16s ease!important;
}
.edu-ls-subject-pencil{
  width:26px!important;
  height:26px!important;
  min-width:26px!important;
  flex-basis:26px!important;
  border-radius:8px!important;
}
.edu-ls-subject-pencil:hover,
.edu-ls-level-pencil:hover,
.edu-ls-level-more:hover{
  color:var(--primary)!important;
  border-color:rgba(34,211,178,.42)!important;
  background:rgba(34,211,178,.10)!important;
  transform:translateY(-1px)!important;
}
.edu-ls-subject-pencil:focus-visible,
.edu-ls-level-pencil:focus-visible,
.edu-ls-level-more:focus-visible,
.edu-ls-add-level:focus-visible,
.edu-ls-add-subject:focus-visible{
  outline:2px solid rgba(34,211,178,.45)!important;
  outline-offset:2px!important;
}
.edu-ls-subject-pencil i,
.edu-ls-level-pencil i,
.edu-ls-level-more i{font-size:.64rem!important;pointer-events:none!important}
.edu-ls-level-actions{
  flex-wrap:nowrap!important;
  gap:5px!important;
}
.edu-ls-add-level{
  width:100%!important;
  min-height:40px!important;
  border:1px dashed rgba(34,211,178,.35)!important;
  border-radius:11px!important;
  background:rgba(34,211,178,.045)!important;
  color:var(--primary)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  font-family:inherit!important;
  font-size:.62rem!important;
  font-weight:900!important;
  cursor:pointer!important;
  transition:.16s ease!important;
}
.edu-ls-add-level:hover{
  background:rgba(34,211,178,.10)!important;
  border-color:rgba(34,211,178,.58)!important;
  transform:translateY(-1px)!important;
}
.edu-ls-add-subject{
  width:100%!important;
  min-height:68px!important;
  border:1.5px dashed rgba(34,211,178,.42)!important;
  border-radius:16px!important;
  background:linear-gradient(135deg,rgba(34,211,178,.055),rgba(240,180,41,.025))!important;
  color:var(--text-primary)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  padding:12px 16px!important;
  font-family:inherit!important;
  font-size:.7rem!important;
  font-weight:950!important;
  cursor:pointer!important;
  transition:.18s ease!important;
}
.edu-ls-add-subject:hover{
  border-color:rgba(34,211,178,.70)!important;
  background:linear-gradient(135deg,rgba(34,211,178,.11),rgba(240,180,41,.045))!important;
  transform:translateY(-1px)!important;
}
.edu-ls-add-subject-icon{
  width:34px!important;
  height:34px!important;
  border-radius:10px!important;
  background:rgba(34,211,178,.13)!important;
  color:var(--primary)!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 34px!important;
}
.edu-ls-just-saved{
  animation:eduLsSavedPulse 1.55s ease both!important;
}
@keyframes eduLsSavedPulse{
  0%{box-shadow:0 0 0 0 rgba(34,211,178,.0);border-color:var(--border)}
  25%{box-shadow:0 0 0 4px rgba(34,211,178,.13);border-color:rgba(34,211,178,.65)}
  100%{box-shadow:0 0 0 0 rgba(34,211,178,0);border-color:var(--border)}
}
@media(max-width:600px){
  .edu-ls-subject-title-line{gap:5px!important}
  .edu-ls-subject-pencil{width:25px!important;height:25px!important;min-width:25px!important;flex-basis:25px!important}
  .edu-ls-level-pencil,.edu-ls-level-more{width:30px!important;height:30px!important;min-width:30px!important;flex-basis:30px!important}
  .edu-ls-add-subject{min-height:60px!important;padding:10px 12px!important;font-size:.64rem!important}
  .edu-ls-add-level{min-height:38px!important;font-size:.58rem!important}
}
@media(max-width:360px){
  .edu-ls-subject-pencil{width:23px!important;height:23px!important;min-width:23px!important;flex-basis:23px!important}
  .edu-ls-level-pencil,.edu-ls-level-more{width:28px!important;height:28px!important;min-width:28px!important;flex-basis:28px!important;border-radius:8px!important}
  .edu-ls-level-actions{gap:3px!important}
  .edu-ls-add-subject-icon{width:30px!important;height:30px!important;flex-basis:30px!important}
}

/* Keep the level-name pencil beside the level title on phones and tablets. */
@media(max-width:760px){
  .edu-ls-item.is-level-content{
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
  }
  .edu-ls-item.is-level-content .edu-ls-level-actions{
    width:auto!important;
    display:flex!important;
    grid-template-columns:none!important;
    justify-content:flex-end!important;
    align-self:center!important;
    gap:4px!important;
  }
}
@media(max-width:480px){
  .edu-ls-item.is-level-content .edu-ls-level-actions{
    display:flex!important;
    width:auto!important;
  }
}

/* Keep the editable level title and its admin pencil on one visual line. */
.edu-ls-level-title-line{
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  min-width:0!important;
  width:max-content!important;
  max-width:100%!important;
}
.edu-ls-level-title-line>strong{
  display:block!important;
  flex:0 1 auto!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.edu-ls-item-main>.edu-ls-level-title-line{display:flex!important}
.edu-ls-level-title-line .edu-ls-level-pencil{
  display:inline-flex!important;
  flex:0 0 auto!important;
  margin:0!important;
}

/* v3.0.2 — clear per-level management without the overlapping pencil */
.edu-ls-level-manage{
  min-height:34px!important;
  height:34px!important;
  min-width:126px!important;
  padding:0 11px!important;
  border:1px solid rgba(34,211,178,.28)!important;
  border-radius:10px!important;
  background:rgba(34,211,178,.075)!important;
  color:var(--primary)!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  font-family:inherit!important;
  font-size:.57rem!important;
  font-weight:950!important;
  white-space:nowrap!important;
  cursor:pointer!important;
  box-sizing:border-box!important;
  transition:border-color .16s ease,background .16s ease,transform .16s ease!important;
}
.edu-ls-level-manage:hover{
  border-color:rgba(34,211,178,.58)!important;
  background:rgba(34,211,178,.13)!important;
  transform:translateY(-1px)!important;
}
.edu-ls-level-manage:focus-visible{
  outline:2px solid rgba(34,211,178,.45)!important;
  outline-offset:2px!important;
}
.edu-ls-level-manage i{font-size:.68rem!important;pointer-events:none!important}
.edu-ls-level-manage span{display:inline!important;pointer-events:none!important}
.edu-ls-level-title-line{width:100%!important;max-width:100%!important}
.edu-ls-level-title-line>strong{max-width:100%!important}
@media(max-width:760px){
  .edu-ls-level-manage{min-width:118px!important;height:33px!important;min-height:33px!important;padding:0 9px!important;font-size:.54rem!important}
}
@media(max-width:420px){
  .edu-ls-item.is-level-content{grid-template-columns:minmax(0,1fr)!important;align-items:stretch!important}
  .edu-ls-item.is-level-content .edu-ls-level-actions{width:100%!important;justify-content:stretch!important}
  .edu-ls-level-manage{width:100%!important;min-width:0!important}
}

/* v3.0.2 — direct, visible admin actions on every level; no overlapping pencil */
.edu-ls-subject-pencil,
.edu-ls-level-pencil,
.edu-ls-level-manage{display:none!important}
.edu-ls-subject-edit{
  min-height:32px!important;
  height:32px!important;
  padding:0 10px!important;
  border:1px solid rgba(34,211,178,.28)!important;
  border-radius:9px!important;
  background:rgba(34,211,178,.075)!important;
  color:var(--primary)!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  font-family:inherit!important;
  font-size:.55rem!important;
  font-weight:950!important;
  white-space:nowrap!important;
  cursor:pointer!important;
  flex:0 0 auto!important;
}
.edu-ls-subject-edit:hover{background:rgba(34,211,178,.13)!important;border-color:rgba(34,211,178,.58)!important}
.edu-ls-subject-edit i{font-size:.64rem!important}
.edu-ls-level-action-set{
  width:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex-wrap:wrap!important;
  gap:6px!important;
}
.edu-ls-level-action{
  min-height:34px!important;
  padding:0 10px!important;
  border:1px solid rgba(34,211,178,.25)!important;
  border-radius:9px!important;
  background:rgba(34,211,178,.07)!important;
  color:var(--primary)!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  font-family:inherit!important;
  font-size:.54rem!important;
  line-height:1.15!important;
  font-weight:950!important;
  white-space:nowrap!important;
  cursor:pointer!important;
  box-sizing:border-box!important;
  transition:.16s ease!important;
}
.edu-ls-level-action:hover{background:rgba(34,211,178,.14)!important;border-color:rgba(34,211,178,.58)!important;transform:translateY(-1px)!important}
.edu-ls-level-action.is-danger{color:#ef6b73!important;border-color:rgba(239,107,115,.26)!important;background:rgba(239,107,115,.07)!important}
.edu-ls-level-action.is-danger:hover{border-color:rgba(239,107,115,.58)!important;background:rgba(239,107,115,.13)!important}
.edu-ls-level-action i{font-size:.64rem!important;pointer-events:none!important}
.edu-ls-level-action span{pointer-events:none!important}
.edu-ls-item.is-level-content{grid-template-columns:minmax(220px,1fr) minmax(300px,auto)!important;align-items:center!important}
.edu-ls-item.is-level-content .edu-ls-level-actions{width:100%!important;max-width:100%!important}
@media(max-width:980px){
  .edu-ls-item.is-level-content{grid-template-columns:minmax(0,1fr)!important;align-items:stretch!important}
  .edu-ls-item.is-level-content .edu-ls-level-actions{width:100%!important;margin-top:8px!important}
  .edu-ls-level-action-set{justify-content:flex-start!important}
}
@media(max-width:560px){
  .edu-ls-subject-head{align-items:flex-start!important}
  .edu-ls-subject-controls{flex-wrap:wrap!important;justify-content:flex-end!important}
  .edu-ls-subject-edit span{display:none!important}
  .edu-ls-subject-edit{width:32px!important;min-width:32px!important;padding:0!important}
  .edu-ls-level-action-set{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
  .edu-ls-level-action{width:100%!important;min-width:0!important;white-space:normal!important;padding:7px 6px!important;height:auto!important}
}
@media(max-width:340px){
  .edu-ls-level-action-set{grid-template-columns:minmax(0,1fr)!important}
}

/* v3.0.2 — exact expandable library administration requested */
.edu-ls-subject-controls{display:flex!important;align-items:center!important;gap:7px!important}
.edu-ls-subject-delete{
  width:34px!important;height:34px!important;min-width:34px!important;flex:0 0 34px!important;
  border:1px solid rgba(239,107,115,.32)!important;border-radius:10px!important;
  background:rgba(239,107,115,.08)!important;color:#f87171!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  cursor:pointer!important;transition:.16s ease!important
}
.edu-ls-subject-delete:hover{background:rgba(239,107,115,.16)!important;border-color:rgba(239,107,115,.62)!important;transform:translateY(-1px)!important}
.edu-ls-subject-delete i{font-size:.72rem!important;pointer-events:none!important}
.edu-ls-subject-title small,.edu-ls-subject-count,.edu-ls-subject-edit{display:none!important}
.edu-ls-toggle-chip{cursor:pointer!important}
.edu-ls-item-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;flex-wrap:wrap!important}
.edu-ls-action-edit-title{color:#c4b5fd!important;border-color:rgba(167,139,250,.3)!important;background:rgba(139,92,246,.08)!important}
.edu-ls-action-edit-title:hover{background:rgba(139,92,246,.15)!important;border-color:rgba(167,139,250,.62)!important}
.edu-ls-item.is-methodology{border:1px solid rgba(34,211,178,.18)!important;background:rgba(34,211,178,.035)!important}
.edu-ls-item.is-methodology .edu-ls-item-main strong{font-weight:900!important}
.edu-ls-item.is-methodology .edu-ls-item-actions .edu-ls-action,
.edu-ls-item.is-level-content .edu-ls-level-action{min-height:34px!important}
/* Adding or renaming a level is intentionally a simple multilingual form. */
.edu-ls-manager.simple-level-editor .edu-ls-manager-tabs,
.edu-ls-manager.simple-level-editor #edu-ls-level-form>label:first-of-type,
.edu-ls-manager.simple-level-editor #edu-ls-level-form>label:nth-of-type(2),
.edu-ls-manager.simple-level-editor #edu-ls-level-form>label:nth-last-of-type(1),
.edu-ls-manager.simple-level-editor #edu-ls-level-delete{display:none!important}
.edu-ls-manager.simple-level-editor #edu-ls-manager-title::after{content:' — اسم المستوى باللغات المتاحة';font-weight:700!important;opacity:.7!important}
.edu-ls-manager.simple-level-editor #edu-ls-level-form{padding-top:12px!important}
@media(max-width:700px){
  .edu-ls-subject-delete,.edu-ls-toggle-chip{width:31px!important;height:31px!important;min-width:31px!important;flex-basis:31px!important}
  .edu-ls-item.is-methodology,.edu-ls-item.is-level-content{grid-template-columns:minmax(0,1fr)!important;align-items:stretch!important}
  .edu-ls-item.is-methodology .edu-ls-item-actions,.edu-ls-item.is-level-content .edu-ls-item-actions{width:100%!important;margin-top:8px!important}
  .edu-ls-item.is-methodology .edu-ls-item-actions,.edu-ls-level-action-set{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
  .edu-ls-item.is-methodology .edu-ls-action,.edu-ls-level-action{width:100%!important;min-width:0!important;height:auto!important;min-height:38px!important;padding:7px 5px!important;white-space:normal!important}
}
@media(max-width:340px){.edu-ls-item.is-methodology .edu-ls-item-actions,.edu-ls-level-action-set{grid-template-columns:1fr!important}}

/* v4.0.0 private PPTX renderer: responsive tables, text and images. */
.edu-lsv-slide-wrap{width:100%;height:100%;display:flex;align-items:center;justify-content:center;overflow:auto;padding:12px;box-sizing:border-box;background:#07101d}
.edu-lsv-slide{position:relative;width:min(100%,calc((100dvh - 150px) * var(--edu-ppt-ratio,1.7778)));max-height:100%;overflow:hidden;box-shadow:0 18px 55px rgba(0,0,0,.36);container-type:inline-size}
.edu-lsv-slide-el{position:absolute;box-sizing:border-box;overflow:hidden}.edu-lsv-slide-image img{display:block;width:100%;height:100%;object-fit:contain}.edu-lsv-slide-text{white-space:pre-wrap;line-height:1.18;overflow:hidden;unicode-bidi:plaintext}
.edu-lsv-slide-table-wrap{overflow:hidden!important}.edu-lsv-slide-table{width:100%;height:100%;table-layout:fixed;border-collapse:collapse;border-spacing:0;font-family:Tajawal,"Space Grotesk",Jost,sans-serif}.edu-lsv-slide-table td{min-width:0;padding:clamp(2px,.45cqw,9px);border:1px solid #cbd5e1;vertical-align:middle;line-height:1.18;overflow:hidden;overflow-wrap:anywhere;unicode-bidi:plaintext;box-sizing:border-box}
@media(max-width:760px){.edu-lsv-slide-wrap{padding:5px}.edu-lsv-slide-table td{font-size:clamp(6px,1.9cqw,14px)!important}.edu-lsv-slide-text{font-size:clamp(7px,2.2cqw,var(--edu-ppt-font,18px))!important}}


/* 4.0.30 — high-fidelity native PDF surface with an internal PDF.js fallback. */
.edu-lsv-stage.is-pdf-native{padding:0!important;overflow:hidden!important;background:#525659!important}
.edu-lsv-native-pdf{position:relative;width:100%;height:100%;min-height:0;background:#525659}
.edu-lsv-native-pdf>.edu-lsv-pdf-frame{display:block;width:100%;height:100%;min-height:0;border:0;border-radius:0;background:#fff}
.edu-lsv-native-pdf-tools{position:absolute;z-index:4;top:8px;inset-inline-end:8px;display:flex;gap:6px;pointer-events:none}
.edu-lsv-native-pdf-tools button{pointer-events:auto;min-height:34px;display:inline-flex;align-items:center;gap:7px;padding:0 11px;border:1px solid rgba(255,255,255,.35);border-radius:10px;background:rgba(7,17,38,.88);color:#fff;font:800 .62rem/1 var(--se-font-ui,"Space Grotesk"),sans-serif;box-shadow:0 7px 20px rgba(0,0,0,.25);cursor:pointer}
#app[data-theme="light"] .edu-lsv-native-pdf-tools button{background:rgba(255,255,255,.94);color:#172033;border-color:#cbd5e1}
@media(max-width:600px){.edu-lsv-native-pdf-tools{top:5px;inset-inline-end:5px}.edu-lsv-native-pdf-tools button span{display:none}.edu-lsv-native-pdf-tools button{width:36px;padding:0;justify-content:center}}

/* 4.0.39.1 — preserve every informative/actionable lesson control on small displays.
   Controls reflow or scroll horizontally instead of disappearing. */
@media(max-width:700px),(max-height:520px){
  .edu-ls-head p{display:block!important;max-height:5.2em!important;overflow:auto!important}
  .edu-ls-head-icon{display:flex!important}
  .edu-lsv-foot{display:flex!important;flex-wrap:wrap!important;min-height:34px!important;padding:5px 8px!important}
  .edu-lsv-foot span{display:inline!important;white-space:normal!important}
  .edu-lsv-format-tools,.edu-lsv-code-tools,.edu-lsv-sheet-tools,.edu-lsv-pdf-tools{
    flex-wrap:nowrap!important;overflow-x:auto!important;max-width:100%!important;overscroll-behavior-inline:contain!important;
  }
  .edu-lsv-code-language,.edu-lsv-source-note,.edu-lsv-tool-note{display:block!important;white-space:normal!important}
  .edu-lsv-code-tools button span,.edu-lsv-sheet-tools>span,#edu-lsv-pdf-zoom{display:inline!important}
  .edu-lsv-native-pdf-tools{max-width:calc(100% - 10px)!important;overflow-x:auto!important}
  .edu-lsv-native-pdf-tools button{width:auto!important;min-width:max-content!important;padding-inline:9px!important}
  .edu-lsv-native-pdf-tools button span{display:inline!important}
}
@media(max-width:360px){
  .edu-ls-level-main{grid-template-columns:auto minmax(0,1fr) auto!important}
  .edu-ls-level-status{display:inline-flex!important}
  .edu-ls-level-badges{display:flex!important;flex-wrap:wrap!important}
  .edu-ls-level-open-icon{display:inline-block!important}
  .edu-ls-item-actions .edu-ls-action span,.edu-ls-level-action span{display:inline!important}
  .edu-lsv-head{display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-items:stretch!important}
  .edu-lsv-title-wrap,.edu-lsv-actions{width:100%!important;min-width:0!important}
  .edu-lsv-actions{justify-content:flex-start!important;overflow-x:auto!important;overscroll-behavior-inline:contain!important}
  .edu-lsv-title-wrap span{display:block!important}
  .edu-lsv-type{display:flex!important}
}
@media(max-width:280px),(max-height:280px){
  .edu-lsv-title-wrap span{display:block!important}
  .edu-lsv-type{display:flex!important}
  .edu-lsv-foot{display:flex!important}
  .edu-lsv-code-language,.edu-lsv-source-note,.edu-lsv-tool-note{display:block!important}
}
@media(max-width:240px){
  #m-lesson-viewer .edu-lsv-actions>a#edu-lsv-download:not(.hidden){display:inline-flex!important}
}

/* Internal attachment/archive readers — v4.0.39.14 */
#edu-lsv-archive-back-head{min-width:36px}
.edu-lsv-stage.is-archive,.edu-lsv-stage.is-binary{padding:0;overflow:auto}
.edu-lsv-original-text{box-sizing:border-box;width:100%;min-width:100%;min-height:100%;margin:0;padding:clamp(14px,2.5vw,26px);overflow:auto;white-space:pre;overflow-wrap:normal;word-break:normal;tab-size:4;font:13px/1.65 ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace;background:var(--card,#0f172a);color:var(--text,#e2e8f0)}
.edu-lsv-archive{display:flex;flex-direction:column;min-height:100%;padding:clamp(10px,2vw,20px);gap:12px}
.edu-lsv-archive-tools{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px;border:1px solid color-mix(in srgb,var(--line,#334155) 78%,transparent);border-radius:14px;background:color-mix(in srgb,var(--card,#0f172a) 94%,transparent);backdrop-filter:blur(12px)}
.edu-lsv-archive-tools>div{display:flex;align-items:center;gap:9px;min-width:0}.edu-lsv-archive-tools>div>i{font-size:22px}.edu-lsv-archive-tools strong{white-space:nowrap}.edu-lsv-archive-tools small{opacity:.68;white-space:nowrap}
.edu-lsv-archive-tools label{display:flex;align-items:center;gap:8px;flex:0 1 360px;min-width:180px;padding:8px 11px;border:1px solid var(--line,#334155);border-radius:11px;background:var(--input,#071021)}
.edu-lsv-archive-tools input{width:100%;border:0!important;outline:0!important;background:transparent!important;color:inherit!important;box-shadow:none!important}
.edu-lsv-archive-list{display:grid;gap:7px}
.edu-lsv-archive-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:10px 12px;border:1px solid var(--line,#334155);border-radius:12px;background:color-mix(in srgb,var(--card,#0f172a) 94%,transparent);color:inherit;text-align:start;cursor:pointer;transition:transform .15s ease,border-color .15s ease,background .15s ease}
.edu-lsv-archive-row:not(.is-disabled):hover,.edu-lsv-archive-row:not(.is-disabled):focus-visible{transform:translateY(-1px);border-color:var(--accent,#22c55e);background:color-mix(in srgb,var(--accent,#22c55e) 8%,var(--card,#0f172a))}
.edu-lsv-archive-row.is-disabled{cursor:default;opacity:.62}
.edu-lsv-archive-file{display:flex;align-items:center;gap:11px;min-width:0}.edu-lsv-archive-file>i{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border-radius:10px;background:color-mix(in srgb,var(--accent,#22c55e) 10%,transparent)}
.edu-lsv-archive-file>span{display:grid;gap:3px;min-width:0}.edu-lsv-archive-file strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.edu-lsv-archive-file small{opacity:.68;font-size:11px}.edu-lsv-archive-action{flex:0 0 auto;opacity:.75}
.edu-lsv-archive-empty{display:grid;place-items:center;gap:10px;min-height:240px;text-align:center;opacity:.72}.edu-lsv-archive-empty i{font-size:38px}
.edu-lsv-archive-back{display:inline-flex;align-items:center;gap:8px;margin:12px;border:1px solid var(--line,#334155);border-radius:10px;padding:8px 12px;background:var(--card,#0f172a);color:inherit}
.edu-lsv-binary{display:grid;gap:14px;padding:clamp(12px,2.5vw,24px);min-height:100%}
.edu-lsv-binary-head{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--line,#334155);border-radius:14px;background:var(--card,#0f172a)}.edu-lsv-binary-head>i{font-size:26px}.edu-lsv-binary-head>div{display:grid;gap:3px}.edu-lsv-binary-head span{font-size:12px;opacity:.7}
.edu-lsv-binary dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0}.edu-lsv-binary dl>div{min-width:0;padding:10px;border:1px solid var(--line,#334155);border-radius:11px;background:color-mix(in srgb,var(--card,#0f172a) 92%,transparent)}.edu-lsv-binary dt{font-size:10px;opacity:.65;text-transform:uppercase}.edu-lsv-binary dd{margin:4px 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.edu-lsv-binary section{min-width:0;border:1px solid var(--line,#334155);border-radius:13px;overflow:hidden;background:var(--card,#0f172a)}.edu-lsv-binary h3{margin:0;padding:10px 13px;border-bottom:1px solid var(--line,#334155);font-size:12px}.edu-lsv-binary pre{margin:0;max-height:280px;overflow:auto;padding:13px;white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace}.edu-lsv-binary pre.edu-lsv-hex{direction:ltr;text-align:left;white-space:pre}
@media(max-width:680px){.edu-lsv-archive-tools{align-items:stretch;flex-direction:column}.edu-lsv-archive-tools label{width:100%;min-width:0;flex-basis:auto}.edu-lsv-binary dl{grid-template-columns:1fr}.edu-lsv-archive-file strong{max-width:68vw}}
.edu-lsv-sheet-meta{padding:8px 12px;border-bottom:1px solid var(--line,#334155);font:11px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;opacity:.72;direction:ltr;text-align:left;overflow-wrap:anywhere}

/* Local Office readers v4.0.39.16 */
.edu-lsv-sheet-meta{display:flex;flex-direction:column;gap:7px;padding:7px 9px!important;background:#fff!important;color:#334155!important;opacity:1!important;direction:inherit!important;text-align:start!important}
.edu-lsv-sheet-metrics{display:flex;align-items:stretch;gap:6px;overflow-x:auto;padding-bottom:2px;scrollbar-width:thin}
.edu-lsv-sheet-metrics>span{display:grid;grid-template-columns:18px auto;grid-template-rows:auto auto;column-gap:6px;align-items:center;min-width:96px;padding:6px 8px;border:1px solid #dbe2ea;border-radius:9px;background:#f8fafc;color:#334155}
.edu-lsv-sheet-metrics i{grid-row:1/3;color:#0f766e}.edu-lsv-sheet-metrics strong{font:800 12px/1.1 Space Grotesk,sans-serif}.edu-lsv-sheet-metrics small{font:600 9px/1.1 Space Grotesk,sans-serif;color:#64748b;text-transform:uppercase}
.edu-lsv-sheet-range{font:600 10px/1.35 Space Grotesk,sans-serif;color:#64748b;direction:ltr;text-align:left;overflow-wrap:anywhere}
.edu-lsv-sheet-pager{display:flex;align-items:center;justify-content:center;gap:10px;min-height:42px;padding:5px 8px;border-top:1px solid #dbe2ea;background:#f8fafc;color:#475569;flex:0 0 auto;font:700 11px Space Grotesk,sans-serif}
.edu-lsv-sheet-pager button{width:32px;height:32px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#334155;cursor:pointer}.edu-lsv-sheet-pager button:disabled{opacity:.35;cursor:not-allowed}
.edu-lsv-local-table{width:100%;overflow:auto;margin:14px 0;border:1px solid #dbe2ea;border-radius:9px}.edu-lsv-local-table table{width:max-content;min-width:100%;border-collapse:collapse}.edu-lsv-local-table td{padding:7px 9px;border:1px solid #dbe2ea;color:#1f2937;background:#fff;vertical-align:top;white-space:pre-wrap}
@media(max-width:640px){.edu-lsv-sheet-metrics>span{min-width:82px;padding:5px 6px}.edu-lsv-sheet-pager{min-height:38px}.edu-lsv-sheet-pager button{width:30px;height:30px}}

/* Multi-page navigation and reliable scrolling — v4.0.39.17 */
.edu-lsv-stage.is-office{min-height:0!important}
.edu-lsv-word-reader{
  width:100%!important;height:100%!important;min-height:0!important;
  overflow-y:scroll!important;overflow-x:auto!important;
  overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;
  touch-action:pan-x pan-y!important;scrollbar-gutter:stable both-edges!important;
}
.edu-lsv-word-reader .edu-lsv-doc{min-height:max(100%,1100px)!important}
.edu-lsv-word-reader::-webkit-scrollbar,.edu-lsv-sheet-grid::-webkit-scrollbar,.edu-lsv-slide-viewport::-webkit-scrollbar{width:10px;height:10px}
.edu-lsv-word-reader::-webkit-scrollbar-thumb,.edu-lsv-sheet-grid::-webkit-scrollbar-thumb,.edu-lsv-slide-viewport::-webkit-scrollbar-thumb{background:#94a3b8;border:2px solid transparent;border-radius:999px;background-clip:padding-box}
.edu-lsv-word-reader::-webkit-scrollbar-track,.edu-lsv-sheet-grid::-webkit-scrollbar-track,.edu-lsv-slide-viewport::-webkit-scrollbar-track{background:rgba(148,163,184,.12)}

.edu-lsv-presentation-reader{width:100%;height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden;background:#07101d;outline:0}
.edu-lsv-presentation-reader:focus-visible{box-shadow:inset 0 0 0 2px rgba(45,212,191,.72)}
.edu-lsv-slide-viewport{flex:1;min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y;scrollbar-gutter:stable;display:flex;align-items:center;justify-content:center;padding:12px;box-sizing:border-box;background:#07101d}
.edu-lsv-presentation-reader .edu-lsv-slide-wrap{width:min(1280px,100%)!important;height:auto!important;min-height:0!important;max-height:none!important;margin:auto!important;padding:0!important;overflow:visible!important;background:transparent!important;display:block!important}
.edu-lsv-presentation-reader .edu-lsv-slide{width:100%!important;max-height:none!important;margin:auto!important}
.edu-lsv-slide-pager{flex:0 0 auto;min-height:48px;display:flex;align-items:center;justify-content:center;gap:12px;padding:6px 10px;border-top:1px solid rgba(148,163,184,.2);background:#0b1727;color:#dbeafe;box-sizing:border-box;direction:ltr}
.edu-lsv-slide-pager-btn{width:36px;height:36px;min-width:36px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(148,163,184,.3);border-radius:9px;background:rgba(255,255,255,.06);color:#dbeafe;cursor:pointer}
.edu-lsv-slide-pager-btn:hover,.edu-lsv-slide-pager-btn:focus-visible{border-color:#2dd4bf;background:rgba(45,212,191,.12);color:#5eead4;outline:0}
.edu-lsv-slide-pager-btn:disabled{opacity:.35;cursor:not-allowed}
#edu-lsv-slide-count{min-width:74px;text-align:center;font:800 12px/1 Space Grotesk,Jost,sans-serif}

.edu-lsv-sheet-tabs-row{display:flex;align-items:stretch;gap:5px;flex:0 0 auto;min-width:0;padding:5px 7px;border-bottom:1px solid #dbe2ea;background:#f1f5f9;direction:ltr}
.edu-lsv-sheet-tabs-row .edu-lsv-sheet-tabs{flex:1 1 auto;min-width:0;margin:0!important;padding:0!important;border:0!important;background:transparent!important;overflow-x:auto!important;overflow-y:hidden!important;flex-wrap:nowrap!important;scrollbar-width:thin;overscroll-behavior-inline:contain}
.edu-lsv-sheet-switch{flex:0 0 34px;width:34px;height:34px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#334155;cursor:pointer}
.edu-lsv-sheet-switch:hover,.edu-lsv-sheet-switch:focus-visible{border-color:#2dd4bf;color:#0f766e;background:#f0fdfa;outline:0}
.edu-lsv-sheet-switch:disabled{opacity:.35;cursor:not-allowed}
.edu-lsv-sheet-switch[hidden]{display:none!important}
#edu-lsv-sheet-table{min-height:0!important}
.edu-lsv-sheet-grid{overflow:scroll!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-x pan-y!important;scrollbar-gutter:stable both-edges!important;outline:0}
.edu-lsv-sheet-grid:focus-visible{box-shadow:inset 0 0 0 2px rgba(20,184,166,.55)}
.edu-lsv-sheet-pager{position:relative;z-index:4;box-shadow:0 -4px 14px rgba(15,23,42,.08)}

@media(max-width:700px){
  .edu-lsv-slide-viewport{padding:5px}
  .edu-lsv-slide-pager{min-height:44px;padding:4px 8px;gap:10px}
  .edu-lsv-slide-pager-btn{width:34px;height:34px;min-width:34px}
  .edu-lsv-word-reader{padding:8px 5px 28px!important}
  .edu-lsv-sheet-tabs-row{padding:4px 5px;gap:4px}
  .edu-lsv-sheet-switch{flex-basis:32px;width:32px;height:32px}
}

/* Interactive HTML reader — v4.0.39.18 */
.edu-lsv-html-preview,.edu-lsv-html-shell,.edu-lsv-html-frame{pointer-events:auto!important;touch-action:auto!important}
.edu-lsv-html-preview iframe,.edu-lsv-html-shell iframe{position:relative!important;z-index:1!important;pointer-events:auto!important}


/* Universal reader geometry, typography and PDF fitting — v4.0.39.19 */
.edu-lsv-pdf-local{width:100%!important;max-width:none!important;height:100%!important;border-radius:0!important}
.edu-lsv-pdf-scroll{padding:2px!important;align-items:center!important;justify-content:center!important}
.edu-lsv-pdf-tools button.active{border-color:#2dd4bf!important;color:#0f766e!important;background:#ecfdf5!important}
.edu-lsv-native-pdf{width:100%!important;height:100%!important;min-height:0!important}
.edu-lsv-native-pdf>.edu-lsv-pdf-frame{width:100%!important;height:100%!important;min-height:0!important;border-radius:0!important}
.edu-lsv-word-reader .edu-lsv-doc{min-height:100%!important}
.edu-lsv-doc,.edu-lsv-text,.edu-lsv-slide-el,.edu-lsv-sheet td,.edu-lsv-sheet th{
  letter-spacing:normal!important;word-spacing:normal!important;word-break:normal!important;overflow-wrap:break-word!important;
  font-kerning:normal!important;font-variant-ligatures:common-ligatures contextual!important;text-rendering:optimizeLegibility!important;
}
.edu-lsv-doc [dir="rtl"],.edu-lsv-text[dir="rtl"],.edu-lsv-slide-el[dir="rtl"],.edu-lsv-sheet td[dir="rtl"]{
  font-family:Tajawal,Amiri,"Noto Sans Arabic",Arial,sans-serif!important;font-feature-settings:"rlig" 1,"liga" 1,"calt" 1,"kern" 1!important;
}

/* Scroll-safe PDF centering — v4.0.39.19 */
.edu-lsv-pdf-scroll{display:block!important;text-align:center!important}
#edu-lsv-pdf-canvas{margin:0 auto!important}

/* 4.0.39.19.30 — mobile-safe PDF surface. The first render is a true full-page
   fit; zoomed pages start at a reachable left edge and remain pannable in both
   axes even when the surrounding application uses RTL. */
.edu-lsv-stage.is-pdf{min-width:0!important;min-height:0!important}
.edu-lsv-pdf-local{min-width:0!important;min-height:0!important;overflow:hidden!important}
.edu-lsv-pdf-tools{
  direction:ltr!important;flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;
  scrollbar-width:thin!important;overscroll-behavior-inline:contain!important;-webkit-overflow-scrolling:touch!important;
}
.edu-lsv-pdf-tools>*{flex:0 0 auto!important}.edu-lsv-pdf-tools .edu-lsv-pdf-spacer{flex:1 1 auto!important;min-width:8px!important}
.edu-lsv-pdf-scroll{
  display:block!important;direction:ltr!important;text-align:center!important;min-width:0!important;min-height:0!important;
  overflow:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;
  touch-action:pan-x pan-y!important;scrollbar-gutter:stable!important;padding:clamp(2px,.8vw,8px)!important;
}
#edu-lsv-pdf-canvas{display:block!important;max-width:none!important;max-height:none!important;margin:0 auto!important;transform-origin:top left!important}
@media(max-width:700px){
  .edu-lsv-pdf-tools{min-height:44px!important;padding:4px 5px!important;gap:4px!important}
  .edu-lsv-pdf-tools button{width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important;padding:0!important}
  .edu-lsv-pdf-tools span{font-size:10px!important}.edu-lsv-pdf-scroll{scrollbar-gutter:auto!important}
}

/* 4.0.39.19.34 — compact, continuous and format-faithful PDF reader.
   PDF pages are painted by bundled PDF.js directly to canvases; no text reflow,
   HTML reconstruction or external document service is used. */
.edu-lsv-modal.is-pdf-viewer .edu-lsv-head{
  min-height:38px!important;height:38px!important;padding:3px 6px!important;gap:4px!important;flex:0 0 38px!important;
}
.edu-lsv-modal.is-pdf-viewer .edu-lsv-type,
.edu-lsv-modal.is-pdf-viewer #edu-lsv-meta,
.edu-lsv-modal.is-pdf-viewer #edu-lsv-page,
.edu-lsv-modal.is-pdf-viewer #edu-lsv-download,
.edu-lsv-modal.is-pdf-viewer #edu-lsv-fullscreen{display:none!important}
.edu-lsv-modal.is-pdf-viewer .edu-lsv-title-wrap{min-width:0!important;gap:4px!important}
.edu-lsv-modal.is-pdf-viewer .edu-lsv-title-wrap strong{font-size:.64rem!important;font-weight:850!important;line-height:1.15!important}
.edu-lsv-modal.is-pdf-viewer .edu-lsv-actions{gap:3px!important}
.edu-lsv-modal.is-pdf-viewer .edu-lsv-actions button{width:30px!important;height:30px!important;min-width:30px!important;border-radius:8px!important}
.edu-lsv-modal.is-pdf-viewer .edu-lsv-foot{display:none!important}
.edu-lsv-modal.is-pdf-viewer .edu-lsv-watermark{inset-block-end:0!important}
.edu-lsv-stage.is-pdf{padding:0!important;overflow:hidden!important;background:#3b3f45!important;contain:layout paint!important}
.edu-lsv-pdf-local{position:relative!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;overflow:hidden!important;background:#3b3f45!important;border:0!important;border-radius:0!important}
.edu-lsv-pdf-scroll{
  position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;
  overflow:auto!important;direction:ltr!important;text-align:initial!important;padding:0!important;scrollbar-gutter:stable!important;
  -webkit-overflow-scrolling:touch!important;overscroll-behavior:contain!important;touch-action:pan-x pan-y!important;scroll-behavior:auto!important;
}
.edu-lsv-pdf-pages{display:flex!important;flex-direction:column!important;align-items:center!important;gap:10px!important;width:max-content!important;min-width:100%!important;min-height:100%!important;padding:8px!important;box-sizing:border-box!important;direction:ltr!important}
.edu-lsv-pdf-page{position:relative!important;display:block!important;flex:0 0 auto!important;margin:0 auto!important;overflow:hidden!important;background:#fff!important;border:0!important;border-radius:2px!important;box-shadow:0 2px 12px rgba(0,0,0,.28)!important;contain:layout paint!important}
.edu-lsv-pdf-page-canvas{display:block!important;max-width:none!important;max-height:none!important;margin:0!important;background:#fff!important;pointer-events:none!important;image-rendering:auto!important}
.edu-lsv-pdf-page::after{content:attr(data-page);position:absolute;inset-inline-end:5px;inset-block-end:4px;padding:1px 5px;border-radius:8px;background:rgba(15,23,42,.42);color:rgba(255,255,255,.84);font:700 9px/1.5 Jost,"Space Grotesk",sans-serif;pointer-events:none;opacity:.42}
.edu-lsv-pdf-menu-toggle{
  position:absolute!important;z-index:12!important;inset-block-start:10px!important;inset-inline-end:10px!important;width:36px!important;height:36px!important;min-width:36px!important;padding:0!important;
  display:flex!important;align-items:center!important;justify-content:center!important;border:1px solid rgba(255,255,255,.34)!important;border-radius:11px!important;background:rgba(15,23,42,.82)!important;color:#f8fafc!important;
  box-shadow:0 5px 18px rgba(0,0,0,.24)!important;backdrop-filter:blur(9px)!important;cursor:pointer!important;touch-action:manipulation!important;
}
.edu-lsv-pdf-menu-toggle:hover,.edu-lsv-pdf-menu-toggle:focus-visible,.edu-lsv-pdf-menu-toggle[aria-expanded="true"]{background:rgba(15,23,42,.96)!important;border-color:rgba(45,212,191,.72)!important;color:#5eead4!important;outline:0!important}
.edu-lsv-pdf-menu{
  position:absolute!important;z-index:13!important;inset-block-start:52px!important;inset-inline-end:10px!important;width:178px!important;max-width:calc(100% - 20px)!important;padding:8px!important;
  border:1px solid rgba(148,163,184,.34)!important;border-radius:12px!important;background:rgba(9,17,30,.96)!important;color:#e5edf5!important;box-shadow:0 16px 42px rgba(0,0,0,.34)!important;backdrop-filter:blur(13px)!important;direction:ltr!important;
}
.edu-lsv-pdf-menu[hidden]{display:none!important}
.edu-lsv-pdf-menu-status{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin:0 1px 7px!important;padding:0 2px 6px!important;border-bottom:1px solid rgba(148,163,184,.18)!important;color:#cbd5e1!important;font:750 10px/1.4 Jost,"Space Grotesk",sans-serif!important}
.edu-lsv-pdf-menu-grid{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:5px!important}
.edu-lsv-pdf-menu-grid button,.edu-lsv-pdf-menu-grid a{width:36px!important;height:34px!important;min-width:0!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;border:1px solid rgba(148,163,184,.24)!important;border-radius:8px!important;background:rgba(255,255,255,.045)!important;color:#d9e4ed!important;text-decoration:none!important;cursor:pointer!important}
.edu-lsv-pdf-menu-grid button:hover,.edu-lsv-pdf-menu-grid button:focus-visible,.edu-lsv-pdf-menu-grid a:hover,.edu-lsv-pdf-menu-grid a:focus-visible,.edu-lsv-pdf-menu-grid button.active{border-color:rgba(45,212,191,.72)!important;background:rgba(45,212,191,.12)!important;color:#5eead4!important;outline:0!important}
.edu-lsv-pdf-menu-grid .hidden{display:none!important}
.edu-lsv-native-pdf{position:relative!important;width:100%!important;height:100%!important;min-height:0!important;background:#525659!important}
.edu-lsv-native-pdf>.edu-lsv-pdf-frame{width:100%!important;height:100%!important;min-height:0!important;border:0!important;border-radius:0!important}
.edu-lsv-native-pdf-tools{position:absolute!important;z-index:5!important;inset-block-start:10px!important;inset-inline-end:10px!important;padding:0!important;background:transparent!important;border:0!important}
.edu-lsv-native-pdf-tools button{width:36px!important;height:36px!important;border:1px solid rgba(255,255,255,.35)!important;border-radius:11px!important;background:rgba(15,23,42,.82)!important;color:#fff!important;box-shadow:0 5px 18px rgba(0,0,0,.24)!important;cursor:pointer!important}
.edu-lsv-box[data-theme="light"] .edu-lsv-pdf-menu-toggle,.edu-lsv-box[data-theme="light"] .edu-lsv-pdf-menu{background:rgba(255,255,255,.96)!important;color:#0f172a!important;border-color:rgba(100,116,139,.28)!important}
.edu-lsv-box[data-theme="light"] .edu-lsv-pdf-menu-status{color:#475569!important;border-color:#e2e8f0!important}
.edu-lsv-box[data-theme="light"] .edu-lsv-pdf-menu-grid button,.edu-lsv-box[data-theme="light"] .edu-lsv-pdf-menu-grid a{background:#f8fafc!important;color:#334155!important;border-color:#d8e0ea!important}
@media(max-width:700px){
 .edu-lsv-modal.is-pdf-viewer .edu-lsv-head{min-height:36px!important;height:36px!important;flex-basis:36px!important;padding:2px 4px!important}
 .edu-lsv-modal.is-pdf-viewer .edu-lsv-actions button{width:28px!important;height:28px!important;min-width:28px!important}
 .edu-lsv-pdf-scroll{scrollbar-gutter:auto!important}
 .edu-lsv-pdf-pages{gap:4px!important;padding:2px!important}
 .edu-lsv-pdf-page{border-radius:0!important;box-shadow:0 1px 4px rgba(0,0,0,.20)!important}
 .edu-lsv-pdf-page::after{display:none!important}
 .edu-lsv-pdf-menu-toggle{inset-block-start:7px!important;inset-inline-end:7px!important;width:34px!important;height:34px!important;min-width:34px!important;border-radius:10px!important}
 .edu-lsv-pdf-menu{inset-block-start:47px!important;inset-inline-end:7px!important;width:166px!important;max-width:calc(100% - 14px)!important;padding:7px!important}
 .edu-lsv-pdf-menu-grid{gap:4px!important}.edu-lsv-pdf-menu-grid button,.edu-lsv-pdf-menu-grid a{width:34px!important;height:33px!important}
}
/* Keep the PDF surface itself completely unobstructed; page status stays inside the side tools drawer. */
.edu-lsv-pdf-page::after{display:none!important}

/* 4.0.39.19.38 — PowerPoint reader aligned with the compact PDF reader.
   Presentation pages use natural vertical scrolling. The precision path is the
   private same-origin LibreOffice->PDF preview; this CSS also gives the local
   OOXML fallback the same unobtrusive shell when server conversion is absent. */
.edu-lsv-modal.is-presentation-viewer .edu-lsv-head{
  min-height:38px!important;height:38px!important;padding:3px 6px!important;gap:4px!important;flex:0 0 38px!important;
}
.edu-lsv-modal.is-presentation-viewer .edu-lsv-type,
.edu-lsv-modal.is-presentation-viewer #edu-lsv-meta,
.edu-lsv-modal.is-presentation-viewer #edu-lsv-page,
.edu-lsv-modal.is-presentation-viewer #edu-lsv-download,
.edu-lsv-modal.is-presentation-viewer #edu-lsv-fullscreen{display:none!important}
.edu-lsv-modal.is-presentation-viewer .edu-lsv-title-wrap{min-width:0!important;gap:4px!important}
.edu-lsv-modal.is-presentation-viewer .edu-lsv-title-wrap strong{font-size:.64rem!important;font-weight:850!important;line-height:1.15!important}
.edu-lsv-modal.is-presentation-viewer .edu-lsv-actions{gap:3px!important}
.edu-lsv-modal.is-presentation-viewer .edu-lsv-actions button{width:30px!important;height:30px!important;min-width:30px!important;border-radius:8px!important}
.edu-lsv-modal.is-presentation-viewer .edu-lsv-foot,
.edu-lsv-modal.is-presentation-viewer .edu-lsv-watermark{display:none!important}
.edu-lsv-stage.is-presentation{padding:0!important;overflow:hidden!important;background:#3b3f45!important;align-items:stretch!important;justify-content:stretch!important}
.edu-lsv-ppt-local{position:relative!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;overflow:hidden!important;background:#3b3f45!important}
.edu-lsv-ppt-scroll{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;
  overflow:auto!important;direction:ltr!important;text-align:initial!important;padding:0!important;scrollbar-gutter:stable!important;
  -webkit-overflow-scrolling:touch!important;overscroll-behavior:contain!important;touch-action:pan-x pan-y!important;scroll-behavior:auto!important;
}
.edu-lsv-ppt-pages{display:flex!important;flex-direction:column!important;align-items:center!important;gap:10px!important;width:max-content!important;min-width:100%!important;min-height:100%!important;padding:8px!important;box-sizing:border-box!important;direction:ltr!important}
.edu-lsv-ppt-page{position:relative!important;display:block!important;flex:0 0 auto!important;max-width:none!important;margin:0 auto!important;box-sizing:border-box!important;direction:ltr!important}
.edu-lsv-ppt-page .edu-lsv-slide-wrap{width:100%!important;max-width:none!important;height:auto!important;margin:0!important;padding:0!important;overflow:visible!important;background:transparent!important;display:block!important}
.edu-lsv-ppt-page .edu-lsv-slide{position:relative!important;width:100%!important;max-height:none!important;margin:0!important;border:0!important;border-radius:2px!important;background:#fff;box-shadow:0 2px 12px rgba(0,0,0,.28)!important;overflow:hidden!important;container-type:inline-size!important}
.edu-lsv-ppt-page .edu-lsv-slide-el{transform-origin:center center}
.edu-lsv-ppt-page .edu-lsv-slide-text{line-height:1.12!important;overflow:hidden!important;white-space:pre-wrap!important;unicode-bidi:plaintext!important}
.edu-lsv-ppt-page .edu-lsv-slide-table{font-family:inherit!important}
.edu-lsv-ppt-page .edu-lsv-slide-table td{line-height:1.12!important;overflow:hidden!important;box-sizing:border-box!important}
.edu-lsv-ppt-local .edu-lsv-pdf-menu{direction:ltr!important}
@media(max-width:700px){
 .edu-lsv-modal.is-presentation-viewer .edu-lsv-head{min-height:36px!important;height:36px!important;flex-basis:36px!important;padding:2px 4px!important}
 .edu-lsv-modal.is-presentation-viewer .edu-lsv-actions button{width:28px!important;height:28px!important;min-width:28px!important}
 .edu-lsv-ppt-scroll{scrollbar-gutter:auto!important}
 .edu-lsv-ppt-pages{gap:4px!important;padding:2px!important}
 .edu-lsv-ppt-page .edu-lsv-slide{border-radius:0!important;box-shadow:0 1px 4px rgba(0,0,0,.20)!important}
}


/* 4.0.39.19.40 — desktop presentation centering.
   Reserve scrollbar space symmetrically and fit slides inside the real inner
   viewport so RTL/LTR direction or a desktop scrollbar can never push the
   presentation off the visual centre. Mobile keeps its edge-to-edge layout. */
@media(min-width:701px){
  .edu-lsv-modal.is-presentation-viewer .edu-lsv-ppt-scroll,
  .edu-lsv-modal.is-presentation-viewer .edu-lsv-pdf-scroll{scrollbar-gutter:stable both-edges!important}
  .edu-lsv-modal.is-presentation-viewer .edu-lsv-ppt-pages,
  .edu-lsv-modal.is-presentation-viewer .edu-lsv-pdf-pages{margin-inline:auto!important}
  .edu-lsv-modal.is-presentation-viewer .edu-lsv-ppt-page,
  .edu-lsv-modal.is-presentation-viewer .edu-lsv-pdf-page{margin-inline:auto!important}
}

/* 4.0.39.19.41 — compact local archive + source/workbench readers.
   Archive navigation behaves like a filesystem and code/preview tools live in
   the same small settings drawer used by the PDF/PPTX reader. */
.edu-lsv-modal.is-code-viewer .edu-lsv-head,
.edu-lsv-modal.is-archive-viewer .edu-lsv-head{
  min-height:38px!important;height:38px!important;flex:0 0 38px!important;
  padding:3px 6px!important;gap:4px!important;
}
.edu-lsv-modal.is-code-viewer .edu-lsv-type,
.edu-lsv-modal.is-code-viewer #edu-lsv-meta,
.edu-lsv-modal.is-code-viewer #edu-lsv-page,
.edu-lsv-modal.is-code-viewer #edu-lsv-download,
.edu-lsv-modal.is-code-viewer #edu-lsv-fullscreen,
.edu-lsv-modal.is-archive-viewer .edu-lsv-type,
.edu-lsv-modal.is-archive-viewer #edu-lsv-meta,
.edu-lsv-modal.is-archive-viewer #edu-lsv-page,
.edu-lsv-modal.is-archive-viewer #edu-lsv-download,
.edu-lsv-modal.is-archive-viewer #edu-lsv-fullscreen{display:none!important}
.edu-lsv-modal.is-code-viewer .edu-lsv-title-wrap,
.edu-lsv-modal.is-archive-viewer .edu-lsv-title-wrap{min-width:0!important;gap:4px!important}
.edu-lsv-modal.is-code-viewer .edu-lsv-title-wrap strong,
.edu-lsv-modal.is-archive-viewer .edu-lsv-title-wrap strong{font-size:.64rem!important;font-weight:850!important;line-height:1.15!important}
.edu-lsv-modal.is-code-viewer .edu-lsv-actions,
.edu-lsv-modal.is-archive-viewer .edu-lsv-actions{gap:3px!important}
.edu-lsv-modal.is-code-viewer .edu-lsv-actions button,
.edu-lsv-modal.is-archive-viewer .edu-lsv-actions button{width:30px!important;height:30px!important;min-width:30px!important;border-radius:8px!important}
.edu-lsv-modal.is-code-viewer .edu-lsv-foot,
.edu-lsv-modal.is-code-viewer .edu-lsv-watermark,
.edu-lsv-modal.is-archive-viewer .edu-lsv-foot,
.edu-lsv-modal.is-archive-viewer .edu-lsv-watermark{display:none!important}
.edu-lsv-stage.is-code,.edu-lsv-stage.is-archive{padding:0!important;min-height:0!important;overflow:hidden!important;align-items:stretch!important;justify-content:stretch!important}

/* Source + live preview */
.edu-lsv-code-workbench{position:relative!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;overflow:hidden!important;background:#07101d!important;--edu-code-zoom:1}
.edu-lsv-code-workbench>.edu-lsv-format-tools,.edu-lsv-code-workbench>.edu-lsv-code-tools{display:none!important}
.edu-lsv-code-workbench .edu-lsv-code-panel{position:absolute!important;inset:0!important;display:none!important;min-width:0!important;min-height:0!important;overflow:auto!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior:contain!important;touch-action:pan-x pan-y!important;scrollbar-gutter:stable both-edges!important}
.edu-lsv-code-workbench .edu-lsv-code-panel.active{display:block!important}
.edu-lsv-code-workbench .edu-lsv-code-view{direction:ltr!important;text-align:left!important;background:#07101d!important}
.edu-lsv-code-workbench .edu-lsv-code-lines{min-width:max-content!important;margin:0!important;padding:10px 0 28px!important;font-size:calc(13px * var(--edu-code-zoom,1))!important;line-height:1.62!important}
.edu-lsv-code-workbench .edu-lsv-code-lines li{min-height:1.62em!important}
.edu-lsv-code-workbench .edu-lsv-html-preview{background:#f8fafc!important;overflow:auto!important}
.edu-lsv-code-workbench .edu-lsv-html-preview iframe{display:block!important;width:100%!important;height:100%!important;min-width:100%!important;min-height:100%!important;border:0!important;background:#fff!important;transform-origin:top left!important}
.edu-lsv-code-menu{inset-block-start:8px!important;inset-inline-end:8px!important;width:196px!important;max-width:calc(100% - 16px)!important;direction:ltr!important}
.edu-lsv-code-menu-status{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin:0 1px 7px!important;padding:0 2px 6px!important;border-bottom:1px solid rgba(148,163,184,.18)!important;color:#cbd5e1!important;font:750 10px/1.4 Jost,"Space Grotesk",sans-serif!important}
.edu-lsv-code-menu-grid{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:5px!important}
.edu-lsv-code-menu-grid button,.edu-lsv-code-menu-grid a{width:38px!important;height:34px!important;min-width:0!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;border:1px solid rgba(148,163,184,.24)!important;border-radius:8px!important;background:rgba(255,255,255,.045)!important;color:#d9e4ed!important;text-decoration:none!important;cursor:pointer!important}
.edu-lsv-code-menu-grid button:hover,.edu-lsv-code-menu-grid button:focus-visible,.edu-lsv-code-menu-grid a:hover,.edu-lsv-code-menu-grid a:focus-visible,.edu-lsv-code-menu-grid button.active{border-color:rgba(45,212,191,.72)!important;background:rgba(45,212,191,.12)!important;color:#5eead4!important;outline:0!important}
.edu-lsv-code-menu-grid .hidden{display:none!important}

/* ZIP/RAR/7z filesystem-style browser */
.edu-lsv-archive{position:relative!important;width:100%!important;height:100%!important;min-height:0!important;display:flex!important;flex-direction:column!important;gap:0!important;padding:0!important;background:var(--bg,#07101d)!important;overflow:hidden!important}
.edu-lsv-archive-menu{inset-block-start:8px!important;inset-inline-end:8px!important;width:132px!important;max-width:calc(100% - 16px)!important;direction:ltr!important}
.edu-lsv-archive-nav{min-height:38px!important;flex:0 0 auto!important;display:flex!important;align-items:center!important;gap:8px!important;padding:4px 7px!important;border-bottom:1px solid var(--line,#27364b)!important;background:color-mix(in srgb,var(--card,#0f172a) 96%,transparent)!important}
.edu-lsv-archive-breadcrumbs{display:flex!important;align-items:center!important;gap:3px!important;flex:1 1 auto!important;min-width:0!important;overflow-x:auto!important;scrollbar-width:none!important;white-space:nowrap!important}
.edu-lsv-archive-breadcrumbs::-webkit-scrollbar{display:none!important}
.edu-lsv-archive-breadcrumbs button{height:28px!important;min-width:28px!important;max-width:220px!important;padding:0 7px!important;border:0!important;border-radius:7px!important;background:transparent!important;color:inherit!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;cursor:pointer!important;font:750 11px/1 Jost,"Space Grotesk",sans-serif!important}
.edu-lsv-archive-breadcrumbs button:hover,.edu-lsv-archive-breadcrumbs button:focus-visible{background:rgba(45,212,191,.10)!important;color:#5eead4!important;outline:0!important}
.edu-lsv-archive-breadcrumbs>i{font-size:8px!important;opacity:.45!important;flex:0 0 auto!important}
.edu-lsv-archive-nav>label{height:30px!important;flex:0 1 240px!important;min-width:120px!important;display:flex!important;align-items:center!important;gap:6px!important;padding:0 8px!important;border:1px solid var(--line,#334155)!important;border-radius:8px!important;background:var(--input,#071021)!important}
.edu-lsv-archive-nav>label input{width:100%!important;min-width:0!important;border:0!important;outline:0!important;background:transparent!important;color:inherit!important;box-shadow:none!important;font-size:11px!important}
.edu-lsv-archive-list{flex:1 1 auto!important;min-height:0!important;overflow:auto!important;display:block!important;padding:4px!important;scrollbar-gutter:stable both-edges!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-x pan-y!important}
.edu-lsv-archive-row{min-height:42px!important;margin:0!important;padding:5px 8px!important;border:0!important;border-bottom:1px solid color-mix(in srgb,var(--line,#334155) 58%,transparent)!important;border-radius:6px!important;background:transparent!important;box-shadow:none!important;transform:none!important}
.edu-lsv-archive-row:not(.is-disabled):hover,.edu-lsv-archive-row:not(.is-disabled):focus-visible{transform:none!important;border-color:color-mix(in srgb,var(--accent,#22c55e) 35%,var(--line,#334155))!important;background:color-mix(in srgb,var(--accent,#22c55e) 7%,transparent)!important}
.edu-lsv-archive-file{gap:8px!important}.edu-lsv-archive-file>i{width:30px!important;height:30px!important;flex-basis:30px!important;border-radius:7px!important}.edu-lsv-archive-file strong{font-size:12px!important}.edu-lsv-archive-file small{font-size:10px!important}.edu-lsv-archive-action{font-size:10px!important}
.edu-lsv-archive-empty{min-height:100%!important}

@media(max-width:700px){
 .edu-lsv-modal.is-code-viewer .edu-lsv-head,.edu-lsv-modal.is-archive-viewer .edu-lsv-head{min-height:36px!important;height:36px!important;flex-basis:36px!important;padding:2px 4px!important}
 .edu-lsv-modal.is-code-viewer .edu-lsv-actions button,.edu-lsv-modal.is-archive-viewer .edu-lsv-actions button{width:28px!important;height:28px!important;min-width:28px!important}
 .edu-lsv-code-menu{inset-block-start:6px!important;inset-inline-end:6px!important;width:188px!important}
 .edu-lsv-code-workbench .edu-lsv-code-lines{font-size:calc(12px * var(--edu-code-zoom,1))!important}
 .edu-lsv-archive-nav{min-height:36px!important;padding:3px 4px!important;gap:4px!important}
 .edu-lsv-archive-nav>label{flex:0 1 132px!important;min-width:92px!important;padding:0 6px!important}
 .edu-lsv-archive-breadcrumbs button{max-width:120px!important;padding-inline:5px!important}
 .edu-lsv-archive-list{scrollbar-gutter:auto!important;padding:2px!important}
 .edu-lsv-archive-row{min-height:40px!important;padding:4px 6px!important}
}
/* 4.0.39.19.42 — progressive source rendering: the complete source remains
   scrollable without creating tens of thousands of DOM nodes at once. */
.edu-lsv-code-more,.se-code-more{height:1px!important;min-height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}
