:root{--nav:#17233a;--blue:#1859a9;--cyan:#16b6d8;--line:#cddfec;--bg:#edf7fc;--green:#18864b;--card:#f8fcff;--card2:#eef8ff}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 8% 0,#d7f4ff 0,#edf7fc 34%,#eaf1f8 72%,#e7edf5 100%);color:#202938;font:14px/1.5 Segoe UI,Arial,sans-serif}button,input,textarea{font:inherit}button{cursor:pointer;border:0;border-radius:5px;padding:9px 12px;background:var(--blue);color:#fff}header{min-height:60px;background:linear-gradient(90deg,#071a33,#0d3d70);border-bottom:1px solid #0f5787;display:flex;align-items:center;gap:20px;padding:9px 22px;position:sticky;top:0;z-index:4;box-shadow:0 8px 26px rgba(7,26,51,.18)}header>a:first-child{font-size:22px;font-weight:900;color:#fff;text-decoration:none}header>a:first-child:after{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--cyan);margin-left:6px}header b{color:#fff}header span{margin-left:auto;color:#b8d7ea}.app{display:grid;grid-template-columns:220px 1fr;min-height:calc(100vh - 60px)}aside{background:linear-gradient(180deg,#14233b,#0d1b31);padding:18px 12px;display:flex;flex-direction:column;gap:5px}aside button,aside a{background:transparent;color:#dae3f0;text-align:left;text-decoration:none;padding:11px 13px;border-radius:5px}aside .active,aside button:hover,aside a:hover{background:#2b3d5c}main{padding:22px;min-width:0}.heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;background:linear-gradient(135deg,#f7fcff,#e9f7ff);border:1px solid #cde8f5;border-radius:12px;padding:16px 18px;box-shadow:0 12px 28px rgba(24,89,169,.08)}.heading h1{margin:2px 0}.heading small{color:#527188}.card{background:linear-gradient(180deg,var(--card),var(--card2));border:1px solid var(--line);border-radius:12px;padding:16px;box-shadow:0 10px 24px rgba(23,35,58,.06)}.card h2{margin-top:0}.split{display:grid;grid-template-columns:340px minmax(0,1fr);gap:16px}.list{display:grid;gap:8px}.queue-row,.material-row{display:grid;text-align:left;background:#edf7ff;color:#26364c;border-left:3px solid var(--blue)}.queue-row span,.material-row span{font-size:12px;color:#66758a}.material{white-space:pre-wrap;max-height:58vh;overflow:auto;border:1px solid var(--line);padding:14px;border-radius:8px;background:#f5fbff}.detail textarea{width:100%;margin-top:7px}.check{display:block;margin-top:13px}.actions{display:flex;gap:8px;margin-top:14px}.warn{background:#b66a16}.learner-grid{display:grid;grid-template-columns:300px minmax(0,1fr);gap:16px}.teaching{display:grid;gap:16px}.stage{display:grid;grid-template-columns:260px 1fr;gap:16px}.avatar{position:relative;background:#111827;border-radius:10px;overflow:hidden;min-height:230px}.avatar img{width:100%;height:100%;object-fit:cover}.avatar span{position:absolute;bottom:0;left:0;right:0;padding:10px;background:#000b;color:#fff}.whiteboard{background:linear-gradient(180deg,#fbfff6,#eef8ff);border:8px solid #394657;padding:15px;min-height:230px}.chat #chat-log{height:240px;overflow:auto;background:#f1f8fd;padding:10px}.chat p{padding:9px;border-radius:7px}.bot{background:#e0f3ff}.user{background:#e5f6ec;margin-left:20%}.error{background:#fee}.chat form{display:flex;margin-top:10px}.chat input{flex:1;border:1px solid var(--line);padding:10px;border-radius:5px 0 0 5px}.chat form button{border-radius:0 5px 5px 0}@media(max-width:900px){.app,.split,.learner-grid,.stage{grid-template-columns:1fr}aside{position:static}}
@media(max-width:900px){header{height:auto;min-height:54px;padding:8px 12px;gap:12px}header a{font-size:20px}header b{max-width:120px}header span{font-size:12px;text-align:right}.app,.split,.learner-grid,.stage{grid-template-columns:1fr;min-height:0}aside{position:sticky;top:0;z-index:4;padding:8px 10px;display:flex;flex-direction:row;overflow-x:auto;white-space:nowrap}aside button,aside a{padding:8px 11px;background:#263956}main{padding:14px}.heading{align-items:center;gap:10px}.heading h1{font-size:27px;line-height:1.25}.card{padding:14px}.split>.card:first-child{max-height:520px;overflow:auto}.materials{max-height:440px;overflow:auto}.avatar{min-height:210px}.whiteboard{min-height:210px;border-width:6px}.material{max-height:52vh}.chat #chat-log{height:210px}}
@media(max-width:900px){.lesson .material{max-height:none;font-size:16px;line-height:1.7;overflow-wrap:anywhere;word-break:break-word}.lesson{padding:12px}}
.learn-view{display:none}.learn-view.active{display:block}.button-link{display:inline-block;background:var(--blue);color:#fff;text-decoration:none;padding:9px 12px;border-radius:5px}.moodle-course-grid{display:grid;grid-template-columns:230px minmax(0,1fr) 230px;gap:16px}.course-index{align-self:start}.course-index #section-list{display:grid}.course-index button{background:transparent;color:#26364c;text-align:left;border-bottom:1px solid var(--line);border-radius:0;display:flex;justify-content:space-between}.course-index button span{color:#758196;font-size:11px}.activity{display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--line);padding:11px 5px}.activity-icon{width:34px;height:34px;border-radius:5px;background:#e3eefb;color:var(--blue);display:grid;place-items:center;font-weight:800}.activity>div:nth-child(2){min-width:0;flex:1}.activity b,.activity span{display:block}.activity span{color:#69768a;font-size:12px}.activity-actions{display:flex;gap:6px}.progress-number{font-size:34px;font-weight:800;color:var(--blue)}progress{width:100%}.osiun-future{margin-top:22px;opacity:.82}.future-note{display:inline-block;background:#edf2f8;color:#4b5c73;border:1px solid var(--line);padding:5px 9px;border-radius:999px;margin-bottom:9px;font-size:12px}.osiun-future h2 small{font-size:11px;color:#6d798b}#learner-reader{width:min(900px,94vw);max-height:90vh;border:0;border-radius:8px;padding:18px}#learner-reader::backdrop{background:#17233aaa}#learner-reader>[data-reader-close]{position:sticky;top:0;float:right;font-size:20px}.moodle-nav a{margin-top:8px;border-top:1px solid #43526a}
@media(max-width:900px){.moodle-course-grid{grid-template-columns:1fr}.course-index{max-height:300px;overflow:auto}.course-progress{order:-1}.activity{align-items:flex-start;flex-wrap:wrap}.activity-actions{width:100%;padding-left:44px}.activity-actions button{flex:1}.heading .button-link{font-size:12px}#learner-reader{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;border-radius:0;overflow:auto}#reader-content .material{font-size:16px;line-height:1.7;max-height:none;overflow-wrap:anywhere}.osiun-future{margin-top:16px}}
.quiz-sheet{display:grid;gap:14px}.quiz-question{display:grid;grid-template-columns:38px 1fr;gap:12px;border:1px solid var(--line);border-radius:9px;padding:14px;background:linear-gradient(180deg,#f8fcff,#eef8ff)}.quiz-number{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--blue);color:#fff;font-weight:800}.quiz-question h3{margin:3px 0 12px;font-size:16px}.quiz-option{display:flex;gap:7px;padding:8px 10px;margin:6px 0;background:#f2f9ff;border:1px solid #d4e9f5;border-radius:5px}.quiz-option input{margin-top:3px}@media(max-width:900px){.quiz-question{grid-template-columns:32px 1fr;padding:11px}.quiz-number{width:28px;height:28px}.quiz-question h3{font-size:16px;line-height:1.45}}
.quiz-meta{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 12px}.quiz-meta span{background:#eaf7ff;border:1px solid #bee8f5;color:#0b5c7b;border-radius:999px;padding:6px 10px;font-weight:800;font-size:12px}.preview-frame{width:100%;min-height:420px;border:1px solid var(--line);border-radius:8px;background:#fff}@media(max-width:900px){.preview-frame{min-height:55vh}}
.admin-view{display:none}.admin-view.active{display:block}.admin-view label{display:grid;gap:5px;margin:12px 0;max-width:650px}.admin-view input{border:1px solid var(--line);border-radius:5px;padding:10px}
.committee-view{display:none}.committee-view.active{display:block}.field{display:grid;gap:5px;margin:12px 0;max-width:760px}.field input,.field textarea,.field select{border:1px solid var(--line);border-radius:5px;padding:10px;background:#fff;color:#202938}.status{color:#5d6a7c}

/* OSIUN Partner + Moodle-like header refinement */
header .top-menu{display:flex;align-items:center;gap:4px}
header .top-menu a{font-size:14px;font-weight:750;color:#d9eef9;text-decoration:none;padding:8px 10px;border-radius:6px}
header .top-menu a:hover,header .top-menu a.active{background:#ffffff1f;color:#fff}
.button-link.ghost-link{background:#edf3fb;color:var(--blue)}
.partner-page{max-width:1180px;margin:0 auto}
.partner-hero{display:flex;justify-content:space-between;gap:18px;align-items:center;background:linear-gradient(135deg,#f6fcff,#e7f7ff);border:1px solid #cce9f4;border-top:4px solid var(--cyan);border-radius:12px;padding:22px;margin-bottom:16px}
.partner-hero h1{margin:3px 0;font-size:32px}
.partner-hero p{max-width:720px;color:#5d6a7c}
.partner-layout{display:grid;grid-template-columns:330px minmax(0,1fr);gap:16px}
.partner-list{align-self:start;position:sticky;top:74px}
.partner-list h2{margin-bottom:12px}
.partner-row{display:block;text-decoration:none;color:#26364c;border:1px solid var(--line);border-left:4px solid transparent;border-radius:7px;padding:12px;margin-bottom:8px;background:#f6fbff}
.partner-row b,.partner-row span{display:block}
.partner-row span{color:#69768a;font-size:12px}
.partner-row:hover,.partner-row.active{border-left-color:var(--blue);background:#edf3fb}
.partner-title{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:14px}
.partner-logo{width:86px;height:86px;border:1px solid var(--line);border-radius:12px;object-fit:contain;background:#fff;padding:8px;flex:0 0 auto}
.partner-logo-fallback{display:grid;place-items:center;background:#edf3fb;color:var(--blue);font-weight:800}
.partner-title h2{font-size:30px;margin:2px 0}
.partner-title small{text-transform:uppercase;color:#677386}
.partner-title p{color:#5e6c7f}
.partner-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:14px 0}
.partner-summary div{border:1px solid var(--line);border-radius:8px;background:#eef8ff;padding:13px}
.partner-summary b{display:block;color:var(--blue);font-size:25px}
.partner-summary span{font-size:12px;color:#657287}
.partner-course-list{margin-top:18px}
.partner-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}
@media(max-width:900px){header{flex-wrap:wrap}.top-menu{order:3;width:100%;overflow-x:auto}.top-menu a{white-space:nowrap}.partner-hero,.partner-title{display:block}.partner-layout{grid-template-columns:1fr}.partner-list{position:static}.partner-summary{grid-template-columns:repeat(2,1fr)}.partner-hero h1,.partner-title h2{font-size:25px}}

/* OSIUN learner final theme: navy/cyan, aligned with expert and partner */
:root{
  --nav:#031326;
  --blue:#38bdf8;
  --cyan:#22d3ee;
  --line:rgba(125,211,252,.28);
  --bg:#061a33;
  --green:#2dd4bf;
  --card:rgba(13,48,90,.96);
  --card2:rgba(7,35,70,.96);
}
body{
  background:
    radial-gradient(circle at top left, rgba(34,211,238,.22), transparent 34rem),
    radial-gradient(circle at 82% 0, rgba(56,189,248,.13), transparent 30rem),
    linear-gradient(135deg,#061a33,#082b55 55%,#041326) !important;
  color:#f4fbff !important;
}
header{
  background:rgba(3,15,32,.92) !important;
  border-bottom:1px solid rgba(34,211,238,.34) !important;
  box-shadow:0 12px 34px rgba(0,0,0,.28) !important;
  backdrop-filter:blur(14px);
}
header span{color:#b9d5e8 !important}
aside{
  background:linear-gradient(180deg,rgba(3,19,38,.98),rgba(5,31,61,.96)) !important;
  border-right:1px solid rgba(125,211,252,.22) !important;
}
aside button,aside a{
  color:#d9f7ff !important;
  border:1px solid transparent !important;
  border-radius:12px !important;
}
aside .active,aside button:hover,aside a:hover{
  background:rgba(34,211,238,.16) !important;
  border-color:rgba(34,211,238,.28) !important;
}
main{color:#f4fbff !important}
.heading,.card,.stage,.quiz-question,.partner-hero,.partner-row,.partner-summary div{
  background:linear-gradient(180deg,var(--card),var(--card2)) !important;
  color:#f4fbff !important;
  border-color:var(--line) !important;
  box-shadow:0 18px 44px rgba(0,0,0,.24) !important;
}
.heading{border-top:4px solid var(--cyan) !important}
.heading small,.card small,.activity span,.course-index button span,.future-note,.status,.partner-title p,.partner-summary span{
  color:#b9d5e8 !important;
}
h1,h2,h3,b,.activity b,.course-index h2,.course-content h2,.course-progress h2{
  color:#f8fdff !important;
}
button,.button-link{
  background:linear-gradient(135deg,var(--cyan),var(--blue)) !important;
  color:#031827 !important;
  border:0 !important;
  border-radius:12px !important;
  font-weight:800 !important;
}
button.secondary,.button-link.ghost-link{
  background:rgba(255,255,255,.08) !important;
  color:#e0f7ff !important;
  border:1px solid var(--line) !important;
}
.course-index button{
  background:rgba(255,255,255,.04) !important;
  color:#f4fbff !important;
  border-bottom:1px solid var(--line) !important;
  border-radius:10px !important;
  margin:3px 0 !important;
}
.course-index button.active,.course-index button:hover{
  background:rgba(34,211,238,.15) !important;
  box-shadow:inset 4px 0 0 var(--cyan) !important;
}
.activity{border-bottom:1px solid var(--line) !important}
.activity-icon,.quiz-number{
  background:rgba(34,211,238,.18) !important;
  color:#cffafe !important;
  border:1px solid rgba(34,211,238,.35) !important;
}
.material,.preview-text,.chat #chat-log,.quiz-option,.future-note{
  background:rgba(3,15,32,.58) !important;
  color:#f4fbff !important;
  border-color:var(--line) !important;
}
.whiteboard{
  background:linear-gradient(180deg,rgba(240,253,255,.94),rgba(218,245,255,.92)) !important;
  color:#07213b !important;
  border-color:rgba(34,211,238,.48) !important;
}
.whiteboard h2,.whiteboard small{color:#07213b !important}
.avatar{
  border:1px solid rgba(34,211,238,.32) !important;
  box-shadow:0 12px 28px rgba(0,0,0,.24) !important;
}
.bot{background:rgba(34,211,238,.14) !important;color:#dffbff !important}
.user{background:rgba(45,212,191,.16) !important;color:#e6fffb !important}
input,textarea,select,.field input,.field textarea,.field select,.admin-view input,.chat input{
  background:rgba(3,15,32,.72) !important;
  color:#f4fbff !important;
  border:1px solid var(--line) !important;
}
input::placeholder,textarea::placeholder{color:rgba(185,213,232,.72) !important}
.quiz-meta span{
  background:rgba(34,211,238,.14) !important;
  border-color:rgba(34,211,238,.34) !important;
  color:#cffafe !important;
}
.preview-frame{
  background:#041326 !important;
  border-color:var(--line) !important;
}
#learner-reader{
  background:linear-gradient(180deg,rgba(15,54,98,.98),rgba(8,36,70,.98)) !important;
  color:#f4fbff !important;
  border:1px solid var(--line) !important;
}
#learner-reader::backdrop{background:rgba(3,15,32,.74) !important}
.osiun-future{
  opacity:1 !important;
  margin-top:0 !important;
  margin-bottom:16px !important;
}
.osiun-future{
  display:grid !important;
  grid-template-columns:minmax(0,2fr) minmax(280px,1fr) !important;
  gap:14px !important;
  align-items:stretch !important;
}
.osiun-future .future-note{
  grid-column:1/-1 !important;
  justify-self:start !important;
  margin-bottom:-4px !important;
}
.osiun-future .stage{
  min-height:260px !important;
}
.osiun-future .avatar{
  min-height:240px !important;
}
.osiun-future .whiteboard{
  min-height:240px !important;
}
.osiun-future .chat{
  margin-top:0 !important;
  min-height:260px !important;
}
.osiun-future .chat #chat-log{
  height:145px !important;
}
@media(max-width:900px){
  aside{
    border-right:0 !important;
    border-bottom:1px solid rgba(125,211,252,.22) !important;
    background:rgba(3,15,32,.94) !important;
  }
  aside button,aside a{
    background:rgba(255,255,255,.06) !important;
    white-space:nowrap !important;
  }
  .heading,.card{border-radius:14px !important}
}

/* Learner UX cleanup: one-page LMS flow, no messy left rail */
body:has(.moodle-nav) .app{
  display:grid !important;
  grid-template-columns:220px minmax(0,1fr) !important;
  min-height:calc(100vh - 60px) !important;
}
.moodle-nav{
  position:sticky !important;
  top:60px !important;
  z-index:3 !important;
  display:flex !important;
  flex-direction:column !important;
  gap:5px !important;
  align-self:start !important;
  height:calc(100vh - 60px) !important;
  overflow:auto !important;
  padding:18px 12px !important;
  background:rgba(3,15,32,.92) !important;
  border-right:1px solid rgba(125,211,252,.22) !important;
  border-bottom:0 !important;
}
.moodle-nav button,.moodle-nav a{
  flex:0 0 auto !important;
  white-space:nowrap !important;
  padding:11px 13px !important;
  min-height:38px !important;
}
body:has(.moodle-nav) main{
  max-width:1280px !important;
  margin:0 auto !important;
  padding-top:14px !important;
}
.heading{
  margin-bottom:12px !important;
}
.osiun-future{
  margin:0 0 14px !important;
}
.osiun-future .stage{
  grid-template-columns:minmax(220px,280px) minmax(0,1fr) !important;
  min-height:230px !important;
}
.osiun-future .chat{
  margin-top:12px !important;
}
.moodle-course-grid{
  grid-template-columns:minmax(220px,260px) minmax(0,1fr) minmax(200px,240px) !important;
  align-items:start !important;
}
.course-index #section-list{
  max-height:430px !important;
  overflow:auto !important;
  gap:4px !important;
}
.course-index button{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:8px !important;
}
.activity{
  display:grid !important;
  grid-template-columns:34px minmax(0,1fr) auto !important;
  align-items:center !important;
}
.activity-actions{
  display:flex !important;
  gap:8px !important;
  flex-wrap:nowrap !important;
}
.activity-actions button,.activity>button{
  min-width:92px !important;
}
.osiun-inline-note{
  display:grid !important;
  gap:4px !important;
  margin-top:12px !important;
  padding:12px 14px !important;
  border:1px solid rgba(125,211,252,.24) !important;
  border-radius:10px !important;
  background:rgba(34,211,238,.08) !important;
  color:#dff7ff !important;
}
.osiun-inline-note span{
  color:#a9c7da !important;
  font-size:13px !important;
}
.learn-view:not(.active){
  display:none !important;
}
@media(max-width:900px){
  body:has(.moodle-nav) .app{
    display:block !important;
    min-height:0 !important;
  }
  .moodle-nav{
    top:auto !important;
    flex-direction:row !important;
    height:auto !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    padding:8px 10px !important;
    border-right:0 !important;
    border-bottom:1px solid rgba(125,211,252,.22) !important;
  }
  body:has(.moodle-nav) main{
    padding:12px !important;
  }
  .osiun-future,.osiun-future .stage,.moodle-course-grid{
    grid-template-columns:1fr !important;
  }
  .osiun-future .stage,.osiun-future .chat{
    min-height:auto !important;
  }
  .osiun-future .chat #chat-log{
    height:150px !important;
  }
  .course-progress{
    order:3 !important;
  }
  .course-index #section-list{
    max-height:260px !important;
  }
  .activity{
    grid-template-columns:34px minmax(0,1fr) !important;
  }
  .activity-actions,.activity>button{
    grid-column:2 !important;
    width:100% !important;
  }
  .activity-actions button,.activity>button{
    flex:1 1 auto !important;
  }
}
/* OSIUN learner course/meeting tree */
.learner-course-group{border:1px solid var(--line);border-radius:10px;margin-bottom:10px;overflow:hidden;background:#fff}
.learner-course-group summary{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:10px 12px;cursor:pointer;font-weight:800;color:#15243a;background:#f3f7fc}
.learner-course-group summary span{font-size:11px;color:#5f6f84;font-weight:600}
.learner-course-group button{width:100%;padding:10px 12px 10px 18px}
.learner-course-group button.active{background:#eaf4ff!important;border-left:4px solid var(--blue);padding-left:14px}


/* OSIUN Learner meeting tree color + thin slider */
.course-index,
.course-index.card{
  background:linear-gradient(180deg,rgba(7,19,33,.96),rgba(9,31,52,.94)) !important;
  border-color:rgba(37,201,255,.22) !important;
}
.course-index h2,
.course-index small{
  color:#eaf7ff !important;
}
.course-index small{
  color:#9fb8d2 !important;
}
.course-index #section-list,
.moodle-nav{
  scrollbar-width:thin !important;
  scrollbar-color:rgba(37,201,255,.55) rgba(7,19,33,.35) !important;
}
.course-index #section-list::-webkit-scrollbar,
.moodle-nav::-webkit-scrollbar{
  width:6px !important;
  height:6px !important;
}
.course-index #section-list::-webkit-scrollbar-track,
.moodle-nav::-webkit-scrollbar-track{
  background:rgba(7,19,33,.35) !important;
  border-radius:999px !important;
}
.course-index #section-list::-webkit-scrollbar-thumb,
.moodle-nav::-webkit-scrollbar-thumb{
  background:linear-gradient(180deg,#1c8cff,#25c9ff) !important;
  border-radius:999px !important;
}
.learner-course-group{
  border:1px solid rgba(37,201,255,.24) !important;
  border-radius:12px !important;
  margin-bottom:10px !important;
  overflow:hidden !important;
  background:#071a2d !important;
  box-shadow:0 10px 22px rgba(0,0,0,.14) !important;
}
.learner-course-group summary{
  background:linear-gradient(90deg,#0b2742,#0d3856) !important;
  color:#eef9ff !important;
  border-bottom:1px solid rgba(37,201,255,.16) !important;
}
.learner-course-group summary span{
  color:#a8dff4 !important;
}
.learner-course-group button{
  background:#091d32 !important;
  color:#dcefff !important;
  border:0 !important;
  border-top:1px solid rgba(125,211,252,.11) !important;
}
.learner-course-group button span{
  color:#8fb7d0 !important;
}
.learner-course-group button:hover{
  background:#0e2a46 !important;
  color:#fff !important;
}
.learner-course-group button.active{
  background:linear-gradient(90deg,rgba(28,140,255,.32),rgba(37,201,255,.18)) !important;
  color:#ffffff !important;
  border-left:4px solid #25c9ff !important;
  padding-left:14px !important;
}
.learner-course-group button.active span{
  color:#d9f7ff !important;
}


/* OSIUN Grade Module - Moodle User Report structure, OSIUN theme */
.osiun-grade-layout{display:grid;grid-template-columns:minmax(0,1fr)280px;gap:14px;align-items:start}.grade-report-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:10px}.grade-report-head h3,.expert-gradebook-head h3{margin:.15rem 0 0}.grade-table-wrap{width:100%;overflow:auto;border:1px solid var(--line);border-radius:12px;background:rgba(3,15,32,.32)}.moodle-grade-table{width:100%;border-collapse:separate;border-spacing:0;min-width:720px;color:#f4fbff}.moodle-grade-table th,.moodle-grade-table td{padding:10px 12px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);text-align:left;vertical-align:top}.moodle-grade-table thead th{background:rgba(34,211,238,.14);color:#cffafe;font-weight:900}.moodle-grade-table tbody th{background:rgba(255,255,255,.035);font-weight:850}.moodle-grade-table tfoot th{background:rgba(45,212,191,.12);color:#dffbf6}.grade-ai-panel{display:grid;gap:10px}.grade-ai-panel>div{border:1px solid var(--line);border-radius:12px;padding:12px;background:rgba(3,15,32,.42)}.grade-ai-panel b,.grade-ai-panel span{display:block}.grade-ai-panel span{color:#b9d5e8;font-size:12px;margin-top:4px}@media(max-width:900px){.osiun-grade-layout{grid-template-columns:1fr}.moodle-grade-table{min-width:640px}.grade-ai-panel{grid-template-columns:1fr 1fr}}@media(max-width:560px){.grade-ai-panel{grid-template-columns:1fr}}


/* OSIUN Moodle-exact Grade UI: preserve Moodle structure, change only OSIUN accents */
.osiun-moodle-theme{--moodle-accent:#159fb2;--moodle-blue:#2468a8;--moodle-line:#d9e2ea;--moodle-soft:#f6f8fa;--moodle-text:#1f2933;background:#fff!important;color:var(--moodle-text)!important;border:1px solid var(--moodle-line)!important;border-top:5px solid var(--moodle-accent)!important;border-radius:0!important;box-shadow:none!important;padding:0!important;overflow:hidden}.moodle-grade-tabs{display:flex;gap:28px;align-items:center;padding:18px 28px 0;border-bottom:1px solid var(--moodle-line);background:#fff;overflow:auto}.moodle-grade-tabs a{color:#245d8f;text-decoration:none;padding:0 0 14px;font-size:15px;white-space:nowrap}.moodle-grade-tabs a.active{color:#111827;border-bottom:4px solid #2e74c0;font-weight:700}.moodle-grade-toolbar{display:flex;gap:18px;align-items:center;padding:18px 24px;border-bottom:1px solid var(--moodle-line);background:#fff;flex-wrap:wrap}.moodle-grade-toolbar select,.moodle-grade-toolbar input,.moodle-search{height:44px;border:2px solid rgba(21,159,178,.75);border-radius:0;background:#fff!important;color:#111827!important;padding:8px 12px;font-weight:600}.moodle-grade-toolbar select:first-child{font-size:22px;font-weight:800;height:58px}.moodle-search{display:flex;align-items:center;gap:16px;min-width:330px}.moodle-search button{background:transparent!important;color:#555!important;box-shadow:none!important;padding:0;font-size:24px}.moodle-search a{color:#2468a8}.moodle-toolbar-spacer{flex:1}.moodle-user-title{display:flex;align-items:center;gap:16px;padding:28px 28px 34px;background:#fff}.moodle-user-title h3{font-size:28px;margin:0;color:#2468a8!important}.moodle-avatar{width:56px;height:56px;border-radius:50%;display:inline-grid;place-items:center;background:linear-gradient(135deg,#0b2748,#22d3ee);color:#fff;font-weight:900}.moodle-avatar.small{width:28px;height:28px;font-size:12px;margin-right:7px}.grade-table-wrap{background:#fff!important;border:1px solid var(--moodle-line)!important;border-radius:0!important;box-shadow:none!important}.moodle-grade-table{background:#fff!important;color:#1f2933!important;border-collapse:collapse!important;width:100%!important}.moodle-grade-table th,.moodle-grade-table td{background:#fff!important;color:#1f2933!important;border:1px solid var(--moodle-line)!important;padding:12px 14px!important;text-align:left!important;vertical-align:middle!important}.moodle-grade-table thead th{font-weight:800;background:#fff!important;color:#1f2933!important}.moodle-grade-table a{color:#16739a;text-decoration:none}.moodle-course-row td,.moodle-category-row td{background:#f5f5f5!important;font-size:17px}.moodle-total-row td,.moodle-total-row th{background:#fafafa!important;font-weight:700}.moodle-total-row small{font-weight:400;color:#444!important}.moodle-item-row td:first-child{padding-left:44px!important}.moodle-folder{color:#777;margin-right:8px}.moodle-aggregate{font-size:22px;color:#777;margin-right:8px}.moodle-item-icon{color:#159fb2;margin-right:8px}.moodle-grade-input{width:108px!important;height:44px!important;border:1px solid #bfc7d1!important;background:#fff!important;color:#111827!important;border-radius:6px!important;text-align:center!important}.dots{float:right;color:#77808a;letter-spacing:2px}.course-total-cell{font-weight:800}.overall-row th,.overall-row td{background:#f3f5f7!important;font-weight:700}.moodle-savebar{position:sticky;bottom:0;display:flex;align-items:center;justify-content:space-between;padding:14px 18px;background:#fff;border-top:1px solid var(--moodle-line);box-shadow:0 -10px 22px rgba(31,41,51,.08)}.moodle-savebar button{background:linear-gradient(135deg,#159fb2,#2468a8)!important;color:#fff!important;border-radius:4px!important;padding:12px 20px!important}.moodle-savebar select{height:36px;background:#fff!important;color:#111827!important;border:1px solid #bfc7d1!important}.grade-ai-panel{display:none!important}.gradebook-setup-preview{margin:18px 16px;background:#fff;color:#111827;border:1px solid var(--moodle-line)}.gradebook-setup-preview summary{padding:12px 16px;font-weight:800;cursor:pointer}.moodle-setup-table{width:100%;border-collapse:collapse}.moodle-setup-table th,.moodle-setup-table td{padding:12px;border:1px solid var(--moodle-line);color:#111827;background:#fff}.moodle-setup-table input{width:70px;background:#fff!important;color:#111827!important;border:1px solid #bfc7d1!important;padding:8px}.expert-grader-shell .moodle-grade-toolbar select:first-child{min-width:210px}.exact-grader-wrap{max-height:72vh;overflow:auto}.grader-report-exact thead th{position:sticky;top:0;z-index:2}.grader-report-exact tbody th:first-child,.grader-report-exact thead th:first-child{position:sticky;left:0;z-index:3;background:#fff!important}.grader-report-exact tbody tr:nth-child(even) td,.grader-report-exact tbody tr:nth-child(even) th{background:#f7f1dc!important}@media(max-width:760px){.moodle-grade-toolbar{gap:10px;padding:12px}.moodle-grade-toolbar select:first-child{font-size:18px;height:48px}.moodle-search{min-width:100%;width:100%}.moodle-user-title{padding:18px 14px}.moodle-user-title h3{font-size:22px}.moodle-grade-table{min-width:760px!important}.moodle-savebar{position:static}.moodle-grade-tabs{padding-left:14px}}


/* OSIUN Moodle-exact background fix: keep Moodle layout, replace flat white with OSIUN nuance */
.osiun-moodle-theme{
  background:
    radial-gradient(circle at 8% 0%, rgba(34,211,238,.18), transparent 26rem),
    radial-gradient(circle at 92% 12%, rgba(45,212,191,.12), transparent 24rem),
    linear-gradient(135deg, rgba(4,18,39,.98), rgba(7,42,82,.96) 58%, rgba(3,14,31,.98)) !important;
  color:#f4fbff!important;
  border-color:rgba(125,211,252,.34)!important;
  box-shadow:0 22px 55px rgba(0,0,0,.24)!important;
}
.osiun-moodle-theme .moodle-grade-tabs,
.osiun-moodle-theme .moodle-grade-toolbar,
.osiun-moodle-theme .moodle-user-title,
.osiun-moodle-theme .moodle-savebar,
.osiun-moodle-theme .gradebook-setup-preview{
  background:rgba(3,15,32,.68)!important;
  color:#f4fbff!important;
  border-color:rgba(125,211,252,.28)!important;
}
.osiun-moodle-theme .moodle-grade-tabs a{color:#d9f7ff!important;}
.osiun-moodle-theme .moodle-grade-tabs a.active{color:#fff!important;border-bottom-color:#22d3ee!important;}
.osiun-moodle-theme .moodle-grade-toolbar select,
.osiun-moodle-theme .moodle-grade-toolbar input,
.osiun-moodle-theme .moodle-search,
.osiun-moodle-theme .moodle-grade-input,
.osiun-moodle-theme .moodle-setup-table input{
  background:rgba(4,19,38,.92)!important;
  color:#f4fbff!important;
  border-color:rgba(34,211,238,.55)!important;
}
.osiun-moodle-theme .moodle-grade-toolbar input::placeholder,
.osiun-moodle-theme .moodle-search::placeholder{color:rgba(226,251,255,.72)!important;}
.osiun-moodle-theme .grade-table-wrap{background:rgba(3,15,32,.46)!important;border-color:rgba(125,211,252,.24)!important;}
.osiun-moodle-theme .moodle-grade-table,
.osiun-moodle-theme .grader-report-exact,
.osiun-moodle-theme .moodle-setup-table{background:transparent!important;color:#f4fbff!important;}
.osiun-moodle-theme .moodle-grade-table th,
.osiun-moodle-theme .moodle-grade-table td,
.osiun-moodle-theme .grader-report-exact th,
.osiun-moodle-theme .grader-report-exact td,
.osiun-moodle-theme .moodle-setup-table th,
.osiun-moodle-theme .moodle-setup-table td{
  background:rgba(8,36,70,.78)!important;
  color:#f4fbff!important;
  border-color:rgba(125,211,252,.20)!important;
}
.osiun-moodle-theme .moodle-grade-table thead th,
.osiun-moodle-theme .grader-report-exact thead th,
.osiun-moodle-theme .moodle-setup-table thead th{
  background:rgba(2,12,27,.94)!important;
  color:#cffafe!important;
}
.osiun-moodle-theme .moodle-course-row td,
.osiun-moodle-theme .moodle-category-row td,
.osiun-moodle-theme .moodle-setup-course td{
  background:rgba(34,211,238,.14)!important;
  color:#f8fdff!important;
}
.osiun-moodle-theme .moodle-total-row td,
.osiun-moodle-theme .moodle-total-row th,
.osiun-moodle-theme .overall-row th,
.osiun-moodle-theme .overall-row td,
.osiun-moodle-theme .moodle-setup-total td{
  background:rgba(45,212,191,.14)!important;
  color:#e6fffb!important;
}
.osiun-moodle-theme .grader-report-exact tbody tr:nth-child(even) td{background:rgba(34,211,238,.08)!important;}
.osiun-moodle-theme a{color:#67e8f9!important;}
.osiun-moodle-theme .moodle-item-icon,
.osiun-moodle-theme .moodle-aggregate{color:#99f6e4!important;font-weight:800;}
.osiun-moodle-theme .muted,
.osiun-moodle-theme small{color:rgba(226,251,255,.74)!important;}
