/* Закладки: полосы 48 × 190 мм по центру листа, пунктир для вырезания, отверстие под ленту */
.bm-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; margin-bottom: 6px; }
.bm-slot { display: flex; flex-direction: column; gap: 2px; font-size: 13px; font-weight: 700; }
.bm-field { display: flex; flex-direction: column; gap: 2px; font-size: 14px; margin: 6px 0; }
.bm-field input { font: 16px var(--body); padding: 6px 8px; border: 1.5px solid #d9cfb8; border-radius: 8px; }
.bm-check { display: block; font-size: 14px; margin: 4px 0; }
#bm-times-box[hidden] { display: none; }

.sheet.bare .sheet-body { display: flex; align-items: center; justify-content: center; }
.bm-sheet { display: flex; gap: 2mm; align-items: center; justify-content: center; }
.bm { position: relative; width: 48mm; height: 190mm; outline: .3mm dashed #9a9080; outline-offset: 0; border-radius: 2mm; overflow: hidden; background: #fff; color: #2c2a22; }
.bm-hole { position: absolute; left: 50%; top: 4mm; width: 4mm; height: 4mm; margin-left: -2mm; border: .3mm solid #9a9080; border-radius: 50%; z-index: 2; background: #fff; }
.bm-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.bm-draw { position: absolute; left: 4mm; right: 4mm; border: .4mm solid #333; border-radius: 3mm; display: flex; align-items: flex-start; justify-content: center; padding-top: 2mm; }
.bm-draw span { font-size: 7.5pt; color: #777; }
.bm-col { position: absolute; inset: 11mm 3.5mm 5mm; display: flex; flex-direction: column; align-items: center; gap: 3mm; text-align: center; }
.bm-emo { font: 26pt/1 "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; }
.bm-name { font: 600 30pt/1.05 "Fredoka", var(--head); width: 100%; overflow-wrap: anywhere; }
.lang-ko .bm-name { font-family: "Jua", var(--head); font-weight: 400; }
.bm-name.bm-blank { height: 12mm; border-bottom: .4mm solid #888; }
.bm-sub { font: 700 10pt/1.2 var(--body); color: #666; margin-top: -1mm; }
.bm-stop { margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: 1.5mm; font: 700 9pt/1.2 var(--body); }
.bm-pagebox { width: 22mm; height: 11mm; border: .45mm solid var(--tint); border-radius: 2mm; }
.bm-lines { width: 100%; display: flex; flex-direction: column; gap: 4mm; font: 700 8.5pt/1.2 var(--body); text-align: left; }
.bm-lines i { display: block; border-bottom: .3mm solid #999; height: 3mm; }
.bm-h { width: 100%; color: #fff; font: 600 12pt/1.15 "Fredoka", var(--head); padding: 2mm 1mm; border-radius: 2mm; }
.lang-ko .bm-h { font-family: "Jua", var(--head); font-weight: 400; }
.bm-times { width: 100%; flex: 1; display: flex; flex-direction: column; justify-content: space-around; font: 600 13pt/1 "Fredoka", var(--head); }
.bm-times div { display: flex; justify-content: space-between; padding: 0 2mm; border-bottom: .25mm dotted #bbb; }
.bm-times b { color: var(--tint); }
.bm-bonds { font-size: 12pt; }
.bm-abc { width: 100%; flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); align-content: space-around; font: 600 17pt/1.15 "Fredoka", var(--head); }
.bm-abc27 { font-size: 15.5pt; }
.lang-ko .bm-abc { font-family: "Jua", var(--head); font-weight: 400; grid-template-columns: repeat(2, 1fr); }
.bm-tsub { font-size: 8.5pt; color: #555; }
.bm-track { width: 100%; flex: 1; display: grid; gap: 1.2mm; align-content: space-around; }
.bm-t-books { grid-template-columns: repeat(4, 1fr); }
.bm-t-days { grid-template-columns: repeat(5, 1fr); }
.bm-t-pages { grid-template-columns: repeat(10, 1fr); }
.bm-book { height: 13mm; border: .4mm solid var(--tint); border-radius: .8mm 2mm 2mm .8mm; border-left-width: 1.4mm; display: flex; align-items: flex-end; justify-content: center; font: 600 7pt/1 var(--body); color: #888; padding-bottom: .8mm; }
.bm-day { aspect-ratio: 1; border: .4mm solid var(--tint); border-radius: 50%; display: flex; align-items: center; justify-content: center; font: 600 7.5pt/1 var(--body); color: #777; }
.bm-sq { aspect-ratio: 1; border: .25mm solid var(--tint); }
.bm-back .bm-col { justify-content: flex-start; gap: 5mm; }
.bm-back .bm-site { position: absolute; bottom: 0; left: 0; right: 0; }
.bm-back .bm-lines { margin-top: auto; background: #fff; }
.bm-quote { font: 600 15pt/1.25 "Fredoka", var(--head); }
.lang-ko .bm-quote { font-family: "Jua", var(--head); font-weight: 400; }
.bm-site { font-size: 7pt; color: #999; margin-top: auto; }
