/* Build sheet (wireframe 4): vehicle, total, stats, parts by shop with tick boxes. */
@media print {
  :root[data-theme], :root { color-scheme: light; }
  @page { margin: 14mm; }
  html, body { background: #fff !important; color: #000 !important; }
  body > *:not(.sheet) { display: none !important; }
  .sheet { display: block !important; font: 11pt/1.4 "Segoe UI", Arial, sans-serif; color: #000; }
  .sheet h1, .sheet h2, .sheet h3 { font-family: "Arial Narrow", Arial, sans-serif; color: #000; }
  .sheet__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12mm; border-bottom: 2pt solid #000; padding-bottom: 2mm; }
  .sheet h1 { margin: 0; font-size: 20pt; text-transform: uppercase; }
  .sheet__class { font-weight: 400; font-size: 12pt; text-transform: none; }
  .sheet__total { margin: 0; font-size: 16pt; font-weight: 700; white-space: nowrap; }
  .sheet__stats { margin: 3mm 0 5mm; }
  .sheet h2 { margin: 0 0 2mm; font-size: 13pt; }
  .sheet h3 { margin: 4mm 0 1mm; font-size: 11.5pt; border-bottom: 0.5pt solid #000; break-after: avoid; }
  .sheet__shop { break-inside: avoid; }
  .sheet ul { margin: 0; padding: 0; list-style: none; }
  .sheet__part { display: flex; align-items: baseline; gap: 3mm; padding: 1mm 0; }
  .sheet__box { flex: none; width: 3.5mm; height: 3.5mm; border: 1pt solid #000; align-self: center; }
  .sheet__name { flex: 1 1 auto; }
  .sheet__excl { font-size: 8.5pt; font-weight: 700; letter-spacing: 0.05em; border: 1pt solid #000; padding: 0 1.5mm; }
  .sheet__price { min-width: 24mm; text-align: right; font-variant-numeric: tabular-nums; }
  .sheet__link { margin-top: 8mm; font-size: 9pt; }
  .sheet__link span { overflow-wrap: anywhere; font-family: Consolas, monospace; }
}
