/* Именные таблички: домик (альбомный, сгиб пополам), полосы на парту 3 на лист, метки 2 × 5 */
.nt-check { display: block; font-size: 14px; margin: 4px 0; }
#nt-names, #nt-group { width: 100%; font: 15px var(--body); padding: 8px 10px; border: 2px solid var(--line); border-radius: 10px; box-sizing: border-box; }
.nt-msg { display: flex; flex-direction: column; gap: 4px; background: #fff3ef; border: 2px solid #ffc9b5; border-radius: 10px; padding: 8px 10px; font-size: 14px; color: #9a3412; margin: 8px 0; }
.nt-msg[hidden] { display: none; }
.nt-err { font: 600 14pt var(--body); color: #a33; text-align: center; margin: auto; max-width: 140mm; }

.nt-name { width: 100%; display: flex; align-items: center; justify-content: center; min-height: 0; overflow: hidden; }
.nt-name > span { white-space: nowrap; font-family: var(--head); font-weight: 600; line-height: 1.15; padding: 0 .04em; }
.nt-st-solid > span { color: #1f2a3a; }
.nt-st-outline > span { color: #fff; -webkit-text-stroke: .45mm #222; paint-order: stroke fill; }
.nt-st-trace > span { color: #c4c9cf; }
.nt-big { flex: 1; font-size: 64mm; }
.nt-mid { flex: 1; font-size: 25mm; }
.nt-small { flex: 1; font-size: 13mm; }
.nt-st-outline.nt-big > span { -webkit-text-stroke-width: .9mm; }
.nt-group { flex: none; text-align: center; font: 700 11pt var(--body); color: var(--c); letter-spacing: .02em; }

/* домик: две половины, верхняя перевёрнута — имя читается с обеих сторон */
.nt-tent { width: 100%; height: 100%; box-sizing: border-box; padding: 10mm 12mm; display: flex; flex-direction: column; }
.nt-half { flex: 1; min-height: 0; box-sizing: border-box; border: 1.6mm solid var(--c); border-radius: 6mm; display: flex; flex-direction: column; align-items: center; padding: 5mm 10mm 6mm; }
.nt-flip { transform: rotate(180deg); }
.nt-fold { flex: none; height: 12mm; position: relative; }
.nt-fold::before { content: ""; position: absolute; left: -12mm; right: -12mm; top: 50%; border-top: .4mm dashed #999; }
.nt-tent .nt-group { font-size: 16pt; }

/* полосы на парту */
.nt-desks { width: 100%; height: 100%; box-sizing: border-box; padding: 9mm 10mm; display: flex; flex-direction: column; gap: 9mm; }
.nt-desk { flex: 1; min-height: 0; box-sizing: border-box; border: 1.3mm solid var(--c); border-radius: 5mm; padding: 3mm 5mm 3.5mm; display: flex; flex-direction: column; align-items: center; gap: 2mm; position: relative; }
.nt-desk + .nt-desk::before { content: ""; position: absolute; left: -10mm; right: -10mm; top: -5.8mm; border-top: .35mm dashed #aaa; }
.nt-abc { flex: none; width: 100%; display: flex; justify-content: space-between; border-top: .4mm solid #e5e0d5; padding-top: 1.6mm; }
.nt-abc span { flex: 1; text-align: center; font: 700 12pt/1 var(--body); color: #1f2a3a; }
.nt-abc i { font-style: normal; font-weight: 600; color: var(--c); margin-left: .2mm; font-size: 11pt; }
.nt-abc-ko span { font-family: "Gowun Dodum", "Malgun Gothic", sans-serif; font-size: 13pt; }
.nt-line { flex: none; width: 100%; height: 13mm; }
.nt-line line { stroke: #333; stroke-width: .35; }
.nt-line text { font: 700 3.6px var(--body); fill: #1f2a3a; text-anchor: middle; }

/* метки 2 × 5 */
.nt-labels { width: 100%; height: 100%; box-sizing: border-box; padding: 11mm 12mm; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(5, 1fr); gap: 6mm 8mm; }
.nt-label { min-height: 0; box-sizing: border-box; border: 1mm solid var(--c); border-radius: 4mm; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2mm 5mm; outline: .3mm dashed #bbb; outline-offset: 2.2mm; }
