body { background: #f4f6fa; }

.sidebar {
  width: 240px;
  min-height: 100vh;
  background: #111827;
  flex-shrink: 0;
}
.sidebar .marca { color: #fff; font-weight: 700; font-size: 1.15rem; letter-spacing: .3px; }
.sidebar .nav-link { color: #9ca3af; border-radius: .5rem; padding: .55rem .8rem; }
.sidebar .nav-link:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.sidebar .nav-link.active { color: #fff; background: #2563eb; }
.sidebar .nav-link i { width: 1.4rem; display: inline-block; }

.card { border: 0; box-shadow: 0 1px 3px rgba(16, 24, 40, .08); border-radius: .75rem; }
.stat .valor { font-size: 1.6rem; font-weight: 700; }
.stat .rotulo { color: #6b7280; font-size: .85rem; }
.table > :not(caption) > * > * { vertical-align: middle; }
.pre-wrap { white-space: pre-wrap; }
.qr-box img { max-width: 260px; }

@media (max-width: 768px) {
  .layout { flex-direction: column; }
  .sidebar { width: 100%; min-height: auto; }
  .sidebar .nav { flex-direction: row !important; flex-wrap: wrap; }
}

@media print {
  .no-print { display: none !important; }
  body { background: #fff; }
  .card { box-shadow: none; }
}
