.workflow-panel{margin:16px 0;padding:18px;border:1px solid #d9e5f2;border-radius:12px;background:#fff}
.workflow-actions{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin:10px 0}
.workflow-actions form{margin:0}.workflow-actions label{display:grid;gap:5px;color:#526881;font-size:12px}
html body .main .workflow-button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:8px 14px!important;border:1px solid #d0ddee!important;border-radius:8px;background:#fff!important;color:#284867!important;font-family:inherit;font-size:12px;font-weight:600;line-height:1.4;text-decoration:none;cursor:pointer;transform:none!important;box-shadow:none!important}
html body .main .workflow-primary{background:#1769e8!important;border-color:#1769e8!important;color:#fff!important}
.workflow-note{display:block;color:#657a92;font-size:12px;line-height:1.5;margin:10px 0}
.workflow-note input[type=checkbox]{width:auto;margin-right:6px}
.workflow-results{display:grid;gap:10px}.workflow-results>a{display:grid;gap:4px;border-bottom:1px solid #e4ecf6;padding:12px;color:#294969}
.workflow-results span{font-size:12px;color:#667d95}
html body .main .workflow-button:focus-visible{outline:3px solid #a8c8fa;outline-offset:2px}

/* Opportunity row actions: keep every permitted action inside the shared frame.
   Narrow screens scroll the table, never the page or a clipped action cell. */
html body .main .mc-opportunities-table-frame{min-width:0;max-width:100%;overflow-x:auto}
html body .main .mc-opportunities-table-frame .opportunities-table{min-width:1150px!important}
html body .main .opportunities-table th{width:auto!important}
html body .main .opportunities-table th:first-child,
html body .main .opportunities-table td:first-child{width:55px!important}
html body .main .opportunities-table th:nth-child(2){width:20%!important}
html body .main .opportunities-table th:nth-child(3){width:17%!important}
html body .main .opportunities-table th:last-child,
html body .main .opportunities-table td:last-child{width:330px!important;min-width:330px!important;padding-left:12px!important;padding-right:18px!important}
html body .main .opportunities-table td:last-child .actions{display:flex!important;width:100%!important;min-width:0!important;flex-wrap:wrap!important;justify-content:flex-end!important;align-items:center!important;gap:8px!important;margin:0!important}
html body .main .opportunities-table td:last-child .actions form{display:flex!important;flex:0 0 auto!important;margin:0!important}
html body .main .opportunities-table td:last-child .actions :is(.edit-button,.delete-button,.workflow-button){box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 92px!important;width:92px!important;min-width:92px!important;height:36px!important;min-height:36px!important;padding:0 8px!important;border-radius:8px!important;font-family:inherit!important;font-size:12px!important;font-weight:600!important;line-height:1.4!important;white-space:nowrap!important;text-decoration:none!important;transform:none!important}
