/* Only date-range controls; revenue cards/tables and other filters unchanged. */
#revenue-filters .range-popover {padding:12px;gap:12px;margin-top:10px;font-size:13px}
#revenue-filters .range-popover button {padding:5px 7px;font-size:13px;line-height:1.25;min-height:30px}
#revenue-filters .range-popover h3 {font-size:14px;margin:6px 0}
#revenue-filters .range-popover input {padding:5px 7px;font-size:13px;min-height:30px;box-sizing:border-box}
#revenue-filters .range-fields,#revenue-filters .calendar-navigation {margin:0 0 8px;gap:8px}
#revenue-filters .range-fields label {gap:4px}
#revenue-filters .range-popover .small {font-size:12px;margin:7px 0 0}
#revenue-filters .range-presets {gap:4px}
#revenue-filters .recent-months {gap:4px}
#revenue-filters .recent-months h3 {margin:0 0 4px}
#revenue-filters .dual-calendar {gap:12px}
#revenue-filters .calendar-days {gap:2px}
#revenue-filters .calendar-days button {padding:3px 2px;min-height:26px}
#revenue-filters .range-footer {padding-top:8px;gap:8px}
#revenue-filters .range-footer button[type=submit] {background:#2678bd;color:white}
@media(min-width:1000px){
 #revenue-filters .range-popover {grid-template-columns:180px 140px minmax(0,1fr)!important}
 #revenue-filters .range-presets {display:grid;grid-template-columns:1fr 1fr}
 #revenue-filters .recent-months {flex-direction:column;flex-wrap:nowrap}
 #revenue-filters .dual-calendar {grid-template-columns:1fr 1fr}
}
/* At small viewports controls remain usable; action row stays in view while scrolling. */
#revenue-filters .range-footer {position:sticky;bottom:0;background:#18222e;z-index:21}
@media(min-width:1000px){
 #revenue-filters .range-fields label {display:flex;align-items:center;gap:8px}
 #revenue-filters .range-popover {row-gap:8px}
}
