/* Já Carregou · base visual compartilhada (app do motorista, portal do dono, homologação e gestão geral).
   Depende de tokens.css (cores, tamanhos, cantos). Fonte Geist guardada junto do sistema (licença OFL), sem carregar de site externo. */
@font-face { font-family: "Geist"; src: url("/comum/jc/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--jc-bg); color: var(--jc-texto); font-family: var(--jc-fonte); font-size: var(--jc-tam-texto); line-height: var(--jc-entrelinha); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--jc-link); text-decoration: none; font-weight: 600; }
h1, h2, h3, p { margin: 0; }
.num { font-variant-numeric: tabular-nums; }
.t2 { color: var(--jc-texto-2); }
.sem-selecao { user-select: none; -webkit-user-select: none; }
.ic { display: inline-block; flex-shrink: 0; vertical-align: middle; }

/* Títulos */
.h-tela { font-size: var(--jc-tam-titulo); font-weight: var(--jc-peso-titulo); letter-spacing: var(--jc-tracking-titulo); line-height: 1.2; }
.h-sec { font-size: var(--jc-tam-secao); font-weight: var(--jc-peso-titulo); }
.rotulo { font-size: var(--jc-tam-rotulo); font-weight: var(--jc-peso-medio); }

/* Botões: 40 px, cantos totalmente arredondados. Ações de recarga usam .btn-acao (redondo, 64 px). */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--jc-alt-botao); padding: 0 20px; border: 0; border-radius: var(--jc-raio-pill); background: var(--jc-primaria); color: var(--jc-sobre-primaria); font-weight: 600; font-size: 14.5px; white-space: nowrap; width: 100%; }
.btn:active { background: var(--jc-primaria-press); }
.btn:disabled { background: var(--jc-superficie); color: var(--jc-texto-2); cursor: default; }
.btn.sec { background: var(--jc-secundario-fundo); color: var(--jc-secundario-texto); }
.btn.perigo { background: var(--jc-erro-fundo); color: var(--jc-erro-texto); }
.btn.apple { background: var(--jc-texto); color: var(--jc-bg); }
.btn.google { background: var(--jc-bg); color: var(--jc-texto); box-shadow: inset 0 0 0 1px var(--jc-borda-forte); }
.btn.mini { height: 32px; width: auto; padding: 0 14px; font-size: 13px; }
.btn-acao { width: var(--jc-acao); height: var(--jc-acao); border-radius: var(--jc-raio-pill); border: 0; background: var(--jc-acao-iniciar); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px var(--jc-sucesso-fundo); }
.btn-acao.parar { background: var(--jc-acao-parar); box-shadow: 0 0 0 6px var(--jc-erro-fundo); }
.btn-acao:disabled { opacity: .5; }

/* Situação: fundo suave com texto escuro da mesma cor (nunca cor cheia com texto pequeno branco) */
.pill { display: inline-flex; align-items: center; gap: 5px; border-radius: var(--jc-raio-pill); padding: 3px 10px; font-weight: 600; font-size: 12px; white-space: nowrap; }
.pill .dot { width: 6px; height: 6px; border-radius: 9px; background: currentColor; }
.p-livre { background: var(--jc-sucesso-fundo); color: var(--jc-sucesso-texto); }
.p-ocup { background: var(--jc-aviso-fundo); color: var(--jc-aviso-texto); }
.p-fora { background: var(--jc-erro-fundo); color: var(--jc-erro-texto); }
.p-info { background: var(--jc-info-fundo); color: var(--jc-info-texto); }

/* Campos e caixas */
.campo { display: flex; align-items: center; height: var(--jc-alt-campo); border-radius: var(--jc-raio-md); background: var(--jc-superficie); padding: 0 14px; width: 100%; border: 0; color: var(--jc-texto); font-size: 15px; }
.campo:focus { outline: 0; background: var(--jc-bg); box-shadow: inset 0 0 0 1.5px var(--jc-primaria); }
.campo::placeholder { color: var(--jc-texto-2); }
.box { background: var(--jc-superficie); border-radius: var(--jc-raio-md); padding: 10px 12px; }
.chip { display: inline-flex; align-items: center; height: var(--jc-alt-chip); padding: 0 13px; border: 0; border-radius: var(--jc-raio-pill); background: var(--jc-superficie-elevada); color: var(--jc-texto); font-weight: 500; font-size: 13px; box-shadow: var(--jc-sombra-flutuante); white-space: nowrap; }
.chip.on { background: var(--jc-texto); color: var(--jc-bg); }
.chip.plano { box-shadow: inset 0 0 0 1px var(--jc-borda-forte); background: transparent; }
.chip.plano.on { background: var(--jc-primaria); color: #fff; box-shadow: none; }
.linha { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.item { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--jc-borda); }
.item:last-child { border-bottom: 0; }
.ic-caixa { width: 36px; height: 36px; border-radius: 11px; background: var(--jc-superficie); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--jc-texto); }
.barra { height: 8px; border-radius: 9px; background: var(--jc-superficie); overflow: hidden; }
.barra i { display: block; height: 100%; background: var(--jc-primaria); border-radius: 9px; }
.toast { position: fixed; left: 16px; right: 16px; bottom: calc(var(--jc-alt-abas) + 18px); max-width: 448px; margin: 0 auto; background: var(--jc-texto); color: var(--jc-bg); border-radius: var(--jc-raio-md); padding: 12px 16px; font-weight: 500; z-index: 80; box-shadow: var(--jc-sombra-flutuante); }
.toast.erro { background: var(--jc-erro-texto); color: #fff; }
