/* Bench figures (lab.js), restyled Nov 15 after the home figure (home.js): soft clay on a pale wash, labels as a title
 * in ink with a white halo and a thin leader (no boxes, no dots), smaller numbered rings. Loaded after site.css. */
.bench { background: transparent; }
.walk-fig .bench { background: radial-gradient(64% 62% at 50% 52%, #e8f0f8 0%, rgba(232, 240, 248, 0.55) 55%, rgba(255, 255, 255, 0) 100%); }
.box-card .bench, .example .bench { background: linear-gradient(180deg, #e6eef6 0%, #eff4f8 100%); }
.bench .tag { background: none; padding: 0; border-radius: 0; font: 600 14px/1.25 var(--f); letter-spacing: -0.005em; color: var(--ink);
  text-shadow: 0 0 1px #fff, 0 0 4px #fff, 0 0 8px #fff, 0 0 12px rgba(255, 255, 255, 0.9); }
.bench .tag.mark { font: 500 13px/1.2 var(--f); color: var(--slate); }
.bench .tag.mark.strong { font: 600 15px/1.25 var(--f); color: var(--ink); background: none; padding: 0; }
.bench-lines polyline { stroke: #7b8792; stroke-width: 1; }
.bench-lines circle { display: none; }
.bench .ring { width: 26px; height: 26px; font: 600 13px/22.8px var(--f); border-width: 1.6px; box-shadow: 0 1px 3px rgba(17, 19, 21, 0.12); }
@media (max-width: 720px) {
  .bench .tag { font-size: 13px; }
  .bench .tag.mark.strong { font-size: 13.5px; }
  .bench .ring { width: 22px; height: 22px; font-size: 11.5px; line-height: 19px; }
}
/* walkthrough benches fade out at their edges, so a close-up never ends in a hard line */
.walk-fig .bench > canvas {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%), linear-gradient(180deg, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%), linear-gradient(180deg, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%);
  mask-composite: intersect;
}
.bench .tag.agent { color: var(--blue); }
