.logo { color: var(--marca); }
.entrada { min-height: 100vh; display: grid; place-items: center; padding: 1em; }
.caixa { width: 100%; max-width: 420px; }
.caixa form button { margin-top: .6em; }
.check { display: flex; gap: .5em; align-items: flex-start; color: var(--texto); }
.check input { width: auto; margin-top: .25em; }
.topo {
  display: flex; align-items: center; gap: .9em; padding: .6em 1.2em; background: #1c2430; color: #fff;
  flex-wrap: wrap; position: sticky; top: 0; z-index: 1000;
}
.topo nav { display: flex; gap: .2em; flex-wrap: wrap; flex: 1; }
.topo > strong { white-space: nowrap; }
.topo nav a { color: #cfd6df; text-decoration: none; padding: .35em .5em; border-radius: 6px; white-space: nowrap; }
.topo nav a.ativo, .topo nav a:hover { background: #33404f; color: #fff; }
.quem { font-size: .9em; display: flex; gap: .6em; align-items: center; }
#quem { max-width: 16em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quem button { padding: .3em .7em; }
.faixa { background: #fff3bf; padding: .6em 1.2em; border-bottom: 1px solid #f0d77a; }
.faixa.critico { background: #ffe3e3; border-color: #f3a6a6; }
.conteudo { padding: 1.2em; max-width: 1400px; margin: 0 auto; }
.mapa-layout { display: grid; grid-template-columns: 1fr 320px; gap: 1em; height: calc(100vh - 110px); }
#mapa, #mapa-rota { border-radius: var(--raio); box-shadow: var(--sombra); min-height: 400px; }
.lista-frota { overflow: auto; margin: 0; }
.item-frota { padding: .5em 0; border-bottom: 1px solid var(--linha); cursor: pointer; }
.item-frota:hover { background: #f8f9fa; }
.ponto { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #0004; }
.ponto.online { background: var(--ok); } .ponto.offline { background: #868e96; } .ponto.critico { background: var(--critico); }
.modal { position: fixed; inset: 0; background: #0008; display: grid; place-items: center; z-index: 2000; padding: 1em; }
.modal .cartao { max-width: 420px; width: 100%; text-align: center; }
.qr svg, .qr img { width: 260px; height: 260px; }
.codigo-grande { font-size: 2em; letter-spacing: .1em; font-weight: 700; font-family: ui-monospace, monospace; }
.numero { font-size: 1.8em; font-weight: 700; }
@media (max-width: 800px) {
  .mapa-layout { grid-template-columns: 1fr; height: auto; }
  #mapa, #mapa-rota { height: 60vh; }
}
.opcao-rota { border: 2px solid var(--linha); border-radius: 8px; padding: .6em; margin-top: .6em; cursor: pointer; }
.opcao-rota.escolhida { border-color: var(--marca); background: #fff4e6; }
.opcao-rota .numero { font-size: 1.3em; }

/* recuperação de senha */
p.ok { color: var(--ok); font-weight: 600; }
p.centro { text-align: center; margin-top: .6rem; }
button.link { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; width: auto; }
.sem-quebra { white-space: nowrap; }
.modal .cartao:has(table) { max-width: 680px; }

/* LGPD */
button.perigo { background: var(--critico); }
details.perigo-zona { margin-top: 1em; border: 1px solid #f3a6a6; border-radius: 8px; padding: .6em .9em; }
details.perigo-zona summary { cursor: pointer; color: var(--critico); font-weight: 600; }

.radio-gestor { touch-action: none; user-select: none; -webkit-user-select: none; margin: .4em 0 .8em; }
.radio-gestor.gravando { background: #e03131; }
details.coords { margin: .3em 0 .6em; }
details.coords summary { cursor: pointer; color: var(--marca); }
