
: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%}}
