.demo-map {
  padding: 15px 24px 17px;
  border-bottom: 1px solid #dce5f0;
  background: #edf3fa;
  color: #172133;
}
.demo-map__inner { max-width: 1240px; margin: 0 auto; min-width: 0; }
.demo-map__heading { display: flex; align-items: baseline; gap: 14px; margin-bottom: 11px; }
.demo-map__heading h2 { margin: 0; font-size: 15px; font-weight: 800; letter-spacing: -.15px; }
.demo-map__heading p { margin: 0; color: #5d6c80; font-size: 12px; line-height: 1.4; }
.demo-map__links {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(135px, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0 0 3px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}
.demo-map__links li { min-width: 0; scroll-snap-align: start; }
.demo-map__link {
  display: block;
  height: 100%;
  min-height: 84px;
  padding: 12px 10px;
  border: 1px solid #d9e2ee;
  border-radius: 10px;
  background: #fff;
  color: #334155;
  text-decoration: none;
  transition: border-color .15s, background .15s;
}
.demo-map__link:hover { border-color: #8db9f3; background: #f8fbff; }
.demo-map__link:focus-visible { outline: 3px solid #006cff; outline-offset: -3px; }
.demo-map__link[aria-current="page"] { border-color: #006cff; background: #e3efff; box-shadow: inset 0 -2px 0 #006cff; }
.demo-map__title { display: flex; align-items: center; gap: 7px; }
.demo-map__title strong { font-size: 12px; font-weight: 800; line-height: 1.25; }
.demo-map__number { flex: 0 0 21px; height: 21px; border-radius: 6px; display: grid; place-items: center; background: #edf1f6; color: #637086; font-size: 10px; font-weight: 800; }
.demo-map__link[aria-current="page"] .demo-map__number { background: #006cff; color: #fff; }
.demo-map__link[aria-current="page"] strong { color: #0052bd; }
.demo-map__description { display: block; margin-top: 7px; font-size: 11px; line-height: 1.4; color: #65748a; }
.has-demo-map .chat-app { height: calc(100vh - 190px - var(--demo-map-height, 150px)); }
@media (min-width: 721px) and (max-width: 1050px) {
  .demo-map__links { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .demo-map__link { min-height: 48px; }
  .demo-map__description { display: none; }
}
@media (max-width: 720px) {
  .demo-map { padding: 13px 14px 14px; }
  .demo-map__heading { display: block; margin-bottom: 10px; }
  .demo-map__heading p { margin-top: 4px; font-size: 11px; }
  .demo-map__heading p::after { content: " Swipe to see all 7 modules."; }
  .demo-map__links { grid-template-columns: repeat(7, 157px); gap: 8px; }
  .demo-map__link { min-height: 82px; }
  .has-demo-map .chat-app { height: calc(100vh - 166px - var(--demo-map-height, 160px)); }
}
