/* ============================================================
   Housxpert — Stylesheet
   ⬇⬇⬇  BRAND TOKENS — replace with the exact values from the
        "Manual de Aplicação Identidade Visual" PDF in ONE place.
   ============================================================ */
:root {
  /* Manual de Identidade Visual Housxpert */
  --hx-primary:   #FC5412;   /* Pantone 1655 C — laranja principal */
  --hx-primary-d: #E0440A;   /* hover */
  --hx-accent:    #AFD100;   /* Pantone 3507 C — lima (destaques sobre fundo escuro) */
  --hx-orange2:   #FF7F00;   /* Pantone 716 C — laranja vivo (apoio, o "X" da logo) */
  --hx-slate:     #606E89;   /* Pantone 4136 C — ardósia (apoio) */
  --hx-ink:       #101921;   /* Pantone Black 6C */
  --hx-ink-2:     #44505d;
  --hx-muted:     #8b96a3;
  --hx-line:      #e6e9ee;
  --hx-bg:        #f4f6f8;
  --hx-surface:   #ffffff;
  --hx-danger:    #c5453b;
  --hx-radius:    14px;
  --hx-radius-sm: 9px;
  --hx-shadow:    0 1px 3px rgba(16,25,33,.06), 0 8px 24px rgba(16,25,33,.07);
  --hx-orange-soft: rgba(252,84,18,.10);
  --hx-font:      "Poppins", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--hx-font); color: var(--hx-ink); background: var(--hx-bg); -webkit-font-smoothing: antialiased; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0 0 .4em; line-height: 1.2; }
h1 { font-size: 1.7rem; } h2 { font-size: 1.25rem; }
.muted { color: var(--hx-muted); }
small { font-size: .82em; }

/* ---------- top bar ---------- */
.hx-topbar {
  display: flex; align-items: center; gap: 22px;
  padding: 0 26px; height: 62px;
  background: var(--hx-surface); border-bottom: 1px solid var(--hx-line);
  position: sticky; top: 0; z-index: 50;
}
.hx-topbar.public { background: var(--hx-ink); border-bottom: none; }
.hx-brand { cursor: pointer; }
.hx-brandlock { display: inline-flex; align-items: center; gap: 10px; }
.hx-mark { display: block; flex: none; }
.hx-wordwrap { display: flex; flex-direction: column; line-height: 1; }
.hx-logo { font-weight: 700; font-size: 1.4rem; letter-spacing: -.04em; color: var(--hx-ink); text-transform: lowercase; line-height: 1; }
.hx-logo .hx-x { color: var(--hx-primary); }
.hx-tagline { font-size: .6rem; letter-spacing: .26em; text-transform: uppercase; color: var(--hx-slate); margin-top: 3px; font-weight: 600; }
.hx-topbar.public .hx-logo { color: #fff; }
.hx-cma-coverlogo { margin-bottom: 22px; }
.hx-cma-coverlogo .hx-logo { color: #fff; }
.hx-cma-coverlogo .hx-tagline { color: var(--hx-accent); }
.hx-nav { display: flex; gap: 4px; flex: 1; }
.hx-nav-link { padding: 8px 13px; border-radius: 8px; font-size: .92rem; font-weight: 500; color: var(--hx-ink-2); }
.hx-nav-link:hover { background: var(--hx-bg); color: var(--hx-ink); }
.hx-nav-link.active { background: var(--hx-orange-soft); color: var(--hx-primary); }
.hx-top-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.hx-agent-switch { border: 1px solid var(--hx-line); border-radius: 8px; padding: 7px 9px; font-size: .82rem; max-width: 230px; background: #fff; color: var(--hx-ink); }
.hx-lang { display: inline-flex; border: 1px solid var(--hx-line); border-radius: 8px; overflow: hidden; }
.hx-topbar.public .hx-lang { border-color: rgba(255,255,255,.25); }
.hx-lang button { border: 0; background: transparent; padding: 7px 11px; font-weight: 600; font-size: .8rem; cursor: pointer; color: var(--hx-muted); }
.hx-topbar.public .hx-lang button { color: rgba(255,255,255,.7); }
.hx-lang button.on { background: var(--hx-primary); color: #fff; }

/* ---------- main ---------- */
.hx-main { max-width: 1120px; margin: 0 auto; padding: 30px 26px 80px; min-width: 0; width: 100%; }
.hx-main.public { max-width: 1180px; }

/* ---------- buttons ---------- */
.hx-btn { display: inline-flex; align-items: center; gap: 7px; justify-content: center;
  border: 1px solid var(--hx-line); background: var(--hx-surface); color: var(--hx-ink);
  padding: 10px 16px; border-radius: 10px; font-weight: 600; font-size: .92rem; cursor: pointer; transition: .15s; }
.hx-btn:hover { border-color: var(--hx-primary); color: var(--hx-primary); }
.hx-btn.primary { background: var(--hx-primary); border-color: var(--hx-primary); color: #fff; }
.hx-btn.primary:hover { background: var(--hx-primary-d); color: #fff; }
.hx-btn.ghost { background: transparent; }
.hx-btn.danger { color: var(--hx-danger); border-color: #f0d2cf; }
.hx-btn.danger:hover { background: var(--hx-danger); color: #fff; border-color: var(--hx-danger); }
.hx-btn.sm { padding: 7px 12px; font-size: .85rem; border-radius: 8px; }
.hx-btn.lg { padding: 13px 22px; font-size: 1rem; }
.hx-btn.block { width: 100%; }

/* ---------- dashboard ---------- */
.hx-hero-dash { display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: linear-gradient(125deg, #101921 0%, #283441 100%); color: #fff; padding: 30px 32px; border-radius: var(--hx-radius); margin-bottom: 22px; }
.hx-hero-dash h1 { color: #fff; }
.hx-hero-dash p { margin: 0; color: rgba(255,255,255,.8); }
.hx-eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 700; color: var(--hx-accent); margin-bottom: 6px; }
.hx-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 30px; }
.hx-kpi { background: var(--hx-surface); border: 1px solid var(--hx-line); border-radius: var(--hx-radius); padding: 18px 20px; box-shadow: var(--hx-shadow); transition: .15s; }
.hx-kpi:hover { transform: translateY(-2px); border-color: var(--hx-primary); }
.hx-kpi-val { font-size: 2rem; font-weight: 800; color: var(--hx-primary); }
.hx-kpi-label { color: var(--hx-ink-2); font-size: .9rem; }

.hx-h2 { margin: 28px 0 14px; }
.hx-count { color: var(--hx-muted); font-weight: 500; font-size: 1rem; }
.hx-page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
/* 23/09/2026 — ficha do cliente: o "← Clientes" virava um botão inteiro (borda, fundo,
   sombra) boiando sozinho ao lado do card, em vez de ler como "você está aqui". Modificador
   pra empilhar (o "← Clientes" some do lado, o card vem embaixo) + .hx-crumb sem caixa de
   botão nenhuma — só o link, do tamanho de um rótulo. */
.hx-page-head.stack { flex-direction: column; align-items: stretch; }
.hx-crumb { display: inline-flex; align-items: center; gap: 4px; align-self: flex-start;
  color: var(--hx-muted); font-weight: 600; font-size: .85rem; text-decoration: none; }
.hx-crumb:hover { color: var(--hx-primary); }
.hx-row-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- cards / grid ---------- */
.hx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hx-card { background: var(--hx-surface); border: 1px solid var(--hx-line); border-radius: var(--hx-radius); overflow: hidden; box-shadow: var(--hx-shadow); display: flex; flex-direction: column; transition: .15s; }
.hx-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(18,36,48,.12); }
.hx-thumb { height: 168px; background-size: cover; background-position: center; background-color: #dfe6ea; }
.hx-thumb.placeholder { display: flex; align-items: center; justify-content: center; font-size: 2.6rem; color: #b8c4cc; background: linear-gradient(135deg, #eef2f5, #dfe6ea); }
.hx-card-body { padding: 15px 16px 16px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.hx-card-body h3 { font-size: 1.04rem; margin: 0; }
.hx-addr { color: var(--hx-muted); font-size: .85rem; }
.hx-specs { display: flex; gap: 13px; font-size: .85rem; color: var(--hx-ink-2); flex-wrap: wrap; }
.hx-price { font-size: 1.32rem; font-weight: 800; color: var(--hx-ink); }
.hx-price.big { font-size: 1.9rem; color: var(--hx-primary); }
.hx-cap { font-size: .82rem; color: var(--hx-muted); }
.hx-card-actions { display: flex; gap: 8px; margin-top: auto; flex-wrap: wrap; }
.hx-terms { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; background: var(--hx-bg); border-radius: 9px; padding: 9px 12px; font-size: .82rem; }
.hx-terms div { display: flex; justify-content: space-between; }
.hx-terms span { color: var(--hx-muted); }

.hx-badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 20px; text-transform: uppercase; letter-spacing: .04em; align-self: flex-start; }
.hx-badge.draft { background: #fff3e0; color: #b06d00; }
.hx-badge.listed { background: #e3f5ef; color: var(--hx-primary-d); }
.hx-badge.sold { background: #eee; color: #777; }
.hx-badge.partner { background: rgba(215,160,75,.18); color: #9a6b14; }
.hx-badge.danger { background: #fde8e8; color: #c81e1e; }

.hx-empty { text-align: center; color: var(--hx-muted); padding: 50px 20px; background: var(--hx-surface); border: 1px dashed var(--hx-line); border-radius: var(--hx-radius); }
.hx-import-note { background: #fff8ec; border: 1px solid #f3e2c4; border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; }

/* ---------- forms ---------- */
.hx-form { background: var(--hx-surface); border: 1px solid var(--hx-line); border-radius: var(--hx-radius); padding: 24px; box-shadow: var(--hx-shadow); }
/* ⚠️ 07/08/2026 — `hidden` estava sendo IGNORADO em tudo que tem display na classe.
   O navegador esconde [hidden] com display:none, mas isso é regra de agente do usuário:
   qualquer `display` escrito numa classe nossa ganha dela. Resultado: os campos de
   divisão de comissão continuavam na tela do lançamento, ao lado da frase que diz que
   naquele caso NÃO há divisão — duas informações contrárias no mesmo formulário.
   Esta linha faz `hidden` valer de novo em toda a aplicação. */
[hidden] { display: none !important; }
.hx-form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 8px; }
.hx-field { display: flex; flex-direction: column; gap: 5px; }
.hx-field.wide { grid-column: span 3; }
.hx-field label, .hx-label { font-size: .82rem; font-weight: 600; color: var(--hx-ink-2); }
.hx-label { display: block; margin: 16px 0 8px; }
input, select, textarea { font-family: inherit; font-size: .92rem; padding: 10px 12px; border: 1px solid var(--hx-line); border-radius: 9px; background: var(--hx-surface); color: var(--hx-ink); width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--hx-primary); box-shadow: 0 0 0 3px var(--hx-orange-soft); }
/* A regra acima dá width:100% também a rádio e caixa de seleção. O Chrome encolhe o
   controle dentro de um flex; o Safari NÃO (não passa do min-width automático) — a
   bolinha ficava com a largura da caixa toda e empurrava o texto pra fora do quadro.
   Vale pra todo formulário: escolha de modalidade, aceites, filtros. */
input[type="radio"], input[type="checkbox"] { width: auto; min-width: 0; flex: 0 0 auto; }
.hx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hx-chip-check { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--hx-line); border-radius: 20px; font-size: .85rem; cursor: pointer; }
.hx-chip-check input { width: auto; }
.hx-form-foot { margin-top: 20px; }
.hx-ai-bar { margin-top: 10px; }
.hx-cma-banner { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; padding: 18px 22px; border-radius: 16px; background: linear-gradient(115deg, #101921, #1c2a36); color: #fff; box-shadow: 0 10px 28px rgba(16,25,33,.28); }
.hx-cma-banner-ic { font-size: 2.2rem; flex: 0 0 auto; }
.hx-cma-banner-t { font-size: 1.35rem; font-weight: 800; letter-spacing: .04em; color: #fff; }
.hx-cma-banner-s { font-size: .9rem; opacity: .92; line-height: 1.45; margin-top: 2px; }
.hx-cma-banner-s b { color: var(--hx-primary, #FC5412); }
.hx-ai-desc { margin-top: 14px; border: 1px solid rgba(252,84,18,.3); background: var(--hx-orange-soft); border-radius: 12px; padding: 16px; }
.hx-ai-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.hx-ai-actions { display: flex; gap: 8px; }
.hx-ai-hint { font-size: .8rem; color: var(--hx-ink-2); margin: 6px 0 10px; }
.hx-ai-text { white-space: pre-wrap; font-family: var(--hx-font); font-size: .92rem; line-height: 1.6; background: #fff; border: 1px solid #e6e9ee; border-radius: 10px; padding: 16px; margin: 0; color: #17242f; }
/* modo noturno: o box da descrição da IA continua legível (fundo branco → texto escuro) */
html[data-theme="dark"] .hx-ai-text { background: #fff; color: #17242f; }
html[data-theme="dark"] .hx-ai-hint, html[data-theme="dark"] .hx-ai-head { color: #e6d7c9; }

/* ---------- CMA ---------- */
.hx-cma-toolbar { display: flex; gap: 10px; justify-content: flex-end; margin-bottom: 14px; }
.hx-cma { background: #fff; border: 1px solid var(--hx-line); border-radius: var(--hx-radius); box-shadow: var(--hx-shadow); overflow: hidden; }
.hx-cma-cover { background: linear-gradient(125deg, #101921 0%, #232d39 70%, #2e2218 100%); color: #fff; padding: 40px 40px 34px; border-bottom: 4px solid var(--hx-primary); }
.hx-cma-kicker { letter-spacing: .22em; font-size: .8rem; font-weight: 700; color: var(--hx-accent); margin-bottom: 12px; }
.hx-cma-cover h1 { color: #fff; font-size: 1.7rem; max-width: 80%; }
.hx-cma-meta { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 16px; font-size: .9rem; color: rgba(255,255,255,.85); }
.hx-cma-meta b { color: #fff; }
.hx-cma-sec { padding: 26px 40px; border-bottom: 1px solid var(--hx-line); }
.hx-cma-sec h2 { color: var(--hx-primary); border-left: 4px solid var(--hx-accent); padding-left: 12px; }
.hx-cma-sec h3 { margin-top: 18px; font-size: 1rem; }
.hx-cma-contact { background: var(--hx-bg); border-radius: 10px; padding: 14px 16px; margin-bottom: 12px; }
/* 27/09/2026 — o cartão de contato subiu pra dentro da capa escura (.hx-cma-cover), que força
   `color:#fff !important` em tudo dentro dela. O cartão continua com fundo CLARO (var(--hx-bg))
   — texto branco em cima de fundo claro é o que sumia na tela. Escurece de volta só aqui. */
.hx-cma-cover .hx-cma-contact,
.hx-cma-cover .hx-cma-contact * { color: var(--hx-ink) !important; }
.hx-poi { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.hx-val-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 6px 0 14px; }
.hx-valbox { background: var(--hx-bg); border-radius: 12px; padding: 16px; text-align: center; }
.hx-valbox-label { font-size: .78rem; color: var(--hx-muted); margin-bottom: 8px; min-height: 2.2em; }
.hx-valbox-val { font-size: 1.25rem; font-weight: 800; color: var(--hx-ink); }

.hx-comps { display: grid; gap: 12px; }
.hx-comp { border: 1px solid var(--hx-line); border-radius: 11px; padding: 13px 15px; }
.hx-comp-h { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hx-comp-n { width: 26px; height: 26px; border-radius: 50%; background: var(--hx-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; }
.hx-comp-price { font-weight: 800; font-size: 1.05rem; }
.hx-comp-price small { font-weight: 500; color: var(--hx-muted); }
.hx-comp-type { color: var(--hx-ink-2); font-size: .85rem; }
.hx-comp-st { margin-left: auto; font-size: .7rem; font-weight: 700; padding: 3px 9px; border-radius: 20px; }
.hx-comp-st.active { background: #e3f5ef; color: var(--hx-primary-d); }
.hx-comp-st.na { background: #f1f1f1; color: #888; }
.hx-comp-st.sold { background: #fde9e7; color: var(--hx-danger); }
.hx-comp-specs { display: flex; flex-wrap: wrap; gap: 7px 16px; margin-top: 10px; font-size: .84rem; color: var(--hx-ink-2); }
.hx-comp-specs .neg { color: var(--hx-danger); } .hx-comp-specs .pos { color: var(--hx-primary); }
.hx-comp-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.hx-comp-photo { width: 58px; height: 44px; border-radius: 8px; background-size: cover; background-position: center; background-color: var(--hx-bg); flex: 0 0 auto; border: 1px solid var(--hx-line); }
.hx-comp-photo.placeholder { display: flex; align-items: center; justify-content: center; color: var(--hx-muted); }
.hx-comp-idline { margin-top: 7px; font-size: .84rem; }
.hx-comp-ref { color: var(--hx-slate); text-decoration: none; font-weight: 600; }
.hx-comp-ref:hover { color: var(--hx-primary); text-decoration: underline; }
.hx-comp-open { font-size: .76rem; font-weight: 700; color: var(--hx-primary); white-space: nowrap; }
@media print { .hx-comp-open { color: var(--hx-primary); } .hx-comp-ref { color: var(--hx-primary); text-decoration: underline; } }

/* --- gating por plano --- */
.hx-side-link.locked { opacity: .72; }
.hx-side-tag.lock { margin-left: auto; background: none; font-size: .8rem; }
.hx-upgrade-cta { display: block; margin: 10px 12px; padding: 12px 14px; border-radius: 12px; text-decoration: none;
  background: linear-gradient(135deg, #FC5412, #ff7a44); color: #fff; box-shadow: 0 6px 16px rgba(252,84,18,.28); }
.hx-upgrade-cta b { display: block; font-size: .95rem; }
.hx-upgrade-cta span { display: block; font-size: .76rem; opacity: .92; margin-top: 3px; line-height: 1.3; }
.hx-paywall-wrap { display: flex; align-items: center; justify-content: center; min-height: 70vh; padding: 20px; }
.hx-paywall { max-width: 480px; width: 100%; text-align: center; background: #fff; border: 1px solid var(--hx-line);
  border-radius: 18px; padding: 34px 30px; box-shadow: 0 20px 60px rgba(16,25,33,.16); }
.hx-paywall-lock { font-size: 3rem; margin-bottom: 6px; }
.hx-paywall-price { font-size: 1.15rem; margin: 6px 0 18px; }
.hx-paywall-price b { color: var(--hx-primary); font-size: 1.5rem; }
.hx-paywall-actions { display: grid; gap: 10px; }
.hx-btn.block { display: block; width: 100%; text-align: center; }

/* --- autocomplete de cidades --- */
.hx-field { position: relative; }
.hx-autoc { position: absolute; left: 0; right: 0; top: 100%; z-index: 40; background: #fff;
  border: 1px solid var(--hx-line); border-radius: 10px; box-shadow: 0 12px 30px rgba(16,25,33,.14);
  max-height: 240px; overflow-y: auto; }
.hx-autoc-item { padding: 9px 13px; cursor: pointer; font-size: .9rem; }
.hx-autoc-item:hover { background: #fff3ec; color: var(--hx-primary); }
.hx-autoc-add { color: var(--hx-primary); font-weight: 600; border-top: 1px solid var(--hx-line); }
/* lista de clientes (aba Clientes: achar rápido e abrir a ficha) */
.hx-crm-toggle { display: inline-flex; border: 1px solid var(--hx-line); border-radius: 10px; overflow: hidden; margin-left: auto; }
.hx-crm-toggle button { border: 0; background: var(--hx-surface); color: var(--hx-ink-2); padding: 8px 14px; font: inherit; font-size: .85rem; cursor: pointer; }
.hx-crm-toggle button.on { background: var(--hx-primary); color: #fff; font-weight: 600; }
.hx-client-list { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.hx-client-row { display: flex; align-items: center; gap: 12px; background: var(--hx-surface); border: 1px solid var(--hx-line); border-radius: 12px; padding: 11px 14px; text-decoration: none; color: var(--hx-ink); transition: .12s; }
.hx-client-row:hover { border-color: var(--hx-primary); box-shadow: 0 4px 14px rgba(16,25,33,.08); transform: translateY(-1px); }
.hx-cl-ini { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.hx-cl-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.hx-cl-main b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-cl-main span { font-size: .8rem; }
.hx-cl-side { flex: 0 0 auto; font-size: .8rem; text-align: right; white-space: nowrap; }
@media (max-width: 560px) { .hx-cl-side { display: none; } .hx-crm-toggle { margin: 8px 0 0; } }
/* documentos do imóvel (matrícula, docs dos proprietários) */
.hx-doc-upload { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.hx-doc-upload select { width: auto; flex: 0 0 auto; min-width: 170px; }
.hx-doc-upload .hx-file { flex: 1 1 200px; min-width: 0; }
.hx-doc-list { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.hx-doc-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--hx-surface); border: 1px solid var(--hx-line); border-radius: 10px; padding: 8px 12px; font-size: .88rem; }
.hx-doc-row a { color: var(--hx-primary); font-weight: 600; }
.hx-phone-field { display: flex; gap: 6px; align-items: stretch; }
.hx-phone-field .hx-cc { width: auto; flex: 0 0 auto; max-width: 148px; }
.hx-phone-field input { flex: 1 1 auto; min-width: 0; }
.hx-citytags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.hx-citytags:empty { display: none; }
.hx-citytag { display: inline-flex; align-items: center; gap: 6px; background: #fff1ea; color: var(--hx-ink); border: 1px solid var(--hx-primary); border-radius: 999px; padding: 4px 6px 4px 12px; font-size: .85rem; font-weight: 600; }
.hx-citytag button { border: 0; background: rgba(16,25,33,.12); color: var(--hx-ink); width: 18px; height: 18px; border-radius: 50%; cursor: pointer; font-size: .9rem; line-height: 1; display: flex; align-items: center; justify-content: center; padding: 0; }
.hx-citytag button:hover { background: var(--hx-danger, #e0114c); color: #fff; }

/* logo Housxpert travada na edição do relatório */
.hx-cma.editing .hx-cma-coverlogo { cursor: not-allowed; opacity: .9; }
.hx-cma.editing .hx-cma-coverlogo::after { content: "🔒"; font-size: .8rem; margin-left: 6px; }

/* --- contato do corretor em todas as páginas impressas do ACM --- */
.hx-print-contact { display: none; }
@media print {
  .hx-print-contact { display: block; position: fixed; bottom: 0; left: 0; right: 0;
    font-size: 8.5pt; color: #606E89; text-align: center; padding: 4px 0;
    border-top: 1px solid #e6e9ee; background: #fff; }
  .hx-cma { padding-bottom: 30px; }
  /* 🟢➡️🗑️ 20/08/2026 — o balão de WhatsApp do suporte saía IMPRESSO no PDF do laudo.
     Caso real (Victor): o corretor emite o parecer pro cliente DELE e o documento ia com
     o NOSSO contato num círculo verde por cima. position:fixed imprime em toda página. */
  #hx-wa-fab { display: none !important; }
}

/* --- faixas do painel (destaques PRO + últimos da rede) --- */
.hx-hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: 272px; gap: 14px;
  overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x proximity; }
.hx-hscroll .hx-card { scroll-snap-align: start; }
.hx-card.prop { position: relative; }
.hx-card-badge { position: absolute; top: 10px; left: 10px; z-index: 2;
  background: linear-gradient(135deg, #FC5412, #ff8a50); color: #fff; font-size: .68rem; font-weight: 800;
  padding: 4px 10px; border-radius: 20px; box-shadow: 0 4px 12px rgba(16,25,33,.25); letter-spacing: .02em; }

/* --- CRECI junto ao nome do corretor --- */
.hx-creci { font-size: .72em; font-weight: 600; color: var(--hx-muted); white-space: nowrap; letter-spacing: .01em; }

/* --- fachada (Street View) no ACM --- */
.hx-facade { border-radius: 12px; overflow: hidden; border: 1px solid var(--hx-line); position: relative; }
/* 27/09/2026 — ela: "deixa do mesmo tamanho" (fachada e mapa, lado a lado). A foto (<img>) não
   tinha altura fixa — variava com a proporção de cada foto — enquanto o mapa (.hx-map-real)
   tem 340px fixos. Mesma altura aqui, cortando com object-fit em vez de esticar a foto. */
.hx-facade img { width: 100%; height: 340px; object-fit: cover; display: block; }
@media (max-width: 640px) { .hx-facade img { height: 240px; } }
.hx-cover-facade { position: relative; margin: 16px auto 6px; max-width: 620px; border-radius: 14px; overflow: hidden;
  box-shadow: 0 14px 40px rgba(16,25,33,.25); }
.hx-cover-facade iframe, .hx-cover-facade img { display: block; width: 100%; height: 280px; border: 0; object-fit: cover; }
@media print { .hx-cover-facade { box-shadow: none; } .hx-cover-facade iframe, .hx-cover-facade img { height: 250px; } }
.hx-facade-shield { position: absolute; inset: 0; z-index: 3; cursor: not-allowed; background: transparent; }
.hx-map-cam { font-size: 20px; filter: drop-shadow(0 2px 4px rgba(16,25,33,.4)); cursor: grab; }
.hx-capture-tip { background: #fff7ec; border: 1px solid #ffd9b8; border-radius: 10px; padding: 10px 14px;
  font-size: .86rem; margin-bottom: 10px; line-height: 1.45; }
.hx-facade iframe { display: block; width: 100%; height: 340px; border: 0; }
@media print { .hx-facade iframe { height: 300px; } }

/* --- redes sociais do corretor --- */
.hx-social-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.hx-soc { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--hx-line); text-decoration: none; font-size: 1.05rem; transition: transform .12s ease; }
.hx-soc:hover { transform: translateY(-2px); border-color: var(--hx-primary); }

/* --- editor de recorte da foto --- */
.hx-crop-vp { position: relative; width: 280px; height: 280px; margin: 0 auto; overflow: hidden;
  border-radius: 14px; background: #e9edf2; cursor: grab; touch-action: none; }
.hx-crop-vp:active { cursor: grabbing; }
.hx-crop-vp img { position: absolute; top: 0; left: 0; max-width: none; user-select: none; pointer-events: none; }
.hx-crop-ring { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 999px rgba(255,255,255,.6); pointer-events: none; }

/* --- foto do corretor --- */
.hx-avatar-img { border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 4px 14px rgba(16,25,33,.18); flex: none; }
/* 🏢 LOGO de empresa não é foto de rosto: assinatura horizontal (a da Vitacon é
   1121×483) cortada num círculo de 30px mostra três letras e nada mais. Aqui ela
   fica INTEIRA, num retângulo com fundo branco, e a largura acompanha o desenho. */
.hx-avatar-img.logo { border-radius: 7px; object-fit: contain; background: #fff; padding: 2px;
  width: auto; max-width: 96px; min-width: 30px; }
.hx-avatar-img.logo.xs { max-width: 74px; }
.hx-avatar-img.logo.lg { max-width: 180px; }
.hx-avatar-img.logo.xl { max-width: 240px; }
.hx-avatar-img.xs { width: 30px; height: 30px; border-width: 1px; box-shadow: none; }
.hx-avatar-img.md { width: 48px; height: 48px; }
.hx-avatar-img.lg { width: 74px; height: 74px; }
.hx-avatar-img.xl { width: 110px; height: 110px; border-width: 3px; }
.hx-agent-avatar.xs { width: 30px; height: 30px; font-size: .9rem; }
.hx-agent-avatar.md { width: 48px; height: 48px; }
.hx-avatar-edit { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.hx-avatar-ctrl { display: grid; gap: 8px; flex: 1; max-width: 420px; }
.hx-avatar-ctrl input[type="text"], .hx-avatar-ctrl input:not([type]) { padding: 9px 11px; border: 1px solid var(--hx-line); border-radius: 9px; font: inherit; }
.hx-cma-contact-row { display: flex; align-items: center; gap: 16px; }
@media print { .hx-avatar-img { box-shadow: none; } }

/* --- pop-up diário de tarefas --- */
.hx-modal-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(16,25,33,.55);
  display: flex; align-items: center; justify-content: center; padding: 20px; animation: hxfade .18s ease; }
@keyframes hxfade { from { opacity: 0; } to { opacity: 1; } }
/* ⚠️ `overflow: hidden` com `max-height` CORTA o que não cabe e não devolve rolagem
   nenhuma — o fim do modal fica inalcançável. Só passava despercebido nos modais que
   têm uma lista rolável por dentro (.hx-daily-list). O de cancelar assinatura não tem:
   em tela baixa, o botão de confirmar ficava fora do alcance (achado por ela em 06/08).
   `overflow-y: auto` conserta a família toda; o -x segue escondido pra manter os cantos. */
.hx-modal { background: #fff; border-radius: 18px; max-width: 520px; width: 100%; max-height: 82vh;
  display: flex; flex-direction: column; box-shadow: 0 30px 80px rgba(16,25,33,.35);
  overflow-y: auto; overflow-x: hidden; }
/* o overlay também rola: em tela muito baixa, 82vh do modal + 20px de respiro ainda
   podem passar da janela */
.hx-modal-overlay { overflow-y: auto; }
/* ⚠️ Numa coluna flex com altura limitada, os filhos ENCOLHEM antes de a caixa rolar
   (flex-shrink vale 1 por padrão). Quem tem altura mínima pequena é esmagado primeiro:
   o <textarea> do modal de cancelar virava um fiapo de 20px, com o texto cortado.
   Aqui os filhos guardam o tamanho natural e quem rola é o modal — que é o certo.
   A .hx-daily-list fica de fora porque ela É a área que deve encolher e rolar por dentro. */
.hx-modal > *:not(.hx-daily-list) { flex-shrink: 0; }
.hx-daily-head { padding: 20px 22px 12px; font-size: 1.25rem; font-weight: 800; }
.hx-daily-list { padding: 4px 14px; overflow-y: auto; display: grid; gap: 8px; }
.hx-daily-item { display: flex; align-items: flex-start; gap: 10px; padding: 11px 12px; border: 1px solid var(--hx-line);
  border-radius: 12px; text-decoration: none; color: inherit; }
.hx-daily-item:hover { border-color: var(--hx-primary); background: #fff7f3; }
.hx-daily-item.overdue { border-left: 4px solid var(--hx-danger); }
.hx-daily-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--hx-primary); margin-top: 6px; flex: 0 0 auto; }
.hx-daily-item.overdue .hx-daily-dot { background: var(--hx-danger); }
.hx-daily-txt { flex: 1; font-size: .9rem; line-height: 1.35; }
.hx-daily-txt small { color: var(--hx-muted); display: block; margin-top: 2px; }
.hx-daily-badge { font-size: .64rem; font-weight: 800; padding: 3px 8px; border-radius: 20px; background: #e8f7f0; color: #0a7d54; flex: 0 0 auto; }
.hx-daily-badge.overdue { background: #fde9e7; color: var(--hx-danger); }
/* ☀️ Resumo do dia (19/10/2026) — o mesmo pop-up "Bom dia", agora com blocos (app.js → abrirResumoDoDia).
   Navy #101921 + laranja #F47B20, as cores do card de Novidades; a 375 px os blocos viram coluna única. */
.hx-pend { max-width: 560px; }
.hx-pend-head { padding: 18px 20px 12px; background: #101921; color: #fff; border-radius: 18px 18px 0 0; }
.hx-pend-tit { font-size: 1.12rem; font-weight: 800; line-height: 1.3; }
.hx-pend-sub { font-size: .82rem; opacity: .8; margin-top: 3px; }
.hx-pend-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.hx-pend-chip { background: rgba(255,255,255,.12); border-radius: 999px; padding: 3px 10px; font-size: .8rem; white-space: nowrap; }
.hx-pend-chip b { color: #F47B20; }
.hx-pend-lista { padding: 10px 14px 4px; gap: 4px; }
.hx-pend-bloco h4 { margin: 10px 2px 6px; font-size: .86rem; color: #101921; display: flex; align-items: center; gap: 6px; }
.hx-pend-n { background: #F47B20; color: #fff; border-radius: 999px; font-size: .7rem; padding: 1px 8px; font-weight: 800; }
.hx-pend-row { display: flex; align-items: stretch; gap: 6px; margin-bottom: 6px; }
.hx-pend-row .hx-daily-item { flex: 1; min-width: 0; }
.hx-pend-row .hx-daily-item:hover { border-color: #F47B20; background: #fff7f0; }
.hx-pend-oque { display: block; color: #3a4450; overflow-wrap: anywhere; }
.hx-pend-ok { flex: 0 0 38px; border: 1px solid var(--hx-line); border-radius: 12px; background: #fff; color: #0a7d54;
  font-size: 1rem; font-weight: 800; cursor: pointer; }
.hx-pend-ok:hover { background: #e8f7f0; border-color: #0a7d54; }
.hx-pend-mais { font-size: .78rem; color: var(--hx-muted); margin: 0 4px 6px; }
.hx-pend-semana { margin: 10px 2px 8px; border-top: 1px solid var(--hx-line); padding-top: 8px; }
.hx-pend-semana summary { cursor: pointer; font-weight: 700; font-size: .86rem; color: #101921; padding: 4px 0; }
.hx-pend-conversa { display: block; text-decoration: none; color: inherit; padding: 7px 4px; border-bottom: 1px solid var(--hx-line); font-size: .86rem; }
.hx-pend-conversa small { color: var(--hx-muted); }
.hx-pend-conversa span { display: block; color: #3a4450; font-size: .82rem; overflow-wrap: anywhere; }
.hx-pend-tudo { background: #F47B20; border-color: #F47B20; color: #fff; font-weight: 700; }
/* botão "☀️ Resumo do dia" no Painel — reabre o pop-up (19/10/2026) */
#hx-resumo-dia:empty { display: none; }
#hx-resumo-dia { margin: 0 0 12px; }
.hx-resumo-btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #101921; background: #101921; color: #fff;
  border-radius: 999px; padding: 8px 16px; font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; max-width: 100%; }
.hx-resumo-btn:hover { background: #1c2a36; }
.hx-resumo-zero { font-weight: 400; font-size: .78rem; opacity: .75; }
@media (max-width: 480px) {
  .hx-modal-overlay:has(.hx-pend) { padding: 10px; }
  .hx-pend-head { padding: 14px 14px 10px; }
  .hx-pend-tit { font-size: 1rem; }
  .hx-pend-lista { padding: 8px 8px 2px; }
  .hx-pend .hx-daily-foot { padding: 10px 12px 14px; }
}
.hx-daily-foot { display: flex; justify-content: space-between; gap: 10px; padding: 14px 18px 18px; }

/* --- tarefas de follow-up com hora e observações --- */
.hx-task-form { display: grid; gap: 8px; margin-bottom: 12px; }
.hx-task-form input { padding: 9px 11px; border: 1px solid var(--hx-line); border-radius: 9px; font: inherit; }
.hx-task-when { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.hx-task { display: flex; align-items: flex-start; gap: 7px; }
.hx-task .hx-mini { margin-left: auto; }
.hx-tag { background: var(--hx-bg); border-radius: 6px; padding: 3px 9px; font-size: .76rem; color: var(--hx-ink-2); }
.hx-en { color: #fff; font-weight: 700; border-radius: 4px; padding: 1px 6px; }
.eA{background:#1a9641}.eB{background:#52b151}.eC{background:#a6d96a}.eD{background:#e4c01a}.eE{background:#f59f1b}.eF{background:#e8602c}.eG{background:#d7191c}

.hx-strats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hx-strat { border: 2px solid var(--hx-line); border-radius: 14px; padding: 22px; text-align: center; }
.hx-strat-label { font-weight: 700; color: var(--hx-ink-2); margin-bottom: 8px; }
.hx-strat-val { font-size: 1.7rem; font-weight: 800; color: var(--hx-ink); }
/* semáforo do ACM: venda rápida = VERDE · preço justo = AMARELO · fora de mercado = VERMELHO */
.hx-strat.quick { border-color: #16a34a; background: #f0fdf4; }
.hx-strat.quick .hx-strat-label { color: #15803d !important; }
.hx-strat.quick .hx-strat-val { color: #15803d !important; }
.hx-strat.rec { border-color: #d9a406; background: #fffbeb; transform: scale(1.03); }
.hx-strat.rec .hx-strat-label { color: #b45309 !important; }
.hx-strat.rec .hx-strat-val { color: #b45309 !important; }
.hx-strat.prem { border-color: #dc2626; background: #fef2f2; }
.hx-strat.prem .hx-strat-label { color: #b91c1c !important; }
.hx-strat.prem .hx-strat-val { color: #b91c1c !important; }
.hx-strat-days { color: var(--hx-muted); margin-top: 6px; font-size: .88rem; }
.hx-cma-foot { padding: 18px 40px; font-size: .8rem; color: var(--hx-muted); background: var(--hx-bg); }
/* seção "o que o mercado oferece por R$ X" (argumento de precificação) */
.hx-anchor-punch { background: #fff6f1; border: 1px solid #ffd8c2; border-left: 4px solid var(--hx-primary); border-radius: 10px; padding: 12px 16px; margin: 10px 0 14px; font-size: .92rem; line-height: 1.5; }
.hx-anchor-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.hx-anchor-row { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border: 1px solid var(--hx-line); border-radius: 10px; }
.hx-anchor-photo { width: 72px; height: 56px; flex: 0 0 auto; border-radius: 8px; background: #e8edf0; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #b8c4cc; overflow: hidden; }
.hx-anchor-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hx-anchor-mid { flex: 1; min-width: 0; }
.hx-anchor-price { font-weight: 800; color: var(--hx-primary); font-size: 1.02rem; }
.hx-anchor-info { font-size: .86rem; color: var(--hx-ink-2); margin-top: 2px; }
.hx-anchor-link { flex: 0 0 auto; background: var(--hx-primary); color: #fff; font-weight: 700; font-size: .8rem; padding: 8px 12px; border-radius: 9px; text-decoration: none; white-space: nowrap; box-shadow: 0 4px 12px rgba(252,84,18,.28); }
.hx-anchor-link:hover { filter: brightness(1.08); }
@media (max-width: 640px) { .hx-anchor-row { flex-wrap: wrap; } .hx-anchor-link { width: 100%; text-align: center; } }

/* proximity map */
.hx-map-wrap { display: flex; flex-direction: column; align-items: center; }
.hx-pmap { width: 100%; max-width: 560px; height: auto; }
.hx-ring { fill: none; stroke: var(--hx-line); stroke-width: 1; stroke-dasharray: 3 4; }
.hx-ring-lbl { fill: var(--hx-muted); font-size: 10px; text-anchor: middle; }
.hx-spoke { stroke: var(--hx-line); stroke-width: 1; }
.hx-mapdot circle { stroke: #fff; stroke-width: 2; }
.hx-mapdot.active circle { fill: var(--hx-primary); }
.hx-mapdot.na circle { fill: var(--hx-slate); }
.hx-mapdot.sold circle { fill: var(--hx-danger); }
.hx-dot-n { fill: #fff; font-size: 11px; font-weight: 700; text-anchor: middle; }
.hx-center { fill: #101921; stroke: var(--hx-accent); stroke-width: 3; }
.hx-center-lbl { fill: var(--hx-ink); font-size: 11px; font-weight: 700; text-anchor: middle; }
.hx-map-legend { display: flex; gap: 18px; margin-top: 12px; font-size: .82rem; color: var(--hx-ink-2); }
.hx-map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.hx-map-legend i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.hx-map-legend i.active { background: var(--hx-primary); }
.hx-map-legend i.na { background: var(--hx-slate); }
.hx-map-legend i.sold { background: var(--hx-danger); }

/* photo upload */
.hx-file { padding: 9px; background: var(--hx-bg); border-style: dashed; cursor: pointer; }
.hx-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin-top: 10px; }
.hx-photo-thumb { position: relative; padding-top: 75%; background-size: cover; background-position: center; border-radius: 10px; border: 1px solid var(--hx-line); }
.hx-photo-x { position: absolute; top: 5px; right: 5px; width: 24px; height: 24px; border-radius: 50%; border: none; background: rgba(16,25,33,.7); color: #fff; font-size: 1rem; line-height: 1; cursor: pointer; }
.hx-photo-x:hover { background: var(--hx-danger); }
.hx-photo-thumb { cursor: grab; }
.hx-photo-thumb.hx-dragging { opacity: .45; outline: 2px dashed var(--hx-brand); }
.hx-photo-cover { position: absolute; top: 5px; left: 5px; background: var(--hx-brand); color: #fff; font-size: .68rem; font-weight: 700; padding: 2px 7px; border-radius: 6px; letter-spacing: .3px; }
.hx-photo-move { position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; opacity: 0; transition: opacity .15s; }
.hx-photo-thumb:hover .hx-photo-move { opacity: 1; }
@media (pointer: coarse) { .hx-photo-move { opacity: 1; } }
.hx-photo-move button { width: 26px; height: 26px; border-radius: 50%; border: none; background: rgba(16,25,33,.72); color: #fff; font-size: 1.15rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.hx-photo-move button:hover { background: var(--hx-brand); }
.hx-photo-hint { font-size: .8rem; color: var(--hx-muted, #667); margin: 8px 0 2px; }

/* ---------- contract ---------- */
.hx-contract { background: #fff; border: 1px solid var(--hx-line); border-radius: var(--hx-radius); box-shadow: var(--hx-shadow); padding: 40px 46px; max-width: 860px; margin: 0 auto; }
.hx-contract-head { text-align: center; border-bottom: 2px solid var(--hx-line); padding-bottom: 18px; margin-bottom: 22px; }
.hx-contract-head h1 { font-size: 1.4rem; margin-top: 8px; }
.hx-contract h3 { color: var(--hx-primary); margin-top: 24px; }
.hx-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hx-party { background: var(--hx-bg); border-radius: 11px; padding: 16px; font-size: .9rem; }
.hx-party h3 { margin: 0 0 8px; font-size: .8rem; letter-spacing: .06em; color: var(--hx-primary); }
/* contrato/termo: papel branco legível em QUALQUER tema (claro ou escuro) */
.hx-contract { background: #ffffff !important; color: #17242f !important; }
.hx-contract p, .hx-contract li, .hx-contract td, .hx-contract b,
.hx-contract .hx-party, .hx-contract .hx-party b, .hx-contract-head h1 { color: #17242f !important; }
.hx-contract h3, .hx-contract .hx-party h3 { color: #FC5412 !important; }
.hx-contract .hx-party { background: #f2f5f8 !important; }
.hx-contract .muted, .hx-contract small { color: #5c6b78 !important; }
.hx-contract .hx-ctable td { border-bottom-color: #e6e9ee !important; }
.hx-ctable { width: 100%; border-collapse: collapse; }
.hx-ctable td { padding: 9px 12px; border-bottom: 1px solid var(--hx-line); }
.hx-ctable td:last-child { text-align: right; }
.hx-clauses { padding-left: 20px; text-align: justify; } .hx-clauses li { margin-bottom: 10px; line-height: 1.5; }
.hx-sa-closing { margin: 22px 0 30px; text-align: justify; }
.hx-sa-signblock { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 34px; }
.hx-sa-sigcol { text-align: center; font-size: .85rem; font-weight: 600; }
.hx-sa-sigcol small { font-weight: 400; color: var(--hx-muted); }
.hx-sa-sigline { border-top: 1px solid #333; margin-bottom: 8px; height: 30px; }
.hx-sa-witness { margin-top: 30px; } .hx-sa-witness > b { font-size: .82rem; color: var(--hx-primary); }
.hx-sa-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.hx-sa-form label { font-weight: 600; font-size: .88rem; display: block; }
.hx-sa-form input, .hx-sa-form select { width: 100%; margin-top: 5px; }
.hx-sim { background: var(--hx-bg); border-radius: 12px; padding: 18px; margin: 20px 0; }
.hx-sim label { font-weight: 600; font-size: .9rem; display: block; }
.hx-sim input { max-width: 240px; margin-top: 6px; }
.hx-sim-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.hx-sim-out div { background: #fff; border-radius: 10px; padding: 12px 14px; }
.hx-sim-out span { display: block; font-size: .78rem; color: var(--hx-muted); }
.hx-sim-out b { font-size: 1.15rem; }
.hx-sign-box { background: var(--hx-orange-soft); border: 1px solid rgba(252,84,18,.25); border-radius: 14px; padding: 22px; margin-top: 24px; }
.hx-accept { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; margin-bottom: 14px; }
.hx-accept input { width: auto; margin-top: 3px; }
.hx-signatures { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 40px; }
.hx-sig-name { font-family: "Brush Script MT", "Segoe Script", cursive; font-size: 1.6rem; color: var(--hx-ink); border-bottom: 1px solid var(--hx-ink); padding-bottom: 6px; }
.hx-sig-line { font-size: .78rem; color: var(--hx-muted); margin-top: 6px; }
.hx-ok { color: var(--hx-primary); font-weight: 600; padding: 10px 0; }

/* ---------- tables ---------- */
.hx-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--hx-line); border-radius: var(--hx-radius); overflow: hidden; }
.hx-table th, .hx-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--hx-line); font-size: .9rem; }
.hx-table th { background: var(--hx-bg); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--hx-muted); }

/* ---------- leads ---------- */
.hx-leads { display: grid; gap: 12px; }
.hx-lead { background: #fff; border: 1px solid var(--hx-line); border-radius: 12px; padding: 16px; }
.hx-lead-h { margin-bottom: 6px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hx-lead p { margin: 8px 0 0; }

/* ---------- portal / public ---------- */
.hx-portal-hero { text-align: center; padding: 44px 20px 34px; background: linear-gradient(135deg, #fff4ee, #fff9f0 55%, #f4f8e6); border-radius: 0 0 26px 26px; margin: -20px -20px 6px; }
.hx-portal-hero h1 { font-size: 2.1rem; letter-spacing: -.02em; }
.hx-portal-hero h1::after { content: ""; display: block; width: 68px; height: 5px; border-radius: 4px; background: #FC5412; margin: 10px auto 0; }
.hx-portal-hero p { color: var(--hx-ink-2); }
.hx-search { max-width: 520px; margin: 18px auto 0; font-size: 1rem; padding: 14px 18px; border-radius: 30px; box-shadow: var(--hx-shadow); }
.hx-listing { display: grid; grid-template-columns: 1.7fr 1fr; gap: 26px; margin-top: 14px; align-items: start; }
.hx-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border-radius: var(--hx-radius); overflow: hidden; margin-bottom: 18px; }
.hx-gallery .hx-gal:first-child:only-child, .hx-gallery .hx-gal:first-child {
  grid-column: span 2; height: auto;
}
/* foto principal: mostra a imagem INTEIRA (sem cortar); laterais preenchidas com a própria foto desfocada */
.hx-gal-hero { display: flex; align-items: center; justify-content: center; overflow: hidden; background: #0e1622; }
.hx-gal-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(26px) brightness(.55); transform: scale(1.15); z-index: 0; }
.hx-gal-hero img { position: relative; z-index: 1; max-width: 100%; height: auto; max-height: 72vh; object-fit: contain; }
.hx-gal { height: 220px; background-size: cover; background-position: center; background: #dfe6ea; position: relative; user-select: none; }
/* miniaturas: mostram a foto INTEIRA reduzida (sem cortar), com fundo desfocado da própria foto */
.hx-gal-fit { display: flex; align-items: center; justify-content: center; overflow: hidden; background: #0e1622; }
.hx-gal-fit img { position: relative; z-index: 1; max-width: 100%; max-height: 100%; object-fit: contain; }
.hx-gal.placeholder { display: flex; align-items: center; justify-content: center; font-size: 3rem; color: #b8c4cc; }
/* marca d'água nas fotos: UM "h" (símbolo da marca) grande e centralizado */
.hx-thumb { position: relative; }
.hx-thumb:not(.placeholder)::after,
.hx-pcard-media::after,
.hx-gal:not(.placeholder):not(.hx-gal-locked)::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image: url("brand/wm-h.svg");
  background-repeat: no-repeat; background-position: center; background-size: 46%; opacity: .16;
}
/* badges/overlays acima da marca d'água */
.hx-pcard-badges, .hx-fav, .hx-pcard-count, .hx-pcard-code, .hx-thumb-tags { z-index: 3; }
.hx-pcard-code { position: absolute; left: 10px; bottom: 10px; background: rgba(16,25,33,.8); color: #fff; font-size: .68rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; letter-spacing: .02em; }
.hx-card-code { font-size: .72rem; font-weight: 700; color: var(--hx-primary, #FC5412); letter-spacing: .03em; margin-bottom: 1px; }
.hx-feature-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.hx-listing-side { background: #fff; border: 1px solid var(--hx-line); border-radius: var(--hx-radius); padding: 20px; box-shadow: var(--hx-shadow); position: sticky; top: 80px; }
.hx-agent-card { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.hx-agent-avatar { width: 48px; height: 48px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.3rem; }
.hx-agent-avatar.lg { width: 84px; height: 84px; font-size: 2.2rem; }
.hx-contact-lines { font-size: .9rem; color: var(--hx-ink-2); margin: 10px 0; line-height: 1.9; }
.hx-lead-form { margin-top: 16px; display: grid; gap: 10px; border-top: 1px solid var(--hx-line); padding-top: 16px; }
.hx-lead-form h3 { margin: 0; }

.hx-agent-hero { display: flex; align-items: center; gap: 24px; background: #fff; border: 1px solid var(--hx-line); border-top: 5px solid var(--agc, var(--hx-primary)); border-radius: var(--hx-radius); padding: 28px 30px; box-shadow: var(--hx-shadow); margin-bottom: 26px; position: relative; }
.hx-agent-hero p { max-width: 640px; color: var(--hx-ink-2); }
.hx-agent-powered { position: absolute; top: 16px; right: 20px; font-size: .78rem; color: var(--hx-muted); }

/* ---------- app shell: sidebar + topbar ---------- */
.hx-shell { display: flex; min-height: 100vh; }
.hx-sidebar { width: 252px; flex: none; background: var(--hx-surface); border-right: 1px solid var(--hx-line); position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 16px 12px; overflow-y: auto; }
.hx-content { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hx-side-brand { padding: 6px 8px 16px; cursor: pointer; }
.hx-side-nav { flex: 1; }
.hx-side-group { margin-bottom: 14px; }
.hx-side-gtitle { font-size: .64rem; text-transform: uppercase; letter-spacing: .12em; color: var(--hx-muted); padding: 0 10px 6px; font-weight: 700; }
.hx-side-link { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; color: var(--hx-ink-2); font-weight: 500; font-size: .92rem; }
.hx-side-link:hover { background: var(--hx-bg); color: var(--hx-ink); }
.hx-side-link.active { background: var(--hx-orange-soft); color: var(--hx-primary); font-weight: 600; }
.hx-side-ic { width: 20px; text-align: center; flex: none; }
.hx-side-tag { margin-left: auto; font-size: .58rem; background: var(--hx-slate); color: #fff; padding: 2px 6px; border-radius: 10px; text-transform: uppercase; letter-spacing: .04em; }
/* 🎫 saldo da degustação (ideia do CapCut, 25/08/2026): quantos usos ainda restam.
   Verde-limão da marca = "você ainda tem"; quando zera vira cinza apagado em vez de
   vermelho — acabar a degustação não é erro da pessoa, é hora de assinar. */
.hx-side-tag.deg { background: var(--hx-lime, #AFD100); color: #101921; font-weight: 700; text-transform: none; letter-spacing: 0; }
.hx-side-tag.deg-zero { background: none; border: 1px solid currentColor; opacity: .55; text-transform: none; letter-spacing: 0; }
.hx-advert { display: block; background: linear-gradient(135deg, var(--hx-primary), var(--hx-primary-d)); color: #fff; border-radius: 12px; padding: 14px; margin: 8px 4px; }
.hx-advert b { display: block; margin-bottom: 4px; }
.hx-advert > span:not(.hx-btn) { font-size: .8rem; display: block; opacity: .92; }
.hx-advert .hx-btn { margin-top: 10px; background: #fff; color: var(--hx-primary); border: none; }
.hx-side-out { padding: 12px 10px; color: var(--hx-muted); font-size: .9rem; }
.hx-side-out:hover { color: var(--hx-primary); }

.hx-apptop { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 14px; padding: 11px 22px; background: var(--hx-surface); border-bottom: 1px solid var(--hx-line); }
.hx-gsearch { flex: 1; max-width: 440px; padding: 9px 16px; border-radius: 24px; }
.hx-icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--hx-line); background: var(--hx-surface); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; position: relative; font-size: 1rem; text-decoration: none; }
.hx-icon-btn:hover { border-color: var(--hx-primary); }
/* botão "Sugestão" no topo: rótulo visível (ícone pelado não se explicava) */
.hx-sug-btn { white-space: nowrap; border-color: var(--hx-primary); color: var(--hx-primary); font-weight: 600; }
.hx-sug-btn:hover { background: var(--hx-primary); color: #fff; }
@media (max-width: 480px) { .hx-sug-label { display: none; } }
.hx-bell-badge { position: absolute; top: -4px; right: -4px; background: var(--hx-primary); color: #fff; font-size: .62rem; min-width: 16px; height: 16px; border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
/* toast de notificação em tempo real */
.hx-toast { position: fixed; right: 20px; bottom: 88px; z-index: 9999; display: flex; align-items: flex-start; gap: 12px; max-width: 380px; background: var(--hx-surface, #fff); color: var(--hx-text, #1a1a1a); border: 1px solid var(--hx-border, #e6e6e6); border-left: 4px solid var(--hx-primary); border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.18); padding: 14px 16px; cursor: pointer; transform: translateY(20px); opacity: 0; transition: transform .35s cubic-bezier(.2,.9,.3,1), opacity .35s; }
.hx-toast.show { transform: translateY(0); opacity: 1; }
.hx-toast-ic { font-size: 1.35rem; line-height: 1.4; flex: 0 0 auto; }
.hx-toast-tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hx-toast-tx b { font-size: .9rem; font-weight: 600; }
.hx-toast-tx span { font-size: .8rem; opacity: .8; line-height: 1.35; }
.hx-toast-x { flex: 0 0 auto; background: none; border: none; color: inherit; opacity: .5; font-size: 1.15rem; line-height: 1; cursor: pointer; padding: 0 2px; }
.hx-toast-x:hover { opacity: 1; }
@media (max-width: 560px) { .hx-toast { right: 12px; left: 12px; bottom: 12px; max-width: none; } }
/* ---- correções MOBILE (≤640px) ---- */
@media (max-width: 640px) {
  /* grids com style inline (repeat(3/4,1fr)) vencem o CSS — força 2 colunas no celular */
  .hx-kpis[style*="grid-template-columns"] { grid-template-columns: repeat(2, 1fr) !important; }
  .hx-form-grid[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  .hx-val-grid[style*="grid-template-columns"], .hx-sim-out[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
}
@media (max-width: 560px) {
  /* topo do app logado: cabe tudo sem cortar (idioma, sino, sessão) */
  .hx-apptop { gap: 8px; padding: 9px 12px; flex-wrap: wrap; }
  .hx-top-right { flex-wrap: wrap; gap: 6px; margin-left: auto; }
  .hx-lang button { padding: 6px 7px; font-size: .72rem; }
  .hx-user select { max-width: 108px; }
  .hx-icon-btn { width: 34px; height: 34px; }
  /* topo público (portal): botões quebram linha em vez de estourar */
  .hx-topbar { flex-wrap: wrap; gap: 6px; padding: 9px 10px; height: auto; min-height: 54px; }
  .hx-topbar .hx-top-right { flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
  .hx-topbar .hx-btn.sm { padding: 8px 10px; font-size: .76rem; }
}
/* modelos de mensagem */
.hx-tpl-item { margin-bottom: 16px; padding: 14px; border: 1px solid var(--hx-border, #e6e6e6); border-radius: 12px; }
.hx-tpl-head { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.hx-tpl-name { flex: 1; font-weight: 600; }
.hx-tpl-new { margin-top: 22px; padding: 18px; border: 1px dashed var(--hx-border, #d8d8d8); border-radius: 12px; background: var(--hx-bg-soft, rgba(252,84,18,.04)); }
.hx-tpl-new h3 { margin: 0 0 12px; font-size: 1rem; }
.hx-tpl-new input, .hx-tpl-new textarea { width: 100%; }
.hx-tpl-vars { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 2px 0 16px; }
.hx-tpl-var { border: 1px solid var(--hx-line); background: var(--hx-surface); color: var(--hx-ink-2); border-radius: 999px; padding: 4px 11px; font: inherit; font-size: .8rem; cursor: pointer; transition: .12s; }
.hx-tpl-var:hover { border-color: var(--hx-primary); color: var(--hx-primary); }
/* seletor mensal/anual no checkout */
.hx-plan-annual { font-size: .8rem; color: var(--hx-primary); font-weight: 600; margin: -6px 0 10px; }
.ck-period-row { display: flex; gap: 10px; margin: 0 0 8px; }
.ck-per { flex: 1; display: flex; flex-direction: column; gap: 2px; border: 2px solid #d5dbe1; border-radius: 12px; padding: 12px 10px; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.ck-per input { display: none; }
.ck-per b { font-size: 1.1rem; }
.ck-per span { font-size: .72rem; opacity: .7; }
.ck-per.on { border-color: var(--hx-primary); background: rgba(252,84,18,.06); }
/* lançamento / empreendimento (construtoras) */
.hx-launch-toggle { display: flex; align-items: center; gap: 8px; margin: 6px 0; font-size: .92rem; cursor: pointer; }
.hx-launch-toggle input { width: 18px; height: 18px; flex: 0 0 auto; margin: 0; padding: 0; accent-color: var(--hx-ink); cursor: pointer; }
.hx-launch-box { border: 1px solid var(--hx-border, #e6e6e6); border-radius: 12px; padding: 14px; margin-bottom: 12px; background: var(--hx-bg-soft, rgba(252,84,18,.03)); }
.hx-launch-detail { margin: 16px 0; padding: 14px 16px; border: 1px solid var(--hx-border, #e6e6e6); border-radius: 12px; }
.hx-launch-detail h3 { margin: 0 0 8px; font-size: 1rem; }
.hx-launch-kv { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .88rem; margin-bottom: 8px; }
.hx-typ { margin: 6px 0 12px; padding-left: 18px; font-size: .88rem; }
.hx-typ li { margin: 2px 0; }
/* filtro de contatos no CRM */
.hx-crm-filter { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.hx-crm-search { flex: 1; min-width: 220px; padding: 9px 13px; border: 1px solid var(--hx-line, #d5dbe1); border-radius: 10px; font: inherit; }
.hx-crm-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hx-crm-chip { border: 1px solid var(--hx-line, #d5dbe1); background: var(--hx-surface, #fff); color: inherit; border-radius: 999px; padding: 6px 12px; font-size: .82rem; cursor: pointer; transition: all .15s; }
.hx-crm-chip span { opacity: .55; font-weight: 600; margin-left: 3px; }
.hx-crm-chip:hover { border-color: var(--hx-primary); }
.hx-crm-chip.on { background: var(--hx-primary); color: #fff; border-color: var(--hx-primary); }
.hx-crm-chip.on span { opacity: .85; }
/* 🗂️ 16/09/2026 — abas de TIPO na lista de Clientes (ela mostrou a tela da Century 21 e pediu
   abas no lugar das pílulas). Linha única com sublinhado na ativa; no celular rola de lado em
   vez de quebrar em três fileiras, que era o que as pílulas faziam. */
.hx-tabs-tipo { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--hx-line, #e5e7eb); margin-bottom: 12px; }
.hx-tabs-tipo::-webkit-scrollbar { display: none; }
.hx-tabs-tipo button { flex: none; border: 0; background: none; font-family: inherit; font-size: .88rem; font-weight: 600; color: var(--hx-muted, #667); padding: 9px 14px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: color .15s, border-color .15s; }
.hx-tabs-tipo button:hover { color: var(--hx-ink, #101921); }
.hx-tabs-tipo button.on { color: var(--hx-primary, #FC5412); border-bottom-color: var(--hx-primary, #FC5412); }
.hx-tabs-tipo button span { display: inline-block; margin-left: 5px; font-size: .74rem; font-weight: 700; background: var(--hx-bg, #f3f4f6); color: var(--hx-ink-2, #44505d); border-radius: 999px; padding: 1px 7px; }
.hx-tabs-tipo button.on span { background: var(--hx-orange-soft, #ffe9dd); color: var(--hx-primary, #FC5412); }

/* 🔁 16/09/2026 — papéis do contato editáveis na própria ficha (liga/desliga, salva na hora) */
.hx-papeis { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 6px 0 4px; }
.hx-papel { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--hx-line, #e5e7eb); background: var(--hx-surface, #fff); color: var(--hx-muted, #667); font-family: inherit; font-size: .78rem; font-weight: 600; border-radius: 999px; padding: 4px 8px 4px 11px; }
.hx-papel.on { background: var(--hx-orange-soft, #ffe9dd); border-color: var(--hx-primary, #FC5412); color: var(--hx-primary, #FC5412); }
.hx-papel button { border: 0; background: none; color: inherit; font: inherit; font-size: .95rem; line-height: 1; padding: 0 2px; cursor: pointer; opacity: .65; }
.hx-papel button:hover { opacity: 1; }
.hx-papel-sel { appearance: none; -webkit-appearance: none; border: 1px dashed var(--hx-line, #cfd5dc); background: var(--hx-surface, #fff); color: var(--hx-muted, #667); font-family: inherit; font-size: .78rem; font-weight: 600; border-radius: 999px; padding: 4px 26px 4px 11px; cursor: pointer; width: auto; min-width: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23667' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }
.hx-papel-sel:hover { border-color: var(--hx-primary, #FC5412); color: var(--hx-ink, #101921); }

/* 🧭 15/10/2026 — cabeçalho da ficha do cliente. Ela, com print: "deixe mais esteticamente
   coerente, tá bagunçado; esse dos 3 pontos, tem espaço pra pôr também". Era uma coluna
   esquerda apertada e a direita vazia. Agora três faixas: quem é (+ etapa à direita), uma
   barra de ações única (tudo com a mesma altura) e a conversa do WhatsApp em faixa fina. */
.hx-cli-header-card { display: flex; flex-direction: column; gap: 14px; }
.hx-cli-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
.hx-cli-id { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 7px; align-items: center; min-width: 0; flex: 1 1 320px; }
.hx-cli-av { position: relative; display: inline-block; grid-row: 1 / span 2; align-self: start; }
.hx-cli-id h1 { grid-column: 2; margin: 0; font-size: 1.75rem; line-height: 1.15; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; overflow-wrap: anywhere; }
.hx-cli-chips { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.hx-cli-chips > .hx-papeis, .hx-cli-chips > .hx-etiquetas { display: contents; }
/* mesma altura pra papel, etiqueta, origem e os dois seletores "＋" — antes cada um tinha a sua */
.hx-cli-chips .hx-papel, .hx-cli-chips .hx-papel-sel, .hx-cli-chips .hx-etiqueta, .hx-cli-origem { height: 26px; box-sizing: border-box; }
.hx-cli-chips .hx-etiqueta { border-radius: 999px; font-size: .74rem; padding: 0 10px; }
.hx-cli-origem { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--hx-line, #e6e9ee); background: var(--hx-bg, #f4f6f8); color: var(--hx-muted, #667); font-size: .74rem; border-radius: 999px; padding: 0 10px; white-space: nowrap; }
.hx-cli-origem b { color: var(--hx-ink-2, #46586a); font-weight: 600; }
.hx-cli-top .hx-stage-sel { flex: 0 0 auto; width: auto; min-width: 210px; height: 40px; padding: 0 12px; }
.hx-cli-barra { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding-top: 14px; border-top: 1px solid var(--hx-line, #e6e9ee); }
.hx-cli-grupo { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; }
.hx-cli-barra .hx-btn { height: 34px; padding: 0 12px; white-space: nowrap; box-sizing: border-box; line-height: 1; }
.hx-cli-barra .hx-cli-email { max-width: 240px; overflow: hidden; text-overflow: ellipsis; display: inline-block; line-height: 32px; }
.hx-cli-eliminar { margin-left: auto; border: 0; background: none; color: var(--hx-danger, #c0392b); font-family: inherit; font-size: .8rem; font-weight: 600; padding: 6px 4px; cursor: pointer; opacity: .8; }
.hx-cli-eliminar:hover { opacity: 1; text-decoration: underline; }
#cli-conversa:empty { display: none; }
.hx-cli-conv { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; padding: 8px 8px 8px 14px; border-radius: 10px;
  background: rgba(37, 211, 102, .08); border: 1px solid rgba(37, 211, 102, .32); font-size: .86rem; color: var(--hx-ink-2, #46586a); }
.hx-cli-conv.calada { background: rgba(252, 84, 18, .07); border-color: rgba(252, 84, 18, .3); }
.hx-cli-conv-txt { flex: 1 1 260px; min-width: 0; }
.hx-cli-conv-txt b { color: var(--hx-ink, #101921); }
.hx-cli-conv-acoes { display: flex; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.hx-cli-conv-acoes .hx-btn { height: 32px; padding: 0 12px; background: var(--hx-surface, #fff); white-space: nowrap; line-height: 1; }
@media (max-width: 640px) {
  .hx-cli-id h1 { font-size: 1.4rem; }
  .hx-cli-av { grid-row: 1; align-self: center; }
  .hx-cli-chips { grid-column: 1 / -1; }
  .hx-cli-top .hx-stage-sel { flex: 1 1 100%; width: 100%; min-width: 0; }
  /* no celular os grupos se desfazem e os botões preenchem as linhas por igual —
     nada estoura para o lado */
  .hx-cli-barra { gap: 6px; }
  .hx-cli-grupo { display: contents; }
  .hx-cli-barra .hx-btn { flex: 1 1 auto; }
  .hx-cli-barra .hx-cli-email { max-width: 100%; text-align: center; }
  .hx-cli-eliminar { margin: 2px auto 0; flex: 1 1 100%; }
  .hx-cli-conv-acoes { margin-left: 0; width: 100%; }
  .hx-cli-conv-acoes .hx-btn { flex: 1 1 auto; }
}

.hx-user { display: flex; align-items: center; gap: 8px; }
.hx-uav { width: 36px; height: 36px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; flex: none; }
.hx-uinfo { display: flex; flex-direction: column; line-height: 1.15; }
.hx-uinfo b { font-size: .85rem; }
.hx-plan { font-size: .6rem; font-weight: 700; text-transform: uppercase; padding: 1px 6px; border-radius: 8px; align-self: flex-start; letter-spacing: .03em; }
.hx-plan.free { background: var(--hx-line); color: var(--hx-ink-2); }
.hx-plan.business { background: var(--hx-orange-soft); color: var(--hx-primary); }
.hx-plan.pro { background: #101921; color: var(--hx-accent); }

/* mini stats (análise) */
.hx-mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: var(--hx-bg); border-radius: 10px; padding: 10px 12px; }
.hx-mini-stats span { display: block; font-size: .7rem; color: var(--hx-muted); }
.hx-mini-stats b { font-size: 1rem; }

/* plans */
.hx-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.hx-plan-card { border: 2px solid var(--hx-line); border-radius: 16px; padding: 24px; background: var(--hx-surface); }
.hx-plan-card.business { border-color: var(--hx-primary); }
.hx-plan-card.pro { border-color: #101921; background: linear-gradient(160deg, #101921, #28323f); color: #fff; }
.hx-plan-card.current { box-shadow: 0 0 0 3px var(--hx-orange-soft); }
.hx-plan-name { font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--hx-primary); }
.hx-plan-card.pro .hx-plan-name { color: var(--hx-accent); }
.hx-plan-price { font-size: 2.2rem; font-weight: 800; margin: 8px 0 14px; }
.hx-plan-price span { font-size: .9rem; font-weight: 500; color: var(--hx-muted); }
.hx-plan-card.pro .hx-plan-price span { color: rgba(255,255,255,.65); }
.hx-plan-feats { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; font-size: .9rem; }
.hx-plan-card.pro .hx-plan-feats li { color: rgba(255,255,255,.9); }
/* 📣 Bloco dentro da lista do plano: junta o que só existe ali (marketing e automação).
   Espalhado no meio de 13 itens, ninguém percebia que era tudo exclusivo do Pro. */
.hx-plan-feats li.hx-feat-grupo {
  margin: 10px 0 2px; padding: 6px 10px; border-radius: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .02em;
  background: rgba(175,209,0,.16); color: #AFD100;
}
.hx-plan-card:not(.pro) .hx-plan-feats li.hx-feat-grupo { background: #f3f6e6; color: #5f7300; }
.hx-plan-feats li.hx-feat-fim { height: 6px; padding: 0; margin: 0; }
/* 📐 27/10/2026 — todos os cards de plano com a MESMA altura e largura (ela: "o ideal seria todos os cards do mesmo
   tamanho"). A lista de itens tem altura fixa com rolagem interna fina; título, preço e botão ficam alinhados. */
.hx-plans { align-items: stretch; }
.hx-plan-card { display: flex; flex-direction: column; }
.hx-plan-card > .hx-btn.block { margin-top: auto; }
.hx-plan-price { min-height: 2.6rem; }
.hx-plan-note { min-height: 2.6em; }
.hx-plan-scroll { height: 250px; overflow-y: auto; padding-right: 6px; margin-bottom: 14px; scrollbar-width: thin; scrollbar-color: #c9d1da transparent; }
.hx-plan-scroll .hx-plan-feats { margin-bottom: 0; }
.hx-plan-card.pro .hx-plan-scroll { scrollbar-color: rgba(255,255,255,.35) transparent; }

/* construtoras */
.hx-builder { margin-bottom: 30px; }
.hx-builder-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.hx-builder-head h2 { margin: 0; }
.hx-builder-head > a.hx-btn { margin-left: auto; }

/* notifications */
.hx-notifs { display: grid; gap: 10px; max-width: 760px; }
.hx-notif { display: flex; gap: 12px; align-items: flex-start; background: var(--hx-surface); border: 1px solid var(--hx-line); border-radius: 12px; padding: 14px; }
/* ⚠️ 24/08/2026 — O TEXTO VAZAVA PRA FORA DO CARTÃO no celular. Ela: "tá desconfigurado".
   "Corretor(a) se cadastrou — indicado por" e "+55 49999807654 Veio pelo" apareciam cortados
   na direita. É flexbox clássico: item de flex nasce com min-width:auto e NÃO encolhe abaixo
   do conteúdo, então em vez de quebrar linha ele estoura. `min-width:0` devolve a quebra, e
   `overflow-wrap:anywhere` cuida de telefone e link longos, que não têm onde quebrar.
   E `pre-line` porque os avisos passaram a ter quebras de linha de propósito (o aviso de
   cruzamento foi reescrito hoje em linhas) — sem isso o HTML as engole e volta tudo grudado. */
.hx-notif > div { min-width: 0; flex: 1; }
.hx-notif > div > div { white-space: pre-line; overflow-wrap: anywhere; }
.hx-notif-ic { font-size: 1.2rem; flex: 0 0 auto; }

/* faq */
/* assistente de ajuda (chat) */
.hx-help-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; max-width: 820px; }
.hx-help-chip { border: 1px solid var(--hx-line); background: var(--hx-surface); border-radius: 999px; padding: 8px 14px; font-size: .84rem; cursor: pointer; color: var(--hx-ink); }
.hx-help-chip:hover { border-color: var(--hx-primary, #FC5412); color: var(--hx-primary, #FC5412); }
.hx-help-chip.sm { padding: 5px 11px; font-size: .78rem; margin: 4px 4px 0 0; }
.hx-help-chat { max-width: 820px; min-height: 220px; max-height: 52vh; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; padding: 16px; border: 1px solid var(--hx-line); border-radius: 14px; background: var(--hx-bg); margin-bottom: 12px; }
.hx-help-empty { color: var(--hx-muted); text-align: center; margin: auto; font-size: .95rem; }
.hx-help-msg { max-width: 82%; padding: 12px 15px; border-radius: 14px; font-size: .92rem; line-height: 1.55; }
.hx-help-msg.user { align-self: flex-end; background: var(--hx-primary, #FC5412); color: #fff; border-bottom-right-radius: 4px; }
.hx-help-msg.bot { align-self: flex-start; background: var(--hx-surface); border: 1px solid var(--hx-line); color: var(--hx-ink); border-bottom-left-radius: 4px; }
.hx-help-form { display: flex; gap: 10px; max-width: 820px; }
.hx-help-form input { flex: 1; padding: 12px 16px; border: 1px solid var(--hx-line); border-radius: 12px; font-size: .95rem; background: var(--hx-surface); color: var(--hx-ink); }
/* métricas de campanhas de e-mail */
.hx-emk-camp { padding: 10px 0; border-bottom: 1px solid var(--hx-line); }
.hx-emk-camp:last-child { border-bottom: 0; }
.hx-emk-camp-h { display: flex; flex-direction: column; gap: 1px; margin-bottom: 6px; }
.hx-emk-stats { display: flex; gap: 16px; font-size: .9rem; }
.hx-emk-stats span { color: var(--hx-ink-2); }
.hx-emk-stats b { color: var(--hx-primary, #FC5412); }
.hx-faq { display: grid; gap: 10px; max-width: 760px; }
.hx-faq-item { background: var(--hx-surface); border: 1px solid var(--hx-line); border-radius: 12px; padding: 4px 16px; }
.hx-faq-item summary { cursor: pointer; font-weight: 600; padding: 12px 0; }
.hx-faq-item p { margin: 0 0 12px; color: var(--hx-ink-2); }

/* keep CMA & contract as readable "paper" in dark mode */
html[data-theme="dark"] .hx-cma, html[data-theme="dark"] .hx-contract {
  --hx-ink: #122430; --hx-ink-2: #46586a; --hx-muted: #7c8b98;
  --hx-surface: #ffffff; --hx-bg: #f4f6f8; --hx-line: #e6e9ee;
}
/* Estudo de Mercado (ACM): papel branco legível em QUALQUER tema (claro ou escuro) */
.hx-cma { background: #fff !important; color: #17242f !important; }
.hx-cma-sec { background: #fff !important; }
.hx-cma-sec, .hx-cma-sec p, .hx-cma-sec li, .hx-cma-sec td, .hx-cma-sec b, .hx-cma-sec strong,
.hx-cma-sec h3, .hx-cma-foot, .hx-cma .hx-comp, .hx-cma .hx-strat { color: #17242f !important; }
.hx-cma-sec h2 { color: #FC5412 !important; }
.hx-cma-sec .muted, .hx-cma-sec small, .hx-cma-foot { color: #5c6b78 !important; }
.hx-cma .hx-ctable td { border-bottom-color: #e6e9ee !important; }
/* a capa continua escura (hero) com texto claro e destaque em lima */
.hx-cma-cover, .hx-cma-cover h1 { color: #fff !important; }
.hx-cma-kicker { color: #AFD100 !important; }

/* ---------- CRM ---------- */
.hx-crm-board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 8px; }
.hx-crm-col { background: var(--hx-bg); border-radius: 12px; padding: 10px; min-height: 120px; }
.hx-crm-coltitle { font-weight: 700; font-size: .82rem; padding: 6px 8px 10px; display: flex; justify-content: space-between; border-bottom: 3px solid var(--hx-line); margin-bottom: 10px; }
.hx-crm-coltitle span { background: var(--hx-surface); border-radius: 10px; padding: 0 8px; font-size: .76rem; color: var(--hx-muted); }
.hx-crm-coltitle.st-novo { border-color: var(--hx-slate); }
.hx-crm-coltitle.st-contactado { border-color: #4f9bd9; }
.hx-crm-coltitle.st-visita { border-color: var(--hx-accent); }
.hx-crm-coltitle.st-proposta { border-color: var(--hx-primary); }
.hx-crm-coltitle.st-ganho { border-color: #1a9641; }
.hx-crm-coltitle.st-perdido { border-color: var(--hx-danger); }
/* funil de proprietário/fornecedor — mesma progressão de cor do funil de comprador acima */
.hx-crm-coltitle.st-captado { border-color: var(--hx-slate); }
.hx-crm-coltitle.st-anunciado { border-color: #4f9bd9; }
.hx-crm-coltitle.st-negociacao { border-color: var(--hx-primary); }
.hx-crm-card { background: var(--hx-surface); border: 1px solid var(--hx-line); border-radius: 10px; padding: 11px; margin-bottom: 9px; cursor: grab; transition: .12s; }
.hx-crm-card:hover { border-color: var(--hx-primary); transform: translateY(-2px); }
.hx-crm-card:active { cursor: grabbing; }
/* 📊 04/09/2026 — os quatro números do Painel, com a comparação do mês */
.hx-kpis-mes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 12px 0 16px; }
.hx-kpis-mes .hx-kpi-var { font-size: .72rem; opacity: .85; font-weight: 600; }
@media (max-width: 620px) { .hx-kpis-mes { grid-template-columns: repeat(2, 1fr); } }
/* 🖼️ 04/09/2026 — a capa do card do funil (o imóvel separado pra este cliente).
   margem negativa pra foto sangrar até a borda do card, que tem padding de 11px. */
.hx-crm-capa { position: relative; margin: -11px -11px 9px; height: 96px; overflow: hidden;
  border-radius: 10px 10px 0 0; background: var(--hx-bg); }
.hx-crm-capa img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hx-crm-capa-val { position: absolute; left: 8px; bottom: 8px; background: rgba(16,25,33,.82);
  color: #fff; font-size: .74rem; font-weight: 700; padding: 3px 8px; border-radius: 7px;
  backdrop-filter: blur(4px); }
.hx-crm-card.dragging { opacity: .45; transform: scale(.97); }
.hx-crm-col.dropping { outline: 2px dashed var(--hx-primary); outline-offset: -3px; background: #FFF3ED; border-radius: 12px; }
.hx-crm-name { font-weight: 700; font-size: .92rem; }
.hx-crm-meta { font-size: .78rem; color: var(--hx-ink-2); }
.hx-crm-move { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; font-size: .76rem; color: var(--hx-muted); }
/* 🟢 04/09/2026 — o WhatsApp dentro do card do funil (veio do print da Argos que ela
   mandou). Fica entre o contador de imóveis e a seta de avançar; verde do WhatsApp para
   ser reconhecido sem legenda. Some sozinho quando o contato não tem telefone. */
.hx-crm-zap { display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 24px; border-radius: 7px; border: 1px solid #cfe9d4;
  background: #eafaef; color: #1f9d55; text-decoration: none; flex: 0 0 auto; }
.hx-crm-zap:hover { background: #25D366; border-color: #25D366; color: #fff; }
.hx-crm-empty { font-size: .8rem; color: var(--hx-muted); padding: 8px; text-align: center; }
.hx-mini { width: 26px; height: 24px; border: 1px solid var(--hx-line); background: var(--hx-surface); border-radius: 7px; cursor: pointer; color: var(--hx-ink-2); font-size: 1rem; line-height: 1; }
.hx-mini:hover:not([disabled]) { border-color: var(--hx-primary); color: var(--hx-primary); }
.hx-mini[disabled] { opacity: .35; cursor: default; }

/* 🐛 12/08/2026: no celular a ficha do cliente vazava pra fora da tela e o botão
   "Buscar imóveis" ficava cortado. Causa: "1fr" NÃO deixa a coluna ficar menor que o
   conteúdo (min-width:auto do item de grid) — a linha do Radar de mercado tem 425px de
   min-content (título com white-space:nowrap + os botões do lado) e empurrava a coluna
   inteira para 463px numa tela de 393px. Como o celular tem overflow-x:hidden, em vez de
   rolar, o conteúdo era CORTADO. minmax(0,…) + min-width:0 liberam o encolhimento. */
.hx-crm-detail { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.hx-crm-main, .hx-crm-side { display: grid; gap: 16px; min-width: 0; }
.hx-crm-main > *, .hx-crm-side > * { min-width: 0; }
.hx-panel { background: var(--hx-surface); border: 1px solid var(--hx-line); border-radius: 14px; padding: 18px; box-shadow: var(--hx-shadow); }
.hx-panel h3 { margin: 0 0 12px; font-size: 1rem; }
.hx-mrow { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--hx-line); font-size: .9rem; }
.hx-mrow:last-child { border-bottom: none; }
.hx-suggest { margin-top: 12px; background: var(--hx-bg); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.hx-mprop { display: flex; align-items: center; gap: 10px; padding: 7px 6px; border-bottom: 1px solid var(--hx-line); border-radius: 8px; min-width: 0; flex-wrap: wrap; }
/* no celular os botões da direita (Propor parceria / Ver anúncio) caem pra linha de
   baixo em vez de espremer a descrição do imóvel até sumir */
.hx-mprop > label { min-width: 0; }
.hx-mprop:last-child { border-bottom: none; }
.hx-suggest .hx-mprop { border-bottom: none; cursor: pointer; }
.hx-suggest .hx-mprop:hover { background: var(--hx-surface); }
.hx-suggest .hx-mprop input[type="checkbox"] { flex: none; width: 16px; height: 16px; }
.hx-mp-thumb { width: 44px; height: 44px; flex: none; border-radius: 8px; background-size: cover; background-position: center; background-color: #dfe6ea; }
.hx-mp-thumb.ph { display: flex; align-items: center; justify-content: center; font-size: 1.15rem; color: #b8c4cc; background: linear-gradient(135deg, #eef2f5, #dfe6ea); }
/* a foto agora é <img> (e não background-image) justamente para o navegador AVISAR
   quando o link do portal morre — aí o hxThumbFail troca pelo ícone. Com background
   não existe evento de erro: ficava um quadrado cinza vazio. */
.hx-mp-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; display: block; }
.hx-mp-info { flex: 1; min-width: 0; }
.hx-mp-title { font-weight: 600; font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-mp-meta { font-size: .76rem; color: var(--hx-ink-2); }
.hx-mp-meta a { color: var(--hx-primary); font-weight: 600; }
.hx-send-row { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.hx-btn.wa { background: #25D366; border-color: #25D366; color: #fff; }
.hx-btn.wa:hover { background: #1da851; color: #fff; }
.hx-acts { display: grid; gap: 10px; margin-top: 12px; }
.hx-act { border-left: 3px solid var(--hx-line); padding: 2px 0 2px 12px; }
.hx-act-kind { font-weight: 700; font-size: .78rem; color: var(--hx-primary); }
.hx-inline-form { display: flex; gap: 8px; flex-wrap: wrap; }
.hx-inline-form input { flex: 1; min-width: 140px; }
.hx-kv { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--hx-line); font-size: .9rem; }
.hx-kv:last-child { border-bottom: none; }
.hx-kv span { color: var(--hx-muted); }
.hx-tasks { display: grid; gap: 8px; margin-top: 12px; }
.hx-task { display: flex; align-items: center; gap: 8px; font-size: .9rem; }
.hx-task.done { text-decoration: line-through; color: var(--hx-muted); }
.hx-task input { width: auto; }
.hx-stage-sel { border: 1px solid var(--hx-line); border-radius: 8px; padding: 8px 10px; background: var(--hx-surface); font-weight: 600; }

/* templates bar + reminders */
.hx-tpl-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.hx-tpl-bar label { font-size: .82rem; font-weight: 600; color: var(--hx-ink-2); }
.hx-tpl-sel { width: auto; min-width: 180px; }
.hx-reminders { display: grid; gap: 10px; margin-bottom: 10px; }
.hx-reminder { display: flex; align-items: center; gap: 12px; background: var(--hx-surface); border: 1px solid var(--hx-line); border-left-width: 4px; border-radius: 12px; padding: 13px 16px; }
.hx-reminder:hover { border-color: var(--hx-primary); }
.hx-reminder.overdue { border-left-color: var(--hx-danger); }
.hx-reminder.today { border-left-color: var(--hx-primary); }
.hx-reminder.upcoming { border-left-color: var(--hx-slate); }
.hx-rem-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--hx-slate); flex: none; }
.hx-reminder.overdue .hx-rem-dot { background: var(--hx-danger); }
.hx-reminder.today .hx-rem-dot { background: var(--hx-primary); }
.hx-rem-body { flex: 1; }
.hx-rem-badge { font-size: .68rem; font-weight: 700; text-transform: uppercase; padding: 3px 9px; border-radius: 20px; letter-spacing: .04em; }
.hx-rem-badge.overdue { background: #fde9e7; color: var(--hx-danger); }
.hx-rem-badge.today { background: var(--hx-orange-soft); color: var(--hx-primary); }
.hx-rem-badge.upcoming { background: var(--hx-bg); color: var(--hx-ink-2); }

/* lead center */
.hx-lead-kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 14px; }
.hx-lead-kpi { background: var(--hx-surface); border: 1px solid var(--hx-line); border-radius: 12px; padding: 14px 16px; text-align: center; }
.hx-info-band { background: #eaf4fb; border: 1px solid #c9e2f2; color: #1d5d8a; border-radius: 10px; padding: 10px 14px; font-size: .86rem; margin-bottom: 16px; }
html[data-theme="dark"] .hx-info-band { background: #12293a; border-color: #1d4257; color: #9cc8e8; }
.hx-lead { cursor: pointer; transition: .12s; }
.hx-lead:hover { border-color: var(--hx-primary); }
.hx-lead.unread { border-left: 4px solid var(--hx-primary); }
.hx-lead.unread .hx-lead-h b::after { content: " •"; color: var(--hx-primary); }
.hx-lead-msg { margin: 6px 0 0; color: var(--hx-ink-2); font-size: .9rem; }
/* 📨 24/10/2026 — aba Leads: medidor de contatos que chegaram */
.cc-janelas { margin: 6px 0 14px; }
.cc-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 10px; }
.cc-card { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; font-family: inherit; color: inherit;
  background: var(--hx-surface); border: 1px solid var(--hx-line); border-radius: 12px; padding: 12px 14px; cursor: pointer; transition: border-color .12s, box-shadow .12s; }
.cc-card:hover { border-color: var(--hx-primary); }
.cc-card.on { border-color: var(--hx-primary); box-shadow: 0 0 0 2px var(--hx-orange-soft, #ffe9dd); }
.cc-card-ic { font-size: 1.05rem; }
.cc-card-n { font-size: 1.7rem; font-weight: 800; line-height: 1.1; color: var(--hx-ink); }
.cc-card-rot { font-size: .84rem; color: var(--hx-ink-2); font-weight: 600; }
.cc-card-x { font-size: .74rem; color: var(--hx-muted); }
.cc-card.cc-total { background: var(--hx-ink); border-color: var(--hx-ink); }
.cc-card.cc-total .cc-card-n { color: var(--hx-primary); font-size: 2rem; }
.cc-card.cc-total .cc-card-rot { color: #fff; }
html[data-theme="dark"] .cc-card.cc-total { background: #1b2b38; border-color: #2a3f50; }
.cc-card.cc-cliques { cursor: default; border-style: dashed; background: transparent; }
.cc-card.cc-cliques:hover { border-color: var(--hx-line); }
.cc-nota { font-size: .8rem; color: var(--hx-muted); margin: 4px 0 18px; }
.cc-nota a { color: var(--hx-ink-2); }
.cc-lista-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.cc-lista-h h3 { margin: 0; font-size: 1rem; }
.cc-lista-h .hx-tag a { text-decoration: none; margin-left: 4px; }
.cc-lista { background: var(--hx-surface); border: 1px solid var(--hx-line); border-radius: 12px; overflow: hidden; }
.cc-linha { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--hx-line); }
.cc-linha:last-child { border-bottom: none; }
.cc-linha-a { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cc-meta { font-size: .78rem; color: var(--hx-muted); }
.cc-pedido { font-size: .86rem; color: var(--hx-ink); font-weight: 600; }
.cc-resumo { font-size: .84rem; color: var(--hx-ink-2); overflow: hidden; text-overflow: ellipsis; }
.cc-linha-b { display: flex; align-items: center; gap: 8px; flex: none; }
.cc-sit { font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 20px; white-space: nowrap; }
.cc-s-novo { background: #fff3e0; color: #b06d00; }
.cc-s-atend { background: #eaf4fb; color: #1d5d8a; }
.cc-s-cliente { background: #eef2f7; color: #3d5166; }
.cc-s-visita { background: #f1ebfb; color: #5b3a96; }
.cc-s-fechou { background: #e3f5ef; color: #0a7d54; }
.cc-s-perdido { background: #eee; color: #777; }
.cc-pag { display: flex; justify-content: center; align-items: center; gap: 12px; margin: 12px 0; }
.cc-carregando { text-align: center; color: var(--hx-muted); font-size: .8rem; margin-top: 6px; }
@media (max-width: 760px) {
  .cc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cc-linha { flex-direction: column; align-items: flex-start; }
}
.hx-thread { display: grid; gap: 10px; max-height: 380px; overflow-y: auto; padding: 4px; }
.hx-msg { max-width: 78%; padding: 10px 14px; border-radius: 14px; font-size: .9rem; }
.hx-msg small { display: block; margin-top: 5px; opacity: .65; font-size: .72rem; }
.hx-msg.in { background: var(--hx-bg); border: 1px solid var(--hx-line); justify-self: start; border-bottom-left-radius: 4px; }
.hx-msg.out { background: var(--hx-primary); color: #fff; justify-self: end; border-bottom-right-radius: 4px; }
.hx-reply-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 10px; font-size: .86rem; }
.hx-reply-bar label { display: inline-flex; align-items: center; gap: 5px; }
.hx-reply-bar input { width: auto; }
.hx-reply-bar .hx-btn { margin-left: auto; }
.hx-conclude { border: 2px solid var(--hx-primary); margin-bottom: 18px; }
button.hx-chip-check { cursor: pointer; background: var(--hx-surface); }
button.hx-chip-check.on { background: var(--hx-orange-soft); border-color: var(--hx-primary); color: var(--hx-primary); font-weight: 600; }

/* atividade / mandatos / referidos / cruces */
.hx-act-form { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--hx-line); }
.hx-act-form select, .hx-act-form input { flex: 1; min-width: 130px; }
.hx-act-form button { flex: none; }
.hx-cruce-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.hx-cruce-head a { margin-left: auto; }
.hx-md { display: inline-block; font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 16px; }
.hx-md.active { background: #e3f5ef; color: #0a7d54; }
.hx-md.expiring { background: #fff3e0; color: #b06d00; }
.hx-md.expired { background: #fde9e7; color: var(--hx-danger); }
.hx-md.na { background: var(--hx-bg); color: var(--hx-muted); }

/* visualização restrita (parceria) */
.hx-restricted-band { background: #fff8ec; border: 1px solid #f3d9a8; color: #7a5200; border-radius: 12px; padding: 14px 16px; margin: 14px 0; font-size: .92rem; }
.hx-restricted-band .hx-btn { margin-left: 10px; }
html[data-theme="dark"] .hx-restricted-band { background: #2e2410; border-color: #5a4718; color: #e8c777; }
.hx-gallery.locked .hx-gal { pointer-events: none; user-select: none; }
.hx-gal-locked { display: flex; align-items: center; justify-content: center; text-align: center; background: repeating-linear-gradient(45deg, #e8ecef, #e8ecef 12px, #dfe4e8 12px, #dfe4e8 24px); color: var(--hx-ink-2); font-size: .82rem; font-weight: 600; padding: 10px; }
html[data-theme="dark"] .hx-gal-locked { background: repeating-linear-gradient(45deg, #1d2731, #1d2731 12px, #232e3a 12px, #232e3a 24px); }
.hx-lock { opacity: .8; }
/* 💳 selo de financiamento (destaque na dor nº1 do comprador) */
.hx-fin-badge { border-radius: 999px; padding: 2px 9px; font-size: .74rem; font-weight: 800; white-space: nowrap; vertical-align: middle; }
/* 🛡️ selo "Verificado pela Housxpert" — último tile da galeria do anúncio */
.hx-gal-verif { display: flex; flex-direction: column; justify-content: center; padding: 18px 18px; color: #fff;
  background: radial-gradient(320px 200px at 85% -10%, rgba(252,84,18,.4), transparent 62%), linear-gradient(150deg, #0d151d, #17242f 60%, #1d2b3a);
  border: 1px solid rgba(255,255,255,.06); min-height: 160px; }

/* autorização de venda */
.hx-sa-status { max-width: 860px; margin: 0 auto 14px; padding: 12px 18px; border-radius: 12px; font-weight: 600; }
.hx-sa-status.none { background: #fff3e0; color: #b06d00; }
.hx-sa-status.pending { background: #eaf4fb; color: #1d5d8a; }
.hx-sa-status.signed { background: #e3f5ef; color: #0a7d54; }
.hx-sa-form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; background: var(--hx-bg); border-radius: 12px; padding: 16px; }
.hx-sa-form label { font-size: .82rem; font-weight: 600; color: var(--hx-ink-2); display: flex; flex-direction: column; gap: 6px; }
.print-only { display: none; }
@media print { .print-only { display: table; } }
/* 28/09/2026 — o valor da autorização virou campo editável (#sa-preco); no impresso/PDF
   (Autentique) sai só o número, sem a caixa do input por cima. */
.print-only-inline { display: none; }
@media print { .print-only-inline { display: inline; } }
@media (max-width: 560px) { .hx-sa-form { grid-template-columns: 1fr; } }

/* novo contato (wizard) */
.hx-nc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.hx-nc-card { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  border: 2px solid var(--hx-line); border-radius: 14px; padding: 18px 10px; cursor: pointer; transition: .15s; }
.hx-nc-card:hover { border-color: var(--hx-primary); transform: translateY(-2px); }
.hx-nc-card input { position: absolute; opacity: 0; }
.hx-nc-card:has(input:checked) { border-color: var(--hx-primary); background: var(--hx-orange-soft); }
.hx-nc-ic { font-size: 1.8rem; }
.hx-nc-card small { color: var(--hx-muted); font-size: .76rem; }
.hx-nc-cta { flex: none; }
.hx-hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.hx-hero-sec { border-color: rgba(255,255,255,.35); color: #fff; }
.hx-hero-sec:hover { border-color: #fff; color: #fff; }
@media (max-width: 920px) { .hx-nc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .hx-nc-cta { display: none; } }

/* busca inteligente por demanda */
.hx-card.prop{position:relative}
.hx-pick-chk{position:absolute;top:10px;left:10px;z-index:2;background:#fff;border-radius:8px;padding:3px 5px;box-shadow:0 1px 4px rgba(0,0,0,.2);display:flex}
.hx-pick-chk input{width:20px;height:20px;accent-color:var(--hx-primary);cursor:pointer}
.hx-card.prop.picked{outline:3px solid var(--hx-primary);outline-offset:-1px}
.hx-bia-reasons{font-size:.8rem;color:#0a7d54;background:#e3f5ef;border-radius:8px;padding:5px 8px}
html[data-theme="dark"] .hx-bia-reasons{background:#0f2f24;color:#4ad39b}

/* mapa real (Leaflet) no CMA */
.hx-map-real { height: 340px; border-radius: 12px; border: 1px solid var(--hx-line); z-index: 0; }
.hx-map-subj { font-size: 26px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.4)); }
.hx-map-poi { font-size: 18px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.35)); }
@media print { .hx-map-real { height: 300px; } .leaflet-control-zoom { display: none !important; } }

/* parâmetros do CMA + relatório editável + plano de marketing */
.hx-cma-params { margin-bottom: 14px; }
.hx-params-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-end; margin-top: 10px; }
/* 27/09/2026 — ela: "organize isso tá ruim de ver". Os 4 blocos (busca, estado do imóvel,
   valores finais, amostra manual) ficavam soltos, sem separação nem título — virava uma
   parede só de campo. Cada grupo agora tem um rótulo pequeno em cima e uma linha fina entre
   um grupo e o próximo; a busca (finalidade/qtd/preço/portais/abrangência/raio) fica mais
   densa por dentro do próprio grupo (gap menor), porque ali os campos são pequenos e afins. */
.hx-params-group { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--hx-line); }
.hx-params-group:first-of-type { margin-top: 10px; padding-top: 0; border-top: 0; }
.hx-params-group-title { margin: 0 0 8px; font-size: .72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .04em; color: var(--hx-ink-2); }
.hx-params-group .hx-params-row { margin-top: 0; }
/* barra de abas (ex.: admin) que desliza pro lado no celular em vez de cortar */
/* abas que não cabem descem pra linha de baixo (pedido da Claudia — sem barra de rolagem);
   no celular volta o deslize horizontal pra não empilhar demais */
.hx-tabscroll { flex-wrap: wrap; gap: 8px; }
.hx-tabscroll > * { white-space: nowrap; }
@media (max-width: 640px) {
  .hx-tabscroll { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 6px; scrollbar-width: thin; }
  .hx-tabscroll > * { flex: 0 0 auto; }
  .hx-tabscroll::-webkit-scrollbar { height: 5px; }
  .hx-tabscroll::-webkit-scrollbar-thumb { background: rgba(0,0,0,.18); border-radius: 4px; }
}
/* banner "Instalar app" (PWA) — popup laranja grudado no topo */
#hx-install-bar { position: sticky; top: 0; z-index: 200; display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  background: linear-gradient(90deg, #FC5412, #ff7d3e); color: #fff; box-shadow: 0 3px 14px rgba(252,84,18,.4); animation: hxIbDrop .35s ease; }
#hx-install-bar .hx-ib-btn { background: #fff; color: #c8410f; border: 0; font-weight: 800; padding: 8px 18px; border-radius: 22px; cursor: pointer; font-size: .86rem; white-space: nowrap; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
#hx-install-bar .hx-ib-x { background: rgba(255,255,255,.2); border: 0; color: #fff; width: 30px; height: 30px; border-radius: 50%; font-size: .9rem; cursor: pointer; line-height: 1; flex-shrink: 0; }
@keyframes hxIbDrop { from { transform: translateY(-100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.hx-params-row label { display: flex; flex-direction: column; gap: 4px; font-size: .78rem; font-weight: 600; color: var(--hx-ink-2); }
.hx-params-row input[type="number"] { max-width: 140px; }
.hx-param-chk { flex-direction: row !important; align-items: center; }
.hx-param-chk input { width: auto !important; }
.hx-cma.editing { outline: 3px dashed var(--hx-primary); outline-offset: 4px; }
.hx-cma.editing:focus { outline-color: var(--hx-primary); }
.hx-mkt-phase { display: flex; gap: 14px; margin-bottom: 14px; }
.hx-mkt-n { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--hx-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.hx-mkt-phase ul { margin: 6px 0 0; padding-left: 18px; }
.hx-mkt-phase li { margin-bottom: 4px; font-size: .92rem; }

/* seleção interativa de comparáveis (CMA) */
.hx-comp.off { opacity: .45; background: var(--hx-bg); }
.hx-comp.off .hx-comp-n { background: var(--hx-muted); }
.hx-comp-use { display: inline-flex; align-items: center; cursor: pointer; }
.hx-comp-use input { width: 18px; height: 18px; accent-color: var(--hx-primary); cursor: pointer; }
@media print { .hx-comp.off { display: none; } }

/* verificação profissional */
.hx-verif-badge { display: inline-flex; align-items: center; gap: 4px; font-size: .68rem; font-weight: 700;
  background: #e3f5ef; color: #0a7d54; padding: 3px 9px; border-radius: 16px; vertical-align: middle; letter-spacing: .02em; }
html[data-theme="dark"] .hx-verif-badge { background: #0f2f24; color: #4ad39b; }
/* 🏅 Corretor Fundador da cidade (28/10/2026) — laranja da marca, ao lado do selo de verificado */
.hx-fundador-badge { background: #fff1e8; color: #b23c0b; }
html[data-theme="dark"] .hx-fundador-badge { background: #3a1d0e; color: #ff9a62; }

/* integrações */
.hx-integ-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.hx-integ-head .hx-badge { margin-left: auto; }
.hx-integ-ic { font-size: 1.6rem; }
.hx-integ-form { display: grid; gap: 8px; margin-top: 8px; }
.hx-feed-row { display: flex; gap: 8px; }
.hx-feed-row input { font-size: .78rem; color: var(--hx-ink-2); background: var(--hx-bg); }

/* Autentique */
.hx-esign { margin-top: 26px; border-top: 2px dashed var(--hx-line); padding-top: 18px; }
.hx-esign-st { display: inline-block; font-weight: 600; padding: 8px 14px; border-radius: 10px; margin-right: 10px; }
.hx-esign-st.pending { background: #fff3e0; color: #b06d00; }
.hx-esign-st.signed { background: #e3f5ef; color: #0a7d54; }

/* dark mode */
html[data-theme="dark"] {
  --hx-ink: #eef2f6; --hx-ink-2: #b6c1cb; --hx-muted: #8794a0;
  --hx-line: #28323d; --hx-bg: #0e151b; --hx-surface: #161f27;
  --hx-orange-soft: rgba(252,84,18,.18);
  --hx-shadow: 0 1px 3px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
}
html[data-theme="dark"] body { background: var(--hx-bg); }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .hx-grid, .hx-form-grid, .hx-val-grid, .hx-strats, .hx-kpis, .hx-sim-out, .hx-parties, .hx-plans { grid-template-columns: 1fr 1fr; }
  .hx-field.wide { grid-column: span 2; }
  .hx-listing, .hx-crm-detail { grid-template-columns: minmax(0, 1fr); }
  .hx-nav { display: none; }
  .hx-sidebar { width: 68px; padding: 12px 8px; }
  .hx-side-link span:not(.hx-side-ic), .hx-side-gtitle, .hx-side-tag, .hx-advert b, .hx-advert > span:not(.hx-btn), .hx-side-brand .hx-wordwrap, .hx-side-out { display: none; }
  .hx-side-link { justify-content: center; }
  .hx-uinfo { display: none; }
}
@media (max-width: 560px) {
  .hx-grid, .hx-form-grid, .hx-val-grid, .hx-strats, .hx-kpis, .hx-sim-out, .hx-parties, .hx-terms, .hx-plans { grid-template-columns: 1fr; }
  .hx-field.wide { grid-column: span 1; }
  .hx-hero-dash { flex-direction: column; align-items: flex-start; }
  .hx-cma-cover, .hx-cma-sec, .hx-contract { padding-left: 20px; padding-right: 20px; }
  .hx-gsearch { max-width: none; }
}

/* ---------- print (CMA + contract → PDF) ---------- */
@media print {
  .hx-topbar, .hx-nav, .no-print, .hx-cma-toolbar, .hx-sim, .hx-top-right, .hx-sidebar, .hx-apptop { display: none !important; }
  .hx-shell, .hx-content { display: block; }
  body, .hx-main { background: #fff; padding: 0; margin: 0; max-width: none; }
  .hx-cma, .hx-contract { border: none; box-shadow: none; border-radius: 0; }
  .hx-cma-sec, .hx-comp, .hx-strat, .hx-party, .hx-anchor-row { break-inside: avoid; }
  /* força fotos e fundos do relatório a imprimir (navegadores omitem por padrão) */
  .hx-cma, .hx-cma * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .hx-anchor-photo img, .hx-comp-photo, .hx-cover-facade img { display: block !important; }
}

/* ============================================================
   RESPONSIVO — tablet e celular
   ============================================================ */
.hx-burger { display: none; background: none; border: 0; font-size: 1.45rem; cursor: pointer; padding: 2px 8px; color: var(--hx-ink); }
.hx-nav-overlay { display: none; }

/* tablet */
@media (max-width: 1024px) {
  .hx-grid { grid-template-columns: repeat(2, 1fr); }
  .hx-form-grid { grid-template-columns: repeat(2, 1fr); }
  .hx-val-grid { grid-template-columns: repeat(2, 1fr); }
}

/* celular grande / tablet retrato: menu vira gaveta */
@media (max-width: 900px) {
  .hx-burger { display: block; }
  .hx-shell { display: block; }
  /* gaveta LARGA com textos visíveis (não o trilho de 68px do tablet) */
  .hx-sidebar { position: fixed; left: 0; top: 0; bottom: 0; height: 100dvh; z-index: 300;
    width: 268px; max-width: 82vw; padding: 16px 14px;
    transform: translateX(-105%); transition: transform .22s ease; box-shadow: 8px 0 30px rgba(16,25,33,.25); }
  body.nav-open .hx-sidebar { transform: none; }
  /* restaura os rótulos escondidos pela regra de tablet (68px) */
  .hx-sidebar .hx-side-link { justify-content: flex-start; }
  .hx-sidebar .hx-side-gtitle, .hx-sidebar .hx-side-out, .hx-sidebar .hx-side-brand .hx-wordwrap { display: block; }
  .hx-sidebar .hx-side-tag, .hx-sidebar .hx-advert b, .hx-sidebar .hx-advert > span { display: revert; }
  .hx-sidebar .hx-uinfo { display: block; }
  body.nav-open .hx-nav-overlay { display: block; position: fixed; inset: 0; z-index: 290; background: rgba(16,25,33,.45); }
  body.nav-open { overflow: hidden; }
  .hx-apptop { flex-wrap: wrap; gap: 8px; padding: 9px 12px; }
  .hx-gsearch { order: 10; flex: 1 1 100%; max-width: none; }
  .hx-uinfo { display: none; }
  .hx-agent-switch { max-width: 130px; }
  .hx-main { padding: 18px 14px 70px; }
  .hx-hero-dash { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hx-hero-ctas { display: flex; flex-wrap: wrap; gap: 8px; }
  .hx-crm-detail { grid-template-columns: minmax(0, 1fr); }
  .hx-plans { grid-template-columns: 1fr; }
  .hx-listing-grid { grid-template-columns: 1fr; }
  .hx-cma { padding: 18px 14px; }
  .hx-cma-toolbar, .hx-params-row, .hx-page-head, .hx-row-actions { flex-wrap: wrap; }
  .hx-page-head { gap: 10px; }
  /* tabelas roláveis */
  .hx-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
  .hx-facade iframe, #facade-pano { height: 280px; }
  .hx-daily-foot { flex-wrap: wrap; }
}

/* celular */
@media (max-width: 640px) {
  .hx-grid { grid-template-columns: 1fr; }
  .hx-form-grid { grid-template-columns: 1fr; }
  .hx-kpis { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  /* valores do ACM em 1 coluna (números longos não cabem em 2 colunas) */
  .hx-val-grid { grid-template-columns: 1fr; }
  .hx-strats { grid-template-columns: 1fr; }
  /* o relatório do ACM cabe na tela e o texto quebra (não corta à direita) */
  .hx-cma, .hx-cma-sec, .hx-cma-sec p, .hx-cma-sec li, .hx-comp, .hx-cma-cover { overflow-wrap: anywhere; word-break: break-word; }
  .hx-cma-sec, .hx-cma-cover, .hx-cma-foot { padding-left: 16px; padding-right: 16px; }
  .hx-cma-cover h1 { max-width: 100%; }
  .hx-comp-h { gap: 8px; }
  .hx-hscroll { grid-auto-columns: 82%; }
  .hx-portal-hero h1 { font-size: 1.5rem; }
  .hx-page-head h1 { font-size: 1.35rem; }
  .hx-cma-cover h1 { font-size: 1.3rem; }
  .hx-cover-facade iframe, .hx-cover-facade img { height: 200px; }
  /* ACM no celular: parâmetros e barra cabem na tela (não vazam pro lado) */
  .hx-cma-params .hx-params-row { flex-direction: column; align-items: stretch; }
  .hx-cma-params .hx-params-row label { width: 100%; }
  .hx-cma-params .hx-params-row input, .hx-cma-params .hx-params-row select { max-width: none !important; width: 100%; box-sizing: border-box; }
  .hx-cma-toolbar { justify-content: stretch; }
  .hx-cma-toolbar .hx-btn { flex: 1 1 44%; justify-content: center; }
  .hx-modal { max-height: 88vh; }
  .hx-avatar-edit { flex-direction: column; align-items: flex-start; }
  .hx-crm-board { grid-auto-columns: 78%; }
  .hx-btn.lg { padding: 10px 16px; font-size: .95rem; }
  .hx-send-row, .hx-daily-foot { flex-wrap: wrap; gap: 8px; }
}

/* trava vazamento horizontal no celular */
@media (max-width: 900px) {
  html, body { overflow-x: hidden; }
  .hx-modal { width: calc(100vw - 24px); }
  img, iframe { max-width: 100%; }
}
@media (max-width: 640px) { .hx-daily-badge { display: none; } .hx-daily-item.overdue { background: #fff5f4; } }

/* --- painel admin --- */
.hx-adm-bar { height: 7px; background: var(--hx-bg); border-radius: 6px; overflow: hidden; margin: 4px 0 12px; }
.hx-adm-bar > div { height: 100%; border-radius: 6px; }
.hx-adm-actions { white-space: nowrap; }
.hx-adm-actions .hx-btn { padding: 5px 8px; }

/* --- agente de buscas do WhatsApp (demo) --- */
.hx-wa-shell { max-width: 480px; margin: 0 auto; }
.hx-wa-head { display: flex; align-items: center; gap: 12px; background: #075E54; color: #fff;
  padding: 12px 16px; border-radius: 14px 14px 0 0; }
.hx-wa-head small { opacity: .8; }
.hx-wa-ava { width: 42px; height: 42px; border-radius: 50%; background: #FC5412; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.hx-wa-body { background: #E5DDD5 url() center; min-height: 380px; max-height: 55vh; overflow-y: auto;
  padding: 16px 12px; display: flex; flex-direction: column; gap: 8px; }
.hx-wa-msg { max-width: 82%; padding: 9px 12px; border-radius: 10px; font-size: .9rem; line-height: 1.45;
  box-shadow: 0 1px 1px rgba(0,0,0,.12); position: relative; }
.hx-wa-msg.bot { background: #fff; align-self: flex-start; border-top-left-radius: 2px; }
.hx-wa-msg.me { background: #DCF8C6; align-self: flex-end; border-top-right-radius: 2px; }
.hx-wa-msg small { display: block; text-align: right; color: rgba(0,0,0,.4); font-size: .66rem; margin-top: 3px; }
.hx-wa-input { display: flex; gap: 8px; background: #F0F0F0; padding: 10px; border-radius: 0 0 14px 14px; }
.hx-wa-input input { flex: 1; border: 0; border-radius: 24px; padding: 12px 18px; font: inherit; }

/* --- logo oficial --- */
.hx-brand-img { height: 44px; display: block; margin: -4px 0; }
.hx-brand-img.lg { height: 72px; margin: 0 auto; }
/* botões fantasmas legíveis no topo público escuro */
.hx-topbar.public .hx-btn.ghost { color: #fff; border-color: rgba(255,255,255,.35); background: transparent; }
.hx-topbar.public .hx-btn.ghost:hover { border-color: #fff; }
/* ícones sociais oficiais alinhados */
.hx-soc svg { display: block; }
/* capa personalizada no site do corretor */
.hx-agent-hero.has-cover, .hx-agent-hero.has-cover h1, .hx-agent-hero.has-cover p { color: #fff; }
.hx-agent-hero.has-cover .hx-eyebrow { color: #AFD100; }
.hx-agent-hero.has-cover .hx-contact-lines { color: rgba(255,255,255,.85); }
.hx-agent-hero.has-cover .hx-creci { color: rgba(255,255,255,.75); }

/* imóvel confidencial (só link privado) */
.hx-confid { display: flex; gap: 10px; align-items: flex-start; background: #eef1f4; border: 1px solid #d5dbe1; border-radius: 12px; padding: 12px 14px; margin: 8px 0 2px; font-size: .86rem; color: var(--hx-ink-2); cursor: pointer; line-height: 1.4; }
.hx-confid input { margin-top: 2px; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--hx-ink); cursor: pointer; }
.hx-confid b { color: var(--hx-ink); }

/* ACM: amostra que o corretor cola por link */
.hx-cma-sample { align-items: center; gap: 8px; flex-wrap: wrap; background: #f7fbff; border: 1px dashed #cfe0f0; border-radius: 10px; padding: 10px 12px; }
.hx-cma-sample input { border: 1px solid var(--hx-line); border-radius: 8px; padding: 8px 10px; font: inherit; font-size: .88rem; height: 38px; box-sizing: border-box; }
/* ⚠️ 27/09/2026 — cada input tinha um max-width fixo pra caber tudo numa linha só; sobrando
   pouco espaço (ex.: painel estreito), o campo "Tipo" cortava o texto do placeholder no meio
   ("Tipo (ex.: Ter…") em vez de encolher com folga. Trocado por flex-basis + min-width: cada
   campo tem um tamanho de conforto, mas cede espaço e quebra linha antes de espremer o texto. */
.hx-cma-sample input#smp-url { flex: 3 1 200px; }
.hx-cma-sample input#smp-price { flex: 1 1 110px; }
.hx-cma-sample input#smp-area { flex: 1 1 100px; }
.hx-cma-sample input#smp-type { flex: 1 1 130px; }
.hx-cma-sample button { flex: 0 0 auto; height: 38px; }
.hx-comp-del { border: 0; background: transparent; color: var(--hx-danger); font-weight: 700; cursor: pointer; font-size: .95rem; padding: 0 4px; margin-left: 4px; line-height: 1; }
.hx-comp-del:hover { color: #a01e14; }

/* ============ Portal público v2 (busca estilo grandes portais) ============ */
.hx-portal-hero2 { position: relative; overflow: hidden;
  /* FULL-BLEED: fura o max-width do contêiner e vai de ponta a ponta da tela */
  margin: -20px calc(50% - 50vw) 22px; padding: 54px 20px 58px;
  background: radial-gradient(1100px 420px at 78% -10%, rgba(252,84,18,.34), transparent 60%), linear-gradient(140deg, #0d151d 0%, #17242f 55%, #1d2b3a 100%);
  color: #fff; border-radius: 0; text-align: center; }
.hx-portal-hero2::after { content: ""; position: absolute; left: -46px; bottom: -72px; width: 300px; height: 300px;
  background: url("brand/simbolo-branco.svg") no-repeat center/contain; opacity: .06; pointer-events: none; z-index: 0; }
.hx-portal-hero2-in { max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }
.hx-sell-card { position: relative; overflow: hidden; }
.hx-sell-card::after { content: ""; position: absolute; right: -30px; bottom: -34px; width: 150px; height: 150px;
  background: url("brand/simbolo-branco.svg") no-repeat center/contain; opacity: .12; pointer-events: none; }
.hx-sell-card > * { position: relative; z-index: 1; }
.hx-portal-hero2 h1 { font-size: 2.3rem; letter-spacing: -.02em; margin: 4px 0 8px; }
.hx-portal-hero2 p { color: rgba(255,255,255,.82); font-size: 1.02rem; margin: 0 auto 22px; max-width: 640px; }
.hx-searchbar { background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.16); border-radius: 18px; padding: 12px; max-width: 860px; margin: 0 auto; }
.hx-trans-tabs { display: inline-flex; background: rgba(0,0,0,.28); border-radius: 12px; padding: 4px; margin-bottom: 10px; gap: 3px; }
.hx-trans-tabs button { border: 0; background: transparent; color: rgba(255,255,255,.82); font-weight: 600; font-size: .9rem; padding: 8px 18px; border-radius: 9px; cursor: pointer; transition: .15s; }
.hx-trans-tabs button.on { background: #fff; color: var(--hx-ink); }
.hx-searchbar-row { display: flex; gap: 8px; flex-wrap: wrap; }
.hx-sb-input { flex: 2 1 220px; min-width: 0; border: 0; border-radius: 11px; padding: 13px 15px; font: inherit; font-size: .95rem; background: #fff; color: var(--hx-ink); }
.hx-sb-sel { flex: 1 1 120px; border: 0; border-radius: 11px; padding: 13px 12px; font: inherit; font-size: .92rem; background: #fff; color: var(--hx-ink); cursor: pointer; }
.hx-sb-go { flex: 1 1 130px; border: 0; border-radius: 11px; padding: 13px 18px; font: inherit; font-weight: 700; font-size: .95rem; background: var(--hx-primary); color: #fff; cursor: pointer; transition: .15s; }
.hx-sb-go:hover { background: var(--hx-primary-d); }
.hx-hero-chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
/* 06/10/2026 — ela: "estão muito discretos, teriam que ser mais aparentes" (eram brancos translúcidos sobre o escuro). Agora: botão branco, texto escuro, ícone laranja. */
.hx-hero-chips { gap: 12px; margin-top: 20px; }
.hx-hero-chips a { display: inline-flex; align-items: center; gap: 8px; color: #101921; background: #fff; border: 2px solid #fff; border-radius: 999px; padding: 11px 20px; font-size: .95rem; font-weight: 700; box-shadow: 0 6px 18px rgba(0,0,0,.25); text-decoration: none; transition: .15s; }
.hx-hero-chips a svg { color: #FC5412; stroke: #FC5412; }
.hx-hero-chips a:hover { border-color: #FC5412; transform: translateY(-1px); }
.hx-hero-chips a.destaque { background: #FC5412; border-color: #FC5412; color: #fff; }
.hx-hero-chips a.destaque svg { color: #fff; stroke: #fff; }
.hx-seller-band { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: linear-gradient(120deg, #fff4ee, #fff9f0); border: 1px solid #ffe0cc; border-radius: 16px; padding: 16px 20px; margin: 0 0 18px; }
.hx-seller-band b { display: block; font-size: 1.05rem; }
.hx-seller-band span { color: var(--hx-ink-2); font-size: .88rem; }
.hx-portal-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 16px; }
.hx-portal-count { font-weight: 700; font-size: 1.05rem; color: var(--hx-ink); }
.hx-portal-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hx-chip-toggle { border: 1px solid var(--hx-line); background: #fff; color: var(--hx-ink-2); border-radius: 20px; padding: 9px 15px; font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; transition: .15s; }
.hx-chip-toggle:hover { border-color: var(--hx-primary); color: var(--hx-primary); }
.hx-chip-toggle.on { background: #ffeef0; border-color: #ffc2c9; color: #e0114c; }
.hx-portal-tools .hx-sb-sel { background: #fff; border: 1px solid var(--hx-line); border-radius: 20px; padding: 9px 14px; flex: 0 0 auto; }
.hx-view-toggle { display: inline-flex; border: 1px solid var(--hx-line); border-radius: 20px; overflow: hidden; background: #fff; }
.hx-view-toggle button { border: 0; background: transparent; color: var(--hx-ink-2); font: inherit; font-size: .86rem; font-weight: 600; padding: 9px 15px; cursor: pointer; }
.hx-view-toggle button.on { background: var(--hx-ink); color: #fff; }
.hx-pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hx-pcard { background: #fff; border: 1px solid var(--hx-line); border-radius: 16px; overflow: hidden; box-shadow: var(--hx-shadow); display: flex; flex-direction: column; transition: .18s; }
.hx-pcard:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(18,36,48,.15); }
.hx-pcard-media { display: block; position: relative; height: 210px; background-size: cover; background-position: center; background-color: #dbe3e8; }
.hx-pcard-noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: #b3c1ca; background: linear-gradient(135deg, #eef2f5, #dbe3e8); }
.hx-pcard-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.hx-badge { font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 20px; color: #fff; }
.hx-badge.feat { background: var(--hx-primary); }
.hx-badge.trans { background: rgba(16,25,33,.78); }
.hx-fav { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255,255,255,.92); color: #e0114c; font-size: 1.2rem; line-height: 1; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.18); transition: .15s; }
.hx-fav:hover { transform: scale(1.08); }
.hx-fav.on { background: #e0114c; color: #fff; }
.hx-pcard-count { position: absolute; bottom: 10px; right: 10px; background: rgba(16,25,33,.72); color: #fff; font-size: .72rem; font-weight: 600; padding: 3px 9px; border-radius: 20px; }
.hx-pcard-body { padding: 14px 16px 15px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.hx-pcard-price { font-size: 1.36rem; font-weight: 800; color: var(--hx-ink); letter-spacing: -.01em; }
.hx-pcard-price small { font-size: .8rem; font-weight: 600; color: var(--hx-muted); }
.hx-pcard-title { font-size: 1rem; margin: 0; font-weight: 600; line-height: 1.3; }
.hx-pcard-title a { color: var(--hx-ink); }
.hx-pcard-title a:hover { color: var(--hx-primary); }
.hx-pcard-loc { color: var(--hx-muted); font-size: .85rem; }
.hx-pcard-specs { display: flex; gap: 14px; font-size: .85rem; color: var(--hx-ink-2); flex-wrap: wrap; padding: 2px 0; }
.hx-pcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--hx-line); }
.hx-pcard-agent { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--hx-ink-2); font-weight: 500; min-width: 0; }
.hx-pcard-agent span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hx-pcard-creci { display: block; font-size: .68rem; font-weight: 400; color: var(--hx-ink-3, #94a3b8); letter-spacing: .02em; }
.hx-pcard-wa { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; }
.hx-pcard-wa:hover { background: #1da851; }
.hx-portal-map { height: 560px; border-radius: 16px; overflow: hidden; border: 1px solid var(--hx-line); box-shadow: var(--hx-shadow); position: relative; z-index: 0; }
.hx-map-note { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 500; background: #fff; border: 1px solid var(--hx-line); border-radius: 20px; padding: 8px 16px; font-size: .85rem; color: var(--hx-ink-2); box-shadow: var(--hx-shadow); }
/* ---- busca estilo Airbnb: MAPA em cima + LISTA embaixo, com hover cruzado ---- */
.hx-map-top { margin-bottom: 20px; }
.hx-map-top .hx-portal-map { height: 420px; }
@media (max-width: 900px) { .hx-map-top .hx-portal-map { height: 300px; } }
/* mapa + card "quero vender" lado a lado */
.hx-map-row { display: grid; grid-template-columns: 1fr 340px; gap: 18px; margin-bottom: 22px; align-items: stretch; }
.hx-map-card .hx-portal-map { height: 100%; min-height: 420px; }
/* card "quero vender": mesmo tom escuro do hero (mais elegante que o laranja chapado) */
.hx-sell-card { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 28px 26px; border-radius: 18px;
  background: radial-gradient(420px 260px at 85% -10%, rgba(252,84,18,.42), transparent 62%), linear-gradient(150deg, #0d151d 0%, #17242f 58%, #1d2b3a 100%);
  color: #fff; border: 1px solid rgba(255,255,255,.07); box-shadow: 0 16px 40px rgba(13,21,29,.4); }
.hx-sell-ic { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, #FC5412, #ff7a3c); color: #fff; box-shadow: 0 8px 20px rgba(252,84,18,.4); }
.hx-sell-eyebrow { font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #AFD100; }
.hx-sell-card h3 { font-size: 1.55rem; line-height: 1.18; margin: 0; color: #fff; letter-spacing: -.01em; }
.hx-sell-card p { font-size: .9rem; line-height: 1.55; color: rgba(255,255,255,.78); margin: 0; }
.hx-sell-perk { font-size: .82rem; line-height: 1.45; background: rgba(252,84,18,.14); border: 1px solid rgba(252,84,18,.35);
  border-radius: 10px; padding: 9px 12px; color: #ffd9c4; }
.hx-sell-card .hx-btn { align-self: flex-start; font-weight: 800; padding: 12px 22px; margin-top: 2px; }
.hx-sell-trust { font-size: .72rem; color: rgba(255,255,255,.55); }
@media (max-width: 900px) { .hx-map-row { grid-template-columns: 1fr; } .hx-map-card .hx-portal-map { min-height: 300px; } }
.hx-pcard.hovermk, .hx-card.hovermk { border-color: var(--hx-primary); box-shadow: 0 0 0 2px var(--hx-primary), var(--hx-shadow); transform: translateY(-2px); }
/* pin de preço (estilo Airbnb) */
.hx-price-pin { position: relative; }
.hx-price-pin span { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); white-space: nowrap; background: #fff; color: #101921; font-weight: 700; font-size: .76rem; border: 1px solid rgba(0,0,0,.18); border-radius: 999px; padding: 4px 9px; box-shadow: 0 2px 7px rgba(0,0,0,.28); cursor: pointer; transition: transform .12s ease, background .12s, color .12s; }
.hx-price-pin span:hover, .hx-price-pin.on span { background: var(--hx-primary); color: #fff; border-color: var(--hx-primary); transform: translate(-50%, -50%) scale(1.14); }
.hx-price-pin.on span { z-index: 1000; }
/* popup mini-card do pin */
.hx-mkpop-wrap .leaflet-popup-content-wrapper { padding: 0; overflow: hidden; border-radius: 14px; }
.hx-mkpop-wrap .leaflet-popup-content { margin: 0; width: 220px !important; }
.hx-mkpop { display: block; text-decoration: none; color: inherit; }
.hx-mkpop-img { display: block; height: 124px; background-size: cover; background-position: center; }
.hx-mkpop-noimg { display: flex; align-items: center; justify-content: center; font-size: 2.2rem; background: #eef1f4; }
.hx-mkpop-b { display: block; padding: 10px 13px 12px; }
.hx-mkpop-b b { font-size: 1.02rem; display: block; }
.hx-mkpop-t { display: block; font-size: .86rem; margin: 3px 0 1px; font-weight: 600; }
.hx-mkpop-loc { display: block; font-size: .78rem; color: var(--hx-muted); }
.hx-mkpop-go { display: block; font-size: .8rem; color: var(--hx-primary); font-weight: 700; margin-top: 7px; }
/* tag EXCLUSIVO no canto da foto (cards internos) + badge no portal */
.hx-thumb { position: relative; }
.hx-thumb-tags { position: absolute; top: 8px; left: 8px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.hx-excl-tag { background: #101921; color: #fff; font-size: .66rem; font-weight: 800; letter-spacing: .04em; padding: 4px 9px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.28); }
.hx-excl-tag.launch { background: var(--hx-primary, #FC5412); }
.hx-excl-tag.confid { background: #6d28d9; }
.hx-excl-tag.drop { background: #d92d20; text-transform: none; letter-spacing: 0; }
.hx-excl-tag.rent { background: #0e9384; }
.hx-price-old { color: #999; font-weight: 500; font-size: .7em; text-decoration: line-through; margin-right: 4px; }
.hx-pay-terms { font-size: .9rem; color: #444; margin: 2px 0 6px; }
.hx-code-tag { display: inline-block; vertical-align: middle; font-size: .62em; font-weight: 700; letter-spacing: .04em; color: var(--hx-primary, #FC5412); background: rgba(252,84,18,.1); border: 1px solid rgba(252,84,18,.35); border-radius: 6px; padding: 2px 8px; margin-left: 8px; }
.hx-card.clickable { cursor: pointer; transition: transform .12s ease, box-shadow .12s ease; }
.hx-card.clickable:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(0,0,0,.14); }
.hx-radio-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 4px 0; }
.hx-radio { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--hx-line); border-radius: 10px; padding: 9px 14px; cursor: pointer; font-size: .9rem; background: var(--hx-bg); }
.hx-radio:has(input:checked) { border-color: var(--hx-primary, #FC5412); background: #fff4ee; box-shadow: inset 0 0 0 1px var(--hx-primary, #FC5412); }
.hx-badge.excl { background: #101921; color: #fff; }
.hx-badge.launch { background: var(--hx-primary, #FC5412); color: #fff; }
/* banner "Venda seu imóvel" em DESTAQUE (laranja da marca) */
.hx-seller-band2 { display: flex; align-items: center; gap: 18px; margin: 18px 0 22px; padding: 22px 26px; border-radius: 18px; background: linear-gradient(115deg, #FC5412, #ff7a3c 60%, #ffa04d); color: #fff; box-shadow: 0 14px 34px rgba(252,84,18,.35); }
.hx-sb2-ic { font-size: 2.6rem; flex: 0 0 auto; filter: drop-shadow(0 4px 8px rgba(0,0,0,.25)); }
.hx-sb2-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.hx-sb2-eyebrow { font-size: .68rem; font-weight: 800; letter-spacing: .12em; opacity: .9; }
.hx-sb2-tx b { font-size: 1.35rem; line-height: 1.2; }
.hx-sb2-tx span { font-size: .9rem; opacity: .95; line-height: 1.45; }
.hx-sb2-cta { flex: 0 0 auto; border: 0; background: #fff; color: #d84408; font-weight: 800; font-size: .95rem; padding: 14px 22px; border-radius: 12px; cursor: pointer; font-family: inherit; box-shadow: 0 6px 16px rgba(0,0,0,.18); transition: transform .15s; }
.hx-sb2-cta:hover { transform: translateY(-2px); }
@media (max-width: 640px) { .hx-seller-band2 { flex-direction: column; text-align: center; gap: 10px; padding: 20px 16px; } .hx-sb2-tx { align-items: center; } .hx-sb2-cta { width: 100%; } }
/* tabela de unidades do lançamento (editor + exibição viva) */
.hx-units-edit { width: 100%; border-collapse: collapse; margin-top: 4px; }
.hx-units-edit th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--hx-muted); padding: 4px 6px; }
.hx-units-edit td { padding: 3px 4px; }
.hx-units-edit input, .hx-units-edit select { width: 100%; min-width: 70px; padding: 7px 9px; border: 1px solid var(--hx-line, #d5dbe1); border-radius: 8px; font: inherit; font-size: .85rem; }
.hx-units-tower { font-weight: 700; margin: 10px 0 4px; }
.hx-units-tb td, .hx-units-tb th { font-size: .86rem; }
.hx-unit-sold td { opacity: .45; }
.hx-units-sum { margin: 10px 0; padding: 12px 14px; border: 1px solid var(--hx-line, #e6e6e6); border-radius: 12px; background: var(--hx-bg-soft, rgba(252,84,18,.04)); font-size: .92rem; }
/* hub de lançamentos (aba Construtoras) */
.hx-lc-card { display: flex; gap: 16px; background: var(--hx-surface, #fff); border: 1px solid var(--hx-line, #e6e6e6); border-radius: 16px; padding: 14px; margin-bottom: 14px; box-shadow: var(--hx-shadow); }
.hx-lc-photo { flex: 0 0 150px; height: 118px; border-radius: 12px; background-size: cover; background-position: center; }
.hx-lc-noimg { display: flex; align-items: center; justify-content: center; font-size: 2.4rem; background: #eef1f4; }
.hx-lc-body { flex: 1; min-width: 0; }
.hx-lc-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hx-lc-head h3 { margin: 0; font-size: 1.05rem; }
.hx-lc-docs { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: 8px; }
.hx-lc-doc { font-size: .78rem; border-radius: 999px; padding: 4px 10px; text-decoration: none; }
.hx-lc-doc small { opacity: .7; }
.hx-lc-doc.ok { background: #f3f8e0; color: #4c5c00; }
.hx-lc-doc.miss { background: #f2f2f2; color: #888; }
.hx-lc-doc.warn { background: #fff3e0; color: #a04d00; font-weight: 600; }
@media (max-width: 620px) { .hx-lc-card { flex-direction: column; } .hx-lc-photo { flex: none; width: 100%; } }
/* quadro explicativo da modalidade EXCLUSIVA (/anunciar): abre no hover/toque */
.hx-excl-wrap { position: relative; }
.hx-excl-wrap:hover .hx-excl-pop, .hx-excl-wrap:focus-within .hx-excl-pop { display: block; }
.hx-excl-pop { display: none; position: absolute; left: 8px; right: 8px; top: calc(100% + 6px); z-index: 60; background: #101921; color: #fff; border-radius: 14px; padding: 16px 18px; font-size: .86rem; line-height: 1.5; box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.hx-excl-pop::before { content: ""; position: absolute; top: -7px; left: 34px; border: 7px solid transparent; border-bottom-color: #101921; border-top: none; }
.hx-excl-pop b { color: #FFB289; }
.hx-excl-pop ul { margin: 8px 0 0; padding-left: 18px; }
.hx-excl-pop li { margin: 4px 0; }
.hx-portal-empty { text-align: center; padding: 56px 20px; background: #fff; border: 1px dashed var(--hx-line); border-radius: 16px; }
.hx-portal-empty-ic { font-size: 3rem; }
.hx-portal-empty h3 { margin: 10px 0 4px; }
.hx-portal-empty p { color: var(--hx-muted); margin: 0 0 18px; }
.hx-portal-empty-ct { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 900px) {
  .hx-pgrid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .hx-portal-hero2 h1 { font-size: 1.7rem; }
  .hx-portal-hero2 { padding: 30px 16px 34px; }
  .hx-searchbar-row { flex-direction: column; }
  .hx-sb-input, .hx-sb-sel, .hx-sb-go { flex: 1 1 auto; width: 100%; box-sizing: border-box; }
  .hx-trans-tabs { display: flex; width: 100%; }
  .hx-trans-tabs button { flex: 1; padding: 9px 6px; }
  .hx-portal-map { height: 420px; }
}
@media (max-width: 560px) {
  .hx-pgrid { grid-template-columns: 1fr; }
  .hx-portal-toolbar { align-items: flex-start; flex-direction: column; }
}

/* galeria mosaico: selo "+N fotos · ver todas" na última miniatura */
.hx-gal-more { position: absolute; inset: 0; background: rgba(16,25,33,.62); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 700; font-size: 1.05rem; z-index: 2; text-align: center; line-height: 1.3; }
.hx-gal-more small { font-weight: 500; font-size: .78rem; opacity: .85; }

/* sub-navegação em abas (âncoras com o visual do alternador) */
.hx-subnav a { display: inline-flex; align-items: center; gap: 5px; padding: 7px 13px; border-radius: 9px; font-size: .84rem; font-weight: 600; color: var(--hx-muted, #606E89); text-decoration: none; }
.hx-subnav a.on { background: var(--hx-primary, #FC5412); color: #fff; }
.hx-subnav { flex-wrap: wrap; }

/* 🏆 Pontos Xpert — popup de recompensa (toast) */
/* 💬 o botão de WhatsApp mora no canto inferior direito: os avisos sobem 68px
   para empilhar ACIMA dele em vez de cobri-lo */
#hx-xp-toasts { position: fixed; right: 18px; bottom: 86px; z-index: 12000; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.hx-xp-toast { display: flex; align-items: center; gap: 12px; min-width: 240px; max-width: 320px; padding: 13px 16px; border-radius: 14px; color: #fff; background: linear-gradient(120deg, #FC5412 0%, #FF7F00 100%); box-shadow: 0 12px 30px rgba(252, 84, 18, .38); transform: translateX(120%); opacity: 0; transition: transform .35s cubic-bezier(.2,.9,.3,1.3), opacity .35s; }
.hx-xp-toast.in { transform: translateX(0); opacity: 1; }
.hx-xp-toast.neg { background: linear-gradient(120deg, #101921 0%, #2e3a48 100%); box-shadow: 0 12px 30px rgba(16, 25, 33, .4); }
.hx-xp-toast-ic { font-size: 1.7rem; line-height: 1; }
.hx-xp-toast-pts { font-weight: 800; font-size: 1.15rem; letter-spacing: .01em; }
.hx-xp-toast-lb { font-size: .8rem; opacity: .95; margin-top: 1px; }
/* contador de XP no topo/painel */
.hx-xp-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(252,84,18,.1); color: #FC5412; font-weight: 800; font-size: .9rem; border: 1px solid rgba(252,84,18,.25); }


/* bolha de agrupamento do mapa (zoom out): mostra quantos imóveis há ali.
   Sem isso, com o país inteiro na tela os pinos ficam um por cima do outro e
   parece que os imóveis sumiram. */
.hx-cluster-pin span{
  display:flex;align-items:center;justify-content:center;
  background:#FC5412;color:#fff;font-weight:800;font-size:.9rem;
  border:3px solid #fff;border-radius:50%;
  box-shadow:0 4px 14px rgba(16,25,33,.35);cursor:pointer;
  transition:transform .12s;
}
.hx-cluster-pin:hover span{ transform:scale(1.08); }

/* ☑️ comparável desmarcado no ACM: fica apagado na tela e NÃO SAI no documento
   impresso — o proprietário só pode ver o que entrou na conta */
.hx-anchor-row.off { opacity: .42; }
.hx-anchor-row.off .hx-anchor-price { text-decoration: line-through; }
@media print {
  .hx-anchor-row.off { display: none !important; }
  .hx-anchor-row input[type="checkbox"] { display: none !important; }
}

/* 🩶 assinatura da plataforma no pé do documento quando ele sai com a marca do
   corretor (plano Pro). Cinza sutil: informa sem competir com a marca dele. */
.hx-doc-rodape { margin-top: 26px; padding-top: 10px; border-top: 1px solid #eef1f4;
  text-align: center; font-size: .72rem; color: #9aa5b1; letter-spacing: .01em; }
.hx-doc-rodape b { color: #8b96a3; font-weight: 600; }
@media print { .hx-doc-rodape { color: #a8b0b8; border-top-color: #eee; } }

/* 📱 com um modal aberto, o botão flutuante do WhatsApp fica EM CIMA dos botões do
   rodapé — no print dela ele cobria metade do "Cancelar". Enquanto houver modal, some. */
body.hx-modal-aberto #hx-wa-fab { display: none !important; }

/* 💾 25/08/2026 — BARRA DE SALVAR do imóvel, colada no rodapé.
   A tela do imóvel é longa e o botão ficava só no fim: mexer no preço no meio
   obrigava a rolar tudo. Fica acima da barra de navegação do celular. */
.hx-save-bar {
  position: sticky; bottom: 0; z-index: 30;
  display: flex; align-items: center; gap: 12px; justify-content: flex-end;
  padding: 10px 14px; margin: 10px -4px 0;
  background: var(--hx-surface, #fff);
  border-top: 1px solid var(--hx-line, #e6e2dc);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 -6px 18px rgba(16, 25, 33, .07);
}
.hx-save-est { font-size: .82rem; color: var(--hx-muted, #6b7683); flex: 1; }
.hx-save-est.sujo { color: #a04d00; }
.hx-save-est.salvando { color: #6b7683; }
.hx-save-est.ok { color: #0a7d54; font-weight: 600; }
.hx-save-est.erro { color: #b42318; font-weight: 600; }
@media (max-width: 720px) { .hx-save-bar { margin-bottom: 64px; } }

/* ═══════════════════════════════════════════════════════════════════════
   🏛️ SITE DO CORRETOR — layout novo (25/08/2026)
   Ela viu uma peça feita no ChatGPT e pediu algo parecido: "o meu site hoje
   é nesse layout e gostei do layout que o chat gpt fez".
   A diferença não era decoração — era POSICIONAMENTO. O site antigo parecia
   um perfil dentro de uma plataforma; a peça parecia o site de uma corretora
   de alto padrão. Muda quem parece estar falando com o comprador.
   A cor é a DE CADA CORRETOR (--agc, já cadastrada em agents.color): a Vitacon
   vê o roxo dela, a Ravili o azul dela. A estrutura é a mesma pra todos.
   ═══════════════════════════════════════════════════════════════════════ */
.hx-site {
  --agc-ink: #0d1520;
  background: var(--agc-ink);
  overflow: hidden;
  margin-bottom: 26px;
  position: relative;
  /* 🖼️ 25/08/2026 — A CAPA IA DE PONTA A PONTA, mas o <main> tem max-width 1180 e
     26px de padding: sobrava faixa branca dos dois lados e o bloco parecia um cartão
     solto, não a capa de um site. Ela: "as laterais da foto da capa".
     Estas margens negativas furam o container e levam a capa até a borda da janela.
     `calc(50% - 50vw)` é metade da diferença entre o container e a janela — funciona
     em qualquer largura, sem precisar saber o tamanho do container.
     ⚠️ 100vw inclui a barra de rolagem: sem o `overflow-x` do pai (regra abaixo),
     isso criaria uma barra horizontal de ~15px na página inteira. */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
  border-radius: 0;
  /* ⬆️ 25/08/2026 — ela: "aquele vazio branco encima nao gostei". Era o padding-top de
     30px do .hx-main aparecendo entre a barra da plataforma e a capa: um risco branco
     atravessando a tela, que fazia a capa parecer um bloco colado e não o topo do site.
     A margem negativa encosta a capa na barra. O valor ACOMPANHA o padding do .hx-main
     (30px aqui, 18px no celular, linha ~1062) — se um mudar, o outro muda junto. */
  margin-top: -30px;
}
/* com capa, a foto passa por baixo da barra do nome também: a linha clara que separava
   as duas era o último lado da "moldura" que ela viu.
   ✂️ ela: "ve esse risco fino encima do meu nome?". A linha tem max-width 1180 (segue o
   conteúdo), mas a capa agora vai de ponta a ponta — então ela não separava mais nada,
   virava um risco solto pairando sobre o título. Sem foto atrás a linha ainda organiza;
   com foto, a própria imagem já separa. */
.hx-site.com-capa { background-color: var(--agc-ink); }
.hx-site.com-capa .hx-site-bar { border-bottom-color: transparent; }
/* 🌓 25/08/2026 — O ESCURECIMENTO SEGUE O TEXTO, NÃO A JANELA.
   Ela: "na descrição o 'em' ficou fora do quadro". O degradê parava em 42% da JANELA,
   mas a coluna de texto termina sempre em ~52,6% dela (é 1fr de `1fr 0.85fr` dentro de
   um container centralizado — medido igual em 900px e em 1366px). Numa tela de ~900px
   a última palavra da bio caía no claro e sumia em cima da foto.
   Agora a parte opaca cobre a coluna inteira com folga e só então abre pra imagem. */
.hx-site.com-capa::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg,
    rgba(13,21,32,.97) 0%, rgba(13,21,32,.94) 56%, rgba(13,21,32,.40) 96%);
}
/* o conteúdo sobe acima do véu (inclusive a sombra que preenche a faixa de baixo) */
.hx-site > * { position: relative; z-index: 1; }
/* 📱 no celular o palco vira uma coluna só e o texto ocupa a largura inteira:
   degradê horizontal não protege nada. Aqui o véu é de cima pra baixo. */
@media (max-width: 780px) {
  .hx-site.com-capa::before {
    background: linear-gradient(180deg, rgba(13,21,32,.86) 0%, rgba(13,21,32,.95) 55%, rgba(13,21,32,.97) 100%);
  }
}
/* ⚠️ o .hx-main muda pra 18px de padding em 900px (linha ~1062) — este breakpoint é o
   MESMO de propósito. Se ele mudar lá, muda aqui, senão a capa sobra ou falta. */
@media (max-width: 900px) { .hx-site { margin-top: -18px; } }
/* 🚫 trava a barra horizontal que o 100vw acima cria por causa da rolagem vertical.
   Precisa ser no <html> TAMBEM: com overflow so no body, o html mantem o proprio
   comportamento e a barra continua (medido: 1359 x 1351 = 8px sobrando).
   `clip` em vez de `hidden` porque hidden cria um contexto de rolagem e quebraria
   qualquer position:sticky dentro da pagina; onde clip nao existir, cai pro hidden. */
html:has(.hx-site), body:has(.hx-site) { overflow-x: hidden; }
@supports (overflow-x: clip) {
  html:has(.hx-site), body:has(.hx-site) { overflow-x: clip; }
}
/* barra de topo: nome, CRECI e o selo de verificado — nada de plataforma */
/* com a capa indo de ponta a ponta, o CONTEUDO precisa continuar alinhado ao resto
   da pagina — senao o nome do corretor cola na borda da tela numa monitor grande.
   1180px e a mesma medida do <main>, entao a capa sangra mas o texto acompanha. */
.hx-site-bar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 6px 26px; border-bottom: 1px solid rgba(255,255,255,.1);
  max-width: 1180px; margin: 0 auto; width: 100%;
}
.hx-site-marca { display: flex; align-items: center; gap: 11px; min-width: 0; }
.hx-site-marca img { height: 38px; width: auto; border-radius: 6px; }
.hx-site-mono {
  width: 40px; height: 40px; border-radius: 9px; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-family: Poppins, sans-serif; font-weight: 700; font-size: 1.15rem; color: #fff;
  background: var(--agc, #157C78);
}
.hx-site-nome { font-family: Poppins, sans-serif; font-weight: 600; color: #fff; font-size: .98rem; line-height: 1.2; }
.hx-site-sub { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-top: 2px; }

/* o palco: texto à esquerda, foto à direita */
.hx-site-palco {
  display: grid; grid-template-columns: 1fr 0.85fr; gap: 20px; align-items: end;
  /* 🔽 25/08/2026 — ela: 'a capa muito larga, digo pra baixo'. Altura enxuta: numa tela
     de notebook a capa inteira cabia e empurrava os imoveis pra fora da primeira dobra.
     O comprador tem de ver imovel sem rolar. */
  /* 📏 14/10/2026 — ela: "a faixa de cima está muito grande, muito comprida": menos respiro, texto menor, foto mais baixa */
  padding: 8px 26px 0; position: relative; min-height: 0;
  max-width: 1180px; margin: 0 auto; width: 100%;
}
.hx-site-palco.sem-foto { grid-template-columns: 1fr; padding-bottom: 40px; }
.hx-site-txt { padding-bottom: 8px; }
.hx-site-txt h1 {
  font-family: Poppins, sans-serif; font-weight: 700; color: #fff;
  font-size: clamp(1.3rem, 2.4vw, 1.65rem); line-height: 1.06;
  margin: 0 0 2px; letter-spacing: -.02em; text-wrap: balance;
}
.hx-site-papel {
  font-family: Poppins, sans-serif; font-weight: 600;
  font-size: clamp(.9rem, 1.5vw, 1rem); color: var(--agc, #157C78);
  margin: 0 0 5px;
  /* clareia só o necessário pra ter contraste no fundo escuro. Estava em 1.45 e
     um teal (#157C78) virava ciano — a cor da marca deixava de ser reconhecível. */
  filter: brightness(1.22);
}
.hx-site-txt .bio { color: #b9c6d2; font-size: .84rem; line-height: 1.4; max-width: 70ch; margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hx-site-acoes { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.hx-site-cta {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--agc, #157C78); color: #fff; font-weight: 700;
  padding: 7px 18px; border-radius: 10px; text-decoration: none;
  font-size: .86rem; transition: transform .15s, filter .15s;
}
.hx-site-cta:hover { transform: translateY(-1px); filter: brightness(1.1); color: #fff; }
.hx-site-ic {
  width: 32px; height: 32px; border-radius: 50%; display: inline-flex;
  align-items: center; justify-content: center; color: #fff;
  border: 1px solid rgba(255,255,255,.28); text-decoration: none; font-size: 1.05rem;
}
.hx-site-ic:hover { background: rgba(255,255,255,.12); color: #fff; }
.hx-site-foto { align-self: end; justify-self: center; max-width: 100%; }
/* 📏 07/10/2026 — ela: "a faixa onde tem minha foto está muito grande". Quem dava a altura era o
   retrato (280 px de largura em pé = ~460 px de altura). Agora a ALTURA tem teto e a largura acompanha. */
.hx-site-foto img { display: block; width: auto; max-width: 230px; max-height: 215px; height: auto; }
/* 🖼️ 27/08/2026 — logo de imobiliária/construtora NÃO é retrato (ela, vendo o site da
   Ravili: "logo tá feia"). O palco espera uma pessoa recortada ocupando a altura toda;
   uma logo quadrada com fundo próprio esticada ali vira um retângulo de cor por cima da
   capa. Aqui ela vira um selo de marca: menor, com cantos, alinhada ao fim do palco. */
.hx-site-foto.marca { align-self: end; justify-self: center; margin-bottom: 26px; }
.hx-site-foto.marca img {
  max-width: 190px; border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.14);
}
/* 🖼️ logo JÁ SEM FUNDO (PNG transparente): nada de caixa em volta — a moldura acima é
   acabamento pra logo com fundo, e sobre uma marca vazada ela aparece como um quadrado
   fantasma (ela, 27/08: "mas fica a marca do quadrado"). drop-shadow segue o desenho da
   marca; box-shadow desenharia o retângulo de novo. */
.hx-site-foto.marca.solta img {
  max-width: 230px; border: 0; border-radius: 0; background: none;
  box-shadow: none; filter: drop-shadow(0 10px 20px rgba(0,0,0,.5));
}
.hx-site-contato { color: rgba(255,255,255,.6); font-size: .78rem; margin-top: 6px; }
.hx-site-contato a { color: rgba(255,255,255,.75); text-decoration: none; }
.hx-site-contato a:hover { color: #fff; }

/* faixa de credenciais, no rodapé do bloco */
.hx-site-tiras {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2px; background: rgba(255,255,255,.1); border-top: 1px solid rgba(255,255,255,.1);
  max-width: 1180px; margin: 0 auto; width: 100%;
  /* 🩹 a faixa fica em 1180px pra alinhar com o texto, mas as tiras são OPACAS: nas
     laterais aparecia a capa por baixo, e do lado direito — onde o degradê é mais
     transparente — dava pra ver a emenda. A sombra sem desfoque pinta a mesma cor até
     fora da tela; o clip-path segura o topo e a base no lugar, senão ela vazaria por
     cima da capa. Alinhamento preservado, emenda some. */
  box-shadow: 0 0 0 100vw var(--agc-ink);
  clip-path: inset(0 -100vw);
}
.hx-site-tira { background: var(--agc-ink); padding: 6px 22px; display: flex; gap: 11px; align-items: flex-start; }
.hx-site-tira .em { font-size: 1.3rem; line-height: 1; }
.hx-site-tira b { display: block; color: #fff; font-size: .84rem; font-weight: 600; margin-bottom: 2px; }
.hx-site-tira span { color: rgba(255,255,255,.6); font-size: .79rem; line-height: 1.45; }

@media (max-width: 780px) {
  .hx-site-palco { grid-template-columns: 1fr; padding: 30px 20px 0; min-height: 0; }
  .hx-site-txt { padding-bottom: 26px; }
  .hx-site-foto { justify-self: start; margin-top: -10px; }
  .hx-site-foto img { max-width: 220px; max-height: 240px; }
  /* celular: a marca fica menor ainda e sem empurrar o texto */
  .hx-site-foto.marca { justify-self: start; margin: 6px 0 18px; }
  .hx-site-foto.marca img { max-width: 150px; }
  .hx-site-foto.marca.solta img { max-width: 175px; }
  .hx-site-bar { padding: 14px 20px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   ⓘ DICA — o balãozinho de ajuda ao lado do rótulo do campo
   ═══════════════════════════════════════════════════════════════════════
   Ela: "coloque essa informação do BDI como aquele balão que abre qdo passa o
   mouse, pq eu não sabia e deve ter outros q não sabem, e o pq de cada valor".

   Ela é CNAI, faz laudo há anos, e não sabia o que era BDI. Se ela não sabia,
   o corretor que abre o PTAM pela primeira vez também não — e um campo que a
   pessoa não entende ela preenche errado ou deixa em branco, e o laudo sai torto
   sem ninguém perceber.

   ⚠️ NÃO usa o `title=` do HTML: ele demora ~1s para aparecer, some sozinho, não
   aceita texto longo e NO CELULAR NÃO EXISTE. Metade dos corretores usa a
   plataforma no telefone.
   Aqui o balão abre no hover (mouse) E no foco (toque/teclado) — `tabindex="0"`
   no gatilho faz o toque virar foco no celular. Sem JavaScript nenhum. */
.hx-dica {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 50%; margin-left: 5px;
  background: var(--hx-line, #dde5ec); color: #5c6774;
  font-size: .68rem; font-weight: 800; font-style: normal; cursor: help;
  position: relative; vertical-align: middle; flex: none; user-select: none;
}
.hx-dica:hover, .hx-dica:focus { background: var(--hx-primary, #FC5412); color: #fff; outline: none; }
.hx-dica-balao {
  display: none; position: absolute; bottom: calc(100% + 8px); left: 50%;
  transform: translateX(-50%);
  width: max-content; max-width: min(300px, 78vw);
  background: #101921; color: #fff; text-align: left;
  font-size: .78rem; font-weight: 400; line-height: 1.55; letter-spacing: 0;
  padding: 10px 13px; border-radius: 10px; box-shadow: 0 8px 24px rgba(16,25,33,.28);
  z-index: 60; white-space: normal; text-transform: none; cursor: auto;
}
.hx-dica-balao b { color: #AFD100; font-weight: 700; }
/* a setinha apontando para o ⓘ */
.hx-dica-balao::after {
  content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  border: 6px solid transparent; border-top-color: #101921;
}
.hx-dica:hover .hx-dica-balao, .hx-dica:focus .hx-dica-balao { display: block; }
/* 📱 no celular o balão centralizado estoura a borda da tela: ancora à esquerda */
@media (max-width: 560px) {
  .hx-dica-balao { left: auto; right: -8px; transform: none; max-width: 82vw; }
  .hx-dica-balao::after { left: auto; right: 12px; transform: none; }
}
@media print { .hx-dica { display: none; } }

/* 📄 ficha de visita dentro do app — o termo dobrado tem de SAIR no papel.
   Mesma regra da página pública (src/fichapub.js): em tela ele fica recolhido,
   na impressão abre sozinho e o "Ver termo de visita" some. */
.hx-fdoc-termo summary::-webkit-details-marker { display: none; }
@media print {
  .hx-fdoc-termo > p { display: block !important; }
  .hx-fdoc-termo > summary { display: none; }
  .hx-fdoc { box-shadow: none; border: none; max-width: none; }
}

/* 📐 25/08/2026 — ela: "os cards estão com tamanhos irregulares" (Meus imóveis).
   O grid já estica os filhos e o .hx-card já é flex-column com actions no pé
   (margin-top:auto) — mas em Meus imóveis cada card vem DENTRO de um .hx-prop-wrap
   (o embrulho que o filtro por status usa), e o embrulho não repassava a altura:
   o grid esticava o wrap e o card ficava do tamanho do próprio conteúdo.
   Card com "Captado por" + 3 botões saía alto; o dela, sem essas linhas, baixo. */
.hx-prop-wrap { display: flex; flex-direction: column; }
.hx-prop-wrap > .hx-card { flex: 1; }

/* 🚀 26/08 — Painel "acesso rápido": grade de cards-atalho com aviso vivo */
/* 📐 20/09/2026 — ela: "por que meu site e portal estão menores?" A altura de cada LINHA era a do card mais alto
   daquela linha; a última (Meu site, Portal) não tem selo nem título de duas linhas e ficava baixinha.
   grid-auto-rows:1fr iguala todas as linhas pela mais alta. */
.hx-atalhos{display:grid;grid-template-columns:repeat(auto-fill,minmax(158px,1fr));grid-auto-rows:1fr;gap:10px;margin:16px 0}
.hx-atalho{background:var(--hx-surface,#fff);border:1px solid var(--hx-line,#e6e9ee);border-radius:14px;
  padding:14px 13px;display:flex;flex-direction:column;gap:6px;text-decoration:none;color:inherit;
  transition:box-shadow .15s,transform .15s,border-color .15s}
.hx-atalho:hover{box-shadow:0 6px 18px rgba(16,25,33,.09);transform:translateY(-1px);border-color:#FC5412}
.hx-atalho-ic{font-size:1.45rem;line-height:1}
.hx-atalho b{font-size:.9rem;line-height:1.25}
.hx-atalho-badge{font-size:.73rem;font-weight:700;color:#FC5412;background:#fff1e9;
  border-radius:20px;padding:2px 9px;align-self:flex-start;line-height:1.4}
.hx-atalho.on{border-color:#FC5412;box-shadow:0 4px 14px rgba(252,84,18,.16)}
/* 🟠 Novidades da rede em bolinhas de stories */
.hx-stories{display:flex;gap:14px;overflow-x:auto;padding:6px 2px 10px;-webkit-overflow-scrolling:touch}
.hx-story{flex:0 0 auto;width:78px;text-align:center;text-decoration:none;color:inherit}
.hx-story .an{width:68px;height:68px;border-radius:50%;padding:3px;display:block;margin:0 auto;
  background:linear-gradient(45deg,#FC5412 20%,#ffb37a 55%,#AFD100)}
.hx-story .an img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block;
  background:#fff;border:2px solid var(--hx-surface,#fff)}
.hx-story .an > span{width:100%;height:100%;border-radius:50%;display:flex;align-items:center;
  justify-content:center;background:var(--hx-surface,#fff);border:2px solid var(--hx-surface,#fff);font-size:1.4rem}
.hx-story small{display:block;font-size:.68rem;line-height:1.25;margin-top:4px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hx-story:hover .an{filter:brightness(1.06)}

/* 🕒 08/09 — data e hora no topo, no fuso do aparelho. Discreto: informa sem competir
   com o sino e o avatar. Some no celular (a barra do sistema já mostra a hora ali). */
.hx-relogio{display:flex;flex-direction:column;align-items:flex-end;line-height:1.15;
  margin-right:4px;white-space:nowrap;cursor:default}
.hx-relogio b{font-size:.86rem;font-weight:600;color:#fff;letter-spacing:.01em}
.hx-relogio span{font-size:.64rem;color:#8fa1b3;text-transform:uppercase;letter-spacing:.04em}
.hx-apptop:not(.painel) .hx-relogio b{color:var(--hx-ink,#101921)}
.hx-apptop:not(.painel) .hx-relogio span{color:var(--hx-muted,#606E89)}
@media (max-width:820px){ .hx-relogio{display:none} }
/* 🏙️ 08/09 — bolinha de MERCADO (anúncio de terceiro na cidade do corretor): anel cinza,
   etiqueta discreta. Não usa o anel laranja: laranja é a rede, e isso não é da rede. */
.hx-story .an.mkt{background:var(--hx-line,#e6e9ee)}
.hx-story-mkt{font-size:.58rem !important;letter-spacing:.05em;color:var(--hx-muted,#606E89);margin-top:3px !important}
#hx-stories-viewer .st-mkt{display:inline-block;font-size:.62rem;letter-spacing:.06em;padding:2px 7px;border-radius:999px;
  background:rgba(255,255,255,.16);color:#fff;margin-bottom:6px}

/* 📱 26/08 — herói mínimo (nome numa régua) + bolinhas no topo, cara de Instagram */
.hx-hero-slim{padding:10px 16px !important;display:flex;align-items:center;
  justify-content:space-between;gap:10px;flex-wrap:wrap;min-height:0}
.hx-hero-slim h1{font-size:1.05rem !important;line-height:1.3}
.hx-story .an.fim{background:var(--hx-line,#e6e9ee)}
.hx-story .an.fim > span{font-size:1.15rem;color:var(--hx-muted,#606E89)}

/* linha de números do cabeçalho (posts · seguidores · seguindo do IG) */
.hx-hero-stats{display:flex;gap:18px;margin-top:5px;font-size:.78rem;flex-wrap:wrap}
.hx-hero-stats a{color:inherit;text-decoration:none;opacity:.85;white-space:nowrap}
.hx-hero-stats a:hover{opacity:1;text-decoration:underline}
.hx-hero-stats b{font-size:.95rem;margin-right:3px}

/* 📱 26/08 — no Painel a barra do topo é a AZUL: escura, com identidade e números */
.hx-apptop.painel{background:#101921;border-bottom:1px solid rgba(255,255,255,.08)}
.hx-apptop.painel .painel-id{color:#fff;min-width:0;line-height:1.25;margin:0 8px 0 2px}
.hx-apptop.painel .painel-nome{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.95rem}
.painel-creci{font-size:.68rem;opacity:.7}
.hx-apptop.painel .hx-hero-stats{margin-top:1px;gap:12px;font-size:.74rem;color:#fff}
.hx-apptop.painel .hx-burger,.hx-apptop.painel .hx-icon-btn,.hx-apptop.painel .hx-bell{color:#fff}
.hx-apptop.painel .hx-btn.ghost{color:#e8edf2;border-color:rgba(255,255,255,.28);background:transparent}
.hx-apptop.painel .hx-lang{border-color:rgba(255,255,255,.28)}
.hx-apptop.painel .hx-lang button{color:rgba(255,255,255,.75)}
.hx-apptop.painel .hx-uinfo b{color:#fff}
.hx-apptop.painel .hx-uinfo .hx-plan{filter:brightness(1.15)}
.hx-apptop.painel .hx-gsearch{background:rgba(255,255,255,.94)}
@media (max-width:900px){ .hx-apptop.painel .hx-hero-stats{display:none} }

/* 🥚 26/08 — a busca virava "ovo" na barra do Painel (flex:1 encolhia até quase zero
   com a identidade ao lado). Mínimo de largura pra ela, teto pra identidade, e o que
   é dispensável sai conforme a tela aperta (mic, rótulo da Sugestão, números). */
.hx-apptop.painel .hx-gsearch{flex:1 1 160px;min-width:140px}
.hx-apptop.painel .painel-id{flex:0 1 auto;max-width:250px}
.hx-apptop.painel .hx-uinfo{display:none}
.hx-apptop.painel [data-action="voice-search"]{display:none}
@media (max-width:1240px){ .hx-apptop.painel .hx-sug-label{display:none} }
@media (max-width:1100px){ .hx-apptop.painel .hx-hero-stats{display:none} }

/* 📖 26/08 — o "?" do manual dos links (hover mostra o title; clique abre popup) */
.hx-link-info{cursor:help;opacity:.55;font-size:.85rem;user-select:none}
.hx-link-info:hover{opacity:1}

/* 🖼️ 25/10/2026 — a miniatura de cada link no 🔗 Meus links (comMiniatura em app.js): a mesma arte da prévia
   do WhatsApp, à esquerda; no celular fica pequena ao lado do título e o campo + botões ocupam a largura toda.
   object-fit:contain — várias artes são quadradas (1080×1080) e o "cover" cortaria o título delas. */
.hx-ml{display:grid;grid-template-columns:128px minmax(0,1fr);column-gap:14px;align-items:start}
.hx-ml>*{grid-column:2;min-width:0}
.hx-ml>.hx-ml-thumb{grid-column:1;grid-row:1 / span 3}
.hx-ml-thumb{position:relative;display:block;width:128px;height:72px;border-radius:10px;overflow:hidden;
  background:var(--hx-bg);border:1px solid var(--hx-line);text-decoration:none}
.hx-ml-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#101921}
.hx-ml-ico{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:1.9rem}
.hx-ml-thumb:hover{box-shadow:0 0 0 2px var(--hx-primary, #FC5412)}
.hx-ml .hx-feed-row{flex-wrap:wrap}
.hx-ml .hx-feed-row input{flex:1 1 200px;min-width:0}
@media (max-width:600px){
  .hx-ml{grid-template-columns:96px minmax(0,1fr);column-gap:10px}
  .hx-ml-thumb{width:96px;height:54px}
  .hx-ml .hx-feed-row input{flex-basis:110px}
  .hx-ml>.hx-ml-thumb{grid-row:1}
  .hx-ml>:not(.hx-ml-thumb):not(:nth-child(2)){grid-column:1 / -1}
}

/* 📸 26/08 — avatar redondo com anel da marca à esquerda do nome (layout IG) */
.painel-foto{width:42px;height:42px;border-radius:50%;padding:2px;flex:0 0 auto;display:block;
  background:linear-gradient(45deg,#FC5412 20%,#ffb37a 55%,#AFD100)}
.painel-foto img,.painel-foto>span{width:100%;height:100%;border-radius:50%;object-fit:cover;
  display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;
  border:2px solid #101921}
.hx-apptop.painel .painel-id{max-width:300px}

/* 26/08 — "mas tira a foto da direita": com o avatar à esquerda, o da direita saiu (só no Painel) */
.hx-apptop.painel .hx-user{display:none}

/* 🔎 26/08 — a busca do Painel mora embaixo dos stories, centrada */
.hx-busca-dash{display:flex;gap:8px;margin:14px 0 4px;justify-content:center}
.hx-busca-dash .hx-gsearch{max-width:560px}
.hx-apptop.painel .painel-nome .hx-plan{filter:brightness(1.12);vertical-align:middle}

/* 26/08 — o selo do plano saía cortado ("GRÁT…"): o nowrap+ellipsis do nome engolia o
   fim da linha. Agora o nome é flex: só o NOME encolhe; CRECI e selo nunca cortam. */
.hx-apptop.painel .painel-nome{display:flex;align-items:center;gap:6px;overflow:hidden}
.hx-apptop.painel .painel-nome b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.hx-apptop.painel .painel-nome .painel-creci,
.hx-apptop.painel .painel-nome .hx-plan{flex:0 0 auto}

/* 🌙 26/08 — modo escuro dos componentes novos (print dela: card branco com texto
   claro = invisível). Os cards usavam --hx-card, que NÃO EXISTE — o certo é
   --hx-surface, que o tema escuro redefine. A faixa azul é fixa da marca (#101921)
   nos dois temas, e os chips laranja ganham fundo translúcido no escuro. */
html[data-theme="dark"] .hx-atalho-badge{background:rgba(252,84,18,.2)}
html[data-theme="dark"] .hx-story .an > span{background:var(--hx-surface);border-color:var(--hx-surface)}
html[data-theme="dark"] .hx-story .an img{background:var(--hx-surface);border-color:var(--hx-surface)}

/* 26/08 — "cortou o nome": prioridade invertida na faixa — o NOME nunca corta;
   quando falta espaço, quem encolhe (com reticências) é o CRECI. */
.hx-apptop.painel .painel-id{max-width:340px}
.hx-apptop.painel .painel-nome b{flex:0 0 auto;overflow:visible}
.hx-apptop.painel .painel-nome .painel-creci{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* 🚀 26/08 — bolinha de imóvel EM DESTAQUE: anel laranja cheio + faixa DESTAQUE */
.hx-story .an.destq{background:#FC5412}
/* 26/08 (ela): faixa menor e centralizada embaixo da bola */
.hx-story-destq{display:block;font-size:.44rem;font-weight:800;letter-spacing:.02em;
  color:#fff;background:#FC5412;border-radius:6px;padding:1px 5px;margin:2px auto 0;
  width:fit-content;white-space:nowrap;text-align:center}

/* 🧲 26/08 — portas do CLIENTE no site do corretor (avaliação, Radar, quiz) */
.hx-site-ctas{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;margin:0 0 18px}
.hx-site-cta{display:flex;flex-direction:column;gap:8px;background:var(--hx-surface,#fff);
  border:1px solid var(--hx-line,#e6e9ee);border-radius:14px;padding:18px 16px;
  text-decoration:none;color:inherit;transition:box-shadow .15s,transform .15s}
.hx-site-cta:hover{box-shadow:0 8px 22px rgba(16,25,33,.10);transform:translateY(-2px)}
.hx-site-cta b{font-size:1rem;line-height:1.3}

/* 📱 26/08 — visualizador de stories (pedido dela: "vai pulando como no insta") */
#hx-stories-viewer{position:fixed;inset:0;z-index:1200;background:rgba(8,11,16,.94);
  display:flex;align-items:center;justify-content:center;padding:14px;cursor:pointer}
#hx-stories-viewer .stv-card{position:relative;width:min(420px,94vw);height:min(86vh,740px);
  border-radius:18px;overflow:hidden;background:#101921;display:flex;flex-direction:column}
#hx-stories-viewer .st-bars{position:absolute;top:10px;left:10px;right:44px;display:flex;gap:4px;z-index:3}
#hx-stories-viewer .stb{flex:1;height:3px;border-radius:3px;background:rgba(255,255,255,.28);overflow:hidden}
#hx-stories-viewer .stb i{display:block;height:100%;width:0;background:#fff;border-radius:3px}
@keyframes stfill{from{width:0}to{width:100%}}
#hx-stories-viewer .stv-x{position:absolute;top:6px;right:8px;z-index:4;border:none;background:none;
  color:#fff;font-size:1.15rem;cursor:pointer;padding:6px}
#hx-stories-viewer .st-foto{flex:1;background-size:cover;background-position:center;
  display:flex;align-items:center;justify-content:center;font-size:3rem}
#hx-stories-viewer .st-legenda{position:absolute;left:0;right:0;bottom:0;padding:46px 16px 16px;
  display:flex;flex-direction:column;gap:4px;color:#fff;
  background:linear-gradient(180deg,rgba(16,25,33,0),rgba(16,25,33,.88) 45%)}
#hx-stories-viewer .st-destq{align-self:flex-start;font-size:.6rem;font-weight:800;letter-spacing:.05em;
  background:#FC5412;border-radius:7px;padding:1px 7px}
#hx-stories-viewer .st-preco{font-size:1.35rem}
#hx-stories-viewer .st-cidade{color:#c8d2dc;font-size:.85rem}
#hx-stories-viewer .st-titulo{color:#e6ecf2;font-size:.8rem}
#hx-stories-viewer .st-link{margin-top:8px;align-self:flex-start;cursor:pointer}

/* 🔬 26/08 — tabela da aba Pesquisa (Índice Housxpert) */
.hx-pesq-table{width:100%;border-collapse:collapse}
.hx-pesq-table th{font-size:.72rem;text-transform:uppercase;letter-spacing:.04em;color:var(--hx-muted,#606E89);text-align:left;padding:6px 10px;border-bottom:2px solid var(--hx-line,#e6e9ee)}
.hx-pesq-table td{padding:7px 10px;border-bottom:1px solid var(--hx-line,#e6e9ee);font-size:.86rem;white-space:nowrap}
.hx-pesq-table tbody tr:hover{background:var(--hx-bg,#f6f7f9)}

/* 📸 26/08 — botão da foto do WhatsApp grudado no canto do avatar do cliente */
.hx-cam-avatar{position:absolute;right:-6px;bottom:-6px;width:22px;height:22px;border-radius:50%;
  background:var(--hx-surface,#fff);border:1px solid var(--hx-line,#e6e9ee);cursor:pointer;
  display:flex;align-items:center;justify-content:center;font-size:.68rem;padding:0;line-height:1;
  box-shadow:0 1px 4px rgba(16,25,33,.18)}
.hx-cam-avatar:hover{border-color:var(--hx-primary,#FC5412)}

/* 🎯 26/08 — card das metas do CORRETOR27 no Painel */
.hx-metas27{background:var(--hx-surface,#fff);border:1px solid var(--hx-line,#e6e9ee);border-left:4px solid var(--hx-primary,#FC5412);
  border-radius:12px;padding:12px 14px;margin-bottom:12px;display:flex;flex-direction:column;gap:6px}
.hx-metas27.cumpriu{border-left-color:#1a9e57}
.hx-m27-prazo{font-size:.8rem;color:var(--hx-muted,#606E89)}
.hx-m27-linhas{display:flex;gap:8px 16px;flex-wrap:wrap}
.hx-m27-item{font-size:.84rem;color:var(--hx-muted,#606E89)}
.hx-m27-item.ok{color:#1a9e57}

/* 🧰 11/10/2026 — Ferramentas em uso: cartão do Painel do corretor (verde = abriu no período) e a
   célula "X/11" do painel da imobiliária. <details> abre no toque — no celular não existe hover. */
.hx-ferr{background:var(--hx-surface,#fff);border:1px solid var(--hx-line,#e6e9ee);border-left:4px solid #1a9e57;
  border-radius:12px;padding:12px 14px;margin-bottom:12px;display:flex;flex-direction:column;gap:8px}
.hx-ferr-top{display:flex;align-items:baseline;gap:4px 10px;flex-wrap:wrap}
.hx-ferr-n{font-size:.9rem}
.hx-ferr-barra{height:6px;background:#eef1f4;border-radius:4px;overflow:hidden}
.hx-ferr-barra>div{height:100%;background:#1a9e57;border-radius:4px}
.hx-ferr-det>summary{cursor:pointer;font-size:.84rem;font-weight:600;color:var(--hx-primary,#FC5412)}
.hx-ferr-lista{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(240px,100%),1fr));gap:8px}
.hx-ferr-item{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;
  border:1px solid var(--hx-line,#e6e9ee);border-radius:10px;padding:8px 10px;font-size:.86rem;background:#fff}
.hx-ferr-item.ok{background:#e7f6ee;border-color:#b9e3cb;color:#1a7f45;font-weight:600}
.hx-ferr-nome{min-width:0;overflow-wrap:anywhere}
/* 🧰 11/10/2026 (2ª rodada) — TODAS as ferramentas, em grupos; automática leva o selo "automática"/"ligada";
   🔒 = fora do plano (aparece apagada, com o link do plano). Em 375px a grade vira uma coluna só. */
.hx-ferr-grupo{margin:10px 0 0}
.hx-ferr-gt{font-size:.84rem;font-weight:700;margin:0 0 6px;color:var(--hx-text,#101921)}
.hx-ferr-tipo{display:inline-block;font-size:.68rem;font-weight:600;border-radius:999px;padding:0 7px;background:#eef1f4;color:#606E89;white-space:nowrap}
.hx-ferr-item.ok .hx-ferr-tipo{background:#cdeedb;color:#1a7f45}
.hx-ferr-item.lock{background:#f6f7f9;color:#8a94a6;border-style:dashed}
.hx-ferr-plano{font-size:.74rem;white-space:nowrap;color:var(--hx-primary,#FC5412)}
.hx-ferr-cel>summary{cursor:pointer;font-weight:700;white-space:nowrap;color:#9a5300}
.hx-ferr-cel ul{margin:4px 0 0;padding-left:16px;font-size:.78rem;min-width:170px}

/* 🧾 linha do tempo da ficha do cliente (27/08/2026) — tudo o que aconteceu com ele,
   como comprador E como proprietário, num lugar só. */
.hx-timeline { display: flex; flex-direction: column; gap: 2px; }
.hx-tl-row { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px;
  border-radius: 9px; text-decoration: none; color: inherit; font-size: .89rem; line-height: 1.45; }
.hx-tl-row + .hx-tl-row { border-top: 1px solid var(--hx-line); }
a.hx-tl-row:hover { background: var(--hx-bg-soft, #f6f8fa); }
.hx-tl-ic { flex: 0 0 auto; font-size: 1rem; }
.hx-tl-txt { flex: 1; min-width: 0; }

/* ❤️ 27/08/2026 — o coração agora vive também no card do site do corretor, que não tem
   a moldura de mídia do portal. Sem position no pai, ele escapava pro topo da página. */
.hx-card.prop { position: relative; }
.hx-card.prop > .hx-fav { position: absolute; top: 10px; right: 10px; z-index: 3; }

/* 🧭 Balões de primeira vez (27/08/2026) — a tela se explica na 1ª visita e nunca mais.
   Regra dela: NÃO bloqueia, NÃO escurece, dá pra ignorar e seguir usando. */
.hx-balao{
  position:fixed; z-index:1400; max-width:340px; width:340px;
  background:var(--hx-panel,#fff); color:var(--hx-ink,#101921);
  border:1px solid var(--hx-line,#e5e7eb); border-radius:16px;
  box-shadow:0 18px 48px rgba(16,25,33,.22);
  padding:14px 16px 12px;
  opacity:0; transform:translateY(-6px); transition:opacity .22s ease, transform .22s ease;
}
.hx-balao.aberto{opacity:1; transform:translateY(0)}
.hx-balao-solto{left:50%!important; transform:translateX(-50%) translateY(-6px); top:76px!important}
.hx-balao-solto.aberto{transform:translateX(-50%) translateY(0)}
.hx-balao-topo{display:flex;align-items:flex-start;gap:8px;margin-bottom:6px}
.hx-balao-topo b{font-size:.95rem;line-height:1.35}
.hx-balao-x{margin-left:auto;background:none;border:0;cursor:pointer;font-size:.9rem;
  color:var(--hx-muted,#8b949d);padding:0 2px;line-height:1}
.hx-balao-txt p{margin:0 0 8px;font-size:.87rem;line-height:1.55;color:var(--hx-muted,#5c6773)}
.hx-balao-txt p:last-child{margin-bottom:0}
.hx-balao-txt b{color:var(--hx-ink,#101921)}
.hx-balao-pe{display:flex;align-items:center;gap:10px;margin-top:12px}
.hx-balao-nunca{margin-left:auto;background:none;border:0;cursor:pointer;
  font-size:.76rem;color:var(--hx-muted,#8b949d);text-decoration:underline;padding:0}
/* o alvo ganha um anel discreto — sem overlay, sem recortar a tela */
.hx-balao-alvo{
  outline:2px solid var(--hx-orange,#FC5412); outline-offset:3px; border-radius:12px;
  animation:hxBalaoPulso 1.6s ease-out 2;
}
@keyframes hxBalaoPulso{
  0%{box-shadow:0 0 0 0 rgba(252,84,18,.4)}
  100%{box-shadow:0 0 0 12px rgba(252,84,18,0)}
}
@media (prefers-reduced-motion: reduce){
  .hx-balao{transition:none}
  .hx-balao-alvo{animation:none}
}
@media (max-width:520px){
  .hx-balao{max-width:calc(100vw - 24px)}
}

/* 🔦 O foco do tour (28/08/2026): apaga a tela e deixa só o botão aceso.
   O "furo" é este retângulo — a sombra gigante em volta é o que escurece o resto.
   pointer-events:none pra o clique passar direto pro botão de verdade, embaixo. */
.hx-veu{
  position:fixed; inset:0; z-index:1380; background:rgba(16,25,33,.74);
  animation:hxVeuIn .22s ease-out;
}
@keyframes hxVeuIn{ from{opacity:0} to{opacity:1} }
.hx-foco{
  position:fixed; pointer-events:none; z-index:1388; border-radius:14px;
  box-shadow:0 0 0 3px var(--hx-orange,#FC5412), 0 0 22px 6px rgba(252,84,18,.45);
  transition:left .2s ease, top .2s ease, width .2s ease, height .2s ease;
}
@media (prefers-reduced-motion: reduce){ .hx-foco{ transition:none } }

/* ---------------- 💬 26/08/2026 — o balão que explica o item do menu ----------------
   Ela: "cards explicativos quando a pessoa passa o mouse encima dos links".
   O `title` do navegador já resolve no computador. Este balão existe para o CELULAR,
   onde passar o mouse não existe — e é no celular que a maior parte do público usa.
   Abre ao tocar e segurar (o JS põe .dica-aberta) e fecha ao soltar ou ao tocar fora. */
.hx-side-link { position: relative; }
.hx-side-link.dica-aberta::after {
  content: attr(data-dica);
  position: absolute; left: 8px; right: 8px; top: calc(100% + 4px); z-index: 40;
  background: #101921; color: #fff; font-size: .78rem; font-weight: 400; line-height: 1.45;
  padding: 9px 11px; border-radius: 10px; box-shadow: 0 8px 22px rgba(16,25,33,.28);
  white-space: normal;                     /* frase inteira, não uma linha cortada */
  pointer-events: none;
}

/* ═══ 04/09/2026 — A PROPOSTA DE COMPRA GANHOU FORMA ════════════════════════
   Ela: "e essa aba também não pode ficar esteticamente melhor?".

   O que estava ruim não era o gosto: eram 26 campos empilhados numa coluna de
   520px, todos com o mesmo peso visual. Para mandar UMA proposta ela rolava a
   tela inteira, e o botão de enviar só aparecia lá no fim — depois de passar
   por comissão, financiamento e observações, que na maioria das vezes ficam em
   branco.

   ⚠️ As três decisões, e o porquê de cada uma:
   · CABEÇALHO E RODAPÉ FIXOS. O botão de enviar não pode depender de rolagem:
     a pessoa precisa saber, o tempo todo, que aquilo termina num envio.
   · SEÇÕES COM CARTÃO. Imóvel, comprador, valores, proprietário e cláusulas são
     assuntos diferentes. Separados, ela responde um bloco por vez em vez de
     encarar uma lista de 26 linhas.
   · DUAS COLUNAS nos campos curtos (CPF, e-mail, WhatsApp, cidade, matrícula).
     Campo de 8 caracteres ocupando a largura toda é o que faz o formulário
     parecer três vezes maior do que é. */
.hx-prop-modal{ display:flex; flex-direction:column; max-height:92vh; }
.hx-prop-head{
  position:sticky; top:0; z-index:3; background:var(--hx-surface);
  padding:18px 22px 12px; border-bottom:1px solid var(--hx-line);
}
.hx-prop-body{ overflow:auto; padding:16px 22px; flex:1; }
.hx-prop-foot{
  position:sticky; bottom:0; z-index:3; background:var(--hx-surface);
  padding:12px 22px 16px; border-top:1px solid var(--hx-line);
}
/* o resumo do cabeçalho: o que está sendo proposto, sempre à vista */
.hx-prop-resumo{ display:flex; align-items:center; gap:10px; margin-top:8px; font-size:.86rem; }
.hx-prop-resumo img{ width:44px; height:44px; border-radius:9px; object-fit:cover; flex:none; }
.hx-prop-resumo b{ display:block; font-size:.95rem; line-height:1.25; }

.hx-prop-sec{
  border:1px solid var(--hx-line); border-radius:13px;
  padding:13px 15px 15px; margin-bottom:12px; background:var(--hx-bg,transparent);
}
.hx-prop-sec > h4{
  margin:0 0 10px; font-size:.83rem; letter-spacing:.03em; text-transform:uppercase;
  color:var(--hx-muted,#6b7783); font-weight:800;
}
/* duas colunas nos campos curtos; volta a uma no celular */
.hx-prop-2{ display:grid; grid-template-columns:1fr 1fr; gap:0 12px; }
.hx-prop-3{ display:grid; grid-template-columns:2fr 1fr 1fr; gap:0 12px; }
@media (max-width:560px){ .hx-prop-2, .hx-prop-3{ grid-template-columns:1fr; } }
.hx-prop-sec .hx-label{ margin-top:8px; }
.hx-prop-sec .hx-label:first-child{ margin-top:0; }
/* seção opcional recolhida: o que quase sempre fica em branco não ocupa espaço */
.hx-prop-sec details > summary{
  cursor:pointer; list-style:none; font-size:.83rem; letter-spacing:.03em;
  text-transform:uppercase; color:var(--hx-muted,#6b7783); font-weight:800;
}
.hx-prop-sec details > summary::-webkit-details-marker{ display:none; }
.hx-prop-sec details > summary::before{ content:"▸ "; }
.hx-prop-sec details[open] > summary::before{ content:"▾ "; }
.hx-prop-sec details > div{ margin-top:10px; }

/* ✨ modo DESCOBRIR do portal (11/09/2026): feed de um imóvel por tela; no computador, mapa ao lado */
.hx-view-tabs { display: inline-flex; gap: 4px; background: #f0f1f3; border-radius: 10px; padding: 3px; }
.hx-view-tabs button { border: 0; background: none; padding: 6px 12px; border-radius: 8px; font-family: inherit; font-weight: 600; font-size: .82rem; color: #44505d; cursor: pointer; }
.hx-view-tabs button.on { background: #101921; color: #fff; }
.hx-desc-wrap { display: block; }
.hx-desc-feed { max-width: 600px; margin: 0 auto; }
.hx-desc-post { background: #fff; border: 1px solid var(--hx-line); border-radius: 16px; overflow: hidden; margin: 0 0 14px; box-shadow: var(--hx-shadow); }
.hx-desc-post.hovermk { outline: 2px solid #FC5412; }
.hx-desc-head { display: flex; align-items: center; gap: 9px; padding: 10px 12px; }
.hx-desc-head .hx-avatar-img, .hx-desc-head .hx-agent-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; font-size: .95rem; }
.hx-desc-who { flex: 1; min-width: 0; line-height: 1.15; }
.hx-desc-who b { display: block; font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-desc-who small { font-size: .72rem; color: var(--hx-muted); }
.hx-desc-tag { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 4px 8px; border-radius: 6px; background: #101921; color: #fff; }
.hx-desc-tag.aluguel { background: #1d4ed8; }
.hx-desc-media { position: relative; background: #0e1622; }
.hx-desc-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 4 / 3.4; }
.hx-desc-slides::-webkit-scrollbar { display: none; }
.hx-desc-slides a { flex: none; width: 100%; height: 100%; scroll-snap-align: start; display: block; }
.hx-desc-slides img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hx-desc-noimg { display: grid; place-items: center; aspect-ratio: 4 / 3.4; color: #b3c1ca; font-size: 3rem; background: linear-gradient(135deg, #eef2f5, #dbe3e8); }
.hx-desc-price { position: absolute; left: 12px; bottom: 14px; background: rgba(16,25,33,.82); backdrop-filter: blur(4px); color: #fff; font-weight: 800; font-size: 1.15rem; padding: 6px 12px; border-radius: 10px; line-height: 1.1; pointer-events: none; }
.hx-desc-price small { display: block; font-size: .68rem; font-weight: 500; opacity: .85; }
.hx-desc-count { position: absolute; right: 12px; top: 12px; background: rgba(16,25,33,.7); color: #fff; font-size: .7rem; font-weight: 600; padding: 4px 8px; border-radius: 999px; pointer-events: none; }
.hx-desc-badges { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; pointer-events: none; }
.hx-desc-dots { position: absolute; left: 0; right: 0; bottom: 5px; display: flex; justify-content: center; gap: 4px; pointer-events: none; }
.hx-desc-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.55); }
.hx-desc-dots i.on { background: #fff; }
.hx-desc-acts { display: flex; align-items: center; gap: 4px; padding: 6px 8px 0; }
.hx-desc-ic { width: 40px; height: 40px; border: 0; background: none; font-size: 1.4rem; display: grid; place-items: center; color: #101921; cursor: pointer; border-radius: 10px; }
.hx-desc-ic.on { color: #FC5412; }
.hx-desc-acts .sp { flex: 1; }
.hx-desc-wa { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; background: #25d366; color: #fff; font-weight: 700; font-size: .82rem; padding: 9px 13px; border-radius: 999px; text-decoration: none; }
.hx-desc-body { padding: 4px 12px 12px; }
.hx-desc-title { font-weight: 700; font-size: .95rem; margin: 2px 0 1px; }
.hx-desc-title a { color: inherit; text-decoration: none; }
.hx-desc-loc { font-size: .8rem; color: #44505d; }
.hx-desc-specs { display: flex; gap: 12px; font-size: .8rem; color: #44505d; margin-top: 6px; flex-wrap: wrap; }
.hx-desc-specs b { color: #101921; }
.hx-desc-verif { display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; color: #15803d; font-weight: 600; margin-top: 6px; }
.hx-desc-radar { margin: 0 0 14px; background: linear-gradient(135deg, #101921, #1c2a36); color: #fff; border-radius: 16px; padding: 18px; box-shadow: var(--hx-shadow); }
.hx-desc-radar h3 { margin: 0 0 4px; font-size: 1.05rem; line-height: 1.25; color: #fff; }
.hx-desc-radar h3 b { color: #AFD100; }
.hx-desc-radar p { margin: 0 0 10px; font-size: .82rem; opacity: .85; color: #fff; }
.hx-desc-radar .row { display: flex; gap: 8px; flex-wrap: wrap; }
.hx-desc-radar input { flex: 1 1 140px; border: 0; border-radius: 10px; padding: 11px 12px; font-family: inherit; font-size: .9rem; min-width: 0; }
.hx-desc-radar button { border: 0; background: #FC5412; color: #fff; font-weight: 700; border-radius: 10px; padding: 11px 14px; font-family: inherit; font-size: .85rem; cursor: pointer; }
.hx-desc-map { display: none; }
@media (min-width: 901px) {
  .hx-desc-wrap { display: grid; grid-template-columns: minmax(380px, 560px) 1fr; gap: 20px; align-items: start; }
  .hx-desc-feed { margin: 0; max-width: none; }
  .hx-desc-map { display: block; position: sticky; top: 14px; }
  .hx-desc-map .hx-portal-map { height: calc(100vh - 40px); min-height: 480px; }
}

/* 🔍 card "Imóvel de outro corretor": foto embaçada, o clique vira lead (11/09/2026) */
.hx-desc-blur { cursor: pointer; aspect-ratio: 4 / 3.4; overflow: hidden; }
.hx-desc-blur-img { position: absolute; inset: -20px; background-size: cover; background-position: center; filter: blur(16px) saturate(.85); transform: scale(1.08); }
.hx-desc-blur-msg { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; color: #fff; padding: 20px; background: linear-gradient(180deg, rgba(16,25,33,.18), rgba(16,25,33,.45)); }
.hx-desc-blur-msg span { font-size: .78rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; opacity: .9; }
.hx-desc-blur-msg b { font-size: 1.05rem; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.55); backdrop-filter: blur(6px); border-radius: 999px; padding: 9px 16px; }
.hx-desc-mkt { border-style: dashed; }

/* 📍 chip da cidade do visitante no portal */
#portal-onde { max-width: 200px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 🏷️ etiquetas livres do corretor (22/09/2026) — tracejadas de propósito:
   PAPEL é do sistema e vem sólido; ETIQUETA é sua, e a borda tracejada diz isso sem texto. */
.hx-etiquetas{display:flex;gap:5px;flex-wrap:wrap;align-items:center;margin:6px 0 2px}
.hx-etiqueta{display:inline-flex;align-items:center;gap:5px;font-size:.7rem;line-height:1;
  padding:4px 9px;border-radius:6px;border:1px solid var(--etq,#606E89);
  background:var(--etq,#606E89);color:#fff;font-weight:600}
.hx-etiqueta button{border:0;background:transparent;cursor:pointer;padding:0 0 0 2px;
  font-size:.85rem;line-height:1;color:inherit;opacity:.75}
.hx-etiqueta button:hover{opacity:1}

/* 🧩 CLIENTES EM CARTÕES (22/09/2026) — a faixa colorida da esquerda e a etiqueta do
   papel usam a MESMA cor (--cor, vinda do JS): dá pra varrer a lista sem ler nome nenhum. */
.hx-cl-cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); align-items: start; }
.hx-cl-card { position: relative; display: block; text-decoration: none; color: inherit;
  background: var(--hx-card, #fff); border: 1px solid var(--hx-line, #e6e9ee); border-radius: 14px;
  padding: 14px 14px 12px 16px; overflow: hidden; transition: transform .12s ease, box-shadow .12s ease; }
.hx-cl-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(16,25,33,.10); }
.hx-cl-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--cor, #606E89); }
.hx-cl-card.inativo { opacity: .55; }
.hx-cl-papel { position: absolute; top: 12px; right: 12px; font-size: .68rem; font-weight: 600;
  padding: 3px 9px; border-radius: 999px; background: var(--cor, #606E89); color: #fff; }
/* 🏷️ 22/09/2026 (ela): "daria pra por outra cor?" — o pontilhado saiu. A etiqueta usa o
   cinza-azulado da marca, cheio como os outros rótulos, e nenhuma cor de papel, para não
   passar por comprador/vendedor/inquilino. */
.hx-cl-papel.etq { background: #606E89; color: #fff; font-weight: 600;
  max-width: 46%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hx-cl-topo { display: flex; gap: 11px; align-items: flex-start; padding-right: 86px; }
.hx-cl-quem { min-width: 0; }
.hx-cl-quem b { display: block; font-size: .95rem; font-weight: 600; line-height: 1.25; }
.hx-cl-quem span { display: block; font-size: .78rem; margin-top: 3px; line-height: 1.4; }
/* 🟠 tarja de FATO NOVO: só aparece quando há motivo para olhar o contato hoje.
   Laranja para oportunidade (coração no radar, visita marcada), vermelho para prazo. */
.hx-cl-novo { margin-top: 10px; font-size: .74rem; font-weight: 600; line-height: 1.3;
  color: #8a4b10; background: #fff3e6; border: 1px solid #ffd9b0; border-radius: 8px; padding: 5px 9px; }
.hx-cl-novo.urgente { color: #8a1010; background: #ffecec; border-color: #ffc9c9; }
.hx-forn-form { display: grid; gap: 8px; }
.hx-forn-form input { width: 100%; }
.hx-cl-pe { display: flex; flex-wrap: wrap; gap: 10px; font-size: .74rem; margin-top: 11px;
  padding-top: 10px; border-top: 1px solid var(--hx-line, #e6e9ee); }
@media (max-width: 560px) { .hx-cl-cards { grid-template-columns: 1fr; } }

/* 🧹 22/09/2026 — a barra de abas rola de lado com a barra de rolagem escondida, então
   quem olhava não tinha NENHUMA pista de que havia mais aba à direita: "Pessoal" sumia.
   O esmaecido na ponta é essa pista. */
.hx-tabs-wrap { position: relative; }
.hx-tabs-wrap::after { content: ""; position: absolute; right: 0; top: 0; bottom: 1px; width: 34px;
  pointer-events: none; background: linear-gradient(to right, transparent, var(--hx-bg, #fff)); }

/* 🏷️ fila de etiquetas do corretor, logo abaixo das abas */
.hx-tagfiltro { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 10px 0 2px; }
.hx-tagfiltro-rot { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--hx-muted, #667); opacity: .8; margin-right: 2px; }
.hx-tagchip { font-family: inherit; font-size: .74rem; padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--etq, #e6e9ee); background: transparent; color: var(--etq, #667); cursor: pointer; }
.hx-tagchip span { font-variant-numeric: tabular-nums; opacity: .6; margin-left: 3px; }
.hx-tagchip:hover { color: var(--hx-ink, #101921); }
.hx-tagchip.on { background: var(--etq, #FC5412); border-color: var(--etq, #FC5412); color: #fff; font-weight: 600; }
.hx-tagchip.limpar { border: 0; }

/* 🔎🗺️ 14/10/2026 — site do corretor: filtro pequeno à esquerda, mapa à direita (ela). Sem mapa, o filtro ocupa a linha; no celular empilha. */
.hx-s-topo { display: grid; grid-template-columns: minmax(210px, 280px) 1fr; gap: 14px; margin: 0 0 16px; align-items: stretch; }
.hx-s-topo.sem-mapa { grid-template-columns: 1fr; }
.hx-s-filtro { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; box-sizing: border-box; background: #fff; border: 1px solid var(--hx-line, #dde5ec); border-radius: 14px; padding: 12px; }
@media (max-width: 780px) { .hx-s-topo { grid-template-columns: 1fr; } #hx-s-mapa { height: 260px !important; } }

/* 📏 14/10/2026 (2ª passada) — ela: "meu site, entrando pela plataforma, dá isso ainda": faixa de TIRA (≈ 260 px): bio em 2 linhas, foto menor, credenciais mais baixas */
.hx-site-tira b { font-size: .78rem; margin-bottom: 0; }
.hx-site-tira span { font-size: .72rem; line-height: 1.3; }
.hx-site-tira .em { font-size: 1.05rem; }

/* 🖼️ 14/10/2026 — ela: "minha imagem ficou menor?". A foto volta ao tamanho de antes (215 px) e SOBE sobre a linha do nome (margem negativa), então não aumenta a faixa. Só no computador. */
@media (min-width: 781px) { .hx-site-foto { margin-top: -62px; } }

/* 🏠🔎 15/10/2026 — A BUSCA NA FAIXA DO TOPO. Ela, olhando uma arte com o site de uma imobiliária num notebook: "olha a página
   do site… onde a faixa de busca fica, gostei assim". Título curto + barra BRANCA arredondada numa linha só, sobre a foto de
   fundo: comprar/alugar · tipo · cidade · lupa laranja quadrada. O nome do corretor continua no <h1>, menor, na linha da
   profissão (identidade não some). A faixa NÃO cresce: telefone/e-mail sobem para a linha do WhatsApp e a bio fica em 1 linha. */
.hx-site-palco.com-busca .hx-site-txt h1 { display: inline; font-size: clamp(1rem, 1.6vw, 1.15rem); margin: 0; letter-spacing: -.01em; }
.hx-site-palco.com-busca .hx-site-papel { display: inline; font-size: clamp(.82rem, 1.3vw, .92rem); margin: 0 0 0 8px; }
.hx-site-palco.com-busca .hx-site-papel::before { content: "· "; color: rgba(255,255,255,.45); }
/* a foto do corretor tem teto de 230 px de largura: a coluna do texto pode crescer para a barra caber numa linha */
.hx-site-palco.com-busca { grid-template-columns: 1.3fr .7fr; }
.hx-site-busca-tit {
  font-family: Poppins, sans-serif; font-weight: 700; color: #fff;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem); line-height: 1.1; letter-spacing: -.02em;
  margin: 3px 0 2px; text-wrap: balance;
}
/* 15/10/2026 — ela: "a frase quem eu sou ficou cortada". A apresentação aparece INTEIRA (sem reticências) */
.hx-site-palco.com-busca .hx-site-txt .bio { display: block; -webkit-line-clamp: unset; overflow: visible; margin: 0 0 8px; max-width: 720px; }
.hx-site-palco.com-busca .hx-site-acoes { margin-top: 8px; }
.hx-site-palco.com-busca .hx-site-contato { margin-top: 0; }
/* o "Falar comigo" é o botão compacto na cor do corretor (regra da linha ~1636); a regra dos cartões .hx-site-cta (~1901)
   pegava ele também e o transformava num cartão branco alto — aqui, onde cada pixel da faixa conta, volta a ser botão */
.hx-site-palco.com-busca .hx-site-acoes .hx-site-cta {
  flex-direction: row; gap: 8px; background: var(--agc, #157C78); color: #fff; border: 0; box-shadow: none;
  padding: 7px 16px; border-radius: 10px; font-size: .86rem; font-weight: 700;
}

.hx-site-busca {
  display: grid; grid-template-columns: 1.15fr 1fr .85fr 1fr auto; align-items: stretch;   /* 06/11: + País */
  background: #fff; border-radius: 14px; padding: 6px; gap: 0;
  box-shadow: 0 10px 30px rgba(0,0,0,.28); max-width: 780px;
}
.hx-sb-campo {
  display: flex; flex-direction: column; justify-content: center; min-width: 0;
  padding: 2px 12px; border-right: 1px solid #e6eaef; cursor: pointer;
}
.hx-sb-campo:nth-child(4) { border-right: 0; }
.hx-sb-campo span { font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8a96a3; line-height: 1.2; }
.hx-sb-campo select {
  border: 0; background: transparent; padding: 1px 0 0; margin: 0; width: 100%; min-width: 0;
  font: inherit; font-size: .9rem; font-weight: 600; color: #101921; cursor: pointer;
  text-overflow: ellipsis; outline: none;
}
.hx-sb-campo:focus-within { background: #f6f8fa; border-radius: 10px; }
.hx-sb-lupa {
  width: 48px; min-height: 46px; border: 0; border-radius: 10px; cursor: pointer;
  background: #FC5412; color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: filter .15s, transform .15s;
}
.hx-sb-lupa:hover { filter: brightness(1.08); }
.hx-sb-lupa:focus-visible { outline: 3px solid rgba(252,84,18,.45); outline-offset: 2px; }
.hx-sb-lupa-txt { display: none; font: inherit; font-weight: 700; font-size: .95rem; }
/* o filtro ao lado do mapa agora só tem os extras (palavra, quartos, preço) */
.hx-s-filtro { justify-content: flex-start; gap: 10px; }
.hx-s-filtro #hx-s-mapa-btn { margin-top: auto; }
.hx-s-filtro-tit { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hx-muted, #667); }

/* 📱 celular: a barra vira coluna — campos empilhados e o botão na largura toda, com a palavra "Buscar" */
@media (max-width: 780px) {
  .hx-site-palco.com-busca { grid-template-columns: 1fr; }
  .hx-site-palco.com-busca .hx-site-txt { padding-bottom: 18px; }
  .hx-site-busca { grid-template-columns: 1fr; max-width: none; padding: 6px; }
  .hx-sb-campo { border-right: 0; border-bottom: 1px solid #e6eaef; padding: 8px 10px; }
  .hx-sb-campo:nth-child(4) { border-bottom: 0; }
  .hx-sb-campo select { font-size: 1rem; }   /* 16 px: o iPhone não dá zoom ao tocar */
  .hx-sb-lupa { width: 100%; min-height: 48px; margin-top: 4px; }
  .hx-sb-lupa-txt { display: inline; }
}

/* 📱 16/10/2026 — ela, no celular, editando um imóvel: a tela "Editar" ficava em DUAS colunas (índice de 200 px + formulário),
   e no celular o formulário ia para uma faixa estreita à direita — "Casa (an", "o CPF do im…" cortados — com a coluna da
   esquerda vazia ao rolar. Abaixo de 780 px: uma coluna só, e o índice vira uma fileira de atalhos que rola de lado. */
@media (max-width: 779px) {
  .hx-ficha-editar { grid-template-columns: 1fr !important; gap: 12px !important; }
  .hx-ficha-editar > div { grid-column: 1 / -1 !important; }
  .hx-indice-ficha { position: sticky !important; top: 0 !important; z-index: 5; flex-direction: row !important;
    overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; padding: 6px !important; }
  .hx-indice-ficha a { flex: 0 0 auto; background: #f3f5f8; }
}
/* 🗂️ 28/10/2026 — ficha do imóvel (Editar): cada tópico num card. Ela: "separa cada tópico por um card separado, porque
   assim misturado fica ruim de visualização". O card é o .hx-panel de sempre; aqui só o espaço entre eles e o título
   de cada um (o primeiro rótulo do card), que vira cabeçalho com um filete embaixo. Um embaixo do outro, em qualquer tela. */
.hx-ficha-card { margin: 0 0 14px; padding: 16px 18px; min-width: 0; }
.hx-ficha-card > .hx-label:first-child, .hx-ficha-card > .hx-launch-toggle:first-child { margin: 0 0 14px !important; padding-bottom: 10px; border-bottom: 1px solid var(--hx-line); font-size: 1rem !important; font-weight: 700; }
.hx-ficha-card > .hx-form-grid:last-child, .hx-ficha-card > :last-child { margin-bottom: 0; }
.hx-ficha-card .hx-confid:last-child { margin-bottom: 0; }
#prop-form .hx-form-foot { margin-top: 6px; }
/* o botão de cotar seguro (topo da ficha e da edição): o verde da Housafe, contornado — não briga com a ação principal */
.hx-btn.hx-btn-seguro { background: #f6fbe3; border: 1.5px solid #AFD100; color: #101921; font-weight: 700; }
.hx-btn.hx-btn-seguro:hover { background: #ecf6c4; }
@media (max-width: 700px) {
  .hx-ficha-card { padding: 14px 12px; border-radius: 12px; margin-bottom: 12px; }
}

/* 🔑 28/10/2026 — chavinha Todos / Venda / Locação em Meus imóveis */
.hx-fin-tabs { display: inline-flex; background: #eef1f5; border: 1px solid var(--hx-line); border-radius: 12px; padding: 4px; gap: 3px; margin-bottom: 10px; }
.hx-fin-tabs button { border: 0; background: transparent; color: var(--hx-ink, #101921); font-weight: 600; font-size: .92rem; padding: 8px 18px; border-radius: 9px; cursor: pointer; transition: .15s; }
.hx-fin-tabs button.on { background: var(--hx-primary, #FC5412); color: #fff; }
@media (max-width: 600px) { .hx-fin-tabs { display: flex; width: 100%; } .hx-fin-tabs button { flex: 1; padding: 9px 6px; } }
