/* MP-Paleta — wygląd jak w programach MP (LaserCalc): jasne tło, niebieskie paski kart, Arial */
:root {
  --bg: #f0f5fa;
  --card: #f9fcff;
  --line: #d0dae8;
  --line2: #b8c9dd;
  --text: #222;
  --muted: #6b7588;
  --navy: #1a3d66;
  --navy2: #2a5080;
  --blue: #4285c8;
  --blue2: #3271b0;
  --blue-l: #e8f0fa;
  --ok: #2e7d52;
  --warn: #e67e22;
  --err: #c62828;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* tło jak na ekranie startowym LaserCalc: biel → jasny błękit, delikatna siatka techniczna,
   poświaty w kolorach paska postępu (błękit / zieleń MP) i blady rysunek palety w rogu */
body {
  margin: 0; min-height: 100vh; color: var(--text);
  font: 14px/1.45 Arial, Helvetica, sans-serif;
  display: flex; flex-direction: column; position: relative;
  background:
    radial-gradient(1100px 610px at 100% 0%, rgba(20, 150, 205, .13), transparent 62%),
    radial-gradient(900px 520px at 0% 100%, rgba(105, 185, 50, .10), transparent 62%),
    radial-gradient(700px 420px at 8% 8%, rgba(20, 70, 160, .07), transparent 60%),
    linear-gradient(rgba(66, 133, 200, .07) 1px, transparent 1px) 0 0 / 89px 89px,
    linear-gradient(90deg, rgba(66, 133, 200, .07) 1px, transparent 1px) 0 0 / 89px 89px,
    linear-gradient(rgba(66, 133, 200, .035) 1px, transparent 1px) 0 0 / 21px 21px,
    linear-gradient(90deg, rgba(66, 133, 200, .035) 1px, transparent 1px) 0 0 / 21px 21px,
    linear-gradient(180deg, #ffffff 0%, #eaf1fa 55%, #dde8f5 100%);
  background-attachment: fixed;
}
body::after {
  content: ''; position: fixed; right: -34px; bottom: -21px; z-index: 0; pointer-events: none;
  width: min(42vw, 560px); aspect-ratio: 1758 / 1948;
  background: url('../img/tlo-paleta.svg?v=2') no-repeat right bottom / contain; opacity: .34;
}
.topbar, .wrap, .footer, .auth-card { position: relative; z-index: 1; }
a { color: var(--blue2); }
h1, h2, h3 { font-family: Arial, Helvetica, sans-serif; line-height: 1.25; margin: 0 0 13px; color: var(--navy); }
h1 { font-size: 24px; }
h2 { font-size: 16px; }
h3 { font-size: 14px; }
.grad { color: var(--navy); }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.center { text-align: center; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.ok { color: var(--ok); }
.warn { color: var(--warn); }

/* karty jak w LaserCalc: jasne tło, cienka ramka, niebieski pasek nagłówka */
.glass { background: var(--card); border: 1px solid var(--line); border-radius: 5px; box-shadow: 0 2px 8px rgba(26, 61, 102, .07); }
.card { padding: 16px; min-width: 0; }
.card > h2:first-child, .card > .result-head {
  margin: -16px -16px 16px; padding: 7px 13px; border-radius: 4px 4px 0 0;
  background: linear-gradient(90deg, #4285c8 0%, #5a9fd4 100%); color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .2px;
}
.card > .result-head h2 { color: #fff; font-size: 14px; }
.card h2:not(:first-child) { border-bottom: 1px solid var(--line); padding-bottom: 5px; }
.narrow { max-width: 520px; }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 16px 16px 34px; flex: 1; }
.page-head { margin: 5px 0 16px; }
.page-head h1 { margin-bottom: 5px; }
.page-head p { margin: 0; max-width: 820px; }

/* górny pasek */
.topbar {
  position: sticky; top: 0; z-index: 21; display: flex; align-items: center; gap: 21px;
  padding: 6px 16px 9px; background: rgba(255, 255, 255, .92); box-shadow: 0 2px 8px rgba(26, 61, 102, .10);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
/* pasek marki: kolory paska postępu z ekranu startowego LaserCalc + przesuwający się błysk */
.topbar::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, .85), transparent) -144px 0 / 144px 100% no-repeat,
    linear-gradient(90deg, #1446a0 0%, #1496cd 50%, #69b932 100%);
  animation: blysk 5s ease-in-out infinite;
}
@keyframes blysk { 0% { background-position: -144px 0, 0 0; } 55%, 100% { background-position: calc(100% + 144px) 0, 0 0; } }
@media (prefers-reduced-motion: reduce) { .topbar::after { animation: none; } }
.brand { display: flex; align-items: center; gap: 8px; color: var(--navy); text-decoration: none; }
.brand span { display: flex; flex-direction: column; line-height: 1.15; font-size: 16px; }
.brand small { font-size: 11px; color: var(--muted); }
.mainnav { display: flex; gap: 2px; flex: 1; flex-wrap: wrap; }
.mainnav a, .userbox a { color: var(--navy2); text-decoration: none; padding: 7px 12px; border-radius: 4px; font-weight: 700; font-size: 13px; }
.mainnav a:hover, .userbox a:hover { background: var(--blue-l); }
.mainnav a.active, .userbox a.active { background: var(--blue); color: #fff; }
.userbox { display: flex; align-items: center; gap: 8px; }
.userbox form { margin: 0; }
.menu-btn { display: none; margin-left: auto; background: #fff; border: 1px solid var(--line2); color: var(--navy); border-radius: 4px; font-size: 18px; padding: 2px 12px; }

/* stopka z danymi wykonawcy */
.footer { display: flex; align-items: center; justify-content: center; gap: 13px; padding: 16px 16px 26px; color: var(--muted); font-size: 12px; }
.footer a { color: var(--muted); }

/* formularze */
.form { display: flex; flex-direction: column; gap: 11px; }
label { display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: var(--navy2); font-weight: 700; }
input, select, textarea {
  font: 14px Arial, Helvetica, sans-serif; color: var(--text); background: #fff; border: 1px solid var(--line2);
  border-radius: 4px; padding: 7px 9px; width: 100%; min-width: 0;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 2px rgba(66, 133, 200, .2); }
input[type=color] { padding: 2px; height: 36px; cursor: pointer; }
label.check { flex-direction: row; align-items: center; gap: 7px; color: var(--text); font-weight: 400; cursor: pointer; }
label.check input { width: 16px; height: 16px; accent-color: var(--blue); }
.row2, .row3 { display: grid; gap: 11px; }
.row2 { grid-template-columns: 1fr 1fr; }
.row3 { grid-template-columns: repeat(3, 1fr); }
.actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 5px; }
.inline { display: inline; margin: 0; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* przyciski jak w LaserCalc */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: 700 13px Arial, Helvetica, sans-serif;
  padding: 7px 14px; border-radius: 4px; border: 1px solid var(--line2); cursor: pointer; text-decoration: none;
  color: var(--navy2); background: #fff; white-space: nowrap;
}
.btn:hover { background: var(--blue-l); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.primary { background: var(--blue); border-color: var(--blue2); color: #fff; }
.btn.primary:hover:not(:disabled) { background: var(--blue2); }
.btn.secondary { background: #fff; }
.btn.ghost { background: transparent; color: var(--navy2); }
.btn.sm { padding: 4px 10px; font-size: 12px; }
.btn.block { width: 100%; }
.btn.big { padding: 12px 18px; font-size: 16px; margin-top: 16px; }
.btn.busy { position: relative; color: transparent !important; }
.btn.busy::after {
  content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.result-head .btn { background: #fff; border-color: #fff; color: var(--navy); }
.result-head .btn:hover { background: var(--blue-l); }

.flash { padding: 9px 13px; border-radius: 4px; margin-bottom: 13px; border: 1px solid; }
.flash.ok { background: #e8f5ee; border-color: #a9d3bb; color: #1f4f3a; }
.flash.err { background: #fdecea; border-color: #f1b5b0; color: #a01818; }
.flash.warn { background: #fff3d6; border-color: #f0c87a; color: #7a4a00; }
.flash ul { margin: 5px 0 0; padding-left: 21px; }

.grid-2 { display: grid; grid-template-columns: minmax(320px, 1fr) minmax(0, 1.4fr); gap: 16px; align-items: start; }
.span-2 { grid-column: 1 / -1; }
.badge { display: inline-block; font: 700 11px Arial; padding: 1px 7px; border-radius: 13px; background: rgba(255, 255, 255, .3); color: inherit; vertical-align: middle; }
.tag { display: inline-block; font-size: 11px; padding: 0 7px; border-radius: 3px; background: var(--blue-l); color: var(--navy2); border: 1px solid var(--line); margin: 1px 3px 1px 0; white-space: nowrap; }
.tag.warn { background: #fff3d6; color: #7a4a00; border-color: #f0c87a; }
.swatch { display: inline-block; width: 13px; height: 13px; border-radius: 2px; vertical-align: middle; border: 1px solid rgba(0, 0, 0, .35); }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; background: #fff; }
.table th { text-align: left; color: var(--navy2); font-weight: 700; font-size: 12px; padding: 6px 8px; background: #eef3f9; border: 1px solid var(--line); }
.table td { padding: 6px 8px; border: 1px solid var(--line); vertical-align: middle; }
.table tr:hover td { background: #f5f9fd; }
.table tr.dim td { opacity: .5; }
.table.compact td { padding: 3px 6px; }

/* logowanie */
body.auth { align-items: center; justify-content: flex-start; padding: 16px 16px 0; }
.auth-card { width: 100%; max-width: 400px; padding: 26px 24px; margin-top: 8vh; background: #fff; border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, #1446a0, #1496cd, #69b932) 1; box-shadow: 0 8px 34px rgba(26, 61, 102, .16); }
.auth-logo { text-align: center; margin-bottom: 16px; }
.auth-logo img { margin-bottom: 5px; }
.auth-logo h1 { margin: 0; font-size: 24px; }
.auth-logo p { margin: 2px 0 0; }
.auth-foot { width: 100%; margin-top: auto; justify-content: center; text-align: center; }
.lead { color: var(--muted); }

/* ekran wysyłki */
.pack-layout { display: grid; grid-template-columns: minmax(340px, 440px) minmax(0, 1fr); gap: 16px; align-items: start; }
.step { display: inline-flex; width: 21px; height: 21px; align-items: center; justify-content: center; border-radius: 50%; background: #fff; color: var(--blue); font-size: 12px; margin-right: 5px; vertical-align: 1px; }
.card h2:not(:first-child) .step { background: var(--blue); color: #fff; }
#inputCard h2:not(:first-child) { margin-top: 21px; }
.add-row { display: flex; gap: 8px; margin-bottom: 11px; }
.add-row select { flex: 1; }
.items { display: flex; flex-direction: column; gap: 8px; }
.item { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: 4px; padding: 9px; }
.item-top { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.item-top .swatch-in { width: 32px; height: 32px; flex: none; padding: 1px; }
.item-name { flex: 1; font-weight: 700; }
.x { background: none; border: none; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; padding: 0 5px; }
.x:hover { color: var(--err); }
.item-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.item-grid label { font-size: 11px; }
.item-grid input { padding: 5px 7px; }
.item-grid input.qty { border-color: var(--blue); font-weight: 700; background: #f5f9fd; }
.item-flags { display: flex; flex-wrap: wrap; gap: 5px 13px; margin-top: 7px; font-size: 13px; align-items: center; }
.item-flags label.check { font-size: 13px; }
.item-flags { border-top: 1px dashed var(--line); padding-top: 6px; }
.opt { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .3px; width: 100%; }
.opt-note { font-size: 11px; font-weight: 400; color: var(--muted); text-transform: none; letter-spacing: 0; }
.inline-f { flex-direction: row; align-items: center; gap: 5px; color: var(--text); font-weight: 400; font-size: 13px; }
.inline-f input { width: 89px; padding: 3px 7px; }
.items-sum { margin-top: 11px; font-size: 13px; padding: 7px 9px; background: #eef3f9; border: 1px solid var(--line); border-radius: 4px; }
.items-sum:empty { display: none; }

#resultCard.stale .tiles, #resultCard.stale .viewer-grid { opacity: .45; filter: grayscale(.6); }
.result-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.result-head h2 { margin: 0; }
.result-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 13px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; font-size: 12px; color: var(--muted); }
.tile .big { font-size: 24px; font-weight: 700; color: var(--navy); }
.tile.accent { background: var(--blue-l); border-color: var(--blue); }
.tile.accent .big { color: var(--blue2); }
.tile small { display: block; margin-top: 2px; }
.compare { margin-bottom: 11px; font-size: 13px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chip { font: 13px Arial; color: var(--navy2); background: #fff; border: 1px solid var(--line2); border-radius: 4px; padding: 4px 11px; cursor: pointer; }
.chip.on { border-color: var(--blue); background: var(--blue); color: #fff; }
.chip.on .warn { color: #ffe0b8; }
.tabs { display: flex; gap: 3px; overflow-x: auto; margin: 5px 0 0; border-bottom: 2px solid var(--blue); }
.tab { font: 700 13px Arial; color: var(--navy2); background: #eef3f9; border: 1px solid var(--line); border-bottom: none; border-radius: 4px 4px 0 0; padding: 6px 12px; cursor: pointer; white-space: nowrap; }
.tab small { font-weight: 400; display: block; font-size: 11px; color: var(--muted); }
.tab.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.tab.on small { color: #e8f0fa; }
.viewer-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, 1fr); gap: 13px; border: 1px solid var(--line); border-top: none; padding: 13px; background: #fff; }
.viewer-box { position: relative; }
.viewer { height: 500px; border-radius: 4px; border: 1px solid var(--line); background: linear-gradient(180deg, #ffffff 0%, #e8f0fa 100%); overflow: hidden; cursor: grab; }
.viewer:active { cursor: grabbing; }
.viewer p { padding: 34px; }
.viewer-hint { position: absolute; bottom: 7px; left: 0; right: 0; text-align: center; font-size: 11px; color: var(--muted); pointer-events: none; }
.layer-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 7px; color: var(--navy); }
.layer-nav { display: flex; gap: 5px; justify-content: space-between; margin: 5px 0 7px; }
input[type=range] { padding: 0; accent-color: var(--blue); background: none; border: none; box-shadow: none; }
.layer-plan svg { width: 100%; height: auto; max-height: 320px; display: block; }
.steps { padding-left: 21px; margin: 7px 0; }
.steps li { margin: 3px 0; }
.save-box { margin-top: 16px; padding: 13px; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.save-box h3 { margin-bottom: 9px; }

/* wydruk: na ekranie ukryty */
.print-area { display: none; }
.print-area, .print-area * { font-family: Arial, Helvetica, sans-serif; }

/* --- telefon / tablet --- */
@media (max-width: 1100px) {
  .pack-layout { grid-template-columns: 1fr; }
  .viewer-grid { grid-template-columns: 1fr; }
  .viewer { height: 380px; }
}
@media (max-width: 860px) {
  .grid-2 { grid-template-columns: 1fr; }
  .topbar { flex-wrap: wrap; gap: 8px; }
  .menu-btn { display: block; }
  .mainnav, .userbox { display: none; width: 100%; }
  body.menu-open .mainnav { display: flex; flex-direction: column; }
  body.menu-open .userbox { display: flex; justify-content: space-between; padding-bottom: 8px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 21px; }
}
@media (max-width: 520px) {
  .card { padding: 13px; }
  .card > h2:first-child, .card > .result-head { margin: -13px -13px 13px; }
  .item-grid { grid-template-columns: repeat(3, 1fr); }
  .row3 { grid-template-columns: 1fr 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .add-row { flex-direction: column; }
  .viewer { height: 320px; }
  .viewer-grid { padding: 8px; }
  .footer { flex-direction: column; text-align: center; }
}
/* --- wydruk: styl dokumentu jak w programach MP (LaserCalc) — Arial, granat/niebieski, cienkie linie --- */
@media print {
  @page { size: A4; margin: 12mm 12mm 13mm; }
  html, body { background: #fff !important; }
  body::after, .topbar::after { display: none !important; }
  body { color: #000; display: block; font: 9.5pt/1.35 Arial, Helvetica, sans-serif; }
  .no-print, .topbar, .footer, .flash { display: none !important; }
  .wrap { padding: 0; max-width: none; }
  .print-area { display: block; }
  .print-area * { font-family: Arial, Helvetica, sans-serif; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .p-page { page-break-after: always; break-after: page; color: #000; }
  .p-page:last-child { page-break-after: auto; break-after: auto; }
  .print-area table { border-collapse: collapse; width: 100%; }

  /* nagłówek dokumentu */
  .ph { border-bottom: 2px solid #1a3d66; margin-bottom: 3mm; }
  .ph td { padding: 0 0 2mm; vertical-align: bottom; }
  .ph-co { font-size: 9pt; color: #6b7588; }
  .ph-doc { font-size: 15pt; font-weight: bold; color: #1a3d66; }
  .ph-r { text-align: right; font-size: 9pt; color: #333; }
  .ph-no { font-size: 13pt; font-weight: bold; color: #1a3d66; }

  /* dane palety: etykieta (jasnoniebieskie tło) + wartość */
  .pi { margin-bottom: 3mm; }
  .pi th, .pi td { border: 0.6pt solid #b8c9dd; padding: 1.2mm 2mm; text-align: left; vertical-align: top; }
  .pi th { background: #eef3f9; color: #2a5080; font-weight: bold; width: 17%; white-space: nowrap; }
  .pi td { width: 33%; }

  .pm { margin-bottom: 3mm; }
  .pm td { vertical-align: top; padding: 0; }
  .pm-pic { width: 62mm; padding-right: 4mm !important; }
  .pm-pic img { width: 62mm; height: 62mm; object-fit: contain; border: 0.6pt solid #b8c9dd; display: block; }
  .pn { margin: 2mm 0 0; font-size: 8.5pt; color: #6b7588; }

  /* tytuł sekcji */
  .ps { font-size: 10.5pt; font-weight: bold; color: #1a3d66; border-bottom: 1pt solid #4285c8; padding-bottom: 0.8mm; margin: 0 0 2mm; }

  /* tabela pozycji */
  .pt th, .pt td { border: 0.6pt solid #b8c9dd; padding: 1mm 1.6mm; }
  .pt thead th { background: #eef3f9; color: #2a5080; font-weight: bold; text-align: left; font-size: 8.5pt; }
  .pt tfoot td { background: #f5f8fc; font-weight: bold; }
  .pt .r { text-align: right; white-space: nowrap; }
  .pt .c { text-align: center; width: 7mm; }
  .pw { font-size: 7.5pt; color: #a01818; border: 0.5pt solid #c62828; padding: 0 1mm; white-space: nowrap; }
  .sq { display: inline-block; width: 3.2mm; height: 3.2mm; border: 0.5pt solid #172d4e; vertical-align: -0.5mm; }

  /* elementy „łopatologiczne”: kratka do odhaczenia, znak kartonu, lista zasad */
  .cb { display: inline-block; width: 4.2mm; height: 4.2mm; border: 1pt solid #000; vertical-align: -1mm; background: #fff; }
  .lt-tag { display: inline-block; min-width: 6mm; padding: 0 1mm; text-align: center; font-weight: bold; font-size: 10.5pt;
    border: 0.8pt solid #172d4e; line-height: 5.4mm; }
  .pt.big td { font-size: 10.5pt; padding: 1.6mm 2mm; }
  .pt .qty { font-size: 13pt; font-weight: bold; }
  .pt.big { margin-bottom: 4mm; }
  .rules { margin: 0 0 3mm; padding-left: 5mm; font-size: 10pt; line-height: 1.45; }
  .rules li { margin-bottom: 1.4mm; }
  .pm-pic { width: 74mm; }
  .pm-pic img { width: 74mm; height: 67mm; }

  /* krok = jedna warstwa (dwa kroki na stronę A4) */
  .stp { border: 1pt solid #1a3d66; margin-bottom: 4mm; break-inside: avoid; page-break-inside: avoid; }
  .stp-h { display: flex; align-items: center; gap: 4mm; background: #1a3d66; color: #fff; padding: 1.6mm 3mm; }
  .stp-n { font-size: 15pt; font-weight: bold; white-space: nowrap; }
  .stp-t { font-size: 11pt; flex: 1; }
  .stp-t b { color: #fff; }
  .stp-ok { font-size: 10pt; white-space: nowrap; }
  .stp-b td { vertical-align: top; padding: 2.5mm 3mm; }
  .stp-plan { width: 58%; border-right: 0.6pt solid #b8c9dd; }
  .stp-plan svg { width: 100%; height: auto; display: block; max-height: 96mm; }
  .do { border-bottom: 0.6pt solid #d0dae8; padding: 0 0 2mm; margin-bottom: 2mm; }
  .do-q { font-size: 12pt; margin-bottom: 1mm; }
  .do-q b { font-size: 14pt; }
  .do-h { font-size: 10pt; line-height: 1.4; }
  .do-w { font-size: 10pt; font-weight: bold; color: #a01818; margin-top: 1mm; }
  .stp-pic-c { font-size: 8.5pt; color: #6b7588; margin-top: 1mm; }
  .stp-pic { width: 100%; max-width: 62mm; height: auto; display: block; border: 0.6pt solid #b8c9dd; margin-top: 1mm; }
  .stp.end .stp-h { background: #2e7d52; }
  .endl { list-style: none; margin: 0; padding: 3mm 4mm; font-size: 11pt; line-height: 1.5; }
  .endl li { margin-bottom: 2mm; }
  .endl .cb { margin-right: 2mm; }

  /* stopka */
  .pf { display: flex; justify-content: space-between; border-top: 0.6pt solid #b8c9dd; margin-top: 4mm; padding-top: 1mm; font-size: 7.5pt; color: #6b7588; }

  /* etykieta palety — formularz na całą stronę A4, czarno-biała (czytelna z daleka, oszczędza toner) */
  .lt td { border: 1pt solid #000; padding: 2.5mm 3mm; vertical-align: top; width: 50%; }
  .lt .cap { display: block; font-size: 8pt; font-weight: bold; text-transform: uppercase; color: #333; margin-bottom: 1mm; }
  .lt-num { text-align: center; border-width: 2pt !important; }
  .lt-num div { font-size: 34pt; line-height: 1.1; }
  .lt-num b { font-size: 72pt; }
  .lt-rcp { font-size: 22pt; font-weight: bold; min-height: 22mm; }
  .lt-snd { font-size: 11pt; min-height: 10mm; }
  .lt-v { font-size: 17pt; font-weight: bold; }
  .lt-warn { text-align: center; font-size: 16pt; font-weight: bold; border-width: 2pt !important; padding: 4mm !important; }
  .lbl .pt { margin-top: 1mm; }
  .lbl .pt th, .lbl .pt td { border-color: #777; font-size: 10pt; }
  .lbl .pt thead th { background: #fff; color: #000; border-bottom: 1pt solid #000; }
  .lbl .pt tfoot td { background: #fff; }
}
