*{box-sizing:border-box}
body{margin:0;background:#FBFBFD;color:#0B1220;font-family:Inter,system-ui,sans-serif;line-height:1.5}
h1,h2,.marca,.rota,.preco,.kpi{font-family:Manrope,sans-serif}
a{color:#2F5BFF}
.carregando{text-align:center;padding:80px 20px;color:#5B6577}
.faixa-demo{background:#0B1220;color:#C5CEDD;font-size:13px;text-align:center;padding:8px 16px}
.faixa-demo a{color:#8EA6FF;margin-left:8px}

.topo{max-width:880px;margin:0 auto;padding:20px 20px 8px;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px}
.marca{font-weight:800;font-size:20px;letter-spacing:-.02em;color:#0B1220;text-decoration:none}.marca span{color:#2F5BFF}
.quem{display:flex;flex-direction:column;align-items:flex-end;font-size:14px}.quem span{color:#5B6577;font-size:13px}

.papeis{max-width:880px;margin:8px auto 0;padding:0 20px;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.rot{font-size:13px;color:#5B6577;margin-right:4px}
.papel{font:inherit;font-weight:600;font-size:14px;border:1px solid #C9CFDA;background:#fff;color:#0B1220;padding:9px 16px;border-radius:999px;cursor:pointer}
.papel.on{background:#0B1220;color:#fff;border-color:#0B1220}
.papel.pulsa{border-color:#2F5BFF;color:#1B3FCC;box-shadow:0 0 0 4px #E9EEFF;animation:pulsa 1.6s ease-in-out infinite}
@keyframes pulsa{50%{box-shadow:0 0 0 7px #E9EEFF}}
@media (prefers-reduced-motion:reduce){.papel.pulsa{animation:none}}

.guia{max-width:840px;margin:16px 20px 0;padding:12px 16px;background:#E9EEFF;color:#1B2535;border-radius:12px;font-size:15px}
.guia strong{color:#1B3FCC}
@media (min-width:880px){.guia{margin-left:auto;margin-right:auto}}
main{max-width:880px;margin:0 auto;padding:24px 20px 32px;display:flex;flex-direction:column;gap:18px}
h1{margin:0;font-weight:800;font-size:30px;letter-spacing:-.02em}
h2{margin:0;font-weight:800;font-size:19px}
.cinza{font-size:14px;color:#5B6577}
.nota{margin:0;font-size:14px;color:#3A4558}
.forte{font-weight:600}.forte-laranja{color:#8A4B00;font-weight:500}
.vazio{margin:0;padding:22px;border:1px dashed #C9CFDA;border-radius:14px;color:#5B6577;text-align:center}

.cartao,.viagem,.painel,.anteriores{background:#fff;border:1px solid #E3E6EC;border-radius:18px;padding:20px;display:flex;flex-direction:column;gap:14px}
.grade{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}
label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;color:#3A4558}
input,select{font:inherit;font-size:15px;font-weight:400;color:#0B1220;padding:11px 12px;border:1px solid #C9CFDA;border-radius:10px;background:#fff;min-width:0}
input:disabled{background:#F3F5F9;color:#5B6577}
button{font:inherit;font-weight:600;font-size:15px;border:1px solid #C9CFDA;background:#fff;color:#0B1220;padding:11px 18px;border-radius:12px;cursor:pointer}
button:hover{border-color:#0B1220}
button.pri{background:#2F5BFF;border-color:#2F5BFF;color:#fff}button.pri:hover{background:#1B3FCC}
button.sec{align-self:flex-start;color:#5B6577}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #9DB2FF;outline-offset:2px}

.v-topo{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:10px}
.rota{font-weight:800;font-size:20px}
.tag{font-size:12px;font-weight:600;padding:6px 10px;border-radius:6px;white-space:nowrap}
.tag.amarelo{color:#8A5A00;background:#FFF1CC}.tag.laranja{color:#8A3B00;background:#FFE2CC}
.tag.azul{color:#1B3FCC;background:#E9EEFF}.tag.verde{color:#17603A;background:#DDF3E4}.tag.cinza{color:#5B6577;background:#EEF0F4}
.valor-linha{display:flex;justify-content:space-between;align-items:center;background:#F3F5F9;border-radius:10px;padding:10px 14px;font-size:15px}
.opcoes{display:flex;flex-direction:column;gap:10px}
.opcao{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid #E3E6EC;border-radius:12px;padding:14px 16px}
.opcao:hover{border-color:#2F5BFF;background:#F4F6FF}
.op-dir{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.preco{font-weight:700;font-size:18px;white-space:nowrap}
.aviso-regra{margin-top:4px;font-size:12px;font-weight:600;color:#8A3B00}
.acoes{display:flex;flex-wrap:wrap;gap:10px}
.doc{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;background:#F3F5F9;border-radius:10px;padding:12px 14px;font-size:14px}
.hist summary{cursor:pointer;font-size:13px;color:#5B6577}
.hist ol{margin:8px 0 0;padding-left:20px;font-size:13px;color:#3A4558;display:flex;flex-direction:column;gap:4px}
.linha-hist{display:flex;justify-content:space-between;gap:10px;font-size:14px;border-top:1px solid #EEF0F4;padding-top:10px}

.painel{background:#0B1220;border-color:#0B1220;color:#fff}
.painel h2{color:#fff}
.mini{font-size:13px;color:#A9B4C6}
.kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}
.kpis>div{background:#131C2E;border-radius:12px;padding:14px}
.kpi{font-weight:800;font-size:22px}.kpi.amarelo{color:#FFC670}
.destinos{display:flex;flex-direction:column;gap:10px;font-size:14px}
.destinos>div{display:grid;grid-template-columns:90px 1fr auto;gap:12px;align-items:center}
.destinos span{color:#C5CEDD}
.destinos i{display:block;height:12px}
.destinos b{display:block;height:12px;border-radius:6px;background:#6C8CFF}

#alerta{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);z-index:10}
#alerta div{background:#8A1C1C;color:#fff;padding:12px 18px;border-radius:12px;font-size:14px;box-shadow:0 10px 30px rgba(0,0,0,.2)}
.pe{max-width:880px;margin:0 auto;padding:0 20px 48px;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px}
.btn-pri{color:#fff;background:#0B1220;text-decoration:none;font-weight:600;padding:12px 20px;border-radius:12px}
.btn-pri:hover{color:#fff;background:#1B2535}
@media (max-width:600px){.quem{align-items:flex-start}}
