/* Читательский дневник: поля — flex по весам, линии — градиентом в мм (печатаются: print-color-adjust exact) */
.rl-field { display: flex; flex-direction: column; gap: 2px; font-size: 14px; margin-bottom: 6px; }
.rl-field input { font: 16px var(--body); padding: 6px 8px; border: 1.5px solid #d9cfb8; border-radius: 8px; }
.rl-check { display: block; font-size: 14px; margin: 2px 0; }
.rl-cols { columns: 2; column-gap: 10px; }
.rlf[hidden] { display: none; }

.rl-book, .rl-weeks, .rl-bingo, .rl-cover { width: 100%; height: 100%; display: flex; flex-direction: column; gap: 3mm; color: #2c2a22; }
.rl-lbl { font: 700 10.5pt/1.2 var(--body); color: #4a5a6a; white-space: nowrap; }
.rl-ones { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5mm 6mm; }
.rl-one { display: flex; align-items: flex-end; gap: 2mm; min-height: 9mm; }
.rl-one.rl-wide, .rl-ones .rl-one:last-child:nth-child(odd) { grid-column: 1 / -1; }
.rl-fill { flex: 1; border-bottom: .35mm solid #6b7f93; height: 7mm; min-width: 12mm; }
.rl-fill.rl-short { flex: 0 0 16mm; }
.rl-val { font: 600 15pt/1 "Fredoka", var(--head); color: #1f4e79; display: flex; align-items: flex-end; padding-left: 2mm; }
.rl-boxes { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 3mm; }
.rl-box { flex-basis: 0; min-height: 16mm; display: flex; flex-direction: column; border: .35mm solid #c9d3dc; border-radius: 3mm; padding: 2mm 3mm 1mm; }
.rl-lines { flex: 1; min-height: 8mm; }
.rl-r-lines { background: repeating-linear-gradient(to bottom, transparent 0 7.65mm, #8fa3b5 7.65mm 8mm); }
.rl-r-primary { background:
  repeating-linear-gradient(to bottom, transparent 0 5.1mm, #c8d2db 5.1mm 5.35mm, transparent 5.35mm 10.4mm, #7f93a6 10.4mm 10.75mm, transparent 10.75mm 13.5mm); }
.rl-r-cells { background:
  repeating-linear-gradient(to right, transparent 0 8.7mm, #d09a9a 8.7mm 9mm),
  repeating-linear-gradient(to bottom, transparent 0 8.7mm, #d09a9a 8.7mm 9mm); }
.rl-draw { border: .4mm dashed #b8a27a; background: #fff; }
.rl-rate { display: flex; align-items: center; gap: 4mm; }
.rl-stars { height: 9mm; width: auto; }
.rl-faces { height: 10mm; width: auto; }
.rl-pic .rl-lbl { font-size: 13pt; }

.rl-table { width: 100%; height: 100%; border-collapse: collapse; table-layout: fixed; font-size: 10.5pt; }
.rl-table th { background: #eef3f7; color: #34495e; font: 700 10pt/1.2 var(--body); padding: 2mm 1.5mm; border: .3mm solid #9fb0bf; }
.rl-table td { border: .3mm solid #b9c6d1; padding: 0 1.5mm; }
.rl-list th:nth-child(1) { width: 15%; } .rl-list th:nth-child(2) { width: 42%; } .rl-list th:nth-child(3) { width: 12%; } .rl-list th:nth-child(4) { width: 16%; } .rl-list th:nth-child(5) { width: 15%; }
.rl-list td:nth-child(4) { text-align: center; }
.rl-mini { height: 4.5mm; }
.rl-weeks { gap: 6mm; }
.rl-wk { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 2mm; }
.rl-wk-head, .rl-wk-total { display: flex; align-items: flex-end; gap: 2mm; font: 700 10.5pt/1.2 var(--body); color: #4a5a6a; white-space: nowrap; }
.rl-wk-head .rl-fill, .rl-wk-total .rl-fill { height: 5mm; }
.rl-week { flex: 1; height: auto; }
.rl-week th:nth-child(1) { width: 17%; } .rl-week th:nth-child(2) { width: 45%; } .rl-week th:nth-child(3) { width: 16%; } .rl-week th:nth-child(4) { width: 22%; }
.rl-day { font-weight: 700; color: #34495e; }

.rl-bingo-head { display: grid; grid-template-columns: repeat(5, 1fr); text-align: center; font: 600 26pt/1 "Fredoka", var(--head); color: #e0762e; }
.lang-ko .rl-bingo-head { font-family: "Jua", var(--head); font-weight: 400; }
.rl-bingo-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(5, 1fr); border: .5mm solid #34495e; }
.rl-bc { border: .3mm solid #9fb0bf; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5mm; text-align: center; padding: 1.5mm; font: 600 10pt/1.15 var(--body); min-width: 0; overflow-wrap: anywhere; }
.rl-be { font: 20pt/1 "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; }
.rl-free { background: #fff4d6; }
.rl-free-star { font-size: 26pt; color: #f2b01e; line-height: 1; }
.rl-free b { font: 600 14pt/1 "Fredoka", var(--head); color: #8a5a00; }

.sheet.bare .sheet-body { display: block; }
.rl-cover { padding: 18mm 18mm 16mm; align-items: center; gap: 6mm; background: linear-gradient(180deg, #f4f9ff, #fff8ec); }
.rl-cover-title { font: 600 38pt/1.1 "Fredoka", var(--head); color: #1f4e79; text-align: center; }
.lang-ko .rl-cover-title { font-family: "Jua", var(--head); font-weight: 400; }
.rl-cover-frame { flex: 1; width: 100%; min-height: 0; border: .6mm dashed #b8a27a; border-radius: 6mm; background: #fff; display: flex; align-items: flex-start; justify-content: center; padding-top: 4mm; }
.rl-cover-frame span { color: #b8a27a; font: 600 11pt/1 var(--body); }
.rl-cover-lines { width: 100%; display: flex; flex-direction: column; gap: 4mm; }
.rl-cover-lines .rl-lbl { font-size: 13pt; }
.rl-cover-books { font: 30pt/1 "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; }
