/* Unified month selector: one full selector, or a second row for month range. */
@media (max-width:767px), (max-width:1023px) and (max-height:500px), (pointer:coarse) and (max-width:1200px){
 .sales-statistics-page .sales-business-header .sales-header-tools .sales-header-date{display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;gap:6px!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;padding:4px!important;flex:1 1 100%!important;white-space:normal!important;}
 .sales-statistics-page .sales-header-tools .sales-header-date>span:first-child{grid-row:1;grid-column:1;align-self:center;font-size:14px;white-space:nowrap;}
 .sales-statistics-page .sales-header-tools .sales-header-date [data-slot='native-select-wrapper']{min-width:0!important;width:100%!important;max-width:100%!important;flex:none!important;}
 .sales-statistics-page .sales-header-tools .sales-header-date [data-slot='native-select-wrapper']:first-of-type{grid-column:2 / 4!important;grid-row:1!important;min-width:170px!important;}
 .sales-statistics-page .sales-header-tools .sales-header-date[data-period-mode='custom'] [data-slot='native-select-wrapper']:nth-of-type(2){grid-column:1!important;grid-row:2!important;}
 .sales-statistics-page .sales-header-tools .sales-header-date[data-period-mode='custom']>span:not(:first-child){grid-column:2;grid-row:2;align-self:center;}
 .sales-statistics-page .sales-header-tools .sales-header-date[data-period-mode='custom'] [data-slot='native-select-wrapper']:nth-of-type(3){grid-column:3!important;grid-row:2!important;}
 .sales-statistics-page .sales-header-tools .sales-header-date select{width:100%!important;min-width:0!important;height:44px!important;min-height:44px!important;font-size:16px!important;line-height:normal!important;padding:4px 26px 4px 8px!important;border:1px solid #cbd7cf!important;border-radius:6px!important;background:#fff!important;}
 .sales-statistics-page .sales-business-header .sales-header-tools{flex-wrap:wrap!important;}
}
