/* OG Markets surfaces (Crypto Hub + Financial Smart Agent) —
   black-and-gold OG theme. Loaded with og_markets.js; the
   surfaces themselves are owned by og_dashboards.js. */
.ogm-wrap { color: #f5f0e1; font-family: inherit; padding: 16px; }
.ogm-title { color: #ffc107; font-size: 1.35rem; margin: 4px 0 2px; }
.ogm-sub { color: #bdb49a; font-size: .85rem; margin: 0 0 14px; }
.ogm-card { background: #141414; border: 1px solid rgba(255,193,7,.35);
  border-radius: 14px; padding: 14px; margin: 0 0 14px; }
.ogm-card h3 { color: #ffc107; margin: 0 0 10px; font-size: 1.05rem; }
.ogm-note { color: #bdb49a; font-size: .88rem; line-height: 1.45; }
.ogm-honest { color: #e8dcc0; background: rgba(255,193,7,.08);
  border: 1px dashed rgba(255,193,7,.5); border-radius: 10px;
  padding: 10px 12px; font-size: .9rem; line-height: 1.45; }
.ogm-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.ogm-table th, .ogm-table td { padding: 7px 6px; text-align: right;
  border-bottom: 1px solid rgba(255,255,255,.08); }
.ogm-table th:first-child, .ogm-table td:first-child { text-align: left; }
.ogm-table th { color: #ffc107; font-weight: 600; }
.ogm-up { color: #69d97a; } .ogm-down { color: #ff7a6b; }
.ogm-btn { background: #ffc107; color: #111; border: none; border-radius: 10px;
  padding: 9px 14px; font-weight: 700; cursor: pointer; font-size: .92rem; }
.ogm-btn:disabled { opacity: .45; cursor: not-allowed; }
.ogm-btn-ghost { background: transparent; color: #ffc107;
  border: 1px solid rgba(255,193,7,.6); border-radius: 10px;
  padding: 8px 12px; font-weight: 600; cursor: pointer; font-size: .9rem; }
.ogm-input, .ogm-select { background: #0b0b0b; color: #f5f0e1;
  border: 1px solid rgba(255,193,7,.4); border-radius: 8px;
  padding: 9px 10px; font-size: .95rem; width: 100%; box-sizing: border-box; }
.ogm-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: end; }
.ogm-row > * { flex: 1 1 120px; }
.ogm-row > .ogm-noflex { flex: 0 0 auto; }
.ogm-label { display: block; color: #bdb49a; font-size: .78rem;
  margin: 0 0 4px; text-transform: uppercase; letter-spacing: .04em; }
/* Scope cut (2026-10-22): the .ogm-paper-banner,
   .ogm-watch-item and .ogm-addr rules were removed with
   the paper simulator and watch-only sections they
   styled — those sections no longer exist. */
.ogm-metric { display: flex; justify-content: space-between; padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,.08); font-size: .95rem; }
.ogm-metric:last-child { border-bottom: none; }
.ogm-metric b { color: #fff; }
.ogm-soon { opacity: .75; text-align: center; padding: 10px; }
.ogm-soon .ogm-tag { display: inline-block; background: rgba(255,193,7,.15);
  color: #ffc107; border: 1px solid rgba(255,193,7,.6); border-radius: 999px;
  padding: 3px 12px; font-weight: 700; letter-spacing: .08em;
  font-size: .8rem; margin-bottom: 8px; }
.ogm-asof { color: #8f876f; font-size: .78rem; margin-top: 8px; }
.ogm-err { color: #ff7a6b; font-size: .9rem; }
a.ogm-link { color: #ffc107; }

/* Ticket M: the Crypto Hub's holdings lead + bid ranges
   (.ogc-*) — holdings rows reuse .ogm-metric; these are
   the pieces the metric row can't express. */
.ogc-total { font-size: 1.05rem; }
.ogc-h { color: #ffc107; font-size: .95rem; margin: 14px 0 4px; }
.ogc-range { display: flex; gap: 8px; align-items: center;
  justify-content: space-between; padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.08); }
.ogc-range:last-of-type { border-bottom: none; }
.ogc-range-btns { display: flex; gap: 6px; flex: 0 0 auto; }

/* Ticket M day face: the two new hub cards take the
   day face like the bank card (G law). Ticket G2
   (2026-10-22): the day face is LIGHT GRAY now —
   silver card, charcoal text, deep-bronze heads. */
html[data-og-rain-mode="day"] .ogc-hub {
  background: #bcbcc0; border-color: rgba(70,56,6,.4);
  color: #1e1e21; }
html[data-og-rain-mode="day"] .ogc-hub h3,
html[data-og-rain-mode="day"] .ogc-hub .ogc-h { color: #463806; }
html[data-og-rain-mode="day"] .ogc-hub .ogm-note,
html[data-og-rain-mode="day"] .ogc-hub .ogm-asof { color: #3d3b32; }
html[data-og-rain-mode="day"] .ogc-hub .ogm-metric b { color: #17171a; }
html[data-og-rain-mode="day"] .ogc-hub .ogm-metric,
html[data-og-rain-mode="day"] .ogc-hub .ogc-range {
  border-bottom-color: rgba(30,30,34,.14); }
html[data-og-rain-mode="day"] .ogc-hub .ogm-honest {
  color: #2e2a08; background: rgba(120,95,20,.12);
  border-color: rgba(120,95,20,.55); }
html[data-og-rain-mode="day"] .ogc-hub .ogm-input,
html[data-og-rain-mode="day"] .ogc-hub .ogm-select {
  background: #cfcfd3; color: #1e1e21;
  border-color: rgba(70,56,6,.45); }
html[data-og-rain-mode="day"] .ogc-hub .ogm-btn-ghost {
  color: #463806; border-color: rgba(70,56,6,.6); }
html[data-og-rain-mode="day"] .ogc-hub .ogm-up { color: #1e6b2a; }
html[data-og-rain-mode="day"] .ogc-hub .ogm-down { color: #b3382a; }

/* Ticket L: the bank picture inside the Financial Smart
   Agent (.ogf-*) — rows reuse .ogm-metric where they can;
   these are the pieces the metric row can't express. */
.ogf-h { color: #ffc107; font-size: .95rem; margin: 14px 0 4px; }
.ogf-bank .ogf-h:first-of-type { margin-top: 8px; }
.ogf-sub { color: #bdb49a; font-size: .8rem; }
.ogf-txn { display: flex; justify-content: space-between; gap: 10px;
  padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: .92rem; }
.ogf-txn:last-child { border-bottom: none; }
.ogf-txn b { color: #fff; white-space: nowrap; }
.ogf-txn-date { color: #bdb49a; }
.ogf-pend { color: #ffc107; border: 1px solid rgba(255,193,7,.55);
  border-radius: 6px; padding: 0 5px; font-size: .72rem;
  text-transform: uppercase; letter-spacing: .05em; }

/* Ticket L day face: the bank card takes the day face
   like the rest of OG's day surfaces (G law). Ticket
   G2 (2026-10-22): LIGHT GRAY now — silver card,
   charcoal text, deep-bronze heads. */
html[data-og-rain-mode="day"] .ogf-bank {
  background: #bcbcc0; border-color: rgba(70,56,6,.4);
  color: #1e1e21; }
html[data-og-rain-mode="day"] .ogf-bank h3,
html[data-og-rain-mode="day"] .ogf-bank .ogf-h { color: #463806; }
html[data-og-rain-mode="day"] .ogf-bank .ogm-note,
html[data-og-rain-mode="day"] .ogf-bank .ogf-sub,
html[data-og-rain-mode="day"] .ogf-bank .ogf-txn-date,
html[data-og-rain-mode="day"] .ogf-bank .ogm-asof { color: #3d3b32; }
html[data-og-rain-mode="day"] .ogf-bank .ogm-metric b,
html[data-og-rain-mode="day"] .ogf-bank .ogf-txn b { color: #17171a; }
html[data-og-rain-mode="day"] .ogf-bank .ogm-metric,
html[data-og-rain-mode="day"] .ogf-bank .ogf-txn {
  border-bottom-color: rgba(30,30,34,.14); }
html[data-og-rain-mode="day"] .ogf-bank .ogm-honest {
  color: #2e2a08; background: rgba(120,95,20,.12);
  border-color: rgba(120,95,20,.55); }
html[data-og-rain-mode="day"] .ogf-bank .ogf-pend {
  color: #463806; border-color: rgba(70,56,6,.55); }
