/* Comp A7 case study: A2's case study (a2-case.html, layout H) moved onto the system it shares with home A7
   (a7-system.css). Overrides only; A2 and its shared stylesheets are unchanged. Cindy's handoff of 2026-11-15. */

/* the frame: 825px (B, five 165px squares) or 800px (A), centered, its left edge on a whole pixel, at the same x as
   home's */
html.a7 body.sys { --frame-w: min(710px, var(--fw, 770px));   /* (710px at most: Cindy 2026-11-18, after 700; was the grid's frame, 720 at 1440) */ --sec-gap: 99px; }   /* (the shared grid's frame: 770 on 9 columns, 704 on 8; gap band:
   A2's 96px, snapped to the 11px fine unit) */
/* (the case column itself starts on a fraction of a pixel, so the frame's edge is set from home's whole-pixel --fl
   less the column's measured left, --case-x, set by the page) */
html.a7 body.lx-g.lx-g.lx-g .case > *, html.a7 body.lx-g.lx-g.lx-g .case #tldr { --g-left: calc(var(--fl) - var(--case-x, 0px)); }

/* one line gray: A2's 10% black, solid (#DBDAD6 on the paper), so crossings no longer darken; same weight */
html.a7 body.lx-g.gl-25 { --frame: 0.75px solid var(--case-line); --hair: 0.75px solid var(--case-line); --line: 0.75px solid var(--case-line); --sh-line: 0.75px solid var(--case-line); }
html.a7 body.lx-g.gl-25 .case.v3 :is(.v3-methods, .v3-cards) > li, html.a7 body.lx-g.gl-25 .case.v3 .v3-trace tbody tr:not(.tt-gh) > * { border-color: var(--case-line) !important; }

/* the header is fixed (A2's bar sat in the flow): the page starts under it */
html.a7 body.lx-g { padding-top: var(--hd, 44px); }

/* right margin: the notes start one inset (6px) right of the frame's right edge (A2: 40px) */
html.a7 body.lx-g.lx-g.lx-g.g-notes-out.asides-side .case.v3 :is(.sec-body, .v3-sub) > .prose .tip > .tip__body,
html.a7 body.lx-g.lx-g.lx-g.g-notes-out.asides-side .case.v3 :is(.sec-body, .v3-sub) > .prose .tip:is(:hover, :focus-within, .open) > .tip__body,
html.a7 body.lx-g.lx-g.lx-g.g-notes-out .case.v3 :is(.sec-body, .v3-sub) > .prose .tip:is(:hover, :focus-within, .open) > .tip__body,
html.a7 body.lx-g.lx-g.lx-g.g-notes-out .case.v3 .sec-body > .prose .mnote {
  margin-right: calc(-1 * (var(--pad-x) + 6px + var(--g-note-w))) !important; }
html.a7 body.lx-g.lx-g.lx-g.g-notes-out .case.v3 .section-head > .g-sub > a.g-hnote,
html.a7 body.lx-g.lx-g.lx-g.g-notes-out .case.v3 .section-head > .sec-line > a.g-hnote { left: calc(100% + 6px) !important; }

/* left margin: the index starts one inset right of the module line left of the frame */
html.a7 body.lx-g.g-index-ok.gx-index #g-index:not([hidden]) { left: calc(var(--fl) - var(--mod) + 6px - var(--ix-in, 0px)); }

/* (the rest of A2's 10% black lines, made the same solid gray) */
html.a7 body.lx-g.gl-25 .case.v3 :is(.tt-wrap, .table-scroll, .ledger, .st-body) :is(tr, th, td, li, summary),
html.a7 body.lx-g.gl-25 .case.v3 .tier-fold > summary,
html.a7 body.lx-g.gl-25 .case.v3 .ledger .given > li,
html.a7 body.lx-g.gl-25 .case.v3 #impact .hero-figs > li { border-color: var(--case-line) !important; }
html.a7 body.lx-g.gl-25.g-groups-ok.gs-stack .case.v3 .act > .g-group > span.is-in { border-bottom-color: var(--case-line) !important; }
html.a7 body.lx-g.gl-25.lx-g.lx-g.g-notes-out .case.v3 .section-head > .sec-line > .g-cover { border-color: var(--case-line); --cv-line: var(--case-line); }
html.a7 body.lx-g.gl-25.lx-g.lx-g.lx-g.g-notes-out .case.v3 .section-head > .sec-line > .g-cover { --cv-line: var(--case-line); }
html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g .case.v3 figure.v3-shot > .figure__frame img { outline-color: var(--case-line); }

/* the section subheads (04) run the frame's width: A2 capped them at 62ch, so they wrapped well short of the frame
   (Cindy 2026-11-15) */
html.a7 body.lx-g.lx-g.lx-g.lx-sys .case.v3.v3 .section-head > .g-sub > h2 { max-width: none; text-wrap: wrap; }

/* the lines above and below "Back" run on through both margins to the window's edges (Cindy 2026-11-15). Drawn by the
   Back cell's two pseudo-elements (A2's crossing dots, which are off): one on its top rule, one on the title cell's
   top rule just under it */
html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 .case-hero > .g-back { position: relative; }
html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 .case-hero > .g-back::before,
html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 .case-hero > .g-back::after {
  content: "" !important; display: block !important; position: absolute !important; left: -100vw !important; right: -100vw !important; width: auto !important;
  height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-top: 0.75px solid var(--case-line) !important;
  border-radius: 0 !important; background: none !important; box-shadow: none !important; z-index: 0 !important; pointer-events: none; }
html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 .case-hero > .g-back::before { top: -1px !important; bottom: auto !important; }
/* (Cindy 2026-11-17: no rule above Back: with the header bar gone, the page opens on open space down to it) */
html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 .case-hero > .g-back::before { display: none !important; }
html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 .case-hero > .g-back::after { top: 100% !important; bottom: auto !important; }
/* the frame's side lines over the section header cells, which are filled with paper and covered them */
html.a7 body > .g-lines > i { z-index: 21 !important; }   /* (the lines themselves: their container is not positioned, so it is not a layer) */

/* home A8 to the case study: the browser's own page transition; the AO hero image shares the card image's name */
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) { @view-transition { navigation: auto; } }   /* (motion handoff 2026-11-19, step 5: no page transitions on phones or with reduced motion; page changes are instant) */
#case img[src*="ao-cover"], #case img[data-cover] { view-transition-name: cover-ao; }
html:not(.ot-vt)::view-transition-group(*) { animation-duration: 400ms; animation-timing-function: cubic-bezier(.2, .7, .2, 1); }   /* (ot=cut, and the glide; the morph times its own: a7-system.css) */
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }
/* (Cindy 2026-11-16: the lines above and below "Back" run the full width, each drawn once: the extensions above are
   the only lines there; the Back cell's and the title cell's own frame-wide borders under them are transparent, so
   nothing doubles) */
html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 .case-hero > .g-back { border-top-color: transparent !important; }
html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 .case-hero > .case-hero__head { border-top-color: transparent !important; }
/* (Cindy 2026-11-16: the header's dividers at the case study's line weight, 0.75px, so they meet the column lines under
   them exactly; those sit on the frame's edges now, as the dividers do) */
/* (Cindy 2026-11-16: the header's lines drawn exactly as the page's are, 0.75px borders in the case study's gray, so they
   round alike at every zoom and screen (painted 1px dividers could come out heavier, reading darker)) */
html.a7 body .sh { --lf: 0.75px; background: var(--paper, #F3F2EE) !important; }
@media (min-width: 1024px) {
  html.a7 body .sh .sh-nav a { border-left: 0.75px solid var(--case-line, #CDCBC5); }
}
/* (Cindy 2026-11-16: Overview isn't a section of its own: no heading row; its paragraph sits right under the photo) */
html.a7 body #case #tldr > .section-head, html.a7 body #case #tldr > .hang { display: none !important; }
html.a7 body #case .case-hero { padding-bottom: 0 !important; }   /* (no gap band under the photo: the Overview paragraph follows it directly) */
html.a7 body .sh::after { border-top-width: 0.75px !important; }
/* (Cindy 2026-11-16: a heading stuck under the header doesn't draw its top rule (cell border, margin extension, margin
   cover): the header's bottom line is there already, and the two side by side read as a darker nav line. a8-case.html
   marks the stuck one) */
html.a7 body #case .section-head > .sec-line.is-stuck { border-top-color: transparent !important; }
html.a7 body #case .section-head > .sec-line.is-stuck::before { border-top-color: transparent !important; }
html.a7 body #case .section-head > .sec-line.is-stuck > .g-cover { border-top-color: transparent !important; }
/* (a test, Cindy 2026-11-16, the "sr" switch: each section heading's bottom rule full width too (its top rule already
   is). The margins get the rule on exactly the cell's own bottom border's line, above the margin covers) */
html:is(.sr-full, .sr-bottom) body #case .section-head > .sec-line::after { display: block !important; z-index: 2 !important; top: auto !important; height: 0 !important; bottom: -0.75px !important; border-top: var(--frame, 0.75px solid var(--case-line)) !important; }
/* (Cindy 2026-11-17: the rule's margin parts were drawn 1px, thicker than the 0.75px rule under the title; now the same
   0.75px line as the cell's own bottom border, on exactly its line: anchored to the heading's foot, not its top) */
/* (mobile audit P0-1, 2026-11-19: the name row's right-margin cover ends at the window's edge. It was 100vw wide from
   the column's right edge, so it ran about a column's offset past the window; the column is centered, so the space to
   the edge is half of what the column leaves) */
html.a7 body.lx-g.lx-g.lx-g.lx-g.g-notes-out .case.v3 .section-head > .sec-line > .g-cover { width: calc((100vw - 100%) / 2 + 1px) !important; }
html.a7 body #case .section-head > .sec-line.is-top { box-shadow: 0 3px 0 0 var(--bg, #F3F2EE); }
html.a7 body #case .section-head > .sec-line.is-top > .g-cover { box-shadow: 0 3px 0 0 var(--bg, #F3F2EE); }
html.a7 body #case .section-head > .sec-line.abut { border-bottom-color: transparent !important; }
html.a7 body #case .section-head > .sec-line.abut::after, html.a7 body #case .section-head > .sec-line.abut > .g-cover { border-bottom-color: transparent !important; }
html.a7:is(.sr-full, .sr-bottom) body #case .section-head > .sec-line.abut::after { border-top-color: transparent !important; }
/* (a test, Cindy 2026-11-17, "sr" = bottom: the heading as home's Experience header: no rule above, only the full-width
   rule below; the open space at the end of the section before it is the room above. Lines stay the case study's gray) */
html.a7.sr-bottom body #case .section-head > .sec-line,
html.a7.sr-bottom body #case .section-head > .sec-line > .g-cover { border-top-color: transparent !important; }
html.a7.sr-bottom body #case .section-head > .sec-line::before { border-top-color: transparent !important; }
/* (Cindy 2026-11-16: "Enlarge" in the page's square-tag language, as the cover's "01 · Selected work" tab and the
   Coming Soon badge: square corners, paper, a hairline in ink, capitals) */
html.a7 body .case a.zoom::after { border-radius: 0 !important; background: var(--bg, #F3F2EE) !important; color: var(--ink, #111) !important; box-shadow: inset 0 0 0 1px var(--ink, #111); text-transform: uppercase; letter-spacing: 0.08em !important; padding: 3px 8px 2px !important; }
html.a7 body .lightbox { border-radius: 0 !important; }
html.a7 body .case .walk video { cursor: pointer; }

/* ===== Findings, layout L3 (handoff 2026-11-16-findings-l3): a header row (ID, name, verdict at the right edge),
   then the chain on the left (circles on an ink line, the last one filled: the result, with its caveat or what changed
   under it); the quote callouts keep their original styling, under the chain. Same markup and copy; the chain is CSS only
   (circles and line are pseudo-elements, so screen readers hear label + text in order). ===== */
html.a7 body .case.v3 #findings .fb { display: grid !important; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 0; row-gap: 0;
  align-items: stretch; margin: 0 0 0 -12px !important; padding: 0 !important; width: calc(100% + 24px); border: 0 !important; border-top: var(--frame) !important; box-shadow: none !important; background: none !important; }
html.a7 body .case.v3 #findings .section-head + .fb { border-top: 0 !important; }
/* header row: one rule under it, frame width */
html.a7 body .case.v3 #findings .fb-id { grid-column: 1 / -1; grid-row: 1; display: flex !important; flex-direction: row !important; align-items: center !important; gap: 12px !important;
  margin: 0; padding: 16px 160px 16px 12px; border-bottom: var(--frame); }
html.a7 body .case.v3 #findings .fb-name { font: 500 19px/26px "Inter Tight", sans-serif !important; letter-spacing: -0.005em; color: var(--ink); margin: 0; }
html.a7 body .case.v3 #findings .fb-status { grid-column: 1 / -1; grid-row: 1; justify-self: end; align-self: center; margin: 0 12px 0 0 !important;
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px !important; border: 1px solid var(--ink) !important; border-radius: 0 !important;
  font: 500 13px/19px var(--text-font, "Geist", sans-serif) !important; color: var(--ink) !important; background: transparent !important; white-space: nowrap; }
html.a7 body .case.v3 #findings .fb--over .fb-status { background: var(--ink) !important; color: var(--paper, #F3F2EE) !important; }
/* the chain */
html.a7 body .case.v3 #findings .fb-rows { grid-column: 1; grid-row: 2; margin: 0 !important; padding: 18px 24px 22px 12px; }
html.a7 body .case.v3 #findings .fb-rows > div { position: relative; margin: 0 !important; padding: 0 0 18px 26px; }
html.a7 body .case.v3 #findings .fb-rows > div:nth-last-child(2) { padding-bottom: 0; }
html.a7 body .case.v3 #findings .fb-rows > div:last-child { padding-bottom: 0; margin-top: 14px !important; }
html.a7 body .case.v3 #findings .fb-rows > div:not(:last-child)::before { content: ""; position: absolute; left: 0; top: 2px; width: 13px; height: 13px; box-sizing: border-box;
  border: 1px solid var(--ink); border-radius: 50%; background: var(--paper, #F3F2EE); z-index: 1; }
html.a7 body .case.v3 #findings .fb-rows > div:nth-last-child(2)::before { background: var(--ink); }
html.a7 body .case.v3 #findings .fb-rows > div:nth-last-child(n+3)::after { content: ""; position: absolute; left: 6px; top: 14px; bottom: 3px; width: 1px; background: var(--ink); }
html.a7 body .case.v3 #findings .fb-rows dt { margin: 0 0 4px; }
html.a7 body .case.v3 #findings .fb-rows > div:nth-last-child(2) dd { font-weight: 500; }
@media (max-width: 1023px) {
  html.a7 body .case.v3 #findings .fb { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; }
  html.a7 body .case.v3 #findings .fb-id { flex-wrap: wrap; padding-right: 130px; }
  html.a7 body .case.v3 #findings .fb-rows { padding-right: 12px; }
}
html.a7 body .case.v3 #findings .sec-body { padding-top: 0 !important; }
html.a7 body .case.v3 #findings .sec-body > article.fb:first-of-type { border-top: 0 !important; }
@media (max-width: 1023px) {
  /* (phones: the ID and the verdict share the first line, the name takes the full width under them) */
  html.a7 body .case.v3 #findings .fb-id { flex-wrap: wrap; padding: 16px 12px !important; row-gap: 10px !important; }
  html.a7 body .case.v3 #findings .fb-name { flex-basis: 100%; }
  html.a7 body .case.v3 #findings .fb-status { align-self: start; margin-top: 13px !important; }
}

/* (Cindy 2026-11-16: the quote callouts keep their original styling: each finding's quotes stay the band under the chain,
   and Overall is as before. The header row and the chain are the L3 part) */
html.a7 body .case.v3 #findings .fb > .fb-q { grid-column: 1 / -1; grid-row: 3; margin-left: 0 !important; margin-right: 0 !important; width: auto !important; }
html.a7 body .case.v3 #findings .fb-rows { padding-right: 12px; }

/* (Cindy 2026-11-16, later) Each finding's name styled as the Constraints heading in Constraints & Scope (a level
   smaller, Geist 500 16px, open space above, no rule over it); smaller circles on the chain; and a test: the quote
   callouts to the right of the steps, in their own callout style (switch "fq": right / under) */
html.a7 body .case.v3 #findings .sec-body > article.fb { border-top: 0 !important; }
html.a7 body .case.v3 #findings .fb-id { padding-top: 32px !important; padding-bottom: 16px !important; }
html.a7 body .case.v3 #findings .fb-status { align-self: start !important; margin-top: 29px !important; margin-bottom: 0 !important; }   /* (centered on the first line: the name on desktop, the ID on phones) */
html.a7 body .case.v3 #findings .fb-name { font: 500 calc(16px + var(--tx-bump, 0px))/1.35 var(--text-font, "Geist", sans-serif) !important; letter-spacing: -0.005em !important; }
html.a7 body .case.v3 #findings .fb > .fb-q { margin-bottom: 0 !important; }
html.a7 body .case.v3 #findings .fb-rows > div { padding-left: 22px; }
html.a7 body .case.v3 #findings .fb-rows > div:not(:last-child)::before { width: 9px; height: 9px; top: 5px; }
html.a7 body .case.v3 #findings .fb-rows > div:nth-last-child(n+3)::after { left: 4px; top: 14px; bottom: -5px; }
@media (min-width: 1024px) {
  html.fq-right body .case.v3 #findings .fb { grid-template-columns: minmax(0, 1fr) 280px; }
  html.fq-right body .case.v3 #findings .fb-rows { grid-column: 1; }
  html.fq-right body .case.v3 #findings .fb > .fb-q { grid-column: 2; grid-row: 2; align-self: start; margin: 18px 0 22px !important; --pq-in: 12px; padding-left: 12px !important; padding-right: 12px !important; border-left: var(--frame) !important; }
  html.fq-right body .case.v3 #findings .fb > .fb-q > .pq-cell { display: block !important; padding: 20px 16px !important; }
  html.fq-right body .case.v3 #findings .fb > .fb-q .pq-item { padding: 0 !important; margin: 0 !important; border-left: 0 !important; }
  html.fq-right body .case.v3 #findings .fb > .fb-q .pq-item + .pq-item { margin: 20px -16px 0 !important; padding: 20px 16px 0 !important; border-top: var(--frame) !important; }
}

/* (Cindy 2026-11-16) Section headings let go when the section's content ends, not when the next heading reaches them:
   the empty space at each section's foot moves from the body's padding to the section's, outside the box a sticky
   heading is held in (same space on the page: 99px, 64px in a narrow case column; Hypotheses has none) */
html.a7.a7.a7.a7 body .case.v3 .case-section > .sec-body { padding-bottom: 0 !important; }
html.a7.a7.a7.a7 body .case.v3 .case-section:has(> .sec-body):not(#hypotheses) { padding-bottom: 99px !important; }
@container case (max-width: 699px) { html.a7.a7.a7.a7 body .case.v3 .case-section:has(> .sec-body):not(#hypotheses) { padding-bottom: 64px !important; } }

/* (Cindy 2026-11-16) Result chips: drawn icons in the site's line language (1.5px strokes, square ends, like the
   Earlier "+"), in place of the ✓ and ↺ glyphs. Held: a check; Overturned: a return arrow, turning back. The glyphs
   stay in the markup (aria-hidden), drawn over by a mask in the chip's text color */
html.a7 body .case.v3 .chip :is(span[aria-hidden="true"]) { display: inline-block; width: 11px; height: 11px; font-size: 0; line-height: 0; vertical-align: -1px; margin-right: 2px;
  background: currentColor; -webkit-mask: var(--ic) center / 11px 11px no-repeat; mask: var(--ic) center / 11px 11px no-repeat; }
html.a7 body .case.v3 .chip.held { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 11'%3E%3Cpath d='M1.5 5.75 4.25 8.5 9.5 2.5' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E"); }
html.a7 body .case.v3 .chip.over { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 11'%3E%3Cpath d='M3.75 2.97A3.5 3.5 0 1 0 7.25 2.97' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='butt'/%3E%3Cpath d='M9.6 2.35 7.25 2.97 7.85 5.35' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='butt' stroke-linejoin='miter'/%3E%3C/svg%3E"); }   /* (Cindy 2026-11-18: an almost-full circle turning back, as the original ↺) */
html.a7 body .case.v3 #findings .fb-status { gap: 6px !important; }
/* (more room between the steps and the quotes: 48px beside them, 40px above them when they sit underneath) */
@media (min-width: 1024px) { html.fq-right body .case.v3 #findings .fb-rows { padding-right: 48px !important; } }
html.a7 body .case.v3 #findings .fb > .fb-q { margin-top: 40px !important; }
@media (min-width: 1024px) { html.fq-right body .case.v3 #findings .fb > .fb-q { margin-top: 18px !important; } }
/* (Cindy 2026-11-17: no header bar on the case study, only the logo floating top left. The bar has no height, fill or
   line, so the section headings stick at the very top of the window; the logo stays where it was and above them) */
html.a7 body .sh { height: 0 !important; background: transparent !important; pointer-events: none; }
html.a7 body .sh::after { display: none !important; }
html.a7 body .sh .sh-logo { pointer-events: auto; }
/* (narrower windows: the case study's own top bar (where you are, and Contents) sticks at the top; the floating logo
   sits at its left, centered on its height, the bar's text moved clear of it) */
@media (max-width: 1023px) {
  html.a7 body .sh .sh-logo { height: 56px; }
  html.a7 body.cv3 .m-bar:not([hidden]) { padding-left: 68px !important; }
}
/* (a test, Cindy 2026-11-17, "hl": the hero's full-width rule. now = as is; title = the rule under the project title runs
   to the window's edges; cover = the cover's top edge runs to the window's edges. Each the same 0.75px line as the cell's
   own, on exactly its line) */
html.ht-title body #case .case-hero > .case-hero__head::after { content: ""; display: block !important; position: absolute; left: -1440px; width: 3600px; bottom: -0.75px; height: 0; border-top: var(--frame, 0.75px solid var(--case-line)); pointer-events: none; }
html.ht-cover body #case .case-hero > .hero-still { position: relative; }
html.ht-cover body #case .case-hero > .hero-still::before { content: ""; position: absolute; left: -1440px; width: 3600px; top: 0; height: 0; border-top: var(--frame, 0.75px solid var(--case-line)); pointer-events: none; }
/* (Cindy 2026-11-17: with either test option, its full-width rule takes the place of the one under Back) */
html:is(.ht-title, .ht-cover) body.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 .case-hero > .g-back::after { display: none !important; }
/* (Cindy 2026-11-17: the dividers between C1/C2/C3 and A1/A2/A3 read darker than the page's other lines: they, and every
   other line built on A2's 1px --hairline, are now the case study's own 0.75px gray line) */
html.a7 body .case.v3 { --hairline: 0.75px solid var(--case-line, #CDCBC5); }
/* (Cindy 2026-11-17: the Design Question's two vertical lines run 8px past its gray band at the top and bottom, as the
   quote callouts' do (theirs: 16px past the quote's own cell, so 8px past the band), not clipped at the band's edges) */
html.a7 body.lx-g .case.v3 #hypotheses .g-dq::before,
html.a7 body.lx-g .case.v3 #hypotheses .g-dq::after { top: -8px !important; bottom: -8px !important; }
/* (a test, Cindy 2026-11-17, "hs": the photo straight under the facts, without the empty strip above it; works with each
   title rule option) */
html.hs-none body #case .case-hero > .hero-still { margin-top: 0 !important; }
/* (Cindy 2026-11-17: the scope's tags separated with the facts' own dot, gray; each tag its own word for screen readers) */
html.a7 body .case.v3 .sys-meta > div:is(:nth-child(4):not(:has(~ .sys-tags)), .sys-tags) dd > span + span::before { content: "·" / ""; margin: 0 0.5em 0 0.25em; color: var(--gray); }
/* (Cindy 2026-11-17: Approach's paragraph gets the room the other sections' body text has: 32px under the heading's rule,
   as Core Problem 1's, and 32px between the key line and the Design Question below it) */
html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #hypotheses > .sec-body > .prose { padding-top: 32px !important; }
html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #hypotheses .prose > .g-dq { margin-top: 32px !important; }
/* (Cindy 2026-11-17: Back as the side nav's first item, in the list's own smaller style, a line's space below it so it
   doesn't read as one of the sections; the hero's Back hidden while the nav shows (its row stays, so nothing moves)) */
html.a7 body.lx-g.g-index-ok #g-index > a.gx-back { display: flex !important; gap: 0 !important; margin-bottom: 20px !important; font-size: calc(12px + var(--tx-bump, 0px)) !important; line-height: 24px !important; }
html.a7 body.lx-g.g-index-ok #g-index > a.gx-back > span { margin-right: 0.35em; }
html.a7 body.lx-g.g-index-ok .case.v3 .case-hero > .g-back > a { visibility: hidden; }
/* (Cindy 2026-11-17: with the cover's edge as the full-width rule, no rule between the title and the facts) */
html.ht-cover body #case .case-hero > .case-hero__head { border-bottom-color: transparent !important; }
/* (Cindy 2026-11-17, bug: a big black box on load. Arriving at a #section, the page moves focus to that section so the
   next Tab continues from there; on a fresh load Chrome counts that as keyboard focus and drew its 2-3px ring around
   the whole section. Places that receive focus this way (tabindex -1) get no ring: they aren't controls, and their
   arrival tint already marks them. Links and buttons keep their rings) */
html.a7 body #case [tabindex="-1"]:is(:focus, :focus-visible), html.a7 body footer.a8ft[tabindex="-1"]:is(:focus, :focus-visible) { outline: none !important; }
/* (Cindy 2026-11-17: the section names indented a little from the group labels (DISCOVERY, DESIGN, TESTING); Back stays
   at the list's edge) */
html.a7 body.lx-g.g-index-ok #g-index .gx--index > .gx-g > ol > li > a { padding-left: 18px !important; }   /* (labels and Back sit 8px in: names 10px past them)
/* (Cindy 2026-11-17: the current-section line moves right with the indented names, 8px before them as before, and is
   shorter: 14px of the 24px row, centered on the name) */
html.a7 body.lx-g.gx-index #g-index > .gx-bar { left: 10px !important; height: 14px !important; margin-top: 5px !important; }
/* (Cindy 2026-11-17: with no strip above the photo, the facts' bottom rule and the photo frame's top edge sat side by
   side, a double line, heavier than the photo's bottom edge. The photo's own edge is the line now) */
html.hs-none body #case .case-hero > .sys-meta { border-bottom-color: transparent !important; }
/* (Cindy 2026-11-17: footer E, the ink slab, sits over the reading column's fixed frame lines, so they stop at its top) */
html.a7 body footer.a8ft[data-ft="e"] { z-index: 22 !important; }
/* (Cindy 2026-11-17: no underline on hovering the side nav's items, Back included) */
html.a7 body #g-index a:is(:hover, :focus-visible), html.a7 body #g-index a:is(:hover, :focus-visible) * { text-decoration: none !important; }

/* (a test, Cindy 2026-11-18, "fs": more white space under each finding, on the case study's own steps. The space after a
   finding's last line (its caveat or what changed) before the next finding's name, which adds its own 32px above:
   32 = 64px between findings (a section's closing space in a narrow column); 64 = 96px (a whole section's closing
   space); now = 22 (54px). Beside the quotes, the chain carries it; with the quotes underneath, they do) */
@media (min-width: 1024px) {
  html.fs-32.fq-right body .case.v3 #findings .fb-rows { padding-bottom: 32px !important; }
  html.fs-64.fq-right body .case.v3 #findings .fb-rows { padding-bottom: 64px !important; }
  html.fs-32.fq-right body .case.v3 #findings .fb > .fb-q { margin-bottom: 32px !important; }
  html.fs-64.fq-right body .case.v3 #findings .fb > .fb-q { margin-bottom: 64px !important; }
}
html.fs-32:not(.fq-right) body .case.v3 #findings .fb > .fb-q { margin-bottom: 32px !important; }
html.fs-64:not(.fq-right) body .case.v3 #findings .fb > .fb-q { margin-bottom: 64px !important; }
@media (max-width: 1023px) {
  html.fs-32 body .case.v3 #findings .fb > .fb-q { margin-bottom: 32px !important; }
  html.fs-64 body .case.v3 #findings .fb > .fb-q { margin-bottom: 64px !important; }
}

/* (Cindy 2026-11-18) Findings: more room either side of the chain of steps (24px on the left, 64px between it and the
   quotes; 24px on the right when the quotes sit underneath), on the case study's spacing steps */
html.a7 body .case.v3 #findings .fb-rows { padding-left: 24px !important; padding-right: 24px !important; }
@media (min-width: 1024px) { html.fq-right body .case.v3 #findings .fb-rows { padding-right: 64px !important; } }
/* (Cindy 2026-11-18) "What happened" as bullets: one sentence each, as written; the site's "+" marker with a hanging
   indent, hidden from screen readers (they hear a list) */
html.a7 body .case.v3 #findings .fb-list { list-style: none; margin: 0; padding: 0; }
html.a7 body .case.v3 #findings .fb-list > li { display: grid; grid-template-columns: 16px minmax(0, 1fr); margin: 0; }
html.a7 body .case.v3 #findings .fb-list > li + li { margin-top: 6px; }
html.a7 body .case.v3 #findings .fb-list > li::before { content: "+" / ""; font-weight: 400; }

/* (a test, Cindy 2026-11-18, "rq": the V1 requirements a level down, less a list to read than evidence that each item
   traces to a reason. ledger = still a table, in Small type, regular weight, tight rows, reasons gray so the trace tags
   lead; index = a compact two-column index, each requirement with its tag and reason under it; now = as before. Same
   markup (the table's roles stay, so screen readers still hear a table) */
html.rq-ledger body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 .o-reqs :is(th, td) { padding-top: 7px !important; padding-bottom: 7px !important; font-size: 13px !important; line-height: 1.45 !important; }
html.rq-ledger body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 .o-reqs thead th { padding-top: 0 !important; padding-bottom: 6px !important; font-size: 12px !important; }
html.rq-ledger body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 .o-reqs tbody th { font-weight: 400 !important; color: var(--ink); width: 50%; }
html.rq-ledger body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 .o-reqs tbody td:last-child { color: var(--gray, #706E6A); font-size: 12px !important; }
html.rq-ledger body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 .o-reqs .o-n { width: 48px !important; font: 400 12px/1.45 "Inconsolata", ui-monospace, monospace !important; padding-top: 8px !important; }
html.rq-ledger body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 .o-reqs tbody .o-n { padding-top: 8px !important; }

@media (min-width: 1024px) {
  html.rq-index body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 .o-reqs, html.rq-index body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 .o-reqs tbody { display: block; }
  html.rq-index body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 .o-reqs thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  html.rq-index body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 .o-reqs tbody { display: grid; grid-template-columns: 1fr 1fr; border-top: var(--hair, 0.75px solid #CDCBC5); }
  html.rq-index body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 .o-reqs tr { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-content: start; padding: 10px 24px 12px var(--pad-x, 12px); border-bottom: var(--hair, 0.75px solid #CDCBC5); }
  html.rq-index body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 .o-reqs tr:nth-child(even) { border-left: var(--hair, 0.75px solid #CDCBC5); }
  html.rq-index body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 .o-reqs tr :is(th, td) { display: block; width: auto !important; padding: 0 !important; border: 0 !important; }
  html.rq-index body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 .o-reqs tr > .o-n { grid-row: 1 / span 2; font: 400 12px/19px "Inconsolata", ui-monospace, monospace !important; color: var(--gray, #706E6A); }
  html.rq-index body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 .o-reqs tbody th { font-weight: 400 !important; font-size: 13px !important; line-height: 19px !important; color: var(--ink); }
  html.rq-index body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 .o-reqs tr > td:last-child { grid-column: 2; margin-top: 4px; font-size: 12px !important; line-height: 1.45 !important; color: var(--gray, #706E6A); }
}
/* (phones: both use the existing stacked rows, in the smaller type) */
@media (max-width: 1023px) {
  html:is(.rq-ledger, .rq-index) body .case.v3 .o-reqs tbody th { font-weight: 400 !important; font-size: 13px !important; }
  html:is(.rq-ledger, .rq-index) body .case.v3 .o-reqs tr > td:last-child { font-size: 12px !important; }
}

/* (a test, Cindy 2026-11-18, "rw": the V1 requirements table narrower, starting at the column's left frame line: full
   (as now), 560px or 480px wide, the number column tighter; with any version of S15) */
@media (min-width: 1024px) {
  html.rw-560 body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 .o-wrap { width: calc(560px + var(--pad-x, 12px)) !important; max-width: calc(100% + 2 * var(--pad-x, 12px)) !important; }
  html.rw-480 body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 .o-wrap { width: calc(480px + var(--pad-x, 12px)) !important; max-width: calc(100% + 2 * var(--pad-x, 12px)) !important; }
  html:is(.rw-560, .rw-480) body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 .o-reqs .o-n { width: 32px !important; }
  html:is(.rw-560, .rw-480):not(.rq-index) body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 .o-reqs tbody th { width: 48% !important; }
  html:is(.rw-560, .rw-480).rq-index body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 .o-reqs tr { padding-right: 16px; grid-template-columns: 24px minmax(0, 1fr); }
}

/* (rw = wrap, Cindy 2026-11-18: full column width, but the text in each column stops 48px short of its right edge, a
   word or two, so lines wrap a little earlier; the rows' lines still run the full width) */
@media (min-width: 1024px) {
  html.rw-wrap:not(.rq-index) body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 .o-reqs tbody :is(th, td):not(.o-n) { padding-right: 48px !important; }
  html.rw-wrap:not(.rq-index) body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 .o-reqs thead th:not(.o-n) { padding-right: 48px !important; }
  html.rw-wrap.rq-index body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 .o-reqs tr { padding-right: 48px !important; }
}

/* (Cindy 2026-11-18, new Outcome copy) the four outcome points as a list with the site's "+" marker and a hanging indent;
   "Next steps" a small heading in the style of Constraints & Scope's "Constraints" (Subtitle, open space above) */
html.a7 body .case.v3 #outcome .o-points { list-style: none; margin: 0; padding: 0; }
html.a7 body .case.v3 #outcome .o-points > li { display: grid; grid-template-columns: 16px minmax(0, 1fr); margin: 0; }
html.a7 body .case.v3 #outcome .o-points > li + li { margin-top: 8px; }
html.a7 body .case.v3 #outcome .o-points > li::before { content: "+" / ""; position: static !important; width: auto !important; height: auto !important; background: none !important; margin: 0 !important; }
html.a7 body .case.v3 #outcome .o-next { font: 500 calc(16px + var(--tx-bump, 0px))/1.35 var(--text-font, "Geist", sans-serif); letter-spacing: -0.005em; color: var(--ink); margin: 32px 0 8px; }

/* (rw = gap, Cindy 2026-11-18: full column width; the requirement column as it was; 24px more space before the reasons,
   so only they wrap earlier. The table view only; the index has no second column) */
@media (min-width: 1024px) {
  html.rw-gap:not(.rq-index) body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 .o-reqs :is(thead th, tbody td):last-child { padding-left: 24px !important; }
}

/* ===== Outcome, two levels of information (handoff 2026-11-18-outcome-info-design; switch "oc": sheet (default) / list).
   sheet: the outcomes as three labeled rows across the frame (a dl: label, statements), then the V1 requirements as an
   exhibit, a sheet in a gray band, then Next steps. list: as before (the bullets, the plain table) ===== */
html.oc-list body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #outcome .o-rows { display: none; }
html.oc-list body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #outcome .o-ex { margin: 0; }
html.oc-list body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #outcome .o-sheet__head, html.oc-list body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #outcome .o-ex > figcaption { display: none; }
html.oc-sheet body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #outcome .prose:has(> .o-points) { display: none; }
html.oc-sheet body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #outcome > .sec-body { padding-top: 0 !important; }
/* the rows: a 176px label column (one module) and the statements, frame wide, a frame rule between rows */
html.oc-sheet body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #outcome .o-rows { box-sizing: border-box; width: calc(100% + 2 * var(--pad-x, 12px)) !important; max-width: none !important; margin: 0 0 0 calc(-1 * var(--pad-x, 12px)) !important; padding: 0; }
html.oc-sheet body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #outcome .o-row { display: grid; grid-template-columns: 176px minmax(0, 506px); align-items: baseline; padding: 22px 0; margin: 0; }
html.oc-sheet body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #outcome .o-row + .o-row { border-top: var(--frame, 0.75px solid var(--case-line)); }
html.oc-sheet body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #outcome .o-row > dt { grid-column: 1; grid-row: 1; margin: 0; padding-left: var(--pad-x, 12px); font: 400 12px/17.4px "Inconsolata", ui-monospace, monospace; text-transform: uppercase; letter-spacing: 0.04em; color: #706E6A; }
html.oc-sheet body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #outcome .o-row > dd { grid-column: 2; margin: 0; font: 500 calc(16px + var(--tx-bump, 0px))/22px var(--text-font, "Geist", sans-serif); letter-spacing: -0.005em; color: var(--ink, #111); }
html.oc-sheet body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #outcome .o-row > dd + dd { margin-top: 11px; }
/* the exhibit: a gray band, frame wide, frame rules top and bottom; a flat sheet inside it */
html.oc-sheet body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #outcome .o-ex { box-sizing: border-box; width: calc(100% + 2 * var(--pad-x, 12px)) !important; max-width: none !important; margin: 22px 0 0 calc(-1 * var(--pad-x, 12px)) !important; padding: 44px 44px 22px;
  background: #EEEDE9; border-top: var(--frame, 0.75px solid var(--case-line)); border-bottom: var(--frame, 0.75px solid var(--case-line)); }
html.oc-sheet body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #outcome .o-sheet { background: #FBFAF7; border: var(--frame, 0.75px solid var(--case-line)); }
html.oc-sheet body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #outcome .o-sheet__head { display: flex; justify-content: space-between; gap: 16px; padding: 10px 16px; border-bottom: var(--frame, 0.75px solid var(--case-line));
  font: 400 12px/17.4px "Inconsolata", ui-monospace, monospace; text-transform: uppercase; letter-spacing: 0.04em; color: #706E6A; }
html.oc-sheet body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #outcome .o-ex .o-wrap { width: auto !important; margin: 0 !important; padding: 6px 16px 16px; }
html.oc-sheet body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #outcome .o-ex .o-reqs :is(th, td):first-child { padding-left: 0 !important; }
html.oc-sheet body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #outcome .o-ex .o-reqs :is(th, td):last-child { padding-right: 0 !important; }
html.oc-sheet body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #outcome .o-ex .o-reqs tbody tr:first-child :is(th, td) { border-top-color: var(--case-line, #CDCBC5); }
html.oc-sheet body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #outcome .o-ex > figcaption { margin: 11px 0 0; font: 400 12px/17.4px var(--text-font, "Geist", sans-serif); color: #5F5D59; }
html.oc-sheet body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #outcome .o-ex + .prose { margin-top: 0; }
@media (max-width: 1023px) {
  html.oc-sheet body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #outcome .o-row { grid-template-columns: minmax(0, 1fr); row-gap: 8px; padding: 22px var(--pad-x, 12px); }
  html.oc-sheet body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #outcome .o-row > dt { padding-left: 0; }
  html.oc-sheet body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #outcome .o-row > dd { grid-column: 1; }
  html.oc-sheet body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #outcome .o-ex { width: 100vw !important; margin-left: calc(50% - 50vw) !important; padding: 22px; }
}
@media (max-width: 1023px) {
  /* (phones: the stacked rows use the full width; no second line right under the sheet's header) */
  html body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #outcome .o-reqs tbody th { width: auto !important; }
  html.oc-sheet body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #outcome .o-ex .o-reqs tbody tr:first-child { border-top: 0 !important; }
}

/* (Cindy 2026-11-18) Findings: a little color on the chain of steps (switch "cc": tint / ink). The two that held run
   in a muted green; the overturned one starts the same green and ends in a burnt orange at its result. The circles are
   decoration (the verdict chip says Held / Overturned in words), but both colors still pass 3:1 on the paper:
   green #4E7A3A 4.5:1, orange #C4581F 3.9:1 */
html.cc-tint body .case.v3 #findings .fb { --ch: var(--ink, #111); --ch-end: #4E7A3A; }
/* (Cindy 2026-11-18, later: the questions stay neutral; only the last stretch turns green or orange, by the result) */
html.cc-tint body .case.v3 #findings .fb--over { --ch-end: #C4581F; }
html.cc-tint body .case.v3 #findings .fb-rows > div:not(:last-child)::before { border-color: var(--ch); }
html.cc-tint body .case.v3 #findings .fb-rows > div:nth-last-child(2)::before { background: var(--ch-end); border-color: var(--ch-end); }
html.cc-tint body .case.v3 #findings .fb-rows > div:nth-last-child(n+3)::after { background: var(--ch); }
html.cc-tint body .case.v3 #findings .fb-rows > div:nth-last-child(3)::after { background: linear-gradient(var(--ch), var(--ch-end)); }

/* (Cindy 2026-11-18) Findings: a fine dotted line between the circles (1px dots, 2px apart). A mask, so the line keeps
   its color, including the fade into green or orange */
html.a7 body .case.v3 #findings .fb-rows > div:nth-last-child(n+3)::after {
  -webkit-mask-image: repeating-linear-gradient(to bottom, #000 0 1px, transparent 1px 3px);
          mask-image: repeating-linear-gradient(to bottom, #000 0 1px, transparent 1px 3px); }

/* (Cindy 2026-11-18) The dotted line in gray (switch "cd": gray / ink). The circles keep their color; the last stretch
   still fades into green or orange. Gray #8A877F, 3.2:1 on the paper */
html.cd-gray body .case.v3 #findings .fb-rows > div:nth-last-child(n+3)::after { background: #8A877F; }
html.cd-gray.cc-tint body .case.v3 #findings .fb-rows > div:nth-last-child(3)::after { background: linear-gradient(#8A877F, var(--ch-end)); }

/* (Cindy 2026-11-18) Findings: circles by shape instead of color (switch "cc" = shape, the new default): the first a
   dotted ring, the second a plain ring, the result filled (Held) or half filled (Overturned). All in ink; the verdict
   chip still says it in words */
html.cc-shape body .case.v3 #findings .fb-rows > div:nth-last-child(4)::before { border-color: #8A877F; }   /* (Cindy 2026-11-18, later: a gray ring, not a dotted one) */
html.cc-shape body .case.v3 #findings .fb-rows > div:nth-last-child(2)::before { background: var(--ink); border-color: var(--ink); }
html.cc-shape body .case.v3 #findings .fb--over .fb-rows > div:nth-last-child(2)::before { background: linear-gradient(90deg, var(--ink) 50%, var(--paper, #F3F2EE) 50%); }

/* (Cindy 2026-11-18) Findings: the last stretch of line (the second step to the result) solid, not dotted */
/* (undone the same day: Cindy wants every line dotted) */

/* (Cindy 2026-11-18) Overturned (A3): "What happened" is the result, so the chain has two circles: We assumed (first),
   What happened (the result: half filled, or orange in the color test, or filled in black). What we learned and What
   changed follow without circles, as the Caveat does under the held ones */
html.a7 body .case.v3 #findings .fb--over .fb-rows > div:nth-child(n+3)::before,
html.a7 body .case.v3 #findings .fb--over .fb-rows > div:nth-child(n+2)::after { content: none !important; }
/* (the line from We assumed to What happened stays dotted: Cindy 2026-11-18) */
html.cc-tint body .case.v3 #findings .fb--over .fb-rows > div:nth-child(1)::after { background: linear-gradient(var(--ch-line, #8A877F), var(--ch-end)) !important; }
html.cc-tint.cd-ink body .case.v3 #findings .fb--over .fb-rows > div:nth-child(1)::after { background: linear-gradient(var(--ink), var(--ch-end)) !important; }
html.a7 body .case.v3 #findings .fb--over .fb-rows > div:nth-child(2) { padding-bottom: 0; }
html.a7 body .case.v3 #findings .fb--over .fb-rows > div:nth-child(n+3) { margin-top: 14px !important; padding-bottom: 0; }
html.a7 body .case.v3 #findings .fb--over .fb-rows > div:nth-child(2)::before { background: var(--ink) !important; border-color: var(--ink) !important; }
html.cc-shape body .case.v3 #findings .fb--over .fb-rows > div:nth-child(2)::before { background: linear-gradient(90deg, var(--ink) 50%, var(--paper, #F3F2EE) 50%) !important; }
html.cc-tint body .case.v3 #findings .fb--over .fb-rows > div:nth-child(2)::before { background: var(--ch-end) !important; border-color: var(--ch-end) !important; }
html.a7 body .case.v3 #findings .fb--over .fb-rows > div:nth-child(2) dd { font-weight: 500; }
html.a7 body .case.v3 #findings .fb--over .fb-rows > div:nth-child(n+3) dd { font-weight: 400; }

/* (Cindy 2026-11-18) Findings: more space between each step's label and its text (4px → 8px) */
html.a7 body .case.v3 #findings .fb-rows dt { margin-bottom: 8px !important; }

/* (Cindy 2026-11-18) Outcome rows: a narrower label column (176 → 148px) and the statements run to the frame's right
   padding (no 506px cap), with text-wrap: pretty, so no statement ends on a one-word line */
@media (min-width: 1024px) {
  html.oc-sheet body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #outcome .o-row { grid-template-columns: 148px minmax(0, 1fr); padding-right: var(--pad-x, 12px); }
}
html.oc-sheet body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #outcome .o-row > dd { text-wrap: pretty; }

/* (Cindy 2026-11-18) Findings, Overall: the two quotes stacked, each the full width (the phone layout, at every size) */
html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #findings .fb-overall figure.pq-pair > .pq-cell { grid-template-columns: 1fr; }
html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #findings .fb-overall figure.pq-pair .pq-item { padding: 0; }
html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #findings .fb-overall figure.pq-pair .pq-item + .pq-item { margin: 24px -24px 0 !important; padding: 24px 24px 0; border-left: 0; border-top: var(--frame); }
/* (Cindy 2026-11-18) no rule above Overall */
html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #findings .fb-overall { border-top: 0 !important; }

/* (Cindy 2026-11-18) Reflection: three lessons as numbered rows, the same frame as the Outcome rows: the number in the
   label column (mono, gray), then the lesson (Geist 500 16/22, as the finding names) and its explanation in body text.
   A real <ol>, so the order is heard; the number itself is CSS (a counter) */
html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #reflection .r-lessons { list-style: none; counter-reset: rl; box-sizing: border-box;
  width: calc(100% + 2 * var(--pad-x, 12px)) !important; max-width: none !important; margin: 0 0 0 calc(-1 * var(--pad-x, 12px)) !important; padding: 0 !important; }
html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #reflection .r-lessons > li { counter-increment: rl; display: grid; grid-template-columns: 148px minmax(0, 1fr);
  align-items: baseline; padding: 22px var(--pad-x, 12px) 22px 0 !important; margin: 0 !important; }
html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #reflection .r-lessons > li + li { border-top: var(--frame, 0.75px solid var(--case-line)); }
html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #reflection .r-lessons > li::before { content: counter(rl, decimal-leading-zero) / ""; position: static !important;
  grid-column: 1; grid-row: 1; padding-left: var(--pad-x, 12px); font: 400 12px/17.4px "Inconsolata", ui-monospace, monospace; letter-spacing: 0.04em; color: #706E6A;
  background: none !important; width: auto !important; height: auto !important; border: 0 !important; }
html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #reflection .r-lessons h3 { grid-column: 2; grid-row: 1; margin: 0 !important;
  font: 500 calc(16px + var(--tx-bump, 0px))/22px var(--text-font, "Geist", sans-serif) !important; letter-spacing: -0.005em; color: var(--ink, #111); text-wrap: pretty; }
html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #reflection .r-lessons p { grid-column: 2; margin: 8px 0 0 !important; text-wrap: pretty; }
@media (max-width: 1023px) {
  html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #reflection .r-lessons > li { grid-template-columns: minmax(0, 1fr); row-gap: 8px; padding: 22px var(--pad-x, 12px) !important; }
  html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #reflection .r-lessons > li::before { padding-left: 0; }
  html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #reflection .r-lessons :is(h3, p) { grid-column: 1; grid-row: auto; }
}
html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #reflection .sec-body { padding-top: 0 !important; }   /* (the first row's own 22px is the space under the heading, as in Outcome) */

/* (Cindy 2026-11-18) The reading frame centered in the window (switch "cx": center / home). Since it narrowed to 710px
   it kept home's left edge (--fl), so on screens wider than ~1440 it sat left of center. Centered inside home's frame
   instead (home's frame is itself centered), the left edge rounded down to a whole pixel */
html.a7.cx-center body.lx-g.lx-g.lx-g .case > *, html.a7.cx-center body.lx-g.lx-g.lx-g .case #tldr {
  --g-left: calc(round(down, var(--fl) + (var(--fw, 704px) - var(--g-frame)) / 2, 1px) - var(--case-x, 0px)); }

/* (Cindy 2026-11-18) Requirement 4's reason tagged "Known" (known beforehand, not from a finding): the H-tag box,
   gray instead of black so it reads as a different kind of source; not a link */
html.a7 body .case.v3 #outcome .ref--known { display: inline-flex; vertical-align: 1px; padding: 1px 5px !important; border: 1px solid #8A877F !important; border-radius: 0;
  background: transparent !important; color: #5E5C57 !important; font: 12px/15.6px var(--text-font, "Geist", sans-serif) !important; letter-spacing: normal !important; text-transform: none !important; }
html.a7 body .case.v3 #outcome .ref--known { margin-right: 3px; }

/* (Cindy 2026-11-18) Enlarged photos: no beige frame around them, the image alone on the dimmed page. The Close button
   gets the paper behind it so it stays readable on the dark backdrop; diagrams (SVG, drawn on a transparent ground)
   keep the paper behind them so their lines and text stay legible */
html.a7 body .lightbox { background: transparent !important; padding: 44px 0 0 !important; overflow: visible; }
html.a7 body .lightbox img { max-width: 96vw !important; max-height: calc(94vh - 44px) !important; }
html.a7 body .lightbox img[src*=".svg"] { background: var(--bg, #F3F2EE); padding: 16px; box-sizing: border-box; }
html.a7 body .lightbox .lightbox__close { top: 0 !important; right: 0 !important; background: var(--bg, #F3F2EE) !important; }

/* (Cindy 2026-11-18) "Answered by" / "Answers" notes level with the section's headline row (the line under the title),
   not the title row: the script puts them in the headline row; centered in its height, on one line */
html.a7 body.lx-g.lx-g.lx-g.g-notes-out .case.v3 .section-head > .g-sub > a.g-hnote { display: block !important; top: 50% !important; transform: translateY(-50%);
  width: auto !important; white-space: nowrap !important; z-index: 1 !important; }
html.a7 body.lx-g.lx-g.lx-g.g-notes-out .case.v3 .section-head > .g-sub > a.g-hnote > .g-hnote__k { display: inline-block; margin-right: 4px; text-box: normal; }
html.a7 body.lx-g.lx-g.lx-g.g-notes-out .case.v3 .section-head > .g-sub > a.g-hnote > .g-hnote__t { display: inline; margin-top: 0; }

/* (Cindy 2026-11-18) A phrase with a margin note is hoverable: over the dotted-underlined phrase, its note's gray label
   ("Tested in Findings ↓", "Assumption, Constraints & Scope ↓") turns black */
html.a7 body.lx-g .case.v3 .prose .mnote:has(+ strong.ll-em:hover) .mnote__l { color: var(--ink, #111) !important; }
/* (Cindy 2026-11-18, later) The same for the glossary terms: over "7 different data sources", "study arm", "outcome
   measure", the definition in the margin turns from gray to black (and with the term focused) */
html.a7 body.lx-g.lx-g.lx-g.lx-g.g-notes-out .case.v3 .prose .tip:is(:hover, :focus-within) > .tip__body,
html.a7 body.lx-g.lx-g.lx-g.lx-g.g-notes-out .case.v3 .prose .tip:is(:hover, :focus-within) > .tip__body * { color: var(--ink, #111) !important; }
/* (the hovered phrase's note, in every layout: set by the script at the end of a8-case.html) */
html body .case .fn-hot, html body .case .fn-hot * { color: var(--ink, #111) !important; }
/* (Cindy 2026-11-18) the note turns black at once, no fade */
html body .case :is(.mnote__l, .mnote-under__i, .tip__body), html body .case :is(.mnote__l, .mnote-under__i, .tip__body) * { transition: none !important; }

/* (Cindy 2026-11-18: the 66px top space is gone again; with the side nav level with the title (sv stick, settled), the
   space above the title is set so the nav starts centered in the window: a8-case.html, the sv script) */

/* (Cindy 2026-11-18) The text cursor (I-beam) over the dotted-underlined phrases and glossary terms */
html body .case :is(strong.ll-em, .tip__term), html body .case .tip__term * { cursor: text !important; }
/* (a test, Cindy 2026-11-18, "dq=full": the Design Question first in Approach, across the whole frame (both grid columns),
   32px under the heading's rule; the paragraph and image follow as before) */
html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #hypotheses > .sec-body > .g-dq {
  grid-column: 1 / -1 !important; --dq-in: 24px; position: relative; box-sizing: border-box; max-width: none !important;
  margin: 0 !important; padding: 8px var(--dq-in) !important; background: #EEEDE9; border-bottom: var(--frame); }
@container case (max-width: 699px) { html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 #hypotheses > .sec-body > .g-dq { --dq-in: 16px; } }

/* ---------- Charles River overview (a8-case.html?cs=charles-river; 2026-11-18, from a2-charles-river.html) ----------
   Each program is a ruled row inside its section: its name (a link to the product or program page), the screen on the
   light panel the case study's figures use, the caption, then the role line in gray. Explorations sit image beside
   caption where there is room. Everything else (header, cover, side nav, frame, motion) is the case study's own. */
#case .ov-list { list-style: none; margin: 32px 0 0; padding: 0; }
#case .ov-item { margin: 0; padding: 24px 0 32px; border-top: var(--line); }
#case .ov-name { margin: 0; font: 500 calc(16px + var(--tx-bump, 0px))/1.35 var(--text-font); letter-spacing: -0.005em; }
#case .ov-name a { color: inherit; text-decoration: none; }
#case .ov-name a:hover { color: var(--accent-text, #C53A1C); }
#case .ov-arrow { display: inline-block; }
#case .ov-item > figure.v3-shot { margin: 16px 0 0; }
#case .ov-item figcaption { margin: 8px 0 0; padding: 0; }
#case .ov-list .ov-item p.ov-role { margin: 12px 0 0; color: var(--ink-2); max-width: none; }
#case .ov-item--side > figure.v3-shot { margin: 0; }
/* (2026-11-19 handoff: a program's blurb sits under its name, above its screen(s); Awarion adds a press line.
   SparkCare, RAPS and CERULEAN show two screens in one panel, full width, one after the other) */
/* (the intro's threads list sits further in than the case study's default 14px; Charles River only) */
html[data-cs="charles-river"] #case #tldr .prose > ul { padding-left: 28px; }
#case .ov-list .ov-item p.ov-blurb { margin: 8px 0 0; max-width: none; }   /* (the column's full width, as the intro's paragraphs: Cindy 2026-11-19) */
/* (Cindy 2026-11-19) Charles River cover: the screens in the photo sit 31px right of center (182px of background on
   the left, 151px on the right, of 1146), so the image is cut 31px narrower on the left and the screens sit centered */
html.a7[data-cs="charles-river"] body.lx-g.lx-g.lx-g.lx-g .case.v3 .case-hero > .hero-still img[data-cover] {
  aspect-ratio: 1115 / 658 !important; height: auto !important; object-fit: cover !important; object-position: 100% 50% !important; }
/* (Cindy 2026-11-19) Charles River: captions start at the text's left edge, as the body and press lines do; every
   image frame has its line on all four sides; the line between projects runs the frame's full width, from one
   vertical grid line to the other (the content stays where it was) */
html[data-cs="charles-river"] #case .ov-item figcaption { padding-left: 0 !important; padding-right: 0 !important; }
html[data-cs="charles-river"] #case .ov-item .figure__frame { border: var(--frame, 0.75px solid #CDCBC5) !important; }
html[data-cs="charles-river"] #case .ov-item { position: relative; padding-top: 48px; padding-bottom: 48px; border-top: 0; }
/* (the line between projects runs to the window's edges, as the line under the title does) */
html[data-cs="charles-river"] #case .ov-item::before { content: ""; position: absolute; top: 0; left: -1440px; width: 3600px; height: 0;
  border-top: var(--frame, 0.75px solid var(--case-line)); pointer-events: none; }
/* (Cindy 2026-11-19) Explorations marked "square": the frame is a square and the whole image fits inside it */
html[data-cs="charles-river"] #case figure.v3-shot--square > .figure__frame { aspect-ratio: 1 / 1; display: flex !important; align-items: center; justify-content: center; }
html[data-cs="charles-river"] #case figure.v3-shot--square > .figure__frame img { width: 100% !important; height: 100% !important; object-fit: contain !important; outline: 0 !important; box-shadow: none !important; }   /* (no outline: it would draw the square, not the picture) */
/* (Cindy 2026-11-19) "From the sketchbook": a heading at the programs' level with the explorations under it, joined
   to its first one as a program's name is to its screen (no line between); lines between the explorations stay */
html[data-cs="charles-river"] #case .ov-sketch > .ov-name { position: relative; padding-bottom: 12px; }
html[data-cs="charles-river"] #case .ov-sketch > .ov-name::after { content: ""; position: absolute; bottom: 0; left: -1440px; width: 3600px; height: 0;
  border-top: var(--frame, 0.75px solid var(--case-line)); pointer-events: none; }   /* (its rule under it, as a section title's) */
html[data-cs="charles-river"] #case .ov-sketch > .ov-list { margin-top: 0; }
html[data-cs="charles-river"] #case .ov-sketch > .ov-list > .ov-item:first-child::before { content: none; }   /* (the heading's rule is its line) */
html[data-cs="charles-river"] #case .ov-sketch > .ov-list > .ov-item:last-child { padding-bottom: 0; }
/* (Charles River: section titles don't stick to the top of the window; the first project has no line of its own, the
   title's rule is its line) */
html[data-cs="charles-river"] #case .case-section > .section-head > .sec-line { position: relative !important; top: auto !important; }
html[data-cs="charles-river"] #case #work .sec-body > .ov-list > .ov-item:first-child::before { content: none; }
/* (Cindy 2026-11-19) The two square studies share one row, captions under each image, to sit lower in the hierarchy */
html[data-cs="charles-river"] #case .ov-item--duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
html[data-cs="charles-river"] #case .ov-item--duo > figure.v3-shot { display: block !important; margin: 0 !important; min-width: 0; }
html[data-cs="charles-river"] #case .ov-item--duo figcaption { margin: 8px 0 0 !important; }
@container case (max-width: 479px) { html[data-cs="charles-river"] #case .ov-item--duo { grid-template-columns: minmax(0, 1fr); } }
#case .ov-note { display: block; margin: 4px 0 0; }   /* (the rebuild note: a second line in the caption, at the caption's 12px, the smallest size the site uses) */
#case .ov-list .ov-item p.ov-press { margin: 8px 0 0; color: var(--ink-2); max-width: none; }
#case .ov-item > figure.ov-pair { margin: 16px 0 0; }
#case .ov-pair__frame { display: grid !important; grid-template-columns: minmax(0, 1fr); justify-items: stretch !important; gap: 16px; }
#case .ov-pair__frame > a.zoom { width: 100%; min-width: 0; }
@media (min-width: 1024px) {
  #case .ov-item--side > figure.v3-shot { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 24px; align-items: start; }
  #case .ov-item--side figcaption { margin: 0; }
}

/* ---------- Rent the Runway earlier-work page (a8-case.html?cs=rent-the-runway; handoff 2026-11-18-rtr-earlier-work) ----------
   Only what its copy needs beyond the case study's own parts: the label above the title, the Before / After pair, and
   each figure as a "stage" with its callouts placed as on the old page (Cindy 2026-11-18: "like how they were before"),
   rebuilt as real text. Beside the image (left / right): at a height (--y), with a drawn line and dot pointing at it, a red
   minus for a problem and a green plus for a change (the shape says which; hidden words say it to screen readers). Over
   and under the image (above / below): at a position across (--x), where the screenshots' own lines and dots point up to
   them. Phones: the image first, then the callouts as a list. Callout positions are % of the image, measured from the old
   page. */
:is(#case, #lightbox) .case-hero .hero-label { margin: 0 0 4px; }
:is(#case, #lightbox) .prose .rtr-sub { margin-top: 40px; }
:is(#case, #lightbox) .prose ul.rtr-goal { margin-top: -4px; }
:is(#case, #lightbox) .rtr-pair { display: grid; grid-template-columns: 1fr; gap: 24px; margin: 32px 0; }
:is(#case, #lightbox) .rtr-pair > figure.v3-shot { margin: 0 !important; min-width: 0; }
@container case (min-width: 600px) { :is(#case, #lightbox) .rtr-pair { grid-template-columns: 1fr 1fr; } }
:is(#case, #lightbox) .rtr-pair figure > figcaption { margin-top: 8px; }

:is(#case, #lightbox) .rtr-stage { --rtr-minus: #D93A4F; --rtr-plus: #1E8F55; }   /* (dots: 3:1 or more on the panel, white glyph 4:1) */
:is(#case, #lightbox) .rtr-stage .figure__frame.rtr-stage__frame { display: flex; flex-direction: column; align-items: stretch !important; }
:is(#case, #lightbox) .rtr-stage__mid { display: grid; grid-template-columns: var(--cols, 1fr); align-items: start; }
:is(#case, #lightbox) .rtr-stage__img { display: block; min-width: 0; position: relative; }
:is(#case, #lightbox) .rtr-stage .rtr-stage__img img { display: block; width: 100%; height: auto; max-height: none !important; outline: none !important; }   /* (no box around the phones' and screenshots' own edges) */
:is(#case, #lightbox) .rtr-gif .rtr-stage__img[role="button"]:focus-visible { outline: 2px solid var(--ink, #111); outline-offset: 2px; }
:is(#case, #lightbox) .rtr-co { list-style: none; margin: 0; padding: 0; font: 400 12px/1.45 var(--text-font); color: var(--ink, #111); }
:is(#case, #lightbox) .rtr-co p { margin: 0 !important; max-width: none !important; font: 400 12px/1.45 var(--text-font) !important; color: var(--ink, #111) !important; }
:is(#case, #lightbox) .rtr-co p + p { margin-top: 0.7em !important; }
:is(#case, #lightbox) .rtr-co strong { font-weight: 500; }
:is(#case, #lightbox) .rtr-co > li { margin: 0; padding: 0; }
:is(#case, #lightbox) .rtr-co > li::before, :is(#case, #lightbox) .rtr-co > li::after { content: none; }

/* beside the image */
:is(#case, #lightbox) .rtr-co--left, :is(#case, #lightbox) .rtr-co--right { position: relative; align-self: stretch; }
:is(#case, #lightbox) :is(.rtr-co--left, .rtr-co--right) > .rtr-c { position: absolute; z-index: 1; top: calc(var(--y) - 0.725em); left: 0; right: 0; }
:is(#case, #lightbox) .rtr-co--left > .rtr-c { padding-right: calc(var(--dx, 7px) + 7px + var(--ln, 20px) + var(--tg, 6px)); text-align: right; }
:is(#case, #lightbox) .rtr-co--right > .rtr-c { padding-left: calc(var(--dx, 7px) + 7px + var(--ln, 20px) + var(--tg, 6px)); }
:is(#case, #lightbox) :is(.rtr-co--left, .rtr-co--right) > .rtr-c::before { content: ""; position: absolute; top: calc(0.725em - 0.75px); width: var(--ln, 20px); height: 1.5px; background: var(--c); }
:is(#case, #lightbox) :is(.rtr-co--left, .rtr-co--right) > .rtr-c::after { content: ""; position: absolute; top: calc(0.725em - 7px); width: 14px; height: 14px; border-radius: 50%; background: var(--g), var(--c); }
:is(#case, #lightbox) .rtr-co--left > .rtr-c::before { right: calc(var(--dx, 7px) + 7px); }
:is(#case, #lightbox) .rtr-co--left > .rtr-c::after { right: calc(var(--dx, 7px) - 7px); }
:is(#case, #lightbox) .rtr-co--right > .rtr-c::before { left: calc(var(--dx, 7px) + 7px); }
:is(#case, #lightbox) .rtr-co--right > .rtr-c::after { left: calc(var(--dx, 7px) - 7px); }
:is(#case, #lightbox) .rtr-c--minus { --c: var(--rtr-minus); --g: linear-gradient(#fff, #fff) center / 7px 1.5px no-repeat; }
:is(#case, #lightbox) .rtr-c--plus { --c: var(--rtr-plus); --g: linear-gradient(#fff, #fff) center / 7px 1.5px no-repeat, linear-gradient(#fff, #fff) center / 1.5px 7px no-repeat; }

/* over and under the image */
:is(#case, #lightbox) .rtr-co--above, :is(#case, #lightbox) .rtr-co--below { display: grid; grid-template-columns: minmax(0, 1fr); }
/* (at its own width, with the old page's line breaks, at its place (--x): starting there, centered on it, or ending there;
   the page's script keeps it inside the frame. Without the script: placed by CSS alone) */
:is(#case, #lightbox) :is(.rtr-co--above, .rtr-co--below) > .rtr-c { grid-area: 1 / 1; justify-self: start; box-sizing: border-box; width: max-content; max-width: var(--w, 100%); margin-left: var(--x); }
:is(#case, #lightbox) .rtr-co--above > .rtr-c { align-self: end; padding-bottom: 8px; }
:is(#case, #lightbox) .rtr-co--below { margin-top: 12px; }
:is(#case, #lightbox) .rtr-co--below > .rtr-c { align-self: start; }
:is(#case, #lightbox) :is(.rtr-co--above, .rtr-co--below) > .rtr-c--center { transform: translateX(-50%); text-align: center; }
:is(#case, #lightbox) :is(.rtr-co--above, .rtr-co--below) > .rtr-c--end { transform: translateX(-100%); text-align: right; }

/* phones: the image, then the callouts as a list (the dots without their lines) */
@container case (max-width: 599px) {
  :is(#case, #lightbox) .rtr-stage__mid { display: flex; flex-direction: column; gap: 12px; }
  :is(#case, #lightbox) .rtr-stage__mid > .rtr-stage__img { order: -1; }
  :is(#case, #lightbox) .rtr-co--above { order: 2; margin-top: 12px; }
  :is(#case, #lightbox) .rtr-stage__mid { order: 1; }
  :is(#case, #lightbox) .rtr-co--below { order: 3; }
  :is(#case, #lightbox) :is(.rtr-co--above, .rtr-co--below):not(.rtr-kf__states) { display: block; }
  :is(#case, #lightbox) .rtr-co:not(.rtr-kf__states) > .rtr-c { position: relative !important; top: auto !important; left: auto; right: auto; width: auto !important; max-width: none; margin: 0 0 10px !important; padding: 0 !important; transform: none !important; text-align: left !important; }
  :is(#case, #lightbox) .rtr-co > .rtr-c:is(.rtr-c--minus, .rtr-c--plus) { padding-left: 22px !important; }
  :is(#case, #lightbox) .rtr-co > .rtr-c::before { content: none !important; }
  :is(#case, #lightbox) :is(.rtr-co--above, .rtr-co--below) p br:not(.rtr-keep) { display: none; }   /* (the old page's line breaks belong beside the screens, not in a list) */
  :is(#case, #lightbox) .rtr-co > .rtr-c::after { left: 0 !important; right: auto !important; }
  :is(#case, #lightbox) :is(.rtr-co--above, .rtr-co--below) > .rtr-c:is(.rtr-c--minus, .rtr-c--plus)::after { content: ""; position: absolute; top: calc(0.725em - 7px); width: 14px; height: 14px; border-radius: 50%; background: var(--g), var(--c); }
}
/* (the phone recordings were made on white: each is cut to the phone's own outline, its rounded corners (about 125px on
   the 800px recording) and the white strip along its sides (--clip), so no white shows on the panel. Cindy 2026-11-18) */
:is(#case, #lightbox) .rtr-stage--phone .rtr-stage__img img { clip-path: inset(var(--clip, 0) round 15.6% / 7.7%); }
/* (Cindy 2026-11-19: on the Charles River page the frame stays home's own width (the shared grid's, 720 at 1440),
   not the case studies' 710, so the column doesn't narrow on the way in from home) */
html.a7[data-cs="charles-river"] body.sys { --frame-w: var(--fw, 770px); }
/* (Cindy 2026-11-19: the Rent the Runway page is back on the case studies' 710 column, as Reliant's; its wider frame
   (home's 720) is gone now that the callouts no longer sit beside the images) */

/* (Cindy 2026-11-18: enlarging a Rent the Runway figure shows the whole figure, callouts included: a copy of it in the
   dialog, as large as the window allows (a8-case.html, the click-to-enlarge script). The dialog is its own "case"
   container, so on a phone-sized window it switches to the list layout as the page does) */
#lightbox .lightbox__stage { container: case / inline-size; margin: 0; box-sizing: border-box; }
#lightbox .lightbox__stage .rtr-stage__frame { display: flex; flex-direction: column; padding: 24px; background: #EEEDE9; }
#lightbox .lightbox__stage img { max-width: 100% !important; max-height: none !important; }
#lightbox:has(.lightbox__stage) > img { display: none; }

/* ---------- Rent the Runway, cleanup (handoff 2026-11-18-rtr-cleanup): callouts as numbered markers and a key ----------
   The default (Controls "co" = key): each image at the text's full width, plain (no panel, no rules), small numbered
   markers on it where the old red and green dots pointed, and under it the caption and a key headed Problems or Changes
   (so the meaning doesn't rest on red and green). The markers are decorative; the key is the content. co=side shows the
   earlier layout (callouts beside the image) instead. Both are in the page; one shows. */
html:not(.co-side) :is(#case, #lightbox) .rtr-side { display: none !important; }
html.co-side :is(#case, #lightbox) .rtr-kf { display: none !important; }
:is(#case, #lightbox) .rtr-kf { --rtr-minus-m: #C8323F; --rtr-plus-m: #187A48; margin-top: 40px !important; margin-bottom: 40px !important; max-width: none; }   /* (white numbers 5:1 on both; both 5:1 on white) */
:is(#case, #lightbox) .rtr-kf__img { position: relative; display: block; max-width: 100%; }
:is(#case, #lightbox) .rtr-kf__img img { display: block; width: 100%; height: auto; max-height: none !important; }
:is(#case, #lightbox) .rtr-kf.rtr-gif:not(.rtr-kf--phone) .rtr-kf__img img { outline: 1px solid var(--soft, #D9D7D0); outline-offset: -1px; }   /* (a white screenshot on the page: one soft line for its edge) */
:is(#case, #lightbox) .rtr-kf--phone .rtr-kf__img img { clip-path: inset(var(--clip, 0) round 15.6% / 7.7%); }
:is(#case, #lightbox) .rtr-gif .rtr-kf__img[role="button"]:focus-visible { outline: 2px solid var(--ink, #111); outline-offset: 2px; }
:is(#case, #lightbox) .rtr-m { position: absolute; z-index: 1; left: var(--x); top: var(--y); transform: translate(-50%, -50%); box-sizing: border-box;
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px !important; box-shadow: 0 0 0 2px #fff !important;
  background: var(--c); color: #fff; font: 500 11px/20px var(--text-font); text-align: center; white-space: nowrap; pointer-events: none; }
:is(#case, #lightbox) .rtr-m--minus, :is(#case, #lightbox) .rtr-key__n--minus { --c: var(--rtr-minus-m); }
:is(#case, #lightbox) .rtr-m--plus, :is(#case, #lightbox) .rtr-key__n--plus { --c: var(--rtr-plus-m); }
:is(#case, #lightbox) .rtr-m--label { padding: 0 8px; }
:is(#case, #lightbox) .rtr-kf__states { margin-bottom: 0; }
:is(#case, #lightbox) .rtr-kf__states > .rtr-c strong { font-weight: 500; }
/* the key */
:is(#case, #lightbox) .rtr-key { margin: 12px 0 0 !important; padding: 0 !important; color: var(--ink-2); }
:is(#case, #lightbox) .rtr-key p { margin: 0 0 8px !important; max-width: 68ch; text-wrap: pretty; hyphens: manual; }
:is(#case, #lightbox) .rtr-key .rtr-key__h { margin: 12px 0 6px !important; font-weight: 500; color: var(--ink); }
:is(#case, #lightbox) .rtr-key > .rtr-key__h:first-child { margin-top: 0 !important; }
:is(#case, #lightbox) .rtr-key__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px 24px; }
:is(#case, #lightbox) .rtr-key__list > li { display: flex; align-items: first baseline; gap: 8px; margin: 0; padding: 0; text-wrap: pretty; hyphens: manual; min-width: 28ch; }
:is(#case, #lightbox) .rtr-key__list > li::before { content: none !important; }
:is(#case, #lightbox) .rtr-key__list strong { font-weight: 500; color: var(--ink); }
:is(#case, #lightbox) .rtr-key__n { flex: none; box-sizing: border-box; min-width: 18px; height: 18px; border-radius: 9px !important; background: var(--c); color: #fff; font: 500 10px/18px var(--text-font); text-align: center; }
@container case (min-width: 600px) { :is(#case, #lightbox) .rtr-kf:not(.rtr-kf--pair) .rtr-key__list--2 { grid-template-columns: 1fr 1fr; } }
/* Before and After: one figure, two columns (stacked on phones), each phone under its label, its key under it */
:is(#case, #lightbox) .rtr-kf__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; align-items: start; }
@container case (max-width: 599px) { :is(#case, #lightbox) .rtr-kf__cols { grid-template-columns: 1fr; } }
:is(#case, #lightbox) .rtr-kf__col { min-width: 0; }
:is(#case, #lightbox) .rtr-kf__col > .rtr-kf__img { width: 100%; max-width: 300px; }
:is(#case, #lightbox) .rtr-kf__label { margin: 0 0 8px !important; font: 500 12px/1.45 var(--text-font) !important; color: var(--ink) !important; }
/* (enlarged: the key figure on the page's own paper, markers and key included) */
#lightbox .lightbox__stage > .rtr-kf { margin: 0 !important; padding: 24px; background: var(--bg, #F3F2EE); }
#lightbox .lightbox__stage.rtr-kf { margin: 0 !important; }

/* (cleanup handoff, change 4: the three findings as one numbered list: each finding one block, its quotes indented under
   it on a thin rule; tight inside a block, more room between blocks. Numbered as Reliant's Reflection is, 01–03) */
#case .prose ol.rtr-finds { list-style: none; counter-reset: rtr-f; margin: 24px 0 8px !important; padding: 0 !important; display: grid; gap: 40px; }
#case .prose ol.rtr-finds > li.rtr-find { counter-increment: rtr-f; position: relative; margin: 0 !important; padding: 0 0 0 40px !important; }
#case .prose ol.rtr-finds > li.rtr-find::before { content: counter(rtr-f, decimal-leading-zero) / ""; position: absolute; left: 0; top: 0; width: auto; height: auto; background: none;
  font: 400 calc(14px + var(--tx-bump, 0px))/1.6 var(--text-font); color: var(--gray, #8D8C87); }
#case .prose .rtr-find > p { margin: 0 !important; }
#case .prose .rtr-find__q { margin: 12px 0 0 !important; padding: 0 0 0 16px !important; border-left: 0.75px solid var(--ink, #111); }
#case .prose .rtr-find__q + .rtr-find__q { margin-top: 8px !important; }
#case .prose .rtr-find__q p { margin: 0 !important; color: var(--ink-2); }

/* (change 5: the Search stages once, as a table. Phones: each row stacks, its stage as a heading, each field under its label) */
#case .prose table.rtr-table { width: 100%; margin: 20px 0 8px; border-collapse: collapse; font: 400 calc(14px + var(--tx-bump, 0px))/1.5 var(--text-font); }
#case .prose .rtr-table th[scope="col"] { padding: 0 16px 8px 0; border-bottom: 0.75px solid var(--ink, #111); text-align: left; font: 500 12px/1.45 var(--text-font); color: var(--ink-2); }
#case .prose .rtr-table :is(th[scope="row"], td) { padding: 10px 16px 10px 0; border-bottom: 0.75px solid var(--soft, #D9D7D0); text-align: left; vertical-align: top; }
#case .prose .rtr-table th[scope="row"] { font-weight: 500; white-space: nowrap; }
#case .prose .rtr-table :is(th, td):last-child { padding-right: 0; }
@container case (max-width: 599px) {
  #case .prose table.rtr-table, #case .prose .rtr-table :is(tbody, tr, th, td) { display: block; }
  #case .prose .rtr-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  #case .prose .rtr-table tr { padding: 12px 0; border-bottom: 0.75px solid var(--soft, #D9D7D0); }
  #case .prose .rtr-table :is(th[scope="row"], td) { padding: 0; border: 0; white-space: normal; }
  #case .prose .rtr-table td { margin-top: 8px; }
  #case .prose .rtr-table td::before { content: attr(data-label); display: block; font: 500 12px/1.45 var(--text-font); color: var(--ink-2); }
}

/* (Cindy 2026-11-19) A tall image sits beside its caption and key on wide screens, so the callouts are on the same
   screen as the image; phones stack them */
@container case (min-width: 600px) {
  :is(#case, #lightbox) .rtr-kf--portrait { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: 24px; align-items: start; }
  :is(#case, #lightbox) .rtr-kf--portrait > .rtr-key { margin-top: 0 !important; }
}
/* (Cindy 2026-11-19) Screenshots whose own lines point up to their callouts: the callouts at the top of their lines,
   inside the figure (as on the old page), the state names under the screens. Phones: the image, its state names, then
   the callouts as a list */
:is(#case, #lightbox) .rtr-kf--inline > .rtr-kf__states { margin-top: 10px; }
@container case (max-width: 599px) {
  :is(#case, #lightbox) .rtr-kf--inline { display: flex; flex-direction: column; }
  :is(#case, #lightbox) .rtr-kf--inline > .rtr-kf__img { order: 0; }
  :is(#case, #lightbox) .rtr-kf--inline > .rtr-kf__states { order: 1; }
  :is(#case, #lightbox) .rtr-kf--inline > .rtr-co--above { order: 2; margin-top: 16px; }
  :is(#case, #lightbox) .rtr-kf--inline > figcaption { order: 3; }
}
/* (Cindy 2026-11-19: sleeker badges: a small circle, a white tabular number, a hairline white ring so it reads on any
   screenshot. Same in the key. Red for problems, green for changes; the key's heading says which, too) */
:is(#case, #lightbox) .rtr-kf { --rtr-minus-m: var(--accent-text, #C53A1C); --rtr-plus-m: #3F6E52; }   /* (Cindy 2026-11-19: red and green again, in the site's accent red and a muted forest green; white numbers 5.3:1 and 5.9:1) */
:is(#case, #lightbox) .rtr-m { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px !important; box-shadow: 0 0 0 1.5px #fff !important;
  font: 500 10px/18px var(--text-font); font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
:is(#case, #lightbox) .rtr-m--label { padding: 0 7px; letter-spacing: 0.02em; }
:is(#case, #lightbox) .rtr-key__n { min-width: 16px; height: 16px; border-radius: 8px !important; font: 500 9.5px/16px var(--text-font); font-variant-numeric: tabular-nums; transform: translateY(-1px); }
/* (the in-image dots' colors, for the phone list's dots under the inline search figures) */
:is(#case, #lightbox) .rtr-kf { --rtr-minus: #D93A4F; --rtr-plus: #1E8F55; }
/* (Cindy 2026-11-19) The tall image: its key beside it, its caption (the Superbar paragraphs) under both, full width */
@container case (min-width: 600px) {
  :is(#case, #lightbox) .rtr-kf--portrait { grid-template-areas: "img keys" "cap cap"; }
  :is(#case, #lightbox) .rtr-kf--portrait > .rtr-kf__img { grid-area: img; }
  :is(#case, #lightbox) .rtr-kf--portrait > .rtr-key { display: contents; }
  :is(#case, #lightbox) .rtr-kf--portrait .rtr-key__keys { grid-area: keys; }
  :is(#case, #lightbox) .rtr-kf--portrait .rtr-key__cap { grid-area: cap; margin-top: 16px; }
}
:is(#case, #lightbox) .rtr-key__keys > .rtr-key__h:first-child { margin-top: 0 !important; }
/* (Cindy 2026-11-19) Figures fill the column between its lines, as the case study's do; their text (captions, keys,
   Before / After labels) sits 12px in, as the body text does */
:is(#case, #lightbox) .rtr-kf :is(.rtr-key, .rtr-kf__label) { padding-inline: var(--pad-x, 12px) !important; }
@container case (min-width: 600px) {
  :is(#case, #lightbox) .rtr-kf--portrait { grid-template-columns: minmax(0, 1fr) 216px; column-gap: 12px; }   /* (a narrower key, a bigger image) */
  :is(#case, #lightbox) .rtr-kf--portrait .rtr-key__keys { padding-right: var(--pad-x, 12px); }
  :is(#case, #lightbox) .rtr-kf--portrait .rtr-key__cap { padding-inline: var(--pad-x, 12px); }
}
/* (the Superbar pill again, by its description) */
:is(#case, #lightbox) .rtr-key__row { display: flex; align-items: flex-start; gap: 8px; }
:is(#case, #lightbox) .rtr-key__row > div { min-width: 0; }
:is(#case, #lightbox) .rtr-key__pill { flex: none; box-sizing: border-box; height: 16px; padding: 0 6px; border-radius: 8px !important; background: var(--c); color: #fff;
  font: 500 9.5px/16px var(--text-font); letter-spacing: 0.02em; margin-top: 1px; }
:is(#case, #lightbox) .rtr-kf--portrait .rtr-key__list > li { min-width: 0; }   /* (the narrow key column: no 28ch floor, or it runs past the line) */
/* (Cindy 2026-11-19, a try: the first image's key on the left, the image on the right) */
@container case (min-width: 600px) {
  :is(#case, #lightbox) .rtr-kf--portrait { grid-template-columns: 216px minmax(0, 1fr); grid-template-areas: "keys img" "cap cap"; }
  :is(#case, #lightbox) .rtr-kf--portrait .rtr-key__keys { padding-right: 0; padding-left: var(--pad-x, 12px); }
}
/* (Cindy 2026-11-19) Before / After level: the two recordings are 1641 and 1637px tall, so both phones get the same
   frame (the taller one's shape) and the keys under them line up */
:is(#case, #lightbox) .rtr-kf--pair .rtr-kf__col > .rtr-kf__img img { aspect-ratio: 800 / 1641; height: auto; object-fit: contain; object-position: top; }
/* (Cindy 2026-11-19) "Design Decision · Streamlining the Superbar": the case study's Constraints treatment, a medium
   label then its descriptor, on one baseline */
#case .prose h3.rtr-sub--tier { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font: 500 16px/1.35 var(--text-font) !important; color: var(--ink); }
#case .prose h3.rtr-sub--tier .rtr-sub__d { font: 400 14px/1.5 var(--text-font); color: var(--ink); }
/* (Cindy 2026-11-19, a test, Controls "fp": pop = each figure 48px wider than the column on both sides, so the visuals
   aren't squeezed between its lines; captions and keys under an image stay level with the body text. col = in the
   column, as before. Wide windows only (room on both sides); phones keep the column) */
:is(#case, #lightbox) .rtr-kf { --rtr-in: var(--pad-x, 12px); }
@container case (min-width: 860px) {
  html.fp-pop #case .rtr-kf { --pop: 48px; --rtr-in: calc(var(--pad-x, 12px) + var(--pop));
    width: calc(var(--g-frame, 710px) + 2 * var(--pop)) !important; max-width: none !important;
    margin-left: calc(-1 * var(--pad-x, 12px) - var(--pop)) !important; }
}
:is(#case, #lightbox) .rtr-kf:not(.rtr-kf--pair) > .rtr-key { padding-inline: var(--rtr-in) !important; }
@container case (min-width: 600px) { :is(#case, #lightbox) .rtr-kf--portrait .rtr-key__cap { padding-inline: var(--rtr-in); } }
@container case (min-width: 860px) {
  /* (the column's lines pause where a popped-out figure is: a8-case.html masks them as the page scrolls) */
}
/* (Cindy 2026-11-19) The redesigned-grid recording's last row is a dark gray line, in every frame (and its still): its
   frame is the recording's shape less that row (800 x 580 of 581), the soft edge line drawn on the frame instead */
:is(#case, #lightbox) .rtr-kf.rtr-gif:not(.rtr-kf--phone) .rtr-kf__img { aspect-ratio: 800 / 580; overflow: hidden; outline: 1px solid var(--soft, #D9D7D0); outline-offset: -1px; }
:is(#case, #lightbox) .rtr-kf.rtr-gif:not(.rtr-kf--phone) .rtr-kf__img img { outline: none !important; }
/* (Cindy 2026-11-19: "why are these always off center") Each phone, its label and its key as one 300px block, centered in
   its half, so the pair sits symmetrically in the figure */
:is(#case, #lightbox) .rtr-kf--pair .rtr-kf__col { width: 100%; max-width: 300px; justify-self: center; }
:is(#case, #lightbox) .rtr-kf--pair .rtr-kf__col > :is(.rtr-kf__label, .rtr-key) { padding-inline: 0 !important; }
/* (Cindy 2026-11-19) More room between subsections: 64px above each subheading (was 40; sections stay about 96 apart) */
#case .prose h3.rtr-sub { margin-top: 64px !important; }
/* (Cindy 2026-11-19) The first (tall) image centered, its callouts underneath: the Problems key, then the Superbar
   caption; nothing beside it */
@container case (min-width: 600px) {
  :is(#case, #lightbox) .rtr-kf--portrait { display: block; }
  :is(#case, #lightbox) .rtr-kf--portrait > .rtr-kf__img { width: 100%; max-width: 480px; margin-inline: auto; }
  :is(#case, #lightbox) .rtr-kf--portrait > .rtr-key { display: flex; flex-direction: column; margin-top: 16px !important; }
  :is(#case, #lightbox) .rtr-kf--portrait .rtr-key__keys { order: 1; margin-top: 0 !important; padding: 0; }
  :is(#case, #lightbox) .rtr-kf--portrait .rtr-key__cap { order: 2; margin-top: 16px; padding-inline: 0; }
}
@container case (min-width: 600px) { :is(#case, #lightbox) .rtr-kf--portrait > .rtr-kf__img { max-width: 420px; } }   /* (Cindy 2026-11-19: a bit smaller, so the caption fits on the screen too) */
:is(#case, #lightbox) .rtr-kf--pair .rtr-kf__label { text-align: center; }   /* (Cindy 2026-11-19: Before / After centered over their phones) */

/* (Cindy 2026-11-19: more white space between pictures and text; the first image a bit bigger) */
:is(#case, #lightbox) .rtr-kf { margin-top: 56px !important; margin-bottom: 56px !important; }
:is(#case, #lightbox) .rtr-pair { margin: 56px 0; }
#case .prose table.rtr-table { margin: 32px 0 24px; }
#case .prose ol.rtr-finds { margin: 32px 0 24px !important; }
#case .prose h3.rtr-sub { margin-top: 80px !important; }   /* (stays clearly bigger than the gap around a picture) */
#case .prose h3.rtr-sub + .rtr-kf { margin-top: 40px !important; }
@container case (min-width: 600px) { :is(#case, #lightbox) .rtr-kf--portrait > .rtr-kf__img { max-width: 500px; } }
#lightbox .lightbox__stage > .rtr-kf { margin: 0 !important; }

/* ---------- (Cindy 2026-11-19) Case study title block and metadata row, all case studies ----------
   The title's own bottom border sat 0.75px above the full-width line drawn under it, so the column showed two lines:
   the border goes (transparent, so nothing moves) and the full-width line stays. The dots between facts had 0.25em
   before them and 0.55em after: now even. Where the row has room, the third fact (Location on Charles River, Year on
   the others) and what follows it sit at the right end of the row */
html.ht-title body #case .case-hero > .case-hero__head { border-bottom-color: transparent !important; }
html.a7 body.lx-g.lx-g.lx-g.lx-g .case.v3 .sys-meta > div + div::before { margin: 0 0.15em 0 0.45em !important; }   /* (each fact's own 0.3em gap follows the dot, so 0.45em on both sides) */
@container case (min-width: 700px) {
  html.a7 body.lx-g.lx-g.lx-g.lx-g .case.v3 .sys-meta > div:nth-child(3) { margin-left: auto !important; }
  html.a7 body.lx-g.lx-g.lx-g.lx-g .case.v3 .sys-meta > div:nth-child(3)::before { content: none !important; }
}

/* =====================================================================================================================
   Mobile audit, 2026-11-19 (reference/handoffs/2026-11-19-mobile-audit.md). Phones and tablets: below 1024.
   ===================================================================================================================== */
/* M1: the site header, as on every other page (desktop keeps the logo alone: Cindy 2026-11-17) */
@media (min-width: 1024px) { .sh .sh-nav--case { display: none; } }
@media (max-width: 1023px) {
  html.a7 body .sh { height: 44px !important; background: var(--paper, #F3F2EE) !important; pointer-events: auto; }
  html.a7 body .sh::after { display: block !important; opacity: 1 !important; top: auto !important; bottom: 0; border-top: 0.75px solid var(--case-line, #CDCBC5) !important; }
  html.a7 body .sh .sh-logo { height: 44px; min-width: 44px; }
  html.a7 body .sh .sh-nav--case a { height: 44px; }
  /* under it, one sticky bar: ← Work on the left, Contents on the right */
  html.a7 body.cv3 .m-bar:not([hidden]) { top: 44px; height: 48px; padding: 0 16px !important; gap: 12px; }
  html.a7 body.cv3 .m-bar .m-where { display: none; }
  html.a7 body.cv3 .m-bar .m-back { display: inline-flex; align-items: center; gap: 0.35em; min-height: 44px; margin-right: auto; padding-right: 12px; font: 400 14px/1 var(--text-font); color: var(--ink); text-decoration: none; }
  html.a7 body.cv3 .m-bar .m-back:hover { color: var(--accent-text, #C53A1C); }
  html.a7 body.cv3 #m-open { position: relative; min-height: 36px; padding: 6px 16px; }
  html.a7 body.cv3 #m-open::after { content: ""; position: absolute; inset: -4px 0; }   /* (a 44px tall target; the pill stays 36) */
  html.a7 body.cv3 .case.v3 .act-break { top: 92px; }
  html.a7 body.cv3 .case.v3 :is(.case-section, [data-sub], .v3-sub) { scroll-margin-top: 140px; }
  /* the title block's own "← Back", and the space above it, go: the bar has Work */
  html.a7 body.lx-g .case.v3 .case-hero > .g-back { display: none !important; }
  html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-sys .case.v3 .case-hero { padding-top: 24px !important; }
}
/* M3: tap targets, at least 24px; 44px rows in the Contents sheet. Hit areas grow; what you see stays the same */
@media (max-width: 1023px) {
  html.a7 body .case.v3 .section-head > .g-sub > a.sec-back { position: relative; }
  html.a7 body .case.v3 .section-head > .g-sub > a.sec-back::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 32px; transform: translateY(-50%); }
  html.a7 body .case .dm-switch > button { position: relative; }
  html.a7 body .case .dm-switch > button::after { content: ""; position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); }
  html.a7 body.cv3 .case-index .rail-link { min-height: 44px; align-content: center; align-items: center; padding-top: 0; padding-bottom: 0; }
  html.a7 body.cv3 .case-index .rail-home { display: flex; align-items: center; gap: 0.35em; min-height: 44px; }
}
/* M6: no text under 12px but superscripts and badge numbers. Rent the Runway's badges: words 12px, numbers 11px in a
   20px circle (were 9.5–10px in 16–18px). All widths: the same badges show on desktop */
:is(#case, #lightbox) .rtr-m { min-width: 20px !important; height: 20px !important; border-radius: 10px !important; font-size: 11px !important; line-height: 20px !important; }
:is(#case, #lightbox) .rtr-m--label { font-size: 12px !important; }
:is(#case, #lightbox) .rtr-key__n { min-width: 20px !important; height: 20px !important; border-radius: 10px !important; font-size: 11px !important; line-height: 20px !important; transform: none !important; }
:is(#case, #lightbox) .rtr-key__pill { height: 20px !important; border-radius: 10px !important; font-size: 12px !important; line-height: 20px !important; }
/* C1: figures on phones. Images run from frame line to frame line, the window less 19px a side at 390 (the gray frame's padding goes); every enlargeable figure shows an
   "Open full size" row under it (touch has no hover, so the "Enlarge" tag never showed); the two widest scroll sideways
   in their own frame at half their pixel size, with a hint. The viewer is full screen, with Zoom in / Fit and pinch */
@media (max-width: 1023px) {
  html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g #case.case.v3 a.figure__frame, html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g #case.case.v3 div.figure__frame { padding: 0 !important; background: transparent !important; box-shadow: none !important; border: 0 !important; overflow: visible; }
  html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g #case.case.v3 .figure__frame > img, html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g #case.case.v3 .figure__frame > picture > img { justify-self: start; width: var(--fw, 100vw) !important; max-width: none !important; height: auto !important; margin-left: calc(50% - var(--fw, 100vw) / 2) !important; border-radius: 0 !important; box-shadow: none !important; background: var(--paper, #F3F2EE); }
  html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g #case.case.v3 a.zoom::after { content: "Open full size" / "" !important; position: static !important; justify-self: start; display: flex; align-items: center; min-height: 44px; margin: 0 !important; padding: 0 !important; opacity: 1 !important;
    background: none !important; box-shadow: none !important; color: var(--ink, #111) !important; font: 400 12px/1.45 var(--text-font) !important; letter-spacing: normal !important; text-transform: none !important; text-decoration: underline; text-underline-offset: 3px; }
  /* (the older "Open full size" links: the same row) */
  html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g #case.case.v3 .figure__zoom { min-height: 44px; font: 400 12px/1.45 var(--text-font) !important; color: var(--ink, #111) !important; }
  /* the two widest: a frame of their own, the window's width, scrolling sideways */
  html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g #case.case.v3 a.figure__frame:has(> img:is([src*="ao-ia-inventory"], [src*="ao-versioning-board"])) { width: var(--fw, 100vw); margin-left: calc(50% - var(--fw, 100vw) / 2); overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
  html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g #case.case.v3 a.figure__frame > img[src*="ao-ia-inventory"] { width: 1600px !important; margin-left: 0 !important; }
  html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g #case.case.v3 a.figure__frame > img[src*="ao-versioning-board"] { width: 842px !important; margin-left: 0 !important; }
  html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g #case.case.v3 a.figure__frame:has(> img:is([src*="ao-ia-inventory"], [src*="ao-versioning-board"]))::after { position: sticky !important; left: 0; padding-left: 16px !important; }
  html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g #case.case.v3 figure:has(> a.figure__frame > img:is([src*="ao-ia-inventory"], [src*="ao-versioning-board"]))::before { content: "Scroll →" / "Scrolls sideways"; display: block; margin: 0 0 6px; text-align: right; font: 400 12px/1.45 var(--text-font); color: var(--gray, #5E5C57); }
  /* the viewer */
  html.a7 body .lightbox { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 60px 0 24px; border-radius: 0; overflow: auto; overscroll-behavior: contain; touch-action: pan-x pan-y pinch-zoom; }
  html.a7 body .lightbox > img { max-width: none; max-height: none; width: 100vw; height: auto; margin: 0; }
  html.a7 body .lightbox.lb-zoom > img { width: max(250vw, 900px); }
  html.a7 body .lightbox :is(.lightbox__close, .lightbox__zoom) { position: fixed; top: 8px; z-index: 2; min-height: 44px; padding: 0 16px; background: var(--bg, #F3F2EE); font: 400 12px/1 var(--text-font); letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); border: 1px solid var(--ink); border-radius: 999px; cursor: pointer; }
  html.a7 body .lightbox .lightbox__close { right: 8px; }
  html.a7 body .lightbox .lightbox__zoom { left: 8px; }
}
@media (min-width: 1024px) { html.a7 body .lightbox .lightbox__zoom { display: none; } }
/* C2: the title block on phones. The subtitle 18/24 (was 22 on 26); in the facts and the tags each "·" ends the item
   before it, so a wrapped line never starts with one */
@media (max-width: 1023px) {
  html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g #case.case.v3 .case-hero__head > .hero-sub { font-size: 18px !important; line-height: 24px !important; }
  html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g #case.case.v3 .sys-meta > div + div::before { content: none !important; }
  html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g #case.case.v3 .sys-meta > div:not(.sys-tags) { margin-left: 0 !important; margin-right: 0 !important; }
  html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g #case.case.v3 .sys-meta > div:not(:nth-last-child(-n+2))::after { content: "·" / ""; margin: 0 0.45em 0 0; color: var(--gray); text-box: trim-both cap alphabetic; }
  html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g #case.case.v3 .sys-meta > div:is(:nth-child(4):not(:has(~ .sys-tags)), .sys-tags) dd > span + span::before { content: none !important; }
  html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g #case.case.v3 .sys-meta > div:is(:nth-child(4):not(:has(~ .sys-tags)), .sys-tags) dd > span:not(:last-child)::after { content: "\00a0·" / ""; margin-right: 0.25em; color: var(--gray); }
}
/* C3: framed quotes on phones keep the inner box only: no outer rules, no corner marks, no side padding (about 48px
   more text width) */
@media (max-width: 1023px) {
  html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g #case.case.v3 figure.pull-quote { padding: 8px 0 !important; }
  html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g #case.case.v3 figure.pull-quote::before, html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g #case.case.v3 figure.pull-quote::after,
  html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g #case.case.v3 figure.pull-quote .pq-cell::before, html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g #case.case.v3 figure.pull-quote .pq-cell::after { display: none !important; }
  html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g #case.case.v3 figure.pull-quote .pq-cell { border: 0.75px solid var(--case-line, #CDCBC5) !important; }
}
/* M4: less empty space at section ends on phones: 44px between sections, 66px where a new group starts */
@media (max-width: 1023px) {
  html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g #case.case.v3 .case-section { padding-bottom: 44px !important; }
  html.a7 body.lx-g.lx-g.lx-g.lx-g.lx-g.lx-g #case.case.v3 .act + .act { padding-top: 22px !important; }
  html.a7 body.lx-g > .page { margin-bottom: 0 !important; }   /* (the last section's 44px is the space above the footer; was 44 + 96) */
}
@media (max-width: 1023px) {
  html.a7 body .case a.mnote-under__i.mnote--link { display: inline-flex; align-items: center; min-height: 24px; }   /* (M3: a standalone link under the text, 20px tall before) */
}
/* (mobile audit, 2026-11-19: from 1024 up the grid is fluid, so at the narrow end the section head's margin note can be
   longer than the margin; it wraps inside it instead of running past the window's edge) */
@media (min-width: 1024px) {
  html.a7 body.lx-g.lx-g.lx-g.lx-g #case.case.v3 .section-head a.g-hnote { width: max-content !important; max-width: calc((100vw - 100%) / 2 - 56px) !important; white-space: normal !important; }
}
