/* CTPA 2026-11-05 | Focus: mobile timeline ordering only.
   Desktop markup and layout stay exactly as they were.
   No changes to step controls, timers, storage or sync. */
@media screen and (max-width: 950px) {
  .flow-page-compact {
    display: flex;
    flex-direction: column;
  }
  /* Flatten the existing pair of ritual cards into the mobile flex layout.
     Desktop retains the original 2-column .flow-routine-grid unchanged. */
  .flow-page-compact > .flow-routine-grid {
    display: contents;
  }
  .flow-page-compact > .flow-routine-grid > .flow-ritual:first-child {
    order: 1;
    width: 100%;
    min-width: 0;
  }
  .flow-page-compact > .flow-main {
    order: 2;
  }
  .flow-page-compact > .flow-summary-foot {
    order: 3;
  }
  .flow-page-compact > .flow-routine-grid > .flow-ritual:last-child {
    order: 4;
    width: 100%;
    min-width: 0;
    margin-top: 14px;
  }
}
