/* Больше, меньше, равно */
.cp-ans { color: var(--teal); font-family: var(--head); font-weight: 700; }
.cp-box { flex: none; display: inline-flex; align-items: center; justify-content: center; border: 1.4px solid #666; background: #fff; }
.cp-sign { width: 12mm; height: 12mm; border-radius: 50%; font-size: 20pt; }
.cp-num { min-width: 14mm; height: 10mm; border-radius: 2mm; font-size: 15pt; }

/* карточки с группами */
.cp-cards { width: 100%; height: 100%; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 1fr); gap: 5mm; }
.cp-card { border: 1.4px solid #d9cfb8; border-radius: 4mm; display: flex; flex-direction: column; justify-content: center; gap: 2.5mm; padding: 2mm; min-height: 0; }
.cp-pair { display: flex; align-items: center; justify-content: space-between; gap: 2mm; }
.cp-vs { flex: none; width: 4mm; }
.cp-g { flex: 1; display: flex; align-items: center; justify-content: center; border: 1.2px dashed #c9bfa8; border-radius: 3mm; height: 40mm; }
.cp-mark { border: 0.8mm solid var(--teal); border-radius: 50%; }
.cp-gi { display: grid; grid-template-columns: repeat(var(--c), 8.4mm); gap: 0.5mm; justify-content: center; }
.cp-gi span { font-size: 7mm; line-height: 8.4mm; text-align: center; }
.cp-hm { display: flex; align-items: center; justify-content: center; gap: 3mm; font: 600 12pt/1 var(--head); color: #333; }

/* числа и выражения */
.cp-grid { width: 100%; height: 100%; display: grid; gap: 0 6mm; align-content: space-evenly; }
.cp-g3 { grid-template-columns: repeat(3, 1fr); }
.cp-g2 { grid-template-columns: repeat(2, 1fr); }
.cp-cell { display: flex; align-items: center; justify-content: center; gap: 3mm; padding: 2.5mm 0; border-bottom: 1px dashed #e3ddd0; }
.cp-n { flex: 1; font: 600 20pt/1 var(--head); text-align: center; white-space: nowrap; }
.cp-long .cp-n { font-size: 16pt; }
.cp-e { font-size: 16pt; }

/* по порядку */
.cp-order { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: space-evenly; }
.cp-oh { font: 600 13pt/1.2 var(--head); color: #e0762e; }
.cp-orow { display: flex; flex-direction: column; gap: 2.5mm; padding-bottom: 2mm; border-bottom: 1px dashed #e3ddd0; }
.cp-onums { display: flex; justify-content: center; gap: 4mm; }
.cp-on { min-width: 22mm; text-align: center; font: 600 16pt/1 var(--head); background: #fff4d6; border: 1.2px solid #e0c36a; border-radius: 2mm; padding: 2mm 1mm; }
.cp-oboxes { display: flex; justify-content: center; align-items: center; gap: 1.5mm; }
.cp-ob { width: 25mm; height: 11mm; border-radius: 2mm; font-size: 15pt; }
.cp-ar { font: 700 14pt/1 var(--head); color: #888; }
