/* Reserve one task row even for accounts without a task selection. */
.account-grid{align-items:stretch}
.account-card .account-tasks{position:relative;flex:1 0 auto;min-height:25px;gap:6px;margin-bottom:10px;align-content:flex-start}
.account-card .task-chip{white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis;line-height:1.5}
.account-card .task-chip[hidden]{display:none!important}
.account-card .task-list-toggle{display:inline-flex;align-items:center;gap:2px;padding:4px 2px;border:0;background:transparent;color:var(--muted);font-weight:400;cursor:pointer;border-radius:4px}
.account-card .task-list-toggle:hover{color:var(--blue);background:var(--surface-soft)}
.task-list-toggle .icon{width:12px;height:12px;transform:rotate(-90deg)}
.task-list-toggle[aria-expanded=true] .icon{transform:rotate(90deg)}
@media(max-width:640px){.account-card .account-tasks{gap:5px;min-height:24px}}
