/* Compact mobile course cards; all content and 44px touch targets retained. */
@media(max-width:680px){
#formats .format-cards,#formats .format-grid{gap:10px}
#formats .format-card{display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;gap:5px 10px!important;min-height:0!important;padding:14px!important;align-content:start}
#formats .format-card .badge{position:static;grid-column:1/-1;grid-row:1;justify-self:start;font-size:10px;line-height:1.25;margin:0}
#formats .format-card .format-pictogram,#formats .format-card>.icon{grid-column:1;grid-row:2;width:32px!important;height:32px!important;margin:0!important;align-self:center}
#formats .format-card h3{grid-column:2;grid-row:2;align-self:center;font-size:19px;line-height:1.2;margin:0}
#formats .format-card p{grid-column:1/-1;min-height:0!important;font-size:12px!important;line-height:1.45;margin:3px 0 2px!important;text-align:left}
#formats .format-duration{grid-column:1/-1;font-size:12px;margin:0!important;line-height:1.4}
#formats .format-price{grid-column:1/-1;display:flex!important;align-items:baseline;gap:9px;font-size:21px!important;line-height:1.25;margin:0!important}
#formats .format-price .price-now{font-size:22px!important;line-height:1.3}
#formats .format-price .price-was{font-size:12px!important;margin:0!important}
#formats .format-meta{grid-column:1/-1;display:flex!important;flex-wrap:wrap;gap:3px 12px;margin:0!important;font-size:12px;line-height:1.4}
#formats .format-monthly{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap;line-height:1.4}
#formats .format-monthly .price-was{font-size:11px!important;margin:0}
#formats .price-month-now{font-size:13px!important}
#formats .format-start{display:block;width:100%;font-size:11px;margin:0!important;line-height:1.4}
#formats .schedule-toolbar{margin-top:22px!important;margin-bottom:12px}
#formats .schedule-toolbar h3{font-size:21px;margin-bottom:6px}
#formats .schedule-toolbar p{font-size:12px;line-height:1.4;margin-bottom:0}
#formats .segmented{display:flex;width:100%;margin-top:10px;padding:3px;gap:1px}
#formats .segmented button{flex:1;min-height:44px;padding:6px 7px;font-size:12px;white-space:nowrap}
#formats .schedule-row,#formats .schedule-list[data-view="all"] .schedule-row{grid-template-columns:minmax(0,1fr) auto;gap:7px 12px;padding:12px!important;margin-bottom:8px;align-items:center}
#formats .schedule-type{grid-column:1/-1;gap:8px;font-size:14px;line-height:1.35}
#formats .schedule-type .icon{width:19px;height:19px}
#formats .schedule-type>span{display:flex;flex-wrap:wrap;align-items:center;gap:5px 8px}
#formats .schedule-type .status{margin:0;font-size:10px;padding:2px 5px;line-height:1.3}
#formats .schedule-row>.schedule-detail:nth-child(2){grid-column:1/-1;line-height:1.4;font-size:13px}
#formats .schedule-detail span{font-size:12px;line-height:1.4}
#formats .schedule-row>.schedule-detail:nth-child(3){grid-column:1/-1;display:flex;gap:8px;align-items:baseline;font-size:12px;line-height:1.35}
#formats .schedule-price{grid-column:1;min-width:0;font-size:14px;line-height:1.4}
#formats .schedule-price .schedule-price-line,#formats .schedule-price .schedule-month-line{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 7px;line-height:1.35}
#formats .schedule-price .price-was{font-size:10px!important}
#formats .schedule-price strong{font-size:15px!important;line-height:1.35}
#formats .schedule-price .price-month-now{font-size:12px!important}
#formats .schedule-row>[data-apply]{grid-column:2;min-height:44px;padding:8px 12px;font-size:13px;white-space:nowrap;margin:0;align-self:center}
}
@media(max-width:680px){
#formats .format-card{--format-title-row:1}
#formats .format-card:has(.badge){--format-title-row:2}
#formats .format-card .format-pictogram,#formats .format-card>.icon,#formats .format-card h3{grid-row:var(--format-title-row)}
#formats .format-card p{grid-row:calc(var(--format-title-row) + 1)}
#formats .format-duration{grid-row:calc(var(--format-title-row) + 2)}
#formats .format-price{grid-row:calc(var(--format-title-row) + 3)}
#formats .format-meta{grid-row:calc(var(--format-title-row) + 4)}
}
@media(max-width:680px){#formats .format-card--wide>.format-summary,#formats .format-card--wide>.format-info,#formats .format-card--wide>.format-costs{display:contents!important}}
