/* UchetPar V23.9.441 — teacher production-practice overlap fix.
   Keep the Halloween frame artwork intact, and reserve breathing room for its
   outward-painted strips and corners. Avoid changing grades, buttons or UI skins. */
#production-practices .production-practice-grid{
  gap:22px;
}
#production-practices .production-practice-card{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:12px;
  padding:25px 28px 24px;
  min-width:0;
  height:auto;
  overflow-wrap:anywhere;
}
#production-practices .production-practice-card h3{
  margin:0;
  max-width:100%;
  line-height:1.35;
}
#production-practices .production-practice-progress{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:6px;
  max-width:100%;
  min-width:0;
  line-height:1.45;
}
#production-practices .production-practice-status{
  display:block;
  font-size:1rem;
  font-weight:850;
}
#production-practices .production-practice-hours{
  display:block;
  font-size:.82rem;
  line-height:1.5;
  color:var(--muted-strong,#475569);
  overflow-wrap:anywhere;
}
#production-practices .production-practice-card form,
#production-practices .production-practice-card form .btn{
  max-width:100%;
}
/* The seasonal frame paints ~15–16px OUTSIDE every card on each side.
   Previous teacher grids had only 10px between framed cards, so art collided. */
body[data-oct30-preview="1"].season-halloween #production-practices{
  margin-bottom:48px!important;
}
body[data-oct30-preview="1"].season-halloween #production-practices .production-practice-grid{
  gap:40px!important;
  row-gap:40px!important;
  column-gap:40px!important;
}
body[data-oct30-preview="1"].season-halloween .teacher-quiet-hero{
  margin-bottom:40px!important;
}
body[data-oct30-preview="1"].season-halloween .teacher-kpi-strip{
  gap:36px!important;
  row-gap:36px!important;
  column-gap:36px!important;
}
body[data-oct30-preview="1"].season-halloween #production-practices .production-practice-card{
  padding:26px 29px 25px;
}
@media(max-width:760px){
  #production-practices .production-practice-card{padding:20px 19px;gap:10px}
  body[data-oct30-preview="1"].season-halloween #production-practices{margin-bottom:38px!important}
  body[data-oct30-preview="1"].season-halloween #production-practices .production-practice-grid{
    gap:30px!important;
    row-gap:30px!important;
    column-gap:30px!important;
  }
  body[data-oct30-preview="1"].season-halloween .teacher-quiet-hero{margin-bottom:32px!important}
  body[data-oct30-preview="1"].season-halloween .teacher-kpi-strip{
    gap:28px!important;row-gap:28px!important;column-gap:28px!important;
  }
}
@media(max-width:460px){
  #production-practices .production-practice-card{padding:18px 16px}
  #production-practices .production-practice-hours{font-size:.78rem}
  body[data-oct30-preview="1"].season-halloween #production-practices .production-practice-card{padding:19px 17px}
}

/* Aurora carries a higher-specificity .quiet-hero margin rule; target the actual
   teacher hero so its bottom frame clearance cannot collapse back to 18px. */
html[data-ui] body[data-oct30-preview="1"].season-halloween .lab2-main .quiet-hero.teacher-quiet-hero{
  margin-bottom:44px!important;
}
@media(max-width:760px){
  html[data-ui] body[data-oct30-preview="1"].season-halloween .lab2-main .quiet-hero.teacher-quiet-hero{
    margin-bottom:34px!important;
  }
}
