/* Library map (/my/library/). Layers on courses.css and my.css. Built by scripts/products/library.py. */
.lm .pwp-body{max-width:1180px}
.lm-account{margin:0 0 18px;font-size:14px;color:var(--mut,#5a625f)}
.lm-account a{font-weight:700}
.lm-tools{margin:0 0 26px}
.lm-search{display:block}
.lm-search span{display:block;font-size:14px;font-weight:700;margin:0 0 6px}
.lm-search input{width:100%;min-height:54px;font-size:17px;font-family:inherit;border:1px solid #c9d1cc;border-radius:12px;padding:10px 16px;background:#fff}
.lm-search input:focus{outline:2px solid #00806f;outline-offset:1px;border-color:#00806f}
.lm-chips{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0}
.lm-chip{font:inherit;font-size:14px;line-height:1.2;padding:8px 12px;border-radius:999px;border:1px solid #c9d1cc;background:#fff;color:#202523;cursor:pointer}
.lm-chip small{color:#5a625f;font-size:12px;margin-left:2px}
.lm-chip:hover{border-color:#00806f}
.lm-chip[aria-pressed=true]{background:#0f766e;border-color:#0f766e;color:#fff}
.lm-chip[aria-pressed=true] small{color:#d6efe9}
.lm-results{margin:16px 0 0;padding:16px 18px;border-radius:12px;background:#eef3ef}
.lm-results ul{list-style:none;margin:8px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:6px 14px;max-height:340px;overflow:auto}
.lm-results button{display:block;width:100%;text-align:left;font:inherit;background:#fff;border:1px solid #dce1d7;border-radius:9px;padding:9px 12px;cursor:pointer}
.lm-results button:hover{border-color:#00806f}
.lm-results b{display:block;font-size:15px;line-height:1.3}
.lm-results small{display:block;font-size:12px;color:#5a625f;line-height:1.35;margin-top:2px}
.lm-count{margin:0;font-size:14px;font-weight:700}
.lm-k{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#326c65;font-weight:700}
.lm-stage{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:28px;align-items:start;margin:0 0 44px}
@media(max-width:900px){.lm-stage{grid-template-columns:minmax(0,1fr)}}
.lm-trail{margin:0 0 6px;font-size:14px;min-height:21px;color:#5a625f}
.lm-trail button{font:inherit;background:none;border:0;padding:0;color:#00806f;text-decoration:underline;cursor:pointer}
.lm-svg{max-width:700px;margin:0 auto}
.lm-svg svg{display:block;width:100%;height:auto;touch-action:manipulation}
.lm-loading{padding:60px 0;text-align:center;color:#5a625f}
.lm-svg{position:relative}
.lm-halo{fill:none;stroke:#d9ded6;stroke-width:1;stroke-dasharray:2 7}
.lm-arc{cursor:pointer;outline:none}
.lm-arc path{stroke:#f7f5f1;stroke-width:0;transition:opacity .35s,filter .2s}
.lm-arc.is-trail path{filter:brightness(1.16) saturate(1.15)}
.lm-arc:focus-visible path{stroke:#111318;stroke-width:2.5}
.lm-arc.is-on path{stroke:#111318;stroke-width:2.5;filter:brightness(1.1)}
.lm-arc.is-locked path{opacity:.36}
.lm-arc.is-dim path{opacity:.1}
.lm-arc.is-hit path{stroke:#111318;stroke-width:1.4;animation:lm-pulse 1.8s ease-in-out infinite}
.lm-arc.is-done path{stroke:#0b5f58;stroke-width:2.5}
@keyframes lm-pulse{50%{filter:brightness(1.28) saturate(1.3)}}
.lm-labs{opacity:0;pointer-events:none}
.lm-labs.is-in{opacity:1;transition:opacity .45s ease}
.lm-lab{font:650 12.2px/1 'Mulish',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;fill:#fff;letter-spacing:.01em}
.lm-lab.dark{fill:#16201d}
.lm-lab.sm{font-size:10.5px;font-weight:600}
.lm-lab.is-dim{opacity:.18}
.lm-centre{cursor:default;outline:none}
.lm-core{fill:#111318;transition:fill .25s}
.lm-spin{fill:none;stroke:#3fd0b6;stroke-width:1.5;stroke-dasharray:3 9;transform-origin:330px 330px;animation:lm-spin 40s linear infinite;opacity:.8}
@keyframes lm-spin{to{transform:rotate(360deg)}}
.lm-centre.can-back{cursor:pointer}
.lm-centre.can-back:hover .lm-core,.lm-centre:focus-visible .lm-core{fill:#0f766e}
.lm-ctext{font:700 13px/1 'Montserrat','Mulish',sans-serif;fill:#fff;pointer-events:none}
.lm-back{font:650 11px/1 'Mulish',sans-serif;fill:#9fe1cb;pointer-events:none;letter-spacing:.04em}
.lm-tip{position:absolute;z-index:3;max-width:260px;padding:9px 12px;border-radius:10px;background:#111318;color:#fff;font-size:13.5px;line-height:1.35;pointer-events:none;box-shadow:0 8px 24px rgba(17,19,24,.22)}
.lm-tip small{display:block;font-size:10.5px;letter-spacing:.07em;text-transform:uppercase;color:#7fe3d2;font-weight:700}
.lm-tip b{display:block}
.lm-tip span{display:block;color:#c5cbc8;font-size:12.5px;margin-top:2px}
.lm-card>*{animation:lm-rise .35s ease both}
@keyframes lm-rise{from{opacity:0;transform:translateY(6px)}}
.lm-chip{transition:background .2s,border-color .2s,transform .15s}
.lm-chip:hover{transform:translateY(-1px)}
.lm-hint{text-align:center;font-size:13px;color:#5a625f;margin:8px 0 0}
.lm-legend{list-style:none;display:flex;gap:18px;justify-content:center;padding:0;margin:8px 0 0;font-size:13px;color:#5a625f}
.lm-legend i{display:inline-block;width:14px;height:14px;border-radius:4px;margin-right:6px;vertical-align:-2px;background:#28466c}
.lm-legend .lm-lock{opacity:.38}
.lm-legend .lm-done{background:#fff;border:2.5px solid #0f766e}
.lm-card{position:sticky;top:90px;padding:24px;border-top:4px solid #00806f;max-height:calc(100vh - 110px);overflow:auto}
@media(max-width:900px){.lm-card{position:static;max-height:none}}
.lm-card h2{font-size:23px;line-height:1.2;letter-spacing:-.01em;margin:0 0 8px;text-transform:none}
.lm-card h2:focus{outline:none}
.lm-card p{font-size:15px;line-height:1.55;margin:0 0 12px}
.lm-meta{font-weight:700;color:#326c65}
.lm-move{background:#eef3ef;border-radius:9px;padding:10px 12px}
.lm-locked{color:#823b24;font-weight:700}
.lm-actions{display:flex;flex-wrap:wrap;gap:10px;margin:4px 0 16px}
.lm-kids{list-style:none;margin:0;padding:0;border-top:1px solid #e1e4db}
.lm-kids li{border-bottom:1px solid #e1e4db;margin:0;padding:0}
.lm-kids button{display:flex;justify-content:space-between;gap:12px;width:100%;text-align:left;font:inherit;font-size:14.5px;line-height:1.35;background:none;border:0;padding:10px 2px;cursor:pointer;color:inherit}
.lm-kids button:hover span{text-decoration:underline}
.lm-kids small{flex:0 0 auto;color:#5a625f;font-size:12.5px}
.lm-kids .is-done span:before{content:"\2713  ";color:#0f766e;font-weight:700}
.lm-kids .is-locked span,.lm-results .is-locked b{color:#7b837f}
.lm-up{font-size:14px;color:#5a625f}
.lm-up button{font:inherit;background:none;border:0;padding:0;color:#00806f;text-decoration:underline;cursor:pointer}
.lm-tree,.lm-tree ul{list-style:none;margin:0;padding:0}
.lm-tree ul{padding-left:18px;border-left:2px solid #e1e4db;margin:4px 0 10px 6px}
.lm-tree summary{cursor:pointer;padding:9px 0;font-size:16px;font-weight:700;line-height:1.35}
.lm-tree ul ul summary{font-size:15px}
.lm-tree small{font-weight:400;color:#5a625f;font-size:12.5px;margin-left:4px}
.lm-tree li>a{display:inline-block;padding:6px 0;font-size:15px;line-height:1.4;color:inherit;text-decoration:none}
.lm-tree li>a:hover{text-decoration:underline}
.lm-tree .is-dim{opacity:.35}
.lm-tree .is-hit>a,.lm-tree .is-hit>details>summary{background:#fdf3c8}
.lm-tree li.is-locked>a{color:#7b837f}
.lm-tree li.is-done>a:before{content:"\2713  ";color:#0f766e;font-weight:700}
@media(prefers-reduced-motion:reduce){.lm-arc path,.lm-labs.is-in,.lm-chip{transition:none}.lm-spin,.lm-arc.is-hit path,.lm-card>*{animation:none}}

/* Embedded on /my/ below the products (2026-11-28) */
.my-library{border-top:1px solid #e1e4db;padding-top:36px}
.my-library-head{display:flex;flex-wrap:wrap;gap:14px 28px;align-items:flex-end;justify-content:space-between;margin:0 0 22px}
.my-library-head h2{margin:4px 0 8px}
.my-library-head .my-lead{margin:0;max-width:680px}
.lm-embed .lm-stage{margin-bottom:22px}
.lm-outline-embed{margin:0 0 8px}
.lm-outline-embed>details>summary{cursor:pointer;font-size:16px;font-weight:700;padding:12px 0;color:#00806f}
.lm-embed .lm-chips{flex-wrap:nowrap;overflow-x:auto;padding:2px 2px 8px;scrollbar-width:thin;-webkit-mask-image:linear-gradient(90deg,#000 92%,transparent);mask-image:linear-gradient(90deg,#000 92%,transparent)}
.lm-embed .lm-chip{flex:0 0 auto}
.lm-embed .lm-tools{margin-bottom:18px}
@media(max-width:700px){.lm-chips{flex-wrap:nowrap;overflow-x:auto;padding:2px 2px 8px;-webkit-mask-image:linear-gradient(90deg,#000 90%,transparent);mask-image:linear-gradient(90deg,#000 90%,transparent)}.lm-chip{flex:0 0 auto}}

/* On the Academy sales page above "Sound familiar?" (2026-11-29): the same map, drawn from the Academy branch */
.pwp.ac .ac-map{border-bottom:1px solid #e4dfd4}
.pwp.ac .ac-map .ac-h2{margin-bottom:14px}
.pwp.ac .ac-map-lead{font-size:18px;line-height:1.55;color:#4c5451;max-width:640px;margin:0 0 34px}
.lm-sales .lm-stage{margin-bottom:0}
.lm-sales .lm-legend{display:none}
.lm-sales.lm-member .lm-legend{display:flex}
.lm-sales .lm-locked{color:#0f766e}
.pwp.ac .lm-sales .lm-card h2{font-size:26px;line-height:1.18;margin:0 0 8px}
