/* Groc 2.9.4 — Option A compact dashboard To-Buy. Scoped: no changes to library/shop. */
.dashboard-page .groc27-tobuy-panel .dashboard-list-card {overflow:visible!important;background:transparent!important;padding:3px 0!important;border:0!important;box-shadow:none!important}
.dashboard-page .groc27-tobuy-panel .dashboard-list-item.groc294-item {display:grid!important;grid-template-columns:44px minmax(0,1fr) 116px 32px!important;align-items:center!important;gap:7px!important;padding:9px 5px!important;min-height:70px!important;position:relative;overflow:visible!important;touch-action:pan-y;box-sizing:border-box;border-radius:13px!important;margin:1px 0!important}
:root:not([data-theme="dark"]) .dashboard-page .groc27-tobuy-panel .groc294-item {background:linear-gradient(112deg,rgba(255,255,255,.52),rgba(241,249,254,.34) 73%,rgba(247,239,255,.32))!important;border-bottom:1px solid rgba(211,228,239,.72)!important}
.dashboard-page .groc27-tobuy-panel .groc294-thumb {width:44px;height:48px;min-width:0;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:12px;background:linear-gradient(140deg,rgba(255,255,255,.98),rgba(233,248,252,.9));box-shadow:0 3px 9px rgba(68,123,150,.1),inset 0 1px rgba(255,255,255,.93);border:1px solid rgba(218,236,241,.85)}
.dashboard-page .groc27-tobuy-panel .groc294-thumb img{width:100%;height:100%;object-fit:contain;display:block;padding:2px;box-sizing:border-box}
.dashboard-page .groc27-tobuy-panel .groc294-item-info{min-width:0;max-width:100%;overflow:hidden!important;display:flex!important;flex-direction:column;gap:3px!important}
.dashboard-page .groc27-tobuy-panel .groc294-item-title{border:0;background:transparent;padding:0!important;text-align:left;color:inherit;font:inherit;font-size:14px!important;font-weight:750!important;line-height:1.3!important;letter-spacing:-.017em;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden!important;text-overflow:ellipsis;overflow-wrap:anywhere;min-width:0;width:100%;cursor:pointer}
.dashboard-page .groc27-tobuy-panel .groc294-item-title:focus-visible{outline:2px solid #69b2bd;outline-offset:2px;border-radius:3px}
.dashboard-page .groc27-tobuy-panel .groc294-item .dashboard-list-item-subline{display:flex!important;gap:5px!important;margin:2px 0 0!important;flex-wrap:wrap!important;align-items:center!important;line-height:1.15!important}
.dashboard-page .groc27-tobuy-panel .groc294-item .dashboard-list-item-subline>span:first-child{font-size:11px!important;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;max-width:100px}
.dashboard-page .groc27-tobuy-panel .groc294-item .groc21-store-label{min-height:18px!important;padding:1px 5px!important;font-size:10px!important;max-width:86px!important}
.dashboard-page .groc27-tobuy-panel .groc294-item .dashboard-quantity-control{margin:0!important;width:116px!important;min-width:0!important;height:38px!important;grid-template-columns:34px minmax(0,1fr) 34px!important;gap:2px!important;box-sizing:border-box;padding:2px!important}
.dashboard-page .groc27-tobuy-panel .groc294-item .dashboard-quantity-control button{width:34px!important;min-width:34px!important;height:33px!important;min-height:33px!important;padding:0!important}
.dashboard-page .groc27-tobuy-panel .groc294-item .dashboard-quantity-control strong{font-size:15px!important;text-align:center}
.dashboard-page .groc27-tobuy-panel .groc294-item .g14-delete-item.groc294-remove{margin:0!important;width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;display:grid!important;place-items:center!important;padding:0!important;font-size:19px!important;border-radius:50%!important}
.dashboard-page .groc27-tobuy-panel .groc294-details{grid-column:1/-1;padding:9px 12px;margin:0 0 3px;background:rgba(255,255,255,.65);border:1px solid rgba(212,231,239,.8);border-radius:12px;display:flex;flex-direction:column;align-items:flex-start;gap:5px;font-size:12px;color:#4d7182;overflow-wrap:anywhere}
.dashboard-page .groc27-tobuy-panel .groc294-details strong{color:#29485b;font-size:13px}
.dashboard-page .groc27-tobuy-panel .groc294-details button{border:1px solid #cee8f1;border-radius:9px;background:#f4fcff;color:#315f75;padding:6px 9px;font-size:12px;font-weight:650}
.dashboard-page .groc27-tobuy-panel .groc294-undo-toast{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 12px;background:rgba(36,74,87,.95);color:#fff;border-radius:12px;margin:8px 3px 3px;box-shadow:0 7px 16px rgba(44,77,93,.18);font-size:12px}
.dashboard-page .groc27-tobuy-panel .groc294-undo-toast span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.dashboard-page .groc27-tobuy-panel .groc294-undo-toast button{border:1px solid rgba(255,255,255,.5);background:rgba(255,255,255,.14);color:#fff;border-radius:8px;padding:7px 11px;font-weight:770;font-size:13px;flex-shrink:0}
:root[data-theme="dark"] .dashboard-page .groc27-tobuy-panel .groc294-thumb{background:rgba(46,66,73,.9);border-color:rgba(101,141,149,.5)}
:root[data-theme="dark"] .dashboard-page .groc27-tobuy-panel .groc294-details{background:rgba(40,62,68,.93);color:#c3dfe6}
:root[data-theme="dark"] .dashboard-page .groc27-tobuy-panel .groc294-details strong{color:#e0f3f7}
@media(max-width:390px){.dashboard-page .groc27-tobuy-panel .dashboard-list-item.groc294-item{grid-template-columns:38px minmax(0,1fr) 103px 28px!important;gap:5px!important;padding:8px 3px!important;min-height:66px!important}.dashboard-page .groc27-tobuy-panel .groc294-thumb{width:38px;height:42px}.dashboard-page .groc27-tobuy-panel .groc294-item .dashboard-quantity-control{width:103px!important;grid-template-columns:31px minmax(0,1fr) 31px!important;height:36px!important}.dashboard-page .groc27-tobuy-panel .groc294-item .dashboard-quantity-control button{min-width:31px!important;width:31px!important;height:31px!important;min-height:31px!important}.dashboard-page .groc27-tobuy-panel .groc294-item .g14-delete-item.groc294-remove{width:28px!important;min-width:28px!important;height:30px!important;min-height:30px!important}.dashboard-page .groc27-tobuy-panel .groc294-item-title{font-size:13.5px!important}}
@media(prefers-reduced-motion:reduce){.dashboard-page .groc27-tobuy-panel .groc294-item *{transition:none!important;animation:none!important}}
