/* Keep native controls inside the scrollable participant list. */
[data-task-create-form] .visibility-choices { padding: 6px; gap: 4px 12px; }
[data-task-create-form] .visibility-choices .visibility-choice { padding: 8px; min-height: 40px; cursor: pointer; border-radius: 4px; }
[data-task-create-form] .visibility-choice input[type="checkbox"] { position: static; transform: none; margin: 0; flex: 0 0 18px; }
[data-task-create-form] .visibility-choice:hover { background: #f0f6f3; }
[data-task-create-form] .visibility-choice:has(input:checked) { background: #e4f2eb; color: #155d48; }
[data-task-create-form] label[hidden], .task-template-choice[hidden] { display: none !important; }
.task-template-choice { min-width: 0; border-block: 1px solid var(--line); padding: 10px 0; }
.task-template-choice summary { cursor: pointer; color: var(--green, #176b52); font-size: 13px; font-weight: 700; }
.task-template-choice label { margin-top: 12px; }
[data-task-priority="high"] select { background: #fff8e8; border-color: #b38323; color: #79530a; }
[data-task-priority="critical"] select { background: #fff1f1; border-color: #bb5050; color: #973535; }
[data-task-create-form] label.task-repeat-active { border-left: 3px solid #377eba; padding-left: 10px; }
.agent-action-focused { outline: 2px solid #377eba; outline-offset: 3px; }
.agent-review-toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; align-items: center; }
.agent-review-toolbar button[aria-pressed="true"] { background: #e4f2eb; border-color: #699c86; }
.task-review-responsibility { color: #6a5322; font-size: 13px; line-height: 1.5; margin: 8px 0; }
