/* The Laboratory: /test, /tests and every page under /tests (docs/web/SECCIONES.md, "Laboratorio").
   A cool white light box with a fine light-table grid and window light that comes in from the side. The tool is the cover: each test is an
   instrument card with a small plate (one of Kyara's still lifes), small-caps labels and a ruler along its edge.
   The signature is the switch, window against bulb: it relights the box (page and card heads), never a swatch. Swatches and the gray strip stay flat and exact.
   Loaded after the tool's own sheet, so these rules win. Everything is scoped to body.lab. */

body.lab {
  /* the two lightings, both always defined: the window (cool, from the side) and the bulb (warm, from above). The page wears one, the lantern shows the other */
  --win-box: #EDF2F8;
  --win-head: #E3EBF5;
  --win-grid: rgba(44, 76, 120, .075);
  --win-grid-2: rgba(44, 76, 120, .14);
  --win-edge: rgba(36, 48, 72, .2);
  --win-tick: rgba(36, 48, 72, .46);
  --win-lamp: #FFFFFF;
  --win-accent: #35558A;
  /* the window: four panes of light thrown across the table at a slant (flat shapes, no blur) */
  --win-beam: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 200' preserveAspectRatio='none'%3E%3Cg fill='%23fff' fill-opacity='.8'%3E%3Cpolygon points='-30,0 110,0 190,200 50,200'/%3E%3Cpolygon points='128,0 236,0 316,200 208,200'/%3E%3C/g%3E%3Cg fill='%23fff' fill-opacity='.55'%3E%3Cpolygon points='254,0 330,0 410,200 334,200'/%3E%3C/g%3E%3C/svg%3E");
  --bulb-box: #FAF0DC;
  --bulb-head: #F5E6C8;
  --bulb-grid: rgba(122, 82, 18, .09);
  --bulb-grid-2: rgba(122, 82, 18, .17);
  --bulb-edge: rgba(70, 44, 12, .24);
  --bulb-tick: rgba(70, 44, 12, .5);
  --bulb-lamp: #FFE2A8;
  --bulb-accent: #8A5A12;
  /* the bulb: a pool of light under it, in steps */
  --bulb-beam: radial-gradient(ellipse 62% 120% at 50% -8%, rgba(255, 212, 140, .7) 0 24%, rgba(255, 212, 140, .46) 24% 44%, rgba(255, 212, 140, .26) 44% 64%, transparent 64%);
  --lab-box: var(--win-box); --lab-head: var(--win-head); --lab-grid: var(--win-grid); --lab-grid-2: var(--win-grid-2);
  --lab-edge: var(--win-edge); --lab-tick: var(--win-tick); --lab-lamp: var(--win-lamp); --lab-accent: var(--win-accent); --lab-beam: var(--win-beam);
  --lab-lit: #FFFFFF;
  --lab-ink: #2B2230;
  --lab-sub: #4A3C4C;
  background: var(--lab-box);
  color: var(--lab-ink);
  transition: background-color .5s var(--ease);
}
html[data-light="bulb"] body.lab {
  --lab-box: var(--bulb-box); --lab-head: var(--bulb-head); --lab-grid: var(--bulb-grid); --lab-grid-2: var(--bulb-grid-2);
  --lab-edge: var(--bulb-edge); --lab-tick: var(--bulb-tick); --lab-lamp: var(--bulb-lamp); --lab-accent: var(--bulb-accent); --lab-beam: var(--bulb-beam);
}
/* the whole box has the fine grid: a hairline every 24px, a stronger one every 120px */
body.lab { position: relative; }
/* the window light reaches across the top of the page, behind the header and the crumbs, as well as into the head of the card */
body.lab::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 330px; z-index: -1; pointer-events: none; background: var(--lab-beam) 0 0 / 100% 100% no-repeat; opacity: .55; }
body.lab::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(var(--lab-grid-2) 1px, transparent 1px) 0 0 / 120px 120px,
    linear-gradient(90deg, var(--lab-grid-2) 1px, transparent 1px) 0 0 / 120px 120px,
    linear-gradient(var(--lab-grid) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, var(--lab-grid) 1px, transparent 1px) 0 0 / 24px 24px;
}
body.lab .crumbs { padding-top: 2px; }
body.lab .crumbs a, body.lab .crumbs li { color: var(--lab-sub); }

/* ---------- the instrument bar: where you are in the lab, and the switch ---------- */
.lab-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 760px; margin: 4px auto 10px; padding: 0 var(--gutter); }
.lab-name { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; font: 700 12.5px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--lab-sub); }
.lab-name::before { content: ""; flex: none; width: 9px; height: 9px; border: 1.5px solid var(--lab-ink); border-radius: 50%; background: var(--lab-lamp); transition: background-color .4s; }
.lab-name b { color: var(--lab-ink); font-weight: 700; }
.lab-switch { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 2px; border: 0; background: none; cursor: pointer; color: var(--lab-ink); font: 700 12.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; -webkit-tap-highlight-color: transparent; }
.js .lab-switch { display: inline-flex; }
.lab-switch .lab-opt { display: inline-flex; align-items: center; gap: 6px; opacity: .74; transition: opacity .3s; }
.lab-switch[aria-checked="false"] .lab-opt--window, .lab-switch[aria-checked="true"] .lab-opt--bulb { opacity: 1; }
.lab-opt svg { width: 18px; height: 18px; flex: none; }
.lab-track { position: relative; flex: none; width: 46px; height: 26px; border: 1.5px solid var(--lab-ink); border-radius: 14px; background: #fff; }
.lab-knob { position: absolute; top: 2.5px; left: 2.5px; width: 18px; height: 18px; border-radius: 50%; background: var(--lab-ink); transition: transform .32s var(--ease), background-color .3s; }
.lab-switch[aria-checked="true"] .lab-knob { transform: translateX(20px); background: #8A5A12; }
.lab-switch:focus-visible { outline: 3px solid var(--berry); outline-offset: 2px; border-radius: 6px; }

/* ---------- the instrument card ---------- */
.lab-main { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter) 8px; }
.lab-card { position: relative; background: var(--lab-lit); background-color: #fff; border: 1px solid var(--lab-edge); border-radius: 2px; box-shadow: 0 1px 0 #fff inset, 0 22px 40px -30px rgba(28, 44, 78, .5); }
.lab-card > .lab-tool { padding: 18px 16px 18px; }
.lab-card-head { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 4px 14px; align-items: start; padding: 14px 16px 18px; background: var(--lab-head) var(--lab-beam) 0 0 / 100% 100% no-repeat; border-bottom: 1px solid var(--lab-edge); overflow: hidden; transition: background-color .5s var(--ease); }
.lab-card-head::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(var(--lab-grid) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, var(--lab-grid) 1px, transparent 1px) 0 0 / 24px 24px; }
.lab-card-head > * { position: relative; z-index: 1; }
/* the ruler along the foot of the head: a tick every 8px, a long one every 40px */
.lab-card-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, var(--lab-tick) 1px, transparent 1px) 0 100% / 40px 8px no-repeat repeat-x,
    linear-gradient(90deg, var(--lab-tick) 1px, transparent 1px) 0 100% / 8px 4px repeat-x; }
.lab-label { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; margin: 0; font: 700 12.5px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--lab-sub); }
.lab-label b { color: var(--lab-ink); font-weight: 700; }
.lab-label span::before { content: ""; display: inline-block; width: 1px; height: 11px; margin-right: 12px; vertical-align: -1px; background: var(--lab-tick); }
.lab-card-head .lab-label { grid-column: 1 / -1; margin-bottom: 8px; }
.lab-card-head h1 { grid-column: 1; font: 600 clamp(27px, 7.6vw, 36px)/1.04 var(--serif); letter-spacing: -.012em; color: var(--lab-ink); }
.lab-card-head h1 em { font-family: var(--slant); font-style: italic; color: var(--berry); font-size: 1em; line-height: inherit; -webkit-text-stroke: 0; }
.lab-card-head .lab-line { grid-column: 1; margin-top: 8px; font-size: 16.5px; line-height: 1.4; color: var(--lab-ink); max-width: 30em; }
.lab-card-head .lab-plate { grid-column: 2; grid-row: 2 / span 2; }

/* the plate: one still life, small, framed like a slide */
.lab-plate { margin: 0; justify-self: end; width: 112px; padding: 4px 4px 0; background: #fff; border: 1px solid var(--lab-edge); box-shadow: 0 10px 18px -14px rgba(28, 44, 78, .6); }
.lab-plate img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.lab-plate figcaption { padding: 4px 0 4px; font: 700 12.5px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--lab-sub); text-align: center; }
@media (max-width: 359px) { .lab-card-head { grid-template-columns: minmax(0, 1fr) 92px; } .lab-plate { width: 92px; } }

/* ---------- what is inside the card: the quiz screens, in lab dress ---------- */
.lab .lab-tool .mini { max-width: none; margin: 0; }
.lab .mt-card { padding: 0; background: transparent; box-shadow: none; border-radius: 0; gap: 14px; }
.lab .mini-q { font: 600 clamp(22px, 5.8vw, 27px)/1.18 var(--serif); letter-spacing: -.008em; color: var(--lab-ink); }
.lab .mini-count { display: flex; align-items: center; gap: 10px; font: 700 12.5px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--lab-sub); }
.lab .mini-count::before { content: ""; width: 22px; height: 1px; background: var(--lab-tick); }
.lab .mini-dots { gap: 3px; }
.lab .mini-dots li { flex: 1 1 0; height: 6px; border-radius: 0; background: rgba(36, 48, 72, .14); transition: background-color .3s; }
.lab .mini-dots li.done { background: var(--lab-ink); }
.lab .mini-dots li.skip { background: transparent; box-shadow: inset 0 0 0 1px var(--lab-tick); }
.lab .mini-dots li.now { background: var(--berry); box-shadow: none; }
.lab .mini-help summary, .lab .ed-fold > summary { font: 700 13.5px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--lab-accent); }
.lab .mini-help p { font-size: 16.5px; }
.lab .mini-skip { font-size: 15.5px; color: var(--lab-sub); }
.lab .mini-why { font-size: 15.5px; color: var(--lab-sub); padding-top: 10px; border-top: 1px solid var(--lab-edge); }
.lab .mini-in { animation: none; }
/* the lab's key: a flat berry key with a hard ink offset that presses flat, in place of the magazine's brush stroke */
body.lab main .btn:not(.btn--light) { min-height: 52px; padding: 13px 24px; background: var(--berry); border: 1.5px solid var(--berry); border-radius: 2px; box-shadow: 3px 3px 0 var(--lab-ink); filter: none; font: 700 16.5px/1.2 var(--sans); letter-spacing: .04em; transition: transform .14s, box-shadow .14s, background-color .2s; }
body.lab main .btn:not(.btn--light):hover { background: #84213F; transform: none; filter: none; }
body.lab main .btn:not(.btn--light):active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--lab-ink); }
body.lab main .btn:not(.btn--light):disabled { box-shadow: 0 0 0 var(--lab-ink); }
@media (forced-colors: active) { body.lab main .btn:not(.btn--light) { border-color: ButtonText; } }
.lab .btn-ghost { background: #fff; border: 1.5px solid var(--lab-ink); border-radius: 2px; }
.lab .btn-ghost:hover { background: var(--lab-ink); color: #fff; }
.lab .mini-big { color: var(--lab-ink); }

/* the other blocks of a lab page: plain, set off by hairlines like the pages of a lab notebook */
.lab .lab-notes { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
.lab .lab-notes .s-block { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--lab-edge); max-width: none; }
.lab .lab-notes .s-block > h2 { font: 600 clamp(24px, 6vw, 30px)/1.1 var(--serif); }
.lab .lab-notes .s-block > h2 em { font-family: var(--slant); font-style: italic; font-size: 1em; line-height: inherit; -webkit-text-stroke: 0; color: var(--berry); }
.lab .lab-notes .s-line { font-size: 17px; }
.lab .answer, .lab .rule, .lab .myth { border: 1px solid var(--lab-edge); border-image: none; border-radius: 2px; background: #fff; padding: 12px 14px; margin-top: 14px; }
.lab .answer::after { display: none; }
.lab .answer-label { color: var(--lab-sub); }
.lab .myth-claim { background: none; font-size: 19px; }
.lab .faq { border-top: 1px solid var(--lab-edge); }
.lab .faq:last-of-type { border-bottom: 1px solid var(--lab-edge); }
.lab .next { max-width: 760px; margin: 28px auto 8px; padding: 14px var(--gutter) 16px; border: 0; border-image: none; border-top: 1px solid var(--lab-edge); background: none; }
.lab .next-label { font: 700 12.5px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--lab-sub); }
.lab .next a { font-size: clamp(21px, 5.2vw, 26px); }

/* ---------- a change of screen: the new one is wiped in from the window side (a view transition, a short sweep of light) ---------- */
.lab .lab-view { view-transition-name: lab-screen; }
::view-transition-group(lab-screen) { animation-duration: .36s; animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
::view-transition-old(lab-screen) { animation: lab-out .26s ease-in both; }
::view-transition-new(lab-screen) { animation: lab-in .38s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes lab-out { to { opacity: 0; transform: translateX(-10px); } }
@keyframes lab-in { from { clip-path: inset(0 100% 0 0); opacity: .4; } to { clip-path: inset(0 0 0 0); opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  body.lab, .lab-card-head, .lab-knob, .lab-opt, .lab-name::before { transition: none; }
  ::view-transition-group(lab-screen), ::view-transition-old(lab-screen), ::view-transition-new(lab-screen) { animation: none; }
}
@media (forced-colors: active) { .lab-card, .lab-plate { border-color: CanvasText; } .lab-track { border-color: ButtonText; } }

/* ---------- the light table on the /tests cover: the same four cards of the test under two lights ---------- */
.lab-stage { position: relative; height: 196px; overflow: hidden; background: var(--lab-head) var(--lab-beam) 0 0 / 100% 100% no-repeat; border-bottom: 1px solid var(--lab-edge); cursor: crosshair; touch-action: pan-y; user-select: none; -webkit-user-select: none; transition: background-color .5s var(--ease); }
.lab-stage::before, .lab-lit::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(var(--g, var(--lab-grid)) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, var(--g, var(--lab-grid)) 1px, transparent 1px) 0 0 / 24px 24px; }
/* the other lighting, seen only inside the circle of the lantern */
.lab-lit { position: absolute; inset: 0; pointer-events: none; background: var(--bulb-head) var(--bulb-beam) 0 0 / 100% 100% no-repeat; --g: var(--bulb-grid);
  -webkit-mask-image: radial-gradient(circle at var(--lx, 70%) var(--ly, 46%), #000 0 70px, transparent 71px); mask-image: radial-gradient(circle at var(--lx, 70%) var(--ly, 46%), #000 0 70px, transparent 71px); }
html[data-light="bulb"] .lab-lit { background: var(--win-head) var(--win-beam) 0 0 / 100% 100% no-repeat; --g: var(--win-grid); }
.lab-cards { position: absolute; left: 0; right: 0; top: 30px; display: flex; justify-content: center; gap: 14px; margin: 0; padding: 0 12px; list-style: none; z-index: 1; pointer-events: none; }
.lab-cards li { display: grid; justify-items: center; align-content: start; gap: 8px; }
.lab-cards li i { display: block; width: 64px; height: 84px; background: var(--c); border: 1px solid rgba(36, 48, 72, .28); box-shadow: 2px 3px 0 rgba(36, 48, 72, .14); }
.lab-cards li span { font: 700 12.5px/1.15 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--lab-ink); text-align: center; min-height: 2.3em; }
.lab-lens { position: absolute; left: var(--lx, 70%); top: var(--ly, 46%); z-index: 2; width: 142px; height: 142px; margin: -71px 0 0 -71px; padding: 0; border: 1.5px solid var(--lab-ink); border-radius: 50%; background: none; cursor: grab; display: none; place-items: center; }
.lab-lens::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px; border-radius: 50%; background: var(--lab-ink); }
.lab-stage.is-live .lab-lens { display: grid; }
.lab-stage.is-held .lab-lens { cursor: grabbing; }
.lab-lens:focus-visible { outline: 3px solid var(--berry); outline-offset: 3px; }
.lab-stage-cap { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; margin: 0; padding: 0; font: 700 12.5px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--lab-ink); pointer-events: none; }
.lab-stage-cap span { padding: 3px 6px; background: rgba(255, 255, 255, .86); }

/* the main test on the cover, and the instrument cards of the other tests */
.lab-main-test { display: grid; gap: 8px; }
.lab-main-test h2 { font: 600 clamp(28px, 7.4vw, 38px)/1.05 var(--serif); letter-spacing: -.012em; }
.lab-main-test .lab-facts { font-size: 16.5px; color: var(--lab-sub); }
.lab-main-test .cta { margin-top: 6px; }
.lab-tools { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.lab a.tool { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) 112px; grid-template-areas: "no time plate" "name name plate" "line line plate"; align-content: start; gap: 4px 14px; padding: 12px 14px 14px; background: #fff; border: 1px solid var(--lab-edge); border-radius: 2px; box-shadow: 0 1px 0 #fff inset, 0 18px 30px -26px rgba(28, 44, 78, .5); color: var(--lab-ink); text-decoration: none; transition: transform .25s var(--ease), border-color .25s; }
.lab a.tool:hover { transform: translateY(-2px); border-color: var(--lab-ink); color: var(--lab-ink); }
.lab a.tool .tool-no, .lab a.tool .tool-time { font: 700 12.5px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--lab-sub); }
.lab a.tool .tool-no { grid-area: no; color: var(--lab-ink); }
.lab a.tool .tool-time { grid-area: time; }
.lab a.tool .tool-time::before { content: ""; display: inline-block; width: 1px; height: 11px; margin-right: 12px; vertical-align: -1px; background: var(--lab-tick); }
.lab a.tool .tool-name { grid-area: name; font: 600 clamp(21px, 5.4vw, 24px)/1.1 var(--serif); letter-spacing: -.008em; align-self: end; }
.lab a.tool .tool-name::after { content: " \2192"; color: var(--berry); }
.lab a.tool .tool-line { grid-area: line; font-size: 16px; line-height: 1.4; color: var(--lab-ink); }
.lab a.tool .lab-plate { grid-area: plate; align-self: start; margin-top: 2px; }
.lab-more { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--lab-edge); }
.lab-more li { border-bottom: 1px solid var(--lab-edge); }
.lab-more a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 52px; padding: 8px 2px; color: var(--lab-ink); text-decoration: none; }
.lab-more a b { font: 600 19px/1.2 var(--serif); }
.lab-more a span { font: 700 12.5px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--lab-sub); }
.lab-more a:hover b { color: var(--berry); }
.lab .sysmap--strip { margin: 16px 0 0; padding: 12px 14px 14px; border: 1px solid var(--lab-edge); border-image: none; border-radius: 2px; background: #fff; }
@media (min-width: 720px) {
  .lab-main--hub { max-width: 980px; }
  .lab-tools { grid-template-columns: 1fr 1fr; gap: 14px; }
  .lab-stage { height: 230px; }
  .lab-cards { gap: 28px; top: 40px; }
  .lab-cards li i { width: 80px; height: 104px; }
}

/* the readout: the five readings of her card, as the dials of a panel */
.lab .sm-strip-head { align-items: center; padding-bottom: 8px; border-bottom: 1px solid var(--lab-edge); }
.lab .sm-strip-count { font: 700 12.5px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--lab-ink); }
.lab .sm-strip-head .more { font-size: 15px; }
.lab .sm-tiles { margin-top: 10px; gap: 6px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lab .sm-tile .sm-link { min-height: 60px; padding: 8px 10px; background: #fff; border: 1px dashed var(--lab-tick); border-radius: 0; text-decoration: none; }
.lab .sm-tile[data-state="filled"] .sm-link { background: #fff; border: 1px solid var(--lab-ink); }
.lab .sm-tile .sm-name { font: 700 12.5px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--lab-sub); }
.lab .sm-tile .sm-val { font: 600 17px/1.2 var(--serif); color: var(--berry); text-decoration: underline; text-underline-offset: 3px; }
.lab .sm-tile[data-state="filled"] .sm-val { color: var(--lab-ink); text-decoration: none; font-weight: 600; }
.lab .sm-tile--word { grid-column: 1 / -1; }
@media (min-width: 640px) { .lab .sm-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); } .lab .sm-tile--word { grid-column: auto; } }

/* ---------- the gray strip of the one minute contrast: a slide on the table, with a rule under it that fills up to her step ---------- */
.lab .strip9 { height: 92px; padding: 6px; border-radius: 0; box-shadow: none; border: 1px solid var(--lab-edge); margin-bottom: 14px; --n: 0; }
.lab .strip9:focus-visible { outline: 3px solid var(--berry); outline-offset: 3px; box-shadow: none; }
.lab .strip9-frame { border-color: var(--lab-ink); border-width: 3px; border-radius: 0; }
.lab .strip9-frame::after { background: var(--lab-ink); border-radius: 0; }
.lab .strip9-fill { position: absolute; left: 0; right: 0; bottom: -10px; height: 4px; background: rgba(36, 48, 72, .14); pointer-events: none; }
.lab .strip9-fill::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--n) / 9 * 100%); background: var(--lab-ink); transition: width .22s var(--ease); }
.lab .strip9-picked { font: 600 17px/1.3 var(--sans); font-style: normal; margin-top: 4px; }
@media (prefers-reduced-motion: reduce) { .lab .strip9-fill::after { transition: none; } }

/* a row of two gray steps: how far apart the features sit (exact steps of the gray strip) */
.lab-gap { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.lab-gap li { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 14px; font-size: 17px; }
.lab-gap b { display: block; font: 700 12.5px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--lab-sub); }
.lab-pair { display: grid; grid-template-columns: 1fr 1fr; height: 52px; padding: 4px; background: #fff; border: 1px solid var(--lab-edge); }
.lab-pair i { display: block; background: var(--a); }
.lab-pair i + i { background: var(--b); }

/* the nameplate of a card that has no head of its own (the season test: its plate is on the first screen): a label row with the ruler under it */
.lab-strip { position: relative; margin: 0; padding: 12px 16px 14px; background: var(--lab-head) var(--lab-beam) 0 0 / 100% 100% no-repeat; border-bottom: 1px solid var(--lab-edge); overflow: hidden; transition: background-color .5s var(--ease); }
.lab-strip::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; pointer-events: none;
  background:
    linear-gradient(90deg, var(--lab-tick) 1px, transparent 1px) 0 100% / 40px 8px no-repeat repeat-x,
    linear-gradient(90deg, var(--lab-tick) 1px, transparent 1px) 0 100% / 8px 4px repeat-x; }
.lab-strip .lab-label { position: relative; z-index: 1; }

/* three steps, drawn: a glyph and a short line each */
.lab-steps { list-style: none; margin: 4px 0 0; padding: 0; display: grid; border-top: 1px solid var(--lab-edge); }
.lab-steps li { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--lab-edge); font: 600 18px/1.3 var(--sans); }
.lab-glyph { width: 56px; height: 56px; color: var(--lab-ink); }
