/* Task controls share the same outer height, including the segmented filter. */
.tasks-view .tabs[aria-label="Статус задач"] { padding: 2px; min-height: 38px; box-sizing: border-box; }
.tasks-view .tabs[aria-label="Статус задач"] .tab { min-height: 32px; padding-top: 5px; padding-bottom: 5px; box-sizing: border-box; }
.tasks-view .task-search, .tasks-view .task-owner .task-select-trigger { height: 38px; min-height: 38px; box-sizing: border-box; }
.tasks-view .task-owner .task-select-trigger { padding-top: 7px; padding-bottom: 7px; }
.tasks-view .task-board { overflow: visible; }
.task-actions { position: relative; justify-self: end; }
.task-actions > summary { list-style: none; }
.task-actions > summary::-webkit-details-marker { display: none; }
.task-actions[open] > summary { background: #e8efff; color: #244ed1; }
.tasks-view .task-table-row > .task-actions[open] { z-index: 10; }
.task-actions-menu { position: absolute; z-index: 30; right: 0; top: calc(100% + 4px); width: 210px; padding: 5px; background: #fff; border: 1px solid #cbd9ef; border-radius: 8px; box-shadow: 0 8px 24px #1726421f; }
.task-table-row:nth-last-child(-n+2) .task-actions-menu { top: auto; bottom: calc(100% + 4px); }
.task-menu-item { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 38px; padding: 8px 10px; border: 0; border-radius: 5px; background: transparent; color: #254064; font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.task-menu-item:hover, .task-menu-item:focus-visible { background: #edf3ff; }
.task-menu-item .icon { width: 17px; height: 17px; }
.task-menu-item.is-danger { color: #b42336; }
.task-menu-item.is-danger:hover { background: #fff0f1; }
.task-delete-copy { margin: 0; line-height: 1.6; }
.btn.primary.task-delete-confirm { background: #b42336; border-color: #b42336; }
.btn.primary.task-delete-confirm:hover { background: #961d2d; }
.task-select .task-select-options.is-searchable { overflow: hidden; }
.task-select-list { max-height: 258px; overflow-y: auto; overscroll-behavior: contain; }
.task-select-search { display: block; width: calc(100% - 4px); min-height: 38px; margin: 2px 2px 8px; padding: 8px 10px; border: 1px solid #cbd9ef; border-radius: 6px; background: #fff; color: #254064; font: inherit; font-size: 13px; box-sizing: border-box; }
.task-select-search:focus-visible { outline: 2px solid #c8d9f4; outline-offset: 0; }
.task-select-empty { padding: 15px 10px; font-size: 13px; color: #78859b; }
.task-select-option[hidden], .task-select-empty[hidden] { display: none; }
.tasks-view .task-completed-period { flex: 0 0 166px; min-width: 0; }
.tasks-view .task-list-tools:has(.task-completed-period) { flex-wrap: wrap; }
.tasks-view .task-completed-period .task-select-trigger { height: 38px; min-height: 38px; padding-block: 7px; border-radius: 6px; }
.task-completion-caption { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: -2px 0 12px; color: #78859b; font-size: 12px; }
.task-completed-range { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; }
.task-completed-range label { display: grid; gap: 4px; color: #61728b; font-size: 12px; }
.task-completed-range input { min-height: 38px; padding: 7px 10px; border: 1px solid #cbd9ef; border-radius: 6px; font: inherit; background: #fff; }
.task-completed-range .form-error { margin: 0; }
.task-original-due { color: #78859b; font-size: 11px; font-weight: 400; }
@media (max-width: 760px) { .tasks-view .task-actions { grid-column: 3; grid-row: 1; align-self: start; } }
@media (max-width: 480px) { .tasks-view .task-completed-period { flex: 1 1 100%; width: 100%; } }
