#gemmaEventChainSection .event-trader-brief-v2 {
  --tbv2-ink: #172239;
  --tbv2-ink-soft: #344158;
  --tbv2-muted: #657189;
  --tbv2-line: #d9e0eb;
  --tbv2-line-strong: #cbd5e3;
  --tbv2-surface: #ffffff;
  --tbv2-surface-soft: #f8fafc;
  --tbv2-section-bg: rgba(255, 255, 255, .96);
  --tbv2-card-bg: #ffffff;
  --tbv2-card-translucent: rgba(255, 255, 255, .82);
  --tbv2-orange: #c2410c;
  --tbv2-orange-soft: #fff3ec;
  --tbv2-orange-line: #f8c8ae;
  --tbv2-blue: #2c61b7;
  --tbv2-blue-soft: #eef5ff;
  --tbv2-blue-line: #bdd2f7;
  --tbv2-green: #0d825f;
  --tbv2-green-soft: #eefaf6;
  --tbv2-green-line: #b9e5d5;
  --tbv2-red: #b33b32;
  --tbv2-red-soft: #fff4f2;
  --tbv2-red-line: #f0c8c2;
  --tbv2-theme-bg: linear-gradient(145deg, #eefaf6, #ffffff 58%);
  --tbv2-risk-bg: linear-gradient(145deg, #fff4f2, #ffffff 64%);
  --tbv2-recent-bg: linear-gradient(135deg, rgba(238, 245, 255, .96), rgba(255, 255, 255, .98) 62%);
  --tbv2-window-immediate-bg: #fff9f5;
  --tbv2-window-near-bg: #f5f8fe;
  --tbv2-window-holding-bg: #f8f7fb;
  --tbv2-ref-bg: #f3f6fa;
  --tbv2-empty-bg: rgba(248, 250, 252, .76);
  --tbv2-shadow: 0 14px 44px rgba(23, 34, 57, .065);
  display: block;
  min-width: 0;
  color: var(--tbv2-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-synthesis: none;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

html[data-theme="dark"] #gemmaEventChainSection .event-trader-brief-v2 {
  --tbv2-ink: #edf2fa;
  --tbv2-ink-soft: #c5cfde;
  --tbv2-muted: #9aa8bd;
  --tbv2-line: #344258;
  --tbv2-line-strong: #4b5a71;
  --tbv2-surface: #182235;
  --tbv2-surface-soft: #111a2a;
  --tbv2-section-bg: rgba(17, 26, 42, .96);
  --tbv2-card-bg: #182235;
  --tbv2-card-translucent: rgba(24, 34, 53, .88);
  --tbv2-orange: #ff8a4c;
  --tbv2-orange-soft: rgba(194, 65, 12, .2);
  --tbv2-orange-line: rgba(255, 138, 76, .42);
  --tbv2-blue: #78aaf2;
  --tbv2-blue-soft: rgba(44, 97, 183, .2);
  --tbv2-blue-line: rgba(120, 170, 242, .4);
  --tbv2-green: #59d4aa;
  --tbv2-green-soft: rgba(13, 130, 95, .18);
  --tbv2-green-line: rgba(89, 212, 170, .36);
  --tbv2-red: #f18b82;
  --tbv2-red-soft: rgba(179, 59, 50, .2);
  --tbv2-red-line: rgba(241, 139, 130, .38);
  --tbv2-theme-bg: linear-gradient(145deg, rgba(13, 130, 95, .18), #182235 62%);
  --tbv2-risk-bg: linear-gradient(145deg, rgba(179, 59, 50, .18), #182235 68%);
  --tbv2-recent-bg: linear-gradient(135deg, rgba(44, 97, 183, .2), rgba(17, 26, 42, .98) 66%);
  --tbv2-window-immediate-bg: rgba(194, 65, 12, .12);
  --tbv2-window-near-bg: rgba(44, 97, 183, .13);
  --tbv2-window-holding-bg: #151d2e;
  --tbv2-ref-bg: #101827;
  --tbv2-empty-bg: rgba(13, 20, 33, .72);
  --tbv2-shadow: 0 18px 50px rgba(0, 0, 0, .2);
}

#gemmaEventChainSection .event-trader-brief-v2,
#gemmaEventChainSection .event-trader-brief-v2 *,
#gemmaEventChainSection .event-trader-brief-v2 *::before,
#gemmaEventChainSection .event-trader-brief-v2 *::after {
  box-sizing: border-box;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-brief-stack {
  display: grid;
  gap: 22px;
  min-width: 0;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-section {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--tbv2-line);
  color: var(--tbv2-ink);
  background: var(--tbv2-section-bg);
  border-radius: 24px;
  box-shadow: var(--tbv2-shadow);
  scroll-margin-top: 82px;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 17px;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-section-head-main {
  display: flex;
  align-items: flex-start;
  min-width: 0;
  gap: 13px;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-section-head-main > div {
  min-width: 0;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-section-index {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-top: 1px;
  color: var(--tbv2-orange);
  background: var(--tbv2-orange-soft);
  border: 1px solid var(--tbv2-orange-line);
  border-radius: 11px;
  font-size: 14px;
  font-weight: 900;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-section-kicker {
  margin: 0 0 7px;
  color: var(--tbv2-orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  line-height: 1.2;
  text-transform: uppercase;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-section-head h2 {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--tbv2-ink);
  font-size: clamp(24px, 2.3vw, 32px);
  line-height: 1.12;
  letter-spacing: -.025em;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-section-head p:not(.tbv2-section-kicker) {
  max-width: 900px;
  margin: 6px 0 0;
  color: var(--tbv2-muted);
  font-size: 15px;
  line-height: 1.5;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-section-count,
#gemmaEventChainSection .event-trader-brief-v2 .tbv2-window-label,
#gemmaEventChainSection .event-trader-brief-v2 .tbv2-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid var(--tbv2-line);
  color: var(--tbv2-muted);
  background: var(--tbv2-surface-soft);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-section-count {
  flex: 0 0 auto;
  min-height: 0;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-section-meta {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-section-count--coverage {
  color: var(--tbv2-green);
  background: var(--tbv2-green-soft);
  border-color: var(--tbv2-green-line);
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-theme-grid,
#gemmaEventChainSection .event-trader-brief-v2 .tbv2-risk-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-theme-card,
#gemmaEventChainSection .event-trader-brief-v2 .tbv2-risk-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--tbv2-line);
  background: var(--tbv2-card-bg);
  border-radius: 20px;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-theme-card {
  border-color: var(--tbv2-green-line);
  background: var(--tbv2-theme-bg);
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-theme-card::before,
#gemmaEventChainSection .event-trader-brief-v2 .tbv2-risk-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--tbv2-green);
  content: "";
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-theme-number,
#gemmaEventChainSection .event-trader-brief-v2 .tbv2-risk-number {
  color: var(--tbv2-green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .09em;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-theme-card h3,
#gemmaEventChainSection .event-trader-brief-v2 .tbv2-risk-card h3,
#gemmaEventChainSection .event-trader-brief-v2 .tbv2-window-card h3 {
  margin: 7px 0 9px;
  overflow-wrap: anywhere;
  color: var(--tbv2-ink);
  font-size: clamp(20px, 1.65vw, 25px);
  line-height: 1.22;
  letter-spacing: -.018em;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-theme-card > p,
#gemmaEventChainSection .event-trader-brief-v2 .tbv2-risk-card > p,
#gemmaEventChainSection .event-trader-brief-v2 .tbv2-window-card > p {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--tbv2-ink-soft);
  font-size: 17px;
  line-height: 1.56;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-copy {
  min-width: 0;
  margin-top: 11px;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-copy + .tbv2-copy {
  margin-top: 9px;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-copy-label {
  display: block;
  margin-bottom: 3px;
  color: var(--tbv2-muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.25;
  text-transform: uppercase;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-copy p {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--tbv2-ink-soft);
  font-size: 17px;
  line-height: 1.56;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-copy--why {
  padding-top: 9px;
  border-top: 1px solid var(--tbv2-line);
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-pill-row,
#gemmaEventChainSection .event-trader-brief-v2 .tbv2-group-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 13px;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-pill--group {
  color: var(--tbv2-muted);
  background: var(--tbv2-surface-soft);
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-pill--green {
  color: var(--tbv2-green);
  background: var(--tbv2-green-soft);
  border-color: var(--tbv2-green-line);
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-pill--red {
  color: var(--tbv2-red);
  background: var(--tbv2-red-soft);
  border-color: var(--tbv2-red-line);
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-channel-block {
  margin-top: 17px;
  padding-top: 15px;
  border-top: 1px solid var(--tbv2-green-line);
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-channel-block > b {
  display: block;
  margin-bottom: 9px;
  color: var(--tbv2-green);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-channel-list {
  display: grid;
  gap: 9px;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-channel {
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid var(--tbv2-green-line);
  background: var(--tbv2-card-translucent);
  border-radius: 13px;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-channel-title {
  display: block;
  margin-bottom: 9px;
  overflow-wrap: anywhere;
  color: var(--tbv2-ink);
  font-size: 15px;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-causal-chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-causal-chain li {
  display: inline-flex;
  align-items: center;
  overflow-wrap: anywhere;
  color: var(--tbv2-ink-soft);
  font-size: 14px;
  line-height: 1.42;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-causal-chain li:not(:last-child)::after {
  margin-left: 6px;
  color: var(--tbv2-orange);
  font-weight: 900;
  content: "→";
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-recent {
  border-color: var(--tbv2-blue-line);
  background: var(--tbv2-recent-bg);
  box-shadow: 0 16px 50px rgba(44, 97, 183, .1);
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-recent .tbv2-section-index {
  color: var(--tbv2-blue);
  background: var(--tbv2-card-bg);
  border-color: var(--tbv2-blue-line);
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-recent .tbv2-section-kicker {
  color: var(--tbv2-blue);
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-window-label {
  flex: 0 1 auto;
  max-width: 48%;
  min-height: 0;
  justify-content: center;
  overflow-wrap: anywhere;
  color: var(--tbv2-blue);
  background: var(--tbv2-card-bg);
  border-color: var(--tbv2-blue-line);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-sentence-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-sentence-item {
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid var(--tbv2-line);
  background: var(--tbv2-card-translucent);
  border-radius: 14px;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-sentence-index {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  color: #ffffff;
  background: var(--tbv2-ink);
  border-radius: 9px;
  font-size: 12px;
  font-weight: 900;
}

html[data-theme="dark"] #gemmaEventChainSection .event-trader-brief-v2 .tbv2-sentence-index {
  color: #111a2a;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-recent .tbv2-sentence-index {
  color: #ffffff;
  background: var(--tbv2-blue);
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-sentence-body {
  min-width: 0;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-item-title {
  margin: 0 0 9px;
  overflow-wrap: anywhere;
  color: var(--tbv2-ink);
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.3;
  letter-spacing: -.012em;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-sentence-body .tbv2-copy {
  margin-top: 8px;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-sentence-body .tbv2-copy p,
#gemmaEventChainSection .event-trader-brief-v2 .tbv2-sentence-body > .tbv2-legacy-copy {
  margin: 1px 0 0;
  overflow-wrap: anywhere;
  color: var(--tbv2-ink);
  font-size: 18px;
  line-height: 1.55;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-last24 .tbv2-sentence-list {
  gap: 3px;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-last24 .tbv2-sentence-item {
  padding: 12px 2px;
  border-width: 0 0 1px;
  background: transparent;
  border-radius: 0;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-last24 .tbv2-sentence-item:last-child {
  border-bottom: 0;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-last24 .tbv2-sentence-index {
  color: var(--tbv2-orange);
  background: var(--tbv2-orange-soft);
}

html[data-theme="dark"] #gemmaEventChainSection .event-trader-brief-v2 .tbv2-last24 .tbv2-sentence-index {
  color: var(--tbv2-orange);
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-risk-card {
  border-color: var(--tbv2-red-line);
  background: var(--tbv2-risk-bg);
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-risk-card::before {
  background: var(--tbv2-red);
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-risk-number {
  color: var(--tbv2-red);
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-risk-card h3 {
  margin-top: 6px;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-risk-windows {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-window-column {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--tbv2-line);
  background: var(--tbv2-surface-soft);
  border-radius: 17px;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-window-column--immediate {
  border-color: var(--tbv2-orange-line);
  background: var(--tbv2-window-immediate-bg);
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-window-column--near {
  border-color: var(--tbv2-blue-line);
  background: var(--tbv2-window-near-bg);
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-window-column--holding {
  background: var(--tbv2-window-holding-bg);
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-window-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  padding: 0 2px;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-window-head b {
  color: var(--tbv2-ink);
  font-size: 16px;
  letter-spacing: -.01em;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-window-head span {
  color: var(--tbv2-muted);
  font-size: 11px;
  font-weight: 800;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-window-groups {
  display: grid;
  gap: 13px;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-window-time-group {
  min-width: 0;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-window-group-time {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 2px 7px;
  color: var(--tbv2-ink-soft);
  font-size: 13px;
  font-weight: 900;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-window-group-time time {
  overflow-wrap: anywhere;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-window-group-times,
#gemmaEventChainSection .event-trader-brief-v2 .tbv2-window-inline-times {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-window-group-times i,
#gemmaEventChainSection .event-trader-brief-v2 .tbv2-window-inline-times i {
  color: var(--tbv2-orange);
  font-style: normal;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-window-group-time small {
  flex: 0 0 auto;
  padding: 3px 7px;
  color: var(--tbv2-muted);
  background: var(--tbv2-card-translucent);
  border-radius: 999px;
  font-size: 10px;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-window-stack {
  display: grid;
  gap: 9px;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-window-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--tbv2-line);
  background: var(--tbv2-card-bg);
  border-radius: 13px;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-window-card h3 {
  margin: 7px 0;
  font-size: 17px;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-window-card > p {
  font-size: 15px;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-window-card .tbv2-copy p {
  font-size: 15px;
  line-height: 1.52;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-window-source-facts {
  display: grid;
  gap: 4px;
  margin: 11px 0 0;
  padding: 9px 10px 9px 28px;
  color: var(--tbv2-ink-soft);
  background: var(--tbv2-surface-soft);
  border: 1px solid var(--tbv2-line);
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.45;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-window-time {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--tbv2-muted);
  font-size: 12px;
  font-weight: 800;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-window-time time {
  overflow-wrap: anywhere;
  color: var(--tbv2-ink-soft);
  text-align: right;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-evidence {
  margin-top: 12px;
  border-top: 1px dashed var(--tbv2-line-strong);
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-evidence summary {
  display: flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 10px 1px 0;
  color: var(--tbv2-muted);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-evidence summary::-webkit-details-marker {
  display: none;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-evidence summary::before {
  color: var(--tbv2-blue);
  font-size: 15px;
  line-height: 1;
  content: "+";
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-evidence[open] summary::before {
  content: "−";
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-evidence summary:focus-visible {
  outline: 3px solid var(--tbv2-blue-line);
  outline-offset: 3px;
  border-radius: 5px;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-ref-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 9px 0 0;
  padding: 0;
  list-style: none;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-ref-list li {
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 5px 7px;
  color: var(--tbv2-muted);
  background: var(--tbv2-ref-bg);
  border: 1px solid var(--tbv2-line);
  border-radius: 7px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-empty {
  padding: 18px;
  border: 1px dashed var(--tbv2-line-strong);
  color: var(--tbv2-muted);
  background: var(--tbv2-empty-bg);
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.5;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-empty--compact {
  padding: 14px;
  font-size: 13px;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-unresolved {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  border: 1px dashed var(--tbv2-orange-line);
  background: var(--tbv2-orange-soft);
  border-radius: 15px;
}

#gemmaEventChainSection .event-trader-brief-v2 .tbv2-unresolved > b {
  color: var(--tbv2-orange);
  font-size: 13px;
}

@media (max-width: 980px) {
  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-risk-windows {
    grid-template-columns: 1fr;
  }

  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-window-column {
    padding: 13px;
  }

  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-window-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-brief-stack {
    gap: 14px;
  }

  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-section {
    padding: 18px 15px;
    border-radius: 20px;
  }

  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-section-head {
    display: grid;
    gap: 10px;
  }

  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-section-head-main {
    gap: 10px;
  }

  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-section-head h2 {
    font-size: 25px;
  }

  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-section-count,
  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-window-label {
    width: fit-content;
    max-width: 100%;
  }

  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-section-meta {
    justify-content: flex-start;
  }

  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-theme-grid,
  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-risk-grid,
  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-window-stack {
    grid-template-columns: 1fr;
  }

  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-theme-card,
  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-risk-card {
    padding: 18px 16px;
  }

  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-theme-card h3,
  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-risk-card h3 {
    font-size: 21px;
  }

  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-theme-card > p,
  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-risk-card > p {
    font-size: 16px;
  }

  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-sentence-item {
    grid-template-columns: 27px minmax(0, 1fr);
    gap: 9px;
    padding: 12px 10px;
  }

  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-sentence-index {
    width: 26px;
    height: 26px;
  }

  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-sentence-body > p {
    font-size: 17px;
  }

  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-item-title {
    font-size: 19px;
  }

  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-copy p,
  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-sentence-body .tbv2-copy p,
  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-sentence-body > .tbv2-legacy-copy {
    font-size: 17px;
  }

  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-last24 .tbv2-sentence-item {
    padding-inline: 0;
  }
}

@media (max-width: 600px) {
  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-section {
    padding: 16px 12px;
  }

  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-section-head h2 {
    font-size: 23px;
  }

  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-section-head p:not(.tbv2-section-kicker) {
    font-size: 14px;
  }

  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-theme-card,
  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-risk-card {
    padding: 17px 14px;
  }

  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-causal-chain {
    display: grid;
    gap: 3px;
  }

  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-causal-chain li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 18px;
    gap: 4px;
  }

  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-causal-chain li:not(:last-child)::after {
    margin: 0;
    text-align: center;
    transform: rotate(90deg);
  }

  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-window-column {
    padding: 11px;
  }

  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-window-card {
    padding: 12px;
  }
}

@media (max-width: 360px) {
  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-section {
    padding: 14px 10px;
    border-radius: 17px;
  }

  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-section-head-main {
    gap: 8px;
  }

  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-section-index {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    font-size: 12px;
  }

  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-section-head h2 {
    font-size: 22px;
  }

  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-sentence-item {
    grid-template-columns: 25px minmax(0, 1fr);
    gap: 7px;
    padding: 11px 8px;
  }

  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-sentence-index {
    width: 24px;
    height: 24px;
  }

  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-window-head,
  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-window-time {
    align-items: flex-start;
    flex-direction: column;
  }

  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-window-time time {
    text-align: left;
  }

  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-evidence summary {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  #gemmaEventChainSection .event-trader-brief-v2,
  #gemmaEventChainSection .event-trader-brief-v2 *,
  #gemmaEventChainSection .event-trader-brief-v2 *::before,
  #gemmaEventChainSection .event-trader-brief-v2 *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (forced-colors: active) {
  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-section,
  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-theme-card,
  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-risk-card,
  #gemmaEventChainSection .event-trader-brief-v2 .tbv2-window-card {
    border-color: CanvasText;
  }
}
