/* V72 — refinamento da central de operações APENAS no celular e tablet.
   A versão de notebook, seus dados e seus destinos de clique não mudam. */
@media (max-width:1023px){
  /* Evita uma área vazia entre o cabeçalho dos filtros e as colunas. */
  .rfm-dashboard .rfm-chart{
    height:auto!important;
    min-height:0!important;
    display:flex;
    flex-direction:column;
    overflow:visible;
    padding:12px;
    gap:8px;
  }
  .rfm-dashboard .rfm-chart-heading{flex:0 0 auto}
  .rfm-dashboard .rfm-trade-bars{
    display:flex;
    flex-direction:column;
    flex:0 0 auto;
    min-height:0;
    height:auto;
    gap:8px;
  }
  .rfm-dashboard .rfm-graph-summary{
    display:flex;
    flex-wrap:wrap;
    gap:5px 12px;
    min-height:0;
    align-items:center;
    line-height:1.25;
  }
  .rfm-dashboard .rfm-scope-label{max-width:100%;margin-left:0}
  .rfm-dashboard .rfm-graph-body{
    display:flex;
    flex:0 0 auto;
    height:210px;
    min-height:210px;
    overflow:hidden;
    gap:6px;
  }
  .rfm-dashboard .rfm-axis{height:100%;padding-bottom:19px}
  .rfm-dashboard .rfm-plot{
    flex:1 1 0;
    width:100%;
    min-width:0;
    min-height:0;
    height:100%;
    align-items:stretch;
    overflow:hidden;
  }
  .rfm-dashboard .rfm-bar-group{
    display:flex;
    align-items:stretch;
    min-width:0;
    width:100%;
    padding:1px;
  }
  .rfm-dashboard .rfm-bar-pair{
    display:flex;
    flex:1 1 auto;
    min-height:0;
    justify-content:space-around;
    align-items:flex-end;
    gap:2px;
    width:100%;
  }
  .rfm-dashboard .rfm-bar{
    display:block;
    flex:1 1 0;
    min-width:2px;
    max-width:none;
  }
  .rfm-dashboard .rfm-bar-label{
    flex:0 0 18px;
    width:100%;
    height:18px;
    font-size:10px;
    line-height:18px;
    white-space:nowrap;
  }
  /* Horário, condomínio e status em colunas separadas, sem se encostar. */
  .rfm-dashboard .rfm-event{
    grid-template-columns:50px minmax(0,1fr) 76px;
    gap:10px;
    min-height:35px;
    padding:5px 4px;
    width:100%;
    font-size:10px;
  }
  .rfm-dashboard .rfm-event>time{
    display:block;
    width:50px;
    white-space:nowrap;
    color:#bdd3df;
    font-variant-numeric:tabular-nums;
  }
  .rfm-dashboard .rfm-event-condo{
    display:block;
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    line-height:1.5;
  }
  .rfm-dashboard .rfm-event-status{
    display:block;
    width:76px;
    max-width:76px;
    min-width:0;
    padding:4px 3px;
    font-size:9px;
    text-align:center;
    overflow:hidden;
    text-overflow:clip;
  }
}
@media (max-width:600px){
  .rfm-dashboard .rfm-header{
    flex-wrap:nowrap;
    justify-content:space-between;
    align-items:center;
    gap:5px;
  }
  .rfm-dashboard .rfm-brand{gap:5px;min-width:0;flex:1 1 auto}
  .rfm-dashboard .rfm-brand>strong{font-size:15px;letter-spacing:-.5px}
  .rfm-dashboard .rfm-brand>b,
  .rfm-dashboard .rfm-brand>i{display:none}
  .rfm-dashboard .rfm-live{flex:none;font-size:9px;padding:4px 6px;gap:4px}
  .rfm-dashboard .rfm-top-actions{gap:0;flex:none}
  .rfm-dashboard .rfm-refresh{
    display:grid;
    place-items:center;
    width:32px;
    height:32px;
    padding:5px;
    min-height:0;
    font-size:0!important;
    overflow:hidden;
    white-space:nowrap;
  }
  .rfm-dashboard .rfm-refresh .rf48-icon{width:17px;height:17px}
  .rfm-dashboard .rfm-chart{padding:11px 9px;gap:8px}
  .rfm-dashboard .rfm-chart-heading{gap:9px}
  .rfm-dashboard .rfm-section-link{font-size:15px;min-height:25px}
  .rfm-dashboard .rfm-filters{gap:6px}
  .rfm-dashboard .rfm-filters>select{
    flex:0 1 42%;
    max-width:42%;
    font-size:10px;
    padding:6px 4px;
  }
  .rfm-dashboard .rf48-period{
    flex:1 1 auto;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    min-width:0;
  }
  .rfm-dashboard .rf48-period button{
    min-width:0;
    min-height:27px;
    padding:5px 2px;
    font-size:9px;
    text-align:center;
  }
  .rfm-dashboard .rfm-graph-body{
    height:205px;
    min-height:205px;
  }
  .rfm-dashboard .rfm-graph-summary{font-size:10px}
  .rfm-dashboard .rfm-graph-summary>span{gap:4px}
  .rfm-dashboard .rfm-event{
    grid-template-columns:46px minmax(0,1fr) 70px;
    gap:7px;
    font-size:9px;
  }
  .rfm-dashboard .rfm-event>time{width:46px}
  .rfm-dashboard .rfm-event-status{
    width:70px;
    max-width:70px;
    font-size:9px;
  }
}
