/* Площадь и периметр: карточки 2 × 2 или 2 × 3, размеры в мм — engine.js (AR_BOX, arLayout) */
.ar-sheet { display: grid; gap: 4mm; justify-content: center; align-content: center; }
.ar-card { padding: 2.5mm 3mm; border: 1.2px solid #e3ddd0; border-radius: 3mm; display: flex; flex-direction: column; overflow: hidden; }
.ar-head { height: 11mm; display: flex; align-items: flex-start; gap: 2mm; font-size: 10pt; line-height: 1.25; overflow: hidden; }
.ar-no { flex: none; min-width: 6mm; height: 6mm; border-radius: 50%; background: #e0762e; color: #fff; display: inline-flex; align-items: center; justify-content: center; font: 700 9pt/1 var(--head); }
.ar-txt { padding-top: .4mm; }
.ar-fig { flex: none; }
.ar-svg { display: block; }
.ar-grid path { stroke: #c9d3da; stroke-width: .22; fill: none; }
.ar-fill { fill: #fde3c0; }
.ar-ansfill { fill: #cdeceb; stroke: #1b8a8c; stroke-width: .5; }
.ar-cut { fill: none; stroke: #1b8a8c; stroke-width: .35; stroke-dasharray: 1.2 .9; }
.ar-line { fill: none; stroke: #1f2a3a; stroke-width: .6; stroke-linejoin: round; }
.ar-lab { font: 600 3.53px var(--head); fill: #1f2a3a; dominant-baseline: central; }
.ar-q { fill: #e0762e; font-weight: 700; }
.ar-qa { fill: var(--teal); font-weight: 700; }
.ar-row { height: 8mm; display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 1mm 5mm; font: 600 11pt/1.1 var(--head); color: #1f2a3a; overflow: hidden; }
.ar-pair { white-space: nowrap; }
.ar-blank { display: inline-block; width: 13mm; border-bottom: 1.4px solid #555; height: 1em; vertical-align: -2px; }
.ar-ans { color: var(--teal); }
.ar-ex { color: var(--teal); }
/* ответы: пояснение до трёх строк, рисунок уменьшается пропорционально */
.ar-key .ar-head { height: auto; max-height: 14mm; flex: none; }
.ar-key .ar-ex { font-size: 9pt; line-height: 1.22; }
.ar-key .ar-fig { flex: 1 1 auto; min-height: 0; height: auto !important; }
.ar-key .ar-svg { width: 100%; height: 100%; }
