body { background: #f3f5f8; }
.card { border: 0; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.card-header { background: #fff; font-weight: 600; }
.table > :not(caption) > * > * { vertical-align: middle; }
.stat-card .icone { font-size: 2rem; opacity: .35; }
.stat-card .valor { font-size: 1.6rem; font-weight: 700; }
.navbar .nav-link.active { font-weight: 600; }
.page-title { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.page-title h4 { margin: 0; }
.autocomplete { position: relative; }
.autocomplete .list-group { position: absolute; z-index: 20; width: 100%; max-height: 280px; overflow-y: auto; }
.timeline { border-left: 2px solid #dee2e6; padding-left: 1rem; }
.timeline .item { position: relative; margin-bottom: .9rem; }
.timeline .item::before { content: ''; position: absolute; left: -1.38rem; top: .35rem; width: .7rem; height: .7rem; border-radius: 50%; background: #0d6efd; }
.text-pre { white-space: pre-line; }

/* Impressão da OS */
.folha { background: #fff; max-width: 210mm; margin: 0 auto; padding: 12mm; font-size: 12px; color: #000; }
.folha h5 { font-size: 14px; }
.folha table { font-size: 12px; }
.folha .box { border: 1px solid #000; padding: 6px 8px; margin-bottom: 8px; }
.folha .box-title { font-weight: 700; text-transform: uppercase; font-size: 11px; border-bottom: 1px solid #000; margin: -6px -8px 6px; padding: 3px 8px; background: #eee; }
.folha .assinatura { border-top: 1px solid #000; margin-top: 40px; padding-top: 4px; text-align: center; }
.folha .corte { border-top: 1px dashed #000; margin: 14px 0; text-align: center; font-size: 10px; }
@media print {
  body { background: #fff; }
  main { padding: 0 !important; }
  .folha { padding: 0; max-width: none; }
  @page { size: A4; margin: 10mm; }
}
