:root{--ink:#102733;--muted:#6f7f86;--navy:#0d3042;--navy2:#16495e;--emerald:#0c8b72;--gold:#d6ad51;--bg:#f4f7f8;--card:#fff;--line:#dfe7e9;--danger:#b84c4c;--warn:#b77a17;--shadow:0 18px 45px rgba(13,48,66,.09)}*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;background:var(--bg);color:var(--ink)}button,input,select{font:inherit}.hidden{display:none!important}.auth-shell{min-height:100vh;display:grid;grid-template-columns:1fr 520px;gap:4rem;padding:5vw;background:radial-gradient(circle at 12% 10%,#1a566b 0,#0d3042 35%,#08212d 100%);color:#fff;align-items:center}.auth-brand{display:flex;gap:16px;align-items:center;align-self:start}.auth-brand strong,.brand b{font-size:20px;letter-spacing:.04em}.auth-brand span,.brand span{display:block;font-size:12px;opacity:.72}.brand-mark{height:58px;width:58px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(135deg,var(--gold),#f3d999);color:#173743;font-weight:900;box-shadow:0 10px 30px rgba(0,0,0,.18)}.brand-mark.small{width:44px;height:44px;border-radius:14px}.auth-card{background:rgba(255,255,255,.98);color:var(--ink);padding:42px;border-radius:28px;box-shadow:0 30px 90px rgba(0,0,0,.25)}.auth-card h1{font-size:38px;line-height:1.08;margin:10px 0 14px}.auth-card p{color:var(--muted);line-height:1.6}.eyebrow{font-size:12px;font-weight:800;letter-spacing:.14em;color:var(--emerald)}label{display:block;font-size:13px;font-weight:700;margin:18px 0 0}input,select{width:100%;padding:13px 14px;border:1px solid var(--line);border-radius:12px;background:#fff;outline:none}input:focus,select:focus{border-color:#6da9b9;box-shadow:0 0 0 3px rgba(22,73,94,.09)}.btn{border:0;border-radius:12px;padding:12px 16px;font-weight:800;cursor:pointer}.btn.primary{background:linear-gradient(135deg,var(--navy2),var(--navy));color:#fff}.btn.secondary{background:#e9f2f4;color:var(--navy)}.btn.ghost{background:#fff;border:1px solid var(--line);color:var(--ink)}.btn.wide{width:100%;margin-top:22px}.app-shell{min-height:100vh;display:grid;grid-template-columns:260px 1fr}.sidebar{background:linear-gradient(180deg,#0d3042,#092631);color:#fff;padding:22px 18px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;gap:12px;align-items:center;padding:2px 4px 22px}.sidebar nav{display:grid;gap:8px;margin-top:12px}.nav{border:0;background:transparent;color:#c6d5da;text-align:left;padding:12px 14px;border-radius:12px;cursor:pointer;font-weight:700}.nav.active,.nav:hover{background:rgba(255,255,255,.1);color:#fff}.sidebar-foot{margin-top:auto;border-top:1px solid rgba(255,255,255,.12);padding-top:16px;font-size:13px}.sidebar-foot button{margin-top:8px;background:none;border:0;color:#f3d999;padding:0;cursor:pointer}.main{min-width:0}.topbar{height:78px;background:rgba(255,255,255,.95);border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 28px;gap:14px;position:sticky;top:0;z-index:10;backdrop-filter:blur(12px)}.top-title{font-size:20px;font-weight:900}.top-sub{font-size:12px;color:var(--muted)}.status-pill{margin-left:auto;background:#eaf8f3;color:#08755f;border:1px solid #cceee2;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:800}.menu-btn{display:none;border:0;background:#edf3f5;border-radius:10px;padding:8px 10px}.content{padding:28px;max-width:1500px;margin:auto}.hero{background:linear-gradient(125deg,#0d3042,#145369);color:#fff;border-radius:22px;padding:28px;box-shadow:var(--shadow);position:relative;overflow:hidden}.hero:after{content:"";position:absolute;width:240px;height:240px;border:45px solid rgba(255,255,255,.06);border-radius:50%;right:-70px;top:-90px}.hero h2{margin:0 0 6px;font-size:28px}.hero p{margin:0;color:#cfe0e5}.grid-kpi{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin:18px 0}.kpi,.card{background:var(--card);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.kpi{padding:18px}.kpi .label{font-size:12px;color:var(--muted);font-weight:800}.kpi .value{font-size:30px;font-weight:900;margin-top:5px}.kpi.warn .value{color:var(--warn)}.card{padding:20px;margin-top:18px}.card-head{display:flex;align-items:center;gap:12px;margin-bottom:16px}.card-head h3{margin:0}.card-head p{margin:3px 0 0;color:var(--muted);font-size:13px}.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.toolbar input{max-width:320px}.toolbar .push{margin-left:auto}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:14px}table{border-collapse:collapse;width:100%;min-width:760px;background:#fff}th,td{padding:12px 14px;border-bottom:1px solid #edf1f2;text-align:left;font-size:13px}th{background:#f7fafb;color:#53666f;font-size:11px;text-transform:uppercase;letter-spacing:.04em;position:sticky;top:0}tr:last-child td{border-bottom:0}.badge{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800}.badge.ok{background:#e8f7f1;color:#08745e}.badge.warn{background:#fff4dc;color:#96650d}.badge.bad{background:#fdecec;color:#a33b3b}.nis-code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:800}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.form-grid .full{grid-column:1/-1}.form-grid label{margin:0}.notice{background:#f4f8f9;border:1px solid var(--line);padding:14px;border-radius:13px;color:#53666f;font-size:13px;line-height:1.5}.dropzone{border:2px dashed #b6c9ce;border-radius:18px;padding:28px;text-align:center;background:#fafcfc}.dropzone input{max-width:520px}.preview-nis{display:grid;grid-template-columns:1fr 1fr 2fr;gap:10px;background:#f5f9fa;border:1px solid var(--line);padding:14px;border-radius:13px;margin-top:10px}.preview-nis b{display:block;font-size:12px;color:var(--muted);margin-bottom:3px}.toast{position:fixed;right:22px;bottom:22px;background:#102733;color:white;padding:13px 16px;border-radius:12px;box-shadow:0 15px 40px rgba(0,0,0,.2);opacity:0;transform:translateY(12px);transition:.2s;z-index:100}.toast.show{opacity:1;transform:none}.empty{padding:28px;text-align:center;color:var(--muted)}@media(max-width:1050px){.grid-kpi{grid-template-columns:repeat(2,1fr)}.auth-shell{grid-template-columns:1fr}.auth-brand{display:none}}@media(max-width:760px){.app-shell{display:block}.sidebar{position:fixed;z-index:50;width:260px;transform:translateX(-100%);transition:.2s}.sidebar.open{transform:none}.menu-btn{display:block}.content{padding:16px}.topbar{padding:0 16px}.grid-kpi{grid-template-columns:1fr 1fr}.form-grid{grid-template-columns:1fr}.auth-shell{padding:22px}.auth-card{padding:28px 22px}.auth-card h1{font-size:30px}.status-pill{display:none}.preview-nis{grid-template-columns:1fr}}


/* LOGIN_PREMIUM_V2 */
.auth-premium{
  min-height:100vh;
  display:grid;
  grid-template-columns:minmax(0,1.18fr) minmax(420px,.82fr);
  gap:clamp(40px,6vw,96px);
  padding:clamp(34px,5vw,82px);
  background:
    radial-gradient(circle at 14% 12%,rgba(35,112,133,.58) 0,rgba(35,112,133,0) 34%),
    radial-gradient(circle at 88% 86%,rgba(12,139,114,.15) 0,rgba(12,139,114,0) 28%),
    linear-gradient(135deg,#174e62 0%,#0d3042 45%,#071f2a 100%);
  position:relative;
  overflow:hidden;
  align-items:stretch;
}

.auth-premium:before{
  content:"";
  position:absolute;
  width:480px;
  height:480px;
  border:1px solid rgba(255,255,255,.06);
  border-radius:50%;
  left:-180px;
  bottom:-270px;
  box-shadow:
    0 0 0 70px rgba(255,255,255,.025),
    0 0 0 140px rgba(255,255,255,.018);
  pointer-events:none;
}

.auth-left,
.auth-right{
  position:relative;
  z-index:1;
}

.auth-left{
  min-height:calc(100vh - clamp(68px,10vw,164px));
  display:flex;
  flex-direction:column;
  color:#fff;
}

.auth-premium .auth-brand{
  display:flex;
  align-items:center;
  gap:16px;
  align-self:auto;
}

.auth-logo{
  width:62px;
  height:62px;
  border-radius:19px;
  font-size:18px;
  letter-spacing:-.04em;
  background:linear-gradient(145deg,#d6ad51 0%,#f4d98f 100%);
  color:#0d3042;
  box-shadow:
    0 15px 35px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.5);
}

.auth-brand-copy strong{
  display:block;
  font-size:22px;
  letter-spacing:-.02em;
  line-height:1.1;
}

.auth-brand-copy span{
  display:block;
  margin-top:6px;
  color:#bcd5dd;
  font-size:13px;
  letter-spacing:.06em;
}

.auth-hero-copy{
  margin:auto 0;
  max-width:760px;
  padding:54px 0 46px;
}

.auth-kicker{
  display:inline-flex;
  align-items:center;
  gap:9px;
  color:#f0d58c;
  font-size:12px;
  font-weight:900;
  letter-spacing:.16em;
}

.auth-kicker:before{
  content:"";
  width:28px;
  height:2px;
  border-radius:10px;
  background:#d6ad51;
}

.auth-hero-copy h2{
  margin:19px 0 18px;
  max-width:700px;
  font-size:clamp(44px,5vw,78px);
  line-height:.99;
  letter-spacing:-.052em;
  font-weight:900;
}

.auth-hero-copy>p{
  margin:0;
  max-width:670px;
  color:#c8dce3;
  font-size:clamp(16px,1.25vw,20px);
  line-height:1.72;
}

.auth-feature-row{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-top:42px;
  max-width:820px;
}

.auth-feature{
  min-height:138px;
  padding:18px 17px;
  border:1px solid rgba(255,255,255,.11);
  border-radius:18px;
  background:rgba(255,255,255,.055);
  backdrop-filter:blur(12px);
}

.auth-feature>span{
  color:#e8c878;
  font-size:11px;
  font-weight:900;
  letter-spacing:.12em;
}

.auth-feature b{
  display:block;
  margin:10px 0 6px;
  color:#fff;
  font-size:14px;
}

.auth-feature small{
  display:block;
  color:#aac7d0;
  font-size:12px;
  line-height:1.55;
}

.auth-left-note{
  color:#8fb3be;
  font-size:12px;
  letter-spacing:.01em;
}

.auth-right{
  display:flex;
  align-items:center;
  justify-content:center;
}

.auth-card-premium{
  width:min(100%,560px);
  padding:clamp(32px,3.3vw,50px);
  border:1px solid rgba(255,255,255,.75);
  border-radius:30px;
  background:rgba(255,255,255,.985);
  box-shadow:
    0 36px 100px rgba(0,0,0,.27),
    0 2px 0 rgba(255,255,255,.7) inset;
}

.auth-card-premium .eyebrow{
  margin-bottom:13px;
  color:#0b8a70;
  font-size:11px;
  letter-spacing:.18em;
}

.auth-card-premium h1{
  margin:0;
  color:#0d3042;
  font-size:clamp(32px,3vw,44px);
  line-height:1.08;
  letter-spacing:-.04em;
}

.auth-card-premium .auth-card-subtitle{
  margin:12px 0 30px;
  color:#71828a;
  font-size:14px;
  line-height:1.65;
}

.auth-field{
  margin:17px 0 0;
}

.auth-field>span{
  display:block;
  margin:0 0 8px;
  color:#243d48;
  font-size:12px;
  font-weight:800;
}

.auth-field input{
  height:54px;
  padding:0 16px;
  border:1px solid #d7e1e4;
  border-radius:14px;
  background:#f9fbfc;
  color:#102733;
  transition:border-color .2s,box-shadow .2s,background .2s;
}

.auth-field input::placeholder{
  color:#a4afb4;
}

.auth-field input:focus{
  border-color:#4b98ab;
  background:#fff;
  box-shadow:0 0 0 4px rgba(22,73,94,.09);
}

.auth-login-btn{
  min-height:55px;
  margin-top:24px;
  border-radius:14px;
  background:linear-gradient(135deg,#17556a 0%,#0d3042 100%);
  box-shadow:0 12px 24px rgba(13,48,66,.17);
  transition:transform .18s,box-shadow .18s;
}

.auth-login-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 16px 28px rgba(13,48,66,.22);
}

.auth-security-note{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin-top:16px;
  color:#87959b;
  font-size:11px;
}

.auth-security-dot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#0c8b72;
  box-shadow:0 0 0 4px rgba(12,139,114,.09);
}

.auth-footer{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  margin-top:32px;
  padding-top:21px;
  border-top:1px solid #e6edef;
  color:#798a91;
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
}

.auth-footer a{
  color:#0d6f63;
  text-decoration:none;
}

.auth-footer a:hover{
  text-decoration:underline;
}

@media(max-width:1120px){
  .auth-premium{
    grid-template-columns:1fr 480px;
    gap:36px;
    padding:42px;
  }

  .auth-feature-row{
    grid-template-columns:1fr;
    max-width:480px;
  }

  .auth-feature{
    min-height:auto;
  }

  .auth-hero-copy h2{
    font-size:52px;
  }
}

@media(max-width:900px){
  .auth-premium{
    display:flex;
    min-height:100vh;
    padding:24px;
  }

  .auth-left{
    display:none;
  }

  .auth-right{
    width:100%;
  }

  .auth-card-premium{
    width:min(100%,520px);
  }
}

@media(max-width:560px){
  .auth-premium{
    padding:16px;
    align-items:center;
  }

  .auth-card-premium{
    padding:28px 21px 24px;
    border-radius:24px;
  }

  .auth-card-premium h1{
    font-size:31px;
  }

  .auth-card-premium .auth-card-subtitle{
    margin-bottom:23px;
  }

  .auth-footer{
    margin-top:25px;
  }
}

/* LOGIN_TYPOGRAPHY_V3 */
.auth-left{
  font-family:Inter,"Segoe UI Variable","Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}

.auth-brand-copy strong{
  font-size:21px;
  font-weight:750;
  letter-spacing:-.025em;
}

.auth-brand-copy span{
  margin-top:5px;
  font-size:13px;
  font-weight:500;
  letter-spacing:.025em;
}

.auth-kicker{
  font-size:11px;
  font-weight:800;
  letter-spacing:.17em;
}

.auth-hero-copy{
  max-width:860px;
}

.auth-hero-copy h2{
  max-width:850px;
  margin:20px 0 22px;
  font-family:Inter,"Segoe UI Variable","Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-size:clamp(48px,4.25vw,66px);
  font-weight:750;
  line-height:1.035;
  letter-spacing:-.045em;
  text-wrap:balance;
}

.auth-hero-copy>p{
  max-width:720px;
  font-size:17px;
  font-weight:400;
  line-height:1.72;
  letter-spacing:-.01em;
}

.auth-feature b{
  font-size:13.5px;
  font-weight:700;
  letter-spacing:-.015em;
}

.auth-feature small{
  font-size:11.5px;
  line-height:1.58;
}

.auth-left-note{
  font-size:11.5px;
  font-weight:400;
}

@media(max-width:1120px){
  .auth-hero-copy h2{
    font-size:48px;
    max-width:680px;
  }
}



/* SCHOOL_LOGO_PREMIUM_V1 */

.auth-school-identity{
  display:flex;
  flex-direction:column;
  align-items:center;
  margin:-92px 0 24px;
  position:relative;
  z-index:3;
}

.auth-school-logo{
  width:94px;
  height:94px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:
    linear-gradient(145deg,#f8df9d 0%,#d6ad51 100%);
  color:#0d3042;
  font-size:22px;
  font-weight:900;
  border:6px solid rgba(255,255,255,.96);
  box-shadow:
    0 18px 40px rgba(0,0,0,.23),
    0 0 0 1px rgba(214,173,81,.28);
}

.auth-school-logo img{
  width:100%;
  height:100%;
  object-fit:contain;
  background:#fff;
}

.auth-school-name{
  margin-top:10px;
  max-width:310px;
  color:#53676f;
  font-size:12px;
  font-weight:750;
  line-height:1.35;
  text-align:center;
  letter-spacing:.025em;
}

.school-logo-card{
  margin-top:18px;
}

.school-logo-manager{
  display:flex;
  align-items:center;
  gap:28px;
  padding-top:6px;
}

.school-logo-preview{
  width:118px;
  min-width:118px;
  height:118px;
  border-radius:26px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:linear-gradient(145deg,#f7dfa1,#d9b558);
  color:#113848;
  font-size:24px;
  font-weight:900;
  border:1px solid #e2e8ea;
  box-shadow:0 16px 34px rgba(13,48,66,.12);
}

.school-logo-preview img{
  width:100%;
  height:100%;
  object-fit:contain;
  background:#fff;
  padding:8px;
}

.school-logo-form{
  flex:1;
  max-width:540px;
}

.school-logo-form label{
  display:block;
  color:#243d48;
  font-size:12px;
  font-weight:800;
}

.school-logo-form input[type=file]{
  display:block;
  width:100%;
  margin-top:8px;
  padding:12px;
  border:1px dashed #b9c9cf;
  border-radius:13px;
  background:#f8fbfc;
}

.school-logo-form small{
  display:block;
  margin-top:9px;
  color:#829198;
  line-height:1.5;
}

.school-logo-actions{
  display:flex;
  gap:9px;
  margin-top:16px;
}

/* depth tambahan login */
.auth-card-premium{
  position:relative;
  overflow:visible;
}

.auth-card-premium:before{
  content:"";
  position:absolute;
  inset:10px -10px -10px 10px;
  border-radius:32px;
  background:rgba(5,27,37,.16);
  filter:blur(26px);
  z-index:-1;
  pointer-events:none;
}

@media(max-width:900px){
  .auth-premium{
    position:relative;
    isolation:isolate;
    background:
      radial-gradient(circle at 10% 12%,rgba(44,142,163,.55),transparent 34%),
      radial-gradient(circle at 86% 78%,rgba(11,134,112,.23),transparent 32%),
      linear-gradient(155deg,#195d70 0%,#0d3446 48%,#071e29 100%);
  }

  .auth-premium:after{
    content:"";
    position:absolute;
    inset:0;
    z-index:-1;
    opacity:.32;
    background:
      linear-gradient(118deg,transparent 0 67%,rgba(255,255,255,.035) 67% 72%,transparent 72%),
      linear-gradient(160deg,transparent 0 70%,rgba(213,173,81,.06) 70% 74%,transparent 74%);
    pointer-events:none;
  }
}

@media(max-width:560px){
  .auth-premium{
    min-height:100vh;
    align-items:flex-start;
    padding:118px 16px 34px;
  }

  .auth-card-premium{
    padding:58px 21px 24px;
    border-radius:30px;
    box-shadow:
      0 30px 75px rgba(0,0,0,.30),
      0 1px 0 rgba(255,255,255,.8) inset;
  }

  .auth-school-identity{
    margin:-112px 0 22px;
  }

  .auth-school-logo{
    width:92px;
    height:92px;
    border-width:5px;
    box-shadow:
      0 20px 45px rgba(0,0,0,.32),
      0 0 0 1px rgba(214,173,81,.32);
  }

  .auth-school-name{
    max-width:270px;
    color:#50656e;
    font-size:11.5px;
  }

  .auth-card-premium .eyebrow{
    text-align:center;
  }

  .auth-card-premium h1{
    text-align:center;
  }

  .auth-card-premium .auth-card-subtitle{
    max-width:390px;
    margin-left:auto;
    margin-right:auto;
    text-align:center;
  }

  .school-logo-manager{
    flex-direction:column;
    align-items:flex-start;
  }

  .school-logo-form{
    width:100%;
  }
}


/* DASHBOARD_PREMIUM_V2 */

.app-shell{
  grid-template-columns:278px minmax(0,1fr);
  background:
    radial-gradient(circle at 100% 0,rgba(20,83,105,.045),transparent 34%),
    #f4f7f8;
}

.main{
  min-width:0;
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

/* SIDEBAR */
.sidebar{
  width:auto;
  padding:24px 18px 18px;
  background:
    radial-gradient(circle at 10% 0,rgba(38,114,137,.34),transparent 31%),
    linear-gradient(180deg,#0d3547 0%,#092936 54%,#071f2a 100%);
  border-right:1px solid rgba(255,255,255,.04);
  box-shadow:16px 0 55px rgba(13,48,66,.08);
  overflow:hidden;
}

.sidebar:before{
  content:"";
  position:absolute;
  width:310px;
  height:310px;
  border:1px solid rgba(255,255,255,.04);
  border-radius:50%;
  left:-190px;
  bottom:35px;
  box-shadow:
    0 0 0 55px rgba(255,255,255,.018),
    0 0 0 110px rgba(255,255,255,.012);
  pointer-events:none;
}

.sidebar>*{
  position:relative;
  z-index:1;
}

.sidebar-brand{
  display:flex;
  align-items:center;
  gap:13px;
  min-height:62px;
  padding:2px 4px 20px;
}

.sidebar-logo{
  width:50px;
  min-width:50px;
  height:50px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:16px;
  background:linear-gradient(145deg,#f5d98f,#d6ad51);
  color:#0d3042;
  font-size:15px;
  font-weight:900;
  box-shadow:
    0 12px 28px rgba(0,0,0,.19),
    inset 0 1px 0 rgba(255,255,255,.48);
}

.sidebar-logo img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:4px;
  background:#fff;
}

.sidebar-brand-copy{
  min-width:0;
}

.sidebar-brand-copy b{
  display:block;
  color:#fff;
  font-size:16px;
  font-weight:800;
  line-height:1.18;
  letter-spacing:-.018em;
}

.sidebar-brand-copy span{
  display:block;
  margin-top:4px;
  color:#8fb9c5;
  font-size:11px;
  font-weight:600;
  letter-spacing:.025em;
}

.sidebar-section-label{
  padding:10px 13px 7px;
  color:#6f9aa6;
  font-size:9px;
  font-weight:900;
  letter-spacing:.16em;
}

.sidebar nav{
  display:grid;
  gap:6px;
  margin-top:4px;
}

.sidebar .nav{
  min-height:48px;
  display:flex;
  align-items:center;
  gap:11px;
  padding:10px 12px;
  color:#b9d0d7;
  border:1px solid transparent;
  border-radius:14px;
  font-size:13px;
  font-weight:700;
  transition:
    background .18s ease,
    border-color .18s ease,
    transform .18s ease,
    color .18s ease;
}

.sidebar .nav:hover{
  background:rgba(255,255,255,.055);
  color:#fff;
  transform:translateX(2px);
}

.sidebar .nav.active{
  color:#fff;
  background:
    linear-gradient(135deg,rgba(255,255,255,.13),rgba(255,255,255,.075));
  border-color:rgba(255,255,255,.08);
  box-shadow:
    inset 3px 0 0 #e1be67,
    0 10px 24px rgba(0,0,0,.11);
}

.nav-icon{
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  border-radius:9px;
  color:#86abb5;
  background:rgba(255,255,255,.045);
}

.nav.active .nav-icon{
  color:#f2d489;
  background:rgba(214,173,81,.10);
}

.nav-icon svg{
  width:15px;
  height:15px;
  fill:currentColor;
}

.sidebar-foot{
  margin-top:auto;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,.10);
}

.sidebar-user{
  display:flex;
  align-items:center;
  gap:10px;
}

.sidebar-avatar{
  width:38px;
  min-width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:rgba(255,255,255,.09);
  border:1px solid rgba(255,255,255,.08);
  color:#f2d489;
  font-size:13px;
  font-weight:900;
}

.sidebar-user-copy{
  min-width:0;
}

.sidebar-user-copy #userName{
  max-width:165px;
  overflow:hidden;
  color:#fff;
  font-size:12px;
  font-weight:750;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.sidebar-user-copy small{
  display:block;
  margin-top:3px;
  color:#789eaa;
  font-size:9px;
}

.sidebar-foot .sidebar-logout{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:13px;
  padding:9px 11px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:10px;
  background:rgba(255,255,255,.035);
  color:#d7c17e;
  font-size:11px;
  font-weight:700;
}

.sidebar-foot .sidebar-logout:hover{
  background:rgba(255,255,255,.07);
}

/* TOPBAR */
.topbar{
  height:80px;
  padding:0 30px;
  border-bottom:1px solid rgba(215,226,229,.82);
  background:rgba(255,255,255,.91);
  box-shadow:0 8px 35px rgba(13,48,66,.035);
}

.topbar-copy{
  min-width:0;
}

.top-title{
  color:#102d3a;
  font-size:20px;
  font-weight:850;
  letter-spacing:-.03em;
}

.top-sub{
  margin-top:3px;
  color:#75878e;
  font-size:11px;
  font-weight:500;
}

.topbar-right{
  display:flex;
  align-items:center;
  gap:10px;
  margin-left:auto;
}

.status-pill{
  margin-left:0;
  display:flex;
  align-items:center;
  gap:7px;
  padding:7px 11px;
  border:1px solid #cde9df;
  background:#eef9f5;
  color:#0b725e;
  font-size:10px;
  letter-spacing:.01em;
}

.status-dot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#0b997c;
  box-shadow:0 0 0 4px rgba(11,153,124,.09);
}

.menu-btn{
  color:#163e4e;
  background:#edf5f6;
}

/* CONTENT */
.content{
  width:100%;
  max-width:1580px;
  flex:1;
  padding:30px 32px 24px;
}

/* HERO */
.dashboard-hero{
  min-height:250px;
  display:grid;
  grid-template-columns:minmax(0,1fr) 350px;
  align-items:center;
  gap:36px;
  position:relative;
  overflow:hidden;
  padding:36px 38px;
  border-radius:25px;
  background:
    radial-gradient(circle at 92% 14%,rgba(74,151,166,.22),transparent 25%),
    linear-gradient(130deg,#0d3547 0%,#114b60 58%,#155d70 100%);
  box-shadow:
    0 22px 55px rgba(13,48,66,.16),
    inset 0 1px 0 rgba(255,255,255,.06);
  color:#fff;
}

.dashboard-hero:before{
  content:"";
  position:absolute;
  width:420px;
  height:420px;
  border:1px solid rgba(255,255,255,.055);
  border-radius:50%;
  right:-195px;
  top:-250px;
  box-shadow:
    0 0 0 55px rgba(255,255,255,.025),
    0 0 0 110px rgba(255,255,255,.017);
}

.dashboard-hero-copy,
.identity-score-card{
  position:relative;
  z-index:1;
}

.dashboard-eyebrow{
  display:flex;
  align-items:center;
  gap:9px;
  margin-bottom:13px;
  color:#efd077;
  font-size:10px;
  font-weight:900;
  letter-spacing:.17em;
}

.dashboard-eyebrow:before{
  content:"";
  width:25px;
  height:2px;
  border-radius:10px;
  background:#d6ad51;
}

.dashboard-hero h2{
  max-width:760px;
  margin:0;
  color:#fff;
  font-size:clamp(30px,3.2vw,48px);
  font-weight:780;
  line-height:1.04;
  letter-spacing:-.045em;
}

.dashboard-hero p{
  max-width:720px;
  margin:15px 0 0;
  color:#c6dde4;
  font-size:14px;
  line-height:1.7;
}

.dashboard-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:23px;
}

.hero-primary,
.hero-secondary{
  min-height:42px;
  padding:10px 15px;
  border-radius:11px;
  font-size:11px;
}

.hero-primary{
  background:#fff;
  color:#0d3547;
  box-shadow:0 10px 25px rgba(0,0,0,.13);
}

.hero-secondary{
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.07);
  color:#fff;
}

.identity-score-card{
  display:flex;
  align-items:center;
  gap:17px;
  padding:19px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:20px;
  background:rgba(5,31,42,.28);
  backdrop-filter:blur(12px);
}

.identity-score-ring{
  --score:0;
  width:92px;
  min-width:92px;
  height:92px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:
    conic-gradient(#ebca72 calc(var(--score) * 1%),rgba(255,255,255,.12) 0);
  padding:7px;
}

.identity-score-inner{
  width:100%;
  height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#0e3a4c;
}

.identity-score-inner strong{
  font-size:21px;
  line-height:1;
}

.identity-score-inner span{
  margin-top:4px;
  color:#9fc0ca;
  font-size:9px;
}

.identity-score-copy small{
  display:block;
  color:#a4c5ce;
  font-size:8.5px;
  font-weight:900;
  letter-spacing:.11em;
}

.identity-score-copy b{
  display:block;
  margin-top:7px;
  color:#fff;
  font-size:13px;
  line-height:1.4;
}

.identity-score-copy span{
  display:block;
  margin-top:4px;
  color:#92b5bf;
  font-size:10px;
}

/* KPI */
.premium-kpi-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:13px;
  margin:17px 0;
}

.premium-kpi{
  min-width:0;
  min-height:148px;
  position:relative;
  overflow:hidden;
  padding:17px 18px;
  border:1px solid #dfe8ea;
  border-radius:18px;
  background:#fff;
  box-shadow:0 12px 34px rgba(13,48,66,.065);
}

.premium-kpi:after{
  content:"";
  position:absolute;
  width:75px;
  height:75px;
  border-radius:50%;
  right:-28px;
  bottom:-34px;
  background:var(--kpi-soft);
}

.tone-navy{--kpi-accent:#174d62;--kpi-soft:rgba(23,77,98,.07)}
.tone-green{--kpi-accent:#0b8a70;--kpi-soft:rgba(11,138,112,.08)}
.tone-teal{--kpi-accent:#26879a;--kpi-soft:rgba(38,135,154,.08)}
.tone-gold{--kpi-accent:#bd821d;--kpi-soft:rgba(189,130,29,.08)}
.tone-coral{--kpi-accent:#b96052;--kpi-soft:rgba(185,96,82,.075)}

.kpi-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}

.kpi-icon{
  min-width:30px;
  height:30px;
  display:grid;
  place-items:center;
  padding:0 8px;
  border-radius:9px;
  background:var(--kpi-soft);
  color:var(--kpi-accent);
  font-size:11px;
  font-weight:900;
}

.kpi-icon.wide{
  font-size:8px;
  letter-spacing:.03em;
}

.kpi-trend{
  padding:4px 7px;
  border-radius:999px;
  font-size:8px;
  font-weight:800;
}

.kpi-trend.neutral{
  background:#eff4f5;
  color:#72838a;
}

.kpi-trend.success{
  background:#eaf8f3;
  color:#08745e;
}

.kpi-trend.warning{
  background:#fff4de;
  color:#95650d;
}

.kpi-label{
  margin-top:14px;
  color:#687a81;
  font-size:9px;
  font-weight:850;
  letter-spacing:.055em;
  text-transform:uppercase;
}

.kpi-number{
  margin-top:3px;
  color:#102e3b;
  font-size:30px;
  font-weight:850;
  line-height:1.05;
  letter-spacing:-.04em;
}

.kpi-number small{
  margin-left:3px;
  color:#8b9ba1;
  font-size:13px;
  letter-spacing:-.02em;
}

.kpi-caption{
  margin-top:6px;
  color:#94a2a7;
  font-size:9px;
}

/* LOWER DASHBOARD */
.dashboard-lower-grid{
  display:grid;
  grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);
  gap:16px;
  align-items:start;
}

.premium-panel{
  min-width:0;
  padding:21px;
  border:1px solid #dfe8ea;
  border-radius:20px;
  background:#fff;
  box-shadow:0 15px 38px rgba(13,48,66,.07);
}

.premium-panel-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:15px;
  margin-bottom:16px;
}

.panel-eyebrow{
  margin-bottom:5px;
  color:#0b8871;
  font-size:8px;
  font-weight:900;
  letter-spacing:.15em;
}

.premium-panel h3{
  margin:0;
  color:#173440;
  font-size:16px;
  letter-spacing:-.02em;
}

.premium-panel-head p{
  margin:4px 0 0;
  color:#829198;
  font-size:10px;
}

.panel-count{
  white-space:nowrap;
  padding:6px 9px;
  border-radius:999px;
  background:#eef5f6;
  color:#527078;
  font-size:9px;
  font-weight:800;
}

.premium-table-wrap{
  overflow:auto;
  border:1px solid #e2eaec;
  border-radius:14px;
}

.premium-table{
  min-width:500px;
}

.premium-table th{
  padding:11px 13px;
  background:#f6f9fa;
  color:#73868d;
  font-size:9px;
}

.premium-table td{
  padding:13px;
  color:#29444f;
  font-size:11px;
}

.rombel-name{
  display:flex;
  align-items:center;
  gap:9px;
}

.rombel-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#278b9d;
  box-shadow:0 0 0 4px rgba(39,139,157,.09);
}

.rombel-total{
  display:inline-grid;
  min-width:30px;
  height:27px;
  place-items:center;
  padding:0 8px;
  border-radius:9px;
  background:#edf5f6;
  color:#174c60;
  font-size:11px;
  font-weight:850;
}

.attention-list{
  display:grid;
  gap:8px;
}

.attention-item{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  padding:11px;
  border:1px solid #e5ecee;
  border-radius:13px;
  background:#fafcfc;
}

.attention-status{
  width:8px;
  height:8px;
  border-radius:50%;
}

.attention-item.needs-attention .attention-status{
  background:#d09028;
  box-shadow:0 0 0 4px rgba(208,144,40,.10);
}

.attention-item.complete .attention-status{
  background:#0b987a;
  box-shadow:0 0 0 4px rgba(11,152,122,.09);
}

.attention-item b{
  display:block;
  color:#314b55;
  font-size:10px;
}

.attention-item small{
  display:block;
  margin-top:2px;
  color:#87969c;
  font-size:8.5px;
  line-height:1.35;
}

.attention-item strong{
  color:#183743;
  font-size:15px;
}

.attention-actions{
  display:grid;
  gap:7px;
  margin-top:14px;
}

.attention-main-btn,
.attention-secondary-btn{
  width:100%;
  min-height:39px;
  border-radius:10px;
  font-size:10px;
}

.attention-main-btn{
  background:linear-gradient(135deg,#174f63,#0d3547);
  color:#fff;
}

.attention-secondary-btn{
  border:1px solid #dae6e8;
  background:#f4f8f9;
  color:#244a59;
}

/* FOOTER */
.app-footer{
  min-height:54px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  margin:0 32px;
  border-top:1px solid #dde7e9;
  color:#8a999f;
  font-size:9px;
  font-weight:600;
  letter-spacing:.025em;
}

.app-footer a{
  color:#0b806b;
  font-weight:850;
  text-decoration:none;
  letter-spacing:.07em;
}

.app-footer a:hover{
  text-decoration:underline;
}

.footer-separator{
  color:#b3bec2;
}

/* TABLET */
@media(max-width:1200px){
  .app-shell{
    grid-template-columns:252px minmax(0,1fr);
  }

  .dashboard-hero{
    grid-template-columns:minmax(0,1fr) 300px;
  }

  .premium-kpi-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media(max-width:980px){
  .dashboard-hero{
    grid-template-columns:1fr;
  }

  .identity-score-card{
    max-width:380px;
  }

  .dashboard-lower-grid{
    grid-template-columns:1fr;
  }
}

/* MOBILE */
@media(max-width:760px){
  .app-shell{
    display:block;
  }

  .sidebar{
    width:278px;
    padding:20px 16px 16px;
    box-shadow:22px 0 55px rgba(5,28,39,.30);
  }

  .topbar{
    height:70px;
    padding:0 15px;
  }

  .top-title{
    font-size:17px;
  }

  .top-sub{
    max-width:210px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }

  .content{
    padding:15px 14px 20px;
  }

  .dashboard-hero{
    min-height:auto;
    padding:24px 20px;
    border-radius:21px;
  }

  .dashboard-hero h2{
    font-size:30px;
  }

  .dashboard-hero p{
    font-size:12px;
  }

  .identity-score-card{
    width:100%;
    max-width:none;
  }

  .premium-kpi-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    margin:12px 0;
  }

  .premium-kpi{
    min-height:138px;
    padding:14px;
  }

  .kpi-number{
    font-size:27px;
  }

  .premium-panel{
    padding:16px;
  }

  .app-footer{
    margin:0 14px;
  }
}

@media(max-width:430px){
  .dashboard-hero h2{
    font-size:27px;
  }

  .dashboard-hero-actions{
    display:grid;
    grid-template-columns:1fr;
  }

  .premium-kpi-grid{
    grid-template-columns:1fr 1fr;
  }

  .premium-kpi{
    min-height:132px;
    padding:13px;
  }

  .kpi-label{
    min-height:24px;
    line-height:1.35;
  }

  .kpi-number{
    font-size:25px;
  }

  .kpi-caption{
    line-height:1.35;
  }

  .identity-score-ring{
    width:78px;
    min-width:78px;
    height:78px;
  }

  .identity-score-inner strong{
    font-size:18px;
  }
}


/* DASHBOARD_WELCOME_V1 */

.welcome-hero{
  min-height:250px;
}

.welcome-copy{
  max-width:780px;
}

.welcome-title{
  max-width:760px;
  margin-top:0;
}

.welcome-title span{
  color:#f2d27d;
}

.welcome-school{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:5px 7px;
  margin-top:16px;
  color:#c5dce3;
  font-size:15px;
  line-height:1.55;
}

.welcome-school span{
  color:#b6d0d8;
}

.welcome-school strong{
  color:#fff;
  font-weight:750;
}

.welcome-school b{
  color:#f0d17c;
  font-weight:800;
}

.welcome-description{
  max-width:680px!important;
  margin-top:9px!important;
  color:#afcbd4!important;
  font-size:12px!important;
  line-height:1.65!important;
}

@media(max-width:760px){
  .welcome-title{
    font-size:29px!important;
    line-height:1.08!important;
  }

  .welcome-school{
    font-size:13px;
  }

  .welcome-description{
    font-size:11px!important;
  }
}

@media(max-width:430px){
  .welcome-title{
    font-size:27px!important;
  }

  .welcome-school{
    display:block;
  }

  .welcome-school span,
  .welcome-school strong,
  .welcome-school b{
    display:block;
  }

  .welcome-school strong{
    margin-top:3px;
  }

  .welcome-school b{
    margin-top:2px;
  }
}


/* STUDENT_DATA_V2 */

.student-list-card{
  padding:22px;
}

.student-list-head{
  align-items:flex-start;
  justify-content:space-between;
}

.student-list-head h3{
  font-size:18px;
  color:#173541;
}

.student-list-head>.badge{
  margin-left:auto;
}

.student-toolbar{
  display:flex;
  align-items:center;
  margin-bottom:16px;
}

.student-search-box{
  width:100%;
  display:flex;
  gap:9px;
  align-items:center;
}

.student-search-box input{
  max-width:430px;
  min-height:44px;
}

.student-table-wrap{
  overflow:auto;
  border:1px solid #dee8ea;
  border-radius:16px;
  background:#fff;
}

.student-table{
  min-width:1250px;
}

.student-table th{
  padding:12px 13px;
  background:#f6f9fa;
  color:#627780;
  font-size:9px;
  letter-spacing:.055em;
}

.student-table td{
  padding:12px 13px;
  vertical-align:middle;
  font-size:11px;
}

.student-table tbody tr{
  transition:background .16s;
}

.student-table tbody tr:hover{
  background:#fbfdfd;
}

.student-name-cell{
  min-width:205px;
}

.student-name-cell b{
  display:block;
  color:#163642;
  font-size:11.5px;
}

.student-name-cell small,
.table-sub{
  display:block;
  margin-top:4px;
  color:#89989e;
  font-size:9px;
}

.parent-name{
  min-width:145px;
  color:#435c65;
}

.student-photo{
  position:relative;
  overflow:hidden;
  display:grid;
  place-items:center;
  background:
    linear-gradient(
      145deg,
      #eaf3f4,
      #d6e7ea
    );
  color:#1b5264;
  font-weight:850;
  text-transform:uppercase;
}

.student-photo.table{
  width:42px;
  height:42px;
  border-radius:13px;
  border:1px solid #d8e4e6;
  font-size:11px;
}

.student-photo.edit{
  width:128px;
  height:128px;
  margin:0 auto;
  border-radius:28px;
  border:5px solid #fff;
  box-shadow:
    0 18px 42px rgba(13,48,66,.18),
    0 0 0 1px #dfe8ea;
  font-size:26px;
}

.student-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.student-edit-btn{
  min-height:33px;
  padding:7px 11px;
  border:1px solid #d6e4e7;
  background:#eef5f6;
  color:#174c5e;
  border-radius:9px;
  font-size:9px;
  font-weight:850;
}

.student-edit-btn:hover{
  background:#e3eff1;
}


/* MODAL */

.student-modal-backdrop{
  position:fixed;
  inset:0;
  z-index:1000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:
    rgba(5,29,40,.62);
  backdrop-filter:blur(7px);
}

.student-modal{
  width:min(1050px,100%);
  max-height:92vh;
  overflow:auto;
  border:1px solid rgba(255,255,255,.7);
  border-radius:25px;
  background:#fff;
  box-shadow:
    0 35px 100px rgba(0,0,0,.30);
}

.student-modal-head{
  position:sticky;
  top:0;
  z-index:5;
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:23px 27px 18px;
  border-bottom:1px solid #e3eaec;
  background:
    rgba(255,255,255,.96);
  backdrop-filter:blur(12px);
}

.student-modal-head h2{
  margin:0;
  color:#123340;
  font-size:24px;
  letter-spacing:-.035em;
}

.student-modal-head p{
  margin:5px 0 0;
  color:#84939a;
  font-size:11px;
}

.student-modal-close{
  width:38px;
  min-width:38px;
  height:38px;
  border:1px solid #dde6e8;
  border-radius:12px;
  background:#f5f8f9;
  color:#526870;
  font-size:22px;
  line-height:1;
  cursor:pointer;
}

.student-edit-layout{
  display:grid;
  grid-template-columns:205px minmax(0,1fr);
  gap:28px;
  padding:26px 28px;
}

.student-edit-photo-panel{
  padding:18px 14px;
  text-align:center;
  border:1px solid #e1e9eb;
  border-radius:20px;
  background:#f7fafb;
}

.student-edit-photo-panel>strong{
  display:block;
  margin-top:16px;
  color:#254652;
  font-size:12px;
}

.student-edit-photo-panel>small{
  display:block;
  margin:6px auto 0;
  max-width:155px;
  color:#89989d;
  font-size:9px;
  line-height:1.55;
}

.student-photo-picker{
  display:block;
  margin-top:15px;
}

.student-photo-picker span{
  display:block;
  padding:9px;
  border:1px solid #d9e5e7;
  border-radius:10px;
  background:#fff;
  color:#174c5f;
  font-size:10px;
  font-weight:800;
  cursor:pointer;
}

.student-photo-picker input{
  display:none;
}

.student-remove-photo{
  width:100%;
  margin-top:8px;
  padding:9px;
  border:1px solid #f0d5d2;
  background:#fff4f2;
  color:#a34c41;
  font-size:9px;
}

.student-edit-fields{
  min-width:0;
}

.edit-section-title{
  margin-bottom:12px;
  padding-bottom:8px;
  border-bottom:1px solid #e4eaec;
  color:#176075;
  font-size:10px;
  font-weight:900;
  letter-spacing:.09em;
  text-transform:uppercase;
}

.edit-section-title.parent{
  margin-top:24px;
}

.student-edit-grid{
  display:grid;
  grid-template-columns:
    repeat(2,minmax(0,1fr));
  gap:13px 15px;
}

.student-edit-grid label{
  margin:0;
  color:#425961;
  font-size:10px;
}

.student-edit-grid label.full{
  grid-column:1/-1;
}

.student-edit-grid input,
.student-edit-grid select,
.student-edit-grid textarea{
  width:100%;
  margin-top:6px;
  padding:11px 12px;
  border:1px solid #dce5e7;
  border-radius:11px;
  background:#fff;
  color:#183641;
  outline:none;
  font:inherit;
  font-size:11px;
}

.student-edit-grid textarea{
  resize:vertical;
}

.student-edit-grid input:focus,
.student-edit-grid select:focus,
.student-edit-grid textarea:focus{
  border-color:#6ca5b3;
  box-shadow:
    0 0 0 3px rgba(32,104,122,.08);
}

.student-edit-grid .readonly-field{
  background:#f4f7f8;
  color:#687c83;
}

.student-edit-grid label>small{
  display:block;
  margin-top:5px;
  color:#96a4a9;
  font-size:8.5px;
  font-weight:500;
}

.student-modal-actions{
  position:sticky;
  bottom:0;
  z-index:5;
  display:flex;
  justify-content:flex-end;
  gap:9px;
  padding:16px 28px;
  border-top:1px solid #e2e9eb;
  background:
    rgba(255,255,255,.97);
  backdrop-filter:blur(12px);
}

.student-modal-actions .btn{
  min-width:120px;
  font-size:10px;
}


/* responsive */

@media(max-width:760px){

  .student-list-card{
    padding:16px;
  }

  .student-search-box{
    display:grid;
    grid-template-columns:1fr 1fr;
  }

  .student-search-box input{
    max-width:none;
    grid-column:1/-1;
  }

  .student-modal-backdrop{
    align-items:flex-end;
    padding:0;
  }

  .student-modal{
    width:100%;
    max-height:95vh;
    border-radius:
      24px 24px 0 0;
  }

  .student-modal-head{
    padding:19px 18px 15px;
  }

  .student-modal-head h2{
    font-size:21px;
  }

  .student-edit-layout{
    grid-template-columns:1fr;
    gap:20px;
    padding:20px 18px;
  }

  .student-edit-photo-panel{
    max-width:none;
  }

  .student-edit-grid{
    grid-template-columns:1fr;
  }

  .student-edit-grid label.full{
    grid-column:auto;
  }

  .student-modal-actions{
    padding:13px 18px;
  }

  .student-modal-actions .btn{
    flex:1;
    min-width:0;
  }
}

/* STUDENT_TABLE_FIT_V3 */

/* Desktop: seluruh kolom masuk tanpa horizontal scroll */
@media(min-width:1000px){

  .student-table-wrap{
    overflow-x:hidden;
  }

  .student-table{
    width:100%;
    min-width:0 !important;
    table-layout:fixed;
  }

  .student-table th,
  .student-table td{
    padding:11px 8px;
  }

  /* FOTO */
  .student-table th:nth-child(1),
  .student-table td:nth-child(1){
    width:58px;
    text-align:center;
  }

  /* SISWA */
  .student-table th:nth-child(2),
  .student-table td:nth-child(2){
    width:185px;
  }

  /* NIS LOKAL */
  .student-table th:nth-child(3),
  .student-table td:nth-child(3){
    width:145px;
  }

  /* NISN */
  .student-table th:nth-child(4),
  .student-table td:nth-child(4){
    width:92px;
  }

  /* NAMA AYAH */
  .student-table th:nth-child(5),
  .student-table td:nth-child(5){
    width:112px;
  }

  /* NAMA IBU */
  .student-table th:nth-child(6),
  .student-table td:nth-child(6){
    width:112px;
  }

  /* ROMBEL */
  .student-table th:nth-child(7),
  .student-table td:nth-child(7){
    width:105px;
  }

  /* KUALITAS */
  .student-table th:nth-child(8),
  .student-table td:nth-child(8){
    width:70px;
    text-align:center;
  }

  /* AKSI */
  .student-table th:nth-child(9),
  .student-table td:nth-child(9){
    width:62px;
    text-align:center;
  }

  .student-name-cell{
    min-width:0 !important;
  }

  .student-name-cell b{
    display:-webkit-box;
    overflow:hidden;
    font-size:10.5px;
    line-height:1.35;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
  }

  .student-name-cell small{
    font-size:8.5px;
  }

  .parent-name{
    min-width:0 !important;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:10px !important;
  }

  .student-table .nis-code{
    display:block;
    overflow:hidden;
    font-size:9.2px;
    letter-spacing:-.045em;
    text-overflow:ellipsis;
    white-space:nowrap;
  }

  .student-table .table-sub{
    font-size:8px;
  }

  .student-table td:nth-child(4),
  .student-table td:nth-child(7){
    overflow:hidden;
    font-size:9.8px;
    text-overflow:ellipsis;
    white-space:nowrap;
  }

  .student-table .badge{
    padding:5px 7px;
    font-size:9px;
  }

  .student-edit-btn{
    width:100%;
    min-height:30px;
    padding:6px 7px;
    font-size:8.5px;
  }

  .student-photo.table{
    width:38px;
    height:38px;
    margin:auto;
    border-radius:11px;
  }
}

/* Laptop lebih sempit */
@media(min-width:1000px) and (max-width:1250px){

  .student-table th,
  .student-table td{
    padding-left:6px;
    padding-right:6px;
  }

  .student-table th:nth-child(2),
  .student-table td:nth-child(2){
    width:160px;
  }

  .student-table th:nth-child(3),
  .student-table td:nth-child(3){
    width:132px;
  }

  .student-table th:nth-child(5),
  .student-table td:nth-child(5),
  .student-table th:nth-child(6),
  .student-table td:nth-child(6){
    width:100px;
  }
}

/* Tablet/HP tetap boleh scroll sampai nanti dibuat card view */
@media(max-width:999px){
  .student-table-wrap{
    overflow-x:auto;
  }

  .student-table{
    min-width:1100px;
  }
}



/* STUDENT_DETAIL_V1 */

.student-view-trigger{
  cursor:pointer;
}

.student-name-link{
  display:block;
  width:100%;
  padding:0;
  border:0;
  background:none;
  color:#163642;
  text-align:left;
  font:inherit;
  font-size:10.5px;
  font-weight:800;
  line-height:1.35;
  cursor:pointer;
}

.student-name-link:hover{
  color:#0a806b;
  text-decoration:underline;
}


/* DETAIL WRAPPER */

.student-detail-shell{
  display:grid;
  gap:16px;
}


/* HERO */

.student-profile-hero{
  position:relative;
  overflow:hidden;
  padding:24px;
  border-radius:24px;
  background:
    radial-gradient(
      circle at 92% 10%,
      rgba(56,143,160,.20),
      transparent 25%
    ),
    linear-gradient(
      130deg,
      #0d3547,
      #155a6d
    );
  color:#fff;
  box-shadow:
    0 20px 50px rgba(13,48,66,.14);
}

.student-profile-hero:after{
  content:"";
  position:absolute;
  width:320px;
  height:320px;
  right:-170px;
  bottom:-230px;
  border:1px solid rgba(255,255,255,.06);
  border-radius:50%;
  box-shadow:
    0 0 0 55px rgba(255,255,255,.025),
    0 0 0 110px rgba(255,255,255,.016);
}

.student-detail-back{
  position:relative;
  z-index:2;
  margin-bottom:18px;
  padding:7px 10px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:9px;
  background:rgba(255,255,255,.07);
  color:#cce0e5;
  font-size:9px;
  font-weight:750;
  cursor:pointer;
}

.student-profile-main{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:120px minmax(0,1fr) 175px;
  gap:23px;
  align-items:center;
}

.student-photo.detail{
  width:112px;
  height:112px;
  border:5px solid rgba(255,255,255,.96);
  border-radius:28px;
  background:
    linear-gradient(
      145deg,
      #f4d889,
      #d6ad51
    );
  color:#123b4b;
  font-size:25px;
  box-shadow:
    0 18px 40px rgba(0,0,0,.22);
}

.student-detail-eyebrow{
  color:#efd175;
  font-size:9px;
  font-weight:900;
  letter-spacing:.16em;
}

.student-profile-copy h1{
  margin:6px 0 7px;
  color:#fff;
  font-size:clamp(25px,3vw,39px);
  font-weight:780;
  line-height:1.05;
  letter-spacing:-.04em;
}

.student-profile-meta{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
  color:#b9d2da;
  font-size:10px;
}

.student-status-badge{
  padding:4px 7px;
  border-radius:999px;
  background:rgba(255,255,255,.09);
  color:#e6f0f2;
}

.student-id-strip{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:16px;
}

.student-id-strip>div{
  min-width:130px;
  padding:9px 11px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:11px;
  background:rgba(5,31,42,.22);
}

.student-id-strip small{
  display:block;
  color:#8eb6c1;
  font-size:7px;
  font-weight:900;
  letter-spacing:.12em;
}

.student-id-strip b{
  display:block;
  margin-top:4px;
  color:#fff;
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  font-size:9px;
}

.student-profile-actions{
  display:grid;
  justify-items:center;
  gap:8px;
}

.student-quality-ring{
  --student-score:0;
  width:95px;
  height:95px;
  display:grid;
  place-items:center;
  padding:7px;
  border-radius:50%;
  background:
    conic-gradient(
      #f0cd70 calc(var(--student-score) * 1%),
      rgba(255,255,255,.12) 0
    );
}

.student-quality-ring>div{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  align-content:center;
  border-radius:50%;
  background:#103d4f;
}

.student-quality-ring strong{
  font-size:19px;
}

.student-quality-ring span{
  margin-top:2px;
  color:#91b6c0;
  font-size:7px;
}

.student-detail-edit,
.student-detail-print{
  width:150px;
  min-height:36px;
  font-size:9px;
}

.student-detail-edit{
  background:#fff;
  color:#123d4d;
}

.student-detail-print{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  color:#8cb1bc;
}


/* TABS */

.student-detail-tabs{
  display:flex;
  overflow:auto;
  gap:5px;
  padding:6px;
  border:1px solid #dfe8ea;
  border-radius:15px;
  background:#fff;
  box-shadow:0 10px 30px rgba(13,48,66,.05);
}

.student-detail-tab{
  flex:0 0 auto;
  padding:9px 12px;
  border:0;
  border-radius:10px;
  background:transparent;
  color:#667a82;
  font-size:9px;
  font-weight:800;
  cursor:pointer;
}

.student-detail-tab:hover{
  background:#f1f6f7;
  color:#174c5e;
}

.student-detail-tab.active{
  background:
    linear-gradient(
      135deg,
      #174f63,
      #0d3547
    );
  color:#fff;
  box-shadow:
    0 7px 16px rgba(13,48,66,.13);
}


/* PANEL */

.student-detail-grid{
  display:grid;
  grid-template-columns:
    minmax(0,1.6fr)
    minmax(270px,.7fr);
  gap:16px;
}

.student-detail-card{
  padding:21px;
  border:1px solid #dfe8ea;
  border-radius:20px;
  background:#fff;
  box-shadow:
    0 14px 36px rgba(13,48,66,.06);
}

.student-section-heading{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:15px;
}

.student-section-heading h3{
  margin:0;
  color:#173641;
  font-size:16px;
  letter-spacing:-.02em;
}


/* INFO CARDS */

.student-info-grid{
  display:grid;
  grid-template-columns:
    repeat(2,minmax(0,1fr));
  gap:9px;
}

.student-info-grid.three{
  grid-template-columns:
    repeat(3,minmax(0,1fr));
}

.student-info-card{
  min-width:0;
  padding:12px;
  border:1px solid #e2e9eb;
  border-radius:12px;
  background:#f9fbfb;
}

.student-info-card small{
  display:block;
  color:#84949a;
  font-size:7.5px;
  font-weight:850;
  letter-spacing:.07em;
  text-transform:uppercase;
}

.student-info-card strong{
  display:block;
  overflow:hidden;
  margin-top:5px;
  color:#294752;
  font-size:10.5px;
  line-height:1.4;
  text-overflow:ellipsis;
}

.student-address-block{
  margin-top:11px;
  padding:13px;
  border:1px solid #e2eaec;
  border-radius:13px;
  background:#f8fafb;
}

.student-address-block small{
  color:#85959b;
  font-size:7.5px;
  font-weight:850;
  letter-spacing:.08em;
}

.student-address-block p{
  margin:5px 0 0;
  color:#405b65;
  font-size:10px;
  line-height:1.6;
}


/* QUALITY */

.student-check-list{
  display:grid;
  gap:7px;
}

.student-check-item{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:9px;
  padding:9px 10px;
  border:1px solid #e5ebed;
  border-radius:11px;
  background:#fafcfc;
}

.student-check-dot{
  width:7px;
  height:7px;
  border-radius:50%;
}

.student-check-item.complete
.student-check-dot{
  background:#0b987a;
  box-shadow:
    0 0 0 4px rgba(11,152,122,.08);
}

.student-check-item.missing
.student-check-dot{
  background:#cf922d;
  box-shadow:
    0 0 0 4px rgba(207,146,45,.09);
}

.student-check-item b{
  display:block;
  color:#39535d;
  font-size:9px;
}

.student-check-item small{
  display:block;
  margin-top:2px;
  color:#909fa4;
  font-size:7.5px;
}

.student-check-item strong{
  font-size:11px;
}

.student-check-item.complete strong{
  color:#0b886f;
}

.student-check-item.missing strong{
  color:#bd811c;
}


/* PARENTS */

.parent-profile-grid{
  display:grid;
  grid-template-columns:
    repeat(3,minmax(0,1fr));
  gap:11px;
}

.parent-profile-card{
  padding:17px;
  border:1px solid #e0e8ea;
  border-radius:16px;
  background:#fafcfc;
}

.parent-icon{
  width:35px;
  height:35px;
  display:grid;
  place-items:center;
  margin-bottom:12px;
  border-radius:11px;
  background:#e8f1f3;
  color:#185267;
  font-size:11px;
  font-weight:900;
}

.parent-profile-card small{
  display:block;
  color:#84959b;
  font-size:7.5px;
  font-weight:850;
  letter-spacing:.08em;
}

.parent-profile-card strong{
  display:block;
  margin-top:6px;
  color:#264651;
  font-size:12px;
}


/* TIMELINE */

.education-timeline{
  position:relative;
  display:grid;
  gap:0;
  max-width:700px;
}

.education-timeline-item{
  position:relative;
  display:grid;
  grid-template-columns:22px 1fr;
  gap:10px;
  padding:0 0 20px;
}

.education-timeline-item:not(:last-child):before{
  content:"";
  position:absolute;
  left:5px;
  top:12px;
  bottom:0;
  width:1px;
  background:#d8e4e7;
}

.timeline-marker{
  position:relative;
  z-index:2;
  width:11px;
  height:11px;
  margin-top:3px;
  border-radius:50%;
  border:3px solid #fff;
  background:#7da5af;
  box-shadow:0 0 0 1px #c9dce0;
}

.education-timeline-item.active
.timeline-marker{
  background:#0b9277;
}

.education-timeline-item small{
  color:#8b9ba1;
  font-size:7px;
  font-weight:850;
  letter-spacing:.08em;
}

.education-timeline-item b{
  display:block;
  margin-top:3px;
  color:#294853;
  font-size:11px;
}

.education-timeline-item p{
  margin:3px 0 0;
  color:#89989e;
  font-size:9px;
}


/* PLACEHOLDER MODULE */

.student-module-note{
  margin-top:17px;
  padding:12px 14px;
  border:1px dashed #cbdadd;
  border-radius:12px;
  background:#f8fbfb;
  color:#74888f;
  font-size:9px;
  line-height:1.55;
}

.student-empty-module{
  min-height:280px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:32px;
  border:1px solid #dfe8ea;
  border-radius:20px;
  background:#fff;
  text-align:center;
  box-shadow:
    0 14px 36px rgba(13,48,66,.05);
}

.student-empty-module>span{
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  border-radius:16px;
  background:
    linear-gradient(
      145deg,
      #e7f1f3,
      #d8e8eb
    );
  color:#19566a;
  font-size:11px;
  font-weight:900;
}

.student-empty-module h3{
  margin:14px 0 5px;
  color:#274751;
  font-size:17px;
}

.student-empty-module p{
  max-width:480px;
  margin:0;
  color:#778a91;
  font-size:10px;
  line-height:1.6;
}

.student-empty-module small{
  margin-top:10px;
  color:#9ba7ac;
  font-size:8.5px;
}


/* RESPONSIVE */

@media(max-width:980px){

  .student-profile-main{
    grid-template-columns:
      100px minmax(0,1fr);
  }

  .student-profile-actions{
    grid-column:1/-1;
    display:flex;
    justify-content:flex-start;
  }

  .student-detail-grid{
    grid-template-columns:1fr;
  }

  .student-info-grid.three{
    grid-template-columns:
      repeat(2,minmax(0,1fr));
  }
}


@media(max-width:620px){

  .student-profile-hero{
    padding:18px;
    border-radius:21px;
  }

  .student-profile-main{
    display:block;
    text-align:center;
  }

  .student-profile-photo-wrap{
    display:flex;
    justify-content:center;
  }

  .student-photo.detail{
    width:96px;
    height:96px;
    border-radius:24px;
  }

  .student-profile-copy h1{
    margin-top:11px;
    font-size:26px;
  }

  .student-detail-eyebrow{
    margin-top:13px;
  }

  .student-profile-meta{
    justify-content:center;
  }

  .student-id-strip{
    display:grid;
    grid-template-columns:1fr;
  }

  .student-id-strip>div{
    min-width:0;
    text-align:left;
  }

  .student-profile-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    margin-top:17px;
  }

  .student-quality-ring{
    grid-column:1/-1;
    margin:auto;
  }

  .student-detail-edit,
  .student-detail-print{
    width:100%;
  }

  .student-detail-tabs{
    margin-left:-2px;
    margin-right:-2px;
  }

  .student-detail-card{
    padding:16px;
  }

  .student-info-grid,
  .student-info-grid.three{
    grid-template-columns:1fr;
  }

  .parent-profile-grid{
    grid-template-columns:1fr;
  }
}



/* IMPORT_DATA_PREMIUM_V2 */

.import-data-shell{
  display:grid;
  gap:16px;
}

.import-data-hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  padding:25px 28px;
  overflow:hidden;
  border-radius:22px;
  background:
    radial-gradient(
      circle at 90% 20%,
      rgba(70,158,170,.18),
      transparent 28%
    ),
    linear-gradient(
      130deg,
      #0e3546,
      #155a6b
    );
  color:#fff;
  box-shadow:
    0 18px 45px rgba(13,48,66,.12);
}

.import-data-hero h2{
  margin:4px 0 7px;
  color:#fff;
  font-size:26px;
  letter-spacing:-.035em;
}

.import-data-hero p{
  max-width:620px;
  margin:0;
  color:#b7d0d7;
  font-size:10.5px;
  line-height:1.65;
}

.import-source-flow{
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
}

.import-source-node{
  min-width:150px;
  padding:13px 14px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  background:rgba(4,29,40,.22);
}

.import-source-node.primary{
  border-color:rgba(232,196,94,.28);
}

.import-source-node small{
  display:block;
  color:#8eb8c3;
  font-size:7px;
  font-weight:900;
  letter-spacing:.12em;
}

.import-source-node b{
  display:block;
  margin-top:4px;
  color:#fff;
  font-size:16px;
}

.import-source-node.primary b{
  color:#efd278;
}

.import-source-node span{
  display:block;
  margin-top:3px;
  color:#abc8d0;
  font-size:8px;
}

.import-source-arrow{
  color:#8fb5bf;
  font-size:18px;
}


/* Tabs */

.import-tabs{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
  padding:7px;
  border:1px solid #dfe8ea;
  border-radius:17px;
  background:#fff;
}

.import-tab{
  display:flex;
  align-items:center;
  gap:11px;
  padding:11px 14px;
  border:1px solid transparent;
  border-radius:12px;
  background:transparent;
  color:#61767e;
  text-align:left;
  cursor:pointer;
}

.import-tab>span{
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  border-radius:9px;
  background:#edf3f4;
  color:#71868d;
  font-size:8px;
  font-weight:900;
}

.import-tab b{
  display:block;
  font-size:10.5px;
}

.import-tab small{
  display:block;
  margin-top:2px;
  color:#93a0a5;
  font-size:8px;
}

.import-tab.active{
  border-color:#cbdde1;
  background:#f4f8f9;
  color:#164c5e;
}

.import-tab.active>span{
  background:#174f62;
  color:#fff;
}


/* main */

.import-main-card{
  padding:22px;
  border:1px solid #dfe7e9;
  border-radius:20px;
  background:#fff;
  box-shadow:
    0 14px 34px rgba(13,48,66,.05);
}

.import-card-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
}

.import-card-head h3{
  margin:0;
  color:#173742;
  font-size:17px;
}

.import-card-head p{
  max-width:660px;
  margin:5px 0 0;
  color:#7d8f96;
  font-size:9.5px;
  line-height:1.6;
}

.import-source-badge{
  padding:7px 11px;
  border-radius:9px;
  background:#fff7df;
  color:#9d751f;
  font-size:9px;
  font-weight:900;
}

.import-source-badge.emis{
  background:#e9f4f6;
  color:#176078;
}


/* rules */

.import-rule-grid{
  display:grid;
  grid-template-columns:
    repeat(3,minmax(0,1fr));
  gap:9px;
  margin-top:17px;
}

.import-rule-grid>div{
  display:flex;
  gap:9px;
  padding:10px 11px;
  border:1px solid #e3eaec;
  border-radius:12px;
  background:#fafcfc;
}

.import-rule-grid p{
  margin:0;
  color:#64787f;
  font-size:8.5px;
  line-height:1.5;
}

.import-rule-grid b{
  display:block;
  color:#354f58;
  font-size:9px;
}

.import-rule-icon{
  width:24px;
  height:24px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  border-radius:8px;
  font-size:9px;
  font-weight:900;
}

.import-rule-icon.safe{
  background:#e5f5f0;
  color:#087a62;
}

.import-rule-icon.conflict{
  background:#fff2d8;
  color:#af7815;
}

.import-rule-icon.lock{
  background:#edf1f2;
  color:#64777e;
}


/* upload */

.import-upload-zone{
  display:grid;
  grid-template-columns:
    auto minmax(0,1fr) auto auto;
  align-items:center;
  gap:12px;
  margin-top:16px;
  padding:17px;
  border:1px dashed #bed1d6;
  border-radius:15px;
  background:#f8fbfb;
}

.import-upload-icon{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:13px;
  background:#174f62;
  color:#fff;
  font-size:8px;
  font-weight:900;
}

.import-upload-icon.emis{
  background:#2d7284;
}

.import-upload-copy b{
  display:block;
  color:#294853;
  font-size:10px;
}

.import-upload-copy p{
  margin:3px 0 0;
  color:#839399;
  font-size:8.5px;
}

.import-selected-file{
  margin-top:5px;
  color:#176379;
  font-size:8px;
  font-weight:750;
}

.import-file-button{
  cursor:pointer;
}


/* preview */

.rdm-preview{
  margin-top:20px;
  padding-top:18px;
  border-top:1px solid #e4eaec;
}

.rdm-preview-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:15px;
}

.rdm-preview-head h3{
  margin:0;
  color:#23434e;
  font-size:15px;
}

.rdm-preview-head p{
  margin:4px 0 0;
  color:#87969b;
  font-size:9px;
}

.import-summary-grid{
  display:grid;
  grid-template-columns:
    repeat(4,minmax(0,1fr));
  gap:9px;
  margin-top:14px;
}

.import-summary-grid.emis-summary{
  grid-template-columns:
    repeat(3,minmax(0,1fr));
}

.import-summary-grid article{
  padding:13px;
  border:1px solid #e1e9eb;
  border-radius:13px;
  background:#fafcfc;
}

.import-summary-grid article.new{
  background:#f2faf7;
  border-color:#d4ebe3;
}

.import-summary-grid article.update{
  background:#f1f8fa;
  border-color:#d5e9ee;
}

.import-summary-grid article.conflict{
  background:#fff8ea;
  border-color:#f0dfba;
}

.import-summary-grid small{
  display:block;
  color:#84959b;
  font-size:7px;
  font-weight:900;
  letter-spacing:.08em;
}

.import-summary-grid strong{
  display:block;
  margin-top:4px;
  color:#1e414e;
  font-size:21px;
}

.import-summary-grid span{
  display:block;
  margin-top:1px;
  color:#8b9a9f;
  font-size:7.5px;
}


/* notices */

.import-conflict-notice,
.import-safe-notice,
.import-emis-notice{
  margin-top:13px;
  padding:11px 13px;
  border-radius:11px;
  font-size:8.5px;
  line-height:1.55;
}

.import-conflict-notice{
  border:1px solid #eddab0;
  background:#fff8e8;
  color:#765c2c;
}

.import-safe-notice{
  border:1px solid #cfe8df;
  background:#f0faf6;
  color:#28715e;
}

.import-emis-notice{
  border:1px solid #d8e7ea;
  background:#f5f9fa;
  color:#587078;
}

.import-emis-notice b{
  display:block;
  color:#285462;
}

.import-emis-notice p{
  margin:3px 0 0;
}


/* table */

.rdm-preview-table-wrap{
  overflow:auto;
  margin-top:13px;
  border:1px solid #e1e8ea;
  border-radius:13px;
}

.rdm-preview-table{
  width:100%;
  min-width:880px;
}

.rdm-preview-table th{
  padding:9px 10px;
  background:#f5f8f9;
  color:#71858c;
  font-size:7px;
  letter-spacing:.06em;
}

.rdm-preview-table td{
  padding:9px 10px;
  vertical-align:top;
  font-size:8.8px;
}

.rdm-student-cell{
  min-width:210px;
}

.rdm-student-cell>b{
  display:block;
  color:#294953;
}

.rdm-student-cell>small{
  display:block;
  margin-top:2px;
  color:#95a2a7;
  font-size:7.5px;
}

.rdm-match-label{
  display:inline-block;
  padding:4px 6px;
  border-radius:7px;
  background:#eef4f5;
  color:#5a727b;
  font-size:7.5px;
}

.rdm-row-conflict{
  background:#fffdf8;
}

.rdm-conflict-list{
  display:grid;
  gap:5px;
  margin-top:8px;
}

.rdm-conflict-item{
  padding:7px;
  border:1px solid #eddcb9;
  border-radius:8px;
  background:#fff9ed;
}

.rdm-conflict-item>b{
  display:block;
  margin-bottom:4px;
  color:#9b6911;
  font-size:7.5px;
}

.rdm-conflict-item>div{
  display:grid;
  grid-template-columns:65px 1fr;
  gap:5px;
  margin-top:2px;
}

.rdm-conflict-item span{
  color:#98876d;
  font-size:7px;
}

.rdm-conflict-item strong{
  overflow-wrap:anywhere;
  color:#5f513b;
  font-size:7.5px;
}


/* feedback */

.import-success-panel{
  display:flex;
  align-items:flex-start;
  gap:14px;
  margin-top:20px;
  padding:18px;
  border:1px solid #cee7df;
  border-radius:15px;
  background:#f2faf7;
}

.import-success-icon{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  border-radius:12px;
  background:#0a8b70;
  color:#fff;
  font-weight:900;
}

.import-success-panel h3{
  margin:1px 0 4px;
  color:#28534a;
  font-size:14px;
}

.import-success-panel p{
  margin:0;
  color:#66817a;
  font-size:9px;
}

.import-success-actions{
  display:flex;
  gap:7px;
  margin-top:11px;
}

.import-error-box{
  margin-top:15px;
  padding:13px;
  border:1px solid #efd2cd;
  border-radius:12px;
  background:#fff5f3;
  color:#914e44;
}

.import-error-box b{
  font-size:10px;
}

.import-error-box p{
  margin:3px 0 0;
  font-size:8.5px;
}


/* mobile */

@media(max-width:900px){

  .import-data-hero{
    display:block;
  }

  .import-source-flow{
    margin-top:17px;
  }

  .import-upload-zone{
    grid-template-columns:auto 1fr;
  }

  .import-upload-zone>.btn,
  .import-upload-zone>.import-file-button{
    width:100%;
  }

  .import-rule-grid{
    grid-template-columns:1fr;
  }
}


@media(max-width:620px){

  .import-data-hero{
    padding:20px;
  }

  .import-source-flow{
    display:grid;
    grid-template-columns:1fr;
  }

  .import-source-arrow{
    display:none;
  }

  .import-tabs{
    grid-template-columns:1fr;
  }

  .import-upload-zone{
    grid-template-columns:1fr;
  }

  .import-upload-icon{
    width:43px;
    height:43px;
  }

  .rdm-preview-head{
    display:block;
  }

  .rdm-preview-head>.btn{
    width:100%;
    margin-top:11px;
  }

  .import-summary-grid,
  .import-summary-grid.emis-summary{
    grid-template-columns:1fr 1fr;
  }

  .import-success-actions{
    display:grid;
    grid-template-columns:1fr;
  }
}


/* STUDENT_DOCUMENTS_V1 */

.student-document-shell{
  display:grid;
  gap:16px;
}

.student-document-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
}

.student-document-head h3{
  margin:0;
  color:#173641;
  font-size:17px;
}

.student-document-head p{
  max-width:620px;
  margin:5px 0 0;
  color:#809198;
  font-size:9.5px;
  line-height:1.55;
}


/* summary */

.student-document-summary{
  display:flex;
  align-items:center;
  gap:15px;
  margin-top:17px;
  padding:13px 15px;
  border:1px solid #dbe8e5;
  border-radius:14px;
  background:#f4faf8;
}

.student-document-summary-score{
  width:66px;
  min-width:66px;
  height:66px;
  display:grid;
  place-items:center;
  align-content:center;
  border-radius:19px;
  background:
    linear-gradient(
      145deg,
      #0c826b,
      #166b68
    );
  color:#fff;
}

.student-document-summary-score strong{
  font-size:18px;
}

.student-document-summary-score span{
  margin-top:2px;
  font-size:7px;
  opacity:.82;
}

.student-document-summary>div:last-child>b{
  color:#31564e;
  font-size:10.5px;
}

.student-document-summary>div:last-child>p{
  margin:4px 0 0;
  color:#748c85;
  font-size:8.5px;
}


/* cards */

.student-document-grid{
  display:grid;
  grid-template-columns:
    repeat(3,minmax(0,1fr));
  gap:10px;
  margin-top:16px;
}

.student-document-card{
  min-width:0;
  padding:14px;
  border:1px solid #e0e8ea;
  border-radius:15px;
  background:#fafcfc;
}

.student-document-card.available{
  border-color:#d5e6e1;
  background:#fbfdfc;
}

.student-document-card.missing{
  border-style:dashed;
}

.student-document-card-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
}

.student-document-type-icon{
  width:35px;
  height:35px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  border-radius:10px;
  background:#e7f0f2;
  color:#18566a;
  font-size:8.5px;
  font-weight:900;
}

.student-document-type-icon.small{
  width:29px;
  height:29px;
  border-radius:8px;
  font-size:7.5px;
}

.student-document-status{
  padding:4px 7px;
  border-radius:999px;
  font-size:7px;
  font-weight:850;
}

.student-document-status.ok{
  background:#e7f6f1;
  color:#08765e;
}

.student-document-status.empty{
  background:#f1f4f5;
  color:#78898f;
}

.student-document-card h4{
  margin:10px 0 0;
  color:#2c4b56;
  font-size:11px;
}

.student-document-file{
  min-height:72px;
  margin-top:9px;
  padding-top:9px;
  border-top:1px solid #e4eaec;
}

.student-document-file>b{
  display:block;
  overflow:hidden;
  color:#486169;
  font-size:8.5px;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.student-document-file>small{
  display:block;
  margin-top:3px;
  color:#929fa4;
  font-size:7.5px;
}

.student-document-file>p{
  margin:6px 0 0;
  color:#788c92;
  font-size:7.5px;
  line-height:1.45;
}

.student-document-empty{
  min-height:91px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  margin-top:7px;
}

.student-document-empty p{
  margin:0;
  color:#8a999e;
  font-size:8px;
  line-height:1.45;
}

.student-doc-upload-link{
  align-self:flex-start;
  margin-top:7px;
  padding:0;
  border:0;
  background:none;
  color:#16657a;
  font-size:8px;
  font-weight:850;
  cursor:pointer;
}


/* actions */

.student-document-actions{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
  margin-top:9px;
}

.student-doc-action{
  padding:5px 7px;
  border:1px solid #dbe5e7;
  border-radius:7px;
  background:#fff;
  color:#536b73;
  text-decoration:none;
  font:inherit;
  font-size:7px;
  font-weight:800;
  cursor:pointer;
}

.student-doc-action.preview{
  border-color:#cddfe3;
  background:#eef6f7;
  color:#185c70;
}

.student-doc-action.danger{
  border-color:#ecd9d5;
  background:#fff7f5;
  color:#a0584f;
}


/* other docs */

.student-document-other{
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid #e3eaec;
}

.student-document-other-head{
  display:flex;
  justify-content:space-between;
  gap:15px;
  align-items:center;
}

.student-document-other-head h4{
  margin:0;
  color:#334f58;
  font-size:11px;
}

.student-document-other-head p{
  margin:3px 0 0;
  color:#8b999e;
  font-size:8px;
}

.student-document-other-list{
  display:grid;
  gap:6px;
  margin-top:10px;
}

.student-document-other-row{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  padding:9px 10px;
  border:1px solid #e4eaec;
  border-radius:11px;
  background:#fafcfc;
}

.student-document-other-row>div:nth-child(2)>b{
  display:block;
  color:#405c65;
  font-size:8.5px;
}

.student-document-other-row>div:nth-child(2)>small{
  display:block;
  margin-top:2px;
  color:#909da2;
  font-size:7.5px;
}

.student-document-other-actions{
  display:flex;
  gap:5px;
}

.student-document-other-empty{
  margin-top:9px;
  padding:13px;
  border:1px dashed #d7e1e3;
  border-radius:10px;
  color:#95a1a5;
  font-size:8px;
  text-align:center;
}


/* upload modal */

.student-document-upload-modal{
  width:min(600px,100%);
  max-height:92vh;
  overflow:auto;
  border-radius:23px;
  background:#fff;
  box-shadow:
    0 35px 100px rgba(0,0,0,.28);
}

.student-document-form{
  display:grid;
  gap:13px;
  padding:21px 24px;
}

.student-document-form label{
  color:#425961;
  font-size:9.5px;
  font-weight:700;
}

.student-document-form input,
.student-document-form select,
.student-document-form textarea{
  width:100%;
  margin-top:6px;
  padding:11px 12px;
  border:1px solid #dce5e7;
  border-radius:11px;
  background:#fff;
  color:#1c3944;
  font:inherit;
  font-size:10px;
}

.student-document-form textarea{
  resize:vertical;
}

.student-document-form small{
  display:block;
  margin-top:5px;
  color:#929fa4;
  font-size:7.5px;
}


/* preview modal */

.student-document-preview-backdrop{
  position:fixed;
  inset:0;
  z-index:1200;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:22px;
  background:rgba(3,23,32,.76);
  backdrop-filter:blur(8px);
}

.student-document-preview-modal{
  width:min(1000px,96vw);
  height:min(820px,92vh);
  display:grid;
  grid-template-rows:auto minmax(0,1fr);
  overflow:hidden;
  border-radius:22px;
  background:#fff;
  box-shadow:
    0 35px 100px rgba(0,0,0,.36);
}

.student-document-preview-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  padding:15px 18px;
  border-bottom:1px solid #e3eaec;
}

.student-document-preview-head h3{
  margin:0;
  color:#284751;
  font-size:12px;
}

.student-document-preview-body{
  min-height:0;
  display:grid;
  place-items:center;
  overflow:auto;
  background:#edf2f3;
}

.student-document-preview-body iframe{
  width:100%;
  height:100%;
  border:0;
  background:#fff;
}

.student-document-preview-body img{
  display:block;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}

.student-document-loading,
.student-document-error{
  padding:35px 20px;
  color:#829399;
  font-size:9px;
  text-align:center;
}

.student-document-error b{
  display:block;
  color:#8e5048;
  font-size:10px;
}

.student-document-error p{
  margin:4px 0 12px;
}


/* responsive */

@media(max-width:900px){

  .student-document-grid{
    grid-template-columns:
      repeat(2,minmax(0,1fr));
  }
}


@media(max-width:620px){

  .student-document-head{
    display:block;
  }

  .student-document-head>.btn{
    width:100%;
    margin-top:12px;
  }

  .student-document-summary{
    align-items:flex-start;
  }

  .student-document-grid{
    grid-template-columns:1fr;
  }

  .student-document-other-row{
    grid-template-columns:
      auto minmax(0,1fr);
  }

  .student-document-other-actions{
    grid-column:1/-1;
    padding-left:39px;
    flex-wrap:wrap;
  }

  .student-document-preview-backdrop{
    padding:0;
  }

  .student-document-preview-modal{
    width:100%;
    height:100%;
    border-radius:0;
  }
}


/* STUDENT_EDUCATION_HISTORY_V1 */

.student-education-shell{
  display:grid;
  gap:16px;
}

.student-education-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
}

.student-education-head h3{
  margin:0;
  color:#173641;
  font-size:17px;
}

.student-education-head p{
  margin:5px 0 0;
  color:#84949a;
  font-size:9px;
}


/* SUMMARY */

.student-education-summary{
  display:grid;
  grid-template-columns:
    repeat(3,minmax(0,1fr));
  gap:9px;
  margin-top:17px;
}

.student-education-summary article{
  padding:13px;
  border:1px solid #e0e8ea;
  border-radius:13px;
  background:#fafcfc;
}

.student-education-summary small{
  display:block;
  color:#87969b;
  font-size:7px;
  font-weight:900;
  letter-spacing:.08em;
}

.student-education-summary strong{
  display:block;
  margin-top:5px;
  color:#244752;
  font-size:13px;
}

.student-education-summary span{
  display:block;
  margin-top:3px;
  color:#87979c;
  font-size:7.5px;
}


/* TIMELINE */

.student-history-timeline{
  position:relative;
  display:grid;
  margin-top:22px;
}

.student-history-item{
  display:grid;
  grid-template-columns:26px minmax(0,1fr);
}

.student-history-line{
  position:relative;
  display:flex;
  justify-content:center;
}

.student-history-line:after{
  content:"";
  position:absolute;
  top:16px;
  bottom:0;
  width:1px;
  background:#d7e4e6;
}

.student-history-item:last-child
.student-history-line:after{
  display:none;
}

.student-history-dot{
  position:relative;
  z-index:2;
  width:11px;
  height:11px;
  margin-top:4px;
  border:3px solid #fff;
  border-radius:50%;
  background:#8ba9b0;
  box-shadow:
    0 0 0 1px #cadcdf;
}

.student-history-item.current
.student-history-dot{
  background:#0b9277;
  box-shadow:
    0 0 0 1px #70bbaa,
    0 0 0 5px rgba(11,146,119,.08);
}

.student-history-content{
  margin-bottom:18px;
  padding:13px 14px;
  border:1px solid #e0e8ea;
  border-radius:14px;
  background:#fbfcfc;
}

.student-history-item.current
.student-history-content{
  border-color:#cce4dd;
  background:#f7fbfa;
}

.student-history-period{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:7px;
}

.student-history-period>div{
  margin-right:auto;
}

.student-history-period small{
  display:block;
  color:#84969c;
  font-size:6.8px;
  font-weight:900;
  letter-spacing:.08em;
}

.student-history-period strong{
  display:block;
  margin-top:2px;
  color:#34525c;
  font-size:10px;
}

.student-semester-badge,
.student-current-badge{
  padding:4px 7px;
  border-radius:999px;
  font-size:6.8px;
  font-weight:900;
}

.student-semester-badge{
  background:#eaf2f4;
  color:#526f78;
}

.student-current-badge{
  background:#def2ec;
  color:#087860;
}

.student-history-class{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-top:12px;
}

.student-history-class span{
  color:#7e9298;
  font-size:7.5px;
}

.student-history-class h4{
  margin:2px 0 0;
  color:#1d4653;
  font-size:14px;
}

.student-history-meta{
  display:grid;
  grid-template-columns:
    repeat(2,minmax(0,1fr));
  gap:8px;
  margin-top:11px;
}

.student-history-meta>div{
  padding:8px 9px;
  border-radius:9px;
  background:#f1f5f6;
}

.student-history-meta small{
  display:block;
  color:#88989d;
  font-size:6.5px;
  font-weight:900;
  letter-spacing:.07em;
}

.student-history-meta b{
  display:block;
  margin-top:3px;
  color:#4b636b;
  font-size:8px;
}

.student-history-note{
  margin-top:9px;
  padding:8px 9px;
  border-left:3px solid #bad3d8;
  border-radius:4px 8px 8px 4px;
  background:#f3f7f8;
  color:#6c8087;
  font-size:8px;
  line-height:1.55;
}

.student-history-actions{
  display:flex;
  gap:5px;
  margin-top:10px;
}


/* EMPTY */

.student-education-empty{
  min-height:270px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  margin-top:18px;
  padding:25px;
  border:1px dashed #d5e1e3;
  border-radius:15px;
  background:#fafcfc;
  text-align:center;
}

.student-education-empty>span{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:#e7f1f3;
  color:#18586b;
  font-size:9px;
  font-weight:900;
}

.student-education-empty h4{
  margin:12px 0 4px;
  color:#36545e;
  font-size:12px;
}

.student-education-empty p{
  max-width:520px;
  margin:0;
  color:#83949a;
  font-size:8.5px;
  line-height:1.6;
}

.student-current-class-hint{
  margin:11px 0;
  padding:8px 11px;
  border-radius:9px;
  background:#edf5f6;
  color:#698088;
  font-size:8px;
}

.student-current-class-hint b{
  color:#22576a;
}


/* MODAL */

.student-education-modal{
  width:min(760px,100%);
  max-height:92vh;
  overflow:auto;
  border-radius:24px;
  background:#fff;
  box-shadow:
    0 35px 100px rgba(0,0,0,.30);
}

.student-education-form-grid{
  display:grid;
  grid-template-columns:
    repeat(2,minmax(0,1fr));
  gap:13px 15px;
  padding:22px 25px;
}

.student-education-form-grid label{
  color:#425961;
  font-size:9.5px;
  font-weight:700;
}

.student-education-form-grid label.full{
  grid-column:1/-1;
}

.student-education-form-grid input,
.student-education-form-grid select,
.student-education-form-grid textarea{
  width:100%;
  margin-top:6px;
  padding:11px 12px;
  border:1px solid #dce5e7;
  border-radius:11px;
  background:#fff;
  color:#1d3a45;
  outline:none;
  font:inherit;
  font-size:10px;
}

.student-education-form-grid textarea{
  resize:vertical;
}

.student-education-form-grid input:focus,
.student-education-form-grid select:focus,
.student-education-form-grid textarea:focus{
  border-color:#73a8b4;
  box-shadow:
    0 0 0 3px rgba(31,104,123,.08);
}

.student-education-form-grid label>small{
  display:block;
  margin-top:4px;
  color:#96a2a6;
  font-size:7.5px;
}

.student-education-current{
  display:flex !important;
  align-items:flex-start;
  gap:10px;
  padding:11px 12px;
  border:1px solid #d6e6e2;
  border-radius:11px;
  background:#f4faf8;
  cursor:pointer;
}

.student-education-current input{
  width:auto !important;
  margin:2px 0 0 !important;
}

.student-education-current b{
  display:block;
  color:#30574e;
  font-size:9px;
}

.student-education-current span small{
  display:block;
  margin-top:2px;
  color:#789087;
  font-size:7.5px;
}

.student-education-loading,
.student-education-error{
  padding:35px 20px;
  color:#829399;
  font-size:9px;
  text-align:center;
}

.student-education-error b{
  display:block;
  color:#8e5048;
  font-size:10px;
}

.student-education-error p{
  margin:4px 0 12px;
}


/* RESPONSIVE */

@media(max-width:720px){

  .student-education-summary{
    grid-template-columns:1fr;
  }

  .student-education-form-grid{
    grid-template-columns:1fr;
    padding:19px 18px;
  }

  .student-education-form-grid label.full{
    grid-column:auto;
  }

  .student-history-meta{
    grid-template-columns:1fr;
  }
}


@media(max-width:620px){

  .student-education-head{
    display:block;
  }

  .student-education-head>.btn{
    width:100%;
    margin-top:12px;
  }

  .student-history-class{
    align-items:flex-start;
  }
}


/* AUTO_EDUCATION_HISTORY_V2 */

.auto-education-modal{
  width:min(900px,96vw);
  max-height:92vh;
  overflow:auto;
  border-radius:24px;
  background:#fff;
  box-shadow:
    0 35px 100px rgba(0,0,0,.30);
}

.auto-education-form{
  display:grid;
  grid-template-columns:
    minmax(0,1fr)
    minmax(0,1fr)
    auto;
  align-items:end;
  gap:12px;
  padding:20px 24px 10px;
}

.auto-education-form label{
  color:#425961;
  font-size:9px;
  font-weight:750;
}

.auto-education-form input,
.auto-education-form select{
  width:100%;
  margin-top:6px;
  padding:10px 11px;
  border:1px solid #dbe5e7;
  border-radius:10px;
  background:#fff;
  font:inherit;
  font-size:9.5px;
}

.auto-education-info{
  display:grid;
  grid-template-columns:
    repeat(4,minmax(0,1fr));
  gap:7px;
  margin:5px 24px 0;
  padding:10px;
  border:1px solid #dbe8e5;
  border-radius:12px;
  background:#f4faf8;
}

.auto-education-info b{
  grid-column:1/-1;
  color:#2d574d;
  font-size:8.5px;
}

.auto-education-info span{
  color:#708981;
  font-size:7.5px;
  line-height:1.45;
}

.auto-education-result{
  padding:15px 24px 24px;
}

.auto-history-summary{
  display:grid;
  grid-template-columns:
    repeat(4,minmax(0,1fr));
  gap:8px;
}

.auto-history-summary article{
  padding:11px 12px;
  border:1px solid #e0e8ea;
  border-radius:12px;
  background:#fafcfc;
}

.auto-history-summary article.ready{
  border-color:#d0e7df;
  background:#f1faf6;
}

.auto-history-summary article.records{
  border-color:#d6e5ea;
  background:#f1f7f9;
}

.auto-history-summary small{
  display:block;
  color:#85969b;
  font-size:6.7px;
  font-weight:900;
  letter-spacing:.06em;
}

.auto-history-summary strong{
  display:block;
  margin-top:4px;
  color:#244852;
  font-size:18px;
}

.auto-history-action{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  margin-top:11px;
  padding:11px 12px;
  border:1px solid #d3e6e1;
  border-radius:12px;
  background:#f5faf8;
}

.auto-history-action b{
  color:#31574e;
  font-size:9px;
}

.auto-history-action p{
  margin:3px 0 0;
  color:#789087;
  font-size:7.5px;
}

.auto-history-empty{
  margin-top:11px;
  padding:13px;
  border:1px dashed #d8e2e4;
  border-radius:11px;
  color:#85969b;
  font-size:8px;
  text-align:center;
}

.auto-history-table-wrap{
  overflow:auto;
  margin-top:12px;
  border:1px solid #e0e8ea;
  border-radius:12px;
}

.auto-history-table{
  width:100%;
  min-width:700px;
}

.auto-history-table th{
  padding:8px 9px;
  background:#f5f8f9;
  color:#74888e;
  font-size:6.8px;
}

.auto-history-table td{
  padding:8px 9px;
  vertical-align:top;
  font-size:8px;
}

.auto-history-table td>b{
  color:#34535d;
  font-size:8.5px;
}

.auto-history-table td>small{
  color:#8b9a9f;
  font-size:7px;
}

.auto-history-warning{
  display:block;
  max-width:350px;
  margin-top:4px;
  color:#a16a14 !important;
  line-height:1.4;
}

.auto-history-detail-preview{
  display:grid;
  gap:5px;
  margin-top:12px;
  padding:11px;
  border:1px solid #dde7e9;
  border-radius:12px;
  background:#fafcfc;
}

.auto-history-detail-preview h4{
  margin:0 0 4px;
  color:#3b5862;
  font-size:9px;
}

.auto-history-detail-preview>div{
  display:grid;
  grid-template-columns:
    100px 85px 70px 1fr;
  gap:7px;
  padding:6px 7px;
  border-radius:7px;
  background:#f1f5f6;
  color:#60777e;
  font-size:7.5px;
}

.auto-history-detail-preview b{
  color:#31594f;
}

.auto-history-bulk-btn{
  margin-left:6px;
}

#autoFirstStudentEducation{
  margin-right:6px;
}

@media(max-width:720px){

  .auto-education-form{
    grid-template-columns:1fr;
  }

  .auto-education-form>.btn{
    width:100%;
  }

  .auto-education-info{
    grid-template-columns:1fr;
  }

  .auto-history-summary{
    grid-template-columns:1fr 1fr;
  }

  .auto-history-action{
    display:block;
  }

  .auto-history-action>.btn{
    width:100%;
    margin-top:10px;
  }

  .auto-history-detail-preview>div{
    grid-template-columns:1fr 1fr;
  }
}



/* AUTO_EDUCATION_HISTORY_V3 */

.auto-v3-modal{
  width:min(1120px,96vw);
}

.auto-v3-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  margin:4px 24px 0;
  padding:10px 12px;
  border:1px solid #dde8e7;
  border-radius:12px;
  background:#f6faf9;
}

.auto-v3-toolbar b{
  display:block;
  color:#33564e;
  font-size:8.5px;
}

.auto-v3-toolbar span{
  display:block;
  margin-top:2px;
  color:#7d908a;
  font-size:7.5px;
}

.auto-v3-reset-btn,
.auto-v3-inline-reset{
  border-color:#ead8d4 !important;
  background:#fff8f6 !important;
  color:#9d544b !important;
}

.auto-v3-notice{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:11px;
  padding:9px 11px;
  border:1px solid #d7e7e3;
  border-radius:10px;
  background:#f3f9f7;
}

.auto-v3-notice b{
  color:#2e5b50;
  font-size:8px;
}

.auto-v3-notice span{
  color:#748b84;
  font-size:7.5px;
}

.auto-v3-table{
  min-width:920px;
}

.auto-v3-table th:nth-child(1){
  width:220px;
}

.auto-v3-table th:nth-child(2){
  width:110px;
}

.auto-v3-table th:nth-child(3){
  width:90px;
}

.auto-v3-table th:nth-child(4){
  width:110px;
}

.auto-v3-table th:nth-child(5){
  width:210px;
}

.auto-v3-table select,
.auto-v3-table input{
  width:100%;
  padding:7px 8px;
  border:1px solid #dbe5e7;
  border-radius:8px;
  background:#fff;
  color:#31505a;
  font:inherit;
  font-size:8px;
}

.auto-v3-table select:focus,
.auto-v3-table input:focus{
  border-color:#7aaab4;
  outline:none;
  box-shadow:
    0 0 0 2px rgba(34,106,124,.07);
}

.student-education-head
.auto-v3-inline-reset{
  margin-left:auto;
}

@media(max-width:720px){

  .auto-v3-toolbar{
    display:block;
  }

  .auto-v3-reset-btn{
    width:100%;
    margin-top:9px;
  }

  .auto-v3-notice{
    display:block;
  }
}


/* CLASS_GROUP_MASTER_V1 */

.class-master-shell{
  display:grid;
  gap:15px;
}

.class-master-hero{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:25px;
  padding:24px 27px;
  border-radius:21px;
  background:
    radial-gradient(
      circle at 90% 20%,
      rgba(76,170,177,.17),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #10394a,
      #155b69
    );
  color:#fff;
}

.class-master-hero h2{
  margin:4px 0 6px;
  color:#fff;
  font-size:24px;
}

.class-master-hero p{
  max-width:620px;
  margin:0;
  color:#b8d0d6;
  font-size:9.5px;
  line-height:1.6;
}

.class-master-hero-actions{
  display:flex;
  gap:8px;
}


/* YEAR */

.class-master-toolbar{
  display:flex;
  align-items:flex-end;
  gap:10px;
  padding:13px 15px;
  border:1px solid #dfe8ea;
  border-radius:14px;
  background:#fff;
}

.class-master-toolbar label{
  min-width:250px;
  color:#597078;
  font-size:8px;
  font-weight:800;
}

.class-master-toolbar select{
  width:100%;
  margin-top:5px;
  padding:9px 10px;
  border:1px solid #d9e4e6;
  border-radius:9px;
  background:#fff;
  color:#294a55;
  font:inherit;
  font-size:9px;
}

.class-active-year-badge{
  display:inline-flex;
  align-items:center;
  min-height:35px;
  padding:0 11px;
  border-radius:9px;
  background:#e8f6f1;
  color:#08755f;
  font-size:8px;
  font-weight:850;
}


/* SUMMARY */

.class-master-summary{
  display:grid;
  grid-template-columns:
    repeat(4,minmax(0,1fr));
  gap:9px;
}

.class-master-summary article{
  padding:12px 13px;
  border:1px solid #dfe8ea;
  border-radius:13px;
  background:#fff;
}

.class-master-summary article.warning{
  border-color:#ebdeb9;
  background:#fffaf0;
}

.class-master-summary small{
  display:block;
  color:#84959b;
  font-size:6.8px;
  font-weight:900;
  letter-spacing:.07em;
}

.class-master-summary strong{
  display:block;
  margin-top:5px;
  color:#234651;
  font-size:16px;
}

.class-master-summary span{
  display:block;
  margin-top:2px;
  color:#87979c;
  font-size:7.5px;
}


/* PANEL */

.class-master-panel{
  padding:20px;
  border:1px solid #dfe7e9;
  border-radius:18px;
  background:#fff;
}

.class-master-panel-head h3{
  margin:0;
  color:#294a55;
  font-size:15px;
}

.class-master-panel-head p{
  margin:4px 0 0;
  color:#849399;
  font-size:8.5px;
}


/* GROUP */

.class-group-grid{
  display:grid;
  grid-template-columns:
    repeat(3,minmax(0,1fr));
  gap:10px;
  margin-top:15px;
}

.class-group-card{
  min-width:0;
  padding:14px;
  border:1px solid #dfe8ea;
  border-radius:14px;
  background:#fafcfc;
}

.class-group-card-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.class-grade-badge{
  width:35px;
  height:35px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:#174f62;
  color:#fff;
  font-size:13px;
  font-weight:900;
}

.class-group-title{
  margin-top:11px;
}

.class-group-title small{
  color:#82949a;
  font-size:6.5px;
  font-weight:900;
  letter-spacing:.08em;
}

.class-group-title h3{
  margin:2px 0 0;
  color:#274b57;
  font-size:14px;
}

.class-group-title span{
  display:block;
  margin-top:2px;
  color:#89989d;
  font-size:7.5px;
}

.class-group-info{
  display:grid;
  grid-template-columns:
    1fr 70px;
  gap:6px;
  margin-top:12px;
}

.class-group-info>div{
  padding:8px;
  border-radius:9px;
  background:#f0f5f6;
}

.class-group-info small{
  display:block;
  color:#87969b;
  font-size:6.3px;
  font-weight:900;
}

.class-group-info b{
  display:block;
  margin-top:3px;
  overflow:hidden;
  color:#49636b;
  font-size:8px;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.class-group-actions{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
  margin-top:11px;
}

.class-delete-btn{
  color:#a1574d !important;
}


/* EMPTY */

.class-master-empty{
  min-height:220px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  margin-top:14px;
  padding:20px;
  border:1px dashed #d5e1e3;
  border-radius:13px;
  background:#fafcfc;
  text-align:center;
}

.class-master-empty.compact{
  min-height:100px;
  margin:0;
}

.class-master-empty>span{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:#e7f1f3;
  color:#1d5c6d;
  font-size:8px;
  font-weight:900;
}

.class-master-empty h4{
  margin:10px 0 3px;
  color:#3c5861;
  font-size:11px;
}

.class-master-empty p{
  margin:0 0 10px;
  color:#87979c;
  font-size:8px;
}


/* MODAL */

.class-master-modal{
  width:min(620px,96vw);
  max-height:92vh;
  overflow:auto;
  border-radius:23px;
  background:#fff;
  box-shadow:
    0 35px 100px rgba(0,0,0,.30);
}

.class-master-form,
.class-master-form-grid{
  display:grid;
  gap:13px;
  padding:20px 24px;
}

.class-master-form-grid{
  grid-template-columns:
    1fr 1fr;
}

.class-master-form-grid .full{
  grid-column:1/-1;
}

.class-master-form label,
.class-master-form-grid label{
  color:#445d65;
  font-size:9px;
  font-weight:750;
}

.class-master-form input,
.class-master-form select,
.class-master-form-grid input,
.class-master-form-grid select{
  width:100%;
  margin-top:6px;
  padding:10px 11px;
  border:1px solid #dae5e7;
  border-radius:10px;
  background:#fff;
  color:#294953;
  font:inherit;
  font-size:9px;
}

.class-master-check{
  display:flex !important;
  align-items:flex-start;
  gap:9px;
  padding:10px;
  border:1px solid #dbe8e5;
  border-radius:10px;
  background:#f5faf8;
}

.class-master-check input{
  width:auto !important;
  margin:2px 0 0 !important;
}

.class-master-check b{
  display:block;
  color:#34594f;
  font-size:8.5px;
}

.class-master-check small{
  display:block;
  margin-top:2px;
  color:#7d918a;
  font-size:7px;
}


/* STUDENT ASSIGNMENT */

.class-assignment-modal{
  width:min(820px,96vw);
  max-height:92vh;
  overflow:auto;
  border-radius:23px;
  background:#fff;
  box-shadow:
    0 35px 100px rgba(0,0,0,.30);
}

.class-assignment-body{
  padding:18px 22px;
}

.class-assignment-current{
  padding:11px;
  border:1px solid #dce7e9;
  border-radius:11px;
  background:#f7fafb;
}

.class-assignment-current h4{
  margin:0;
  color:#405d66;
  font-size:9px;
}

.class-assignment-current h4 span{
  margin-left:4px;
  padding:2px 6px;
  border-radius:999px;
  background:#e2eef0;
  font-size:7px;
}

.class-assignment-current p{
  margin:5px 0 0;
  color:#87969b;
  font-size:7.5px;
}

.class-current-students{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
  margin-top:8px;
}

.class-current-students span{
  padding:4px 7px;
  border-radius:999px;
  background:#eaf3f4;
  color:#587179;
  font-size:7px;
}

.class-assignment-search{
  margin-top:11px;
}

.class-assignment-search input{
  width:100%;
  padding:10px 11px;
  border:1px solid #dce5e7;
  border-radius:10px;
  font:inherit;
  font-size:9px;
}

.class-student-picker{
  max-height:330px;
  overflow:auto;
  display:grid;
  gap:5px;
  margin-top:8px;
}

.class-student-option{
  display:flex;
  align-items:flex-start;
  gap:9px;
  padding:9px;
  border:1px solid #e1e9eb;
  border-radius:9px;
  background:#fafcfc;
  cursor:pointer;
}

.class-student-option input{
  margin-top:2px;
}

.class-student-option b{
  display:block;
  color:#3c5962;
  font-size:8.5px;
}

.class-student-option small{
  display:block;
  margin-top:2px;
  color:#8a999e;
  font-size:7px;
}

.class-assignment-note{
  margin-top:10px;
  padding:8px 10px;
  border-radius:9px;
  background:#fff8e9;
  color:#806533;
  font-size:7.5px;
  line-height:1.5;
}


@media(max-width:900px){

  .class-group-grid{
    grid-template-columns:
      repeat(2,minmax(0,1fr));
  }

  .class-master-summary{
    grid-template-columns:1fr 1fr;
  }
}


@media(max-width:620px){

  .class-master-hero{
    display:block;
  }

  .class-master-hero-actions{
    display:grid;
    grid-template-columns:1fr;
    margin-top:14px;
  }

  .class-master-toolbar{
    display:block;
  }

  .class-master-toolbar label{
    min-width:0;
  }

  .class-master-toolbar .btn,
  .class-active-year-badge{
    width:100%;
    margin-top:8px;
  }

  .class-group-grid{
    grid-template-columns:1fr;
  }

  .class-master-form-grid{
    grid-template-columns:1fr;
  }

  .class-master-form-grid .full{
    grid-column:auto;
  }
}


/* CLASS_NAV_ICON_V1 */
.classes-nav-icon{
  width:36px;
  height:36px;
  flex:0 0 36px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:rgba(255,255,255,.05);
  color:#8cafb8;
}

.classes-nav-icon svg{
  width:18px;
  height:18px;
  display:block;
}

.nav.active .classes-nav-icon{
  background:rgba(255,255,255,.07);
  color:#e7c35a;
}


/* BULK_NIS_LOCAL_V2 */

.nis-bulk-head{
  align-items:flex-start;
}

.nis-bulk-head-actions{
  display:flex;
  align-items:center;
  gap:9px;
  margin-left:auto;
}

.nis-bulk-info{
  display:flex;
  align-items:center;
  gap:12px;
  margin:14px 0 0;
  padding:10px 12px;
  border:1px solid #d8e6e3;
  border-radius:11px;
  background:#f3f9f7;
}

.nis-bulk-info b{
  color:#315c51;
  font-size:8px;
}

.nis-bulk-info span{
  color:#768c85;
  font-size:7.5px;
}

.nis-bulk-table-wrap{
  margin-top:13px;
}

.nis-bulk-table th:first-child{
  width:50px;
}

.nis-bulk-input{
  width:100%;
  min-width:125px;
  padding:10px 11px;
  border:1px solid #d7e2e5;
  border-radius:10px;
  background:#fff;
  font:inherit;
}

.nis-bulk-input:focus{
  outline:none;
  border-color:#6da4b0;
  box-shadow:
    0 0 0 3px rgba(33,103,121,.07);
}

.nis-bulk-input.invalid{
  border-color:#df8b7f;
  background:#fff8f6;
}

.nis-input-error{
  display:block;
  min-height:12px;
  margin-top:4px;
  color:#a34f45;
  font-size:7px;
}

.nis-bulk-table .nis-preview{
  min-width:175px;
  color:#235365;
  font-family:monospace;
  font-size:9px;
}

.nis-bulk-footer{
  position:sticky;
  bottom:0;
  z-index:5;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  margin-top:12px;
  padding:11px 13px;
  border:1px solid #dbe5e7;
  border-radius:12px;
  background:rgba(255,255,255,.96);
  box-shadow:
    0 -8px 25px rgba(17,54,67,.05);
  backdrop-filter:blur(8px);
}

#nisBulkStatus{
  color:#657b83;
  font-size:8px;
  font-weight:750;
}

@media(max-width:700px){

  .nis-bulk-head-actions{
    width:100%;
    margin:10px 0 0;
  }

  .nis-bulk-head{
    display:block;
  }

  .nis-bulk-info{
    display:block;
  }

  .nis-bulk-footer{
    display:block;
  }

  .nis-bulk-footer .btn{
    width:100%;
    margin-top:8px;
  }
}


/* ============================================================
   DATA_QUALITY_CENTER_V1
   ============================================================ */

.dq-page{
  display:grid;
  gap:16px;
}

.dq-hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:24px 26px;
  border-radius:20px;
  background:
    linear-gradient(
      135deg,
      #123d49,
      #1d5962
    );
  color:#fff;
  box-shadow:
    0 18px 40px rgba(17,57,68,.14);
}

.dq-eyebrow{
  margin-bottom:6px;
  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
  color:#e3c96a;
}

.dq-hero h2{
  margin:0 0 7px;
  font-size:24px;
}

.dq-hero p{
  max-width:700px;
  margin:0;
  color:rgba(255,255,255,.72);
  font-size:12px;
  line-height:1.65;
}

.dq-hero-score{
  min-width:115px;
  padding:15px 18px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;
  background:rgba(255,255,255,.07);
  text-align:center;
}

.dq-hero-score strong{
  display:block;
  font-size:29px;
  line-height:1;
  color:#f2d46e;
}

.dq-hero-score span{
  display:block;
  margin-top:6px;
  font-size:10px;
  color:rgba(255,255,255,.7);
}

.dq-summary-grid{
  display:grid;
  grid-template-columns:
    repeat(6,minmax(0,1fr));
  gap:10px;
}

.dq-summary-card{
  display:block;
  min-height:118px;
  padding:15px;
  border:1px solid #e1e9e8;
  border-radius:15px;
  background:#fff;
  text-align:left;
  cursor:pointer;
  transition:
    transform .15s ease,
    border-color .15s ease,
    box-shadow .15s ease;
}

.dq-summary-card:hover{
  transform:translateY(-2px);
  box-shadow:
    0 10px 24px rgba(20,64,76,.08);
}

.dq-summary-card.active{
  border-color:#4f8a92;
  box-shadow:
    0 0 0 3px rgba(44,113,123,.08);
}

.dq-summary-card span{
  display:block;
  min-height:28px;
  color:#657d80;
  font-size:9px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.dq-summary-card strong{
  display:block;
  margin:5px 0;
  color:#234850;
  font-size:26px;
}

.dq-summary-card small{
  color:#92a2a1;
  font-size:8px;
}

.dq-summary-card.dq-good strong{
  color:#36765e;
}

.dq-summary-card.dq-danger strong{
  color:#a8504a;
}

.dq-main-card{
  overflow:hidden;
}

.dq-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding-bottom:13px;
  border-bottom:1px solid #edf1f1;
}

.dq-toolbar h3{
  margin:0 0 4px;
}

.dq-toolbar p{
  margin:0;
  color:#849493;
  font-size:9px;
}

.dq-toolbar-actions{
  display:flex;
  gap:8px;
}

.dq-toolbar-actions input{
  width:285px;
  max-width:40vw;
}

.dq-filter-row{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:13px;
}

.dq-filter-chip{
  padding:7px 11px;
  border:1px solid #dde6e5;
  border-radius:999px;
  background:#fff;
  color:#687b7d;
  font-size:8px;
  font-weight:800;
  cursor:pointer;
}

.dq-filter-chip.active{
  border-color:#38747d;
  background:#edf7f6;
  color:#285d65;
}

.dq-result-note{
  margin:12px 0 7px;
  color:#889796;
  font-size:8px;
}

.dq-student-list{
  display:grid;
  gap:8px;
}

.dq-student-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  padding:13px 14px;
  border:1px solid #e6eceb;
  border-radius:14px;
  background:#fff;
}

.dq-student-main{
  display:flex;
  align-items:flex-start;
  gap:13px;
  min-width:0;
  flex:1;
}

.dq-score{
  width:68px;
  min-width:68px;
  height:68px;
  display:grid;
  place-content:center;
  border-radius:50%;
  border:6px solid #e7eeee;
  text-align:center;
}

.dq-score.good{
  border-color:#b9ded0;
}

.dq-score.medium{
  border-color:#e7d796;
}

.dq-score.bad{
  border-color:#ecc1bb;
}

.dq-score strong{
  display:block;
  color:#315860;
  font-size:15px;
}

.dq-score span{
  display:block;
  margin-top:1px;
  color:#8b9b99;
  font-size:6px;
  text-transform:uppercase;
}

.dq-student-info{
  min-width:0;
  flex:1;
}

.dq-student-title{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}

.dq-student-title h4{
  margin:1px 0 3px;
  color:#284d54;
  font-size:12px;
}

.dq-student-title p{
  margin:0;
  color:#879694;
  font-size:8px;
}

.dq-issues{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
  margin-top:9px;
}

.dq-issue{
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:5px 7px;
  border-radius:8px;
  background:#f6f7f3;
  color:#7a765e;
  font-size:7px;
}

.dq-issue b{
  color:#6b6956;
}

.dq-issue.critical{
  background:#fff0ee;
  color:#a1544c;
}

.dq-issue.critical b{
  color:#8c453e;
}

.dq-more{
  display:inline-flex;
  align-items:center;
  padding:5px 7px;
  border-radius:8px;
  background:#eef4f4;
  color:#60777a;
  font-size:7px;
  font-weight:800;
}

.dq-ready-line{
  margin-top:9px;
  color:#46816a;
  font-size:8px;
  font-weight:700;
}

.dq-student-actions{
  flex:0 0 auto;
}

@media(max-width:1100px){

  .dq-summary-grid{
    grid-template-columns:
      repeat(3,minmax(0,1fr));
  }
}

@media(max-width:720px){

  .dq-hero{
    display:block;
  }

  .dq-hero-score{
    margin-top:14px;
  }

  .dq-summary-grid{
    grid-template-columns:
      repeat(2,minmax(0,1fr));
  }

  .dq-toolbar{
    display:block;
  }

  .dq-toolbar-actions{
    margin-top:10px;
  }

  .dq-toolbar-actions input{
    width:100%;
    max-width:none;
  }

  .dq-student-card{
    display:block;
  }

  .dq-student-actions{
    margin-top:10px;
  }

  .dq-student-actions .btn{
    width:100%;
  }
}


/* ============================================================
   DATA QUALITY CENTER V1.2
   ============================================================ */

.dq-readiness-grid{
  display:grid;
  grid-template-columns:
    repeat(3,minmax(90px,135px));
  gap:7px;
  margin-top:9px;
}

.dq-readiness-item{
  padding:8px 10px;
  border:1px solid #e7edec;
  border-radius:10px;
  background:#fafcfc;
}

.dq-readiness-item span{
  display:block;
  margin-bottom:3px;
  color:#81918f;
  font-size:6px;
  font-weight:900;
  letter-spacing:.05em;
  text-transform:uppercase;
}

.dq-readiness-item strong{
  display:block;
  font-size:12px;
}

.dq-readiness-item small{
  display:block;
  margin-top:2px;
  color:#8c9998;
  font-size:6px;
}

.dq-text-good{
  color:#39765f;
}

.dq-text-warn{
  color:#a07032;
}

@media(max-width:720px){

  .dq-readiness-grid{
    grid-template-columns:
      repeat(3,minmax(0,1fr));
  }
}


/* ============================================================
   DATA QUALITY QUICK FIX V1
   ============================================================ */

.dq-qf-backdrop{
  z-index:2200;
}

.dq-qf-modal{
  width:min(900px,94vw);
  max-height:90vh;
  overflow:auto;
  border-radius:20px;
  background:#fff;
  box-shadow:
    0 28px 75px rgba(19,55,65,.25);
}

.dq-qf-head{
  position:sticky;
  top:0;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  padding:20px 22px 16px;
  border-bottom:1px solid #e8eeee;
  background:#fff;
}

.dq-qf-head h2{
  margin:0 0 3px;
  color:#294d54;
  font-size:20px;
}

.dq-qf-head p{
  margin:0;
  color:#75898b;
  font-size:10px;
  font-weight:700;
}

.dq-qf-summary{
  display:grid;
  grid-template-columns:
    repeat(3,minmax(0,1fr));
  gap:9px;
  padding:16px 22px 0;
}

.dq-qf-summary > div{
  padding:12px 14px;
  border:1px solid #e5eceb;
  border-radius:12px;
  background:#f9fbfb;
}

.dq-qf-summary span{
  display:block;
  margin-bottom:3px;
  color:#899997;
  font-size:7px;
  font-weight:900;
  letter-spacing:.06em;
}

.dq-qf-summary strong{
  color:#305a62;
  font-size:17px;
}

.dq-qf-grid{
  display:grid;
  grid-template-columns:
    repeat(2,minmax(0,1fr));
  gap:10px;
  padding:16px 22px 22px;
}

.dq-qf-card{
  padding:14px;
  border:1px solid #e4ebea;
  border-radius:14px;
  background:#fff;
}

.dq-qf-card.complete{
  background:#f8fcfa;
  border-color:#dcebe4;
}

.dq-qf-card.needs-fix{
  background:#fffdfa;
}

.dq-qf-card-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.dq-qf-card-head span{
  display:block;
  margin-bottom:3px;
  color:#81918f;
  font-size:7px;
  font-weight:900;
  letter-spacing:.06em;
}

.dq-qf-card-head strong{
  color:#31575e;
  font-size:11px;
}

.dq-qf-issue-list{
  display:grid;
  gap:5px;
  margin-top:10px;
}

.dq-qf-issue{
  display:flex;
  align-items:flex-start;
  gap:7px;
  color:#857d63;
  font-size:8px;
  line-height:1.45;
}

.dq-qf-issue > span{
  width:6px;
  height:6px;
  min-width:6px;
  margin-top:3px;
  border-radius:50%;
  background:#d8b75d;
}

.dq-qf-issue.critical{
  color:#a25249;
}

.dq-qf-issue.critical > span{
  background:#c75b50;
}

.dq-qf-complete{
  margin-top:10px;
  color:#478068;
  font-size:9px;
  font-weight:800;
}

.dq-qf-more{
  color:#8e9998;
  font-size:7px;
}

.dq-qf-action-row{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:11px;
}

.dq-qf-foot{
  padding:12px 22px 18px;
  border-top:1px solid #edf1f1;
  color:#899795;
  font-size:8px;
}

.dq-fix-highlight{
  padding:7px 10px !important;
  margin-left:-10px !important;
  border-radius:8px;
  outline:2px solid rgba(205,171,69,.38);
  background:#fff7d8 !important;
  transition:.25s ease;
}

.dq-tab-highlight{
  box-shadow:
    0 0 0 3px rgba(205,171,69,.20);
}

.dq-page-highlight{
  animation:
    dqPagePulse 1.4s ease 1;
}

@keyframes dqPagePulse{

  0%{
    filter:none;
  }

  35%{
    filter:
      drop-shadow(
        0 0 8px rgba(210,177,75,.25)
      );
  }

  100%{
    filter:none;
  }
}

@media(max-width:720px){

  .dq-qf-grid{
    grid-template-columns:1fr;
    padding-left:14px;
    padding-right:14px;
  }

  .dq-qf-summary{
    padding-left:14px;
    padding-right:14px;
  }

  .dq-qf-head{
    padding-left:14px;
    padding-right:14px;
  }
}


/* ============================================================
   MASTER SUBJECTS V1
   ============================================================ */

.subjects-page{
  display:grid;
  gap:16px;
}

.subjects-hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:24px 26px;
  border-radius:20px;
  background:
    linear-gradient(
      135deg,
      #183e48,
      #285f66
    );
  color:#fff;
  box-shadow:
    0 18px 40px
    rgba(20,57,66,.13);
}

.subjects-eyebrow{
  margin-bottom:6px;
  color:#e5cb6e;
  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
}

.subjects-hero h2{
  margin:0 0 7px;
  font-size:24px;
}

.subjects-hero p{
  max-width:650px;
  margin:0;
  color:rgba(255,255,255,.72);
  font-size:11px;
  line-height:1.65;
}

.subjects-add-btn{
  flex:0 0 auto;
}

.subjects-summary{
  display:grid;
  grid-template-columns:
    repeat(3,minmax(0,1fr));
  gap:10px;
}

.subjects-stat{
  padding:15px 17px;
  border:1px solid #e3eae9;
  border-radius:15px;
  background:#fff;
}

.subjects-stat span{
  display:block;
  color:#7d9090;
  font-size:8px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.05em;
}

.subjects-stat strong{
  display:block;
  margin:4px 0;
  color:#29515a;
  font-size:25px;
}

.subjects-stat small{
  color:#94a1a0;
  font-size:8px;
}

.subjects-table-wrap{
  overflow:auto;
}

.subjects-table{
  width:100%;
  border-collapse:collapse;
}

.subjects-table th{
  padding:10px 9px;
  border-bottom:1px solid #e8eded;
  color:#738887;
  font-size:8px;
  text-align:left;
  text-transform:uppercase;
}

.subjects-table td{
  padding:10px 9px;
  border-bottom:1px solid #edf1f1;
  color:#536b6d;
  font-size:9px;
}

.subject-code{
  display:inline-block;
  padding:4px 7px;
  border-radius:7px;
  background:#eef5f4;
  color:#315e65;
  font-family:monospace;
  font-weight:800;
}

.subject-name{
  color:#2d5259;
}

.subject-group{
  color:#657c7d;
}

.subject-order{
  display:inline-grid;
  width:27px;
  height:27px;
  place-items:center;
  border-radius:8px;
  background:#f4f6f3;
  color:#65716d;
  font-weight:800;
}

.subject-actions{
  display:flex;
  gap:5px;
}

.subject-modal{
  width:min(650px,94vw);
  max-height:90vh;
  overflow:auto;
  border-radius:20px;
  background:#fff;
  box-shadow:
    0 28px 75px
    rgba(17,52,61,.25);
}

.subject-form-grid{
  display:grid;
  grid-template-columns:
    repeat(2,minmax(0,1fr));
  gap:12px;
  padding:20px;
}

.subject-form-grid label{
  color:#526b6d;
  font-size:9px;
  font-weight:800;
}

.subject-form-grid label.full{
  grid-column:1 / -1;
}

.subject-form-grid input{
  width:100%;
  margin-top:5px;
}

.subject-form-grid small{
  display:block;
  margin-top:4px;
  color:#91a09f;
  font-size:7px;
  font-weight:400;
}

.subject-status-field{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border:1px solid #e6eceb;
  border-radius:11px;
  background:#fafcfc;
}

.subject-status-field input{
  width:auto;
  margin:0;
}

.subject-modal-actions{
  display:flex;
  justify-content:flex-end;
  gap:7px;
  padding:14px 20px 20px;
  border-top:1px solid #edf1f1;
}

@media(max-width:720px){

  .subjects-hero{
    display:block;
  }

  .subjects-add-btn{
    width:100%;
    margin-top:14px;
  }

  .subjects-summary{
    grid-template-columns:1fr;
  }

  .subject-form-grid{
    grid-template-columns:1fr;
  }

  .subject-form-grid label.full{
    grid-column:auto;
  }
}


/* ============================================================
   NILAI SEMESTER V1
   ============================================================ */

.semester-grades-page{
  display:grid;
  gap:16px;
}

.semester-grades-hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:24px 26px;
  border-radius:20px;
  background:
    linear-gradient(
      135deg,
      #173f49,
      #26606a
    );
  color:#fff;
  box-shadow:
    0 18px 40px
    rgba(20,57,66,.13);
}

.semester-grades-eyebrow{
  margin-bottom:6px;
  color:#e7ce70;
  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
}

.semester-grades-hero h2{
  margin:0 0 7px;
  font-size:24px;
}

.semester-grades-hero p{
  max-width:650px;
  margin:0;
  color:rgba(255,255,255,.72);
  font-size:11px;
  line-height:1.65;
}

.semester-grades-hero-badge{
  flex:0 0 auto;
  padding:9px 12px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:10px;
  background:rgba(255,255,255,.08);
  color:#f1d875;
  font-size:8px;
  font-weight:900;
  letter-spacing:.09em;
}

.semester-grades-filter-grid{
  display:grid;
  grid-template-columns:
    1.1fr .9fr 1.2fr 1.5fr auto;
  align-items:end;
  gap:10px;
}

.semester-grades-filter-grid label{
  color:#587173;
  font-size:8px;
  font-weight:900;
}

.semester-grades-filter-grid select{
  width:100%;
  margin-top:5px;
}

.semester-grades-load-wrap{
  display:flex;
}

.semester-grades-empty{
  padding:35px 20px;
  text-align:center;
}

.semester-grades-empty strong{
  color:#31585f;
  font-size:13px;
}

.semester-grades-empty p{
  margin:5px 0 0;
  color:#879695;
  font-size:9px;
}

.semester-grade-sheet-card{
  padding-bottom:0;
  overflow:hidden;
}

.semester-grade-sheet-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  padding-bottom:13px;
  border-bottom:1px solid #e9eeee;
}

.semester-grade-sheet-head h3{
  margin:1px 0 4px;
  color:#2d535b;
}

.semester-grade-sheet-head p{
  margin:0;
  color:#849594;
  font-size:8px;
}

.semester-grade-progress{
  min-width:80px;
  text-align:right;
}

.semester-grade-progress strong{
  display:block;
  color:#356b65;
  font-size:18px;
}

.semester-grade-progress span{
  color:#889796;
  font-size:7px;
}

.semester-grade-tools{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 0;
}

.semester-grade-tools small{
  color:#899896;
  font-size:7px;
}

.semester-grade-table-wrap{
  overflow:auto;
  border:1px solid #e6eceb;
  border-radius:12px;
}

.semester-grade-table{
  width:100%;
  min-width:850px;
  border-collapse:collapse;
}

.semester-grade-table th{
  padding:9px 8px;
  background:#f5f8f8;
  border-bottom:1px solid #e1e8e7;
  color:#6d8282;
  font-size:7px;
  text-align:left;
  text-transform:uppercase;
}

.semester-grade-table td{
  padding:8px;
  border-bottom:1px solid #edf1f1;
  vertical-align:top;
  color:#526b6d;
  font-size:8px;
}

.semester-grade-table tr:last-child td{
  border-bottom:0;
}

.semester-grade-no{
  width:38px;
  text-align:center;
}

.semester-grade-student-name{
  display:block;
  margin-bottom:3px;
  color:#294f57;
  font-size:9px;
}

.semester-grade-table td small{
  color:#8b9998;
  font-size:7px;
}

.semester-grade-score{
  width:82px !important;
  text-align:center;
  font-weight:800;
}

.semester-grade-competency{
  width:100%;
  min-width:340px;
  resize:vertical;
  line-height:1.45;
  font-size:8px;
}

.semester-grade-save-bar{
  position:sticky;
  bottom:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  margin:14px -16px 0;
  padding:12px 16px;
  border-top:1px solid #e2e9e8;
  background:rgba(255,255,255,.97);
  box-shadow:
    0 -7px 20px rgba(24,60,70,.05);
}

.semester-grade-save-bar strong{
  display:block;
  color:#315a61;
  font-size:9px;
}

.semester-grade-save-bar small{
  display:block;
  margin-top:2px;
  color:#8c9a99;
  font-size:7px;
}

@media(max-width:1000px){

  .semester-grades-filter-grid{
    grid-template-columns:
      repeat(2,minmax(0,1fr));
  }

  .semester-grades-load-wrap{
    grid-column:1 / -1;
  }

  .semester-grades-load-wrap .btn{
    width:100%;
  }
}

@media(max-width:720px){

  .semester-grades-hero{
    display:block;
  }

  .semester-grades-hero-badge{
    display:inline-block;
    margin-top:13px;
  }

  .semester-grades-filter-grid{
    grid-template-columns:1fr;
  }

  .semester-grades-load-wrap{
    grid-column:auto;
  }

  .semester-grade-tools{
    display:block;
  }

  .semester-grade-tools small{
    display:block;
    margin-top:7px;
  }
}


/* ============================================================
   IMPORT LEGER RDM V1
   ============================================================ */

.semester-grades-hero-actions{
  display:flex;
  align-items:center;
  gap:8px;
}

.ledger-import-trigger{
  background:#eed36d;
  color:#244d55;
  border-color:#eed36d;
  white-space:nowrap;
}

.ledger-import-backdrop{
  position:fixed;
  inset:0;
  z-index:5000;
  display:grid;
  place-items:center;
  padding:18px;
  background:rgba(16,37,43,.58);
  backdrop-filter:blur(4px);
}

.ledger-import-modal{
  width:min(1080px,96vw);
  max-height:92vh;
  overflow:auto;
  border-radius:20px;
  background:#fff;
  box-shadow:
    0 30px 90px
    rgba(11,35,42,.28);
}

.ledger-import-head{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:20px 22px 16px;
  border-bottom:1px solid #e8eeee;
}

.ledger-import-head h2{
  margin:2px 0 5px;
  color:#294f57;
}

.ledger-import-head p{
  max-width:680px;
  margin:0;
  color:#7b8f90;
  font-size:9px;
  line-height:1.6;
}

.ledger-import-close{
  width:34px;
  height:34px;
  border:0;
  border-radius:10px;
  background:#f0f5f4;
  color:#587071;
  font-size:19px;
  cursor:pointer;
}

.ledger-import-upload{
  display:flex;
  align-items:end;
  gap:12px;
  padding:16px 22px;
  background:#f8fafa;
  border-bottom:1px solid #e8eeee;
}

.ledger-import-filebox{
  flex:1;
}

.ledger-import-filebox label{
  display:block;
  margin-bottom:5px;
  color:#526b6d;
  font-size:8px;
  font-weight:900;
}

.ledger-import-filebox input{
  width:100%;
}

.ledger-import-filebox small{
  display:block;
  margin-top:5px;
  color:#879696;
  font-size:7px;
}

.ledger-import-result{
  padding:18px 22px 22px;
}

.ledger-import-empty{
  display:grid;
  gap:4px;
  padding:35px;
  text-align:center;
  color:#718686;
}

.ledger-preview-meta{
  display:grid;
  grid-template-columns:
    repeat(5,minmax(0,1fr));
  gap:8px;
  margin-bottom:10px;
}

.ledger-preview-meta>div,
.ledger-preview-stats>div{
  padding:10px 11px;
  border:1px solid #e3ebea;
  border-radius:11px;
  background:#fafcfc;
}

.ledger-preview-meta span,
.ledger-preview-stats span{
  display:block;
  color:#839494;
  font-size:7px;
  font-weight:800;
  text-transform:uppercase;
}

.ledger-preview-meta strong{
  display:block;
  margin-top:4px;
  color:#315861;
  font-size:9px;
}

.ledger-preview-stats{
  display:grid;
  grid-template-columns:
    repeat(7,minmax(0,1fr));
  gap:7px;
  margin-bottom:12px;
}

.ledger-preview-stats strong{
  display:block;
  margin-top:3px;
  color:#315861;
  font-size:17px;
}

.ledger-message{
  margin:9px 0;
  padding:11px 13px;
  border-radius:10px;
  font-size:8px;
  line-height:1.6;
}

.ledger-message strong{
  display:block;
  margin-bottom:3px;
}

.ledger-message.danger{
  border:1px solid #efcaca;
  background:#fff4f4;
  color:#9a4444;
}

.ledger-message.warning{
  border:1px solid #eadca9;
  background:#fffaf0;
  color:#806923;
}

.ledger-subject-map{
  margin:13px 0;
}

.ledger-subject-map>strong{
  display:block;
  margin-bottom:7px;
  color:#526d70;
  font-size:8px;
}

.ledger-subject-map>div{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
}

.ledger-subject-map span{
  padding:5px 7px;
  border-radius:7px;
  background:#edf5f3;
  color:#3f6968;
  font-size:7px;
  font-weight:800;
}

.ledger-student-table-wrap{
  overflow:auto;
  max-height:370px;
  border:1px solid #e2e9e8;
  border-radius:12px;
}

.ledger-student-table{
  width:100%;
  min-width:800px;
  border-collapse:collapse;
}

.ledger-student-table th{
  position:sticky;
  top:0;
  z-index:1;
  padding:8px;
  background:#f3f7f6;
  border-bottom:1px solid #dde6e5;
  color:#708484;
  font-size:7px;
  text-align:left;
  text-transform:uppercase;
}

.ledger-student-table td{
  padding:8px;
  border-bottom:1px solid #edf1f1;
  color:#526b6d;
  font-size:8px;
  vertical-align:top;
}

.ledger-student-table td strong{
  display:block;
  color:#2d545c;
}

.ledger-student-table td small{
  display:block;
  margin-top:2px;
  color:#879696;
  font-size:7px;
}

.ledger-status{
  display:inline-block;
  margin-bottom:3px;
  padding:3px 6px;
  border-radius:6px;
  font-size:6px;
  font-weight:900;
}

.ledger-status.ready{
  background:#e5f5ec;
  color:#2f7753;
}

.ledger-status.review{
  background:#fff3d5;
  color:#8b6c22;
}

.ledger-status.conflict{
  background:#fde8e8;
  color:#9a4747;
}

.ledger-checksum{
  font-weight:900;
}

.ledger-checksum.ok{
  color:#35785a;
}

.ledger-checksum.bad{
  color:#a14b4b;
}

.ledger-import-footer{
  position:sticky;
  bottom:-22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:14px -22px -22px;
  padding:13px 22px;
  border-top:1px solid #e1e9e8;
  background:rgba(255,255,255,.98);
  box-shadow:
    0 -10px 25px
    rgba(26,61,68,.06);
}

.ledger-import-footer strong{
  display:block;
  color:#315861;
  font-size:9px;
}

.ledger-import-footer small{
  display:block;
  max-width:620px;
  margin-top:3px;
  color:#879696;
  font-size:7px;
}

@media(max-width:850px){

  .semester-grades-hero-actions{
    margin-top:12px;
    flex-wrap:wrap;
  }

  .ledger-import-upload{
    display:block;
  }

  .ledger-import-upload .btn{
    width:100%;
    margin-top:10px;
  }

  .ledger-preview-meta,
  .ledger-preview-stats{
    grid-template-columns:
      repeat(2,minmax(0,1fr));
  }

  .ledger-import-footer{
    display:block;
  }

  .ledger-import-footer .btn{
    width:100%;
    margin-top:10px;
  }
}



/* ============================================================
   STUDENT ACADEMIC RECAP V1
   ============================================================ */

.academic-recap-shell{
  display:grid;
  gap:14px;
}

.academic-recap-hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:20px 22px;
  border-radius:18px;
  background:
    linear-gradient(
      135deg,
      #173f49,
      #28616a
    );
  color:#fff;
  box-shadow:
    0 16px 35px
    rgba(20,57,66,.10);
}

.academic-recap-hero h2{
  margin:2px 0 5px;
  font-size:20px;
}

.academic-recap-hero p{
  max-width:620px;
  margin:0;
  color:rgba(255,255,255,.72);
  font-size:9px;
  line-height:1.6;
}

.academic-recap-summary{
  display:grid;
  grid-template-columns:
    repeat(3,minmax(70px,1fr));
  gap:7px;
}

.academic-recap-summary>div{
  padding:9px 12px;
  border:1px solid
    rgba(255,255,255,.13);
  border-radius:10px;
  background:
    rgba(255,255,255,.07);
  text-align:center;
}

.academic-recap-summary span{
  display:block;
  color:
    rgba(255,255,255,.65);
  font-size:6px;
  font-weight:800;
  text-transform:uppercase;
}

.academic-recap-summary strong{
  display:block;
  margin-top:3px;
  color:#f2d879;
  font-size:17px;
}

.academic-period-card{
  overflow:hidden;
  border:1px solid #e0e8e7;
  border-radius:15px;
  background:#fff;
}

.academic-period-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 16px;
  border-bottom:1px solid #e7ecec;
}

.academic-period-head h3{
  margin:2px 0 0;
  color:#2e565e;
  font-size:13px;
}

.academic-period-badges{
  display:flex;
  gap:5px;
  flex-wrap:wrap;
}

.academic-period-badges span{
  padding:5px 8px;
  border-radius:7px;
  background:#edf5f3;
  color:#416966;
  font-size:7px;
  font-weight:800;
}

.academic-table-wrap{
  overflow:auto;
}

.academic-recap-table{
  width:100%;
  min-width:750px;
  border-collapse:collapse;
}

.academic-recap-table th{
  padding:9px 10px;
  border-bottom:
    1px solid #e1e8e7;
  background:#f5f8f7;
  color:#6f8383;
  font-size:7px;
  text-align:left;
  text-transform:uppercase;
}

.academic-recap-table th:nth-child(2),
.academic-recap-table th:nth-child(3){
  width:95px;
  text-align:center;
}

.academic-recap-table td{
  padding:9px 10px;
  border-bottom:
    1px solid #edf1f1;
  color:#536c6e;
  font-size:8px;
  vertical-align:top;
}

.academic-subject-cell strong{
  display:block;
  color:#2c535b;
  font-size:9px;
}

.academic-subject-cell small{
  display:block;
  margin-top:2px;
  color:#8b9998;
  font-size:6px;
}

.academic-score-cell{
  text-align:center;
}

.academic-score-cell strong{
  display:block;
  color:#275861;
  font-size:13px;
}

.academic-score-cell small{
  display:block;
  margin-top:2px;
  color:#8a9998;
  font-size:6px;
}

.academic-competency-cell{
  max-width:380px;
}

.academic-competency-cell summary{
  color:#36706b;
  font-size:7px;
  font-weight:800;
  cursor:pointer;
}

.academic-competency-cell details div{
  margin-top:7px;
  padding:7px 8px;
  border-radius:7px;
  background:#f7f9f9;
}

.academic-competency-cell details b{
  display:block;
  color:#537072;
  font-size:7px;
}

.academic-competency-cell details p{
  margin:3px 0 0;
  color:#667d7e;
  font-size:7px;
  line-height:1.55;
}

.academic-summary-row td{
  border-top:
    2px solid #dfe7e6;
  background:#f9fbfb;
}

.academic-average-row td{
  background:#f2f7f6;
}

.academic-summary-row strong,
.academic-average-row strong{
  color:#315b61;
  font-size:9px;
}

.academic-average-row small{
  display:block;
  margin-top:2px;
  color:#8a9998;
  font-size:6px;
}

.academic-muted{
  color:#a1abaa;
}

.academic-readonly-note{
  padding:9px 12px;
  border:1px solid #e4eae9;
  border-radius:9px;
  background:#fafcfc;
  color:#829292;
  font-size:7px;
  text-align:center;
}

.academic-loading,
.academic-empty,
.academic-error{
  padding:30px 20px;
  text-align:center;
}

.academic-empty strong,
.academic-error strong{
  color:#315861;
}

.academic-empty p,
.academic-error p{
  color:#839393;
  font-size:8px;
}

.academic-error .btn{
  margin-top:8px;
}

@media(max-width:760px){

  .academic-recap-hero{
    display:block;
  }

  .academic-recap-summary{
    margin-top:12px;
  }

  .academic-period-head{
    display:block;
  }

  .academic-period-badges{
    margin-top:8px;
  }
}


/* ============================================================
   CETAK BUKU INDUK BUTTON ACTIVE V1
   ============================================================ */

.student-profile-actions .student-detail-print:not(:disabled){
  opacity:1 !important;
  cursor:pointer !important;

  background:
    linear-gradient(
      135deg,
      #f2d477,
      #ddb74d
    ) !important;

  color:#173f49 !important;

  border:
    1px solid
    rgba(255,255,255,.18) !important;

  box-shadow:
    0 8px 20px
    rgba(14,47,56,.16) !important;

  filter:none !important;
  pointer-events:auto !important;

  font-weight:900 !important;

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    filter .18s ease;
}


.student-profile-actions .student-detail-print:not(:disabled):hover{
  transform:
    translateY(-1px);

  box-shadow:
    0 12px 26px
    rgba(14,47,56,.22) !important;

  filter:
    brightness(1.03) !important;
}


.student-profile-actions .student-detail-print:not(:disabled):active{
  transform:
    translateY(0);
}


/*
 * Hanya tombol yang BENAR-BENAR disabled
 * yang boleh tampak abu-abu.
 */
.student-profile-actions .student-detail-print:disabled{
  opacity:.45 !important;
  cursor:not-allowed !important;
  background:
    rgba(255,255,255,.12) !important;
  color:
    rgba(255,255,255,.55) !important;
  box-shadow:none !important;
}


/* ============================================================
   MUTASI & KELULUSAN V1
   ============================================================ */

.lifecycle-shell{
  display:grid;
  gap:14px;
}

.lifecycle-hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:20px 22px;
  border-radius:18px;
  background:
    linear-gradient(
      135deg,
      #153f49,
      #28646b
    );
  color:#fff;
}

.lifecycle-hero h2{
  margin:3px 0 5px;
  font-size:20px;
}

.lifecycle-hero p{
  max-width:620px;
  margin:0;
  color:rgba(255,255,255,.72);
  font-size:9px;
  line-height:1.6;
}

.lifecycle-hero-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.lifecycle-current{
  min-width:130px;
  padding:9px 12px;
  border:
    1px solid
    rgba(255,255,255,.14);
  border-radius:10px;
  background:
    rgba(255,255,255,.07);
}

.lifecycle-current span{
  display:block;
  color:
    rgba(255,255,255,.62);
  font-size:6px;
  font-weight:800;
}

.lifecycle-current strong{
  display:block;
  margin-top:3px;
  color:#f0d273;
  font-size:11px;
}

.lifecycle-add-btn{
  white-space:nowrap;
}

.lifecycle-summary-grid{
  display:grid;
  grid-template-columns:
    repeat(3,minmax(0,1fr));
  gap:9px;
}

.lifecycle-summary-grid>div{
  padding:13px 15px;
  border:1px solid #dfe8e7;
  border-radius:13px;
  background:#fff;
}

.lifecycle-summary-grid span{
  display:block;
  color:#819293;
  font-size:7px;
  font-weight:800;
  text-transform:uppercase;
}

.lifecycle-summary-grid strong{
  display:block;
  margin-top:4px;
  color:#28565d;
  font-size:20px;
}

.lifecycle-summary-grid strong.textual{
  font-size:11px;
}

.lifecycle-summary-grid small{
  display:block;
  margin-top:3px;
  color:#879797;
  font-size:7px;
}

.lifecycle-list-card{
  padding:18px;
  border:1px solid #dfe8e7;
  border-radius:15px;
  background:#fff;
}

.lifecycle-list-head h3{
  margin:2px 0 0;
  color:#2b555d;
  font-size:13px;
}

.lifecycle-timeline{
  position:relative;
  display:grid;
  gap:10px;
  margin-top:15px;
}

.lifecycle-event{
  display:grid;
  grid-template-columns:
    62px 1fr;
  gap:12px;
  padding:13px;
  border:1px solid #e0e7e7;
  border-radius:12px;
  background:#fbfcfc;
}

.lifecycle-event-marker{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:58px;
  padding:5px;
  border-radius:9px;
  background:#e5f1ef;
  color:#346963;
  font-size:7px;
  font-weight:900;
  text-align:center;
}

.lifecycle-graduated
.lifecycle-event-marker{
  background:#fff1c7;
  color:#80651e;
}

.lifecycle-mutated_out
.lifecycle-event-marker,
.lifecycle-dropped_out
.lifecycle-event-marker{
  background:#fde9e9;
  color:#984a4a;
}

.lifecycle-deceased
.lifecycle-event-marker{
  background:#edf0f1;
  color:#647273;
}

.lifecycle-event-head{
  display:flex;
  justify-content:space-between;
  gap:12px;
}

.lifecycle-event-date{
  display:block;
  color:#8a9999;
  font-size:7px;
  font-weight:700;
}

.lifecycle-event-head h4{
  margin:3px 0;
  color:#2a525a;
  font-size:11px;
}

.lifecycle-event-head p{
  margin:0;
  color:#7b8e8f;
  font-size:7px;
}

.lifecycle-event-actions{
  display:flex;
  gap:5px;
}

.lifecycle-action{
  padding:5px 8px;
  border:1px solid #dbe4e3;
  border-radius:6px;
  background:#fff;
  color:#42676a;
  font-size:7px;
  font-weight:800;
  cursor:pointer;
}

.lifecycle-action.danger{
  color:#a34d4d;
}

.lifecycle-event-details{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:8px;
}

.lifecycle-detail-row{
  min-width:130px;
  padding:6px 8px;
  border-radius:7px;
  background:#f2f6f5;
}

.lifecycle-detail-row span{
  display:block;
  color:#899798;
  font-size:6px;
  text-transform:uppercase;
}

.lifecycle-detail-row strong{
  display:block;
  margin-top:2px;
  color:#496b6d;
  font-size:7px;
}

.lifecycle-notes{
  margin-top:8px;
  padding:8px 9px;
  border-left:3px solid #d9bc5f;
  background:#fffaf0;
  color:#687d7e;
  font-size:8px;
  line-height:1.55;
}

.lifecycle-empty,
.lifecycle-loading,
.lifecycle-error{
  padding:35px 20px;
  text-align:center;
  color:#718686;
}

.lifecycle-empty strong{
  color:#315a60;
}

.lifecycle-empty p{
  margin:5px 0 0;
  font-size:8px;
}

.lifecycle-modal-backdrop{
  position:fixed;
  inset:0;
  z-index:6000;
  display:grid;
  place-items:center;
  padding:18px;
  background:rgba(12,34,40,.62);
  backdrop-filter:blur(4px);
}

.lifecycle-modal{
  width:min(820px,96vw);
  max-height:92vh;
  overflow:auto;
  border-radius:18px;
  background:#fff;
  box-shadow:
    0 30px 90px
    rgba(9,31,37,.30);
}

.lifecycle-modal-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:17px 20px;
  border-bottom:1px solid #e4eaea;
}

.lifecycle-modal-head h3{
  margin:2px 0 0;
  color:#2b555d;
}

.lifecycle-modal-close{
  width:34px;
  height:34px;
  border:0;
  border-radius:9px;
  background:#f0f4f4;
  color:#617879;
  font-size:19px;
  cursor:pointer;
}

.lifecycle-form{
  padding:18px 20px 20px;
}

.lifecycle-form-grid{
  display:grid;
  grid-template-columns:
    repeat(2,minmax(0,1fr));
  gap:10px;
}

.lifecycle-form label span{
  display:block;
  margin-bottom:5px;
  color:#607779;
  font-size:7px;
  font-weight:900;
}

.lifecycle-form input,
.lifecycle-form select,
.lifecycle-form textarea{
  width:100%;
  padding:9px 10px;
  border:1px solid #d9e2e1;
  border-radius:8px;
  background:#fff;
  color:#2e555c;
  font:inherit;
  font-size:9px;
}

.lifecycle-form input:focus,
.lifecycle-form select:focus,
.lifecycle-form textarea:focus{
  outline:none;
  border-color:#5a8e8b;
  box-shadow:
    0 0 0 3px
    rgba(69,132,127,.10);
}

.lifecycle-form-section{
  margin-top:16px;
  padding-top:13px;
  border-top:1px solid #e6ebeb;
}

.lifecycle-form-section h4{
  margin:0 0 9px;
  color:#315b61;
  font-size:10px;
}

.lifecycle-notes-input{
  display:block;
}

.lifecycle-form-note{
  margin-top:12px;
  padding:9px 10px;
  border-radius:8px;
  background:#f6f9f8;
  color:#7b8d8e;
  font-size:7px;
}

.lifecycle-modal-footer{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  margin-top:16px;
}

.lifecycle-cancel{
  background:#eef3f2 !important;
  color:#577173 !important;
}

@media(max-width:760px){

  .lifecycle-hero{
    display:block;
  }

  .lifecycle-hero-actions{
    margin-top:12px;
  }

  .lifecycle-summary-grid,
  .lifecycle-form-grid{
    grid-template-columns:1fr;
  }

  .lifecycle-event{
    grid-template-columns:1fr;
  }

  .lifecycle-event-marker{
    min-height:auto;
  }

  .lifecycle-event-head{
    display:block;
  }

  .lifecycle-event-actions{
    margin-top:8px;
  }
}


/* ============================================================
   CETAK BUKU INDUK MASSAL V1
   ============================================================ */

.class-group-actions
.class-book-print-btn{
  border-color:
    rgba(212,177,76,.38) !important;

  background:
    rgba(238,205,104,.10) !important;

  color:#8a6a19 !important;
}


.class-group-actions
.class-book-print-btn:hover{
  background:
    linear-gradient(
      135deg,
      #f0d476,
      #deb84e
    ) !important;

  border-color:
    transparent !important;

  color:#173f49 !important;
}


@media(max-width:760px){

  .class-group-actions{
    flex-wrap:wrap;
  }

}


/* ============================================================
   CETAK BUKU INDUK MASSAL V1
   ============================================================ */

.class-group-actions
.class-book-print-btn{
  border-color:
    rgba(212,177,76,.38) !important;

  background:
    rgba(238,205,104,.10) !important;

  color:#8a6a19 !important;
}


.class-group-actions
.class-book-print-btn:hover{
  background:
    linear-gradient(
      135deg,
      #f0d476,
      #deb84e
    ) !important;

  border-color:
    transparent !important;

  color:#173f49 !important;
}


@media(max-width:760px){

  .class-group-actions{
    flex-wrap:wrap;
  }

}


/* ============================================================
   PDUM IMPORT V1
   ============================================================ */

.pdum-shell{
  display:grid;
  gap:14px;
}

.pdum-hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:22px 24px;
  border-radius:20px;
  background:
    linear-gradient(
      135deg,
      #173f49,
      #28636b
    );
  color:#fff;
  box-shadow:
    0 14px 35px
    rgba(18,58,66,.12);
}

.pdum-hero h2{
  margin:4px 0 6px;
  font-size:22px;
}

.pdum-hero p{
  max-width:610px;
  margin:0;
  color:
    rgba(255,255,255,.72);
  font-size:9px;
  line-height:1.6;
}

.pdum-source-flow{
  display:flex;
  align-items:center;
  gap:7px;
  flex:0 0 auto;
}

.pdum-source-flow>span{
  display:grid;
  min-width:86px;
  gap:3px;
  padding:9px 10px;
  border:
    1px solid
    rgba(255,255,255,.14);
  border-radius:10px;
  background:
    rgba(255,255,255,.07);
  color:
    rgba(255,255,255,.72);
  font-size:7px;
  font-weight:900;
  text-align:center;
}

.pdum-source-flow>span b{
  color:#fff;
  font-size:7px;
  font-weight:700;
}

.pdum-source-flow>span.active{
  border-color:
    rgba(237,207,105,.52);
  background:
    rgba(237,207,105,.15);
  color:#efd16f;
}

.pdum-source-flow>i{
  color:
    rgba(255,255,255,.42);
  font-style:normal;
}

.pdum-year-card{
  display:flex;
  align-items:flex-end;
  gap:15px;
  padding:13px 15px;
  border:1px solid #dfe8e6;
  border-radius:13px;
  background:#fff;
}

.pdum-year-card label{
  display:grid;
  gap:5px;
  min-width:220px;
}

.pdum-year-card label span{
  color:#6e8587;
  font-size:7px;
  font-weight:900;
  letter-spacing:.5px;
}

.pdum-year-card input{
  height:37px;
  padding:0 11px;
  border:1px solid #d5e1df;
  border-radius:8px;
  color:#315a60;
  font:inherit;
  font-size:10px;
  font-weight:700;
}

.pdum-year-card p{
  margin:0 0 8px;
  color:#879798;
  font-size:8px;
  line-height:1.5;
}

.pdum-import-grid{
  display:grid;
  grid-template-columns:
    repeat(2,minmax(0,1fr));
  gap:12px;
}

.pdum-import-card{
  position:relative;
  overflow:hidden;
}

.pdum-import-card h3{
  margin:4px 0;
  color:#31565c;
}

.pdum-import-card p{
  max-width:520px;
  margin:0 0 14px;
  color:#829394;
  font-size:8px;
  line-height:1.55;
}

.pdum-import-card input[type=file]{
  width:100%;
  margin-bottom:10px;
  padding:9px;
  border:1px dashed #cad9d6;
  border-radius:9px;
  background:#f8fbfa;
  color:#557275;
  font-size:8px;
}

.pdum-card-icon{
  position:absolute;
  top:14px;
  right:14px;
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:11px;
  background:#edf4f2;
  color:#315d62;
  font-size:9px;
  font-weight:900;
}

.pdum-card-icon.score{
  background:#fff5d6;
  color:#9a7729;
}

.pdum-preview-shell{
  overflow:hidden;
  border:1px solid #dfe8e6;
  border-radius:14px;
  background:#fff;
}

.pdum-preview-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  padding:14px 15px;
  border-bottom:1px solid #e7edec;
}

.pdum-preview-head small{
  color:#9a7a28;
  font-size:7px;
  font-weight:900;
  letter-spacing:.8px;
}

.pdum-preview-head h3{
  margin:3px 0 2px;
  color:#31575c;
}

.pdum-preview-head p{
  margin:0;
  color:#8b9a9b;
  font-size:7px;
}

.pdum-summary-grid{
  display:grid;
  grid-template-columns:
    repeat(5,minmax(0,1fr));
  gap:8px;
  padding:11px 15px;
}

.pdum-summary-grid article{
  padding:9px 10px;
  border:1px solid #e1e8e7;
  border-radius:9px;
  background:#f9fbfa;
}

.pdum-summary-grid article.good{
  background:#eff8f2;
}

.pdum-summary-grid article.warning{
  background:#fff8e7;
}

.pdum-summary-grid article.danger{
  background:#fff1ef;
}

.pdum-summary-grid span{
  display:block;
  color:#869697;
  font-size:6px;
  font-weight:900;
}

.pdum-summary-grid strong{
  display:block;
  margin-top:3px;
  color:#315a60;
  font-size:17px;
}

.pdum-summary-grid .warning strong{
  color:#9a7626;
}

.pdum-summary-grid .danger strong{
  color:#ad5147;
}

.pdum-safe-notice{
  margin:0 15px 12px;
  font-size:8px;
}

.pdum-table-wrap{
  border-top:1px solid #edf1f0;
}

.pdum-preview-table{
  min-width:1000px;
}

.pdum-preview-table th{
  font-size:7px;
}

.pdum-preview-table td{
  font-size:8px;
  vertical-align:top;
}

.pdum-preview-table td small{
  color:#8c9a9b;
  font-size:6px;
  line-height:1.4;
}

.pdum-loading{
  padding:20px;
  color:#718687;
  text-align:center;
}

.badge.danger{
  background:#fde9e6;
  color:#a84d43;
}

@media(max-width:900px){

  .pdum-hero{
    display:block;
  }

  .pdum-source-flow{
    margin-top:15px;
    overflow-x:auto;
  }

}

@media(max-width:700px){

  .pdum-import-grid{
    grid-template-columns:1fr;
  }

  .pdum-year-card{
    display:block;
  }

  .pdum-year-card label{
    min-width:0;
  }

  .pdum-year-card p{
    margin-top:8px;
  }

  .pdum-summary-grid{
    grid-template-columns:
      repeat(2,minmax(0,1fr));
  }

}


/* ============================================================
   STUDENT PDUM ACADEMIC V1
   ============================================================ */

.student-pdum-academic-shell{
  margin-top:16px;
  padding-top:16px;
  border-top:1px solid #dfe8e6;
}


.pdum-academic-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:12px;
  padding:15px 17px;
  border-radius:14px;
  background:
    linear-gradient(
      135deg,
      #173f49,
      #255e66
    );
  color:#fff;
}


.pdum-academic-head h3{
  margin:3px 0 4px;
  color:#fff;
  font-size:17px;
}


.pdum-academic-head p{
  max-width:570px;
  margin:0;
  color:
    rgba(255,255,255,.68);
  font-size:8px;
  line-height:1.55;
}


.pdum-academic-brand{
  min-width:78px;
  padding:8px 10px;
  border:1px solid
    rgba(255,255,255,.14);
  border-radius:9px;
  background:
    rgba(255,255,255,.07);
  text-align:center;
}


.pdum-academic-brand span{
  display:block;
  color:
    rgba(255,255,255,.54);
  font-size:6px;
  font-weight:900;
  letter-spacing:.7px;
}


.pdum-academic-brand strong{
  display:block;
  margin-top:2px;
  color:#efd16f;
  font-size:12px;
}


.pdum-academic-period{
  overflow:hidden;
  margin-top:10px;
  border:1px solid #dfe8e6;
  border-radius:13px;
  background:#fff;
}


.pdum-academic-period-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:11px 13px;
  border-bottom:1px solid #e5ecea;
  background:#f7faf9;
}


.pdum-academic-period-head small{
  display:block;
  color:#849596;
  font-size:6px;
  font-weight:900;
  letter-spacing:.5px;
}


.pdum-academic-period-head h4{
  margin:2px 0 0;
  color:#315a60;
  font-size:12px;
}


.pdum-source-badge{
  padding:4px 7px;
  border-radius:20px;
  background:#fff0be;
  color:#8d6b1c;
  font-size:6px;
  font-weight:900;
  letter-spacing:.6px;
}


.pdum-academic-meta-grid{
  display:grid;
  grid-template-columns:
    repeat(3,minmax(0,1fr));
  gap:7px;
  padding:11px 13px;
}


.pdum-academic-meta-grid article{
  padding:8px 9px;
  border:1px solid #e5eceb;
  border-radius:8px;
  background:#fbfcfc;
}


.pdum-academic-meta-grid article.wide{
  grid-column:
    span 3;
}


.pdum-academic-meta-grid small{
  display:block;
  color:#8a999a;
  font-size:6px;
  font-weight:900;
}


.pdum-academic-meta-grid strong{
  display:block;
  margin-top:3px;
  color:#345d62;
  font-size:8px;
  line-height:1.4;
  word-break:break-word;
}


.pdum-academic-meta-empty{
  margin:11px 13px;
  padding:9px 10px;
  border:1px dashed #d7e1df;
  border-radius:8px;
  background:#fafcfc;
  color:#849596;
  font-size:7px;
}


.pdum-academic-score-summary{
  display:grid;
  grid-template-columns:
    repeat(3,minmax(0,1fr));
  gap:7px;
  padding:0 13px 11px;
}


.pdum-academic-score-summary>span{
  padding:8px 9px;
  border-radius:8px;
  background:#edf4f2;
}


.pdum-academic-score-summary small{
  display:block;
  color:#789091;
  font-size:6px;
  font-weight:900;
}


.pdum-academic-score-summary strong{
  display:block;
  margin-top:2px;
  color:#315b60;
  font-size:13px;
}


.pdum-academic-table-wrap{
  overflow-x:auto;
  border-top:1px solid #e6eceb;
}


.pdum-academic-table{
  width:100%;
  min-width:560px;
  border-collapse:collapse;
}


.pdum-academic-table th{
  padding:8px 9px;
  background:#f7faf9;
  color:#728789;
  font-size:6px;
  text-align:left;
  text-transform:uppercase;
}


.pdum-academic-table td{
  padding:8px 9px;
  border-top:1px solid #edf1f0;
  color:#587376;
  font-size:8px;
}


.pdum-academic-table td:first-child{
  width:36px;
  color:#94a1a2;
  text-align:center;
}


.pdum-subject-code{
  display:inline-block;
  min-width:35px;
  padding:3px 5px;
  border-radius:5px;
  background:#edf4f2;
  color:#396469;
  font-size:6px;
  font-weight:900;
  text-align:center;
}


.pdum-score-cell{
  width:100px;
  color:#234f56 !important;
  font-size:11px !important;
  font-weight:900;
  text-align:center;
}


.pdum-academic-empty,
.pdum-academic-empty-score{
  display:flex;
  align-items:center;
  gap:11px;
  margin:11px 13px;
  padding:14px;
  border:1px dashed #d5e1df;
  border-radius:10px;
  background:#fafcfc;
}


.pdum-academic-empty-icon,
.pdum-academic-empty-score>span{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  border-radius:50%;
  background:#edf4f2;
  color:#38656a;
  font-size:8px;
  font-weight:900;
}


.pdum-academic-empty h4,
.pdum-academic-empty-score strong{
  margin:0;
  color:#385f64;
  font-size:9px;
}


.pdum-academic-empty p,
.pdum-academic-empty-score p{
  margin:3px 0 0;
  color:#899899;
  font-size:7px;
}


.pdum-academic-empty small{
  display:block;
  margin-top:3px;
  color:#a0aaaa;
  font-size:6px;
}


.pdum-academic-loading{
  padding:18px;
  border:1px solid #e0e8e7;
  border-radius:10px;
  background:#fafcfc;
  color:#74898b;
  font-size:8px;
  text-align:center;
}


.pdum-academic-error{
  display:flex;
  align-items:center;
  gap:8px;
  padding:12px;
  border:1px solid #f0d0cc;
  border-radius:9px;
  background:#fff5f3;
  color:#984e46;
  font-size:8px;
}


.pdum-academic-error span{
  flex:1;
}


@media(max-width:700px){

  .pdum-academic-head{
    display:block;
  }


  .pdum-academic-brand{
    margin-top:10px;
  }


  .pdum-academic-meta-grid{
    grid-template-columns:1fr;
  }


  .pdum-academic-meta-grid article.wide{
    grid-column:auto;
  }

}


/* ============================================================
   STUDENT PDUM ACADEMIC V1
   ============================================================ */

.student-pdum-academic-shell{
  margin-top:16px;
  padding-top:16px;
  border-top:1px solid #dfe8e6;
}


.pdum-academic-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:12px;
  padding:15px 17px;
  border-radius:14px;
  background:
    linear-gradient(
      135deg,
      #173f49,
      #255e66
    );
  color:#fff;
}


.pdum-academic-head h3{
  margin:3px 0 4px;
  color:#fff;
  font-size:17px;
}


.pdum-academic-head p{
  max-width:570px;
  margin:0;
  color:
    rgba(255,255,255,.68);
  font-size:8px;
  line-height:1.55;
}


.pdum-academic-brand{
  min-width:78px;
  padding:8px 10px;
  border:1px solid
    rgba(255,255,255,.14);
  border-radius:9px;
  background:
    rgba(255,255,255,.07);
  text-align:center;
}


.pdum-academic-brand span{
  display:block;
  color:
    rgba(255,255,255,.54);
  font-size:6px;
  font-weight:900;
  letter-spacing:.7px;
}


.pdum-academic-brand strong{
  display:block;
  margin-top:2px;
  color:#efd16f;
  font-size:12px;
}


.pdum-academic-period{
  overflow:hidden;
  margin-top:10px;
  border:1px solid #dfe8e6;
  border-radius:13px;
  background:#fff;
}


.pdum-academic-period-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:11px 13px;
  border-bottom:1px solid #e5ecea;
  background:#f7faf9;
}


.pdum-academic-period-head small{
  display:block;
  color:#849596;
  font-size:6px;
  font-weight:900;
  letter-spacing:.5px;
}


.pdum-academic-period-head h4{
  margin:2px 0 0;
  color:#315a60;
  font-size:12px;
}


.pdum-source-badge{
  padding:4px 7px;
  border-radius:20px;
  background:#fff0be;
  color:#8d6b1c;
  font-size:6px;
  font-weight:900;
  letter-spacing:.6px;
}


.pdum-academic-meta-grid{
  display:grid;
  grid-template-columns:
    repeat(3,minmax(0,1fr));
  gap:7px;
  padding:11px 13px;
}


.pdum-academic-meta-grid article{
  padding:8px 9px;
  border:1px solid #e5eceb;
  border-radius:8px;
  background:#fbfcfc;
}


.pdum-academic-meta-grid article.wide{
  grid-column:
    span 3;
}


.pdum-academic-meta-grid small{
  display:block;
  color:#8a999a;
  font-size:6px;
  font-weight:900;
}


.pdum-academic-meta-grid strong{
  display:block;
  margin-top:3px;
  color:#345d62;
  font-size:8px;
  line-height:1.4;
  word-break:break-word;
}


.pdum-academic-meta-empty{
  margin:11px 13px;
  padding:9px 10px;
  border:1px dashed #d7e1df;
  border-radius:8px;
  background:#fafcfc;
  color:#849596;
  font-size:7px;
}


.pdum-academic-score-summary{
  display:grid;
  grid-template-columns:
    repeat(3,minmax(0,1fr));
  gap:7px;
  padding:0 13px 11px;
}


.pdum-academic-score-summary>span{
  padding:8px 9px;
  border-radius:8px;
  background:#edf4f2;
}


.pdum-academic-score-summary small{
  display:block;
  color:#789091;
  font-size:6px;
  font-weight:900;
}


.pdum-academic-score-summary strong{
  display:block;
  margin-top:2px;
  color:#315b60;
  font-size:13px;
}


.pdum-academic-table-wrap{
  overflow-x:auto;
  border-top:1px solid #e6eceb;
}


.pdum-academic-table{
  width:100%;
  min-width:560px;
  border-collapse:collapse;
}


.pdum-academic-table th{
  padding:8px 9px;
  background:#f7faf9;
  color:#728789;
  font-size:6px;
  text-align:left;
  text-transform:uppercase;
}


.pdum-academic-table td{
  padding:8px 9px;
  border-top:1px solid #edf1f0;
  color:#587376;
  font-size:8px;
}


.pdum-academic-table td:first-child{
  width:36px;
  color:#94a1a2;
  text-align:center;
}


.pdum-subject-code{
  display:inline-block;
  min-width:35px;
  padding:3px 5px;
  border-radius:5px;
  background:#edf4f2;
  color:#396469;
  font-size:6px;
  font-weight:900;
  text-align:center;
}


.pdum-score-cell{
  width:100px;
  color:#234f56 !important;
  font-size:11px !important;
  font-weight:900;
  text-align:center;
}


.pdum-academic-empty,
.pdum-academic-empty-score{
  display:flex;
  align-items:center;
  gap:11px;
  margin:11px 13px;
  padding:14px;
  border:1px dashed #d5e1df;
  border-radius:10px;
  background:#fafcfc;
}


.pdum-academic-empty-icon,
.pdum-academic-empty-score>span{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  border-radius:50%;
  background:#edf4f2;
  color:#38656a;
  font-size:8px;
  font-weight:900;
}


.pdum-academic-empty h4,
.pdum-academic-empty-score strong{
  margin:0;
  color:#385f64;
  font-size:9px;
}


.pdum-academic-empty p,
.pdum-academic-empty-score p{
  margin:3px 0 0;
  color:#899899;
  font-size:7px;
}


.pdum-academic-empty small{
  display:block;
  margin-top:3px;
  color:#a0aaaa;
  font-size:6px;
}


.pdum-academic-loading{
  padding:18px;
  border:1px solid #e0e8e7;
  border-radius:10px;
  background:#fafcfc;
  color:#74898b;
  font-size:8px;
  text-align:center;
}


.pdum-academic-error{
  display:flex;
  align-items:center;
  gap:8px;
  padding:12px;
  border:1px solid #f0d0cc;
  border-radius:9px;
  background:#fff5f3;
  color:#984e46;
  font-size:8px;
}


.pdum-academic-error span{
  flex:1;
}


@media(max-width:700px){

  .pdum-academic-head{
    display:block;
  }


  .pdum-academic-brand{
    margin-top:10px;
  }


  .pdum-academic-meta-grid{
    grid-template-columns:1fr;
  }


  .pdum-academic-meta-grid article.wide{
    grid-column:auto;
  }

}


/* SIDEBAR_SCROLL_V1 */
.sidebar{
  overflow:hidden;
}

.sidebar-brand,
.sidebar-section-label,
.sidebar-foot{
  flex-shrink:0;
}

.sidebar nav{
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto;
  overflow-x:hidden;
  padding-right:4px;
  scrollbar-width:thin;
  scrollbar-color:rgba(255,255,255,.22) transparent;
}

.sidebar nav::-webkit-scrollbar{
  width:5px;
}

.sidebar nav::-webkit-scrollbar-thumb{
  background:rgba(255,255,255,.22);
  border-radius:999px;
}

.sidebar-foot{
  margin-top:10px;
}
