/* A functional route diagram, with a compact chess collection. */
body[data-surface=account] .learning-map{min-width:0;max-width:100%;color:#251d1a}
.learning-map *{box-sizing:border-box}
.learning-map .lm-heading{margin-bottom:24px}.learning-map .lm-heading h2{font:600 clamp(1.8rem,3vw,2.5rem)/1.2 Manrope,sans-serif;margin:8px 0 12px;letter-spacing:-.04em}
.lm-eyebrow{font:600 .75rem/1.5 Manrope,sans-serif;letter-spacing:.12em;color:#765333}.lm-muted{color:#6c625a;font-size:.9375rem;line-height:1.65}
.learning-map .lm-overview{display:grid;grid-template-columns:1fr auto;gap:14px 24px;padding:24px 28px;background:#251d1a;color:#f4f0e8;border:1px solid #775c40;border-radius:24px;margin-bottom:24px}
.lm-identity{display:flex;align-items:center;gap:14px;font:600 1rem/1.5 Manrope,sans-serif}.lm-avatar{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;flex-shrink:0;border-radius:50%;background:#f4f0e8;color:#493526;border:2px solid #aa8760;font:700 .8125rem/1 Manrope,sans-serif}
.lm-score{align-self:center;font-size:.875rem;margin:0!important}.lm-overview progress{grid-column:1/-1;width:100%;height:7px;accent-color:#c9a36e;border:0;border-radius:100px;overflow:hidden;background:#514237}.lm-overview progress::-webkit-progress-bar{background:#514237}.lm-overview progress::-webkit-progress-value{background:#c9a36e}.lm-overview progress::-moz-progress-bar{background:#c9a36e}
.lm-next-link{grid-column:1/-1;color:#f4f0e8;font-size:.9375rem;text-decoration:underline;text-underline-offset:5px;line-height:1.65}
.lm-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}.lm-filters button{min-height:44px;padding:10px 15px;border:1px solid #d9cbbb;background:#faf7f1;color:#61564c;border-radius:100px;font:500 .875rem/1.4 Manrope,sans-serif}.lm-filters button[aria-pressed=true]{background:#493526;color:#fffaf3;border-color:#493526}
.lm-announcement{font-size:.875rem;color:#6c625a;margin:0 0 18px!important}
.lm-stage{border:1px solid #d9cbbb;border-radius:24px;background:#faf8f4;overflow:hidden;min-width:0}.lm-stage-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:26px 28px 0}.lm-stage-heading h3{font:600 1.35rem/1.35 Manrope,sans-serif;margin:7px 0}.lm-stage-heading p{margin:0}.lm-scroll-controls{display:flex;gap:8px}.lm-scroll-controls button{min-height:44px;border:1px solid #d4c4af;border-radius:10px;padding:10px 14px;background:#f4f0e8;color:#493526;font-size:.875rem}.lm-scroll-controls button:disabled{opacity:.4;cursor:default}
.lm-viewport{overflow-x:auto;overscroll-behavior-x:contain;padding:0 28px 26px;scroll-padding-inline:28px;scrollbar-width:thin;scrollbar-color:#baa185 transparent;max-width:100%;position:relative}
.lm-track{display:flex;list-style:none;margin:0;padding:0;gap:28px;width:max-content;min-width:100%;align-items:stretch;position:relative}
.lm-node{width:230px;flex:0 0 230px;position:relative;padding:0;margin:0;display:flex;flex-direction:column;align-items:center}
.lm-node:not(:last-child)::after{content:"";position:absolute;left:calc(50% + 36px);top:99px;width:calc(100% - 44px);height:2px;background:#d5d0c9;pointer-events:none}
.lm-node.is-completed:not(:last-child)::after{background:#aa8760}
.lm-position{height:64px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:.8125rem;color:#765333;white-space:nowrap}.lm-position .lm-avatar{width:32px;height:32px;font-size:.6875rem}
.lm-medal{display:grid;place-items:center;width:72px;height:72px;border-radius:50%;border:2px solid #d0ccc5;background:#eceae6;color:#77716a;flex-shrink:0;position:relative;z-index:1}
.lm-medal svg,.lm-trophy svg,.lm-goal>svg{width:32px;height:36px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.is-completed .lm-medal{color:#f4e2c7;background:linear-gradient(145deg,#967147,#493526);border-color:#b9976e;box-shadow:0 5px 14px -7px #76533380}
.is-current .lm-medal{outline:3px solid #aa876042;outline-offset:5px;border-color:#92704e}
.lm-node-content{margin-top:20px;padding:20px;width:100%;flex:1;border:1px solid #ded9d1;border-radius:18px;background:#f3f1ed;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.is-completed .lm-node-content{background:#fbf4e8;border-color:#d7bd99}.lm-state{font:600 .75rem/1.4 Manrope,sans-serif;color:#69635c}.is-completed .lm-state{color:#795732}.lm-node-content h4{font:600 1rem/1.5 Manrope,sans-serif;letter-spacing:-.015em;margin:0;color:#352e28}.lm-piece-label{font-size:.8125rem;color:#74695f;margin:0!important}.lm-course-link{margin-top:auto;min-height:44px;display:inline-flex;align-items:center;font:600 .875rem/1.4 Manrope,sans-serif;color:#58432e;text-decoration:underline;text-underline-offset:5px;padding-top:10px}
.lm-goal{margin:24px 0;padding:26px 28px;border:1px solid #d7c2a6;border-radius:20px;background:#ebe1d2;display:flex;align-items:center;gap:22px;flex-wrap:wrap}.lm-goal>svg{flex-shrink:0;color:#765333;width:42px;height:46px}.lm-goal>div{flex:1;min-width:200px}.lm-goal h3{font:600 1.125rem/1.45 Manrope,sans-serif;margin:6px 0 8px}.lm-goal p:not(.lm-eyebrow){font-size:.9375rem;line-height:1.6;color:#61564c;margin:0}.lm-text-link{font-size:.9375rem;color:#765333;text-decoration:underline;text-underline-offset:5px;display:inline-flex;align-items:center;min-height:44px}
body[data-surface=account] .lm-collection{margin:24px 0;padding:26px 28px;background:#faf8f4;border:1px solid #d9cbbb;border-radius:20px}.lm-collection h3{font:600 1.2rem/1.4 Manrope,sans-serif;margin:0 0 10px}.lm-collection>p{font-size:.9375rem;line-height:1.65}.lm-shelf{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0}.lm-trophy{min-width:110px;display:grid;justify-items:center;gap:6px;padding:16px;border:1px solid #d5bc98;border-radius:16px;color:#795732;background:#f3eadc}.lm-trophy strong{font:600 1.25rem/1.3 Manrope,sans-serif}.lm-trophy span{font-size:.8125rem}.lm-earned-detail{margin:20px 0}.lm-earned-detail summary{font-size:.9375rem;min-height:44px;display:flex;align-items:center;text-decoration:underline;text-underline-offset:5px}.lm-earned-detail li{font-size:.9375rem;line-height:1.65;margin:10px 0}.lm-earned-detail a{text-decoration:underline;text-underline-offset:4px}.lm-empty{padding:32px 28px;color:#6c625a}
.lm-plan-link{display:inline-flex;margin:16px 0;min-height:44px;align-items:center;gap:12px;color:#765333;text-decoration:underline;text-underline-offset:5px;font-size:1rem}
.learning-map :is(a,button,summary):focus-visible,.lm-collection :is(a,summary):focus-visible,.lm-viewport:focus-visible{outline:3px solid #957043;outline-offset:4px}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.lm-course-link,.lm-text-link{transition:color .2s}.lm-course-link:hover,.lm-text-link:hover{color:#251d1a}.lm-filters button{transition:box-shadow .2s}.lm-filters button:hover{box-shadow:0 3px 10px -6px #251d1a60}}
@media(max-width:700px){.learning-map .lm-overview{grid-template-columns:1fr;padding:22px}.lm-stage-heading{padding:22px 20px 0;align-items:flex-start;flex-direction:column;gap:12px}.lm-viewport{padding-inline:20px}.lm-node{width:215px;flex-basis:215px}.lm-track{gap:20px}.lm-goal,body[data-surface=account] .lm-collection{padding:22px}.lm-goal{gap:16px}.lm-scroll-controls{align-self:flex-end}.lm-goal>div{min-width:0;flex-basis:calc(100% - 64px)}}
@media(forced-colors:active){.lm-medal,.lm-node-content,.lm-goal,.lm-trophy,.lm-stage,.learning-map .lm-overview{background:Canvas;color:CanvasText;border-color:CanvasText;box-shadow:none}.lm-node:not(:last-child)::after{background:CanvasText}.is-current .lm-medal{outline-color:Highlight}.lm-filters button[aria-pressed=true]{background:Highlight;color:HighlightText}}

/* One continuous, clickable route across the entire published catalog. */
.lm-unified .lm-stage-heading{padding-bottom:12px}
.lm-map-viewport{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;position:relative;scrollbar-width:thin;scrollbar-color:#baa185 transparent;background:linear-gradient(180deg,#faf8f4,#f0e9de)}
.lm-map-canvas{height:370px;position:relative;min-width:100%}
.lm-map-line{position:absolute;inset:0;pointer-events:none;overflow:visible}
.lm-map-line path{fill:none;stroke:#d3cdc3;stroke-width:5;stroke-linecap:round}.lm-map-line path.is-earned{stroke:#aa8760}
.lm-map-stops{list-style:none;margin:0;padding:0}.lm-map-stop{position:absolute;width:170px;transform:translate(-50%,-36px);list-style:none}
.lm-stop-button{display:flex;align-items:center;flex-direction:column;width:100%;padding:0;border:0;background:transparent;color:#51483e;gap:12px;min-height:120px;text-align:center;font-family:Manrope,sans-serif;border-radius:14px}
.lm-stop-button .lm-medal{transition:border-color .2s,box-shadow .2s;background:#f2f0ec}
.lm-map-stop.is-completed .lm-medal{background:linear-gradient(145deg,#967147,#493526);color:#f4e2c7}
.lm-stop-button[aria-pressed=true] .lm-medal{box-shadow:0 0 0 5px #aa87602b;border-color:#765333}
.lm-stop-title{font-size:.875rem;line-height:1.45;font-weight:600;max-width:165px;text-wrap:balance}.lm-stop-state{font-size:.75rem;line-height:1.3;color:#795732}
.lm-map-avatar{position:absolute;bottom:calc(100% + 12px);left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:7px;white-space:nowrap;color:#765333;font:600 .75rem/1.4 Manrope,sans-serif;background:#fffaf2;border:1px solid #dbc6a8;border-radius:30px;padding:4px 10px 4px 4px;box-shadow:0 4px 14px -10px #49352680}
.lm-map-avatar .lm-avatar{width:30px;height:30px;font-size:.6875rem}
.lm-selection{display:flex;align-items:center;gap:20px;padding:24px 28px;border-top:1px solid #ded1bf;background:#fffaf3;min-height:155px}
.lm-selection-piece{display:grid;place-items:center;width:60px;height:66px;flex-shrink:0;border-radius:16px;background:#eeebe5;color:#797168;border:1px solid #d7d0c6}.lm-selection-piece.is-earned{background:#eee0c9;color:#795732;border-color:#c5a578}.lm-selection-piece svg{width:30px;height:34px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.lm-selection-copy{flex:1;min-width:0}.lm-selection-copy h4{font:600 1.125rem/1.45 Manrope,sans-serif;margin:7px 0}.lm-selection-copy p{font-size:.9375rem;line-height:1.6;color:#6c625a;margin:0 0 8px}
.lm-selection .lm-course-link{margin:0;padding:12px 18px;border:1px solid #775a3d;border-radius:12px;background:#493526;color:#fffaf3;text-decoration:none;flex-shrink:0}
@media(hover:hover){.lm-stop-button:hover .lm-medal{border-color:#96704b}.lm-selection .lm-course-link:hover{color:#fffaf3;border-color:#b6966e}}
@media(max-width:700px){.lm-unified .lm-stage-heading{padding-bottom:14px}.lm-unified .lm-scroll-controls{align-self:stretch;justify-content:space-between}.lm-selection{padding:22px;flex-wrap:wrap;gap:14px}.lm-selection-copy{flex-basis:calc(100% - 80px)}.lm-selection .lm-course-link{width:100%;justify-content:center}.lm-selection-piece{width:52px;height:60px}}
@media(forced-colors:active){.lm-map-viewport,.lm-selection{background:Canvas}.lm-map-line path{stroke:CanvasText}.lm-map-line path.is-earned{stroke:Highlight}.lm-stop-button .lm-medal,.lm-map-stop.is-completed .lm-medal,.lm-selection-piece{background:Canvas;color:CanvasText;border-color:CanvasText}.lm-stop-button[aria-pressed=true] .lm-medal{outline:3px solid Highlight}.lm-selection .lm-course-link{background:ButtonFace;color:ButtonText}}

.lm-map-canvas{height:380px}.lm-map-line path{stroke-width:2;stroke-dasharray:2 7}.lm-map-viewport{background:transparent}.lm-journey-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;font-size:.9375rem;color:#6c625a}.lm-journey-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.lm-journey-actions button{background:transparent;border:0;padding:8px;font-family:inherit;cursor:pointer}.lm-journey-empty{padding:32px 0;text-align:center;display:flex;flex-direction:column;align-items:center;gap:14px}.lm-journey-empty h3{font:500 1.3rem/1.4 Manrope,sans-serif;margin:0}.lm-journey-empty p{max-width:420px;margin:0;font-size:1rem;line-height:1.6;color:#6c625a}.lm-journey-empty .lm-course-link{padding:12px 20px;background:#493526;color:#fffaf3;border-radius:12px;text-decoration:none}.lm-selection{border:1px solid #ded1bf;border-radius:16px}.lm-map-stop .lm-stop-button:hover{background:transparent;transform:none}.lm-map-viewport:focus-visible{outline:2px solid #aa8760;outline-offset:3px}@media(max-width:700px){.lm-journey-actions{width:100%}.lm-journey-toolbar .lm-scroll-controls{width:100%;justify-content:space-between}}

/* Keep the earned route usable with enlarged text and narrow viewports. */
.learning-map .lm-scroll-controls{flex-wrap:wrap;max-width:100%}
.learning-map .lm-scroll-controls button{min-width:44px;min-height:44px;font-family:inherit;white-space:normal;overflow-wrap:anywhere}
.learning-map .lm-journey-toolbar>span{min-width:0;overflow-wrap:anywhere}
.learning-map .lm-journey-actions{min-width:0;max-width:100%}
.learning-map .lm-journey-actions :is(a,button){min-height:44px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.learning-map .lm-selection-copy h4,.learning-map .lm-stop-title{overflow-wrap:anywhere}
.learning-map .lm-stop-title{font-size:1rem}
.learning-map .lm-stop-state{font-size:.875rem}
@media(max-width:700px){.learning-map .lm-journey-toolbar .lm-scroll-controls{width:100%;justify-content:space-between}.learning-map .lm-scroll-controls button:nth-child(2){flex:1;min-width:0}.learning-map .lm-selection{align-items:flex-start}}
