/* Icons, "mod" (home/pictures/modules.js): each module's own figure beside its name, 24 px, on a small square of the
 * page's dark, a tag's corners, the figure a quarter cell in from each side (the owner, 17 Nov: "icons again back into
 * dark rects"; its other form, bare on the sheet's dots, home/variants/modules-bare.css). What would stroke past the
 * figure's box shows whole (overflow). The figure in the dark's inks: the ink, a soft one (--soft, the quieter ink half
 * sunk in the dark), the dark's cyan, red only where it records; what it cuts with its ground cuts with the dark. Every
 * stroke as wide as its icon says in units, 1.5 where it says none, a unit a pixel at the icon's size */
[data-pics="mod"] .pic {
  --ground: var(--dark);
  --tone: var(--on-dark); --soft: color-mix(in oklch, var(--on-dark-3) 55%, var(--ground)); --cyan: var(--hot);
  box-sizing: border-box; padding: var(--space-xs); border-radius: var(--radius-sm); background: var(--ground);
  overflow: visible; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
/* What has a body: a bar (a stroke, square-ended, as wide as the icon says), a shape filled; round where it is a dot
 * or a pill (.rn). A line (.hl), 1.5 units unless the icon says (its width the path's own attribute, which the root's
 * inherited one gives way to and no rule here overrides), round at its ends and its turns; dashed where it is the line
 * something would have gone on, or a bound (.ds). The tone each takes: the ink, the soft (.sf), the cyan (.cy), the
 * record's red (.rd), the ground it cuts with (.dk), or the ground inside a line drawn round (.dkf) */
[data-pics="mod"] .pic .br { stroke: var(--tone); stroke-linecap: butt; }
[data-pics="mod"] .pic .fl { fill: var(--tone); stroke: none; }
[data-pics="mod"] .pic .hl { stroke: var(--tone); }
[data-pics="mod"] .pic .rn { stroke-linecap: round; }
[data-pics="mod"] .pic .ds { stroke-linecap: butt; stroke-dasharray: 1.5 1.5; }
[data-pics="mod"] .pic .dkf { fill: var(--ground); }
[data-pics="mod"] .pic .sf { --tone: var(--soft); }
[data-pics="mod"] .pic .cy { --tone: var(--cyan); }
[data-pics="mod"] .pic .rd { --tone: var(--warn); }
[data-pics="mod"] .pic .dk { --tone: var(--ground); }
