#tmcV7{margin:14px 0 18px;padding:16px;border:1px solid #168f7b;border-radius:11px;background:linear-gradient(135deg,#062a29,#091923);color:#e9faf5;font-family:inherit}#tmcV7 .v71-head{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}#tmcV7 .v71-eyebrow{font-size:10px;color:#13e8b1;letter-spacing:.15em;font-weight:700}#tmcV7 h3{font-size:22px;color:#fff;margin:6px 0}#tmcV7 h3 small{font-size:12px;color:#09e8ad;border:1px solid #168f7b;padding:3px 7px;border-radius:4px}#tmcV7 p{font-size:11px;color:#98c7bd;letter-spacing:.08em;margin:0}#tmcV7 .v71-controls{display:flex;gap:8px;align-items:center}#tmcV7 #v71Health{color:#08dba3;font-size:11px;font-weight:700}#tmcV7 button{background:#063c38;border:1px solid #187f72;border-radius:5px;color:#d7fff3;padding:8px 11px;cursor:pointer;font:inherit;font-size:11px;font-weight:700}#tmcV7 button:hover,#tmcV7 button.active{background:#007e69;color:white}#tmcV7 .v71-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:16px 0}#tmcV7 .v71-metrics>div{padding:12px;border:1px solid #155d55;border-radius:7px;background:#073633}#tmcV7 label{display:block;font-size:10px;color:#a0c9c1}#tmcV7 strong{display:block;font-size:21px;margin-top:5px;color:white}#tmcV7 .v71-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}#tmcV7 .v71-content{border:1px solid #1c6059;border-radius:8px;min-height:190px;max-height:490px;overflow:auto;background:#061f23}#tmcV7 table{width:100%;border-collapse:collapse;font-size:12px;color:#e2f6f1}#tmcV7 th{text-align:left;color:#8bc7bc;font-size:10px;letter-spacing:.06em;background:#07312f;position:sticky;top:0}#tmcV7 td,#tmcV7 th{padding:11px;border-bottom:1px solid #164e4a;vertical-align:top}#tmcV7 .v71-muted{color:#93b7b2;font-size:11px}#tmcV7 .v71-warn{color:#f5cb79}#tmcV7 .v71-empty{padding:20px;color:#b7d7d0;font-size:13px}#tmcV7 .v71-foot{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;color:#91bcb4;font-size:10px;margin-top:12px}#tmcV7 details summary{cursor:pointer;color:#29dfb5}#tmcV7 pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;max-width:450px}#tmcV7 .v71-tag{color:#3fe6bb}@media(max-width:850px){#tmcV7 .v71-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:540px){#tmcV7 .v71-metrics{grid-template-columns:1fr 1fr}#tmcV7 h3{font-size:17px}#tmcV7 .v71-content{overflow-x:auto}}


/* TRADECPO_TMC_V71_THEME_BRIDGE */

/* Follow the terminal theme rather than OS preference. */
#tmcV7 {
  --v71-bg: #061b20;
  --v71-surface: #07332f;
  --v71-border: rgba(0, 220, 162, .30);
  --v71-text: #e9faf7;
  --v71-muted: #a5c8c4;
  --v71-accent: #00e3ad;

  background: var(--v71-bg) !important;
  color: var(--v71-text) !important;
}

#tmcV7 .v71cell,
#tmcV7 .v71body {
  background: var(--v71-surface);
  border-color: var(--v71-border);
  color: var(--v71-text);
}

#tmcV7 h3,
#tmcV7 strong,
#tmcV7 .v71value {
  color: var(--v71-text);
}

#tmcV7 button {
  background: #06483e;
  color: #e9faf7;
  border: 1px solid #158c79;
  cursor: pointer;
}

#tmcV7 button:hover {
  background: #08715d;
}

#tmcV7 button:focus-visible {
  outline: 2px solid var(--v71-accent);
  outline-offset: 2px;
}

/* Light mode: support common terminal theme selectors. */
html[data-theme="light"] #tmcV7,
body[data-theme="light"] #tmcV7,
html.light #tmcV7,
body.light #tmcV7 {
  --v71-bg: #f4faf8;
  --v71-surface: #ffffff;
  --v71-border: rgba(0, 111, 88, .24);
  --v71-text: #103b35;
  --v71-muted: #54746e;
  --v71-accent: #008e6b;
}

html[data-theme="light"] #tmcV7 button,
body[data-theme="light"] #tmcV7 button,
html.light #tmcV7 button,
body.light #tmcV7 button {
  background: #e5f4ef;
  color: #075d4b;
  border-color: #a5d3c6;
}

html[data-theme="light"] #tmcV7 button:hover,
body[data-theme="light"] #tmcV7 button:hover,
html.light #tmcV7 button:hover,
body.light #tmcV7 button:hover {
  background: #ccece2;
}

/* TMC_V71_THEME_V2_START */

/* Shared component styling */
#tmcV7 .v71-metrics > div,
#tmcV7 .v71-content {
  background: var(--v71-surface) !important;
  border-color: var(--v71-border) !important;
  color: var(--v71-text) !important;
}

#tmcV7 table {
  background: var(--v71-surface) !important;
  color: var(--v71-text) !important;
}

#tmcV7 th {
  background: var(--v71-table-head) !important;
  color: var(--v71-muted) !important;
}

#tmcV7 td {
  background: transparent !important;
  color: var(--v71-text) !important;
}

#tmcV7 td,
#tmcV7 th {
  border-bottom-color: var(--v71-border) !important;
}

#tmcV7 label,
#tmcV7 .v71-muted,
#tmcV7 .v71-foot {
  color: var(--v71-muted) !important;
}

#tmcV7 .v71-empty {
  color: var(--v71-text) !important;
}

#tmcV7 .v71-warn {
  color: var(--v71-warning) !important;
}

#tmcV7 .v71-tag,
#tmcV7 details summary,
#tmcV7 .v71-eyebrow {
  color: var(--v71-accent) !important;
}

#tmcV7 p {
  color: var(--v71-muted) !important;
}

#tmcV7 button.active {
  background: var(--v71-active-bg) !important;
  color: var(--v71-active-text) !important;
  border-color: var(--v71-accent) !important;
}

#tmcV7 button:focus-visible {
  outline: 2px solid var(--v71-accent);
  outline-offset: 2px;
}

/* Dark terminal theme */
html[data-theme="dark"] #tmcV7 {
  --v71-bg: #061b20;
  --v71-surface: #07332f;
  --v71-table-head: #07312f;
  --v71-border: rgba(0, 220, 162, .30);
  --v71-text: #e9faf7;
  --v71-muted: #a5c8c4;
  --v71-accent: #00e3ad;
  --v71-warning: #f5cb79;
  --v71-active-bg: #007e69;
  --v71-active-text: #ffffff;
}

/* Light terminal theme */
html[data-theme="light"] #tmcV7 {
  --v71-bg: #f4faf8;
  --v71-surface: #ffffff;
  --v71-table-head: #e5f3ef;
  --v71-border: rgba(0, 111, 88, .24);
  --v71-text: #103b35;
  --v71-muted: #496d65;
  --v71-accent: #007c60;
  --v71-warning: #946000;
  --v71-active-bg: #007c60;
  --v71-active-text: #ffffff;
}

html[data-theme="light"] #tmcV7 .v71-metrics > div {
  background: #edf7f3 !important;
}

html[data-theme="light"] #tmcV7 tbody tr:nth-child(even) {
  background: #f1f8f5;
}

html[data-theme="light"] #tmcV7 tbody tr:hover {
  background: #e2f2eb;
}

html[data-theme="dark"] #tmcV7 tbody tr:hover {
  background: #0b4841;
}

html[data-theme="light"] #tmcV7 button:not(.active) {
  background: #e5f4ef;
  color: #075d4b;
  border-color: #a5d3c6;
}

html[data-theme="light"] #tmcV7 button:not(.active):hover {
  background: #ccece2;
}

/* Readability and responsive tables */
#tmcV7 .v71-content {
  scrollbar-width: thin;
  scrollbar-color: var(--v71-border) transparent;
}

#tmcV7 td {
  line-height: 1.55;
}

#tmcV7 pre {
  color: var(--v71-text);
}

@media (max-width: 700px) {
  #tmcV7 .v71-content {
    overflow-x: auto;
  }

  #tmcV7 table {
    min-width: 680px;
  }

  #tmcV7 .v71-metrics > div {
    min-width: 0;
  }
}

/* TMC_V71_THEME_V2_END */
