/* Afiliados (views/afiliados.js). Prefixo af-. Reaproveita ext-hero/ext-steps/ext-copy de extras. */
.af-link-body { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.af-link-txt { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }
.af-link .ext-copy { display: flex; gap: 8px; flex-wrap: wrap; max-width: none; }
.af-link .ext-copy .input { flex: 1 1 380px; min-width: 0; }
.af-link .ext-copy .btn { flex: 0 0 auto; }
.af-cod { font-size: 12.5px; }
.af-stats { margin-top: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .af-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .af-stats { grid-template-columns: minmax(0, 1fr); } }
.af-graf { margin-top: 16px; }
.af-cols { margin-top: 16px; align-items: start; }
.af-leg { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.af-leg span { display: inline-flex; align-items: center; gap: 6px; }
.af-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.af-chart { display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 3px; align-items: end; height: 160px; }
.af-col { display: flex; align-items: flex-end; justify-content: center; gap: 1px; height: 100%; border-radius: 4px; }
.af-col:hover { background: var(--surface-2); }
.af-bar { display: block; flex: 1; min-height: 2px; border-radius: 3px 3px 0 0; max-width: 8px; }
.af-bar-g { background: var(--green); }
.af-bar-c { background: var(--primary-2); }
.af-bar-k { background: color-mix(in srgb, var(--blue) 70%, transparent); }
.af-eixo { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12px; }
.af-lista { display: flex; flex-direction: column; }
.af-item { display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-top: 1px solid var(--border); }
.af-item:first-child { border-top: 0; }
.af-item-txt { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.af-item-txt strong { font-weight: 600; overflow-wrap: anywhere; }
.af-item-txt .muted { font-size: 12.5px; }
.af-mais { font-weight: 700; color: var(--green); font-variant-numeric: tabular-nums; white-space: nowrap; }
.af-valor { gap: 8px; flex-wrap: nowrap; }
.af-valor .input { flex: 1; min-width: 0; }
.af-aviso { display: flex; gap: 8px; align-items: center; margin: 0; color: var(--amber); }
.af-susp { margin-bottom: 16px; border-color: rgba(251, 191, 36, .4); color: var(--amber); }
.af-regras { margin-top: 18px; font-size: 12.5px; }
.af-hero .btn-lg { margin-top: 6px; }
@media (max-width: 560px) {
  .af-link .ext-copy { flex-direction: column; }
  .af-link .ext-copy .input { flex: 0 0 auto; }
  .af-chart { gap: 1px; height: 120px; }
  .af-item { padding: 12px 16px; }
}
