
/* Cool & Care V5.4.3.223
   Job Planner action visibility + compact toolbar repair.
   IMPORTANT: no DOM relocation. Existing anchors remain in their original containers.
*/
body.cc223-job-planner .cc223-action-group{
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:8px !important;
  width:100% !important;
  max-width:100% !important;
  min-height:0 !important;
  height:auto !important;
  padding:8px 0 12px !important;
  margin:0 !important;
  overflow:visible !important;
}

body.cc223-job-planner .cc223-action-wrap{
  display:block !important;
  flex:0 0 auto !important;
  width:auto !important;
  min-width:0 !important;
  max-width:none !important;
  min-height:0 !important;
  height:auto !important;
  padding:0 !important;
  margin:0 !important;
  overflow:visible !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}

body.cc223-job-planner a.cc223-action-link{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:auto !important;
  min-width:0 !important;
  max-width:none !important;
  min-height:36px !important;
  height:auto !important;
  padding:8px 12px !important;
  margin:0 !important;
  border-radius:9px !important;
  font-size:13px !important;
  line-height:1.15 !important;
  font-weight:700 !important;
  white-space:nowrap !important;
  flex:0 0 auto !important;
  box-sizing:border-box !important;
  opacity:1 !important;
  visibility:visible !important;
  overflow:visible !important;
}

body.cc223-job-planner a.cc223-action-link:hover{
  transform:translateY(-1px);
}

body.cc223-job-planner .cc223-action-group .cc222-planner-actions{
  display:contents !important;
}

/* If V5.4.3.222 left temporary classes in the live DOM/cache, neutralize them. */
body.cc223-job-planner .cc222-planner-actions{
  display:contents !important;
  width:auto !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
}

/* Keep the official/executive button visually secondary and the workflow actions consistent. */
body.cc223-job-planner a.cc223-action-link[href*="completion-submit"],
body.cc223-job-planner a.cc223-action-link[href*="completion-approvals"],
body.cc223-job-planner a.cc223-action-link[href*="completion-control"],
body.cc223-job-planner a.cc223-action-link[href*="material-request"],
body.cc223-job-planner a.cc223-action-link[href*="job-management"]{
  min-height:36px !important;
}

@media (max-width:1100px){
  body.cc223-job-planner .cc223-action-group{
    justify-content:flex-start !important;
  }
}

@media (max-width:760px){
  body.cc223-job-planner .cc223-action-group{
    gap:6px !important;
  }
  body.cc223-job-planner a.cc223-action-link{
    min-height:34px !important;
    padding:7px 10px !important;
    font-size:12px !important;
    white-space:normal !important;
    text-align:center !important;
  }
}
