/* Keep late-mounted dashboard widgets in their own grid cells. */
body .main{min-width:0}
body .main > .head{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:start!important;
  gap:16px!important;
  margin:0 0 18px!important;
  padding:4px 0 0!important;
  min-width:0;
}
body .main > .head > div:first-child{
  grid-column:1;grid-row:1;
  min-width:0!important;min-height:0!important;
  width:auto!important;max-width:100%;
  padding:0!important;align-self:center!important;
}
body .main > .head > div:first-child h1{line-height:1.35!important;overflow-wrap:normal;word-break:normal}
body .main > .head > div:first-child .muted{margin-top:4px;line-height:1.6}
body .main > .head .headerquicknav{
  grid-column:2;grid-row:1;justify-self:end;align-self:center;
  position:static!important;inset:auto!important;
  width:max-content!important;max-width:100%!important;
  height:auto!important;min-height:43px!important;
  flex-wrap:wrap;overflow:visible!important;
}
body .main > .head #dashboardWisdom{
  grid-column:1;grid-row:2;align-self:stretch;
  width:100%!important;min-width:0!important;max-width:none!important;
  margin:0!important;min-height:180px;
}
body .main > .head #salesIntel{
  grid-column:1/-1;grid-row:2;align-self:stretch;
  display:flex!important;flex-direction:column;gap:12px!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  min-height:0!important;margin:0!important;padding:16px!important;
}
body .main > .head:has(#dashboardWisdom) #salesIntel{grid-column:2;min-height:180px!important}
body #salesIntel .intelbrand{
  display:flex!important;flex-direction:row;justify-content:flex-start;
  gap:9px;grid-row:auto;border:0;padding:0!important;text-align:right;
}
body #salesIntel .intelbrand b{color:#073e72;font-size:14px}
body #salesIntel .intelbrand small{color:#537187;font-size:12px;max-width:none}
body #salesIntel .intelviewport{
  display:grid;grid-template-columns:minmax(0,1fr) auto;
  gap:8px 12px;flex:1;width:100%;min-width:0;
}
body #salesIntel .intelkind{grid-column:1;grid-row:1;justify-self:start;font-size:12px;white-space:normal}
body #salesIntel .inteltitle{
  grid-column:1/-1;grid-row:2;white-space:normal;
  overflow:visible;text-overflow:clip;overflow-wrap:anywhere;
  font-size:14px!important;line-height:1.7!important;text-align:right;
}
body #salesIntel .intelsource{grid-column:2;grid-row:1;min-width:0;font-size:12px;white-space:normal}
body #salesIntel .intelsource b,body #salesIntel .intelsource small{font-size:12px}
body #salesIntel .intelfoot{display:flex;width:100%;margin:0;justify-content:flex-end}
body #salesIntel .intelactions{gap:6px}
body #salesIntel .intelactions button{width:34px;height:34px;font-size:18px}
body #salesIntel .intelcount{font-size:12px}
body #salesIntel:before,body #salesIntel:after{display:none}
@media(max-width:1150px){
  body .main > .head > div:first-child{grid-column:1/-1}
  body .main > .head .headerquicknav{grid-column:1/-1;grid-row:2;justify-self:start}
  body .main > .head #dashboardWisdom,body .main > .head #salesIntel{grid-row:3}
}
@media(max-width:900px){
  body .main > .head{grid-template-columns:minmax(0,1fr)!important}
  body .main > .head #dashboardWisdom{grid-column:1;grid-row:3;min-height:0}
  body .main > .head #salesIntel,body .main > .head:has(#dashboardWisdom) #salesIntel{grid-column:1;grid-row:3;min-height:0!important}
  body .main > .head:has(#dashboardWisdom) #salesIntel{grid-row:4}
}
@media(max-width:650px){
  body .main > .head{gap:12px!important}
  body .main > .head h1{font-size:26px!important}
  body .main > .head .headerquicknav{width:100%!important;gap:4px!important}
  body .main > .head .headerquicknav button{font-size:12px!important;padding:7px 9px!important;height:auto!important;min-height:36px!important}
  body .main > .head .headerquicknav button i{font-size:14px!important}
  body .main > .head #dashboardWisdom{padding:16px}
  body #dashboardWisdom blockquote{font-size:16px}
  body #salesIntel .intelsource{display:none}
  body #salesIntel .intelviewport{grid-template-columns:minmax(0,1fr)}
  body #salesIntel .inteltitle{grid-column:1}
}
