/* V6.8 floating, draggable and zoomable Learning Assistant */
#learningAssistantModal{
  align-items:flex-start;
  justify-content:flex-start;
  background:rgba(17,38,30,.18);
  pointer-events:none;
}
#learningAssistantModal .tiki-learning-assistant-card{
  position:fixed;
  left:var(--la-left,calc(50vw - 280px));
  top:var(--la-top,8vh);
  width:var(--la-width,560px);
  height:var(--la-height,min(760px,84dvh));
  min-width:360px;
  min-height:430px;
  max-width:calc(100vw - 16px);
  max-height:calc(100dvh - 16px);
  margin:0;
  pointer-events:auto;
  resize:none;
  box-shadow:0 20px 65px rgba(8,45,31,.28);
}
#learningAssistantModal .tiki-learning-assistant-head{
  cursor:grab;
  user-select:none;
  touch-action:none;
}
#learningAssistantModal .tiki-learning-assistant-head.is-dragging{cursor:grabbing}
.tiki-learning-window-controls{display:flex;align-items:center;gap:6px;flex:0 0 auto}
.tiki-learning-window-controls>button{
  position:static!important;
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  min-width:34px;
  padding:0;
  border:1px solid #d4e2db;
  border-radius:10px;
  background:#fff;
  color:#36584b;
  font-size:20px;
  font-weight:800;
  line-height:1;
  cursor:pointer;
}
.tiki-learning-window-controls>button:hover{background:#eef8f3;border-color:#9bc9b4}
@media(max-width:650px){
  #learningAssistantModal .tiki-learning-assistant-card{
    min-width:300px;
    min-height:390px;
    resize:none;
  }
  .tiki-learning-window-controls{gap:4px}
  .tiki-learning-window-controls>button{width:31px;height:31px;min-width:31px}
}
