body { background: #f4f6f9; font-size: .925rem; }
.lateral { width: 240px; min-height: 100vh; background: var(--marca); }
.lateral .marca { background: rgba(0,0,0,.15); display: block; }
.lateral .nav-link { color: rgba(255,255,255,.82); border-radius: 6px; padding: .42rem .7rem; font-size: .9rem; }
.lateral .nav-link i { width: 1.4rem; display: inline-block; }
.lateral .nav-link:hover { background: rgba(255,255,255,.1); color: #fff; }
.lateral .nav-link.ativo { background: rgba(255,255,255,.18); color: #fff; font-weight: 600; }
.lateral .secao { color: rgba(255,255,255,.5); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; padding: 1rem .7rem .3rem; }
.min-vw-0 { min-width: 0; }
.topo { position: sticky; top: 0; z-index: 10; }
.card { border: 0; box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.08); }
.card-header { background: #fff; font-weight: 600; }
.kpi .valor { font-size: 1.6rem; font-weight: 700; line-height: 1.1; }
.kpi .rotulo { color: #6c757d; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.table { font-size: .875rem; }
.table thead th { color: #6c757d; font-weight: 600; font-size: .75rem; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.btn-marca { background: var(--marca); color: #fff; }
.btn-marca:hover { filter: brightness(1.1); color: #fff; }
.timeline { list-style: none; padding-left: 0; }
.timeline li { border-left: 2px solid #dee2e6; padding: 0 0 .9rem 1rem; position: relative; }
.timeline li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--marca); position: absolute; left: -6px; top: 5px; }
.login-bg { min-height: 100vh; background: radial-gradient(circle at 20% 10%, #4a7d99 0, #335f7a 35%, #1d3a4c 100%); --marca: #335f7a; }
.form-label { font-size: .8rem; color: #495057; margin-bottom: .2rem; }
@media (max-width: 991.98px) {
  .lateral { position: fixed; left: -260px; z-index: 1040; transition: left .2s; }
  .lateral.aberto { left: 0; }
}
@media print {
  .lateral, .topo, .no-print { display: none !important; }
  body { background: #fff; }
  .card { box-shadow: none; }
}
.logo-lateral { background: #fff; border-radius: 8px; padding: 10px; text-align: center; }
.logo-lateral img { max-width: 100%; max-height: 88px; object-fit: contain; margin: 0 auto; }
.logo-preview { width: 200px; height: 90px; border: 1px dashed #ced4da; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: #fff; padding: 8px; }
.logo-preview img { max-width: 100%; max-height: 100%; object-fit: contain; }
