/* Scoped learning library; no animations, experiments or shared typography changes. */
.vm-library{padding-top:2rem;padding-bottom:1.25rem}
.vm-library-heading{max-width:50rem;margin-bottom:1.5rem}.vm-library-eyebrow{margin:0 0 .7rem;font-size:.875rem;letter-spacing:.09em;font-weight:800;color:var(--ink-soft)}
.vm-library-heading h1{margin:0 0 .8rem;font-size:clamp(2rem,4.2vw,3.2rem);line-height:1.15;letter-spacing:-.04em}.vm-library-heading>p:last-child{margin:0;font-size:1.0625rem;color:var(--muted)}
.vm-library-topics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem;padding-bottom:1.4rem;border-bottom:1px solid var(--line)}
.vm-library-topics a{display:flex;align-items:center;justify-content:space-between;gap:.55rem;padding:.8rem 1rem;min-height:3rem;border:1px solid #9691b0;border-radius:12px;background:var(--white);font-size:1rem;line-height:1.4;font-weight:750;text-decoration:none}
.vm-library-count{display:grid;place-items:center;flex-shrink:0;min-width:1.65rem;min-height:1.65rem;border-radius:50%;font-size:.875rem;background:var(--mint);color:var(--ink)}
.vm-library-topics a:hover{background:#e0f5ef}.vm-library-topics .vm-library-routes-link{grid-column:1/-1;justify-content:flex-start;width:fit-content;border:0;padding:.55rem 0 0;min-height:2.5rem;background:none;text-decoration:underline}
.vm-library-group{margin-top:2.25rem;scroll-margin-top:6.5rem}.vm-library-group-heading{margin-bottom:1.3rem}.vm-library-group-heading h2{font-size:1.8rem;line-height:1.2;letter-spacing:-.03em;margin:0 0 .4rem}.vm-library-group-heading p{font-size:1rem;color:var(--muted);margin:0}
.vm-library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.35rem}.vm-library-card{display:flex;flex-direction:column;min-width:0;background:var(--white);border:1px solid #bab5ca;border-radius:18px;overflow:hidden}
.vm-library-read{display:flex;flex-direction:column;flex:1;min-width:0;text-decoration:none}.vm-library-visual{position:relative;border-bottom:1px solid var(--line);background:var(--white)}.vm-library-visual img{width:100%;height:auto;aspect-ratio:5/3;object-fit:contain}
.vm-library-static{display:block;padding:.3rem .8rem;font-size:.875rem;line-height:1.4;font-weight:700;color:var(--ink-soft);background:#efecf6}
.vm-library-copy{display:flex;flex-direction:column;flex:1;padding:1.25rem 1.25rem 1rem;min-width:0}.vm-library-meta{margin:0 0 .6rem;font-size:.875rem;font-weight:800;color:var(--ink-soft)}
.vm-library-card h3{margin:0 0 .85rem;font-size:1.35rem;font-weight:800;line-height:1.3;letter-spacing:-.02em;overflow-wrap:anywhere}.vm-library-description{font-size:1rem;line-height:1.65;margin:0 0 1rem;color:var(--muted)}
.vm-library-read-label{display:flex;justify-content:space-between;gap:1rem;margin-top:auto;padding-top:.4rem;font-size:1rem;font-weight:800}.vm-library-read:hover h3{text-decoration:underline;text-underline-offset:4px}
.vm-library-card-footer{margin:0 1.25rem;padding:.8rem 0 1rem;border-top:1px solid var(--line)}.vm-library-card-footer a{display:flex;align-items:center;justify-content:space-between;gap:.65rem;min-height:2.75rem;font-size:1rem;font-weight:750;line-height:1.4;text-decoration:none;overflow-wrap:anywhere}.vm-library-practice-label{display:block;font-size:.875rem;color:var(--muted);font-weight:500;margin-bottom:.25rem}.vm-library-card-footer a:hover{text-decoration:underline;text-underline-offset:4px}
.vm-library a:focus-visible{outline:3px solid var(--ink);outline-offset:4px}.vm-library-read:focus-visible{outline-offset:-5px!important}
.vm-library-sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
html:has(.vm-library) #topic-routes-title{scroll-margin-top:6.5rem}
@media(max-width:980px){.vm-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.vm-library-topics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.vm-library{padding-top:1.4rem}.vm-library-grid{grid-template-columns:minmax(0,1fr);gap:1.15rem}.vm-library-heading h1{font-size:2rem}.vm-library-topics a{padding:.7rem;font-size:.9375rem}.vm-library-group{margin-top:1.75rem;scroll-margin-top:6rem}.vm-library-group-heading h2{font-size:1.6rem}.vm-library-card h3{font-size:1.4rem}}
@media(prefers-reduced-motion:reduce){html:has(.vm-library){scroll-behavior:auto}}
@media print{.vm-library-topics{display:none}.vm-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.vm-library-card{break-inside:avoid}}
