/* Desktop dashboard content visibility and rhythm repair.
   Presentation-only: restores the dashboard metric and action panels below the hero
   at wide desktop widths; mobile layout remains owned by existing responsive layers. */
@media (min-width: 1101px) {
  html body.app-page.page-app #appMain > #dashboard {
    display: block !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }
  html body.app-page.page-app #appMain > #dashboard > .cards {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 16px 0 18px !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  html body.app-page.page-app #appMain > #dashboard > .cards > .card.stat {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-width: 0 !important;
    min-height: 112px !important;
    height: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  html body.app-page.page-app #appMain > #dashboard > .grid-2 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    width: 100% !important;
    min-width: 0 !important;
    margin-top: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* Restore readable contrast inside the navy admin daily desk panel. */
html body.app-page.page-app #appMain #dashboard .admin-daily-desk,
html body.app-page.page-app #appMain #dashboard .admin-daily-desk * {
  text-shadow: none;
}
html body.app-page.page-app #appMain #dashboard .admin-daily-desk h2,
html body.app-page.page-app #appMain #dashboard .admin-daily-desk h3,
html body.app-page.page-app #appMain #dashboard .admin-daily-desk strong,
html body.app-page.page-app #appMain #dashboard .admin-daily-desk .stat-value {
  color: #f4f9ff !important;
}
html body.app-page.page-app #appMain #dashboard .admin-daily-desk p,
html body.app-page.page-app #appMain #dashboard .admin-daily-desk span,
html body.app-page.page-app #appMain #dashboard .admin-daily-desk small {
  color: #c7dcf2 !important;
}
html body.app-page.page-app #appMain #dashboard .admin-daily-desk .muted {
  color: #c7dcf2 !important;
}
