/* ── TAB NAVIGATION ── */
body { padding-top: 44px; }
#tab-thesis nav { top: 44px !important; }

#tab-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1100;
  background: rgba(10,10,26,0.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,168,255,0.15); height: 44px;
  display: flex; align-items: center;
}
.tab-nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; width: 100%;
}
.tab-brand {
  font-weight: 800; font-size: 0.8rem; letter-spacing: 0.08em;
  background: linear-gradient(90deg, #00a8ff, #00ffd5);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  text-transform: uppercase; margin-right: 1.5rem; white-space: nowrap;
}
.tab-btns { display: flex; flex: 1; }
.tab-btn {
  background: none; border: none; border-bottom: 2px solid transparent;
  color: #8892a4; font-size: 0.74rem; font-weight: 500;
  padding: 0 0.9rem; height: 44px; cursor: pointer;
  letter-spacing: 0.04em; font-family: 'Inter', -apple-system, sans-serif;
  transition: color 0.2s, border-color 0.2s; white-space: nowrap;
}
.tab-btn:hover { color: #00a8ff; }
.tab-btn.active { color: #00a8ff; border-bottom-color: #00a8ff; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── RESEARCH CONTENT LAYOUT ── */
.tab-header {
  max-width: 1200px; margin: 0 auto; padding: 2rem 2rem 1.5rem;
  border-bottom: 1px solid rgba(0,168,255,0.1);
}
.tab-header h1 { font-size: 1.7rem; font-weight: 800; margin-bottom: 0.25rem; color: #e8eaf2; }
.tab-updated { font-size: 0.72rem; color: #8892a4; margin-top: 0.25rem; }
.tab-content { max-width: 1200px; margin: 0 auto; padding: 2rem; }

/* ── APPROACH CARDS ── */
.approach-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(0,168,255,0.15);
  border-radius: 12px; padding: 1.5rem; margin-bottom: 1.5rem;
}
.approach-num { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: #00a8ff; margin-bottom: 0.3rem; }
.approach-card h3 { font-size: 1.1rem; font-weight: 700; color: #e8eaf2; margin: 0 0 0.75rem; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0.75rem 0; }
@media (max-width: 640px) { .pros-cons { grid-template-columns: 1fr; } }
.pros, .cons { padding: 0.6rem 0.75rem; border-radius: 0 6px 6px 0; }
.pros { border-left: 3px solid #00ffd5; background: rgba(0,255,213,0.04); }
.cons { border-left: 3px solid #ff3344; background: rgba(255,51,68,0.04); }
.side-label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.35rem; }
.pros .side-label { color: #00ffd5; }
.cons .side-label { color: #ff3344; }
.pros ul, .cons ul { list-style: none; padding: 0; margin: 0; }
.pros li, .cons li { font-size: 0.82rem; color: #8892a4; line-height: 1.5; padding: 0.1rem 0; }
.pros li::before { content: "✓ "; color: #00ffd5; }
.cons li::before { content: "✗ "; color: #ff3344; }
.analysis-box {
  background: rgba(0,168,255,0.04); border-left: 3px solid #00a8ff;
  padding: 0.75rem 1rem; font-size: 0.83rem; color: #8892a4; line-height: 1.6; margin-top: 0.75rem;
  border-radius: 0 6px 6px 0;
}
.analysis-box strong { color: #e8eaf2; }

/* ── TABLES ── */
.research-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.8rem; overflow-x: auto; display: block; }
.research-table th {
  text-align: left; padding: 0.45rem 0.75rem;
  background: rgba(0,168,255,0.06); color: #8892a4;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  border-bottom: 1px solid rgba(0,168,255,0.15); white-space: nowrap;
}
.research-table td { padding: 0.45rem 0.75rem; border-bottom: 1px solid rgba(255,255,255,0.04); color: #e8eaf2; }
.research-table tr:hover td { background: rgba(255,255,255,0.02); }
.research-table .hl td { color: #00ffd5; font-weight: 600; background: rgba(0,255,213,0.04); }

/* ── STAT GRID ── */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.stat-box { background: rgba(255,255,255,0.03); border: 1px solid rgba(0,168,255,0.15); border-radius: 10px; padding: 1rem; text-align: center; }
.stat-val { font-size: 1.4rem; font-weight: 800; color: #00a8ff; line-height: 1.1; }
.stat-val.cyan { color: #00ffd5; } .stat-val.red { color: #ff3344; } .stat-val.gold { color: #ffcc00; }
.stat-lbl { font-size: 0.7rem; color: #8892a4; margin-top: 0.25rem; }

/* ── MISC ── */
.section-h2 { font-size: 1.4rem; font-weight: 800; margin: 2.5rem 0 0.5rem; color: #e8eaf2; }
.highlight-box { background: rgba(0,255,213,0.04); border: 1px solid rgba(0,255,213,0.2); border-radius: 10px; padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.highlight-box p { font-size: 0.88rem; color: #e8eaf2; line-height: 1.6; margin: 0; }
.insight-label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: #00ffd5; margin-bottom: 0.5rem; }
.tab-loading { text-align: center; padding: 4rem; color: #8892a4; font-size: 0.9rem; }
@media (max-width: 768px) { .tab-brand { display: none; } .tab-btn { padding: 0 0.6rem; font-size: 0.7rem; } }
