.fsbs-demo-teacher{margin:32px 0;padding:24px;border:1px solid #c9d6d2;border-radius:16px;background:#f5f8f6;color:#24332e}.fsbs-demo-teacher h3{margin-top:0}.fsbs-demo-notice{line-height:1.6}.fsbs-demo-notice p{margin:.65em 0}.fsbs-demo-chat{margin-top:18px}.fsbs-demo-messages{max-height:400px;overflow:auto;background:#fff;border:1px solid #d5dedb;border-radius:12px;padding:12px;margin-bottom:14px}.fsbs-demo-messages p{margin:0 0 12px;white-space:pre-wrap}.fsbs-demo-form label{display:block;margin-bottom:8px;font-weight:600}.fsbs-demo-form textarea{width:100%;box-sizing:border-box;border:1px solid #9daaa5;border-radius:8px;padding:10px;font:inherit}.fsbs-demo-form button{margin-top:10px}.fsbs-demo-clear{margin-top:12px;border:0;background:transparent;text-decoration:underline;cursor:pointer;color:inherit}.fsbs-demo-teacher [hidden]{display:none!important}

/* Flytende lærer, samme figur som i FSBS Core */
.fsbs-course-guide__person{
  position:relative;
  width:92px;
  height:132px;
}
.fsbs-course-guide__head{
  position:absolute;
  top:8px;
  left:25px;
  width:43px;
  height:49px;
  border-radius:46% 46% 48% 48%;
  background:#e0b08e;
  box-shadow:inset 0 -2px 0 rgba(0,0,0,.04);
  z-index:3;
}
.fsbs-course-guide__hair{
  position:absolute;
  top:2px;
  left:22px;
  width:50px;
  height:29px;
  border-radius:28px 28px 13px 13px;
  background:#665449;
  z-index:4;
}
.fsbs-course-guide__hair:after{
  content:"";
  position:absolute;
  right:-1px;
  top:13px;
  width:11px;
  height:25px;
  border-radius:0 10px 10px 10px;
  background:#665449;
}
.fsbs-course-guide__eye{
  position:absolute;
  top:23px;
  width:3px;
  height:3px;
  border-radius:50%;
  background:#3c3834;
}
.fsbs-course-guide__eye.eye-left{left:12px}
.fsbs-course-guide__eye.eye-right{right:12px}
.fsbs-course-guide__mouth{
  position:absolute;
  left:17px;
  bottom:10px;
  width:10px;
  height:5px;
  border-bottom:1.5px solid #885e54;
  border-radius:0 0 10px 10px;
}
.fsbs-course-guide__neck{
  position:absolute;
  top:53px;
  left:39px;
  width:15px;
  height:18px;
  background:#d7a27f;
  z-index:2;
}
.fsbs-course-guide__torso{
  position:absolute;
  left:13px;
  bottom:0;
  width:67px;
  height:72px;
  border-radius:28px 28px 11px 11px;
  background:#4d6f5b;
  z-index:1;
}
.fsbs-course-guide__torso:before,
.fsbs-course-guide__torso:after{
  content:"";
  position:absolute;
  top:13px;
  width:18px;
  height:60px;
  border-radius:12px;
  background:#4d6f5b;
}
.fsbs-course-guide__torso:before{left:-10px;transform:rotate(6deg)}
.fsbs-course-guide__torso:after{right:-10px;transform:rotate(-6deg)}
.fsbs-course-guide__shirt{
  position:absolute;
  left:24px;
  top:0;
  width:20px;
  height:30px;
  background:#f6f1e8;
  clip-path:polygon(0 0,50% 22%,100% 0,78% 100%,22% 100%);
}

.fsbs-demo-teacher{position:fixed;right:22px;bottom:20px;z-index:99999;margin:0;padding:0;border:0;background:transparent;color:#24332e;font-family:inherit;max-width:none}
.fsbs-demo-launch{display:flex;flex-direction:column;align-items:center;gap:0;border:0;background:transparent;cursor:pointer;padding:0;color:#24332e;filter:drop-shadow(0 5px 10px rgba(0,0,0,.15))}
.fsbs-demo-launch .fsbs-course-guide__person{display:block;transform:scale(.86);transform-origin:bottom center;height:118px}
.fsbs-demo-bubble{display:block;background:#fffdf7;border:1px solid #ccd8cf;border-radius:15px;padding:9px 12px;max-width:175px;font-size:13px;line-height:1.3;box-shadow:0 6px 18px #0002;margin-bottom:3px}
.fsbs-demo-name{font-weight:700;font-size:13px;background:#fffdf7;border-radius:12px;padding:3px 12px}
.fsbs-demo-panel{position:absolute;bottom:15px;right:145px;width:min(420px,calc(100vw - 185px));max-height:min(85vh,750px);overflow:auto;background:#f5f8f6;border:1px solid #c9d6d2;border-radius:17px;box-shadow:0 14px 45px #0003;padding:20px;box-sizing:border-box}
.fsbs-demo-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.fsbs-demo-heading h3{margin:0}.fsbs-demo-close{background:transparent;border:0;font-size:30px;line-height:1;cursor:pointer;color:#24332e;padding:3px 8px}
.fsbs-demo-teacher .fsbs-demo-chat{margin-top:14px}.fsbs-demo-teacher .fsbs-demo-notice{font-size:14px}.fsbs-demo-teacher .fsbs-demo-messages{max-height:220px}.fsbs-demo-launch:focus-visible,.fsbs-demo-close:focus-visible{outline:3px solid #31755d;outline-offset:3px}
@media(max-width:700px){.fsbs-demo-teacher{right:10px;bottom:10px}.fsbs-demo-launch .fsbs-course-guide__person{transform:scale(.7);height:95px}.fsbs-demo-bubble{max-width:135px;font-size:12px}.fsbs-demo-panel{position:fixed;bottom:12px;left:10px;right:10px;width:auto;max-height:85dvh;padding:15px}.fsbs-demo-teacher:has(.fsbs-demo-panel:not([hidden])) .fsbs-demo-launch{visibility:hidden}}

.fsbs-demo-finish:not([hidden]){display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:14px 0}.fsbs-demo-restart{background:transparent;border:1px solid currentColor;border-radius:8px;padding:10px 14px;cursor:pointer}.fsbs-demo-course-link{text-decoration:none;display:inline-block}
