/* Legacy chart content sizing, adapted to the new flow without legacy drag CSS. */
/* v0.3.22: individual Overview chart cards, no grouped edit handles. */
#appShell .re376-flow.re56-main>.re56-card{width:auto!important;min-width:0!important;align-self:stretch;box-sizing:border-box}
/* Previous chart-pair wrappers are emptied and removed by module-layout-v0322.js. */
#appShell .re376-flow.re56-main>.re56-card{display:flex!important;flex-direction:column!important;overflow:hidden!important;padding:14px 15px!important}
#appShell .re376-flow.re56-main>.re56-card>header{flex:0 0 auto;min-width:0;flex-wrap:wrap}
#appShell .re376-flow.re56-main>.re56-card .re56-graph{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:195px!important;height:auto!important;overflow:hidden!important;align-items:stretch!important}
#appShell .re376-flow.re56-main>.re56-card .re60-chart-toolbar{flex:0 0 auto}
#appShell .re376-flow.re56-main>.re56-card .re59-chart-scroll{flex:1 1 auto!important;min-height:160px!important;overflow:hidden!important;display:block;max-width:100%!important}
#appShell .re376-flow.re56-main>.re56-card .re59-chart-scroll>svg{display:block!important;width:100%!important;height:100%!important;min-height:0!important;max-width:100%!important;max-height:none!important}
#appShell .re376-flow.re56-main>.re56-card .re59-chart-readout{flex:0 0 auto;min-height:26px;padding:6px 0 0!important;font-size:11px}
#appShell .re376-flow.re56-main>.re56-card .re56-donut-row{flex:1 1 auto!important;min-height:185px;min-width:0;align-content:center}
#appShell .re376-flow.re56-main>.re56-card .re56-donut-legend{min-width:0}
#appShell .re376-flow.re56-main>.re56-card .re56-donut-row>div{min-width:0}

/* Respect individual chart minimums: the JS limits prevent resize smaller than these heights. */
#appShell .re376-flow.re56-main>.re56-card{min-height:0!important}
@media(max-width:900px){#appShell .re376-flow.re56-main>.re56-card{height:auto!important;min-height:300px!important}#appShell .re376-flow.re56-main>.re56-card .re56-graph{min-height:215px!important}}

/* Editing Activity uses DOM bars instead of SVG; let the bar plot expand with its own module. */
#appShell .re376-flow.re56-main>.re56-card #re56ActivityGraph .ea99-chart{flex:1 1 auto!important;min-height:200px!important;max-height:100%!important}
#appShell .re376-flow.re56-main>.re56-card #re56ActivityGraph .ea99-plot{min-height:145px!important}
#appShell .re376-flow.re56-main>.re56-card #re56ActivityGraph .ea99-note{font-size:11px;line-height:1.35}
