/* Groc 2.8.2 — Aurora Mist, Option A — ambient backdrop only.
   Layered ON TOP of Aurora Glass V1. Six mounted tabs, data, spacing, and
   behavior remain unchanged. Static SVG artwork: no scrolling JS or animations. */

/* Pale translucent mist covers the dashboard only, not other mounted screens. */
:root:not([data-theme="dark"]) .dashboard-page {
  background-image:
    url("/assets/groc-aurora-mist-wash-option-a.svg"),
    radial-gradient(ellipse 92% 380px at 6% 16%, rgba(160,235,221,.27),transparent 80%),
    radial-gradient(ellipse 102% 510px at 100% 56%,rgba(189,194,248,.18),transparent 84%),
    linear-gradient(180deg,#f3fafb 0%,#f6fafb 53%,#f8fafc 100%) !important;
  background-repeat:no-repeat,no-repeat,no-repeat,no-repeat !important;
  background-size:100% auto,auto,auto,auto !important;
  background-position:center top,center,center,center !important;
}

/* Leaf silhouettes are baked into the header's *background image*.
   No pseudo-element overlays; search, avatar and taps remain unobstructed. */
:root:not([data-theme="dark"]) .dashboard-page > .dashboard-hero {
  background-image:
    url("/assets/groc-aurora-mist-leaves-option-a.svg"),
    radial-gradient(ellipse 77% 115% at 80% 6%,rgba(164,238,226,.53),transparent 72%),
    radial-gradient(ellipse 70% 115% at 9% 12%,rgba(174,214,251,.48),transparent 81%),
    radial-gradient(ellipse 78% 110% at 97% 104%,rgba(215,205,253,.43),transparent 75%),
    linear-gradient(130deg,#effafa 0%,#eaf5fc 49%,#f4f1ff 100%) !important;
  background-repeat:no-repeat,no-repeat,no-repeat,no-repeat,no-repeat !important;
  background-position:right -15px top -16px,center,center,center,center !important;
  background-size:clamp(242px,73vw,355px) auto,cover,cover,cover,cover !important;
}

/* Add a gentle Aurora glow to the current cards, without changing their
   width, height, layout, padding, typography or click targets. */
:root:not([data-theme="dark"]) .dashboard-page .dashboard-content-section.groc27-tobuy-panel,
:root:not([data-theme="dark"]) .dashboard-page .dashboard-content-section.groc27-quick-panel,
:root:not([data-theme="dark"]) .dashboard-page .dashboard-content-section.groc27-recipe-panel {
  background:linear-gradient(128deg,rgba(255,255,255,.87),rgba(238,251,252,.80) 49%,rgba(245,242,255,.81)) !important;
  border-color:rgba(245,253,255,.93) !important;
  box-shadow:0 10px 27px rgba(60,111,156,.095),0 1px 0 rgba(255,255,255,.62),inset 0 1px rgba(255,255,255,.98) !important;
}
:root:not([data-theme="dark"]) .dashboard-page .groc27-tobuy-panel > .dashboard-section-heading,
:root:not([data-theme="dark"]) .dashboard-page .groc27-quick-panel > .dashboard-shortcut-heading,
:root:not([data-theme="dark"]) .dashboard-page .groc27-recipe-panel > .dashboard-shortcut-heading {
  background:linear-gradient(112deg,rgba(238,254,250,.94),rgba(236,247,255,.94) 66%,rgba(246,242,255,.95)) !important;
}

/* On compact phones leave the greeting untouched; foliage follows the right edge. */
@media (max-width:374px) {
  :root:not([data-theme="dark"]) .dashboard-page > .dashboard-hero {
    background-size:225px auto,cover,cover,cover,cover !important;
    background-position:right -22px top -8px,center,center,center,center !important;
  }
}
