/* ═══════════════════════════════════════════════════════════════════════════
   16-positioning.css — the per-symbol POSITIONING view (.pos-*), added
   2026-08-01.

   SIXTEENTH file in the numeric-ordered set. Nothing above it was renamed,
   renumbered or reordered — this is APPENDED, which is the only safe way to
   join a cascade whose load order IS the cascade (see CLAUDE.md). It owns one
   namespace, `.pos-`, and overrides nothing. (`.pos-` was checked free across
   all fifteen predecessors before it was chosen; 15-structure.css had to be
   renamed mid-build after `.st-` collided with 13-widgets.css, which is the
   whole reason that check now happens first.)

   It deliberately reuses the Structure view's geometry (15-structure.css
   `.dil-*`) and, through it, the research surfaces' (05-chart-panels.css
   `.rf-*`): the same 60px page grid, the same band / freshness-strip / gates /
   panels / trail / provenance skeleton, the same `max(<rem>, var(--fs-floor))`
   type floors and `max(<rem>, var(--ctl-floor))` control floors. Three
   per-symbol research views that look like three products is worse than any of
   them looking plain.

   THE TWO THINGS THAT ARE NEW HERE both exist to stop a specific misreading:

     .pos-nsi     the NOT SHORT INTEREST chip. Short-sale VOLUME is not short
                  INTEREST — about half of daily short volume is market-maker
                  hedging that is flat by the close — and confusing the two is
                  the single most common way a retail squeeze product misleads
                  people. So it is TYPE, at full contrast, sitting inside the
                  gate and at the head of the panel, never a tooltip and never
                  a hue. It is the loudest non-error element on the surface.

     .pos-fresh   the freshness word. Every component here is on a DIFFERENT
                  clock (short interest bi-monthly, fails semi-monthly, lists
                  daily), so one "last updated" stamp would be a lie about at
                  least two of them. Each panel header therefore carries its
                  own component's word plus its age IN DAYS as a number — the
                  number is the encoding, the tint only reinforces it.

   Borders are inset box-shadow rings, never 1px rounded borders: those render
   as bowtie artifacts in headless screenshots (CLAUDE.md).
   ═══════════════════════════════════════════════════════════════════════════ */

#positioning-view{position:relative;}

.pos-inner{
  flex:1 1 auto;min-height:0;min-width:0;
  display:flex;flex-direction:column;gap:0.875rem;padding:0.875rem;
  overflow:hidden;
  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 ──────────────────────────────────────────────────────────
   The question is the title, the tool is the subtitle, the readouts frame it
   and the actions close it. A strip of label/value pairs — not a hero, no
   centred headline, no oversized number floating in whitespace. */
.pos-band{
  flex:none;display:flex;align-items:center;gap:0.875rem;flex-wrap:wrap;
  padding:0.5rem 0.875rem;
  /* RESERVED, not guessed — the same measurement 15-structure.css records.
     `.top-cluster` is position:absolute at the top right of .main and floats
     OVER this view, so without this inset the band's last readout, the
     staleness chip and the Refresh button all sit UNDER the dropdown: they
     look fine and are 100% unclickable, which is exactly the failure the
     hit-test rule exists for. The px floor is there because the cluster's own
     control height is a vw clamp, so a pure rem reservation drifts away from
     it below ~1300px. Positioning's dropdown label is longer than
     Structure's, so this is 232px rather than 216px. */
  padding-right:max(16rem, 232px);
  background:var(--bg-tertiary);border-radius:var(--radius-lg);
  box-shadow:inset 0 0 0 1px var(--border-default);
}
.pos-id{display:flex;align-items:baseline;gap:0.5rem;min-width:0;flex-wrap:wrap;}
.pos-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);
}
.pos-name{
  margin:0;min-width:0;
  font-family:var(--font-display);font-size:max(0.875rem, var(--fs-floor));font-weight:700;
  letter-spacing:var(--tr-heading);color:var(--text-primary);line-height:1.15;
}
.pos-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);
}
.pos-readouts{
  display:flex;align-items:stretch;gap:0.875rem;flex-wrap:wrap;
  margin:0 0 0 auto;min-width:0;
}
.pos-ro{display:flex;flex-direction:column;gap:0.125rem;min-width:0;}
.pos-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;
}
.pos-ro dd{
  margin:0;display:inline-flex;align-items:baseline;gap:0.3125rem;
  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;
}
.pos-acts{display:flex;align-items:center;gap:0.5rem;flex:none;}
.pos-btn{
  display:inline-flex;align-items:center;justify-content:center;
  height:max(1.375rem, var(--ctl-floor));min-width:var(--ctl-floor);
  padding:0 0.5625rem;border:none;border-radius:var(--radius-sm);
  background:transparent;cursor:pointer;text-decoration: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-secondary);white-space:nowrap;
  box-shadow:inset 0 0 0 1px var(--border-default);
  transition:color 140ms var(--ease-out), box-shadow 140ms var(--ease-out);
}
.pos-btn:hover{
  color:var(--accent);
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent) 34%, transparent);
}
.pos-btn:focus-visible{outline:1px solid var(--accent);outline-offset:-1px;}
.pos-inline{margin-left:0.375rem;}

/* ── Scrolling body ───────────────────────────────────────────────────────
   The band and the provenance line are pinned; only this scrolls, so the foot
   line is genuinely at the foot of the tool rather than at the bottom of a
   long document nobody reaches. */
.pos-body{
  flex:1 1 auto;min-height:0;min-width:0;
  overflow-y:auto;overflow-x:hidden;
  display:flex;flex-direction:column;gap:0.875rem;
  scrollbar-width:thin;
  scrollbar-color:color-mix(in srgb, var(--accent) 22%, transparent) transparent;
  transition:opacity 160ms var(--ease-out);
}
.pos-body::-webkit-scrollbar{width:0.375rem;height:0.375rem;}
.pos-body::-webkit-scrollbar-track{background:transparent;}
.pos-body::-webkit-scrollbar-thumb{background:var(--border-default);border-radius:0.25rem;}
.pos-body:hover::-webkit-scrollbar-thumb{background:color-mix(in srgb, var(--accent) 28%, transparent);}
/* Stale or refreshing data dims THE BODY, never the band. Dimming is a
   luminance step, so it survives greyscale. */
.pos-body.busy{opacity:0.45;}

/* ── NOT SHORT INTEREST ───────────────────────────────────────────────────
   The most important six words on this surface. Short-sale VOLUME is not
   short INTEREST; the fraction it produces is not a position, and roughly
   half of it is market-maker hedging that is flat by the close. So it is a
   WORD MARK at full contrast, in the gate AND at the head of the panel AND
   beside its row in the weighting table. It is never expressed as a colour,
   never as an icon, and never hidden in a title attribute — a desaturated
   screenshot of this view must still carry it. */
.pos-nsi{
  flex:none;font-style:normal;display:inline-flex;align-items:center;
  font-family:var(--font-mono);font-size:max(0.5rem, var(--fs-floor));
  font-weight:700;letter-spacing:var(--tr-caps);
  padding:0.0625rem 0.3125rem;border-radius:var(--radius-sm);
  color:var(--rsx-cat-3);
  background:color-mix(in srgb, var(--rsx-cat-3) 12%, transparent);
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--rsx-cat-3) 46%, transparent);
  cursor:help;white-space:nowrap;
}
.pos-nsi.sm{
  margin-left:0.25rem;padding:0 0.1875rem;
  font-size:max(0.5rem, var(--fs-floor));
}

/* ── The float-method mark ────────────────────────────────────────────────
   RPT / CALC / MAX. The WORD is the encoding; hue only reinforces it, and all
   three read at a distinct luminance in both themes. MAX is the loud one on
   purpose: `upper_bound` means shares OUTSTANDING was substituted for float,
   which makes every ratio built on it read too SMALL. */
.pos-m{
  flex:none;font-style:normal;
  font-family:var(--font-mono);font-size:max(0.5rem, var(--fs-floor));
  font-weight:700;letter-spacing:var(--tr-caps);
  padding:0.0625rem 0.25rem;border-radius:var(--radius-sm);
  color:var(--text-muted);
  box-shadow:inset 0 0 0 1px var(--border-subtle);
  cursor:help;white-space:nowrap;
}
.pos-m.exact{color:var(--text-secondary);box-shadow:inset 0 0 0 1px var(--border-default);}
.pos-m.derived{
  color:var(--rsx-cat-4);
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--rsx-cat-4) 26%, transparent);
}
.pos-m.bound{
  color:var(--rsx-cat-3);
  background:color-mix(in srgb, var(--rsx-cat-3) 12%, transparent);
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--rsx-cat-3) 42%, transparent);
}

/* ── Freshness strip ──────────────────────────────────────────────────────
   Five clocks in one line, ABOVE the numbers. Not a tooltip and not a
   footnote: a screenshot of this surface must not be able to lose the fact
   that the headline settled seventeen days ago. The DATE and the AGE IN DAYS
   are printed on every cell — the tint is reinforcement only. */
.pos-fresh-strip{
  flex:none;display:flex;align-items:center;gap:0.875rem;flex-wrap:wrap;
  padding:0.4375rem 0.75rem;
  background:var(--bg-secondary);border-radius:var(--radius-lg);
  box-shadow:inset 0 0 0 1px var(--border-subtle);
}
.pos-fr-k{
  flex:none;
  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);
}
.pos-fr-i{display:inline-flex;align-items:center;gap:0.3125rem;min-width:0;}
.pos-src{
  font-style:normal;flex:none;
  font-family:var(--font-mono);font-size:max(0.5rem, var(--fs-floor));
  font-weight:700;letter-spacing:var(--tr-caps);color:var(--text-secondary);
  padding:0.0625rem 0.25rem;border-radius:var(--radius-sm);
  box-shadow:inset 0 0 0 1px var(--border-default);white-space:nowrap;
}
.pos-fr-i b{
  font-family:var(--font-mono);font-size:max(0.6875rem, var(--fs-floor));font-weight:700;
  color:var(--text-primary);font-variant-numeric:tabular-nums;white-space:nowrap;
}
.pos-fr-i em{
  font-style:normal;white-space:nowrap;
  font-family:var(--font-sans);font-size:max(0.625rem, var(--fs-floor));font-weight:500;
  color:var(--text-secondary);
}
/* Luminance ladder, not a hue code: aging steps down, stale steps to the
   warning token AND keeps its number, none goes to the muted floor. */
.pos-fr-i[data-fresh="aging"] em{color:var(--text-muted);}
.pos-fr-i[data-fresh="stale"] em{color:var(--red);font-weight:700;}
.pos-fr-i[data-fresh="none"] b,
.pos-fr-i[data-fresh="none"] em{color:var(--text-xmuted);font-weight:500;}
.pos-fr-worst{
  font-style:normal;flex:none;
  font-family:var(--font-sans);font-size:max(0.5rem, var(--fs-floor));
  font-weight:700;text-transform:uppercase;letter-spacing:var(--tr-caps);
  color:var(--text-muted);
  padding:0.0625rem 0.25rem;border-radius:var(--radius-sm);
  box-shadow:inset 0 0 0 1px var(--border-subtle);white-space:nowrap;cursor:help;
}
/* No cursor:help any more — the coverage caveat used to live in a `title=`
   and now rides beside the number as its own n ("4 of 5 components"), per the
   declutter spec's "no proportion without n, physically attached". */
.pos-fr-cov{
  margin-left:auto;flex:none;display:inline-flex;align-items:baseline;gap:0.3125rem;
  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);
}
.pos-fr-cov b{font-family:var(--font-mono);color:var(--text-secondary);}
.pos-fr-cov i{font-style:normal;font-weight:600;color:var(--text-muted);}
.pos-fr-cov .pos-fr-lo{color:var(--red);font-weight:700;}
.pos-fr-cov[data-conf="none"] b{color:var(--text-xmuted);}

/* ── Gates: the five-second read ──────────────────────────────────────────
   Six cells, each NAME / VERDICT WORD / one number / one line of frame that
   always names the date the claim describes. The verdict is the encoding; the
   severity rail on the left is reinforcement and nothing is carried by hue
   alone. Dense on purpose — a status line, not six cards each holding one
   number.

   EXPLICIT column counts, not auto-fit: there are exactly six gates and
   auto-fit resolves to five at 1440, stranding the sixth alone on a second row
   beside a 4/5-width hole. Divisors of six only: 2 → 3 → 6. */
.pos-gates{
  flex:none;display:grid;gap:0.5rem;
  grid-template-columns:repeat(2, minmax(0, 1fr));
}
@media (min-width:56rem){ .pos-gates{grid-template-columns:repeat(3, minmax(0, 1fr));} }
@media (min-width:120rem){ .pos-gates{grid-template-columns:repeat(6, minmax(0, 1fr));} }
.pos-gate{
  display:flex;min-width:0;
  background:var(--bg-tertiary);border-radius:var(--radius-lg);overflow:hidden;
  box-shadow:inset 0 0 0 1px var(--border-default);
}
.pos-g-rail{display:none;}
.pos-g-body{
  min-width:0;flex:1 1 auto;
  display:flex;flex-direction:column;gap:0.1875rem;
  padding:0.4375rem 0.625rem 0.5rem;
}
.pos-g-top{display:flex;align-items:center;gap:0.375rem;min-width:0;}
.pos-g-n{
  min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  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);
}
/* The type chip. Last thing dropped responsively, never replaced by an icon:
   it is what carries class for a colourblind reader. */
.pos-chip{
  flex:none;
  font-family:var(--font-mono);font-size:max(0.5rem, var(--fs-floor));
  font-weight:700;letter-spacing:var(--tr-caps);color:var(--text-secondary);
  padding:0.0625rem 0.25rem;border-radius:var(--radius-sm);
  box-shadow:inset 0 0 0 1px var(--border-default);white-space:nowrap;
}
.pos-g-verdict{
  font-family:var(--font-display);font-size:max(0.8125rem, var(--fs-floor));font-weight:700;
  letter-spacing:var(--tr-heading);color:var(--text-primary);line-height:1.2;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
/* Severity is a luminance ladder as well as a word: a quiet gate reads
   secondary, a loud one reads primary. Never hue alone. */
.pos-gate[data-sev="0"] .pos-g-verdict{color:var(--text-muted);font-weight:600;}
.pos-gate[data-sev="1"] .pos-g-verdict{color:var(--text-secondary);}
.pos-g-nsi{display:flex;min-width:0;}
.pos-g-nsi .pos-nsi{
  min-width:0;overflow:hidden;text-overflow:ellipsis;display:block;
}
.pos-g-num{display:flex;align-items:baseline;gap:0.375rem;min-width:0;flex-wrap:wrap;}
.pos-g-v{
  font-family:var(--font-mono);font-size:max(0.75rem, var(--fs-floor));font-weight:700;
  letter-spacing:var(--tr-mono);color:var(--text-primary);
  font-variant-numeric:tabular-nums;
}
.pos-g-v.none{color:var(--text-xmuted);}
.pos-g-vl{
  font-style:normal;
  font-family:var(--font-sans);font-size:max(0.5625rem, var(--fs-floor));font-weight:600;
  text-transform:uppercase;letter-spacing:var(--tr-caps);color:var(--text-muted);
}
.pos-g-frame{
  margin:0;
  font-family:var(--font-sans);font-size:max(0.625rem, var(--fs-floor));font-weight:500;
  line-height:1.4;color:var(--text-secondary);
}
.pos-u{
  font-style:normal;margin-left:0.125rem;
  /* Rides its parent at 0.8em, floored so the 8.4px it would be at a
     1440 root stays legible. Inert at the 3072 reference (12.1px). */
  font-size:max(0.8em, var(--fs-floor));font-weight:600;color:var(--text-muted);
}

/* ── Panels ───────────────────────────────────────────────────────────────
   A definition list per instrument, label left / value right, at the density
   the wallet's key-stats already use.

   MULTICOL, not grid — the same call 15-structure.css records. The panels are
   wildly different heights (Short interest with eight settlements of history
   is four times the height of Float), and a grid row is as tall as its tallest
   cell, which leaves a 300px hole under three panels at 1440. Columns pack
   them by flow instead, and `break-inside:avoid` keeps a panel whole. The
   event trail is NOT in here: it is a full-width sibling.

   TRAP (05-chart-panels.css records it too): rem inside a MEDIA QUERY resolves
   against the initial 16px font, never against this app's fluid root. */
.pos-grid{
  column-width:24rem;column-gap:0.5rem;
}
.pos-panel{
  min-width:0;display:flex;flex-direction:column;
  break-inside:avoid;margin:0 0 0.5rem;
  background:var(--bg-tertiary);border-radius:var(--radius-lg);
  box-shadow:inset 0 0 0 1px var(--border-default);
}
.pos-p-head{
  flex:none;display:flex;align-items:center;gap:0.5rem;flex-wrap:wrap;
  padding:0.4375rem 0.75rem;
  border-bottom:1px solid var(--border-subtle);
}
.pos-p-head h3{
  margin:0;
  font-family:var(--font-display);font-size:max(0.75rem, var(--fs-floor));font-weight:700;
  letter-spacing:var(--tr-heading);color:var(--text-primary);
}
.pos-p-note{
  margin-left:auto;
  font-family:var(--font-sans);font-size:max(0.5625rem, var(--fs-floor));font-weight:500;
  color:var(--text-muted);
}
.pos-p-mark{
  margin-left:auto;
  font-family:var(--font-mono);font-size:max(0.5rem, var(--fs-floor));
  font-weight:700;text-transform:uppercase;letter-spacing:var(--tr-caps);
  color:var(--text-muted);
  padding:0.0625rem 0.3125rem;border-radius:var(--radius-sm);
  box-shadow:inset 0 0 0 1px var(--border-subtle);white-space:nowrap;
}
/* Per-panel freshness. The WORD plus the age in days; the tint reinforces. */
.pos-fresh{
  margin-left:auto;flex:none;display:inline-flex;align-items:baseline;gap:0.25rem;
  font-family:var(--font-sans);font-size:max(0.5rem, var(--fs-floor));
  /* Sentence case (2026-11-21, plain words): the words are statements
     ("none on file yet", "stale 21 days"), not alarms. */
  font-weight:600;letter-spacing:normal;
  color:var(--text-muted);
  padding:0.0625rem 0.3125rem;border-radius:var(--radius-sm);
  box-shadow:inset 0 0 0 1px var(--border-subtle);
  white-space:nowrap;cursor:help;
}
.pos-fresh b{font-family:var(--font-mono);font-weight:700;color:var(--text-secondary);}
.pos-fresh[data-fresh="stale"]{
  color:var(--red);
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--red) 34%, transparent);
}
.pos-fresh[data-fresh="stale"] b{color:var(--red);}
.pos-fresh[data-fresh="none"]{color:var(--text-xmuted);}
/* The line of framing that has to be read BEFORE the numbers under it, so it
   is a block at the head of the panel, not a note hanging off the last row. */
.pos-lede{
  margin:0;padding:0.375rem 0.75rem 0;
  font-family:var(--font-sans);font-size:max(0.625rem, var(--fs-floor));font-weight:500;
  line-height:1.45;color:var(--text-muted);
}
.pos-dl{margin:0;padding:0.125rem 0.75rem 0.5rem;}

.pos-r{padding:0.3125rem 0;border-top:1px solid var(--border-subtle);min-width:0;}
.pos-r:first-child{border-top:none;}
.pos-r dt{
  float:left;margin-right:0.75rem;
  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);
  line-height:1.5;
}
.pos-r dd{
  margin:0;display:flex;align-items:baseline;justify-content:flex-end;
  gap:0.375rem;min-width:0;flex-wrap:wrap;line-height:1.5;
}
.pos-v{
  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;overflow-wrap:anywhere;
}
/* A secondary reading, and a "no" answer, are deliberately quieter than the
   headline fact: same information, lower claim. */
.pos-v.quiet{color:var(--text-secondary);font-weight:600;}
/* A null renders as the REASON it is null, in sentence type — never as a dash
   that could be read as a zero. */
.pos-v.none{color:var(--text-xmuted);font-weight:500;font-family:var(--font-sans);
  font-size:max(0.625rem, var(--fs-floor));text-transform:none;letter-spacing:0;}
/* `as_of` and the age are not decoration. Short interest is routinely 11+ days
   old by the time it is published, which is the difference between a live read
   and a historical one, so both ride beside the number rather than in a
   tooltip. */
.pos-as{
  font-style:normal;flex:none;
  font-family:var(--font-mono);font-size:max(0.5625rem, var(--fs-floor));font-weight:500;
  letter-spacing:var(--tr-mono);color:var(--text-muted);white-space:nowrap;
}
/* The age carries its own word ("17d old") instead of explaining itself in a
   `title=`, so there is nothing left to hover for. */
.pos-age{
  font-style:normal;flex:none;
  font-family:var(--font-mono);font-size:max(0.5rem, var(--fs-floor));
  font-weight:700;letter-spacing:var(--tr-caps);color:var(--text-muted);
  padding:0.0625rem 0.25rem;border-radius:var(--radius-sm);
  box-shadow:inset 0 0 0 1px var(--border-subtle);white-space:nowrap;
}
/* A stamp that is a fetch TIME rather than a source DATE says "recorded" and
   is quieter, because it is a weaker claim about the figure beside it. */
.pos-as.rec{color:var(--text-xmuted);font-weight:400;}
.pos-word{
  font-style:normal;flex:none;
  font-family:var(--font-sans);font-size:max(0.5rem, var(--fs-floor));
  font-weight:700;text-transform:uppercase;letter-spacing:var(--tr-caps);
  color:var(--text-secondary);
  padding:0.0625rem 0.25rem;border-radius:var(--radius-sm);
  box-shadow:inset 0 0 0 1px var(--border-default);white-space:nowrap;
}
.pos-tier{
  font-style:normal;flex:none;
  font-family:var(--font-sans);font-size:max(0.5rem, var(--fs-floor));
  font-weight:700;text-transform:uppercase;letter-spacing:var(--tr-caps);
  color:var(--text-secondary);
  padding:0.0625rem 0.3125rem;border-radius:var(--radius-sm);
  box-shadow:inset 0 0 0 1px var(--border-default);white-space:nowrap;
}
.pos-tier[data-tier="extreme"]{
  color:var(--rsx-cat-3);
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--rsx-cat-3) 42%, transparent);
}
.pos-tier[data-tier="high"]{
  color:var(--rsx-cat-2);
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--rsx-cat-2) 38%, transparent);
}
.pos-tier[data-tier="low"]{color:var(--text-muted);}
.pos-r.wide{display:flex;flex-direction:column;align-items:flex-start;gap:0.25rem;}
.pos-r.wide dt{float:none;margin:0;}
.pos-r.wide dd{justify-content:flex-start;width:100%;}
.pos-note{
  clear:both;margin:0.1875rem 0 0;
  font-family:var(--font-sans);font-size:max(0.625rem, var(--fs-floor));font-weight:500;
  line-height:1.45;color:var(--text-muted);
}

/* ── Proportions ──────────────────────────────────────────────────────────
   IV rank and IV percentile are the only two proportions on this surface, and
   neither ships without its n and its window IN THE SAME ELEMENT — a
   screenshot cannot crop the qualifier away. THIN is the analogue of the
   research feed's WIDE chip: it is a word, so it survives greyscale. */
.pos-stat{
  display:inline-flex;align-items:baseline;gap:0.375rem;flex-wrap:wrap;min-width:0;
}
.pos-stat b{
  font-family:var(--font-mono);font-size:max(0.9375rem, var(--fs-floor));font-weight:700;
  letter-spacing:var(--tr-mono);color:var(--text-primary);
  font-variant-numeric:tabular-nums;
}
.pos-stat.wide b{color:var(--text-secondary);}
.pos-n,.pos-ci{
  font-style:normal;
  font-family:var(--font-mono);font-size:max(0.5625rem, var(--fs-floor));font-weight:600;
  letter-spacing:var(--tr-mono);color:var(--text-muted);white-space:nowrap;
}
.pos-wide-chip{
  font-style:normal;
  font-family:var(--font-mono);font-size:max(0.5rem, var(--fs-floor));
  font-weight:700;letter-spacing:var(--tr-caps);color:var(--rsx-cat-5);
  padding:0.0625rem 0.25rem;border-radius:var(--radius-sm);
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--rsx-cat-5) 36%, transparent);
  white-space:nowrap;
}

/* ── Warnings ─────────────────────────────────────────────────────────────
   A block, at the head of the panel, above the numbers it qualifies. The
   NOT-SHORT-INTEREST variant is the loudest thing on the surface after an
   error, which is the correct weight for it. */
.pos-warn{
  clear:both;margin:0.5rem 0.75rem 0;padding:0.375rem 0.5rem;
  border-radius:var(--radius-sm);background:color-mix(in srgb, var(--red) 7%, var(--bg-secondary));
}
.pos-warn b{
  display:block;
  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(--red);
}
.pos-warn span{
  display:block;margin-top:0.125rem;
  font-family:var(--font-sans);font-size:max(0.625rem, var(--fs-floor));font-weight:500;
  line-height:1.45;color:var(--text-secondary);
}
.pos-warn.quiet{background:var(--bg-secondary);}
.pos-warn.quiet b{color:var(--text-muted);}
.pos-warn-nsi{
  background:var(--bg-secondary);
}
.pos-warn-nsi .pos-nsi{margin-bottom:0.1875rem;}

/* Reason chips: the gamma gate's `reasons`, shown VERBATIM. Words, so a
   greyscale screenshot keeps every one of them. */
.pos-flags{display:flex;flex-wrap:wrap;gap:0.25rem;}
.pos-flag{
  font-family:var(--font-mono);font-size:max(0.5625rem, var(--fs-floor));font-weight:600;
  letter-spacing:var(--tr-mono);color:var(--text-secondary);
  padding:0.0625rem 0.3125rem;border-radius:var(--radius-sm);
  box-shadow:inset 0 0 0 1px var(--border-default);
}

/* ── Weighting table ──────────────────────────────────────────────────────
   The composite is a weighted mean over whatever was observed, so its weights
   are the most decision-relevant thing about it. Printed as NUMBERS with a bar
   behind them — the number is the encoding, the bar is the shape. */
.pos-wt{display:flex;flex-direction:column;gap:0.1875rem;width:100%;}
.pos-wt-r{
  display:grid;
  grid-template-columns:minmax(0,1fr) 4.5rem 2.25rem 2.25rem;
  align-items:center;gap:0.375rem;min-width:0;
}
.pos-wt-n{
  min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  font-family:var(--font-sans);font-size:max(0.5625rem, var(--fs-floor));font-weight:600;
  text-transform:uppercase;letter-spacing:var(--tr-caps);color:var(--text-secondary);
}
.pos-wt-bar{
  display:block;height:0.375rem;border-radius:0.1875rem;
  background:var(--bg-secondary);overflow:hidden;
  box-shadow:inset 0 0 0 1px var(--border-subtle);
}
.pos-wt-bar i{
  display:block;height:100%;background:var(--rsx-cat-4);
}
.pos-wt-w,.pos-wt-v{
  text-align:right;
  font-family:var(--font-mono);font-size:max(0.5625rem, var(--fs-floor));font-weight:700;
  letter-spacing:var(--tr-mono);font-variant-numeric:tabular-nums;
  color:var(--text-primary);
}
.pos-wt-v{color:var(--text-muted);font-weight:600;}

/* ── History strips ───────────────────────────────────────────────────────
   Height carries the value, so the strip survives greyscale intact; the
   numbers it is drawn from ride each bar's title and the extremes are printed
   under it. Not a chart — a shape, with its axis stated in words. */
.pos-hist{padding:0 0.75rem 0.625rem;}
.pos-hist-k{
  display:block;margin-bottom:0.25rem;
  font-family:var(--font-sans);font-size:max(0.5rem, var(--fs-floor));
  font-weight:700;text-transform:uppercase;letter-spacing:var(--tr-caps);
  color:var(--text-muted);
}
.pos-spark{display:flex;flex-direction:column;gap:0.1875rem;}
.pos-spark-bars{
  display:flex;align-items:flex-end;gap:1px;height:2.25rem;
  padding:0 0.125rem;border-radius:var(--radius-sm);
  background:var(--bg-secondary);
  box-shadow:inset 0 0 0 1px var(--border-subtle);
}
.pos-spark-bars i{
  display:block;flex:1 1 0;min-width:1px;
  background:color-mix(in srgb, var(--rsx-cat-4) 62%, transparent);
  border-radius:1px 1px 0 0;
}
.pos-spark-bars i:last-child{background:var(--rsx-cat-4);}
.pos-spark-ax{
  display:flex;align-items:baseline;justify-content:space-between;gap:0.375rem;
  font-family:var(--font-mono);font-size:max(0.5rem, var(--fs-floor));
  font-weight:500;letter-spacing:var(--tr-mono);color:var(--text-muted);
}
.pos-spark-ax span:nth-child(2){color:var(--text-secondary);}
.pos-days{display:flex;flex-wrap:wrap;gap:0.1875rem;}
.pos-days i{
  font-style:normal;
  font-family:var(--font-mono);font-size:max(0.5rem, var(--fs-floor));
  font-weight:600;letter-spacing:var(--tr-mono);color:var(--text-secondary);
  padding:0.0625rem 0.25rem;border-radius:var(--radius-sm);
  box-shadow:inset 0 0 0 1px var(--border-subtle);white-space:nowrap;
}

/* ── The not-yet-built section ────────────────────────────────────────────
   The `state:'soon'` shape research-catalog.js uses: the section EXISTS, says
   what it will read and what it will NOT claim, and shows no numbers at all. A
   placeholder number here would be indistinguishable from a real one. */
.pos-soon{opacity:0.82;}
.pos-p-mark.soon{
  color:var(--rsx-cat-5);
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--rsx-cat-5) 34%, transparent);
}
.pos-soon-b{
  margin:0;padding:0.5rem 0.75rem 0;
  font-family:var(--font-sans);font-size:max(0.6875rem, var(--fs-floor));font-weight:500;
  line-height:1.5;color:var(--text-secondary);
}
.pos-soon .pos-note{padding:0 0.75rem 0.625rem;}

/* ── Event trail ──────────────────────────────────────────────────────────
   One grid template drives the header and every row so the columns can never
   drift. date · source · what · strength · outcome · link. Separator is an
   inset shadow, not border-top: the list re-renders wholesale and border-top
   loses the first row's rule every time. */
.pos-trail{
  --pos-t-grid:0.1875rem max(5.5rem, 80px) 3.5rem minmax(0,1fr) 3rem 4rem 1.5rem;
  display:flex;flex-direction:column;
}
.pos-t-head{
  display:grid;grid-template-columns:var(--pos-t-grid);align-items:center;
  gap:0.75rem;padding:0 0.75rem;height:2rem;
  border-bottom:1px solid var(--border-default);
}
.pos-th{
  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;
}
.pos-th-r{text-align:right;}
.pos-t-row{
  display:grid;grid-template-columns:var(--pos-t-grid);align-items:center;
  gap:0.75rem;padding:0 0.75rem;
  min-height:max(2.125rem, 30px);
  box-shadow:inset 0 -1px 0 var(--border-subtle);
  transition:background 120ms var(--ease-out);
}
.pos-t-row:hover{background:var(--bg-row-hover);}
.pos-t-rail{
  display:block;align-self:stretch;width:100%;
  background:color-mix(in srgb, var(--pos-c, var(--text-muted)) 55%, transparent);
}
.pos-t-head .pos-t-rail{background:transparent;}
.pos-t-date{
  font-family:var(--font-mono);font-size:max(0.625rem, var(--fs-floor));font-weight:600;
  letter-spacing:var(--tr-mono);color:var(--text-secondary);
  font-variant-numeric:tabular-nums;white-space:nowrap;
}
.pos-t-what{
  display:flex;align-items:baseline;gap:0.375rem;min-width:0;
  font-family:var(--font-sans);font-size:max(0.6875rem, var(--fs-floor));font-weight:500;
  color:var(--text-primary);
  overflow:hidden;white-space:nowrap;text-overflow:ellipsis;
}
.pos-t-str{
  text-align:right;
  font-family:var(--font-mono);font-size:max(0.625rem, var(--fs-floor));font-weight:600;
  letter-spacing:var(--tr-mono);color:var(--text-muted);
  font-variant-numeric:tabular-nums;white-space:nowrap;
}
.pos-out{
  justify-self:end;display:inline-flex;align-items:center;gap:0.1875rem;
  font-family:var(--font-mono);font-size:max(0.6875rem, var(--fs-floor));font-weight:700;
  letter-spacing:var(--tr-mono);font-variant-numeric:tabular-nums;
  color:var(--text-secondary);white-space:nowrap;
}
.pos-out.up{color:var(--green);}
.pos-out.dn{color:var(--red);}
.pos-out.flat{color:var(--text-secondary);}
/* Unlabeled is a dot, never 0.0%. A pending forward return is not a zero. */
.pos-out.none{color:var(--text-xmuted);cursor:help;}
.pos-out .mp-arrow{width:0.7em;height:0.7em;}
a.pos-t-ext{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:var(--ctl-floor);min-height:var(--ctl-floor);
  color:var(--text-muted);text-decoration:none;border-radius:var(--radius-sm);
  margin-right:calc(0px - (var(--ctl-floor) - 1.5rem) / 2);
}
a.pos-t-ext:hover{color:var(--accent);}
a.pos-t-ext:focus-visible{outline:1px solid var(--accent);outline-offset:-1px;}
.pos-t-ext svg{width:0.75rem;height:0.75rem;}

/* ── Loading / empty / gated ──────────────────────────────────────────────
   Skeletons at the exact geometry, never a spinner and never a centred
   message. Empty is one paragraph at the surface's own indent, in the
   surface's own type, naming what would appear and why it has not. No
   illustration. */
.pos-skel{pointer-events:none;}
.pos-panel.pos-skel{gap:0.5rem;padding:0.625rem 0.75rem;}
.pos-sk{
  display:block;height:0.6875rem;border-radius:var(--radius-sm);
  background:linear-gradient(90deg,
    var(--bg-hover) 0%,
    color-mix(in srgb, var(--text-primary) 8%, var(--bg-hover)) 50%,
    var(--bg-hover) 100%);
  background-size:200% 100%;
  animation:pos-shimmer 1.4s var(--ease-out) infinite;
  margin-bottom:0.375rem;
}
@keyframes pos-shimmer{0%{background-position:100% 0;}100%{background-position:-100% 0;}}
.pos-empty{
  padding:0.875rem;
  background:var(--bg-tertiary);border-radius:var(--radius-lg);
  box-shadow:inset 0 0 0 1px var(--border-default);
  font-family:var(--font-sans);font-size:max(0.75rem, var(--fs-floor));font-weight:500;
  line-height:1.55;color:var(--text-secondary);
}
.pos-empty b{color:var(--text-primary);font-weight:700;}
/* Gated: the card primitive with a rank word and a plans link — not a padlock
   (a padlock reads "broken"; a rank word reads "priced"), not a blur. */
.pos-locked{display:flex;align-items:flex-start;justify-content:center;padding:2.5rem 1rem;}
.pos-locked-card{
  display:flex;flex-direction:column;align-items:flex-start;gap:0.5rem;
  max-width:28rem;padding:1rem;
  background:var(--bg-secondary);border-radius:var(--radius-lg);
  box-shadow:inset 0 0 0 1px var(--border-default);
}
.pos-locked-t{
  font-family:var(--font-display);font-size:max(0.875rem, var(--fs-floor));font-weight:700;
  letter-spacing:var(--tr-heading);color:var(--text-primary);
}
.pos-locked-s{
  font-family:var(--font-sans);font-size:max(0.75rem, var(--fs-floor));font-weight:500;
  line-height:1.5;color:var(--text-secondary);
}

/* ── Provenance ───────────────────────────────────────────────────────────
   One mono line pinned to the foot. ALWAYS present: if a field here cannot be
   filled in, the surface does not ship. ASSEMBLED is when the WORKER built the
   dossier — not when the browser fetched it, and emphatically not when any
   source published. Those dates are in the freshness strip. */
.pos-prov{
  flex:none;margin:0;padding:0.5rem 0.875rem;
  display:flex;align-items:center;gap:0.5rem;flex-wrap:wrap;
  font-family:var(--font-mono);font-size:max(0.5625rem, var(--fs-floor));font-weight:500;
  letter-spacing:var(--tr-mono);color:var(--text-secondary);
  border-top:1px solid var(--border-subtle);
}
.pos-prov i{
  font-style:normal;font-weight:700;
  text-transform:uppercase;letter-spacing:var(--tr-caps);color:var(--text-muted);
  margin-right:0.25rem;
}
.pos-prov b{color:var(--text-xmuted);font-weight:400;margin:0 0.125rem;}

/* ── Narrow ───────────────────────────────────────────────────────────────
   Drop order is the practical form of "the chip carries the encoding":
   STRENGTH goes first, then the OUTCOME column. The type chip survives all of
   it and is never replaced by an icon. Dropped BY CLASS, so inserting a track
   later cannot silently hide the wrong one. */
@media (max-width:80rem){
  .pos-trail{--pos-t-grid:0.1875rem max(5.5rem, 80px) 3.5rem minmax(0,1fr) 4rem 1.5rem;}
  .pos-th-str,.pos-t-row > .pos-t-str{display:none;}
}
@media (max-width:64rem){
  .pos-trail{--pos-t-grid:0.1875rem max(5.5rem, 80px) 3.5rem minmax(0,1fr) 1.5rem;}
  .pos-th-out,.pos-t-row > .pos-out{display:none;}
  .pos-readouts{margin-left:0;}
}
@media (max-width:48rem){
  .pos-inner{padding:0.625rem;gap:0.625rem;}
  .pos-band{padding:0.5rem 0.625rem;}
  .pos-fresh-strip{padding:0.4375rem 0.625rem;}
  .pos-prov{padding-left:0.625rem;padding-right:0.625rem;}
  .pos-gates{grid-template-columns:1fr;}
  .pos-grid{columns:1;}
  .pos-wt-r{grid-template-columns:minmax(0,1fr) 2.5rem 2.25rem 2.25rem;}
}

@media (prefers-reduced-motion:reduce){
  .pos-sk{animation:none;}
  .pos-x-c{transition:none;}
}

/* ═══════════════════════════════════════════════════════════════════════════
   THE DECLUTTER LAYER (2026-08-01, research-surface-declutter-spec R1-R5)
   ---------------------------------------------------------------------------
   Everything above this line renders the dossier. Everything below it decides
   what a reader sees FIRST and what they have to ask for.

   Appended rather than woven in, for the same reason this file is 16- and not
   inserted anywhere: the rules above are the cascade, and a later block that
   only ADDS selectors cannot silently restyle one of them.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── The synthetic-data banner ────────────────────────────────────────────
   Local dev only — scripts/devtools/seed_positioning_demo.py sets the flag
   that draws it. Loud on purpose and NOT dismissible: a screenshot of a seeded
   page must be unmistakable, and it is the one element here that is allowed to
   shout. Uses --red at full contrast in both themes and states its meaning in
   WORDS, so it survives greyscale like everything else. */
.pos-synth{
  flex:none;display:flex;align-items:baseline;gap:0.5rem;flex-wrap:wrap;
  padding:0.4375rem 0.75rem;border-radius:var(--radius-md);
  background:color-mix(in srgb, var(--red) 12%, var(--bg-tertiary));
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--red) 46%, transparent);
}
.pos-synth b{
  flex:none;
  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(--red);
}
.pos-synth span{
  min-width:0;
  font-family:var(--font-sans);font-size:max(0.625rem, var(--fs-floor));font-weight:500;
  line-height:1.45;color:var(--text-secondary);
}

/* ── R1: the verdict ──────────────────────────────────────────────────────
   The single most important element on the surface, so it gets the
   typographic weight that implies — and NOTHING numeric sits beside it
   competing for the eye. The verdict WORD is the encoding (Trapped / No setup
   / Can't size it / Can't say), never a coloured edge line: the six-class
   ramp collapses to ΔE 3.92 under deuteranopia in the dark theme, so hue may
   never be load-bearing. */
.pos-verdict{
  flex:none;display:flex;min-width:0;
  border-radius:var(--radius-md);overflow:hidden;
  background:var(--bg-tertiary);
  box-shadow:inset 0 0 0 1px var(--border-default);
}
.pos-v-rail{display:none;}
.pos-verdict[data-v="hot"]{--pos-vc:var(--rsx-cat-3);}
.pos-verdict[data-v="part"]{--pos-vc:var(--rsx-cat-2);}
.pos-verdict[data-v="cold"]{--pos-vc:var(--text-muted);}
.pos-verdict[data-v="none"]{--pos-vc:var(--text-xmuted);}
.pos-v-body{
  flex:1 1 auto;min-width:0;
  display:flex;flex-direction:column;gap:0.25rem;
  padding:0.5625rem 0.875rem;
}
.pos-v-line{
  margin:0;min-width:0;
  font-family:var(--font-sans);font-size:max(0.8125rem, var(--fs-floor));
  font-weight:500;line-height:1.45;color:var(--text-primary);
}
/* The word rides INSIDE the sentence rather than above it, so a reader who
   takes only the first two words still gets the answer and its subject. */
.pos-v-word{
  display:inline-block;margin-right:0.4375rem;
  font-family:var(--font-display);font-size:max(0.8125rem, var(--fs-floor));
  font-weight:700;text-transform:uppercase;letter-spacing:var(--tr-caps);
  color:var(--pos-vc, var(--text-primary));
}
/* The qualifiers: the sentences a crisp verdict would otherwise average away
   — a 17-day-old settlement, an upper-bound float, uncollected borrow, a hot
   short-VOLUME tape that is not a position. Quieter, never hidden. */
.pos-v-qual{
  margin:0;min-width:0;
  font-family:var(--font-sans);font-size:max(0.6875rem, var(--fs-floor));
  font-weight:500;line-height:1.5;color:var(--text-muted);
}

/* ── R2 / R3 / R4: the one expander shape ─────────────────────────────────
   A real <button> with aria-expanded and a region it controls. Never a
   `title=`: a tooltip does not survive a screenshot, does not exist on touch
   and is unreachable by keyboard, and every one of those three is a way for a
   caveat to disappear from the only copy of the page a reader keeps.

   Sized on --ctl-floor like every other control on this surface, so it stays
   hit-testable on a laptop where the rem-based sizes bottom out. */
.pos-x{
  display:inline-flex;align-items:center;gap:0.3125rem;
  min-height:max(1.125rem, var(--ctl-floor));
  padding:0.125rem 0.4375rem;
  border:none;border-radius:var(--radius-sm);background:transparent;
  cursor:pointer;text-align:left;
  font-family:var(--font-sans);font-size:max(0.625rem, var(--fs-floor));
  font-weight:600;color:var(--text-muted);
  box-shadow:inset 0 0 0 1px var(--border-subtle);
  transition:color 140ms var(--ease-out), box-shadow 140ms var(--ease-out);
}
.pos-x:hover{color:var(--text-secondary);box-shadow:inset 0 0 0 1px var(--border-default);}
.pos-x:focus-visible{
  outline:none;color:var(--text-primary);
  box-shadow:inset 0 0 0 1px var(--accent);
}
/* The chevron is the only decoration and it is aria-hidden: the button's own
   text says what it opens, which is what a screen reader and a screenshot
   both need. */
.pos-x-c{
  flex:none;width:0.5rem;height:0.5rem;
  border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;
  transform:rotate(45deg) translate(-0.0625rem, -0.0625rem);
  transition:transform 140ms var(--ease-out);
}
.pos-x[aria-expanded="true"] .pos-x-c{
  transform:rotate(-135deg) translate(-0.0625rem, -0.0625rem);
}
.pos-x[aria-expanded="true"]{color:var(--text-secondary);}
.pos-x-b[hidden]{display:none;}

/* The collapsed-absence line: one row instead of twelve. It sits at the
   BOTTOM of the panel it belongs to, so presence is always read first. */
.pos-absent{padding:0 0.75rem 0.5rem;}
.pos-absent .pos-x{width:100%;}
.pos-absent .pos-x-b .pos-dl{padding:0;}
.pos-absent .pos-x-b{padding-top:0.25rem;}

/* The per-panel caveat toggle lives in the panel header, and its region drops
   to a full-width row under it. display:contents makes the button and the
   region siblings of the heading inside the header's flex row, which is what
   lets the region take a whole line without a wrapper that would also need to
   be styled. */
.pos-cav-w{display:contents;}
.pos-p-head .pos-x.cav{flex:none;margin-left:0.25rem;}
.pos-p-head .pos-x-b{
  flex:1 0 100%;margin-top:0.375rem;
  padding:0.4375rem 0.5625rem;border-radius:var(--radius-sm);
  background:var(--bg-secondary);
  box-shadow:inset 0 0 0 1px var(--border-subtle);
}
.pos-p-head .pos-x-b p,.pos-gates-f .pos-x-b p{
  margin:0 0 0.375rem;
  font-family:var(--font-sans);font-size:max(0.625rem, var(--fs-floor));
  font-weight:500;line-height:1.5;color:var(--text-muted);
}
.pos-p-head .pos-x-b p:last-child,.pos-gates-f .pos-x-b p:last-child{margin-bottom:0;}

/* One toggle over the whole gate strip, carrying the six "what this check
   measures" paragraphs that used to run inline under every cell. */
.pos-gates-w{flex:none;display:flex;flex-direction:column;gap:0.375rem;min-width:0;}
.pos-gates-f{display:flex;min-width:0;}
.pos-gates-f .pos-x{flex:none;}
.pos-gates-f .pos-x-b{
  flex:1 0 100%;margin-top:0.375rem;
  padding:0.5rem 0.75rem;border-radius:var(--radius-md);
  background:var(--bg-tertiary);
  box-shadow:inset 0 0 0 1px var(--border-subtle);
}
.pos-gates-f{flex-wrap:wrap;}

/* R4: the large-float state. One expander over the whole instrument grid,
   under a sentence naming the float that caused it. */
.pos-scale{display:flex;flex-direction:column;min-width:0;}
.pos-scale > .pos-x{
  align-items:flex-start;line-height:1.45;
  padding:0.5rem 0.75rem;border-radius:var(--radius-md);
  color:var(--text-secondary);
  box-shadow:inset 0 0 0 1px var(--border-default);
}
.pos-scale > .pos-x .pos-x-c{margin-top:0.1875rem;}
.pos-scale > .pos-x-b{margin-top:0.75rem;}

/* ═══════════════════════════════════════════════════════════════════════════
   GAMMA EXPOSURE (2026-08-01)
   ---------------------------------------------------------------------------
   The dealer-gamma panel, in its three states. Appended, like the declutter
   layer above it, so it can only ADD selectors — load order IS the cascade and
   nothing here may silently restyle a rule above.

   COLOUR RULE FOR THIS PANEL. Net gamma is a BIPOLAR quantity, so the pair has
   to survive colour-vision deficiency: green/red loses ~81% of its perceptual
   separation under deuteranopia, blue/orange loses none. tokens.css names
   --amber <-> --azure as the sanctioned non-categorical pair and that is what
   this uses. Even so, hue is only REINFORCEMENT here — the sign is carried by
   whether the bar sits ABOVE or BELOW the zero line, which is a positional
   encoding that survives greyscale completely.

   --azure has no light-theme override (it is authored for dark chart ink), so
   the positive fill is darkened locally by deriving FROM the token rather than
   by hardcoding a second hex. tokens.css stays the SSOT.
   ═══════════════════════════════════════════════════════════════════════════ */

/* No profile at all. Deliberately NOT dimmed the way .pos-soon is: "this
   symbol has no options market" is an ANSWER at full contrast, not a section
   still under construction. */
.pos-nogex{opacity:1;}
.pos-p-mark.none{color:var(--text-xmuted);}

/* R1 at panel scale: the word, then the sentence. The WORD is the encoding —
   Damping / Amplifying / Balanced / Can't say — so a greyscale screenshot
   loses nothing, and no number sits beside it competing for the eye. */
.pos-gl-lede{
  margin:0;padding:0.5rem 0.75rem 0;
  display:flex;align-items:baseline;gap:0.4375rem;flex-wrap:wrap;min-width:0;
}
.pos-gl-lede b{
  flex:none;
  font-family:var(--font-display);font-size:max(0.6875rem, var(--fs-floor));
  font-weight:700;text-transform:uppercase;letter-spacing:var(--tr-caps);
  color:var(--text-primary);
}
.pos-gl-lede span{
  min-width:0;
  font-family:var(--font-sans);font-size:max(0.6875rem, var(--fs-floor));
  font-weight:500;line-height:1.5;color:var(--text-secondary);
}

/* The panel's own synthetic marker. The page banner is not enough: this panel
   is the unit that gets cropped out and pasted into a chat window, and a
   fabricated flip level is the most quotable number on the surface. */
.pos-gl-synth{
  display:flex;align-items:baseline;gap:0.4375rem;flex-wrap:wrap;
  margin:0 0 0.375rem;padding:0.3125rem 0.625rem;
  border-radius:var(--radius-md);
  background:color-mix(in srgb, var(--red) 12%, var(--bg-tertiary));
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--red) 46%, transparent);
}
.pos-gl-synth b{
  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(--red);
}
.pos-gl-synth span{
  min-width:0;
  font-family:var(--font-sans);font-size:max(0.5625rem, var(--fs-floor));
  font-weight:500;line-height:1.45;color:var(--text-secondary);
}

/* ── The strike ladder ────────────────────────────────────────────────────
   Diverging bars from a CENTRE baseline: up is positive dealer gamma, down is
   negative. The baseline is zero and is never truncated, so bar length is
   proportional to the exposure it represents.

   The x axis is the strike LADDER, which is categorical — real chains tighten
   their strikes near the money, so no continuous price marker is interpolated
   onto it. Spot is marked on the nearest LISTED strike instead, and printed as
   a number in the axis line where it cannot mislead. */
.pos-gl{
  display:flex;flex-direction:column;gap:0.1875rem;
  padding:0.5rem 0.75rem 0;
  --gl-pos:var(--azure);
  --gl-neg:var(--amber);
}
:root[data-theme="light"] .pos-gl{
  --gl-pos:color-mix(in srgb, var(--azure) 74%, var(--shadow-ink));
}
.pos-gl-bars{
  position:relative;display:flex;align-items:stretch;gap:1px;
  height:3.25rem;padding:0 0.125rem;
  border-radius:var(--radius-sm);background:var(--bg-secondary);
  box-shadow:inset 0 0 0 1px var(--border-subtle);
}
/* The zero line. It is the reference the whole encoding depends on, so it is a
   real element at full muted contrast rather than a gradient edge. */
.pos-gl-zero{
  position:absolute;left:0;right:0;top:50%;height:1px;
  background:var(--border-default);
}
.pos-gl-b{
  position:relative;flex:1 1 0;min-width:2px;
}
.pos-gl-b::after{
  content:'';position:absolute;left:0;right:0;
  height:var(--h,0%);
  background:var(--gl-pos);
}
.pos-gl-b[data-s="pos"]::after{bottom:50%;border-radius:1px 1px 0 0;}
.pos-gl-b[data-s="neg"]::after{
  top:50%;border-radius:0 0 1px 1px;background:var(--gl-neg);
}
/* The strike nearest spot: a full-height tick BEHIND the bar, so the reader
   can find the money on the ladder without a continuous axis. */
.pos-gl-b[data-spot="1"]::before{
  content:'';position:absolute;left:-1px;right:-1px;top:0;bottom:0;
  background:color-mix(in srgb, var(--text-muted) 22%, transparent);
}
.pos-gl-ax{
  display:flex;align-items:baseline;justify-content:space-between;gap:0.375rem;
  font-family:var(--font-mono);font-size:max(0.5rem, var(--fs-floor));
  font-weight:500;letter-spacing:var(--tr-mono);color:var(--text-muted);
}
.pos-gl-ax span:nth-child(2){color:var(--text-secondary);text-align:center;}

@media (max-width:900px){
  .pos-gl-bars{height:2.5rem;}
}

/* ═══ PHONE (2026-10-14) ════════════════════════════════════════════════════
   Under :root.phone, the phone layout's switch (app.html's head; its own file
   is 77-phone.css). Desktop pins the command band and the provenance line
   and makes .pos-body the only scroller between them; at a phone's height
   that left the Positioning dossier a window of one card. On a phone the whole view
   scrolls as one page and the provenance line follows the content. */
:root.phone .pos-inner{display:block;overflow-y:auto;overscroll-behavior:contain;padding:10px;}
:root.phone .pos-inner > *{margin-bottom:10px;}
:root.phone .pos-body{flex:none;min-height:0;overflow:visible;}
:root.phone .pos-prov{padding:8px 4px 16px;}

/* ── Fails to deliver: the daily rows (2026-11-17) ─────────────────────────
   The stored SEC file rows behind the strip: one quiet table inside the
   panel's expander, in the panel's own type (caps sans heads like the row
   labels, mono numbers like the row values), numbers right aligned. */
.pos-ftdt{width:100%;border-collapse:collapse;margin-top:0.25rem;
  font-family:var(--font-mono);font-size:max(0.6875rem, var(--fs-floor));
  letter-spacing:var(--tr-mono);font-variant-numeric:tabular-nums;}
.pos-ftdt th{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);text-align:left;
  padding:0.3125rem 0.375rem;box-shadow:inset 0 -1px 0 var(--border-subtle);white-space:nowrap;}
.pos-ftdt td{padding:0.25rem 0.375rem;color:var(--text-primary);white-space:nowrap;line-height:1.35;}
.pos-ftdt tbody tr:nth-child(even) td{background:var(--bg-stripe);}
.pos-ftdt .n{text-align:right;}
.pos-ftdt th:first-child,.pos-ftdt td:first-child{padding-left:0.25rem;}
.pos-ftdt th:last-child,.pos-ftdt td:last-child{padding-right:0.25rem;}
.pos-ftdt-na{color:var(--text-muted);}

/* 2026-11-17: the daily fails table takes lib/table-ux.js column handles
   (105-table-ux.css styles them on .mpt-t only): the same quiet 1px line
   on the head cell's right edge, cells cut with an ellipsis once sized. */
.pos-ftdt th{position:relative;}
/* A column widened past the panel scrolls inside it, never out of it. */
.pos-ftdt-wrap{overflow-x:auto;max-width:100%;}
.pos-ftdt.tux-sized{table-layout:fixed;}
.pos-ftdt.tux-sized td{overflow:hidden;text-overflow:ellipsis;}
