
:root{
  --bg:#eef6fe;
  --ink:#121a42;
  --muted:#69729c;
  --blue:#1145b2;
  --blue-mid:#2539a9;
  --violet:#4b1d93;
  --violet-deep:#43178f;
  --grad:linear-gradient(180deg,#1145b2 0%,#233ca9 38%,#352ba0 68%,#4b1d93 100%);
  --grad-diag:linear-gradient(135deg,#1145b2 0%,#2936a6 48%,#4b1d93 100%);
  --glass:rgba(247,250,255,.62);
  --line:rgba(38,54,158,.15);
  --shadow:0 20px 55px rgba(49,35,137,.16);
  --shadow-strong:0 30px 84px rgba(49,35,137,.23);
  --success:#27c87b;
  --danger:#d84d77;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;min-height:100vh;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ink);
  background:linear-gradient(180deg,#f4f7ff 0%,#eef2ff 100%);
  overflow-x:hidden;
}
.site-noise{display:none}
a{color:inherit;text-decoration:none}button,input{font:inherit}
.container{width:min(1180px,calc(100% - 32px));margin:auto;position:relative;z-index:2}
.glass{
  background:linear-gradient(180deg,rgba(255,255,255,.74),rgba(255,255,255,.46));
  border:1px solid rgba(255,255,255,.72);
  box-shadow:var(--shadow);
  backdrop-filter:blur(22px) saturate(135%);
  -webkit-backdrop-filter:blur(22px) saturate(135%);
}
.topbar{padding:13px 16px;display:flex;justify-content:space-between;align-items:center;gap:14px;border-radius:26px;margin-top:18px;animation:fadeUp .72s ease both}
.brand{display:flex;align-items:center;gap:11px;font-weight:900}.brand-copy{display:flex;flex-direction:column;line-height:1.05}.brand-copy small{font-size:11px;color:var(--muted);font-weight:650;letter-spacing:.04em}
.logo{width:44px;height:44px;border-radius:16px;display:grid;place-items:center;color:white;font-weight:900;background:var(--grad);box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 12px 24px rgba(65,34,174,.22)}
.hero{padding:68px 30px 36px;border-radius:34px;position:relative;overflow:hidden;animation:fadeUp .9s ease both}
.hero:before{content:"";position:absolute;right:4%;top:18px;width:88px;height:286px;border-radius:999px;background:var(--grad);box-shadow:0 22px 60px rgba(63,35,170,.18);animation:shapeSway 8s ease-in-out infinite}
.hero:after{content:"";position:absolute;right:12%;bottom:-78px;width:210px;height:210px;border-radius:36% 64% 61% 39%/48% 34% 66% 52%;background:linear-gradient(145deg,rgba(31,75,200,.22),rgba(75,24,168,.10));animation:blobFloat 10s ease-in-out infinite}
.hero-deco-a,.hero-deco-b{display:none}
.hero h1{font-size:clamp(42px,7vw,84px);line-height:.94;letter-spacing:-.06em;margin:18px 0 14px;max-width:860px;text-wrap:balance;position:relative;z-index:2}
.hero p{font-size:clamp(16px,2vw,20px);max-width:760px;color:var(--muted);line-height:1.72;margin:0;position:relative;z-index:2}
.eyebrow,.badge{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border-radius:999px;border:1px solid rgba(61,51,162,.13);background:rgba(255,255,255,.64);color:var(--blue-deep);font-size:12px;font-weight:850;letter-spacing:.02em;backdrop-filter:blur(14px)}
.badge.offline{color:var(--violet);background:rgba(76,24,168,.08)}
.section{padding:20px 0;animation:fadeUp .85s ease both}.section-title{display:flex;align-items:end;justify-content:space-between;margin-bottom:14px}.section-title h2{margin:10px 0 0;font-size:clamp(24px,3vw,34px);letter-spacing:-.03em}
.card{border-radius:28px;padding:22px;position:relative;overflow:hidden}.card:after{content:"";position:absolute;right:-54px;top:-54px;width:130px;height:130px;border-radius:999px;background:linear-gradient(180deg,rgba(31,75,200,.16),rgba(75,24,168,.12));pointer-events:none}
.soft-lift{transition:transform .35s ease,box-shadow .35s ease}.soft-lift:hover{transform:translateY(-4px);box-shadow:var(--shadow-strong)}
.muted{color:var(--muted)}
.presenter{display:grid;gap:8px}.presenter-item,.presenter>div{padding:11px 12px;border-radius:15px;background:rgba(245,247,255,.76);border:1px solid rgba(70,63,165,.08);transition:transform .25s ease,background .25s ease}.presenter-item:hover,.presenter>div:hover{transform:translateX(3px);background:white}
.table-wrap{overflow:hidden;border-radius:24px}.table-wrap table{width:100%;border-collapse:collapse;background:rgba(255,255,255,.35)}th,td{padding:14px 15px;text-align:left;border-bottom:1px solid rgba(61,51,162,.08);vertical-align:top}th{font-size:12px;color:#5d6591;text-transform:uppercase;letter-spacing:.08em;background:rgba(240,243,255,.62)}
.done{opacity:.42;filter:saturate(.5)}.check{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--success);color:white;font-size:13px;font-weight:900;margin-right:8px}.pending-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#98a0c8;margin-right:8px}
.btn{border:0;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 16px;border-radius:16px;font-weight:850;background:var(--grad);color:white;box-shadow:0 14px 30px rgba(66,34,175,.20);transition:transform .25s ease,box-shadow .25s ease,filter .25s ease}.btn:hover{transform:translateY(-2px);box-shadow:0 20px 36px rgba(66,34,175,.26);filter:brightness(1.04)}.btn.secondary{background:rgba(255,255,255,.66);color:var(--violet);border:1px solid rgba(75,24,168,.10);box-shadow:none;backdrop-filter:blur(18px)}.btn.danger{background:rgba(231,93,122,.10);color:#bf3d5a;border:1px solid rgba(231,93,122,.18);box-shadow:none}.btn-sm{padding:10px 13px;font-size:14px}
.bottom-nav,.glass-nav{position:fixed;z-index:60;left:50%;bottom:18px;transform:translateX(-50%);display:flex;gap:8px;padding:8px;border-radius:999px;background:rgba(255,255,255,.48);border:1px solid rgba(255,255,255,.70);backdrop-filter:blur(24px) saturate(145%);-webkit-backdrop-filter:blur(24px) saturate(145%);box-shadow:0 18px 44px rgba(48,39,132,.18);width:auto;max-width:max-content}
.bottom-nav a{display:flex;align-items:center;justify-content:center;gap:7px;min-width:92px;padding:11px 16px;border-radius:999px;font-weight:900;font-size:13px;letter-spacing:.06em;background:rgba(255,255,255,.46);color:var(--blue-deep);transition:all .25s ease;white-space:nowrap}.bottom-nav a:hover{color:white;background:var(--grad);transform:translateY(-1px)}
.nav-icon{display:inline-flex;width:18px;height:18px}.nav-icon svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.form-card{max-width:520px;margin:70px auto}.field{display:flex;flex-direction:column;gap:7px;margin:14px 0}.field label{font-size:13px;color:#505985}.field input{padding:13px 14px;border-radius:16px;border:1px solid rgba(62,53,163,.12);background:rgba(255,255,255,.66);color:var(--ink);outline:none;backdrop-filter:blur(10px)}.field input:focus{border-color:rgba(31,75,200,.55);box-shadow:0 0 0 4px rgba(31,75,200,.09)}
.flash{padding:13px 15px;border-radius:16px;margin:14px 0;background:rgba(31,75,200,.08);border:1px solid rgba(31,75,200,.12);backdrop-filter:blur(18px)}.flash.error{background:rgba(231,93,122,.08);border-color:rgba(231,93,122,.16)}
.welcome{padding:34px 0 12px;animation:fadeUp .85s ease both}.welcome h1{font-size:clamp(32px,5vw,58px);margin:0 0 8px;letter-spacing:-.04em}
.pdf-thumb{aspect-ratio:16/9;border-radius:22px;overflow:hidden;background:white;border:1px solid rgba(61,51,162,.10);position:relative;width:100%;padding:0;cursor:pointer}.pdf-thumb iframe{width:100%;height:100%;border:0;pointer-events:none}.pdf-thumb .overlay{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(transparent,rgba(60,45,142,.08))}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.file-list{display:grid;gap:8px;max-height:260px;overflow:auto}.file-row{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.64);font-size:13px;border:1px solid rgba(61,51,162,.07)}.separator{border:0;border-top:1px solid rgba(61,51,162,.10);margin:22px 0}.note-space{margin-top:16px}.score-input{width:76px;padding:9px;border-radius:12px;border:1px solid rgba(61,51,162,.12);background:white;color:var(--ink)}
.modal{position:fixed;inset:0;z-index:100;background:rgba(22,20,67,.42);display:none;padding:22px;backdrop-filter:blur(12px)}.modal.open{display:flex}.modal-box{width:min(1200px,100%);height:calc(100vh - 44px);margin:auto;border-radius:26px;overflow:hidden;position:relative}.modal iframe{width:100%;height:100%;border:0}.modal-close{position:absolute;right:14px;top:14px;z-index:3}
footer{padding:60px 0 120px;color:#7b84ac;font-size:13px}.footer-inner{opacity:.9}
@keyframes blobFloat{0%,100%{transform:translate3d(0,0,0) rotate(0deg)}50%{transform:translate3d(0,-14px,0) rotate(5deg)}}
@keyframes shapeSway{0%,100%{transform:translateY(0) rotate(0deg)}50%{transform:translateY(-10px) rotate(2deg)}}
@keyframes fadeUp{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:760px){
  body:before{width:220px;height:220px;right:-110px;top:12%}body:after{width:180px;height:180px;left:-90px;bottom:18%}
  .container{width:min(100% - 20px,1180px)}
  .topbar{border-radius:22px;padding:11px 13px}.brand-copy small{display:none}.logo{width:40px;height:40px;border-radius:14px}
  .hero{padding:34px 16px 24px;border-radius:26px}.hero:before{width:48px;height:166px;right:10px;top:24px;opacity:.9}.hero:after{width:130px;height:130px;right:-20px;bottom:-48px}.hero h1{font-size:40px;max-width:82%;}.hero p{font-size:15px;max-width:88%}
  .card{padding:16px;border-radius:22px}.section{padding:14px 0}.section-title h2{font-size:24px}
  .bottom-nav{width:auto;max-width:calc(100vw - 36px);padding:7px;gap:7px;bottom:14px}.bottom-nav a{min-width:86px;padding:10px 14px;font-size:12px}
  .table-wrap{overflow:visible;background:transparent;border:0;box-shadow:none;backdrop-filter:none}
  .table-wrap table,.table-wrap thead,.table-wrap tbody,.table-wrap th,.table-wrap td,.table-wrap tr{display:block;width:100%;min-width:0}
  .table-wrap thead{display:none}
  .table-wrap tbody{display:grid;gap:10px}
  .table-wrap tr{padding:12px 13px;border-radius:18px;background:rgba(255,255,255,.66);border:1px solid rgba(255,255,255,.74);box-shadow:0 10px 24px rgba(63,45,155,.08);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
  .table-wrap td{border:0;padding:3px 0;font-size:12px;display:flex;align-items:flex-start;gap:8px}
  .table-wrap td:before{display:inline-block;min-width:72px;color:#7b84ac;font-size:10px;text-transform:uppercase;letter-spacing:.06em;font-weight:800}
  .table-wrap td:nth-child(1):before{content:"Pertemuan"}.table-wrap td:nth-child(2):before{content:"Tanggal"}.table-wrap td:nth-child(3):before{content:"Mode"}.table-wrap td:nth-child(4):before{content:"Mahasiswa"}
  .table-wrap td:nth-child(4) .presenter{gap:5px;width:100%}.table-wrap td:nth-child(4) .presenter>div{padding:6px 8px;border-radius:11px;font-size:11px;line-height:1.25}.table-wrap .badge{padding:5px 8px;font-size:10px}
  .score-input{width:66px}
}


/* FINAL PALETTE + MOBILE FIT OVERRIDES */
body:before{background:var(--grad-diag)!important;opacity:.30!important}
body:after{background:linear-gradient(180deg,#1a4bb8 0%,#4b1d93 100%)!important;opacity:.22!important}
.glass{background:linear-gradient(180deg,rgba(255,255,255,.72),rgba(243,246,255,.52))!important;border-color:rgba(255,255,255,.82)!important;backdrop-filter:blur(24px) saturate(150%)!important;-webkit-backdrop-filter:blur(24px) saturate(150%)!important}
.logo,.btn,.hero:before{background:var(--grad)!important}
.card:after{background:linear-gradient(180deg,rgba(17,69,178,.14),rgba(75,29,147,.12))!important}
.eyebrow,.badge{color:#233b9f!important;background:rgba(255,255,255,.64)!important;border-color:rgba(36,49,151,.14)!important}
.badge.offline{color:#4b1d93!important;background:rgba(75,29,147,.08)!important}
.desktop-date{display:inline}.mobile-date{display:none}

/* designer shapes */
.hero{isolation:isolate}
.hero .hero-deco-a,.hero .hero-deco-b{display:block;position:absolute;pointer-events:none;z-index:0}
.hero .hero-deco-a{width:170px;height:170px;right:12%;top:-78px;border-radius:44% 56% 60% 40%/42% 40% 60% 58%;background:linear-gradient(145deg,rgba(17,69,178,.14),rgba(75,29,147,.06));animation:designerFloat 12s ease-in-out infinite}
.hero .hero-deco-b{width:120px;height:120px;right:20%;bottom:-66px;border:18px solid rgba(75,29,147,.08);border-radius:50%;animation:designerSpin 24s linear infinite}
.hero h1,.hero p,.hero .eyebrow{position:relative;z-index:2}
@keyframes designerFloat{0%,100%{transform:translate3d(0,0,0) rotate(0)}50%{transform:translate3d(-10px,12px,0) rotate(6deg)}}
@keyframes designerSpin{to{transform:rotate(360deg)}}

@media(max-width:760px){
  .container{width:calc(100% - 16px)!important}
  .topbar{margin-top:8px!important;padding:9px 11px!important}
  .hero{padding:28px 12px 20px!important;border-radius:22px!important}
  .hero:before{width:34px!important;height:138px!important;right:10px!important;top:20px!important;border-radius:999px!important}
  .hero:after{width:95px!important;height:95px!important;right:-28px!important;bottom:-34px!important}
  .hero h1{font-size:34px!important;line-height:.98!important;max-width:86%!important}
  .hero p{font-size:13px!important;line-height:1.55!important;max-width:90%!important}
  .hero .hero-deco-a{width:110px;height:110px;right:16%;top:-58px}
  .hero .hero-deco-b{width:78px;height:78px;right:24%;bottom:-48px;border-width:12px}

  /* compact hanging glass bottom navigation */
  .bottom-nav,.glass-nav{width:176px!important;max-width:176px!important;min-width:176px!important;padding:6px!important;gap:6px!important;bottom:12px!important;border-radius:999px!important;background:rgba(247,249,255,.48)!important;backdrop-filter:blur(26px) saturate(160%)!important;-webkit-backdrop-filter:blur(26px) saturate(160%)!important}
  .bottom-nav a{flex:0 0 79px!important;min-width:79px!important;max-width:79px!important;width:79px!important;padding:9px 7px!important;font-size:11px!important;gap:5px!important;border-radius:999px!important}
  .nav-icon,.nav-icon svg{width:15px!important;height:15px!important}

  /* real table on mobile - no horizontal scrolling */
  .table-wrap{overflow:hidden!important;border-radius:16px!important;background:rgba(255,255,255,.52)!important;border:1px solid rgba(255,255,255,.76)!important;box-shadow:0 12px 28px rgba(51,39,140,.10)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important}
  .table-wrap table{display:table!important;width:100%!important;min-width:0!important;table-layout:fixed!important;border-collapse:collapse!important}
  .table-wrap thead{display:table-header-group!important}
  .table-wrap tbody{display:table-row-group!important}
  .table-wrap tr{display:table-row!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
  .table-wrap th,.table-wrap td{display:table-cell!important;min-width:0!important;width:auto!important;padding:7px 3px!important;border-bottom:1px solid rgba(44,52,148,.08)!important;vertical-align:top!important;word-break:normal!important;overflow-wrap:anywhere!important}
  .table-wrap th{font-size:8px!important;line-height:1.05!important;letter-spacing:.025em!important;text-transform:uppercase!important}
  .table-wrap td{font-size:9px!important;line-height:1.18!important}
  .table-wrap td:before{display:none!important;content:none!important}
  .table-wrap th:nth-child(1),.table-wrap td:nth-child(1){width:11%!important;text-align:center!important}
  .table-wrap th:nth-child(2),.table-wrap td:nth-child(2){width:21%!important}
  .table-wrap th:nth-child(3),.table-wrap td:nth-child(3){width:17%!important;text-align:center!important}
  .table-wrap th:nth-child(4),.table-wrap td:nth-child(4){width:51%!important}
  .desktop-date{display:none!important}.mobile-date{display:inline!important;font-size:8.5px!important;line-height:1.2!important;white-space:normal!important}
  .table-wrap .badge{padding:4px 5px!important;font-size:7.5px!important;line-height:1!important;white-space:nowrap!important}
  .table-wrap td:nth-child(4) .presenter{display:grid!important;gap:3px!important;width:100%!important}
  .table-wrap td:nth-child(4) .presenter>div{display:block!important;padding:3px 4px!important;border-radius:7px!important;font-size:8.2px!important;line-height:1.15!important;background:rgba(255,255,255,.44)!important;border:1px solid rgba(45,52,150,.05)!important;transform:none!important}
  .table-wrap td:nth-child(4) .presenter b{font-weight:750!important}
  .table-wrap td:nth-child(4) .muted{font-size:7.4px!important}
  .table-wrap .pending-dot{width:5px!important;height:5px!important;margin-right:3px!important}
  .table-wrap .check{width:13px!important;height:13px!important;font-size:8px!important;margin-right:3px!important}
  .section-title h2{font-size:21px!important}
  .section{padding:12px 0!important}
}


/* POLISHED HIERARCHY OVERRIDES */
.topbar{background:rgba(255,255,255,.74)!important;box-shadow:0 10px 28px rgba(55,48,130,.08)!important}
.hero{background:linear-gradient(135deg,rgba(255,255,255,.94),rgba(242,244,255,.88))!important;border:1px solid rgba(68,56,160,.10)!important;box-shadow:0 24px 70px rgba(47,38,124,.12)!important}
.hero h1{color:#121949!important;font-weight:900!important}
.hero p{color:#66709c!important;max-width:720px!important}
.section-title .badge{opacity:.82}
.section-title h2{color:#151c4d!important;font-weight:900!important}
.section:first-of-type .card{background:linear-gradient(135deg,rgba(25,64,176,.98),rgba(76,29,147,.96))!important;color:#fff!important;border:0!important;box-shadow:0 24px 55px rgba(64,40,154,.22)!important}
.section:first-of-type .card .muted{color:rgba(255,255,255,.72)!important}
.section:first-of-type .presenter-item,.section:first-of-type .presenter>div{background:rgba(255,255,255,.12)!important;border-color:rgba(255,255,255,.16)!important}
.table-wrap{background:#fff!important;border:1px solid rgba(52,47,144,.08)!important;box-shadow:0 18px 48px rgba(41,38,118,.10)!important}
th{background:#f1f3ff!important;color:#4d5685!important;font-weight:900!important}
td{background:#fff!important}
tr:hover td{background:#fafbff!important}
.card{background:#fff!important;border:1px solid rgba(52,47,144,.08)!important;box-shadow:0 16px 42px rgba(41,38,118,.08)!important}
.muted{color:#727ba6!important}
.bottom-nav,.glass-nav{box-shadow:0 14px 34px rgba(43,36,120,.16)!important}
@media(max-width:760px){
  .hero{padding-top:30px!important}
  .hero h1{font-size:33px!important;max-width:88%!important}
  .hero p{font-size:13.5px!important;color:#68729d!important}
  .section:first-of-type .card{padding:15px!important}
  .table-wrap{box-shadow:0 10px 28px rgba(41,38,118,.08)!important}
}

/* Auto average grading */
.final-score{
  min-width:74px;
  min-height:38px;
  padding:9px 12px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  letter-spacing:.02em;
  color:var(--muted);
  background:rgba(34,69,178,.06);
  border:1px solid rgba(34,69,178,.12);
}
.final-score.has-value{
  color:#fff;
  background:linear-gradient(180deg,#2245b2 0%,#4b1d93 100%);
  border-color:transparent;
  box-shadow:0 8px 18px rgba(75,29,147,.20);
}

/* ================================
   DOSEN SCOREBOARD — isolated layout
   Prevent schedule-table mobile CSS from affecting grading
   ================================ */
.teacher-mobile-score{display:none}
.teacher-table-wrap{overflow:auto;border-radius:24px;background:#fff;border:1px solid rgba(52,47,144,.08);box-shadow:0 18px 48px rgba(41,38,118,.10)}
.teacher-score-table{width:100%;min-width:980px;border-collapse:collapse;background:#fff}
.teacher-score-table th,.teacher-score-table td{padding:13px 12px;border-bottom:1px solid rgba(61,51,162,.08);vertical-align:middle}
.teacher-score-table th{background:#f1f3ff;color:#4d5685;font-size:11px;text-transform:uppercase;letter-spacing:.055em;white-space:nowrap}
.teacher-score-table .score-input{width:72px;text-align:center}
.teacher-score-table .final-score{min-width:70px}

@media(max-width:760px){
  .teacher-desktop-score{display:none!important}
  .teacher-mobile-score{display:block!important;padding-top:4px!important}
  .teacher-mobile-score .mobile-score-list{display:grid;gap:10px}
  .teacher-mobile-score .mobile-score-card{
    display:block;
    margin:0;
    padding:12px;
    border:1px solid rgba(53,47,145,.09);
    border-radius:18px;
    background:#fff;
    box-shadow:0 8px 24px rgba(43,38,121,.07);
  }
  .teacher-mobile-score .mobile-score-card.done{opacity:.58;filter:saturate(.65)}
  .teacher-mobile-score .mobile-student-head{display:flex;align-items:center;gap:9px;margin-bottom:11px}
  .teacher-mobile-score .student-index{
    flex:0 0 28px;width:28px;height:28px;border-radius:9px;display:grid;place-items:center;
    color:#fff;font-size:11px;font-weight:900;background:linear-gradient(180deg,#1145b2 0%,#4b1d93 100%)
  }
  .teacher-mobile-score .student-meta{min-width:0;display:flex;flex-direction:column;gap:2px}
  .teacher-mobile-score .student-meta strong{font-size:12px;line-height:1.18;color:#171d4d;white-space:normal}
  .teacher-mobile-score .student-meta small{font-size:9px;color:#8088ad;letter-spacing:.02em}
  .teacher-mobile-score .check{width:15px!important;height:15px!important;font-size:9px!important;margin-right:4px!important}

  .teacher-mobile-score .mobile-score-grid{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:5px;
    align-items:stretch;
  }
  .teacher-mobile-score .mobile-score-grid label{
    min-width:0;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:5px;
  }
  .teacher-mobile-score .mobile-score-grid label>span{
    min-height:20px;
    display:flex;
    align-items:flex-end;
    justify-content:center;
    text-align:center;
    color:#68719a;
    font-size:7.4px;
    line-height:1.05;
    font-weight:850;
  }
  .teacher-mobile-score .score-input{
    width:100%!important;
    min-width:0!important;
    height:38px;
    padding:5px 2px!important;
    border-radius:10px!important;
    border:1px solid rgba(52,47,144,.12)!important;
    background:#f7f8ff!important;
    color:#171d4d!important;
    text-align:center;
    font-size:12px!important;
    font-weight:800;
    outline:none;
  }
  .teacher-mobile-score .score-input:focus{border-color:#3348b8!important;box-shadow:0 0 0 3px rgba(40,66,181,.09)!important}
  .teacher-mobile-score .mobile-final .final-score{
    width:100%;min-width:0;height:38px;padding:4px 2px;border-radius:10px;font-size:11px;
  }
  .teacher-mobile-score .mobile-save{
    width:100%;margin-top:9px;padding:9px 12px;border-radius:12px;font-size:11px;
  }
  .welcome{padding-top:22px!important}
  .welcome h1{font-size:27px!important;line-height:1.02!important}
  .welcome p{font-size:12px!important;line-height:1.45!important}
}

@media(max-width:370px){
  .teacher-mobile-score .mobile-score-card{padding:10px}
  .teacher-mobile-score .mobile-score-grid{gap:3px}
  .teacher-mobile-score .mobile-score-grid label>span{font-size:6.8px}
  .teacher-mobile-score .score-input{font-size:11px!important;padding-left:1px!important;padding-right:1px!important}
  .teacher-mobile-score .mobile-final .final-score{font-size:10px}
}

/* Multi-file + multi-folder website uploader */
.folder-pickers{display:grid;gap:10px}
.folder-picker-row{display:flex;align-items:center;gap:8px}
.folder-picker-row input[type="file"]{flex:1;min-width:0}
.remove-folder-picker{width:34px;height:34px;flex:0 0 34px;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.07);color:var(--text);cursor:pointer;font-size:20px;line-height:1}
.btn-compact{align-self:flex-start;padding:9px 12px;font-size:13px;margin-top:2px}
.upload-summary{padding:10px 12px;margin:4px 0 14px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.035);font-size:13px}

/* Drag & drop uploader */
.web-dropzone{position:relative;overflow:hidden;border:1px dashed rgba(55,75,180,.34);border-radius:24px;padding:32px 20px;text-align:center;background:linear-gradient(180deg,rgba(255,255,255,.78),rgba(246,247,255,.7));transition:border-color .25s ease,transform .25s ease,box-shadow .25s ease,background .25s ease;cursor:default}
.web-dropzone:hover,.web-dropzone.is-dragging{border-color:#3d4fd6;background:linear-gradient(180deg,rgba(245,247,255,.96),rgba(239,239,255,.92));box-shadow:0 18px 48px rgba(63,47,160,.13);transform:translateY(-2px)}
.web-dropzone.is-dragging{outline:4px solid rgba(58,72,200,.08)}
.drop-icon{width:54px;height:54px;margin:0 auto 13px;display:grid;place-items:center;border-radius:18px;color:#fff;background:linear-gradient(180deg,#1747b7,#522098);box-shadow:0 14px 28px rgba(50,45,150,.24);position:relative;z-index:2}
.drop-icon svg{width:27px;height:27px}.web-dropzone h3{margin:0 0 7px;font-size:20px;color:#17234b;position:relative;z-index:2}.web-dropzone p{margin:0 auto;max-width:620px;color:#64709a;line-height:1.55;position:relative;z-index:2}.dropzone-actions{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;margin-top:17px;position:relative;z-index:2}
.drop-shape{position:absolute;pointer-events:none;border-radius:999px;opacity:.10}.drop-shape-a{width:110px;height:110px;background:#1747b7;right:-30px;top:-36px;animation:floatMini 8s ease-in-out infinite}.drop-shape-b{width:74px;height:74px;background:#522098;left:-20px;bottom:-26px;animation:floatMini 10s ease-in-out infinite reverse}
.drop-preview{margin-top:14px;border:1px solid rgba(45,55,130,.11);border-radius:20px;background:#f8f9ff;padding:14px}.drop-preview-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;color:#17234b}.drop-file-list{max-height:270px;overflow:auto;border-radius:14px;background:#fff;border:1px solid rgba(45,55,130,.08)}.drop-file-row{display:grid;grid-template-columns:18px 1fr auto;gap:8px;align-items:center;padding:8px 10px 8px calc(10px + min(var(--depth),5)*8px);border-bottom:1px solid rgba(40,52,120,.065);font-size:12px;color:#24315a}.drop-file-row:last-child{border-bottom:0}.drop-file-bullet{color:#3d4fd6}.drop-file-path{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.drop-file-path strong{color:#17234b}.drop-file-size{color:#8c96b7;font-size:11px}.drop-more{padding:10px;text-align:center;font-size:12px}.upload-web-main{margin-top:14px}.upload-web-main:disabled{opacity:.48;cursor:not-allowed;transform:none!important}
.uploaded-tree-wrap{margin-top:12px;border:1px solid rgba(45,55,130,.11);border-radius:20px;overflow:hidden;background:#f9faff}.uploaded-tree-title{padding:12px 14px;font-size:13px;font-weight:800;color:#24315a;background:rgba(34,67,180,.045);border-bottom:1px solid rgba(45,55,130,.08)}.file-tree{max-height:320px;overflow:auto;padding:8px}.tree-row{display:flex;align-items:center;gap:7px;padding:7px 10px 7px calc(10px + min(var(--level),7)*14px);border-radius:10px;font-size:12px;color:#39466e}.tree-row:hover{background:rgba(38,55,160,.055)}.tree-folder{color:#1d2b59}.tree-folder .tree-icon{color:#42249a}.tree-file .tree-icon{color:#2347c5}.tree-icon{width:14px;text-align:center;flex:0 0 14px}.run-web-block{margin-top:18px;padding-top:17px;border-top:1px solid rgba(45,55,130,.10)}.run-web-btn{min-width:160px}.web-address{margin:8px 0 0;font-size:12px}
@keyframes floatMini{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-7px) rotate(4deg)}}
@media(max-width:760px){.web-dropzone{padding:25px 14px}.web-dropzone h3{font-size:17px}.web-dropzone p{font-size:13px}.drop-icon{width:48px;height:48px;border-radius:16px}.drop-file-row{grid-template-columns:14px minmax(0,1fr) auto;padding-left:8px}.uploaded-tree-wrap{border-radius:16px}.tree-row{padding-left:calc(8px + min(var(--level),6)*10px)}.run-web-btn{width:auto;min-width:145px}}

/* Compact desktop website uploader — v2 */
@media (min-width:761px){
  #upload-web{max-width:760px;margin-left:auto;margin-right:auto}
  .web-dropzone{padding:20px 22px!important;min-height:0!important;border-radius:20px!important}
  .drop-icon{width:44px!important;height:44px!important;margin-bottom:9px!important;border-radius:14px!important}
  .drop-icon svg{width:22px!important;height:22px!important}
  .web-dropzone h3{font-size:17px!important;margin-bottom:4px!important}
  .web-dropzone p{font-size:12.5px!important;line-height:1.45!important;max-width:560px!important}
  .dropzone-actions{margin-top:12px!important}
  .drop-preview{max-width:760px;margin-left:auto;margin-right:auto}
  .upload-web-main{display:flex;margin-left:auto;margin-right:auto;min-width:160px}
}


/* Uploader V3 — compact desktop + proportional icon */
@media (min-width:761px){
  #upload-web{max-width:620px!important;margin-left:auto!important;margin-right:auto!important}
  .web-dropzone{
    max-width:620px!important;
    padding:14px 16px!important;
    border-radius:16px!important;
    min-height:0!important;
  }
  .drop-icon{
    width:32px!important;
    height:32px!important;
    margin:0 auto 7px!important;
    border-radius:10px!important;
    box-shadow:0 8px 18px rgba(50,45,150,.18)!important;
  }
  .drop-icon svg{width:16px!important;height:16px!important}
  .web-dropzone h3{font-size:15px!important;line-height:1.2!important;margin:0 0 3px!important}
  .web-dropzone p{font-size:11.5px!important;line-height:1.38!important;max-width:480px!important}
  .dropzone-actions{margin-top:9px!important;gap:7px!important}
  .dropzone-actions .btn-compact{padding:7px 10px!important;font-size:11.5px!important;border-radius:11px!important}
  .drop-shape-a{width:70px!important;height:70px!important;right:-24px!important;top:-28px!important}
  .drop-shape-b{width:48px!important;height:48px!important;left:-15px!important;bottom:-20px!important}
  .drop-preview{max-width:620px!important;padding:11px!important;border-radius:16px!important}
  .drop-file-list{max-height:220px!important}
  .upload-web-main{margin-top:10px!important;min-width:145px!important;padding:10px 14px!important;font-size:13px!important}
}

/* V4 — compact single drag & drop box */
.web-dropzone-simple{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:14px!important;
  text-align:left!important;
  max-width:560px!important;
  min-height:88px!important;
  padding:14px 16px!important;
  margin:0 auto!important;
  border-radius:18px!important;
  cursor:copy!important;
}
.web-dropzone-simple .drop-icon.compact{
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  margin:0!important;
  border-radius:12px!important;
  flex:0 0 38px!important;
}
.web-dropzone-simple .drop-icon.compact svg{
  width:19px!important;
  height:19px!important;
}
.web-dropzone-simple .drop-copy{position:relative;z-index:2;min-width:0}
.web-dropzone-simple .drop-copy h3{font-size:15px!important;margin:0 0 3px!important;line-height:1.25!important}
.web-dropzone-simple .drop-copy p{font-size:11.5px!important;margin:0!important;line-height:1.42!important;max-width:430px!important}
.web-dropzone-simple.is-dragging{transform:none!important;border-color:#2347c5!important;box-shadow:0 12px 30px rgba(55,45,150,.14)!important;background:rgba(244,246,255,.94)!important}
.web-dropzone-simple.is-reading{opacity:.72;pointer-events:none}
#upload-web{max-width:620px!important;margin:0 auto!important}
#drop-preview{max-width:620px!important;margin:12px auto 0!important}
#web-upload-submit{display:flex!important;margin:12px auto 0!important;min-width:140px!important}
@media(max-width:760px){
  .web-dropzone-simple{max-width:100%!important;min-height:82px!important;padding:13px 14px!important;gap:12px!important;border-radius:16px!important}
  .web-dropzone-simple .drop-icon.compact{width:36px!important;height:36px!important;min-width:36px!important;flex-basis:36px!important}
  .web-dropzone-simple .drop-copy h3{font-size:14px!important}
  .web-dropzone-simple .drop-copy p{font-size:11px!important}
  #upload-web,#drop-preview{max-width:100%!important}
}

/* FINAL uploader fix — obvious compact box, no giant icon */
.web-dropzone-final{
  width:min(100%,520px)!important;
  min-height:72px!important;
  margin:0 auto!important;
  padding:11px 14px!important;
  display:flex!important;
  align-items:center!important;
  gap:11px!important;
  text-align:left!important;
  border:2px dashed rgba(66,74,183,.42)!important;
  border-radius:15px!important;
  background:#f7f8ff!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.85),0 7px 18px rgba(35,45,125,.05)!important;
  cursor:copy!important;
  overflow:hidden!important;
}
.web-dropzone-final:hover,.web-dropzone-final.is-dragging{
  border-color:#3446bd!important;
  background:#f1f3ff!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.9),0 10px 24px rgba(49,52,157,.10)!important;
  transform:none!important;
}
.drop-icon-final{
  width:27px!important;height:27px!important;min-width:27px!important;flex:0 0 27px!important;
  display:grid!important;place-items:center!important;
  border-radius:8px!important;
  color:#3e46ad!important;
  background:#e8eaff!important;
  box-shadow:none!important;
}
.drop-icon-final svg{width:15px!important;height:15px!important}
.drop-copy-final{display:flex;flex-direction:column;gap:2px;min-width:0}
.drop-copy-final strong{font-size:13px;line-height:1.25;color:#20285e}
.drop-copy-final span{font-size:10.5px;line-height:1.35;color:#747ea8}
#upload-web{max-width:560px!important;margin:0 auto!important}
#drop-preview{max-width:560px!important;margin:10px auto 0!important;padding:10px!important;border-radius:14px!important}
#drop-file-list{max-height:210px!important}
#web-upload-submit{margin:10px auto 0!important;min-width:132px!important;padding:9px 14px!important;font-size:12px!important}
@media(max-width:760px){
  .web-dropzone-final{width:100%!important;min-height:68px!important;padding:10px 12px!important;border-radius:14px!important}
  .drop-icon-final{width:25px!important;height:25px!important;min-width:25px!important;flex-basis:25px!important}
  .drop-copy-final strong{font-size:12px}
  .drop-copy-final span{font-size:10px}
}
/* UPLOADER ULTRA COMPACT — final */
.web-dropzone-final{
  width:min(100%,360px)!important;
  min-height:52px!important;
  max-height:52px!important;
  margin:0 auto!important;
  padding:7px 10px!important;
  gap:8px!important;
  border-width:1.5px!important;
  border-radius:12px!important;
}
.drop-icon-final{
  width:20px!important;height:20px!important;min-width:20px!important;flex-basis:20px!important;
  border-radius:6px!important;
}
.drop-icon-final svg{width:11px!important;height:11px!important}
.drop-copy-final{gap:0!important}
.drop-copy-final strong{font-size:11px!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.drop-copy-final span{font-size:8.8px!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#upload-web{max-width:390px!important}
#drop-preview{max-width:390px!important;margin-top:8px!important}
#web-upload-submit{margin-top:8px!important;min-width:112px!important;padding:8px 12px!important;font-size:11.5px!important}
@media(max-width:760px){
  .web-dropzone-final{width:min(100%,330px)!important;min-height:50px!important;max-height:50px!important;padding:7px 9px!important}
  .drop-copy-final strong{font-size:10.5px!important}
  .drop-copy-final span{font-size:8.5px!important}
}

/* ZIP website upload flow */
.zip-upload-form{display:grid;gap:12px;max-width:620px;margin-top:14px}
.zip-picker-box{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,280px);gap:14px;align-items:center;padding:14px 16px;border:1px solid rgba(61,51,162,.10);border-radius:18px;background:rgba(255,255,255,.62)}
.zip-picker-box>div{display:flex;flex-direction:column;gap:4px}.zip-picker-box strong{font-size:14px;color:#1c2555}.zip-picker-box span{font-size:12px;color:var(--muted);line-height:1.45}.zip-picker-box input[type=file]{width:100%;font-size:12px;padding:9px;border-radius:12px;border:1px solid rgba(61,51,162,.10);background:#fff;color:#414b76}
.zip-status-box{display:flex;align-items:center;justify-content:space-between;gap:14px;max-width:620px;margin-top:14px;padding:13px 15px;border:1px solid rgba(50,54,150,.10);border-radius:18px;background:linear-gradient(135deg,rgba(17,69,178,.06),rgba(75,29,147,.055))}.zip-status-box>div{display:flex;align-items:center;gap:10px;min-width:0}.zip-status-box strong{display:block;font-size:13px;color:#1b2352;max-width:360px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.zip-status-box small{display:block;margin-top:2px;color:var(--muted);font-size:11px}.zip-file-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--grad);color:white;font-size:10px;font-weight:900;letter-spacing:.04em;box-shadow:0 9px 18px rgba(60,42,150,.18)}
.extracted-tree{margin-top:18px;max-width:760px}.run-web-block{margin-top:16px}
@media(max-width:760px){.zip-upload-form{max-width:none}.zip-picker-box{grid-template-columns:1fr;gap:10px;padding:12px}.zip-status-box{align-items:flex-start;flex-direction:column}.zip-status-box>form{width:100%}.zip-status-box>form .btn{width:100%}.zip-status-box strong{max-width:240px}}

/* ZIP upload flow fix */
.zip-steps{display:grid;gap:12px;max-width:720px;margin-top:14px}
.zip-step-card{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:14px;align-items:center;padding:14px 16px;border:1px solid rgba(61,51,162,.11);border-radius:18px;background:rgba(255,255,255,.70)}
.zip-step-card.disabled{opacity:.62}.zip-step-card.ready{border-color:rgba(17,69,178,.18);background:linear-gradient(135deg,rgba(17,69,178,.055),rgba(75,29,147,.05))}
.zip-step-number{width:32px;height:32px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(135deg,#1145B2,#4B1D93);color:white;font-weight:900;font-size:13px}
.zip-step-content{display:flex;flex-direction:column;gap:5px;min-width:0}.zip-step-content>strong{color:#1b2352;font-size:14px}.zip-step-content>span,.zip-step-content>small{font-size:12px;color:var(--muted)}
.zip-step-content input[type=file]{max-width:320px;font-size:12px;padding:8px 10px;border:1px solid rgba(61,51,162,.12);border-radius:11px;background:#fff;color:#3d4771}
.zip-selected{display:flex;align-items:center;gap:9px;margin-top:4px}.zip-selected b{display:block;font-size:12px;color:#202857}.zip-selected small{display:block;font-size:11px;margin-top:2px}
.zip-step-card button[disabled]{cursor:not-allowed;opacity:.48;transform:none!important}
@media(max-width:760px){.zip-step-card{grid-template-columns:32px minmax(0,1fr);padding:12px}.zip-step-card>form,.zip-step-card>.btn{grid-column:2}.zip-step-card>form .btn{width:auto}.zip-step-content input[type=file]{max-width:100%;width:100%}}


/* Teacher student slides */
.teacher-slide-action{padding-top:0!important;display:flex;justify-content:flex-start}
.teacher-slide-action .btn{min-width:190px;text-align:center}
.slide-page-head .btn{margin-top:14px}
.slide-table th:last-child,.slide-table td:last-child{width:310px}
.slide-cell{padding:12px!important}
.student-slide-thumb{width:260px;max-width:100%;aspect-ratio:16/9;display:block;position:relative;overflow:hidden;padding:0;border:1px solid rgba(61,51,162,.12);border-radius:14px;background:#fff;cursor:pointer;box-shadow:0 8px 20px rgba(41,38,118,.08)}
.student-slide-thumb iframe{position:absolute;inset:0;width:100%;height:100%;border:0;pointer-events:none;background:#fff}
.slide-hover{position:absolute;inset:0;display:grid;place-items:center;background:rgba(24,28,78,.58);color:#fff;font-weight:900;font-size:12px;opacity:0;transition:opacity .2s ease}
.student-slide-thumb:hover .slide-hover{opacity:1}
.no-slide{display:inline-flex;align-items:center;padding:9px 12px;border-radius:12px;background:#f4f5fb;color:#8a90aa;font-size:12px;font-weight:800}
.slide-modal{align-items:center;justify-content:center}
.slide-modal-box{width:min(1180px,calc(100vw - 32px));height:auto;aspect-ratio:16/9;max-height:calc(100vh - 32px);border-radius:22px;background:#fff}
.slide-modal-box iframe{background:#fff}
@media(max-width:760px){
  .teacher-slide-action .btn{width:100%}
  .slide-table-wrap{overflow-x:auto}
  .slide-table{min-width:680px!important}
  .student-slide-thumb{width:210px}
  .slide-modal{padding:8px}
  .slide-modal-box{width:calc(100vw - 16px);max-height:calc(100vh - 16px);border-radius:14px}
  .slide-modal-box .modal-close{top:8px;right:8px;padding:7px 9px;font-size:10px}
}

/* Peer rating + score summary */
.student-welcome{display:flex;align-items:flex-end;justify-content:space-between;gap:22px}.student-score-summary{display:flex;gap:10px;flex:0 0 auto}.student-score-summary>div{min-width:108px;padding:11px 14px;border:1px solid rgba(61,51,162,.12);border-radius:15px;background:rgba(255,255,255,.72);text-align:right}.student-score-summary small{display:block;color:var(--muted);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.student-score-summary strong{display:block;margin-top:2px;font-size:22px;color:#25368f}.section-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.section-title-row h2{margin-bottom:4px}.required-pill{white-space:nowrap;padding:6px 9px;border-radius:999px;background:#fff0f0;color:#b93b49;font-size:10px;font-weight:900}.rating-target-list{display:grid;gap:9px;margin-top:15px}.rating-target{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border:1px solid rgba(61,51,162,.1);border-radius:15px;background:rgba(255,255,255,.72)}.rating-target.rated{background:#f5f6f8;color:#9096a8}.rating-target-name{display:flex;align-items:center;gap:10px;min-width:0}.rating-target-name strong,.rating-target-name small{display:block}.rating-target-name strong{font-size:13px}.rating-target-name small{font-size:10px;color:var(--muted);margin-top:2px}.rating-check{width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:#eef0f7;color:transparent;font-weight:900;flex:0 0 auto}.rated .rating-check{background:#dff5e8;color:#23884d}.rating-target-action{display:flex;align-items:center;gap:8px}.class-rating{font-weight:900;color:#5c657f;font-size:14px}.rated-label{font-size:10px;font-weight:800;color:#8b91a3}.grade-lock-note,.rating-empty{margin-top:14px;padding:11px 13px;border-radius:13px;background:#f7f8fc;color:#6f7796;font-size:11px;line-height:1.5}.rating-form{display:grid;gap:14px;max-width:900px;margin:0 auto}.rating-question{border:1px solid rgba(61,51,162,.11);border-radius:17px;padding:14px;margin:0;background:rgba(255,255,255,.55)}.rating-question legend{display:flex;gap:9px;align-items:flex-start;width:100%;padding:0 4px;color:#202857;font-size:13px;font-weight:800;line-height:1.45}.rating-question legend>span{display:grid;place-items:center;width:22px;height:22px;border-radius:8px;background:#eef0ff;color:#3e46ad;flex:0 0 auto}.rating-options{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin-top:13px}.rating-options label{cursor:pointer}.rating-options input{position:absolute;opacity:0;pointer-events:none}.rating-options span{display:grid;place-items:center;min-height:38px;border:1.5px solid #ccd4ef;border-radius:11px;background:#fff;color:#425078;font-size:12px;font-weight:900;transition:.15s}.rating-options input:checked+span{border-color:#2458d8;background:#2458d8;color:#fff;box-shadow:0 6px 14px rgba(36,88,216,.2)}.rating-comment textarea{width:100%;resize:vertical}.rating-comment label small{display:block;margin-top:3px;color:var(--muted);font-weight:500}.rating-comment>small{display:block;text-align:right;color:var(--muted);font-size:10px}.rating-submit-row{display:flex;justify-content:flex-end;gap:9px}.thankyou-pop{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:20px;background:rgba(12,16,42,.36);backdrop-filter:blur(5px)}.thankyou-pop>div{width:min(360px,100%);padding:24px;border-radius:22px;background:#fff;box-shadow:0 25px 70px rgba(20,25,70,.22);text-align:center}.thankyou-pop span{display:grid;place-items:center;width:46px;height:46px;margin:0 auto 12px;border-radius:50%;background:#def5e7;color:#20894b;font-size:24px;font-weight:900}.thankyou-pop strong{display:block;color:#1f2858;font-size:15px}.thankyou-pop button{margin-top:15px;border:0;background:none;color:#4252aa;font-weight:800;cursor:pointer}.rating-score{font-weight:900;color:#58617e}.rating-score.has-value{color:#3144a7}.mobile-result{margin-left:auto;display:grid;grid-template-columns:auto auto;gap:0 7px;align-items:center;text-align:right}.mobile-result small{font-size:8px;color:var(--muted);text-transform:uppercase;font-weight:800}.mobile-result b{font-size:13px;color:#34449b}.compact-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}
@media(max-width:760px){html,body{max-width:100%;overflow-x:hidden}.student-welcome{align-items:stretch;flex-direction:column}.student-score-summary{width:100%}.student-score-summary>div{min-width:0;flex:1;text-align:left;padding:9px 11px}.student-score-summary strong{font-size:18px}.rating-target{padding:10px;gap:8px}.rating-target-name strong{font-size:11px}.rating-target-name small{font-size:9px}.rating-target-action .btn{padding:7px 9px;font-size:9px}.rating-options{grid-template-columns:repeat(3,1fr)}.rating-question{padding:12px 10px}.rating-question legend{font-size:11.5px}.rating-submit-row .btn{flex:1}.mobile-score-card{max-width:100%;overflow:hidden}.mobile-student-head{gap:7px}.student-meta{min-width:0;overflow:hidden}.student-meta strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:155px}.mobile-result{flex:0 0 auto}.compact-4{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important}.compact-4 label{min-width:0}.compact-4 label span{font-size:8px!important;white-space:nowrap}.compact-4 input{width:100%!important;min-width:0!important;padding:7px 3px!important;font-size:11px!important;text-align:center}.mobile-save{width:100%}}

/* =====================================================
   STUDENT DASHBOARD MOBILE POLISH — 2026-10-01
   Visual-only overrides. Keeps all existing functions.
   ===================================================== */
@media(max-width:760px){
  body:has(.student-welcome){
    background:
      radial-gradient(circle at 100% 0%,rgba(91,64,232,.13),transparent 34%),
      radial-gradient(circle at 0% 48%,rgba(66,111,238,.08),transparent 31%),
      #f6f7fc!important;
  }
  body:has(.student-welcome) .container{width:calc(100% - 24px)!important}
  body:has(.student-welcome) .topbar{
    margin-top:10px!important;padding:9px 10px!important;border-radius:18px!important;
    background:rgba(255,255,255,.82)!important;border:1px solid rgba(82,69,190,.08)!important;
    box-shadow:0 8px 30px rgba(47,42,117,.07)!important;
  }
  body:has(.student-welcome) .logo{width:36px;height:36px;border-radius:12px;font-size:14px}
  body:has(.student-welcome) .brand{gap:9px;font-size:13px}

  .student-welcome{
    position:relative;isolation:isolate;overflow:hidden;
    margin-top:12px;padding:20px 17px 16px!important;border-radius:24px;
    color:#fff;gap:17px!important;
    background:linear-gradient(135deg,#263fc1 0%,#5438e8 55%,#7146df 100%);
    box-shadow:0 18px 42px rgba(70,53,194,.22);
  }
  .student-welcome:before{content:"";position:absolute;width:170px;height:170px;border-radius:50%;right:-74px;top:-90px;background:rgba(255,255,255,.11);z-index:-1}
  .student-welcome:after{content:"";position:absolute;width:90px;height:90px;border:18px solid rgba(255,255,255,.07);border-radius:50%;right:20px;bottom:-62px;z-index:-1}
  .student-welcome .badge{padding:6px 9px!important;font-size:9px!important;color:#fff!important;background:rgba(255,255,255,.15)!important;border-color:rgba(255,255,255,.20)!important;letter-spacing:.06em}
  .student-welcome h1{margin:9px 0 3px!important;font-size:25px!important;line-height:1.08!important;letter-spacing:-.035em!important;color:#fff}
  .student-welcome>div:first-child>.muted{margin:0;color:rgba(255,255,255,.68)!important;font-size:10px!important;font-weight:650;letter-spacing:.035em}
  .student-score-summary{gap:8px!important;position:relative;z-index:1}
  .student-score-summary>div{
    position:relative;padding:10px 12px!important;border-radius:15px!important;text-align:left!important;
    background:rgba(255,255,255,.13)!important;border:1px solid rgba(255,255,255,.18)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.09);backdrop-filter:blur(12px);
  }
  .student-score-summary small{color:rgba(255,255,255,.68)!important;font-size:8px!important;letter-spacing:.07em!important}
  .student-score-summary strong{margin-top:4px!important;color:#fff!important;font-size:20px!important;line-height:1!important}

  body:has(.student-welcome) .section{padding:8px 0!important}
  body:has(.student-welcome) .section:first-of-type{padding-top:12px!important}
  body:has(.student-welcome) .card{
    padding:15px!important;border-radius:22px!important;background:#fff!important;
    border:1px solid rgba(59,52,139,.07)!important;box-shadow:0 10px 34px rgba(42,39,105,.075)!important;
    backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  }
  body:has(.student-welcome) .card:after{width:72px;height:72px;right:-38px;top:-38px;opacity:.5}
  body:has(.student-welcome) .card h2{position:relative;z-index:1;margin:0 0 13px;font-size:17px;line-height:1.2;letter-spacing:-.025em;color:#191f4d}

  body:has(.student-welcome) .pdf-thumb{border-radius:16px;box-shadow:0 7px 22px rgba(39,38,99,.08);border-color:rgba(62,54,147,.08)}
  body:has(.student-welcome) .pdf-thumb .overlay{background:linear-gradient(180deg,transparent 55%,rgba(19,22,65,.18))}
  body:has(.student-welcome) .pdf-thumb .overlay .btn{padding:8px 11px;border-radius:11px;font-size:10px;background:rgba(255,255,255,.9)!important;color:#4639bc!important}
  body:has(.student-welcome) .actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
  body:has(.student-welcome) .actions>a,body:has(.student-welcome) .actions form,body:has(.student-welcome) .actions form .btn{width:100%}
  body:has(.student-welcome) .actions .btn{min-height:38px;padding:8px 10px;border-radius:12px;font-size:10px;box-shadow:none}
  body:has(.student-welcome) .separator{margin:16px 0;border-color:#eef0f7}
  body:has(.student-welcome) .field{gap:7px;margin:0 0 10px}
  body:has(.student-welcome) .field label{font-size:10px;line-height:1.45;color:#7b82a2;font-weight:700}
  body:has(.student-welcome) .field input[type=file]{width:100%;padding:8px;border-radius:12px;background:#f7f8fc;border:1px dashed #ccd0e4;font-size:10px;color:#6d7495}
  body:has(.student-welcome) #upload-materi>.btn{width:100%;min-height:40px;border-radius:12px;font-size:11px;box-shadow:0 8px 18px rgba(79,57,210,.16)}

  .rating-section-card .section-title-row{align-items:flex-start;gap:10px;margin-bottom:4px}
  .rating-section-card .section-title-row h2{margin-bottom:3px!important}
  .rating-section-card .section-title-row p{margin:0;max-width:245px;font-size:9.5px;line-height:1.45;color:#858ca9}
  .required-pill{padding:5px 8px!important;background:#fff0f2!important;color:#cf4058!important;border:1px solid #ffe0e5;font-size:8.5px!important}
  .rating-target-list{gap:7px!important;margin-top:12px!important}
  .rating-target{
    min-height:55px;padding:9px 10px!important;gap:8px!important;border-radius:15px!important;
    border:1px solid #eceefa!important;background:#fafaff!important;box-shadow:none;
  }
  .rating-target:not(.rated){background:linear-gradient(135deg,#fafaff,#f6f5ff)!important;border-color:#e7e4fb!important}
  .rating-target.rated{opacity:1!important;filter:none!important;background:#f7f8fa!important;border-color:#eff0f3!important}
  .rating-target-name{gap:8px!important;flex:1;min-width:0}
  .rating-check{width:27px!important;height:27px!important;border-radius:9px!important;background:#e9e8fb!important;font-size:12px!important}
  .rated .rating-check{background:#e3f7eb!important;color:#239256!important}
  .rating-target-name>div{min-width:0}
  .rating-target-name strong{font-size:11px!important;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:160px;color:#252a55}
  .rating-target-name small{font-size:8.5px!important;color:#969bb2!important}
  .rating-target-action{gap:5px!important;flex:0 0 auto}
  .rating-target-action .btn{padding:8px 9px!important;border-radius:10px!important;font-size:8.5px!important;box-shadow:0 6px 14px rgba(78,56,207,.14)!important;white-space:nowrap}
  .class-rating{min-width:31px;text-align:center;padding:5px 6px;border-radius:9px;background:#eceef3;color:#646b80!important;font-size:10px!important}
  .rated-label{display:none}
  .grade-lock-note,.rating-empty{margin-top:11px!important;padding:10px 11px!important;border-radius:12px!important;background:#f5f4ff!important;color:#6f6a9a!important;font-size:9.5px!important;line-height:1.45!important;border:1px solid #ebe9ff}

  body:has(.student-welcome) footer{padding-top:26px}
}

@media(max-width:370px){
  body:has(.student-welcome) .container{width:calc(100% - 18px)!important}
  .student-welcome{padding:17px 14px 14px!important}
  .student-welcome h1{font-size:22px!important}
  .student-score-summary strong{font-size:18px!important}
  .rating-target-name strong{max-width:125px}
  .rating-target-action .btn{padding:7px!important;font-size:8px!important}
}

/* Student score comment button + questionnaire comments popup */
.student-score-summary{align-items:stretch}
.score-comment-btn{position:relative;width:54px;min-width:54px;border:0;border-radius:16px;background:linear-gradient(145deg,#6554ee,#4d39d8);color:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 10px 24px rgba(83,64,220,.24);transition:transform .18s ease,box-shadow .18s ease;overflow:visible}
.score-comment-btn:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(83,64,220,.32)}
.score-comment-btn:active{transform:translateY(0) scale(.97)}
.score-comment-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:11px;background:rgba(255,255,255,.12)}
.score-comment-btn svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.score-comment-count{position:absolute;top:-5px;right:-5px;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:#fff;color:#5540df;font-size:9px;font-weight:900;display:grid;place-items:center;border:2px solid #5a46e4;box-shadow:0 3px 8px rgba(39,30,120,.18)}
.comments-modal{position:fixed;inset:0;z-index:1200;display:none;align-items:center;justify-content:center;padding:18px;background:rgba(19,22,54,.44);backdrop-filter:blur(9px)}
.comments-modal.open{display:flex}
.comments-modal-card{width:min(560px,100%);max-height:min(680px,calc(100dvh - 36px));display:flex;flex-direction:column;overflow:hidden;border-radius:24px;background:#fff;box-shadow:0 28px 80px rgba(25,25,75,.25)}
.comments-modal-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px 16px;border-bottom:1px solid #eff0f7}
.comments-modal-head h2{margin:0;font-size:20px;color:#20264f}.comments-modal-head p{margin:4px 0 0;color:#9296aa;font-size:11px}
.comments-close{width:36px;height:36px;flex:0 0 36px;border:0;border-radius:12px;background:#f3f3fa;color:#646985;cursor:pointer;font-weight:800}
.comments-modal-body{padding:14px 16px 18px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;display:grid;gap:9px}
.anonymous-comment{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;padding:12px;border:1px solid #ececf6;border-radius:15px;background:#fafaff;min-width:0}.comment-avatar{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:#eeecff;font-size:14px}.anonymous-comment>div:last-child{min-width:0}.anonymous-comment small{font-size:9px;color:#9296aa;font-weight:800}.anonymous-comment p{margin:3px 0 0;font-size:12px;line-height:1.55;color:#333952;overflow-wrap:anywhere;word-break:break-word;white-space:normal}.comments-empty{padding:28px 18px;text-align:center;border-radius:15px;background:#f7f7fb;color:#858aa1;font-size:12px;line-height:1.5}
body.comments-open{overflow:hidden}
@media(max-width:760px){
  .student-score-summary{width:100%!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 46px!important;gap:7px!important;overflow:visible!important}
  .student-score-summary>div{min-width:0!important;width:auto!important;padding:9px 10px!important;overflow:hidden}.student-score-summary small{font-size:7.5px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.student-score-summary strong{font-size:18px!important}
  .score-comment-btn{width:46px;min-width:46px;border-radius:14px}.score-comment-icon{width:30px;height:30px;border-radius:10px}.score-comment-btn svg{width:19px;height:19px}.score-comment-count{top:-5px;right:-5px}
  .comments-modal{padding:12px;align-items:center}.comments-modal-card{width:100%;max-width:520px;max-height:calc(100dvh - 24px);border-radius:20px}.comments-modal-head{padding:16px 15px 13px}.comments-modal-head h2{font-size:17px}.comments-modal-head p{font-size:10px}.comments-modal-body{padding:10px 11px 14px;gap:8px;overflow-x:hidden}.anonymous-comment{grid-template-columns:30px minmax(0,1fr);padding:10px;gap:8px;border-radius:13px}.comment-avatar{width:30px;height:30px;border-radius:9px;font-size:12px}.anonymous-comment p{font-size:11px;line-height:1.5}
}
@media(max-width:370px){.student-score-summary{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 42px!important}.score-comment-btn{width:42px;min-width:42px}.score-comment-icon{width:28px;height:28px}.student-score-summary>div{padding:8px!important}.student-score-summary strong{font-size:17px!important}}

/* Teacher dashboard polish + per-student comments */
.teacher-welcome{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding-bottom:6px}.teacher-welcome h1{background:linear-gradient(110deg,#172458,#5942dc);-webkit-background-clip:text;background-clip:text;color:transparent}.teacher-stat{min-width:150px;padding:15px 18px;border-radius:20px;background:linear-gradient(145deg,rgba(255,255,255,.88),rgba(240,239,255,.68));border:1px solid rgba(86,66,214,.12);box-shadow:0 14px 34px rgba(63,48,170,.10);text-align:right}.teacher-stat small{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:800}.teacher-stat strong{display:block;margin-top:2px;font-size:28px;color:#4c3bc7}.teacher-slide-action{padding-top:8px}.teacher-slide-btn{gap:8px;border-radius:15px}.teacher-table-wrap{border-radius:24px!important;overflow:hidden!important;border:1px solid rgba(76,59,199,.10)!important}.teacher-score-table thead th{background:rgba(238,238,255,.72);color:#525b83;font-size:10px;text-transform:uppercase;letter-spacing:.045em}.teacher-score-table tbody tr{transition:background .18s ease}.teacher-score-table tbody tr:hover{background:rgba(244,243,255,.7)}
.teacher-chat-btn{position:relative;width:39px;height:39px;min-width:39px;padding:0;border:0;border-radius:13px;display:grid;place-items:center;background:linear-gradient(145deg,#6554ee,#4d39d8);color:#fff;cursor:pointer;box-shadow:0 8px 18px rgba(83,64,220,.22);transition:.18s ease}.teacher-chat-btn:hover{transform:translateY(-2px);box-shadow:0 12px 24px rgba(83,64,220,.30)}.teacher-chat-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.teacher-chat-btn>span{position:absolute;right:-5px;top:-5px;min-width:18px;height:18px;padding:0 4px;border-radius:999px;display:grid;place-items:center;background:#fff;color:#5743dc;border:2px solid #5a46e4;font-size:8px;font-weight:900}.mobile-chat{margin-left:auto;margin-right:8px;width:36px;height:36px;min-width:36px;border-radius:12px}.mobile-chat svg{width:17px;height:17px}
@media(max-width:760px){.teacher-welcome{align-items:center;gap:12px}.teacher-welcome h1{font-size:30px!important}.teacher-welcome .muted{font-size:11px}.teacher-stat{min-width:92px;padding:10px 12px;border-radius:16px}.teacher-stat small{font-size:8px}.teacher-stat strong{font-size:22px}.teacher-desktop-score{display:none!important}.teacher-mobile-score{display:block!important}.mobile-score-card{border-radius:20px!important;background:linear-gradient(155deg,rgba(255,255,255,.90),rgba(244,244,255,.68))!important;border:1px solid rgba(89,68,210,.10)!important;box-shadow:0 12px 30px rgba(50,42,140,.09)!important}.mobile-student-head{gap:7px!important}.student-meta{min-width:0;flex:1}.student-meta strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-result{margin-left:0!important}.teacher-chat-btn.mobile-chat{flex:0 0 36px;margin-left:2px;margin-right:2px}.comments-modal-card{max-height:calc(100dvh - 24px)}}

/* FINAL mobile teacher header: Mahasiswa | Nilai Akhir | Rating | Chat — one viewport, no horizontal scroll */
@media(max-width:760px){
  html,body{width:100%;max-width:100%;overflow-x:hidden!important}
  .teacher-mobile-score,.teacher-mobile-score .mobile-score-list,.teacher-mobile-score .mobile-score-card{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
  .teacher-mobile-score .mobile-score-card{padding:11px!important;overflow:hidden!important}
  .teacher-mobile-score .clean-student-row{
    width:100%;min-width:0;display:grid!important;
    grid-template-columns:minmax(0,1fr) 64px 58px 38px;
    align-items:center;gap:6px!important;margin:0 0 11px!important;
  }
  .teacher-mobile-score .clean-student-row .student-meta{min-width:0!important;overflow:hidden;display:block!important}
  .teacher-mobile-score .clean-student-row .student-meta strong{display:block!important;max-width:none!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:11px!important;line-height:1.2!important;color:#171d4d}
  .teacher-mobile-score .clean-student-row .student-meta small{display:block;margin-top:3px;font-size:7.5px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#9298b4}
  .student-mini-stat{height:39px;min-width:0;padding:5px 4px;border-radius:11px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid rgba(83,65,213,.10);background:linear-gradient(155deg,#fff,#f5f4ff);box-shadow:0 4px 12px rgba(64,50,170,.07);overflow:hidden}
  .student-mini-stat small{display:block;width:100%;font-size:6.7px!important;line-height:1;text-align:center;white-space:nowrap;color:#858ca9;font-weight:800;letter-spacing:0}
  .student-mini-stat b{margin-top:3px;font-size:12px;line-height:1;color:#4032b4;font-weight:900}
  .rating-mini{background:linear-gradient(155deg,#fff,#f3f7ff)}
  .teacher-chat-btn.mobile-chat{width:38px!important;height:39px!important;min-width:38px!important;margin:0!important;border-radius:11px!important;box-shadow:0 5px 14px rgba(83,64,220,.22)!important}
  .teacher-chat-btn.mobile-chat svg{width:17px!important;height:17px!important}
  .teacher-chat-btn.mobile-chat>span{right:-2px!important;top:-4px!important;min-width:15px!important;height:15px!important;font-size:7px!important;border-width:1.5px!important}
  .teacher-mobile-score .mobile-result,.teacher-mobile-score .student-index{display:none!important}
}
@media(max-width:370px){
  .teacher-mobile-score .clean-student-row{grid-template-columns:minmax(0,1fr) 58px 52px 34px;gap:4px!important}
  .student-mini-stat{height:36px;padding:4px 2px;border-radius:10px}.student-mini-stat small{font-size:6px!important}.student-mini-stat b{font-size:11px}
  .teacher-chat-btn.mobile-chat{width:34px!important;height:36px!important;min-width:34px!important}
  .teacher-mobile-score .clean-student-row .student-meta strong{font-size:10px!important}
}

/* 2026-10-01 polish: compact, eye-catching teacher mobile summary row */
@media (max-width:760px){
  .teacher-mobile-score .mobile-score-card{padding:12px 10px!important;border-radius:18px!important;background:#fff!important;border:1px solid #e7edf7!important;box-shadow:0 8px 24px rgba(25,55,105,.08)!important;overflow:hidden!important}
  .teacher-mobile-score .clean-student-row{display:grid!important;grid-template-columns:minmax(0,1fr) 62px 54px 38px!important;align-items:center!important;gap:4px!important;width:100%!important;min-width:0!important}
  .teacher-mobile-score .clean-student-row .student-meta{min-width:0!important;padding-right:2px!important}
  .teacher-mobile-score .clean-student-row .student-meta strong{font-size:12.5px!important;line-height:1.18!important;font-weight:800!important;letter-spacing:-.015em!important;color:#17233f!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .teacher-mobile-score .clean-student-row .student-meta small{margin-top:3px!important;font-size:7.5px!important;line-height:1!important;color:#9aa6ba!important;font-weight:650!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .teacher-mobile-score .student-mini-stat{height:38px!important;min-width:0!important;padding:5px 3px!important;border-radius:10px!important;background:#f8fbff!important;border:1px solid #dbe8fb!important;box-shadow:none!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;overflow:hidden!important}
  .teacher-mobile-score .student-mini-stat small{font-size:6.2px!important;line-height:1!important;font-weight:800!important;letter-spacing:-.01em!important;color:#8493aa!important;white-space:nowrap!important}
  .teacher-mobile-score .student-mini-stat b{margin-top:4px!important;font-size:12px!important;line-height:1!important;font-weight:900!important;color:#1f5fbf!important}
  .teacher-mobile-score .teacher-chat-btn.mobile-chat{position:relative!important;width:38px!important;height:38px!important;min-width:38px!important;padding:0!important;margin:0!important;border:0!important;border-radius:10px!important;background:linear-gradient(145deg,#2f80ed,#1769d2)!important;color:#fff!important;display:grid!important;place-items:center!important;box-shadow:0 5px 12px rgba(37,99,190,.22)!important;transition:transform .15s ease,box-shadow .15s ease!important}
  .teacher-mobile-score .teacher-chat-btn.mobile-chat:active{transform:scale(.95)!important}
  .teacher-mobile-score .teacher-chat-btn.mobile-chat svg{width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.9!important;stroke-linecap:round!important;stroke-linejoin:round!important}
  .teacher-mobile-score .teacher-chat-btn.mobile-chat>span{position:absolute!important;top:-4px!important;right:-4px!important;min-width:15px!important;height:15px!important;padding:0 3px!important;border-radius:999px!important;background:#fff!important;color:#1769d2!important;border:1.5px solid #2f80ed!important;font-size:7px!important;font-weight:900!important;display:grid!important;place-items:center!important}
}
@media (max-width:370px){
  .teacher-mobile-score .clean-student-row{grid-template-columns:minmax(0,1fr) 58px 50px 36px!important;gap:3px!important}
  .teacher-mobile-score .clean-student-row .student-meta strong{font-size:11.5px!important}
  .teacher-mobile-score .student-mini-stat{height:36px!important;padding:4px 2px!important}
  .teacher-mobile-score .student-mini-stat small{font-size:5.8px!important}
  .teacher-mobile-score .student-mini-stat b{font-size:11px!important}
  .teacher-mobile-score .teacher-chat-btn.mobile-chat{width:36px!important;height:36px!important;min-width:36px!important;border-radius:9px!important}
}

/* Slide viewer stability fix: do not preload PDFs in thumbnail iframes. */
body.pdf-modal-open{overflow:hidden}
.lightweight-slide-thumb{display:flex!important;align-items:center;gap:12px;text-align:left;padding:12px 14px!important;aspect-ratio:auto!important;min-height:70px;background:linear-gradient(145deg,#fff,#f6f5ff)!important}
.slide-file-icon{width:44px;height:44px;flex:0 0 44px;border-radius:12px;display:grid;place-items:center;background:#5a43d6;color:#fff;font-size:11px;font-weight:900;letter-spacing:.04em;box-shadow:0 8px 18px rgba(76,59,199,.18)}
.slide-file-copy{min-width:0;display:flex;flex:1;flex-direction:column;gap:3px}.slide-file-copy strong{font-size:13px;color:#252b50}.slide-file-copy small{display:block;max-width:155px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#7a809e;font-size:10px}.slide-open-icon{font-size:28px;line-height:1;color:#6652d9}
@media(max-width:700px){.slide-table-wrap{overflow-x:auto!important}.student-slide-thumb.lightweight-slide-thumb{width:190px;min-height:62px;padding:9px 10px!important}.slide-file-icon{width:38px;height:38px;flex-basis:38px;border-radius:10px}.slide-file-copy small{max-width:95px}.slide-modal-box{aspect-ratio:auto!important;height:calc(100dvh - 16px)!important}.slide-modal-box iframe{height:100%!important}.slide-modal{overscroll-behavior:contain}}
