/* Command Briefing — Market fragility + What changed (founder reference, 2026-11-07).
   Scoped to .bcx so nothing else on the page moves. Logical properties only: Arabic mirrors itself.
   Colour carries state, nothing else: amber = weakening / worse, green = holding / better,
   grey = stale, unreadable, noise. */
:root{
  --bcx-panel:#111316; --bcx-edge:rgba(255,255,255,0.13); --bcx-line:rgba(255,255,255,0.09);
  --bcx-ink:#F2F3F5; --bcx-mute:#9AA0A8; --bcx-faint:#6E747C;
  --bcx-amber:#F5A524; --bcx-amber-bg:rgba(245,165,36,0.08); --bcx-amber-edge:rgba(245,165,36,0.55);
  --bcx-green:#3FB950; --bcx-green-bg:rgba(63,185,80,0.08); --bcx-green-edge:rgba(63,185,80,0.5);
  --bcx-grey-bg:rgba(255,255,255,0.05); --bcx-grey-edge:rgba(255,255,255,0.16);
}
[data-theme="light"]{
  --bcx-panel:#FFFFFF; --bcx-edge:rgba(15,23,42,0.12); --bcx-line:rgba(15,23,42,0.08);
  --bcx-ink:#0D1117; --bcx-mute:#5B6470; --bcx-faint:#8A929E;
  --bcx-amber:#B45309; --bcx-amber-bg:rgba(180,83,9,0.07); --bcx-amber-edge:rgba(180,83,9,0.45);
  --bcx-green:#15803D; --bcx-green-bg:rgba(21,128,61,0.07); --bcx-green-edge:rgba(21,128,61,0.4);
  --bcx-grey-bg:rgba(15,23,42,0.04); --bcx-grey-edge:rgba(15,23,42,0.14);
}

.card.bcx{background:var(--bcx-panel);border:1px solid var(--bcx-edge);border-radius:16px;padding:26px 26px 20px;color:var(--bcx-ink)}
.bcx-hd{display:flex;align-items:center;justify-content:space-between;gap:12px}
.bcx-label{font-size:0.7em;font-weight:600;letter-spacing:0.12em;text-transform:uppercase;color:var(--bcx-mute)}
.bcx-sec{margin:0;padding:16px 0;border-top:1px solid var(--bcx-line)}
.bcx-sec > .bcx-label{display:block;margin-bottom:9px}

/* pills: outline + faint fill, the reference's single pill shape */
.bcx-pill{display:inline-flex;align-items:center;font-size:0.72em;font-weight:500;padding:5px 13px;border-radius:999px;border:1px solid var(--bcx-grey-edge);background:var(--bcx-grey-bg);color:var(--bcx-mute);white-space:nowrap}
.bcx-pill.y{border-color:var(--bcx-amber-edge);background:var(--bcx-amber-bg);color:var(--bcx-amber)}
.bcx-pill.g{border-color:var(--bcx-green-edge);background:var(--bcx-green-bg);color:var(--bcx-green)}
.bcx-pill.r{border-color:var(--bcx-amber-edge);background:var(--bcx-amber-bg);color:var(--bcx-amber)}

/* fragility: the level word is the one loud thing */
.bcx-level{font-size:2.9em;font-weight:800;letter-spacing:-0.02em;line-height:1.05;margin:14px 0 8px}
.bcx-sub{font-size:0.86em;color:var(--bcx-mute);padding-bottom:16px}
.bcx-rows{border-top:1px solid var(--bcx-line)}
.bcx-row{display:flex;align-items:flex-start;gap:12px;padding:12px 0;border-bottom:1px solid var(--bcx-line)}
.bcx-row > span:last-child{flex:1;min-width:0;line-height:1.5}
.bcx-row:last-child{border-bottom:0}
.bcx-dot{width:10px;height:10px;border-radius:50%;flex:none;margin-top:0.5em;background:transparent;border:1.5px solid var(--bcx-faint)}
.bcx-dot.y{background:var(--bcx-amber);border-color:var(--bcx-amber)}
.bcx-dot.g{background:var(--bcx-green);border-color:var(--bcx-green)}
.bcx-name{font-size:1.02em;font-weight:600;white-space:nowrap}
.bcx-val{font-size:0.86em;color:var(--bcx-mute);line-height:1.5}
.bcx-text{font-size:0.86em;color:var(--bcx-mute);line-height:1.6}
.bcx-text b{color:var(--bcx-ink);font-weight:600}
.bcx-list{margin:6px 0 0;padding-inline-start:18px;font-size:0.84em;color:var(--bcx-mute);line-height:1.65}

/* convergence chips */
.bcx-chips{display:flex;flex-wrap:wrap;gap:7px;margin:2px 0 11px}
.bcx-chip{font-size:0.74em;padding:6px 11px;border-radius:999px;border:1px solid var(--bcx-grey-edge);background:var(--bcx-grey-bg);color:var(--bcx-mute);white-space:nowrap}
.bcx-chip b{font-weight:500;color:var(--bcx-ink)}
.bcx-chip.y{border-color:var(--bcx-amber-edge);color:var(--bcx-amber)}
.bcx-chip.y b{color:var(--bcx-amber)}
.bcx-chip.dim{border-style:dashed}

.bcx-foot{display:flex;gap:10px;align-items:flex-start;font-size:0.76em;color:var(--bcx-mute);line-height:1.55;padding-top:14px;border-top:1px solid var(--bcx-line)}
.bcx-foot svg{flex:none;margin-top:1px}
.bcx-foot a{color:var(--a2,#58a6ff);cursor:pointer}

/* what changed */
.bcx-item{padding:18px 0;border-bottom:1px solid var(--bcx-line)}
.bcx-item:first-of-type{margin-top:8px}
.bcx-ihd{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.bcx-ititle{font-size:1.02em;font-weight:600;line-height:1.4}
.bcx-ititle .to{color:var(--bcx-amber)}
.bcx-ititle .to.g{color:var(--bcx-green)}
.bcx-ititle .to.n{color:var(--bcx-ink)}
.bcx-iwhy{font-size:0.86em;color:var(--bcx-mute);line-height:1.6;margin-top:10px;max-width:52ch}
.bcx-watch{padding:18px 0 4px}
.bcx-watch .ev{display:flex;align-items:center;gap:10px;font-size:1.02em;font-weight:600;margin-top:10px}
.bcx-watch .when{font-size:0.86em;color:var(--bcx-mute);margin-top:6px;padding-inline-start:20px}
.bcx-note{font-size:0.74em;color:var(--bcx-faint);line-height:1.55;margin-top:10px}

/* Polish pass 2026-11-26 (founder: "words, layout messy"). One level word, a 4-step meter, pillar rows as
   dot | name + state | figure, one detail line with one source; small moves folded into one line. */
.card.bcx{border-radius:10px}
.bcx-lvlline{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 14px;margin:12px 0 6px}
.bcx-lvlline .bcx-level{margin:0;font-weight:600;font-size:2.4em;letter-spacing:-0.01em}
.bcx-level.r,.bcx-level.y{color:var(--bcx-amber)}
.bcx-level.g{color:var(--bcx-green)}
.bcx-level.n{color:var(--bcx-mute)}
.bcx-sub2{font-size:0.86em;color:var(--bcx-mute)}
.bcx-meter{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;max-width:200px;margin:4px 0 8px}
.bcx-meter i{height:5px;border-radius:2px;background:var(--bcx-line)}
.bcx-meter i.on{background:var(--bcx-amber)}
.bcx-asof{font-size:0.74em;color:var(--bcx-faint);padding-bottom:14px;font-variant-numeric:tabular-nums}
.bcx-row2{display:grid;grid-template-columns:10px minmax(0,1fr) auto;column-gap:12px;row-gap:4px;align-items:baseline;padding:12px 0;border-top:1px solid var(--bcx-line)}
.bcx-row2 .bcx-dot{width:8px;height:8px;margin:0;align-self:center}
.bcx-rh{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;min-width:0}
.bcx-st{font-size:0.84em;color:var(--bcx-mute)}
.bcx-num{font-size:0.98em;font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap;text-align:end}
.bcx-det{grid-column:2/4;font-size:0.82em;color:var(--bcx-mute);line-height:1.55;font-variant-numeric:tabular-nums}
.bcx-src,.bcx-srcs summary{color:var(--a2,#58a6ff);text-decoration:none;cursor:pointer;white-space:nowrap}
.bcx-srcs{display:inline}
.bcx-srcs summary{display:inline;list-style:none}
.bcx-srcs summary::-webkit-details-marker{display:none}
.bcx-srcs[open] summary{margin-inline-end:8px}
.bcx-srcs .bcx-src{margin-inline-end:8px;font-family:'JetBrains Mono',monospace;font-size:0.95em}
.bcx-item2{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;row-gap:6px;align-items:baseline;padding:16px 0;border-bottom:1px solid var(--bcx-line)}
.bcx-item2:first-of-type{margin-top:6px}
.bcx-item2 .bcx-ival{font-size:1.02em;font-weight:600;font-variant-numeric:tabular-nums;text-align:end;white-space:nowrap}
.bcx-item2 .bcx-ival .to{color:var(--bcx-amber)}
.bcx-item2 .bcx-ival .to.g{color:var(--bcx-green)}
.bcx-item2 .bcx-ival .to.n{color:var(--bcx-ink)}
.bcx-item2 .bcx-iwhy{grid-column:1/3;margin:0}
.bcx-item2 .bcx-pill{grid-column:1/3;justify-self:start}
.bcx-quiet{font-size:0.82em;color:var(--bcx-mute);line-height:1.6;padding:14px 0;border-bottom:1px solid var(--bcx-line);font-variant-numeric:tabular-nums}
.bcx-quiet b{color:var(--bcx-ink);font-weight:500;white-space:nowrap}
.bcx-next{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:4px 12px;padding:14px 0 4px}
.bcx-next b{font-size:0.95em;font-weight:600}
.bcx-next span{font-size:0.82em;color:var(--bcx-mute);font-variant-numeric:tabular-nums}
html[dir="rtl"] .bcx-rh, html[dir="rtl"] .bcx-item2 .bcx-ititle { unicode-bidi: isolate; direction: rtl; }

@media (max-width:640px){
  .card.bcx{padding:20px 18px 16px;border-radius:10px}
  .bcx-lvlline .bcx-level{font-size:2em}
  .bcx-level{font-size:2.3em}
  .bcx-row{gap:10px}
  .bcx-name{white-space:normal}
  .bcx-ihd{flex-direction:column;gap:8px}
}

/* Arabic: a wrapper whose only children are isolated spans has no strong character of its own, so
   nodal-rtl.css's `plaintext` resolved it LTR and put the pillar name at the END of the line. These
   wrappers take the page's direction; their inner spans still isolate (numbers keep their order). */
html[dir="rtl"] .bcx-row > span:last-child, html[dir="rtl"] .bcx-ititle { unicode-bidi: isolate; direction: rtl; }

/* Stablecoin Supply Monitor (2026-11-08). Colour never encodes direction: amber = unusual vs its own
   history, dashed grey = stale / unavailable / within noise. Logical properties only. */
.scm-big{font-size:2.6em;font-weight:800;letter-spacing:-0.02em;line-height:1.05;margin:12px 0 4px;font-variant-numeric:tabular-nums}
.scm-spark{width:100%;height:56px;display:block;margin:2px 0 12px;color:var(--bcx-ink)}
.scm-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:9px 0 16px}
.scm-k{border:1px solid var(--bcx-line);border-radius:10px;padding:10px 12px;min-width:0}
.scm-k .v{font-size:1.15em;font-weight:700;font-variant-numeric:tabular-nums}
.scm-k .s{font-size:0.72em;color:var(--bcx-mute);margin-top:3px;line-height:1.45}
.scm-k.noise{border-style:dashed;border-color:var(--bcx-grey-edge)}
.scm-k.unusual{border-color:var(--bcx-amber-edge);background:var(--bcx-amber-bg)}
.scm-k.unusual .s b{color:var(--bcx-amber);font-weight:600}
.scm-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}
.scm-two .bcx-label{display:block;margin-bottom:8px}
.scm-bar{display:grid;grid-template-columns:minmax(70px,1fr) 1.2fr auto;gap:10px;align-items:center;font-size:0.82em;padding:5px 0}
.scm-bar > span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.scm-bar .t{height:6px;border-radius:3px;background:var(--bcx-grey-bg);overflow:hidden}
.scm-bar .t i{display:block;height:100%;background:var(--bcx-mute)}
.scm-bar .c{text-align:end;color:var(--bcx-mute);font-variant-numeric:tabular-nums;white-space:nowrap}
.scm-bar.dim{color:var(--bcx-faint)}
.scm-na{border:1px dashed var(--bcx-grey-edge);border-radius:10px;padding:12px 14px;font-size:0.84em;color:var(--bcx-mute);line-height:1.55}
.bcx-pill.scm-dash{border-style:dashed;color:var(--bcx-mute)}
.scm-stale-note{border:1px dashed var(--bcx-grey-edge);background:var(--bcx-grey-bg);border-radius:8px;padding:8px 12px;margin-top:12px;font-size:0.8em;color:var(--bcx-ink);line-height:1.5}
.scm.scm-stale .scm-big,.scm.scm-stale .scm-grid,.scm.scm-stale .scm-two,.scm.scm-stale .scm-spark{opacity:0.5;filter:grayscale(0.6)}
.scm .bcx-foot{display:block}
@media (max-width:640px){
  .scm-big{font-size:2.1em}
  .scm-grid,.scm-two{grid-template-columns:minmax(0,1fr)}
}
