/* Dashboard pages share the Overview workspace width; overlays keep their own readable size. */
body.dashboard-page .main-content > .view {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin-inline: 0;
}
body.dashboard-page .main-content > #create,
body.dashboard-page .main-content > #settings {
  max-width: none;
}
/* Match Overview's outer edges on every workspace page, not just its top-level view. */
body.dashboard-page .main-content > .view > :is(.section-header,.toolbar,.table-panel),
body.dashboard-page #create[data-mode="choose"] :is(.creation-hub-selection,.creation-hub-grid,.creation-future-grid),
body.dashboard-page #projects :is(.library-toolbar,.library-controlbar,.library-summary,.library-grid),
body.dashboard-page #billing :is(.billing-page-head,.billing-overview,.billing-plan-grid,.ledger-toolbar),
body.dashboard-page #tickets-center :is(.ticket-hero,.ticket-summary,.ticket-workspace) {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin-inline: 0;
}
body.dashboard-page #create[data-mode="choose"] .creation-hub-catalog,
body.dashboard-page #create[data-mode="choose"] .creation-hub-intro,
body.dashboard-page #projects .library-shell,
body.dashboard-page #branding .branding-dashboard-shell,
body.dashboard-page #tickets-center .ticket-page,
body.dashboard-page #billing > :is(.billing-overview,.billing-plans-section,.billing-ledger) {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin-inline: 0;
}
body.dashboard-page #settings .user-settings-heading {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}
body.dashboard-page #settings .user-settings-layout {
  width: 100%;
  grid-template-columns: 250px minmax(0,1fr);
  justify-content: stretch;
}
body.dashboard-page #settings .user-settings-content { max-width: none; }
body.dashboard-page #notifications-center.notifications-center-view {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}
body.dashboard-page #notifications-center .notification-center-list {
  grid-template-columns: repeat(2,minmax(0,1fr));
  align-items: stretch;
}
body.dashboard-page #notifications-center .notification-center-item { min-width: 0; }
body.dashboard-page #projects .library-grid {
  grid-template-columns: repeat(auto-fit,minmax(min(100%,330px),1fr));
}
body.dashboard-page #projects .library-card-image {
  aspect-ratio: 16 / 9;
  max-height: 260px;
}
body.dashboard-page #branding .brand-profile-list {
  grid-template-columns: repeat(auto-fit,minmax(min(100%,280px),1fr));
}
body.dashboard-page #branding .brand-profiles-layout:has(.brand-profile-editor) .brand-profile-list {
  grid-template-columns: 1fr;
}
@media (min-width: 1700px) {
  body.dashboard-page #create[data-mode="choose"] .creation-hub-grid,
  body.dashboard-page #create[data-mode="choose"] .creation-future-grid {
    grid-template-columns: repeat(5,minmax(0,1fr));
  }
  body.dashboard-page #notifications-center .notification-center-list {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}
@media (max-width: 1100px) {
  body.dashboard-page #notifications-center .notification-center-list { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body.dashboard-page #settings .user-settings-layout { display: block; }
  body.dashboard-page #projects .library-grid { grid-template-columns: 1fr; }
  body.dashboard-page #projects .library-card-image { max-height: none; }
}
