#p-tmc{padding:12px!important}#p-tmc .tmc4{--a:#00e99a;--b:#0b1c24;--c:#092b2a;color:#e5fff5;font:13px Inter,Arial,sans-serif;background:radial-gradient(ellipse at 50% 35%,#063d32 0,#061b20 35%,#031014 80%);border:1px solid #117a63;border-radius:14px;padding:14px;min-height:620px;box-sizing:border-box}#p-tmc .tmc4 *{box-sizing:border-box}#p-tmc .tmc4-head{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #185e51;padding:8px 12px 14px}#p-tmc .tmc4-eyebrow{color:#12e9a4;font-weight:800;letter-spacing:2px;font-size:10px}#p-tmc .tmc4-head h2{margin:8px 0 4px;font-size:clamp(18px,2.3vw,31px);letter-spacing:3px;color:#effff9}#p-tmc .tmc4-head h2 small{font-size:12px;color:#16f5a7;border:1px solid #16a778;padding:3px 7px;border-radius:6px;vertical-align:middle}#p-tmc .tmc4-head p{margin:0;color:#99b9b1;letter-spacing:3px;font-size:10px}#p-tmc .tmc4-actions{display:flex;align-items:center;gap:8px}#p-tmc .tmc4-actions button,#p-tmc .tmc4-tabs button{cursor:pointer;color:#e8fff5;background:#0c242a;border:1px solid #24675c;border-radius:7px;padding:9px 11px}#p-tmc .tmc4-pill{border:1px solid #a47d21;border-radius:6px;padding:9px;color:#ffce61;font-weight:800;font-size:11px}#p-tmc .tmc4-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin:12px 0}#p-tmc .tmc4-kpis>div{min-width:0;background:linear-gradient(130deg,#0b2b2b,#06171d);border:1px solid #167b61;border-radius:9px;padding:13px 12px}#p-tmc .tmc4-kpis span{display:block;color:#9ac7b8;font-size:9px;letter-spacing:.5px;min-height:26px}#p-tmc .tmc4-kpis strong{font-size:clamp(19px,2vw,28px);color:#f5fff9;overflow-wrap:anywhere}#p-tmc .tmc4-workspace{display:grid;grid-template-columns:minmax(205px,25%) minmax(0,1fr) minmax(255px,29%);gap:10px;align-items:stretch}#p-tmc .tmc4-side,#p-tmc .tmc4-right{display:flex;flex-direction:column;gap:10px;min-width:0}#p-tmc .tmc4-panel,#p-tmc .tmc4-brain-panel{background:linear-gradient(145deg,#082129ed,#041319f2);border:1px solid #16866b;border-radius:10px;box-shadow:inset 0 0 22px #00d8890a;min-width:0}#p-tmc .tmc4-panel{padding:13px}#p-tmc .tmc4-panel h3{display:flex;align-items:center;gap:8px;margin:0 0 12px;color:#d6fff1;font-size:12px;letter-spacing:1px}#p-tmc .tmc4-panel h3 i{width:8px;height:8px;border-radius:50%;background:#00ed92;box-shadow:0 0 9px #00e88b}#p-tmc .tmc4-panel h3 small{margin-left:auto;font-size:9px;color:#7aa9a3}#p-tmc .tmc4-panel dl{margin:0}#p-tmc .tmc4-panel dl dt,#p-tmc .tmc4-panel dl dd{padding:9px 0;border-bottom:1px solid #163f40;margin:0;font-size:11px}#p-tmc .tmc4-panel dl dt{float:left;max-width:56%;color:#9db8b5}#p-tmc .tmc4-panel dl dd{text-align:right;min-height:32px;color:#ecfff5;font-weight:650;overflow-wrap:anywhere}#p-tmc .tmc4-brain-panel{display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;min-height:530px;padding:12px 4px;background:radial-gradient(circle at 50% 46%,#064537 0,#051e25 45%,#04131a 76%)}#p-tmc .tmc4-brain-top{width:100%;display:flex;justify-content:space-between;gap:8px;padding:0 12px;font-size:10px;letter-spacing:1px;color:#d4fff0}#p-tmc .tmc4-brain-top small{color:#7ab4aa;font-size:9px}#p-tmc #tmc4Brain{display:block;width:100%;height:auto;max-height:660px;overflow:visible}#p-tmc .tmc4-brain-foot{color:#78b8a7;font-size:10px;letter-spacing:1px;text-align:center;padding:0 8px 10px}#p-tmc .tmc4-node{cursor:pointer;outline:none}#p-tmc .tmc4-node circle{fill:#06372f;stroke:#17eaa3;stroke-width:2;filter:drop-shadow(0 0 5px #00f99b60)}#p-tmc .tmc4-node text{font:10px Inter,Arial,sans-serif;fill:#d9fff4}#p-tmc .tmc4-node[aria-pressed="true"] circle{fill:#9e7524;stroke:#ffd267;stroke-width:3}#p-tmc .tmc4-node:focus circle{stroke:#fff}#p-tmc .tmc4-line{stroke:#0bc989;stroke-opacity:.35;stroke-width:1.5}#p-tmc .tmc4-inspector{flex:1;min-height:270px}#p-tmc .tmc4-inspector h2{font-size:23px;margin:10px 0 12px;color:#fff}#p-tmc .tmc4-tabs{display:flex;flex-wrap:wrap;gap:3px;margin-bottom:12px}#p-tmc .tmc4-tabs button{padding:7px 9px;font-size:10px;text-transform:uppercase}#p-tmc .tmc4-tabs button.active{background:#066c51;border-color:#19e4a0}#p-tmc .tmc4-inspector-body{color:#c1ddd4;line-height:1.6;font-size:12px;overflow-wrap:anywhere}#p-tmc .tmc4-inspector-body .tmc4-stat{display:flex;justify-content:space-between;border-bottom:1px solid #16453d;padding:9px 0;gap:10px}#p-tmc .tmc4-inspector-body b{color:#fff}#p-tmc .tmc4-stream{min-height:225px;max-height:370px;overflow:auto}#p-tmc .tmc4-stream-item{width:100%;background:transparent;border:0;border-left:2px solid #09e99b;border-bottom:1px solid #1b4944;color:#e1fff4;text-align:left;padding:10px;cursor:pointer;display:flex;justify-content:space-between;gap:10px}#p-tmc .tmc4-stream-item small{display:block;color:#8aafa8;margin-top:4px}#p-tmc .tmc4-foot{display:flex;justify-content:space-between;gap:12px;margin-top:12px;border-top:1px solid #19594d;padding:12px 5px 2px;font-size:10px;color:#94bdb2}#p-tmc .tmc4-legacy{display:none!important}html[data-theme="light"] #p-tmc .tmc4{background:#f2f7f7;color:#092c29}html[data-theme="light"] #p-tmc .tmc4-head h2,html[data-theme="light"] #p-tmc .tmc4-kpis strong{color:#eafff6}html[data-theme="light"] #p-tmc .tmc4{background:linear-gradient(#eaf4f2,#dbece8)}html[data-theme="light"] #p-tmc .tmc4-panel,html[data-theme="light"] #p-tmc .tmc4-brain-panel{background:#09262a}html[data-theme="light"] #p-tmc .tmc4-head h2{color:#113e35}html[data-theme="light"] #p-tmc .tmc4-head p{color:#496e65}@media(max-width:1180px){#p-tmc .tmc4-workspace{grid-template-columns:minmax(0,1fr) minmax(0,1.35fr)}#p-tmc .tmc4-right{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}#p-tmc .tmc4-kpis{grid-template-columns:repeat(3,1fr)}}@media(max-width:720px){#p-tmc{padding:5px!important}#p-tmc .tmc4{padding:8px}#p-tmc .tmc4-head{flex-direction:column;align-items:flex-start}#p-tmc .tmc4-workspace{grid-template-columns:1fr}#p-tmc .tmc4-side{display:grid;grid-template-columns:1fr}#p-tmc .tmc4-right{grid-column:auto;display:flex}#p-tmc .tmc4-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}#p-tmc .tmc4-brain-panel{min-height:0}#p-tmc .tmc4-foot{flex-direction:column}#p-tmc .tmc4-brain-top{font-size:9px}#p-tmc .tmc4-brain-top small{display:none}}

/* TRADECPO_TMC_INSPECTOR_OVERFLOW_FIX_V1_BEGIN
   Scoped presentation-only repair. No evidence text is altered. */
#p-tmc .tmc4-inspector,
#p-tmc .tmc4-inspector-body,
#p-tmc .tmc4-inspector-body .tmc4-stat {
  min-width: 0;
  max-width: 100%;
}
#p-tmc .tmc4-inspector-body .tmc4-stat {
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
  align-items: start;
  column-gap: 10px;
}
#p-tmc .tmc4-inspector-body .tmc4-stat > span,
#p-tmc .tmc4-inspector-body .tmc4-stat > b {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}
#p-tmc .tmc4-inspector-body .tmc4-stat > b {
  text-align: right;
  line-height: 1.5;
}
@media (max-width: 420px) {
  #p-tmc .tmc4-inspector-body .tmc4-stat {
    grid-template-columns: minmax(0, 38%) minmax(0, 1fr);
  }
}
/* TRADECPO_TMC_INSPECTOR_OVERFLOW_FIX_V1_END */

/* TradeCPO TMC — hide redundant header controls */
.tmc4-header .tmc4-live-badge,
.tmc4-header .tmc4-refresh-btn {
    display: none !important;
}

/* TradeCPO TMC — verified header controls removal */
#p-tmc #tmc4Health,
#p-tmc #tmc4Refresh {
    display: none !important;
}
