﻿.startBtn{
    padding:14px 28px;
    font-size:18px;
    border:none;
    border-radius:12px;
    background:#2ecc71;
    color:#072114;
    cursor:pointer;
    transition:.18s;
    box-shadow: 0 12px 30px rgba(0,0,0,.25);
    min-width:160px;
  }
  .startBtn:hover{ transform:translateY(-2px); filter:brightness(1.03); }
  .startBtn:active{ transform:translateY(0px); }
  .startBtn.alt{ background:#38bdf8; color:#062236; }
  .chip{
    display:flex; align-items:center; gap:8px;
    padding:8px 10px;
    border-radius:999px;
    background:rgba(255,255,255,.08);
    color:rgba(234,242,255,.90);
    font-size:12px;
    cursor:pointer;
    user-select:none;
  }
  .chip input{ width:14px; height:14px; }


  #authModal{ position:fixed; inset:0; z-index:10000; }
  #authModal.hidden{ display:none !important; pointer-events:none !important; }
  #authModal[aria-hidden="true"]{ display:none !important; pointer-events:none !important; }

  .authBackdrop{
    position:absolute; inset:0;
    background: rgba(0,0,0,.45);
    backdrop-filter: blur(6px);
  }

  .authCard{
    position:absolute;
    left:50%; top:50%;
    transform: translate(-50%, -50%);
    width: min(560px, calc(100vw - 32px));
    background: rgba(12,24,36,.92);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    box-shadow: 0 20px 70px rgba(0,0,0,.5);
    overflow:hidden;
  }

  .authTop{ display:flex; align-items:center; justify-content:space-between; padding:16px 18px; border-bottom:1px solid rgba(255,255,255,.10); }
  .authKicker{ font-size:12px; letter-spacing:.45px; color: rgba(208,245,232,.85); }
  .authTitle{ font-size:20px; font-weight:700; color:#fff; margin-top:2px; }
  .authX{ border:none; background:transparent; color:rgba(255,255,255,.85); font-size:18px; cursor:pointer; padding:6px 8px; border-radius:10px; }
  .authX:hover{ background: rgba(255,255,255,.08); }

  .authBody{ padding:16px 18px 18px; }
  .authHint{ color: rgba(234,242,255,.85); margin-bottom:10px; }

  .authRoleRow{ display:flex; gap:10px; flex-wrap:wrap; }
  .authRole{
    flex:1 1 160px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    color:#fff;
    padding:12px 12px;
    border-radius:14px;
    cursor:pointer;
    transition:.18s;
    text-align:left;
  }
  .authRole:hover{ transform: translateY(-2px); background: rgba(255,255,255,.10); }

  .authMiniRow{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:12px; }
  .authBack{ background:transparent; border:none; color:#bfe8ff; cursor:pointer; padding:6px 8px; border-radius:10px; }
  .authBack:hover{ background: rgba(56,189,248,.12); }
  .authPill{ font-size:12px; padding:6px 10px; border-radius:999px; background: rgba(34,197,94,.14); border:1px solid rgba(34,197,94,.22); color:#dfffe9; }

  .authForm{ display:flex; flex-direction:column; gap:10px; }
  .authLabel{ font-size:12px; color: rgba(234,242,255,.80); display:block; margin-bottom:6px; }
  .authInput{
    width:100%;
    padding:12px 12px;
    border-radius:12px;
    border:1px solid rgba(255,255,255,.14);
    background: rgba(0,0,0,.18);
    color:#fff;
    outline:none;
  }
  .authInput:focus{ border-color: rgba(56,189,248,.55); box-shadow: 0 0 0 3px rgba(56,189,248,.18); }

  .authMsg{ min-height:20px; font-size:13px; color: rgba(255,255,255,.86); }
  .authMsg.err{ color: #ffd1d1; }
  .authMsg.ok{ color: #c6ffe0; }

  .authSubmit{
    margin-top:2px;
    padding:12px 14px;
    border:none;
    border-radius:12px;
    background:#2ecc71;
    color:#062013;
    font-weight:700;
    cursor:pointer;
    transition:.18s;
  }
  .authSubmit:hover{ transform: translateY(-1px); filter:brightness(1.03); }

  .authSwap{ display:flex; gap:8px; justify-content:center; align-items:center; margin-top:8px; color: rgba(234,242,255,.75); font-size:13px; }
  .authSwapBtn{ background:transparent; border:none; color:#38bdf8; cursor:pointer; font-weight:700; }
  .authSwapBtn:hover{ text-decoration:underline; }

/* =========================
   ADMIN MODE (Yetkili Paneli)
   ========================= */
#adminRoot{
  position:fixed;
  inset:0;
  z-index:9000; /* startScreen 9999, authModal 10000 */
  background: radial-gradient(1200px 700px at 20% 15%, rgba(56,189,248,.20), transparent 55%),
              radial-gradient(1200px 700px at 80% 85%, rgba(34,197,94,.20), transparent 55%),
              linear-gradient(135deg, #070a12, #0b1220);
  color:#eaf2ff;
  display:flex;
  flex-direction:column;
}
#adminRoot.hidden{ display:none !important; pointer-events:none !important; }
#adminRoot[aria-hidden="true"]{ display:none !important; pointer-events:none !important; }
#teacherRoot{
  position:fixed;
  inset:0;
  z-index:9000;
  background: radial-gradient(1200px 700px at 20% 15%, rgba(56,189,248,.18), transparent 55%),
              radial-gradient(1200px 700px at 80% 85%, rgba(16,185,129,.18), transparent 55%),
              linear-gradient(135deg, #070a12, #0b1220);
  color:#eaf2ff;
  display:flex;
  flex-direction:column;
}
#teacherRoot.hidden{ display:none !important; pointer-events:none !important; }
#teacherRoot[aria-hidden="true"]{ display:none !important; pointer-events:none !important; }
#parentRoot{
  position:fixed;
  inset:0;
  z-index:9000;
  background: radial-gradient(1200px 700px at 18% 12%, rgba(20,184,166,.18), transparent 55%),
              radial-gradient(1200px 700px at 84% 82%, rgba(245,158,11,.16), transparent 55%),
              #08111f;
  color:#fff;
  overflow:auto;
}
#parentRoot.hidden{ display:none !important; pointer-events:none !important; }
#parentRoot[aria-hidden="true"]{ display:none !important; pointer-events:none !important; }
.parentBrandIcon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border-radius:12px;
  background:rgba(20,184,166,.16);
  border:1px solid rgba(20,184,166,.30);
  color:#dffdf6;
  font-weight:900;
}
.parentMain .adminContent{
  max-width:1180px;
}
.parentChildBar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom:14px;
}
.parentStudentSelect{
  width:min(320px, 100%);
}
.parentPanelGrid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:10px;
}
.parentPanelCard{
  padding:14px;
  border-radius:16px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.10);
}
.parentPanelCard b{
  color:#fff;
}
.parentPanelLabel{
  color:rgba(234,242,255,.62);
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.parentPanelValue{
  margin-top:6px;
  color:#fff;
  font-size:24px;
  line-height:1.1;
  font-weight:900;
}
.parentPanelText{
  margin-top:8px;
  color:rgba(234,242,255,.76);
  font-size:13px;
  line-height:1.5;
}
.parentPanelSection{
  margin-top:12px;
  padding:14px;
  border-radius:16px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.10);
}
.parentPanelSectionTitle{
  font-weight:900;
  margin-bottom:10px;
}
.parentPanelList{
  display:grid;
  gap:8px;
}
.parentPanelRow{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  align-items:flex-start;
  padding:11px 12px;
  border-radius:14px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.09);
}
.parentPanelTag{
  padding:5px 8px;
  border-radius:999px;
  background:rgba(20,184,166,.12);
  border:1px solid rgba(20,184,166,.22);
  color:#b9fff2;
  font-size:11px;
  font-weight:900;
  white-space:nowrap;
}
.parentPanelActions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.parentHero{
  padding:16px;
  border-radius:18px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.10);
  margin-bottom:12px;
}
.parentHeroTitle{
  font-size:20px;
  font-weight:900;
  color:#fff;
}
.parentHeroText{
  margin-top:8px;
  color:rgba(234,242,255,.78);
  font-size:14px;
  line-height:1.58;
}
.parentSummaryGrid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-top:12px;
}
.parentSummaryCard{
  padding:12px;
  border-radius:14px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.10);
}
.parentSummaryLabel{
  color:rgba(234,242,255,.62);
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.parentSummaryValue{
  margin-top:5px;
  color:#fff;
  font-size:14px;
  font-weight:900;
  line-height:1.3;
}
.parentDomainList{
  display:grid;
  gap:10px;
}
.parentDomainCard{
  padding:14px;
  border-radius:14px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.10);
}
.parentDomainTop{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.parentDomainTitle{
  font-size:15px;
  font-weight:900;
  color:#fff;
}
.parentDomainStatus{
  padding:5px 8px;
  border-radius:999px;
  background:rgba(20,184,166,.12);
  border:1px solid rgba(20,184,166,.22);
  color:#b9fff2;
  font-size:11px;
  font-weight:900;
  white-space:nowrap;
}
.parentDomainBody{
  margin-top:8px;
  color:rgba(234,242,255,.78);
  font-size:13px;
  line-height:1.58;
}
.parentDomainSupport{
  margin-top:9px;
  padding:10px 11px;
  border-radius:12px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.10);
  color:rgba(234,242,255,.78);
  font-size:13px;
  line-height:1.55;
}
.parentDomainSupport b{
  color:#fff;
}
.parentHomeList{
  display:grid;
  gap:8px;
  margin:0;
  padding:0;
  list-style:none;
}
.parentHomeList li{
  padding:10px 11px;
  border-radius:12px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.10);
  color:rgba(234,242,255,.78);
  font-size:13px;
  line-height:1.5;
}
.parentCareNote{
  margin-top:14px;
  padding:12px;
  border-radius:14px;
  background:rgba(20,184,166,.10);
  border:1px solid rgba(20,184,166,.20);
  color:rgba(224,255,248,.86);
  font-size:12px;
  line-height:1.55;
}
#parentRoot .printSection{
  margin-top:12px;
  padding:14px;
  border-radius:16px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.10);
}
#parentRoot .printSectionTitle{
  margin-bottom:10px;
  color:#fff;
  font-weight:900;
}
#parentRoot .parentHero,
#parentRoot .parentSummaryCard,
#parentRoot .parentDomainCard,
#parentRoot .parentHomeList li{
  background:rgba(255,255,255,.055);
  border-color:rgba(255,255,255,.10);
}
#parentRoot .parentHeroTitle,
#parentRoot .parentSummaryValue,
#parentRoot .parentDomainTitle,
#parentRoot .parentDomainSupport b{
  color:#fff;
}
#parentRoot .parentHeroText,
#parentRoot .parentDomainBody,
#parentRoot .parentDomainSupport,
#parentRoot .parentHomeList li{
  color:rgba(234,242,255,.78);
}
.teacherBadge{
  background: rgba(56,189,248,.16);
  border: 1px solid rgba(56,189,248,.28);
  color: rgba(223,246,255,.95);
}
.adminGrid2{
  grid-template-columns: minmax(320px, 420px) 1fr;
}
.adminGrid2 > *{
  min-width:0;
}
#teacherScreen_classes .adminGrid2,
#teacherScreen_library .adminGrid2{
  grid-template-columns: minmax(430px, .95fr) minmax(620px, 1.25fr);
  align-items:start;
}
@media (max-width: 1100px){
  .adminGrid2{ grid-template-columns: 1fr; }
  #teacherScreen_classes .adminGrid2,
  #teacherScreen_library .adminGrid2{
    grid-template-columns:1fr;
  }
  .teacherAssessmentTopGrid,
  .teacherAssessmentGrid,
  .teacherAssessmentStudentGrid,
  .teacherAssessmentSourceGrid,
  .teacherAssessmentWideForm,
  .teacherAssessmentSurveyChoiceGrid,
  .teacherAssessmentModuleGrid{
    grid-template-columns:1fr;
  }
  .teacherAssessmentReadingPickerGrid{
    grid-template-columns:1fr;
  }
  .teacherAssessmentLookupRow{
    grid-template-columns:1fr;
  }
}
.adminTextarea{
  min-height: 180px;
  resize: vertical;
  line-height: 1.5;
}
.contentWizard{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.contentWizardHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.contentWizardDots{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.contentWizardDot{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:34px;
  height:34px;
  padding:0 10px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  color:rgba(234,242,255,.80);
  font-size:12px;
  font-weight:800;
}
.contentWizardDot.active{
  background:rgba(56,189,248,.18);
  border-color:rgba(56,189,248,.35);
  color:#eaf2ff;
}
.contentWizardStep{
  display:flex;
  flex-direction:column;
}
.contentWizardNav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}
.adminTextsFullWizard{
  display:grid;
  gap:12px;
}
.adminTextsWizardCard{
  padding:16px 18px;
}
.adminTextsWizardCard #adminComposerWrap{
  margin-top:12px;
}
.adminTextsWideForm{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:12px;
  align-items:start;
}
.adminTextsWideForm .authInput,
.adminTextsWideForm .pickerList{
  min-width:0;
}
.adminTextsWizardCard .adminTextarea{
  min-height:220px;
}
.adminTextsWizardCard .pickerList{
  min-height:58px;
}
.contentWizardGhost{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  color:#fff;
}
.contentWizardNav .authSubmit{
  margin-top:0;
}
.adminTextarea.smallArea{
  min-height: 110px;
}
.pickerList{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  min-height: 44px;
  padding:10px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}
.pickerChip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  color:#eaf2ff;
  cursor:pointer;
  user-select:none;
}
.pickerChip input{
  width:14px;
  height:14px;
}
.teacherClassCard{
  display:flex;
  flex-direction:column;
  gap:10px;
  min-width:0;
}
.adminTeacherCard{
  display:block;
  align-items:stretch;
  padding:14px 16px;
}
.adminTeacherMain{
  display:grid;
  grid-template-columns: minmax(260px, 1.15fr) minmax(220px, .62fr) minmax(340px, .98fr);
  gap:12px;
  align-items:flex-start;
}
.adminTeacherIdentity{
  min-width:0;
  display:grid;
  gap:5px;
}
.adminTeacherTitleRow{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.adminTeacherSubline,
.adminTeacherMetaLine{
  line-height:1.45;
}
.adminTeacherState{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:0 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.05);
  color:rgba(234,242,255,.92);
  font-size:11px;
  font-weight:900;
}
.adminTeacherState.is-active{
  border-color:rgba(34,197,94,.32);
  background:rgba(34,197,94,.14);
  color:#dcfce7;
}
.adminTeacherState.is-idle{
  border-color:rgba(245,158,11,.28);
  background:rgba(245,158,11,.12);
  color:#fde68a;
}
.adminTeacherStats{
  display:grid;
  grid-template-columns: repeat(2, minmax(102px, 1fr));
  gap:6px;
  align-self:start;
}
.adminTeacherMini{
  display:grid;
  gap:4px;
  padding:9px 10px;
  border-radius:12px;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.04));
  border:1px solid rgba(255,255,255,.10);
  min-width:0;
}
.adminTeacherMini span{
  font-size:11px;
  color: rgba(234,242,255,.72);
}
.adminTeacherMini b{
  font-size:15px;
  color:#fff;
}
.adminTeacherClasses{
  display:grid;
  gap:6px;
  margin-top:4px;
}
.adminTeacherSectionLabel{
  font-size:11px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:rgba(234,242,255,.66);
}
.adminTeacherClassList{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.adminTeacherClassPill{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  border:1px solid rgba(56,189,248,.24);
  background:rgba(56,189,248,.10);
  color:#d9f3ff;
  font-size:12px;
  font-weight:700;
}
.adminTeacherClassPill.is-empty{
  border-color:rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:rgba(234,242,255,.74);
}
.teacherEngagementInline{
  display:grid;
  gap:7px;
  padding:10px 12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  align-self:stretch;
}
.teacherEngagementInline.tone-good{
  border-color: rgba(34,197,94,.24);
  background: rgba(34,197,94,.10);
}
.teacherEngagementInline.tone-warn{
  border-color: rgba(245,158,11,.24);
  background: rgba(245,158,11,.10);
}
.teacherEngagementInline.tone-risk{
  border-color: rgba(239,68,68,.26);
  background: rgba(239,68,68,.10);
}
.teacherEngagementInlineTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}
.teacherEngagementInlineTop b{
  color:#fff;
  font-size:14px;
}
.teacherEngagementInlineMetrics{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
.teacherEngagementInlineMetrics span{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:0 9px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.07);
  color:rgba(234,242,255,.88);
  font-size:11px;
}
.teacherEngagementInlineMetrics span b{
  margin-right:5px;
  color:#fff;
}
.adminUserCard{
  align-items:flex-start;
}
.is-new-notice{
  border-color: rgba(239,68,68,.32) !important;
  box-shadow: 0 0 0 1px rgba(239,68,68,.14) inset, 0 12px 30px rgba(239,68,68,.08);
}
.teacherStudentRow{
  display:grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  padding:10px 12px;
  border-radius:14px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
}
.teacherStudentActions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
#teacherClassesList,
#teacherTextsList{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:12px;
}
.teacherClassCard .adminList{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}
.teacherClassCard > div:first-child,
.teacherStudentRow > div:first-child{
  min-width:0;
}
.teacherClassCard b,
.teacherClassCard .adminTiny,
.teacherStudentRow b,
.teacherStudentRow .adminTiny{
  overflow-wrap:anywhere;
}
.teacherTrackingShell{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.teacherTrackingOverview{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap:10px;
}
.teacherTrackingOverviewCard{
  padding:12px 14px;
  border-radius:16px;
  background: rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.10);
}
.teacherTrackingOverviewValue{
  margin-top:6px;
  font-size:24px;
  font-weight:900;
  line-height:1.1;
}
.teacherTrackingToolbar{
  display:grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(180px, .5fr));
  gap:10px;
}
.teacherTrackingInput{
  min-width:0;
}
.teacherTrackingSelect{
  min-width:0;
}
.teacherTrackingClasses{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.teacherTrackingClassBlock{
  padding:14px;
  border-radius:18px;
  background: rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.10);
  display:flex;
  flex-direction:column;
  gap:12px;
}
.teacherTrackingClassHead,
.teacherTrackingTaskHead,
.teacherTrackingStudentTop{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.teacherTrackingClassTitle{
  font-size:19px;
  font-weight:900;
  line-height:1.15;
}
.teacherTrackingTaskTitle{
  font-size:17px;
  font-weight:900;
  line-height:1.2;
}
.teacherTrackingTaskPills{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.teacherTrackingPill{
  padding:7px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  color:#eaf2ff;
  font-size:12px;
  font-weight:800;
}
.teacherTrackingMiniGrid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap:8px;
}
.teacherTrackingMiniStat{
  padding:10px 12px;
  border-radius:14px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  min-width:0;
}
.teacherTrackingMiniStat b{
  display:block;
  margin-top:4px;
  font-size:18px;
  font-weight:900;
}
.teacherTrackingMiniLabel{
  font-size:11px;
  color: rgba(234,242,255,.70);
  text-transform:uppercase;
  letter-spacing:.04em;
}
.teacherTrackingTaskCard{
  padding:12px;
  border-radius:16px;
  background: rgba(7,16,29,.30);
  border:1px solid rgba(255,255,255,.08);
  display:flex;
  flex-direction:column;
  gap:10px;
}
.teacherTrackingTaskLauncher{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:4px;
  border-radius:14px;
  cursor:pointer;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.teacherTrackingTaskLauncher:hover{
  transform: translateY(-1px);
  background: rgba(9,20,34,.42);
}
.teacherTrackingTaskLauncher:focus-visible{
  outline: 2px solid rgba(56,189,248,.55);
  outline-offset: 2px;
}
.teacherTrackingDetailHint{
  display:inline-flex;
  align-items:center;
  padding:7px 10px;
  border-radius:999px;
  background: rgba(56,189,248,.14);
  border:1px solid rgba(56,189,248,.28);
  color:#dff4ff;
  font-size:12px;
  font-weight:900;
}
.teacherTrackingStudentCard{
  display:grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap:10px;
  align-items:flex-start;
  padding:10px 12px;
  border-radius:14px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
}
.teacherTrackingState{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  font-size:11px;
  font-weight:900;
  border:1px solid transparent;
}
.teacherTrackingState--pending{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
  color:#eaf2ff;
}
.teacherTrackingState--support{
  background: rgba(239,68,68,.14);
  border-color: rgba(239,68,68,.30);
  color:#ffd7d7;
}
.teacherTrackingState--watch{
  background: rgba(245,158,11,.14);
  border-color: rgba(245,158,11,.28);
  color:#ffe6b3;
}
.teacherTrackingState--good{
  background: rgba(34,197,94,.14);
  border-color: rgba(34,197,94,.30);
  color:#d5ffe3;
}
.teacherTrackingInsightList{
  display:grid;
  gap:6px;
  padding:10px 12px;
  border-radius:14px;
  background: rgba(255,255,255,.035);
  border:1px dashed rgba(255,255,255,.10);
}
.teacherStudentDetailCard{
  max-width:min(980px, calc(100vw - 28px));
}
.teacherStudentDetailBody{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.teacherStudentDetailTabs{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.teacherStudentDetailTab{
  display:inline-flex;
  align-items:center;
  min-height:36px;
  position:relative;
  padding:0 42px 0 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
  color:rgba(234,242,255,.84);
  font-size:13px;
  font-weight:800;
  cursor:pointer;
  transition:background .18s ease, border-color .18s ease, transform .18s ease, color .18s ease;
}
.teacherStudentDetailTab:hover{
  background:rgba(255,255,255,.08);
  transform:translateY(-1px);
}
.teacherStudentDetailTab.active{
  background:rgba(56,189,248,.16);
  border-color:rgba(56,189,248,.34);
  color:#eef9ff;
}
.teacherStudentDetailPane{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.teacherStudentDetailSubTabs{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:10px;
}
.teacherStudentDetailSubTabsSecondary{
  margin-top:-2px;
}
.teacherStudentDetailSubTabsSecondary.hidden{
  display:none !important;
}
.teacherStudentDetailSubTab{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  position:relative;
  padding:0 38px 0 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:rgba(234,242,255,.78);
  font-size:12px;
  font-weight:800;
  cursor:pointer;
  transition:background .18s ease, border-color .18s ease, color .18s ease;
}
.teacherStudentDetailSubTab:hover{
  background:rgba(255,255,255,.08);
}
.teacherStudentDetailSubTab.active{
  background:rgba(34,197,94,.14);
  border-color:rgba(34,197,94,.30);
  color:#f0fdf4;
}
.teacherStudentDetailSubTabsSecondary .teacherStudentDetailSubTab{
  min-height:28px;
  padding:0 34px 0 10px;
  font-size:11px;
  background:rgba(255,255,255,.03);
}
.teacherStudentDetailSubTabsSecondary .teacherStudentDetailSubTab.active{
  background:rgba(56,189,248,.14);
  border-color:rgba(56,189,248,.30);
  color:#eef9ff;
}
.teacherStudentDetailSubTab .navNotifyBadge{
  min-width:20px;
  height:20px;
  padding:0 6px;
  right:8px;
  font-size:10px;
}
.exerciseSessionMetrics{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:8px;
}
.exerciseSessionMetric{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:rgba(234,242,255,.88);
  font-size:12px;
  font-weight:700;
}
.exerciseSessionNote{
  margin-top:8px;
  color:rgba(234,242,255,.82);
  line-height:1.5;
}
.exerciseSessionLevels{
  margin-top:8px;
  color:rgba(234,242,255,.68);
  line-height:1.45;
}
.exerciseSessionMeta{
  color:rgba(234,242,255,.64);
  font-size:12px;
  margin-top:4px;
}
.teacherStudentDetailExerciseSummary{
  margin-bottom:10px;
}
.exerciseSummaryCard{
  padding:12px;
  border-radius:16px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
}
.exerciseSummaryTop{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:10px;
}
.exerciseSummaryHint{
  color:rgba(234,242,255,.72);
  font-size:12px;
  line-height:1.45;
  max-width:54ch;
}
.exerciseSummaryMeta{
  color:rgba(234,242,255,.62);
  font-size:12px;
  white-space:nowrap;
}
.teacherDomainReport{
  display:grid;
  gap:12px;
  margin-bottom:12px;
}
.teacherDomainHead{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:14px;
  border-radius:16px;
  background:linear-gradient(135deg, rgba(15,23,42,.88), rgba(14,55,77,.72));
  border:1px solid rgba(255,255,255,.11);
  box-shadow:0 18px 36px rgba(2,8,20,.16);
}
.teacherDomainKicker{
  color:#fff;
  font-weight:900;
  margin-bottom:4px;
}
.teacherDomainLead{
  color:rgba(234,242,255,.72);
  font-size:12px;
  line-height:1.45;
}
.teacherDomainMeta{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
  margin-top:10px;
}
.teacherDomainMeta span{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:4px 8px;
  border-radius:999px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.09);
  color:rgba(234,242,255,.72);
  font-size:11px;
  font-weight:800;
}
.teacherDomainOverall{
  min-width:76px;
  text-align:center;
  padding:9px 10px;
  border-radius:14px;
  background:rgba(0,0,0,.16);
  border:1px solid rgba(255,255,255,.10);
  color:#fff;
}
.teacherDomainOverall strong{
  display:block;
  font-weight:900;
  font-size:20px;
  line-height:1.1;
}
.teacherDomainOverall span{
  display:block;
  margin-top:4px;
  color:rgba(234,242,255,.62);
  font-size:10px;
  font-weight:800;
}
.teacherDomainInsights{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:10px;
}
.teacherDomainInsight{
  min-width:0;
  padding:11px 12px;
  border-radius:14px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.10);
}
.teacherDomainInsight-strong{
  border-color:rgba(34,197,94,.22);
}
.teacherDomainInsight-watch{
  border-color:rgba(245,158,11,.24);
}
.teacherDomainInsight-next{
  border-color:rgba(56,189,248,.20);
}
.teacherDomainInsightTitle{
  color:rgba(234,242,255,.62);
  font-size:10px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.teacherDomainInsightLabel{
  margin-top:5px;
  color:#fff;
  font-size:13px;
  font-weight:900;
  line-height:1.25;
}
.teacherDomainInsightBody{
  margin-top:5px;
  color:rgba(234,242,255,.76);
  font-size:12px;
  line-height:1.45;
}
.teacherDomainGrid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:10px;
}
.teacherDomainCard{
  min-width:0;
  padding:12px;
  border-radius:16px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.10);
}
.teacherDomainCard.tone-good{
  border-color:rgba(34,197,94,.24);
  background:rgba(34,197,94,.08);
}
.teacherDomainCard.tone-warn{
  border-color:rgba(245,158,11,.24);
  background:rgba(245,158,11,.08);
}
.teacherDomainCard.tone-risk{
  border-color:rgba(239,68,68,.24);
  background:rgba(239,68,68,.08);
}
.teacherDomainCard.tone-info{
  border-color:rgba(56,189,248,.18);
  background:rgba(56,189,248,.07);
}
.teacherDomainCardTop{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
.teacherDomainTitle{
  color:#fff;
  font-weight:900;
  line-height:1.2;
}
.teacherDomainConfidence{
  margin-top:4px;
  color:rgba(234,242,255,.62);
  font-size:11px;
}
.teacherDomainScore{
  color:#fff;
  font-weight:900;
  font-size:18px;
}
.teacherDomainTrack{
  height:7px;
  margin-top:10px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  overflow:hidden;
}
.teacherDomainFill{
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg, rgba(34,197,94,.95), rgba(56,189,248,.95));
}
.teacherDomainBlock{
  margin-top:10px;
}
.teacherDomainBlockTitle{
  margin-bottom:5px;
  color:rgba(234,242,255,.54);
  font-size:10px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.teacherDomainBlockNext{
  padding-top:9px;
  border-top:1px solid rgba(255,255,255,.08);
}
.teacherDomainNote{
  color:rgba(234,242,255,.84);
  font-size:12px;
  line-height:1.45;
}
.teacherDomainNext{
  color:rgba(234,242,255,.72);
  font-size:12px;
  line-height:1.45;
}
.teacherStudentDetailStats{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap:10px;
}
.teacherStudentDetailStats--compact{
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}
.teacherStudentDetailSection{
  padding:12px;
  border-radius:16px;
  background: rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.10);
}
.teacherStudentDetailSectionHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:10px;
}
.teacherReportPrintActions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.teacherReportPrintBtn{
  width:auto;
  min-height:34px;
  padding:8px 12px;
  font-size:12px;
  border-radius:12px;
}
.teacherStudentDetailSplit{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
.teacherStudentDetailRow{
  display:grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap:10px;
  align-items:flex-start;
  padding:10px 12px;
  border-radius:14px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
}
.teacherStudentDetailRow.tone-good{
  border-color: rgba(34,197,94,.24);
  background: rgba(34,197,94,.10);
}
.teacherStudentDetailRow.tone-warn{
  border-color: rgba(245,158,11,.24);
  background: rgba(245,158,11,.10);
}
.teacherStudentDetailRow.tone-risk{
  border-color: rgba(239,68,68,.26);
  background: rgba(239,68,68,.11);
}
.teacherStudentDetailRow.tone-info{
  border-color: rgba(56,189,248,.18);
  background: rgba(56,189,248,.08);
}
.teacherStudentDetailTag{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  color:#eaf2ff;
  font-size:11px;
  font-weight:900;
}
.teacherStudentDetailTag.tone-good{
  border-color: rgba(34,197,94,.28);
  background: rgba(34,197,94,.16);
  color:#dcfce7;
}
.teacherStudentDetailTag.tone-warn{
  border-color: rgba(245,158,11,.28);
  background: rgba(245,158,11,.14);
  color:#fde68a;
}
.teacherStudentDetailTag.tone-risk{
  border-color: rgba(239,68,68,.34);
  background: rgba(239,68,68,.16);
  color:#ffe4e6;
}
.teacherStudentDetailTag.tone-info{
  border-color: rgba(56,189,248,.28);
  background: rgba(56,189,248,.14);
  color:#d9f3ff;
}
.analysisInsightCard{
  padding:12px 13px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  display:grid;
  gap:8px;
}
.analysisInsightCard.is-summary{
  background: linear-gradient(180deg, rgba(56,189,248,.12), rgba(255,255,255,.04));
}
.analysisInsightCard.tone-good{
  border-color: rgba(34,197,94,.28);
  background: rgba(34,197,94,.10);
}
.analysisInsightCard.tone-warn{
  border-color: rgba(245,158,11,.28);
  background: rgba(245,158,11,.10);
}
.analysisInsightCard.tone-risk{
  border-color: rgba(239,68,68,.30);
  background: rgba(239,68,68,.11);
}
.analysisInsightCard.tone-info{
  border-color: rgba(56,189,248,.24);
  background: rgba(56,189,248,.09);
}
.analysisInsightTop{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
.analysisInsightTitle{
  font-weight:900;
  color:#fff;
}
.analysisInsightBadge{
  display:inline-flex;
  align-items:center;
  padding:5px 9px;
  border-radius:999px;
  background: rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.18);
  color:#fff;
  font-size:11px;
  font-weight:900;
  white-space:nowrap;
}
.analysisInsightText{
  color: rgba(234,242,255,.86);
  line-height:1.55;
}
.inlineAlertBadge{
  display:inline-flex;
  align-items:center;
  margin-left:8px;
  padding:3px 7px;
  border-radius:999px;
  background:#ef4444;
  color:#fff;
  font-size:10px;
  font-weight:900;
  vertical-align:middle;
}
.hasAlert{
  border-color: rgba(239,68,68,.38) !important;
  box-shadow: 0 0 0 1px rgba(239,68,68,.16) inset;
}
.navNotifyBadge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:24px;
  height:24px;
  padding:0 8px;
  position:absolute;
  right:10px;
  top:8px;
  border-radius:999px;
  background:#ef4444;
  color:#fff;
  font-size:11px;
  font-weight:900;
  box-shadow:0 10px 18px rgba(239,68,68,.24);
}
.studentInsightConfirmCard{
  width:min(560px, calc(100vw - 28px));
}
.teacherEngagementCard{
  margin-top:10px;
  padding:12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}
.adminTeacherCard .teacherEngagementCard{
  margin-top:0;
}
.teacherEngagementCard.tone-good{
  border-color: rgba(34,197,94,.28);
  background: rgba(34,197,94,.10);
}
.teacherEngagementCard.tone-warn{
  border-color: rgba(245,158,11,.28);
  background: rgba(245,158,11,.10);
}
.teacherEngagementCard.tone-risk{
  border-color: rgba(239,68,68,.30);
  background: rgba(239,68,68,.10);
}
.teacherEngagementTop{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}
.teacherEngagementTitle{
  font-weight:900;
  color:#fff;
}
.teacherEngagementBadge{
  display:inline-flex;
  align-items:center;
  padding:5px 9px;
  border-radius:999px;
  background: rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.18);
  color:#fff;
  font-size:11px;
  font-weight:900;
}
.teacherEngagementGrid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap:8px;
}
.teacherEngagementMetric{
  padding:8px 10px;
  border-radius:12px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  display:grid;
  gap:4px;
}
.teacherEngagementMetric span{
  font-size:11px;
  color: rgba(234,242,255,.72);
}
.teacherEngagementMetric b{
  font-size:18px;
  color:#fff;
}
@media (max-width: 1100px){
  .adminTeacherMain{
    grid-template-columns:minmax(0, 1fr) minmax(220px, .75fr);
  }
  .teacherEngagementInline{
    grid-column:1 / -1;
  }
  .teacherDomainInsights{
    grid-template-columns:1fr;
  }
}
@media (max-width: 760px){
  .adminTeacherMain{
    grid-template-columns:1fr;
  }
  .adminTeacherStats{
    grid-template-columns:1fr 1fr;
  }
  .parentPanelGrid{
    grid-template-columns:1fr;
  }
  .parentSummaryGrid{
    grid-template-columns:1fr;
  }
  .parentDomainTop{
    display:grid;
  }
  .parentPanelRow{
    grid-template-columns:1fr;
  }
  .teacherEngagementInline{
    grid-column:auto;
  }
  .teacherDomainHead{
    display:grid;
  }
  .teacherDomainOverall{
    width:100%;
  }
  .teacherDomainGrid{
    grid-template-columns:1fr;
  }
}
.miniSelect{
  min-width: 160px;
  padding:8px 10px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  color:#fff;
}
.libraryReaderBody{
  margin-top:14px;
  padding:16px;
  border-radius:16px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  white-space: pre-wrap;
  overflow-wrap:anywhere;
  word-break:break-word;
  max-width:100%;
  overflow-x:hidden;
  line-height: 1.75;
  color: rgba(234,242,255,.94);
}
.studentLibraryReaderShell{
  margin-top:6px;
  min-height:calc(100vh - 128px);
  display:flex;
  flex-direction:column;
  gap:10px;
  overflow:hidden;
}
.studentLibraryReaderTop{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.studentLibraryReaderShell.is-paused-reading-mode .studentLibraryReaderTop .grow{
  display:none;
}
.studentLibraryReaderShell.is-paused-reading-mode{
  min-height:var(--reading-paused-shell-min-height, calc(100dvh - 128px));
}
.studentLibraryReaderTitle{
  font-weight:900;
  font-size:28px;
  line-height:1.15;
}
.studentLibraryReadingCard{
  margin-top:0 !important;
  padding:12px;
  background:rgba(0,0,0,.18) !important;
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
  min-height:0;
  max-height:100%;
  overflow:hidden;
  position:relative;
}
.studentLibraryReaderShell.is-paused-reading-mode .studentLibraryReadingCard{
  padding:var(--reading-paused-card-padding, clamp(12px, 1.6vw, 18px));
}
.studentLibraryReaderHelper{
  margin-bottom:8px;
}
.studentLibraryInCardTitleWrap{
  margin-bottom:10px;
  padding:12px 14px;
  border-radius:18px;
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 12px 26px rgba(2,8,20,.16);
}
.studentLibraryInCardKicker{
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(191,227,255,.82);
  margin-bottom:4px;
}
.studentLibraryInCardTitle{
  font-size:28px;
  line-height:1.12;
  font-weight:900;
  color:#f8fbff;
  text-shadow:0 0 22px rgba(125,211,252,.12);
}
.studentLibraryPageBar{
  margin-bottom:4px;
  padding:5px 8px;
  border-radius:12px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.09);
}
.studentLibraryPageMeta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  color:rgba(234,242,255,.92);
  font-weight:800;
  margin-bottom:5px;
  font-size:13px;
  line-height:1.1;
}
.studentLibraryPageRemain{
  color:rgba(191,227,255,.78);
  font-size:12px;
  font-weight:700;
}
.studentLibraryPageTrack{
  position:relative;
  height:6px;
  border-radius:999px;
  overflow:hidden;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.06);
}
.studentLibraryPageFill{
  width:0%;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg, rgba(56,189,248,.88), rgba(34,197,94,.82));
  box-shadow:0 6px 16px rgba(14,165,233,.22);
  transition:width .18s ease;
}
.studentLibraryReaderBody{
  margin-top:0;
  font-size:18px;
  line-height:1.82;
  flex:1 1 auto;
  overflow:auto;
  white-space:pre-wrap;
  min-height:0;
  scrollbar-width:thin;
  scrollbar-color: rgba(56,189,248,.55) rgba(255,255,255,.06);
}
.studentLibraryReaderBody.is-book-reading{
  overflow:hidden !important;
  padding:0 !important;
  background:transparent !important;
  border-color:transparent !important;
  box-shadow:none !important;
  white-space:normal !important;
  touch-action:pan-y;
}
.studentLibraryBookReader{
  height:100%;
  min-height:0;
  display:grid;
  grid-template-rows:minmax(0, 1fr) auto;
  gap:10px;
}
.studentLibraryBookSpread{
  position:relative;
  min-height:0;
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);
  gap:0;
  overflow:hidden;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.16);
  background:
    radial-gradient(circle at 50% 12%, rgba(125,211,252,.16), transparent 32%),
    linear-gradient(90deg, rgba(11,31,52,.82), rgba(14,42,67,.66));
  box-shadow:0 24px 54px rgba(2,8,23,.28), inset 0 1px 0 rgba(255,255,255,.10);
  perspective:2200px;
  transform-style:preserve-3d;
}
.studentLibraryBookSpread::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  background:
    linear-gradient(90deg, transparent calc(50% - 20px), rgba(2,8,23,.30) calc(50% - 3px), rgba(255,255,255,.32) 50%, rgba(2,8,23,.34) calc(50% + 3px), transparent calc(50% + 20px)),
    linear-gradient(180deg, rgba(255,255,255,.10), transparent 16%, transparent 84%, rgba(2,8,23,.16));
  opacity:.76;
}
.studentLibraryBookSpread::after{
  content:"";
  position:absolute;
  top:1%;
  bottom:1%;
  width:50%;
  z-index:3;
  pointer-events:none;
  opacity:0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.98), rgba(246,250,255,.97) 42%, rgba(221,234,244,.84) 64%, rgba(120,140,160,.22)),
    repeating-linear-gradient(0deg, rgba(15,23,42,.025) 0 1px, transparent 1px 9px);
  border:1px solid rgba(15,23,42,.07);
  border-radius:4px 20px 20px 4px;
  box-shadow:
    -8px 0 14px rgba(2,8,23,.08),
    5px 0 10px rgba(2,8,23,.04),
    inset 10px 0 18px rgba(255,255,255,.22),
    inset -10px 0 18px rgba(15,23,42,.07);
  backface-visibility:visible;
  transform-origin:left center;
  transform:rotateY(0deg);
  filter:drop-shadow(-3px 0 7px rgba(2,8,23,.05));
}
.studentLibraryBookSpread.turn-next::after{
  left:50%;
  animation:studentBookTurnNext .9s cubic-bezier(.2,.72,.16,1);
}
.studentLibraryBookSpread.turn-prev::after{
  left:0;
  transform-origin:right center;
  border-radius:20px 4px 4px 20px;
  animation:studentBookTurnPrev .9s cubic-bezier(.2,.72,.16,1);
}
.studentLibraryBookPage::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:0;
  transition:opacity .2s ease;
}
.studentLibraryBookSpread.turn-next .studentLibraryBookPageRight::after,
.studentLibraryBookSpread.turn-prev .studentLibraryBookPageLeft::after{
  opacity:1;
  background:
    radial-gradient(ellipse at center, transparent 56%, rgba(2,8,23,.022)),
    linear-gradient(90deg, rgba(2,8,23,.008), rgba(2,8,23,.055));
}
.studentLibraryBookPage{
  position:relative;
  min-width:0;
  min-height:0;
  padding:clamp(22px, 2.6vw, 38px);
  color:#172033;
  background:
    linear-gradient(90deg, rgba(255,255,255,.96), rgba(240,249,255,.92)),
    radial-gradient(circle at 20% 12%, rgba(56,189,248,.12), transparent 34%);
  box-shadow:inset 0 0 0 1px rgba(15,23,42,.06);
}
.studentLibraryBookPageLeft{
  border-radius:12px 0 0 12px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.98), rgba(239,246,255,.91)),
    radial-gradient(circle at 16% 18%, rgba(45,212,191,.12), transparent 36%);
}
.studentLibraryBookPageRight{
  border-radius:0 12px 12px 0;
  background:
    linear-gradient(90deg, rgba(239,246,255,.91), rgba(255,255,255,.98)),
    radial-gradient(circle at 84% 18%, rgba(251,191,36,.10), transparent 36%);
}
.studentLibraryBookPageText{
  height:100%;
  overflow:hidden;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  word-break:break-word;
  font-size:clamp(18px, 1.55vw, 23px);
  line-height:1.78;
  font-weight:700;
}
.studentLibraryBookPageNumber{
  position:absolute;
  left:50%;
  bottom:12px;
  transform:translateX(-50%);
  min-width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:rgba(15,23,42,.08);
  color:rgba(15,23,42,.62);
  font-size:12px;
  font-weight:900;
}
.studentLibraryBookOverlayPage{
  position:absolute;
  top:0;
  bottom:0;
  width:50%;
  z-index:6;
  min-width:0;
  min-height:0;
  padding:clamp(22px, 2.6vw, 38px);
  color:#172033;
  overflow:hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.34), transparent 7%, transparent 93%, rgba(15,23,42,.06)),
    linear-gradient(90deg, rgba(255,255,255,.98), rgba(246,250,255,.96)),
    radial-gradient(circle at 20% 12%, rgba(56,189,248,.08), transparent 34%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.58),
    inset 0 -1px 0 rgba(15,23,42,.08),
    inset 0 0 0 1px rgba(15,23,42,.05);
}
.studentLibraryBookOverlayPage.static-left{
  left:0;
  border-radius:12px 0 0 12px;
}
.studentLibraryBookOverlayPage.static-right{
  right:0;
  border-radius:0 12px 12px 0;
}
.studentLibraryBookOverlayPage.turn-next{
  left:50%;
  z-index:8;
  border-radius:0 12px 12px 0;
  transform-origin:left center;
  transform-style:preserve-3d;
  backface-visibility:visible;
  box-shadow:
    -8px 0 14px rgba(2,8,23,.08),
    inset 10px 0 18px rgba(255,255,255,.18),
    inset -10px 0 18px rgba(15,23,42,.07);
}
.studentLibraryBookOverlayPage.turn-next::before,
.studentLibraryBookOverlayPage.turn-prev::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  opacity:0;
  pointer-events:none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.96), rgba(244,249,255,.94)),
    repeating-linear-gradient(0deg, rgba(15,23,42,.025) 0 1px, transparent 1px 9px);
}
.studentLibraryBookOverlayPage.turn-next::after,
.studentLibraryBookOverlayPage.turn-prev::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  width:3px;
  z-index:2;
  pointer-events:none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.62), rgba(210,224,238,.42), rgba(15,23,42,.10)),
    linear-gradient(180deg, rgba(255,255,255,.42), rgba(15,23,42,.14), rgba(255,255,255,.30));
  opacity:.62;
}
.studentLibraryBookOverlayPage.turn-next::after{
  right:0;
  transform-origin:right center;
  box-shadow:-3px 0 8px rgba(2,8,23,.06);
}
.studentLibraryBookOverlayPage.turn-prev::after{
  left:0;
  transform-origin:left center;
  box-shadow:3px 0 8px rgba(2,8,23,.06);
}
.studentLibraryBookOverlayPage.turn-prev{
  left:0;
  z-index:8;
  border-radius:12px 0 0 12px;
  transform-origin:right center;
  transform-style:preserve-3d;
  backface-visibility:visible;
  box-shadow:
    8px 0 14px rgba(2,8,23,.08),
    inset -10px 0 18px rgba(255,255,255,.18),
    inset 10px 0 18px rgba(15,23,42,.07);
}
.studentLibraryBookOverlayPage.turn-next.is-turning{
  animation:studentBookTurnNext 1.04s cubic-bezier(.22,.54,.18,1) forwards;
}
.studentLibraryBookOverlayPage.turn-prev.is-turning{
  animation:studentBookTurnPrev 1.04s cubic-bezier(.22,.54,.18,1) forwards;
}
.studentLibraryBookOverlayPage.is-turning::before{
  animation:studentBookBlankBackFace 1.04s cubic-bezier(.22,.54,.18,1) forwards;
}
.studentLibraryBookOverlayPage.turn-next.is-turning::after{
  animation:studentBookEdgeCurlNext 1.04s cubic-bezier(.22,.54,.18,1) forwards;
}
.studentLibraryBookOverlayPage.turn-prev.is-turning::after{
  animation:studentBookEdgeCurlPrev 1.04s cubic-bezier(.22,.54,.18,1) forwards;
}
.studentLibraryBookOverlayPage.is-turning .studentLibraryBookPageText,
.studentLibraryBookOverlayPage.is-turning .studentLibraryBookPageNumber{
  animation:studentBookTextTurnFade 1.04s cubic-bezier(.22,.54,.18,1) forwards;
  backface-visibility:hidden;
  transform:translateZ(1px);
}
.studentLibraryBookOverlayPage .studentLibraryBookPageText,
.studentLibraryBookOverlayPage .studentLibraryBookPageNumber{
  position:relative;
  z-index:1;
}
.studentLibraryReaderBody.has-single-book-page .studentLibraryBookOverlayPage{
  left:0;
  right:auto;
  width:100%;
  border-radius:12px;
}
.studentLibraryReaderBody.has-single-book-page .studentLibraryBookOverlayPage.turn-next{
  transform-origin:right center;
}
.studentLibraryReaderBody.has-single-book-page .studentLibraryBookOverlayPage.turn-prev{
  transform-origin:left center;
}
.studentLibraryReaderBody.has-single-book-page .studentLibraryBookOverlayPage.turn-next.is-turning{
  animation:studentBookTurnSingleNext 1.04s cubic-bezier(.22,.54,.18,1) forwards;
}
.studentLibraryReaderBody.has-single-book-page .studentLibraryBookOverlayPage.turn-prev.is-turning{
  animation:studentBookTurnSinglePrev 1.04s cubic-bezier(.22,.54,.18,1) forwards;
}
.studentLibraryBookNav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  min-height:46px;
}
.studentLibraryBookNav .btn{
  min-width:188px;
}
.studentLibraryBookArrow{
  position:relative;
  min-height:44px;
  padding:10px 30px !important;
  border-radius:0 !important;
  border-color:rgba(255,255,255,.16) !important;
  font-weight:950 !important;
  letter-spacing:0;
  box-shadow:0 10px 22px rgba(2,8,23,.14);
}
.studentLibraryBookArrowPrev{
  padding-left:42px !important;
  padding-right:24px !important;
  clip-path:polygon(36px 0, 100% 0, calc(100% - 12px) 50%, 100% 100%, 36px 100%, 0 50%);
}
.studentLibraryBookArrowNext{
  padding-left:24px !important;
  padding-right:42px !important;
  clip-path:polygon(0 0, calc(100% - 36px) 0, 100% 50%, calc(100% - 36px) 100%, 0 100%, 12px 50%);
}
.studentLibraryBookArrow:disabled{
  opacity:.42;
  box-shadow:none;
}
.studentLibraryBookRange{
  display:none !important;
}
.studentLibraryReaderBody.has-single-book-page .studentLibraryBookSpread{
  grid-template-columns:minmax(0, 1fr);
}
.studentLibraryReaderBody.has-single-book-page .studentLibraryBookSpread::before{
  background:linear-gradient(180deg, rgba(255,255,255,.10), transparent 18%, transparent 82%, rgba(2,8,23,.14));
}
.studentLibraryReaderBody.has-single-book-page .studentLibraryBookPageLeft{
  border-radius:12px;
}
.studentLibraryReaderBody.has-single-book-page .studentLibraryBookPageRight{
  display:none;
}
.studentLibraryReaderBody.has-single-book-page .studentLibraryBookSpread.turn-next::after{
  left:0;
  width:100%;
  transform-origin:right center;
  animation:studentBookTurnSingleNext .9s cubic-bezier(.2,.72,.16,1);
}
.studentLibraryReaderBody.has-single-book-page .studentLibraryBookSpread.turn-prev::after{
  left:0;
  width:100%;
  transform-origin:left center;
  animation:studentBookTurnSinglePrev .9s cubic-bezier(.2,.72,.16,1);
}
@keyframes studentBookTurnNext{
  0%{ opacity:0; transform:rotateY(0deg) skewY(0deg) scaleX(1); filter:brightness(1.02); }
  8%{ opacity:1; transform:rotateY(-12deg) skewY(-.08deg) scaleX(.995); }
  48%{ opacity:1; transform:rotateY(-100deg) skewY(.04deg) scaleX(.90); filter:brightness(.97); }
  74%{ opacity:.54; transform:rotateY(-174deg) skewY(0deg) scaleX(1); filter:brightness(.92); }
  80%{ opacity:0; transform:rotateY(-180deg) skewY(0deg) scaleX(1); filter:brightness(.90); }
  100%{ opacity:0; transform:rotateY(-180deg) skewY(0deg) scaleX(1); filter:brightness(.90); }
}
@keyframes studentBookTurnPrev{
  0%{ opacity:0; transform:rotateY(0deg) skewY(0deg) scaleX(1); filter:brightness(1.02); }
  8%{ opacity:1; transform:rotateY(12deg) skewY(.08deg) scaleX(.995); }
  48%{ opacity:1; transform:rotateY(100deg) skewY(-.04deg) scaleX(.90); filter:brightness(.97); }
  74%{ opacity:.54; transform:rotateY(174deg) skewY(0deg) scaleX(1); filter:brightness(.92); }
  80%{ opacity:0; transform:rotateY(180deg) skewY(0deg) scaleX(1); filter:brightness(.90); }
  100%{ opacity:0; transform:rotateY(180deg) skewY(0deg) scaleX(1); filter:brightness(.90); }
}
@keyframes studentBookTurnSingleNext{
  0%{ opacity:0; transform:rotateY(0deg) skewY(0deg) scaleX(1); }
  8%{ opacity:1; transform:rotateY(14deg) skewY(.08deg) scaleX(.99); }
  48%{ opacity:1; transform:rotateY(96deg) skewY(-.08deg) scaleX(.90); }
  80%{ opacity:.58; transform:rotateY(168deg) skewY(0deg) scaleX(.98); }
  88%{ opacity:0; transform:rotateY(180deg) skewY(0deg) scaleX(1); }
  100%{ opacity:0; transform:rotateY(180deg) skewY(0deg) scaleX(1); }
}
@keyframes studentBookTurnSinglePrev{
  0%{ opacity:0; transform:rotateY(0deg) skewY(0deg) scaleX(1); }
  8%{ opacity:1; transform:rotateY(-14deg) skewY(-.08deg) scaleX(.99); }
  48%{ opacity:1; transform:rotateY(-96deg) skewY(.08deg) scaleX(.90); }
  80%{ opacity:.58; transform:rotateY(-168deg) skewY(0deg) scaleX(.98); }
  88%{ opacity:0; transform:rotateY(-180deg) skewY(0deg) scaleX(1); }
  100%{ opacity:0; transform:rotateY(-180deg) skewY(0deg) scaleX(1); }
}
@keyframes studentBookTextTurnFade{
  0%, 10%{ opacity:1; }
  22%{ opacity:.12; }
  30%, 100%{ opacity:0; }
}
@keyframes studentBookBlankBackFace{
  0%, 20%{ opacity:0; }
  38%{ opacity:.7; }
  68%{ opacity:.7; }
  82%, 100%{ opacity:0; }
}
@keyframes studentBookEdgeCurlNext{
  0%, 12%{ width:3px; opacity:.48; transform:scaleY(1); }
  44%{ width:18px; opacity:.92; transform:scaleY(.94); }
  68%{ width:11px; opacity:.66; transform:scaleY(.98); }
  86%, 100%{ width:2px; opacity:0; transform:scaleY(1); }
}
@keyframes studentBookEdgeCurlPrev{
  0%, 12%{ width:3px; opacity:.48; transform:scaleY(1); }
  44%{ width:18px; opacity:.92; transform:scaleY(.94); }
  68%{ width:11px; opacity:.66; transform:scaleY(.98); }
  86%, 100%{ width:2px; opacity:0; transform:scaleY(1); }
}
.studentLibraryReaderBody.is-paused-reading{
  overflow-y:auto !important;
  overflow-x:hidden !important;
  white-space:normal;
  position:relative;
  pointer-events:none;
  user-select:none;
  scroll-behavior:smooth;
}
#studentLibraryReader.is-paused-reading-mode #studentLibraryReaderBody.studentLibraryReaderBody.is-paused-reading{
  height:var(--reading-paused-body-height, clamp(440px, 62vh, 760px)) !important;
  min-height:var(--reading-paused-body-height, clamp(440px, 62vh, 760px)) !important;
  max-height:var(--reading-paused-body-height, clamp(440px, 62vh, 760px)) !important;
  padding:var(--reading-paused-body-padding, clamp(22px, 2.6vw, 34px)) !important;
  font-size:var(--reading-paused-body-font-size, clamp(22px, 2.1vw, 30px)) !important;
  line-height:var(--reading-paused-body-line-height, 1.9) !important;
}
.pausedReadingFlow{
  display:block;
  min-height:100%;
  width:100%;
  position:relative;
  z-index:1;
}
.pausedReadingChunkHighlightHost{
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
}
.pausedReadingChunkHighlight{
  position:absolute;
  z-index:0;
  border-radius:16px;
  border:1px solid rgba(191,227,255,.22);
  background:rgba(255,255,255,.08);
  box-shadow:0 10px 24px rgba(56,189,248,.10), inset 0 0 0 1px rgba(255,255,255,.04);
  pointer-events:none;
  opacity:0;
  transition:opacity .14s ease, transform .14s ease, left .14s ease, top .14s ease, width .14s ease, height .14s ease;
}
.pausedReadingWord{
  display:inline-block;
  padding:var(--reading-paused-word-padding, 3px 5px);
  margin:0 1px 2px 0;
  visibility:hidden;
  opacity:0;
  transition:opacity .16s ease, color .16s ease, text-shadow .16s ease;
}
.pausedReadingWord.is-past{
  visibility:visible;
  opacity:.34;
  color:rgba(234,242,255,.68);
  text-shadow:none;
}
.pausedReadingWord.is-visible{
  visibility:visible;
  opacity:1;
  color:rgba(244,250,255,.98);
  text-shadow:0 0 18px rgba(125,211,252,.12);
}
.pausedReadingBreak{
  display:block;
  height:var(--reading-paused-break-height, 22px);
}
.studentLibraryReadingCard.is-paused-question .studentLibraryReaderBody,
.studentLibraryReadingCard.is-paused-question .studentLibraryReaderHelper{
  filter:blur(7px);
}
.studentPausedQuestionOverlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:4;
}
.studentPausedQuestionShade{
  position:absolute;
  inset:0;
  background:rgba(2,8,20,.28);
  backdrop-filter:blur(10px);
}
.studentPausedQuestionCard{
  position:relative;
  z-index:1;
  width:min(560px, calc(100% - 28px));
  padding:22px 20px;
  border-radius:24px;
  background:linear-gradient(180deg, rgba(12,30,52,.96), rgba(8,23,42,.94));
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 28px 60px rgba(2,8,20,.35);
}
.studentPausedQuestionKicker{
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(191,227,255,.78);
  margin-bottom:10px;
}
.studentPausedQuestionText{
  font-size:24px;
  line-height:1.45;
  font-weight:900;
  color:#f8fbff;
}
.studentPausedQuestionHint{
  margin-top:10px;
  padding:10px 12px;
  border-radius:14px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  color:rgba(234,242,255,.86);
  line-height:1.55;
}
.studentPausedQuestionOptions{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  margin-top:16px;
}
.studentPausedOption{
  width:100%;
  border:none;
  border-radius:18px;
  padding:14px 16px;
  text-align:left;
  font-weight:800;
  font-size:17px;
  color:#f8fbff;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 10px 24px rgba(2,8,20,.14);
}
.studentPausedOption:active{
  transform:translateY(1px);
}
.studentPdfViewer{
  display:flex;
  flex-direction:column;
  gap:16px;
  width:100%;
  padding:6px 2px 14px;
}
.studentPdfPage{
  display:flex;
  justify-content:center;
  width:100%;
  padding:14px;
  border-radius:20px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.09);
  box-shadow:0 14px 28px rgba(2,8,20,.14);
}
.studentPdfCanvas{
  display:block;
  max-width:100%;
  height:auto;
  margin:0 auto;
  border-radius:12px;
  background:#ffffff;
}
.studentPdfLoading{
  padding:18px;
  border-radius:18px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.09);
  color:rgba(234,242,255,.9);
}
.studentLibraryQuestionsWrap{
  margin-top:0 !important;
  background:rgba(5,16,28,.42);
  border:1px solid rgba(255,255,255,.10);
  border-radius:22px;
  padding:16px;
  flex:1 1 auto;
  min-height:0;
  max-height:100%;
  overflow:auto;
  scrollbar-width:thin;
  scrollbar-color: rgba(56,189,248,.55) rgba(255,255,255,.06);
}
.studentLibraryQuestionsWrap .authLabel{
  margin-top:0;
}
.studentLibraryFocusBar{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding-bottom:6px;
}
.studentLibraryReaderShell.is-library-reading-mode{
  width:min(1180px, 100%) !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  margin:0 auto !important;
  display:grid !important;
  grid-template-rows:auto minmax(0, 1fr) auto !important;
  gap:4px !important;
  overflow:hidden !important;
  padding:6px 10px 8px !important;
}
.studentLibraryReaderShell.is-library-reading-mode .studentLibraryReaderTop{
  align-items:center !important;
  gap:8px !important;
  margin-bottom:0 !important;
}
.studentLibraryReaderShell.is-library-reading-mode .studentLibraryReaderTitle{
  font-size:clamp(20px, 2vw, 25px);
  line-height:1.05;
}
.studentLibraryReaderShell.is-library-reading-mode .studentLibraryReadingCard{
  min-height:0 !important;
  height:100% !important;
  max-height:100% !important;
  display:grid !important;
  grid-template-rows:auto minmax(0, 1fr) !important;
  gap:4px !important;
  overflow:hidden !important;
  padding:0 !important;
  background:transparent !important;
  border-color:transparent !important;
  box-shadow:none !important;
}
.studentLibraryReaderShell.is-library-reading-mode .studentLibraryPageBar{
  margin:0 0 2px !important;
  padding:4px 7px !important;
  border-radius:10px !important;
}
.studentLibraryReaderShell.is-library-reading-mode .studentLibraryPageMeta{
  margin-bottom:3px !important;
  font-size:12px !important;
}
.studentLibraryReaderShell.is-library-reading-mode .studentLibraryPageRemain{
  display:none !important;
}
.studentLibraryReaderShell.is-library-reading-mode .studentLibraryPageTrack{
  height:5px !important;
}
.studentLibraryReaderShell.is-library-reading-mode.is-library-question-mode #studentLibraryReadingCard.hidden,
.studentLibraryReaderShell.is-library-reading-mode.is-library-question-mode .studentLibraryReadingCard.hidden{
  display:none !important;
}
.studentLibraryReaderShell.is-library-reading-mode #studentLibraryReaderMeta,
.studentLibraryReaderShell.is-library-reading-mode .studentLibraryReaderHelper{
  display:none !important;
}
.studentLibraryReaderShell.is-library-reading-mode #studentLibraryReaderBody.studentLibraryReaderBody{
  height:100% !important;
  min-height:0 !important;
  max-height:none !important;
  margin-top:0;
  padding:clamp(18px, 2.2vw, 28px);
  font-size:clamp(21px, 2vw, 28px);
  line-height:1.78;
}
#studentLibraryReaderBody.studentLibraryReaderBody.is-book-reading,
.studentLibraryReaderShell.is-library-reading-mode #studentLibraryReaderBody.studentLibraryReaderBody.is-book-reading{
  overflow:hidden !important;
  padding:0 !important;
  background:transparent !important;
  border-color:transparent !important;
  box-shadow:none !important;
  white-space:normal !important;
}
.studentLibraryReaderShell.is-library-reading-mode .studentLibraryFocusBar{
  flex:0 0 auto;
  min-height:54px;
  padding:6px 0 0;
  background:linear-gradient(180deg, rgba(3,12,24,0), rgba(3,12,24,.22));
}
.studentLibraryReaderShell.is-library-reading-mode.is-library-question-mode{
  grid-template-rows:auto minmax(0, 1fr) auto !important;
}
.studentLibraryReaderShell.is-library-reading-mode.is-library-question-mode .studentLibraryQuestionsWrap{
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  display:grid !important;
  grid-template-rows:minmax(0, 1fr) !important;
  overflow:hidden !important;
  padding:0 !important;
  margin:0 !important;
  background:transparent !important;
  border-color:transparent !important;
  box-shadow:none !important;
}
.studentLibraryReaderShell.is-library-reading-mode.is-library-question-mode #studentLibraryQuestionHelper{
  display:none !important;
}
.studentLibraryReaderShell.is-library-reading-mode.is-library-question-mode #studentLibraryReaderQuestions{
  height:100% !important;
  min-height:0 !important;
  display:grid !important;
  grid-template-rows:auto minmax(0, 1fr) auto !important;
  gap:8px !important;
  overflow:hidden !important;
}
.studentLibraryReaderShell.is-library-reading-mode.is-library-question-mode .studentLibraryQuestionSteps{
  flex-wrap:nowrap;
  overflow:hidden;
}
.studentLibraryReaderShell.is-library-reading-mode.is-library-question-mode .studentLibraryQuestionViewport{
  height:100% !important;
  min-height:0 !important;
  align-items:stretch !important;
  overflow:hidden !important;
}
.studentLibraryReaderShell.is-library-reading-mode.is-library-question-mode #studentLibraryReaderQuestions .studentLibraryQuestionCard{
  width:min(100%, 980px) !important;
  height:100% !important;
  min-height:0 !important;
  max-height:none !important;
  margin:0 auto !important;
  display:none !important;
  flex-direction:column;
  justify-content:flex-start;
  overflow:hidden !important;
  padding:clamp(16px, 2vw, 24px) !important;
}
.studentLibraryReaderShell.is-library-reading-mode.is-library-question-mode #studentLibraryReaderQuestions .studentLibraryQuestionCard.is-active{
  display:flex !important;
}
.studentLibraryReaderShell.is-library-reading-mode.is-library-question-mode #studentLibraryReaderQuestions .ltQEyebrow{
  margin-bottom:6px;
}
.studentLibraryReaderShell.is-library-reading-mode.is-library-question-mode #studentLibraryReaderQuestions .ltQTitle{
  margin-bottom:6px;
  font-size:clamp(20px, 1.8vw, 26px);
}
.studentLibraryReaderShell.is-library-reading-mode.is-library-question-mode #studentLibraryReaderQuestions .ltQPrompt{
  margin-bottom:10px;
  line-height:1.42;
}
.studentLibraryReaderShell.is-library-reading-mode.is-library-question-mode #studentLibraryReaderQuestions .ltOptionsWrap{
  width:min(100%, 720px);
  max-width:720px;
  gap:8px;
  overflow:hidden;
}
.studentLibraryReaderShell.is-library-reading-mode.is-library-question-mode .studentAnswerOption{
  padding:11px 14px;
  min-height:0;
}
.studentLibraryReaderShell.is-library-reading-mode.is-library-question-mode .studentLibraryQuestionActions{
  flex:0 0 auto;
  margin:0 auto !important;
}
.studentPointsStar{
  display:inline-block;
  font-size:18px;
  line-height:1;
  color:#facc15;
  text-shadow:0 0 10px rgba(250,204,21,.28);
  vertical-align:-2px;
}
body.library-reading-prep .studentLibraryReadingCard{
  overflow:hidden;
}
body.library-reading-prep .studentLibraryReadingCard::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(2,8,20,.18);
  pointer-events:none;
}
body.library-reading-prep .studentLibraryReaderBody{
  filter:blur(3px);
  opacity:.76;
  transition:filter .24s ease, opacity .24s ease;
}
body.library-reading-focus .topbar,
body.library-reading-focus .nav{
  display:none !important;
}
body.library-reading-focus{
  padding:0 !important;
  overflow:hidden;
  align-items:stretch !important;
  justify-content:stretch !important;
}
body.library-reading-focus .app{
  width:100vw !important;
  height:100dvh !important;
  min-height:100dvh !important;
  border-radius:0 !important;
  border:0 !important;
  box-shadow:none !important;
}
body.library-reading-focus .wrap{
  grid-template-columns:1fr;
  height:100dvh !important;
  min-height:0 !important;
}
body.library-reading-focus .panel{
  padding:8px 10px !important;
  height:100dvh !important;
  overflow:hidden;
  min-height:0 !important;
}
body.library-reading-focus #screenLibraryReader{
  height:100% !important;
  display:flex !important;
  flex-direction:column;
  min-height:0;
  overflow:hidden;
}
.libraryQuestionList{
  display:flex;
  flex-direction:column;
  gap:10px;
  min-height:0;
}
.libraryQuestionItem{
  padding:18px;
  border-radius:22px;
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.11);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 10px 24px rgba(2,8,20,.14);
}
.studentAnswerOption{
  display:grid;
  grid-template-columns:44px minmax(0,1fr) 22px;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  border-radius:18px;
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.035));
  border:1px solid rgba(255,255,255,.09);
  cursor:pointer;
  transition:background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.studentAnswerOption input{
  order:3;
  margin:0;
  width:18px;
  height:18px;
  accent-color:#38bdf8;
  justify-self:end;
}
.studentAnswerOption.active{
  background:linear-gradient(135deg, rgba(56,189,248,.28), rgba(34,197,94,.18));
  border-color:rgba(56,189,248,.58);
  box-shadow:0 14px 30px rgba(14,165,233,.18), inset 0 1px 0 rgba(255,255,255,.08);
  transform:translateY(-1px);
}
.studentAnswerOption.active .studentAnswerBadge{
  background:linear-gradient(135deg, rgba(56,189,248,.34), rgba(34,197,94,.28));
  border-color:rgba(56,189,248,.55);
  color:#ffffff;
  box-shadow:0 10px 20px rgba(14,165,233,.16);
}
.studentAnswerOption.active .studentAnswerText{
  color:#ffffff;
  font-weight:800;
}
.studentAnswerText{
  order:2;
  flex:1 1 auto;
  min-width:0;
  color:rgba(234,242,255,.95);
  font-size:17px;
  line-height:1.45;
}
.studentAnswerBadge{
  order:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius:14px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  font-weight:900;
  color:rgba(234,242,255,.95);
}
.studentQuestionHead{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
  flex-wrap:wrap;
}
.studentQuestionNo{
  font-size:17px;
  font-weight:900;
}
.studentQuestionType{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(56,189,248,.12);
  border:1px solid rgba(56,189,248,.24);
  color:rgba(191,227,255,.92);
}
.studentBlankInput{
  min-height:52px;
}
.contentWizardNav{
  flex-wrap:wrap;
}
.composerHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
  flex-wrap:wrap;
}
.composerHead .authSubmit{
  white-space:nowrap;
}
@media (max-width: 1180px){
  .adminTextsWideForm{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px){
  .adminTextsWideForm{
    grid-template-columns: 1fr;
  }
}
.surveyQuestionList{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.surveySectionBlock{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.surveySectionTitle{
  font-weight:900;
  font-size:15px;
  color:#fff;
}
.surveyQuestionCard{
  padding:14px;
  border-radius:18px;
  background: rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.10);
}
.surveyQuestionHead{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:10px;
}
.surveyQuestionTitle{
  font-weight:800;
  color:#fff;
  line-height:1.4;
}
.surveyQuestionHint{
  color:rgba(234,242,255,.72);
  font-size:12px;
}
.surveyScale{
  display:grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap:8px;
}
.surveyScaleOpt{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:74px;
  padding:10px 8px;
  border-radius:16px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  cursor:pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
  text-align:center;
}
.surveyScaleOpt:hover{
  transform:translateY(-1px);
  background: rgba(255,255,255,.06);
}
.surveyScaleOpt input{
  display:none;
}
.surveyScaleOpt b{
  font-size:18px;
  line-height:1;
}
.surveyScaleOpt span{
  font-size:11px;
  color:rgba(234,242,255,.76);
  line-height:1.25;
}
.surveyScaleOpt.active{
  background: linear-gradient(135deg, rgba(56,189,248,.24), rgba(34,197,94,.16));
  border-color: rgba(56,189,248,.42);
  box-shadow: 0 12px 28px rgba(14,165,233,.14);
}
.surveyInsightCard{
  padding:14px;
  border-radius:18px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.10);
  color:rgba(234,242,255,.90);
}
.surveyInsightTop{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:10px;
}
.surveyToneTag{
  display:inline-flex;
  align-items:center;
  padding:7px 10px;
  border-radius:999px;
  background: rgba(56,189,248,.14);
  border:1px solid rgba(56,189,248,.26);
  color:#dff4ff;
  font-size:12px;
  font-weight:900;
}
.surveyDimensionList{
  display:grid;
  gap:8px;
}
.surveyDimensionRow{
  display:grid;
  grid-template-columns: minmax(130px, 180px) minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
}
.surveyDimensionLabel{
  color:rgba(234,242,255,.84);
  font-size:12px;
  font-weight:800;
}
.surveyDimensionTrack{
  position:relative;
  height:10px;
  border-radius:999px;
  overflow:hidden;
  background: rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.08);
}
.surveyDimensionFill{
  height:100%;
  border-radius:999px;
  background: linear-gradient(90deg, rgba(56,189,248,.90), rgba(34,197,94,.80));
}
.surveyDimensionNorm{
  position:absolute;
  top:-2px;
  bottom:-2px;
  width:0;
  border-left:2px dashed rgba(255,255,255,.92);
  pointer-events:none;
  opacity:.95;
}
.surveyDimensionValue{
  font-size:12px;
  font-weight:900;
  color:#fff;
}
.surveyHistoryRow{
  display:grid;
  gap:6px;
  padding:10px 12px;
  border-radius:14px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
}
.surveyCompareUp{ color:#8ff0b2; font-weight:800; }
.surveyCompareDown{ color:#ffd0d0; font-weight:800; }
.surveyCompareFlat{ color:#dce8ff; font-weight:800; }
@media (max-width: 760px){
  .surveyScale{
    grid-template-columns: 1fr;
  }
  .surveyScaleOpt{
    min-height:62px;
    flex-direction:row;
    justify-content:space-between;
  }
  .surveyDimensionRow{
    grid-template-columns: 1fr;
  }
}

#signupWizard .surveyQuestionList{
  gap:6px;
}
#signupWizard .surveySectionBlock{
  gap:6px;
}
#signupWizard .surveyQuestionCard{
  padding:8px 10px;
  border-radius:12px;
}
#signupWizard .surveyQuestionTitle{
  font-size:14px;
  line-height:1.35;
}
#signupWizard .surveyQuestionHint{
  font-size:10px;
}
#signupWizard .surveyScale{
  grid-template-columns: repeat(5, minmax(44px, 56px));
  justify-content:space-between;
  gap:6px;
}
#signupWizard .surveyScaleOpt{
  min-height:38px;
  min-width:0;
  padding:2px 4px;
  border-radius:10px;
  gap:0;
}
#signupWizard .surveyScaleOpt b{
  font-size:14px;
}
#signupWizard .surveyScaleOpt span{
  display:none;
}
.teacherSurveyGrid{
  grid-template-columns: minmax(560px, 1.35fr) minmax(440px, .95fr);
  align-items:start;
}
.teacherAssessmentGrid{
  grid-template-columns: minmax(420px, 1fr) minmax(420px, 1fr);
  align-items:start;
}
.teacherAssessmentTopGrid{
  display:grid;
  grid-template-columns: minmax(520px, 1.25fr) minmax(340px, .75fr);
  gap:12px;
  align-items:start;
}
.teacherAssessmentStudentGrid{
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:10px;
}
.teacherAssessmentSourceGrid{
  display:grid;
  grid-template-columns: minmax(300px, .95fr) minmax(340px, 1.05fr);
  gap:12px;
  align-items:end;
}
.teacherAssessmentWideForm{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:12px;
}
.teacherAssessmentSurveyChoiceGrid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:12px;
}
.teacherAssessmentWizardCard{
  min-width:0;
}
.teacherAssessmentStepPane{
  display:block;
}
.teacherAssessmentStepPane.hidden{
  display:none !important;
}
.teacherAssessmentWizardNav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  margin-top:16px;
}
.teacherAssessmentModuleGrid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:12px;
}
.teacherAssessmentModeRow{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.teacherAssessmentLookupRow{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px;
}
.teacherAssessmentModeBtn{
  margin-top:0;
  padding:10px 12px;
}
.teacherAssessmentModeBtnActive{
  background:rgba(56,189,248,.18);
  border:1px solid rgba(56,189,248,.35);
  color:#eaf2ff;
}
.teacherAssessmentToggleList{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.teacherAssessmentToggle{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:#eaf2ff;
  cursor:pointer;
}
.teacherAssessmentToggle input{
  width:16px;
  height:16px;
}
.teacherAssessmentInfoRow{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.teacherAssessmentInfoPill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  color:#eaf2ff;
  font-size:12px;
}
.teacherAssessmentSurveyWrap{
  padding:14px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
}
.teacherAssessmentSurveyWrap.hidden{
  display:none !important;
}
.teacherAssessmentSurveyWrap .surveySectionBlock{
  background:rgba(255,255,255,.03);
}
.teacherAssessmentModuleList{
  display:grid;
  gap:10px;
}
.teacherAssessmentModuleItem{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:12px;
  align-items:start;
  padding:14px 15px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  cursor:pointer;
  transition:transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.teacherAssessmentModuleItem:hover{
  transform:translateY(-1px);
  border-color:rgba(56,189,248,.24);
  background:rgba(56,189,248,.08);
}
.teacherAssessmentModuleItem.is-selected{
  border-color:rgba(34,197,94,.34);
  background:rgba(34,197,94,.12);
  box-shadow:0 10px 22px rgba(34,197,94,.10);
}
.teacherAssessmentModuleItem.is-fixed{
  cursor:default;
}
.teacherAssessmentModuleItem.is-fixed:hover{
  transform:none;
  border-color:rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
}
.teacherAssessmentModuleItem.is-fixed.is-selected:hover{
  border-color:rgba(34,197,94,.34);
  background:rgba(34,197,94,.12);
}
.teacherAssessmentModuleItem b{
  color:#fff;
}
.teacherAssessmentModuleItem span{
  color:rgba(234,242,255,.76);
  font-size:12px;
}
.teacherAssessmentModuleMeta{
  display:grid;
  gap:6px;
}
.teacherAssessmentModuleExtra{
  grid-column:1 / -1;
  margin-top:4px;
  padding:12px 13px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(7,18,34,.34);
}
.teacherAssessmentModuleNoteRow{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}
.teacherAssessmentReadingPickerGrid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:10px;
  margin-top:12px;
}
.teacherAssessmentReadingPicker{
  display:grid;
  gap:8px;
}
.teacherAssessmentReadingPicker span{
  color:#fff;
  font-size:12px;
  font-weight:800;
}
.teacherAssessmentReadingPicker .authInput{
  width:100%;
}
.teacherAssessmentPoolUpload{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
}
.teacherAssessmentPoolUploadBtn{
  cursor:pointer;
  user-select:none;
}
.teacherAssessmentModuleGroup{
  display:inline-flex;
  align-items:center;
  width:max-content;
  padding:5px 9px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  color:rgba(234,242,255,.78);
  font-size:11px;
  font-weight:800;
}
.teacherAssessmentModuleState{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:112px;
  padding:8px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  color:#eaf2ff;
  font-size:12px;
  font-weight:900;
  white-space:nowrap;
}
.teacherAssessmentModuleState.tone-good{
  background:rgba(34,197,94,.18);
  border-color:rgba(34,197,94,.32);
  color:#dcfce7;
}
.teacherAssessmentModuleState.tone-info{
  background:rgba(56,189,248,.14);
  border-color:rgba(56,189,248,.28);
  color:#d9f3ff;
}
.teacherAssessmentModuleState.tone-warn{
  background:rgba(245,158,11,.16);
  border-color:rgba(245,158,11,.28);
  color:#fde68a;
}
.teacherAssessmentModuleState.tone-risk{
  background:rgba(239,68,68,.16);
  border-color:rgba(239,68,68,.28);
  color:#ffe4e6;
}
.teacherAssessmentActionCard{
  margin-top:12px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(56,189,248,.18);
  background:rgba(56,189,248,.08);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.teacherAssessmentActionTitle{
  font-weight:900;
  color:#fff;
}
.teacherAssessmentActionRow{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.teacherAssessmentActionRow .authSubmit{
  margin-top:0;
}
.teacherAssessmentListRow{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
}
.teacherAssessmentListMeta{
  display:grid;
  justify-items:end;
  gap:8px;
}
.teacherAssessmentListActions{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px;
}
.teacherAssessmentListActionBlock{
  display:grid;
  gap:4px;
  justify-items:end;
}
.teacherAssessmentListBtn{
  margin-top:0;
}
.teacherAssessmentResumeHint{
  font-size:11px;
  color:rgba(234,242,255,.68);
  text-align:right;
}
.teacherAssessmentReportCard{
  width:min(1080px, calc(100vw - 32px));
}
.teacherAssessmentReportBody{
  display:grid;
  gap:14px;
  max-height:min(72vh, 760px);
  overflow:auto;
  overflow-x:hidden;
}
.teacherAssessmentReportStats{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(160px, 1fr));
  gap:10px;
}
.teacherAssessmentReportStat{
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  display:grid;
  gap:6px;
}
.teacherAssessmentReportStat b{
  color:#fff;
  font-size:22px;
  line-height:1.1;
}
.teacherAssessmentReportStatLabel{
  font-size:11px;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:rgba(234,242,255,.64);
}
.teacherAssessmentReportSplit{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
}
.teacherSurveySideStack{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:12px;
}
.teacherSurveyGrid .adminCard{
  min-width:0;
}
#teacherSurveyProfileSummary{
  padding:12px;
}
#teacherSurveyProfileSummary .surveyInsightTop{
  gap:8px;
}
#teacherSurveyProfileSummary .surveyInsightTop > div > div:first-child{
  font-size:18px;
}
#teacherSurveyProfileSummary .adminTiny{
  font-size:12px;
}
#teacherSurveyProfileSummary .surveyDimensionList{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:8px 12px;
}
#teacherSurveyProfileSummary .surveyDimensionRow{
  grid-template-columns: 1fr;
  gap:6px;
  padding:8px 10px;
  border-radius:12px;
  background:rgba(255,255,255,.04);
}
#teacherSurveyProfileSummary .surveyDimensionLabel{
  font-size:11px;
}
#teacherSurveyProfileSummary .surveyDimensionValue{
  font-size:12px;
}
.teacherSurveyGrid #teacherSurveyBuilder{
  display:block;
}
.teacherSurveyGrid #teacherSurveyBuilder .surveySectionBlock{
  gap:12px;
}
.teacherSurveyGrid #teacherSurveyBuilder .surveyQuestionList{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:12px;
}
.teacherSurveyGrid #teacherSurveyBuilder .surveyQuestionCard{
  padding:12px;
  border-radius:16px;
}
.teacherSurveyGrid #teacherSurveyBuilder .surveyQuestionTitle{
  font-size:15px;
  line-height:1.35;
}
.teacherSurveyGrid #teacherSurveyBuilder .surveyQuestionHint{
  font-size:11px;
}
.teacherSurveyGrid #teacherSurveyBuilder .surveyScale{
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap:6px;
}
.teacherSurveyGrid #teacherSurveyBuilder .surveyScaleOpt{
  min-height:54px;
  padding:6px 4px;
  border-radius:12px;
}
.teacherSurveyGrid #teacherSurveyBuilder .surveyScaleOpt span{
  display:none;
}
.teacherSurveyGrid #teacherSurveyBuilder .surveyScaleOpt b{
  font-size:18px;
}
.teacherSurveySideStack .teacherStudentDetailSection{
  min-width:0;
}
.teacherSurveySideStack .adminList{
  margin-top:0;
}
.teacherSurveySideStack .surveyHistoryRow{
  padding:8px 10px;
  border-radius:12px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
}
.teacherSurveySideStack .adminTiny{
  font-size:12px;
}
.teacherSurveyCompareCard{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.teacherSurveyCompareTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}
.teacherSurveyCompareMeter{
  position:relative;
  height:12px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  overflow:hidden;
}
.teacherSurveyCompareMeter > span{
  position:absolute;
  inset:0 auto 0 0;
  border-radius:999px;
  background:linear-gradient(90deg, rgba(56,189,248,.85), rgba(34,197,94,.85));
}
.teacherSurveyCompareRows{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.teacherSurveyCompareRow{
  display:grid;
  grid-template-columns: minmax(110px, 140px) minmax(0,1fr) auto auto;
  gap:10px;
  align-items:center;
}
.teacherSurveyCompareBar{
  position:relative;
  height:10px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  overflow:hidden;
}
.teacherSurveyCompareBar span{
  position:absolute;
  top:0;
  bottom:0;
  border-radius:999px;
}
.teacherSurveyCompareBar .parentBar{
  left:0;
  background:rgba(244,114,182,.9);
}
.teacherSurveyCompareBar .teacherBar{
  left:0;
  background:rgba(56,189,248,.92);
  opacity:.72;
}
.teacherSurveyCompareLegend{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  color:rgba(234,242,255,.78);
  font-size:12px;
}
.teacherSurveyCompareLegend span::before{
  content:'';
  display:inline-block;
  width:10px;
  height:10px;
  border-radius:999px;
  margin-right:6px;
  vertical-align:-1px;
}
.teacherSurveyCompareLegend .parentLegend::before{ background:rgba(244,114,182,.9); }
.teacherSurveyCompareLegend .teacherLegend::before{ background:rgba(56,189,248,.92); }
.teacherSurveyStageCard{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.teacherSurveyStageMeta{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}
.teacherSurveyStageMeta b{
  font-size:18px;
  color:#fff;
}
.teacherProfileActions .authSubmit{
  margin-top:0;
}
.teacherProfileSurveyMeta{
  justify-content:space-between;
}
#teacherProfilesList{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:12px;
}
.teacherProfileCard .surveyInsightCard{
  min-width:0;
}
.teacherProfileCard .teacherStudentDetailSplit{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 1180px){
  .teacherSurveyGrid{
    grid-template-columns:1fr;
  }
  .teacherSurveySideStack{
    grid-template-columns:1fr;
  }
  #teacherProfilesList{
    grid-template-columns:1fr;
  }
  #teacherClassesList,
  #teacherTextsList{
    grid-template-columns:1fr;
  }
}
@media (max-width: 720px){
  .teacherSurveyCompareRow{
    grid-template-columns:1fr;
  }
  .teacherSurveyGrid #teacherSurveyBuilder .surveyQuestionList{
    grid-template-columns:1fr;
  }
  .teacherProfileCard .teacherStudentDetailSplit{
    grid-template-columns:1fr;
  }
}
.teacherProfileCard{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.teacherProfileTop{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.teacherProfileTitle{
  font-size:18px;
  font-weight:900;
  color:#fff;
}
.teacherProfileMeta{
  margin-top:4px;
  color:rgba(234,242,255,.72);
  font-size:13px;
}
.teacherProfileActions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.teacherProfileSurveyMeta{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
}
.studentLibraryOpenLoading{
  position:fixed;
  inset:0;
  z-index:12000;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(3,11,22,.52);
  backdrop-filter:blur(10px);
}
.studentLibraryOpenLoadingCard{
  min-width:280px;
  max-width:420px;
  padding:22px 24px;
  border-radius:22px;
  background:linear-gradient(180deg, rgba(8,20,35,.94), rgba(10,26,44,.92));
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 24px 60px rgba(0,0,0,.28);
  text-align:center;
}
.studentLibraryOpenLoadingSpinner{
  width:40px;
  height:40px;
  margin:0 auto 14px;
  border-radius:50%;
  border:4px solid rgba(255,255,255,.14);
  border-top-color:rgba(56,189,248,.95);
  animation:studentLoadingSpin .9s linear infinite;
}
.studentLibraryOpenLoadingText{
  color:#fff;
  font-weight:800;
  line-height:1.4;
}
@keyframes studentLoadingSpin{
  to{ transform:rotate(360deg); }
}
.studentLibraryReaderBody::-webkit-scrollbar,
.studentLibraryQuestionsWrap::-webkit-scrollbar{
  width:10px;
}
.studentLibraryReaderBody::-webkit-scrollbar-track,
.studentLibraryQuestionsWrap::-webkit-scrollbar-track{
  background:rgba(255,255,255,.04);
  border-radius:999px;
}
.studentLibraryReaderBody::-webkit-scrollbar-thumb,
.studentLibraryQuestionsWrap::-webkit-scrollbar-thumb{
  background:linear-gradient(180deg, rgba(56,189,248,.72), rgba(34,197,94,.48));
  border-radius:999px;
  border:2px solid rgba(8,18,30,.55);
}
.studentLibraryReaderBody::-webkit-scrollbar-thumb:hover,
.studentLibraryQuestionsWrap::-webkit-scrollbar-thumb:hover{
  background:linear-gradient(180deg, rgba(56,189,248,.9), rgba(34,197,94,.62));
}
.questionBuilder{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.questionCard{
  padding:12px;
  border-radius:16px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
}
.questionCardHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
  flex-wrap:wrap;
}
.questionGrid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:10px;
}
.libraryPdfFrame{
  width:100%;
  min-height:520px;
  height:62vh;
  border:none;
  border-radius:18px;
  background:#ffffff;
}
@media (max-width: 760px){
  .questionGrid{ grid-template-columns: 1fr; }
  .studentLibraryReaderTitle{ font-size:24px; }
  .studentLibraryReaderBody{ font-size:16px; }
  .libraryTaskResultGuideRow{ grid-template-columns:1fr; }
  .libraryTaskResultGuideImg{ width:68px; height:68px; }
  .libraryTaskResultStat{ width:100%; justify-content:flex-start; }
  .libraryPdfFrame{ min-height:420px; height:56vh; }
}
.previewTaskMeta{
  padding:10px 12px;
  border-radius:14px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  color: rgba(234,242,255,.88);
}
#libraryPreviewModal,
#libraryTaskResultModal,
#teacherStudentDetailModal,
#teacherTaskDetailModal,
#teacherAssessmentReportModal,
#studentInsightReviewConfirmModal{
  position:fixed;
  inset:0;
  z-index:10001;
}
#libraryPreviewModal.hidden,
#libraryTaskResultModal.hidden,
#teacherStudentDetailModal.hidden,
#teacherTaskDetailModal.hidden,
#teacherAssessmentReportModal.hidden,
#studentInsightReviewConfirmModal.hidden{
  display:none !important;
  pointer-events:none !important;
}
#libraryPreviewModal[aria-hidden="true"],
#libraryTaskResultModal[aria-hidden="true"],
#teacherStudentDetailModal[aria-hidden="true"],
#teacherTaskDetailModal[aria-hidden="true"],
#teacherAssessmentReportModal[aria-hidden="true"],
#studentInsightReviewConfirmModal[aria-hidden="true"]{
  display:none !important;
  pointer-events:none !important;
  visibility:hidden !important;
}
.previewCard{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%, -50%);
  width:min(860px, calc(100vw - 32px));
  max-height:calc(100vh - 48px);
  display:flex;
  flex-direction:column;
  background: rgba(12,24,36,.96);
  border:1px solid rgba(255,255,255,.12);
  border-radius:20px;
  box-shadow:0 20px 70px rgba(0,0,0,.5);
  overflow:hidden;
}
.libraryTaskResultCard{
  width:min(720px, calc(100vw - 32px));
}
.libraryTaskResultTop{
  flex:1 1 auto;
  text-align:center;
}
.libraryTaskResultGuideImg{
  width:84px;
  height:84px;
  object-fit:contain;
  flex:0 0 auto;
  filter:drop-shadow(0 10px 20px rgba(15,23,42,.24));
}
.libraryTaskResultMainTitle{
  margin-top:4px;
}
.libraryTaskResultSubTitle{
  margin-top:6px !important;
}
.libraryTaskResultBody{
  display:grid;
  gap:14px;
  max-height:min(62vh, 560px);
  overflow:auto;
  overflow-x:hidden;
}
.libraryTaskResultGuideRow{
  display:grid;
  grid-template-columns:64px 1fr;
  gap:12px;
  align-items:center;
}
.libraryTaskResultStats{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.libraryTaskResultStat{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(15,23,42,.42);
  border:1px solid rgba(255,255,255,.08);
  color:#eff6ff;
  font-weight:800;
  font-size:14px;
}
.libraryTaskResultStat.tone-gold{ border-color:rgba(250,204,21,.18); color:#fde68a; }
.libraryTaskResultStat.tone-green{ border-color:rgba(34,197,94,.18); color:#bbf7d0; }
.libraryTaskResultStat.tone-blue{ border-color:rgba(56,189,248,.18); color:#bae6fd; }
.libraryTaskResultGuideNote{
  padding:12px 14px;
  border-radius:16px;
  background:linear-gradient(180deg, rgba(56,189,248,.12), rgba(20,184,166,.08));
  border:1px solid rgba(125,211,252,.18);
  color:#dbeafe;
  line-height:1.55;
}
.libraryTaskResultSectionTitle{
  font-weight:900;
  font-size:18px;
  color:#f8fbff;
  margin-bottom:8px;
}
.libraryTaskResultErrors{
  display:grid;
  gap:10px;
}
.libraryTaskResultErrorRow{
  padding:12px 14px;
  border-radius:16px;
  background:rgba(239,68,68,.08);
  border:1px solid rgba(239,68,68,.14);
}
.libraryTaskResultErrorNo{
  color:#fda4af;
  font-weight:900;
  font-size:13px;
}
.libraryTaskResultErrorText{
  margin-top:4px;
  color:#f8fbff;
  font-weight:700;
  line-height:1.45;
}
.libraryTaskResultErrorMeta{
  margin-top:6px;
  color:#cbd5e1;
  font-size:13px;
}
.libraryTaskResultPerfect{
  padding:12px 14px;
  border-radius:16px;
  background:rgba(34,197,94,.12);
  border:1px solid rgba(34,197,94,.18);
  color:#dcfce7;
  font-weight:800;
}
.previewTop{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:16px 18px;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.previewBody{
  padding:16px 18px;
  overflow:auto;
  overflow-x:hidden;
}
.previewFoot{
  padding:14px 18px;
  border-top:1px solid rgba(255,255,255,.10);
  display:flex;
  justify-content:flex-end;
}
#libraryReadingPrepOverlay{
  position:fixed;
  inset:0;
  z-index:10002;
  display:flex;
  align-items:center;
  justify-content:center;
}
#libraryReadingPrepOverlay .prepCard{
  position:relative;
  width:min(92vw, 420px);
  padding:24px 24px 20px;
  border-radius:26px;
  background:linear-gradient(180deg, rgba(7,16,28,.96), rgba(10,24,40,.94));
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 24px 60px rgba(0,0,0,.30);
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
}
#libraryReadingPrepOverlay .prepTitle{
  font-size:22px;
  font-weight:900;
  color:#fff;
}
#libraryReadingPrepOverlay .prepSub{
  color:rgba(234,242,255,.84);
  line-height:1.5;
  font-size:15px;
}
#libraryReadingPrepOverlay .prepBreath{
  color:rgba(255,255,255,.96);
  font-weight:900;
  font-size:16px;
  margin-top:2px;
}
#libraryReadingPrepOverlay.hidden{
  display:none !important;
  pointer-events:none !important;
}
.libraryPrepShade{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.34);
  backdrop-filter:blur(8px);
}
#adminTextsList,
#teacherTextsList,
#teacherClassesList,
#teacherTrackingList,
#adminTeachersList{
  min-width:0;
}
#adminTextsList .adminRow,
#teacherTextsList .adminRow,
#teacherClassesList .adminRow,
#teacherTrackingList .adminRow,
#adminTeachersList .adminRow{
  min-width:0;
  overflow:hidden;
}
#adminTextsList .adminTiny,
#teacherTextsList .adminTiny,
#teacherClassesList .adminTiny,
#teacherTrackingList .adminTiny,
#adminTeachersList .adminTiny{
  overflow-wrap:anywhere;
}

.adminTopbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 16px;
  border-bottom:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  backdrop-filter: blur(10px);
}
.adminBrand{
  display:flex; align-items:center; gap:10px;
  font-weight:900; letter-spacing:.4px;
}
.adminBadge{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(245,158,11,.16);
  border: 1px solid rgba(245,158,11,.28);
  color: rgba(255,231,185,.95);
}
.adminLogout{
  border:none;
  border-radius:12px;
  padding:10px 12px;
  cursor:pointer;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  color:#fff;
  font-weight:800;
}
.adminLogout:hover{ background: rgba(255,255,255,.12); transform: translateY(-1px); }

.adminMain{
  flex:1 1 auto;
  display:grid;
  grid-template-columns: 260px 1fr;
  min-height:0;
}
.adminSide{
  padding:12px;
  border-right:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.16);
  min-height:0;
  overflow:auto;
}
.adminNavItem{
  position:relative;
  width:100%;
  text-align:left;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 44px 10px 12px;
  margin:0 0 8px;
  border-radius:14px;
  cursor:pointer;
  color: rgba(234,242,255,.92);
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
}
.adminNavItem:hover{ background: rgba(255,255,255,.08); transform: translateY(-1px); }
.adminNavItem.active{
  background: rgba(56,189,248,.14);
  border-color: rgba(56,189,248,.26);
}
.adminContent{
  padding:16px;
  min-height:0;
  overflow:auto;
}
.adminH1{ font-size:20px; font-weight:900; margin:0 0 10px; }
.adminMuted{ color: rgba(234,242,255,.72); font-size:13px; }
.adminGrid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:12px;
  margin-top:14px;
}
@media (max-width: 1100px){
  .adminMain{ grid-template-columns: 220px 1fr; }
  .adminGrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .teacherTrackingToolbar{ grid-template-columns:1fr; }
  .teacherTrackingStudentCard{ grid-template-columns:1fr; }
  .teacherStudentDetailSplit{ grid-template-columns:1fr; }
  .teacherAssessmentReportSplit{ grid-template-columns:1fr; }
}
@media (max-width: 760px){
  .adminMain{ grid-template-columns: 1fr; }
  .adminSide{ display:none; }
  .adminGrid{ grid-template-columns: 1fr; }
}
.adminCard{
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  padding:14px 14px;
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
  min-width:0;
  overflow:hidden;
}
.adminStatLabel{ font-size:12px; color: rgba(234,242,255,.74); }
.adminStatValue{ font-size:26px; font-weight:900; margin-top:6px; }
.adminBackendCard{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.adminBackendHead{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.adminBackendStatus{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.07);
  color:rgba(234,242,255,.86);
  font-size:12px;
  font-weight:900;
  white-space:nowrap;
}
.adminBackendStatus.is-online{
  border-color:rgba(34,197,94,.45);
  background:rgba(34,197,94,.14);
  color:#d8ffe8;
}
.adminBackendStatus.is-offline{
  border-color:rgba(248,113,113,.45);
  background:rgba(248,113,113,.13);
  color:#ffd8d8;
}
.adminBackendStatus.is-checking{
  border-color:rgba(56,189,248,.45);
  background:rgba(56,189,248,.14);
  color:#dff6ff;
}
.adminBackendCounts{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  color:rgba(234,242,255,.80);
  font-size:12px;
}
.adminBackendCountPill{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:5px 9px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  white-space:nowrap;
}
.adminBackendActions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.adminBackendToggle{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:10px 12px;
  border-radius:14px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  color:rgba(234,242,255,.88);
  cursor:pointer;
}
.adminBackendToggle input{
  width:18px;
  height:18px;
  margin-top:1px;
  flex:0 0 auto;
}
.adminBackendToggle b{
  display:block;
  font-size:13px;
  line-height:1.2;
}
.adminBackendToggle small{
  display:block;
  margin-top:3px;
  color:rgba(234,242,255,.68);
  font-size:12px;
  line-height:1.35;
}
.adminBackendBtn{
  width:auto;
  min-width:150px;
}
.adminBackendBtn.is-accent{
  background:rgba(56,189,248,.18);
  border:1px solid rgba(56,189,248,.45);
  color:#eaf2ff;
}
.adminBackendBtn.is-soft{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.16);
  color:#fff;
}
.adminBackendMsg{
  min-height:18px;
}
.adminBackendAuthTest{
  display:grid;
  gap:10px;
  padding:12px;
  border-radius:14px;
  background:rgba(15,23,42,.30);
  border:1px solid rgba(148,163,184,.18);
}
.adminBackendAuthHead{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
.adminBackendAuthTitle{
  font-size:13px;
  font-weight:900;
  color:rgba(234,242,255,.92);
}
.adminBackendAuthGrid{
  display:grid;
  grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1fr) 160px;
  gap:10px;
}
.adminBackendAuthGrid .authInput{
  max-width:none;
  min-width:0;
  background:rgba(255,255,255,.06);
}
.adminBackendAuthResult{
  min-height:34px;
  padding:9px 10px;
  border-radius:10px;
  background:rgba(0,0,0,.14);
  border:1px solid rgba(255,255,255,.08);
  color:rgba(234,242,255,.78);
  font-size:12px;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.adminBackendAuthResult.is-ok{
  border-color:rgba(34,197,94,.32);
  background:rgba(34,197,94,.10);
  color:#d8ffe8;
}
.adminBackendAuthResult.is-error{
  border-color:rgba(248,113,113,.35);
  background:rgba(248,113,113,.10);
  color:#ffd8d8;
}
.adminBackendRecordTool{
  display:grid;
  gap:10px;
  padding:12px;
  border-radius:14px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.10);
}
.adminBackendRecordGrid{
  display:grid;
  grid-template-columns:minmax(140px, 220px) minmax(0, 1fr);
  gap:8px;
}
.adminBackendRecordJson{
  min-height:92px;
  resize:vertical;
  font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  line-height:1.35;
}
.adminBackendRecordResult{
  min-height:40px;
  max-height:220px;
  overflow:auto;
  padding:9px 10px;
  border-radius:10px;
  background:rgba(0,0,0,.14);
  border:1px solid rgba(255,255,255,.08);
  color:rgba(234,242,255,.78);
  font-size:12px;
  line-height:1.45;
  white-space:pre-wrap;
}
.adminBackendRecordResult.is-ok{
  border-color:rgba(34,197,94,.32);
  background:rgba(34,197,94,.10);
  color:#d8ffe8;
}
.adminBackendRecordResult.is-error{
  border-color:rgba(248,113,113,.35);
  background:rgba(248,113,113,.10);
  color:#ffd8d8;
}
.adminBackendPreview{
  display:grid;
  gap:10px;
  padding-top:2px;
}
.adminBackendPreview.hidden{
  display:none !important;
}
.adminBackendPreviewGrid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:10px;
}
.adminBackendPreviewCol{
  min-width:0;
  padding:10px;
  border-radius:14px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
}
.adminBackendPreviewTitle{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  font-size:12px;
  color:rgba(234,242,255,.78);
  margin-bottom:8px;
}
.adminBackendPreviewCount{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:26px;
  height:22px;
  padding:0 7px;
  border-radius:999px;
  background:rgba(56,189,248,.15);
  border:1px solid rgba(56,189,248,.26);
  color:#dff6ff;
  font-weight:900;
}
.adminBackendPreviewList{
  display:grid;
  gap:6px;
}
.adminBackendPreviewItem{
  min-width:0;
  padding:7px 8px;
  border-radius:10px;
  background:rgba(0,0,0,.14);
  border:1px solid rgba(255,255,255,.08);
  color:rgba(234,242,255,.88);
  font-size:12px;
  line-height:1.3;
  overflow-wrap:anywhere;
}
.adminBackendPreviewEmpty{
  color:rgba(234,242,255,.58);
  font-size:12px;
}
.adminBackendProduction{
  display:grid;
  gap:8px;
  padding:10px;
  border-radius:14px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.10);
}
.adminBackendProduction.hidden{
  display:none !important;
}
.adminBackendProductionHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  color:rgba(234,242,255,.86);
  font-size:12px;
}
.adminBackendProductionItem{
  display:grid;
  grid-template-columns:72px minmax(0, 1fr);
  gap:8px;
  align-items:center;
  padding:7px 8px;
  border-radius:10px;
  background:rgba(0,0,0,.14);
  border:1px solid rgba(255,255,255,.08);
  color:rgba(234,242,255,.84);
  font-size:12px;
  line-height:1.35;
}
.adminBackendProductionBadge{
  font-weight:900;
  text-transform:uppercase;
  color:#d8ffe8;
}
.adminBackendProductionBadge.is-warn{
  color:#fde68a;
}
.adminBackendProductionBadge.is-critical{
  color:#fecaca;
}
.adminBackendValidation{
  display:grid;
  gap:8px;
  padding:10px;
  border-radius:14px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.10);
}
.adminBackendValidation.hidden{
  display:none !important;
}
.adminBackendValidationHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  color:rgba(234,242,255,.86);
  font-size:12px;
}
.adminBackendValidationStats{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
.adminBackendValidationIssue{
  display:grid;
  grid-template-columns: 54px 122px minmax(0, 1fr);
  gap:8px;
  align-items:center;
  padding:8px 9px;
  border-radius:10px;
  background:rgba(0,0,0,.14);
  border:1px solid rgba(255,255,255,.08);
  color:rgba(234,242,255,.84);
  font-size:12px;
}
.adminBackendValidationLevel{
  font-weight:900;
  text-transform:uppercase;
}
.adminBackendValidationLevel.is-error{ color:#fecaca; }
.adminBackendValidationLevel.is-warn{ color:#fde68a; }
.adminBackendValidationLevel.is-info{ color:#bfdbfe; }
.adminBackendSyncReport{
  display:grid;
  gap:8px;
  padding:10px;
  border-radius:14px;
  background:rgba(56,189,248,.055);
  border:1px solid rgba(56,189,248,.16);
}
.adminBackendSyncReport.hidden{
  display:none !important;
}
.adminBackendSyncHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  color:rgba(234,242,255,.88);
  font-size:12px;
}
.adminBackendSyncGrid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:8px;
}
.adminBackendSyncCard{
  min-width:0;
  padding:9px;
  border-radius:10px;
  background:rgba(0,0,0,.14);
  border:1px solid rgba(255,255,255,.08);
}
.adminBackendSyncCard b{
  display:block;
  color:rgba(234,242,255,.92);
  font-size:12px;
  margin-bottom:7px;
}
.adminBackendSyncStats{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
.adminBackendSchema{
  display:grid;
  gap:9px;
  padding:10px;
  border-radius:14px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.10);
}
.adminBackendSchema.hidden{
  display:none !important;
}
.adminBackendSchemaHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  color:rgba(234,242,255,.88);
  font-size:12px;
}
.adminBackendSchemaGrid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:8px;
}
.adminBackendSchemaCard{
  min-width:0;
  padding:10px;
  border-radius:10px;
  background:rgba(0,0,0,.14);
  border:1px solid rgba(255,255,255,.08);
}
.adminBackendSchemaTitle{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  color:rgba(234,242,255,.92);
  font-size:12px;
  font-weight:900;
  margin-bottom:8px;
}
.adminBackendSchemaLine{
  color:rgba(234,242,255,.70);
  font-size:12px;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.adminBackendBackupList{
  display:grid;
  gap:8px;
  padding:10px;
  border-radius:14px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.10);
}
.adminBackendBackupList.hidden{
  display:none !important;
}
.adminBackendLogList{
  display:grid;
  gap:8px;
  padding:10px;
  border-radius:14px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.10);
  max-height:260px;
  overflow:auto;
}
.adminBackendLogList.hidden{
  display:none !important;
}
.adminBackendBackupItem{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:8px 10px;
  border-radius:10px;
  background:rgba(0,0,0,.14);
  border:1px solid rgba(255,255,255,.08);
  color:rgba(234,242,255,.86);
  font-size:12px;
}
.adminBackendBackupFile{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.adminBackendLogItem{
  display:grid;
  grid-template-columns: 54px 68px minmax(0, 1fr) 74px;
  gap:8px;
  align-items:center;
  padding:7px 8px;
  border-radius:10px;
  background:rgba(0,0,0,.14);
  border:1px solid rgba(255,255,255,.08);
  color:rgba(234,242,255,.86);
  font-size:12px;
}
.adminBackendLogLevel{
  font-weight:900;
  text-transform:uppercase;
}
.adminBackendLogLevel.is-error{ color:#fecaca; }
.adminBackendLogLevel.is-warn{ color:#fde68a; }
.adminBackendLogLevel.is-info{ color:#bfdbfe; }
.adminBackendLogPath{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
@media (max-width: 900px){
  .adminBackendAuthHead{
    flex-direction:column;
  }
  .adminBackendAuthGrid{
    grid-template-columns:1fr;
  }
  .adminBackendRecordGrid{
    grid-template-columns:1fr;
  }
  .adminBackendPreviewGrid{
    grid-template-columns:1fr;
  }
  .adminBackendSyncGrid{
    grid-template-columns:1fr;
  }
  .adminBackendSchemaGrid{
    grid-template-columns:1fr;
  }
  .adminBackendLogItem{
    grid-template-columns:1fr;
  }
  .adminBackendValidationIssue{
    grid-template-columns:1fr;
  }
  .adminBackendProductionItem{
    grid-template-columns:1fr;
  }
}
.adminList{
  margin-top:12px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.adminRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 12px;
  border-radius:14px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
}
.adminRow b{ font-weight:900; }

/* Teacher screen layout overrides: keep these after generic .adminGrid rules */
#teacherScreen_classes .adminGrid.adminGrid2,
#teacherScreen_library .adminGrid.adminGrid2{
  grid-template-columns: minmax(430px, .95fr) minmax(620px, 1.25fr);
  align-items:start;
}
#teacherScreen_surveys .adminGrid.teacherSurveyGrid{
  grid-template-columns: minmax(560px, 1.35fr) minmax(440px, .95fr);
  align-items:start;
}
#teacherScreen_classes #teacherClassesList,
#teacherScreen_library #teacherTextsList{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:12px;
  align-items:start;
}
#teacherScreen_classes .teacherClassCard .adminList{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}
#teacherScreen_classes .teacherStudentRow{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:10px;
}
#teacherScreen_classes .teacherStudentMeta{
  min-width:0;
}
#teacherScreen_classes .teacherStudentActions{
  max-width:none;
  width:100%;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-start;
  margin-top:0;
}
#teacherScreen_classes .miniSelect{
  min-width:110px;
  max-width:140px;
}
#teacherScreen_classes .teacherStudentMeta b{
  display:block;
  overflow-wrap:normal;
  word-break:normal;
  line-height:1.2;
  font-size:16px;
}
#teacherScreen_classes .teacherStudentMeta .adminTiny{
  overflow-wrap:normal;
  word-break:normal;
}
@media (max-width: 1180px){
  #teacherScreen_classes .adminGrid.adminGrid2,
  #teacherScreen_library .adminGrid.adminGrid2,
  #teacherScreen_surveys .adminGrid.teacherSurveyGrid{
    grid-template-columns:1fr;
  }
  #teacherScreen_classes #teacherClassesList,
  #teacherScreen_library #teacherTextsList{
    grid-template-columns:1fr;
  }
}
.adminTiny{ font-size:12px; color: rgba(234,242,255,.70); }
