/* Extracted from index.html: v24-preview-and-desktop-table-fix */
/* V24: safe desktop table polish applied on top of the last stable preview build.
   Tables inside two/three-column desktop grids are promoted to full-width rows. */
@media (min-width: 1024px) {
  main, .main-content, [data-main-content] { max-width: none !important; }
  .module-view .grid.md\:grid-cols-2:has(table),
  .module-view .grid.lg\:grid-cols-2:has(table),
  .module-view .grid.md\:grid-cols-3:has(table),
  .module-view .grid.lg\:grid-cols-3:has(table) {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
  }
  .module-view .grid.md\:grid-cols-2:has(table) > *,
  .module-view .grid.lg\:grid-cols-2:has(table) > *,
  .module-view .grid.md\:grid-cols-3:has(table) > *,
  .module-view .grid.lg\:grid-cols-3:has(table) > * {
    min-width: 0 !important;
    width: 100% !important;
  }
  .module-view table { width: 100% !important; }
}
@media (max-width: 1023px) {
  .module-view table { min-width: 760px; }
}
