/* Small-screen fixes, loaded after style.css (kept separate: style.css is past
   the 800-line limit). */

/* Public topbar at phone widths: 32px side padding plus logo, "Intake Portal"
   and "Sign in" pushed every public page 21px wider than a 375px viewport. */
@media (max-width: 480px) {
  .topbar { padding: 14px 16px; gap: 12px; }
  .topbar .brand { min-width: 0; }
  /* The logo alone is ~284px wide at 28px tall, so stack the label under a
     slightly smaller logo instead of squeezing it out. */
  .topbar .brand-link { flex-direction: column; align-items: flex-start; gap: 2px; }
  .topbar .brand-logo { height: 24px; max-width: 100%; }
  .topbar .brand-link span { font-size: 0.85rem; }
  .topbar > a { white-space: nowrap; flex-shrink: 0; }
}
