/* ==========================================================
   BLOCO 1 — DESIGN TOKENS DO PROTÓTIPO
   Linguagem visual premium/app-like preservando azul e amarelo do VIA RJ.
   ========================================================== */
:root{color-scheme:dark;--bg:#08131f;--bg2:#0c1c2b;--surface:#102538;--surface2:#142d43;--glass:rgba(15,37,56,.82);--text:#f5f8fb;--muted:#91a7ba;--line:rgba(169,199,224,.14);--blue:#5eb4ff;--blue2:#1786e8;--yellow:#f3bf38;--green:#46d3a5;--shadow:0 22px 60px rgba(0,0,0,.28);--radius:22px}
html[data-theme="light"]{color-scheme:light;--bg:#eaf1f7;--bg2:#f5f8fb;--surface:#fff;--surface2:#edf4fa;--glass:rgba(255,255,255,.88);--text:#102d49;--muted:#64798c;--line:rgba(22,72,121,.13);--blue:#176db7;--blue2:#0e5796;--yellow:#d79a00;--green:#138a69;--shadow:0 18px 50px rgba(16,47,85,.12)}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:radial-gradient(circle at 50% -20%,#173c5d 0,var(--bg) 42%);color:var(--text)}html[data-theme="light"] body{background:linear-gradient(160deg,#f7fbff,var(--bg) 60%)}button,input{font:inherit}button{color:inherit}.app{min-height:100dvh;display:grid;grid-template-rows:auto 1fr auto;overflow:hidden}.topbar{height:74px;width:min(100% - 28px,1100px);margin:auto;display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:12px;border-bottom:1px solid var(--line)}.brand{border:0;background:none;justify-self:start;padding:0;cursor:pointer}.brand img{display:block;width:190px;max-height:56px;object-fit:contain}.top-actions{display:flex;gap:8px}.icon-btn{width:42px;height:42px;border:1px solid var(--line);border-radius:14px;background:var(--glass);backdrop-filter:blur(14px);cursor:pointer;font-size:20px}.text-icon{font-size:13px;font-weight:850}.viewport{position:relative;width:min(100% - 28px,1020px);margin:auto;min-height:0}.view{display:none;padding:26px 0 18px;animation:viewIn .28s cubic-bezier(.2,.8,.2,1)}.view.active{display:block}.hero{max-width:760px}.eyebrow,.section-head span,.view-head span,.drawer-label,.sheet-label{font-size:10px;font-weight:900;letter-spacing:.16em;color:var(--yellow)}.hero h1,.view-head h1{font-size:clamp(32px,6vw,52px);line-height:1;margin:8px 0 8px;letter-spacing:-.045em}.hero>p,.view-head p{margin:0;color:var(--muted);font-size:15px}.smart-search{margin-top:20px;display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:8px;padding:7px 7px 7px 14px;border:1px solid rgba(94,180,255,.26);border-radius:19px;background:var(--glass);box-shadow:0 16px 42px rgba(0,0,0,.16);backdrop-filter:blur(16px)}.smart-search>span{font-size:26px;color:var(--blue)}.smart-search input{min-width:0;border:0;outline:0;background:transparent;color:var(--text);font-size:15px}.smart-search input::placeholder{color:var(--muted)}.smart-search button,.placeholder-panel button{border:0;border-radius:13px;padding:12px 18px;background:linear-gradient(135deg,var(--blue2),#2a9df4);color:white;font-weight:800;cursor:pointer}.hero>small{display:block;margin:7px 4px 0;color:var(--muted);font-size:10px}.section-head{display:flex;justify-content:space-between;align-items:end;margin:26px 2px 10px}.section-head h2{font-size:19px;margin:3px 0 0}.text-btn{border:0;background:none;color:var(--blue);font-size:12px;font-weight:800;cursor:pointer}.service-grid,.option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.service-card,.option-card{position:relative;display:grid;grid-template-columns:auto 1fr auto;align-items:center;text-align:left;gap:12px;min-height:96px;padding:14px;border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(145deg,var(--surface),color-mix(in srgb,var(--surface2) 55%,var(--surface)));box-shadow:0 10px 28px rgba(0,0,0,.10);cursor:pointer;overflow:hidden}.service-card:before{content:"";position:absolute;inset:auto -25px -45px auto;width:100px;height:100px;border-radius:50%;background:radial-gradient(circle,rgba(94,180,255,.12),transparent 70%)}.service-card.accent{border-color:rgba(94,180,255,.32)}.card-icon,.option-card>span{display:grid;width:44px;height:44px;place-items:center;border-radius:15px;background:rgba(94,180,255,.10);color:var(--blue);font-size:22px;font-weight:800}.service-card strong,.option-card strong{display:block;font-size:15px}.service-card small,.option-card small{display:block;color:var(--muted);font-size:11px;margin-top:3px;line-height:1.3}.service-card b,.option-card b{font-size:24px;color:var(--muted);font-weight:400}.future-strip{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;margin-top:11px;padding:11px 14px;border:1px dashed rgba(243,191,56,.35);border-radius:18px;background:rgba(243,191,56,.045)}.future-icon{display:grid;width:34px;height:34px;place-items:center;border-radius:11px;background:rgba(243,191,56,.12);color:var(--yellow)}.future-strip b,.future-strip small{display:block}.future-strip small{font-size:10px;color:var(--muted);margin-top:2px}.pill{font-size:9px;font-weight:900;color:var(--yellow);border:1px solid rgba(243,191,56,.28);border-radius:99px;padding:5px 8px}.view-head{display:flex;align-items:flex-start;gap:14px;margin-bottom:22px}.view-head h1{font-size:clamp(31px,6vw,46px);margin-top:4px}.back-btn{flex:0 0 auto;width:46px;height:46px;border:1px solid var(--line);border-radius:15px;background:var(--surface);font-size:22px;cursor:pointer}.option-card{min-height:126px;align-items:start;padding:18px}.option-card>span{width:40px;height:40px}.option-card strong{font-size:16px}.tip{display:flex;gap:10px;align-items:flex-start;margin-top:14px;padding:12px 14px;border:1px solid rgba(70,211,165,.18);border-radius:16px;background:rgba(70,211,165,.055)}.tip>span{display:grid;width:24px;height:24px;place-items:center;flex:none;border-radius:50%;background:rgba(70,211,165,.15);color:var(--green);font-weight:900}.tip p{margin:0;color:var(--muted);font-size:11px;line-height:1.45}.tip b{color:var(--text)}.placeholder-panel{min-height:330px;display:grid;place-items:center;align-content:center;text-align:center;padding:34px;border:1px solid var(--line);border-radius:26px;background:var(--surface)}.placeholder-panel>span{font-size:48px;color:var(--blue)}.placeholder-panel h2{margin:14px 0 4px}.placeholder-panel p{max-width:500px;color:var(--muted);font-size:13px}.placeholder-panel button{margin-top:10px}.app-footer{width:min(100% - 28px,1020px);margin:auto;padding:11px 2px 15px;display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:9px}.app-footer span{font-weight:800}.app-footer i{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--green);margin-right:5px}
/* ==========================================================
   BLOCO 2 — DRAWER, SCRIM E BOTTOM SHEET
   Camadas contextuais que simulam padrões nativos de aplicativos.
   ========================================================== */
.scrim{position:fixed;z-index:30;inset:0;background:rgba(2,8,14,.62);backdrop-filter:blur(5px);animation:fade .18s}.drawer{position:fixed;z-index:40;inset:0 auto 0 0;width:min(86vw,350px);padding:18px;transform:translateX(-105%);transition:transform .28s cubic-bezier(.2,.8,.2,1);background:color-mix(in srgb,var(--surface) 95%,transparent);box-shadow:30px 0 70px rgba(0,0,0,.35);backdrop-filter:blur(24px)}.drawer.open{transform:none}.drawer-head{height:62px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);margin-bottom:20px}.drawer-head img{width:170px;max-height:48px;object-fit:contain}.drawer-label{display:block;margin:18px 10px 7px}.drawer nav{display:grid;gap:4px}.drawer nav button{display:grid;grid-template-columns:34px 1fr auto;align-items:center;text-align:left;min-height:48px;border:0;border-radius:13px;background:transparent;cursor:pointer}.drawer nav button:hover{background:var(--surface2)}.drawer nav button>span{font-size:18px;color:var(--blue)}.drawer nav em{font-style:normal;font-size:8px;font-weight:900;color:var(--yellow);border:1px solid rgba(243,191,56,.28);padding:3px 5px;border-radius:99px}.drawer-bottom{position:absolute;left:18px;right:18px;bottom:20px;padding:15px;border:1px solid var(--line);border-radius:16px;background:var(--surface2)}.drawer-bottom b,.drawer-bottom small{display:block}.drawer-bottom small{margin-top:2px;color:var(--muted)}.bottom-sheet{position:fixed;z-index:50;left:50%;bottom:0;width:min(100%,620px);padding:12px 22px max(22px,env(safe-area-inset-bottom));transform:translate(-50%,105%);transition:transform .3s cubic-bezier(.2,.8,.2,1);border:1px solid var(--line);border-bottom:0;border-radius:28px 28px 0 0;background:color-mix(in srgb,var(--surface) 97%,transparent);box-shadow:0 -30px 80px rgba(0,0,0,.35);backdrop-filter:blur(24px)}.bottom-sheet.open{transform:translate(-50%,0)}.sheet-handle{display:block;width:42px;height:5px;margin:0 auto 16px;border:0;border-radius:99px;background:var(--line);cursor:pointer}.sheet-icon{display:grid;width:48px;height:48px;place-items:center;margin-bottom:12px;border-radius:16px;background:rgba(94,180,255,.11);color:var(--blue);font-size:24px}.bottom-sheet h2{font-size:25px;margin:5px 0 5px}.bottom-sheet>p{margin:0 0 15px;color:var(--muted);font-size:13px}.sheet-actions{display:grid;gap:8px}.sheet-actions button{display:flex;justify-content:space-between;align-items:center;min-height:50px;padding:0 14px;border:1px solid var(--line);border-radius:14px;background:var(--surface2);cursor:pointer;font-weight:750}.sheet-actions button span{color:var(--blue)}.sheet-cancel{width:100%;margin-top:9px;padding:11px;border:0;background:none;color:var(--muted);cursor:pointer}.toast{position:fixed;z-index:80;left:50%;bottom:24px;max-width:calc(100% - 30px);padding:11px 15px;transform:translate(-50%,25px);opacity:0;pointer-events:none;border:1px solid var(--line);border-radius:13px;background:var(--surface);box-shadow:var(--shadow);font-size:12px;transition:.2s}.toast.show{transform:translate(-50%,0);opacity:1}
/* ==========================================================
   BLOCO 3 — INTERAÇÃO, MOVIMENTO E RESPONSIVIDADE
   Prioriza viewport mobile sem proibir scroll quando realmente necessário.
   ========================================================== */
.service-card,.option-card,.icon-btn,.back-btn{transition:transform .16s,border-color .16s,background .16s}.service-card:hover,.option-card:hover{transform:translateY(-2px);border-color:rgba(94,180,255,.38)}button:active{transform:scale(.975)}button:focus-visible,input:focus-visible{outline:3px solid var(--yellow);outline-offset:3px}@keyframes viewIn{from{opacity:0;transform:translateX(18px)}to{opacity:1;transform:none}}@keyframes fade{from{opacity:0}to{opacity:1}}
/* BLOCO 3.2 — RESPONSIVIDADE DOS CINCO CARDS PRINCIPAIS */
@media(max-width:900px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.app{overflow:visible}.topbar{height:66px;width:calc(100% - 20px)}.brand img{width:145px}.viewport{width:calc(100% - 20px)}.view{padding:18px 0 12px}.hero h1{font-size:34px}.hero>p{font-size:13px}.smart-search{margin-top:14px;grid-template-columns:28px 1fr auto;padding-left:10px}.smart-search button{padding:10px 12px}.section-head{margin-top:20px}.service-grid,.option-grid{gap:8px}.service-card{min-height:84px;padding:11px;gap:8px;border-radius:18px}.card-icon{width:36px;height:36px;border-radius:12px;font-size:18px}.service-card strong{font-size:13px}.service-card small{font-size:9px}.future-strip{padding:9px 11px}.future-strip small{max-width:210px}.view-head{margin-bottom:14px}.view-head h1{font-size:32px}.view-head p{font-size:12px}.back-btn{width:40px;height:40px}.option-card{min-height:112px;padding:13px;gap:8px;border-radius:18px}.option-card>span{width:34px;height:34px;border-radius:11px}.option-card strong{font-size:13px}.option-card small{font-size:9px}.app-footer{width:calc(100% - 20px);padding-bottom:10px}.app-footer small{display:none}}
@media(max-width:365px){.brand img{width:130px}.icon-btn{width:38px;height:38px}.top-actions{gap:5px}.hero h1{font-size:31px}.smart-search input{font-size:12px}.service-card small,.option-card small{display:none}.service-card,.option-card{min-height:78px}.future-strip .pill{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* ==========================================================
   BLOCO 9 — INTEGRAÇÃO FUNCIONAL DO VIA RJ
   Ajustes do protótipo para conteúdo real, busca e ícones SVG.
   ========================================================== */
.app-modern .smart-search textarea{flex:1;min-width:0;resize:none;border:0;outline:0;background:transparent;color:inherit;font:inherit;line-height:1.35;padding:11px 0;max-height:84px}
.app-modern .app-result:not(:empty){margin-top:14px;padding:14px;border:1px solid var(--line);border-radius:18px;background:var(--surface);max-height:42vh;overflow:auto;text-align:left}
.app-modern .app-result h2,.app-modern .app-result h3{margin:.25rem 0}.app-modern .app-result p{margin:.35rem 0}.app-modern .app-result section{margin-top:10px}.app-modern .app-result .link-oficial{display:inline-flex;margin-top:8px}.app-modern .app-result .servico-orientado+ .servico-orientado{border-top:1px solid var(--line);padding-top:12px;margin-top:12px}
.app-modern .card-icon svg,.app-modern .option-icon svg{width:25px;height:25px;display:block}.app-modern .option-card{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;text-align:left;text-decoration:none;color:inherit}.app-modern .option-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:rgba(94,180,255,.10);color:var(--blue)}.app-modern .option-copy{min-width:0}.app-modern .option-copy strong{display:block}.app-modern .option-copy small{display:block;margin-top:5px;line-height:1.35;color:var(--muted)}
.app-modern .publicos-inline{margin-top:22px;padding-top:4px}.app-modern .publicos-inline .grade-acessos{grid-template-columns:repeat(3,minmax(0,1fr))}.app-modern .publicos-inline .card-acesso{min-height:150px}.app-modern .publicos-inline .midia-acesso{height:68px}.app-modern .publicos-inline .midia-acesso img{max-height:64px}
@media(max-width:620px){.app-modern .option-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.app-modern .option-card{min-height:122px;grid-template-columns:1fr auto;align-content:start}.app-modern .option-icon{grid-column:1;width:42px;height:42px}.app-modern .option-copy{grid-column:1/-1}.app-modern .option-card>b{grid-column:2;grid-row:1;align-self:center}.app-modern .publicos-inline .grade-acessos{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.app-modern .publicos-inline .card-acesso{padding:8px;min-height:120px}.app-modern .publicos-inline .midia-acesso{height:48px}.app-modern .publicos-inline .midia-acesso img{max-height:45px}.app-modern .publicos-inline .card-acesso strong{font-size:10px}.app-modern .publicos-inline .card-acesso small{font-size:9px}}
@media(max-width:360px){.app-modern .option-copy small{display:block;font-size:10px}.app-modern .option-card{min-height:126px}.app-modern .publicos-inline .grade-acessos{grid-template-columns:1fr}.app-modern .publicos-inline .card-acesso strong{font-size:13px}.app-modern .publicos-inline .card-acesso small{font-size:11px}}

/* ==========================================================
   BLOCO 18 — CORREÇÃO DEFINITIVA DOS CARDS DE SERVIÇO
   Ícone à esquerda, texto ocupando toda a área útil e seta fixa à direita.
   ========================================================== */
.app-modern .option-card{
  grid-template-columns:48px minmax(0,1fr) 28px;
  grid-template-rows:auto;
  align-items:center;
  min-height:112px;
  padding:18px 20px;
  gap:16px;
  overflow:visible;
}
.app-modern .option-icon{grid-column:1;grid-row:1;width:48px;height:48px;align-self:center}
.app-modern .option-copy{grid-column:2;grid-row:1;min-width:0;width:100%;align-self:center}
.app-modern .option-copy strong{display:block;width:100%;font-size:17px;line-height:1.2;white-space:normal;overflow-wrap:normal;word-break:normal}
.app-modern .option-copy small{display:block;width:100%;margin-top:6px;font-size:12px;line-height:1.4;white-space:normal;overflow-wrap:normal;word-break:normal}
.app-modern .option-card>b{grid-column:3;grid-row:1;justify-self:end;align-self:center;margin:0}

/* ==========================================================
   BLOCO 19 — DENSIDADE VERTICAL / VIEWPORT-FIRST
   Compacta apenas espaços excedentes; não espreme conteúdo textual.
   ========================================================== */
@media (min-width:900px) and (min-height:720px){
  .app-modern .view[data-view="home"]{padding-top:18px;padding-bottom:8px}
  .app-modern .view[data-view="home"] .smart-search{margin-top:15px}
  .app-modern .view[data-view="home"] .section-head{margin-top:18px;margin-bottom:8px}
  .app-modern .view[data-view="home"] .service-card{min-height:82px;padding:11px 14px}
  .app-modern .view[data-view="home"] .future-strip{margin-top:8px;padding:8px 13px}
  .app-modern .publicos-inline{margin-top:14px}
  .app-modern .publicos-inline .section-head{margin-top:12px}
  .app-modern .publicos-inline .card-acesso{min-height:124px;padding:8px}
  .app-modern .publicos-inline .midia-acesso{height:54px;margin-bottom:5px}
  .app-modern .app-footer{padding-top:7px;padding-bottom:9px}
}

/* ==========================================================
   BLOCO 20 — RESPONSIVIDADE DOS CARDS CORRIGIDOS
   Mantém o texto ao lado do ícone; quebra só quando a largura realmente exige.
   ========================================================== */
@media(max-width:620px){
  .app-modern .option-card{grid-template-columns:40px minmax(0,1fr) 20px;grid-template-rows:auto;min-height:104px;padding:13px 12px;gap:10px;align-items:center}
  .app-modern .option-icon{grid-column:1;grid-row:1;width:40px;height:40px}
  .app-modern .option-copy{grid-column:2;grid-row:1}
  .app-modern .option-card>b{grid-column:3;grid-row:1}
  .app-modern .option-copy strong{font-size:13px;line-height:1.22}
  .app-modern .option-copy small{display:block;font-size:10px;line-height:1.3;margin-top:4px}
}
@media(max-width:360px){
  .app-modern .option-card{grid-template-columns:36px minmax(0,1fr) 18px;min-height:100px;padding:11px 10px;gap:8px}
  .app-modern .option-icon{width:36px;height:36px}
  .app-modern .option-copy strong{font-size:12px}
  .app-modern .option-copy small{font-size:9px}
}


/* ==========================================================
   BLOCO 20 — CORREÇÃO GLOBAL DOS CARDS INTERNOS
   Apenas o ícone recebe fundo. O bloco de texto permanece limpo sobre o card.
   ========================================================== */
.option-card > .option-copy{
  display:block; width:auto; height:auto; min-width:0;
  padding:0; border-radius:0; background:transparent; color:inherit;
  place-items:initial;
}
.option-card > .option-icon{
  display:grid; place-items:center;
}

/* ==========================================================
   BLOCO 21 — MEU VEÍCULO: ENTRADA E DASHBOARD
   Área funcional de manutenção com persistência local.
   ========================================================== */
.vehicle-entry{width:100%;color:inherit;text-align:left;cursor:pointer}.vehicle-entry:hover{border-color:rgba(243,191,56,.65);background:rgba(243,191,56,.075)}
.vehicle-dashboard{display:grid;gap:14px;padding-bottom:18px}.vehicle-panel{border:1px solid var(--line);border-radius:22px;background:var(--surface);padding:20px;box-shadow:0 10px 28px rgba(0,0,0,.08)}
.vehicle-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.vehicle-panel-head h2{margin:4px 0 4px;font-size:23px}.vehicle-panel-head p{margin:0;color:var(--muted);font-size:12px;max-width:660px;line-height:1.45}.vehicle-kicker{font-size:9px;font-weight:900;letter-spacing:.16em;color:var(--yellow)}
.vehicle-form{display:grid;grid-template-columns:1fr 1fr 1fr .65fr;gap:10px;margin-top:17px}.vehicle-form label,.maintenance-form label{position:relative;display:grid;gap:6px;color:var(--muted);font-size:10px;font-weight:800}.vehicle-form input,.maintenance-form input,.maintenance-form select,.maintenance-form textarea,.vehicle-km-update input{width:100%;border:1px solid var(--line);border-radius:12px;background:var(--surface2);color:var(--text);padding:11px 12px;outline:none}.vehicle-form input:focus,.maintenance-form input:focus,.maintenance-form select:focus,.maintenance-form textarea:focus,.vehicle-km-update input:focus{border-color:var(--blue)}
.vehicle-km-field{grid-column:1/3}.vehicle-km-field span,.maintenance-form-grid label span{position:absolute;right:11px;bottom:11px;color:var(--muted);font-weight:700}.vehicle-primary,.vehicle-secondary,.vehicle-km-update button{border:0;border-radius:12px;background:linear-gradient(135deg,var(--blue2),#2a9df4);color:white;font-weight:850;padding:11px 16px;cursor:pointer}.vehicle-form>.vehicle-primary{align-self:end}.vehicle-primary.compact{padding:10px 13px;white-space:nowrap}.vehicle-secondary{background:var(--surface2);border:1px solid var(--line);color:var(--text)}
.vehicle-km-update{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:16px;padding:14px 16px;border-radius:16px;background:var(--surface2)}.vehicle-km-update small,.vehicle-km-update strong{display:block}.vehicle-km-update small{font-size:9px;color:var(--muted);font-weight:850;letter-spacing:.12em}.vehicle-km-update strong{font-size:22px;margin-top:2px}.vehicle-km-update form{display:flex;gap:8px}.vehicle-km-update input{width:145px}
.maintenance-summary{display:flex;gap:7px;flex-wrap:wrap;margin:15px 0 9px}.status-chip{padding:6px 9px;border-radius:999px;font-size:9px;font-weight:900}.status-chip.ok{background:rgba(70,211,165,.12);color:#67e0b8}.status-chip.near{background:rgba(243,191,56,.12);color:var(--yellow)}.status-chip.overdue{background:rgba(255,98,98,.12);color:#ff8585}
.maintenance-list{display:grid;gap:8px;margin-top:14px}.maintenance-item{display:grid;grid-template-columns:10px 1fr auto;align-items:center;gap:11px;padding:13px 14px;border:1px solid var(--line);border-radius:15px;background:var(--surface2)}.maintenance-dot{width:8px;height:8px;border-radius:50%}.maintenance-item.ok .maintenance-dot{background:#46d3a5}.maintenance-item.near .maintenance-dot{background:var(--yellow)}.maintenance-item.overdue .maintenance-dot{background:#ff6262}.maintenance-item strong,.maintenance-item small,.maintenance-item p{display:block;margin:0}.maintenance-item strong{font-size:13px}.maintenance-item small{margin-top:3px;color:var(--muted);font-size:10px}.maintenance-item p{margin-top:3px;color:var(--text);font-size:11px}.maintenance-state{font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.maintenance-item.ok .maintenance-state{color:#67e0b8}.maintenance-item.near .maintenance-state{color:var(--yellow)}.maintenance-item.overdue .maintenance-state{color:#ff8585}
.vehicle-history{display:grid;gap:7px;margin-top:14px}.history-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;border-bottom:1px solid var(--line)}.history-item:last-child{border-bottom:0}.history-item strong,.history-item small{display:block}.history-item strong{font-size:12px}.history-item small{margin-top:3px;color:var(--muted);font-size:10px}.history-item button{width:30px;height:30px;border:1px solid var(--line);border-radius:10px;background:transparent;color:var(--muted);cursor:pointer}.vehicle-empty{padding:18px;text-align:center;color:var(--muted);font-size:11px;border:1px dashed var(--line);border-radius:14px}

/* ==========================================================
   BLOCO 22 — MEU VEÍCULO: MODAL DE MANUTENÇÃO
   ========================================================== */
.vehicle-modal[hidden]{display:none}.vehicle-modal{position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:18px}.vehicle-modal-scrim{position:absolute;inset:0;background:rgba(1,11,20,.72);backdrop-filter:blur(8px)}.vehicle-modal-card{position:relative;z-index:1;width:min(100%,620px);max-height:min(90dvh,760px);overflow:auto;padding:24px;border:1px solid var(--line);border-radius:24px;background:var(--surface);box-shadow:0 30px 90px rgba(0,0,0,.4)}.vehicle-modal-card h2{margin:5px 0 18px;font-size:27px}.vehicle-modal-close{position:absolute;right:15px;top:15px;width:38px;height:38px;border:1px solid var(--line);border-radius:12px;background:var(--surface2);color:var(--text);font-size:22px;cursor:pointer}.maintenance-form{display:grid;gap:12px}.maintenance-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.maintenance-form textarea{resize:vertical}.maintenance-disclaimer{margin:0;padding:10px 12px;border-radius:12px;background:rgba(243,191,56,.06);color:var(--muted);font-size:10px;line-height:1.45}.modal-open{overflow:hidden}

/* ==========================================================
   BLOCO 23 — MEU VEÍCULO: RESPONSIVIDADE
   ========================================================== */
@media(max-width:720px){.vehicle-panel{padding:14px;border-radius:18px}.vehicle-panel-head{gap:10px}.vehicle-panel-head h2{font-size:19px}.vehicle-form{grid-template-columns:1fr 1fr}.vehicle-km-field{grid-column:1/-1}.vehicle-form>.vehicle-primary{grid-column:1/-1}.vehicle-km-update{align-items:stretch;flex-direction:column}.vehicle-km-update form{width:100%}.vehicle-km-update input{width:100%}.vehicle-km-update button{white-space:nowrap}.maintenance-item{grid-template-columns:8px 1fr}.maintenance-state{grid-column:2}.maintenance-form-grid{grid-template-columns:1fr}.vehicle-panel-head .compact{font-size:11px;padding:9px 10px}.vehicle-entry .pill{display:inline-block}}
@media(max-width:430px){.vehicle-form{grid-template-columns:1fr}.vehicle-km-field,.vehicle-form>.vehicle-primary{grid-column:auto}.vehicle-panel-head{flex-wrap:wrap}.vehicle-km-update form{flex-direction:column}.vehicle-modal{padding:8px}.vehicle-modal-card{padding:20px 14px;border-radius:20px}.vehicle-entry{grid-template-columns:auto 1fr auto}}

/* ========================================================
   BLOCO 13 — MEU VEÍCULO COMO ÁREA PRINCIPAL DA HOME
   ======================================================== */
.vehicle-entry.vehicle-main-card{
  width:100%;
  margin-top:11px;
  min-height:82px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:12px;
  padding:14px;
  border:1px solid rgba(94,180,255,.32);
  border-radius:var(--radius);
  background:linear-gradient(145deg,var(--surface),color-mix(in srgb,var(--surface2) 55%,var(--surface)));
  box-shadow:0 10px 28px rgba(0,0,0,.10);
  color:inherit;
  text-align:left;
  cursor:pointer;
}
.vehicle-entry.vehicle-main-card:hover{border-color:rgba(94,180,255,.55);background:linear-gradient(145deg,var(--surface),color-mix(in srgb,var(--surface2) 72%,var(--surface)))}
.vehicle-entry.vehicle-main-card .future-icon{width:44px;height:44px;border-radius:15px;background:rgba(94,180,255,.10);color:var(--blue)}
.vehicle-entry.vehicle-main-card b{display:block;font-size:15px}
.vehicle-entry.vehicle-main-card small{display:block;margin-top:3px;color:var(--muted);font-size:11px;line-height:1.3}
.vehicle-entry.vehicle-main-card .vehicle-arrow{font-size:24px;color:var(--muted);font-weight:400}

/* ========================================================
   BLOCO 14 — CENTRAL DO VEÍCULO: VIEWPORT-FIRST NO DESKTOP
   ======================================================== */
@media (min-width:721px) and (min-height:760px){
  .app-modern .view.vehicle-view{padding-top:14px;padding-bottom:6px}
  .app-modern .vehicle-view .view-head{margin-bottom:12px}
  .app-modern .vehicle-view .view-head h1{font-size:38px;margin-top:2px;margin-bottom:5px}
  .app-modern .vehicle-view .view-head p{font-size:13px}
  .app-modern .vehicle-dashboard{gap:10px;padding-bottom:0}
  .app-modern .vehicle-panel{padding:14px 16px;border-radius:19px}
  .app-modern .vehicle-panel-head h2{font-size:20px;margin:2px 0 2px}
  .app-modern .vehicle-panel-head p{font-size:10px;line-height:1.3}
  .app-modern .vehicle-form{margin-top:10px;gap:8px}
  .app-modern .vehicle-form label{gap:4px;font-size:9px}
  .app-modern .vehicle-form input{padding:8px 10px}
  .app-modern .vehicle-primary,.app-modern .vehicle-secondary,.app-modern .vehicle-km-update button{padding:9px 13px}
  .app-modern .vehicle-km-update{margin-top:9px;padding:9px 12px}
  .app-modern .vehicle-km-update strong{font-size:19px}
  .app-modern .maintenance-summary{margin:9px 0 6px}
  .app-modern .maintenance-list,.app-modern .history-list{gap:6px}
  .app-modern .vehicle-empty{padding:12px}
  .app-modern .app-footer{padding-top:5px;padding-bottom:7px}
}

@media(max-width:620px){
  .vehicle-entry.vehicle-main-card{min-height:76px;padding:11px;border-radius:18px;gap:8px}
  .vehicle-entry.vehicle-main-card .future-icon{width:36px;height:36px;border-radius:12px}
  .vehicle-entry.vehicle-main-card b{font-size:13px}
  .vehicle-entry.vehicle-main-card small{font-size:9px}
}


/* ==========================================================
   BLOCO 24 — NOVA HOME: PRODUTO AUTOMOTIVO COMO PRIORIDADE
   Meu Veículo e os cinco pilares passam a ocupar a hierarquia principal.
   ========================================================== */
.product-home-head{margin:6px 0 16px}.product-home-head h1{max-width:760px;margin:5px 0 6px;font-size:clamp(30px,4vw,48px);line-height:1.02}.product-home-head p{margin:0;color:var(--muted);font-size:13px}.home-vehicle-hero{width:100%;display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:14px;padding:18px;border:1px solid rgba(94,180,255,.42);border-radius:22px;background:linear-gradient(135deg,rgba(36,142,232,.13),var(--surface));color:var(--text);text-align:left;cursor:pointer;box-shadow:0 16px 38px rgba(0,0,0,.10)}.home-vehicle-hero:hover{border-color:rgba(94,180,255,.72)}.home-vehicle-icon,.product-icon,.public-services-icon{display:grid;place-items:center;flex:0 0 auto}.home-vehicle-icon{width:54px;height:54px;border-radius:18px;background:rgba(94,180,255,.12);color:var(--blue)}.home-vehicle-icon svg{width:28px;height:28px}.home-vehicle-copy{min-width:0}.home-vehicle-copy>small,.public-services-entry span>small{display:block;color:var(--blue);font-size:9px;font-weight:900;letter-spacing:.15em}.home-vehicle-copy>strong{display:block;margin-top:3px;font-size:21px}.home-vehicle-copy>span{display:block;margin-top:3px;color:var(--muted);font-size:11px}.home-vehicle-km{text-align:right;padding-left:14px;border-left:1px solid var(--line)}.home-vehicle-km b,.home-vehicle-km small{display:block}.home-vehicle-km b{font-size:20px}.home-vehicle-km small{margin-top:2px;color:var(--muted);font-size:8px;font-weight:900;letter-spacing:.12em}.home-chevron{font-size:27px;color:var(--muted)}.home-health{display:flex;gap:7px;flex-wrap:wrap;padding:9px 3px 0}.home-health-empty{font-size:10px;color:var(--muted)}.product-section-head{margin-top:17px;margin-bottom:9px}.product-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.product-card{min-height:92px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:13px;border:1px solid var(--line);border-radius:18px;background:var(--surface);color:var(--text);text-align:left;cursor:pointer}.product-card:hover{border-color:rgba(94,180,255,.5);transform:translateY(-1px)}.product-card.primary{border-color:rgba(94,180,255,.3)}.product-icon{width:38px;height:38px;border-radius:12px;background:var(--surface2);color:var(--blue)}.product-icon svg,.public-services-icon svg{width:21px;height:21px}.product-card strong,.product-card small{display:block}.product-card strong{font-size:12px}.product-card small{margin-top:3px;color:var(--muted);font-size:9px;line-height:1.25}.product-card>b{font-size:20px;color:var(--muted)}.public-services-entry{width:100%;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;margin-top:12px;padding:12px 14px;border:1px solid var(--line);border-radius:17px;background:color-mix(in srgb,var(--surface) 82%,transparent);color:var(--text);text-align:left;cursor:pointer}.public-services-entry:hover{border-color:rgba(243,191,56,.4)}.public-services-icon{width:36px;height:36px;border-radius:11px;background:rgba(243,191,56,.08);color:var(--yellow)}.public-services-entry strong{display:block;margin-top:2px;font-size:12px}.public-services-entry em{display:block;margin-top:2px;color:var(--muted);font-size:9px;font-style:normal}.public-services-entry>b{font-size:20px;color:var(--muted)}

/* ==========================================================
   BLOCO 25 — SERVIÇOS PÚBLICOS COMO ÁREA COMPLEMENTAR
   Busca e links antigos permanecem acessíveis, mas fora da Home principal.
   ========================================================== */
.public-state-note{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 11px;padding:10px 13px;border:1px solid rgba(243,191,56,.2);border-radius:14px;background:rgba(243,191,56,.05)}.public-state-note b{font-size:11px}.public-state-note span{color:var(--muted);font-size:9px}.public-search{margin-top:0}.privacy-note{display:block;margin:5px 2px 10px;color:var(--muted);font-size:9px}.public-service-grid{margin-bottom:13px}.public-services-view .publicos-inline{margin-top:8px}

@media(max-width:900px){.product-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.product-home-head{margin-top:2px}.product-home-head h1{font-size:30px}.product-home-head p{font-size:11px}.home-vehicle-hero{grid-template-columns:auto 1fr auto;padding:13px;gap:10px}.home-vehicle-icon{width:43px;height:43px;border-radius:14px}.home-vehicle-copy>strong{font-size:16px}.home-vehicle-copy>span{font-size:9px}.home-vehicle-km{grid-column:2;padding-left:0;border-left:0;text-align:left}.home-vehicle-km b,.home-vehicle-km small{display:inline}.home-vehicle-km small{margin-left:3px}.home-chevron{grid-column:3;grid-row:1/3}.product-grid{gap:8px}.product-card{min-height:78px;padding:10px}.product-icon{width:34px;height:34px}.product-card strong{font-size:11px}.public-state-note{align-items:flex-start;flex-direction:column}.public-services-entry em{line-height:1.25}}
@media(max-width:430px){.product-grid{grid-template-columns:1fr}.product-card{min-height:66px}.product-home-head h1{font-size:27px}}


/* ==========================================================
   BLOCO 20 — RODVIA / AJUSTE DE HIERARQUIA E DENSIDADE
   Tipografia maior, melhor aproveitamento e nova marca de trabalho.
   ========================================================== */
.brand-word{display:flex!important;flex-direction:column;align-items:flex-start!important;line-height:1}.brand-word>span{font-size:28px;font-weight:950;letter-spacing:-.055em;color:var(--text)}.brand-word>span>span,.drawer-brand span{color:var(--yellow)}.brand-word small{margin-top:4px;font-size:7px;font-weight:900;letter-spacing:.12em;color:var(--muted)}
.drawer-brand{font-size:25px;font-weight:950;letter-spacing:-.05em}.product-home-head{max-width:850px}.product-home-head>p{font-size:17px!important;line-height:1.5}.product-home-head h1{font-size:clamp(38px,5.4vw,58px)!important}.home-vehicle-copy strong{font-size:22px!important}.home-vehicle-copy>span{font-size:13px!important}.product-card strong{font-size:16px!important}.product-card small{font-size:12px!important;line-height:1.4}.public-services-entry strong{font-size:16px!important}.public-services-entry em{font-size:12px!important}.section-head h2{font-size:22px!important}.section-head span,.eyebrow,.vehicle-kicker,.view-head span{font-size:11px!important}.view-head p,.vehicle-panel-head p{font-size:14px!important;line-height:1.5}.vehicle-form label,.maintenance-form label{font-size:12px!important}.vehicle-empty{font-size:13px!important}.vehicle-panel h2{font-size:23px!important}
.secondary-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:12px}.secondary-grid .public-services-entry{margin-top:0;height:100%}
.maintenance-overview-card{width:100%;display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:18px;text-align:left;padding:22px;border:1px solid var(--line);border-radius:22px;background:var(--surface);cursor:pointer}.maintenance-overview-card small,.maintenance-overview-card strong,.maintenance-overview-card em{display:block}.maintenance-overview-card small{font-size:11px;font-weight:900;letter-spacing:.14em;color:var(--yellow)}.maintenance-overview-card strong{font-size:22px;margin-top:5px}.maintenance-overview-card em{font-style:normal;color:var(--muted);font-size:13px;margin-top:4px}.maintenance-overview-card>b{font-size:30px;color:var(--muted);font-weight:400}
.detran-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.detran-card{display:grid;grid-template-columns:46px 1fr auto;align-items:center;gap:10px;min-height:72px;padding:12px 14px;border:1px solid var(--line);border-radius:17px;background:var(--surface);color:var(--text);text-decoration:none}.detran-card:hover{border-color:rgba(94,180,255,.55);transform:translateY(-1px)}.detran-card>b{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:rgba(94,180,255,.1);color:var(--blue);font-size:15px}.detran-card span{font-size:13px;font-weight:800}.detran-card em{font-style:normal;color:var(--blue)}.detran-source{margin:14px 2px 0;color:var(--muted);font-size:11px;line-height:1.5}
.app-footer{justify-content:flex-start;font-size:10px}.app-footer small{display:none}
@media(max-width:760px){.secondary-grid{grid-template-columns:1fr}.detran-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-home-head>p{font-size:15px!important}.maintenance-overview-card{grid-template-columns:1fr auto}.maintenance-overview-card .maintenance-summary{grid-column:1/-1}}
@media(max-width:430px){.detran-grid{grid-template-columns:1fr 1fr}.detran-card{grid-template-columns:38px 1fr auto;padding:10px}.detran-card>b{width:36px;height:36px}.brand-word>span{font-size:24px}.brand-word small{display:none}}

/* ============================================================
   12. RODVIA — LIGHT MODE / CONTRAST HIERARCHY (MVP 04)
   Reforça superfícies, bordas, textos e cores de marca no tema claro.
   ============================================================ */
html[data-theme="light"]{
  --bg:#dce8f2;
  --bg2:#edf4f9;
  --surface:#ffffff;
  --surface2:#e5f0f8;
  --glass:rgba(255,255,255,.94);
  --text:#0a2945;
  --muted:#49677f;
  --line:rgba(20,75,120,.22);
  --blue:#0878d1;
  --blue2:#075da7;
  --yellow:#e4a400;
  --green:#087c5d;
  --shadow:0 18px 46px rgba(15,57,91,.15);
}
html[data-theme="light"] body{
  background:
    radial-gradient(circle at 50% 8%,rgba(42,146,224,.13),transparent 34%),
    linear-gradient(155deg,#eef5fa 0%,#dbe8f2 58%,#d4e2ed 100%);
}
html[data-theme="light"] .topbar{border-bottom-color:rgba(14,69,112,.22)}
html[data-theme="light"] .icon-btn,
html[data-theme="light"] .back-btn{background:#f8fbfd;border-color:rgba(14,69,112,.22);box-shadow:0 5px 14px rgba(15,57,91,.06)}
html[data-theme="light"] .home-vehicle-hero{
  border-color:rgba(8,120,209,.48);
  background:linear-gradient(130deg,#d4ebfc 0%,#eef7fd 48%,#ffffff 100%);
  box-shadow:0 18px 38px rgba(15,75,120,.14);
}
html[data-theme="light"] .home-vehicle-icon{background:#bfe2fb;color:#056bbd}
html[data-theme="light"] .product-card,
html[data-theme="light"] .public-services-entry,
html[data-theme="light"] .maintenance-overview-card,
html[data-theme="light"] .detran-card,
html[data-theme="light"] .vehicle-panel,
html[data-theme="light"] .vehicle-modal-card{
  border-color:rgba(20,75,120,.20);
  box-shadow:0 10px 24px rgba(15,57,91,.09);
}
html[data-theme="light"] .product-card{background:linear-gradient(145deg,#fff 0%,#f5f9fc 100%)}
html[data-theme="light"] .product-card.primary{border-color:rgba(8,120,209,.36)}
html[data-theme="light"] .product-icon{background:#dceefa;color:#0878d1}
html[data-theme="light"] .public-services-entry{background:linear-gradient(145deg,#fff 0%,#f4f8fb 100%)}
html[data-theme="light"] .public-services-icon{background:#fff0bd;color:#bd8200}
html[data-theme="light"] .eyebrow,
html[data-theme="light"] .section-head span,
html[data-theme="light"] .view-head span,
html[data-theme="light"] .drawer-label,
html[data-theme="light"] .sheet-label{color:#bd8200}
html[data-theme="light"] .product-card small,
html[data-theme="light"] .public-services-entry em,
html[data-theme="light"] .home-vehicle-copy>span,
html[data-theme="light"] .home-health-empty,
html[data-theme="light"] .product-home-head p,
html[data-theme="light"] .hero>p,
html[data-theme="light"] .view-head p{color:#49677f}
html[data-theme="light"] .product-card>b,
html[data-theme="light"] .public-services-entry>b,
html[data-theme="light"] .home-chevron{color:#55738b}
html[data-theme="light"] .bottom-sheet{
  background:rgba(255,255,255,.985);
  border-color:rgba(20,75,120,.23);
  box-shadow:0 -28px 70px rgba(15,57,91,.24);
}
html[data-theme="light"] .drawer{
  background:rgba(248,252,255,.98);
  box-shadow:30px 0 70px rgba(15,57,91,.22);
}
html[data-theme="light"] .scrim{background:rgba(7,27,44,.50)}
html[data-theme="light"] .app-footer{color:#48667e}

/* ==========================================================
   BLOCO 22 — ABASTECIMENTO E GASTOS
   Dashboard financeiro do veículo, histórico e formulários.
   ========================================================== */
.finance-dashboard{display:grid;gap:16px;width:100%}.finance-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.finance-summary-card{display:flex;flex-direction:column;gap:5px;padding:18px 20px;border:1px solid var(--line);border-radius:18px;background:var(--panel);box-shadow:0 12px 28px rgba(0,0,0,.08)}.finance-summary-card small{font-size:.72rem;font-weight:900;letter-spacing:.12em;color:var(--accent)}.finance-summary-card strong{font-size:1.5rem;line-height:1.15}.finance-summary-card span{font-size:.84rem;color:var(--muted)}.finance-action-buttons{display:flex;gap:10px;flex-wrap:wrap}.vehicle-secondary.compact{padding:11px 16px}.finance-history{display:grid;gap:10px;margin-top:8px}.finance-history-item{display:grid;grid-template-columns:44px 1fr auto;gap:13px;align-items:center;padding:14px 15px;border:1px solid var(--line);border-radius:15px;background:var(--panel-2)}.finance-history-icon{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;font-weight:900;background:rgba(42,155,244,.12);color:var(--blue)}.finance-history-icon.expense{background:rgba(255,190,30,.12);color:var(--accent)}.finance-history-item strong{display:block;font-size:1rem}.finance-history-item small{display:block;color:var(--muted);margin-top:3px}.finance-history-item p{margin:5px 0 0;color:var(--text);font-weight:800}.finance-history-item p em{font-style:normal;color:var(--muted);font-weight:600}.finance-history-item>button{border:0;background:transparent;color:var(--muted);font-size:1.4rem;cursor:pointer;padding:8px}.finance-check{display:flex!important;flex-direction:row!important;align-items:center;gap:10px}.finance-check input{width:18px!important;height:18px!important}.finance-modal-card{max-width:680px}
@media(max-width:900px){.finance-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.finance-summary-grid{grid-template-columns:1fr}.finance-action-buttons{width:100%}.finance-action-buttons button{flex:1}.finance-history-item{grid-template-columns:40px 1fr auto}.finance-summary-card strong{font-size:1.35rem}}
.trip-view{padding-bottom:32px}.trip-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);gap:18px}.trip-planner-card,.trip-map-card,.trip-result{background:var(--surface,#102b40);border:1px solid var(--line,#24465f);border-radius:24px;padding:22px}.trip-fields{display:grid;grid-template-columns:1fr 48px 1fr;gap:12px;align-items:end}.trip-fields label,.trip-options label{display:grid;gap:7px;font-weight:800;color:var(--text,#f4f8fb)}.trip-fields label span,.trip-options label>span{font-size:.78rem;color:var(--muted,#91b6d2);text-transform:uppercase;letter-spacing:.08em}.trip-fields input,.trip-options input{width:100%;border:1px solid var(--line,#2a506b);background:rgba(255,255,255,.035);color:var(--text,#fff);border-radius:14px;padding:13px 14px;font:inherit;outline:none}.trip-fields input:focus,.trip-options input:focus{border-color:#2b9cff;box-shadow:0 0 0 3px rgba(43,156,255,.12)}.trip-swap{height:48px;border:1px solid var(--line,#2a506b);border-radius:14px;background:rgba(255,255,255,.04);color:#57b7ff;font-size:1.25rem;cursor:pointer}.trip-options{display:grid;grid-template-columns:1.15fr repeat(3,1fr);gap:12px;margin-top:18px;align-items:end}.trip-toggle{display:flex;border:1px solid var(--line,#2a506b);border-radius:14px;padding:4px;height:48px}.trip-toggle button{flex:1;border:0;border-radius:10px;background:transparent;color:var(--muted,#91b6d2);font-weight:800;cursor:pointer}.trip-toggle button.active{background:#2196f3;color:white}.trip-input-unit{display:flex;align-items:center;border:1px solid var(--line,#2a506b);border-radius:14px;overflow:hidden}.trip-input-unit input{border:0!important;border-radius:0!important;box-shadow:none!important;min-width:0}.trip-input-unit b{padding:0 12px;color:var(--muted,#91b6d2);font-size:.78rem;white-space:nowrap}.trip-options small{font-size:.7rem;color:var(--muted,#91b6d2)}.trip-smart{margin:16px 0 0;padding:12px 14px;border-radius:14px;background:rgba(42,156,255,.08);color:var(--muted,#9fc2da);font-size:.86rem}.trip-calc{margin-top:14px;width:100%}.trip-source-note{margin:10px 2px 0;font-size:.72rem;color:var(--muted,#789bb4);line-height:1.45}.trip-map-card{min-height:390px;display:flex;flex-direction:column;overflow:hidden}.trip-map-head span,.trip-result-head span:first-child{display:block;color:#ffc126;font-weight:900;font-size:.75rem;letter-spacing:.14em}.trip-map-head strong{display:block;font-size:1.1rem;margin-top:4px}.brazil-trip-map{width:100%;height:300px;margin:auto;overflow:visible}.brazil-shape{fill:rgba(39,151,238,.09);stroke:#2c91d8;stroke-width:3;stroke-linejoin:round}.trip-arc{fill:none;stroke:#ffc126;stroke-width:4;stroke-linecap:round;stroke-dasharray:8 8;filter:drop-shadow(0 0 5px rgba(255,193,38,.35))}.trip-dot{stroke:var(--surface,#102b40);stroke-width:4}.trip-dot.origin{fill:#2ba8ff}.trip-dot.destination{fill:#ffc126}.trip-map-legend{display:flex;justify-content:space-between;gap:10px;font-size:.78rem;color:var(--muted,#9fc2da)}.trip-map-legend span{display:flex;align-items:center;gap:7px;min-width:0}.trip-map-legend b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.trip-map-legend i{width:9px;height:9px;border-radius:50%;flex:none}.trip-map-legend i.origin{background:#2ba8ff}.trip-map-legend i.destination{background:#ffc126}.trip-result{margin-top:18px}.trip-result-head{display:flex;align-items:end;justify-content:space-between;gap:16px}.trip-result-head h2{margin:4px 0 0}.trip-badge{padding:8px 12px;border-radius:999px;background:rgba(43,156,255,.12);color:#63baff!important;letter-spacing:0!important;font-size:.8rem!important}.trip-result-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin-top:18px}.trip-result-grid article{padding:15px;border:1px solid var(--line,#24465f);border-radius:16px;background:rgba(0,0,0,.08)}.trip-result-grid small{display:block;font-size:.68rem;font-weight:900;letter-spacing:.08em;color:var(--muted,#91b6d2)}.trip-result-grid strong{display:block;margin-top:7px;font-size:1.18rem}.trip-result-grid .trip-total{border-color:rgba(255,193,38,.5);background:rgba(255,193,38,.06)}.trip-result-grid .trip-total strong{color:#ffc126}.trip-status{margin-top:12px;min-height:20px;color:var(--muted,#9fc2da);font-size:.84rem}.trip-status.error{color:#ff9f9f}
[data-theme="light"] .trip-planner-card,[data-theme="light"] .trip-map-card,[data-theme="light"] .trip-result{background:#fff;border-color:#bdd5e8;box-shadow:0 12px 28px rgba(20,72,108,.08)}[data-theme="light"] .trip-fields label,[data-theme="light"] .trip-options label{color:#0c2a43}[data-theme="light"] .trip-fields input,[data-theme="light"] .trip-options input,[data-theme="light"] .trip-input-unit,[data-theme="light"] .trip-toggle,[data-theme="light"] .trip-swap{background:#f4f9fd;border-color:#bfd7e8;color:#0c2a43}[data-theme="light"] .brazil-shape{fill:#e9f5fd;stroke:#148fe6}[data-theme="light"] .trip-result-grid article{background:#f5f9fc;border-color:#c7dbe9}
@media(max-width:980px){.trip-layout{grid-template-columns:1fr}.trip-map-card{min-height:330px}.trip-options{grid-template-columns:1fr 1fr}.trip-result-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:620px){.trip-planner-card,.trip-map-card,.trip-result{padding:16px;border-radius:20px}.trip-fields{grid-template-columns:1fr}.trip-swap{width:48px;justify-self:center;transform:rotate(90deg)}.trip-options{grid-template-columns:1fr}.trip-map-card{min-height:300px}.brazil-trip-map{height:235px}.trip-result-grid{grid-template-columns:1fr 1fr}.trip-result-grid .trip-total{grid-column:1/-1}.trip-result-head{align-items:flex-start;flex-direction:column}}

/* ==========================================================
   BLOCO 20 — VIAGEM V07: CAMPOS, MAPA REAL E RESPONSIVIDADE
   ========================================================== */
.trip-options{grid-template-columns:minmax(210px,1.15fr) repeat(3,minmax(150px,1fr));align-items:start}
.trip-toggle{min-height:52px;height:auto}.trip-toggle button{min-width:92px;padding:8px 10px;line-height:1.15;white-space:normal}
.trip-input-unit{min-height:52px}.trip-input-unit input{font-size:1rem;font-weight:800}.trip-input-unit b{min-width:max-content}
.trip-map{position:relative;width:100%;height:330px;margin:12px 0 8px;border-radius:18px;overflow:hidden;background:rgba(35,113,164,.08);border:1px solid rgba(86,166,219,.12)}
.trip-map svg{display:block;width:100%;height:100%}.trip-map-loading{position:absolute;inset:0;display:grid;place-items:center;color:var(--muted);font-size:.82rem;z-index:2}.trip-map-loading[hidden]{display:none}
.trip-state{fill:rgba(39,151,238,.08);stroke:#4b91bd;stroke-width:.65;vector-effect:non-scaling-stroke}.trip-country-outline{fill:none;stroke:#54a8df;stroke-width:1.35;vector-effect:non-scaling-stroke}.trip-route-line{fill:none;stroke:#ffc126;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;filter:drop-shadow(0 0 4px rgba(255,193,38,.28))}.trip-marker-origin{fill:#2ba8ff;stroke:#fff;stroke-width:2;vector-effect:non-scaling-stroke}.trip-marker-destination{fill:#ffc126;stroke:#fff;stroke-width:2;vector-effect:non-scaling-stroke}
.trip-map svg .map-layer{transition:transform .65s ease}.trip-status:not(:empty){padding:10px 13px;border-radius:12px;background:rgba(43,156,255,.07)}.trip-status.error{background:rgba(255,90,90,.08)}
[data-theme="light"] .trip-map{background:#eef7fd;border-color:#c8dfef}[data-theme="light"] .trip-state{fill:#e7f4fc;stroke:#82b7d8}[data-theme="light"] .trip-country-outline{stroke:#188bd1}
@media(max-width:1120px){.trip-options{grid-template-columns:1fr 1fr}.trip-toggle{grid-column:1/-1}.trip-map{height:300px}}
@media(max-width:620px){.trip-options{grid-template-columns:1fr}.trip-toggle{grid-column:auto}.trip-toggle button{min-width:0}.trip-map{height:270px}.trip-fields input,.trip-options input{font-size:16px}.trip-result-grid strong{font-size:1.05rem}}

/* ==========================================================
   BLOCO 17 — VIAGEM V08: RESPIRO E CONTENÇÃO DOS CAMPOS
   ========================================================== */
.trip-layout{grid-template-columns:minmax(0,1.28fr) minmax(390px,1fr);gap:22px}
.trip-planner-card,.trip-map-card{padding:26px;min-width:0}
.trip-options{grid-template-columns:minmax(250px,1.25fr) minmax(180px,1fr) minmax(190px,1fr) minmax(180px,1fr);gap:14px}
.trip-options>*,.trip-fields>*{min-width:0}.trip-input-unit input{width:100%;min-width:90px}.trip-input-unit b{padding:0 14px}
.trip-toggle{min-width:250px}.trip-toggle button{min-width:112px;padding:8px 14px}.trip-map{height:380px}.trip-country-real{fill:rgba(39,151,238,.10);stroke:#45a6e8;stroke-width:1.5;vector-effect:non-scaling-stroke}
.trip-map svg .map-layer{transition:transform .75s cubic-bezier(.2,.75,.25,1);transform-box:view-box}
@media(max-width:1180px){.trip-layout{grid-template-columns:1fr}.trip-options{grid-template-columns:1fr 1fr}.trip-toggle{min-width:0}.trip-map{height:350px}}
@media(max-width:650px){.trip-options{grid-template-columns:1fr}.trip-toggle{min-width:0}.trip-toggle button{min-width:0}.trip-map{height:300px}}

/* ==========================================================
   BLOCO 22 — VIAGEM V09: MAPA REAL E REFINO DE ENQUADRAMENTO
   ========================================================== */
.trip-map-card{min-height:520px}.trip-map{height:430px!important;background:#0c2334!important;overflow:hidden!important}.trip-map .leaflet-container{font-family:inherit}.trip-map .leaflet-control-attribution{font-size:9px}.trip-map .leaflet-control-zoom a{background:var(--surface,#102b40);color:var(--text,#fff);border-color:var(--line,#24465f)}.trip-map .leaflet-control-zoom a:hover{background:#173a54}.trip-map .leaflet-tooltip{background:#102b40;color:#fff;border:1px solid #315a76;box-shadow:none}.trip-map .leaflet-tooltip:before{border-top-color:#315a76}.trip-layout{grid-template-columns:minmax(0,1.12fr) minmax(480px,1fr)}
@media(max-width:1180px){.trip-layout{grid-template-columns:1fr}.trip-map-card{min-height:460px}.trip-map{height:390px!important}}
@media(max-width:650px){.trip-map-card{min-height:390px}.trip-map{height:320px!important}}

/* ==========================================================
   BLOCO 18 — VIAGEM V10: VIEWPORT COMPACTO + RESULTADO NO MAPA
   ========================================================== */
.trip-view{padding-top:8px;padding-bottom:12px}.trip-view .view-head{margin-bottom:14px}.trip-layout{grid-template-columns:minmax(0,1.05fr) minmax(520px,1fr);gap:16px;align-items:stretch}.trip-planner-card,.trip-map-card{padding:18px;border-radius:20px}.trip-planner-card{min-height:0}.trip-map-card{min-height:0!important}.trip-fields{gap:10px}.trip-options{margin-top:12px;gap:10px;grid-template-columns:minmax(220px,1.25fr) repeat(3,minmax(135px,1fr))}.trip-toggle,.trip-input-unit{min-height:46px;height:46px}.trip-smart{margin-top:12px;padding:10px 12px}.trip-calc{margin-top:10px}.trip-source-note{margin-top:7px}.trip-map{height:300px!important;margin:8px 0 6px}.trip-map-legend{margin-bottom:7px}.trip-result-compact{margin:0!important;padding:10px!important;border-radius:14px!important;background:rgba(0,0,0,.10)!important}.trip-result-compact .trip-result-head{align-items:center}.trip-result-compact .trip-result-head h2{font-size:.92rem;margin:2px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:360px}.trip-result-compact .trip-result-head span:first-child{font-size:.58rem}.trip-result-compact .trip-badge{padding:5px 8px;font-size:.68rem!important}.trip-result-compact .trip-result-grid{grid-template-columns:repeat(3,1fr);gap:6px;margin-top:7px}.trip-result-compact .trip-result-grid article{padding:7px 8px;border-radius:10px}.trip-result-compact .trip-result-grid small{font-size:.55rem}.trip-result-compact .trip-result-grid strong{font-size:.88rem;margin-top:2px}.trip-status{margin-top:7px;padding-top:0;padding-bottom:0}.trip-status:not(:empty){padding:7px 10px}
.trip-city-suggestions{position:absolute;z-index:2000;max-height:220px;overflow:auto;background:#102b40;border:1px solid #2b9cff;border-radius:12px;box-shadow:0 12px 30px rgba(0,0,0,.35);min-width:260px}.trip-city-suggestions button{display:block;width:100%;padding:10px 12px;border:0;background:transparent;color:#fff;text-align:left;font:inherit;cursor:pointer}.trip-city-suggestions button:hover,.trip-city-suggestions button:focus{background:rgba(43,156,255,.18);outline:none}
@media(max-width:1180px){.trip-layout{grid-template-columns:1fr}.trip-map{height:320px!important}.trip-result-compact .trip-result-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:650px){.trip-result-compact .trip-result-grid{grid-template-columns:repeat(2,1fr)}.trip-result-compact .trip-result-head h2{max-width:220px}.trip-map{height:280px!important}}

/* ==========================================================
   BLOCO 19 — VIAGEM V11: CORREÇÃO LEAFLET + LAYOUT DOS CONTROLES
   ========================================================== */
/* O SVG abaixo é criado pelo próprio Leaflet. Ele NÃO pode herdar width/height:100%
   da antiga ilustração SVG do Brasil, pois isso desloca/oculta a polyline da rota. */
.trip-map .leaflet-overlay-pane svg{
  width:auto!important;
  height:auto!important;
  max-width:none!important;
  max-height:none!important;
  overflow:visible!important;
}
.trip-map .leaflet-pane,.trip-map .leaflet-overlay-pane,.trip-map .leaflet-marker-pane{pointer-events:auto}

/* Sugestões ficam ancoradas visualmente logo abaixo do campo ativo. */
.trip-city-suggestions{
  position:fixed!important;
  z-index:10000!important;
  margin:0!important;
}

/* Controles: seletor em uma linha; consumo/combustível/pedágio em outra. */
.trip-options{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  align-items:start!important;
}
.trip-toggle{
  grid-column:1/-1!important;
  width:100%!important;
  min-width:0!important;
}
.trip-toggle button{min-width:0!important;padding:7px 12px!important}
.trip-options label{min-width:0!important}
.trip-input-unit{width:100%!important;min-width:0!important}
.trip-input-unit input{min-width:0!important;width:100%!important;padding:11px 10px!important}
.trip-input-unit b{padding:0 10px!important;font-size:.7rem!important}

@media(max-width:650px){
  .trip-options{grid-template-columns:1fr!important}
  .trip-toggle{grid-column:auto!important}
}


/* ==========================================================
   BLOCO 20 — VIAGEM V12: AUTOCOMPLETE ÚNICO + ROTA EM CANVAS
   ========================================================== */
.trip-fields label{position:relative!important;overflow:visible!important}
.trip-city-suggestions{position:absolute!important;z-index:12000!important;left:0!important;top:calc(100% + 6px)!important;width:100%!important;min-width:100%!important;max-height:210px!important;background:#102b40!important;border:1px solid #2b9cff!important;border-radius:12px!important;box-shadow:0 12px 30px rgba(0,0,0,.35)!important}
.trip-city-suggestions[hidden]{display:none!important}
.trip-city-suggestions button{background:#102b40!important;color:#fff!important;padding:10px 12px!important}
.trip-city-suggestions button:hover,.trip-city-suggestions button:focus{background:#173f5b!important}
.trip-fields,.trip-planner-card{overflow:visible!important}
.trip-options{grid-template-columns:1fr 1fr 1fr!important;gap:12px!important}
.trip-toggle{grid-column:1/-1!important;display:grid!important;grid-template-columns:1fr 1fr!important}
.trip-toggle button{width:100%!important;white-space:nowrap!important}
.trip-options label>span{display:block!important;margin-bottom:6px!important}
.trip-input-unit{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;overflow:hidden!important}
.trip-input-unit input{width:100%!important;box-sizing:border-box!important}
@media(max-width:650px){.trip-options{grid-template-columns:1fr!important}.trip-toggle{grid-column:auto!important}}


/* ==========================================================
   BLOCO 19 — ÍCONES DO DRAWER + ALTO CONTRASTE
   Drawer reutiliza o mesmo sistema SVG dos cards principais.
   ========================================================== */
.drawer nav button>span[data-icon]{display:grid;width:24px;height:24px;place-items:center;color:var(--blue)}
.drawer nav button>span[data-icon] svg{width:21px;height:21px;display:block}
html.alto-contraste{--bg:#000;--bg2:#000;--surface:#050505;--surface2:#111;--glass:#050505;--text:#fff;--muted:#e8e8e8;--line:#fff;--blue:#56b9ff;--blue2:#168ee4;--yellow:#ffd400;--green:#58f0b8;--shadow:none}
html.alto-contraste body{background:#000!important}
html.alto-contraste .product-card,html.alto-contraste .home-vehicle-hero,html.alto-contraste .vehicle-panel,html.alto-contraste .maintenance-overview-card,html.alto-contraste .trip-planner-card,html.alto-contraste .trip-map-card,html.alto-contraste .trip-result,html.alto-contraste .detran-card{border-color:#fff!important;box-shadow:none!important}
html.alto-contraste button:focus-visible,html.alto-contraste a:focus-visible{outline:3px solid #ffd400!important;outline-offset:3px}
html.texto-ampliado{font-size:118%}

/* ========================================================
   BLOCO 20 — AJUSTES DE NAVEGAÇÃO V20
   Seta do drawer segue a linguagem dos botões de retorno do RODVIA.
   ======================================================== */
.drawer-home-return{font-size:23px;font-weight:700;line-height:1}

/* ==========================================================
   BLOCO 21 — VIAGEM V21.1: ANTI-FRICÇÃO MOBILE + FEEDBACK DE CÁLCULO
   Reduz rolagem no formulário, evidencia o processamento e coloca a estimativa
   antes do mapa no celular para mostrar primeiro a resposta que o usuário pediu.
   ========================================================== */
.trip-calc.is-loading{cursor:wait;opacity:.92}
.trip-spinner{display:inline-block;width:16px;height:16px;margin-right:8px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;vertical-align:-3px;animation:trip-spin .7s linear infinite}
@keyframes trip-spin{to{transform:rotate(360deg)}}
.trip-status-loading:not(:empty){border:1px solid rgba(43,156,255,.28);background:rgba(43,156,255,.08);border-radius:10px}
.trip-status-success:not(:empty){color:var(--green)}
.trip-result{scroll-margin-top:18px}
html.reduzir-movimento .trip-spinner{animation:none}

@media(max-width:650px){
  .trip-view .view-head{margin-bottom:10px}
  .trip-view .view-head p{margin-top:4px}
  .trip-planner-card,.trip-map-card{padding:14px!important;border-radius:16px}
  .trip-fields{gap:8px}
  .trip-options{grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:9px!important}
  .trip-toggle{grid-column:1/-1!important}
  .trip-options label:last-child{grid-column:1/-1}
  .trip-toggle,.trip-input-unit{min-height:42px!important;height:42px!important}
  .trip-smart{margin-top:8px!important;padding:8px 10px!important;font-size:.78rem}
  .trip-calc{margin-top:8px!important;min-height:48px}
  .trip-source-note{margin-top:6px!important;font-size:.68rem;line-height:1.3}
  .trip-map-card{display:flex;flex-direction:column}
  .trip-map-head{order:1}
  .trip-result-compact{order:2;margin-top:8px!important;scroll-margin-top:12px}
  .trip-map{order:3;height:255px!important;margin-top:10px!important}
  .trip-map-legend{order:4}
  .trip-result-compact .trip-result-grid{grid-template-columns:repeat(2,1fr)}
  .trip-status:not(:empty){margin-top:6px}
}

/* ==========================================================
   BLOCO 21 — VIAGEM V21.2: AVISO DE PEDÁGIOS DE REFERÊNCIA
   ========================================================== */
.trip-toll-note{margin:8px 2px 0;color:var(--muted,#91b6d2);font-size:.68rem;line-height:1.4}
[data-theme="light"] .trip-toll-note{color:#55758d}
\n/* ==========================================================\n   BLOCO 31 — V21.11: HOME, MOTORHOME E MANUTENÇÃO ANTI-FRICÇÃO\n   ========================================================== */\n@media(min-width:901px){.app-modern .view[data-view="home"]{padding-top:10px}.app-modern .vehicle-view{padding-top:8px!important}.app-modern .vehicle-view .view-head{margin-bottom:10px!important}}\n.motorhome-card{border-color:rgba(243,191,56,.28)}.motorhome-card .product-icon{font-size:20px}.motorhome-view{padding-top:8px}.motorhome-view .view-head{margin-bottom:12px}.motorhome-hero{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px 20px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(135deg,rgba(243,191,56,.07),var(--surface))}.motorhome-hero h2{margin:4px 0;font-size:24px}.motorhome-hero p{margin:0;color:var(--muted);font-size:13px}.motorhome-count{text-align:right}.motorhome-count strong{display:block;font-size:28px;color:var(--yellow)}.motorhome-count small{color:var(--muted)}.motorhome-tools{display:flex;gap:10px;align-items:center;margin-top:12px}.motorhome-tools>input{flex:1;min-width:180px;padding:12px 14px;border:1px solid var(--line);border-radius:13px;background:var(--surface);color:var(--text);outline:none}.motorhome-filters{display:flex;gap:6px;flex-wrap:wrap}.motorhome-filters button{padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface);cursor:pointer;font-weight:800}.motorhome-filters button.active{background:var(--blue2);border-color:var(--blue);color:#fff}.motorhome-source{margin:9px 2px;color:var(--muted);font-size:10px}.motorhome-list{display:grid;gap:7px;max-height:50vh;overflow:auto;padding-right:3px}.motorhome-item{display:grid;grid-template-columns:auto 1fr auto;gap:11px;align-items:center;padding:12px 13px;border:1px solid var(--line);border-radius:15px;background:var(--surface)}.motorhome-item-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--surface2)}.motorhome-item strong,.motorhome-item small{display:block}.motorhome-item small{margin-top:2px;color:var(--muted);font-size:10px}.motorhome-item p{margin:4px 0 0;color:var(--muted);font-size:10px;line-height:1.35}.motorhome-item a{white-space:nowrap;color:var(--blue);text-decoration:none;font-size:11px;font-weight:850}.motorhome-more{text-align:center;color:var(--muted);font-size:10px}.maintenance-next-preview{padding:11px 13px;border:1px solid rgba(94,180,255,.22);border-radius:13px;background:rgba(94,180,255,.06)}.maintenance-next-preview small,.maintenance-next-preview strong{display:block}.maintenance-next-preview small{color:var(--blue);font-size:9px;font-weight:900;letter-spacing:.12em}.maintenance-next-preview strong{margin-top:3px;font-size:14px}.maintenance-check{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center!important;gap:8px!important}.maintenance-check input{width:auto!important}.maintenance-check[hidden]{display:none!important}\n@media(max-width:760px){.motorhome-tools{align-items:stretch;flex-direction:column}.motorhome-tools>input{width:100%}.motorhome-filters{display:grid;grid-template-columns:1fr 1fr;width:100%}.motorhome-item{grid-template-columns:auto 1fr}.motorhome-item a{grid-column:2}.motorhome-list{max-height:none}.motorhome-hero{align-items:flex-start}.motorhome-count strong{font-size:22px}}\n
/* ==========================================================
   BLOCO 32 — V21.12: MOTORHOME COM MAPA E CONTROLES COMPACTOS
   ========================================================== */
.motorhome-view{padding-top:8px}.motorhome-map-layout{display:grid;grid-template-columns:minmax(290px,360px) minmax(0,1fr);gap:14px;min-height:620px}.motorhome-panel,.motorhome-map-card{border:1px solid var(--line);border-radius:20px;background:var(--surface);overflow:hidden}.motorhome-panel{padding:15px;display:flex;flex-direction:column;gap:10px}.motorhome-summary{display:grid;gap:2px}.motorhome-summary>strong{font-size:21px}.motorhome-summary>small{color:var(--muted);font-size:11px}.motorhome-panel>input{width:100%;padding:12px 13px;border:1px solid var(--line);border-radius:13px;background:var(--surface2);color:var(--text);outline:none}.motorhome-filters{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.motorhome-filters button{padding:9px 6px;border:1px solid var(--line);border-radius:11px;background:var(--surface2);font-weight:850;cursor:pointer}.motorhome-filters button.active{background:var(--blue2);border-color:var(--blue);color:#fff}.motorhome-source{margin:0;color:var(--muted);font-size:9px;line-height:1.45}.motorhome-results{display:grid;gap:6px;overflow:auto;max-height:390px;padding-right:2px}.motorhome-result{display:grid;grid-template-columns:28px 1fr auto;gap:8px;align-items:center;text-align:left;width:100%;padding:9px 10px;border:1px solid var(--line);border-radius:12px;background:var(--surface2);cursor:pointer}.motorhome-result:hover{border-color:rgba(42,168,255,.55)}.motorhome-result strong,.motorhome-result small{display:block}.motorhome-result strong{font-size:11px}.motorhome-result small{margin-top:2px;color:var(--muted);font-size:9px;line-height:1.25}.motorhome-result b{color:var(--blue);font-size:17px}.motorhome-pagination{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:6px;margin-top:auto}.motorhome-pagination button{padding:8px;border:1px solid var(--line);border-radius:10px;background:var(--surface2);font-size:9px;font-weight:800}.motorhome-pagination button:disabled{opacity:.35}.motorhome-pagination span{font-size:9px;color:var(--muted)}.motorhome-map-card{position:relative;min-height:620px}.motorhome-map{position:absolute;inset:0;min-height:620px}.motorhome-selected{position:absolute;left:14px;right:14px;bottom:14px;z-index:4;display:grid;grid-template-columns:auto 1fr;gap:10px;max-height:210px;overflow:auto;padding:13px 14px;border:1px solid rgba(255,255,255,.16);border-radius:16px;background:rgba(7,28,45,.94);box-shadow:0 10px 30px rgba(0,0,0,.28);backdrop-filter:blur(12px);color:#fff}.motorhome-selected[hidden]{display:none}.motorhome-selected strong,.motorhome-selected small,.motorhome-selected em{display:block}.motorhome-selected small{margin-top:2px;color:#9fc3df;font-size:10px}.motorhome-selected p{margin:6px 0;color:#d5e5f2;font-size:10px;line-height:1.4}.motorhome-selected em{color:#8fb3cf;font-size:9px;font-style:normal}.mh-location-warning{grid-column:2;margin-top:5px;color:#ffc52e;font-size:9px}.mh-marker{display:grid;place-items:center;width:29px;height:29px;border:2px solid #fff;border-radius:50%;background:#0c6fae;box-shadow:0 2px 8px rgba(0,0,0,.35);cursor:pointer;font-size:14px}.mh-marker.posto{background:#133f65}.mh-marker.selected{width:34px;height:34px;background:#ffc52e}
@media(max-width:850px){.motorhome-map-layout{display:flex;flex-direction:column;min-height:0}.motorhome-panel{order:1}.motorhome-map-card{order:2;min-height:56vh}.motorhome-map{min-height:56vh}.motorhome-results{max-height:220px}.motorhome-filters{grid-template-columns:repeat(3,1fr)}.motorhome-selected{left:9px;right:9px;bottom:9px;max-height:190px}}
\n/* ==========================================================\n   BLOCO 33 — V21.13: REFINAMENTO MOTORHOME\n   Tipografia, autocomplete, foco mais rápido e mapa compacto.\n   ========================================================== */\n@media(min-width:851px){.motorhome-map-layout{min-height:580px}.motorhome-map-card{min-height:580px;height:580px}.motorhome-map{min-height:0;height:100%}}\n.motorhome-result strong{font-size:12px;line-height:1.25}.motorhome-result small{font-size:10px;line-height:1.3}.motorhome-source{font-size:10px}.motorhome-pagination button,.motorhome-pagination span{font-size:10px}.motorhome-search-wrap{position:relative;width:100%}.motorhome-search-wrap>input{width:100%;padding:12px 13px;border:1px solid var(--line);border-radius:13px;background:var(--surface2);color:var(--text);outline:none}.motorhome-suggestions{position:absolute;z-index:12;left:0;right:0;top:calc(100% + 5px);padding:5px;border:1px solid var(--line);border-radius:12px;background:var(--surface);box-shadow:0 12px 28px rgba(0,0,0,.28);max-height:240px;overflow:auto}.motorhome-suggestions[hidden]{display:none}.motorhome-suggestions button{display:block;width:100%;padding:9px 10px;border:0;border-radius:8px;background:transparent;color:var(--text);text-align:left;font-size:11px;cursor:pointer}.motorhome-suggestions button:hover{background:var(--surface2)}\n
/* ==========================================================
   BLOCO 35 — V21.14: ALTURA FINAL DO MAPA MOTORHOME
   Remove a faixa vazia inferior sem esticar o mapa.
   ========================================================== */
@media(min-width:851px){
  .motorhome-map-layout{min-height:0;align-items:start}
  .motorhome-map-card{height:540px;min-height:0;align-self:start;overflow:hidden}
  .motorhome-map{inset:0;height:540px;min-height:0}
  .motorhome-map .maplibregl-map,.motorhome-map .maplibregl-canvas-container,.motorhome-map canvas{height:100%!important}
}

/* ==========================================================
   BLOCO 36 — V21.15: DESACOPLAR ALTURA DO MAPA MOTORHOME
   O mapa volta ao fluxo normal e define a altura do próprio card.
   A coluna de resultados não pode mais esticar o card do mapa.
   ========================================================== */
@media(min-width:851px){
  .motorhome-map-layout{
    align-items:start;
    min-height:0;
  }
  .motorhome-map-card{
    align-self:start;
    height:auto;
    min-height:0;
    max-height:none;
    overflow:hidden;
  }
  .motorhome-map{
    position:relative;
    inset:auto;
    display:block;
    width:100%;
    height:540px;
    min-height:0;
  }
}

/* ==========================================================
   BLOCO 37 — V21.16: REFINAMENTO TIPOGRÁFICO MOTORHOME
   Aproxima autocomplete e resultados do padrão visual de Viagem.
   ========================================================== */
.motorhome-suggestions button{
  padding:11px 12px;
  font-size:14px;
  line-height:1.3;
}
.motorhome-result strong{
  font-size:13px;
  line-height:1.28;
}
.motorhome-result small{
  font-size:11px;
  line-height:1.32;
}

/* ==========================================================
   BLOCO 38 — V21.17: PADRONIZAÇÃO TIPOGRÁFICA MOTORHOME/VIAGEM
   Reaproveita a linguagem tipográfica premium do autocomplete de Viagem
   sem alterar busca, mapa, filtros, paginação ou comportamento dos dados.
   ========================================================== */
.motorhome-suggestions button{
  padding:12px 14px;
  font-family:inherit;
  font-size:16px;
  font-weight:800;
  line-height:1.25;
  letter-spacing:-.01em;
}
.motorhome-result{
  min-height:58px;
  padding:10px 11px;
}
.motorhome-result strong{
  font-family:inherit;
  font-size:14px;
  font-weight:800;
  line-height:1.25;
  letter-spacing:-.01em;
}
.motorhome-result small{
  margin-top:3px;
  font-family:inherit;
  font-size:11.5px;
  font-weight:500;
  line-height:1.32;
}
@media(max-width:620px){
  .motorhome-suggestions button{font-size:15px;padding:11px 12px}
  .motorhome-result{min-height:56px;padding:9px 10px}
  .motorhome-result strong{font-size:13.5px}
  .motorhome-result small{font-size:11px}
}


/* ==========================================================
   BLOCO 39 — V22.1: CONTA E AUTENTICAÇÃO
   Mantém o padrão visual premium sem alterar módulos existentes.
   ========================================================== */
.account-trigger{font-weight:900}.account-trigger.signed-in{background:var(--blue2);border-color:var(--blue);color:#fff;font-size:14px}.account-modal-card{max-width:440px}.account-intro{margin:7px 0 16px;color:var(--muted);font-size:12px;line-height:1.5}.account-google,.account-secondary{width:100%;min-height:44px;border:1px solid var(--line);border-radius:12px;background:var(--surface2);color:var(--text);font-weight:850;cursor:pointer}.account-google{display:flex;align-items:center;justify-content:center;gap:10px;background:#fff;color:#17212b}.account-google span{display:grid;place-items:center;width:23px;height:23px;border:1px solid #d8dde3;border-radius:50%;font-weight:900}.account-divider{display:flex;align-items:center;gap:10px;margin:13px 0;color:var(--muted);font-size:10px}.account-divider:before,.account-divider:after{content:'';height:1px;flex:1;background:var(--line)}.account-form{gap:10px}.account-secondary{margin-top:9px}.account-secondary.danger{color:#e35b5b}.account-status{min-height:18px;margin:10px 0 0;color:var(--muted);font-size:11px;line-height:1.4}.account-user{display:grid;grid-template-columns:52px 1fr;gap:12px;align-items:center;margin:12px 0 16px}.account-avatar{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:var(--blue2);color:#fff;font-size:21px;font-weight:900}.account-user small,.account-user strong,.account-user span{display:block}.account-user small{color:var(--blue);font-size:9px;font-weight:900;letter-spacing:.12em}.account-user strong{margin-top:2px;font-size:17px}.account-user span{margin-top:2px;color:var(--muted);font-size:11px}


/* ==========================================================
   BLOCO 22 — V22.2: GOOGLE OFICIAL + SINCRONIZAÇÃO DE VEÍCULO
   ========================================================== */
.google-mark{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;margin-right:8px;vertical-align:middle}.google-mark svg{width:20px;height:20px;display:block}.account-sync{margin:16px 0;padding:14px;border:1px solid rgba(80,167,230,.24);border-radius:14px;background:rgba(8,33,52,.34)}.account-sync>small{display:block;color:#58b9ff;font-size:10px;font-weight:800;letter-spacing:.12em;margin-bottom:5px}.account-sync>strong{display:block;color:#f3f8fc;font-size:14px}.account-sync>p{margin:6px 0 0;color:#9db7ca;font-size:12px;line-height:1.45}.account-sync-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.account-sync-actions:empty{display:none}.account-sync-actions button{flex:1 1 150px;border:1px solid rgba(90,177,239,.28);border-radius:10px;padding:10px 12px;font:inherit;font-size:12px;font-weight:800;cursor:pointer;background:#173a54;color:#f5f9fc}.account-sync-actions button.primary{background:#2498ea;border-color:#43adf5;color:white}.account-sync-actions button:disabled{opacity:.6;cursor:wait}


/* ============================================================
   BLOCO 23 — V22.2: AVATAR REAL DO PROVEDOR + FALLBACK
   ============================================================ */
.account-trigger-avatar{width:100%;height:100%;display:block;object-fit:cover;border-radius:inherit}
.account-avatar{overflow:hidden}
.account-avatar-image{width:100%;height:100%;display:block;object-fit:cover;border-radius:inherit}

/* ==========================================================
   BLOCO 22 — CONTA: AVATAR GOOGLE PREENCHENDO O BOTÃO
   ========================================================== */
.account-trigger.signed-in{
  padding:0;
  overflow:hidden;
}
.account-trigger.signed-in .account-trigger-avatar{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
  border-radius:inherit;
}

/* ==========================================================
   BLOCO 36 — V22.4: MODAIS ANTI-FRICÇÃO
   Respeita campos ocultos e mantém manutenção direta, sem rolagem no desktop.
   ========================================================== */
.maintenance-form [hidden]{display:none!important}
@media(min-width:721px) and (min-height:760px){
  #maintenanceModal .vehicle-modal-card{max-height:none;overflow:visible}
  #maintenanceModal .maintenance-form{gap:10px}
  #maintenanceModal .vehicle-modal-card h2{margin-bottom:14px}
  #maintenanceModal .maintenance-disclaimer{padding:8px 10px}
}

/* BLOCO 99 — V22.4.2: HIERARQUIA VISUAL DA CONTA */
#extendedSyncBox .extended-sync-content{display:flex;flex-direction:column;gap:10px;align-items:stretch}
#extendedSyncBox .extended-sync-title{display:block;font-size:16px;line-height:1.35;color:#f3f7ff}
#extendedSyncBox .extended-sync-message{margin:0;line-height:1.55}
#extendedSyncBox .extended-sync-actions button{width:100%;min-height:44px}

/* BLOCO 35 — V22.5.3: RESPEITAR ESTADO OCULTO DOS INDICADORES */
.home-health[hidden]{display:none!important}

/* ==========================================================
   BLOCO 40 — V23.0: CONTA MULTIVEÍCULO E RETORNO DE OPERAÇÕES
   Mantém a linguagem visual existente e evidencia confirmação/erro do banco.
   ========================================================== */
[hidden]{display:none!important}
.vehicle-operation-status{min-height:18px;margin:8px 0;color:var(--muted);font-size:12px;line-height:1.45}
.vehicle-operation-status.success{color:#55d69e}.vehicle-operation-status.error{color:#ff8080}
.vehicle-cards{display:grid;gap:10px;margin:10px 0 16px}
.vehicle-account-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px;border:1px solid var(--line);border-radius:14px;background:var(--surface2)}
.vehicle-account-card.selected{border-color:var(--blue);box-shadow:0 0 0 1px rgba(46,161,239,.18)}
.vehicle-account-card>button{display:grid;gap:3px;min-width:0;border:0;background:none;color:var(--text);text-align:left;cursor:pointer}
.vehicle-account-card strong,.vehicle-account-card small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vehicle-account-card small{color:var(--muted)}
.vehicle-account-card em{width:max-content;margin-top:3px;padding:3px 7px;border-radius:999px;background:rgba(46,161,239,.16);color:var(--blue);font-size:9px;font-style:normal;font-weight:900;text-transform:uppercase}
.vehicle-account-card>div{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.vehicle-account-card>div button{border:1px solid var(--line);border-radius:9px;padding:7px 9px;background:transparent;color:var(--muted);font:inherit;font-size:10px;font-weight:800;cursor:pointer}
.vehicle-account-card button:disabled{opacity:.55;cursor:wait}
@media(max-width:620px){.vehicle-account-card{grid-template-columns:1fr}.vehicle-account-card>div{justify-content:flex-start}}

/* ==========================================================
   BLOCO 32 — V23.0.2: AÇÕES DE HISTÓRICO SEM SOBREPOSIÇÃO
   Botões de manutenção e abastecimento com dimensões próprias.
   ========================================================== */
.history-item > div:first-child,
.finance-history-item > div:nth-child(2){min-width:0;overflow-wrap:anywhere}
.history-item .record-actions,
.finance-history-item .record-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;flex:0 0 auto}
.history-item .record-actions .record-action,
.finance-history-item .record-actions .record-action{display:inline-flex;align-items:center;justify-content:center;width:auto;min-width:72px;height:36px;min-height:36px;padding:8px 12px;margin:0;border:1px solid var(--line);border-radius:10px;background:var(--surface2);color:var(--text);font:inherit;font-size:12px;font-weight:750;line-height:1.2;white-space:nowrap;cursor:pointer;transition:background .15s ease,border-color .15s ease}
.history-item .record-actions .record-action-edit,
.finance-history-item .record-actions .record-action-edit{border-color:rgba(94,180,255,.34);color:var(--blue)}
.history-item .record-actions .record-action-delete,
.finance-history-item .record-actions .record-action-delete{border-color:rgba(255,125,125,.30);color:#ff9b9b}
.history-item .record-actions .record-action:hover,
.finance-history-item .record-actions .record-action:hover{background:var(--surface);border-color:currentColor}
.history-item .record-actions .record-action:focus-visible,
.finance-history-item .record-actions .record-action:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.history-item .record-actions .record-action:disabled,
.finance-history-item .record-actions .record-action:disabled{opacity:.5;cursor:wait}
@media(max-width:560px){
 .history-item{align-items:flex-start;flex-wrap:wrap}
 .history-item .record-actions{width:100%;justify-content:flex-end}
 .finance-history-item{grid-template-columns:40px minmax(0,1fr)}
 .finance-history-item .record-actions{grid-column:2;justify-content:flex-start}
}

/* ==========================================================
   BLOCO 34 — V23.0.3: CONFIRMAÇÃO, EDIÇÃO E MAPA DE VIAGEM
   ========================================================== */
.rodvia-confirm-overlay[hidden]{display:none!important}
.rodvia-confirm-overlay{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:20px;background:rgba(1,10,21,.78);backdrop-filter:blur(5px)}
.rodvia-confirm-card{width:min(100%,470px);padding:28px;border:1px solid rgba(102,173,224,.35);border-radius:22px;background:#10283d;color:#f4f8ff;box-shadow:0 22px 70px rgba(0,0,0,.5)}
.rodvia-confirm-symbol{display:grid;place-items:center;width:44px;height:44px;margin-bottom:16px;border-radius:13px;background:rgba(255,91,105,.13);color:#ff7780;font-size:26px;font-weight:900}
.rodvia-confirm-card h2{font-size:23px;margin:0 0 10px}.rodvia-confirm-card p{color:#b7cbda;line-height:1.6;margin:0 0 24px}
.rodvia-confirm-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.rodvia-confirm-actions button{padding:12px 17px;border-radius:12px;border:1px solid rgba(115,168,205,.3);background:#17364d;color:#f4f8ff;font-weight:800;cursor:pointer;min-height:45px}.rodvia-confirm-actions #rodviaConfirmAccept{background:#c83f4d;border-color:#df6570;color:#fff}
.rodvia-confirm-actions button:focus-visible{outline:3px solid #7cbaff;outline-offset:3px}
#vehicleCancelBtn{min-height:46px;min-width:0;width:100%;padding:11px 16px;box-sizing:border-box;align-self:stretch}
/* BLOCO 36 — V23.0.4: mapa da Viagem volta às dimensões compactas originais. */
@media(max-width:620px){.rodvia-confirm-actions{flex-direction:column}.rodvia-confirm-actions button{width:100%}}

/* ==========================================================
   BLOCO 35 — CATÁLOGO GUIADO DE VEÍCULOS V23.0.5
   ========================================================== */
.vehicle-catalog-note{grid-column:1/-1;margin:0;color:var(--muted);font-size:12px;line-height:1.5}

/* ==========================================================
   BLOCO 35 — V23.0.6: CADASTRO DESTACADO E AÇÕES DE LIMPEZA
   ========================================================== */
.app-modern #vehicleForm:not([hidden]){border:1px solid #319bdf;border-radius:17px;background:rgba(34,145,217,.055);padding:16px;margin-top:16px;box-shadow:inset 0 0 0 1px rgba(49,155,223,.10)}
.app-modern #vehicleForm:not([hidden])::before{content:'CADASTRO / EDIÇÃO DE VEÍCULO';grid-column:1/-1;font-size:11px;letter-spacing:.10em;color:#76caff;font-weight:900}
.app-modern #vehicleCancelBtn{font-size:13px;min-height:43px;padding:10px 15px;align-self:end;width:100%;max-width:180px;justify-self:start}
.rodvia-search-actions{display:flex;align-items:stretch;gap:10px;flex-wrap:wrap}.rodvia-search-actions #tripCalculate{flex:1;min-width:180px}.rodvia-search-actions .rodvia-clear{flex:0 0 auto}
.mh-clear{width:100%;margin:9px 0 10px;min-height:39px;font-size:12px}
@media(max-width:720px){.app-modern #vehicleForm:not([hidden]){padding:12px}.app-modern #vehicleCancelBtn{max-width:none}.rodvia-search-actions .rodvia-clear{flex:1}}

/* ==========================================================
   BLOCO 37 — V23.0.7: CONTROLES DO CATÁLOGO E BOTÕES EQUILIBRADOS
   ========================================================== */
.app-modern #vehicleForm .vehicle-version-field{grid-column:1/3}
.app-modern #vehicleForm .vehicle-version-field input{min-width:0}
.app-modern #vehicleForm .vehicle-catalog-field{position:relative;min-width:0}
.app-modern #vehicleForm .vehicle-catalog-field input{padding-right:39px}
.app-modern #vehicleForm .vehicle-catalog-arrow{position:absolute;right:3px;bottom:2px;height:38px;width:34px;border:0;background:transparent;color:#d8edff;cursor:pointer;font-size:15px;z-index:3}
.app-modern #vehicleForm .vehicle-catalog-menu{position:absolute;top:calc(100% + 5px);left:0;right:0;max-height:245px;overflow:auto;z-index:90;background:#102b43;border:1px solid #318fd2;border-radius:12px;box-shadow:0 15px 32px rgba(0,8,18,.45);padding:5px;overscroll-behavior:contain}
.app-modern #vehicleForm .vehicle-catalog-menu[hidden]{display:none}
.app-modern #vehicleForm .vehicle-catalog-option{display:block;width:100%;text-align:left;border:0;background:transparent;color:#f0f8ff;font:inherit;font-size:13px;font-weight:700;line-height:1.4;padding:11px 12px;border-radius:8px;cursor:pointer;white-space:normal;overflow-wrap:anywhere}
.app-modern #vehicleForm .vehicle-catalog-option:hover,.app-modern #vehicleForm .vehicle-catalog-option:focus-visible{background:#205b83;outline:1px solid #49b7ff}
.app-modern #vehicleForm .vehicle-catalog-empty{color:#a8c9de;padding:12px;font-size:12px;line-height:1.4}
.app-modern #vehicleCancelBtn{max-width:none;justify-self:stretch;min-height:45px;font-size:14px}
.rodvia-search-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
.rodvia-search-actions #tripCalculate,.rodvia-search-actions .rodvia-clear{width:100%;min-width:0;min-height:48px;flex:initial;font-size:14px;padding:10px 12px}
@media(max-width:620px){.rodvia-search-actions{grid-template-columns:1fr 1fr}.app-modern #vehicleForm .vehicle-version-field{grid-column:1/-1}}


/* ==========================================================
   BLOCO 38 — V23.0.8: ROLAGEM CIANO E BOTÕES DE VIAGEM IGUAIS
   ========================================================== */
/* 38.1 — Barra de rolagem consistente nas listas do catálogo e Motorhome. */
.app-modern #vehicleForm .vehicle-catalog-menu,
.app-modern .motorhome-list,
.motorhome-list {
  scrollbar-width:thin;
  scrollbar-color:#319bdf #102b43;
}
.app-modern #vehicleForm .vehicle-catalog-menu::-webkit-scrollbar,
.app-modern .motorhome-list::-webkit-scrollbar,
.motorhome-list::-webkit-scrollbar {width:9px;height:9px}
.app-modern #vehicleForm .vehicle-catalog-menu::-webkit-scrollbar-track,
.app-modern .motorhome-list::-webkit-scrollbar-track,
.motorhome-list::-webkit-scrollbar-track {background:#102b43;border-radius:12px}
.app-modern #vehicleForm .vehicle-catalog-menu::-webkit-scrollbar-thumb,
.app-modern .motorhome-list::-webkit-scrollbar-thumb,
.motorhome-list::-webkit-scrollbar-thumb {background:#319bdf;border:2px solid #102b43;border-radius:12px}
.app-modern #vehicleForm .vehicle-catalog-menu::-webkit-scrollbar-thumb:hover,
.app-modern .motorhome-list::-webkit-scrollbar-thumb:hover,
.motorhome-list::-webkit-scrollbar-thumb:hover {background:#68c9ff}
/* 38.2 — Remover a margem superior herdada de Calcular viagem e fixar
   dimensões idênticas dos dois botões, inclusive em telas pequenas. */
.rodvia-search-actions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:10px}
.rodvia-search-actions #tripCalculate,
.rodvia-search-actions #tripClear {
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;height:52px;min-height:52px;max-height:52px;
  margin:0;padding:10px 12px;
  border-radius:13px;
  font-size:14px;line-height:1.2;
  white-space:normal;text-align:center;
  flex:none;
}
@media(max-width:380px){.rodvia-search-actions{gap:8px}.rodvia-search-actions #tripCalculate,.rodvia-search-actions #tripClear{font-size:12px;padding:8px}}

/* ==========================================================
   BLOCO 39 — V23.0.9: AJUSTES DE ROLAGEM E RESPIRO VISUAL
   ========================================================== */
/* 39.1 — Aplicar a rolagem ao contêiner real de resultados do Motorhome. */
.app-modern #motorhomeList.motorhome-results,
#motorhomeList.motorhome-results {
  scrollbar-width:auto;
  scrollbar-color:#319bdf #102b43;
}
.app-modern #motorhomeList.motorhome-results::-webkit-scrollbar,
#motorhomeList.motorhome-results::-webkit-scrollbar {width:12px;height:12px}
.app-modern #motorhomeList.motorhome-results::-webkit-scrollbar-track,
#motorhomeList.motorhome-results::-webkit-scrollbar-track {background:#102b43;border-radius:12px}
.app-modern #motorhomeList.motorhome-results::-webkit-scrollbar-thumb,
#motorhomeList.motorhome-results::-webkit-scrollbar-thumb {background:#319bdf;border:2px solid #102b43;border-radius:12px}
.app-modern #motorhomeList.motorhome-results::-webkit-scrollbar-thumb:hover,
#motorhomeList.motorhome-results::-webkit-scrollbar-thumb:hover {background:#68c9ff}
/* 39.2 — Aumentar discretamente a espessura da rolagem do catálogo. */
.app-modern #vehicleForm .vehicle-catalog-menu {scrollbar-width:auto;scrollbar-color:#319bdf #102b43}
.app-modern #vehicleForm .vehicle-catalog-menu::-webkit-scrollbar {width:12px;height:12px}
/* 39.3 — Separar os botões da mensagem informativa sem mudar suas dimensões. */
.rodvia-search-actions {margin-top:16px}
.rodvia-search-actions #tripCalculate,
.rodvia-search-actions #tripClear {height:52px;min-height:52px;max-height:52px}

/* ==========================================================
   BLOCO 23.0.10 — Cor opcional e imagem ilustrativa recolorível
   ========================================================== */
.app-modern #vehicleForm .vehicle-color-field{grid-column:1/-1}
.app-modern #vehicleForm #vehicleColor{width:100%;min-height:44px;border:1px solid #347ba8;border-radius:10px;background:#102b43;color:#edf7ff;padding:10px 12px;font:inherit}
.app-modern #vehicleForm #vehicleColor:focus{outline:2px solid #49b7ff;outline-offset:1px}
.vehicle-visual-preview{margin:14px 0;padding:12px;border:1px solid rgba(49,155,223,.38);border-radius:15px;background:linear-gradient(135deg,#0b2236,#15364d)}
.vehicle-visual-preview[hidden]{display:none}
.rodvia-vehicle-illustration{display:flex;align-items:center;flex-direction:column;gap:3px;text-align:center;color:#edf7ff}
.rodvia-vehicle-illustration svg{display:block;width:min(100%,380px);height:auto;max-height:185px}
.rodvia-vehicle-illustration strong{font-size:13px}
.rodvia-vehicle-illustration small{color:#a9c9dd;font-size:10px}

/* ==========================================================
   BLOCO 23.0.11 — MINIATURAS COMPACTAS POR TIPO DE VEÍCULO
   Mantém a cor cadastrada e remove a antiga ilustração gigante.
   ========================================================== */
.vehicle-visual-preview{display:none!important}
.home-vehicle-icon{width:76px;height:52px;overflow:hidden;border-radius:13px}
.home-vehicle-icon .rodvia-mini-svg{width:72px;height:40px;display:block}
.vehicle-account-card>button{display:flex;align-items:center;gap:12px}
.vehicle-account-copy{display:grid;gap:3px;min-width:0}
.rodvia-mini{display:grid;place-items:center;flex:0 0 88px;width:88px;height:56px;background:rgba(47,147,219,.08);border:1px solid rgba(74,158,219,.16);border-radius:12px}
.rodvia-mini-svg{width:82px;height:auto;max-height:52px;display:block}
.account-vehicle-line{display:flex;align-items:center;gap:9px}
.account-vehicle-mini{display:grid;place-items:center;flex:0 0 64px;width:64px;height:42px;background:rgba(47,147,219,.10);border-radius:10px}
.account-vehicle-mini[hidden]{display:none}
.account-vehicle-mini .rodvia-mini-svg{width:60px;height:auto}
@media(max-width:620px){.home-vehicle-icon{width:56px;height:44px}.home-vehicle-icon .rodvia-mini-svg{width:55px;height:auto}.rodvia-mini{width:68px;flex-basis:68px;height:48px}.rodvia-mini .rodvia-mini-svg{width:65px}.vehicle-account-card>button{gap:8px}}


/* ==========================================================
   BLOCO 40 — V24.0.0: HOME MOBILE FIRST + BARRA INFERIOR
   Isolado em telas pequenas para preservar o desktop.
   Safe areas permitem reutilização no Android e iOS.
   ========================================================== */
.rodvia-mobile-nav{display:none}
@media(max-width:620px){
  .app-modern{--rodvia-mobile-bottom:76px}
  .app-modern .app{padding-bottom:calc(var(--rodvia-mobile-bottom) + env(safe-area-inset-bottom,0px))}
  .app-modern .topbar{height:56px;grid-template-columns:40px 1fr auto;gap:8px}
  .app-modern .topbar .icon-btn{width:36px;height:36px;border-radius:12px}
  .app-modern .topbar .top-actions{gap:4px}
  .app-modern .topbar .brand-word>small{display:none}
  .app-modern .viewport{width:calc(100% - 28px)}
  .app-modern .view{padding-top:13px}
  .app-modern [data-view="home"] .product-home-head{margin:0 0 12px}
  .app-modern [data-view="home"] .product-home-head .eyebrow{font-size:9px!important;letter-spacing:.12em}
  .app-modern [data-view="home"] .product-home-head h1{font-size:clamp(23px,6.3vw,30px)!important;line-height:1.12;margin:5px 0 0}
  .app-modern [data-view="home"] .product-home-head>p{display:none}
  .app-modern [data-view="home"] .home-vehicle-hero{padding:12px;border-radius:18px;min-height:86px;gap:9px}
  .app-modern [data-view="home"] .home-vehicle-copy strong{font-size:16px!important;line-height:1.2}
  .app-modern [data-view="home"] .home-vehicle-copy>span{font-size:11px!important;line-height:1.3}
  .app-modern [data-view="home"] .home-health{padding-top:7px}
  .app-modern [data-view="home"] .product-section-head{margin:14px 0 8px}
  .app-modern [data-view="home"] .product-section-head h2{font-size:16px!important}
  .app-modern [data-view="home"] .product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .app-modern [data-view="home"] .product-card{min-height:94px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;padding:11px;border-radius:17px}
  .app-modern [data-view="home"] .product-card .product-icon{width:31px;height:31px;border-radius:10px}
  .app-modern [data-view="home"] .product-card strong{font-size:13px!important}
  .app-modern [data-view="home"] .product-card small{display:none}
  .app-modern [data-view="home"] .product-card>b{display:none}
  .app-modern .rodvia-mobile-nav{position:fixed;z-index:75;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;min-height:var(--rodvia-mobile-bottom);padding:7px max(8px,env(safe-area-inset-left,0px)) calc(7px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-right,0px));background:color-mix(in srgb,var(--surface) 94%,transparent);border-top:1px solid var(--line);box-shadow:0 -8px 28px rgba(0,0,0,.16);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
  .app-modern .rodvia-mobile-nav button{border:0;background:transparent;color:var(--muted);display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-width:0;min-height:53px;border-radius:12px;cursor:pointer}
  .app-modern .rodvia-mobile-nav button>span{font-size:22px;line-height:1}
  .app-modern .rodvia-mobile-nav button>small{font-size:10px;font-weight:750;white-space:nowrap}
  .app-modern .rodvia-mobile-nav button.is-active{color:var(--blue);background:color-mix(in srgb,var(--blue) 11%,transparent)}
  .app-modern .rodvia-mobile-nav button:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}
  .app-modern .app-footer{padding-bottom:10px}
}
@media(max-width:350px){.app-modern .rodvia-mobile-nav button>small{font-size:9px}.app-modern [data-view="home"] .product-card{min-height:84px}}
@media(prefers-reduced-motion:reduce){.rodvia-mobile-nav *{transition:none!important}}

/* ============================================================
   BLOCO 41 — V24.0.1: DASHBOARD DE APLICATIVO PARA SMARTPHONES
   Escopo exclusivo mobile. Desktop e dados permanecem intactos.
   ============================================================ */
.rodvia-mobile-actions{display:none}
@media(max-width:620px){
  /* 41.1 — Cabeçalho enxuto e espaço real de conteúdo. */
  .app-modern .topbar{height:52px;min-height:52px;padding-top:0;padding-bottom:0}
  .app-modern .topbar .brand-word{font-size:23px}
  .app-modern .topbar #botaoAcessibilidade{display:none}
  .app-modern .viewport{width:calc(100% - 28px);margin-inline:auto}
  .app-modern .view[data-view="home"]{padding-top:10px!important}
  .app-modern [data-view="home"] .product-home-head{margin:0 0 12px!important;padding:0!important;min-height:0!important;transform:none!important}
  .app-modern [data-view="home"] .product-home-head .eyebrow{font-size:10px!important;letter-spacing:.08em!important;opacity:.85}
  .app-modern [data-view="home"] .product-home-head h1{font-size:23px!important;line-height:1.15!important;margin:3px 0!important}
  .app-modern [data-view="home"] .product-home-head p{display:none!important}
  /* 41.2 — Veículo como elemento central, com dados reais existentes. */
  .app-modern [data-view="home"] .home-vehicle-hero{margin:0!important;min-height:100px!important;padding:13px!important;border-radius:17px!important;gap:10px!important;align-items:center!important}
  .app-modern [data-view="home"] .home-vehicle-icon{flex:0 0 58px;width:58px;height:52px}
  .app-modern [data-view="home"] .home-vehicle-copy{min-width:0;gap:3px}
  .app-modern [data-view="home"] .home-vehicle-copy small{font-size:9px!important;letter-spacing:.08em}
  .app-modern [data-view="home"] .home-vehicle-copy strong{font-size:17px!important;line-height:1.15!important}
  .app-modern [data-view="home"] .home-vehicle-copy>span{font-size:11px!important;line-height:1.25!important}
  .app-modern [data-view="home"] .home-vehicle-km{font-size:12px}
  .app-modern [data-view="home"] .home-chevron{font-size:20px}
  /* 41.3 — Ações de um toque, sem navegação por uma vitrine de cartões. */
  .app-modern .rodvia-mobile-actions{display:block;margin:17px 0 0}
  .app-modern .rodvia-mobile-section-label{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0 0 9px 2px}
  .app-modern .rodvia-action-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
  .app-modern .rodvia-action-grid button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:86px;padding:10px 3px;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--text);font:inherit;cursor:pointer}
  .app-modern .rodvia-action-grid button>span{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:color-mix(in srgb,var(--blue) 13%,transparent);color:var(--blue);font-size:21px;line-height:1}
  .app-modern .rodvia-action-grid button strong{font-size:10px;font-weight:750;line-height:1.1;white-space:nowrap}
  .app-modern .rodvia-action-grid button:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
  /* 41.4 — Lista de utilidades: apenas o que não está nos atalhos. */
  .app-modern [data-view="home"] .product-section-head{margin:19px 0 8px!important}
  .app-modern [data-view="home"] .product-section-head span{font-size:10px!important}
  .app-modern [data-view="home"] .product-section-head h2{font-size:15px!important;margin-top:2px!important}
  .app-modern [data-view="home"] .product-grid{display:flex!important;flex-direction:column!important;gap:7px!important}
  .app-modern [data-view="home"] .product-grid .product-card{display:none!important}
  .app-modern [data-view="home"] .product-grid .motorhome-card,
  .app-modern [data-view="home"] .product-grid .product-card[data-go="detrans"]{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;min-height:54px!important;padding:9px 13px!important;border-radius:13px!important}
  .app-modern [data-view="home"] .product-grid .product-icon{flex:0 0 30px;width:30px;height:30px}
  .app-modern [data-view="home"] .product-grid .product-card strong{font-size:13px!important}
  .app-modern [data-view="home"] .product-grid .product-card small{display:block!important;font-size:10px!important}
  .app-modern [data-view="home"] .product-grid .product-card>b{display:block!important;margin-left:auto}
  /* 41.5 — Barra inferior discreta e adequada a áreas seguras do iPhone. */
  .app-modern{--rodvia-mobile-bottom:65px}
  .app-modern .rodvia-mobile-nav{min-height:65px;padding-top:5px;padding-bottom:calc(5px + env(safe-area-inset-bottom,0px))}
  .app-modern .rodvia-mobile-nav button{min-height:52px;gap:3px}
  .app-modern .rodvia-mobile-nav button>span{font-size:20px}
  .app-modern .rodvia-mobile-nav button>small{font-size:9px}
  .app-modern .rodvia-mobile-nav button.is-active{background:transparent;border-radius:0;box-shadow:inset 0 2px 0 var(--blue)}
  .app-modern [data-view="home"]{padding-bottom:10px}
}
@media(max-width:370px){.app-modern .rodvia-action-grid{gap:5px}.app-modern .rodvia-action-grid button strong{font-size:9px}}

/* ============================================================
   BLOCO 42 — V24.0.2: HOME MOBILE COM VEÍCULO E SEIS SERVIÇOS
   42.1 — Mantém desktop, cores, fontes e regras de dados.
   42.2 — Usa a altura disponível e não duplica navegação na Home.
   42.3 — Áreas de toque generosas; rolagem só quando necessária.
   ============================================================ */
.rodvia-six-services{display:none}
@media(max-width:620px){
  /* 42.1 — Elimina apresentação redundante na Home. */
  .app-modern .view[data-view="home"] .product-home-head{display:none!important}
  .app-modern .view[data-view="home"]{padding-top:8px!important}
  .app-modern .view[data-view="home"] .home-vehicle-hero{min-height:clamp(104px,17dvh,146px)!important;padding:16px!important;margin-bottom:12px!important}
  .app-modern .view[data-view="home"] .home-vehicle-copy strong{font-size:clamp(17px,4.7vw,21px)!important}
  .app-modern .view[data-view="home"] .home-vehicle-icon{flex-basis:68px;width:68px;height:56px}
  .app-modern .view[data-view="home"] .home-vehicle-icon .rodvia-mini-svg{width:66px}
  /* 42.2 — O menu inferior permanece nas telas internas, mas não ocupa a Home. */
  .app-modern:has(.view[data-view="home"].active) .rodvia-mobile-nav{display:none!important}
  .app-modern:has(.view[data-view="home"].active) .app{padding-bottom:env(safe-area-inset-bottom,0px)!important}
  .app-modern .rodvia-six-services{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(96px,1fr));gap:clamp(9px,1.5dvh,14px);margin:10px 0 14px;min-height:clamp(330px,53dvh,510px)}
  .app-modern .rodvia-service-tile{min-width:0;min-height:96px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:9px;padding:12px 7px;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:18px;font:inherit;box-shadow:0 5px 14px rgba(0,0,0,.08);cursor:pointer}
  .app-modern .rodvia-service-tile:active{transform:scale(.985)}
  .app-modern .rodvia-service-tile:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
  .app-modern .rodvia-service-tile strong{font-size:clamp(13px,3.5vw,16px);font-weight:800;text-align:center;line-height:1.2}
  .app-modern .rodvia-service-symbol{display:grid;place-items:center;width:clamp(48px,7dvh,64px);height:clamp(48px,7dvh,64px);border-radius:16px;background:color-mix(in srgb,var(--blue) 13%,transparent);color:var(--blue)}
  .app-modern .rodvia-service-symbol svg{width:65%;height:65%;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
  .app-modern .view[data-view="home"] .rodvia-mobile-actions,.app-modern .view[data-view="home"] .product-section-head,.app-modern .view[data-view="home"] .product-grid{display:none!important}
  /* 42.3 — Mantém os alertas existentes quando há registros. */
  .app-modern .view[data-view="home"] .home-health:not([hidden]){margin:0 0 8px}
  .app-modern .topbar #accountBtn{width:44px;height:44px;min-width:44px;font-size:24px;border-radius:14px}
}
@media(max-width:380px){.app-modern .rodvia-six-services{gap:9px;min-height:315px}.app-modern .rodvia-service-tile{padding:8px 4px}}
@media(max-width:620px) and (max-height:690px){.app-modern .rodvia-six-services{min-height:300px;grid-template-rows:repeat(3,minmax(88px,1fr))}.app-modern .rodvia-service-tile{min-height:88px;gap:5px}.app-modern .rodvia-service-symbol{width:44px;height:44px}}

/* ============================================================
   BLOCO 43 — V24.0.4: ACABAMENTO DA HOME MOBILE
   43.1 — Alinha o conteúdo ao topo, eliminando espaço ocioso.
   43.2 — Mantém os seis cards grandes e adapta a altura à tela.
   43.3 — Amplia os controles de perfil e tema para toque confortável.
   43.4 — Retira somente o rodapé da Home no smartphone.
   Desktop, cores, fontes, autenticação e serviços não são alterados.
   ============================================================ */
@media (max-width:620px) {
  /* 43.1 — O margin:auto da viewport centralizava verticalmente o conteúdo
     na linha flexível do grid principal em alguns tamanhos de tela. */
  .app-modern .viewport { margin:0 auto; align-self:start; }
  .app-modern .view[data-view="home"] { padding-top:10px!important; padding-bottom:8px!important; }

  /* 43.2 — Compactação moderada sem reduzir ícones nem textos dos serviços. */
  .app-modern .view[data-view="home"] .home-vehicle-hero {
    min-height:clamp(104px,15dvh,132px)!important;
    padding:13px 15px!important;
    margin-bottom:6px!important;
  }
  .app-modern .view[data-view="home"] .home-health:not([hidden]) {
    padding-top:5px;
    margin:0 0 4px;
    gap:6px;
  }
  .app-modern .rodvia-six-services {
    min-height:clamp(315px,46dvh,460px);
    margin:7px 0 8px;
    gap:clamp(9px,1.25dvh,12px);
  }
  .app-modern .rodvia-service-tile { padding:10px 7px; }

  /* 43.3 — Botões de conta e tema com pelo menos 44px de área tocável. */
  .app-modern .topbar { grid-template-columns:44px minmax(0,1fr) auto; gap:8px; }
  .app-modern .topbar .top-actions { gap:7px; align-items:center; }
  .app-modern .topbar #botaoTema,
  .app-modern .topbar #accountBtn {
    display:grid!important;
    place-items:center;
    width:46px;
    height:46px;
    min-width:46px;
    min-height:46px;
    padding:0;
    border-radius:14px;
    font-size:24px;
    line-height:1;
  }
  .app-modern .topbar #menuBtn { width:44px; height:44px; min-width:44px; }

  /* 43.4 — Rodapé institucional só é omitido na Home mobile. */
  .app-modern:has(.view[data-view="home"].active) .app-footer { display:none!important; }
}
@media (max-width:380px) {
  /* 43.5 — Ajustes de encaixe para telas estreitas sem sacrificar o toque. */
  .app-modern .topbar .top-actions { gap:4px; }
  .app-modern .topbar #botaoTema,
  .app-modern .topbar #accountBtn { width:44px; height:44px; min-width:44px; min-height:44px; }
  .app-modern .rodvia-six-services { min-height:310px; }
}

/* ==========================================================
   BLOCO 44 — V24.0.5: UX MOBILE POR PAINÉIS
   Preserva a paleta e tipografia existentes; desktop inalterado.
   ========================================================== */
.mobile-view-switch,.mobile-floating-action,.detran-mobile-controls{display:none}
.detran-grid .detran-card[hidden]{display:none!important}
@media(max-width:850px){
  /* 44.1 — Cabeçalho interno mais compacto e retorno confortável. */
  .app-modern .view:not([data-view="home"]) .view-head{margin:4px 0 13px!important;gap:12px!important;align-items:center!important}
  .app-modern .view:not([data-view="home"]) .view-head h1{font-size:clamp(24px,6vw,34px)!important;line-height:1.13!important;margin:3px 0!important}
  .app-modern .view:not([data-view="home"]) .view-head p{display:none!important}
  .app-modern .back-btn{width:48px!important;height:48px!important;min-width:48px!important;font-size:26px!important;display:grid!important;place-items:center!important}
  /* 44.2 — Alternância de painéis sem páginas gigantes. */
  .mobile-view-switch{display:grid;grid-template-columns:1fr 1fr;gap:5px;background:var(--surface2);border:1px solid var(--line);padding:5px;border-radius:15px;margin:9px 0 13px}
  .mobile-view-switch button{border:0;border-radius:11px;background:transparent;color:var(--muted);font:inherit;font-weight:800;padding:12px 7px;min-height:44px;cursor:pointer}
  .mobile-view-switch button.active{background:var(--blue2);color:#fff}
  .mobile-floating-action{display:block;width:100%;min-height:46px;border:0;border-radius:13px;background:var(--blue2);color:#fff;font:inherit;font-weight:850;margin-bottom:12px;cursor:pointer}
  /* 44.3 — Motorhome: a lista e o mapa nunca competem por gestos. */
  .motorhome-view[data-mobile-mh="list"] .motorhome-map-card{display:none!important}
  .motorhome-view[data-mobile-mh="map"] .motorhome-panel{display:none!important}
  .motorhome-view .motorhome-map-layout{display:block!important}
  .motorhome-view .motorhome-results{max-height:none!important;overflow:visible!important}
  .motorhome-view .motorhome-panel{padding:12px!important;gap:8px!important}
  .motorhome-view .motorhome-map-card{height:calc(100dvh - 260px)!important;min-height:360px!important;max-height:750px!important}
  .motorhome-view .motorhome-map{height:100%!important;min-height:0!important}
  .motorhome-view .motorhome-source{font-size:10px}
  /* 44.4 — Manutenção: alertas e histórico são telas alternativas. */
  .view[data-view="manutencao"][data-mobile-maint="alerts"] .history-panel{display:none!important}
  .view[data-view="manutencao"][data-mobile-maint="history"] .maintenance-panel{display:none!important}
  .view[data-view="manutencao"] .vehicle-panel-head p{display:none!important}
  .view[data-view="manutencao"] #addMaintenanceBtn{display:none!important}
  /* 44.5 — Abastecimento: indicadores em 2×2, histórico em aba própria. */
  .view[data-view="gastos"] .finance-summary-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  .view[data-view="gastos"] .finance-summary-card{min-width:0!important;padding:13px 11px!important;min-height:110px!important}
  .view[data-view="gastos"] .finance-summary-card strong{font-size:clamp(16px,4.2vw,23px)!important;overflow-wrap:anywhere}
  .view[data-view="gastos"] .finance-summary-card small{font-size:10px!important}
  .view[data-view="gastos"] .finance-summary-card span{font-size:10px!important}
  .view[data-view="gastos"][data-mobile-finance="summary"] .finance-dashboard>.history-panel{display:none!important}
  .view[data-view="gastos"][data-mobile-finance="history"] .finance-summary-grid,.view[data-view="gastos"][data-mobile-finance="history"] .finance-dashboard>.finance-actions-panel{display:none!important}
  /* 44.6 — Veículo: manter a garagem como foco e acesso à manutenção compacto. */
  .view[data-view="meu-veiculo"] .view-head{margin-bottom:10px!important}
  .view[data-view="meu-veiculo"] .vehicle-profile-panel{padding:14px!important}
  .view[data-view="meu-veiculo"] .maintenance-overview-card{padding:12px 15px!important;margin-top:10px!important;min-height:70px!important}
  .view[data-view="meu-veiculo"] .maintenance-overview-card em{display:none!important}
  /* 44.7 — DETRANs: cinco regiões e uma lista curta por vez. */
  .detran-mobile-controls{display:block}
  .detran-search-label{display:block;color:var(--muted);font-size:12px;font-weight:750;margin:0 0 6px}
  #detranSearch{width:100%;padding:14px;border:1px solid var(--line);border-radius:13px;background:var(--surface2);color:var(--text);font:inherit;margin-bottom:13px}
  .detran-regions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .detran-regions[hidden],.detran-region-bar[hidden]{display:none!important}
  .region-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;min-height:102px;padding:16px;border:1px solid var(--line);border-radius:18px;background:var(--surface);color:var(--text);text-align:left;cursor:pointer}
  .region-card strong{font-size:17px}.region-card small{color:var(--blue);font-size:12px}
  .detran-region-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0}
  .detran-region-bar button{padding:11px 14px;background:var(--surface2);border:1px solid var(--line);border-radius:12px;color:var(--text);font-weight:800}
  .detran-grid:not(.detran-grid-open){display:none!important}
  .detran-grid.detran-grid-open{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  .detran-grid .detran-card{padding:12px 8px!important;min-height:78px!important;gap:6px!important}
  .detran-grid .detran-card b{font-size:13px!important;min-width:34px!important}
  .detran-grid .detran-card span{font-size:12px!important}
  /* 44.8 — Barra de navegação: ícones coloridos e altura segura. */
  .rodvia-mobile-nav button>span.nav-color-icon{font-size:24px!important;filter:saturate(1.2)}
  .rodvia-mobile-nav button>span.nav-home{color:#f1b83d}
  .rodvia-mobile-nav button>span.nav-trip{color:#43b9f0}
  .rodvia-mobile-nav button>span.nav-maint{color:#ef9b3b}
  .app-modern .app{padding-bottom:calc(100px + env(safe-area-inset-bottom,0px))!important}
  /* 44.9 — Opções de aparência no perfil, com alvos de toque amplos. */
  .account-appearance{padding:14px 0 2px;border-top:1px solid var(--line);margin-top:12px}
  .account-appearance>strong{display:block;margin-bottom:9px;color:var(--text)}
  .appearance-options{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));margin:0}
  .appearance-options button{font-size:12px;padding:10px 2px}
  .app-modern .topbar #botaoTema{display:none!important}
}
@media(min-width:851px){.account-appearance{padding:12px 0;margin-top:12px;border-top:1px solid var(--line)}.account-appearance>strong{display:block;margin-bottom:9px}.appearance-options{display:grid;grid-template-columns:repeat(3,1fr)}}

/* BLOCO 44.10 — Ocultar duplicidade de ação e compactar formulário de viagem. */
@media(max-width:850px){
 .view[data-view="gastos"] .finance-actions-panel{display:none!important}
 .view[data-view="viagem"] .view-head{margin-bottom:8px!important}
 .view[data-view="viagem"] .trip-form-card{padding:12px!important}
 .view[data-view="viagem"] .trip-form-card label{margin-bottom:4px!important}
 .view[data-view="viagem"] .trip-smart{margin:7px 0!important;font-size:11px!important}
 .view[data-view="viagem"] .trip-toggle{margin:6px 0!important}
 .view[data-view="viagem"] .rodvia-search-actions{margin-top:7px!important}
}

/* ============================================================
   BLOCO 46 — V24.0.5.1: CARDS VISÍVEIS TAMBÉM NO DESKTOP
   A grade de seis serviços existia, mas era ocultada acima de 620px.
   ============================================================ */
@media (min-width:621px) {
  .app-modern .view[data-view="home"] .rodvia-six-services {
    display:grid; grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px; margin:20px 0 24px; min-height:0;
  }
  .app-modern .view[data-view="home"] .rodvia-service-tile {
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    gap:12px; min-height:140px; padding:18px; cursor:pointer;
    border:1px solid var(--line); border-radius:20px;
    background:var(--surface); color:var(--text); font:inherit;
  }
  .app-modern .view[data-view="home"] .rodvia-service-symbol {
    display:grid; place-items:center; width:54px; height:54px;
    border-radius:16px; background:var(--surface2); color:var(--blue);
  }
  .app-modern .view[data-view="home"] .rodvia-service-symbol svg {
    width:32px; height:32px; fill:none; stroke:currentColor;
    stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round;
  }
  .app-modern .view[data-view="home"] .rodvia-service-tile strong {
    font-size:16px; text-align:center;
  }
}
@media (min-width:621px) and (max-width:900px) {
  .app-modern .view[data-view="home"] .rodvia-six-services {grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* ============================================================
   BLOCO 47 — V24.0.5.2: HOME MOBILE APROVADA
   47.1 — Veículo principal é o único atalho da garagem.
   47.2 — Quatro serviços equivalentes em grade de duas colunas.
   47.3 — DETRANs ocupa uma linha horizontal de destaque moderado.
   47.4 — Distribuição vertical adaptativa sem distorcer os cards.
   ============================================================ */
.app-modern .view[data-view="home"] .rodvia-six-services{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-template-rows:none!important;
  grid-auto-rows:auto!important;
  gap:clamp(10px,1.6dvh,16px)!important;
  min-height:0!important;
  margin:clamp(14px,2.5dvh,26px) 0 22px!important;
}
.app-modern .view[data-view="home"] .rodvia-service-tile{
  display:flex!important;
  min-width:0;
  min-height:clamp(114px,18dvh,180px)!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:center!important;
  gap:10px!important;
  padding:14px 10px!important;
  border-radius:20px!important;
}
.app-modern .view[data-view="home"] .rodvia-service-symbol{
  display:grid!important;place-items:center!important;
  width:clamp(52px,8dvh,72px)!important;
  height:clamp(52px,8dvh,72px)!important;
  border-radius:18px!important;
}
.app-modern .view[data-view="home"] .rodvia-service-symbol svg{width:61%!important;height:61%!important}
.app-modern .view[data-view="home"] .rodvia-service-tile strong{font-size:clamp(14px,3.5vw,19px)!important}
.app-modern .view[data-view="home"] .rodvia-detrans-wide{
  grid-column:1/-1!important;
  flex-direction:row!important;
  justify-content:flex-start!important;
  align-items:center!important;
  min-height:clamp(88px,13dvh,135px)!important;
  gap:18px!important;
  padding:16px 22px!important;
}
.app-modern .view[data-view="home"] .rodvia-detrans-wide .rodvia-service-symbol{
  width:clamp(52px,7dvh,66px)!important;
  height:clamp(52px,7dvh,66px)!important;
  flex:0 0 auto!important;
}
@media(max-width:620px){
  .app-modern .view[data-view="home"]{padding-top:clamp(16px,3dvh,35px)!important}
  .app-modern .view[data-view="home"] .home-vehicle-hero{
    min-height:clamp(108px,16dvh,154px)!important;
    margin-bottom:clamp(10px,2dvh,20px)!important;
  }
  .app-modern .view[data-view="home"] .rodvia-six-services{
    gap:clamp(10px,1.5dvh,16px)!important;
    margin-top:clamp(12px,2dvh,22px)!important;
  }
}
@media(max-width:380px){
  .app-modern .view[data-view="home"] .rodvia-service-tile{min-height:104px!important}
  .app-modern .view[data-view="home"] .rodvia-detrans-wide{min-height:84px!important}
}

/* ============================================================
   BLOCO 49 — V24.0.5.3: GRADE SIMÉTRICA E DESPESAS
   ============================================================ */
.app-modern .view[data-view="home"] .rodvia-six-services{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:repeat(3,minmax(0,1fr))!important}
.app-modern .view[data-view="home"] .rodvia-six-services .rodvia-service-tile{grid-column:auto!important;flex-direction:column!important;justify-content:center!important;min-height:clamp(105px,15dvh,160px)!important;padding:12px 8px!important}
.rodvia-expenses-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}
.rodvia-expenses-summary article,.rodvia-expenses-panel{border:1px solid var(--line);background:var(--panel);border-radius:18px;padding:17px}
.rodvia-expenses-summary small{display:block;color:var(--muted);font-size:.78rem;margin-bottom:9px}.rodvia-expenses-summary strong{font-size:clamp(1rem,2.5vw,1.5rem);overflow-wrap:anywhere}
.rodvia-expenses-panel{margin-bottom:14px}.rodvia-expenses-panel h2{margin:0 0 15px;font-size:1.08rem}.rodvia-expenses-bars{display:grid;gap:14px}.rodvia-expenses-bars span{font-weight:700;font-size:.88rem}.rodvia-expenses-track{height:13px;background:rgba(127,153,176,.17);border-radius:20px;margin-top:7px;overflow:hidden}.rodvia-expenses-track i{display:block;height:100%;width:0;background:#36a8f5;border-radius:20px;transition:width .2s}.rodvia-expenses-bars>div:nth-child(2) i{background:#ffc247}.rodvia-expenses-note{font-size:.8rem;color:var(--muted);line-height:1.5;margin:16px 0 0}.rodvia-expenses-months{display:grid;gap:8px}.rodvia-expenses-month{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}.rodvia-expenses-month small{color:var(--muted)}
@media(max-width:620px){.rodvia-expenses-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.rodvia-expenses-summary article:first-child{grid-column:1/-1}.rodvia-expenses-summary article{padding:13px}.app-modern .view[data-view="home"] .rodvia-six-services .rodvia-service-tile{min-height:clamp(100px,14dvh,148px)!important}}

/* ==========================================================
   BLOCO 45 — V24.0.5.4: UX CONSOLIDADA / PRO DEMONSTRATIVO
   45.1 — PRO com a mesma cor amarela da marca.
   ========================================================== */
.rd-pro-heading{grid-column:1/-1;display:flex;align-items:center;gap:9px;color:var(--text);font-size:15px;margin:12px 0 0}.rd-pro-heading>span{color:var(--yellow);font-size:22px}.rd-pro-heading small{margin-left:auto;color:var(--muted);font-size:9px;letter-spacing:.08em}.rodvia-service-tile.rd-pro-tile{border:1px solid var(--yellow)!important;background:linear-gradient(145deg,var(--surface),rgba(255,193,38,.05))!important}.rd-pro-icon{font-size:42px;color:var(--yellow);line-height:1.2}.rd-pro-label{border:1px solid var(--yellow);border-radius:999px;color:var(--yellow);padding:3px 11px;font-size:10px;font-weight:900;letter-spacing:.1em}.rd-pro-view .rd-pro-hero{display:flex;gap:18px;align-items:center;padding:23px;border:1px solid var(--yellow);border-radius:20px;background:var(--surface)}.rd-pro-hero>span{font-size:52px}.rd-pro-hero strong{font-size:23px}.rd-pro-hero p,.rd-pro-notice p{color:var(--muted);line-height:1.5}.rd-pro-features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:15px 0}.rd-pro-features article{display:grid;gap:8px;padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--surface);font-size:23px}.rd-pro-features strong{font-size:17px}.rd-pro-features small{font-size:13px;color:var(--muted)}.rd-pro-notice{border:1px solid var(--line);border-radius:16px;padding:18px;background:var(--surface)}
/* 45.2 — Motorhome: controles e mapa simultâneos, sem aba escondida. */
.motorhome-view .motorhome-map-layout{display:grid!important;grid-template-columns:minmax(280px,350px) minmax(0,1fr)!important;gap:12px!important;min-height:0!important}.motorhome-view .motorhome-map-card{display:block!important}.motorhome-view .motorhome-panel{display:flex!important}.motorhome-view .motorhome-results,.motorhome-view .motorhome-pagination{display:none!important}.motorhome-view .motorhome-summary>small,.motorhome-view .motorhome-source{display:none!important}.motorhome-view .motorhome-map-card{height:min(70vh,670px);min-height:360px}.motorhome-view .motorhome-map{height:100%!important}.rd-maps-link{display:inline-flex;align-items:center;justify-content:center;margin:10px 0 0;padding:10px 14px;border:1px solid var(--yellow);border-radius:12px;color:var(--yellow);text-decoration:none;font-weight:850}.motorhome-selected{max-height:155px;overflow:auto}
/* 45.3 — Central do Veículo: retirar duplicação visual e comprimir ações. */
.view[data-view="meu-veiculo"] .vehicle-panel-head h2,.view[data-view="meu-veiculo"] .vehicle-panel-head p{display:none!important}.view[data-view="meu-veiculo"] .vehicle-profile-panel{padding:14px!important}.view[data-view="meu-veiculo"] .vehicle-km-update{margin-top:10px!important;padding:12px!important}.view[data-view="meu-veiculo"] .maintenance-overview-card{min-height:62px!important;padding:12px!important}.view[data-view="meu-veiculo"] .maintenance-overview-card strong{font-size:16px!important}.view[data-view="meu-veiculo"] .maintenance-overview-card em{display:none!important}
/* 45.4 — Despesas: último painel alcançável e sem rolagem elástica interna. */
.rodvia-expenses-view{padding-bottom:36px!important;overscroll-behavior-y:contain}.rodvia-expenses-view .rodvia-expenses-panel:last-child{margin-bottom:0!important}
@media(max-width:850px){
 .motorhome-view .motorhome-map-layout{display:flex!important;flex-direction:column!important;gap:8px!important}.motorhome-view .motorhome-panel{padding:10px!important;gap:7px!important;flex:none!important}.motorhome-view .motorhome-summary{display:flex!important;gap:9px!important;align-items:baseline!important}.motorhome-view .motorhome-summary>strong{font-size:14px!important}.motorhome-view .motorhome-summary .vehicle-kicker{font-size:10px!important}.motorhome-view .motorhome-map-card{height:calc(100dvh - 360px)!important;min-height:280px!important;max-height:none!important;overflow:hidden!important}.motorhome-view .motorhome-map{height:100%!important}.motorhome-view .motorhome-view-switch{display:none!important}.motorhome-view .motorhome-filters button{min-height:40px}.motorhome-view .motorhome-selected{position:absolute;bottom:8px;left:8px;right:8px;z-index:3;max-height:135px;background:var(--surface);box-shadow:0 8px 20px #0008}.motorhome-view .motorhome-map-card{position:relative}.trip-view .trip-layout{display:block!important}.trip-view .trip-fields{display:grid!important;grid-template-columns:1fr 42px 1fr!important;align-items:end!important;gap:6px!important}.trip-view .trip-fields label{min-width:0!important}.trip-view .trip-fields input{min-width:0!important;padding:10px 9px!important;font-size:14px!important}.trip-view .trip-swap{height:42px!important}.trip-view .trip-options{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;margin-top:9px!important}.trip-view .trip-toggle{grid-column:1/-1!important;height:39px!important;min-height:39px!important}.trip-view .trip-options label>span{font-size:10px!important}.trip-view .trip-input-unit{height:42px!important;min-height:42px!important}.trip-view .trip-input-unit input{padding:8px 5px!important;font-size:14px!important}.trip-view .trip-input-unit b{padding:0 5px!important;font-size:10px!important}.trip-view .trip-smart,.trip-view .trip-source-note{display:none!important}.trip-view .trip-planner-card{padding:12px!important}.trip-view .rodvia-search-actions{margin-top:8px!important}.trip-view .trip-map-card{margin-top:12px!important;min-height:0!important}.trip-view .trip-map{height:220px!important}.trip-view .trip-map-head{display:none!important}.rd-pro-heading{font-size:13px}.rd-pro-heading small{font-size:8px}.rd-pro-view .rd-pro-hero{padding:14px;gap:12px}.rd-pro-hero>span{font-size:35px}.rd-pro-hero strong{font-size:18px}.rd-pro-features article{padding:12px}.rd-pro-features strong{font-size:14px}
}
@media(prefers-reduced-motion:reduce){.rd-pro-tile,.rd-maps-link{animation:none!important;transition:none!important}}
/* BLOCO 45.5 — Sobrepõe alternância antiga sem remover controles ou dados. */
@media(max-width:850px){
.motorhome-view[data-mobile-mh="map"] .motorhome-panel,.motorhome-view[data-mobile-mh="list"] .motorhome-panel{display:flex!important}
.motorhome-view[data-mobile-mh="map"] .motorhome-map-card,.motorhome-view[data-mobile-mh="list"] .motorhome-map-card{display:block!important}
.motorhome-view .mh-view-switch{display:none!important}
}

/* ============================================================
   BLOCO 50 — V24.0.5.5: ACABAMENTO RESPONSIVO / DETRANS VISUAIS
   50.1 — Cards regionais com ilustração vetorial leve.
   50.2 — Bandeiras com fallback para sigla (caso imagem indisponível).
   50.3 — Garagem e home: redução de espaços sem cortar dados.
   ============================================================ */
.detran-regions .region-card{display:flex!important;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;position:relative;overflow:hidden;min-height:112px;padding:14px 16px!important}
.rd-region-visual{position:absolute;right:12px;top:50%;transform:translateY(-50%);width:76px;height:76px;opacity:.48;pointer-events:none}
.rd-region-visual svg{width:100%;height:100%;fill:rgba(75,168,245,.23);stroke:#55b3ff;stroke-width:2;stroke-linejoin:round}
.detran-regions .region-card strong,.detran-regions .region-card small{position:relative;z-index:1}
.detran-regions .region-card small{font-size:12px!important}
.detran-card .rd-state-badge{position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}
.detran-card .rd-state-badge img{display:block;width:100%;height:100%;object-fit:contain;border-radius:5px}
.detran-card .rd-state-badge img[hidden]{display:none}
.detran-card .rd-state-badge .rd-uf-fallback{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
@media(max-width:850px){
 .app-modern .view[data-view="home"]{padding-top:10px!important}
 .app-modern .view[data-view="home"] .home-vehicle-hero{margin-bottom:12px!important}
 .app-modern .view[data-view="home"] .rodvia-six-services{gap:8px!important}
 .app-modern .view[data-view="home"] .rodvia-six-services .rodvia-service-tile{min-height:clamp(88px,11dvh,125px)!important;padding:9px 6px!important}
 .app-modern .view[data-view="home"] .rodvia-service-symbol{width:52px!important;height:52px!important}
 .app-modern .view[data-view="home"] .rd-pro-heading{margin-top:7px!important}
 .app-modern .view[data-view="home"] .rd-pro-tile{min-height:115px!important;padding:10px!important}
 .view[data-view="meu-veiculo"] .vehicle-profile-panel{padding:10px!important}
 .view[data-view="meu-veiculo"] .vehicle-panel-head{margin-bottom:7px!important}
 .view[data-view="meu-veiculo"] .vehicle-km-update{margin-top:7px!important;padding:9px!important}
 .view[data-view="meu-veiculo"] .maintenance-overview-card{min-height:54px!important;padding:9px!important}
 .detran-regions .region-card{min-height:94px!important}
 .motorhome-view .motorhome-map-card{height:max(270px,calc(100dvh - 425px))!important}
 .motorhome-view .motorhome-panel{padding:8px!important}
 .motorhome-view .motorhome-filters button{min-height:36px!important}
 .trip-view .trip-map{height:clamp(155px,24dvh,260px)!important}
 .rodvia-expenses-view{padding-bottom:12px!important}
}
@media(min-width:851px){
 .app-modern .view[data-view="home"] .rodvia-six-services .rodvia-service-tile{min-height:95px!important}
 .app-modern .view[data-view="home"] .rodvia-six-services{gap:10px!important}
 .app-modern .view[data-view="home"] .rd-pro-tile{min-height:110px!important}
}

/* ============================================================
   BLOCO 51 — V24.0.5.6: FLUXO VIAGEM / VIEWPORT / DESKTOP
   51.1 — Viagem em duas etapas no celular: planejar e resultado.
   51.2 — Motorhome: mapa ajustado à altura útil da tela.
   51.3 — Home desktop: PRO visível sem cortes artificiais.
   51.4 — Barra fixa e controle de rolagem elástica.
   ============================================================ */
.rd-trip-edit{display:none;margin-bottom:9px;width:100%;min-height:39px}
@media(max-width:850px){
 .trip-view[data-trip-step="plan"] .trip-map-card{display:none!important}
 .trip-view[data-trip-step="result"] .trip-planner-card{display:none!important}
 .trip-view[data-trip-step="result"] .rd-trip-edit{display:block!important}
 .trip-view[data-trip-step="result"] .trip-map-card{margin-top:0!important;padding:10px!important}
 .trip-view[data-trip-step="result"] .trip-map{height:clamp(190px,35dvh,390px)!important}
 .trip-view .view-head{margin-bottom:9px!important}
 .trip-view .view-head h1{font-size:clamp(23px,5vw,31px)!important}
 .trip-view .view-head p{display:none!important}
 .motorhome-view .view-head{margin-bottom:7px!important}
 .motorhome-view .view-head h1{font-size:clamp(22px,5vw,30px)!important}
 .motorhome-view .view-head p{display:none!important}
 .motorhome-view .motorhome-map-layout{gap:5px!important}
 .motorhome-view .motorhome-map-card{height:clamp(220px,calc(100dvh - 330px - env(safe-area-inset-bottom,0px)),720px)!important;min-height:220px!important}
 .motorhome-view .motorhome-summary{display:none!important}
 .motorhome-view .motorhome-panel{gap:5px!important;padding:6px!important}
 .motorhome-view .motorhome-filters button{min-height:32px!important}
 .app-modern .rodvia-mobile-nav{bottom:0!important;transform:none!important}
 html,body{overscroll-behavior-y:none}
 .app-modern .view[data-view="home"] .rodvia-six-services .rodvia-service-tile{min-height:clamp(88px,11dvh,125px)!important}
}
@media(min-width:851px){
 .app-modern .view[data-view="home"]{padding-top:8px!important;padding-bottom:8px!important}
 .app-modern .view[data-view="home"] .home-vehicle-hero{min-height:92px!important;margin-bottom:8px!important}
 .app-modern .view[data-view="home"] .rodvia-six-services{gap:7px!important;margin-top:7px!important}
 .app-modern .view[data-view="home"] .rodvia-six-services .rodvia-service-tile{min-height:76px!important;padding:7px!important}
 .app-modern .view[data-view="home"] .rodvia-service-symbol{width:45px!important;height:45px!important}
 .app-modern .view[data-view="home"] .rd-pro-heading{margin-top:5px!important}
 .app-modern .view[data-view="home"] .rd-pro-tile{min-height:80px!important;padding:8px!important}
}

/* ============================================================
   BLOCO 52 — V24.0.5.7: MAPAS VISÍVEIS, RESUMO COMPACTO, DETRANS
   52.1 — Resultado da viagem: resumo acima do mapa, sem botão duplicado.
   52.2 — Motorhome: lista de locais selecionáveis e mapa sem corte.
   52.3 — DETRANs: mesma navegação regional no desktop e mobile.
   ============================================================ */
.trip-view[data-trip-step="result"] .trip-planner-card{display:none!important}
.trip-view[data-trip-step="plan"] .trip-map-card{display:none!important}
.trip-view[data-trip-step="result"] .trip-layout{display:block!important}
.trip-view[data-trip-step="result"] .trip-map-card{display:flex!important;flex-direction:column!important;padding:8px!important;margin:0!important;gap:5px!important}
.trip-view[data-trip-step="result"] .trip-result{order:0!important;padding:7px!important}
.trip-view[data-trip-step="result"] .trip-map{order:1!important;margin:0!important;min-height:170px!important;flex:1 1 auto!important}
.trip-view[data-trip-step="result"] .trip-map-head,.trip-view[data-trip-step="result"] .trip-map-legend{display:none!important}
.trip-view[data-trip-step="result"] .trip-result-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:start!important;gap:7px!important}
.trip-view[data-trip-step="result"] .trip-result-head h2{max-width:none!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;font-size:12px!important;line-height:1.3!important;overflow-wrap:anywhere!important}
.trip-view[data-trip-step="result"] .trip-badge{white-space:nowrap!important;align-self:center!important}
.trip-view[data-trip-step="result"] .trip-result-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important;margin-top:5px!important}
.trip-view[data-trip-step="result"] .trip-result-grid article{padding:5px!important;min-width:0!important}
.trip-view[data-trip-step="result"] .trip-result-grid strong{font-size:12px!important}
.trip-view[data-trip-step="result"] .trip-result-grid small{font-size:9px!important}
.trip-view[data-trip-step="result"] .trip-toll-note{margin:4px 0 0!important;font-size:10px!important}
.detran-regions{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:10px 0}
.detran-regions[hidden],.detran-region-bar[hidden]{display:none!important}
.detran-regions .region-card{display:flex!important;flex-direction:column;justify-content:center;align-items:flex-start;min-height:100px;border:1px solid var(--line);border-radius:15px;background:var(--surface);padding:13px;color:var(--text);cursor:pointer}
.detran-grid:not(.detran-grid-open){display:none!important}
.detran-region-bar{display:flex;gap:10px;align-items:center;margin:12px 0}
.rd-mh-nearby{display:flex;gap:6px;overflow-x:auto;max-width:100%;padding:5px 0}
.rd-mh-nearby button{flex:0 0 auto;max-width:190px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text);padding:8px;font-size:12px;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:850px){
 .trip-view[data-trip-step="result"] .trip-map-card{height:calc(100dvh - 204px - env(safe-area-inset-bottom,0px))!important;min-height:350px!important;overflow:hidden!important}
 .trip-view[data-trip-step="result"] .trip-map{height:auto!important;max-height:none!important}
 .trip-view[data-trip-step="result"] .trip-result{flex:0 0 auto!important}
 .motorhome-view .motorhome-map-card{height:calc(100dvh - 350px - env(safe-area-inset-bottom,0px))!important;min-height:210px!important}
 .motorhome-view .motorhome-panel{gap:4px!important}
 .motorhome-view .motorhome-search-wrap input{min-height:42px!important}
 .motorhome-view .mh-clear{min-height:32px!important;padding:5px!important}
 .motorhome-view .motorhome-selected{max-height:130px!important;overflow:auto!important}
 .detran-regions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .rodvia-expenses-view{margin-bottom:0!important;padding-bottom:0!important}
}

/* ============================================================
   BLOCO 53 — V24.0.5.8: ROLAGEM NATURAL + FOCO NOS MAPAS
   53.1 — Corrige DETRANs vazios no desktop (controles ocultos).
   53.2 — Carrossel horizontal de métricas de viagem no mobile.
   53.3 — Mapas com altura confortável e sem corte forçado.
   ============================================================ */
@media(min-width:851px){
 .detrans-view .detran-mobile-controls{display:block!important}
 .detrans-view .detran-regions{display:grid!important}
 .detrans-view .detran-regions[hidden]{display:none!important}
 .detrans-view .detran-region-bar[hidden]{display:none!important}
}
@media(max-width:850px){
 .trip-view[data-trip-step="result"] .trip-map-card{height:auto!important;min-height:0!important;overflow:visible!important}
 .trip-view[data-trip-step="result"] .trip-result-grid{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;gap:9px!important;padding:4px 2px 10px!important;scrollbar-width:thin}
 .trip-view[data-trip-step="result"] .trip-result-grid article{flex:0 0 39%!important;min-width:116px!important;scroll-snap-align:start;padding:12px!important}
 .trip-view[data-trip-step="result"] .trip-result-grid strong{font-size:15px!important}
 .trip-view[data-trip-step="result"] .trip-result-grid small{font-size:10px!important}
 .trip-view[data-trip-step="result"] .trip-map{height:clamp(330px,58dvh,680px)!important;min-height:330px!important;flex:none!important}
 .motorhome-view .motorhome-map-card{height:auto!important;min-height:0!important;overflow:visible!important}
 .motorhome-view .motorhome-map{height:clamp(350px,65dvh,750px)!important;min-height:350px!important}
 .motorhome-view .motorhome-selected{max-height:none!important;overflow:visible!important}
 .motorhome-view .rd-mh-nearby{scroll-snap-type:x mandatory;padding-bottom:12px}
 .motorhome-view .rd-mh-nearby button{scroll-snap-align:start;max-width:75vw;min-width:145px}
}

/* ============================================================
   BLOCO 54 — V24.0.5.9: CORREÇÕES VERIFICÁVEIS DE MAPAS E RODAPÉ
   54.1 — Mapa Motorhome tem altura real; o mapa absoluto não colapsa.
   54.2 — Identificação legível dos pontos sem abrir ficha ao buscar cidade.
   54.3 — Remove espaçamento inferior artificial em Viagem e Despesas.
   54.4 — Mostra número de versão ao lado do status RODVIA.
   ============================================================ */
.rd-version{display:inline!important;font-size:inherit!important;font-weight:600;opacity:.8;margin-left:4px}
.mh-marker{overflow:visible!important;isolation:isolate}
.mh-marker::after{content:attr(data-label);position:absolute;left:50%;top:calc(100% + 3px);transform:translateX(-50%);font-size:10px;font-weight:700;line-height:1.15;white-space:nowrap;max-width:155px;overflow:hidden;text-overflow:ellipsis;padding:3px 6px;border-radius:6px;color:#fff;background:#12364de8;box-shadow:0 2px 5px #0005;pointer-events:none}
.mh-marker:hover,.mh-marker:focus-visible{z-index:10!important}
@media(max-width:850px){
 .motorhome-view .motorhome-map-card{position:relative!important;overflow:hidden!important;height:clamp(340px,58dvh,590px)!important;min-height:340px!important}
 .motorhome-view .motorhome-map{position:absolute!important;inset:0!important;height:100%!important;min-height:0!important}
 .motorhome-view .motorhome-selected:not([hidden]){position:absolute!important;left:9px!important;right:9px!important;bottom:9px!important;max-height:min(40dvh,240px)!important;overflow:auto!important;display:block!important;z-index:5!important}
 .motorhome-view .motorhome-selected[hidden]{display:none!important}
 .motorhome-view .motorhome-selected:not([hidden])>span{float:left;margin-right:8px}
 .motorhome-view .motorhome-selected:not([hidden])>div{min-width:0;overflow-wrap:anywhere}
 .motorhome-view .motorhome-selected .rd-maps-link{display:flex;width:100%;clear:both}
 .trip-view[data-trip-step="result"]{padding-bottom:0!important;margin-bottom:0!important}
 .trip-view[data-trip-step="result"] .trip-map-card{padding-bottom:0!important;margin-bottom:0!important}
 .trip-view[data-trip-step="result"] .trip-map{height:clamp(330px,54dvh,590px)!important}
 .rodvia-expenses-view{padding-bottom:0!important;margin-bottom:0!important}
 .rodvia-expenses-view .rodvia-expenses-panel:last-child{margin-bottom:0!important}
}

/* ============================================================
   BLOCO 55 — V24.0.6.0: DETRANS DESKTOP E DESPESAS
   55.1 — Campos e botões desktop com o mesmo acabamento do app.
   55.2 — Cores regionais e estados com bandeiras (fallback de sigla).
   55.3 — Remove o excedente artificial da tela Despesas.
   ============================================================ */
.detrans-view .detran-search-label{display:block;margin:0 0 8px;color:var(--muted);font-size:12px;font-weight:800;letter-spacing:.02em}
.detrans-view #detranSearch{display:block;width:100%;max-width:480px;min-height:48px;padding:12px 16px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--text);outline:none;box-shadow:0 5px 20px #0001}
.detrans-view #detranSearch:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(55,150,235,.16)}
.detrans-view .detran-region-bar{justify-content:flex-start;gap:16px;margin:18px 0}
.detrans-view #detranBackRegions{min-height:43px;padding:10px 17px;background:var(--surface);border:1px solid var(--line);border-radius:13px;color:var(--text);font-size:13px;font-weight:800;cursor:pointer;transition:background .2s,border-color .2s}
.detrans-view #detranBackRegions:hover{border-color:var(--blue);background:var(--surface2)}
.detrans-view #detranRegionTitle{font-size:19px;color:var(--text)}
.detrans-view .detran-regions .region-card{--rd-region-color:#53b8ff;border-color:color-mix(in srgb,var(--rd-region-color) 35%,var(--line));min-height:122px;background:linear-gradient(145deg,var(--surface),color-mix(in srgb,var(--rd-region-color) 7%,var(--surface)));transition:transform .2s,border-color .2s}
.detrans-view .detran-regions .region-card:hover{transform:translateY(-2px);border-color:var(--rd-region-color)}
.detrans-view .detran-regions .region-card strong{color:var(--rd-region-color);font-size:16px}
.detrans-view .detran-regions .region-card[data-region="Norte"]{--rd-region-color:#4fca9e}
.detrans-view .detran-regions .region-card[data-region="Nordeste"]{--rd-region-color:#f5bd57}
.detrans-view .detran-regions .region-card[data-region="Centro-Oeste"]{--rd-region-color:#bb9cf7}
.detrans-view .detran-regions .region-card[data-region="Sudeste"]{--rd-region-color:#59b7fa}
.detrans-view .detran-regions .region-card[data-region="Sul"]{--rd-region-color:#fa91a6}
.detrans-view .detran-card .rd-state-badge{width:49px;height:42px;flex:none;background:transparent;border:0;border-radius:7px}
.detrans-view .detran-card .rd-state-badge img{object-fit:contain;width:100%;height:100%;border-radius:4px}
.detrans-view .detran-card .rd-uf-fallback{background:var(--surface2);border-radius:8px;color:var(--blue)}
.detrans-view .detran-card .rd-uf-fallback[hidden]{display:none!important}
@media(min-width:851px){
 .detrans-view .detran-mobile-controls{display:block!important}
 .detrans-view .detran-regions{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
}
@media(max-width:850px){
 /* Despesas: não criar espaço extra quando os registros são poucos. */
 .app-modern .rodvia-expenses-view{padding-bottom:0!important;margin-bottom:0!important;min-height:0!important}
 .app-modern .rodvia-expenses-view .rodvia-expenses-panel:last-child{margin-bottom:0!important;padding-bottom:10px!important}
 .app-modern:has(.rodvia-expenses-view.active) .viewport{min-height:0!important}
 .app-modern:has(.rodvia-expenses-view.active) .app-footer{padding-top:2px!important;padding-bottom:4px!important}
}

/* BLOCO 55.4 — Identificação legível dos estados. */
.detrans-view .rd-state-name{display:block;font-size:10px;font-weight:500;color:var(--muted);margin-top:3px}


/* ============================================================
   BLOCO 56 — V24.0.6.1: MAPAS GEOGRÁFICOS LOCAIS DETRANS
   56.1 — Regiões: silhuetas reais à direita, sem bloquear cliques.
   56.2 — Estados: silhuetas reais à direita e nomes preservados.
   56.3 — Assets SVG locais; layout responsivo e sem rolagem lateral.
   ============================================================ */
.detrans-view .region-card{position:relative;overflow:hidden;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:6px!important}
.detrans-view .rd-region-copy{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0;position:relative;z-index:1}
.detrans-view .rd-region-shape{display:block;flex:0 0 41%;width:41%;max-width:120px;height:88px;object-fit:contain;opacity:.90;pointer-events:none;filter:drop-shadow(0 3px 5px rgba(0,0,0,.12))}
.detrans-view .detran-card{display:flex;align-items:center;gap:10px;min-width:0}
.detrans-view .detran-card>span{min-width:0;flex:1 1 auto}
.detrans-view .detran-card .rd-state-shape{display:block;flex:0 0 65px;width:65px;height:56px;object-fit:contain;opacity:.94;pointer-events:none;filter:drop-shadow(0 2px 3px rgba(0,0,0,.10))}
.detrans-view .detran-card>em{flex:0 0 auto}
@media(max-width:850px){
  .detrans-view .rd-region-shape{flex-basis:43%;width:43%;height:77px}
  .detrans-view .detran-card .rd-state-shape{flex-basis:54px;width:54px;height:47px}
}
@media(max-width:390px){
  .detrans-view .rd-region-shape{flex-basis:39%;width:39%;height:65px}
  .detrans-view .detran-card .rd-state-shape{flex-basis:46px;width:46px;height:42px}
}

/* ============================================================
   BLOCO 58 — V24.0.6.3: DETRANS IGUAIS NO DESKTOP E NO MOBILE
   58.1 — Navegação por regiões obrigatória em todas as larguras.
   58.2 — Cards estaduais com área própria para o mapa completo.
   58.3 — Preserva as cores e os mapas locais já aprovados.
   ============================================================ */
.detrans-view .detran-mobile-controls{display:block!important}
.detrans-view .detran-regions:not([hidden]){display:grid!important}
.detrans-view .detran-regions[hidden],
.detrans-view .detran-region-bar[hidden]{display:none!important}
.detrans-view .detran-grid:not(.detran-grid-open){display:none!important}
.detrans-view .detran-grid.detran-grid-open{display:grid!important}
.detrans-view .detran-card{min-height:100px!important;overflow:visible;box-sizing:border-box}
.detrans-view .detran-card .rd-state-shape{
 display:block!important;align-self:center;flex-shrink:0;
 width:68px;height:68px;max-width:28%;object-fit:contain!important;
 object-position:center center;overflow:visible;padding:4px;box-sizing:border-box;
}
@media(max-width:850px){
 .detrans-view .detran-card{min-height:94px!important;padding-block:13px!important}
 .detrans-view .detran-card .rd-state-shape{width:58px;height:60px;max-width:32%;padding:4px}
}
@media(max-width:390px){
 .detrans-view .detran-card .rd-state-shape{width:49px;height:55px;max-width:30%;padding:3px}
}


/* ============================================================
   BLOCO 57 — V24.0.6.4: CARROSSEIS NOMAD EM VIAGEM E MOTORHOME
   57.1 — Mesma largura nos dois cartões; próximo parcialmente visível.
   57.2 — Scroll-snap horizontal, sem deslocar a página.
   57.3 — Identidade visual azul-marinho e amarelo aprovada.
   ============================================================ */
.trip-view,.motorhome-view{max-width:100%;min-width:0;overflow-x:clip}
.rd-swipe-shell{min-width:0;max-width:100%;width:100%;overflow:hidden;margin:12px 0 16px}
.rd-swipe-shell[hidden]{display:none!important}
.rd-swipe-track{display:flex!important;gap:12px!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory;scroll-padding-inline:0;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:0 0 3px!important;align-items:stretch}
.rd-swipe-track::-webkit-scrollbar{display:none}
.rd-swipe-card{box-sizing:border-box;flex:0 0 85%!important;width:85%!important;min-width:0!important;scroll-snap-align:start;background:#102A40!important;border:1px solid #24435a;border-radius:18px;padding:15px;display:flex;flex-direction:column;gap:12px;min-height:290px;color:#fff;overflow:hidden}
.rd-card-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;color:#fff;font-size:16px;font-weight:850}
.rd-card-heading span{color:#F6C343;font-size:21px}
.rd-swipe-dots{display:flex;align-items:center;justify-content:center;gap:7px;margin:10px 0}
.rd-swipe-dot{width:10px;height:6px;padding:0;border:0;border-radius:20px;background:#53697B;transition:width .18s,background .18s;cursor:pointer}
.rd-swipe-dot.active{width:31px;background:#F6C343}
.rd-trip-carousel .trip-result{display:block!important;position:static!important;width:100%!important;max-width:100%!important;min-width:0!important;background:transparent!important;border:0!important;padding:0!important;margin:0!important;overflow:visible!important}
.rd-trip-carousel .trip-result[hidden]{display:none!important}
.rd-trip-carousel .trip-result-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;overflow:visible!important;scroll-snap-type:none!important;flex-wrap:wrap!important;padding:0!important}
.rd-trip-carousel .trip-result-grid article{min-width:0!important;width:auto!important;flex:auto!important;padding:10px!important;background:#17374d;border-radius:12px}
.rd-trip-carousel .trip-result-grid article.trip-total{grid-column:1/-1;background:#183F52!important}
.rd-trip-carousel .trip-total strong{color:#F6C343!important;font-size:clamp(22px,5vw,30px)!important}
.rd-trip-carousel .trip-result-head h2{font-size:clamp(13px,3.2vw,18px)!important;overflow-wrap:anywhere!important}
.rd-trip-carousel .trip-map-card{display:flex!important;flex-direction:column!important;position:relative!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;overflow:hidden!important}
.rd-trip-carousel .trip-map{width:100%!important;min-width:0!important;height:clamp(290px,48dvh,510px)!important;min-height:290px!important;flex:none!important;overflow:hidden!important;border-radius:12px}
.rd-mh-layout{display:flex!important;flex-direction:column!important;gap:10px!important;min-width:0!important}
.rd-mh-layout>.motorhome-panel{width:100%!important;max-width:100%!important;min-width:0!important;display:flex!important}
.rd-mh-layout>.rd-mh-carousel{width:100%!important;max-width:100%!important}
.rd-mh-carousel .rd-swipe-card{min-height:clamp(370px,60dvh,650px)}
.rd-mh-carousel .motorhome-map-card{position:relative!important;display:block!important;width:100%!important;max-width:100%!important;height:clamp(320px,55dvh,580px)!important;min-height:320px!important;overflow:hidden!important;padding:0!important;margin:0!important}
.rd-mh-carousel .motorhome-map{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important}
.rd-mh-carousel #motorhomeList{display:block!important;flex:1 1 auto!important;overflow-y:auto!important;overflow-x:hidden!important;min-height:0!important;max-height:clamp(300px,55dvh,570px)!important}
.rd-mh-carousel #motorhomePagination{display:flex!important;flex:0 0 auto}
.rd-mh-carousel #motorhomePagination[hidden]{display:none!important}
.rd-mh-carousel .motorhome-selected{z-index:3;max-height:130px!important;overflow:auto!important}
.motorhome-view .mh-view-switch[hidden]{display:none!important}
@media(min-width:851px){
  .rd-swipe-card{flex-basis:calc(50% - 8px)!important;width:calc(50% - 8px)!important}
  .rd-mh-layout>.motorhome-panel{max-width:100%!important}
}
@media(max-width:850px){
  .rd-trip-carousel .trip-map-card{height:auto!important}
  .rd-mh-carousel .motorhome-map-card{height:clamp(320px,55dvh,580px)!important}
  .trip-view[data-trip-step="result"] .rd-trip-carousel{display:block!important}
}


/* ============================================================
   BLOCO 58 — V24.0.6.7: CARROSSEIS NOMAD MOBILE CORRIGIDOS
   58.1 — Mapa primeiro, resumo/lista no segundo card.
   58.2 — Card seguinte visível e ambos com dimensões idênticas.
   58.3 — Remove o carrossel antigo de métricas (grade estática).
   58.4 — Sem overflow horizontal da página ou rolagem horizontal forçada.
   58.5 — Desktop permanece com regras anteriores.
   ============================================================ */
@media(max-width:850px){
  html,body{max-width:100%;overflow-x:clip}
  .trip-view,.motorhome-view,.trip-layout,.motorhome-map-layout{box-sizing:border-box;max-width:100%!important;min-width:0!important;overflow-x:clip!important}
  .rd-trip-carousel,.rd-mh-carousel{width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important;box-sizing:border-box!important}
  .rd-trip-carousel .rd-swipe-track,.rd-mh-carousel .rd-swipe-track{width:100%!important;max-width:100%!important;display:flex!important;align-items:stretch!important;gap:12px!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory!important;scroll-padding-left:0!important;padding:0 0 3px!important;box-sizing:border-box!important}
  .rd-trip-carousel .rd-swipe-card,.rd-mh-carousel .rd-swipe-card{flex:0 0 85%!important;flex-shrink:0!important;width:85%!important;max-width:85%!important;min-width:0!important;box-sizing:border-box!important;align-self:stretch!important;overflow:hidden!important;scroll-snap-align:start!important;background:#102A40!important}
  .rd-trip-carousel .rd-swipe-card{min-height:clamp(380px,56dvh,570px)!important}
  .rd-trip-carousel .trip-result-grid,
  .trip-view[data-trip-step="result"] .rd-trip-carousel .trip-result-grid{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;overflow:visible!important;overflow-x:visible!important;
    flex-wrap:wrap!important;scroll-snap-type:none!important;
    scroll-padding:0!important;padding:0!important;margin:0!important;
    width:100%!important;max-width:100%!important;box-sizing:border-box!important;
  }
  .rd-trip-carousel .trip-result-grid article,
  .trip-view[data-trip-step="result"] .rd-trip-carousel .trip-result-grid article{
    flex:none!important;width:auto!important;min-width:0!important;max-width:100%!important;
    box-sizing:border-box!important;scroll-snap-align:none!important;
    padding:10px 8px!important;margin:0!important;overflow-wrap:anywhere!important;
    background:#17374d!important;border-radius:11px!important;
  }
  .rd-trip-carousel .trip-result-grid article.trip-total,
  .trip-view[data-trip-step="result"] .rd-trip-carousel .trip-result-grid article.trip-total{
    grid-column:1/-1!important;background:#183F52!important;border:1px solid #92752b!important;
  }
  .trip-view[data-trip-step="result"] .rd-trip-carousel .trip-total strong{color:#F6C343!important;font-size:clamp(21px,5vw,30px)!important}
  .rd-trip-carousel .trip-result-head{min-width:0!important;max-width:100%!important}
  .rd-trip-carousel .trip-result-head h2{overflow-wrap:anywhere!important;word-break:normal!important}
  .rd-trip-carousel .trip-map-card{width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important}
  .rd-trip-carousel .trip-map{height:clamp(300px,48dvh,490px)!important;min-height:300px!important;width:100%!important;max-width:100%!important;touch-action:pan-y!important}
  .rd-mh-carousel .motorhome-map{touch-action:pan-y!important}
  .rd-mh-carousel .rd-swipe-card{min-height:clamp(390px,60dvh,610px)!important}
  .rd-mh-carousel #motorhomeList{min-width:0!important;width:100%!important;max-width:100%!important;overflow-y:auto!important;overflow-x:hidden!important}
  .rd-swipe-shell .rd-swipe-dots{position:relative;z-index:2}
}

/* BLOCO 58 — V24.0.6.7: Marcadores Motorhome.
   MapLibre posiciona markers de forma absoluta; o position:relative!important
   anterior anulava o posicionamento geográfico e os empilhava. */
.motorhome-map .maplibregl-marker.mh-marker{position:absolute!important;margin:0!important;inset:auto!important}

/* ============================================================
   BLOCO 59 — V24.0.6.7: MAPA MOTORHOME SEM RÓTULOS FIXOS
   59.1 — Oculta apenas o texto desenhado abaixo dos marcadores.
   59.2 — Mantém ícones, clique, título acessível e painel do ponto.
   ============================================================ */
.motorhome-map .mh-marker::after,
.motorhome-map .mh-marker::before{
  content:none!important;
  display:none!important;
}

/* ============================================================
   BLOCO 60 — V24.0.6.8: APARÊNCIA NO DESKTOP E PWA
   Estilização isolada para os três botões de tema da conta.
   Não altera os demais seletores nem os layouts aprovados.
   ============================================================ */
.account-appearance{padding:14px 0 2px;border-top:1px solid var(--line);margin-top:12px}
.account-appearance>strong{display:block;margin-bottom:9px;color:var(--text)}
.account-appearance .appearance-options{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:5px;margin:9px 0 13px;padding:5px;
  border:1px solid var(--line);border-radius:15px;
  background:var(--surface2);width:100%;
}
.account-appearance .appearance-options button{
  display:block;min-width:0;min-height:44px;
  padding:10px 4px;border:0;border-radius:11px;
  background:transparent;color:var(--muted);
  font:inherit;font-size:12px;font-weight:800;
  cursor:pointer;transition:background .15s ease,color .15s ease;
}
.account-appearance .appearance-options button.active,
.account-appearance .appearance-options button[aria-pressed="true"]{
  background:var(--blue2);color:#fff;
}
.account-appearance .appearance-options button:focus-visible{
  outline:2px solid var(--yellow);outline-offset:2px;
}
