/* 분석실 · 분석 보드 */
.analysis-lab-page { max-width: 1100px; margin: 0 auto; padding: 16px 0 40px; }
.analysis-lab-hero { margin-bottom: 1.25rem; }
.analysis-lab-hero h1 { margin: 0.25rem 0; font-size: 1.75rem; color: var(--tb-text, #0f172a); }
.analysis-lab-eyebrow { font-size: 0.85rem; color: var(--tb-muted, #64748b); margin: 0; }
.analysis-lab-meta { color: var(--tb-muted, #64748b); font-size: 0.9rem; }
.analysis-lab-desc { margin-top: 0.75rem; line-height: 1.6; }
.analysis-lab-disclaimer {
  padding: 0.75rem 1rem; margin-bottom: 1rem; border-radius: 8px;
  background: #fff3cd; color: #856404; font-size: 0.9rem;
}
.analysis-lab-toolbar {
  display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: flex-end;
  padding: 1rem; background: var(--tb-surface, #f8fafc); border-radius: 12px; margin-bottom: 1rem;
}
.analysis-lab-toolbar label { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.8rem; color: var(--tb-muted); }
.analysis-lab-toolbar select, .analysis-lab-toolbar input[type="number"] {
  padding: 0.45rem 0.6rem; border: 1px solid #e2e8f0; border-radius: 6px; min-width: 130px;
}
.analysis-lab-tabs { display: flex; gap: 0.5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.analysis-lab-tab {
  padding: 0.5rem 1rem; border: 1px solid #e2e8f0; background: #fff; border-radius: 999px;
  cursor: pointer; font-size: 0.9rem;
}
.analysis-lab-tab.is-active { background: #667eea; color: #fff; border-color: #667eea; }
.analysis-lab-card {
  background: #fff; border-radius: 12px; padding: 1.25rem; margin-bottom: 1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.analysis-lab-card h2, .analysis-lab-card h3 { margin: 0 0 0.75rem; font-size: 1.1rem; }
.analysis-sr-summary { font-size: 0.95rem; line-height: 1.6; color: #334155; background: #f8fafc; padding: 0.75rem; border-radius: 8px; }
.analysis-lab-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.analysis-lab-chart { position: relative; height: 260px; }
.al-ball {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.9rem; height: 1.9rem; border-radius: 50%; font-size: 0.8rem; font-weight: 700; color: #fff; margin: 0.1rem;
}
.al-ball--yellow { background: #fbbf24; color: #1e293b; }
.al-ball--blue { background: #3b82f6; }
.al-ball--red { background: #ef4444; }
.al-ball--gray { background: #64748b; }
.al-ball--green { background: #22c55e; color: #1e293b; }
.analysis-hotcold-mini { display: grid; gap: 0.75rem; margin-top: 0.75rem; }
.analysis-lab-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.analysis-lab-table th, .analysis-lab-table td { padding: 0.5rem 0.6rem; border-bottom: 1px solid #eee; text-align: left; }
.analysis-lab-table th { background: #f1f5f9; }
.analysis-lab-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.analysis-board-list { list-style: none; padding: 0; margin: 0; }
.analysis-board-list li {
  display: flex; justify-content: space-between; align-items: center; gap: 0.75rem;
  padding: 0.75rem 0; border-bottom: 1px solid #eee;
}
.analysis-board-list a { color: #667eea; font-weight: 600; text-decoration: none; }
.analysis-legacy-toggle { margin: 2rem 0 1rem; }
.delta-pos { color: #dc2626; font-weight: 600; }
.delta-neg { color: #2563eb; font-weight: 600; }
.analysis-owner-note { font-size: 0.85rem; color: var(--tb-muted); align-self: center; }
@media (max-width: 640px) {
  .analysis-lab-toolbar { flex-direction: column; align-items: stretch; }
}
