.bob-demo-story-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 800;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 218px;
  border: 2px solid #fff;
  border-radius: 18px;
  padding: 10px 17px 10px 10px;
  background: #078c80;
  color: #fff;
  font: 700 14px/1.2 inherit;
  text-align: left;
  box-shadow: 0 12px 34px rgba(5, 99, 91, .34), 0 0 0 3px rgba(8, 160, 145, .2);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.bob-demo-story-launcher:hover { transform: translateY(-2px); background: #057d72; box-shadow: 0 16px 38px rgba(5, 99, 91, .4), 0 0 0 4px rgba(8, 160, 145, .22); }
.bob-demo-story-launcher:focus-visible { outline: 3px solid #ffc94d; outline-offset: 3px; }
.bob-demo-story-launcher img { width: 46px; height: 46px; padding: 3px; border-radius: 50%; background: #fff; object-fit: contain; }
.bob-demo-story-launcher span { display: grid; gap: 2px; }
.bob-demo-story-launcher small { color: #d8fffa; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.bob-demo-story-launcher strong { color: #fff; font-size: 15px; }

.bob-demo-story-layer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 34, 49, .58);
  backdrop-filter: blur(4px);
}

.bob-demo-story-dialog {
  width: min(1040px, 100%);
  max-height: min(820px, calc(100vh - 48px));
  overflow: auto;
  border-radius: 28px;
  background: #fff;
  color: #0b3046;
  box-shadow: 0 28px 80px rgba(4, 32, 48, .32);
}

.bob-demo-story-topbar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; min-height: 66px; padding: 12px 24px; border-bottom: 1px solid #dce8e6; background: rgba(255,255,255,.96); }
.bob-demo-story-progress { display: flex; align-items: center; gap: 8px; }
.bob-demo-story-progress span { display: grid; place-items: center; width: 28px; height: 28px; border: 2px solid #c8dbd8; border-radius: 50%; background: #fff; color: #71848d; font-size: 12px; font-weight: 800; }
.bob-demo-story-progress span.is-active { border-color: #078c80; background: #078c80; color: #fff; }
.bob-demo-story-progress i { width: 30px; height: 2px; background: #c8dbd8; }
.bob-demo-story-panel { display: none; }
.bob-demo-story-panel.is-active { display: block; }
.bob-demo-story-welcome, .bob-demo-story-origin { padding: 38px 42px 20px; }
.bob-demo-story-welcome { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 34px; align-items: center; min-height: 430px; }
.bob-demo-story-welcome > img { width: 100%; max-height: 300px; object-fit: contain; }
.bob-demo-story-panel h2 { margin: 0; color: #0b3046; font-size: clamp(28px, 4vw, 42px); line-height: 1.12; }
.bob-demo-story-lead { max-width: 760px; margin: 14px 0 10px; color: #304f60; font-size: 18px; line-height: 1.58; }
.bob-demo-story-welcome div > p:last-child, .bob-demo-story-origin > p { color: #536976; line-height: 1.6; }
.bob-demo-story-origin { min-height: 440px; }
.bob-demo-story-challenges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 20px 0; }
.bob-demo-story-challenges span { padding: 13px 15px; border: 1px solid #cde2df; border-radius: 12px; background: #f4faf9; color: #234858; font-size: 14px; font-weight: 700; }
.bob-demo-story-purpose { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 14px; align-items: center; margin-top: 22px; padding: 16px 18px; border: 2px solid #08a091; border-radius: 16px; background: linear-gradient(135deg, #e5f8f5, #fff); }
.bob-demo-story-purpose img { width: 52px; height: 52px; }
.bob-demo-story-purpose p { margin: 0; color: #355766; line-height: 1.55; }
.bob-demo-story-purpose strong { color: #0b3046; }
.bob-demo-story-nav { display: flex; justify-content: flex-end; gap: 10px; padding: 18px 42px 30px; }
.bob-demo-story-nav button { border-radius: 12px; padding: 11px 18px; font: 700 14px/1.2 inherit; cursor: pointer; }
.bob-demo-story-nav .bob-demo-story-skip { margin-right: auto; margin-left: 0; }
.bob-demo-story-nav-final { padding: 18px 0 0; }
.bob-demo-story-invitation { margin: 18px 0 0; padding: 13px 15px; border-left: 4px solid #08a091; border-radius: 0 10px 10px 0; background: #eef9f7; color: #355766; line-height: 1.5; }
.bob-demo-story-tour-progress { margin: 10px 0 0; color: #607681; font-size: 13px; }
.bob-demo-story-tour-progress strong { color: #0b3046; }
.bob-demo-trial-confirm-error { margin: 8px 0 0; color: #b42318; font-size: 13px; font-weight: 750; line-height: 1.4; }
.bob-demo-trial-confirm-error[hidden] { display: none !important; }
.bob-demo-trial-panel { padding: 26px 36px 0; }
.bob-demo-trial-head { display: grid; grid-template-columns: 100px minmax(0,1fr); gap: 20px; align-items: center; }
.bob-demo-trial-head > img { width: 94px; height: 112px; object-fit: contain; }
.bob-demo-trial-head p:last-child { margin: 9px 0 0; color: #536976; line-height: 1.5; }
.bob-demo-trial-offer { margin-top: 18px; padding: 20px; border: 2px solid #08a091; border-radius: 18px; background: linear-gradient(135deg,#e8f8f5,#fff 62%); }
.bob-demo-trial-offer h3 { margin: 5px 0 4px; color: #0b3046; font-size: 22px; }
.bob-demo-trial-offer p { margin: 5px 0; color: #486473; line-height: 1.5; }
.bob-demo-trial-badge { display: inline-block; border-radius: 999px; padding: 5px 10px; background: #078c80; color: #fff; font-size: 12px; font-weight: 800; }
.bob-demo-trial-options-title { margin: 16px 0 8px; color: #0b3046; font-size: 16px; }
.bob-demo-trial-prices { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; margin: 0 0 16px; }
.bob-demo-trial-prices article { display: grid; gap: 3px; padding: 12px; border: 1px solid #c8dfdc; border-radius: 12px; background: #fff; }
.bob-demo-trial-prices article.is-featured { border: 2px solid #078c80; }
.bob-demo-trial-prices strong { color: #0b3046; font-size: 14px; }
.bob-demo-trial-prices span { color: #078c80; font-weight: 800; }
.bob-demo-trial-prices small { color: #667b85; }
.bob-demo-trial-clarity { padding: 10px 12px; border-radius: 10px; background: #fff; font-size: 13px; }
.bob-demo-trial-confirm { display: flex; gap: 9px; align-items: flex-start; margin: 13px 0; color: #355766; font-size: 13px; line-height: 1.4; }
.bob-demo-trial-confirm input { margin-top: 3px; }
.bob-demo-trial-cta { width: 100%; padding: 12px 16px; border-radius: 12px; font-weight: 800; }
.bob-demo-trial-cta:disabled { opacity: .68; cursor: not-allowed; }
.bob-demo-trial-preview-note { display: block; margin-top: 7px; color: #71848d; text-align: center; }

/* Het keuzeoverzicht van de rondleiding past op een normaal laptopscherm zonder scrollen. */
.bob-demo-story-panel[data-story-step="3"] .bob-demo-story-head { padding: 16px 30px 12px; }
.bob-demo-story-panel[data-story-step="3"] .bob-demo-story-head h2 { font-size: clamp(24px, 3vw, 32px); }
.bob-demo-story-panel[data-story-step="3"] .bob-demo-story-head p:last-child { margin-top: 6px; line-height: 1.4; }
.bob-demo-story-panel[data-story-step="3"] .bob-demo-story-body { padding: 10px 30px 20px; }
.bob-demo-story-panel[data-story-step="3"] .bob-demo-story-flow { gap: 9px; }
.bob-demo-story-panel[data-story-step="3"] .bob-demo-story-step { min-height: 100px; padding: 11px 12px; border-radius: 14px; }
.bob-demo-story-panel[data-story-step="3"] .bob-demo-story-number { width: 23px; height: 23px; margin-bottom: 6px; font-size: 11px; }
.bob-demo-story-panel[data-story-step="3"] .bob-demo-story-step strong { margin-bottom: 4px; font-size: 14px; }
.bob-demo-story-panel[data-story-step="3"] .bob-demo-story-step p { font-size: 12px; line-height: 1.35; }
.bob-demo-story-panel[data-story-step="3"] .bob-demo-story-note { margin-top: 10px; font-size: 13px; line-height: 1.4; }
.bob-demo-story-panel[data-story-step="3"] .bob-demo-story-invitation { margin-top: 9px; padding: 8px 11px; font-size: 13px; line-height: 1.4; }
.bob-demo-story-panel[data-story-step="3"] .bob-demo-story-tour-progress { margin-top: 6px; }
.bob-demo-story-panel[data-story-step="3"] .bob-demo-story-actions { margin-top: 10px; gap: 7px; }
.bob-demo-story-panel[data-story-step="3"] .bob-demo-story-actions button { padding: 8px 11px; font-size: 13px; }
.bob-demo-story-panel[data-story-step="3"] .bob-demo-story-nav-final { padding-top: 9px; padding-bottom: 0; }
.bob-demo-story-panel[data-story-step="3"] .bob-demo-story-nav-final button { padding: 7px 11px; font-size: 13px; }

.bob-demo-story-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 34px 24px;
  border-bottom: 1px solid #dce8e6;
}

.bob-demo-story-kicker {
  margin: 0 0 8px;
  color: #078c80;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bob-demo-story-head h2 { margin: 0; font-size: clamp(25px, 4vw, 40px); line-height: 1.12; }
.bob-demo-story-head p:last-child { max-width: 720px; margin: 12px 0 0; color: #536976; line-height: 1.6; }
.bob-demo-story-close { align-self: flex-start; border: 0; background: #edf5f4; color: #0b3046; width: 42px; height: 42px; border-radius: 50%; font-size: 24px; cursor: pointer; }

.bob-demo-story-body { padding: 26px 34px 34px; }
.bob-demo-story-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.bob-demo-story-step { position: relative; min-height: 144px; padding: 18px; border: 2px solid #b8ddd8; border-radius: 18px; background: linear-gradient(145deg, #fff, #f1faf8); box-shadow: 0 7px 20px rgba(10, 78, 72, .07); }
.bob-demo-story-step strong { display: block; margin-bottom: 8px; font-size: 17px; }
.bob-demo-story-step p { margin: 0; color: #536976; font-size: 14px; line-height: 1.48; }
.bob-demo-story-number { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-bottom: 14px; border-radius: 50%; background: #08a091; color: #fff; font-weight: 800; }
.bob-demo-story-loop { margin: 18px 0 0; padding: 16px 18px; border-radius: 16px; background: #e8f6f4; color: #15534e; font-weight: 700; text-align: center; }
.bob-demo-story-note { margin: 18px 0 0; color: #536976; line-height: 1.55; }

body[data-demo-mode="true"] .bob-tutorial-intro,
body[data-demo-mode="true"] .bob-update-coach {
  border: 2px solid #08a091 !important;
  background: linear-gradient(135deg, #e5f8f5, #fff) !important;
  box-shadow: 0 10px 26px rgba(8, 125, 114, .14) !important;
}
body[data-demo-mode="true"] .monitor-intro-copy {
  position: relative;
  max-width: 760px;
  padding: 20px 22px 18px;
  border: 2px solid #08a091;
  border-radius: 17px;
  background: linear-gradient(135deg, #e5f8f5, #fff);
  box-shadow: 0 10px 26px rgba(8, 125, 114, .14);
}
body[data-demo-mode="true"] .school-monitor-screen > .monitor-intro { display: none; }
body[data-demo-mode="true"] .monitor-intro-copy::before {
  content: "Lees dit eerst";
  position: absolute;
  top: -11px;
  right: 14px;
  border-radius: 999px;
  padding: 4px 9px;
  background: #078c80;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
body[data-demo-mode="true"] .monitor-bob {
  border-color: #dbe9e8 !important;
  background: #fff !important;
  box-shadow: none !important;
}

.bob-demo-destination-guide {
  grid-column: 1 / -1;
  scroll-margin-top: 140px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin: 0 0 20px;
  padding: 22px 24px;
  border: 2px solid #08a091;
  border-radius: 20px;
  background: linear-gradient(135deg, #e5f8f5, #fff 68%);
  box-shadow: 0 12px 30px rgba(8, 125, 114, .14);
}
.bob-demo-destination-guide > img { width: 86px; height: 96px; object-fit: contain; }
.bob-demo-destination-guide small { color: #078c80; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.bob-demo-destination-guide h3 { margin: 4px 0 8px; color: #0b3046; font-size: 21px; }
.bob-demo-destination-guide p { max-width: 820px; margin: 6px 0; color: #486473; line-height: 1.55; }
.bob-demo-destination-guide p strong { color: #0b3046; }
.bob-demo-destination-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
.bob-demo-destination-actions button { border-radius: 11px; padding: 10px 14px; font: 700 14px/1.2 inherit; cursor: pointer; }
.bob-demo-guide-points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin: 14px 0; }
.bob-demo-guide-points span { display: grid; gap: 3px; min-height: 68px; padding: 11px 12px; border: 1px solid #b8ddd8; border-radius: 12px; background: #fff; color: #536976; font-size: 12px; }
.bob-demo-guide-points strong { color: #078c80; font-size: 13px; }
.bob-demo-guide-highlight { outline: 4px solid rgba(8, 160, 145, .32); outline-offset: 5px; border-radius: 14px; transition: outline .2s ease; }

.bob-demo-story-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.bob-demo-story-actions button { border-radius: 12px; padding: 11px 15px; font: 700 14px/1.2 inherit; cursor: pointer; }
.bob-demo-story-actions button.is-visited { border-color: #078c80; box-shadow: inset 0 0 0 1px #078c80; }
.bob-demo-story-actions button.is-visited span { display: inline-grid; place-items: center; width: 19px; height: 19px; margin-left: 7px; border-radius: 50%; background: #daf3ef; color: #06796f; font-size: 12px; }
.bob-demo-story-primary { border: 1px solid #078c80; background: #078c80; color: #fff; }
.bob-demo-story-secondary { border: 1px solid #bdd5d1; background: #fff; color: #0b3046; }
.bob-demo-story-skip { margin-left: auto; border: 0 !important; background: transparent !important; color: #667a85; }

@media (max-width: 760px) {
  .bob-demo-story-layer { padding: 10px; }
  .bob-demo-story-dialog { max-height: calc(100vh - 20px); border-radius: 20px; }
  .bob-demo-story-head, .bob-demo-story-body { padding: 22px; }
  .bob-demo-story-flow { grid-template-columns: 1fr; }
  .bob-demo-story-welcome { grid-template-columns: 1fr; gap: 12px; min-height: 0; padding: 24px 22px 12px; }
  .bob-demo-story-welcome > img { width: 110px; max-height: 130px; margin: 0 auto; }
  .bob-demo-story-origin { min-height: 0; padding: 24px 22px 12px; }
  .bob-demo-story-challenges { grid-template-columns: 1fr 1fr; }
  .bob-demo-trial-panel { padding: 22px 22px 0; }
  .bob-demo-trial-head { grid-template-columns: 70px minmax(0,1fr); }
  .bob-demo-trial-head > img { width: 68px; height: 80px; }
  .bob-demo-trial-prices { grid-template-columns: 1fr 1fr; }
  .bob-demo-story-nav { padding: 16px 22px 24px; }
  .bob-demo-story-panel[data-story-step="3"] .bob-demo-story-head,
  .bob-demo-story-panel[data-story-step="3"] .bob-demo-story-body { padding-left: 22px; padding-right: 22px; }
  .bob-demo-story-panel[data-story-step="3"] .bob-demo-story-step { min-height: 0; }
  .bob-demo-story-step { min-height: 0; }
  .bob-demo-story-skip { margin-left: 0; }
  .bob-demo-destination-guide { grid-template-columns: 1fr; padding: 18px; }
  .bob-demo-destination-guide > img { width: 64px; height: 70px; }
  .bob-demo-guide-points { grid-template-columns: 1fr 1fr; }
}

.bob-demo-privacy-layer{position:fixed;inset:0;z-index:10020;display:grid;place-items:center;padding:20px;background:rgba(5,31,43,.68);backdrop-filter:blur(5px)}
.bob-demo-privacy-dialog{display:grid;grid-template-columns:86px minmax(0,1fr);gap:22px;width:min(720px,100%);padding:28px;border:2px solid #08a091;border-radius:22px;background:#fff;box-shadow:0 24px 70px rgba(0,0,0,.25)}
.bob-demo-privacy-dialog>img{width:82px;height:92px;object-fit:contain}.bob-demo-privacy-dialog h2{margin:3px 0 10px;color:#0b3046;font-size:25px}.bob-demo-privacy-dialog p{color:#536976;line-height:1.55}.bob-demo-privacy-dialog a{color:#06796f;font-weight:700}.bob-demo-privacy-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.bob-demo-privacy-actions button{min-height:46px;border-radius:12px;padding:11px 16px;font:700 14px/1.2 inherit;cursor:pointer}.bob-demo-privacy-button{position:fixed;right:22px;bottom:96px;z-index:1100;border:1px solid #bdd5d1;border-radius:999px;padding:7px 11px;background:#fff;color:#536976;font:700 11px/1 inherit;box-shadow:0 5px 14px rgba(5,63,69,.11);cursor:pointer}
@media(max-width:650px){.bob-demo-privacy-dialog{grid-template-columns:1fr;padding:22px}.bob-demo-privacy-dialog>img{width:58px;height:62px}.bob-demo-privacy-actions{display:grid}.bob-demo-privacy-button{right:12px;bottom:88px}}
