/* Добавленные действия Дел: исходная строка .prow остается общей. */
.task-options{display:block;width:max-content;position:relative;margin-top:var(--space-2)}
.task-options summary{display:grid;place-items:center;list-style:none;width:var(--round);height:var(--round);cursor:pointer;color:var(--text-secondary);border-radius:var(--radius-sm)}
.task-options summary::-webkit-details-marker{display:none}
.task-options summary:hover{background:var(--surface-sunken)}
.task-menu{display:flex;gap:var(--space-2);flex-wrap:wrap;margin:var(--space-1) 0 var(--space-2)}
.task-quiet{font:var(--fs-cap)/var(--lh-cap) Onest,sans-serif;background:none;border:0;padding:var(--space-2) var(--space-3);color:var(--text-secondary);cursor:pointer;min-height:var(--round);border-radius:var(--radius-sm)}
.task-quiet:hover{background:var(--surface-sunken);color:var(--text-primary)}
.task-quiet:focus-visible,.task-options summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.task-tray{margin:var(--space-5) 0;color:var(--text-secondary);font-size:var(--fs-cap);line-height:var(--lh-cap)}
.task-tray:empty{display:none}
.task-tray>details{padding:0 var(--space-4);background:var(--surface-card);border-radius:var(--radius-md)}
.task-tray summary{cursor:pointer;min-height:var(--round);display:flex;align-items:center}
.task-tray-row{display:flex;gap:var(--space-3);align-items:center;justify-content:space-between;padding:var(--space-3) 0;border-top:.5px solid var(--border)}
.task-tray-row>span{flex:1;min-width:0;overflow-wrap:anywhere}
.task-tray-row button{flex:none}

.task-options{margin:0;flex:none;align-self:center}.task-menu{position:absolute;right:0;top:100%;z-index:5;min-width:160px;display:flex;flex-direction:column;gap:4px;padding:8px;background:var(--surface-card);border:.5px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-sheet)}.task-menu button{text-align:left;white-space:nowrap}.task-options[open]{z-index:5}@media(max-width:700px){.dela .prow .task-options{margin-left:auto}.task-tray-row{flex-wrap:wrap}}
@media(max-width:700px){.dela .prow{position:relative}.dela .prow .task-options{position:absolute;right:8px;bottom:4px}.dela .prow .pact{padding-right:44px;box-sizing:border-box}.task-menu{top:auto;bottom:100%}}
.dela:has(.task-options[open]){overflow:visible}.dela .prow:has(.task-options[open]){isolation:auto;z-index:5}

/* Шапка Дел следует общей shell-head: 44 px и отбивка 20 px. */
.tasks-title{margin:0 0 var(--space-2);font-family:var(--font-head);font-size:var(--fs-display);line-height:var(--lh-display);font-weight:700;color:var(--text-primary)}
html.shell-wide body[data-screen="home"] .tasks-intro{margin-top:0}
body[data-screen="home"] .tasks-phone-head{min-height:44px;margin:0 0 20px}

html.shell-wide .tasks-search{width:var(--shell-list);max-width:100%;margin:0 0 12px}
html.shell-wide .tasks-search .shell-search{width:100%;min-width:0;box-sizing:border-box}
html[data-home-entry="guest"] .tasks-search{display:none!important}
/* Точная геометрия .search из Документов; глобальный обработчик прежний. */
html.shell-wide .tasks-search #dkSearch{position:relative;display:block;height:44px;padding:0;border:0;border-image:none;background:none;border-radius:0}
html.shell-wide .tasks-search #dkSearch .shell-search-q{display:block;width:100%;height:44px;box-sizing:border-box;padding:12px 64px 12px 38px;font:var(--fs-sub)/var(--lh-sub) Onest,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;border:0;border-radius:0;background:transparent;border-image:var(--sq-pole) 42 fill / 42px / 14px}
html.shell-wide .tasks-search #dkSearch>svg{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:16px;height:16px;color:var(--text-muted);pointer-events:none}
html.shell-wide .tasks-search #dkSearch>.shell-kbd{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:var(--fs-cap);line-height:var(--lh-cap);padding:1px 6px}
