/* view-widgets.css - the Classic view page's widget strip (js/classic-view-widgets.js): the view's own
   widgets as a wrapping row of cards above the grid, drawn with the same card styles as a mosaic's band
   (mosaic-widgets.css). Each card is 160-420px wide. A view with no stored widgets has no strip, so
   nothing here touches it. Colors are the page's tokens only. */
.bc-wgstrip{display:flex;flex-wrap:wrap;align-items:flex-start;gap:12px;padding:12px 2px 14px;flex:0 0 auto;box-sizing:border-box;max-width:100%}
.bc-wgstrip[hidden]{display:none}
.bc-wgstrip > .bc-wg{flex:1 1 176px;min-width:160px;max-width:420px}
.bc-wgstrip > .bc-wg[data-form="donut"],.bc-wgstrip > .bc-wg[data-form="bars"]{flex-basis:240px}
/* the grid gives up the strip's height (classic-view-widgets.js sets --bc-strip-h on the grid wrap itself) so the footer stays on screen */
#app[data-bc-page="view"] > .bc-wgstrip ~ .bc-gridwrap{max-height:calc(100vh - 150px - var(--bc-strip-h,0px));min-height:160px}
@media screen and (max-width: 640px){
  .bc-wgstrip{gap:10px;padding:10px 0 12px}
  .bc-wgstrip > .bc-wg{flex:1 1 100%;max-width:none}
  #app[data-bc-page="view"] > .bc-wgstrip ~ .bc-gridwrap{max-height:none}
}
