.student-panel,.student-content {
  --student-paper:#fbf8ff;
  --student-ink:#2b2036;
  --student-muted:#60546b;
  --student-line:#e5dbea;
  --student-accent:#5e3688;
}
body.dark :is(.student-panel,.student-content) {
  --student-paper:#2b2234;
  --student-ink:#faf3ff;
  --student-muted:#d7c9df;
  --student-line:#554460;
  --student-accent:#e1bfff;
}
.student-panel {
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px;
  margin:0 0 18px; padding:clamp(16px,3vw,26px); border:1px solid var(--student-line);
  border-radius:20px; color:var(--student-ink); background:var(--student-paper);
}
.student-panel h2 { margin:0 0 6px; font-size:clamp(20px,3vw,28px); letter-spacing:-.02em }
.student-panel p,.student-content p { margin:0; line-height:1.55; color:var(--student-muted) }
.student-actions { display:flex; flex-wrap:wrap; align-items:center; gap:8px }
.student-button,.student-link {
  display:inline-flex; align-items:center; justify-content:center; min-height:44px; max-width:100%;
  padding:8px 13px; border:1px solid var(--student-line,#dfd5ea); border-radius:12px;
  color:var(--student-accent,#5e3688); background:var(--student-paper,#fbf8ff);
  font:inherit; font-weight:650; text-decoration:none; text-align:center; white-space:normal;
}
.student-button { cursor:pointer }
.student-button.student-primary { color:#fff; background:#61408a; border-color:#61408a }
body.dark .student-button.student-primary { background:#e2c8fa; color:#2b2036; border-color:#e2c8fa }
.student-content { display:grid; gap:14px; color:var(--student-ink); overflow-wrap:anywhere }
.student-content input[type="search"] {
  width:100%; min-width:0; min-height:48px; padding:10px 14px; border-radius:12px;
  border:1px solid var(--student-line); background:var(--student-paper); color:var(--student-ink); font:inherit; font-size:16px;
}
.student-campus-results { display:grid; gap:8px }
.student-campus-results article {
  display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:10px;
  border:1px solid var(--student-line); border-radius:12px; padding:12px; background:var(--student-paper);
}
.student-campus-results article span { display:block; margin-top:3px; color:var(--student-muted) }
.student-phase { display:grid; gap:8px }
.student-phase h3 { margin:4px 0; color:var(--student-ink) }
.student-phase article { border:1px solid var(--student-line); border-radius:12px; padding:12px; background:var(--student-paper) }
.student-phase article p { margin:5px 0 9px }
.student-content progress { width:100%; accent-color:#7550a2 }
.student-task { display:flex; gap:10px; min-height:44px; align-items:center; cursor:pointer }
.student-task input[type="checkbox"] { appearance:auto; width:22px; height:22px; min-height:0; flex:0 0 22px; margin:0; accent-color:#7550a2 }
:is(.student-panel,.student-content) :focus-visible { outline:2px solid var(--student-accent); outline-offset:3px }
.housing-campus-actions { display:grid; gap:6px; margin-top:9px }
.housing-campus-actions [role="status"]:empty { display:none }
.housing-campus-actions .btn { min-height:44px; width:fit-content; max-width:100%; white-space:normal; text-align:left }
@media(max-width:520px) {
  .student-home .student-actions { width:100% }
  .student-home .student-button { flex:1 1 auto }
}
