/* Cashback Pro V36.7.1 — final mobile dashboard edge + brand-mark visibility fix.
   Keep individual KPI/order cards intact; remove only the outer page/dashboard shell. */
html body.dashboard-home .main-container,
html body.dashboard-home main.main-container {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 10px 12px 28px !important;
  box-sizing: border-box !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
html body.dashboard-home .main-container::before,
html body.dashboard-home .main-container::after {
  content: none !important;
  display: none !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}
html body.dashboard-home #seasonal-dashboard.seasonal-dashboard {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 auto 18px !important;
  padding: 0 0 16px !important;
  box-sizing: border-box !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
html body.dashboard-home #seasonal-dashboard.seasonal-dashboard::before,
html body.dashboard-home #seasonal-dashboard.seasonal-dashboard::after {
  content: none !important;
  display: none !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}
html body.dashboard-home #seasonal-dashboard > .seasonal-main {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
/* Do not affect the cards themselves. */
html body.dashboard-home #seasonal-dashboard .seasonal-kpi,
html body.dashboard-home #seasonal-dashboard .seasonal-orders,
html body.dashboard-home #seasonal-dashboard .glass-panel {
  background-clip: padding-box;
}

/* The old mobile header rule clipped the brand anchor. Let the complete logo breathe. */
html body .app-header,
html body .app-header .header-left,
html body .app-header .brand-stack,
html body .app-header a.brand {
  overflow: visible !important;
}
html body .app-header .brand-stack > a.brand {
  flex: 0 0 auto !important;
  min-width: max-content !important;
  max-width: none !important;
  gap: 10px !important;
}
html body .app-header .brand-icon {
  display: grid !important;
  place-items: center !important;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
  flex: 0 0 48px !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
html body .app-header .brand-icon img {
  display: block !important;
  width: 46px !important;
  height: 46px !important;
  max-width: none !important;
  object-fit: contain !important;
  object-position: center !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
@media (max-width: 600px) {
  html body.dashboard-home .main-container { padding-left: 12px !important; padding-right: 12px !important; }
  html body .app-header .brand-stack > a.brand { min-width: 0 !important; max-width: none !important; }
}
