/* timeline.css — navy theme */
.progress-overview { display: flex; flex-direction: column; align-items: center; gap: var(--sp-4); margin-bottom: var(--sp-16); text-align: center; }
.ring-wrap { position: relative; width: 160px; height: 160px; }
.prog-ring { transform: rotate(-90deg); overflow: visible; }
.ring-bg { fill: none; stroke: var(--warm-200); stroke-width: 10; }
.ring-fg {
  fill: none; stroke: url(#rg); stroke-width: 10; stroke-linecap: round;
  stroke-dasharray: 427; stroke-dashoffset: 427;
  transition: stroke-dashoffset 1.8s var(--ease-out);
}
.ring-pct {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 600; color: var(--navy-700);
}
.prog-label { font-weight: 700; font-size: 1.1rem; color: var(--gray-800); }
.prog-updated { font-size: .8rem; color: var(--gray-400); margin-top: var(--sp-1); }

.timeline { position: relative; max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: 0; }
.timeline::before { content: ''; position: absolute; top: 24px; bottom: 24px; left: 50%; width: 2px; margin-left: -1px; background: var(--warm-200); border-radius: var(--r-full); z-index: 0; }

.tl-item { display: grid; grid-template-columns: 1fr 56px 1fr; position: relative; padding-block: var(--sp-4); opacity: 0; transform: translateY(20px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.tl-item.visible { opacity: 1; transform: none; }
.tl-item:nth-child(odd) .tl-card { grid-column: 1; grid-row: 1; padding-right: var(--sp-8); text-align: right; }
.tl-item:nth-child(odd) .tl-dot { grid-column: 2; grid-row: 1; }
.tl-item:nth-child(even) .tl-dot { grid-column: 2; grid-row: 1; }
.tl-item:nth-child(even) .tl-card { grid-column: 3; grid-row: 1; padding-left: var(--sp-8); }

.tl-dot { display: flex; align-items: flex-start; justify-content: center; padding-top: var(--sp-6); z-index: 1; }
.tl-dot i { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--white); border: 2px solid var(--warm-200); border-radius: 50%; color: var(--gray-400); font-size: 1rem; box-shadow: var(--shadow-sm); transition: all var(--dur-base) var(--ease-spring); }
.tl-item.is-done .tl-dot i { background: var(--navy-700); border-color: var(--navy-700); color: var(--white); box-shadow: 0 0 0 5px var(--navy-100); }
.tl-item.is-active .tl-dot i { border-color: var(--navy-500); color: var(--navy-700); box-shadow: 0 0 0 5px var(--navy-100); animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100% { box-shadow: 0 0 0 5px var(--navy-100); } 50% { box-shadow: 0 0 0 10px rgba(46,85,184,.1); } }

.tl-card { background: var(--white); border: 1px solid var(--warm-200); border-radius: var(--r-lg); padding: var(--sp-6); box-shadow: var(--shadow-sm); transition: box-shadow var(--dur-base) var(--ease), transform var(--dur-base) var(--ease); }
.tl-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.tl-card h3 { font-size: 1.1rem; margin-bottom: var(--sp-2); color: var(--gray-900); }
.tl-card p { font-size: .9rem; line-height: 1.7; margin-bottom: 0; }

.tl-chip { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px var(--sp-3); border-radius: var(--r-full); margin-bottom: var(--sp-3); }
.chip-done     { background: var(--green-100); color: var(--green-700); }
.chip-active   { background: var(--sky-100);   color: var(--sky-700); }
.chip-upcoming { background: var(--warm-100);  color: var(--gray-400); }

.tl-bar { height: 6px; background: var(--warm-100); border-radius: var(--r-full); overflow: hidden; margin-top: var(--sp-4); }
.tl-fill { height: 100%; width: 0; background: var(--grad-navy); border-radius: var(--r-full); transition: width 1.5s var(--ease-out); }
.tl-pct-text { display: block; font-size: .78rem; font-weight: 600; color: var(--gray-400); margin-top: var(--sp-2); }
.tl-item:nth-child(odd) .tl-pct-text { text-align: right; }
.tl-item:nth-child(even) .tl-pct-text { text-align: left; }
