/* Обязанности в классе: карточки 2 × 3 (эмодзи долей карточки, название, описание, строка «кто»), карточки имён 3 × 7,
   таблица обязанность × 4 недели; ряды делят высоту поровну. */
#cj-list, #cj-class { width: 100%; font: inherit; padding: 8px 10px; border: 1.5px solid #ddd3c2; border-radius: 10px; }
#cj-list { resize: vertical; }
.cj-pick label span { font-size: 13px; }
.cj-wrap { width: 100%; height: 100%; padding: 12mm 13mm 10mm; display: flex; flex-direction: column; align-items: center; }
.cj-h1 { flex: none; font: 600 28pt/1.1 var(--head); color: var(--brand-dark, #e8622d); text-align: center; }
.cj-sub { flex: none; font: 12pt/1.3 var(--body); color: #555; text-align: center; margin: 1mm 0 5mm; }
.cj-in { flex: 1; min-height: 0; width: 100%; display: flex; justify-content: center; align-items: flex-start; }
.cj-emo { font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; line-height: 1; }
.cj-cards { width: 184mm; max-width: 100%; height: 100%; align-self: stretch; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 4mm; }
.cj-card { min-height: 0; border: 1.8mm solid var(--c); border-radius: 5mm; padding: 2.5mm 4mm 3mm; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.2mm; overflow: hidden; }
.cj-e { flex: 1; min-height: 12mm; width: 100%; display: flex; align-items: center; justify-content: center; container-type: size; }
.cj-e .cj-emo { font-size: min(80cqh, 40cqw); }
.cj-t { flex: none; font: 600 15pt/1.1 var(--head); color: color-mix(in srgb, var(--c) 70%, #222); }
.cj-d { flex: none; font: 9.5pt/1.25 var(--body); color: #555; }
.cj-who { flex: none; width: 100%; display: flex; align-items: flex-end; gap: 2mm; font: 10pt/1 var(--body); color: #777; margin-top: 1mm; }
.cj-who i { flex: 1; border-bottom: 1.3px solid #888; height: 7mm; }
.cj-names { width: 184mm; max-width: 100%; height: 100%; align-self: stretch; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(7, minmax(0, 1fr)); gap: 3mm; }
.cj-name { min-height: 0; border: 1.2mm solid var(--c); border-radius: 4mm; display: flex; align-items: center; justify-content: center; padding: 0 3mm; overflow: hidden; }
.cj-name span { font-family: var(--head); font-weight: 600; color: #333; white-space: nowrap; }
.cj-name i { width: 80%; border-bottom: 1.2px solid #999; height: 6mm; }
.cj-chart { width: 184mm; max-width: 100%; align-self: flex-start; border-collapse: collapse; table-layout: fixed; }
.cj-chart th, .cj-chart td { border: 1.2px solid #b8a86c; padding: 0 2mm; }
.cj-chart th { background: #fdf3df; font: 600 11pt/1.2 var(--head); height: 9mm; }
.cj-chart th:first-child { width: 58mm; }
.cj-j { font: 11pt/1.2 var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cj-j .cj-emo { margin-right: 2mm; font-size: 13pt; }
.cj-rs td { height: 14mm; } .cj-rm td { height: 10.5mm; } .cj-rl td { height: 7mm; font-size: 10pt; }
.cj-rl .cj-j .cj-emo { font-size: 11pt; }
