/* Recebe Fácil V73 — reparo exclusivo do notebook/desktop.
   Os ajustes responsivos do celular V72 continuam intactos. */
@media (min-width:1024px) {
  html:has(body.rfm-screen-active) {
    height:auto !important;
    overflow-y:auto !important;
    overflow-x:hidden;
  }
  body.rfm-screen-active {
    height:auto !important;
    max-height:none !important;
    min-height:100vh;
    overflow-y:auto !important;
    overflow-x:hidden !important;
  }
  body.rfm-screen-active #root {
    height:auto !important;
    max-height:none !important;
    min-height:100vh;
    overflow:visible !important;
  }
  body.rfm-screen-active .rfm-dashboard {
    display:flex;
    flex-direction:column;
    height:auto !important;
    max-height:none !important;
    min-height:0;
    overflow:visible !important;
    gap:14px;
    padding:18px;
    grid-template-rows:none;
  }
  .rfm-dashboard .rfm-header { flex:0 0 auto;min-height:40px; }
  .rfm-dashboard .rfm-ticker {
    flex:0 0 auto;
    min-height:30px;
    gap:12px;
    padding:6px 12px;
    overflow-x:auto;
    overflow-y:hidden;
    scrollbar-width:thin;
  }
  .rfm-dashboard .rfm-ticker>span,
  .rfm-dashboard .rfm-ticker>time { flex:0 0 auto; }
  .rfm-dashboard .rfm-kpis {
    flex:0 0 auto;
    grid-template-columns:repeat(4,minmax(0,1fr));
    grid-template-rows:none;
    grid-auto-rows:minmax(100px,auto);
    gap:10px;
  }
  .rfm-dashboard .rfm-tile {
    min-height:100px;
    height:auto;
    padding:12px 14px;
    overflow:hidden;
  }
  .rfm-dashboard .rfm-tile-name { font-size:13px;line-height:1.3; }
  .rfm-dashboard .rfm-tile-value {
    font-size:clamp(23px,2.15vw,32px);
    line-height:1.2;
    margin:5px 0 2px;
  }
  .rfm-dashboard .rfm-tile-sub { font-size:11px;line-height:1.35; }
  /* Uma seção por linha: gráfico grande e dados financeiros legíveis. */
  .rfm-dashboard .rfm-middle,
  .rfm-dashboard .rfm-right {
    display:flex;
    flex-direction:column;
    flex:0 0 auto;
    gap:14px;
    grid-template-columns:none;
    grid-template-rows:none;
    min-height:0;
  }
  .rfm-dashboard .rfm-chart {
    display:flex;
    flex-direction:column;
    min-height:370px;
    height:auto;
    padding:16px 18px;
    gap:12px;
    overflow:visible;
  }
  .rfm-dashboard .rfm-chart-heading { flex:0 0 auto;gap:10px; }
  .rfm-dashboard .rfm-section-link { font-size:17px; }
  .rfm-dashboard .rfm-filters { flex-wrap:wrap;gap:8px; }
  .rfm-dashboard .rfm-filters>select {
    max-width:230px;
    min-width:155px;
    font-size:12px;
    padding:8px 10px;
  }
  .rfm-dashboard .rf48-period button { min-height:30px;font-size:12px;padding:5px 12px; }
  .rfm-dashboard .rfm-trade-bars {
    flex:0 0 auto;
    height:auto;
    min-height:0;
    display:flex;
    flex-direction:column;
    gap:10px;
  }
  .rfm-dashboard .rfm-graph-summary {
    flex:0 0 auto;
    flex-wrap:wrap;
    font-size:12px;
    line-height:1.4;
    min-height:20px;
  }
  .rfm-dashboard .rfm-graph-body {
    display:flex;
    flex:0 0 auto;
    height:258px;
    min-height:258px;
    overflow:hidden;
    gap:10px;
  }
  .rfm-dashboard .rfm-axis { flex:0 0 40px;width:40px;font-size:11px;padding-bottom:23px; }
  .rfm-dashboard .rfm-plot {
    flex:1 1 0;
    min-width:0;
    width:100%;
    height:100%;
    min-height:0;
    overflow:hidden;
    align-items:stretch;
    gap:3px;
  }
  .rfm-dashboard .rfm-bar-group { width:100%;min-width:0; }
  .rfm-dashboard .rfm-bar-pair { min-height:0;width:100%;align-items:flex-end; }
  .rfm-dashboard .rfm-bar { max-width:none; }
  .rfm-dashboard .rfm-bar-label { height:22px;line-height:22px;font-size:11px; }
  .rfm-dashboard .rfm-finance,
  .rfm-dashboard .rfm-alerts {
    flex:0 0 auto;
    height:auto;
    min-height:0;
    padding:15px 18px;
    gap:12px;
    overflow:visible;
  }
  .rfm-dashboard .rfm-section-title { font-size:17px;min-height:24px; }
  .rfm-dashboard .rfm-section-title small,
  .rfm-dashboard .rfm-section-title>span { font-size:12px; }
  .rfm-dashboard .rfm-finance-stats {
    flex:0 0 auto;
    grid-template-columns:repeat(4,minmax(0,1fr));
    grid-auto-rows:minmax(86px,auto);
    gap:10px;
  }
  .rfm-dashboard .rfm-finance-stats>button { min-height:86px;padding:12px;gap:6px; }
  .rfm-dashboard .rfm-finance-stats span { font-size:12px; }
  .rfm-dashboard .rfm-finance-stats strong { font-size:clamp(19px,2.15vw,28px); }
  .rfm-dashboard .rfm-alert {
    flex:0 0 auto;
    min-height:46px;
    padding:7px 9px;
    gap:10px;
    grid-template-columns:9px minmax(0,1fr) auto auto;
    font-size:13px;
  }
  .rfm-dashboard .rfm-alert>b { font-size:14px; }
  .rfm-dashboard .rfm-alert-action { font-size:11px;padding:6px 9px; }
  .rfm-dashboard .rfm-bottom {
    flex:0 0 auto;
    display:grid;
    grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);
    gap:14px;
    min-height:260px;
  }
  .rfm-dashboard .rfm-events,
  .rfm-dashboard .rfm-shortcuts {
    min-height:260px;
    height:auto;
    padding:15px 16px;
    gap:12px;
    overflow:visible;
  }
  .rfm-dashboard .rfm-events-list { overflow:visible;gap:5px; }
  .rfm-dashboard .rfm-event {
    min-height:34px;
    padding:6px 8px;
    font-size:12px;
    gap:9px;
    grid-template-columns:48px minmax(0,1fr) 85px 77px 12px;
  }
  .rfm-dashboard .rfm-event:nth-child(n+4),
  .rfm-dashboard .rfm-event:nth-child(n+5) { display:grid; }
  .rfm-dashboard .rfm-shortcut-list { grid-auto-rows:minmax(60px,auto);gap:8px; }
  .rfm-dashboard .rfm-shortcut-list button { min-height:60px;font-size:12px;gap:6px; }
  .rfm-dashboard .rfm-footer { flex:0 0 auto;min-height:22px;line-height:1.4;font-size:11px; }
}
@media (min-width:1024px) and (max-width:1180px) {
  .rfm-dashboard .rfm-kpis { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .rfm-dashboard .rfm-finance-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .rfm-dashboard .rfm-bottom { grid-template-columns:1fr; }
}
