/* Alure · app do cliente */
:root {
  --navy: #151b26; --navy-2: #222a37; --ink: #161b22; --ivory: #ffffff; --sand: #f2f3f5; --line: #e6e7ea;
  --muted: #8a8f98; --gold: #4fb0a5; --gold-2: #7ccdc4; --ok: #2f9488; --bad: #c0392b; --white: #fff;
  --serif: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 18px; --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--navy); color: var(--ink); font: 400 15px/1.5 var(--sans); overscroll-behavior: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
#app { position: fixed; inset: 0; overflow: hidden; background: var(--sand); }

/* mapa */
#map { position: absolute; inset: 0; background: #e9e6df; }
.map-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 13px; padding: 30px; text-align: center; }
.fab { position: absolute; z-index: 5; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--white); box-shadow: 0 6px 18px rgba(11, 22, 38, .16); display: grid; place-items: center; }
.fab svg { width: 22px; height: 22px; }
.fab--menu { top: calc(14px + var(--safe-t)); left: 14px; overflow: hidden; padding: 0; }
.fab--menu img { width: 100%; height: 100%; object-fit: cover; }
.fab--locate { right: 14px; }
.brand-chip { position: absolute; z-index: 5; top: calc(18px + var(--safe-t)); left: 50%; transform: translateX(-50%); background: var(--navy); color: var(--ivory); padding: 8px 16px; border-radius: 999px; font: 500 19px/1 var(--serif); letter-spacing: .14em; box-shadow: 0 6px 18px rgba(11, 22, 38, .25); }
.brand-chip b { color: var(--gold-2); font-weight: 500; }

/* marcadores no mapa */
.mk { position: absolute; transform: translate(-50%, -100%); pointer-events: none; }
.mk-pin { width: 22px; height: 22px; border-radius: 50%; background: var(--navy); border: 4px solid var(--white); box-shadow: 0 3px 10px rgba(0, 0, 0, .3); transform: translate(-50%, -50%); position: absolute; }
.mk-pin--to { background: var(--gold); border-radius: 6px; }
.mk-me { width: 18px; height: 18px; border-radius: 50%; background: #2f6fde; border: 3px solid #fff; box-shadow: 0 0 0 10px rgba(47, 111, 222, .18); transform: translate(-50%, -50%); position: absolute; }
.mk-tag { position: absolute; transform: translate(-50%, calc(-100% - 18px)); background: var(--navy); color: var(--ivory); font-size: 12.5px; font-weight: 600; padding: 6px 10px; border-radius: 10px; white-space: nowrap; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
.mk-tag small { color: var(--gold-2); font-weight: 600; margin-left: 4px; }
.mk-car { position: absolute; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .35); border: 3px solid var(--gold-2); transition: transform .6s linear; }
.mk-car svg { width: 26px; height: 26px; }

/* folha inferior */
.sheet { position: absolute; z-index: 10; left: 0; right: 0; bottom: 0; max-height: 86%; display: flex; flex-direction: column; background: var(--ivory); border-radius: 26px 26px 0 0; box-shadow: 0 -10px 40px rgba(11, 22, 38, .18); padding: 10px 18px calc(18px + var(--safe-b)); transition: transform .25s ease; }
.sheet::before { content: ""; display: block; width: 42px; height: 4px; border-radius: 4px; background: var(--line); margin: 0 auto 12px; flex: none; }
.sheet--full { top: 0; max-height: none; border-radius: 0; padding-top: calc(14px + var(--safe-t)); }
.sheet--full::before { display: none; }
.sheet__body { overflow-y: auto; -webkit-overflow-scrolling: touch; display: flex; flex-direction: column; gap: 14px; min-height: 0; }
.sheet__foot { flex: none; padding-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.hello { font: 500 26px/1.1 var(--serif); margin: 0; }
.hello small { display: block; font: 500 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.h-title { font: 500 30px/1.05 var(--serif); margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0; }

/* busca */
.where { display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 6px 6px 6px 16px; box-shadow: 0 2px 10px rgba(11, 22, 38, .05); }
.where button.where__go { flex: 1; text-align: left; border: 0; background: none; padding: 12px 0; font-size: 17px; font-weight: 600; color: var(--ink); }
.where__when { flex: none; display: flex; align-items: center; gap: 6px; border: 0; background: var(--sand); border-radius: 12px; padding: 10px 12px; font-size: 13px; font-weight: 600; }
.where__when svg { width: 18px; height: 18px; }
.route-box { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.route-row { display: flex; align-items: center; gap: 12px; padding: 4px 12px; }
.route-row + .route-row { border-top: 1px solid var(--line); }
.route-row input { flex: 1; border: 0; background: none; padding: 13px 0; font-size: 16px; outline: none; min-width: 0; }
.route-row .dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--navy); }
.route-row .dot--to { border-radius: 3px; background: var(--gold); }
.route-row .x { border: 0; background: none; color: var(--muted); padding: 6px; }
.list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.list li { margin: 0; }
.list button, .list a.row { width: 100%; display: flex; align-items: center; gap: 14px; border: 0; background: none; padding: 12px 2px; text-align: left; text-decoration: none; border-bottom: 1px solid var(--line); }
.list li:last-child button, .list li:last-child a.row { border-bottom: 0; }
.ico-tile { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--sand); display: grid; place-items: center; color: var(--navy); }
.ico-tile svg { width: 20px; height: 20px; }
.row-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.row-txt b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-txt small { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; }
.chev { flex: none; color: var(--muted); }
.chev svg { width: 18px; height: 18px; }

/* banner de convite */
.promo { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; text-decoration: none; background: var(--navy); color: var(--ivory); border-radius: 20px; padding: 18px; border: 0; text-align: left; width: 100%; }
.promo::after { content: ""; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px; border-radius: 50%; border: 1px solid rgba(201, 173, 130, .35); box-shadow: 0 0 0 22px rgba(201, 173, 130, .08); }
.promo b { display: block; font: 500 21px/1.1 var(--serif); color: var(--ivory); }
.promo small { color: var(--gold-2); font-size: 13px; }
.promo__ico { flex: none; width: 46px; height: 46px; border-radius: 14px; background: rgba(201, 173, 130, .16); display: grid; place-items: center; color: var(--gold-2); }

/* categorias */
.cats { display: flex; flex-direction: column; gap: 8px; }
.cat { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; border: 1.5px solid transparent; background: var(--white); border-radius: 16px; padding: 12px 14px; box-shadow: 0 1px 6px rgba(11, 22, 38, .05); }
.cat[aria-pressed="true"] { border-color: var(--navy); box-shadow: 0 6px 18px rgba(11, 22, 38, .12); }
.cat__car { flex: none; width: 64px; height: 40px; display: grid; place-items: center; }
.cat__car svg { width: 64px; height: 34px; }
.cat__txt { flex: 1; min-width: 0; }
.cat__txt b { display: flex; align-items: center; gap: 6px; font-weight: 700; }
.cat__txt small { display: block; color: var(--muted); font-size: 12.5px; }
.badge { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); background: rgba(201, 173, 130, .3); border-radius: 6px; padding: 2px 6px; }
.cat__price { flex: none; text-align: right; }
.cat__price b { display: block; font-size: 17px; font-weight: 700; }
.cat__price s { color: var(--muted); font-size: 12.5px; }
.cat:disabled { opacity: .45; }

/* linha de pagamento */
.payrow { display: flex; align-items: center; gap: 12px; border: 0; width: 100%; background: var(--white); border-radius: 14px; padding: 12px 14px; text-align: left; }
.payrow .row-txt b { font-size: 14.5px; }
.pm-logo { flex: none; width: 44px; height: 30px; border-radius: 8px; background: var(--sand); display: grid; place-items: center; font-size: 11px; font-weight: 800; letter-spacing: .04em; color: var(--navy); }
.pm-logo--pix { background: rgba(50, 188, 173, .14); color: #1d8f84; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 14px; padding: 16px 18px; font-weight: 700; font-size: 16px; text-decoration: none; background: var(--sand); color: var(--ink); }
.btn--primary { background: var(--navy); color: var(--ivory); }
.btn--primary small { color: var(--gold-2); font-weight: 600; }
.btn--outline { background: transparent; border: 1.5px solid var(--line); }
.btn--ghost { background: none; color: var(--muted); padding: 10px; font-weight: 600; font-size: 14px; }
.btn--danger { background: none; color: var(--bad); padding: 10px; font-weight: 600; font-size: 14px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .55; }
.btn svg { width: 20px; height: 20px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.chip { flex: none; border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 8px 14px; font-size: 13.5px; font-weight: 600; }
.chip[aria-pressed="true"] { background: var(--navy); color: var(--ivory); border-color: var(--navy); }

/* topo das telas cheias */
.topbar { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--white); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(11, 22, 38, .08); flex: none; }
.icon-btn svg { width: 20px; height: 20px; }

/* procurando motorista */
.radar { position: relative; width: 140px; height: 140px; margin: 8px auto 4px; }
.radar span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold-2); animation: ping 2.4s ease-out infinite; opacity: 0; }
.radar span:nth-child(2) { animation-delay: .8s; } .radar span:nth-child(3) { animation-delay: 1.6s; }
.radar i { position: absolute; inset: 44px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; color: var(--gold-2); }
.radar i svg { width: 30px; height: 30px; }
@keyframes ping { 0% { transform: scale(.35); opacity: .9; } 100% { transform: scale(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .radar span { animation: none; opacity: .4; } }

/* viagem em andamento */
.eta { display: flex; gap: 10px; }
.eta__min { flex: none; width: 92px; border-radius: 16px; background: var(--navy); color: var(--ivory); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px; }
.eta__min b { font: 500 34px/1 var(--serif); }
.eta__min small { font-size: 12px; color: var(--gold-2); }
.car-card { flex: 1; background: var(--white); border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; justify-content: center; gap: 6px; min-width: 0; }
.plate { align-self: flex-start; font: 700 15px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .08em; background: var(--sand); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; }
.drv { display: flex; align-items: center; gap: 12px; background: var(--white); border-radius: 16px; padding: 12px 14px; }
.avatar { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--sand); overflow: hidden; display: grid; place-items: center; color: var(--muted); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar svg { width: 26px; height: 26px; }
.stops { background: var(--white); border-radius: 16px; padding: 6px 14px; }
.stop { display: flex; gap: 12px; padding: 10px 0; position: relative; }
.stop + .stop { border-top: 1px solid var(--line); }
.stop .dot { margin-top: 5px; flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--navy); }
.stop .dot--to { border-radius: 3px; background: var(--gold); }
.stop b { font-weight: 600; display: block; }
.stop small { color: var(--muted); }
.status-line { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.status-line i { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 5px rgba(31, 107, 59, .15); }
.total-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--white); border-radius: 16px; padding: 12px 14px; }
.total-row b { font-size: 18px; }

/* Pix */
.pix-box { background: var(--white); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.pix-box img { width: 210px; height: 210px; image-rendering: pixelated; }
.pix-code { width: 100%; font: 12px/1.4 ui-monospace, Menlo, monospace; word-break: break-all; background: var(--sand); border-radius: 10px; padding: 10px; max-height: 76px; overflow: hidden; text-align: left; }

/* formulários */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { border: 1px solid var(--line); background: var(--white); border-radius: 12px; padding: 13px 14px; font-size: 16px; outline: none; width: 100%; }
.field input:focus, .field textarea:focus { border-color: var(--navy); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.err { color: var(--bad); font-size: 14px; font-weight: 600; margin: 0; }
.note { background: var(--white); border-radius: 14px; padding: 12px 14px; font-size: 13.5px; color: var(--muted); }
.note b { color: var(--ink); }
.stats { display: grid; grid-template-columns: 1fr 1fr; background: var(--white); border-radius: 16px; overflow: hidden; }
.stats div { padding: 16px; text-align: center; }
.stats div + div { border-left: 1px solid var(--line); }
.stats small { display: block; color: var(--muted); font-size: 12.5px; }
.stats b { font: 500 28px/1.1 var(--serif); }
.share { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.share button { border: 0; background: var(--white); border-radius: 16px; padding: 14px 6px; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.share svg { width: 24px; height: 24px; }
.code-box { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1.5px dashed var(--gold-2); border-radius: 14px; padding: 14px 16px; background: rgba(201, 173, 130, .08); }
.code-box b { font: 700 20px/1 ui-monospace, Menlo, monospace; letter-spacing: .12em; }
.hero-dark { background: var(--navy); color: var(--ivory); margin: calc(-14px - var(--safe-t)) -18px 0; padding: calc(18px + var(--safe-t)) 22px 26px; border-radius: 0 0 28px 28px; display: flex; flex-direction: column; gap: 10px; }
.hero-dark .icon-btn { background: rgba(255, 255, 255, .08); color: var(--ivory); box-shadow: none; }
.hero-dark h1 { font: 500 34px/1.05 var(--serif); margin: 6px 0 0; }
.hero-dark p { color: rgba(247, 245, 241, .75); margin: 0; }

/* menu lateral */
.drawer-bg { position: absolute; inset: 0; z-index: 30; background: rgba(11, 22, 38, .45); }
.drawer { position: absolute; z-index: 31; top: 0; bottom: 0; left: 0; width: min(86%, 340px); background: var(--ivory); display: flex; flex-direction: column; padding: calc(22px + var(--safe-t)) 20px calc(20px + var(--safe-b)); gap: 14px; box-shadow: 10px 0 40px rgba(0, 0, 0, .2); }
.drawer__me { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.drawer__me b { font: 500 22px/1.1 var(--serif); display: block; }
.drawer nav { flex: 1; overflow-y: auto; }
.drawer .foot { font-size: 12px; color: var(--muted); }

/* aviso rápido */
.toast { position: absolute; z-index: 50; left: 50%; top: calc(16px + var(--safe-t)); transform: translate(-50%, -150%); background: var(--navy); color: var(--ivory); padding: 12px 18px; border-radius: 14px; font-weight: 600; font-size: 14px; transition: transform .25s; max-width: calc(100% - 32px); text-align: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.toast.on { transform: translate(-50%, 0); }

/* chat */
.chat { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 6px 0; min-height: 0; }
.msg { max-width: 78%; padding: 10px 14px; border-radius: 16px; background: var(--white); align-self: flex-start; font-size: 15px; }
.msg--me { align-self: flex-end; background: var(--navy); color: var(--ivory); }
.msg small { display: block; font-size: 11px; opacity: .6; margin-top: 2px; }
.chat-form { display: flex; gap: 8px; }
.chat-form input { flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: 13px 16px; font-size: 16px; outline: none; background: var(--white); }
.quick { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }

/* entrada */
.login { position: absolute; inset: 0; z-index: 40; background: var(--navy); color: var(--ivory); display: flex; flex-direction: column; justify-content: flex-end; padding: 30px 24px calc(30px + var(--safe-b)); gap: 16px; }
.login::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 70% at 80% 0%, rgba(201, 173, 130, .22), transparent 60%); pointer-events: none; }
.login h1 { font: 500 44px/1 var(--serif); margin: 0; position: relative; }
.login p { color: rgba(247, 245, 241, .75); margin: 0; position: relative; }
.login .logo { position: absolute; top: calc(30px + var(--safe-t)); left: 24px; font: 500 28px/1 var(--serif); letter-spacing: .22em; }
.login .logo b { color: var(--gold-2); font-weight: 500; }
.btn--google { background: var(--white); color: var(--ink); position: relative; }
.login .btn--ghost { color: rgba(247, 245, 241, .7); position: relative; }
.spinner { width: 34px; height: 34px; border: 3px solid var(--line); border-top-color: var(--navy); border-radius: 50%; animation: spin 1s linear infinite; margin: 20px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.demo-bar { position: absolute; z-index: 60; top: 0; left: 0; right: 0; text-align: center; font-size: 11.5px; font-weight: 700; background: var(--gold); color: var(--navy); padding: 3px; letter-spacing: .04em; }
@media (min-width: 720px) {
  .sheet { left: 20px; right: auto; width: 420px; bottom: 20px; border-radius: 26px; max-height: calc(100% - 40px); }
  .sheet--full { top: 20px; }
  .fab--locate { right: 24px; }
}
a { color: var(--navy); }
.list a.row, .drawer__me { color: inherit; }
.drawer__me small { display: block; }
.chat-form input { min-width: 0; }
.chat-form .btn { flex: none; }
#code-in::placeholder { text-transform: none; }
.cat__txt small + small { display: none; }
@media (min-height: 760px) { .cat__txt small + small { display: block; } }

/* padrão visual das telas de referência: tipografia sem serifa leve, grafite, branco e cinza-claro */
body { -webkit-font-smoothing: antialiased; }
.h-title { font-weight: 400; font-size: 32px; letter-spacing: -.01em; line-height: 1.15; }
.hello { font-weight: 400; font-size: 26px; letter-spacing: -.01em; }
.hello small { font: 400 14px/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--muted); }
.eyebrow { font-size: 13.5px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); }
.btn { font-weight: 500; }
.row-txt b, .cat__txt b, .stop b { font-weight: 500; }
.cat__price b { font-weight: 500; font-size: 18px; }
.cat { background: var(--sand); box-shadow: none; }
.cat[aria-pressed="true"] { background: var(--sand); border-color: var(--navy); box-shadow: none; }
.where { border-color: #d9dbe0; box-shadow: none; }
.where button.where__go { font-weight: 400; color: var(--muted); }
.where__when { background: var(--sand); }
.route-box, .stops, .drv, .car-card, .total-row, .payrow, .note, .stats, .pix-box { box-shadow: none; }
.sheet { box-shadow: 0 -6px 30px rgba(21, 27, 38, .12); }
#app { background: var(--sand); }
.brand-chip { background: var(--white); color: var(--ink); font: 500 15px/1 var(--sans); letter-spacing: .2em; box-shadow: 0 4px 14px rgba(21, 27, 38, .12); }
.brand-chip b { color: var(--ink); }
.mk-pin--to { background: var(--navy); border-radius: 50%; box-shadow: 0 0 0 3px var(--navy), 0 3px 10px rgba(0, 0, 0, .3); }
.mk-car { border-color: var(--white); }
.eta__min b { font-weight: 400; font-size: 32px; }
.eta__min small { color: rgba(255, 255, 255, .8); }
.stats b { font-weight: 500; font-size: 26px; }
.promo b { font: 400 20px/1.2 var(--sans); }
.promo small { color: rgba(255, 255, 255, .72); }
.promo__ico { background: rgba(255, 255, 255, .1); color: var(--white); }
.promo::after { border-color: rgba(255, 255, 255, .12); box-shadow: 0 0 0 22px rgba(255, 255, 255, .04); }
.login::before { background: radial-gradient(120% 70% at 80% 0%, rgba(255, 255, 255, .06), transparent 60%); }
.login h1 { font-weight: 400; font-size: 40px; letter-spacing: -.02em; line-height: 1.08; }
.login .logo { font: 500 22px/1 var(--sans); letter-spacing: .28em; }
.login .logo b { color: var(--white); }
.hero-dark h1 { font-weight: 400; font-size: 32px; letter-spacing: -.01em; line-height: 1.12; }
.hero-dark .eyebrow { color: rgba(255, 255, 255, .7) !important; }
.drawer__me b { font: 500 18px/1.2 var(--sans); }
.code-box { border-color: #cfd2d8; background: var(--sand); }
.badge { color: var(--ink); background: var(--sand); }
.pix-box b[style] { font-weight: 400 !important; }
.plate { font-family: var(--sans); font-weight: 500; letter-spacing: .04em; background: var(--sand); border: 0; }
.status-line i { background: var(--ok); box-shadow: 0 0 0 5px rgba(47, 148, 136, .15); }
.cat__price s { color: var(--muted); }
.sheet, .drawer { background: var(--sand); }
.cat, .cat[aria-pressed="true"], .where, .route-box, .list { background: var(--white); }
.list { border-radius: 16px; padding: 0 12px; }
.drawer .list, .sheet .list:empty { background: none; padding: 0; }
.ico-tile { background: var(--sand); }
.field input, .field select, .field textarea { background: var(--white); }
/* aviso escondido não aparece pela metade no topo; atribuição do mapa discreta */
.toast { opacity: 0; visibility: hidden; transition: transform .25s, opacity .25s, visibility .25s; }
.toast.on { opacity: 1; visibility: visible; }
.maplibregl-ctrl-top-right { top: calc(76px + var(--safe-t)); }
.maplibregl-ctrl-attrib.maplibregl-compact { background: rgba(255, 255, 255, .7); min-height: 22px; }
.maplibregl-ctrl-attrib-button { background-color: transparent !important; opacity: .55; }
.sheet:not(.sheet--full) { max-height: 62%; }
.login .logo img { display: block; height: 40px; width: auto; filter: brightness(0) invert(1); }
.hero-dark { margin: 0; padding: 22px 24px 28px; border-radius: 24px; gap: 12px; }
.hero-dark .icon-btn { margin-left: -4px; }
.sheet__body > * { flex-shrink: 0; }
/* instalar o app */
.install { display: flex; align-items: center; gap: 12px; background: var(--white); border-radius: 16px; padding: 12px 10px 12px 12px; }
.install .x-mini { flex: none; border: 0; background: none; color: var(--muted); padding: 4px; width: 28px; height: 28px; }
.install .x-mini svg { width: 16px; height: 16px; }
.steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.field select { appearance: none; -webkit-appearance: none; }
/* telas se ajustam a qualquer largura: sem rolagem lateral e campos que encolhem */
html, body { overflow-x: hidden; max-width: 100%; background: var(--sand); }
#app, .sheet, .sheet__body { max-width: 100vw; overflow-x: hidden; }
.sheet__body { overscroll-behavior: contain; touch-action: pan-y; }
.grid2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.field, .field input, .field select, .field textarea { min-width: 0; max-width: 100%; }
.field input[type="date"] { -webkit-appearance: none; appearance: none; display: block; min-height: 50px; text-align: left; font-size: 16px; line-height: 1.2; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.drv, .note, .install, .list, .cat, .payrow { max-width: 100%; }
@media (max-width: 360px) { .grid2 { grid-template-columns: minmax(0, 1fr); } }
.trash { flex: none; width: 40px; height: 40px; border: 0; border-radius: 12px; background: #fbeceb; color: var(--bad); display: grid; place-items: center; }
.trash svg { width: 20px; height: 20px; }
