/* Center confirmations and preserve existing semantic button colors. */
html body dialog.hub-confirm-dialog{inset:0!important;max-height:calc(100dvh - 32px)!important;margin:auto!important;height:fit-content!important}
html body dialog.hub-confirm-panel{display:block!important}
html body dialog.hub-confirm-panel> :is(.service-confirmation,.product-confirm,.address-delete-confirmation,.hub-delete-confirmation,#products-delete-confirm,#spendings-confirm,.biz-request-actions){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important}
html body dialog.hub-confirm-panel>div>:not(button){grid-column:1/-1!important;min-width:0;max-width:100%;text-align:center}
html body dialog.hub-confirm-panel :is(p,label,select,textarea){font-size:17px;line-height:1.4}
html body dialog.hub-confirm-dialog :is(.hub-confirm-actions, .hub-visible-choices){gap:8px!important}
html body dialog.hub-confirm-dialog button,html body dialog.customer-job-dialog :is(.customer-job-actions,.job-final-actions)>button{box-sizing:border-box!important;min-height:52px!important;padding:10px 8px!important;border-width:2px!important;border-style:solid!important;border-radius:10px!important;text-align:center!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important}
html body dialog.hub-confirm-dialog button{width:100%!important;min-width:0!important;margin:0!important;align-self:stretch!important;height:auto!important;border-color:#9ca9b8}
@layer hub-button-typography{
 html body main #ca-list.property-detail dialog.hub-confirm-dialog button,html body main #pm-dashboard.pm-property-detail dialog.hub-confirm-dialog button,html body dialog.hub-confirm-dialog button:not([data-hub-nav]):not(.hub-detail-close):not(.job-fullscreen-back):not(.missing-field-icon),html body dialog.customer-job-dialog :is(.customer-job-actions,.job-final-actions)>button:not([data-hub-nav]):not(.hub-detail-close):not(.job-fullscreen-back):not(.missing-field-icon){font-size:16px!important;font-weight:700!important;line-height:1.3!important}
}

html body dialog.hub-confirm-dialog>div:has(>button){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
html body dialog.hub-confirm-dialog>div:has(>button)>:not(button){grid-column:1/-1;min-width:0}
html body dialog.hub-confirm-dialog>div>button:only-of-type{grid-column:1/-1}

html body dialog.job-leave-prompt.hub-confirm-dialog {
 box-sizing:border-box;width:min(24rem,calc(100% - 32px));padding:18px!important;
 border:1px solid #dce2eb!important;border-radius:14px;background:white;text-align:center;color:#172d71;
}
html body dialog.job-leave-prompt h2 {margin:0;font-size:1.25rem;line-height:1.25}
html body dialog.job-leave-prompt p {margin:6px 0 14px;font-size:1rem;font-weight:400;line-height:1.4}
html body dialog.job-leave-prompt .hub-confirm-actions {margin:0;grid-auto-rows:1fr}
html body dialog.job-leave-prompt.hub-confirm-dialog button[data-leave-choice] {
 min-height:44px!important;padding:6px 8px!important;border-width:1px!important;border-radius:8px!important;
}
html body dialog.job-leave-prompt [data-leave-choice="save"] {grid-column:1/-1}
@layer hub-action-colors {
 html body dialog.job-leave-prompt button[data-leave-choice] {
  background:#fff!important;color:#172d71!important;-webkit-text-fill-color:currentColor!important;border-color:#b9c2d0!important;
 }
 html body dialog.job-leave-prompt button[data-leave-choice="discard"] {color:#ad2636!important}
 html body dialog.job-leave-prompt button[data-leave-choice="save"] {background:#1b347c!important;border-color:#1b347c!important;color:#fff!important}
}
