/* Layout: coluna de celular, cabeçalho fixo com marca, cartões em camadas e barra de navegação com ícones.
   Cada app (empresa / parceiros / dev) troca só os tokens --brand*. */
/* Elantrax: cinza-azulado frio, tinta quase preta e a cor de cada app em --brand
   (empresa cobalto, parceiros âmbar, dev violeta). Títulos grandes em serifa, interface em Inter Tight. */
:root {
  --bg: #f4f5f7;
  --card: #ffffff;
  --card-2: #f7f8fa;
  --text: #0b0d12;
  --muted: #5d6370;
  --line: #e4e6eb;
  --brand: #3b5bff;
  --brand-ink: #ffffff;
  --brand-soft: #e6eaff;
  --warn: #b4530a;
  --warn-soft: #fdf1e3;
  --danger: #c0262d;
  --danger-soft: #fdeced;
  --ok: #15803d;
  --ok-soft: #e6f5eb;
  --shadow: 0 1px 2px rgba(11, 13, 18, .04), 0 10px 28px -14px rgba(11, 13, 18, .16);
  --radius: 20px;
  --f-display: "Inter Tight", system-ui, sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", serif;
  --f-body: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0d12; --card: #13161d; --card-2: #181c24; --text: #eceef2; --muted: #9aa1ae; --line: #242935;
    --warn: #fbbf24; --warn-soft: #2a2110; --danger: #f87171; --danger-soft: #2f1517; --ok: #4ade80; --ok-soft: #10261a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .35); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0d12; --card: #13161d; --card-2: #181c24; --text: #eceef2; --muted: #9aa1ae; --line: #242935;
  --warn: #fbbf24; --warn-soft: #2a2110; --danger: #f87171; --danger-soft: #2f1517; --ok: #4ade80; --ok-soft: #10261a;
  --shadow: 0 1px 2px rgba(0, 0, 0, .35); color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font: 16px/1.5 var(--f-body); -webkit-font-smoothing: antialiased; }
#app { max-width: 560px; margin: 0 auto; padding-block: 0 104px; min-height: 100dvh;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

h1, h2, h3 { text-wrap: balance; }
h1 { font: 650 1.7rem/1.15 var(--f-display); letter-spacing: -0.025em; margin: 4px 0 6px; }
h2 { font: 650 1.12rem/1.3 var(--f-display); letter-spacing: -0.01em; margin: 0 0 8px; }
h3 { font-size: 1rem; font-weight: 600; margin: 0 0 2px; }
p { margin: 0 0 12px; }
a { color: var(--brand); }
.muted { color: var(--muted); font-size: .92rem; }
.eyebrow { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 4px; }
.carregando { padding: 40vh 0; text-align: center; color: var(--muted); }
.secao { margin: 24px 0 8px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.secao h2 { margin: 0; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- cabeçalho ---------- */
.topo { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 0 calc(-1 * max(16px, env(safe-area-inset-left, 0px))) 16px; padding: 12px max(16px, env(safe-area-inset-left, 0px));
  background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); }
.marca { display: flex; align-items: center; gap: 10px; font: 700 1rem var(--f-display); letter-spacing: -0.01em; color: var(--text); }
.marca-ic { width: 30px; height: 30px; border-radius: 9px; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; }
.marca-ic .ic { width: 18px; height: 18px; stroke-width: 2.6; }
.topo-dir { display: flex; align-items: center; gap: 8px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; font-weight: 700; font-size: .85rem; border: 0; cursor: pointer; }

/* ---------- cartões ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 12px; box-shadow: var(--shadow); }
.card.destaque { border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); background: linear-gradient(180deg, var(--brand-soft), var(--card) 70%); }
.card.aviso { border-color: color-mix(in srgb, var(--warn) 40%, var(--line)); background: var(--warn-soft); box-shadow: none; }
.card.plano { background: var(--card-2); box-shadow: none; }
details.card > summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.card > summary::after { content: "+"; font-size: 1.2rem; color: var(--muted); }
details.card[open] > summary::after { content: "–"; }
details.card > summary::-webkit-details-marker { display: none; }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  min-height: 50px; padding: 12px 18px; border-radius: 12px; border: 1px solid transparent;
  background: var(--brand); color: var(--brand-ink); font: 600 1rem var(--f-body); cursor: pointer; text-decoration: none;
  transition: transform .1s, filter .15s; }
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: scale(.985); }
.btn:disabled { opacity: .5; cursor: not-allowed; filter: none; transform: none; }
.btn.sec { background: var(--card); color: var(--text); border-color: var(--line); }
.btn.peq { width: auto; min-height: 36px; padding: 6px 14px; font-size: .9rem; border-radius: 10px; }
.btn + .btn { margin-top: 8px; }
.linha-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.linha-btns > * { flex: 1 1 140px; margin: 0; }
.link-btn { background: none; border: 0; padding: 8px 0; color: var(--muted); font: 500 .95rem var(--f-body); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
button:focus-visible, a:focus-visible, summary:focus-visible, .opcao:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ---------- formulários ---------- */
label { display: block; font-weight: 600; font-size: .9rem; margin: 14px 0 6px; }
input, select, textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--card); color: var(--text); font: 1rem var(--f-body); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
textarea { min-height: 100px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--brand); }

/* ---------- questionário ---------- */
.q-topo { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 4px; }
.progresso { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; margin: 10px 0 22px; }
.progresso > div { height: 100%; background: var(--brand); border-radius: 99px; transition: width .3s ease; }
.ajuda { color: var(--muted); margin-top: -2px; }
.opcoes { display: grid; gap: 10px; margin: 18px 0; }
.opcao { display: flex; align-items: center; gap: 12px; text-align: left; padding: 15px 16px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--card); color: var(--text); font: 500 1rem var(--f-body); cursor: pointer; box-shadow: var(--shadow); transition: border-color .15s, background .15s; }
.opcao:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.opcao .marcador { width: 22px; height: 22px; flex: none; border: 2px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: .15s; }
.opcao.multi .marcador { border-radius: 7px; }
.opcao[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft); }
.opcao[aria-pressed="true"] .marcador { border-color: var(--brand); background: var(--brand); }
.opcao[aria-pressed="true"] .marcador::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-ink); }
.opcao.multi[aria-pressed="true"] .marcador::after { width: 10px; height: 5px; border-radius: 0; background: none;
  border: solid var(--brand-ink); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg) translate(1px, -1px); }
.secoes-lista { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.secoes-lista li { display: flex; gap: 12px; align-items: center; padding: 10px 0; }
.secoes-lista .num { width: 28px; height: 28px; border-radius: 8px; background: var(--brand-soft); color: var(--brand);
  font: 700 .85rem var(--f-display); display: grid; place-items: center; flex: none; }

/* ---------- relatório do diagnóstico ---------- */
.indice { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
.anel { width: 112px; height: 112px; position: relative; }
.anel svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.anel .fundo { stroke: var(--line); }
.anel .valor { stroke: var(--brand); transition: stroke-dashoffset .8s ease; }
.anel b { position: absolute; inset: 0; display: grid; place-items: center; font: 700 2rem var(--f-display); letter-spacing: -0.03em; }
.anel b small { display: block; font: 600 .7rem var(--f-body); color: var(--muted); text-align: center; letter-spacing: .04em; margin-top: -6px; }
.pilares { display: grid; gap: 12px; margin-top: 4px; }
.pilar .entre { font-size: .92rem; margin-bottom: 6px; }
.barra { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.barra > div { height: 100%; border-radius: 99px; background: var(--brand); }
.barra.baixa > div { background: var(--danger); }
.barra.media > div { background: var(--warn); }
.perda-total { font: 700 2.1rem/1.1 var(--f-display); letter-spacing: -0.03em; color: var(--danger); margin: 2px 0 4px; font-variant-numeric: tabular-nums; }
.linhas-valor { list-style: none; padding: 0; margin: 12px 0 0; }
.linhas-valor li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px dashed var(--line); font-size: .94rem; }
.linhas-valor li b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.oport { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.oport:first-of-type { border-top: 0; }
.oport .ic-box { width: 36px; height: 36px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }

/* ---------- navegação inferior ---------- */
.abas { position: fixed; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: 2px;
  background: color-mix(in srgb, var(--card) 94%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); z-index: 5;
  padding: 6px max(8px, env(safe-area-inset-right, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px)); }
.abas a { flex: 1; max-width: 104px; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 2px;
  border-radius: 12px; font-size: .72rem; color: var(--muted); text-decoration: none; font-weight: 600; }
.abas a .ic { width: 22px; height: 22px; }
.abas a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }

/* ---------- números e listas ---------- */
.numeros { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.numero { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px; box-shadow: var(--shadow); min-width: 0; }
.numero b { display: block; font: 700 1.35rem var(--f-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.numero span { color: var(--muted); font-size: .8rem; }
.lista { list-style: none; padding: 0; margin: 0; }
.lista li { padding: 13px 0; border-top: 1px solid var(--line); }
.lista li:first-child { border-top: 0; padding-top: 2px; }
.lista li:last-child { padding-bottom: 2px; }
.entre { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.entre > div { min-width: 0; }

.selo { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 99px; font-size: .76rem; font-weight: 700;
  background: var(--card-2); color: var(--muted); border: 1px solid var(--line); white-space: nowrap; }
.selo.ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.selo.aviso { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.selo.quente { background: var(--danger-soft); color: var(--danger); border-color: transparent; }

.codigo { font: 700 1.4rem ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .14em; }
.link-box { word-break: break-all; font-size: .88rem; padding: 10px 12px; background: var(--card-2); border: 1px solid var(--line); border-radius: 10px; margin: 10px 0; }
.qr { display: flex; justify-content: center; margin: 14px 0; }
.qr canvas { border-radius: 12px; background: #fff; padding: 10px; }
.preco { font: 700 2rem var(--f-display); letter-spacing: -0.03em; }
.preco span { font: 500 1rem var(--f-body); }

.etapas { list-style: none; padding: 0; margin: 14px 0 4px; }
.etapas li { position: relative; padding: 0 0 16px 30px; color: var(--muted); }
.etapas li::before { content: ""; position: absolute; left: 3px; top: 5px; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--line); background: var(--card); }
.etapas li::after { content: ""; position: absolute; left: 10px; top: 22px; bottom: 2px; width: 2px; background: var(--line); }
.etapas li:last-child::after { display: none; }
.etapas li.feita { color: var(--text); font-weight: 500; }
.etapas li.feita::before { background: var(--brand); border-color: var(--brand); }
.etapas li.feita::after { background: var(--brand); }

#toast { position: fixed; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%) translateY(20px);
  background: var(--text); color: var(--bg); padding: 12px 18px; border-radius: 12px; font-size: .92rem; font-weight: 500;
  opacity: 0; pointer-events: none; transition: .2s; max-width: calc(100% - 32px); z-index: 10; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
#toast.on { opacity: 1; transform: translateX(-50%); }
#toast.erro { background: var(--danger); color: #fff; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
/* faixa da barra de status do celular atrás do cabeçalho fixo */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }

/* ---------- assistente: abas em pílula e conversas ---------- */
.pilulas { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 14px 0 16px; padding-bottom: 2px; }
.pilulas::-webkit-scrollbar { display: none; }
.pilulas a { flex: none; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--card);
  color: var(--text); font-weight: 600; font-size: .88rem; text-decoration: none; }
.pilulas a[aria-current="page"] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.conversa { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 16px; }
.balao { max-width: 85%; padding: 10px 14px 18px; border-radius: 16px; position: relative; white-space: pre-line; overflow-wrap: anywhere;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .95rem; }
.balao.cliente { align-self: flex-start; border-bottom-left-radius: 4px; }
.balao.assistente, .balao.humano, .balao.sistema { align-self: flex-end; border-bottom-right-radius: 4px; background: var(--brand-soft); border-color: transparent; }
.balao.humano { background: var(--warn-soft); }
.balao.sistema { background: var(--card-2); border: 1px dashed var(--line); }
.balao small { display: block; font-size: .72rem; font-weight: 700; color: var(--muted); margin-bottom: 2px; }
.balao .hora { position: absolute; right: 10px; bottom: 3px; font-size: .68rem; color: var(--muted); }
.balao .ferr { display: block; margin-top: 6px; font-weight: 500; font-family: ui-monospace, Menlo, monospace; }
.balao.digitando { color: var(--muted); font-style: italic; padding-bottom: 10px; }

/* ---------- ajustes: nada cortado embaixo ---------- */
#app { padding-bottom: calc(132px + env(safe-area-inset-bottom, 0px)); }
.entre { flex-wrap: wrap; }
.entre > div:first-child { flex: 1 1 180px; }
.topo-dir { flex-wrap: nowrap; }
.topo-sair .ic { width: 18px; height: 18px; }

/* v8: avaliação da entrega e histórico */
.avaliacao { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
.notas { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 4px; }
.nota { position: relative; display: block; cursor: pointer; font-weight: 700; }
.nota input { position: absolute; opacity: 0; pointer-events: none; }
.nota span { display: flex; align-items: center; justify-content: center; min-height: 40px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--card); font-size: .9rem; }
.nota.larga span { padding: 0 16px; }
.nota input:checked + span { background: var(--brand); color: var(--brand-ink, #fff); border-color: var(--brand); }
.nota input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (max-width: 380px) { .notas { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.metricas { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; margin: 10px 0 4px; }
.metricas div { background: var(--card-2); border-radius: 10px; padding: 8px 10px; }
.metricas b { display: block; font-size: 1.05rem; }
.metricas span { font-size: .76rem; color: var(--muted); }
.acoes-repasse { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.selos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.motivo { margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: var(--card-2); font-size: .88rem; border-left: 3px solid var(--danger, #c0392b); }

/* ---------- Elantrax: acabamento ---------- */
body { font-feature-settings: "ss01", "cv11"; letter-spacing: -0.005em; }
h1 { font: 400 2.25rem/1.02 var(--f-serif); letter-spacing: -0.01em; margin: 6px 0 8px; }
h2 { font: 600 1.12rem/1.3 var(--f-display); letter-spacing: -0.015em; }
.eyebrow { font: 500 .7rem/1.3 var(--f-mono); letter-spacing: .08em; color: var(--muted); }
.eyebrow::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); margin-right: 8px; vertical-align: 1px; }
.marca { font: 700 1.05rem var(--f-display); letter-spacing: -0.02em; }
.marca-ic { background: var(--text); color: var(--bg); border-radius: 10px; position: relative; }
.marca-ic::after { content: ""; position: absolute; right: 6px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--brand); }
.btn { border-radius: 999px; min-height: 52px; font-weight: 600; letter-spacing: -0.005em; }
.btn.peq { border-radius: 999px; }
.btn.sec { background: transparent; border-color: color-mix(in srgb, var(--text) 18%, var(--line)); }
.card { padding: 20px; }
.card.destaque { background: linear-gradient(180deg, var(--brand-soft), var(--card) 75%); }
input, select, textarea { border-radius: 14px; background: var(--card); }
.numero b, .preco, .perda-total, .anel b { font-family: var(--f-serif); font-weight: 400; letter-spacing: -0.01em; }
.numero b { font-size: 1.9rem; line-height: 1.05; }
.preco { font-size: 2.6rem; }
.perda-total { font-size: 2.8rem; }
.anel b { font-size: 2.4rem; }
.codigo, .balao .ferr { font-family: var(--f-mono); }
.selo { font-weight: 600; }
.abas a { font-weight: 600; letter-spacing: -0.005em; }
.abas a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }
.topo { border-bottom-color: color-mix(in srgb, var(--line) 70%, transparent); }

/* Cliente: atalhos grandes para pedido e suporte */
.acoes-cliente { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin: 4px 0 14px; }
.acao-grande { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius); text-decoration: none; color: var(--text);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); min-width: 0; }
.acao-grande:first-child { background: var(--brand); color: var(--brand-ink); border-color: transparent; }
.acao-grande svg { width: 26px; height: 26px; flex: none; }
.acao-grande span { display: grid; gap: 2px; min-width: 0; }
.acao-grande small { opacity: .75; font-size: 13px; }
.acao-grande:active { transform: scale(.98); }
/* Agenda: editar horário */
.ag-editar { margin-top: 10px; }
.ag-editar summary { cursor: pointer; font-size: 14px; color: var(--muted); }
.ag-editar[open] summary { margin-bottom: 8px; }
.btn.perigo { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 40%, var(--line)); }

/* Sininho e avisos */
.topo-sino { position: relative; }
.topo-sino .ic { width: 18px; height: 18px; }
.sino-num { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px;
  background: var(--danger); color: #fff; font: 700 11px/18px var(--f-body, system-ui); text-align: center; }
.lista.avisos li { padding: 0; }
.lista.avisos a { display: grid; gap: 3px; padding: 12px 0; text-decoration: none; color: var(--text); }
.lista.avisos a span { color: var(--muted); font-size: 14px; }
.lista.avisos li.novo b::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); margin-right: 8px; vertical-align: middle; }
.push-card .ic { width: 26px; height: 26px; color: var(--brand); flex: none; }

/* Cartão do dev para o cliente */
.dev-cartao { margin-top: 14px; padding: 16px; border-radius: var(--radius); background: color-mix(in srgb, var(--brand) 6%, var(--card)); border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line)); }
.dev-topo { display: flex; gap: 12px; align-items: center; }
.dev-topo > div { display: grid; gap: 1px; min-width: 0; }
.dev-av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--brand); color: var(--brand-ink); font-weight: 700; }
.dev-nome { font-size: 17px; }
.dev-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.dev-stats div { display: grid; gap: 2px; padding: 10px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); text-align: center; }
.dev-stats b { font-family: var(--f-serif, serif); font-size: 22px; font-weight: 400; }
.dev-stats span { font-size: 12px; color: var(--muted); }
.dev-dep { margin: 10px 0 0; font-style: italic; }
.dev-dep small { font-style: normal; color: var(--muted); }
.pix-linha { font-size: 13px; overflow-wrap: anywhere; }
