.compact-action.roadmap-launcher{display:block;min-height:44px;padding:0;overflow:hidden;border-radius:8px}
.roadmap-launcher img{display:block;width:100%;height:100%;object-fit:fill}
.roadmap-launcher::before{content:none!important}
.exercise-video-dialog.roadmap-dialog{position:fixed;inset:0;display:flex;flex-direction:column;gap:8px;width:min(calc(100vw - 32px),calc((100svh - 96px)/1.5),760px);height:fit-content;max-height:calc(100svh - 32px);margin:auto;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent;overflow:visible}
.roadmap-dialog:not([open]){display:none}
.roadmap-dialog::backdrop{background:#0009}
.roadmap-close-row{display:flex;justify-content:flex-end}
.roadmap-dialog .roadmap-dismiss{position:relative;width:28px;height:28px;min-height:28px;padding:0;display:grid;place-items:center;font-size:14px}
@media(pointer:coarse){.roadmap-dialog .roadmap-dismiss::before{content:"";position:absolute;inset:-8px}}
.roadmap-full-image{display:block;width:100%;height:auto;max-height:calc(100svh - 96px);object-fit:contain;border:2px solid var(--card-edge);border-radius:12px;box-shadow:3px 3px 0 var(--card-shadow)}
.roadmap-dialog .notice-error{margin:0}
.roadmap-dialog:has(.notice-error:not([hidden])) .roadmap-full-image{max-height:calc(100svh - 180px)}
.roadmap-home-control{min-width:0}
.roadmap-home-control:empty{visibility:hidden}
.user-header:has(.roadmap-home-control){display:grid;grid-template-columns:minmax(0,202px) minmax(60px,1fr) 44px;gap:20px;align-items:start}
.user-header:has(.roadmap-home-control)>div:first-child{height:44px;gap:8px}
.roadmap-home-control .roadmap-launcher{width:100%;height:44px}
.user-header:has(.roadmap-home-control) .theme-toggle{justify-self:end}
/* Keep the same facts and purchase positions with and without a roadmap.
   The standalone bot image renderer never loads this enhancement stylesheet. */
:is(#mnd-home-preview,.mnd-program-catalog) .mh-facts>[data-fact="level"]{position:relative;align-self:start}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-facts>[data-fact="level"]::after{content:"";display:block;box-sizing:content-box;width:min(140px,calc(100% - 4px));aspect-ratio:3;border:2px solid transparent;margin-top:8px}
:is(#mnd-home-preview,.mnd-program-catalog) .mh-program dd.roadmap-launcher-slot{position:absolute;left:0;right:0;bottom:0;margin:0}
.roadmap-launcher-slot .roadmap-launcher{width:100%;max-width:144px;height:auto;min-height:0}
.roadmap-launcher-slot .roadmap-launcher img{height:auto}
.roadmap-admin-image{display:block;max-width:100%;max-height:240px;object-fit:contain}
