.stu-portal-links a { color: var(--accent-deep); font-weight: 600; }
.login-portal-links a { color: var(--accent-deep); font-weight: 600; }
.login-right a { color: var(--accent-deep); font-weight: 600; }
.stu-shell {
  max-width: 420px;
  margin: 0 auto;
  padding: 28px 16px 40px;
}
.stu-hero h1 { margin: 4px 0 6px; font-size: 1.75rem; font-weight: 900; }
.stu-eyebrow {
  margin: 0;
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--accent-deep);
  font-weight: 700;
}
.stu-card {
  margin-top: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.stu-card label { display: block; font-size: .82rem; margin: 8px 0 4px; color: var(--muted); }
.stu-card input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.stu-btn { width: 100%; margin-top: 14px; padding: 12px; }
.stu-card .tip { font-size: .78rem; margin: 10px 0 0; line-height: 1.5; }
.stu-card .err { color: var(--danger); min-height: 1.2em; font-size: .85rem; margin: 8px 0 0; }
.stu-app {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  padding-bottom: 72px;
}
.stu-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: linear-gradient(135deg, #0abab5, #067a76);
  color: #fff;
}
.stu-top .muted { color: rgba(255,255,255,.85); font-size: .78rem; margin-top: 2px; }
.stu-top .btn.ghost {
  color: #fff;
  border-color: rgba(255,255,255,.45);
  background: transparent;
  padding: 6px 12px;
}
.stu-main { padding: 14px 16px 24px; }
.stu-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 12px;
}
.stu-panel h3 { margin: 0 0 10px; font-size: 1rem; }
.stu-banner {
  background: linear-gradient(145deg, #0d3d38, #0abab5);
  color: #fff;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
}
.stu-banner .k { opacity: .9; font-size: .85rem; }
.stu-banner .v { font-size: 1.2rem; font-weight: 800; margin-top: 4px; }
.stu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.stu-chip {
  background: #f3faf9;
  border-radius: 10px;
  padding: 10px;
  font-size: .85rem;
}
.stu-chip .k { color: var(--muted); font-size: .75rem; }
.stu-chip .v { font-weight: 700; margin-top: 2px; }
.stu-list-item {
  border-top: 1px solid var(--line);
  padding: 10px 0;
  font-size: .9rem;
}
.stu-list-item:first-child { border-top: 0; padding-top: 0; }
.stu-tag {
  display: inline-block;
  font-size: .72rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 700;
}
.stu-tag.warn { background: #fff3e8; color: var(--warn); }
.stu-tag.ok { background: #e6f7ef; color: var(--ok); }
.stu-pay-row { display: flex; gap: 8px; margin-top: 8px; }
.stu-pay-row input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.stu-tab {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  max-width: 480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(16,40,38,.06);
  z-index: 20;
}
.stu-tab button {
  border: 0;
  background: transparent;
  padding: 12px 8px 14px;
  color: var(--muted);
  font-weight: 600;
}
.stu-tab button.active { color: var(--accent-deep); }
@media (min-width: 720px) {
  .stu-shell { padding-top: 48px; }
}
