/* Módulo VEÍCULOS: só o que o app.css do painel não tem. Cores e raios vêm dos tokens do painel. */
.hc-car { display: flex; align-items: center; gap: 12px; min-width: 0; }
.hc-car .ttl { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-thumb { width: 52px; height: 38px; border-radius: 8px; object-fit: cover; flex: none; background: var(--soft); }
.hc-sem { display: grid; place-items: center; color: var(--faint); }
.hc-tab tbody tr { cursor: pointer; }
.hc-tab tbody tr:hover, .hc-tab tbody tr:focus-visible { background: var(--soft); }
.hc-bar { align-items: center; }
.hc-bar .field { flex: 1 1 220px; max-width: 360px; }
.hc-bar select { flex: none; width: auto; }
.hc-proc { display: flex; align-items: center; gap: 10px; }
.hc-proc .bar { width: 90px; flex: none; }
.hc-tab td:nth-child(4) { white-space: nowrap; }
.hc-ficha { display: grid; gap: 14px; }
.hc-capa { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.hc-dados, .hc-etapas { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.hc-dados li, .hc-etapas li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.hc-dados li:first-child, .hc-etapas li:first-child { border-top: 0; }
.hc-dados b { font-weight: 600; text-align: right; }
.act .hc-thumb { width: 44px; height: 34px; }
@media (max-width: 720px) {
  .hc-bar .field { flex-basis: 100%; max-width: none; order: 3; }
  .hc-bar .grow { display: none; }
  :is(#v-estoque, #v-financeiro) .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
  :is(#v-estoque, #v-financeiro) .stat { padding: 14px; }
  :is(#v-estoque, #v-financeiro) .stat .top { margin-bottom: 8px; }
  :is(#v-estoque, #v-financeiro) .stat .tile { width: 30px; height: 30px; }
  :is(#v-estoque, #v-financeiro) .stat .v { font-size: 19px; }
  :is(#v-estoque, #v-financeiro) .stat h3 { font-size: 12.5px; }
}
.hc-tab td.mono { white-space: nowrap; }

/* Fonte Montserrat (placas em Geist Mono, do Hubcar) SÓ para empresa com o módulo veículos: a marca data-modulo vem do js/veiculos/modulo.js.
   Sem a marca (advogado, clínica) continua Libre Caslon + IBM Plex do painel. */
:root[data-modulo="veiculos"] {
  --font-display: "Montserrat", system-ui, sans-serif;
  --font-body: "Montserrat", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, Menlo, monospace;
}
:root[data-modulo="veiculos"] body { -webkit-font-smoothing: antialiased; }

/* Loja não tem OAB nem lista de advogados nos dados da empresa */
:root[data-modulo="veiculos"] label.f:has(> input[value="Sem OAB vinculada"]),
:root[data-modulo="veiculos"] label.f:has(> .dd-oab),
:root[data-modulo="veiculos"] .dd-advs-box { display: none !important; }

/* Loja: sem o botão flutuante "+" e, em Documentos, sem processo/advogados (só cliente, modelo e revisão) */
:root[data-modulo="veiculos"] #fab, :root[data-modulo="veiculos"] #fab-menu { display: none !important; }
:root[data-modulo="veiculos"] #hd-g-procl, :root[data-modulo="veiculos"] #hd-g-advs,
:root[data-modulo="veiculos"] [data-out="salvar"] { display: none !important; }

/* ícone de origem do cliente (WhatsApp, Instagram, Google...): traço na cor da marca, fundo suave */
.hc-orig { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--brand-soft); color: var(--brand); flex: none; vertical-align: middle; margin-right: 8px; }
.hc-orig svg { width: 14px; height: 14px; }
:root[data-modulo="veiculos"] .kcard .top .grow { display: flex; align-items: center; min-width: 0; }

/* cartões de número da loja são só painel: sem cara de botão */
#v-financeiro .stat:hover, :root[data-modulo="veiculos"] .pn-card[data-id^="hc_"]:hover { box-shadow: var(--shadow); }
#v-financeiro .stat, :root[data-modulo="veiculos"] .pn-card[data-id^="hc_"] { cursor: default; }

/* barrinha de Processo clicável + folha de etapas (A fazer | Em andamento | Feito, N/A) */
.hc-proc[data-proc] { cursor: pointer; padding: 6px 8px; margin: -6px -8px; border-radius: 8px; }
.hc-proc[data-proc]:hover, .hc-proc[data-proc]:focus-visible { background: var(--brand-soft); }
.hc-pf { display: grid; gap: 14px; }
.hc-et { display: grid; gap: 7px; }
.hc-et-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.hc-na { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--muted); cursor: pointer; }
.hc-seg { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--soft); border-radius: 9px; padding: 3px; gap: 3px; }
.hc-seg button { border: 0; background: transparent; padding: 8px 6px; border-radius: 7px; cursor: pointer; color: var(--muted); font-weight: 500; font-size: 13px; }
.hc-seg button[aria-checked="true"][data-st="nao_iniciado"] { background: var(--surface); color: var(--fg); box-shadow: 0 1px 2px rgb(0 0 0 / .08); }
.hc-seg button[aria-checked="true"][data-st="em_andamento"] { background: var(--warn-bg); color: var(--warn); font-weight: 600; }
.hc-seg button[aria-checked="true"][data-st="concluido"] { background: var(--ok-bg); color: var(--ok); font-weight: 600; }
.hc-et.na .hc-seg { opacity: .45; }

/* Conversas da loja: abas Clientes | Equipe */
.hc-cv-abas { display: grid; grid-template-columns: 1fr 1fr; width: 100%; margin-bottom: 8px; }
.hc-cv-abas button { display: inline-flex; justify-content: center; align-items: center; gap: 6px; }
.hc-cv-n { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--brand); color: var(--on-brand); font-size: 11px; font-weight: 700; display: inline-grid; place-items: center; }
.cv-item .hc-orig, .cv-head .hc-orig { width: 32px; height: 32px; border-radius: 50%; margin-right: 0; }
.cv-item .hc-orig svg, .cv-head .hc-orig svg { width: 17px; height: 17px; }
.cv-vazio .hc-orig { width: 40px; height: 40px; }

/* escolha do botão Lançar (Financeiro) */
.hc-lancs { display: grid; gap: 10px; }
.hc-lanc { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); cursor: pointer; }
.hc-lanc:hover, .hc-lanc:focus-visible { border-color: var(--brand); background: var(--brand-soft); }
.hc-lanc .grow { display: grid; gap: 2px; }

/* Conversas: botão + (Enviar foto do veículo) e cartão do carro na mensagem */
.hc-cv-maiswrap { position: relative; flex: none; align-self: flex-end; }
.hc-cv-mais { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line); background: var(--soft); color: var(--brand); display: grid; place-items: center; cursor: pointer; }
.hc-cv-mais:hover, .hc-cv-mais[aria-expanded="true"] { background: var(--brand-soft); border-color: var(--brand); }
.hc-cv-menu { position: absolute; bottom: calc(100% + 8px); left: 0; min-width: 230px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgb(16 24 40 / .14); padding: 6px; z-index: 5; }
.hc-cv-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; background: transparent; border-radius: 8px; cursor: pointer; color: var(--fg); font-weight: 500; text-align: left; }
.hc-cv-menu button:hover, .hc-cv-menu button:focus-visible { background: var(--brand-soft); color: var(--brand); }
.hc-cv-menu svg { width: 18px; height: 18px; }
.hc-cv-carmsg { display: grid; gap: 4px; }
.hc-cv-car { display: grid; width: min(260px, 62vw); border-radius: 10px; overflow: hidden; background: var(--surface); color: var(--fg); border: 1px solid var(--line); }
.hc-cv-car img, .hc-cv-semfoto { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: grid; place-items: center; background: var(--soft); color: var(--faint); }
.hc-cv-cari { display: grid; gap: 2px; padding: 9px 11px 10px; font-size: 13px; }
.hc-cv-cari span { color: var(--muted); font-size: 12px; }
.cv-msg.mine .hc-cv-carmsg .cv-t { text-align: right; }
.hc-cv-picks { display: grid; gap: 6px; max-height: 55vh; overflow-y: auto; }
.hc-cv-pick { display: flex; align-items: center; gap: 12px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; text-align: left; color: var(--fg); }
.hc-cv-pick:hover, .hc-cv-pick:focus-visible { border-color: var(--brand); background: var(--brand-soft); }
.hc-cv-pick .grow { display: grid; gap: 1px; }

/* página do carro: painel pela direita (como a ficha do Hubcar); tela cheia no celular */
.hc-drawer { position: fixed; inset: 0 0 0 auto; margin: 0; height: 100dvh; max-height: 100dvh; width: min(560px, 100vw); max-width: 100vw; padding: 0; border: 0; border-left: 1px solid var(--line); background: var(--surface); color: var(--fg); display: none; flex-direction: column; box-shadow: -18px 0 40px rgb(16 24 40 / .12); }
.hc-drawer[open] { display: flex; animation: hc-entra .22s ease-out; }
.hc-drawer::backdrop { background: rgb(15 18 24 / .35); }
@keyframes hc-entra { from { transform: translateX(24px); opacity: .6; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hc-drawer[open] { animation: none; } }
.hc-drawer-h { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.hc-drawer-h h2 { font-size: 17px; }
.hc-x { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.hc-x svg { width: 16px; height: 16px; }
.hc-drawer-b { overflow-y: auto; padding: 20px 22px 32px; display: grid; gap: 22px; align-content: start; }
.hc-fh { display: flex; gap: 14px; align-items: center; }
.hc-fh .hc-thumb { width: 84px; height: 62px; border-radius: 10px; }
.hc-fh h3 { font-size: 19px; font-weight: 600; }
.hc-fh-tags { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.hc-fh-acts { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.hc-fh-acts .btn { padding: 11px 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.hc-sec { display: grid; gap: 10px; }
.hc-sec h4 { font-size: 14px; font-weight: 600; display: flex; gap: 6px; align-items: baseline; }
.hc-gal { display: grid; gap: 8px; }
.hc-gal-main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--soft); display: block; }
.hc-gal-th { display: flex; gap: 8px; overflow-x: auto; }
.hc-gal-th button { padding: 0; border: 2px solid transparent; border-radius: 9px; background: none; cursor: pointer; flex: none; }
.hc-gal-th button[aria-pressed="true"] { border-color: var(--brand); }
.hc-gal-th img { width: 72px; height: 54px; object-fit: cover; border-radius: 7px; display: block; }
.hc-gal-vazia { display: grid; place-items: center; gap: 6px; padding: 28px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--faint); }
.hc-gal-vazia svg { width: 28px; height: 28px; }
.hc-proc-card { display: grid; gap: 10px; width: 100%; text-align: left; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--fg); cursor: pointer; font: inherit; }
.hc-proc-card:not(:disabled):hover, .hc-proc-card:focus-visible { border-color: var(--brand); background: var(--brand-soft); }
.hc-proc-card ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.hc-proc-card li { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; }
.hc-dg { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.hc-dd { display: grid; gap: 2px; min-width: 0; }
.hc-dd.cheio { grid-column: 1 / -1; }
.hc-dd span { font-size: 12px; color: var(--muted); }
.hc-dd b { font-weight: 500; overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .hc-drawer { width: 100vw; border-left: 0; }
  .hc-drawer-b { padding: 16px 16px 28px; }
  .hc-proc-card ul { grid-template-columns: 1fr; }
}

/* setinhas de ordenar (Processo, Status, Dias no pátio) */
.hc-ord { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 0; font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit; cursor: pointer; }
.hc-ord:hover, .hc-ord.on { color: var(--fg); }
.hc-seta { font-size: 12px; color: var(--info); font-weight: 700; }
.hc-ord.on { color: var(--info); }
.hc-tab td:nth-child(5) { white-space: nowrap; }

/* Estoque: cartões do topo filtram a tabela */
.hc-fcard { text-align: left; font: inherit; color: inherit; cursor: pointer; width: 100%; }
.hc-fcard:hover { border-color: var(--brand); }
.hc-fcard.on { border-color: var(--brand); box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 22%, transparent); }

/* Centralização (auditoria 16/11, scripts/auditoria-centro.js): só na loja */
/* campo do chat: texto no meio da altura, alinhado com os botões + e enviar (36px) */
:root[data-modulo="veiculos"] .cv-form textarea { height: 36px; min-height: 36px; padding: 8px 0; line-height: 20px; box-sizing: border-box; }
:root[data-modulo="veiculos"] .cv-form { align-items: flex-end; }
/* bolinhas de número do menu: número no meio da bolinha */
:root[data-modulo="veiculos"] .badge { line-height: 20px; }
:root[data-modulo="veiculos"] #side .badge { line-height: 18px; }
/* botões com ícone (+ Novo carro, + Lançar, Registrar venda...): ícone e texto na mesma linha, no meio */
:root[data-modulo="veiculos"] .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
:root[data-modulo="veiculos"] .btn > svg { flex: none; }
/* botão do cartão do Fluxo (Registrar venda): ícone + texto no meio */
:root[data-modulo="veiculos"] .kact { justify-content: center; }

/* botão de período (como no Hubcar): pílula 📅 Este mês ▾ + lista */
.hc-per { position: relative; }
.hc-per-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); font: inherit; font-size: 13.5px; font-weight: 500; cursor: pointer; }
.hc-per-btn:hover, .hc-per-btn[aria-expanded="true"] { background: var(--soft); }
.hc-per-btn svg { width: 17px; height: 17px; color: var(--muted); flex: none; }
.hc-per-menu { position: absolute; top: calc(100% + 6px); left: 0; z-index: 20; width: 280px; max-width: calc(100vw - 32px); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 14px 36px rgb(16 24 40 / .16); overflow: hidden; transition: height .22s ease; }
/* trilho com 2 painéis lado a lado: lista | datas. "custom" desliza para as datas */
.hc-per-trilho { display: grid; grid-template-columns: 100% 100%; align-items: start; transition: transform .22s ease; }
.hc-per-menu.custom .hc-per-trilho { transform: translateX(-100%); }
@media (prefers-reduced-motion: reduce) { .hc-per-trilho, .hc-per-menu { transition: none; } }
.hc-per-lista { padding: 6px; }
.hc-per-t { font-size: 12px; font-weight: 600; color: var(--muted); padding: 8px 10px 4px; }
.hc-per-lista > button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 40px; padding: 0 10px; border: 0; border-radius: 9px; background: transparent; color: var(--fg); font: inherit; font-size: 14px; cursor: pointer; text-align: left; }
.hc-per-lista > button:hover, .hc-per-lista > button:focus-visible { background: var(--soft); }
.hc-per-lista > button[aria-checked="true"] { font-weight: 600; color: var(--brand); }
.hc-per-lista > button svg { width: 17px; height: 17px; color: var(--muted); }
.hc-per-lista > button[aria-checked="true"] svg { color: var(--brand); }
.hc-per-custom { display: grid; gap: 12px; padding: 10px 12px 14px; align-content: start; }
.hc-per-volta { display: inline-flex; align-items: center; gap: 6px; justify-self: start; border: 0; background: none; padding: 6px 4px; color: var(--fg); font: inherit; font-weight: 600; cursor: pointer; border-radius: 8px; }
.hc-per-volta:hover { color: var(--brand); }
.hc-per-volta svg { width: 18px; height: 18px; }
.hc-per-datas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hc-per-datas input { width: 100%; min-width: 0; font-size: 13px; padding: 0 8px; }
.hc-per-custom .btn { width: 100%; }

/* faixa fina do Financeiro (7 números) e o ⓘ */
.hc-faixa { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin: -6px 0 26px; overflow: visible; }
.hc-fx { display: grid; gap: 3px; padding: 11px 14px; border-left: 1px solid var(--line); min-width: 0; }
.hc-fx:first-child { border-left: 0; }
.hc-fx small { display: flex; align-items: flex-start; gap: 5px; font-size: 11.5px; line-height: 1.3; color: var(--muted); min-width: 0; min-height: 30px; }
.hc-fx small span { overflow-wrap: anywhere; }
.hc-fx small .hc-info { margin-top: -1px; }
.hc-fx { align-content: space-between; }
.hc-fx b { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-fx b.warn { color: var(--warn); } .hc-fx b.up { color: var(--ok); }
.hc-info { position: relative; flex: none; width: 16px; height: 16px; padding: 0; border: 0; background: none; color: var(--faint); cursor: help; display: inline-grid; place-items: center; }
.hc-info svg { width: 15px; height: 15px; }
.hc-info:hover, .hc-info:focus-visible { color: var(--brand); }
.hc-info:hover::after, .hc-info:focus::after { content: attr(data-dica); position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); z-index: 30; width: 240px; padding: 9px 11px; border-radius: 10px; background: var(--fg); color: var(--surface); font-size: 12px; font-weight: 400; line-height: 1.4; text-align: left; white-space: normal; box-shadow: 0 10px 24px rgb(16 24 40 / .2); }
.hc-fx:first-child .hc-info:hover::after, .hc-fx:first-child .hc-info:focus::after { left: 0; transform: none; }
.hc-fx:last-child .hc-info:hover::after, .hc-fx:last-child .hc-info:focus::after { left: auto; right: 0; transform: none; }
@media (max-width: 1150px) { .hc-faixa { grid-template-columns: repeat(4, minmax(0, 1fr)); } .hc-fx { border-top: 1px solid var(--line); } .hc-fx:nth-child(-n+4) { border-top: 0; } .hc-fx:nth-child(4n+1) { border-left: 0; } }
@media (max-width: 720px) { .hc-faixa { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: -2px; } .hc-fx:nth-child(-n+4) { border-top: 1px solid var(--line); } .hc-fx:nth-child(-n+2) { border-top: 0; } .hc-fx:nth-child(odd) { border-left: 0; } .hc-fx:nth-child(even) { border-left: 1px solid var(--line); } .hc-fx:last-child { grid-column: 1 / -1; } .hc-info:hover::after, .hc-info:focus::after { width: 190px; } }

/* Financeiro > Despesas completas */
.hc-vertudo { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; border: 0; background: none; padding: 6px 0; color: var(--brand); font: inherit; font-weight: 600; font-size: 13.5px; cursor: pointer; }
.hc-vertudo:hover { text-decoration: underline; }
.hc-vertudo svg { width: 16px; height: 16px; }
.hc-desp-top { margin: -6px 0 12px; }
.hc-voltar { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; padding: 6px 8px; margin-left: -8px; color: var(--muted); font: inherit; font-weight: 500; cursor: pointer; border-radius: 8px; }
.hc-voltar:hover { color: var(--fg); }
.hc-voltar svg { width: 18px; height: 18px; }
.hc-desp-resumo { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.hc-desp-resumo h2 { font-size: 17px; }
.hc-desp-total { margin-top: 10px; }
.hc-desp-total b { font-size: 26px; font-weight: 700; }
.hc-desp-lista { list-style: none; margin: 0; padding: 0; }
.hc-desp-lista li { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-top: 1px solid var(--line); }
.hc-desp-lista li:first-child { border-top: 0; }
.hc-desp-lista .ttl { font-weight: 500; }
.hc-desp-lista .tile { width: 52px; height: 38px; border-radius: 8px; }
.hc-desp-data { width: 84px; flex: none; color: var(--muted); font-size: 13px; }
.hc-desp-valor { width: 96px; text-align: right; flex: none; }
.hc-desp-x { width: 34px; height: 34px; flex: none; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); display: grid; place-items: center; cursor: pointer; }
span.hc-desp-x { border-color: transparent; background: none; cursor: default; }
.hc-desp-x:hover { color: var(--bad); border-color: var(--bad); }
.hc-desp-x svg { width: 15px; height: 15px; }
.hc-desp-lista li.canc .ttl, .hc-desp-lista li.canc .hc-desp-valor, .hc-desp-lista li.canc .sub { text-decoration: line-through; color: var(--faint); }
@media (max-width: 720px) {
  .hc-desp-resumo { flex-direction: column; align-items: stretch; }
  .hc-desp-lista li { flex-wrap: wrap; gap: 8px 12px; padding: 12px 14px; }
  .hc-desp-data { width: 100%; order: -1; font-size: 12px; }
  .hc-desp-lista .grow { flex: 1 1 calc(100% - 120px); }
  .hc-desp-valor { width: auto; margin-left: auto; }
}

.ct-head .hc-ord { font-size: inherit; font-weight: inherit; color: inherit; }
.ct-head .hc-ord.on { color: var(--info); }

/* Documentos: cabeçalho e linhas com a MESMA largura de coluna (antes a coluna dos botões era "auto" e
   no cabeçalho ficava vazia, empurrando Categoria e Atualizado em para a direita) */
:root[data-modulo="veiculos"] .hd-head, :root[data-modulo="veiculos"] .hd-row { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) 120px 330px; }
:root[data-modulo="veiculos"] .hd-bt { justify-content: flex-end; }
@media (max-width: 720px) { :root[data-modulo="veiculos"] .hd-row { grid-template-columns: minmax(0, 1fr); } :root[data-modulo="veiculos"] .hd-bt { justify-content: flex-start; } }

/* Lavagens (estética) */
.hc-lvs { list-style: none; margin: 0; padding: 0; display: grid; }
.hc-lv { display: grid; grid-template-columns: minmax(0, 1fr) 150px 130px 150px; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.hc-lv:first-child { border-top: 0; padding-top: 0; }
.hc-lv .btn { justify-self: end; }
.hc-lv .pill { justify-self: start; }
.hc-prods { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; max-height: 42vh; overflow-y: auto; }
.hc-prods li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; }
.hc-prods .grow { display: grid; gap: 1px; }
.hc-qtd { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; flex: none; }
.hc-qtd button { width: 34px; height: 34px; border: 0; background: var(--soft); color: var(--fg); font-size: 18px; cursor: pointer; }
.hc-qtd input { width: 46px; height: 34px; border: 0; text-align: center; font: inherit; background: var(--surface); color: var(--fg); -moz-appearance: textfield; }
.hc-qtd input::-webkit-inner-spin-button, .hc-qtd input::-webkit-outer-spin-button { -webkit-appearance: none; }
.hc-lv-total { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 10px; background: var(--brand-soft); }
.hc-lv-total b { font-size: 18px; }
.hc-chk { display: flex; align-items: center; gap: 8px; font-size: 13.5px; cursor: pointer; }
.hc-stats3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hc-h3i { display: flex; align-items: center; gap: 5px; }
@media (max-width: 720px) {
  .hc-lv { grid-template-columns: minmax(0, 1fr) auto; }
  .hc-lv .hc-proc { grid-column: 1; }
  .hc-lv .btn { grid-column: 1 / -1; justify-self: stretch; }
  .hc-stats3 { grid-template-columns: 1fr 1fr; }
}

/* estética não usa avisos nem o sino */
:root[data-papel="estetica"] #bell { display: none; }

/* Novo carro (igual ao Hubcar): Importar CRLV, busca FIPE, ano com atalhos, valor FIPE */
.hc-cad { display: grid; gap: 14px; }
.hc-crlv { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px dashed var(--brand); border-radius: var(--radius); background: var(--brand-soft); }
.hc-crlv .grow { display: grid; gap: 2px; }
.hc-crlv-btn { cursor: pointer; flex: none; }
.hc-crlv-btn svg { width: 16px; height: 16px; }
.hc-crlv-st { font-size: 13px; margin: -6px 0 0; }
.hc-crlv-st.ok, .hc-fipe.ok { color: var(--ok); } .hc-crlv-st.bad, .hc-fipe.bad, .hc-placa-dica.bad { color: var(--bad); } .hc-fipe.warn { color: var(--warn); }
.hc-placa-dica, .hc-fipe { font-size: 12.5px; font-weight: 500; color: var(--muted); min-height: 1em; }
.hc-mm { position: relative; display: grid; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.hc-mm-box { position: relative; }
.hc-mm-box input { width: 100%; padding-right: 40px; }
.hc-mm-box.on input { background: var(--brand-soft); border-color: var(--brand); color: var(--fg); font-weight: 600; }
.hc-mm-x { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: 0; border-radius: 8px; background: none; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.hc-mm-x svg { width: 15px; height: 15px; }
.hc-mm-lista { position: absolute; top: 64px; left: 0; right: 0; z-index: 10; max-height: 260px; overflow-y: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 36px rgb(16 24 40 / .16); padding: 4px; }
.hc-mm-lista button { display: block; width: 100%; text-align: left; padding: 9px 10px; border: 0; border-radius: 8px; background: none; color: var(--fg); font: inherit; font-size: 13.5px; font-weight: 400; cursor: pointer; }
.hc-mm-lista button:hover { background: var(--soft); }
.hc-mm-st { font-weight: 400; }
.hc-anos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.hc-anos:empty { display: none; }
.hc-anos button { min-width: 54px; height: 34px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); font: inherit; font-size: 13px; cursor: pointer; }
.hc-anos button[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft); font-weight: 600; }
.hc-mais summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; color: var(--brand); font-weight: 600; font-size: 13.5px; list-style: none; }
.hc-mais summary::-webkit-details-marker { display: none; }
.hc-mais summary svg { width: 16px; height: 16px; transition: transform .2s; }
.hc-mais[open] summary svg { transform: rotate(180deg); }
.hc-mais .g2c { margin-top: 12px; }
.hc-lido input, .hc-lido select, .hc-lido .hc-mm-box input { box-shadow: 0 0 0 2px color-mix(in srgb, var(--ok) 35%, transparent); }
@media (max-width: 720px) { .hc-crlv { flex-direction: column; align-items: stretch; } .hc-crlv-btn { justify-content: center; } }

/* campos sem "type" (os do módulo) com o MESMO visual dos campos do painel (app.css:1305) */
:root[data-modulo="veiculos"] input:not([type]), :root[data-modulo="veiculos"] input[type=search]:not(.field input):not(#cv-q) { width: 100%; min-height: 40px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; background: var(--surface); font: inherit; font-size: 14px; font-weight: 400; color: var(--fg); }
:root[data-modulo="veiculos"] .field input:not([type]), :root[data-modulo="veiculos"] .field input[type=search] { border: 0; min-height: 0; padding: 0; background: transparent; }
:root[data-modulo="veiculos"] input.mono { font-family: var(--font-mono); letter-spacing: .04em; }
/* "Marca e modelo" e "Ano do modelo" empilhados como os outros rótulos */
.hc-cad .f:not(label), :root[data-modulo="veiculos"] .frm .f:not(label) { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--muted); min-width: 0; }
.hc-cad .f:not(label) > span { display: block; }
.hc-mm-box.on input { background: var(--brand-soft) !important; border-color: var(--brand) !important; font-weight: 600 !important; }
label.f small.hc-placa-dica.bad, .hc-cad small.bad { color: var(--bad); font-weight: 600; }

/* Limpeza dos carros (estética, 2ª versão) */
.hc-limp { list-style: none; margin: 0; padding: 0 18px 8px; }
.hc-limp li { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 130px 150px; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.hc-limp li:first-child { border-top: 0; }
.hc-limp .pill { justify-self: start; }
.hc-limp .btn { justify-self: end; }
.hc-limp-dias { display: grid; gap: 3px; }
.hc-limp-dias b { font-size: 15px; }
.hc-limp-dias .bar { height: 6px; margin-top: 3px; }
.hc-tipos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 480px) { .hc-tipos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hc-tipos label { position: relative; cursor: pointer; }
.hc-tipos input { position: absolute; opacity: 0; pointer-events: none; }
.hc-tipos span { display: grid; place-items: center; min-height: 44px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 10px; color: var(--fg); font-weight: 500; font-size: 13.5px; text-align: center; }
.hc-tipos input:checked + span { border-color: var(--brand); background: var(--brand-soft); font-weight: 600; }
.hc-tipos input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (max-width: 720px) {
  .hc-limp { padding: 0 14px 8px; }
  .hc-limp li { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; }
  .hc-limp-dias { grid-column: 1 / -1; order: 3; }
  .hc-limp .btn { grid-column: 1 / -1; justify-self: stretch; order: 4; }
}

/* foto do carro: botão Enviar/Trocar foto ao lado do título "Fotos" na página do carro (dono e gerente) */
.hc-sec h4 .hc-foto-env { margin-left: auto; font-size: 12.5px; font-weight: 600; }
