.zb-tour-launcher {
  position: fixed;
  inset-inline-start: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 1030;
  padding: 10px 18px;
  border: 1px solid #dbe3f0;
  border-radius: 28px;
  background: #fff;
  color: #1944ab;
  box-shadow: 0 4px 20px #14253d26;
  font: 600 14px/1.5 "Segoe UI", Arial, sans-serif;
  cursor: pointer;
}
.zb-tour-launcher:hover { background: #eef3fb; }
dialog.zb-tour {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #14253d;
  overflow: hidden;
  font: 16px/1.6 "Segoe UI", Arial, sans-serif;
}
.zb-tour::backdrop { background: #0c17235c; }
.zb-tour-spotlight {
  position: fixed;
  border: 3px solid #90b8ff;
  border-radius: 12px;
  box-sizing: border-box;
  box-shadow: 0 0 0 9999px #0c17234d;
  pointer-events: none;
}
.zb-tour-panel {
  position: fixed;
  box-sizing: border-box;
  width: min(390px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 24px;
  border: 1px solid #dbe3f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 60px #0c17234d;
}
.zb-tour .zb-tour-progress { margin: 0 0 10px; color: #58677b; font-size: 13px; }
.zb-tour h2 { margin: 0 0 12px; color: #14253d; font-size: 23px; line-height: 1.3; }
.zb-tour .zb-tour-description { margin: 0 0 24px; color: #46566d; }
.zb-tour-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.zb-tour-controls button {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #dbe3f0;
  border-radius: 10px;
  background: #fff;
  color: #14253d;
  font: 600 14px/1.5 "Segoe UI", Arial, sans-serif;
  cursor: pointer;
}
.zb-tour-controls .zb-tour-skip { margin-inline-end: auto; border-color: transparent; color: #58677b; }
.zb-tour-controls .zb-tour-next { background: #245cdb; border-color: #245cdb; color: #fff; }
.zb-tour-controls button:disabled { opacity: .45; cursor: default; }
.zb-tour button:focus-visible, .zb-tour-launcher:focus-visible { outline: 3px solid #137c70; outline-offset: 3px; }
.zb-tour h2:focus { outline: none; }
@media (max-width: 480px) {
  .zb-tour-panel { padding: 20px; }
  .zb-tour-launcher { inset-inline-start: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
}
