
.han-cbmw-wrap,
.han-cbmw-wrap *{box-sizing:border-box}
.han-cbmw-wrap{
  position:relative;
  font-family:inherit;
}
.han-cbmw-trigger{
  display:inline-flex;
  align-items:center;
  gap:12px;
  min-height:52px;
  padding:12px 16px;
  border:1px solid #e6dff1;
  border-radius:14px;
  background:#fff;
  color:#1f1f24;
  cursor:pointer;
  transition:all .28s ease;
  box-shadow:0 8px 24px rgba(74,51,117,.05);
}
.han-cbmw-trigger:hover{
  transform:translateY(-1px);
  box-shadow:0 12px 30px rgba(74,51,117,.09);
}
.han-cbmw-trigger-icon{
  width:22px;
  display:flex;
  flex-direction:column;
  gap:4px;
}
.han-cbmw-trigger-line{
  display:block;
  width:100%;
  height:2px;
  border-radius:999px;
  background:#1f1f24;
}
.han-cbmw-trigger-text{
  line-height:1;
  font-weight:700;
}
.han-cbmw-overlay{
  position:fixed;
  inset:0;
  background:rgba(19,16,31,.55);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:all .3s ease;
  z-index:99990;
}
.han-cbmw-panel{
  position:fixed;
  top:0;
  right:0;
  width:420px;
  max-width:100%;
  height:100vh;
  background:#fff;
  transform:translateX(100%);
  transition:transform .34s ease;
  z-index:99991;
  border-top-left-radius:24px;
  border-bottom-left-radius:24px;
  box-shadow:-20px 0 40px rgba(28,18,46,.12);
}
.han-cbmw-panel-inner{
  padding:22px;
  height:100%;
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
.han-cbmw-panel-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:18px;
}
.han-cbmw-panel-title{
  margin:0;
  color:#1f1f24;
  font-size:28px;
  line-height:1.08;
  font-weight:800;
  letter-spacing:-.03em;
}
.han-cbmw-panel-subtitle{
  margin-top:10px;
  color:#786f86;
  font-size:14px;
  line-height:1.7;
}
.han-cbmw-close{
  border:0;
  background:transparent;
  color:#7f45ff;
  font-size:14px;
  font-weight:800;
  cursor:pointer;
  white-space:nowrap;
  padding:8px 0;
}
.han-cbmw-menu-wrap{
  flex:1 1 auto;
  overflow:auto;
  padding-right:4px;
}
.han-cbmw-menu-list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:12px;
}
.han-cbmw-menu-list .han-cbmw-menu-list{
  margin-top:10px;
}
.han-cbmw-item{
  display:block;
}
.han-cbmw-menu-link{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:56px;
  padding:14px 16px;
  border:0;
  border-radius:14px;
  background:#f9f7fd;
  color:#24212d;
  text-decoration:none;
  font-weight:700;
  text-align:left;
  cursor:pointer;
  transition:all .25s ease;
}
.han-cbmw-menu-link:hover{
  background:#efe7ff;
  transform:translateX(3px);
}
.han-cbmw-submenu-toggle{
  color:#7f45ff;
  font-size:18px;
  line-height:1;
  font-weight:800;
  transition:transform .25s ease;
}
.han-cbmw-item.is-open > .han-cbmw-menu-link .han-cbmw-submenu-toggle{
  transform:rotate(45deg);
}
.han-cbmw-submenu{
  display:none;
  margin-top:10px;
  padding:10px;
  border-radius:16px;
  background:#f9f7fd;
  border:1px solid #efe7ff;
}
.han-cbmw-item.is-open > .han-cbmw-submenu{
  display:block;
}
.han-cbmw-empty{
  padding:16px;
  border-radius:14px;
  background:#faf8ff;
  color:#5f5870;
  border:1px dashed #e4daf4;
  font-weight:700;
}
.han-cbmw-wrap.is-open .han-cbmw-overlay{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.han-cbmw-wrap.is-open .han-cbmw-panel{
  transform:translateX(0);
}
body.han-cbmw-lock{
  overflow:hidden;
}
@media (max-width: 767px){
  .han-cbmw-panel{
    width:100%;
    border-radius:0;
  }
  .han-cbmw-panel-inner{
    padding:18px 16px;
  }
  .han-cbmw-panel-title{
    font-size:24px;
  }
  .han-cbmw-menu-link{
    min-height:52px;
    padding:13px 14px;
  }
}
