.challenge-workspace{min-height:calc(100svh - 4rem)}.challenge-workspace [hidden]{display:none!important}.challenge-workspace-shell{width:100%;max-width:120rem;padding:clamp(1rem,2vw,2rem);padding-bottom:calc(5rem + env(safe-area-inset-bottom));flex-direction:column;gap:clamp(1rem,2vw,1.5rem);margin-inline:auto;display:flex}.challenge-workspace-grid{grid-template-columns:minmax(0,1fr);gap:clamp(1rem,2vw,1.5rem);min-height:0;display:grid}.challenge-instructions,.challenge-solution-panel{flex-direction:column;min-width:0;min-height:0;display:flex}.challenge-panel-header{flex-shrink:0;padding:clamp(1rem,1.5vw,1.5rem)}.challenge-instructions-body,.challenge-solution-body{min-width:0;padding:0 clamp(1rem,1.5vw,1.5rem) clamp(1rem,1.5vw,1.5rem)}.challenge-solution-body{flex-direction:column;gap:1rem;display:flex}.challenge-instructions-body>*,.challenge-solution-body>*{flex-shrink:0}.challenge-editor-surface{min-width:0;height:clamp(16rem,45svh,28rem)}.challenge-editor>:not(.challenge-editor-surface){flex-shrink:0}.challenge-editor-actions{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;display:grid}.lesson-panel-caption{color:hsl(var(--muted-foreground));font-size:.8rem;font-weight:500}.lesson-task-prompt{white-space:pre-wrap;overflow-wrap:anywhere;font-size:1rem;line-height:1.8}.lesson-section-title{letter-spacing:normal;font-size:.875rem;font-weight:650;line-height:1.5}.lesson-inline-code{border:1px solid hsl(var(--border));background:hsl(var(--muted));color:hsl(var(--foreground));overflow-wrap:anywhere;border-radius:.3rem;padding:.1em .35em;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.9em;font-weight:500}.lesson-examples-table{table-layout:fixed}.lesson-examples-table th:first-child{width:68%}.lesson-examples-table td,.lesson-examples-table th{padding:.65rem .75rem}.lesson-example-value{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.8rem;display:block}.lesson-disclosure{letter-spacing:normal;font-size:.875rem;line-height:1.5}.lesson-disclosure[data-state=open]>svg:last-child{transform:rotate(180deg)}.lesson-extra{border-top:1px solid hsl(var(--border));padding-top:.5rem}.lesson-extra-trigger{white-space:normal;justify-content:space-between;gap:.75rem;width:100%;height:auto;min-height:3rem;padding-inline:0}.lesson-extra-content{flex-direction:column;gap:1.25rem;padding-top:1rem;display:flex}.lesson-hint{background:hsl(var(--muted) / .35)}.workspace-steps [aria-current=step]{color:hsl(var(--primary))}.workspace-steps [aria-current=step] .step-dot{background:hsl(var(--primary));color:hsl(var(--primary-foreground))}.skill-introduction{border-top:3px solid hsl(var(--primary));align-self:center;width:100%;max-width:44rem}.skill-introduction-header{gap:.85rem}.skill-introduction-progress{color:hsl(var(--muted-foreground));margin-top:.5rem;font-size:.75rem;font-weight:600}.skill-introduction-title{font-size:clamp(1.3rem,3vw,1.7rem);line-height:1.3}.skill-introduction-explanation{font-size:.95rem;line-height:1.8}.skill-example{border:1px solid hsl(var(--border));background:hsl(var(--muted) / .35);border-radius:.75rem;min-width:0;overflow:hidden}.skill-example-caption{border-bottom:1px solid hsl(var(--border));flex-wrap:wrap;align-items:center;gap:.5rem;padding:.75rem 1rem;font-size:.75rem;font-weight:600;display:flex}.skill-example-caption>svg{width:1rem;height:1rem;color:hsl(var(--primary))}.skill-example-caption>span{color:hsl(var(--muted-foreground));margin-left:auto}.lesson-code-example{color:hsl(var(--foreground));white-space:pre-wrap;overflow-wrap:anywhere;box-shadow:none;background:0 0;border:0;border-radius:0;margin:0;padding:1.25rem;font-size:.9rem;line-height:1.8}.lesson-code-example>code{font-size:inherit;background:0 0;padding:0}.skill-introduction-actions{flex-wrap:wrap;justify-content:space-between;gap:.75rem}.skill-prediction-choices{grid-template-columns:repeat(auto-fit,minmax(7rem,1fr))}.skill-prediction-choices .prediction-choice,.skill-prediction-choices [data-slot=field-label]{min-width:0}.skill-prediction-feedback-title{letter-spacing:normal;margin-bottom:.75rem;font-size:.95rem;line-height:1.5}.skill-prediction-result{flex-wrap:wrap;align-items:baseline;gap:.5rem;display:flex}#challenge-task-title:focus-visible,#challenge-skill-title:focus-visible,#challenge-prediction-title:focus-visible,.skill-prediction-feedback:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:.35rem;border-radius:.25rem}@media (width<=25rem){.challenge-editor-actions{grid-template-columns:minmax(0,1fr)}.challenge-editor-actions>button{min-height:2.75rem}}@media (width>=40rem){.challenge-editor-actions{width:auto}}@media (width>=64rem){.challenge-workspace-shell{padding-bottom:clamp(1rem,2vw,2rem)}.challenge-workspace-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.challenge-editor-surface{height:clamp(22rem,55svh,38rem)}}
