/* GrowthMint student experience v41.2. System fonts render without external requests. */
body, button, input, select, textarea, .display {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}
body { font-size:16px; line-height:1.6; text-rendering:optimizeLegibility; }
button, input, select, textarea { font-size:1rem; }
.student-area .small { font-size:.96rem; line-height:1.65; }
.student-area .xsmall { font-size:.875rem; line-height:1.6; }
.student-area .input, .student-area .select { min-height:48px; font-size:1rem; }
.student-area .btn { min-height:48px; line-height:1.4; white-space:normal; }
.student-area .label, .student-area label { font-size:.94rem; }
.student-area .category-card { border-radius:20px; }
.student-area .category-card h4 { line-height:1.4; overflow-wrap:anywhere; }
.student-area :focus-visible { outline:3px solid #60a5fa; outline-offset:4px; }
.student-welcome {
  display:grid; grid-template-columns:1.2fr 1fr; gap:clamp(24px,5vw,72px);
  padding:clamp(24px,4.5vw,60px); border:1px solid var(--line-soft,#dbe4f0);
  border-radius:28px; background:linear-gradient(125deg,#eef5ff,#fff 65%,#f0fdfa);
  color:#152741; align-items:center;
}
.portal-eyebrow { font-size:.78rem; letter-spacing:.13em; font-weight:750; color:#335b8a; }
.welcome-copy h2 { font-size:clamp(2.1rem,4.6vw,3.9rem); line-height:1.12; letter-spacing:-.045em; margin:18px 0; font-weight:800; }
.welcome-copy h2 span { color:#245ac2; }
.welcome-copy > p { font-size:1.1rem; line-height:1.75; color:#425772; max-width:52ch; }
.welcome-actions { display:flex; flex-wrap:wrap; gap:12px; margin:24px 0; }
.welcome-actions .btn-soft { background:#fff; border:1px solid #c8d7ea; color:#244b80; }
.welcome-trust { display:flex; flex-wrap:wrap; gap:8px 20px; color:#3f5c5a; font-size:.875rem; }
.welcome-guide { padding:26px; background:#fff; border:1px solid #dbe6f2; border-radius:20px; box-shadow:0 18px 50px -35px #28558e; }
.welcome-guide ol { list-style:none; padding:0; margin:22px 0 0; display:grid; gap:24px; }
.welcome-guide li { display:flex; gap:16px; align-items:flex-start; }
.welcome-guide li > span { flex:0 0 38px; height:38px; border-radius:12px; background:#edf3ff; color:#2b5bc0; display:grid; place-items:center; font-size:.85rem; font-weight:750; }
.welcome-guide strong { display:block; font-size:1rem; color:#1b3553; }
.welcome-guide p { margin:4px 0 0; line-height:1.6; color:#526680; font-size:.94rem; }
.student-auth-tabs { display:flex; justify-content:center; gap:10px; margin:22px auto 0; }
.student-auth { grid-template-columns:minmax(0,1fr) !important; max-width:700px; margin:auto; width:100%; }
.student-auth[data-auth-mode="login"] > div:last-child,
.student-auth[data-auth-mode="register"] > div:first-child { display:none; }
.student-id-help { margin-top:22px; }
.student-id-help summary { cursor:pointer; font-weight:650; padding:10px 0; }
.student-area #student-reg-form { scroll-margin-top:110px; }
.student-area .exam-selection-note { font-size:.94rem; line-height:1.7; }
.student-area .category-card .badge { white-space:normal; }
.student-area [data-exam-timer] { font-variant-numeric:tabular-nums; }
[data-theme="dark"] .student-welcome { background:linear-gradient(125deg,#172a48,#111f34 70%,#142c35); color:#ecf3ff; border-color:#334764; }
[data-theme="dark"] .welcome-copy h2 span { color:#93bdff; }
[data-theme="dark"] .welcome-copy > p, [data-theme="dark"] .welcome-trust { color:#bccde1; }
[data-theme="dark"] .portal-eyebrow { color:#a8c6ef; }
[data-theme="dark"] .welcome-guide { background:#17263b; border-color:#34475f; }
[data-theme="dark"] .welcome-guide strong { color:#edf4ff; }
[data-theme="dark"] .welcome-guide p { color:#bdcde0; }
[data-theme="dark"] .welcome-guide li > span { background:#273d60; color:#bed7ff; }
@media(max-width:850px) {
  .student-welcome { grid-template-columns:minmax(0,1fr); }
  .student-area .grid-3 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .header-inner { flex-wrap:wrap; gap:12px; }
  .header-actions { flex-wrap:wrap; min-width:0; }
}
@media(max-width:560px) {
  .student-area .grid-3, .student-area .grid-2 { grid-template-columns:minmax(0,1fr); }
  .student-welcome { border-radius:20px; padding:24px 20px; }
  .welcome-guide { padding:20px; }
  .welcome-actions { flex-direction:column; }
  .welcome-actions .btn { width:100%; }
  .student-area .admin-top { align-items:stretch; flex-direction:column; }
  .student-area .admin-top input { max-width:none !important; width:100%; }
  .student-area .panel { padding:22px 18px; }
  .brand { min-width:0; max-width:100%; }
  .brand h1 { white-space:normal; overflow-wrap:anywhere; font-size:1rem; }
  .role-switch { flex-wrap:wrap; }
  .header-actions { width:100%; justify-content:space-between; }
  .student-area .container { min-width:0; }
}
@media(prefers-reduced-motion:reduce) {
  *, *::before, *::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; }
}
