/* Focused fixes for My MPPM history paging and workspace-search alignment. */

/* Hidden must win over the generic flex pager rule. */
.mppm-dashboard-v2-inline-pager[hidden]{display:none!important}

.mppm-dashboard-v2-inline-pager{
  padding:12px 20px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:14px;
  align-items:center;
  justify-content:stretch;
}
.mppm-account-history-size{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#5f758b;
  font-size:10px;
  font-weight:700;
}
.mppm-account-history-size select{
  min-width:64px;
  height:34px;
  padding:0 28px 0 10px;
  border:1px solid #cddae6;
  border-radius:8px;
  background:#fff;
  color:#17324f;
  font:inherit;
  font-weight:800;
}
.mppm-account-history-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
}
.mppm-account-history-nav .mppm-account-history-page{
  min-width:150px;
  color:#687f94;
  font-size:10px;
  text-align:center;
}

/* Align the workspace-search field with the copy block instead of floating high. */
.mppm-account-search-head{
  grid-template-columns:minmax(0,1fr) minmax(390px,.85fr);
  align-items:end;
}
.mppm-account-search-head>div:first-child{align-self:end}
.mppm-account-search-box{
  width:100%;
  box-sizing:border-box;
  align-self:end;
  margin:0;
}

@media(max-width:900px){
  .mppm-account-search-head{grid-template-columns:1fr;align-items:stretch}
  .mppm-account-search-box{max-width:none}
}
@media(max-width:700px){
  .mppm-dashboard-v2-inline-pager{grid-template-columns:1fr;padding:12px 16px}
  .mppm-account-history-size{justify-content:center}
  .mppm-account-history-nav{flex-wrap:wrap}
}
