/* Paper-specific overrides come after screen components. No data is removed. */
@media print {
 @page { margin:15mm; }
 .ms-app, .ms-shared { background:white; color:#243e32; font-family:'DM Sans',Arial,sans-serif; font-size:11pt; }
 .ms-app .app-content, .ms-shared .content { width:100%; max-width:none; margin:0; padding:0; }
 .ms-app :is(.recipe-header,.recipe-section,.grocery-header,.grocery-item,.export-card,.export-text), .ms-shared :is(.plan-header,.meal-card,.grocery-section) { background:white; box-shadow:none; border-color:#b0b7ac; }
 .ms-app :is(.recipe-header h2,.grocery-header h2,.export-card h2), .ms-shared .plan-header h1 { font-size:24pt; }
 .ms-app :is(.recipe-section-title,.grocery-category-label), .ms-shared :is(.day-label,.grocery-cat-title) { break-after:avoid; }
 .ms-app :is(.recipe-steps li,.grocery-item,.food-intro-item), .ms-shared :is(.meal-card,.grocery-item-row) { break-inside:avoid; }
 .ms-app :is(.recipe-texture-note,.recipe-portion-note), .ms-shared .portion-note { background:white; color:#243e32; border:1px solid #647266; }
 .ms-app .recipe-steps li::before { background:white; color:#243e32; border:1px solid #647266; }
 .ms-app .grocery-item.checked .grocery-item-main { opacity:1; }
 .ms-app .export-text { max-height:none; overflow:visible; white-space:pre-wrap; font-size:10pt; padding:12px; }
 .ms-app .export-card { padding:0; border:0; }
 .ms-app .recipe-section { break-inside:auto; }
 .ms-app .grocery-category-items { display:block!important; }
 .ms-shared :is(.top-bar,.cta-banner,.print-bar,.footer) { display:none!important; }
}

@media print { .ms-app .export-text { font-family:var(--ms-font-body); font-size:11pt; line-height:1.5; color:var(--ms-ink); } }

@media print { .ms-app .export-paragraph { display:inline-block; width:100%; break-inside:avoid; } }
