/* TEST SITE ONLY. Extra parts on the copy of the Be You home page: the "Test guide" button and its popup. */
.guide-open {
  position: fixed; bottom: 20px; right: 20px; z-index: 900; padding: 12px 20px;
  font: 700 14px/1.2 'Helvetica Neue', Helvetica, Arial, sans-serif; color: #1955a6; background: #fff;
  border: 1px solid #1955a6; border-radius: 20px; box-shadow: 0 2px 6px rgba(16, 24, 40, 0.18); cursor: pointer;
}
.guide-open:hover { background: #eff8ff; }
.guide-open:focus-visible, .guide-close:focus-visible { outline: 3px solid #0099d9; outline-offset: 2px; }
/* A popup, not a modal: it stays beside the chat so a tester can read it while typing. The chat drawer sits on the left. */
.guide-dialog {
  position: fixed; inset: 12px 20px 72px auto; z-index: 900; width: min(600px, calc(100% - 24px)); height: auto; max-height: none;
  margin: 0; padding: 0; display: none; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid #c7c8ca; border-radius: 12px; box-shadow: 0 8px 28px rgba(16, 24, 40, 0.28);
}
.guide-dialog[open] { display: flex; }
.guide-dialog iframe { flex: 1; width: 100%; border: 0; background: #e9eef5; }
.guide-close {
  flex: none; align-self: flex-end; display: grid; place-items: center; width: 36px; height: 36px; margin: 8px 10px 0; padding: 0; cursor: pointer;
  color: #1955a6; background: #fff; border: 1px solid #1955a6; border-radius: 50%;
}
.guide-close:hover { background: #eff8ff; }
@media (max-width: 900px) { .guide-dialog { inset: 12px 12px 72px 12px; width: auto; } }

/* The test login bar normally sits above the page. On the home page copy it would push the page down (a white gap under the header)
   and hide behind the site's fixed header, so it floats as a small chip instead. */
#mock-site-login {
  position: fixed !important; left: 20px; bottom: 20px; z-index: 900; width: auto; max-width: calc(100% - 40px);
  padding: 8px 14px !important; border: 1px solid #b9c3d1 !important; border-radius: 20px; box-shadow: 0 2px 6px rgba(16, 24, 40, 0.18);
}
@media (max-width: 600px) { #mock-site-login { bottom: 76px; } }
