/* Página do cliente · Descontobus (v1.12, D-079). Celular primeiro: leitura em 15px, um assunto por cartão. */
:root { --navy: #01062B; --royal: #044BAC; --royal2: #0A6BD6; --cyan: #1EB0D0; --bg: #F2F5FA; --card: #fff; --ink: #0B1633; --muted: #56637C; --line: #DFE5EF; --ok: #1C6B3E; --okbg: #E2F3E9; --err: #A12A1A; --errbg: #FCE6E2; --infobg: #E6EFFC; --warn: #8A5300; --warnbg: #FFF3DC; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.45 Barlow, 'Segoe UI', Arial, sans-serif; }
.top { background: var(--navy); color: #fff; padding: 10px 16px; display: flex; justify-content: space-between; align-items: center; }
.logo { height: 44px; width: auto; display: block; }
.code { font-size: 12px; color: #A9B6D3; letter-spacing: .04em; }
main { max-width: 520px; margin: 0 auto; padding: 14px 14px 110px; display: flex; flex-direction: column; gap: 12px; }
h1 { font: 700 23px/1.15 'Barlow Condensed', sans-serif; margin: 2px 0 0; color: var(--navy); }
h2 { font: 700 13px Barlow, sans-serif; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin: 6px 0 0; }
h2 small, label small { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--muted); }
h3 { margin: 0; font: 700 19px/1.2 'Barlow Condensed', sans-serif; color: var(--navy); }
.muted { color: var(--muted); } .center { text-align: center; }
.fine { font-size: 13px; color: var(--muted); margin: 0; }
.fine b { color: var(--ink); }

/* cabeçalho da viagem e etapas */
.trip-head .hi { font-size: 14px; color: var(--muted); }
.trip-head .arrow { color: var(--cyan); }
.trip-head .sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.flow { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; counter-reset: s; }
.flow li { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; color: var(--muted); text-align: center; position: relative; }
.flow li::before { content: ''; position: absolute; top: 11px; left: -50%; right: 50%; height: 2px; background: var(--line); z-index: 0; }
.flow li:first-child::before { display: none; }
.flow li.ok::before, .flow li.now::before { background: var(--ok); }
.flow li span { position: relative; z-index: 1; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); color: var(--muted); font-size: 12px; }
.flow li.ok { color: var(--ok); } .flow li.ok span { background: var(--ok); border-color: var(--ok); color: #fff; }
.flow li.now { color: var(--royal); } .flow li.now span { background: var(--royal); border-color: var(--royal); color: #fff; box-shadow: 0 0 0 4px #D7E5FA; }

/* cartões e textos */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.msg { border-radius: 12px; padding: 11px 13px; font-size: 14px; }
.msg.ok { background: var(--okbg); color: var(--ok); } .msg.err { background: var(--errbg); color: var(--err); } .msg.info { background: var(--infobg); color: #0B2A5B; }
.pill { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--navy); color: #fff; border-radius: 6px; padding: 2px 7px; margin-right: 6px; vertical-align: 1px; }
.leg-title { display: flex; align-items: center; color: var(--ink); text-transform: none; letter-spacing: 0; font-size: 15px; margin-top: 8px; }
.per { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 4px 2px -4px; }

/* opções de horário */
.opt { width: 100%; text-align: left; display: flex; flex-direction: column; gap: 7px; padding: 12px 13px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font: inherit; color: inherit; cursor: pointer; }
.opt.on { border: 2px solid var(--royal); padding: 11px 12px; box-shadow: 0 0 0 3px #DCE7F8; }
.opt-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.times, .leg-t { display: flex; align-items: center; gap: 8px; }
.times b, .leg-t b { font: 700 21px 'Barlow Condensed', sans-serif; color: var(--navy); }
.times i, .leg-t i { width: 26px; height: 2px; background: var(--line); position: relative; }
.times i::after, .leg-t i::after { content: ''; position: absolute; right: -1px; top: -3px; border: 4px solid transparent; border-left-color: #B9C4D6; }
.times small, .leg-t small { font-size: 12px; color: var(--warn); font-weight: 700; }
.price { font: 700 20px 'Barlow Condensed', sans-serif; color: var(--navy); white-space: nowrap; }
.opt-mid { display: flex; flex-wrap: wrap; gap: 5px; }
.tag { font-size: 12.5px; background: var(--bg); border-radius: 999px; padding: 2px 9px; color: var(--ink); }
.opt-foot { font-size: 12px; color: var(--muted); }
.chips { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 4px; -webkit-overflow-scrolling: touch; }
.chip { flex: 0 0 auto; border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: 6px 11px; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; }
.chip small { color: var(--muted); font-weight: 600; }
.chip.on { background: var(--royal); border-color: var(--royal); color: #fff; } .chip.on small { color: #CFE0FF; }

/* barra fixa com o total */
.dock { position: fixed; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,.97); border-top: 1px solid var(--line); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 18px rgba(1, 6, 43, .08); z-index: 5; }
.dock-in { max-width: 520px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.dock-in > span { flex: 1; font-size: 14px; color: var(--muted); } .dock-in b { display: block; font: 700 20px 'Barlow Condensed', sans-serif; color: var(--navy); }
.dock .btn { flex: 0 0 auto; padding: 0 20px; }
.dock .msg { max-width: 520px; margin: 8px auto 0; }

/* resumo da viagem */
.summary .leg { border-top: 1px dashed var(--line); padding-top: 9px; display: flex; flex-direction: column; gap: 4px; }
.summary .leg:first-of-type { border-top: 0; padding-top: 0; }
.leg-h { font-size: 13px; color: var(--muted); }
.leg-m { font-size: 13.5px; color: var(--ink); }
.sum-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; border-top: 1px solid var(--line); padding-top: 8px; }
.sum-row.total b { font: 700 22px 'Barlow Condensed', sans-serif; color: var(--navy); }

/* formulários */
label { display: flex; flex-direction: column; gap: 5px; font-size: 13.5px; color: var(--muted); font-weight: 600; }
input:not([type="checkbox"]):not([type="file"]), select, textarea { font: inherit; font-size: 16px; color: var(--ink); border: 1px solid #C9D2E0; border-radius: 10px; padding: 9px 11px; min-height: 44px; background: #fff; width: 100%; }
textarea { min-height: 62px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 1px; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: end; }
.two > label, input[type="date"] { min-width: 0; }
input[type="date"] { -webkit-appearance: none; appearance: none; }
@media (max-width: 360px) { .two { grid-template-columns: 1fr; } }
fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
legend { font-size: 13.5px; color: var(--muted); font-weight: 600; padding: 0; margin-bottom: 6px; }
.form .chips { flex-wrap: wrap; overflow: visible; }
.form .chip input, .file-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip:has(input:focus-visible), .file-pick:has(input:focus-visible) { outline: 3px solid var(--cyan); outline-offset: 2px; }
.consent { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 500; color: var(--ink); font-size: 13.5px; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--royal); }
.pax { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px 12px; gap: 9px; }
.pax legend { font-size: 14px; color: var(--navy); font-weight: 700; padding: 0 4px; margin: 0; }
.seat-in { display: flex; gap: 10px; }
.seat-in label { flex: 1; }
input.seat { font: 700 20px 'Barlow Condensed', sans-serif !important; text-align: center; border: 2px solid var(--royal) !important; }
.note { margin: 0; font-size: 12.5px; color: var(--warn); background: var(--warnbg); border-radius: 8px; padding: 6px 9px; }
.print { margin: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.print figcaption { font-size: 12px; font-weight: 700; color: var(--muted); padding: 6px 10px; border-bottom: 1px solid var(--line); }
.print img { display: block; width: 100%; height: auto; }
/* v1.121 (D-214): mapa de poltronas lido da Buson, ônibus em pé (frente em cima) */
.seatmap { margin: 0; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 0 0 12px; }
.seatmap figcaption { font-size: 12px; font-weight: 700; color: var(--muted); padding: 6px 10px; border-bottom: 1px solid var(--line); }
.sm-legend { display: flex; gap: 14px; justify-content: center; font-size: 12px; color: var(--muted); padding: 8px 10px 0; }
.sm-legend span { display: flex; align-items: center; gap: 5px; }
.sm-legend i { width: 16px; height: 16px; min-height: 0; font-style: normal; font-size: 11px; pointer-events: none; }
/* v1.140 (D-239): o ônibus em pé como na Buson: carroceria, frente arredondada e o volante à esquerda */
.sm-bus { margin: 10px auto 4px; width: fit-content; max-width: 100%; border: 2px solid var(--line); border-radius: 26px 26px 10px 10px; padding: 8px 8px 12px; background: #fff; }
.sm-front { display: flex; align-items: center; gap: 8px; margin: 0 2px 10px; padding-bottom: 8px; border-bottom: 2px dashed var(--line); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sm-wheel { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--muted); position: relative; flex: 0 0 auto; }
.sm-wheel::after { content: ''; position: absolute; left: 50%; top: 50%; width: 3px; height: 9px; background: var(--muted); transform: translate(-50%, 0); }
.sm-aisle { min-height: 34px; }
.sm-grid { display: grid; gap: 6px; justify-content: center; padding: 0 2px; }
.sm-seat, .sm-x, .sm-gap { aspect-ratio: 1; min-height: 34px; border-radius: 8px 8px 5px 5px; display: grid; place-items: center; font: 700 13px/1 Barlow, sans-serif; }
.sm-seat { border: 2px solid var(--ok); background: var(--okbg); color: var(--ok); cursor: pointer; padding: 0; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.sm-seat.on { background: var(--royal); border-color: var(--royal); color: #fff; }
.sm-seat:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.sm-x { background: var(--line); color: var(--muted); border: 2px solid var(--line); }
@media (hover: hover) { .sm-seat:not(.on):hover { background: #fff; } }

/* botões */
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 12px; border: none; font: 700 16px Barlow, sans-serif; cursor: pointer; text-decoration: none; padding: 0 16px; }
.btn.pri { background: var(--ok); color: #fff; }
.btn.ghost { background: #fff; color: var(--royal); border: 1px solid #C9D2E0; min-height: 44px; font-size: 14.5px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.linkbtn { border: 0; background: none; color: var(--royal); font: inherit; text-decoration: underline; cursor: pointer; padding: 0 2px; }

/* etapas com ação */
.step-card { border: 2px solid var(--royal); }
.step-card.done { border-color: var(--ok); }
.step-tag { align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--royal); border-radius: 999px; padding: 3px 10px; }
.step-tag.ok { background: var(--ok); }
.pay-amount { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px dashed var(--line); padding-bottom: 8px; color: var(--muted); font-size: 13px; }
.pay-amount b { font: 700 28px 'Barlow Condensed', sans-serif; color: var(--navy); }
.pay-note { margin: 0; white-space: pre-line; }
.pay-link { display: flex; gap: 8px; }
.pay-link input { flex: 1; min-width: 0; font-size: 13px !important; color: var(--muted) !important; background: var(--bg) !important; }
.pay-link .btn { flex: 0 0 auto; }
.sep { font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; }
.file-pick { flex-direction: row; align-items: center; justify-content: center; gap: 6px; min-height: 50px; padding: 8px 12px; border: 2px dashed #A9B4C8; border-radius: 12px; color: var(--royal); font-weight: 700; cursor: pointer; text-align: center; background: #fff; position: relative; }

/* seguro e orientações */
.ins { flex-direction: row; gap: 12px; cursor: pointer; background: linear-gradient(135deg, var(--royal), var(--royal2)); color: #fff; border-radius: 14px; padding: 13px 14px; box-shadow: 0 4px 14px rgba(4, 75, 172, .22); font-weight: 500; }
.ins > span { display: flex; flex-direction: column; gap: 2px; }
.ins b { font-size: 16px; color: #fff; }
.ins input { width: 24px; height: 24px; margin-top: 2px; accent-color: var(--cyan); flex-shrink: 0; }
.ins-top { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #BFE6F2; }
.ins-p { font-size: 13.5px; color: #fff; } .ins-n { font-size: 12.5px; color: #D6E6FB; }
.ins-ic { width: 24px; height: 24px; border-radius: 6px; background: rgba(255,255,255,.2); display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }
.ins.on { box-shadow: 0 0 0 3px var(--cyan), 0 4px 14px rgba(4, 75, 172, .25); }
.tips { gap: 0; }
.tips h2 { margin: 0 0 6px; }
.tip { border-top: 1px solid var(--line); }
.tip summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 10px 0; cursor: pointer; font-weight: 700; font-size: 14.5px; }
.tip summary::-webkit-details-marker { display: none; }
.tip summary::after { content: '▾'; margin-left: auto; color: var(--muted); }
.tip[open] summary::after { content: '▴'; }
.tip summary span { width: 30px; height: 30px; border-radius: 8px; background: var(--infobg); display: grid; place-items: center; }
.tip ul { margin: 0 0 10px; padding-left: 20px; display: flex; flex-direction: column; gap: 5px; font-size: 14px; }
.help { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }

/* v1.19 · Pix automático */
.pix-qr { display: block; width: 220px; height: 220px; margin: 4px auto; border: 1px solid var(--line); border-radius: 12px; padding: 8px; background: #fff; image-rendering: pixelated; }
.pix-wait { display: flex; align-items: center; gap: 10px; }
.pix-dot { flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%; background: var(--royal); animation: pixpulse 1.4s ease-in-out infinite; }
@keyframes pixpulse { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .pix-dot { animation: none; } }
/* v1.24 · painel do celular (D-092) */
.pks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pk { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pk span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.pk b { font: 700 24px/1.1 'Barlow Condensed', sans-serif; color: var(--navy); overflow-wrap: anywhere; }
.pk small { font-size: 12px; color: var(--muted); }
.pk.hot { border-left: 4px solid var(--err); }
.pl { display: flex; flex-direction: column; gap: 0; padding: 4px 12px; }
.pq, .pt, .pa { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; overflow-wrap: anywhere; }
.pq:last-child, .pt:last-child, .pa:last-child { border-bottom: 0; }
.pq.late { box-shadow: inset 3px 0 0 var(--err); padding-left: 8px; }
.pq.mine { box-shadow: inset 3px 0 0 var(--royal); padding-left: 8px; }
.pq-top { display: flex; justify-content: space-between; gap: 8px; }
.pq-top span { color: var(--muted); font-size: 12px; text-align: right; }
.pq-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 3px; }
.pq-tags i { font-style: normal; font-size: 11px; background: var(--infobg); color: var(--royal); border-radius: 999px; padding: 1px 7px; }
.pq-tags i.me { background: var(--okbg); color: var(--ok); }
.pq-tags i.lt { background: var(--errbg); color: var(--err); }
.pt { display: flex; flex-direction: column; }
.pt span { color: var(--muted); }
.pa { display: flex; gap: 8px; }
.pa.done { opacity: .6; }
.pa small { color: var(--muted); }
.msg.warn { background: var(--warnbg); color: var(--warn); }

/* v1.29 · como funciona a compra (página do pedido) */
.how summary { cursor: pointer; list-style: none; }
.how summary::-webkit-details-marker { display: none; }
.how summary::after { content: '▾'; float: right; opacity: .6; }
.how:not([open]) summary::after { content: '▸'; }
.how-steps { margin: 10px 0 8px 18px; padding: 0; line-height: 1.45; }
.how-steps li { margin: 4px 0; }

/* v1.82 (D-169): escolha do horário no visual da cotação em PDF */
.hero { background: radial-gradient(120% 90% at 85% 0%, #0B2E7A 0%, var(--navy) 62%); color: #fff; border-radius: 16px; padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 4px; }
.hero .hi { font-size: 14px; color: #A9C4F0; }
.hero h1 { color: #fff; font-size: 27px; }
.hero .arrow { color: var(--cyan); }
.hero .sub { font-size: 12.5px; color: #B9C6E2; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 8px; margin-top: 10px; }
.tile { border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); border-radius: 12px; padding: 9px 11px; display: flex; flex-direction: column; min-width: 0; }
.tile span { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #A9B6D3; }
.tile b { font: 700 22px/1.15 'Barlow Condensed', sans-serif; color: #fff; white-space: nowrap; }
.tile.cy b { color: var(--cyan); }
.tile small { font-size: 12px; color: #B9C6E2; }
.leg-title { gap: 10px; margin-top: 10px; }
.leg-title .cal { flex: 0 0 auto; width: 46px; background: var(--navy); color: #fff; border-radius: 10px; display: flex; flex-direction: column; align-items: center; padding: 4px 0; line-height: 1; }
.leg-title .cal small { font-size: 9.5px; font-weight: 800; letter-spacing: .08em; color: var(--cyan); }
.leg-title .cal b { font: 700 20px/1.1 'Barlow Condensed', sans-serif; }
.leg-title > span:last-child { display: flex; flex-direction: column; }
.leg-title > span:last-child b { font: 700 17px 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: .02em; color: var(--navy); }
.leg-title > span:last-child small { font-size: 13px; color: var(--muted); font-weight: 500; }
.opt .tcol { display: flex; flex-direction: column; line-height: 1.05; }
.opt .tcol small { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.opt .times b { font-size: 26px; }
.opt .price { display: flex; flex-direction: column; align-items: flex-end; font-size: 24px; color: var(--royal); line-height: 1.05; }
.opt .price small { font: 700 11px Barlow, sans-serif; color: var(--ok); background: var(--okbg); border-radius: 999px; padding: 1px 8px; margin-top: 3px; }
.opt-body { display: flex; gap: 12px; align-items: center; }
.seat { flex: 0 0 auto; width: 64px; background: #EEF3FB; border-radius: 12px; padding: 5px 4px 6px; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.meter { display: flex; gap: 2px; } .meter i { width: 8px; height: 3px; border-radius: 2px; background: #D3DCEA; } .meter i.on { background: var(--royal); }
.opt-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.opt-info .cls { font: 700 19px/1.1 'Barlow Condensed', sans-serif; color: var(--navy); }
.opt-info .dur { font-size: 12.5px; color: var(--muted); }
.tag.via { background: #EEF2F8; font-weight: 700; text-transform: uppercase; font-size: 11px; letter-spacing: .04em; }
.tag.dir { background: var(--navy); color: #fff; font-weight: 800; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
.tag.troca { background: var(--warnbg); color: var(--warn); font-weight: 700; font-size: 11.5px; }
.opt.cama { background: linear-gradient(180deg, #F2FBFD, #fff 60%); border-color: #BEE6EF; }
.opt.cama .seat { background: #DDF2F7; } .opt.cama .meter i.on { background: #0E8AA6; } .opt.cama .price { color: #0E8AA6; }
.opt.on { border: 2px solid var(--royal); }

/* v1.96 · painel do celular com a identidade da marca (azul-marinho, azul royal, ciano; Barlow e Barlow Condensed) */
.pn { display: flex; flex-direction: column; gap: 14px; }
.pn-hero { background: linear-gradient(150deg, var(--navy) 0%, #031A5C 62%, var(--royal) 100%); color: #fff; border-radius: 18px; padding: 18px 16px 14px; position: relative; overflow: hidden; }
.pn-hero::after { content: ''; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px; border-radius: 50%; border: 18px solid var(--cyan); opacity: .16; pointer-events: none; }
.pn-hi { font-size: 13px; color: #A9C4EE; }
.pn-hero h1 { font: 700 30px/1.05 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: .02em; margin: 2px 0 0; color: #fff; }
.pn-sub { font-size: 12px; color: #A9C4EE; margin-top: 2px; }
.pn-big { margin-top: 14px; display: flex; flex-direction: column; }
.pn-big span { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--cyan); }
.pn-big b { font: 700 40px/1.05 'Barlow Condensed', sans-serif; font-variant-numeric: tabular-nums; }
.pn-big em, .pn-net em, .pn-row-s em { font-style: normal; font-size: 13px; font-weight: 600; }
.pn-big em.up { color: #7CE3B0; } .pn-big em.down { color: #FFB4A6; }
.pn-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.pn-strip div { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; padding: 8px 9px; display: flex; flex-direction: column; min-width: 0; }
.pn-strip b { font: 700 24px/1 'Barlow Condensed', sans-serif; font-variant-numeric: tabular-nums; }
.pn-strip span { font-size: 11px; color: #C9D8F2; margin-top: 2px; }
.pn-flag { margin-top: 12px; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; display: inline-flex; align-self: flex-start; }
.pn-flag.ok { background: rgba(124, 227, 176, .16); color: #9BF0C4; } .pn-flag.warn { background: #FFF3DC; color: var(--warn); }
.pn-nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; position: sticky; top: 0; z-index: 2; background: var(--bg); padding: 6px 0; margin: -6px 0; }
.pn-nav::-webkit-scrollbar { display: none; }
.pn-nav a { flex: 0 0 auto; font: 600 13px Barlow, sans-serif; color: var(--royal); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; text-decoration: none; }
.pn-sec { display: flex; flex-direction: column; gap: 8px; scroll-margin-top: 48px; }
.pn .pks { grid-template-columns: 1fr 1fr; }
.pn .pk { border-top: 3px solid var(--cyan); }
.pn .pk.hot { border-left: 1px solid var(--line); border-top-color: var(--err); }
.pn .pk b { font-variant-numeric: tabular-nums; }
.pn-net { gap: 4px; }
.pn-net-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.pn-net-top > div { display: flex; flex-direction: column; }
.pn-lbl { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.pn-num { font: 700 32px/1.05 'Barlow Condensed', sans-serif; color: var(--navy); font-variant-numeric: tabular-nums; }
em.up { color: var(--ok); } em.down { color: var(--err); }
.pn-spark { color: var(--cyan); flex: 0 0 auto; }
.pn-row { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--line); }
.pn-row:last-child { border-bottom: 0; }
.pn-ic { flex: 0 0 34px; height: 34px; border-radius: 10px; background: var(--navy); color: #fff; font: 700 13px/34px 'Barlow Condensed', sans-serif; text-align: center; letter-spacing: .03em; }
.pn-ic[data-n="instagram"] { background: linear-gradient(135deg, #833AB4, #E1306C 55%, #F77737); }
.pn-ic[data-n="facebook"] { background: #1877F2; } .pn-ic[data-n="tiktok"] { background: #111; } .pn-ic[data-n="youtube"] { background: #E62117; }
.pn-ic[data-n="linkedin"] { background: #0A66C2; } .pn-ic[data-n="whatsapp"] { background: #1FA855; } .pn-ic[data-n="x"], .pn-ic[data-n="threads"] { background: #000; }
.pn-row-m { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.pn-row-t { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.pn-row-t span { font: 700 18px/1 'Barlow Condensed', sans-serif; color: var(--navy); font-variant-numeric: tabular-nums; }
.pn-row-s { font-size: 12px; color: var(--muted); }
.pn-due { color: var(--warn); font-weight: 600; }
.pn-bar { height: 6px; background: var(--infobg); border-radius: 999px; overflow: hidden; }
.pn-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--royal), var(--cyan)); border-radius: 999px; }
.pn-sep { font: 700 11px Barlow, sans-serif; text-transform: uppercase; letter-spacing: .07em; color: var(--royal); padding: 10px 0 2px; }
.pn-trip { display: flex; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); }
.pn-trip:last-child { border-bottom: 0; }
.pn-date { flex: 0 0 52px; text-align: center; border-radius: 10px; background: var(--infobg); padding: 5px 0; display: flex; flex-direction: column; }
.pn-trip.wk .pn-date { background: var(--navy); color: #fff; }
.pn-date b { font: 700 18px/1 'Barlow Condensed', sans-serif; }
.pn-date span { font-size: 11px; opacity: .8; margin-top: 2px; }
.pn-trip-m { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 14px; overflow-wrap: anywhere; }
.pn-trip-m span { font-size: 12px; color: var(--muted); }
.pn-sit { flex: 0 0 auto; font-style: normal; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 3px 8px; max-width: 108px; text-align: center; line-height: 1.25; }
.pn-sit.emitida { background: var(--okbg); color: var(--ok); } .pn-sit.emitir { background: var(--errbg); color: var(--err); }
.pn-sit.pagar { background: var(--warnbg); color: var(--warn); } .pn-sit.viajando { background: #DDF4FA; color: #08667C; }
.pn-btn { display: block; text-align: center; background: var(--royal); color: #fff; text-decoration: none; font: 700 15px Barlow, sans-serif; border-radius: 12px; padding: 12px; }
.pn-btn:active { background: var(--navy); }
.pn-pend { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14px; }
.pn-pend:last-child { border-bottom: 0; }
.pn-pend.zero { color: var(--muted); }
.pn-cnt { flex: 0 0 auto; min-width: 30px; height: 26px; border-radius: 8px; background: var(--bg); color: var(--muted); font: 700 16px/26px 'Barlow Condensed', sans-serif; text-align: center; padding: 0 6px; }
.pn-cnt.on { background: var(--infobg); color: var(--royal); } .pn-cnt.hot { background: var(--err); color: #fff; }
.pn-pl { flex: 1; min-width: 0; }
.pn-go { color: var(--royal); font-size: 20px; line-height: 1; }
.pn-h { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.pn-h:last-child { border-bottom: 0; }
.pn-h span { flex: 1; color: var(--muted); } .pn-h b { text-align: right; }
.pn-dot { flex: 0 0 10px; height: 10px; border-radius: 50%; background: var(--muted); }
.pn-dot.ok { background: #22A061; } .pn-dot.bad { background: var(--err); } .pn-dot.wait { background: #E0A100; }
.pn-fails { padding: 0 0 6px 20px; }
.pn-more summary { list-style: none; cursor: pointer; }
.pn-more summary::-webkit-details-marker { display: none; }
.pn-more summary h2::after { content: ' ▸'; } .pn-more[open] summary h2::after { content: ' ▾'; }
.pq-sub { font-size: 13px; color: var(--muted); }
/* v1.100 (D-189): pedidos do site no painel, com PIN */
.pn-ped { display: flex; flex-direction: column; gap: 2px; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 10px 0; font: inherit; color: var(--ink); cursor: pointer; }
.pn-ped:last-child { border-bottom: 0; }
.pn-ped.on .pn-ped-t b { color: var(--royal); }
.pn-ped-t { display: flex; justify-content: space-between; gap: 10px; }
.pn-ped-t span, .pn-ped-s { font-size: 13px; color: var(--muted); }
.pn-pc { display: flex; flex-direction: column; gap: 10px; border: 2px solid var(--royal); margin-bottom: 10px; }
.pn-pc-head { display: flex; justify-content: space-between; align-items: center; }
.pn-x { background: none; border: 0; font-size: 18px; color: var(--muted); cursor: pointer; padding: 4px 8px; }
.pn-dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 12px; margin: 0; }
.pn-dl dt { font-size: 13px; color: var(--muted); }
.pn-dl dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; white-space: pre-wrap; }
.pn-pin-f { display: flex; flex-direction: column; gap: 10px; }
.pn-pin-f input { font-size: 22px; letter-spacing: .4em; text-align: center; }
.btn.pn-small { font-size: 13px; padding: 8px 12px; min-height: 0; }
.privacy-line a { color: var(--royal); }
/* v1.112 (D-202): campo de cidade com lista (toque e teclado) */
.city-f { position: relative; min-width: 0; }
.city-f input { font-size: 16px; }
.city-list { position: absolute; left: 0; right: 0; z-index: 20; margin: 2px 0 0; padding: 4px 0; list-style: none; background: #fff; border: 1px solid #c9d3e3; border-radius: 10px; box-shadow: 0 8px 24px rgba(1, 6, 43, .15); max-height: 264px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.city-list li { padding: 12px 14px; min-height: 44px; box-sizing: border-box; cursor: pointer; color: #01062B; }
.city-list li.on, .city-list li:hover { background: #E8F6FA; }
.city-err { display: block; min-height: 0; color: var(--err); font-size: .85rem; margin-top: 4px; }
.city-err:empty { display: none; }

/* v1.139 (D-238): cartões de embarque, um por passageiro e trecho */
.tk-leg { margin: 4px 0 0; font-size: 14px; color: var(--royal); text-transform: uppercase; letter-spacing: .04em; }
.tk-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tk-row { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.tk-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.tk-txt .fine { overflow-wrap: anywhere; }
.tk-btn { flex: 0 0 auto; width: auto; min-width: 104px; padding: 10px 14px; }
.seat-taken { border-left: 4px solid #C0392B; }
/* v1.141 (D-240): conexão com dois ônibus (cartão da opção e os dois mapas) e o aviso de sem ônibus */
.conn-line { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; padding: 8px 10px; border-left: 3px solid var(--cyan); background: #F3FAFC; border-radius: 0 8px 8px 0; font-size: 13px; text-align: left; }
.conn-line small { color: var(--muted); font-size: 12px; }
.conn-wait { color: var(--royal); font-weight: 700; }
.seatmap.conn .sm-part { margin-top: 8px; }
.seatmap.conn .sm-part h4 { margin: 4px 0 0; font-size: 15px; text-align: center; }
.seatmap.conn .sm-part .fine { text-align: center; }
.sm-change { margin: 12px auto 4px; width: fit-content; padding: 6px 12px; border-radius: 999px; background: #F3FAFC; color: var(--royal); font-weight: 700; font-size: 13px; }
.msg.no-route { line-height: 1.5; }