/* Reference mats: the mat page and its practice page (part A with the mat, part B without). Black and white friendly.
   All body text prints at 12.5 pt or more. */
.mt{display:flex;flex-direction:column;gap:4mm;font-size:12.5pt;line-height:1.45}
.mt p{margin:0}
.mt-box{border:.3mm solid #1f3a5f;border-radius:2mm;padding:2.5mm 3.5mm;break-inside:avoid}
.mt-bh{font-weight:800;color:#1f3a5f;margin:0 0 1.2mm!important}
.mt-box ul{margin:0;padding-inline-start:5mm;display:flex;flex-direction:column;gap:1mm}
.mt-tab{border-collapse:collapse;width:100%;font-size:12.5pt}
.mt-tab th,.mt-tab td{border:.3mm solid #444;padding:1.4mm 2mm;text-align:start;vertical-align:top}
.mt-tab thead th{background:#eef2f7;print-color-adjust:exact;-webkit-print-color-adjust:exact}
/* Times table grid */
.mt-grid{border-collapse:collapse;margin:0 auto;font-variant-numeric:tabular-nums}
.mt-grid th,.mt-grid td{border:.3mm solid #444;text-align:center;width:13mm;height:10mm;font-size:13pt}
.mt-g12 th,.mt-g12 td{width:11.5mm;height:9mm;font-size:12.5pt}
.mt-grid th{background:#eef2f7;font-weight:800;print-color-adjust:exact;-webkit-print-color-adjust:exact}
.mt-grid .mt-x{background:#1f3a5f;color:#fff}
.mt-grid .mt-sq{background:#f3f3f3;font-weight:800;print-color-adjust:exact;-webkit-print-color-adjust:exact}
/* Place value */
.mt-pv{border-collapse:collapse;width:100%;table-layout:fixed;text-align:center}
.mt-pv th,.mt-pv td{border:.4mm solid #1f3a5f;padding:1.5mm 1mm}
.mt-pv th{font-size:12.5pt;background:#eef2f7;print-color-adjust:exact;-webkit-print-color-adjust:exact}
.mt-pvv td{font-size:12.5pt;color:#444}
.mt-pvn td{font-size:26pt;font-weight:800;height:18mm}
.mt-pve{height:18mm}
.mt-big{font-size:15pt;font-weight:700;text-align:center;margin-bottom:2mm!important}
/* Fraction strips: thick cut lines */
.mt-strips{display:flex;flex-direction:column;gap:3mm}
.mt-strip{display:flex;border:.7mm solid #000;height:15mm}
.mt-strip span{flex:1;display:flex;align-items:center;justify-content:center;border-inline-start:.7mm solid #000;font-size:14pt;font-weight:700}
.mt-strip span:first-child{border-inline-start:0}
.mt-fr{display:inline-flex;flex-direction:column;align-items:center;vertical-align:middle;line-height:1.05;margin:0 .6mm;font-size:.92em}
.mt-fr span:first-child{border-bottom:.3mm solid currentColor;padding:0 .6mm}
/* Units, punctuation, conjugation */
.mt-units td:last-child{font-size:12.5pt;color:#333;white-space:pre}
.mt-mark{font-size:20pt;font-weight:900;text-align:center!important;width:16mm;vertical-align:middle!important}
.mt-conj{font-size:13pt}
.mt-conj th,.mt-conj td{padding:1.2mm 3mm}
.mt-vb b{font-weight:900;color:#b3261e}
/* Connectives and states */
.mt-cards{display:grid;grid-template-columns:1fr 1fr;gap:3mm}
.mt-three{grid-template-columns:1fr 1fr 1fr}
.mt-card p{font-size:12.5pt}
.mt-ex{margin-top:1.5mm!important;font-size:12.5pt!important;color:#333}
.mt-two{display:grid!important;grid-template-columns:1fr 1fr;gap:1.5mm 6mm!important;font-size:12.5pt}
/* Practice */
.mt-sec{break-inside:auto;margin-bottom:3mm}
.mt-h{display:flex;align-items:center;gap:2mm;font-weight:800;font-size:13pt;color:#1f3a5f;border-bottom:.4mm solid #1f3a5f;padding-bottom:1mm;margin-bottom:2.5mm!important}
.mt-h span{display:inline-flex;align-items:center;justify-content:center;width:8mm;height:8mm;border-radius:50%;background:#1f3a5f;color:#fff;font-size:12.5pt;print-color-adjust:exact;-webkit-print-color-adjust:exact}
.mt-items{display:grid;grid-template-columns:1fr 1fr;gap:6mm 8mm;margin:0;padding-inline-start:7mm;font-size:15pt}
.mt-numbox{display:inline-block;width:6mm;height:6mm;border:.3mm solid #333;margin-bottom:.6mm}
.mt-wide-list{grid-template-columns:1fr;font-size:12.5pt;gap:4.5mm}
.mt-items li{break-inside:avoid}
.mt-li-w{grid-column:1/-1}
.mt-li-ar{font-size:16pt}
.mt-blank{display:inline-block;min-width:18mm;border-bottom:.3mm solid #333;margin:0 1mm;height:1.1em;vertical-align:baseline}
.mt-blank.mt-wide{min-width:60mm}
.mt-endbox{display:inline-block;width:8mm;height:8mm;border:.3mm solid #333;vertical-align:middle;margin:0 1mm}
.mt-circle{display:inline-block;width:8mm;height:8mm;border:.3mm solid #333;border-radius:50%;vertical-align:middle;margin:0 1.5mm}
.mt-fill{color:#b3261e;margin:0 1mm}
.mt-cmp{font-size:1.15em}
.mt-a{color:#b3261e;font-weight:600;margin-top:1mm!important}
.mt-opts{display:flex;gap:3mm;margin-top:1mm!important}
.mt-opts span{border:.3mm solid #1f3a5f;border-radius:4mm;padding:0 3mm;font-weight:700}
.mt-lines i{display:block;height:8mm;border-bottom:.3mm solid #999}
.mt-tfbox{font-size:12.5pt;color:#333;margin-top:1mm!important}
.mt-self{font-size:12.5pt;color:#444;border-top:.3mm dashed #999;padding-top:2mm}
