/* Phone fixes for the 3 American School of AI class lists (AI-PM, AI-PMPO, AI-TF), November 12, 2026.
   Since November 14, 2026 (Sean: "Yes, do all 3") these frames load schedule-ink.css FIRST, then declare this layer,
   so the ink class blocks win where the two disagree and these rules only fill gaps ink leaves.
   Phones only (the frame is under 680 px wide on a phone). */
@layer ai-frame-phone {
@media (max-width: 680px) {
  html body .card .date-blk { border-right: 0 !important; }
  html body .card .cta-blk { display: flex !important; flex-direction: row !important; flex-wrap: wrap !important; align-items: center !important; justify-content: space-between !important; gap: 8px 12px !important; }
  html body .card .cta-blk .seats-badge { flex: 1 1 100% !important; }
  html body .card .cta-blk .btn-reg { width: auto !important; flex: 0 0 auto !important; min-height: 44px !important; padding: 0 22px !important; }
  html body :is(.btn-learn, .filters-toggle, .view-more button) { min-height: 44px !important; }
  html body .filters-toggle-label { display: inline !important; }
  html body :is(.fpill, .fdrop, .fdrop select, .panel-tab, .sessions-pill) { min-height: 44px !important; }
  html body .trainer-title-lg { -webkit-line-clamp: unset !important; display: block !important; overflow: visible !important; }
  html body .cal-panel .tab-panel { min-height: 0 !important; }
  html body .filter-bar { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 0 8px !important; }
  html body .inst-av-wrap .inst-av { position: static !important; inset: auto !important; width: 100% !important; height: 100% !important; object-fit: cover !important; transform: none !important; }
}
/* Round 4 (November 12, 2026). A frame is under 600 px wide only on a phone (at 768 px it is 628 px). */
@media (max-width: 600px) {
  /* the list sits straight on the page band: cards no longer touch a second border */
  html, html body { background: transparent !important; }
  html body .container.embed { padding: 2px 0 6px !important; background: transparent !important; }
  /* "1 Day" shows once: the header pill keeps it, the meta row drops it (the calendar icon is the only one with a rect) */
  html body .card:has(.sessions-pill) .info-row2 > .meta:has(> svg > rect) { display: none !important; }
  /* November 13, 2026: the 3-class cap is gone. asai-schedule-frame.js opens the list with 6 classes on mobile (Sean). */
  html body .view-more { margin-top: 12px !important; }
  /* old price and discount stay on one line */
  html body :is(.price-was, .price-off) { white-space: nowrap !important; }
}
}
