.crm-choice-list:popover-open{display:grid;align-content:start}
.crm-choice-list{position:fixed;inset:auto;margin:0;padding:4px;box-sizing:border-box;overflow:auto;overscroll-behavior:contain;border:1px solid var(--line,#d6dce5);border-radius:8px;background:var(--panel,#fff);color:var(--ink,var(--text,#253049));box-shadow:0 5px 18px rgb(17 29 48 / 12%);font:inherit}
.crm-choice-list button{display:block;width:100%;height:auto;min-height:32px;padding:6px 10px;border:0;border-radius:5px;text-align:left;font:inherit;color:inherit;background:transparent}
.crm-choice-list button:is(:focus-visible,:hover){outline:0;background:var(--panel2,#eef1f6)}
.crm-choice-list button[aria-selected=true]{color:var(--accent,#4668b9);background:color-mix(in srgb,currentColor 10%,transparent)}
#editor:has(form[data-form=relation]),#editor:has(form[data-form=dealFunnel]){width:min(360px,calc(100vw - 24px))}
#editor.taskCommands{width:min(218px,calc(100vw - 16px))}
.dealResults{display:grid;gap:5px}.dealResults [data-deal-options]{display:grid;max-height:190px;padding:3px 0;overflow:auto}
.dealResults button{font:inherit;min-height:34px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:transparent;color:inherit;border:0;border-radius:5px;padding:5px 9px}
.dealResults button:is(:hover,:focus-visible){background:var(--panel2)}
.dealResults button[aria-pressed=true]{color:var(--accent);background:color-mix(in srgb,var(--accent) 12%,transparent)}
#pbCreateDialog .pb-create-steps button{font:inherit;font-size:12px;border:0;border-radius:6px;padding:5px 9px;background:transparent;color:var(--muted)}
#pbCreateDialog .pb-create-steps [aria-current=step]{color:var(--accent,#4567ba);background:color-mix(in srgb,currentColor 11%,transparent)}
#pbCreateForm .pb-person-picker summary{display:flex;align-items:center;justify-content:space-between;list-style:none}
#pbCreateForm .pb-person-picker summary::marker{content:''}
#pbCreateForm .pb-person-picker summary::-webkit-details-marker{display:none}
#pbCreateForm .pb-person-picker summary svg{width:16px;height:16px;flex:none}
#pbCreateForm .pb-person-menu .crm-person-results{display:grid;max-height:162px;overflow:auto}
#pbCreateForm .crm-person-results button{border:0;border-radius:5px;padding:7px 10px;text-align:left;font:inherit;background:transparent;color:inherit}
#pbCreateForm .crm-person-results button:is(:hover,:focus-visible,[aria-pressed=true]){background:var(--panel2,#eef1f6)}
@media(max-width:720px){.crm-choice-list button,.dealResults button,#pbCreateForm .crm-person-results button{min-height:44px}}

#pbCreateForm .pb-person-menu select[hidden]{display:none!important}

.crm-stage-choices button[role=option]{display:flex;align-items:center;gap:10px;min-height:40px;padding:10px 12px;font-size:12px;font-weight:500;line-height:1.5;color:var(--ink);overflow-wrap:anywhere}
.crm-stage-choices button::before{content:'';flex:0 0 8px;height:8px;border-radius:50%;background:var(--stage-color)}
.crm-stage-choices button[aria-selected=true]::after{content:'';margin-left:auto;width:6px;height:10px;flex:none;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg)}
.crm-stage-choices button:disabled{opacity:.65}
@media(max-width:720px){.crm-stage-choices button[role=option]{min-height:44px}}
