/* Log de aplicação (log-aplicacao.js): mapa satélite com trilha e faixas, painel de números e barra de reprodução. */
.cl-janela .erp-janela-corpo { padding: 0; overflow: hidden; }
.cl-tela { display: flex; flex-direction: column; max-width: 100%; font-family: var(--erp-fonte); font-size: var(--erp-tam); color: var(--erp-texto); }
.cl-barra { gap: 4px; }
.cl-barra .erp-barra-btn > .erp-ico { width: 16px; height: 16px; }
.cl-barra .erp-barra-btn.cl-ativo { background: var(--erp-acento-claro); border-color: #fcd9bd; }
.cl-rot { display: inline-flex; align-items: center; gap: 5px; color: var(--erp-azul); font-size: 12px; margin: 0 4px; white-space: nowrap; }
.cl-rot .erp-input { width: 62px; height: 24px; }
.cl-rot select.erp-input { width: 196px; }
.cl-auto { display: inline-flex; align-items: center; }
.cl-auto[hidden] { display: none; }
.cl-auto .erp-input { width: 50px; }

.cl-corpo { flex: 1; display: flex; min-height: 0; }
.cl-quadro { position: relative; flex: 1; min-width: 0; background: #1e2a20; }
.cl-mapa { position: absolute; inset: 0; background: #1e2a20; }
.cl-aviso-vazio { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #e5e7eb; font-size: 14px; pointer-events: none; z-index: 500; text-shadow: 0 1px 3px rgba(0,0,0,.7); }
.cl-aviso-vazio[hidden] { display: none; }
.cl-aviso-vazio small { color: #cbd5e1; font-size: 12px; margin-top: 4px; }

.cl-legenda { position: absolute; left: 10px; bottom: 10px; z-index: 600; display: flex; gap: 12px; padding: 5px 10px; border-radius: 4px; background: rgba(15,23,42,.72); color: #fff; font-size: 12px; pointer-events: none; }
.cl-legenda span { display: inline-flex; align-items: center; gap: 5px; }
.cl-legenda i { display: inline-block; width: 18px; height: 10px; }
.cl-leg-pol { border: 2px solid #facc15; background: rgba(250,204,21,.18); }
.cl-leg-tri { height: 0 !important; border-top: 2px solid #fff; }
.cl-leg-tra { height: 0 !important; border-top: 2px dashed #fb923c; }
.cl-leg-fai { background: rgba(34,197,94,.75); }

.cl-topo { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 600; display: flex; gap: 16px; padding: 6px 14px; border-radius: 4px; background: rgba(15,23,42,.78); color: #e5e7eb; font-size: 13px; pointer-events: none; white-space: nowrap; }
.cl-topo[hidden] { display: none; }
.cl-topo b { color: #fff; font-variant-numeric: tabular-nums; }
.cl-t-hora { color: #cbd5e1; font-variant-numeric: tabular-nums; }

.cl-aviao { background: none; border: none; }
.cl-aviao > div { width: 30px; height: 30px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.8)); transform-origin: 50% 50%; }

.cl-lado { width: 268px; flex: 0 0 auto; overflow: auto; padding: 8px; border-left: 1px solid var(--erp-borda); background: #fbfcfe; }
.cl-lado .erp-grupo { margin-bottom: 6px; }
.cl-linha { display: flex; justify-content: space-between; gap: 8px; padding: 2px 0; border-bottom: 1px dotted #e3e9f1; }
.cl-linha:last-child { border-bottom: none; }
.cl-linha > span { color: var(--erp-azul); white-space: nowrap; }
.cl-linha > b { color: var(--erp-campo-texto); font-variant-numeric: tabular-nums; text-align: right; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-nome { font-weight: 600; }
.cl-cinza { color: #6b7280; font-size: 12px; }
.cl-notas { margin: 0; padding-left: 16px; font-size: 11.5px; color: #374151; line-height: 1.35; }
.cl-notas li { margin-bottom: 4px; }
.cl-notas-g[hidden] { display: none; }
.cl-formatos { font-size: 11px; color: #6b7280; line-height: 1.35; padding: 2px 2px 0; }

.cl-repro { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-top: 1px solid var(--erp-borda); background: #f7f9fc; }
.cl-repro[hidden] { display: none; }
.cl-repro .erp-btn-ico { width: 30px; height: 28px; }
.cl-repro .erp-btn-ico .erp-ico { width: 15px; height: 15px; color: var(--erp-azul); }
.cl-r-barra { flex: 1; min-width: 80px; accent-color: #16a34a; }
.cl-r-hora, .cl-r-total { font-variant-numeric: tabular-nums; color: var(--erp-campo-texto); font-size: 12.5px; min-width: 58px; text-align: center; }
.cl-r-vels { display: inline-flex; gap: 2px; }
.cl-r-vels .erp-botao { padding: 0 7px; }
.cl-r-vels .erp-botao.cl-ativo { border-color: #16a34a; background: linear-gradient(180deg, #f0fdf4, #dcfce7); color: #166534; }
/* Reprodução 3D (log-3d.js) por cima do mapa */
.cl-3d { position: absolute; inset: 0; z-index: 550; background: #a9cbe8; }
.cl-3d canvas { display: block; width: 100% !important; height: 100% !important; }
.cl-3d-msg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #0f172a; font-size: 14px; }
.cl-3d-cred { position: absolute; right: 8px; bottom: 6px; font-size: 10px; color: rgba(255,255,255,.85); text-shadow: 0 1px 2px rgba(0,0,0,.6); pointer-events: none; }
.cl-quadro:has(.cl-3d) .cl-legenda { display: none; }
.cl-cam { height: 26px; width: auto; }
.cl-b3d.cl-ativo { border-color: #4f7fbf; background: linear-gradient(180deg, #e3ecf7, #cddcf0); }
.cl-quadro:has(.cl-3d) .leaflet-control-container { display: none; }
/* Leitura em andamento (Worker), logs gravados, voos e aeronave do 3D */
.cl-carregando { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 700; display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 6px; background: rgba(15,23,42,.85); color: #fff; font-size: 13px; pointer-events: none; }
.cl-carregando[hidden] { display: none; }
.cl-carregando i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: cl-gira .8s linear infinite; }
@keyframes cl-gira { to { transform: rotate(360deg); } }
.cl-gravados { margin-top: 4px; font-size: 12px; color: #166534; }
.cl-gravados a { color: var(--erp-azul); font-weight: 600; }
.cl-gravados-lista { max-height: 60vh; overflow: auto; }
.cl-gravados-lista table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.cl-gravados-lista th, .cl-gravados-lista td { padding: 4px 6px; border-bottom: 1px solid #e3e9f1; text-align: left; white-space: nowrap; }
.cl-gravados-lista td:nth-child(4) { white-space: normal; }
.cl-voo { height: 26px; width: auto; max-width: 220px; }
.cl-voo[hidden] { display: none; }
.cl-aer { height: 26px; width: auto; }
.cl-leg-areas { display: inline-flex; gap: 12px; }
.cl-leg-areas:empty { display: none; }
