/* Nalepka B (zasnova §10, osnutek B): bela podlaga, črna in siva, rumena samo v znački.
   Mere v mm (odvisne od velikosti nalepke) nastavi koda; tu so pisave in barve. */
.sticker {
  position: relative;
  background: #fff;
  color: #15171A;
  overflow: hidden;
  font-family: var(--font-body);
}
.sticker .badge { color: #15171A; }
.sticker [data-role="sticker-qr"] { position: absolute; display: block; }
.sticker-col { position: absolute; top: 0; display: flex; flex-direction: column; justify-content: center; }
.sticker-brand { display: flex; align-items: center; }
.sticker-name { font-family: var(--font-display); font-weight: 700; line-height: 1; text-transform: uppercase; letter-spacing: 0.03em; }
.sticker-sub { font-weight: 500; line-height: 1.2; color: #5A6166; }
.sticker-text { line-height: 1.3; }
.sticker-text strong { font-weight: 600; }
.sticker-next { font-weight: 600; line-height: 1.3; }
.sticker-phone { font-family: var(--font-display); font-weight: 600; line-height: 1; letter-spacing: 0.04em; }
.sticker .plate { align-self: flex-start; }

/* List A4: skupen predogledu in tisku. Mesta in nalepke so v mm. */
.sheet { position: relative; width: 210mm; height: 297mm; overflow: hidden; background: #fff; color: #15171A; }
.sheet .slot { position: absolute; }
.sheet, .sheet * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
#print-root { display: none; }

/* Predogled na zaslonu je isti list, pomanjšan. */
.sheet-preview { --sheet-scale: 0.62; width: calc(210mm * var(--sheet-scale)); height: calc(297mm * var(--sheet-scale)); margin: 0 auto; overflow: hidden; border-radius: 4px; }
.sheet-preview > .sheet { transform: scale(var(--sheet-scale)); transform-origin: 0 0; }
.sheet-preview .slot { outline: 0.3mm dashed #B9B6AE; outline-offset: -0.15mm; }
.sheet-preview .slot-used { background: repeating-linear-gradient(45deg, #DEDBD3 0 2mm, #fff 2mm 4mm); }
@media screen and (max-width: 640px) { .sheet-preview { --sheet-scale: 0.4; } }
@media screen and (max-width: 359px) { .sheet-preview { --sheet-scale: 0.35; } }

@page { size: A4; margin: 0; }

/* Samo na zaslonu za tisk (html.printing-sheet): natisne se list z nalepkami, vse drugo je skrito. */
@media print {
  html.printing-sheet { color-scheme: light; }
  html.printing-sheet, html.printing-sheet body { width: 210mm; height: 297mm; margin: 0; padding: 0; overflow: hidden; background: #fff; }
  html.printing-sheet body > :not(#print-root) { display: none !important; }
  html.printing-sheet #print-root { display: block; }
}
