/* Guided Lessons (Track 1). Colors are plain so every skin still reads well. */
.tk-card { width: min(720px, 100%); }
#trackBody { display: grid; gap: 14px; font-family: inherit; color: #0f172a; }
.tk-track-title { margin: 6px 0 2px; font-size: 1.25rem; font-weight: 900; }
.tk-track-card { border: 2px solid #bae6fd; background: #f0f9ff; border-radius: 20px; padding: 14px 16px; display: grid; gap: 6px; }
.tk-track-card h3 { margin: 0; font-weight: 900; font-size: 1.1rem; }
.tk-later { border-color: #e2e8f0; background: #f8fafc; opacity: .75; }
.tk-step { border: 2px solid #e2e8f0; border-radius: 20px; padding: 14px 16px; display: grid; gap: 8px; background: #fff; }
.tk-step.tk-your-turn { border-color: #818cf8; box-shadow: 0 8px 18px -12px rgba(79,70,229,.6); }
.tk-step.tk-done { border-color: #86efac; background: #f0fdf4; }
.tk-step.tk-locked { opacity: .6; }
.tk-step-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tk-step-num { font-size: .75rem; font-weight: 900; text-transform: uppercase; color: #64748b; }
.tk-step-title { font-weight: 900; font-size: 1.05rem; flex: 1; }
.tk-badge { font-size: .75rem; font-weight: 900; padding: 3px 10px; border-radius: 999px; background: #e2e8f0; color: #334155; }
.tk-done .tk-badge { background: #22c55e; color: #fff; }
.tk-your-turn .tk-badge { background: #6366f1; color: #fff; }
.tk-goal, .tk-done-line { margin: 0; font-weight: 600; color: #334155; }
.tk-note-soft { margin: 0; font-size: .85rem; color: #64748b; font-weight: 600; }
.tk-note { min-height: 1.2em; margin: 0; font-weight: 800; color: #b45309; }
.tk-label { display: block; font-weight: 800; font-size: .92rem; margin-top: 4px; }
.tk-stack { display: grid; gap: 8px; }
.tk-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tk-input { width: 100%; box-sizing: border-box; border: 2px solid #cbd5e1; border-radius: 14px; padding: 10px 12px; font: inherit; font-weight: 600; color: #0f172a; background: #fff; }
.tk-input:focus { outline: none; border-color: #6366f1; box-shadow: 0 0 0 4px #e0e7ff; }
.tk-btn { border: 0; cursor: pointer; font: inherit; font-weight: 900; border-radius: 999px; padding: 10px 18px; background: #e2e8f0; color: #0f172a; justify-self: start; }
.tk-btn:disabled { opacity: .5; cursor: wait; }
.tk-go { background: linear-gradient(135deg, #6366f1, #0ea5e9); color: #fff; }
.tk-soft { background: #f1f5f9; color: #334155; border: 2px solid #cbd5e1; }
.tk-small { padding: 6px 12px; font-size: .85rem; }
.tk-hints { display: grid; gap: 6px; }
.tk-hint-list { margin: 0; padding-left: 20px; font-weight: 600; color: #334155; }
.tk-fig { margin: 0; display: grid; gap: 4px; width: 180px; }
.tk-pic { width: 100%; border-radius: 14px; border: 2px solid #fff; box-shadow: 0 6px 14px -8px rgba(0,0,0,.5); object-fit: contain; background: #f8fafc; }
.tk-pic-missing { min-height: 80px; display: flex; align-items: center; justify-content: center; padding: 8px; font-weight: 700; color: #475569; text-align: center; }
.tk-fig figcaption { font-size: .8rem; font-weight: 700; color: #475569; }
.tk-order { display: grid; gap: 6px; }
.tk-arrows { display: flex; gap: 6px; }
.tk-page { border: 2px dashed #c7d2fe; border-radius: 16px; padding: 10px; display: grid; gap: 8px; }
.tk-parent { border-top: 2px solid #e2e8f0; padding-top: 12px; display: grid; gap: 6px; }
.tk-parent h4 { margin: 0; font-weight: 900; }
.tk-parent ul { margin: 0; padding-left: 20px; font-weight: 600; }
.tk-hints .tk-btn { justify-self: start; }
@media (max-width: 480px) { .tk-fig { width: 140px; } }
