/* Sulcus website: phone-width fixes (3 Dec 2026). Desktop is untouched: every rule sits in a max-width query. */
@media (max-width: 600px) {
  /* No sideways drift from stray wide elements */
  html, body { overflow-x: clip; }
  /* iOS zooms into fields below 16px; keep text fields at 16px */
  input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=button]):not([type=submit]), select, textarea { font-size: 16px !important; }
  /* Comfortable tap targets for footer and small text links */
  footer a, .fs-link { display: inline-block; padding-block: 6px; }
  /* Long words (drug names, URLs) wrap instead of pushing the layout */
  p, li, h1, h2, h3, h4, td, th, dd, dt, blockquote { overflow-wrap: break-word; }
  /* Home: "Today's plan" card lost ~80px to stacked gutters; give it the width back */
  div:has(> .gr-card) { padding-left: 0 !important; padding-right: 0 !important; }
  .gr-card { padding: 18px !important; }
  .gr-card ul > li { flex-wrap: wrap; padding: 12px 14px !important; gap: 10px 12px !important; }
  .gr-card ul > li > span:nth-child(2) { flex: 1 1 150px !important; }
  /* Home: two-up feature cards were 120px wide; stack them */
  .m-2up { grid-template-columns: 1fr !important; }
  .m-2up > div { padding: 20px !important; }
  /* Exam pages: hero notice chip split into two narrow columns */
  .ap-chip-accent { flex-wrap: wrap !important; justify-content: center; text-align: center; row-gap: 2px; }
  /* NGN icon rail: tighter tiles so more of each label is readable */
  .ap-icongrid > div { padding: 24px 16px !important; }
}
@media (max-width: 380px) {
  .gr-card ul > li > span:last-child:not(:nth-child(2)) { margin-left: 42px; }
}
