/* AILERTO – materiały dla nauczycieli: wygląd na ekranie (jak strona) i czytelny wydruk A4 (czarne na białym). */
.m-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 1.5rem 0 2rem; }
.m-meta div { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--card); }
.m-meta b { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }
.m-meta span { font-size: .95rem; }
.m-step { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.m-step:last-of-type { border-bottom: 1px solid var(--line); }
.m-time { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: var(--gold); line-height: 1.2; font-variant-numeric: lining-nums; }
.m-step h4 { margin: 0 0 .3rem; font-size: 1.05rem; color: #fff; }
.m-step p, .m-step li { margin: 0 0 .4rem; }
.m-card { border: 1px dashed var(--gold); border-radius: 10px; padding: 16px 18px; margin: 1rem 0; break-inside: avoid; }
.m-card h4 { margin: 0 0 .5rem; color: var(--gold-light); }
.m-card ol { margin: .3rem 0 0; }
.m-lines span { display: block; border-bottom: 1px solid rgba(255,255,255,.25); height: 1.8rem; }
.m-teacher { border-left: 3px solid #d0705c; background: rgba(208,112,92,.08); padding: 12px 16px; border-radius: 0 10px 10px 0; margin: 1rem 0; }
.m-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 1rem 0 0; }
.m-toc { columns: 2; column-gap: 32px; }
.m-toc li { break-inside: avoid; }
.m-lesson { margin-top: 3.5rem; padding-top: 1rem; border-top: 2px solid var(--gold); }
.m-lesson:first-of-type { margin-top: 2rem; }
@media (max-width: 700px) { .m-meta { grid-template-columns: 1fr 1fr; } .m-step { grid-template-columns: 1fr; gap: 4px; } .m-toc { columns: 1; } }

@media print {
  @page { size: A4; margin: 15mm 14mm; }
  body { background: #fff !important; color: #111 !important; font-size: 10.5pt; }
  .reveal { opacity: 1 !important; transform: none !important; }
  strong, b, .prose strong, .p-table td strong { color: #111 !important; }
  .nav, .footer, .scroll-cue, .m-actions, .skip-link, .hero__glow, .cta-box, .related, .no-print { display: none !important; }
  .page-hero { padding: 0 !important; min-height: 0 !important; background: none !important; }
  .page-hero h1, .prose h2, .prose h3, .m-step h4, .m-card h4 { color: #111 !important; }
  .page-hero__lead, .prose p, .prose li, .m-step p, .m-step li, .m-meta span, .p-table td { color: #222 !important; }
  .eyebrow, .m-meta b, .m-time, .p-table th { color: #6b4e12 !important; }
  .section { padding: 0 !important; }
  .container, .narrow { max-width: none !important; padding: 0 !important; }
  .m-meta div, .m-card, .p-table, .tldr, .m-teacher { background: #fff !important; border-color: #999 !important; }
  .m-lines span { border-color: #888 !important; }
  .m-lesson { break-before: page; }
  .m-card, .m-step, .p-table, table { break-inside: avoid; }
  .pb { break-before: page; }
  a { color: #111 !important; text-decoration: none; }
}
