/* /students - eligibility rules, suffix list, address check and the academic
   Embedded / Cloud Relay callout. Layout deltas only; colors come from tokens.css. */

.stu-note { margin: 14px 0 0; color: var(--muted); font-size: 0.95rem; line-height: 1.6; }

.stu-rules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 20px;
  margin-bottom: 28px;
}
.stu-rule {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.stu-rule h3 { margin: 0 0 12px; color: var(--heading); font-size: 1.1rem; }
.stu-rule ul { margin: 0; padding-left: 1.1em; }
.stu-rule li { color: var(--ink); line-height: 1.6; margin-bottom: 8px; overflow-wrap: anywhere; }
.stu-rule li:last-child { margin-bottom: 0; }

.stu-suffixes {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 24px;
  margin-bottom: 28px;
}
.stu-suffixes summary { cursor: pointer; font-weight: 600; color: var(--heading); }
.stu-suffixes p { color: var(--muted); line-height: 1.6; max-width: 72ch; }
.stu-suffixes h4 { margin: 18px 0 8px; color: var(--heading); font-size: 0.95rem; }
.stu-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.stu-chips li code {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.85rem;
}

.stu-check { max-width: 640px; }
.stu-check label { display: block; font-weight: 600; color: var(--heading); margin-bottom: 8px; }
.stu-check-row { display: flex; gap: 10px; flex-wrap: wrap; }
.stu-check-row input {
  flex: 1 1 240px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--ink);
  font: inherit;
}
.stu-check-row input:focus { outline: 2px solid var(--blue); outline-offset: -1px; border-color: var(--blue); }
.stu-check-hint { color: var(--muted); font-size: 0.9rem; margin: 8px 0 0; }
.stu-check-result { margin: 12px 0 0; padding: 10px 14px; border-radius: var(--radius); line-height: 1.6; overflow-wrap: anywhere; }
.stu-check-yes { background: var(--green-soft); color: var(--green-on-soft); }
.stu-check-no { background: var(--amber-soft); color: var(--amber-ink); }

.stu-academic {
  background: var(--pink-wash);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.stu-academic h2 { margin-top: 6px; }
.stu-academic p { color: var(--ink); line-height: 1.7; max-width: 72ch; }
