/* ── Projects timeline ── */
.proj-chart {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 20px 22px 12px;
}
.gc-legend { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 10px; font-size: 0.8rem; color: var(--text-secondary); }
.gc-legend span { display: inline-flex; align-items: center; gap: 8px; }
.gc-legend i { display: inline-block; border-radius: 10px; }
.gc-k-lead { width: 26px; height: 12px; background: linear-gradient(90deg, #4f46e5, #7c3aed); }
.gc-k-part { width: 26px; height: 7px; background: #67c3d6; }
.gc-k-now { width: 2px; height: 14px; border-radius: 0 !important; background: #D3208B; }
.gc-plot { position: relative; }
.gc-plot svg { display: block; width: 100%; height: auto; overflow: visible; }
.gc-grid { stroke: var(--border); stroke-width: 1; }
.gc-grid.major { stroke: rgba(15,23,42,0.12); }
.gc-axis { fill: var(--text-muted); font: 500 11px 'Inter', sans-serif; }
.gc-now { stroke: #D3208B; stroke-width: 1.5; stroke-dasharray: 4 3; }
.gc-hit { fill: transparent; }
.gc-row { cursor: pointer; outline: none; transition: opacity 0.15s ease; }
.gc-row.dim { opacity: 0.3; }
.gc-row:hover .gc-hit, .gc-row:focus-visible .gc-hit { fill: rgba(79,70,229,0.05); }
.gc-lab { fill: var(--text-secondary); font: 500 11.5px 'Inter', sans-serif; }
.gc-row.lead .gc-lab { fill: var(--text-primary); font-weight: 700; }
.gc-bar { fill: #67c3d6; }
.gc-row.lead .gc-bar { fill: #4f46e5; }
.gc-ip { fill: #fff; font: 700 9px 'Inter', sans-serif; pointer-events: none; letter-spacing: 0.04em; }
.gc-tip {
  position: absolute; z-index: 4; pointer-events: none; width: 320px; max-width: calc(100% - 8px);
  background: #0f172a; color: #e2e8f0; border-radius: 12px; padding: 12px 14px;
  font-size: 0.78rem; line-height: 1.45; box-shadow: 0 10px 30px rgba(15,23,42,0.3);
}
.gc-tip[hidden] { display: none; }
.gc-tip b { display: block; color: #fff; font-size: 0.92rem; }
.gc-tip-ip { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 100px; background: #4f46e5; color: #fff; font-size: 0.66rem; font-weight: 700; vertical-align: 2px; }
.gc-tip p { margin-top: 4px; }
.gc-tip-years { color: #a5b4fc; font-weight: 600; margin-top: 2px !important; }
.gc-tip-title { color: #fff; }
.gc-tip small { display: block; color: #94a3b8; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.05em; }
.gc-tip em { display: block; margin-top: 8px; color: #94a3b8; font-size: 0.72rem; }
.gc-hint { color: var(--text-muted); font-size: 0.76rem; font-style: italic; margin-top: 8px; text-align: right; }
.gc-flash { animation: gc-flash 1.6s ease-out; }
@keyframes gc-flash { 0% { box-shadow: 0 0 0 4px rgba(79,70,229,0.35); } 100% { box-shadow: 0 0 0 0 rgba(79,70,229,0); } }
@media (max-width: 640px) {
  .proj-chart { padding: 14px 10px 10px; }
  .gc-lab { font-size: 10px; }
  .gc-hint { text-align: left; }
}
