/* ════════════════════════════════════════════════════════════════════════════
   19-catalysts.css — the CATALYST CALENDAR surface (static/js/catalysts.js).
   ----------------------------------------------------------------------------
   Loaded LAST of the app/ files, so nothing here needs !important to win over
   05-chart-panels.css; it is a sibling surface to the research feeds and
   borrows their vocabulary on purpose (.rf-band geometry, .rsx-svc pill,
   --radius-lg cards, opaque --bg-tertiary, one hairline inset ring).

   THREE INVARIANTS, and they are all about greyscale.

   1. THE CONFIDENCE RUNG IS A WORD, AND ITS RING IS A SHAPE.
      CONFIRMED / REPORTED / ESTIMATED / INFERRED are text at a FIXED column
      position, and the four ring treatments — solid fill, hairline ring,
      dashed ring, no ring — are geometry rather than hue. Desaturate a
      screenshot and all four are still separable, because the reader is
      reading a word inside a distinguishable box, not decoding a colour.
      Colour is the third layer of reinforcement and carries nothing alone.
      This is the single most important rule on this file: a reader who
      mistakes an inferred date for a confirmed one loses money.

   2. THE TYPE CHIP IS THE ENCODING, the rail is reinforcement. Our six-class
      categorical ramp collapses to deuteranopic ΔE 3.92 in the dark theme
      (measured, recorded in tokens.css), so PDUFA / ADCOMM / READOUT /
      APPROVAL are always spelled out and the chip is the LAST track dropped
      responsively.

   3. STALENESS DIMS THE BODY, and dimming is a luminance step, so it survives
      greyscale too. A successful fetch of a two-day-old calendar reads STALE.

   DENSITY: BioPharmCatalyst is the comparable and it fits its whole calendar
   above the fold. Row height is max(2.375rem, 34px) — a touch taller than the
   feeds' 30px floor because the basis track carries two lines — and the
   verdict, the readouts and the first six rows all clear 1440x900.
   ════════════════════════════════════════════════════════════════════════════ */

/* ── Stage layer ───────────────────────────────────────────────────────────
   Same contract as .rf-surface: research.js stamps data-rsx-mode on
   #research-view and exactly one layer shows. */
.cx-surface{
  position:absolute;inset:0;display:none;flex-direction:column;
  min-width:0;min-height:0;background:var(--bg-primary);
}
#research-view[data-rsx-mode="catalysts"] .cx-surface{display:flex;}
#research-view[data-rsx-mode="catalysts"] #research-iframe{display:none;}
#research-view[data-rsx-mode="catalysts"] .research-panel{display:none!important;}

/* Content layer: carries the 60px page grid and composites as one texture with
   the cards on top, exactly as .rsx-index-inner and .rf-inner do. It is NOT
   the scroller — the list inside owns the only scroll axis, which keeps the
   provenance line genuinely pinned to the foot of the tool. */
.cx-inner{
  flex:1 1 auto;min-height:0;min-width:0;
  display:flex;flex-direction:column;gap:0.75rem;padding:0.875rem;
  background-image:
    linear-gradient(color-mix(in srgb, var(--text-primary) 3.5%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--text-primary) 3.5%, transparent) 1px, transparent 1px);
  background-size:60px 60px;
}

/* ── Command band ──────────────────────────────────────────────────────────
   A strip of label/value pairs, NOT a hero. No centred headline, no oversized
   number in whitespace. */
.cx-band{
  flex:none;display:flex;align-items:center;gap:0.875rem;flex-wrap:wrap;
  padding:0.5rem 0.875rem;
  background:var(--bg-tertiary);border-radius:var(--radius-lg);
  box-shadow:inset 0 0 0 1px var(--border-default);
}
.cx-id{display:flex;align-items:baseline;gap:0.5rem;min-width:0;flex-wrap:wrap;}
.cx-code{
  flex:none;align-self:center;
  font-family:var(--font-mono);font-size:max(0.5625rem, var(--fs-floor));font-weight:700;
  letter-spacing:var(--tr-caps);
  color:var(--accent);background:var(--accent-dim);
  padding:0.125rem 0.3125rem;border-radius:var(--radius-sm);
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent) 24%, transparent);
}
/* The QUESTION is the title; the tool's name is the subtitle. */
.cx-name{
  margin:0;min-width:0;
  font-family:var(--font-display);font-size:0.875rem;font-weight:700;
  letter-spacing:var(--tr-heading);color:var(--text-primary);line-height:1.15;
}
.cx-tool{
  flex:none;
  font-family:var(--font-mono);font-size:max(0.5625rem, var(--fs-floor));font-weight:700;
  text-transform:uppercase;letter-spacing:var(--tr-caps);color:var(--text-muted);
}
.cx-readouts{
  display:flex;align-items:stretch;gap:0.875rem;flex-wrap:wrap;
  margin:0 0 0 auto;min-width:0;
}
.cx-ro{display:flex;flex-direction:column;gap:0.125rem;min-width:0;}
.cx-ro dt{
  font-family:var(--font-sans);font-size:max(0.5625rem, var(--fs-floor));font-weight:700;
  text-transform:uppercase;letter-spacing:var(--tr-caps);color:var(--text-muted);
  white-space:nowrap;
}
.cx-ro dd{
  margin:0;
  font-family:var(--font-mono);font-size:max(0.6875rem, var(--fs-floor));font-weight:700;
  letter-spacing:var(--tr-mono);color:var(--text-primary);
  font-variant-numeric:tabular-nums;white-space:nowrap;
}
.cx-acts{display:flex;align-items:center;gap:0.5rem;flex:none;}

/* The two states 05-chart-panels.css does not define. `warn` is --amber, not
   --red: stale data is a fact about the feed, not a failure of it, and the
   WORD beside the dot ("Stale 6h") is what actually carries the meaning. */
.cx-state[data-state="warn"]{color:var(--amber);}
.cx-state[data-state="warn"] .rsx-svc-dot{
  background:var(--amber);
  box-shadow:0 0 0 2px color-mix(in srgb, var(--amber) 22%, transparent);
}
.cx-state[data-state="wait"]{color:var(--text-muted);}

.cx-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:0.3125rem;
  height:max(1.375rem, var(--ctl-floor));min-width:var(--ctl-floor);
  padding:0 0.5rem;
  border:none;border-radius:var(--radius-sm);cursor:pointer;background:transparent;
  font-family:var(--font-mono);font-size:max(0.5625rem, var(--fs-floor));font-weight:700;
  text-transform:uppercase;letter-spacing:var(--tr-caps);
  color:var(--text-secondary);text-decoration:none;white-space:nowrap;
  box-shadow:inset 0 0 0 1px var(--border-default);
  transition:color 140ms var(--ease-out), background 140ms var(--ease-out),
             box-shadow 140ms var(--ease-out);
}
.cx-btn:hover{
  color:var(--accent);background:var(--accent-dim);
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent) 32%, transparent);
}
.cx-btn:focus-visible{outline:1px solid var(--accent);outline-offset:-1px;}

/* ── THE VERDICT (declutter spec R1) ───────────────────────────────────────
   The single most important element on the surface, and there is deliberately
   no number beside it competing for the eye. It is a SENTENCE: not a score,
   not a chip, not a gauge. The verdict kinds differ by their words, never
   by a coloured edge line (owner, 2026-10-02). */
.cx-verdict{
  flex:none;
  padding:0.6875rem 0.875rem 0.6875rem 1rem;
  background:var(--bg-tertiary);border-radius:var(--radius-lg);
  box-shadow:inset 0 0 0 1px var(--border-default);
}
.cx-verdict.k-upcoming{--cx-v:var(--accent);}
.cx-verdict.k-later{--cx-v:var(--text-secondary);}
.cx-verdict.k-empty{--cx-v:var(--text-muted);}
/* "Can't say" is a legitimate verdict and it is marked as one, not as an
   error: amber, because the reader must not read an uncollected calendar as
   an empty one. */
.cx-verdict.k-unknown{--cx-v:var(--amber);}
.cx-v-line{
  margin:0;
  font-family:var(--font-display);
  font-size:max(1rem, 15px);font-weight:600;line-height:1.35;
  letter-spacing:var(--tr-heading);color:var(--text-primary);
  text-wrap:pretty;
}
.cx-v-wait{color:var(--text-muted);font-weight:500;}
.cx-v-sub{
  margin:0.375rem 0 0;
  font-family:var(--font-sans);font-size:max(0.75rem, var(--fs-floor));
  font-weight:500;line-height:1.45;color:var(--text-secondary);
  text-wrap:pretty;
}
/* Synthetic fixtures must be unmistakable at a glance and in a screenshot, so
   this is a full-width bar ABOVE the verdict, in words, not a corner badge. */
.cx-demo-banner{
  margin:0 0 0.5rem;padding:0.375rem 0.5rem;
  border-radius:var(--radius-sm);
  background:color-mix(in srgb, var(--amber) 12%, transparent);
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--amber) 45%, transparent);
  font-family:var(--font-sans);font-size:max(0.6875rem, var(--fs-floor));
  font-weight:500;line-height:1.4;color:var(--text-secondary);
}
.cx-demo-banner b{color:var(--amber);letter-spacing:var(--tr-caps);}

/* ── The card ──────────────────────────────────────────────────────────────
   flex:1 with min-height:0 so the LIST is the only scroller: the shelf stays
   put and .cx-prov stays pinned to the foot of the tool. min-height:0 is the
   classic flex overflow trap. */
.cx-card{
  flex:1 1 auto;min-height:0;min-width:0;
  display:flex;flex-direction:column;
  background:var(--bg-tertiary);border-radius:var(--radius-lg);
  box-shadow:inset 0 0 0 1px var(--border-default);
}
/* Stale data dims THE BODY rather than flashing it empty. Old data honestly
   labelled beats no data, and this is a luminance step so it reads in
   greyscale. Deliberately the LIST only: the shelf carries the controls a
   reader needs in order to react to staleness. */
.cx-stale .cx-list{opacity:0.62;}
.cx-list{transition:opacity 160ms var(--ease-out);}

.cx-shelf{
  flex:none;display:flex;align-items:center;gap:0.75rem;flex-wrap:wrap;
  padding:0.4375rem 0.75rem 0.4375rem 0.875rem;
  border-bottom:1px solid var(--border-subtle);
}
.cx-tabs{display:flex;align-items:center;gap:0.25rem;flex-wrap:wrap;min-width:0;}
.cx-tab{
  display:inline-flex;align-items:center;justify-content:center;gap:0.3125rem;
  height:max(1.375rem, var(--ctl-floor));min-width:var(--ctl-floor);
  padding:0 0.4375rem;
  border:none;border-radius:var(--radius-sm);cursor:pointer;background:transparent;
  font-family:var(--font-mono);font-size:max(0.625rem, var(--fs-floor));font-weight:700;
  text-transform:uppercase;letter-spacing:var(--tr-caps);
  color:var(--text-muted);white-space:nowrap;
  box-shadow:inset 0 0 0 1px transparent;
  transition:color 140ms var(--ease-out), background 140ms var(--ease-out),
             box-shadow 140ms var(--ease-out);
}
.cx-tab:hover{color:var(--text-primary);background:var(--bg-hover);}
.cx-tab.on{
  color:var(--accent);background:var(--accent-dim);
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent);
}
.cx-tab:focus-visible{outline:1px solid var(--accent);outline-offset:-1px;}
.cx-badge{
  font-style:normal;font-size:max(0.5625rem, var(--fs-floor));font-weight:700;
  color:var(--text-xmuted);font-variant-numeric:tabular-nums;
}
.cx-tab.on .cx-badge{color:color-mix(in srgb, var(--accent) 78%, var(--text-primary));}
.cx-badge[hidden]{display:none;}

.cx-filts{display:flex;align-items:center;gap:0.25rem;margin-left:auto;flex:none;flex-wrap:wrap;}
.cx-filts-k{
  font-family:var(--font-sans);font-size:max(0.5625rem, var(--fs-floor));font-weight:700;
  text-transform:uppercase;letter-spacing:var(--tr-caps);color:var(--text-muted);
  margin-right:0.125rem;
}
.cx-filt{
  height:max(1.375rem, var(--ctl-floor));min-width:var(--ctl-floor);
  padding:0 0.4375rem;
  border:none;border-radius:var(--radius-sm);cursor:pointer;background:transparent;
  font-family:var(--font-mono);font-size:max(0.5625rem, var(--fs-floor));font-weight:700;
  text-transform:uppercase;letter-spacing:var(--tr-caps);
  color:var(--text-secondary);white-space:nowrap;
  box-shadow:inset 0 0 0 1px var(--border-default);
  transition:color 140ms var(--ease-out), background 140ms var(--ease-out),
             box-shadow 140ms var(--ease-out);
}
.cx-filt:hover{color:var(--text-primary);background:var(--bg-hover);}
.cx-filt.on{
  color:var(--accent);background:var(--accent-dim);
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent) 34%, transparent);
}
.cx-filt:focus-visible{outline:1px solid var(--accent);outline-offset:-1px;}

/* R5 — the heading names the thing directly beneath it, and it changes with
   the lane so "Passed, no outcome" never sits over a forward list. */
.cx-lanehead{
  flex:none;margin:0;padding:0.3125rem 0.875rem;
  border-bottom:1px solid var(--border-subtle);
  font-family:var(--font-sans);font-size:max(0.6875rem, var(--fs-floor));
  font-weight:500;color:var(--text-muted);
}

/* ── The list ──────────────────────────────────────────────────────────────
   The only scroller. The column header lives INSIDE it and is sticky, so the
   header and the rows are always exactly the same width; put the header
   outside and a scrollbar desynchronises every track by its own width. */
.cx-list{
  flex:1 1 auto;min-height:0;min-width:0;
  overflow-y:auto;overflow-x:hidden;
  scrollbar-width:thin;
  scrollbar-color:color-mix(in srgb, var(--accent) 22%, transparent) transparent;
  /* ONE grid template drives the header and every row so the columns can never
     drift: rail · date · symbol · type · BASIS · what · company · chevron.

     The DATE track is max(7.25rem, 104px). Both halves matter: 7.25rem holds
     "Sometime in 2027" plus the distance line at a 1440 root, and the 104px
     FLOOR exists because the type inside stops shrinking at --fs-floor (10px)
     while a rem-sized track keeps going — the same divergence that clipped the
     feeds' TIME column below ~1300px.

     BASIS is the widest fixed track on the row (11.5rem) ON PURPOSE. It is
     what this surface is for, and it must never be the track that gets
     squeezed. */
  --cx-grid:0.1875rem max(7.25rem, 104px) 4.5rem 4.75rem minmax(11.5rem, 15rem)
            minmax(0, 1fr) minmax(7rem, 15rem) 1.25rem;
  --cx-head-h:2rem;
}
.cx-list::-webkit-scrollbar{width:0.375rem;height:0.375rem;}
.cx-list::-webkit-scrollbar-track{background:transparent;}
.cx-list::-webkit-scrollbar-thumb{background:var(--border-default);border-radius:0.25rem;}
.cx-list:hover::-webkit-scrollbar-thumb{background:color-mix(in srgb, var(--accent) 28%, transparent);}
.cx-list:focus{outline:none;}

.cx-head{
  position:sticky;top:0;z-index:3;
  display:grid;grid-template-columns:var(--cx-grid);align-items:center;
  gap:0.75rem;padding:0 0.75rem;height:var(--cx-head-h);
  background:var(--bg-tertiary);
  border-bottom:1px solid var(--border-default);
}
.cx-h{
  font-family:var(--font-mono);font-size:max(0.5625rem, var(--fs-floor));font-weight:700;
  text-transform:uppercase;letter-spacing:var(--tr-caps);color:var(--text-muted);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.cx-h-rail,.cx-h-chev{display:block;}

/* ── One row ───────────────────────────────────────────────────────────────
   Separator is an INSET SHADOW, not border-top: the list re-renders wholesale
   and with border-top the first row loses its rule every time. Same reason
   .rf-row and .sc-row already do it this way. */
.cx-row{
  display:grid;grid-template-columns:var(--cx-grid);align-items:center;
  gap:0.75rem;padding:0.25rem 0.75rem;
  min-height:max(2.375rem, 34px);
  box-shadow:inset 0 -1px 0 var(--border-subtle);
  cursor:pointer;background:transparent;
  transition:background 120ms var(--ease-out);
}
.cx-row:hover{background:var(--bg-row-hover);}
.cx-row:focus-visible{outline:1px solid var(--accent);outline-offset:-1px;}
.cx-row.open{background:var(--bg-hover);}
/* A synthetic row is marked in the ROW ITSELF, not only in the banner, so a
   cropped screenshot of one row still says DEMO. */
.cx-row.is-demo{
  background:color-mix(in srgb, var(--amber) 5%, transparent);
}

/* The rail track stays as an empty column; the type chip carries the type.
   No coloured edge line (owner, 2026-10-02). */
.cx-rail{display:block;align-self:stretch;width:100%;}
.cx-rail.pdufa,.cx-chip.pdufa{--cx-c:var(--rsx-cat-3);}
.cx-rail.adcomm,.cx-chip.adcomm{--cx-c:var(--rsx-cat-4);}
.cx-rail.readout,.cx-chip.readout{--cx-c:var(--rsx-cat-1);}
.cx-rail.approval,.cx-chip.approval{--cx-c:var(--rsx-cat-5);}
.cx-rail.other,.cx-chip.other{--cx-c:var(--text-muted);}

.cx-c{min-width:0;display:flex;flex-direction:column;gap:0.0625rem;}
.cx-c b{
  font-family:var(--font-sans);font-size:max(0.75rem, var(--fs-floor));font-weight:600;
  color:var(--text-primary);line-height:1.2;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.cx-c i{
  font-style:normal;
  font-family:var(--font-sans);font-size:max(0.625rem, var(--fs-floor));font-weight:500;
  color:var(--text-muted);line-height:1.2;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.cx-c-date b{font-family:var(--font-mono);font-variant-numeric:tabular-nums;}
.cx-c-date .cx-dist{color:var(--text-muted);}
.cx-c-sym{flex-direction:row;align-items:center;gap:0.3125rem;}
.cx-c-sym b{
  font-family:var(--font-mono);font-size:max(0.75rem, var(--fs-floor));font-weight:700;
  letter-spacing:var(--tr-mono);
}
.cx-trk{
  font-style:normal;flex:none;
  font-family:var(--font-mono);font-size:max(0.5rem, 9px);font-weight:700;
  letter-spacing:var(--tr-caps);color:var(--accent);
  padding:0 0.1875rem;border-radius:var(--radius-sm);
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent);
}
.cx-c-co{
  font-family:var(--font-sans);font-size:max(0.6875rem, var(--fs-floor));font-weight:500;
  color:var(--text-secondary);line-height:1.2;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}

/* THE TYPE CHIP. Tinted from the categorical ramp, but readable as text with
   the hue removed, and never dropped before any other track. */
.cx-chip{
  justify-self:start;align-self:center;
  font-family:var(--font-mono);font-size:max(0.5625rem, var(--fs-floor));font-weight:700;
  letter-spacing:var(--tr-caps);
  color:var(--cx-c, var(--text-secondary));
  padding:0.125rem 0.3125rem;border-radius:var(--radius-sm);
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--cx-c, var(--text-muted)) 34%, transparent);
  white-space:nowrap;
}

/* ══════════════════════════════════════════════════════════════════════════
   THE BASIS TRACK — the most important element on every row
   ══════════════════════════════════════════════════════════════════════════
   Four rungs, four SHAPES. The word carries the meaning; the box carries it a
   second time; hue carries it a third. Remove all colour and the four are
   still trivially separable:

     CONFIRMED  solid fill, inverted text   — the heaviest thing on the row
     REPORTED   hairline ring, solid weight
     ESTIMATED  DASHED ring, lighter weight
     INFERRED   no ring at all, muted, the visually lightest

   The attribution sentence under the word is not decoration: it is what tells
   a reader that a `confirmed` trial date means the readout ALREADY HAPPENED
   while a `confirmed` adcomm date means the FDA scheduled a meeting. */
.cx-c-basis{gap:0.125rem;}
.cx-rung{
  align-self:start;
  font-family:var(--font-mono);font-size:max(0.5625rem, var(--fs-floor));font-weight:700;
  letter-spacing:var(--tr-caps);white-space:nowrap;
  padding:0.0625rem 0.3125rem;border-radius:var(--radius-sm);
}
/* CONFIRMED — a government publisher stated this date as fact. */
.cx-rung.r3{
  color:var(--bg-primary);background:var(--text-primary);
  box-shadow:inset 0 0 0 1px var(--text-primary);
}
/* REPORTED — the company said it. Firm, but it is their claim, not the FDA's. */
.cx-rung.r2{
  color:var(--text-primary);
  box-shadow:inset 0 0 0 1px var(--text-secondary);
}
/* ESTIMATED — the source itself marks it an estimate. The dashed ring IS the
   qualifier, and it is the reason a real border is used here rather than the
   inset ring the rest of this file prefers: only a border can be dashed.
   Border-box sizing keeps it on the same baseline as its neighbours. */
.cx-rung.r1{
  color:var(--text-secondary);
  border:1px dashed var(--text-muted);
  padding:0 0.25rem;
}
/* INFERRED — WE derived it. The lightest thing in the column, deliberately:
   it must never be able to catch the eye before a confirmed date does. */
.cx-rung.r0{
  color:var(--text-muted);font-weight:500;
  padding-left:0;padding-right:0.3125rem;
}
.cx-rung.rx{
  color:var(--amber);
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--amber) 45%, transparent);
}
.cx-attr{
  font-style:normal;
  font-family:var(--font-sans);font-size:max(0.625rem, var(--fs-floor));font-weight:500;
  color:var(--text-secondary);line-height:1.25;
  overflow:hidden;text-overflow:ellipsis;
  /* Two lines, then ellipsis. The full sentence is in the expanded panel. */
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  white-space:normal;
}

/* ── Inline flags (spec R3: these change what the DATE means) ──────────────
   Never behind a toggle, never a tooltip, and always a WORD. */
.cx-flags{display:flex;align-items:center;gap:0.25rem;flex-wrap:wrap;margin-top:0.125rem;}
.cx-flag{
  font-style:normal;flex:none;
  font-family:var(--font-mono);font-size:max(0.5rem, 9px);font-weight:700;
  letter-spacing:var(--tr-caps);
  padding:0 0.1875rem;border-radius:var(--radius-sm);white-space:nowrap;
}
.cx-flag.demo{
  color:var(--amber);
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--amber) 50%, transparent);
}
.cx-flag.moved,.cx-flag.amb{
  color:var(--text-primary);
  box-shadow:inset 0 0 0 1px var(--text-muted);
}
.cx-flag.none{
  color:var(--text-primary);background:var(--bg-hover);
  box-shadow:inset 0 0 0 1px var(--text-secondary);
}
.cx-flag.out{
  color:var(--text-secondary);
  box-shadow:inset 0 0 0 1px var(--border-default);
}

.cx-chev{
  display:block;justify-self:end;align-self:center;
  width:0.4375rem;height:0.4375rem;
  border-right:1.5px solid var(--text-xmuted);
  border-bottom:1.5px solid var(--text-xmuted);
  transform:rotate(45deg);
  transition:transform 140ms var(--ease-out), border-color 140ms var(--ease-out);
}
.cx-row:hover .cx-chev{border-color:var(--text-muted);}
.cx-row.open .cx-chev{transform:rotate(-135deg);border-color:var(--accent);}

/* ── The expanded panel ────────────────────────────────────────────────────
   The sentence the date came from is the product, so it is the first and
   largest thing in here. */
.cx-det{
  padding:0.75rem 0.875rem 0.875rem calc(0.75rem + 0.1875rem);
  background:var(--bg-secondary);
  box-shadow:inset 0 -1px 0 var(--border-default);
}
.cx-quote{
  margin:0 0 0.625rem;padding:0.5rem 0.625rem;
  background:var(--bg-tertiary);border-radius:var(--radius-sm);
}
.cx-quote-k{
  display:block;margin-bottom:0.1875rem;
  font-family:var(--font-mono);font-size:max(0.5625rem, var(--fs-floor));font-weight:700;
  text-transform:uppercase;letter-spacing:var(--tr-caps);color:var(--text-muted);
}
.cx-quote p{
  margin:0;
  font-family:var(--font-sans);font-size:max(0.8125rem, var(--fs-floor));
  font-weight:500;line-height:1.5;color:var(--text-primary);text-wrap:pretty;
}
.cx-noquote{
  margin:0 0 0.625rem;
  font-family:var(--font-sans);font-size:max(0.75rem, var(--fs-floor));
  font-weight:500;line-height:1.45;color:var(--text-muted);
}

/* An INLINE caveat: it changes what the number means, so it can never be
   folded away. Four kinds, distinguished by the LEAD WORD in bold, with the
   no coloured edge line. */
.cx-inline{
  margin:0 0 0.5rem;padding:0.375rem 0.5rem;
  background:var(--bg-tertiary);border-radius:var(--radius-sm);
  font-family:var(--font-sans);font-size:max(0.75rem, var(--fs-floor));
  font-weight:500;line-height:1.45;color:var(--text-secondary);text-wrap:pretty;
}
.cx-inline b{color:var(--text-primary);font-weight:700;}
.cx-inline.moved{--cx-i:var(--text-secondary);}
.cx-inline.amb{--cx-i:var(--amber);}
.cx-inline.none{--cx-i:var(--text-primary);}
.cx-inline.out{--cx-i:var(--green);}
.cx-inline.demo{--cx-i:var(--amber);}

.cx-facts,.cx-ladder{
  display:grid;grid-template-columns:repeat(auto-fit, minmax(15rem, 1fr));
  gap:0.25rem 1rem;margin:0 0 0.5rem;
}
.cx-fact{display:flex;align-items:baseline;gap:0.5rem;min-width:0;}
.cx-fact dt{
  flex:none;min-width:8.5rem;
  font-family:var(--font-sans);font-size:max(0.625rem, var(--fs-floor));font-weight:700;
  text-transform:uppercase;letter-spacing:var(--tr-caps);color:var(--text-muted);
}
.cx-fact dd{
  margin:0;min-width:0;
  font-family:var(--font-sans);font-size:max(0.75rem, var(--fs-floor));font-weight:500;
  color:var(--text-primary);line-height:1.35;overflow-wrap:anywhere;
}
.cx-fact dd b{font-weight:700;}
.cx-fnote{
  display:block;font-style:normal;margin-top:0.0625rem;
  font-size:max(0.6875rem, var(--fs-floor));font-weight:500;color:var(--text-muted);
  line-height:1.35;
}
/* R2 — absence collapses to ONE line at the bottom of the panel it belongs
   to. Nothing is deleted and the count is still stated; absence simply stops
   costing the same screen space as presence. */
.cx-missing{
  margin:0 0 0.5rem;
  font-family:var(--font-sans);font-size:max(0.6875rem, var(--fs-floor));
  font-weight:500;line-height:1.4;color:var(--text-muted);
}
.cx-det-acts{display:flex;align-items:center;gap:0.5rem;flex-wrap:wrap;}
.cx-nolink{
  font-family:var(--font-sans);font-size:max(0.6875rem, var(--fs-floor));
  font-weight:500;color:var(--text-muted);
}

/* ── Empty / error ─────────────────────────────────────────────────────────
   ONE line plus one sentence. No illustration, no centred hero. */
.cx-empty{
  display:flex;flex-direction:column;gap:0.25rem;
  padding:1.25rem 0.875rem;
}
.cx-empty b{
  font-family:var(--font-display);font-size:max(0.875rem, var(--fs-floor));
  font-weight:700;color:var(--text-primary);letter-spacing:var(--tr-heading);
}
.cx-empty span{
  max-width:52rem;
  font-family:var(--font-sans);font-size:max(0.75rem, var(--fs-floor));
  font-weight:500;line-height:1.5;color:var(--text-muted);text-wrap:pretty;
}

.cx-skel{pointer-events:none;}
.cx-sk{
  display:block;height:0.625rem;border-radius:var(--radius-sm);
  background:linear-gradient(90deg,
    var(--bg-hover) 0%,
    color-mix(in srgb, var(--text-primary) 7%, var(--bg-hover)) 50%,
    var(--bg-hover) 100%);
  background-size:200% 100%;
  animation:cx-shimmer 1.4s linear infinite;
}
@keyframes cx-shimmer{
  0%{background-position:200% 0;}
  100%{background-position:-200% 0;}
}
@media (prefers-reduced-motion:reduce){
  .cx-sk{animation:none;}
}

/* ── Foot + the ONE info expander (spec R3) ────────────────────────────────
   One control per panel, not one per row, and a real button with
   aria-expanded — a title= attribute does not survive a screenshot, does not
   work on touch and is unreachable by keyboard. Default state: collapsed, so
   a first-time reader sees the dates. */
.cx-foot{
  flex:none;display:flex;align-items:center;gap:0.75rem;flex-wrap:wrap;
  padding:0.4375rem 0.875rem;
  border-top:1px solid var(--border-subtle);
}
.cx-foot-note{
  font-family:var(--font-sans);font-size:max(0.6875rem, var(--fs-floor));
  font-weight:500;color:var(--text-muted);line-height:1.35;
}
.cx-info{
  flex:none;max-height:22rem;overflow-y:auto;
  padding:0.75rem 0.875rem;
  border-top:1px solid var(--border-subtle);
  background:var(--bg-secondary);
  border-radius:0 0 var(--radius-lg) var(--radius-lg);
  scrollbar-width:thin;
}
.cx-info[hidden]{display:none;}
.cx-info-h{
  margin:0.75rem 0 0.375rem;
  font-family:var(--font-mono);font-size:max(0.625rem, var(--fs-floor));font-weight:700;
  text-transform:uppercase;letter-spacing:var(--tr-caps);color:var(--text-muted);
}
.cx-info-h:first-child{margin-top:0;}
.cx-ladder .cx-fact dt{min-width:6.5rem;}
.cx-rules{
  margin:0;padding-left:1.125rem;
  display:flex;flex-direction:column;gap:0.3125rem;
}
.cx-rules li{
  font-family:var(--font-sans);font-size:max(0.75rem, var(--fs-floor));
  font-weight:500;line-height:1.45;color:var(--text-secondary);text-wrap:pretty;
}
.cx-rules b{color:var(--text-primary);font-weight:700;}
.cx-rules em{font-style:normal;font-family:var(--font-mono);font-weight:700;}

.cx-prov{
  flex:none;margin:0;
  font-family:var(--font-sans);font-size:max(0.6875rem, var(--fs-floor));
  font-weight:500;line-height:1.4;color:var(--text-xmuted);text-wrap:pretty;
}

/* ── Narrow ────────────────────────────────────────────────────────────────
   Tracks are dropped BY NAME, in decision-value order, and the two that carry
   the meaning — the type chip and the basis track — are the last to go. The
   basis track never goes: it only narrows. */
/* 8 tracks → 7: COMPANY goes first. The issuer's name is the one thing on the
   row a reader can reconstruct from the ticker. */
@media (max-width:1500px){
  .cx-list{
    --cx-grid:0.1875rem max(7.25rem, 104px) 4.5rem 4.75rem minmax(10.5rem, 14rem)
              minmax(0, 1fr) 1.25rem;
  }
  .cx-h-co,.cx-c-co{display:none;}
}
/* Still 7 tracks, just tighter. Nothing is dropped here — the date, the
   symbol, the type chip and the basis are all load-bearing. */
@media (max-width:1120px){
  .cx-list{
    --cx-grid:0.1875rem max(6.75rem, 98px) 4.25rem 4.5rem minmax(9.5rem, 12rem)
              minmax(0, 1fr) 1.25rem;
  }
  .cx-c b,.cx-c-co{font-size:max(0.6875rem, var(--fs-floor));}
}
/* 7 → 6: WHAT goes, and only because the product name is repeated in full in
   the expanded panel one click away. The type chip and the basis track are
   never dropped — they are the encoding (see this file's header, rules 1
   and 2). */
@media (max-width:820px){
  .cx-inner{padding:0.625rem;gap:0.625rem;}
  .cx-readouts{margin-left:0;width:100%;}
  .cx-filts{margin-left:0;}
  .cx-list{
    --cx-grid:0.1875rem max(6.75rem, 98px) 4.25rem 4.5rem minmax(0, 1fr) 1.25rem;
  }
  .cx-h-what,.cx-c-what{display:none;}
}

/* ═══ PHONE (2026-10-14) ════════════════════════════════════════════════════
   Under :root.phone, the phone layout's switch (app.html's head; its own file
   is 77-phone.css). Desktop makes the LIST the only scroller under a fixed
   shelf; at a phone's height the readout cards above it took every pixel and
   the list got zero height (all rows present, none visible). On a phone the
   whole tool scrolls as one page, the column head goes (sticky heads need a
   row to label), and each row becomes a small card from the same cells:
     [rail] SYMBOL  TYPE CHIP        >
            date, distance
            BASIS rung + attribution + flags   (never dropped, see rule 2)
   The filter chips wrap instead of running off the right edge. */
:root.phone .cx-inner{display:block;overflow-y:auto;overscroll-behavior:contain;padding:10px;}
:root.phone .cx-inner > *{margin-bottom:10px;}
:root.phone .cx-card{flex:none;min-height:0;}
:root.phone .cx-list{flex:none;overflow:visible;}
:root.phone .cx-filts{flex:1 1 100%;min-width:0;margin-left:0;}
:root.phone .cx-filt{height:34px;padding:0 10px;}
:root.phone .cx-head{display:none;}
:root.phone .cx-row{
  grid-template-columns:3px auto minmax(0, 1fr) 18px;
  grid-template-areas:
    "rail sym   type  chev"
    "rail date  date  date"
    "rail basis basis basis";
  gap:4px 10px;padding:10px 12px;min-height:0;
}
:root.phone .cx-row > .cx-rail{grid-area:rail;align-self:stretch;}
:root.phone .cx-row > .cx-c-sym{grid-area:sym;font-size:15px;}
:root.phone .cx-row > .cx-c-type{grid-area:type;justify-self:start;}
:root.phone .cx-row > .cx-c-date{grid-area:date;}
:root.phone .cx-row > .cx-c-basis{grid-area:basis;}
:root.phone .cx-row > .cx-chev{grid-area:chev;}
:root.phone .cx-row > .cx-c-what,
:root.phone .cx-row > .cx-c-co{display:none;}
:root.phone .cx-c{font-size:13px;}
