
/* Training/events list only: use short grid rows instead of vertical flex-basis. */
@media screen and (max-width:650px){
 :is(.gw-route-content,#root) .sg-event-compact-page .sg-event-first-layout{gap:7px}
 :is(.gw-route-content,#root) .sg-event-compact-page .sg-event-first-layout>.sg-event-search-panel{padding:6px 8px;margin:0;border-radius:8px}
 :is(.gw-route-content,#root) .sg-event-compact-page .sg-event-search-panel>.sg-event-compact-search{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) max-content;
  grid-template-rows:none;grid-auto-rows:auto;align-items:end;gap:6px!important;
  height:auto;min-height:0;margin:0;padding:0;
 }
 :is(.gw-route-content,#root) .sg-event-compact-page .sg-event-compact-search>label{
  flex:none;min-width:0;width:100%;margin:0;justify-self:stretch;
 }
 .sg-event-compact-page .sg-event-compact-search>[data-education-create]{grid-column:1;width:100%;margin:0!important}
 .sg-event-compact-page .sg-event-compact-search>label:has(>input[type=month]){grid-column:2/-1}
 .sg-event-compact-page .sg-event-compact-search>label.training-search{grid-column:1/3}
 .sg-event-compact-page .sg-event-compact-search>button:not([data-education-create]){grid-column:3}
 :is(.gw-route-content,#root) .sg-event-compact-page .sg-event-compact-search>:is(label>input,button){min-height:40px}
 .sg-event-compact-page .sg-event-compact-search>details{min-width:0;margin:0!important;justify-self:stretch;align-self:start}
 .sg-event-compact-page .sg-event-compact-search>details.sg-event-more:not([open]){grid-column:1}
 .sg-event-compact-page .sg-event-compact-search>details.sg-event-usage:not([open]){grid-column:2/-1}
 .sg-event-compact-page .sg-event-compact-search>details[open]{grid-column:1/-1}
 .sg-event-compact-page .sg-event-compact-search>details>summary{line-height:1.35;min-height:36px;align-content:center;padding:3px 5px;box-sizing:border-box}
}


/* Desktop Growth index: common panel treatment, no grid/print/detail changes. */
@media screen and (min-width:761px){
 :is(.gw-route-content,#root) :is(
   .sg-event-compact-page .sg-event-first-layout>.sg-event-search-panel,
   .sg-project-page-v1 .sg-project-result-panel>.sg-project-inline-query,
   .sg-promo-screen .sg-promo-workspace>.sg-promo-index,
   .sg-event-compact-page .sg-event-results>.sg-event-result-list,
   .sg-project-page-v1 .sg-project-result-panel>.sg-project-list-area,
   .sg-promo-screen .sg-promo-first-screen-right>.sg-promo-results-panel
 ){
  box-sizing:border-box;background:#fff!important;border:1px solid #dce5ed!important;
  border-radius:9px!important;box-shadow:none!important;padding:10px!important;
 }
 :is(.gw-route-content,#root) :is(
   .sg-event-compact-page .sg-event-result-list,
   .sg-project-page-v1 .sg-project-list-topline,
   .sg-promo-screen .sg-promo-results-panel
 )>.sg-growth-list-title{
   color:#24384b!important;font-size:15px!important;line-height:1.35!important;
   font-weight:700!important;gap:7px!important;margin:0 0 5px!important;
 }
 :is(.gw-route-content,#root) :is(
   .sg-event-compact-page .sg-event-result-list,
   .sg-project-page-v1 .sg-project-list-topline,
   .sg-promo-screen .sg-promo-results-panel
 )>.sg-growth-list-title>small{
   color:#52677b!important;font-size:12px!important;font-weight:500!important;
 }
}

