/* Fresh, cache-busted Store Panel toolbar correction.
 * The upstream header is a flex layout, so its divider needs an explicit
 * grid layout rather than a decorative surface behind the period control. */
body.rsh-account-skin.dokan-dashboard .woocommerce-dashboard__dashboard-charts .woocommerce-section-header.has-interval-select {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 12px !important;
    align-items: center !important;
    isolation: isolate;
}

body.rsh-account-skin.dokan-dashboard .woocommerce-dashboard__dashboard-charts .woocommerce-section-header.has-interval-select > hr {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    margin: 0 !important;
}

body.rsh-account-skin.dokan-dashboard .woocommerce-dashboard__dashboard-charts .woocommerce-section-header.has-interval-select > .woocommerce-section-header__actions {
    grid-column: 2 !important;
    grid-row: 1 !important;
    position: relative !important;
    z-index: 2 !important;
    padding: 0 !important;
}

@media (max-width: 768px) {
    body.rsh-account-skin.dokan-dashboard .woocommerce-dashboard__dashboard-charts .woocommerce-chart__interval-select,
    body.rsh-account-skin.dokan-dashboard .woocommerce-dashboard__dashboard-charts .components-base-control__field,
    body.rsh-account-skin.dokan-dashboard .woocommerce-dashboard__dashboard-charts .components-input-base,
    body.rsh-account-skin.dokan-dashboard .woocommerce-dashboard__dashboard-charts .components-input-control__container {
        min-width: 132px;
        margin: 0 !important;
    }
}
