/* fig-task: figure-only styles. Colours are tokens from assets/style.css only. */
#fig-task .task-labelled .pf-node-label { font-size: 12px; }
#fig-task .task-key-cell { stroke: var(--rule); stroke-width: 1; }
#fig-task .task-hitline { stroke: transparent; stroke-width: 14; stroke-linecap: round; cursor: crosshair; }
#fig-task .task-hi-line { stroke: var(--fg); stroke-opacity: 0.16; stroke-width: 10; stroke-linecap: round; fill: none; }
#fig-task .pf-node.task-node-hi { stroke: var(--fg); stroke-width: 3; }
#fig-task .task-cell-halo rect { fill: none; stroke: var(--bg); stroke-width: 5; pointer-events: none; }
/* the readout and (on a phone) the legend keep their height when the state changes */
@media (max-width: 600px) {
  #fig-task .task-readout { min-height: 3.2em; }
  #fig-task .fig-legend { min-height: 3.6em; align-content: flex-start; }
}
