/* =========================================================
   work.css — Selected Work index + shared case-study layout
   Sections:
     1. Work index (.wi-*)
     2. Generic case-study classes (.cs-*) — shared with agents.html
     3. Sentiment case study (.cs-sent-*)
   ========================================================= */

/* =========================================================
   1. WORK INDEX
   ========================================================= */
/* padding-top/bottom only: a shorthand here would wipe .wrap's side gutters and pull the hero off the column */
.wi-hero { padding-top: calc(var(--header-h) + clamp(56px, 10vw, 140px)); padding-bottom: clamp(48px, 7vw, 96px); }
.wi-hero .eyebrow { margin: 0 0 28px; }
.wi-hero .h1 { max-width: 13ch; }
.wi-hero-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: clamp(32px, 4vw, 56px); }
.wi-hero-foot .lede { margin: 0; }
.wi-summary { display: flex; gap: clamp(20px, 3vw, 44px); margin: 0; padding: 0; list-style: none; }
.wi-summary li { display: flex; flex-direction: column; gap: 4px; }
.wi-summary b { font-family: var(--mono); font-weight: 400; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.03em; line-height: 1; color: var(--ink); }

/* Filter chips */
.wi-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 20px; }
.wi-filters .label { margin-right: 8px; }
.wi-chip { height: 34px; padding: 0 14px; border: 1px solid var(--rule); border-radius: 999px; font-family: var(--mono); font-size: 12px;
  letter-spacing: .04em; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; transition: border-color .3s var(--ease), color .3s, background .3s; }
.wi-chip .c { font-size: 12px; color: var(--ink-3); transition: color .3s; }
.wi-chip:hover { border-color: var(--ink); color: var(--ink); }
.wi-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.wi-chip[aria-pressed="true"] .c { color: var(--paper); opacity: .6; }

/* Exhibit list */
.wi-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.wi-colhead { display: grid; grid-template-columns: 88px minmax(0, 1fr) 190px 72px 28px; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.wi-colhead span:nth-child(4) { text-align: right; }
.wi-item { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .6s var(--ease), opacity .45s var(--ease); }
.wi-item > .wi-inner { min-height: 0; overflow: hidden; --bleed: min(var(--gutter), 20px); margin: 0 calc(-1 * var(--bleed)); padding: 0 var(--bleed); }
.wi-item.is-out { grid-template-rows: 0fr; opacity: 0; }
.wi-row { position: relative; display: grid; grid-template-columns: 88px minmax(0, 1fr) 190px 72px 28px; gap: 20px; align-items: center;
  padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--rule); transition: opacity .4s var(--ease); }
.wi-row::before { content: ""; position: absolute; inset: -1px calc(-1 * var(--bleed, 0px)) 0; background: var(--accent-soft); border-radius: 4px;
  transform: scaleY(0); transform-origin: 50% 100%; transition: transform .5s var(--ease); z-index: -1; }
.wi-list { position: relative; z-index: 0; }
.wi-row .num { font-family: var(--mono); font-size: 13px; color: var(--mark); }
.wi-row .ttl { display: flex; flex-direction: column; gap: 6px; transition: transform .5s var(--ease); }
.wi-row .ttl strong { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.02; letter-spacing: -.015em; }
.wi-row .ttl small { font-size: 15px; color: var(--ink-2); line-height: 1.4; }
.wi-row .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.wi-row .type { font-size: 14px; color: var(--ink-2); }
.wi-row .yr { font-family: var(--mono); font-size: 13px; text-align: right; color: var(--ink-2); }
.wi-row .go { font-size: 20px; transition: transform .5s var(--ease), color .3s; justify-self: end; }
@media (hover: hover) {
  /* siblings step back only after a 300ms hover intent, and never below 70% */
  .wi-list:hover .wi-row:not(:hover) { opacity: .72; transition-delay: .3s; }
  .wi-row:hover::before, .wi-row:focus-visible::before { transform: scaleY(1); }
  .wi-row:hover .ttl { transform: translateX(10px); }
  .wi-row:hover .go { transform: translateX(6px); color: var(--accent); }
}
.wi-toggle { display: none; }
.wi-detail { display: none; }

/* Touch: rows expand to reveal a summary + chart */
@media (hover: none), (max-width: 860px) {
  .wi-colhead { display: none; }
  .wi-row { grid-template-columns: 56px minmax(0, 1fr) 28px; gap: 6px 14px; align-items: start; padding-bottom: 18px; border-bottom: 0; }
  .wi-row .type, .wi-row .yr { display: none; }
  .wi-row .go { margin-top: 6px; }
  .wi-row .num { padding-top: 10px; }
  .wi-row .ttl small { font-size: 14px; }
  .wi-mobile-meta { display: block !important; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
  .wi-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 12px 0 14px 70px; border-bottom: 1px solid var(--rule);
    font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
  .wi-toggle .pm { width: 22px; height: 22px; border: 1px solid var(--rule); border-radius: 50%; display: grid; place-items: center; transition: transform .4s var(--ease); }
  .wi-toggle[aria-expanded="true"] .pm { transform: rotate(45deg); }
  .wi-detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
  .wi-detail > div { min-height: 0; overflow: hidden; }
  .wi-detail.is-open { grid-template-rows: 1fr; }
  .wi-detail-in { padding: 18px 0 26px 70px; border-bottom: 1px solid var(--rule); display: grid; gap: 14px; }
  .wi-detail canvas { width: 100%; height: 120px; border: 1px solid var(--rule); border-radius: 10px; background: var(--paper-2); }
  .wi-detail p { margin: 0; color: var(--ink-2); font-size: 15px; }
}
@media (max-width: 480px) {
  .wi-row { grid-template-columns: 40px minmax(0, 1fr) 20px; }
  .wi-toggle, .wi-detail-in { padding-left: 54px; }
}
.wi-mobile-meta { display: none; margin-top: 6px; }
/* A collapsed panel is out of the tab order and the accessibility tree; it hides only once the closing animation ends */
.wi-detail:not(.is-open) > div { visibility: hidden; transition: visibility 0s .55s; }

/* Floating cursor preview (desktop, fine pointer only) */
.wi-preview { position: fixed; left: 0; top: 0; width: 300px; z-index: 40; pointer-events: none; opacity: 0;
  transform: translate3d(var(--x, 0), var(--y, 0), 0); transition: opacity .3s var(--ease); }
.wi-preview.is-on { opacity: 1; }
.wi-preview-card { background: var(--paper-2); border: 1px solid var(--ink); border-radius: 12px; padding: 14px 14px 12px;
  box-shadow: 0 24px 60px -24px color-mix(in srgb, var(--ink) 35%, transparent); transform: scale(.92) rotate(-1.5deg); transform-origin: 0 0; transition: transform .45s var(--ease); }
.wi-preview.is-on .wi-preview-card { transform: none; }
.wi-preview-head { display: flex; justify-content: space-between; margin-bottom: 10px; }
.wi-preview canvas { width: 100%; height: 150px; border-radius: 6px; background: var(--paper-2); }
.wi-preview-cap { margin: 10px 0 0; font-family: var(--serif); font-size: 16px; line-height: 1.3; color: var(--ink); }
.wi-preview .note { display: block; margin-top: 6px; }
@media (hover: none), (max-width: 860px) { .wi-preview { display: none; } }

/* "Also in the file" */
.wi-also { padding-top: clamp(72px, 10vw, 140px); padding-bottom: clamp(80px, 10vw, 140px); }
.wi-also-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.wi-card { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 12px; min-height: 230px; background: var(--paper-2);
  transition: border-color .3s var(--ease), opacity .4s var(--ease), transform .5s var(--ease); }
.wi-card:hover { border-color: var(--ink-3); }
.wi-card .top { display: flex; justify-content: space-between; align-items: baseline; }
.wi-card .h3 { font-size: 22px; }
.wi-card p { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.wi-card .tags { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.wi-card.is-out { opacity: 0; transform: scale(.96); }
.wi-card[hidden] { display: none; }
.wi-empty { padding: 28px 0; color: var(--ink-3); font-family: var(--serif); font-style: italic; font-size: 20px; }
@media (max-width: 900px) { .wi-also-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .wi-also-grid { grid-template-columns: 1fr; } .wi-card { min-height: 0; } }

/* "Shipped" */
.wi-ship { padding-top: clamp(72px, 10vw, 140px); }
.wi-ship-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 601px) { .wi-ship-grid > .wi-card:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 600px) { .wi-ship-grid { grid-template-columns: 1fr; } }
.wi-stat { font-family: var(--mono); font-size: 13px; color: var(--ink); line-height: 1.5; border-top: 1px solid var(--rule); padding-top: 12px; }
.wi-card p.wi-stat { color: var(--ink); font-size: 13px; }
.wi-links { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline; }
.wi-links a { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink); }
.wi-links .note { flex-basis: 100%; }

/* =========================================================
   2. GENERIC CASE STUDY
   ========================================================= */
.cs-hero { padding-top: calc(var(--header-h) + clamp(40px, 7vw, 110px)); padding-bottom: clamp(40px, 6vw, 80px); }
@media (max-width: 700px) { .cs-hero { padding-top: calc(var(--header-h) + 32px); } }   /* one hero top offset on phones, site-wide */
.cs-back { display: inline-flex; gap: 8px; margin-bottom: clamp(28px, 4vw, 48px); transition: color .3s; }
.cs-back:hover { color: var(--ink); }
.cs-hero .eyebrow { margin: 0 0 20px; display: flex; gap: 12px; flex-wrap: wrap; }
.cs-hero .eyebrow .accent { color: var(--mark); }
.cs-title { max-width: 12ch; }
.cs-question { font-style: italic; margin: clamp(22px, 3vw, 36px) 0 0; max-width: 28ch; color: var(--ink); }
.cs-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(48px, 7vw, 96px) 0 0; border-top: 1px solid var(--ink); }
.cs-meta > div { padding: 16px 20px 0 0; border-right: 1px solid var(--rule); margin-right: 20px; }
.cs-meta > div:last-child { border-right: 0; margin-right: 0; }
.cs-meta dt { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.cs-meta dd { margin: 0; font-family: var(--serif); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.3; }
.cs-meta .cs-meta-outcome dd { color: var(--mark); font-style: italic; }
@media (max-width: 800px) {
  .cs-meta { grid-template-columns: 1fr 1fr; }
  .cs-meta > div { padding: 14px 12px 16px 0; margin-right: 0; border-right: 0; border-bottom: 1px solid var(--rule); }
  .cs-meta > div:first-child { border-right: 1px solid var(--rule); margin-right: 14px; }
  .cs-meta > div:nth-child(n+3) { grid-column: 1 / -1; }
}

.cs-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.cs-facts li { padding: 24px 20px 22px 0; display: flex; flex-direction: column; gap: 8px; }
.cs-facts li + li { padding-left: 20px; border-left: 1px solid var(--rule); }
.cs-facts b { font-weight: 400; font-size: clamp(36px, 4.4vw, 64px); line-height: 1; color: var(--ink); }
@media (max-width: 700px) {
  .cs-facts { grid-template-columns: 1fr 1fr; }
  .cs-facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .cs-facts li:nth-child(n+3) { border-top: 1px solid var(--rule); }
}

.cs-chapter { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding-top: clamp(80px, 11vw, 160px); padding-bottom: clamp(40px, 6vw, 80px); }
.cs-chapter-head { grid-column: 1 / span 4; align-self: start; display: flex; flex-direction: column; gap: 14px; }
.cs-chapter-body { grid-column: 6 / -1; display: flex; flex-direction: column; gap: 22px; }
.cs-chapter-body p { margin: 0; }
.cs-chapter-body .body { font-size: 18px; }
.cs-chapter-body .body strong { color: var(--ink); font-weight: 500; }
.cs-num { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--mark); }
.cs-wide { grid-column: 1 / -1; }
@media (max-width: 800px) {
  .cs-chapter { grid-template-columns: 1fr; gap: 24px; }
  .cs-chapter-head, .cs-chapter-body, .cs-wide { grid-column: 1 / -1; position: static; }
  .cs-chapter-body .body { font-size: 17px; }
}

.cs-figure { margin: 0; border: 1px solid var(--rule); border-radius: 14px; background: var(--paper-2); padding: clamp(14px, 2vw, 24px); }
.cs-figure-frame { position: relative; }
.cs-figure figcaption { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--rule);
  font-size: 14px; color: var(--ink-2); }
.cs-figure figcaption .note { margin-left: auto; }

/* Sticky scene shell */
.cs-scene { position: relative; height: var(--h, 300vh); }
.cs-scene-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; padding-top: calc(var(--header-h) + 8px); padding-bottom: 24px; overflow: hidden; }
.cs-steps { display: grid; }
.cs-step { grid-area: 1 / 1; opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .7s var(--ease); pointer-events: none; }
.cs-step.is-on { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 800px) { .cs-scene { height: calc(var(--h, 300vh) * .78); } }

/* Pull quote */
.cs-pull { margin: clamp(80px, 12vw, 180px) auto; text-align: left; }
.cs-pull p { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 4.8vw, 72px); line-height: 1.08; letter-spacing: -.015em; max-width: 20ch;
  padding-left: clamp(18px, 3vw, 40px); border-left: 2px solid var(--mark); }
.cs-pull p em { color: var(--mark); }
.cs-pull cite { display: block; margin-top: 24px; padding-left: clamp(20px, 3vw, 42px); font-style: normal; }

/* Takeaways */
.cs-takeaways { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 4vw, 64px); }
.cs-takeaways li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 26px 0 28px; border-top: 1px solid var(--rule); }
.cs-takeaways .cs-num { padding-top: 6px; }
.cs-takeaways .h3 { margin-bottom: 10px; }
.cs-takeaways p { margin: 0; font-size: 16px; }
@media (max-width: 800px) { .cs-takeaways { grid-template-columns: 1fr; } }

/* Deliverables */
.cs-deliverables { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cs-doc { padding: 24px; display: flex; flex-direction: column; gap: 10px; min-height: 200px; position: relative; overflow: hidden; }
.cs-doc .top { display: flex; justify-content: space-between; }
.cs-doc p { margin: 0; color: var(--ink-2); font-size: 15px; }
.cs-doc .top .label:last-child { color: var(--ink-3); }
.cs-doc .cs-doc-ask { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.cs-doc .cs-doc-ask .btn { height: 42px; font-size: 14px; }
@media (max-width: 700px) { .cs-deliverables { grid-template-columns: 1fr; } .cs-doc { min-height: 0; } }

/* Controls */
.cs-tabs { display: inline-flex; padding: 4px; border: 1px solid var(--rule); border-radius: 999px; gap: 2px; background: var(--paper-2); }
.cs-tab { height: 34px; padding: 0 16px; border-radius: 999px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--ink-2);
  transition: background .3s var(--ease), color .3s; white-space: nowrap; }
.cs-tab:hover { color: var(--ink); }
.cs-tab[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.cs-range { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; margin: 0; }
.cs-range::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(var(--accent), var(--accent)) 0 0 / var(--fill, 0%) 100% no-repeat, var(--rule); }
.cs-range::-moz-range-track { height: 2px; background: var(--rule); }
.cs-range::-moz-range-progress { height: 2px; background: var(--accent); }
.cs-range::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -9px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--ink); transition: transform .2s; }
.cs-range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--ink); }
.cs-range:active::-webkit-slider-thumb { transform: scale(1.15); }

/* =========================================================
   3. SENTIMENT CASE STUDY (.cs-sent-*)
   ========================================================= */
.cs-sent-facts { margin-top: clamp(8px, 2vw, 24px); }

/* Scene */
.cs-sent-scene { --h: 420vh; margin-top: clamp(40px, 6vw, 80px); }
.cs-sent-stage { height: 100%; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.cs-sent-side { display: flex; flex-direction: column; gap: 28px; }
.cs-sent-ticks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; list-style: none; margin: 0; padding: 0; }
.cs-sent-ticks li { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); transition: color .4s; }
.cs-sent-ticks li::before { content: ""; display: block; height: 2px; margin-bottom: 8px; background: var(--rule); transition: background .4s var(--ease); }
.cs-sent-ticks li.is-on { color: var(--ink); }
.cs-sent-ticks li.is-on::before { background: var(--accent); }
.cs-sent-step .label { color: var(--accent); }
.cs-sent-step h3 { margin: 10px 0 12px; }
.cs-sent-step p { margin: 0; color: var(--ink-2); font-size: 17px; max-width: 40ch; }
.cs-sent-chart { display: flex; flex-direction: column; height: min(72vh, 640px); }
.cs-sent-chart .cs-figure-frame { flex: 1; min-height: 0; }
.cs-sent-chart canvas { width: 100%; height: 100%; }
.cs-sent-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; margin: 0 0 10px; padding: 0; font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.cs-sent-legend li { display: inline-flex; align-items: center; gap: 6px; }
.cs-sent-legend svg { width: 22px; height: 8px; }
.cs-sent-scene.is-static { height: auto; }
.cs-sent-scene.is-static .cs-scene-sticky { position: relative; height: auto; padding: 0; overflow: visible; }
.cs-sent-scene.is-static .cs-steps { display: flex; flex-direction: column; gap: 24px; }
.cs-sent-scene.is-static .cs-step { opacity: 1; transform: none; }
.cs-sent-scene.is-static .cs-sent-ticks { display: none; }
.cs-sent-scene.is-static .cs-sent-chart { height: 520px; }
@media (max-width: 800px) {
  .cs-sent-scene { --h: 400vh; }
  /* The chart keeps a floor, so the text can never squeeze it to a sliver */
  .cs-sent-stage { grid-template-columns: 1fr; grid-template-rows: minmax(250px, 1fr) auto; align-items: stretch; gap: 14px; }
  .cs-sent-chart { order: -1; height: auto; min-height: 0; }
  .cs-sent-chart.cs-figure { padding: 12px; }
  .cs-sent-chart figcaption { margin-top: 8px; padding-top: 6px; }
  /* "Fig. 1" stays (the prose names it); only the long caption goes */
  .cs-sent-chart figcaption > .cap { display: none; }
  .cs-sent-chart figcaption .note { margin-left: 0; }
  .cs-sent-side { gap: 14px; min-height: 172px; }
  .cs-sent-step h3 { font-size: 21px; margin: 6px 0 6px; }
  .cs-sent-step p { font-size: 15px; }
  .cs-sent-scene.is-static .cs-sent-chart { height: 380px; }
  .cs-sent-scene.is-static .cs-sent-chart figcaption > .cap { display: inline; }
}
/* Short phones: drop the extras around the chart and tighten the step text */
@media (max-width: 800px) and (max-height: 740px) {
  .cs-sent-scene:not(.is-static) .cs-sent-sub,
  .cs-sent-scene:not(.is-static) .cs-sent-chart figcaption .note,
  .cs-sent-scene:not(.is-static) .cs-sent-legend-acc { display: none; }
  .cs-sent-scene:not(.is-static) .cs-sent-legend { margin-bottom: 6px; }
  .cs-sent-scene:not(.is-static) .cs-sent-side { gap: 10px; min-height: 0; }
  .cs-sent-scene:not(.is-static) .cs-sent-step h3 { font-size: 18px; margin: 4px 0; }
  .cs-sent-scene:not(.is-static) .cs-sent-step p { font-size: 14px; line-height: 1.45; }
}
/* In-between heights (a 375×812 phone): only the caption's note goes, and the chart gets its two lines */
@media (max-width: 800px) and (min-height: 741px) and (max-height: 830px) {
  .cs-sent-scene:not(.is-static) .cs-sent-chart figcaption .note { display: none; }
}
/* Phones on their side: chart and text side by side again, so the chart gets the height */
@media (max-width: 800px) and (max-height: 500px) and (orientation: landscape) {
  .cs-sent-scene:not(.is-static) .cs-sent-stage { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: minmax(0, 1fr); gap: 16px; }
  .cs-sent-scene:not(.is-static) .cs-sent-chart { order: 0; height: 100%; }
  .cs-sent-scene:not(.is-static) .cs-sent-side { align-self: center; }
  .cs-sent-scene:not(.is-static) .cs-sent-ticks { display: none; }
  .cs-sent-scene:not(.is-static) .cs-sent-step p { font-size: 13px; }
}
/* Upright phones (sentiment.js adds .is-flow): no full-screen pin. Heading, then the chart sticks
   under the header at under half the screen, and the four steps scroll past it as normal text. */
.cs-sent-scene.is-flow:not(.is-static) { height: auto; margin-top: 56px; }
.cs-sent-scene.is-flow:not(.is-static) .cs-scene-sticky { position: relative; height: auto; padding: 0; overflow: visible; }
.cs-sent-scene.is-flow:not(.is-static) .cs-sent-stage { display: flex; flex-direction: column; gap: 0; height: auto; align-items: stretch; }
.cs-sent-scene.is-flow:not(.is-static) .cs-sent-side { display: contents; }
.cs-sent-scene.is-flow:not(.is-static) .cs-sent-side > div:first-child { order: -2; margin-bottom: 16px; }
.cs-sent-scene.is-flow:not(.is-static) .cs-sent-sub { display: block; margin: 8px 0 0; }
.cs-sent-scene.is-flow:not(.is-static) .cs-sent-ticks { display: none; }
.cs-sent-scene.is-flow:not(.is-static) .cs-sent-chart { order: -1; position: sticky; top: calc(var(--header-h) + 4px); z-index: 2; height: clamp(250px, 42svh, 360px); min-height: 0;
  box-shadow: 0 10px 18px -12px rgba(0, 0, 0, .18); }
.cs-sent-scene.is-flow:not(.is-static) .cs-sent-chart figcaption .note { display: none; }
.cs-sent-scene.is-flow:not(.is-static) .cs-sent-legend-acc { display: none; }
.cs-sent-scene.is-flow:not(.is-static) .cs-steps { display: flex; flex-direction: column; padding: 8px 0 14svh; }
.cs-sent-scene.is-flow:not(.is-static) .cs-step { opacity: .45; transform: none; pointer-events: auto; padding: 6svh 0; transition: opacity .35s var(--ease); }
.cs-sent-scene.is-flow:not(.is-static) .cs-step.is-on { opacity: 1; }
.cs-sent-scene.is-flow:not(.is-static) .cs-sent-step h3 { font-size: 22px; margin: 8px 0; }
.cs-sent-scene.is-flow:not(.is-static) .cs-sent-step p { font-size: 16px; line-height: 1.55; }

/* Hero meta: six cells (role, team, course, timeline, tools, outcome) on a 3-column grid */
.cs-sent-meta { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cs-sent-meta > div { padding-bottom: 16px; }
.cs-sent-meta > div:nth-child(3n) { border-right: 0; margin-right: 0; }
.cs-sent-meta > div:nth-child(n+4) { border-top: 1px solid var(--rule); }
@media (max-width: 800px) {
  .cs-sent-meta { grid-template-columns: 1fr 1fr; }
  .cs-sent-meta > div, .cs-sent-meta > div:first-child { border-right: 0; margin-right: 0; border-top: 0; }
  .cs-sent-meta > div:nth-child(odd) { border-right: 1px solid var(--rule); margin-right: 14px; }
  .cs-sent-meta > div:nth-child(n+3) { grid-column: auto; }
  .cs-sent-meta > div.cs-meta-outcome { grid-column: 1 / -1; border-right: 0; margin-right: 0; }
  .cs-sent-meta > div:nth-child(3) { grid-column: 1 / -1; border-right: 0; margin-right: 0; }
  .cs-sent-meta > div:nth-child(4) { border-right: 1px solid var(--rule); margin-right: 14px; }
  .cs-sent-meta > div:nth-child(5) { border-right: 0; margin-right: 0; }
}

/* Scene fallback (data couldn't load, e.g. opened from file://) */
.cs-sent-fallback { padding: 8px 4px; }
.cs-sent-fallback dl { margin: 12px 0 0; display: grid; gap: 10px; }
.cs-sent-fallback dt { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); }
.cs-sent-fallback dd { margin: 2px 0 0; font-family: var(--serif); font-size: 19px; color: var(--ink); }
.cs-sent-scene.is-nodata .cs-sent-chart { height: auto; }
.cs-sent-scene.is-nodata .cs-sent-legend { display: none; }

/* What the model kept: real coefficients + LASSO↔Ridge mix */
.cs-sent-reg { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 40px); margin-top: clamp(24px, 4vw, 48px); }
.cs-sent-controls { display: flex; flex-direction: column; gap: 26px; }
.cs-sent-explain { min-height: 168px; display: flex; flex-direction: column; gap: 8px; }
.cs-sent-explain [data-x="tag"] { color: var(--accent); }
.cs-sent-explain.is-zero [data-x="tag"] { color: var(--ink-3); }
.cs-sent-explain h3 { margin: 0; }
.cs-sent-explain p { margin: 0; color: var(--ink-2); font-size: 16px; }
.cs-sent-explain .cue { margin-top: 4px; }
.cs-sent-read { display: flex; gap: 28px; padding-top: 18px; border-top: 1px solid var(--rule); }
.cs-sent-read div { display: flex; flex-direction: column; gap: 4px; }
.cs-sent-read b { font-family: var(--mono); font-weight: 400; font-size: 28px; letter-spacing: -.02em; }
.cs-sent-lam { display: grid; gap: 6px; }
.cs-sent-lam .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cs-sent-lam output { font-family: var(--mono); font-size: 14px; color: var(--ink); }
.cs-sent-lam .ends { display: flex; justify-content: space-between; }
.cs-sent-mixwrap { position: relative; padding-top: 20px; }
.cs-sent-ours { position: absolute; top: 0; left: calc(10px + (100% - 20px) * .95); transform: translateX(-75%); font-family: var(--mono); font-size: 11px;
  color: var(--accent); white-space: nowrap; pointer-events: none; }
.cs-sent-ours::after { content: ""; position: absolute; left: 75%; top: 15px; width: 1px; height: 8px; background: var(--accent); }
.cs-sent-mode { margin: 6px 0 0; font-size: 14px; color: var(--ink-2); min-height: 3em; }
.cs-sent-bars { list-style: none; margin: 0; padding: 4px 0; display: grid; gap: 2px; position: relative; }
.cs-sent-feat { all: unset; box-sizing: border-box; width: 100%; display: grid; grid-template-columns: minmax(0, 18.5em) minmax(0, 1fr) 48px; gap: 12px; align-items: center;
  padding: 4px 8px; border-radius: 6px; font-family: var(--mono); font-size: 12px; cursor: pointer; transition: background .25s; }
.cs-sent-feat:hover, .cs-sent-bars li.is-sel .cs-sent-feat { background: var(--accent-soft); }
.cs-sent-feat:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.cs-sent-bars .k { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-sent-bars .v { text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }
.cs-sent-bars li.is-zero .k, .cs-sent-bars li.is-zero .v { color: var(--ink-3); }
.cs-sent-track { position: relative; height: 18px; }
.cs-sent-track::before { content: ""; position: absolute; left: 50%; top: -4px; bottom: -4px; width: 1px; background: var(--ink-3); }
.cs-sent-track .ghost, .cs-sent-track .bar { position: absolute; top: 3px; bottom: 3px; width: 50%; }
.cs-sent-track .ghost { border: 1px dashed var(--ink-3); opacity: 0; border-radius: 2px; transition: opacity .4s; }
.cs-sent-track .bar { background: var(--accent); border-radius: 2px; transition: transform .55s var(--ease), background .3s; }
.cs-sent-track .pos { left: 50%; transform-origin: 0 50%; }
.cs-sent-track .neg { right: 50%; transform-origin: 100% 50%; }
.cs-sent-track .bar.neg { background: var(--ink-2); }
.cs-sent-track .bar.mid { left: 0; width: 100%; transform-origin: 50% 50%; transform: scaleX(0); }
.cs-sent-coef.is-concept .ghost { opacity: .7; }
.cs-sent-track .bar.mid { background: var(--ink-3); }
.cs-sent-coef.is-concept .bar { opacity: .5; }
.cs-sent-axis { display: grid; grid-template-columns: minmax(0, 18.5em) minmax(0, 1fr) 48px; gap: 12px; margin-top: 10px; padding: 0 8px; font-size: 12px; }
.cs-sent-axis div { display: flex; justify-content: space-between; gap: 8px; }
@media (max-width: 900px) { .cs-sent-reg { grid-template-columns: 1fr; } .cs-sent-explain { min-height: 0; } }
@media (max-width: 600px) {
  .cs-sent-feat { grid-template-columns: minmax(0, 1fr) 44px; grid-template-areas: "k v" "t t"; gap: 2px 8px; padding: 6px 6px; }
  .cs-sent-feat .k { grid-area: k; font-size: 11px; } .cs-sent-feat .v { grid-area: v; } .cs-sent-feat .cs-sent-track { grid-area: t; }
  .cs-sent-axis { grid-template-columns: 1fr; padding: 0 6px; } .cs-sent-axis > span { display: none; }
  .cs-sent-coef:not(.is-concept) li.is-zero .cs-sent-track { display: none; }
  .cs-sent-coef:not(.is-concept) li.is-zero .cs-sent-feat { padding-top: 3px; padding-bottom: 3px; }
}

.cs-sent-close { padding-bottom: clamp(80px, 10vw, 140px); }
.cs-sent-close .sect-head { margin-top: clamp(64px, 9vw, 120px); }
.cs-sent-close .sect-head:first-child { margin-top: 0; }
.cs-sent-ask { margin-top: 24px; color: var(--ink-2); }
.cs-sent-ask a { color: var(--ink); }

/* =========================================================
   4. SHARED ADDITIONS (work index + both case pages)
   ========================================================= */
/* Plain-English subtitle beside a report-style conceit */
.sect-head .sect-sub { font-family: var(--sans); font-size: 15px; color: var(--ink-2); letter-spacing: 0; text-transform: none; }
@media (max-width: 600px) {
  .sect-head:has(.sect-sub) { flex-wrap: wrap; row-gap: 4px; }
  .sect-head .sect-sub { order: 3; flex-basis: 100%; font-size: 14px; }
}
.cs-chapter-head .sect-sub, .cs-sub { font-family: var(--sans); font-size: 15px; color: var(--ink-2); margin: 0; }

/* On-object cue: a small pill that sits on the thing it describes */
.cue { display: inline-flex; align-items: center; gap: 8px; width: max-content; max-width: 100%; font-family: var(--sans); font-size: 13px; font-weight: 500;
  color: var(--accent); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.cue::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent-soft);
  animation: cue-pulse 2.4s var(--ease) infinite; }
.cue.is-gone { opacity: 0; transform: translateY(-4px); pointer-events: none; }
@keyframes cue-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent); } 70%, 100% { box-shadow: 0 0 0 8px transparent; } }

/* Work index: cue on the first row (desktop) — the touch rows already say "Tap for summary" */
.wi-row .cue { margin-top: 6px; }
@media (hover: none), (max-width: 860px) { .wi-row .cue { display: none; } }

/* Sentiment λ slider: on-object cue + one-time thumb nudge */
.cs-sent-lam .cue { margin-top: 2px; }
.cs-sent-sub { margin-top: 8px; font-size: 14px; max-width: 32ch; }
@media (max-width: 800px) { .cs-sent-sub { margin-top: 4px; font-size: 13px; } }
.cs-range.is-nudge::-webkit-slider-thumb { animation: thumb-nudge 1.6s var(--ease) 2; }
.cs-range.is-nudge::-moz-range-thumb { animation: thumb-nudge 1.6s var(--ease) 2; }
@keyframes thumb-nudge {
  0%   { transform: translateX(0);    box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 40%, transparent); }
  25%  { transform: translateX(9px);  }
  50%  { transform: translateX(-5px); box-shadow: 0 0 0 10px transparent; }
  70%  { transform: translateX(0); }
  100% { transform: translateX(0);    box-shadow: 0 0 0 0 transparent; }
}

@media (prefers-reduced-motion: reduce) {
  .cue::before { animation: none; }
  .cs-range.is-nudge::-webkit-slider-thumb { animation: none; }
  .cs-range.is-nudge::-moz-range-thumb { animation: none; }
}

/* =========================================================
   5. SHIPPED — rotating 3D ring (desktop), snap row (phones), live demos
   Built by work-index.js; without JS the grid above stays.
   ========================================================= */
.wi-stage.is-ring { perspective: 1700px; perspective-origin: 50% 45%; overflow-x: clip; touch-action: pan-y; cursor: grab;
  user-select: none; -webkit-user-select: none; padding: 14px 0 26px; }
.wi-stage.is-ring.is-dragging { cursor: grabbing; }
.wi-ship-grid.is-ring { display: block; position: relative; transform-style: preserve-3d; list-style: none; padding: 0;
  width: var(--ring-w, 380px); height: var(--ring-h, 480px); margin: 0 auto;
  transform: translateZ(calc(var(--ring-r, 520px) * -1)) rotateY(var(--angle, 0deg)); }
.wi-ship-grid.is-ring > .wi-card { position: absolute; inset: 0; width: auto; height: auto; grid-column: auto; min-height: 0; margin: 0;
  backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: border-color .3s var(--ease), box-shadow .5s var(--ease); }
.wi-ship-grid.is-ring > .wi-card.is-front { border-color: var(--ink-3); box-shadow: 0 30px 60px -40px color-mix(in srgb, var(--ink) 45%, transparent); }
.wi-ship-grid.is-ring > .wi-card:not(.is-front) { cursor: pointer; }
.wi-stage.is-ring.is-dragging .wi-card { cursor: grabbing; }
.wi-ship-grid.is-ring a, .wi-ship-grid.is-ring button { cursor: pointer; }
.wi-ship-grid.is-ring > .wi-card:focus-within { border-color: var(--accent); }

.wi-shelf-ctl { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.wi-shelf-ctl[data-mode="row"] .wi-shelf-btn, .wi-shelf-ctl[data-mode="row"] .wi-shelf-hint { display: none; }
.wi-shelf-btn { width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: 50%; display: grid; place-items: center; font-size: 16px; color: var(--ink);
  transition: border-color .3s var(--ease), background .3s var(--ease), color .3s; }
.wi-shelf-btn:hover:not(:disabled) { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.wi-shelf-btn:disabled { opacity: .35; cursor: default; }
.wi-shelf-n { min-width: 15ch; color: var(--ink-2); }
.wi-shelf-pause { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border: 1px solid var(--rule); border-radius: 999px;
  text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); cursor: pointer; transition: border-color .3s var(--ease), color .3s var(--ease); }
.wi-shelf-pause:hover { border-color: var(--ink); color: var(--ink); }
.wi-shelf-pause[hidden] { display: none; }
.wi-pp { width: 10px; height: 10px; position: relative; display: inline-block; }
.wi-pp[data-state="pause"]::before, .wi-pp[data-state="pause"]::after { content: ""; position: absolute; top: 0; bottom: 0; width: 3px; background: currentColor; }
.wi-pp[data-state="pause"]::before { left: 0; } .wi-pp[data-state="pause"]::after { right: 0; }
.wi-pp[data-state="play"]::before { content: ""; position: absolute; inset: 0; background: currentColor; clip-path: polygon(15% 0, 100% 50%, 15% 100%); }
.wi-shelf-hint { margin-left: auto; font-size: 13px; color: var(--ink-3); }

.wi-ship-grid.is-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 14px; scroll-padding: 0 var(--gutter); scrollbar-width: none; }
.wi-ship-grid.is-row::-webkit-scrollbar { display: none; }
.wi-ship-grid.is-row > .wi-card { flex: 0 0 86%; scroll-snap-align: start; }

/* "Try it live" button on each shipped card */
.wi-links .wi-try { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border: 1px solid var(--ink); border-radius: 999px;
  font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink); margin-right: 4px;
  transition: background .3s var(--ease), color .3s var(--ease); }
.wi-links .wi-try:hover { background: var(--ink); color: var(--paper); }
.wi-try-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 3px color-mix(in srgb, var(--up) 22%, transparent); }

.wi-ship-ask { margin: clamp(20px, 3vw, 32px) 0 0; max-width: 62ch; }

.wi-ship[hidden], .wi-also[hidden] { display: none; }
.wi-item.wi-tool .wi-row .go { font-size: 18px; }

/* =========================================================
   6. EXHIBITS, MADE TO ANSWER
   Built by work-index.js; without JS the table above stays a plain list of links.
   ========================================================= */
/* Hero figures link to what they count */
.wi-sum-a { display: inline-flex; align-items: baseline; gap: 6px; color: var(--ink-3); text-decoration: none; transition: color .3s var(--ease); }
.wi-sum-a > span { display: inline-block; transition: transform .45s var(--spring-bounce); }
.wi-sum-a:hover, .wi-sum-a:focus-visible { color: var(--accent); }
.wi-sum-a:hover > span, .wi-sum-a:focus-visible > span { transform: translateY(3px); }
#exhibits, #shipped, #also { scroll-margin-top: calc(var(--header-h) + 12px); }
.sect-head .title[tabindex="-1"]:focus { outline: none; }
/* "1, 2, 3…": the counted things number themselves on arrival */
.wi-item.is-counted .wi-row::after, .wi-card.is-counted::after { content: var(--cnt); position: absolute; z-index: 3; display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%; background: var(--mark); color: var(--paper); font-family: var(--mono); font-size: 12px; pointer-events: none;
  animation: wi-count-pop 1.8s var(--ease) both; }
.wi-item.is-counted .wi-row::after { left: -34px; top: calc(50% - 13px); }
.wi-card.is-counted::after { right: 14px; top: 14px; }
@media (max-width: 1100px) { .wi-item.is-counted .wi-row::after { left: auto; right: 34px; } }
@keyframes wi-count-pop { 0% { opacity: 0; transform: scale(.4); } 14% { opacity: 1; transform: scale(1.12); } 24%, 78% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(.9); } }
.wi-also .wi-card, .wi-ship-grid:not(.is-ring) > .wi-card { position: relative; }

/* Filter chips: an ink pill slides between them; counts roll */
.wi-filters.has-ink { position: relative; isolation: isolate; }
.wi-chip-ink { position: absolute; left: 0; top: 0; height: 34px; width: 0; border-radius: 999px; background: var(--ink); z-index: -1; pointer-events: none; }
.wi-filters.has-ink .wi-chip { background: transparent; }
.wi-filters.has-ink .wi-chip[aria-pressed="true"] { border-color: transparent; }
.wi-shown { margin-left: auto; display: inline-flex; align-items: baseline; gap: 0; white-space: nowrap; }
.wi-shown .wi-shown-n { color: var(--ink); margin: 0 .5ch; }
.wi-shown-why { color: var(--accent); }
@media (max-width: 600px) { .wi-shown { margin-left: 0; flex-basis: 100%; } }
.wi-item.is-ghost .wi-row { opacity: .26; }
.wi-item.is-ghost .ttl strong { text-decoration: line-through; text-decoration-thickness: 1px; text-decoration-color: var(--ink-3); }

/* Odometer digits: a column of 0–9 per place, moved by transform */
.odo { display: inline-flex; position: relative; vertical-align: baseline; }
.odo-v { display: inline-flex; }
.odo-d { display: inline-block; width: 1ch; height: 1.2em; line-height: 1.2em; overflow: hidden; text-align: center; transition: width .3s var(--ease); }
.odo-d.is-blank { width: 0; }
.odo-s { display: flex; flex-direction: column; transition: transform .7s var(--spring-bounce); }
.odo-s > span { display: block; height: 1.2em; }

/* Column heads sort the table */
.wi-colhead { align-items: center; }
.wi-sort { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 4px 0; margin: -4px 0; font: inherit; letter-spacing: inherit;
  text-transform: inherit; color: var(--ink-3); cursor: pointer; border-radius: 4px; transition: color .3s var(--ease); }
.wi-sort[data-k="yr"] { justify-self: end; flex-direction: row-reverse; }
.wi-sort:hover, .wi-sort[aria-pressed="true"] { color: var(--ink); }
.wi-sort-ar { display: inline-block; min-width: 1ch; opacity: .45; transition: opacity .3s, transform .4s var(--spring-bounce), color .3s; }
.wi-sort:hover .wi-sort-ar { opacity: .8; transform: translateY(-1px); }
.wi-sort[aria-pressed="true"] .wi-sort-ar { opacity: 1; color: var(--accent); }

/* Rows answer the pointer: a soft light where it is */
.wi-row::before { background: radial-gradient(circle 280px at calc(var(--mx, 50%) + var(--bleed, 0px)) var(--my, 50%), color-mix(in srgb, var(--accent) 9%, transparent), transparent 72%), var(--accent-soft); }
.wi-item.is-previewing .wi-row::before { transform: scaleY(1); }
.wi-item.is-previewing .wi-row .go { color: var(--accent); }
@media (hover: hover) {
  .wi-item.is-previewing .wi-row .ttl { transform: translateX(10px); }
  .wi-list.is-holding .wi-item:not(.is-previewing) .wi-row { opacity: .72; transition-delay: .3s; }
}

/* Floating preview, tool kind: a wider card holding a live sample. The pointer can travel into it. */
.wi-preview .wi-preview-tool { display: none; }
.wi-preview { transition: opacity .3s var(--ease), width .35s var(--ease); }
.wi-preview[data-kind="tool"] { width: 344px; }
.wi-preview[data-kind="tool"] canvas { display: none; }
.wi-preview[data-kind="tool"] .wi-preview-tool { display: block; }
.wi-preview[data-kind="tool"].is-on { pointer-events: auto; }
.wi-preview[data-kind="tool"] .wi-preview-cap { font-size: 15px; }
.wi-preview-card { transition: transform .45s var(--ease), border-color .3s var(--ease), box-shadow .4s var(--ease); }
.wi-preview.is-held .wi-preview-card { border-color: var(--accent); box-shadow: 0 30px 70px -26px color-mix(in srgb, var(--ink) 42%, transparent); }
.wi-preview [data-p="kind"] { color: var(--ink-2); }
/* A window too short to put the card clear of a tool row's pill: the card goes compact (no caption or note, capped height, scrolls) */
.wi-preview.is-compact .wi-preview-card { max-height: var(--p-max, 320px); overflow: auto; overscroll-behavior: contain; }
.wi-preview.is-compact .wi-preview-cap, .wi-preview.is-compact [data-p="note"] { display: none; }

/* Tool rows: a sample that opens under the row (touch, narrow, keyboard) */
.wi-toggle-tool .wi-tt { pointer-events: none; }
@media (hover: hover) and (min-width: 861px) {
  /* sits inside the row's bottom padding: the negative top margin and the bottom margin cancel, so nothing moves */
  .wi-toggle.wi-toggle-tool { display: flex; align-items: center; gap: 8px; position: relative; z-index: 1; width: max-content; margin: -40px 0 12px auto; height: 28px; padding: 0 6px 0 12px;
    border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); font-family: var(--mono); font-size: 11px; letter-spacing: .06em;
    text-transform: uppercase; color: var(--ink-3); transition: color .3s var(--ease), border-color .3s var(--ease), opacity .3s var(--ease); }
  .wi-toggle-tool .pm { width: 18px; height: 18px; border: 1px solid var(--rule); border-radius: 50%; display: grid; place-items: center; transition: transform .4s var(--ease); }
  .wi-toggle-tool:hover, .wi-toggle-tool:focus-visible, .wi-toggle-tool[aria-expanded="true"] { color: var(--ink); border-color: var(--ink-3); }
  .wi-toggle-tool[aria-expanded="true"] .pm { transform: rotate(45deg); }
  .wi-list:hover .wi-item:not(:hover) .wi-toggle-tool { opacity: .72; transition-delay: .3s; }
  .wi-item.is-inline .wi-row { border-bottom-color: transparent; }
  .wi-detail.wi-detail-tool { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
  .wi-detail-tool > div { min-height: 0; overflow: hidden; }
  .wi-detail-tool.is-open { grid-template-rows: 1fr; }
  .wi-detail-tool .wi-detail-in { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 28px; align-items: start;
    padding: 0 0 28px 108px; border-bottom: 1px solid var(--rule); }
}
.wi-detail-tool .wi-sample-host { border: 1px solid var(--rule); border-radius: 12px; background: var(--paper-2); padding: 14px; min-width: 0; }
.wi-detail-tool .wi-sample-txt { display: grid; gap: 8px; align-content: start; }
.wi-detail-tool .wi-sample-txt p { margin: 0; font-family: var(--serif); font-size: 18px; line-height: 1.35; color: var(--ink); }
@media (hover: none), (max-width: 860px) {
  .wi-detail-tool .wi-sample-txt p { font-size: 16px; }
}

/* =========================================================
   7. TOOL SAMPLES (.ws-*): shared by the floating card and the inline panel
   ========================================================= */
.ws { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ws-body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ws-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid var(--rule); }
.ws-hint { font-size: 12px; line-height: 1.3; color: var(--ink-3); }
.ws-try { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border: 1px solid var(--ink); border-radius: 999px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease); }
.ws-try:hover, .ws-try:focus-visible { background: var(--ink); color: var(--paper); }
.ws-read { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.ws-big { font-family: var(--mono); font-weight: 400; font-size: 24px; line-height: 1.1; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.ws-sub { font-size: 13px; color: var(--ink-2); }
.ws-svg { display: block; width: 100%; height: auto; overflow: visible; }
.ws-line { margin: 0; min-height: 2.8em; font-family: var(--sans); font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.wi-detail .ws-line { font-size: 13.5px; }
.ws-seg { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ws-seg-tight { gap: 4px; }
.ws-btn { display: inline-flex; align-items: center; height: 30px; padding: 0 11px; border: 1px solid var(--rule); border-radius: 999px; font-family: var(--mono);
  font-size: 11px; letter-spacing: .03em; color: var(--ink-2); white-space: nowrap; transition: background .3s var(--ease), color .3s, border-color .3s; }
.ws-btn:hover { border-color: var(--ink); color: var(--ink); }
.ws-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.ws-btn-main { border-color: var(--ink); color: var(--ink); }
.wi-detail .ws-btn, .wi-detail .ws-try { height: 36px; }
.ws-axis { font-family: var(--mono); font-size: 7.5px; letter-spacing: .06em; fill: var(--ink-3); }
.ws-grid { stroke: var(--rule); stroke-width: 1; stroke-dasharray: 2 3; }

/* MERIDIAN: a hundred squares */
.ws-cell { fill: var(--rule); cursor: pointer; opacity: 0; transform: scale(.4); transform-box: fill-box; transform-origin: center;
  transition: fill .35s var(--ease), opacity .4s var(--ease), transform .45s var(--spring-bounce), stroke .2s; stroke: transparent; stroke-width: 1.4; }
.ws-waffle.is-in .ws-cell { opacity: 1; transform: none; }
.ws-waffle[data-g="a"] .ws-cell.is-a, .ws-waffle[data-g="b"] .ws-cell.is-b { fill: var(--accent); }
.ws-waffle[data-g="a"] .ws-cell.is-b, .ws-waffle[data-g="b"] .ws-cell.is-a { fill: color-mix(in srgb, var(--ink-3) 35%, var(--paper-2)); }
.ws-cell.is-hot { stroke: var(--ink); }

/* VERITAS: a page, three flags, a gauge */
.ws-paper { fill: var(--paper); stroke: var(--rule); }
.ws-txt { fill: var(--ink-3); opacity: .5; transition: opacity .3s, fill .3s; }
.ws-hl { fill: transparent; transition: fill .35s var(--ease); }
.ws-docline.is-flag .ws-hl { fill: color-mix(in srgb, var(--mark) 24%, transparent); }
.ws-docline.is-flag .ws-txt { opacity: .85; fill: var(--ink-2); }
.ws-docline.is-flag.is-cleared .ws-hl { fill: transparent; }
.ws-docline.is-flag.is-cleared .ws-txt { opacity: .5; fill: var(--ink-3); }
.ws-docline.is-hot .ws-hl { fill: color-mix(in srgb, var(--accent) 18%, transparent); }
.ws-flag { cursor: pointer; transition: opacity .3s var(--ease); }
.ws-flagpath { fill: var(--mark); stroke: var(--mark); stroke-width: 1.2; stroke-linejoin: round; }
.ws-flag.is-cleared { opacity: .22; }
.ws-gauge-bg { fill: none; stroke: var(--rule); stroke-width: 7; stroke-linecap: round; }
.ws-gauge-v { fill: none; stroke: var(--accent); stroke-width: 7; stroke-linecap: round; }
.ws-tick { stroke: var(--ink-3); stroke-width: 1; }
.ws-needle line { stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }
.ws-needle circle { fill: var(--ink); }
.ws-gauge-n { font-family: var(--mono); font-size: 15px; fill: var(--ink); }
.ws-gauge-l { font-family: var(--mono); font-size: 6.5px; letter-spacing: .08em; fill: var(--ink-3); }
.ws-dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--mark); transition: background .3s, box-shadow .3s; }
.ws-flagbtn[aria-pressed="true"] { background: transparent; border-color: color-mix(in srgb, var(--mark) 60%, var(--rule)); color: var(--ink); }
.ws-flagbtn[aria-pressed="false"] { color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--play); }
.ws-flagbtn[aria-pressed="false"] .ws-dot { background: transparent; box-shadow: inset 0 0 0 1.5px var(--play); }

/* Tie-Out: a waterfall */
.ws-bar { transition: opacity .3s var(--ease); }
.ws-bar.is-q { fill: var(--ink-2); }
.ws-bar.is-gone { fill: color-mix(in srgb, var(--ink-3) 14%, transparent); stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 3 2; }
.ws-bar.is-keep { fill: var(--accent); }
.ws-bar.is-range { fill: color-mix(in srgb, var(--accent) 34%, transparent); }
.ws-bar.is-dim { opacity: .28; }
.ws-conn { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 2 2; }
.ws-val { font-family: var(--mono); font-size: 10px; fill: var(--ink); }

/* Lookthrough: a dollar in cents */
.ws-cent { fill: var(--pip-off); transition: fill .25s var(--ease); }
.ws-cent.is-in { fill: var(--mark); }
.ws-centtick { stroke: var(--ink); stroke-width: 1; }
.ws-field { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.ws-field .label { white-space: nowrap; }
.ws-out { min-width: 8ch; text-align: right; font-family: var(--mono); font-size: 12px; color: var(--ink); font-variant-numeric: tabular-nums; }
.ws-range::-webkit-slider-thumb { border-color: var(--accent); }

/* Riverbank: two cards and the odds */
.ws-rb { display: flex; align-items: center; gap: 14px; }
.ws-hand { flex: none; display: flex; gap: 6px; cursor: pointer; perspective: 400px; }
.ws-card { width: 44px; height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; border: 1px solid var(--ink-3);
  border-radius: 6px; background: var(--paper); color: var(--ink); font-family: var(--serif); box-shadow: 0 6px 14px -10px color-mix(in srgb, var(--ink) 60%, transparent); }
.ws-card .r { font-size: 20px; line-height: 1; }
.ws-card .s { font-size: 15px; line-height: 1; }
.ws-card.is-red { color: color-mix(in srgb, var(--down) 80%, var(--ink)); }
.ws-card.is-flip { animation: ws-flip .5s var(--ease) both; }
@keyframes ws-flip { from { transform: rotateY(90deg) translateY(-4px); opacity: .3; } to { transform: none; opacity: 1; } }
.ws-hand:hover .ws-card { border-color: var(--accent); }
.ws-odds { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ws-odds-n { display: flex; align-items: baseline; gap: 8px; }
.ws-odds-n b { font-family: var(--mono); font-weight: 400; font-size: 26px; line-height: 1; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.ws-meter { display: flex; height: 6px; border-radius: 3px; overflow: hidden; background: var(--rule); }
.ws-meter i { display: block; height: 100%; width: 0; }
.ws-meter [data-mw] { background: var(--accent); }
.ws-meter [data-mt] { background: color-mix(in srgb, var(--accent) 38%, transparent); }
.ws-odds-s { font-size: 11px; }

/* Flight Deck: an attitude indicator and an annunciator panel */
.ws-fd { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 14px; }
.ws-ai { width: 112px; touch-action: pan-y; cursor: crosshair; }
.ws-sky { fill: color-mix(in srgb, var(--accent) 30%, var(--paper-2)); }
.ws-ground { fill: color-mix(in srgb, var(--mark) 34%, var(--paper-2)); }
.ws-hz { stroke: var(--paper-2); stroke-width: 1.2; }
.ws-pitch { stroke: var(--paper-2); stroke-width: .8; opacity: .85; }
.ws-ring { fill: none; stroke: var(--ink); stroke-width: 2; }
.ws-plane { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ws-plane-dot { fill: var(--ink); }
.ws-fd-panel { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ws-mc { height: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15; border: 1px solid var(--rule); border-radius: 6px;
  background: var(--paper); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3);
  transition: background .3s var(--ease), color .3s, border-color .3s; }
.ws-mc[data-state="flash"] { background: color-mix(in srgb, var(--mark) 78%, var(--paper)); border-color: var(--mark); color: var(--paper); animation: ws-glow 1.4s ease-in-out infinite; }
.ws-mc[data-state="steady"] { background: color-mix(in srgb, var(--mark) 18%, var(--paper)); border-color: var(--mark); color: var(--ink); }
@keyframes ws-glow { 50% { background: color-mix(in srgb, var(--mark) 40%, var(--paper)); color: var(--ink); } }
.ws-sys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
.ws-ann { height: 36px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15; border: 1px solid var(--rule); border-radius: 5px;
  background: var(--paper); font-family: var(--mono); transition: background .3s var(--ease), border-color .3s; }
.ws-ann:hover { border-color: var(--ink-3); }
.ws-ann .k { font-size: 10px; letter-spacing: .06em; color: var(--ink); }
.ws-ann .st { font-size: 8.5px; letter-spacing: .08em; color: var(--up); }
.ws-ann.is-fail { border-color: var(--mark); background: color-mix(in srgb, var(--mark) 14%, var(--paper)); }
.ws-ann.is-fail .st { color: var(--mark); }

/* Shipped ring: pips, a settle when a card lands.
   --pip-off: inactive pips and Lookthrough's empty cents. Non-text marks need 3:1 against the paper; --rule is ~1.4:1. */
:root { --pip-off: color-mix(in srgb, var(--ink-3) 80%, var(--paper)); }
.wi-pips { display: flex; align-items: center; gap: 0; }
.wi-pip { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; cursor: pointer; }
.wi-pip i { display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--pip-off); transition: transform .35s var(--spring-bounce), background .3s; }
.wi-pip:hover i, .wi-pip:focus-visible i { background: var(--ink-2); transform: scale(1.2); }
.wi-pip[aria-current="true"] i { background: var(--ink); transform: scale(1.4); }
.wi-pip.is-count i { background: var(--mark); transform: scale(1.8); }
.wi-ship-grid > .wi-card.is-landed { animation: wi-land .7s var(--ease); }
@keyframes wi-land { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 35%, transparent); } 100% { box-shadow: 0 0 0 12px transparent; } }

@media (prefers-reduced-motion: reduce) {
  .odo-s, .odo-d, .ws-cell, .wi-sum-a > span, .wi-sort-ar, .wi-pip i, .wi-preview, .wi-preview-card, .wi-detail-tool, .wi-detail > div { transition: none !important; }
  .ws-card.is-flip, .ws-mc[data-state="flash"], .wi-ship-grid > .wi-card.is-landed { animation: none; }
  .wi-item.is-counted .wi-row::after, .wi-card.is-counted::after { animation: wi-count-still 1.8s steps(1) both; }
  @keyframes wi-count-still { 0%, 99% { opacity: 1; } 100% { opacity: 0; } }
}

/* =========================================================
   8. FINAL PASS: filter note, card details, copy pill, record links
   ========================================================= */
/* One line under the chips: why the counts add up to more than the rows */
.wi-filter-note { margin: -8px 0 18px; }

/* Shipped cards: title, one line and "Try it"; the rest sits behind "Details" */
.wi-card .wi-one { margin: 0; font-family: var(--serif); font-size: 18px; line-height: 1.35; color: var(--ink); }
html:not(.js) .wi-card .wi-one { display: none; }
.wi-act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: auto; }
.wi-act .wi-try { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid var(--ink); border-radius: 999px;
  font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink); transition: background .3s var(--ease), color .3s var(--ease); }
.wi-act .wi-try:hover, .wi-act .wi-try:focus-visible { background: var(--ink); color: var(--paper); }
.wi-more-t { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 4px; font-family: var(--mono); font-size: 12px; text-transform: uppercase;
  letter-spacing: .04em; color: var(--ink-2); cursor: pointer; transition: color .25s var(--ease); }
.wi-more-t:hover, .wi-more-t:focus-visible { color: var(--accent); }
.wi-more-t .pm { width: 20px; height: 20px; border: 1px solid var(--rule); border-radius: 50%; display: grid; place-items: center; transition: transform .4s var(--ease), border-color .25s; }
.wi-more-t:hover .pm { border-color: var(--accent); }
.wi-more-t[aria-expanded="true"] .pm { transform: rotate(45deg); }
.wi-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.wi-more > div { min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 12px; }
.wi-more.is-open { grid-template-rows: 1fr; }
.wi-more.is-open > div { padding-top: 2px; }
.wi-more:not(.is-open) > div { visibility: hidden; transition: visibility 0s .45s; }
.wi-more .tags { margin-top: 0; }

/* Copy the email (the address itself is never printed); same pill as the homepage */
.copy-mail { position: relative; display: inline-grid; place-items: center; height: 24px; margin-left: 2px; padding: 0 9px; vertical-align: 2px;
  border: 1px solid var(--rule); border-radius: 999px; background: var(--paper-2); color: var(--ink-2); cursor: pointer;
  font-family: var(--mono); font-size: 10.5px; font-weight: 500; line-height: 1; letter-spacing: .06em; text-transform: uppercase;
  transition: color .2s var(--ease), border-color .2s var(--ease), background-color .25s var(--ease); -webkit-tap-highlight-color: transparent; }
.copy-mail::before { content: ""; position: absolute; inset: -10px -4px; }
.copy-mail .cm-l { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 4px; transition: opacity .2s var(--ease), transform .35s var(--spring); }
.copy-mail .cm-b { opacity: 0; transform: translateY(5px); color: var(--accent); }
.copy-mail svg { width: 10px; height: 10px; overflow: visible; }
.copy-mail .cm-b svg path { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.copy-mail:hover { color: var(--accent); border-color: var(--accent); }
.copy-mail:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.copy-mail.is-done { border-color: var(--accent); background: var(--accent-soft); animation: wi-cm-pop .55s var(--spring-bounce); }
.copy-mail.is-done .cm-a { opacity: 0; transform: translateY(-5px); }
.copy-mail.is-done .cm-b { opacity: 1; transform: none; }
.copy-mail.is-done .cm-b svg path { stroke-dashoffset: 0; transition: stroke-dashoffset .35s var(--ease) .12s; }
.copy-mail.is-fail { color: var(--down); border-color: var(--down); animation: wi-cm-no .4s var(--ease); }
@keyframes wi-cm-pop { 0% { scale: 1; } 35% { scale: 1.08; } 100% { scale: 1; } }
@keyframes wi-cm-no { 20% { translate: -3px 0; } 40% { translate: 3px 0; } 60% { translate: -2px 0; } 80% { translate: 1px 0; } }
html:not(.js) .copy-mail { display: none; }

/* "Also on file": each entry points to where it sits in the Record */
.wi-also .wi-rec { align-self: flex-start; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink);
  padding: 8px 0; margin: -8px 0; }
.wi-also .wi-card .tags { margin-top: auto; }

@media (prefers-reduced-motion: reduce) {
  .wi-more, .wi-more-t .pm, .copy-mail, .copy-mail .cm-l, .copy-mail svg path { transition: none !important; }
  .copy-mail.is-done, .copy-mail.is-fail { animation: none; }
}
@media (pointer: coarse), (max-width: 700px) {
  .wi-chip, .wi-shelf-pause { height: 40px; }
}
/* In the ring the card height is re-measured when Details opens, so the panel opens at once and fades in */
.wi-ship-grid.is-ring .wi-more { transition: none; }
.wi-ship-grid.is-ring .wi-more.is-open > div { animation: wi-more-in .35s var(--ease); }
@keyframes wi-more-in { from { opacity: 0; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .wi-ship-grid.is-ring .wi-more.is-open > div { animation: none; } }

/* =========================================================
   9. PHONES (≤760px): the index reads as a tidy list
   ========================================================= */
@media (max-width: 760px) {
  .wi-hero { padding-top: calc(var(--header-h) + 32px); padding-bottom: 56px; }
  .wi-hero .eyebrow { margin-bottom: 18px; }
  .wi-hero .h1 { text-wrap: balance; }
  .wi-hero-foot { margin-top: 24px; gap: 28px; }
  .wi-hero-foot .lede { text-wrap: pretty; }
  /* The four figures: a 2×2 table with hairlines, not a ragged wrap */
  .wi-hero .wi-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 0; width: 100%; border-top: 1px solid var(--rule); }
  .wi-summary li { padding: 12px 0 10px; border-bottom: 1px solid var(--rule); }
  .wi-summary li:nth-child(odd) { padding-right: 12px; border-right: 1px solid var(--rule); }
  .wi-summary li:nth-child(even) { padding-left: 16px; }
  .wi-summary b { font-size: 28px; }

  /* Filter chips: one swipe row to the screen edges; the count readout and the footnote go (the chips carry the counts) */
  .wi-filters { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; gap: 6px;
    margin: 0 calc(-1 * var(--gutter)) 18px; padding: 2px var(--gutter);
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
  .wi-filters::-webkit-scrollbar { display: none; }
  .wi-filters > .label, .wi-filters .wi-shown, .wi-filter-note { display: none; }
  .wi-chip { flex: none; height: 40px; padding: 0 14px; }

  /* Rows: number · kind · year on one line, then the title, then one description; tags go */
  .wi-row { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "num meta go" "t t t" "d d d"; gap: 8px 12px; align-items: baseline;
    padding: 22px 0 14px; }
  .wi-row .ttl { display: contents; }
  .wi-row .num { grid-area: num; padding-top: 0; font-size: 12px; }
  .wi-row .wi-mobile-meta { grid-area: meta; margin: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .wi-row .go, .wi-item.wi-tool .wi-row .go { grid-area: go; margin: 0; font-size: 18px; line-height: 1; }
  .wi-row .ttl strong { grid-area: t; font-size: 30px; line-height: 1.05; text-wrap: balance; }
  .wi-row .ttl small { grid-area: d; font-size: 15px; line-height: 1.45; text-wrap: pretty; }
  .wi-row .tags { display: none; }
  .wi-toggle, .wi-toggle.wi-toggle-tool { min-height: 44px; padding: 8px 0 12px; }
  .wi-detail-in, .wi-detail-tool .wi-detail-in { padding: 6px 0 24px; }
  .wi-detail canvas { height: 132px; }
  .wi-detail-tool .wi-sample-txt p { font-size: 17px; text-wrap: pretty; }
  /* Chart labels inside the samples: about 11px on screen */
  .wi-detail .ws-axis { font-size: 9px; }
  .wi-detail .ws-gauge-l { font-size: 9px; }
  .wi-detail .ws-mc { height: 44px; font-size: 11px; }
  .wi-detail .ws-ann { height: 44px; }
  .wi-detail .ws-ann .k { font-size: 11px; }
  .wi-detail .ws-ann .st { font-size: 10px; }

  /* Built to find out (swipe row): pips and the pause button share one line */
  .wi-shelf-ctl[data-mode="row"] { flex-wrap: nowrap; gap: 8px; margin-top: 0; }
  .wi-shelf-ctl[data-mode="row"] .wi-shelf-n { display: none; }
  .wi-shelf-ctl[data-mode="row"] .wi-pip { width: 34px; }
  .wi-shelf-ctl[data-mode="row"] .wi-pips { margin-left: -10px; }
  .wi-shelf-ctl[data-mode="row"] .wi-shelf-pause { margin-left: auto; width: 40px; height: 40px; padding: 0; justify-content: center; }
  .wi-shelf-ctl[data-mode="row"] .wi-pp-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .wi-ship-grid.is-row > .wi-card { flex-basis: 88%; padding: 20px 18px 18px; }
  .wi-act { gap: 8px 10px; }
  .wi-act .wi-try { padding: 0 14px; }
  .wi-ship-ask { margin-top: 18px; }

  .wi-ship, .wi-also { padding-top: 64px; }
  .wi-also { padding-bottom: 72px; }
  .wi-also-grid { gap: 12px; }
  .wi-also .wi-card { padding: 20px 20px 22px; }
  .wi-card .h3 { text-wrap: balance; }
}
