/* LessonNow public user guide (/guide). Light-only; reuses portal tokens (paper, forest green, ink). */
.guide-page{--g-muted:#5a665e;--g-soft:#eef2e6;--g-warm:#f6eee2;--g-oat:#ae9266;--g-mask:#536259;--g-dark:#1f2a24;overflow-x:hidden}
html{scroll-behavior:smooth}
.guide-header{justify-content:space-between}
.guide-back{font-size:14px;font-weight:650;color:var(--green);text-decoration:none;padding:10px 4px}
.guide-back:hover{color:var(--green-hover);text-decoration:underline}
.guide{width:min(1080px,100%);margin:0 auto;padding:48px 32px 72px;line-height:1.85}
.guide *{min-width:0}

/* Hero + table of contents */
.guide-hero{max-width:720px}
.guide-hero .eyebrow{color:var(--green)}
.guide-lead{font-size:17px;line-height:1.9;color:var(--g-muted);margin-top:16px}
.guide-toc{margin:36px 0 12px;padding:24px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}
.guide-toc h2{font-size:16px;margin-bottom:14px}
.guide-toc ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.guide-toc a{display:flex;gap:12px;align-items:flex-start;height:100%;padding:12px 14px;border-radius:12px;border:1px solid transparent;background:var(--g-soft);text-decoration:none;line-height:1.5;transition:border-color .16s ease,background .16s ease}
.guide-toc a:hover{border-color:var(--line-strong);background:var(--surface-soft)}
.toc-num{font-size:12px;font-weight:750;color:var(--green);letter-spacing:.5px;padding-top:2px}
.toc-text{display:flex;flex-direction:column;gap:2px}
.toc-text strong{font-size:14px}
.toc-text span{font-size:12px;color:var(--g-muted)}

/* Sections */
.guide-section{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:48px;align-items:start;padding:56px 0;border-top:1px solid var(--line);scroll-margin-top:16px}
.guide-toc+.guide-section{border-top:0}
.guide-kicker{font-size:12px;font-weight:750;letter-spacing:1.4px;color:var(--green);margin-bottom:6px}
.guide-section h2{font-size:clamp(24px,3vw,30px);line-height:1.35;letter-spacing:-.6px;margin-bottom:10px}
.guide-section h3{font-size:16px;margin:26px 0 4px}
.guide-copy>p{color:var(--ink)}
.guide-steps{list-style:none;counter-reset:step;margin:18px 0 0;padding:0;display:grid;gap:10px}
.guide-steps li{counter-increment:step;position:relative;padding:10px 14px 10px 52px;background:var(--surface);border:1px solid var(--line);border-radius:12px;line-height:1.7}
.guide-steps li::before{content:counter(step);position:absolute;left:12px;top:9px;width:28px;height:28px;border-radius:50%;background:var(--green);color:var(--on-green);font-size:13px;font-weight:750;display:grid;place-items:center;line-height:1}
.guide-tip,.guide-note{margin-top:16px;padding:12px 16px;border-radius:12px;font-size:14px;line-height:1.75}
.guide-tip{background:var(--g-soft);border-left:4px solid var(--green)}
.guide-note{background:var(--g-warm);border-left:4px solid var(--g-oat)}
.guide-tip strong,.guide-note strong{display:block;font-size:12px;letter-spacing:1px;color:var(--green);margin-bottom:2px}
.guide-note strong{color:#6d5324}

/* FAQ */
.guide-faq{grid-template-columns:minmax(0,1fr)}
.guide-faq .guide-copy{max-width:760px}
.guide-faq details{border:1px solid var(--line);border-radius:12px;background:var(--surface);margin-top:10px}
.guide-faq summary{cursor:pointer;min-height:48px;padding:12px 16px;font-weight:650;line-height:1.6}
.guide-faq details p{padding:0 16px 14px;color:var(--ink)}
.guide-footer{border-top:1px solid var(--line)}
.guide-footer .legal-links a{padding:6px 0}

/* Real App screenshots with numbered tap marks (positions: guide-shots.css) */
.guide-shots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start;position:sticky;top:24px}
.guide-shots[data-count="1"]{grid-template-columns:minmax(0,300px);justify-content:center}
.guide-shots.is-strip{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 2px 14px;gap:16px;overscroll-behavior-x:contain}
.guide-shots.is-strip .shot{flex:0 0 min(236px,70%);scroll-snap-align:start}
.shot{margin:0;display:grid;gap:8px}
.shot-frame{position:relative;border-radius:26px;padding:6px;background:var(--g-dark);box-shadow:0 18px 40px rgba(39,58,49,.16)}
.shot-screen{position:relative}.shot-frame img{display:block;width:100%;height:auto;border-radius:20px}
.shot-box{position:absolute;border:2.5px solid #c26a4a;border-radius:9px;box-shadow:0 0 0 999px rgba(31,42,36,0);pointer-events:none}
.shot-mark{position:absolute;transform:translate(-55%,-45%);width:26px;height:26px;border-radius:50%;background:#c26a4a;color:#fff;font-size:13px;font-weight:750;display:grid;place-items:center;line-height:1;box-shadow:0 2px 6px rgba(0,0,0,.25);animation:g-pulse 2.4s ease-out infinite}
.shot figcaption{font-size:12px;color:var(--g-muted);text-align:center}
.guide-shots::-webkit-scrollbar{height:8px}.guide-shots::-webkit-scrollbar-thumb{background:var(--line-strong);border-radius:8px}

@keyframes g-pulse{0%{box-shadow:0 0 0 0 rgba(194,106,74,.5)}70%,100%{box-shadow:0 0 0 9px rgba(194,106,74,0)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.guide-page *,.guide-page *::before,.guide-page *::after{animation:none!important;transition:none!important}}

@media(max-width:900px){.guide-toc ol{grid-template-columns:repeat(2,minmax(0,1fr))}.guide-section{gap:32px}}
@media(max-width:760px){
 .guide{padding:28px 16px 56px}
 .guide-lead{font-size:15px}
 .guide-toc{padding:16px;margin-top:24px}
 .guide-section{grid-template-columns:minmax(0,1fr);gap:28px;padding:40px 0}
 .guide-shots{position:static;display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:14px}
 .guide-shots .shot{flex:0 0 min(236px,72%);scroll-snap-align:start}
 .guide-footer{padding:20px 16px}
}
@media(max-width:420px){
 .guide-toc ol{grid-template-columns:minmax(0,1fr)}
 .guide-steps li{padding:9px 12px 9px 46px}
 .guide-steps li::before{left:10px;width:26px;height:26px}
 .guide-header .brand{font-size:22px}
}

/* Video demos (click-to-load YouTube; see guide-video.js) */
.guide-video-slot{margin-top:22px}
.guide-video-label{font-size:12px;font-weight:750;letter-spacing:1.4px;color:var(--green);margin-bottom:8px}
.guide-video{margin:0;display:grid;gap:8px}
.yt-lite,.yt-frame{position:relative;display:block;width:100%;aspect-ratio:16/9;border-radius:14px;overflow:hidden;background:var(--g-dark);border:0}
.yt-lite img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .2s ease,opacity .2s ease}
.yt-lite:hover img,.yt-lite:focus-visible img{transform:scale(1.03);opacity:.92}
.yt-lite:focus-visible{outline:3px solid var(--green);outline-offset:3px}
.yt-play{position:absolute;left:50%;top:50%;width:64px;height:64px;margin:-32px 0 0 -32px;border-radius:50%;background:rgba(31,42,36,.82);box-shadow:0 6px 18px rgba(0,0,0,.28)}
.yt-play::after{content:"";position:absolute;left:26px;top:20px;border-style:solid;border-width:12px 0 12px 19px;border-color:transparent transparent transparent #fff}
.yt-lite:hover .yt-play{background:var(--green)}
.yt-dur{position:absolute;right:10px;bottom:10px;padding:2px 8px;border-radius:6px;background:rgba(0,0,0,.72);color:#fff;font-size:12px;font-weight:650;line-height:1.6}
.guide-video figcaption{display:flex;justify-content:space-between;gap:10px;font-size:13px;line-height:1.5}
.guide-video figcaption span{color:var(--g-muted);white-space:nowrap}
.guide-video-link{margin-top:14px;font-size:14px}
.guide-video-link a{color:var(--green);font-weight:650}
.guide-videos{grid-template-columns:minmax(0,1fr)}
.guide-video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:22px}
@media(max-width:900px){.guide-video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.guide-video-grid{grid-template-columns:minmax(0,1fr)}}
