
#page-student{
  background:#FFFCF7; font-family:'Nunito',system-ui,sans-serif;
  padding-top:0 !important; padding-bottom:40px;
}
/* "stu-" prefix: avoids the hero/-card/-tile/-tag/-section wildcard traps */
.stu-top{
  position:relative; width:100%; margin:0; padding:0 !important;
  background:none !important; border-radius:0 !important; line-height:0;
}
.stu-top img{
  display:block; width:100%; height:auto; aspect-ratio:2/1;
  object-fit:cover; object-position:center; border-radius:0; box-shadow:none;
}
/* The sticky site header is about 66px tall, so at top:20px this button sat
   UNDERNEATH it and could not be seen or tapped. Pushed clear of the header. */
.stu-back{
  position:absolute; top:84px; left:20px; z-index:6; display:inline-flex; align-items:center; gap:6px;
  background:#243447; border:none; color:#fff !important; -webkit-text-fill-color:#fff !important;
  padding:10px 16px; border-radius:999px; font:inherit; font-weight:700; font-size:.8rem;
  cursor:pointer; min-height:44px; box-shadow:0 6px 16px rgba(36,52,71,.24);
}
.stu-back svg{ width:15px; height:15px; }

.stu-cta{ display:flex; gap:10px; flex-wrap:wrap; justify-content:center; padding:20px 20px 0; }
.stu-note{
  text-align:center; font-size:.9rem; margin:12px 0 0;
  color:#78766c !important; -webkit-text-fill-color:#78766c !important;
}
.stu-btn{
  background:#243447; border:2px solid #243447; border-radius:999px;
  padding:13px 26px; min-height:48px; font:inherit; font-weight:800; font-size:.95rem;
  color:#fff !important; -webkit-text-fill-color:#fff !important;
  cursor:pointer; transition:transform .12s ease, background .16s ease;
}
.stu-btn:hover{ background:#31465F; }
.stu-btn:active{ transform:scale(.97); }
.stu-btn--soft{
  background:#fff; border-color:#EAE2D4;
  color:#243447 !important; -webkit-text-fill-color:#243447 !important;
}
.stu-btn--soft:hover{ border-color:#7d9e77; background:#FBF6EC; }
.stu-btn--sm{ padding:9px 16px; min-height:44px; font-size:.84rem; }
.stu-btn:focus-visible,.stu-back:focus-visible,.stu-nb:focus-visible,.stu-chip:focus-visible{
  outline:3px solid #CF9E3F; outline-offset:2px;
}

.stu-wrap{ max-width:1240px; margin:0 auto; padding:26px 20px 20px; }
#page-student h2.stu-h{
  font-family:'Playfair Display',serif; font-size:clamp(1.5rem,2.8vw,2rem); margin:0 0 4px;
  color:#243447 !important; -webkit-text-fill-color:#243447 !important;
}
.stu-sub{ color:#78766c !important; -webkit-text-fill-color:#78766c !important; margin:0 0 20px; }
.stu-store{
  font-size:.76rem; text-align:center; margin:0 0 12px;
  color:#a8a496 !important; -webkit-text-fill-color:#a8a496 !important;
}

/* internal nav */
.stu-nav{ display:flex; gap:8px; overflow-x:auto; padding-bottom:6px; margin-bottom:22px; }
.stu-nb{
  flex:none; background:#fff; border:1.5px solid #EAE2D4; border-radius:999px;
  padding:10px 18px; min-height:44px; font:inherit; font-weight:700; font-size:.88rem;
  color:#5b7fa6 !important; -webkit-text-fill-color:#5b7fa6 !important; cursor:pointer;
}
.stu-nb.on{ background:#243447; border-color:#243447; color:#fff !important; -webkit-text-fill-color:#fff !important; }

/* snapshot cards */
.stu-snap{ display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:14px; margin-bottom:24px; }
.stu-sc{
  background:#fff; border:1px solid #EAE2D4; border-radius:22px; padding:18px;
  text-align:left; cursor:pointer; font:inherit; min-height:112px;
  transition:transform .12s ease, border-color .15s ease;
  display:flex; flex-direction:column; gap:4px;
}
.stu-sc:hover{ border-color:#7d9e77; transform:translateY(-2px); }
.stu-sc:focus-visible{ outline:3px solid #CF9E3F; outline-offset:2px; }
.stu-sc .ic{ font-size:1.15rem; }
.stu-sc .lb{
  font-size:.76rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase;
  color:#a8a496 !important; -webkit-text-fill-color:#a8a496 !important;
}
.stu-sc .vl{
  font-family:'Playfair Display',serif; font-size:1.35rem; line-height:1.2;
  color:#243447 !important; -webkit-text-fill-color:#243447 !important;
}
.stu-sc .ex{ font-size:.82rem; color:#78766c !important; -webkit-text-fill-color:#78766c !important; }

.stu-panel{
  background:#fff; border:1px solid #EAE2D4; border-radius:24px; padding:24px; margin-bottom:20px;
  box-shadow:0 6px 20px rgba(51,64,47,.04);
}
.stu-ph{ display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:14px; flex-wrap:wrap; }
#page-student h3.stu-h3{
  font-family:'Playfair Display',serif; font-size:1.3rem; margin:0;
  color:#243447 !important; -webkit-text-fill-color:#243447 !important;
}
.stu-empty{
  background:#FBF6EC; border:1px dashed #EAE2D4; border-radius:18px; padding:28px; text-align:center;
  color:#78766c !important; -webkit-text-fill-color:#78766c !important; line-height:1.7;
}

/* today timeline */
.stu-row{ display:flex; gap:12px; align-items:flex-start; padding:14px 0; border-bottom:1px solid #F4F1E8; }
.stu-row:last-child{ border-bottom:none; }
.stu-time{
  flex:none; width:62px; font-weight:800; font-size:.86rem; padding-top:10px;
  color:#5b7fa6 !important; -webkit-text-fill-color:#5b7fa6 !important;
}
.stu-cb{
  flex:none; position:relative; width:44px; height:44px; margin:0; padding:0;
  border:none; background:none; cursor:pointer; display:grid; place-items:center; font-size:0;
}
.stu-cb::before{
  content:''; width:24px; height:24px; border-radius:50%;
  border:2px solid #C9C3B2; background:#fff; transition:background .18s ease, border-color .18s ease;
}
.stu-cb.done::before{ background:#7d9e77; border-color:#7d9e77; }
.stu-cb.done::after{ content:'✓'; position:absolute; color:#fff; -webkit-text-fill-color:#fff; font-size:.78rem; font-weight:900; }
.stu-cb:focus-visible{ outline:3px solid #CF9E3F; outline-offset:-4px; border-radius:50%; }
.stu-body{ flex:1; min-width:0; padding-top:8px; }
.stu-body b{ display:block; color:#243447 !important; -webkit-text-fill-color:#243447 !important; }
.stu-row.is-done .stu-body b{ text-decoration:line-through; color:#a8a496 !important; -webkit-text-fill-color:#a8a496 !important; }
.stu-meta{ display:flex; flex-wrap:wrap; gap:6px; margin-top:6px; }
.stu-meta span{
  font-size:.72rem; font-weight:700; border-radius:999px; padding:3px 9px; background:#F4F1E8;
  color:#78766c !important; -webkit-text-fill-color:#78766c !important;
}
.stu-acts{ display:flex; gap:6px; flex-wrap:wrap; align-items:center; padding-top:5px; }

.stu-warn{
  background:#FBF1DC; border:1px solid #E8D9AE; border-radius:14px; padding:12px 15px; margin-bottom:14px;
  font-size:.88rem; line-height:1.6;
  color:#8a6d2f !important; -webkit-text-fill-color:#8a6d2f !important;
}

/* assignments */
.stu-tools{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:16px; }
.stu-chip{
  background:#fff; border:1.5px solid #EAE2D4; border-radius:999px;
  padding:9px 14px; min-height:44px; font:inherit; font-weight:700; font-size:.82rem;
  color:#5b7fa6 !important; -webkit-text-fill-color:#5b7fa6 !important; cursor:pointer;
}
.stu-chip.on{ background:#5b7fa6; border-color:#5b7fa6; color:#fff !important; -webkit-text-fill-color:#fff !important; }
.stu-sel{
  border:1.5px solid #EAE2D4; border-radius:999px; padding:10px 14px; min-height:44px;
  font:inherit; font-size:.84rem; background:#fff;
  color:#243447 !important; -webkit-text-fill-color:#243447 !important;
}
.stu-as{ display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:14px; }
.stu-as--list{ grid-template-columns:1fr; }
.stu-a{
  background:#fff; border:1px solid #EAE2D4; border-radius:18px; padding:18px;
  display:flex; flex-direction:column; gap:8px;
}
.stu-a b{ font-size:1.02rem; color:#243447 !important; -webkit-text-fill-color:#243447 !important; }
.stu-dot{ display:inline-block; width:9px; height:9px; border-radius:50%; margin-right:6px; }
.stu-bar{ height:8px; border-radius:999px; background:#EAE2D4; overflow:hidden; }
.stu-bar i{ display:block; height:100%; background:#7d9e77; border-radius:999px; }
.stu-pri{
  font-size:.7rem; font-weight:800; border-radius:999px; padding:3px 9px;
}
.stu-pri.Urgent{ background:#F7E4DC; color:#a8502a !important; -webkit-text-fill-color:#a8502a !important; }
.stu-pri.High{ background:#FBF1DC; color:#8a6d2f !important; -webkit-text-fill-color:#8a6d2f !important; }
.stu-pri.Medium{ background:#EAF1E4; color:#4d6a47 !important; -webkit-text-fill-color:#4d6a47 !important; }
.stu-pri.Low{ background:#F4F1E8; color:#78766c !important; -webkit-text-fill-color:#78766c !important; }
.stu-next{
  background:#F2F6FA; border-radius:12px; padding:9px 12px; font-size:.83rem;
  color:#41628a !important; -webkit-text-fill-color:#41628a !important;
}
.stu-a .stu-acts{ margin-top:auto; }

/* steps */
.stu-step{ display:flex; align-items:center; gap:10px; padding:9px 0; border-bottom:1px solid #F4F1E8; }
.stu-step:last-child{ border-bottom:none; }
.stu-step span{ flex:1; color:#4a4a44 !important; -webkit-text-fill-color:#4a4a44 !important; font-size:.92rem; }
.stu-step.done span{ text-decoration:line-through; color:#a8a496 !important; -webkit-text-fill-color:#a8a496 !important; }
.stu-mini{
  background:#fff; border:1.5px solid #EAE2D4; border-radius:999px; width:44px; height:44px;
  font:inherit; cursor:pointer; color:#78766c !important; -webkit-text-fill-color:#78766c !important;
}
.stu-mini:hover{ border-color:#7d9e77; }
.stu-mini:focus-visible{ outline:3px solid #CF9E3F; outline-offset:2px; }

@media (max-width:600px){
  .stu-wrap{ padding:20px 14px; }
  .stu-panel{ padding:18px; border-radius:20px; }
  .stu-cta{ flex-direction:column; padding:16px 14px 0; }
  .stu-cta .stu-btn{ width:100%; }
  .stu-back{ top:76px; left:14px; }
  .stu-as{ grid-template-columns:1fr; }
}
@media (prefers-reduced-motion:reduce){
  .stu-sc,.stu-btn,.stu-cb{ transition:none !important; }
}
