/* Groc 2.7 — Dashboard only. Uses existing functional components; does not touch other tabs. */
:root{--g27-ink:#244c3b;--g27-sage:#e6f3eb;--g27-line:#d7e8dc}
/* Three light frosted mint cards. Avoid backdrop-filter to protect iPhone scrolling. */
.dashboard-page .dashboard-content-section.groc27-tobuy-panel,
.dashboard-page .dashboard-content-section.groc27-quick-panel,
.dashboard-page .dashboard-content-section.groc27-recipe-panel{
 box-sizing:border-box!important;border:1px solid #dae8df!important;border-radius:22px!important;
 background:linear-gradient(126deg,#f8fcf9ed,#e8f4ecec)!important;
 box-shadow:0 5px 17px #2958400e,inset 0 1px #fff!important;
 margin:0 12px 12px!important;overflow:visible!important;padding:0!important
}
.dashboard-page .groc27-tobuy-panel>.dashboard-section-heading,
.dashboard-page .groc27-quick-panel>.dashboard-shortcut-heading,
.dashboard-page .groc27-recipe-panel>.dashboard-shortcut-heading{
 box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:space-between!important;
 position:relative!important;min-height:85px!important;height:auto!important;
 padding:10px 11px 10px 76px!important;gap:7px!important;margin:0!important;
 background:linear-gradient(126deg,#f3faf6f4,#dfeee5ec)!important;
 border:1px solid #fffffffa!important;border-radius:21px!important;
 box-shadow:inset 0 1px #fff,0 2px 8px #244c3810!important
}
.dashboard-page .groc27-tobuy-panel>.dashboard-section-heading::before,
.dashboard-page .groc27-quick-panel>.dashboard-shortcut-heading::before,
.dashboard-page .groc27-recipe-panel>.dashboard-shortcut-heading::before{
 box-sizing:border-box!important;left:11px!important;top:50%!important;transform:translateY(-50%)!important;
 width:54px!important;height:54px!important;border:1px solid #d6e6da!important;border-radius:17px!important;
 background-color:#fffefa!important;background-size:41px 41px!important;background-position:center!important;
 box-shadow:0 3px 10px #274f3611!important
}
.dashboard-page .groc27-quick-panel>.dashboard-shortcut-heading::before{
 background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2NCIgaGVpZ2h0PSI2NCIgdmlld0JveD0iMCAwIDY0IDY0Ij48ZGVmcz48bGluZWFyR3JhZGllbnQgaWQ9ImciIHgxPSIwIiB5MT0iMCIgeDI9IjEiIHkyPSIxIj48c3RvcCBzdG9wLWNvbG9yPSIjODZCRjlEIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjMjM1QTQxIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PHBhdGggZD0iTTM1LjggNiAxMyAzNS4xYy0xLjggMi40LS4yIDUuNyAyLjggNS43SDI5TDI3IDU4bDI1LTMxLjdjMS44LTIuMy4xLTUuNi0yLjgtNS42SDM2LjhMMzkgNloiIGZpbGw9InVybCgjZykiIHN0cm9rZT0iIzFENDkzNiIgc3Ryb2tlLXdpZHRoPSIyLjYiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz48L3N2Zz4=")!important;background-size:31px 31px!important
}
.dashboard-page .groc27-tobuy-panel>.dashboard-section-heading>div:first-child{min-width:0!important;flex:1 1 auto!important}
.dashboard-page .groc27-tobuy-panel .groc-to-buy-toggle{
 display:inline-flex!important;align-items:baseline!important;gap:5px!important;flex-wrap:wrap!important;
 color:var(--g27-ink)!important;font-size:18px!important;font-weight:770!important;min-height:44px!important;
 text-align:left!important;white-space:normal!important;padding:0!important
}
.dashboard-page .groc27-tobuy-panel .groc-to-buy-count.groc26-count-inline{font-size:11px!important;color:#648371!important}
.dashboard-page .groc27-tobuy-panel .groc21-heading-actions{
 order:1!important;flex:0 0 42px!important;display:flex!important;align-items:center!important;
 min-width:42px!important;width:42px!important;margin:0!important;padding:0!important;
 gap:0!important;justify-content:center!important
}
.dashboard-page .groc27-tobuy-panel .groc21-overflow-wrap{width:42px!important;min-width:42px!important}
.dashboard-page .groc27-tobuy-panel .groc21-overflow-toggle{
 box-sizing:border-box!important;display:grid!important;place-items:center!important;
 width:42px!important;min-width:42px!important;height:44px!important;min-height:44px!important;
 padding:0!important;background:#fffefa!important;border:1px solid #d9e8db!important;
 border-radius:15px!important;color:#264e3c!important;font-size:23px!important;line-height:1!important
}
.dashboard-page .groc27-tobuy-panel .groc21-overflow-menu{right:0!important;left:auto!important;z-index:999!important}
/* Same 44px chevron column at the far right on all three cards. */
.dashboard-page .groc27-card-chevron{
 box-sizing:border-box!important;flex:0 0 44px!important;width:44px!important;min-width:44px!important;max-width:44px!important;
 height:44px!important;min-height:44px!important;max-height:44px!important;
 display:grid!important;place-items:center!important;padding:0!important;margin:0!important;
 background:#fffefa!important;border:1px solid #d7e6da!important;border-radius:15px!important;
 color:#254e3b!important;box-shadow:0 1px 4px #1c50330d!important
}
.dashboard-page .groc27-card-chevron>svg{display:block!important;width:22px!important;height:22px!important;flex:none!important;stroke:currentColor!important}
.dashboard-page button.groc27-tobuy-chevron{order:2!important;cursor:pointer!important;touch-action:manipulation!important}
.dashboard-page .groc27-quick-panel>.dashboard-shortcut-heading>h2,
.dashboard-page .groc27-recipe-panel>.dashboard-shortcut-heading>h2{flex:1 1 auto!important;min-width:0!important;width:100%!important;margin:0!important}
.dashboard-page .groc27-quick-panel .dashboard-quick-add-toggle,
.dashboard-page .groc27-recipe-panel .dashboard-quick-add-toggle{
 box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:space-between!important;
 width:100%!important;min-height:50px!important;padding:0!important;gap:9px!important
}
.dashboard-page .groc27-quick-panel .dashboard-quick-add-toggle .groc23-banner-copy,
.dashboard-page .groc27-recipe-panel .dashboard-quick-add-toggle .groc23-banner-copy{min-width:0!important;flex:1 1 auto!important}
.dashboard-page .groc27-quick-panel .groc23-banner-copy strong,
.dashboard-page .groc27-recipe-panel .groc23-banner-copy strong{font-size:18px!important;color:var(--g27-ink)!important}
.dashboard-page .groc27-quick-panel .groc23-banner-copy small,
.dashboard-page .groc27-recipe-panel .groc23-banner-copy small{font-size:11px!important;color:#6b8575!important}
.dashboard-page .groc27-quick-panel .dashboard-quick-add-toggle>.groc27-card-chevron,
.dashboard-page .groc27-recipe-panel .dashboard-quick-add-toggle>.groc27-card-chevron{margin-right:0!important}
/* Quick Add: remove badge row from DOM, reserve a proper 2-line name slot and an independent bottom stepper. */
.dashboard-page .groc27-quick-panel .quick-add-grid-v3{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:10px!important;padding:1px 0 4px!important;align-items:stretch!important
}
.dashboard-page .groc27-quick-panel .quick-add-card-v3,
.dashboard-page .groc27-quick-panel .quick-add-card-v3.selected{
 box-sizing:border-box!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;
 grid-template-rows:81px 42px 38px!important;gap:6px!important;
 height:auto!important;min-height:0!important;max-height:none!important;
 overflow:hidden!important;align-items:stretch!important;min-width:0!important;
 padding:8px!important;border-radius:17px!important;
 border:1px solid #e1ece3!important;background:#fffefa!important;box-shadow:0 2px 9px #245c4010!important
}
.dashboard-page .groc27-quick-panel .quick-add-image-v3{
 box-sizing:border-box!important;grid-row:1!important;display:grid!important;place-items:center!important;
 height:81px!important;min-height:81px!important;max-height:81px!important;
 border-radius:13px!important;overflow:hidden!important;background:#f5f8f4!important;padding:5px!important
}
.dashboard-page .groc27-quick-panel .quick-add-image-v3 img{width:auto!important;max-width:100%!important;height:auto!important;max-height:72px!important;object-fit:contain!important}
.dashboard-page .groc27-quick-panel .quick-add-card-copy-v3.groc27-quick-title{
 box-sizing:border-box!important;grid-row:2!important;display:block!important;position:static!important;
 height:42px!important;min-height:42px!important;max-height:42px!important;
 margin:0!important;padding:0!important;overflow:hidden!important;z-index:auto!important
}
.dashboard-page .groc27-quick-panel .groc27-quick-title>strong{
 display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;
 height:auto!important;max-height:40px!important;min-height:0!important;
 overflow:hidden!important;text-overflow:ellipsis!important;overflow-wrap:anywhere!important;
 font-size:12px!important;font-weight:740!important;line-height:20px!important;
 margin:0!important;padding:0!important
}
.dashboard-page .groc27-quick-panel .quick-add-stepper-v3{
 box-sizing:border-box!important;grid-row:3!important;width:100%!important;
 min-width:0!important;max-width:100%!important;height:38px!important;min-height:38px!important;max-height:38px!important;
 overflow:hidden!important;display:grid!important;grid-template-columns:38px minmax(20px,1fr) 38px!important;
 gap:2px!important;margin:0!important;padding:2px!important;border-radius:12px!important;
 position:relative!important;z-index:1!important
}
.dashboard-page .groc27-quick-panel .quick-add-stepper-v3 button{
 display:grid!important;place-items:center!important;box-sizing:border-box!important;
 min-width:34px!important;width:100%!important;height:33px!important;min-height:33px!important;
 padding:0!important;border-radius:10px!important;touch-action:manipulation!important
}
.dashboard-page .groc27-quick-panel .quick-add-stepper-v3 strong{font-size:14px!important;text-align:center!important}
.dashboard-page .groc27-quick-panel .quick-add-identity-row-v4,
.dashboard-page .groc27-quick-panel .quick-add-category-badge-v4,
.dashboard-page .groc27-quick-panel .quick-add-store-badge-v4{display:none!important}
/* Expanded panels below the card headers follow the same soft white treatment. */
.dashboard-page .groc27-quick-panel .dashboard-quick-add-content,
.dashboard-page .groc27-recipe-panel .dashboard-recipe-content{border-radius:0 0 20px 20px!important;background:#f9fcf9!important;padding:12px!important}
.dashboard-page .groc27-quick-panel .dashboard-quick-add-content[hidden],
.dashboard-page .groc27-recipe-panel .dashboard-recipe-content[hidden]{display:none!important;padding:0!important}
@media(max-width:350px){
 .dashboard-page .groc27-tobuy-panel>.dashboard-section-heading,
 .dashboard-page .groc27-quick-panel>.dashboard-shortcut-heading,
 .dashboard-page .groc27-recipe-panel>.dashboard-shortcut-heading{padding:8px 8px 8px 62px!important;min-height:77px!important;gap:4px!important}
 .dashboard-page .groc27-tobuy-panel>.dashboard-section-heading::before,
 .dashboard-page .groc27-quick-panel>.dashboard-shortcut-heading::before,
 .dashboard-page .groc27-recipe-panel>.dashboard-shortcut-heading::before{left:8px!important;width:44px!important;height:44px!important;background-size:35px 35px!important}
 .dashboard-page .groc27-card-chevron{flex-basis:37px!important;min-width:37px!important;width:37px!important;max-width:37px!important;height:41px!important;min-height:41px!important;max-height:41px!important}
 .dashboard-page .groc27-tobuy-panel .groc21-heading-actions{flex-basis:37px!important;width:37px!important;min-width:37px!important}
 .dashboard-page .groc27-tobuy-panel .groc21-overflow-wrap,.dashboard-page .groc27-tobuy-panel .groc21-overflow-toggle{width:37px!important;min-width:37px!important;height:41px!important;min-height:41px!important}
 .dashboard-page .groc27-tobuy-panel .groc-to-buy-toggle{font-size:15px!important}
 .dashboard-page .groc27-quick-panel .quick-add-grid-v3{gap:7px!important}
 .dashboard-page .groc27-quick-panel .quick-add-card-v3{padding:6px!important}
 .dashboard-page .groc27-quick-panel .quick-add-stepper-v3{grid-template-columns:31px minmax(15px,1fr) 31px!important}
 .dashboard-page .groc27-quick-panel .quick-add-stepper-v3 button{min-width:28px!important}
}
@media(prefers-reduced-motion:reduce){.dashboard-page .groc27-card-chevron,.dashboard-page .groc27-quick-panel .quick-add-card-v3{transition:none!important;animation:none!important}}
