.en-dashboard { margin-top: 28px; }
#wpbody-content #dashboard-widgets-wrap.en-dashboard #dashboard-widgets { margin: 0; }
#wpbody-content #dashboard-widgets-wrap.en-dashboard #dashboard-widgets .postbox-container { float: left; width: 33.3333%; }
.en-dashboard #postbox-container-4:not(:has(.postbox)) { display: none; }
#wpbody-content #dashboard-widgets-wrap.en-dashboard #dashboard-widgets.columns-1 .postbox-container { float: left; width: 100%; }
#wpbody-content #dashboard-widgets-wrap.en-dashboard #dashboard-widgets.columns-2 .postbox-container { float: left; width: 50%; }
[id^="en_dashboard_"] .inside { padding: 0 12px 12px; margin: 12px 0 0; }
[id^="en_dashboard_"] h3 { font-size: 16px; line-height: 1.4; margin: 0 0 2px; }
[id^="en_dashboard_"] a { text-decoration: none; }
.en-widget-chart { height: 160px; display: grid; grid-template-columns: max-content minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) 18px; gap: 6px 8px; padding-top: 5px; }
.en-chart-plot { min-width: 0; background: #f0f0f1; border: 1px solid #dcdcde; }
.en-chart-y-axis, .en-chart-x-axis { font-size: 11px; line-height: 1; color: #646970; font-variant-numeric: tabular-nums; }
.en-chart-y-axis { display: flex; flex-direction: column; justify-content: space-between; text-align: right; margin: -5px 0; }
.en-chart-x-axis { grid-column: 2; position: relative; }
.en-chart-x-axis span { position: absolute; top: 2px; white-space: nowrap; transform: translateX(-50%); }
.en-chart-x-axis span:first-child { transform: none; }
.en-chart-x-axis span:last-child { transform: translateX(-100%); }
.en-widget-chart svg { width: 100%; height: 100%; overflow: visible; }
.en-chart-grid { stroke: #dcdcde; stroke-width: 1; fill: none; }
.en-chart-line { stroke: #3b82f6; stroke-width: 2; fill: none; vector-effect: non-scaling-stroke; }
.en-chart-point { stroke: #3b82f6; fill: #b8d2fb; }
.en-widget-counts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 14px 0 16px; }
.en-widget-counts li { margin: 0; }
.en-widget-counts strong { display: block; font-size: 16px; margin-bottom: 3px; }
[id^="en_dashboard_"] .en-widget-footer { border-top: 1px solid #f0f0f1; margin: 16px -12px -12px; padding: 12px 12px 1px; }
.en-widget-newsletter { margin-bottom: 16px; }
.en-widget-newsletter p { margin: 2px 0 0; }
.en-widget-sending-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.en-widget-badge { padding: 4px 7px; border-radius: 4px; background: #d3efbf; color: #487d32; white-space: nowrap; }
.en-widget-progress { display: block; width: 100%; height: 32px; appearance: none; border: 1px solid #dcdcde; border-radius: 4px; overflow: hidden; background: #f6f7f7; color: var(--wp-admin-theme-color, #2271b1); }
.en-widget-progress::-webkit-progress-bar { background: #f6f7f7; }
.en-widget-progress::-webkit-progress-value { background: var(--wp-admin-theme-color, #2271b1); }
.en-widget-progress::-moz-progress-bar { background: var(--wp-admin-theme-color, #2271b1); }
.en-widget-sending-details { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; margin: 14px 0 20px; }
.en-widget-sending-details dt { font-weight: 600; }
.en-widget-sending-details dd { margin: 0; }
.en-widget-stop { margin-bottom: 6px; }
@media (max-width: 1200px) { #wpbody-content #dashboard-widgets-wrap.en-dashboard #dashboard-widgets:not(.columns-1) .postbox-container { float: left; width: 50%; } }
@media (max-width: 782px) { #wpbody-content #dashboard-widgets-wrap.en-dashboard #dashboard-widgets[class] .postbox-container { float: left; width: 100%; } }

/* Match the compact, rectangular cards in the overview reference. */
#dashboard-widgets [id^="en_dashboard_"].postbox { border-radius: 0; }
#dashboard-widgets [id^="en_dashboard_"] .postbox-header .hndle { padding: 10px 12px; }

.en-widget-badge-planned { background: #eee9bf; color: #b39331; }

#dashboard-widgets [id^="en_dashboard_"] h3 { font-size: 16px; font-weight: 600; line-height: 1.4; margin: 0 0 2px; }

.en-widget-schedule-wait { grid-column: 1 / -1; }

/* Empty columns are drop targets only while rearranging existing widgets. */
body:not(.is-dragging-metaboxes) .en-dashboard #dashboard-widgets .empty-container { outline: none; border-color: transparent; }
body:not(.is-dragging-metaboxes) .en-dashboard #dashboard-widgets .empty-container::after { display: none; }
