/* Infographics drawn in HTML and SVG (the four settings; the six protections). Shared look, tabs and highlighting.
   Every rule is scoped under .fig-live .wi. Without the script (no .wi-js on the root) and in print, every panel is shown. */
.fig-live .wi {
  --wi-ink: #40403e; --wi-black: #1f1d1a; --wi-label: #6b655c; --wi-soft: #87867f; --wi-line: #e6e1da; --wi-grey: #9a9998;
  --wi-paper: #faf9f5; --wi-resp: #c8613d; --wi-resp-pale: #f7e9e2; --wi-reci: #3f7cb0; --wi-reci-pale: #e6eef7; --wi-focus: #4e86c6;
  /* the two colours, a shade darker, for small lettering: at least 4.5:1 on white, on the paper ground and on their own pale tints */
  --wi-resp-text: #ad4d29; --wi-reci-text: #336fa2;
  container-type: inline-size; position: relative; box-sizing: border-box; width: 100%; margin: 0; padding: 0;
  font: 400 13px/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif;
  color: var(--wi-ink); text-align: left; -webkit-text-size-adjust: 100%;
}
.fig-live .wi *, .fig-live .wi *::before, .fig-live .wi *::after { box-sizing: border-box; }
.fig-live .wi p { margin: 0; padding: 0; font: inherit; color: inherit; }
.fig-live .wi svg { display: block; overflow: visible; max-width: 100%; height: auto; }

/* lettering: 13px in drawings and eyebrows, 15px for sentences, 17px for names and lead lines */
.fig-live .wi text { font-size: 13px; fill: var(--wi-black); }
.fig-live .wi .wi-cap { font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; fill: var(--wi-label); color: var(--wi-label); }
.fig-live .wi text.wi-soft { fill: var(--wi-label); }
.fig-live .wi text.wi-b { font-weight: 600; }
.fig-live .wi text.wi-m { font-weight: 500; }
.fig-live .wi text.wi-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; }
.fig-live .wi text.wi-tr { fill: var(--wi-resp-text); }
.fig-live .wi text.wi-tb { fill: var(--wi-reci-text); }
.fig-live .wi .wi-num { color: var(--wi-resp-text); font-weight: 400; font-variant-numeric: lining-nums tabular-nums; }
.fig-live .wi .wi-name { color: var(--wi-black); font-weight: 600; }
.fig-live .wi .wi-lead { font-size: 17px; line-height: 1.35; color: var(--wi-black); }
.fig-live .wi .wi-say { font-size: 15px; line-height: 1.45; color: var(--wi-black); }

.fig-live .wi .wi-desc { font-size: 15px; line-height: 1.45; color: var(--wi-label); }
/* the post's own words in a panel */
.fig-live .wi .wi-doc { font-size: 15px; line-height: 1.45; color: var(--wi-black); }
.fig-live .wi .wi-doc b { font-weight: 600; }
.fig-live .wi .wi-quote { font-size: 15px; line-height: 1.45; color: var(--wi-ink); border-left: 3px solid #cc9b7a; padding-left: 12px; }
.fig-live .wi .wi-attr { font-size: 13px; line-height: 1.4; color: var(--wi-label); }
.fig-live .wi a.wi-more { display: inline-block; font-size: 13px; line-height: 1.4; font-weight: 600; color: var(--wi-label); text-decoration: underline; text-decoration-color: var(--wi-line); text-decoration-thickness: 1.5px; text-underline-offset: 3px; border-bottom: none; border-radius: 2px; padding: 6px 0; margin: -6px 0; }
.fig-live .wi a.wi-more:hover { color: var(--wi-black); text-decoration-color: var(--wi-resp); }

/* strokes and fills in drawings */
.fig-live .wi .wi-card { fill: #fff; stroke: var(--wi-line); stroke-width: 2; }
.fig-live .wi .wi-rule { stroke: var(--wi-line); stroke-width: 1.5; fill: none; }
.fig-live .wi .wi-k { stroke: var(--wi-black); stroke-width: 1.75; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.fig-live .wi .wi-g { stroke: var(--wi-grey); stroke-width: 2; fill: none; stroke-linecap: round; }
.fig-live .wi .wi-dash { stroke-dasharray: 4 4; stroke-linecap: butt; stroke-width: 2; }
.fig-live .wi .wi-disc { fill: var(--wi-resp); }
.fig-live .wi .wi-ring { fill: #fff; stroke: var(--wi-reci); stroke-width: 2; }
.fig-live .wi .wi-r { stroke: var(--wi-resp); stroke-width: 1.75; fill: var(--wi-resp-pale); }
.fig-live .wi .wi-bl { stroke: var(--wi-reci); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.fig-live .wi .wi-bf { fill: var(--wi-reci-pale); }

/* the frame round a drawing */
.fig-live .wi .wi-frame { display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--wi-line); border-radius: 8px; background: var(--wi-paper); padding: 4px; min-width: 0; }
.fig-live .wi .wi-wide { display: none; }

/* tabs: hidden until the script is there */
.fig-live .wi .wi-tabs { display: none; scroll-margin-top: 12px; }
@media screen {
  .fig-live .wi.wi-js .wi-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 16px; }
  .fig-live .wi.wi-js .wi-tabs[data-cols-narrow="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.fig-live .wi .wi-tab {
  all: unset; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 4px 6px; min-height: 44px; padding: 8px 9px 8px 11px;
  font: inherit; font-size: 16px; line-height: 1.2; cursor: pointer; background: var(--wi-paper); border: 1.5px solid var(--wi-line); border-radius: 8px;
  -webkit-tap-highlight-color: transparent; transition: background-color 0.14s linear, border-color 0.14s linear;
}
/* small tabs (six in a row): glyph on top, then numeral and name, 15px */
.fig-live .wi .wi-tabs[data-cols="6"] .wi-tab { flex-direction: column-reverse; align-items: flex-start; justify-content: flex-end; font-size: 15px; padding: 8px 10px; }
.fig-live .wi .wi-tabs:not([data-cols="6"]) .wi-tab { white-space: nowrap; }
.fig-live .wi .wi-tab .wi-num { margin-right: 0.15em; }
.fig-live .wi .wi-tab .wi-name { color: var(--wi-ink); }
.fig-live .wi .wi-tab .wi-glyph { flex: none; width: 38px; opacity: 0.75; transition: opacity 0.14s linear; }
.fig-live .wi .wi-tab:hover { background: #f3f1ea; }
.fig-live .wi .wi-tab[aria-selected="true"] { background: #fff; border-color: var(--wi-resp); box-shadow: inset 0 0 0 1px var(--wi-resp); cursor: default; }
.fig-live .wi .wi-tab[aria-selected="true"] .wi-name { color: var(--wi-black); }
.fig-live .wi .wi-tab[aria-selected="true"] .wi-glyph, .fig-live .wi .wi-tab:hover .wi-glyph { opacity: 1; }
.fig-live .wi .wi-tab:focus-visible, .fig-live .wi .wi-key:focus-visible, .fig-live .wi .wi-step:focus-visible, .fig-live .wi a:focus-visible { outline: 2px solid var(--wi-focus); outline-offset: 2px; }
.fig-live .wi .wi-panel:focus-visible { outline: 2px solid var(--wi-focus); outline-offset: 4px; }

/* panels: all shown, one under the other; on a screen, with the script, they lie in one grid cell, so the height never jumps.
   Every rule that hides or stacks something is inside "@media screen", so print gets the same page as a reader without scripts. */
.fig-live .wi .wi-panels { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px 24px; }
.fig-live .wi .wi-panel { min-width: 0; margin: 0; }
.fig-live .wi .wi-head { font-size: 17px; line-height: 1.2; margin: 0 0 4px; }
.fig-live .wi .wi-head .wi-num { margin-right: 0.15em; }
@media screen {
  .fig-live .wi.wi-js .wi-panels { gap: 0; }
  .fig-live .wi.wi-js .wi-panel { grid-area: 1 / 1; transition: opacity 0.18s linear; }
  .fig-live .wi.wi-js .wi-panel.wi-off { visibility: hidden; opacity: 0; }
  .fig-live .wi.wi-js[data-head="tabs"] .wi-head { display: none; }
}

/* highlighting */
.fig-live .wi [data-in] { transition: opacity 0.14s linear; }
.fig-live .wi .wi-dim { opacity: 0.16; }
.fig-live .wi .wi-key {
  all: unset; box-sizing: border-box; display: inline; font: inherit; font-weight: 600; color: var(--wi-black); white-space: nowrap; border-radius: 4px; padding: 0 4px 0 3px;
  border: 1px solid transparent;
}
.fig-live .wi .wi-key svg { display: inline-block; vertical-align: -2px; margin-right: 4px; }
.fig-live .wi.wi-js .wi-key { cursor: pointer; background: var(--wi-paper); border-color: var(--wi-line); }
.fig-live .wi.wi-js .wi-key:hover, .fig-live .wi.wi-js .wi-key.wi-on { background: #f3f1ea; }
.fig-live .wi .wi-key[aria-pressed="true"] { border-color: var(--wi-grey); }
.fig-live .wi.wi-js svg [data-hl] { cursor: default; }

@container (max-width: 339.9px) {
  .fig-live .wi .wi-tabs:not([data-cols="6"]) .wi-glyph { display: none; }
}
@container (max-width: 599.9px) {
  /* one column: a hidden panel takes no room, so no gap is left under a short one */
  @media screen { .fig-live .wi.wi-js .wi-panel.wi-off { display: none; } }
}
@container (min-width: 600px) {
  .fig-live .wi .wi-wide { display: block; }
  .fig-live .wi .wi-narrow { display: none; }
  /* roomy tabs: the glyph, larger, above the name */
  .fig-live .wi .wi-tabs[data-cols="4"] .wi-tab, .fig-live .wi .wi-tabs[data-cols="3"] .wi-tab { flex-direction: column-reverse; align-items: flex-start; justify-content: flex-end; gap: 7px; padding: 10px 12px 9px; }
  .fig-live .wi .wi-tabs[data-cols="4"] .wi-glyph, .fig-live .wi .wi-tabs[data-cols="3"] .wi-glyph { width: 58px; }
  .fig-live .wi .wi-tabs[data-cols="4"] .wi-tab, .fig-live .wi .wi-tabs[data-cols="3"] .wi-tab { font-size: 17px; }
  .fig-live .wi.wi-js .wi-tabs[data-cols="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fig-live .wi.wi-js .wi-tabs[data-cols="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fig-live .wi.wi-js .wi-tabs[data-cols="6"] { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@container (min-width: 690px) {
  .fig-live .wi:not(.wi-js) .wi-panels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fig-live .wi:not(.wi-js) .wi-wide { display: none; }
  .fig-live .wi:not(.wi-js) .wi-narrow { display: block; }
  @media print {
    .fig-live .wi .wi-panels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fig-live .wi .wi-wide { display: none; }
    .fig-live .wi .wi-narrow { display: block; }
  }
}
@media (forced-colors: active) {
  .fig-live .wi .wi-tab[aria-selected="true"] { border-color: Highlight; outline: 1px solid Highlight; outline-offset: -3px; }
}
/* On paper the static image, which the page keeps beside each live figure, is the better figure: it fits one page. Where there is none (or no :has), the panels print. */
@media print {
  .fig-live:has(> .wi):has(+ .fig-static) { display: none !important; }
  .fig-live:has(> .wi) + .fig-static { display: block !important; }
  .fig-live .wi .wi-panel { break-inside: avoid; }
  .fig-live .wi .wi-dim { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .fig-live .wi [data-in], .fig-live .wi .wi-tab, .fig-live .wi .wi-tab .wi-glyph, .fig-live .wi.wi-js .wi-panel { transition: none; }
}

/* The four settings (image 1): what it needs beyond the shared look */
.fig-live .wi-settings .wi-lead { margin: 0 0 12px; }
.fig-live .wi-settings .wi-stage { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.fig-live .wi-settings .wi-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; min-width: 0; }
.fig-live .wi-settings .wi-step {
  all: unset; box-sizing: border-box; display: block; width: 100%; font: inherit; color: inherit; padding: 5px 8px 5px 12px; border-left: 2px solid var(--wi-line); border-radius: 0 4px 4px 0;
  -webkit-tap-highlight-color: transparent; transition: border-color 0.14s linear, background-color 0.14s linear;
}
.fig-live .wi-settings .wi-step .wi-say, .fig-live .wi-settings .wi-step .wi-eyebrow { display: block; }
.fig-live .wi-settings .wi-step .wi-eyebrow { margin-bottom: 2px; }
.fig-live .wi-settings.wi-js .wi-step { cursor: pointer; }
.fig-live .wi-settings.wi-js .wi-step.wi-on, .fig-live .wi-settings .wi-step[aria-pressed="true"] { border-color: var(--wi-resp); background: var(--wi-paper); }
.fig-live .wi-settings .wi-w { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-skip-ink: none; }
.fig-live .wi-settings .wi-w-resp { text-decoration-color: var(--wi-resp); }
.fig-live .wi-settings .wi-w-reci { text-decoration-color: var(--wi-reci); }
.fig-live .wi-settings .wi-white { fill: #fff; }
.fig-live .wi-settings a.wi-more { margin: 0 0 -6px 14px; }
.fig-live .wi-settings .wi-keyline { margin: 16px 0 0; padding-top: 12px; border-top: 1.5px solid var(--wi-line); font-size: 13px; line-height: 1.6; color: var(--wi-label); }
@container (min-width: 600px) { @media screen {
  .fig-live .wi-settings.wi-js .wi-steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; align-items: start; }
  .fig-live .wi-settings.wi-js .wi-step { border-left: none; border-top: 2px solid var(--wi-line); border-radius: 0; padding: 9px 0 4px; }
  .fig-live .wi-settings.wi-js .wi-step.wi-on, .fig-live .wi-settings.wi-js .wi-step[aria-pressed="true"] { background: none; }
  .fig-live .wi-settings.wi-js a.wi-more { margin-left: 0; }
} }
@media print {
  .fig-live .wi-settings a.wi-more { display: none; }
}
@media (prefers-reduced-motion: reduce) { .fig-live .wi-settings .wi-step { transition: none; } }

/* The post's second infographic (third image in the doc, "Figure 2" on the page): what it needs beyond the shared look.
   Colours are sampled from the original image. Small terracotta lettering uses the shared, slightly darker --wi-resp-text, for contrast. */
.fig-live .wi-protections { --wp-mid: #8f877c; --wp-pale: #cfc8be; --wp-dark: #1f1d1a; --wp-err: #e0805c; --wp-big: 34px; --wp-tab-pad: 9px; }
.fig-live .wi-protections.wi-js .wi-tabs { margin-bottom: 12px; }
.fig-live .wi-protections .wi-tab .wi-label { display: block; }
/* six narrow tabs: the numeral stands beside the glyph, so that the widest words ("affordance", "Protection") have the tab's whole width */
.fig-live .wi-protections .wi-tabs .wi-tab { position: relative; gap: 6px; padding-left: var(--wp-tab-pad); padding-right: var(--wp-tab-pad); }
.fig-live .wi-protections .wi-tab .wi-num { position: absolute; left: var(--wp-tab-pad); top: 12px; margin: 0; }
.fig-live .wi-protections .wi-tab .wi-glyph { align-self: flex-end; }
.fig-live .wi-protections .wi-panel { margin: 0; border: 1.5px solid var(--wi-line); border-radius: 8px; padding: 16px 18px 18px; background: #fff; }
.fig-live .wi-protections .wi-desc { margin: 0 0 14px; text-wrap: balance; }
.fig-live .wi-protections .wp-art { max-width: 320px; }
.fig-live .wi-protections .wp-words { margin-top: 18px; padding: 14px 16px 16px; background: var(--wi-paper); border-radius: 6px; }
.fig-live .wi-protections .wp-words > * + * { margin-top: 10px; }
.fig-live .wi-protections blockquote.wi-quote { margin: 10px 0 0; font-style: normal; }
.fig-live .wi-protections .wp-words > blockquote.wi-quote:first-child { margin-top: 3px; }
.fig-live .wi-protections .wi-quote .wi-attr { display: block; margin-top: 4px; }
/* a 44px target for fingers; on a pseudo-element, so that the focus ring stays round the words */
.fig-live .wi-protections a.wi-more { position: relative; padding: 0; margin: 0; }
.fig-live .wi-protections a.wi-more::after { content: ""; position: absolute; inset: -13px 0; }
.fig-live .wi-protections .wp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.fig-live .wi-protections .wp-long { font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }

/* lettering in the left column */
.fig-live .wi-protections .wp-eyebrow { margin: 20px 0 9px; line-height: 1.35; text-wrap: balance; }
.fig-live .wi-protections .wp-eyebrow span { display: inline-block; }
.fig-live .wi-protections .wp-art > .wp-eyebrow:first-child { margin-top: 2px; }
.fig-live .wi-protections .wp-note { color: var(--wi-label); margin-top: 8px; line-height: 1.4; text-wrap: balance; }
.fig-live .wi-protections .wp-nb { white-space: nowrap; }
.fig-live .wi-protections text.wp-caps { font-weight: 600; letter-spacing: 0.08em; fill: var(--wi-label); }
.fig-live .wi-protections text.wp-r { fill: var(--wi-resp-text); }
.fig-live .wi-protections text.wp-b { font-weight: 600; }

/* bars on a track from 0 to 100% */
.fig-live .wi-protections .wp-bars { display: grid; row-gap: 11px; }
.fig-live .wi-protections .wp-row { display: grid; grid-template-columns: 62px minmax(0, 1fr); align-items: center; color: var(--wi-black); }
.fig-live .wi-protections .wp-motives .wp-row { grid-template-columns: 136px minmax(0, 1fr); }
.fig-live .wi-protections .wp-motives { row-gap: 18px; margin: 12px 0 16px; }
.fig-live .wi-protections .wp-motives .wp-track { height: 24px; }
/* the track's outline is a shadow, not a border, so that a fill of N% is N% of the track's full width */
.fig-live .wi-protections .wp-track { display: flex; align-items: center; height: 20px; box-shadow: inset 0 0 0 1.5px var(--wi-line); background: #fff; }
.fig-live .wi-protections .wp-fill { flex: none; align-self: stretch; min-width: 2px; background: var(--wp-mid); transform-origin: 0 50%; }
.fig-live .wi-protections .wp-val { margin-left: 9px; font-weight: 600; color: var(--wi-label); }
.fig-live .wi-protections .wp-lead .wp-lab { font-weight: 700; }
.fig-live .wi-protections .wp-lead .wp-fill { background: var(--wi-resp); }
.fig-live .wi-protections .wp-lead .wp-val { color: var(--wi-resp-text); }
.fig-live .wi-protections .wp-pale .wp-fill { background: var(--wp-pale); }

/* display numerals */
.fig-live .wi-protections .wp-stat { display: grid; grid-template-columns: 80px minmax(0, 1fr); align-items: center; margin-top: 8px; color: var(--wi-black); }
.fig-live .wi-protections .wp-big { font-size: var(--wp-big); line-height: 1.1; font-weight: 400; letter-spacing: -0.03em; color: var(--wi-resp); font-variant-numeric: lining-nums; white-space: nowrap; }
.fig-live .wi-protections .wp-stat-text { line-height: 1.35; }

/* drawings */
.fig-live .wi-protections .wp-door { fill: var(--wi-resp-pale); stroke: var(--wi-resp); stroke-width: 1.75; stroke-linejoin: miter; }
.fig-live .wi-protections .wp-fillr { fill: var(--wi-resp); }
.fig-live .wi-protections .wp-box { fill: #fff; stroke: var(--wi-line); stroke-width: 1.5; }
.fig-live .wi-protections .wp-thresh { fill: none; stroke: var(--wi-resp); stroke-width: 1.25; stroke-dasharray: 4 3; }
.fig-live .wi-protections .wp-distress { fill: none; stroke: var(--wi-reci); stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.fig-live .wi-protections .wp-stop { fill: none; stroke: var(--wi-resp); stroke-width: 1.75; }
.fig-live .wi-protections .wp-env { border: 1.5px solid var(--wp-pale); border-radius: 6px; background: #fff; overflow: hidden; }
.fig-live .wi-protections .wp-flap { height: 34px; }
.fig-live .wi-protections .wp-flap path { fill: none; stroke: var(--wp-pale); stroke-width: 1.5; stroke-linejoin: round; }
.fig-live .wi-protections .wp-msg { padding: 6px 14px 12px; color: var(--wi-black); line-height: 1.4; }
.fig-live .wi-protections .wp-msg b { font-weight: 700; }
.fig-live .wi-protections .wp-msg span { display: block; max-width: 262px; text-wrap: balance; }
.fig-live .wi-protections .wp-term { background: var(--wp-dark); border-radius: 6px; padding: 9px 13px 11px; }
.fig-live .wi-protections .wp-dots { display: flex; gap: 4px; margin: 0 0 8px -4px; }
.fig-live .wi-protections .wp-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--wp-pale); }
.fig-live .wi-protections .wp-term pre { margin: 0; padding: 0; border: 0; background: none; white-space: pre-wrap; overflow: visible; color: var(--wp-pale);
  font: 400 13px/1.38 ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; letter-spacing: -0.01em; }
.fig-live .wi-protections .wp-err { color: var(--wp-err); }
.fig-live .wi-protections .wp-err b { font-weight: 700; }
.fig-live .wi-protections .wp-gap { display: block; margin-top: 5px; }

/* stacked bars: refuses, redirects, complies */
.fig-live .wi-protections .wp-stacks { display: grid; row-gap: 8px; margin-top: -6px; }
.fig-live .wi-protections .wp-srow { display: grid; grid-template-columns: 62px minmax(0, 1fr); align-items: end; color: var(--wi-black); }
.fig-live .wi-protections .wp-srow .wp-lab { line-height: 28px; }
.fig-live .wi-protections .wp-strack { display: flex; height: 28px; margin-top: 20px; background: var(--wi-line); }
.fig-live .wi-protections .wp-seg { position: relative; flex: none; display: flex; align-items: center; justify-content: center; font-weight: 600; }
.fig-live .wi-protections .wp-seg.wp-refuses { color: #fff; flex-shrink: 1; }
.fig-live .wi-protections .wp-refuses { background: var(--wi-resp); }
.fig-live .wi-protections .wp-redirects { background: var(--wi-resp-pale); border: 1.5px solid var(--wi-resp); }
.fig-live .wi-protections .wp-complies { background: var(--wi-line); }
.fig-live .wi-protections .wp-seg.wp-redirects { color: var(--wi-resp-text); min-width: 5px; }
.fig-live .wi-protections .wp-seg.wp-redirects > span { position: absolute; bottom: calc(100% + 2px); left: 50%; transform: translateX(-50%); }
.fig-live .wi-protections .wp-seg.wp-redirects.wp-at-right > span { left: auto; right: -1.5px; transform: none; }
.fig-live .wi-protections .wp-legend { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 16px 0 0 !important; padding: 0 !important; list-style: none; color: var(--wi-black); }
.fig-live .wi-protections .wp-legend li { display: flex; align-items: center; gap: 8px; margin: 0 !important; padding: 0; }
.fig-live .wi-protections .wp-legend li::before { content: none; }
.fig-live .wi-protections .wp-sw { flex: none; width: 14px; height: 14px; }

/* glyphs on the tabs */
.fig-live .wi-protections .wi-glyph .wi-k { stroke-width: 1.5; }
.fig-live .wi-protections .wi-glyph .wp-door { stroke-width: 1.5; }
.fig-live .wi-protections .wi-glyph .wp-distress { stroke-width: 2; }
.fig-live .wi-protections .wp-paper { fill: #fff; stroke: var(--wp-mid); stroke-width: 1.5; }
.fig-live .wi-protections .wp-paperline { fill: none; stroke: var(--wp-mid); stroke-width: 1.5; stroke-linejoin: round; }
.fig-live .wi-protections .wp-dark { fill: var(--wp-dark); }
.fig-live .wi-protections .wp-dot { fill: var(--wp-pale); }
.fig-live .wi-protections .wp-errline { fill: none; stroke: var(--wp-err); stroke-width: 2; stroke-linecap: round; }
.fig-live .wi-protections .wp-redir { fill: var(--wi-resp-pale); stroke: var(--wi-resp); stroke-width: 1.5; }
.fig-live .wi-protections .wp-comp { fill: var(--wi-line); }
.fig-live .wi-protections .wp-tr { fill: #fff; stroke: var(--wp-mid); stroke-width: 1.25; }
.fig-live .wi-protections .wp-grey { fill: var(--wp-mid); }

/* The shared sheet puts six tabs in a row and stacks the panels in one cell from 600px. This graphic needs 660px for that ("affordance" needs a tab of 101px,
   and the side column room for its sentences), so from 600 to 660px it keeps the phone's layout. */
@media screen {
  @container (min-width: 600px) and (max-width: 659.9px) {
    .fig-live .wi.wi-protections.wi-js .wi-tabs[data-cols="6"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .fig-live .wi.wi-protections.wi-js .wi-panel.wi-off { display: none; }
  }
}
/* with the script, from 660px: drawing and numbers on the left, the post's words in a full-height side column on the right.
   The panels share one height, that of the tallest. */
@media screen {
  @container (min-width: 660px) {
    .fig-live .wi-protections.wi-js .wi-panel { display: grid; grid-template-columns: 320px minmax(0, 1fr); column-gap: 22px; padding: 0 0 0 20px; overflow: hidden; }
    .fig-live .wi-protections.wi-js .wp-left { padding: 20px 0 18px; }
    .fig-live .wi-protections.wi-js .wp-words { margin-top: 0; padding: 20px 20px 18px; border-radius: 0; }
  }
}

/* the narrowest phones: two tabs in a row */
@container (max-width: 305.9px) {
  .fig-live .wi.wi-protections.wi-js .wi-tabs[data-cols="6"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* narrow phones: less padding, so that "affordance" fits its tab and the terminal's longest line fits down to a 360px window */
@container (max-width: 350px) {
  .fig-live .wi-protections { --wp-tab-pad: 6px; }
  .fig-live .wi-protections.wi-js .wi-tabs { gap: 6px; }
  .fig-live .wi-protections .wi-panel { padding: 14px 12px 12px; }
  .fig-live .wi-protections .wp-term { padding-left: 10px; padding-right: 8px; }
  .fig-live .wi-protections .wp-dots { margin-left: -2px; }
}
/* without the script, two panels side by side: the same */
@container (min-width: 690px) {
  .fig-live .wi-protections:not(.wi-js) .wi-panel { padding: 14px 12px 12px; }
  .fig-live .wi-protections:not(.wi-js) .wp-term { padding-left: 11px; padding-right: 8px; }
}

/* Windows high contrast: keep the bars' own colours, and give the tracks an outline that survives */
@media (forced-colors: active) {
  .fig-live .wi-protections .wp-fill, .fig-live .wi-protections .wp-strack, .fig-live .wi-protections .wp-seg, .fig-live .wi-protections .wp-sw, .fig-live .wi-protections .wp-term { forced-color-adjust: none; }
  .fig-live .wi-protections .wp-track { outline: 1px solid CanvasText; outline-offset: -1px; background: none; }
}

/* The frame of the panel stays put when the tab changes; only what is in it fades in. */
.fig-live .wi-protections.wi-js .wi-panel { transition: none; }
/* A short entrance whenever a panel is shown (also on load). The resting state is the drawing as printed. */
@media screen and (prefers-reduced-motion: no-preference) {
  .fig-live .wi-protections.wi-js .wi-active .wp-left, .fig-live .wi-protections.wi-js .wi-active .wp-words > * { animation: wp-fade 0.18s linear backwards; }
  .fig-live .wi-protections.wi-js .wi-active .wp-fill { animation: wp-grow 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
  .fig-live .wi-protections.wi-js .wi-active .wp-strack { animation: wp-reveal 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
  .fig-live .wi-protections.wi-js .wi-active .wp-row:nth-child(2) .wp-fill, .fig-live .wi-protections.wi-js .wi-active .wp-srow:nth-child(2) .wp-strack { animation-delay: 0.07s; }
  .fig-live .wi-protections.wi-js .wi-active .wp-row:nth-child(3) .wp-fill { animation-delay: 0.14s; }
  .fig-live .wi-protections.wi-js .wi-active .wp-val { animation: wp-fade 0.3s linear 0.35s backwards; }
  .fig-live .wi-protections.wi-js .wi-active .wp-monitor .wp-distress { stroke-dasharray: 1; animation: wp-draw 0.9s ease-in-out backwards; }
  .fig-live .wi-protections.wi-js .wi-active .wp-monitor .wp-end { animation: wp-fade 0.25s linear 0.85s backwards; }
  .fig-live .wi-protections.wi-js .wi-active .wp-subject { animation: wp-leave 0.8s cubic-bezier(0.3, 0.6, 0.2, 1) backwards; }
  .fig-live .wi-protections.wi-js .wi-active .wp-go { animation: wp-fade 0.3s linear 0.1s backwards; }
}
@keyframes wp-grow { from { transform: scaleX(0); } }
@keyframes wp-fade { from { opacity: 0; } }
@keyframes wp-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes wp-leave { from { transform: translateX(-120px); opacity: 0; } 30% { opacity: 1; } }
/* uncovers a stacked bar from the left, with the small numbers above it */
@keyframes wp-reveal { from { clip-path: inset(-24px 100% 0 0); } to { clip-path: inset(-24px -4px 0 0); } }
