/* Property information first, then a compact action area; history remains last. */
html body main #ca-list.property-detail .records:is([data-address-id],[data-connection-id])>button:is(.button,.property-connect-tenant,.property-disconnect-action,.property-move-out,.property-documents-action,.property-product-action){order:60;grid-column:auto;justify-self:stretch;width:100%;max-width:none;margin:0;min-height:52px;align-self:stretch;height:100%}
html body main #ca-list.property-detail .records:is([data-address-id],[data-connection-id])>.property-edit-action{order:80;grid-column:1}
html body main #ca-list.property-detail .records:is([data-address-id],[data-connection-id])>.property-delete-action{order:80;grid-column:2}
html body main #ca-list.property-detail .records:is([data-address-id],[data-connection-id])>.property-tenant-disconnect{order:80;grid-column:1/-1}
html body main #ca-list.property-detail .records:is([data-address-id],[data-connection-id])>.property-job-categories{order:100;grid-column:1/-1}
/* Terminal action groups follow their content in DOM and visual order. */
html body :is(.job-final-actions,.customer-job-actions,.company-job-actions,.job-note-actions,.hub-button-row,.product-actions,.hub-confirm-actions,.hub-password-actions,.nc-review-actions,.new-service-actions,.appointment-actions,.appointment-offer-actions){order:100;margin-top:12px}
html body :is(.service-confirmation,.product-confirm,.address-delete-confirmation,.hub-delete-confirmation,#products-delete-confirm,#spendings-confirm)>button{order:100}
html body [hidden]{display:none!important}

html body main #ca-list.property-detail .records:is([data-address-id],[data-connection-id])>button:nth-last-child(1 of button:not(.property-edit-action,.property-delete-action,.property-tenant-disconnect,.property-connect-tenant,.property-disconnect-action,.property-tenant-products,.property-landlord-action,[hidden])):nth-child(odd of button:not(.property-edit-action,.property-delete-action,.property-tenant-disconnect,.property-connect-tenant,.property-disconnect-action,.property-tenant-products,.property-landlord-action,[hidden])){grid-column:1/-1}

html body main #ca-list.property-detail .records:is([data-address-id],[data-connection-id])>button:is(.property-connect-tenant,.property-tenant-products){order:50;grid-column:1}
html body main #ca-list.property-detail .records:is([data-address-id],[data-connection-id])>button:is(.property-disconnect-action,.property-landlord-action){order:50;grid-column:2}
html body main #ca-list.property-detail .records:is([data-address-id],[data-connection-id]):not(:has(>.property-disconnect-action))>.property-connect-tenant{grid-column:1/-1}
