.study-journey{margin:28px 0 36px;padding:24px;border:1px solid hsl(var(--border));border-radius:18px;background:hsl(var(--card));color:hsl(var(--card-foreground));scroll-margin-top:90px;min-width:0}
.study-journey-chapter+.study-journey-chapter{margin-top:28px;padding-top:28px;border-top:1px solid hsl(var(--border))}
.study-journey h2{font-size:clamp(1.35rem,2.5vw,1.8rem);line-height:1.25;margin:6px 0 10px}
.study-journey-intro{color:hsl(var(--muted-foreground));margin-bottom:20px}
.study-journey-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.study-journey-actions-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.study-journey-action{padding:20px;border:1px solid hsl(var(--border));border-radius:12px;display:flex;flex-direction:column;min-width:0}
.study-journey-action.is-primary{background:hsl(var(--primary)/.04);border-color:hsl(var(--primary)/.25)}
.study-journey .study-journey-step{font-size:1.08rem;font-weight:750;color:hsl(var(--foreground));margin-bottom:10px}
.study-journey-action>p{font-size:.94rem;line-height:1.65;margin:0 0 14px}
.study-journey-action strong{font-weight:650}.study-journey-action .study-journey-guide-title{display:block;margin-top:8px}
.study-journey-action .study-button{margin-top:auto;width:100%;box-sizing:border-box;font-size:.9rem;min-height:48px}
.study-journey .study-button-secondary{border:1px solid hsl(var(--border));color:hsl(var(--foreground));background:hsl(var(--background))}
.study-journey .study-journey-meta,.study-journey .study-journey-note{font-size:.83rem;line-height:1.6;color:hsl(var(--muted-foreground))}
.study-journey .study-journey-note{margin:16px 0 0}
.study-journey-resources{margin-top:20px;padding-top:18px;border-top:1px solid hsl(var(--border))}
.study-journey-resources h3{font-size:1rem;margin-bottom:8px}
.study-journey-resources ul{padding-left:20px;margin:8px 0}
.study-journey-resources li{font-size:.93rem;line-height:1.7;margin:6px 0}
.study-journey a:not(.study-button){color:hsl(var(--primary));text-decoration:underline;text-underline-offset:4px}
.study-journey a:focus-visible{outline:3px solid hsl(var(--primary));outline-offset:4px}
.study-journey-jump{margin-bottom:20px}
.journey-self-check details{padding:16px 18px;border:1px solid hsl(var(--border));border-radius:12px;margin:12px 0}
.journey-self-check summary{cursor:pointer;min-height:44px;align-content:center;font-weight:700}
.journey-self-check details>div{margin-top:12px}
.journey-self-check{scroll-margin-top:90px}
.chapter-teaching-figure{margin:28px 0 4px;padding:20px;border:1px solid hsl(var(--border));border-radius:14px;background:hsl(var(--card));color:hsl(var(--card-foreground));min-width:0}
.chapter-teaching-figure h3{font-size:1.15rem;line-height:1.5;margin:0 0 16px}.chapter-teaching-image{display:block}.chapter-teaching-image img{display:block;width:100%;height:auto;border-radius:10px}.chapter-teaching-open{display:inline-flex;align-items:center;min-height:44px;margin:8px 0;font-size:.9rem}.chapter-teaching-figure figcaption,.chapter-teaching-figure .chapter-teaching-retry{font-size:.9rem;line-height:1.7}.chapter-teaching-retry{border-top:1px solid hsl(var(--border));padding-top:16px;margin-bottom:0}.chapter-teaching-figure a:focus-visible{outline:3px solid hsl(var(--primary));outline-offset:4px}
@media(max-width:499px){.chapter-teaching-figure{padding:12px;margin-left:-8px;margin-right:-8px}}
@media(max-width:999px){.study-journey-actions{grid-template-columns:minmax(0,1fr)}.study-journey-action{padding:18px}.study-journey{padding:20px}.study-journey-action strong{display:inline}.study-journey-action .study-button{width:auto;align-self:flex-start}}
@media(max-width:499px){.study-journey{padding:16px}.study-journey-action .study-button{width:100%}.study-journey{overflow-wrap:anywhere}}
