/* ---------- métricas de acesso e conversão ---------- */
  .access-stat-grid{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:12px;
    margin-bottom:16px;
  }
  .access-stat{
    border:1px solid var(--line);
    border-radius:14px;
    padding:15px;
    background:var(--bg-card);
  }
  .access-stat-label{
    display:block;
    color:var(--muted);
    font-size:10.5px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.35px;
    margin-bottom:7px;
  }
  .access-stat strong{font-size:25px;line-height:1;}
  .access-highlight{
    background:var(--black);
    color:var(--white);
    border-color:var(--black);
  }
  .access-highlight .access-stat-label{color:#bdbdbd;}
  .conversion-bar{
    height:12px;
    border-radius:999px;
    overflow:hidden;
    background:#e7e7e7;
    margin-bottom:22px;
  }
  .conversion-fill{
    height:100%;
    width:0;
    border-radius:999px;
    background:linear-gradient(90deg,var(--purple),var(--orange));
    transition:width .3s ease;
  }
  .access-report-grid{align-items:start;}
  .mini-heading{font-size:13px;margin:0 0 10px;}
  .source-row,.access-day-row{
    display:grid;
    align-items:center;
    gap:9px;
    padding:8px 0;
    border-bottom:1px solid var(--line);
    font-size:12px;
  }
  .source-row{grid-template-columns:minmax(90px,1fr) 55px 55px 54px;}
  .access-day-row{grid-template-columns:70px 1fr 46px 46px;}
  .source-row:last-child,.access-day-row:last-child{border-bottom:0;}
  .source-name{font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
  .source-metric{text-align:right;}
  .source-conversion{font-weight:900;color:var(--purple);}
  .access-mini-track{height:7px;background:#ececec;border-radius:999px;overflow:hidden;}
  .access-mini-fill{height:100%;background:linear-gradient(90deg,var(--purple),var(--orange));}

  /* WhatsApp nos clientes promotores */
  .whatsapp-link{
    display:inline-flex;
    align-items:center;
    gap:7px;
    padding:8px 11px;
    border-radius:999px;
    background:#25D366;
    color:#081c10;
    font-weight:900;
    font-size:12px;
    text-decoration:none;
    white-space:nowrap;
    transition:transform .15s ease,filter .15s ease;
  }
  .whatsapp-link:hover{transform:translateY(-1px);filter:brightness(.96);}
  .whatsapp-icon{
    width:19px;
    height:19px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:#ffffff;
    flex-shrink:0;
  }
  .whatsapp-svg{
    width:19px;
    height:19px;
    display:block;
  }
  .attn-actions{
    display:flex;
    justify-content:flex-end;
    margin-top:10px;
  }

  body.dark-mode .conversion-bar,
  body.dark-mode .access-mini-track{background:#30343d;}
  body.dark-mode .access-highlight{
    background:linear-gradient(135deg,#ff5500 0%,#d74400 100%);
    color:#fff;
    border-color:#ff6a1f;
    box-shadow:0 10px 24px rgba(255,85,0,.18);
  }

  /* Destaques principais no modo escuro */
  body.dark-mode .stat-card.accent{
    background:linear-gradient(135deg,#6616d8 0%,#5217af 100%);
    color:#fff;
    border-color:#7a34e8;
    box-shadow:0 10px 24px rgba(102,22,216,.20);
  }

  body.dark-mode .stat-card.accent .stat-label,
  body.dark-mode .access-highlight .access-stat-label{
    color:#f1eaff;
  }

  body.dark-mode .stat-card.accent .stat-value,
  body.dark-mode .stat-card.accent .stat-value span,
  body.dark-mode .access-highlight strong{
    color:#fff;
  }

  @media(max-width:980px){
    .access-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
  }
  @media(max-width:640px){
    .access-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
    .source-row{grid-template-columns:minmax(80px,1fr) 46px 46px 48px;}
    .access-day-row{grid-template-columns:62px 1fr 38px 38px;}
  }
