/* MOO_SITES_COMPACT_V108: Sites only. Align native primary + sidebar, no phantom rows. */
body.moo-search-page.moo-ux-sites #mooSerpLayoutV102{
  align-items:start!important;
  align-content:start!important;
  grid-template-rows:auto!important;
  row-gap:18px!important;
}
body.moo-search-page.moo-ux-sites #mooSerpLayoutV102 > #mooSerpPrimaryV102{
  grid-column:1!important;grid-row:1!important;
  align-self:start!important;justify-self:stretch!important;
  position:relative!important;top:auto!important;
  transform:none!important;margin-top:0!important;padding-top:0!important;
  min-height:0!important;
}
body.moo-search-page.moo-ux-sites #mooSerpLayoutV102 > #mooSerpSidebarV102{
  grid-column:2!important;grid-row:1!important;
  align-self:start!important;margin-top:0!important;
  min-height:0!important;
}
body.moo-search-page.moo-ux-sites #searchResults,
body.moo-search-page.moo-ux-sites #searchResults>.moo-main-wrap{
  margin-top:0!important;padding-top:0!important;
  min-height:0!important;top:auto!important;transform:none!important;
}
body.moo-search-page.moo-ux-sites #searchResults .moo-site-results{
  margin-top:0!important;padding-top:0!important;
}
body.moo-search-page.moo-ux-sites #searchResults .moo-site-card{
  min-height:0!important;
}
/* New non-intrusive overview: occupies only its actual content height. */
body.moo-search-page.moo-ux-sites #mooSitesOverviewV108{
  display:block!important;visibility:visible!important;
  position:static!important;top:auto!important;transform:none!important;
  max-width:100%;min-height:0!important;height:auto!important;
  margin:0 0 18px!important;padding:17px 19px!important;
  border:1px solid #e1e8f2;border-radius:12px;
  background:#fff;color:#202124;box-sizing:border-box;
  box-shadow:0 1px 3px rgba(30,45,70,.04);
  font:14px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif;
}
#mooSitesOverviewV108 .moo-v108-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 9px}
#mooSitesOverviewV108 .moo-v108-title{font-size:17px;font-weight:700;letter-spacing:-.2px}
#mooSitesOverviewV108 .moo-v108-model{font-size:11px;color:#687384;margin-top:4px}
#mooSitesOverviewV108 .moo-v108-state{font-size:12px;color:#5c6677;margin:0 0 7px}
#mooSitesOverviewV108 .moo-v108-answer{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.65;margin:0}
#mooSitesOverviewV108 .moo-v108-sources{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}
#mooSitesOverviewV108 .moo-v108-sources a{font-size:11px;text-decoration:none;border-radius:6px;padding:2px 7px;background:#f2f6fd;color:#174ca3}
#mooSitesOverviewV108 .moo-v108-retry{font:inherit;font-size:12px;cursor:pointer;border:1px solid #ccd5e4;border-radius:7px;padding:4px 10px;background:white;color:#174ca3}
#mooSitesOverviewV108 .moo-v108-retry[hidden]{display:none!important}
/* Prefer working remote favicons, but keep letter placeholders until image actually loads. */
body.moo-search-page.moo-ux-sites .moo-site-urlBlock img.moo-v108-favicon{
 display:block!important;flex:0 0 25px!important;width:25px!important;height:25px!important;
 object-fit:contain!important;padding:3px!important;box-sizing:border-box!important;
 border-radius:7px;background:#fff;
}
body.moo-search-page.moo-ux-sites .moo-site-urlBlock img.moo-v108-favicon[hidden]{display:none!important}
@media(max-width:1199px){
 body.moo-search-page.moo-ux-sites #mooSerpLayoutV102{grid-template-columns:minmax(0,1fr)!important}
 body.moo-search-page.moo-ux-sites #mooSerpLayoutV102 > #mooSerpPrimaryV102{grid-column:1!important;grid-row:1!important}
 body.moo-search-page.moo-ux-sites #mooSerpLayoutV102 > #mooSerpSidebarV102{grid-column:1!important;grid-row:2!important}
}
@media(prefers-color-scheme:dark){
 body.moo-search-page.moo-ux-sites #mooSitesOverviewV108{background:#171c26;color:#f0f3fb;border-color:#364050}
 #mooSitesOverviewV108 .moo-v108-state,#mooSitesOverviewV108 .moo-v108-model{color:#a8b5c8}
 #mooSitesOverviewV108 .moo-v108-sources a{background:#263b58;color:#bbd4ff}
}
