/* /flourishing and /east-bay on a phone (2026-11-27): the desktop's three columns (the memo, the map, the observations)
   stacked in that order, the map sized by the screen's width instead of its height. Desktop is untouched. */
@media (max-width: 900px) {
  html body .flourishing-dashboard { display: flex !important; flex-direction: column; min-height: 0; padding: 12px 0 24px; }
  html body .flourishing-side, html body .flourishing-center { width: 100%; height: auto !important; max-height: none !important; }
  html body .flourishing-side { display: block; padding: 0 18px; }
  html body .flourishing-side-left .memo { max-width: none; }
  html body .flourishing-center { gap: 14px !important; padding: 8px 0 !important; align-items: center; }
  html body .ca-stage { height: auto !important; max-height: none !important; width: calc(100vw - 24px) !important;
              max-width: calc(100vw - 24px) !important; margin: 44px auto 0 !important; }
  html body .ca-legends-overlay { width: 46vw !important; }
  html body .layer-grid-east-bay { width: calc(100vw - 24px); }
  html body .layer-grid-east-bay .layer-row { grid-template-columns: 64px 1fr 1fr 1fr !important; }
  html body .flourishing-side-right { margin-top: 18px; }
  html body .obs-grid-wrap { max-height: 70vh; }
  /* the months fit a phone at a smaller size; the legends shrink inside the map frame; nothing scrolls sideways */
  html body .month-strip { font-size: .56rem !important; letter-spacing: .04em !important; }
  html body .ca-legends-overlay { right: 6px !important; }
  html body .ca-legends-overlay .legend-label, html body .legend-size .legend-label-below { font-size: .5rem !important; letter-spacing: .08em !important; }
  html body .legend-axis { font-size: .55rem !important; }
  html body .flourishing-dashboard { overflow-x: clip; }
  html, body { overflow-x: clip; }
}
