/* V176 — planner top action alignment + stacking only */
@media (min-width: 901px){
  body.planner-focus #plannerPage .clean-planner{
    position:relative!important;
    overflow:visible!important;
  }
  body.planner-focus #plannerPage .clean-planner-head{
    position:relative!important;
    z-index:2!important;
  }
  body.planner-focus #plannerPage .clean-subactions{
    position:relative!important;
    z-index:20!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:16px!important;
    width:100%!important;
    margin:8px 0 10px!important;
    overflow:visible!important;
  }
  body.planner-focus #plannerPage .clean-subactions-left{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:8px!important;
    min-width:0!important;
  }
  body.planner-focus #plannerPage .clean-actions-right{
    position:relative!important;
    z-index:30!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:10px!important;
    min-width:max-content!important;
    white-space:nowrap!important;
    overflow:visible!important;
  }
  body.planner-focus #plannerPage .clean-actions-right .clean-red-btn{
    position:relative!important;
    z-index:31!important;
    flex:0 0 auto!important;
    min-width:max-content!important;
    height:34px!important;
    padding:0 14px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    line-height:1!important;
  }
  body.planner-focus #plannerPage .clean-copy{
    position:relative!important;
    z-index:1!important;
    clear:both!important;
  }
  body.planner-focus #plannerPage,
  body.planner-focus .content,
  body.planner-focus .main-shell{
    overflow-x:visible!important;
  }
}
@media (max-width: 900px){
  #plannerPage .clean-subactions{
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    gap:8px!important;
  }
  #plannerPage .clean-actions-right,
  #plannerPage .clean-subactions-left{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:8px!important;
  }
  #plannerPage .clean-actions-right{margin-left:auto!important}
}
