/* Theo Properties RC1.0.11.20.30.1 — Workspace Dashboard Shell Hotfix
   Makes the consolidated dashboards the canonical top-level workspace view.
   Presentation only: no auth, schema, role, workflow or data changes.
*/

/* OWNER — remove the legacy intro shell; the new command centre becomes the page heading. */
#owner.ws30-owner-enhanced .owner-workspace > .eyebrow,
#owner.ws30-owner-enhanced .owner-workspace > .owner-view-head{
  display:none!important;
}
#owner.ws30-owner-enhanced #ws30-owner-dashboard{
  margin-top:0;
}
#owner.ws30-owner-enhanced .commercial-tabs{
  margin-top:4px;
}

/* TENANT — remove the legacy greeting shell once the command centre is available. */
#tenant.ws30-tenant-enhanced > .eyebrow,
#tenant.ws30-tenant-enhanced > .view-head{
  display:none!important;
}
#tenant.ws30-tenant-enhanced #ws30-tenant-dashboard{
  margin-top:0;
}
/* The 20.30 dashboard already contains the rental journey; keep the useful pre-tenancy CTA only. */
#tenant.ws30-tenant-enhanced .tenant-empty-grid > .panel:not(.tenant-empty-primary){
  display:none!important;
}
#tenant.ws30-tenant-enhanced .tenant-empty-grid{
  grid-template-columns:1fr!important;
}

/* MANAGER — legacy header is replaced by the consolidated manager command centre. */
#management.ws30-manager-enhanced .manager-workspace:not(.mandate-scheduled-workspace) > .manager-head{
  display:none!important;
}
#management.ws30-manager-enhanced #ws30-manager-dashboard{
  margin:0 0 16px!important;
}
#management.ws30-manager-enhanced .manager-command-nav{
  margin-top:0;
}

/* Preserve manager portfolio selector inside the new dashboard heading. */
.ws301-manager-actions{
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
  margin-left:auto;
}
.ws301-manager-actions .manager-property-selector{
  min-width:230px;
  margin:0!important;
}
.ws301-manager-actions .manager-property-selector > span{
  display:block;
  margin-bottom:5px;
  color:#7b8b96;
  font-size:10px;
  font-weight:800;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.ws301-manager-actions .manager-property-selector select{
  min-height:38px;
  border-radius:10px;
}

@media(max-width:760px){
  .ws301-manager-actions{
    width:100%;
    justify-content:flex-start;
    margin-left:0;
  }
  .ws301-manager-actions .manager-property-selector{
    min-width:0;
    width:100%;
  }
}
