.workbench-module .panel-head{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px}.workbench-required{border:2px solid #d20b0b40}.workbench-categories{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}.workbench-categories button{padding:8px 12px}.workbench-search{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:14px}.workbench-search input{flex:1;min-width:200px}.workbench-controls{display:flex;gap:6px}.workbench-pagination{display:flex;justify-content:flex-end;align-items:center;gap:10px;padding:14px;flex-wrap:wrap}#workbench-pending-body td:nth-child(3){max-width:360px;white-space:normal;overflow-wrap:anywhere}.workbench-layout-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.workbench-layout-grid fieldset{border:1px solid var(--line);border-radius:10px;margin-bottom:12px;padding:12px}.workbench-order-row{display:flex;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid var(--line)}.workbench-order-row strong{flex:1}.workbench-order-row button{padding:5px 10px}.workbench-layout-grid>section{align-self:start}.workbench-layout-grid .permission-option{display:flex;gap:8px;align-items:center;padding:5px}.workbench-layout-grid input[type=checkbox]{width:auto}
@media(max-width:800px){.workbench-layout-grid{grid-template-columns:1fr}.workbench-layout-grid>section{position:static}.workbench-controls{flex-wrap:wrap}.workbench-search input{width:100%;min-width:0;flex-basis:100%}.workbench-pagination{justify-content:flex-start}.workbench-categories button{flex:1 1 120px}}

.workbench-choice-row{display:flex;align-items:center;gap:8px}.workbench-choice-row label{flex:1;margin:0}.workbench-choice-row button{padding:5px 10px}.workbench-layout-actions{position:sticky;bottom:-24px;background:var(--surface,#fff);padding:12px 0;border-top:1px solid var(--line);display:flex;gap:8px;z-index:1}.workbench-order-row{flex-wrap:wrap}.workbench-order-row strong{min-width:90px}
.workbench-pending-toggle{display:none}
@media screen and (max-width:800px){.workbench-required:not(.workbench-pending-expanded)>.panel-body{display:none}.workbench-required .workbench-pending-toggle{display:inline-flex;min-height:44px}.workbench-required .panel-head h2{min-width:0;max-width:100%;white-space:normal}}
.workbench-categories button.workbench-has-tasks{border-color:#d20b0b;box-shadow:inset 0 0 0 1px #d20b0b}.workbench-count-alert{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;background:#d20b0b;color:#fff;font-weight:700;line-height:1}.workbench-categories button.primary .workbench-count-alert{background:#fff;color:#d20b0b}
