/* t3292: match page IRL Ledger as filter chips plus compact cards (needs JS; without JS the full list shows). */
#ledger-notes .t3292-chips[hidden],#ledger-notes .t3292-more[hidden],#ledger-notes .t3292-h[hidden]{display:none!important}
#ledger-notes .t3292-chips{display:flex;flex-wrap:wrap;gap:6.4px;margin:4px 0 12px;padding:0;list-style:none}
#ledger-notes .t3292-chips .chip{
  -webkit-appearance:none;appearance:none;display:inline-flex;align-items:center;gap:6px;
  min-height:36px;padding:6.72px 12.48px;border-radius:999px;border:1px solid rgba(201,164,90,.42);
  background:transparent;color:#c9a45a;font:500 14.08px/1.2 Outfit,system-ui,sans-serif;cursor:pointer;
}
#ledger-notes .t3292-chips .chip[aria-pressed="true"]{background:#e0b03a;border-color:#e0b03a;color:#1a1204;font-weight:700}
#ledger-notes .t3292-chips .chip .t3292-n{font-size:12px;opacity:.8;font-weight:600}
#ledger-notes .t3292-chips .chip:focus-visible{outline:2px solid #e0b03a;outline-offset:2px}
html[data-theme=light] #ledger-notes .t3292-chips .chip{background:#fff;color:#111;border-color:#8a8a86}
html[data-theme=light] #ledger-notes .t3292-chips .chip[aria-pressed="true"]{background:#1f6b45;color:#fff;border-color:#7a5c0e}
/* compact cards */
#ledger-notes.t3292-on .oc-facts{list-style:none;margin:0;padding:0;display:grid;gap:8px}
#ledger-notes.t3292-on .oc-fact{margin:0;padding:0;border:1px solid rgba(201,164,90,.28);border-radius:12px;background:rgba(255,255,255,.03);overflow:hidden}
html[data-theme=light] #ledger-notes.t3292-on .oc-fact{border-color:#d6d0c2;background:#fff}
#ledger-notes.t3292-on .oc-fact[hidden]{display:none}
#ledger-notes .t3292-h{
  -webkit-appearance:none;appearance:none;display:flex;align-items:flex-start;gap:10px;width:100%;
  min-height:44px;margin:0;padding:10px 12px;border:0;background:none;color:inherit;text-align:left;
  font:inherit;font-size:15px;line-height:1.35;cursor:pointer;
}
#ledger-notes .t3292-h:focus-visible{outline:2px solid #e0b03a;outline-offset:-2px}
#ledger-notes .t3292-fig{flex:0 0 auto;font-weight:800;font-size:22px;line-height:1;color:#e0b03a;min-width:2ch}
html[data-theme=light] #ledger-notes .t3292-fig{color:#7a5c0e}
#ledger-notes .t3292-fig ~ .t3292-fig{display:none}  /* t3340: one figure per row is baked; only the first still present shows */
#ledger-notes .t3292-t{flex:1 1 auto;min-width:0;display:block}
#ledger-notes .t3292-s,#ledger-notes .t3292-s2{display:block}  /* Fact Bot shorts are shown whole (no clamp): method wording must stay visible */
#ledger-notes .t3292-s2{margin-top:3px;font-size:13.5px;opacity:.86}
#ledger-notes.t3292-on .t3292-row + .t3292-row{margin-top:10px;padding-top:10px;border-top:1px dashed rgba(201,164,90,.35)}
#ledger-notes .t3292-k{display:block;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#c9a45a;margin-bottom:2px}
html[data-theme=light] #ledger-notes .t3292-k{color:#7a5c0e}
#ledger-notes .t3292-chev{flex:0 0 auto;width:18px;height:18px;margin-top:2px;color:#c9a45a;transition:transform .18s ease}
#ledger-notes .t3292-h[aria-expanded="true"] .t3292-chev{transform:rotate(180deg)}
#ledger-notes.t3292-on .t3292-b{padding:0 12px 10px}
#ledger-notes.t3292-on .t3292-b[hidden]{display:none}
#ledger-notes.t3292-on .t3292-b > p:first-child{margin:0 0 6px}
#ledger-notes.t3292-on .t3292-b .fine{margin:0;font-size:12px}
#ledger-notes .t3292-more{
  -webkit-appearance:none;appearance:none;display:block;width:100%;min-height:44px;margin:10px 0 0;padding:8px 12px;
  border:1px solid rgba(201,164,90,.55);border-radius:999px;background:transparent;color:inherit;font:inherit;font-weight:700;cursor:pointer;
}
html[data-theme=light] #ledger-notes .t3292-more{border-color:#8a8a86}
@media (prefers-reduced-motion:reduce){#ledger-notes .t3292-chev{transition:none}}
/* t3353c (Fan FAIL 6b030bbd B1): long Fact Bot stat lines never push a card past its column. Grid track and cards may shrink
   (min-width:0); text breaks anywhere when a token cannot fit. Narrow screens, long stat lines only (data-t3292-long): the stat line takes its own wrapping line
   above the short text (chevron stays top right), so wide layouts are unchanged. */
#ledger-notes.t3292-on .oc-facts{grid-template-columns:minmax(0,1fr)}
#ledger-notes.t3292-on .oc-fact{min-width:0;max-width:100%}
#ledger-notes .t3292-h{min-width:0;max-width:100%}
#ledger-notes .t3292-t,#ledger-notes .t3292-s,#ledger-notes .t3292-s2,#ledger-notes .t3292-b,#ledger-notes .t3292-fig{overflow-wrap:anywhere}
@media (max-width:640px){
  #ledger-notes .t3292-h[data-t3292-long]{flex-wrap:wrap}
  #ledger-notes .t3292-h[data-t3292-long] .t3292-fig{flex:1 1 0;min-width:0;white-space:normal;font-size:18px;line-height:1.2}
  #ledger-notes .t3292-h[data-t3292-long] .t3292-chev{order:1}
  #ledger-notes .t3292-h[data-t3292-long] .t3292-t{order:2;flex:1 1 100%}
}
