/* Panel Dashboard (/panel) — page-scoped EDS bridge additions.
   Owner: u01. Loads after eds-panel.css; everything scoped under
   .fi-eds--dashboard (App\Filament\Pages\Dashboard::getPageClasses()) so
   nothing here leaks onto other panel surfaces. */

/* AccountWidget ("Welcome / <name> / Sign out") sits in the dashboard's
   native 2-column page grid at columnSpan=1, so it only ever fills half the
   row and its right edge lands mid-grid, aligned with no gutter below it.
   It reads as a header bar, not a stat card, so give it the full row. */
.fi-eds--dashboard .fi-account-widget {
    grid-column: 1 / -1 !important;
}

/* fi-loading-section: intentionally left unstyled here. The bridge
   (eds-filament-theme.css) deliberately renders this as a cream2 sunken
   well, not a paper card — a bordered/shadowed card at rest reads as a
   broken empty widget, while the sunken well reads as a slot still
   filling. Do not re-style it page-scoped; it would win the specificity
   tie and undo that decision. */

/* Stat groups on this page are pinned 3-up (see ClinicianProfileQualityStats
   and ResumeStorageActivityStats) so every stat card on the dashboard shares
   one width. Two of those groups hold 4 stats, which strands the 4th card
   alone in an otherwise-empty row. Stretch that trailing orphan to fill the
   row instead of leaving it dangling. */
.fi-eds--dashboard .fi-wi-stats-overview-stat:last-child:nth-child(3n + 1) {
    grid-column: 1 / -1;
}
