/* telas/loja/estilo.css — aba Loja do Analytics (#525). Só tokens do tema; cor com significado = delta e calor. */
.lj { width: 100%; max-width: 1360px; min-width: 0; box-sizing: border-box; }
.lj-cabeca { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.lj-cabeca h2 { margin: 0 0 4px; }
.lj section { margin: 20px 0; min-width: 0; }
.lj section h3 { font-size: 15px; font-weight: 600; margin: 0 0 8px; }
.lj section h3 small { font-weight: 400; opacity: .7; margin-left: 6px; }
.lj-cards.ds-kpis { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.lj-duas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lj-filtros { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin: 8px 0; }
.lj-filtros .lj-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; }
.lj-chart svg { width: 100%; height: auto; max-height: 320px; display: block; }
.lj-heat { border-collapse: separate; border-spacing: 2px; font-size: 11px; width: 100%; }
.lj-heat th { font-weight: 400; opacity: .75; padding: 0 2px; text-align: center; } .lj-heat th:first-child { text-align: right; width: 28px; }
.lj-heat td { height: 22px; min-width: 16px; text-align: center; border-radius: 3px; font-variant-numeric: tabular-nums;
  background: color-mix(in srgb, var(--ds-chart-1, var(--accent, #4c8bf5)) calc(var(--i) * 100%), color-mix(in srgb, var(--ink) 10%, transparent)); }
.lj-funil { display: grid; gap: 8px; }
.lj-funil-etapa { display: grid; grid-template-columns: 120px 1fr 260px; gap: 12px; align-items: center; }
.lj-funil-barra { height: 22px; background: color-mix(in srgb, var(--ink) 10%, transparent); border-radius: 6px; overflow: hidden; }
.lj-funil-barra span { display: block; height: 100%; background: var(--ds-chart-1, var(--accent, #4c8bf5)); border-radius: 6px; }
.lj-funil-val { display: flex; gap: 10px; align-items: baseline; font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 13px; }
.lj-funil-val small { opacity: .75; }
.lj-vazio { border: 1px dashed var(--line, #45505d); border-radius: 12px; padding: 18px; }
.lj-erro { border-left: 3px solid var(--ds-err, #e0605b); padding: 10px 14px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.lj button.link { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline dotted; cursor: pointer; text-align: left; font: inherit; }
.lj-rolagem { overflow-x: auto; }
@media (max-width: 900px) { .lj-duas { grid-template-columns: 1fr; } .lj-funil-etapa { grid-template-columns: 90px 1fr; } .lj-funil-val { grid-column: 1 / -1; } }
