.new_page{
 page-break-before:always;
}

.suche{
 font-size:9pt;
 font-weight:bold;
}

.liste_liste{
 width: 200mm;
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 font-family: Arial, "liberation Sans";
 font-size: 11pt;
 margin: 5mm auto;
}

.liste_titel{
 display: flex;
 height: 12mm;
 font-weight: bold;
 font-size: 9pt;
}
.liste_ort{
 width:135mm;
}
.liste_datum{
 width:30mm;
 display:flex;
 align-items:center;
 justify-content:center;
}

.liste_spalten{
 display: flex;
 justify-content: center;
 height: 12.5mm;
 font-weight:normal;
}
.liste_spalten div{
 display:flex;
 justify-content:center;
 align-items:center;
 border:1px solid black;
 margin:-0.5px;
}
.liste_kopf{
 font-weight:bold;
 font-size:10pt;
}

.sp_info{width: 14.0mm; padding: 0px;}
.sp_nr{width:13.0mm;}
.sp_na{width:29.0mm;padding-left:0.5mm;}
.sp_vna{width:29.0mm;padding-left:0.5mm;}
.sp_e{width:9.0mm;}
.sp_k{width:9.0mm;}
.sp_betr{width:17.0mm;}
.sp_besch{width:28.0mm;padding-left:0.5mm;font-size: 9pt;}
.gueltig_1{background-color: red;}
.sp_hbez{width:14.0mm;font-size:9pt;}
.sp_gr{width:15.0mm;font-size:9pt;}

.suche{
 height:15mm;
}

.qr{width: 14mm; padding: 0mm;}


@media print{
 @page{
    margin: 10mm;
    size: A4 portrait;
 }
 .liste_kopf{
    margin-top: 5mm;
 }
}

/* ── aus legacy.css ── */
.kd_liste {
  border-collapse: collapse;
  font-family: Arial, 'Liberation Sans';
  font-size: 11pt;
  width: 100%;
}
.kd_liste th {
  border: 1px solid black; font-weight: bold; font-size: 10pt;
  height: 10mm; text-align: center; padding: 0 0.5mm;
  background: #f0f0f0;
}
.kd_liste td {
  border: 1px solid black; height: 12.5mm;
  text-align: center; vertical-align: middle; padding: 0 0.5mm;
}
.kd_liste td.kd_na, .kd_liste td.kd_vna, .kd_liste td.kd_besch { text-align: left; padding-left: 0.5mm; }
.kd_liste col.kd_col_info  { width:  9mm; }
.kd_liste col.kd_col_nr    { width: 13mm; }
.kd_liste col.kd_col_na    { width: 38mm; }
.kd_liste col.kd_col_vna   { width: 33mm; }
.kd_liste col.kd_col_e     { width:  9mm; }
.kd_liste col.kd_col_k     { width:  9mm; }
.kd_liste col.kd_col_betr  { width: 15mm; }
.kd_liste col.kd_col_besch { width: 31mm; }
.kd_liste col.kd_col_hbez  { width: 14mm; }
.kd_liste col.kd_col_gr    { width: 15mm; }
.kd_abgelaufen .kd_besch { background-color: red; color: white; }
.kd_info_x { color: darkorange; font-weight: bold; }
.kd_titel { font-weight: bold; color: darkorange; font-size: 12pt; margin-bottom: 4px; }
.kd_anzahl { font-size: 10pt; color: #666; margin-bottom: 6px; }
#kd_druck_kopf { display: none; font-size: 9pt; margin-bottom: 6mm; }
#kd_druck_kopf .dk_titel { font-size: 12pt; font-weight: bold; margin-bottom: 2mm; }

@media print {
  body.drucke_kunden #app { display: none !important; }
  body.drucke_kunden #kd_print_clone { display: block !important; }
  #kd_print_clone .ma_a4_label { display: none !important; }
  #kd_print_clone .ma_a4_wrap  { display: block !important; background: white !important; padding: 0 !important; }
  #kd_print_clone .ma_a4_seite { display: block !important; box-shadow: none !important; padding: 0 !important; width: 100% !important; }
  #kd_print_clone table { page-break-inside: auto !important; break-inside: auto !important; width: 100% !important; }
  #kd_print_clone tr    { page-break-inside: auto !important; break-inside: auto !important; }
  #kd_print_clone .kd_liste    { font-size: 10pt !important; width: 100% !important; }
  #kd_print_clone .kd_liste th { background: #eee !important; font-size: 9pt !important;
    -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  #kd_print_clone .kd_abgelaufen .kd_besch { background-color: red !important;
    -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  #kd_print_clone .kd_titel  { font-size: 13pt !important; margin-bottom: 2mm !important; }
}
