/* Materiały dla nauczycieli: karty pracy, scenariusz, płachty do wydruku. */
.mono { font-family: var(--tape); letter-spacing: .06em; }
.key { font-family: var(--tape); color: var(--filament); }
.card { border-top: 1px solid var(--edge); margin-top: 2.2rem; padding-top: 1.2rem; }
ol.tasks { padding-left: 1.4rem; }
ol.tasks > li { margin-bottom: 1.2rem; color: var(--ivory-dim); line-height: 1.65; }
ol.tasks > li::marker { font-family: var(--tape); color: var(--brass); }
ol.tasks p { margin: .3rem 0; }
.blank { color: var(--mute); overflow-wrap: anywhere; }
.odp { color: var(--green); }
body:not(.z-odp) .odp { display: none; }
body.z-odp .cell .blank { display: none; }
.ind { display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: .3rem .8rem; margin: .5rem 0; }
.ind .cell { white-space: nowrap; }
table.plan, table.hdr, table.perm, .card table.work { border-collapse: collapse; margin: .6rem 0 1rem; }
table.plan { width: 100%; }
table.plan th, table.plan td, table.hdr th, table.hdr td { border: 1px solid var(--line2); padding: .4rem .55rem; vertical-align: top; text-align: left; line-height: 1.55; }
table.plan td:first-child { font-family: var(--tape); color: var(--brass); white-space: nowrap; }
table.perm { font-family: var(--tape); font-size: .85rem; }
table.perm th, table.perm td, .card table.work th, .card table.work td { border: 1px solid var(--line2); padding: .2rem .3rem; text-align: center; min-width: 1.3rem; }
table.hdr td:last-child { min-width: 7rem; }
table.perm, .card table.work, table.hdr { display: block; overflow-x: auto; max-width: 100%; }
label.opt { display: inline-flex; align-items: center; gap: .3rem; color: var(--ivory-dim); }

/* płachty */
.sheet-fig { margin: 1.4rem 0; }
.sheet-fig figcaption { font-size: .85rem; color: var(--ivory-dim); margin-bottom: .4rem; }
svg.sheet { width: 100%; max-width: 40rem; height: auto; display: block; border: 1px solid var(--edge); }

@media print {
  :root { --ivory: #000; --ivory-dim: #222; --brass: #000; --filament: #000; --green: #000; --mute: #555; --line2: #888; --edge: #888; }
  body { background: #fff; color: #000; }
  .noprint, nav, footer { display: none !important; }
  .wrap { max-width: none; padding: 0; }
  a { color: #000; text-decoration: none; }
  .card { break-before: page; }
  .card { border-top: 0; margin-top: 0; }
  table.perm, .card table.work, table.hdr { overflow: visible; }
  .masthead p { display: none; }
  .blank { color: #000; }
  .odp { font-style: italic; }
  .sheet-fig { break-after: page; margin: 0; }
  .sheet-fig:last-child { break-after: auto; }
  svg.sheet { max-width: none; width: 100%; border: 0; }
  .sheets-page .masthead { display: none; }
}
