:root{
  --teacher-bg:#f6f3ed;
  --teacher-surface:#fffdf9;
  --teacher-surface-2:#fff8ef;
  --teacher-ink:#1f1d2b;
  --teacher-muted:#706a7d;
  --teacher-line:#ece4d8;
  --teacher-brand:#a63f2d;
  --teacher-brand-2:#f08a5d;
  --teacher-font-body:'Manrope','Segoe UI',system-ui,sans-serif;
  --teacher-font-display:'Fraunces',Georgia,serif;
  --teacher-sidebar:#201927;
  --teacher-radius:24px;
  --teacher-shadow:0 18px 40px rgba(31,29,43,.08);
}

*,
*::before,
*::after{box-sizing:border-box}

body{
  margin:0;
  font-family:var(--teacher-font-body);
  background:
    radial-gradient(circle at top left, rgba(240,138,93,.18), transparent 28%),
    radial-gradient(circle at bottom right, rgba(109,94,252,.12), transparent 26%),
    linear-gradient(180deg,#faf7f2 0%, var(--teacher-bg) 100%);
  color:var(--teacher-ink);
  min-height:100vh;
}

body,
button,
input,
select,
textarea{
  font-family:var(--teacher-font-body);
}

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

.page-shell{
  padding:24px 28px 36px;
  display:flex;
  flex-direction:column;
  gap:18px;
  min-height:100vh;
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:18px 22px;
  border-radius:calc(var(--teacher-radius) + 2px);
  background:rgba(255,255,255,.82);
  border:1px solid rgba(236,228,216,.96);
  box-shadow:0 18px 40px rgba(31,29,43,.06);
}

.topbar-title{
  font-size:14px;
  font-weight:800;
  color:#271e2e;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:42px;
  padding:0 15px;
  border-radius:14px;
  font-size:13px;
  font-weight:800;
  cursor:pointer;
  border:none;
  font-family:inherit;
  transition:all .16s ease;
  text-decoration:none;
}

.btn-primary{
  background:var(--teacher-sidebar);
  color:#fff;
  box-shadow:0 12px 24px rgba(45,36,64,.16);
}

.btn-primary:hover{background:var(--teacher-brand)}

.btn-soft{
  background:var(--teacher-surface-2);
  color:var(--teacher-brand);
  border:1px solid #efe1cf;
}

.btn-soft:hover{background:#fffdf8}

.btn-ghost{
  background:#fff;
  color:#5e5968;
  border:1px solid #eadfce;
}

.btn-ghost:hover{background:#fcfaf6}

.btn-warn{
  background:#fffbeb;
  color:#9a660f;
  border:1px solid #fde68a;
}

.btn-warn:hover{background:#fff7d6}

.btn-wa{
  background:#22c55e;
  color:#fff;
}

.btn-wa:hover{background:#16a34a}

.btn-sm{
  min-height:36px;
  padding:0 12px;
  font-size:12px;
}

.hero{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.5);
  border-radius:calc(var(--teacher-radius) + 6px);
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.2), transparent 32%),
    linear-gradient(135deg,var(--teacher-sidebar) 0%, var(--teacher-sidebar) 44%, var(--teacher-brand) 100%);
  padding:30px;
  box-shadow:0 24px 54px rgba(49,29,36,.16);
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size:34px 34px;
  opacity:.22;
}

.hero-inner{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(290px,.8fr);
  gap:20px;
  align-items:start;
}

.hero-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.14);
  color:rgba(255,245,240,.86);
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:16px;
}

.hero-title{
  font-family:var(--teacher-font-display);
  font-size:38px;
  line-height:1;
  letter-spacing:-.05em;
  color:#fff7f0;
  margin-bottom:12px;
}

.hero-sub{
  font-size:14px;
  line-height:1.8;
  color:rgba(255,240,232,.72);
  max-width:650px;
}

.hero-chips{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:20px;
}

.hero-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.14);
  color:#fff7f0;
  font-size:12.5px;
  font-weight:700;
}

.hero-chip.warn{
  background:rgba(190,18,60,.16);
  border-color:rgba(251,113,133,.25);
  color:#ffe4ea;
}

.hero-chip.good{
  background:rgba(16,185,129,.18);
  border-color:rgba(45,212,191,.24);
  color:#e5fff9;
}

.hero-side{
  border-radius:var(--teacher-radius);
  padding:18px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.10);
  backdrop-filter:blur(10px);
}

.hero-side-title{
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:rgba(255,238,230,.72);
  margin-bottom:12px;
}

.side-list{
  display:grid;
  gap:10px;
}

.side-item{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:12px 13px;
  border-radius:18px;
  background:rgba(15,15,15,.14);
  border:1px solid rgba(255,255,255,.08);
}

.side-icon{
  width:34px;
  height:34px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.14);
  color:#fff7f1;
  font-size:12px;
  font-weight:800;
  flex-shrink:0;
}

.side-title{
  font-size:13px;
  font-weight:800;
  color:#fff7f1;
  margin-bottom:3px;
}

.side-copy{
  font-size:12px;
  line-height:1.55;
  color:rgba(255,238,230,.72);
}

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

.stat-card{
  background:linear-gradient(180deg,#fffdf9 0%, var(--teacher-surface-2) 100%);
  border:1px solid #ece4d8;
  border-radius:24px;
  padding:18px;
  box-shadow:0 14px 30px rgba(31,29,43,.05);
  display:flex;
  flex-direction:column;
  gap:12px;
  min-height:148px;
}

.stat-label{
  font-size:11px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#988d7a;
}

.stat-main{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:12px;
}

.stat-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 16px;
  border-radius:999px;
  background:#fff;
  border:1px solid #eee4d8;
  max-width:100%;
}

.stat-value{
  font-family:var(--teacher-font-display);
  font-size:24px;
  letter-spacing:-.04em;
  color:#201d2b;
  line-height:1;
  white-space:nowrap;
}

.stat-copy{
  font-size:13px;
  line-height:1.6;
  color:#6d6458;
  max-width:100%;
}

.signal-strip{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}

.signal-card{
  background:rgba(255,255,255,.78);
  border:1px solid rgba(236,228,216,.92);
  border-radius:calc(var(--teacher-radius) - 2px);
  padding:18px;
  box-shadow:0 14px 30px rgba(31,29,43,.05);
}

.signal-title{
  font-size:15px;
  font-weight:800;
  color:var(--teacher-ink);
  margin-bottom:8px;
}

.signal-copy{
  font-size:13px;
  line-height:1.65;
  color:#6f687a;
}

.panel{
  background:rgba(255,255,255,.82);
  border:1px solid rgba(236,228,216,.96);
  border-radius:calc(var(--teacher-radius) + 4px);
  padding:22px;
  box-shadow:0 18px 40px rgba(31,29,43,.06);
}

.panel-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom:18px;
}

.panel-title{
  font-size:22px;
  font-family:var(--teacher-font-display);
  letter-spacing:-.03em;
  color:var(--teacher-ink);
}

.panel-sub{
  font-size:13px;
  line-height:1.65;
  color:#726979;
  margin-top:5px;
}

.alert-ok,
.alert-err{
  padding:13px 15px;
  border-radius:16px;
  font-size:13px;
  font-weight:700;
}

.alert-ok{
  background:#ecfdf5;
  color:var(--teacher-brand);
  border:1px solid #bbf7d0;
}

.alert-err{
  background:#fef2f2;
  color:#dc2626;
  border:1px solid #fecaca;
}

.empty{
  padding:72px 24px;
  text-align:center;
  color:#8a7f72;
}

.empty-icon{
  width:76px;
  height:76px;
  border-radius:var(--teacher-radius);
  background:var(--teacher-surface-2);
  border:1px solid #efe1cf;
  margin:0 auto 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  font-weight:800;
  color:var(--teacher-brand);
}

.empty-title{
  font-size:22px;
  font-family:var(--teacher-font-display);
  letter-spacing:-.03em;
  color:var(--teacher-ink);
  margin-bottom:8px;
}

.empty-sub{
  font-size:14px;
  line-height:1.7;
  color:#726979;
  max-width:520px;
  margin:0 auto;
}

@media(max-width:1180px){
  .hero-inner,
  .grid-4{grid-template-columns:1fr 1fr}
  .hero-inner{grid-template-columns:1fr}
}

@media(max-width:820px){
  .page-shell{padding:18px 14px 30px}
  .topbar{
    padding:16px;
    align-items:flex-start;
    flex-direction:column;
  }
  .hero{padding:24px 20px}
  .hero-title{font-size:30px}
  .grid-4,
  .signal-strip{grid-template-columns:1fr}
}

@media(max-width:560px){
  .hero{
    border-radius:24px;
    padding:20px 16px;
  }

  .hero-kicker,
  .hero-chip{
    width:100%;
    justify-content:flex-start;
  }

  .hero-title{
    font-size:28px;
  }

  .hero-sub{
    font-size:13px;
    line-height:1.7;
  }

  .hero-side,
  .panel{
    border-radius:20px;
    padding:16px;
  }

  .stat-card{
    min-height:auto;
    padding:16px;
  }

  .stat-main{
    align-items:flex-start;
    flex-direction:column;
  }

  .stat-pill{
    min-height:42px;
    padding:0 14px;
  }

  .stat-value{
    font-size:22px;
    white-space:normal;
  }

  .stat-copy{
    font-size:12.5px;
  }
}

.auth-shell{
  width:100%;
  max-width:1080px;
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr);
  background:rgba(255,255,255,.9);
  border:1px solid rgba(255,255,255,.36);
  border-radius:32px;
  overflow:hidden;
  box-shadow:0 28px 80px rgba(19,11,20,.28);
}

.auth-page{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:24px;
}

.brand-side{
  position:relative;
  padding:42px;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.12), transparent 32%),
    linear-gradient(180deg,#2b2230 0%,#38253b 38%,#6f2f31 100%);
  color:#fff7f0;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.brand-side::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size:34px 34px;
  opacity:.22;
}

.brand-inner,
.brand-footer{
  position:relative;
  z-index:1;
}

.brand-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.14);
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:18px;
}

.brand-title{
  font-family:var(--teacher-font-display);
  font-size:44px;
  line-height:.98;
  letter-spacing:-.05em;
  margin-bottom:14px;
}

.brand-copy{
  font-size:15px;
  line-height:1.85;
  color:rgba(255,244,238,.76);
  max-width:520px;
}

.brand-points{
  display:grid;
  gap:12px;
  margin-top:26px;
}

.brand-point{
  display:flex;
  gap:12px;
  padding:14px 16px;
  border-radius:20px;
  background:rgba(15,15,15,.14);
  border:1px solid rgba(255,255,255,.08);
}

.point-icon{
  width:38px;
  height:38px;
  border-radius:14px;
  background:rgba(255,255,255,.12);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:800;
  flex-shrink:0;
}

.brand-point strong{
  display:block;
  font-size:14px;
  margin-bottom:3px;
}

.brand-point span{
  display:block;
  font-size:12.5px;
  line-height:1.65;
  color:rgba(255,240,232,.72);
}

.brand-footer{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.foot-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.14);
  font-size:12px;
  font-weight:700;
}

.card{
  padding:40px 34px;
  background:linear-gradient(180deg,#fffdf9 0%,#fff8ef 100%);
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.logo{
  margin-bottom:24px;
}

.logo-mark{
  width:64px;
  height:64px;
  border-radius:20px;
  background:linear-gradient(135deg,#2d2440,#a63f2d);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff7f0;
  font-size:26px;
  font-weight:900;
  margin-bottom:16px;
}

.eyebrow{
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#9a8d79;
  margin-bottom:8px;
}

.card h1{
  font-family:var(--teacher-font-display);
  font-size:30px;
  letter-spacing:-.04em;
  color:#241d2e;
  margin-bottom:6px;
}

.sub{
  font-size:14px;
  line-height:1.7;
  color:#70677a;
  margin-bottom:20px;
}

.hello{
  font-size:14px;
  line-height:1.7;
  color:#6e6157;
  margin-bottom:16px;
}

.field{
  margin-bottom:16px;
}

.field label{
  display:block;
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#8f8170;
  margin-bottom:6px;
}

.field input{
  width:100%;
  padding:13px 14px;
  border:1.5px solid #eadfce;
  border-radius:14px;
  font-size:14px;
  font-family:inherit;
  outline:none;
  color:#221f2d;
  background:#fffdf9;
  transition:border-color .16s, box-shadow .16s;
}

.field input:focus{
  border-color:#a63f2d;
  box-shadow:0 0 0 4px rgba(166,63,45,.08);
}

.field input:disabled{
  background:#f5f5f4;
  color:#a8a29e;
  cursor:not-allowed;
}

.btn{
  width:100%;
  min-height:48px;
  border:none;
  border-radius:14px;
  background:#2d2440;
  color:#fff;
  font-size:14px;
  font-weight:800;
  font-family:inherit;
  cursor:pointer;
  transition:background .16s,transform .16s;
}

.btn:hover:not(:disabled){
  background:#241c35;
  transform:translateY(-1px);
}

.btn:disabled{
  background:#a8a29e;
  cursor:not-allowed;
}

.alert-err{
  background:#fef2f2;
  color:#dc2626;
  border:1px solid #fecaca;
  border-radius:14px;
  padding:12px 14px;
  font-size:13px;
  line-height:1.6;
  margin-bottom:16px;
}

.alert-ok{
  background:#f0fdf4;
  border:1px solid #bbf7d0;
  color:#166534;
  border-radius:16px;
  padding:16px 16px 18px;
  font-size:13px;
  line-height:1.75;
  margin-bottom:16px;
}

.alert-warn,
.alert-lock{
  background:#fff7ed;
  border:1px solid #fdba74;
  color:#9a3412;
  border-radius:16px;
  padding:16px;
  font-size:13px;
  line-height:1.75;
  margin-bottom:16px;
}

.hint{
  font-size:12px;
  line-height:1.7;
  color:#7b7268;
  margin-top:6px;
}

.strength{
  height:6px;
  border-radius:999px;
  background:#f1e7da;
  margin-top:10px;
  overflow:hidden;
}

.strength-bar{
  height:100%;
  border-radius:999px;
  transition:width .3s,background .3s;
  width:0;
}

.attempts-wrap{
  margin-bottom:16px;
}

.attempts-copy{
  font-size:12px;
  color:#8f8170;
  margin-bottom:8px;
}

.attempts-bar{
  height:6px;
  border-radius:999px;
  background:#f1e7da;
  overflow:hidden;
}

.attempts-fill{
  height:100%;
  border-radius:999px;
  transition:width .3s,background .3s;
}

.links{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:18px;
}

.link{
  font-size:13px;
  color:#8f8170;
  text-decoration:none;
}

.link:hover{
  color:#2d2440;
}

.mini-note{
  margin-top:14px;
  font-size:12.5px;
  line-height:1.7;
  color:#7b7268;
}

.mini-note strong{
  color:#241d2e;
}

.countdown{
  font-weight:900;
}

.auth-clean{
  background:
    radial-gradient(circle at top left, rgba(27,163,106,.12), transparent 22%),
    radial-gradient(circle at bottom right, rgba(116,134,255,.10), transparent 24%),
    linear-gradient(180deg,#f7faf7 0%,#eef4ef 100%);
}

.auth-shell-clean{
  max-width:900px;
  min-height:520px;
  grid-template-columns:minmax(260px,.82fr) minmax(360px,1fr);
  background:rgba(255,255,255,.94);
  border:1px solid rgba(228,236,228,.95);
  border-radius:28px;
  box-shadow:0 20px 56px rgba(15,23,42,.10);
}

.auth-stage-clean{
  padding:38px;
  background:linear-gradient(180deg,#f8fff9 0%,#edf8f0 100%);
  color:#102010;
  justify-content:center;
  gap:22px;
}

.auth-stage-clean::before{
  display:none;
}

.auth-clean .brand-title{
  max-width:360px;
  font-family:var(--teacher-font-body);
  font-size:28px;
  line-height:1.12;
  letter-spacing:0;
  color:#102010;
}

.auth-clean .brand-copy,
.auth-clean .brand-points,
.auth-clean .brand-footer{
  display:none;
}

.brand-row-clean{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  gap:14px;
}

.brand-mark-clean{
  width:54px;
  height:54px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#1f7a4c,#16a34a);
  color:#fff;
  font-size:17px;
  font-weight:900;
  box-shadow:0 14px 30px rgba(22,163,74,.18);
}

.brand-copy-clean strong{
  display:block;
  margin-bottom:4px;
  font-size:13px;
  font-weight:900;
  letter-spacing:.13em;
  text-transform:uppercase;
  color:#476347;
}

.brand-copy-clean span{
  display:block;
  font-size:24px;
  line-height:1;
  font-weight:900;
  letter-spacing:0;
  color:#102010;
}

.stage-text-clean{
  position:relative;
  z-index:1;
  max-width:360px;
  margin:0;
  font-size:14px;
  line-height:1.75;
  color:#577257;
}

.stage-status-clean{
  position:relative;
  z-index:1;
  display:inline-flex;
  align-items:center;
  width:max-content;
  min-height:34px;
  padding:0 12px;
  border-radius:999px;
  background:#fff;
  border:1px solid #dcebdd;
  color:#476347;
  font-size:12px;
  font-weight:800;
}

.auth-card-clean{
  padding:44px 42px 38px;
  background:#fff;
}

.auth-card-clean .logo{
  margin-bottom:22px;
}

.login-head-clean .eyebrow{
  color:#476347;
}

.auth-card-clean h1{
  font-family:var(--teacher-font-body);
  font-size:36px;
  line-height:1.05;
  letter-spacing:0;
  color:#102010;
  margin-bottom:8px;
}

.auth-card-clean .sub{
  color:#5d705d;
  margin-bottom:20px;
}

.auth-card-clean .field label{
  color:#536b53;
}

.auth-card-clean .field input{
  border-color:#dfeade;
  background:#fbfdfb;
  color:#102010;
}

.auth-card-clean .field input:focus{
  border-color:#16a34a;
  box-shadow:0 0 0 4px rgba(22,163,74,.10);
}

.auth-card-clean .btn{
  background:#123f22;
  border-radius:14px;
  box-shadow:0 14px 28px rgba(18,63,34,.14);
}

.auth-card-clean .btn:hover:not(:disabled){
  background:#166534;
}

.auth-card-clean .mini-note{
  color:#617461;
}

.auth-card-clean .mini-note strong{
  color:#102010;
}

.auth-card-clean .link:hover{
  color:#166534;
}

@media(max-width:920px){
  .auth-shell{
    grid-template-columns:1fr;
  }

  .brand-side{
    padding:30px;
  }

  .brand-title{
    font-size:36px;
  }

  .auth-shell-clean{
    max-width:560px;
  }

  .auth-stage-clean{
    padding:28px;
  }
}

@media(max-width:560px){
  .auth-page{
    padding:14px;
  }

  .card{
    padding:28px 20px;
  }

  .brand-side{
    padding:24px;
  }

  .brand-title{
    font-size:30px;
  }

  .links{
    flex-direction:column;
    align-items:flex-start;
  }

  .auth-shell-clean{
    min-height:auto;
    border-radius:24px;
  }

  .auth-stage-clean{
    padding:24px 22px;
  }

  .auth-card-clean{
    padding:30px 22px 26px;
  }

  .brand-copy-clean span{
    font-size:21px;
  }

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

/* Compact workspace mode for teacher dashboard pages. */
body.teacher-simple{
  background:#f7faf6;
}

body.teacher-simple .page-shell,
body.teacher-simple .teacher-shell{
  padding:18px 22px 30px !important;
  gap:14px !important;
}

body.teacher-simple .topbar{
  padding:13px 16px !important;
  border-radius:18px !important;
  background:#fff !important;
  box-shadow:0 10px 24px rgba(15,23,42,.04) !important;
}

body.teacher-simple .topbar-title{
  color:#19351f !important;
  letter-spacing:.05em !important;
}

body.teacher-simple .hero{
  padding:16px 18px !important;
  border-radius:18px !important;
  background:#fff !important;
  border:1px solid #dfeade !important;
  box-shadow:0 12px 28px rgba(15,23,42,.05) !important;
}

body.teacher-simple .hero::before{
  display:none !important;
}

body.teacher-simple .hero-inner{
  display:block !important;
  grid-template-columns:1fr !important;
}

body.teacher-simple .hero-kicker{
  padding:0 !important;
  margin:0 0 7px !important;
  background:transparent !important;
  border:0 !important;
  color:#6b806b !important;
  font-size:11px !important;
  letter-spacing:.08em !important;
}

body.teacher-simple .hero-title{
  margin:0 !important;
  color:#102010 !important;
  font-family:var(--teacher-font-body) !important;
  font-size:24px !important;
  line-height:1.18 !important;
  letter-spacing:0 !important;
}

body.teacher-simple .hero-sub,
body.teacher-simple .hero-side,
body.teacher-simple .side-list,
body.teacher-simple .signal-strip,
body.teacher-simple .stat-copy,
body.teacher-simple .panel-sub,
body.teacher-simple .empty-sub,
body.teacher-simple .priority-copy,
body.teacher-simple .todo-copy,
body.teacher-simple .quick-link span,
body.teacher-simple .metric-sub,
body.teacher-simple .class-note{
  display:none !important;
}

body.teacher-simple .hero-chips{
  margin-top:10px !important;
  gap:7px !important;
}

body.teacher-simple .hero-chip{
  padding:6px 9px !important;
  background:#f4fbf6 !important;
  border-color:#dbeadc !important;
  color:#476347 !important;
  font-size:11px !important;
}

body.teacher-simple .hero-chip.good{
  background:#ecfdf5 !important;
  border-color:#bbf7d0 !important;
  color:#15803d !important;
}

body.teacher-simple .hero-chip.warn{
  background:#fff7ed !important;
  border-color:#fed7aa !important;
  color:#c2410c !important;
}

body.teacher-simple .hero-actions{
  margin-top:12px !important;
  gap:8px !important;
}

body.teacher-simple .hero-action{
  border:1.5px solid #d9e4d8 !important;
  box-shadow:0 4px 0 rgba(16,32,16,.08), 0 10px 18px rgba(15,23,42,.06) !important;
}

body.teacher-simple .hero-action.primary{
  background:#fff7ed !important;
  border-color:#fed7aa !important;
  color:#9a3412 !important;
}

body.teacher-simple .hero-action.secondary{
  background:#f4fbf6 !important;
  border-color:#dbeadc !important;
  color:#123f22 !important;
}

body.teacher-simple .hero-action:hover{
  transform:translateY(-1px) !important;
  box-shadow:0 5px 0 rgba(16,32,16,.10), 0 14px 22px rgba(15,23,42,.09) !important;
}

body.teacher-simple .grid-4,
body.teacher-simple .stat-grid,
body.teacher-simple .class-grid,
body.teacher-simple .content-grid,
body.teacher-simple .quick-links{
  gap:12px !important;
}

body.teacher-simple .class-grid{
  grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr)) !important;
  align-items:stretch !important;
}

body.teacher-simple .class-card{
  width:100% !important;
}

body.teacher-simple .stat-card,
body.teacher-simple .class-card,
body.teacher-simple .quick-link,
body.teacher-simple .info-card,
body.teacher-simple .hw-card{
  padding:14px !important;
  border-radius:16px !important;
  min-height:auto !important;
  box-shadow:0 8px 20px rgba(15,23,42,.04) !important;
}

body.teacher-simple .panel{
  padding:16px !important;
  border-radius:18px !important;
  background:#fff !important;
  box-shadow:0 10px 24px rgba(15,23,42,.04) !important;
}

body.teacher-simple .panel-head{
  margin-bottom:12px !important;
}

body.teacher-simple .panel-title{
  font-family:var(--teacher-font-body) !important;
  font-size:18px !important;
  letter-spacing:0 !important;
}

body.teacher-simple .dashboard-quick-panel{
  min-height:100% !important;
}

body.teacher-simple .dashboard-quick-panel .panel-head{
  margin-bottom:14px !important;
}

body.teacher-simple .dashboard-quick-links{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:12px !important;
}

body.teacher-simple .dashboard-quick-links .quick-link{
  min-height:104px !important;
  padding:15px !important;
  justify-content:center !important;
  background:linear-gradient(180deg,#ffffff 0%,#fffaf4 100%) !important;
}

body.teacher-simple .dashboard-quick-links .quick-link strong{
  color:#1f1d2b !important;
  font-size:13.5px !important;
}

body.teacher-simple .dashboard-quick-links .quick-link span{
  display:block !important;
  color:#766b5f !important;
  font-size:12px !important;
  line-height:1.45 !important;
}

body.teacher-simple .dashboard-quick-links .quick-link.wide{
  grid-column:1 / -1 !important;
  min-height:92px !important;
  background:linear-gradient(135deg,#f4fbf6 0%,#fffaf4 100%) !important;
}

body.teacher-simple .empty{
  padding:38px 18px !important;
}

body.teacher-simple .empty-icon{
  width:52px !important;
  height:52px !important;
  border-radius:16px !important;
  margin-bottom:10px !important;
}

body.teacher-simple .empty-title{
  font-family:var(--teacher-font-body) !important;
  font-size:18px !important;
  letter-spacing:0 !important;
}

body.teacher-simple .filters{
  padding:14px !important;
  border-radius:18px !important;
  background:#fff !important;
}

body.teacher-simple .table-wrap,
body.teacher-simple .report-shell,
body.teacher-simple .modal-box{
  border-radius:18px !important;
}

body.teacher-simple .btn,
body.teacher-simple .cta,
body.teacher-simple .panel-link,
body.teacher-simple .class-tab,
body.teacher-simple .tab,
body.teacher-simple .att-opt label{
  border-width:1.5px !important;
  box-shadow:0 4px 0 rgba(16,32,16,.08), 0 10px 18px rgba(15,23,42,.06) !important;
  cursor:pointer !important;
}

body.teacher-simple .btn:hover:not(:disabled),
body.teacher-simple .cta:hover,
body.teacher-simple .panel-link:hover,
body.teacher-simple .class-tab:hover,
body.teacher-simple .tab:hover,
body.teacher-simple .att-opt label:hover{
  transform:translateY(-1px) !important;
  box-shadow:0 5px 0 rgba(16,32,16,.10), 0 14px 22px rgba(15,23,42,.09) !important;
}

body.teacher-simple .btn:active:not(:disabled),
body.teacher-simple .cta:active,
body.teacher-simple .panel-link:active,
body.teacher-simple .class-tab:active,
body.teacher-simple .tab:active,
body.teacher-simple .att-opt label:active{
  transform:translateY(2px) !important;
  box-shadow:0 1px 0 rgba(16,32,16,.10), 0 6px 12px rgba(15,23,42,.08) !important;
}

body.teacher-simple .class-tab.active,
body.teacher-simple .tab.active{
  background:#123f22 !important;
  border-color:#123f22 !important;
  color:#fff !important;
  box-shadow:0 0 0 3px rgba(18,63,34,.14), 0 8px 20px rgba(18,63,34,.22) !important;
}

body.teacher-simple .att-options{
  gap:10px !important;
}

body.teacher-simple .att-opt label{
  min-width:82px !important;
  padding:10px 15px !important;
  background:#fff !important;
  border-color:#d9e4d8 !important;
  color:#344034 !important;
  text-align:center !important;
}

body.teacher-simple .att-opt input:focus-visible + label{
  outline:3px solid rgba(18,63,34,.22) !important;
  outline-offset:3px !important;
}

body.teacher-simple .att-opt input:checked + label{
  color:#fff !important;
  border-width:2px !important;
  font-weight:900 !important;
  transform:translateY(-1px) scale(1.04) !important;
  text-shadow:none !important;
}

body.teacher-simple .att-opt input:checked + label.lbl-p{
  background:#16a34a !important;
  border-color:#15803d !important;
  box-shadow:0 0 0 4px rgba(22,163,74,.17), 0 10px 24px rgba(22,163,74,.24) !important;
}

body.teacher-simple .att-opt input:checked + label.lbl-a{
  background:#e11d48 !important;
  border-color:#be123c !important;
  box-shadow:0 0 0 4px rgba(225,29,72,.16), 0 10px 24px rgba(225,29,72,.24) !important;
}

body.teacher-simple .att-opt input:checked + label.lbl-l{
  background:#d97706 !important;
  border-color:#b45309 !important;
  box-shadow:0 0 0 4px rgba(217,119,6,.17), 0 10px 24px rgba(217,119,6,.24) !important;
}

body.teacher-simple .att-opt input:checked + label.lbl-e{
  background:#2563eb !important;
  border-color:#1d4ed8 !important;
  box-shadow:0 0 0 4px rgba(37,99,235,.16), 0 10px 24px rgba(37,99,235,.24) !important;
}

@media(max-width:820px){
  body.teacher-simple .page-shell,
  body.teacher-simple .teacher-shell{
    padding:14px 12px 26px !important;
  }

  body.teacher-simple .topbar{
    gap:10px !important;
  }

  body.teacher-simple .hero{
    padding:15px !important;
  }

  body.teacher-simple .hero-title{
    font-size:21px !important;
  }

  body.teacher-simple .hero-chips,
  body.teacher-simple .hero-actions{
    display:grid !important;
    grid-template-columns:1fr !important;
  }

  body.teacher-simple .hero-chip,
  body.teacher-simple .hero-action,
  body.teacher-simple .btn{
    width:100% !important;
    justify-content:center !important;
  }
}
