/* Jamsville guides (/learn/): the app's visual language for static, crawlable pages.
   Tokens are the app's (packages/app/shell/app-shell.css :root and html.gfmt-dark-mode);
   the dark class and its storage key (jvThemeV1) are the app's too, so a guide opens in the
   theme the reader chose in Jamsville. */
:root{
  --jvs-font:"Montserrat","Inter","Helvetica Neue",Arial,sans-serif;
  --jvs-green:#1f4d2e;--jvs-green-dark:#153720;--jvs-green-bar:linear-gradient(180deg,#17592a 0%,#0f3e1a 100%);
  --jvs-bg:#f6f8f4;--jvs-surface:#ffffff;--jvs-ink:#18201b;--jvs-muted:#5f6b63;--jvs-line:#dfe7e1;
  --jvs-accent:#1f4d2e;--jvs-accent-soft:#e7f0e8;--jvs-link:#a85208;
  --jvs-primary:linear-gradient(180deg,#f89a3f,#ee7d1c);--jvs-primary-solid:#ee7d1c;--jvs-primary-ink:#ffffff;
  --jvs-primary-shadow:0 8px 18px rgba(238,125,28,.3),inset 0 1px 0 rgba(255,255,255,.28);
  --jvs-gold:linear-gradient(180deg,#f6d36b,#d9a326);--jvs-gold-ink:#3a2a08;
  --jvs-shadow:0 18px 45px rgba(21,55,32,.14);
  --jvg-top-h:calc(58px + env(safe-area-inset-top,0px));--jvg-nav-h:calc(64px + env(safe-area-inset-bottom,0px));--jvg-rail-w:0px;
  --jvg-board-bg:#f7f3ea;
  color-scheme:light;
}
html.gfmt-dark-mode{
  --jvs-link:#f3a35a;--jvs-bg:#0f1511;--jvs-surface:#19211c;--jvs-ink:#eef2ee;--jvs-muted:#a3aea6;--jvs-line:#2b352e;
  --jvs-accent:#6fcf8f;--jvs-accent-soft:#1b3323;--jvs-shadow:0 18px 45px rgba(0,0,0,.45);
  --jvg-board-bg:#efe8d8;
  color-scheme:dark;
}
*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;scroll-padding-top:calc(var(--jvg-top-h) + 12px);}
body.jvg{margin:0;background:var(--jvs-bg);color:var(--jvs-ink);font:500 17px/1.65 var(--jvs-font);
  padding-top:var(--jvg-top-h);padding-bottom:calc(var(--jvg-nav-h) + 8px);}
img{max-width:100%;height:auto;}
a{color:var(--jvs-link);text-underline-offset:2px;}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid rgba(238,125,28,.55);outline-offset:2px;border-radius:6px;}
.jvg-skip{position:absolute;left:12px;top:-60px;z-index:100;background:var(--jvs-surface);color:var(--jvs-ink);padding:10px 14px;border-radius:10px;font-weight:800;}
.jvg-skip:focus{top:calc(var(--jvg-top-h) + 8px);}

/* Top bar: the app's green bar and outlined logo (never filtered, always on the dark green). */
.jvg-top{position:fixed;z-index:60;top:0;left:0;right:0;height:var(--jvg-top-h);display:flex;align-items:center;gap:10px;
  padding:env(safe-area-inset-top,0px) calc(10px + env(safe-area-inset-right,0px)) 0 calc(14px + env(safe-area-inset-left,0px));
  background:var(--jvs-green-bar);color:#fff;box-shadow:0 2px 14px rgba(9,40,16,.28);}
.jvg-brand{display:inline-flex;align-items:center;flex:0 0 auto;min-height:44px;}
.jvg-brand img{display:block;height:34px;width:auto;}
.jvg-top-title{display:none;font-weight:800;font-size:15px;letter-spacing:.02em;color:rgba(255,255,255,.92);}
.jvg-top-actions{display:flex;align-items:center;gap:8px;margin-left:auto;}
.jvg-chip,.jvg-open{white-space:nowrap;}
.jvg-chip{display:inline-flex;align-items:center;min-height:36px;padding:0 12px;border-radius:999px;border:1px solid rgba(255,255,255,.4);
  background:rgba(255,255,255,.12);color:#fff;font-weight:800;font-size:13px;letter-spacing:.02em;text-decoration:none;}
.jvg-open{display:inline-flex;align-items:center;min-height:36px;padding:0 14px;border-radius:999px;background:var(--jvs-primary);color:var(--jvs-primary-ink);
  font-weight:800;font-size:13px;text-decoration:none;box-shadow:var(--jvs-primary-shadow);}
/* White on the app's orange is under AA; the guides' buttons use its deeper end (4.66:1 and up). */
.jvg-open{background:linear-gradient(180deg,#b85a0e,#a84c06);}

/* The header's right side is the app's (Adam, 2026-11-10): signed in, your profile button, never Sign in.
   html.jvg-signed-in is set from the last known state before paint and confirmed by guides-src.js. */
.jvg-me{display:none;align-items:center;justify-content:center;width:40px;height:40px;border-radius:999px;color:#fff;background:rgba(255,255,255,.12);}
.jvg-me svg{width:24px;height:24px;fill:currentColor;}
html.jvg-signed-in .jvg-me{display:inline-flex;}
html.jvg-signed-in .jvg-signin{display:none;}
.jvg-nav-btn.jvg-nav-profile{display:none;}
@media (min-width:768px){.jvg-nav-btn.jvg-nav-profile{display:flex;margin-top:auto !important;}}

/* Bottom nav on phones, a rail from tablets up: the app's own five places (and Profile on the rail). */
.jvg-nav{position:fixed;z-index:62;left:0;right:0;bottom:0;height:var(--jvg-nav-h);display:flex;align-items:stretch;
  padding:0 calc(6px + env(safe-area-inset-right,0px)) env(safe-area-inset-bottom,0px) calc(6px + env(safe-area-inset-left,0px));
  background:var(--jvs-surface);border-top:1px solid var(--jvs-line);}
.jvg-nav-btn{flex:1 1 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;margin:6px 2px;border-radius:14px;
  color:var(--jvs-muted);font-size:11.5px;font-weight:800;letter-spacing:.01em;text-decoration:none;}
.jvg-nav-btn svg{width:24px;height:24px;fill:currentColor;}
.jvg-nav-btn.is-active{color:var(--jvs-accent);background:var(--jvs-accent-soft);}
/* A phone shows the app's own bar: Library and Tools sit under More (nav-items.js PHONE_MORE; audit V09, D-122). */
.jvg-nav-btn--more{display:none;}
.jvg-nav-morewrap{flex:1 1 0;display:flex;position:relative;}
.jvg-nav-morebtn{list-style:none;cursor:pointer;width:100%;}
.jvg-nav-morebtn::-webkit-details-marker{display:none;}
.jvg-nav-morewrap[open] .jvg-nav-morebtn{color:var(--jvs-accent);background:var(--jvs-accent-soft);}
.jvg-nav-menu{position:absolute;right:0;bottom:calc(100% + 8px);min-width:180px;padding:6px;border-radius:14px;background:var(--jvs-surface);border:1px solid var(--jvs-line);box-shadow:0 12px 30px rgba(0,0,0,.35);}
.jvg-nav-menu a{display:flex;align-items:center;gap:12px;min-height:44px;padding:0 12px;border-radius:10px;color:var(--jvs-ink);font-weight:800;font-size:14.5px;text-decoration:none;}
.jvg-nav-menu a svg{width:22px;height:22px;fill:currentColor;color:var(--jvs-muted);}
.jvg-nav-menu a:hover,.jvg-nav-menu a:focus-visible{background:var(--jvs-accent-soft);}
@media (min-width:768px){.jvg-nav-btn--more{display:flex;}.jvg-nav-morewrap{display:none;}}

.jvg-page{max-width:100%;}
.jvg-crumbs{padding:12px 16px 0;font-size:13px;font-weight:700;}
.jvg-crumbs ol{list-style:none;margin:0 auto;padding:0;display:flex;flex-wrap:wrap;gap:4px;max-width:760px;color:var(--jvs-muted);}
.jvg-crumbs li+li::before{content:"›";margin-right:4px;color:var(--jvs-muted);}
.jvg-crumbs a{color:var(--jvs-muted);text-decoration:none;}
.jvg-crumbs a:hover{color:var(--jvs-ink);text-decoration:underline;}
.jvg-crumbs [aria-current]{color:var(--jvs-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:60vw;}

.jvg-main{padding:0 16px 24px;}
.jvg-article,.jvg--hub .jvg-main>*{max-width:760px;margin-left:auto;margin-right:auto;}
.jvg-kicker{margin:0 0 4px;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--jvs-accent);}
.jvg-hero{padding:18px 0 8px;}
.jvg-hero h1{margin:0 0 10px;font-size:clamp(28px,6.4vw,40px);line-height:1.12;font-weight:900;letter-spacing:-.015em;}
.jvg-promise{margin:0 0 10px;font-size:18.5px;line-height:1.5;font-weight:600;}
.jvg-byline{margin:0;color:var(--jvs-muted);font-size:13.5px;font-weight:600;}

.jvg-body h2{margin:36px 0 10px;font-size:25px;line-height:1.2;font-weight:900;letter-spacing:-.01em;}
.jvg-body h3{margin:26px 0 8px;font-size:19.5px;line-height:1.3;font-weight:800;}
.jvg-body p,.jvg-body li{max-width:68ch;}
.jvg-body ul,.jvg-body ol{padding-left:1.25em;}
.jvg-body li{margin:4px 0;}
.jvg-body blockquote{margin:16px 0;padding:10px 16px;border-left:4px solid var(--jvs-accent);background:var(--jvs-accent-soft);border-radius:0 12px 12px 0;}
.jvg-body code{font:600 .92em ui-monospace,Menlo,monospace;background:var(--jvs-accent-soft);padding:1px 5px;border-radius:6px;}
.jvg-src{font-size:12.5px;font-weight:700;white-space:nowrap;color:var(--jvs-muted);text-decoration:none;border-bottom:1px dotted currentColor;}
.jvg-src:hover{color:var(--jvs-link);}

.jvg-toc{margin:18px 0 6px;background:var(--jvs-surface);border:1px solid var(--jvs-line);border-radius:16px;padding:6px 16px;}
.jvg-toc summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:800;font-size:14.5px;}
.jvg-toc ol{margin:0 0 12px;padding-left:1.3em;font-size:15px;line-height:1.5;}
.jvg-toc li{margin:5px 0;}
.jvg-toc a{color:var(--jvs-ink);text-decoration:none;}
.jvg-toc a:hover{text-decoration:underline;}

/* The short answer (first thing a reader or an answer engine needs) and the FAQ. */
.jvg-answer{margin:14px 0 4px;padding:14px 16px;border-radius:16px;background:var(--jvs-accent-soft);border-left:5px solid var(--jvs-accent);}
.jvg-answer > summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;margin:-10px 0;cursor:pointer;list-style:none;}
.jvg-answer > summary::-webkit-details-marker{display:none;}
.jvg-answer > summary::after{content:"";width:9px;height:9px;margin-right:4px;border-right:2.5px solid var(--jvs-accent);border-bottom:2.5px solid var(--jvs-accent);transform:rotate(45deg);transition:transform .15s;}
.jvg-answer[open] > summary{margin-bottom:0;}
.jvg-answer[open] > summary::after{transform:rotate(-135deg);}
.jvg-answer > summary:focus-visible{outline:3px solid var(--jvs-link);outline-offset:2px;border-radius:6px;}
.jvg-lead-ex{display:flex;align-items:center;gap:14px;margin:14px 0 4px;padding:10px 12px;border-radius:16px;border:1px solid var(--jvs-line);background:var(--jvs-surface);}
.jvg-lead-ex img{flex:0 0 auto;width:min(180px,40%);height:auto;border-radius:10px;}
.jvg-lead-ex figcaption{display:flex;flex-direction:column;align-items:flex-start;gap:8px;font-size:15px;line-height:1.45;font-weight:600;}
.jvg-lead-play{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;white-space:nowrap;border-radius:999px;background:var(--jvs-accent);color:var(--jvs-surface);font-weight:800;text-decoration:none;}
.jvg-lead-play:focus-visible{outline:3px solid var(--jvs-link);outline-offset:2px;}
@media (prefers-reduced-motion:reduce){.jvg-answer > summary::after{transition:none;}}
.jvg-answer h2{margin:0;font-size:13px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--jvs-accent);}
.jvg-answer p{margin:0;font-size:17px;line-height:1.6;font-weight:600;}
.jvg-answer ul{margin:4px 0 0;padding-left:20px;display:grid;gap:6px;font-size:17px;line-height:1.5;font-weight:600;}
.jvg-faq{margin-top:36px;}
.jvg-faq h2{font-size:22px;font-weight:900;margin:0 0 10px;}
.jvg-faq details{border-top:1px solid var(--jvs-line);}
.jvg-faq details:last-child{border-bottom:1px solid var(--jvs-line);}
.jvg-faq summary{cursor:pointer;min-height:48px;display:flex;align-items:center;font-weight:800;font-size:16px;padding:8px 0;}
.jvg-faq p{margin:0 0 14px;}

/* Examples: the app's own board on its wood, then one button into the app. */
.jvg-example{margin:22px 0;background:var(--jvs-surface);border:1px solid var(--jvs-line);border-radius:18px;overflow:hidden;}
.jvg-board-wrap{position:relative;}
.jvg-board{background:var(--jvg-board-bg);padding:10px 8px;display:flex;gap:8px;}
.jvg-zoom{position:relative;display:block;flex:0 0 100%;padding:0;margin:0;border:0;background:none;color:#1b2a20;cursor:zoom-in;border-radius:6px;}
.jvg-zoom img{display:block;width:100%;height:auto;}
.jvg-zoom:focus-visible{outline:3px solid var(--jvg-accent,#b85a0e);outline-offset:2px;}
.jvg-example--seq .jvg-zoom,.jvg-example--strip .jvg-zoom{padding-top:28px;}
.jvg-step-n{position:absolute;top:0;left:50%;transform:translateX(-50%);z-index:1;white-space:nowrap;min-width:22px;height:22px;padding:0 9px;border-radius:999px;background:#1b4d2e;color:#fff;font:800 12px/22px var(--jvs-font,inherit);text-align:center;}
/* A short sequence: every diagram at once, smaller, in order. */
.jvg-example--seq .jvg-board{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;}
/* A long one: scrolls, with arrows so it is obvious there is more. */
.jvg-example--strip .jvg-board{overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;}
.jvg-example--strip .jvg-zoom{flex-basis:88%;scroll-snap-align:start;}
.jvg-strip-btn{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:999px;border:1px solid var(--jvs-line,#0002);background:var(--jvs-surface,#fff);color:var(--jvs-ink,#1b2a20);font:800 24px/1 var(--jvs-font,inherit);box-shadow:0 2px 8px #0003;cursor:pointer;}
.jvg-strip-prev{left:6px;}.jvg-strip-next{right:6px;}
.jvg-strip-btn[disabled]{opacity:0;pointer-events:none;}
.jvg-lightbox{position:fixed;inset:0;z-index:1000;background:#000c;display:flex;align-items:center;justify-content:center;padding:16px;}
.jvg-lightbox img{max-width:100%;max-height:85vh;background:var(--jvg-board-bg,#f3ead8);border-radius:8px;}
.jvg-lightbox button{position:absolute;width:44px;height:44px;border-radius:999px;border:0;background:#fff;color:#1b2a20;font:800 22px/1 var(--jvs-font,inherit);cursor:pointer;}
.jvg-lb-close{top:16px;right:16px;}.jvg-lb-prev{left:12px;top:50%;}.jvg-lb-next{right:12px;top:50%;}
.jvg-lb-count{position:absolute;bottom:20px;left:0;right:0;text-align:center;color:#fff;font:700 14px var(--jvs-font,inherit);}
.jvg-example figcaption{display:flex;flex-direction:column;gap:10px;padding:12px 16px 16px;font-size:15px;line-height:1.5;}
.jvg-try,.jvg-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;align-self:flex-start;min-height:44px;padding:0 18px;border:0;border-radius:999px;
  background:linear-gradient(180deg,#b85a0e,#a84c06);color:#fff;font:800 15px var(--jvs-font);text-decoration:none;cursor:pointer;box-shadow:var(--jvs-primary-shadow);}
.jvg-try svg{width:18px;height:18px;}
.jvg-example--tool .jvg-try,.jvg-example--app .jvg-try{background:var(--jvs-accent-soft);color:var(--jvs-accent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--jvs-accent) 45%,transparent);}

/* Video: YouTube's own player, loaded when the reader asks for it. */
.jvg-video{margin:22px 0;background:var(--jvs-surface);border:1px solid var(--jvs-line);border-radius:18px;overflow:hidden;}
.jvg-video-frame{position:relative;display:block;aspect-ratio:16/9;background:#000;overflow:hidden;}
.jvg-video-frame img{width:100%;height:100%;object-fit:cover;display:block;}
.jvg-video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0;}
.jvg-video-play{position:absolute;left:50%;top:50%;width:68px;height:48px;transform:translate(-50%,-50%);filter:drop-shadow(0 4px 12px rgba(0,0,0,.4));}
.jvg-video-frame:hover .jvg-video-play,.jvg-video-frame:focus-visible .jvg-video-play{transform:translate(-50%,-50%) scale(1.06);}
.jvg-video figcaption{padding:12px 16px 14px;display:flex;flex-direction:column;gap:4px;font-size:15px;line-height:1.45;}
.jvg-video-links{font-size:13.5px;font-weight:700;color:var(--jvs-muted);}
.jvg-video-links a{display:inline-flex;align-items:center;gap:5px;font-weight:800;}
.jvg-video-links svg,.jvg-channel svg{width:18px;height:18px;color:#ff0000;}
.jvg-moments{margin-top:6px;}
.jvg-moments summary{cursor:pointer;font-weight:800;font-size:14px;min-height:36px;display:flex;align-items:center;}
.jvg-moments ol{margin:4px 0 0;padding-left:0;list-style:none;font-size:14px;}
.jvg-moments li{margin:3px 0;}
.jvg-moments a{display:inline-block;min-width:3.4em;font-weight:800;}
.jvg-video-row{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px;}
.jvg-video-row .jvg-video{margin:0;}
.jvg-channel{margin:16px 0;font-weight:800;}
.jvg-channel a{display:inline-flex;align-items:center;gap:8px;min-height:44px;}

/* Keep going, account, lead magnet, lessons line: one quiet block at the end. */
.jvg-keep{margin-top:40px;padding-top:8px;border-top:1px solid var(--jvs-line);}
.jvg-keep h2,.jvg-more-videos h2,.jvg-sources h2,.jvg-topic h2,.jvg-hub-start h2,.jvg-hub-more h2{font-size:22px;font-weight:900;margin:24px 0 12px;}
.jvg-next-row,.jvg-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px;}
.jvg-next,.jvg-card{display:flex;flex-direction:column;gap:4px;background:var(--jvs-surface);border:1px solid var(--jvs-line);border-radius:16px;
  padding:14px 16px;color:var(--jvs-ink);text-decoration:none;font-size:14.5px;line-height:1.45;}
.jvg-card{padding:0;overflow:hidden;}
.jvg-card img{display:block;width:100%;height:auto;aspect-ratio:600/315;object-fit:cover;background:#0f3e1a;}
.jvg-card-body{display:flex;flex-direction:column;gap:4px;padding:12px 14px 14px;}
.jvg-next strong,.jvg-card strong{font-size:16.5px;line-height:1.3;font-weight:800;}
.jvg-next span:last-child,.jvg-card-body span:last-child{color:var(--jvs-muted);}
.jvg-next:hover,.jvg-card:hover,.jvg-next:focus-visible,.jvg-card:focus-visible{border-color:var(--jvs-accent);}
.jvg-account{margin:18px 0;padding:16px;border-radius:18px;background:var(--jvs-accent-soft);display:flex;flex-direction:column;gap:12px;}
.jvg-account p{margin:0;}
.jvg-lead{margin:18px 0;padding:18px 16px;border-radius:18px;background:var(--jvs-surface);border:1px solid var(--jvs-line);display:grid;gap:14px;}
.jvg-lead h2{margin:0 0 6px !important;font-size:20px !important;}
.jvg-lead-text p{margin:0;}
.jvg-lead-form{display:grid;gap:10px;}
.jvg-field{display:grid;gap:4px;font-size:13.5px;font-weight:800;}
.jvg-field input{min-height:46px;padding:0 14px;border-radius:12px;border:1px solid var(--jvs-line);background:var(--jvs-bg);color:var(--jvs-ink);font:600 16px var(--jvs-font);}
.jvg-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;}
.jvg-fine{margin:0;color:var(--jvs-muted);font-size:13px;line-height:1.45;}
.jvg-lead-msg{margin:0;font-weight:700;font-size:14.5px;}
.jvg-lead-msg:empty{display:none;}
/* Private lessons: one large card at the end of a guide, and the gentle slide-in offer. */
.jvg-lessons-card{margin:22px 0;padding:22px 18px;border-radius:20px;background:var(--jvs-green-bar);color:#fff;display:flex;flex-direction:column;gap:10px;}
.jvg-lessons-card .jvg-kicker{color:#f6d36b;}
.jvg-lessons-card h2{margin:0 !important;font-size:26px !important;line-height:1.2;color:#fff;}
.jvg-lessons-card p{margin:0;color:rgba(255,255,255,.94);}
.jvg-lessons-prompt{position:fixed;z-index:70;right:16px;bottom:calc(var(--jvg-nav-h) + 12px);width:min(340px,calc(100vw - 32px));padding:16px 16px 18px;border-radius:18px;
  background:var(--jvs-surface);color:var(--jvs-ink);border:1px solid var(--jvs-line);box-shadow:var(--jvs-shadow);
  transform:translateY(16px);opacity:0;transition:transform .25s ease,opacity .25s ease;}
.jvg-lessons-prompt.is-in{transform:none;opacity:1;}
.jvg-lessons-prompt[hidden]{display:none;}
.jvg-lessons-prompt p{margin:0 0 12px;font-size:15px;line-height:1.5;padding-right:28px;}
.jvg-lessons-prompt .jvg-lessons-title{margin-bottom:6px;font-weight:900;font-size:17px;}
.jvg-lessons-x{position:absolute;top:6px;right:6px;width:44px;height:44px;border:0;border-radius:12px;background:transparent;color:var(--jvs-muted);font:700 24px/1 var(--jvs-font);cursor:pointer;}
.jvg-lessons-x:hover{color:var(--jvs-ink);}
.jvg-sources{margin-top:28px;font-size:14.5px;color:var(--jvs-muted);}
.jvg-sources ul{padding-left:1.2em;}

.jvg-topics ul{list-style:none;margin:8px 0 0;padding:0;display:flex;gap:8px;overflow-x:auto;flex-wrap:nowrap;}
.jvg-topics a{display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border-radius:999px;background:var(--jvs-surface);border:1px solid var(--jvs-line);
  color:var(--jvs-ink);font-weight:800;font-size:14px;text-decoration:none;white-space:nowrap;}

.jvg-foot{padding:24px 16px 32px;text-align:center;color:var(--jvs-muted);font-size:13.5px;font-weight:600;}
.jvg-foot p{margin:6px 0;}
.jvg-foot a{color:var(--jvs-muted);}
.jvg-foot-link{display:inline;min-height:0;padding:12px 2px;margin:-12px 0;border:0;background:none;color:var(--jvs-muted);font:inherit;text-decoration:underline;cursor:pointer;}

.jvg-preview{position:sticky;top:var(--jvg-top-h);z-index:59;background:#fff3c4;color:#3a2a08;padding:8px 16px;font-size:14px;border-bottom:1px solid #e6cf7a;}
.jvg-preview summary{cursor:pointer;font-weight:800;}

/* Tablet and up: the app's rail on the left, no bottom bar. */
@media (min-width:768px){
  :root{--jvg-rail-w:84px;}
  .jvg-lessons-prompt{bottom:24px;right:24px;}
  body.jvg{padding-bottom:0;padding-left:var(--jvg-rail-w);}
  .jvg-nav{top:var(--jvg-top-h);right:auto;bottom:0;width:var(--jvg-rail-w);height:auto;flex-direction:column;padding:14px 8px;border-top:0;border-right:1px solid var(--jvs-line);gap:4px;}
  .jvg-nav-btn{flex:0 0 auto;margin:0;padding:10px 4px;font-size:11px;}
  .jvg-top-title{display:block;}
  .jvg-brand img{height:38px;}
  .jvg-lead{grid-template-columns:1fr 1fr;align-items:start;padding:22px;}
  .jvg-main{padding:0 28px 32px;}
  .jvg-crumbs{padding:16px 28px 0;}
}
@media (min-width:1100px){
  :root{--jvg-rail-w:220px;}
  .jvg-nav{padding:18px 12px;}
  .jvg-nav-btn{flex-direction:row;justify-content:flex-start;gap:14px;padding:12px 14px;font-size:14.5px;}
}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto !important;transition:none !important;}}
@media print{.jvg-top,.jvg-nav,.jvg-lead,.jvg-account,.jvg-skip,.jvg-lessons-prompt{display:none !important;}body.jvg{padding:0;}}

/* ---- The library (/learn/): search, filters, paths ---- */
.jvg-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;}
.jvg-lib{display:flex;flex-direction:column;gap:12px;margin-top:8px;}
.jvg-search input{width:100%;box-sizing:border-box;min-height:52px;padding:0 18px;border-radius:999px;border:1px solid var(--jvs-line);background:var(--jvs-surface);color:var(--jvs-ink);font:600 17px var(--jvs-font);}
.jvg-search input:focus{outline:3px solid rgba(238,125,28,.45);outline-offset:1px;}
.jvg-filters{display:flex;gap:8px;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none;}
.jvg-chip-btn{flex:0 0 auto;min-height:40px;padding:0 14px;border-radius:999px;border:1px solid var(--jvs-line);background:var(--jvs-surface);color:var(--jvs-ink);font:700 14px var(--jvs-font);cursor:pointer;white-space:nowrap;}
.jvg-chip-btn[aria-pressed="true"]{background:var(--jvs-accent-soft);color:var(--jvs-accent);border-color:color-mix(in srgb,var(--jvs-accent) 55%,transparent);}
.jvg-lib-count{margin:0;color:var(--jvs-muted);font-weight:700;font-size:14px;}
.jvg-lib-list{list-style:none;margin:0;padding:0;}
.jvg-lib-item[hidden]{display:none;}
.jvg-lib-empty{color:var(--jvs-muted);font-weight:600;}
.jvg-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.jvg-meta .jvg-kicker{margin:0;}
.jvg-level{font-size:11.5px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;padding:2px 8px;border-radius:999px;background:var(--jvs-accent-soft);color:var(--jvs-accent);}
.jvg-paths h2{margin:10px 0 10px;}
.jvg-path-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px;}
.jvg-path-card{display:flex;flex-direction:column;gap:6px;padding:16px;border-radius:18px;background:var(--jvs-surface);border:1px solid var(--jvs-line);color:var(--jvs-ink);text-decoration:none;font-size:14.5px;line-height:1.45;}
.jvg-path-card strong{font-size:17.5px;line-height:1.25;font-weight:900;}
.jvg-path-card>span:not(.jvg-meta){color:var(--jvs-muted);}
.jvg-path-card .jvg-path-count{font-weight:700;font-size:13px;}
.jvg-path-card:hover,.jvg-path-card:focus-visible{border-color:var(--jvs-accent);}
.jvg-steps{list-style:none;margin:18px 0;padding:0;display:flex;flex-direction:column;gap:10px;}
.jvg-step a{display:flex;gap:14px;align-items:flex-start;padding:14px 16px;border-radius:16px;background:var(--jvs-surface);border:1px solid var(--jvs-line);color:var(--jvs-ink);text-decoration:none;}
.jvg-step a:hover,.jvg-step a:focus-visible{border-color:var(--jvs-accent);}
.jvg-step-n{flex:0 0 36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--jvs-accent-soft);color:var(--jvs-accent);font-weight:900;}
.jvg-step.is-read .jvg-step-n{background:var(--jvs-accent);color:var(--jvs-surface);}
.jvg-step-body{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1;}
.jvg-step-body strong{font-size:17px;line-height:1.3;}
.jvg-step-body span{color:var(--jvs-muted);font-size:14.5px;line-height:1.45;}
.jvg-step-time{font-weight:700;font-size:13px !important;}
.jvg-step-done{font-size:12px;font-weight:800;color:var(--jvs-accent);}
.jvg-coming ul{color:var(--jvs-muted);}
.jvg-path-pre{color:var(--jvs-muted);font-weight:600;}
.jvg-in-paths{margin-top:32px;}
.jvg-in-paths h2{font-size:20px;font-weight:900;margin:0 0 10px;}
.jvg-in-path{padding:14px 16px;border-radius:16px;background:var(--jvs-surface);border:1px solid var(--jvs-line);margin-bottom:10px;}
.jvg-in-path p{margin:0 0 10px;}
.jvg-pn{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.jvg-pn a{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border-radius:12px;background:var(--jvs-accent-soft);color:var(--jvs-ink);text-decoration:none;font-weight:800;font-size:14.5px;line-height:1.35;min-height:44px;}
.jvg-pn a span{font-size:11.5px;letter-spacing:.05em;text-transform:uppercase;color:var(--jvs-accent);}
.jvg-pn-next{text-align:right;grid-column:2;}

/* The free PDF's booklet (guides/covers): the same picture as the private-lessons guides. */
.jvg-lead-cover{display:block;width:180px;height:auto;margin:0 auto 4px;filter:drop-shadow(0 10px 18px #0003);}
@media (min-width:760px){.jvg-lead{grid-template-columns:auto 1fr 1fr;align-items:center;}.jvg-lead-cover{width:200px;margin:0;}}

/* Video references: one small play icon after the words it supports (build.mjs anchorGroup).
   Hover or focus shows the moment(s); a click opens the video there; several moments open a
   short list (on a phone, a tap). Quiet in the text, readable in both themes. */
.jvg-cite{position:relative;display:inline-block;margin-left:3px;vertical-align:baseline;}
.jvg-cite-btn{display:inline-flex;align-items:center;gap:3px;min-height:24px;margin:-4px 0;padding:0 8px;border-radius:999px;border:1px solid var(--jvs-line);background:var(--jvs-surface);color:var(--jvs-ink);font:800 12.5px/1 var(--jvs-font,inherit);font-variant-numeric:tabular-nums;white-space:nowrap;text-decoration:none;vertical-align:middle;}
.jvg-cite-btn span{font-size:9.5px;color:#b8241e;}
html.gfmt-dark-mode .jvg-cite-btn span{color:#ff7a72;}
.jvg-cite-btn:hover,.jvg-cite.is-open .jvg-cite-btn{border-color:#c4302b;}
.jvg-cite-btn:focus-visible svg,.jvg-cite.is-open .jvg-cite-btn svg{opacity:1;color:#c4302b;}
.jvg-cite-btn:focus-visible{outline:2px solid var(--jvs-link);outline-offset:1px;}
.jvg-cite-pop{display:none;position:absolute;bottom:calc(100% + 6px);left:50%;transform:translateX(-50%);z-index:30;white-space:nowrap;background:var(--jvs-ink);color:var(--jvs-surface);font:700 12.5px/1.3 var(--jvs-font,inherit);padding:6px 9px;border-radius:8px;box-shadow:0 6px 18px #0004;}
.jvg-cite--many .jvg-cite-pop{display:none;flex-direction:column;gap:2px;padding:5px;}
.jvg-cite-pop a{display:flex;align-items:center;gap:6px;min-height:36px;padding:0 8px;border-radius:6px;color:var(--jvs-surface);text-decoration:none;}
.jvg-cite-pop a svg{width:14px;height:14px;color:#ff5a52;}
.jvg-cite-pop a:hover,.jvg-cite-pop a:focus-visible{background:color-mix(in srgb,var(--jvs-surface) 16%,transparent);}
@media (hover:hover){.jvg-cite:hover .jvg-cite-pop,.jvg-cite:focus-within .jvg-cite-pop{display:block;}.jvg-cite--many:hover .jvg-cite-pop,.jvg-cite--many:focus-within .jvg-cite-pop{display:flex;}}
.jvg-cite.is-open .jvg-cite-pop{display:flex;}
.jvg-cite-pop::after{content:"";position:absolute;top:100%;left:50%;margin-left:-6px;border:6px solid transparent;border-top-color:var(--jvs-ink);}

/* Every card that leads to content has a picture (Adam, 2026-11-04). */
.jvg-next--pic,.jvg-path-card{overflow:hidden;}
.jvg-next--pic img,.jvg-path-card img{display:block;width:calc(100% + 32px);max-width:none;margin:-14px -16px 10px;aspect-ratio:600/315;height:auto;object-fit:cover;}
.jvg-path-card img{margin-top:-16px;}
.jvg-pdfs{margin:34px 0;}
.jvg-pdfs-lede{color:var(--jvs-muted);margin:-4px 0 14px;}
.jvg-pdf-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:18px 14px;}
.jvg-pdf{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;text-decoration:none;color:var(--jvs-ink);font-size:14px;line-height:1.25;}
.jvg-pdf img{width:100%;height:auto;filter:drop-shadow(0 8px 14px #0003);transition:transform .15s;}
.jvg-pdf:hover img{transform:translateY(-3px);}

.jvg-step-thumb{display:block;width:150px;flex:0 0 150px;height:auto;aspect-ratio:600/315;object-fit:cover;border-radius:10px;}
@media (max-width:520px){.jvg-step-thumb{width:96px;flex-basis:96px;}}
/* ---- the video library (/learn/videos/) ---- */
.jvg--videos .jvg-main>*{max-width:1180px;}
.jvg-filter-gap{flex:0 0 10px;}
.jvv-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px 14px;}
.jvv-card{display:flex;flex-direction:column;gap:8px;color:var(--jvs-ink);text-decoration:none;border-radius:14px;}
.jvv-card:hover strong,.jvv-card:focus-visible strong{color:var(--jvs-link);}
.jvv-thumb{position:relative;display:block;aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:#0f3e1a;}
.jvv-thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.jvv-dur{position:absolute;right:6px;bottom:6px;padding:1px 6px;border-radius:5px;background:rgba(0,0,0,.82);color:#fff;font:700 12.5px/1.5 var(--jvs-font);}
.jvv-card-body{display:flex;flex-direction:column;gap:2px;min-width:0;}
.jvv-card strong{font-size:15px;line-height:1.3;font-weight:800;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.jvv-meta{font-size:13px;color:var(--jvs-muted);font-weight:600;}
.jvv-main{padding-top:8px;}
.jvv-layout{max-width:1240px;margin:0 auto;display:grid;gap:24px;}
.jvv-primary{min-width:0;}
.jvv-player{margin:0;border-radius:14px;overflow:hidden;background:#000;box-shadow:var(--jvs-shadow);}
.jvv-player .jvg-video-frame{border-radius:0;}
.jvv-player--short .jvg-video-frame{aspect-ratio:9/16;max-height:78vh;margin:0 auto;}
.jvv-head{padding:14px 0 4px;}
.jvv-head h1{margin:2px 0 6px;font-size:clamp(22px,4.6vw,30px);line-height:1.2;font-weight:900;letter-spacing:-.01em;}
.jvv-byline{margin:0;color:var(--jvs-muted);font-size:14.5px;font-weight:600;}
.jvv-byline a{font-weight:800;display:inline-flex;align-items:center;gap:4px;}
.jvv-byline svg{width:18px;height:18px;color:#e00;}
.jvv-primary section{margin-top:22px;}
.jvv-primary h2,.jvv-side h2{font-size:19px;font-weight:900;margin:0 0 10px;}
.jvv-hint{margin:0 0 8px;color:var(--jvs-muted);font-size:14px;}
.jvv-hint svg{width:15px;height:15px;vertical-align:-2px;}
.jvv-time{flex:0 0 auto;min-width:56px;min-height:36px;padding:0 10px;border-radius:999px;border:1px solid var(--jvs-line);background:var(--jvs-surface);color:var(--jvs-link);font:800 14px var(--jvs-font);cursor:pointer;font-variant-numeric:tabular-nums;}
.jvv-time:hover{border-color:var(--jvs-link);}
.jvv-time--none{border:0;background:none;min-width:0;padding:0;}
.jvv-practice{background:var(--jvs-surface);border:1px solid var(--jvs-line);border-radius:16px;padding:16px;}
.jvv-ex{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;}
.jvv-ex-row{display:flex;align-items:center;gap:12px;padding:10px 0;border-top:1px solid var(--jvs-line);}
.jvv-ex-row:first-child{border-top:0;padding-top:0;}
.jvv-ex-text{flex:1;min-width:0;font-size:15px;line-height:1.4;font-weight:600;}
.jvv-ex-from{display:block;font-size:13px;color:var(--jvs-muted);font-weight:600;margin-top:2px;}
.jvv-open{flex:0 0 auto;min-height:40px;padding:0 14px;font-size:14px;}
.jvv-pro{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin-top:12px;padding-top:12px;border-top:1px solid var(--jvs-line);}
.jvv-pro p{margin:0;flex:1 1 260px;font-size:15px;}
.jvv-pro-chip{display:inline-block;padding:2px 8px;border-radius:999px;background:var(--jvs-gold);color:var(--jvs-gold-ink);font:900 11.5px/1.5 var(--jvs-font);letter-spacing:.04em;text-transform:uppercase;vertical-align:1px;}
.jvv-chap-list{list-style:none;margin:0;padding:0;border:1px solid var(--jvs-line);border-radius:14px;overflow:hidden;background:var(--jvs-surface);}
.jvv-chap-list>li{display:block;border-top:1px solid var(--jvs-line);}
.jvv-chap-list>li:first-child{border-top:0;}
.jvv-chap-row{display:flex;align-items:stretch;}
.jvv-chap{flex:1;display:flex;gap:12px;align-items:center;min-height:48px;padding:6px 14px;color:var(--jvs-ink);text-decoration:none;font-weight:700;font-size:15px;line-height:1.35;}
.jvv-chap:hover{background:var(--jvs-accent-soft);}
.jvv-chap-t{flex:0 0 auto;min-width:3.4em;color:var(--jvs-link);font-weight:800;font-variant-numeric:tabular-nums;}
.jvv-chap-list>li.is-current{background:var(--jvs-accent-soft);box-shadow:inset 4px 0 0 var(--jvs-primary-solid);}
/* Lesson notes: what is taught at each moment, inside its chapter (or as the chapters). */
.jvv-notes{list-style:none;margin:0;padding:0 6px 8px 14px;display:flex;flex-direction:column;}
.jvv-chap-list--notes .jvv-notes{padding:6px 6px 6px 14px;}
.jvv-note{display:flex;align-items:flex-start;gap:10px;padding:5px 0;}
.jvv-time--sm{min-width:52px;font-size:13.5px;padding:0 8px;}
.jvv-note-body{flex:1;min-width:0;font-size:14.5px;line-height:1.4;padding-top:7px;}
.jvv-note-body strong{font-weight:800;}
.jvv-note-body p{margin:3px 0 0;color:var(--jvs-muted);font-size:14px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;cursor:pointer;}
.jvv-note-body p.is-open{display:block;-webkit-line-clamp:unset;cursor:auto;}
@media (min-width:1024px){.jvv-note-body p{-webkit-line-clamp:3;}}
.jvv-kind{display:inline-block;padding:0 7px;border-radius:999px;background:var(--jvs-accent-soft);color:var(--jvs-accent);font:800 11px/1.7 var(--jvs-font);letter-spacing:.04em;text-transform:uppercase;vertical-align:1px;white-space:nowrap;}
.jvv-chap-list>li.is-current .jvv-kind{background:var(--jvs-surface);}
.jvv-note-loop{flex:0 0 44px;height:44px;display:flex;align-items:center;justify-content:center;color:var(--jvs-accent);border-radius:999px;}
.jvv-note-loop svg{width:18px;height:18px;}
.jvv-note-loop:hover{background:var(--jvs-accent-soft);}
.jvv-loop{flex:0 0 48px;display:flex;align-items:center;justify-content:center;color:var(--jvs-accent);border-left:1px solid var(--jvs-line);}
.jvv-loop svg{width:20px;height:20px;}
.jvv-loop:hover{background:var(--jvs-accent-soft);}
.jvv-loop-all{margin:18px 0 0;font-weight:700;}
.jvv-loop-all svg{width:17px;height:17px;vertical-align:-3px;}
.jvv-download,.jvv-path{margin:10px 0 0;font-weight:700;}
.jvv-about p{margin:0 0 10px;font-size:16px;}
.jvv-concepts{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 0;}
.jvv-concepts .jvg-chip-btn{display:inline-flex;align-items:center;text-decoration:none;}
.jvv-transcript{margin-top:22px;border-top:1px solid var(--jvs-line);padding-top:8px;}
.jvv-transcript summary{cursor:pointer;font-weight:900;font-size:17px;min-height:44px;display:flex;align-items:center;}
.jvv-transcript ol{list-style:none;margin:0;padding:0;max-height:420px;overflow:auto;font-size:15px;line-height:1.5;}
.jvv-transcript li{display:flex;gap:10px;align-items:flex-start;padding:5px 0;}
.jvv-side h2{margin-top:6px;}
/* Learn next: a few steps with their reason, not a feed of thumbnails. */
.jvv-steps{display:flex;flex-direction:column;gap:10px;margin-bottom:14px;}
.jvv-step{display:flex;gap:12px;align-items:flex-start;padding:10px;border:1px solid var(--jvs-line);border-radius:14px;background:var(--jvs-surface);color:var(--jvs-ink);text-decoration:none;}
.jvv-step:hover,.jvv-step:focus-visible{border-color:var(--jvs-accent);}
.jvv-step .jvv-thumb{flex:0 0 128px;border-radius:9px;}
.jvv-step-body{display:flex;flex-direction:column;gap:3px;min-width:0;}
.jvv-step .jvg-kicker{margin:0;font-size:11.5px;}
.jvv-step strong{font-size:14.5px;line-height:1.3;font-weight:800;}
.jvv-step-why{font-size:13.5px;line-height:1.4;color:var(--jvs-muted);font-weight:600;}
.jvv-side .jvv-concepts{margin-top:12px;}
.jvv-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px;}
.jvv-save[aria-pressed="true"]{background:var(--jvs-accent-soft);color:var(--jvs-accent);border-color:var(--jvs-accent);}
.jvv-save[aria-pressed="true"] svg path{fill:currentColor;}
.jvv-resume{background:var(--jvs-primary);color:var(--jvs-primary-ink);border-color:transparent;box-shadow:var(--jvs-primary-shadow);}
.jvv-resume[hidden]{display:none;}
.jvv-more-info{min-width:0;}
.jvv-fold{margin-top:18px;border-top:1px solid var(--jvs-line);padding-top:6px;}
.jvv-fold summary{cursor:pointer;font-weight:900;font-size:17px;min-height:44px;display:flex;align-items:center;}
.jvv-about p:first-of-type{margin-top:4px;}
.jvv-list{display:flex;flex-direction:column;gap:12px;margin-bottom:18px;}
.jvv-list .jvv-card{flex-direction:row;gap:10px;align-items:flex-start;}
.jvv-list .jvv-thumb{flex:0 0 156px;border-radius:10px;}
.jvv-list .jvv-card strong{font-size:14px;}
.jvv-list .jvv-meta{font-size:12.5px;}
.jvv-all{font-weight:800;}
@media (min-width:1024px){
  .jvv-layout{grid-template-columns:minmax(0,1fr) 360px;grid-template-areas:"main side" "more side";align-items:start;}
  .jvv-primary{grid-area:main;}.jvv-side{grid-area:side;}.jvv-more-info{grid-area:more;}
  .jvv-side{position:sticky;top:calc(var(--jvg-top-h) + 12px);max-height:calc(100vh - var(--jvg-top-h) - 24px);overflow:auto;padding-right:2px;}
}
@media (max-width:767px){
  .jvv-main{padding-left:0;padding-right:0;}
  .jvv-player{border-radius:0;box-shadow:none;}
  .jvv-primary>*:not(.jvv-player):not(.jvv-stage),.jvv-side,.jvv-more-info{padding-left:16px;padding-right:16px;}
  .jvv-primary>.jvv-practice{margin-left:16px;margin-right:16px;padding:14px;}
  .jvv-ex-row{flex-wrap:wrap;}
  .jvv-ex-text{flex-basis:calc(100% - 70px);}
  .jvv-ex-row .jvv-open{margin-left:68px;}
}
@media (max-width:599px){
  .jvv-grid{grid-template-columns:1fr;gap:12px;}
  .jvv-grid .jvv-card{flex-direction:row;gap:12px;align-items:flex-start;}
  .jvv-grid .jvv-thumb{flex:0 0 148px;border-radius:10px;}
  .jvv-grid .jvv-card strong{font-size:14.5px;-webkit-line-clamp:3;}
}
/* ---- the practice controls under a video's player ---- */
.jvv-ctl{background:var(--jvs-surface);border:1px solid var(--jvs-line);border-top:0;border-radius:0 0 14px 14px;padding:10px 12px 8px;display:flex;flex-direction:column;gap:8px;}
.jvv-stage .jvv-player{border-radius:14px 14px 0 0;box-shadow:none;}
.jvv-stage{border-radius:14px;box-shadow:var(--jvs-shadow);}
.jvv-ctl[hidden]{display:none;}
.jvv-ctl-row{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;}
.jvv-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;min-width:44px;padding:0 12px;border-radius:999px;border:1px solid var(--jvs-line);background:var(--jvs-bg);color:var(--jvs-ink);font:800 14px var(--jvs-font);cursor:pointer;text-decoration:none;white-space:nowrap;}
.jvv-btn:hover{border-color:var(--jvs-accent);}
.jvv-btn svg{width:18px;height:18px;}
.jvv-loop-btn[aria-pressed="true"]{background:var(--jvs-accent-soft);color:var(--jvs-accent);border-color:var(--jvs-accent);}
.jvv-ctl-row>[data-jv-ctl-act="more"]{margin-left:auto;}
/* Play/Pause at the left of the bar, under the player's lower-left corner (YouTube's own controls stay untouched). */
.jvv-play{padding:0;width:44px;background:var(--jvs-ink);color:var(--jvs-bg);border-color:var(--jvs-ink);}
.jvv-play:hover{border-color:var(--jvs-ink);opacity:.88;}
.jvv-play svg{width:22px;height:22px;}
.jvv-play .jvv-i-pause,.jvv-play.is-playing .jvv-i-play{display:none;}
.jvv-play.is-playing .jvv-i-pause{display:block;}
.jvv-speed{display:inline-flex;align-items:center;border:1px solid var(--jvs-line);border-radius:999px;background:var(--jvs-bg);}
.jvv-speed .jvv-btn{border:0;background:transparent;font-size:20px;padding:0 10px;}
.jvv-speed-val{min-width:58px;min-height:44px;border:0;background:transparent;color:var(--jvs-ink);font:900 16px var(--jvs-font);font-variant-numeric:tabular-nums;cursor:pointer;}
.jvv-tl{position:relative;height:40px;touch-action:none;}
.jvv-tl-track{position:absolute;left:14px;right:14px;top:18px;height:6px;border-radius:3px;background:var(--jvs-line);cursor:pointer;}
.jvv-tl-range{position:absolute;top:0;bottom:0;background:color-mix(in srgb,var(--jvs-primary-solid) 45%,transparent);border-radius:3px;}
.jvv-ctl.is-looping .jvv-tl-range{background:var(--jvs-primary-solid);}
.jvv-tl-head{position:absolute;top:-5px;width:3px;height:16px;margin-left:-1px;background:var(--jvs-ink);border-radius:2px;}
.jvv-tl-h{position:absolute;top:-15px;width:28px;height:36px;transform:translateX(-50%);border:0;border-radius:8px;background:var(--jvs-green-dark);color:#fff;font:900 13px var(--jvs-font);cursor:grab;touch-action:none;}
.jvv-tl-h:active{cursor:grabbing;}
.jvv-ab{display:flex;align-items:center;justify-content:space-between;gap:6px;}
.jvv-ab-pt{display:inline-flex;align-items:center;}
.jvv-ab-set{min-height:44px;padding:0 8px;border:0;background:transparent;color:var(--jvs-ink);font:700 14px var(--jvs-font);font-variant-numeric:tabular-nums;cursor:pointer;border-radius:8px;}
.jvv-ab-set b{color:var(--jvs-link);}
.jvv-ab-set:hover{background:var(--jvs-accent-soft);}
.jvv-nudge{min-width:36px;min-height:44px;border:0;background:transparent;color:var(--jvs-muted);font:900 20px var(--jvs-font);cursor:pointer;border-radius:8px;}
.jvv-nudge:hover{color:var(--jvs-ink);background:var(--jvs-accent-soft);}
.jvv-ab-now{color:var(--jvs-muted);font:700 13px var(--jvs-font);font-variant-numeric:tabular-nums;}
.jvv-status{margin:0;min-height:0;font-size:13.5px;color:var(--jvs-muted);font-weight:600;}
.jvv-status:empty{display:none;}
.jvv-more{border-top:1px solid var(--jvs-line);padding-top:8px;display:flex;flex-direction:column;gap:8px;}
.jvv-more[hidden]{display:none;}
.jvv-more-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.jvv-more-label{font-weight:800;font-size:14px;min-width:96px;}
.jvv-seg{display:inline-flex;border:1px solid var(--jvs-line);border-radius:999px;overflow:hidden;background:var(--jvs-bg);}
.jvv-seg button{min-height:40px;padding:0 12px;border:0;background:transparent;color:var(--jvs-ink);font:700 13.5px var(--jvs-font);cursor:pointer;white-space:nowrap;}
.jvv-seg button[aria-pressed="true"]{background:var(--jvs-accent-soft);color:var(--jvs-accent);}
.jvv-more-note,.jvv-keys{margin:0;font-size:13px;color:var(--jvs-muted);}
@media (hover:none){.jvv-keys{display:none;}}
@media (max-width:767px){
  .jvv-stage.is-on{position:sticky;top:var(--jvg-top-h);z-index:5;}
  .jvv-stage{border-radius:0;box-shadow:0 6px 14px rgba(0,0,0,.18);}
  .jvv-stage .jvv-player{border-radius:0;}
  .jvv-ctl{border-radius:0;border-left:0;border-right:0;padding:6px 10px 4px;gap:2px;}
  .jvv-ctl-row{gap:6px;}
  .jvv-btn{padding:0 10px;}
  .jvv-loop-btn span{display:none;}
  .jvv-more{max-height:40vh;overflow:auto;}
  .jvv-more-label{min-width:0;width:100%;}
}
/* A sits just left of its point and B just right of its, so a short loop still shows both. */
.jvv-tl-a{transform:translateX(-100%);border-radius:8px 2px 2px 8px;width:24px;}
.jvv-tl-b{transform:none;border-radius:2px 8px 8px 2px;width:24px;}
.jvv-ab-set{white-space:nowrap;}
@media (max-width:420px){.jvv-ab-set{padding:0 4px;font-size:13.5px;}.jvv-nudge{min-width:32px;}}
.jvv-tl-h::after{content:"";position:absolute;left:50%;top:10px;bottom:10px;width:2px;margin-left:-1px;background:rgba(255,255,255,.7);border-radius:1px;}  /* a grip, no letter */
/* ---- the video library: your lessons, goals and concepts ---- */
.jvv-shelf{margin:0 0 18px;display:flex;flex-direction:column;gap:14px;}
.jvv-shelf[hidden],.jvv-shelf [hidden]{display:none;}
.jvv-shelf h2{font-size:18px;font-weight:900;margin:0 0 8px;}
.jvv-shelf-row{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:4px;}
.jvv-shelf-row .jvv-card{flex:0 0 220px;scroll-snap-align:start;}
.jvv-progress{position:absolute;left:0;right:0;bottom:0;height:4px;background:rgba(0,0,0,.45);}
.jvv-progress span{display:block;height:100%;background:var(--jvs-primary-solid);}
.jvv-filter-label{margin:14px 0 6px;font-weight:800;font-size:14.5px;}
.jvv-concept-row{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;}
.jvv-concept-row[hidden]{display:none;}
.jvv-concept-row .jvg-chip-btn{flex:0 0 auto;}
.jvv-order{margin:4px 0 8px;font-size:13.5px;color:var(--jvs-muted);font-weight:600;}
.jvv-order[hidden]{display:none;}
/* With Play/Pause in the bar, a small phone keeps every control on one row (44px targets kept). */
@media (max-width:420px){
  .jvv-ctl-row{gap:4px;}
  .jvv-ctl-row>.jvv-btn{padding:0 7px;}
  .jvv-speed .jvv-btn{padding:0 6px;}
  .jvv-speed-val{min-width:48px;font-size:15px;}
  .jvv-ctl-row>[data-jv-ctl-act="more"]{padding:0 9px;font-size:13.5px;}
}

/* Save this guide to the Library (the app saves it: ?jv=save-guide/<slug>). */
/* Paired page actions share size and icon (D-123): one row, equal pills, each with its glyph. */
.jvg-actions{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 0}
.jvg-save{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:1 1 160px;max-width:240px;margin:0;padding:8px 14px;border-radius:999px;border:1.5px solid var(--jvs-accent);color:var(--jvs-accent);font-weight:800;font-size:14px;text-decoration:none;min-height:44px;white-space:nowrap;box-sizing:border-box}
.jvg-save[hidden],.jvv-btn[hidden]{display:none}
.jvg-save:hover{background:var(--jvs-accent-soft)}
.jvg-save span{font-size:18px;line-height:1}

/* The unified-plan handoff is opt-in to the new app, never a broken legacy-app link. */
[data-jv-plan-add][hidden]{display:none !important;}

/* Signature guides and the guide block components (:::pullquote, :::checklist, :::callout, :::actions;
   guides/lib/markdown.mjs). Text on the green hero is white and gold on #0f3e1a-#17592a (AA in both themes). */
.jvg-hero--signature{position:relative;overflow:hidden;isolation:isolate;margin:12px -16px 8px;padding:28px 20px 24px;
  background:var(--jvs-green-bar);color:#fff;border-radius:0;box-shadow:var(--jvs-shadow);}
@media (min-width:640px){.jvg-hero--signature{margin:16px 0 8px;padding:40px 40px 32px;border-radius:24px;}}
.jvg-hero--signature .jvg-hero-note{position:absolute;z-index:-1;right:-18px;top:-10px;width:auto;height:118%;color:#f6d36b;opacity:.16;}
.jvg-hero--signature .jvg-kicker{color:#f6d36b;}
.jvg-hero--signature h1{color:#fff;font-size:clamp(32px,7.4vw,48px);max-width:16ch;}
.jvg-hero--signature .jvg-promise{color:#e8f1ea;max-width:46ch;}
.jvg-hero--signature .jvg-byline{color:#cfe0d4;}
.jvg-hero--signature a{color:#ffe3a3;}
.jvg-hero--signature .jvg-save{color:#fff;border-color:rgba(255,255,255,.55);background:rgba(255,255,255,.08);}
.jvg-hero-quote{margin:18px 0 16px;padding:0 0 0 16px;border-left:4px solid #f6d36b;}
.jvg-hero-quote blockquote{margin:0;}
.jvg-hero-quote p{margin:0;font-size:clamp(21px,4.8vw,27px);line-height:1.3;font-weight:800;font-style:italic;letter-spacing:-.01em;color:#fff;}
.jvg-hero-quote figcaption{margin-top:6px;font-size:13.5px;font-weight:700;color:#cfe0d4;}

.jvg-body>p{font-size:18px;line-height:1.7;}
.jvg-body h2{padding-top:18px;border-top:1px solid var(--jvs-line);}
.jvg-body .jvg-card-title{margin:0 0 8px;padding:0;border:0;font-size:19px;line-height:1.3;font-weight:900;}

.jvg-pullquote{margin:28px 0;padding:6px 0 6px 22px;border-left:5px solid #d9a326;max-width:62ch;}
.jvg-body .jvg-pullquote blockquote{margin:0;padding:0;border:0;background:none;border-radius:0;}
.jvg-pullquote blockquote p{margin:0;font-size:clamp(20px,4.4vw,24px);line-height:1.4;font-weight:800;font-style:italic;color:var(--jvs-ink);}
.jvg-pullquote blockquote p::before{content:"\201C";}
.jvg-pullquote blockquote p::after{content:"\201D";}
.jvg-pullquote figcaption{margin-top:8px;font-size:14px;font-weight:700;color:var(--jvs-muted);display:flex;flex-wrap:wrap;gap:4px 10px;}
.jvg-pq-by{color:var(--jvs-ink);}

.jvg-checklist,.jvg-callout,.jvg-actions{margin:24px 0;padding:18px 18px 16px;border-radius:18px;max-width:68ch;}
.jvg-checklist{background:var(--jvs-surface);border:1px solid var(--jvs-line);box-shadow:0 6px 20px rgba(21,55,32,.07);}
.jvg-body .jvg-checks{list-style:none;margin:0;padding:0;display:grid;gap:10px;}
.jvg-checks li{position:relative;margin:0;padding-left:34px;font-size:17px;line-height:1.5;}
.jvg-checks li::before{content:"";position:absolute;left:0;top:1px;width:22px;height:22px;border-radius:7px;background:var(--jvs-accent-soft);border:2px solid var(--jvs-accent);}
.jvg-checks li::after{content:"";position:absolute;left:8px;top:5px;width:6px;height:11px;border:solid var(--jvs-accent);border-width:0 3px 3px 0;transform:rotate(45deg);}
.jvg-callout{background:var(--jvs-accent-soft);border-left:5px solid var(--jvs-accent);}
.jvg-callout p:last-child,.jvg-callout ul:last-child{margin-bottom:0;}
.jvg-callout p:first-of-type{margin-top:0;}
.jvg-callout--warm{background:#fff4d6;border-left-color:#d9a326;color:#3a2a08;}
.jvg-callout--warm .jvg-card-title,.jvg-callout--warm p{color:#3a2a08;}
html.gfmt-dark-mode .jvg-callout--warm{background:#33280c;border-left-color:#e0b04a;color:#ffe9b8;}
html.gfmt-dark-mode .jvg-callout--warm .jvg-card-title,html.gfmt-dark-mode .jvg-callout--warm p{color:#ffe9b8;}
.jvg-callout--quiet{background:transparent;border:1px dashed var(--jvs-line);border-left:1px dashed var(--jvs-line);}
.jvg-callout--quiet .jvg-card-title{font-size:16.5px;}

.jvg-actions{padding:22px 18px 20px;background:var(--jvs-green-bar);color:#fff;box-shadow:var(--jvs-shadow);}
.jvg-body .jvg-actions .jvg-card-title{color:#fff;font-size:22px;}
.jvg-act-row{display:grid;gap:10px;}
@media (min-width:640px){.jvg-act-row{grid-template-columns:1.4fr 1fr 1fr;}}
.jvg-act{display:flex;flex-direction:column;justify-content:center;gap:2px;min-height:56px;padding:10px 16px;border-radius:14px;text-decoration:none;
  background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.35);color:#fff;font:800 16px/1.3 var(--jvs-font);}
.jvg-act:hover{background:rgba(255,255,255,.16);}
.jvg-act.jvg-act--primary{align-self:stretch;align-items:flex-start;border-radius:14px;height:auto;background:linear-gradient(180deg,#f6d36b,#d9a326);color:#3a2a08;border:0;box-shadow:0 8px 18px rgba(0,0,0,.25);}
.jvg-act-note{font-size:13.5px;font-weight:600;color:#dce9df;}
.jvg-act--primary .jvg-act-note{color:#4a3608;}
.jvg-act:focus-visible{outline:3px solid #ffe3a3;outline-offset:2px;}
