/* Живые инструкции — оверлей на реальном DOM (как в WMS Высота) */
.obzvon-tour-root {
  position: fixed;
  inset: 0;
  z-index: 9990;
  pointer-events: none;
}
.obzvon-tour-root * { pointer-events: auto; }
.obzvon-tour-dim {
  position: absolute;
  inset: 0;
  pointer-events: auto;
}
.obzvon-tour-spot {
  position: absolute;
  border: 3px solid #c19c5c;
  border-radius: 14px;
  box-shadow: 0 0 0 9999px rgba(11, 29, 48, .62), 0 0 0 8px rgba(193, 156, 92, .35), 0 12px 32px rgba(11, 29, 48, .45);
  pointer-events: auto;
}
.obzvon-tour-badge {
  position: absolute;
  transform: translate(-30%, -110%);
  background: linear-gradient(135deg, #c19c5c, #eab308);
  color: #0b1d30;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(193, 156, 92, .45);
  pointer-events: none;
  z-index: 1;
}
.obzvon-tour-arrow {
  position: absolute;
  width: 56px; height: 56px;
  pointer-events: none;
  filter: drop-shadow(0 4px 8px rgba(11, 29, 48, .5));
  z-index: 1;
}
.obzvon-tour-pop {
  position: absolute;
  width: min(400px, calc(100vw - 24px));
  max-height: min(70vh, 420px);
  overflow: auto;
  background: #0b1d30;
  color: #fff;
  border: 1px solid rgba(193, 156, 92, .55);
  border-radius: 18px;
  box-shadow: 0 22px 50px rgba(11, 29, 48, .5);
  padding: 16px 16px 14px;
  z-index: 2;
  pointer-events: auto;
}
.obzvon-tour-pop h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
  color: #c19c5c;
  letter-spacing: .01em;
}
.obzvon-tour-body p {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.5;
  color: #e2e8f0;
}
.obzvon-tour-body p:last-child { margin-bottom: 0; }
.obzvon-tour-meta {
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.obzvon-tour-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  align-items: center;
}
.obzvon-tour-actions button {
  border: 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  border-radius: 10px;
  padding: 8px 12px;
  font-family: inherit;
}
.obzvon-tour-next {
  background: linear-gradient(135deg, #c19c5c, #b08b4e);
  color: #fff;
}
.obzvon-tour-next:hover { filter: brightness(1.06); }
.obzvon-tour-back {
  background: transparent;
  color: #e2e8f0;
  border: 1px solid #334155 !important;
}
.obzvon-tour-back:disabled {
  opacity: .4;
  cursor: default;
}
.obzvon-tour-skip {
  margin-left: auto;
  background: transparent;
  color: #94a3b8;
}
.obzvon-tour-skip:hover { color: #fff; }

.obzvon-help-fab {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 70;
  width: 48px; height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0b1d30, #152c46);
  color: #c19c5c;
  border: 1px solid rgba(193, 156, 92, .45);
  box-shadow: 0 10px 24px rgba(11, 29, 48, .28);
  font-weight: 900;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.obzvon-help-fab:hover { color: #eab308; transform: translateY(-1px); }

.obzvon-section-tour {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #c19c5c;
  background: #fff8eb;
  border: 1px solid rgba(193, 156, 92, .45);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  white-space: nowrap;
}
.obzvon-section-tour:hover {
  background: #f8ecd3;
  color: #9a7a3a;
}
.obzvon-section-tour svg { width: 14px; height: 14px; flex-shrink: 0; }

.obzvon-help-menu {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 8px;
  width: 300px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 18px 40px -12px rgba(11, 29, 48, .28);
  z-index: 55;
  padding: 8px;
  text-align: left;
}
.obzvon-help-menu button {
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #0b1d30;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.obzvon-help-menu button:hover { background: #f8f1e3; color: #c19c5c; }
.obzvon-help-menu .sub { display: block; font-size: 11px; font-weight: 500; color: #64748b; margin-top: 2px; }
.obzvon-help-menu .hint {
  padding: 8px 12px 6px;
  font-size: 11px;
  color: #64748b;
  line-height: 1.35;
}
