/* Безопасность на дороге: сетки рисунков (ряды делят высоту поровну), «можно или нельзя» — 10 рядов, строка для подписи и
   банк слов, светофор — контур и три ряда (цвет и значение огня), лабиринт во весь лист, карточки 2 × 3 по 88 × 80 мм. */
.rs-emo { font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; line-height: 1; }
.rs-svg { width: 100%; height: 100%; display: block; }
.rs-grid { width: 184mm; max-width: 100%; height: 100%; align-self: stretch; display: grid; gap: 4mm; }
.rs-c1 { grid-template-columns: minmax(0, 1fr); }
.rs-c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rs-cell { position: relative; min-height: 0; border: 1.3px solid #cfe0ea; border-radius: 4mm; padding: 2.5mm 3mm; display: flex; flex-direction: column; align-items: center; gap: 1.2mm; overflow: hidden; }
.rs-color { border-style: dashed; }
.rs-art { flex: 1 1 auto; min-height: 0; width: 100%; }
.rs-hint { position: absolute; right: 2mm; top: 2mm; width: 22%; aspect-ratio: 1; border: 1px solid #eee; border-radius: 2mm; background: #fff; }
.rs-cap { flex: none; font: 600 14pt/1.15 var(--head); color: #2f2a20; text-align: center; white-space: nowrap; }
.rs-no { position: absolute; left: 2.2mm; top: 2.2mm; width: 6.4mm; height: 6.4mm; border-radius: 50%; background: var(--brand-dark, #e8622d); color: #fff; font: 700 10pt/6.4mm var(--head); text-align: center; z-index: 1; }
/* правильно или нет */
.rs-safe { width: 184mm; max-width: 100%; height: 100%; align-self: stretch; display: grid; gap: 2mm; }
.rs-srow { min-height: 0; display: flex; align-items: center; gap: 3mm; border-bottom: 1px dashed #cfe0ea; padding: 0 1mm; overflow: hidden; }
.rs-sno { flex: none; width: 6.4mm; height: 6.4mm; border-radius: 50%; background: var(--brand-dark, #e8622d); color: #fff; font: 700 10pt/6.4mm var(--head); text-align: center; }
.rs-sart { flex: none; width: 12mm; height: 12mm; }
.rs-stx { flex: 1 1 auto; min-width: 0; font: 12pt/1.25 var(--body); color: #2f2a20; word-break: keep-all; overflow-wrap: break-word; }
.rs-choice { flex: none; display: flex; gap: 2.5mm; }
.rs-opt { display: inline-flex; align-items: center; gap: 1.2mm; padding: 1mm 2.4mm; border: 1.3px solid #c9b98a; border-radius: 5mm; font: 600 10pt/1.2 var(--body); white-space: nowrap; }
.rs-opt .rs-emo { font-size: 12pt; }
.rs-opt.rs-on { border: 2.4px solid #1fa39a; background: #e6f4f2; }
/* подпиши */
.rs-label { width: 184mm; max-width: 100%; height: 100%; align-self: stretch; display: flex; flex-direction: column; gap: 3mm; }
.rs-label .rs-grid { flex: 1; min-height: 0; height: auto; }
.rs-wline { flex: none; width: 88%; height: 9mm; border-bottom: 1.4px solid #555; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 0.8mm; }
.rs-wline span { font: 600 13pt/1 var(--head); color: #1f7a72; white-space: nowrap; }
.rs-bank { flex: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5mm 4mm; border: 1.3px dashed #b8862c; border-radius: 3mm; padding: 2mm 3mm; font: 600 11pt/1.3 var(--body); }
/* светофор */
.rs-light { width: 184mm; max-width: 100%; height: 100%; align-self: stretch; display: flex; flex-direction: column; gap: 3mm; }
.rs-lmain { flex: 1; min-height: 0; display: flex; gap: 6mm; }
.rs-lart { flex: none; width: 62mm; }
.rs-lrows { flex: 1; min-width: 0; display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 3mm; }
.rs-lrow { min-height: 0; display: flex; flex-direction: column; justify-content: center; gap: 2.5mm; border: 1.3px solid #cfe0ea; border-radius: 3mm; padding: 2mm 4mm; position: relative; }
.rs-dot { position: absolute; right: 4mm; top: 3mm; width: 9mm; height: 9mm; border-radius: 50%; border: 1.4px solid #555; }
.rs-lpos { font: 700 13pt/1.2 var(--head); color: var(--brand-dark, #e8622d); }
.rs-lfield { display: flex; align-items: flex-end; gap: 2mm; font: 11pt/1.2 var(--body); color: #555; }
.rs-lfield i { font-style: normal; flex: none; }
.rs-lfield span { flex: 1; min-width: 0; height: 8mm; border-bottom: 1.4px solid #555; display: flex; align-items: flex-end; justify-content: center; padding-bottom: .8mm; font: 700 13pt/1 var(--head); color: #1f7a72; white-space: nowrap; }
/* лабиринт */
.rs-maze { width: 184mm; max-width: 100%; height: 100%; align-self: stretch; }
.rs-maze svg { width: 100%; height: 100%; display: block; }
.rs-path { fill: none; stroke: #1fa39a; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0.85; }
/* карточки */
.sheet.bare .sheet-body { align-items: center; justify-content: center; }
.rs-sheetc { width: 176mm; display: flex; flex-direction: column; }
.rs-chead { height: 12mm; display: flex; align-items: center; justify-content: center; font: 9.5pt/1.2 var(--body); color: #666; text-align: center; overflow: hidden; }
.rs-chead b { color: var(--brand-dark, #e8622d); margin-right: 1mm; }
.rs-cut { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, 80mm); outline: 1.2px dashed #b8862c; }
.rs-card { position: relative; min-height: 0; border: 0.8px dashed #b8862c; padding: 3mm 4.5mm 3.5mm; display: flex; flex-direction: column; align-items: center; gap: 1.2mm; overflow: hidden; }
.rs-cimg { flex: 1 1 auto; min-height: 20mm; width: 100%; }
.rs-cname { flex: none; font-family: var(--head); font-weight: 700; color: #1f7a72; white-space: nowrap; }
.rs-chips { flex: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 1mm 2mm; font: 8.5pt/1.2 var(--body); color: #5a4a20; }
.rs-chips span { background: #eaf4fb; border-radius: 2mm; padding: 0.5mm 1.6mm; white-space: nowrap; }
.rs-fact { flex: none; margin: 0; font: 9.5pt/1.32 var(--body); color: #2f2a20; text-align: center; word-break: keep-all; overflow-wrap: break-word; }
