.notebook-demo{margin:20px 0;color:#1a3326;font:15px/1.6 Pretendard,sans-serif}
.notebook-demo summary{cursor:pointer;font-weight:700;min-height:44px;display:flex;align-items:center;color:#2e7d52}
.notebook-demo-frame{max-width:720px;margin:0}
.notebook-demo-frame img{display:block;width:100%;height:auto;aspect-ratio:4/3;border:1px solid #d9e5dc;border-radius:10px;background:#fff}
.notebook-demo-frame [hidden]{display:none}
.notebook-demo-frame figcaption{margin-top:8px;font-size:13px;color:#4a7a62}
.notebook-demo summary:focus-visible{outline:3px solid #26a69a;outline-offset:3px}
.notebook-demo-link{display:block;margin:10px 0;padding:12px 14px;border:1px solid #d9e5dc;border-radius:10px;background:#f7faf6;color:#2e7d52;font-size:14px;line-height:1.5}
.guide-demo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.guide-demo-grid .notebook-demo{min-width:0;margin:0}
.guide-demo-grid h3{font-size:16px;margin:0 0 8px}
@media(max-width:700px){.guide-demo-grid{grid-template-columns:1fr}}
.landing-guides.chapter{padding:68px 0}
.landing-guides .chapter-inner{max-width:900px}
.landing-guides .guide-demo-grid{display:flex;gap:16px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;padding:8px 0 12px}
.landing-guides .guide-demo-grid::-webkit-scrollbar{display:none}
.landing-guides .notebook-demo{flex:0 0 100%;scroll-snap-align:center;text-align:left;padding:18px;border:1px solid #e0eae1;border-radius:20px;background:#f8fbf8;transition:box-shadow .3s ease,transform .3s ease}
.landing-guides .notebook-demo.is-current{box-shadow:0 10px 35px #193b2716}
.landing-guides .notebook-demo h3{margin:0 0 10px}
.landing-guides .notebook-demo-frame{max-width:none}
.landing-guides.chapter .notebook-demo-frame img{width:100%;max-height:none;margin:0;aspect-ratio:4/3;object-fit:contain;border-radius:10px;box-shadow:none;transform:none}
.landing-guides .notebook-demo-frame figcaption{font-size:14px}
.guide-carousel-nav{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:8px}
.landing-guides .guide-carousel-nav button{width:auto;min-width:44px;min-height:44px;margin:0;padding:0;border:0;background:transparent;color:#315c43}
.guide-carousel-dots{display:flex;align-items:center;gap:0}
.landing-guides .guide-carousel-dots button{display:grid;place-items:center}
.guide-carousel-dots button::after{content:'';width:7px;height:7px;background:#b8cabd;border-radius:50%;transition:width .3s,background .3s}
.guide-carousel-dots button[aria-current=true]::after{width:20px;border-radius:9px;background:#27714b}
@media(max-width:700px){.landing-guide-carousel.guide-enter{animation:guide-enter .32s ease-out both}@keyframes guide-enter{from{opacity:.65;transform:translateY(10px)}to{opacity:1;transform:none}}}
@media(max-width:700px){.landing-guides .guide-demo-grid{padding-left:20px;padding-right:20px}.landing-guides .notebook-demo{flex-basis:calc(100% - 22px)}.landing-guides h2{padding:0 20px}}
@media(prefers-reduced-motion:reduce){.landing-guides .guide-demo-grid{scroll-behavior:auto}.landing-guides .notebook-demo,.guide-carousel-dots button::after{transition:none}}
@media print{.notebook-demo,.notebook-demo-link{display:none!important}}
