/* Top3_info_Page v1.3 — light theme */
:root { --t3-chart-h: 480px; }

.t3-wrap { background: #DEE6FC; color: #0b0f19; padding: 22px; border-radius: 20px; border: 1px solid rgba(0,0,0,0.06); }
.t3-card { background: rgba(255,255,255,0.5); border: 1px solid rgba(0,0,0,0.1); border-radius: 18px; padding: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); margin-top: 14px; }
.t3-head { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; }
.t3-title { margin: 0; font-size: clamp(22px, 3vw, 30px); color: #0b0f19; }
.t3-sub { color: #0b0f19; font-size: 13px; }
.t3-actions { display: flex; gap: 10px; align-items: center; }
.t3-btn, .t3-pill { border: 1px solid rgba(0,0,0,0.15); background: rgba(0,0,0,0.04); color: #0b0f19; padding: 8px 12px; border-radius: 999px; font-weight: 700; font-size: 13px; }
.t3-btn:hover { background: rgba(0,0,0,0.07); cursor: pointer; }
.t3-kpis { display: grid; gap: 12px; }
@media (min-width: 680px) { .t3-kpis { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .t3-kpis { grid-template-columns: repeat(4, 1fr); } }
.t3-kpi { padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(0,0,0,0.07); background: rgba(255,255,255,0.35); }
.t3-kpi-l { font-size: 12px; color: #0b0f19; }
.t3-kpi-v { margin-top: 4px; font-variant-numeric: tabular-nums; font-weight: 700; font-size: 22px; color: #0b0f19; }
.t3-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.t3-grid2 { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 900px) { .t3-grid2 { grid-template-columns: 1fr 1fr; } }
.t3-sec { margin: 6px 0 10px; font-size: 18px; letter-spacing: .2px; color: #0b0f19; }
.t3-chartwrap { position: relative; width: 100%; height: var(--t3-chart-h); background: rgba(255,255,255,0.35); border: 1px solid rgba(0,0,0,0.07); border-radius: 12px; }
.t3-chart { display: block !important; width: 100% !important; height: 100% !important; }
.t3-list { margin: 8px 0 0 18px; color: #0b0f19; }
.t3-field { display: grid; gap: 6px; }
.t3-field input { width: 100%; border-radius: 12px; padding: 10px 12px; background: rgba(255,255,255,0.7); border: 1px solid rgba(0,0,0,0.12); color: #0b0f19; font-weight: 700; font-variant-numeric: tabular-nums; }
.t3-foot { margin-top: 8px; font-size: 12px; color: #0b0f19; }
.t3-max { display:block; font-size: 12px; margin-top: 2px; color: #ffa500; font-weight: 800; }
@media (max-width: 640px) { :root { --t3-chart-h: 360px; } }
/* Non-bold, slightly smaller values in metricsA/B by request */
.t3-metricsA .t3-kpi-v, .t3-metricsB .t3-kpi-v, .t3-halv-note { font-weight: 400; font-size: 19px; }

/* Mobile fix: prevent vertical stacking of header text */
.t3-head { grid-template-columns: minmax(0, 1fr) auto; }
.t3-title, .t3-sub { white-space: normal; word-break: break-word; overflow-wrap: anywhere; line-height: 1.25; }

@media (max-width: 560px) {
  .t3-head { grid-template-columns: 1fr; }
  .t3-actions { justify-content: flex-start; margin-top: 8px; }
}
