.workflow-prompt{color:#123749;background:#effaff;border:1px solid #b9e2ef;border-radius:16px;margin:16px 0;padding:18px}.workflow-prompt>label{font-size:16px;font-weight:700}.workflow-prompt textarea,.workflow-work textarea{width:100%;font:inherit;color:#103347;resize:vertical;background:#fff;border:1px solid #aecad5;border-radius:10px;margin:10px 0;padding:12px;font-size:16px;display:block}.workflow-prompt>div,.workflow-manual-run{justify-content:space-between;align-items:center;gap:16px;display:flex}.workflow-prompt span,.workflow-work p{font-size:14px;line-height:1.6}.workflow-prompt ul{color:#794c00;font-size:14px}.workflow-manual-run{background:#eef7fb;border-radius:12px;margin:12px 0;padding:14px}.workflow-manual-run label{flex:1;font-size:14px}.workflow-manual-run select{color:#123749;background:#fff;border:1px solid #b9d0dd;border-radius:8px;width:100%;margin-top:6px;padding:10px;display:block}.workflow-work{color:#123749;width:100%;font-size:16px}.workflow-work header{justify-content:space-between;align-items:center;gap:16px;display:flex}.workflow-work h3{margin:0;font-size:20px}.workflow-work h4{margin:12px 0;font-size:16px}.workflow-job{background:#fff;border:1px solid #cbdde6;border-radius:14px;margin:14px 0;padding:18px}.workflow-job>div{flex-wrap:wrap;justify-content:space-between;gap:8px;display:flex}.workflow-state{background:#e2f7f3;border-radius:20px;padding:3px 10px;font-size:14px}.workflow-job.overdue{border-left:4px solid #db9200}.workflow-job.overdue .workflow-state{color:#744900;background:#fff0cb}.workflow-job details{margin-top:12px;font-size:14px}.workflow-job summary{cursor:pointer}.workflow-job .button{margin:5px 6px 5px 0}.workflow-error{color:#a72727;background:#fff2f2;border-radius:8px;padding:12px}.workflow-notifications{z-index:605;pointer-events:none;position:fixed;top:12px;right:20px}.workflow-alert-button,.workflow-notification-panel{pointer-events:auto}.workflow-alert-button{color:#fff;background:#0b354b;border:2px solid #29c7e4;border-radius:24px;padding:10px 14px;font-size:14px;box-shadow:0 4px 16px #12374922}.workflow-alert-button b{color:#0b354b;background:#fff;border-radius:10px;padding:2px 7px}.workflow-notification-panel{background:#f4faff;border:1px solid #bcdbe7;border-radius:18px;width:min(560px,100vw - 32px);max-height:calc(100dvh - 140px);padding:24px;position:fixed;top:64px;right:16px;overflow:auto;box-shadow:0 16px 60px #08283e44}.workflow-close{float:right;background:#fff;border:1px solid #ccc;border-radius:8px;min-width:40px;min-height:40px;font-size:24px}.crm-automation-workspace .automation-main-header h2{font-size:26px}.crm-automation-workspace .automation-main-header{padding-bottom:12px}.automation-node-type{min-height:18px}@media (width<=700px){.workflow-prompt>div,.workflow-manual-run,.workflow-work header{flex-direction:column;align-items:stretch}.workflow-notifications{top:8px;right:8px}.workflow-notification-panel{padding:16px}.workflow-job,.workflow-prompt{padding:14px}.workflow-manual-run .button{white-space:normal}}.crm-automation-workspace :is(label,button,input,select,strong){font-size:14px;line-height:1.4}.crm-automation-workspace :is(small,time,.automation-eyebrow,.automation-node-type){font-size:12px;line-height:1.45}.crm-automation-workspace :is(p,.automation-no-runs,.automation-loading){font-size:14px;line-height:1.5}.crm-automation-workspace .automation-node{width:245px;min-height:142px;padding-top:38px}.crm-automation-workspace .automation-node small{-webkit-line-clamp:3;overflow-wrap:anywhere}.crm-automation-workspace .automation-flow-toolbar{grid-template-columns:1fr 1fr;align-items:stretch}.crm-automation-workspace .automation-flow-toolbar>label{grid-column:1/-1}.crm-automation-workspace .automation-builder-layout{grid-template-columns:210px minmax(0,1fr) 250px;gap:12px;min-height:0}.crm-automation-workspace .automation-panel-title small{white-space:normal}.crm-automation-workspace .automation-node-form :is(input,select){min-height:42px}.crm-automation-workspace .automation-run-history article{grid-template-columns:auto minmax(0,1fr)}.crm-automation-workspace .automation-run-history time{grid-column:2}.crm-automation-workspace .automation-run-history article small{white-space:normal}.crm-automation-workspace .automation-header-actions{flex-wrap:wrap}.crm-automation-workspace .automation-demo-status{grid-template-columns:auto minmax(0,1fr)}.crm-automation-workspace .automation-demo-status>b{grid-column:2;justify-self:start;font-size:12px}.workflow-notification-panel :is(button,input,select,textarea){min-height:40px;font-size:14px}@media (width<=1250px){.crm-automation-workspace .automation-builder-layout{grid-template-columns:180px minmax(0,1fr)}.crm-automation-workspace .automation-inspector{grid-column:1/-1}}@media (width<=760px){.crm-automation-workspace .automation-builder-layout{grid-template-columns:minmax(0,1fr)}.crm-automation-workspace .automation-inspector{grid-column:auto}.crm-automation-workspace .automation-flow-cards{max-height:180px}.crm-automation-workspace .automation-flow-toolbar{grid-template-columns:1fr}.crm-automation-workspace .automation-flow-toolbar>label{grid-column:auto}.crm-automation-workspace .automation-flow-track{padding:32px 16px}}.automation-categories{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:16px 0;display:grid}.automation-categories button{text-align:left;color:#183b50;cursor:pointer;background:#fff;border:1px solid #cbdde6;border-radius:12px;gap:5px;min-width:0;padding:13px;display:grid}.automation-categories button[aria-pressed=true]{background:#e7faff;border-color:#008daf;box-shadow:inset 0 0 0 1px #008daf}.automation-categories button>span{color:#0087a9;font-size:22px}.automation-categories small{color:#577181;min-height:35px}.automation-categories b{color:#007e9c;font-size:12px}.automation-category-detail{background:#f5fafc;border:1px solid #cbdde6;border-radius:12px;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px;padding:14px 16px;display:flex}.automation-category-detail p{color:#526c7e;max-width:800px;margin:4px 0 0}.automation-ai-details{border:1px solid #d5e3ea;border-radius:10px;margin-bottom:14px;padding:12px}.automation-ai-details>summary{cursor:pointer;color:#22516b;font-size:14px;font-weight:600}.automation-list-filter{gap:8px;padding:10px;display:grid}.automation-list-filter input,.automation-flow-toolbar select{color:#183b50;background:#fff;border:1px solid #bfd2dd;border-radius:8px;width:100%;min-width:0;padding:9px}.automation-list-filter button{color:#087c99;cursor:pointer;text-align:left;background:0 0;border:0}.automation-categories button:focus-visible{outline-offset:3px;outline:3px solid #009dc1}@media (width<=1200px){.automation-categories{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=600px){.automation-categories{grid-template-columns:repeat(2,minmax(0,1fr))}.automation-category-detail{flex-direction:column;align-items:stretch}}.crm-automation-workspace{scrollbar-gutter:stable;scrollbar-width:auto;scrollbar-color:#528da5 #e4edf2;overscroll-behavior:contain;max-width:100%;min-height:0;padding-bottom:28px;padding-right:10px;overflow:auto scroll}.crm-automation-workspace .automation-canvas{scrollbar-width:auto;scrollbar-color:#528da5 #e4edf2;overflow-x:scroll}.crm-automation-workspace::-webkit-scrollbar{width:14px;height:14px}.crm-automation-workspace .automation-canvas::-webkit-scrollbar{width:14px;height:14px}.crm-automation-workspace::-webkit-scrollbar-track{background:#e4edf2;border-radius:8px}.crm-automation-workspace .automation-canvas::-webkit-scrollbar-track{background:#e4edf2;border-radius:8px}.crm-automation-workspace::-webkit-scrollbar-thumb{background:#528da5;border:3px solid #e4edf2;border-radius:8px}.crm-automation-workspace .automation-canvas::-webkit-scrollbar-thumb{background:#528da5;border:3px solid #e4edf2;border-radius:8px}@media (width>=981px){.app-shell.crm-mode .crm-page:has(>.crm-automation-workspace){grid-template-rows:minmax(0,1fr)}.app-shell.crm-mode .crm-page>.crm-automation-workspace{grid-row:1;align-self:stretch;height:100%;min-height:0}}@media (width<=980px){.crm-automation-workspace{max-height:calc(100dvh - 120px);padding-bottom:80px}}.workflow-alert-button.task-count-alert{cursor:pointer;border-radius:999px;justify-content:center;align-items:center;gap:0;min-width:48px;height:48px;padding:0 10px;transition:background .2s;display:flex}.task-count-alert b{color:#fff;font-variant-numeric:tabular-nums;background:0 0;border-radius:0;justify-content:center;align-items:center;min-width:24px;padding:0;font-size:16px;display:flex}.task-count-alert .task-alert-label{opacity:0;white-space:nowrap;max-width:0;font-size:12px;font-weight:700;transition:max-width .3s,opacity .3s,margin .3s;overflow:hidden}.task-count-alert.is-expanded{background:#087e96;padding:0 14px}.task-count-alert.is-expanded .task-alert-label{opacity:1;max-width:170px;margin-right:10px}@media (prefers-reduced-motion:reduce){.task-count-alert .task-alert-label,.workflow-alert-button.task-count-alert{transition:none}}
