/* Services supplies the canonical geometry for every application modal. */
.workspace-popup{--popup-border:#dbe0e9;--popup-text:#172152;--popup-muted:#53607b;box-sizing:border-box;width:min(920px,calc(100vw - 32px))!important;max-width:none!important;max-height:90dvh!important;margin:auto!important;padding:0!important;border:1px solid var(--popup-border)!important;border-radius:14px!important;background:#fff!important;color:var(--popup-text)!important;box-shadow:0 24px 70px #142d4a35!important;font-family:inherit;overflow:auto!important}
.workspace-popup::backdrop{background:#12233a66!important;backdrop-filter:none!important}
.workspace-popup>form{padding:0!important;margin:0!important;display:block!important;border:0!important;background:transparent!important}
.workspace-popup-frame{min-width:0;background:#fff;color:var(--popup-text)}
.workspace-popup-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 26px;border-bottom:1px solid var(--popup-border)}
.workspace-popup-heading>header,.workspace-popup-heading>[class*="-heading"],.workspace-popup-heading>.portal-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;padding:0!important;margin:0!important;border:0!important;background:transparent!important}
.workspace-popup-heading h2{font-size:22px!important;font-weight:600!important;letter-spacing:normal!important;line-height:1.3!important;margin:0!important;color:var(--popup-text)!important}
.workspace-popup-heading .eyebrow{margin:0 0 5px;font-size:10px;color:var(--popup-muted)}
.workspace-popup-description{padding:18px 26px 0;color:var(--popup-muted);font-size:13px;line-height:1.5}
.workspace-popup-description>p{margin:0}
.workspace-popup-description:empty,.workspace-popup-heading:empty,.workspace-popup-actions:empty{display:none}
.workspace-popup-body{padding:24px 26px;display:grid;gap:16px;min-width:0}
.workspace-popup-actions{padding:18px 26px;border-top:1px solid var(--popup-border);background:#fff}
.workspace-popup-actions>div,.workspace-popup-actions>footer{padding:0!important;margin:0!important;border:0!important;position:static!important;display:flex;justify-content:flex-end;align-items:center;gap:12px;flex-wrap:wrap}
.workspace-popup-actions>button:first-child,.workspace-popup-actions>div>button:first-child,.workspace-popup-actions>footer>button:first-child{margin-right:auto}
.workspace-popup .button-primary{background:#536584!important;color:white!important;box-shadow:none!important;border:1px solid #536584!important;border-radius:7px!important;padding:10px 16px!important;font:inherit!important;font-size:12px!important}
.workspace-popup .button-secondary,.workspace-popup .text-button,.workspace-popup .square-button{box-shadow:none!important;font-size:12px!important;color:#53607b!important}
.workspace-popup .button-secondary{border:1px solid var(--popup-border)!important;border-radius:7px!important;background:#fff!important;padding:10px 16px!important}
.workspace-popup-body label,.workspace-popup-body .field-label{font-size:12px!important;font-weight:500!important;color:#41546c!important;margin:0!important}
.workspace-popup-body input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.workspace-popup-body textarea,.workspace-popup-body select{box-sizing:border-box;width:100%;max-width:100%;min-height:40px;border:1px solid var(--popup-border)!important;border-radius:7px!important;padding:10px 11px!important;font:inherit;font-size:13px!important;line-height:1.5!important;background:#fff!important;color:var(--popup-text)!important;box-shadow:none}
.workspace-popup-body input:focus,.workspace-popup-body textarea:focus,.workspace-popup-body select:focus{outline:2px solid #cbd8eb!important;outline-offset:1px}
.workspace-popup-body textarea{min-height:100px;resize:vertical}
.workspace-popup-body input:disabled,.workspace-popup-body select:disabled{background:#f4f5f7!important;color:#8d96a2!important}
.workspace-popup #portal-form{padding:0!important}
.workspace-popup #portal-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px}
.workspace-popup-field,.workspace-popup .email-field{display:grid;gap:7px;min-width:0}.workspace-popup-field.is-wide{grid-column:1/-1}
.workspace-popup #portal-form-note{display:none}.workspace-popup .portal-dialog-footer{flex-wrap:nowrap!important}
.workspace-popup:has(.business-journey) .workspace-popup-body{padding:0;display:block}.workspace-popup-body .business-journey{min-height:400px}
.workspace-popup .email-editor{display:grid!important;gap:18px!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important}
.workspace-popup .email-actions{display:flex!important;gap:12px!important}.workspace-popup .email-actions #email-cancel-compose{order:-1;margin-right:auto}
.workspace-popup #email-body{min-height:180px}
.workspace-popup .account-danger-eyebrow,.workspace-popup .account-action-status{margin:0}
.workspace-popup .account-action-card{width:auto!important;max-width:none!important}
@media(max-width:650px){.workspace-popup-heading,.workspace-popup-actions{padding:18px 20px}.workspace-popup-body{padding:20px}.workspace-popup-description{padding:16px 20px 0}.workspace-popup #portal-fields{grid-template-columns:1fr}.workspace-popup-field.is-wide{grid-column:auto}.workspace-popup-body input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.workspace-popup-body textarea,.workspace-popup-body select{font-size:16px!important}}

dialog:not([open]){display:none!important}

#onboarding-gate{background:#12233a66!important;backdrop-filter:none!important}
#onboarding-shell.workspace-popup{min-height:0!important;display:block!important;background:#fff!important}
#onboarding-shell.workspace-popup .workspace-popup-heading:has(.onboarding-brand-row){padding:22px 26px}
#onboarding-shell.workspace-popup .onboarding-brand-row{padding:0!important;margin:0!important}
#onboarding-shell.workspace-popup .setup-main,#onboarding-shell.workspace-popup .setup-layout,#onboarding-shell.workspace-popup .onboarding-flow{padding:0!important;margin:0!important;border:0!important;background:transparent!important;max-width:none!important}
#onboarding-shell.workspace-popup .onboarding-stage{padding:0!important;background:#fff!important;border:0!important}
#onboarding-shell.workspace-popup .onboarding-stage-actions{margin-top:24px!important;padding:18px 0 0!important;border-top:1px solid #dbe0e9!important;background:#fff!important}
#onboarding-shell.workspace-popup .onboarding-next-button{background:#536584!important;border-color:#536584!important;color:#fff!important;box-shadow:none!important}
#onboarding-shell.workspace-popup .onboarding-steps{background:#fff!important}
.workspace-popup [hidden]{display:none!important}

.workspace-popup>form{width:100%!important;max-width:none!important;box-sizing:border-box!important}.workspace-popup-frame{width:100%;box-sizing:border-box}.workspace-popup-actions>div,.workspace-popup-actions>footer{width:100%;box-sizing:border-box}.workspace-popup .email-actions #email-send{margin-left:auto!important;margin-right:0!important}.workspace-popup .email-actions #email-cancel-compose{border:1px solid var(--popup-border)!important;border-radius:7px!important;background:#fff!important;padding:10px 16px!important;min-height:40px!important}.workspace-popup #email-body{min-height:140px!important}.workspace-popup .email-actions{margin-top:0!important;padding-top:0!important;border-top:0!important}
